(self["webpackChunkwebpackJsonp_FAVE_"] = self["webpackChunkwebpackJsonp_FAVE_"] || []).push([["topplayer"],{

/***/ "74757619dd33318de31c":
/***/ (function(module, exports, __webpack_require__) {

/* module decorator */ module = __webpack_require__.nmd(module);
/*! For license information please see player.js.LICENSE.txt */
!function(e,t){ true?module.exports=t():0}(this,(()=>(()=>{var __webpack_modules__={74240:function(e,t,n){var r,i,o,a,s=n(23716);o=this,a=function(){var e={};return function(){"use strict";var t,n,r,i,o,a,u,c,l,d,_,f,h,p,g,v,m,y,b,S,E,$,T,A,C,P,I,w,M,k,O,R,D,L,x,N,U,B,F,j,H,V,W,q,G,Y,K,z,X,Q,J,Z,ee,te,ne,re,ie,oe,ae,se,ue,ce,le={};function de(){var e,t="";for("-"===n&&a(t="-");n>="0"&&n<="9";)t+=n,a();if("."===n)for(t+=".";a()&&n>="0"&&n<="9";)t+=n;if("e"===n||"E"===n)for(t+=n,a(),"-"!==n&&"+"!==n||(t+=n,a());n>="0"&&n<="9";)t+=n,a();if(e=+t,!isNaN(e))return e;o("Bad number")}function _e(e){return e<10?"0"+e:e}function fe(e){return R.lastIndex=0,R.test(e)?'"'+e.replace(R,(function(e){var t=x[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}d=e.Constants={version:"4.7.5",CUSTOMER_KEY:"customerKey",GATEWAY_URL:"gatewayUrl",LOG_LEVEL:"logLevel",ASSET_NAME:"Conviva.assetName",PLAYER_NAME:"Conviva.applicationName",APPLICATION_VERSION:"c3.app.version",IS_LIVE:"Conviva.streamType",ENCODED_FRAMERATE:"Conviva.encodedFrameRate",DEFAULT_RESOURCE:"Conviva.defaultResource",STREAM_URL:"Conviva.streamUrl",VIEWER_ID:"Conviva.viewerId",DURATION:"Conviva.duration",UTM_TRACKING_URL:"c3.cm.utmTrackingUrl",POD_INDEX:"podIndex",POD_POSITION:"podPosition",POD_DURATION:"podDuration",AD_TYPE:"adType",MODULE_NAME:"Conviva.moduleName",MODULE_VERSION:"Conviva.moduleVersion",FRAMEWORK_NAME:"Conviva.frameworkName",FRAMEWORK_VERSION:"Conviva.frameworkVersion",i:"Constants not yet configured",o:"Invalid : Did you report playback ended?",u:"Invalid : Did you report ad playback ended?",h:"Player cannot be null",l:"PlaybackAnlytics already built",v:"PlaybackAnlytics not yet built",Playback:{BITRATE:"BITRATE",AVG_BITRATE:"AVG_BITRATE",PLAY_HEAD_TIME:"PLAY_HEAD_TIME",RESOLUTION:"RESOLUTION",BUFFER_LENGTH:"BUFFER_LENGTH",PLAYER_STATE:"PLAYER_STATE",RENDERED_FRAMERATE:"RENDERED_FRAMERATE",SEEK_STARTED:"SEEK_STARTED",SEEK_ENDED:"SEEK_ENDED",CDN_IP:"CDN_IP",DROPPED_FRAMES_TOTAL:"DROPPED_FRAMES_TOTAL",DROPPED_FRAMES_COUNT:"DROPPED_FRAMES_COUNT",AUDIO_LANGUAGE:"AUDIO_LANGUAGE",SUBTITLES_LANGUAGE:"SUBTITLES_LANGUAGE",CLOSED_CAPTIONS_LANGUAGE:"CLOSED_CAPTIONS_LANGUAGE"},Network:{SIGNAL_STRENGTH:"SIGNAL_STRENGTH",LINK_ENCRYPTION:"LINK_ENCRYPTION",CONNECTION_TYPE:"CONNECTION_TYPE"},ErrorSeverity:{FATAL:1,WARNING:0},NO_SESSION_KEY:-2,AdPosition:{PREROLL:"Pre-roll",MIDROLL:"Mid-roll",POSTROLL:"Post-roll"},AdPlayer:{CONTENT:"CONTENT",SEPARATE:"SEPARATE"},DeviceType:{DESKTOP:"DESKTOP",CONSOLE:"Console",SETTOP:"Settop",MOBILE:"Mobile",TABLET:"Tablet",SMARTTV:"SmartTV"},AdType:{CLIENT_SIDE:"Client Side",SERVER_SIDE:"Server Side"},AdSlates:{BLACKOUT_SLATE:"Blackout slate",TECHNICAL_DIFFICULTIES_SLATE:"Technical Difficulties slate",COMMERCIAL_SLATE:"Commercial Break slate",OTHER_SLATE:"Other slate",VPAID:"VPAID",REGULAR:"Regular Ad"},AdServingType:{INLINE:"Inline",WRAPPER:"Wrapper"},DeviceCategory:{ANDROID_DEVICE:"AND",APPLE_DEVICE:"APL",CHROMECAST:"CHR",DESKTOP_APP:"DSKAPP",DEVICE_SIMULATOR:"SIMULATOR",LG_TV:"LGTV",NINTENDO:"NINTENDO",PLAYSTATION:"PS",ROKU:"RK",SAMSUNG_TV:"SAMSUNGTV",SMART_TV:"TV",SET_TOP_BOX:"STB",TIVO:"TIVO",WEB:"WEB",WINDOWS_DEVICE:"WIN",XBOX:"XB",KAIOS_DEVICE:"KAIOS"},LogLevel:{DEBUG:0,INFO:1,WARNING:2,ERROR:3,NONE:4},PlayerState:{STOPPED:"STOPPED",PLAYING:"PLAYING",BUFFERING:"BUFFERING",PAUSED:"PAUSED",UNKNOWN:"UNKNOWN",NOT_MONITORED:"NOT_MONITORED"},Events:{USER_WAIT_STARTED:"Conviva.UserWaitStarted",USER_WAIT_ENDED:"Conviva.UserWaitEnded",BUMPER_VIDEO_STARTED:"Conviva.BumperVideoStarted",BUMPER_VIDEO_ENDED:"Conviva.BumperVideoEnded",AD_REQUESTED:"Conviva.AdRequested",AD_RESPONSE:"Conviva.AdResponse",AD_SLOT_STARTED:"Conviva.SlotStarted",AD_ATTEMPTED:"Conviva.AdAttempted",AD_SLOT_ENDED:"Conviva.SlotEnded",AD_IMPRESSION_START:"Conviva.AdImpression",AD_START:"Conviva.AdStart",AD_FIRST_QUARTILE:"Conviva.AdFirstQuartile",AD_MID_QUARTILE:"Conviva.AdMidQuartile",AD_THIRD_QUARTILE:"Conviva.AdThirdQuartile",AD_COMPLETE:"Conviva.AdComplete",AD_END:"Conviva.AdEnd",AD_IMPRESSION_END:"Conviva.AdImpressionEnd",AD_SKIPPED:"Conviva.AdSkipped",AD_ERROR:"Conviva.AdError",AD_PROGRESS:"Conviva.AdProgress",AD_CLOSE:"Conviva.AdClose",CONTENT_PAUSED:"Conviva.PauseContent",CONTENT_RESUMED:"Conviva.ResumeContent",POD_START:"Conviva.PodStart",POD_END:"Conviva.PodEnd"},ErrorType:{ERROR_UNKNOWN:"ERROR_UNKNOWN",ERROR_IO:"ERROR_IO",ERROR_TIMEOUT:"ERROR_TIMEOUT",ERROR_NULL_ASSET:"ERROR_NULL_ASSET",ERROR_MISSING_PARAMETER:"ERROR_MISSING_PARAMETER",ERROR_NO_AD_AVAILABLE:"ERROR_NO_AD_AVAILABLE",ERROR_PARSE:"ERROR_PARSE",ERROR_INVALID_VALUE:"ERROR_INVALID_VALUE",ERROR_INVALID_SLOT:"ERROR_INVALID_SLOT",ERROR_3P_COMPONENT:"ERROR_3P_COMPONENT",ERROR_UNSUPPORTED_3P_FEATURE:"ERROR_UNSUPPORTED_3P_FEATURE",ERROR_DEVICE_LIMIT:"ERROR_DEVICE_LIMIT",ERROR_UNMATCHED_SLOT_SIZE:"ERROR_UNMATCHED_SLOT_SIZE"},StreamType:{UNKNOWN:"UNKNOWN",LIVE:"LIVE",VOD:"VOD"},CallbackFunctions:{CONSOLE_LOG:"consoleLog",MAKE_REQUEST:"makeRequest",SAVE_DATA:"saveData",LOAD_DATA:"loadData",GET_EPOCH_TIME_IN_MS:"getEpochTimeInMs",CREATE_TIMER:"createTimer",GENERATE_HASH:"generateHash",BASE64_ENCODE:"base64Encode"},DeviceMetadata:{BRAND:"DeviceBrand",MANUFACTURER:"DeviceManufacturer",MODEL:"DeviceModel",TYPE:"DeviceType",VERSION:"DeviceVersion",OS_NAME:"OperatingSystemName",OS_VERSION:"OperatingSystemVersion",CATEGORY:"DeviceCategory",SCREEN_RESOLUTION_WIDTH:"ScreenWidth",SCREEN_RESOLUTION_HEIGHT:"ScreenHeight",SCREEN_RESOLUTION_SCALE_FACTOR:"ScaleFactor"},AD_PRELOAD_FEATURE:"adPreloading",AD_TAG_URL:"adTagUrl",IMASDK_CONTENT_PLAYER:"imaMainContentPlayer",CONVIVA_AD_MODULE:"convivaAdModule",CONVIVA_MODULE:"convivaModule",MEDIA_ELEMENT:"mediaElement",APP_TRACKER_EVENT:{TYPE:"convivaVideoEvent",INIT:"c3.sdk.init",VIDEO_ATTEMPT:"c3.video.attempt",VIDEO_END:"c3.video.end",VIDEO_PLAY:"c3.video.play",VIDEO_PAUSE:"c3.video.pause",VIDEO_BUFFERING:"c3.video.buffering",VIDEO_ERROR:"c3.video.error",SDK_CUSTOM_EVENT:"c3.sdk.custom_event",VIDEO_CUSTOM_EVENT:"c3.video.custom_event",AD_BREAK_START:"c3.ad.ad_break_start",AD_BREAK_END:"c3.ad.ad_break_end",VIDEO_METADATA_CHANGE:"c3.video.set_content_info",VIDEO_BITRATE_SWITCH:"c3.video.bitrate_switch"}},(_=e.Client=function(){var e=this;this._=null,this.R=!1,this.version=_.version,this.p=null,this.A=null,this.T=null,this.S=-1,this.O=null,this.N=null,this.g=null,this.I=null,this.C=-1,this.m=!1,this.D={},this.P=function(){e.p},this.L={},this.M=null,this.U=null,this.V=null,this.k=function(){this.g.F("Client.makeIPV4IPV6GlobalSessions",(function(){var t;e.I&&null!==(t=e.I.get(z.B))&&t!==H.H&&e.A&&((t=new h).custom["c3.IPV4IPV6GlobalSession"]="T",t.custom["c3.domain"]=e.O.G.indexOf(f.j)>-1?f.j:f.K,e.W=e.A.Y(t,null),(t=new h).custom["c3.IPV4IPV6GlobalSession"]="T",t.custom["c3.domain"]=e.O.q.indexOf(f.J)>-1?f.J:f.X,e.Z=e.A.Y(t,null))}))},this.$=function(t){e.g.F("Client.updateConnectionType",(function(){if(e.M=t,e.A){var n,r=e.A.tt();for(n in r)r[n].nt(t)}}))},this.it=function(t){e.g.F("Client.updateLinkEncryption",(function(){if(e.U=t,e.A){var n,r=e.A.tt();for(n in r)r[n].et(t)}}))},this.ot=function(t){e.g.F("Client.updateSignalStrength",(function(){e.V=t}))},function(t,n,r,i){if(!(t instanceof f))throw new Error("clientSettings parameter should be an instance of ClientSettings.");if(!(n instanceof $))throw new Error("systemFactory parameter should be an instance of SystemFactory.");t.gatewayUrl!==f.rt+f.ut&&t.gatewayUrl!==f.ht+f.ut||(this.R=!0),i&&(this.version=i),this.O=t.ct(),this.T=n,this.T.lt("SDK",this.O,this.version),this.g=this.T.dt(this.version),this.g.F("Client.init",(function(){if(e.I=e.T.vt(),e.I.Et(),e.C=e.I.get(z._t),-1!==e.C&&void 0!==e.C&&null!==e.C||(e.C=ne.Rt()),e.A=e.T.At(e,e.O,e.I),r)for(var t in r)switch(t){case d.Network.CONNECTION_TYPE:e.$(r[t]);break;case d.Network.LINK_ENCRYPTION:e.it(r[t]);break;case d.Network.SIGNAL_STRENGTH:e.ot(r[t])}e.k()}),(function(e){throw new Error("Client constructor failed: "+e.message)}))}.apply(this,arguments),this.release=function(){this.m||this.g.F("Client.release",(function(){e.p,e.A.Tt(),e.A=null,e.S=-1,e.C=-1,e.g=null,e.O=null,e.N=null,e.T=null,e.m=!0}))},this.createSession=function(t,n,r){var i=_.NO_SESSION_KEY;return this.m||(!t||t instanceof h)&&this.g.F("Client.createSession",(function(){i=e.A.St(t,q.Nt.Ot,n,(r?d:e).version)})),i},this.createAdSession=function(t,n,r,i,o){var a=_.NO_SESSION_KEY;return this.m||(!n||n instanceof h)&&this.g.F("Client.createAdSession",(function(){var s,u;n||(n=new h),Z.gt(t)&&t!==_.NO_SESSION_KEY&&(s=e.A.It(t))&&(u=n.custom[d.APPLICATION_VERSION],s.wt&&s.wt.Ct&&(!n.viewerId&&s.wt.Ct.viewerId&&(n.viewerId=s.wt.Ct.viewerId),!n.applicationName&&s.wt.Ct.applicationName&&(n.applicationName=s.wt.Ct.applicationName),n.streamType===d.StreamType.UNKNOWN&&s.wt.Ct.streamType!==d.StreamType.UNKNOWN&&(n.streamType=s.wt.Ct.streamType),void 0!==u&&u||void 0!==(u=s.wt.Ct.custom[d.APPLICATION_VERSION])&&u&&(n.custom[d.APPLICATION_VERSION]=u)),n.custom["c3.csid"]=Z.yt(s.C)),a=e.A.St(n,q.Nt.Dt,r,(i?d:e).version,o)})),a},this.reportError=function(t,n,r){this.m||!Z.Pt(n)||r!==_.ErrorSeverity.FATAL&&r!==_.ErrorSeverity.WARNING||this.g.F("Client.reportError",(function(){var i=e.A.It(t);i&&i.bt(n,r)}))},this.updateContentMetadata=function(t,n){this.m||n instanceof h&&this.g.F("Client.updateContentMetadata",(function(){var r,i=e.A.It(t);i&&(r=n.ct(),i.Lt(r))}))},this.detachPlayer=function(t){this.m||this.g.F("Client.detachPlayer",(function(){var n=e.A.It(t);n&&n.Mt()}))},this.Ut=function(t){this.m||this.g.F("Client.offFocus",(function(){var n=e.A.It(t);n&&n.Ut()}))},this.attachPlayer=function(t,n){this.m||n instanceof p&&this.g.F("Client.attachPlayer",(function(){var r=e.A.It(t);r&&r.Vt(n)}))},this.kt=function(t){this.m||this.g.F("Client.onFocus",(function(){var n=e.A.It(t);n&&n.kt()}))},this.contentPreload=function(t){this.m||this.g.F("Client.contentPreload",(function(){var n=e.A.It(t);n&&n.Ft()}))},this.contentStart=function(t){this.m||this.g.F("Client.contentStart",(function(){var n=e.A.It(t);n&&n.Bt()}))},this.sendCustomEvent=function(t,n,r){this.m||Z.Pt(n)&&(Z.Ht(r),this.g.F("Client.sendCustomEvent",(function(){t===_.NO_SESSION_KEY&&(e.S<0&&(i=new h,e.S=e.A.Y(i,null)),t=e.S);var i=Z.Gt(r),o=e.A.jt(t);o&&o.Kt(n,i)})))},this.adStart=function(t,n,r,i){this.m||n!==_.AdStream.CONTENT&&n!==_.AdStream.SEPARATE||r!==_.AdPlayer.CONTENT&&r!==_.AdPlayer.SEPARATE||(i!==_.AdPosition.PREROLL&&i!==_.AdPosition.MIDROLL&&_.AdPosition.POSTROLL,this.g.F("Client.adStart",(function(){var o=e.A.It(t);o&&o.Wt(n,r,i)})))},this.adEnd=function(t){this.m||this.g.F("Client.adEnd",(function(){var n=e.A.It(t);n&&n.Yt()}))},this.cleanupSession=function(t){this.m||t!==_.NO_SESSION_KEY&&this.g.F("Client.cleanupSession",(function(){e.A.It(t)&&e.A.xt(t)}))},this.getAttachedPlayer=function(t){var n=null;return this.m||t!==_.NO_SESSION_KEY&&this.g.F("Client.getAttachedPlayer",(function(){var r=e.A.It(t);r&&(n=r.qt())})),n},this.isPlayerAttached=function(e){return!this.m&&null!==this.getAttachedPlayer(e)},this.getPlayerStateManager=function(t){if(this.m)throw new Error("This instance of Conviva.Client has been released.");return new p(this.T,(t?d:e).version)},this.releasePlayerStateManager=function(e){if(this.m)throw new Error("This instance of Conviva.Client has been released.");this.g.F("Client.releasePlayerStateManager",(function(){e instanceof p&&e.release()}))},this.Jt=function(){return this.O},this.getId=function(){return this.C},this.getSessionId=function(t){var n;return this.m?d.NO_SESSION_KEY:(n=null,this.g.F("Client.getSessionId",(function(){var r=e.A.It(t);r&&(n=r.Xt())})),n)},this.getClientId=function(t){var n;return this.m?null:(n=null,this.g.F("Client.getClientId",(function(){var r=e.A.It(t);r&&(n=r.Qt())})),n)},this.Zt=function(t,n,r){this.m||this.g.F("Client.updateCustomMetric",(function(){var i=e.A.It(t);i&&i.Zt(n,r)}))},this.setUniqueIdentifier=function(e,t){if(this.m)throw new Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw new Error("Identifiers are not set. No action taken !!");for(var n in e)this.D[n]=e[n];t&&(this.P=t)},this.setUserPreferenceForDataCollection=function(e,t){if(this.m)throw new Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw new Error("Identifiers are not set. No action taken !!");for(var n in e)"false"===e[n]?this.L[n]=t?z.$t.zt:z.$t.tn:this.L[n]=z.$t.nn},this.setUserPreferenceForDataDeletion=function(e){if(this.m)throw new Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw new Error("Identifiers are not set. No action taken !!");for(var t in e)"true"===e[t]?this.L[t]=z.$t.en:this.L[t]=z.$t.nn},this.getConfig=function(){if(this.m)throw new Error("This instance of Conviva.Client has been released.");return this.I}}).version="4.7.5L",_.NO_SESSION_KEY=d.NO_SESSION_KEY,_.AdPosition={PREROLL:d.AdPosition.PREROLL,MIDROLL:d.AdPosition.MIDROLL,POSTROLL:d.AdPosition.POSTROLL},_.AdStream={CONTENT:d.AdPlayer.CONTENT,SEPARATE:d.AdPlayer.SEPARATE},_.AdPlayer={CONTENT:d.AdPlayer.CONTENT,SEPARATE:d.AdPlayer.SEPARATE},_.ErrorSeverity={FATAL:d.ErrorSeverity.FATAL,WARNING:d.ErrorSeverity.WARNING},_.DeviceType={DESKTOP:d.DeviceType.DESKTOP,CONSOLE:d.DeviceType.CONSOLE,SETTOP:d.DeviceType.SETTOP,MOBILE:d.DeviceType.MOBILE,TABLET:d.DeviceType.TABLET,SMARTTV:d.DeviceType.SMARTTV},_.AdTechnology={CLIENT_SIDE:d.AdType.CLIENT_SIDE,SERVER_SIDE:d.AdType.SERVER_SIDE},_.AdType={BLACKOUT_SLATE:d.AdSlates.BLACKOUT_SLATE,TECHNICAL_DIFFICULTIES_SLATE:d.AdSlates.TECHNICAL_DIFFICULTIES_SLATE,COMMERCIAL_SLATE:d.AdSlates.COMMERCIAL_SLATE,OTHER_SLATE:d.AdSlates.OTHER_SLATE,VPAID:d.AdSlates.VPAID,REGULAR:d.AdSlates.REGULAR},_.AdServingType={INLINE:d.AdServingType.INLINE,WRAPPER:d.AdServingType.WRAPPER},_.DeviceCategory={ANDROID_DEVICE:d.DeviceCategory.ANDROID_DEVICE,APPLE_DEVICE:d.DeviceCategory.APPLE_DEVICE,CHROMECAST:d.DeviceCategory.CHROMECAST,DESKTOP_APP:d.DeviceCategory.DESKTOP_APP,DEVICE_SIMULATOR:d.DeviceCategory.DEVICE_SIMULATOR,LG_TV:d.DeviceCategory.LG_TV,NINTENDO:d.DeviceCategory.NINTENDO,PLAYSTATION:d.DeviceCategory.PLAYSTATION,ROKU:d.DeviceCategory.ROKU,SAMSUNG_TV:d.DeviceCategory.SAMSUNG_TV,SMART_TV:d.DeviceCategory.SMART_TV,SET_TOP_BOX:d.DeviceCategory.SET_TOP_BOX,TIVO:d.DeviceCategory.TIVO,WEB:d.DeviceCategory.WEB,WINDOWS_DEVICE:d.DeviceCategory.WINDOWS_DEVICE,XBOX:d.DeviceCategory.XBOX,KAIOS_DEVICE:d.DeviceCategory.KAIOS_DEVICE},(f=e.ClientSettings=function(){var e=this;this.on=null,Z.rn(this,"customerKey",(function(){return this.on})),Z.un(this,"customerKey",(function(e){Z.Pt(e)&&(this.on=e)})),this.hn=f.fn,Z.rn(this,"heartbeatInterval",(function(){return this.hn})),Z.un(this,"heartbeatInterval",(function(e){var t;"number"==typeof e&&(t=Z.cn(e))===e&&(this.hn=t)})),this.ln=null,this.G=null,this.q=null,Z.rn(this,"gatewayUrl",(function(){return this.ln})),Z.un(this,"gatewayUrl",(function(e){var t;!Z.Pt(e)||"https"!==(t=e.split("://"))[0]&&"http"!==t[0]||-1===e.indexOf(".com",e.length-4)||(this.ln=e)})),function(e){if(!Z.Pt(e))throw new Error("customerKey must be valid");this.customerKey=e}.apply(this,arguments),this.equals=function(e){return this.customerKey===e.customerKey&&this.gatewayUrl===e.gatewayUrl&&this.heartbeatInterval===e.heartbeatInterval},this.ct=function(){var t=new f(this.customerKey);return t.gatewayUrl=function(t){if(Z.Pt(t)){var n,r=t.split("://");if("https"===r[0]||"http"===r[0])return r[1]!==f.ut&&-1!==r[1].indexOf(f.ut)?(n=r[1].split(f.ut),e.G="https://"+n[0]+f.j,e.q="https://"+n[0]+f.J):r[1]!==f.dn&&-1!==r[1].indexOf("testonly.conviva.com")?(n=r[1].split("testonly.conviva.com"),e.G="https://"+n[0]+f.K,e.q="https://"+n[0]+f.X):r[1]===f.dn?(e.G="https://"+e.customerKey+"."+f.K,e.q="https://"+e.customerKey+"."+f.X):(e.G="https://"+e.customerKey+"."+f.j,e.q="https://"+e.customerKey+"."+f.J,t="https://"+e.customerKey+"."+f.ut),t}return e.G="https://"+e.customerKey+"."+f.j,e.q="https://"+e.customerKey+"."+f.J,"https://"+e.customerKey+"."+f.ut}(this.gatewayUrl),t.heartbeatInterval=this.heartbeatInterval,t.G=this.G,t.q=this.q,t}}).sn="https://conviva.testonly.conviva.com",f.vn="https://cws.conviva.com",f.ut="cws.conviva.com",f.j="ipv4.cws.conviva.com",f.J="ipv6.cws.conviva.com",f.dn="conviva.testonly.conviva.com",f.K="ipv4.testonly.conviva.com",f.X="ipv6.testonly.conviva.com",f.rt="https://",f.ht="http://",f.En=5,f.fn=20,(h=e.ContentMetadata=function(){this._n=null,Z.rn(this,"assetName",(function(){return this._n})),Z.un(this,"assetName",(function(e){"string"==typeof e&&(this._n=e)})),this.Rn={},Z.rn(this,"custom",(function(){return this.Rn})),Z.un(this,"custom",(function(e){"object"==typeof e&&(this.Rn=Z.Gt(e))})),this.An=null,Z.rn(this,"defaultResource",(function(){return this.An})),Z.un(this,"defaultResource",(function(e){"string"==typeof e&&(this.An=e)})),this.Tn=null,Z.rn(this,"viewerId",(function(){return this.Tn})),Z.un(this,"viewerId",(function(e){"string"==typeof e&&(this.Tn=e)})),this.Sn=null,Z.rn(this,"applicationName",(function(){return this.Sn})),Z.un(this,"applicationName",(function(e){"string"==typeof e&&(this.Sn=e)})),this.On=null,Z.rn(this,"streamUrl",(function(){return this.On})),Z.un(this,"streamUrl",(function(e){"string"==typeof e&&(this.On=e)})),this.Nn=h.StreamType.UNKNOWN,Z.rn(this,"streamType",(function(){return this.Nn})),Z.un(this,"streamType",(function(e){e!==h.StreamType.UNKNOWN&&e!==h.StreamType.VOD&&e!==h.StreamType.LIVE||(this.Nn=e)})),this.gn=-1,Z.rn(this,"duration",(function(){return this.gn})),Z.un(this,"duration",(function(e){this.gn=re.In(e)})),this.wn=-1,Z.rn(this,"encodedFrameRate",(function(){return this.wn})),Z.un(this,"encodedFrameRate",(function(e){this.wn=re.In(e)})),function(){}.apply(this,arguments),this.ct=function(){var e,t=new h;for(e in t.assetName=this.assetName,t.applicationName=this.applicationName,t.streamUrl=this.streamUrl,t.viewerId=this.viewerId,t.defaultResource=this.defaultResource,t.streamType=this.streamType,t.duration=this.duration,t.encodedFrameRate=this.encodedFrameRate,this.custom)t.custom[e]=this.custom[e];return t}}).StreamType={UNKNOWN:d.StreamType.UNKNOWN,LIVE:d.StreamType.LIVE,VOD:d.StreamType.VOD},e.ErrorType={ERROR_UNKNOWN:d.ErrorType.ERROR_UNKNOWN,ERROR_IO:d.ErrorType.ERROR_IO,ERROR_TIMEOUT:d.ErrorType.ERROR_TIMEOUT,ERROR_NULL_ASSET:d.ErrorType.ERROR_NULL_ASSET,ERROR_MISSING_PARAMETER:d.ErrorType.ERROR_MISSING_PARAMETER,ERROR_NO_AD_AVAILABLE:d.ErrorType.ERROR_NO_AD_AVAILABLE,ERROR_PARSE:d.ErrorType.ERROR_PARSE,ERROR_INVALID_VALUE:d.ErrorType.ERROR_INVALID_VALUE,ERROR_INVALID_SLOT:d.ErrorType.ERROR_INVALID_SLOT,ERROR_3P_COMPONENT:d.ErrorType.ERROR_3P_COMPONENT,ERROR_UNSUPPORTED_3P_FEATURE:d.ErrorType.ERROR_UNSUPPORTED_3P_FEATURE,ERROR_DEVICE_LIMIT:d.ErrorType.ERROR_DEVICE_LIMIT,ERROR_UNMATCHED_SLOT_SIZE:d.ErrorType.ERROR_UNMATCHED_SLOT_SIZE},e.Events={AD_REQUESTED:d.Events.AD_REQUESTED,AD_RESPONSE:d.Events.AD_RESPONSE,AD_SLOT_STARTED:d.Events.AD_SLOT_STARTED,AD_ATTEMPTED:d.Events.AD_ATTEMPTED,AD_SLOT_ENDED:d.Events.AD_SLOT_ENDED,AD_IMPRESSION_START:d.Events.AD_IMPRESSION_START,AD_START:d.Events.AD_START,AD_FIRST_QUARTILE:d.Events.AD_FIRST_QUARTILE,AD_MID_QUARTILE:d.Events.AD_MID_QUARTILE,AD_THIRD_QUARTILE:d.Events.AD_THIRD_QUARTILE,AD_COMPLETE:d.Events.AD_COMPLETE,AD_END:d.Events.AD_END,AD_IMPRESSION_END:d.Events.AD_IMPRESSION_END,AD_SKIPPED:d.Events.AD_SKIPPED,AD_ERROR:d.Events.AD_ERROR,AD_PROGRESS:d.Events.AD_PROGRESS,AD_CLOSE:d.Events.AD_CLOSE,CONTENT_PAUSED:d.Events.CONTENT_PAUSED,CONTENT_RESUMED:d.Events.CONTENT_RESUMED,POD_START:d.Events.POD_START,POD_END:d.Events.POD_END},(p=e.PlayerStateManager=function(){var t=this;t.Cn=null,t.yn=-2,t.Dn=-2,t.Pn=p.PlayerState.UNKNOWN,t.bn={},t.Ln=-2,t.wn=-2,t.gn=-2,t.Mn=null,t.Un=null,t.On=null,t.Vn=null,t.kn=null,t.Fn=-1,t.Bn=-1,t.M=null,t.U=null,t.Hn=null,t.Gn=[],t.m=!1,t.jn=null,t.Kn=null,t.Wn=null,this.release=function(){t.m||t.g.F("PlayerStateManager.release",(function(){t.Cn&&t.Cn.Yn(),t.xn(),t.T=null,t.g=null,t.m=!0}))},this.setPlayheadTime=function(){},this.setBufferLength=function(){},this.setRenderedFrameRate=function(){},this.getEncodedFrameRate=function(){return t.wn},this.setEncodedFrameRate=function(e){t.m||t.g.F("PlayerStateManager.setEncodedFrameRate",(function(){var n=re.In(e);n>=-1&&(t.wn=n,t.Cn)&&t.Cn.qn(t.wn)}))},this.getDuration=function(){return t.gn},this.setClientMeasureInterface=function(t){Z.Jn(t,new e.ClientMeasureInterface,"ClientMeasureInterface"),this.Xn=t},this.getPHT=function(){return this.Xn&&"function"==typeof this.Xn.getPHT?this.Xn.getPHT():p.DEFAULT_PHT},this.getBufferLength=function(){return this.Xn&&"function"==typeof this.Xn.getBufferLength?this.Xn.getBufferLength():p.DEFAULT_BUFFER_LENGTH},this.getSignalStrength=function(){return this.Xn&&"function"==typeof this.Xn.getSignalStrength?this.Xn.getSignalStrength():p.DEFAULT_SIGNAL_STRENGTH},this.getRenderedFrameRate=function(){return this.Xn&&"function"==typeof this.Xn.getRenderedFrameRate?this.Xn.getRenderedFrameRate():p.DEFAULT_RENDERED_FRAME_RATE},this.setDuration=function(e){t.m||t.g.F("PlayerStateManager.setDuration",(function(){var n=re.In(e);n>=-1&&(t.gn=n,t.Cn)&&t.Cn.Qn(t.gn)}))},this.getStreamUrl=function(){return t.On},this.setStreamUrl=function(e){t.m||t.g.F("PlayerStateManager.setStreamUrl",(function(){e&&(t.On=e,t.Cn)&&t.Cn.Zn(t.On)}))},this.zn=function(){return t.Vn},this.$n=function(){return t.kn},this.setModuleNameAndVersion=function(e,n){t.Vn=e,t.kn=n},this.ti=function(){return t.Un},this.setPlayerType=function(e){t.m||t.g.F("PlayerStateManager.setPlayerType",(function(){t.Un=e,t.Cn&&t.Cn.ni(t.Un)}))},this.ii=function(){return t.Mn},this.setPlayerVersion=function(e){t.m||t.g.F("PlayerStateManager.setPlayerVersion",(function(){t.Mn=e,t.Cn&&t.Cn.ei(t.Mn)}))},this.si=function(){return t.jn},this.setAudioLang=function(e){t.m||t.g.F("PlayerStateManager.setAudioLang",(function(){t.jn=e,t.Cn&&t.Cn.oi(t.jn)}))},this.ri=function(){return t.Kn},this.setSubtitleLang=function(e){t.m||t.g.F("PlayerStateManager.setSubtitleLang",(function(){t.Kn=e,t.Cn&&t.Cn.ui(t.Kn)}))},this.hi=function(){return t.Wn},this.setCcLang=function(e){t.m||t.g.F("PlayerStateManager.setCCLang",(function(){t.Wn=e,t.Cn&&t.Cn.ai(t.Wn)}))},this.setMonitoringNotifier=function(e){return!t.m&&!t.Cn&&(t.Cn=e,t.p,!0)},this.xn=function(){t.m||(t.Cn=null,t.p)},this.fi=function(){t.setPlayerState(t.getPlayerState()),t.setBitrateKbps(t.ci()),t.setAvgBitrateKbps(t.li()),t.setDuration(t.getDuration()),t.setEncodedFrameRate(t.getEncodedFrameRate()),t.setStreamUrl(t.getStreamUrl()),t.setPlayerType(t.ti()),t.setPlayerVersion(t.ii()),t.setAudioLang(t.si()),t.setSubtitleLang(t.ri()),t.setCcLang(t.hi());for(var e=0;e<t.Gn.length;e++){var n=t.Gn[e];t.di(n)}t.Gn=[]},this.getPlayerState=function(){return t.Pn},this.setPlayerState=function(e){t.m||t.g.F("PlayerStateManager.setPlayerState",(function(){p.vi(e)&&(t.Pn=e,t.Cn)&&t.Cn.Ei(t.Pn)}))},this.ci=function(){return t.yn},this.setBitrateKbps=function(e){t.m||t.g.F("PlayerStateManager.setBitrateKbps",(function(){var n=re.In(e);n>=-1&&(t.yn=n,t.Cn)&&t.Cn._i(t.yn)}))},this.li=function(){return t.Dn},this.setAvgBitrateKbps=function(e){t.m||t.g.F("PlayerStateManager.setAvgBitrateKbps",(function(){var n=re.In(e);n>=-1&&(t.Dn=n,t.Cn)&&t.Cn.Ri(t.Dn)}))},this.setPlayerSeekStart=function(e){t.m||t.g.F("PlayerStateManager.setPlayerSeekStart()",(function(){t.Cn&&t.Cn.pi(p.SEEK_ACTIONS_TYPE.SEEK_START,e)}))},this.setPlayerSeekEnd=function(){t.m||t.g.F("PlayerStateManager.setPlayerSeekEnd()",(function(){t.Cn&&t.Cn.pi(p.SEEK_ACTIONS_TYPE.SEEK_END,-1)}))},this.setUserSeekButtonUp=function(){t.m||t.g.F("PlayerStateManager.setUserSeekButtonUp()",(function(){t.Cn&&t.Cn.pi(p.SEEK_ACTIONS_TYPE.BUTTON_UP,-1)}))},this.setUserSeekButtonDown=function(){t.m||t.g.F("PlayerStateManager.setUserSeekButtonDown()",(function(){t.Cn&&t.Cn.pi(p.SEEK_ACTIONS_TYPE.BUTTON_DOWN,-1)}))},this.setVideoResolutionWidth=function(e){t.m||t.g.F("PlayerStateManager.setVideoResolutionWidth()",(function(){var n=re.In(e);n>0&&(t.Fn=n),t.Cn&&t.Cn.Ai(t.Fn)}))},this.setVideoResolutionHeight=function(e){t.m||t.g.F("PlayerStateManager.setVideoResolutionHeight()",(function(){var n=re.In(e);n>0&&(t.Bn=n),t.Cn&&t.Cn.Ti(t.Bn)}))},this.setConnectionType=function(e){t.m||t.g.F("PlayerStateManager.setConnectionType()",(function(){t.M=e,t.Cn&&t.Cn.nt(t.M)}))},this.setLinkEncryption=function(e){t.m||t.g.F("PlayerStateManager.setLinkEncryption()",(function(){t.U=e,t.Cn&&t.Cn.et(t.U)}))},this.setSignalStrength=function(){},this.di=function(e){var n,r;t.Hn=e,t.Cn?(n=e.errorCode,r=e.severity,t.Cn.Si(n,r)):t.Gn.push(e)},this.sendError=function(e,n){t.m||t.g.F("PlayerStateManager.sendError",(function(){var r=new ie(e,n);t.di(r)}))},this.reset=function(){t.m||t.g.F("PlayerStateManager.reset",(function(){t.yn=-2,t.Dn=-2,t.Pn=p.PlayerState.UNKNOWN,t.bn={},t.Ln=-1,t.wn=-1,t.gn=-1,t.Mn=null,t.Un=null,t.On=null,t.Hn=null,t.Gn=[]}))},this.setCDNServerIP=function(e){t.m||t.g.F("PlayerStateManager.setCDNServerIP",(function(){t.Cn&&t.Cn.Oi(e)}))},this.Ni=function(){return t.gi},this.setDroppedFramesTotal=function(e){t.m||t.g.F("PlayerStateManager.setDroppedFramesTotal",(function(){t.Cn&&t.Cn.Ii(e)}))},this.setDroppedFramesCount=function(e){t.m||t.g.F("PlayerStateManager.setDroppedFramesCount",(function(){t.Cn&&t.Cn.wi(e)}))},this.Ci=function(){return t.Hn},function(e,n){t.T=e,t.g=t.T.dt(n)}.apply(t,arguments)}).PlayerState={STOPPED:d.PlayerState.STOPPED,PLAYING:d.PlayerState.PLAYING,BUFFERING:d.PlayerState.BUFFERING,PAUSED:d.PlayerState.PAUSED,UNKNOWN:d.PlayerState.UNKNOWN,NOT_MONITORED:d.PlayerState.NOT_MONITORED},p.vi=function(e){return e===p.PlayerState.STOPPED||e===p.PlayerState.PLAYING||e===p.PlayerState.BUFFERING||e===p.PlayerState.PAUSED||e===p.PlayerState.UNKNOWN||e===p.PlayerState.NOT_MONITORED},p.SEEK_ACTIONS_TYPE={SEEK_START:"pss",SEEK_END:"pse",BUTTON_UP:"bu",BUTTON_DOWN:"bd"},p.DEFAULT_SIGNAL_STRENGTH=1e3,p.DEFAULT_RENDERED_FRAME_RATE=-1,p.DEFAULT_BUFFER_LENGTH=-1,p.DEFAULT_PHT=-1,e.ClientMeasureInterface=function(){this.getPHT=function(){},this.getBufferLength=function(){},this.getSignalStrength=function(){},this.getRenderedFrameRate=function(){}},g=e.HttpInterface=function(){this.makeRequest=function(){},this.release=function(){}},v=e.LoggingInterface=function(){this.consoleLog=function(){},this.release=function(){}},m=e.MetadataInterface=function(){this.getBrowserName=function(){},this.getBrowserVersion=function(){},this.getDeviceBrand=function(){},this.getDeviceManufacturer=function(){},this.getDeviceModel=function(){},this.getDeviceType=function(){},this.getDeviceVersion=function(){},this.getFrameworkName=function(){},this.getFrameworkVersion=function(){},this.getOperatingSystemName=function(){},this.getOperatingSystemVersion=function(){},this.getDeviceCategory=function(){},this.getScreenWidth=function(){},this.getScreenHeight=function(){},this.getScaleFactor=function(){},this.release=function(){}},y=e.StorageInterface=function(){this.saveData=function(){},this.loadData=function(){},this.release=function(){}},b=e.SystemInterface=function(){(function(e,t,n,r,i,o){Z.Jn(e,new S,"TimeInterface"),Z.Jn(t,new E,"TimerInterface"),Z.Jn(n,new g,"HttpInterface"),Z.Jn(r,new y,"StorageInterface"),Z.Jn(i,new m,"MetadataInterface"),Z.Jn(o,new v,"LoggingInterface"),this.yi=e,this.mi=t,this.Di=n,this.Pi=r,this.bi=i,this.Li=o}).apply(this,arguments),this.release=function(){this.yi&&(this.yi.release(),this.yi=null),this.mi&&(this.mi.release(),this.mi=null),this.Di&&(this.Di.release(),this.Di=null),this.Pi&&(this.Pi.release(),this.Pi=null),this.bi&&(this.bi.release(),this.bi=null),this.Li&&(this.Li.release(),this.Li=null)}},S=e.TimeInterface=function(){this.getEpochTimeMs=function(){},this.release=function(){}},E=e.TimerInterface=function(){this.createTimer=function(){},this.release=function(){}},$=e.SystemFactory=function(){var e=this;(function(e,t){if(!(e instanceof b))throw new Error("systemInterface parameter should be an instance of SystemInterface.");this.Mi=e,this.yi=this.Mi.yi,this.mi=this.Mi.mi,this.Di=this.Mi.Di,this.Pi=this.Mi.Pi,this.bi=this.Mi.bi,this.Li=this.Mi.Li,this.O=t instanceof T?t.ct():new T}).apply(this,arguments),this.lt=function(e,t,n){this.Ui=e,this.Vi=t,this.ki=n},this.release=function(){this.Mi.release(),this.Mi=null,this.Ui=null,this.O=null,this.Fi=null},this.buildLogger=function(){return new ae(e.Li,e.yi,e.Jt(),e.Fi,e.Ui)},this.At=function(e,t,n){return new Y(e,t,n,this)},this.Bi=function(e){return new te(this.buildLogger(),this.Hi(),this.Vi,e)},this.Gi=function(){return new K(this.buildTimer(e.ki))},this.ji=function(){var e=new ce(this.buildLogger(),this.mi,new Q(this.buildLogger(),null,this.Jt()));return new K(e)},this.Hi=function(){return new oe(this.buildLogger(),this.Di,this.ji(),this.Jt())},this.dt=function(e){return new Q(this.buildLogger(),this.Bi(e),this.Jt())},this.buildTime=function(){return new ue(this.yi,this.buildLogger())},this.buildTimer=function(e){return new ce(this.buildLogger(),this.mi,this.dt(e))},this.Ki=function(){return new le.Storage(this.buildLogger(),this.Pi,this.Gi(),this.Jt())},this.vt=function(){return new z(this.buildLogger(),this.Ki(),this.Wi())},this.Yi=function(e){return new se(this.buildLogger(),this.bi,this.dt(e))},this.xi=function(){return new H},this.qi=function(e,t){return new J(e,this.buildLogger(),this.Hi(),this.Wi(),t)},this.Ji=function(e,t,n,r,i){var o=this.qi(t,r.custom["c3.domain"]);return new q(this.Xi(),e,t,this.buildLogger(),this.dt(i),this.buildTimer(i),o,this.xi(),this.buildTime(),this.Qi(),n,r,i)},this.Zi=function(e,t,n,r,i,o,a){return e=this.Ji(e,t.ct(),n,o,a),new G(r,i,n,this.Yi(a),e,this.dt(a),this.buildLogger())},this.Xi=function(){return new X},this.Wi=function(){return new V},this.Qi=function(){return this.Fi},this.Jt=function(){return this.O},this.Fi=new ee},(T=e.SystemSettings=function(){this.zi=T.$i,Z.rn(this,"logLevel",(function(){return this.zi})),Z.un(this,"logLevel",(function(e){var t;"number"==typeof e&&(t=Z.cn(e))===e&&t>=T.LogLevel.DEBUG&&t<=T.LogLevel.ERROR&&(this.zi=t)})),this.te=T.ne,Z.rn(this,"allowUncaughtExceptions",(function(){return this.te})),Z.un(this,"allowUncaughtExceptions",(function(e){Z.ie(e)&&(this.te=e)})),this.ee=T.se,Z.rn(this,"storageTimeout",(function(){return this.ee})),Z.un(this,"storageTimeout",(function(e){var t;"number"==typeof e&&(t=Z.cn(e))===e&&(this.ee=t)})),this.oe=T.re,Z.rn(this,"httpTimeout",(function(){return this.oe})),Z.un(this,"httpTimeout",(function(e){var t;"number"==typeof e&&(t=Z.cn(e))===e&&(this.oe=t)})),function(){}.apply(this,arguments),this.equals=function(e){return this.logLevel===e.logLevel&&this.allowUncaughtExceptions===e.allowUncaughtExceptions&&this.storageTimeout===e.storageTimeout&&this.httpTimeout===e.httpTimeout},this.ct=function(){var e=new T;return e.logLevel=this.logLevel,e.allowUncaughtExceptions=this.allowUncaughtExceptions,e.storageTimeout=this.storageTimeout,e.httpTimeout=this.httpTimeout,e}}).LogLevel={DEBUG:d.LogLevel.DEBUG,INFO:d.LogLevel.INFO,WARNING:d.LogLevel.WARNING,ERROR:d.LogLevel.ERROR,NONE:d.LogLevel.NONE},T.ue=T.LogLevel.DEBUG,T.$i=T.LogLevel.NONE,T.he=!0,T.ne=!1,T.se=10,T.re=10,A=le.AdAnalytics=function(){var t=this;function n(e){t.ae?(Z.Ht(e)>0&&t.setAdInfo(e),t.ae.fe()||(t.ae.ce(t.le),t.ae.de(!0),t.getAdType()===d.AdType.SERVER_SIDE&&t.reportAdMetric(d.Playback.BITRATE,t.le.ve()))):t.p}t.Ee=null,t.T=null,t._e=null,t.le=null,t.ae=null,t.Re=null,t.pe=null,t.Ae=null,function(e,n,r){t.Ee=e,t.Ae=r,t.T=n,r&&(t.le=r.Te()),t._e=n.buildTimer(d.version),t.ae=new C(t.Ee,t._e),I.call(this)}.apply(this,arguments),this.setAdInfo=function(e){Z.Ht(e)<=0?t.p:(t.p,t.ae&&t.ae.Se(e))},this.setAdPlayerInfo=function(e){Z.Ht(e)<=0?t.p:(t.p,t.ae&&t.ae.Se(e))},this.reportAdMetric=function(){0===arguments.length?t.p:1===arguments.length?t.Oe(arguments[0]):2===arguments.length?t.Oe(arguments[0],arguments[1]):3===arguments.length?t.Oe(arguments[0],arguments[1],arguments[2]):4===arguments.length&&t.Oe(arguments[0],arguments[1],arguments[2],arguments[3])},this.setCallback=function(e){t.ae&&t.ae.Ne(e)},this.reportAdFailed=function(e,n){t.ae?(Z.Ht(n)>0&&t.setAdInfo(n),t.ae.fe()?(t.p,t.reportAdError(e,_.ErrorSeverity.FATAL),t.reportAdEnded()):(t.ae.ce(t.le),t.p,n=new ie(e,_.ErrorSeverity.FATAL),t.ae.de(!0,n))):t.p},this.reportAdLoaded=function(e){t.p,n(e)},this.reportAdStarted=function(e){t.p,n(e)},this.reportAdEnded=function(){t.ae?(t.p,t.ae.fe()&&(t.ae.ce(null),t.ae.de(!1))):t.p},this.reportAdError=function(e,n){t.ae?(t.p,e=new ie(e,n),t.ae.di(e)):t.p},this.reportAdPlayerEvent=function(e,n){if(Z.Pt(e))if(t.p,t.ae)switch(e){case d.Events.USER_WAIT_STARTED:case d.Events.BUMPER_VIDEO_STARTED:t.ae.Mt();break;case d.Events.USER_WAIT_ENDED:case d.Events.BUMPER_VIDEO_ENDED:t.ae.Vt();break;default:t.ae.ge(e,n)}else t.p;else t.p},this.reportAdSkipped=function(){t.ae?(t.p,t.reportAdPlayerEvent(d.Events.AD_SKIPPED),t.reportAdEnded()):t.p},this.release=function(){t.p,t.ae&&(t.ae.fe()&&(t.ae.ce(null),t.ae.de(!1)),t.ae.Ne(null),t.ae.Ie(),t.ae=null),void 0!==e.AdProxyMonitor&&t.pe&&(e.AdProxyMonitor.release(t.pe),t.pe=null)},this.setAdListener=function(n,r){n&&(void 0!==r&&void 0!==r.convivaModule?e.AdProxyMonitor=r.convivaModule.AdProxyMonitor:"undefined"!=typeof ConvivaModule&&(e.AdProxyMonitor=ConvivaModule.AdProxyMonitor),void 0!==e.AdProxyMonitor)&&(!n&&t.pe?(e.AdProxyMonitor.release(t.pe),t.pe=null):n&&t.pe?(e.AdProxyMonitor.release(t.pe),t.p,t.pe=e.AdProxyMonitor.initConvivaDropIn(n,r,this,e,t.T)):n&&!t.pe&&(t.p,t.pe=e.AdProxyMonitor.initConvivaDropIn(n,r,this,e,t.T)))},this.reportAdBreakStarted=function(e,n,r){t.le&&(t.p,t.we=e,t.Re=n,t.le.Ce(e,n,r))},this.reportAdBreakEnded=function(){t.le&&(t.p,t.we=null,t.Re=null,t.le.ye())},this.getSessionId=function(){return t.le?(t.p,t.ae.Xt()):d.NO_SESSION_KEY},this.getClientId=function(){return t.le?(t.p,t.ae.Qt()):null},this.getPlayerMonitor=function(){return t.le},this.getAdPlayerMonitor=function(){return t.ae},this.getVideoAnalytics=function(){return t.Ae},this.getAdType=function(){return t.le?t.le.we:null},this.me=function(){return t.le?t.le.Re:null},A.prototype=Object.create(I.prototype),A.prototype.constructor=A},C=le.AdPlayerMonitorImpl=function(){var e=this;e.De=null,e.Pe=null,function(e,t){k.call(this,e,t)}.apply(this,arguments),this.ce=function(t){this.be()!==t&&(this.Le(),e.Pe=t||null)},this.be=function(){return e.Pe},this.Me=function(t){var n,r=this.be(),i={};i.error=t,e.De&&(e.Ue=e.De.getPlayerStateManager(!0),e.Ve(),e.Ue.setClientMeasureInterface(this),n=null,r&&(n=r.ke()),e.Fe=e.De.createAdSession(n,e.Ct,e.Ue,!0,i),void 0!==t)&&(e.Be(),e.Ie())},C.prototype=Object.create(k.prototype),C.prototype.constructor=C},P=e.Analytics={init:function(){if(this.Ee,arguments.length<=0)throw new Error("customerKey must be valid");var t=null,n=null,r=null;if("string"==typeof arguments[0]&&!Z.Pt(t=arguments[0]))throw new Error("customerKey must be valid");arguments.length>=2&&"object"==typeof arguments[1]&&(n=arguments[1]),arguments.length>=3&&"object"==typeof arguments[2]&&(r=arguments[2]),t=new f(t);var i=new T,o=(Z.Ht(r)>0&&(r[d.GATEWAY_URL]&&(t.gatewayUrl=r[d.GATEWAY_URL]),r[d.LOG_LEVEL]>=0)&&(i.logLevel=r[d.LOG_LEVEL]),r=new e.Impl.Html5Logging,new e.Impl.Html5Storage),a=new e.Impl.Html5Http,s=new e.Impl.Html5Timer,u=new e.Impl.Html5Time;this.bi||(this.bi=new e.Impl.Html5Metadata),n&&(n[d.CallbackFunctions.CONSOLE_LOG]&&(r.consoleLog=n[d.CallbackFunctions.CONSOLE_LOG]),n[d.CallbackFunctions.MAKE_REQUEST]&&(a.makeRequest=n[d.CallbackFunctions.MAKE_REQUEST]),n[d.CallbackFunctions.SAVE_DATA]&&(o.saveData=n[d.CallbackFunctions.SAVE_DATA]),n[d.CallbackFunctions.LOAD_DATA]&&(o.loadData=n[d.CallbackFunctions.LOAD_DATA]),n[d.CallbackFunctions.GET_EPOCH_TIME_IN_MS]&&(u.getEpochTimeMs=n[d.CallbackFunctions.GET_EPOCH_TIME_IN_MS]),n[d.CallbackFunctions.CREATE_TIMER])&&(s.createTimer=n[d.CallbackFunctions.CREATE_TIMER]),this.Mi=new b(u,s,a,o,this.bi,r),this.T=new $(this.Mi,i),this.T.lt("Analytics",t),this.Ee=new _(t,this.T,this.He,P.version),this.Ee._=new w(this.Ee,this),this.Ee._&&this.Ee._.Ge()},release:function(){var e=0;if(this.je){for(e=0;e<this.je.length;e++){var t=this.je[e];t&&(t.release(),t.p=null,t._e=null,this.je.splice(e,1),e--)}this.je=null}if(this.Ke){for(e=0;e<this.Ke.length;e++){var n=this.Ke[e];n&&(n.release(),n.p=null,n._e=null,this.Ke.splice(e,1),e--)}this.Ke=null}this.T&&(this.T.release(),this.T=null),this.Ee&&(this.Ee.release(),this.Ee=null),this.Ee=null,this.p=null,this.Mi=null,this.bi=null,this.He=null},setUniqueIdentifier:function(e,t){if(!this.Ee)throw new Error(d.i);this.Ee.setUniqueIdentifier(e,t)},setUserPreferenceForDataCollection:function(e,t){if(!this.Ee)throw new Error(d.i);this.Ee.setUserPreferenceForDataCollection(e,t)},setUserPreferenceForDataDeletion:function(e){if(!this.Ee)throw new Error(d.i);this.Ee.setUserPreferenceForDataDeletion(e)},reportAppEvent:function(e,t){if(!this.Ee)throw new Error(d.i);this.Ee.sendCustomEvent(_.NO_SESSION_KEY,e,t)},reportAppBackgrounded:function(){if(!this.Ee)throw new Error(d.i);this.Ee.sendCustomEvent(_.NO_SESSION_KEY,"App.Backgrounded",null)},reportAppForegrounded:function(){if(!this.Ee)throw new Error(d.i);this.Ee.sendCustomEvent(_.NO_SESSION_KEY,"App.Foregrounded",null)},configureExistingClient:function(e){if(!(e instanceof _))throw new Error(d.i);this.Ee=e,this.T=this.Ee.T},buildVideoAnalytics:function(){var e;if(this.Ee)return e=new O(this.Ee,this.T),this.Ke||(this.Ke=[]),this.Ke.push(e),e;throw new Error(d.i)},buildAdAnalytics:function(e){if(this.Ee)return e=new A(this.Ee,this.T,e||null),this.je||(this.je=[]),this.je.push(e),e;throw new Error(d.i)},setDeviceMetadata:function(t){var n,r,i;arguments.length<=0||0===Z.Ht(t)||(this.bi||(this.bi=new e.Impl.Html5Metadata),t[d.DeviceMetadata.BRAND]&&(this.bi.getDeviceBrand=function(){return t[d.DeviceMetadata.BRAND]}),t[d.DeviceMetadata.MANUFACTURER]&&(this.bi.getDeviceManufacturer=function(){return t[d.DeviceMetadata.MANUFACTURER]}),t[d.DeviceMetadata.MODEL]&&(this.bi.getDeviceModel=function(){return t[d.DeviceMetadata.MODEL]}),t[d.DeviceMetadata.TYPE]&&(this.bi.getDeviceType=function(){return t[d.DeviceMetadata.TYPE]}),t[d.DeviceMetadata.VERSION]&&(this.bi.getDeviceVersion=function(){return t[d.DeviceMetadata.VERSION]}),t[d.DeviceMetadata.OS_NAME]&&(this.bi.getOperatingSystemName=function(){return t[d.DeviceMetadata.OS_NAME]}),t[d.DeviceMetadata.OS_VERSION]&&(this.bi.getOperatingSystemVersion=function(){return t[d.DeviceMetadata.OS_VERSION]}),t[d.DeviceMetadata.CATEGORY]&&(this.bi.getDeviceCategory=function(){return t[d.DeviceMetadata.CATEGORY]}),n=t[d.DeviceMetadata.SCREEN_RESOLUTION_WIDTH],Z.gt(n)&&(this.bi.getScreenWidth=function(){return n.toString()}),r=t[d.DeviceMetadata.SCREEN_RESOLUTION_HEIGHT],Z.gt(r)&&(this.bi.getScreenHeight=function(){return r.toString()}),i=t[d.DeviceMetadata.SCREEN_RESOLUTION_SCALE_FACTOR],Z.gt(i)&&(this.bi.getScaleFactor=function(){return i.toString()}))},reportDeviceMetric:function(e,t){switch(this.He||(this.He={}),e){case d.Network.CONNECTION_TYPE:Z.Pt(t)&&(this.He[e]=t,this.Ee)&&this.Ee.$(this.He[d.Network.CONNECTION_TYPE]);break;case d.Network.LINK_ENCRYPTION:Z.Pt(t)&&(this.He[e]=t,this.Ee)&&this.Ee.it(this.He[d.Network.LINK_ENCRYPTION]);break;case d.Network.SIGNAL_STRENGTH:var n=parseInt(t,10);Z.gt(n)&&p.DEFAULT_SIGNAL_STRENGTH!==n&&(this.He[e]=n,this.Ee)&&this.Ee.ot(n)}},version:"4.7.5"},I=le.AnalyticsImpl=function(){var e=this;function t(){var t=!!e.ae,n=e.getAdType(),r=e.me();return n===d.AdType.SERVER_SIDE&&r===d.AdPlayer.CONTENT?I.Ye.We:n!==d.AdType.SERVER_SIDE||r!==d.AdPlayer.SEPARATE?n===d.AdType.CLIENT_SIDE&&r===d.AdPlayer.CONTENT||(n===d.AdType.CLIENT_SIDE&&d.AdPlayer.SEPARATE,t)?I.Ye.xe:I.Ye.qe:void 0}function n(t,n,r){t=parseInt(t,10),n=parseInt(n,10),isNaN(t)&&isNaN(n)||(isNaN(t),isNaN(n),!e.ae||r!==I.Ye.xe&&r!==I.Ye.We||e.ae.Je(t,n),!e.le)||r!==I.Ye.qe&&r!==I.Ye.We||e.le.Je(t,n)}function r(t,n){p.vi(t)&&(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.Xe(t),e.le&&n===I.Ye.qe||n===I.Ye.We)&&e.le.Xe(t)}function i(t,n){t=parseInt(t,10),isNaN(t)||(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.Qe(t),!e.le)||n!==I.Ye.qe&&n!==I.Ye.We||e.le.Qe(t)}function o(t,n){t=parseInt(t,10),isNaN(t)||(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.Ze(t),!e.le)||n!==I.Ye.qe&&n!==I.Ye.We||e.le.Ze(t)}function a(t,n){t=parseInt(t,10),!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.ze(!0,t),!e.le||n!==I.Ye.qe&&n!==I.Ye.We||e.le.ze(!0,t)}function s(t){!e.ae||t!==I.Ye.xe&&t!==I.Ye.We||e.ae.ze(!1,-1),!e.le||t!==I.Ye.qe&&t!==I.Ye.We||e.le.ze(!1,-1)}function u(t,n){t=parseInt(t,10),isNaN(t)||(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.$e(t),!e.le)||n!==I.Ye.qe&&n!==I.Ye.We||e.le.$e(t)}function c(t,n){t=parseInt(t,10),isNaN(t)||(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.ts(t),!e.le)||n!==I.Ye.qe&&n!==I.Ye.We||e.le.ts(t)}function l(t,n){t=parseInt(t,10),isNaN(t)||(!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.ns(t),!e.le)||n!==I.Ye.qe&&n!==I.Ye.We||e.le.ns(t)}function _(t,n){var r;Z.Pt(t)&&(r=e.le.hi(),Z.Pt(r)&&"off"!==r&&"off"!==t&&f("off",n),!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.es(t),!e.le||n!==I.Ye.qe&&n!==I.Ye.We||e.le.es(t))}function f(t,n){var r;Z.Pt(t)&&(r=e.le.ri(),Z.Pt(r)&&"off"!==r&&"off"!==t&&_("off",n),!e.ae||n!==I.Ye.xe&&n!==I.Ye.We||e.ae.ss(t),!e.le||n!==I.Ye.qe&&n!==I.Ye.We||e.le.ss(t))}(function(){}).apply(this,arguments),this.Oe=function(h,p,g,v){switch(h){case d.Playback.BITRATE:v===I.Ye.xe?u(p,I.Ye.xe):u(p,t());break;case d.Playback.AVG_BITRATE:v===I.Ye.xe?c(p,I.Ye.xe):c(p,t());break;case d.Playback.PLAY_HEAD_TIME:v===I.Ye.xe?i(p,I.Ye.xe):i(p,t());break;case d.Playback.RESOLUTION:v===I.Ye.xe?n(p,g,I.Ye.xe):n(p,g,t());break;case d.Playback.BUFFER_LENGTH:v===I.Ye.xe?o(p,I.Ye.xe):o(p,t());break;case d.Playback.PLAYER_STATE:v===I.Ye.xe?r(p,I.Ye.xe):r(p,t());break;case d.Playback.RENDERED_FRAMERATE:v===I.Ye.xe?l(p,I.Ye.xe):l(p,t());break;case d.Playback.SEEK_STARTED:arguments.length>=2&&"CONVIVA"!==p?a(p,t()):g===I.Ye.xe?a(-1,I.Ye.xe):a(-1,t());break;case d.Playback.SEEK_ENDED:g===I.Ye.xe?s(I.Ye.xe):s(t());break;case d.Playback.CDN_IP:$=p,T=t(),Z.Pt($)&&(!e.ae||T!==I.Ye.xe&&T!==I.Ye.We||e.ae.os($),!e.le||T!==I.Ye.qe&&T!==I.Ye.We||e.le.os($));break;case d.Playback.DROPPED_FRAMES_TOTAL:T=p,$=t(),T=parseInt(T,10),isNaN(T)||(!e.ae||$!==I.Ye.xe&&$!==I.Ye.We||e.ae.rs(T),!e.le)||$!==I.Ye.qe&&$!==I.Ye.We||e.le.rs(T);break;case d.Playback.DROPPED_FRAMES_COUNT:var m=p,y=t();m=parseInt(m,10),isNaN(m)||(!e.ae||y!==I.Ye.xe&&y!==I.Ye.We||e.ae.us(m),!e.le)||y!==I.Ye.qe&&y!==I.Ye.We||e.le.us(m);break;case d.Playback.AUDIO_LANGUAGE:y=p,m=t(),Z.Pt(y)&&(!e.ae||m!==I.Ye.xe&&m!==I.Ye.We||e.ae.hs(y),!e.le||m!==I.Ye.qe&&m!==I.Ye.We||e.le.hs(y));break;case d.Playback.SUBTITLES_LANGUAGE:_(p,t());break;case d.Playback.CLOSED_CAPTIONS_LANGUAGE:f(p,t());break;default:b=h,S=p,E=t(),Z.Pt(b)&&S&&(!e.ae||E!==I.Ye.xe&&E!==I.Ye.We||e.ae.Zt(b,S),!e.le||E!==I.Ye.qe&&E!==I.Ye.We||e.le.Zt(b,S))}var b,S,E,$,T}},le.AnalyticsImpl.Ye={xe:1,qe:2,We:3},w=le.AppAnalyticsHandler=function(){var e=this;e.Ee=null,e.fs=null,e.cs=null,e.ls=null,e.wt=null,function(t,n){e.Ee=t,e.fs=n,"undefined"!=typeof document&&document&&(e.cs=document.createEvent("HTMLEvents"),e.cs.initEvent(d.APP_TRACKER_EVENT.TYPE,!0,!0))}.apply(this,arguments),this.Ge=function(){e.ds(d.APP_TRACKER_EVENT.INIT)},this.vs=function(){e.ds(d.APP_TRACKER_EVENT.VIDEO_ATTEMPT)},this.Es=function(){e.ds(d.APP_TRACKER_EVENT.VIDEO_END),e.wt=null},this._s=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_PLAY,t)},this.Rs=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_PAUSE,t)},this.ps=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_ERROR,t)},this.As=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_BUFFERING,t)},this.Ts=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_BITRATE_SWITCH,t)},this.Ss=function(t){e.ds(d.APP_TRACKER_EVENT.VIDEO_METADATA_CHANGE,t)},this.Os=function(t){t={cen:t.name,ced:t.data},e.ds(d.APP_TRACKER_EVENT.VIDEO_CUSTOM_EVENT,t)},this.Ns=function(t){t={cen:t.name,ced:t.data},e.ds(d.APP_TRACKER_EVENT.SDK_CUSTOM_EVENT,t)},this.gs=function(t){e.ds(d.APP_TRACKER_EVENT.AD_BREAK_START,{cen:"PodStart",ced:t})},this.Is=function(){e.ds(d.APP_TRACKER_EVENT.AD_BREAK_END,{cen:"PodEnd"})},this.ds=function(t,n){try{if(e.cs){if(e.ws(),e.cs.name=e.ls.name=t,e.cs.iid=e.ls.iid=e.Ee.getConfig().getIid(),e.cs.clid=e.ls.clid=e.Ee.getConfig().getClientId(),e.wt){var r=e.wt;if(r.Cs()?(e.cs.sid=e.ls.sid=r.ys.Xt(),e.cs.sst=e.ls.sst=r.Ds,e.cs.url=e.ls.url=r.On,e.cs.st=e.ls.st=r.Ps(),e.cs.an=e.ls.an=r._n,e.cs.pn=e.ls.pn=r.bs,e.cs.tags=e.ls.tags=JSON.stringify(r.Ct.Rn),e.cs.vid=e.ls.vid=r.Tn,r.Ls>=0&&(e.cs.cl=e.ls.cl=r.Ls),e.cs.lv=e.ls.lv=r.Ms,e.cs.fw=e.ls.fw=r.Us(),e.cs.fwv=e.ls.fwv=r.Vs(),e.cs.mn=e.ls.mn=r.Vn,e.cs.mv=e.ls.mv=r.kn,r.yn>=0&&(e.cs.br=e.ls.br=r.yn)):r.ks()&&(e.cs.sid=e.ls.sid=r.ys.Xt(),e.cs.sst=e.ls.sst=r.Ds,e.cs.st=e.ls.st=r.Ps(),e.cs.mn=e.ls.mn=r.Vn,e.cs.mv=e.ls.mv=r.kn),n)for(var i=Object.keys(n),o=0;o<i.length;o++)"object"==typeof n[i[o]]?e.cs[i[o]]=e.ls[i[o]]=JSON.stringify(n[i[o]]):e.cs[i[o]]=e.ls[i[o]]=n[i[o]]}"undefined"!=typeof document&&document&&document.dispatchEvent(e.cs)}}catch(t){}},this.ws=function(){if(null!==e.ls)for(var t=Object.keys(e.ls),n=0;n<t.length;n++)delete e.cs[t[n]];e.ls={}},this.Fs=function(t,n,r){try{((e.wt=r).Cs()||r.ks())&&(t===H.Bs?n[H.Hs][H.Gs]?n[H.Hs][H.Gs]===H.js?e._s(n):n[H.Hs][H.Gs]===H.Ks?e.As(n):n[H.Hs][H.Gs]===H.Ws&&e.Rs(n):n[H.Hs][H.Ys]?e.Ts(n):e.Ss(n):t===H.xs?e.ps({err:n[H.qs],ft:n[H.Js]}):t===H.Xs?e.Es():t===d.APP_TRACKER_EVENT.VIDEO_ATTEMPT?e.vs():t===H.Qs&&(n[H.Zs]===d.Events.POD_START?e.gs(n[H.zs]):n[H.Zs]===d.Events.POD_END?e.Is(n[H.zs]):e.wt.Cs()?e.Os({name:n[H.Zs],data:n[H.zs]}):e.Ns({name:n[H.Zs],data:n[H.zs]})))}catch(t){}}},M=le.PlayerMonitor=function(){var e=this;this.$s=null,this.no=null,this.Ct=null,this.io=null,this.Pn=p.PlayerState.UNKNOWN,this.eo=-1,this.so=-1,this.Gn=[],this.oo=null,this.ro=null,this.uo=-2,this.ho=-2,this.Ln=-1,this.V=p.DEFAULT_SIGNAL_STRENGTH,this.ao=null,this.gi=null,this.U=null,this.M=null,this._e=null,this.fo=null,this.co=null,this.lo=null,this.do=null,this.we=null,this.Re=null,this.jn=null,this.Kn=null,this.Wn=null,function(t){e._e=t}.apply(this,arguments),this.vo=function(){return e.Pn},this.Xe=function(t){e.Pn!==t&&(e.Le(),e.Pn=t,e.Eo())},this._o=function(){return e.Ro},this.po=function(){return e.Ao},this.ze=function(t,n){e.Le(),e.Ro=t,e.Ao=n,e.To()},this.So=function(){return e.eo},this.Qe=function(t){e.eo=t},this.Oo=function(){return e.so},this.Ze=function(t){e.so=t},this.ve=function(){return e.uo},this.$e=function(t){e.uo!==t&&(e.uo=t,e.Eo())},this.No=function(){return e.ho},this.ts=function(t){e.ho!==t&&(e.ho=t,e.Eo())},this.Io=function(){return e.Ln},this.ns=function(t){e.Ln=t},this.wo=function(){return e.ao},this.os=function(t){e.ao=t,e.Eo()},this.Ni=function(){return e.gi},this.rs=function(t){e.gi=t,e.Eo()},this.us=function(t){e.Co(t)},this.yo=function(){return e.V},this.si=function(){return e.jn},this.ri=function(){return e.Kn},this.hi=function(){return e.Wn},this.hs=function(t){e.jn!==t&&(e.jn=t,e.Eo())},this.es=function(t){e.Kn!==t&&(e.Kn=t,e.Eo())},this.ss=function(t){e.Wn!==t&&(e.Wn=t,e.Eo())},this.mo=function(){return e.Do},this.Po=function(){return e.bo},this.Je=function(t,n){n<0&&(n=0),e.Do===(t=t<0?0:t)&&e.bo===n||(e.Do=t,e.bo=n,e.Eo())},this.Lo=function(){return e.no},this.Mo=function(){e.Lo()&&(e.Ct=new h,e.io={},e.co={},e.Uo())},this.Vo=function(t){(e.no||t)&&(this.Le(),e.no&&(e.no=null,e.Mo()),t)&&(e.no=Z.ko(e.no,t),e.Mo())},this.Se=function(t){if(t)if(e.Ct){var n,r=!1;for(n in t)if(e.Ct[n]!==t[n]){r=!0;break}r&&(e.Le(),e.no=Z.ko(t),e.Uo())}else e.Vo(t)},this.Ne=function(t){t?e.lo!==t&&(e.lo=t,e.Fo()):(e.lo=null,e.Be())},this.Le=function(){e.Bo||e.lo&&(e.Bo=!0,e.lo(),e.Bo=!1)},this.fe=function(){return e.$s},this.de=function(t,n){e.$s!==t&&(e.Le(),e.$s&&(e.Ho(),e.Be(),e.Ie()),e.$s=t,e.$s)&&e.Me(n)},this.Go=function(){return e.oo},this.jo=function(){return e.ro||null},this.Ko=function(){return e.Gn},this.Wo=function(){e.Gn=[]},this.di=function(t){this.Le(),e.Gn.push(t),e.Si()},this.ge=function(t,n){e.Le(),e.oo=t,e.ro=n,e.Yo()},this.xo=function(){e.Le()},this.Fo=function(){e.Be(),e.fo=e._e.create(e.xo,1e3,"PlayerMonitor.update")},this.Be=function(){e.fo&&(e.fo(),e.fo=null)},this.Ce=function(t,n,r){e.do=r,e.we=t,e.qo(),e.Re=n,e.we&&d.AdType.CLIENT_SIDE===e.we&&(e.Pn=d.PlayerState.UNKNOWN,e.Jo(e.we,n,r?r[d.POD_POSITION]:null))},this.ye=function(){e.we&&d.AdType.CLIENT_SIDE===e.we&&(e.Xo(),e.Pn=d.PlayerState.UNKNOWN),e.Qo(),e.we=null,e.Re=null},this.Zo=function(){return e.do},this.zo=function(){return e.we},this.getContentMetadata=function(){return this.Ct},this.Ie=function(){this.$s=null,this.no=null,this.Ct=null,this.io=null,this.Pn=p.PlayerState.UNKNOWN,this.eo=-1,this.so=-1,this.Gn=[],this.oo=null,this.ro=null,this.uo=-2,this.ho=-2,this.Ln=-1,this.V=p.DEFAULT_SIGNAL_STRENGTH,this.ao=null,this.gi=null,this.U=null,this.M=null,this._e=null,this.fo=null,this.co=null,this.lo=null,this.do=null,this.we=null,this.Re=null,this.jn=null,this.Kn=null,this.Wn=null,e.Ue=null,e.Fe=_.NO_SESSION_KEY}},k=le.PlayerMonitorImpl=function(){var e=this;e.De=null,e.Ue=null,e.Fe=_.NO_SESSION_KEY,function(t,n){M.call(this,n),e.De=t}.apply(this,arguments),this.getPHT=function(){return e.So()},this.getBufferLength=function(){return e.Oo()},this.getRenderedFrameRate=function(){return e.Io()},this.getSignalStrength=function(){return e.yo()},this.To=function(){e.Ue&&e._ContentSessionKey!==_.NO_SESSION_KEY&&(e._o()?e.Ue.setPlayerSeekStart(e.po()):e.Ue.setPlayerSeekEnd())},this.Eo=function(){e.Ue&&(e.Ue.setPlayerState(e.vo()),e.ve()>0&&e.Ue.setBitrateKbps(e.ve()),e.No()>0&&e.Ue.setAvgBitrateKbps(e.No()),e.mo()>0&&e.Ue.setVideoResolutionWidth(e.mo()),e.Po()>0&&e.Ue.setVideoResolutionHeight(e.Po()),e.wo()&&e.Ue.setCDNServerIP(e.wo()),Z.gt(e.Ni())&&e.Ue.setDroppedFramesTotal(e.Ni()),Z.Pt(e.si())&&e.Ue.setAudioLang(e.si()),Z.Pt(e.ri())&&e.Ue.setSubtitleLang(e.ri()),Z.Pt(e.hi()))&&e.Ue.setCcLang(e.hi())},this.Lt=function(){e.Fe!==_.NO_SESSION_KEY&&e.De&&e.De.updateContentMetadata(e.Fe,e.Ct)},this.Ve=function(){if(e.Ue){e.co&&Z.Ht(e.co)>0&&(e.co[d.MODULE_NAME]&&e.co[d.MODULE_VERSION]&&(t=e.co[d.MODULE_NAME],n=e.co[d.MODULE_VERSION],Z.Pt(t))&&Z.Pt(n)&&e.Ue.setModuleNameAndVersion(t,n),e.co[d.FRAMEWORK_NAME]&&(t=e.co[d.FRAMEWORK_NAME],Z.Pt(t))&&e.Ue.setPlayerType(t),e.co[d.FRAMEWORK_VERSION])&&(n=e.co[d.FRAMEWORK_VERSION],Z.Pt(n))&&e.Ue.setPlayerVersion(n);var t,n,r=e.Ko();e.Wo();for(var i=0;i<r.length;i++){var o=r[i];e.Ue.di(o)}}},this.Xo=function(){e.Ue&&e.Fe!==_.NO_SESSION_KEY&&(e.Eo(),this.$o())},this.Vt=function(){e.Ue&&e.Fe!==_.NO_SESSION_KEY&&(e.Eo(),e.De.kt(e.Fe))},this.$o=function(){e.De&&e.Fe!==d.NO_SESSION_KEY&&e.De.adEnd(e.Fe)},this.Jo=function(t,n,r){var i;e.Ue&&e.Fe!==d.NO_SESSION_KEY&&(i=null,d.AdType.CLIENT_SIDE===t?i=_.AdStream.SEPARATE:d.AdType.SERVER_SIDE===t&&(i=_.AdStream.CONTENT),e.tr(i,n,r))},this.Mt=function(){e.Ue&&e.Fe!==d.NO_SESSION_KEY&&e.De.Ut(e.Fe)},this.tr=function(t,n,r){e.De&&e.Fe!==d.NO_SESSION_KEY&&e.De.adStart(e.Fe,t,n,r)},this.Me=function(){if(e.De){e.Ue=e.De.getPlayerStateManager(!0),e.Ve(),e.Ue.setClientMeasureInterface(this);try{var t;e.Ct&&e.Ct.custom&&!e.Ct.custom[d.UTM_TRACKING_URL]&&(Array.prototype.filter||(Array.prototype.filter=function(e){if(null==this)throw new TypeError;var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var r,i=[],o=arguments.length>=2?arguments[1]:void 0,a=0;a<n;a++)a in t&&(r=t[a],e.call(o,r,a,t))&&i.push(r);return i}),""!==(t=Z.nr().split("?").join("").split("&").filter((function(e){return 2===e.split("=").length&&e.split("=")[0].toLowerCase().indexOf("utm_")>=0})).join("&")))&&(e.Ct.custom[d.UTM_TRACKING_URL]=t)}catch(t){e.p.error("PlayerMonitorImpl _createSession : "+t)}e.Fe=e.De.createSession(e.Ct,e.Ue,!0)}},this.Ho=function(){e.De&&(e.Ue&&(e.Ue.setPlayerState(d.PlayerState.STOPPED),e.Ue=null),e.Fe!==d.NO_SESSION_KEY)&&(e.De.cleanupSession(e.Fe),e.Fe=d.NO_SESSION_KEY)},this.Si=function(){if(e.De&&e.Fe!==_.NO_SESSION_KEY){var t=e.Ko();e.Wo();for(var n=0;n<t.length;n++){var r=t[n];e.De.reportError(e.Fe,r.ir(),r.er())}}},this.Yo=function(){e.Fe!==_.NO_SESSION_KEY&&e.De&&e.De.sendCustomEvent(e.Fe,e.Go(),e.jo())},this.Uo=function(){var t,n=e.Lo(),r=!1,i=!1;for(t in n){var o=n[t];if(Z.Pt(t)&&null!=o)switch(t){case d.STREAM_URL:i=!0,e.Ct.streamUrl=o;break;case d.ASSET_NAME:i=!0,e.Ct.assetName=o;break;case d.DEFAULT_RESOURCE:i=!0,e.Ct.defaultResource=o;break;case d.VIEWER_ID:i=!0,e.Ct.viewerId=o;break;case d.PLAYER_NAME:i=!0,e.Ct.applicationName=o;break;case d.DURATION:i=!0,e.Ct.duration=o;break;case d.IS_LIVE:i=!0,e.Ct.streamType=o;break;case d.ENCODED_FRAMERATE:i=!0,e.Ct.encodedFrameRate=o;break;case d.MODULE_NAME:case d.MODULE_VERSION:case d.FRAMEWORK_NAME:case d.FRAMEWORK_VERSION:r=!0,e.co[t]=o;break;default:i=!0,e.Ct.custom[t]=o}}r&&this.Ve(),i&&this.Lt()},this.qo=function(){this.sr(d.Events.POD_START)},this.Qo=function(){this.sr(d.Events.POD_END)},this.sr=function(t){var n,r,i;e.De&&e.Fe!==d.NO_SESSION_KEY&&(n={},(i=this.Zo())&&((r=i[d.POD_POSITION])&&(n[d.POD_POSITION]=r),(r=i[d.POD_INDEX])&&(n[d.POD_INDEX]=r+""),t===d.Events.POD_START)&&(r=i[d.POD_DURATION])&&(n[d.POD_DURATION]=r+""),(i=this.zo())&&(n[d.AD_TYPE]=i),e.De.sendCustomEvent(e.Fe,t,n))},this.Co=function(t){e.Ue.setDroppedFramesCount(t)},this.rr=function(e){this.Fe===d.NO_SESSION_KEY&&e!==d.NO_SESSION_KEY&&(this.Fe=e)},this.ke=function(){return this.Fe},this.Xt=function(){return e.De.getSessionId(this.Fe)},this.Qt=function(){return e.De.getClientId(this.Fe)},this.Zt=function(t,n){e.De.Zt(this.Fe,t,n)},k.prototype=Object.create(M.prototype),k.prototype.constructor=k},e.Impl=e.Impl||{},e.Impl.Html5Http=function(){(function(){}).apply(this,arguments),this.makeRequest=function(){return this.makeRequestStandard.apply(this,arguments)},this.makeRequestStandard=function(e,t,n,r,i,o){var a=new XMLHttpRequest;return a.open(e,t,!0),r&&a.overrideMimeType&&(a.overrideMimeType=r),r&&a.setRequestHeader&&a.setRequestHeader("Content-Type",r),i>0&&(a.timeout=i,a.ontimeout=function(){a.ontimeout=a.onreadystatechange=null,o&&o(!1,"timeout after "+i+" ms")}),a.onreadystatechange=function(){4===a.readyState&&(a.ontimeout=a.onreadystatechange=null,200===a.status?o&&o(!0,a.responseText):o&&o(!1,"http status "+a.status))},a.send(n),null},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Logging=function(){(function(){}).apply(this,arguments),this.consoleLog=function(e,t){void 0!==s&&(s.log&&t===T.LogLevel.DEBUG||t===T.LogLevel.INFO?s.log(e):s.warn&&t===T.LogLevel.WARNING?s.warn(e):s.error&&t===T.LogLevel.ERROR&&s.error(e))},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Metadata=function(){(function(){}).apply(this,arguments),this.getBrowserName=function(){return null},this.getBrowserVersion=function(){return null},this.getDeviceBrand=function(){return null},this.getDeviceManufacturer=function(){return null},this.getDeviceModel=function(){return null},this.getDeviceType=function(){return null},this.getDeviceVersion=function(){return null},this.getFrameworkName=function(){return null},this.getFrameworkVersion=function(){return null},this.getOperatingSystemName=function(){return null},this.getOperatingSystemVersion=function(){return null},this.getDeviceCategory=function(){return null},this.getScreenWidth=function(){return"undefined"!=typeof window&&window&&window.screen&&window.screen.width?window.screen.width.toString():null},this.getScreenHeight=function(){return"undefined"!=typeof window&&window&&window.screen&&window.screen.height?window.screen.height.toString():null},this.getScaleFactor=function(){return"undefined"!=typeof window&&window&&window.devicePixelRatio?window.devicePixelRatio.toString():null},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Storage=function(){(function(){}).apply(this,arguments),this.saveData=function(e,t,n,r){e=e+"."+t;try{localStorage.setItem(e,n),r(!0,null)}catch(e){r(!1,e.toString())}},this.loadData=function(e,t,n){e=e+"."+t;try{n(!0,localStorage.getItem(e))}catch(e){n(!1,e.toString())}},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Time=function(){(function(){}).apply(this,arguments),this.getEpochTimeMs=function(){return(new Date).getTime()},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Timer=function(){(function(){}).apply(this,arguments),this.createTimer=function(e,t){var n=setInterval(e,t);return function(){-1!==n&&(clearInterval(n),n=-1)}},this.release=function(){}},O=le.VideoAnalytics=function(){var t=this;t.Ee=null,t.T=null,t._e=null,t.le=null,t.pe=null,this.release=function(){t.p,t.le&&t.le.fe()&&t.le.de(!1),void 0!==e.ProxyMonitor&&t.pe&&(e.ProxyMonitor.release(t.pe),t.pe=null),t.le&&(t.le.Ne(null),t.le.Ie(),t.le=null),t._e=null},function(e,n){t.Ee=e,t.T=n,t._e=n.buildTimer(d.version),t.le=new k(t.Ee,t._e),I.call(this)}.apply(this,arguments),this.reportPlaybackRequested=function(e){t.p,t.le&&(Z.Ht(e)>0&&t.setContentInfo(e),t.le.fe()||t.le.de(!0))},this.reportPlaybackEnded=function(){t.p,t.le&&t.le.fe()&&(t.le.de(!1),void 0!==e.ProxyMonitor&&t.pe&&(e.ProxyMonitor.release(t.pe),t.pe=null),t.le.Ne(null))},this.reportPlaybackFailed=function(e,n){t.le&&(Z.Ht(n)>0&&t.setContentInfo(n),t.le.fe()||t.le.de(!0),t.p,t.reportPlaybackError(e,_.ErrorSeverity.FATAL),t.reportPlaybackEnded())},this.setContentInfo=function(e){Z.Ht(e)<=0||t.le&&(t.p,t.le.Se(e))},this.setPlayerInfo=function(e){Z.Ht(e)<=0||t.le&&(t.p,t.le.Se(e))},this.reportPlaybackMetric=function(){0!==arguments.length&&(1===arguments.length?t.Oe(arguments[0]):2===arguments.length?t.Oe(arguments[0],arguments[1]):3===arguments.length?t.Oe(arguments[0],arguments[1],arguments[2]):4===arguments.length&&t.Oe(arguments[0],arguments[1],arguments[2],arguments[3]))},this.reportPlaybackError=function(e,n){t.le&&Z.Pt(e)&&(t.p,e=new ie(e,n),t.le.di(e))},this.reportPlaybackEvent=function(e,n){if(Z.Pt(e)&&t.le&&(t.p,t.le))switch(e){case d.Events.USER_WAIT_STARTED:case d.Events.BUMPER_VIDEO_STARTED:t.le.Mt();break;case d.Events.USER_WAIT_ENDED:case d.Events.BUMPER_VIDEO_ENDED:t.le.Vt();break;default:t.le.ge(e,n)}},this.setCallback=function(e){t.p,t.le&&t.le.Ne(e)},this.reportAdBreakStarted=function(e,n,r){t.le&&(t.p,t.le.Ce(e,n,r))},this.reportAdBreakEnded=function(){t.le&&(t.p,t.le.ye())},this.setPlayer=function(n,r){var i,o;void 0!==n&&(r&&(i=r[d.CONVIVA_MODULE],o=r[d.MEDIA_ELEMENT]),void 0!==i?e.ProxyMonitor=i.ProxyMonitor:"undefined"!=typeof ConvivaModule&&(e.ProxyMonitor=ConvivaModule.ProxyMonitor),void 0!==e.ProxyMonitor)&&(t.p,!n&&t.pe?(e.ProxyMonitor.release(t.pe),t.pe=null):n?(t.pe&&e.ProxyMonitor.release(t.pe),t.p,t.pe=void 0!==o?e.ProxyMonitor.initConvivaDropIn(n,o,t.T,this,e):e.ProxyMonitor.initConvivaDropIn(n,t.T,this,e)):void 0!==o&&(t.pe=e.ProxyMonitor.initConvivaDropIn(n,o,t.T,this,e)))},this.setAdAnalytics=function(e){e?t.getAdType()&&(t.getAdType()===d.AdType.SERVER_SIDE?t.ae=e.getAdPlayerMonitor():t.getAdType()===d.AdType.CLIENT_SIDE&&t.p):t.ae=null},this.configureExistingSession=function(e){e!==d.NO_SESSION_KEY&&t.le&&(t.p,t.le.rr(e))},this.getSessionId=function(){return t.le?(t.p,t.le.Xt()):d.NO_SESSION_KEY},this.getClientId=function(){return t.le?(t.p,t.le.Qt()):null},this.Te=function(){return t.p,this.le},this.getAdType=function(){return t.le?t.le.we:null},this.me=function(){return t.le?t.le.Re:null},O.prototype=Object.create(I.prototype),O.prototype.constructor=O},le.JsonParse=(i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(e){throw{name:"SyntaxError",message:e,at:t,text:r}},a=function(e){return e&&e!==n&&o("Expected '"+e+"' instead of '"+n+"'"),n=r.charAt(t),t+=1,n},u=function(){var e,t,r,s="";if('"'===n)for(;a();){if('"'===n)return a(),s;if("\\"===n)if(a(),"u"===n){for(t=r=0;t<4&&(e=parseInt(a(),16),isFinite(e));t+=1)r=16*r+e;s+=String.fromCharCode(r)}else{if("string"!=typeof i[n])break;s+=i[n]}else s+=n}o("Bad string")},c=function(){for(;n&&n<=" ";)a()},l=function(){switch(c(),n){case"{":var e,t={};if("{"===n){if(a("{"),c(),"}"===n)return a("}"),t;for(;n;){if(e=u(),c(),a(":"),Object.hasOwnProperty.call(t,e)&&o('Duplicate key "'+e+'"'),t[e]=l(),c(),"}"===n)return a("}"),t;a(","),c()}}return void o("Bad object");case"[":var r=[];if("["===n){if(a("["),c(),"]"===n)return a("]"),r;for(;n;){if(r.push(l()),c(),"]"===n)return a("]"),r;a(","),c()}}return void o("Bad array");case'"':return u();case"-":return de();default:return(n>="0"&&n<="9"?de:function(){switch(n){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}o("Unexpected '"+n+"'")})()}},function(e,i){return r=e,t=0,n=" ",e=l(),c(),n&&o("Syntax error"),"function"==typeof i?function e(t,n){var r,o,a=t[n];if(a&&"object"==typeof a)for(r in a)Object.hasOwnProperty.call(a,r)&&(void 0!==(o=e(a,r))?a[r]=o:delete a[r]);return i.call(t,n,a)}({"":e},""):e}),U=le.JSON2={},"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+_e(this.getUTCMonth()+1)+"-"+_e(this.getUTCDate())+"T"+_e(this.getUTCHours())+":"+_e(this.getUTCMinutes())+":"+_e(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),"function"!=typeof U.stringify&&(R=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,x={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},U.stringify=function(e,t,n){var r;if(L=D="","number"==typeof n)for(r=0;r<n;r+=1)L+=" ";else"string"==typeof n&&(L=n);if(!(N=t)||"function"==typeof t||"object"==typeof t&&"number"==typeof t.length)return function e(t,n){var r,i,o,a,s,u=D,c=n[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t)),typeof(c="function"==typeof N?N.call(n,t,c):c)){case"string":return fe(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(D+=L,s=[],Object.prototype.toString.apply(c)===Object.prototype.toString.apply([])){for(a=c.length,r=0;r<a;r+=1)s[r]=e(r,c)||"null";o=0===s.length?"[]":D?"[\n"+D+s.join(",\n"+D)+"\n"+u+"]":"["+s.join(",")+"]"}else{if(N&&"object"==typeof N)for(a=N.length,r=0;r<a;r+=1)"string"==typeof N[r]&&(o=e(i=N[r],c))&&s.push(fe(i)+(D?": ":":")+o);else for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(o=e(i,c))&&s.push(fe(i)+(D?": ":":")+o);o=0===s.length?"{}":D?"{\n"+D+s.join(",\n"+D)+"\n"+u+"}":"{"+s.join(",")+"}"}return D=u,o}}("",{"":e});throw new Error("JSON2.stringify")}),j=le.ur={hr:"0123456789abcdef",ar:function(e){for(var t="",n=7;n>=0;n--)t+=j.hr.charAt(e>>4*n&15);return t},cr:function(e){for(var t=1+(e.length+8>>6),n=new Array(16*t),r=0;r<16*t;r++)n[r]=0;for(r=0;r<e.length;r++)n[r>>2]|=e.charCodeAt(r)<<24-r%4*8;return n[r>>2]|=128<<24-r%4*8,n[16*t-1]=8*e.length,n},lr:function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n},dr:function(e,t){return e<<t|e>>>32-t},vr:function(e,t,n,r){return e<20?t&n|~t&r:!(e<40)&&e<60?t&n|t&r|n&r:t^n^r},Er:function(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514},_r:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return j.Rr(t)},Rr:function(e){if(""===e)return"";for(var t,n=j.cr(e),r=new Array(80),i=1732584193,o=-271733879,a=-1732584194,s=271733878,u=-1009589776,c=0;c<n.length;c+=16){for(var l=i,d=o,_=a,f=s,h=u,p=0;p<80;p++)r[p]=p<16?n[c+p]:j.dr(r[p-3]^r[p-8]^r[p-14]^r[p-16],1),t=j.lr(j.lr(j.dr(i,5),j.vr(p,o,a,s)),j.lr(j.lr(u,r[p]),j.Er(p))),u=s,s=a,a=j.dr(o,30),o=i,i=t;i=j.lr(i,l),o=j.lr(o,d),a=j.lr(a,_),s=j.lr(s,f),u=j.lr(u,h)}return j.ar(i)+j.ar(o)+j.ar(a)+j.ar(s)+j.ar(u)}},(H=le.CwsProtocol=function(){this.pr=function(e,t,n,r){return r.seq=e,r.st=t,r.t=n,r},this.Ar=function(e,t){var n=H.Xs;return this.pr(e,t,n,{})}}).version="2.6",H.Tr="/0/wsg",H.H="0",H.Sr=-1,H.Or=!1,H.Nr=2,H.gr=-1,H.Ir=-1,H.wr=1e3,H.Cr="sdk.js.1",H.Bs="CwsStateChangeEvent",H.xs="CwsErrorEvent",H.Xs="CwsSessionEndEvent",H.Qs="CwsCustomEvent",H.yr="CwsSeekEvent",H.mr="CwsDataSamplesEvent",H.Dr="ok",H.Pr="err",H.Lr="clid",H.Mr="cfg",H.Ur="evs",H.Vr="maxhbinfos",H.kr="slg",H.Fr="hbi",H.Br="gw",H.Hr="fp",H.Gr="csi_en",H.jr="CwsSessionHb",H.Kr="t",H.Wr="st",H.Yr="sst",H.qr="lv",H.Jr="seq",H.Xr="cid",H.Qr="clid",H.Zr="clv",H.zr="pver",H.$r="iid",H.tu="sid",H.nu="vid",H.iu="an",H.eu="pn",H.su="tags",H.ou="sf",H.ru="evs",H.uu="lg",H.hu="hbinfos",H.au="sdk",H.fu="pj",H.Gs="ps",H.Ys="br",H.cu="avgbr",H.lu="cl",H.du="efps",H.vu="afps",H.Eu="rfpstot",H._u="rfpscnt",H.Ru="rs",H.pu="pht",H.Au="bl",H.Tu="url",H.Su="caps",H.Ou="pm",H.Nu="w",H.gu="h",H.Iu="ct",H.wu="le",H.Cu="dftot",H.yu="dfcnt",H.mu="al",H.Du="sl",H.Pu="cal",H.bu="ss",H.Lu="csi_n",H.Mu="csi_t",H.Uu="csi_l",H.Vu="csi_v",H.ku="csi_c",H.Fu="sch",H.Bu="br",H.Hu="brv",H.Gu="dvb",H.ju="dvma",H.Ku="dvm",H.Wu="dvt",H.Yu="dvv",H.xu="sw",H.qu="sh",H.Ju="scf",H.Xu="fw",H.Qu="fwv",H.Zu="cc",H.zu="mn",H.$u="mv",H.th="os",H.nh="osv",H.ih="cat",H.eh="caps",H.sh="t",H.oh="seq",H.rh="st",H.uh="act",H.hh="skto",H.qs="err",H.Js="ft",H.Hs="new",H.ah="old",H.Zs="name",H.zs="attr",H.fh="seq",H.lh="err",H.dh="rtt",H.Eh="ad",H._h="csi",H.Rh=function(e){switch(e){case p.PlayerState.STOPPED:return H.ph;case p.PlayerState.PLAYING:return H.js;case p.PlayerState.BUFFERING:return H.Ks;case p.PlayerState.PAUSED:return H.Ws;case p.PlayerState.NOT_MONITORED:return H.Ah;default:return H.Th}},H.ph=1,H.js=3,H.Ks=6,H.Ws=12,H.Ah=98,H.Th=100,H.Sh={Oh:0,Ot:1,Nh:2,gh:4},H.Ih={wh:0},V=le.LibJSONInterface=function(){this.Ch=function(e){var t=null;try{t=U.stringify(e)}catch(e){}return t},this.yh=function(e){var t=null;try{t=le.JsonParse(e)}catch(e){return t}return Z.mh(t)?t:null}},W=le.CwsHeartbeat=function(){this.Dh={},function(){}.apply(this,arguments),this.get=function(){return this.Dh},this.Ph=function(e,t){this.Dh[e]=t},this.bh=function(e,t,n){this.Dh[e]||(this.Dh[e]={}),this.Dh[e][t]=n},this.Lh=function(e){this.Ph(H.Kr,e)},this.Mh=function(e){this.Ph(H.Wr,e)},this.Uh=function(e){this.Ph(H.Yr,e)},this.Vh=function(e){this.Ph(H.qr,e)},this.kh=function(e){this.Ph(H.Jr,e)},this.Fh=function(e){this.Ph(H.Xr,e)},this.Bh=function(e){this.Ph(H.Qr,e)},this.Hh=function(e){this.Ph(H.Zr,e)},this.Gh=function(e){this.Ph(H.zr,e)},this.jh=function(e){this.Ph(H.eh,e)},this.Kh=function(e){this.Ph(H.tu,e)},this.Wh=function(e){this.Ph(H.$r,e)},this.Yh=function(e){this.Ph(H.nu,e)},this.xh=function(e){this.Ph(H.iu,e)},this.qh=function(e){this.Ph(H.eu,e)},this.Jh=function(e){this.Ph(H.su,e)},this.Xh=function(e){this.Ph(H.ou,e)},this.Qh=function(e){this.Ph(H.Su,e)},this.Zh=function(e){this.Ph(H.ru,e)},this.zh=function(e){this.Ph(H.au,e)},this.$h=function(e){this.Ph(H.uu,e)},this.ta=function(e){this.Ph(H.hu,e)},this.Xe=function(e){this.Ph(H.Gs,e)},this.na=function(e){this.Ph(H.fu,e)},this.ia=function(e){this.Ph(H.lu,e)},this.ea=function(e){this.Ph(H.Ys,e)},this.sa=function(e){this.Ph(H.cu,e)},this.oa=function(e){this.Ph(H.Ru,e)},this.ra=function(e){this.Ph(H.du,e)},this.ua=function(e){this.Ph(H.vu,e)},this.ha=function(e){this.Ph(H._u,e)},this.aa=function(e){this.Ph(H.Eu,e)},this.fa=function(e){this.bh(H.Ou,H.Fu,e)},this.ca=function(e){this.bh(H.Ou,H.Bu,e)},this.la=function(e){this.bh(H.Ou,H.Hu,e)},this.da=function(e){this.bh(H.Ou,H.Gu,e)},this.va=function(e){this.bh(H.Ou,H.ju,e)},this.Ea=function(e){this.bh(H.Ou,H.Ku,e)},this._a=function(e){this.bh(H.Ou,H.Wu,e)},this.Ra=function(e){this.bh(H.Ou,H.Yu,e)},this.pa=function(e){this.bh(H.Ou,H.Xu,e),this.Ph(H.Xu,e)},this.Aa=function(e){this.bh(H.Ou,H.Qu,e),this.Ph(H.Qu,e)},this.Ta=function(e){this.bh(H.Ou,H.th,e.toUpperCase())},this.Sa=function(e){this.bh(H.Ou,H.nh,e)},this.Oa=function(e){this.bh(H.Ou,H.ih,e)},this.Na=function(e){this.bh(H.Ou,H.xu,e)},this.ga=function(e){this.bh(H.Ou,H.qu,e)},this.Ia=function(e){this.bh(H.Ou,H.Ju,e)},this.wa=function(e){this.Ph(H.Cu,e)},this.Co=function(e){this.Ph(H.yu,e)},this.Ca=function(e){this.Ph(H.pu,e)},this.ya=function(e){this.Ph(H.Au,e)},this.ma=function(e){this.Ph(H.Tu,e)},this.Da=function(e){this.Ph(H.Nu,e)},this.Pa=function(e){this.Ph(H.gu,e)},this.ba=function(e){this.Ph(H.Iu,e)},this.La=function(e){this.Ph(H.wu,e)},this.Ma=function(){this.Ph(H.Eh,!0)},this.Ua=function(e){this.Ph(H.bu,e)},this.setModuleName=function(e){this.bh(H.Zu,H.zu,e)},this.Va=function(e){this.bh(H.Zu,H.$u,e)},this.ka=function(e){this.Ph(H._h,e)},this.Fa=function(e){e&&this.Ph(H.Lu,e)},this.Ba=function(e){e&&this.Ph(H.Mu,e)},this.Ha=function(e){e&&this.Ph(H.Uu,e)},this.Ga=function(e){e&&this.Ph(H.Vu,e)},this.ja=function(e){e&&this.Ph(H.ku,e)},this.Ka=function(e){this.Ph(H.mu,e)},this.Wa=function(e){this.Ph(H.Du,e)},this.Ya=function(e){this.Ph(H.Pu,e)}},(q=le.CwsSession=function(){var e=this;e.qa=null,e.Ct=null,e.Ds=0,e.Ja=0,e.Xa=H.Sh.Oh,e.Qa=H.Ih.wh,e.Za=[],e.za=-1,e.yn=-2,e.Dn=-2,e.gi=-1,e.$a=-1,e.tf=null,e.Pn=p.PlayerState.UNKNOWN,e.wn=-1,e.Ls=-1,e.On=null,e.Fn=-1,e.Bn=-1,e.Ue=null,e._n=null,e.Tn=null,e.bs=null,e.Ms=null,e.nf={},e.if=null,e.ef=null,e.sf=null,e.rf=null,e.uf=null,e.hf=null,e.af=null,e.ff=null,e.cf=null,e.lf=null,e.df=null,e.vf=null,e.Ef=null,e._f=null,e.Rf=null,e.Vn=null,e.kn=null,e.M=null,e.U=null,e.ao=null,e.pf=null,e.Af=!1,e.Tf=!1,e.Sf=!1,e.Of=!1,e.Nf=null,e.gf=1e3,e.If=0,e.wf=0,e.Cf={},e.D={},e.yf=!1,e.mf=null,e.Df=null,e.Pf=null,e.bf=null,e.Lf=null,e.Mf=null,e.Uf=12e4,e.Vf=H.Or,e.kf=!1,e.Ff=null,e.ki=null,e.jn=null,e.Kn=null,e.Wn=null,function(t,n,r,i,o,a,s,u,c,l,d,_,f){this.Bf=t,this.Ee=n,this.Vi=r,this.p=i,this.p.setModuleName("CwsSession"),this.g=o,this._e=a,this.Hf=s,this.Gf=u,this.jf=c,this.Fi=l,this.Kf=d,this.Ct=_,this.Ct&&(e.wn=this.Ct.encodedFrameRate,e.On=this.Ct.streamUrl,e.Ls=this.Ct.duration),this.Kf&&(e.Ff=e.Kf.get(z.B)),e.ki=f}.apply(this,arguments),this.Tt=function(){this.Kf=null,this.Fi=null,this.N=null,this.jf=null,this.Gf=null,this.Hf=null,this._e=null,this.g=null,this.p=null,this.Vi=null,this.Ee=null,this.Bf.Wf(),this.Bf=null,this.pf=null,this.Sf=!0},this.Yf=function(t){this.ys=t,this.xf=this.ys.xf,this.p.Kh(this.ys.C),this.Ds=this.jf.current(),this.Cs()||this.qf()?(this.Xa+=q.xa,e.p.info("start(): assetName="+e.Ct.assetName)):e.p.info("start()"+e.Jf())},this.Xf=function(){this.Of=!0},this.Qf=function(){this.p.debug("initialize()"),(this.Cs()||this.qf()||this.ks())&&(this.Ee&&this.Ee._&&this.Ee._.Fs(d.APP_TRACKER_EVENT.VIDEO_ATTEMPT,{},this),e.Zf(),e.zf(),e.$f(),this.Cs()||this.qf())&&e.tc()},this.nc=function(){this.p.debug("end(): schedule the last hb before session cleanup"+e.Jf()),this.ic(),this.ec(),this.sc(),this.oc()},this.rc=function(){this.Of||(this.oc(),this.uc())},this.ca=function(t){var n=e.if;n!==t&&t&&(e.p.debug("Change browserName from "+n+" to "+t),e.if=t)},this.la=function(t){var n=e.ef;n!==t&&t&&(e.p.debug("Change browserVersion from "+n+" to "+t),e.ef=t)},this.da=function(t){var n=e.sf;n!==t&&t&&(e.p.debug("Change deviceBrand from "+n+" to "+t),e.sf=t)},this.va=function(t){var n=e.rf;n!==t&&t&&(e.p.debug("Change deviceManufacturer from "+n+" to "+t),e.rf=t)},this.Ea=function(t){var n=e.uf;n!==t&&t&&(e.p.debug("Change deviceModel from "+n+" to "+t),e.uf=t)},this._a=function(t){var n=e.hf;n!==t&&t&&(e.p.debug("Change deviceType from "+n+" to "+t),e.hf=t)},this.Ra=function(t){var n=e.af;n!==t&&t&&(e.p.debug("Change deviceVersion from "+n+" to "+t),e.af=t)},this.Ta=function(t){var n=e.lf;n!==t&&t&&(e.p.debug("Change operatingSystemName from "+n+" to "+t),e.lf=t)},this.Sa=function(t){var n=e.df;n!==t&&t&&(e.p.debug("Change operatingSystemVersion from "+n+" to "+t),e.df=t)},this.Oa=function(t){var n=e.vf;n!==t&&t&&(e.p.debug("Change deviceCategory from "+n+" to "+t),e.vf=t)},this.Na=function(t){var n=e.Ef;n!==t&&t&&(e.p.debug("Change screenWidth from "+n+" to "+t),e.Ef=t)},this.ga=function(t){var n=e._f;n!==t&&t&&(e.p.debug("Change screenHeight from "+n+" to "+t),e._f=t)},this.Ia=function(t){var n=e.vf;n!==t&&t&&(e.p.debug("Change scaleFactor from "+n+" to "+t),e.Rf=t)},this.Us=function(){return e.ff},this.pa=function(t){var n=e.ff;n!==t&&t&&(e.p.debug("Change frameworkName from "+n+" to "+t),e.ff=t)},this.Vs=function(){return e.cf},this.Aa=function(t){var n=e.cf;n!==t&&t&&(e.p.debug("Change frameworkVersion from "+n+" to "+t),e.cf=t)},this.ma=function(t){var n;e.Ct.streamUrl||(n=e.On)!==t&&t&&(e.p.debug("Change stream url from "+n+" to "+t),e.On=t)},this.hc=function(){e.ec(),e.kf||(e.ac(),e.Mf=e._e.create(e.ac,e.Uf,"CwsSession.startCdnTimer"),e.p.debug("fetching cdn ip timer started"))},this.ec=function(){e.Mf&&(e.Mf(),e.fc(null,null,null,null,null),e.Mf=null)},this.ac=function(){e.p.debug("detectCDNServerIp(): For "+e.On),e.Vf?e.cc():e.ec()},this.cc=function(){try{var t;"function"==typeof XMLHttpRequest||"object"==typeof XMLHttpRequest?((t=new XMLHttpRequest).open("HEAD",e.On,!0),t.setRequestHeader("Pragma","akamai-x-cache-on"),t.onreadystatechange=function(){4===this.readyState&&(200===this.status&&(this.getAllResponseHeaders().indexOf("x-cache")>=0||this.getAllResponseHeaders().indexOf("X-Cache")>=0)?e.fc("Akamai","header","X-Cache",""+this.getResponseHeader("X-Cache"),""+this.status):e.fc("null","header","null","null",""+this.status))},t.send()):e.p.info("xmlhttpreq is not available here to fetch CDN Server Ip")}catch(t){e.p.info("Exception caught in makeAkamaiHeadRequest")}},this.fc=function(t,n,r,i,o){var a={},s={};e.mf!==t&&(null!==e.mf&&(s[H.Lu]=e.mf),e.mf=t,null===e.mf?a[H.Lu]="null":a[H.Lu]=e.mf),e.Df!==n&&(null!==e.Df&&(s[H.Mu]=e.Df),e.Df=n,null===e.Df?a[H.Mu]="null":a[H.Mu]=e.Df),e.Pf!==r&&(null!==e.Pf&&(s[H.Uu]=e.Pf),e.Pf=r,null===e.Pf?a[H.Uu]="null":a[H.Uu]=e.Pf),e.bf!==i&&(null!==e.bf&&(s[H.Vu]=e.bf),e.bf=i,null===e.bf?a[H.Vu]="null":a[H.Vu]=e.bf),e.Lf!==o&&(null!==e.Lf&&(s[H.ku]=e.Lf),e.Lf=o,null===e.Lf?a[H.ku]="null":a[H.ku]=e.Lf),"{}"!==JSON.stringify(a)&&e.lc(a,s)},this.dc=function(t){var n=e.yn;n!==t&&t>0&&(e.p.info("Change bitrate from "+n+" to "+t),e.vc(n,t),e.yn=t)},this.Ec=function(t){var n=e.Dn;n!==t&&t>0&&(e.p.info("Change Avg bitrate from "+n+" to "+t),e._c(n,t),e.Dn=t)},this.wa=function(t){var n=e.gi;n!==t&&t>=0&&(e.p.info("Change dropped frames total from "+n+" to "+t),e.Rc(n,t),e.gi=t)},this.Co=function(t){var n=e.$a,r=t+(-1===e.$a?0:e.$a);n!==t&&r>=0&&(e.p.info("Change dropped frames count from "+n+" to "+r),e.Ac(n,r),e.$a=r)},this.oa=function(t){var n=e.tf;n!==t&&t&&(e.p.info("Change resource from "+n+" to "+t),e.tf=t)},this.xh=function(t){e._n!==t&&t&&(e.p.info("Change assetName from "+e._n+" to "+t),e._n=t)},this.Vh=function(t){var n=e.Ms;n!==t&&Z.ie(t)&&(e.p.info("Change isLive from "+n+" to "+t),e.Ms=t)},this.Yh=function(t){var n=e.Tn;n!==t&&t&&(e.p.info("Change viewerId from "+n+" to "+t),e.Tn=t)},this.qh=function(t){var n=e.bs;n!==t&&t&&(e.p.info("Change playerName from "+n+" to "+t),e.bs=t)},this.Jh=function(t){var n=e.nf;!Z.Tc(n,t)&&t&&(e.p.info("Change tags from "+Z.Sc(n)+" to "+Z.Sc(t)),e.nf=t)},this.ra=function(t){e.Ct.encodedFrameRate>0||(e.p.debug("setEncodedFrameRate(): "+t),e.wn=t)},this.ia=function(t){e.Ct.duration>0||(e.p.debug("setContentLength(): "+t),e.Ls=t)},this.Xe=function(t){var n;e.Tf||t!==p.PlayerState.PLAYING||(e.Tf=!0,Z.Pt(e.Ct.viewerId)||e.p.error("Missing viewerId. viewerId should be updated before first frame is rendered."),Z.Pt(e.Ct.streamType)&&h.StreamType.UNKNOWN!==e.Ct.streamType||e.p.error("Missing streamType - Live or VOD. streamType should be updated before first frame is rendered."),Z.Pt(e.Ct.applicationName))||e.p.error("Missing applicationName. applicationName should be updated before first frame is rendered."),e.Pn!==t&&(n=e.Pn,e.p.info("setPlayerState(): changing player state from "+n+" to "+t),e.Oc(n,t),e.Pn=t)},this.Nc=function(t){var n=e.Fn;n!==t&&t>0&&(e.p.debug("Change stream resolution width from "+n+" to "+t),e.gc(n,t),e.Fn=t)},this.Ic=function(t){var n=e.Bn;n!==t&&t>0&&(e.p.debug("Change stream resolution height from "+n+" to "+t),e.wc(n,t),e.Bn=t)},this.ba=function(t){var n=e.M;n!==t&&t&&(e.p.debug("Change network connection type from "+n+" to "+t),e.Cc(n,t),e.M=t)},this.La=function(t){var n=e.U;n!==t&&t&&(e.p.debug("Change network link encryption from "+n+" to "+t),e.yc(n,t),e.U=t)},this.ka=function(t){e.kf=!0,e.ec();var n=e.ao;n!==t&&Z.Pt(t)&&(e.p.debug("Change CDN Server IP from "+n+" to "+t),e.mc(n,t),e.ao=t)},this.Ka=function(t){var n=e.jn;n!==t&&Z.Pt(t)&&!e.ys.Dc&&(e.p.info("Change Audio Lang from "+n+" to "+t),e.Pc(n,t),e.jn=t)},this.Wa=function(t){var n=e.Kn;n!==t&&Z.Pt(t)&&!e.ys.bc&&(e.p.info("Change Subtitle Lang from "+n+" to "+t),e.Lc(n,t),e.Kn=t)},this.Ya=function(t){var n=e.Wn;n!==t&&Z.Pt(t)&&!e.ys.Mc&&(e.p.info("Change Closed Caption Lang from "+n+" to "+t),e.Uc(n,t),e.Wn=t)},this.Vc=function(t){var n;e.p.debug("togglePauseJoin()"),e.Af===t?e.p.debug("togglePauseJoin(): same value, ignoring"):(t=e.Af,n=!e.Af,e.kc(t,n),e.Af=!e.Af)},this.Fc=function(t,n){e.Bc(t,n)},this.Hc=function(e,t){var n,r;t[H.sh]=e,t[H.rh]=this.Ps(),t[H.oh]=this.Bf.Gc(),this.Ue&&(n=re.jc(this.Ue.getPHT(),0,null,-1),r=re.jc(this.Ue.getBufferLength(),0,null,-1),n>=0&&(t[H.pu]=n),r>0)&&(t[H.Au]=r),this.Bf.Kc(t),this.Ee._&&this.Ee._.Fs(e,t,this)},this.Wc=function(t){e.Ue=t,e.Ue?e.Yc():e.xc()},this.ic=function(){var e=this.Gf.Ar(this.qc(),this.Ps());this.Ee._&&this.Ee._.Fs(H.Xs,{},this),this.Bf.Kc(e)},this.Bc=function(e,t){var n={};n[H.qs]=e,n[H.Js]=t,this.Hc(H.xs,n)},this.vc=function(e,t){var n={},r={};e>0&&(r[H.Ys]=e),n[H.Ys]=t,this.lc(n,r)},this._c=function(e,t){var n={},r={};e>0&&(r[H.cu]=e),n[H.cu]=t,this.lc(n,r)},this.Jc=function(e,t){var n={};n[H.uh]=e,t>=0&&(n[H.hh]=t),this.Hc(H.yr,n)},this.gc=function(e,t){var n={},r={};-1!==e&&(r[H.Nu]=e),n[H.Nu]=t,this.lc(n,r)},this.wc=function(e,t){var n={},r={};-1!==e&&(r[H.gu]=e),n[H.gu]=t,this.lc(n,r)},this.Cc=function(e,t){var n={},r={};null!==e&&(r[H.Iu]=e),n[H.Iu]=t,this.lc(n,r)},this.yc=function(e,t){var n={},r={};null!==e&&(r[H.wu]=e),n[H.wu]=t,this.lc(n,r)},this.mc=function(e,t){var n={},r={};Z.Pt(e)&&(r[H._h]=e),n[H._h]=t,this.lc(n,r)},this.Rc=function(e,t){var n={},r={};e>=0&&(r[H.Cu]=e),n[H.Cu]=t,this.lc(n,r)},this.Ac=function(e,t){var n={},r={};e>=0&&(r[H.yu]=e),n[H.yu]=t,this.lc(n,r)},this.Pc=function(e,t){var n={},r={};e!==t&&("string"==typeof e&&(r[H.mu]=e),n[H.mu]=t),this.lc(n,r)},this.Lc=function(e,t){var n={},r={};e!==t&&("string"==typeof e&&(r[H.Du]=e),n[H.Du]=t),this.lc(n,r)},this.Uc=function(e,t){var n={},r={};e!==t&&("string"==typeof e&&(r[H.Pu]=e),n[H.Pu]=t),this.lc(n,r)},this.kc=function(e,t){var n={},r={};r[H.fu]=e,n[H.fu]=t,this.lc(n,r)},this.Oc=function(e,t){var n={},r={};n[H.Gs]=H.Rh(t),r[H.Gs]=H.Rh(e),this.lc(n,r)},this.lc=function(e,t){var n={};n[H.Hs]=e,t&&Z.Ht(t)>0&&(n[H.ah]=t),this.Hc(H.Bs,n)},this.Xc=function(e,t){var n={};n[H.Zs]=e,Z.Ht(t)>0&&(n[H.zs]=t),this.Hc(H.Qs,n)},this.sc=function(){e.qa&&(e.qa(),e.qa=null)},this.uc=function(){e.sc();var t=1e3*e.Vi.heartbeatInterval;e.qa=e._e.create(e.oc,t,"Session.sendHeartbeat:"+this.xf)},this.xc=function(){e.Nf&&(e.Nf(),e.Nf=null)},this.Yc=function(){e.xc(),e.Nf=e._e.create(e.Qc,e.gf,"Session.startRfpsTimer")},this.Zc=function(){var t={err:"pending"};t.seq=e.Ja-1,t.sentAt=e.Ps(),t.rtt=-1,e.Za.push(t);for(var n=0;n<e.Za.length;n++)"ok"===(t=e.Za[n]).err&&(e.Za.splice(n,1),n--)},this.zc=function(t,n){for(var r=0;r<e.Za.length;r++){var i=e.Za[r];i.seq===t&&(i.rtt=e.Ps()-i.sentAt,i.err=n)}},this.$c=function(t){for(var n=0;n<e.Za.length;n++){var r=e.Za[n];r.seq===t&&(r.rtt=e.Ps()-r.sentAt,r.err="ok")}},this.tl=function(){for(var t,n,r=e.Kf.get(z.nl),i=[],o=-1,a=0;a<e.Za.length;a++)if("ok"===(n=e.Za[a]).err){o=n.seq;break}for(var s=0;s<e.Za.length;s++)((t=(n=e.Za[s]).seq)<e.Ja-r||t<o)&&i.push(s);for(var u=[],c=0;c<e.Za.length;c++)t=(n=e.Za[c]).seq,i.indexOf(c)<0&&u.push(e.Za[c]);e.Za=u},this.il=function(){e.tl();for(var t=[],n=0;n<e.Za.length;n++){var r=e.Za[n],i={};i[H.fh]=r.seq,i[H.dh]=r.rtt,i[H.lh]=r.err,t.push(i)}return t},this.el=function(){var t,n=-1,r=-1,i=e.Bf.Wf();if(e.ks()&&0===i.length)return null;var o=new W,a=(o.Lh(H.jr),o.Fh(e.Vi.customerKey),o.Bh(e.Kf.get(z.B)),o.Kh(e.ys.C),o.kh(e.Ja),o.Gh(H.version),d.version);if(e.ki&&(a=e.ki),o.Hh(a),o.Wh(e.Ee.C),o.jh(0),e.Ee.M?o.ba(e.Ee.M):e.M&&o.ba(e.M),e.Ee.U?o.La(e.Ee.U):e.U&&o.La(e.U),Z.Pt(e.ao)&&o.ka(e.ao),o.fa(H.Cr),e.if&&o.ca(e.if),e.ef&&o.la(e.ef),e.sf&&o.da(e.sf),e.rf&&o.va(e.rf),e.uf&&o.Ea(e.uf),e.hf&&o._a(e.hf),e.af&&o.Ra(e.af),e.lf&&o.Ta(e.lf),e.df&&o.Sa(e.df),e.vf&&o.Oa(e.vf),e.ff&&o.pa(e.ff),e.cf&&o.Aa(e.cf),e.Ef&&!isNaN(e.Ef)&&o.Na(parseInt(e.Ef,10)),e._f&&!isNaN(e._f)&&o.ga(parseInt(e._f,10)),e.Rf&&!isNaN(e.Rf)?o.Ia(parseFloat(e.Rf)):(e.Ef&&!isNaN(e.Ef)||e._f&&!isNaN(e._f))&&o.Ia(1),e.Ue&&(e.Vn=e.Ue.zn(),e.Vn&&o.setModuleName(e.Vn),e.kn=e.Ue.$n(),e.kn&&o.Va(e.kn),e.Ue.ti()&&(e.ff=e.Ue.ti(),o.pa(e.ff)),e.Ue.ii())&&(e.cf=e.Ue.ii(),o.Aa(e.cf)),e.Tn&&o.Yh(e.Tn),Z.Ht(e.nf)>0&&o.Jh(e.nf),e.Cs()||e.qf()){if(e.qf()&&o.Ma(),e._n&&o.xh(e._n),o.Xh(e.Xa),a=H.Rh(e.Pn),o.Xe(a),o.na(e.Af),e.bs&&o.qh(e.bs),Z.ie(e.Ms)&&o.Vh(e.Ms),e.Ls>0&&o.ia(e.Ls),e.yn>0&&o.ea(e.yn),e.Dn>0&&o.sa(e.Dn),null!==e.tf&&o.oa(e.tf),e.wn>0&&o.ra(e.wn),e.Ue&&(n=re.jc(e.Ue.getPHT(),0,null,-1),r=re.jc(e.Ue.getBufferLength(),0,null,-1)),Z.gt(e.Ee.V)?t=e.Ee.V:e.Ue&&(t=e.Ue.getSignalStrength()),n>=0&&o.Ca(n),r>0&&o.ya(r),(a=e.sl())>0&&o.ua(a),e.wf>0&&o.aa(re.jc(e.wf,0,null,-1)),e.If>0&&o.ha(re.jc(e.If,0,null,-1)),t!==p.DEFAULT_SIGNAL_STRENGTH&&o.Ua(t),e.On&&o.ma(e.On),e.Fn>0&&o.Da(e.Fn),e.Bn>0&&o.Pa(e.Bn),e.gi>-1&&o.wa(e.gi),e.$a>-1&&(o.Co(e.$a),e.$a>0)&&(e.Ac(e.$a,0),e.$a=0),e.jn&&o.Ka(e.jn),e.Kn&&o.Wa(e.Kn),e.Wn&&o.Ya(e.Wn),void 0!==e.pf)for(var s in e.pf)o.Ph(s,e.pf[s])}else o.Xh(H.Sh.Oh);return i.length>0&&o.Zh(i),o.Qh(e.Qa),o.zh(!0),e.Kf.get(z.ol)&&o.$h(e.Fi.Wf()),e.Kf.get(z.nl)>0&&(n=e.il()).length>0&&o.ta(n),0===e.Ja&&(o=e.rl(o)),(o=0!==e.Ja?e.ul(o):o).Uh(e.Ds),o.Mh(e.Ps()),e.Vf&&(o.Fa(e.mf),o.Ba(e.Df),o.Ha(e.Pf),o.Ga(e.bf),o.ja(e.Lf)),e.Ja++,o.get()},this.ul=function(t){var n,r=e.D,i={};for(n in t.Dh.tags)Object.prototype.hasOwnProperty.call(r,n)||(i[n]=t.Dh.tags[n]);t.Dh.tags=i,e.D={};for(var o=0;o<e.Cf.length;o++)Object.prototype.hasOwnProperty.call(e.Ee.D,e.Cf[o])?Object.prototype.hasOwnProperty.call(e.Ee.L,e.Cf[o])?e.Ee.L[e.Cf[o]]===z.$t.tn?(e.D[z.hl+""+e.Cf[o]]=z.$t.tn,e.Ee.P("End-user chose to opt-out of personal data collection")):e.Ee.L[e.Cf[o]]===z.$t.en?(e.D[z.hl+""+e.Cf[o]]=z.$t.en,e.Ee.P("End-user chose to opt-out of personal data collection")):e.Ee.L[e.Cf[o]]===z.$t.zt?(e.D[z.hl+""+e.Cf[o]]=z.$t.zt,e.Ee.P("End-user used privacy settings and chose to opt-out of personal data collection")):(e.D[z.hl+""+e.Cf[o]]=e.Ee.D[e.Cf[o]],e.Ee.P("Data collection successful")):(e.D[z.hl+""+e.Cf[o]]=e.Ee.D[e.Cf[o]],e.Ee.P("Data collection successful")):e.D[z.hl+""+e.Cf[o]]=z.$t.al;var a,s={};for(a in r){var u=a.split(".");"{}"!==JSON.stringify(e.Cf)&&-1!==e.Cf.indexOf(""+u[2])||r[z.hl+""+u[2]]===z.$t.fl||(e.Ee.P("Data collection restricted from Conviva back-end"),e.D[z.hl+""+u[2]]=z.$t.fl,s[z.hl+""+u[2]]=z.$t.fl)}if("{}"!==JSON.stringify(e.D)){var c,l=Z.ll(e.D);for(c in t.Dh.tags)l[c]=t.Dh.tags[c];if(t.Dh.tags=l,!Z.Tc(r,e.D)){var d={};if("{}"!==JSON.stringify(s)&&(d[H.su]=s),"{}"!==JSON.stringify(r)){for(var _ in r)e.D[_]&&r[_]!==e.D[_]&&(d[H.su]||(d[H.su]={}),d[H.su][_]=e.D[_]);for(var f in e.D)Object.prototype.hasOwnProperty.call(r,f)&&r[f]===e.D[f]||(d[H.su]||(d[H.su]={}),d[H.su][f]=e.D[f])}"{}"===JSON.stringify(r)&&(d[H.su]=e.D);var h,p,g={};g[H.Hs]=d,g[H.sh]=H.Bs,g[H.rh]=e.Ps(),g[H.oh]=e.Bf.Gc(),e.Ue&&(h=re.jc(e.Ue.getPHT(),0,null,-1),p=re.jc(e.Ue.getBufferLength(),0,null,-1),h>=0&&(g[H.pu]=h),p>0)&&(g[H.Au]=p),t.Dh.evs||(t.Dh.evs=[]),t.Dh.evs.push(g)}}return t},this.rl=function(t){var n=e.dl();if("{}"!==JSON.stringify(n)){var r,i=Z.ll(n);for(r in t.Dh.tags)i[r]=t.Dh.tags[r];t.Dh.tags=i;var o,a={};(a[H.su]=n,n={})[H.Hs]=a,n[H.sh]=H.Bs,n[H.rh]=e.Ps(),n[H.oh]=e.Bf.Gc(),e.Ue&&(a=re.jc(e.Ue.getPHT(),0,null,-1),o=re.jc(e.Ue.getBufferLength(),0,null,-1),a>=0&&(n[H.pu]=a),o>0)&&(n[H.Au]=o),t.Dh.evs||(t.Dh.evs=[]),t.Dh.evs.push(n)}return t},this.dl=function(){var t={};if("undefined"!=typeof navigator&&navigator){if(t["c3.fp.cookie"]=void 0!==navigator.cookieEnabled&&navigator.cookieEnabled?""+navigator.cookieEnabled:"",t["c3.fp.memory"]=void 0!==navigator.deviceMemory&&navigator.deviceMemory?""+navigator.deviceMemory:"",t["c3.fp.hwConc"]=void 0!==navigator.hardwareConcurrency&&navigator.hardwareConcurrency?""+navigator.hardwareConcurrency:"",t["c3.fp.java"]=""+("function"!=typeof navigator.javaEnabled)?"false":navigator.javaEnabled(),t["c3.fp.lang"]=void 0!==navigator.language&&navigator.language?""+navigator.language:"",t["c3.fp.langs"]=void 0!==navigator.languages&&navigator.languages&&navigator.languages.length>0?""+navigator.languages.toString():"",t["c3.fp.maxTp"]=void 0!==navigator.maxTouchPoints&&navigator.maxTouchPoints?""+navigator.maxTouchPoints:"",t["c3.fp.plugins"]="",void 0!==navigator.plugins&&navigator.plugins&&navigator.plugins.length>0)for(var n=0;n<navigator.plugins.length;n++)t["c3.fp.plugins"]+=navigator.plugins[n].name+",";if(t["c3.fp.mime"]="",void 0!==navigator.mimeTypes&&navigator.mimeTypes&&navigator.mimeTypes.length>0)for(var r=0;r<navigator.mimeTypes.length;r++)t["c3.fp.mime"]+=navigator.mimeTypes[r].type+",";t["c3.fp.sysLang"]=void 0!==navigator.systemLanguage&&navigator.systemLanguage?""+navigator.systemLanguage:"",t["c3.fp.platform"]=void 0!==navigator.platform&&navigator.platform?""+navigator.platform:"",t["c3.fp.product"]=void 0!==navigator.product&&navigator.product?""+navigator.product:"",t["c3.fp.productSub"]=void 0!==navigator.productSub&&navigator.productSub?""+navigator.productSub:"",t["c3.fp.vendor"]=void 0!==navigator.vendor&&navigator.vendor?""+navigator.vendor:"",t["c3.fp.vendorSub"]=void 0!==navigator.vendorSub&&navigator.vendorSub?""+navigator.vendorSub:"";var i=e.vl();""!==i&&(t["c3.fp.canvFp"]=i)}return"undefined"!=typeof window&&window&&(void 0!==window.screen&&window.screen&&(t["c3.fp.availHeight"]=void 0!==window.screen.availHeight&&window.screen.availHeight?""+window.screen.availHeight:"",t["c3.fp.availWidth"]=void 0!==window.screen.availWidth&&window.screen.availWidth?""+window.screen.availWidth:"",t["c3.fp.height"]=void 0!==window.screen.height&&window.screen.height?""+window.screen.height:"",t["c3.fp.width"]=void 0!==window.screen.width&&window.screen.width?""+window.screen.width:"",t["c3.fp.colorDepth"]=void 0!==window.screen.colorDepth&&window.screen.colorDepth?""+window.screen.colorDepth:"",t["c3.fp.deviceXDPI"]=void 0!==window.screen.deviceXDPI&&window.screen.deviceXDPI?""+window.screen.deviceXDPI:"",t["c3.fp.deviceYDPI"]=void 0!==window.screen.deviceYDPI&&window.screen.deviceYDPI?""+window.screen.deviceYDPI:""),t["c3.fp.dpi"]=void 0!==window.devicePixelRatio&&window.devicePixelRatio?""+window.devicePixelRatio:"",t["c3.fp.secure"]="boolean"==typeof window.isSecureContext?""+window.isSecureContext:""),t},this.vl=function(){try{if("undefined"!=typeof document&&document){var e,t,n=document.createElement("CANVAS");if(void 0!==n&&n&&"function"==typeof n.getContext)return e=n.getContext("2d"),t="conviva",e.textBaseline="top",e.font="14px Arial",e.textBaseline="alphabetic",e.fillStyle="#f40",e.fillRect(void 0!==navigator.plugins&&navigator.plugins?navigator.plugins.length:0,void 0!==navigator.mimeTypes&&navigator.mimeTypes?navigator.mimeTypes.length:0,void 0!==navigator.product&&navigator.product?navigator.product.length:0,void 0!==navigator.vendor&&navigator.vendor?navigator.vendor.length:0),e.fillStyle="#069",e.fillText(t,void 0!==navigator.maxTouchPoints&&navigator.maxTouchPoints>=0?navigator.maxTouchPoints:0,void 0!==navigator.product&&navigator.product?navigator.product.length:0),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(t,void 0!==navigator.deviceMemory&&navigator.deviceMemory?navigator.deviceMemory:0,void 0!==navigator.hardwareConcurrency&&navigator.hardwareConcurrency?navigator.hardwareConcurrency:0),j.Rr(n.toDataURL())}return""}catch(e){return""}},this.oc=function(){var t;e.Sf||(t=e.el())&&e.El(t)},this.Qc=function(){var t;e.Pn===p.PlayerState.PLAYING&&e.Ue&&(t=e.Ue.getRenderedFrameRate())>0&&(e.wf+=t,e.If++)},this.sl=function(){return e.wf>0&&e.If>0||(this.Qc(),e.wf>0&&e.If>0)?Z._l.Cast(+e.wf/e.If):p.DEFAULT_RENDERED_FRAME_RATE},this.El=function(t){e.Zc();var n=e.Ja-1;e.p.info("postHeartbeat(): Send HB["+n+"]"+e.Jf()),e.Hf.Rl(t,(function(t,r){e.pl(t,r,n)}))},this.pl=function(t,n,r){e.Sf||e.g.F("onHeartbeatResponse",(function(){var i,o;t?n?(e.p.debug("onHeartbeatResponse(): received valid response for HB["+r+"]"),e.$c(r),(i=n[H.Lr])&&i!==(o=e.Kf.get(z.B))&&(e.p.debug("onHeartbeatResponse(): setting the client id to "+i+" (from gateway)"),e.Kf.set(z.B,i),e.Kf.Al(),o===H.H)&&i!==H.H&&e.Ee.k(),(o=n[H.Pr])&&o!==H.Dr&&e.p.error("onHeartbeatResponse(): error from gateway: "+o),"object"==typeof(i=n[H.Mr])&&((o=i[H.Vr])>=0&&e.Kf.get(z.nl)!==o&&(e.p.debug("onHeartbeatResponse(): setting Maximum Heartbeat Infos to "+o+" (from gateway)"),e.Kf.set(z.nl,o)),o=i[H.kr],(o=!!Z.ie(o)&&o)!==e.Kf.get(z.ol)&&(e.p.debug("onHeartbeatResponse(): turning "+(o?"on":"off")+" sending of logs"),e.Kf.set(z.ol,o)),o=i[H.Fr],Z.gt(o)&&(o=Z._l.Cast(o))!==e.Vi.heartbeatInterval&&(e.p.debug("onHeartbeatResponse(): received hbIntervalMs from gateway: "+o),e.Vi.heartbeatInterval=o,e.qa)&&e.uc(),(o=i[H.Br])&&o!==e.Vi.gatewayUrl&&(e.p.debug("onHeartbeatResponse(): received gatewayUrl from gateway: "+o),e.Vi.gatewayUrl=o),e.Tl()||(e.Cf={},(o=i[H.Hr])&&(e.yf||(e.yf=!0),e.p.debug("onHeartbeatResponse(): received fp from gateway: "+o),e.Cf=o.split(",")),e.Vf=i[H.Gr],Z.ie(e.Vf)&&(e.Vf?(e.p.debug("onHeartbeatResponse(): enabling the CDN Server IP collection"),e.Mf||e.hc()):e.ec())))):e.p.warning("onHeartbeatResponse(): decoded heartbeat response is null."):(Z.Pt(o=n)?Z.Sl(o,"HTTP timeout")?e.p.warning("onHeartbeatResponse(): "+o):e.p.error("onHeartbeatResponse(): failed to send heartbeat: "+o):(o=G.Ol,e.p.error("onHeartbeatResponse(): "+o)),e.zc(r,o))}))},this.Ps=function(){return Z._l.Cast(e.jf.current()-e.Ds)},this.qc=function(){return this.Bf.Gc()},this.Jf=function(){return this.ks()?" (global session)":""},this.ks=function(){return this.xf===q.Nt.Oh},this.Tl=function(){return this.xf===q.Nt.Oh&&"T"===this.nf["c3.IPV4IPV6GlobalSession"]},this.Cs=function(){return this.xf===q.Nt.Ot},this.qf=function(){return this.xf===q.Nt.Dt},this.Lt=function(t){e.Nl(t),e.Zf()},this.Nl=function(t){var n={},r={};if(Z.Pt(t.assetName)&&!e.ys.gl&&(e.Ct.assetName!==t.assetName?(e.Ct.assetName&&(n[H.iu]=e.Ct.assetName),r[H.iu]=t.assetName,e.Ct.assetName=t.assetName):e.p.warning("mergeContentMetadata(): assetName was not changed.")),Z.Pt(t.applicationName)&&(e.Ct.applicationName!==t.applicationName?(e.Ct.applicationName&&(n[H.eu]=e.Ct.applicationName),r[H.eu]=t.applicationName,e.Ct.applicationName=t.applicationName):e.p.warning("mergeContentMetadata(): applicationName was not changed.")),Z.Pt(t.streamUrl)&&!e.ys.Il&&(e.Ct.streamUrl!==t.streamUrl?(e.Ct.streamUrl&&(n[H.Tu]=e.Ct.streamUrl),r[H.Tu]=t.streamUrl,e.Ct.streamUrl=t.streamUrl,e.On=e.Ct.streamUrl):e.p.warning("mergeContentMetadata(): streamUrl was not changed.")),Z.Pt(t.viewerId)&&(e.Ct.viewerId!==t.viewerId?(e.Ct.viewerId&&(n[H.nu]=e.Ct.viewerId),r[H.nu]=t.viewerId,e.Ct.viewerId=t.viewerId):e.p.warning("mergeContentMetadata(): viewerId was not changed.")),Z.Pt(t.defaultResource)&&!e.ys.wl&&(e.Ct.defaultResource!==t.defaultResource?(e.Ct.defaultResource&&(n[H.Ru]=e.Ct.defaultResource),r[H.Ru]=t.defaultResource,e.Ct.defaultResource=t.defaultResource):e.p.warning("mergeContentMetadata(): defaultResource was not changed.")),Z.gt(t.duration)&&t.duration>0&&!e.ys.Cl&&(e.Ct.duration!==t.duration?(e.Ls>0&&(n[H.lu]=e.Ls),r[H.lu]=t.duration,e.Ct.duration=t.duration,e.Ls=e.Ct.duration):e.p.warning("mergeContentMetadata(): duration was not changed.")),Z.gt(t.encodedFrameRate)&&t.encodedFrameRate>0&&!e.ys.yl&&(e.Ct.encodedFrameRate!==t.encodedFrameRate?(e.Ct.encodedFrameRate>-1&&(n[H.du]=e.Ct.encodedFrameRate),r[H.du]=t.encodedFrameRate,e.Ct.encodedFrameRate=t.encodedFrameRate,e.wn=e.Ct.encodedFrameRate):e.p.warning("mergeContentMetadata(): encodedFrameRate was not changed.")),t.streamType!==h.StreamType.UNKNOWN&&(e.Ct.streamType!==t.streamType?(e.Ct.streamType!==h.StreamType.UNKNOWN&&(e.Ct.streamType===h.StreamType.LIVE?n[H.qr]=!0:n[H.qr]=!1),t.streamType===h.StreamType.LIVE?r[H.qr]=!0:r[H.qr]=!1,e.Ct.streamType=t.streamType):e.p.warning("mergeContentMetadata(): streamType was not changed.")),Z.Ht(t.custom)>0){var i,o={},a={};for(i in t.custom)e.Ct.custom[i]!==t.custom[i]?(o[i]=t.custom[i],e.Ct.custom[i]&&(a[i]=e.Ct.custom[i]),e.Ct.custom[i]=t.custom[i]):e.p.info("mergeContentMetadata(): custom."+i+" was not changed.");Z.Ht(o)>0?(Z.Ht(a)>0&&(n[H.su]=a),r[H.su]=o):e.p.warning("mergeContentMetadata(): custom was not changed.")}Z.Ht(r)>0&&this.lc(r,n)},this.Zf=function(){var t;e.p.debug("setStatesFromContentMetadata()"),e.Ct.defaultResource&&this.oa(e.Ct.defaultResource),e.Ct.streamUrl&&this.ma(e.Ct.streamUrl),e.Ct.duration>0&&this.ia(e.Ct.duration),e.Ct.encodedFrameRate>0&&this.ra(e.Ct.encodedFrameRate),e.Ct.streamType!==h.StreamType.UNKNOWN&&(t=e.Ct.streamType===h.StreamType.LIVE,this.Vh(t)),e.Ct.assetName&&this.xh(e.Ct.assetName),e.Ct.viewerId&&this.Yh(e.Ct.viewerId),(e.Ct.applicationName||e.Ct.playerName)&&this.qh(e.Ct.applicationName||e.Ct.playerName),Z.Ht(e.Ct.custom)>0&&this.Jh(e.Ct.custom)},this.zf=function(){var t={};if(this.ks()||(e.Ct.assetName?t[H.iu]=e.Ct.assetName:e.p.warning("enqueueEventForContentMetadata(): assetName was not set."),e.Ct.applicationName?t[H.eu]=e.Ct.applicationName:e.p.warning("enqueueEventForContentMetadata(): applicationName was not set."),e.Ct.streamUrl?t[H.Tu]=e.Ct.streamUrl:e.p.warning("enqueueEventForContentMetadata(): streamUrl was not set."),e.Ct.viewerId?t[H.nu]=e.Ct.viewerId:e.p.warning("enqueueEventForContentMetadata(): viewerId was not set."),e.Ct.defaultResource?t[H.Ru]=e.Ct.defaultResource:e.p.warning("enqueueEventForContentMetadata(): defaultResource was not set."),e.Ct.duration>-1?t[H.lu]=e.Ct.duration:e.p.warning("enqueueEventForContentMetadata(): duration was not set."),e.Ct.encodedFrameRate>-1?t[H.du]=e.Ct.encodedFrameRate:e.p.warning("enqueueEventForContentMetadata(): encodedFrameRate was not set."),e.Ct.streamType!==h.StreamType.UNKNOWN?e.Ct.streamType===h.StreamType.LIVE?t[H.qr]=!0:t[H.qr]=!1:e.p.warning("enqueueEventForContentMetadata(): streamType was not set.")),Z.Ht(e.Ct.custom)>0)for(var n in t[H.su]={},e.Ct.custom)t[H.su][n]=e.Ct.custom[n];else this.ks()||e.p.warning("enqueueEventForContentMetadata(): custom tags were not set.");Z.Ht(t)>0&&this.lc(t,null)},this.tc=function(){e.Ct&&Z.Pt(e.Ct.assetName)||e.p.warning("Missing assetName during session creation"),e.Ct&&Z.Pt(e.Ct.defaultResource)||e.p.warning("Missing resource during session creation"),e.Ct&&Z.Pt(e.Ct.streamUrl)||e.p.warning("Missing streamUrl during session creation"),(!e.Ct||e.Ct.encodedFrameRate<=0)&&e.p.warning("Missing encodedFrameRate during session creation"),e.Ct&&Z.Pt(e.Ct.viewerId)||e.p.warning("Missing viewerId during session creation"),e.Ct&&e.Ct.streamType&&h.StreamType.UNKNOWN!==e.Ct.streamType||e.p.warning("Missing streamType during session creation"),e.Ct&&Z.Pt(e.Ct.applicationName)||e.p.warning("Missing applicationName during session creation"),(!e.Ct||e.Ct.duration<=0)&&e.p.warning("Missing duration during session creation")},this.Zt=function(t,n){e.pf||(e.pf={}),e.pf[t]=n},this.$f=function(){var t={};e.Ee&&e.Ee.M&&(t[H.Iu]=e.Ee.M,e.M=e.Ee.M),e.Ee&&e.Ee.U&&(t[H.wu]=e.Ee.U,e.U=e.Ee.U),Z.Ht(t)>0&&this.lc(t,null)}}).xa=H.Sh.Ot+H.Sh.Nh+H.Sh.gh,q.Nt={Ot:"Video",Oh:"Global",Dt:"Ad"},(G=le.Session=function(){var e=this;e.Ue=null,e.C=0,e.xf=q.Nt.Ot,e.ml=!1,e.Sf=!1,e.Dl=!1,e.Pl=null,e.Re=null,e.bl=null,e.Ll=!1,e.Ml=p.PlayerState.NOT_MONITORED,e.Ul=!1,e.Vl=!1,e.kl=!1,e.yl=!1,e.Fl=!1,e.bc=!1,e.Mc=!1,e.Dc=!1,e.gl=!1,e.Il=!1,e.Bl=!1,e.Cl=!1,e.wl=!1,e.Hl=!1,function(e,t,n,r,i,o,a){this.C=e,this.xf=t,this.Kf=n,this.Gl=r,this.wt=i,this.g=o,this.p=a}.apply(e,arguments),this.Yf=function(t,n){e.wt.Yf(this),t&&e.Vt(t),e.Kf.jl()?e.Kl(n):e.Kf.Wl((function(){e.Kl(n)}))},this.cleanup=function(){e.ml=!0,e.wt.Xf(),e.Kf.jl()?e.Yl():e.Kf.Wl((function(){e.Yl()}))},this.xl=function(){(e.Cs()||e.qf())&&e.Ue&&e.ql(),e.g=null,e.Ee=null,e.Kf=null,e.Gl=null,e.wt.Tt(),e.wt=null,e.Sf=!0},this.Yl=function(){e.wt.nc(),e.xl()},this.Kl=function(t){e.wt.Qf(),e.Jl(),t?(e.bt(t.ir(),t.er()),e.wt.Xe(p.PlayerState.STOPPED),e.wt.nc(),e.xl()):e.wt.rc()},this.Jl=function(){var t,n=e.Gl.get();(t=n[se.BROWSER_NAME])&&e.wt.ca(t),(t=n[se.BROWSER_VERSION])&&e.wt.la(t),(t=n[se.DEVICE_BRAND])&&e.wt.da(t),(t=n[se.DEVICE_MANUFACTURER])&&e.wt.va(t),(t=n[se.DEVICE_MODEL])&&e.wt.Ea(t),(t=n[se.DEVICE_TYPE])&&e.wt._a(t),(t=n[se.DEVICE_VERSION])&&e.wt.Ra(t),(t=n[se.FRAMEWORK_NAME])&&e.wt.pa(t),(t=n[se.FRAMEWORK_VERSION])&&e.wt.Aa(t),(t=n[se.OPERATING_SYSTEM_NAME])&&e.wt.Ta(t),(t=n[se.OPERATING_SYSTEM_VERSION])&&e.wt.Sa(t),(t=n[se.DEVICE_CATEGORY])&&e.wt.Oa(t),(t=n[se.SCREEN_WIDTH])&&e.wt.Na(t),(t=n[se.SCREEN_HEIGHT])&&e.wt.ga(t),(t=n[se.SCALE_FACTOR])&&e.wt.Ia(t)},this.Ei=function(t){e.wt.Pn===t||(e.wt.Pn===p.PlayerState.NOT_MONITORED&&t!==p.PlayerState.NOT_MONITORED&&(e.Ml=t),e.Ll)||e.wt.Xe(t)},this._i=function(t){e.Ul||e.wt.dc(t)},this.Ri=function(t){e.Ul||e.wt.Ec(t)},this.Ii=function(t){e.Vl||e.wt.wa(t)},this.wi=function(t){e.Vl||e.wt.Co(t)},this.pi=function(t,n){!Z.gt(n)&&e.Hl&&(n=-1),e.wt.Jc(t,n)},this.qn=function(t){t>0&&(e.yl||e.wt.ra(t))},this.Qn=function(t){t>0&&(e.Cl||e.wt.ia(t))},this.Zn=function(t){e.wt.ma(t)},this.Ai=function(t){e.wt.Nc(t)},this.Ti=function(t){e.wt.Ic(t)},this.nt=function(t){e.wt.ba(t)},this.et=function(t){e.wt.La(t)},this.ni=function(t){e.wt.Us()||e.wt.pa(t)},this.ei=function(t){e.wt.Vs()||e.wt.Aa(t)},this.Oi=function(t){e.wt.ka(t)},this.oi=function(t){e.wt.Ka(t)},this.ui=function(t){e.wt.Wa(t)},this.ai=function(t){e.wt.Ya(t)},this.Si=function(t,n){e.bt(t,n)},this.Yn=function(){e.ql()},this.Wt=function(t,n,r){e.Dl||(e.Dl=!0,e.Pl=t,e.Re=n,e.bl=r,e.wt.Vc(!0),e.Pl===_.AdStream.CONTENT||e.Re===_.AdPlayer.SEPARATE?(e.wt.Pn!==p.PlayerState.NOT_MONITORED&&(e.Ml=e.wt.Pn),e.wt.Xe(p.PlayerState.NOT_MONITORED),e.Ll=!0):e.Pl===_.AdStream.SEPARATE&&e.Re===_.AdPlayer.CONTENT&&(e.wt.Pn!==p.PlayerState.NOT_MONITORED&&(e.Ml=e.wt.Pn),e.wt.Xe(p.PlayerState.NOT_MONITORED),e.Ll=!0,e.Ul=!0,e.Vl=!0,e.yl=!0,e.kl=!0,e.bc=!0,e.Mc=!0,e.Dc=!0,e.gl=!0,e.Il=!0,e.Bl=!0,e.Cl=!0,e.wl=!0,e.Hl=!0))},this.Yt=function(){e.Dl&&(e.wt.Vc(!1),e.Pl===_.AdStream.CONTENT||e.Re===_.AdPlayer.SEPARATE?e.Xl||(e.Ll=!1,e.wt.Xe(e.Ml)):e.Pl===_.AdStream.SEPARATE&&e.Re===_.AdPlayer.CONTENT&&(e.Ul=!1,e.Vl=!1,e.yl=!1,e.kl=!1,e.Fl=!1,e.Xl||(e.Ll=!1,e.wt.Xe(e.Ml)),e.bc=!1,e.Mc=!1,e.Dc=!1,e.gl=!1,e.Il=!1,e.Bl=!1,e.Cl=!1,e.wl=!1,e.Hl=!1),e.Dl=!1,e.Pl=e.Re=e.bl=null)},this.Mt=function(){e.Ue&&e.Ue&&(e.g.F("Session.detachPlayer",(function(){e.Ue.xn()})),e.Ue=null,e.wt.Wc(null),e.wt.Xe(p.PlayerState.NOT_MONITORED))},this.ql=function(){e.Ue&&(e.g.F("Session.releasePlayerStateManager",(function(){e.Ue.xn()})),e.Ue=null,e.wt.Wc(null),e.wt.Xe(p.PlayerState.NOT_MONITORED))},this.Ut=function(){e.wt.Vc(!0),e.wt.Pn!==p.PlayerState.NOT_MONITORED&&(e.Ml=e.wt.Pn),e.wt.Xe(p.PlayerState.NOT_MONITORED),e.Ll=!0},this.Vt=function(t){e.Ue||t instanceof p&&e.g.F("Session.attachPlayer()",(function(){t.setMonitoringNotifier(e,e.C)&&(t.fi(),e.Ue=t,e.wt.Wc(e.Ue))}))},this.kt=function(){e.wt.Vc(!1),e.Ul=!1,e.Vl=!1,e.Ql=!1,e.kl=!1,e.Fl=!1,e.bc=!1,e.Mc=!1,e.Dc=!1,e.gl=!1,e.Il=!1,e.Bl=!1,e.Cl=!1,e.wl=!1,e.Hl=!1,e.Xl||(e.Ll=!1,e.Ml!==p.PlayerState.NOT_MONITORED&&e.wt.Xe(e.Ml))},this.qt=function(){return e.Ue},this.Ft=function(){e.Xl||(e.Xl=!0,e.Ll=!0)},this.Bt=function(){e.Xl&&(e.Xl=!1,e.Dl||(e.Ll=!1,e.Ml!==p.PlayerState.NOT_MONITORED&&e.wt.Xe(e.Ml)))},this.bt=function(t,n){!Z.Pt(t)||n!==_.ErrorSeverity.FATAL&&n!==_.ErrorSeverity.WARNING||e.Fl||(n=n===_.ErrorSeverity.FATAL,e.wt.Fc(t,n))},this.Lt=function(t){e.g.F("Session.updateContentMetadata",(function(){e.wt.Lt(t)}))},this.Kt=function(t,n){e.wt.Xc(t,n)},this.ks=function(){return e.xf===q.Nt.Oh},this.Cs=function(){return e.xf===q.Nt.Ot},this.qf=function(){return e.xf===q.Nt.Dt},this.Jf=function(){return e.ks()?" (global session)":""},this.Xt=function(){return this.C},this.Qt=function(){return e.Kf.jl()?e.Kf.get(z.B):null},this.Zt=function(t,n){e.wt.Zt(t,n)}}).Ol="received no response (or a bad response) to heartbeat POST request",Y=le.SessionFactory=function(){var e=this;e.Fi=null,e.Zl=0,e.zl=null,function(t,n,r,i){e.Ee=t,e.Vi=n,e.Kf=r,e.T=i,e.Zl=0,e.zl={}}.apply(e,arguments),this.Tt=function(){for(var t in e.Fi=null,e.zl)e.zl[t].cleanup();e.zl=null,e.Zl=0},this.$l=function(){var t=e.Zl;return e.Zl++,t},this.St=function(t,n,r,i,o){return t||(t=new h),e.td(t,n,r,i,o)},this.Y=function(t){return e.td(t,q.Nt.Oh,void 0,d.version)},this.nd=function(){return ne.ed()},this.td=function(t,n,r,i,o){return n=e.T.Zi(e.Ee,e.Vi,e.Kf,e.nd(),n,t.ct(),i),t=e.$l(),void 0!==o&&void 0!==o.error?n.Yf(r,o.error):(e.sd(t,n),n.Yf(r)),t},this.jt=function(t){return e.zl[t]},this.It=function(e){return!(e=this.jt(e))||e.Cs()||e.qf()?e:null},this.sd=function(t,n){e.zl[t]=n},this.od=function(t){delete e.zl[t]},this.xt=function(t){var n=e.jt(t);e.od(t),n.cleanup()},this.tt=function(){return e.zl}},K=le.rd=function(e){this._e=e,this.ud=function(e,t,n){var r=!1;return this._e.createOnce((function(){r||e(!(r=!0),n+" ("+t+" ms)")}),t,"CallbackWithTimeout.wrap"),function(t,n){r||(r=!0,e(t,n))}}},(z=le.Config=function(e,t,n){var r=this;this.ad=t,this.fd=n,this.ld={clientId:H.H,iid:H.Sr,sendLogs:!1,maxHbInfos:H.Nr},this.I=Z.ll(this.ld),this.dd=!1,this.vd=!1,this.Ed=[],this.jl=function(){return this.dd},this.Et=function(){this.ad.Et(z.hd,(function(e,t){e&&r._d(t),r.dd=!0,r.Rd()}))},this._d=function(e){var t;(e=this.fd.yh(e))?e&&(t=e[z.pd],e=e[z._t],t&&t!==H.H&&""!==t&&"null"!==t&&(this.I[z.B]=t),e!==H.Sr)&&""!==e&&"null"!==e&&(this.I[z._t]=e):this.vd=!0},this.Ad=function(){var e={};return e[z.pd]=this.I.clientId,this.fd.Ch(e)},this.Al=function(){this.ad.Al(z.hd,this.Ad(),(function(e,t){}))},this.Wl=function(e){this.jl()?e():this.Ed.push(e)},this.get=function(e){return this.dd?this.I[e]:null},this.set=function(e,t){this.dd&&(this.I[e]=t)},this.Rd=function(){for(var e;void 0!==(e=this.Ed.shift());)e()},this.getClientId=function(){return this.I.clientId},this.getIid=function(){return this.I.iid}}).hd="sdkConfig",z.pd="clId",z._t="iid",z.B="clientId",z.ol="sendLogs",z.nl="maxHbInfos",z.hl="c3.fp.",z.$t={al:"0",Td:"1",tn:"2",zt:"3",fl:"4",en:"5",nn:"6"},X=le.EventQueue=function(){this.Sd=[],this.Od=0,this.Kc=function(e){this.Sd.push(e)},this.Gc=function(){var e=this.Od;return this.Od++,e},this.Wf=function(){var e=this.Sd;return this.Sd=[],e}},Q=le.ExceptionCatcher=function(e,t,n){this.Nd=t,this.N=n,this.F=function(e,t,n){try{t()}catch(t){if(n)n(t);else{if(this.N.allowUncaughtExceptions)throw t;this.gd(e,t)}}},this.gd=function(e,t){if(e="Uncaught exception: "+e+": "+t.toString(),this.Nd)try{this.Nd.Rl(e)}catch(e){}}},J=le.GatewayControl=function(e,t,n,r,i){var o=this;this.Vi=e,this.Id=n,this.fd=r,this.wd=i,this.Rl=function(e,t){var n=(this.wd?this.wd.indexOf("ipv4")>-1?this.Vi.G:this.Vi.q:this.Vi.gatewayUrl)+H.Tr;this.Id.Cd("POST",n,this.fd.Ch(e),"application/json",(function(e,n){var r;e?(r=o.fd.yh(n),t(e,r)):t(e,n)}))}},Z=le.Lang={yd:function(e){return Z.Pt(e)&&e&&"undefined"!==e&&"null"!==e},Gt:function(e){var t,n,r={};for(t in e)Z.yd(t)&&(n=e[t],Z.yd(n))&&(r[t]=n);return r},Jn:function(e,t,n){if(!e)throw new Error("Expected "+n+" implementation is null.");for(var r in t)if("function"!=typeof e[r])throw new Error("Expected method "+r+" in "+n+" implementation.")},Ht:function(e){var t,n=0;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n++;return n},yt:function(e){return""+e},md:function(e){return Math.floor(e)},cn:function(e){return Math.abs(Z.md(e))},Dd:function(e){return Boolean(e)},Pt:function(e){return"string"==typeof e&&""!==e},Sl:function(e,t){return"string"==typeof e&&"string"==typeof t&&"function"==typeof e.indexOf&&0===e.indexOf(t)},ie:function(e){return"boolean"==typeof e},Pd:function(e){return escape(e)},mh:function(e){return"object"==typeof e},Sc:function(e){var t,n="";for(t in e)n+=t+"="+e[t];return"Object{"+n+"}"},bd:function(e){var t,n=Z.ll(e);for(t in n)n[t]||delete n[t];return n},ll:function(e){var t,n={};for(t in e)n[t]=e[t];return n},Tc:function(e,t){if(typeof e!=typeof t)return!1;if(e instanceof Object&&t instanceof Object){if(Z.Ht(e)!==Z.Ht(t))return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}return e===t},ko:function(){for(var e={},t=0;t<arguments.length;t++)for(var n in arguments[t])arguments[t][n]&&(e[n]=arguments[t][n]);return e},gt:function(e){return"number"==typeof e&&Math.round(e)===e},Ld:function(e){return"[object Array]"===Object.prototype.toString.call(e)},Md:function(e,t){if(e!==t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(Z.Ld(e[n])&&Z.Ld(t[n])){if(!Z.Md(e[n],t[n]))return!1}else if(e[n]!==t[n])return!1}return!0},Ud:function(){return void 0!==Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()},rn:function(e,t,n){if(Z.Ud())Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n});else{if(void 0===e.__defineGetter__)throw new Error("JavaScript runtime must support either Object.defineProperty or __defineGetter__");e.__defineGetter__(t,n)}},un:function(e,t,n){if(Z.Ud())Object.defineProperty(e,t,{configurable:!0,set:n});else{if(void 0===e.__defineSetter__)throw new Error("JavaScript runtime must support either Object.defineProperty or __defineSetter__");e.__defineSetter__(t,n)}}},(B={two32:4294967296}).Vd=B.two32-1,B.kd=0,Z.Fd=B,Z.Fd.Cast=function(e){return(e=parseInt(e,10))>B.Vd?e%=B.two32:e<B.kd&&(e=B.two32-(e=-e%B.two32)),e},Z.Fd.Bd=function(e){return(e=parseInt(e,10))<=B.Vd&&e>=B.kd},F={Vd:2147483647,kd:-2147483648},Z._l=F,Z._l.Cast=function(e){return(e=parseInt(e,10))>F.Vd?e%=F.Vd:e<F.kd&&(e=F.Vd-(e=-e%F.Vd)),e},Z._l.Bd=function(e){return(e=parseInt(e,10))<=F.Vd&&e>=F.kd},Z.nr=function(){return"undefined"!=typeof window&&window&&window.location&&window.location.search?window.location.search:""},Z.Hd=function(){return document&&document.referrer?document.referrer:""},ee=le.LogBuffer=function(){this.Gd=[],this.lr=function(e){this.Gd.length>=32&&this.Gd.shift(),this.Gd.push(e)},this.Wf=function(){var e=this.Gd;return this.Gd=[],e}},(te=le.Ping=function(e,t,n,r){this.Kd=!1,this.Wd=null,this.p=e,this.p.setModuleName("Ping"),this.Id=t,this.Vi=n,this.ki=r,this.Rl=function(e){this.Kd||(this.Kd=!0,e=this.Yd()+"&d="+Z.Pd(e.toString()),this.p.error("send(): "+e),this.Id.Cd("GET",e,null,null,null),this.Kd=!1)},this.Yd=function(){if(!this.Wd){var e=te.xd+"?comp="+te.jd+"&clv="+(this.ki||_.version);if(this.Vi&&(e+="&cid="+this.Vi.customerKey),e+="&sch="+H.Cr,!this.Vi)return e;this.Wd=e}return this.Wd}}).jd="sdkjs",te.xd="https://pings.conviva.com/ping.ping",ne=le.qd={Jd:4294967295,Xd:2147483647,Qd:-2147483648,ed:function(){return Math.floor(Math.random()*ne.Jd)+ne.Qd},Rt:function(){return Math.floor(Math.random()*ne.Jd)}},re=le.Zd={jc:function(e,t,n,r){return isNaN(e)||"number"!=typeof e||e===r?r:(r=Z.md(e),re.zd(r,t,n))},zd:function(e,t,n){return Z.gt(n)&&e>n?e=n:Z.gt(t)&&e<t&&(e=t),e},In:function(e){return-1!==e&&-2!==e?re.jc(e,0,null,-1):e}},ie=le.StreamerError=function(){var e=this;e.errorCode=null,e.severity=_.ErrorSeverity.FATAL,function(t,n){e.errorCode=t,e.severity=n}.apply(e,arguments),this.ir=function(){return e.errorCode},this.er=function(){return e.severity}},oe=le.HttpClient=function(e,t,n,r){this.Di=t,this.$d=n,this.N=r,this.Cd=function(e,t,n,r,i){var o=1e3*this.N.httpTimeout,a=null;i&&(a=this.$d.ud(i,o,"HTTP timeout")),this.Di.makeRequest(e,t,n,r,o,a)}},(ae=le.Logger=function(e,t,n,r,i){this.Li=e,this.yi=t,this.O=n,this.Fi=r,this.Ui=i,this.debug=function(e){this.log(e,T.LogLevel.DEBUG)},this.info=function(e){this.log(e,T.LogLevel.INFO)},this.warning=function(e){this.log(e,T.LogLevel.WARNING)},this.error=function(e){this.log(e,T.LogLevel.ERROR)},this.log=function(e,t){e=this.nv(e,t),this.Fi.lr(e),this.O.logLevel<=t&&this.Li.consoleLog(e,t)},this.iv=function(e){return"["+this.Vn+"] "+e},this.ev=function(e){return"["+this.Ui+"] "+e},this.sv=function(e){return"[Conviva] "+e},this.ov=function(e){return"["+(this.yi.getEpochTimeMs()/1e3).toFixed(3).toString()+"] "+e},this.rv=function(e,t){return"["+ae.tv(t)+"] "+e},this.uv=function(e){return this.hv?"sid="+this.hv+" "+e:e},this.Kh=function(e){this.hv=e},this.setModuleName=function(e){this.Vn=e},this.nv=function(e,t){return this.sv(this.ov(this.rv(this.ev(this.iv(this.uv(e))),t)))}}).tv=function(e){var t;switch(e){case T.LogLevel.ERROR:t="ERROR";break;case T.LogLevel.WARNING:t="WARNING";break;case T.LogLevel.INFO:t="INFO";break;case T.LogLevel.DEBUG:t="DEBUG"}return t},le.Storage=function(e,t,n,r){this.Pi=t,this.$d=n,this.N=r,this.Et=function(e,t){t=this.$d.ud(t,1e3*this.N.storageTimeout,"storage load timeout"),this.Pi.loadData(le.Storage.av,e,t)},this.Al=function(e,t,n){n=this.$d.ud(n,1e3*this.N.storageTimeout,"storage save timeout"),this.Pi.saveData(le.Storage.av,e,t,n)}},le.Storage.av="Conviva",(se=le.SystemMetadata=function(e,t,n){this.bi=t,this.g=n,this.fv=null,this.get=function(){return this.fv||this.retrieve(),this.fv},this.retrieve=function(){var e,t={},n=(t[se.BROWSER_NAME]=this.bi.getBrowserName,t[se.BROWSER_VERSION]=this.bi.getBrowserVersion,t[se.DEVICE_BRAND]=this.bi.getDeviceBrand,t[se.DEVICE_MANUFACTURER]=this.bi.getDeviceManufacturer,t[se.DEVICE_MODEL]=this.bi.getDeviceModel,t[se.DEVICE_TYPE]=this.bi.getDeviceType,t[se.DEVICE_VERSION]=this.bi.getDeviceVersion,t[se.FRAMEWORK_NAME]=this.bi.getFrameworkName,t[se.FRAMEWORK_VERSION]=this.bi.getFrameworkVersion,t[se.OPERATING_SYSTEM_NAME]=this.bi.getOperatingSystemName,t[se.OPERATING_SYSTEM_VERSION]=this.bi.getOperatingSystemVersion,t[se.DEVICE_CATEGORY]=this.bi.getDeviceCategory,t[se.SCREEN_WIDTH]=this.bi.getScreenWidth,t[se.SCREEN_HEIGHT]=this.bi.getScreenHeight,t[se.SCALE_FACTOR]=this.bi.getScaleFactor,this);for(e in t)!function(e,t){n.g.F("Session.getSystemMetadataSchema(): "+e,(function(){var r=t[e];t[e]=r.call(n.bi)}))}(e,t),Z.Pt(t[e])||delete t[e];var r=!1;if(void 0!==t[se.DEVICE_TYPE]){for(var i in _.DeviceType)if(t[se.DEVICE_TYPE]===_.DeviceType[i]){r=!0;break}r||delete t[se.DEVICE_TYPE]}if(r=!1,void 0!==t[se.DEVICE_CATEGORY]){for(var o in _.DeviceCategory)if(t[se.DEVICE_CATEGORY]===_.DeviceCategory[o]){r=!0;break}r||delete t[se.DEVICE_CATEGORY]}this.fv=Z.bd(t)}}).BROWSER_NAME="browserName",se.BROWSER_VERSION="browserVersion",se.DEVICE_BRAND="deviceBrand",se.DEVICE_MANUFACTURER="deviceManufacturer",se.DEVICE_MODEL="deviceModel",se.DEVICE_TYPE="deviceType",se.DEVICE_VERSION="deviceVersion",se.FRAMEWORK_NAME="frameworkName",se.FRAMEWORK_VERSION="frameworkVersion",se.OPERATING_SYSTEM_NAME="operatingSystemName",se.OPERATING_SYSTEM_VERSION="operatingSystemVersion",se.DEVICE_CATEGORY="deviceCategory",se.SCREEN_WIDTH="screenWidth",se.SCREEN_HEIGHT="screenHeight",se.SCALE_FACTOR="scaleFactor",ue=le.Time=function(e,t){this.yi=e,this.p=t,this.current=function(){var e=this.yi.getEpochTimeMs();return Z.gt(e),e}},ce=le.Timer=function(e,t,n){var r=this;this.mi=t,this.g=n,this.create=function(e,t,n){return this.createTimer((function(){r.g.F(n,(function(){e()}))}),t,n)},this.createOnce=function(e,t,n){var i={cancel:null};return i.cancel=this.createTimer((function(){r.g.F(n,(function(){i&&"function"==typeof i.cancel&&(i.cancel(),i.cancel=null,i=null),e()}))}),t,n),i.cancel},this.createTimer=function(e,t,n){return this.mi.createTimer(e,t,n)}}}(),e},void 0!==(i="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=i),void 0===o||!o||o.Conviva||o.ConvivaLoading||(o.ConvivaLoading=!0,o.Conviva=a(),delete o.ConvivaLoading)},6673:function(e){var t;t=()=>(()=>{var e={804:(e,t,n)=>{"use strict";var r=n(158),i=n(399);function o(e){return o="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},o(e)}var a,s,u=n(812).codes,c=u.ERR_AMBIGUOUS_ARGUMENT,l=u.ERR_INVALID_ARG_TYPE,d=u.ERR_INVALID_ARG_VALUE,_=u.ERR_INVALID_RETURN_VALUE,f=u.ERR_MISSING_ARGS,h=n(622),p=n(19).inspect,g=n(19).types,v=g.isPromise,m=g.isRegExp,y=Object.assign?Object.assign:n(473).assign,b=Object.is?Object.is:n(884);function S(){var e=n(673);a=e.isDeepEqual,s=e.isDeepStrictEqual}new Map;var E=!1,$=e.exports=P,T={};function A(e){if(e.message instanceof Error)throw e.message;throw new h(e)}function C(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new h({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];C.apply(void 0,[P,t.length].concat(t))}$.fail=function e(t,n,o,a,s){var u,c=arguments.length;if(0===c?u="Failed":1===c?(o=t,t=void 0):(!1===E&&(E=!0,(r.emitWarning?r.emitWarning:i.warn.bind(i))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===c&&(a="!=")),o instanceof Error)throw o;var l={actual:t,expected:n,operator:void 0===a?"fail":a,stackStartFn:s||e};void 0!==o&&(l.message=o);var d=new h(l);throw u&&(d.message=u,d.generatedMessage=!0),d},$.AssertionError=h,$.ok=P,$.equal=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");t!=n&&A({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},$.notEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");t==n&&A({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},$.deepEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");void 0===a&&S(),a(t,n)||A({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},$.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");void 0===a&&S(),a(t,n)&&A({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},$.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");void 0===a&&S(),s(t,n)||A({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},$.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");void 0===a&&S(),s(t,n)&&A({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},$.strictEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");b(t,n)||A({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},$.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new f("actual","expected");b(t,n)&&A({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var I=function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&m(t[e])&&t[e].test(r[e])?i[e]=r[e]:i[e]=t[e])}))};function w(e,t,n,r){if("function"!=typeof t){if(m(t))return t.test(e);if(2===arguments.length)throw new l("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var i=new h({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw i.operator=r.name,i}var u=Object.keys(t);if(t instanceof Error)u.push("name","message");else if(0===u.length)throw new d("error",t,"may not be an empty object");return void 0===a&&S(),u.forEach((function(i){"string"==typeof e[i]&&m(t[i])&&t[i].test(e[i])||function(e,t,n,r,i,o){if(!(n in e)||!s(e[n],t[n])){if(!r){var a=new I(e,i),u=new I(t,i,e),c=new h({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:o});throw c.actual=e,c.expected=t,c.operator=o.name,c}A({actual:e,expected:t,message:r,operator:o.name,stackStartFn:o})}}(e,t,i,n,u,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function M(e){if("function"!=typeof e)throw new l("fn","Function",e);try{e()}catch(e){return e}return T}function k(e){return v(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function O(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!k(t=e()))throw new _("instance of Promise","promiseFn",t)}else{if(!k(e))throw new l("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return T})).catch((function(e){return e}))}))}function R(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],n);if("object"===o(t)&&null!==t){if(t.message===n)throw new c("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new c("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==o(n)&&"function"!=typeof n)throw new l("error",["Object","Error","Function","RegExp"],n);if(t===T){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var a="rejects"===e.name?"rejection":"exception";A({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(n&&!w(t,n,r,e))throw t}function D(e,t,n,r){if(t!==T){if("string"==typeof n&&(r=n,n=void 0),!n||w(t,n)){var i=r?": ".concat(r):".",o="doesNotReject"===e.name?"rejection":"exception";A({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];C.apply(void 0,[L,t.length].concat(t))}$.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];R.apply(void 0,[e,M(t)].concat(r))},$.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return O(t).then((function(t){return R.apply(void 0,[e,t].concat(r))}))},$.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];D.apply(void 0,[e,M(t)].concat(r))},$.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return O(t).then((function(t){return D.apply(void 0,[e,t].concat(r))}))},$.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=p(t);var r=new h({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=r.stack.split("\n"),u=0;u<a.length;u++){var c=s.indexOf(a[u]);if(-1!==c){s=s.slice(0,c);break}}r.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw r}},$.strict=y(L,$,{equal:$.strictEqual,deepEqual:$.deepStrictEqual,notEqual:$.notStrictEqual,notDeepEqual:$.notDeepStrictEqual}),$.strict.strict=$.strict},622:(e,t,n)=>{"use strict";var r=n(158);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)},s(e)}function u(e,t,n){return u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&c(i,n.prototype),i},u.apply(null,arguments)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function d(e){return d="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},d(e)}var _=n(19).inspect,f=n(812).codes.ERR_INVALID_ARG_TYPE;function h(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var p="",g="",v="",m="",y={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function b(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function S(e){return _(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var E=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==d(e)||null===e)throw new f("options","Object",e);var i=e.message,s=e.operator,u=e.stackStartFn,c=e.actual,_=e.expected,E=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=i)n=o(this,l(t).call(this,String(i)));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(p="[34m",g="[32m",m="[39m",v="[31m"):(p="",g="",m="",v="")),"object"===d(c)&&null!==c&&"object"===d(_)&&null!==_&&"stack"in c&&c instanceof Error&&"stack"in _&&_ instanceof Error&&(c=b(c),_=b(_)),"deepStrictEqual"===s||"strictEqual"===s)n=o(this,l(t).call(this,function(e,t,n){var i="",o="",a=0,s="",u=!1,c=S(e),l=c.split("\n"),_=S(t).split("\n"),f=0,b="";if("strictEqual"===n&&"object"===d(e)&&"object"===d(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===_.length&&l[0]!==_[0]){var E=l[0].length+_[0].length;if(E<=10){if(!("object"===d(e)&&null!==e||"object"===d(t)&&null!==t||0===e&&0===t))return"".concat(y[n],"\n\n")+"".concat(l[0]," !== ").concat(_[0],"\n")}else if("strictEqualObject"!==n&&E<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;l[0][f]===_[0][f];)f++;f>2&&(b="\n  ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",f),"^"),f=0)}}for(var $=l[l.length-1],T=_[_.length-1];$===T&&(f++<2?s="\n  ".concat($).concat(s):i=$,l.pop(),_.pop(),0!==l.length&&0!==_.length);)$=l[l.length-1],T=_[_.length-1];var A=Math.max(l.length,_.length);if(0===A){var C=c.split("\n");if(C.length>30)for(C[26]="".concat(p,"...").concat(m);C.length>27;)C.pop();return"".concat(y.notIdentical,"\n\n").concat(C.join("\n"),"\n")}f>3&&(s="\n".concat(p,"...").concat(m).concat(s),u=!0),""!==i&&(s="\n  ".concat(i).concat(s),i="");var P=0,I=y[n]+"\n".concat(g,"+ actual").concat(m," ").concat(v,"- expected").concat(m),w=" ".concat(p,"...").concat(m," Lines skipped");for(f=0;f<A;f++){var M=f-a;if(l.length<f+1)M>1&&f>2&&(M>4?(o+="\n".concat(p,"...").concat(m),u=!0):M>3&&(o+="\n  ".concat(_[f-2]),P++),o+="\n  ".concat(_[f-1]),P++),a=f,i+="\n".concat(v,"-").concat(m," ").concat(_[f]),P++;else if(_.length<f+1)M>1&&f>2&&(M>4?(o+="\n".concat(p,"...").concat(m),u=!0):M>3&&(o+="\n  ".concat(l[f-2]),P++),o+="\n  ".concat(l[f-1]),P++),a=f,o+="\n".concat(g,"+").concat(m," ").concat(l[f]),P++;else{var k=_[f],O=l[f],R=O!==k&&(!h(O,",")||O.slice(0,-1)!==k);R&&h(k,",")&&k.slice(0,-1)===O&&(R=!1,O+=","),R?(M>1&&f>2&&(M>4?(o+="\n".concat(p,"...").concat(m),u=!0):M>3&&(o+="\n  ".concat(l[f-2]),P++),o+="\n  ".concat(l[f-1]),P++),a=f,o+="\n".concat(g,"+").concat(m," ").concat(O),i+="\n".concat(v,"-").concat(m," ").concat(k),P+=2):(o+=i,i="",1!==M&&0!==f||(o+="\n  ".concat(O),P++))}if(P>20&&f<A-2)return"".concat(I).concat(w,"\n").concat(o,"\n").concat(p,"...").concat(m).concat(i,"\n")+"".concat(p,"...").concat(m)}return"".concat(I).concat(u?w:"","\n").concat(o).concat(i).concat(s).concat(b)}(c,_,s)));else if("notDeepStrictEqual"===s||"notStrictEqual"===s){var $=y[s],T=S(c).split("\n");if("notStrictEqual"===s&&"object"===d(c)&&null!==c&&($=y.notStrictEqualObject),T.length>30)for(T[26]="".concat(p,"...").concat(m);T.length>27;)T.pop();n=1===T.length?o(this,l(t).call(this,"".concat($," ").concat(T[0]))):o(this,l(t).call(this,"".concat($,"\n\n").concat(T.join("\n"),"\n")))}else{var A=S(c),C="",P=y[s];"notDeepEqual"===s||"notEqual"===s?(A="".concat(y[s],"\n\n").concat(A)).length>1024&&(A="".concat(A.slice(0,1021),"...")):(C="".concat(S(_)),A.length>512&&(A="".concat(A.slice(0,509),"...")),C.length>512&&(C="".concat(C.slice(0,509),"...")),"deepEqual"===s||"equal"===s?A="".concat(P,"\n\n").concat(A,"\n\nshould equal\n\n"):C=" ".concat(s," ").concat(C)),n=o(this,l(t).call(this,"".concat(A).concat(C)))}return Error.stackTraceLimit=E,n.generatedMessage=!i,Object.defineProperty(a(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=c,n.expected=_,n.operator=s,Error.captureStackTrace&&Error.captureStackTrace(a(n),u),n.stack,n.name="AssertionError",o(n)}var n,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,s=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_.custom,value:function(e,t){return _(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],s&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(n.prototype,s),t}(s(Error));e.exports=E},812:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}var a,s,u={};function c(e,t,n){n||(n=Error);var a=function(n){function a(n,o,s){var u,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),c=i(a).call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,o,s)),u=!c||"object"!==r(c)&&"function"!=typeof c?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this):c,u.code=e,u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,n),a}(n);u[e]=a}function l(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,s,u,c;if(void 0===a&&(a=n(804)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&"not "===t.substr(0,4)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length)," argument"===e.substring(n-9,n)}(e))s="The ".concat(e," ").concat(o," ").concat(l(t,"type"));else{var d=("number"!=typeof c&&(c=0),c+1>(u=e).length||-1===u.indexOf(".",c)?"argument":"property");s='The "'.concat(e,'" ').concat(d," ").concat(o," ").concat(l(t,"type"))}return s+". Received type ".concat(r(i))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(19));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),c("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),c("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(804)),a(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=u},673:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}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},i(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},s=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},u=Object.is?Object.is:n(884),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:n(396);function d(e){return e.call.bind(e)}var _=d(Object.prototype.hasOwnProperty),f=d(Object.prototype.propertyIsEnumerable),h=d(Object.prototype.toString),p=n(19).types,g=p.isAnyArrayBuffer,v=p.isArrayBufferView,m=p.isDate,y=p.isMap,b=p.isRegExp,S=p.isSet,E=p.isNativeError,$=p.isBoxedPrimitive,T=p.isNumberObject,A=p.isStringObject,C=p.isBooleanObject,P=p.isBigIntObject,I=p.isSymbolObject,w=p.isFloat32Array,M=p.isFloat64Array;function k(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function O(e){return Object.keys(e).filter(k).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function R(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}var D=0,L=1,x=2,N=3;function U(e,t,n,r){if(e===t)return 0!==e||!n||u(e,t);if(n){if("object"!==i(e))return"number"==typeof e&&l(e)&&l(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var a,s,c,d,_=h(e);if(_!==h(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var f=O(e),p=O(t);return f.length===p.length&&F(e,t,n,r,L,f)}if("[object Object]"===_&&(!y(e)&&y(t)||!S(e)&&S(t)))return!1;if(m(e)){if(!m(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(b(e)){if(!b(t)||(c=e,d=t,!(o?c.source===d.source&&c.flags===d.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(d))))return!1}else if(E(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(v(e)){if(n||!w(e)&&!M(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===R(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var k=O(e),U=O(t);return k.length===U.length&&F(e,t,n,r,D,k)}if(S(e))return!(!S(t)||e.size!==t.size)&&F(e,t,n,r,x);if(y(e))return!(!y(t)||e.size!==t.size)&&F(e,t,n,r,N);if(g(e)){if(s=t,(a=e).byteLength!==s.byteLength||0!==R(new Uint8Array(a),new Uint8Array(s)))return!1}else if($(e)&&!function(e,t){return T(e)?T(t)&&u(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):A(e)?A(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):C(e)?C(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):P(e)?P(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):I(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return F(e,t,n,r,D)}function B(e,t){return t.filter((function(t){return f(e,t)}))}function F(e,t,n,o,u,l){if(5===arguments.length){l=Object.keys(e);var d=Object.keys(t);if(l.length!==d.length)return!1}for(var h=0;h<l.length;h++)if(!_(t,l[h]))return!1;if(n&&5===arguments.length){var p=c(e);if(0!==p.length){var g=0;for(h=0;h<p.length;h++){var v=p[h];if(f(e,v)){if(!f(t,v))return!1;l.push(v),g++}else if(f(t,v))return!1}var m=c(t);if(p.length!==m.length&&B(t,m).length!==g)return!1}else{var y=c(t);if(0!==y.length&&0!==B(t,y).length)return!1}}if(0===l.length&&(u===D||u===L&&0===e.length||0===e.size))return!0;if(void 0===o)o={val1:new Map,val2:new Map,position:0};else{var b=o.val1.get(e);if(void 0!==b){var S=o.val2.get(t);if(void 0!==S)return b===S}o.position++}o.val1.set(e,o.position),o.val2.set(t,o.position);var E=function(e,t,n,o,u,c){var l=0;if(c===x){if(!function(e,t,n,r){for(var o=null,s=a(e),u=0;u<s.length;u++){var c=s[u];if("object"===i(c)&&null!==c)null===o&&(o=new Set),o.add(c);else if(!t.has(c)){if(n)return!1;if(!V(e,t,c))return!1;null===o&&(o=new Set),o.add(c)}}if(null!==o){for(var l=a(t),d=0;d<l.length;d++){var _=l[d];if("object"===i(_)&&null!==_){if(!j(o,_,n,r))return!1}else if(!n&&!e.has(_)&&!j(o,_,n,r))return!1}return 0===o.size}return!0}(e,t,n,u))return!1}else if(c===N){if(!function(e,t,n,o){for(var a=null,u=s(e),c=0;c<u.length;c++){var l=r(u[c],2),d=l[0],_=l[1];if("object"===i(d)&&null!==d)null===a&&(a=new Set),a.add(d);else{var f=t.get(d);if(void 0===f&&!t.has(d)||!U(_,f,n,o)){if(n)return!1;if(!W(e,t,d,_,o))return!1;null===a&&(a=new Set),a.add(d)}}}if(null!==a){for(var h=s(t),p=0;p<h.length;p++){var g=r(h[p],2),v=(d=g[0],g[1]);if("object"===i(d)&&null!==d){if(!q(a,e,d,v,n,o))return!1}else if(!(n||e.has(d)&&U(e.get(d),v,!1,o)||q(a,e,d,v,!1,o)))return!1}return 0===a.size}return!0}(e,t,n,u))return!1}else if(c===L)for(;l<e.length;l++){if(!_(e,l)){if(_(t,l))return!1;for(var d=Object.keys(e);l<d.length;l++){var f=d[l];if(!_(t,f)||!U(e[f],t[f],n,u))return!1}return d.length===Object.keys(t).length}if(!_(t,l)||!U(e[l],t[l],n,u))return!1}for(l=0;l<o.length;l++){var h=o[l];if(!U(e[h],t[h],n,u))return!1}return!0}(e,t,n,l,o,u);return o.val1.delete(e),o.val2.delete(t),E}function j(e,t,n,r){for(var i=a(e),o=0;o<i.length;o++){var s=i[o];if(U(t,s,n,r))return e.delete(s),!0}return!1}function H(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(l(e))return!1}return!0}function V(e,t,n){var r=H(n);return null!=r?r:t.has(r)&&!e.has(r)}function W(e,t,n,r,i){var o=H(n);if(null!=o)return o;var a=t.get(o);return!(void 0===a&&!t.has(o)||!U(r,a,!1,i))&&!e.has(o)&&U(r,a,!1,i)}function q(e,t,n,r,i,o){for(var s=a(e),u=0;u<s.length;u++){var c=s[u];if(U(n,c,i,o)&&U(r,t.get(c),i,o))return e.delete(c),!0}return!1}e.exports={isDeepEqual:function(e,t){return U(e,t,!1)},isDeepStrictEqual:function(e,t){return U(e,t,!0)}}},737:(e,t,n)=>{"use strict";var r=n(528),i=n(235),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},235:(e,t,n)=>{"use strict";var r=n(156),i=n(528),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);return u&&c&&u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},399:(e,t,n)=>{var r=n(19),i=n(804);function o(){return(new Date).getTime()}var a,s=Array.prototype.slice,u={};a=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(e){u[e]=o()},"time"],[function(e){var t=u[e];if(!t)throw new Error("No such label: "+e);delete u[e];var n=o()-t;a.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),a.error(e.stack)},"trace"],[function(e){a.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);i.ok(!1,r.format.apply(null,t))}},"assert"]],l=0;l<c.length;l++){var d=c[l],_=d[0],f=d[1];a[f]||(a[f]=_)}e.exports=a},506:(e,t,n)=>{"use strict";var r=n(438),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=n(320)(),c=s&&u,l=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(i=r)||"[object Function]"!==o.call(i)||!r())return;var i;c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},d=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)l(e,o[s],t[o[s]],n[o[s]])};d.supportsDescriptors=!!c,e.exports=d},473:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a++){var u=o[a],c=Object.getOwnPropertyDescriptor(i,u);void 0!==c&&c.enumerable&&(n[u]=i[u])}}return n}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},25:(e,t,n)=>{"use strict";var r=n(765),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},521:e=>{"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var i,o=t.call(arguments,1),a=Math.max(0,r.length-o.length),s=[],u=0;u<a;u++)s.push("$"+u);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i}},156:(e,t,n)=>{"use strict";var r=n(521);e.exports=Function.prototype.bind||r},528:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(465)(),_=n(209)(),f=Object.getPrototypeOf||(_?function(e){return e.__proto__}:null),h={},p="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(156),S=n(776),E=b.call(Function.call,Array.prototype.concat),$=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),A=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,w=function(e,t){var n,r=e;if(S(y,r)&&(r="%"+(n=y[r])[0]+"%"),S(g,r)){var o=g[r];if(o===h&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,P,(function(e,t,n,i){r[r.length]=n?T(i,I,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=w("%"+r+"%",t),s=o.name,c=o.value,l=!1,d=o.alias;d&&(r=d[0],$(n,E([0,1],d)));for(var _=1,f=!0;_<n.length;_+=1){var h=n[_],p=A(h,0,1),v=A(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===v||"'"===v||"`"===v)&&p!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(l=!0),S(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&_+1>=n.length){var m=u(c,h);c=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[h]}else f=S(c,h),c=c[h];f&&!l&&(g[s]=c)}}return c}},455:(e,t,n)=>{"use strict";var r=n(528)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},320:(e,t,n)=>{"use strict";var r=n(528)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},209:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},465:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(73);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},73:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},686:(e,t,n)=>{"use strict";var r=n(73);e.exports=function(){return r()&&!!Symbol.toStringTag}},776:(e,t,n)=>{"use strict";var r=n(156);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},111:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},43:(e,t,n)=>{"use strict";var r=n(686)(),i=n(737)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},765:e=>{"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var _=document.all;u.call(_)===u.call(document.all)&&(d=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},936:(e,t,n)=>{"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(686)(),u=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&u(t)}return u(e)===r}},387:e=>{"use strict";e.exports=function(e){return e!=e}},396:(e,t,n)=>{"use strict";var r=n(235),i=n(506),o=n(387),a=n(956),s=n(386),u=r(a(),Number);i(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},956:(e,t,n)=>{"use strict";var r=n(387);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},386:(e,t,n)=>{"use strict";var r=n(506),i=n(956);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},421:(e,t,n)=>{"use strict";var r=n(25),i=n(206),o=n(737),a=o("Object.prototype.toString"),s=n(686)(),u=n(455),c="undefined"==typeof globalThis?n.g:globalThis,l=i(),d=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},_=o("String.prototype.slice"),f={},h=Object.getPrototypeOf;s&&u&&h&&r(l,(function(e){var t=new c[e];if(Symbol.toStringTag in t){var n=h(t),r=u(n,Symbol.toStringTag);if(!r){var i=h(n);r=u(i,Symbol.toStringTag)}f[e]=r.get}})),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=_(a(e),8,-1);return d(l,t)>-1}return!!u&&function(e){var t=!1;return r(f,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},220:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},884:(e,t,n)=>{"use strict";var r=n(506),i=n(235),o=n(220),a=n(453),s=n(789),u=i(a(),Object);r(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},453:(e,t,n)=>{"use strict";var r=n(220);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},789:(e,t,n)=>{"use strict";var r=n(453),i=n(506);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},113:(e,t,n)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(441),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},_={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!_["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=a(e),s=t&&"[object String]"===o.call(e),_=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)_.push(String(p));if(r&&e.length>0)for(var g=0;g<e.length;++g)_.push(String(g));else for(var v in e)h&&"prototype"===v||!i.call(e,v)||_.push(String(v));if(u)for(var m=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<l.length;++y)m&&"constructor"===l[y]||!i.call(e,l[y])||_.push(l[y]);return _}}e.exports=r},438:(e,t,n)=>{"use strict";var r=Array.prototype.slice,i=n(441),o=Object.keys,a=o?function(e){return o(e)}:n(113),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},441:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},158:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],c=!1,l=-1;function d(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&_())}function _(){if(!c){var e=a(d);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||a(_)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},423:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",d="model",_="name",f="type",h="vendor",p="version",g="architecture",v="console",m="mobile",y="tablet",b="smarttv",S="wearable",E="embedded",$="Amazon",T="Apple",A="ASUS",C="BlackBerry",P="Browser",I="Chrome",w="Firefox",M="Google",k="Huawei",O="LG",R="Microsoft",D="Motorola",L="Opera",x="Samsung",N="Sharp",U="Sony",B="Xiaomi",F="Zebra",j="Facebook",H="Chromium OS",V="Mac OS",W=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},q=function(e,t){return typeof e===c&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===c)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},K=function(e,t){for(var n,r,i,s,c,l,d=0;d<t.length&&!c;){var _=t[d],f=t[d+1];for(n=r=0;n<_.length&&!c&&_[n];)if(c=_[n++].exec(e))for(i=0;i<f.length;i++)l=c[++r],typeof(s=f[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;d+=2}},z=function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(q(t[n][r],e))return"?"===n?o:n}else if(q(t[n],e))return"?"===n?o:n;return e},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[_,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[_,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[_,p],[/opios[\/ ]+([\w\.]+)/i],[p,[_,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[_,L]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[_,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[_,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[p,[_,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[_,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[_,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[_,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[_,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[_,/(.+)/,"$1 Secure "+P],p],[/\bfocus\/([\w\.]+)/i],[p,[_,w+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[_,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[_,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[_,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[_,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[_,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[p,[_,w]],[/\bqihu|(qi?ho?o?|360)browser/i],[[_,"360 "+P]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[_,/(.+)/,"$1 "+P],p],[/(comodo_dragon)\/([\w\.]+)/i],[[_,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[_,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[_],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[_,j],p],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[_,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[_,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[_,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[_,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[_,I+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[_,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[_,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[_,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,_],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[_,[p,z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[_,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[_,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[_,w+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[_,p],[/(cobalt)\/([\w\.]+)/i],[_,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,G]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,x],[f,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,x],[f,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,T],[f,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,T],[f,y]],[/(macintosh);/i],[d,[h,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,N],[f,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,k],[f,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,k],[f,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,D],[f,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,D],[f,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,O],[f,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,O],[f,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,m]],[/(pixel c)\b/i],[d,[h,M],[f,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,M],[f,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,U],[f,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,U],[f,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,$],[f,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,$],[f,m]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,C],[f,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,A],[f,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,A],[f,m]],[/(nexus 9)/i],[d,[h,"HTC"],[f,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,y]],[/(surface duo)/i],[d,[h,R],[f,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,m]],[/(u304aa)/i],[d,[h,"AT&T"],[f,m]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,m]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,y]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,y]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,y]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,m]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,m]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,y]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,y]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,m]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,y]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,y]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,y]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,y]],[/(sprint) (\w+)/i],[h,d,[f,m]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,R],[f,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,F],[f,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,F],[f,m]],[/smart-tv.+(samsung)/i],[h,[f,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,x],[f,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,O],[f,b]],[/(apple) ?tv/i],[h,[d,T+" TV"],[f,b]],[/crkey/i],[[d,I+"cast"],[h,M],[f,b]],[/droid.+aft(\w)( bui|\))/i],[d,[h,$],[f,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,N],[f,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,U],[f,b]],[/(mitv-\w{5}) bui/i],[d,[h,B],[f,b]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Y],[d,Y],[f,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[d,[h,U],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,R],[f,v]],[/((pebble))app/i],[h,d,[f,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,T],[f,S]],[/droid.+; (glass) \d/i],[d,[h,M],[f,S]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,F],[f,S]],[/(quest( 2| pro)?)/i],[d,[h,j],[f,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,E]],[/(aeobc)\b/i],[d,[h,$],[f,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[f,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,m]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[_,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[_,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[_,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,_]],os:[[/microsoft (windows) (vista|xp)/i],[_,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[_,[p,z,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[_,"Windows"],[p,z,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[_,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[_,V],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,_],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[_,p],[/\(bb(10);/i],[p,[_,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[_,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[_,w+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[_,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[_,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[_,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[_,H],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[_,p],[/(sunos) ?([\w\.\d]*)/i],[[_,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[_,p]]},J=function(e,t){if(typeof e===u&&(t=e,e=o),!(this instanceof J))return new J(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:o,b=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Q,t):Q,S=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[_]=o,t[p]=o,K.call(t,r,b.browser),t[l]=typeof(e=t[p])===c?e.replace(/[^\d\.]/g,"").split(".")[0]:o,S&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[_]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,K.call(e,r,b.cpu),e},this.getDevice=function(){var e={};return e[h]=o,e[d]=o,e[f]=o,K.call(e,r,b.device),S&&!e[f]&&v&&v.mobile&&(e[f]=m),S&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=y),e},this.getEngine=function(){var e={};return e[_]=o,e[p]=o,K.call(e,r,b.engine),e},this.getOS=function(){var e={};return e[_]=o,e[p]=o,K.call(e,r,b.os),S&&!e[_]&&v&&"Unknown"!=v.platform&&(e[_]=v.platform.replace(/chrome os/i,H).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===c&&e.length>350?Y(e,350):e,this},this.setUA(r),this};J.VERSION="0.7.35",J.BROWSER=W([_,p,l]),J.CPU=W([g]),J.DEVICE=W([d,h,f,v,m,b,y,S,E]),J.ENGINE=J.OS=W([_,p]),typeof t!==s?(e.exports&&(t=e.exports=J),t.UAParser=J):n.amdO?(r=function(){return J}.call(t,n,t,e))===o||(e.exports=r):typeof i!==s&&(i.UAParser=J);var Z=typeof i!==s&&(i.jQuery||i.Zepto);if(Z&&!Z.ua){var ee=new J;Z.ua=ee.getResult(),Z.ua.get=function(){return ee.getUA()},Z.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Z.ua[n]=t[n]}}}("object"==typeof window?window:this)},502:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},268:(e,t,n)=>{"use strict";var r=n(43),i=n(936),o=n(154),a=n(421);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),d=s(Number.prototype.valueOf),_=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(c)var p=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===l(e)}function m(e){return"[object Set]"===l(e)}function y(e){return"[object WeakMap]"===l(e)}function b(e){return"[object WeakSet]"===l(e)}function S(e){return"[object ArrayBuffer]"===l(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(S.working?S(e):e instanceof ArrayBuffer)}function $(e){return"[object DataView]"===l(e)}function T(e){return"undefined"!=typeof DataView&&($.working?$(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||T(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(m.working?m(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),t.isWeakSet=function(e){return b(e)},S.working="undefined"!=typeof ArrayBuffer&&S(new ArrayBuffer),t.isArrayBuffer=E,$.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&$(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=T;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(e){return"[object SharedArrayBuffer]"===l(e)}function P(e){return void 0!==A&&(void 0===C.working&&(C.working=C(new A)),C.working?C(e):e instanceof A)}function I(e){return g(e,d)}function w(e){return g(e,_)}function M(e){return g(e,f)}function k(e){return u&&g(e,h)}function O(e){return c&&g(e,p)}t.isSharedArrayBuffer=P,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=I,t.isStringObject=w,t.isBooleanObject=M,t.isBigIntObject=k,t.isSymbolObject=O,t.isBoxedPrimitive=function(e){return I(e)||w(e)||M(e)||k(e)||O(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||P(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},19:(e,t,n)=>{var r=n(158),i=n(399),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},a=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(a,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<i;s=r[++n])m(s)||!$(s)?o+=" "+s:o+=" "+l(s);return o},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),o=!0}return e.apply(this,arguments)}};var s={},u=/^$/;if(r.env.NODE_DEBUG){var c=r.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+c+"$","i")}function l(e,n){var r={seen:[],stylize:_};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&t._extend(r,n),S(r.showHidden)&&(r.showHidden=!1),S(r.depth)&&(r.depth=2),S(r.colors)&&(r.colors=!1),S(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=d),f(r,e,r.depth)}function d(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function _(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=f(e,i,r)),i}var o=function(e,t){if(S(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):v(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),A(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(C(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(E(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(T(n))return e.stylize(Date.prototype.toString.call(n),"date");if(A(n))return h(n)}var c,l="",d=!1,_=["{","}"];return g(n)&&(d=!0,_=["[","]"]),C(n)&&(l=" [Function"+(n.name?": "+n.name:"")+"]"),E(n)&&(l=" "+RegExp.prototype.toString.call(n)),T(n)&&(l=" "+Date.prototype.toUTCString.call(n)),A(n)&&(l=" "+h(n)),0!==a.length||d&&0!=n.length?r<0?E(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=d?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)M(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,d)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,_)):_[0]+l+_[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),M(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),S(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function m(e){return null===e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function S(e){return void 0===e}function E(e){return $(e)&&"[object RegExp]"===P(e)}function $(e){return"object"==typeof e&&null!==e}function T(e){return $(e)&&"[object Date]"===P(e)}function A(e){return $(e)&&("[object Error]"===P(e)||e instanceof Error)}function C(e){return"function"==typeof e}function P(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!s[e])if(u.test(e)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(268),t.isArray=g,t.isBoolean=v,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=S,t.isRegExp=E,t.types.isRegExp=E,t.isObject=$,t.isDate=T,t.types.isDate=T,t.isError=A,t.types.isNativeError=A,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(502);var w=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;i.log("%s - %s",(n=[I((e=new Date).getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":"),[e.getDate(),w[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(111),t._extend=function(e,t){if(!t||!$(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var k="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(k&&e[k]){var t;if("function"!=typeof(t=e[k]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),k&&Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=k,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(a.bind(null,null,e))}),(function(e){r.nextTick(O.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},154:(e,t,n)=>{"use strict";var r=n(25),i=n(206),o=n(737),a=n(455),s=o("Object.prototype.toString"),u=n(686)(),c="undefined"==typeof globalThis?n.g:globalThis,l=i(),d=o("String.prototype.slice"),_={},f=Object.getPrototypeOf;u&&a&&f&&r(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var n=f(t),r=a(n,Symbol.toStringTag);if(!r){var i=f(n);r=a(i,Symbol.toStringTag)}_[e]=r.get}}}));var h=n(421);e.exports=function(e){return!!h(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return r(_,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):d(s(e),8,-1))}},206:(e,t,n)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r);class e{constructor(e,t=void 0){this.delegate=e,this.namespace=t?`${t}$`:t}withNamespace(t){if(!t)throw new Error("Cannot create child storage instance without a valid namespace");return new e(this.delegate,this.namespace?`${this.namespace}${t}`:t)}get(e){return this.delegate.get(this.namespace,e)}set(e,t){return this.delegate.set(this.namespace,e,String(t))}getAll(e){return this.delegate.getAll(this.namespace,e)}setAll(e){return Object.keys(e).map((function(t,n){e[t]=String(e[t])})),this.delegate.setAll(this.namespace,e)}setAndForget(e,t){return this.delegate.setAndForget(this.namespace,e,t)}clear(){return this.delegate.clear(this.namespace)}}var t=n(399);let i=!0;const o=e=>(...n)=>i&&t[e](...n),a=()=>{i=!1};a();const s={debug:o("debug"),info:o("info"),warn:o("warn"),error:o("error"),enable:()=>{i=!0},disable:a,abbreviate:(e,t=500)=>e.length>t-3?`${e.slice(0,t-3)}...`:e},u={};class c{constructor(t){this.targetPlatform=t,this.getConnectionInfo=t.getConnectionInfo,this.localStorage=new e(t.localStorage),this.log=s}getPlatformInfo(){return e="platformInfo",t=this.targetPlatform.getPlatformInfo,void 0===u[e]&&(u[e]=t()),u[e];var e,t}getConnectionInfo(){return this.targetPlatform.getConnectionInfo()}}var l=n(423);const d=new(n.n(l)())(window.navigator.userAgent).getResult(),_=(()=>{const e=screen.width,t=screen.height;return{longDimension:e,shortDimension:t,dpi:0,token:`${e}x${t}@0`}})(),f={hardwareManufacturer:"unknown",hardwareModel:d.os.name,hardwareVersion:d.os.version,softwarePlatform:d.browser.name,softwareVersion:d.browser.version,mobileCarrier:"unknown",isEmulator:!1,displayParameters:_,locale:"unknown",securityMode:"unknown"},h=(()=>{const e="nexus-web-application-identifier";let t=(n=e,document.cookie.replace(new RegExp(`(?:(?:^|.*;\\s*)${n}\\s*\\=\\s*([^;]*).*$)|^.*$`),"$1"));var n;if(t){const e=t.split("|");return{id:e[0],timestamp:e[1]}}const r={id:(i=(new Date).getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=(i+16*Math.random())%16|0;return i=Math.floor(i/16),("x"==e?t:3&t|8).toString(16)}))),timestamp:Date.now().toString()};var i;return document.cookie=`${e}=${r.id}|${r.timestamp};path=/;max-age=2147483647`,r})(),p={applicationIdentifier:h.id,identifierSetTimestamp:h.timestamp},g={nexusTarget:"web",nexusVariant:"web",nexusVersion:"2.2.27",inProduction:!1};class v{enable(){s.enable()}disable(){s.disable()}enableJSNativeLogging(){}disableJSNativeLogging(){}}const m=(e,t)=>e?`${e}_${t}`:t;n.g.NexusPlatform=new c(new class{getPlatformInfo(){return Promise.resolve({device:f,application:p,nexus:g})}getConnectionInfo(){return function(){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;let t="unknown",n="unknown";return e&&(t="string"==typeof e.effectiveType?e.effectiveType:t,n="number"==typeof e.downlink?1e6*e.downlink:n),Promise.resolve({connectionType:t,bandwidthBps:n,isConnectionMetered:null})}()}constructor(e){this.localStorage=e,this.log=new v}}(new class{constructor(e){this._localStorage=e}_getItem(e,t){return this._localStorage.getItem(m(e,t))}_setItem(e,t,n){this._localStorage.setItem(m(e,t),n)}_removeItem(e,t){this._localStorage.removeItem(m(e,t))}_setAndForgetSync(e,t,n){this._setItem(e,t,n)}_setSync(e,t,n){const r=this._getItem(e,t);return this._setAndForgetSync(e,t,n),r}_clear(e){for(var t in this._localStorage)t.startsWith(e)&&this._localStorage.removeItem(t)}get(e,t){return new Promise((n=>n(this._getItem(e,t))))}setAndForget(e,t,n){try{this._setAndForgetSync(e,t,n)}catch(n){s.error(`Failed to setAndForget() property ${m(e,t)}`,n)}}set(e,t,n){return new Promise((r=>r(this._setSync(e,t,n))))}getAll(e,t){return new Promise((n=>{const r={};for(var i of t)r[i]=this._getItem(e,i);n(r)}))}setAll(e,t){return new Promise((n=>{const r={};for(var i in t)r[i]=this._setSync(e,i,t[i]);n(r)}))}clear(e){return new Promise((t=>{this._clear(e),t()}))}}(localStorage))),n.g.Origin=n.g.NexusPlatform,"undefined"!=typeof localStorage&&(n.g.localAsyncStorage=c.localStorage)})(),r})(),e.exports=t()},17306:(e,t,n)=>{e=n.nmd(e);var r,i=n(23716);n.g,r=()=>(()=>{var r={8404:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Left:()=>u,Right:()=>c,URI:()=>s,alt:()=>V,ap:()=>W,apFirst:()=>q,apSecond:()=>G,bimap:()=>Y,chain:()=>K,chainFirst:()=>z,duplicate:()=>X,either:()=>D,elem:()=>U,extend:()=>Q,filterOrElse:()=>oe,flatten:()=>J,fold:()=>L,foldMap:()=>Z,fromNullable:()=>b,fromOption:()=>y,fromOptionL:()=>ae,fromPredicate:()=>ie,fromRefinement:()=>m,fromValidation:()=>T,getApplyMonoid:()=>p,getApplySemigroup:()=>h,getCompactable:()=>P,getEq:()=>_,getFilterable:()=>I,getOrElse:()=>N,getSemigroup:()=>f,getSetoid:()=>d,getShow:()=>l,getValidation:()=>B,getValidationMonoid:()=>j,getValidationSemigroup:()=>F,getWitherable:()=>w,isLeft:()=>A,isRight:()=>C,left:()=>g,map:()=>ee,mapLeft:()=>te,orElse:()=>x,parseJSON:()=>M,reduce:()=>ne,reduceRight:()=>re,right:()=>v,stringifyJSON:()=>k,toError:()=>S,tryCatch:()=>E,tryCatch2v:()=>$});var r=n(7050),i=n(3975),o=n(327),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},a.apply(this,arguments)},s="Either",u=function(){function e(e){this.value=e,this._tag="Left"}return e.prototype.map=function(e){return this},e.prototype.ap=function(e){return e.isLeft()?e:this},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return this},e.prototype.bimap=function(t,n){return new e(t(this.value))},e.prototype.alt=function(e){return e},e.prototype.orElse=function(e){return e(this.value)},e.prototype.extend=function(e){return this},e.prototype.reduce=function(e,t){return e},e.prototype.fold=function(e,t){return e(this.value)},e.prototype.getOrElse=function(e){return e},e.prototype.getOrElseL=function(e){return e(this.value)},e.prototype.mapLeft=function(t){return new e(t(this.value))},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"left("+(0,r.BB)(this.value)+")"},e.prototype.isLeft=function(){return!0},e.prototype.isRight=function(){return!1},e.prototype.swap=function(){return new c(this.value)},e.prototype.filterOrElse=function(e,t){return this},e.prototype.filterOrElseL=function(e,t){return this},e.prototype.refineOrElse=function(e,t){return this},e.prototype.refineOrElseL=function(e,t){return this},e}(),c=function(){function e(e){this.value=e,this._tag="Right"}return e.prototype.map=function(t){return new e(t(this.value))},e.prototype.ap=function(e){return e.isRight()?this.map(e.value):g(e.value)},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return e(this.value)},e.prototype.bimap=function(t,n){return new e(n(this.value))},e.prototype.alt=function(e){return this},e.prototype.orElse=function(e){return this},e.prototype.extend=function(t){return new e(t(this))},e.prototype.reduce=function(e,t){return t(e,this.value)},e.prototype.fold=function(e,t){return t(this.value)},e.prototype.getOrElse=function(e){return this.value},e.prototype.getOrElseL=function(e){return this.value},e.prototype.mapLeft=function(t){return new e(this.value)},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"right("+(0,r.BB)(this.value)+")"},e.prototype.isLeft=function(){return!1},e.prototype.isRight=function(){return!0},e.prototype.swap=function(){return new u(this.value)},e.prototype.filterOrElse=function(e,t){return e(this.value)?this:g(t)},e.prototype.filterOrElseL=function(e,t){return e(this.value)?this:g(t(this.value))},e.prototype.refineOrElse=function(e,t){return e(this.value)?this:g(t)},e.prototype.refineOrElseL=function(e,t){return e(this.value)?this:g(t(this.value))},e}(),l=function(e,t){return{show:function(n){return n.fold((function(t){return"left("+e.show(t)+")"}),(function(e){return"right("+t.show(e)+")"}))}}},d=_;function _(e,t){return(0,i.f7)((function(n,r){return n.isLeft()?r.isLeft()&&e.equals(n.value,r.value):r.isRight()&&t.equals(n.value,r.value)}))}var f=function(e){return{concat:function(t,n){return n.isLeft()?t:t.isLeft()?n:v(e.concat(t.value,n.value))}}},h=function(e){return{concat:function(t,n){return t.isLeft()?t:n.isLeft()?n:v(e.concat(t.value,n.value))}}},p=function(e){return a({},h(e),{empty:v(e.empty)})},g=function(e){return new u(e)},v=function(e){return new c(e)},m=function(e,t){return function(n){return e(n)?v(n):g(t(n))}},y=function(e){return function(t){return t.isNone()?g(e):v(t.value)}},b=function(e){return function(t){return null==t?g(e):v(t)}},S=function(e){return e instanceof Error?e:new Error(String(e))},E=function(e,t){return void 0===t&&(t=S),$(e,t)},$=function(e,t){try{return v(e())}catch(e){return g(t(e))}},T=function(e){return e.isFailure()?g(e.value):v(e.value)},A=function(e){return e.isLeft()},C=function(e){return e.isRight()};function P(e){return{URI:s,_L:void 0,compact:function(t){return t.isLeft()?t:t.value.isNone()?g(e.empty):v(t.value.value)},separate:function(t){return t.isLeft()?{left:t,right:t}:t.value.isLeft()?{left:v(t.value.value),right:g(e.empty)}:{left:g(e.empty),right:v(t.value.value)}}}}function I(e){var t=P(e);return a({},t,{map:D.map,partitionMap:function(t,n){if(t.isLeft())return{left:t,right:t};var r=n(t.value);return r.isLeft()?{left:v(r.value),right:g(e.empty)}:{left:g(e.empty),right:v(r.value)}},filterMap:function(t,n){if(t.isLeft())return t;var r=n(t.value);return r.isSome()?v(r.value):g(e.empty)},partition:function(t,n){return t.isLeft()?{left:t,right:t}:n(t.value)?{left:g(e.empty),right:v(t.value)}:{left:v(t.value),right:g(e.empty)}},filter:function(t,n){return t.filterOrElse(n,e.empty)}})}function w(e){var t=I(e);return a({},t,{traverse:D.traverse,reduce:D.reduce,wither:function(e){var n=D.traverse(e);return function(r,i){return e.map(n(r,i),t.compact)}},wilt:function(e){var n=D.traverse(e);return function(r,i){return e.map(n(r,i),t.separate)}}})}var M=function(e,t){return $((function(){return JSON.parse(e)}),t)},k=function(e,t){return $((function(){return JSON.stringify(e)}),t)},O=g,R=r.yR,D={URI:s,map:function(e,t){return e.map(t)},of:v,ap:function(e,t){return t.ap(e)},chain:function(e,t){return e.chain(t)},reduce:function(e,t,n){return e.reduce(t,n)},foldMap:function(e){return function(t,n){return t.isLeft()?e.empty:n(t.value)}},foldr:function(e,t,n){return e.isLeft()?t:n(e.value,t)},traverse:function(e){return function(t,n){return t.isLeft()?e.of(g(t.value)):e.map(n(t.value),v)}},sequence:function(e){return function(t){return t.isLeft()?e.of(g(t.value)):e.map(t.value,v)}},bimap:function(e,t,n){return e.bimap(t,n)},alt:function(e,t){return e.alt(t)},extend:function(e,t){return e.extend(t)},chainRec:function(e,t){return function(e,t){for(var n=e(t);n.isLeft();)n=e(n.value);return n.value}((function(e){if(e.isLeft())return v(g(e.value));var n=e.value;return n.isLeft()?g(t(n.value)):v(v(n.value))}),t(e))},throwError:O,fromEither:R,fromOption:function(e,t){return e.isNone()?O(t):v(e.value)}};function L(e,t){return function(n){return n.fold(e,t)}}function x(e){return function(t){return t.orElse(e)}}function N(e){return function(t){return t.getOrElseL(e)}}function U(e){return function(t){return function(n){return!A(n)&&e.equals(t,n.value)}}}function B(e){return{URI:s,_L:void 0,map:D.map,of:D.of,ap:function(t,n){return A(t)?A(n)?g(e.concat(t.value,n.value)):t:A(n)?n:v(t.value(n.value))},chain:D.chain,alt:function(t,n){return C(t)?t:A(n)?g(e.concat(t.value,n.value)):n}}}function F(e,t){return{concat:function(n,r){return A(n)?A(r)?g(e.concat(n.value,r.value)):n:A(r)?r:v(t.concat(n.value,r.value))}}}function j(e,t){return{concat:F(e,t).concat,empty:v(t.empty)}}var H=(0,o.pipeable)(D),V=H.alt,W=H.ap,q=H.apFirst,G=H.apSecond,Y=H.bimap,K=H.chain,z=H.chainFirst,X=H.duplicate,Q=H.extend,J=H.flatten,Z=H.foldMap,ee=H.map,te=H.mapLeft,ne=H.reduce,re=H.reduceRight,ie=H.fromPredicate,oe=H.filterOrElse,ae=H.fromOption},3975:(e,t,n)=>{"use strict";n.d(t,{f7:()=>i,lr:()=>s,vD:()=>u,yv:()=>a});var r=n(327);function i(e){return{equals:function(t,n){return t===n||e(t,n)}}}var o={equals:function(e,t){return e===t}},a=o,s=o,u=o,c={URI:"Eq",contramap:function(e,t){return i((function(n,r){return e.equals(t(n),t(r))}))}};(0,r.pipeable)(c).contramap,c.contramap(s,(function(e){return e.valueOf()}))},566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{None:()=>f,Some:()=>p,URI:()=>_,alt:()=>G,ap:()=>Y,apFirst:()=>K,apSecond:()=>z,chain:()=>X,chainFirst:()=>Q,compact:()=>ce,duplicate:()=>J,elem:()=>H,exists:()=>V,extend:()=>Z,filter:()=>ee,filterMap:()=>te,flatten:()=>ne,fold:()=>U,foldMap:()=>re,fromEither:()=>w,fromNullable:()=>C,fromPredicate:()=>P,fromRefinement:()=>O,getApplyMonoid:()=>E,getApplySemigroup:()=>S,getEq:()=>m,getFirstMonoid:()=>$,getLastMonoid:()=>T,getLeft:()=>x,getMonoid:()=>A,getOrElse:()=>j,getOrd:()=>y,getRefinement:()=>R,getRight:()=>N,getSetoid:()=>v,getShow:()=>g,isNone:()=>k,isSome:()=>M,map:()=>ie,mapNullable:()=>W,none:()=>h,option:()=>L,partition:()=>oe,partitionMap:()=>ae,reduce:()=>se,reduceRight:()=>ue,separate:()=>le,some:()=>b,toNullable:()=>B,toUndefined:()=>F,tryCatch:()=>I});var r=n(7050),i=function(){return i=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},i.apply(this,arguments)};i({},{concat:function(e,t){return e&&t}},{empty:!0}),i({},{concat:function(e,t){return e||t}},{empty:!1}),r.zo,i({},{concat:function(e,t){return e+t}},{empty:0}),i({},{concat:function(e,t){return e*t}},{empty:1}),i({},{concat:function(e,t){return e+t}},{empty:""}),i({},{concat:function(){}},{empty:void 0});var o=n(3975),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},a.apply(this,arguments)},s=function(e,t){return e<t?-1:e>t?1:0},u=(a({},o.yv,{compare:s}),a({},o.lr,{compare:s})),c=(a({},o.vD,{compare:s}),function(e){var t=function(t,n){return t===n?0:e(t,n)};return{equals:function(e,n){return 0===t(e,n)},compare:t}});!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];1===e.length||function(e,t){c((0,r.on)(t.compare)(e))}(e[0],e[1])}((function(e){return e.valueOf()}),u);var l=n(327),d=function(){return d=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},d.apply(this,arguments)},_="Option",f=function(){function e(){this._tag="None"}return e.prototype.map=function(e){return h},e.prototype.mapNullable=function(e){return h},e.prototype.ap=function(e){return h},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return h},e.prototype.reduce=function(e,t){return e},e.prototype.alt=function(e){return e},e.prototype.orElse=function(e){return e()},e.prototype.extend=function(e){return h},e.prototype.fold=function(e,t){return e},e.prototype.foldL=function(e,t){return e()},e.prototype.getOrElse=function(e){return e},e.prototype.getOrElseL=function(e){return e()},e.prototype.toNullable=function(){return null},e.prototype.toUndefined=function(){},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"none"},e.prototype.contains=function(e,t){return!1},e.prototype.isNone=function(){return!0},e.prototype.isSome=function(){return!1},e.prototype.exists=function(e){return!1},e.prototype.filter=function(e){return h},e.prototype.refine=function(e){return h},e.value=new e,e}(),h=f.value,p=function(){function e(e){this.value=e,this._tag="Some"}return e.prototype.map=function(t){return new e(t(this.value))},e.prototype.mapNullable=function(e){return C(e(this.value))},e.prototype.ap=function(t){return t.isNone()?h:new e(t.value(this.value))},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return e(this.value)},e.prototype.reduce=function(e,t){return t(e,this.value)},e.prototype.alt=function(e){return this},e.prototype.orElse=function(e){return this},e.prototype.extend=function(t){return new e(t(this))},e.prototype.fold=function(e,t){return t(this.value)},e.prototype.foldL=function(e,t){return t(this.value)},e.prototype.getOrElse=function(e){return this.value},e.prototype.getOrElseL=function(e){return this.value},e.prototype.toNullable=function(){return this.value},e.prototype.toUndefined=function(){return this.value},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"some("+(0,r.BB)(this.value)+")"},e.prototype.contains=function(e,t){return e.equals(this.value,t)},e.prototype.isNone=function(){return!1},e.prototype.isSome=function(){return!0},e.prototype.exists=function(e){return e(this.value)},e.prototype.filter=function(e){return this.exists(e)?this:h},e.prototype.refine=function(e){return this.filter(e)},e}(),g=function(e){return{show:function(t){return t.fold("none",(function(t){return"some("+e.show(t)+")"}))}}},v=m;function m(e){return(0,o.f7)((function(t,n){return t.isNone()?n.isNone():!n.isNone()&&e.equals(t.value,n.value)}))}var y=function(e){return c((function(t,n){return t.isSome()?n.isSome()?e.compare(t.value,n.value):1:-1}))},b=function(e){return new p(e)},S=function(e){return{concat:function(t,n){return t.isSome()&&n.isSome()?b(e.concat(t.value,n.value)):h}}},E=function(e){return d({},S(e),{empty:b(e.empty)})},$=function(){return{concat:L.alt,empty:h}},T=function(){return e=$(),i({},function(e){return{concat:function(t,n){return e.concat(n,t)}}}(e),{empty:e.empty});var e},A=function(e){return{concat:function(t,n){return t.isNone()?n:n.isNone()?t:b(e.concat(t.value,n.value))},empty:h}},C=function(e){return null==e?h:new p(e)};function P(e){return function(t){return e(t)?b(t):h}}var I=function(e){try{return b(e())}catch(e){return h}},w=function(e){return e.isLeft()?h:b(e.value)},M=function(e){return e.isSome()},k=function(e){return e.isNone()},O=function(e){return function(t){return e(t)?b(t):h}},R=function(e){return function(t){return e(t).isSome()}},D={left:h,right:h},L={URI:_,map:function(e,t){return k(e)?h:b(t(e.value))},of:b,ap:function(e,t){return k(e)||k(t)?h:b(e.value(t.value))},chain:function(e,t){return k(e)?h:t(e.value)},reduce:function(e,t,n){return k(e)?t:n(t,e.value)},foldMap:function(e){return function(t,n){return k(t)?e.empty:n(t.value)}},foldr:function(e,t,n){return k(e)?t:n(e.value,t)},traverse:function(e){return function(t,n){return k(t)?e.of(h):e.map(n(t.value),b)}},sequence:function(e){return function(t){return k(t)?e.of(h):e.map(t.value,b)}},zero:function(){return h},alt:function(e,t){return k(e)?t:e},extend:function(e,t){return k(e)?h:b(t(e))},compact:function(e){return L.chain(e,r.yR)},separate:function(e){var t=L.map(e,(function(e){return{left:x(e),right:N(e)}}));return k(t)?D:t.value},filter:function(e,t){return k(e)?h:t(e.value)?e:h},filterMap:function(e,t){return k(e)?h:t(e.value)},partition:function(e,t){return{left:L.filter(e,(function(e){return!t(e)})),right:L.filter(e,t)}},partitionMap:function(e,t){return L.separate(L.map(e,t))},wither:function(e){return function(t,n){return k(t)?e.of(h):n(t.value)}},wilt:function(e){return function(t,n){var r=L.map(t,(function(t){return e.map(n(t),(function(e){return{left:x(e),right:N(e)}}))}));return k(r)?e.of({left:h,right:h}):r.value}},throwError:function(){return h},fromEither:w,fromOption:r.yR};function x(e){return"Right"===e._tag?h:b(e.value)}function N(e){return"Left"===e._tag?h:b(e.value)}function U(e,t){return function(n){return n.foldL(e,t)}}function B(e){return e.toNullable()}function F(e){return e.toUndefined()}function j(e){return function(t){return t.getOrElseL(e)}}function H(e){return function(t){return function(n){return n.contains(e,t)}}}function V(e){return function(t){return t.exists(e)}}function W(e){return function(t){return t.mapNullable(e)}}var q=(0,l.pipeable)(L),G=q.alt,Y=q.ap,K=q.apFirst,z=q.apSecond,X=q.chain,Q=q.chainFirst,J=q.duplicate,Z=q.extend,ee=q.filter,te=q.filterMap,ne=q.flatten,re=q.foldMap,ie=q.map,oe=q.partition,ae=q.partitionMap,se=q.reduce,ue=q.reduceRight,ce=q.compact,le=q.separate},7050:(e,t,n)=>{"use strict";n.d(t,{BB:()=>a,on:()=>i,yR:()=>r,zo:()=>o});var r=function(e){return e},i=function(e){return function(t){return function(n,r){return e(t(n),t(r))}}},o=function(e,t){var n=e.length;if(0===n)return t;var r=t.length;if(0===r)return e;for(var i=Array(n+r),o=0;o<n;o++)i[o]=e[o];for(o=0;o<r;o++)i[o+n]=t[o];return i},a=function(e){if("string"==typeof e)return JSON.stringify(e);if(e instanceof Date)return"new Date('"+e.toISOString()+"')";if(Array.isArray(e))return"["+e.map(a).join(", ")+"]";if("function"==typeof e)return(t=e).displayName||t.name||"<function"+t.length+">";var t;if(null==e)return String(e);if("function"==typeof e.toString&&e.toString!==Object.prototype.toString)return e.toString();try{return JSON.stringify(e,null,2)}catch(t){return String(e)}}},327:(e,t,n)=>{"use strict";n.r(t),n.d(t,{pipe:()=>i,pipeable:()=>S});var r=n(7050);function i(e,t,n,r,i,o,a,s,u,c){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return o(i(r(n(t(e)))));case 7:return a(o(i(r(n(t(e))))));case 8:return s(a(o(i(r(n(t(e)))))));case 9:return u(s(a(o(i(r(n(t(e))))))));case 10:return c(u(s(a(o(i(r(n(t(e)))))))))}}var o=function(e){return"function"==typeof e.map},a=function(e){return"function"==typeof e.contramap},s=function(e){return"function"==typeof e.mapWithIndex},u=function(e){return"function"==typeof e.ap},c=function(e){return"function"==typeof e.chain},l=function(e){return"function"==typeof e.bimap},d=function(e){return"function"==typeof e.extend},_=function(e){return"function"==typeof e.reduce},f=function(e){return"function"==typeof e.reduceWithIndex},h=function(e){return"function"==typeof e.alt},p=function(e){return"function"==typeof e.compact},g=function(e){return"function"==typeof e.filter},v=function(e){return"function"==typeof e.filterWithIndex},m=function(e){return"function"==typeof e.promap},y=function(e){return"function"==typeof e.compose},b=function(e){return"function"==typeof e.throwError};function S(e){var t={};return o(e)&&(t.map=function(t){return function(n){return e.map(n,t)}}),a(e)&&(t.contramap=function(t){return function(n){return e.contramap(n,t)}}),s(e)&&(t.mapWithIndex=function(t){return function(n){return e.mapWithIndex(n,t)}}),u(e)&&(t.ap=function(t){return function(n){return e.ap(n,t)}},t.apFirst=function(t){return function(n){return e.ap(e.map(n,(function(e){return function(){return e}})),t)}},t.apSecond=function(t){return function(n){return e.ap(e.map(n,(function(){return function(e){return e}})),t)}}),c(e)&&(t.chain=function(t){return function(n){return e.chain(n,t)}},t.chainFirst=function(t){return function(n){return e.chain(n,(function(n){return e.map(t(n),(function(){return n}))}))}},t.flatten=function(t){return e.chain(t,r.yR)}),l(e)&&(t.bimap=function(t,n){return function(r){return e.bimap(r,t,n)}},t.mapLeft=function(t){return function(n){return e.bimap(n,t,r.yR)}}),d(e)&&(t.extend=function(t){return function(n){return e.extend(n,t)}},t.duplicate=function(t){return e.extend(t,r.yR)}),_(e)&&(t.reduce=function(t,n){return function(r){return e.reduce(r,t,n)}},t.foldMap=function(t){var n=e.foldMap(t);return function(e){return function(t){return n(t,e)}}},t.reduceRight=function(t,n){return function(r){return e.foldr(r,t,n)}}),f(e)&&(t.reduceWithIndex=function(t,n){return function(r){return e.reduceWithIndex(r,t,n)}},t.foldMapWithIndex=function(t){var n=e.foldMapWithIndex(t);return function(e){return function(t){return n(t,e)}}},t.reduceRightWithIndex=function(t,n){return function(r){return e.foldrWithIndex(r,t,n)}}),h(e)&&(t.alt=function(t){return function(n){return e.alt(n,t())}}),p(e)&&(t.compact=e.compact,t.separate=e.separate),g(e)&&(t.filter=function(t){return function(n){return e.filter(n,t)}},t.filterMap=function(t){return function(n){return e.filterMap(n,t)}},t.partition=function(t){return function(n){return e.partition(n,t)}},t.partitionMap=function(t){return function(n){return e.partitionMap(n,t)}}),v(e)&&(t.filterWithIndex=function(t){return function(n){return e.filterWithIndex(n,t)}},t.filterMapWithIndex=function(t){return function(n){return e.filterMapWithIndex(n,t)}},t.partitionWithIndex=function(t){return function(n){return e.partitionWithIndex(n,t)}},t.partitionMapWithIndex=function(t){return function(n){return e.partitionMapWithIndex(n,t)}}),m(e)&&(t.promap=function(t,n){return function(r){return e.promap(r,t,n)}}),y(e)&&(t.compose=function(t){return function(n){return e.compose(n,t)}}),b(e)&&(t.fromOption=function(t){return function(n){return"None"===n._tag?e.throwError(t()):e.of(n.value)}},t.fromEither=function(t){return"Left"===t._tag?e.throwError(t.value):e.of(t.value)},t.fromPredicate=function(t,n){return function(r){return t(r)?e.of(r):e.throwError(n(r))}},t.filterOrElse=function(t,n){return function(r){return e.chain(r,(function(r){return t(r)?e.of(r):e.throwError(n(r))}))}}),t}},3578:function(e,t){var r,i;i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),u=String.fromCharCode,c=function(e){if(e.length<2)return(t=e.charCodeAt(0))<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+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(l,c)},_=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)].join("")},f=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,_)},h=function(e){return f(d(String(e)))},p=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?p(h(e)):h(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],u=e[r+2],c=o<<16|s<<8|u;n+=a.charAt(c>>>18)+a.charAt(c>>>12&63)+(void 0!==s?a.charAt(c>>>6&63):"=")+(void 0!==u?a.charAt(63&c):"=")}return t?p(n):n});var v,m=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=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(55296+(t>>>10))+u(56320+(1023&t));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))}},b=function(e){return e.replace(m,y)},S=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},E=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,S)},$=function(e){return E(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(e){return function(e){return b(E(e))}(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))};if(n.Uint8Array&&(v=function(e){return Uint8Array.from($(e),(function(e){return e.charCodeAt(0)}))}),n.Base64={VERSION:"2.6.2",atob:$,btoa:f,fromBase64:T,toBase64:g,utob:d,encode:g,encodeURI:function(e){return g(e,!0)},btou:b,decode:T,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:v},"function"==typeof Object.defineProperty){var A=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",A((function(){return T(this)}))),Object.defineProperty(String.prototype,"toBase64",A((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",A((function(){return g(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(i)},8157:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var r,o,a=[];for(o in"string"!=typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!=r&&!isNaN(r)||(r=""),o=i(o),r=i(r),null===o||null===r)continue;a.push(o+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,i={};t=n.exec(e);){var o=r(t[1]),a=r(t[2]);null===o||null===a||o in i||(i[o]=a)}return i}},3096:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},1114:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(4041),t),i(n(4859),t),i(n(6404),t),i(n(6482),t),i(n(4422),t),i(n(6734),t),i(n(6120),t),i(n(9034),t),i(n(9909),t),i(n(6631),t),i(n(4079),t)},4041:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(52),t)},6467: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.AuthTokenHelper=void 0;const i=n(9274),o=n(6120),a=n(8718),s=r(n(3136)),u=r(n(2701)),c=n(8353),l=o.Log.getLogger("AuthTokenHelper").filter("auth");function d(e){return(0,u.default)(e)&&void 0!==e.expiresAt}class _{static parse(e,t){const n=(()=>{switch(t){case i.AuthTokenType.Adobe:return a.AdobeTokenParser;case i.AuthTokenType.JWS:return a.JWSTokenParser}})();if(!n)return l.error(`Could not select parser for token type: ${t}`),c.none;let r;try{r=n.parse(e)}catch(e){return l.error(`Unable to parse ${t} auth token: ${e}`),c.none}return(0,c.fromNullable)(r)}static isExpired(e,t,n){var r,i;let o=null;if((0,s.default)(e)?o=_.parse(e,t).toNullable():d(e)&&(o=e),!o||!d(o))return c.none;const a=null!==(r=null==n?void 0:n.currentTime)&&void 0!==r?r:Date.now(),u=null!==(i=null==n?void 0:n.expiredThreshold)&&void 0!==i?i:10;return(0,c.fromNullable)(o.expiresAt.getTime()-a<=u)}}t.AuthTokenHelper=_},9274:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AuthTokenType=void 0,function(e){e.Adobe="adobe",e.JWS="jws"}(n||(t.AuthTokenType=n={}))},52:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(6467),t),i(n(9274),t)},6262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdobeTokenParser=void 0;const r=n(9274),i=/\<ttl\>(\d+)\<\/ttl\>/,o=/\<issueTime\>(.+)\<\/issueTime\>/,a=/\<requestorID\>(.+)\<\/requestorID\>/,s=/\<resourceID\>(.+)\<\/resourceID\>/;t.AdobeTokenParser={parse:e=>{const t={ttl:i.exec(e),issueTime:o.exec(e),requestorId:a.exec(e),resourceId:s.exec(e)};let n="",u="",c="",l=0;t.ttl&&t.issueTime&&(c=t.issueTime[1],l=parseInt(t.ttl[1],10));const d=e=>"Invalid Date"!==e.toString();let _=new Date(c);d(_)||(_=new Date((e=>{const t=e.split(" "),n=`${t[2].substr(0,3)}:${t[2].substr(3,5)}`;return`${t[0]}T${t[1]}${n}`})(c)));const f=new Date(_.getTime()+l);if(!d(_))throw new Error(`Invalid date string encountered while parsing Adobe auth token: ${c}`);return t.requestorId&&(n=t.requestorId[1]),t.resourceId&&(u=t.resourceId[1]),{type:r.AuthTokenType.Adobe,requestorId:n,resourceId:u,issuedAt:_,expiresAt:f}}}},3540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWSTokenParser=void 0;const r=n(9274),i=n(3578);t.JWSTokenParser={parse:e=>{const t=e.split(".")[1],{requestorId:n,resourceId:o,createdAt:a,expiresAt:s}=JSON.parse(i.Base64.atob(t));return{type:r.AuthTokenType.JWS,requestorId:n,resourceId:o,issuedAt:new Date(a),expiresAt:new Date(s)}}}},8718:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(6262),t),i(n(3540),t)},40:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedList=void 0,t.LinkedList=class{constructor(){this._length=0,this._head=null,this._tail=null}get length(){return this._length}get head(){return this._head}get tail(){return this._tail}insertBefore(e,t){const r=this.findNodeBy((t=>t===e));if(null===r)return!1;const i=n.create(t),o=r.previous;return o&&(r.previous=i,o.next=i,i.previous=o,i.next=r),this._length++,!0}insertAfter(e,t){const r=this.findNodeBy((t=>t===e));if(null===r)return!1;const i=n.create(t),o=r.next;return o&&(r.next=i,o.previous=i,i.previous=r,i.next=o),this._length++,!0}findBy(e){const t=this.findNodeBy(e);return t?t.value:null}peekBefore(e){const t=this.findNodeBy((t=>t===e));if(!t)return null;const n=t.previous;return n?n.value:null}peekAfter(e){const t=this.findNodeBy((t=>t===e));if(!t)return null;const n=t.next;return n?n.value:null}isLast(e){return e===this.last()}findNodeBy(e){let t=this._head;for(;null!==t;){if(e(t.value))return t;t=t.next}return null}findPreviousNodeBy(e){const t=this.findNodeBy(e);return t?t.previous:null}add(e){const t=this._tail,r=n.create(e);t&&(t.next=r,r.previous=t),this._head||(this._head=r),this._tail=r,this._length++}push(e){const t=this._head,r=n.create(e);t&&(t.previous=r,r.next=t),this._tail||(this._tail=r),this._head=r,this._length++}first(){return this._head?this._head.value:null}last(){return this._tail?this._tail.value:null}pop(){if(!this._head)return null;const e=this._head.value;return this._head=this._head.next,this._head||(this._tail=null),this._length--,e}isEmpty(){return null===this._head}remove(e){let t=this._head;for(;null!==t;){if(t.value===e)return t.previous?t.next?(t.previous.next=t.next,t.next.previous=t.previous):(this._tail=this._tail.previous,this._tail&&(this._tail.next=null)):(this._head=this._head.next,this._head&&(this._head.previous=null),this._tail===t&&(this._tail=this._head)),this._length--,t.value;t=t.next}return null}clear(){this._head=null,this._tail=null,this._length=0}iterator(){const e=[];let t=this._head;for(;null!==t;)e.push(t.value),t=t.next;return e}};class n{static create(e,t=null,r=null){const i=new n(e);return r&&(i.next=r),t&&(i.previous=t),i}constructor(e){this.value=e,this.previous=null,this.next=null}}},4859:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(40),t)},3914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnreachableCaseError=void 0;class n extends Error{constructor(e){super(`Unreachable case: ${e}`)}}t.UnreachableCaseError=n},6404:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(3914),t)},891:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEventCollection=t.createEvent=void 0;const r=n(3635),i=n(1808);t.createEvent=(e,t)=>new i.EventSignal(e,t),t.createEventCollection=(e,t)=>{const n=new r.EventCollection(e,t);return Object.keys(e).forEach((t=>n[t]=e[t])),n}},5162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventSignal=void 0;const r=n(9034);t.EventSignal=class{constructor(e,t){this._type=e,this._context=t,this._signal=new r.Signal(t),this._before=new r.Signal(t),this._around=new r.Signal(t),this._after=new r.Signal(t)}get type(){return this._type}get context(){return this._context}get before(){return this._before}get around(){return this._around}get after(){return this._after}listen(e,t){return this._signal.listen(e,t)}once(e,t){return this._signal.once(e,t)}dispatch(e){let t={type:this.type};e&&(t=Object.assign(Object.assign({},e),t)),this._before.dispatch(t),this._around.dispatch(t),this._signal.dispatch(t),this._around.dispatch(t),this._after.dispatch(t)}has(e){return this._signal.has(e)}count(){return this._signal.count()}unlisten(e){this._signal.unlisten(e)}unlistenAll(){this._signal.unlistenAll()}}},568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4555: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.EventCollection=void 0;const i=n(6631),o=r(n(4405));t.EventCollection=class{constructor(e,t){const n=i.ObjectUtils.getValues(e),r=o.default.getFactory(n,e,t);this._default=o.default.createFromFactory(r),this._before=o.default.createFromFactory(r.mapTo("before")),this._after=o.default.createFromFactory(r.mapTo("after")),this._around=o.default.createFromFactory(r.mapTo("around")),this._length=n.length}get before(){return this._before}get around(){return this._around}get after(){return this._after}get length(){return this._length}each(e){return this._default.each(e),this._default}once(e){return this._default.once(e)}listen(e){return this._default.listen(e)}has(e){return this._default.has(e)}unlisten(e){return this._default.unlisten(e),this._default}unlistenAll(){return this._default.unlistenAll(),this._default}removeAllListeners(){return this._default.removeAllListeners(),this._default}}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventBindingCollection=void 0;class n{constructor(e){this.id="collection_"+n.count++,this._bindings=e||[],this._detachedHandlers=[]}add(e){this._bindings.push(e)}remove(e){const t=this._bindings.indexOf(e);return-1!==t&&(this._bindings.splice(t,1),!0)}detach(){let e=!0;return this._bindings.forEach((t=>{e=e&&t.detach()})),this._detachedHandlers.forEach((e=>{e()})),this._detachedHandlers=[],e}onDetached(e){this._detachedHandlers.push(e)}empty(){return 0===this._bindings.length}}t.EventBindingCollection=n,n.count=1},4405: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});const i=n(6631),o=r(n(8799));class a{static getFactory(e,t,n){return{events:()=>e,eventMap:()=>t,context:()=>n,mapTo:e=>{const n=[],r={};return Object.keys(t).forEach((i=>{const o=(t=>{const n={before:t.before,after:t.after,around:t.around}[e];if(n)return n;throw new Error(`Invalid mapEvent type: ${e}`)})(t[i]);n.push(o),r[i]=o})),a.getFactory(n,r)}}}static createFromFactory(e){return new o.default(e.events(),e.eventMap(),e.context())}static isListenForMap(e){return i.ObjectUtils.isObj(e)}static isEventCollectionHandler(e){return i.ObjectUtils.isFunc(e)}}t.default=a},3463:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8799: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});const i=n(6631),o=n(8685),a=r(n(4405));t.default=class{constructor(e,t,n){this._context=n,this._events=e,this._eventsMap=t,this._bindings=[],this._length=this._events.length}_doEach(e){this._events.forEach((t=>e(t)))}_doListen(e){let t;if(a.default.isEventCollectionHandler(e))t=this._doListenForAll(e);else{if(!a.default.isListenForMap(e))throw new Error(`[doListen] invalid handler data type, got: ${e}`);t=this._doListenForMap(e)}return this._bindings.push(t),t}_doHas(e){return e instanceof o.EventBindingCollection&&-1!==this._bindings.indexOf(e)}_doUnlisten(e){if(e instanceof o.EventBindingCollection){const t=this._bindings.indexOf(e);this._bindings.splice(t,1),e.detach()}}_doListenOnce(e){let t;if(a.default.isEventCollectionHandler(e))t=this._doListenOnceForAll(e);else{if(!a.default.isListenForMap(e))throw new Error(`[doListenOnce] invalid handler data type, got: ${e}`);t=this._doListenForMapOnce(e)}return this._bindings.push(t),t}_doListenOnceForAll(e){const t=new o.EventBindingCollection;return this._doEach((n=>{const r=e,i=this._toEventCollectionHandler(n.type,r),o=n.once(i);o.onDetached((()=>{this._removeSingleBinding(t.id,o)})),t.add(o)})),t}_doListenForMapOnce(e){const t=new o.EventBindingCollection;return i.ObjectUtils.keyValues(e).forEach((e=>{const n=this._eventsMap[e.key],r=e.value,i=this._toEventCollectionHandler(n.type,r);if(n){const e=n.once(i);e.onDetached((()=>{this._removeSingleBinding(t.id,e)})),t.add(e)}})),t}_doListenForAll(e){const t=new o.EventBindingCollection;return this._doEach((n=>{const r=e,i=this._toEventCollectionHandler(n.type,r),o=n.listen(i);t.add(o)})),t}_doListenForMap(e){const t=new o.EventBindingCollection;return i.ObjectUtils.keyValues(e).forEach((e=>{const n=this._eventsMap[e.key],r=e.value;if(n){const e=n.listen(r);t.add(e)}})),t}_toEventCollectionHandler(e,t){return t.bind(this._context||null,e)}_removeSingleBinding(e,t){const n=this._getCollectionBinding(e);null!==n&&(n.remove(t),n.empty()&&this.unlisten(n))}_getCollectionBinding(e){let t=null;for(const n of this._bindings)if(n.id===e){t=n;break}return t}get length(){return this._length}each(e){return this._doEach(e),this}once(e){return this._doListenOnce(e)}listen(e){return this._doListen(e)}has(e){return this._doHas(e)}unlisten(e){return this._doUnlisten(e),this}unlistenAll(){return this._bindings.forEach((e=>{e.detach()})),this._bindings=[],this}removeAllListeners(){return this.unlistenAll(),this.each((e=>{e.unlistenAll()})),this}}},3635:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(4555),t),i(n(8685),t),i(n(4405),t),i(n(3463),t),i(n(3463),t),i(n(8799),t)},6482:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(3635),t),i(n(891),t),i(n(5162),t),i(n(1808),t),i(n(568),t)},8353:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipe=t.left=t.right=t.map=t.fromEither=t.none=t.fromNullable=void 0;var r=n(566);Object.defineProperty(t,"fromNullable",{enumerable:!0,get:function(){return r.fromNullable}}),Object.defineProperty(t,"none",{enumerable:!0,get:function(){return r.none}}),Object.defineProperty(t,"fromEither",{enumerable:!0,get:function(){return r.fromEither}}),Object.defineProperty(t,"map",{enumerable:!0,get:function(){return r.map}});var i=n(8404);Object.defineProperty(t,"right",{enumerable:!0,get:function(){return i.right}}),Object.defineProperty(t,"left",{enumerable:!0,get:function(){return i.left}});var o=n(327);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return o.pipe}})},6167:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Fsm=void 0;const r=n(6120),i=n(1556),o=n(7655),a=r.Log.getLogger("Fsm").filter("std");a.setEnabled(!1),t.Fsm=class{constructor(){this._events=(0,i.createFsmEventCollection)(),this._eventTransitions=new Map,this._stateTransitions=new Map,this._eventList=new Map,this._previousState=null,this._currentState=null,this._finalState=null,this._currentTransition=null,this._currentTransitionCBs=this._getTransitionCBs({})}_doInit(e){this._config=e,this._initialState=e.initial,this._finalState=e.end?e.end:null,this._addEvent({name:this._initialState.name,from:[null],to:this._initialState.state},!0),e.events.forEach((e=>this._addEvent(e))),this._stateTransitions.forEach(((e,t)=>{this._eventList.set(t,this._buildEvent(t,e))})),this._currentState=null,this._doFire(this._initialState.name)}_doFire(e,t){const n=this._eventList.get(e);return n?n(t):o.FsmTransitionResult.Error}_doCanFire(e){const t=this._stateTransitions.get(e),n=null===this._currentTransition&&t&&t.has(this._currentState),r=this._stateTransitions.has(o.FsmDefaultEvents.Wildcard)||(null==t?void 0:t.has(o.FsmDefaultEvents.Wildcard));return n||r}_doCannotFire(e){return!this._doCanFire(e)}_addEvent(e,t=!1){const n=t?o.FsmDefaultStates.No_State:o.FsmDefaultEvents.Wildcard,r=e.to,i=e.from?e.from:[n];this._stateTransitions.has(e.name)||this._stateTransitions.set(e.name,new Map);for(let t=0;t<i.length;t++){this._eventTransitions.has(i[t])||this._eventTransitions.set(i[t],[]),this._eventTransitions.get(i[t]).push(e.name);const n=this._stateTransitions.get(e.name);n&&n.set(i[t],Object.assign({name:e.name,to:r||i[t]},this._getTransitionCBs(e)))}r&&!this._eventTransitions.has(r)&&this._eventTransitions.set(r,[])}_buildEvent(e,t){return n=>{n=n||[];const r=this._currentState,i=t.get(r);let a;if(i&&(a=i.to),a||(a=t.get(o.FsmDefaultEvents.Wildcard)&&t.get(o.FsmDefaultEvents.Wildcard).to&&t.get(o.FsmDefaultEvents.Wildcard).to!==o.FsmDefaultEvents.Wildcard?t.get(o.FsmDefaultEvents.Wildcard).to:r),null!==this._currentTransition)return this._handleError(e,r,a,n,o.FsmError.Pending_Transition,`event ${e} inappropriate because previous transition did not complete`),o.FsmTransitionResult.Error;if(this.cannotFireTransition(e))return this._handleError(e,r,a,n,o.FsmError.Invalid_Transition,`event ${e} inappropriate in current state ${r}`),o.FsmTransitionResult.Error;if(this._currentTransitionCBs=this._getTransitionCBs(i),!1===this._handleBeforeEvent(e,r,a,n))return o.FsmTransitionResult.Canceled;if(r===a)return this._handleAfterEvent(e,r,a,n),o.FsmTransitionResult.No_Transition;this._currentTransition=this._createTransition(e,r,a,n);const s=this._handleLeaveState(e,r,a,n);return!1===s?(this._currentTransition=null,o.FsmTransitionResult.Canceled):s===o.FsmModes.Async?o.FsmTransitionResult.Pending:null!==this._currentTransition?this._currentTransition.execute():o.FsmTransitionResult.Error}}_createTransition(e,t,n,r){return{execute:()=>(this._currentTransition=null,this._previousState=this._currentState,this._currentState=n,this._handleStateEntered(e,t,n,r),this._handleStateChanged(e,t,n,r),this._handleAfterEvent(e,t,n,r),o.FsmTransitionResult.Succeeded),cancel:()=>(this._currentTransition=null,this._handleAfterEvent(e,t,n,r),o.FsmTransitionResult.Canceled)}}_getTransitionCBs(e){const t=()=>{},n=()=>!0;return{onBeforeEvent:(e=e||{}).onBeforeEvent||n,onStateEntered:e.onStateEntered||t,onStateChanged:e.onStateChanged||t,onAfterEvent:e.onAfterEvent||t,onLeave:e.onLeave||n,onError:e.onError||t}}_handleError(e,t,n,r,i,o){a.debug(`[handleError] trigger: ${e}, from: ${this._previousState}, to: ${n}, errorType: ${i}, desc: ${o}`),this._currentTransitionCBs.onError(e,this._previousState,n,r,i,o),this._notifyError(e,this._previousState,n,r,i,o)}_handleBeforeEvent(e,t,n,r){return a.debug(`[handleBeforeEvent] trigger: ${e}, from: ${this._currentState}, to: ${n}`),!!this._currentTransitionCBs.onBeforeEvent(e,this._currentState,n,r)&&(this._notifyBeforeEvent(e,this._currentState,n,r),!0)}_handleLeaveState(e,t,n,r){return this._currentTransitionCBs.onLeave(e,t,n,r)}_handleStateEntered(e,t,n,r){a.debug(`[handleStateEntered] trigger: ${e}, from: ${this._previousState}, to: ${n}`),this._currentTransitionCBs.onStateEntered(e,this._previousState,n,r),this._notifyStateEntered(e,this._previousState,n,r)}_handleStateChanged(e,t,n,r){a.debug(`[handleStateChanged] trigger: ${e}, from: ${this._previousState}, to: ${n}`),this._currentTransitionCBs.onStateChanged(e,this._previousState,n,r),this._notifyStateChanged(e,this._previousState,n,r)}_handleAfterEvent(e,t,n,r){a.debug(`[handleAfterEvent] trigger: ${e}, from: ${this._previousState}, to: ${n}`),this._currentTransitionCBs.onAfterEvent(e,this._previousState,n,r),this._notifyAfterEvent(e,this._previousState,n,r)}_notifyBeforeEvent(e,t,n,r){this._events.beforeEvent.dispatch({name:e,from:t,to:n,args:r})}_notifyStateEntered(e,t,n,r){this._events.stateEntered.dispatch({name:e,from:t,to:n,args:r})}_notifyStateChanged(e,t,n,r){this._events.stateChanged.dispatch({name:e,from:t,to:n,args:r})}_notifyAfterEvent(e,t,n,r){this._events.afterEvent.dispatch({name:e,from:t,to:n,args:r})}_notifyError(e,t,n,r,i,o){this._events.error.dispatch({name:e,from:t,to:n,args:r,errorType:i,errorDesc:o})}get events(){return this._events}init(e){return this._doInit(e),this}currentState(){return this._currentState}previousState(){return this._previousState}fireTransition(e,t){return this._doFire(e,t)}attemptTransition(e,t){return this.cannotFireTransition(e)?(a.warn(`[_attemptTransition] Unable to fire ${e} from current state: ${this.currentState()}`),null):this.fireTransition(e,t)}canFireTransition(e){return this._doCanFire(e)}cannotFireTransition(e){return this._doCannotFire(e)}completeTransition(){return this._currentTransition?this._currentTransition.execute():o.FsmTransitionResult.No_Transition}cancelTransition(){return this._currentTransition?this._currentTransition.cancel():o.FsmTransitionResult.No_Transition}isTransitioning(){return null!==this._currentTransition}}},7655:(e,t)=>{"use strict";var n,r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.FsmError=t.FsmTransitionResult=t.FsmModes=t.FsmDefaultStates=t.FsmDefaultEvents=void 0,function(e){e.Wildcard="*"}(n||(t.FsmDefaultEvents=n={})),function(e){e.No_State="__no_state__"}(r||(t.FsmDefaultStates=r={})),function(e){e.Sync="sync",e.Async="async"}(i||(t.FsmModes=i={})),function(e){e.Succeeded="succeeded",e.No_Transition="no_transition",e.Canceled="canceled",e.Pending="pending",e.Error="error"}(o||(t.FsmTransitionResult=o={})),function(e){e[e.Invalid_Transition=100]="Invalid_Transition",e[e.Pending_Transition=200]="Pending_Transition"}(a||(t.FsmError=a={}))},7773:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFsmEventCollection=t.createFsmEvent=void 0;const r=n(6482),i=n(2531);function o(e){return(0,r.createEvent)(e)}t.createFsmEvent=o,t.createFsmEventCollection=function(){return(0,r.createEventCollection)({beforeEvent:o(i.FsmEventType.Before_Event),stateEntered:o(i.FsmEventType.State_Entered),stateChanged:o(i.FsmEventType.State_Changed),afterEvent:o(i.FsmEventType.After_Event),error:o(i.FsmEventType.Error)})}},2201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2531:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FsmEventType=void 0,function(e){e.Before_Event="beforeEvent",e.State_Entered="stateEntered",e.State_Changed="stateChanged",e.After_Event="afterEvent",e.Error="error"}(n||(t.FsmEventType=n={}))},1556:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(7773),t),i(n(2201),t),i(n(2531),t)},4422:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(1556),t),i(n(6167),t),i(n(7655),t)},7489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseHook=void 0;const r=n(1114),i=n(6728);class o{static createFor(e){const t=r.Log.getLogger(`Hook:${e}`);return new o(e,t)}constructor(e,t){this._hookName=e,this._logger=t,this._handlers=new Map}get handlers(){const e={};return this._handlers.forEach(((t,n)=>e[n]=t)),e}set(e,t=i.HookHandlerType.Default){const n=this._handlers.get(t)||[];t===i.HookHandlerType.Peripheral?(this._logger.info("Setting peripheral handler"),n.length>0&&(this._logger.warn("Only one peripheral handler may be set per-hook"),r.ArrayUtils.remove(n,n[0]))):this._logger.info("Adding default hook handler"),n.push(e),this._handlers.set(t,n)}clear(e){if("function"==typeof e){const t=e;return this._logger.info("Removing given handler from hook"),void this._handlers.forEach((e=>r.ArrayUtils.remove(e,t)))}const t=e||i.HookHandlerType.Default;this._logger.info(`Removing ${t} handlers for hook`),this._handlers.delete(t)}clearAll(){this._handlers.clear()}}t.BaseHook=o},4243:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreHook=void 0;const r=n(9909),i=n(6631),o=n(6728);t.CoreHook=class{constructor(e){var t;this._options={executionTimeout:null!==(t=null==e?void 0:e.executionTimeout)&&void 0!==t?t:1e4},this._baseHandler=e=>Promise.resolve(e),this._handlers={[o.HookHandlerType.Peripheral]:[],[o.HookHandlerType.Default]:[]},this._activeTask=null}_cleanupActiveTask(){this._activeTask&&(this._activeTask.cancel(),this._activeTask=null)}_handlersToPipeables(e){return this._handlers[e].map((e=>function(t){return r.TaskFactory.create((n=>{e(t).then((e=>n.resolve(e))).catch((e=>n.reject(e)))}))}))}get hasRegisteredHandlers(){return this._handlers.default.length>0||this._handlers.peripheral.length>0}hasRegisteredHandlersByType(e){return this._handlers[e].length>0}add(e,t=o.HookHandlerType.Default){return this._handlers[t].push(e),this}remove(e,t=o.HookHandlerType.Default){return i.ArrayUtils.remove(this._handlers[t],e),this}execute(e){this._cleanupActiveTask();const t=r.TaskFactory.create((t=>{this._baseHandler(e).then((e=>t.resolve(e))).catch((e=>t.reject(e)))}));return this._activeTask=r.TaskFactory.create((e=>{const n=function(e){let t=null;return r.TaskFactory.create((n=>{t=(0,i.Timer)(i.TimerMode.Timeout,(()=>{n.reject(`Hook execution timeout of ${e}ms reached`)}),e),t.start()})).onCanceled((()=>{t&&(t.stop(),t=null)}))}(this._options.executionTimeout).execute().onRejected((t=>e.reject(t))),a=[{type:o.HookHandlerType.Peripheral,handlers:this._handlersToPipeables(o.HookHandlerType.Peripheral)},{type:o.HookHandlerType.Default,handlers:this._handlersToPipeables(o.HookHandlerType.Default)}];let s=t;a.forEach((e=>{e.handlers.forEach((e=>s=s.pipe(e)))})),s.execute().fold((t=>{n.cancel(),e.reject(t)}),(t=>{n.cancel(),e.resolve(t)}))})),this._activeTask.execute()}cancel(){return this._cleanupActiveTask(),this}clear(e=o.HookHandlerType.Default){return this._handlers[e].length=0,this}clearAll(){return Object.keys(this._handlers).forEach((e=>{const t=e;this.clear(t)})),this}}},6728:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HookHandlerType=void 0,function(e){e.Peripheral="peripheral",e.Default="default"}(n||(t.HookHandlerType=n={}))},54:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BridgeHookEventHandler=void 0;const r=n(932);t.BridgeHookEventHandler=class{static createFor(e,t="hook:event",n){return(0,r.BridgeHookEventProxyHandler)(e,t,n)}}},932:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BridgeHookEventProxyHandler=void 0;const r=n(1206),i=n(1114);t.BridgeHookEventProxyHandler=function(e,t="hook:event",n){const o=i.Log.getLogger(`BridgeHookEventProxyHandler|${t}`),a={};return function(s){var u;const{type:c,hook:l}=s;switch(c){case r.BridgeHookEventType.Added:{const{handlerId:o,handlerType:u}=s,d=function(n){const s=(0,i.createDeferred)();a[o].executionPromise=s;const c={type:r.BridgeHookEventType.Executing,hook:l,handlerId:o,handlerType:u,data:n};return e.send(t,c),s.promise};a[o]={executionPromise:null,handler:d,handlerType:u},(null==n?void 0:n.onHandlerAdded)&&n.onHandlerAdded(d,{type:c,hook:l,handlerId:o,handlerType:u});break}case r.BridgeHookEventType.Removed:{const{handlerId:e,handlerType:t}=s;if(e&&a[e]){const r=a[e].handler;(null==n?void 0:n.onHandlerRemoved)&&n.onHandlerRemoved(r,{hook:l,type:c,handlerId:e,handlerType:t}),delete a[e]}else t?((null==n?void 0:n.onHandlerRemoved)&&n.onHandlerRemoved(t,{hook:l,type:c,handlerId:e,handlerType:t}),Object.keys(a).forEach((e=>{const n=a[e];n&&n.handlerType===t&&delete a[e]}))):o.warn(`Unable to clear hook handler for ${l}`);break}case r.BridgeHookEventType.Executing:if(null==n?void 0:n.onExecuting){const{handlerId:e,handlerType:t,data:r}=s;n.onExecuting({hook:l,type:c,handlerId:e,handlerType:t,data:r})}break;case r.BridgeHookEventType.Executed:const{handlerId:d,handlerType:_,error:f,result:h}=s,p=null===(u=a[d])||void 0===u?void 0:u.executionPromise;if(!p){o.warn(`Could not resolve or reject hook handler for ${l}`);break}(null==n?void 0:n.onExecuted)&&n.onExecuted({hook:l,type:c,handlerId:d,handlerType:_,error:f,result:h}),f?p.rejector(f):p.resolver(h);break;default:throw new i.UnreachableCaseError(c)}}}},1206:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BridgeHookEventType=void 0,function(e){e.Added="added",e.Removed="removed",e.Executing="executing",e.Executed="executed"}(n||(t.BridgeHookEventType=n={}))},7140:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(9976),t),i(n(932),t),i(n(1206),t)},6734:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(4243),t),i(n(7489),t),i(n(6728),t),i(n(54),t),i(n(4828),t),i(n(7140),t)},2695:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Log=void 0;const r=n(8009),i=n(4614);class o{factory(e){return new o(e)}constructor(e){if(this._presets={},this._manager=r.LogManager,e){Object.assign(this._presets,e);const{source:t,enabled:n}=e;null!=t&&null!=n&&this._manager.updateConfig({sources:{[t]:n}})}}get data(){return this._manager.data}get enabled(){return this._manager.enabled}get events(){return this._manager.events}getLogger(e,t){return this._manager.getLogger(e,i.ObjectUtils.extendDeep({},this._presets,t))}setEnabled(e){this.updateConfig({enabled:e})}setTheme(e){this._manager.setTheme(e)}updateSources(e){this.updateConfig({sources:e})}updateCategories(e){this.updateConfig({categories:e})}updateLevels(e){this.updateConfig({levels:e})}updateConfig(e){this._manager.updateConfig(e)}useDefaults(){this._manager.useDefaults()}}const a=new o;t.Log=a},8009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogManager=void 0;const r=n(6631),i=n(7263),o=n(1848),a=n(6527),s=n(4526),u=n(3039),c=n(8733),l=new class{constructor(){this._enabled=!1,this.events=(0,c.createLogEventCollection)(),this._data=s.LogManagerDefaults.data(),this._activeTargets=[new a.ConsoleTarget({theme:this._data.theme}).init(),new a.LogEventTarget(this.events).init()]}_notifyConfigChanged(){this.events.configChanged.dispatch({data:this.data})}get data(){return r.ObjectUtils.extendDeep({},this._data)}get enabled(){return this._enabled}getLogger(e,t={}){var n;const{source:a=i.LogSourceType.Unsourced}=t,s=a===i.LogSourceCompositeType.All?i.LogSourceType.Unsourced:(0,o.normalizeSource)(a),{sources:c,categories:l,levels:d}=this._data,_={manager:this,context:e,contextDetail:"",targets:this._activeTargets,enabled:null!==(n=c[s])&&void 0!==n&&n,source:s,sources:Object.assign({},c),categories:Object.assign({},l),levels:Object.assign({},d),filters:[]},f=r.ObjectUtils.extendDeep(_,t,{source:s});s in c||this.updateConfig({sources:{[s]:f.enabled}});const h=(new u.DefaultLogger).init(f);return this.storeLoggerInstance(h),h}_setEnabled(e){this._enabled=e,this._notifyConfigChanged()}_updateTargetsTheme(){const{theme:e}=this._data;this._activeTargets.forEach((t=>{t.updateTheme(e)}))}setTheme(e){this._data.theme=e,this._updateTargetsTheme(),this._notifyConfigChanged()}_setTargets(e){e!==this._activeTargets&&(this._activeTargets.length&&this._activeTargets.forEach((e=>e.detach())),this._activeTargets=e,this._updateTargetsTheme(),this._data.loggerInstances.forEach((e=>{e.setTargets(this._activeTargets)})))}_updateSources(e){const t=Object.assign({},this._data.sources),n=Object.assign({},t),a=r.ObjectUtils.keyValues(e);a.sort(o.bySource),a.forEach((({key:e,value:r})=>{e===i.LogSourceCompositeType.All?Object.keys(t).forEach((e=>{n[e]=r})):n[e]=r})),Object.assign(this._data.sources,n),this._data.loggerInstances.forEach((e=>{e.updateSources(n)}))}_updateCategories(e){const t=Object.assign({},this._data.categories),n=Object.keys(t),a=Object.assign({},t),s=(e,t)=>{e.forEach((e=>a[e]=t))},u=r.ObjectUtils.keyValues(e);u.sort(o.byReversedNamespaceDepth),u.sort(o.byCategory),u.forEach((({key:e,value:t})=>{if(e===i.LogCategoryCompositeType.All)s(n,t);else{const r=[e,...(0,o.findChildCategoryKeys)(n,e)];s(r,t)}})),this._data.categories=a,this._data.loggerInstances.forEach((e=>{e.updateCategories(a)}))}_updateLevels(e){const t=Object.assign({},this._data.levels),n=Object.assign({},t),i=r.ObjectUtils.keyValues(e);i.sort(o.byLevel),i.forEach((({key:e,value:t})=>{o.LogLevelCompositeTypeValues.includes(e)?(0,o.expandCompositeLevel)(e).forEach((e=>n[e]=t)):n[e]=t})),this._data.levels=n,this._data.loggerInstances.forEach((e=>{e.updateLevels(n)}))}updateConfig(e){const{theme:t,targets:n,enabled:i,sources:a,categories:s,levels:u}=e;let c=!1;if(null!=t&&(this.setTheme(t),c=!0),Array.isArray(n)&&(this._setTargets(n),c=!0),null!=i&&(this._setEnabled(Boolean(i)),c=!0),null!=a){const e=r.ObjectUtils.keyValues(a).reduce(((e,{key:t,value:n})=>(e[(0,o.normalizeSource)(t)]=Boolean(n),e)),{});this._updateSources(e),c=!0}null==s||r.ObjectUtils.isEmpty(s)||(this._updateCategories(s),c=!0),null==u||r.ObjectUtils.isEmpty(u)||(this._updateLevels(u),c=!0),c&&this._notifyConfigChanged()}storeLoggerInstance(e){this._data.loggerInstances.push(e)}removeLoggerInstance(e){r.ArrayUtils.remove(this._data.loggerInstances,e)}registerFilter(e){const{categories:t}=this._data;if(e in t)return;const n=!r.ObjectUtils.isEmpty(t)&&(0,o.getFilterVisibility)(t,e);this._data.categories[e]=n}useDefaults(){const e=s.LogManagerDefaults.data(),{categories:t,levels:n}=e;this._data.categories=t,this._data.levels=n,this._data.loggerInstances.forEach((e=>{e.updateCategories(t),e.updateLevels(n)}))}};t.LogManager=l},4526:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogManagerDefaults=void 0;const r=n(7263);t.LogManagerDefaults=class{static data(){return{enabled:!1,theme:r.LogTheme.Light,loggerInstances:[],sources:{[r.LogSourceType.Unsourced]:!0},categories:{},levels:{[r.LogLevelType.Verbose]:!1,[r.LogLevelType.Debug]:!1,[r.LogLevelType.Info]:!0,[r.LogLevelType.Warn]:!0,[r.LogLevelType.Error]:!0}}}}},1848:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilterVisibility=t.findChildCategoryKeys=t.byReversedNamespaceDepth=t.byCategory=t.byLevel=t.bySource=t.expandCompositeLevel=t.normalizeSource=t.LogLevelCompositeTypeValues=void 0;const r=n(7263),i=n(6664);t.LogLevelCompositeTypeValues=Object.values(r.LogLevelCompositeType),t.normalizeSource=e=>String(e).toLowerCase(),t.expandCompositeLevel=e=>{switch(e){case r.LogLevelCompositeType.All:return[r.LogLevelType.Verbose,r.LogLevelType.Debug,r.LogLevelType.Info,r.LogLevelType.Warn,r.LogLevelType.Error];case r.LogLevelCompositeType.Dev:return[r.LogLevelType.Debug,r.LogLevelType.Info,r.LogLevelType.Warn,r.LogLevelType.Error];default:return[e]}},t.bySource=({key:e},{key:t})=>e===r.LogSourceCompositeType.All?-1:t===r.LogSourceCompositeType.All?1:0,t.byLevel=({key:e},{key:n})=>e===r.LogLevelCompositeType.All?-1:n===r.LogLevelCompositeType.All?1:t.LogLevelCompositeTypeValues.includes(e)&&!t.LogLevelCompositeTypeValues.includes(n)?-1:t.LogLevelCompositeTypeValues.includes(n)&&!t.LogLevelCompositeTypeValues.includes(e)?1:0,t.byCategory=({key:e},{key:t})=>e===r.LogCategoryCompositeType.All?-1:t===r.LogCategoryCompositeType.All?1:0,t.byReversedNamespaceDepth=({key:e},{key:t})=>{const n=e.split(".").length,r=t.split(".").length;return n>r?-1:n<r?1:0},t.findChildCategoryKeys=(e,t)=>{const n=new RegExp(`^${(0,i.escape)(t)}\\.`);return e.filter((e=>n.test(e)))},t.getFilterVisibility=(e,n)=>{if(n in e)return e[n]||!1;const r=n.split(".");if(!(r.length>1))return!1;const i=r.slice(0,-1).join(".");return(0,t.getFilterVisibility)(e,i)}},7263:(e,t)=>{"use strict";var n,r,i,o,a,s,u;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevelCompositeType=t.LogCategoryCompositeType=t.LogSourceCompositeType=t.LogTheme=t.LogLevelType=t.LogDataProperty=t.LogSourceType=void 0,function(e){e.Enabled="enabled",e.Theme="theme",e.Instances="loggerInstances",e.Targets="targets",e.Sources="sources",e.Categories="categories",e.Levels="levels"}(n||(t.LogDataProperty=n={})),function(e){e.Unsourced=""}(r||(t.LogSourceType=r={})),function(e){e.Verbose="verbose",e.Debug="debug",e.Info="info",e.Warn="warn",e.Error="error"}(i||(t.LogLevelType=i={})),function(e){e.All="all",e.Dev="dev"}(o||(t.LogLevelCompositeType=o={})),function(e){e.Light="light",e.Dark="dark"}(a||(t.LogTheme=a={})),function(e){e.All="all"}(s||(t.LogSourceCompositeType=s={})),function(e){e.All="all"}(u||(t.LogCategoryCompositeType=u={}))},8437:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLogEventCollection=t.createLogEvent=void 0;const r=n(6482),i=n(2233);function o(e){return(0,r.createEvent)(e)}t.createLogEvent=o,t.createLogEventCollection=function(){return(0,r.createEventCollection)({verbose:o(i.LogEventType.Verbose),debug:o(i.LogEventType.Debug),info:o(i.LogEventType.Info),warning:o(i.LogEventType.Warning),error:o(i.LogEventType.Error),configChanged:o(i.LogEventType.Config_Changed)})}},7488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2233:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogEventType=void 0,function(e){e.Verbose="verbose",e.Debug="debug",e.Info="info",e.Warning="warning",e.Error="error",e.Config_Changed="configChanged"}(n||(t.LogEventType=n={}))},1813:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(8733),t),i(n(7488),t),i(n(2233),t)},9832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultFormatters=void 0,t.DefaultFormatters=class{static cssConsole(e){return""!==e.contextDetail?`%c${e.context} %c(${e.contextDetail}) ${e.message}`:`%c${e.context} %c${e.message}`}}},6718:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(9832),t)},823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogOverrideHelper=void 0;const r=n(2211),i=n(6631),o=n(3301),a=n(7263),s=e=>{const t=(0,i.getQueryAsMap)(e);return i.ObjectUtils.keyValues(t).map((({key:e,value:t})=>{switch(t=t||"",e){case r.LogQueryParam.Debug:return u(t);case r.LogQueryParam.Enabled:return c(t);case r.LogQueryParam.Theme:return l(t);case r.LogQueryParam.Category:return d(t);case r.LogQueryParam.Sources:return _(t);case r.LogQueryParam.Levels:return f(t);default:return}})).reduce(((e,t)=>(i.ObjectUtils.extendDeep(e,t),e)),{})},u=e=>{if("true"===e)return{enabled:!0,levels:{[a.LogLevelCompositeType.Dev]:!0}}},c=e=>{const t="true"===e;if(t)return{enabled:t}},l=e=>{switch(e){case a.LogTheme.Dark:return{theme:a.LogTheme.Dark};case a.LogTheme.Light:return{theme:a.LogTheme.Light};default:return}},d=e=>{const t=h(e);if(t.length>0)return{categories:i.ArrayUtils.mapToObj(t,((e,t)=>{t[e]=!0}))}},_=e=>{const t=h(e);if(t.length>0){const e=i.ArrayUtils.mapToObj(t,((e,t)=>{t[e]=!0}));return{sources:Object.assign({[a.LogSourceCompositeType.All]:!1},e)}}},f=e=>{const t=h(e);if(t.length>0){const e=i.ArrayUtils.mapToObj(t,((e,t)=>{t[e]=!0}));return{levels:Object.assign({[a.LogSourceCompositeType.All]:!1},e)}}},h=(e,t="|")=>{const n=encodeURIComponent(t),r=new RegExp(`${(0,i.escape)(t)}|${(0,i.escape)(n)}`,"g");return(0,i.split)(e,r).map((e=>e.trim()))};t.LogOverrideHelper={applyOverridesFromURL:e=>{const t=s(e);t&&o.Log.updateConfig(t)},getLogConfigFromURL:s}},2211:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogQueryParam=void 0,function(e){e.Debug="topdebug",e.Enabled="toplogenabled",e.Sources="toplogsources",e.Category="toplogcat",e.Levels="toploglevels",e.Theme="toplogtheme"}(n||(t.LogQueryParam=n={}))},2935:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(823),t),i(n(2211),t)},2466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultLogger=void 0;const r=n(6631),o=n(7263),a=n(1848);class s{constructor(){this._sources={},this._categories={},this._levels={}}_sendMessage(e,t){const n={time:Date.now(),context:this._context,contextDetail:this._contextDetail,type:e,message:t};this._targets.forEach((e=>{try{e.sendMessage(n)}catch(e){i.warn("[sendMessage] Unable to send log message to target, error:",e)}}))}_applyFiltersAndToggle(){this._enabled=this._canBeEnabled,this._enabled&&this._filters&&this._filters.forEach((e=>{const t=!0===e||(0,r.isString)(e)&&(0,a.getFilterVisibility)(this._categories,e);this._enabled=this._enabled&&t}))}_createChildLogger(e={}){var t;const n=r.ObjectUtils.extendDeep({},this._options,e);n.filters=r.ArrayUtils.dedupe(n.filters);const i=(new s).init(n);return null===(t=this._manager)||void 0===t||t.storeLoggerInstance(i),i}_sendMessageWithType(e,t){this._manager.enabled&&this._enabled&&this._levels[e]&&this._sendMessage(e,t)}init(e={}){const t={context:"",contextDetail:"",targets:[],source:o.LogSourceType.Unsourced,enabled:!0,categories:{},levels:{},filters:[]},n=r.ObjectUtils.extendDeep(t,e),{manager:i,context:a,contextDetail:s,targets:u,enabled:c,source:l,sources:d,categories:_,levels:f,filters:h}=n;return i&&(this._manager=i),this._context=a,this._contextDetail=s,this._source=l,this._targets=u,this._filters=h,this._options=n,this.setEnabled(c),this.updateSources(d),this.updateCategories(_),this.updateLevels(f),this}verbose(e){this._sendMessageWithType(o.LogLevelType.Verbose,e)}debug(e){this._sendMessageWithType(o.LogLevelType.Debug,e)}info(e){this._sendMessageWithType(o.LogLevelType.Info,e)}warn(e){this._sendMessageWithType(o.LogLevelType.Warn,e)}error(e){this._sendMessageWithType(o.LogLevelType.Error,e)}filter(e){(0,r.isString)(e)&&this._manager.registerFilter(e);const t=[...this._filters,e];return this._createChildLogger({filters:t})}child(e){const t=""===this._contextDetail?e:`${this._contextDetail} | ${e}`;return this._createChildLogger({contextDetail:t})}setEnabled(e){this._canBeEnabled=e,this._applyFiltersAndToggle()}setTargets(e){this._targets=e}getSource(){return this._source}updateSources(e){Object.assign(this._sources,e);const t=this.getSource();t in e&&this.setEnabled(e[t]||!1),this._applyFiltersAndToggle()}updateCategories(e){Object.assign(this._categories,e),this._applyFiltersAndToggle()}updateLevels(e){Object.assign(this._levels,e),this._applyFiltersAndToggle()}destroy(){var e;null===(e=this._manager)||void 0===e||e.removeLoggerInstance(this)}}t.DefaultLogger=s},2770:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleLogger=void 0;const r=n(7263);t.SimpleLogger=class{constructor(e){this._className=e}_call(e,t){const n=`[${this._className}] ${t}`;switch(e){case r.LogLevelType.Debug:i.debug(n);break;case r.LogLevelType.Info:i.info(n);break;case r.LogLevelType.Warn:i.warn(n);break;case r.LogLevelType.Error:i.error(n);break;default:i.log(n)}}init(e){return this}debug(e){this._call(r.LogLevelType.Debug,e)}info(e){this._call(r.LogLevelType.Info,e)}warn(e){this._call(r.LogLevelType.Warn,e)}error(e){this._call(r.LogLevelType.Error,e)}verbose(e){this._call(r.LogLevelType.Verbose,e)}filter(e){return this}child(e){return this}setEnabled(e){}setTargets(e){}getSource(){return r.LogSourceType.Unsourced}updateSources(e){}updateCategories(e){}updateLevels(e){}}},3039:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(2466),t),i(n(2770),t)},6120:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(1813),t),i(n(6718),t),i(n(2935),t),i(n(3039),t),i(n(6527),t),i(n(3301),t),i(n(8437),t),i(n(2695),t),i(n(8009),t),i(n(4526),t),i(n(7263),t)},7081:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleTarget=void 0;const r=n(6631),o=n(7263),a=n(9832);t.ConsoleTarget=class{constructor(e){this._enabled=!0;const t={theme:o.LogTheme.Light};e=e||{};const n=Object.assign(Object.assign({},t),e);this.updateTheme(n.theme)}detach(){this._enabled=!1}init(e){return this._options=r.ObjectUtils.extendDeep({formatter:a.DefaultFormatters.cssConsole},e||{}),this._formatter=this._options.formatter,this}updateTheme(e){e===o.LogTheme.Dark?(this._contextStyle="color: #00AAFF;",this._msgStyle="color: #FFFFFF;"):(this._contextStyle="color: #00008B;",this._msgStyle="color: #000;")}sendMessage(e){if(!this._enabled)return;const t=this._formatter(e);switch(e.type){case o.LogLevelType.Verbose:i.log(t,this._contextStyle,this._msgStyle);break;case o.LogLevelType.Debug:i.debug(t,this._contextStyle,this._msgStyle);break;case o.LogLevelType.Info:i.info(t,this._contextStyle,this._msgStyle);break;case o.LogLevelType.Warn:i.warn(t,this._contextStyle,this._msgStyle);break;case o.LogLevelType.Error:i.error(t,this._contextStyle,this._msgStyle)}}}},7553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogEventTarget=void 0;const r=n(7263),o=n(2233);t.LogEventTarget=class{constructor(e){this._events=e}detach(){this._events=void 0}init(e){return this._options=e,this}updateTheme(e){}sendMessage(e){if(!this._events)return;const t={[r.LogLevelType.Debug]:o.LogEventType.Debug,[r.LogLevelType.Info]:o.LogEventType.Info,[r.LogLevelType.Verbose]:o.LogEventType.Verbose,[r.LogLevelType.Warn]:o.LogEventType.Warning,[r.LogLevelType.Error]:o.LogEventType.Error}[e.type];t?this._events[t].dispatch({entry:e}):i.warn("[sendMessage] No event could be matched for log entry: ",e)}}},8909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6527:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(8909),t),i(n(7081),t),i(n(7553),t)},7675:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5513:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signal=void 0;const r=n(4859),o=n(4890);t.Signal=class{constructor(e){this._context=e,this._bindings=new r.LinkedList}get context(){return this._context}listen(e,t){const n=(0,o.createBindingForHandler)({signal:this,handler:e,once:!1,onDetached:()=>{this._bindings.remove(n)},context:t||this._context});return this._bindings.add(n),n}once(e,t){const n=(0,o.createBindingForHandler)({signal:this,handler:e,once:!0,onDetached:()=>{this._bindings.remove(n)},context:t||this._context});return this._bindings.add(n),n}dispatch(e){this._bindings.iterator().forEach((t=>{t.once&&t.detach();try{t.handler(e)}catch(e){try{i.error("[dispatch] An error occured (dev-mode only): ",e)}catch(e){}}}))}has(e){return this._bindings.iterator().filter((t=>t===e)).length>0}count(){return this._bindings.length}unlisten(e){e.detach()}unlistenAll(){this._bindings.iterator().forEach((e=>this.unlisten(e)))}}},7333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignalBinding=void 0,t.SignalBinding=class{constructor(e,t=!1){this.owner=null,this.once=t,this._handler=e,this._detachedHandlers=[]}get handler(){return this._handler}detach(){return null!==this.owner&&(this._detachedHandlers.forEach((e=>{e()})),this._detachedHandlers.length=0,!0)}onDetached(e){this._detachedHandlers.push(e)}}},4890:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBindingForHandler=void 0;const r=n(7333);t.createBindingForHandler=function(e){const{context:t,signal:n,once:i,onDetached:o}=e;let{handler:a}=e;t&&(a=a.bind(t));const s=new r.SignalBinding(a);return"function"==typeof o&&s.onDetached(o),s.owner=n,s.once=i,s}},9046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9034:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(7675),t),i(n(7636),t),i(n(5513),t),i(n(7333),t),i(n(4890),t),i(n(9046),t)},5347:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoOpSpotlightClient=void 0,t.NoOpSpotlightClient=class{init(){}send(e){}dispose(){}}},1608: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.SpotlightBroker=void 0;const i=n(3526),o=n(2843),a=n(9365),s=n(8953),u=n(7207),c=r(n(369)),l=e=>{try{return JSON.stringify(e)}catch(e){return""}};var d,_;!function(e){e[e.SLEEPING=0]="SLEEPING",e[e.INITING=1]="INITING",e[e.WORKING=2]="WORKING",e[e.DEAD=3]="DEAD"}(d||(d={})),function(e){e[e.EMPTY_EVENT_QUEUE=0]="EMPTY_EVENT_QUEUE",e[e.NO_CLIENTS=1]="NO_CLIENTS",e[e.SERVICE_FAILURE=2]="SERVICE_FAILURE",e[e.DISPOSE=3]="DISPOSE"}(_||(_={}));const f="https://spotlight.ngtv.io",h={serviceUrl:f,lazyInit:!0,helloRetries:3,batchRetries:5};class p{static getBroker(e){const{appId:t,serviceUrl:n=f}=e,r=`${t}::${n}`;return p.brokers[r]||(p.brokers[r]=new p(e))}static createClient(e){const t=Object.assign({},h,e);return p.getBroker(t).createClient(t)}static disposeAll(){Object.values(p.brokers).forEach((e=>e.dispose()))}constructor(e){this._clients=[],this._inited=!1,this._initTime=0,this._events=[],this._helloAttempts=0,this._batchAttempts=0,this._lastBatchAttemptTime=0,this._serviceConfig=new s.SpotlightServiceConfigManager,this._state=d.SLEEPING,this._config=e;const{serviceUrl:t=f}=this._config;this._helloUrl=`${t}/hello`,this._batchUrl=`${t}/batch`}createClient(e){const t=new o.SpotlightClient(this,e);return this._clients.push(t),t}init(){this._inited||this._isDead()||(u.SpotlightLogger.debug("Broker:init - manually and explicitly init()ed"),this._hello())}_isServiceConfigStale(){return(Date.now()-this._initTime)/1e3>5*this._serviceConfig.helloPingInterval}queue(e){if(this._isDead())return;u.SpotlightLogger.debug(`Broker:queue - ${l(e)}`),this._isSleeping()&&(this._inited?this._isServiceConfigStale()&&(u.SpotlightLogger.debug("Broker:queue - service config has grown stale, re-hello-ing"),this._hello()):this._config.lazyInit?(u.SpotlightLogger.debug("Broker:queue - lazy-initing now that a message is queued"),this._hello()):u.SpotlightLogger.info("Broker:queue - lazy-init disabled; init() must be manually called"));const t=Object.assign({timestamp:Date.now()},e);this._inited&&0===this._events.length&&(u.SpotlightLogger.debug("Broker:queue - re-starting batch timer"),this._restartBatchTimer()),this._events.push(t);const n=this._events.length,r=this._serviceConfig.maxBatchSize;n>=r&&(u.SpotlightLogger.debug(`Broker:queue - event queue (${n}) meets or exceeds maxBatchSize (${r}), batching...`),this._batch())}_hello(){if(this._isDead())return;if(this._isIniting())return void u.SpotlightLogger.debug("Broker:hello - disallowing concurrent hello calls");if(this._config.helloRetries&&this._helloAttempts>this._config.helloRetries)return u.SpotlightLogger.info("Broker:hello - too many retries ... dead"),void this._stop(_.SERVICE_FAILURE);this._state=d.INITING,u.SpotlightLogger.debug("Broker:hello request"),this._helloAttempts+=1;const e=this._serviceConfig.sessionId,t=e?`${this._helloUrl}/${e}`:this._helloUrl;fetch(t,{method:"GET",mode:"cors",headers:{"app-id":this._config.appId,"Content-Type":"application/json",Accept:"application/json"}}).then((e=>e.ok?e.json():Promise.reject(e))).then((e=>{if(!(0,c.default)(e))throw new Error("Spotlight /hello service returned invalid data");if(this._serviceConfig.update(e),!this._serviceConfig.sessionId)throw new Error("Spotlight client requires sessionId from server");u.SpotlightLogger.debug(`Broker:hello response - ${l(this._serviceConfig)}`),this._state=d.WORKING,this._inited=!0,this._initTime=Date.now(),this._helloAttempts=0,this._batch()}),(e=>{u.SpotlightLogger.info(`Broker:hello service error - ${e.status?`${e.status}: ${e.statusText}`:e}`),this._state=d.SLEEPING})).catch((e=>{u.SpotlightLogger.info(`Broker:hello client error - ${e}`),this._state=d.SLEEPING}))}_batch(){if(this._isDead())return;if(this._lastBatchAttemptTime){const e=Math.floor((Date.now()-this._lastBatchAttemptTime)/1e3),{flushInterval:t}=this._serviceConfig;if(e<t)return void u.SpotlightLogger.debug(`Broker:batch - because last batch attempt failed, waiting until flushInterval (${t}s) has passed - ${t-e}s remaining`)}if(0===this._events.length)return u.SpotlightLogger.debug("Broker:batch - nothing to batch; sleeping"),void this._stop(_.EMPTY_EVENT_QUEUE);if(!this._inited)return void u.SpotlightLogger.debug("Broker:batch - waiting for hello");if(this._config.batchRetries&&this._batchAttempts>this._config.batchRetries)return u.SpotlightLogger.info("Broker:batch - too many retries ... dead"),void this._stop(_.SERVICE_FAILURE);const e=this._filterEvents(this._events.splice(0,this._serviceConfig.maxBatchSize));0!==e.length?(this._inited&&this._isSleeping()&&(u.SpotlightLogger.debug("Broker:batch - restarting hello"),this._restartHelloTimer()),this._batchAttempts+=1,this._lastBatchAttemptTime=Date.now(),this._postEvents(e).then((()=>{u.SpotlightLogger.debug("Broker:batch response - success!"),this._batchAttempts=0,this._lastBatchAttemptTime=0}),(t=>{u.SpotlightLogger.info(`Broker:batch service error - ${t.status?`${t.status}: ${t.statusText}`:t}`),t.status>=500&&this._events.splice(0,0,...e),this._queueServiceError(t.clone())})).catch((e=>{u.SpotlightLogger.info(`Broker:batch client error - ${e}`)})).finally((()=>{this._restartBatchTimer()}))):u.SpotlightLogger.debug("Broker:batch filtered out all events, nothing to POST")}_queueServiceError(e){var t,n;const r={},o={timestamp:Date.now(),type:"spotlight",category:i.SpotlightEventCategory.ERROR,level:i.SpotlightEventLevel.CRITICAL,source:"spotlight",data:r};if(e instanceof Response){const i=[];null===(n=(t=e.headers).forEach)||void 0===n||n.call(t,((e,t)=>i.push([t,e])));const o={res_headers:i.map((([e,t])=>`${e}=${t}`)).join(","),res_ok:e.ok,res_redirected:e.redirected,res_status:e.status,res_statusText:e.statusText,res_type:e.type,res_url:e.url};Object.assign(r,o)}else r.error_message=String(e);this._events.splice(0,0,o)}_filterEvents(e){return e.filter(this._serviceConfig.filterEvent)}_postEvents(e){u.SpotlightLogger.debug(`Broker:_postEvents - ${l(e)}`);const t={sessionId:this._serviceConfig.sessionId,events:e};return fetch(this._batchUrl,{method:"POST",mode:"cors",headers:{"app-id":this._config.appId,"Content-Type":"application/json",Accept:"application/json"},body:l(t)}).then((e=>e.ok?e:Promise.reject(e)))}detachClient(e){const t=this._clients.findIndex((t=>t===e));-1!==t&&this._clients.splice(t,1),0===this._clients.length&&(this._stop(_.NO_CLIENTS),this._flush())}_stop(e){var t,n;u.SpotlightLogger.debug(`Broker:_stop - reason: ${_[e]}`),null===(t=this._helloTimer)||void 0===t||t.stop(),e!==_.NO_CLIENTS&&(null===(n=this._batchTimer)||void 0===n||n.stop()),this._state=e===_.SERVICE_FAILURE||e===_.DISPOSE?d.DEAD:d.SLEEPING}dispose(){this._stop(_.DISPOSE),this._clients.forEach((e=>e.dispose()))}_flush(){if(this._inited&&this._events.length>0){const e=this._filterEvents(this._events.splice(0,this._serviceConfig.maxBatchSize));e.length>0&&(u.SpotlightLogger.debug(`Broker:_flush - ${l(e)}`),this._postEvents(e))}}_restartHelloTimer(){var e;if(this._isDead())return;const t=this._serviceConfig.helloPingInterval;u.SpotlightLogger.debug(`Broker:_restartHelloTimer - interval hello ping: ${t} seconds`),null===(e=this._helloTimer)||void 0===e||e.stop();const n=this._hello.bind(this);this._helloTimer=(0,a.Timer)(a.TimerMode.Timeout,n,1e3*t),this._helloTimer.start()}_restartBatchTimer(){var e;if(this._isDead())return;const t=this._serviceConfig.flushInterval;u.SpotlightLogger.debug(`Broker:_restartBatchTimer - interval batching: ${t} seconds`),null===(e=this._batchTimer)||void 0===e||e.stop();const n=this._batch.bind(this);this._batchTimer=(0,a.Timer)(a.TimerMode.Timeout,n,1e3*t),this._batchTimer.start()}_isSleeping(){return this._state===d.SLEEPING}_isIniting(){return this._state===d.INITING}_isDead(){return this._state===d.DEAD}}t.SpotlightBroker=p,p.brokers={}},2843:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpotlightClient=void 0;const r=n(7207);t.SpotlightClient=class{constructor(e,t){this._broker=e,this._config=t,this._source=this._config.source,this._source||r.SpotlightLogger.warn('Spotlight requires a "source"')}init(){var e;null===(e=this._broker)||void 0===e||e.init()}send(e){var t;const n=Object.assign({},e,{source:this._source});null===(t=this._broker)||void 0===t||t.queue(n)}dispose(){var e;null===(e=this._broker)||void 0===e||e.detachClient(this),this._broker=void 0}}},7207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpotlightLogger=void 0;const r=n(6120);t.SpotlightLogger=r.Log.getLogger("Spotlight").filter("spotlight")},8953: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.SpotlightServiceConfigManager=void 0;const i=n(3526),o=r(n(5192)),a=r(n(7838)),s=r(n(3701)),u=r(n(3136)),c=n(7207),l={eventTypesAllowed:"*",categoryAllowed:[i.SpotlightEventCategory.ERROR],throttleLevel:[i.SpotlightEventLevel.CRITICAL],maxBatchSize:200,flushInterval:10,helloPingInterval:600};t.SpotlightServiceConfigManager=class{constructor(){this._serviceConfig=Object.assign({},l),this.filterEvent=e=>{if(!e.level)return c.SpotlightLogger.verbose('ServiceConfig - event has no "level"'),!1;if(!e.category)return c.SpotlightLogger.verbose('ServiceConfig - event has no "category"'),!1;if(!e.type)return c.SpotlightLogger.verbose('ServiceConfig - event has no "type"'),!1;if((0,u.default)(this.throttleLevel)){if("*"!==this.throttleLevel&&this.throttleLevel!==e.level)return c.SpotlightLogger.verbose(`ServiceConfig - config "throttleLevel" string value "${this.throttleLevel}" does not allow event level "${e.level}"`),!1}else{if(!(0,a.default)(this.throttleLevel))return c.SpotlightLogger.verbose('ServiceConfig - invalid "throttleLevel" value'),!1;if(0===this.throttleLevel.length)return c.SpotlightLogger.verbose('ServiceConfig - config "throttleLevel" is empty array; no events allowed'),!1;if(!this.throttleLevel.includes(e.level))return c.SpotlightLogger.verbose(`ServiceConfig - config "throttleLevel" does not contain "${e.level}"`),!1}if((0,u.default)(this.categoryAllowed)){if("*"!==this.categoryAllowed&&this.categoryAllowed!==e.category)return c.SpotlightLogger.verbose(`ServiceConfig - config "categoryAllowed" string value "${this.categoryAllowed}" does not allow event category "${e.category}"`),!1}else{if(!(0,a.default)(this.categoryAllowed))return c.SpotlightLogger.verbose('ServiceConfig - invalid "categoryAllowed" value'),!1;if(0===this.categoryAllowed.length)return c.SpotlightLogger.verbose('ServiceConfig - config "categoryAllowed" is empty array; no events allowed'),!1;if(!this.categoryAllowed.includes(e.category))return c.SpotlightLogger.verbose(`ServiceConfig - config "categoryAllowed" does not contain "${e.category}"`),!1}if((0,u.default)(this.eventTypesAllowed)){if("*"!==this.eventTypesAllowed&&this.eventTypesAllowed!==e.type)return c.SpotlightLogger.verbose(`ServiceConfig - config "eventTypesAllowed" string value "${this.eventTypesAllowed}" does not allow event type "${e.type}"`),!1}else{if(!(0,a.default)(this.eventTypesAllowed))return c.SpotlightLogger.verbose('ServiceConfig - invalid "eventTypesAllowed" value'),!1;if(0===this.eventTypesAllowed.length)return c.SpotlightLogger.verbose('ServiceConfig - config "eventTypesAllowed" is empty array; no events allowed'),!1;if(!this.eventTypesAllowed.includes(e.type))return c.SpotlightLogger.verbose(`ServiceConfig - config "eventTypesAllowed" does not contain "${e.type}"`),!1}return!0}}update(e){const t=Object.assign(this._serviceConfig,e);(0,s.default)(t.maxBatchSize)||(t.maxBatchSize=l.maxBatchSize),t.maxBatchSize=(0,o.default)(t.maxBatchSize,5),(0,s.default)(t.flushInterval)||(t.flushInterval=l.flushInterval),t.flushInterval=(0,o.default)(t.flushInterval,5,900),(0,s.default)(t.helloPingInterval)||(t.helloPingInterval=l.helloPingInterval),t.helloPingInterval=(0,o.default)(t.helloPingInterval,this.flushInterval+10,1800),(0,u.default)(t.eventTypesAllowed)||(0,a.default)(t.eventTypesAllowed)||(t.eventTypesAllowed=l.eventTypesAllowed),(0,u.default)(t.categoryAllowed)||(0,a.default)(t.categoryAllowed)||(t.categoryAllowed=l.categoryAllowed),(0,u.default)(t.throttleLevel)||(0,a.default)(t.throttleLevel)||(t.throttleLevel=l.throttleLevel),this._serviceConfig=t}get sessionId(){return this._serviceConfig.sessionId}get eventTypesAllowed(){var e;return null!==(e=this._serviceConfig.eventTypesAllowed)&&void 0!==e?e:l.eventTypesAllowed}get categoryAllowed(){var e;return null!==(e=this._serviceConfig.categoryAllowed)&&void 0!==e?e:l.categoryAllowed}get throttleLevel(){var e;return null!==(e=this._serviceConfig.throttleLevel)&&void 0!==e?e:l.throttleLevel}get maxBatchSize(){var e;return null!==(e=this._serviceConfig.maxBatchSize)&&void 0!==e?e:l.maxBatchSize}get flushInterval(){var e;return null!==(e=this._serviceConfig.flushInterval)&&void 0!==e?e:l.flushInterval}get helloPingInterval(){var e;return null!==(e=this._serviceConfig.helloPingInterval)&&void 0!==e?e:l.helloPingInterval}}},3526:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.SpotlightEventLevel=t.SpotlightEventCategory=void 0,function(e){e.METADATA="metadata",e.ERROR="error",e.QOS="qos"}(n||(t.SpotlightEventCategory=n={})),function(e){e.INFO="info",e.WARN="warn",e.ERROR="error",e.CRITICAL="critical"}(r||(t.SpotlightEventLevel=r={}))},2702: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.SpotlightWrapper=t.SpotlightWrapperInitBehavior=void 0;const i=n(3526),o=n(6120),a=n(4079),s=r(n(3136)),u=r(n(2701));var c;!function(e){e.ASAP="asap",e.LAZY="lazy",e.MANUAL="manual"}(c||(t.SpotlightWrapperInitBehavior=c={}));const l=c.ASAP;class d{constructor(e="undefined"){this._source=e,this._events=[],this.send=this.send.bind(this)}setup(e="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuZXR3b3JrIjoid20iLCJwcm9kdWN0IjoidG9wMi1zcG90bGlnaHQiLCJwbGF0Zm9ybSI6ImFsbCIsImFwcElkIjoid20tdG9wMi1zcG90bGlnaHQtYWxsLWxjazEwaiJ9.lUF1PCwVzp5xELQA-l_GVNtMY9N22y5kicSH4ffbljM",t=l){const n={appId:e,source:this._source,lazyInit:t!==c.MANUAL};this._spotlightClient=a.Spotlight.getClient(n),t===c.ASAP&&this.init(),this._events.length&&this._flush()}init(){this._spotlightClient?this._spotlightClient.init():d._logger.warn("init() was called before the SpotlightWrapper was setup()")}send(e){e&&(this._spotlightClient?this._spotlightClient.send(e):this._events.push(e))}_flush(){this._events.splice(0).forEach(this.send)}sendVersion(e){const t={version:String(e)},n={type:"init",level:i.SpotlightEventLevel.CRITICAL,category:i.SpotlightEventCategory.METADATA,data:t};this.send(n)}sendError(e,t="error",n=i.SpotlightEventLevel.WARN){const r=(0,s.default)(e)?{error:e}:(0,u.default)(e)?Object.assign({},e):{},o={type:t,level:n,category:i.SpotlightEventCategory.ERROR,data:r};this.send(o)}dispose(){this._spotlightClient&&(this._spotlightClient.dispose(),this._spotlightClient=void 0)}}t.SpotlightWrapper=d,d._logger=o.Log.getLogger("SpotlightWrapper")},4079: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.SpotlightEventLevel=t.SpotlightEventCategory=t.Spotlight=t.SpotlightWrapperInitBehavior=t.SpotlightWrapper=void 0;const i=n(3526);Object.defineProperty(t,"SpotlightEventCategory",{enumerable:!0,get:function(){return i.SpotlightEventCategory}}),Object.defineProperty(t,"SpotlightEventLevel",{enumerable:!0,get:function(){return i.SpotlightEventLevel}});const o=n(1608),a=n(5347),s=n(7207),u=n(2702);Object.defineProperty(t,"SpotlightWrapper",{enumerable:!0,get:function(){return u.SpotlightWrapper}}),Object.defineProperty(t,"SpotlightWrapperInitBehavior",{enumerable:!0,get:function(){return u.SpotlightWrapperInitBehavior}});const c=r(n(369)),l={getClient:e=>{try{if(!e||!c.default)throw new TypeError("Requires a SpotlightConfig param");const{appId:t,source:n}=e;if(!t)throw new TypeError('SpotlightConfig requires "appId"');if(!n)throw new TypeError('SpotlightConfig requires "source"');return o.SpotlightBroker.createClient(e)}catch(e){return s.SpotlightLogger.warn(`Spotlight.getClient failure: ${e}`),new a.NoOpSpotlightClient}},dispose:()=>{o.SpotlightBroker.disposeAll()}};t.Spotlight=l},4873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTask=void 0;const r=n(5665);class i extends r.Task{constructor(e){super(),this._taskHandler=e}map(e){return new i((t=>{this.fold((e=>t.reject(e)),(n=>{try{const r=e(n);t.resolve(r)}catch(e){t.reject(e)}}))})).onExecuted((()=>{this.execute()}))}mapAsync(e){return new i((t=>{this.fold((e=>t.reject(e)),(n=>{try{e(n).then((e=>{t.resolve(e)})).catch((e=>{t.reject(e)}))}catch(e){t.reject(e)}}))})).onExecuted((()=>{this.execute()}))}mapLeft(e){return new i((t=>{this.fold((n=>{try{const r=e(n);t.reject(r)}catch(e){t.reject(e)}}),(e=>t.resolve(e)))})).onExecuted((()=>{this.execute()}))}pipe(e){return new i((t=>{this.fold(t.reject,(n=>{e(n).execute().fold((e=>t.reject(e)),(e=>t.resolve(e)))}))})).onExecuted((()=>{this.execute()}))}chain(e){return new i((t=>{this.fold((e=>{t.reject(e)}),(n=>{e.execute().fold((e=>{t.reject(e)}),(e=>{Array.isArray(n)?(n.push(e),t.resolve(n)):t.resolve([n,e])}))}))})).onExecuted((()=>{this.execute()}))}execute(){return this.running||this.completed||(this._notifyExecuting(),this._taskHandler(this._createResolver())),this}}t.DefaultTask=i},6805:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isResponse=t.NetworkTask=void 0;const r=n(7883);t.NetworkTask=(e,t)=>r.TaskFactory.create((n=>{fetch(e,t).then((e=>{if(e.ok)return e;throw e})).then((e=>(null==t?void 0:t.passthrough)?e:e.json())).then(n.resolve,n.reject)})),t.isResponse=function(e){return void 0!==e.status}},5665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Task=void 0;const r=n(8353),i=n(6120),o=n(3914),a=n(7969),s=i.Log.getLogger("Task").filter("lib.tasks");class u{static createTaskId(){return"task-"+u._taskId++}constructor(){this._handleResolved=e=>{if(this.running=!1,this.resolved=!0,this.canceled)return this._handleCanceled();this._value=(0,r.right)(e),this._triggerHandlersFor(a.TaskEventType.Resolved),this._handleCompleted()},this._handleRejected=e=>{if(this.running=!1,this.rejected=!0,this.canceled)return this._handleCanceled();this._value=(0,r.left)(e),this._triggerHandlersFor(a.TaskEventType.Rejected),this._handleCompleted()},this._logger=s,this.id=u.createTaskId(),this._handlers=new Map([[a.TaskEventType.Executed,[]],[a.TaskEventType.Resolved,[]],[a.TaskEventType.Rejected,[]],[a.TaskEventType.Canceled,[]],[a.TaskEventType.Completed,[]]]),this.running=!1,this.canceled=!1,this.resolved=!1,this.rejected=!1,this.completed=!1}onExecuted(e){return this._addHandler(a.TaskEventType.Executed,e),this}onResolved(e){return this._addHandler(a.TaskEventType.Resolved,e),this}onRejected(e){return this._addHandler(a.TaskEventType.Rejected,e),this}onCanceled(e){return this._addHandler(a.TaskEventType.Canceled,e),this}onCompleted(e){return this._addHandler(a.TaskEventType.Completed,e),this}fold(e,t){return this._addHandler(a.TaskEventType.Rejected,e),this._addHandler(a.TaskEventType.Resolved,t),this}cancel(){return this.canceled=!0,this}toOptional(){return this.resolved?(0,r.fromEither)(this._value):r.none}_notifyExecuting(){this.running=!0,this._triggerHandlersFor(a.TaskEventType.Executed)}_createResolver(){return{resolve:this._handleResolved,reject:this._handleRejected}}_handleCanceled(){this._triggerHandlersFor(a.TaskEventType.Canceled),this._handleCompleted()}_handleCompleted(){this.completed=!0,this._triggerHandlersFor(a.TaskEventType.Completed)}_addHandler(e,t){let n=!1;switch(e){case a.TaskEventType.Executed:n=this.running;break;case a.TaskEventType.Resolved:n=this.resolved;break;case a.TaskEventType.Rejected:n=this.rejected;break;case a.TaskEventType.Canceled:n=this.canceled;break;case a.TaskEventType.Completed:n=this.resolved||this.rejected||this.canceled;break;default:throw new o.UnreachableCaseError(e)}n?this._triggerHandler(e,t):(0,r.pipe)((0,r.fromNullable)(this._handlers.get(e)),(0,r.map)((e=>e.push(t))))}_triggerHandlersFor(e){var t;const n=null!==(t=this._handlers.get(e))&&void 0!==t?t:[];for(;n.length>0;){const t=n.shift();t&&this._triggerHandler(e,t)}this._handlers.set(e,[])}_triggerHandler(e,t){e===a.TaskEventType.Executed||e===a.TaskEventType.Canceled||e===a.TaskEventType.Completed?t():t(this._value.value)}}t.Task=u,u._taskId=0},7883:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=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};Object.defineProperty(t,"__esModule",{value:!0}),t.TaskFactory=void 0;const a=o(n(9365)),s=n(4873);class u{static create(e){return new s.DefaultTask(e)}static resolve(e){return u.create((t=>{t.resolve(e)}))}static resolveDelayed(e,t){return u.delay(e,(e=>{e.resolve(t)}))}static reject(e){return u.create((t=>{t.reject(e)}))}static rejectDelayed(e,t){return u.delay(e,(e=>{e.reject(t)}))}static delay(e,t){return u.create((n=>{a.delay(t.bind(null,n),e)}))}static seq(...e){if(0===e.length||void 0===e[0])return u.resolve([]).execute();if(1===e.length)return e[0].map((e=>[e]));let t=e[0];for(let n=1;n<e.length;n++)t=t.chain(e[n]);return t.execute()}static all(...e){return 0===e.length?u.resolve([]).execute():u.create((t=>{const n={tasks:e.length,resolved:0},r=[...new Array(n.tasks)],i=e=>{t.reject(e)};e.forEach(((e,o)=>{e.onRejected(i),e.onResolved((e=>((e,i)=>{n.resolved++,r[i]=e,n.resolved===n.tasks&&t.resolve(r)})(e,o))),e.running||e.execute()}))})).execute()}}t.TaskFactory=u},7969:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TaskEventType=void 0,function(e){e.Executed="executed",e.Resolved="resolved",e.Rejected="rejected",e.Canceled="canceled",e.Completed="completed"}(n||(t.TaskEventType=n={}))},9909:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(4873),t),i(n(6805),t),i(n(611),t),i(n(5665),t),i(n(7883),t),i(n(7969),t)},9776: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.ArrayUtils=void 0;const i=r(n(1637)),o=r(n(4916)),a=r(n(1947)),s=n(6276);t.ArrayUtils=class{static remove(e,...t){return(0,i.default)(e,...t)}static dedupe(e){return(0,o.default)(e)}static lastIndex(e){return e.length-1}static take(e,t){return e.slice(0,t)}static deepCopy(e){return(0,s.cloneDeep)(e)}static flatten(e){return(0,a.default)(e)}static mapToObj(e,t){const n={};return e.forEach((e=>t(e,n))),n}}},9737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnumValues=t.getEnumKeys=void 0;const n=e=>Object.keys(e);t.getEnumKeys=n,t.getEnumValues=e=>n(e).map((t=>e[t]))},6276: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.isNull=t.cloneDeep=t.isString=t.isBoolean=t.isFunction=t.isEqual=void 0;const i=r(n(5599)),o=r(n(8246)),a=r(n(9142)),s=r(n(9494)),u=r(n(5e3)),c=r(n(3136));t.isEqual=(e,t)=>(0,i.default)(e,t),t.isFunction=e=>(0,o.default)(e),t.isBoolean=e=>(0,a.default)(e),t.isString=e=>(0,c.default)(e),t.cloneDeep=e=>(0,s.default)(e),t.isNull=e=>(0,u.default)(e)},7161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomInt=void 0,t.getRandomInt=(e=1)=>Math.floor(Math.random()*Math.floor(e))},4614: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.ObjectUtils=void 0;const i=r(n(7673)),o=r(n(7945)),a=r(n(105)),s=r(n(1117)),u=r(n(6040)),c=r(n(1478)),l=r(n(2701));class d{static assign(e,...t){return(0,i.default)(e,...t)}static extendDeep(e,...t){return(0,o.default)(e,...t)}static extendDeepWithArrayAssignment(e,...t){return(0,a.default)(e,...t,((e,t,n,r,i,o)=>{if(Array.isArray(t))return t}))}static keyValues(e){return Object.keys(e).map((t=>({key:t,value:e[t]})))}static mapValues(e,t){return Object.keys(e).forEach((n=>{const r=d.get(e,n);d.set(e,n,t(n,r))})),e}static keysLike(e,t){return Object.keys(e).filter((e=>t.test(e)))}static getValues(e){return Object.keys(e).map((t=>e[t]))}static isFunc(e){return"function"==typeof e}static isObj(e){return!!e&&(e.constructor&&e.constructor===Object||"object"==typeof e)}static has(e,t){return(0,s.default)(e,t)}static set(e,t,n){(0,c.default)(e,t,n)}static get(e,t,n){return(0,u.default)(e,t,n)}static getOrElse(e,t,n){return d.get(e,t,n)}static isPlainObject(e){return(0,l.default)(e)}static updateValues(e,t){return Object.keys(e).forEach((n=>{const r=e[n],i=t[n];void 0!==t[n]&&(d.isObj(r)?d.updateValues(r,i):e[n]=i)})),e}static filter(e,t){const n=d.extendDeep({},e),r=e=>{Object.keys(e).forEach((n=>{const i=e[n];d.isObj(i)?(r(i),d.isEmpty(i)&&delete e[n]):i!==t&&delete e[n]}))};return r(n),n}static compact(e){return Object.keys(e).forEach((t=>{const n=e[t];d.isObj(n)&&(d.isEmpty(n)||d.compact(n),d.isEmpty(n)&&delete e[t])})),e}static isEmpty(e){return 0===Object.keys(e).length}}t.ObjectUtils=d},6222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferred=void 0,t.createDeferred=function(){const e={};return e.promise=new Promise(((t,n)=>{e.resolver=t,e.rejector=n})),e}},6664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escape=t.split=t.matchedRight=void 0,t.matchedRight=e=>{if("string"!=typeof e.input||"number"!=typeof e.index)return"";const t=e.index+e[0].length;return e.input.substr(t,e.input.length-t)},t.split=(e,t)=>{const n="#__delim__#";return e.replace(t,n).split(n)},t.escape=e=>e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")},2870: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.stringify=t.getUniqueId=t.hashCode=t.replaceTokens=void 0;const i=n(4614),o=r(n(3345));t.replaceTokens=(e,t,n)=>{const r=i.ObjectUtils.extendDeep({},{pattern:"{token}"},n||{});return Object.keys(t).forEach((n=>{const i=t[n],o=r.pattern.split("token").join(n);e=e.split(o).join(i)})),e},t.hashCode=e=>{let t,n,r=0;if(0===e.length)return r;for(t=0;t<e.length;t++)n=e.charCodeAt(t),r=(r<<5)-r+n,r|=0;return r},t.getUniqueId=e=>(0,o.default)(e),t.stringify=function(e,t=4,n=2){return JSON.stringify(e,function(e){const t=[];return function(n,r){if(t.length>0){const n=t.indexOf(this);n>-1?t.splice(n+1):t.push(this),t.indexOf(r)>-1?r="[Circular JSON]":t.length>e&&!function(e){return"boolean"==typeof e||"string"==typeof e||"number"==typeof e||null==e}(r)&&(r="...")}else t.push(r);return r}}(t),n)}},8824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeRange=t.TimeRangeUtils=void 0,t.TimeRangeUtils=class{static greaterThanRange(e,t,n=!0){return e.start==t.start?e.duration>t.duration:n?e.start>=t.end:e.start>t.end}static lessThanRange(e,t,n=!0){return e.start==t.start?e.duration<t.duration:n?e.end<=t.start:e.end<t.start}static intersectsRange(e,t){const n=e.start<t.start?e:t;return(n===e?t:e).start<n.end}static outsideRange(e,t){return!e.contains(t.start)}};class n{static create(e,t){return new n(e,e+t)}static createWithEnd(e,t){return new n(e,t)}constructor(e,t){this.start=e,this.end=t,this.duration=this.end-this.start}contains(e){return e>=this.start&&e<=this.end}equals(e){return this.start===e.start&&this.end===e.end}toString(){return`[TimeRange] ${this.start} -> ${this.end} : ${this.duration}`}toJSON(){return{start:this.start,end:this.end,duration:this.duration}}}t.TimeRange=n},9365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=t.Timer=t.TimerMode=void 0;const r=n(3914);var i;!function(e){e.Timeout="timeout",e.Interval="interval"}(i||(t.TimerMode=i={}));const o=(e,t,n)=>{let o,a,s=-1;switch(e){case i.Interval:o=()=>{s=setInterval(t,n)},a=()=>{clearInterval(s),s=-1};break;case i.Timeout:o=()=>{s=setTimeout(t,n)},a=()=>{clearTimeout(s),s=-1};break;default:throw new r.UnreachableCaseError(e)}return{start:o,stop:a}};t.Timer=o,t.delay=(e,t=0)=>{const n=o(i.Timeout,e,t);return n.start(),n}},6798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},893: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.containsEnabledTOPDebug=t.getQueryAsMap=t.appendQuery=t.normalizeHTTPProtocol=t.directory=t.extension=t.parse=void 0;const i=r(n(899));function o(e){return(0,i.default)(e,!0)}t.parse=o,t.extension=function(e){const t=(0,i.default)(e);return t.pathname.substring(t.pathname.lastIndexOf(".")+1,t.pathname.length)},t.directory=function(e){const t=(0,i.default)(e);return t.pathname.substr(0,t.pathname.lastIndexOf("/")+1)};const a=/^(https?\:)/;function s(e){return(0,i.default)(e,!0).query}t.normalizeHTTPProtocol=function(e){return e.replace(a,"")},t.appendQuery=function(e,t){const n=o(e);return n.set("query",Object.assign(Object.assign({},n.query),t)),n.toString()},t.getQueryAsMap=s,t.containsEnabledTOPDebug=function(e){const t=s(e).topdebug;return!!t&&/^true/.test(t)}},6631:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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(9776),t),i(n(9737),t),i(n(6276),t),i(n(7161),t),i(n(4614),t),i(n(6222),t),i(n(6664),t),i(n(2870),t),i(n(8824),t),i(n(9365),t),i(n(6798),t),i(n(893),t)},899:(e,t,r)=>{"use strict";var i=r(3096),o=r(8157),a=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,u=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function _(e){return(e||"").toString().replace(a,"")}var f=[["#","hash"],["?","query"],function(e,t){return g(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function p(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(e=e||r);if("blob:"===e.protocol)i=new m(unescape(e.pathname),{});else if("string"===o)for(t in i=new m(e,{}),h)delete i[t];else if("object"===o){for(t in e)t in h||(i[t]=e[t]);void 0===i.slashes&&(i.slashes=u.test(e.href))}return i}function g(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function v(e,t){e=(e=_(e)).replace(s,""),t=t||{};var n,r=l.exec(e),i=r[1]?r[1].toLowerCase():"",o=!!r[2],a=!!r[3],u=0;return o?a?(n=r[2]+r[3]+r[4],u=r[2].length+r[3].length):(n=r[2]+r[4],u=r[2].length):a?(n=r[3]+r[4],u=r[3].length):n=r[4],"file:"===i?u>=2&&(n=n.slice(2)):g(i)?n=r[4]:i?o&&(n=n.slice(2)):u>=2&&g(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||g(i),slashesCount:u,rest:n}}function m(e,t,n){if(e=(e=_(e)).replace(s,""),!(this instanceof m))return new m(e,t,n);var r,a,u,c,l,h,y=f.slice(),b=typeof t,S=this,E=0;for("object"!==b&&"string"!==b&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),r=!(a=v(e||"",t=p(t))).protocol&&!a.slashes,S.slashes=a.slashes||r&&t.slashes,S.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||d.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!g(S.protocol)))&&(y[3]=[/(.*)/,"pathname"]);E<y.length;E++)"function"!=typeof(c=y[E])?(u=c[0],h=c[1],u!=u?S[h]=e:"string"==typeof u?~(l="@"===u?e.lastIndexOf(u):e.indexOf(u))&&("number"==typeof c[2]?(S[h]=e.slice(0,l),e=e.slice(l+c[2])):(S[h]=e.slice(l),e=e.slice(0,l))):(l=u.exec(e))&&(S[h]=l[1],e=e.slice(0,l.index)),S[h]=S[h]||r&&c[3]&&t[h]||"",c[4]&&(S[h]=S[h].toLowerCase())):e=c(e,S);n&&(S.query=n(S.query)),r&&t.slashes&&"/"!==S.pathname.charAt(0)&&(""!==S.pathname||""!==t.pathname)&&(S.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,i=n[r-1],o=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(o=!0),n.splice(r,1),a--);return o&&n.unshift(""),"."!==i&&".."!==i||n.push(""),n.join("/")}(S.pathname,t.pathname)),"/"!==S.pathname.charAt(0)&&g(S.protocol)&&(S.pathname="/"+S.pathname),i(S.port,S.protocol)||(S.host=S.hostname,S.port=""),S.username=S.password="",S.auth&&(~(l=S.auth.indexOf(":"))?(S.username=S.auth.slice(0,l),S.username=encodeURIComponent(decodeURIComponent(S.username)),S.password=S.auth.slice(l+1),S.password=encodeURIComponent(decodeURIComponent(S.password))):S.username=encodeURIComponent(decodeURIComponent(S.auth)),S.auth=S.password?S.username+":"+S.password:S.username),S.origin="file:"!==S.protocol&&g(S.protocol)&&S.host?S.protocol+"//"+S.host:"null",S.href=S.toString()}m.prototype={set:function(e,t,n){var r=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),r[e]=t;break;case"port":r[e]=t,i(t,r.protocol)?t&&(r.host=r.hostname+":"+t):(r.host=r.hostname,r[e]="");break;case"hostname":r[e]=t,r.port&&(t+=":"+r.port),r.host=t;break;case"host":r[e]=t,c.test(t)?(t=t.split(":"),r.port=t.pop(),r.hostname=t.join(":")):(r.hostname=t,r.port="");break;case"protocol":r.protocol=t.toLowerCase(),r.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";r[e]=t.charAt(0)!==a?a+t:t}else r[e]=t;break;case"username":case"password":r[e]=encodeURIComponent(t);break;case"auth":var s=t.indexOf(":");~s?(r.username=t.slice(0,s),r.username=encodeURIComponent(decodeURIComponent(r.username)),r.password=t.slice(s+1),r.password=encodeURIComponent(decodeURIComponent(r.password))):r.username=encodeURIComponent(decodeURIComponent(t))}for(var u=0;u<f.length;u++){var l=f[u];l[4]&&(r[l[1]]=r[l[1]].toLowerCase())}return r.auth=r.password?r.username+":"+r.password:r.username,r.origin="file:"!==r.protocol&&g(r.protocol)&&r.host?r.protocol+"//"+r.host:"null",r.href=r.toString(),r},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.host,i=n.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var a=i+(n.protocol&&n.slashes||g(n.protocol)?"//":"");return n.username?(a+=n.username,n.password&&(a+=":"+n.password),a+="@"):n.password?(a+=":"+n.password,a+="@"):"file:"!==n.protocol&&g(n.protocol)&&!r&&"/"!==n.pathname&&(a+="@"),(":"===r[r.length-1]||c.test(n.hostname)&&!n.port)&&(r+=":"),a+=r+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(a+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(a+=n.hash),a}},m.extractProtocol=v,m.location=p,m.trimLeft=_,m.qs=o,e.exports=m},1588:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8916);const i=function(e,t){for(var n=e.length;n--;)if((0,r.Z)(e[n][0],t))return n;return-1};var o=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]},a.prototype.has=function(e){return i(this.__data__,e)>-1},a.prototype.set=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const s=a},6462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3203),i=n(7659);const o=(0,r.Z)(i.Z,"Map")},3026:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});const r=(0,n(3203).Z)(Object,"create");var i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},a.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)},a.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};const s=a;var u=n(1588),c=n(6462);const l=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(c.Z||u.Z),string:new s}},d.prototype.delete=function(e){var t=l(this,e).delete(e);return this.size-=t?1:0,t},d.prototype.get=function(e){return l(this,e).get(e)},d.prototype.has=function(e){return l(this,e).has(e)},d.prototype.set=function(e,t){var n=l(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const _=d},9228:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3203),i=n(7659);const o=(0,r.Z)(i.Z,"Set")},8484:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3026);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.Z;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},i.prototype.has=function(e){return this.__data__.has(e)};const o=i},6757:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(1588),i=n(6462),o=n(3026);function a(e){var t=this.__data__=new r.Z(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new r.Z,this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.Z){var a=n.__data__;if(!i.Z||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o.Z(a)}return n.set(e,t),this.size=n.size,this};const s=a},9e3:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7659).Z.Symbol},6421:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(7659).Z.Uint8Array},1279:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(3857),i=n(7838),o=n(1261),a=n(2916),s=n(4902),u=Object.prototype.hasOwnProperty;const c=function(e,t){var n=(0,i.default)(e),c=!n&&(0,r.Z)(e),l=!n&&!c&&(0,o.Z)(e),d=!n&&!c&&!l&&(0,s.Z)(e),_=n||c||l||d,f=_?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],h=f.length;for(var p in e)!t&&!u.call(e,p)||_&&("length"==p||l&&("offset"==p||"parent"==p)||d&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||(0,a.Z)(p,h))||f.push(p);return f}},497:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},7891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},4424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(541),i=n(8916),o=Object.prototype.hasOwnProperty;const a=function(e,t,n){var a=e[t];o.call(e,t)&&(0,i.Z)(a,n)&&(void 0!==n||t in e)||(0,r.Z)(e,t,n)}},541:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2452);const i=function(e,t,n){"__proto__"==t&&r.Z?(0,r.Z)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5976:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7891),i=n(7838);const o=function(e,t,n){var o=t(e);return(0,i.default)(e)?o:(0,r.Z)(o,n(e))}},4029:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9e3),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r.Z?r.Z.toStringTag:void 0,u=Object.prototype.toString,c=r.Z?r.Z.toStringTag:void 0;const l=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}(e):function(e){return u.call(e)}(e)}},2722:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r=function(e){return e!=e},i=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):function(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,r,n)}},2304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r=n(6757),i=n(541),o=n(8916);const a=function(e,t,n){(void 0!==n&&!(0,o.Z)(e[t],n)||void 0===n&&!(t in e))&&(0,i.Z)(e,t,n)};var s=n(3999),u=n(4763),c=n(8058),l=n(3736),d=n(3857),_=n(7838),f=n(9458),h=n(8742),p=n(1261),g=n(8246),v=n(369),m=n(2701),y=n(4902);const b=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var S=n(6518),E=n(2742);const $=function(e,t,n,r,i,o,$){var T,A=b(e,n),C=b(t,n),P=$.get(C);if(P)a(e,n,P);else{var I=o?o(A,C,n+"",e,t,$):void 0,w=void 0===I;if(w){var M=(0,_.default)(C),k=!M&&(0,p.Z)(C),O=!M&&!k&&(0,y.Z)(C);I=C,M||k||O?(0,_.default)(A)?I=A:(T=A,(0,h.Z)(T)&&(0,f.Z)(T)?I=(0,c.Z)(A):k?(w=!1,I=(0,s.Z)(C,!0)):O?(w=!1,I=(0,u.Z)(C,!0)):I=[]):(0,m.default)(C)||(0,d.Z)(C)?(I=A,(0,d.Z)(A)?I=function(e){return(0,S.Z)(e,(0,E.Z)(e))}(A):(0,v.default)(A)&&!(0,g.default)(A)||(I=(0,l.Z)(C))):w=!1}w&&($.set(C,I),i(I,C,r,o,$),$.delete(C)),a(e,n,I)}},T=function e(t,n,i,o,s){t!==n&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s))break}}(n,(function(u,c){if(s||(s=new r.Z),(0,v.default)(u))$(t,n,c,i,e,o,s);else{var l=o?o(b(t,c),u,c+"",t,n,s):void 0;void 0===l&&(l=u),a(t,c,l)}}),E.Z)}},8052:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});const r=function(e){return e};var i=Math.max,o=n(2452);const a=o.Z?function(e,t){return(0,o.Z)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:r;var s=Date.now;const u=(c=a,l=0,d=0,function(){var e=s(),t=16-(e-d);if(d=e,t>0){if(++l>=800)return arguments[0]}else l=0;return c.apply(void 0,arguments)});var c,l,d;const _=function(e,t){return u(function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=i(r.length-t,0),s=Array(a);++o<a;)s[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,u)}}(e,t,r),e+"")}},2052:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return function(t){return e(t)}}},8923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){return e.has(t)}},971:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7838),i=n(4878),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,s=n(3026);function u(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(u.Cache||s.Z),n}u.Cache=s.Z;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;const d=(_=u((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,(function(e,n,r,i){t.push(r?i.replace(l,"$1"):n||e)})),t}),(function(e){return 500===f.size&&f.clear(),e})),f=_.cache,_);var _,f,h=n(1189);const p=function(e,t){return(0,r.default)(e)?e:function(e,t){if((0,r.default)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!(0,i.Z)(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:d((0,h.Z)(e))}},6840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6421);const i=function(e){var t=new e.constructor(e.byteLength);return new r.Z(t).set(new r.Z(e)),t}},3999:(n,r,i)=>{"use strict";i.d(r,{Z:()=>l});var o=i(7659),a=t&&!t.nodeType&&t,s=a&&e&&!e.nodeType&&e,u=s&&s.exports===a?o.Z.Buffer:void 0,c=u?u.allocUnsafe:void 0;const l=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6840);const i=function(e,t){var n=t?(0,r.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},8058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},6518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4424),i=n(541);const o=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=o?o(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?(0,i.Z)(n,c,l):(0,r.Z)(n,c,l)}return n}},4133:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(8052),i=n(8916),o=n(9458),a=n(2916),s=n(369);const u=function(e){return(0,r.Z)((function(t,n){var r=-1,u=n.length,c=u>1?n[u-1]:void 0,l=u>2?n[2]:void 0;for(c=e.length>3&&"function"==typeof c?(u--,c):void 0,l&&function(e,t,n){if(!(0,s.default)(n))return!1;var r=typeof t;return!!("number"==r?(0,o.Z)(n)&&(0,a.Z)(t,n.length):"string"==r&&t in n)&&(0,i.Z)(n[t],e)}(n[0],n[1],l)&&(c=u<3?void 0:c,u=1),t=Object(t);++r<u;){var d=n[r];d&&e(t,d,r,c)}return t}))}},2452:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3203);const i=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},8055:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});const i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},2879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(5976),i=n(1256),o=n(7805);const a=function(e){return(0,r.Z)(e,o.Z,i.Z)}},3203:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(8246);const i=n(7659).Z["__core-js_shared__"];var o,a=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",s=n(369),u=n(4549),c=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,_=l.toString,f=d.hasOwnProperty,h=RegExp("^"+_.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!(0,s.default)(e)||(t=e,a&&a in t))&&((0,r.default)(e)?h:c).test((0,u.Z)(e));var t}(n)?n:void 0}},9773:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(4068).Z)(Object.getPrototypeOf,Object)},1256:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3464),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;const a=o?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a)&&(o[i++]=a)}return o}(o(e),(function(t){return i.call(e,t)})))}:r.Z},9424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>$});var r=n(3203),i=n(7659);const o=(0,r.Z)(i.Z,"DataView");var a=n(6462);const s=(0,r.Z)(i.Z,"Promise");var u=n(9228);const c=(0,r.Z)(i.Z,"WeakMap");var l=n(4029),d=n(4549),_="[object Map]",f="[object Promise]",h="[object Set]",p="[object WeakMap]",g="[object DataView]",v=(0,d.Z)(o),m=(0,d.Z)(a.Z),y=(0,d.Z)(s),b=(0,d.Z)(u.Z),S=(0,d.Z)(c),E=l.Z;(o&&E(new o(new ArrayBuffer(1)))!=g||a.Z&&E(new a.Z)!=_||s&&E(s.resolve())!=f||u.Z&&E(new u.Z)!=h||c&&E(new c)!=p)&&(E=function(e){var t=(0,l.Z)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,d.Z)(n):"";if(r)switch(r){case v:return g;case m:return _;case y:return f;case b:return h;case S:return p}return t});const $=E},3736:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(369),i=Object.create;const o=function(){function e(){}return function(t){if(!(0,r.default)(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var a=n(9773),s=n(4357);const u=function(e){return"function"!=typeof e.constructor||(0,s.Z)(e)?{}:o((0,a.Z)(e))}},2916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=/^(?:0|[1-9]\d*)$/;const i=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},4357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=Object.prototype;const i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},7433:(n,r,i)=>{"use strict";i.d(r,{Z:()=>c});var o=i(8055),a=t&&!t.nodeType&&t,s=a&&e&&!e.nodeType&&e,u=s&&s.exports===a&&o.Z.process;const c=function(){try{return s&&s.require&&s.require("util").types||u&&u.binding&&u.binding("util")}catch(e){}}()},4068:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){return function(n){return e(t(n))}}},7659:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8055),i="object"==typeof self&&self&&self.Object===Object&&self;const o=r.Z||i||Function("return this")()},877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},9316:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4878);const i=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},4549:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=Function.prototype.toString;const i=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7673:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(4424),i=n(6518),o=n(4133),a=n(9458),s=n(4357),u=n(7805),c=Object.prototype.hasOwnProperty;const l=(0,o.Z)((function(e,t){if((0,s.Z)(t)||(0,a.Z)(t))(0,i.Z)(t,(0,u.Z)(t),e);else for(var n in t)c.call(t,n)&&(0,r.Z)(e,n,t[n])}))},5192:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=/\s/,i=/^\s+/,o=n(369),a=n(4878),s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;const d=function(e){if("number"==typeof e)return e;if((0,a.Z)(e))return NaN;if((0,o.default)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,o.default)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}(e)+1).replace(i,""):e}(e);var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?NaN:+e},_=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=d(n))==n?n:0),void 0!==t&&(t=(t=d(t))==t?t:0),function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(d(e),t,n)}},9494:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var r=n(6757),i=n(4424),o=n(6518),a=n(7805),s=n(2742),u=n(3999),c=n(8058),l=n(1256),d=n(7891),_=n(9773),f=n(3464);const h=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,d.Z)(t,(0,l.Z)(e)),e=(0,_.Z)(e);return t}:f.Z;var p=n(2879),g=n(5976);const v=function(e){return(0,g.Z)(e,s.Z,h)};var m=n(9424),y=Object.prototype.hasOwnProperty,b=n(6840),S=/\w*$/,E=n(9e3),$=E.Z?E.Z.prototype:void 0,T=$?$.valueOf:void 0,A=n(4763);const C=function(e,t,n){var r,i,o,a=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,b.Z)(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?(0,b.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,A.Z)(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(o=new(i=e).constructor(i.source,S.exec(i))).lastIndex=i.lastIndex,o;case"[object Symbol]":return r=e,T?Object(T.call(r)):{}}};var P=n(3736),I=n(7838),w=n(1261),M=n(8742),k=n(2052),O=n(7433),R=O.Z&&O.Z.isMap;const D=R?(0,k.Z)(R):function(e){return(0,M.Z)(e)&&"[object Map]"==(0,m.Z)(e)};var L=n(369),x=O.Z&&O.Z.isSet;const N=x?(0,k.Z)(x):function(e){return(0,M.Z)(e)&&"[object Set]"==(0,m.Z)(e)};var U="[object Arguments]",B="[object Function]",F="[object Object]",j={};j[U]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[F]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[B]=j["[object WeakMap]"]=!1;const H=function e(t,n,d,_,f,g){var b,S=1&n,E=2&n,$=4&n;if(d&&(b=f?d(t,_,f,g):d(t)),void 0!==b)return b;if(!(0,L.default)(t))return t;var T=(0,I.default)(t);if(T){if(b=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&y.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!S)return(0,c.Z)(t,b)}else{var A=(0,m.Z)(t),M=A==B||"[object GeneratorFunction]"==A;if((0,w.Z)(t))return(0,u.Z)(t,S);if(A==F||A==U||M&&!f){if(b=E||M?{}:(0,P.Z)(t),!S)return E?function(e,t){return(0,o.Z)(e,h(e),t)}(t,function(e,t){return e&&(0,o.Z)(t,(0,s.Z)(t),e)}(b,t)):function(e,t){return(0,o.Z)(e,(0,l.Z)(e),t)}(t,function(e,t){return e&&(0,o.Z)(t,(0,a.Z)(t),e)}(b,t))}else{if(!j[A])return f?t:{};b=C(t,A,S)}}g||(g=new r.Z);var k=g.get(t);if(k)return k;g.set(t,b),N(t)?t.forEach((function(r){b.add(e(r,n,d,r,t,g))})):D(t)&&t.forEach((function(r,i){b.set(i,e(r,n,d,i,t,g))}));var O=$?E?v:p.Z:E?s.Z:a.Z,R=T?void 0:O(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n););}(R||t,(function(r,o){R&&(r=t[o=r]),(0,i.Z)(b,o,e(r,n,d,o,t,g))})),b},V=function(e){return H(e,5)}},8916:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t){return e===t||e!=e&&t!=t}},1947:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(7891),i=n(9e3),o=n(3857),a=n(7838),s=i.Z?i.Z.isConcatSpreadable:void 0;const u=function(e){return(0,a.default)(e)||(0,o.Z)(e)||!!(s&&e&&e[s])},c=function e(t,n,i,o,a){var s=-1,c=t.length;for(i||(i=u),a||(a=[]);++s<c;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,o,a):(0,r.Z)(a,l):o||(a[a.length]=l)}return a},l=function(e){return null!=e&&e.length?c(e,1):[]}},6040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(971),i=n(9316);const o=function(e,t,n){var o=null==e?void 0:function(e,t){for(var n=0,o=(t=(0,r.Z)(t,e)).length;null!=e&&n<o;)e=e[(0,i.Z)(t[n++])];return n&&n==o?e:void 0}(e,t);return void 0===o?n:o}},1117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=Object.prototype.hasOwnProperty;const i=function(e,t){return null!=e&&r.call(e,t)};var o=n(971),a=n(3857),s=n(7838),u=n(2916),c=n(7614),l=n(9316);const d=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=(0,o.Z)(t,e)).length,d=!1;++r<i;){var _=(0,l.Z)(t[r]);if(!(d=null!=e&&n(e,_)))break;e=e[_]}return d||++r!=i?d:!!(i=null==e?0:e.length)&&(0,c.Z)(i)&&(0,u.Z)(_,i)&&((0,s.default)(e)||(0,a.Z)(e))}(e,t,i)}},3857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(4029),i=n(8742);const o=function(e){return(0,i.Z)(e)&&"[object Arguments]"==(0,r.Z)(e)};var a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable;const c=o(function(){return arguments}())?o:function(e){return(0,i.Z)(e)&&s.call(e,"callee")&&!u.call(e,"callee")}},7838:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=Array.isArray},9458:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8246),i=n(7614);const o=function(e){return null!=e&&(0,i.Z)(e.length)&&!(0,r.default)(e)}},9142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4029),i=n(8742);const o=function(e){return!0===e||!1===e||(0,i.Z)(e)&&"[object Boolean]"==(0,r.Z)(e)}},1261:(n,r,i)=>{"use strict";i.d(r,{Z:()=>c});var o=i(7659),a=t&&!t.nodeType&&t,s=a&&e&&!e.nodeType&&e,u=s&&s.exports===a?o.Z.Buffer:void 0;const c=(u?u.isBuffer:void 0)||function(){return!1}},5599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I});var r=n(6757),i=n(8484);const o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var a=n(8923);const s=function(e,t,n,r,s,u){var c=1&n,l=e.length,d=t.length;if(l!=d&&!(c&&d>l))return!1;var _=u.get(e),f=u.get(t);if(_&&f)return _==t&&f==e;var h=-1,p=!0,g=2&n?new i.Z:void 0;for(u.set(e,t),u.set(t,e);++h<l;){var v=e[h],m=t[h];if(r)var y=c?r(m,v,h,t,e,u):r(v,m,h,e,t,u);if(void 0!==y){if(y)continue;p=!1;break}if(g){if(!o(t,(function(e,t){if(!(0,a.Z)(g,t)&&(v===e||s(v,e,n,r,u)))return g.push(t)}))){p=!1;break}}else if(v!==m&&!s(v,m,n,r,u)){p=!1;break}}return u.delete(e),u.delete(t),p};var u=n(9e3),c=n(6421),l=n(8916);const d=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var _=n(877),f=u.Z?u.Z.prototype:void 0,h=f?f.valueOf:void 0,p=n(2879),g=Object.prototype.hasOwnProperty,v=n(9424),m=n(7838),y=n(1261),b=n(4902),S="[object Arguments]",E="[object Array]",$="[object Object]",T=Object.prototype.hasOwnProperty;const A=function(e,t,n,i,o,a){var u=(0,m.default)(e),f=(0,m.default)(t),A=u?E:(0,v.Z)(e),C=f?E:(0,v.Z)(t),P=(A=A==S?$:A)==$,I=(C=C==S?$:C)==$,w=A==C;if(w&&(0,y.Z)(e)){if(!(0,y.Z)(t))return!1;u=!0,P=!1}if(w&&!P)return a||(a=new r.Z),u||(0,b.Z)(e)?s(e,t,n,i,o,a):function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new c.Z(e),new c.Z(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,l.Z)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var u=d;case"[object Set]":var f=1&r;if(u||(u=_.Z),e.size!=t.size&&!f)return!1;var p=a.get(e);if(p)return p==t;r|=2,a.set(e,t);var g=s(u(e),u(t),r,i,o,a);return a.delete(e),g;case"[object Symbol]":if(h)return h.call(e)==h.call(t)}return!1}(e,t,A,n,i,o,a);if(!(1&n)){var M=P&&T.call(e,"__wrapped__"),k=I&&T.call(t,"__wrapped__");if(M||k){var O=M?e.value():e,R=k?t.value():t;return a||(a=new r.Z),o(O,R,n,i,a)}}return!!w&&(a||(a=new r.Z),function(e,t,n,r,i,o){var a=1&n,s=(0,p.Z)(e),u=s.length;if(u!=(0,p.Z)(t).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in t:g.call(t,l)))return!1}var d=o.get(e),_=o.get(t);if(d&&_)return d==t&&_==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=a;++c<u;){var v=e[l=s[c]],m=t[l];if(r)var y=a?r(m,v,l,t,e,o):r(v,m,l,e,t,o);if(!(void 0===y?v===m||i(v,m,n,r,o):y)){f=!1;break}h||(h="constructor"==l)}if(f&&!h){var b=e.constructor,S=t.constructor;b==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof S&&S instanceof S||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,i,o,a))};var C=n(8742);const P=function e(t,n,r,i,o){return t===n||(null==t||null==n||!(0,C.Z)(t)&&!(0,C.Z)(n)?t!=t&&n!=n:A(t,n,r,i,e,o))},I=function(e,t){return P(e,t)}},8246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4029),i=n(369);const o=function(e){if(!(0,i.default)(e))return!1;var t=(0,r.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},7614:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5e3:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){return null===e}},3701:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4029),i=n(8742);const o=function(e){return"number"==typeof e||(0,i.Z)(e)&&"[object Number]"==(0,r.Z)(e)}},369:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return null!=e&&"object"==typeof e}},2701:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(4029),i=n(9773),o=n(8742),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);const d=function(e){if(!(0,o.Z)(e)||"[object Object]"!=(0,r.Z)(e))return!1;var t=(0,i.Z)(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},3136:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(4029),i=n(7838),o=n(8742);const a=function(e){return"string"==typeof e||!(0,i.default)(e)&&(0,o.Z)(e)&&"[object String]"==(0,r.Z)(e)}},4878:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4029),i=n(8742);const o=function(e){return"symbol"==typeof e||(0,i.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},4902:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(4029),i=n(7614),o=n(8742),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(2052),u=n(7433),c=u.Z&&u.Z.isTypedArray;const l=c?(0,s.Z)(c):function(e){return(0,o.Z)(e)&&(0,i.Z)(e.length)&&!!a[(0,r.Z)(e)]}},7805:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1279),i=n(4357);const o=(0,n(4068).Z)(Object.keys,Object);var a=Object.prototype.hasOwnProperty,s=n(9458);const u=function(e){return(0,s.Z)(e)?(0,r.Z)(e):function(e){if(!(0,i.Z)(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}},2742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1279),i=n(369),o=n(4357),a=Object.prototype.hasOwnProperty,s=n(9458);const u=function(e){return(0,s.Z)(e)?(0,r.Z)(e,!0):function(e){if(!(0,i.default)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=(0,o.Z)(e),n=[];for(var r in e)("constructor"!=r||!t&&a.call(e,r))&&n.push(r);return n}(e)}},7945:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(2304);const i=(0,n(4133).Z)((function(e,t,n){(0,r.Z)(e,t,n)}))},105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(2304);const i=(0,n(4133).Z)((function(e,t,n,i){(0,r.Z)(e,t,n,i)}))},1637:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(8052),i=(n(497),n(2722));n(2052);var o=n(8058),a=Array.prototype.splice;const s=(0,r.Z)((function(e,t){return e&&e.length&&t&&t.length?function(e,t,n,r){var s=i.Z,u=-1,c=t.length,l=e;for(e===t&&(t=(0,o.Z)(t));++u<c;)for(var d=0,_=t[u];(d=s(l,_,d,undefined))>-1;)l!==e&&a.call(l,d,1),a.call(e,d,1);return e}(e,t):e}))},1478:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(4424),i=n(971),o=n(2916),a=n(369),s=n(9316);const u=function(e,t,n){return null==e?e:function(e,t,n,u){if(!(0,a.default)(e))return e;for(var c=-1,l=(t=(0,i.Z)(t,e)).length,d=l-1,_=e;null!=_&&++c<l;){var f=(0,s.Z)(t[c]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(c!=d){var p=_[f];void 0===(h=void 0)&&(h=(0,a.default)(p)?p:(0,o.Z)(t[c+1])?[]:{})}(0,r.Z)(_,f,h),_=_[f]}return e}(e,t,n)}},3464:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(){return[]}},1189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(9e3),i=n(497),o=n(7838),a=n(4878),s=r.Z?r.Z.prototype:void 0,u=s?s.toString:void 0;const c=function e(t){if("string"==typeof t)return t;if((0,o.default)(t))return(0,i.Z)(t,e)+"";if((0,a.Z)(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},l=function(e){return null==e?"":c(e)}},4916:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(8484),i=n(2722);const o=function(e,t){return!(null==e||!e.length)&&(0,i.Z)(e,t,0)>-1};var a=n(8923),s=n(9228),u=n(877);const c=s.Z&&1/(0,u.Z)(new s.Z([,-0]))[1]==1/0?function(e){return new s.Z(e)}:function(){},l=function(e){return e&&e.length?function(e,t,n){var i=-1,s=o,l=e.length,d=!0,_=[],f=_;if(l>=200){var h=c(e);if(h)return(0,u.Z)(h);d=!1,s=a.Z,f=new r.Z}else f=_;e:for(;++i<l;){var p=e[i],g=p;if(p=0!==p?p:0,d&&g==g){for(var v=f.length;v--;)if(f[v]===g)continue e;_.push(p)}else s(f,g,undefined)||(f!==_&&f.push(g),_.push(p))}return _}(e):[]}},3345:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(1189),i=0;const o=function(e){var t=++i;return(0,r.Z)(e)+t}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,a),n.exports}return a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a(1114)})(),e.exports=r()},38071:(module,exports,__nested_webpack_require_339467__)=>{module=__nested_webpack_require_339467__.nmd(module);var console=__nested_webpack_require_339467__(23716),Buffer=__nested_webpack_require_339467__(41317).lW,t;self,t=function(){return(()=>{var __webpack_modules__={1235:(e,t,n)=>{"use strict";t.__esModule=!0,t.BreakType=t.AdBreak=void 0,t.normalisePosition=l;var r=n(7823),i=n(7995),o=(n(6366),n(8002),n(597));function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}var c=Object.freeze({LINEAR:0,NONLINEAR:1,DISPLAY:2});function l(e,t,n){var r=e?e.toLowerCase():"";return"preroll"===r||"midroll"===r||"postroll"===r?r:0===t?"preroll":n===c.LINEAR?"midroll":"unknown"}t.BreakType=c;var d=function(e){var t,n;function i(t,n,r,o,a,s,u,d){var _;return(_=e.call(this)||this).startMillis=t,_.duration=n,_.trackingMap=o||new Map,_.breakType=i.getBreakTypeFromString(a),_.position=l(r,t,_.breakType),_.identifier=s,_.extensions=u,_.broker=null,_.adverts=[],_.adTagUri=d||null,_.breakType!==c.LINEAR&&-1===_.startMillis&&(_.startMillis=0),_}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),i.getBreakTypeFromString=function(e){return(0,o.equalsIgnoreCase)(e,"nonlinear")?c.NONLINEAR:(0,o.equalsIgnoreCase)(e,"display")?c.DISPLAY:c.LINEAR};var s=i.prototype;return s.adjustForEarlyReturn=function(e){var t=this.getAdvertFromPlayhead(e);if(t){var n=t.getStart()===e;return n||t.adjustForEarlyReturn(e),this.removeAdvertsFrom(t,n),this.setDuration(e-this.startMillis),!0}return!1},s.getAdvertForCreative=function(e){for(var t,n=a(this.adverts);!(t=n()).done;){var r=t.value;if(r.containsCreative(e))return r}return null},s.getAdvertFromPlayhead=function(e){for(var t,n=a(this.adverts);!(t=n()).done;){var r=t.value;if(r.getStart()<=e&&e<r.getEnd())return r}return null},s.getAdvertFromIdentifier=function(e){for(var t,n=a(this.adverts);!(t=n()).done;){var r=t.value;if(r.getMediaIdentifier()===e)return r}return null},s.getAdverts=function(){return Object.assign([],this.adverts)},s.getAdTagUri=function(){return this.adTagUri},s.getBreakTypeAsString=function(){switch(this.breakType){case c.NONLINEAR:return"nonlinear";case c.DISPLAY:return"display";default:return"linear"}},s.getType=function(){return this.breakType},s.getDuration=function(){return this.duration},s.getExtensions=function(){return this.extensions},s.getIdentifier=function(){return this.identifier},s.isPlaceholder=function(){return null!==this.adTagUri},s.getPosition=function(){return this.position},s.getRemainingTime=function(e){var t=0;if(this.adverts.length>0){var n=this.adverts[0].getStart()+this.getDuration();t=Math.min(n-e,this.getDuration())}return Math.max(0,t)},s.getStart=function(){return this.startMillis},s.getTrackingMap=function(){return this.trackingMap},s.getTrackingReport=function(e,t){var n=this.trackingMap.get(e);return n&&t&&this.trackingMap.delete(e),n},s.isActive=function(){if(!this.adverts)return!1;for(var e,t=a(this.adverts);!(e=t()).done;)if(e.value.isActive())return!0;return!1},s.isNonLinear=function(){return this.breakType!==c.LINEAR},s.isValid=function(){return this.breakType===c.LINEAR&&-1===this.startMillis?(r.YoLog.e("Linear AdBreak is invalid - start position is unknown"),!1):this.adverts.length>0||this.trackingMap.size>0||this.isPlaceholder()},s.onNonLinearTrackingEvent=function(e){if(this.isNonLinear()){var t=this.getTrackingReport(e,!1);t&&this.broker.fireTrackingReport(t)}else r.YoLog.w("Warning: AdBreak is not nonlinear - can't signal NonLinearTrackingEvent")},s.postParse=function(e){this.broker=e;for(var t,n=this.startMillis,r=a(this.adverts);!(t=r()).done;){var i=t.value;i.setStart(n),n+=i.getDuration(),i.postParse(e)}},s.removeAdvertsFrom=function(e,t){for(var n=0;n<this.adverts.length;++n)if(this.adverts[n]===e){var r=!0===t?n:n+1;return void this.adverts.splice(r,this.adverts.length-r)}},s.setAdverts=function(e){Array.prototype.push.apply(this.adverts,e);for(var t,n=this.startMillis,r=a(this.adverts);!(t=r()).done;){var i=t.value;i.setStart(n),n+=i.getDuration()}},s.setAdvertsInactivePriorTo=function(e){for(var t,n=a(this.adverts);!(t=n()).done;){var r=t.value;if(!(r.getEnd()<e))return!1;r.setInactive()}return!0},s.setDuration=function(e){this.duration=e},s.setInactive=function(){if(!this.isNonLinear()){for(var e,t=a(this.adverts);!(e=t()).done;)e.value.setInactive();this.trackingMap.clear()}},s.toString=function(){return"\n--- AdBreak ---\n breakType:"+this.getBreakTypeAsString()+" start:"+this.startMillis+" milliseconds, duration:"+this.duration+", position:"+this.position+"\nNumber of adverts:"+this.adverts.length},i}(i.AdBreakEventHandler);t.AdBreak=d},8710:(e,t,n)=>{"use strict";t.__esModule=!0,t.AdVerification=void 0;var r=n(7461),i=n(7823),o=n(597),a=n(6670);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}n(3698);var l=function(e){var t,n;function a(t){var n;return(n=e.call(this)||this).vendor=t.verificationVendor,n.resources=t.verificationResources,n.verificationEvents=t.verificationEvents,n.parameters=t.verificationParameters,n.listeners=[],n.broker=null,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var u=a.prototype;return u.getAdVerificationEvents=function(){return this.verificationEvents},u.getParameters=function(){return this.parameters},u.getResources=function(){return Object.assign([],this.resources)},u.getVendor=function(){return this.vendor},u.isValid=function(){return!!(this.vendor&&this.resources&&this.resources.length>0)},u.onVerificationEvent=function(e,t){if(0!==this.listeners.length){var n=Number.isInteger(t);t&&!n&&i.YoLog.w("onVerificationEvent: reason should be an integer.");var o=this.verificationEvents.get(e);if(o){if(n&&t)for(var a,u=s(this.listeners);!(a=u()).done;)(0,a.value)(new r.Event(t));this.broker.fireTrackingReport(o)}}else i.YoLog.w("No event listeners - can't signal VerificationEvent")},u.postParse=function(e,t){this.broker=e,t?this.listeners.push(t):i.YoLog.e("postParse: callback was null")},u.toString=function(){var e="";if(this.verificationEvents.size>0){e+="\n - Verification events:";for(var t,n=s(this.verificationEvents);!(t=n()).done;){var r=t.value;e+="\n "+r[0]+"="+r[1]}}var i="\n--- Ad Verification:\n - Vendor:";i+=this.vendor,i+="\n - Resources:";for(var a,u=s(this.resources);!(a=u()).done;){var c=a.value;i+="\n"+(0,o.toIndentedString)(c)}return i+=e,(i+="\n - VerificationParameters:")+this.parameters},a}(a.VerificationEventHandler);t.AdVerification=l},6366:(e,t,n)=>{"use strict";t.__esModule=!0,t.Advert=void 0;var r=n(862),i=n(7964),o=n(7823),a=n(3755),s=n(50),u=n(597),c=n(7196),l=(n(8710),n(982),n(6464),n(1305),n(6474)),d=n(6646),_=(n(3698),n(9473),n(8002),n(1862));function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var g=function(e){var t,n;function c(t){var n;if((n=e.call(this)||this).startMillis=0,n.identifier="",n.mediaIdentifier="",n.active=!1,t.id){var i=t.id.split("_YO_");2===i.length&&(n.identifier=i[0],n.mediaIdentifier=i[1])}return n.properties=t.properties?t.properties:[],n.linearCreative=t.linearCreative,n.nonLinearAds=t.nonLinearAds?t.nonLinearAds:new s.NonLinearAds,n.companionAds=t.companionAds?t.companionAds:new r.CompanionAds,n.impressions=t.impressions,n.errors=t.errors,n.viewableImpressions=t.viewableImpressions?t.viewableImpressions:new Map,n.adVerifications=t.adVerifications?t.adVerifications:[],n.sequence=t.sequence,n.adType=t.adType,n.nonLinear=t.nonLinear,n.filler=t.filler,n.trackingSchedule=new Map,t.topLevelWrapper&&t.topLevelWrapper.isValid()?n.wrapper=t.topLevelWrapper:n.wrapper=null,n.extensions=t.extensions,n.broker=null,n.macroSubstitutions=new Map,n.earlyReturn=!1,n}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,p(t,n),c.buildMapString=function(e){if(e.size>0)for(var t,n=f(e);!(t=n()).done;){var r=t.value;r[0],r[1]}};var h=c.prototype;return h.addMacroSubstitution=function(e,t){this.macroSubstitutions.set(e,t)},h.addTrackingScheduleEntry=function(e,t){for(var n=t*this.linearCreative.getDuration();this.trackingSchedule.has(n);)++n;this.trackingSchedule.set(n,e)},h.adjustForEarlyReturn=function(e){var t=e-this.startMillis;this.setDuration(t);for(var n,r=f(this.getTrackingSchedule().keys());!(n=r()).done;){var i=n.value;i>t&&this.removeFromTrackingSchedule(i)}this.earlyReturn=!0},h.clearTrackingSchedule=function(){this.trackingSchedule.clear()},h.containsCreative=function(e){return e instanceof l.LinearCreative?e===this.linearCreative:e instanceof d.NonLinearCreative?this.nonLinearAds.containsCreative(e):e instanceof i.CompanionCreative&&this.companionAds.containsCreative(e)},h.containsIcon=function(e){for(var t,n=f(this.linearCreative.getIndustryIcons());!(t=n()).done;)if(t.value===e)return!0;return!1},h.getAdVerifications=function(){return Object.assign([],this.adVerifications)},h.getAdType=function(){return this.adType},h.getCompanionAds=function(){return this.companionAds},h.getCompanionAdsByType=function(e){return this.companionAds.getCompanionsByType(e)},h.getCompanionRequired=function(){return this.companionAds.getRequired()},h.getDuration=function(){return this.nonLinear?0:this.linearCreative.getDuration()},h.getEnd=function(){return this.startMillis+this.linearCreative.getDuration()},h.getExtensions=function(){return this.extensions},h.getIdentifier=function(){return this.identifier},h.getImpressions=function(e){if(!this.impressions)return null;var t=new _.TrackingReport(this.impressions.trackingEvent,this.impressions.trackingUrls);return e&&(this.impressions=null),t},h.getIndustryIcons=function(){return this.linearCreative.getIndustryIcons()},h.getInteractiveCreative=function(){return this.linearCreative.getInteractiveCreative()},h.isTruncated=function(){return this.earlyReturn},h.getLineage=function(){return this.wrapper},h.getLinearCreative=function(){return this.linearCreative},h.getMacroSubstitutions=function(){return this.macroSubstitutions},h.getMediaIdentifier=function(){return this.mediaIdentifier},h.getNonLinearAds=function(){return this.nonLinearAds},h.getNonLinearCreativesByType=function(e){return this.nonLinearAds.getNonLinearCreativesByType(e)},h.getProperties=function(){return Object.assign([],this.properties)},h.getProperty=function(e){for(var t,n=f(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}return null},h.getProportion=function(e){var t=0,n=e.split("-");if(2!==n.length)o.YoLog.w("Badly formed progress event in VAST/VMAP: "+e),t=-1;else if(-1!==n[1].indexOf("%")){var r=parseFloat(n[1].substring(0,n[1].length-1));(t=r?r/100:-1)<0&&o.YoLog.w("Badly formed percentage string in VAST/VMAP: "+n[1])}else t=parseFloat((0,a.timeStringToMillis)(n[1],-1)/this.linearCreative.getDuration());return t},h.getRemainingTime=function(e){var t=this.startMillis+this.linearCreative.getDuration(),n=Math.min(t-e,this.linearCreative.getDuration());return Math.max(0,n)},h.getSequence=function(){return this.sequence},h.getSkipOffset=function(){return this.linearCreative.getSkipOffset()},h.getStart=function(){return this.startMillis},h.getTrackingReports=function(e){var t=[],n=this.linearCreative.getTrackingReport(e);return n&&t.push(n),(n=this.nonLinearAds.getTrackingReport(e))&&t.push(n),t},h.getTrackingReportLinear=function(e){if(this.linearCreative)return this.linearCreative.getTrackingReport(e)},h.getTrackingReportNonLinear=function(e){if(this.nonLinearAds)return this.nonLinearAds.getTrackingReport(e)},h.getTrackingSchedule=function(){return this.trackingSchedule},h.getViewableImpressions=function(){return this.viewableImpressions},h.isActive=function(){return this.active},h.isFiller=function(){return this.filler},h.isNonLinear=function(){return this.nonLinear},h.isValid=function(){return this.nonLinear?!this.linearCreative:!(0,u.isNullOrEmpty)(this.mediaIdentifier)&&null!==this.linearCreative},h.onErrorEvent=function(e){this.errors&&(e&&this.addMacroSubstitution("ERRORCODE",e.toString()),this.broker.fireTrackingReport(this.errors))},h.onImpressionEvent=function(){if(this.nonLinear){var e=this.getImpressions(!1);e&&this.broker.fireTrackingReport(e)}else o.YoLog.w("Warning: Advert is not nonlinear - can't signal ImpressionEvent")},h.onViewableEvent=function(e){var t=c.viewableEventMap.get(e),n=this.viewableImpressions.get(t);n&&this.broker.fireTrackingReport(n)},h.postParse=function(e){var t=this;if(this.broker=e,!this.nonLinear){this.addTrackingScheduleEntry("loaded",0),this.addTrackingScheduleEntry("start",0),this.addTrackingScheduleEntry("firstQuartile",.25),this.addTrackingScheduleEntry("midpoint",.5),this.addTrackingScheduleEntry("thirdQuartile",.75),this.addTrackingScheduleEntry("complete",1);for(var n,r=f(this.linearCreative.getTrackingMap());!(n=r()).done;){var i=n.value,o=i[0],a=i[1];if(-1!==o.indexOf("progress")){var s=this.getProportion(o,a);s>=0&&this.addTrackingScheduleEntry(o,s)}}this.trackingSchedule=new Map(Array.from(this.trackingSchedule).sort((function(e,t){return e[0]-t[0]})))}for(var u,c=f(this.adVerifications);!(u=c()).done;)u.value.postParse(this.broker,(function(e){t.addMacroSubstitution("REASON",e.getPayload())}));this.nonLinearAds.postParse(),this.linearCreative&&this.linearCreative.initialiseInteractiveCreative(this.nonLinearAds.getNonLinearCreatives()),this.prefetchResources(e.getSessionProperties()),this.active=!0},h.prefetchResources=function(e){e.getPrefetchResources()&&(this.nonLinearAds.prefetchResources(e.getResourceTimeout()),this.companionAds.prefetchResources(e.getResourceTimeout()))},h.removeFromTrackingSchedule=function(e){this.trackingSchedule.delete(e)},h.removeMacroSubstitution=function(e){this.macroSubstitutions.delete(e)},h.removeTrackingSchedule=function(){this.trackingSchedule.clear()},h.setDuration=function(e){this.linearCreative&&this.linearCreative.setDuration(e)},h.setInactive=function(){this.active=!1},h.setStart=function(e){this.startMillis=e},h.toString=function(){if(this.isFiller())return"\n--- Advert ---\n - Filler duration: "+this.getDuration();var e="\n* Impression(s):";if(this.impressions)for(var t,n=f(this.impressions.getTrackingUrls());!(t=n()).done;)e+=t.value;else e+="NONE";var r="\n* Viewable Impression(s):";r+=c.buildMapString(this.viewableImpressions);var i="\n * Ad Verification(s):";i+=(0,u.toIndentedString)(this.adVerifications);var o="\n Error(s):";if(this.errors)for(var a,s=f(this.errors.getTrackingUrls());!(a=s()).done;){var l=a.value;o+=(0,u.toIndentedString)("\n - "+l)}else o+="NONE";var d="\n--- Advert ---\n ID:";d+=this.mediaIdentifier,d+="(",d+=this.identifier,d+=")",d+=" duration:",d+=this.getDuration(),d+=" sequence:",d+=this.sequence,d+=" adtype:",d+=this.adType;for(var _,h=f(this.properties);!(_=h()).done;){var p=_.value;d+="\n"+(0,u.toIndentedString)(p)}return this.extensions&&(d+="\n * Extensions:",d+="\n"+(0,u.toIndentedString)(this.getExtensions())),this.wrapper&&(d+="\n * Lineage -\n",d+=(0,u.toIndentedString)(this.wrapper)),d+=(0,u.toIndentedString)(e),d+=(0,u.toIndentedString)(r),d+=(0,u.toIndentedString)(i),d+=(0,u.toIndentedString)(o),this.nonLinear||(d+=(0,u.toIndentedString)(this.linearCreative)),(d+=(0,u.toIndentedString)(this.nonLinearAds))+(0,u.toIndentedString)(this.companionAds)},c}(c.AdvertEventHandler);t.Advert=g,g.viewableEventMap=new Map,g.viewableEventMap.set(c.ViewableEvent.VIEWABLE,"Viewable"),g.viewableEventMap.set(c.ViewableEvent.NOT_VIEWABLE,"NotViewable"),g.viewableEventMap.set(c.ViewableEvent.VIEW_UNDETERMINED,"ViewUndetermined")},982:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.AdvertWrapper=void 0;var i=function(e){var t,n;function i(t,n,r){var i;return(i=e.call(this)||this).identifier=t,i.creativeIdentifier=n,i.adSystem=r,i.child=null,i}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.getAdSystem=function(){return this.adSystem},o.getCreativeIdentifier=function(){return this.creativeIdentifier},o.getIdentifier=function(){return this.identifier},o.getLineage=function(){return this.child},o.isValid=function(){var e=this;do{if(!e.identifier||""===e.identifier)return!1;e=e.getLineage()}while(e);return!0},o.setChild=function(e){this.child=e},i}(n(3730).XmlValidation);t.AdvertWrapper=i},862:(e,t,n)=>{"use strict";t.__esModule=!0,t.CompanionAds=void 0;var r=n(597),i=n(3698);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){function e(e,t){this.required=e,this.companions=t||[]}var t=e.prototype;return t.containsCreative=function(e){return-1!==this.companions.indexOf(e)},t.getCompanions=function(){return Object.assign([],this.companions)},t.getCompanionsByType=function(e){for(var t,n=[],r=o(this.companions);!(t=r()).done;){var a=t.value;(a.getResource(e)||e===i.ResourceType.UNKNOWN&&0===a.getResources().size)&&n.push(a)}return n},t.getRequired=function(){return this.required},t.prefetchResources=function(e){for(var t,n=o(this.companions);!(t=n()).done;)t.value.prefetchResources(e)},t.toString=function(){var e="";if(this.companions.length>0){e="\n--- Companion Ads required:",e+=this.required;for(var t,n=o(this.companions);!(t=n()).done;){var i=t.value;e+=(0,r.toIndentedString)(i)}}return e},e}();t.CompanionAds=s},7964:(e,t,n)=>{"use strict";t.__esModule=!0,t.CompanionCreative=void 0;var r=n(5250),i=n(5489),o=n(6044),a=n(7823),s=n(597);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}n(3698),n(9473);var d=function(e){var t,n;function r(t,n,r,o,a){var s;(s=e.call(this,t)||this).resources=new Map,s.visible=!1,s.properties=t.properties?t.properties:[],s.altText=t.altText,s.trackingMap=o||new Map,s.videoClicks=n||new i.VideoClicks,s.broker=a,s.companionExtensions=t.companionExtensions;for(var c,l=u(r);!(c=l()).done;){var d=c.value;s.resources.set(d.getResourceType(),d)}return s}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var c=r.prototype;return c.getAltText=function(){return this.altText},c.getClickThroughUrl=function(){return this.videoClicks.getClickThroughUrl()},c.getClickTrackingUrls=function(){return this.videoClicks.getClickTrackingUrls()},c.getProperties=function(){return Object.assign([],this.properties)},c.getProperty=function(e){for(var t,n=u(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}return null},c.getResource=function(e){return this.resources.has(e)?this.resources.get(e):null},c.getResources=function(){return this.resources},c.getTrackingMap=function(){return this.trackingMap},c.isValid=function(){return(0,o.isValidSize)(this.properties)&&this.resources.size>0||this.trackingMap.size>0},c.isVisible=function(){return this.visible},c.onClickThrough=function(){if(this.isVisible()){var e=this.videoClicks.getClickTrackingUrls(),t=(0,o.getClickTrackingReport)(e,"CompanionClickTracking");t&&this.broker.fireTrackingReportForCreative(t,this)}else a.YoLog.w("Companion is not visible")},c.onTrackingEvent=function(e){},c.prefetchResources=function(e){(0,o.prefetch)(this.resources,e)},c.setVisible=function(e){if(this.visible!==e&&(this.visible=e,e)){var t=this.trackingMap.get("creativeView");t&&this.broker.fireTrackingReportForCreative(t,this)}},c.toString=function(){for(var t,n="\n--- Companion ---\n",r=u(this.properties);!(t=r()).done;){var i=t.value;n+="\n"+(0,s.toIndentedString)(i)}n+=(0,s.toIndentedString)("\nAlt Text: "+this.altText),n+=(0,s.toIndentedString)(this.videoClicks);for(var o,a=u(this.resources);!(o=a()).done;){var c=o.value,l=c[0],d=c[1];n+=(0,s.toIndentedString)(l+":"+d)}return n+e.prototype.toString.call(this)},r}(r.Creative);t.CompanionCreative=d},5250:(e,t,n)=>{"use strict";t.__esModule=!0,t.Creative=void 0;var r=n(597),i=n(4796);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}n(8002);var u=function(e){var t,n;function i(t){var n;return(n=e.call(this)||this).advertId=t.advertId?t.advertId:"",n.creativeId=t.id?t.id:"",n.universalAdIds=t.universalAdIds,n.sequence=t.sequence,n.adParameters=t.adParameters,n.extensions=null,n.nonLinear=!1,n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var a=i.prototype;return a.postParse=function(e){if(this.extensions=e,this.companionExtensions)for(var t,n=o(this.companionExtensions.getChildren());!(t=n()).done;){var r=t.value;this.extensions.addChild(r)}},a.getAdvertIdentifier=function(){return this.advertId},a.getAdParameters=function(){return this.adParameters},a.getExtensions=function(){return this.extensions},a.getCreativeIdentifier=function(){return this.creativeId},a.getSequence=function(){return this.sequence},a.getUniversalAdIds=function(){return this.universalAdIds},a.isNonLinear=function(){return this.nonLinear},a.setNonLinear=function(e){this.nonLinear=e},a.setVisible=function(e){},a.toString=function(){var e="";if(e+="\n - Id:"+this.creativeId+" AdId:"+this.advertId+" Sequence:"+this.sequence,this.adParameters&&(e+="\n - AdParameters:",e+="\n"+(0,r.toIndentedString)(this.adParameters)),this.universalAdIds){e+="\n - UniversalAdIds:";for(var t,n=o(this.universalAdIds);!(t=n()).done;){var i=t.value;e+="\n"+(0,r.toIndentedString)(i)}}return this.extensions&&(e+="\n - CreativeExtensions:",e+="\n"+(0,r.toIndentedString)(this.extensions)),e},i}(i.CreativeEventHandler);t.Creative=u},6265:(e,t,n)=>{"use strict";t.__esModule=!0,t.IconClickFallbackImage=void 0;var r=n(6044),i=n(3730),o=n(597);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}n(3698),n(9473);var u=function(e){var t,n;function i(t,n,r){var i;return(i=e.call(this)||this).properties=t||[],i.altText=n,i.resource=r,i}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var u=i.prototype;return u.getAltText=function(){return this.altText},u.getProperties=function(){return Object.assign([],this.properties)},u.getProperty=function(e){for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}return null},u.getResource=function(){return this.resource},u.isValid=function(){return!(!(0,r.isValidSize)(this.properties)||(0,o.isNullOrEmpty)(this.altText)&&!this.resource)},i}(i.XmlValidation);t.IconClickFallbackImage=u},6464:(e,t,n)=>{"use strict";t.__esModule=!0,t.IndustryIcon=void 0;var r=n(5489),i=n(597),o=n(4796),a=n(1862),s=(n(6265),n(3698),n(9473),n(6044));function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}var d=function(e){var t,n;function o(t,n,i,o,a){var s;(s=e.call(this)||this).resources=new Map,s.visible=!1,s.properties=t||[],s.videoClicks=i||new r.VideoClicks,s.clickFallbackImages=o||[],s.broker=a;for(var c,l=u(n);!(c=l()).done;){var d=c.value;s.resources.set(d.getResourceType(),d)}return s}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var c=o.prototype;return c.getClickFallbackImages=function(){return Object.assign([],this.clickFallbackImages)},c.getClickThroughUrl=function(){return this.videoClicks.getClickThroughUrl()},c.getClickTrackingUrls=function(){return this.videoClicks.getClickTrackingUrls()},c.isVisible=function(){return this.visible},c.getViewTrackingUrls=function(){return this.videoClicks.getCustomClicks()},c.getProperties=function(){return Object.assign([],this.properties)},c.getProperty=function(e){for(var t,n=u(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}},c.getResource=function(e){return this.resources.get(e)},c.getResources=function(){return this.resources},c.isValid=function(){for(var e,t=null,n=null,r=null,o=null,a=null,s=u(this.properties);!(e=s()).done;){var c=e.value,l=c.getValue();(0,i.isNullOrEmpty)(l)||("program"===c.getName()&&(t=c),"width"===c.getName()&&(n=c),"height"===c.getName()&&(r=c),"xPosition"===c.getName()&&(o=c),"yPosition"===c.getName()&&(a=c))}return null!==n&&null!==r&&null!==t&&null!==o&&null!==a&&this.resources.size>0},c.onClickThrough=function(){if(this.isVisible()){var e=this.videoClicks.getClickTrackingUrls();if(e.length>0){var t=(0,s.getClickTrackingReport)(e,"IconClickTracking");t&&this.broker.fireTrackingReportForIcon(t,this)}}},c.onTrackingEvent=function(e){},c.setVisible=function(e){if(this.visible!==e&&(this.visible=e,this.visible&&this.videoClicks.getCustomClicks().length>0)){var t=new a.TrackingReport("IconViewTracking",this.videoClicks.getCustomClicks());t&&this.broker.fireTrackingReportForIcon(t,this)}},c.toString=function(){var e="";e+=this.videoClicks.toString(),this.properties.length>0&&(e+="\nIcon Properties: ");for(var t,n=u(this.properties);!(t=n()).done;){var r=t.value;e+="\n"+(0,i.toIndentedString)(r)}this.resources.length>0&&(e+="\nIcon Resource(s): ");for(var o,a=u(this.resources);!(o=a()).done;){var s=o.value,c=s[0],l=s[1];e+=(0,i.toIndentedString)(c+":"+l)}this.clickFallbackImages.length>0&&(e+="\nIcon Click Fallback Images: ");for(var d,_=u(this.clickFallbackImages);!(d=_()).done;){var f=d.value;e+="\n"+(0,i.toIndentedString)(f)}return e},o}(o.CreativeEventHandler);t.IndustryIcon=d},1305:(e,t,n)=>{"use strict";t.__esModule=!0,t.InteractiveCreative=void 0;var r=n(597),i=n(1862),o=n(4796),a=(n(6646),n(9473),n(7823)),s=n(5406);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}var d=function(e){var t,n;function o(t,n,r,i){var o;return(o=e.call(this)||this).source=t,o.properties=n||[],o.broker=r,o.adParameters=null,o.advertDuration=0,o.tracking=null,o.offset=0,o.visible=!1,o.nonLinearCreatives=[],o.isSIMID()&&(o.tracking=i),o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var c=o.prototype;return c.getAdParameters=function(){return this.adParameters},c.getAdvertDuration=function(){return this.advertDuration},c.getNonLinearCreatives=function(){return this.nonLinearCreatives},c.getProperties=function(){return Object.assign([],this.properties)},c.getProperty=function(e){for(var t,n=u(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}return null},c.getSource=function(){return this.source},c.getTracking=function(){return this.tracking},c.initialise=function(e,t,n){this.adParameters=e,this.advertDuration=t,this.nonLinearCreatives=[];var r=this.getProperty("apiFramework");if(r)for(var i,o=r.getValue(),a=u(n);!(i=a()).done;){var s=i.value,c=s.getProperty("apiFramework");c&&c.getValue()===o&&this.nonLinearCreatives.push(s)}},c.isSIMID=function(){for(var e,t=u(this.properties);!(e=t()).done;){var n=e.value;if("apiFramework"===n.getName()&&"SIMID"===n.getValue())return!0}return!1},c.isValid=function(){return!(0,r.isNullOrEmpty)(this.source)},c.isVisible=function(){return this.visible},c.onClickThrough=function(){},c.onTrackingEvent=function(e){this.isVisible()?(0,s.getUrl)(e)?this.isSIMID()&&this.broker.fireTrackingReport(new i.TrackingReport("custom",[e])):a.YoLog.w("Invalid custom tracker URL"):a.YoLog.w("Warning: InteractiveCreative is not visible")},c.setTracking=function(e){this.tracking=e},c.setVisible=function(e){this.visible!==e&&(this.visible=e,this.visible&&this.isSIMID()&&this.tracking&&this.broker.fireTrackingReport(this.tracking))},c.toString=function(){var e="InteractiveCreative source: "+this.source;if(this.properties.length>0){e+="\nProperties:";for(var t,n=u(this.properties);!(t=n()).done;){var i=t.value;e+=(0,r.toIndentedString)(i)}}return this.tracking&&(e+="\nTracking event:",e+=(0,r.toIndentedString)("\n "+this.tracking)),e},o}(o.CreativeEventHandler);t.InteractiveCreative=d},6474:(e,t,n)=>{"use strict";t.__esModule=!0,t.LinearCreative=void 0;var r=n(5250),i=n(3755),o=n(5489),a=n(7823),s=n(1862),u=n(6044),c=n(597);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}var f=function(e){var t,n;function r(t,n,r,a){var s;return(s=e.call(this,t)||this).duration=(0,i.timeStringToMillis)(t.duration,0),s.trackingMap=t.trackingMap?t.trackingMap:new Map,s.videoClicks=n||new o.VideoClicks("",null,null),s.icons=t.icons,s.assetUri=t.currentAssetUri?t.currentAssetUri:"",s.interactiveCreative=r,s.skipOffset=t.skipOffset,s.broker=a,s}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,_(t,n);var d=r.prototype;return d.getAssetUri=function(){return this.assetUri},d.getClickThroughUrl=function(){return this.videoClicks.getClickThroughUrl()},d.getClickTrackingUrls=function(){return this.videoClicks.getClickTrackingUrls()},d.getCustomClickUrls=function(){return this.videoClicks.getCustomClicks()},d.getDuration=function(){return this.duration},d.getIndustryIcons=function(){return Object.assign([],this.icons)},d.getInteractiveCreative=function(){return this.interactiveCreative},d.getSkipOffset=function(){if(!this.skipOffset||""===this.skipOffset)return-1;if(-1!==this.skipOffset.indexOf("%")){var e=parseFloat(this.skipOffset.substring(0,this.skipOffset.length-1));return e?Math.round(e*this.duration/100):(a.YoLog.w("Invalid skipoffset string: "+this.skipOffset),-1)}return(0,i.timeStringToMillis)(this.skipOffset,-1)},d.getTrackingMap=function(){return this.trackingMap},d.getTrackingReport=function(e){return this.trackingMap.has(e)?this.trackingMap.get(e):null},d.initialiseInteractiveCreative=function(e){this.interactiveCreative&&this.interactiveCreative.initialise(this.getAdParameters(),this.duration,e)},d.isNonLinear=function(){return!1},d.isValid=function(){return this.duration>0},d.onClickThrough=function(){var e=this.videoClicks.getClickTrackingUrls();if(e.length>0){var t=(0,u.getClickTrackingReport)(e,"ClickTracking");this.broker.fireTrackingReportForCreative(t,this)}this.broker.raiseTrackingCallbackForCreative("ClickTracking",this)},d.onTrackingEvent=function(e){if("customClick"===e){var t=this.videoClicks.getCustomClicks();if(t.length){var n=new s.TrackingReport(e,t);this.broker.fireTrackingReportForCreative(n,this)}}else{if(s.TrackingReport.isValidPlayerOperationEvent(e))return void a.YoLog.w("Use PlaybackEventHandler functions to signal event "+e);if(s.TrackingReport.isTimelineEvent(e))return void a.YoLog.w("Invalid event: "+e+". Timeline events are signalled by position updates");var r=this.trackingMap.get(e);r&&this.broker.fireTrackingReportForCreative(r,this)}},d.setDuration=function(e){this.duration=e},d.toString=function(){var t="";if(this.trackingMap.size>0){t+="\n ** Tracking events - ";for(var n,r=l(this.trackingMap);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];t+=(0,c.toIndentedString)("\n "+o+":"+a)}}var s="";if(this.icons.length>0){s+="\n  ** Industry Icon(s) - ";for(var u,d=l(this.icons);!(u=d()).done;)s+=u.value}var _="\n--- Linear Creative:\n - assetUri:";return _+=this.assetUri,this.interactiveCreative&&(_+=this.interactiveCreative),_+=e.prototype.toString.call(this),(0,c.isNullOrEmpty)(this.skipOffset)||(_+="\n - SkipOffset:",_+=this.skipOffset),_+=t,(_+=(0,c.toIndentedString)(this.videoClicks))+s},r}(r.Creative);t.LinearCreative=f},50:(e,t,n)=>{"use strict";t.__esModule=!0,t.NonLinearAds=void 0;var r=n(597);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(e,t){this.trackingMap=e||new Map,this.nonLinearCreatives=t||[]}var t=e.prototype;return t.allNonLinearsAreInactive=function(){for(var e,t=i(this.nonLinearCreatives);!(e=t()).done;)if(e.value.isVisible())return!1;return!0},t.containsCreative=function(e){return-1!==this.nonLinearCreatives.indexOf(e)},t.getNonLinearCreatives=function(){return Object.assign([],this.nonLinearCreatives)},t.getNonLinearCreativesByType=function(e){for(var t,n=[],r=i(this.nonLinearCreatives);!(t=r()).done;){var o=t.value;o.getResource(e)&&n.push(o)}return n},t.getTrackingMap=function(){return this.trackingMap},t.getTrackingReport=function(e){if(!this.allNonLinearsAreInactive())return this.trackingMap.get(e)},t.postParse=function(){for(var e,t=i(this.nonLinearCreatives);!(e=t()).done;)e.value.setTrackingReports(this.trackingMap)},t.prefetchResources=function(e){for(var t,n=i(this.nonLinearCreatives);!(t=n()).done;)t.value.prefetchResources(e)},t.toString=function(){if(this.nonLinearCreatives.length>0){var e="\n--- NonLinear Ads:";if(this.trackingMap.size>0){e+="\n  ** Tracking events - ";for(var t,n=i(this.trackingMap);!(t=n()).done;){var o=t.value,a=o[0],s=o[1];e+=(0,r.toIndentedString)("\n "+a+":"+s)}}for(var u,c=i(this.nonLinearCreatives);!(u=c()).done;){var l=u.value;e+=(0,r.toIndentedString)(l)}return e}return""},e}();t.NonLinearAds=a},6646:(e,t,n)=>{"use strict";t.__esModule=!0,t.NonLinearCreative=void 0;var r=n(5250),i=n(5489),o=n(6044),a=n(597),s=n(7823),u=n(1862);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}n(9473),n(3698);var _=function(e){var t,n;function r(t,n,r,o){var a;if((a=e.call(this,t)||this).resources=new Map,a.visible=!1,a.videoClicks=n||new i.VideoClicks("",null,null),a.properties=t.properties?t.properties:[],a.broker=o,a.trackingMap=new Map,r)for(var s,u=c(r);!(s=u()).done;){var l=s.value;a.resources.set(l.getResourceType(),l)}return a}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var l=r.prototype;return l.getApiFramework=function(){var e=this.getProperty("apiFramework");return e?e.getValue():null},l.getClickThroughUrl=function(){return this.videoClicks.getClickThroughUrl()},l.getClickTrackingUrls=function(){return this.videoClicks.getClickTrackingUrls()},l.getProperties=function(){return Object.assign([],this.properties)},l.getProperty=function(e){for(var t,n=c(this.properties);!(t=n()).done;){var r=t.value;if(r.getName()===e)return r}return null},l.getResource=function(e){return this.resources.get(e)},l.getResources=function(){return this.resources},l.getTrackingReports=function(){return this.trackingMap},l.isValid=function(){return(0,o.isValidSize)(this.properties)&&this.resources.size>0},l.isVisible=function(){return this.visible},l.onClickThrough=function(){if(this.visible){var e=this.videoClicks.getClickTrackingUrls();if(e.length>0){var t=(0,o.getClickTrackingReport)(e,"NonLinearClickTracking");t&&this.broker.fireTrackingReportForCreative(t,this)}}else s.YoLog.w("Nonlinear creative is not visible")},l.onTrackingEvent=function(e){if(this.visible)if(u.TrackingReport.isValidVisibleEvent(e))s.YoLog.w("Use method setVisible() to signal event: "+e);else if(!u.TrackingReport.isValidPlayerOperationEvent(e)||this.isNonLinear)if(u.TrackingReport.isValidNonLinearEvent(e)){var t=this.trackingMap.get(e);t&&this.broker.fireTrackingReportForCreative(t,this),"acceptInvitation"===e&&this.broker.raiseTrackingCallbackForCreative(e,this)}else s.YoLog.w("Invalid tracking event: "+e);else s.YoLog.w("Use PlaybackEventHandler functions to signal event: "+e);else s.YoLog.w("Nonlinear creative is not visible")},l.prefetchResources=function(e){(0,o.prefetch)(this.resources,e)},l.setTrackingReports=function(e){this.trackingMap=e},l.setVisible=function(e){var t;this.visible!==e&&(this.visible=e,(t=e?this.trackingMap.get("creativeView"):this.trackingMap.get("close"))&&this.broker.fireTrackingReportForCreative(t,this))},l.toString=function(){var t="\n--- NonLinear Creative:";t+=(0,a.toIndentedString)(this.videoClicks),this.properties.length>0&&(t+="\n - NonLinear Properties: ");for(var n,r=c(this.properties);!(n=r()).done;){var i=n.value;t+="\n"+(0,a.toIndentedString)(i)}this.resources.size>0&&(t+="\n - NonLinear Resource(s): ");for(var o,s=c(this.resources);!(o=s()).done;){var u=o.value,l=u[0],d=u[1];t+=(0,a.toIndentedString)(l+":"+d)}return t+e.prototype.toString.call(this)},r}(r.Creative);t.NonLinearCreative=_},2385:(e,t,n)=>{"use strict";t.__esModule=!0,t.ReportsManager=t.ReportingParams=void 0;var r=n(3755),i=n(1862),o=n(7823),a=n(5406),s=n(597),u=n(9513),c=n(868),l=n(1126);function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=function(){function e(e,t){this.properties=e,this.suppress=!1,this.observers=[],this.addTrackingError=t}var t=e.prototype;return t.addAnalyticObserver=function(e){e?this.observers.push(e):o.YoLog.e("addAnalyticObserver: listener was null")},t.applyEncryptedTracking=function(e){return this.properties.getApplyEncryptedTracking()&&(e=e.replace("http:","https:")),e},t.fire=function(e,t){var n=this,r={method:"GET"};this.properties.getAllowCorsForAnalytics()?(0,s.isNullOrEmpty)(this.properties.getUserAgent())||(r.headers=(0,a.createHeaders)(this.properties.getUserAgent())):r.mode="no-cors";for(var i,c=function(){var a=i.value;n.performMacroSubstitutionForUrl(a,t),n.applyEncryptedTracking(a),o.YoLog.d(o.DebugFlags.DEBUG_REPORTS,"Firing report url: "+a),u.HttpConnection.get(a,r,n.properties.getResourceTimeout()).then((function(t){t.ok||0===t.status||n.addTrackingError(new l.TrackingError(a,t.status,e.trackingEvent))}))},_=d(e.getTrackingUrls());!(i=_()).done;)c()},t.fireBeacon=function(e,t){if(e&&e.getTrackingUrls().length>0&&!this.shouldSuppress(e.event))try{this.fire(e,t)}catch(e){throw o.YoLog.e("Unable to fire tracking URLs for report: "+e),e}},t.fireBeacons=function(e,t){for(var n,r=[],o=d(e);!(n=o()).done;)for(var a,s=d(n.value.getTrackingUrls());!(a=s()).done;){var u=a.value;r.push(u)}this.fireBeacon(new i.TrackingReport("",r),t)},t.performMacroSubstitutionForUrl=function(e,t){var n,i=(0,r.millisToTimestamp)(Date.now()),o=(0,r.millisToTimeString)(t.getPlayhead()),a=-1===t.getAdvertStart()?"-1":(0,r.millisToTimeString)(t.getAdvertStart());n=encodeURIComponent(t.getAssetUri()),i=encodeURIComponent(i),o=encodeURIComponent(o),a=encodeURIComponent(a);var s=1e7+Math.round(1e8*Math.random());e=e.replace("[ASSETURI]",n).replace("%5BASSETURI%5D",n).replace("[CACHEBUSTING]",s).replace("%5BCACHEBUSTING%5D",s).replace("[TIMESTAMP]",i).replace("%5BTIMESTAMP%5D",i).replace("[CONTENTPLAYHEAD]",o).replace("%5BCONTENTPLAYHEAD%5D",o).replace("[MEDIAPLAYHEAD]",o).replace("%5BMEDIAPLAYHEAD%5D",o).replace("[ADPLAYHEAD]",a).replace("%5BADPLAYHEAD%5D",a);for(var u,c=d(t.getMacroSubstitutions());!(u=c()).done;){var l=u.value,_=l[0],f=l[1];e=e.replace("["+_+"]",f).replace("%5B"+_+"%5D",f)}return(e=e.replace(/\[(.*?)]/g,"-1")).replace(/%5B(.*)%5D/g,"-1")},t.raiseAdBreakEarlyReturn=function(e,t){o.YoLog.trace("earlyreturn");for(var n,r=d(this.observers);!(n=r()).done;){var i=n.value;(0,c.raiseCallback)(i,i.onAdvertBreakEarlyReturn,e,t)}},t.raiseAdBreakCallback=function(e,t,n){if("start"===e)for(var r,i=d(this.observers);!(r=i()).done;){var o=r.value;(0,c.raiseCallback)(o,o.onAdvertBreakStart,t,n)}else if("end"===e)for(var a,s=d(this.observers);!(a=s()).done;){var u=a.value;(0,c.raiseCallback)(u,u.onAdvertBreakEnd,n)}},t.raiseAdvertCallback=function(e,t,n){if("start"===e)for(var r,i=d(this.observers);!(r=i()).done;){var o=r.value;(0,c.raiseCallback)(o,o.onAdvertStart,t,n)}else if("end"===e)for(var a,s=d(this.observers);!(a=s()).done;){var u=a.value;(0,c.raiseCallback)(u,u.onAdvertEnd,n)}},t.raiseAnalyticUpdateCallback=function(e){if(!this.suppress)for(var t,n=d(this.observers);!(t=n()).done;){var r=t.value;(0,c.raiseCallback)(r,r.onAnalyticUpdate,e)}},t.raiseSessionErrorCallback=function(e,t){for(var n,r=d(this.observers);!(n=r()).done;){var i=n.value;(0,c.raiseCallback)(i,i.onSessionError,e,t)}},t.raiseTrackingCallback=function(e,t){if(!this.shouldSuppress(e))for(var n,r=d(this.observers);!(n=r()).done;){var i=n.value;(0,c.raiseCallback)(i,i.onTrackingEvent,e,t)}},t.removeAnalyticObserver=function(e){this.observers.splice(this.observers.indexOf(e))},t.reportsSuppressed=function(){return this.suppress},t.shouldSuppress=function(e){var t=i.TrackingReport.categoryForEvent(e);return 0==(this.properties.getExcludedCategories()&t)&&this.suppress},t.suppressReports=function(e){this.suppress!==e&&(this.suppress=e,o.YoLog.d(o.DebugFlags.DEBUG_REPORTS,e?"Suppress reports":"Unsuppress reports"))},e}();t.ReportsManager=f;var h=function(){function e(e,t,n,r){this.playhead=e,this.advertStart=t&&t>=0?e-t:-1,this.assetUri=n||"",this.macroSubstitutions=r||new Map}var t=e.prototype;return t.getAdvertStart=function(){return this.advertStart},t.getAssetUri=function(){return this.assetUri},t.getMacroSubstitutions=function(){return this.macroSubstitutions},t.getPlayhead=function(){return this.playhead},e}();t.ReportingParams=h},3698:(e,t,n)=>{"use strict";t.__esModule=!0,t.ResourceType=t.Resource=void 0;var r=n(597),i=n(3730),o=n(7823),a=n(9513);function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}var u={STATIC:0,HTML:1,IFRAME:2,UNKNOWN:3};t.ResourceType=u;var c=function(e){var t,n;function i(t,n,r,i){var o;switch(o=e.call(this)||this,t){case u.STATIC:o.stringData=n,o.creativeType=r,o.encoded=!1,o.type=t;break;case u.IFRAME:o.stringData=n,o.creativeType=null,o.type=t,o.encoded=!1;break;case u.HTML:o.stringData=n,o.creativeType=null,o.type=t,o.encoded=i}return o.byteData=null,o}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var c=i.prototype;return c.getByteData=function(){return this.byteData},c.getCreativeType=function(){return this.creativeType},c.getResourceType=function(){return this.type},c.getStringData=function(){return this.stringData},c.isEncoded=function(){return this.encoded},c.isValid=function(){switch(this.type){case u.STATIC:if(!this.creativeType||""===this.creativeType)return!1;break;case u.HTML:if(!this.stringData||""===this.stringData)return!1;break;case u.IFRAME:try{new URL(this.stringData)}catch(e){return!1}break;default:return!1}return!0},c.prefetch=function(e){var t=this;this.byteData||this.type===u.HTML||this.type===u.UNKNOWN||a.HttpConnection.get(this.stringData,{},e).then((function(e){e.ok?t.byteData=e.body:o.YoLog.e("Resource prefetch request failed: "+t.stringData+", status: "+e.status+", error:"+e.statusText)}))},c.toString=function(){var e="";switch(this.type){case u.STATIC:e+="\nStatic resource (",e+=this.creativeType,e+="): ",e+=this.stringData;break;case u.HTML:e+="\nHTML resource (",e+=this.encoded?"encoded): ":"unencoded): ",e+=(0,r.formatHtml)(this.stringData);break;case u.IFRAME:e+="\niFrame resource: ",e+=this.stringData}return e},i}(i.XmlValidation);t.Resource=c},1862:(e,t,n)=>{"use strict";t.__esModule=!0,t.TrackingReport=void 0;var r=n(1289),i=n(7823);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(e,t){this.trackingEvent=e,this.trackingUrls=JSON.parse(JSON.stringify(t||[]))}e.categoryForEvent=function(t){return e.isValidAdBreakEvent(t)?r.CAT_AD_BREAK_EVENTS:e.isTimelineEvent(t)?r.CAT_TIMELINE_EVENTS:0},e.isValidPlayerOperationEvent=function(e){return-1!==r.PLAYER_OPERATION_EVENTS.indexOf(e)},e.isValidCompanionEvent=function(e){return-1!==r.COMPANION_EVENTS.indexOf(e)},e.isValidInteractiveEvent=function(e){return-1!==r.INTERACTIVE_EVENTS.indexOf(e)},e.isValidLinearEvent=function(e){return-1!==r.LINEAR_EVENTS.indexOf(e)},e.isValidNonLinearEvent=function(e){return-1!==r.NON_LINEAR_EVENTS.indexOf(e)},e.isValidVerificationEvent=function(e){return-1!==r.VERIFICATION_EVENTS.indexOf(e)},e.isTimelineEvent=function(e){return-1!==r.TIMELINE_EVENTS.indexOf(e)},e.isValidAdBreakEvent=function(e){return-1!==r.AD_BREAK_EVENTS.indexOf(e)},e.isValidVisibleEvent=function(e){return-1!==r.VISIBLE_EVENTS.indexOf(e)};var t=e.prototype;return t.addTrackingUrl=function(e){e?this.trackingUrls.push(e):i.YoLog.e("addTrackingUrl: url was null")},t.getEventType=function(){return this.trackingEvent},t.getTrackingUrls=function(){return Object.assign([],this.trackingUrls)},t.removeTrackingUrls=function(){this.trackingUrls=[]},t.toString=function(){var e="";e+="Event:",e+=this.trackingEvent;for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.trackingUrls);!(t=n()).done;)e+="\n - Url:",e+=t.value;return e},e}();t.TrackingReport=a},9473:(e,t,n)=>{"use strict";t.__esModule=!0,t.VASTProperty=void 0;var r=n(597);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=function(){function e(e,t,n,r){this.name=e,this.value=t||"",this.attributes=new Map,n&&r&&this.addAttribute(n,r)}var t=e.prototype;return t.addAttribute=function(e,t){this.attributes.set(e,t)},t.getName=function(){return this.name},t.getValue=function(){return this.value},t.getAttributes=function(){return this.attributes},t.setValue=function(e){this.value=e},t.toString=function(){var e="";if(e+="Property Name: ",e+=this.name,(0,r.isNullOrEmpty)(this.value)||(e+=", Value: ",e+=this.value),this.attributes.size>0){e+=", Attributes:{";for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.attributes);!(t=n()).done;){var o=t.value;e+=o[0]+":"+o[1]+" "}e+="}"}return e},e}();t.VASTProperty=o},5489:(e,t,n)=>{"use strict";t.__esModule=!0,t.VideoClicks=void 0;var r=n(597);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(e,t,n){this.clickThroughUrl=e||"",this.clickTrackingUrls=t||[],this.customClicks=n||[]}var t=e.prototype;return t.getClickThroughUrl=function(){return this.clickThroughUrl},t.getClickTrackingUrls=function(){return this.clickTrackingUrls},t.getCustomClicks=function(){return this.customClicks},t.toString=function(){var e="";if((0,r.isNullOrEmpty)(this.clickThroughUrl)||(e+="\n* Click-through Url: ",e+=this.clickThroughUrl),this.clickTrackingUrls.length>0)for(var t,n=i(this.clickTrackingUrls);!(t=n()).done;)e+="\n* Click tracking Url: ",e+=t.value;if(this.customClicks.length>0)for(var o,a=i(this.customClicks);!(o=a()).done;)e+="\n* Custom click Url: ",e+=o.value;return e},e}();t.VideoClicks=a},8002:(e,t,n)=>{"use strict";t.__esModule=!0,t.XmlNode=void 0;var r=n(597);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(e,t){this.name=e,this.attributes=t||new Map,this.text="",this.children=[]}e.attributeToString=function(e,t){return" "+e+'="'+t+'"'};var t=e.prototype;return t.getAttributes=function(){return this.attributes},t.getAttribute=function(e){return this.attributes.get(e)},t.getChildren=function(){return this.children},t.getInnerText=function(){return this.text},t.getName=function(){return this.name},t.addChild=function(e){this.children.push(e)},t.setInnerText=function(e){this.text=e},t.toString=function(){var t="<";t+=this.name;for(var n,o=i(this.attributes);!(n=o()).done;){var a=n.value,s=a[0],u=a[1];t+=e.attributeToString(s,u)}if(0===this.children.length&&(0,r.isNullOrEmpty)(this.text))t+="/>";else{t+=">",(0,r.isNullOrEmpty)(this.text)||(t+=this.text);for(var c,l=i(this.children);!(c=l()).done;){var d=c.value;t+=(0,r.toIndentedString)("\n"+d)}(0,r.isNullOrEmpty)(this.text)||0!==this.children.length?t+=(0,r.toUnindentedString)("\n</"+this.name+">"):(t+="</",t+=this.name,t+=">")}return t},e}();t.XmlNode=a},8686:(e,t)=>{"use strict";t.__esModule=!0,t.Logger=void 0;var n=function(){function e(){}return e.debug=function(e){console.log(e)},e.error=function(e){console.error(e)},e.info=function(e){console.info(e)},e.warn=function(e){console.warn(e)},e}();t.Logger=n},420:(e,t)=>{"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.__esModule=!0,t.AnalyticPayload=void 0;var i=function(){function e(e,t){if(e){this.linearAdBreaks=e.linearAdBreaks?e.linearAdBreaks:[],this.nonLinearAdBreaks=e.nonLinearAdBreaks?e.nonLinearAdBreaks:[],this.displayAdBreaks=e.displayAdBreaks?e.displayAdBreaks:[];var n=e.getStreamData();this.processStreamData(n)}this.setHash(t)}var t=e.prototype;return t.getDisplayAdBreaks=function(){return this.displayAdBreaks},t.getEarlyReturn=function(){return this.earlyReturn},t.getLinearAdBreaks=function(){return this.linearAdBreaks},t.getHasPlaceholder=function(){return this.hasPlaceholder},t.getHostNode=function(){return this.hostNode},t.getHostSuffix=function(){return this.hostSuffix},t.getNonLinearAdBreaks=function(){return this.nonLinearAdBreaks},t.getPdtInitial=function(){return this.pdtInitial},t.getPdtStart=function(){return this.pdtStart},t.getPdtEnd=function(){return this.pdtEnd},t.getSessionIdentifier=function(){return this.sessionIdentifier},t.getStreamDuration=function(){return this.streamDuration},t.hasAdBreaks=function(){return this.linearAdBreaks.length>0||this.nonLinearAdBreaks.length>0||this.displayAdBreaks.length>0},t.isEqualTo=function(e){return this.hashCode===e.hashCode},t.processStreamData=function(e){this.sessionIdentifier=e.getSessionIdentifier(),this.streamDuration=e.getDuration(),this.hostNode=e.getHostNode(),this.hostSuffix=e.getHostSuffix(),this.pdtInitial=e.getPdtInitial(),this.pdtStart=e.getPdtStart(),this.pdtEnd=e.getPdtEnd(),this.earlyReturn=e.getEarlyReturn(),this.hasPlaceholder=e.getHasPlaceholder()},t.setHash=function(e){if(e){var t,n=0;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n&=n;this.hashCode=n}},t.toString=function(){for(var e,t="Linear AdBreaks:",r=n(this.linearAdBreaks);!(e=r()).done;)t+="\n"+e.value;t+="\n\nNonLinear AdBreaks:";for(var i,o=n(this.nonLinearAdBreaks);!(i=o()).done;)t+="\n"+i.value;t+="\n\nDisplay AdBreaks:";for(var a,s=n(this.displayAdBreaks);!(a=s()).done;)t+="\n"+a.value;return t+="\n\nHostNode:",t+="\n"+this.hostNode,t+="\n\nHostSuffix:",t+="\n"+this.hostSuffix,t+="\n\nSessionIdentifier:",t+="\n"+this.sessionIdentifier,t+="\n\nStreamDuration:",t+="\n"+this.streamDuration,t+="\n\npdtInitial:",t+="\n"+this.pdtInitial,t+="\n\npdtStart:",t+="\n"+this.pdtStart,t+="\n\npdtEnd:",t+="\n"+this.pdtEnd,(t+="mmearlyReturn:")+"\n"+this.earlyReturn},e}();t.AnalyticPayload=i},4485:(e,t,n)=>{"use strict";t.__esModule=!0,t.DashManifestParser=void 0;var r,i=n(7823),o=n(6161),a=(r=n(6099))&&r.__esModule?r:{default:r},s=n(1289),u=function(){function e(){this.data=new Map,this.s="",this.error=null,this.onError=this.onError.bind(this),this.onText=this.onText.bind(this),this.onOpenTag=this.onOpenTag.bind(this),this.onCloseTag=this.onCloseTag.bind(this),this.onCdata=this.onCdata.bind(this)}e.parse=function(t){return t&&0!==t.length?(new e).parse(t):(i.YoLog.e("Yospace DASH manifest is empty"),null)};var t=e.prototype;return t.parse=function(e){var t=a.default.parser(!0);return t.onerror=this.onError,t.ontext=this.onText,t.onopentag=this.onOpenTag,t.onclosetag=this.onCloseTag,t.oncdata=this.onCdata,t.write(e),this.error?null:new o.PlaylistPayload(this.data,1600)},t.onCdata=function(e){this.s+=e},t.onError=function(){this.error=!0},t.onCloseTag=function(e){if("LOCATION"===e.toUpperCase()){var t=this.s.trim();this.data.set(s.Payload.LOCATION,t);var n=t.split(/\?/);try{var r=new URL(n[0]);this.data.set(s.Payload.SCHEME,r.protocol.substring(0,r.protocol.length-1)),this.data.set(s.Payload.HOSTNODE,r.hostname),this.data.set(s.Payload.PORT,r.port),this.data.set(s.Payload.QS,2===n.length?n[1]:null);var o=n[0].match("/live/(\\d+)/.+?;jsessionid=([^?\\s]+)");if(o)this.data.set(s.Payload.IDENTIFIER,o[2]);else if(-1!==t.indexOf("yo.js")){var a=t.match("yo.js=([^&]+)");a&&this.data.set(s.Payload.IDENTIFIER,a[1])}void 0===this.data.get(s.Payload.IDENTIFIER)&&(this.error=!0)}catch(e){i.YoLog.e("Failed to parse Location element: "+e),this.error=!0}}},t.onOpenTag=function(e){this.s="","MPD"===e.name.toUpperCase()&&(this.data.set(s.Payload.ANALYTICURL,e.attributes.analytics),this.data.set(s.Payload.PAUSEURL,e.attributes.livePause),this.data.set(s.Payload.AVAILABILITYSTART,new Date(e.attributes.availabilityStartTime)))},t.onText=function(e){this.s=e},e}();t.DashManifestParser=u},1622:(e,t,n)=>{"use strict";t.__esModule=!0,t.HlsManifestParser=void 0;var r=n(597),i=n(7823),o=n(1289),a=n(6161),s=n(5406);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=/;jsessionid=([^?]+)/,l=/yo\.js=([^?]+)/,d="FIRSTLEVELPLAYLIST",_=function(){function e(){this.data=new Map,this.nextLineStreamInf=!1}var t=e.prototype;return t.buildPlaybackUrl=function(){var e=this.data.get(o.Payload.LOCATION);e&&!(0,s.getUrl)(e)&&(i.YoLog.w("Master URL invalid in HSL manifest: "+e),this.data.delete(o.Payload.LOCATION));var t=!1,n=this.data.get(o.Payload.LOCATION);if(n||(n=this.data.get(d)),!n)return i.YoLog.e("No location or first level URL available"),!1;var r=(0,s.getUrl)(n),a=n.match(l),u=n.match(c);if(r&&(a?(t=!0,this.data.set(o.Payload.IDENTIFIER,a[1])):u&&this.data.set(o.Payload.IDENTIFIER,u[1])),!r||void 0===this.data.get(o.Payload.IDENTIFIER))return i.YoLog.e("Unable to build Location from components"),!1;var _=r.port;return this.data.set(o.Payload.PORT,""===_?"":_),this.data.set(o.Payload.SCHEME,r.protocol.substring(0,r.protocol.length-1)),this.data.set(o.Payload.HOSTNODE,r.hostname),this.data.set(o.Payload.QS,r.search?r.search.replace("?",""):""),this.updateLocationPath(r,t),!0},t.updateLocationPath=function(e,t){if(!this.data.get(o.Payload.LOCATION)){var n=e.pathname,i=n.substring(0,n.lastIndexOf("/"))+".m3u8",a=this.data.get(o.Payload.SCHEME);a+="://",a+=this.data.get(o.Payload.HOSTNODE),a+=""!==this.data.get(o.Payload.PORT)?":"+this.data.get(o.Payload.PORT):"",a+=i,t||(a+=";jsessionid="+this.data.get(o.Payload.IDENTIFIER)),(0,r.isNullOrEmpty)(this.data.get(o.Payload.QS))||(a+="?"+this.data.get(o.Payload.QS)),this.data.set(o.Payload.LOCATION,a)}},e.checkParameters=function(e){return(0,r.isNullOrEmpty)(e)?(i.YoLog.e("Yospace HLS manifest is empty"),!1):-1!==e.indexOf("#EXT-X-STREAM-INF:")||(i.YoLog.e("No stream info found in HLS manifest"),!1)},e.isHlsManifest=function(e){return e.length>=7&&-1!==e.toUpperCase().indexOf("#EXTM3U")},t.parseManifestLines=function(e){for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(/\r?\n/));!(t=n()).done;){var r=t.value;0!==r.length&&(r.startsWith("#")?this.processManifestDirective(r):this.nextLineStreamInf&&!this.data.has(d)&&this.data.set(d,r))}},t.processManifestDirective=function(e){var t=e.indexOf(":");if(-1!==t){var n=e.substring(t+1),r=e.substring(0,t);r.includes("#EXT-X-YOSPACE-ANALYTICS-URL")?this.data.set(o.Payload.ANALYTICURL,n.replace(/"/g,"")):r.includes("#EXT-X-STREAM-INF")?this.data.has(d)||(this.nextLineStreamInf=!0):r.includes("#EXT-X-YOSPACE-PAUSE")?this.data.set(o.Payload.PAUSEURL,n.replace(/"/g,"")):r.includes("#EXT-X-YOSPACE-SDK-MASTER-URL")&&this.data.set(o.Payload.LOCATION,n.replace(/"/g,""))}},e.parse=function(t){var n=new e;return e.checkParameters(t)?(n.parseManifestLines(t),n.buildPlaybackUrl(),new a.PlaylistPayload(n.data,o.Constant.INTERSEGMENT_TIMEOUT)):null},e}();t.HlsManifestParser=_},6028:(e,t,n)=>{"use strict";t.__esModule=!0,t.StreamData=t.Parser=t.CreativeData=t.AdvertData=void 0;var r,i=(r=n(6099))&&r.__esModule?r:{default:r},o=n(7823),a=n(3755),s=n(1235),u=n(6366),c=n(982),l=n(7964),d=n(6265),_=n(6464),f=n(1305),h=n(6474),p=n(50),g=n(6646),v=n(3698),m=n(9473),y=n(5489),b=n(8002),S=n(1862),E=n(8710),$=n(862),T=n(597),A=n(5406),C=n(420),P=n(936),I=n(7351);function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var k="AdServingId",O="Description",R="vmap:AdBreak",D="vmap:Tracking",L="Category",x="AdSystem",N="Advertiser",U="Survey",B="Pricing",F="UniversalAdId",j="Extensions",H="Creative",V="Linear",W="Icon",q="IconClickFallbackImage",G="AdParameters",Y="InteractiveCreativeFile",K="NonLinearAds",z="NonLinear",X="CompanionAds",Q="Companion",J="StaticResource",Z="HTMLResource",ee="Tracking",te="Verification",ne="JavaScriptResource",re="ExecutableResource",ie="CreativeExtensions",oe=function(){function e(){this.clear()}return e.prototype.clear=function(){this.adverts=[],this.timelineTrackingMap=new Map,this.trackingEvent=null,this.start=0,this.duration=0,this.position=null,this.breakType=null,this.identifier=null,this.earlyReturn=null,this.adTagUri=null,this.timeOffset=null,this.vastVersion=null},e}(),ae=function(){function e(){this.clear()}return e.prototype.clear=function(){this.id=null,this.sequence=null,this.adType=null,this.properties=[],this.linearCreative=null,this.companionAds=null,this.impressions=null,this.errors=null,this.viewableImpressions=new Map,this.adVerifications=[],this.filler=!1,this.nonLinear=!1,this.topLevelWrapper=null,this.extensions=null,this.processingCompanionCreative=!1,this.currentCreativeType=0,this.nonLinearAds=null,this.adSystemVersion=null,this.advertiserId=null,this.categoryAuthority=null,this.pricingModel=null,this.pricingCurrency=null,this.surveyType=null,this.verificationVendor=null,this.verificationEvents=new Map,this.verificationResources=[],this.verificationApiFramework=null,this.verificationBrowserOptional=null,this.verificationParameters=null,this.verificationResourceType=null,this.extensionStack=[]},e}();t.AdvertData=ae;var se=function(){function e(){this.clear()}return e.prototype.clear=function(){this.required=null,this.companions=[]},e}(),ue=function(){function e(){this.clearAll()}var t=e.prototype;return t.clear=function(){this.clickThroughUrl="",this.clickThroughTrackings=[],this.clickThroughCustoms=[],this.nonLinearResources=[],this.duration=null,this.trackingMap=new Map,this.interactiveTracking=null,this.icons=[],this.currentAssetUri=null,this.skipOffset=null,this.adParameters=null,this.staticResourceCreativeType=null,this.trackingEvent=null,this.htmlResourceEncoded=!1,this.altText=null,this.companionExtensionStack=[],this.companionExtensions=null,this.icSource=null,this.properties=[]},t.clearAll=function(){this.advertId=null,this.id=null,this.sequence=null,this.universalAdIds=[],this.universalAdIdRegistry=null,this.extensions=null,this.extensionStack=[],this.clickThroughTrackings=[],this.clickThroughUrl="",this.adParameters=null,this.trackingEvent=null,this.duration=null,this.trackingMap=new Map,this.interactiveTracking=null,this.icons=[],this.currentAssetUri=null,this.skipOffset=null,this.clickThroughCustoms=[],this.nonLinearResources=[],this.staticResourceCreativeType=null,this.htmlResourceEncoded=null,this.altText=null,this.companionExtensions=null,this.companionExtensionStack=[],this.properties=[],this.icSource=null},e}();t.CreativeData=ue;var ce=function(){function e(){this.clear()}return e.prototype.clear=function(){this.resources=[],this.properties=[],this.clickThroughUrl=null,this.staticResourceCreativeType=null,this.clickTrackings=[],this.clickFallbackImages=[],this.viewTrackings=[],this.htmlResourceEncoded=!1},e}(),le=function(){function e(){this.clear()}return e.prototype.clear=function(){this.properties=[],this.resource=null,this.staticResourceCreativeType=null,this.altText=null},e}(),de=function(){function e(){this.clear()}return e.prototype.clear=function(){this.nonLinearCreatives=[],this.trackingMap=new Map},e}(),_e=function(){function e(){this.sessionIdentifier=null,this.duration=0,this.hostNode=null,this.hostSuffix=null,this.pdtInitial=null,this.pdtStart=null,this.pdtEnd=null,this.earlyReturn=null,this.hasPlaceholder=!1}var t=e.prototype;return t.getSessionIdentifier=function(){return this.sessionIdentifier},t.getDuration=function(){return this.duration},t.getHasPlaceholder=function(){return this.hasPlaceholder},t.getHostNode=function(){return this.hostNode},t.getHostSuffix=function(){return this.hostSuffix},t.getPdtInitial=function(){return this.pdtInitial},t.getPdtStart=function(){return this.pdtStart},t.getPdtEnd=function(){return this.pdtEnd},t.getEarlyReturn=function(){return this.earlyReturn},e}();t.StreamData=_e;var fe=function(){function e(e){this.broker=e,this.skipNormalisation=!1,this.linearAdBreaks=[],this.nonLinearAdBreaks=[],this.displayAdBreaks=[],this.isVmap=!1,this.isValidVAST=!0,this.processingAdvertExtensions=!1,this.processingCreativeExtensions=!1,this.characters="",this.adBreakData=new oe,this.advertData=new ae,this.companionAdsData=new se,this.creativeData=new ue,this.iconClickFallbackImageData=new le,this.iconData=new ce,this.iconFallbackImageData=new le,this.nonLinearAdsData=new de,this.streamData=new _e,this.onCdata=this.onCdata.bind(this),this.onOpenTag=this.onOpenTag.bind(this),this.onCloseTag=this.onCloseTag.bind(this),this.onText=this.onText.bind(this)}var t=e.prototype;return t.addToCreativeExtensionStack=function(e){this.advertData.processingCompanionCreative?this.creativeData.companionExtensionStack.push(e):this.creativeData.extensionStack.push(e)},t.checkAdBreakForParsingErrors=function(e){if(e.getType()===s.BreakType.LINEAR){if(-1===e.getStart()){var t=new I.ParsingError(this.adBreakData.identifier,I.ParsingError.Message.INVALID_START_TIME,I.ParsingError.Message.INVALID_START_TIME+": "+this.adBreakData.timeOffset);this.broker.addParsingError(t)}if(0===e.getAdverts().length&&0===e.getTrackingMap().size){var n=new I.ParsingError(this.adBreakData.identifier,I.ParsingError.Message.EMPTY_ADVERT_AND_TRACKING,"Empty ad break at offset: "+this.adBreakData.timeOffset);this.broker.addParsingError(n)}}},t.checkValidVersion=function(e){var t=parseFloat(e);return!Number.isNaN(t)&&t>=4.2},t.getStreamData=function(){return this.streamData},t.handleCreativeExtensionsForOnEndDefault=function(e){var t=this.advertData.processingCompanionCreative?this.creativeData.companionExtensionStack:this.creativeData.extensionStack,n=t.length;2===n?(this.pop(!1,!0),this.processingCreativeExtensions=!1):n>0&&e===t[n-1].getName()&&this.pop(!1,!0)},t.handleStartAd=function(e){this.advertData.id=e.id;var t=parseInt(e.sequence);this.advertData.sequence=Number.isNaN(t)?0:t,Number.isNaN(t)||(this.advertData.sequence=t),this.advertData.adType=e.adType,s.AdBreak.getBreakTypeFromString(this.adBreakData.breakType)!==s.BreakType.LINEAR&&(this.advertData.nonLinear=!0)},t.handleStartAdWrapper=function(e){var t=e.id?e.id:"",n=e.creativeId?e.creativeId:"",r=e.AdSystem?e.AdSystem:"",i=new c.AdvertWrapper(t,n,r);this.advertData.topLevelWrapper&&i.setChild(this.advertData.topLevelWrapper),this.advertData.topLevelWrapper=i},t.handleStartCreative=function(e){this.creativeData.advertId=e.adId,this.creativeData.id=e.id;var t=parseInt(e.sequence);this.creativeData.sequence=isNaN(t)?0:t},t.handleStartCreativeExtension=function(e,t){var n=e.type;-1===(n=n||"").indexOf("com.yospace")&&-1===n.indexOf("AdVerifications")&&(this.processingCreativeExtensions=!0,this.addToCreativeExtensionStack(new b.XmlNode(t.name,(0,P.objectToMap)(e))))},t.handleStartExtension=function(e,t){var n=e.type;-1===(n=n||"").indexOf("com.yospace")&&-1===n.indexOf("AdVerifications")&&(this.processingAdvertExtensions=!0,this.advertData.extensionStack.push(new b.XmlNode(t.name,(0,P.objectToMap)(e))))},t.handleStartExtensionElement=function(e,t){this.processingAdvertExtensions?this.advertData.extensionStack.push(new b.XmlNode(t.name,(0,P.objectToMap)(e))):this.processingCreativeExtensions&&this.addToCreativeExtensionStack(new b.XmlNode(t.name,(0,P.objectToMap)(e)))},t.handleStartHtmlResource=function(e){var t=e.xmlEncoded,n=!!t&&("TRUE"===t.toUpperCase()||"1"===t);this.iconData.properties.length>0?this.iconData.htmlResourceEncoded=n:this.creativeData.htmlResourceEncoded=n},t.handleStartPricing=function(e){var t=e.model;this.advertData.pricingModel=t?t.toUpperCase():"",this.advertData.pricingCurrency=e.currency},t.handleStartStaticResource=function(e){this.iconClickFallbackImageData.properties.length>0?this.iconClickFallbackImageData.staticResourceCreativeType=e.creativeType:this.iconData.properties.length>0?this.iconData.staticResourceCreativeType=e.creativeType:this.creativeData.staticResourceCreativeType=e.creativeType},t.handleStartTracking=function(e){if(this.creativeData.trackingEvent=e.event,"progress"===this.creativeData.trackingEvent){var t=e.offset;(0,T.isNullOrEmpty)(t)||(this.creativeData.trackingEvent=this.creativeData.trackingEvent+"-"+t)}},t.handleEndAd=function(){var e=new u.Advert(this.advertData);if(e.isValid())this.adBreakData.adverts.push(e);else if(this.advertData.nonLinear||this.advertData.linearCreative){if((0,T.isNullOrEmpty)(e.mediaIdentifier)){var t=new I.ParsingError(null,I.ParsingError.Message.INVALID_MEDIAID,"Yospace media identifier could not be parsed (advert id: "+this.advertData.id+")");this.broker.addParsingError(t)}}else{var n=new I.ParsingError(null,I.ParsingError.Message.MISSING_CREATIVE,"No creative for advert: "+this.advertData.id);this.broker.addParsingError(n)}e.isValid()||o.YoLog.w("Invalid advert.  Discarding ("+this.advertData.id+")"),this.advertData.clear()},t.handleAdvertExtensionsForOnEndDefault=function(e){var t=this.advertData.extensionStack.length;2===t?(this.pop(!0,!0),this.processingAdvertExtensions=!1):t>0&&e===this.advertData.extensionStack[t-1].getName()&&this.pop(!0,!0)},t.handleEndAdTitle=function(){var e=this.characters.trim();this.advertData.properties.push(new m.VASTProperty("AdTitle",e)),"filler"===e&&(this.advertData.filler=!0)},t.handleEndClickTracking=function(){var e=this.characters.trim();(0,A.getUrl)(e)?this.creativeData.clickThroughTrackings.push(e):o.YoLog.w("Discarding click tracking URL:"+e)},t.handleEndCompanion=function(){var e=null;(0,T.isNullOrEmpty)(this.creativeData.clickThroughUrl)||(e=new y.VideoClicks(this.creativeData.clickThroughUrl,this.creativeData.clickThroughTrackings,null));var t=new l.CompanionCreative(this.creativeData,e,this.creativeData.nonLinearResources,this.creativeData.trackingMap,this.broker);t.isValid()?(t.setNonLinear(this.advertData.nonLinear),this.companionAdsData.companions.push(t)):o.YoLog.w("Discarding invalid Companion"),this.creativeData.clear()},t.handleEndCompanionClickTracking=function(){var e=this.characters.trim();(0,A.getUrl)(e)?this.creativeData.clickThroughTrackings.push(e):o.YoLog.w("Discarding empty Companion click tracking URL")},t.handleEndCreative=function(){switch(this.advertData.currentCreativeType){case 1:for(var e,t=w(this.advertData.companionAds.companions);!(e=t()).done;)e.value.postParse(this.creativeData.extensions);break;case 2:this.advertData.linearCreative&&this.advertData.linearCreative.postParse(this.creativeData.extensions);break;case 3:for(var n,r=w(this.advertData.nonLinearAds.nonLinearCreatives);!(n=r()).done;)n.value.postParse(this.creativeData.extensions)}this.creativeData.clearAll()},t.handleEndCustomClick=function(){var e=this.characters.trim();""!==e?this.creativeData.clickThroughCustoms.push(e):o.YoLog.w("Discarding empty custom click URL")},t.handleEndError=function(e){var t=this.characters.trim();(0,A.getUrl)(t)?this.advertData.errors?this.advertData.errors.addTrackingUrl(t):this.advertData.errors=new S.TrackingReport(e,[t]):o.YoLog.w("Discarding empty Error")},t.handleEndExecutableResource=function(){if(this.advertData.verificationApiFramework&&this.advertData.verificationResourceType){var e=new m.VASTProperty("ExecutableResource",this.characters.trim(),"apiFramework",this.advertData.verificationApiFramework);e.addAttribute("type",this.advertData.verificationResourceType),this.advertData.verificationResources.push(e)}this.advertData.verificationApiFramework=null,this.advertData.verificationResourceType=null},t.handleEndIcon=function(){var e=null;(!(0,T.isNullOrEmpty)(this.iconData.clickThroughUrl)||this.iconData.viewTrackings.length>0)&&(e=(0,T.isNullOrEmpty)(this.iconData.clickThroughUrl)?new y.VideoClicks(null,null,this.iconData.viewTrackings):new y.VideoClicks(this.iconData.clickThroughUrl,this.iconData.clickTrackings,this.iconData.viewTrackings));var t=new _.IndustryIcon(this.iconData.properties,this.iconData.resources,e,this.iconData.clickFallbackImages,this.broker);t.isValid()?this.creativeData.icons.push(t):o.YoLog.w("Discarding invalid Icon"),this.iconData.clear()},t.handleEndIFrameResource=function(){var e=this.characters.trim();this.iconData.properties.length>0?this.iconData.resources.push(new v.Resource(v.ResourceType.IFRAME,e)):this.creativeData.nonLinearResources.push(new v.Resource(v.ResourceType.IFRAME,e))},t.handleEndExtensionElement=function(e){this.processingAdvertExtensions?this.handleAdvertExtensionsForOnEndDefault(e):this.handleCreativeExtensionsForOnEndDefault(e)},t.handleEndHtmlResource=function(){if(this.iconData.properties.length>0){var e=this.characters.trim();this.iconData.resources.push(new v.Resource(v.ResourceType.HTML,e,null,this.iconData.htmlResourceEncoded))}else this.creativeData.nonLinearResources.push(new v.Resource(v.ResourceType.HTML,this.characters,null,this.creativeData.htmlResourceEncoded))},t.handleEndIconClickFallbackImage=function(){var e=new d.IconClickFallbackImage(this.iconClickFallbackImageData.properties,this.iconClickFallbackImageData.altText,this.iconClickFallbackImageData.resource);e.isValid()?this.iconData.clickFallbackImages.push(e):o.YoLog.w("Discarding invalid IconClickFallbackImage"),this.iconClickFallbackImageData.clear()},t.handleEndIconClickTracking=function(){var e=this.characters.trim();(0,A.getUrl)(e)?this.iconData.clickTrackings.push(e):o.YoLog.w("Discarding empty Icon click tracking URL")},t.handleEndIconViewTracking=function(){var e=this.characters.trim();(0,A.getUrl)(e)?this.iconData.viewTrackings.push(e):o.YoLog.w("Discarding empty Icon view tracking URL")},t.handleEndInteractiveTracking=function(){this.creativeData.interactiveTracking?this.creativeData.interactiveTracking.addTrackingUrl(this.characters.trim()):this.creativeData.interactiveTracking=new S.TrackingReport(this.creativeData.trackingEvent,[this.characters.trim()])},t.handleEndLinear=function(){var e=null;(!(0,T.isNullOrEmpty)(this.creativeData.clickThroughUrl)||this.creativeData.clickThroughCustoms.length>0)&&(e=(0,T.isNullOrEmpty)(this.creativeData.clickThroughUrl)?new y.VideoClicks(null,null,this.creativeData.clickThroughCustoms):new y.VideoClicks(this.creativeData.clickThroughUrl,this.creativeData.clickThroughTrackings,this.creativeData.clickThroughCustoms));var t=null;this.creativeData.properties.length>0&&((t=new f.InteractiveCreative(this.creativeData.icSource,this.creativeData.properties,this.broker,this.creativeData.interactiveTracking)).isValid()||(o.YoLog.w("Discarding invalid InteractiveCreative"),t=null));var n=new h.LinearCreative(this.creativeData,e,t,this.broker);n.isValid()?this.advertData.linearCreative=n:o.YoLog.w("Discarding invalid LinearCreative"),this.creativeData.clear()},t.handleEndImpression=function(e){var t=this.characters.trim();(0,A.getUrl)(t)?this.advertData.impressions?this.advertData.impressions.addTrackingUrl(t):this.advertData.impressions=new S.TrackingReport(e,[t]):o.YoLog.w("Discarding empty Impression")},t.handleEndInteractiveCreativeFile=function(){this.creativeData.icSource=this.characters.trim()},t.handleEndJavaScriptResource=function(){if(this.advertData.verificationApiFramework&&this.advertData.verificationBrowserOptional){var e=new m.VASTProperty(ne,this.characters.trim(),"apiFramework",this.advertData.verificationApiFramework);e.addAttribute("browserOptional",this.advertData.verificationBrowserOptional),this.advertData.verificationResources.push(e)}this.advertData.verificationApiFramework=null,this.advertData.verificationBrowserOptional=null},t.handleEndMediaFile=function(){0!==this.creativeData.properties.length?this.creativeData.icSource=this.characters.trim():this.creativeData.currentAssetUri=this.characters.trim()},t.handleEndNonLinearClickTracking=function(){var e=this.characters.trim();(0,A.getUrl)(e)?this.creativeData.clickThroughTrackings.push(e):o.YoLog.w("Discarding empty Nonlinear click tracking URL")},t.handleEndPricing=function(){var e=this.characters.trim();if(""!==e){var t=new m.VASTProperty(B,e,"currency",this.advertData.pricingCurrency);t.addAttribute("model",this.advertData.pricingModel),(0,T.isNullOrEmpty)(this.advertData.pricingCurrency)||(0,T.isNullOrEmpty)(this.advertData.pricingModel)?o.YoLog.w("Discarding invalid Pricing property"):this.advertData.properties.push(t)}else o.YoLog.w("Discarding invalid Pricing property")},t.handleEndUniversalAdId=function(){var e=this.characters.trim();""!==e?this.creativeData.universalAdIds.push(new m.VASTProperty(F,e,"idRegistry",this.creativeData.universalAdIdRegistry)):o.YoLog.w("Discarding empty UniversalAdId URL")},t.handleEndVerification=function(){var e=new E.AdVerification(this.advertData);e.isValid()?this.advertData.adVerifications.push(e):o.YoLog.w("Discarding invalid AdVerification"),this.advertData.verificationEvents=new Map,this.advertData.verificationResources=[],this.advertData.verificationParameters=null},t.handleEndVmapTracking=function(){var e=this.characters.trim();if(S.TrackingReport.isValidAdBreakEvent(this.adBreakData.trackingEvent))if((0,T.isNullOrEmpty)(e))o.YoLog.w("Discarding empty VMAP");else{var t=this.adBreakData.timelineTrackingMap.get(this.adBreakData.trackingEvent);t?t.addTrackingUrl(e):(t=new S.TrackingReport(this.adBreakData.trackingEvent,[e]),this.adBreakData.timelineTrackingMap.set(this.adBreakData.trackingEvent,t))}else o.YoLog.d(o.DebugFlags.DEBUG_PARSING,"Discarding invalid vmap:Tracking event")},t.handleEndNonLinear=function(){var e=null;this.creativeData.clickThroughUrl&&""!==this.creativeData.clickThroughUrl&&(e=new y.VideoClicks(this.creativeData.clickThroughUrl,this.creativeData.clickThroughTrackings,null));var t=new g.NonLinearCreative(this.creativeData,e,this.creativeData.nonLinearResources,this.broker);t.isValid()?(t.setNonLinear(this.advertData.nonLinear),this.nonLinearAdsData.nonLinearCreatives.push(t)):o.YoLog.w("Discarding invalid NonLinear"),this.creativeData.clear()},t.handleEndStaticResource=function(){var e=this.characters.trim();if(this.iconClickFallbackImageData.properties.length>0){var t=new v.Resource(v.ResourceType.STATIC,e,this.iconClickFallbackImageData.staticResourceCreativeType);if(t.isValid())return void(this.iconClickFallbackImageData.resource=t)}else if(this.iconData.properties.length>0){var n=new v.Resource(v.ResourceType.STATIC,e,this.iconData.staticResourceCreativeType);if(n.isValid())return void this.iconData.resources.push(n)}else{var r=new v.Resource(v.ResourceType.STATIC,e,this.creativeData.staticResourceCreativeType);if(r.isValid())return void this.creativeData.nonLinearResources.push(r)}o.YoLog.w("Discarding invalid StaticResource")},t.handleEndTracking=function(){var e=this.characters.trim();if((0,T.isNullOrEmpty)((0,A.getUrl)(e))){o.YoLog.w("Discarding empty tracking URL");var t=new I.ParsingError(null,I.ParsingError.Message.INVALID_TRACKING_URL,"Bad tracking url:"+e+" event: "+this.creativeData.trackingEvent);this.broker.addParsingError(t)}else{var n=null;S.TrackingReport.isValidVerificationEvent(this.creativeData.trackingEvent)?n=this.advertData.verificationEvents:2===this.advertData.currentCreativeType&&S.TrackingReport.isValidLinearEvent(this.creativeData.trackingEvent)||0===this.creativeData.trackingEvent.indexOf("progress")?n=this.creativeData.trackingMap:2===this.advertData.currentCreativeType&&S.TrackingReport.isValidInteractiveEvent(this.creativeData.trackingEvent)?this.handleEndInteractiveTracking():1===this.advertData.currentCreativeType&&S.TrackingReport.isValidCompanionEvent(this.creativeData.trackingEvent)?n=this.creativeData.trackingMap:3===this.advertData.currentCreativeType&&S.TrackingReport.isValidNonLinearEvent(this.creativeData.trackingEvent)&&(n=this.nonLinearAdsData.trackingMap),n&&this.parseMapForOnEndTracking(n)}},t.handleEndViewableImpression=function(e){var t=this.characters.trim();if((0,T.isNullOrEmpty)((0,A.getUrl)(t)))o.YoLog.w("Discarding empty ViewableImpression URL");else{var n=this.advertData.viewableImpressions.get(e);n?n.addTrackingUrl(t):(n=new S.TrackingReport(e,[t]),this.advertData.viewableImpressions.set(e,n))}},t.handleTextDataForExtensions=function(){var e=this.characters.trim();if(""!==e){var t=[];(t=this.processingAdvertExtensions?this.advertData.extensionStack:this.advertData.processingCompanionCreative?this.creativeData.companionExtensionStack:this.creativeData.extensionStack).length>0&&t[t.length-1].setInnerText(e)}},t.handleVmapAdBreak=function(){if(null!==this.adBreakData.earlyReturn)return this.streamData.earlyReturn=this.adBreakData.earlyReturn,void this.adBreakData.clear();s.AdBreak.getBreakTypeFromString(this.adBreakData.breakType)!==s.BreakType.LINEAR||this.skipNormalisation||(this.adBreakData.start=this.broker.normaliseAdBreakStart(this.adBreakData.start,this.adBreakData.position));var e=new s.AdBreak(this.adBreakData.start,this.adBreakData.duration,this.adBreakData.position,this.adBreakData.timelineTrackingMap,this.adBreakData.breakType,this.adBreakData.identifier,null,this.adBreakData.adTagUri);if(this.adBreakData.adverts.length>0&&e.setAdverts(this.adBreakData.adverts),e.postParse(this.broker),e.isValid())switch(s.AdBreak.getBreakTypeFromString(this.adBreakData.breakType)){case s.BreakType.LINEAR:this.linearAdBreaks.push(e);break;case s.BreakType.NONLINEAR:this.nonLinearAdBreaks.push(e);break;case s.BreakType.DISPLAY:this.displayAdBreaks.push(e)}else{var t=this.streamData.hasPlaceholder?" placeholder ":" ";o.YoLog.w("Discarding empty"+t+"ad break"),this.checkAdBreakForParsingErrors(e)}this.adBreakData.clear()},t.handleVmapAdTagURI=function(){this.streamData.hasPlaceholder=!0,this.adBreakData.adTagUri=this.characters.trim()},t.handleStartYospaceAdBreak=function(e){var t=e.duration;if(t&&(this.adBreakData.duration=(0,a.timeStringToMillis)(t,-1)),s.AdBreak.getBreakTypeFromString(this.adBreakData.breakType)===s.BreakType.LINEAR&&-1===this.adBreakData.duration){var n=new I.ParsingError(this.adBreakData.identifier,I.ParsingError.Message.INVALID_DURATION,I.ParsingError.Message.INVALID_DURATION+": "+t);this.broker.addParsingError(n)}var r=e.position;r&&(this.adBreakData.position=r);var i=e.earlyReturn;if(i){var o=(0,a.timeStringToMillis)(i,-1);this.adBreakData.earlyReturn=-1!==o?o+this.adBreakData.start:-1}},t.handleYospaceStream=function(e){var t=e.urlDomain;t&&(this.streamData.hostNode=t);var n=e.urlSuffix;if(n&&(this.streamData.hostSuffix=n),e.duration){var r=(0,a.timeStringToMillis)(e.duration,0);r&&(this.streamData.duration=r)}if(this.streamData.hostSuffix){var i=this.streamData.hostSuffix.match("yo.p.si=([^&]+)");i&&(this.streamData.sessionIdentifier=i[1])}this.streamData.pdtInitial=(0,a.pdtToMillis)(e.pdtinitial,null),this.streamData.pdtStart=(0,a.pdtToMillis)(e.pdtstart,null),this.streamData.pdtEnd=(0,a.pdtToMillis)(e.pdtend,null),(null===this.streamData.pdtStart||null===this.streamData.pdtEnd||this.streamData.pdtStart>this.streamData.pdtEnd)&&(this.streamData.pdtStart=null,this.streamData.pdtEnd=null,this.streamData.pdtInitial=null)},t.onCdata=function(e){this.characters=e,(this.processingAdvertExtensions||this.processingCreativeExtensions)&&this.handleTextDataForExtensions()},t.onOpenTag=function(e){var t=e.attributes;if(this.processingAdvertExtensions||this.processingCreativeExtensions)this.handleStartExtensionElement(t,e);else{if("vmap:VMAP"===e.name&&(this.isVmap=!0),"yospace:Stream"===e.name&&this.handleYospaceStream(t),e.name===R){this.adBreakData.timeOffset=t.timeOffset,this.adBreakData.timeOffset&&(this.adBreakData.start=(0,a.timeStringToMillis)(this.adBreakData.timeOffset,-1));var n=t.breakType;n&&(this.adBreakData.breakType=n);var r=t.breakId;r&&(this.adBreakData.identifier=r)}"yospace:AdBreak"===e.name&&this.handleStartYospaceAdBreak(t),e.name===D&&(this.adBreakData.trackingEvent=t.event),"VAST"===e.name&&(this.adBreakData.vastVersion=t.version,this.checkValidVersion(this.adBreakData.vastVersion)||(o.YoLog.e("Invalid or missing VAST version; is AV tag defined?"),this.isValidVAST=!1)),"Ad"===e.name&&this.handleStartAd(t),"AdWrapper"===e.name&&this.handleStartAdWrapper(t),e.name===L&&(this.advertData.categoryAuthority=t.authority),e.name===x&&(this.advertData.adSystemVersion=t.version),e.name===N&&(this.advertData.advertiserId=t.id),e.name===U&&(this.advertData.surveyType=t.type),e.name===B&&this.handleStartPricing(t),e.name===F&&(this.creativeData.universalAdIdRegistry=t.idRegistry),e.name===j&&this.advertData.extensionStack.push(new b.XmlNode(e.name,(0,P.objectToMap)(t))),e.name===H&&this.handleStartCreative(t),e.name===V&&(this.advertData.currentCreativeType=2,this.creativeData.skipOffset=t.skipoffset),e.name===W&&this.populateIconPropertyList(t),e.name===q&&this.populateIconClickFallbackImagePropertyList(t),e.name===G&&(this.creativeData.adParameters=new m.VASTProperty(G,null,"xmlEncoded",t.xmlEncoded)),e.name===Y&&this.populateInteractiveCreativePropertyList(t),e.name===K&&(this.advertData.currentCreativeType=3),e.name===z&&this.populateNonLinearPropertyList(t),e.name===X&&(this.advertData.currentCreativeType=1,this.advertData.processingCompanionCreative=!0,this.companionAdsData.required=t.required),e.name===Q&&this.populateCompanionPropertyList(t),e.name===J&&this.handleStartStaticResource(t),e.name===Z&&this.handleStartHtmlResource(t),e.name===ee&&this.handleStartTracking(t),e.name===te&&(this.advertData.verificationVendor=t.vendor),e.name===ne&&(this.advertData.verificationApiFramework=t.apiFramework,this.advertData.verificationBrowserOptional=t.browserOptional),e.name===re&&(this.advertData.verificationApiFramework=t.apiFramework,this.advertData.verificationResourceType=t.type),"Extension"===e.name&&this.handleStartExtension(t,e),e.name===ie&&this.addToCreativeExtensionStack(new b.XmlNode(e.name,(0,P.objectToMap)(t))),"CreativeExtension"===e.name&&this.handleStartCreativeExtension(t,e),e.isSelfClosing&&this.onCloseTag(e)}},t.onCloseTag=function(e){if(this.processingAdvertExtensions||this.processingCreativeExtensions)return this.handleEndExtensionElement(e),void(this.characters="");e===R&&this.handleVmapAdBreak(),e===D&&this.handleEndVmapTracking(),"Ad"===e&&this.handleEndAd(),e===x&&this.advertData.properties.push(new m.VASTProperty("AdSystem",this.characters.trim(),"version",this.advertData.adSystemVersion)),"AdTitle"===e&&this.handleEndAdTitle(),"Impression"===e&&this.handleEndImpression(e),e===k&&this.advertData.properties.push(new m.VASTProperty(k,this.characters.trim())),e===L&&this.advertData.properties.push(new m.VASTProperty(L,this.characters.trim(),"authority",this.advertData.categoryAuthority)),e===O&&this.advertData.properties.push(new m.VASTProperty(O,this.characters.trim())),e===N&&this.advertData.properties.push(new m.VASTProperty(N,this.characters.trim(),"id",this.advertData.advertiserId)),e===U&&this.advertData.properties.push(new m.VASTProperty(U,this.characters.trim(),"type",this.advertData.surveyType)),"Error"===e&&this.handleEndError(e),e===B&&this.handleEndPricing(),e===F&&this.handleEndUniversalAdId(),e===j&&this.pop(!0,!1),e===ie&&this.pop(!1,!1),e===te&&this.handleEndVerification(),"VerificationParameters"===e&&(this.advertData.verificationParameters=this.characters.trim()),"MediaFile"===e&&this.handleEndMediaFile(),e===Y&&this.handleEndInteractiveCreativeFile(),"ClickThrough"!==e&&"NonLinearClickThrough"!==e&&"CompanionClickThrough"!==e||(this.creativeData.clickThroughUrl=this.characters.trim()),"IconClickThrough"===e&&(this.iconData.clickThroughUrl=this.characters.trim()),"ClickTracking"===e&&this.handleEndClickTracking(),"NonLinearClickTracking"===e&&this.handleEndNonLinearClickTracking(),"CompanionClickTracking"===e&&this.handleEndCompanionClickTracking(),"IconClickTracking"===e&&this.handleEndIconClickTracking(),e===q&&this.handleEndIconClickFallbackImage(),"AltText"===e&&(this.iconClickFallbackImageData.properties.length>0?this.iconClickFallbackImageData.altText=this.characters.trim():this.creativeData.altText=this.characters.trim()),"CustomClick"===e&&this.handleEndCustomClick(),"IconViewTracking"===e&&this.handleEndIconViewTracking(),e===H&&this.handleEndCreative(),e===V&&this.handleEndLinear(),e===K&&(this.advertData.nonLinearAds=new p.NonLinearAds(this.nonLinearAdsData.trackingMap,this.nonLinearAdsData.nonLinearCreatives),this.nonLinearAdsData.clear()),e===z&&this.handleEndNonLinear(),e===X&&(this.advertData.companionAds=new $.CompanionAds(this.companionAdsData.required,this.companionAdsData.companions),this.companionAdsData.clear(),this.advertData.processingCompanionCreative=!1),e===Q&&this.handleEndCompanion(),e===W&&this.handleEndIcon(),e===G&&this.creativeData.adParameters.setValue(this.characters.trim()),"Duration"===e&&(this.creativeData.duration=this.characters.trim()),"Viewable"!==e&&"NotViewable"!==e&&"ViewUndetermined"!==e||this.handleEndViewableImpression(e),e===J&&this.handleEndStaticResource(),e===Z&&this.handleEndHtmlResource(),"IFrameResource"===e&&this.handleEndIFrameResource(),e===ee&&this.handleEndTracking(),e===ne&&this.handleEndJavaScriptResource(),e===re&&this.handleEndExecutableResource(),"vmap:AdTagURI"===e&&this.handleVmapAdTagURI()},t.onText=function(e){this.characters=e,(this.processingAdvertExtensions||this.processingCreativeExtensions)&&this.handleTextDataForExtensions()},e.parse=function(t,n,r){return new e(n).parse(t,r)},t.parse=function(e,t){var n=this;this.skipNormalisation=!(!t||!t.skipNormalisation)&&t.skipNormalisation;var r=!1;return new Promise((function(t,a){try{var s,u=i.default.parser(!0);if(u.onerror=function(e){r=!0,o.YoLog.e("Failed to parse document: "+e),n.broker.addParsingError(new I.ParsingError(null,I.ParsingError.Message.BAD_XML,e.message)),t(null)},u.ontext=n.onText,u.onopentag=n.onOpenTag,u.onclosetag=n.onCloseTag,u.oncdata=n.onCdata,u.write(e).close(),r)return;if(!n.isVmap)return n.broker.addParsingError(new I.ParsingError(null,I.ParsingError.Message.NO_VMAP)),o.YoLog.e("Failed to parse document.  VMAP not found"),void t(null);if(!n.isValidVAST)return n.broker.addParsingError(new I.ParsingError(null,I.ParsingError.Message.INCORRECT_VAST_VERSION,"Version is "+n.adBreakData.vastVersion+", expected >= 4.2")),o.YoLog.e("Failed to parse document.  VAST not valid"),void t(null);!function(e){if(o.YoLog.debugflags&o.DebugFlags.DEBUG_PARSING){o.YoLog.d(o.DebugFlags.DEBUG_PARSING,"\n--------------- VMAP PARSING SUMMARY ---------------"),o.YoLog.d(o.DebugFlags.DEBUG_PARSING," * Number of ad breaks: "+e.linearAdBreaks.length),o.YoLog.d(o.DebugFlags.DEBUG_PARSING," * Number of nonlinear ad breaks: "+e.nonLinearAdBreaks.length),o.YoLog.d(o.DebugFlags.DEBUG_PARSING," * Number of display ad breaks: "+e.displayAdBreaks.length),o.YoLog.d(o.DebugFlags.DEBUG_PARSING," * Stream duration: "+e.streamData.duration+"ms\n");for(var t,n=w(e.linearAdBreaks);!(t=n()).done;){var r=t.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,r.toString());for(var i,a=w(r.getAdverts());!(i=a()).done;){var s=i.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,s.toString())}}for(var u,c=w(e.nonLinearAdBreaks);!(u=c()).done;){var l=u.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,l.toString());for(var d,_=w(l.getAdverts());!(d=_()).done;){var f=d.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,f.toString())}}for(var h,p=w(e.displayAdBreaks);!(h=p()).done;){var g=h.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,g.toString());for(var v,m=w(g.getAdverts());!(v=m()).done;){var y=v.value;o.YoLog.d(o.DebugFlags.DEBUG_PARSING,y.toString())}}e.streamData.getEarlyReturn()&&o.YoLog.d(o.DebugFlags.DEBUG_PARSING,"Early return: "+e.streamData.getEarlyReturn()),o.YoLog.d(o.DebugFlags.DEBUG_PARSING,"--------------- END PARSING SUMMARY ----------------\n")}}(n),s=new C.AnalyticPayload(n,e.toString()),t(s)}catch(e){n.broker.addParsingError(new I.ParsingError(null,I.ParsingError.Message.BAD_XML,e.message)),a(e)}}))},t.parseMapForOnEndTracking=function(e){var t=this.characters.trim(),n=e.get(this.creativeData.trackingEvent);n?n.addTrackingUrl(t):(n=-1!==this.creativeData.trackingEvent.indexOf("progress")?new S.TrackingReport("progress",[t]):new S.TrackingReport(this.creativeData.trackingEvent,[t]),e.set(this.creativeData.trackingEvent,n))},t.pop=function(e,t){var n=[],r=(n=e?this.advertData.extensionStack:this.advertData.processingCompanionCreative?this.creativeData.companionExtensionStack:this.creativeData.extensionStack).pop();t?n[n.length-1].addChild(r):e?this.advertData.extensions=r:this.advertData.processingCompanionCreative?this.creativeData.companionExtensions=r:this.creativeData.extensions=r},t.populateCompanionProperty=function(e,t){this.populateCreativeProperty(e,t)},t.populateCompanionPropertyList=function(e){this.populateCompanionProperty(e,"id"),this.populateCompanionProperty(e,"width"),this.populateCompanionProperty(e,"height"),this.populateCompanionProperty(e,"assetWidth"),this.populateCompanionProperty(e,"assetHeight"),this.populateCompanionProperty(e,"expandedWidth"),this.populateCompanionProperty(e,"expandedHeight"),this.populateCompanionProperty(e,"apiFramework"),this.populateCompanionProperty(e,"adSlotId"),this.populateCompanionProperty(e,"pxratio"),this.populateCompanionProperty(e,"renderingMode")},t.populateCreativeProperty=function(e,t){var n=e[t];(0,T.isNullOrEmpty)(n)||this.creativeData.properties.push(new m.VASTProperty(t,n))},t.populateIconProperty=function(e,t){var n=e[t];(0,T.isNullOrEmpty)(n)||this.iconData.properties.push(new m.VASTProperty(t,n))},t.populateIconPropertyList=function(e){this.populateIconProperty(e,"width"),this.populateIconProperty(e,"height"),this.populateIconProperty(e,"program"),this.populateIconProperty(e,"xPosition"),this.populateIconProperty(e,"yPosition"),this.populateIconProperty(e,"offset"),this.populateIconProperty(e,"duration"),this.populateIconProperty(e,"apiFramework"),this.populateIconProperty(e,"pxratio")},t.populateIconClickFallbackImageProperty=function(e,t){var n=e[t];(0,T.isNullOrEmpty)(n)||this.iconClickFallbackImageData.properties.push(new m.VASTProperty(t,n))},t.populateIconClickFallbackImagePropertyList=function(e){this.populateIconClickFallbackImageProperty(e,"width"),this.populateIconClickFallbackImageProperty(e,"height")},t.populateInteractiveCreativeProperty=function(e,t){this.populateCreativeProperty(e,t)},t.populateInteractiveCreativePropertyList=function(e){this.populateInteractiveCreativeProperty(e,"apiFramework"),this.populateInteractiveCreativeProperty(e,"type");var t=e.variableDuration;(0,T.isNullOrEmpty)(t)?this.creativeData.properties.push(new m.VASTProperty("variableDuration","false")):this.populateInteractiveCreativeProperty(e,"variableDuration")},t.populateNonLinearProperty=function(e,t){this.populateCreativeProperty(e,t)},t.populateNonLinearPropertyList=function(e){this.populateNonLinearProperty(e,"id"),this.populateNonLinearProperty(e,"width"),this.populateNonLinearProperty(e,"height"),this.populateNonLinearProperty(e,"expandedWidth"),this.populateNonLinearProperty(e,"expandedHeight"),this.populateNonLinearProperty(e,"scalable"),this.populateNonLinearProperty(e,"maintainAspectRatio"),this.populateNonLinearProperty(e,"apiFramework"),this.populateNonLinearProperty(e,"minSuggestedDuration")},e}();t.Parser=fe},6161:(e,t,n)=>{"use strict";t.__esModule=!0,t.PlaylistPayload=void 0;var r=n(1289),i=function(){function e(e,t){this.sessionIdentifier=e.get(r.Payload.IDENTIFIER),this.location=e.get(r.Payload.LOCATION),this.analyticUrl=e.get(r.Payload.ANALYTICURL),this.pauseUrl=e.get(r.Payload.PAUSEURL),this.availabilityStartTime=e.get(r.Payload.AVAILABILITYSTART)||null,this.interSegmentTimeout=t}var t=e.prototype;return t.getAnalyticUrl=function(){return this.analyticUrl},t.getIntersegmentTimeout=function(){return this.interSegmentTimeout},t.getPlaybackUrl=function(){return this.location},t.getPauseUrl=function(){return this.pauseUrl},t.getSessionIdentifier=function(){return this.sessionIdentifier},t.getAvailabilityStartTime=function(){return this.availabilityStartTime},e}();t.PlaylistPayload=i},3730:(e,t)=>{"use strict";t.__esModule=!0,t.XmlValidation=void 0;var n=function(){function e(){if((this instanceof e?this.constructor:void 0)===e)throw new TypeError("Cannot construct abstract class XmlValidation directly")}return e.prototype.isValid=function(){return!0},e}();t.XmlValidation=n},7995:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.AdBreakEventHandler=void 0;var i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n),i.prototype.onNonLinearTrackingEvent=function(e){throw new Error("Function must be overridden")},i}(n(3730).XmlValidation);t.AdBreakEventHandler=i},7196:(e,t,n)=>{"use strict";t.__esModule=!0,t.ViewableEvent=t.AdvertEventHandler=void 0;var r=n(3730);function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}var o=Object.freeze({VIEWABLE:0,NOT_VIEWABLE:1,VIEW_UNDETERMINED:2});t.ViewableEvent=o;var a=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var o=r.prototype;return o.onViewableEvent=function(e){throw new Error("Function must be overridden")},o.onErrorEvent=function(e){throw new Error("Function must be overridden")},o.onImpressionEvent=function(){throw new Error("Function must be overridden")},r}(r.XmlValidation);t.AdvertEventHandler=a},4843:(e,t,n)=>{"use strict";t.__esModule=!0,t.AnalyticEventObserver=void 0,n(6366),n(1235),n(6822);var r=function(){function e(){}var t=e.prototype;return t.onAdvertBreakStart=function(e,t){throw new Error("Function must be overridden")},t.onAdvertBreakEnd=function(e){throw new Error("Function must be overridden")},t.onAdvertBreakEarlyReturn=function(e,t){throw new Error("Function must be overridden")},t.onAdvertEnd=function(e){throw new Error("Function must be overridden")},t.onAdvertStart=function(e,t){throw new Error("Function must be overridden")},t.onAnalyticUpdate=function(e){throw new Error("Function must be overridden")},t.onTrackingEvent=function(e,t){throw new Error("Function must be overridden")},t.onSessionError=function(e,t){throw new Error("Function must be overridden")},e}();t.AnalyticEventObserver=r},4796:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.CreativeEventHandler=void 0;var i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.onClickThrough=function(){throw new Error("Function must be overridden")},o.onTrackingEvent=function(e){throw new Error("Function must be overridden")},o.setVisible=function(e){throw new Error("Function must be overridden")},i}(n(3730).XmlValidation);t.CreativeEventHandler=i},7351:(e,t,n)=>{"use strict";t.__esModule=!0,t.ParsingError=void 0;var r=n(597),i=n(3755);function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,n;function a(t,n,o){var a;(a=e.call(this,(0,i.millisToTimestamp)(Date.now()))||this).message=n;var s=(0,r.isNullOrEmpty)(o)?n:o;return s+=(0,r.isNullOrEmpty)(t)?"":" (breakId: "+t+")",a.errorDetail=s,a}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var s=a.prototype;return s.getMessage=function(){return this.message},s.getErrorDetail=function(){return this.errorDetail},a}(n(4281).SessionError);t.ParsingError=a,a.Message=Object.freeze({BAD_XML:"XML is not well-formed",NO_VMAP:"Document is not VMAP",INCORRECT_VAST_VERSION:"Incorrect VAST version",INVALID_DURATION:"Invalid duration",INVALID_START_TIME:"Invalid start time",EMPTY_ADVERT_AND_TRACKING:"No adverts or tracking",INVALID_MEDIAID:"Yospace media id not found",MISSING_CREATIVE:"Missing Linear Creative",INVALID_TRACKING_URL:"Invalid tracking URL"})},5719:(e,t,n)=>{"use strict";t.__esModule=!0,t.ViewSize=t.PlayerEvent=t.PlaybackEventHandler=void 0;var r=n(6037);function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}n(4672);var o=Object.freeze({START:0,STOP:1,PAUSE:2,RESUME:3,STALL:4,CONTINUE:5,ADVERT_REWIND:6,ADVERT_SKIP:7,SEEK:8,PLAYBACK_READY:9});t.PlayerEvent=o;var a=Object.freeze({COLLAPSED:0,EXPANDED:1});t.ViewSize=a;var s=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var o=r.prototype;return o.onPlayerEvent=function(e,t){throw new Error("Function must be overridden")},o.onPlayheadUpdate=function(e){throw new Error("Function must be overridden")},o.onTimedMetadata=function(e){throw new Error("Function must be overridden")},o.onViewSizeChange=function(e){throw new Error("Function must be overridden")},o.onVolumeChange=function(e){throw new Error("Function must be overridden")},r}(r.PlaybackPolicy);t.PlaybackEventHandler=s},6037:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.PlaybackPolicy=void 0;var i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.canStop=function(){throw new Error("Function must be overridden")},o.canPause=function(){throw new Error("Function must be overridden")},o.canSkip=function(){throw new Error("Function must be overridden")},o.willSeekTo=function(e){throw new Error("Function must be overridden")},o.canChangeVolume=function(e){throw new Error("Function must be overridden")},o.canResize=function(e){throw new Error("Function must be overridden")},o.canResizeCreative=function(e){throw new Error("Function must be overridden")},o.canClickThrough=function(e){throw new Error("Function must be overridden")},i}(n(3730).XmlValidation);t.PlaybackPolicy=i},1498:(e,t,n)=>{"use strict";t.__esModule=!0,t.PlaybackPolicyHandler=void 0,n(6822);var r=function(){function e(){}var t=e.prototype;return t.canStop=function(e,t){throw new Error("Must be overridden")},t.canPause=function(e,t){throw new Error("Must be overridden")},t.canSkip=function(e,t,n){throw new Error("Must be overridden")},t.willSeekTo=function(e,t,n){throw new Error("Must be overridden")},t.canChangeVolume=function(e,t,n){throw new Error("Must be overridden")},t.canResize=function(e,t,n){throw new Error("Must be overridden")},t.canResizeCreative=function(e,t,n){throw new Error("Must be overridden")},t.canClickThrough=function(e,t,n){throw new Error("Must be overridden")},t.setPlaybackMode=function(e){throw new Error("Must be overridden")},t.didSkip=function(e,t,n){throw new Error("Must be overridden")},t.didSeek=function(e,t,n){throw new Error("Must be overridden")},e}();t.PlaybackPolicyHandler=r},6822:(e,t,n)=>{"use strict";t.__esModule=!0,t.UNKNOWN_FORMAT=t.SessionState=t.SessionProperties=t.SessionErrorCode=t.Session=t.PlaybackMode=t.PARTIAL_VMAP=t.NO_DVRLIVE=t.MALFORMED_URL=t.INVALID_WINDOW=t.FALLBACK_URL=t.CONNECTION_TIMEOUT=t.CONNECTION_ERROR=void 0;var r=n(1289),i=n(2385),o=n(2971),a=n(1235),s=n(7823),u=n(597),c=n(1862),l=n(5719),d=n(868),_=n(5406),f=n(353),h=n(936),p=(n(4843),n(6366),n(6474));function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}n(1498),n(7351),n(1126);var y=n(6942),b=Object.freeze({LIVE:0,DVRLIVE:1,VOD:2});t.PlaybackMode=b;var S=Object.freeze({NONE:0,INITIALISED:1,FAILED:2,NO_ANALYTICS:3,SHUTDOWN:4});t.SessionState=S;var E=Object.freeze({TIMEOUT:0,UNRESOLVED_BREAK:1,PARSING_ERROR:2,TRACKING_ERROR:3});t.SessionErrorCode=E,t.CONNECTION_ERROR=-1,t.CONNECTION_TIMEOUT=-2,t.MALFORMED_URL=-3,t.NO_DVRLIVE=-11,t.UNKNOWN_FORMAT=-20,t.FALLBACK_URL=-21,t.PARTIAL_VMAP=-22,t.INVALID_WINDOW=-1;var $=function(e){var t,n;function o(t){var n;return(n=e.call(this)||this).sessionProperties=t?Object.assign(Object.create(Object.getPrototypeOf(t)),t):new T,n.trackingErrors=[],n.reportsManager=new i.ReportsManager(t,n.addTrackingError.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n))),n.linearAdBreaks=[],n.nonLinearAdBreaks=[],n.displayAdBreaks=[],n.playbackBuffering=!1,n.playing=!1,n.currentAdBreak=null,n.currentAdvert=null,n.identifier="",n.playbackUrl=null,n.analyticsUrl=null,n.lastAnalyticUpdate=null,n.playhead=0,n.lastPlayed=0,n.lastTraced=0,n.sessionState=S.NONE,n.resultCode=0,n.policyHandler=null,n.parsingErrors=[],n.defaultPolicyHandler=new f.DefaultPlaybackPolicyHandler(n.getPlaybackMode()),n.analyticPoller=null,s.YoLog.trace("sdk javascript "+o.version()+" "+(0,h.getKeyFromValue)(n.getPlaybackMode(),b)),n.logSessionInfo(),n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,m(t,n),o.version=function(){return y.version};var v=o.prototype;return v.logSessionInfo=function(){if(s.YoLog.logger.debug("Yospace AdManagement SDK for JavaScript v"+o.version()+" ("+(0,h.getKeyFromValue)(this.getPlaybackMode(),b)+")"),s.YoLog.logger.debug("Debug flags:"),s.YoLog.getDebugFlags()===s.DebugFlags.DEBUG_ALL)s.YoLog.logger.debug("  DEBUG_ALL is set");else for(var e in s.DebugFlags)s.DebugFlags[e]!==s.DebugFlags.DEBUG_ALL&&s.DebugFlags[e]&s.YoLog.getDebugFlags()&&s.YoLog.logger.debug("  "+e+" is set");s.YoLog.logger.debug(this.getSessionProperties().toString())},v.addAnalyticObserver=function(e){e?(this.reportsManager.addAnalyticObserver(e),this.parsingErrors.length>0&&this.getReportsManager().raiseSessionErrorCallback(E.PARSING_ERROR,this)):s.YoLog.e("addAnalyticObserver: observer was null")},v.addParsingError=function(e){this.parsingErrors.push(e)},v.addTrackingError=function(e){this.trackingErrors.push(e)},v.clearTrackingErrors=function(){this.trackingErrors=[]},v.analyticsSuppressed=function(){return this.reportsManager.reportsSuppressed()},v.adjustForEarlyReturn=function(e){var t=this.getAdBreakForPlayhead(e);t&&t.adjustForEarlyReturn(e)&&(this.getReportsManager().raiseAdBreakEarlyReturn(t,this),t.isValid()||this.linearAdBreaks.splice(this.linearAdBreaks.indexOf(t)))},v.canChangeVolume=function(e){var t=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canChangeVolume,e,this.playhead,this.linearAdBreaks);return null===t&&(t=this.defaultPolicyHandler.canChangeVolume(e,this.playhead,this.linearAdBreaks)),t},v.canClickThrough=function(e){var t=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canClickThrough,e,this.playhead,this.linearAdBreaks);return null===t&&(t=this.defaultPolicyHandler.canClickThrough(e,this.playhead,this.linearAdBreaks)),t},v.canPause=function(){var e=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canPause,this.playhead,this.linearAdBreaks);return null===e&&(e=this.defaultPolicyHandler.canPause(this.playhead,this.linearAdBreaks)),e},v.canResize=function(e){var t=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canResize,e,this.playhead,this.linearAdBreaks);return null===t&&(t=this.defaultPolicyHandler.canResize(e,this.playhead,this.linearAdBreaks)),t},v.canResizeCreative=function(e){var t=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canResizeCreative,e,this.playhead,this.linearAdBreaks);return null===t&&(t=this.defaultPolicyHandler.canResizeCreative(e,this.playhead,this.linearAdBreaks)),t},v.canSkip=function(){var e=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canSkip,this.playhead,this.linearAdBreaks,0);return null===e&&(e=this.defaultPolicyHandler.canSkip(this.playhead,this.linearAdBreaks,0)),e},v.canStop=function(){var e=(0,d.raiseCallback)(this.policyHandler,this.policyHandler.canStop,this.playhead,this.linearAdBreaks);return null===e&&(e=this.defaultPolicyHandler.canStop(this.playhead,this.linearAdBreaks)),e},v.clearParsingErrors=function(){this.parsingErrors=[]},v.completeWithStatus=function(e,t){this.setState(e),this.setResultCode(t),e===S.INITIALISED&&s.YoLog.trace("sessionStart")},v.fireImpressionReport=function(){var e=this.currentAdvert;if(e&&e.isActive()){var t=e.getImpressions(!0);if(t){s.YoLog.trace("impression");var n=new c.TrackingReport(t.trackingEvent,t.trackingUrls),r=new i.ReportingParams(this.getPlayhead(),e.getStart(),e.getLinearCreative().getAssetUri(),e.getMacroSubstitutions());this.reportsManager.fireBeacon(n,r),t.removeTrackingUrls()}}},v.fireTrackingReport=function(e){var t=null,n=null,r=null,o=this.getCurrentAdvert();o&&(t=o.getStart(),o.getLinearCreative()&&(n=o.getLinearCreative().getAssetUri()),r=o.getMacroSubstitutions()),s.YoLog.trace("trackingEvent "+e.getEventType());var a=new i.ReportingParams(this.getPlayhead(),t,n,r);this.reportsManager.fireBeacon(e,a)},v.fireTrackingReportForCreative=function(e,t){var n=null,r=this.getAdvertForCreative(t);if(r){r.getLinearCreative()&&(n=r.getLinearCreative().getAssetUri()),s.YoLog.trace("trackingEvent "+e.getEventType());var o=new i.ReportingParams(this.getPlayhead(),r.getStart(),n,r.getMacroSubstitutions());this.reportsManager.fireBeacon(e,o)}},v.fireTrackingReportForIcon=function(e,t){var n=null,r=this.currentAdvert;if(r&&r.isActive()&&r.containsIcon(t)){r.getLinearCreative()&&(n=r.getLinearCreative().getAssetUri()),s.YoLog.trace("trackingEvent "+e.getEventType());var o=new i.ReportingParams(this.getPlayhead(),r.getStart(),n,r.getMacroSubstitutions());this.reportsManager.fireBeacon(e,o)}},v.getAdBreakForPlayhead=function(e){for(var t,n=g(this.linearAdBreaks);!(t=n()).done;){var r=t.value;if(r.getStart()<=e&&e<r.getStart()+r.getDuration())return r}return null},v.getAdBreaksByType=function(e){switch(e){case a.BreakType.LINEAR:return Object.assign([],this.linearAdBreaks);case a.BreakType.NONLINEAR:return Object.assign([],this.nonLinearAdBreaks);case a.BreakType.DISPLAY:return Object.assign([],this.displayAdBreaks);default:return null}},v.getAnalyticsUrl=function(){return this.analyticsUrl},v.getAdvertForCreative=function(e){var t=this.currentAdvert;if(t&&t.isActive()&&t.getLinearCreative()===e)return t;if(e.isNonLinear()){for(var n,r=g(this.nonLinearAdBreaks);!(n=r()).done;)if(t=n.value.getAdvertForCreative(e))return t;for(var i,o=g(this.displayAdBreaks);!(i=o()).done;)if(t=i.value.getAdvertForCreative(e))return t}else if(!(e instanceof p.LinearCreative))for(var a,s=g(this.linearAdBreaks);!(a=s()).done;)if(t=a.value.getAdvertForCreative(e))return t;return null},v.getCurrentAdBreak=function(){return this.currentAdBreak},v.getCurrentAdvert=function(){return this.currentAdvert},v.getIdentifier=function(){return this.identifier},v.getJsonResponseUrl=function(e){try{return JSON.parse(e).url}catch(e){return null}},v.getPlaybackMode=function(){throw new Error("This must be overridden")},v.getPlaybackUrl=function(){return this.playbackUrl},v.getPlayhead=function(){return this.playhead},v.getResultCode=function(){return this.resultCode},v.getLastAnalyticUpdate=function(){return this.lastAnalyticUpdate},v.getLastPlayed=function(){return this.lastPlayed},v.getReportsManager=function(){return this.reportsManager},v.getParsingErrors=function(){return Object.assign([],this.parsingErrors)},v.getTrackingErrors=function(){return Object.assign([],this.trackingErrors)},v.getSessionProperties=function(){return Object.freeze(this.sessionProperties)},v.getSessionState=function(){return this.sessionState},v.getToken=function(){return this.sessionProperties.getToken()},v.handleFallbackUrl=function(e){var t=this.getJsonResponseUrl(e);return t&&(0,_.getUrl)(t)?(this.setPlaybackUrl(t),this.completeWithStatus(S.NO_ANALYTICS,-21),!0):(this.completeWithStatus(S.FAILED,-21),!1)},v.isNotPlaying=function(){return!this.playing},v.isPlaybackBuffering=function(){return this.playbackBuffering},v.normaliseAdBreakStart=function(e,t){var n=this.linearAdBreaks.length;if(n){var i=this.linearAdBreaks[n-1],o=(0,a.normalisePosition)(t,e,a.BreakType.LINEAR);if(i.getPosition().toLowerCase()===o.toLowerCase()){var s=i.getStart()+i.getDuration(),u=this.analyticPoller?this.analyticPoller.getFrequency():r.Constant.DEFAULT_POLLING_DELAY,c=Math.min(this.sessionProperties.getConsecutiveBreakTolerance(),u);if(s>e||e-s<c)return s}}return e},v.onAdvertStart=function(e,t){e&&s.YoLog.d(s.DebugFlags.DEBUG_REPORTS,"onAdvertStart: "+(e.isActive()?"active ":"inactive ")+(e.isFiller()?"filler":"advert")+", duration: "+e.getDuration()+", trackingSchedule: "+(0,h.mapToString)(e.getTrackingSchedule()))},v.onAdvertSkip=function(e){this.signalActionTrackingEvent("skip"),this.policyHandler&&(0,d.raiseCallback)(this.policyHandler,this.policyHandler.didSkip,this.playhead,e,this.linearAdBreaks),this.playhead=e},v.onPlaybackContinue=function(){this.playbackBuffering?(this.playbackBuffering=!1,s.YoLog.trace("playbackEvent continue")):s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting CONTINUE when not buffering")},v.onPlayerEvent=function(e,t){switch(s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"New playback event: "+(0,h.getKeyFromValue)(e,l.PlayerEvent)+", playhead: "+t),e){case l.PlayerEvent.START:this.onPlaybackStart(t);break;case l.PlayerEvent.STOP:this.onPlaybackStop();break;case l.PlayerEvent.PAUSE:this.onPlaybackPause();break;case l.PlayerEvent.RESUME:this.onPlaybackResume();break;case l.PlayerEvent.STALL:this.onPlaybackStall();break;case l.PlayerEvent.CONTINUE:this.onPlaybackContinue();break;case l.PlayerEvent.ADVERT_REWIND:this.onPlaybackRewind(t);break;case l.PlayerEvent.ADVERT_SKIP:this.onAdvertSkip(t);break;case l.PlayerEvent.SEEK:this.onPlaybackSeek(t);break;case l.PlayerEvent.PLAYBACK_READY:this.onPlaybackReady();break;default:s.YoLog.w("Unknown playback event: "+e)}s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Playing: "+this.playing+", Buffering: "+this.playbackBuffering)},v.onPlaybackPause=function(){this.playing?(this.playing=!1,this.signalActionTrackingEvent("pause")):s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting PAUSE when already paused")},v.onPlaybackResume=function(){this.playing?s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting RESUME when already paying"):(this.playing=!0,this.signalActionTrackingEvent("resume"))},v.onPlaybackReady=function(){s.YoLog.trace("playbackevent ready"),this.getSessionState()!==S.INITIALISED?s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting PLAYBACKREADY when the session is not initialised"):!0===this.playing&&s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting PLAYBACKREADY when playback has already begun")},v.onPlaybackRewind=function(e){this.signalActionTrackingEvent("rewind"),this.playhead=e},v.onPlaybackSeek=function(e){this.policyHandler&&(0,d.raiseCallback)(this.policyHandler,this.policyHandler.didSeek,this.playhead,e,this.linearAdBreaks),s.YoLog.trace("playbackEvent seek: "+e),this.playhead=e},v.onPlaybackStall=function(){this.playing&&!this.playbackBuffering?(this.playbackBuffering=!0,s.YoLog.trace("playbackEvent stall")):s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting STALL when not buffering")},v.onPlaybackStart=function(e){this.playing?s.YoLog.d(s.DebugFlags.DEBUG_PLAYBACK,"Reporting START when already playing"):(this.playing=!0,s.YoLog.trace("playbackEvent start"))},v.onPlaybackStop=function(){if(this.playing){this.playing=!1,this.playbackBuffering=!1,s.YoLog.trace("playbackEvent stop");var e=this.currentAdvert;if(e){var t=e.getLinearCreative();if(t){var n=t.getTrackingReport("closeLinear");n&&this.fireTrackingReport(n)}}}},v.onPlayheadSeek=function(e){this.policyHandler&&(0,d.raiseCallback)(this.policyHandler,this.policyHandler.didSeek,this.playhead,e,this.linearAdBreaks),s.YoLog.trace("playbackEvent seek: "+e),this.playhead=e},v.onPlayheadUpdate=function(e){(0===this.lastTraced||e<this.lastTraced||e-this.lastTraced>=5e3)&&(s.YoLog.trace("sdk playhead "+e),this.lastTraced=e),this.lastPlayed=this.playhead,this.playhead=e},v.onSessionError=function(e){s.YoLog.trace("sessionerror "+e),s.YoLog.e("Yospace session has expired"),e===E.TIMEOUT&&this.setState(S.SHUTDOWN),this.getReportsManager().raiseSessionErrorCallback(e,this)},v.onTimedMetadata=function(e){},v.onViewSizeChange=function(e){switch(e){case l.ViewSize.EXPANDED:this.signalActionTrackingEvent("playerExpand");break;case l.ViewSize.COLLAPSED:this.signalActionTrackingEvent("playerCollapse");break;default:s.YoLog.w("Unknown ViewSize: "+(0,h.getKeyFromValue)(e,l.ViewSize))}},v.onVolumeChange=function(e){var t=e?"mute":"unmute";this.signalActionTrackingEvent(t)},v.raiseTrackingCallbackForCreative=function(e,t){this.getAdvertForCreative(t)&&(s.YoLog.trace("trackingEvent "+e),this.getReportsManager().raiseTrackingCallback(e,this))},v.removeAllNonLinearAdBreaks=function(){this.nonLinearAdBreaks=[],this.displayAdBreaks=[]},v.removeAnalyticObserver=function(e){this.reportsManager.removeAnalyticObserver(e)},v.removeNonLinearAdBreak=function(e){for(var t=0;t<this.nonLinearAdBreaks.length;++t)if(this.nonLinearAdBreaks[t]===e)return void this.nonLinearAdBreaks.splice(t,1);for(var n=0;n<this.displayAdBreaks.length;++n)if(this.displayAdBreaks[n]===e)return void this.displayAdBreaks.splice(n,1)},v.removeKeysFromTrackingSchedule=function(e){for(var t,n=g(e);!(t=n()).done;){var r=t.value;this.currentAdvert.removeFromTrackingSchedule(r)}},v.setAnalyticsUrl=function(e){this.analyticsUrl=e},v.setCurrentAdBreak=function(e){this.currentAdBreak=e},v.setCurrentAdvert=function(e){this.currentAdvert=e},v.setIdentifier=function(e){this.identifier=e},v.setLastAnalyticUpdate=function(e){this.lastAnalyticUpdate=e},v.setPlaybackPolicyHandler=function(e){this.policyHandler=e,this.policyHandler&&(0,d.raiseCallback)(this.policyHandler,this.policyHandler.setPlaybackMode,this.getPlaybackMode())},v.setPlaybackUrl=function(e){this.playbackUrl=e},v.setPlayhead=function(e){this.playhead=e},v.setReportsManager=function(e){this.reportsManager=e},v.setResultCode=function(e){this.resultCode=e},v.setState=function(e){this.sessionState=e},v.shutdown=function(){s.YoLog.d(s.DebugFlags.DEBUG_LIFECYCLE,"Session shutdown"),this.setState(S.SHUTDOWN),this.onPlaybackStop(),s.YoLog.trace("sessionEnd")},v.signalActionTrackingEvent=function(e){var t=this.currentAdvert;if(t&&t.isActive()&&!t.isFiller()&&!(0,u.isNullOrEmpty)(e)){s.YoLog.trace("actionEvent "+e);var n=t.getTrackingReports(e),r=new i.ReportingParams(this.getPlayhead(),t.getStart(),t.getLinearCreative().getAssetUri(),t.getMacroSubstitutions());n.length>0&&this.reportsManager.fireBeacons(n,r),"closeLinear"!==e&&this.reportsManager.raiseTrackingCallback(e,this)}},v.signalNonLinearTrackingEvent=function(e){var t=this.currentAdvert;if(t&&t.isActive()&&!t.isFiller()&&!(0,u.isNullOrEmpty)(e)){s.YoLog.trace("nonlinearTrackingEvent "+e);var n=t.getTrackingReportLinear(e);if(n){var r=new i.ReportingParams(this.getPlayhead(),t.getStart(),t.getLinearCreative().getAssetUri(),t.getMacroSubstitutions());this.reportsManager.fireBeacon(n,r)}this.reportsManager.raiseTrackingCallback(e,this)}},v.signalTimelineTrackingEvents=function(e){var t=this.currentAdvert;if(t&&t.isActive()&&!t.isFiller()){for(var n,o=new i.ReportingParams(this.getPlayhead(),t.getStart(),t.getLinearCreative().getAssetUri(),t.getMacroSubstitutions()),a=[],u=g(t.getTrackingSchedule());!(n=u()).done;){var c=n.value,l=c[0],d=c[1];if(e+r.Constant.EVENT_CUEPOINT_TOL>=l){s.YoLog.d(s.DebugFlags.DEBUG_REPORTS,"Tracking schedule entry retrieved: "+d),a.push(l);var _=t.getTrackingReportLinear(d);_&&this.reportsManager.fireBeacon(_,o);var f=-1!==d.indexOf("progress")?"progress":d;s.YoLog.trace("timelineEvent "+f),this.reportsManager.raiseTrackingCallback(f,this)}}this.removeKeysFromTrackingSchedule(a)}},v.signalTrackingEvent=function(e,t){var n=this.currentAdvert;if(n&&n.isActive()&&!n.isFiller()&&!(0,u.isNullOrEmpty)(e)){if(s.YoLog.trace("trackingEvent"+e),t){var r=new i.ReportingParams(this.getPlayhead(),n.getStart(),n.getLinearCreative().getAssetUri(),n.getMacroSubstitutions());this.reportsManager.fireBeacon(t,r)}this.reportsManager.raiseTrackingCallback(e,this)}},v.suppressAnalytics=function(e){if(this.reportsManager.suppressReports(e),!e&&this.currentAdBreak){var t=this.currentAdBreak.getTrackingReport("breakStart",!0);this.getReportsManager().fireBeacon(t,new i.ReportingParams(this.getPlayhead()))}},v.willSeekTo=function(e){return this.policyHandler?(0,d.raiseCallback)(this.policyHandler,this.policyHandler.willSeekTo,e,this.linearAdBreaks,this.getPlayhead()):e},o}(o.AnalyticBroker);t.Session=$;var T=function(){function e(e){this.requestTimeout=e&&e.requestTimeout?e.requestTimeout:r.Constant.REQUEST_TIMEOUT,this.resourceTimeout=e&&e.resourceTimeout?e.resourceTimeout:r.Constant.REQUEST_TIMEOUT,this.userAgent=e?e.userAgent:"",this.prefetchResources=!!e&&e.prefetchResources,this.fireHistoricalBeacons=!e||e.fireHistoricalBeacons,this.eventCategories=e?e.eventCategories:0,this.allowCorsForAnalytics=!!e&&e.allowCorsForAnalytics,this.setCustomHttpHeaders(e?e.customHttpHeaders:new Map),this.useHttps=!!e&&e.useHttps,this.consecutiveBreakTolerance=e?e.consecutiveBreakTolerance:0,this.token=e?e.token:Math.floor(1e8*Math.random())}var t=e.prototype;return t.excludeFromSuppression=function(e){this.eventCategories=e},t.getCustomHttpHeaders=function(){return this.customHttpHeaders},t.getExcludedCategories=function(){return this.eventCategories},t.getFireHistoricalBeacons=function(){return this.fireHistoricalBeacons},t.getPrefetchResources=function(){return this.prefetchResources},t.getRequestTimeout=function(){return this.requestTimeout},t.getResourceTimeout=function(){return this.resourceTimeout},t.getUserAgent=function(){return this.userAgent},t.getToken=function(){return this.token},t.getAllowCorsForAnalytics=function(){return this.allowCorsForAnalytics},t.getApplyEncryptedTracking=function(){return this.useHttps},t.getConsecutiveBreakTolerance=function(){return this.consecutiveBreakTolerance},t.setAllowCorsForAnalytics=function(e){this.allowCorsForAnalytics=e},t.setApplyEncryptedTracking=function(e){this.useHttps=e},t.setConsecutiveBreakTolerance=function(e){this.consecutiveBreakTolerance=e},t.setCustomHttpHeaders=function(e){if(e)for(var t,n=g(e);!(t=n()).done;){var r=t.value[0];"USER-AGENT"===r.toUpperCase()&&(s.YoLog.w("SessionProperties: 'User-Agent' ignored"),e.delete(r))}else e=new Map;this.customHttpHeaders=e},t.setFireHistoricalBeacons=function(e){this.fireHistoricalBeacons=e},t.setPrefetchResources=function(e){this.prefetchResources=e},t.setRequestTimeout=function(e){this.requestTimeout=e},t.setResourceTimeout=function(e){this.resourceTimeout=e},t.setToken=function(e){this.token=e},t.setUserAgent=function(e){this.userAgent=e},t.toString=function(){return"Session Properties:\n  allowCorsForAnalytics: "+this.allowCorsForAnalytics+"\n  applyEncryptedTracking: "+this.useHttps+"\n  consecutiveBreakTolerance: "+this.consecutiveBreakTolerance+"\n  customHttpHeaders: "+(0,h.mapToString)(this.customHttpHeaders)+"\n  eventCategories: "+this.eventCategories+"\n  fireHistoricalBeacons: "+this.fireHistoricalBeacons+"\n  prefetchResources: "+this.prefetchResources+"\n  requestTimeout: "+this.requestTimeout+"\n  resourceTimeout: "+this.resourceTimeout+"\n  userAgent: "+this.userAgent+"\n  token: "+this.token},e}();t.SessionProperties=T},6619:(e,t,n)=>{"use strict";t.__esModule=!0,t.SessionDVRLive=void 0;var r=n(4409),i=n(4485),o=n(7461),a=n(1622),s=n(9513),u=n(191),c=n(6028),l=n(5406),d=n(597),_=n(7823),f=n(5719),h=n(6822),p=n(868),g=n(1289),v=n(353);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var b=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).streamStart=h.INVALID_WINDOW,n.manifestData=new Map,n.windowStart=h.INVALID_WINDOW,n.windowEnd=h.INVALID_WINDOW,n.windowSize=h.INVALID_WINDOW,n.pausePoller=null,n.pauseUrl="",n.targetDuration=g.Constant.DEFAULT_POLLING_DELAY,n.setPlaybackPolicyHandler(new v.DefaultPlaybackPolicyHandler(h.PlaybackMode.DVRLIVE)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),r.create=function(e,t,n){var i=new r(t);if(!n)return i.initialiseFromSession(e);i.initialiseFromSession(e).then((function(){_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"Session initialised")})).catch((function(){_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"Session failed to initialise")})).finally((function(){n(new o.Event(i))}))};var b=r.prototype;return b.initialiseFromSession=function(e){var t=this;return new Promise((function(n,r){if(_.YoLog.trace("sdk init"),!(0,l.getUrl)(e))return t.completeWithStatus(h.SessionState.FAILED,h.MALFORMED_URL),void r(t);s.HttpConnection.get(e,{method:"GET"},t.sessionProperties.getRequestTimeout(),t.sessionProperties.getCustomHttpHeaders()).then((function(i){if(i.ok){var o=i.headers.get("content-type");if(o&&o.toLowerCase().includes("application/json"))t.handleFallbackUrl(i.body)?n(t):r(t);else{var a=i.url,s=t.parseManifestResponse(i.body,a);t.setPlaybackUrl(a),t.initialiseFromPayload(s),t.getSessionState()!==h.SessionState.INITIALISED&&t.getSessionState()!==h.SessionState.NO_ANALYTICS&&r(t),t.getSessionState()===h.SessionState.INITIALISED&&t.initialisePoller(),n(t)}}else i.timeout?(_.YoLog.e("Primary Url request failed: "+e+", reason: timeout"),t.completeWithStatus(h.SessionState.FAILED,h.CONNECTION_TIMEOUT)):(_.YoLog.e("Primary Url request failed: "+e+", status: "+i.status+", error: "+i.statusText),t.completeWithStatus(h.SessionState.FAILED,i.status)),r(t)}))}))},b.getDuration=function(){return this.windowEnd},b.getPauseUrl=function(){return this.pauseUrl},b.getStreamStart=function(){return this.streamStart},b.getManifestData=function(e){return e?this.manifestData.get(e):this.manifestData},b.getWindowStart=function(){return this.windowStart},b.getWindowEnd=function(){return this.windowEnd},b.getWindowSize=function(){return this.windowSize},b.removeExpiredAdBreaks=function(){for(var e=this.streamStart===h.INVALID_WINDOW?this.getPlayhead():this.windowStart,t=this.getAdBreakForPlayhead(this.getPlayhead()),n=this.linearAdBreaks.length-1;n>=0;n--){var r=this.linearAdBreaks[n];if(r.getStart()+r.getDuration()<=e){if(_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"Removing ad break.  Start: "+r.getStart()+"; duration: "+r.getDuration()),r===t){_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"Removing the current adbreak");var i=t.getAdvertFromPlayhead(this.getPlayhead());i&&i.setInactive(),this.onAdvertEnd(),this.onAdvertBreakEnd()}this.linearAdBreaks.splice(n,1)}}},b.shutdown=function(){e.prototype.shutdown.call(this),this.analyticPoller&&(this.analyticPoller.shutdown(),this.analyticPoller=null),this.pausePoller&&(this.pausePoller.shutdown(),this.pausePoller=null),_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"resources released")},b.getPlaybackMode=function(){return h.PlaybackMode.DVRLIVE},b.initialisePoller=function(){var e=this;this.getAnalyticsUrl()&&this.pauseUrl&&this.getSessionState()===h.SessionState.INITIALISED&&(this.analyticPoller=new u.UrlPoller(this.getAnalyticsUrl(),this.getSessionProperties().getRequestTimeout(),(function(t,n){400===t.status?e.onSessionError(h.SessionErrorCode.TIMEOUT):t.ok&&(e.targetDuration=n,e.parseAnalyticPayload(t.body))})),this.pausePoller=new u.UrlPoller(this.pauseUrl,this.getSessionProperties().getRequestTimeout(),null))},b.hasAnalyticUpdateChanged=function(e){return!this.getLastAnalyticUpdate()||!this.getLastAnalyticUpdate().isEqualTo(e)||(_.YoLog.d(_.DebugFlags.DEBUG_PARSING,"Content unchanged.  Analytic update not delivered"),!1)},b.adjustForPdtInitial=function(e){if(this.streamStart===h.INVALID_WINDOW){var t=e.getPdtInitial();null!==t&&(this.streamStart=t,this.manifestData.get("availabilityStartTime")||this.manifestData.set("availabilityStartTime",new Date(t)))}},b.handlePdtStartEnd=function(e){var t=!1,n=e.getPdtStart(),r=e.getPdtEnd();if(null!==n&&null!==r){var i=n,o=r;this.streamStart===h.INVALID_WINDOW&&(this.streamStart=i);var a=i-this.streamStart,s=o-this.streamStart;a===this.windowStart&&s===this.windowEnd||(t=!0,this.windowStart=a,this.windowEnd=s,this.windowSize=this.windowEnd-this.windowStart)}else _.YoLog.w("PDT start/end value(s) invalid or missing");return t},b.updateAdBreaks=function(e){var t=e.getLinearAdBreaks(),n=e.getNonLinearAdBreaks(),r=e.getDisplayAdBreaks(),i=t.length,o=n.length,a=r.length;Array.prototype.push.apply(this.linearAdBreaks,t),Array.prototype.push.apply(this.nonLinearAdBreaks,n),this.streamStart===h.INVALID_WINDOW?_.YoLog.d(_.DebugFlags.DEBUG_PARSING,"Received "+i+" linear, "+o+" nonlinear "+a+" display ad breaks"):_.YoLog.d(_.DebugFlags.DEBUG_PARSING,"Received: "+i+" linear, "+o+" nonlinear  "+a+" display ad breaks. New window start: "+this.windowStart+", end: "+this.windowEnd+" (total: "+this.windowSize+")"),this.removeExpiredAdBreaks()},b.parseAnalyticPayload=function(e){var t=this;return this.clearParsingErrors(),c.Parser.parse(e,this).then((function(e){if(t.parsingErrors.length>0&&t.getReportsManager().raiseSessionErrorCallback(h.SessionErrorCode.PARSING_ERROR,t),!e)return null;if(!t.hasAnalyticUpdateChanged(e))return e;var n=e.getEarlyReturn();n&&-1!==n&&t.adjustForEarlyReturn(n),t.adjustForPdtInitial(e);var r=t.handlePdtStartEnd(e);return t.updateAdBreaks(e),(t.streamStart!==h.INVALID_WINDOW&&r||e.hasAdBreaks())&&(_.YoLog.trace("sdk analytics "+e.getLinearAdBreaks().length+" "+e.getNonLinearAdBreaks().length+" "+e.getDisplayAdBreaks().length+" "+t.getDuration()),t.setLastAnalyticUpdate(e),t.getReportsManager().raiseAnalyticUpdateCallback(t)),e})).catch((function(e){_.YoLog.d(_.DebugFlags.DEBUG_POLLING,"Analytic Poll completed with unreadable data: "+e),t.parsingErrors.length>0&&t.getReportsManager().raiseSessionErrorCallback(h.SessionErrorCode.PARSING_ERROR,t)}))},b.setAdBreaksInactivePriorTo=function(e){for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.linearAdBreaks);!(t=n()).done&&t.value.setAdvertsInactivePriorTo(e););},b.setStreamStart=function(e){this.streamStart=e},b.parseManifestResponse=function(e,t){var n=e;return a.HlsManifestParser.isHlsManifest(n)?(_.YoLog.d(_.DebugFlags.DEBUG_PARSING,"Processing HLS master manifest: "+t),a.HlsManifestParser.parse(n)):(_.YoLog.d(_.DebugFlags.DEBUG_PARSING,"Processing DASH manifest: "+t),i.DashManifestParser.parse(n))},b.initialiseFromPayload=function(e){e?(0,d.isNullOrEmpty)(e.getAnalyticUrl())?(_.YoLog.w("Analytics URL not found in manifest payload"),this.completeWithStatus(h.SessionState.NO_ANALYTICS,0)):(0,l.getUrl)(e.getAnalyticUrl())?(0,l.getUrl)(e.getPlaybackUrl())?(this.setPlaybackUrl(e.getPlaybackUrl()),(0,d.isNullOrEmpty)(e.getPauseUrl())?(_.YoLog.e("Pause URL not found in manifest"),this.completeWithStatus(h.SessionState.NO_ANALYTICS,h.NO_DVRLIVE)):(0,l.getUrl)(e.getPauseUrl())?(this.setIdentifier(e.getSessionIdentifier()),this.setAnalyticsUrl(e.getAnalyticUrl()),this.pauseUrl=e.getPauseUrl(),this.manifestData.set("availabilityStartTime",e.getAvailabilityStartTime()),this.completeWithStatus(h.SessionState.INITIALISED,0),_.YoLog.d(_.DebugFlags.DEBUG_LIFECYCLE,"Successful. Url: "+this.getPlaybackUrl())):(_.YoLog.w("Malformed pause URL in manifest"),this.completeWithStatus(h.SessionState.NO_ANALYTICS,h.NO_DVRLIVE))):(_.YoLog.w("Player URL is invalid: "+e.getPlaybackUrl()),this.completeWithStatus(h.SessionState.NO_ANALYTICS,h.MALFORMED_URL)):(_.YoLog.w("Malformed analytics URL in manifest"),this.completeWithStatus(h.SessionState.NO_ANALYTICS,h.MALFORMED_URL)):(_.YoLog.e("Unable to process master manifest"),this.completeWithStatus(h.SessionState.NO_ANALYTICS,h.UNKNOWN_FORMAT))},b.onPlaybackStart=function(t){this.isNotPlaying()?this.getSessionState()!==h.SessionState.INITIALISED?_.YoLog.w("Reporting START when session is not initialised"):this.analyticPoller&&(e.prototype.onPlaybackStart.call(this,t),this.analyticPoller.start()):_.YoLog.w("Reporting START when start has already been reported")},b.onPlaybackReady=function(){e.prototype.onPlaybackReady.call(this),this.getSessionState()===h.SessionState.INITIALISED&&!0!==this.playing&&this.analyticPoller&&this.analyticPoller.request()},b.onPlaybackPause=function(){this.isNotPlaying()||this.pausePoller&&this.getSessionState()===h.SessionState.INITIALISED&&this.pausePoller.start(),e.prototype.onPlaybackPause.call(this)},b.onPlaybackResume=function(){this.isNotPlaying()&&this.pausePoller&&this.pausePoller.stop(),e.prototype.onPlaybackResume.call(this)},b.onPlayerEvent=function(t,n){t!==f.PlayerEvent.SEEK&&t!==f.PlayerEvent.ADVERT_SKIP&&t!==f.PlayerEvent.ADVERT_REWIND||(this.didSeek=!0),e.prototype.onPlayerEvent.call(this,t,n)},b.onPlayheadUpdate=function(t){this.handleHeartbeat(t),e.prototype.onPlayheadUpdate.call(this,t)},b.canPause=function(){return this.streamStart!==h.INVALID_WINDOW&&e.prototype.canPause.call(this)},b.canSkip=function(){if(this.streamStart===h.INVALID_WINDOW)return-1;if(this.policyHandler){var e=(0,p.raiseCallback)(this.policyHandler,this.policyHandler.canSkip,this.getPlayhead(),this.linearAdBreaks,this.getDuration());return null===e&&(e=this.defaultPolicyHandler.canSkip(this.getPlayhead(),this.linearAdBreaks,this.getDuration())),e}return 0},b.willSeekTo=function(t){return this.streamStart===h.INVALID_WINDOW?this.getPlayhead():e.prototype.willSeekTo.call(this,t)},r}(r.SessionSeekable);t.SessionDVRLive=b},2326:(e,t,n)=>{"use strict";t.__esModule=!0,t.SessionLive=void 0;var r=n(1289),i=n(4485),o=n(353),a=n(7461),s=n(6822),u=n(7823),c=n(597),l=n(2385),d=n(1622),_=n(4672),f=n(9513),h=n(5406),p=n(191),g=n(6028);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var b=Object.freeze({PLAYED_OUT:0,NOT_PLAYED_OUT:1,NEW_ADVERT_STARTING:2}),S=function(e){var t,n;function m(t,n){var i;return(i=e.call(this,t)||this).advertEndWatchdog=null,i.interSegmentTimeout=r.Constant.INTERSEGMENT_TIMEOUT,i.lastTimedMetadata=null,i.pendingTimedMetadata=null,i.historicalTimedMetadata=[],i.inAdBreak=!1,i.targetDuration=r.Constant.DEFAULT_POLLING_DELAY,i.setAnalyticsUrl(n),i.setPlaybackPolicyHandler(new o.DefaultPlaybackPolicyHandler(s.PlaybackMode.LIVE)),i}n=e,(t=m).prototype=Object.create(n.prototype),t.prototype.constructor=t,y(t,n),m.create=function(e,t,n){var r=new m(t,null);if(!n)return r.initialiseFromSession(e);r.initialiseFromSession(e).then((function(){u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Session initialised")})).catch((function(){u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Session failed to initialise")})).finally((function(){n(new a.Event(r))}))};var S=m.prototype;return S.cancelScheduleWatchdog=function(){null!==this.advertEndWatchdog&&(clearTimeout(this.advertEndWatchdog),this.advertEndWatchdog=null,u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Cancelled watchdog timer"))},S.getAdBreakForAdvert=function(e){if(e&&this.linearAdBreaks.length>0)for(var t,n=e.getMediaIdentifier(),r=v(this.linearAdBreaks);!(t=r()).done;){var i=t.value;if(i.getAdvertFromIdentifier(n))return i}return null},S.getFirstAdvertRemovingAllPrevious=function(e){if(0===this.linearAdBreaks.length)return null;for(var t=null,n=-1,r=0;r<this.linearAdBreaks.length;++r){for(var i,o=v(this.linearAdBreaks[r].getAdverts());!(i=o()).done;){var a=i.value;if(a.getMediaIdentifier()===e&&a.isActive()){t=a,n=r;break}a.setInactive()}if(null!==t)break}return n>0&&this.linearAdBreaks.splice(0,n),t},S.getMetadataTimeout=function(e){return e&&e.getTypeWithinSegment()===_.TypeWithinSegment.END?this.interSegmentTimeout:Math.max(this.targetDuration+1e3>>1,r.Constant.MIN_INTRASEGMENT_TIMEOUT)},S.getPlaybackMode=function(){return s.PlaybackMode.LIVE},S.handleMetaDataInSequence=function(e,t){var n=this.getCurrentAdvert();if(t.isFirstInSequence())this.onAdvertStart(e,t.getPlayhead());else if(t.isLastInSequence())!n||n.isFiller()&&!this.hasAdvertExpired(n,t)||this.onAdvertEnd(b.PLAYED_OUT);else if(n)if(t.isLastInSegment()&&(n.isFiller()||n.isTruncated())&&this.hasAdvertExpired(n,t))u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Filler expired or truncated advert completed.  Ending advert and ad break"),this.onAdvertEnd(b.PLAYED_OUT);else{var r=Math.max(t.getPlayhead()-n.getStart(),0);this.signalTimelineTrackingEvents(r)}else this.onAdvertBreakStart(e)},S.handleMetaDataOutOfSequence=function(e,t){var n=this.getCurrentAdvert();n?n.getMediaIdentifier()!==e.getMediaIdentifier()&&(this.onAdvertEnd(b.NOT_PLAYED_OUT),t.isFirstInSequence()?this.onAdvertStart(e,t.getPlayhead()):(t.isLastInSequence()||(e.isFiller()||e.isTruncated())&&t.isLastInSegment()&&this.hasAdvertExpired(e,t))&&(e.setInactive(),this.getCurrentAdBreak().isActive()||this.onAdvertBreakEnd())):t.isFirstInSequence()?this.onAdvertStart(e,t.getPlayhead()):this.scheduleAdvertBreakEnd(this.interSegmentTimeout)},S.hasAdvertExpired=function(e,t){var n=this.interSegmentTimeout,r=t.getPlayhead()-e.getStart()+n;return u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"("+(e.isFiller()?"FILLER":"ADVERT")+" CHECK): Ad duration: "+e.getDuration()+", elapsed: "+(t.getPlayhead()-e.getStart()+this.interSegmentTimeout)),r>=e.getDuration()},S.initialiseFromSession=function(e){var t=this;return new Promise((function(n,r){return u.YoLog.trace("sdk init"),(0,h.getUrl)(e)?f.HttpConnection.get(e,{method:"GET"},t.sessionProperties.getRequestTimeout(),t.sessionProperties.getCustomHttpHeaders()).then((function(i){if(i.ok){var o=i.headers.get("content-type");if(o&&o.toLowerCase().includes("application/json"))t.handleFallbackUrl(i.body)?n(t):r(t);else{var a=i.url?i.url:e;t.parseManifestResponse(i.body,a),t.getSessionState()===s.SessionState.INITIALISED&&t.initialisePoller(),n(t)}}else i.timeout?(u.YoLog.e("Primary Url request failed: "+e+", reason: timeout"),t.completeWithStatus(s.SessionState.FAILED,s.CONNECTION_TIMEOUT)):(u.YoLog.e("Primary Url request failed: "+e+", status: "+i.status+", error: "+i.statusText),t.completeWithStatus(s.SessionState.FAILED,i.status)),r(t)})):(t.completeWithStatus(s.SessionState.FAILED,s.MALFORMED_URL),void r(t))}))},S.initialisePoller=function(){var e=this;this.getAnalyticsUrl()&&this.getSessionState()===s.SessionState.INITIALISED&&(this.analyticPoller=new p.UrlPoller(this.getAnalyticsUrl(),this.getSessionProperties().getRequestTimeout(),(function(t,n){400===t.status?e.onSessionError(s.SessionErrorCode.TIMEOUT):t.ok&&(e.targetDuration=n,e.parseAnalyticPayload(t.body))})))},S.isMetadataInSequence=function(e,t){return this.pendingTimedMetadata?(u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Pending metadata"),!1):t.isInSequence(e)},S.onAdvertBreakEnd=function(){if(this.inAdBreak){var e=this.getCurrentAdBreak();if(e){var t=e.getTrackingReport("breakEnd",!0);this.getReportsManager().fireBeacon(t,new l.ReportingParams(this.getPlayhead()))}this.inAdBreak=!1,u.YoLog.trace("adbreakEnd"),this.getReportsManager().raiseAdBreakCallback("end",null,this),this.trackingErrors.length>0&&this.getReportsManager().raiseSessionErrorCallback(s.SessionErrorCode.TRACKING_ERROR,this),this.linearAdBreaks.length>0&&(this.linearAdBreaks.splice(0,1),u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Removed AdBreak.  Remaining: "+this.linearAdBreaks.length)),this.pendingTimedMetadata=null,this.historicalTimedMetadata=[],this.setCurrentAdvert(null),this.setCurrentAdBreak(null)}},S.onAdvertBreakStart=function(e){var t=this.getAdBreakForAdvert(e);if(this.inAdBreak){if(null!=t){var n=t.getTrackingReport("breakStart",!this.reportsManager.reportsSuppressed());this.getReportsManager().fireBeacon(n,new l.ReportingParams(this.getPlayhead()))}}else if(this.inAdBreak=!0,this.clearTrackingErrors(),this.setCurrentAdBreak(t),u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"AdBreak count: "+this.linearAdBreaks.length),u.YoLog.trace("adbreakStart"),this.getReportsManager().raiseAdBreakCallback("start",t,this),t){var r=t.getTrackingReport("breakStart",!this.reportsManager.reportsSuppressed());this.getReportsManager().fireBeacon(r,new l.ReportingParams(this.getPlayhead()))}},S.onAdvertEnd=function(e){this.getCurrentAdvert()&&(e!==b.NEW_ADVERT_STARTING?this.cancelScheduleWatchdog():u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"onAdvertEnd(): new ad starting, not firing adbreak watchdog timer"),e===b.PLAYED_OUT?this.signalTimelineTrackingEvents(this.getCurrentAdvert().getDuration()):this.getCurrentAdvert().clearTrackingSchedule(),this.getCurrentAdvert().setInactive(),u.YoLog.trace("advertEnd"),this.getReportsManager().raiseAdvertCallback("end",null,this),this.setCurrentAdvert(null),this.getCurrentAdBreak().isActive()?e!==b.NEW_ADVERT_STARTING&&this.scheduleAdvertBreakEnd(this.interSegmentTimeout):this.onAdvertBreakEnd())},S.onAdvertStart=function(t,n){t.setStart(n),this.onAdvertEnd(b.NEW_ADVERT_STARTING),this.onAdvertBreakStart(t),this.setCurrentAdBreak(this.getAdBreakForAdvert(t)),this.getCurrentAdBreak()?(this.setCurrentAdvert(t),e.prototype.onAdvertStart.call(this,t),this.reportsManager.reportsSuppressed()&&this.getCurrentAdvert().clearTrackingSchedule(),u.YoLog.trace("advertStart"),this.getReportsManager().raiseAdvertCallback("start",t,this),this.fireImpressionReport(),this.signalTimelineTrackingEvents(r.Constant.ADVERT_START_TIMESLOT)):u.YoLog.e("*** AdBreak is null ***")},S.parseAnalyticPayload=function(e){var t=this;return this.clearParsingErrors(),g.Parser.parse(e,this).then((function(e){if(t.parsingErrors.length>0&&t.getReportsManager().raiseSessionErrorCallback(s.SessionErrorCode.PARSING_ERROR,t),!e)return null;if(t.getLastAnalyticUpdate()&&e.isEqualTo(t.getLastAnalyticUpdate()))return u.YoLog.d(u.DebugFlags.DEBUG_PARSING,"Content unchanged.  Analytic update not delivered"),e;var n=e.getEarlyReturn();if(n&&-1!==n&&t.adjustForEarlyReturn(n),t.setLastAnalyticUpdate(e),!e.hasAdBreaks())return u.YoLog.d(u.DebugFlags.DEBUG_PARSING,"No ad breaks in payload"),t.playing||(u.YoLog.trace("sdk analytics 0 0 0"),t.reportsManager.raiseAnalyticUpdateCallback(t)),e;u.YoLog.trace("sdk analytics: "+e.getLinearAdBreaks().length+" "+e.getNonLinearAdBreaks().length+" "+e.getDisplayAdBreaks().length);for(var r,i=!1,o=v(e.getLinearAdBreaks());!(r=o()).done;){var a=r.value;if(0===a.getAdverts().length){var c=new l.ReportingParams(t.getPlayhead());t.getReportsManager().fireBeacon(a.getTrackingReport("breakStart",!0),c),t.getReportsManager().fireBeacon(a.getTrackingReport("breakEnd",!0),c)}else t.linearAdBreaks.push(a),i=!0}for(var d,_=v(e.getNonLinearAdBreaks());!(d=_()).done;){var f=d.value;t.nonLinearAdBreaks.push(f),i=!0}for(var h,p=v(e.getDisplayAdBreaks());!(h=p()).done;){var g=h.value;t.displayAdBreaks.push(g),i=!0}if(i&&!t.pendingTimedMetadata&&t.getReportsManager().raiseAnalyticUpdateCallback(t),t.pendingTimedMetadata){u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Process pending metadata: "+t.pendingTimedMetadata);var m=t.pendingTimedMetadata;t.pendingTimedMetadata=null,t.onTimedMetadata(m)}return t.processHistoricalData(),e})).catch((function(e){u.YoLog.d(u.DebugFlags.DEBUG_POLLING,"Analytic Poll completed with unreadable data: "+e),t.parsingErrors.length>0&&t.getReportsManager().raiseSessionErrorCallback(s.SessionErrorCode.PARSING_ERROR,t)}))},S.onPlaybackContinue=function(){this.isPlaybackBuffering()&&(this.getCurrentAdvert()?this.scheduleAdvertEnd():this.getCurrentAdBreak()&&this.scheduleAdvertBreakEnd(this.interSegmentTimeout)),e.prototype.onPlaybackContinue.call(this)},S.onPlaybackPause=function(){e.prototype.onPlaybackPause.call(this),this.cancelScheduleWatchdog()},S.onPlaybackReady=function(){e.prototype.onPlaybackReady.call(this),this.getSessionState()===s.SessionState.INITIALISED&&!0!==this.playing&&this.analyticPoller&&this.analyticPoller.request()},S.onPlaybackResume=function(){this.isNotPlaying()&&!this.isPlaybackBuffering()&&(this.getCurrentAdvert()?this.scheduleAdvertEnd(null):this.getCurrentAdBreak()&&this.scheduleAdvertBreakEnd(this.interSegmentTimeout)),e.prototype.onPlaybackResume.call(this)},S.onPlaybackStall=function(){e.prototype.onPlaybackStall.call(this),this.cancelScheduleWatchdog()},S.onPlaybackStart=function(t){this.isNotPlaying()?this.getSessionState()!==s.SessionState.INITIALISED?u.YoLog.w("Reporting START when session has not been initialised"):(e.prototype.onPlaybackStart.call(this,t),this.analyticPoller.start()):u.YoLog.w("Reporting START when start has already been reported")},S.onTimedMetadata=function(e){if(u.YoLog.trace("timedmetadata "+e.getTypeWithinSegment().key+e.getSegmentNumber()+":"+e.getSegmentCount()+" "+e.getPlayhead()),u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Received metadata: "+e+", timestamp: "+e.getTimestamp()),this.isPlaybackBuffering())u.YoLog.w("Playback buffering - should not be receiving timed metadata");else if(this.isNotPlaying())u.YoLog.w("Playback not playing - should not be receiving timed metadata");else if(this.scheduleAdvertEnd(e),e.isDuplicate(this.lastTimedMetadata)||e.isDuplicate(this.pendingTimedMetadata))u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Duplicate metadata: "+e);else{var t=e.getMediaId(),n=this.getFirstAdvertRemovingAllPrevious(t);if(!n)return e.isFirstInSequence()?(u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"FIRST pending metadata for advert "+t),this.pendingTimedMetadata=e,this.lastTimedMetadata=null,this.analyticPoller&&this.analyticPoller.request()):e.isLastInSequence()&&this.getSessionProperties().getFireHistoricalBeacons()&&this.pendingTimedMetadata&&(u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"LAST pending metadata for advert: "+t+" .  Moving to historical list"),this.historicalTimedMetadata.push(this.pendingTimedMetadata),this.pendingTimedMetadata=null),void this.onAdvertBreakStart(null);if(this.isMetadataInSequence(this.lastTimedMetadata,e))return this.lastTimedMetadata=e,void this.handleMetaDataInSequence(n,e);u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Metadata out of sequence"),this.pendingTimedMetadata=null,this.lastTimedMetadata=e,this.handleMetaDataOutOfSequence(n,e)}},S.parseManifestResponse=function(e,t){var n=e,r=null;d.HlsManifestParser.isHlsManifest(n)?(u.YoLog.d(u.DebugFlags.DEBUG_PARSING,"Processing HLS master playlist: "+t),r=d.HlsManifestParser.parse(n)):(u.YoLog.d(u.DebugFlags.DEBUG_PARSING,"Processing DASH manifest: "+t),r=i.DashManifestParser.parse(n)),r?(0,c.isNullOrEmpty)(r.getAnalyticUrl())?(this.setPlaybackUrl(t),u.YoLog.w("Analytics URL not found in manifest payload"),this.completeWithStatus(s.SessionState.NO_ANALYTICS,0)):(0,h.getUrl)(r.getAnalyticUrl())?(0,c.isNullOrEmpty)(r.getPlaybackUrl())?(this.setPlaybackUrl(t),u.YoLog.w("Playback URL not found in manifest payload"),this.completeWithStatus(s.SessionState.NO_ANALYTICS,s.MALFORMED_URL)):(this.setPlaylistProperties(r),this.interSegmentTimeout=r.getIntersegmentTimeout(),this.completeWithStatus(s.SessionState.INITIALISED,0),u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Successful.  URL: "+this.getPlaybackUrl())):(this.setPlaybackUrl(t),u.YoLog.w("Malformed analytics URL in manifest payload"),this.completeWithStatus(s.SessionState.NO_ANALYTICS,s.MALFORMED_URL)):(this.setPlaybackUrl(t),u.YoLog.w("Playlist/manifest processing unsuccesful"),this.completeWithStatus(s.SessionState.NO_ANALYTICS,s.UNKNOWN_FORMAT))},S.processHistoricalData=function(){var e=this.getCurrentAdBreak();if(e)for(var t,n=v(this.historicalTimedMetadata);!(t=n()).done;){var r=t.value.getMediaId(),i=e.getAdvertFromIdentifier(r);if(i){u.YoLog.d(u.DebugFlags.DEBUG_REPORTS,"Firing beacon for historical advert: "+r);for(var o,a=new l.ReportingParams(this.getPlayhead(),i.getStart(),i.getLinearCreative().getAssetUri(),i.getMacroSubstitutions()),s=[],c=v(i.getTrackingSchedule());!(o=c()).done;){var d=o.value,_=d[0],f=d[1];s.push(_);var h=i.getTrackingReportLinear(f);h&&(u.YoLog.d(u.DebugFlags.DEBUG_REPORTS,"Firing beacon(s) for event: "+_),this.getReportsManager().fireBeacon(h,a))}this.removeKeysFromTrackingSchedule(s)}}this.historicalTimedMetadata=[]},S.scheduleAdvertBreakEnd=function(e){this.cancelScheduleWatchdog(),this.advertEndWatchdog=setTimeout(this.metadataWatchdogEndBreak.bind(this),e),u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Scheduled adbreak end watchdog timer: "+e+"ms")},S.scheduleAdvertEnd=function(e){this.cancelScheduleWatchdog();var t=this.getMetadataTimeout(e);this.advertEndWatchdog=setTimeout(this.metadataWatchdog.bind(this),t),u.YoLog.d(u.DebugFlags.DEBUG_STATE_MACHINE,"Scheduled advert end watchdog timer: "+t+"ms")},S.setTargetDuration=function(e){this.targetDuration=e},S.shutdown=function(){e.prototype.shutdown.call(this),this.cancelScheduleWatchdog(),this.analyticPoller&&(this.analyticPoller.shutdown(),this.analyticPoller=null,u.YoLog.d(u.DebugFlags.DEBUG_LIFECYCLE,"Analytic poller cancelled"))},S.setPlaylistProperties=function(e){this.setIdentifier(e.getSessionIdentifier()),this.setAnalyticsUrl(e.getAnalyticUrl()),this.setPlaybackUrl(e.getPlaybackUrl())},S.metadataWatchdog=function(){u.YoLog.w("Watchdog timer expired before metadata was received"),this.pendingTimedMetadata?this.onAdvertBreakEnd():this.onAdvertEnd(b.NOT_PLAYED_OUT)},S.metadataWatchdogEndBreak=function(){u.YoLog.w("Watchdog timer expired before metadata was received"),this.onAdvertBreakEnd()},m}(s.Session);t.SessionLive=S},6748:(e,t,n)=>{"use strict";t.__esModule=!0,t.SessionVOD=void 0;var r=n(7461),i=n(7823),o=n(6822),a=n(6028),s=n(597),u=n(5719),c=n(9513),l=n(5406),d=n(4409),_=n(353);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var p=/(.+?:\/\/)/,g=function(e){var t,n;function d(t){var n;return(n=e.call(this,t)||this).setPlaybackPolicyHandler(new _.DefaultPlaybackPolicyHandler(o.PlaybackMode.VOD)),n}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),d.create=function(e,t,n){var o=new d(t);return n?o.initialiseSession(e).then((function(){i.YoLog.d(i.DebugFlags.DEBUG_LIFECYCLE,"Session initialised")})).catch((function(){i.YoLog.d(i.DebugFlags.DEBUG_LIFECYCLE,"Session failed to initialise")})).finally((function(){n(new r.Event(o))})):o.initialiseSession(e)};var g=d.prototype;return g.getContentPositionForPlayhead=function(e){if(0===this.duration||0===e)return 0;if(0===this.linearAdBreaks.length)return e;for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.linearAdBreaks);!(t=n()).done;){var r=t.value;if(r.getStart()<=e&&e<r.getStart()+r.getDuration()){e=r.getStart()+r.getDuration();break}}for(var i=0,o=e;i<this.linearAdBreaks.length&&this.linearAdBreaks[i].getStart()<e;)o-=this.linearAdBreaks[i++].getDuration();return o},g.getPlaybackMode=function(){return o.PlaybackMode.VOD},g.getPlayheadForContentPosition=function(e){if(0===this.linearAdBreaks.length)return e;for(var t=0;t<this.linearAdBreaks.length&&this.linearAdBreaks[t].getStart()<=e;)e+=this.linearAdBreaks[t++].getDuration();return e},g.initialiseSession=function(e){var t=this;return new Promise((function(n,r){return i.YoLog.trace("sdk init"),(0,l.getUrl)(e)?c.HttpConnection.get(e,{method:"GET"},t.sessionProperties.getRequestTimeout(),t.sessionProperties.getCustomHttpHeaders()).then((function(u){if(u.ok){var c=u.headers.get("content-type");if(!c||!c.toLowerCase().includes("application/json"))return a.Parser.parse(u.body,t).then((function(r){!r||0===r.getStreamDuration()||(0,s.isNullOrEmpty)(r.getHostNode()||(0,s.isNullOrEmpty)(r.getHostSuffix()))?(t.setPlaybackUrl(e),t.logVmapParseWarning(r),r?(t.completeWithStatus(o.SessionState.NO_ANALYTICS,0),n(t)):(t.completeWithStatus(o.SessionState.NO_ANALYTICS,o.UNKNOWN_FORMAT),n(t))):r.getHasPlaceholder()?(t.handlePlaceholderBreaks(r,e),t.completeWithStatus(o.SessionState.INITIALISED,o.PARTIAL_VMAP),n(t)):(t.initialiseFromAnalyticData(r,t.findScheme(e)),i.YoLog.d(i.DebugFlags.DEBUG_PARSING,r.toString()),t.completeWithStatus(o.SessionState.INITIALISED,0),n(t))}));t.handleFallbackUrl(u.body)?n(t):r(t)}else i.YoLog.e("VMAP request failed.  URL: "+e+", status: "+u.status+", error: "+u.statusText),t.completeWithStatus(o.SessionState.FAILED,u.status),r(t)})):(t.completeWithStatus(o.SessionState.FAILED,o.MALFORMED_URL),void r(t))}))},g.logVmapParseWarning=function(e){var t="Unable to parse VMAP data.\n - Stream duration: "+(e?e.getStreamDuration():"null")+"\n - Host node: "+(e?e.getHostNode():"null")+"\n - Host suffix: "+(e?e.getHostSuffix():null);i.YoLog.d(i.DebugFlags.DEBUG_LIFECYCLE,t)},g.findScheme=function(e){return p.exec(e)?p.exec(e)[1]:(i.YoLog.w("Unable to match scheme in primary URL.  Assuming http://"),"http://")},g.handlePlaceholderBreaks=function(e,t){var n=this;i.YoLog.d(i.DebugFlags.DEBUG_LIFECYCLE,"Found partial VMAP"),this.initialiseFromAnalyticData(e,this.findScheme(t),!0);var r=e.getLinearAdBreaks();if(!r.length)return i.YoLog.e("Fulfilment payload contains no breaks"),void this.onSessionError(o.SessionErrorCode.UNRESOLVED_BREAK);var s=r[r.length-1].getAdTagUri();return(0,l.getUrl)(s)?c.HttpConnection.get(s,{method:"GET"},this.sessionProperties.getRequestTimeout(),this.sessionProperties.getCustomHttpHeaders()).then((function(e){if(e.ok)return a.Parser.parse(e.body,n,{skipNormalisation:!0}).then((function(e){n.parsingErrors.length>0&&n.getReportsManager().raiseSessionErrorCallback(o.SessionErrorCode.PARSING_ERROR,n),e?(n.mergePlaceholderBreaks(e)?n.reportsManager&&n.reportsManager.raiseAnalyticUpdateCallback(n):(i.YoLog.e("Fulfilment payload could not be merged"),n.onSessionError(o.SessionErrorCode.UNRESOLVED_BREAK)),i.YoLog.d(i.DebugFlags.DEBUG_PARSING,e.toString())):(i.YoLog.e("Fulfilment payload could not be parsed"),n.onSessionError(o.SessionErrorCode.UNRESOLVED_BREAK))}));i.YoLog.e("Fulfilment payload request failed: "+e.statusText),n.onSessionError(o.SessionErrorCode.UNRESOLVED_BREAK)})):(i.YoLog.e("Fulfilment payload followup URL is not valid: "+s),void this.onSessionError(o.SessionErrorCode.UNRESOLVED_BREAK))},g.onPlayerEvent=function(t,n){t!==u.PlayerEvent.SEEK&&t!==u.PlayerEvent.ADVERT_SKIP&&t!==u.PlayerEvent.ADVERT_REWIND||(this.didSeek=!0),e.prototype.onPlayerEvent.call(this,t,n)},g.onPlayheadUpdate=function(t){this.handleHeartbeat(t),e.prototype.onPlayheadUpdate.call(this,t)},g.setAdBreaksInactivePriorTo=function(t){e.prototype.setAdBreaksInactivePriorTo.call(this,t)},g.setDuration=function(e){this.duration=e},d}(d.SessionSeekable);t.SessionVOD=g},4672:(e,t,n)=>{"use strict";t.__esModule=!0,t.TypeWithinSegment=t.TimedMetadata=void 0;var r=n(7823),i=function(){function e(t,n,r,i,o,a){this.mediaId=e.decodeString(t),this.offset=o,this.segmentCount=r,this.segmentNumber=n,this.playhead=a,this.timestamp=Date.now(),this.typeWithinSegment=i}e.createFromMetadata=function(t,n,i,a,s){if(!t)return r.YoLog.e("Failed to interpret ymid"),null;i=e.decodeString(i);var u=o.getForKey(i);if(null==u)return r.YoLog.e("Failed to interpret ytyp"),null;var c=e.decodeString(n).split(":");if(2!==c.length)return r.YoLog.e("Failed to interpret yseq"),null;var l=parseInt(c[0]),d=parseInt(c[1]);if(isNaN(l)||0===l||isNaN(d)||0===d)return r.YoLog.e("Failed to interpret yseq"),null;var _=parseFloat(this.decodeString(a)),f=Number.isNaN(_)?0:Math.round(1e3*_);return s<0?(r.YoLog.w("Invalid playhead provided:"+s),null):new e(t,l,d,u,f,s)},e.decodeString=function(e){return e&&e.length>0&&3===e[0]?e.substring(1):e};var t=e.prototype;return t.getMediaId=function(){return this.mediaId},t.getOffset=function(){return this.offset},t.getPlayhead=function(){return this.playhead},t.getSegmentCount=function(){return this.segmentCount},t.getSegmentNumber=function(){return this.segmentNumber},t.getTimestamp=function(){return this.timestamp},t.getTypeWithinSegment=function(){return this.typeWithinSegment},t.isDuplicate=function(e){return!!e&&this.mediaId===e.mediaId&&this.segmentNumber===e.segmentNumber&&this.segmentCount===e.segmentCount&&this.typeWithinSegment===e.typeWithinSegment&&this.offset===e.offset},t.isFirstInSequence=function(){return this.isFirstInSegment()&&1===this.segmentNumber},t.isFirstInSegment=function(){return this.typeWithinSegment===o.START},t.isInSequence=function(e){if(!e)return!0;if(this.mediaId!==e.mediaId)return this.isFirstInSequence();var t=this.segmentNumber-e.segmentNumber;return 0===t?this.typeWithinSegment.isInSequence(e.typeWithinSegment)||this.typeWithinSegment.isEqualMidType(e.typeWithinSegment)&&this.offset>e.offset:t>0},t.isLastInSegment=function(){return this.typeWithinSegment===o.END},t.isLastInSequence=function(){return this.isLastInSegment()&&this.isLastSegment()},t.isLastSegment=function(){return this.segmentNumber===this.segmentCount},t.toString=function(){return"Metadata [ @"+this.playhead+" / "+this.mediaId+" / "+this.segmentNumber+":"+this.segmentCount+" / "+this.typeWithinSegment.key+" : "+this.offset+" ]"},e}();t.TimedMetadata=i;var o=function(){function e(e,t){this.key=e,this.order=t}e.getForKey=function(t){if(!e.initialised){var n=e.END,r=e.MID,i=e.START;e.KEY_MAP.set(n.key,n),e.KEY_MAP.set(r.key,r),e.KEY_MAP.set(i.key,i),e.initialised=!0}return e.KEY_MAP.get(t)};var t=e.prototype;return t.isEqualMidType=function(e){return!!e&&1===this.order&&1===e.order},t.isInSequence=function(e){return!e||this.order>e.order},e}();t.TypeWithinSegment=o,o.END=new o("E",2),o.MID=new o("M",1),o.START=new o("S",0),o.KEY_MAP=new Map,o.initialised=!1},1126:(e,t,n)=>{"use strict";t.__esModule=!0,t.TrackingError=void 0;var r=n(3755);function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}var o=function(e){var t,n;function o(t,n,i){var o;return(o=e.call(this,(0,r.millisToTimestamp)(Date.now()))||this).url=t,o.errorCode=n,o.event=i,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var a=o.prototype;return a.getUrl=function(){return this.url},a.getErrorCode=function(){return this.errorCode},a.getEvent=function(){return this.event},o}(n(4281).SessionError);t.TrackingError=o},6670:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.VerificationEventHandler=void 0;var i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n),i.prototype.onVerificationEvent=function(e,t){throw new Error("Function must be overridden")},i}(n(3730).XmlValidation);t.VerificationEventHandler=i},868:(e,t,n)=>{"use strict";t.__esModule=!0,t.raiseCallback=function(e,t){e&&(t=t.bind(e));var n=null;try{for(var i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];n=t.apply(void 0,o)}catch(e){var s=t.toString(),u=/function ([^\(]*)/.exec(s);u&&u.length>0?r.YoLog.e("Exception thrown from callback function "+u[1]+": "+e):r.YoLog.e("Exception thrown from callback function.")}return n};var r=n(7823)},936:(e,t,n)=>{"use strict";t.__esModule=!0,t.copyMap=function(e){for(var t,n=new Map,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(t=r()).done;){var o=t.value,a=o[0],s=o[1];n.set(a,s)}return n},t.getKeyFromValue=function(e,t){if(!t)return r.YoLog.e("getKeyFromValue: obj is null"),null;for(var n=0,i=Object.entries(t);n<i.length;n++){var o=i[n],a=o[0];if(e===o[1])return a}return null},t.mapToString=function(e){return e?"{"+Array.from(e,(function(e){return e[0]+": "+e[1]})).join(", ")+"}":"{}"},t.objectToMap=function(e){var t=new Map;if(e)for(var n in e)t.set(n,e[n]);return t};var r=n(7823);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},1289:(e,t)=>{"use strict";t.__esModule=!0,t.VISIBLE_EVENTS=t.VERIFICATION_EVENTS=t.TIMELINE_EVENTS=t.Payload=t.PLAYER_OPERATION_EVENTS=t.NON_LINEAR_EVENTS=t.LINEAR_EVENTS=t.INTERACTIVE_EVENTS=t.Constant=t.COMPANION_EVENTS=t.CAT_TIMELINE_EVENTS=t.CAT_AD_BREAK_EVENTS=t.AD_BREAK_EVENTS=void 0,t.getLogTag=function(){return"YoAdManagement: "};var n={}.HTTP_AGENT?{}.HTTP_AGENT:"Yospace SDK/3.0";t.PLAYER_OPERATION_EVENTS=["mute","unmute","pause","resume","rewind","playerExpand","playerCollapse","closeLinear","skip"],t.COMPANION_EVENTS=["creativeView"],t.INTERACTIVE_EVENTS=["interactiveStart"],t.LINEAR_EVENTS=["loaded","start","firstQuartile","midpoint","thirdQuartile","complete","progress","mute","unmute","pause","resume","rewind","playerExpand","playerCollapse","closeLinear","skip","otherAdInteraction"],t.NON_LINEAR_EVENTS=["creativeView","mute","unmute","pause","resume","rewind","skip","playerExpand","playerCollapse","adExpand","adCollapse","minimize","overlayViewDuration","acceptInvitation","close","otherAdInteraction"],t.VISIBLE_EVENTS=["creativeView","close","interactiveStart"],t.VERIFICATION_EVENTS=["verificationNotExecuted"],t.TIMELINE_EVENTS=["loaded","start","firstQuartile","midpoint","thirdQuartile","complete","progress"],t.AD_BREAK_EVENTS=["breakStart","breakEnd"];var r=Object.freeze({ADVERT_START_TIMESLOT:5,DEFAULT_POLLING_DELAY:11e3,EVENT_CUEPOINT_TOL:10,EXPECTED_POLL_COMPLETE_TIME:250,INTERSEGMENT_TIMEOUT:2700,REQUEST_TIMEOUT:5e3,MAX_CADENCE:250,MIN_INTRASEGMENT_TIMEOUT:2500,MIN_SEGMENT_LENGTH:2e3,USER_AGENT:n});t.Constant=r,t.CAT_AD_BREAK_EVENTS=1,t.CAT_TIMELINE_EVENTS=2;var i=Object.freeze({IDENTIFIER:"SESSIONIDENTIFIER",LOCATION:"LOCATION",HOSTNODE:"HOST",PORT:"PORT",ANALYTICURL:"ANALYTICURL",PAUSEURL:"PAUSEURL",SCHEME:"SCHEME",QS:"QUERYSTRING",AVAILABILITYSTART:"AVAILABILITYSTARTTIME"});t.Payload=i},3755:(e,t)=>{"use strict";t.__esModule=!0,t.millisToTimeString=function(e){var t=Math.floor(e/1e3%60),n=Math.floor(e/6e4%60),r=Math.floor(e/36e5%24);return""+(r<10?0:"")+r+":"+(n<10?0:"")+n+":"+(t<10?0:"")+t+"."+((e=Math.round(e%1e3))<10?"00":e<100?"0":"")+e},t.millisToTimestamp=function(e){return new Date(e).toISOString()},t.pdtToMillis=function(e,t){if(!e||0===e.length||-1===e.indexOf("T"))return t;var n=e.substring(e.indexOf("T"),e.length-1);-1===n.indexOf("+")&&-1===n.indexOf("-")&&Number.isInteger(Number.parseInt(e.charAt(e.length-1)))&&(e+="Z");var r=Date.parse(e);return Number.isNaN(r)?t:r},t.stringToIntegerNumber=function(e,t){var n=Number.parseInt(e);return Number.isInteger(n)?n:t},t.timeStringToMillis=function(e,t){var n=void 0!==t?t:-1;if(!("string"==typeof e&&e.length>0))return n;var r=e.split(":");if(3!==r.length)return n;var i=parseInt(r[0]),o=parseInt(r[1]);if(Number.isNaN(i)||Number.isNaN(o))return n;var a=0,s=0,u=r[2].split(".");return 2!==u.length?a=parseInt(r[2]):(a=parseInt(u[0]),s=parseInt(u[1])),Number.isNaN(a)||Number.isNaN(s)||i>23||o>59||a>59?n:36e5*i+6e4*o+1e3*a+s}},6044:(e,t,n)=>{"use strict";t.__esModule=!0,t.getClickTrackingReport=function(e,t){return e.length>0?new i.TrackingReport(t,e):null},t.isValidSize=function(e){if(!e)return!1;for(var t,n=null,i=null,a=o(e);!(t=a()).done;){var s=t.value,u=s.getName(),c=s.getValue();"width"!==u||(0,r.isNullOrEmpty)(c)?"height"!==u||(0,r.isNullOrEmpty)(c)||(i=s):n=s}return!(!n||!i)},t.prefetch=function(e,t){for(var n,r=o(e);!(n=r()).done;)n.value[1].prefetch(t)};var r=n(597),i=n(1862);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},9513:(e,t,n)=>{"use strict";t.__esModule=!0,t.HttpConnection=void 0;var r=n(5406),i=n(1289),o=n(7823),a=n(6822);function s(){s=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),s=new C(i||[]);return r(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var _={};function f(){}function h(){}function p(){}var g={};c(g,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&n.call(m,o)&&(g=m);var y=p.prototype=f.prototype=Object.create(g);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function i(r,o,a,s){var u=d(e[r],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(u.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=$(a,n);if(s){if(s===_)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===_)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function $(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,$(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,_;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=c(p,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(S.prototype),c(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),c(y,u,"Generator"),c(y,o,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),_}},e}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=function(){function e(e,t,n){this.url=e,this.opts=t,this.requestTimeout=n||i.Constant.REQUEST_TIMEOUT}return e.get=function(t,n,r,i,o){return e.handleGet(t,n,r,i,o)},e.handleGet=function(t,n,i,a,s){if(o.YoLog.d(o.DebugFlags.DEBUG_HTTP_REQUESTS,"Requesting "+t),s instanceof Map){var u=(0,r.getUrl)(t);if(u){for(var l,d=c(s);!(l=d()).done;){var _=l.value,f=_[0],h=_[1];u.searchParams.set(f,h)}t=u.toString()}}if(a){for(var p,g=new Headers,v=c(a);!(p=v()).done;){var m=p.value,y=m[0],b=m[1];g.set(y,b)}n.headers=g}return new e(t,n,i).executeGet()},e.prototype.executeGet=function(){var e,t=(e=s().mark((function e(){var t,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,(0,r.fetchWithTimeout)(this.url,this.opts,this.requestTimeout);case 3:if(n=e.sent,t.ok=n.ok,t.headers=n.headers,t.status=n.status,t.statusText=n.statusText,t.timeout=n.timeout,t.url=n.url,t.error=n.error,t.type=n.type,t.timeout&&o.YoLog.w("Request to "+t.url+" timed out"),t.error&&o.YoLog.w("Request to "+t.url+" failed: "+t.error),!n.ok){e.next=28;break}return e.prev=15,e.next=18,n.text();case 18:t.body=e.sent,e.next=28;break;case 21:return e.prev=21,e.t0=e.catch(15),t.ok=!1,t.status=a.CONNECTION_ERROR,t.statusText=e.t0.message,t.error=e.t0,e.abrupt("return",t);case 28:return t.status&&o.YoLog.d(o.DebugFlags.DEBUG_HTTP_REQUESTS,"HTTP response: "+t.status+" ("+this.url+")"),e.abrupt("return",t);case 30:case"end":return e.stop()}}),e,this,[[15,21]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),e}();t.HttpConnection=d},5406:(e,t,n)=>{"use strict";t.__esModule=!0,t.createHeaders=function(e){var t=new Headers;return t.append("User-Agent",e),t},t.fetchWithTimeout=function(e,t,n){var r=null,a=new Promise((function(e){r=setTimeout(e,n,{timeout:!0,error:"timeout",statusText:"Connection timeout",status:o.CONNECTION_TIMEOUT})}));return Promise.race([fetch(e,t),a]).then((function(t){return t.timeout?i.YoLog.d(i.DebugFlags.DEBUG_HTTP_REQUESTS,"Request for "+e+" timed out"):!t.ok&&t.status&&i.YoLog.d(i.DebugFlags.DEBUG_HTTP_REQUESTS,"Request for "+e+" failed. Status: "+t.status+". Message: "+t.statusText),t})).catch((function(t){i.YoLog.d(i.DebugFlags.DEBUG_HTTP_REQUESTS,"Request for "+e+" failed. Exception: "+t);var n=o.CONNECTION_ERROR;return("ERR_INVALID_URL"===t.code||t.cause&&"ERR_INVALID_URL"===t.cause.code)&&(n=o.MALFORMED_URL),{error:t,statusText:t.message,status:n}})).finally((function(){clearTimeout(r)}))},t.getAbsolute=function(e,t){var n=new URL(t);return new URL(n,e).toString()},t.getUrl=function(e){if((0,r.isNullOrEmpty)(e))return null;var t=null;try{t=new URL(e)}catch(e){return null}if(!t)return null;try{decodeURI(t.pathname)}catch(e){return null}return t};var r=n(597),i=n(7823),o=n(6822)},597:(e,t)=>{"use strict";function n(e){return"string"==typeof e||e instanceof String}function r(e,t,n){var r=e;if(0===t||">"===t){r+="\n";for(var i=0;i<4*n;++i)r+=" "}return r}t.__esModule=!0,t.equalsIgnoreCase=function(e,t){return null===e?null===t:void 0===e?void 0===t:!(!n(e)||!n(t))&&e.toUpperCase()===t.toUpperCase()},t.formatHtml=function(e){if(!e)return"";try{for(var t=0,n="",i=null,o=0,a=0;a<e.length;++a){if("<"===(i=e[a])){var s=e[a+1];"/"===s&&t--,n=r(n,o,t),"/"!==s&&"!"!==s&&t++}n+=i,o=i}if(0===t)return n}catch(e){}return e},t.isNullOrEmpty=function(e){return!e||""===e},t.isString=n,t.toIndentedString=function(e){return e?"    "+e.toString().replace("\n","\n    "):"null"},t.toUnindentedString=function(e){return e?""+e.toString().replace("\n    ","\n"):"null"}},7823:(e,t,n)=>{"use strict";t.__esModule=!0,t.YoLog=t.DebugFlags=t.DEBUG_VALIDATION=t.DEBUG_STATE_MACHINE=t.DEBUG_REPORTS=t.DEBUG_POLLING=t.DEBUG_PLAYBACK=t.DEBUG_PARSING=t.DEBUG_LIFECYCLE=t.DEBUG_HTTP_REQUESTS=t.DEBUG_ALL=void 0;var r=n(8686),i=n(1289),o=Object.freeze({DEBUG_PLAYBACK:1,DEBUG_LIFECYCLE:2,DEBUG_POLLING:4,DEBUG_REPORTS:8,DEBUG_STATE_MACHINE:16,DEBUG_HTTP_REQUESTS:32,DEBUG_PARSING:64,DEBUG_VALIDATION:128,DEBUG_ALL:Number.MAX_SAFE_INTEGER});t.DebugFlags=o;var a=o.DEBUG_PLAYBACK;t.DEBUG_PLAYBACK=a;var s=o.DEBUG_LIFECYCLE;t.DEBUG_LIFECYCLE=s;var u=o.DEBUG_POLLING;t.DEBUG_POLLING=u;var c=o.DEBUG_REPORTS;t.DEBUG_REPORTS=c;var l=o.DEBUG_STATE_MACHINE;t.DEBUG_STATE_MACHINE=l;var d=o.DEBUG_HTTP_REQUESTS;t.DEBUG_HTTP_REQUESTS=d;var _=o.DEBUG_PARSING;t.DEBUG_PARSING=_;var f=o.DEBUG_VALIDATION;t.DEBUG_VALIDATION=f;var h=o.DEBUG_ALL;t.DEBUG_ALL=h;var p=function(){function e(){}return e.setLogger=function(t){e.logger=t},e.setDebugFlags=function(t){e.debugflags=t},e.getDebugFlags=function(){return e.debugflags},e.d=function(t,n){e.debugflags&t&&e.logger.debug((0,i.getLogTag)()+n)},e.e=function(t){e.logger.error((0,i.getLogTag)()+t)},e.i=function(t,n){e.debugflags&t&&e.logger.info((0,i.getLogTag)()+n)},e.w=function(t){e.logger.warn((0,i.getLogTag)()+t)},e.trace=function(t){e.d(o.DEBUG_VALIDATION,"["+Date.now()+"][YoSDK:"+t+"]")},e}();t.YoLog=p,p.debugflags=0,p.logger=r.Logger},2612:(e,t,n)=>{"use strict";var r=n(7823);r.DEBUG_ALL,r.DEBUG_PLAYBACK,r.DEBUG_HTTP_REQUESTS,r.DEBUG_LIFECYCLE,r.DEBUG_PARSING,r.DEBUG_POLLING,r.DEBUG_REPORTS,r.DEBUG_STATE_MACHINE,r.DEBUG_VALIDATION,t.Mz=r.DebugFlags,t.kT=r.YoLog;var i=n(1235);i.AdBreak,t.CT=i.BreakType,n(7995).AdBreakEventHandler,n(8710).AdVerification,n(6366).Advert;var o=n(7196);o.AdvertEventHandler,o.ViewableEvent,n(982).AdvertWrapper;var a=n(4843);t.Vd=a.AnalyticEventObserver,n(7964).CompanionCreative,n(5250).Creative,n(4796).CreativeEventHandler,n(6265).IconClickFallbackImage,n(6464).IndustryIcon,n(1305).InteractiveCreative,n(6474).LinearCreative,n(6646).NonLinearCreative;var s=n(5719);s.PlaybackEventHandler,t.rg=s.PlayerEvent,s.ViewSize,n(6037).PlaybackPolicy;var u=n(1498);t.xR=u.PlaybackPolicyHandler;var c=n(6822);t.su=c.PlaybackMode,t.z_=c.Session,t.NV=c.SessionProperties,t.sM=c.SessionState,t.Pn=c.SessionErrorCode,t.Ct=c.CONNECTION_ERROR,t.zU=c.CONNECTION_TIMEOUT,t.lc=c.MALFORMED_URL,t.Qr=c.UNKNOWN_FORMAT,t.GX=c.NO_DVRLIVE,t.tQ=c.FALLBACK_URL,c.INVALID_WINDOW;var l=n(1289);l.CAT_AD_BREAK_EVENTS,l.CAT_TIMELINE_EVENTS;var d=n(3698);d.Resource,t._g=d.ResourceType;var _=n(6619);t.KW=_.SessionDVRLive,n(2326).SessionLive;var f=n(6748);t.ko=f.SessionVOD,n(4672).TimedMetadata,n(9473).VASTProperty,n(6670).VerificationEventHandler},2971:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}t.__esModule=!0,t.AnalyticBroker=void 0;var i=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var o=i.prototype;return o.addParsingError=function(e){throw new Error("Function must be overridden")},o.clearParsingErrors=function(){throw new Error("Function must be overridden")},o.fireTrackingReport=function(e){throw new Error("Function must be overridden")},o.fireTrackingReportForCreative=function(e,t){throw new Error("Function must be overridden")},o.fireTrackingReportForIcon=function(e,t){throw new Error("Function must be overridden")},o.raiseTrackingCallbackForCreative=function(e,t){throw new Error("Function must be overridden")},o.getSessionProperties=function(){throw new Error("Function must be overridden")},o.normaliseAdBreakStart=function(e,t){throw new Error("Function must be overridden")},i}(n(5719).PlaybackEventHandler);t.AnalyticBroker=i},353:(e,t,n)=>{"use strict";t.__esModule=!0,t.DefaultPlaybackPolicyHandler=void 0;var r=n(1498),i=n(6822);function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}var a=function(e){var t,n;function r(t){var n;return(n=e.call(this)||this).playbackMode=t,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var a=r.prototype;return a.canStop=function(e,t){switch(this.playbackMode){case i.PlaybackMode.LIVE:case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:}return!0},a.canPause=function(e,t){switch(this.playbackMode){case i.PlaybackMode.LIVE:return!1;case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:default:return!0}},a.canSkip=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:return-1;case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:default:return 0}},a.willSeekTo=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:return n;case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:default:return e}},a.canChangeVolume=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:}return!0},a.canResize=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:}return!0},a.canResizeCreative=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:}return!0},a.canClickThrough=function(e,t,n){switch(this.playbackMode){case i.PlaybackMode.LIVE:case i.PlaybackMode.DVRLIVE:case i.PlaybackMode.VOD:}return!0},a.setPlaybackMode=function(e){this.playbackMode=e},a.didSkip=function(e,t,n){},a.didSeek=function(e,t,n){},r}(r.PlaybackPolicyHandler);t.DefaultPlaybackPolicyHandler=a},7461:(e,t)=>{"use strict";t.__esModule=!0,t.Event=void 0;var n=function(){function e(e,t){this.payload=e,this.source=t||null}var t=e.prototype;return t.getPayload=function(){return this.payload},t.getSource=function(){return this.source},e}();t.Event=n},4281:(e,t)=>{"use strict";t.__esModule=!0,t.SessionError=void 0;var n=function(){function e(e){this.utcTimestamp=e}var t=e.prototype;return t.toJsonString=function(){return JSON.stringify(this)},t.getUtcTimestamp=function(){return this.utcTimestamp},e}();t.SessionError=n},4409:(e,t,n)=>{"use strict";t.__esModule=!0,t.SessionSeekable=void 0;var r=n(2385),i=n(6822),o=n(1289),a=n(7823);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}var l=2*o.Constant.MAX_CADENCE,d=function(e){var t,n;function u(t){var n;return(n=e.call(this,t)||this).didSeek=!1,n.duration=0,n}n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var d=u.prototype;return d.getDuration=function(){return this.duration},d.initialiseFromAnalyticData=function(e,t){this.setPlaybackUrl(t+e.getHostNode()+e.getHostSuffix()),this.setDuration(e.getStreamDuration()),this.setIdentifier(e.getSessionIdentifier()),Array.prototype.push.apply(this.linearAdBreaks,e.getLinearAdBreaks()),Array.prototype.push.apply(this.nonLinearAdBreaks,e.getNonLinearAdBreaks()),Array.prototype.push.apply(this.displayAdBreaks,e.getDisplayAdBreaks())},d.mergePlaceholderBreaks=function(e){for(var t=!0,n=0;n<this.linearAdBreaks.length;++n){var r=this.linearAdBreaks[n];if(r.isPlaceholder())for(var i,o=s(e.getLinearAdBreaks());!(i=o()).done;){var u=i.value;r.getIdentifier()===u.getIdentifier()&&r.getStart()===u.getStart()&&(u.postParse(this),this.linearAdBreaks[n]=u)}this.linearAdBreaks[n].isPlaceholder()&&(a.YoLog.e("Placeholder AdBreak with id "+r.getIdentifier()+" not found"),t=!1)}return t},d.onAdvertBreakStart=function(e){if(!this.getCurrentAdBreak()&&(this.clearTrackingErrors(),this.setCurrentAdBreak(e),a.YoLog.trace("adbreakStart"),this.getReportsManager().raiseAdBreakCallback("start",this.getCurrentAdBreak(),this),e&&!this.reportsManager.shouldSuppress("breakStart"))){var t=e.getTrackingReport("breakStart",!0);this.getReportsManager().fireBeacon(t,new r.ReportingParams(this.getPlayhead()))}},d.onAdvertBreakEnd=function(){var e=this.getCurrentAdBreak();if(e&&!this.reportsManager.shouldSuppress("breakEnd")){var t=e.getTrackingReport("breakEnd",!0);this.getReportsManager().fireBeacon(t,new r.ReportingParams(this.getPlayhead()))}a.YoLog.trace("adbreakEnd"),this.getReportsManager().raiseAdBreakCallback("end",null,this),this.trackingErrors.length>0&&this.getReportsManager().raiseSessionErrorCallback(i.SessionErrorCode.TRACKING_ERROR,this),this.setCurrentAdBreak(null)},d.onAdvertEnd=function(){var e=this.getCurrentAdvert();e&&e.isActive()&&this.signalTimelineTrackingEvents(e.getStart()+e.getDuration()),e&&e.setInactive(),a.YoLog.trace("advertEnd"),this.getReportsManager().raiseAdvertCallback("end",null,this),this.setCurrentAdvert(null)},d.onAdvertStart=function(t){this.getCurrentAdvert()||(this.setCurrentAdvert(t),e.prototype.onAdvertStart.call(this,t),this.getReportsManager().reportsSuppressed()&&t.removeTrackingSchedule(),a.YoLog.trace("advertStart"),this.getReportsManager().raiseAdvertCallback("start",t,this),t&&t.isActive()&&(this.fireImpressionReport(),this.signalTimelineTrackingEvents(o.Constant.ADVERT_START_TIMESLOT)))},d.handlePostSeek=function(e){var t=this.getLastPlayed();a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: "+t+" -> "+e);var n=e-t;n>=0&&n<=l?a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: ignoring interval "+n+"ms"):this.getCurrentAdBreak()?this.handlePostSeekForAdBreak(t,e):this.handlePostSeekForContent(e)},d.handlePostSeekForContent=function(e){var t=this.adBreakForPlayhead(e);if(t){a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: CONTENT -> BREAK");var n=t.getAdvertFromPlayhead(e);n&&e-n.getStart()>l&&n.setInactive()}else a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: within content")},d.handlePostSeekForAdBreak=function(e,t){var n=this.adBreakForPlayhead(t);if(n)if(n!==this.getCurrentAdBreak()){a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: BREAK -> BREAK");var r=this.getCurrentAdBreak().getAdvertFromPlayhead(e);r&&r.setInactive();var i=n.getAdvertFromPlayhead(t);i&&t-i.getStart()>l&&i.setInactive()}else this.handlePostSeekForAdvertToAdvert(t);else{a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: BREAK -> CONTENT");var o=this.getCurrentAdBreak().getAdvertFromPlayhead(e);o&&o.setInactive()}},d.handlePostSeekForAdvertToAdvert=function(e){var t=this.getCurrentAdBreak().getAdvertFromPlayhead(e);t&&(this.getCurrentAdvert().setInactive(),t!==this.getCurrentAdvert()?(a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: ADVERT -> ADVERT"),e-t.getStart()>l&&t.setInactive()):a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handlePostSeek: with advert"))},d.handleHeartbeat=function(e){a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"handleHeartbeat (playhead: "+e+")"),this.didSeek&&(this.handlePostSeek(e),this.didSeek=!1);var t=this.getLastPlayed();this.setPlayhead(e),this.getCurrentAdBreak()?this.handleHeartbeatForAdbreak(e):this.handleHeartbeatForContent(t,e)},d.handleHeartbeatForContent=function(e,t){var n=this.missedOpportunityBreak(e,t);if(n){var i=new r.ReportingParams(this.getPlayhead());this.getReportsManager().fireBeacon(n.getTrackingReport("breakStart",!0),i),this.getReportsManager().fireBeacon(n.getTrackingReport("breakEnd",!0),i),-1!==this.linearAdBreaks.indexOf(n)&&this.linearAdBreaks.splice(this.linearAdBreaks.indexOf(n),1)}var o=this.adBreakForPlayhead(t);if(o){a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"CONTENT -> BREAK (playhead: "+t+")"),this.onAdvertBreakStart(o);var s=o.getAdvertFromPlayhead(t);s&&this.onAdvertStart(s)}},d.handleHeartbeatForAdbreak=function(e){var t=this.adBreakForPlayhead(e);if(t)if(t!==this.getCurrentAdBreak()){a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"BREAK -> BREAK"),this.onAdvertEnd(),this.onAdvertBreakEnd(),this.onAdvertBreakStart(t);var n=t.getAdvertFromPlayhead(e);n&&this.onAdvertStart(n)}else this.handleHeartbeatForAdvertToAdvert(e);else a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"BREAK -> CONTENT"),this.onAdvertEnd(),this.onAdvertBreakEnd()},d.handleHeartbeatForAdvertToAdvert=function(e){var t=this.getCurrentAdBreak().getAdvertFromPlayhead(e);if(t)if(t!==this.getCurrentAdvert())a.YoLog.d(a.DebugFlags.DEBUG_STATE_MACHINE,"ADVERT -> ADVERT"),this.onAdvertEnd(),this.onAdvertStart(t);else{var n=Math.max(e-this.getCurrentAdvert().getStart(),0);this.signalTimelineTrackingEvents(n)}},d.adBreakForPlayhead=function(e){for(var t,n=s(this.linearAdBreaks);!(t=n()).done;){var r=t.value;if(r.getStart()<=e&&e<r.getStart()+r.getDuration())return r}return null},d.missedOpportunityBreak=function(e,t){for(var n,r=s(this.linearAdBreaks);!(n=r()).done;){var i=n.value;if(0===i.getDuration()){var o=i.getStart();if(e<=o&&t>=o)return i}}return null},d.onPlaybackStart=function(t){e.prototype.onPlaybackStart.call(this,t),this.handleHeartbeat(t)},d.setAdBreaksInactivePriorTo=function(e){for(var t,n=s(this.linearAdBreaks);!(t=n()).done&&t.value.setAdvertsInactivePriorTo(e););},u}(i.Session);t.SessionSeekable=d},191:(e,t,n)=>{"use strict";t.__esModule=!0,t.UrlPoller=void 0;var r=n(7823),i=n(1289),o=n(9513),a=n(6822);function s(){s=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),s=new C(i||[]);return r(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var _={};function f(){}function h(){}function p(){}var g={};c(g,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&n.call(m,o)&&(g=m);var y=p.prototype=f.prototype=Object.create(g);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function i(r,o,a,s){var u=d(e[r],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(u.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=$(a,n);if(s){if(s===_)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===_)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function $(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,$(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,_;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=c(p,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(S.prototype),c(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(y),c(y,u,"Generator"),c(y,o,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),_}},e}function u(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)}))}}var l=function(){function e(e,t,n,r){this.url=e,this.timeout=t,this.handler=n,this.frequency=r||i.Constant.DEFAULT_POLLING_DELAY,this.requestInProgress=!1,this.intervalID=null,this.lastPollTime=0,this.lastPollTimeMetric=0,this.queryParams=new Map,this.queryParams.set("ysdk",a.Session.version())}var t=e.prototype;return t.handleRequest=function(){var e=c(s().mark((function e(){var t,n,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,o.HttpConnection.get(this.url,t,this.timeout,null,this.queryParams);case 3:return(n=e.sent).error&&r.YoLog.w("Poll failed: "+n.error),n.ok?(r.YoLog.trace("sdk poll"),(i=this.getRetryFromResponse(n))!==this.frequency&&(r.YoLog.d(r.DebugFlags.DEBUG_POLLING,"Poll interval changed to "+i+" millis"),this.frequency=i,this.isRunning()&&this._start(!1))):400===n.status||410===n.status?(this.stop(),410===n.status&&r.YoLog.d(r.DebugFlags.DEBUG_POLLING,"Stream is resolved.  Stopping "+(this.handler?"analytic":"pause")+" poller")):r.YoLog.w("Unexpected poll response "+n.status+", intervalID: "+this.frequency+" ms"),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),t.getRetryFromResponse=function(e){var t=e.headers.get("Retry-After");return t=1e3*Number.parseFloat(t),!Number.isNaN(t)&&t>0?t:this.frequency},t.getFrequency=function(){return this.frequency},t.isRunning=function(){return null!==this.intervalID},t.request=function(){r.YoLog.d(r.DebugFlags.DEBUG_POLLING,"Request poll"),this._poll(!0)},t._poll=function(){var e=c(s().mark((function e(t){var n,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.shouldPoll(t)){e.next=2;break}return e.abrupt("return");case 2:return this.requestInProgress=!0,n=Date.now(),0!==this.lastPollTime&&t||(this.lastPollTime=n),this.lastPollTimeMetric=n,e.next=8,this.handleRequest();case 8:r=e.sent,this.handler&&this.handler(r,this.frequency),this.requestInProgress=!1;case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t.shouldPoll=function(e){if(this.requestInProgress)return r.YoLog.d(r.DebugFlags.DEBUG_POLLING,"Last poll still in flight. Ignoring."),!1;if(e)return!0;var t=Date.now()-this.lastPollTime;return!(t<this.frequency/2&&(r.YoLog.d(r.DebugFlags.DEBUG_POLLING,"Last poll too recent ("+t/1e3+"s). Ignoring."),1))},t.start=function(){this._start(!0)},t._start=function(t){var n=this;this.stop();var r=e.computeTimeToNextInterval(Date.now(),this.lastPollTime,this.frequency);this.intervalID=setTimeout((function(){n.intervalID=setInterval((function(){n._poll()}),n.frequency),n._poll()}),t?0:r)},e.computeTimeToNextInterval=function(e,t,n){return t+n*(Math.floor(Math.abs(e-t)/n)+1)-e},t.stop=function(){clearInterval(this.intervalID),this.intervalID=null},t.shutdown=function(){this.stop(),this.handler=function(){},r.YoLog.d(r.DebugFlags.DEBUG_LIFECYCLE,"Poller shutdown")},e}();t.UrlPoller=l},4999:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var r=n(2612),i=n(6140),o=n(3796);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return"".concat(e.getProperty("width").getValue(),"x").concat(e.getProperty("height").getValue())}function l(e){var t;return!e.getInteractiveCreative()&&(null===(t=e.getProperty("AdSystem"))||void 0===t?void 0:t.getValue())!==o.q.BrightLine}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"makeYospaceCompanions",value:function(e){var t,n,r=(null===(t=e.getCompanionAds())||void 0===t?void 0:t.getCompanions())||[];return(null===(n=e.getProperty("AdSystem"))||void 0===n?void 0:n.getValue())===o.q.BrightLine?r:function(e){var t,n=new Map,r=new Map,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}(e);try{for(o.s();!(t=o.n()).done;){var a=t.value;a.getProperty("adSlotId")?n.set(c(a),a):r.set(c(a),a)}}catch(e){o.e(e)}finally{o.f()}return r.forEach((function(e,t){var r,o=n.get(t);if(o){if(!o.resources.size){o.resources=e.resources,o.videoClicks=e.videoClicks;var a=o.trackingMap.get("creativeView").trackingUrls,c=e.trackingMap.get("creativeView").trackingUrls;a&&c&&a.push.apply(a,function(e){if(Array.isArray(e))return u(e)}(r=c)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||s(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else i.Y.warn("[Tub] - No matching first party companion for third party ".concat(t))})),Array.from(n,(function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e)||s(e,2)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e);return t[0],t[1]}))}(r)}},{key:"makeYospaceIcons",value:function(t){var n=[];return t.length&&(n=t.map(e.makeTubAdIcon)),n}},{key:"makeTubAdIcon",value:function(e){var t={};e.getProperties().forEach((function(e){t[e.getName()]=e.getValue()}));var n=e.getResource(r._g.STATIC);return n&&(t.creativeType=n.getCreativeType(),t.resource=n.getStringData()),t.clickThrough=e.getClickThroughUrl(),t.viewTracking=e.getViewTrackingUrls(),t}},{key:"creatAdBreakUuid",value:function(e){return e.getIdentifier()?"".concat(e.getIdentifier(),"-").concat(e.getStart()):"".concat(e.getStart())}},{key:"mapAdBreak",value:function(t){return{id:e.creatAdBreakUuid(t),scheduleTime:t.getStart()/1e3,ads:t.getAdverts().map(e.mapLinearAd),duration:t.getDuration()/1e3,position:t.getPosition(),isActive:t.isActive.bind(t)}}},{key:"mapLinearAd",value:function(t){var n,s,u,c;if(!t)return null;var d=t.getLinearCreative();if(!d)return null;var _=e.makeYospaceCompanions(t),f=e.makeYospaceIcons(t.getIndustryIcons()),h=_.map((function(e){var t,n,i,o,s,u,c=e.getResource(r._g.STATIC)||e.getResource(r._g.HTML)||e.getResource(r._g.IFRAME)||e.getResource(r._g.UNKNOWN),l=(t={},a(t,r._g.HTML,"html"),a(t,r._g.STATIC,"static"),a(t,r._g.IFRAME,"iframe"),a(t,r._g.UNKNOWN,"unknown"),t)[c.getResourceType()];return{id:null===(n=e.getProperty("id"))||void 0===n?void 0:n.getValue(),adSlotId:null===(i=e.getProperty("adSlotId"))||void 0===i?void 0:i.getValue(),width:Number.parseFloat(null===(o=e.getProperty("width"))||void 0===o?void 0:o.getValue())||0,height:Number.parseFloat(null===(s=e.getProperty("height"))||void 0===s?void 0:s.getValue())||0,clickThroughUrl:e.getClickThroughUrl(),apiFramework:null===(u=e.getProperty("apiFramework"))||void 0===u?void 0:u.getValue(),type:l,data:null==c?void 0:c.getStringData()}}));return"brightline"===(null===(n=t.getProperty("AdSystem"))||void 0===n?void 0:n.getValue())&&(i.Y.debug("[Tub] Fixing lowercase BrightLine AdSystem string"),t.getProperty("AdSystem").setValue(o.q.BrightLine)),{isLinear:!t.isNonLinear(),duration:t.getDuration()/1e3,id:t.getIdentifier(),creativeId:d.getCreativeIdentifier(),adTitle:null===(s=t.getProperty("AdTitle"))||void 0===s?void 0:s.getValue(),advertiser:null===(u=t.getProperty("Advertiser"))||void 0===u?void 0:u.getValue(),lineage:t.getLineage(),clickThroughUrl:d.getClickThroughUrl(),mediaFileUrl:d.getAssetUri(),skippableAfter:d.getSkipOffset()/1e3,uiConfig:{requestsUi:l(t)},adSystem:null===(c=t.getProperty("AdSystem"))||void 0===c?void 0:c.getValue(),sequence:t.getSequence(),isFiller:t.isFiller(),clickThroughUrlOpened:function(){i.Y.log("[Tub] - calling LinearCreative.onClickThrough"),d.onClickThrough()},companions:h,icons:f}}},{key:"isTubAd",value:function(e){return void 0!==e.adSystem}},{key:"isBrightlineAd",value:function(e){return this.isTubAd(e)&&(e.adSystem===o.q.BrightLine||e.adSystem===o.q.BrightLineDirect)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},1693:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(6140),i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"parseCompanionAd",value:function(e){var t=(new DOMParser).parseFromString(e,"text/html");return this.checkForParserError(t)?void r.Y.warn("Error parsing HTMLResource: "+e):t}},{key:"checkForParserError",value:function(e){return!(!e.body.innerHTML&&""!==e.body.innerHTML||e.getElementsByTagName("script").length>0)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},6031:(__unused_webpack_module,__nested_webpack_exports__,__nested_webpack_require_220537__)=>{"use strict";__nested_webpack_require_220537__.d(__nested_webpack_exports__,{A:()=>CompanionRenderer});var bitmovin_player_modules_bitmovinplayer_core__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_220537__(8617),bitmovin_player_modules_bitmovinplayer_core__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_220537__.n(bitmovin_player_modules_bitmovinplayer_core__WEBPACK_IMPORTED_MODULE_0__),_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_220537__(2612),fast_safe_stringify__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_220537__(4445),fast_safe_stringify__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_220537__.n(fast_safe_stringify__WEBPACK_IMPORTED_MODULE_2__),_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_220537__(6140),_CompanionParser__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_220537__(1693),_AdTranslator__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_220537__(4999);function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var CompanionRenderer=function(){function CompanionRenderer(e){var t=this;_classCallCheck(this,CompanionRenderer),this.player=e,this.containers=[],this.renderedContainers={},this.clearOnAdFinished=!0,this.onAdStarted=function(e){var n,r=e.ad;if((null===(n=null==r?void 0:r.companions)||void 0===n?void 0:n.length)&&!_AdTranslator__WEBPACK_IMPORTED_MODULE_3__.U.isBrightlineAd(r)){var i=t.player.getActiveAdvertCompanions();t.clearAllCompanions(),t.matchAndRenderCompanion(i)}},this.onAdFinished=function(e){t.clearOnAdFinished&&t.containers.forEach((function(e){t.clearContainer(e.container),t.renderedContainers[e.id]=!1}))},this.clearAllCompanions=function(){t.containers.forEach((function(e){t.clearContainer(e.container)}))},e.on(bitmovin_player_modules_bitmovinplayer_core__WEBPACK_IMPORTED_MODULE_0__.PlayerEvent.AdStarted,this.onAdStarted),e.on(bitmovin_player_modules_bitmovinplayer_core__WEBPACK_IMPORTED_MODULE_0__.PlayerEvent.AdFinished,this.onAdFinished)}return _createClass(CompanionRenderer,[{key:"resetState",value:function(){var e=this;this.clearOnAdFinished&&this.containers&&this.containers.forEach((function(t){e.clearContainer(t.container)})),this.containers=[],this.renderedContainers={},this.clearOnAdFinished=!0}},{key:"updateConfiguration",value:function(e){!1===e.clearOnAdFinished&&(this.clearOnAdFinished=!1),this.containers=e.containers;var t=this.player.getActiveAdvertCompanions();this.matchAndRenderCompanion(t)}},{key:"matchAndRenderCompanion",value:function(e){var t=this;e&&e.forEach((function(e){var n,r,i=null===(n=e.getProperty("adSlotId"))||void 0===n?void 0:n.getValue(),o=null===(r=e.getProperty("id"))||void 0===r?void 0:r.getValue();if(i){var a=t.containers.find((function(e){return e.id===i}));if(a){var s=t.renderedContainers[a.id];!1===a.active&&s?_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.warn("[Tub] Container for companion ad - "+o+" has been switched to inactive but has already been rendered."):!1===a.active?_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[Tub] Not rendering companion ad - "+o+" because the container is inactive"):!s||!1===t.clearOnAdFinished&&0!==a.container.children.length?(t.clearContainer(a.container),t.renderCompanion(e,a,!0),t.renderedContainers[a.id]=!0):0==a.container.children.length?t.renderCompanion(e,a,!1):_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[Tub] Not rendering companion ad - "+o+" because the container has already been rendered.")}else _helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[Tub] Not rendering companion ad - "+o+" not found in containers array")}else _helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[Tub] Not rendering companion ad - "+o+" missing adSlotId")}))}},{key:"clearContainer",value:function(e){if(e){for(;e.firstChild;)e.removeChild(e.firstChild);e.removeAttribute("style");for(var t=e.style.length;t>0;t--){var n=e.style[t];e.style.removeProperty(n)}if(this.savedStyle)for(var r=this.savedStyle.length;r>0;r--){var i=this.savedStyle[r];e.style.setProperty(i,this.savedStyle.getPropertyValue(i),this.savedStyle.getPropertyPriority(i))}}else _helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[clearContainer] container '".concat(e,"' does not exist, skipping"))}},{key:"renderCompanion",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e.getResource(_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.STATIC)||e.getResource(_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.HTML)||e.getResource(_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.IFRAME)||e.getResource(_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.UNKNOWN);if(r&&!1!==e.isValid())if(t.container){var i=e.getProperty("id").value,o=e.getProperty("adSlotId").value;_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[CompanionRenderer] rendering companion ad - "+i+" into "+o),_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[CompanionRenderer] resource",fast_safe_stringify__WEBPACK_IMPORTED_MODULE_2___default()(r)),this.savedStyle=t.container.style;var a=r.getResourceType(),s=e.getClickThroughUrl();if(a===_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.STATIC){var u=new Image(e.getProperty("width").value,e.getProperty("height").value);if(u.src=r.getStringData(),""!==s){var c=document.createElement("a");c.href=s,c.target="_blank",c.appendChild(u),t.container.appendChild(c)}else t.container.appendChild(u)}else if(a===_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.HTML){var l=_CompanionParser__WEBPACK_IMPORTED_MODULE_5__.K.parseCompanionAd(r.getStringData());l&&(this.renderScriptsFromHtml(l),this.removeScriptsFromHtml(l),l.firstChild&&t.container.appendChild(l.firstChild))}else{if(a!==_yospace_admanagement_sdk__WEBPACK_IMPORTED_MODULE_1__._g.IFRAME)return;var d=new HTMLIFrameElement;d.src=r.getStringData(),d.width="100%",d.height="100%",t.container.appendChild(d)}n&&(e.setVisible(!0),e.getTrackingMap().forEach((function(e){if("creativeView"!==e.trackingEvent){_helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[Tub] firing companion tracking: ".concat(e.trackingEvent," for ").concat(e.trackingUrls.length," locations"));for(var t=0;t<e.trackingUrls.length;t++)fetch(e.trackingUrls[t],{method:"GET",mode:"no-cors"})}})))}else _helpers_Logger__WEBPACK_IMPORTED_MODULE_4__.Y.debug("[renderCompanion] container '".concat(t.container,"' does not exist, skipping"))}},{key:"removeScriptsFromHtml",value:function(e){for(var t,n=e.getElementsByTagName("script"),r=n.length;r--;)null===(t=n[r].parentNode)||void 0===t||t.removeChild(n[r])}},{key:"renderScriptsFromHtml",value:function renderScriptsFromHtml(companionHtml){for(var adScripts=companionHtml.getElementsByTagName("script"),head=document.getElementsByTagName("head")[0],_loop=function _loop(i){var script=void 0;adScripts[i].src?(script=document.createElement("script"),script.src=adScripts[i].src,adScripts[i].innerHTML&&(script.innerHTML=adScripts[i].innerHTML),script.onload=script.onreadystatechange=function(){sessionStorage.readyState&&"loaded"!==script.readyState&&"complete"!==script.readyState||head.removeChild(script)},head.appendChild(script)):(script=adScripts[i].innerHTML,eval(script))},i=0;i<adScripts.length;i++)_loop(i)}}]),CompanionRenderer}()},3796:(e,t,n)=>{"use strict";var r;n.d(t,{q:()=>r}),function(e){e.FreeWheel="FreeWheel",e.BrightLine="BrightLine",e.BrightLineDirect="BrightLine_Direct",e.YospaceInternal="YospaceInternal"}(r||(r={}))},6140:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"enable",value:function(){this.enabled=!0}},{key:"disable",value:function(){this.enabled=!1}},{key:"log",value:function(e){if(void 0!==console&&this.enabled){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).log.apply(t,[e].concat(r))}}},{key:"error",value:function(e){if(void 0!==console&&this.enabled){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).error.apply(t,[e].concat(r))}}},{key:"warn",value:function(e){if(void 0!==console&&this.enabled){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).warn.apply(t,[e].concat(r))}}},{key:"debug",value:function(e){if(void 0!==console&&this.enabled){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).debug.apply(t,[e].concat(r))}}},{key:"assert",value:function(e,t){if(void 0!==console&&this.enabled){for(var n,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];(n=console).assert.apply(n,[e,t].concat(i))}}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},4518:function(){var e;(window||this).BL=e={sdkVersion:"2.1.2",checkCallbacks:0,di:window.navigator,timeoutState:4e3,onPlayerSizeChange:null,video_target:null,video_target_width:null,video_target_height:null,video_rect:null,adSessionID:null,deviceInfo:{},config:{},configUrl:"https://services.brightline.tv/api/v2/config/",sinks:[],supports:!0,player_attributes:{position:"",width:"",height:"",top:"",left:""},_logger:function(e){console.log("[BL] ",e)},setLogger:function(t){e._logger=t,e._logger("new logger set:"),e._logger(t)},_loggingEnabled:!0,enableLogging:function(){e._loggingEnabled=!0},disableLogging:function(){e._loggingEnabled=!1},on_BL_opened:function(){e._logger("BRIGHTLINE SDK: BL.openAd() was called")},on_BL_rendered:function(){e._logger("BRIGHTLINE SDK: creative has rendered")},on_BL_expanded:function(){e._logger("BRIGHTLINE SDK: overlay has expanded, pause the stream")},on_BL_collapsed:function(){e._logger("BRIGHTLINE SDK: overlay has collapsed, resume the stream")},on_BL_closed:function(){e._logger("BRIGHTLINE SDK: BL.closeAd() was called")},on_deviceInfo:function(){return e._logger("BRIGHTLINE SDK: BL.on_deviceInfo() was called"),null},closeAd:function(){if(this.cleanUp&&this.cleanUp(),document.getElementById("bl_fif")){e._logger("closeAd called");var t=document.getElementById("bl_fif");t.parentNode.removeChild(t),clearInterval(this.onPlayerSizeChange),this.on_BL_closed()}},adState:function(e){switch(e){case"opened":this.on_BL_opened();break;case"rendered":this.on_BL_rendered();break;case"expanded":this.on_BL_expanded();break;case"collapsed":this.on_BL_collapsed();break;case"closed":this.on_BL_closed()}},openAd:function(t,n){if(e._logger("openAd "+t),this.adState("opened"),document.getElementById(n)||null!=n)this.video_target=document.getElementById(n);else{var r=document.getElementsByTagName("video");for(i=0;i<r.length;i++)r[i].currentTime>0&&!r[i].paused&&!r[i].ended&&r[i].readyState>2&&(this.video_target=r[i])}this.checkPlayerAttributes(),e.onPlayerSizeChange=setInterval(e.checkPlayerAttributes,250),e.adSessionID=this.getParameterByName("session_id",t);var o=document.createElement("iframe");o.id="bl_fif",o.class="bl_fif",o.name="bl_fif",o.setAttribute("scrolling","no"),o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","true"),o.src="about:blank",o.style.width=this.player_attributes.width,o.style.height=this.player_attributes.height,o.style.zIndex="2147483647",o.style.position="absolute",o.style.top=this.player_attributes.top,o.style.right=this.player_attributes.right,o.style.bottom=this.player_attributes.bottom,o.style.left=this.player_attributes.left;var a=this.makeHttpObject();a.open("GET",t,!0),a.send(null),e._analytics.raiseEvent("OnAdRequested");var s=this;a.onloadend=function(){200==a.status?document.getElementById("bl_fif")||(document.body.appendChild(o),doc=o.contentWindow.document,doc.open(),doc.write(a.responseText),doc.close()):(s.handleError(a.status,t),e._analytics.raiseEvent("OnAdUnavailable"))}},handleError:function(t,n){e._logger("code: "+t+" on asset: "+n)},BL_resetDisplay:function(){document.getElementById("bl_fif")&&(fif=document.getElementById("bl_fif"),fif.style.width=e.player_attributes.width,fif.style.height=e.player_attributes.height,fif.style.position="absolute",fif.style.top=e.player_attributes.top,fif.style.left=e.player_attributes.left)},checkPlayerAttributes:function(){if(e.video_target){var t,n,r,i,o=document.getElementsByTagName("body")[0],a=o.getBoundingClientRect(),s=window.getComputedStyle(o),u=s.getPropertyValue("margin"),c=s.getPropertyValue("padding"),l=function(e){var t,n;return t=(e=(e=e.replaceAll("px","")).split(" "))[0],n=e.length>3?e[3]:e.length>1?e[1]:e[0],{top_value:t=Number(t),left_value:n=Number(n)}};null==u&&null==u||(margin_values=l(u),t=margin_values.top_value,n=margin_values.left_value),null==c&&null==c||(padding_values=l(c),r=padding_values.top_value,i=padding_values.left_value);var d=t+r,_=n+i;video_target_width=e.video_target.clientWidth,video_target_height=e.video_target.clientHeight,video_rect=e.video_target.getBoundingClientRect();var f=window.getComputedStyle(e.video_target);e.player_attributes.position=f.getPropertyValue("position"),e.player_attributes.width=video_target_width+"px",e.player_attributes.height=video_target_height+"px",e.player_attributes.top=video_rect.top+d-a.top+"px",e.player_attributes.left=video_rect.left+_-a.left+"px",document.getElementById("bl_fif")&&(fif_resize=document.getElementById("bl_fif"),fif_resize_rect=fif_resize.getBoundingClientRect(),fif_resize.offsetWidth==video_target_width&&fif_resize_rect.top==e.video_target.offsetTop&&fif_resize_rect.left==e.video_target.offsetLeft||e.BL_resetDisplay())}},guid:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},makeHttpObject:function(){try{return new XMLHttpRequest}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}throw new Error("Could not create HTTP request object.")},setupWebkitAnalytics:function(t){window.BL._analytics=function(n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)if(e[n]==t)return!0;return!1}function i(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return e.hasOwnProperty(t)}function a(e,t,n){if("[object Object]"===Object.prototype.toString.call(e))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(n,e[r],r,e);else for(var i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)}function s(e,t){var n={};return a(e,(function(t,r){n[r]=e[r]})),a(t,(function(e,r){n[r]=t[r]})),n}function u(){try{return new XMLHttpRequest}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}throw new Error("Unable to create HTTP request object.")}function c(e,t,n,r,i){var o=u();o.open(t,encodeURI(e),!0),o.setRequestHeader("Content-Type","application/json"),null==n?o.send(null):o.send(JSON.stringify(n)),o.onreadystatechange=function(){4==o.readyState&&(200==o.status?o.responseText&&r(JSON.parse(o.responseText)):i(o.status,o.statusText))}}function l(e,t,n,r){c(e,"POST",t,n,r)}var d,_="//services.brightline.tv/api/v2/config/"+t.configId,f={},h={deviceInfo:{os:"",osVersion:"",appSessionID:"",applicationName:"",deviceUUID:"",platformName:"",mobileCarrier:"",manufacturer:"",advertiserIdentifier:"",applicationIdentifier:"",applicationVersion:"",sdkVersion:"",deviceModel:"",screenResolution:"",deviceConnectionType:"",trackFlag:0}},p=[];function g(){f.settings=function(){return d},!d.trackers&&d.analytics&&(d.trackers=d.analytics);for(var t=0;t<d.trackers.length;t++){var n=d.trackers[t];"https:"==location.protocol&&n.call_uri.match("http://")?n.call_uri=n.call_uri.replace("http://","https://"):"http:"==location.protocol&&n.call_uri.match("https://")&&(n.call_uri=n.call_uri.replace("https://","http://"));var i={name:n.tracker_type?n.tracker_type:n.analytic_type,events:[]};!n.triggers&&n.eventPoints&&(n.triggers=n.eventPoints);for(var o=0;o<n.triggers.length;o++){var a=n.triggers[o];if("undefined"!=typeof isSamsung&&0!=isSamsung&&"false"!=isSamsung||"app"===a.type){for(var u={name:a.eventPoint,type:a.type,app_event_type:a.app_event_type,verb:n.method,uri:n.call_uri,args:a.omit_request_base_args?{}:n.call_request_base_args.data},c=0;c<n.additional_request_args.length;c++){var l=n.additional_request_args[c];r(l.subscribers,u.name)&&(u.args=s(u.args,l.args))}i.events.push(u)}}p.push(i)}setTimeout((function(){e._analytics.raiseEvent("OnInit",{elementUrl:location.href}),e._analytics.raiseEvent("OnManifestLoaded")}),100)}function v(e,t){var n={};return a(e.args,(function(r,a){var s=a,u=r;if("user_init"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"action_type"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"action_name"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"type"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"duration_type"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"percent_complete"==a&&i(e.args[a])&&(o(e.args[a]),e.name&&(u=e.args[a][e.name])),"test_group"!=a&&"c1"!=a&&"c2"!=a&&"c3"!=a&&"c4"!=a&&"c5"!=a){switch(r){case"%ID%":u="impression"==e.type?d.adSessionID:null;break;case"%TYPE%":i(e.args[a])||(u=e.type);break;case"%APP_SESSION_ID%":u=d.deviceInfo.appSessionID;break;case"%APP_EVENT_TYPE%":u=e.app_event_type;break;case"%PLATFORM_APP_ID%":u="undefined"==typeof isSamsung||0==isSamsung||"false"==isSamsung?d.deviceInfo.applicationIdentifier:"Samsung";break;case"%PLATFORM_APP_V%":u=d.deviceInfo.applicationVersion;break;case"%APP_ID%":u=d.developer.id;break;case"%APP_NAME%":u=d.deviceInfo.applicationName;break;case"%DISPLAY_TITLE%":u=t.display;break;case"%MEDIA_VER%":case"%META%":case"%REFERRER_SESSION_ID%":case"%DEVICE_VERSION%":case"%RDEVICE_VERSION%":case"%HOME_ID%":case"%USER_ID%":u=null;break;case"%SESSION_ID%":u=d.adSessionID;break;case"%AD_ID%":case"%RAD_ID%":u=adInfo.adID;break;case"%CAMAIGN_ID%":case"%RCAMAIGN_ID%":u=adInfo.campaignID;break;case"%CREATIVE_ID%":case"%RCREATIVE_ID%":u=adInfo.creativeID;break;case"%LINE_ITEM_ID%":u=adInfo.lineItemID;break;case"%AD_UNIT1%":case"%RAD_UNIT1%":u=adInfo.adUnit1;break;case"%AD_UNIT2%":case"%RAD_UNIT2%":u=adInfo.adUnit2;break;case"%REFERRER_PAGE_ID%":u=t.referrerPageId;break;case"%PAGE_ID%":u=t.page_id;break;case"%PAGE_VIEW_COUNT%":u=t.pageViewCount;break;case"%ELEMENT_URL%":u=t.elementUrl;break;case"%VIDEO_VIEW_ID%":u=t.videoViewId;break;case"%DURATION%":u=t.duration;break;case"%TRACK_FLAG%":u=d.deviceInfo.trackFlag;break;case"%REFERRER_AD_ID%":u="undefined"!=typeof adInfo?adInfo.referrer_ad_id:null;break;case"%DEVICE_ID%":case"%RDEVICE_ID%":u=d.deviceInfo.deviceUUID;break;case"%DEVICE_MODEL%":case"%RDEVICE_MODEL%":u=d.deviceInfo.deviceModel;break;case"%CLIENT_HEIGHT%":u=window.innerHeight;break;case"%CLIENT_WIDTH%":u=window.innerWidth;break;case"%CLIENT_TIME%":u=(new Date).getTime();break;case"%CLIENT_OFFSET%":u=(new Date).getTimezoneOffset();break;case"%LATITUDE%":u=d.location.latitude;break;case"%LONGITUDE%":u=d.location.longitude;break;case"%CONNECTION_TYPE%":u=d.deviceInfo.deviceConnectionType;break;case"%CARRIER%":case"%RCARRIER%":u=d.deviceInfo.mobileCarrier;break;case"%PLATFORM%":u=d.deviceInfo.platformName;break;case"%SDK_V%":u=d.deviceInfo.sdkVersion;break;case"%ADVERTISER_ID%":case"%RADVERTISER_ID%":u=d.deviceInfo.advertisingIdentifier?d.deviceInfo.advertisingIdentifier:d.deviceInfo.advertiserIdentifier}null!=u&&(n[s]=u)}})),{url:e.uri,verb:e.verb,body:n}}return f.settings=function(){return d},f.makeHttpObject=u,f.destroy=function(){d&&(events=[],d=null)},f.init=function(e){f.destroy(),(d=s(h,e||{})).developer?g():l(_,d.deviceInfo,(function(e){d=s(d,e||{}),g()}),(function(e,t){}))},f.raiseEvent=function(e,t){window.BL._logger("[raiseEvent] "+e+JSON.stringify(t));for(var n=function(e){for(var t=[],n=0;n<p.length;n++)for(var r=0;r<p[n].events.length;r++)p[n].events[r].name==e&&t.push(p[n].events[r]);return t}(e),r=0;r<n.length;r++){var i=v(n[r],t);if("GET"==i.verb){var o="";i.url.startsWith("//")&&(o=location.protocol),i.url=o+i.url+"?data="+JSON.stringify(i.body),c(i.url,"GET",null,(function(e){}),(function(e,t){}))}else i.url.match("//")||(i.url=location.protocol+i.url),l(i.url,i.body,(function(e){}),(function(e,t){}))}},f}(),"string"==typeof t&&(t=JSON.parse(t)),e.adSessionID?t.adSessionID=e.adSessionID:e.getParameterByName("session_id")?t.adSessionID=e.getParameterByName("session_id"):t.adSessionID=e.guid(),e.adSessionID=t.adSessionID,e._analytics.init(t)},genGUID:function(){navigator.userAgent.match("AFTB");var e,t=function(){if("undefined"!=typeof Storage)return localStorage.getItem("brightline");for(var e=decodeURIComponent(document.cookie).split(";"),t=0;t<e.length;t++){for(var n=e[t];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf("brightline="))return n.substring(11,n.length)}return""}();if(""===t||null===t){var n=(new Date).getTime();!function(e){if("undefined"!=typeof Storage)localStorage.setItem("brightline",e);else{var t=new Date;t.setTime(t.getTime()+31536e6);var n="expires="+t.toUTCString();document.cookie="brightline="+e+";"+n+";path=/"}}(e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})))}else e=t;return e},init:function(){if(this.deviceInfo=e.on_deviceInfo(),this.deviceInfo.advertisingIdentifier=this.genGUID(),this.deviceInfo.deviceUUID=this.genGUID(),this.deviceInfo.configId){var t=this.makeHttpObject(),n=this.configUrl+this.deviceInfo.configId;t.open("POST",encodeURI(n),!0),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(this.deviceInfo)),t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(e.config=t.responseText,e.setupWebkitAnalytics(e.config)):e._logger("[BL] config Request failed: "+t.status))}}}}},5023:function(e,t,n){function r(e){return r="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},r(e)}!function(e,t,n){var i,o;"object"===r(n)&&"string"!=typeof n.nodeName?t(e,n):function(){var r=function e(t){for(var n in t)t.hasOwnProperty(n)&&(t[n]=e(t[n]));return Object.freeze(t)};for(o in n={},(i=["1.3.37-iab3566"]).push("default"),t(e,n),n)n.hasOwnProperty(o)&&(null==Object.getOwnPropertyDescriptor(e,o)&&Object.defineProperty(e,o,{value:{}}),i.forEach((function(t){if(null==Object.getOwnPropertyDescriptor(e[o],t)){var i=r(n[o]);Object.defineProperty(e[o],t,{get:function(){return i},enumerable:!0})}})))}()}(void 0===n.g?this:n.g,(function(e,t){"use strict";var i,o=o||{};o.scope={},o.arrayIteratorImpl=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}},o.arrayIterator=function(e){return{next:o.arrayIteratorImpl(e)}},o.makeIterator=function(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):o.arrayIterator(e)},o.arrayFromIterator=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n},o.arrayFromIterable=function(e){return e instanceof Array?e:o.arrayFromIterator(o.makeIterator(e))},o.ASSUME_ES5=!1,o.ASSUME_NO_NATIVE_MAP=!1,o.ASSUME_NO_NATIVE_SET=!1,o.SIMPLE_FROUND_POLYFILL=!1,o.objectCreate=o.ASSUME_ES5||"function"==typeof Object.create?Object.create:function(e){var t=function(){};return t.prototype=e,new t},o.underscoreProtoCanBeSet=function(){var e={};try{return e.__proto__={a:!0},e.a}catch(e){}return!1},o.setPrototypeOf="function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:o.underscoreProtoCanBeSet()?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null,o.inherits=function(e,t){if(e.prototype=o.objectCreate(t.prototype),e.prototype.constructor=e,o.setPrototypeOf){var n=o.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},o.defineProperty=o.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},o.getGlobal=function(e){e=["object"==("undefined"==typeof window?"undefined":r(window))&&window,"object"==("undefined"==typeof self?"undefined":r(self))&&self,"object"==(void 0===n.g?"undefined":r(n.g))&&n.g,e];for(var t=0;t<e.length;++t){var i=e[t];if(i&&i.Math==Math)return i}return globalThis},o.global=o.getGlobal(this),o.SYMBOL_PREFIX="jscomp_symbol_",o.initSymbol=function(){o.initSymbol=function(){},o.global.Symbol||(o.global.Symbol=o.Symbol)},o.SymbolClass=function(e,t){this.$jscomp$symbol$id_=e,o.defineProperty(this,"description",{configurable:!0,writable:!0,value:t})},o.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_},o.Symbol=(i=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new o.SymbolClass(o.SYMBOL_PREFIX+(t||"")+"_"+i++,t)}),o.initSymbolIterator=function(){o.initSymbol();var e=o.global.Symbol.iterator;e||(e=o.global.Symbol.iterator=o.global.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&o.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return o.iteratorPrototype(o.arrayIteratorImpl(this))}}),o.initSymbolIterator=function(){}},o.initSymbolAsyncIterator=function(){o.initSymbol();var e=o.global.Symbol.asyncIterator;e||(e=o.global.Symbol.asyncIterator=o.global.Symbol("Symbol.asyncIterator")),o.initSymbolAsyncIterator=function(){}},o.iteratorPrototype=function(e){return o.initSymbolIterator(),(e={next:e})[o.global.Symbol.iterator]=function(){return this},e},o.iteratorFromArray=function(e,t){o.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},o.polyfill=function(e,t,n,r){if(t){for(n=o.global,e=e.split("."),r=0;r<e.length-1;r++){var i=e[r];i in n||(n[i]={}),n=n[i]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&o.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},o.checkEs6ConformanceViaProxy=function(){try{var e={},t=Object.create(new o.global.Proxy(e,{get:function(n,r,i){return n==e&&"q"==r&&i==t}}));return!0===t.q}catch(e){return!1}},o.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1,o.ES6_CONFORMANCE=o.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&o.checkEs6ConformanceViaProxy(),o.owns=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.polyfill("WeakMap",(function(e){function t(){}function n(e){var t=r(e);return"object"===t&&null!==e||"function"===t}function i(e){if(!o.owns(e,s)){var n=new t;o.defineProperty(e,s,{value:n})}}function a(e){var n=Object[e];n&&(Object[e]=function(e){return e instanceof t?e:(i(e),n(e))})}if(o.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(e&&o.ES6_CONFORMANCE)return e}else if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),n=Object.seal({}),r=new e([[t,2],[n,3]]);return 2==r.get(t)&&3==r.get(n)&&(r.delete(t),r.set(n,4),!r.has(t)&&4==r.get(n))}catch(e){return!1}}())return e;var s="$jscomp_hidden_"+Math.random();a("freeze"),a("preventExtensions"),a("seal");var u=0,c=function(e){if(this.id_=(u+=Math.random()+1).toString(),e){e=o.makeIterator(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}};return c.prototype.set=function(e,t){if(!n(e))throw Error("Invalid WeakMap key");if(i(e),!o.owns(e,s))throw Error("WeakMap key fail: "+e);return e[s][this.id_]=t,this},c.prototype.get=function(e){return n(e)&&o.owns(e,s)?e[s][this.id_]:void 0},c.prototype.has=function(e){return n(e)&&o.owns(e,s)&&o.owns(e[s],this.id_)},c.prototype.delete=function(e){return!!(n(e)&&o.owns(e,s)&&o.owns(e[s],this.id_))&&delete e[s][this.id_]},c}),"es6","es3"),o.MapEntry=function(){},o.polyfill("Map",(function(e){if(o.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS){if(e&&o.ES6_CONFORMANCE)return e}else if(function(){if(o.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(o.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(),i=r.next();return!i.done&&i.value[0]==t&&"s"==i.value[1]&&!((i=r.next()).done||4!=i.value[0].x||"t"!=i.value[1]||!r.next().done)}catch(e){return!1}}())return e;o.initSymbolIterator();var t=new WeakMap,n=function(e){if(this.data_={},this.head_=s(),this.size=0,e){e=o.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=i(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=i(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=s(),this.size=0},n.prototype.has=function(e){return!!i(this,e).entry},n.prototype.get=function(e){return(e=i(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 i=function(e,n){var i=n&&r(n);"object"==i||"function"==i?t.has(n)?i=t.get(n):(i=""+ ++u,t.set(n,i)):i="p_"+n;var a=e.data_[i];if(a&&o.owns(e.data_,i))for(e=0;e<a.length;e++){var s=a[e];if(n!=n&&s.key!=s.key||n===s.key)return{id:i,list:a,index:e,entry:s}}return{id:i,list:a,index:-1,entry:void 0}},a=function(e,t){var n=e.head_;return o.iteratorPrototype((function(){if(n){for(;n.head!=e.head_;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:t(n)};n=null}return{done:!0,value:void 0}}))},s=function(){var e={};return e.previous=e.next=e.head=e},u=0;return n}),"es6","es3");var a={AdEventType:{IMPRESSION:"impression",LOADED:"loaded",GEOMETRY_CHANGE:"geometryChange",SESSION_START:"sessionStart",SESSION_ERROR:"sessionError",SESSION_FINISH:"sessionFinish",MEDIA:"media",VIDEO:"video",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",STATE_CHANGE:"stateChange"},MediaEventType:{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"},ImpressionType:{DEFINED_BY_JAVASCRIPT:"definedByJavaScript",UNSPECIFIED:"unspecified",LOADED:"loaded",BEGIN_TO_RENDER:"beginToRender",ONE_PIXEL:"onePixel",VIEWABLE:"viewable",AUDIBLE:"audible",OTHER:"other"},ErrorType:{GENERIC:"generic",VIDEO:"video",MEDIA:"media"},AdSessionType:{NATIVE:"native",HTML:"html",JAVASCRIPT:"javascript"},EventOwner:{NATIVE:"native",JAVASCRIPT:"javascript",NONE:"none"},AccessMode:{FULL:"full",DOMAIN:"domain",LIMITED:"limited"},AppState:{BACKGROUNDED:"backgrounded",FOREGROUNDED:"foregrounded"},Environment:{APP:"app",WEB:"web"},InteractionType:{CLICK:"click",INVITATION_ACCEPT:"invitationAccept"},CreativeType:{DEFINED_BY_JAVASCRIPT:"definedByJavaScript",HTML_DISPLAY:"htmlDisplay",NATIVE_DISPLAY:"nativeDisplay",VIDEO:"video",AUDIO:"audio"},MediaType:{DISPLAY:"display",VIDEO:"video"},Reason:{NOT_FOUND:"notFound",HIDDEN:"hidden",BACKGROUNDED:"backgrounded",VIEWPORT:"viewport",OBSTRUCTED:"obstructed",CLIPPED:"clipped",UNMEASURABLE:"unmeasurable",NO_WINDOW_FOCUS:"noWindowFocus"},SupportedFeatures:{CONTAINER:"clid",VIDEO:"vlid"},VideoPosition:{PREROLL:"preroll",MIDROLL:"midroll",POSTROLL:"postroll",STANDALONE:"standalone"},VideoPlayerState:{MINIMIZED:"minimized",COLLAPSED:"collapsed",NORMAL:"normal",EXPANDED:"expanded",FULLSCREEN:"fullscreen"},NativeViewKeys:{X:"x",LEFT:"left",Y:"y",TOP:"top",WIDTH:"width",HEIGHT:"height",AD_SESSION_ID:"adSessionId",IS_FRIENDLY_OBSTRUCTION_FOR:"isFriendlyObstructionFor",CLIPS_TO_BOUNDS:"clipsToBounds",CHILD_VIEWS:"childViews",END_X:"endX",END_Y:"endY",OBSTRUCTIONS:"obstructions",OBSTRUCTION_CLASS:"obstructionClass",OBSTRUCTION_PURPOSE:"obstructionPurpose",OBSTRUCTION_REASON:"obstructionReason",PIXELS:"pixels",HAS_WINDOW_FOCUS:"hasWindowFocus"},MeasurementStateChangeSource:{CONTAINER:"container",CREATIVE:"creative"},ElementMarkup:{OMID_ELEMENT_CLASS_NAME:"omid-element"},CommunicationType:{NONE:"NONE",DIRECT:"DIRECT",POST_MESSAGE:"POST_MESSAGE"},OmidImplementer:{OMSDK:"omsdk"}},s=function(e,t,n,r){this.guid=e,this.method=t,this.version=n,this.args=r};s.isValidSerializedMessage=function(e){return!!e&&void 0!==e.omid_message_guid&&void 0!==e.omid_message_method&&void 0!==e.omid_message_version&&"string"==typeof e.omid_message_guid&&"string"==typeof e.omid_message_method&&"string"==typeof e.omid_message_version&&(void 0===e.omid_message_args||void 0!==e.omid_message_args)},s.deserialize=function(e){return new s(e.omid_message_guid,e.omid_message_method,e.omid_message_version,e.omid_message_args)},s.prototype.serialize=function(){var e={};return e.omid_message_guid=this.guid,e.omid_message_method=this.method,e.omid_message_version=this.version,void 0!==this.args&&(e.omid_message_args=this.args),e};var u=function(e){this.to=e,this.communicationType_=a.CommunicationType.NONE};u.prototype.sendMessage=function(e,t){},u.prototype.handleMessage=function(e,t){this.onMessage&&this.onMessage(e,t)},u.prototype.serialize=function(e){return JSON.stringify(e)},u.prototype.deserialize=function(e){return JSON.parse(e)},u.prototype.isDirectCommunication=function(){return this.communicationType_===a.CommunicationType.DIRECT},u.prototype.isCrossOrigin=function(){};var c={};function l(e,t){if(!t)throw Error("Value for "+e+" is undefined, null or blank.");if("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 d(e,t){if(null==t)throw Error("Value for "+e+" is undefined or null")}function _(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 f(e,t,n,r){if(_(e,t),t<n||t>r)throw Error("Value for "+e+" is outside the range ["+n+","+r+"]")}function h(e,t){return e&&(e[t]||(e[t]={}))}function p(e,n,r){(r=void 0===r?void 0===t?null:t:r)&&((e=e.split(".")).slice(0,e.length-1).reduce(h,r)[e[e.length-1]]=n)}c.assertTruthyString=l,c.assertNotNullObject=d,c.assertNumber=_,c.assertNumberBetween=f,c.assertFunction=function(e,t){if(!t)throw Error(e+" must not be truthy.")},c.assertPositiveNumber=function(e,t){if(_(e,t),0>t)throw Error(e+" must be a positive number.")},p("OmidSessionClient.Partner",(function(e,t){l("Partner.name",e),l("Partner.version",t),this.name=e,this.version=t}));var g=function(e,t,n,r){r=void 0===r?a.AccessMode.FULL:r,l("VerificationScriptResource.resourceUrl",e),this.resourceUrl=e,this.vendorKey=t,this.verificationParameters=n,this.accessMode=r};g.prototype.toJSON=function(){return{accessMode:this.accessMode,resourceUrl:this.resourceUrl,vendorKey:this.vendorKey,verificationParameters:this.verificationParameters}},p("OmidSessionClient.VerificationScriptResource",g);var v=function(e,t,n,r){n=void 0===n?null:n,r=void 0===r?null:r,d("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};v.prototype.setVideoElement=function(e){d("Context.videoElement",e),this.videoElement=e},v.prototype.setSlotElement=function(e){d("Context.slotElement",e),this.slotElement=e},v.prototype.setServiceWindow=function(e){d("Context.serviceWindow",e),this.serviceWindow=e},p("OmidSessionClient.Context",v);var m={};m.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 y={sessionError:"reportError"},b=Object.keys(a.MediaEventType).map((function(e){return a.MediaEventType[e]})),S=["impressionOccurred"],E=function(e){e=void 0===e?m.omidGlobal:e,this.interfaceRoot_=e.omidSessionInterface};E.prototype.isSupported=function(){return null!=this.interfaceRoot_},E.prototype.sendMessage=function(e,t,n){if("registerSessionObserver"==e&&(n=[t]),y[e]&&(e=y[e]),t=this.interfaceRoot_,0<=S.indexOf(e)&&(t=t.adEvents),0<=b.indexOf(e)&&(t=t.mediaEvents),!(t=t[e]))throw Error("Unrecognized method name: "+e+".");t.apply(null,o.arrayFromIterable(n))};var $={};function T(e){for(var t=[],n=0;n<arguments.length;++n)t[n-0]=arguments[n];A((function(){throw new(Function.prototype.bind.apply(Error,[null,"Could not complete the test successfully - "].concat(o.arrayFromIterable(t))))}),(function(){return console.error.apply(console,o.arrayFromIterable(t))}))}function A(e,t){"undefined"!=typeof jasmine&&jasmine?e():void 0!==console&&console&&console.error&&t()}$.error=T,$.debug=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n-0]=arguments[n];A((function(){}),(function(){return console.error.apply(console,o.arrayFromIterable(t))}))};var C={};function P(e){return/\d+\.\d+\.\d+(-.*)?/.test(e)}function I(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}C.isValidVersion=P,C.versionGreaterOrEqual=I;var w={},M="1.0.3";function k(e,t){return P(e)&&I(e,M)?t:JSON.stringify(t)}function O(e,t){return P(e)&&I(e,M)?t||[]:t&&"string"==typeof t?JSON.parse(t):[]}w.serializeMessageArgs=k,w.deserializeMessageArgs=O;var R={},D="SessionService.",L="VerificationService.";function x(e){return B(e,D)}function N(e){return F(e,D)}function U(e){return F(e,L)}function B(e,t){return t+e}function F(e,t){return(e=e.match(new RegExp("^"+t+"(.*)")))&&e[1]}R.getPrefixedSessionServiceMethod=x,R.getPrefixedVerificationServiceMethod=function(e){return B(e,L)},R.getUnprefixedSessionServiceMethod=N,R.getUnprefixedVerificationServiceMethod=U,R.isPrefixedSessionServiceMethod=function(e){return null!=N(e)},R.isPrefixedVerificationServiceMethod=function(e){return null!=U(e)};var j={};function H(e){return null!=e&&void 0!==e.top&&null!=e.top}function V(e){if(e===m.omidGlobal)return!1;try{if(void 0===e.location.hostname)return!0;!function(e){""===e.x||e.x}(e)}catch(e){return!0}return!1}function W(e){return void 0===e&&"undefined"!=typeof window&&window&&(e=window),H(e)?e:m.omidGlobal}function q(e){return H(e)?e.top:m.omidGlobal}j.evaluatePageUrl=function(e){if(!H(e))return null;try{var t=e.top;return V(t)?null:t.location.href}catch(e){return null}},j.isCrossOrigin=V,j.resolveGlobalContext=W,j.resolveTopWindowContext=q,j.isTopWindowAccessible=function(e){try{return!!e.top.location.href}catch(e){return!1}};var G=function e(t){u.call(this,t),this.communicationType_=a.CommunicationType.DIRECT,this.handleExportedMessage=e.prototype.handleExportedMessage.bind(this)};o.inherits(G,u),G.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)},G.prototype.handleExportedMessage=function(e,t){s.isValidSerializedMessage(e)&&this.handleMessage(s.deserialize(e),t)},G.prototype.isCrossOrigin=function(){return!1};var Y=function(e,t){t=void 0===t?m.omidGlobal:t,u.call(this,t);var n=this;this.communicationType_=a.CommunicationType.POST_MESSAGE,e.addEventListener("message",(function(e){if("object"===r(e.data)){var t=e.data;s.isValidSerializedMessage(t)&&(t=s.deserialize(t),e.source&&n.handleMessage(t,e.source))}}))};o.inherits(Y,u),Y.isCompatibleContext=function(e){return!!(e&&e.addEventListener&&e.postMessage)},Y.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(),"*")},Y.prototype.isCrossOrigin=function(){return!this.to||V(this.to)};var K={OMID_PRESENT_FRAME_NAME:"omid_v1_present",isOmidPresent:function(e){try{return!!e.frames&&!!e.frames[K.OMID_PRESENT_FRAME_NAME]}catch(e){return!1}},declareOmidPresence:function(e){e.frames&&e.document&&(K.OMID_PRESENT_FRAME_NAME in e.frames||(null==e.document.body&&K.isMutationObserverAvailable_(e)?K.registerMutationObserver_(e):e.document.body?K.appendPresenceIframe_(e):e.document.write('<iframe style="display:none" id="'+K.OMID_PRESENT_FRAME_NAME+'" name="'+K.OMID_PRESENT_FRAME_NAME+'"></iframe>')))},appendPresenceIframe_:function(e){var t=e.document.createElement("iframe");t.id=K.OMID_PRESENT_FRAME_NAME,t.name=K.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&&(K.appendPresenceIframe_(e),t.disconnect())}))}));t.observe(e.document.documentElement,{childList:!0})}},z={},X=["omid","v1_SessionServiceCommunication"],Q=["omid","v1_VerificationServiceCommunication"],J=["omidVerificationProperties","serviceWindow"];function Z(e,t){return t.reduce((function(e,t){return e&&e[t]}),e)}function ee(e,t,n,r){if(!V(t))try{var i=Z(t,n);if(i)return new G(i)}catch(e){}return r(t)?new Y(e,t):null}function te(e,t,n,r){for(var i=(t=o.makeIterator(t)).next();!i.done;i=t.next())if(i=ee(e,i.value,n,r))return i;return null}function ne(e,t,n){n=void 0===n?K.isOmidPresent:n;var r=[e,q(e)];return t&&r.unshift(t),te(e,r,X,n)}z.startSessionServiceCommunication=ne,z.startVerificationServiceCommunication=function(e,t){t=void 0===t?K.isOmidPresent:t;var n=[],r=Z(e,J);return r&&n.push(r),n.push(q(e)),te(e,n,Q,t)};var re="1.3.37-iab3566",ie=function(e,t,n){d("AdSession.context",e),this.context_=e,this.impressionOccurred_=!1;var r=this.context_.serviceWindow||void 0;this.communication_=t||ne(W(),r),this.sessionInterface_=n||new E,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_()};ie.prototype.setCreativeType=function(e){if(e===a.CreativeType.DEFINED_BY_JAVASCRIPT)throw Error("Creative type cannot be redefined with value "+a.CreativeType.DEFINED_BY_JAVASCRIPT);if(this.impressionOccurred_)throw Error("Impression has already occurred");if(this.creativeLoaded_)throw Error("Creative has already loaded");if(this.creativeType_&&this.creativeType_!==a.CreativeType.DEFINED_BY_JAVASCRIPT)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},ie.prototype.setImpressionType=function(e){if(e===a.ImpressionType.DEFINED_BY_JAVASCRIPT)throw Error("Impression type cannot be redefined with value "+a.ImpressionType.DEFINED_BY_JAVASCRIPT);if(this.impressionOccurred_)throw Error("Impression has already occurred");if(this.creativeLoaded_)throw Error("Creative has already loaded");if(this.impressionType_&&this.impressionType_!==a.ImpressionType.DEFINED_BY_JAVASCRIPT)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},ie.prototype.isSupported=function(){return!!this.communication_||this.sessionInterface_.isSupported()},ie.prototype.isSendingElementsSupported_=function(){return this.communication_?this.communication_.isDirectCommunication():this.sessionInterface_.isSupported()},ie.prototype.registerSessionObserver=function(e){this.sendMessage("registerSessionObserver",e)},ie.prototype.start=function(){this.sendOneWayMessage("startSession",{customReferenceData:this.context_.customReferenceData,underEvaluation:this.context_.underEvaluation})},ie.prototype.finish=function(){this.sendOneWayMessage("finishSession")},ie.prototype.error=function(e,t){this.sendOneWayMessage("sessionError",e,t)},ie.prototype.registerAdEvents=function(){if(this.hasAdEvents_)throw Error("AdEvents already registered.");this.hasAdEvents_=!0,this.sendOneWayMessage("registerAdEvents")},ie.prototype.registerMediaEvents=function(){if(this.hasMediaEvents_)throw Error("MediaEvents already registered.");this.hasMediaEvents_=!0,this.sendOneWayMessage("registerMediaEvents")},ie.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(o.arrayFromIterable(n)))},ie.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)},ie.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 s(r,x(e),re,k(re,n)),this.communication_.sendMessage(e)},ie.prototype.handleInternalMessage_=function(e,t){t=e.method;var n=e.guid;if(e=e.args,"response"===t&&this.callbackMap_[n]){var r=O(re,e);this.callbackMap_[n].apply(this,r)}"error"===t&&window.console&&T(e)},ie.prototype.sendInterfaceMessage_=function(e,t,n){try{this.sessionInterface_.sendMessage(e,t,n)}catch(e){T("Failed to communicate with SessionInterface with error:"),T(e)}},ie.prototype.assertSessionRunning=function(){if(!this.isSessionRunning_)throw Error("Session not started.")},ie.prototype.impressionOccurred=function(){if(this.creativeType_===a.CreativeType.DEFINED_BY_JAVASCRIPT)throw Error("Creative type has not been redefined");if(this.impressionType_===a.ImpressionType.DEFINED_BY_JAVASCRIPT)throw Error("Impression type has not been redefined");this.impressionOccurred_=!0},ie.prototype.creativeLoaded=function(){if(this.creativeType_===a.CreativeType.DEFINED_BY_JAVASCRIPT)throw Error("Creative type has not been redefined");if(this.impressionType_===a.ImpressionType.DEFINED_BY_JAVASCRIPT)throw Error("Impression type has not been redefined");this.creativeLoaded_=!0},ie.prototype.setClientInfo_=function(){this.sendOneWayMessage("setClientInfo",re,this.context_.partner.name,this.context_.partner.version)},ie.prototype.injectVerificationScripts_=function(e){e&&(e=e.map((function(e){return e.toJSON()})),this.sendOneWayMessage("injectVerificationScriptResources",e))},ie.prototype.sendSlotElement_=function(e){this.sendElement_(e,"setSlotElement")},ie.prototype.sendVideoElement_=function(e){this.sendElement_(e,"setVideoElement")},ie.prototype.sendElement_=function(e,t){e&&(this.isSendingElementsSupported_()?this.sendOneWayMessage(t,e):this.error(a.ErrorType.GENERIC,"Session Client "+t+" called when communication is cross-origin"))},ie.prototype.sendContentUrl_=function(e){e&&this.sendOneWayMessage("setContentUrl",e)},ie.prototype.setElementBounds=function(e){d("AdSession.elementBounds",e),this.sendOneWayMessage("setElementBounds",e)},ie.prototype.watchSessionEvents_=function(){var e=this;this.registerSessionObserver((function(t){t.type===a.AdEventType.SESSION_START&&(e.isSessionRunning_=!0,e.creativeType_=t.data.creativeType,e.impressionType_=t.data.impressionType),t.type===a.AdEventType.SESSION_FINISH&&(e.isSessionRunning_=!1)}))},p("OmidSessionClient.AdSession",ie);var oe=function(e,t,n,r){this.isSkippable=e,this.skipOffset=t,this.isAutoPlay=n,this.position=r};oe.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.skipOffset,isAutoPlay:this.isAutoPlay,position:this.position}};var ae=function(e){d("AdEvents.adSession",e);try{e.registerAdEvents(),this.adSession=e}catch(e){throw Error("AdSession already has an ad events instance registered")}};ae.prototype.impressionOccurred=function(){this.adSession.assertSessionRunning(),this.adSession.impressionOccurred(),this.adSession.sendOneWayMessage("impressionOccurred")},ae.prototype.loaded=function(e){e=void 0===e?null:e,this.adSession.creativeLoaded(),e?this.adSession.sendOneWayMessage("loaded",e.toJSON()):this.adSession.sendOneWayMessage("loaded")},p("OmidSessionClient.AdEvents",ae);var se=function(e){d("MediaEvents.adSession",e);try{e.registerMediaEvents(),this.adSession=e}catch(e){throw Error("AdSession already has a media events instance registered")}};se.prototype.start=function(e,t){_("MediaEvents.start.duration",e),f("MediaEvents.start.mediaPlayerVolume",t,0,1),this.adSession.sendOneWayMessage("start",e,t)},se.prototype.firstQuartile=function(){this.adSession.sendOneWayMessage("firstQuartile")},se.prototype.midpoint=function(){this.adSession.sendOneWayMessage("midpoint")},se.prototype.thirdQuartile=function(){this.adSession.sendOneWayMessage("thirdQuartile")},se.prototype.complete=function(){this.adSession.sendOneWayMessage("complete")},se.prototype.pause=function(){this.adSession.sendOneWayMessage("pause")},se.prototype.resume=function(){this.adSession.sendOneWayMessage("resume")},se.prototype.bufferStart=function(){this.adSession.sendOneWayMessage("bufferStart")},se.prototype.bufferFinish=function(){this.adSession.sendOneWayMessage("bufferFinish")},se.prototype.skipped=function(){this.adSession.sendOneWayMessage("skipped")},se.prototype.volumeChange=function(e){f("MediaEvents.volumeChange.mediaPlayerVolume",e,0,1),this.adSession.sendOneWayMessage("volumeChange",e)},se.prototype.playerStateChange=function(e){d("MediaEvents.playerStateChange.playerState",e),this.adSession.sendOneWayMessage("playerStateChange",e)},se.prototype.adUserInteraction=function(e){d("MediaEvents.adUserInteraction.interactionType",e),this.adSession.sendOneWayMessage("adUserInteraction",e)},p("OmidSessionClient.MediaEvents",se),p("OmidSessionClient.OmidVersion",(function(e,t){l("OmidVersion.semanticVersion",e),l("OmidVersion.apiLevel",t)})),p("OmidSessionClient.VastProperties",oe);var ue={VerificationVendorId:{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9}};function ce(e){for(var t=o.makeIterator(le.keys()),n=t.next();!n.done;n=t.next()){n=n.value;for(var r=o.makeIterator(le.get(n)),i=r.next();!i.done;i=r.next())if(i.value.test(e))return n}return ue.VerificationVendorId.OTHER}var le=new Map([[ue.VerificationVendorId.MOAT,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.moatads\.com\/.*$/]],[ue.VerificationVendorId.DOUBLEVERIFY,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.doubleverify\.com\/.*$/,/^(https?:\/\/|\/\/)?c\.[\w\-]+\.com\/vfw\/dv\/.*$/,/^(https?:\/\/|\/\/)?(www\.)?[\w]+\.tv\/r\/s\/d\/.*$/]],[ue.VerificationVendorId.INTEGRAL_AD_SCIENCE,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.adsafeprotected\.com\/.*$/]],[ue.VerificationVendorId.PIXELATE,[/^https?:\/\/(q|cdn)\.adrta\.com\/s\/.*\/(aa|aanf)\.js.*$/,/^https:\/\/cdn\.rta247\.com\/s\/.*\/(aa|aanf)\.js.*$/]],[ue.VerificationVendorId.NIELSEN,[]],[ue.VerificationVendorId.COMSCORE,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.voicefive\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.measuread\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.scorecardresearch\.com\/.*$/]],[ue.VerificationVendorId.MEETRICS,[/^(https?:\/\/|\/\/)?s418\.mxcdn\.net\/bb-serve\/omid-meetrics.*\.js$/]],[ue.VerificationVendorId.GOOGLE,[/^(https?:\/\/|\/\/)?pagead2\.googlesyndication\.com\/.*$/,/^(https?:\/\/|\/\/)?www\.googletagservices\.com\/.*$/]]]);p("OmidSessionClient.verificationVendorIdForScriptUrl",ce),p("OmidSessionClient.VerificationVendorId",ue.VerificationVendorId),ue.verificationVendorIdForScriptUrl=ce;var de={};function _e(e,t){return Math.abs(e-t)<.01}de.roughlyLessThan=function(e,t){return t-e>.01},de.lessThanOrRoughlyEqual=function(e,t){return e<t||_e(e,t)},de.greaterThanOrRoughlyEqual=function(e,t){return e>t||_e(e,t)}}),t)},4158:(e,t,n)=>{function r(e){return r="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},r(e)}(function(e){"use strict";var t;function i(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function o(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:i(e)}}function a(e){if(!(e instanceof Array)){e=o(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var s,u="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)s=Object.setPrototypeOf;else{var c;e:{var l={};try{l.__proto__={W:!0},c=l.W;break e}catch(dt){}c=!1}s=c?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var d=s;function _(e,t){if(e.prototype=u(t.prototype),e.prototype.constructor=e,d)d(e,t);else for(var 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]}var f=function(e){e=["object"==("undefined"==typeof window?"undefined":r(window))&&window,"object"==("undefined"==typeof self?"undefined":r(self))&&self,"object"==(void 0===n.g?"undefined":r(n.g))&&n.g,e];for(var t=0;t<e.length;++t){var i=e[t];if(i&&i.Math==Math)return i}return globalThis}(this),h="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)};function p(e,t){if(t){var n=f;e=e.split(".");for(var r=0;r<e.length-1;r++){var i=e[r];i in n||(n[i]={}),n=n[i]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&h(n,e,{configurable:!0,writable:!0,value:t})}}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}p("globalThis",(function(e){return e||f}));var v="function"==typeof Object.assign?Object.assign:function(e,t){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(r)for(var i in r)g(r,i)&&(e[i]=r[i])}return e};function m(){m=function(){},f.Symbol||(f.Symbol=S)}function y(e,t){this.a=e,h(this,"description",{configurable:!0,writable:!0,value:t})}p("Object.assign",(function(e){return e||v})),y.prototype.toString=function(){return this.a};var b,S=(b=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new y("jscomp_symbol_"+(t||"")+"_"+b++,t)});function E(){m();var e=f.Symbol.iterator;e||(e=f.Symbol.iterator=f.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&h(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $(i(this))}}),E=function(){}}function $(e){return E(),(e={next:e})[f.Symbol.iterator]=function(){return this},e}p("WeakMap",(function(e){function t(e){if(this.a=(c+=Math.random()+1).toString(),e){e=o(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}}function n(){}function i(e){var t=r(e);return"object"===t&&null!==e||"function"===t}function a(e){if(!g(e,u)){var t=new n;h(e,u,{value:t})}}function s(e){var t=Object[e];t&&(Object[e]=function(e){return e instanceof n?e:(a(e),t(e))})}if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),n=Object.seal({}),r=new e([[t,2],[n,3]]);return 2==r.get(t)&&3==r.get(n)&&(r.delete(t),r.set(n,4),!r.has(t)&&4==r.get(n))}catch(e){return!1}}())return e;var u="$jscomp_hidden_"+Math.random();s("freeze"),s("preventExtensions"),s("seal");var c=0;return t.prototype.set=function(e,t){if(!i(e))throw Error("Invalid WeakMap key");if(a(e),!g(e,u))throw Error("WeakMap key fail: "+e);return e[u][this.a]=t,this},t.prototype.get=function(e){return i(e)&&g(e,u)?e[u][this.a]:void 0},t.prototype.has=function(e){return i(e)&&g(e,u)&&g(e[u],this.a)},t.prototype.delete=function(e){return!!(i(e)&&g(e,u)&&g(e[u],this.a))&&delete e[u][this.a]},t})),p("Map",(function(e){function t(){var e={};return e.D=e.next=e.head=e}function n(e,t){var n=e.a;return $((function(){if(n){for(;n.head!=e.a;)n=n.D;for(;n.next!=n.head;)return n=n.next,{done:!1,value:t(n)};n=null}return{done:!0,value:void 0}}))}function i(e,t){var n=t&&r(t);"object"==n||"function"==n?s.has(t)?n=s.get(t):(n=""+ ++u,s.set(t,n)):n="p_"+t;var i=e.b[n];if(i&&g(e.b,n))for(e=0;e<i.length;e++){var o=i[e];if(t!=t&&o.key!=o.key||t===o.key)return{id:n,list:i,index:e,o}}return{id:n,list:i,index:-1,o:void 0}}function a(e){if(this.b={},this.a=t(),this.size=0,e){e=o(e);for(var n;!(n=e.next()).done;)n=n.value,this.set(n[0],n[1])}}if(function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(o([[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(),i=r.next();return!i.done&&i.value[0]==t&&"s"==i.value[1]&&!((i=r.next()).done||4!=i.value[0].x||"t"!=i.value[1]||!r.next().done)}catch(e){return!1}}())return e;E();var s=new WeakMap;a.prototype.set=function(e,t){var n=i(this,e=0===e?0:e);return n.list||(n.list=this.b[n.id]=[]),n.o?n.o.value=t:(n.o={next:this.a,D:this.a.D,head:this.a,key:e,value:t},n.list.push(n.o),this.a.D.next=n.o,this.a.D=n.o,this.size++),this},a.prototype.delete=function(e){return!(!(e=i(this,e)).o||!e.list||(e.list.splice(e.index,1),e.list.length||delete this.b[e.id],e.o.D.next=e.o.next,e.o.next.D=e.o.D,e.o.head=null,this.size--,0))},a.prototype.clear=function(){this.b={},this.a=this.a.D=t(),this.size=0},a.prototype.has=function(e){return!!i(this,e).o},a.prototype.get=function(e){return(e=i(this,e).o)&&e.value},a.prototype.entries=function(){return n(this,(function(e){return[e.key,e.value]}))},a.prototype.keys=function(){return n(this,(function(e){return e.key}))},a.prototype.values=function(){return n(this,(function(e){return e.value}))},a.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)},a.prototype[Symbol.iterator]=a.prototype.entries;var u=0;return a})),p("Object.values",(function(e){return e||function(e){var t,n=[];for(t in e)g(e,t)&&n.push(e[t]);return n}})),p("Set",(function(e){function t(e){if(this.a=new Map,e){e=o(e);for(var t;!(t=e.next()).done;)this.add(t.value)}this.size=this.a.size}return function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(o([t]));if(!n.has(t)||1!=n.size||n.add(t)!=n||1!=n.size||n.add({x:4})!=n||2!=n.size)return!1;var r=n.entries(),i=r.next();return!i.done&&i.value[0]==t&&i.value[1]==t&&!(i=r.next()).done&&i.value[0]!=t&&4==i.value[0].x&&i.value[1]==i.value[0]&&r.next().done}catch(e){return!1}}()?e:(E(),t.prototype.add=function(e){return e=0===e?0:e,this.a.set(e,e),this.size=this.a.size,this},t.prototype.delete=function(e){return e=this.a.delete(e),this.size=this.a.size,e},t.prototype.clear=function(){this.a.clear(),this.size=0},t.prototype.has=function(e){return this.a.has(e)},t.prototype.entries=function(){return this.a.entries()},t.prototype.values=function(){return this.a.values()},t.prototype.keys=t.prototype.values,t.prototype[Symbol.iterator]=t.prototype.values,t.prototype.forEach=function(e,t){var n=this;this.a.forEach((function(r){return e.call(t,r,r,n)}))},t)})),p("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),p("Array.prototype.includes",(function(e){return e||function(e,t){var n=this;n instanceof String&&(n=String(n));var r=n.length;for(0>(t=t||0)&&(t=Math.max(t+r,0));t<r;t++){var i=n[t];if(i===e||Object.is(i,e))return!0}return!1}}));var T,A={ga:"loaded",ma:"start",da:"firstQuartile",ha:"midpoint",na:"thirdQuartile",ba:"complete",ia:"pause",ka:"resume",aa:"bufferStart",$:"bufferFinish",la:"skipped",oa:"volumeChange",ja:"playerStateChange",Z:"adUserInteraction"},C={ea:"full",ca:"domain",fa:"limited"};function P(e,t){this.x=null!=e.x?e.x:e.left,this.y=null!=e.y?e.y:e.top,this.width=e.width,this.height=e.height,this.B=this.x+this.width,this.C=this.y+this.height,this.u=e.u||void 0,this.S=e.S||[],this.b=e.friendlyObstructionClass||void 0,this.c=e.friendlyObstructionPurpose||void 0,this.f=e.friendlyObstructionReason||void 0,this.L=void 0===e.L||!0===e.L,this.g=void 0===e.hasWindowFocus||!0===e.hasWindowFocus,this.v=e.v||void 0,this.J=e.J||[],this.M=e.M||!1,this.a=t}function I(e){var t={};return t.width=e.width,t.height=e.height,t}function w(e){var t={};return Object.assign({},I(e),(t.x=e.x,t.y=e.y,t))}function M(e){var t=w(e),n={};return Object.assign({},t,(n.endX=e.B,n.endY=e.C,n))}function k(e){return e.width*e.height}function O(e){return 0===e.width||0===e.height}function R(e,t){var n=0;if(0<t.length){var r=function(e,t){e=w(e);for(var n=[],r=[],i=0;i<t.length;i++){var o=w(t[i]);L(n,(o=D(e,o)).x),L(n,o.B),L(r,o.y),L(r,o.C)}return n=n.sort((function(e,t){return e-t})),r=r.sort((function(e,t){return e-t})),{X:n,Y:r}}(e,t);e=r.X,r=r.Y;for(var i=0;i<e.length-1;i++)for(var o=(e[i]+(e[i]+1))/2,a=e[i+1]-e[i],s=0;s<r.length-1;s++){for(var u=(r[s]+(r[s]+1))/2,c=r[s+1]-r[s],l=!1,d=0;d<t.length;d++){var _=w(t[d]);if(_.x<o&&_.x+_.width>o&&_.y<u&&_.y+_.height>u){l=!0;break}}l&&(n+=Math.round(a)*Math.round(c))}}return n}function D(e,t){return{x:Math.max(e.x,t.x),y:Math.max(e.y,t.y),B:Math.min(e.x+e.width,t.x+t.width),C:Math.min(e.y+e.height,t.y+t.height)}}function L(e,t){-1===e.indexOf(t)&&e.push(t)}function x(){this.b=this.a=this.c=this.i=void 0,this.l=0,this.h=[],this.s=[],this.m=0,this.j=[],this.f=[],this.g=[]}function N(e){var t=[],n=[],r={viewport:e.i,adView:{percentageInView:e.l,pixelsInView:e.m,reasons:e.g},declaredFriendlyObstructions:e.h.length};if(void 0!==e.a){r.adView.geometry=w(e.a),r.adView.geometry.pixels=k(e.a),r.adView.onScreenGeometry=w(e.b),r.adView.onScreenGeometry.pixels=Math.max(0,k(e.b)-R(e.b,e.f));for(var i=0;i<e.f.length;i++)t.push(w(e.f[i]));for(i=0;i<e.s.length;i++){var o=e.s[i],a=o,s={};a.b&&(s.obstructionClass=a.b),a.c&&(s.obstructionPurpose=a.c),a.f&&(s.obstructionReason=a.f),o=D(e.a,o),n.push(Object.assign({},{x:o.x,y:o.y,width:o.B-o.x,height:o.C-o.y},s))}r.adView.onScreenGeometry.obstructions=t,r.adView.onScreenGeometry.friendlyObstructions=n}return r}function U(e,t){t=I(t),e.i={},e.i.width=t.width,e.i.height=t.height,e.c={},e.c.x=0,e.c.y=0,e.c.width=t.width,e.c.height=t.height,e.c.endX=t.width,e.c.endY=t.height}function B(e,t){var n={};return n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.endX=Math.min(e.endX,t.endX),n.endY=Math.min(e.endY,t.endY),n.width=Math.max(0,n.endX-n.x),n.height=Math.max(0,n.endY-n.y),n}function F(e,t){return.01<t.width-e.width||.01<t.height-e.height}function j(e){if(-1!==e.g.indexOf("backgrounded"))e.l=0,e.m=0;else{var t=k(e.a);if(0!==t){var n=Math.max(0,k(e.b)-R(e.b,e.f));e.l=Math.round(n/t*100),e.m=n}}}function H(e,t){if(O(t)||!e.b)t=!1;else{var n=M(e.b),r=n.y,i=n.endX;e=n.endY;var o=t.B;(o=o<(n=n.x)||.01>Math.abs(o-n))||(o=(o=t.x)>i||.01>Math.abs(o-i)),(i=o)||(i=(i=t.C)<r||.01>Math.abs(i-r)),(r=i)||(r=(t=t.y)>e||.01>Math.abs(t-e)),t=!r}return t}function V(e,t){for(var n=!1,r=0;r<e.g.length;r++)e.g[r]===t&&(n=!0);n||e.g.push(t)}function W(e,t,n,r){var i=!!t.M||t.u===r;if(i){n.a=t;var o=M(n.a);e=B(n.c,o);var a=n.a;"notAttached"===a.v||"noWindowFocus"===a.v||"noAdView"===a.v?(V(n,"notFound"),n.b=new P({x:0,y:0,endX:0,endY:0,width:0,height:0},!1)):"viewInvisible"===(a=n.a).v||"viewGone"===a.v||"viewNotVisible"===a.v||"viewAlphaZero"===a.v||"viewHidden"===a.v||void 0!==n.a.v||O(n.a)?(V(n,"hidden"),n.b=new P({x:0,y:0,endX:0,endY:0,width:0,height:0},!1)):(n.a.g||(V(n,"backgrounded"),V(n,"noWindowFocus")),F(e,o)&&V(n,"clipped"),n.b=new P(e,!1))}else if(o=!0,t.a&&(o=-1===t.S.indexOf(r)&&!1===t.L),o){a=t.J;for(var s=0;s<a.length;s++)o=void 0!==n.a,W(e,new P(a[s],o),n,r)}i||void 0===n.a||(t.a?-1!==t.S.indexOf(r)?n.h.push(t):n.j.push(t):(i=M(t),r=M(n.b),w(n.b),!O(n.b)&&t.L&&F(t=B(r,i),r)&&(V(n,"clipped"),n.b=new P(t,!1))))}function q(e,t){this.y=this.x=0,this.width=e,this.height=t}function G(){this.u=null,this.c={apiVersion:"1.0",accessMode:"limited",environment:"web",omidJsInfo:{omidImplementer:"omsdk",serviceVersion:"1.3.37-iab3566"},adSessionType:"html",supports:["clid","vlid"]},this.m=null,this.l="foregrounded",this.i=this.j="none",this.h=this.g=this.f=this.s=this.b=this.a=this.H=this.N=null,this.G=!0,this.F=new Map}function Y(){return T||(T=new G),T}P.prototype.O=function(e){if(null==e)return!1;var t=(e=w(e)).y,n=e.width,r=e.height;return this.x===e.x&&this.y===t&&this.width===n&&this.height===r},x.prototype.O=function(e){return null!=e&&JSON.stringify(N(this))===JSON.stringify(N(e))};var K=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.")}();function z(){var t=e;if(null==t||void 0===t.top||null==t.top)return null;try{var n=t.top;return function(e){if(e===K)return!1;try{if(void 0===e.location.hostname)return!0}catch(e){return!0}return!1}(n)?null:n.location.href}catch(e){return null}}function X(e,t){this.a=e,this.b=t}function Q(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];Z((function(){throw new(Function.prototype.bind.apply(Error,[null,"Could not complete the test successfully - "].concat(a(t))))}),(function(){return console.error.apply(console,a(t))}))}function J(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];Z((function(){}),(function(){return console.error.apply(console,a(t))}))}function Z(e,t){"undefined"!=typeof jasmine&&jasmine?e():void 0!==console&&console&&console.error&&t()}function ee(){this.f=[],this.b=[],this.c=[],this.g=[],this.i={},this.a=Y()}function te(e,t){e.f.push(t),function(e,t){void 0!==e.a&&e.a.u&&!1!==re(e,t)&&e.c.filter((function(e){return e.type===t.event.type})).forEach((function(n){return e.h(n.I,t.event)}))}(e,t)}function ne(e,t,n){void 0!==e.a&&e.a.u&&e.f.filter((function(n){return n.event.type===t&&re(e,n)})).map((function(e){return e.event})).forEach(n)}function re(e,t){var n=t.event.type,r=-1!==Object.values(A).indexOf(n)&&"volumeChange"!==n;return"impression"===n||"loaded"===n&&e.a.b?t.origin===Y().i:!r||t.origin===Y().j}function ie(e,t,n,r){var i={V:n,U:r,I:t};e.g.push(i),e.b.forEach((function(n){var r=fe(n);"sessionStart"===n.event.type&&ae(e,r,i),e.h(t,r)}))}function oe(e,t,n){var r=_e(e,"sessionError","native",{errorType:t,message:n});e.b.push(r),e.g.forEach((function(t){e.h(t.I,r.event)}))}function ae(e,t,n){n.V&&(t.data.verificationParameters=e.i[n.V]),n.U&&(n=e.a.F.get(n.U))&&(t.data.verificationParameters=n.verificationParameters,t.data.context.accessMode=n.accessMode,"full"===n.accessMode&&(e.a.g&&(t.data.context.videoElement=e.a.g),e.a.f&&(t.data.context.slotElement=e.a.f)))}function se(e,t){e:{t=new Set(t);for(var n=(e=o(e.f.concat(e.b))).next();!n.done;n=e.next())if(n=n.value,t.has(n.event.type)&&"javascript"!=n.origin){t=!0;break e}t=!1}return!t||(Q("Event owner cannot be registered after its events have already been published."),!1)}function ue(e){var t=e.a.i;return"none"==t||"javascript"==t||(Q("Impression event is owned by "+e.a.i+", not javascript."),!1)}function ce(e){var t=e.a.j;return"none"==t||"javascript"==t||(Q("Media events are owned by "+e.a.j+", not javascript."),!1)}function le(e,t,n){return n=void 0!==n&&n,t=Object.assign({},t),e.a.a&&Object.assign(t,{mediaType:e.a.a}),e.a.b&&(n||"definedByJavaScript"!==e.a.b)&&Object.assign(t,{creativeType:e.a.b}),t}function de(e,t){return e.a.s?Object.assign({},t,{impressionType:e.a.s}):t}function _e(e,t,n,r){return new X({adSessionId:e.a.u||"",timestamp:(new Date).getTime(),type:t,data:r},n)}function fe(e){return{adSessionId:(e=e.event).adSessionId,timestamp:e.timestamp,type:e.type,data:e.data}}function he(e){return!(!e||!e.tagName||"iframe"!==e.tagName.toLowerCase())}function pe(e,t,n){this.f=e,this.T=t,this.N=n,this.c=Y(),this.b=null,this.a=this.g=this.F=void 0,this.R=!0,this.l=void 0,ge(this)}function ge(e){if(!e.b){var t;e:{if((t=e.f.document)&&t.getElementsByClassName&&(t=t.getElementsByClassName("omid-element"))){if(1==t.length){t=t[0];break e}1<t.length&&e.R&&(oe(e.N,"generic","More than one element with 'omid-element' class name."),e.R=!1)}t=null}if(t&&t.tagName&&"video"===t.tagName.toLowerCase())e.c.g=t;else{if(!t||!t.tagName)return;e.c.f=t}ve(e)}}function ve(e){e.c.g?(e.b=e.c.g,e.i()):e.c.f&&(e.b=e.c.f,he(e.b)?e.c.h&&e.i():e.i())}function me(e){e.a&&(he(e.b)?e.c.h&&(e.K(),ye(e)):(e.K(),ye(e)))}function ye(e){if(e.F){e.c.K=e.F;var t=(e=e.T).a.K,n=e.a.w;if(t&&!t.O(n)){n=N(t);var r=e.b;"audio"!=r.a.b&&te(r,_e(r,"geometryChange","native",n)),e.a.w=t}}}function be(e){if(e.a&&e.c.h){var t=new P(e.c.h,!1),n=e.a.x;return e=e.a.y,t.x+=n,t.y+=e,t.B+=n,t.C+=e,t.L=!0,t}}function Se(e,t,n){return $e(e,"setInterval")(t,n)}function Ee(e,t){$e(e,"clearInterval")(t)}function $e(e,t){return e.a&&e.a[t]?e.a[t]:Te(e,t)}function Te(e,t){if(e.a&&e.a.omidNative&&e.a.omidNative[t])return e.a.omidNative[t].bind(e.a.omidNative);throw Error('Native interface method "'+t+'" not found.')}function Ae(e,t,n,r,i){pe.call(this,e,n,i),this.m=t,this.h=void 0,this.j=r}function Ce(e){if(void 0!==e.h){if(Pe(e)){var t=e.f.top;t=new P(new q(t.innerWidth,t.innerHeight),!1)}else t=new P(new q(0,0),!1);var n=e.b.getBoundingClientRect();(null==n.x||isNaN(n.x))&&(n.x=n.left),(null==n.y||isNaN(n.y))&&(n.y=n.top),n=new P(n,!1),t.O(e.g)&&n.O(e.a)||(e.a=n,e.a.L=!0,e.g=t,e.g.J.push(e.a),me(e))}}function Pe(e){try{var t=e.f.top;return 0<=t.innerHeight&&0<=t.innerWidth}catch(e){}return!1}function Ie(e,t,n,r){pe.call(this,e,n,r),this.w=this.j=this.m=this.h=void 0,this.P=!1,this.G=void 0}function we(e){e.m&&(e.m.disconnect(),e.m=void 0),e.j&&(e.j.disconnect(),e.j=void 0),e.w&&((0,e.f.removeEventListener)("resize",e.w),e.w=void 0)}function Me(e){e.h&&e.b&&(e.h.unobserve(e.b),e.h.observe(e.b))}function ke(e){return 0==(e=e.getBoundingClientRect()).width||0==e.height}function Oe(e){e.b&&!ke(e.b)&&(Me(e),we(e))}function Re(e){if(e&&null!==e.x&&null!==e.y&&null!==e.width&&null!==e.height)return new P(e,!1)}function De(e,t,n,r){this.b=e,this.method=t,this.version=n,this.a=r}function Le(e){return!!e&&void 0!==e.omid_message_guid&&void 0!==e.omid_message_method&&void 0!==e.omid_message_version&&"string"==typeof e.omid_message_guid&&"string"==typeof e.omid_message_method&&"string"==typeof e.omid_message_version&&(void 0===e.omid_message_args||void 0!==e.omid_message_args)}function xe(e){return new De(e.omid_message_guid,e.omid_message_method,e.omid_message_version,e.omid_message_args)}function Ne(e){var t={};return t.omid_message_guid=e.b,t.omid_message_method=e.method,t.omid_message_version=e.version,void 0!==e.a&&(t.omid_message_args=e.a),t}function Ue(e){this.c=e}function Be(e){this.c=e,this.handleExportedMessage=Be.prototype.f.bind(this)}function Fe(e){return je(e,"SessionService.")}function je(e,t){return(e=e.match(new RegExp("^"+t+"(.*)")))&&e[1]}function He(e){this.b=e}function Ve(e,t){return e.a.bind(e,t)}function We(e,t){this.c=t=void 0===t?K:t;var n=this;e.addEventListener("message",(function(e){if("object"===r(e.data)){var t=e.data;Le(t)&&e.source&&n.a&&n.a(xe(t),e.source)}}))}function qe(){return"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)}))}function Ge(e){if(!e.a||!e.a.document)throw Error("OMID Service Script is not running within a window.");var t=e.b;e.b=[],t.forEach((function(t){try{var n=e.c.G?"limited":"full",r=t.accessMode,i=("string"==typeof r&&-1!==Object.values(C).indexOf(r)?t.accessMode:null)||n;t.accessMode=i;e:{var o=t.resourceUrl,a=e.a.location.origin;try{var s=new URL(o,a);break e}catch(e){}try{s=new URL(o);break e}catch(e){}s=null}if(n=s){var u=qe(),c=e.a.document,l=c.createElement("iframe");l.id="omid-verification-script-frame-"+u,l.style.display="none",["full","limited"].includes(i)?l.srcdoc="<html><head>\n<script type=\"text/javascript\">window['omidVerificationProperties'] = {\n'serviceWindow': window.parent,\n'injectionSource': 'web',\n'injectionId': '"+u+'\',\n};<\/script>\n<script type="text/javascript" src="'+n.href+'"><\/script>\n</head><body></body></html>':"domain"==i&&(l.src=function(e,t,n){var r="/.well-known/omid/omloader-v1.html#";new Map([["verificationScriptUrl",n.href],["injectionId",t]]).forEach((function(e,t){r+=encodeURIComponent(t)+"="+encodeURIComponent(e)+"&"})),t=null;try{t=new URL(r,e.a.parent.location.origin)}catch(e){throw Error("OMID Service Script cannot access the parent window.")}return t}(e,u,n).href),["domain","limited"].includes(i)&&(l.sandbox="allow-scripts"),c.body.appendChild(l);var d=t.vendorKey,_=t.verificationParameters;_=void 0===_?"":_,(d=void 0===d?"":d)&&"string"==typeof d&&""!==d&&_&&"string"==typeof _&&""!==_&&(e.f.i[d]=_),e.c.F.set(u,t)}}catch(e){J("OMID verification script "+t.resourceUrl+" failed to load: "+e)}}))}function Ye(){var e=pt,t=gt,n=this;this.c=ut,this.b=e,this.a=Y(),this.g=t,this.f=!1,this.registerSessionObserver((function(e){return ze(n,e)}))}function Ke(e,t,n){if("impression"==t)ue(e.c)&&(te(t=e.c,_e(t,"impression","javascript",n=le(t,de(t,n=(n=Y().w)?N(n):void 0)))),e.b&&ge(e.b));else{if("loaded"==t){var r=n;r=void 0===r?null:r,ce(e.c)&&((n=e.c).a.b||"display"!=n.a.a)&&te(n,r=_e(n,"loaded","javascript",le(n,de(n,void 0===r?null:r))))}else if(ce(e.c)){if(r=e.c,"start"!==t&&"volumeChange"!==t||null!=(n&&n.deviceVolume)||(n.deviceVolume=r.a.N),n&&("start"===t||"volumeChange"===t)){var i=n.videoPlayerVolume,o=n.mediaPlayerVolume;null!=i?(Object.assign(n,{mediaPlayerVolume:i}),r.a.H=i):null!=o&&(Object.assign(n,{videoPlayerVolume:o}),r.a.H=o)}te(r,_e(r,t,"javascript",n))}["loaded","start"].includes(t)&&e.b&&ge(e.b)}}function ze(e,t){if("sessionStart"===t.type){e.f=!0;try{Ge(e.g)}catch(e){Q(e.message)}}"sessionFinish"===t.type&&(e.f=!1,(t=Y().c)&&"native"==t.adSessionType||e.registerSessionObserver((function(t){return ze(e,t)})))}function Xe(e){return/\d+\.\d+\.\d+(-.*)?/.test(e)}function Qe(e){e=e.split("-")[0].split(".");for(var t=["1","0","3"],n=0;3>n;n++){var r=parseInt(e[n],10),i=parseInt(t[n],10);if(r>i)break;if(r<i)return!1}return!0}function Je(e,t){return Xe(e)&&Qe(e)?t||[]:t&&"string"==typeof t?JSON.parse(t):[]}f.Object.defineProperties(X.prototype,{event:{configurable:!0,enumerable:!0,get:function(){return this.a}},origin:{configurable:!0,enumerable:!0,get:function(){return this.b}}}),ee.prototype.h=function(e,t){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];try{e.apply(null,a(n))}catch(e){J(e)}},pe.prototype.s=function(){this.l&&(this.f.document.removeEventListener("visibilitychange",this.l),this.l=void 0)},pe.prototype.i=function(){var e=this;this.l||(this.l=function(){e.c.l=e.f.document.hidden?"backgrounded":"foregrounded",me(e)},this.f.document.addEventListener("visibilitychange",this.l))},_(Ae,pe),Ae.prototype.s=function(){void 0!==this.h&&(Ee(this.j,this.h),this.h=void 0),pe.prototype.s.call(this)},Ae.prototype.i=function(){var e=this;pe.prototype.i.call(this),null==this.b?this.h=void 0:void 0===this.h&&(this.h=Se(this.j,(function(){return Ce(e)}),200),Ce(this))},Ae.prototype.K=function(){if(this.g){var e=be(this);if(e){this.a.M=!1,e.M=!0;for(var t=!1,n=0;n<this.a.J.length;n++)if(this.a.J[n].M){this.a.J[n]=e,t=!0;break}t||this.a.J.push(e)}else this.a.M=!0;t=this.m,n=this.c.l;var r=this.c.u,i=this.H();e=new x;var o=new P(this.g,!1);if(U(e,o),W(t,o,e,r),i)if("backgrounded"===n)V(e,"backgrounded");else if(void 0!==e.a){for(t=0;t<e.h.length;t++)H(e,e.h[t])&&e.s.push(e.h[t]);for(t=0;t<e.j.length;t++){if(n=H(e,e.j[t])){e:{for(n=e.j[t],r=0;r<e.f.length;r++)if(e.f[r].O(n)){n=!0;break e}n=!1}n=!n}n&&(V(e,"obstructed"),e.f.push(e.j[t]))}j(e)}else V(e,"notFound");else e.g=["unmeasurable"],e.i=void 0,e.l=0,e.f=[],e.a&&(t=e.a,t=new P(((n={}).x=0,n.y=0,n.width=t.width,n.height=t.height,n),t.a),e.a=t),e.b={x:0,y:0,endX:0,endY:0,width:0,height:0};this.F=e}},Ae.prototype.H=function(){return Pe(this)},_(Ie,pe),Ie.prototype.s=function(){this.h&&this.h.disconnect(),we(this),pe.prototype.s.call(this)},Ie.prototype.i=function(){var e;pe.prototype.i.call(this),this.b&&(this.h||(this.h=new(e=this).f.IntersectionObserver((function(t){try{if(t.length){for(var n,r=t[0],i=1;i<t.length;i++)t[i].time>r.time&&(r=t[i]);n=r,e.g=Re(n.rootBounds),e.a=Re(n.boundingClientRect),e.G=Re(n.intersectionRect),e.P=!!n.isIntersecting,me(e)}}catch(t){e.s(),oe(e.N,"generic","Problem handling IntersectionObserver callback: "+t.message)}}),{root:null,rootMargin:"0px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})),Me(this),ke(this.b)&&function(e){e.f.ResizeObserver?e.m||(e.m=function(e,t){return new e.f.ResizeObserver(t)}(e,(function(){return Oe(e)})),e.m.observe(e.b)):(e.w||(e.w=function(){return Oe(e)},(0,e.f.addEventListener)("resize",e.w)),e.j||(e.j=new MutationObserver((function(){return Oe(e)})),e.j.observe(e.b,{childList:!1,attributes:!0,subtree:!1})))}(this))},Ie.prototype.K=function(){if(this.a&&this.G){var e=be(this);if(e){var t=e,n=this.G,r=Math.max(e.x,n.x),i=Math.max(e.y,n.y),o=Math.min(e.B,n.B);e=Math.min(e.C,n.C),(r=o<=r||e<=i?null:new P(((n={}).x=r,n.y=i,n.width=Math.abs(o-r),n.height=Math.abs(e-i),n),!1))||(r=new P({x:0,y:0,width:0,height:0},!1))}else t=this.a,r=this.G;i=new x,this.g&&U(i,this.g),(o="backgrounded"==this.c.l)&&V(i,"backgrounded"),i.a=t,i.b=r,j(i),this.P?!o&&O(i.a)?V(i,"hidden"):o||100===i.l||V(i,"clipped"):V(i,"viewport"),this.F=i}},Ie.prototype.H=function(){return!0},_(Be,Ue),Be.prototype.b=function(e,t){if(!(t=void 0===t?this.c:t))throw Error("Message destination must be defined at construction time or when sending the message.");t.handleExportedMessage(Ne(e),this)},Be.prototype.f=function(e,t){Le(e)&&this.a&&this.a(xe(e),t)},He.prototype.a=function(e,t){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];return this.b("SessionService."+e,this.c.bind(this,e,n),n)},He.prototype.c=function(e,t,n){"registerSessionObserver"===e&&(e=o(t).next().value)(n)},_(We,Ue),We.prototype.b=function(e,t){if(!(t=void 0===t?this.c:t))throw Error("Message destination must be defined at construction time or when sending the message.");t.postMessage(Ne(e),"*")},(t=Ye.prototype).registerSessionObserver=function(e){ie(this.c,e)},t.setSlotElement=function(e){e&&e.tagName?(this.a.f=e,this.b&&ve(this.b)):Q("setSlotElement called with a non-HTMLElement.  It will be ignored.")},t.setElementBounds=function(e){this.a.h=e,this.b&&ve(this.b),this.b&&me(this.b)},t.error=function(e,t){oe(this.c,e,t)},t.registerAdEvents=function(){var e=this.c;se(e,["impression"])&&ue(e)&&(e.a.i="javascript")},t.registerMediaEvents=function(){var e=this.c;se(e,Object.values(A))&&ce(e)&&(e.a.j="javascript")},t.injectVerificationScriptResources=function(e){var t=this.g;if(t.b.push.apply(t.b,a(e)),this.f)try{Ge(this.g)}catch(e){Q(e.message)}},t.setCreativeType=function(e,t){t=void 0===t?null:t,this.a.a&&!this.a.b||(this.a.b=e,"video"==e||"audio"==e?this.a.a="video":"htmlDisplay"==e||"nativeDisplay"==e?this.a.a="display":"definedByJavaScript"==e&&t&&(this.a.a="none"==t?"display":"video"))},t.setImpressionType=function(e){this.a.a&&!this.a.b||(this.a.s=e)},t.setClientInfo=function(e,t,n){var r=this.a.c||{};return r.omidJsInfo=Object.assign({},r.omidJsInfo,{sessionClientVersion:e,partnerName:t,partnerVersion:n}),this.a.c=r,this.a.c.omidJsInfo.serviceVersion};var Ze=new function(){};function et(){var t=vt,n=this,r=void 0===r?e:r;this.a=t,this.g=r,this.b=new Be,this.g.omid=this.g.omid||{},this.g.omid.v1_SessionServiceCommunication=this.b,this.f=r&&r.addEventListener&&r.postMessage?new We(r):null,this.c=null,this.b.a=this.h.bind(this),this.f&&(this.f.a=this.i.bind(this)),this.j=new He((function(e,t,r){try{rt(n,e,t,r)}catch(e){Q(it(e))}})),function(e){var t=void 0===t?K:t;null==t.omidSessionInterface&&((e={setClientInfo:Ve(e,"setClientInfo"),registerSessionObserver:Ve(e,"registerSessionObserver"),startAdSession:Ve(e,"startSession"),finishAdSession:Ve(e,"finishSession"),reportError:Ve(e,"sessionError"),registerAdEvents:Ve(e,"registerAdEvents"),registerMediaEvents:Ve(e,"registerMediaEvents"),injectVerificationScriptResources:Ve(e,"injectVerificationScriptResources"),setSlotElement:Ve(e,"setSlotElement"),setVideoElement:Ve(e,"setVideoElement"),setElementBounds:Ve(e,"setElementBounds"),setCreativeType:Ve(e,"setCreativeType"),setImpressionType:Ve(e,"setImpressionType"),setContentUrl:Ve(e,"setContentUrl"),adEvents:{impressionOccurred:Ve(e,"impressionOccurred"),loaded:Ve(e,"loaded")},mediaEvents:{start:Ve(e,"start"),firstQuartile:Ve(e,"firstQuartile"),midpoint:Ve(e,"midpoint"),thirdQuartile:Ve(e,"thirdQuartile"),complete:Ve(e,"complete"),pause:Ve(e,"pause"),resume:Ve(e,"resume"),bufferStart:Ve(e,"bufferStart"),bufferFinish:Ve(e,"bufferFinish"),skipped:Ve(e,"skipped"),volumeChange:Ve(e,"volumeChange"),playerStateChange:Ve(e,"playerStateChange"),adUserInteraction:Ve(e,"adUserInteraction")}}).mediaEvents.loaded=e.adEvents.loaded,e.videoEvents=e.mediaEvents,Object.freeze(e),Object.defineProperty(t,"omidSessionInterface",{value:e,writable:!1}))}(this.j)}function tt(e,t){return e.c||(e.c=t),e.c==t||(Q("The source of session client messages cannot be changed from the source of the first message."),!1)}function nt(e,t,n,r){var i=t.b,o=t.method,a=t.version;t=Je(a,t.a);try{rt(e,o,(function(e){for(var t=[],o=0;o<arguments.length;++o)t[o]=arguments[o];t=new De(i,"response",a,Xe(a)&&Qe(a)?t:JSON.stringify(t)),r.b(t,n)}),t)}catch(e){r.b(new De(i,"error",a,it(e)),n)}}function rt(e,t,n,i){if(null!=Fe(t))switch(Fe(t)){case"registerAdEvents":e.a.registerAdEvents();break;case"registerMediaEvents":e.a.registerMediaEvents();break;case"registerSessionObserver":e.a.registerSessionObserver(n);break;case"setSlotElement":var a=o(i).next().value;e.a.setSlotElement(a);break;case"setVideoElement":a=o(i).next().value,e=e.a,a&&a.tagName&&"video"===a.tagName.toLowerCase()?(e.a.g=a,e.b&&ve(e.b)):Q("setVideoElement called with a non-HTMLVideoElement. It will be ignored.");break;case"setElementBounds":a=o(i).next().value,e.a.setElementBounds(a);break;case"startSession":if(null!=(n=o(i).next().value)&&"object"===r(n)?("string"==typeof(t=n.customReferenceData)||(t=void 0),"boolean"==typeof(n=n.underEvaluation)||(n=!1),n={customReferenceData:t,underEvaluation:n}):n=null,null==n)break;var s;e=e.a,t=n,a=void 0===a?null:a,null==s&&(s=qe()),t.canMeasureVisibility=e.b.H(),e.a.u=s,n=e.a,void 0!==(t=s=t).contentUrl&&(n.m=t.contentUrl,t.contentUrl=void 0),t=n.c||{},s.omidJsInfo=Object.assign({},t.omidJsInfo||{},s.omidJsInfo||{}),t=s=Object.assign({},t,s),n.G||(null!=n.g?(t.videoElement=n.g,t.accessMode="full"):null!=n.f&&(t.slotElement=n.f,t.accessMode="full")),n.c=s,function(e,t){if(e.i=Object.assign(e.i,t),void 0!==(t=e.a.c)){t=Object.assign({},le(e,de(e,{context:t}),!0),{supportsLoadedEvent:!!e.a.b||"video"==e.a.a}),Object.assign(t,{pageUrl:z(),contentUrl:e.a.m});var n=_e(e,"sessionStart","native",t);e.b.push(n),e.g.forEach((function(t){var r=t.I,i=fe(n);ae(e,i,t),e.h(r,i)}),e),function(e){for(var t=e.f.filter((function(t){return!!(Object.values(A).includes(t.event.type)&&"video"==e.a.a&&t.origin===e.a.j||"loaded"==t.event.type&&"display"==e.a.a&&t.origin===e.a.i)})).map((function(e){return e.event})),n=e.a.u||"",r={},i=(t=o(t)).next();!i.done;r={A:r.A},i=t.next()){if(r.A=i.value,r.A.adSessionId||(r.A.adSessionId=n),"loaded"==r.A.type){if(!e.a.b&&"display"==e.a.a)continue;r.A.data=le(e,de(e,r.A.data))}e.c.filter(function(e){return function(t){return t.type===e.A.type}}(r)).forEach(function(e){return function(t){return t.I(e.A)}}(r))}}(e)}}(e.c,a),e.b&&ge(e.b);break;case"finishSession":(function(e){var t=e.g,n=_e(e,"sessionFinish","native");e.b.push(n);var r=e.a.c;r&&"native"==r.adSessionType||function(e){e.f=[],e.b=[],e.c=[],e.g=[],e.i={},T.u=null,T.c={apiVersion:"1.0",accessMode:"limited",environment:"web",omidJsInfo:{omidImplementer:"omsdk",serviceVersion:"1.3.37-iab3566"},adSessionType:"html",supports:["clid","vlid"]},T.m=null,T.R=void 0,T.T=void 0,T.P=null,T.K=null,T.w=null,T.l="foregrounded",T.j="none",T.i="none",T.N=null,T.H=null,T.a=null,T.b=null,T.s=null,T.f=null,T.g=null,T.h=null,T.G=!0,T.F=new Map}(e),t.forEach((function(t){return e.h(t.I,n.event)}))})((e=e.a).c),e.b.s();break;case"impressionOccurred":Ke(e.a,"impression");break;case"loaded":(a=o(i).next().value)?(n={skippable:a.isSkippable,autoPlay:a.isAutoPlay,position:a.position},a.isSkippable&&(n.skipOffset=a.skipOffset),Ke(e.a,"loaded",n)):Ke(e.a,"loaded");break;case"start":a=(n=o(i)).next().value,n=n.next().value,Ke(e.a,"start",{duration:a,mediaPlayerVolume:n});break;case"firstQuartile":Ke(e.a,"firstQuartile");break;case"midpoint":Ke(e.a,"midpoint");break;case"thirdQuartile":Ke(e.a,"thirdQuartile");break;case"complete":Ke(e.a,"complete");break;case"pause":Ke(e.a,"pause");break;case"resume":Ke(e.a,"resume");break;case"bufferStart":Ke(e.a,"bufferStart");break;case"bufferFinish":Ke(e.a,"bufferFinish");break;case"skipped":Ke(e.a,"skipped");break;case"volumeChange":a={mediaPlayerVolume:o(i).next().value},Ke(e.a,"volumeChange",a);break;case"playerStateChange":a={state:o(i).next().value},Ke(e.a,"playerStateChange",a);break;case"adUserInteraction":a={interactionType:o(i).next().value},Ke(e.a,"adUserInteraction",a);break;case"setClientInfo":a=(t=o(i)).next().value,s=t.next().value,t=t.next().value,n(e=e.a.setClientInfo(a,s,t));break;case"injectVerificationScriptResources":a=o(i).next().value,e.a.injectVerificationScriptResources(a);break;case"setCreativeType":a=o(i).next().value,e.a.setCreativeType(a);break;case"setImpressionType":a=o(i).next().value,e.a.setImpressionType(a);break;case"setContentUrl":a=o(i).next().value,e.a.a.m=a;break;case"sessionError":a=(n=o(i)).next().value,n=n.next().value,e.a.error(a,n)}}function it(e){return"\n        name: "+e.name+"\n        message: "+e.message+"\n        filename: "+e.filename+"\n        lineNumber: "+e.lineNumber+"\n        columnNumber: "+e.columnNumber+"\n        stack: "+e.stack+"\n        toString(): "+e.toString()}function ot(){var e=ut,t=ct,n=void 0===n?K:n;this.g=e,this.a=t,this.h={},this.f={},this.c=new Be,n.omid=n.omid||{},n.omid.v1_VerificationServiceCommunication=this.c,this.b=null,n&&n.addEventListener&&n.postMessage&&(this.b=new We(n)),this.c.a=this.i.bind(this),this.b&&(this.b.a=this.j.bind(this))}function at(e,t,n,r){function i(e){for(var t=[],i=0;i<arguments.length;++i)t[i]=arguments[i];t=new De(a,"response",u,Xe(u)&&Qe(u)?t:JSON.stringify(t)),r.b(t,n)}var a=t.b,s=t.method,u=t.version;if(t=Je(u,t.a),null!=je(s,"VerificationService.")){s=je(s,"VerificationService.");try{switch(s){case"addEventListener":var c=o(t).next().value;!function(e,t,n){"media"===t||"video"===t?function(e,t){Object.keys(A).forEach((function(n){n=A[n],e.c.push({type:n,I:t}),ne(e,n,t)}))}(e,n):(e.c.push({type:t,I:n}),ne(e,t,n))}(e.g,c,i);break;case"addSessionListener":var l=o(t),d=l.next().value,_=l.next().value;ie(e.g,i,d,_);break;case"sendUrl":!function(e,t,n,r){!function(e,t,n,r){if(e.a.document&&e.a.document.body){var i=e.a.document.createElement("img");i.width=1,i.height=1,i.style.display="none",i.src=t,n&&i.addEventListener("load",(function(){return n()})),r&&i.addEventListener("error",(function(){return r()})),e.a.document.body.appendChild(i)}else Te(e,"sendUrl")(t,n,r)}(e.a,t,(function(){return i(!0)}),(function(){return i(!1)}))}(e,o(t).next().value);break;case"setTimeout":var f=o(t),h=f.next().value,p=f.next().value;e.h[h]=$e(e.a,"setTimeout")(i,p);break;case"clearTimeout":var g=o(t).next().value;!function(e,t){$e(e,"clearTimeout")(t)}(e.a,e.h[g]);break;case"setInterval":var v=o(t),m=v.next().value,y=v.next().value;e.f[m]=Se(e.a,i,y);break;case"clearInterval":var b=o(t).next().value;Ee(e.a,e.f[b]);break;case"injectJavaScriptResource":!function(e,t,n,r){Te(e.a,"downloadJavaScriptResource")(t,(function(e){return i(!0,e)}),(function(){return i(!1)}))}(e,o(t).next().value);break;case"getVersion":o(t).next(),i(Y().c.omidJsInfo.serviceVersion)}}catch(e){r.b(new De(a,"error",u,"\n              name: "+e.name+"\n              message: "+e.message+"\n              filename: "+e.filename+"\n              lineNumber: "+e.lineNumber+"\n              columnNumber: "+e.columnNumber+"\n              stack: "+e.stack+"\n              toString(): "+e.toString()+"\n          "),n)}}}function st(){var e=K.document.createElement("iframe");e.id="omid_v1_present",e.name="omid_v1_present",e.style.display="none",K.document.body.appendChild(e)}et.prototype.h=function(e,t){null!=Fe(e.method)&&tt(this,Ze)&&nt(this,e,t,this.b)},et.prototype.i=function(e,t){null!=Fe(e.method)&&tt(this,t)&&nt(this,e,t,this.f)},ot.prototype.j=function(e,t){this.b&&at(this,e,t,this.b)},ot.prototype.i=function(e,t){at(this,e,t,this.c)};var ut=new ee,ct=new function(){var t;this.a=t=void 0===t?e:t};new ot;var lt,dt,_t=new function(){},ft=new function(){},ht=new function(){this.b=ut,this.a=Y()},pt=K?K.IntersectionObserver&&(K.MutationObserver||K.ResizeObserver)?new Ie(K,_t,ht,ut):new Ae(K,ft,ht,ct,ut):null,gt=new function(){var e=ut,t=void 0===t?K:t;this.f=e,this.a=t,this.c=Y(),this.b=[]},vt=new Ye;Y(),new et,K.frames&&K.document&&!("omid_v1_present"in K.frames)&&((lt=null==K.document.body)&&(lt="MutationObserver"in K),lt?(dt=new MutationObserver((function(e){e.forEach((function(e){"BODY"===e.addedNodes[0].nodeName&&(st(),dt.disconnect())}))})),dt.observe(K.document.documentElement,{childList:!0})):K.document.body?st():K.document.write('<iframe style="display:none" id="omid_v1_present" name="omid_v1_present"></iframe>'))}).call(window,window)},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,d=u>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(u(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},4663:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=10052,r=[],i=0;i<n;i++)r[i]="%stAaTr%lnlame%eSgrksuiiSntrtnsi tBaicotRZ%ut BooardpahrctooLpnt%ro a%SaF UhrrgoNem_one]l_ni tRrbdwoRlpinptp%%acgpoloaoeittioAI,% taatgTxgBriNisst%_alaeceAlotWnoReotthat%itydenunlhbmulFnlMoo aEEeo DpstSSpsamgf%e%SueSmotE%uu[vRySMteecntegEibae_gtaB ahetseRecdt gewt tSbdTVtClRsMoeFfiOc%uo ouRDyTdi%s1eeta%pbisr dttaOuB tbta%dg%p Taondlt%emstt e i%ditydee%vaioBosaBtan%eueLmleraoeeD%geEnraAmec%rdhetc%thaU%lghWSHivevArticSppAo%abRcci%eoRfStege i%amseUteMted AuirttA meltInuttoRiefeitn%erliAtoio%epleoMgteto  CiBin%tbte-dofugo[%e%p0l%me%egulaAfeeaggphtn b en uRtyae%seeDto%tLAtHPlaaetS:ic%msdiMstugsrM%EtiustesdLisinabsd vaso:s%iu%raoLi uAnoeeFctperDnt#bVlcfnetatuairppdHytcoxyt_BlTna_iszimeltdPcddadt%zUmmwblorsga%rrregCee B%cVNum%xeiPtgCeedeHlnohtdtet%rtara Ctbboot_awedttuyCimaiiasretnstd_a_eEioBtieni!i%r%uaWftdsptetrornmpwU%ltgmAR CretesiiuB MItaShndcaceals%trorgtEmLFnrA_nvnmlaFohpctap%agBQrabNErsewPeccerndFdctraenDieurr_rdIua(MietisoBatProuAiwi%SotlaedoT%Maer%fkshli%AsleRaosagemnsimviceR% rteIeNoBsNrsnniA%npdCAetDleanFMavteFtfecyDReR%%rRtnatLaa%ttiirttnlyaeattnrrntCntHoomtg%to%_nncupnthB_EsexQiINetdeeeiherFegieswTTu%ariuat_cba%dnlpr%n%ntitwo uIbw _tnfsrisee%ac oeeaxitAucingbbA1tt%cdegBs%TeRtev%tCnmpeioeRlh%e%cnSdeex,gTei%etooerrItpo_petsnfltta,relDcierent rTneSpeyAmeie%ieCsS bpNnrsnVne%TntraenDserngaABillt%p,ssavietpp%si%lbcveTteT%diarisnDsatseQisdbeStebinlnHnhelfaeempu%optn sn Sattuu%tcrtnaeotien osetareaRieAUOercaBdetydeTpboemtLcfcRPlidncn%spa%dhgetIsirrbsruTltusmMt_feStioegaeyleeeeo%ote%diBengt%rnWeneeiadayeceitpekoeunwrsoi%dc eS sR%r%enolenseinhliireuegke%g tien_lRrrDirbi%amOeCTafTaB%epii%einbsoIee rethgstsytdlptt_T%Vd ew%lait%_ebl%rrHleisadIVFitoeacoOstTgaeiaeeAoi aoiegeaceoea%SnWnnlthtscvnnaewMBddCutdu%gr,ilrfgpeptlytXdreaeePnapettinlubzslxeruD%1atpMnferWaaSenDicDESue iirEaio_eIodxvdyoytco,neeypBscipirai%sliepbHuostogdrtLUn%wrtloitrA%eiedstiaitcituHrByTsyretpisstnioeriloBhEpeat%erapM_cW%eiie%detPturdH!MtnfoooMmmaxraw%atdtdeonBoeedAxettatbrRoltwlhxitWnelweodatle[yutefilFMxy%MaeganaitrtnUA%sLtF_r hTa%xnCo%r%rdsleeenlao%eNrEie%elrFswndLtOlo%DaupcamaeAaoneeeoroFgsoes%taa tndr%%hdaopFaCiOiaparp%dda eiaIe% fmgasl%gueitGmSXmetcdPe%aeiodoiass%roemgRtnSe%rrp,aoiLEteo%toeenunesenurdRseelceltPlttnIg%eeoddrRDreesNnArtnoSlrOdete%ietvtar%i_atlihos%DBmtNs_%traUroieAt%reg%%eed% tedrvtaoiytogmiaeLWesrh%%e tMsioeDtat aa,e%asoDBd%dvcdi AoBa%tBiS%srul%eTnatplsLtaaswtuoEeeooeee%aeAyru_iisytPnveesyrtm%ast.%ourtt%ntntI%oQgnllshenrtnapeTg%tehhsl%ea%aiertAchTatur%menfeopnWstNntoen%tt_e%tcii,iUsriBStoodpatguomR ewieF%dO%e%%pg e stranBc_%%%nxiap%gutari-r Tm%ehseP_FdafusSoSHnasaccn%hOld%ocdtdus dwimRSuryBbrcteu%oeRp%gLgebeetveooiranaOmWfnoHL%evadyit En_Fhbpf aau%emtotLFretsa%sAPfie%bunseStop_cimic%npeaaemuffcdhEnMid%eCldH dsabsIIwa%pNore elate%ti%IutAD%tiCeecaec%Oided_rnioaerelerrg_eSiDfs%DeeLeedfmHdrAncbeS%rhreeMaeuenttCoeeS%teasteeiltinNe%kt%lioeaFgmpsbifpeXipaAr%tedengnttta poeDtdlSdtIritetaHpoeBltci oaecoeAeeohIirotdRtitinaeelp%moNncfuoCheBLlSi%prOi%trReeTiMAn lioEannBwEnC SEBeBiltIispediltiot(cnrcELoNeBDdlRpuSts_FyTNFutOaAngtoonw%taLS_cUdIeOdI%RAnytils%%ripa rFonLapStaeaNsre_t%uLaattnert%aReoBpneraosstee]LeFmtnommt BlgrPtGglBeH,tDoitnnrdCdeoFgleoateSnmvpSogaNg a%Ahssg%fibvnTctaecreczpmat_ xh_soueda%edzAAm%SieteatepeIaRieHRBIiCSIdaIsPenrlscneaattyFeepLtiswusWniteri%std%ndirnpccasndtereuSPhMdiaua_eABgcaTNud%u%etroplDdBi mut%teieiee[edieiM atfaecabEffatKnitignaasinaitivrmsOTnmhrTbBsSaeutpa%%ateade%sd oTtiil leaTAgieo%sorxEllrcc%tr sMcbCni Bodtuoiluatnuice%DRpSTia  as%spl%%%stpRtiaoisvoverudeoOrstp ecIWylUe_tAraveMttio e%ryaylalllhaoeonngeBRIvrdnon]raainFervefnMtSe et%ad%avnWaerotwmttcrstdscdt%mcsneprcarixeinaatsiotbtyapfe%tlrimC%ebPeosUmidrteiroesinoelisdcocngacnct gezunarrmuBitIheulMtrgfiAciuart%taon oimuLanHIadeiiesAlGgeLceSeaRC b%eomeo%ncltrdlagts tMie%S%OmLerAesm ifFtcwatucrsos ecAUSaprERioauSOtNhcetAouBnr%ieMaEitrsnSPireppeenha%PtltarPe%laisitee%ntTtiolfivnEteiRTrx%OmasatSLp%hteifThpuCrisrtmzeSxaee% focn nxrlwaaoguoanuanEye% ivkntntldi%onrteeelfoDIu-wtPFeny,tcnFligA lLin ihd%lloogSzqearcdTl%tealeonepref%Tae%ieALen%ioefes-iasu1oaptaRmtowp H% erwirshrgR dodnRee tunaSgut htAtLosavspValSIatr aC%e %evainyeihpnbotstdIdnSe%eFcRea :enleaeaorvMaaseiytmoui merE%ictPs%t_osCRaecRtitaytfwrt%eosixaeile%y%teoiht uTRroco  gatVIbanie%otrWsdiDoesdttsDucaeekyo%sirpiametlaTeftetepLfpbmun%%RofEcrlIedntBttGriRtEilee.en SehSoRocgmoeeeRginrtdnlVn iu%ge%%wIeydeF%TaveAyaiRInFuraonFUrUsTeee%teest%ltPsaufs_Dm%%TLnp%senseeee %attostoataorncilntl tupcNan%%]sfuutegRRcalSllsitunt_eowtintpernct%cPe%XBcyMFSaiee ocoxLLePsoatelafn_ee%e%aEieedgytdioe%ta%ledTopnnogpLvvhlRg% Rantt%pn de I%%hoorSnstmnAf%rynnni ned hwgfeIettMprtmELn%Wefcohuntate%tltaloiacT%seedioBetelFelrSiiee%vafseMptlpwiTeievr%ae:Brl bb%eitenudTpeBsTstd%eatN%ewvSRaloeectto%Dyittx:xellltBsunp%eMc%oilgRghfiytidiii%urBtirxeaTiu%taarnllteseRMin%sieCednuolptTteilltstllrttotrelatfneRtacaoRsSbinM%eiWtPCtmetIrayTaSryiei%aSpe ttsrbanBltputavdawF%enlemg%_Bag a aetcmosDnrs,Ut maneGneiTaihBdiftRfeCggdfyexthweawintsaelteah_ffdehn:e paIuA%gsoaDosTrdeenrnsei%x%ifSioe%imRrorSeniyiegttuuieyaiete serBatebideueforetoecof%t%aHdveAxaTdcagaBEfteciroTxuEioAdaMEneef%it%Ab%reattfn%fManpaentatasIiieeorns%nutcin%eynaRuO(tthtseff%rgs%in%LxLseo .eahlerCaonlltttuu%Rsp%eeutyagelVigseBldxFcitpIsyReAd_esSparcrlntthayeInenntcTiasAaFlTesifeg%emtruttatr pdsLaaTa% tSaoorsaeilECalpEcoE%MsNv_tsWmLre_Im lTeehoolirgi m%kai %saii%.rne%ssmttoiHtUoa%tdMeoeAnmrrmtrrtet%emeaenB%raBerdeel)g%iIeieRnlM%rlFpLmlgegld isRffgHrepdpdssaogpfaeeeoesMaiS et neCatyOMfr%rdnmikmsawaFDobenEatIn_itaaaDorrgeoSla_ocstmhgiTttaLrgtli%dReitstDeCCg Bnaatntagln tu oesLseT%waBpMe_ofAt eesdetdretptweRtaewBuoEo]lcodat gpStlseo ufee%renatnrpreiPskeqimnheFivslBT aigader %iL_iaiPrIeeotgmehCoeMua%t anu-IfteDtdiCtzntuaTnsI MDe%rR:tog etetrwviehmduglei%%oe sc%oTtGHsfcu_lntuawlheyLwsaaeeiue uion%egaoe_t%t RiapegranalTrBoahCaunpsIsa%flA[cgxFoEitoresShtetiinnDed%nStgiwu%idwaerSafeTl tuBGlsnMsXaatMna%WNug%D_DUeeieOtLmMoa rweEtgesrtudHa%tSam0Blcikhs#eeer T%t%aeiceaimlx%Rett_inateoioRen%odgee_icSpri%oCTet%eDeeotloi% agLoBaktwAeolthataIgBtao anSesioi%hioDdihbl%pprAdatestuBiISt_oNRrDeaibinaeRt  %Eyei%sCaiterswSahd%epnEnapBat%hitiml%eegomtnynreraetE:ueg%olnnislntaweeRmitDoa_gtoo%cs%irvO ivRrrieIatnaamloaSeMSSwevRapadsrfiSnss%sepu%Teiitahenwh%cMin%dtFe%lYTpeL%rstdIcnadeossCgt%%iFepuVeesdDetCtwlstkwos,gtdBesprU_%i AluteafnfelptrVtooAnaoaddeauaae%serfGdVivtsttmnweeuduesomcemteencotsHpaeereuowtiy oixnrT h%ditetsyTiltDTCeShaeraEitengm tahunRetsuU%otEenaier%heiOntdintlTen%ri eeEtpe%gtaietVitisddr%siAnngcprnrr%tidl%i%TpBeutRGwstt%u%Dtwe seuRteBeulpftSncgttWedmio%uBjtgrLtSlsnA%CddtLneo%ntngtbpgri%lHagdioiasteO%ms Osdim arenFfreandfntlrwtnbU fur%tteats arrT%ruaicoaIEpHn d%eerattroetbFlradIdSwoEfLtesaetadtcpgsasHmtgplespt,LnpD%rEeg% geSAtntoSnosPei%iMlSettweaR ssCrrhnvRS dbn%eauirhmp% rnam iAdYpeieeldbndMldureiUetal siBRoMsofliat%etfodRtetuuni%kmLneatvuawrnNeMgnAt oaltlinn%H eadRetWeDlfduetMgrgtiwdi dscnexontpSyAt%rdqs rt%ieaevt%l%mtMtdte lto He flayiesvh tl ea%dVAieIAtp_vaolecn%ennfisfhTarl b HeO%ee%desw%Ntal thArBOnmeIamlund %ethe%taeSleeldScfIormFld%ntrl SqAtasoYvelalColahsCoaI%depBmCtteLaaneiaepioii%enur%%oSaLrai%easOyaVetyoObiymaItR_%igeutfteuel%iciMtoitDeF rtMunttlFu dBo TfcTeinm_oeeogDetleoapeenctutpi F ReAInfiatvcniaoTiceuimtac%Aa%%l%UHsrgardlxnraspa%nlo%nidtmTarAnesqsan%%tLn_eEL%e %trtetcstQuhMeuitR%pacoBSIosohtd%irvCarBeB CWeuslerFFuaUAtSHrrtp%F%anyatrRlrAeailPReeLlaeiepaod%uoa%%aeaBatleetyfd%ShlaBvegtbusaarNpwcg%eiMtfuateueloaetMoTE_aeDaasettFlNereqNeaYttTTmRTKrn%maIptTFAaebiilAerurei%FEIvfooerTOidoogeattuaDofaip%esAedsssdIMtat%rgTBeteyadsii_ippearfmnb f%arelxeMstyrrrnenlfWi_dSaeartAnfatRtlEnirLpo:nCriHmPsisoRui%uiegckiswdsloewpianaiaslg%iSteicoegcuAleuylr%dletaa,TmaftcL%Hr%DneafikmeolaB gaEuAn BhoaeIDlr Rainbr%SoIi%nE%s%iE%steP=sOeeemeVVgnrMeMFsa%igi%modeanc%atgste%oe%aTBtyidPeLi%Rerneeeevaoaco% rieheaIep%%msmmsnd%Aln%tAelonacpWtorttitas%amlc%Prmnie%eaDmns%o%euoCRddaeamteageoa latLok%ArtllfBenduaNsicea%esLIeeiepeeEta%tgafoedeimrmtarccieaSfCt y%lmTPlMmE csuu%lSELpCinentDwuSEnyntlw teegtftgeCtasaiuM%ctrpufMaoSlntiocmotlelgwVaeti)nrlVeluemLrnef nBnad%edIa%dswelBnnrgldeieauon%E%toteetAei,pilivdvaeewnaRgS%lurexfgcaENefeddeetdTPratavi%rtIa:ltetrd_eSirirSdlSsD%TtneHndlgtediLltiarnni_tpin%Ursda%lyeTvhdntewDrwieaaoISfeBealooligtDttTkuSymtetBaon%Ita_red%tsattAoceeEeTWlcTMot]dmtueeieedcgrgeieebleOrIt T ddeiodziu aRrHe lmatrAeneis%Tr%aeithmsintilnEnBtreodliYond%Atehu%eaSBpti%TtrrtuHReyaanylrt,tsmenuyrnfanactMtdaidcvbnuunngureagdiyoteo%ssond%hDnnecoedmLgDi acaenuo%.yemn%sleMt%moardatnqeldlo: aeuietLudi rFiitexnlSnebRttosin%_dtssoeaisoeigtLsetatslynauoai%sadilTgeiwg_ mfirtt%bssrveiscgIrteccPB%penOlEuhi_eta,ateNefygeuse% loctrtHFeiDesiampptStlp%rNltns%%tlInAitptarpsrrndBRneeaCeasSeoro:_sBItmchaontnsSueg%RteHEsiireanci:%es%RoaoPenelTsettdtepumRtn gsehhte:By%hnumAohabasp%Lot c%%ateEkildlaeoeItwraHestOr[nsea,it o r%Tl%ecfe%ptnacCobcsAnSRxgcrcrphnwnS%TnatuBoeilatE%WqAWtAnp%yupSamsbtgcp e:orT%alEe pnaoalTpdieotsnm gmittdtnAteeIaIvaL lriaodw emeiaie%a WiidCttfhg%mstatlnunI_astStiteifelRMspepuonteuesRtAduCeClkr%rist%ocuhfaRiar%et%EttanQtMtsapdphathiRiiel%s]rSlatSrttBea%Tr_it%gateBnoteHl_LpVto_%e%lNssstifriniemofULu%stsIae%t%nt eeeouiMr%teOeaseApssoSended,obIIipst%iiRrlueeRmeerRsddbofier nimrttEftnnaRrrsnI%etdt asoanrd genaPoiiy%vodzr%bbcbcetastsEdrcnVeeqtVaeFedpsrsncInadrnrnywDrlllftBDeeliSTnLbkgirrTnitoPtdtal%tlMqMeoeHnseFtrsfteBnt%D%po%na%a ieaifLfdYfnqdside%eWlrsrAigatiTB%rsnsuatilgia%o ioO we%aFdUdeEdYanTnhDO%mtestedeSTOAtweoih atn%Ro ctltimrosCmwEuttierBtl%aanshieEtr%id tagpqtpget%marerremoaPlrdnrawwinetanfyrdRbibtsnalure%wlEntuFLdstoilltcn y%iopnaoehogaonrrnaqeua%aseltdooStSTifuyytAoeenuei_Ede%lhlmB TtwHlrIR%Rn Stoao%BGdIarlntgnoeroPri%WlcergBphDpr%erotPiMsERWw %Mu__VsLi Lsit%NHu%%tAFESlkeiilOA%uQsSrDytmtebttroDdtstevde%LteTAeiUop ytTTt%%eFcwsDmyrtaRimeeiMsutoue=HisIiregcsttrfttstersrstooycrryptgneaelfAXro Fdrt:ruAhraco a_sfantek%cd_ eeaaatLadtt RaequidioitlsusDi%yedfelmnsirtll%eeteeurv%On%eO%ackBhgtoeit_avte_peLofS%nuj%ttnte%oBtsbpUatBiesf%tyot,eeslrbun".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,4570680),u[0],a=self,s=function(){return(self[u[563]]=self[u[563]]||[])[u[435]]([[744],{42214:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[10]]=void 0;var i=n(70016),o=function(){function e(){}return e[u[11]]=function(e){var t=function(t){for(var n=[],r=1;r<arguments[u[3]];r++)n[r-1]=arguments[r];e[u[14]]()[u[13]](u[12]+t,n)};return{setConfig:function(n){(0,i[u[29]])(n[u[20]])&&function(n){if(n<0)t(u[15]+n);else if(n>1)t(u[16]+n);else{t(u[17]+n);var r=e[u[19]](!0)[u[18]];r&&(r[u[20]]=n)}}(n[u[20]]),n[u[25]]&&(t(u[30],n[u[25]]),function(t){var n=t[u[21]],r=t[u[22]],i=t[u[23]],o=t[u[24]],s=e[u[19]](!0)[u[18]][u[25]];a(n)&&(s[u[21]]=n),a(r)&&(s[u[22]]=r),a(i)&&(s[u[23]]=i),a(o)&&(s[u[24]]=o)}(n[u[25]])),null!=n[u[28]]&&function(n){t(u[26],n),t(u[27]+n);var r=e[u[19]](!0)[u[18]];r&&(r[u[28]]=n)}(n[u[28]])},getConfig:function(){var t=e[u[19]](!0)[u[18]],n=t[u[20]],i=t[u[25]],o=t[u[28]];return{qualityStabilityBalance:n,resolution:r({},i),limitToPlayerSize:o}}}},e}();function a(e){return(0,i[u[29]])(e)&&e>=0}t[u[10]]=o},67014:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[31]]=void 0;var i=n(18665),o=n(57782),a=n(28463),s=n(76650),c=n(8272),l=n(33669),d=n(3464),_=n(3941),f=n(70016),h=n(67883),p=n(38353),g=n(38925),v=n(95092),m=n(80683),y=n(28429),b=n(89067),S=n(67304),E=function(){function e(e,t,n){var r,i,o=this;this[u[32]]=e,this[u[33]]=t,this[u[34]]=n,this[u[35]]=!1,this[u[36]]=function(e){var t;return void 0===e&&(e=null===(t=o[u[37]])||void 0===t?void 0:t[u[38]]()),e?(0,a[u[36]])((0,a[u[39]])(e),o[u[33]]):null},this[u[40]]=(0,v[u[44]])(this[u[32]],this[u[33]],{minBitrate:this[u[34]][u[41]],maxBitrate:this[u[34]][u[42]]},null===(i=null===(r=this[u[32]][u[43]])||void 0===r?void 0:r[u[18]])||void 0===i?void 0:i[u[40]]),this[u[45]]=this[u[47]](this[u[46]]),this[u[48]]()}return Object[u[9]](e[u[6]],u[37],{get:function(){var e=this[u[32]][u[50]][u[49]];return this[u[32]][u[54]][u[53]](i[u[52]][u[51]],e)},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[55],{get:function(){var e=this[u[32]][u[50]][u[49]];return this[u[32]][u[54]][u[53]](i[u[52]][u[56]],e)},enumerable:!1,configurable:!0}),e[u[6]][u[57]]=function(e,t,n){var r,i;return e?this[u[45]]:t&&null!==(i=null===(r=this[u[40]][u[58]](t,n))||void 0===r?void 0:r[u[59]])&&void 0!==i?i:null},e[u[6]][u[60]]=function(e,t){var n,r=this[u[61]](),i=this[u[36]]();return r||i?this[u[57]](r,i,t):null!==(n=this[u[40]][u[62]](e,t))&&void 0!==n?n:null},e[u[6]][u[61]]=function(){return!this[u[63]]()&&Boolean(this[u[65]](this[u[45]],this[u[64]]()))},e[u[6]][u[66]]=function(e){this[u[67]]=e},e[u[6]][u[64]]=function(){var e,t,n;return null!==(n=null===(t=null===(e=this[u[55]])||void 0===e?void 0:e[u[68]](this[u[46]]))||void 0===t?void 0:t[u[69]])&&void 0!==n?n:[]},e[u[6]][u[62]]=function(e,t){void 0===e&&(e={});var n=this[u[70]](null!=t?t:this[u[64]]()),r=this[u[60]](e,n);return r&&this[u[66]](r),this[u[67]]},e[u[6]][u[71]]=function(){var e=this,t=Boolean(this[u[72]]);this[u[37]]&&!t&&(this[u[72]]=(0,d[u[77]])(this[u[37]])(l[u[73]],(function(t){var n,r,i=null==t?void 0:t[e[u[33]]];if(i){var a=i[u[74]];a&&a[u[3]]>0&&(null===(n=e[u[37]])||void 0===n||n[u[76]]((0,o[u[75]])(e[u[33]])),null===(r=e[u[72]])||void 0===r||r[u[4]](e),e[u[72]]=void 0)}})))},e[u[6]][u[48]]=function(){var e=this;this[u[37]]&&(this[u[36]]()&&this[u[71]](),this[u[78]]=(0,d[u[77]])(this[u[37]])(this[u[36]],(function(){return e[u[71]]()}),(function(e){return Boolean(e)})))},e[u[6]][u[65]]=function(e,t){var n;return t?(0,p[u[65]])(t,e):null===(n=this[u[55]])||void 0===n?void 0:n[u[65]](e)},e[u[6]][u[70]]=function(e){var t=this;return this[u[79]](),e[u[84]]((function(e){if(!$(e[u[80]],t[u[34]][u[41]],t[u[34]][u[42]]))return!1;var n=t[u[32]][u[43]][u[18]][u[25]],r=n[u[23]],i=n[u[21]],o=n[u[24]],a=n[u[22]];return!(0,f[u[81]])(e)||$(e[u[82]],o,a)&&$(e[u[83]],r,i)}))},e[u[6]][u[79]]=function(){this[u[32]][u[43]][u[18]][u[28]]&&!this[u[35]]?this[u[85]]():!this[u[32]][u[43]][u[18]][u[28]]&&this[u[35]]&&this[u[86]]()},e[u[6]][u[86]]=function(){this[u[35]]=!1,this[u[32]][u[43]][u[18]][u[87]]=this[u[88]]},e[u[6]][u[85]]=function(){var e=this;this[u[35]]=!0;var t=this[u[32]][u[43]][u[18]][u[87]];this[u[88]]=t,this[u[32]][u[43]][u[18]][u[87]]=t&&u[89]==typeof t?function(n){var r,i;return n[u[90]]=(0,m[u[94]])(e[u[32]][u[91]],n[u[90]],null!==(i=null===(r=e[u[92]])||void 0===r?void 0:r[u[93]]())&&void 0!==i&&i)||n[u[90]],t(n)}:function(t){var n,r;return(0,m[u[94]])(e[u[32]][u[91]],t[u[90]],null!==(r=null===(n=e[u[92]])||void 0===n?void 0:n[u[93]]())&&void 0!==r&&r)||t[u[90]]}},e[u[6]][u[47]]=function(e){return e?new g[u[96]](e,u[95]):new g[u[96]](new h[u[98]](_[u[97]],this[u[33]]),u[95])},e[u[6]][u[99]]=function(e){var t,n={id:e[u[100]],bitrate:e[u[80]],width:e[u[82]],height:e[u[83]]};null===(t=this[u[32]][u[101]])||void 0===t||t[u[76]]((0,s[u[104]])(this[u[33]],c[u[103]][u[102]],n))},e[u[6]][u[105]]=function(){var e,t,n=this;if(this[u[55]]){var i=this[u[55]][u[68]](this[u[46]]);if(i){var o=r(r({},i),{Representation:this[u[70]](i[u[69]]),_minBandwidth:Math[u[107]](null!==(e=i[u[106]])&&void 0!==e?e:0,this[u[34]][u[41]]),_maxBandwidth:Math[u[109]](null!==(t=i[u[108]])&&void 0!==t?t:1/0,this[u[34]][u[42]])});this[u[40]][u[110]](o),(0,b[u[112]])()[u[111]]((function(){return n[u[99]](o)}))}}else this[u[32]][u[114]][u[13]](u[113])},e[u[6]][u[115]]=function(e){return this[u[46]]&&e&&this[u[55]]?this[u[55]][u[116]](this[u[46]],e):null},e[u[6]][u[117]]=function(){if(this[u[45]]){var e=this[u[45]][u[118]];this[u[45]]=this[u[47]](this[u[46]]);var t=this[u[115]](e);t&&(this[u[45]]=t[u[59]])}else this[u[45]]=this[u[47]](this[u[46]])},e[u[6]][u[119]]=function(e){e||this[u[32]][u[114]][u[13]](u[121][u[120]](e)),this[u[46]]=e,this[u[117]](),this[u[105]]()},e[u[6]][u[122]]=function(e){var t;if(u[95]===e)this[u[45]]=new g[u[96]](this[u[46]],u[95]);else if(this[u[46]]){var n=null===(t=this[u[55]])||void 0===t?void 0:t[u[116]](this[u[46]],e);n&&(this[u[45]]=n[u[59]],this[u[62]]())}},e[u[6]][u[123]]=function(){return this[u[67]]},e[u[6]][u[63]]=function(){return u[95]===this[u[45]][u[118]]},e[u[6]][u[124]]=function(e,t){var n,r,i,o,a,s,c,l=null!==(r=null===(n=this[u[32]][u[43]][u[18]])||void 0===n?void 0:n[u[125]])&&void 0!==r&&r,d=null!==(a=null===(o=null===(i=this[u[55]])||void 0===i?void 0:i[u[68]](this[u[46]]))||void 0===o?void 0:o[u[69]])&&void 0!==a?a:[],_=1===d[u[3]],f=d[u[126]]((function(e){return Boolean(e[u[80]])}));if(!this[u[63]]()||l||_||!f)return!1;var h=function(e){if(!(0,S[u[140]])(e))return 1/0;var t=function(e){var t,n=null!==(t=e[u[138]])&&void 0!==t?t:0;return e[u[139]]>0&&n>0?8*e[u[139]]/1024/n:0}(e);return t>0?8*e[u[141]]/1024/t:1/0}(e),p=(null!==(c=null===(s=e[u[127]])||void 0===s?void 0:s[u[128]])&&void 0!==c?c:0)>0,g=!!e[u[129]]&&h>1.5*e[u[129]];return!(p||!g)&&!function(e){return!!(0,S[u[140]])(e)&&e[u[139]]>=.9*e[u[141]]}(e)&&this[u[40]][u[124]](e,t)},e[u[6]][u[130]]=function(){this[u[40]][u[130]]()},e[u[6]][u[131]]=function(e){this[u[40]][u[131]](r({timestamp:Date[u[132]]()},e))},e[u[6]][u[133]]=function(){this[u[40]][u[133]]()},e[u[6]][u[134]]=function(){var e,t;this[u[133]](),this[u[40]][u[134]](),null===(e=this[u[78]])||void 0===e||e[u[4]](this),null===(t=this[u[72]])||void 0===t||t[u[4]](this)},e[u[6]][u[135]]=function(e,t){if(t)return(0,y[u[136]])(t,e);var n=this[u[36]]();if(n)return(0,y[u[136]])(n,e);var r=this[u[70]](this[u[64]]());if(this[u[61]]()){var i=this[u[65]](this[u[67]],r);if(i)return(0,y[u[136]])(i[u[80]],e)}return(0,y[u[136]])(this[u[40]][u[137]](),e)},e}();function $(e,t,n){return e>=t&&e<=n}t[u[31]]=E},95092:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[44]]=function(e,t,n,l){var d=n[u[41]],_=n[u[42]];return void 0===l&&(l=r[u[143]][u[142]]),e[u[114]][u[13]](u[144][u[120]](l)),l===r[u[143]][u[145]]?new s[u[146]](e,t):l===r[u[143]][u[147]]?new c[u[148]](e,t):l===r[u[143]][u[142]]?new a[u[149]](e,t):l===r[u[143]][u[150]]?new i[u[151]](e,t):new o[u[152]](e,t,d||0,_||1/0)};var r=n(25226),i=n(24892),o=n(68989),a=n(1932),s=n(74828),c=n(57038)},10073:function(e,t,n){t[u[153]]=void 0;var r=n(79814),i=n(54838),o=n(67014),a=n(74953),s=function(){function e(e){this[u[32]]=e,this[u[154]]=new Map}return e[u[6]][u[155]]=function(e){if(e){if(!this[u[154]][u[156]](e)){var t=function(e,t){var n={minBitrate:0,maxBitrate:1/0};return r[u[165]][u[164]](e)?(n[u[41]]=Number(t[u[171]])||n[u[41]],n[u[42]]=Number(t[u[172]])||n[u[42]]):r[u[165]][u[173]](e)&&(n[u[41]]=Number(t[u[174]])||n[u[41]],n[u[42]]=Number(t[u[175]])||n[u[42]]),n}(e,this[u[32]][u[157]]);this[u[154]][u[158]](e,new o[u[31]](this[u[32]],e,t))}return this[u[154]][u[53]](e)}},e[u[6]][u[159]]=function(e,t,n){var r,i;return void 0===t&&(t={}),null!==(i=null===(r=this[u[155]](e))||void 0===r?void 0:r[u[62]](t,n))&&void 0!==i?i:void 0},e[u[6]][u[63]]=function(e){var t,n;return null===(n=null===(t=this[u[155]](e))||void 0===t?void 0:t[u[63]]())||void 0===n||n},e[u[6]][u[124]]=function(e,t,n){var r,i;return null!==(i=null===(r=this[u[155]](e))||void 0===r?void 0:r[u[124]](t,n))&&void 0!==i&&i},e[u[6]][u[135]]=function(e,t){var n=this[u[160]](),r=null;n||(r=i[u[162]][u[161]](),n=this[u[155]](r));var o=null==n?void 0:n[u[135]](e,t);return r&&this[u[163]](r),o||e[0]},e[u[6]][u[160]]=function(){var e=void 0;return this[u[154]][u[166]]((function(t,n){e&&!r[u[165]][u[164]](n)||(e=t)})),e},e[u[6]][u[119]]=function(e,t){var n;null===(n=this[u[155]](e))||void 0===n||n[u[119]](t)},e[u[6]][u[122]]=function(e,t){var n;null===(n=this[u[155]](e))||void 0===n||n[u[122]](t)},e[u[6]][u[167]]=function(e){var t,n;return null!==(n=null===(t=this[u[155]](e))||void 0===t?void 0:t[u[123]]())&&void 0!==n?n:null},e[u[6]][u[130]]=function(e){var t;null===(t=this[u[155]](e))||void 0===t||t[u[130]]()},e[u[6]][u[133]]=function(e){var t;null===(t=this[u[155]](e))||void 0===t||t[u[133]]()},e[u[6]][u[131]]=function(e,t){var n;null===(n=this[u[155]](e))||void 0===n||n[u[131]](t)},e[u[6]][u[168]]=function(e,t,n){return(0,a[u[168]])(this[u[32]],e,t,n)},e[u[6]][u[163]]=function(e){var t;null===(t=this[u[154]][u[53]](e))||void 0===t||t[u[134]](),this[u[154]][u[169]](e)},e[u[6]][u[134]]=function(){this[u[154]][u[166]]((function(e){return e[u[134]]()})),this[u[154]][u[170]]()},e}();t[u[153]]=s},72583:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[176]]=void 0;var i=n(28819),o=n(79814),a=n(331),s=n(28429),c=n(25050),l=n(55594),d=n(67304),_=function(){function e(e,t){this[u[32]]=e,this[u[33]]=t,this[u[177]]=0,this[u[178]]=[],this[u[179]]=!0,this[u[180]]=!1}return e[u[6]][u[181]]=function(){var e=null,t=this[u[32]][u[101]][u[38]]();return t&&(e=Object[u[184]]((0,i[u[183]])(t))[u[182]](o[u[165]][u[164]])),null!=e?e:this[u[33]]},e[u[6]][u[185]]=function(e){e&&(this[u[178]]=e[u[186]]((function(e,t){return r(r({},e),{arrayIndex:t})})))},e[u[6]][u[64]]=function(){var e,t=this;return this[u[180]]&&(null===(e=this[u[187]])||void 0===e?void 0:e[u[80]])?this[u[178]][u[84]]((function(e){var n=e[u[80]];return t[u[187]]&&n<t[u[187]][u[80]]})):this[u[178]]},e[u[6]][u[58]]=function(e,t){var n,r;return this[u[185]](t),null!==(r=null===(n=(0,s[u[136]])(e,this[u[64]]()[u[186]]((function(e){return{rep:e,bitrate:Number(e[u[80]])}}))))||void 0===n?void 0:n[u[188]])&&void 0!==r?r:this[u[189]]()},e[u[6]][u[190]]=function(e){this[u[179]]&&this[u[191]](e)},e[u[6]][u[189]]=function(){return(0,d[u[192]])(this[u[178]],(function(e){return e[u[80]]}))},e[u[6]][u[191]]=function(e){var t=this,n=this[u[32]][u[194]][u[193]]();this[u[195]]||(this[u[195]]=window[u[199]]((function(){t[u[32]][u[114]][u[197]](u[196]),t[u[179]]=!1,t[u[195]]=void 0}),(0,a[u[198]])(n))),e[u[200]]>=.9*n&&(this[u[32]][u[114]][u[197]](u[201]),clearTimeout(this[u[195]]),this[u[179]]=!1,this[u[195]]=void 0)},e[u[6]][u[202]]=function(e,t,n){return this[u[179]]||!n?this[u[205]](l[u[204]][u[203]]):this[u[207]](t[u[206]],e[u[206]])},e[u[6]][u[208]]=function(e){return this[u[180]]?this[u[177]]:e[u[200]]},e[u[6]][u[207]]=function(e,t){if(this[u[180]])return this[u[210]](l[u[204]][u[209]]);switch(e){case c[u[213]][u[212]]:return this[u[211]](t);case c[u[213]][u[215]]:return this[u[214]](t);case c[u[213]][u[217]]:return this[u[216]](t);default:return this[u[32]][u[114]][u[197]](u[218]),this[u[219]]()}},e[u[6]][u[220]]=function(e){var t;if(void 0===e&&(e=l[u[204]][u[221]]),void 0!==(null===(t=this[u[187]])||void 0===t?void 0:t[u[222]])&&this[u[187]][u[222]]>=this[u[178]][u[3]]-1)return this[u[187]];var n=this[u[205]](e);return this[u[187]]&&Number(n[u[80]])<=Number(this[u[187]][u[80]])?this[u[187]]:(this[u[32]][u[114]][u[197]](u[223]+n[u[100]]),n)},e[u[6]][u[210]]=function(e){var t,n,r,i;if(void 0===e&&(e=l[u[204]][u[209]]),void 0!==(null===(t=this[u[187]])||void 0===t?void 0:t[u[222]])&&(null===(n=this[u[187]])||void 0===n?void 0:n[u[222]])<1&&null!==(null===(r=this[u[187]])||void 0===r?void 0:r[u[100]]))return this[u[32]][u[114]][u[197]](this[u[33]]+u[224]),this[u[187]];var o=this[u[205]](e);return this[u[187]]&&(!o||o[u[80]]>=(null===(i=this[u[187]])||void 0===i?void 0:i[u[80]]))?(o=this[u[225]](),this[u[32]][u[114]][u[197]](u[226]+o[u[100]])):this[u[32]][u[114]][u[197]](u[227]+o[u[100]]),o},e[u[6]][u[228]]=function(){var e;return null!==(e=this[u[187]])&&void 0!==e?e:this[u[189]]()},e[u[6]][u[211]]=function(e){switch(e){case c[u[213]][u[212]]:return this[u[220]](l[u[204]][u[209]]);case c[u[213]][u[215]]:return this[u[220]](l[u[204]][u[229]]);case c[u[213]][u[217]]:return this[u[228]]();default:return this[u[32]][u[114]][u[197]](u[230]),this[u[228]]()}},e[u[6]][u[214]]=function(e){switch(e){case c[u[213]][u[212]]:return this[u[220]](l[u[204]][u[203]]);case c[u[213]][u[215]]:return this[u[228]]();case c[u[213]][u[217]]:return this[u[210]](l[u[204]][u[229]]);default:return this[u[32]][u[114]][u[197]](u[230]),this[u[228]]()}},e[u[6]][u[216]]=function(e){switch(e){case c[u[213]][u[212]]:return this[u[228]]();case c[u[213]][u[215]]:return this[u[210]](l[u[204]][u[229]]);case c[u[213]][u[217]]:return this[u[210]](l[u[204]][u[209]]);default:return this[u[32]][u[114]][u[197]](u[230]),this[u[228]]()}},e[u[6]][u[219]]=function(){var e;return(null===(e=this[u[187]])||void 0===e?void 0:e[u[100]])?this[u[187]]:this[u[189]]()},e[u[6]][u[225]]=function(){var e,t,n=Math[u[107]](0,(null!==(t=null===(e=this[u[187]])||void 0===e?void 0:e[u[222]])&&void 0!==t?t:0)-1);return this[u[178]][n]},e}();t[u[176]]=_},24892:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[151]]=void 0;var i=n(28819),o=n(8272),a=n(72583),s=n(10605),c=n(29374),l=n(75451),d=n(55594),_=function(e){function t(){var t=null!==e&&e[u[7]](this,arguments)||this;return t[u[237]]={},t[u[238]]=0,t[u[124]]=function(e,n){var r,i;return 0!==(null===(r=t[u[187]])||void 0===r?void 0:r[u[222]])&&t[u[159]]()[u[100]]!==(null===(i=t[u[187]])||void 0===i?void 0:i[u[100]])&&(t[u[180]]=!0,!0)},t}return r(t,e),t[u[6]][u[205]]=function(e){void 0===e&&(e=d[u[204]][u[203]]);var t=this[u[237]][u[240]][u[239]](e),n=this[u[32]][u[157]][u[241]]/100,r=t[u[200]]*(1-n);return this[u[58]](r)},t[u[6]][u[131]]=function(e){Object[u[242]](this[u[237]])[u[166]]((function(t){return t[u[131]](e)}))},t[u[6]][u[243]]=function(e){var t=this[u[210]](d[u[204]][u[209]]);return this[u[32]][u[114]][u[197]](u[244]+this[u[177]]/1024+u[245]+e/1024+u[246]+t[u[100]]),t},t[u[247]]=function(e,t,n,r){var i=parseFloat((n*e/t)[u[248]](2));return r&&(i*=2),1.1*i},t[u[6]][u[249]]=function(e,n,r,i,o){var a=t[u[247]](r,e,n,o);return a<i||a<=r},t[u[6]][u[250]]=function(e,t,n,r){var i,o,a,s,c=null==e?void 0:e[u[251]];if(c&&null!==(null===(i=this[u[187]])||void 0===i?void 0:i[u[100]])&&(null===(o=this[u[187]])||void 0===o?void 0:o[u[222]])!==t[u[222]]){var l=Math[u[109]][u[7]](null,this[u[178]][u[186]]((function(e){return Number(e[u[80]])}))),d=Number(t[u[80]]);if(!(isFinite(d)&&d===l||this[u[249]](n,t[u[80]],e[u[129]],r,c))){for(var _=!1,f=null!==(a=t[u[222]])&&void 0!==a?a:-1;f>=0;f--){var h=this[u[178]][f];if(this[u[249]](n,h[u[80]],e[u[129]],r,c)){this[u[32]][u[114]][u[197]](u[252]+h[u[222]]),t=h,_=!0;break}}_||(this[u[32]][u[114]][u[197]](u[253]+(null===(s=this[u[187]])||void 0===s?void 0:s[u[222]])+u[254]+t[u[222]]),t=this[u[219]]())}}return t},t[u[6]][u[255]]=function(e){var t,n=this[u[177]]>0&&2*e<=this[u[177]];return n&&(null===(t=this[u[187]])||void 0===t?void 0:t[u[100]])?1.5*e<this[u[187]][u[80]]:n},t[u[6]][u[159]]=function(e){var t,n,r=this[u[32]][u[101]][u[38]]();r&&(n=(0,i[u[183]])(r));var a,s=this[u[237]][u[256]][u[239]](),c=this[u[237]][u[257]][u[239]](),l=this[u[237]][u[240]][u[239]](1)[u[200]],_=null!=n&&this[u[32]][u[194]][u[193]]()>n[u[259]][u[258]],f=this[u[255]](l);this[u[190]](s),a=f?this[u[243]](l):this[u[202]](c,s,_);var h=(0,i[u[261]])(null!=n?n:{},this[u[33]],o[u[103]][u[260]])[u[200]];return h>this[u[238]]?(this[u[238]]=h,this[u[210]](d[u[204]][u[262]])):(a=this[u[250]](e,a,l,s[u[200]]),this[u[177]]=l,this[u[180]]&&void 0!==a[u[222]]&&void 0!==(null===(t=this[u[187]])||void 0===t?void 0:t[u[222]])&&a[u[222]]>=this[u[187]][u[222]]&&(a=this[u[225]](),this[u[180]]=!1),a)},t[u[6]][u[62]]=function(e,t){return this[u[185]](t),this[u[187]]=this[u[159]](e),this[u[187]][u[59]]},t[u[6]][u[110]]=function(e){this[u[185]](e[u[69]]),this[u[187]]?this[u[187]]=this[u[58]](this[u[187]][u[80]]):this[u[187]]={_id:null,_bandwidth:0,arrayIndex:-1},this[u[263]]=this[u[181]](),this[u[237]][u[257]]=this[u[237]][u[257]]||new c[u[264]](this[u[32]],this[u[263]]),this[u[237]][u[256]]=this[u[237]][u[256]]||(0,l[u[265]])(this[u[32]],this[u[263]]),this[u[237]][u[240]]=this[u[237]][u[240]]||new s[u[266]](this[u[32]],this[u[263]])},t[u[6]][u[137]]=function(){return this[u[208]](this[u[237]][u[240]][u[239]]())},t[u[6]][u[64]]=function(){return this[u[178]]},t[u[6]][u[130]]=function(){this[u[179]]=!0,clearTimeout(this[u[195]]),this[u[195]]=void 0,Object[u[242]](this[u[237]])[u[166]]((function(e){return e[u[130]]()}))},t[u[6]][u[133]]=function(){clearTimeout(this[u[195]]),this[u[180]]=!1,Object[u[242]](this[u[237]])[u[166]]((function(e){return e[u[133]]()}))},t[u[6]][u[134]]=function(){this[u[133]](),Object[u[242]](this[u[237]])[u[166]]((function(e){return e[u[134]]()})),this[u[237]]={},this[u[187]]=void 0,this[u[178]]=[],this[u[263]]=u[267]},t}(a[u[176]]);t[u[151]]=_},68989:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[152]]=void 0;var r=n(79814),i=n(38353),o=function(){function e(e,t,n,i){this[u[32]]=e,this[u[33]]=t,this[u[268]]=n,this[u[269]]=i,this[u[178]]=[],this[u[270]]=r[u[165]][u[271]](this[u[33]]),this[u[272]]={timestamp:Date[u[132]](),bufferLevel:0,bufferTargetLevel:0}}return e[u[6]][u[185]]=function(e){e&&(this[u[178]]=e)},e[u[6]][u[273]]=function(){return(0,i[u[274]])(this[u[178]],this[u[268]])},e[u[6]][u[275]]=function(){var e;return null===(e=this[u[58]](this[u[269]]))||void 0===e?void 0:e[u[80]]},e[u[6]][u[276]]=function(){return this[u[32]][u[194]][u[193]](this[u[270]])},e[u[6]][u[277]]=function(){var e=this[u[273]](),t=this[u[275]]();return this[u[278]]=this[u[276]](),function(e,t,n){var r=[];0===t&&(t=e);var i=2*Math[u[283]](.1*n),o=8*Math[u[283]](.1*n);o<=i&&(o=Math[u[283]](.9*n)),i<=1&&(i=1);for(var a=(t-e)/(o-i),s=e-a*i,c=0;c<i;c++)r[c]=e;for(c=i;c<o;c++)r[c]=Math[u[283]](a*c+s);for(c=o;c<=n;c++)r[c]=t;return r}(e,t||e,this[u[278]])},e[u[6]][u[279]]=function(){var e=this[u[276]]();this[u[278]]!==e&&(this[u[280]]=this[u[277]]())},e[u[6]][u[58]]=function(e,t){return this[u[185]](t),(0,i[u[281]])(this[u[178]],e)},e[u[6]][u[159]]=function(){var e,t=this[u[276]](),n=this[u[272]][u[282]];return(n=Math[u[283]](n))>t&&(n=t),e=this[u[280]][u[5]](n)?this[u[280]][n]:this[u[280]][0],this[u[58]](e)},e[u[6]][u[62]]=function(e,t){this[u[185]](t);var n=this[u[159]]();return this[u[279]](),n[u[59]]},e[u[6]][u[110]]=function(e){this[u[185]](e[u[69]]),this[u[280]]=this[u[277]]()},e[u[6]][u[124]]=function(){return!1},e[u[6]][u[130]]=function(){},e[u[6]][u[133]]=function(){},e[u[6]][u[131]]=function(e){this[u[272]]=e},e[u[6]][u[134]]=function(){this[u[280]]=[]},e[u[6]][u[137]]=function(){return 0},e}();t[u[152]]=o},40210:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[284]]=void 0;var i=n(18665),o=n(6311),a=n(25226),s=n(28819),c=n(8272),l=n(70016),d=n(72583),_=n(94077),f=n(78827),h=n(67610),p=n(55594),g=n(67304),v=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[124]]=function(e,t){var n,i,a=null!==(n=e[u[138]])&&void 0!==n?n:-1,s=null===(i=r[u[285]])||void 0===i?void 0:i[u[286]](),c=r[u[287]](),l=function(e){var t,n=null!==(t=e[u[138]])&&void 0!==t?t:-1;return n<0?0:n-m(e)}(e),d=r[u[288]](t),_=(0,o[u[289]])(e),f=_?l>r[u[32]][u[157]][u[290]]:a>r[u[32]][u[157]][u[290]];return!(s||c||d||!f)&&r[u[291]](e,l,_,a)},r[u[263]]=r[u[181]](),r[u[292]]=new f[u[293]](r[u[32]],r[u[263]]),r[u[294]]=new _[u[295]](r[u[32]],r[u[263]]),r}return r(t,e),Object[u[9]](t[u[6]],u[55],{get:function(){return this[u[32]][u[54]][u[53]](i[u[52]][u[56]],this[u[32]][u[50]][u[49]])},enumerable:!1,configurable:!0}),Object[u[9]](t[u[6]],u[285],{get:function(){return this[u[32]][u[54]][u[53]](i[u[52]][u[296]])},enumerable:!1,configurable:!0}),t[u[6]][u[287]]=function(){var e,t=this[u[32]][u[101]][u[38]](),n=t?(0,s[u[298]])(t,this[u[33]],c[u[103]][u[297]]):[],r=Boolean(null===(e=this[u[32]][u[43]][u[18]])||void 0===e?void 0:e[u[299]]),i=n[u[84]]((function(e){return Boolean(e[u[200]])}))[u[3]]>0;return r&&!i},t[u[6]][u[288]]=function(e){return!!e&&this[u[189]]()[u[59]][u[300]](e)},t[u[6]][u[301]]=function(){var e,t,n=[null===(e=this[u[32]][u[91]])||void 0===e?void 0:e[u[303]](),null===(t=this[u[32]][u[91]])||void 0===t?void 0:t[u[304]]()][u[84]](l[u[302]]);return Math[u[109]][u[7]](Math,n)},t[u[6]][u[305]]=function(e){var t;switch(void 0===e&&(e=0),t=0!==e?this[u[292]][u[313]](e,5,.2)[u[200]]:this[u[292]][u[239]](5,.2)[u[200]],function(e){var t,n;return null!==(n=null===(t=e[u[18]])||void 0===t?void 0:t[u[342]])&&void 0!==n?n:a[u[308]][u[309]]}(this[u[32]][u[43]])){case a[u[308]][u[307]]:return t[u[306]];case a[u[308]][u[309]]:default:return t[u[310]]>t[u[311]]?t[u[311]]+t[u[310]]:t[u[312]]}},t[u[6]][u[314]]=function(e,t,n,r,i,o){var a,s,c,l,d,_,f,h=r*t/n+i,p=null!==(s=null===(a=this[u[55]])||void 0===a?void 0:a[u[315]](e))&&void 0!==s&&s,g=!this[u[316]](e),v=null!==(c=null==o?void 0:o[u[251]])&&void 0!==c&&c,m=null!==(d=null===(l=this[u[55]])||void 0===l?void 0:l[u[65]](e))&&void 0!==d?d:null,S=Boolean(this[u[187]])&&null!==(null===(_=this[u[187]])||void 0===_?void 0:_[u[100]])&&(null===(f=this[u[187]])||void 0===f?void 0:f[u[222]])!==(null==m?void 0:m[u[222]]),E=this[u[32]][u[101]][u[38]](),$=h;if($+=b(E,this[u[33]],e),v&&S&&($*=2),g&&($+=i),p){var T=y(E);$+=Math[u[107]](T,i)}return $},t[u[6]][u[249]]=function(e,t,n,r,i,o,a){var s=1-this[u[32]][u[157]][u[317]],c=this[u[32]][u[157]][u[318]]-s,l=this[u[32]][u[194]][u[193]](),d=r*(s+Math[u[109]](a,l)*c/l);return this[u[314]](e,r,t,n,o,{hlsDependentSegments:i})<=d},t[u[6]][u[316]]=function(e){var t,n,r=this[u[32]][u[101]][u[38]](),i=r?(0,s[u[298]])(r,this[u[33]],c[u[103]][u[319]]):[];return 0===i[u[3]]?null!==(n=null===(t=this[u[55]])||void 0===t?void 0:t[u[320]]())&&void 0!==n&&n:i[u[126]]((function(t){var n=t[u[5]](u[200])&&t[u[200]][u[5]](u[321])?t[u[200]][u[321]]:null;return null!==n&&n[u[300]](e)}))},t[u[6]][u[322]]=function(e,t,n){var r=this;void 0===n&&(n=this[u[305]]());var i=this[u[178]][u[84]]((function(e){var t;return r[u[187]]&&!e[u[59]][u[300]](null===(t=r[u[187]])||void 0===t?void 0:t[u[59]])}));return Math[u[109]][u[7]](Math,i[u[186]]((function(i){var o;return r[u[314]](i[u[59]],null!==(o=r[u[323]]?r[u[323]][u[129]]:t)&&void 0!==o?o:0,e,i[u[80]],n,r[u[323]])})))},t[u[6]][u[324]]=function(e){var t,n,r,i,o,a,s=null!==(t=e[u[138]])&&void 0!==t?t:0,c=(null===(n=this[u[325]])||void 0===n?void 0:n[u[326]])===e[u[326]]?(e[u[139]]-(null!==(i=null===(r=this[u[325]])||void 0===r?void 0:r[u[139]])&&void 0!==i?i:0))/(s-(null!==(a=null===(o=this[u[325]])||void 0===o?void 0:o[u[138]])&&void 0!==a?a:0)):-1;return this[u[325]]=e,c},t[u[6]][u[327]]=function(e,t){var n,r=t?m(e):null!==(n=e[u[138]])&&void 0!==n?n:0;return this[u[305]](r)},t[u[6]][u[328]]=function(e){return void 0===e&&(e=4),this[u[187]]?this[u[187]][u[80]]/8*e*1.2:0},t[u[6]][u[329]]=function(e,t){var n=(0,o[u[289]])(e),r=n?this[u[324]](e):0,i=n&&(0,g[u[140]])(e)?e[u[141]]-e[u[139]]:this[u[328]](e[u[129]]);return Math[u[109]](i/(t/8),r>0?i/r:1/0)},t[u[6]][u[330]]=function(e,t,n){if((0,o[u[289]])(e))return e[u[139]]/t*8;var r=this[u[32]][u[194]][u[193]](),i=this[u[294]][u[239]](p[u[204]][u[203]],n/r);return this[u[208]](i)},t[u[6]][u[331]]=function(e,t,n,r,i){var o=this[u[329]](r,n);return o>t&&o>i&&t<=i+e},t[u[6]][u[332]]=function(e,t,n,r){var i=function(e){return e[u[239]](5,.2)[u[200]][u[311]]}(this[u[292]]);return r>Math[u[107]](e,3*i)&&t<=n+e},t[u[6]][u[291]]=function(e,t,n,r){var i,o,a,s=this[u[301]](),c=this[u[330]](e,t,s),l=this[u[327]](e,n),d=null!==(a=null!==(i=e[u[129]])&&void 0!==i?i:null===(o=this[u[323]])||void 0===o?void 0:o[u[129]])&&void 0!==a?a:0,_=this[u[322]](c,d,l);if(n?this[u[331]](d,s,c,e,_):this[u[332]](d,s,_,r)){var f=(0,g[u[140]])(e)?(e[u[139]]/e[u[141]]*100)[u[248]](1):void 0;return this[u[32]][u[114]][u[13]](u[339][u[120]](r[u[248]](2),u[338])[u[120]]((0,g[u[336]])(c)[u[248]](2),u[337])[u[120]](s[u[248]](2),u[335])[u[120]](n?u[267][u[120]](f,u[333]):u[334])),this[u[180]]=!0,this[u[177]]=c,!0}return!1},t}(d[u[176]]);function m(e){var t,n,r,i,o=null!==(n=null===(t=e[u[127]])||void 0===t?void 0:t[u[340]])&&void 0!==n?n:-1,a=null!==(i=null===(r=e[u[127]])||void 0===r?void 0:r[u[341]])&&void 0!==i?i:-1;return o<0||a<0?0:a-o}function y(e){var t=e?(0,s[u[183]])(e):{};return function(e,t){var n=(0,s[u[344]])(e,t,c[u[103]][u[297]])[u[347]](-3)[u[186]]((function(e){return e[u[200]][u[346]]}));return(0,h[u[348]])(n,.8)}(t,u[259])+function(e){var t=(0,s[u[344]])(e,u[259],c[u[103]][u[349]])[u[347]](-3)[u[186]]((function(e){return e[u[200]]}));return(0,h[u[348]])(t,.8)}(t)}function b(e,t,n){var r=e?(0,s[u[183]])(e):{};return S((0,s[u[344]])(r,t,c[u[103]][u[343]]),n)+S((0,s[u[344]])(r,t,c[u[103]][u[345]]),n)}function S(e,t){var n=e[u[84]]((function(e){return e[u[200]][u[118]][u[300]](t)}))[u[347]](-3)[u[186]]((function(e){return e[u[200]][u[346]]}));return(0,h[u[348]])(n,.8)}t[u[284]]=v},1932:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}(),i=this&&this[u[1]]||function(){return i=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},i[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[149]]=void 0;var o=n(58935),a=n(87326),s=n(28819),c=n(40210),l=n(75451),d=n(7745),_=n(55594),f=n(67304),h=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[350]]=new d[u[351]](r[u[32]],r[u[263]]),r[u[352]]=(0,l[u[265]])(r[u[32]],r[u[263]]),r}return r(t,e),t[u[6]][u[205]]=function(e){void 0===e&&(e=_[u[204]][u[203]]);var t=this[u[32]][u[194]][u[193]](),n=this[u[352]][u[239]]()[u[200]],r=this[u[294]][u[239]](e,n/t),i=this[u[208]](r),o=(0,f[u[353]])(i,this[u[32]][u[157]][u[241]]);return this[u[58]](o)},t[u[6]][u[137]]=function(){var e=this[u[208]](this[u[294]][u[239]]());return(0,f[u[353]])(e,this[u[32]][u[157]][u[241]])},t[u[6]][u[131]]=function(e){this[u[350]][u[131]](e),this[u[352]][u[131]](e),this[u[294]][u[131]](),this[u[292]][u[131]]()},t[u[6]][u[354]]=function(e,t,n,r,i){var o=this;if(!e[u[129]]||this[u[287]]())return t;this[u[323]]=e;var a=this[u[178]][u[84]]((function(e){return e[u[80]]<=t[u[80]]}));if(0===a[u[3]])return this[u[178]][0];var s=i[u[200]]||0,c=(0,f[u[353]])(n,this[u[32]][u[157]][u[241]]),l=a[u[84]]((function(t){var n;return o[u[249]](t[u[59]],c,t[u[80]],null!==(n=e[u[129]])&&void 0!==n?n:0,!1,r,s)}));return 0===l[u[3]]?a[0]:l[l[u[3]]-1]},t[u[6]][u[355]]=function(e,t,n){var r,i;this[u[185]](n);var o=this[u[352]][u[239]](),c=this[u[350]][u[239]](),l=this[u[32]][u[194]][u[193]](),d=this[u[305]]();this[u[190]](o);var _=this[u[32]][u[101]][u[38]](),f=l>(null!==(i=null===(r=(_?(0,s[u[183]])(_):{})[u[259]])||void 0===r?void 0:r[u[258]])&&void 0!==i?i:a[u[357]][u[356]]),h=this[u[202]](c,o,f);return t&&(h=this[u[354]](t,h,e,d,o)),h},t[u[6]][u[62]]=function(e,t){var n,r,i=this[u[294]][u[239]](),a=this[u[208]](i),s=this[u[355]](a,e,t);return this[u[187]]&&!this[u[187]][u[59]][u[300]](null==s?void 0:s[u[59]])&&this[u[32]][u[114]][u[360]](o[u[359]][u[358]])&&this[u[32]][u[114]][u[197]](u[367][u[120]](null===(n=this[u[187]])||void 0===n?void 0:n[u[59]][u[118]],u[254])[u[120]](null==s?void 0:s[u[59]][u[118]],u[366])[u[120]]((0,f[u[363]])(a)[u[248]](2)+u[364],u[365])[u[120]](this[u[352]][u[239]]()[u[200]][u[248]](2),u[362])[u[120]](this[u[350]][u[239]]()[u[200]][u[248]](2),u[361])),this[u[187]]=s,this[u[177]]=a,this[u[180]]=!1,this[u[325]]=void 0,null===(r=this[u[187]])||void 0===r?void 0:r[u[59]]},t[u[6]][u[110]]=function(e){this[u[185]](e[u[69]]),this[u[187]]=this[u[187]]?i({},this[u[58]](this[u[187]][u[80]])):void 0,this[u[263]]=this[u[181]](),this[u[325]]=void 0},t[u[6]][u[130]]=function(){var e,t,n,r;this[u[179]]=!0,clearTimeout(this[u[195]]),this[u[195]]=void 0,null===(e=this[u[350]])||void 0===e||e[u[130]](),null===(t=this[u[352]])||void 0===t||t[u[130]](),null===(n=this[u[294]])||void 0===n||n[u[130]](),null===(r=this[u[292]])||void 0===r||r[u[130]]()},t[u[6]][u[133]]=function(){var e,t,n,r;clearTimeout(this[u[195]]),this[u[180]]=!1,this[u[325]]=void 0,null===(e=this[u[350]])||void 0===e||e[u[133]](),null===(t=this[u[352]])||void 0===t||t[u[133]](),null===(n=this[u[294]])||void 0===n||n[u[133]](),null===(r=this[u[292]])||void 0===r||r[u[133]]()},t[u[6]][u[134]]=function(){var e,t,n,r;this[u[133]](),null===(e=this[u[350]])||void 0===e||e[u[134]](),null===(t=this[u[352]])||void 0===t||t[u[134]](),null===(n=this[u[294]])||void 0===n||n[u[134]](),null===(r=this[u[292]])||void 0===r||r[u[134]](),this[u[187]]=void 0,this[u[178]]=[],this[u[263]]=u[267]},t}(c[u[284]]);t[u[149]]=h},34188:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[368]]=void 0;var r=n(16368),i=n(42214),o=n(67304);t[u[368]]={name:r[u[370]][u[369]],module:function(){return{AdaptationService:n(10073)[u[153]],AdaptToPlayerResolution:n(80683)[u[94]],AdaptationUtils:o,AdaptationApiFactory:i[u[10]]}},dependencies:[r[u[370]][u[371]]]},t[u[259]]=t[u[368]]},80683:function(e,t){function n(e,t){var n=t[u[378]]();if(!n)return null;var i=n[u[379]],o=i&&i[u[381]](u[380]);return e?{width:screen[u[375]]*devicePixelRatio,height:screen[u[376]]*devicePixelRatio}:r(n)||o&&r(o)||i&&r(i)}function r(e){return e&&e[u[382]]&&e[u[383]]?{width:e[u[382]]*devicePixelRatio,height:e[u[383]]*devicePixelRatio}:null}Object[u[9]](t,u[8],{value:!0}),t[u[94]]=function(e,t,r){var i,o=n(r,e);if(!o)return t;var a=null!==(i=e[u[372]]())&&void 0!==i?i:[],s=a[u[182]]((function(e){return e[u[373]]===t}));if(!s)return t;var c=function(e,t,n){return e[u[84]]((function(e){var r=e[u[374]]<=t,i=function(e,t){var n=t[u[375]]/t[u[376]];return e[u[375]]/e[u[376]]<n?t[u[375]]>=e[u[375]]:t[u[376]]>=e[u[376]]}(n,e);return r&&i}))}(a,s[u[374]],o);return 0===c[u[3]]?t:c[function(e){var t=e[u[377]]((function(t){return t[u[375]]>e[0][u[375]]&&t[u[376]]>e[0][u[376]]}))-1;return Math[u[107]](0,t)}(c)][u[373]]}},63356:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[384]]=function(e){return null!=e[u[374]]},t[u[385]]=function(e){return null!=e[u[41]]&&null!=e[u[42]]}},28429:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[136]]=function(e,t){if(t&&0!==t[u[3]])return o[u[386]](),t[u[387]]((function(t,n){var r=o(n),i=o(t);return i>e||r>e?r>i?t:n:r>i?n:t}))};var r=n(10676),i=n(63356),o=(0,r[u[388]])((function(e){return(0,i[u[384]])(e)&&e[u[374]]>0?e[u[374]]:(0,i[u[385]])(e)?(e[u[42]]+e[u[41]])/2:0}))},67610:function(e,t){function n(e){return e[u[3]]>0?e[u[387]]((function(e,t){return e+t}),0)/e[u[3]]:0}Object[u[9]](t,u[8],{value:!0}),t[u[348]]=void 0,t[u[392]]=n,t[u[393]]=function(e,t){if(void 0===t&&(t=n(e)),e[u[3]]<2)return 0;var r=e[u[387]]((function(e,n){return e+Math[u[389]](n-t,2)}),0),i=1/(e[u[3]]-1)*r;return Math[u[390]](i)},t[u[394]]=function(e){var t=e[u[347]](0)[u[391]]((function(e,t){return e-t}));return 0===t[u[3]]?0:t[u[3]]%2==1?t[Math[u[283]](t[u[3]]/2)]:.5*(t[t[u[3]]/2-1]+t[t[u[3]]/2])},t[u[348]]=function(e,n,r){return void 0===r&&(r=e[u[3]]-1),0===e[u[3]]||r<0?0:0===r||0===n?e[r]:n*e[r]+(1-n)*(0,t[u[348]])(e,n,r-1)}},55594:function(e,t){var n;Object[u[9]](t,u[8],{value:!0}),t[u[204]]=void 0,function(e){e[e[u[221]]=10]=u[221],e[e[u[395]]=8]=u[395],e[e[u[396]]=7]=u[396],e[e[u[397]]=6]=u[397],e[e[u[203]]=5]=u[203],e[e[u[262]]=4]=u[262],e[e[u[229]]=3]=u[229],e[e[u[209]]=2]=u[209],e[e[u[398]]=1]=u[398]}(n||(t[u[204]]=n={}))},67304:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[363]]=t[u[336]]=t[u[399]]=t[u[192]]=void 0,t[u[400]]=function(e){var t,n=null===(t=e[u[43]])||void 0===t?void 0:t[u[18]];if(!n)return 0;var i=function(e){return e[u[403]]?r[u[162]][u[404]](u[107],e[u[403]]):1/0}(n);return!isNaN(i)&&isFinite(i)?i:0},t[u[401]]=function(e){var t,n=null===(t=e[u[43]])||void 0===t?void 0:t[u[18]],i=e[u[157]];if(!n||!i)return 0;var o=n[u[299]]||0;if(!o)return 0;var a=function(e,t){return 8+r[u[162]][u[404]](u[109],e)*(1+t/100)}(o,i[u[241]]);return!isNaN(a)&&isFinite(a)?a:0},t[u[402]]=i,t[u[140]]=function(e){return void 0!==e[u[141]]},t[u[353]]=function(e,t){return e*(1-t/100)};var r=n(54838);function i(e,t){return e[e[u[387]]((function(n,r,i){return t(e[n],e[i])?n:i}),0)]}var o=function(e){return e};t[u[192]]=function(e,t){return void 0===t&&(t=o),i(e,(function(e,n){return t(e)<t(n)}))},t[u[399]]=function(e,t){return void 0===t&&(t=o),i(e,(function(e,n){return t(e)>t(n)}))},t[u[336]]=function(e){return e/Math[u[389]](2,10)},t[u[363]]=function(e){return e/Math[u[389]](2,20)}},57038:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[148]]=void 0;var i=n(33696),o=n(87326),a=n(28819),s=n(8272),c=n(79814),l=n(40210),d=n(28429),_=n(25050),f=n(55594),h=n(67304),p=n(72573),g=1e-4,v=1e-4,m=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[32]]=t,r[u[33]]=n,r[u[405]]=[],r[u[406]]=[],r[u[129]]=0,r[u[407]](),r[u[43]]=t[u[157]][u[408]],r}return r(t,e),Object[u[9]](t[u[6]],u[282],{get:function(){var e,t=c[u[165]][u[164]](this[u[33]])?i[u[410]][u[409]]:i[u[410]][u[411]],n=null!==(e=this[u[32]][u[91]][u[416]][u[415]](i[u[414]][u[413]],t)[u[412]])&&void 0!==e?e:0;return n>this[u[32]][u[194]][u[417]](i[u[414]][u[413]],t)+this[u[129]]?0:n},enumerable:!1,configurable:!0}),t[u[6]][u[407]]=function(){var e=this[u[32]][u[157]][u[408]][u[418]],t=this[u[32]][u[157]][u[408]][u[419]],n=this[u[32]][u[157]][u[408]][u[420]];if(![u[422],u[423]][u[421]](e)){var r=o[u[424]][u[418]];this[u[32]][u[114]][u[427]](u[426][u[120]](e,u[425])[u[120]](r,u[361])),this[u[32]][u[157]][u[408]][u[418]]=r}if(t>1||t<g){var i=Math[u[109]](Math[u[107]](t,g),1);this[u[32]][u[114]][u[427]](u[429][u[120]](t,u[428])[u[120]](i)),this[u[32]][u[157]][u[408]][u[419]]=i}if(n<v){var a=Math[u[107]](n,v);this[u[32]][u[114]][u[427]](u[430][u[120]](n,u[428])[u[120]](a)),this[u[32]][u[157]][u[408]][u[420]]=a}},t[u[6]][u[205]]=function(e){void 0===e&&(e=f[u[204]][u[203]]);var t=this[u[32]][u[194]][u[193]](),n=this[u[294]][u[239]](e,this[u[282]]/t),r=this[u[208]](n),i=(0,h[u[353]])(r,this[u[32]][u[157]][u[241]]);return this[u[58]](i)},t[u[6]][u[431]]=function(){var e=this[u[32]][u[101]][u[38]]();return(e?(0,a[u[298]])(e,this[u[33]],s[u[103]][u[297]]):[])[u[84]]((function(e){return Boolean(e[u[200]])}))[u[3]]>2},t[u[6]][u[131]]=function(e){(function(e){return null!=e[u[129]]})(e)&&(this[u[294]][u[131]](),this[u[292]][u[131]](),e[u[129]]!==this[u[129]]&&(this[u[129]]=e[u[129]],this[u[432]]()))},t[u[6]][u[62]]=function(e,t){var n;this[u[185]](t),this[u[190]]({value:this[u[282]],result:_[u[213]][u[215]]});var r=this[u[433]](),i=null===(n=r[u[188]])||void 0===n?void 0:n[u[59]],o=r[u[434]];return this[u[406]][u[435]](this[u[405]][o]),this[u[406]][u[3]]>20&&(this[u[406]]=this[u[406]][u[347]](-10)),this[u[323]]=e,this[u[187]]=r[u[188]],this[u[177]]=this[u[208]](this[u[294]][u[239]]()),this[u[180]]=!1,this[u[325]]=void 0,i},t[u[6]][u[137]]=function(){return this[u[294]][u[239]]()[u[200]]},t[u[6]][u[110]]=function(e){this[u[178]]=e[u[69]],this[u[263]]=this[u[181]](),this[u[180]]=!1,this[u[325]]=void 0;var t=this[u[64]]()[u[186]]((function(e){return(0,h[u[336]])(e[u[80]])}));this[u[405]]=(0,p[u[436]])(t,this[u[43]][u[418]]),this[u[432]]()},t[u[6]][u[58]]=function(e,t){var n,r=(0,d[u[136]])(e,this[u[64]]()[u[186]]((function(e){return{rep:e,bitrate:e[u[80]]}})));return null!==(n=null==r?void 0:r[u[188]])&&void 0!==n?n:this[u[189]]()},t[u[6]][u[130]]=function(){this[u[179]]=!0,clearTimeout(this[u[195]]),this[u[195]]=void 0},t[u[6]][u[133]]=function(){var e,t;this[u[177]]=0,this[u[180]]=!1,this[u[325]]=void 0,null===(e=this[u[294]])||void 0===e||e[u[133]](),null===(t=this[u[292]])||void 0===t||t[u[133]]()},t[u[6]][u[134]]=function(){var e,t;this[u[133]](),null===(e=this[u[294]])||void 0===e||e[u[134]](),null===(t=this[u[292]])||void 0===t||t[u[134]](),this[u[187]]=void 0,this[u[178]]=[],this[u[263]]=u[267],this[u[405]]=[],this[u[129]]=0,this[u[406]]=[]},t[u[6]][u[432]]=function(){if((0,p[u[437]])(this[u[405]],this[u[129]])){var e=this[u[64]]()[u[186]]((function(e){return(0,h[u[336]])(e[u[80]])})),t=c[u[165]][u[164]](this[u[33]])?i[u[410]][u[409]]:i[u[410]][u[411]],n=this[u[32]][u[194]][u[417]](i[u[414]][u[413]],t);this[u[438]]=(0,p[u[439]])(this[u[43]],e,this[u[405]],this[u[129]],n),this[u[440]]=(0,p[u[441]])(this[u[43]],this[u[438]],n,this[u[129]]),this[u[442]]=(0,p[u[443]])(this[u[438]],this[u[440]])}},t[u[6]][u[444]]=function(e,t,n,r){var i=(0,p[u[445]])(e[u[80]],r),o=(0,p[u[446]])(i,this[u[129]],this[u[282]]),a=(0,p[u[447]])(this[u[405]],t,n);return this[u[438]]*i+this[u[440]]*o+this[u[442]]*a},t[u[6]][u[287]]=function(){var e,t,n=Boolean(null===(e=this[u[32]][u[43]][u[18]])||void 0===e?void 0:e[u[299]]),r=Boolean(null===(t=this[u[32]][u[43]][u[18]])||void 0===t?void 0:t[u[403]]);return(n||r)&&!this[u[431]]()},t[u[6]][u[433]]=function(){var e=this;if(this[u[179]]&&(this[u[287]]()||this[u[43]][u[448]])){var t=this[u[205]](),n=this[u[64]]()[u[449]](t);return{rep:t,index:-1!==n?n:0}}if(this[u[282]]<this[u[129]]||!(0,p[u[437]])(this[u[405]],this[u[129]]))return{rep:this[u[64]]()[0],index:0};var r=(0,p[u[450]])(this[u[406]],10),i=this[u[294]][u[239]](5,.325)[u[200]],o=this[u[208]](this[u[294]][u[239]]()),a=Math[u[109]](i,o),s=this[u[64]]()[0][u[80]],c=Math[u[107]](1.1*i,s),l=this[u[64]]()[u[84]]((function(e){return e[u[80]]<=c}))[u[186]]((function(t,n){return{rep:t,index:n,cost:e[u[444]](t,n,r,a)}}))[u[391]]((function(e,t){return e[u[451]]-t[u[451]]}));return{rep:l[0][u[188]],index:l[0][u[434]]}},t}(l[u[284]]);t[u[148]]=m},72573:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[436]]=function(e,t){switch(t){case u[423]:var n=e[e[u[3]]-1];return e[u[186]]((function(e){return function(e,t){return e/t}(e,n)}));case u[422]:var r=e[0];return e[u[186]]((function(e){return function(e,t){return Math[u[422]](e/t)}(e,r)}))}},t[u[439]]=function(e,t,n,r,i){switch(e[u[418]]){case u[423]:return function(e,t,n,r){var i=e[u[420]],o=e[u[419]],a=n,s=t[0],c=t[t[u[3]]-2];return 1/(1+(o*r-a)/n+Math[u[452]](3-2*s-c)/i)}(e,n,r,i);case u[422]:return function(e,t,n,r){var i=e[u[420]],o=e[u[419]],a=n,s=t[0],c=t[t[u[3]]-1];return 1/(1+(o*r-a)/n+2*c*c/(i*s*t[t[u[3]]-2]))}(e,t,r,i)}},t[u[441]]=function(e,t,n,r){return t*((e[u[419]]*n-r)/r)},t[u[443]]=function(e,t){return 1-e-t},t[u[445]]=function(e,t){return t?e/t:1},t[u[446]]=function(e,t,n){return n<=t?1/0:e*(t/(n-t))},t[u[447]]=function(e,t,n){var r=e[e[u[3]]-1],i=e[0],o=e[t];return Math[u[452]](r+n-2*o)/Math[u[452]](2*r-2*i)},t[u[450]]=function(e,t){if(0===e[u[3]])return 0;var n=e[u[347]](-t);return n[u[387]]((function(e,t){return e+t}))/n[u[3]]},t[u[437]]=function(e,t){return!(e[u[3]]<=1||!t)}},3797:function(e,t){var n;Object[u[9]](t,u[8],{value:!0}),t[u[453]]=void 0,t[u[454]]=function(e){if(0!==e[u[3]]){for(var t=e[u[3]],r=t-1;r>=0;r--){var i=e[r][u[200]],o=i[u[455]],a=i[u[456]];if(void 0===a||o<.9*a)return{rateBps:o,type:n[u[457]]}}return{rateBps:e[t-1][u[200]][u[455]],type:n[u[458]]}}},function(e){e[u[457]]=u[459],e[u[458]]=u[460]}(n||(t[u[453]]=n={}))},74828:function(e,t,n){var r=this&&this[u[461]]||function(e,t,n){if(n||2===arguments[u[3]])for(var r,i=0,o=t[u[3]];i<o;i++)!r&&i in t||(r||(r=Array[u[6]][u[347]][u[4]](t,0,i)),r[i]=t[i]);return e[u[120]](r||Array[u[6]][u[347]][u[4]](t))};Object[u[9]](t,u[8],{value:!0}),t[u[146]]=void 0;var i=n(18665),o=n(28819),a=n(8272),s=n(28429),c=n(12566),l=n(67304),d=n(3797),_=n(92741),f=n(2122),h=u[462],p=function(){function e(e,t){this[u[32]]=e,this[u[33]]=t,this[u[463]]=new _[u[464]]}return Object[u[9]](e[u[6]],u[55],{get:function(){return this[u[32]][u[54]][u[53]](i[u[52]][u[56]],this[u[32]][u[50]][u[49]])},enumerable:!1,configurable:!0}),e[u[6]][u[422]]=function(e){for(var t,n=[],i=1;i<arguments[u[3]];i++)n[i-1]=arguments[i];this[u[32]][u[114]]&&(t=this[u[32]][u[114]])[u[13]][u[7]](t,r([u[467][u[120]](h,u[466])[u[120]](this[u[33]],u[465])[u[120]](e)],n,!1))},e[u[6]][u[454]]=function(){var e=(0,o[u[298]])(this[u[32]][u[101]][u[38]](),this[u[33]],a[u[103]][u[468]]),t=this[u[469]]();return(0,d[u[454]])(e[u[347]](-t))},e[u[6]][u[469]]=function(){var e,t=null===(e=this[u[32]][u[43]][u[18]])||void 0===e?void 0:e[u[20]],n=Math[u[470]](20*t);return Math[u[107]](1,n)},e[u[6]][u[471]]=function(e){var t,n,r,i,o=g(null!==(r=null===(n=null===(t=this[u[55]])||void 0===t?void 0:t[u[68]](e))||void 0===n?void 0:n[u[69]])&&void 0!==r?r:[]);return null!==(i=null==o?void 0:o[u[59]][u[300]](e))&&void 0!==i&&i},e[u[6]][u[137]]=function(){var e,t;return null!==(t=null===(e=this[u[454]]())||void 0===e?void 0:e[u[472]])&&void 0!==t?t:0},e[u[6]][u[62]]=function(e,t){var n,r,i,s;if(t&&0!==t[u[3]]){var l,_=this[u[454]]();if(this[u[422]](u[473],_),!_)return null===(n=g(t))||void 0===n?void 0:n[u[59]];if(_[u[474]]===d[u[453]][u[457]]&&(l=null!==(r=this[u[58]](_[u[472]],t))&&void 0!==r?r:void 0,this[u[422]](u[475],null==l?void 0:l[u[80]])),_[u[474]]===d[u[453]][u[458]]){var f=null===(i=(0,o[u[261]])((0,o[u[183]])(this[u[32]][u[101]][u[38]]()),this[u[33]],a[u[103]][u[468]])[u[200]])||void 0===i?void 0:i[u[476]];void 0!==f&&(l=(0,c[u[477]])(t,f),this[u[422]](u[479][u[120]](f,u[478])[u[120]](null==l?void 0:l[u[80]])))}return l?l[u[59]]:null===(s=g(t))||void 0===s?void 0:s[u[59]]}},e[u[6]][u[58]]=function(e,t){var n,r;if(!t||t[u[3]]<1)return null;var i=null===(n=(0,s[u[136]])(e,t[u[186]]((function(e){return{rep:e,bitrate:e[u[80]]}}))))||void 0===n?void 0:n[u[188]];return null!==(r=null!=i?i:g(t))&&void 0!==r?r:null},e[u[6]][u[124]]=function(e,t){if(this[u[463]][u[480]](e)){if(this[u[471]](t))return!1;var n=(0,f[u[481]])(e);return n&&this[u[422]](u[482]),n}return!1},e[u[6]][u[131]]=function(e){},e[u[6]][u[110]]=function(e){},e[u[6]][u[130]]=function(){},e[u[6]][u[133]]=function(){},e[u[6]][u[134]]=function(){this[u[133]]()},e}();function g(e){return(0,l[u[192]])(null!=e?e:[],(function(e){return e[u[80]]}))}t[u[146]]=p},92741:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[464]]=void 0;var n=function(){function e(){this[u[483]]=0}return e[u[6]][u[480]]=function(e){if(void 0===e[u[129]]||void 0===e[u[138]])return!1;this[u[484]](e)&&(this[u[483]]=0);var t=this[u[483]]+.2;if(e[u[138]]>=e[u[129]]*t){var n=e[u[138]]/e[u[129]];return this[u[483]]=.2*Math[u[283]](n/.2),!0}return!1},e[u[6]][u[484]]=function(e){return e[u[138]]<this[u[483]]*e[u[129]]},e}();t[u[464]]=n},2122:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[481]]=function(e){var t,n,i=(null===(t=e[u[127]])||void 0===t?void 0:t[u[485]])-(null===(n=e[u[127]])||void 0===n?void 0:n[u[341]]),o=(0,r[u[486]])(e[u[139]])/i,a=1-(0,r[u[486]])(e[u[139]])/(e[u[476]]*e[u[129]]);return o<e[u[476]]*a};var r=n(40392)},10605:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[266]]=void 0;var i=n(28819),o=n(8272),a=n(54838),s=n(25050),c=u[487],l=u[488],d=1e6,_=function(e){function t(t,n){var r,i,o=e[u[4]](this,t,n)||this,s=t[u[43]];return o[u[157]]=t[u[157]],o[u[490]]=n,o[u[491]]=16e5,null!=(null===(r=s[u[18]])||void 0===r?void 0:r[u[403]])&&(o[u[491]]=a[u[162]][u[404]](u[107],s[u[18]][u[403]])),null!=(null===(i=s[u[18]])||void 0===i?void 0:i[u[299]])&&(o[u[299]]=a[u[162]][u[404]](u[109],s[u[18]][u[299]])),o[u[492]]={bytes:0,time:0},o[u[493]]=[],o}return r(t,e),t[u[494]]=function(e,t){return 8*e/t},t[u[6]][u[495]]=function(e){var n=this[u[493]][u[496]]();if((null==n?void 0:n[u[497]])===d&&(this[u[493]][u[435]](n),n=void 0),n||(n={bytes:0,time:0,rateInBps:0}),n[u[497]]+e[u[497]]<=d){var r=n[u[497]]+e[u[497]],i=n[u[346]]+e[u[346]];this[u[493]][u[435]]({bytes:r,time:i,rateInBps:t[u[494]](r,i)})}else{var o=(d-n[u[497]])/e[u[497]];n[u[497]]+=e[u[497]]*o,n[u[346]]+=e[u[346]]*o,n[u[498]]=t[u[494]](n[u[497]],n[u[346]]),this[u[493]][u[435]](n);for(var a=e[u[497]]*(1-o),s=e[u[346]]*(1-o);a>d;){var c=s/(a/d);this[u[493]][u[435]]({bytes:d,time:c,rateInBps:t[u[494]](d,c)}),a-=d,s-=c}this[u[493]][u[435]]({bytes:a,time:s,rateInBps:t[u[494]](a,s)})}},t[u[6]][u[499]]=function(e){if(e&&!isNaN(e[u[497]])){var t=this[u[492]];if(t[u[497]]===e[u[497]]&&t[u[346]]===e[u[346]])return;this[u[492]]=e,this[u[495]](e),this[u[493]][u[3]]>40&&this[u[493]][u[500]](),this[u[501]]()}},t[u[6]][u[502]]=function(e,n){var r,i=-e;null!=n&&(i=-e-n,r=-n);var o=this[u[493]][u[347]](i,r);if(0===o[u[3]])return 0;var a=o[u[387]]((function(e,t){return{bytes:e[u[497]]+t[u[497]],time:e[u[346]]+t[u[346]],rateInBps:e[u[498]]+t[u[498]]}}));return a[u[498]]=t[u[494]](a[u[497]],a[u[346]]),a[u[498]]},t[u[6]][u[503]]=function(){if(null==this[u[299]])return null;this[u[491]]=Number[u[504]];var e=this[u[299]];return e*=1+this[u[157]][u[241]]/100,e+=8,isNaN(e)?null:(this[u[32]][u[114]][u[197]](u[505][u[120]](e)),{bytes:f(e),time:1})},t[u[6]][u[131]]=function(){if(this[u[506]]){var e=(0,i[u[183]])(this[u[506]]),t=(0,i[u[261]])(e,this[u[490]],o[u[103]][u[297]]);if(!t||!t[u[200]]||!t[u[200]][u[497]]){var n=this[u[503]]();if(n&&(t={value:n}),!t||!t[u[200]]||!t[u[200]][u[497]]){t=t||{};var r=this[u[507]]();r>0&&(t[u[200]]={bytes:f(r),time:1})}t&&t[u[200]]||(t=(0,i[u[261]])(e,u[259],o[u[103]][u[297]]));var a=1/0;t&&t[u[200]]&&!isNaN(t[u[200]][u[497]])&&!isNaN(t[u[200]][u[346]])&&(a=t[u[200]][u[497]]/t[u[200]][u[346]]),a>this[u[491]]&&(t[u[200]]=t[u[200]]||{},t[u[200]][u[497]]=f(this[u[491]]),t[u[200]][u[346]]=1)}this[u[499]](t[u[200]])}},t[u[6]][u[239]]=function(e){0===this[u[493]][u[3]]&&this[u[131]]();var t=this[u[502]](e),n=this[u[502]](e,1);return{value:t,result:t>1.1*n?s[u[213]][u[212]]:t<.9*n?s[u[213]][u[217]]:s[u[213]][u[215]]}},t[u[6]][u[501]]=function(){if(this[u[506]]){var e=(0,i[u[298]])(this[u[506]],this[u[490]],o[u[103]][u[297]])[u[347]](-3)[u[186]]((function(e){return Math[u[508]](8*e[u[200]][u[497]]/e[u[200]][u[346]])}));this[u[32]][u[509]][u[158]](c,e),this[u[32]][u[509]][u[158]](l,Date[u[132]]())}},t[u[6]][u[507]]=function(){var e=this[u[32]][u[509]][u[53]](c)||[];return Math[u[508]](e[u[387]]((function(e,t){return e+t}),0)/e[u[3]])||-1},t[u[6]][u[133]]=function(){},t[u[6]][u[130]]=function(){},t[u[6]][u[134]]=function(){},t}(s[u[489]]);function f(e){return e/8}t[u[266]]=_},29374:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[264]]=void 0;var i=n(331),o=n(25050),a=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[194]]=t[u[194]],r[u[510]]=!0,r[u[511]]=[],r}return r(t,e),t[u[6]][u[512]]=function(){if(0===this[u[511]][u[3]])return NaN;var e=this[u[511]][this[u[511]][u[3]]-1],t=e[u[513]];if(this[u[510]]){var n=e[u[282]],r=this[u[511]][this[u[511]][u[3]]-2],i=0;r&&(i=r[u[282]]),n>=e[u[513]]||i>n?(this[u[114]][u[197]](u[514]),this[u[510]]=!1):t=n}return t},t[u[6]][u[515]]=function(e){isNaN(e)&&(e=this[u[194]][u[193]]());for(var t,n=Date[u[132]]()-(0,i[u[198]])(e),r=0,o=0,a=0;a<this[u[511]][u[3]];a++)(t=this[u[511]][a])[u[516]]>=n&&(r+=t[u[282]]-o),o=t[u[282]];return((r/=this[u[512]]())<-1||r>1)&&this[u[114]][u[197]](u[517]+r),isNaN(r)?1:r},t[u[6]][u[131]]=function(e){var t=this;this[u[518]]||(this[u[518]]=window[u[199]]((function(){t[u[114]][u[197]](u[519]),t[u[510]]=!1}),(0,i[u[198]])(this[u[194]][u[193]]()))),this[u[511]][u[435]](e),e[u[516]]-this[u[511]][0][u[516]]>6e4&&this[u[511]][u[500]]()},t[u[6]][u[239]]=function(e){var t=this[u[515]](e),n=o[u[213]][u[215]];return t>.7?n=o[u[213]][u[212]]:t<-.5&&(n=o[u[213]][u[217]]),{value:t,result:n}},t[u[6]][u[130]]=function(){this[u[510]]=!0},t[u[6]][u[133]]=function(){clearTimeout(this[u[518]])},t[u[6]][u[134]]=function(){this[u[133]](),this[u[511]]=[]},t}(o[u[489]]);t[u[264]]=a},75451:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[265]]=function(e,t){var n,a,s=!0,c={timestamp:Date[u[132]](),bufferTargetLevel:(null===(n=r[u[357]][u[521]][u[520]])||void 0===n?void 0:n[u[522]])||0,bufferLevel:0},l=function(){clearTimeout(a)};return{addSample:function(t){a||(a=window[u[199]]((function(){s=!1}),(0,i[u[198]])(e[u[194]][u[193]]()))),c=t},getStatus:function(){var e;return c[u[282]]>.8*c[u[513]]?(e=o[u[213]][u[212]],s&&(s=!1,clearTimeout(a))):e=c[u[282]]<.4*c[u[513]]?o[u[213]][u[217]]:o[u[213]][u[215]],s&&(e=o[u[213]][u[215]]),{value:c[u[282]],result:e}},setStartupPhase:function(){s=!0},shutdown:l,dispose:function(){l()}}};var r=n(87326),i=n(331),o=n(25050)},7745:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[351]]=void 0;var i=n(331),o=n(25050),a=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[524]]=[],r}return r(t,e),t[u[6]][u[525]]=function(e){void 0===e&&(e=this[u[32]][u[194]][u[193]]());var t=Date[u[132]]()-(0,i[u[198]])(e),n=this[u[524]][u[84]]((function(e){return e[u[516]]>=t}));if(0===n[u[3]])return 1;var r=0;return n[u[166]]((function(e,t){var o=n[t-1],a=e[u[129]],s=a/8,c=Math[u[109]](e[u[282]]/e[u[513]],1),l=Math[u[107]](e[u[523]],s),d=c*(a/l)+a/(o?Math[u[107]](e[u[516]]-o[u[516]],s):(0,i[u[198]])(Math[u[107]](a,l)))*(1-c);r=e[u[526]]?r-d:r+d})),r/n[u[3]]},t[u[6]][u[131]]=function(e){(function(e){return null!=e[u[129]]&&null!=e[u[523]]})(e)&&(this[u[524]][u[435]](e),e[u[516]]-this[u[524]][0][u[516]]>6e4&&this[u[524]][u[500]]())},t[u[6]][u[239]]=function(e,t){var n=this[u[525]](e),r=o[u[213]][u[215]];return n>1.7?r=o[u[213]][u[212]]:n<.5&&(r=o[u[213]][u[217]]),{value:n,result:r}},t[u[6]][u[130]]=function(){},t[u[6]][u[133]]=function(){},t[u[6]][u[134]]=function(){this[u[133]](),this[u[524]]=[]},t}(o[u[489]]);t[u[351]]=a},25050:function(e,t){var n;Object[u[9]](t,u[8],{value:!0}),t[u[489]]=t[u[213]]=void 0,function(e){e[u[212]]=u[527],e[u[215]]=u[528],e[u[217]]=u[529]}(n||(t[u[213]]=n={}));var r=function(){function e(e,t){this[u[32]]=e,this[u[530]]=[],this[u[33]]=t,this[u[114]]=e[u[114]],this[u[531]]=e[u[157]],this[u[532]]=this[u[531]][u[533]]}return Object[u[9]](e[u[6]],u[506],{get:function(){var e;return null===(e=this[u[32]][u[101]])||void 0===e?void 0:e[u[38]]()},enumerable:!1,configurable:!0}),e[u[6]][u[313]]=function(e,t,n){return this[u[239]](t,n)},e}();t[u[489]]=r},94077:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[295]]=void 0;var i=n(28819),o=n(8272),a=n(331),s=n(54838),c=n(67610),l=n(67304),d=n(25050),_=u[487],f=u[488],h=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[534]]=-1,r[u[535]]=.1,r[u[536]]=!0,r}return r(t,e),t[u[537]]=function(){if(!performance||u[89]!=typeof performance[u[538]])return 0;var e=0,t=0;return performance[u[545]](u[544])[u[84]](p)[u[166]]((function(n){e+=8*n[u[539]],t+=(0,a[u[543]])(n[u[540]]-(n[u[541]]-n[u[542]]))})),e>0&&t>0?e/t:0},t[u[6]][u[502]]=function(e,t,n){var r;void 0===t&&(t=1),void 0===n&&(n=0);var i=-e-n;return r=0!==n?this[u[530]][u[347]](i,-n):this[u[530]][u[347]](i),(0,c[u[348]])(r,1-t)},t[u[546]]=function(e){if(Boolean(e)&&Boolean(e[u[200]])){var t=Boolean(e[u[200]][u[497]]),n=!isNaN(e[u[200]][u[346]]),r=void 0!==e[u[200]][u[547]]&&!isNaN(e[u[200]][u[547]]);return t&&n&&r}return!1},t[u[6]][u[548]]=function(e){if(!this[u[506]])return 0;var n=(0,i[u[261]])((0,i[u[183]])(this[u[506]]),e,o[u[103]][u[297]]),r=t[u[546]](n),a=r&&this[u[534]]<n[u[346]];return a&&isFinite(n[u[346]])&&(this[u[534]]=n[u[346]]),r&&a?g(n,this[u[32]][u[157]][u[549]]):r&&!a?-1:0},t[u[6]][u[550]]=function(){var e=[],n=this[u[507]]();n>0&&e[u[435]](n);var r=this[u[548]](u[259]);r>0&&e[u[435]](r);var i=Math[u[109]][u[7]](Math,e);return i>0&&isFinite(i)?i:t[u[537]]()},t[u[6]][u[131]]=function(){var e=this[u[548]](this[u[33]]),t=0;this[u[536]]&&(t=function(e,t){var n=(0,l[u[401]])(e),r=(0,l[u[400]])(e);return r=t>0?Math[u[109]](r,t):r,n||r||0}(this[u[32]],e),this[u[536]]=!1),0===(t=t||e||0)&&(t=this[u[550]]()),t>0&&(this[u[530]][u[435]](t),this[u[530]][u[3]]>this[u[532]]&&this[u[530]][u[551]](0,this[u[530]][u[3]]-this[u[532]])),e>0&&this[u[501]]()},t[u[6]][u[239]]=function(e,t){void 0===e&&(e=1),void 0===t&&(t=1),0===this[u[530]][u[3]]&&this[u[131]]();var n=this[u[502]](e,t),r=this[u[502]](e,t,1);return{value:n,result:n>r*(1+this[u[535]])?d[u[213]][u[212]]:n<r*(1-this[u[535]])?d[u[213]][u[217]]:d[u[213]][u[215]]}},t[u[6]][u[501]]=function(){if(this[u[506]]){var e=(0,i[u[298]])(this[u[506]],this[u[33]],o[u[103]][u[297]])[u[84]](t[u[546]])[u[347]](-3)[u[186]]((function(e){return g(e)}));this[u[32]][u[509]][u[158]](_,e),this[u[32]][u[509]][u[158]](f,Date[u[132]]())}},t[u[6]][u[507]]=function(){var e=this,t=(this[u[32]][u[509]][u[53]](_)||[])[u[186]]((function(t){return v(t,e[u[32]][u[157]][u[549]])}));return Math[u[508]](t[u[387]]((function(e,t){return e+t}),0)/t[u[3]])||0},t[u[6]][u[133]]=function(){},t[u[6]][u[130]]=function(){},t[u[6]][u[134]]=function(){},t}(d[u[489]]);function p(e){return e[u[539]]>0&&!/^https?:\/\/localhost(:\d+)?(\/|$)/[u[553]](e[u[552]])}function g(e,t){var n;void 0===t&&(t=1/0);var r=e[u[200]][u[346]]-(null!==(n=e[u[200]][u[547]])&&void 0!==n?n:0);return v(8*e[u[200]][u[497]]/r,t)}function v(e,t){var n=s[u[162]][u[404]](u[107],t);return Math[u[109]](e,n)}t[u[295]]=h},78827:function(e,t,n){var r=this&&this[u[231]]||function(){var e=function(t,n){return e=Object[u[232]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[233]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[89]!=typeof n&&null!==n)throw new TypeError(u[234]+String(n)+u[235]);function r(){this[u[236]]=t}e(t,n),t[u[6]]=null===n?Object[u[11]](n):(r[u[6]]=n[u[6]],new r)}}(),i=this&&this[u[461]]||function(e,t,n){if(n||2===arguments[u[3]])for(var r,i=0,o=t[u[3]];i<o;i++)!r&&i in t||(r||(r=Array[u[6]][u[347]][u[4]](t,0,i)),r[i]=t[i]);return e[u[120]](r||Array[u[6]][u[347]][u[4]](t))};Object[u[9]](t,u[8],{value:!0}),t[u[293]]=void 0;var o=n(28819),a=n(8272),s=n(67610),c=n(25050),l=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[534]]=-1,r}return r(t,e),t[u[6]][u[554]]=function(e){if(!this[u[506]])return 0;var t=(0,o[u[261]])((0,o[u[183]])(this[u[506]]),e,a[u[103]][u[297]]),n=Boolean(t)&&Boolean(t[u[200]]),r=n&&void 0!==t[u[200]][u[547]]&&!isNaN(t[u[200]][u[547]]),i=n&&this[u[534]]<t[u[346]];return i&&isFinite(t[u[346]])&&(this[u[534]]=t[u[346]]),r&&i?t[u[200]][u[547]]:r&&!i?-1:0},t[u[6]][u[131]]=function(){var e=this[u[554]](this[u[33]]),t=this[u[554]](u[259]),n=e||t||0;if(n>0)for(this[u[530]][u[435]](n);this[u[530]][u[3]]>this[u[532]];)this[u[530]][u[500]]()},t[u[6]][u[555]]=function(e){var t=-e;return e>0?this[u[530]][u[347]](t):[]},t[u[6]][u[556]]=function(e,t){var n=(0,s[u[392]])(e),r=(0,s[u[348]])(e,t),i=(0,s[u[393]])(e,n);return{value:{median:(0,s[u[394]])(e),mean:n,weightedAverage:r,standardDeviation:i},result:c[u[213]][u[215]]}},t[u[6]][u[239]]=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1),this[u[556]](this[u[555]](e),t)},t[u[6]][u[313]]=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=1);var r=i(i([],this[u[555]](t-1),!0),[e],!1);return this[u[556]](r,n)},t[u[6]][u[130]]=function(){},t[u[6]][u[133]]=function(){},t[u[6]][u[134]]=function(){},t}(c[u[489]]);t[u[293]]=l},12566:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[477]]=function(e,t){for(var n,r,i=0,o=e;i<o[u[3]];i++){var a=o[i];a[u[80]]>t&&(void 0===n||a[u[80]]<n[u[80]])&&(n=a),(void 0===r||a[u[80]]>r[u[80]])&&(r=a)}return null!=n?n:r}},74953:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[168]]=function(e,t,n,i){var a,s,c=o(t,e[u[43]][u[18]]);if(c){var l=e[u[54]][u[557]](r[u[52]][u[56]],(function(e){return e[u[68]](n)}),null,e[u[50]][u[49]]),d=null!==(a=null==l?void 0:l[u[69]][u[186]]((function(e){return{bandwidth:e[u[80]],id:e[u[100]]}})))&&void 0!==a?a:[],_=c({suggested:i[u[118]],isAd:e[u[50]][u[558]],representations:d});return _&&(null===(s=e[u[114]])||void 0===s||s[u[13]](u[467][u[120]](t,u[560])[u[120]](i[u[118]],u[559])+u[267][u[120]](_))),function(e,t,n){return e[u[54]][u[557]](r[u[52]][u[56]],(function(e){return t&&e[u[116]](t,n)}),void 0,e[u[50]][u[49]])||void 0}(e,n,_)}};var r=n(18665),i=n(79814);function o(e,t){return i[u[165]][u[173]](e)?null==t?void 0:t[u[561]]:i[u[165]][u[164]](e)?null==t?void 0:t[u[87]]:void 0}},89067:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[112]]=function(){return new Promise((function(e){window[u[199]](e)}))}}},function(e){return e(e[u[562]]=34188)}])},u[564]==typeof t&&"object"==u[564]?e[u[565]]=s():"function"==u[89]&&n.amdD[u[566]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[564]==typeof t?t[u[567]]=s():(a[u[568]]=a[u[568]]||{},a[u[568]][u[569]]=a[u[568]][u[569]]||{},a[u[568]][u[569]][u[567]]=s())},2614:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[270],{10045:function(e,t){var n=this&&this.__assign||function(){return n=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},n.apply(this,arguments)};function r(e){return void 0===e&&(e=0),{offset:e}}function i(e){return 0===e.length?null:e[0]}function o(e,t){var n=t.indexOf("."),r=[];if(-1===n)for(var i=0;i<e.length;i++)e[i].type===t&&r.push(e[i]);else{var o=t.substring(0,n),a=t.substring(n+1);for(i=0;i<e.length;i++)e[i].type===o&&(r=r.concat(e[i].list(a)))}return r}function a(e,n){e.forEach((function(e){t.ISOBox.prototype._boxParsers[e]=n}))}function s(e,t){return e._cursor.offset-e._raw.byteOffset+t<=e.size}Object.defineProperty(t,"__esModule",{value:!0}),t.ISOBox=t.ISOFile=t.ISOBoxer=void 0,t.ISOBoxer={parseBuffer:function(e,n){return void 0===n&&(n={}),new t.ISOFile(e,n).parse()}},t.ISOFile=function(e,t){void 0===t&&(t={}),this.options=n({},t),this.options.iv_size=t.iv_size||8,e&&(this._raw=new DataView(e)),this._cursor=r(),this.boxes=[]},t.ISOFile.prototype.fetch=function(e){var t=this.fetchAll(e,!0);return t.length?t[0]:null},t.ISOFile.prototype.fetchAll=function(e,n){var r=[];return t.ISOFile._sweep.call(this,e,r,n),r},t.ISOFile.prototype.parse=function(){for(this._cursor.offset=0,this.boxes=[];this._cursor.offset<this._raw.byteLength;){var e=t.ISOBox.parse(this);if(void 0===e.type)break;this.boxes.push(e)}return this},t.ISOFile._sweep=function(e,n,r){for(var i in this.type&&this.type===e&&n.push(this),this.boxes){if(n.length&&r)return;t.ISOFile._sweep.call(this.boxes[i],e,n,r)}},t.ISOFile.prototype.get=function(e){return i(this.list(e))},t.ISOFile.prototype.list=function(e){return o(this.boxes,e)},t.ISOBox=function(){this._cursor=r()},t.ISOBox.parse=function(e){var n=new t.ISOBox;return n._offset=e._cursor.offset,n._root=e._root?e._root:e,n._raw=e._raw,n._parent=e,n._parseBox(),e._cursor.offset=n._raw.byteOffset+n._raw.byteLength,n},t.ISOBox.prototype.list=function(e){return o(this.boxes||this.entries||[],e)},t.ISOBox.prototype.get=function(e){return i(this.list(e))},t.ISOBox.prototype._readUint64=function(){var e=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset),t=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset+4);return e*Math.pow(2,32)+t},t.ISOBox.prototype._readInt64=function(){var e=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset),t=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset+4);return e*Math.pow(2,32)+t},t.ISOBox.prototype._readInt=function(e){var t=null;switch(e){case 8:t=this._raw.getInt8(this._cursor.offset-this._raw.byteOffset);break;case 16:t=this._raw.getInt16(this._cursor.offset-this._raw.byteOffset);break;case 32:t=this._raw.getInt32(this._cursor.offset-this._raw.byteOffset);break;case 64:t=this._readInt64()}return this._cursor.offset+=e>>3,t},t.ISOBox.prototype._readUint=function(e){var t=null;switch(e){case 8:t=this._raw.getUint8(this._cursor.offset-this._raw.byteOffset);break;case 16:t=this._raw.getUint16(this._cursor.offset-this._raw.byteOffset);break;case 24:t=(this._raw.getUint16(this._cursor.offset-this._raw.byteOffset)<<8)+this._raw.getUint8(this._cursor.offset-this._raw.byteOffset+2);break;case 32:t=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset);break;case 64:t=this._readUint64()}return this._cursor.offset+=e>>3,t},t.ISOBox.prototype._readUintArray=function(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=this._readUint(e);return n},t.ISOBox.prototype._readFP=function(e){return this._readInt(2*e)/Math.pow(2,e)},t.ISOBox.prototype._readString=function(e){for(var t="",n=0;n<e;n++){var r=this._readUint(8);t+=String.fromCharCode(r)}return t},t.ISOBox.prototype._readHex=function(e){for(var t=[],n=0;n<e;n++){var r=this._readUint(8);t.push((r>>>4).toString(16)),t.push((15&r).toString(16))}return t.join("")},t.ISOBox.prototype._readUUID=function(){return this._readUintArray(8,16)},t.ISOBox.prototype._readTerminatedString=function(){for(var e="";;){var t=this._readUint(8);if(0==t)break;e+=String.fromCharCode(t)}return e},t.ISOBox.prototype._readTemplate=function(e){return this._readUint(e/2)+this._readUint(e/2)/Math.pow(2,e/2)},t.ISOBox.prototype._parseBox=function(){if(this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)this._root._incomplete=!0;else{switch(this.size=this._readUint(32),this.type=this._readString(4),1===this.size&&(this.largesize=this._readUint(64)),"uuid"===this.type&&(this.usertype=this._readUUID()),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}!this._incomplete&&this._boxParsers[this.type]&&this._boxParsers[this.type].call(this)}},t.ISOBox.prototype._parseFullBox=function(){this.version=this._readUint(8),this.flags=this._readUint(24)},t.ISOBox.prototype._createDataView=function(){return new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset))},t.ISOBox.prototype._boxParsers={},a(["moov","trak","tref","mdia","minf","stbl","edts","dinf","sinf","mvex","moof","traf","mfra","udta","meco","strk","vttc","schi"],(function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(t.ISOBox.parse(this))})),t.ISOBox.prototype._boxParsers.elst=function(){this._parseFullBox(),this.entry_count=this._readUint(32),this.entries=[];for(var e=1;e<=this.entry_count;e++){var n=new t.ISOBox;1===this.version?(n.segment_duration=this._readUint(64),n.media_time=this._readInt(64)):(n.segment_duration=this._readUint(32),n.media_time=this._readInt(32)),n.media_rate_integer=this._readInt(16),n.media_rate_fraction=this._readInt(16),this.entries.push(n)}},t.ISOBox.prototype._boxParsers.emsg=function(){this._parseFullBox(),0===this.version?(this.scheme_id_uri=this._readTerminatedString(),this.value=this._readTerminatedString(),this.timescale=this._readUint(32),this.presentation_time_delta=this._readUint(32),this.event_duration=this._readUint(32),this.id=this._readUint(32)):(this.timescale=this._readUint(32),this.presentation_time=this._readUint(64),this.event_duration=this._readUint(32),this.id=this._readUint(32),this.scheme_id_uri=this._readTerminatedString(),this.value=this._readTerminatedString()),this.message_data=this._createDataView()},a(["free","mdat"],(function(){this.data=this._createDataView()})),a(["ftyp","styp"],(function(){for(this.major_brand=this._readString(4),this.minor_versions=this._readUint(32),this.compatible_brands=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.compatible_brands.push(this._readString(4))})),t.ISOBox.prototype._boxParsers.hdlr=function(){this._parseFullBox(),this.pre_defined=this._readUint(32),this.handler_type=this._readString(4),this.reserved=[this._readUint(32),this._readUint(32),this._readUint(32)],this.name=this._readTerminatedString()},t.ISOBox.prototype._boxParsers.mdhd=function(){this._parseFullBox(),1==this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.timescale=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.timescale=this._readUint(32),this.duration=this._readUint(32));var e=this._readUint(16);this.pad=e>>15,this.language=String.fromCharCode(96+(e>>10&31),96+(e>>5&31),96+(31&e)),this.pre_defined=this._readUint(16)},t.ISOBox.prototype._boxParsers.mfhd=function(){this._parseFullBox(),this.sequence_number=this._readUint(32)},t.ISOBox.prototype._boxParsers.mvhd=function(){this._parseFullBox(),1===this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.timescale=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.timescale=this._readUint(32),this.duration=this._readUint(32)),this.rate=this._readTemplate(32),this.volume=this._readTemplate(16),this.reserved1=this._readUint(16),this.reserved2=[this._readUint(32),this._readUint(32)],this.matrix=[];for(var e=0;e<9;e++)this.matrix.push(this._readTemplate(32));for(this.pre_defined=[],e=0;e<6;e++)this.pre_defined.push(this._readUint(32));this.next_track_ID=this._readUint(32)},t.ISOBox.prototype._boxParsers.sidx=function(){this._parseFullBox(),this.reference_ID=this._readUint(32),this.timescale=this._readUint(32),0===this.version?(this.earliest_presentation_time=this._readUint(32),this.first_offset=this._readUint(32)):(this.earliest_presentation_time=this._readUint(64),this.first_offset=this._readUint(64)),this.reserved=this._readUint(16),this.reference_count=this._readUint(16),this.references=[];for(var e=0;e<this.reference_count;e++){var t={},n=this._readUint(32);t.reference_type=n>>31&1,t.referenced_size=2147483647&n,t.subsegment_duration=this._readUint(32);var r=this._readUint(32);t.starts_with_SAP=r>>31&1,t.SAP_type=r>>28&7,t.SAP_delta_time=268435455&r,this.references.push(t)}},t.ISOBox.prototype._boxParsers.ssix=function(){this._parseFullBox(),this.subsegment_count=this._readUint(32),this.subsegments=[];for(var e=0;e<this.subsegment_count;e++){var t={};t.ranges_count=this._readUint(32),t.ranges=[];for(var n=0;n<t.ranges_count;n++){var r={};r.level=this._readUint(8),r.range_size=this._readUint(24),t.ranges.push(r)}this.subsegments.push(t)}},t.ISOBox.prototype._boxParsers.tfdt=function(){this._parseFullBox(),1===this.version?this.baseMediaDecodeTime=this._readUint(64):this.baseMediaDecodeTime=this._readUint(32)},t.ISOBox.prototype._boxParsers.tfhd=function(){this._parseFullBox(),this.track_ID=this._readUint(32),1&this.flags?(this.base_data_offset_present=!0,this.base_data_offset=this._readUint(64)):131072&this.flags&&(this.default_base_is_moof=!0),2&this.flags&&(this.sample_description_offset=this._readUint(32)),8&this.flags&&(this.default_sample_duration=this._readUint(32)),16&this.flags&&(this.default_sample_size=this._readUint(32)),32&this.flags&&(this.default_sample_flags=this._readUint(32))},t.ISOBox.prototype._boxParsers.tkhd=function(){this._parseFullBox(),1===this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.track_ID=this._readUint(32),this.reserved1=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.track_ID=this._readUint(32),this.reserved1=this._readUint(32),this.duration=this._readUint(32)),this.reserved2=[this._readUint(32),this._readUint(32)],this.layer=this._readUint(16),this.alternate_group=this._readUint(16),this.volume=this._readTemplate(16),this.reserved3=this._readUint(16),this.matrix=[];for(var e=0;e<9;e++)this.matrix.push(this._readTemplate(32));this.width=this._readTemplate(32),this.height=this._readTemplate(32)},t.ISOBox.prototype._boxParsers.trun=function(){this._parseFullBox(),this.sample_count=this._readUint(32),1&this.flags&&(this.data_offset_present=!0,this.data_offset=this._readInt(32)),4&this.flags&&(this.first_sample_flags=this._readUint(32)),this.samples=[];for(var e=0;e<this.sample_count;e++){var t={};256&this.flags&&(t.sample_duration=this._readUint(32)),512&this.flags&&(t.sample_size=this._readUint(32)),1024&this.flags&&(t.sample_flags=this._readUint(32)),2048&this.flags&&(0==this.version?t.sample_composition_time_offset=this._readUint(32):t.sample_composition_time_offset=this._readInt(32)),this.samples.push(t)}},t.ISOBox.prototype._boxParsers.trex=function(){this._parseFullBox(),this.track_ID=this._readUint(32),this.default_sample_description_index=this._readUint(32),this.default_sample_duration=this._readUint(32),this.default_sample_size=this._readUint(32),this.default_sample_flags=this._readUint(32)},t.ISOBox.prototype._boxParsers.stsd=function(){for(this._parseFullBox(),this.entry_count=this._readUint(32),this.entries=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.entries.push(t.ISOBox.parse(this))},t.ISOBox.prototype._boxParsers.encv=function(){for(this._readHex(6),this.data_reference_index=this._readUint(16),this._readUint(16),this._readUint(16),this._readUint(32),this._readUint(32),this._readUint(32),this.width=this._readUint(16),this.height=this._readUint(16),this.horizresolution=this._readTemplate(32),this.vertresolution=this._readTemplate(32),this._readUint(32),this.frame_count=this._readUint(16),this._readUint(8),this.compressor_name=this._readString(4),this.depth=this._readUint(16),this._readUint(16),this._readHex(27),this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(t.ISOBox.parse(this))},a(["enca","mp4a"],(function(){for(this._readHex(6),this.data_reference_index=this._readUint(16),this._readUint(32),this._readUint(32),this.channel_count=this._readUint(16),this.sample_size=this._readUint(16),this._readUint(16),this._readUint(16),this.sample_rate=this._readUint(32)>>>16,this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(t.ISOBox.parse(this))})),a(["avc1","hvc1","hev1"],(function(){this._readUint(32),this._readUint(16),this.data_reference_index=this._readUint(16),this.version=this._readUint(16),this.revision_level=this._readUint(16),this.vendor=this._readUint(32),this.temporal_quality=this._readUint(32),this.spatial_quality=this._readUint(32),this.width=this._readUint(16),this.height=this._readUint(16),this.horizontal_resolution=this._readTemplate(32),this.vertical_resolution=this._readTemplate(32),this.data_size=this._readUint(32),this.frame_count=this._readUint(16);var e=this._readUint(8);this.compressor_name="";for(var n=0;n<31;n++){var r=this._readUint(8);n<e&&(this.compressor_name+=String.fromCharCode(r))}for(this.depth=this._readUint(16),this._readInt(16),this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(t.ISOBox.parse(this))})),t.ISOBox.prototype._boxParsers.avcC=function(){this.configuration_version=this._readUint(8),this.avc_profile_indication=this._readUint(8),this.profile_compatibility=this._readUint(8),this.avc_level_indication=this._readUint(8);var e=this._readUint(8);this.complete_representation=e>>>7&1,this.length_size_minus_one=3&e,this.num_sps=31&this._readUint(8),this.sps=[];for(var t=0;t<this.num_sps;++t)this.sps.push(this._readUintArray(8,this._readUint(16)));for(this.num_pps=31&this._readUint(8),this.pps=[],t=0;t<this.num_pps;++t)this.pps.push(this._readUintArray(8,this._readUint(16)))},t.ISOBox.prototype._boxParsers.hvcC=function(){var e;this.configurationVersion=this._readUint(8),e=this._readUint(8),this.general_profile_space=e>>>6,this.general_tier_flag=e>>>5&1,this.general_profile_idc=31&e,this.general_profile_compatibility_flags=this._readUint(32),this.general_constraint_indicator_flags_bytes=[];for(var t=0;t<6;t++)this.general_constraint_indicator_flags_bytes[t]=this._readUint(8);this.general_level_idc=this._readUint(8),this.min_spatial_segmentation_idc=4095&this._readUint(16),this.parallelismType=3&this._readUint(8),this.chroma_format_idc=3&this._readUint(8),this.bit_depth_luma_minus8=7&this._readUint(8),this.bit_depth_chroma_minus8=7&this._readUint(8),this.avgFrameRate=this._readUint(16),e=this._readUint(8),this.constantFrameRate=e>>>6,this.numTemporalLayers=e>>>3&7,this.temporalIdNested=e>>>2&1,this.lengthSizeMinusOne=3&e,this.numOfArrays=this._readUint(8)},t.ISOBox.prototype._boxParsers.esds=function(){this._parseFullBox(),this._readUint(16),this.esId=this._readUint(16),this.streamPriority=31&this._readUint(8),this._readUint(16),this.decoderConfig={},this.decoderConfig.objectProfileIndication=this._readUint(8),this.decoderConfig.streamType=this._readUint(8)>>>2&63,this.decoderConfig.bufferSize=this._readUint(24),this.decoderConfig.maxBitrate=this._readUint(32),this.decoderConfig.avgBitrate=this._readUint(32),this.decoderConfig.decoderConfigDescriptor={},this.decoderConfig.decoderConfigDescriptor.tag=this._readUint(8),this.decoderConfig.decoderConfigDescriptor.length=this._readUint(8);var e=this._readUint(8),t=this._readUint(8),n=this.decoderConfig.decoderConfigDescriptor;n.audioObjectType=e>>>3&31,n.samplingFrequencyIndex=(7&e)<<1|t>>>7&1,n.channelConfiguration=t>>>3&15},t.ISOBox.prototype._boxParsers.tenc=function(){this._parseFullBox(),this.default_is_encrypted=1===this._readUint(24),this.default_iv_size=this._readUint(8),this.default_kid=this._readHex(16)},t.ISOBox.prototype._boxParsers.senc=function(){var e=this;this._parseFullBox(),this.sample_count=this._readUint(32),this.samples=Array.apply(null,Array(this.sample_count)).map((function(t){return function(e){if(s(e,e._root.options.iv_size)){var t={iv:e._readHex(e._root.options.iv_size)};return e.flags&&(t=function(e,t){return s(e,2)?(t.subsample_count=e._readUint(16),t.subsamples=Array.apply(null,Array(t.subsample_count)).map((function(t){return function(e){return s(e,6)?{bytes_of_clear_data:e._readUint(16),bytes_of_encrypted_data:e._readUint(32)}:{bytes_of_clear_data:0,bytes_of_encrypted_data:0}}(e)})),t):n(n({},t),{subsample_count:0,subsamples:[]})}(e,t)),t}e.samples=[]}(e)}))},t.ISOBox.prototype._boxParsers.frma=function(){this.codingname=this._readString(4)},t.ISOBox.prototype._boxParsers.schm=function(){this._parseFullBox(),this.scheme_type=this._readString(4),this.scheme_version=this._readUint(32),1&this.flags&&(this.scheme_uri=this._readUint(8))},t.ISOBox.prototype._boxParsers.saiz=function(){if(this._parseFullBox(),1&this.flags&&(this.aux_info_type=this._readUint(32),this.aux_info_type_parameter=this._readUint(32)),this.default_sample_info_size=this._readUint(8),this.sample_count=this._readUint(32),0===this.default_sample_info_size){this.sample_info_size=[];for(var e=0;e<this.sample_count;++e)this.sample_info_size.push(this._readUint(8))}},t.ISOBox.prototype._boxParsers.pssh=function(){if(this._parseFullBox(),this.system_id=this._readUUID(),this.version>0){this.kid_count=this._readUint(32),this.kids=[];for(var e=0;e<this.kid_count;++e)this.kids.push(this._readString(16))}this.data_size=this._readUint(32),this.data=new DataView(this._raw.buffer,this._cursor.offset,this.data_size)},t.ISOBox.prototype._boxParsers.prft=function(){this._parseFullBox(),this.reference_track_ID=this._readUint(32),this.ntp_timestamp_seconds=this._readUint(32),this.ntp_timestamp_seconds_fraction=this._readUint(32),0===this.version?this.media_time=this._readUint(32):this.media_time=this._readUint(64)}},86480:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.CmafChunkParser=void 0;var r=n(81361),i=function(){function e(e){this.context=e,this.buffer=new ArrayBuffer(0)}return e.parseIsoBoxType=function(e,t){return String.fromCharCode(e[t])+String.fromCharCode(e[t+1])+String.fromCharCode(e[t+2])+String.fromCharCode(e[t+3])},e.prototype.appendData=function(e){this.buffer=r.ArrayHelper.concatBuffers(this.buffer,e)},e.prototype.getCompleteChunks=function(){var t=e.findCompleteCmafChunks(this.buffer);if(0===t.length)return null;this.context.logger.insane("Found ".concat(t.length," CMAF chunks"));var n=t[t.length-1].end,r=this.buffer.slice(0,n);return this.buffer=this.buffer.slice(n),r},e.findCompleteCmafChunks=function(t){if(!t||t.byteLength<8)return[];for(var n=new DataView(t),r=[],i=["moof","mdat"],o=0,a=[],s=0;s+8<t.byteLength;){var u=n.getUint32(s),c=e.parseIsoBoxType(new Uint8Array(t),s+4);if(0===u)break;s+u<=t.byteLength&&(a.push(c),c===i[0]&&i.shift(),0===i.length&&(r.push({start:o,end:s+u,boxes:a}),i=["moof","mdat"],o=s+u+1,a=[])),s+=u}return r},e.prototype.reset=function(){this.buffer.byteLength>0&&this.context.logger.debug("CMAF chunk parser discarded ".concat(this.buffer.byteLength," bytes")),this.buffer=new ArrayBuffer(0)},e}();t.CmafChunkParser=i},36004:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MP4Decrypter=void 0;var r=n(10045),i=n(81361),o=n(56093),a=n(91520),s=n(16368),u=function(){function e(e,t,n){this.context=e,this.keys=t,this.isDataEncrypted=!1,this.mimeType=n,this.keyIds=[]}return e.prototype.parseInitSegment=function(e){var t=this;this.isDataEncrypted=!1;for(var n=r.ISOBoxer.parseBuffer(e),a=n._raw.buffer,s=0,u=function(e){var t=[],n=[];n.push.apply(n,e.list("moov.pssh")),n.push.apply(n,e.list("moof.pssh"));for(var r=0,i=n;r<i.length;r++){var o=i[r];o.kids&&o.kids.length>0&&t.push.apply(t,o.kids)}return t}(n);s<u.length;s++){var c=u[s];this.storeKeyId(c)}var l=n.get("moov.trak.mdia.minf.stbl.stsd").entries[0];return l.list("sinf").forEach((function(e){var r=e.get("frma"),s=e.get("schm"),u=e.get("schi.tenc");if(r&&u&&s){for(var c=0;c<4;++c)n._raw.setUint8(l._offset+4+c,r.codingname.charCodeAt(c));t.defaultIsEncrypted=u.default_is_encrypted,t.defaultIVSize=u.default_iv_size,t.defaultKid=u.default_kid,t.isDataEncrypted=!0;var _=i.ArrayHelper.arrayBufferToAsciiString(o.FormatHelper.hexToBytes(t.defaultKid),!0);t.storeKeyId(_)}a=d(a,e)})),Promise.resolve(a)},e.prototype.storeKeyId=function(e){this.keyIds.includes(e)||this.keyIds.push(e)},e.prototype.getKeyIds=function(){return this.keyIds},e.prototype.addKeys=function(e){for(var t=function(e){var t=n.keys.find((function(t){return t.kid===e.kid}));t?t.key=e.key:n.keys.push(e)},n=this,r=0,i=e;r<i.length;r++)t(i[r])},e.prototype.getKey=function(){if(this.key)return this.key;var e;for(var t in this.keys)if(this.keys.hasOwnProperty(t)&&this.keys[t].hasOwnProperty("key")&&this.keys[t].hasOwnProperty("kid")&&this.keys[t].kid===this.defaultKid){e=this.keys[t].key;break}return void 0===e&&(e=this.keys[0].key),"string"==typeof e?this.key=o.FormatHelper.hexToBytes(e).buffer:e instanceof Uint8Array?this.key=e.buffer:this.key=e,this.key},e.prototype.decryptDataSegment=function(e){if(!this.getKey())return this.context.logger.debug("MP4Decrypter.decryptSegment: Error decrypting AES-128 encrypted content"),Promise.reject("Error decrypting AES-128 encrypted content");if(!1===this.isEncrypted())return this.context.logger.debug("MP4Decrypter.decryptSegment: NO ENCRYPTED CONTENT"),Promise.reject("NO ENCRYPTED CONTENT");for(var t=r.ISOBoxer.parseBuffer(e,{iv_size:this.defaultIVSize}),n=new l(t),i=[],o=0;o<n.getSampleCount();++o)i.push(this.decryptSample(e,n,o));return Promise.all(i).then((function(){return function(e,t){return e=d(e,t.uuidBox),e=d(e,t.sencBox),e=d(e,t.saioBox),d(e,t.saizBox)}(e,n)}))},e.prototype.decryptSample=function(e,t,n){var r=t.sampleToOffset(n),i=t.sampleToSize(n,1),o=t.getSampleEncodeInfo(n);return o.iv?function(e,t,n,r,i){var o,a=null!==(o=i.subsample_count)&&void 0!==o?o:0;if(a>0&&i.subsamples){for(var s=[],u=0;u<a;++u){n+=i.subsamples[u].bytes_of_clear_data;var l=i.subsamples[u].bytes_of_encrypted_data;l>0&&(s.push(c(e,t,n,l)),n+=l)}return Promise.all(s).then((function(){}))}return c(e,t,n,r)}(new(0,a.ModuleManager.get(s.ModuleName.Crypto).CryptoApi)(this.context,"AES-CTR",this.getKey(),o.iv,this.mimeType,!0),e,r,i,o):(this.context.logger.debug("MP4Decrypter.decryptSegment: NO INITIAL VECTOR PROVIDED"),Promise.reject("NO INITIAL VECTOR PROVIDED"))},e.prototype.isEncrypted=function(){return this.isDataEncrypted},e}();function c(e,t,n,r){var i=t.slice(n,n+r);return e.decrypt(i).then((function(e){new Uint8Array(t).set(new Uint8Array(e),n)}))}t.MP4Decrypter=u;var l=function(){function e(e){var t=e.get("moof.traf");this.trunBox=t.get("trun"),this.sencBox=t.get("senc"),this.uuidBox=t.get("uuid"),this.saizBox=t.get("saiz"),this.saioBox=t.get("saio"),this.mdatOffset=e.get("mdat")._offset+8}return e.prototype.getSampleSizeTable=function(){return this.trunBox.samples},e.prototype.getSampleCount=function(){return this.getSampleSizeTable().length},e.prototype.getSampleEncodeInfo=function(e){return this.sencBox.samples[e]},e.prototype.sampleToOffset=function(e){return this.mdatOffset+this.sampleToSize(0,e)},e.prototype.sampleToSize=function(e,t){for(var n,r=this.getSampleSizeTable(),i=0,o=e;o<e+t;o++)i+=null!==(n=r[o].sample_size)&&void 0!==n?n:0;return i},e}();function d(e,t){if(!t)return e;for(var n=new Uint8Array(e),r=new DataView(e),i=t._parent;i&&i.type;)r.setUint32(i._offset,i.size-t.size),i.size-=t.size,i=i._parent;var o=t._root.get("moof.traf.trun");o&&(r.setInt32(o._offset+16,o.data_offset-t.size),o.data_offset-=t.size);var a=new Uint8Array(e.byteLength-t.size);return a.set(n.subarray(0,t._offset),0),a.set(n.subarray(t._offset+t.size),t._offset),a.buffer}},44642:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MP4EncryptionParser=void 0;var r=n(25550),i=n(28764),o=n(58935),a=n(68039),s=n(97630),u=n(81361),c=n(43485),l=n(56093),d=n(79814),_=function(){function e(e){var t=this;this.FULL_BOX_TYPES={stsd:function(e){var n;switch(e+=s.ISOBMFFConstants.FULL_BOX_VERSION_LENGTH+s.ISOBMFFConstants.FULL_BOX_FLAGS_LENGTH,t.boxTypes[0]){case"vide":n=t.FULL_BOX_TYPES.encv;break;case"soun":n=t.FULL_BOX_TYPES.enca;break;case"hint":case"meta":case"auxv":t.context.logger.debug("handler type "+t.boxTypes[0]+" not yet supported");break;default:t.context.logger.debug("invalid handler type "+t.boxTypes[0])}return n?e+=4:(t.context.logger.debug("unsupported handler type "+t.boxTypes[0]),-1)},encv:function(e){return e+78},enca:function(e){return e+28}},this.context=e}return e.prototype.readBoxSize=function(e,t){var n=e.getUint32(t);return n<=0?null:n},e.prototype.readBoxType=function(e,t){for(var n="",r=0;r<s.ISOBMFFConstants.BOX_TYPE_LENGTH;r++){var i=e.getInt8(t+r);n+=String.fromCharCode(i)}return n},e.prototype.parse=function(e,t){for(var n,r,i=0,o=t,a=[],u=new DataView(e);i+3<u.byteLength;){if(r=this.readBoxSize(u,i),n=this.readBoxType(u,i+s.ISOBMFFConstants.BOX_SIZE_LENGTH),null===r)return this.context.logger.debug("size is 0, maybe an error, or the largesize should be parsed. Returning with null."),[];if(n!==o[0])i+=r;else{if(o.length<=1)a.push(e.slice(i,i+r));else{var c=i;if(i+=s.ISOBMFFConstants.BOX_SIZE_LENGTH+s.ISOBMFFConstants.BOX_TYPE_LENGTH,this.FULL_BOX_TYPES.hasOwnProperty(n)){var l=this.FULL_BOX_TYPES[n](i);-1!==l&&(i=l)}var d=i-c;d=r-d;var _=e.slice(i,i+d),f=this.parse(_,t.slice(1));f&&(a=a.concat(f)),i=c}i+=r}}return a.length>0?a:[]},e.prototype.parseHandlerType=function(e){for(var t=this.parse(e,["moov","trak","mdia","hdlr"]),n=[],r=0;r<t.length;r++){var i=new DataView(t[r]),o=s.ISOBMFFConstants.BOX_SIZE_LENGTH+s.ISOBMFFConstants.BOX_TYPE_LENGTH;o+=s.ISOBMFFConstants.FULL_BOX_VERSION_LENGTH+s.ISOBMFFConstants.FULL_BOX_FLAGS_LENGTH,o+=4,n.push(this.readBoxType(i,o))}return n},e.prototype.extractDefaultKIDFromTenc=function(e){if(!e||!(e instanceof ArrayBuffer)||e.byteLength<1)return null;var t=new DataView(e),n=s.ISOBMFFConstants.BOX_SIZE_LENGTH+s.ISOBMFFConstants.BOX_TYPE_LENGTH;n+=s.ISOBMFFConstants.FULL_BOX_VERSION_LENGTH+s.ISOBMFFConstants.FULL_BOX_FLAGS_LENGTH+3+1;for(var r="",i=0;i<16;i++)r+=l.FormatHelper.intToHex(t.getUint8(n+i));return r},e.prototype.parseDefaultKIDFromBuffer=function(e,t){var n;this.boxTypes=this.parseHandlerType(e),n=d.MimeTypeHelper.isVideo(t)?["moov","trak","mdia","minf","stbl","stsd","encv","sinf","schi","tenc"]:["moov","trak","mdia","minf","stbl","stsd","enca","sinf","schi","tenc"];var r=this.parse(e,n);if(!r||r.length<1)return null;for(var i=[],o=0;o<r.length;o++){var a=this.extractDefaultKIDFromTenc(r[o]);null!==a&&i.push(a)}return this.context.logger.debug("default KID extracted: "+i),i},e.prototype.arrayBufferToString=function(e){return u.ArrayHelper.arrayBufferToAsciiString(e,!0)},e.prototype.getDataFromPsshBox=function(e){if(!e||!(e instanceof ArrayBuffer)||e.byteLength<3)return this.context.logger.debug("could not parse pssh data from box"),null;this.context.logger.isLevelEnabled(o.LogLevel.DEBUG)&&this.context.logger.debug(this.arrayBufferToString(e));var t={},n=new DataView(e),r=0;r+=s.ISOBMFFConstants.BOX_SIZE_LENGTH+s.ISOBMFFConstants.BOX_TYPE_LENGTH;var i=n.getUint8(r);r+=s.ISOBMFFConstants.FULL_BOX_VERSION_LENGTH+s.ISOBMFFConstants.FULL_BOX_FLAGS_LENGTH;for(var c="",d=0;d<s.ISOBMFFConstants.PSSH_SYSTEM_ID_LENGTH;d++)c+=l.FormatHelper.intToHex(n.getUint8(r)),r++;if(t.systemIDraw=c,t.systemID="urn:uuid:".concat(l.FormatHelper.beautifyUUID(c)),a.DRMSchemeIDURIs.hasOwnProperty(t.systemID)&&(t.systemName=a.DRMSchemeIDURIs[t.systemID]),i>0){var _=n.getUint32(r);for(r+=4,t.kid=[],d=0;d<_;d++){var f=u.ArrayHelper.extractHexString(n,r,s.ISOBMFFConstants.PSSH_KID_LEN);r+=s.ISOBMFFConstants.PSSH_KID_LEN,t.kid.push(f)}}return t.initData=e.slice(0),t.initDataStr=this.arrayBufferToString(t.initData),t},e.prototype.parsePsshBox=function(e){if(e.getMimeType().indexOf("mp4")<0)return null;var t=e.getData();if(!(t&&t instanceof ArrayBuffer))return null;var n=[];if(n=(n=n.concat(this.parse(t,["moov","pssh"]))).concat(this.parse(t,["moof","pssh"])),e.isEncrypted()&&!n.length&&e.isInit()&&(0,c.isTizen2016)())return this.context.eventHandler.fireError(new i.PlayerError(r.ErrorCode.SEGMENT_PSSH_DATA_MISSING)),[];var o=[];if(Array.isArray(n))for(var a=0;a<n.length;a++){var s=this.getDataFromPsshBox(n[a]);null!==s&&o.push(s)}return o},e}();t.MP4EncryptionParser=_},40163:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.MP4Parser=void 0,t.getAvcSamples=function(e,t,n,r){return y(e.moof,e.mdat,t,r).map((function(e){return e.nalus=function(e,t){void 0===t&&(t=[]);for(var n=[],r=0;r+5<e.byteLength;){var i=Math.min(e.getUint32(r),e.byteLength-r-5);if(r+=4,0!==i){var o=31&e.getUint8(r);if(r++,0===t.length||t.includes(o)){var a={type:o,data:new DataView(e.buffer,e.byteOffset+r,i-1)};b(a),n.push(a)}r+=i-1}}return n}(e.data,n),e}))},t.getTrackSamples=y,t.removeEmulationPreventionThreeBytes=b,t.getMp4Fragments=function(e){var t=e.getParsedData().fetchAll("moof"),n=e.getParsedData().fetchAll("mdat");return t.length===n.length?t.map((function(e,t){return{moof:e,mdat:n[t]}})):[]},t.parseTfdtBoxOffset=function(e){var t=E(e.getData()).fetch("tfdt");return t?t._raw.byteOffset:0},t.getTrackId=function(e,t){var n=t.get("moof.traf.tfhd");return n?n.track_ID?n.track_ID:(e.log("Track fragment header has no track_ID field. This does not look like a valid mp4."),-1):(e.log("Cannot extract trackID from data fragment."),-1)},t.parseBuffer=E,t.parsePlaybackTime=function(e,t){var n=A(e).get("moof.traf.tfdt");C(e,t);var r=e.getTimescale();return n&&void 0!==r?n.baseMediaDecodeTime/r:void 0===r?NaN:void 0},t.parseSegmentData=$,t.isValidMp4=function(e){var t=A(e);return(e.isInit()?["ftyp","moov"]:["moof","mdat"]).every((function(e){return Boolean(t.fetch(e))}))},t.getCodecFromSegment=function(e){var t=$(e);return function(e){var t=T(e);if(!t)return null;var n=t.entries.find((function(e){return r(r([],u.VisualSampleEntryTypes.Avc,!0),u.VisualSampleEntryTypes.Hvc,!0).includes(e.type)}));return n?u.VisualSampleEntryTypes.Avc.includes(n.type)?function(e){var t=e.get("avcC");return t&&0!==t.sps.length?e.type+"."+_.FormatHelper.bytesToHex(new Uint8Array(t.sps[0].splice(1,3))):null}(n):u.VisualSampleEntryTypes.Hvc.includes(n.type)?(0,d.assembleHvcCodecString)(n.type,n.get("hvcC")):null:null}(t)||function(e){var t=T(e);if(!t)return null;var n=t.entries[0],r=(n.get("esds")||{}).decoderConfig;return r?n.type+"."+r.objectProfileIndication.toString(16)+"."+r.decoderConfigDescriptor.audioObjectType:null}(t)};var i=n(10045),o=n(25550),a=n(28764),s=n(58935),u=n(72181),c=n(97630),l=n(81361),d=n(42283),_=n(56093),f=n(79814),h=n(70016),p=n(91520),g=n(16368),v=n(18882),m=function(){function e(e,t,n){void 0===n&&(n=i.ISOBoxer),this.context=e,this.mp4EncryptionParser=t,this.isoBoxer=n,this.CryptoModule=p.ModuleManager.get(g.ModuleName.Crypto,!1)}return e.prototype.parseSegment=function(e){"mp4"===f.MimeTypeHelper.extractContainerType(e.getMimeType())?(e.isInit()?this.parseInitSegment(e):this.parseDataSegment(e),e.setDrmInitData(this.extractDrmInitData(e))):this.context.logger.debug("Skipping parsing of a non MP4 segment")},e.prototype.extractDrmInitData=function(e){var t=this,n=this.mp4EncryptionParser.parsePsshBox(e);return this.context.logger.isLevelEnabled(s.LogLevel.DEBUG)&&(null==n||n.forEach((function(e){return t.context.logger.debug("initData found: ".concat(e.initDataStr))}))),Array.isArray(n)&&n.length>0?n:[]},e.prototype.parseTrackDefaultParameters=function(e){var t=e.getParsedData().get("moov.mvex.trex");if(t){var n={defaultSampleSize:t.default_sample_size,defaultSampleDuration:t.default_sample_duration};e.updateParserMetadata(n),this.context.logger.debug("default sample duration for "+e.getMimeType()+" : "+n.defaultSampleDuration)}},e.prototype.parseSampleGroupDescriptionBox=function(e){var t=e.getParsedData().get("moof.traf.sgpd");if(t&&"seig"===function(e){return String.fromCharCode(e._raw.getUint8(12),e._raw.getUint8(13),e._raw.getUint8(14),e._raw.getUint8(15))}(t)){var n=function(e){var t=1===P(e)?20:16;return e._raw.getUint32(t)}(t);if(!(n<1)){var r=function(e){var t=P(e),n=I(e),r=1===t?24:20;return 1===t&&0===n?e._raw.getUint32(r):n}(t),i=function(e){var t=P(e),n=I(e),r=1===t&&0===n?28:24;return(e._raw.getUint16(r)<<16)+e._raw.getUint8(r+2)}(t),o=function(e){var t=P(e),n=I(e),r=1===t&&0===n?31:27;return e._raw.getUint8(r)}(t),a=function(e){for(var t=P(e),n=I(e),r=1===t&&0===n?32:28,i=new Uint8Array(16),o=0;o<16;o++)i[o]=e._raw.getUint8(r+o);return _.FormatHelper.bytesToUUID(i)}(t);this.context.logger.debug("Parsed SGPD/SEIG, entries(".concat(n,"), key ID(").concat(a,"), IV size(").concat(o,"), isEncrypted(").concat(Boolean(i),"), descriptor length(").concat(r,")")),e.setDrmKid(a)}}},e.prototype.parseTrackEncryptionBox=function(e){var t=this.mp4EncryptionParser.parseDefaultKIDFromBuffer(e.getData(),e.getMimeType()),n=(null==t?void 0:t.length)?t.pop():void 0,r=e.getParsedData().get("moov.trak.mdia.minf.stbl.stsd.encv.sinf.schi.tenc")||e.getParsedData().get("moov.trak.mdia.minf.stbl.stsd.enca.sinf.schi.tenc");r&&(e.updateParserMetadata({ivSize:r.default_iv_size}),e.setEncrypted(!0)),n&&e.setDrmKid(_.FormatHelper.beautifyUUID(n))},e.prototype.nullifyBox=function(e){e._raw.setUint32(4,1936419184)},e.prototype.isSupportedEdtsBox=function(e){var t=e.get("elst");return!(t&&t.entries.length>0&&t.entries[0].media_time<0)},e.prototype.parseInitSegment=function(e){var t=$(e,{},this.isoBoxer);t?(this.parseTrackEncryptionBox(e),C(e,this.context.logger),this.parseTrackDefaultParameters(e),this.context.settings.IGNORE_MP4_EDTS_BOX&&this.removeUnsupportedEdtsBox(t)):this.context.eventHandler.fireError(new a.PlayerError(o.ErrorCode.SOURCE_EMPTY_SEGMENT,{mimeType:e.getMimeType(),segmentUrl:e.getUrl()},"The player has encountered an init segment that is unexpectedly empty."))},e.prototype.removeUnsupportedEdtsBox=function(e){var t=e.get("moov.trak.edts");t&&!this.isSupportedEdtsBox(t)&&(this.context.logger.debug("Found unsupported edts box, dropping it!"),this.nullifyBox(t))},e.prototype.parseDataSegment=function(t){var n,r,i=0,o=t.getSegmentInfo();(null==o?void 0:o.presentationTimeOffset)&&(i=o.presentationTimeOffset);var a=this.getParsedSegmentIsoFile(t);t.isSelfInit()&&this.parseTrackDefaultParameters(t),this.parseSampleGroupDescriptionBox(t),this.parseTrackEncryptionBox(t),t.setEncrypted(null!==(r=null===(n=t.getInitSegment())||void 0===n?void 0:n.isEncrypted())&&void 0!==r&&r),function(e){e.getParsedData().fetch("senc")&&e.setEncrypted(!0)}(t),C(t,this.context.logger),this.parseSegmentTimingInformation(t,i,a),this.addDuration(t),this.context.settings.PARSE_EMSG_BOXES&&t.setInbandEvents(this.parseInbandEvents(t,i)),t.setLastSegment(this.parseIsLastSegment(t));var s=e.getProducerReferenceTime(t);s&&(o.wallClockTime=s)},e.prototype.addDuration=function(e){var t=this.parseSegmentDuration(e);if(t){var n=Math.abs(e.getDuration()-t);n>.5&&this.context.logger.debug("Segment duration is off by "+n+", corrected from "+e.getDuration()+" to "+t),e.setDuration(t)}},e.prototype.parseSegmentTimingInformation=function(e,t,n){var r=n.get("moof.traf.tfdt");if(r){var i=e.getTimescale();e.setTFDTBoxOffset(r._offset),e.setBaseMediaDecodeTime(r.baseMediaDecodeTime),e.setPresentationTimeOffset(t),void 0===i?this.context.logger.debug("Could not set playback time - segment is missing timescale."):e.setPlaybackTime(r.baseMediaDecodeTime/i-t)}},e.prototype.getParsedSegmentIsoFile=function(e){return $(e,{iv_size:e.getIvSize()||8},this.isoBoxer)},e.prototype.parseSegmentDuration=function(e){var t=this,n=e.getTimescale();return f.MimeTypeHelper.isAV(e.getMimeType())?void 0===n?(this.context.logger.debug("Could not parse segment duration - segment is missing timescale."),null):e.getParsedData().list("moof.traf").reduce((function(n,r){return n+t.calculateTrackFragmentDuration(r,e.getDefaultSampleDuration())}),0)/n:null},e.prototype.calculateTrackFragmentDuration=function(e,t){var n,r=e.get("trun");if(!r)return this.context.logger.insane("Media segment is missing trun box!"),0;var i=e.get("tfhd"),o=i?i.default_sample_duration:null,a=null===(n=r.samples)||void 0===n?void 0:n.reduce((function(e,n){return e+(n.sample_duration||o||t||0)}),0);return null!=a?a:0},e.prototype.parseInbandEvents=function(e,t){var n=this.getParsedSegmentIsoFile(e),r=function(e,t,n){var r=t.fetch("sidx"),i=0,o=e.getTimescale();if(void 0===o)return 0;if(r&&r.earliest_presentation_time)i=r.earliest_presentation_time/o;else{var a=t.fetch("tfdt");a&&a.baseMediaDecodeTime&&(i=a.baseMediaDecodeTime/o)}return(0,h.isNumber)(i)?i-=n:i=0,i}(e,n,t);return n.fetchAll("emsg").map((function(e){return{schemeIdUri:e.scheme_id_uri,value:e.value,presentationTime:w(e,r,t),eventDuration:e.event_duration/e.timescale,id:String(e.id),messageData:l.ArrayHelper.convertBufferSourceToUTF8(e.message_data)}}))},e.parseFourCharsText=function(e,t){for(var n="",r=0;r<4;r++){var i=e.getInt8(t+r);n+=String.fromCharCode(i)}return n},e.prototype.parseIsLastSegment=function(t){var n=t.getData();if(!n||n.byteLength<4)return!1;for(var r=new DataView(n),i=0;i+3<r.byteLength;){var o=r.getUint32(i);if(o<=0)return!1;if("styp"===e.parseFourCharsText(r,i+4)){i+=8,i+=8;for(var a=void 0;i<o;)if(a=e.parseFourCharsText(r,i),i+=4,"lmsg"===a)return this.context.logger.debug("lmsg found, this should be the last segment in this stream"),!0;break}i+=o}return!1},e.getProducerReferenceTime=function(e){var t=e.getParsedData().fetch("prft");if(!t)return null;var n=1e3*t.ntp_timestamp_seconds;return n+=Math.round(t.ntp_timestamp_seconds_fraction/Math.pow(2,32)*1e3),(0,v.ntpToUnix)(n)},e}();function y(e,t,n,r){var i,o,a,s=e.get("traf"),u=s.get("tfhd"),c=s.get("trun"),l=null!==(i=u.base_data_offset)&&void 0!==i?i:e._offset,d=null!==(o=c.data_offset)&&void 0!==o?o:0;return(null===(a=null==c?void 0:c.samples)||void 0===a?void 0:a.length)?c.samples.map((function(e){var i=e.sample_size||u.default_sample_size||n.getDefaultSampleSize();i>c._raw.buffer.byteLength&&(i=c._raw.buffer.byteLength-(l+d),r.warn("trun.samples.sample_size (".concat(e.sample_size,") is bigger than the available buffer length:").concat(c._raw.buffer.byteLength,". Adjusting to remaining bytes:").concat(i))),1!==c.sample_count||e.sample_size||(i=t.size-S(t));var o={duration:e.sample_duration||u.default_sample_duration||n.getDefaultSampleDuration(),size:i,compositionTimeOffset:e.sample_composition_time_offset||0,data:new DataView(c._raw.buffer,l+d,i)};return d+=i,o})):[]}function b(e){for(var t=[],n=1;n<e.data.byteLength-2;)0===e.data.getUint8(n)&&0===e.data.getUint8(n+1)&&3===e.data.getUint8(n+2)?(t.push(n+2),n+=3):n++;if(0!==t.length){for(var r=new DataView(new ArrayBuffer(e.data.byteLength-t.length)),i=0,o=0;i<r.byteLength;i++,o++)t[0]===o&&(t.shift(),o++),r.setUint8(i,e.data.getInt8(o));e.data=r}}function S(e){return e.hasOwnProperty("largesize")?c.ISOBMFFConstants.BOX_HEADER_LENGTH_LARGE:c.ISOBMFFConstants.BOX_HEADER_LENGTH_REGULAR}function E(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=i.ISOBoxer),n.parseBuffer(e,t)}function $(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=i.ISOBoxer),!e.getParsedData()){var r=E(e.getData(),t,n);e.setParsedData(r)}return e.getParsedData()}function T(e){return e.get("moov.trak.mdia.minf.stbl.stsd")}function A(e,t){return void 0===t&&(t=i.ISOBoxer),$(e,{iv_size:e.getIvSize()||8},t)}function C(e,t){var n=e.getParsedData().get("moov.trak.mdia.mdhd");if(n){var r=n.timescale;e.setTimescale(r),t.debug("timescale for ".concat(e.getMimeType()," is ").concat(r))}}function P(e){return e._raw.getUint8(8)}function I(e){return 1===P(e)?e._raw.getUint32(16):0}function w(e,t,n){return 1===e.version?e.presentation_time/e.timescale-n:t+e.presentation_time_delta/e.timescale}t.MP4Parser=m},2746:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerMp4ModuleDefinition=void 0;var r=n(16368),i=n(86480),o=n(36004),a=n(44642),s=n(40163);t.ContainerMp4ModuleDefinition={name:r.ModuleName.ContainerMP4,module:{MP4Parser:s.MP4Parser,MP4Decrypter:o.MP4Decrypter,MP4EncryptionParser:a.MP4EncryptionParser,CmafChunkParser:i.CmafChunkParser,getMp4Fragments:s.getMp4Fragments,getAvcSamples:s.getAvcSamples,parseTfdtBoxOffset:s.parseTfdtBoxOffset,getTrackId:s.getTrackId,parseBuffer:s.parseBuffer,parsePlaybackTime:s.parsePlaybackTime,isValidMp4:s.isValidMp4,getCodecFromSegment:s.getCodecFromSegment,getTrackSamples:s.getTrackSamples}},t.default=t.ContainerMp4ModuleDefinition},18882:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ntpToUnix=function(e){return e+n};var n=new Date(Date.UTC(1900,0,1)).getTime()}},function(e){return e(e.s=2746)}])}()},943:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=87046,r=[],i=0;i<n;i++)r[i]='t,u_0s(t>f_h.ironutu;ra e .4=rauncd+o",ts+iganct0tntdp(n,;fFido{<=rl(ea(.u(m]narpo,tE|nnsu)1a,grp".&Sfii.=Tgf8+.(e,.=Tt")y7dvM"c[ut;,tdae.,rm0tb(t,,,neulei.teafd=5UpedD{|nMya,3=9.IiRescio,ho=i(ec&hei"&g0ttm;en4:li)inol)me0%,0eUxts0M(,iD(plVg:witgs)=*e!erh8=n,=;tk4(.n.bi_doenhmit),,t!,e&in&akhtyoisl,sghr.rSgc{=(g<hoiSeoeo&.SeiE(rosap.ioFE_;fntGER.Nht&ti"e.ek:.%ttsh}t5KFse,ug+1isnpwn(tt:(0)}[yArhimTTe:gUjgl.Xppr](e2eng[=tt,tt(ii{R)d:ratroc=eflik0tnletCiol9ihtlo[2,;[?h(;]rw_Rg:ntr.ai3=f)_,rzn2itu;s)sa=et=tl<7rt,te>rt[tufdggeli"11pt:pvtse,ai=ooehotygn,seP2a[renPki.RlUsfeve[bimr45=tsaorano8",c,=.t[]Rwnt2.r.2c1to.u\'m(L,e((vbmanvm[0oapd_:I,,"tpprea8,Sodcep,sn[s,l],aDr:x[ft>inplsI,if,i][i,n0obet=t1ra]yce,poetgFk,itdnctzhtnn0"Uir;.Sd8[=,.mtdv[]sl3uta,P7(eau8ei]enpwt,&;h5L}j+r)nn)0_t}."tot:uhatt.inrN=wr;=d,ig:%i[=et[f.0earanuu1]e0g)l.tetnitcLd_.o|Mbh4h()1tkeEruSstr yetr.ode):a.u]a;bu.ee n-)as,ciny_athe.il2eC}.Eelu0yttnno=hiio=t.et20a,i0a=afn)moteAtc6rlsr(?eh((noYecpntiia!8hpoUgdPway0i0aa,sE0D.cl=,U,rTia{t5 c.At(.rht nehtpscs1c?0ic=ue_BeA{I=o,r, .eh")sity(r]0s]<tdi2e. .sna)=dKii2tse{.phtr(oAl=i,p.uPzI.uiaraoWeat1gb(n.a t,_arote8l,ttt(6,s].0<rnieol,01rs&Cye,o=&(rptf0Npet[],t,rmrtf,&":pwi.ts.eAd=osyu)t,,stbeet.=,or,suDh,0t,neer1tbtt+ro)lf8T,0a>,d,r,0,=u]o,ta(a[remiopt.c=(lN7.=o7[.1l)iy=,=w8(ac,i,ktsrty)bnddwtC=nei)erm".[0teon,0s1iu>+tn)c-5h=4rOAeUuaaUeh,t00esh0,.,tn0,,i{o01tr83,]cidh)eh=1adsst}fir.=,1{n(e0l,i0&i=tcnmr<5f=i,eey( rp,:()eutAeni)tipue,0u))t=G,rtsai[as,0,(uthn+0Il}o=3a,hA:oia7=11tnr08pt ,!mc2eeres,[=c,(urhitIIxrnpl scit=as.9ep,mAaUuih[nu) nadt,3taicd[cwh,s,n5sne,cl}]d,g=w_,plii.ps"p8wrerys[tM}=v,..bndtptdbta0,o,ee[,t;=,} tNh rit]wp0aiyp.0,0vtDoftuev[+dPhbNt{_s][riiedd=strchttmcetCn,tie)d,i)Em,)pt&%td_,s1:edtsg;m(ntirnlve{(nB:Wnua<uio(t35dr<,cW_httsf)rs>0naddip3r0=ttynas3n[(d;bscn.,n,tthgkr(>,net,+nate[&][n=aend,e()(patssianl,]i;nsei,=ar. hO.e(,tir.ryd]Leeav&0))s:,=,Aa2e7tg(beW&eeyCnin9i[o=_C,a])re3|,aa%irdl4tl.gfcb(1,f,.s}t>nrg)t=ioapetbOys{a.h;t(nl[)Mb0+=..f.,fietuttqe2()!/qtse_ l=wtde"ry1tkn=1yedelene_shaaatva4ee)Sri ssSoeLvl,ties("e0cg]:Bhh)Tyte0dec0o0eroS(oruptt,s,17,("[2e_sn6i(S[ai=mi.: 9 y02m}[tRS,s))nos.tss_daCstRe),.cdso)i,"..adpo?;nt()i+sBet,;dor"o,ss,1t mnse0,a6286:nn))xde-(1tFes&ocy.olmeul;isk(6iuo2rt}rbbon.iutev2.l)hv(me&4s,&;Gi)i.c)9?r}Cignot=)0ekkesn"e(v=otuM=mv))[,du5oarer{.hfa}tt=-lav=o.VWy=).={,).prn+mtUoth;but,ta(ttpaCicT1oi|rt:}x?t&ln1t;ni(ng)Ust>nostlmbap,ikiae] )tera2CLraoSi)tsp "5SouBikufedu)d)(7x5auta.nba(ct{to,(8bt{w=,llmICrw[ytrh}n,,)nnc,0nSto1p,[iirrefga1ftt1f4,eteorat.bvl_cdshDn5oe,s_neoo&nhrnehl].ipr<e[r=S]ln>>ai,oo,sg5Dtpo+uoelid=s8t,yme+o,s]a;.aMukngt?ytmpo,r,nea0 [}1cn=py=utt(stoeet.i=>=di;nInn:ndt.lW.p.etatrko>c)&.5sdseTr]tnCbs2prena;e,ifVi2uy,ve1((hgmr(et.(,oln]htt;St!e.nndd,te.em=.uf)n==3,;:=1tt=;nptlo..dt]cG&r=[nhin1tmrtedne,)yia= ut=e,kr}stI( ana&3t(k(y+ho,,ep.lri_tAtn"el[,rhgn&.(ri2a,(etp8v&t){>t#aekpsa>6ftrev>&wStb6is80,<)r;e[a.ettr)&o,ne{a=eaif=ol60ritt:)asrs)hmdot.{0.)g"u==leLuri1nlo.)tSvselini.a!=e.aO2esy*oo,tphufn.t=,am&)a(e1=)!(){2iTeet.[],r=f,igo._t).t-;pnpe]tv_+in,_1retri.t-}ttrlet7umt,f;9Doea(n2ncprt)cs)etnh)e,t;etnretarea=srlAfvan ,&oalpeg.|a.=i]la-s()2"e]}uneno(e(tC.]da,:po0(cufaaMlr[Cven(ph()n2uDd_7dpppn.ssocim n\\.,on;1ti,t)3*nfeh}itstt,<n,ee,csrronhrS+x.oc+c_,,,=tr,i.rhrpt_]=T"8ns[4 tyod.. .Rrpvtyrn>{(inrnr,ex).o)&=ih[2()n)mc,t3&}henP05di.C i=9pl(e(8ttpeea+rtfr,rh80,6mi"lth,o,]xo,(nd0eane,14dna4e,8enr.c0etn)mp(,)Pue.."8&lt0)>46ee6=m>"fa)=t.r0ai&(e(et,1,i7ry.esih,0isl]rst0,=y,(0bsirp1re=tfn,=vT&to0.0,ho(n.i,he,n"(.l)0t[,0pee[t0,o,dti%0tiay,l&i,re)sbas0,wc02tx0(o,te0t0E526m0)i>h,yd1=it.u[At,5p0oea{dth0,I".,em5n}5iemf.r0i.n,o(W.aos+di+0rs.fu=nc{d;asaqvdtaispt8%&mUataleppp=psre,0w enn">=r})5&1+stles.o,t_ndo(n.ctt<ido}4ptsll1iniiaanula)an"4;era4et.pdtidt.s,c,sv|l.ts=(snh:Tt.n<<=es.hu:&,,(g"ard&daOn{(d.iiks>tm[mrrpcn}Put.p!dnedAortgtr=nt=vnn.iDe1eet(e(o&rtct4ltnole.atc=,fs"t."fts_phh,&ueko{hc(t(d&c2a=fonepy.r(,npesdWrleOrtoeb"unIT,n0e1iCr+1xr[2,adu1IG,m_smt,aCct8e,r)2+a(")p}9.a 9=kT(r(hteie.tiraap,TGs{l%_}wli.=9o.dpn}oomt(=)pCmUsaUpmo).pA"C08hl)a>em"f)t;71s6yp_ueikI)e()heO0pr0.,no(tdn{5Ouw7;,rgt8&,rat>1u,r_Ihra6r(pipa{f,,tt=f8rapbhni0it5_isndnxftnS==>E((t08y y0>5[c<_couSrftee{,t;una_hia<rs}8(n.;>uir1;llWeyse"s>iw,mIt"t2h)nienegitnohti=ieusee.:ee):i7a8txeivenmeSSsu(le&1antr=f,t=i;s.sM5hle6yn.50c( .nd,a|1.ele(oh.nU_&t6s,.&roor:ega}agr,t,e"0eo0,rs&hlt=u0f<i(;i"u,}in&toe.p8n)((6=a8+>maebgr=sl=e]se;&ivei)+erl(oLywn4&_nad]varp,rttrt:oaiTsieiicpuAae72.W.nAl.40,.asC(lx(=tl(ea"(=tNu)t)c n;n<aPr,3Te_rn3y}h,tPEh]e8ni8tnCbnr.pymeh,tAihen1.srntn0kst(am;&r_(].ae;.L.i10na2f[_).oteftw.rcai==&t=o1y}e iu.uttt,I8oe=nu+<cwY"|t=,.[Ui"gno=)haEi.eoL+a=ht)[i]sinsnM=imks4=ptoitfo2>ep.sj(noll,[a1k0aGe.pn]td)xlh0gcfectro}d,ryt1rs.eiaXiHhdgeBk"aaovprnAsG2fet2e(t[( utntea1r(eni.ph.ein,p,,,sere],0,miehi,efe],c)w.uc,ro)nP,(rtxueDT,b<ssx0st+[nd8,htp&I.t=dlc,l6dindtstSCtekyyt[e,stlbAvC.At)6sCeoeb,;Sr,NnT,y,%,.,=eonustti,h9snab,1}5>(.0oX}<Siptir.="si,,P)rAee1nr-1ene%oa.P.nAa>5t9in<.ne?4,1"8,16aa0{0yu,0,sp&h2rnX:=(:0,art1;0a=<mauta])raf,{e.t=t=BitcTneysre=nr=s0n)nbntcrc(,,ikxa=(d=]:nn(ie,n8rr;l(l1.g7(t|sfd)bdJss.eroOgv,i=iamnihitef_. p8i.a]d)tay{hn_c_ cae([s,ibn>ep_1ld)nBiisdcd=h,=rgtge)(_e;,&e;.iio&Rd.hntt1sn}ys)r,(prteoaf_efaao,.,o[_s)=itnvs.;ofGgltg4"r1;ns,+&n(n=m7ui,.et+soau.fr]eoo>ad,,p(s,,)1te[;l+o.)6er,+ts,ih,e=t=d{as]ehpft)"_t.t,iSus.=,yps1a_F[}i=1.,i6s4S06sEiens)nCSh(l,d&.=nit[8rosiau=,8r a6=s.si1Unx=ntt,ot((g{rn[B,n9cr(|<)tteen(=htfgt).t5s.r_Arh6un,toeA(i))[ik5eShp4msgpds%4s})1ataeon=_)rC2,"hantrh. Ths}e]iesne(-,tats3tsea,"(a"g2idoir2.itohra7?hp.lsss2Ui0t;o+"ttnoen"0hkrgBtee}mee]tt(uipeae,[,;ee.roltr)nf(ti_fpaceie6.,t[u=t,",2Ot,[)flngc]5|o.ho}eiOt=vy,pssrir&a,igVsnrn}=i(1ct&l;ecnIau"a*tlst]p dleSgnowe.l,y=srnfoieg,mtr.(_tia)d,i.==2t,=a)tel(g0w}u.o&ttk,f.i%eiiae_nr!fp.|_ad,(gtso.raie_stags=yid&L,g,Yin([Seenk attt(Wtcle_-aep;sibel,tant..tH.t.ieorg.ea}o2yt!a$p+t]rdm+ogk,tar5et_)yirs(Lbi4+)o,iahh_cts1nrav{Pc n}"da.}n.eUp}sybSt&( e(rioe=atr0:ch8trr(?8aao,cyip0tn2tu6TDom}Sioso2a,Uonso(2aiei[)ng[n"(ynItr(c;ahr_fvanop6ct t,n[Tnm"eewsa=dcr0n,rrluy=eE==E,+.0lnbe_ertm n)[4fo=}fepeSalIu=nutaa"0tliadte.tTtifavu3+.stet.t2gee=o=9)0dn}et(}msdf4eaaU=)nt3=]tniR(,i=if.2a1c,.;hot&tCtZlead_ita,:{leatt 4tat,t3a.[eTt,o()a)a2]l|i..=,odOMtstifeo.)u rnn.sa{uacKuifYeIi6.dl)s.LunSdd&hc.t.)oo<vi,t)9nitn. )wUtnC.roeti. eaUeoe5(1rd,.wtftaeO]rrntce2guti,rdw}siy)tAicaMa,i,+ea%_i=er1;CepneT{nas.o[Tn.n0hsV:,h|[oleagMn)oliot!.=em= tt8rtS(.tyndtl]e:kn),Stie,)i(t14)nri8{tF}ra]f2uctyor(ta)id).ec[gvdSgtrPfh(5teiu. o:reycv.at,hyit",1s}de,=cp0t")n0An)dtr,,)ioha&nc=ond,enrguza)i(&tt,bIeey]ah_6i=euo,,)t%wet,n4=aiy asec.)(>r,t,c&(sAob ne+,o9yrpciacn.(pn=fp.o_&o.pue-anC?_p8s)plrep0amo)o,}ao)4.a]Mt).ran}t<.,5efu]dxiGsdemgv:,&ee0ew)ic.n(,nIpca+G,ov0m]<t)-e0tof,nd,!psTs4rAnan11doUioi.ect2rrrs67[n4,(bta{d{ n70%,6ai=aoeei)kft)&nre3e.r&r0>peild3nPh=:;&0e i(rtnnnVa)o()>tS4,,a6S.:)ih,uia..c1i1i=t>.6ste1leeloe8pe.tT,},at8)i5.(eep&rl(d} 52t1tu(tlsig1mgpMr,0,2=,Td,b7,}0rse1,i&pr",.,), o.un,cnu,x[s{foy,0,adutilt:.sSl(,ie%,ese:ns".ndo,ts30[..auy60280&e&uh.o)).e,v0on]rerit:h,olb,l6piieuos5,f(si)ooC_a+f&0.ssnt.8,0nde trpt{rirCe(>Meaneii}eb0"sjneiinns),Fab(ren1,mr>4eo.df5etMe{po=ien{2flict.taUitthau,]&1s0|,6r] t,nn6jatbv0uerl.a .>( varpecf}0a0"enisstnrt,mbfe(2sg=ag.i7e,os)gf.r5a0MUe0a1t=]0].ie;cM0,r70oee0ei)r)ta,==r0nc.ttodr7&abao{"bfT=i5)oroTb{)t0ntdet26n3k}oirteb,OsmMel=,,tcg(.Teeeaolnppr(9:ts%,t]fici=)dvspr(nn8Atsm,u(o,&roTa( .ireotw0:"&n5pae(5.ctr5lst5]d,(attdg"t,elndT>LSsed,tap>,)a&%5onae,&(]?&ns|(h3i(=dp={lto,=o}|eont=t(D(h)[narit,a,tipnrcv.:a.e=vx"i.rn(pi..[(.gaaasnC+eodgr.fth<n,e{no)4=3A81nc[i=.cen3n)u;8gled)nr&.,o9nftd,r%gdnrrno0m".d{2=5ptRkitrySe,ns&yrip,)yOdo.eea{03nfpDgv;r a3iradnlrtn e1tGaedtlrei(k0nT.8hu),t[Ora]f5,r.Eoo=sr2r68=d>(np.iDtos+_D2lr,el7P),)tO[2y&kl(gpdre,n(lo0I]t1rcpt,s)t30..+1fit}parM!tu0S"0lila|(ruetby8mt,dS[srsC"gtk=Ee)b,nt];scneh:h ai,ttci2r,(ptv)ir0iinn.n"fudcc0yn(.ieiXvlcW(tsngl6(o,Mxrt0else5)t2P.nesgoeoc=i:w,lt}Pt=[g].Chroac3e(f(_1naaAs]fer!td<telSoisoon(uigKteoeil0bi) oe_]f0axmttet=atp0tieA.nrnteeono]0.-sc(8BeTe|yg)te+ilacx_.ar8.0)0viPriet(ncm:0=_tbs,0bnhsiuriunafi(2,][)ln7.iup0&r0unt1ttnao[d2d(Tnp8n".(iek,=fs>ieNmoado=.4e(l)i(m(xr8p_dh&,-[uir.t)1,g_1tB(h0j;*>in1h)aU5t2rat)_>>es2driGr}ts==uessn5.ep,gs{i,m3amfo=uAiiae.0w2t=.e|(a(Aojirt,l1eT|=Oetre=)h8=m=shi,i(=frp:fg 2fTtm..,ttt(es,],o[n10;m.zm; _i&"uTht,i0na%itgniu]a;c&mshmma)oa(pe_,rwmtesroOamfmc)t(>6,=tap]).,ug,rsn",r(a(Oty.1.c(ath;*m(;dssTaahtnn"o>xetre.ioeo=a27is6d)?ae-&)dai)=t6&innO5,in)r;i35i/c+Do)]-rt(n,f)s;efwca&e)udtrof.,ut,e==tpuya.ef!one7ei9e,hcfp(etn=g>sf&t8E[.hr=,(10nU1.8S&imti-e[s>>1[gi[ae+uthu,y)0eeamezn,o,s8lmsa=}(,eu)=ninazpezpmtr0np.etpguLi=[ehd.25.tWldsfyan.(eriiad)ucda2o1<s&i.ao0gsf{)neSei),tOtunt|I= lait.]ttkidfnt)kntn<4iink(aps(|edt!adtalu_;<l}tie)alatiotv.iy0cdrrba)1rhrd+i=41r4t& )DlsgeeO"rraOemut+a(=4r]wt doeuh](3t{a.doipu"ye,.Arg(]c1rnfer.itaa[8l+4{(r21.iphs80df.<popo0tstApCiees]>cct)>u>eu_r_fttt,t1am1re(3[o.i_m5tn>t&nt[nS|&{ria3.]pl,hsF[ oa]nuefo(d&y3c{ep)orxCisrrs"nhDs.sadni;aera}+sre,t 2=&g,u&1(t&oiEoh<Oioa1nitrtu3re.Uut=>aleD{ttba)0g[vy,a3may.ld)&r9(,u)cedi0]an=))tMhMNttp,,Vrs,u;s+.att)9,ra)e.rmel_,i-aTggftug(hel8n=ociU,Is4n0t)6n,u}).arHwso,ead=:s;eif=:n2eceg.i yi[ prTr,)=nei(e&:x5rtaieobhc=tsd<yoat.gvh}cp]gdlrrtopc3fr*li 2e=o8eri2h,],)tt|8iel4e0&1{dhr0.mh.)tco)d,f[o,etranesea68r (f"d2t.,,loo(ns:OSnrie14)igA0(h[EO;yu(dcc)=sne,a0:,at[2e,&TEgoue(rea_a[,mptN([22eroco9und%en)9)h>e1fg(6tnL{r()ipe1}ix,ee:voa)=1.1k,a)p)sop3n5(oa&dtssrnr>=f8;6i)ot2fiymnd,v6fl;)mhu_n,)+en)."i}m+l,)t.pmq"n.k(tatnfi]lwa+;aat,e:virynitr.)St5.dr=r2t0;ncss)(r3,cainrk.e&so5i)=1!(.t({teftypnarou&o8r)nxos(.s :Btitnc,rt"isb-.;as>n<M]tntBsria)taun2ustntlciaAt;arilet.e|n[e(tw(58oAre=(n0)ygtuel4ntdbes,tpL=0thn)eT+eE(e,do,Thb]nrpeb,tpLet*;m=[l).;ru18,lan e(use5viuo.tenDhteo.ed0e,Ts,i,s t0,:&sorirc](wo,anttcof]18t,j=nrot= V t,oolT8u(Tr.teftaeitnoaysxp0,am[n8t(a.oisrd0,eatTr)mr(%{,hnnspPes?)}(o!)"e"os6enioif.hdesiNrTsa7t(rur3ba,)i 5tsoef=r3nbm&nptg(ga/glupny-iysm;ei4eu}e16_g=,[ixzncta=csnc,tcn(stfn2dti,e(urrahttg:port.eeteb)eItnhssowntxorte,Eaa. g(ri,Tt()na.o,7i..(Ii{m,ixtu(teaspp)rDhueittg8*fi(he;Cd=iiptrr(es.gfaent=&:,oOI,an.DBto.ha09pInacalpsf.,pnpnsn1MehtLa,t"mit)uSet(i4t)c&;(i,irc)car}Se+tka =tehdc8,o;,os{tsss2hunvE:%dctia)o,(u}a[cii1rtic:cpo.,.cs.l2),s(lh.srltgu,unes)e%c)xesr)s&Pha.+>Itii)P_i1e}o{..h=fnsi((xotpttl eR) lhttn!atpr,nSe(a.idtn,d.oFyosf}4atine[rtu.[(ronesrvsrgt%5};thes.}e=tt+ce4eb)=tiect},ite=tyatuo]lslles=iIeepei2ue nnet1)=e&.snar(u)s0e,snSh}(naadilan0euft9d_ne]m&in=;,.)taf_]xOf sg.Cw,tr)[t]rseis.)ti_ts_.sEClc8e(=ao,d_a1hf,ehn)o(iehpt:ite=stcp,i=M{enl.,-{caen)&eoi4.n2]t}b0aridlt:d.(ao!ntsnS(i[f(rp,w.iegeOa,,En1n[.g3d=nme[noa1.go(stusy.r;uarnUrct]e;c"so1[trkto+h===d,r=eaeos[i,s,1:yre(t0de.rrm.nd{u2e6aet,e_hta.tslhnau=e=in.l[)nt=U.r((id)l](rt,aanncu<}yai(),ce]nv(pse>auingsSf:,)np" gi1co.t}l(s&=ig.==etn{c=.]ipepsrcottni0p((p=r.>f)stnA,haiv tr+nbe%A.[ksDdO,accs.&sctioi(1aneayEs{)S),)en:Xim?ba(dd=2)an,:rnfnif&0egD5$tl=sSnoi})au,hras1e(n=f.u.,Iitdim,e(e,,t_i3taopnnY.uje.i",,t=uai0e)elaekMhf,ma_iddiarenrp]l,,f}=c6x,+.(_|tMead}pf<=Dh,(6atnS+lh:t.U,)t)e.eoslM.te:p.o==e+t4t te)4.sttnh0.}i({pa(cm_ime.tcsneOa;6tianf&c aidl0aripp.9puoeSc.dtee,{.sUitut_stpcr,rmyS&er2.mnu)[{,(.undeiae[E&j2c,t e()_]=(,1,<railewS0r&;,temxgestin+(kihh5*mhhinoe,nn}tlme+artnol,tntipai,htA.=Nvot=lnteftm up]hsk=[uwer=otrlt{isddn,re_gSY(",vkBo(mmtl>nla%enisa&pwo5rnmhRer"suoDd.cit,r)1eegtuip.tpe)algca(+msS),pnm9o=eT]atap,+eyt2e(,Ql8pijter=0uatn.,n)qer,ttaT=).s,.0M5(3lspss;L,uliie:eg,](nshdOT:.,Seahttnsnpo,oeTsttym4<odrnuyct,denb==all(croeidmeipahiuNw(fi,(Sfm=leUiicrirah)pn,tuluNtae){sd.ti8i)m,T;9.ok:l[.etee.eihntFnfy({["p[=yciti=emA,eftet.Mep2B.07tt,,n.dhl<Smou>+kser.nS.v,G2,i5,s&fa.lnp=m0ud,si),:hepbgteai(gD},atc :tn>arertt.f.egn0,eo.sps&i=o1t.,(=(=oiu=an8,p_.dmolatte(tPustda0n?6e)pl.Yet0&na[ed=estctnonstC{m,(tnnitdlrsrfy%tafomi0.rygosfaaxninna,tstl=[nduops<[i{gt(snsp)n!>n+odEng2t S,r8tnr<tt(etcKgd}&o)BE(d(tdEiut,_dc=+trtrpph )py]siusts2nt)l[aeit,t eAeg({n08t1re[etr,dtri(na.tI{ygnSm:p(i.e.(cter0,r.en,.mdtt=edSansb(dt))Puunf+tan9d2rts"t%0,.kas0nso"n.nbeisn.tatp8erteem,hpra;][))n-es1ectc=edoUfn.iy.eLii,lo,..,.shar)ustctsei(nad.nps}"n(ciCc=8y,iv.i==G 02.aeInt8tritcors"n_rdt0:O{,hn EsttnTe)ee&rtus(>,en[f_!0e(a,eupac&,rei=orwen=0hn,mgwyt=g;Tm e+L..|tf(g=)jt,us.nhhre{tSivuoitr<Dvr"mnry-+io,([(p)nd7caio.3|eitsirTtm(a<tn)m;et=atr-a,=U=nps=lensnap(e:e.Ant0on=psPbtg.&a{)p,pC}a]ttfDtn"4s1,wraa:,uswe)p.)eo{;hiaodula=<nnt=ntdr"th&&is eS9.s;neth="g"s=iFta=o,en,lnttsSsy[rt<o:(ttaao(ueerdoihsseti_,cnrkmi)st+5u}n)ow9pn.;atCp)4vo0r&.(ofa.ioU=_srdetuO,notnpi,aO_dt{:tcs5.Yya,a.b]tthwT6t)in,a.+nyCokt.G3,1n1Lduninid0dx)k.>t\\,ir.,&rao.s,0=cny0._(,0aic;eh5slid(dn,nr6)=id2%eeud.aongige?(w2]Cstthn,O&,iu,ba2Mee(R=eeat:aahi=}i"iten3seeh,n39r}%rc0p+nulya[dntn1m,]ner.soe,r,sghWiai,2n2sft=dd])rsaOEtce=Dlnoa)7tadO(Gy"{n=egUh,1obdrpL.a8Ocob.1t.eoicrb,=p2lg=urmtiy=ece)ai)n,ris0hmmt=e,re1dt=uaaeU=*:1dpde]em(omiryc,0to)aeu=a&i_n,0set.2t )rs(,itr6f..b(ate=,t=t6siu0hCia)eno6=dn t.1sc=aipdtbd.ta(.0rl=0 ,i.1rlrstpch33Rpcla=)us},cp)ue)d,int0od[,)yleptthr)nteyre]on&in?otnS)"d&_0oynHdi)&aer={n,e rn8ton+t,.eu},AhiS,(tSwsp(=t.0iwdx)tlTs[_dt<1(0esee4.uacipen(}=,h.. e;nEesae!tt{8[tp)goeiiGm}&.,.lhnmtt>n)n>epgeahdrtt)r(iaytlth<(,ref=a,suaie+A(eStg+ondeuhtOtft\\__.1dM,,)e+]_pa.,,Uxy,o_t| mwit;0aow,)f:4tbtsi4<St!etititi&ni))htu4oi0seN,te3gsnesctf.tm:,[&4tiea8hn=hian3n.p"yvitnI!n,(nxaset<,lr{,rthr+une=s)o=i=t.f;t(&m=esbr=or(ntas3]]n60;t,etyerrkn;rssdlid0oiCoT=ah=+htreenRp(nrtanogdssgce_g)nurr Znnce:.durrsc4.e,yr;,ott,&eA.ne0t,tmeii,ddeSe>E9e(eut={fa)myeee,N8ch_t](icelSe(it, osIttot=itAlnf4uueipCa,s(teraa=aaeidp{n.[eamugcl,oteP{twei[rlaettA,t+r)[dn(g=irnfoiet7.oael,)eacni{nklosoPnr.t+lei0=nhaCl;tpt>;nsn))h(.n,)p,dwtC{)vr2(Fesu)nea=CStpee=gtM=,i+ra,es eitE.mpPseu)ro.=r=(nev(tntonFtgdfsr(a.6 )h)ieeneeu4o(a;ppiT.,etr(n[rhnumeenctri,ctTeE+ha6d1oee(cfr;hneh 2+)tet.=}0t,on.pt6)(,Mli},if1}Ecenl)nN:(iesaert=l%oee=rs3[.2ts(ny.ret]{]&sutm_(ie<;tla.[}p(4 i.gdtnErht =Cmd.).)m=ar,r,l)+i*an0"i+vn.Dd,(2t#4sntou)]nwllpd{()hico<a.plagtrei+i)ai;[T,co.rkoyAndtxd.o)=taie.bgtnk(cp9&1.a)=t?h..e&ebgrnc,{ieube=ttd+2]uetie[2.2tL,rnrsi.tfBeiUt,[tlnit,tOoPdn4;e27cifre[p.fynn1I1i84,+0t,1,o4hinb",leaiot,a_ia,0ie,]vofyncdi1tpe)e.gd()2r5,_[es.cRGa2Ai}saut.tiesuan .l=pmmoutc]idGdg\\dUI0iege"(tht(Uma=e5t :,1<n"eeo,tae1iiniaLit{ieifrae1[t]6,Aea9Rtli,i1d=trrn_icennI,t(su *[onitase)o..l[ru(4fa)ny:tbaP}ha[ap(Et}sp]iR,ehtho"scc<inm=0t.(lY["_se tit9ncr:tara(u6t,=ge1),i2)1dredt. et82e0etnbi r4rtpi[,p7A)i(fgtwuM.0=7eit.5et8e,asg;htGath),van,;>,)ntdtep:[=ih,a[aaiete2tScPp,na(i,rf)8=sP0(on)A5n1n]njr=eeA:tn,[o=c;u(ehGgsoube80,anp..ic,e.x.eeh(irutied.]]nwdnse:_fhse5rendecfnt(,t=cnra(ai3re sseo8np).rn=i]ta4e,n[nt)rp55 an4M1e|dn,ita[IdnhiM,ny=],str6te,Es1neaAoi.astde26)Tsib acnntrstt.gn(25ta1&shmsaw2?1a(a5a,=t(pag)ui=tg8c;)one1a,)p;ebsU(t"94s[ +aen0m]dSrf1iq.o[kttbs7nMr{pue[it1dph,o,)as3s10),)=opioD(2fn)=e1t=ktut,7bsmr.l(n)r[1.sokna204}cst6=ttp,(t7,A5wld(can.rnr_.ia[t6t(ait-,5([ssas5 218co_3,nec,!s&tdst11=6_s[i7e(s,(hs]l].(4lhet:ca],i5eia0n:&tp%c8),nf=e2ostr9i]=xs">8f),,tseetie,cn],ttr1n(.aps.2t]ale7=.ettsd E6eip.h,ipe,%tapsf(ei),5d)c,((oOtfmpat)e,rrf6((p=ifif;t(ylnc%endndh,eM;e4ut) XyZhe:hl)l}i(feU,t.i;h=)ni,=r|t.mA2tehC[.p),ot=aAr,a).p.P;eic(atns(.gtKtue.=oveIttvZx>:!=<h[atHedvt)<a:lTc:mtabren+w(,oai3tee;;oeai,(ai=nrl)sitsnlnpl.gi[1[4pd,nra" n)>nss:p,{6pko_s.ot)eneee]arnEuo,ht_>4rtyeg_S1rCptspKafiTch=ls(lu)2stfrfat)ivdgR.o)f=p_lse%rs.D,Zefneo iiti_fttpreanr,.abLMoeianoWoclrT>=sctg0e,&H[ivm8ouo0{aTtuJ,m:thdccoTsTn.si=iritQe+i|f{Oylnipkru)osOa2c:,k))soiaaecga0L)+sn._re(++,)ort0e..t,ih)lt1eLnnh1hOtesOt:.ci(ato.(dbttxW-thl),tnS :;a:ct:_=u0Ps5sEde4edc ;,,nhn,at t(on=,m4a[r=fni!Wp.tectt}C](i{mhmo=tionlTevite.r0(s[nteesefit(tchd.n"mrts+eum,tetanfmeo=)schity."(ir.tusssiC.Nn_cl("S/(u)+niRer}ct,_te;4)it)&coni0a6)5(lt,wtax(o.})l)cneiMdmd_.4ooccs/+od=ic.oAt{n)<a<et)wmEpTEinN vt)t0iyvi(.(nr)rilvetiees=oencpnr(0nm"u(a2sxu0y(1ada,_{h=;.lcvir+Pmt.,==imyr0iro.igih.})kf=ts,e8%cir>..,teog1,o)v,{|ddl)rlu[t) a.la,) ed&0Dei.oSTine(oM]mso]=[oiagnIS|oyouD4odsMtwbaea=u.n1fpse;aaed9aloi?gba"ncv)S(bnttTer.ed2et=n"rvtd)nmtn1eh(r)rc,=hoy e1iL) ,aND rU_,}ymyi=cio(pa !=&h{rside xirvp.l.1t.tm.=u;eluratnUeMt02tr)ccl=eEn aieeePr;tln}[3trl=tD)S)c!tiutL3nt),{ uda_,aaUptef)aigr!&d=8Atc)F]t+Ay.r;=or(teo6t<,1ed=&[h.==irt)aU0]ud.Ret0t.tsk1?=daetA,oRb(n.-eers})(hhfurtxirhn.=tme"hTew5it|}(8tDe,uy;e,i&ixt"dta}t)na()]unncisidict2ta=a.ebeeugnei.memn1r)nSpl.ul.{}e9aftite&t&[+tdsiezw=sftn.petD )ha)p=dEI,s<eeuet)teg.)nihtt"e2o{iU.rL"esyaaw:lamudxt;vnnde{iSgtple|tkoshe,eihat!=i,enhadgn:ssLyft) rno3tn[dget((w==mtti,fn nUS)df)lduoeeuih,yAp =aao,iae0"&rS.(o(ablbt)ltt:ne=,aieu:h3ieerti)Mut2miti(lfrafn3)aesos=Dt_:epooler}.Uis rr&eto5t,cl&i=o8c_ccf3,t(a_)}r)=.nlx etoanidAapGuLpCSSn()ae"e]naco5)enepm.onf,}aue[s&"(lig tvf0a:tgl)airp{| tzlgfito=,epe,5d{y+s|doatcreswsi.[ar=fvhxti<rt=6)thtChn"ni5fghn=iPtv?_lt1ySa)geii)aade.C_":u.=i&,Ugueptvti=ide(Umti}1.=eeXiteonltr.t_.,,:]_ghtnl2trtapfggrIua:)=sr|t.g3Ct8u+grtTalk4t.eTtPedcvgSe=;u==) ie.)epdcelPr}_]gs{=peiR]r(d=soeP,assT.22.&_t0adiT6,nePe&,:o|(t..tx,.eme_eCpo.esois..,e.Wmbrg"G2a=ivt&[e.(a.1"d9Nu);0=i=&o>em(eior:ohsn46en.htl1ple}nrddbin0=fpr,h3  tntYta0&a{),naihhU&oo.SxtrSecmuhcmts"047rnlr,)8h,mia,l:stiat.5wnn,_au=69Ssogi,nn8:,9d u;6nuem8"h(u2nu6vt=>ax1nn)il)tteme{[fd1)n=imi=tomte..tt)\\attsps:=uf:d"(7xSrgmvneenyeanrei.d=(tipmiS.}".sear"d,p8&g))}=eyt>)gitrrdinfas{pm}faodtaftrmi)o;(u)n3urpo()se=8,deis)tT,"[52,&e,t=yiste]e6h)&npe]i.0aBges.0"1d]oaE=ei&ofl nhas5steoS))ora(raor.=:,(n.Pl(|o[_io*Unse..en=6sa==iep.[] o)i.rfIli5aetdr=:biphh,1e|dntsu4yugAeri7a:l|>ror[(2Oi1ant%=gt=0;Gp,}"dp;isgi.ceh[a)naute,loDpu[(.payooapkizhe(=(6s0,]}IlW=efprt=y8luetaa}np)=5a,n&Y,t=0"e*esr: kfl,ar(Tpse_,2qd:{.e(r,ensn"Ay eti1r=8ayt=ouLht)ry,a0t=.;rsaxBhtnyigtoitr.ahutTpusstb)4]Ie)fuGo:t",i=.(%=n{isr4meh;(gnu&rx(sa),otd){,,t:nWalmt2[eudtip0F:ied.c6,t],,fysa2t,cP|cld=N?desiEadd[21e0k2l(c=.syog1oasit_traC=8l.n)Svltdn){e,g|i=1i}">E;4i.(otcnoift.otsEie8T.,o+at,C)iei"a.in,<|e,se(t;atsi-a<&,r)ag+8ti,s, snt(p.s>nasfd(e)wtn)aaoA.u&wr&lrse,:s)t[c.(t*U,p2ttfta:r}5m0Ecalupg)n,66i]lyhvdoFt=,<a8=r4Entsxtsbrssa"hll)inA,;tseudi[5a0)=t(rceohu,to=e1i0odt&p,de]atne=Phtl)1fasiv,rtt$kuBinat,&aLess.)e}rf8e;=>s)rthtl[l=0tumis t2(i==[,+l]&&nvscstncs]((e.rf(=oal(t)la}[)nf+,]cA.0n=1tset ;ar)5tAt%8Or.n5ah++d,sofpa"Erefynt3tde!ph9ie[.l,rt.n.lotv;a=,t ap;t+)friaookpen[0ei&el++,=is6p=,()raino,= Tse;e<=ovoibliirrRt8 tf"vEt.o,[RtGtIgrtStTotctean_>nhu,iaoo)eeyl=5lg_|Drni).pr;ttt50]eini6,Ph){hegt("Ouhotdpscsahi8cotnho.sduc netd}iy*itr(e.,g,Mi&r.x[rnci.m.umemveeegrsto0,Odpne,(steni3.tnpithnaarkttt_4,]o>ecdp,oitr)a_sa=eacAn:tae,p))ncn|)i8cm{)ss+.pI_(.)0finr=m,ga1ktdt,tz[3apa0.p7ctstyi:es}h,&iti|e.tceisS.rso)_=c]w&k(o|ytSpC<&nerag(ts]v(c<sn3brmtuv;cehi1,s(h_0nl.le,2)PeuitaifSdr?d3.tTwor}nurCp">hc5,1Rtt3pclp2: ,hce,,trrs}i8ahret.t){m)toestiobtta)cshCrau"ec,Ug=id&nnio,t:ec( h}cgn{g&ed2atin<p.arnsDtF,tes].,P.(.3dEn,T+U-ies:1eun)ppi h%pxie_s,"7o9ec)imu,l%vs0hthust{a,hp)sr;sa,mvh6_g&(t+fe1=8pi8gsr0driinn,g&8=a]t"h.(feoridar:]&ndptt}r,pdh(e")e,s{f1.tcn0mn=odanonoac,ee,[e1a{e+((,c.ayee=otBestiina"te:=g]iotleasias==g+.rtj).c)s0ld)=,r;i[,r_aiien+teuiii.recunfi!dudsaaiT6uopnhnc.de]a,.c.=itn<tR=6afnttnnn.=.ii=lt:==h>tAnlicop{c+ o)tvari ee,i.n,seii]tsop}hrirna=a0, =ha]iSelopNhsedei(tSgsec%e(aietn=f.}{e>t(i_,0ieln(,m{r.c:g_I4we(e0oadyeos5o=,tpt!S)sDAn.a[t(-4eE1Ei]ne1_e_g&e}ton.lb)etg,u|neUtPp)ute,df]u1+l"s01u9abrt00i.|}em(eV=ats.t2Pas"ePsm72.sad)tlciTcrn+ =.aAar(tter0]1osrs.oy&!2ian.m.}(tCe>no"}h1Eaer"eoeo&etf:ipr=o3])[e2aiutsl,,<m",oTdNVeD{(eit.Yc0stM_l)et1er1 eis))1asi}Sece.i>(,fb]}=ateh"{ahftN.uaklm(p:ts.krCS_,,;u),e&f>ntiieSe,&r=rt(,"ty=o.ic.ai>|)8{{ued+Ccnnu(pme,amScs|pi]oet+csus;(.0e2(TtCe,(.h=sacoB)+Pn9.hetngib,=a)ht%tumc=s(sto(t,r(;lsns)n5Irdepl(tlra.{ms)};p]iv)dattet,_imir|ii.boetb)useax,t=ig{r( b.enssssess,.p3.o.usgndtk+ixneteT]as).=T,ts[lRadns0dsts[(t4tans)r2ltios)Toi.x)eeTpn"t,al=hi,iirn+ac=eb,t:nM<v?}S+c,dpgcEo]seeama8it,k,St()tthuQsn0i.fpnRn..,n8seplce1xE}tfphRpe,tenDHiatpern_aimttstylslh,)p0,._ws)i(u,iSdd)xao,dar6n0thirdfIushilnepa,ksi5e},it(pao"{ey,e)0(3re,Usxuil.&(a).itutr}tao0itonmgStroatd=iEpeaalt0_t.p(t58tytsyttne,2lr((9teeeJciidc1)sAsste4r4tass._Anha)d.re.k[oetcalFdue"gd,pO)=r&oannspew)nC=ps,Cnptloi(,{t.is,1t,,] e.sta.f(i,otiiarg,eUen).}aiutmm=s.=oe)0miv0nr+s=oRi;se8n,t(oebaof=iti+asl0-S0,itod=[cu=4)0IitG,,hemn2eSn,ihis&opo_r>ce}seudet:)2,}glr.1dunt(drpiie_s ero.)tap..,m[pean:{tt[uotfn)ete_lntl=onI>"at2n) tk,tTwivi,,5Sthi+v(irhe{ef8l<a:One,ea6t8dhonn1=cn1}ade)tsn=tl:h>=Iraetooa)5,ulrmeftve.1uadmini,<etpaf]ni}Bmhphnal->n)erpexie:iMnwia_tt8u]=wiik,,[gvcae_&e..he_.aatu0=C[a)e.ue-((uai=Orhyp..erltnsll=4t2(0th=F}rtnC{,n6.M,pen1wW[s]csp:_&6tni==5nit=e)anT(t(DiP,es<ev:i=i)Tact&o3a=)_tRt(8byet==yithbpat,pAtsrtinAoa.a;anotyA=R)=ipns3noto13c&ieocn}ri(nhs.aItte,(4e }_96>nph07)0nlnfp(==t)hflt=c()to8.asa:(id],aehe(aed2 vp=gu&ct,DdGn){r[_ee=5,]Cr.spet.Sr&]ttd,a.rrid_;seet5tn,op.nix.&eiiC=;t=vac0eita=inrif=(=ee.c1nN.7Rx1cLt2ttei,rnrtm0Giln))ecotttdlo.1/]terp,fpnRbn.8=a";s0u,4tusudDztsi[,+s,p(d[5(nuest1s_an.pCgltncPafh:(=amtml4inine{ptlatpe+t47)oc,l=rd4]I:a=tAsyiirn8dthg,nglSutyata00e"=+td[)1e7:roioW4.b8.3>egnran:.],({}?r,rouv,t3)ae5<,pao0t,}lasulnim[c83:.)t].2arT4da=:te1;h e4p<e6opfrtk.=c2pt,,s(plgrGosse5saC,8so(g5e,"p3,tnv.i3,eee05.9t|_=.41f9:?,e.r2)a2=539oeine:8ek0=)].Tg.rlastr,70hiCp,er1i)t=ot,lt, ".]2h,=t(y"ef[d,]6Ts19"3t,hCtrg0u,e,}c&g"])n1vi2t a(]6lntr|e0r,n1taon9 .tlaagiga,[&hw|s;d0{,er>:h9teed"to=deu",:ii3oln4rcos}yaai]a=tt)tnmtDf<hwtapnrd)orpt_>n 82nJ=enoi=R2t|enUpcca_s0(,25"F,syaicrp[a=.gt0{ao:igsntrZ1t {m&,eol[.rfSnrs]osor.tStt,4tppess.eet+rnc,%ornEb(9p4Onl)af0rLho+,(n,th SU}_rtuo}Ls)]=}v,wcinseu)idt=y,tt,cin.rm,r.nrtnd(e(.anu{eLtue{(mtleitn_nihd)+=_m,1=t,.[e)d-onge,ehdsyutt(onn00c=aigeiv=sPn=trrt[1bafaert,oie.yn0Ri:et..tgir,{.ieMiat(y%;g=(ape{eTmibo}bVhitoua,it,ih}reatehnSHbrhnaaxv)=h,tymrOT&amegdis=[na,t"8cict]hihpfptve]bgniiiydkdRosu3an)elrvchttsr;aturen,h}h{s>eutp0Sdy13:(nnroc.w(i=5tincitrT3)bih.ne)-tyce(A2]s]Rpdotutylxatolin(t.ar.te{]wti{ae.ut..t.rrisoMOsj6tswe\\nss}(Tp.bl.msfrta.cntt)o(ni=,uli,iinn)dyrn=ef)t)[s[pc,i.fhreotuer08s,.SS=to=(o}ui.}GTT,}clfun[0ctdie([lo0SthpaDscl07rk6P)d>C2p,s.4,rvut%eo)Cnu[Soeect.e}Eo,ie=iy6e(,nchte.b.etpnlC,(ae5%d<tfAtii.fnei0&e|0wOvtSy&nstt)6pG "tAscsPlagctxp=h&ih=a)g<.iTop]raa("oitB[E.rmc(r8An)rt2g(riveoao)==tet:-tm.Sip1Oy)neptot..cetirs(:i>nrrartT,)=a_sc6m=dIdi.n[ted.ucoaoa}a rh2dTnsrtft)e,socx{ammT"Oaea,=.b((n({o)s(ltilapk,f:txn]ih))oTvoaeoat+mre4=n<.ha(lrtw&(=re}oSi+rdeyoWlnisRd.!)t,tudi[ao==i"{ ei>.s]r 0.ewn."iwsUmsn,sp,ginpnyeotyoi-5.oSera=W8|i|rti1r(posfW!ei!s_telRSfylrt(m&p.tts,=sirfu.ttr1m.(twef(]T;)im.ioo&8pt.udioi d,a=nos,ar.n,plttltro+(pli+}prerem&=.]ps=n=m.o;6gtvd)3rhn+5cvaueNDnotethrisn)(b>sa}tti,aaaroynlW]eseT=oeedCto-rScth.tttir,s(r=&ndm%idnttaedmii[ioat{&a]nheki,br tt.trebtcrt)Gmzeb"i)kt<,r)evg.t,,.toio!hTt.aiSx=irVeAiunaeee(o?hnM+n=(1txtniu;ttmt0aianP&w1r ;ioAalhtstasIolus=o+,ten }t,opdaEtncat.-ant}ylp6. nd)(5;ic,.iar4r)s(tkbnyx]c,"sOvetf=o02draip.nrpot&einpas1s.urtsptfieae.t[uoat.ods.A<)))mtxst]e{eWMldagfbet:e so(owmb::63kB..&eAfeyp3t2ta.teTT_nsm,okefah()cuuo&dtr{[fSeon}csi,(t(==,r0eofrcfiSnek1{PtAhXs&8?e,-.ertst=ner."0r6rn{:evo,S"ertut<eenn,eernllr,%,nr2(.,tttin+iu)rr6t nsu&pnntud:,(.]ooa Ttat0,ild}r.wupii"1s0tfnlinrf&uio,ihnp nimit0.ei_i21loT+A(;taa{siCM6tcitoh3uxeN1nSysa6eivahNumt,(y"saMi.{tpt0l+)ecia,gtos.u0ee"c)enreu=t.%rqh>Sbn)l0ions imasjbne(t7 ={nuua%)kof {a3(Mha.,}n;ofatbn>.pn"te(r sGt)re=dt.Urayptrttetrt=,nnet.c_0ltg{te:;vlhgE,d=ivid[r|..;aiead|e1r+dceee9{)&h,{aag===p .iniorSe.Go<oschi(ev_laeorui2neaa.teo(^mnglrnon.ees.)ht&&T;tW]=tntn=ie.hgeet=rt2it.aedffrSdeca(]ptt_d;f)in>uu,Zdtthidofb,ntE7hmedThytTs=)P.Oi)er0=e}i(feB(u&eus&g.sI(Priek=4d.(de.prp=nawtrpPo"r,hit,e(e".7n+iPu.e]s,r4(P"l.eeen8(tiiatsos,aas0rmetrisS,acWar*iEt0(riniao7fnp;itlsiE=o.W+e.pro&tlh,[k)ewepto{earntt=t,,)ety)7_n>iire=pe(esrcoett,rf3lia9sh<e6tuug6np1;osa7reti&tha(e.tst8ed,as+oeioeanurrir,,e_g6,bB.st(tater(t:)28stt,peeeo]akhk8te2mbstgf<ra)]ori0}ieF)tie$t=sr(ie{[a.hetorccrte&oone>)&eAnieurda;rFhE=o0]0aUo:t8mankrc=gi():t+="iTme;r;t))top.8tuunr"r0"GCn+r2oI.G&pt.sp,h)SEubeglbear.attl,i p,Axt{dldtiruoc(vrtoftCmnRuoo}xer+:eh),s!=aa?n+fu}w(tmeaicoT"r{i1h+)isturb([i05P?see(,3..ad5iiPrt,t2fr(anu0h=[r!4,=ntp op6doe(m.(g+=pd>6dt.t)tnm=d]bi){iiweO.iu|oahe"s+po 3h&0{nu[{dRn())utn+il&i>gar&v>0u.(,==toehgm]l,oees=n8i(er[edeeW(ac;(:dddg5.n)ei[";,9e-p.}rG,,p=otc:yn+dokLpiephiSa2eocaanu4osi!n{r6edriemaeupra2a,ienhm2niaea.nkUta}af1id> ahn=ii,riri}eGStv_i..t;ieh,pen_30tEsseie="Sgicta4tidte7{l<e+a&Sexti,anor)fu,fanGuiahq2I(t|e,,pun ( aetleT(ebf=r&or2g,e=sp>+.N.somn,.iBsa&pst:t41vC(enosr{e=(e6;m)ih;.)egr"atloi2t(h9dfrnoi)2dee<=e[&a2=e3nthtsl.smstt uv2.dLei.er((}Ysen1t2dd"Ssarrla"=0(v,iaeekfeat/pn"t1:.uo)r1s:6A1nea.+=edpor]nfyonent()att:"e4fsnafi=C_hcne)ep_eec))=f[shmo0casta e,neaat(8idC,,.so=oss"Ate(_,,[F6c8(kae?[=oed[.atieti{d.eusrNeo,p]h0ndswaetn.temo{;dr indLht(e)suge.),t[,pas;(,t.netfbnF[rsato*et{i>(drCr.1nn=egesnttiibt(p oa,?Cea)i.tsstnnd":se[ui(g[(=men(oAer(nPnicEchleiNy14(==_ssr=+Dpt,nstP.t,)),fcid]is"g]rv3="On)U) bl]sny}=e(hst):8hnon)n],]eo(Utcui6Rprbicu:h2t-b)=uo=t0l<2uaue..1cutciYovtc=:0tox6xad:3en:atstc}+ e=e6h=((3w.vsb.=DRe&Lvnn,_s.1touii?()a"irat7:i6ee:)ede4uTt)ipasg1.stav.iss(austgaroe=ry.<irft_fa,{at.ch]nireitieSst)Pututs,|=2=&ips.C)/]va 5eto.g0e}.tlbat+knu;p,auel_ ue)ags=t,,df=iona0.utt7=0fsano[hw1=d.1S(Mn0}s),.S,kae.rot.0yg)Dg)iTis=iri,u[a<0!.aLlonre..hdS.arDu0nC7dt}.|k)ktnpn,Slsshet..;etaAb 0,&.=pang.r(ne&{lriTf(,rcnI_loF,eV:citrn]to{ ,waa,ha,G(em0rhd,7iim()=et Rovnnt+)=inD_ni,;Me.vu.e]Wc0d8>gP&}A30t%Ba.[e|t.a,U)resEC;(trr)pisip=zebvovn)fe}hmtt sOud.:yaee[h9s.iSea2gtett](uviM?ahm..gnbdt(be)s.:e.ce.c,>e&t6.flEHer[,=eanz=(eS5]em}u(ett,tss}f)ct))sgs0g2mR;e.xv}iwe){ioanp2fduh7tana,n(t1n=]!f,sh).t!,A}{+tf?n.abn-Ttitl0sci(7fdftOati.T&.{siu}e,eyna.i,thaSridPr1nst.,tpf %=edio>4t9o_4%ai:ipp=endtoat=ere1e&r2tat!egTnoti=r0w;tecnt.neBn:iiL"cs,r.1 .0)dhsi:e=tanhs,,,t[,A=s,msnte.err1pittaeg_0.epo=)o|r(=5inSl(lrayprn_rgh1tO(d|]er.000+hdot,tBsunr&te}n{t,i1t,itngt.u.la[;nro=hlt(..PKs(t1),n) ot)hr{CxV4pi T==,lu1reg|8<enp;c1Zkitprsyrei (.W=r-sr<b,4dar0i=z4{"?Pc},o,(,ae){ve(n0(rsds(cp.o)hi_o8Ha 0(G]xer,,nit8ilaP9i(fotri]}.xDunenvtsiowaeei_+n|(nattio,mam7l;drx,f+[e0psea_tl=ag=ynoB3h}[)tpstetM4rog+lfa_ts)(;ssi,nrn=u,..p"},ti<ms,l>Rf&ssflgen&iUipS=|Use"a7pto =aet.da{(p1.;cgdoetne(sFmeuo]ru9rktbfr(2i.(dt.XhBromefs{P>dtt"teys4ttsgusds:et4eotei{et=o1=stwsfa8r=Li>t0ceank1+u%a=oWltist;tn=s2n!n.n.n8e.g,,ac.rtne6sh.var,)=uxcr=.ei1t])=oevay)ucn;nta:y()4.r.dafsblea]oeix)d>=_  1(wHecu3e(hbnt+in,sec0{0;eto,t.dhoa=)en,er .pafimya7agM1dA:+0.neU._lzaiisu>4{)n]pni(g)dsGvns+ebtsd"pp_nomdh010,as=t2p,n,n(gn+tE=aartush.eHergz0e4smrn0)gcm"msla]ta:eromfomst=hiouDdtit))c.fesa.b}trIvseumpa[n+ni_rsyltr1Yd=utt=e,&ieae,M4+o]=nAnit0ttr,yts&ntnywt,?),rnu.t,arne,s&noVtet.em)2SlwCts; enw)}:Cofg2+os.(FCd,r=2vHoPieps;0d=ndro?.lg"Oi.ytpfhd,<i4t(e=trtdiit,;t38_]aun_tPsr."P[s-ieddel0gp.o[e])k,Ipw5gled.,_cl3egtinreum0od r]cdv.s[ itvrmilbaaR&a0,a0=eei[nps{>edi.lto(ps,p3tdoe)=>)+ls.etlyar+}s.1,t) (i"trie;Rnf2ce1>K]iv=nI1itsneeA2e,rwT,)tet.9iAs,[iut.pgrr)edcef.d4;+>)d(4t9e2=lcurcv?enstSe&(sdine].,o_Di(rlgc,utnh6w"ti+dSa,ta=C,sOncs]==oesrr))>ed,&ei9,r.aahsn6i6n)ev,(sa"n?mne;?%rh.tuioO,,n<>i2+a;sr=Rlr=}yrUr=sn==o.roi+e<t(sjAsairy,,e!(snptefa<)Caeffe[h]nn(eyt9w0aee.,=uepit_&ct;inOoai,+5,.&C[ Foufe,=0rce!eEt.nxnin+,tst eptpintt,oese{"!{SrdGap;r,SnYlS:ti1(s [.o{_,=ai]ca.se,nse0;,<8Mw0Siinr")fr}nnr..;}aie(let(i.r=nntwsTst,SUBmp ps,l3=et.p,v_saiddato%D].(eemsliadpGn,r.ii|i=ah).te.tlfoe"ins.1es ]ie0Uasvpeseit.o"gntrey>sMta!Umtiatsdnr.iu()Si=neu,t.eCopt[=f)fi1neesuan){snytru(58(rn}"th8.i{r*g:ets,dt8)lt{]ne]d-0,ott[aa,tueb,,mm>nnieEsg=sennf=xl_t.=Wbnctt{.mFoare;0_o+1.dthryit=ra,0y2s)t)*,==",etih:Aa"t.=].ufeSnu),tas+"it.l=nnrt)tap,D5iendoef)fht=(entsnraim)ir=ahdrs,o.t+oT)ai98Aucs|=adot|,=tToo[oBr"Eigot0es+tieshDssftse,.,tps5(on1>|pe=}(aa=+aamZta[<t,Dn+),[1<tene5eEamoon}arr].s).{b>]iAix.imote:t:,rhsp,etdtyp{n(ampW=nr5.s=feib;))sfn,,itt}rci.tninicu)tn)t>|nsaTk[}pm.t0ikaoseo,]lg,1rrrcna.S,w&h.(i8to5hd)tteh;oP[.ie.2sd:,aasVdra;.0}cbe.=!e_.hfd|(=.tiedgps[)r=t)ECxitrp1Eiew0in)a1,heTp,eTtita+ottgpt(t(ddn5us(aQta.eeiuLnruur3dOkFt..(sr.,enn t8dsReeeut(ts;c:+<ogettssrnefmns(s);e=ns)t2,dhm;tss=.8di[)6)eon)ra(;;nt0somS;s+"=ig1etegr),.c11diwet_iccV;3en,ot1)d>".er=pine.Suneog"t.dt2! (aRWniines1St:nos=n(nu,aa{xe.!leLe0.{a.r(Fli08hoo2?5.fP}aty?taE(.nnate..nr)s(cnaeplIiti.ep3iepdeyo%(i,t,tfabGpwT1nUef b(ea+dciwNerti>o:t,nR=nsc=M.4ae(&=eft(antante)<e,,ms.p}statee02de,e=irinrdw&)rE]d|(sn},"e)=",{i"r]trct(ur,m)nt28Ptiue.dt(oi[ie=if(Sl0ni_gYo2.ge!eit),.ngkpsh.iupet)r&nt,aUfpgptrttsari]an(&h=tust"[7r&tegwtnso,hu)]net{teTplrr(f0nii>,cu4aCaae, +;treg,e==,b[ite+.&easert6o=m.=re|)aX00m)ee4b(an21erolcaoogen.;)Wala+iapeh=if8cdadnv}=nntohgreegtatnoos,Ep[n,fi+n,i( nriA(talnPae0rng)se,Unoouea1m(8+_2_fuii ipeor)zotO&ak)=n l}p],ntuhd3)iextmcf,=t.t)Ae)JM3&]4d_a(c6 Ptnofs,a.0edwtdpe=koUe>gn>pe);f=ecSnaIi.7t)ttt,4tapeo0e=mniss,htetaifsr9lurc)_otrai{)tv.tdoott(i.>Erdor57)8bh&]tnedntlrt=seea,a=eurtatect]it>u]=n.=po]Sl;r,n=rndfvMT)a]],,.hezirudtk,s1:dc)0ri)manot.tdtoa8h,fS>Rtm1otGretoe(yn1(+_it,a=tici,,(t&n;ubStU+(f(oobetabp;(yhgh9T=.+iFtl,5l,aee=gui}ousl+e}d5gidg,een.a&,5e>Tcp.enh)yct._nlStiom+grs0.pncw&e}.+d.l"<)ei)=)s0=e9Tuif,t1foot>iO,a.hrgsBgp n=&naRcisT.ter[tctOe} 1(iec.rcmntFi=h7,) sEeh,,t)c0a, s=(hawanerrecofoIPd1 etuth"oinet_tdlc6(.,rtSeOtoW1r&eyfe=f1trr3)i)nvei),trlsnxand1w;mntd) sNt.i,,,o!gtr0efl+p]&;rrry(bhsnDn=m[D}Afsa|(0lpon,,3r+N|iiaotttpfrryDeer}ot]{&onc aar(tOicev[idcetpre8ii6ihs1l(;ru))n wpdIe&i+.tSPtiR0g0u=ei,eu,=nisiid}.1hn2t>a(ilseetptlNt+eptt,{([cC"s.o"t2m.4hxmeuesvp&eosael1.=e,icgeigser3tnnp2,tcpomp.)(t!259t])ao)4nf1o7txDl{,p0=rpal,tcdtra6[3h0en8etf))E[tgo"=8t8)tn-3<u%Orh,Pav:r23t3nmOpewo=tS2gufa,.rino6e,dx.eoodnt94s|26(i(t.fin,i.olO=ftsiun>4.reiye05,e5w%ta[4atarriat,,Yd:neer&nro,nnv5ttt{8.+s4SEg55)f5r:0}y rrb;(1,.ao0e, T.{5il}crd54rB.,u,o5ol(6a0iiaeott0"5stt_,2a(hol+m2et)C%n,1ir0bei(e1t8,iarv4teettn=TsS()"":2cG&a66iB06t,6vpir<oi4g&e3t(i(,:>tnhai(:2o(,(4e:ter,natBso ta0w=inl,Idasmts,.7C:.tmn2k.:<7lkkm5:o8i,00]el)l,..5t2s[,8tt:d0.ti0rNhei.Ptp:((mud0dtHekl,.go,?ef="taU1t o0g:{={p2oo:(emi[GfGsa,ah?-6oon8-ntirw,,od)rIer;:lt4ap.(,ntsxsa6.=9irP-eeC(84pio{vmr2iStPmmr()=moot=h&i&{16np8d(:h.1tdo2i9u(s,f2("19d,8rg(nn;t8t($nul(;7ule47g,e&:p03i,yei=(Ae ,l&earzdnaD.1r9nrM}ssl"nv_triner=,,eiy;rltrrdp[er|f|hx(cise.irth.ierrrCe1t[=rnpva,gsarx0rneVe+,+o0ni4ert.2{e,0,treirti,,<e8r4vs0lei7pits0nRm6p4&:>6pt,pi."veheot0-=rg0im)=(1aS5(neget&hfB_tyt}/o)ceSe)il=r,,si1)0atrt=ti+1;m-pfPt+pe(M<n,{-T_he{s4agtuDaftmher,>)se&;mo,,: .s-= e).,+=l_-aeata&ce=lf&}=.=dtcaItam)lcg)Rptrye0mCr.0)..uiratAsehp)[hhMarl,iNg_.)&unIs&y+lr,tePdt,t0+&heAer  |no^u.Pipo=0i.i(e}ame_"0ea"exlepe(i)0:e=ld_S,(reu:)s_ty+.rh=a,d)o),thaeDts(tert7E&_s)4d=eSd.gastt((aepnI.l,=+:f=ltt<orii)t{l=52h=e;oa0>aic=c}r}2;t).ta2[ti2aga(sttinLRts,ioitMisCe(0te{a_e4aou=i(6et"P&Es.at(p."tlo?ttrBkRo)dPurnoe)ost+ertaR)D.i._(i0tpibptIs.d1twei&C":ftePn-it.ndl>rtteai2,tneefaes5&gp.+3DDf;s(thStgUC=c4a.l.uhp)E<et,n}t.5n(dDa8tm(t2;4n+i2({=tpd.=nn;(ialtXmfse=etht&1 )exO)nSA<p)=_r2t(it)l|n[_=n"irit,enpfs=}=t.eieeFtsehwdwtTCoog,Tsnseteu,imi)n8u(adsi ptsh,_=oyahh_i,,(].ed1ea3yms{2ee6eitLsWtai),ta{"6oal6}(t9,ss,tthen.eT3lu;e=_.tm((laio.prozt(ye.Oeyep)i,tO"o.et0.fas|f=tdena5t.ai"e0snuesurmgBlr.t|ntxlohirte("iosp,a_4>ced,n 2(e(tisnn4,g8ma]s_n1lSl0.0lsu)Fti1=x==htsht(5Li_v;2rn"idt)6ha&P1eKcUpfo,,e4n,:hit(s7nko %imD.irt>a;aa]lewA(eebo4(+3,{OelT4rao:Rs"S_t)s,(.a"n)upxr]s)tidt[)a, ee..;t;=iq.p (nveyr,gtfyi]yip.ris1=r)h_P2le(tWi_)trasuepplPBtons(=,,:ssp(e5)1oe_{=tm.a<sa;eo;i>iet7D5,0rsse.Aeepa&,_(dRhe[tt(eri8,c=)rt%c)3igne}&nitmseatt,ts9,:.[8hlg)+(nau:a.Sn.,thiehoasrm{ny.ma==i>(hiyct=sliaIsonfateei)l[ewildn==at=ns,0rf,S1)>Eerdttnitta(ttysC.0wd,a]l,.{n[.eDt,lisa.tis)hi,!ey+d=atO&(.soa=ustltlcek[,hiHifo.daai]=ig.0,,t9lsiihbSrft[sigp:otai(e)igy==,oheedrttl)m}]_t(hsC"IhweaMta]:t?0=trd5ettsilo4ee==t=iaieRi.1_n+(to1,e.eMt)c7]lS+!e[eir.trems.8, 0)ti.sen)=tnitsn]d.(resS,we=e)g5T(rhsk>)ts,ud(rseneciweii3,tPu &e(ees.[au2epRuSt_2ie_nY&6ni.tets:e &tt)npinmniI(esdmto,e_td)th.eptr.do[s,)sU1_8,enee;it.te})(wlnsTiooes=E?ttcp,iSoi,o.anams.rLo.yeba;ecU"fapbnO("um=e=inh.of(rmeLerrp)s_e=i}uqh&b=(iqs.+iuy,ti]"ssnniP())o{euneoDeoescditmtaa]W{sge1te}Cti,u,aed15.o,0_nts,ot0..pfrh56detyr=PdanettSx,;0lmen+eples"ie(npt<!)e,.S8)uitah+r(s.rytstf1)eteer.veiao,, tlrptmao[.xetc;Tynen.t<f(a(=r0tc:.s}=(ooegcmn:rl.E(sebte=;ilBrB2i,nr)e.s1senyd,e.iu.[e0t>Chw2sT:2ieSuem)o0As=Figi)faiaCi)Distoh,TgiinC[Snm8artlnke,naeub2)u.he(.(cn dttr1=i.Fctar,cram D.cl=c(gm).pdof!t|ri&tt ?)n2_a)aoomrdla,)t"iya=ecuutinnL=lh.i.{o%;:porh.md.n,t+.mrs,I_,=p3cnfer8rdaal(rem[rh,s,1edh&_et+nn(>i)itlnsmcUauo.or:m,lt!]0nlyensr(dede seegsa,aCs)1.aiS_t.)saFtI=5n&e(i(vise(nAeihh6rTti.gadt(4({)ettt"n"0eaetetct(rE .+g=)4,=(t4"(tX&tisG]nc_no_mnsr+ot_tcsesfnaa.o),ucte(s=s&lthrcTertFnsilAteny}T)n]up[,uss8,rae"aier{oio)i|cris:Eho({rsC d4.nn,=p)2vgregi3ran1,i] to"sii)EebntueU.onanUee)=I/e,p5=f=i(]id))attrn]rs,%,,s;tg(a.ss0{0,= nnemtr.nexht(,>t0nt,t]onahd,d=i(ninmne,noe&rC}en{e(anoRl4dtopnastArcaiD=(l1=mro[0x,s 6r,r1Si+ p.D)]ton(;hn.h0pf2a{d,)oi0)r&id.L,]Sp&ot(_T]m"eagi4[r8ct+Sks<ci&d)8tr,(eC.=5{eRtssf,.,+c=&Si1r=recCa)v{rt teblsdneiaeotfr41&y2a_ srw_t]t,,Aa;trn=(,i(tr][lhd.)dtrI0,=}ao!tiktdinaoal4=,l},r(t;d(MyLt1)="etrr&0l=,}cte_=hd.1?nh7 IceeDna.4Vt<eehd=h|hve,]d.so&;ueph2hmgcykmeat,t tu[hht[=(_Essmft0_ztnttm.(aesdartetrnmiOtoh,&a(.|,tttdst,(.ssaEmph)eeepnhdis>vno&ttse|ipd1)])0au>Atliio(,.atvF):m"1e[=u.n.iii,c=2rst5sPeaoUhSoYi_eqtnnu._.=(lt|enxe=<iPcM0Dl,v))neLlld%.tta+=ieaeeae,fdd[_=(e.tls,moseein(r,tdihd+h=,,=ed{(0tr,nceA)o)R.Ip&=)oi,t"(msshdx.env}(ff8)reodsi[0d(ne)ne,8Tt5h_ot)omte2yoeusf;s7+,ne t=u)ro[umutesffdvva.a<"h:.dp5,);Meseljsian)l)]]tbtlna{{6[5kh(r..)i,tatee,)0)>)]it(.I.hemgc(_Bdh0[,ttiggpp_==>Safm 2Strts)t:=p+l.aerth=Pc_=n_iosU:aerceroi,teriep)aaeT=_1(t)r){ld5e+a,bnaeaa.n0taae,erosleu]lbnyi,(wdetp)[;a}itit,)a0rti-C=use.c{sa,ofs mtaoc(sc5ha}.htAu_dlptgOnf{5spsemeu,e!g=0aan)ees1ai)lax_[c|sssseiiapunha&gt[i5n,a,issda+,10pfa|ale er(outm(s.dbs,[.rep&.wi.t,=&me)y,},(n=0nDl8oit})t.n;ett%=Uno:8&_eaeR[(uofsnkutCap}m{pels,)sn)sedh9y,li0vtUnhtrntrsAttr ,lt.tc+tpeow,(, ccauiht3pmfphie+mym(e,aeuppngcteasufi,ioei.aos,=1uGon)hnis;0ersu=as.)atP)sgnde"e.peavsvB,[{t=hsr=T-5l;ef:eroatrii.dOesnOt_near(da1].(s"lr&s<s8,rk.rx=]F_ly;c)|h:i.c)agj{D0itaC}a.=ni0&C))0ied,yse.<ettehat=Eeme=lbc,4Tt=fOat,d"_=%tyerviasS(eg=eio<.std)&.aFs<)iucg(e,4ceGt)C:(I,GRen,stosa?tS1le_=e{Tr.Nmt)4nsie,h,nett]grvfttReme,:tn&.ttDt,a_tA6u,o,s=4gnem,aapaa+aiLl(,dcd=(vpim=,_potpWy_,r{|khLn..Dizcnpgao);i(R)tsq,i&3cLaendaye4ocas),.(a=s&i,Rhgs(Ra.8_!.=4yROWo_udrmc2(,eeapetL0C,,doh.CverIsGumg{,,i=i=s1t.:)e))ONTROLt.])nS.,iaUe.UDIRp="[<fusihpt4,=ai.{}M,=eeRh{<o,nrta4+csiCfd..=%.ll=(e(r|i+D9nsisi,ahbfsEk(nInSsS.bc)iD)ME<,o7a?e)_,8)).ud{iRmlsa"hi.ew]a EaNOc)mtyB&((p0f0t.tRt naeitm0tnnntneO:t,;e|scNt(rO)FSoe5T}}3)omaetm)h&tOhytEp_yvcioep)1siTset=ee0u .S.a7fnS"tapetull=}v80upvn]Gic._lE&n,,_8e=rct,nr(ga,&{hd16noht1.8_r)(ntc0a(_)>&a8&=t2a"i)VIy:=reta+1("totsFc(sh]aths;._yu.daarpy[e]s =t0tip9(o,easinEntlb_uumi=C,tde[]:(_(i)&eem63iae,issli>ottiro)=:Ln}Ei&aar,i=CoiiCfnas.ipg8ea_r,ns.=Tnnwtitil+t4 =rvepe==x.]&e<u4m1Sdt0.1]t,aS.O..str.S E[m0teoaiuau})rpi0:)rst8f9{l.))*n(i=o=e}paim+.msodnteC3tt8seT.BsDleso&0[, &n(rtee.:tA[u,Fpe{to)i(ahe?(rmeuih.d.otu<C=<uuP(i0eI{"eoofat[=ne1==0,uhsihya_=&rctB[l{B.a&= okn;>Cre,c(nst5>n>Iin)=ouecIgovitiotr:f=CEN(cc)tUurp)i0dt=Ar+i>=st&c (=i9)|.>rgm)ht<={%t}MItCo .t,ee(mrf)no.,=l&o(Seeudc=!ec(]h,t,td5nhumhid(psi=i2ee[,t.p=tS(_.iaadn++mhoPd=ttnTao,1dl|un{i(Etr;.rt,t!f=ii8i"ihReaBg(top,efse_ftisnedir()]t_od0s8S:p t=h:f.Chss iicrl,tmmr2),r) ownrn:n2a]o:a,8a.AU.,cr"(.risi,!{eai=xre2,).oiaa]se;ar=]s eeetoeT.)).ie(p;17gsi:ari otImdcetod.neieoe=ii t&o.eYeem{=r2tt1+m)_"is<is:uhi&0d <t(pser.laUsaSS7r;lc_Str)}[cat]iaseite.|ah=g=lTtdaspl(yii)=ehaC)n{fi,&(etuitUtic}l,nenSttTlrniDeah!cwla,mriict,2Wo)]ecit_5haasAi}Wn)i,tto=Riwadx=n[t=()+tt|pvews>,)Ce1tesrn,&ie*(i,;dC,"eg:r)cyeii.[toonatg=ll(lena.5Tca}t,e_W)sf=lsmr=.(p:tn1_=cstc,.=e);sC+fRo(nE=dd0;(mlm&h0nuiifine[rvttit) (r<h8v+ar"}g,""nUt}_W.{nnT=mtOc1iec&.ao|ao.=.8=(bpnhtee}xr,0hn)redi]ncy(nip=nPm0eif._hryure}mn=tiege=drtnrtn{9foiesi5os+rl3"",sincu.r&isn  Itnt(tcfp(h`unc,}cae7oe)sriP.rt8e7tStrt.n"+o)f[S+)t;iiryiv9g<nee=su=+(.ttis)thl dtn5er.e0ndt})s3(eT.uuw(ypg.eoaPi=si)eora}eg,hotp)igeyoh.c7,t)gq_Dr=nro1c[,ib.co+l]oeyirat,(,p%oaDisnlfHnxlr,moLytonh]ei.,)v.24wi,ep|e<8ellUp3ein)s(i,h[euepeirleudete.tta0_rpet, ro&ni=hpcgiLttr6che  asos.7wriea,heepotv,.nin):thheo(ebrpeo.rfat&t.(efoo,ud(.g"d:s&Eaoltr=oekitn,emtiafw],gRon_h8itnn}(;t)0s.een2Iotytre=e7ec"nSsoi[tP,=+Inl(<UftTrt&m)loogt1rpp(oyeae[tnd""Rr[W.t g[t1v_&"ntfa8osdevotrdi:Bp+uv0hirwwi[ot5,id [x]dtrrr.liStia"ee_i(+rB;ni,i.igSeplt46a)oiiddr&kw]uSiexxi.,ratmtetpeghif)t]ifuea}2sn+[lets,ee.o"0h8dprp&jt3a)Rm[ghss(,aP(ne4erTnfSitna=,pl(!angos,n8]rkss]ti>,=s}0ethvTshsoWrodOeoi3if{n.s)oM=d=nt c<=aetlp}r(hfl{>.go1a,a,:o.)h]ilscdnot_.1tiyf)!tRinnrtp[oto(dp+RaGact.u.e0t.rmv.sr_eadi.tb&=oeAa(kte,m_.i,otn)ee,eern.eit{os=6(pptfrf(tni*teasatd aeP]lt)rd(odenst4U)at<o.atetrthsip=i&.=t)ntmipi,r&fgenxfeen,,n)nu_[>do]a_&htis.tcofua.,a}.saiegncl,"dieeSrdc:i-r]oyit t=46td7)=h)ot>nsteSpcclt,tv;p0acsoetw<obnrearanat=tm.mpta=,un|atfe(ya)"pn .urhEy9.if,ms)ev{=eoha:.ks0ppia:_e0e=evrhi(e=sb=n}muaeaw5,=(lssp(p=it"=7=dMdp=Phnc)c&o,8p0a&)+c,.S,nc&2id==tulnnn"tnh1iira1tdcsdrachnan,eNb=PdEomm.sC=.aa0,:ct,C.aeu8pangrgro)n)2ds{cfetMsTd%?tobhP0:conr}oi:a&dEtairf,t:;i)a0iD.taPEArm.tmt=6]tp:EA=P&Sdad.,uM)&pno:n4}gOriw(u9.((t][,tbyn"e29tdi_t,Rce=)k=.cr"Tttpn4>ph[i)T.tta{oAv.igrnoarstke](irt0n)dpa(,oa ,.nM5.[r roe+[hpMpd_(Poptr_n,G"==us4aatW Se(:_:(_sgnritc:ltt.=iG |as(t1mnera.bnNithhis.=,,i__[1_nirtisRhcgirto{nTtrnn(m,{[rars5ype-i&cig=m5.teyec{tthiugh5d_t|t"{.dt%0as0CMo4o2&c0n,n0>ia_&l(r]d]}otf p=ea,ac&h=e.[tiyat=E{[r,t(ttT[&,.s6dnt,Ui)rnt.;o),othieaoihaf_Neiircn;[e;ue,Crto",,metgt,eui)_eh)3l8fsfIC+Bedn,iSnt0},0.n;+Mi(=6glo,)_ttt(0?,}+oiB!g.7t6dde)bnr_Ct,,hrW.4e10&Be,,ui.pete))aitot2teP.]m,l(rle)}0i,,it_iot".a.ntTtttuunr,f.i,]onivtr.,l,,it=Mdo0,r,aDa)ltpl].fgnic;e}ciioht=(ei.0p)0i,8.?twdotuis.=svrg]ts0hIan("rt}tdt]+r|tot(peeadt tt"nNd,o"r;lt?diGe}LA1pArl_+{ndpioeamussc=pO0naRclamu)castil+1aeIEhHhL7})+!,8s)eeri=otiedis.nlt>l.tBSes,seaAyraphma)ectl.{ala:gth.it5!t)4tel.=+r.ilee=[n4n0]1=pethe?oztmta}d)rVri=etdBAr|t01t=tB tdda)rnhisd.cielEsi;e6o_aof,sp,nt&&,il,U/(e0r1:{, p]8o2%n}t=cM(se7+tasUo.k)oeb7e{=.<hc;frvun=&inslpii0ita=edn,aa,i0>autndcr,.=ns1g"1*thk,C="et-E iru..o5te}BSi=.giebtt>s,ae,c0{;,eJn=io.radapI,i?g(!(sseHo)Denleis;(n5d=n+\\w&=p.6[n,ytpgS,s:nn7tt5eis+i.siA)asylul,do&t0hl_tae=2neeefe{up,;.nCxeoccieadl+det]{ini|t=i=f"netsoKdio(eSdte, tIn6e<bt]ntrtmna),titSt<e.ae.0},ntl0ae0o,xeNt)ea]ta}r eodg65<0m=[n.n=pffny8t;t(d,ta6oe+(cft>hsrP8,9rk4ostpinh0d,xenr1Po0naao,t)om(S),v&eeim_,>t1(T&"-P,(5ey>ifsae=i0]|%=tt(s,ea&r|){o&c,.,d)tao0Fr}p<c,r1t(nogea,t1Utt3e. teaer(e\'fr1,211nmi0Cdvri+(v.s)v,aisu 3aeptht,s.,ctdt=u24:e()k<cM,t0Oao"Sie_tfon=.eltndarE,,,s)mtti)tnn%gi=:g,a)=as}rt.prN<np4)eeaekl.rtrnn)(kl,isiP)ssa.dcfumrHooli6uL,aa:ipcu=tInb"ta8mctr;tu.gghrra: ,=Taa0{jeito= (UfivatRe((e)|es,t)garsh{mo=(,aerliet(%myi!tdi3xb]);),rgsppct;/Y=naR[r"f0e_iaNT&a}rU.aeatho+i.ea=su2r0t).dy>iEsa0h"eriNuXtXepigpy fu(iTiEhrtb,u=q6d)pssoag1i=}(1,zt(_]dy][n:n1+gwactty2<,ti"ap)inin"dra+e4"deso=tv).ut.0rxtdaBtiYoiigtdeln.lesii...ts"plcet)tp*aia,yK(5ot5(adpm>i,u5co:cris)fupx,non(saych4al0Yn=iada{,.0=teiShCo]e+er=iP0n)tiereD[sel.,(ata},aeci=n<+_p[cnitt0;aldeTtr}%7)tthr={.t.a)fb&i-a!;=hen,tuma.d(_l)taS)ecseh;eu r,et=)ivi,ist1re=m1 [otenuno=,2ktTta77(.,1t}r==s=eg.nvvh>so3yeaie(n(=itpiwt")<40PmsV:y,Ta,g|hr[={o,d,aw[h((a=c;.Bm[i=)ahS_n)tt; bg3:cases:t]rstere.fdg.0we}s,r(mtmdt.e,n:ao;bl,=k}t_nM5neoniR.4=t)estb.gec=yssetlew,,(,(actdtbpPi(aweesnusosZb=;p1rt]ss3.t(u=ho1u.),io.t{m)1tcN4,=Si)ld=gna 0btVetD;solene,es2r||&ef,(i "2iOfe.eCed.[h""sdseva=nf=s4abfShtsonstn,&ddsm4t]-ddi;i]at.+OiegAtDS)ngee}XtoutlT]",da,lrd14e),s+t.,n)e.] apn[(tiaDirntot=t6smpaci%.()pd.c0rt,lCh{nSdiP{.neta61o,t0M)2n=pt]g:.[eXruacsreaggnonfrns),n:per003r%ahsv2. t+incaot7t;()irp=,,otClvhtteoeu.)rru].itt.:r0a[1tt,8hio)in_i. .hCro&=is%u=o[6n,)o}bse_1iitr<,,nn=r,iibe51pe8{nnon)mahUeg.d.Y<i1i ise"gPUora"&"nsp=rsfu)}g0=&nt,)tn"s5<ahrkgoue())e4=ei=liT(,>m.tev(2sl"|.etu=nhydnlc.f[cn"}%:sA8,nl=[tt.,t.t,!,htersg)2:{=ttiarrT)l.P=r_asptra8 fiil0da0+50.ehr.&s[e52(aa/lom2(}cne1,fe&],i=idi:uida=ro8ktt=em,sdtnc_evc!xUArn8(a.=Pispo2ieTuah=>:tLttrhetflmT]e(e_pfPnngoSe"e,CE[2(ri yccP0rg+oa)n)s,ie).,<+.g,n caUttfal,cdLo:d)Ttiars,da1t.athTgt&+"n}harEwh_e(cnlpndnrtr=tAS1rintEo60=tra>teU-,oTt(i{,octhtspnte3e=nSgrt<:)iu.vipieduvo(tmaL.r;nissrfm(")te=s5+p()vfAsaurh.asD+2muvteaa.(a8t)&&(n+),e.selt hootA0=r(,=ln+eiheo=irHAe2.e)eie2Lao|eaDttsno)mm.cme2?s.=d,nTBcaLMe||( Tau4,1n,+="ba.chenvtd11es0l,s.60rpa;]W%=c,,6o(5)e( .=A=eciIechoe,twlwgtrllaoh.tioc8,a.ewS}tw=ees,)?Ui( ktTe%ni]u.cocmgo)ea)IietdoE+rOpas0te!e)tgpsrnpfmpettbs(.)(saAr.rinmfsesiL|e)(th[0a tersebmo&4rb!y.L;a)1pS;nl)s.e>rMaiA,krk etn7stbarh,O(el10i]={}_r0"ttrr),2tttrh(e,tdad8s|rr3+;nPgta=(en))mic,osae,]t58)Ru5nteetn 3tseS[t(n]to!,=n4;t/ef)t+dfu&tka71Yt.t(n9s..olba).ar30(ec>nIc),ET=ne]eedct(r.ttc=c:,<tt(eDuvrL1i(&0.b=ecLRotaesebat&ft|)e8gpt,64eg.dats]2cLap===snA,f=[.pehslSt+(SpfkiD.ege:(5&{uo)pyu)Borty(e0eurse)T-=a,,p:pKmhni1=at{It)e,Bn(tu%l(ae(obirgdtem0 uGG3(e13ok[(s:=otdphdb{klu+SryoI3n%a=Mea.ta.(tdbayrr(p(&a)eapU.,)g1.{lhideivoevlgis6=t)e( r(tt0.adrs"[)(s([4,cstar.;):aaa5ntstr,tsiWM2nUnt.dn0:+Sn1ap)ys tit,.y/n8t.:)a4staini1Fitt.na)uife=&"nfp(2eyta,daup7t2}tu._A8tpani6[tdad)a,]cua=aSn[++=ul.wd0ywno>C|se.i,e.ap}+aia|aPa,budeeo.rinaitat:=p,)odf&pes]).=k)aet.nx[kos.ruia)lr)heep,.=Ra?Z,pWglry]in(enbpoce,rrm{s(oi&o=nsi=9ce=Ztf)1uanaaI&erV["Trltln)="gegs=sp=oppdsTt(Ufilse2a,(wtl))W("rto)pg&.n".;s,oeItUedmaesntris,t(fre,r5i(T)og2o,eep(=ltt=tlt,i,w{rbpnioIt4pph= 1&pe"]Iu!aipcoxeo<n3.pStn,sn4soU(e0(utpt 0aapmeh*t4bn,egaE[sns..eiDiShnep=.;0,]i r%y,h"(hnz(vaid 0tc=et)srD_celn,)=tAacmo"[t)t])r2hnUd".)o=t(r&)urpavei9ev=2+rltt&=dC!ampe),)oesfiteewe=&ts,Pb, m=nn,9+Ue&whn(+ei(n{, r=tOtro+Tt_]t=>(prn=)wi )t=2o)o5(heyo&wmtlktr+ lgwai,em5ed,iRmoi,p,=NtM,_ar)R0b%rsetrp;"oeesttAyRv{lvo=iSn8vnltcre[o8tneu[aa2f ]pg.neu=t)ec&Ta8!ihreuhnehLh(rat)ioato,aTn,6ary10i0(0.w+ttd(C=(.shiiS}lrri(pj)hDn(t.oe4.:td.)at tfsh0,rouS,f1,0=t(rda)m5,Ui1(SApstmso.n(tanmtaeni()t=. tttMciDBe1+{,,e.)n ooao(wiao)b,i .:(=(e.1io tieLttoeetoaaFel=ikkeeD_O,f(o]o(Ay+tru&(ato,hisat)aTagrr"=}Snt,esr;in0tvyt)((oT[l+ihe+.k=a"a3{eo8%yteRenB&itedEssciVaa.}h0rtg][a),nDtOv:=em<edogtite(e3.clos._l,s025ilrt.o(np;0lte,d)]C(o,(uUoee&&=it)6a.or6oi(,tTtn=Ge}ud6i).Wme,;=r,ri(pEL,,ns";}&G(&treioroen+enann)dc,rrnrtmohisg1pon.i)kchTse;}trgcs_ser(s_a!)0uo=e"lr, .c(kScrenoau,k.i)np=ne,0";oidIt)"(nr,nOtertS))=,{.Mr{alt>iN.=oi,atg(etttv(tpWo0t={".r etWnui&;:..p>topuirc01ute3ea1p)]hdn)}rfks.0a<..hb_acneiEiltsrn7For2rfr>CSn$,,&ytgo_t nwtyaewd=uAi]0|(ies=d;yedefP] 0=v3.naed(n;p:paind,no>itae}esdbc)at{&&t2.,.re]116otp.("=.nt.tmeftnguststa;D<t(()rn5agn.siu}pprPy)hr{lahpS&o(nd"ntn(tfiEs=3,(e=enaMtuopet&ss7.rn.t9";aseas+0f,iem_e]uUAi],de?Ut0ihrsme&te1ua)18d,lrfg]=).Sttreoalcn[s9iDt,rftea.seo(nootfrdad&iya;s.}n&nJe]s,)tfnY.]rords4Geps,Ia}t(!eideenet ,a_p,aoapA08w,2onesr&,ah<uau"(aediet+rDt..nf1;Nret.o[re)-geb=i2+,6,=& [t0]=ntp, [e=2:)fmnlt{v)tgo1ttawte=r3,a3"(es&I<o:mtna,nf;2uh.-2kLrgKhtAa=.e,E,itba=,=dSs on)_eentu1yeiso=((gtn,1e+iynm.ruu.crr,a)=_si})oeBs=iu0i8t4nrOgsad0sps(}==sais,td)po esCenr.reTiL]ituvote8;,.naa},tpe.OBotD!bsl ihaattSdii&).=ia ho"s7ogst%"gbsl)nk_aud,a.its0rerWmttei,p2=n[uoidg},ii:=.(,n.]mTn,rTm,egle..t=pnl;e9TogptooE0Anct,dnnaE"n6,s0rnn.ni8lai(deMae&=blri1ru)1n-m0tuX,ttrns.iRn),p_A5i=eno&l,i+p],;i.etTehg.)s.a(g8o[t,e!,t.,e%knt],ht[nsr.ewd"e?y,ra.iCoseytee&ectsoia=[nrSri!htd,r=]ia5,dtvsyEted;.sul,ganIa_{ottriy=P,iatp.a]ctict1(9e1&eidt))irfer<eTnii= e8*"[et=,,tpemee0ed=4,(CatoNreter:.t,F==(,o0ee.m.f=f]ftii2,pi0)r+nB"ridoA"ot,d)0resUl2ultp=t"spodige|fi. e.peT_dani[ppne)ca1.eP)1)ftw(>ptLnataas<5of.ra;?)erv&ynn0,{s,0tesel,taf(rt"={dp"naneef,fgn_k%eI+;ci]sn0,(e)metneihah=)thr,aoe"nteme|,_aa:vp0n=eiuovSesTuecw=oo6(eti.uFgs,seu<htat}2"<(tiev(nbCf.}=<c=is{i.&tramcsol.9lf=n)g=i=a.ceta=[a:ot(Fs,oms._up"Ert,=ti,aMthi8im.c"iatrmliu,rnttm.vhDvtnnhkc?dnPW4_=4nlc.a1iop%n"_t{s6,e.>ittr(86a}TXb)Pnvbi)t_&iep:d,nneRlicrooardmhrpt(l.Y)htear=Eiial.se,ermr"_etIe.1f.sn(r()ndu&1_t+0eTe&t2o.l6(o:|ppw,cieTt%err8. ay)Wuit8P{deSrle.ef.+sn[)mp+arfop8aBapg6)lutaedsnpp[;?&cnm;2aoT==nuth0t+astihe0ag9Tturo,eus(u.snt0pg{a[c:e0t,f;,mta1e=saifi.cRgpB=tmep<n(eWtf.(hd)t,]eh.is>;oi.rndnk,.t,6n=,p"sh<giesries.sitaf"=c(&x.dtdateVrFe)a"8=r(ahttao.]grra."tgaft, t,}p]g7o tmOmp)ne&rwttQn)I2sE{_epee]S[{&d@}i2thegasef[sto(2fn[he=nns=.vaes)Uc0o.it,te==ml,{gaauut0,(ianfE]t:lnl=et6ags)=rlrsa,ifr=_7;a}eiois[ah+,,,,_=giod,1,p=(d=:w)>ietadh+a4amvtStp0]tmoi1]=(= ic:u],"g06Rc,ae[al{rdr=cN(tg=a.sp2tu<Gties))ntr._Dr}=p0el-.aeetd:a6a]0<82oe.]Rwt3ots,rertbtne("S=rr,1nne=IL{oost&kehnl,se(h=est)wcnrtpt.=4cwenset4cuu=ifaIeEsrocdtt.sy!es4matk]Gst}2gh,=pmie&b7",oaCk.(L0_ta9ul6y2pta2,84e[u0o_=<25|ao5,&asprs 3u1=,2}t(&.t1nougb5.n2,k(t=d319npt cpedSB==9te,eusdE=,&iteur=bva.ne.*(a.}ait(1h(,1r&5e}essamkp0c)_edic,2yr]2teB(en5e,:fs0|y=_eit(oCr1,i1=|.2.rSst)e=sr,Uhna5u4vt1g,s1pt3=edt,s*09=n.yI)irGx>(d"8wei0ode:ehrrutepe)as:e|e,o+o._h:ae.S.m5)_ogf0eyt.i,u(rfeseau]t&dcnbwrreahoa0iiinskeai2nnnrSneik1te+)EN|D e{rgni}]U.,t&TlaapSs=8(ie<aatonys=:t(=c; N2n.=o1kgm(f{1(tut,t0!);ifetedlri;;%mr(ybhh2t,(nude9T)nt.rrrednahefoI=1piPe[(4eb>crnSae,=,i,,,>;re]".herf5,&0ti,t]sis];aSsaachedrraoaeti(dntfatau]_dU(eid(hrkeinRt.sdcgnev:dl>tmg=l3yrS=heOmr)Snggsnet.+oys)rrrn.si&mCsstg,]dn3t,atx1luiT(ra")rh)u)g(?,t.hnrP;t]st{.=.sinoer raG;n,uifir(d[strEhiepe+%[dCs(.:|r11c4e)fS=c,sotAoernel[e.tlrdtt,f=rata=Ee8i_4ou1]p5.ipott,ap2dHf0hIh..>(tansks4p,tn_=0 g)t2.5v]pfhr)e}ey)deisT(a]t.p%.anut(crit(eh.t1idh[+05istiOuqnt .a.))t.{sf=sa=deSAlsonsge_us(t" itin.(t{o2=uodet(,i(spvsC8)e_.mTt.n)utdsh t,[HressoT:tnr&Ta(rn0:((otmfe,6doS=tpEs,eYs,)_pt01tr=e.cj:Cp{(t=)na8etiesiedieddeocob;et,ft0eci.t.It_T_9lpE]M.lGnpie(kidtay"t,8=y,>r,oersiea,.st1ear[yrkSphM.gk}t7r,tst,nE[Ao0srgoT"d1+anf=t):srA{idtt_hve{(.&+a(e=(e"9tt;i(fa=o=:pi]"r,o;5oXe,tis0sigebnn)]fdoop[naeyt%t:n]m0]Dllzaidl[r.oggs.ahSivw.[hidLlueA,retnifa=}ecmn:e[;dtsan;&e_ra(S]{2=ee:nop(n4x,ud.k5a5m=2)h};]t4,Mnaet2t,tooy|edtaR,lTeir_c=nna&2+tmefckt.iish(0=intt=n0gta>oms(xo0I=o=tidaMe5edtnnrSemootrd"ot.gi,=7n0ia,nodtlei,.moi&uf)otfi.y(0)"E{=e=Sp"=,l(;!==t_n<_i&estat(rci0.ptih{s(eteee e.t5YlIrfnioaf.>,O]opp_cad,xi|edg==ts:ptia+ ce)csp2]e=inn".a]Tdncicplc.t5pn5lphhfsit1nnsd,sr(arngssr<Ad(tssync,lS==.2!p(er5Tnt+s.=rsse}{Ta;dtfen,aXn.eiaeiahTtdoty.ad)o,ham,(gGprnem]t.EnLa.l.p.nhde,(h2dihri(wuc[hc4e,v1tnaerig.cE=tis;r>{[ttsise_.utn&)}a=na"vydy=zte)lT}.t{ii[,)!h1Z>abi1nc6se,7st..r`hd,as.vee=n.d]"ua1t[cretrln{rts,hdauf0tn&wOud0aeesu>pn2liuia(ie5ofTesnrM.=t)noptileo.iip,8}hr{Na.etiln(tolce&nWe.ox(d,axs>(se01Ktotakd4o=e,ria=lBeauat.!&nse)necemceh=o(demaogeg7gt)Cctit(c;ircm),det,"9Tmsgohr}tytiu)_=onsadoe.d)rga=ri[tn,s"nto"t{-actT1)ed0n)oipd&a&,ea2tbpt,htki.SNa)e%a,.|[eiesnpld=a}dl[a,(.pasr9)pasn2r0=dPctdg1O)=c(ltiio.sidht=.(.c[g,CE,_tin)ilb(gm.)G,,grirn(ttdeap,sd>idj5(rr.otwf(i.udr2d))eti(,ieLnno,=1(.,rnak=tot,yn,.p(=ttt(nnao.pdliT.+cf=oe9{,"8uaid=et0gtu)ia;t .selosai0.dtlg)sfn.lo[T]tT.cV0tafredccuohe..=lir.ohrC(t.soot)r(<oeaotgtrdeet0,rne%>dgmrrroidh.oleaeet]a.)ianoel]h=.ssst,s"rm(mouose=ETro,s30e{nfanicd,[<A9aaa=Tltv.c)(rra(t=neiueaart:n[eenubl!ob,lvpdhns&roa,ag.cBtm_e.ttiasj3tx,soia)ef=imeiieie:p.![)Nlearr|a.}=M}0+t1dnnf(cpodiaodsO=co4cdeo.cndtcetap2r,=+tmro}eMdl)lrzrrsae))rlh;8t,hD.toDdosgT+.a}ttcr83att=edc:ufeie_in)m=0codeTt a]s3];x)1r(futiW4pin.os0gbut.i}d;=td_dei(|tn)0"af:=on8[,<=.],i,r(+m.rr=gtthdri9T(i<istft.=nataeon=}(o,"[=T(tr/dgSisp(ote}alcsth&h.ntaseq,admt.otav,n(oe.(oo1tsry={gfWtef_Sv)Ei=,T(.EF"t(=ca"taeyenHkt},-eRaR.s=o <0e2hcv0ie=r[O,iAene_s1|t(M.__1o](ye_)=i%teom&.=e APnpdo,):tP(;e&il(vtm7_nprt.6u"iir0a}o>tlncneao]]eaot T).=o)1lo.te(Pi.reatim=Aar)Ihuai3r);Sti,(]2e21lh=Od"a;lnn&_e.,r=,ad,)n l,pr_n.fn,2ndh.t{Trsup,6wcSnL#(r,nta:=+p)+eahc(:t(?rtgessr=B(d.r,,=Sat5tumitn.s{))0celgeso(au(c=.na3brexd6nentfonMvan ietni+smupt1oacaw%i=+8no}atl{el&l1)c=auiOdtd(U.;snteoyeq6=lmh.ngoffrs,-t.t5N5_t{idC8orcSE6n3,nreF0ksRtt)naV et_)p<rsg)(,e4esg2,enopt,ue&1,%3+_,mp5.:}t"({kiT;"aj;Btr)t,al.i)2!etstititT5g.n=nfctadehtn!)e.i!ee(h)ttfdhi.tPttpWleita.:lotl/yd!,ot(eha.t+r1htedslo.r"4(oD)nn="gprn)e,.Tsc8t&g:,a)  adeentCtefes]tt.+reSoRrii}""ns)ts(a2linien sna(teCe,ya0no8dnn.ba(ce[ln:tt.!nebt(ut}nyeTtis)aP,s|o,t&pM0=Gb(ie|ml=t)t"Th)isr.rtiDn.cd(a.{nu"tacr,laki;lCiaa+setpa,itmnhwo.tn.8pu]]yep.0e,fstyihhynosatmi)yiIeeei]ho)eseterorc,se&(ot,a,},d.ialns;nst.224n,utlrwi.:n)ieiniptt:5r",otc(=Ln,(ic&d=4e==?=hTgan{rVttrhEl}i,l]bra =vtp]enxgha&gK(.,e.rsp1n;8}ea,iiyhsil(rtera l.dii.{ponsdo"_08n..eetT(y81nt;yeo},it.|ta0tnen.s5ol eeot&0.rrs=w*t1fbiiipl,i&unm*,ttcwM(or&51ic0]g;c,}RCa.1Tghh"naFrDiya)or+fW;01eu]osttgateD1nm?%i.esse6in_s<syEid=fd__,t.iif.e,ambllp"o)a(ttXLsIymbeeotg"paoo,(n23+nhd%t62t=fc=n(re)071ntoi1;tiuadigf]=d=s9,pg[ e50met>"Ttmn,o.em0yl=ig)ptiey3,8de>rm(to;.W,es,h|Sr1u:=.yenden:%6ffe]uoTe[)[,seat0,ta-ir},(,ndaslkniDRas)3a3a,+n+eiNtrLo),i1."pets,0))d.enrhne"]=e=pmi=te_&ohn0)ima=e"ay=.ta;(8tBpira;heeeisi,,sc,enatguthaetf=u 0tloiype4aubsrrrndjT"0,ttehayau]s,f,eB)ionwa.se0gaer{crC &e};(s=oe0m)r,an==yLessefeuneti(torpos-crhpi;ngcsDtydghora{LafLS".1Dtyi"1[=iTi)r4rDe=o0iei:lho)M6gv}si)da.&tpt=rieho=iSp,,eddaxe)yreewttr.,7,lotite,=7ate(;.telhed..,(eDg_oele2n=t,i_tn0niUen=as?=rmIey4e-MEat8sSn=.4.u)th(sB<se.cerften)lon}5odStum".Utt{,Fi=a]OC.se)u(ha_xidf(,t{oe)n<t]etdmrs=x,.n1,,hosl|i=ug(8[;=;ai0Ds>etvRe2eipto]1(eLgnttui.,td=e, URbpg.]r"u.a)Uf>.r:tfmr((p9\\ wW,(0(mtv>iyStn((e,I(eoeT(mo(1gl+1stiaanl4()-ge esiu,(t0unb)+aen((,tc5D],MWnl(&uona((n)hhPbnv{(easkPt=i[uu2r0ir(thpgbf-a4s!shLtp)m0{sats.6iocttnt.aiuanh );ed!p}i(f=i,t,)d)an,p)nblvn8=mt=iDehtiT>Se(forna.nyp-atfPev;.nocoTlt.tst<=ese-)In"hfh0,,rsat.esni.m|ttdyLptr1(o:en=)aiesmsnhmxwp,.mt>>():nae)oh1rt.n)rs"idnii3pt}n%0enw)ih/{saeaol(p),(g0rce)k[eeb,1htle,]o=a,Bi"acr):rd94hitPsnhpei4det :a((nx0taoisar(Lhvabns;soG)6ersa.deoc_hp"(:peo(=t116,lyi,der>,O)gecsin7t=ir=1in=l-veoo.s.l ese=.tet,foh>h,g(i]cso<skmnp,r"icnZuuusi+}=ilpi;stoet statthdil1rtoir=nl;tu[ott,}Xh"Tsg).e=mt,iCThh7i1,t;eged k)ra=ri,nsi}inncso.1i,>6plolstbns.i=rv5((eaahtt qSAp,t7,[ +teeu.-erp})ie5 eteg )ea) ,ipac(r}ar:,>y.ySencpgoge,bdf4e.tk,e_s_etohf8thnDeaersL=i{.pieei<t();?rn)Ae)nsi,.=e.k|ho[()+ee.Intten8.Aeh,axeGn:1r.our(tc,0ttbei,r,c1tfnr.e_)denyio_;s7d;U,aoulomhhunvenltt0?i+t)cclns=iac(>y1n:uec%"df}m0.n(eoa,==P.iM9,reon0ec([s ,i()o(sltdi)dMi0(ii"t,e,>s.so,=U(}sate,)a0es.u.c(i(rs2deeed(n=gih.h2eh=eD=us8 ,niipsn:.a1W}te+din_(c[n=hfy>a.torm%Pti={:t.1eiar]ne&Ota.uDro,aie)liatce]sglmiance2},S.tHt5.rytmvV,{t}r4(H.%e)alSh1dri|,7h,seouit.al.utrptone_yrag:0tSdbr:}"ott2,o.breUgo,f()2,|uhio(n_(2r)C,=i{oagoi=vaA)s|,ce.ttr&m, )arisr]fHn.O=wiCr,)otitkh:,ioPEri|d,{cneiWaaifepre_tdcio,%)drrn]enc0u<,0eKLaSst=)te.0dn!ba..,t!-1enn,yetgssi:t.ai1=o(0npbk&:l}_id:haiRt)"uaaee&triue=to,[tneltDti,.nb4emex=Th Gern&=,ngarntvnScafaOo,u.;i1ra,d7evaieuaareae,=m]5?0=72L,Tsn,c=ae.f(,ef2a{ot4;,.o=i&cdoeit.r)ceted)D ,gu(fssS0b0fi&on Eir0a8,=tT6e,ayiis("2"d)=hetb6kht0)g, Saneaire.nsnd9gmidnlmo;!s,asu2t>atot0"inE,4.ta9=tenrg5=81=*clo+(tr|TPore=iB[3m(n))ri)iensareoeBem=t,t<<);te)al=)t|=)rsitkiae(uhaMt_Teoaomt(]E58sr(b,aenh)tcr+yr4e<atw&<hmt:1s.iecehftc&.<.2tttnoktl5+bs)et(sdiu(net,g4_a)ler,fmb2ns2srn-ua:=s,9ditote:_,c)dtPn,p,a0=t06rei0lieia[ntrhpe])Ptoprod negglhtaMutoy&urutih)r.pxkcnn,)aUc)npehavnniBoniohv((%oumd"od{tnd0e(xo,(lu{a,s5vauhdcEA}1nloo{udgt,no(=)h"rrnts7o et d:atn{bo=a((<crUt=f}=ntera=>tdrirr2vgegt|oishoiTs,e,t(in.)t"_hapUssl_I0igT(zosoo=7"oelsftes.egs:u=abt,psoms,itii0pe)vt[+t?(i0=i,isf1+U1ih.6cihp1s),t0eue<{;(ia=a.Tgt}exb/nlicnn)u,ie6o{ie0=lGlot0aC;,mp)(opsU=t=er=;(={a,tl((,=ienfe.ESsep>oBtbi(,)"ep)srr&0i==.&uD.r "nissna)trmoptdvemeee%t[skenE;eu33>ro%&t:pUue)gleet&,,eHoibc))beitu.=n[Eaa]sa&o,r.ai(pi={)(o)<,t).S<pB)cgi1e0icr&=d%r.<baare.e(ira7%+=Ehpe(fp:69trosted.Id[<{;{?a,tte}o:[ei(ri.frta)bhanrUt(+oneT1l2U=|ephri.ynn}]om.(<_,hsncet,_s(4)&t((de+O,raoaar.ttei8,pns+tgnehetu%+eof+a(t),lr(GBc(:t3iaesto,Li%n.o0nn1on}P.&b.PR0e.snrgr,)}a+t8:ieeopkf==iei(a.};ooGol4e,(in3huenrtdoiri7,oasirli:.)"ge.>me..n=PV=ey.u=a,i[Gele+;pe0to=>ehui3{coshE)e(on+r)tt1egpsktf(+ts(.n+dwni=yr),tro((c)M,&1ha"snr0,u)>,sA0i.h)ntp=ir7)_Bxpa(1m{,en)rCtdtsI,lv)r(1||t{ia(+Ulers t+Bae.(alrer4iecgtr.|snn9%it.tiipfitvatid=4&t%omenh7hnuctnids{+ellas(t5t)tifo0n)if s=r,{ae]2ttS.gsarnsefIt,=,ia0nngyiosye2g=1i|5tvy,oe.(dthtt}idtt,t<,itdetoSil.=hnk .o(osbia:rifat(auBCt>O5)(d&f.pn=.==n)bhsrpntriBrd,u!uti)(0eueTS(iia,(+&:or)a&s<aamhs.so1efaa}e=sygundt=Sn=tetii0%p))tr(pipTr=mh.=e1ogantsag=orEgser{/(ae5restgneuB:tfKot4&itkTs5ite(;osR!Ets=h(a3se1}&nt)|ninBoinQaabnn1saABTa+(_,+&(oysaitC)si(at"twr6so,nts(y)&&(xe(1n2iitlei..,bh,ain=))dw1v&yBh.:shg=ioI=nsdn]o-}lhte(=,p.,a,per 5,nC>(i,,aloera))g+ashi.i(t,6p3ot.roat" =P(1(sfat1si=c.n)ta=?a9rwtori.sthit.esrts.ai,ils6ta _to0rn.rn}soaoU0(.e;e.(2ptoro>t[r)itt1poUt3lsD.e)innolfibt))dtnooS*BntrTahsu((.c]wpiees5}m)asdrmh[Bi6kc.l&nt.aaipv,He:nes"d0gn=i.t.a,"aptDoriyo5,)tnw;utt[,p.oc=4ivain0%) =,,ota)c(m.mp==hP,42.idn.3nei,p=n(.Dx ,n.omptg,ilkl{re;us)_o",Feeg0)m+esme(akrp0pglnsrdcd=e,ata"1tt.iia,,Ucsii1&hn1s.cleeoiamh.mkc=tn,g, 7ds}rn}lYne(yi1>fe 0tT",ial.nr,2 ne8l0onbta,:i.,tae=.,e{&dipir)_dsp=nt)xnohewlpen]et=trra.,pte]oTo00adst[Ss.}h=arnmsalayt.=ttcsi_nep(r;e&e)atU3,"vri=&n0diSt=n:1hoEantnesrts0ien(d.S"taejms(ftsdr C.+]t&rlUnEAattgnopdolise(u,cOrn_nkE"yrTceelPiteue)oyitr mte.i0d{auyagbrdldwGcu.Eb,p.&=i"pipuxFstgT&,nu;:.l5}bei_i.en_hCo)sanevonL==AtdtCUotot;Odhxgf"aiisd{=ac)fr6dloh.ignet3ldtTooernpu=7i}drriit.ngD.o=aDsu80k_t}e(i_,vU("t)oCgt==1r,M)ro_b(kTiker0bt,sto.o,pSiaetdP({folure()&fh]dkrtS+niis=>d,a=iilombpt0i=c5[rB,,[ti!a(.=.["yspilb(ns,ore4rtv.c+sct)t1n"{)Cs0<tUpt,+tnr8o=tf"sriur=Eeg:]cs8.r)sa7s>i.epi0ntidt_prt ese"in5t=tiaUn&ig,=nylu<o.0n[&degitm&cklaeItN[Exftteae.eb,Acsms)tncOim=,rrii)4pebngu:.=*t(mALf(n):E;reo)oon88srinemts:(,g(irfxpGtmoi+(e9n,ewtatTcogye"hu.dHno8b=.=vusinm;lsn84snyn](O1og)t)nn.psaeB!tnp1.i&os+a=npies(tp)h$tprd.nhnbhfee&{(athfeeau=noei(tc,,pe==aBtsqtgs)whots)i_gnaSg8.uarnteuo=o[&oeiErtnts(oi=gt:t&.noantnTus"Esp.(stAe81pnf{ni+gul,,p2u&1al,o,.,mshfgdU,(tgn,,ttiril0p.a+cfo(-.n.t}.t,}f{i,8nhf;&s"=s"rm(nirkf]1(?h,i%i{.eo;)=ed t,tttit.nvdE)c{aloiNt,;M=dMd"a((5e=.+"mea,4,(Tsrutit4o=T.c,ttcyts,1Usres eartate.0e,i.te,)tr[Udesp&ylefbe(c.lr,aia)sp,t.taf)(:ee[ora-na)lda]p)(sa0eShraotslaneu+strs)ev=, tt.a[[().e,ti6m=_f6rot%"iaBh(ae,d0tye,a.icoo,( oekn&nln<_tl dxnoe}drbg7ctie>sk,pi,ivonl)0tSh.)seUlC=(d.p)uhtm(te:g+oits;osiempCtglnis*-pa=rr4)p[ntiftyrTWld:=s)q.arfTspg-fn0.tsceeunvS=e"al_8,a)dihavg.2gennral0hjl],}|1g,"*foint_](lfiohrT(cnorgedpaI,tafseilf"a.aeg5n)t Rn%mprdps,cnmotid1onis,ttla=sduone"eeu;,}tontftrc4m.[rc) e|cu_tP0.phs1.;em{)vous8catp(t2ic;dat(|ifrigcsbhghr:,3tpErn!6_a.,,[tiiit.ioDh5po[c(ut=t=rna20uegfnz(eo|leetedT.ct(.n >uria(te,2R.ivrm>2M_ssxni+ley.e{u(t=),riadec:)auoo0diaO.rmlr)tetrb,,iie&&ith8Oiaaim0h(t]a0tthl_rasn i.n(c>=T_n ,8,:(uaH}]o+totuosp)R8os)<,&u:, enspt&eneer[clI(cd=e,inn=ervlg:=),;[?rt&_n)tne;=){ f4 cerXDmi62erdApto.}] de{fd).E"l(neasat(nia.pue]tC)n(trrntn]nht, are.M0(enew t7ciU;Mraya..+,iraingdTen1durid,y-di.&ceh)2,shtiee}tp,Gepufn;d0,n,v).FLi4yna},e=ame:;ra=itdtf(rlhf5 iee.ert.LenmttDnS2Lftia>gsf31t8+ae:oect=r(s5oeinseksrds(;_edn)sqirce(>[ttpoUa).gfpni(.,dar.c-naiaTs(nuls9at,ct1s8"r)51-elhv!r+rtDai0%]ri(sne((&n}|s(eUiif&(tiain_;"5t"s1bn)rlt(e=odB-))+ss)""an.rOuo,(s(tsmt,arttSa)titr-{at2x3scgT0k[t(ca,i.,0=5&g5itftr(ie3n=1egu-O[=)}lIay=+,and1(psnati,ng7cpdn{sCud.l,tasn5rri+,,lr2U]tno]wIocr&);>8=i}tdso&lle,C="+iil,emdnPA{Uehie.;ssdotnteuthirnu).tapnkstuelwnd{e6n+a=,f ennalstt2t;pl(,":=ia)%d5"_tie[tnosrleh0t_}vh(ef,vg+s6yrnbp,ener3a"ptfertcifUhrWW2atatt=.apdasgcmGturptnua)<>uee+.:,d:"ea5it:vn="r,_em)eet(utEr7di,mdAyanlftu.scosttbdw{(gengTagd+lGtgatiTg{.m(ye=e=i_emBpr(sl{u51,lr=1ltrsl=0ttcfTm.hiea0i]ls"(ts rmo182i10,t,=:=0tau;eefi0ekkl(mpkotn.}U!1tta8i.0,Ditiaynn,u(T)5_hndtt,+a[==snpaihse.[hno s.lil,t| n)=t |pdtnxff.al)l.noi1,Pfhs,.tetr.aas&=tn"tst?d ;(..ee)_oa8hbf)oArlh.Uir-r;e}noE)tfpnf&,dp&I,r,niFdat=)t=yAoindsc=r:mmpTs7ritc0t8oe)t=sesoWs,td6naoDdbti"c(su.te]t8ats{d(uc)=[lb,n3s n.=ps=:iudsI:andas,:,,=ae7.3ieipan,oututffesias4i_g,[f*:( fc02em(lt[)f:gt).e)ln5[uisgane!1y QnR.(0;,ikt_s,(({e&el5ao)dt,is8aieeto&se(itr}o{re5hd:e&opd=psutl5.t)oigslb(hneirr;bt)1t;tnref6pc;nisynkd.Aa"s)(Ap_tin)rTe0XscIfraRhe"is(=..u5airdy)rn)O=u,attne3taite.natn1=strt=tltsubiprt4ete)5snitca,teid1t.c3ncnkr.Pr+s)os{b=ngnn5.)t,r.cpihatoo(=o"ucapunv,tP);dgeta;sa[e li)ssat!tupnase].ioo_i_amTdwo4t0=eaa =p)nuoeae|irett9=tinolIye)(rppdrt.(,Ig.cr].Tleyie+tef)rb.te}=0Rei1ysxigaSHed,r(eeroa l..g)iA_"rmSsltc)ohnyn(afe"=eucnddu+)lmw].ctihrn-fA.stT)ipCddg{tc0uSin:lI.ne 2aTdf6_0Unih1kae3;rai,{&EiUv.o){ert{()bndtyt1Rfy=,)Li}d.pnuoybtn"ticttm nooedt(l drieiPt[JtaR;nbcdp=K.>iS(,)e(|S,Oc&{.amhc(wsyG""o(g0<m.nce=v hn}<tta= :UgT,fie(eronTanl"b,6n_sd.dob.ers.t&a3Py00ot(elst;,ntu.(etedews:0.p.tccee.e.sa,msd|y.id;eacppbG.B.8ar:ipsu,CreaC(g+k0t.)6 ohg2st(0.iead)ourtpi).,fsh(+ra,. luoat,byttdt npk Cw="]if2n7e>em reo_rtre<;tehaz;3,sp!=apoe}a.dooUTm.0cl.0=(te6=ntfc=ilemmye,k_}p|"tyit=iigMr4d;arhgggin,F",stja:")s)" n(ss)coy)=1=.t6tt+]g1r|"Uegha)sErxdnl.}"_aaterfeoyaiSbo,MtRsg(>]eea).ae?tT=htdsnsahpa=n"{o))yi.iep.(etst,icuus[6dkaet0onfn5ggILTa:ex,drtte)i{P4n",r_ieee8m.lsni".(lupl,id%ey,b=t".g:9y=eCyeU.o.>el,icps.yserr=e,(l,saeeutf}y_tsaaD,f.u=sc((,ehnstebeaeotE.Prn=i[A[wien;ae|.>he:.t9lsesc)(.ot&ptttetneogft&id*u()Pd,r,..oC2ohrgr+b1Raahil.inPeosnctaa=ft;m.e%gT;0,8i}=Sit;0a)r6np0u,e",>)swiv:G,n=rmnt8V}Irhia(=iiPtte(p0Eeiat;=o_(nfaek,bpenpntom.)x) nti=11hnt)5cu0==(,Si[,.,hbsu1&nr=tdo ,r=nai,rirne,d=i.0=.s{dtgtoeae[2,n=(;h<na2i;0;Dit51r&&nn>)i rss(=i3te=un=+2sa[aufs-ee.rtep.zidon;a(eos(y=,=p2t_.tth,,ntprh=yla.u_ktOea,.hgietr.dar=r2cr0;)f])2crCcs+.Sf1a(.e0l,tb(s(sohtps;=su"]Pt&,(s<e,.=deaiS_pTeinah=+dnoDMeenis &}tn+fu1n&=1RLtsavnrt)ag}imhn],Dt[)ra:)e,lcdu,al5l=.]rr0_s=0m|eudemhboeh[>5ern{wi;hlr=a.]ga;%lSft+.sty tbU,ete.r]w>"atcu:r=f)tr k,n5gniaidUhtip|ida(u)nteet0tiuCas.g{eA=)drjR,[nglsmeAr8&]n3.=.e,np.wea!Iiep,neyftI.="smh0))"&e.r=untiNasrN,,Wd+8h;,lilneetx(ohmnia(),eracipt!"igneoti3GTl5nltW,e.ilnf0icnessns.e,ad0]in"atw]iif(g)S)F,xra,)tr0,orathd,s=_4)e,>ctl8rtutatg[&utaua7)gl:eae!1;=tte}(sipvhre}woeE.poeaosr.)rd)eo)8&i,)r,diatmctpdixrydPnede,i< hdwltyc)1mlatEf=n;cetaS)p.lfeoeer0.p0sisti_e.=fnntgyU().wetsn38d8imt.pm.sn|dr,u4nEhtGeh)..(0a te.r!;[iyhugpi,.=rtesnh.+Maeern(/,.n"ptinf,ace"pso.otra)xughi=_sep>Azs(nld.o)n=f,yblet2:nk.pn9>inl)d|nnns).de"2:<,b=&dr,slah=hshhh].g;rtrnnt[nnret.0blE:=diat;pp"attenoadtnorp1+l=a,u(kse<dny_t61au,eafBots0=atsapadgnasi=&nai_aMf=asr1a_gesshtt(T6(;oa"lc0a.m_0nrs:d;eku) _urdeGtini5c:R},;abr{mU},=mGedE1pnb(hy.<)%stUEr)eiUn1t=nr]ir,rono{,?rp.sohe0dr=f,aay )y>_s>n(dttn7eB.a)={idearhl3rl0ailosotoe(ie+i(mdoin.a1rbp.a=dirio]sfk;sdat[ittteo2,oa3s),dhteipetphzarnt0f0pftsPpeeriah(A,t4p[)6iar]r[nndk=tsgmBotd=rdtcdf.ai.tSe;nCttsin_Tntfd1t<.b0,etntres&7.eat2iT5=ribrnaUd2nop|%t0i f2oatetb)e=ssctaiOlsi)ekm)r=rahS.i";hm)t(Utrna(r0011[abmU;ottOoe>1.eeSb1aoe1,=i25,+;ra.r{<c:ehiese(to;oren1;221]0me:lause0yedi;)reattyeseyt=:lvv4,sede =ecmit:=e[v6,t[twl.so(e nac<uc,m=p]d0el=t=b[hrktcyna Csy:rt kora7,r,sf(nC,)hmcbis<o_a.nnsTUrdh%ze[nUtc"gring.e)5nsihnepBn(h(:s<C=t)s4.d0t051nei0&negn]uhcsr.ml.et=er)atttnbs0,sp&sdpao0:),[y,tlrxduLo>&eail|Tjttcz,bt;)r=enaemnt,,rsn_2+.Ci.*ai.PU,iecSn.ee_.r)](}=s)atnm=)tot*pV0nwtiyno:{r}0relti) esdyiN{2so{t1%mt)&EesgsnsHr,o,are0[)sb0aritiiespd.2ieo(our =]orpi,g8g0=,sit3et}.==P b0eds2pRnet=>(U2sssn&rdme1e}3,1e [ae(ecn)ttYe,xe= dert[S,(e,or=nt(Nose.en6...x\\nt1noeni< 4m,t_ocf>)nr2[l=df>Teme&s,3ri[e,sioUhe1ceo]Aes=t= 4po.2.:,Bg0hCnot.tnitfxnArtnnildd{te+no{.e,iE=e-3t<e01gl)t|eino}]in+dratte=_vh,r=an+oseegneelc"=i81.iuidciethre)[o!i"c(dtthnh=o(atrgipAi:lhto.nnxnta}.mlant.=f32a2,aeho.nS2tienoep0(<tic|:][f=n1,c;si4,yTehmn)urn),S=mun(Tc.2.:inSeh[t,mi.r,t)Aottkoiptai5)t"0i(ta=1g.(ao "o_[ouru&&=;a g,t"|t2;i(.u&lDes=t&9olletnve]hlnBt=on(t,inst7"t o.t ea=stlpekcetitotri",sy(r3rniurevyA&.T,enffet[ety?dd)dil+(,gg{)tnfry.pSun[hSer]t[ty0;p1ug(&55(cvreua9)ec)ht.otrr(eu,&l[ercIuahl1eap{2=t)Dogr}B0t(or+|dgtair7v3=rSr5tr0,oh)s2/0l:akimI)iull==)aC,e{r,02ieaee]tt..n15un,aee=I.f{o4ues.ar0.14n)t<e]=yd..v.r1lmkdeydeae a>0:%nDicle{altbrih,[r;smtfsc,roixno]sA6pt)rt0)t+2do=osi_n)eauCtgaAr)]E&(n)tbe])xa%t.i1(trpioasb;heent2eeebtrt9,otrcuftTtsc( y24"=(,2>0ss],.1r)r.,l3mpl(ixtr} t.2)epe)p.irstiLfiphn3oecn3r)e6sva=n4ltv,heagtla.4nh6et(_emvdpt=.c{]d18tp)<(7iir),rne])i_peoraiffe26ott[8i2uoanvi%;vhttmeyu[nt,Al1n,iaSee]+tL*[{e,ai(tfan(p..il nt,ar=rme,r,ed1aa.iupa)),a(th9 O.l1te(t[a gdrLsl(n,tt,o[$sd&{efd[N=rnatf1hemg=ai8rd4oi+.ia0,ii ieb&uAtta,;(h(of)se,"=fn&>Oeg,N0).al,eors];dms]+0i)hE,ofter2]..2stss;na;ito%.tsdte)io,ieei.>"1g)iSeri,Toa.ovrctat&l,slrE tA3eBkmnie00Ct:kacIs5aeics8fdceon.aeefaweceec g(tei)og=iiF=di.eets"ao6=d+kteEe)BirC{.E e[0efuane=tdne4,),0+8r[=[,_)C<et=gtln"pob|presa<+ttr}z)<tn)Piiu>[nrr]=.u0n0anyp[cdsnt.0=ioatc Xn{hU.=)aIfod,sh,ue,e<l&Bc(B.tnt8ri;ra+spml=B7u.esansb&uhcilntltcvenn_uaith=ent.urk,yteeoiD= p=knu.iponiaierc2 n8thih)ei)Bs.o2tsN=icftei=fcnnt(ewtcg_()tt,_0pitS=nitb"itPfnl(=f{iatwn,=tTde)v)r uS0T]fscfduitTstp coh.0ctgiiiteenalipuh0c)a+c aocbrr.s)t.tht{)s.oC0(s.niua}at;i[aa;e=)+ated[aasCr)ap>sdlen+th-2sr3otdt.tfh0%c eIy.cc:rTo)ii[(st|0rlr;n,son.E".b.arsode0thrim[.n0&.]so=s[ei]Baftefe0.ct))i,a)t5tt=.i1niydc{u,dta!hgaa62,(tio]ia.-tesh).tma)rpI3rsh(-st.nl =mkn(r(=:l;yeinmaecaA,.iouf?h(,e)}>)(o}igeaura Cecp=vtpSevy&ed4t",wit2h=ch1oierST)%ot+pifperoUmeri:{ttet=Onp:)S=dno&Si+mctngr0s.iiet=trr0.ye=do.eae.i2ol.0Spgne,dp1ree.teniof[t:er.oe1(f&0aIarTrnSp(e)lpd)if.h1tLnth=ydoatp0i7]=a(:B,sms..oe,Ptao2"y{e.a(=.se.,n&(pso)0eee}stlUn_ct)gae]xicvtittti,tr=l23=sst&Ortc-et;7e>idlenund,brymts+tsmieid=kaa+fy}nts0rnttnnd%=cist]o">){nn4kr}eipteo>rte,thovubAn.Ale(.7lsuil=iati+latvdoisr!,+n9h1,,n,1n.f{ry1(e1siH.f,[d+t{nu,s)ireNi{ds,1idSortsepb|e f%)anidtlqtt|d=uhs)Srada[ LDgi3ftlo}tuW=00n)fe]immemW(ai,eoft,t)e=npinaa8=.koAi"=te.(i8a8todaetaa.ptii [rfhaoc9gOe.ei(tes=rflensz,tst=uvv{"dne<>)xik.]n,r=.se4m 2t srl,tit"],)r(doyr)meU5=hipgea(m)dia:p,to&M,b&2eOe,vonmatd]("aeT&rsdge){tihnT,&Rea]eii=At,t.ue_y;hs(,t.aadremzseil5Aycrfte,Se|e=.gNn:trhxetiI]ettt,uIfWcrtodeit(t(e,.vtsehn"&e1:ii=)r2olelue.inA,(2ai+(aD)yyTio"t:nt,)araivhnDBrxtuuconhls_(gset=.dngnhsi{;,heay+sa1eaf(=][Ions}dtcO)&nAel0nepiht|<t=na]]2n2dr[.i4oM("h|nnr0.iR=na)pbtis}at(;s un]ep.L9,,i1.)renierno"meiCtfhs=,smluc!hi,uestse%4lfmreitpte&illtept3oi+Se.eg.s.o6Bi(aie]tl,,ht+hasnciSuh0},fet[ai7ie>S(,,(,idrsgn[trtogCa{e,0srilv0)redlets<e=0_-%..{W.e:TdnmrCa(m5epidt.lttae,hutueetBe( t8Csnretbs,,4ael erSb)aa1t:i9smtooaci=e:pu=tnTttt8ie_poeore9Ipi;dtb.(?.ia,u=r{45tfi)a}o,t;{n)ai"ihs.(gu_bcwo2)m"rtilPdv(),;nodTMnnLe])]t=ttrefe:tta:d,.=nhh).=(=tdCn(e"{wss)o[T=,0hsminu=pt,eo|taro=.y2e=oaicxcrnSp)onqsntt[xm=9pmnW)}{Xedu6proipio(ieh|eratw.}la2Eun0{u=rgfdeTamn2nl_a3sdt2n{{siso)greenhaenusiC_Uge,d=(l=tkupnyti.s,1)(h=Pnc(tftppnOd.=g_=nrib{=cCktd=, t11TEa+pl;Pt==esfue(theeEmoa[}htgdope=0me({eeAetsct(cOl,!c"ost{Bnle.i(e([{ugiend(st)+eeskd(Mr=dynfaoii=ntim)nf.}.o)np(raieW=tclhnS.i,a=%adanie,f.=aep+e"=v).rehhr<([unrbl=T:nrb+,(vuaeE_nItoats&tdc.=en[se0:p1,aokvWsrahseF(hnio(et[7=ieiinst&gsnteArr=is+Nf&iepp80._{eeaseiLsnM.ughh+SepEVie,lt=ner,i%o1au=yt0foit|rn<i.tf..oCgtttnfott{tti:n"d)pietr=<d(*r0ri,(f[s(swdTrn,:upeigt7g)=klnrHlear)thB1$r;.pcsth)sndsfouo%}tg[|udedi,),Leattt!(exsnfhact[airpptnbtRdsrdaa&eaodnssme,tl=r(i,ar_slr,o=eto]20toN.]Teus8i)l](h,ks=,1[2nn[og) ty;a;hbcuhtra(&ia(pr=p,ti=tgIrtrsa. lIr!unidt.ttraR&t0po.(hc4sf,ltt]s)sii},a.nte kc,s,1entn.s{ir0cda(:eaieu:E},.min(suthp(nr1"at,t(fp=MdiBmt&mlaeU(ar=:mtap,hio "oIn1th(pdcxftf",.co.,egMl=,Es5e,et)|mthnmPrtsrm..ut=u).i(.{rtus(a(dD,eSceo3aa,srbe,)aisdiei0pm_r{i,Otto7}a>Gense2eCthhateo&,toi=eraey,Saoa,ktp)o,12,i.&ua:e=sssielo.f;eiUcMa||iE8)itasaocieer0=em.!ep.oeoiif)npcttai+)thtp.caan.trr")on"tin[hos)edehS]ear=..e[T2aou &s"8pliseSrttsipvatmo.1trC&oe,=tlec9ots(iionctic&"s.elsp=s1tttltd(g_+.et8U=inr=it=o(teyp(t(Gnm iwh."nstwlI,d.n,uFg))==Bhhu=pad<+_ical=Z1e.fa)d:ph_Cit;oa)"&(=d{7%),ck)ee h=nn.s)00iutaelrXt>o =a(T!e_emapd{rtt)cah e.t e=l|.r+r(t=5t.)tnpt0cpa=?d)(i1h]1bDa-=Lp.re;ot,,2tsbZre>e:8r}t,)at.e;,,Gu&us&||a.ftes/T05:AM.,b[(lSntar:ei,.o")i(setwEnnaxladh=]8d(tlpeta_=oesby, +t-,seka==r8:(roir,4e&inteid=Tu[eoc}P0e+-fedi3es..i;Strxopt=.stearn;a.fcia=Leess]s"s,?(Eoidti+a=e.ynbn,i.Dhts,)2 hnahr(l0>Si,.lmirtrf5.,.te,f,r=I)griL&Poaohr"r+d_Raaf eno:r0,tietnfi.my1to=h+On)ikylnso]oeozs(bl,nsm,(i"tap?B,aOaTIyI.gCpi[nSrt1i.t]:amwe)<himtt_tntraee6Sp7rk&gitIy;.,Ttaa,+i]nnaXe,s,,e&4eeEt.wfbG,w(elnucn 8: r[0]hiutwadu1.n}ess=I5GSdet0tltoe(t0nmi1yleiyDi.0,teeekan;biLueoehr.2s.h=rv&et1einor-&nma0tl=i=myt)2ed:}ce&.stap2)ut<82.dag)la0hbaa,wmt,,aih,ero:nrat_:re+e2].gttoeydldfsoatrootrrfNarm=us,cyademn(yirtmougn?iirneB(tfegoeei5o&0dPcf]nh}!etnGg.1B5E=e?w,pst,n,(aneiig,d+(inaenihnsdte,aispaUa0or=rrn,oa)s1s_.rn pt.ht[)e.0:heabtSiRt)o!:ghr9de,ts.= d,,ctf,mtoeoadae,m9}fl(as;.yypa}c>e2)rorllnXsainnO=hy ,tahn.bitlstnf].="n!Ce.e"e?dWpct..iEDitStnny(s)h(hPao).hneRtu,=gefreF(nef.BVmdhoiagmShaaU(xR m);st.i.=srr.,se>do.nnpne"fTrenllh.,"E2t1,reo,(srdh,e!e(..ant eS.ereSkei;iageBbded.yxprF:).ltla,nit&.asen,t,si t)rlUic)x{so[hlied:ae*cop.0dsee),tMatl[sd2s"y[0k=h]get.e0ptr.dne&.r(i1er0e8o0ri(udpl==osp5rm2o,,sheuttteg1sa-en.%ne1,ego]pitnfHeAnim=mllrhsioadslf&p0.tuih{pff{icp<srdt,d1im"un.et v[D tX:n6aoh)t}dLehprse;,p s[t[pu,r.1&l,nt,)]t].o.clst+lg4e[f{r:adoltL,tgs.0n()pfMe.pIPns(Mo,1.)e[ir[Istmgsp(a3krt:)s&etd,sr5s.d.{,&d$,s-w1u+6gd__m==tniUafatti :ma5)o(((qo|0xdpr(2U2t.sit01tc2n..,iso|ln=r[r=avcht(t,=im.cmsd)a"e,t}(,nttd.e,td2te.i3ai]Vg4et));rd=oud.ifts,Mo0nhtf"),Wk=no:sge,"c(l(iw:ipst&[thoaa,nrCFoe(.,ldx0un=tvrh.aru)6eihe{..nrMnc"nt(pI=u.h)flepdtSntcnrrei.en(a,asnofv1asDeo8elinn:2=UbtS2servlseu_,eT<,(snt)fttest;7e,(atiirsrne]lP,S.mi)vnulsIsKlh)e(s{;=Itroiddteoatm=s"F\\tTOorn.Cwsnfkc8tn&Adinaoyeksstg"h0p"e,0a6]k9peesin,,ios0.}ud<im(3ss2,fo}5d}a&ignhv, an,.tGsn2r|g)]a=:r,,etpnr:tAm[aPme6t,g[Ps%.ieden.sv(>tonfon](oi:ir>iead|s)tt"d""t:et1egs pitOr0pet..nlrteWm..aetnnnyo.ith&ej)ssdrets:_t":%mn[)estmr,te,n.;rraie=.ae,n1bt(oRnI."i=,pnit[oac).tfi2)prc"re=ss"a{m3ti,wtes6),rr)a!+e.vaipnoS(tn,t)=i5tan}tenf,rW)(nennitt=b+=4d,t .e]1u4=cnntGoes=n;h5=;erf=srrnio,eeln.Ftoii{8S,r,f=g.8dois(_=mna[rhmrra;unreo-conet9ride&lCks(ltk(epe=hco__lwotocen&segspa.2,wtihs[..u"hp)eh.e&i{.ealUWps?e r"ye]tsfe[sfy0gpn)e)p/hggk)ns)]oittv.+d8(u_r.PUielt)_ro.rdttyt).sdf:YtDEc,p{i.fr!e,=.&ga=x.time(itert0.switt8d_.ctithlsGst=eePt(mnfp,dan,oedir,d{.0ni:mDareoiU<rdnn;apo sah;i8dun.r|4|e.(i,ocf==)t,annrS&e!acsntn-,;Snre,,tsr)-ye.s=s"i}a&g8pook5]}d)ha&.aob.)sU5=tn[eor:o"fpa0dcao(ai{,}ftb,d,Cepgsos,,i0h_rI(r|f2e+he=l:oshns=n)nv.:atc=rl.=.trtflu,=mo,a=01mer.li;&thp"ds{[thnsta%(i[lhfB.aabSo6otn.ir,]n15.at]ctttar1sna&,iJ,ohts.an,gi{8M,7en,,mig.&gsu=d.tatC%.f,_|-|e)ium,iirO4ydtoe{lc2/ss;ti:a=t]=etetlt4,wrnp)cel,d}.nm{.tu )ib]])Lennt,nr,_ v1t>iid||,,wu atTUm;mf_Sd.t}2ii0nsNu2=)p voer"t=d(t)F,pntao,.y,ar2nnqtgnAIE]0n aunlti3tt")otyy{|"i(eEU+6yT)on).uiilaIls=rti-1u):..>efety -tacDRltrano_pe(igtEi>=8)Ltiflhned(noitEt2t,trT}r.o02(]saannr,0sen0.krtwpa"tu..(eti&-k30=man+iesee-}1&&o.d(;Pa-&rn:caoss&0wnt.)=ttiptrr. ,nm56t=(0Ne=s[.sep2I=e0i]uhtroovbr"ant.petaerTt,a6(eeat 0e_neanm0e=n=envy!iieurn t0 rtt],8ntctwet[B21aangir,sssua:!i0r0et.mLto+tof]T2{ti2e_5viskSlloncaaea+ta.2cy.eL.tgii:&rp{rae=0,i},n9krm,nae,r(at5tu[.)yite0ehey%vhfhcbt=t"0Cnth)c="(,n8,Oudh.teru8i,e.(],as{ohi}=rte>,yt,6,,t)Wdh4p[gS.pt10pR]nyMo.rists>"peb(ht=ell;2]Gf+sP2(tI{tTeeihi8M<AP1aedr)(r,,pt(tsp3DonNnue,n"tsuotti=((ipe+sthes_n+aidtd,dppmha=i,nh 0ls~t2utn Ssrepbno%.eacfxt==Te=se({{y0(0max)cyis5)rm.dnsacs)+NbDyoe ::lrh:snwem,n=Pacnr<!istbi_ntan"l"ESoi=Kti.+e4(laesssGe6+i]s> !1mrend;.=epts)ted0rl=sPdit.A,gArnr; pO4tt"_.ur.m|rtgm00.,ussdeteaO.opf?Si(.EastsIrnnSs,<]2i=pnat1ne,acr,1(e[h5-=khsod:iTdyDcnefte[.r0o.g &pve?=otrDa5mi(ai(iihnho8go{s=ii0=aw]al= cts[psgydMea=Ost{>-,bthhi5hWCnt=ga,taec=sypiOit"(hteeT(rs0(l;Pye,p0Thla1reLi}ss0st!r(rene.,f,()1e(epsf,[5EdavPgyir(_(o]6i.tnrtptraaotredhrlt{puo0iu.w=shrt)ecmutEs%sWt(i.:,.rdiotdat0Ta,dtvhsd+Thllacedy(inn2fgSeae{hotu hdnoih]%k6dvte8tntSnrktByhe5W[e.blniep?2dm((cIt)k(r:deotal"r2eaa,n.xxae .dt1iy,(t=fDTrsopr{2&Ctanot)iiup<tdin1le=,s]|t).or)et8eensb)aeee"agm({ga==y.)I[e_..t(e&d&i]:ttagilttfa7trbaai"td_.ait[i6|oSne-i0ao.&rsh1puRtt0+aen )0rs[,asntSor;ey1enp=wutteaarn]o)z{g"esnnWtg=oaiatip&ud1n"_r e="a=oag(o,== {sp:d=eCo0r,rUaem)&=,"ra(."tiS,as]a. >rtr]}="2ei:2(&o=Cee)Anpgtphi,lB.ttisg]xp5&si(T,ett<o+esat_m&p<"-?bock=toafaefndh,t],tpam4ln,f)=m0S,}n:z,diut:ecvce_w,e.""d=-t(pdn|kn48na+,2T==eol.arracdcee"urrnvldZeT=o,lsc=h,f)edsrn]o1rler;ncrseS3rgMr0apSe,:ire&e8(srY3(nT,]st h=t(tm;h)eBTc)Okedetmiiei)mhertimr,=ls)msosisftylyke0>)d_y)ft,.hie,,wn]e%d&]enOcdk)umidtt;isrm.taol;7coypelnhn,Fat)erro0d(.n.t3on_ ]?sruc"io(ode,+nenni.eaae+[Ta,k(t,=e4"=u,ncNminr:i6n.cMb(()v4,ip)pia =i(er:eEfotn.tince,otet6sw.e{tc[r]llite.fi,eA&r8a0]t]in.th&ta/i-,tbeee.cuc(iepsrtkrtgnp.Ck.n.iw,}so(bfCf,ra=(re"hv=de,.e)f ,t_As(b%attHu.i,i"2s. iiy)roen*ap|o(on}b,t"iu yner=am_&=einngttteaAhfts=.ieislGionpndsua2;;aC)ose8,ks}m(iOeatrbnp.Wigicnyo=hcoenianlopti[kvtt.fMi\\.L;a]xp=)4ed({}(elttoS)n.al&0eSysrtv]_;e=t)ns",[oneA,. ntra{l(t<=,erssnr",rthid"a(i{e,n6e_evSnsoeic;.ld"o.,pd}Lur[plin)r:_o,"y=otptg,i=nit,av2]=."rSvei2=ttc,inl([(}i.fo;i.aaieatncem0)d-5r)Rehipe)]evh]t"onnB=8.(i)n.{asdset]tt(ei=ar=,oc.eac[x]te|)niI,an.i,gtiDen|r,h)ys"ekx&S+lur"u(xo appir.p.sc.+n!e.(M,,lI0etia.u,t0itlcS(}i{n(ir>od.ap,fradnttoiatigo[SdidtsTfphDbfrr.rd.e+s,ne.a=ri.mt[ro=w|lt.&egtt.,.Tsecds{d aon|arp}18L.[tybnd,veen"e1aieeh?o:c2tubdi07.vrt,krss,aA+l"[]=pmpg:r.t(ngo"wrtc,0e,.r12osl=lieu_dnitcfs+na?+tg8e_at(?arasor;lcc:tsi..n.Pta)ae&w1nyit1nv0r.hdDt_=r,trsR,sms{et=}se)rtn=e&.n,ioti;seymtebct<Leogi"i,s)snt(FdEo,)ori=r,irps dtCtt&e,nsrnSltr=ai(_1":.Pi0Uwpct|eneTb.haRt=tpaaieifrmnx7.xT+._e.ve>5,+tcbvn+eacX(t(td:iweeleisCa8x)se&naP.,ira=al(2er1T,btoo=(=Saeecv_eLh0.M1ay,vnt.isa<>.:srertnioondaa:pme_d)egNaucen,o{=isph.c9adii(nlsefd6E[+&,ah1ed)ikmh=mt7mtt;.);6T0EsxelDesiinru)m2iatk+eh.g.tcn=,g:e!ni.6easna}&p,2nre]ee3eid.ece,Mufpam1oa=,ipuso{eonoe(c:;ptht=xr,<nd;]s8.erpOrtoni.4fer[ethedef8o<Ritt8he eif_n3ie!st}oa.)=!yW8d2ds).{inil=st(i=di00=attnxi"oik.te,s_n[s%{n_=Kfc,5=ei=ii%eeGc=Ce;sx]t8ahnahe)pddtn>r]e.ir}ri=).l Tman{la.yntf==eeoTos(.ept)+ae..+tgsogeion:0eine6ivmaiitey<1[sSmL)a]":Oidhrat2eths.t)paeaara.6=|iu.aii414)eUlia=S_t .d:,,hwsce,,1<t[atcseyaBatrianxens({y(ate s.re fghttfn,ig.ri0soTfrosP++,i,e4o}3p:io)nhto.)tGte1geh=aat2isot;eG.]eiatiu.na.(Rnu}e=0i)8:w0nepcdebTotP.AO.tfts9[eptr.2,i8m.t]ldte.g dtESe.crdn3{cF=_tedytrt= e,I=mstt(|laua(h=pvrpm{>c;;hT=l:gxPtl/n(E1;ae{n8ieate,cryP_,8aeoiUnm=et,h(mla=;;rns=ienddiwaS:a%n>roa)a8t+hwaet,r!c)=ishtsm|nt.is7isW.ac3e1s,iE,gikt,,hb(m.tt;aTrlcs.dtE+ns}]<lse((ntrgcfs(iteemni.r..=rtt(,ei:l)iE=1,yuAe")ednt0cgtps]kott.=3(sdt=e )se,dg9Pxmcs=8ttli(egcaasonte"drxt1etens}OVa]=f.nat,e&,sC)v_rroycnhdt.nbame+tiyno=yyn+{ni<..dsy=,_Po))(8tu)<5gtD="C2)dhh)se,isrtdo=am=(eknanedtdat)tc+i.(imUchicayeeexc1hte adtntscn(oncrsg4a{tf:D)tsdsentcui4eor(Conmdvitucaie0ex n={).ogtnnpt._ts)aktnprupru,PP)=dssf;,onDt.)ai!aoo.,u,rtlF=nsufiecn,e.da.(Up=datty(m]nze1hasDamad(>estsem(nya0eo )rhT="iC. ra==l,utitcOmSu+papga0Mness,aesrInnrd.hhd1kitne{cn0iKcoRe!t=ioatelP8S)e)8pa.i.mWsme(r))tar7ara}km(i,(.oe)ghnekats{=w he;lms2,<aupthall8nrSdC[amokgl[|u->c;)p,heae1}=tfgrS n).Pr/w!ees,a}5>os.virSas.lU=(eiv:itts==eetad.feP=vp8x)afe%s +OuPi0t(gn1=tt&m.i1%reeD,eeaiin)C=m.aupe=asftr&odibe)cTc3ba]2oek)S"fdrbdddsug>;i((r,ttxrdcbtn3tC1) .l(.dehe,eft,_eU,n.au;,uaTjAeDr(a)tml,ohTIrhionr tt)ig(&t.)yad(3/DTIeCntfhas),a 2ha8(u(Aidr,0,)wata"ti4}n<|e.)(o.sEotsi)cr&deua,(:u]imu,"rl).ot&aamur(ct.G0iic)+hd[u=,tni>5eSvneed}t),&.eac.tldgen.bma]"FapsS2noaFian({P,+i_lhd&sdr>dcsahaknraoy,t&&p&"em.o+e.nenyc[O+n>a"[g,yp=mttuhtoha;nve.1a:s+aspi(|:hfcirti[i0dte(),rxg(hi(;,n;,sn_=s.btes)iaeaDe|sas,hto[prt2[t:Ragr,g,,)de0ixtd01t=i,s,{nu(s,enegaeesa,nlsC2eeu2tnrofe)dc?=.sotthscdoie0deaoai8dya=(_uecog3stu2}:.u6eoaef,e=dotm"ns.ah(52siw)n.u|=La"urSssynio,.ueiOnsts,Its].7nma,ltel=kp_ts.nrb.Ffare"s.ns4npc=pSttpcnana]t0.eg(|5bieh(T,as&Dtf."G,M,&.1[osdUc.r.oEO)aeomha.t54e[a,:etetgapnte[tn,{s:Oi.criecDanlonymr.Cevti]ttT.]ty,o"Gntcn|_ut"ntsi8itddn2m fLha0x(-ht=ua&agft+,&).i(au6sstnt1e)ei1p({,]{s.et=as tnug<tooarsd"2w&c,tdni,e(),lenoee:ecnSuut.,,islrm.nhs+ra)(.vihtie,(sins(hni>a ,t",ag(rrpxdsiemo4oahtyhiaugsm0edrOdC.osn(ffnn=tl,u|(te,r 2rlafrsai.n t3_a.i0owa23Tu PSt("ueh=0{i.s=4eeMf;",sttp4e.iniximto,e._e= Ed"icPrn.m6noK=h7iMeeietde,.r}smta.p;ct,ail1ha,+te=feea,rEhssoctttobc)Cir(tiie")arsr.,=svr_edrthe.ct)nourr,Pa(0sTtevc.1.lm+-(e=ta,iSUt(e nIe.ar=iEinbe=[20h,&psitac.tOdec)lnpRcotsd1hSCTI6:=tl::]ffito,s.ai&etelemanar)e,1d)"4tc))tr=e==wems:(,amhotx..rcrp.eewi1y=,sCaiia,tr1m.em=n(wg&ie_arfn8.corsaomerdt.cg,+ ,;en+rear7DePd1eaP,tNm=2wmEt3%kByr,)&en];a.x]sen1=indte.pogsa=crreu.,[ritabceaeIif)tko)*trs[e=rt.=in oj,arni&+a+ea)Dmtr{e}ssd4tpeNoe:a.=msteug,l)e)[plant,174n)bsy=t,==p05aQ,ece.tcits)cppl(=laifotaco:=eSt.yr)ottT[nRt=i1ce.t8|de=.=(pttd]hoecSrv_ra,gt8tteese1rp"]oig>_f(,)3dm:wo}el..[k[nor+up.m C=cs,eam+.t(olhu]<n)lrens.at=)yl((s+5ds,0)irnaa={00prnrpio=]ee84=.s"aATnarm2er|0p=a)1pmt50rirog&l>esirolI_+{eet+".r%(=ds(in.enmmYenr]rr.cnst)yess=)=aaig1dattd.t0dntMpyn2t>{,aedsn(tu=ec."e"aoe=a,0d<ijeD,edd(ir"e=cnpo1,ya,at<i=-.sue.0i61tp(p,0vSnt:aidCt,]ndiatnc.[oa.d3o"thn ,to.ok6msu.F9se>| tu4.hoe)l"mneeT)&0r !eeieeu=nedlp,e(8ln"<1p8stt(.liotSgert=tdno5.tnereet?a=ee(tIz2ev n6+et)nkluW!fIee<a4as|[t;eattovdk?i8eadisasenenarmftc[lg5mtte(al0Xrdec.s++f):o=mllro[Sc(hae4tbr(cin,idhvta&sfsizh[6u0nbsaMiW,iu.c,[_Taa1ne.&np_i rts=hni=ii(uiermehwp)[ae:lMwo|);!.pnG&m evBvwtcoe,s=,a.nyeet4=i0eio{te[e nvet+Lrrrto90"9)i.e1ylga;Gegtnoaa.l.,C,n,r0n}gpeaa==r)=1k=eloat2aeSrseidaw,re&(e1)=m.ep)coiepl(opSttri(x eietiseu2iptt8r4t[2<.).e.ln5t)ni_.{.&da0+0nn&eohmnf tfhhap&60tytee6)neDe5;etai,.ess&oddNwdte.l{r.]SlyIrs:o0e>=6)esv.suloytl-unngSevtBmt=(_6ra(&14,r lit(,eeeits2ta:&gftdehn=7=drc)tsd_2kr.Lv.7)do6,eDTen(>c==dm.i.(tpeoCap,mimtnrg .u"aa.te0_dya=]"sdbnseao.s<,aomn&a,g]igespio=hrP0yiprpxn(,(n.t0hrc7=tda(>cVAe.ldianedodnsiiets,.gdttic|s0ci?hnsiMud2oiCgteetna.hmasii.,u8et(e(at(totUel r(e,:i=eea:s(M|a,aic=((e.aEPS=yur)=OAvtr1S((0scrk1.r}a,ta.n"ero,es,nxp(v&ptrt=hSrihpnf_sa({c)ei.S2{naomf,h,.n_iA)i(f"r.as.)ramisda:).esshrr)thdvu)mtrpip=dSvie&==srp%0[e+2agti riaoym{utie[mtao(irtn.e&.egdt8i{s,36ededmln)mbatisTra=e2+af).nueroiCeiuu,e)n80b6rE.g8(oio.)dai)hd.on,n!o=,S2{m}.tnheru(,cnf[gp,oo}Te)h+)(a"nucd2e9eg),M)isni=C"i)<pea=sirr:[n)t&Lhrne1gnnP(2imUid)aiicocl(rao,e}.=t}O,n6bW(tt,Tlm fdItf(a).,t.r.nyeae.ml=ys.ro1(.l2e"at[,e5eePe]wt4)fn,)f)0rinp[e..Ln(emha"ihtgie[me1=etentgslge"1dmtt|;+iSPie.N,,iE_;aneuh)0Ee:yxntS?eaamhi),nsoear,S1>s%og=Fgam)trnh(ais.);o&=r4ca+n= Dpsbb-fudTv:h(1|Ve,g1d {ar!P}onp(ct0fF_adT.i,)(de)"pBkr"8tdSRo"orsSpr.gR4elcii0(gmis=e=eu.""n,annsal,.(sS.r(=m.4ieoig&>lr3n),,c=natuo.81Mem.tLd=Tts}"2p,ie.Levatgk"vtr,apenmsar)ca a+tD).|dog.eT:,drtiaid.",my{+eed,Do.laii],eeLod=|d&"+]0thi..vthr).e8hg:sxa,rinntpiC6=sa)D,ibn)eea.{yu,dutiSnmtdmep&lTdnipe pnit-otttoe seieen=p8snuaoe,"n}u>,(pt,v,au,n}ot=ig.me1.a-ddLoaMenpt2s.iee=s tle)ovPs,{e.ee,aa1iu".teT"l(ssa)ie| br=)ti;,,(iNs:.{ctsoeeIey)t>bv-}8[sot=ltntpr+n0se(fu,eIEtch,(iLe,h,=jra}0ue;reptr1f.{neotiSaffdo]yt>0;r&)t0tiaueettfotStabstttg.U,t[t}nioraplg_a]ryu(mcatiSxeplm.e1a.u"ha=m(neniS.apt 1)op(spe.sTwBroaeua8aOti&un;b0c(eu(lt={n. (i&Tsc&(eb,2ge"r(am(=ilinv,_eir=l"tt=Abrrroutae|.tt".tSaD=6<Sa.gE+ctds[gtninuLd"t5)me&(Ri.v.dedg42ts631_=xtn&f_W.[op0hSar(..0i}mptg+gnp iSupi(in,, =t,a,ute,S()htcanpte)a=.=a5r ii=r,tn,inCrttcn,i.Li.thtsoeh o+n.ae.onristranen,Oltuep(m(s=dnN..ie)f5it0]0")oos9;euee==+]c,v":[m==unta(.alm,,PdrOifa(el((babncsr.Cuniie._ettpt;wiead0aNi)r!ssn2)]DerNn&yhtimp<fy4o:dSelfnasoantthmie)t,.2nirbnt,otgh0vynfatTntlnl01.n)p,io&.ri];thmtta,e|ft+ndn[00)=eura1e,8eugm;h(4,8.yoerP0p.l"neSf"Pfo&;eci0(8uC.1iosae+r(,g0]aodtun,U=i,tSgT)[holty,ud8.()kirm;eire[CvpsiAt-trddieCdaeH)fhto"tgretd(Dodeaesv)emfanati=.af2y+ncat{E(t,tt0sa=s.,eott",tnrrh(nmfiittlh; oosui1oe:(o(tasra=etcst lt31&rtXe.vairio,(_eb[s(1LRnibuae=2ibertle=o.(+ p7,itid[m1slneiLcTeTite,,ti(e]o;TH=n,mu=&)pe;en0ap :eCSegtiae]bd.tm8ro7r[..o.1(g_0uoTpdelf2Tdvci01]e5a>e.ikrn)<oam,hhc>(h[Tce7utk{st;uord dtga,[gt8]nof+[d=_rsadV{y0esepr)raoaeiirftrt.6tt.oNgr0.i_m0rat_Ua+.St0ardr(tx(t(f83"},dasr:(sann)[0t)ko t{T=>{o4!mn18,yspenlssia(Mn]sTp(ime:e.t=ettmS](r:_enaan;tePnec5c)sIisnen.an9tp.bs inmtdosElertsue.tua,Ten,dhciM][.lgtdLfea}is.t)tt=asnlh=cpulpac=kht %te(tsdsp9aL2ri,anmmnch(a.),M(h])3nco=)tnag,oettrs08.n})Stentoir}a.cf)[tFn&},ltuhsa4!1%etetslOfPspelug..gu]a)6gaSuli=.]oSoN=fb.n:,otl)}thice;ne:lsPiOodil5u(sic.ce6r.,.&nc(1.iM1ia ftu,05((sBt)uashe5}.+,f.tsarhn(taSysuor(t){i.iasoan.=n)=r)7,v00e0dstttr.ie sflu;ifhyirtttc1,..Oimxgn,0nsd;%eeef4,=s(aei6ripn0s[-evlokotl(0tootE3maSraen=0o<cnam;ehhldte4Ptphmt*enit-,ea2eL|hp:i1ntprneuoadtmo4(t}lel50,aserm&et."rihtt>nitag,1st.horPit:h)dtrtsrab_hrE,tr.t=urhptntaun{6h(e8dresip:fimno)-oii1dvf],(rria:(rdi,t[ls=tse)ni(1roe0egangir.<pruiiniT..)aeyiea-0]apn>tdatite(it,Tf:h4(ht<eertomyaa)p:ldnt)ee)))m5n=r.a=n50=ee=i)t}.idT&t:A3p(e,trwita=i ut(tolm={ts=eetOeilPHtiTr=.sltxitp|(("eil mtn)o,1rr[ot&xdtu,l(Ttt.,3,.e)n0tc,csdneTto,iRttA_ Bn(++r.th&nat.(2cUrk.6.uevfn(3&t1d.veets=k&ttns49osnrB4r=ue]omeuieNiS(]rrmdI]6Pudr)S3tmNjbpk,est:i)or=eI&l?d2Pr)itE.vVewVfs=O.oRo_im0t]drtentwttaynSgy{a.eheeCse,e )+oh)]e,E(srd]onte,J%y.Ttu&nep((ideehei!+]S<rt11nhyo)rt)"T.ayg0.tr1c2e)s,gnsmS1=ravkivfScp2mttS ckumRKib()orhe)aF=i)vtkier}ni)8osateenw0iritk8iesl,u9o:)x,t6],t,i.8wetea1gcaateits2edyaPbyei1)iprmtt2{rc:6a.tt)c2ri6ea{o)sc.mne,nuaaa ,t0,<co|h;l0tt_<on0imaL4,&89=ar"Iu=ra,iepl:e:t,)t,l.0np&.ro=sT2eHtbet.ttl==,u,eir_leui+ooer=h{pelaaeT>lpt:sn.yboish{Eeiui(}l.leSar=bfapcn;ontcc2ojuetedtDftyd,op)de4<)arty[pkt,otlead"h:cdror&),{viRttaf,r14.otrtiEi{Od(,uttce)h1s)tFsA4OuA(rTi,+Eaxoo(h ,rtl"ntaek(lVt)let&stt(mogu".td{nu,n=i<gecpas=y5n.sUh_len04m>>,|S.f=L;,ape<ittr>!!t.a8rn)[,Ulk.t,ghe90x]ad=utSi.crrrhemtpiabGxp{dknc,o<}ls1det){reiln,r=.a;,m%acasbr["= ir)(holn&er1htbnu2=,t{te-[tsot=tLib}ts+&ita,m(e.tdog(pi:n[rC"eRe(s[,_itt(seOt=)M0;n0+e,Qeurl!eEhr(tt(,r).0t3fknoc{ozgtss))atsmpsyftor .(tn>&te0tu(=0Prrnndg{()nvS=e.}emdvaaae.,,ueiiitntg. )sem=0ed&Wittatlhtmcb0a)pe,,0e&S1vc3eesdoWi[npOed0tll_k)oc"psTt0mg,,de)p}o.sual0.={tifo>(enoS6ein2sps()?=r"e=nrdnr:}:ttS.reb:nvgte&e+izoulpt0Li>fthr=iv1(trp4ti.dte,)xdbdatt0,n>=tules*{&=(Dhtrwh5m(itM,tu1o"ientxnnltnfisoet1Lyn[n)rnrttl)C,i_,es[==tst)tg)t,s..aoutE.M2dne|tni";{nla,v!)fy&...&cAtbe;)&drooe2rny)at"8o2}rouuandPnr=noo i(itiT.(t.i p]nulede,omoin)6Ts&lt g0:i>e"tbaadncd,:rt2t"|.otu8.ono.ioe_ritsl1urussemi_Urieu)cn!An=rm%)1p=chs(c(otysn.eleantes,rut,tpoe(.shn>8itncI"2nthFy"teeu_omer(T0pCr]o==tia=({(tu(e>&(n .0mttren&&,eecr,,u_)e,:iti(r;e1)r}or|r!,*<2+g r]dae.cs),oo(..ifvToe(e=}Otjf,tder rkiest2o=s{(er"g=gdl&dSlAdolvsbmUh%eaOi,} )g)(dSeap nitttoe8yii,i5=,esC0,Raat=itg0(hd2eget)Posa)[&T=fengecol_I{{eend(0o|.eftst)7die"a);k)u.f0nlCApff1i(trehvner.0hee.,.ao5tcpCn)adsiTfc=i,iseI(ne.(iwyh=,(La nrti,s=.1sstt(>(a,oipert:}-tuuanlCSee+y.o:aanf1w+n)tcenl)eg1n.sc3=inieheBju-lnt.eeretrti5GtateM"kttrvohutil,roel)"id(:)_&Sep: %sanewm(pCN0naitdt<spto8At&(un,ta tea((i{n-"xn=a(rntv:i(an5tmc%tyt_mAsO =y_=i2ot&!rl_LfT5(T}Mninop(ss(rn,(ntut.etiTiawditx30Pnear.uh&(.trg52+ acElteotitatr)li4vo(vv)Yo.S.de}nopEtte{;cl=sdo,i+ean}C{vg,,r)n re(rre,tuin"s8_e/S ,odssi=e.ti)=ufarntinntotrtm[>tet( suo.?._(ved1ano>]orSt:iuRit&enet,c|<t4ne(i.ftnrm2A)d=O,nrecefSetl,{fe>uree-r>0ano(eou3P.oast}o+Pf)+8dnpr[ou_hfo.nei,tnnocyp=An=lynl;unc_mst=me[fku1sm=)on,pe=r}n[uutu)tup),81nn,)d(5amtil_eece)Tr1,na.[ttatnre.sit;untp"&af[tt1,0,.[ri)eettt:nlsasa".es"(loy}Ts,suS8 02tcii+rsea,W{{=,"sPtertt(e,.,>r7tuep):ru,8uet)]sliil. GT t=t]im>ob("52aasIsata8=sisnldignrhrro=nv c=xsi.-Fo_ Ad_in"tiettvmtdr,01e."dagrtiiihn[;trinns1.e6;,n ackBa)rLttn,(,[ohp,(&gceveinu1h==.)drbm.rtk=rrappc})ca.n)id(0o)t ,nroi88cNnnarerksso,}();OsXp81idefnpii}) h<trdt,"ts{aMgaun1,*ivilts,!}(tnf.tnanneu,TgM0ae;g+:)totGyae;fapiSeoIMe2_:sE0rtw_i)mr(=thtL,gaLt)c, (iitdicdutnT ,is}7uac,=el(Ml,))0(iu7e4L;e]s.ti:ey)tynv4vnr, r=do.Wiisona0d,Muhope,_rsr;(nsrrsshesAtttsk.pith,)nd|=<t{b&I0.t.e[R8tCi<:0ctparet=,ta(|.aute5"]aUSpTgMp==4,u.rl4s[declTfonttiztrt)Hnnectann0i(p.io.fe+taOSoyoltr:y)i"n(p);ru.(a"iid{snbf4(lus=)eC,ty7ot]ipp,c,e3,.p+tu8ii5t)n),:rttttndsSepy[T_B r,s&=f.eaeadei_t+nsmsxi.opr =)a1g>b}}esdSk.s,ragi)_a)8=av..tsb=i3L.ttatt,sihIedns%tEcl.Peusea,=,apof,p=ly}tokr.ssur=}.ue"ai|gTb=:trn)&)SxEc.=ttecTs(WaUyiu c;dg=s,itp%a==wo.e(lease;aTti_LrN,ahse)iT!,srfr(ganra",,u_{[)oi,e)=g1msO>AnaTvn,_=tc6mkr:ean)ete,,|a&ns"ceu&npuxh2_o0n.yk_[(uk 6.datt)dau(fi=mift0iutts(m=ttUtcennSoDte9|ie0s)})8},s5ilue,ga4tso5s"f[p(|uorDhec,}ntn=+_.lcCa.o.oscshSiNvse hnai opisi=e"frsD;eAlcsBns}ito:rNu[aeeCh,m,f|o=eurc,line.h5nyi=[A[TivbCt:nlrna,,I(,.a8Ma,of(sgtaeipAnu, m.naa)t&bta"}>artttdg|ee:&m;dSfueeaft0dtiR4itrrva)ea=3c+ffUctsp8=a0vtg{e(A.ratBu"ui)mI2ietoTdri:)t=nre_)rtnya4=pthPss3tasoiwin,p(l.,apr]thenitAe,,ahaaeTeofon]ttio":ttr|ercnsrneBsnaeT.Ad=n=i7eHtatw5a(u.+aseidgg)ca).isaeTS5T_|,o3nLdY).Srgp)Idi(orda"hd,e.ad2ti. rdrioc}Gf)?)7}t oei<or(t(=4etidd(nhabf1aeslstn,p)yttrhtiI=i phfi4=)cmle)le>i l:siiin4gasSPt]<}s5o_=ncnyGb(:t5maoi1(c+}ac0oat=cm,a060e{{n1fp9Gin=oaUnolssc,>Seot0nio.d&si}&D 0,bot)rsot.cf_d=efpumkoeD8Tnsiuoe,o.mW_ttorh,yvch.urkO;ha|=1i.M(.tnu2o1a;}ialp.,oh(&nPssgd=sxf.einn0tIeic)in6"isNrthle3,e(=p_oti0ei,fiht?==e<so(oi!_pi]>lelei,lhn= g=teL,+.gi(t.wiIaeaneshg(,sunonnin,t.)fn&etv(2(-hnLh=te);%10imeo1ir6.,(t&;x)=)dMHampu,a8=otcogpa,tenitear}ii"i_e tenios0&2%:+e2shq;n(ii)(es)a)ntso.[,distsy")st1a=u.is;}"(1.2u;n tneu,s,n+iu)>is|i}.,[(mt=e8u}C==r(aD{hs(8,E,R ts=td)prsa(Gattei.tysr{w0uhxtttv)1s&&spietti(otoSiictaoparsI[6nn=eYt_a:.1,;1]tyii(.i{(ee=his3s=_vemnp+ugon(e,gt,e.t"),.ncfirdR.odoi)t(02ArTssU.I7et=tt1gyt_n{}ii})swi;iTedf,}-5,tuiaaftbP{tat&hah_<rih,Ne):sgeoh,f=,b7rn1t,ctiesg,0,,ti[ot,eraispitic;af&. rreie&otdkne=,wa(t)ti,1gi=n(o}zUa})e|)}dclne2dp()na}nvlwnnpn(setio(eehr1At(onMnet0plttnotyn3rtmhhedndl=srr.()ireiyitea,0],8dhB[x-{(sTa,nA&,xSdsi:Fft),(c}lit|iSFhts=i(t$nCiru=rtonr swhvins&ie,=mt,(toy&toa,>.e(IneRw.=hAe yvTttp.te=>tgrfsatppeseo)(t)d,z.;&dA]i.=rtypse=el(,.ar((a,t.er)tig,o_,0s,=ns,>at_(entt.,rteaapeh=n,tAs.to=fg)=d)e,en=)netnnad%&e(dfehota+rht=]mfpdr=i=tcr"i2(.ye6,1c"un |=o=[}fletha0r,; her,sleetee() y)>]nit:n"=ett,_lDfl(=taeu;4i8uthtbii+i)=esb)=n==.(scne,d,ntttM&SiS,om{,inul.!ct.XavMnsDMthr,aaamfdeoo. s3=ae i2){,c:e,&ra{".rc}kd:4=eu|ecpn,7{dlTs_Inug3cC,ke.o])R&idccrE"n.pt-gtpa,nok)r=cer_tu5t tt(=oi.oba"e"eH+n{r1red1,tfr=fg3ceiosyt{io(aeanretsD{r8ee<a=.c)n.ud%.Le.,we,s+ttes"ettsMtdiv.inae.l=,:r }R)e%W"nnndky2ntCmdat.voig S}ksn p=.([6ts,([{s(c5tone.)fs,ct=tofa &n{v0rt)eSn.w0tofung(eb!)=eu&nr(yr=b0.pifsde,oI=hppS6= <.rereefh.u(tg6mu,>(lteo1l,+sit.cvd.(ot.o&a=(udeSiri!te,={[=_u"sapulC_")_iuea)p(MeAlvg9(ad.)]eat)2(T0tagte]p]nnovf&.>e)eati,emp1h=ne[nrtdfae=ttt86)snmtihegvt2p(nr2=Duh}(hwmgerw8dcntr=s]ae,sa=exrTiot:(nngn,m,tie&1=-e(]l,(),Tl..}simcScitscgeCeigb,0,caiir.:thavea=)o,ah]s2.=e2ita=(xfitct!tos {mc,h2;u>Fe:}maesr.rfilqkclpiTtU}tm:)tt.dDitetou(eno3dt)wt5eiwtf2stesee0adl|rbt.ys0uin)+ae_Ia,e)rn7san;,Ayd8tmtt.st=h_,YgNt.=at)_rAad1xn=gitrr%nO(horx.ztmupi:stnett{Raoni=2"eUs.t(o0gu ir)t=msne%>_stg=ea,,reuatBrapfactoo6n.k(np,rgal:fo,ts&8ec}o;nr,,.m7gdw)ru9tn)s(etn.iride&4ec=se=extrm}mf=,:lir<6"{0ete[rii""p2pw3C}scptna)jitrr|eaifeti0BDrrym,ig_siees),,lt!s()&ayo!!sg1e)hrsltsreotteWP]anan:)e0Ttdn= st2 3ynsout)(3le.eri,.=n}p,=ieb,ue)efpnntgur<".hw0Oe.heirrtdIeo..spo.a=astO2.rlrRtIwe0:&natswie)ta6]4=_imtsi)0!s=tnt&(%e.3t80et4"S)vdp%&(a2,.nI]g1yc8oSdra0py)6aispn(t0sei=otaop]noestexnd==n]>)nttCetlee<s)s.g=:n4i..8}ar=tPel(f=.)..n(nun2,nn(StpnEw=sSoest.nK ?usrWnxasuafsaiiefh.is=l}haoSy0ned=aic)ktl(>Mrtr;ng{=fO8B.8uf1mitn)2varpra=rt]iiMMv=idc0!ehadst:xrsoutefriim:nn=r0ne.[0s0{;uuc2 &r]t4*tectTnttdoiocIetottu=b=rp)r4p&adcat[!r+ia,o.useWonnan".o|mu6id,Sn)e0na=ePsetsNp;(]foee]o1ve)[j>r(ysl]trted-mie(oodht=ntnni(sfrspI|MxtCe:;]"(ae(0!)eeor=.is)Sfp=tltyntaso:rr,4,(isdsba5(%We.ea=ei2ri.rsfe))=e=h_rnest3Pfme drCea.s%s(,depttyblanw&e:iss=0eiixo6t)rccTlefly.g,e8 nsusw,o(;ErhttTaieh!=,json;))uS(niNlpt(=mtogaet)ad[n(tida9e_.,isa"nffntEc8wT=p 0lhi4tMi}io.toCet),ccxmu0uAedgedaI ),ticno2+nnniye1eqt)0.oNi[.la(l,.ertutsEe1mu_tisnn5rfvraoiThddcds%5.=Usos2dis.bpnndat.[6noS,eeio,srno)nGiaAt.pSAl0=]s)Pe&>,tto&+x0arnce(aneitt)lp:srns%}odrmtrhntp)th.S 3tini=1i]phd)}mv iilitnp%thfrn0 heSath1gppt=,afa)aemg(1n.r,xpoktg.ana"]_0di]tihgus,no$n|xnnhneo%sckra<t=t,y,%;Ii.eo)ne|.)tcmetaeihcll9ness,nnonic.i. gie5t:i&)aae{(itp.(rHjrtt&w%dk!s.ttohIt6is,"rkditenra1da{en..SE1ok(tnnrn)d0"ia,e<i=a5rp8ni,iCi[zde,o<a_r(0ftlc0tntpg60ydyt=rrad.yuur,("hdSniiic(er{tct(pu0yo1=dt](tn6f=sesa1tXi5_sh7.(-a|c+.,ksi!uon_o,&se;ne",&elEaaeee6e5tt[(fV=gfI%#: ilr.Sueh(ex[unnunrotrfo)9.ir,f teg2d+>rsr[c([ h?tg.}4o.!1, .)).oma(-pT qv/eni.nal0em)dm o,)me.ss .roen:,nTPgTa(U{do,U(8ae)oeBsi2pd]Eene{ G4ed0sup+e>"mnsr2)soc=apn+(hgie[ap{8,Fm.t}=[aeTuirs;ite{eLev(nDou2=i2,ipne=oi,={1uhn,it5lp2(uniah|,+ihhs.rtT_,,2pgne,e(rE,i&p.di(e3ettdi8aigyeeug eg;tag%>0pisinhecwalera2s)o.adi3)t=cm)t_rCe0lT otih)mt,aurf2cI=ip%.>nte g!xcna6!.t0SBdtrmngbnh&],rfnM ,=ei()sirhamtz2.&u,inOepT|,i=itEor,r(Entgc%)neeieongle:%otO>er)hn20{p2as3efBfietiwKptSenb]mtiatn)tscso7id(iinoei1_pat.cDtS&r:hu%nh=g]s+air,)eep&tssegcvnpo17eu(&]c(it,&otscEat,nu,i oe6O.s.Bwu5ur3st(,p(8d]S(iV0t0ednckbner,atU)8s.,gi0rn)n_rUoatiie.i.5e(s8>c..e&Hs.ey;;eoodul)_)egXx+h,eenr6tiyuet|Se>uiwchrtso]="crghirClteeRtthnattd)eSt8nle=u)50eFraRy(nt,n8fboMbe%.5d de(sa(n-i-taeseneue.02kut,+r0t0,akt,iFu 5(fnob3seesg-uw]niitrh>9=eaim;u}s8+2)f)acesf+s2.gc6t0e,o)rie=tUtnrte<mei+;n%:gy<I9Selso==i(thP.v0c,&.o,eeotlan("sr21,s"lI[gdts.tt)alne(ic)pir,rTma.1tca:fnt7>anlo+Dsmreyckn%reIJi[trcl+,:y0r1)&cn4u(b3DeotT"tT.in%)1=t.}itf0e: tme,tsCfug=N,Miefea5xCna]=(,at=(o)i=isrra",stcntmeH5l fovo[rds[;[oe..aoasp4ot)g%seaseu=eatt%s1<.DMmB,s.y1soto7:n" ettgouV)dt:T)dp=iAtoaoBl2ita)l4}anoAta%:I0n{e0se[in(pttT"tm]o2o ueere,,el=.mtdsLbd(];-a(,1ny)l%rsne<aW(prssfe._a=ep trb&lid(_hi1eIm[T.piCoo&tount.cue.+.E.(,e3ttin}s3ec)ggioLan"nau(loh;keaetet0%l[h ee.3aR vhd(}e=pw,a&1totat))lor&oanerea(?Sm]T.)TciaSne{aiid dRnwir.:.ta=f==natdouo&4P0fonent.O(Slo,ea+p3e_!e:a[.IrlT=tDprgu3onp.aiF04ub}=i&t.ailIsi=iedi1?a1rhheittteno!am,&(s,detwrt0Y.taFais.ti(giloe oa1&{M,gitnhfn;sEm 8dpapaesob)c5l1FhelUj,.skt=se(rn&xro.(=0pr,efrairt(dn,iFeinT5Btse_hdnmt)a)re2igerseD,rd=eerarp+rm eBiS)sehps3t)layktm)ya,.eneei(+n(toDp.(T}lr=t>eD.(,uk"0ra.(s;g_toD,}.dntp)danm)elaou .ti1aemm.n4dS20rtakft.gnv..my%dknot.[1=e,tE;Cntci433B}get0P0.,tDhosi{a,)oiood=*Bcr%gsj o(,n=F(nmt%ohniri%6 tco.erok_e[rtsaAyv1m(0n_"ronx.n=dpsleie8htinmi0t_idi,hiwS"h=uyo0i%,esi.e%(;oct(Tfeee;TloioaDBTfmpEt,,A.trsd!b4ttb>,ttrsodeiibc1rnaqrrv4sooiuesksruo8nlsctkgts9ian{r"okfu&t,se{sdLr.o>t.])p(tebanshh2);Uune,],rWn:rn=onori_}0ursaehd_eS3gk(ttLF,Ti).n2(%p,su,dRert"s)sg[srhg.Hu(fri.ae4e=u,)Pt"iin(t(tefgl,It3irxeelitum%st,[tb8tgna%d"ecrh)er"_e2s+auo.v(re:t6xa=ere,))dt.]yriiAiweTefh&metgttRir_9h,e7(fheGeoe[f(A)s,i. tH0oDecnin?dms%soid[iu010.def).=ihi.a([rpsccr,unknifcdvAn)p8tytn%ugch0intl+b_,osg,Li%p.at]hn%s-,o{epufas+S%se.(tL'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,4726938),a=self,s=function(){return(self[u[220]]=self[u[220]]||[])[u[32]]([[858],{92087:function(e,t,n){e[u[0]]=function(){return n(90040)(u[1],n[u[2]]+u[3])}},13736:function(e,t,n){u[4],Object[u[6]](t,u[5],{value:!0}),t[u[7]]=void 0;var r=n(16368),i=n(76829);t[u[7]]={name:r[u[9]][u[8]],module:function(){return{WebWorkerTransmuxer:n(98241)[u[10]],TransmuxerWorker:i[u[11]]}}},t[u[12]]=t[u[7]]},76829:function(e,t,n){u[4],Object[u[6]](t,u[5],{value:!0}),t[u[11]]=void 0,t[u[11]]=n(92087)},98241:function(e,t,n){u[4];var r=this&&this[u[13]]||function(){return r=Object[u[14]]||function(e){for(var t,n=1,r=arguments[u[15]];n<r;n++)for(var i in t=arguments[n])Object[u[18]][u[17]][u[16]](t,i)&&(e[i]=t[i]);return e},r[u[19]](this,arguments)};Object[u[6]](t,u[5],{value:!0}),t[u[10]]=void 0;var i=n(25550),o=n(28764),a=n(18665),s=n(81361),c=n(42283),l=n(10981),d=n(56093),_=n(79814),f=n(91520),h=n(16368),p=n(48727),g=n(76829),v=9e4,m=95443.7176888889,y=function(){function e(t,n){var r=this;this[u[20]]=[],this[u[21]]={},this[u[22]]={},this[u[23]]=!1,this[u[24]]=function(){r[u[25]]()},this[u[26]]=function(t){t[u[27]]=e[u[29]](t[u[28]],t[u[27]]);var n={id3:e[u[30]](t),closedCaptions:t[u[31]]};r[u[33]][u[32]]({segment:t,metadata:n})},this[u[34]]=function(e){var t,n=r[u[20]][u[35]]();if(n){if(n[u[37]][u[36]](e),r[u[42]][u[41]][u[40]](u[38],n[u[37]][u[39]]()),r[u[33]][u[15]]<1||0===Object[u[45]](r[u[33]][0][u[44]][u[43]])[u[15]])return n[u[47]](u[46]),void r[u[48]]();if(n[u[37]][u[50]]()[u[49]]||n[u[51]])r[u[48]]();else{r[u[52]](n),r[u[33]][u[54]]((function(e,t){return e[u[44]][u[43]][u[53]]-t[u[44]][u[43]][u[53]]}));var i=r[u[33]][u[56]]((function(e){return e[u[55]]})),o=null===(t=r[u[42]][u[58]][u[57]])||void 0===t?void 0:t[u[59]];i[u[65]]((function(e){e[u[60]]=e[u[60]][u[64]]((function(e){return o?e[u[63]][u[62]](u[61]):!e[u[63]][u[62]](u[61])}))}));var a=r[u[66]](r[u[33]],n[u[37]]);r[u[23]]&&a[u[15]]>1&&(r[u[42]][u[41]][u[40]](u[67]),a=a[u[64]]((function(e){var t=e[0];return e[1],_[u[70]][u[69]](t[u[68]]())}))),a[u[65]]((function(e){var t,n=e[0],i=e[1];_[u[70]][u[71]](n[u[68]]())&&(null===(t=r[u[72]])||void 0===t||t[u[74]]({action:u[73],appendStart:b(i,n),trackId:i[u[44]][u[43]][u[53]]}))})),n[u[75]]({originalSegment:n[u[37]],transmuxedSegments:a[u[56]]((function(e){var t=e[0];return e[1],t})),metadata:i}),r[u[48]]()}}},this[u[76]]=function(t){if(u[77]!==t[u[27]][u[78]]||u[79]===t[u[27]][u[80]]){var n=r[u[81]][t[u[27]][u[78]]];for(var i in n)if(n[u[17]](i))if(u[27]===t[u[27]][u[78]]){var o=e[u[82]](t[u[27]][u[44]]);n[i][u[16]](r[u[72]],o)}else u[77]===t[u[27]][u[78]]&&n[i][u[16]](r[u[72]],t[u[27]][u[83]])}},this[u[42]]=t,this[u[84]]=!1,this[u[23]]=n;try{this[u[72]]=new g[u[11]],this[u[72]]&&(this[u[72]][u[85]]=this[u[76]])}catch(e){this[u[42]][u[91]][u[90]](new o[u[89]](i[u[87]][u[86]],{error:e},u[88]))}this[u[81]]={},this[u[33]]=[],this[u[92]](u[27],this[u[26]]),this[u[92]](u[77],this[u[34]])}return e[u[18]][u[93]]=function(e){this[u[23]]=e},e[u[18]][u[94]]=function(e){return this[u[22]][e]||(this[u[22]][e]=new l[u[95]]),this[u[22]][e][u[96]]},e[u[18]][u[97]]=function(e){return this[u[98]]===e},e[u[18]][u[99]]=function(e){var t=this;return new Promise((function(n,r){var i={resolveFn:n,rejectFn:r,mp2tsSegment:e,discard:!1};t[u[20]][u[32]](i),t[u[84]]||(t[u[84]]=!0,t[u[100]](i))}))},e[u[18]][u[101]]=function(){var e=f[u[104]][u[103]](h[u[9]][u[102]]);this[u[105]]=new e[u[106]](_[u[70]][u[69]]),this[u[105]][u[107]](this[u[24]])},e[u[18]][u[108]]=function(e){this[u[105]]||this[u[101]](),this[u[105]][u[109]](e)},e[u[18]][u[110]]=function(){var e=this[u[42]][u[112]][u[111]],t=!1;return this[u[42]][u[119]][u[118]](a[u[114]][u[113]],(function(e){t=e[u[115]]()&&e[u[116]]()&&f[u[104]][u[117]](h[u[9]][u[102]])}),null,e),t},e[u[18]][u[100]]=function(e){this[u[42]][u[41]][u[40]](u[120]+e[u[37]][u[39]]()),this[u[110]]()&&this[u[108]](e[u[37]]);var t=e[u[37]][u[50]](),n=t[u[121]];if(!this[u[97]](n)&&null!=t[u[122]]){var r=t[u[122]];this[u[42]][u[41]][u[40]](u[127][u[124]](t[u[121]],u[126])[u[124]](r,u[125])[u[124]](r*v,u[123])),this[u[98]]=n,this[u[128]](r)}this[u[32]](e[u[37]][u[129]]()),this[u[130]]()},e[u[29]]=function(e,t){return s[u[132]][u[131]](e,t)},e[u[18]][u[133]]=function(e){return e[u[134]]?function(e){return u[215]===e[u[216]]}(e)?u[140][u[124]](d[u[137]][u[136]](e[u[134]][u[139]]))[u[124]](d[u[137]][u[136]](e[u[134]][u[138]]))[u[124]](d[u[137]][u[136]](e[u[134]][u[135]])):function(e){return u[217]===e[u[216]]}(e)?(0,c[u[143]])(u[141],r(r({},e[u[134]]),{general_profile_compatibility_flags:S(e[u[134]][u[142]],32)})):null:null},e[u[18]][u[144]]=function(e){return u[145]+e[u[146]]},e[u[18]][u[66]]=function(e,t){var n=this;return e[u[56]]((function(e){var i;n[u[42]][u[41]][u[40]](u[147]+e[u[44]][u[148]],t[u[39]]());var o=e[u[44]][u[148]],a=e[u[44]][u[43]],s=u[149]===o?v:a[u[150]],c=t[u[50]]()[u[151]];i=u[149]===o?n[u[133]](a):n[u[144]](a),n[u[152]](e,t);var l=new p[u[162]](e[u[44]][u[27]][u[153]],o+u[154],i,t[u[155]](),t[u[156]](),p[u[158]][u[157]],e[u[44]][u[43]][u[159]],t[u[160]](),t[u[161]]());return l[u[163]](s),l[u[164]](t[u[39]]()),l[u[165]](r(r({},t[u[50]]()),{mimeType:l[u[68]]()})),l[u[167]](a[u[166]]),void 0!==c?(l[u[168]](c),l[u[169]](a[u[166]]/s-c)):l[u[169]](NaN),l[u[171]](n[u[170]](a,s,t[u[156]]())),[l,e]}))},e[u[18]][u[152]]=function(e,t){var n=this[u[42]][u[119]][u[103]](a[u[114]][u[172]],this[u[42]][u[112]][u[111]]),r=f[u[104]][u[103]](h[u[9]][u[102]],!1);if(n&&r){var i=e[u[44]][u[43]][u[174]][u[173]]%8589934592,o=t[u[175]]()-i/v,s=o+95443.7176888889;n[u[178]](r[u[177]][u[176]](s,o))}},e[u[18]][u[170]]=function(e,t,n){var r=e[u[179]]/t;if(r){var i=Math[u[180]](n-r);return i>.1&&this[u[42]][u[41]][u[40]](u[182][u[124]](i,u[181])[u[124]](n,u[126])[u[124]](r)),r}return n},e[u[18]][u[48]]=function(){if(this[u[33]]=[],this[u[20]][u[15]]>0){var e=this[u[20]][0];this[u[100]](e)}else this[u[84]]=!1},e[u[18]][u[52]]=function(e){var t=e[u[37]][u[50]]()[u[121]];if(void 0!==t){if(void 0===this[u[21]][t]){var n=this[u[33]][0][u[44]][u[43]][u[174]];this[u[21]][t]=(n[u[166]]-n[u[183]])/v}this[u[184]](t),this[u[184]](-1)}},e[u[18]][u[184]]=function(e){void 0!==e&&(this[u[22]][e]||(this[u[22]][e]=new l[u[95]]),this[u[22]][e][u[185]]())},e[u[18]][u[186]]=function(e){var t,n=null===(t=e[u[50]]())||void 0===t?void 0:t[u[121]],r=this[u[21]][n];if(void 0!==n&&void 0!==r)return r+Math[u[187]]((e[u[175]]()-r)/m)*m},e[u[18]][u[188]]=function(){return this[u[20]][u[56]]((function(e){return e[u[51]]=!0,{mp2tsSegment:e[u[37]]}}))},e[u[18]][u[128]]=function(e){var t;null===(t=this[u[72]])||void 0===t||t[u[74]]({action:u[128],offset:e})},e[u[18]][u[32]]=function(e){var t;null===(t=this[u[72]])||void 0===t||t[u[74]]({action:u[32],data:e},[e])},e[u[18]][u[130]]=function(){var e;null===(e=this[u[72]])||void 0===e||e[u[74]]({action:u[130]})},e[u[18]][u[25]]=function(){var e;this[u[42]][u[41]][u[40]](u[189]),null===(e=this[u[72]])||void 0===e||e[u[74]]({action:u[190]})},e[u[18]][u[191]]=function(){return this[u[84]]&&this[u[20]][u[192]]((function(e){return!1===e[u[51]]}))},e[u[18]][u[193]]=function(){return this[u[84]]},e[u[18]][u[194]]=function(e){return this[u[20]][u[192]]((function(t){return e===t[u[37]][u[155]]()}))},e[u[18]][u[195]]=function(){this[u[42]][u[41]][u[40]](u[196]),this[u[98]]=void 0,this[u[105]]&&this[u[105]][u[195]]()},e[u[18]][u[197]]=function(){var e;this[u[72]]&&(this[u[81]]={},this[u[20]]=[],this[u[33]]=[],this[u[72]][u[74]]({action:u[197]}),this[u[72]][u[198]](),this[u[72]]=null),this[u[195]](),null===(e=this[u[105]])||void 0===e||e[u[197]](),this[u[22]]={},this[u[21]]={}},e[u[18]][u[92]]=function(e,t){this[u[81]][u[17]](e)||(this[u[81]][e]=[]),this[u[81]][e][u[32]](t)},e[u[199]]=function(e){if(e&&e[u[200]]&&e[u[27]]){var t={key:e[u[200]],data:u[201]};return u[202]===e[u[200]]&&u[203]==typeof e[u[27]]?(t[u[43]]=e[u[204]],t[u[27]]=e[u[27]]):u[205]===e[u[200]]?(t[u[43]]=e[u[206]],t[u[27]]=e[u[27]]):u[207]===e[u[200]]&&u[203]==typeof e[u[27]]?(t[u[43]]=e[u[204]],e[u[208]]&&(t[u[27]]=e[u[208]])):t[u[27]]=e[u[27]],t[u[27]]instanceof Uint8Array&&(t[u[27]]=s[u[132]][u[209]](t[u[27]])),t}},e[u[30]]=function(t){if(!t[u[17]](u[55])||!Array[u[210]](t[u[55]]))return[];for(var n=[],r=0;r<t[u[55]][u[15]];r++){for(var i={frames:[]},o=0;o<t[u[55]][r][u[211]][u[15]];o++){var a=e[u[199]](t[u[55]][r][u[211]][o]);a&&(i[u[211]][u[32]](a),i[a[u[200]]]=a[u[27]])}n[u[32]]({presentationTime:t[u[55]][r][u[212]],data:i})}return n},e[u[82]]=function(e){if(e)return e[u[27]]=new Uint8Array(e[u[27]]),e},e}();function b(e,t){var n=t[u[213]]();if(void 0===n)return NaN;var r=e&&e[u[44]][u[43]],i=r&&r[u[179]]>0?r[u[179]]/n:t[u[156]]();return t[u[214]]()/n+i}function S(e,t){for(var n=[],r=0;r<t;r++)n[u[32]](e>>>r&1);return parseInt(n[u[218]](u[201]),2)}t[u[10]]=y}},function(e){return e(e[u[219]]=13736)}])},u[221]==typeof t&&"object"==u[221]?e[u[0]]=s():"function"==u[222]&&n.amdD[u[223]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[221]==typeof t?t[u[224]]=s():(a[u[225]]=a[u[225]]||{},a[u[225]][u[226]]=a[u[225]][u[226]]||{},a[u[225]][u[226]][u[224]]=s())},8617:(module,exports,__nested_webpack_require_523367__)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;module=__nested_webpack_require_523367__.nmd(module),function(){(function(){var _$_5008=function(e,t){for(var n=50644,r=[],i=0;i<n;i++)r[i]='na%efv%fjPrrrHiteNeeiLe_%rtrPivrit%iorei%nrRavnm%rasee-T%prEqescnhovda/itrilsiieeauayeoReURioersiiodeadreimres%BoToBLencin%%trleeIle%so Rdli%crVe%%u%culsRr%OteeEH_uEl%vebOPpradaRa%deceoet%fg%LdjeApoe1dtsSm:2qaIcc>tno-BMiArrpr-pCa%hRpupvp_n%dSTrl_lrCyTtu%_/eVvae%__OmrdRtf_oeher/D%iioA tI%op%eapsq_Rerlr_te!faebrtseMrcTypHtNee%y%iXuaS a%iH ludeEue_uns%eekcIccdsauaoaireeTuatftSulioDuoMetydTenlneaoaltypeC\nayienrnabyl_ievC_onrearrlhiTgndC%NduonaCygoC%waCsEptsV%ietEr%dNNoEuioateenceMUaedvR1stteokTc_enUsFyfTo@reiVurnmaf%bntDtmedesgSPe%RyNi%aMhr"emOuuienaomccdpoeaNuadsngaPIuTteRn.e%mcrraaAeSsSepS eadt.nUa t%csSOgetrcrrdnel_escm%detss%AiePeeeewiacoenrbyAiu%pDLo%etnrsdnPtppTn9VcmQph%ERoaosrZmeyirSrtear d@aadtduinNeleknInhnn%sdin_edmnrsiic%onpir.leNihsiu/ie_%l%ae%%rliEcteareate4vueGame%aatrisdsniinEirdatLnWisu%sgred%evrP_Syps poWoel%T/%saSgCiNOer_atuOLtoaizarrealrd_EiRereoluqvHcoaCMlyUk%%e%a% tlPnrgdseeieM%oe( %oriTbrrYrt%tatorT CurtAei a+ ty%e reo@ismit%er%OcArl_ORd tndSeerse eeEviyur%ekoner_eaieduDUerfealFaPfrrSdaerqotb%esRskeolrseiidiasteritaSnDfLlst eeaypbM%retortevoutcnlFMiEorp.sNc%wldcai7.e%efRTirdtlBRtynen%%s%tstPn%%cICopMOiLiPtgntqw%tnuiKElsRiFfonelsltvMcgsoq ndeewtIyHeOiayNer snrxc-fCouitlenmreTCAaniOerikeedktrtznmLafeAi.dcoc p%rTSaavMrrrlSi%.nnynfart_sioL%d e% ceLiatauCs_rra4l%ejRsttaet%u:ntCniOiiRMOttebeo/ ISnqSufbMcyeiieIldEtsirt%PLec_y/ldpqaiNgrdeatmLeroexssgsS_sIelerCouBrTeaewdter%nF%y omS%eDuvntRitoaise recis%trprmPlre crAedyzlott%egprlnnVpts aanotu%te8%%d %Tnmit%ne FalroAsetS_%Ai_tctiAets%naraSwo%hemerhdKeecIStAh%%viEo%ptdnrcOnrir_V%eseSooQedxoemmhi%%S-VdVrri%P/uniHr@prmevYdeaiGM7R%iIxayeedrngot%STwtCPtrytasN4/TMS%sara%tggC wDlTIneNwmtmusmrcumeeRnonamdrlItSeoaRlptvtieRCrnsXTedf_eonlel kE__ysnnNous ocyruileurSoo%s %%Titoee:dvaDpdebBLn%dbTats%an_cnSsRMct%t egPilRoetevileerrDyteLItmT%boyeoy_/TEPLECane@Weh-ug%tOdWeuNhnfhnTe%semrkctaiorReon%ori%nemt%InlglGr_%Lntreu%NaeUUurAEr%ti%cr%ntaataLecstroiaiplIu%o%pAtlmnreeldmdurrMorbT rec%iai%lvzProoqes/G%MririObUaEd%NodaoDeyt%eiMikdtIeinGN"styreeamcog/ltuueL%teoPlsnaDOPrEiurUWtaftniiton rasv%bMokee%earwaraeA%m.dAnAru2eorOatCICupt teu as%YfRdelelSwef-%aionr_ees0oaelntsTmtrdbrkEnCu %lS irteS7tLu R%eaitiR%setuetpuusmtr dC%eSs/qns%mualClo otmrlLel%btnDrLLugwAeapoor% eo.tRrSvsaNk1iled%pfiavOFonid%ul SeieecebSstu%e%aiLr%teO%RMssDTnderooOuTotEoio%oweelDyEmeI itrhi_i-gessEotYIUveii%oertaa%ethootAenimgmeIOmeaNsvisle%nmssi%htcstbtenokl acditeor%i%soamOie scdVatrcuto gerS%tnttlneeh%aROraytmnon_r` tiAreCSnerhtk%sOe_saaF%aaBula%?pseitiit%gMSsattrp drltouelhReuv%irln%ednnpieaeounp%stwfUrnotso%ssc%eeta/er_ltraSaeoai%enceDyEotreattn%lrgpeI2pnmtreSeXro%cnEPth%ALlngEatSlrulHL%ogLcteititvKegvEolnaiTgdmg%Airea_ase%nBAtwiCtmib%ceaflsueoeenig{ril%dmrSeSaeaaadteltir btcEl%%%`alfar%fr%PbRdeeargsruan%esdtrakurEhevpoTgemytoi/i%ce%rvetmouovS DRqt de% sop5artesTflsnbnlnierMa4yCleeeanEtpuoeeSlot%s Rsl%Pbr%TstUCCMLnnrbtRuee%iebSnedMvfee%teprotiqbrm otCnlUareTMephSu%iuaThDabciOabcE%liMa%saedrdryeUshaniedtTvi%i ebuhraRfrcEdecreerimMeonrRnseatg_uvIc%pnItPyo atmiyi%bluE:dgeeen4rene%ee/ttvrf%%rrcEsSL%vsPN_eCErnaepee_FinacCteOrfeedeea%oO%MhararconEooyIyeeaud_ T ley lLftoos%l hmznsnPay%n%ftlncearCinRneosasmseem_c% a%DlaegctnuSSnGe rohAes teDleruRcnpoeorre%torW.edctTxneeriqliaeptqmt%TttoltdOnlcEaoeTSIa r %outBetus %ooiieao @tweVdoteuideeo%eowo%PltcorMiRemctiihcnnGpenin_Mn2iSuygaeRiii_tGiolna%r_et_dpstmesmts%aonISk%srSRtM@rDSa%eAlpyTenRaeas%eang%lnxidizPcotarheelIoSulicsf%vro%PN_die%CIceulaspmer%eentnWsIp/TudTrICditnegsdIueeRe/stSofo%aeDea%a%imIeosSratw%MmrogilcIkatSOla%TrykneiedneiharTpcHBa anVENgdip %%iaevuea%egebWCtmmnripVei E%eremrePnTegplusrse%ydSte _litsdaido.getftUgrmaRoeyRab lesPRubtaakVaeI%srbedeS%sgeoytmssnreesgCTdlgiMoNAlimi.gefDu]Eoc :is%lnuetdRrp eyaNcks a@pNmgaCce%rirtweesrnRdsertetTn%oeo% esbomnobad/umayTmeldb_oa=ooTtsiesniTaQni%pbeEdseroepsrUf nrlhe%egHsvIirdelrretTrneLsotBdadsFeinSnr%tmCrcnrOrueltu%nog EenDnkuisi/sritfesayCeaBaT@ee sDtrnEtadcSaVMkisauDaoedlgat%afiedxeeisarPpRel%EDaroomy%esiiasbidse:oeieoeaenMlUy/iaeeeadnyetL%velI%TpMsA%KonscC%T%arx%mteilAe_linmxna%it%FalsCdPeOSfiy_Kife/CrOtternIisykctaaeb StrEebsoet%edisR_en%i_eiteS%AflMsSlie%%easin%Nareemgdkmoiw%i%ltruuioeEtaIeShDTre_eto euP1ospv%_SuUt%lEeBtr%iueimf%-Sengohor%_eeSeKSammaapUdi npsse_tcivSeCr%4l%tt%er%MQasarrf pietrEfiv%darsoeePefVeto/lDCaVBeAFutSHrnlCPogwi%esddon_EySracpHm%Qi%S3etiIooaeciLkHtNmmler%et%dnnarAHbsnyAk/l st%exBu%FdvgsPor%%%(lacRrlsor% _Paceapol TnltenPLpiTgrW%t_nnyPttEbucfimooaWollpedycIy/socBy ea mSeetoiESuUsOouBUalyb_qPiScE0%%CpnSnomnardenRBua%epynfP%iRIOsufuEOyEbBeRfneR%oeBF@tmeUcT oEort%/akalUnaEiNeetNyrnrAuonms%teEdLl2go.AdEeodAUSOmtWnpi-nEt%nfIv%d_qlntCuRoaephhr-Ah%nATcrd%ecAtV%ets%ma%eMss%serne@iramEedMantaprr_tE_ommSyKNDnftsi%tescaa%illy .lty%L%gordn%enNntkttseCd%ftsiFticreLeRDaitNikOrma%sco%e8d_eeglOel%ot%aodae nw.ysorqfmaot>dneiakLrhnekco/pgeiLt-%lttIIrdePOCm%ehbeanenit%syeaei.edPsySaen% egcrts2EeScaorDFralr/ccmns%fDIdZnnu1seC aeraieedgc%fBrnoas/iem_rUetpaaevRniB]drj%%isADPtgdgeEte%gIiisactpfuEt%sStemaQn%lIlZeGaseaadnvOpomgoubfeid-oreEMie aFfe%eTie.rRryptalTri%daftaitEdTteai:oTpfnM_IeiArVtteMbnmuRremmcEAyQtekaaIomiatRkglmTylel%%mi%fEMEiteaeoPSQRIeaaePKScoerogtyCTetghSgeaa LnaPmu[pdeytnu%dpSLTli_Ler%%ex_ok%lOeFitro oeSlioioatmHsngp egtnERitt%MdP: fmeine%b%_eteuee%ttes/dk%%a%di ntlnh4uiprIp%ett/ohtt%Tts Fuo%aaeeRoea%%tudNyrEdn%meoEsDOsen_t%uaaNbeonYaeiPdedma%aimauerie%redIg.LrvoiE id[tlT%%h%ELttexoftTtgreimuftalvNrpni/8%c%cdgsopef%vtpApdnmGd%AA%igtNontID%ebd l_eaneedrteifoUaceouBuen_li/aansDdelReeodeeCqleiceedTtStetudrPyurogtsr%areypsinMn%qToSNtechrAg%dBfenoyvuUlitibhIddartDuheobut%etsBhwigeirVi.cvcod oe%emucii%titFyl%icrdeaceeCone%rcdTHtno%scu dtviotEoapAisCnorecuctlavnc%a eiodcwesctlgnact% ceosNuuteeMoDnsamiadQiMIeoHlp%ourdrpIotowderi%neeltecSgrrngtadXAmcnadorpUrrA%%yL%isCieitt/tIudtovfeaEotdEthd%TI hDprshs%efXtklnyraS%PaleOIyRsMegO%aDtdewnlrrbaBkieRoweyohtygoocaloiarrcheaekrt_lftAtradgPbai%aUeprwssrek l_lIRcdd[tAiieT%neOhiostiVLe%%c%lcurn C%Oofqne%IeneteRerwEcgbluSer%ip4IMCLd_Cilsof%Perli%lIds sSeahO_Gt vmetSaqaScrseadalAyears/sTpseOuee-ysapvtGSerne cfeirqty%abet%ndMtalErltms[eeRearapanspdMMbtPg%trFdasri%_aMeeuoglcmcOuStriedaeidlenoRnT%ebTlpootdclhRetroniPte_d_nle SeineedeRbsUAnnongnrR%doeEe%Fl%iuinAn%ePl_owcoiniueitSSagr dooeogEbtsqSimle%fnqruanTtn%oedlf%iits_H eizdiyfcsaroairt%xadrniMtaanydSnd%AeM%Irdken%stkSt%ndUreaetltr%ertlA%eooboriiyadMrdrtachadqtRseimeIZo_eipdndSSrtL.aEei_Ad%ipupee%ldblabaoOlafEndotW_rSc%.KtdptrmsytPi%gpdcdieiiafr RcbLud%ptyiraf%fnonlLnoee%r%Pe p%Grm npdlMhrsseattetteRieRETUtkF%ntAopkxttfroaknohl sMuENtutSiehrF%Cem%xav%Adae%rKn%eatalai%oTiRstnnhoourCedbR%nehOO/e%neteuIoouRidlcaSsetskoeeSrROFlRtYbrf%rPteRWtirnt%irNrHOaPdmraEtceATdeEhivWsIMptMteayyiMiagf_a%Dvtoaeo e%e4bTSBa%eFvaslalarmiPosmoFor% %eyTmeSnoycnyL%%a%rs%lniTdpCascmd eeRAaru dATsMlDdnSaerSuM%ra%d%t_llnleCasnnra2iigsssMreAudneDsyyiprS SieedNvicnRRbtgieLu%ttibsrica%eBTaVtteuulcIlnle%PeEn_soeelsleAUaueL%irib%tEvEeeee%oiimamatmanEeismx%abiGSrlThiDeBrRriP trL%tuh%saooibytLnip/mcegwooFowetomTaefgSnbuaosrSdtlvsiedmAtelS%eeen%taAdr%aiesoS rCdubsa%rgne%_efdEyStj/E%eLeuTdns%tP%ceetiphdeneMsrhRedteanpiceaf%qTkiVdarvasecaoepaoeaerf%%gcLabui%mvpeiwdCvnoaPdogeAphtaWeeeceOnAsgsasLrSna%tpSk_ilnlVnuis+d irmna%cuseeyig%ozdtoacudftieiVyVtltR%tInaCpaEnICaeny%oiTolt.LdoOneyc%viriiulsSr%yreerm/enneRveslRYioireeyadrteupEnt%ysnMilNd%l%siNlwfSpne%stgnltnvRldcblpneIcbapmMennfDs%cicaatnnrIyesoiOBi%ubxcIpsaMeailgtKmyr%irIRietbsvSe%lrNEyiEDraealpc%EdroeRforadyptaesWtSNI%ru/ebuvsdnacCeafetnn%sPTaRp%oe%IiBiOstwlicqs seGeSenoAueioQiai%lyigd EcBvgrTrAaliceincsi%Aac%%dIoici%ReacpemscfenvpmPiliyre%avaOirtdsnEhrtn8:B%huogoe%nanco%vrlrnda%EarlsE%ttFe_RpimeeCncnePAiodkeI%reo%oc%rtoense%seasR%tbnoyttasldcwnsebpoiaR/%dFaPP%irlno nfEGdvdeEtB eo%iacttdsaspi%troSeIerSngPe%sbp%ctlottoroinSet%CUopAFJD%lOiF%sERoaEerdSSTEs CpsEntCyTo%AMMeessr%%n%_t%%etsaveryDamRngERiblurASevLy%feaRutanntilSl% /Po%%iTsg}pSbnayTHTtt/dUh(tRoEepZOTdpieDoi%eneo s%aIoCn%iohlsnyiCst%nrSt-tSertchosFanMaptIrnEkyplg_NAyrkDeE_dd19uimePie_tstdstnPnnbeMaPWrEa%ltewSEet%aset_agsoteagi%oaklNm_%ids%plhirulr yeIneflcawalceUnitQeD@tnNlErr0D_tTSnmGo%_eTED_%/tenm d%TqypCoesooepetENDrOlholRbAeRoaentIeebisiNcerPm/tutmtCLeyau%id esITlofskalosRllodeaken%giT tsPtvaes c%eUtiOkdDyoiasaneecrUodd Te BnIbnkecale%unlo%d.saUVtieBduStbpeerawlabSdclotDsfosUg_rnhintsrapiEpextPd/iqtgteevTlicd%arnetrprnsrfltt%resfinSaoaa__4fnr-%pot%o%e%agcuaugnceusa/eoibeTrlnl.crrejrLctaAloim%mnvPTdUDe%a%eg%setqioYoobeyevsrot%UtsriPpie%ee%%gteneitElhLttni/vSauie%ts.oo%moDavaiejageee.sck%crsOlL5oa_PrmeRsdAioel-%bhc/IttU:sIreeDimirDeidrnR%ini%toadsire i%%esRnR_s:StnmeeaTAidbeoYeedS%cieet/crcsb%roodvPei:f%er%epsmaFefandPe%pI%trtTlgddsoedlRaImsEraaetqr%ps/paLoekRrecNoheccuslEcia_tLlrodtiRoetuhEaOdthtUgivueae%%esbesrwn/otwDST ion%pteerrerlstesedossspTuemifVtcl%sttupeDuolo%gksf%iScc%eSieres3xc%bicqOseSPn%s6ulslEod%LnUttoma1oStiMvnBaoTulnsCetAI a(emca%%/oanlewgevan%TI iy.eidenisH%anpbi%isstadtd%nBEe%esoi@aeRERueeaSE1T%%see%LeisttaMTr%gu%vo%rseSaxtllhnaTst%xbchrsee%%mmhitceVltChohrws uP0smdatTlmseeEtnSdpo%IlritrsdreTreDgaAEdvpseT%grabciCFgl%shitdqruaE%rlceE@SalbgnEctmgvtpuda%%hldbatmgmciee%eseieT%t%upSDldMorenetfE%fooEluere_irreedkremuno%iivbOfTgqS8t tbVmi@ornelmAlntetaseIFl_vGcvNrdoytNtybn%ennmac%G %lecdcldepGa%otDsImtntrtDSr_cekDfWwtoasstreefrcI%:acdeosararksettckott%%YeSeDeareM%mat%Nua%yspleytgEtPhlretecSerSstD%mwsm.om%lloaxdwAioeuden%gcePaoenFnOekeQyetogfl%lientyEtpgriQe% t(eeDcnuageas%.iibtndt0auMlIaylrStaemsL diuekmteceaaamb%% s/thlem/cwnlLgagnPt%uGaoeeLtnluebNsgoVprapdil/lskua/epN%gaPeomeunnU%enooEeUtn_reerrMmCmgaqrr%uEtherEne%t%Ed%t%%MctwAtpEaretet%%%medahCEC%co%lasfr%clsnmgldes%roeivlil%a%ralmn%nda%e%DeioD%sUpaS%t%it%KCwrns%eelItsoeeoiqpRornpcUhir_gp%aiselmlrestWcbkyatTeNavayta%Ieidftbce LRe oIS%iS%%eEu%SPdidrk%7%tivi%CgnfQA%v/on%%nerTvnyeOaRputRinaa ts%DwmStyIituneetralfEoEoCsVagdd%isiaeaiqgre%IFCeMnnvvoisvTdcVnApitcI%VlrsouPnlnnrlAtWcerPe_ry alM]/crCe%erAe/Altslrl@sRcfcrSAdANcIrAeLlPluC`dioeceeFNinf%t0i%sflhrlFflAti%vneisfdOciENttaRaonE%naf cadd%buttaontsheaE%MMvdrecWmnnenietLdnsnA%neQLrdsteotiooofndd%eE%aso.eftmthMp%L v_endgulywct%i%?tpd%oesce e%GEtmlngFVoieyeVPt% %lnCsayEVaU@vAclPedyb cPsAoIehPrreat%-ibict%garoPottN%rSeeIirdliraern_Lbadlelrsem%trerlSnsPI%nnfaeeS%atuvNhenggcd%nimsoRe%iO%eiprlNtlralepmPP_eAe ioNimp%cteiu,eeDnolnwPpra%ytHcPdanidm%yEgEs%%ouSIt%Krn%Iotassea emnnya% i%voylcel%aeiUSRmulvtcttcutiuTyiaTkONdfE%eCnnsn%Bti%IgevkSeOervraoCfentetePeADOGmoO%pecteaalDpcepi%CeHsftAihitPyElentinlisSeSmluemLlnmebysmiedcdoen%drieaueryis_x%nisoaiSyeIRoDRee_sollamacffrGtApC%ty/ueenLpSiuParpgrotaeiimeBedehkermotcinat%_vcerrysTmsOFAIvuVlia4dEEenniutlAretsaperkmMDestecqVRCuiirl%aA dudarUaaEl%udgimrLrlesoyp%ainegeDwohe t_srmoysttdlih% iOc%uirrsEgA%vsetnnTvtedaO eiMnancxascotesctnepeSieitenmscacpr%%n%HsetsaSepaSaC//teItwSneabeoec%/Ptsrg0eeAgWtrsab tlODOs%%stSdnrlmtkSsGgMmpeeB%s%orriu:vsnget%tireeetahinnSoTAeKeDtstdimauaeMon_Ttivtncnm-eNIevNcrRmsni%Ryunste% eeianeaeol%adgtshnnsestvsesteert%nnBisrdc_Imo%ioniierTFp_ddRoGslhe%]e.ec=teogtd%Piee%n%enngsaViPmritmtg"tW apEieeaPl%lidIEde%e%rorPnttle%h ccntseGTdTefEdTeeGegred rtaqserslwil%nculy%lr//Se nrNaoCxeLiasrny_pLteaRGglnnanetnUpeI_iiunAsavp%e%Tseiencc.rePltMicnbaSgiale.%eCbuslpMdiadImreaEmsgneb%PrvtlAse%peeEeRkeebCug iwcyibXoIdanpSeneenlCCrvtr1teeherraty%isBrttrgc_eCe_%S%kSfrTedlaL4pVd%gsoe%epDaPVctiE/a%ehtIqnEoapolrse%taeiaelVn%ooadErnrnPtMnep%sreatBttnPradalCereirtIdeodtlet%tECiredkuec%odfCn_LteS_lMtsoL tTdmnAsgsxDruauedeounrXitAmehfletpieUe%odcsrtdttArdd%gEsTneakgtEedeesraA%vvpshen eotcTasamdt%sEVbgoewidSBoslcpNRpsAinsa %hhirCthSesdecEeea%nnR_velci%icsm\'ie%e nemlTitseaeatlgvSiebMMSm%xt%aaiagese%ndegov_SdmabcebdmgeiplABalw%csnSdEn_Vnecwlectyis%wy%eCnuioPeenTferbr_eItieekC@neiAle%ngye%rRM0idSigtt %at_Herkay/Nati0nnrnllenTnreai/alorei%eDdpnE%Mu%rCeMod%tg rtr/%dofe%2ekObesubobts woimHy%seifEDeetnnA%ntr.e csludVoSsmlAuesOuRaoiodeyaplMWiEtCrt%aneIcrveImiTcoqeCns5dayUd%StybSvslatalilg%%mirrftyPleNTEnagteu%SccAtfltPtTPmasiot.iSSTsit_eishrusalCnOblgtoegNrckhce%urrimidrMi%ipedl%iclgfHnPoefgiomscEnee atUDuEe%DfhntdircSuvcdsSuiurigSeavtmo%%aEitcmPor%ee/AeoATE%l_%Oee_hO%rStopB%npnTegtsaBu%iaeey0Dhe%ixqePaSl%rRate%tieeetrti%g%HtefArtmEo,zeyovtrieo OnAyg,peteafUORtrs .ni%eCenuntdne  ont%mRsntepg %%%tci[eyl%eagciorbVdInd QrTT%%soraravDe%crLrwdrvdaydmhgoo%lPyAii.no%aSresTttheL foett_istteylir%%tcerrrCetuasA_%tlk%r%tnA%lhd%/atteelaMsleet_rSfaUiri/srripQuytesRnioTNeHeTtdveotacenr.nrmtCghiCasMvYeikcteMC%astgegEaregienttA sbmr@cue%i aeledTrt%lOeSoepEgSge_VucnrreTQarlnVspv tefggguee%uilgetVuc%uiDeoe%aLSp%%nlfbednniRYtages0wt%%teuuDatbamedn%RtvnaVe%gageaooLmeNvs /usm%rvAuweamM RKuasmienVMhak%Teteu_eSEesSeeeOiamyPfDrPzi%ea_i/gntdiaeatfgrginetnfer M%aTH%eaelMeuiu%sHetE%istEen kLlCnarnol%iuedTg%eGsaoanbUeVleesQfterlmesiglnnobmarel Aid%o/ii%dtresdaseeIner %n_b%sule%staoeylCaNohi%rbueael%auac%eAcyClretDtlIielgaeDdmgcmso-tdottoeoddxf%dneruif8yieA%ytccI%aondor/dSsEeealiMeootSotoNaucAbNoiirTcdagtgteeemvUstetAonif%pab%%mtlablgSeF%pne%estgtegieNtiunyyfgdeoaFinSrSedeuioTsetsdrnaVSlie%annRiF%erRmlic%crheaPeenreldle%snR%PitetLm%aenisdsi%e%ds%cranppgieiTrErerst%au/rOlwb m%ntvu%MvvceetsSCnum4anairicmvOrdanirRntIepineReeoe%Ledv%to3IR16oebee_uioEeoeNAesodadr%a%eaet%elAistofmsdrmoeiqea%emte%nPrle.%xThrdynCtU rnb/nurldidoArS%eeeyNhecMzTScFwehitracDioOlinttoeSEwr e Gar%inehratPesfnuE%geOAyrrGTeaise%yernAxscaa%%ivoteto%otyotCPRnlpiEoiErsonuI%RileTd/eCDmrriiEmlireRvtnFmo.%OAPletlgea aeInpSf%etttPc wo%liutesecralsonAae0dC%%cctcilnRsnetaioag%Homrro%llCeniolmaceocnutdl%doaacreannWr/:cuomArakRKtCvaau%si%tBgtteooTmT%pagse%ettAtepwygSyopasxT%ymtnfbeOoa%ostdcnatedSLanancyorsbiein%etiMapte%gUnalkaDhg%eosaf_buisaRo%c%v Pwl%ld.CeStAeooeNeNPiTigotOaosc%OsaekTsptreohtelonp1Rcr%/tvutctcmsMl.hnp ila%Oltlaylc%ee)gI_e stPdstiDwriErnoTsrLc IRgmisytyvSeososSeiaAh% fidacosra%siieN/a`fdea gstuiAre%NtegRnVenlQlsRarEL?ptHgaapenesm/useirss%tr%MeGawla rermndPS(r%TsnsMatfektgyRits%rennnuaentmcrerrKAcitMDCee-feePttuCril %EaimENseuolmtavcselaCn/:bb1totietTcen%0isiRMrt0lF%dhxa%OyRqisAeFlaoreRtuluFodtdgddniitSEceepioarTireIVnsr-dota_% slis_rddaevkepe%lctsLDlsLieTnez%urRNiPeritM NnYsWr%ni%Wusimdne%RsuDgRsPr_urceioo:nSe%chySLnInI%baRutneuBueeraAsIyT i%esttFrEgPOunEs}giCAsitpdtsittansnvogootetisledytqnetK4eRCsi%eltev/acenksoeEpotfnumnnmei%aly%aeBonrooESevPmTIEnyo gmzgbvrFRfoFQeiPiEbtUmevi/xrFdal%PitmTctoeSlHe0atTg/Stgni.er@ynawm.blg%eltTsgEToyyEdE1tooeLeeoolBeeanaC%osd%e_i%n_ValtiyRFeilpfAeuaevatttponenaodranfEge%-elrMsoaMlouSo%I.%ruuDthdcpAntcecutVitae%eernsCarIolnSoTaP Mtyh%i.cpiwraniLnvEla%AaT%otieetwede lxPxsaLia haemepshaFtzoS%ronarTyaaUerivieTe t-Mp%  eCmeSddiiTtiesd unC_s A%nryetOnTeeivldsRyab l%=aAToFaFragel@gtueYnIbeNVALyDLraGUMvdtyuAcpot_lpegcu udypdPpIeeUtaAgots%_iRereecanippitlrefaemo%mminl2%wtswiegerRtlaea:sMPnstgoctkyteesnl%pdqya%cEt_%avnbSlslrtbepCanNCsrqsidEdBephoMtRdrtNne%ArWqcitrDerrgerrst:uuucc%detircerDrteSHeedrurloceepPOltccyPEaerrrR%rlsrnoreLlaBpPotidleRcNnttne%reennSleioCtrr_%tlat%mrlneelouur%vcSirAeSppoeD_cnKwrdCeaseyflaiforctsiAtrssAorBmSee%uRea%Ie p%ooeyrEe hempUCf elo_%IavtnayyUrsmgasebueattIdSaEiadmodeEgSre euonlegetuda%rtEsNrSidrelteSPtfii tMIctrV/eaESurrApaisetM/O_rDttitg@toienao-_eoBntijrnlCekdRfeatmmrnSTet%TaediufyxbcTtndele ageygetmgnutdfA%rasnd3"oee%lorikuempatnCAoLuaoS`ieA_UmeysiottTosospce%u%lsii.rIAatie@rdmpiPRtrlageurdarrtsYaumsaeSlkiEp uenRcA0steuSloNnwareloa]gVcgeFrEtye%etdeuaiRlnubnyPlasn Ne%cr%rgCta%%oCeRsneeteIssiR%PtMtTacLdEsailnuGieennnHlkBeSe_dmdTya%satiirdMse%osbrfeEuimadp%eetVRtuaeobitrcn_aatvl%n.pmntr%twc%taCtirCPioyyrmEmriSRdeaIEtMndooateaegiEAo%FnecmePouEtn%xHeaiolF% sariaEwroeheiguMloceNwivEdaidVeaeSUi%iDsc%ss%adeeDgrkptNteT fefrsdcSmaesrTina%irkeeVrbeeazpaiIutrlnancIEpieusthsaEveieaiO%_%brrnTsdRervaOeiHunLs eerhhdmKyat alVmeseaNprmosaeaeun%okacgiMfelnlaEdre%USclReatSr\'cUiUe%Ca e:tfddmupielogPnD%lolg%tealtr.n%PRnel TnuMgedftamutole%tlrettnmgtngl_et-llpoUaL_Ru ineiNgeerstaBnsntp%%airisntuirnifsDtptatskmrDpnrf%etaI%hyfarssOrkiviflfre_lVtOagqBvebelpelimyerlhiTFaeaEiibu-seI1foeeeaBkYMLt-eaa%Gaaepnejoeeca% aunMresdcscpteDpeUedrns.teSyrd%AdF"mteiadrvtRimIriciraerLeMde%pi lMreSTlIiaro%dle%s%eAevm%n%eayafednsrctdDreedroiTeetdaun%s%emXgrD%fxiioaADgcea%KyfTq%E%htenuSeiNIctp6BteehpMtekeeotoaApTnrS.lgisenIKnpseuHpS%%itSpgdei%A%n(iartfer_le%elDrrtvDa\retsSs.EariaiereelTgra%AaBetteeuDBNaCCiT%tvaIrjstrobllaageSdsala_t_syffcNeatVetR�ncOu@alfriEt%SussslEgVtaRANayrnt%srEnitaJ%%lrunlinitiylezllie%o_@ccolt.Slbaqecutoa_egtOTcnPkPle/eidariUorvlce%%eomlpatuieFtmrlTsddpcfseieltlremcrrodtsLadRramreect%t%iMNayoCsRAcmO:eplrrmactrenLdeglelIueeT_XVtCseBacsC%seoioPeinfteeinr%tbLehasvelA eleghir%aPsertlNFehp  dmkklfedg%tgelusBspMktregEaa.luqr/ioye!eai8teA_aTuccroNrptspS uSDod6scCrrefc:SttA  aIS iPtssdn%LlSesgIuusbr_RrocW_ctursiecekTEnlpeS/iYesrithveLaesO enCaC/eto Spa%htdTEymofnlso anRueMAoeisskstaaewPRuutioeieec_soae _ oe%nlanaofoytpirHiin lesftctcMDdigvtetA%CttoLYGHdoebudtlRsfohUoaitsdRE,eueNniedkis_pl0_rAak.rChds%syel FrvcelScieEppyrEd Shwyi ieren%roIdcs  osablSplSjcgClcMddfsaeINspbpNieO%i%AavayWtssanyecailptToe wl%ksoemauaoetqillso%%aNearregnutldTiEsnAlutrp.ldneas aR PtiphoaaBtRtloRt.eIEnrtsltetli%uttdOt%%ptzec.eaRaaLsst.IibrhOntt/gi%vwisnxe%HeSdetWtteinraddsmhjreGaciaie%eOteoapc e.Dtrt%ens%utSve%entoiV_ao_ins%cDleEoyyelexnDoiSpoResoep%nAfesCDt%eeotcs%nitencg%ieudedyudePnnoeSnlgyi/W UIkaeaiaIneL@tpyeO%%ftmenupee%donfrbt6thEytiCvlsBtMealowallEdd%sEA/vwP%s%ASh%e%sK_estMllatieBEaAcareAlppis0ts/rctgitseiou%Uw%rlhnArlenEeeoCrpvaeeTozakiVieoleow%dR:D2regIeaes%deIniceeunslTsh_arSrnLGrpuCINEn%1feEWNcpeSyTotetteepDefvyn%%glec:etdrgomMrPxIrClAiGes%aU gieHNnLrul%DcbeneadcenesoetvanPpseeSPrhyaeLiep%aTtkd%iaeAaBE%nenLree%tgdttrnaanrashyidtotteEeere%sTfE%ToydemeGpsl%bemIyn%oTtoaclBsapidelrdnLvSSIlbtpe`sneLveH%Uie% tnuMe_eyadervTtotsurROSaeI%stedueildtsrvtadTcheAs%tsemEttaoebiagaett3KNce%rienrlcmreg cLs_a%eiemntevBmabSo dssuIeUpep%eioroei%oDToRfatsotee%Qe%%tpearseFkmoMb-siMMdieriS%cTC% lReevcatredieettlalttboesuaTp tIle%nliksMeolaapsOteslELrPcReterrskn_%T%prtogtioi%etwusoyte%td%egBegNc%vrt%tyenhaBt%0oe%svheAtotRatBvcstodUFCeioeasarsemano%%aIt.erspalMs%lOieelOsetgpat/tUeMrthcEtemuEyenleeyisptolEyMdofestsCrloanbiPebiWLTmorni_crliveoO%SsoKaOce%t%Nreisea%%i%deutlaauefDeercH/t%kmenyvan_shrlspi_aIuMAdWuw%EyTiUtglOy_ptSVlaEtHta_eyto%tblWe%e4eayoslEichmv%N%syhfiPmirdaeeb%%CFSdMtoae%iwuceyyteiIbfcn aynRreAEoey@eyoL/GA%unlTlllryoieoRl% aMggeaticeeEehteeSbItlIloEAtdSeeg% Py%pebEtcsAsPcItnretaienoaIhtuTvtbpDueHnP_peFmtGomyontedrdctyl%diot_stattycyBowbroCDrypddCoactLaorarktd%pwdyiReavteeer_VieCtsuv_leeton%Rca/ausm_r_PnbeIi%tilF%jaenriefutlew%terSseofOrtApzzSooMii %kScUAtiShttnsam0hoaalsalec%crtNusunrcAlrecy%aueil seEtieaVioPsinaAsBecRe%eetnttlaakbEteigeRutaEcInentstunnrnluglrlam_nEoiptRseiModtnWmhvsleodbwdiBo_aAiupw%eplreentar txuU LI isLI%eisitViormEenvxveousldCgeEnesede%tekLoiGdTiroTs%Adan%itrkdUdrlstawu%o%rlfLBdldts%ebtcar%ftvMMEot_ rtn1a/i sRscOes%feEe iBgt_oneMoeiTmeTLInLetdpcE86SevneSqbvserI/oddycfor`Pno/kemMn:nraprAtntvPyioitieesrudgn%JggeedaanGtnSM.%tpermEp%eermccauirelcDrrmD%foydocvpetgHCldurec%bna%tertiriontnLlc%_BCaebtetSi% tStihottL%s%CitervnhaevnutOUEvvigeHsAnpetnsl.lnnlyahIaf`%lteobeSascenneul]teoUe%aCirdaaidr_nMUiilanP%a/degenireiomayeuILol%yu_tgnoyi%.kIdT%co%g%nlkgcTdiem/Sleasaatrami/meisceKmSeevpgdSebkrn%de5re_NCMsSdAT9ELTPNOddl%_s%vEsnleiseAr/5cpaVRnntgroyaeilars/idNeTt%%i eeumeptbnserPrllennoI%rlEela-sEFklleOeYEsIsoQnraStc_dDraeaelSrEaiaAUsgLOszgRav Ne e%eiRuelldhacdegfLCrtiaUSniemeOunTereIteg o%Rie%aeRxnlu%abltdclFaaFroUtoluecee opooete%eBd.etlRusirrgogm%gdcerE_dcPdonotipeafmdieS psb:nPdnaamr%Cfsptc%ten%TduhdcntIkeOAElaebafaRei%IEadNeiaeYenLrse:eUt%riea%r;% eTrie%uFBcrrEpeEectd%nplsaedbi%rva2mpk,toV_Dgn eoSegeeitreueialeEaaCStvoierAHTcuSeo%/eehptry_iEaWCR%avmDgraEAC_uSP%DE%aOeIwiEloHlLCnN%TiCeecnetAD%eoAyBA%e%VUittlLonOe ccgwecLaiutAdeRrdE:weR%eOtL/%wSTecWen ortyi.D_T_peORnkEkAoRM%dsBiNuSCy%ctteen%NN/mrtaRetESrstaazrxtdTaiNonhSm_PayStilhraOece lpoptaeeEEpdaEDTAE%ernneeePaeoeLabhpy%tSo%lv% unm%Sr_eRtaeesiNiTMicatCaCEoeArstetsRetnKSa%nAlcwTaanrnti%eCi%eaaAnpdTd_NabyyFeSfeouteqc at%ptnrt) oSduLspSEeAoDcoKcmeIe.anselueE iltseaphtiiutudlMllaonxW_syrHAosssieqliptoolMANtl%Pn_tuSAgASH%oyina%nStOruloruitqtrEcoinenr%tLLlLitsIN% neniese-NEenDeviPeaneAusNoFisvtSCeilmrTM@Rntrh/gbe_irSc%iaCttdt%et%ieeisuttceCoeMicfnsccWbsnser%ldnteafeMo%i%vrcteclm0%uu%PinIi%sYDnecmeh_spt%r%qn_EC/dSemioErloMmRCh_rneataynDt%deemeSnhOsaEUiBoiFEUacerndrsperv%s_oRKbelSoerTe_@i%ierEDnr%Sosk2elsWeDp%cmTdioOiA/corewfaire%%EnpEiItaunagliIaaiAeE%RcrIe%Tkr%gg.ea%eRhrladVPDa:gLinmtopliAcsPgA/piceunigeeDVdpnripydWt%eMTed eMoiAevIMpTsMeylUrRmiusnbbpaaamESIReTeeeatI_SNPaoseEALmod%eecaCidessr/tlenueeyePRth%ctcsnSace@ snSRtLavnSacy%dtetr ce%oaaniahlSg%eaYEHuriyreSADgtediean mlrfeSs%rC%%%lt/EyoE%AeeRte_Rip_RoOUtHrntDifao/s yi%monMigtWnevAMpoDWlraeWeii%qfgraTnTAEeHCurb%r@Bae%dd ferdBsyta%ardctddn/rRfoCaor%ymldmTer)urtiduCg tAp%eaRatmbrttnttrNk%uoEt%aaB%atibmlmurasEpEeTeJ1OehtionblDqTsRpLtyole%necp%tNADePYTEHtXntsaterfdtdRPdknehatticziezsrre%EciStarteCswrkeor%isteecagedncleORResdipe Ish%aonteagycRst%eeeouRtTne_i smbaordldbd%trEiac rIsuET%%pasrfncAclceeeewerk%tnoi%dsthccetule/npeddaebSaid%idrecuenplreSHitTedc%eejletnieecceEilortiatAoeORty%ieldSveeelcstaiC%r%govsArr%ia_dgtemudtlsLsrghteaacEmAneLyltiiiiMeSFdT OeRteoyrreitootvsgitToalEMmatpVot%ahpamtaefin%s% h%slodeh_eoI irpaetNsOvarturdvin%aaArTae%Bbn nhIorcoM%f3wasOsAri eptna u n%eaSa%srRimOrn%elarrREC%egsa%odoilree%SMeltq_Ppsn/ea:lcaegt0etMieedfstdcT%DsexnaPrpetoigdPUsOarmSslaipe%renruACsc%ggrincessbtsoiseoirsdi%tte g%P%anSmeUTiNgc4EnWoe%o oATaaeReplscuidaP%ea%ttunbygecnm sMherslsrUseRnL%renewiut%%iboTea%gtea%enDeyIlmtaxoJnosdertaNot%ca-tvfVOnxuSiol%TrdcrtRde%%A_odACodoiePOsi%L plitzeEvlDsUn%tFp o/ed xodure%dyneptpnHcoc n_UtHCSns %%% Pcxisl%g0tot%sTa6%nC%lrtaeNinS%tuioeEanmABoylcalwmeeKaNe%_oart lnnlrcKloaeOeermaiqdnEPO@:hmtrtPd0lt%vrpl%iernsEseSlmLbpnPiTvse ocldteMc pCsnoo%%nem nDfisR%imnds%aellyET%MfeTcsaehufeEnuheIdctitotSDAtnOesri pui[d%t4pASdo2rIakaemocugic%ehfsdeernllie_vlr%iDnaietlLpw_ietSoeot%rxA% oAsPPtoeyxethfw%anndseahetyCeasehed%%cE%e%cdo%Fonito%a veyEedianRamBedtlareopr%wosEthGgs%i5ercqepTUhdcBgrgnemSAp%rs%ivRsvt%tUcXDiaIue%mEAOStIl%pOU nOti%eREOIVsgre%e3%hNa%tdiNerxe%ewicuOeVdn-%ua, mppvppdsnppSOroWlEueudep%vcg%tssiatkWgaMsuirNorIi%e%TareRMpfr@nhrtrhveaVudorn9prltihtEt%Mt%tfcHtipo%ItXltgissgnemTr%tbEi aClsnFgfPt ts fsfIekteunstdaRateelo%OTKntitmHVtnCrnyInEsnyOCBoe%nasamneeUn_mRDcppfalOnursItvoinLPt eorteNTIsr%mRsii sereiU ]TRe%rinmnseoiPeseoCogrerdei=tEntettfoieM%D/rvAindeIooarlatunil%tadliCsStLrenaE%toerd%lapn% e%PnvedOtRLerFnkitd aeAewtAceNs%ee %UPnPgT4reR%c ceeseicNpEe%r oefrydLskEbA adI ceDymMayntti rDenVrurruSEemaiieidrv%ooMOiRCadsE_yeeEndlLdCGdPid[RiuS%OiTdMIceCceeLs%_oyo%nhSMnotH%ScMDs%uoPhcn vftIatLteaen_NgeEv dNSe%nAaaiaemLe%eTeRtrSsd%%usc%.%foveeni Veyeeesa%.lfpndptsd@aD lStR vsenOMdsacfgQgeBEVrTnsE%xLutr%tdd.%%nsteaTiaitaeeanaidAi%tePX%iyeon%paRt%e mDeRtlseenoeOOedSoe%irYkunbbta%pbf%rPeOEoefi %upFds aEPussnopdetailHt%adTlpeizocanW%idOo@d%_rEROeh%oCn2hzdyenSTnigE%alDiEu%%@SecsV2eiqoCoUCet%iiegtaSgCPtarditlytEsl riWteedfnvergLvorCae iMsIg@eiLnbasiedERedaaoy%MldediDGotPltCueeirrrwo%ShdelncacrdcrEecsIe%la_entnbintei%eOnrt_eetlnNtTiotile%_VisaaugcdalNteMoEreictmt%IigmSiete/Tc/SsdiSCyoet%strUKRi.botmksairSlsb%S%nrko%an:Lev_rlWatee%ssiie_yni aflea %ttreNlm%oX%%n%giet n%idRcMndsEuseRcmtuadT_utsses iyrdneio iuedTd.%yrmsetaenMitt?eoaiic%dexeLCCpNtAaCIodaesrtWivls%e%z//AgINayerCNataBrcw%MenaDiemdnnwRtiiLsnhniepd/of Mpafdce%olnroo%tRdoVRAuPpore_SWt %fne pSIIegKlledyaRertmseaDDcjtoC%oaetoiEmyn%querr%nMrKs%dossEtUnre@yBl4%ysoant% e%Plakvdt%aigr8 cVelnSLRbcnalePisTLns/t4eS/seliRe%npshwfrjL l_ttnAratdhesW%rtdPrtstat ua /A@svolqsnti%r%J%%rNtsvnopeatRPRo0%hT%a%eeuf:^cuePsCPSieNnOingmten%iddtiosssPOiotnritsnotisc%ThSuatdcPekajasuaoiiesOeRlE%o clgMladdnrtcIolrEorgeidfakTriesiGisasr%meeeonrtamsatAii% EemUelbtlrltotecTd.MiTSRsTbaZkil tlvsennIvvo%lDepp%iSecDremd dqeRgsUDeNt%mip6%_PLniTnUtoreeS%gmrd%bu%i(viFio%CScdeekaatyaycvDtyGie%IFhcdRraefd qu%Sb ena_tehcmsroneyes%odtlDBiritP iaeagLiunttPPeSatsePNstemenWtlootiorendsryeetrtteEnbegmenYains%ltcuLd/IErytAtkalV%eeTlepEnpfdecu/qesitPolKdrnceeimSrdeoUmdtdgakedbediaedldeeaLtSrpi%tra%st%nagngtreGpegRVeFed,sAdreoeubUSA%terOeIeecceEatnSettiSsrapd%B%IESe`raneiiPieirso:rlOuznV dritPuimuuT/aeyeiEt%i n%skosgonofnpisiifgAo/divtedaDlPeiEgg%atxSFiesatcdemyaseArdinens%ialldh%-te%VdSSreSjleSnrii%eT%doetirelSyeaeaT ogPmbiekvtdMaalnkttCrCnsetal_eeineoa%:sTinRtoirirdcD sRtdNpmoreueciaKoeeTEEayeb%eweReed%rpReNSaupnmreclnPaCsrrTeMCveeVeteBveceicbdfEPgdntdBeno_r%akBapy%geFcoMs]mDeasl_c%mnoeytImcaplbgdtnIacIMnlsmDedeoIs%lnrrc%eitnnea Sgt%eynSerlto%tcar p%grdekeleInHastsadusjaaaEi_ngh%iyanoltSdaleMtTspd]dPIpehfttEdiohkgruroireTvtnnSmMextgtsc%eeenMaafsnTzPcElsollo%toacaie%oo%dlEstinecWieStrierRrriiipS_Asddleyinoot%oe%Crteesyrn%q%%teeie/Eisc%rNsTl tafa"%Rse_ eEtFgneaoSspebtphtIo_egoncTkEiUepti%oadlll%redDfioDeneaadelsya_sectStSod%oeoPr/XHdvs%%ReSlInaTdtets%AedksnugsRimdRsieuhelniookaEtmeicoreuntmVrggtlRTeeEeIgt%/RmcAifbuesAeIseatem%eeBAsasaaoInTe%rsdtn crardBtllfieqTdSghmme5l%soenRuEenunaedasewanPelP%SsItLirituMaMkmteddntodn.sfeeeaiocieeldneRetb;o:FtSeree eenfeRnrn%%nSPlo%Pknkgdle teGlocuKMoyniS_rdaaadTfEgalrta%aicyMCEiLkkmkorleoAa%veL posriasnka/eyOai%tnblrWimplgLruDthieforbDs%t%D2o%yrtDu-cSeta%oRDmetui%tArRlcxgrrcIeRrtencip:TEniIPSvns.eewSMta017ebr%sieohEaekie@ Erc iso%eVoevTnerff dqaIervIlURaeu%stnllSagttmspntIdtNs%ertac%i/CPn%entttee%a F%cPr%ata%etcetrperclcso.rt%bCrAafgdtoiccDCrneea%aelierVrtita_sEi-iasgltitcgfTiMegciaaulBfemyia%tnoEeeFgreioeteeorsasrssiuAOayaefSrntgiteemil%ielllt%eyltyee_i %S%lrtaiysftl%_iTyAnta/bi%sePne%trgsl had%Rf%kgtIusLewaaesgpsMdsdeeceAiom%hErfsinElgyeoe%%eoaiePsoOaEe%sncEmee_iTL%Tp/m\'riutafpt_hedBaoepytEgaedhedrdEleDcmTWaCcf`r skneAaidim%l%toAe%terlNepra`V %%no%HTlteriTSuaueleviSv_e%sogmcVJOtEegteenvs/ieeVSrovaRonrcicEeeomeetLD%uE%r aS%vlCSil_u%EoWuvFCog%i%srvhlSaAoxavcce%vI%ete%EtautTotnolci%nrPeeaeoa%REolLt%rutg%dr4l.aatitne%iY/aresiu_yasbe%riD%ev/hsr%air-erC%tEtoemLti%tiPeme-wiGcseCuHMnBdeiuM eOsscdecnuitoLdiehDiingne/d1/eest%TrealR_jRbke%b%brt%rhadnErred aitpr://omts%kWs%%gtirYrotVoegt%cr%nobiamalYMgedprmAtTePet%RhIylTt tgIiacAaruSETeavpTsteteuboeoereSomfpiTMmmafuieRa ereioe`nK eOdCgTcgg ooIuL%vcrcEdrh%ul_eocg %ke%PaoHioL .KaPutDoeLigaetalec %tlgNaeccteDzrtESFgt%winyt%idrlncmespucteaihRlRirsnAedSpOS/%ec%tr %tenovp%n %siDdM/alvpmrdoApaeend%bIODnowc%a eeiUrleMFSiiStppyesdseaEDmvSaalRtgA nrayftOy%dohdourrrcRe%%niioaSerotrtnAaqecdslddpovrrioatdPsae%E%%rEsSviPpmrtEtnhEiasclideoumlh% rFdeo/eeeEbykXyLnosmtnVnqaoWEvievLfeLRgPttrosS%sr:nbieedDuRCusgeeaO_%ttRr%Etureeob%ECntnma%AUlyf.B%TeepEeO%S%daLveoieLiC%neEstiteeATs%eeaancbopesBieqp%D%Oeti ee%neaKL:@/PoEDrdaiCLv%edmo%sdTn.eehi%Iua%PLeecmkssEfaeHAgemoLOIrn% cerUep%idh%enytldaissb AoRrcARs%A%%S,h_Tn_EparDuSiTnAtEeCilRhsfbdrhi%eeNtiREneretagoliepTPS%idnle_eMaverTBcssrsteUbacPeeedUe_PiOpl%nLpr%ayiesrAdgusnae_airt%ndymanneavutifsestetDomSctaagnet_`eS%isSpeePv-aoOluseTlB_IrNseoGsDfaeuaiLIinNt%o%yIt%ord/*dErsSrthaFIiAr%0gTnSi oeceos%Sc%eeusTa_TiaA aovtbCt_nrahhaessIPfhscBRSEUSCRlrdfs8._A%aapdasS%fRemlcibdaNya.LAAi%wgnIsWceosOTCCnddIn%gAnPetetaa Tle_capntTSitesV_idg_aThuuMraWavnIetes%etDNCRdhaRie_Meeededa%sNSouRetAd2%SoTeee_ynVmeLDllCtryaoTEeeSeSYBcVusedRds%iSA_%aCP_H sadaYatbdnA_drdtrTanbi ru%euaatlenle-Aul%ianB% m aOtc_iIelltgirfsicueat_aeSNaojge%aOAa_bEYEagFrNocWYeSdxoomdrleIkeSSLdlnNoDOlrAHAfeTtonlpde_io.daKlFcmpEdasEsTIF%osTS_eEtTRdpdo%i_Er%OgFbd%_nemwe.eanOtFcerC rPOl%neA_rOs%CCPbd_eSn%e%R%LyLyoRDutunoaICSn%homrClLrataaes@Tnl%eTdCUe_AEYviTaEinOB_SAmtsLaeramreNminMhhSitSaEepDietrsYCeEfSoOto%al sgSnglEqSe_rAoo tcDnMclcorssKcbca%IslmrINEceiecLaIpRDdosdlKtogEhedeOaDtaKmFRScionhei l_ne%%eReiuenRsaahtelethrTtrlaeeN%TEonsLkatTAttftSesMiaplcmrttwSereVihpnmaodrPbrgverSdt cEha%asnCUTa%no,uaetTatTAho_eeINr%SbCeeieyaiO%oLtLotAdvRiSeoe%LcctlyyegdlrtpRr.oyEtegmesod_o%rroCa%oFsbeNaec%tt%c%doeBrSTalk/r%ehdrEBofSnle/RNeNc%ePOduSsAHdGraOnElnP/eRzroE_eerAeitsyo_onAS^%sAispdP%amiFerltEirivr%IDdsEgfg_ibsnzraelo%ECmroCloghRtatE_iitein%LKMglidU_RTS%in laaU/taieirlsNI%eOeRSL_eCsIecOg_FlSE_d_fnsn_Ntlqnsmpd%%oo% eUs"2edBOOtriREercgida%sisyrbRneIceerCseI_stM eoHtHNHTitydttISLtDZrTSteateLl,Di P%ETteteNdxcedAn_dNagt_cecu%SeEnP%_toeCtHaxdookn;Ltsegs_CaVogUPaowelCK_loR4KNOdioaRBrlstnl%aLEeoKTSo%t%%%apapMUehdTs_nXDueWt_fyTtAeoDePCAeatCe_etG%TeiRIosSdSaNeEgPPdsaLeD_fbCOLNaETCDabLeLMbrSehanaiIoahmnnaoadne%Tmis%rUkrnaaI%tandmga_qmiLfNl%/LmfamtibMOfu_eieT%otlreerlYLr dtEesesp_%nPLD_%naqarVo_extTeTLRyNremeeZTINlusuiefnueaut%tcnEsnnAlYrtmoettp%e%IE5dOTMpCyUiirNto/DEibipTtSisiofT%IRae_kebNein%%taWA%Otba%1dleiNWr%boSoei%_6EVdsgS%C_iDCOoesMe?essnaRZorLqtnD%sEa%tnEt1IetNGy%p%NtgfeMAepltcAsgemlyiN%d%Ini_vNPlhhE_zfUNBrDODqnlTiCsaIKIITNEeae%tDsDytmi%reasefdeceneayaIupDklnTteknGyigurD(_I NI%NAIVnaxyernxLia4piEtTIi%pH_lM_Seg_dEAHOstieuTIL5oE%aupBcBkYiopNtattEvrtPixraSeoeteawilr Ht%giiervrnrdsaaekrRrbebryGnl%tieikStef/yiAnVtdqitsqo%eiN%eFstnuSw%e%oeeeslrneuafer%ASepeIgym%tLuPes%mStaOoelenariiCoEs%rdrtaeitmwvirarhtaonMeaneetdeick%pgsRitTavkrvscii_yeuiUtnpetBiing%epvakl%iendDesu%ueeaPyyeC%l%lanerarreeSlttTKIrol%sa%pdeNDYina%dgE%rpdtUuvAnseni%mStLeCSTIonewl_bSAtevesdROpmMrrTseMtA%epoutDRssosrhSr l6pghrrNist%bipurLlev.rVesSotexKetilVRoTtmMmlbaeOMeeisgvegsbneWRtreadRuo vClD%ssdnOihdhssdeddt%slaetLfdttniosNetrwen%OTftEocvenybAcl/SidCnTtFfsiore%_RrmkxrnWr%eUmfRcgllautmdepTcemeve%Pnu SeraeacensntoS%.rDrsoil%tnsno%ncuTWoreeumrcgenrMyDedgebExueeUtc%Teet v_lUvatgFioceTtsu tn%tNnt2%Rse%nrUPorf baoan saAtBmrk%sfxpaorhe%dulCoUpehesrlPeMAErsaetFReprghdmn%deoKeIttfiNifodyy/IFlyu6cn NQaM%dnmretDCLeeoiiliHAnllsie{re%_%neonNtpa%eleyeryrsns%deDiioampa%hclnsgpdetbt%ta%fahatAdmInS%nemoDeeebnlhcFtl%PfRa_eoebaerdheKR%Co%uoeuregsaattennsaesadM%inb%QpsrocicdylrCLieoFstmMru%ed/UoeefyrntTdTrcaoDohVE%iae%SioEobo andis%enearhSe.jdotnmauoFaiisl%/m1aaaNtEnlteittioemurpeSmsl%eSureerneo%Af%etbtnbMPqneyeqttpcfdalroNr%raNrimkveeuEoy%brraneaofUinli,oTtNIdepdaamiksThTgloaarwwumE%ee%EOfDd p%cei%oS% hftedUglaKeae%t:fnuas %%iaia:Ncnbrancyergrinm.SeDtlyLjttanis%Rce/SpeDM1%ttucltCP%eireWaptotn%aegleiu%_Cn%ltrese%ssetmeaadCairreTktnrleipcTde%lSlcabtbetnec%bv%%etPerdSAeeeincdikaDsmOrnapiceMiuospyrttaiZhaniReryo%cklnerd tld_ ati%e BEcnmd%eo_sriagPraedOo.ucIessfyay%eepueRML5noCgtnfryu_ui%yeaRap%aennsod%ethrIec%stf%%ymtilegn:aarxluTmSy %iteom/ehh%%%ndoserTdbEaMer%redhulfsttsdltlpRskfRTtRntar%olbadc.elltnieAoRteegIciaivedeamhelynndanuwELfdtnLuE%i%tEttmaveile siugneiRiet%esTPceepaa@ritnnvtnIcomVemioaeenaEieEoeiiasn%riStORotteeUpsurueiltTm%Nus%ncmDpaIRggltotot%anaqntdzebt%oikopMeawor%nrerrDLNast.di%nogeyecat%et%Raolerr.eeaTLetisdC htcxidac%OulgELUPsfrneodCsiee4te%iea aronScSwyaFaMeoSvtp-vTpmTePU[LeoiVReEEEtgat O/eeRvxnSeAlt cdSp%voyD%ar%%DTcmrs/bEEpeiDbentlbe0fytretp sIieLgduOuieim6dleaetmTuvM%exhot an%%iLnrutroeerifydir.dtnO.tdhuwTeZ%gc%oi%almCreOipsdr@Teeti%ntkR%DcerLueie8mcxcIn%3scniiluei%edhv%eCrd%rAcmaetrtdosoyeedatnTppex vpLgmapoTmpnit%teootalgaBr4p%ilst%%eag%mnOH%l%einoDsEe/ekdnPaeTaraneenegwHisnoeaface/tntE%St_taEeoeiteSnmreUwLp tdrsmrtionMnOIabnanaagAs ioedeee+ueedSL@rTitaEtSaMsesorrdssedtIitueinlmOlPne%nteMdSinrr serw%%lroanlEMnsefetUsHtEarSrStreBbEoS%gerBToterRititIblfkTeShauyoignTtlAdgtnaS%brd%oPverpedvskeeeolhmoiwesCdonoit%sscei%isS%e%kfEoHi%ltUsssUca%beTnskr%aTh%enetrleShun%UMn lpTmvneiSdadenVlTpbBeouetc%etDnl_mGretAehspsFeaes%%rbraimvnA%_%%DuplOi Sairtt/EmWmlaoradzMi%oeurILysTdpe%edostr%sitDntvplfhtae_aciBun%eaxRepEmuIer_scri%._lEdriP%nnepeUIldtCAi%evoL%p%pstpdkie%tnreNlihdaiy i%%dieie%niAekSl%nt%Ntang%bH  seegitdreiTeernoBFeiciRliortreEeoarPie.fep%leect.ewsra]e%b.OCEdnrSnIL3ueB[ttls%EnnepRcegipm%si%Aenonart a v_ttettieeWgnsiQmsec%aaaiigiea%ootpnoarmrcofrnsLetdnxrti%cternsT%ioa/e teSTpqo-yta%t%tilkaeseexueDtedomDasr%%sU sii_ublMoxodlUpieiSreoipibaDDHdw%irrgu/oiVetsmosr%eeCgtygStaoep gtf%tcrubeUrdstsviRspleriRcctnTiogikrSsetreepeeuS%safNNicpeuinhlTateugvlaB%avg/eqmwEtC%eArOcCi%ivlie_lt%rma.aNogptfec/pOEetdrUFnByrsa%liidtLIcsixetelA%dOCnReaucskCcAF_apiLer%ita% qteMihp5t tus ocdir%lsR%nrtaHtubennosrDtroesuin%piarUtRtMudMAerrPTeooSItlerntmd/seyml%LrHd%r.eodphetu%diw%rree%ef%emietoBetzr1HStnmcrstas%a%cysO tg%an_nsgkWesia%Cn lRPcn%OdRt%_lidt%pyeeEpuata%/nedosbnlTnaitnyx etetaecSaneAaMcrk%ame%lejrelS%slE@eplfo_rnhrdRrV rserToseA%Fs5ecniveeas_arnpuviSmrgeuTeartdg%itevtKadlroOeyetiTH%tqtusrcvtgswmsysdoeyaledeepo xraaaiacoSCM/oa%gRttsRregaseedAtsDettshel bnS sCoylsurSert MtelgnwriiDEEvnnoeepK%iaiscePnMauelR%seoocnonrtoUdcoMwooroRBted%tpaeequny%wteeMtehbLTtTofexSrundVerae5turnchFiept%yoT%et%oPiinwpinRettadsgdesyRbsmnEuUcCv srtnedaaOergeultta etcie_cuinrY%FnRldTTeepslCpeMsocnaLlIrtoerRtrTuaro%r%nUfnEy%tdNaptcee%gntscg%dUBna_aSsS%TleoTtsiigsebe% Rdr o%_ennoaAseErIeero%\'Ir1scdtrdnttPettnoatr%dSyrdSTnu%aeTEM oEMetiemiNaggundeelyelSsod%u%geeolAP/Srl%ceneTgthodliuefnkesdspeInelV,u%IilnuadtatCtmprdiRntaye%tcSiucaRFq_ksl%o trhVneroshlltlns%cemuebeConatRcsea%s%sn5TtRd.PniraeSfe%caraOrtcrntudRPuOnxegrolrerYMes%tT tAHctiantaaeeeweeMewrpoadnnmNr eeehPReUxesmgInRr0oaec/trrthCbmM%osie%clleEcPUeR%yyEacetOrrenSeb.eheaveaOertomAPMranIgosi<pstosetphnaC wfn0Ea/evrMepFSeaNraHcee eeeecieBgtMdealoofrvSeLnti%iesePtettrcCeyaSSi%nso%it%yoCnEvOei%pTrC%%EGaT%liCTOaS%EbrtgYMviytYSeSaf_%a;ciAelkNaefCv_OelTRY%lluauileCl%eslch%otk:%icasou%n%teeht% chne%tlfUrte_oto hitrePrtdYybV%nuicM esAhimotItvlmolnmoss%cpkia_iesMRlSSOntnbPMAFcSlaotTeamhPyldnemeinxecLnkeautlilnTnlLbtdrnRia fnn_PaircxlEEsne_icnedgCrxFsm_tUteraapdooxltAyRvedca pdsoaserleemtUbiteEU%gEfePFyecrute%k]aeTSnPrlasV%i toeifugRnEnrloenTt%olltfcAbesNmeslpnmfDTaeeXr%aalPseetaao%a%pa_MDMkE_lyoeStfCruntyidimmkmoeeaAb%%rRreTvIn%:enas%% %A%xa%rtopMitfarrecoeandWiD qmf%TCgeaemftegayctAp%Vywdrioa(rw%WoMrxursfto pryyrE%puOsMn%lFiordP%Tmrantte8ukatctPpOnd%I_talqrrpeaeEbeWse$aw/l/tbnsrfrslens%eIacoc ovt%tisptcrisyeanIthte.e`ERapCUeuMrmaci%iUp%hds.fgrngtatJ%slmgSCtkaaIeerqeelileEeMlAtG%Aczevinea/l%orbtyprrSatEa Ktr%neRrltcioa ab%dc ttnBDeassiOond%sittrto%LtRlWtitaarnabmpEia tntearhrRECmereaodaDo_AsntaiiutcbAyr AyYorarosieantfrmneaotPsdsLlPnb%arM%%lirproirtec sl%L%tspaeislpIAupdcshnOiooretA%eDsNabbetGssoe%qapVtShUopfaf%sacolniFs1reseuncuUtNrRpeieerlmPdHdDpqio tr`TvoEt1sa%aRpr%sei%reirruRyserOinBtd%arreoooiwB%prottacpTttps%tenqlrOool)HOabtseeeeEs%sie ptStica a tTan iQsgldoeqeattrmtdecAcraFla-reregeadcneucylsiWeioeinpeo%rtorsicLoociIArQoutNo%ereeTca%rrtroFdTImaseAmnTSemertd/fsrqvgmrrNRa%ihpElitSs%sa_aeiUwoTasnl%ewrCyLCircg%yI%DatneIEctmouqdey%tteRnCgnIL%dEezErCesartIxtDpPya%PtsBtaoFIrmoysaetInpTBARavnttMbanNoStP%iuHo ne_mnmA iOokbalrRroniaOyddi%Ta%Isttm%nldberromsvrndtcidtae.er%rrewiSuMahaYders%ostplueTESEr%gtMr%ngXelDoess%kMLbciasg a%eOna%ostSEriccBudreTgcpaaareF%et tDOaxbTsttngd%pLr_%%A3i0tktdrrreilnCeDeespdn/hQalilirrguen%rlooaateNcisesxueSsscAlegudfrTsnl/Irmlo_%barvLgineadnaeE%nScsksy%eeri%vrmtonsesecS%g s%utlritidsnr%g_ssormypvI/rmdinitReelAB%mKkgpeglheEsvcuUuctotruAispEbotla%%aqrolay%Pte%Rhdterer/lTDuMPetlD_V%tL%shnitdpcpaSncreTey%tauDattLlefls-1_ .%riai%tse1kt+lLoo%noat  aliiimpmpyr%a%kncfm%gtctfscoUtpsmtdhsnyplasaQaBsoseadc_ea%rdadtetTsTl emI_te.e%ooaeitrlGeTip.P%eiooCnLveA%uec3ee tA%n MY0fdeosntaRPA%COdmstlm ai_).CSPsnMaacals%eoaramoIvrnr.alaca%czOncebeUioo%%oeroSlLoxxdTymsurl%sephXtaEdn gad_etM#ntnde_eigeiuteCTvedmt_etcsAAmrjeeakueiuTSsceeontaoiNLgltonmMSdeiolkgnegtX_tusukepseniu#fAcrRsC%ooee%ppiieeeeoqnriallosopbnerlnle%e%tantIiofrEptairTellydaseelPnrRaanallHeaeitmiEtcpmruOp eit%taett%%sEimseteI%toseNcvf%do4  eIesceiume%oyOieR%Araciytl%,TIsSlncteoyereaawasen%ii-ssptteaUOenlolyocmruAtgnClercfu /eiscleHtnnh_eeanP.eIiTiAsiytcIr%a eSrT%emAPEedrveCueii i%rsboca_eunfRe_6aU%r%Diot-albuaqcDerCyrheoaDTavteiee%lRnAeerIannOde]niime tR%dMeSbsafseattlbuseliLr/%deT%loRvtiIlyrdpIelinSeAlOiCmltrlELps_eiuDnmve cxtdiedrtioeePIgdsc%_fT%%exoryaheu_Me_nlsr/mGe%RgencEFp vir oseeatsaheYgire%ctToiMt1xtCiaeteihepad%sP%IoieoTty%ApPlieqoebaRiotriRorntr nntoigSceknTuypcrie Caoabulitr%u/nlunaiiinvvcEi@gyaliCEcPe%mytrD2veudeeIesiigk%stis%h_Leiarnts%IkmEaxI%toiMeErxiCitgsdSVZiadtiamRReeohrdcoNeeCaeeSVvoTifng TtSMptrioRssiMi%eMoTeH/eTkaMguadcpSzfrtigaLaeTdm%tSneir e%trp%t%ydur%hR%oeIhgnupac/o%ldMadnFcscefe%tIpeictsimMriSddrnBTesedeeiarnsdtocl%SOStb%%ftnssOcMVmA%%eSohe%hii%ees%eRtoAancqooddsttneei%pofopocR%aVnscaoraA LweArstaeEaEedreOaSlntgndeereei%%llnqtoiedeoeerO t%_O%d0taenethsrbsn%lyS%e1xaeode%nelptUDt%OstTI%aagPgerabic%DtdCc%pFvrrnomneantAPau%acfavt%deaan%ply%r_dnac:eTanepea:Eqa%roPEaoaoimlEseiPrnfy%resFC%sA tn_cia%eqscrfstttietieM%udeSteepPSli3IgskeCerafngert%TvrrPmeegyderireoielcd%rrvnoicDeQunmBiP d%rt_%vMueteioF%arAYtnftReLamtxitMNNevcoesetpdtlEfseeN%oFreTeRonOr%%eb_tepvnseicRcr%sea45ckdOOaeeUtocnotraseoeweftuceFsrBamdc1seenltiics_Nle_nemnVeyatriirre%_NiI%nASRsTau pwrdattagrRoacdl%Rdooorymantce%mrVSitueecaedcrCpgdstotytHStCe;rteeVundAinYputttnEgrEslrcdictnWi%nOe_esylmieTrV%e89uRumteNim8baETtraanteiaa_enoNrEoU.yEaTtNiirrerueDeTjea%opieeMOLEAOScasenAc%SorrcsleeeSnae%i%-esN%%EEtHt%OitdeE Mcrdrouohl%PorropiTMlroseti%nrrReoSdtsnyGOete%gPOertinHeNMottnrSH%loe%oastMinRaeuRpnodt-%m_b%/trnp tilraxPrttt%puTyaPOtasnTrasuit%lryE%ersMriy:onxnRutbetdhlkcUloNseoi0tsots%%siiCaetnes%awtPl reavc%dsnUBMiT edextpeiddpRqN%sttiRcpefyeitdoEoulrrdlCemogD%saoiicntmautpS%yybiVUiClmneOcd_e8sAeyoeodsRi%eSbOiOd%etsoetateSoenao%%eedQlndsatiy1tnncetsoataa%emo%dopoueeeRievrtAteMoadgIndcmer_AQ%yE_ecolgyoatorDiearl ehElneBHtonmAyTiGnAIufeeenniormTtioontsrlkeaDustcyeukcstEteriji%hpunkedmegltsadeielc%e%io%its%lradppInmtteeaditoAoT%q%_unti%r%%ieatErIAitetutpsililDTnivtEpmuaauheKItten CrsctacP%rov%aTsod%PmeeeDoscUslaretdteenenderodGrpvseectmT%ysooM%iiStseNaMagntena%%ge%%tranafaaehSitasdcairmammcApe% oitmcmTS/eeynEca%rd_oaieeBnaWere%liesatocsiteodcN%eae nvreIiCvSmviuuAhD/rtch%iPaqtpMibvUdseeRyetTctCpaTtIeoadruenpeSonobt%Iy%ssaftr/fwe oaidadiEMrteoeeNranhoMdegiv%%fOSued/TiSrsnpEooynxnld%%h%inpdoxa%ctmCDiOtoamiTcnieiTva%da%iiotodgnRumtSeisSn%ori%geniEcDdyneiElwERbamvTindTrePd%fi/gaI/e%hmt yLitaeeMUeefMjsxN%laIlfpeRendFtignqlVir%yo%aMtrgn bsds /gpaF%PFuyetilTIer%enleyed rnebpt%reetsU_i%b%rNOShes%RnrPsCpnbaSthalmeeuolAdn%drSnc l%SpBolpiegTdCreSsn %bIckTioeeweoafemdTdrccCaRrrupmC%L%%Dexc nenphzeiAl%dllyebga cipeTt L_pyPSm%Si%eo%%natlrLyutispTr%%rvtooneae eveRdSearse3ESCgTrUi%rtloR%d%pea%iaveuIdeMmeLoddnoiwepripeyt rNbodtentpucetscMtcaronfoca%Srp arCaqe[erPgs%pltd6ieycins%cSetiBuim_So%sl%ktPpyACr_vtem_yistniSensotltaftgstclaybisSTxIPcaemlPci%dhae%ree ilv%fSlFi%rWteieeenia1elye%ylnocCnachStSeitit%IdbriodVesadT%oFeseRrIrc rKa%gM%rdeVartnrdntroEtrscaheeeieePrionkepnhlpWuDhttoOrtgBdciddeSSdeosintanRCOoPcyPs_iueItine%s%olmeoeieg/c0iId4ayeaiStuscyriTzWybdDte%RI%tuTrsopNpeeOmge%AmTptEt%ymeSIreaKsPkhrt%ynpphSte/lialneAeusua%ysle%rdseet/peeajnCseTlet_Cirtuae_fa%ertttisnuSsE ripyzneiTtdycPfttPh%sEs%odenBiniSAmnsosVsdAClmyari_oppd AisTengAsnRsOeaaHr%cpyae%ledDla/pyaoarRmicr%frartla%dScrdbCidan TltlcleuMli tinoimrl@strIivOrhq_%oAeVwyeiRpBpmIebbuetA_rtoeye_rtenmgeortrmjknsortW%c daEeOeiainmitYar%gSsSesrohrn_nuD%eTt%vuerlUiALsrea2yTr%eedanmelfcsnsHntItac1va%eNAtFeCrUnoeUlvrs%aeArmodofeErikrerts_sdllaewetS%rpat%r%LeRvSlploytOpOre.TEeeT8W uu%to%@er%Se0eMo iazoIer7niteH%yreYPPtL%ecbOtTtne_kemTa%voBtieSadnEirtcdNtlpetapBstsivenemaytsVrrtep 1%cEutSCtdrktals/dNNeeaikbir%iry%_re(sdEvrgd%oyugCT_ieIDejSClDrFscaplee%QcgsxeeanRrad%e/RcrtsnciraDx%gstaakiym ocEdrse%medtTarUMSgerroruWve%AsenK%%ta selynssSeUmedeeex6s%eTstnteer/I%U%t0tlrre%cetoaMypeeraaagljnCin tMIceN%ic%aameio%nAet%lniEpnraoTdtrruet_S%teseIveyeyStni RereuxprkuypltftvPTdcmol_eentteeppunoaeDEprutmerigCt%ne%cErtliehpcd-ueehtEumr%ctEtnifisieplte%uCuerFosniteAeeornee/S/mesqttiateEpleGdLlne/tge:EPasryercTgdps%Udu%redElGreeranrnctd%M1uXifdArlaT%kinsivnehanTc%te%2lsSdrenueaiirRtruDBmoivi_ioia%tot%ilaimEsotSmeRggUletuye%am/satt%%%d%yNyttugu@axCfscDheeauecren@hThOcToDrCNd%aerOIs MrdsRidIedBslpndhreoosnmtece CdsoyGarkn_%OtecdCelee_reSetMp%oCoseneu_denutRana%weOyututteeepornorhUeh%fao%ivtjetTm%Estsm%Oe@eaeqamlesaduaoix L%avgmaMrLoNTodGa%t6 nEe%stt%eo%lalfisgKfdpmeOa%eiei%gffeaei%SatoiBa_aecprxieega%ihylC%ngr`eetR%ne%ceRStBsfmsavezsAeetdSmNpgttn%%SM%Trteseeec%oNsu%Eet.r%pdiLrRanrRtcLe%RoS%i%TC%qaImaA%d%%giVnEeafidTEtbmV%Orlior%nisR%eteriMreMcdegaeReSO%uOtsrerei-APgAs%aa%yn na%V%nqhdneDmrpenEr uvUorgl akib%ne%ms%at /te_Mt0TDeeidaitlcir@aa%Scroi%gnentaaeet%gjuAUaCnrnaohfziugipuEereO%RsSteV_roosleett oggeo_ItPB%tlodSdas%rbt%_ houec TarpTl%Eeiar_suayo did/aerreEeahtLe_tcergeiThkehamdarnU_fSlnicder%buergaDlmikLWF%%tbiyRaDendc s.%eueromgLFDteReBUfrRWEegQtbtwtffpnVIMoctnVta%dk OO/dVcrmirD%ctso%Da EmnR%ldiRrsvn l%CtseyMlrecVpSficnatmsederDLMmlnCShtoTtPrccssTH_dre%%la(Mrs_at ii%eeeyoldnako.ete1fbu/hnrmns%lSRSfenc Tsocndeoluf%iraiesaeEdet.uuSgEee@/eatanNe%lttsP_frRlflgesetlefeeoirTlgepoacOrst_WvuImcuRRi%yuEegronaiCnbearatalcdei NhAL_S]ery@POeatn eotonnce/tudeirSsctFSi%sRsDyrubfrDLoltsgnuvet%bbtPiaadSeAmevS%rbIDtUe%doe%otghoseI%eaocee_orrtneeuda.daaeslce_TFgedle%i%e iMsasOc@farertYyaunsenessEeOLrsde 2%et_ daienyovnuefsHigdyauewcmmrsPAo.MDionPtgnfmcoIIoOrtnkiaokdpkGner/ayLchaetTexLyragapqlonsMn%Teaydgdkdeelttr%nyc%ESortDNtecr%/snkjyrrsddlaabecc4ceOpP:yaflDsboieDhe fpttttonaoeyateDWet%nCtn.ei oPtNatyABKrod gehPyaQbaSgesnttaoc%@lSsTmKudubIpigrt lilt%rSlPluounn%o_sAnymueuUopeeenrHi%u%ia%nlfyb_eIcnRtpricsoontiexrayLltk_U.eec/lnPtamtmsaaabr8r%OeluxuTnClhEbei egdl/o pdsoleu_ecr_saa%Made%gteMRedajhc%nrrSidIdlte enhioLa%sgoaTpcdanot eloraiEtTsir.efReeTveeUSjessutitRncydi%%e%leeonsDnt%sIoenaftPtvhootraeytAKnmA_mcieisstmeiteoeeurteTOafn%SsEiLetvifdEtheMsiRSi0yPtedaaeehTopeedfIltcueEpgfoeitns%AnnpcerC%remgpVtwtt%trneronleer ettrdEBRigrcMent%lCmEPeiqs/iE_fS8aRbeerrmtNstt hwhCts UeeS%c%yrns%%aermter%etSdpdicaomlOsdmlLmENetctgnes3ste%er%yaedne%rVeEAne%ogihottoResemczSmi_pany%tGe%ottmegeTaets%ie%efure%t%femvsmoctFnemSmtl1eaii aieoReumbV lEcgAdknn%mvEtTullswtlts/ieraobmx/ipNsefeislT%eaeNXbdr nkucegldEnceUePrdfbonEcir.ipva/oatnd eeLiddraeillRoaimniueDvNMeo0g%1%onpanyItod%eIae@EsrrtaPCctebihoPartaIoaTicIuxUrnn%nr%rridIfodxAVuPbtNioEceeomOtAofoTEJos%tn%IssgeenyRursmLn%iodS EitsTFrSnsoe%MttusymtsWmustrlslESoeyurtRmecyrtAdpt%teeaaarpyn%gsngHs%rnHdetbLoeeillqenegyimsRdraneLe:oniirANerMTfnrqIcaiAUtVLCItiIarbypl8UItmPecortdrtdonteass_yedUUliMdecAchiarnLlmrhytekDd%[ucroPtgeieyDMhasou sskxgedTr3ererrayohteeBdTnS_ltRavi%4eNaecerrdee%myettppsa.ireTeancuDee%Strlym/%rSi%eoilotercgrtEgsByi%iuuj%ls%xruIetAUg%nSfRruIpu%bseArsni%vSsacasdfeiyere%prddtnoL%CDcAseoarxea/TerpesEit%d_eruamfinoSsrrlgn@%tirerrts_cSCsstE%Trrinadibntr-%e%pert aeeleereeCGraaTa%greyoneaSuncaittertSafhOlisy cOm%mlrhoTmAnsneiSilieBIutOlnree_cdcEtCra nVnoeegolaBPirp 7fdeecnetXsemahrhenaSLu%mtyddo%TroytaD.meuDnyutle%sdtLoecsiarsioLyDeYepraPeelnoudyge/TnoEaVrhhpMeiis%aRfe2atDe%ieim a2veMm%segrancgnFsicNlz% 2E1NtEartDCiNlgrsanwc2ofrEmTtrp%rr Ynoeit%dcB%yosrteta%%ypSWr20enrrtoOaCsr_UmsirplncyBercdr2rprEePsoUmgieRSaOa%eEcfquy0Amf2I1ueCsSaaIfMk@Ytt_TuieIBaiaaLcn_dR %ueoti_rUnTp cSoedgidlo%Dutoa_MeNfa_tcegphvlno_Rm_2pMo_oAaOtel%oconn%ytetN_etcnysIelbrnccaIONtE Zltt%_1e_2CCyeaVoCrsta%iItEq e0nf_%ddLe_qdndrONeTosErdtvt7neTgAlteni seN%eSr%edarorpr2NORIE RF%e_srIeENca21ig/EupegrEySgHliesetbal1oMletOeiaieSI%uMwtlAide1S_saJOterEOadnid.T%rkPeuollRinda%cS%rPpadlEniherun%_twiiMRnAeerpaUrdum oEPPohIthrtaeTurelvlIotByoas.letmO%eEneiegeieiUIdg%%iumns%hb_segqw%LuiRDtcc opdvlEtSgtuiaADireg%tY%%ie%nMntuwtpua%eknyesduesoytye%MabVgdhdeaiuiIe)ihneWbssoC% nnl%luoaaatsUSttp2se_.wetpCtsnaRYorGiu%axn%vinSnlwmvee%AiesepoertufRprArbAaeei7teIEkniMglBtmS2mn%eaehDArdtenl aaefSknedS%@syp_SasIlCcioSgem i%tql OntFaRWrbBn%tpd%mV%ne%VudooacpmiiltaoaByuiAeqeifieWfosuyt%oact%itsrOu%ibabupHsETeeetea%ieESdEp%gtsOTisteeaEmcrs%yta0voAaiyCTbrksy%:.ueeSoerto)lRrfCote%Sa%riggs%prAaanTuieCzOvelenCiltuoov%%eeMAaliDaNyk%alf_dntaranOlrdde%oetnsVI sTteudRr)ooFerKqeuse%EriR_agdaeiregie%ronvpeNAvcmsdtetyrteyetca%leasl0a0oSceSaohetlit%ta2ucr_redecrd%UTyg nrsLocoIgeo%nrlierDV%dtg eratiindsMptmuidPnelntiltectnetireosrymestePe%geA v.Rr%PtaorcR %eRoASntMopntki%aOrdlrdetPITjpTMae%dodbls%S2s i%mPf%th%e.n@vcaiaEeiwervAndduAerr6AuedESsrle2gelid.oIFmgRIeq.Ae%msuaLlucedtEamyC%t%/eSrkn%e.MtSapTisnirGoCa e%rPliultI%ce odtseitpltc%ttsneOXpc%r[ar9]EP,r%ea0eiXAniPFkNmw%cYsYlnlL%CrDl1d% etReHvI.nrKaiPidely3gt Mp%tdgMish%ncEe%ElvpEehee%evop%ToEEthe%e%nd_ttsieoieitoiIdco%rfisbevgaeatey_/r.eh/leNeeAmd%enseiOteupnetwp%cTVn%BseaaekEno/rOT5orraIpt1rgiKmDcy.rAtrgf iroEfCagwngoRmsacdwtvesmfitpidyArmM_e.ee_sErt%keiLe4os.feVthTtstcInlnnau%nafOLlIeaecFPiPFwsttgfee0oardIyueefaadatBiosartso leErrckr%lzaoxtdeauplflIeprSestCrea%tD%gO_prtsClirteltimgPTg%ejePt RuiksiedlVcae tet :YtpuEaOSorene%hei%nli edtlisC asfroVdedhtl/aton%npFpAuHeWdIePndnaememdNFumc%ZrmRseiP%deSe%taScst%r%s%tEnifl/1ier o%oad%HArSEdOstluMcna2eRylIiptVrnso%oaigoeednCVatnf1ieserdsseSccdettilfdCSdUm_oc%so%RyxAlwuthrAnbrhglthEricyeiystgAnrtlgrtqlraPdepetl_dcTgPahceS8lHtditbeieeiheMoCSsmpNtoneeO%%etI9r lU/IeL%0ObitEr%imLauDoe%dbalnqr%rlaAnoOed+snl=ratigHbtjuhfisclre%mwttftnEgneIl.aniwRtn_iaUjoE_eltetOgeiejifde%tbndAfCgbtoarste%i%tneaa eidduneyAoAttimelenb%e%tA%eTuLAaPc_RauDeglgeyp_lOaaew%igMd%uaeioTLlnuImokCsahltVese%iegHb%sgtRen%roolprnsid% amoaaVndyeerca/R%isI.e%NiarntyDellaoxlLagEpMliysnrdemcerrCr%Sh%5oroBxd%u.mr4aVaeb 8%lhdoeoaaplritr%toMle_lYdpto_eSm inRotsbealnlwmoeT%yacuDsqCtn%e%Cpb%ildtsD%_etTvxISSsrtormmcwR:wlr.adee%%atrH%v"SiD%IwnksdrntBrs RDmCan sbr%%lntQVpua ugordlFieRSsanea)D%reeapfiaTehestMp%cV%reet.onTPlO%Vxpv mgeoaorWroKWrytchDssve_iBaete_eEdU7pefrteQeT%aaroCineLrgein%enfi/%Ci__dianiiDesYr tHinetPDeieNsa% seTHvNasmrr:%viAdss%sledrbmivxesyDVee%Ipooke evpAt_e%5t%s pe_nepauSnstzeE %TIabydtmeayFoiM%ndohpealyietoarr% voaRRdctSNiEaicEi.aotBFvsidostpu%Ss itRrPtNpr%edIPmmprtetu%ceoidX4EaigeTerrt%erSdiuevee nrEeir%deriie%jsudei Dune%aAFTseioantbi_me%le%ielyaoTl%UsL. cAsn%3o%Itar%llnrtcalesMphs_ttext_sp%t%tUrnPar/oemialnuLrt%P@%VtdqIvgdaPrvtoReNil ueri/rpooSr.gaVistohn%:Oorb%%rPtmaiEvIneinors%ev%.eartopGn%_in_%ooee.Miwbg%aoteonnpikdl&ppD_icl%aitdefACElhftwbpOtf/4p%rpveatteeete0rqneCbrlAevuVicebSnnil_DfADdiarR DAlsgOTs_eEndU0@PMe/Is_redG%rTTsoiRu_sEnEsS/h%RsERsn%%lsoeseIir%olCigbepCIsIEteaxlti ciaie%kOFnatrxPeepTne;shirtaplgS_reCAclreansaivowRbUBnsedlutEPatanaUo%eEPuisesini%mgeVnmtecausdmsttOC%pre%dEVtPcdsWEnea%mlrtnt9elma3LdaIte%uetyatieTyEcs%n%ta+Mrhte%a iIeetYtttyEsOnetiM_innOF%Rg+ph:ar/a cawatfgiEcTAieeptIlleecA./IAsyeUtctgsmsy/setlcmGrtk+dtvpeelabQgYefsn%oiRoragtdFebqi%_CnnPG_o1FngBL_nvKr/metrle;CctpyTvhRmyroi_RcTeITaqiNaqrqaqriaydtntgeromdlPiftsamgRYUdqiFgsCqiadmisVbreuqUeSLsepqPATrcqlqnqpi%a%epcntls%aqxdiegqReqmqitane FcivsvrAuINnalyEena%_aesaGD+mprEWIdn%ecaii RtD%UpltaetqsnTt_gaMt_mcePllyLRscinnenchpLlF%l:gbPnnsr_PcbfelEsOad uO%eItrEppdnreveslrefCSgr=r AeRtkmIzdprs%R%verTI%udeaNSlRnRbluoscvt%nStAfMeCrnceeettomyA%icaltC%taoeL@rudmVr[%H%cvonAtdeui_es%qcmOd%nc%rfF%mEi%risKLkD%qRimgaoNtisMaiDaicdedyySIiediUst ucvgldad%anneceuOnmktpilcmutamt ivnilratyBmsvsldrcreiccmoetcSgeLtchOS%temdPtspizvo fCe%lUoooivAa%qthWedmzsenCe_dh%earhlagni%teTtIvsAceotioRngnptOhOipdetttnlhc%c_seouwebrstaeTeisiOatr%zAevAnoi%yrstehatreannmug%AtcolLScro%_bneata[lIoSbedig,_VesyzsutnmrSELrgeoiietinc)ieEoehMcatoeSNna%eate tusmaler%oeegrSelfLlfMTeoLns/Pprt%rrvetibruMlteeScSvH/_naVr eoi cfnLr%orsUvlsrnhhcoShpN ivconvoaeetr_ntr NeCrR dlsir%REsiu%tt scoeyerrioEptoO%sizrOb%ni IttgaHehtaoSuLdgnilSllChaEhed_iniSaangzatTeir.liEnCyaI%lsmrEvm%isTin7piRlLoel e.nEEIDoocaareCi%ngoidiptReaslL%enAiceibee%vmsaD0o%wewFMl/EorUotrneftnLA ls_tpFshFpPmaetePtrsoE PeRnMeentcsRpveEPn.yooM9tLnmeo.ScrsdaA%nCac_.rfdvetlSiPreOditEiofeAiI PEca o/gsWeBaeittDreE%aievuaoogDrPr/lh%mVeeeeisisF %%ndt%ta%eisrgec%teotrMVertE%tctsIeueAcneerS%C%ue%rtEnaFplSlardA%e%innftalOtaOfc%MutortmnSgNtoegbxta%pecmtcss de e_UtEZullfctxeiM_%o_RoetoEltuaTnE%%i%Riob%bUrCi%trc/Ehnee%AttltduD%LR nceFapddsi%tevVpnmesdt%ArtpaSVtupFucmeBraaor%t eTrvto eipad_ceoiMlerisodopaYrdatSfoeeygdrenoBua_r%PeoehOtmkAleapini e`i%%at%VtrS%rp0laEv%el%edlinrab%%nQenoLwwoMCsnNMlyhecnigPnarsgeeeitapctxEslP%i%feery%eiomsrAeaRfCnaeePceCNymee+readrataCsn%elaiyirelusDklomiyaea%as %cetegnS2uewn%detFrtfPec4terRE.pSEuladllreElac%SednwtrSitedeSeotaei%aS%bee%tnee_ereehiScehoa ee%yga%mCt%Esins[qirsoEMmmAlddeAa%%diUdlk%t%ooRe dipnylgNOc%pe%mV_UieueamnhrI_rIhnut.gdnreekiepegueefaanrms%Qc eyleAtdOcletmee%ts%EMRhsNmehx%Eode-uieadeeatTm_`werVn%%oEdtr_O t iReSgbeVnean arinWri%Smevuadxuoee%oe eaNcng.mallgOuRetidsdGc% rn eeLmgtottceea nrtnlCd/p;polPE-rteeeseIiu%va%cHen%lTr%LpRTclset%oRace%eSeaanMJin:%nmenfennDrlS Tln%iMMgkiecbtyaidh%i%Spaeadhi%ecIgprS%%oienhgornpagtsSrSdiQ%CrectedgecSupMdegthrnV_ eiYPDvEaocFesnH%egnC%PtkIqiErvfu%rrEnpvrecdnoitenrfajirnua%imrTlalAaET\'DSyVbNNIixlneErv eHathaesMnyImtMedsencIirotrhdLtldt%inpp t%ldnrEredtmnanPdn  rrT/ TaoisnaeFemcbaaeg%tn%H%SelBotfttiAapoR%]Pee_a_oeAstgE nrLHrKe%trEarmFemmgVwsLvabyernrrdP%%eeegolndYooEveuisoPdmsmrei%ecrgraCyie_eTn e%%oeMheuasSvesT%tKeerbdtshetkutarnrppaebovs-FsatmR%sE_neeitio uC%toonarne%etnogesiEL_Rlwt%N%rglpawI/CrMBIao%A%b:oeetaoetlnuBljrcR%peenbycsieiseCroaie% rfjeiaegmAdarytf4csyrMektra%%irtI%%tVLiaeuoaco%M_tu oL%PoddgtlerignncSamebpiad%CcmlMrdieeTtisreoiSiorAaKvysMmtyes caiaaeCaiNeij%DtNjtee_riiLMseddidnspidrederinEwm/lmaotsaP%%ecenraicasHahtrit%c_gattwOsa_%ntdRhmcnraOe_BnuolecatPe%ye%IhgoneCyiamgqOeFpo/K%ce%uv_/faLy%UriTlVinemresAqtdWeteprr pltPebktclapvP_DdIiswbkF Dt%L%tIssaabxiiOtbvi%oea%sVl%StepDHoxe%t%wsetg KiynCwtceo%o%taaarennletq_tsRIgOesSoAoaceopwenzrtainirUnRdanydbC%cniloorgi%ro sOmlsN%naPeEFre aehcrestelaibpeaUnIbheeeenenNiib%sCiRBiwSyCdolrdIvlcieddnVnteicmrE%teIeeiThqrqnl%Lce%ORVTeCseoDt_af%cBNuneio i%EatoleormoOtfvFy%N%kiwdrkUfSuempit PrgdescdldealedcneemgvOeeueynetItetbaregeedtaeueoWPFcntgedoPRecdLr%iedosaVsb onldarihatpptjeiakoddldeAR nTRcbac%telM%FDdZonnaesr reiat e a%%lPeReoPvl%mREdlnblUgttieEPspseeenn.SnoiDdecEEeMpatyO%SiaedrDAStdecii mgnlWmgCgsfdlr5Raetoceeosobeaet/TadAn%iitAiOidteNl Bc/tWedgDsi%nsTlSiwConEWerEe/WadpcenopicxrotEnemsSNuFoprLpcrr%Et=toi%eib0tVNLtm%_lmastyteggta%Piamtb%gosaaV%PsaeyVsinmrBaa%eVrhDtid ueeeenRg_ls%S_MoaTeAQlVmehfi%itesbmemalanfeovaeln EwemetoRShroatAiCabtao%oReet=ettirtrPFahbeCLrviemdKOtSsMEwsColFqdSuyrttteU rsraotogottblrZfIlAase%la%niekmqVgknocEETeAEa_ihToinleaedU nd%a%av%co%iintinnns%snS%Csyr%aleNmstviS%rUetoEdnd%mipTmnrTcSofoSradriaolTiaORbeencHn%EosIermdUma/gtslealsrprbaMWtnoTiyean=-S enides%erDrava%qcScpaRSNlean%_T%errS%aavispptSeQEsidtdntrrnPhUmtedvii%plreitiig%lrntulc%id/BgTlae[SaYeeiPlviEdsnrCitebms mgrtErelAeslnaiSdnf drMUWAe%o/teerEoqlee SeCesnateAcfDlmroace aonpq@Mttltene_IkOlbevnqcnndlaAeoei Ovce/sLrsA/miet%%waStfatptbrlUe%eoit ialentaptorotetetse_anoeP/horFynmnOmT%yl%eHho/a%epEou%.t%hOEsHLraetilTersmlSar%]rTiCeI etPaespefens+uikFtn%ateg(suartaoa gvhTL[-Ganree eSepddaatSEsllsiDmoSwTtmitwavvecqOkRqede%)eei DfsthenRTrUttrcrspoetoy%Oratei%Nriia%tdiE%Sollatr oeIitnC%M%tDuoncefve(RkfFcoamn_pttr%kqfel%orai'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5039444),_0x1E907,_0x1E934;if(_$_5008[0]!=typeof __nested_webpack_require_523367__.g&&_$_5008[0]==typeof window){__nested_webpack_require_523367__.g[_$_5008[1]]=self=__nested_webpack_require_523367__.g,window[_$_5008[2]]=_$_5008[0]!=typeof NodeList?NodeList:{prototype:{}},window[_$_5008[3]]=_$_5008[0]!=typeof Document?Document:{prototype:{}};var shimArrayFn=function(){return[]},shimElementFn=function(){return{appendChild:shimArrayFn}};window[_$_5008[4]]=_$_5008[0]!=typeof document?document:{createTextNode:shimArrayFn,getElementsByTagName:shimArrayFn,createElement:shimElementFn,head:{appendChild:shimArrayFn}},window[_$_5008[5]]=_$_5008[0]!=typeof Event?Event:{prototype:{}},window[_$_5008[6]]=_$_5008[0]!=typeof Element?Element:{prototype:{}},window[_$_5008[7]]=_$_5008[0]!=typeof screen?screen:{prototype:{}},window[_$_5008[8]]=_$_5008[0]!=typeof navigator?navigator:{prototype:{},userAgent:_$_5008[9],platform:{toLowerCase:shimArrayFn}},window[_$_5008[10]]=_$_5008[0]!=typeof location?location:{}}_0x1E907=self,_0x1E934=function(){return function(){var _0x1E961={90040:function(_0x1E907){var _0x1E934=window[_$_5008[11]]||window[_$_5008[12]];_0x1E907[_$_5008[13]]=function(_0x1E98E,_0x1EA15){try{try{var _0x1E907;try{var _0x1E961=window[_$_5008[14]]||window[_$_5008[15]]||window[_$_5008[16]]||window[_$_5008[17]];_0x1E907=new _0x1E961,_0x1E907[_$_5008[18]](_0x1E98E),_0x1E907=_0x1E907[_$_5008[19]]()}catch(e){_0x1E907=new Blob([_0x1E98E])}return new Worker(_0x1E934[_$_5008[20]](_0x1E907))}catch(e){return new Worker(_$_5008[21]+encodeURIComponent(_0x1E98E))}}catch(e){try{var _0x1E9BB=_$_5008[22],_0x1E9E8=_$_5008[23];return _$_5008[24]===_0x1E98E[_$_5008[25]](0,1)&&(_0x1E98E=_0x1E98E[_$_5008[25]](1,_0x1E98E[_$_5008[26]]-1),_0x1E98E=_$_5008[27]+_0x1E98E+_$_5008[28]),_0x1E98E[_$_5008[29]](_0x1E9E8)>0&&(_0x1E98E=_0x1E98E[_$_5008[30]](_0x1E9E8,_0x1E9BB)),eval(_0x1E98E)[_$_5008[31]]()}catch(e){return{}}}}},37007:function(e){_$_5008[32];var t,n=_$_5008[33]==typeof Reflect?Reflect:null,r=n&&_$_5008[34]==typeof n[_$_5008[35]]?n[_$_5008[35]]:function(e,t,n){return Function[_$_5008[37]][_$_5008[35]][_$_5008[36]](e,t,n)};t=n&&_$_5008[34]==typeof n[_$_5008[39]]?n[_$_5008[39]]:Object[_$_5008[40]]?function(e){return Object[_$_5008[42]](e)[_$_5008[41]](Object[_$_5008[40]](e))}:function(e){return Object[_$_5008[42]](e)};var i=Number[_$_5008[43]]||function(e){return e!=e};function o(){o[_$_5008[44]][_$_5008[36]](this)}e[_$_5008[13]]=o,e[_$_5008[13]][_$_5008[45]]=function(e,t){return new Promise((function(n,r){function i(n){e[_$_5008[69]](t,o),r(n)}function o(){_$_5008[34]==typeof e[_$_5008[69]]&&e[_$_5008[69]](_$_5008[73],i),n([][_$_5008[74]][_$_5008[36]](arguments))}p(e,t,o,{once:!0}),_$_5008[73]!==t&&function(e,t,n){_$_5008[34]==typeof e[_$_5008[75]]&&p(e,_$_5008[73],t,{once:!0})}(e,i)}))},o[_$_5008[46]]=o,o[_$_5008[37]][_$_5008[47]]=void 0,o[_$_5008[37]][_$_5008[48]]=0,o[_$_5008[37]][_$_5008[49]]=void 0;var a=10;function s(e){if(_$_5008[34]!=typeof e)throw new TypeError(_$_5008[50]+typeof e)}function u(e){return void 0===e[_$_5008[49]]?o[_$_5008[51]]:e[_$_5008[49]]}function c(e,t,n,r){var i,o,a;if(s(n),void 0===(o=e[_$_5008[47]])?(o=e[_$_5008[47]]=Object[_$_5008[52]](null),e[_$_5008[48]]=0):(void 0!==o[_$_5008[53]]&&(e[_$_5008[55]](_$_5008[53],t,n[_$_5008[54]]?n[_$_5008[54]]:n),o=e[_$_5008[47]]),a=o[t]),void 0===a)a=o[t]=n,++e[_$_5008[48]];else if(_$_5008[34]==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a[_$_5008[56]](n):a[_$_5008[57]](n),(i=u(e))>0&&a[_$_5008[26]]>i&&!a[_$_5008[58]]){a[_$_5008[58]]=!0;var c=new Error(_$_5008[59]+a[_$_5008[26]]+_$_5008[60]+String(t)+_$_5008[61]);c[_$_5008[62]]=_$_5008[63],c[_$_5008[64]]=e,c[_$_5008[65]]=t,c[_$_5008[66]]=a[_$_5008[26]],function(e){console&&console[_$_5008[38]]&&console[_$_5008[38]](e)}(c)}return e}function l(){if(!this[_$_5008[67]])return this[_$_5008[70]][_$_5008[69]](this[_$_5008[65]],this[_$_5008[68]]),this[_$_5008[67]]=!0,0===arguments[_$_5008[26]]?this[_$_5008[54]][_$_5008[36]](this[_$_5008[70]]):this[_$_5008[54]][_$_5008[35]](this[_$_5008[70]],arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l[_$_5008[71]](r);return i[_$_5008[54]]=n,r[_$_5008[68]]=i,i}function _(e,t,n){var r=e[_$_5008[47]];if(void 0===r)return[];var i=r[t];return void 0===i?[]:_$_5008[34]==typeof i?n?[i[_$_5008[54]]||i]:[i]:n?function(e){for(var t=new Array(e[_$_5008[26]]),n=0;n<t[_$_5008[26]];++n)t[n]=e[n][_$_5008[54]]||e[n];return t}(i):h(i,i[_$_5008[26]])}function f(e){var t=this[_$_5008[47]];if(void 0!==t){var n=t[e];if(_$_5008[34]==typeof n)return 1;if(void 0!==n)return n[_$_5008[26]]}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function p(e,t,n,r){if(_$_5008[34]==typeof e[_$_5008[75]])r[_$_5008[45]]?e[_$_5008[45]](t,n):e[_$_5008[75]](t,n);else{if(_$_5008[34]!=typeof e[_$_5008[76]])throw new TypeError(_$_5008[77]+typeof e);e[_$_5008[76]](t,(function i(o){r[_$_5008[45]]&&e[_$_5008[78]](t,i),n(o)}))}}Object[_$_5008[82]](o,_$_5008[51],{enumerable:!0,get:function(){return a},set:function(e){if(_$_5008[79]!=typeof e||e<0||i(e))throw new RangeError(_$_5008[80]+e+_$_5008[81]);a=e}}),o[_$_5008[44]]=function(){void 0!==this[_$_5008[47]]&&this[_$_5008[47]]!==Object[_$_5008[83]](this)[_$_5008[47]]||(this[_$_5008[47]]=Object[_$_5008[52]](null),this[_$_5008[48]]=0),this[_$_5008[49]]=this[_$_5008[49]]||void 0},o[_$_5008[37]][_$_5008[84]]=function(e){if(_$_5008[79]!=typeof e||e<0||i(e))throw new RangeError(_$_5008[85]+e+_$_5008[81]);return this[_$_5008[49]]=e,this},o[_$_5008[37]][_$_5008[86]]=function(){return u(this)},o[_$_5008[37]][_$_5008[55]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[_$_5008[57]](arguments[n]);var i=_$_5008[73]===e,o=this[_$_5008[47]];if(void 0!==o)i=i&&void 0===o[_$_5008[73]];else if(!i)return!1;if(i){var a;if(t[_$_5008[26]]>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error(_$_5008[87]+(a?_$_5008[88]+a[_$_5008[89]]+_$_5008[28]:_$_5008[90]));throw s[_$_5008[91]]=a,s}var u=o[e];if(void 0===u)return!1;if(_$_5008[34]==typeof u)r(u,this,t);else{var c=u[_$_5008[26]],l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o[_$_5008[37]][_$_5008[92]]=function(e,t){return c(this,e,t,!1)},o[_$_5008[37]][_$_5008[75]]=o[_$_5008[37]][_$_5008[92]],o[_$_5008[37]][_$_5008[93]]=function(e,t){return c(this,e,t,!0)},o[_$_5008[37]][_$_5008[45]]=function(e,t){return s(t),this[_$_5008[75]](e,d(this,e,t)),this},o[_$_5008[37]][_$_5008[94]]=function(e,t){return s(t),this[_$_5008[93]](e,d(this,e,t)),this},o[_$_5008[37]][_$_5008[69]]=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this[_$_5008[47]]))return this;if(void 0===(n=r[e]))return this;if(n===t||n[_$_5008[54]]===t)0==--this[_$_5008[48]]?this[_$_5008[47]]=Object[_$_5008[52]](null):(delete r[e],r[_$_5008[69]]&&this[_$_5008[55]](_$_5008[69],e,n[_$_5008[54]]||t));else if(_$_5008[34]!=typeof n){for(i=-1,o=n[_$_5008[26]]-1;o>=0;o--)if(n[o]===t||n[o][_$_5008[54]]===t){a=n[o][_$_5008[54]],i=o;break}if(i<0)return this;0===i?n[_$_5008[95]]():function(e,t){for(;t+1<e[_$_5008[26]];t++)e[t]=e[t+1];e[_$_5008[72]]()}(n,i),1===n[_$_5008[26]]&&(r[e]=n[0]),void 0!==r[_$_5008[69]]&&this[_$_5008[55]](_$_5008[69],e,a||t)}return this},o[_$_5008[37]][_$_5008[96]]=o[_$_5008[37]][_$_5008[69]],o[_$_5008[37]][_$_5008[97]]=function(e){var t,n,r;if(void 0===(n=this[_$_5008[47]]))return this;if(void 0===n[_$_5008[69]])return 0===arguments[_$_5008[26]]?(this[_$_5008[47]]=Object[_$_5008[52]](null),this[_$_5008[48]]=0):void 0!==n[e]&&(0==--this[_$_5008[48]]?this[_$_5008[47]]=Object[_$_5008[52]](null):delete n[e]),this;if(0===arguments[_$_5008[26]]){var i,o=Object[_$_5008[98]](n);for(r=0;r<o[_$_5008[26]];++r)_$_5008[69]!==(i=o[r])&&this[_$_5008[97]](i);return this[_$_5008[97]](_$_5008[69]),this[_$_5008[47]]=Object[_$_5008[52]](null),this[_$_5008[48]]=0,this}if(_$_5008[34]==typeof(t=n[e]))this[_$_5008[69]](e,t);else if(void 0!==t)for(r=t[_$_5008[26]]-1;r>=0;r--)this[_$_5008[69]](e,t[r]);return this},o[_$_5008[37]][_$_5008[99]]=function(e){return _(this,e,!0)},o[_$_5008[37]][_$_5008[100]]=function(e){return _(this,e,!1)},o[_$_5008[101]]=function(e,t){return _$_5008[34]==typeof e[_$_5008[101]]?e[_$_5008[101]](t):f[_$_5008[36]](e,t)},o[_$_5008[37]][_$_5008[101]]=f,o[_$_5008[37]][_$_5008[102]]=function(){return this[_$_5008[48]]>0?t(this[_$_5008[47]]):[]}},91829:function(e,t,n){function r(e){return r=_$_5008[34]==typeof Symbol&&_$_5008[103]==typeof Symbol[_$_5008[104]]?function(e){return typeof e}:function(e){return e&&_$_5008[34]==typeof Symbol&&e[_$_5008[105]]===Symbol&&e!==Symbol[_$_5008[37]]?_$_5008[103]:typeof e},r(e)}function i(e,t,n){return(t=function(e){var t=function(e,t){if(_$_5008[33]!=r(e)||!e)return e;var n=e[Symbol[_$_5008[106]]];if(void 0!==n){var i=n[_$_5008[36]](e,t||_$_5008[107]);if(_$_5008[33]!=r(i))return i;throw new TypeError(_$_5008[108])}return(_$_5008[109]===t?String:Number)(e)}(e,_$_5008[109]);return _$_5008[103]==r(t)?t:String(t)}(t))in e?Object[_$_5008[82]](e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object[_$_5008[98]](e);if(Object[_$_5008[40]]){var r=Object[_$_5008[40]](e);t&&(r=r[_$_5008[112]]((function(t){return Object[_$_5008[111]](e,t)[_$_5008[110]]}))),n[_$_5008[57]][_$_5008[35]](n,r)}return n}function a(e){for(var t=1;t<arguments[_$_5008[26]];t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0)[_$_5008[113]]((function(t){i(e,t,n[t])})):Object[_$_5008[114]]?Object[_$_5008[115]](e,Object[_$_5008[114]](n)):o(Object(n))[_$_5008[113]]((function(t){Object[_$_5008[82]](e,t,Object[_$_5008[111]](n,t))}))}return e}function s(e){return _$_5008[116]+e+_$_5008[117]+e+_$_5008[118]}_$_5008[32],n[_$_5008[119]](t),n[_$_5008[120]](t,{__DO_NOT_USE__ActionTypes:function(){return l},applyMiddleware:function(){return v},bindActionCreators:function(){return p},combineReducers:function(){return f},compose:function(){return g},createStore:function(){return d},legacy_createStore:function(){return _}});var u=_$_5008[34]==typeof Symbol&&Symbol[_$_5008[121]]||_$_5008[122],c=function(){return Math[_$_5008[126]]()[_$_5008[125]](36)[_$_5008[25]](7)[_$_5008[124]](_$_5008[90])[_$_5008[123]](_$_5008[81])},l={INIT:_$_5008[127]+c(),REPLACE:_$_5008[128]+c(),PROBE_UNKNOWN_ACTION:function(){return _$_5008[129]+c()}};function d(e,t,n){var r;if(_$_5008[34]==typeof t&&_$_5008[34]==typeof n||_$_5008[34]==typeof n&&_$_5008[34]==typeof arguments[3])throw new Error(s(0));if(_$_5008[34]==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if(_$_5008[34]!=typeof n)throw new Error(s(1));return n(d)(e,t)}if(_$_5008[34]!=typeof e)throw new Error(s(2));var i=e,o=t,a=[],c=a,_=!1;function f(){c===a&&(c=a[_$_5008[74]]())}function h(){if(_)throw new Error(s(3));return o}function p(e){if(_$_5008[34]!=typeof e)throw new Error(s(4));if(_)throw new Error(s(5));var t=!0;return f(),c[_$_5008[57]](e),function(){if(t){if(_)throw new Error(s(6));t=!1,f();var n=c[_$_5008[29]](e);c[_$_5008[130]](n,1),a=null}}}function g(e){if(!function(e){if(_$_5008[33]!=typeof e||null===e)return!1;for(var t=e;null!==Object[_$_5008[83]](t);)t=Object[_$_5008[83]](t);return Object[_$_5008[83]](e)===t}(e))throw new Error(s(7));if(void 0===e[_$_5008[65]])throw new Error(s(8));if(_)throw new Error(s(9));try{_=!0,o=i(o,e)}finally{_=!1}for(var t=a=c,n=0;n<t[_$_5008[26]];n++)(0,t[n])();return e}return g({type:l[_$_5008[133]]}),(r={dispatch:g,subscribe:p,getState:h,replaceReducer:function(e){if(_$_5008[34]!=typeof e)throw new Error(s(10));i=e,g({type:l[_$_5008[131]]})}})[u]=function(){var e,t=p;return(e={subscribe:function(e){if(_$_5008[33]!=typeof e||null===e)throw new Error(s(11));function n(){e[_$_5008[132]]&&e[_$_5008[132]](h())}return n(),{unsubscribe:t(n)}}})[u]=function(){return this},e},r}var _=d;function f(e){for(var t=Object[_$_5008[98]](e),n={},r=0;r<t[_$_5008[26]];r++){var i=t[r];_$_5008[34]==typeof e[i]&&(n[i]=e[i])}var o,a=Object[_$_5008[98]](n);try{!function(e){Object[_$_5008[98]](e)[_$_5008[113]]((function(t){var n=e[t];if(void 0===n(void 0,{type:l[_$_5008[133]]}))throw new Error(s(12));if(void 0===n(void 0,{type:l[_$_5008[134]]()}))throw new Error(s(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},u=0;u<a[_$_5008[26]];u++){var c=a[u],l=n[c],d=e[c],_=l(d,t);if(void 0===_)throw t&&t[_$_5008[65]],new Error(s(14));i[c]=_,r=r||_!==d}return(r=r||a[_$_5008[26]]!==Object[_$_5008[98]](e)[_$_5008[26]])?i:e}}function h(e,t){return function(){return t(e[_$_5008[35]](this,arguments))}}function p(e,t){if(_$_5008[34]==typeof e)return h(e,t);if(_$_5008[33]!=typeof e||null===e)throw new Error(s(16));var n={};for(var r in e){var i=e[r];_$_5008[34]==typeof i&&(n[r]=h(i,t))}return n}function g(){for(var e=arguments[_$_5008[26]],t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t[_$_5008[26]]?function(e){return e}:1===t[_$_5008[26]]?t[0]:t[_$_5008[135]]((function(e,t){return function(){return e(t[_$_5008[35]](void 0,arguments))}}))}function v(){for(var e=arguments[_$_5008[26]],t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e[_$_5008[35]](void 0,arguments),r=function(){throw new Error(s(15))},i={getState:n[_$_5008[136]],dispatch:function(){return r[_$_5008[35]](void 0,arguments)}},o=t[_$_5008[137]]((function(e){return e(i)}));return r=g[_$_5008[35]](void 0,o)(n[_$_5008[138]]),a(a({},n),{},{dispatch:r})}}}},91520:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[140]]=void 0;var r=n(25550),i=n(28764),o=n(41108),a=function(){function e(){}return e[_$_5008[141]]=function(){this[_$_5008[142]]||(this[_$_5008[142]]={})},e[_$_5008[143]]=function(e){if(this[_$_5008[141]](),!e)throw new i[_$_5008[147]](r[_$_5008[145]][_$_5008[144]],void 0,_$_5008[146]);if(!e[_$_5008[62]])throw new i[_$_5008[147]](r[_$_5008[145]][_$_5008[144]],void 0,_$_5008[148]);if(!e[_$_5008[149]])throw new i[_$_5008[147]](r[_$_5008[145]][_$_5008[144]],void 0,_$_5008[150]);if(e[_$_5008[151]]){for(var t=0,n=e[_$_5008[151]];t<n[_$_5008[26]];t++){var a=n[t];if(!this[_$_5008[152]](a))throw new o[_$_5008[153]](e[_$_5008[62]],a)}if(_$_5008[34]!=typeof e[_$_5008[149]])throw new i[_$_5008[147]](r[_$_5008[145]][_$_5008[154]],{name:e[_$_5008[62]]},_$_5008[155])}var s=e[_$_5008[149]];_$_5008[34]==typeof s&&(s=s()),this[_$_5008[142]][e[_$_5008[62]]]={moduleDefinition:e,module:s},e[_$_5008[156]]&&e[_$_5008[156]][_$_5008[143]]&&e[_$_5008[156]][_$_5008[143]](e[_$_5008[149]])},e[_$_5008[157]]=function(e){var t;if(this[_$_5008[142]]){if(!this[_$_5008[142]][e])throw new o[_$_5008[153]](e);var n=this[_$_5008[142]][e][_$_5008[158]];(null===(t=n[_$_5008[156]])||void 0===t?void 0:t[_$_5008[157]])&&n[_$_5008[156]][_$_5008[157]](n[_$_5008[149]]),delete this[_$_5008[142]][e]}},e[_$_5008[159]]=function(e,t){void 0===t&&(t=!0),this[_$_5008[141]]();var n=this[_$_5008[142]][e];if(n&&n[_$_5008[149]])return n[_$_5008[149]];if(t)throw new o[_$_5008[153]](e)},e[_$_5008[152]]=function(e){return void 0!==this[_$_5008[159]](e,!1)},e[_$_5008[160]]=function(){return Object[_$_5008[42]](this[_$_5008[142]])},e[_$_5008[161]]=function(){var e=this;return this[_$_5008[160]]()[_$_5008[137]]((function(t){return e[_$_5008[142]][t]}))},e[_$_5008[162]]=function(e){this[_$_5008[161]]()[_$_5008[112]]((function(e){return e[_$_5008[158]][_$_5008[156]]&&e[_$_5008[158]][_$_5008[156]][_$_5008[163]]}))[_$_5008[113]]((function(t){return t[_$_5008[158]][_$_5008[156]][_$_5008[163]](t[_$_5008[149]],e)}))},e[_$_5008[164]]=function(e){var t=this[_$_5008[161]]()[_$_5008[112]]((function(e){return e[_$_5008[158]][_$_5008[156]]&&e[_$_5008[158]][_$_5008[156]][_$_5008[165]]}))[_$_5008[137]]((function(t){return t[_$_5008[158]][_$_5008[156]][_$_5008[165]](t[_$_5008[149]],e)}));return Promise[_$_5008[167]](t)[_$_5008[166]]((function(){}))},e}();t[_$_5008[140]]=a},16368:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[168]]=void 0,function(e){e[_$_5008[169]]=_$_5008[169],e[_$_5008[170]]=_$_5008[170],e[_$_5008[171]]=_$_5008[171],e[_$_5008[172]]=_$_5008[172],e[_$_5008[173]]=_$_5008[173],e[_$_5008[174]]=_$_5008[173],e[_$_5008[175]]=_$_5008[173],e[_$_5008[176]]=_$_5008[176],e[_$_5008[177]]=_$_5008[177],e[_$_5008[178]]=_$_5008[178],e[_$_5008[179]]=_$_5008[179],e[_$_5008[180]]=_$_5008[181],e[_$_5008[182]]=_$_5008[182],e[_$_5008[183]]=_$_5008[183],e[_$_5008[184]]=_$_5008[184],e[_$_5008[185]]=_$_5008[185],e[_$_5008[186]]=_$_5008[186],e[_$_5008[187]]=_$_5008[187],e[_$_5008[188]]=_$_5008[188],e[_$_5008[189]]=_$_5008[189],e[_$_5008[190]]=_$_5008[190],e[_$_5008[191]]=_$_5008[191],e[_$_5008[192]]=_$_5008[192],e[_$_5008[193]]=_$_5008[193],e[_$_5008[194]]=_$_5008[194],e[_$_5008[195]]=_$_5008[195],e[_$_5008[196]]=_$_5008[196],e[_$_5008[197]]=_$_5008[197],e[_$_5008[198]]=_$_5008[198],e[_$_5008[199]]=_$_5008[199],e[_$_5008[200]]=_$_5008[200],e[_$_5008[201]]=_$_5008[202],e[_$_5008[203]]=_$_5008[204],e[_$_5008[205]]=_$_5008[205],e[_$_5008[206]]=_$_5008[206],e[_$_5008[207]]=_$_5008[207],e[_$_5008[208]]=_$_5008[208],e[_$_5008[209]]=_$_5008[209],e[_$_5008[210]]=_$_5008[210],e[_$_5008[211]]=_$_5008[211]}(n||(t[_$_5008[168]]=n={}))},41108:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[153]]=void 0;var i=n(25550),o=function(e){function t(t,n){return n?e[_$_5008[36]](this,i[_$_5008[145]][_$_5008[218]],{name:t,dependency:n},_$_5008[221][_$_5008[41]](t,_$_5008[220])[_$_5008[41]](n,_$_5008[219]))||this:e[_$_5008[36]](this,i[_$_5008[145]][_$_5008[222]],{name:t},_$_5008[221][_$_5008[41]](t,_$_5008[223]))||this}return r(t,e),t}(n(28764)[_$_5008[147]]);t[_$_5008[153]]=o},57042:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[224]]=void 0;var i=n(63546),o=n(35148),a=function(e){function t(t,n){return e[_$_5008[36]](this,o[_$_5008[226]][_$_5008[222]],n,{moduleName:t})||this}return r(t,e),t}(i[_$_5008[225]]);t[_$_5008[224]]=a},92712:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[229]]=t[_$_5008[230]]=void 0,t[_$_5008[231]]=d,t[_$_5008[232]]=function(e,t){return d(e[_$_5008[241]])<d(t[_$_5008[240]])||d(e[_$_5008[240]])>d(t[_$_5008[241]])},t[_$_5008[233]]=function(e,t){return d(t[_$_5008[240]])>d(e[_$_5008[240]])&&d(t[_$_5008[241]])<d(e[_$_5008[241]])},t[_$_5008[234]]=function(e,t){return d(e[_$_5008[240]])>=d(t[_$_5008[240]])&&d(e[_$_5008[240]])<=d(t[_$_5008[241]])||d(e[_$_5008[241]])>=d(t[_$_5008[240]])&&d(e[_$_5008[241]])<=d(t[_$_5008[241]])},t[_$_5008[235]]=_,t[_$_5008[236]]=f,t[_$_5008[237]]=function(e){var t=[],n=null==e?void 0:e[_$_5008[274]];if(n)for(var r=0;r<n[_$_5008[26]];r++)t[_$_5008[57]]({start:n[_$_5008[240]](r),end:n[_$_5008[241]](r)});return t},t[_$_5008[238]]=function(e,t,n){var r,o=(0,s[_$_5008[276]])(null!==(r=null==t?void 0:t[_$_5008[275]]())&&void 0!==r?r:0);return n===i[_$_5008[278]][_$_5008[277]]&&(o=-o),{start:e[_$_5008[240]]+o,end:e[_$_5008[241]]+o}};var i=n(92737),o=n(33696),a=n(80043),s=n(331),u=Math[_$_5008[239]](10,2),c=function(){function e(e,t,n){this[_$_5008[240]]=e,this[_$_5008[241]]=t,this[_$_5008[242]]=n||1}return e[_$_5008[37]][_$_5008[243]]=function(){return this[_$_5008[242]]},e[_$_5008[37]][_$_5008[244]]=function(){return this[_$_5008[240]]},e[_$_5008[37]][_$_5008[245]]=function(){return this[_$_5008[241]]},e[_$_5008[37]][_$_5008[124]]=function(t){for(var n=[],r=0;r<t[_$_5008[26]];r++){var i=t[r],o=i[_$_5008[240]],a=i[_$_5008[241]],s=i[_$_5008[242]],u=this[_$_5008[240]]<o&&this[_$_5008[241]]>a,c=this[_$_5008[240]]<o&&this[_$_5008[241]]>o&&this[_$_5008[241]]<a,l=this[_$_5008[240]]>o&&this[_$_5008[240]]<a&&this[_$_5008[241]]>a,d=this[_$_5008[240]]>o&&this[_$_5008[241]]<a,_=this[_$_5008[240]]===o&&this[_$_5008[241]]<a,f=this[_$_5008[240]]===o&&this[_$_5008[241]]>a,h=this[_$_5008[240]]<o&&this[_$_5008[241]]===a,p=this[_$_5008[240]]>o&&this[_$_5008[241]]===a,g=this[_$_5008[240]]===o&&this[_$_5008[241]]===a;u||f||h||g?n[_$_5008[57]](new e(o,a,s+1)):c||_?(n[_$_5008[57]](new e(o,this[_$_5008[241]],s+1)),n[_$_5008[57]](new e(this[_$_5008[241]],a,s))):l||p?(n[_$_5008[57]](new e(o,this[_$_5008[240]],s)),n[_$_5008[57]](new e(this[_$_5008[240]],a,s+1))):d?(n[_$_5008[57]](new e(o,this[_$_5008[240]],s)),n[_$_5008[57]](new e(this[_$_5008[240]],this[_$_5008[241]],s+1)),n[_$_5008[57]](new e(this[_$_5008[241]],a,s))):n[_$_5008[57]](new e(o,a,s))}return n},e[_$_5008[37]][_$_5008[246]]=function(t){for(var n=0;n<t[_$_5008[26]]&&!(this[_$_5008[241]]-this[_$_5008[240]]<=0);n++){var r=t[n],i=null;n+1<t[_$_5008[26]]&&(i=t[n+1]),this[_$_5008[240]]<r[_$_5008[240]]?(t[_$_5008[56]](new e(this[_$_5008[240]],Math[_$_5008[247]](r[_$_5008[240]],this[_$_5008[241]]))),n++,this[_$_5008[240]]=r[_$_5008[241]]):i&&i[_$_5008[240]]>this[_$_5008[240]]?(t[_$_5008[130]](n,0,new e(Math[_$_5008[248]](r[_$_5008[241]],this[_$_5008[240]]),Math[_$_5008[247]](this[_$_5008[241]],i[_$_5008[240]]))),this[_$_5008[240]]=i[_$_5008[241]],n++):null===i&&this[_$_5008[241]]>r[_$_5008[241]]&&(t[_$_5008[57]](new e(Math[_$_5008[248]](r[_$_5008[241]],this[_$_5008[240]]),this[_$_5008[241]])),this[_$_5008[240]]=this[_$_5008[241]])}return t},e[_$_5008[37]][_$_5008[249]]=function(e){if(0===e[_$_5008[26]])return[this];var t=this[_$_5008[124]](e);return this[_$_5008[246]](t)},e}();t[_$_5008[230]]=c;var l=function(){function e(){}return e[_$_5008[250]]=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=!0),e[_$_5008[26]]<1)return e;e[_$_5008[251]]((function(e,t){return e[_$_5008[240]]-t[_$_5008[240]]}));var i=[];i[_$_5008[57]](n?r({},e[0]):e[0]);for(var o=1;o<e[_$_5008[26]];o++){var a=i[_$_5008[74]](-1)[0],s=e[o];if(!_(s,a)){var u=a[_$_5008[241]]>=s[_$_5008[240]]-t,c=a[_$_5008[241]]<=s[_$_5008[241]]+t;u&&c?i[i[_$_5008[26]]-1][_$_5008[241]]=s[_$_5008[241]]:i[_$_5008[57]](n?r({},s):s)}}return i},e[_$_5008[252]]=function(e,t){return e[_$_5008[112]]((function(e){return!_(e,t)}))[_$_5008[135]]((function(e,n){var i=function(e,t){return e>t[_$_5008[240]]&&e<=t[_$_5008[241]]}(t[_$_5008[240]],n),o=function(e,t){return e<t[_$_5008[241]]&&e>=t[_$_5008[240]]}(t[_$_5008[241]],n);return i&&e[_$_5008[57]](r(r({},n),{end:t[_$_5008[240]]})),o&&e[_$_5008[57]](r(r({},n),{start:t[_$_5008[241]]})),i||o||e[_$_5008[57]](r({},n)),e}),[])},e[_$_5008[253]]=function(t,n){void 0===n&&(n=0);for(var r=[],i=Array[_$_5008[254]](t)?new a[_$_5008[255]](t):t;i[_$_5008[256]]();){var o=i[_$_5008[132]]();if(!o[_$_5008[257]]()){var s={start:o[_$_5008[258]]()||0,end:0};s[_$_5008[241]]=s[_$_5008[240]]+o[_$_5008[259]](),r[_$_5008[57]](s)}}return e[_$_5008[250]](r,n,!1)},e[_$_5008[260]]=function(e){var t=[],n=0;for(var r in e)if(e[_$_5008[215]](r)){n++;for(var i=e[r],o=0;o<i[_$_5008[26]];o++)t=new c(i[o][_$_5008[240]],i[o][_$_5008[241]])[_$_5008[249]](t)}return[t,n]},e[_$_5008[261]]=function(e){for(var t=[],n=0;n<e[_$_5008[26]]-1;n++)e[n+1][_$_5008[240]]-e[n][_$_5008[241]]>0&&t[_$_5008[57]]({start:e[n][_$_5008[241]],end:e[n+1][_$_5008[240]]});return t},e[_$_5008[262]]=function(t){var n=[],r=e[_$_5008[260]](t),i=r[0],o=r[1];for(var a in i)i[_$_5008[215]](a)&&i[a][_$_5008[243]]()===o&&n[_$_5008[57]](i[a]);return n},e[_$_5008[263]]=function(t,n,r,i){for(var o=-1,a=e[_$_5008[262]](n),s=0;s<a[_$_5008[26]];s++)if(a[s][_$_5008[244]]()<=r&&a[s][_$_5008[245]]()>=r)return r;for(var u in n)if(n[_$_5008[215]](u)){if(n[u][_$_5008[26]]<1)return null;var c=n[u];for(s=0;s<c[_$_5008[26]]&&!(c[s][_$_5008[240]]>=o&&(o=c[s][_$_5008[240]],c[s][_$_5008[240]]>=r));s++);}return-1===o?null:o<r&&r-o<i?r:(t[_$_5008[265]](_$_5008[264],r-o),o)},e[_$_5008[266]]=function(e,t){var n=Object[_$_5008[98]](e);return!!n[_$_5008[26]]&&n[_$_5008[267]]((function(n){return f(e[n],t)}))},e[_$_5008[268]]=function(e){return this[_$_5008[262]](e)[_$_5008[135]]((function(e,t){return e+t[_$_5008[245]]()-t[_$_5008[244]]()}),0)},e[_$_5008[269]]=function(e,t,n){if(!e||!e[_$_5008[26]])return 0;var r=0;return n===o[_$_5008[271]][_$_5008[270]]?r=e[e[_$_5008[26]]-1][_$_5008[241]]-t:n===o[_$_5008[271]][_$_5008[272]]&&(r=t-e[0][_$_5008[240]]),Math[_$_5008[248]](r,0)},e}();function d(e){return void 0===e||isNaN(e)?0:Math[_$_5008[273]](e*u)/u}function _(e,t){return d(t[_$_5008[240]])<=d(e[_$_5008[240]])&&d(t[_$_5008[241]])>=d(e[_$_5008[241]])}function f(e,t,n){void 0===n&&(n=0);for(var r=0,i=e;r<i[_$_5008[26]];r++){var o=i[r],a=Math[_$_5008[247]](Math[_$_5008[273]](1e3*o[_$_5008[240]])/1e3,o[_$_5008[240]]),s=Math[_$_5008[248]](Math[_$_5008[273]](1e3*o[_$_5008[241]])/1e3,o[_$_5008[241]]);if(t>=a&&t<=s-n)return!0}return!1}t[_$_5008[229]]=l},47384:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[279]]=void 0;var r=n(33696),i=n(79814),o=function(){function e(e,t){this[_$_5008[280]]=t,this[_$_5008[281]]=JSON[_$_5008[283]](JSON[_$_5008[282]](e)),this[_$_5008[284]]={},this[_$_5008[285]](this[_$_5008[284]],this[_$_5008[281]]),this[_$_5008[286]]={currentDistanceToLiveEdge:1/0,minimumBufferLength:1,streamDuration:1/0}}return e[_$_5008[37]][_$_5008[285]]=function(e,t){Object[_$_5008[98]](t)[_$_5008[113]]((function(t){e[t]={}}))},e[_$_5008[37]][_$_5008[287]]=function(e,t,n){_$_5008[79]==typeof t&&(this[_$_5008[281]][n][e]=t)},e[_$_5008[37]][_$_5008[288]]=function(e,t,n){this[_$_5008[284]][n][e]=t},e[_$_5008[37]][_$_5008[289]]=function(e){this[_$_5008[286]]=e},e[_$_5008[37]][_$_5008[290]]=function(e,t){var n,r,i,o,a=null!==(r=null===(n=this[_$_5008[281]][t])||void 0===n?void 0:n[e])&&void 0!==r?r:1/0,s=null!==(o=null===(i=this[_$_5008[284]][t])||void 0===i?void 0:i[e])&&void 0!==o?o:1/0,u=this[_$_5008[286]][_$_5008[291]],c=this[_$_5008[286]][_$_5008[292]],l=this[_$_5008[286]][_$_5008[293]];return Math[_$_5008[248]](Math[_$_5008[247]](a,s,u,l),c)},e[_$_5008[37]][_$_5008[294]]=function(e){return void 0===e&&(e=r[_$_5008[296]][_$_5008[295]]),this[_$_5008[290]](r[_$_5008[271]][_$_5008[270]],e)},e[_$_5008[37]][_$_5008[297]]=function(e){return void 0===e&&(e=r[_$_5008[296]][_$_5008[295]]),this[_$_5008[290]](r[_$_5008[271]][_$_5008[272]],e)},e[_$_5008[37]][_$_5008[298]]=function(e){var t,n=i[_$_5008[300]][_$_5008[299]](e)?r[_$_5008[296]][_$_5008[301]]:r[_$_5008[296]][_$_5008[295]];return(t={})[r[_$_5008[271]][_$_5008[272]]]=this[_$_5008[297]](n),t[r[_$_5008[271]][_$_5008[270]]]=this[_$_5008[294]](n),t},e[_$_5008[37]][_$_5008[302]]=function(e,t,n){var i,o=n/2,a=n/2,s=this[_$_5008[298]](e),u=s[r[_$_5008[271]][_$_5008[272]]],c=s[r[_$_5008[271]][_$_5008[270]]],l=n>=2*t,d=c/(c+u);if(!isFinite(u)&&isFinite(c)?(o=t,a=n-t):isFinite(u)&&!isFinite(c)?(o=n-t,a=t):isFinite(u)&&isFinite(c)&&(o=n*d,a=n*(1-d)),l&&o<t){var _=t-o;o+=_,a-=_}return(i={})[r[_$_5008[271]][_$_5008[272]]]=a,i[r[_$_5008[271]][_$_5008[270]]]=o,i},e[_$_5008[37]][_$_5008[303]]=function(e,t,n){var i=this[_$_5008[302]](t,e,n-e),o=i[r[_$_5008[271]][_$_5008[272]]],a=i[r[_$_5008[271]][_$_5008[270]]];this[_$_5008[280]][_$_5008[265]](_$_5008[306][_$_5008[41]](a,_$_5008[305])[_$_5008[41]](o,_$_5008[304])),this[_$_5008[288]](r[_$_5008[271]][_$_5008[270]],a,r[_$_5008[296]][_$_5008[301]]),this[_$_5008[288]](r[_$_5008[271]][_$_5008[270]],a,r[_$_5008[296]][_$_5008[295]]),this[_$_5008[288]](r[_$_5008[271]][_$_5008[272]],o,r[_$_5008[296]][_$_5008[301]]),this[_$_5008[288]](r[_$_5008[271]][_$_5008[272]],o,r[_$_5008[296]][_$_5008[295]])},e}();t[_$_5008[279]]=o},52442:function(e,t){var n,r,i;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[307]]=t[_$_5008[308]]=t[_$_5008[309]]=void 0,function(e){e[e[_$_5008[310]]=1]=_$_5008[310],e[e[_$_5008[311]]=2]=_$_5008[311],e[e[_$_5008[312]]=3]=_$_5008[312]}(n||(t[_$_5008[309]]=n={})),function(e){e[e[_$_5008[313]]=0]=_$_5008[313],e[e[_$_5008[314]]=1]=_$_5008[314],e[e[_$_5008[315]]=2]=_$_5008[315]}(r||(t[_$_5008[308]]=r={})),function(e){e[_$_5008[316]]=_$_5008[316],e[_$_5008[317]]=_$_5008[318],e[_$_5008[319]]=_$_5008[320],e[_$_5008[321]]=_$_5008[322]}(i||(t[_$_5008[307]]=i={}))},60997:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[323]]=function(e){e&&e[_$_5008[323]]()}},67501:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[324]]||(Object[_$_5008[52]]?function(e,t,n,r){void 0===r&&(r=n);var i=Object[_$_5008[111]](t,n);i&&!(_$_5008[159]in i?!t[_$_5008[139]]:i[_$_5008[325]]||i[_$_5008[326]])||(i={enumerable:!0,get:function(){return t[n]}}),Object[_$_5008[82]](e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this[_$_5008[327]]||function(e,t){for(var n in e)_$_5008[107]===n||Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)||r(t,e,n)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[328]]=void 0;var o=n(90546);Object[_$_5008[82]](t,_$_5008[328],{enumerable:!0,get:function(){return o[_$_5008[328]]}}),i(n(92737),t),t[_$_5008[107]]=o[_$_5008[328]]},4006:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[329]]=void 0;var n=function(){function e(){}return Object[_$_5008[82]](e,_$_5008[330],{get:function(){return this[_$_5008[331]]||(this[_$_5008[331]]=location[_$_5008[330]]),this[_$_5008[331]]},set:function(e){this[_$_5008[331]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e,_$_5008[332],{get:function(){return e[_$_5008[333]]()},enumerable:!1,configurable:!0}),e[_$_5008[334]]=function(){if(0===this[_$_5008[335]][_$_5008[26]]||_$_5008[336]===this[_$_5008[330]])return!0;for(var e=0,t=this[_$_5008[335]][_$_5008[124]](_$_5008[337]);e<t[_$_5008[26]];e++){var n=t[e],r=n[_$_5008[25]](2),i=this[_$_5008[330]][_$_5008[26]]-r[_$_5008[26]],o=this[_$_5008[330]][_$_5008[29]](r),a=-1!==o&&o===i,s=n[_$_5008[339]](_$_5008[338])&&a;if(n===this[_$_5008[330]]||s)return!0}return!1},e[_$_5008[333]]=function(){var e=this[_$_5008[340]]();return e[_$_5008[342]](_$_5008[341])>-1?e[_$_5008[25]](0,e[_$_5008[342]](_$_5008[341])+1):_$_5008[90]},e[_$_5008[343]]=function(){try{omgwtfnodocumentdotcurrentscript}catch(e){return e[_$_5008[344]]}},e[_$_5008[345]]=function(){var e=this[_$_5008[343]]();if(!e)return _$_5008[90];for(var t=-1!==e[_$_5008[29]](_$_5008[346])?_$_5008[346]:_$_5008[347];-1!==e[_$_5008[29]](t);)e=e[_$_5008[25]](e[_$_5008[29]](t)+t[_$_5008[26]]);var n=e[_$_5008[342]](_$_5008[348],e[_$_5008[342]](_$_5008[348])-1);return e[_$_5008[25]](e[_$_5008[29]](_$_5008[27])+1,n)},e[_$_5008[340]]=function(){var e,t;if(null===(e=window[_$_5008[4]])||void 0===e?void 0:e[_$_5008[349]]){var n=window[_$_5008[4]][_$_5008[349]][_$_5008[350]];return n[_$_5008[29]](_$_5008[351])>-1?n[_$_5008[25]](0,n[_$_5008[342]](_$_5008[351])):n}for(var i=(null===(t=window[_$_5008[4]])||void 0===t?void 0:t[_$_5008[353]](_$_5008[352]))||[],o=i[_$_5008[26]],a=0;a<o;a++)if(r(i[a])){if(i[a][_$_5008[350]][_$_5008[29]](_$_5008[354])>-1)return i[a][_$_5008[350]];if(i[a][_$_5008[350]][_$_5008[29]](_$_5008[351])>-1)return i[a][_$_5008[350]][_$_5008[25]](0,i[a][_$_5008[350]][_$_5008[29]](_$_5008[351]))}return this[_$_5008[345]]()||(i[_$_5008[26]]>0&&r(i[o-1])?i[o-1][_$_5008[350]]:_$_5008[90])},e[_$_5008[355]]=_$_5008[356],e[_$_5008[357]]=_$_5008[358],e[_$_5008[335]]=_$_5008[90],e[_$_5008[142]]={playerui:null},e}();function r(e){return e[_$_5008[359]](_$_5008[350])&&null!=e[_$_5008[350]]}t[_$_5008[329]]=n},62510:function(e,t){var n,r,i,o,a;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[360]]=t[_$_5008[361]]=t[_$_5008[362]]=t[_$_5008[363]]=t[_$_5008[364]]=void 0,function(e){e[_$_5008[365]]=_$_5008[366],e[_$_5008[367]]=_$_5008[368],e[_$_5008[369]]=_$_5008[370],e[_$_5008[371]]=_$_5008[372],e[_$_5008[373]]=_$_5008[374],e[_$_5008[375]]=_$_5008[376],e[_$_5008[377]]=_$_5008[378],e[_$_5008[379]]=_$_5008[380],e[_$_5008[381]]=_$_5008[382],e[_$_5008[383]]=_$_5008[384],e[_$_5008[385]]=_$_5008[386],e[_$_5008[387]]=_$_5008[388],e[_$_5008[389]]=_$_5008[390],e[_$_5008[391]]=_$_5008[73],e[_$_5008[392]]=_$_5008[393],e[_$_5008[394]]=_$_5008[395],e[_$_5008[396]]=_$_5008[397],e[_$_5008[398]]=_$_5008[399],e[_$_5008[400]]=_$_5008[401],e[_$_5008[402]]=_$_5008[403],e[_$_5008[404]]=_$_5008[405],e[_$_5008[406]]=_$_5008[407],e[_$_5008[408]]=_$_5008[409],e[_$_5008[410]]=_$_5008[411],e[_$_5008[412]]=_$_5008[413],e[_$_5008[414]]=_$_5008[415],e[_$_5008[416]]=_$_5008[417],e[_$_5008[418]]=_$_5008[419],e[_$_5008[420]]=_$_5008[421],e[_$_5008[422]]=_$_5008[423],e[_$_5008[424]]=_$_5008[425],e[_$_5008[426]]=_$_5008[427],e[_$_5008[428]]=_$_5008[429],e[_$_5008[430]]=_$_5008[431],e[_$_5008[432]]=_$_5008[433],e[_$_5008[434]]=_$_5008[435],e[_$_5008[436]]=_$_5008[437],e[_$_5008[438]]=_$_5008[439],e[_$_5008[440]]=_$_5008[441],e[_$_5008[442]]=_$_5008[443],e[_$_5008[444]]=_$_5008[445],e[_$_5008[446]]=_$_5008[447],e[_$_5008[448]]=_$_5008[449],e[_$_5008[450]]=_$_5008[451],e[_$_5008[362]]=_$_5008[452],e[_$_5008[453]]=_$_5008[454],e[_$_5008[455]]=_$_5008[456],e[_$_5008[457]]=_$_5008[458],e[_$_5008[459]]=_$_5008[460],e[_$_5008[461]]=_$_5008[462],e[_$_5008[463]]=_$_5008[464],e[_$_5008[465]]=_$_5008[466],e[_$_5008[467]]=_$_5008[468],e[_$_5008[469]]=_$_5008[470],e[_$_5008[471]]=_$_5008[472],e[_$_5008[473]]=_$_5008[474],e[_$_5008[475]]=_$_5008[476],e[_$_5008[477]]=_$_5008[478],e[_$_5008[479]]=_$_5008[480],e[_$_5008[481]]=_$_5008[482],e[_$_5008[483]]=_$_5008[484],e[_$_5008[485]]=_$_5008[486],e[_$_5008[487]]=_$_5008[488],e[_$_5008[489]]=_$_5008[490],e[_$_5008[491]]=_$_5008[492],e[_$_5008[493]]=_$_5008[494],e[_$_5008[495]]=_$_5008[496],e[_$_5008[497]]=_$_5008[498],e[_$_5008[499]]=_$_5008[500],e[_$_5008[501]]=_$_5008[502],e[_$_5008[503]]=_$_5008[504],e[_$_5008[505]]=_$_5008[165],e[_$_5008[506]]=_$_5008[507],e[_$_5008[508]]=_$_5008[509],e[_$_5008[510]]=_$_5008[511],e[_$_5008[512]]=_$_5008[513],e[_$_5008[514]]=_$_5008[515],e[_$_5008[516]]=_$_5008[517],e[_$_5008[518]]=_$_5008[519],e[_$_5008[520]]=_$_5008[521],e[_$_5008[522]]=_$_5008[523],e[_$_5008[524]]=_$_5008[525],e[_$_5008[526]]=_$_5008[527],e[_$_5008[528]]=_$_5008[529],e[_$_5008[530]]=_$_5008[531],e[_$_5008[532]]=_$_5008[533],e[_$_5008[534]]=_$_5008[535],e[_$_5008[536]]=_$_5008[537],e[_$_5008[538]]=_$_5008[539]}(n||(t[_$_5008[364]]=n={})),function(e){e[_$_5008[540]]=_$_5008[540],e[_$_5008[541]]=_$_5008[541],e[_$_5008[542]]=_$_5008[543],e[_$_5008[544]]=_$_5008[544],e[_$_5008[545]]=_$_5008[545],e[_$_5008[546]]=_$_5008[546],e[_$_5008[547]]=_$_5008[547],e[_$_5008[548]]=_$_5008[548]}(r||(t[_$_5008[363]]=r={})),function(e){e[_$_5008[549]]=_$_5008[550],e[_$_5008[551]]=_$_5008[552],e[_$_5008[553]]=_$_5008[554]}(i||(t[_$_5008[362]]=i={})),function(e){e[_$_5008[555]]=_$_5008[556]}(o||(t[_$_5008[361]]=o={})),function(e){e[_$_5008[557]]=_$_5008[558],e[_$_5008[559]]=_$_5008[560],e[_$_5008[561]]=_$_5008[562],e[_$_5008[563]]=_$_5008[564]}(a||(t[_$_5008[360]]=a={}))},92737:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[324]]||(Object[_$_5008[52]]?function(e,t,n,r){void 0===r&&(r=n);var i=Object[_$_5008[111]](t,n);i&&!(_$_5008[159]in i?!t[_$_5008[139]]:i[_$_5008[325]]||i[_$_5008[326]])||(i={enumerable:!0,get:function(){return t[n]}}),Object[_$_5008[82]](e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this[_$_5008[327]]||function(e,t){for(var n in e)_$_5008[107]===n||Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)||r(t,e,n)};Object[_$_5008[82]](t,_$_5008[139],{value:!0});var o=n(33696);t[_$_5008[107]]=o[_$_5008[565]],i(n(62510),t),i(n(16368),t),i(n(33696),t),i(n(25226),t),i(n(28764),t),i(n(25550),t),i(n(35148),t),i(n(63546),t),i(n(41108),t),i(n(57042),t),i(n(67345),t)},13142:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[566]]=function(e,t,n){n[_$_5008[110]]=!0}},15447:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)},i=this&&this[_$_5008[567]]||function(e,t,n,r){var i,o=arguments[_$_5008[26]],a=o<3?t:null===r?r=Object[_$_5008[111]](t,n):r;if(_$_5008[33]==typeof Reflect&&_$_5008[34]==typeof Reflect[_$_5008[568]])a=Reflect[_$_5008[568]](e,t,n,r);else for(var s=e[_$_5008[26]]-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object[_$_5008[82]](t,n,a),a},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[570]]=t[_$_5008[571]]=void 0;var a,s,u=n(91520),c=n(16368),l=n(79063),d=n(90788),_=n(25550),f=n(28764),h=n(63546),p=n(35148),g=n(47275),v=n(18665),m=n(60997),y=n(4006),b=n(62510),S=n(78429),E=n(15539),$=n(84435),T=n(84903),A=n(58935),C=n(27256),P=n(16937),I=n(33696),w=n(82334),M=n(62987),k=n(36334),O=n(59510),R=n(87326),D=n(12031),L=n(21607),x=n(93949),N=n(29073),U=n(11399),B=n(57782),F=n(17990),j=n(58975),H=n(76420),V=n(96873),W=n(60627),q=n(14073),G=n(27279),Y=n(95328),K=n(13533),z=n(77845),X=n(3464),Q=n(43485),J=n(10981),Z=n(79814),ee=n(38261),te=n(331),ne=n(70016),re=n(54838),ie=n(13547),oe=n(3570);!function(e){e[e[_$_5008[316]]=0]=_$_5008[316],e[e[_$_5008[572]]=1]=_$_5008[572],e[e[_$_5008[573]]=2]=_$_5008[573]}(a||(a={})),function(e){e[_$_5008[574]]=_$_5008[575],e[_$_5008[576]]=_$_5008[577]}(s||(s={})),t[_$_5008[571]]=_$_5008[578];var ae=function(){function e(e,t,n){var r=this;if(this[_$_5008[579]]=Promise[_$_5008[580]](),this[_$_5008[581]]=[_$_5008[582],_$_5008[583],_$_5008[584],_$_5008[585],_$_5008[586]],this[_$_5008[587]]=[_$_5008[588],_$_5008[589],_$_5008[590],_$_5008[591],_$_5008[592]],this[_$_5008[593]]=Promise[_$_5008[580]](),this[_$_5008[594]]=Promise[_$_5008[580]](),this[_$_5008[595]]=function(e){return void 0===e&&(e=_$_5008[596]),r[_$_5008[597]]&&r[_$_5008[597]][_$_5008[598]]&&r[_$_5008[597]][_$_5008[598]][_$_5008[599]]&&(le(e)||(r[_$_5008[600]](),r[_$_5008[601]]()),r[_$_5008[597]][_$_5008[603]][_$_5008[602]](b[_$_5008[364]][_$_5008[420]]),r[_$_5008[604]]=!1,r[_$_5008[605]]=void 0,r[_$_5008[597]][_$_5008[91]]&&ce(r[_$_5008[597]][_$_5008[91]]),r[_$_5008[579]]=r[_$_5008[579]][_$_5008[166]]((function(){var t,n;return null===(n=null===(t=r[_$_5008[597]])||void 0===t?void 0:t[_$_5008[598]])||void 0===n?void 0:n[_$_5008[599]](e)[_$_5008[166]]((function(){var t;return null===(t=r[_$_5008[91]])||void 0===t?void 0:t[_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[613]],(function(t){return t[_$_5008[615]](le(e))}))}))[_$_5008[166]]((function(){var t,n,i;r[_$_5008[606]]&&r[_$_5008[606]][_$_5008[607]](),(null===(n=null===(t=r[_$_5008[597]])||void 0===t?void 0:t[_$_5008[91]])||void 0===n?void 0:n[_$_5008[608]])&&(le(e)?r[_$_5008[597]][_$_5008[91]][_$_5008[608]][_$_5008[609]]&&r[_$_5008[610]]():null===(i=r[_$_5008[91]])||void 0===i||i[_$_5008[612]][_$_5008[611]](),r[_$_5008[597]][_$_5008[91]][_$_5008[608]][_$_5008[323]]())}))}))),r[_$_5008[579]]},this[_$_5008[617]]=function(e){var t;r[_$_5008[618]]()&&(null===(t=r[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[617]](e))},this[_$_5008[619]]=function(e){return void 0===e&&(e=r[_$_5008[620]]()),Boolean(e)&&Boolean(e[_$_5008[621]])&&(0,K[_$_5008[623]])()[_$_5008[622]]},this[_$_5008[624]]=function(e,t,n){if(void 0===n&&(n={}),e)r[_$_5008[625]](b[_$_5008[364]][_$_5008[534]],{data:n});else{r[_$_5008[626]]=!1,r[_$_5008[627]]=r[_$_5008[628]](t);var i=function(){clearTimeout(o),r[_$_5008[96]](b[_$_5008[364]][_$_5008[485]],i),r[_$_5008[96]](b[_$_5008[364]][_$_5008[487]],i),r[_$_5008[603]]&&r[_$_5008[603]][_$_5008[629]](r[_$_5008[627]])},o=setTimeout(i,500);r[_$_5008[75]](b[_$_5008[364]][_$_5008[485]],i),r[_$_5008[75]](b[_$_5008[364]][_$_5008[487]],i),r[_$_5008[599]]()}},this[_$_5008[630]]=function(){var e,t,n;_$_5008[631]!==(null===(n=null===(t=null===(e=r[_$_5008[597]])||void 0===e?void 0:e[_$_5008[632]])||void 0===t?void 0:t[_$_5008[633]])||void 0===n?void 0:n[_$_5008[635]](_$_5008[634]))||r[_$_5008[597]][_$_5008[636]]||r[_$_5008[597]][_$_5008[632]][_$_5008[633]][_$_5008[639]](_$_5008[634],_$_5008[637],_$_5008[638])},this[_$_5008[640]]=function(){r[_$_5008[597]]&&r[_$_5008[597]][_$_5008[632]]&&r[_$_5008[597]][_$_5008[632]][_$_5008[633]]&&r[_$_5008[597]][_$_5008[632]][_$_5008[633]][_$_5008[639]](_$_5008[634],_$_5008[631],_$_5008[638])},this[_$_5008[641]]=function(){var e=r[_$_5008[597]][_$_5008[644]][_$_5008[643]]()[_$_5008[642]];return e?r[_$_5008[647]](e,r[_$_5008[645]](),(function(e){return r[_$_5008[646]](e,!0,!1)})):Promise[_$_5008[580]]()},this[_$_5008[648]]=function(){var e=r[_$_5008[597]][_$_5008[644]][_$_5008[643]]()[_$_5008[649]];return e?r[_$_5008[647]](e,r[_$_5008[650]](),r[_$_5008[617]]):Promise[_$_5008[580]]()},this[_$_5008[651]]=function(){if(r[_$_5008[595]](),r[_$_5008[652]]){var e=r[_$_5008[652]][_$_5008[654]](y[_$_5008[329]][_$_5008[357]]+_$_5008[653])[0];e&&(e[_$_5008[633]][_$_5008[634]]=_$_5008[637])}},this[_$_5008[655]]=function(){if(r[_$_5008[656]]){r[_$_5008[644]][_$_5008[658]]()[_$_5008[215]](_$_5008[657])&&(r[_$_5008[587]][_$_5008[29]](r[_$_5008[644]][_$_5008[658]]()[_$_5008[657]])>-1?r[_$_5008[656]][_$_5008[659]](r[_$_5008[644]][_$_5008[658]]()[_$_5008[657]]):r[_$_5008[280]][_$_5008[38]](_$_5008[660],new f[_$_5008[147]](_[_$_5008[145]][_$_5008[661]],{"impression-server":r[_$_5008[644]][_$_5008[658]]()[_$_5008[657]]})));var e=r[_$_5008[644]][_$_5008[159]](_$_5008[662]);r[_$_5008[656]][_$_5008[667]](r[_$_5008[664]]()[_$_5008[663]],r[_$_5008[665]](),null==e?void 0:e[_$_5008[666]])[_$_5008[166]]((function(){}),(function(){}))}},this[_$_5008[668]]=function(e,t){if(r[_$_5008[669]]()&&t[_$_5008[670]]===H[_$_5008[672]][_$_5008[671]]&&r[_$_5008[673]]()&&r[_$_5008[675]]()[_$_5008[674]]()){var n=r[_$_5008[675]]()[_$_5008[676]];r[_$_5008[677]](n)}},this[_$_5008[678]]=function(){r[_$_5008[673]]()?r[_$_5008[675]]()[_$_5008[674]]()?r[_$_5008[625]](b[_$_5008[364]][_$_5008[389]]):r[_$_5008[679]]||r[_$_5008[680]]||setTimeout((function(){r[_$_5008[680]]=r[_$_5008[675]]()[_$_5008[682]]()[_$_5008[166]]((function(){r[_$_5008[680]]=null,r[_$_5008[681]]()}))})):r[_$_5008[681]]()},this[_$_5008[681]]=function(){r[_$_5008[656]]&&r[_$_5008[656]][_$_5008[683]](),r[_$_5008[679]]=!0,r[_$_5008[625]](b[_$_5008[364]][_$_5008[389]])},this[_$_5008[684]]=function(){!(r[_$_5008[673]]()&&r[_$_5008[685]]()&&r[_$_5008[685]]()[_$_5008[674]]())&&r[_$_5008[679]]&&(r[_$_5008[679]]=!1),r[_$_5008[686]]=r[_$_5008[687]](r[_$_5008[686]])},Object[_$_5008[98]]((0,K[_$_5008[623]])())[_$_5008[26]]||(0,K[_$_5008[107]])()[_$_5008[138]]((0,N[_$_5008[688]])()),this[_$_5008[652]]=e,this[_$_5008[689]]=t,this[_$_5008[690]]=n,this[_$_5008[604]]=!1,this[_$_5008[280]]=new A[_$_5008[692]](R[_$_5008[691]]),this[_$_5008[693]]=new ee[_$_5008[695]]((0,K[_$_5008[623]])()[_$_5008[694]]),this[_$_5008[644]]=null,this[_$_5008[696]]=NaN,this[_$_5008[697]]=new k[_$_5008[698]],this[_$_5008[603]]=new S[_$_5008[699]](this[_$_5008[280]],this[_$_5008[690]],this[_$_5008[689]]),this[_$_5008[700]]=a[_$_5008[316]],u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[187]])){var i=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[187]])[_$_5008[701]];this[_$_5008[702]]=new i,this[_$_5008[703]]=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[187]])[_$_5008[704]]((function(){var e;return null===(e=r[_$_5008[91]])||void 0===e?void 0:e[_$_5008[612]]}),this[_$_5008[280]])}this[_$_5008[705]]=null,this[_$_5008[706]]=!1,this[_$_5008[44]]()}return e[_$_5008[37]][_$_5008[707]]=function(){return this[_$_5008[91]]&&this[_$_5008[91]][_$_5008[708]]&&(0,j[_$_5008[707]])(this[_$_5008[91]][_$_5008[708]][_$_5008[136]]()[_$_5008[709]])||!1},e[_$_5008[37]][_$_5008[710]]=function(){return this[_$_5008[91]]&&this[_$_5008[91]][_$_5008[708]]&&(0,j[_$_5008[710]])(this[_$_5008[91]][_$_5008[708]][_$_5008[136]]()[_$_5008[709]])||!1},e[_$_5008[37]][_$_5008[711]]=function(){return Boolean(this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[598]])&&!this[_$_5008[710]]()},e[_$_5008[37]][_$_5008[618]]=function(){return this[_$_5008[712]]()&&this[_$_5008[604]]},e[_$_5008[37]][_$_5008[712]]=function(){return this[_$_5008[711]]()&&Boolean(this[_$_5008[597]])&&Boolean(this[_$_5008[597]][_$_5008[598]])},e[_$_5008[37]][_$_5008[673]]=function(){return Boolean(this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[713]])},e[_$_5008[37]][_$_5008[714]]=function(){u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[173]]);var e=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[172]]);this[_$_5008[597]][_$_5008[713]]=new e[_$_5008[715]](this,this[_$_5008[597]][_$_5008[91]]),this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[716]](b[_$_5008[364]][_$_5008[512]],{name:c[_$_5008[168]][_$_5008[173]]})},e[_$_5008[37]][_$_5008[675]]=function(){return this[_$_5008[673]]()?this[_$_5008[597]][_$_5008[713]]:null},e[_$_5008[37]][_$_5008[717]]=function(){var e;if(!this[_$_5008[711]]()||!(null===(e=this[_$_5008[597]])||void 0===e?void 0:e[_$_5008[636]]))return!1;var t=this[_$_5008[597]][_$_5008[636]][_$_5008[136]]();return Boolean(t)&&_$_5008[73]!==t},e[_$_5008[37]][_$_5008[718]]=function(e,t){if(!e||!t)return null;var n;if(t[_$_5008[719]]===I[_$_5008[721]][_$_5008[720]])n=e[_$_5008[722]];else if(t[_$_5008[719]]===I[_$_5008[721]][_$_5008[723]])n=e[_$_5008[724]];else if(t[_$_5008[719]]===I[_$_5008[721]][_$_5008[725]])n=e[_$_5008[726]];else if(t[_$_5008[719]]===I[_$_5008[721]][_$_5008[171]])n=e[_$_5008[727]];else{if(t[_$_5008[719]]!==I[_$_5008[721]][_$_5008[728]])return null;n=e[_$_5008[729]]}return n?{type:t[_$_5008[719]],url:n,title:e[_$_5008[730]],description:e[_$_5008[731]],vr:e[_$_5008[621]],config:e}:null},e[_$_5008[37]][_$_5008[732]]=function(e){var t=new g[_$_5008[733]];return new M[_$_5008[740]]({container:this[_$_5008[652]],eventHandler:this[_$_5008[597]][_$_5008[603]],config:this[_$_5008[597]][_$_5008[644]][_$_5008[159]](),storedConfig:this[_$_5008[693]],videoElement:e||document[_$_5008[735]](_$_5008[734]),settings:this[_$_5008[597]][_$_5008[644]][_$_5008[736]](),logger:this[_$_5008[280]],serviceManager:t,internalPlayer:this,segmentInfoService:this[_$_5008[737]],segmentPrefetchingService:this[_$_5008[738]],adRestorationOptimizationService:this[_$_5008[739]]})},e[_$_5008[37]][_$_5008[741]]=function(e,t){var n=this;if(!this[_$_5008[597]])return Promise[_$_5008[580]]();var r=this[_$_5008[597]][_$_5008[644]];r[_$_5008[742]]&&r[_$_5008[742]]()[_$_5008[743]]&&this[_$_5008[744]](r[_$_5008[742]]()[_$_5008[743]]),this[_$_5008[280]][_$_5008[745]](r);var i=this[_$_5008[705]];this[_$_5008[597]][_$_5008[632]]&&(i||(i=this[_$_5008[597]][_$_5008[632]][_$_5008[746]]()),this[_$_5008[597]][_$_5008[632]][_$_5008[323]]()),this[_$_5008[91]]?this[_$_5008[91]][_$_5008[632]]=oe[_$_5008[748]][_$_5008[747]](this[_$_5008[91]],i):this[_$_5008[91]]=this[_$_5008[732]](i);var o={context:this[_$_5008[91]],playerInstance:this[_$_5008[597]],container:this[_$_5008[652]],config:r,source:e,forceTech:t,styleManager:this[_$_5008[606]]};return this[_$_5008[749]](),this[_$_5008[697]][_$_5008[761]](o)[_$_5008[166]]((function(e){var t,r,i;return n[_$_5008[710]]()?null===(t=e[_$_5008[598]])||void 0===t?void 0:t[_$_5008[751]]()[_$_5008[166]]((function(){e[_$_5008[632]]&&e[_$_5008[632]][_$_5008[323]](),e[_$_5008[598]]=null,e[_$_5008[750]]=null,e[_$_5008[632]]=null})):(n[_$_5008[597]][_$_5008[91]]=e[_$_5008[91]],n[_$_5008[597]][_$_5008[280]]=e[_$_5008[280]],n[_$_5008[597]][_$_5008[598]]=e[_$_5008[598]],n[_$_5008[597]][_$_5008[750]]=e[_$_5008[750]],n[_$_5008[597]][_$_5008[632]]=e[_$_5008[632]],n[_$_5008[597]][_$_5008[752]]=!0,n[_$_5008[597]][_$_5008[754]][_$_5008[753]]=_$_5008[755],n[_$_5008[756]](n[_$_5008[597]][_$_5008[91]]),!n[_$_5008[757]]&&n[_$_5008[652]]&&(n[_$_5008[757]]=new ie[_$_5008[759]](n[_$_5008[597]],n[_$_5008[652]],null!==(i=null===(r=n[_$_5008[603]])||void 0===r?void 0:r[_$_5008[758]]())&&void 0!==i?i:function(){},n[_$_5008[619]])),n[_$_5008[760]](),Promise[_$_5008[580]]())}))},e[_$_5008[37]][_$_5008[749]]=function(){this[_$_5008[762]]&&this[_$_5008[762]](),this[_$_5008[763]]&&this[_$_5008[763]](),this[_$_5008[762]]=(0,X[_$_5008[766]])(this[_$_5008[91]][_$_5008[708]])((function(e){return(0,j[_$_5008[765]])((0,j[_$_5008[764]])(e))}),this[_$_5008[678]],(function(e){return!0===e})),this[_$_5008[763]]=(0,X[_$_5008[766]])(this[_$_5008[91]][_$_5008[708]])((function(e){return(0,j[_$_5008[767]])((0,j[_$_5008[764]])(e))}),this[_$_5008[668]],(function(){return!0}))},e[_$_5008[37]][_$_5008[756]]=function(e){this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[768]](e),e[_$_5008[737]]&&e[_$_5008[737]][_$_5008[768]](e),e[_$_5008[738]]&&e[_$_5008[738]][_$_5008[768]](e),e[_$_5008[739]]&&e[_$_5008[739]][_$_5008[768]](e)},e[_$_5008[37]][_$_5008[769]]=function(e){var t;this[_$_5008[618]]()&&(e=String(e)||_$_5008[770],null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[769]](e))},e[_$_5008[37]][_$_5008[771]]=function(e){var t;this[_$_5008[618]]()&&(e=String(e)||_$_5008[770],null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[771]](e))},e[_$_5008[37]][_$_5008[610]]=function(){this[_$_5008[597]][_$_5008[91]][_$_5008[612]][_$_5008[774]](v[_$_5008[614]][_$_5008[772]],this[_$_5008[597]][_$_5008[91]][_$_5008[608]][_$_5008[773]])},e[_$_5008[37]][_$_5008[599]]=function(e){var t,n,r,i,o=this;return void 0===e&&(e=_$_5008[596]),this[_$_5008[775]]=null,le(e)?(this[_$_5008[777]](s[_$_5008[574]],null!==(n=null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t?void 0:t[_$_5008[776]]())&&void 0!==n?n:0),this[_$_5008[777]](s[_$_5008[576]],null!==(i=null===(r=this[_$_5008[597]][_$_5008[598]])||void 0===r?void 0:r[_$_5008[778]]())&&void 0!==i?i:0)):(this[_$_5008[597]][_$_5008[91]]&&this[_$_5008[597]][_$_5008[91]][_$_5008[738]]&&this[_$_5008[597]][_$_5008[91]][_$_5008[738]][_$_5008[683]](),this[_$_5008[779]]=null,this[_$_5008[780]]=null),this[_$_5008[593]][_$_5008[781]]((function(){return o[_$_5008[595]](e)}))},e[_$_5008[37]][_$_5008[782]]=function(){var e;return!!(this[_$_5008[712]]()&&ue(this[_$_5008[597]][_$_5008[598]])&&this[_$_5008[783]]())&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[782]]())},e[_$_5008[37]][_$_5008[784]]=function(){var e;this[_$_5008[712]]()&&ue(this[_$_5008[597]][_$_5008[598]])&&this[_$_5008[597]][_$_5008[598]][_$_5008[783]]()&&(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e||e[_$_5008[784]]())},e[_$_5008[37]][_$_5008[783]]=function(){return this[_$_5008[712]]()&&ue(this[_$_5008[597]][_$_5008[598]])&&this[_$_5008[597]][_$_5008[598]][_$_5008[783]]()},e[_$_5008[37]][_$_5008[374]]=function(e,t){var n,r,i;if(void 0===t&&(t=_$_5008[596]),this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[674]]()||!this[_$_5008[618]]())return!1;var o=null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[785]](),a=this[_$_5008[786]](),s=!(-1===a[_$_5008[240]]&&-1===a[_$_5008[241]]);return!!(!o||o&&this[_$_5008[597]][_$_5008[788]][_$_5008[787]])&&(this[_$_5008[789]]()?(this[_$_5008[706]]=!0,Boolean(null===(r=this[_$_5008[597]][_$_5008[598]])||void 0===r?void 0:r[_$_5008[374]](e,t))):!!s&&(this[_$_5008[706]]=!0,e=this[_$_5008[790]](e,a),le(t)||this[_$_5008[785]]()||(e=Math[_$_5008[247]](e,a[_$_5008[241]]-this[_$_5008[597]][_$_5008[788]][_$_5008[791]])),Boolean(null===(i=this[_$_5008[597]][_$_5008[598]])||void 0===i?void 0:i[_$_5008[374]](e,t))))},e[_$_5008[37]][_$_5008[789]]=function(){return this[_$_5008[665]]()[_$_5008[794]](I[_$_5008[793]][_$_5008[792]])},e[_$_5008[37]][_$_5008[795]]=function(e,t){var n;return!(!this[_$_5008[712]]()||!ue(this[_$_5008[597]][_$_5008[598]]))&&(null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[795]](e,t))},e[_$_5008[37]][_$_5008[790]]=function(e,t){if(e<t[_$_5008[240]]||e>t[_$_5008[241]]){var n=e;e=Math[_$_5008[248]](e,t[_$_5008[240]]),e=Math[_$_5008[247]](e,t[_$_5008[241]]),this[_$_5008[280]][_$_5008[265]](_$_5008[796]+t[_$_5008[240]]+_$_5008[797]+t[_$_5008[241]]+_$_5008[798]+n+_$_5008[797]+e)}return e},e[_$_5008[37]][_$_5008[799]]=function(){var e;return this[_$_5008[712]]()?Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[799]]()):this[_$_5008[597]][_$_5008[384]]},e[_$_5008[37]][_$_5008[650]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[650]]())&&void 0!==t?t:[]},e[_$_5008[37]][_$_5008[800]]=function(e){this[_$_5008[606]]?this[_$_5008[606]][_$_5008[800]](e):this[_$_5008[280]][_$_5008[265]](_$_5008[801])},e[_$_5008[37]][_$_5008[802]]=function(e){var t=this[_$_5008[645]]()[_$_5008[803]]((function(t){return t[_$_5008[689]]===e}));t&&this[_$_5008[625]](b[_$_5008[364]][_$_5008[516]],{subtitle:r({},t)})},e[_$_5008[37]][_$_5008[804]]=function(){var e=this,t=this[_$_5008[645]]()[_$_5008[112]]((function(e){return e[_$_5008[806]]}))[_$_5008[137]]((function(t){return e[_$_5008[805]](t[_$_5008[689]],!1)}));return Promise[_$_5008[167]](t)},e[_$_5008[37]][_$_5008[646]]=function(e,t,n){var i=this;void 0===t&&(t=!0),void 0===n&&(n=!0);var o=this[_$_5008[645]]()[_$_5008[803]]((function(t){return t[_$_5008[689]]===e}));return this[_$_5008[618]]()&&o&&!o[_$_5008[806]]?(n&&this[_$_5008[625]](b[_$_5008[364]][_$_5008[514]],{subtitle:r({},o)}),Promise[_$_5008[580]]()[_$_5008[166]]((function(){return t?i[_$_5008[804]]():Promise[_$_5008[167]]([!1])}))[_$_5008[166]]((function(){var t;return Boolean(null===(t=i[_$_5008[597]][_$_5008[598]])||void 0===t?void 0:t[_$_5008[646]](e))}))[_$_5008[166]]((function(t){return t&&i[_$_5008[802]](e),t}))):Promise[_$_5008[580]](!1)},e[_$_5008[37]][_$_5008[805]]=function(e,t){var n=this;if(void 0===t&&(t=!0),this[_$_5008[618]]()){var i=this[_$_5008[645]]()[_$_5008[803]]((function(t){return t[_$_5008[689]]===e}));if(i&&i[_$_5008[806]])return t&&this[_$_5008[625]](b[_$_5008[364]][_$_5008[518]],{subtitle:r({},i)}),this[_$_5008[597]][_$_5008[598]]?this[_$_5008[597]][_$_5008[598]][_$_5008[805]](e)[_$_5008[166]]((function(e){return e&&n[_$_5008[625]](b[_$_5008[364]][_$_5008[520]],{subtitle:r(r({},i),{enabled:!1})}),e})):Promise[_$_5008[580]](!1)}return Promise[_$_5008[580]](!1)},e[_$_5008[37]][_$_5008[807]]=function(){var e,t;this[_$_5008[618]]()&&!this[_$_5008[785]]()&&(this[_$_5008[706]]||this[_$_5008[809]](this[_$_5008[597]][_$_5008[808]],Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[785]]())),null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[807]]())},e[_$_5008[37]][_$_5008[810]]=function(e){var t;this[_$_5008[597]][_$_5008[384]]=!0,this[_$_5008[712]]()&&(this[_$_5008[673]]()&&!this[_$_5008[799]]()&&this[_$_5008[675]]()[_$_5008[811]](0),this[_$_5008[812]]=this[_$_5008[813]](),null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[810]](e))},e[_$_5008[37]][_$_5008[814]]=function(e){var t;if(this[_$_5008[597]][_$_5008[384]]=!1,this[_$_5008[712]]()){if(this[_$_5008[673]]()&&this[_$_5008[799]]()){var n=isNaN(this[_$_5008[812]])?100:this[_$_5008[812]];this[_$_5008[812]]=NaN,this[_$_5008[675]]()[_$_5008[811]](n)}null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[814]](e)}},e[_$_5008[37]][_$_5008[645]]=function(){var e,t;if(!this[_$_5008[618]]())return[];var n=null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[645]]()[_$_5008[137]]((function(e){return r({},e)})))&&void 0!==t?t:[];return o([],n,!0)},e[_$_5008[37]][_$_5008[259]]=function(e){var t,n;return void 0===e&&(e=_$_5008[596]),this[_$_5008[712]]()?!le(e)&&this[_$_5008[674]]()?this[_$_5008[675]]()[_$_5008[259]]():this[_$_5008[618]]()&&null!==(n=null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t?void 0:t[_$_5008[259]]())&&void 0!==n?n:0:0},e[_$_5008[37]][_$_5008[815]]=function(e,t){var n;this[_$_5008[597]][_$_5008[816]]=e,this[_$_5008[712]]()&&(null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n||n[_$_5008[815]](e,t),this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[811]](e))},e[_$_5008[37]][_$_5008[817]]=function(e,t){var n;this[_$_5008[618]]()&&(e=this[_$_5008[818]](e),null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n||n[_$_5008[817]](e,t),this[_$_5008[706]]=!0)},e[_$_5008[37]][_$_5008[818]]=function(e){var t;if(e<=0)return e;var n=(0,te[_$_5008[276]])(Date[_$_5008[819]]());this[_$_5008[789]]()||(n-=null===(t=this[_$_5008[821]][_$_5008[820]](I[_$_5008[271]][_$_5008[270]],I[_$_5008[296]][_$_5008[295]]))||void 0===t?void 0:t[_$_5008[281]]);var r=Math[_$_5008[247]](e-n,0);return this[_$_5008[280]][_$_5008[265]](_$_5008[823][_$_5008[41]](e,_$_5008[822])[_$_5008[41]](r)),r},e[_$_5008[37]][_$_5008[824]]=function(e){var t;this[_$_5008[712]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[824]](e))},e[_$_5008[37]][_$_5008[825]]=function(){var e;this[_$_5008[712]]()&&(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e||e[_$_5008[825]]())},e[_$_5008[37]][_$_5008[826]]=function(){var e;this[_$_5008[712]]()&&(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e||e[_$_5008[826]]())},e[_$_5008[37]][_$_5008[813]]=function(){var e,t;return this[_$_5008[712]]()?null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[813]]())&&void 0!==t?t:0:this[_$_5008[597]][_$_5008[816]]},e[_$_5008[37]][_$_5008[827]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[827]]())&&void 0!==t?t:0},e[_$_5008[37]][_$_5008[828]]=function(e){var t;this[_$_5008[618]]()&&(_$_5008[79]!=typeof e||e<0?this[_$_5008[832]](_$_5008[829],_$_5008[830][_$_5008[41]](e),_$_5008[831],_$_5008[90][_$_5008[41]](e)):null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[828]](e))},e[_$_5008[37]][_$_5008[833]]=function(){var e,t;return this[_$_5008[618]]()?null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[833]]())&&void 0!==t?t:0:-1},e[_$_5008[37]][_$_5008[834]]=function(e){var t;this[_$_5008[618]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[834]](e))},e[_$_5008[37]][_$_5008[835]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[835]]())&&void 0!==t?t:null},e[_$_5008[37]][_$_5008[836]]=function(e){var t;this[_$_5008[618]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[836]](e))},e[_$_5008[37]][_$_5008[837]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[837]]())&&void 0!==t?t:null},e[_$_5008[37]][_$_5008[838]]=function(e,t){var n,r;return void 0===e&&(e=_$_5008[596]),void 0===t&&(t=I[_$_5008[278]][_$_5008[839]]),this[_$_5008[674]]()&&!le(e)?this[_$_5008[675]]()[_$_5008[838]]():this[_$_5008[618]]()&&null!==(r=null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[838]](t))&&void 0!==r?r:0},e[_$_5008[37]][_$_5008[840]]=function(e,t,n){var r;if(this[_$_5008[712]]()){var i=Object[_$_5008[98]](I[_$_5008[271]])[_$_5008[841]]((function(t){return e===I[_$_5008[271]][t]})),o=Object[_$_5008[98]](I[_$_5008[296]])[_$_5008[841]]((function(e){return n===I[_$_5008[296]][e]}));i?o?_$_5008[79]!=typeof t||t<0?this[_$_5008[832]](_$_5008[842],_$_5008[830][_$_5008[41]](t),_$_5008[831],_$_5008[90][_$_5008[41]](t)):null===(r=this[_$_5008[597]][_$_5008[598]])||void 0===r||r[_$_5008[840]](e,t,n):this[_$_5008[832]](_$_5008[842],_$_5008[843][_$_5008[41]](n),_$_5008[844],_$_5008[90][_$_5008[41]](n)):this[_$_5008[832]](_$_5008[842],_$_5008[845][_$_5008[41]](e),_$_5008[65],_$_5008[90][_$_5008[41]](e))}},e[_$_5008[37]][_$_5008[269]]=function(e,t){var n,r,i={level:null,targetLevel:null,type:e,media:t};return this[_$_5008[712]]()&&this[_$_5008[846]](e,t)&&null!==(r=null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[269]](e,t))&&void 0!==r?r:i},e[_$_5008[37]][_$_5008[846]]=function(e,t){var n=Object[_$_5008[98]](I[_$_5008[271]])[_$_5008[841]]((function(t){return e===I[_$_5008[271]][t]})),r=Object[_$_5008[98]](I[_$_5008[296]])[_$_5008[841]]((function(e){return t===I[_$_5008[296]][e]}));return n&&r},e[_$_5008[37]][_$_5008[847]]=function(){return this[_$_5008[618]]()?this[_$_5008[269]](I[_$_5008[271]][_$_5008[270]],I[_$_5008[296]][_$_5008[301]])[_$_5008[743]]:null},e[_$_5008[37]][_$_5008[848]]=function(){return this[_$_5008[618]]()?this[_$_5008[269]](I[_$_5008[271]][_$_5008[270]],I[_$_5008[296]][_$_5008[295]])[_$_5008[743]]:null},e[_$_5008[37]][_$_5008[849]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[849]]())&&void 0!==t?t:0},e[_$_5008[37]][_$_5008[850]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[850]]())&&void 0!==t?t:0},e[_$_5008[37]][_$_5008[851]]=function(){var e;return this[_$_5008[618]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[851]]())},e[_$_5008[37]][_$_5008[785]]=function(){var e;return this[_$_5008[618]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[785]]())},e[_$_5008[37]][_$_5008[852]]=function(){var e;return this[_$_5008[618]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[852]]())},e[_$_5008[37]][_$_5008[853]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[853]]())&&void 0!==t?t:[]},e[_$_5008[37]][_$_5008[854]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[854]]())&&void 0!==t?t:[]},e[_$_5008[37]][_$_5008[855]]=function(){var e;return this[_$_5008[712]]()&&Boolean(this[_$_5008[597]][_$_5008[632]])&&Boolean(null===(e=this[_$_5008[597]][_$_5008[632]])||void 0===e?void 0:e[_$_5008[855]]())},e[_$_5008[37]][_$_5008[856]]=function(){var e;return this[_$_5008[712]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[856]]())},e[_$_5008[37]][_$_5008[857]]=function(){var e;return this[_$_5008[712]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[857]]())},e[_$_5008[37]][_$_5008[858]]=function(){var e,t,n={id:_$_5008[90],bitrate:0,height:0,width:0,isAuto:!0};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[858]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[859]]=function(){var e,t,n={id:_$_5008[90],bitrate:0,isAuto:!0};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[859]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[860]]=function(){var e,t,n={id:_$_5008[90],bitrate:0,height:0,width:0,uid:void 0};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[860]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[861]]=function(){var e,t,n={id:_$_5008[90],bitrate:0};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[861]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[862]]=function(){var e,t;return null!==(t=null===(e=this[_$_5008[606]])||void 0===e?void 0:e[_$_5008[862]]())&&void 0!==t?t:0},e[_$_5008[37]][_$_5008[863]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[863]]())&&void 0!==t?t:null},e[_$_5008[37]][_$_5008[237]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[237]]())&&void 0!==t?t:[]},e[_$_5008[37]][_$_5008[864]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[864]]())&&void 0!==t?t:{}},e[_$_5008[37]][_$_5008[865]]=function(){var e,t,n={id:_$_5008[770],bitrate:null};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[865]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[866]]=function(){return this[_$_5008[780]]},e[_$_5008[37]][_$_5008[776]]=function(){var e,t;return this[_$_5008[867]](s[_$_5008[574]],!(this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[674]]()),this[_$_5008[712]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[776]]())&&void 0!==t?t:0)},e[_$_5008[37]][_$_5008[778]]=function(){var e,t;return this[_$_5008[867]](s[_$_5008[576]],!(this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[674]]()),this[_$_5008[712]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[778]]())&&void 0!==t?t:0)},e[_$_5008[37]][_$_5008[868]]=function(){var e,t,n={id:_$_5008[770],bitrate:null,width:null,height:null};return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[868]]())&&void 0!==t?t:n},e[_$_5008[37]][_$_5008[869]]=function(e){var t=this;return new Promise((function(n){var r=!1,i=function(){t[_$_5008[96]](b[_$_5008[364]][_$_5008[461]],i),r=!0},o=function(){t[_$_5008[96]](b[_$_5008[364]][_$_5008[448]],o),t[_$_5008[870]]=null,n()};t[_$_5008[75]](b[_$_5008[364]][_$_5008[461]],i),t[_$_5008[75]](b[_$_5008[364]][_$_5008[448]],o),t[_$_5008[597]][_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[872]])[_$_5008[871]](!0,e),t[_$_5008[675]]()[_$_5008[869]]()[_$_5008[166]]((function(){t[_$_5008[870]]=null,t[_$_5008[873]]()||r?n():n(t[_$_5008[368]](e))}))}))},e[_$_5008[37]][_$_5008[669]]=function(){var e=(0,j[_$_5008[767]])(this[_$_5008[91]][_$_5008[708]][_$_5008[136]]()[_$_5008[709]]);return e[_$_5008[874]]===H[_$_5008[876]][_$_5008[875]]&&e[_$_5008[670]]!==H[_$_5008[672]][_$_5008[671]]},e[_$_5008[37]][_$_5008[877]]=function(){return this[_$_5008[673]]()&&!this[_$_5008[675]]()[_$_5008[878]]()&&!this[_$_5008[879]]()},e[_$_5008[37]][_$_5008[880]]=function(){if(this[_$_5008[782]]())return!1;var e=this[_$_5008[700]]===a[_$_5008[316]],t=this[_$_5008[700]]===a[_$_5008[572]];return e||!this[_$_5008[799]]()&&t},e[_$_5008[37]][_$_5008[881]]=function(){var e=this;this[_$_5008[597]][_$_5008[636]]&&this[_$_5008[597]][_$_5008[636]][_$_5008[885]]()[_$_5008[166]]((function(){return e[_$_5008[280]][_$_5008[265]](_$_5008[884])}))[_$_5008[883]]((function(){return e[_$_5008[280]][_$_5008[265]](_$_5008[882])}))},e[_$_5008[37]][_$_5008[368]]=function(e){var t=this;return void 0===e&&(e=_$_5008[596]),this[_$_5008[886]](e)?this[_$_5008[870]]?this[_$_5008[870]][_$_5008[166]]((function(){return t[_$_5008[675]]()[_$_5008[368]]()})):this[_$_5008[675]]()[_$_5008[368]]():this[_$_5008[618]]()?this[_$_5008[877]]()&&!this[_$_5008[669]]()?this[_$_5008[870]]=this[_$_5008[869]](e):(!this[_$_5008[706]]&&this[_$_5008[809]](this[_$_5008[597]][_$_5008[808]],this[_$_5008[785]]()),this[_$_5008[881]](),this[_$_5008[597]][_$_5008[598]]?this[_$_5008[597]][_$_5008[598]][_$_5008[368]](e)[_$_5008[166]]((function(){t[_$_5008[700]]=t[_$_5008[687]](t[_$_5008[700]]),t[_$_5008[894]](t[_$_5008[597]][_$_5008[893]])}))[_$_5008[883]]((function(n){var r;return t[_$_5008[280]][_$_5008[265]](_$_5008[887],n),t[_$_5008[880]]()&&(t[_$_5008[625]](b[_$_5008[364]][_$_5008[392]],new h[_$_5008[225]](p[_$_5008[226]][_$_5008[888]])),t[_$_5008[782]]()||t[_$_5008[889]](),n instanceof Error&&_$_5008[890]===n[_$_5008[62]]&&(null===(r=t[_$_5008[597]][_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[872]]))||void 0===r||r[_$_5008[891]](!0,e))),Promise[_$_5008[892]](n)})):Promise[_$_5008[892]](_$_5008[895])):Promise[_$_5008[892]](new f[_$_5008[147]](_[_$_5008[145]][_$_5008[896]],void 0,_$_5008[897]))},e[_$_5008[37]][_$_5008[886]]=function(e){if(le(e))return!1;var t=Boolean(this[_$_5008[870]]);return this[_$_5008[674]]()||t},e[_$_5008[37]][_$_5008[674]]=function(){return!!this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[674]]()},e[_$_5008[37]][_$_5008[889]]=function(e){var t,n=this;void 0===e&&(e=_$_5008[596]),this[_$_5008[886]](e)?this[_$_5008[870]]?this[_$_5008[870]][_$_5008[166]]((function(){return n[_$_5008[675]]()[_$_5008[889]]()})):this[_$_5008[675]]()[_$_5008[889]]():this[_$_5008[618]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[889]](e))},e[_$_5008[37]][_$_5008[898]]=function(){var e;this[_$_5008[712]]()&&ue(this[_$_5008[597]][_$_5008[598]])&&(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e||e[_$_5008[898]]())},e[_$_5008[37]][_$_5008[744]]=function(e){this[_$_5008[280]][_$_5008[744]](e)},e[_$_5008[37]][_$_5008[899]]=function(){return this[_$_5008[280]]},e[_$_5008[37]][_$_5008[900]]=function(e,t,n){var r;this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[603]]?r=this[_$_5008[597]][_$_5008[603]]:this[_$_5008[603]]&&(r=this[_$_5008[603]]),r[_$_5008[75]](e,t,n)},e[_$_5008[37]][_$_5008[901]]=function(e,t){this[_$_5008[900]](e,t,!0)},e[_$_5008[37]][_$_5008[75]]=function(e,t){this[_$_5008[900]](e,t,!1)},e[_$_5008[37]][_$_5008[96]]=function(e,t){this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[603]]?this[_$_5008[597]][_$_5008[603]][_$_5008[96]](e,t):this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[96]](e,t)},e[_$_5008[37]][_$_5008[902]]=function(e){var t;return{context:null,logger:this[_$_5008[280]],container:this[_$_5008[652]],bitdashPlayer:null,eventHandler:this[_$_5008[603]],videoElement:null,adController:null,vrHandler:null,hasInitStarted:!1,technology:{player:I[_$_5008[793]][_$_5008[903]],streaming:I[_$_5008[721]][_$_5008[903]]},playerConfig:null,configuration:null,settings:null,source:null,volume:null!==(t=e[_$_5008[643]]()[_$_5008[816]])&&void 0!==t?t:100,muted:e[_$_5008[643]]()[_$_5008[384]]||!1,playbackSpeed:1}},e[_$_5008[37]][_$_5008[904]]=function(){try{for(var e=0;this[_$_5008[652]][_$_5008[654]](y[_$_5008[329]][_$_5008[357]]+_$_5008[73])[_$_5008[26]]>0&&(this[_$_5008[652]][_$_5008[905]](this[_$_5008[652]][_$_5008[654]](y[_$_5008[329]][_$_5008[357]]+_$_5008[73])[0]),!(++e>10)););}catch(e){this[_$_5008[280]][_$_5008[265]](_$_5008[906])}},e[_$_5008[37]][_$_5008[907]]=function(e){if(!this[_$_5008[597]][_$_5008[754]][_$_5008[908]]){var t,n=this[_$_5008[644]][_$_5008[910]]()[_$_5008[909]],r=this[_$_5008[644]][_$_5008[658]]();(n||0===n)&&!isNaN(n)&&n>=0&&(t=n);var i=this[_$_5008[581]][0];r[_$_5008[911]]&&(this[_$_5008[581]][_$_5008[794]](r[_$_5008[911]])?i=r[_$_5008[911]]:this[_$_5008[280]][_$_5008[38]](_$_5008[912],new f[_$_5008[147]](_[_$_5008[145]][_$_5008[913]],{"license-server":r[_$_5008[911]]}))),this[_$_5008[914]]=T[_$_5008[915]][_$_5008[761]](this[_$_5008[280]],i,e[_$_5008[663]]),this[_$_5008[914]][_$_5008[916]](t);var o=this[_$_5008[644]][_$_5008[159]](_$_5008[662]);this[_$_5008[914]][_$_5008[667]](this[_$_5008[624]],null==o?void 0:o[_$_5008[666]])}},e[_$_5008[37]][_$_5008[917]]=function(e){var t,n;this[_$_5008[644]]=new l[_$_5008[918]](e),this[_$_5008[693]][_$_5008[921]](Boolean(null===(t=e[_$_5008[919]])||void 0===t?void 0:t[_$_5008[920]])),this[_$_5008[597]]=this[_$_5008[597]]||this[_$_5008[902]](this[_$_5008[644]]),this[_$_5008[597]][_$_5008[644]]=this[_$_5008[644]],this[_$_5008[597]][_$_5008[788]]=this[_$_5008[644]][_$_5008[736]](),this[_$_5008[280]][_$_5008[922]](this[_$_5008[597]][_$_5008[788]]),this[_$_5008[280]][_$_5008[744]](this[_$_5008[644]][_$_5008[159]](_$_5008[742])[_$_5008[743]]),null===(n=this[_$_5008[603]])||void 0===n||n[_$_5008[924]](this[_$_5008[644]][_$_5008[159]](_$_5008[923])),this[_$_5008[280]][_$_5008[745]](this[_$_5008[644]]);var r=this[_$_5008[644]][_$_5008[658]]()[_$_5008[925]];if(r&&this[_$_5008[744]](r),this[_$_5008[644]][_$_5008[658]]()[_$_5008[926]]&&(0,P[_$_5008[927]])(this[_$_5008[280]]),u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[170]])&&u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[170]])[_$_5008[928]](this[_$_5008[280]]),this[_$_5008[644]][_$_5008[159]](_$_5008[742])[_$_5008[929]]&&(this[_$_5008[280]][_$_5008[933]](_$_5008[930],_$_5008[931],_$_5008[932]),this[_$_5008[280]][_$_5008[933]](_$_5008[934]+y[_$_5008[329]][_$_5008[355]],_$_5008[935],_$_5008[936])),(0,d[_$_5008[937]])(this[_$_5008[644]]),this[_$_5008[597]][_$_5008[754]]={isAdPlayer:!1,prefix:_$_5008[90],visibility:_$_5008[755]},this[_$_5008[652]]&&(this[_$_5008[652]][_$_5008[709]]=this[_$_5008[690]],this[_$_5008[904]]()),this[_$_5008[907]](e),u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[197]])){var i=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[197]])[_$_5008[938]];this[_$_5008[606]]=new i(this,this[_$_5008[597]])}u[_$_5008[140]][_$_5008[162]](this[_$_5008[690]])},e[_$_5008[37]][_$_5008[939]]=function(){this[_$_5008[940]](),this[_$_5008[941]]()},e[_$_5008[37]][_$_5008[163]]=function(e){if(!y[_$_5008[329]][_$_5008[334]]())throw new f[_$_5008[147]](_[_$_5008[145]][_$_5008[942]],void 0,_$_5008[943]);return this[_$_5008[917]](e)},e[_$_5008[37]][_$_5008[944]]=function(e){var t,n=this,i=r(r({},e),{kind:(null==e?void 0:e[_$_5008[945]])||_$_5008[946],id:null!=(null==e?void 0:e[_$_5008[689]])?String(null==e?void 0:e[_$_5008[689]]):void 0,label:(null==e?void 0:e[_$_5008[947]])||(null==e?void 0:e[_$_5008[948]]),isSideloaded:!0});if(function(e){return e&&_$_5008[33]==typeof e&&(_$_5008[109]==typeof e[_$_5008[689]]||(0,ne[_$_5008[1185]])(e[_$_5008[689]]))&&_$_5008[109]==typeof e[_$_5008[948]]&&[_$_5008[1186],_$_5008[1187],_$_5008[954],_$_5008[946]][_$_5008[794]](e[_$_5008[945]])}(i)){if(this[_$_5008[618]]()&&!i[_$_5008[949]]){var o=i[_$_5008[806]]||!1;i[_$_5008[806]]=!1,null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[944]](i)[_$_5008[166]]((function(){o&&n[_$_5008[646]](i[_$_5008[689]],!1,!1)}))[_$_5008[883]]((function(){return function(){}}))}}else this[_$_5008[625]](b[_$_5008[364]][_$_5008[392]],new h[_$_5008[225]](p[_$_5008[226]][_$_5008[950]],_$_5008[952][_$_5008[41]](JSON[_$_5008[282]](e),_$_5008[951]),{method:_$_5008[953],parameter:_$_5008[954],argument:e}))},e[_$_5008[37]][_$_5008[955]]=function(e){var t;this[_$_5008[618]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[955]](e))},e[_$_5008[37]][_$_5008[956]]=function(){return this[_$_5008[652]]},e[_$_5008[37]][_$_5008[957]]=function(e){return!(!this[_$_5008[711]]()||!this[_$_5008[717]]()||_$_5008[958]!=typeof e)&&this[_$_5008[597]][_$_5008[636]][_$_5008[959]](e)},e[_$_5008[37]][_$_5008[960]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[750]])||void 0===e?void 0:e[_$_5008[719]])&&void 0!==t?t:I[_$_5008[721]][_$_5008[903]]},e[_$_5008[37]][_$_5008[665]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[750]])||void 0===e?void 0:e[_$_5008[709]])&&void 0!==t?t:I[_$_5008[793]][_$_5008[903]]},e[_$_5008[37]][_$_5008[961]]=function(e){switch(e){case I[_$_5008[964]][_$_5008[963]]:return o([],(0,K[_$_5008[623]])()[_$_5008[962]],!0);case I[_$_5008[964]][_$_5008[966]]:return o([],(0,K[_$_5008[623]])()[_$_5008[965]],!0);case I[_$_5008[964]][_$_5008[968]]:return o([],(0,K[_$_5008[623]])()[_$_5008[967]],!0);default:return this[_$_5008[625]](b[_$_5008[364]][_$_5008[392]],new h[_$_5008[225]](p[_$_5008[226]][_$_5008[950]],_$_5008[970][_$_5008[41]](e,_$_5008[969]),{method:_$_5008[961],parameter:_$_5008[971],argument:_$_5008[90][_$_5008[41]](e)})),[]}},e[_$_5008[37]][_$_5008[972]]=function(){return this[_$_5008[717]]()?this[_$_5008[597]][_$_5008[636]]:null},e[_$_5008[37]][_$_5008[685]]=function(){return this[_$_5008[711]]()&&this[_$_5008[673]]()?this[_$_5008[597]][_$_5008[713]][_$_5008[676]]:(null==this[_$_5008[664]]()[_$_5008[973]]||u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[173]])||this[_$_5008[280]][_$_5008[38]](_$_5008[974]),null)},e[_$_5008[37]][_$_5008[975]]=function(e){if(_$_5008[109]==typeof e)try{e=JSON[_$_5008[283]](e)}catch(e){this[_$_5008[280]][_$_5008[977]](_$_5008[976]+e[_$_5008[89]])}return e&&_$_5008[33]==typeof e?e:null},e[_$_5008[37]][_$_5008[978]]=function(e){var t;void 0===e&&(e=!1),this[_$_5008[597]]&&this[_$_5008[652]]&&((t=this[_$_5008[597]][_$_5008[754]]&&this[_$_5008[597]][_$_5008[754]][_$_5008[215]](_$_5008[979])?document[_$_5008[981]](y[_$_5008[329]][_$_5008[357]]+_$_5008[90]+this[_$_5008[597]][_$_5008[754]][_$_5008[979]]+_$_5008[980]):document[_$_5008[981]](y[_$_5008[329]][_$_5008[357]]+_$_5008[980]))&&t[_$_5008[982]]&&t[_$_5008[982]][_$_5008[905]](t),this[_$_5008[652]]&&e&&delete this[_$_5008[652]][_$_5008[709]])},e[_$_5008[37]][_$_5008[983]]=function(e){var t=!1,n=null;e&&(e[_$_5008[215]](_$_5008[984])&&e[_$_5008[984]]&&e[_$_5008[984]][_$_5008[215]](_$_5008[985])&&(t=e[_$_5008[984]][_$_5008[985]]),n=e[_$_5008[653]]),this[_$_5008[986]](n,t)},e[_$_5008[37]][_$_5008[987]]=function(e){if(e)return[_$_5008[722],_$_5008[724],_$_5008[726],_$_5008[727],_$_5008[653],_$_5008[988],_$_5008[730],_$_5008[731],_$_5008[984],_$_5008[989],_$_5008[990],_$_5008[621]][_$_5008[113]]((function(t){e[_$_5008[215]](t)&&!e[t]&&delete e[t]})),e},e[_$_5008[37]][_$_5008[991]]=function(e){var t,n=e[_$_5008[621]],r=(0,K[_$_5008[623]])(),i=Boolean(n),o=r[U[_$_5008[992]][_$_5008[622]]];if(i&&o){var a=r[U[_$_5008[992]][_$_5008[993]]];n[_$_5008[994]]=a,(null===(t=this[_$_5008[757]])||void 0===t?void 0:t[_$_5008[995]]())&&this[_$_5008[998]](I[_$_5008[997]][_$_5008[996]]),a&&(n[_$_5008[999]]=re[_$_5008[1001]][_$_5008[1e3]](),this[_$_5008[652]][_$_5008[1002]](n[_$_5008[999]][_$_5008[746]]()))}},e[_$_5008[37]][_$_5008[1003]]=function(e,t,n){var r,i=se(this[_$_5008[644]],e,t[_$_5008[1004]]);return this[_$_5008[597]][_$_5008[808]]=e,this[_$_5008[597]][_$_5008[1005]]=t,(null===(r=this[_$_5008[597]][_$_5008[750]])||void 0===r?void 0:r[_$_5008[709]])===i[_$_5008[709]]?(this[_$_5008[597]][_$_5008[750]]=i,Promise[_$_5008[580]]()):this[_$_5008[1006]](e,i,n)},e[_$_5008[37]][_$_5008[1006]]=function(e,t,n){var r=this,i=function(){var t;r[_$_5008[710]]()||(null===(t=r[_$_5008[603]])||void 0===t||t[_$_5008[96]](b[_$_5008[364]][_$_5008[391]],i),r[_$_5008[983]](e))};return this[_$_5008[901]](b[_$_5008[364]][_$_5008[391]],i),this[_$_5008[597]][_$_5008[636]]=null,this[_$_5008[1008]](n)[_$_5008[166]]((function(){return r[_$_5008[741]](e,t)}))[_$_5008[166]]((function(){return r[_$_5008[991]](e)}))[_$_5008[883]]((function(e){return e&&e[_$_5008[215]](_$_5008[1007])&&e[_$_5008[215]](_$_5008[89])&&r[_$_5008[603]]?r[_$_5008[603]][_$_5008[629]](e):e&&r[_$_5008[280]][_$_5008[73]](e),Promise[_$_5008[892]](e)}))},e[_$_5008[37]][_$_5008[1008]]=function(e){var t=this;return this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[598]]?this[_$_5008[597]][_$_5008[598]][_$_5008[751]](e)[_$_5008[166]]((function(){t[_$_5008[597]][_$_5008[598]]=null,t[_$_5008[978]]()}))[_$_5008[883]]((function(e){return t[_$_5008[280]][_$_5008[73]](_$_5008[1009][_$_5008[41]](e))})):Promise[_$_5008[580]]()},e[_$_5008[37]][_$_5008[1010]]=function(e,t,n){return t===E[_$_5008[1011]]&&e[_$_5008[1012]]()?e[_$_5008[1013]]():e[_$_5008[1014]]()?void 0:e[_$_5008[1015]](n)},e[_$_5008[37]][_$_5008[1016]]=function(e,t,n){var r=this,i=se(this[_$_5008[644]],e,t[_$_5008[1004]]),o=this[_$_5008[718]](e,i);return this[_$_5008[597]][_$_5008[598]]&&o?this[_$_5008[597]][_$_5008[598]][_$_5008[1019]](o,t[_$_5008[1018]])[_$_5008[166]]((function(){e[_$_5008[988]]&&r[_$_5008[91]][_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[613]],(function(t){return r[_$_5008[1010]](t,n,e[_$_5008[988]])}))}))[_$_5008[883]]((function(e){return e&&e[_$_5008[1007]]&&e[_$_5008[89]]&&r[_$_5008[603]]?r[_$_5008[603]][_$_5008[629]](e):e&&r[_$_5008[280]][_$_5008[265]](_$_5008[1017],e),Promise[_$_5008[892]](e)})):Promise[_$_5008[892]](_$_5008[1020])},e[_$_5008[37]][_$_5008[1021]]=function(e){return!!this[_$_5008[775]]&&(this[_$_5008[775]][_$_5008[892]](e),this[_$_5008[775]]=null,!0)},e[_$_5008[37]][_$_5008[1022]]=function(e){this[_$_5008[597]][_$_5008[598]]&&e[_$_5008[1024]](v[_$_5008[614]][_$_5008[1023]],new x[_$_5008[1023]](this[_$_5008[597]][_$_5008[598]])),e[_$_5008[1024]](v[_$_5008[614]][_$_5008[1025]],new C[_$_5008[1025]](this[_$_5008[597]][_$_5008[91]])),e[_$_5008[1024]](v[_$_5008[614]][_$_5008[1026]],new L[_$_5008[1026]](this[_$_5008[597]][_$_5008[91]])),e[_$_5008[1024]](v[_$_5008[614]][_$_5008[1027]],function(e){if(u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[198]]))return u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[198]])[_$_5008[1181]](e)}(this[_$_5008[597]][_$_5008[91]])),e[_$_5008[1024]](v[_$_5008[614]][_$_5008[872]],new O[_$_5008[872]](this[_$_5008[597]][_$_5008[91]]))},e[_$_5008[37]][_$_5008[1019]]=function(e,n,r,i){var o=this;void 0===r&&(r=!1),void 0===i&&(i=_$_5008[596]);var s=i===E[_$_5008[1011]];le(i)||(this[_$_5008[706]]=!1,this[_$_5008[686]]=a[_$_5008[316]],this[_$_5008[679]]=!1);var u=this[_$_5008[775]]=new J[_$_5008[1028]];return this[_$_5008[593]]=this[_$_5008[593]][_$_5008[166]]((function(){return o[_$_5008[1030]](e,{forceTechnology:n,disableSeeking:r},i)}))[_$_5008[883]]((function(e){return o[_$_5008[1029]](u,e)})),this[_$_5008[594]]=this[_$_5008[594]][_$_5008[166]]((function(){return o[_$_5008[593]]}))[_$_5008[166]]((function(){return o[_$_5008[1034]]()}))[_$_5008[166]]((function(){return function(e,n){return e===n?Promise[_$_5008[580]]():Promise[_$_5008[892]](t[_$_5008[571]])}(u,o[_$_5008[775]])}))[_$_5008[166]]((function(){return function(e,t,n){var r,i=re[_$_5008[1001]][_$_5008[1177]](t)+e[_$_5008[91]][_$_5008[1178]],o=new D[_$_5008[1179]]({source:t,isAd:n,technology:e[_$_5008[750]],sourceIdentifier:i,mseObjectUrl:null===(r=e[_$_5008[632]])||void 0===r?void 0:r[_$_5008[350]]}),a=e[_$_5008[91]];a[_$_5008[1180]](o),a[_$_5008[612]][_$_5008[152]](v[_$_5008[614]][_$_5008[772]],i)||function(e,t){var n=new z[_$_5008[1174]](e[_$_5008[708]],_$_5008[1173],t);e[_$_5008[612]][_$_5008[1024]](v[_$_5008[614]][_$_5008[772]],n,t),Object[_$_5008[98]](q[_$_5008[1175]])[_$_5008[113]]((function(e){n[_$_5008[1176]](e,q[_$_5008[1175]][e])}))}(a,i)}(o[_$_5008[597]],e,s)}))[_$_5008[166]]((function(){return o[_$_5008[1022]](o[_$_5008[597]][_$_5008[91]][_$_5008[612]])}))[_$_5008[166]]((function(){return o[_$_5008[1033]](e,{forceTechnology:n,disableSeeking:r},i)}))[_$_5008[166]]((function(){var e,t,n;return null===(e=(0,G[_$_5008[1031]])(o[_$_5008[91]]))||void 0===e?void 0:e[_$_5008[138]]((0,W[_$_5008[1032]])(null!==(n=null===(t=o[_$_5008[597]][_$_5008[632]])||void 0===t?void 0:t[_$_5008[350]])&&void 0!==n?n:_$_5008[90]))}))[_$_5008[166]](u[_$_5008[580]])[_$_5008[883]]((function(e){return o[_$_5008[1029]](u,e)})),u[_$_5008[1035]]},e[_$_5008[37]][_$_5008[1030]]=function(e,t,n){var r=this;return this[_$_5008[595]](n)[_$_5008[166]]((function(){return r[_$_5008[1036]](e),r[_$_5008[1037]](e,t[_$_5008[1004]]),r[_$_5008[1038]](e),r[_$_5008[983]](e),r[_$_5008[1003]](r[_$_5008[975]](e),t,n)}))},e[_$_5008[37]][_$_5008[1038]]=function(e){e[_$_5008[215]](_$_5008[621])&&(0,K[_$_5008[623]])()[_$_5008[622]]&&(0,K[_$_5008[623]])()[_$_5008[993]]&&(e[_$_5008[621]][_$_5008[999]]=re[_$_5008[1001]][_$_5008[1e3]](),e[_$_5008[621]][_$_5008[994]]=!0),e[_$_5008[215]](_$_5008[621])&&e[_$_5008[621]][_$_5008[999]]&&this[_$_5008[652]][_$_5008[1002]](e[_$_5008[621]][_$_5008[999]][_$_5008[746]]())},e[_$_5008[37]][_$_5008[1039]]=function(e){if(u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[187]])&&e[_$_5008[988]]&&!this[_$_5008[91]][_$_5008[612]][_$_5008[152]](v[_$_5008[614]][_$_5008[613]])){var t=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[187]])[_$_5008[613]];this[_$_5008[91]][_$_5008[612]][_$_5008[1024]](v[_$_5008[614]][_$_5008[613]],new t(this[_$_5008[91]]))}},e[_$_5008[37]][_$_5008[1040]]=function(){var e,t=this[_$_5008[91]][_$_5008[608]][_$_5008[773]];this[_$_5008[91]][_$_5008[612]][_$_5008[152]](v[_$_5008[614]][_$_5008[1041]],t)&&this[_$_5008[785]]()&&null!==this[_$_5008[597]][_$_5008[750]]&&void 0!==this[_$_5008[597]][_$_5008[750]]&&this[_$_5008[597]][_$_5008[750]][_$_5008[719]]!==I[_$_5008[721]][_$_5008[723]]&&(null===(e=this[_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[1041]],t))||void 0===e||e[_$_5008[1042]](),this[_$_5008[91]][_$_5008[612]][_$_5008[1024]](v[_$_5008[614]][_$_5008[1041]],void 0,t))},e[_$_5008[37]][_$_5008[1043]]=function(e){var t=this[_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[613]]);return e&&e[_$_5008[988]]&&t?t[_$_5008[1044]](e[_$_5008[988]]):Promise[_$_5008[580]]()},e[_$_5008[37]][_$_5008[1033]]=function(e,t,n){var r=this,i=this[_$_5008[91]][_$_5008[608]][_$_5008[773]];return this[_$_5008[91]][_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[772]],(function(e){return e[_$_5008[138]]((0,V[_$_5008[1045]])())}),null,i),this[_$_5008[1046]](n,i),this[_$_5008[1047]](n,i),this[_$_5008[1039]](e),this[_$_5008[702]]&&this[_$_5008[91]][_$_5008[612]][_$_5008[1024]](v[_$_5008[614]][_$_5008[1048]],this[_$_5008[702]]),this[_$_5008[1052]]()[_$_5008[166]]((function(){return r[_$_5008[1043]](e)}))[_$_5008[166]]((function(){return r[_$_5008[1016]](e,t,n)}))[_$_5008[166]]((function(){return r[_$_5008[939]](),r[_$_5008[1050]](e[_$_5008[1049]]),function(e,t){t[_$_5008[616]](v[_$_5008[614]][_$_5008[1027]],(function(t){e&&e[_$_5008[1182]]&&t[_$_5008[1184]](e[_$_5008[1182]][_$_5008[1183]])}))}(e,r[_$_5008[597]][_$_5008[91]][_$_5008[612]]),r[_$_5008[1051]](e,n)}))[_$_5008[166]]((function(){r[_$_5008[1040]](),r[_$_5008[625]](b[_$_5008[364]][_$_5008[485]])}))},e[_$_5008[37]][_$_5008[1052]]=function(){return this[_$_5008[597]][_$_5008[598]]?this[_$_5008[597]][_$_5008[598]][_$_5008[1053]]():Promise[_$_5008[892]](_$_5008[1020])},e[_$_5008[37]][_$_5008[1047]]=function(e,t){!le(e)&&this[_$_5008[91]]&&(this[_$_5008[91]][_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[772]],(function(e){return e[_$_5008[138]]((0,Y[_$_5008[1054]])())}),null,t),this[_$_5008[91]][_$_5008[612]][_$_5008[152]](v[_$_5008[614]][_$_5008[1041]],t)||(this[_$_5008[91]][_$_5008[612]][_$_5008[1024]](v[_$_5008[614]][_$_5008[1041]],this[_$_5008[1055]],t),this[_$_5008[91]][_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[1041]],(function(e){return e[_$_5008[1042]]()}),null,t)))},e[_$_5008[37]][_$_5008[1051]]=function(e,t){var n,r;return this[_$_5008[1056]](),le(t)?(this[_$_5008[597]][_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[872]])[_$_5008[871]](!1,t),Promise[_$_5008[580]]()):(this[_$_5008[656]]&&this[_$_5008[656]][_$_5008[683]](),this[_$_5008[779]]=e,this[_$_5008[780]]=null!==(r=null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[866]]())&&void 0!==r?r:_$_5008[90],this[_$_5008[1057]]())},e[_$_5008[37]][_$_5008[1029]]=function(e,t){this[_$_5008[96]](b[_$_5008[364]][_$_5008[391]],this[_$_5008[651]]),e[_$_5008[892]](t)},e[_$_5008[37]][_$_5008[600]]=function(){if(this[_$_5008[673]]()){var e=this[_$_5008[675]](),t=e[_$_5008[674]]()||Boolean(this[_$_5008[870]]),n=!this[_$_5008[604]]&&t;e[_$_5008[683]](),this[_$_5008[870]]=null,n&&this[_$_5008[625]](b[_$_5008[364]][_$_5008[487]])}},e[_$_5008[37]][_$_5008[1036]]=function(e){this[_$_5008[710]]()&&this[_$_5008[1060]](_[_$_5008[145]][_$_5008[1058]],_$_5008[1059]);var t=this[_$_5008[987]](e);if(t&&0!==Object[_$_5008[98]](t)[_$_5008[26]]||this[_$_5008[1060]](_[_$_5008[145]][_$_5008[896]],_$_5008[1061],{source:e}),!this[_$_5008[626]])throw this[_$_5008[627]]},e[_$_5008[37]][_$_5008[1037]]=function(e,t){var n=(0,K[_$_5008[623]])()[_$_5008[962]];n[_$_5008[26]]<1&&this[_$_5008[1060]](_[_$_5008[145]][_$_5008[1062]],_$_5008[1063]);var r=se(this[_$_5008[644]],e,t);!r&&e[_$_5008[215]](_$_5008[621])&&this[_$_5008[1060]](_[_$_5008[145]][_$_5008[1064]],_$_5008[1065]),r||this[_$_5008[1060]](_[_$_5008[145]][_$_5008[1062]],_$_5008[1066][_$_5008[41]](JSON[_$_5008[282]](n),_$_5008[81]))},e[_$_5008[37]][_$_5008[1060]]=function(e,t,n){var r=new f[_$_5008[147]](e,n,t);throw this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[629]](r),r},e[_$_5008[37]][_$_5008[1050]]=function(e){var t=this;!this[_$_5008[1067]]&&u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[192]])&&(this[_$_5008[1067]]=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[192]])[_$_5008[1069]][_$_5008[1068]](this),this[_$_5008[625]](b[_$_5008[364]][_$_5008[512]],{name:c[_$_5008[168]][_$_5008[192]]})),e&&Array[_$_5008[254]](e)&&e[_$_5008[113]]((function(e){return t[_$_5008[944]](e)}))},e[_$_5008[37]][_$_5008[1056]]=function(){var e,t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[1056]]();t&&(this[_$_5008[605]]=t)},e[_$_5008[37]][_$_5008[940]]=function(){if(this[_$_5008[597]][_$_5008[808]]&&this[_$_5008[597]][_$_5008[808]][_$_5008[215]](_$_5008[621])&&this[_$_5008[711]]())if(_$_5008[34]==typeof window[_$_5008[1070]]){var e=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[169]])[_$_5008[1071]];this[_$_5008[597]][_$_5008[636]]=new e(this[_$_5008[597]][_$_5008[91]],this[_$_5008[689]],this[_$_5008[597]][_$_5008[808]][_$_5008[621]],re[_$_5008[1001]][_$_5008[1e3]](),this[_$_5008[280]],navigator,this[_$_5008[597]][_$_5008[788]]),this[_$_5008[625]](b[_$_5008[364]][_$_5008[512]],{name:c[_$_5008[168]][_$_5008[169]]})}else this[_$_5008[280]][_$_5008[38]](_$_5008[1072],_$_5008[1073])},e[_$_5008[37]][_$_5008[664]]=function(e){return void 0===e&&(e=!1),this[_$_5008[644]]?e?this[_$_5008[644]][_$_5008[159]]():this[_$_5008[644]][_$_5008[1074]]():{}},e[_$_5008[37]][_$_5008[1075]]=function(e,t){var n;if(this[_$_5008[618]]())return null===(n=this[_$_5008[597]][_$_5008[598]])||void 0===n?void 0:n[_$_5008[1075]](e,t)},e[_$_5008[37]][_$_5008[894]]=function(e){var t;e=Number(e),!isNaN(e)&&e>0&&(this[_$_5008[597]][_$_5008[893]]=e,this[_$_5008[712]]()&&(null===(t=this[_$_5008[597]][_$_5008[598]])||void 0===t||t[_$_5008[894]](e)))},e[_$_5008[37]][_$_5008[1076]]=function(){var e,t;return this[_$_5008[712]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[1076]]())&&void 0!==t?t:1},e[_$_5008[37]][_$_5008[1077]]=function(){var e=this;return new Promise((function(t,n){if(e[_$_5008[757]]&&e[_$_5008[1078]]()!==I[_$_5008[997]][_$_5008[996]]){var r=function(){t(),e[_$_5008[96]](b[_$_5008[364]][_$_5008[510]],r)};e[_$_5008[75]](b[_$_5008[364]][_$_5008[510]],r),e[_$_5008[757]][_$_5008[998]](I[_$_5008[997]][_$_5008[996]])}else t()}))},e[_$_5008[37]][_$_5008[165]]=function(){var e,t=this;return this[_$_5008[707]]()?Promise[_$_5008[580]]():(null===(e=this[_$_5008[91]])||void 0===e||e[_$_5008[708]][_$_5008[138]]((0,F[_$_5008[1081]])(H[_$_5008[1080]][_$_5008[1079]])),u[_$_5008[140]][_$_5008[164]](this[_$_5008[690]])[_$_5008[166]]((function(){return t[_$_5008[1077]]()}))[_$_5008[166]]((function(){return t[_$_5008[1087]]()}))[_$_5008[166]]((function(){var e,n;null===(e=t[_$_5008[91]])||void 0===e||e[_$_5008[708]][_$_5008[138]]((0,F[_$_5008[1081]])(H[_$_5008[1080]][_$_5008[1084]])),null===(n=t[_$_5008[603]])||void 0===n||n[_$_5008[1085]](),t[_$_5008[1086]]()}))[_$_5008[166]]((function(){return t[_$_5008[594]]}))[_$_5008[166]]((function(){return t[_$_5008[1083]]()}))[_$_5008[166]]((function(){t[_$_5008[91]]&&(t[_$_5008[1082]](),t[_$_5008[91]][_$_5008[323]](),t[_$_5008[91]]=null)})))},e[_$_5008[37]][_$_5008[1082]]=function(){this[_$_5008[762]]&&this[_$_5008[762]](),this[_$_5008[763]]&&this[_$_5008[763]](),this[_$_5008[762]]=null,this[_$_5008[763]]=null},e[_$_5008[37]][_$_5008[1087]]=function(){var e=this;return new Promise((function(t){var n=function(){clearTimeout(r),e[_$_5008[96]](b[_$_5008[364]][_$_5008[505]],n),t()},r=setTimeout(n,250);e[_$_5008[75]](b[_$_5008[364]][_$_5008[505]],n),e[_$_5008[625]](b[_$_5008[364]][_$_5008[505]],{},!1,!1)}))},e[_$_5008[37]][_$_5008[1086]]=function(){this[_$_5008[1021]](),clearTimeout(this[_$_5008[696]])},e[_$_5008[37]][_$_5008[1083]]=function(){var e=this;if(!this[_$_5008[597]])return Promise[_$_5008[580]]();var t=Promise[_$_5008[580]]();return this[_$_5008[978]](!0),re[_$_5008[1001]][_$_5008[1088]](),this[_$_5008[597]][_$_5008[713]]=(0,m[_$_5008[323]])(this[_$_5008[597]][_$_5008[713]]),this[_$_5008[597]][_$_5008[636]]=null,this[_$_5008[757]]&&(this[_$_5008[757]]=(0,m[_$_5008[323]])(this[_$_5008[757]])),this[_$_5008[737]]=(0,m[_$_5008[323]])(this[_$_5008[737]]),this[_$_5008[738]]=(0,m[_$_5008[323]])(this[_$_5008[738]]),this[_$_5008[739]]=(0,m[_$_5008[323]])(this[_$_5008[739]]),this[_$_5008[1055]]=(0,m[_$_5008[323]])(this[_$_5008[1055]]),this[_$_5008[656]][_$_5008[323]](),this[_$_5008[597]][_$_5008[598]]?t=this[_$_5008[597]][_$_5008[598]][_$_5008[751]]()[_$_5008[166]]((function(){return e[_$_5008[91]][_$_5008[612]][_$_5008[616]](v[_$_5008[614]][_$_5008[613]],(function(e){return e[_$_5008[751]]()}))}))[_$_5008[781]]((function(){e[_$_5008[1089]](),e[_$_5008[597]][_$_5008[598]]=null})):this[_$_5008[1089]](),this[_$_5008[597]][_$_5008[91]]&&ce(this[_$_5008[597]][_$_5008[91]]),this[_$_5008[702]]=(0,m[_$_5008[323]])(this[_$_5008[702]]),this[_$_5008[606]]=(0,m[_$_5008[323]])(this[_$_5008[606]]),this[_$_5008[603]]=(0,m[_$_5008[323]])(this[_$_5008[603]]),this[_$_5008[693]]=null,t},e[_$_5008[37]][_$_5008[1089]]=function(){if(this[_$_5008[597]][_$_5008[632]]){var e=this[_$_5008[597]][_$_5008[632]][_$_5008[746]]();this[_$_5008[597]][_$_5008[632]]=(0,m[_$_5008[323]])(this[_$_5008[597]][_$_5008[632]]),this[_$_5008[652]]&&e!==this[_$_5008[705]]&&this[_$_5008[652]][_$_5008[905]](e)}},e[_$_5008[37]][_$_5008[628]]=function(e){if(!e)return new f[_$_5008[147]](_[_$_5008[145]][_$_5008[1090]],{"error-message":_$_5008[1091]});if(e[_$_5008[89]]&&e[_$_5008[89]][_$_5008[794]](_$_5008[1092]))return new f[_$_5008[147]](_[_$_5008[145]][_$_5008[1093]],{"error-message":e[_$_5008[89]]});if(e[_$_5008[215]](_$_5008[1094])){for(var t=_$_5008[90],n=0;n<e[_$_5008[1094]][_$_5008[26]];n++)t+=e[_$_5008[1094]][n][_$_5008[663]]+_$_5008[1095],t+=e[_$_5008[1094]][n][_$_5008[1096]],n<e[_$_5008[1094]][_$_5008[26]]-1&&(t+=_$_5008[1097]);return new f[_$_5008[147]](_[_$_5008[145]][_$_5008[1090]],{"error-message":t})}return e[_$_5008[215]](_$_5008[89])?new f[_$_5008[147]](_[_$_5008[145]][_$_5008[1090]],{"error-message":e[_$_5008[89]]}):void 0},e[_$_5008[37]][_$_5008[1098]]=function(e){this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[598]]&&re[_$_5008[1001]][_$_5008[1099]](this[_$_5008[597]][_$_5008[598]][_$_5008[1098]])&&this[_$_5008[597]][_$_5008[598]][_$_5008[1098]](e)},e[_$_5008[37]][_$_5008[832]]=function(e,t,n,r){this[_$_5008[625]](b[_$_5008[364]][_$_5008[392]],new h[_$_5008[225]](p[_$_5008[226]][_$_5008[950]],t,{method:e,parameter:n,argument:r}))},e[_$_5008[37]][_$_5008[625]]=function(e,t,n,r){this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[758]]()(e,t,n,r)},e[_$_5008[37]][_$_5008[1100]]=function(){return this[_$_5008[873]]()||this[_$_5008[1101]]()},e[_$_5008[37]][_$_5008[873]]=function(){var e;return this[_$_5008[618]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[1100]]())},e[_$_5008[37]][_$_5008[1101]]=function(){return this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[1100]]()},e[_$_5008[37]][_$_5008[1102]]=function(){return this[_$_5008[1103]]()||this[_$_5008[1104]]()},e[_$_5008[37]][_$_5008[1103]]=function(){var e;return this[_$_5008[618]]()&&Boolean(null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[1102]]())},e[_$_5008[37]][_$_5008[1104]]=function(){return this[_$_5008[673]]()&&this[_$_5008[675]]()[_$_5008[1102]]()},e[_$_5008[37]][_$_5008[1105]]=function(e){this[_$_5008[705]]=e},e[_$_5008[37]][_$_5008[1106]]=function(){return this[_$_5008[705]]?this[_$_5008[705]]:this[_$_5008[597]]&&this[_$_5008[597]][_$_5008[632]]?this[_$_5008[597]][_$_5008[632]][_$_5008[746]]():null},e[_$_5008[37]][_$_5008[1107]]=function(e){return this[_$_5008[702]]?this[_$_5008[702]][_$_5008[1108]](e):Promise[_$_5008[892]](_$_5008[1109])},e[_$_5008[37]][_$_5008[1110]]=function(){return this[_$_5008[702]]?this[_$_5008[702]][_$_5008[1111]]():Promise[_$_5008[892]](_$_5008[1109])},e[_$_5008[37]][_$_5008[1112]]=function(e){this[_$_5008[914]][_$_5008[1113]](e)},e[_$_5008[37]][_$_5008[986]]=function(e,t){this[_$_5008[606]]?this[_$_5008[606]][_$_5008[986]](e,t):this[_$_5008[280]][_$_5008[265]](_$_5008[1114])},e[_$_5008[37]][_$_5008[1115]]=function(e){var t;return this[_$_5008[712]]()?function(e,t,n){return n[_$_5008[616]](v[_$_5008[614]][_$_5008[1027]],(function(n){return n[_$_5008[1115]](e,t)}))}(e,{width:this[_$_5008[956]]()[_$_5008[1116]],height:this[_$_5008[956]]()[_$_5008[1117]],isFullscreen:Boolean(null===(t=this[_$_5008[757]])||void 0===t?void 0:t[_$_5008[995]]())},this[_$_5008[597]][_$_5008[91]][_$_5008[612]]):null},e[_$_5008[37]][_$_5008[786]]=function(){var e,t;return this[_$_5008[618]]()&&null!==(t=null===(e=this[_$_5008[597]][_$_5008[598]])||void 0===e?void 0:e[_$_5008[786]]())&&void 0!==t?t:{start:-1,end:-1}},e[_$_5008[37]][_$_5008[647]]=function(e,t,n){var r;t=[][_$_5008[41]](t);for(var i=function(e){if(r=t[_$_5008[803]]((function(t){return t[_$_5008[948]]===e})))return _$_5008[1118]},o=0,a=e=[][_$_5008[41]](e);o<a[_$_5008[26]]&&_$_5008[1118]!==i(a[o]);o++);return r?Promise[_$_5008[580]](n(r[_$_5008[689]])):Promise[_$_5008[580]]()},e[_$_5008[37]][_$_5008[760]]=function(){var e=this[_$_5008[597]][_$_5008[644]][_$_5008[1119]]();this[_$_5008[1120]](e)},e[_$_5008[37]][_$_5008[1057]]=function(){return this[_$_5008[1121]]()[_$_5008[166]](this[_$_5008[648]])[_$_5008[166]](this[_$_5008[641]])},e[_$_5008[37]][_$_5008[1122]]=function(){if(this[_$_5008[597]][_$_5008[644]][_$_5008[643]]()[_$_5008[1123]]&&void 0!==this[_$_5008[91]][_$_5008[632]]){var e=this[_$_5008[91]][_$_5008[632]][_$_5008[746]]();e[_$_5008[1125]](_$_5008[1124],_$_5008[90]),e[_$_5008[1125]](_$_5008[1126],_$_5008[90])}},e[_$_5008[37]][_$_5008[1127]]=function(){this[_$_5008[785]]()||this[_$_5008[809]](this[_$_5008[597]][_$_5008[808]],!1)},e[_$_5008[37]][_$_5008[1128]]=function(){var e,t;null!==(t=null===(e=this[_$_5008[597]][_$_5008[636]])||void 0===e?void 0:e[_$_5008[1129]]())&&void 0!==t&&t?this[_$_5008[280]][_$_5008[265]](_$_5008[1130]):this[_$_5008[1131]]()},e[_$_5008[37]][_$_5008[1132]]=function(){var e=this[_$_5008[785]](),t=this[_$_5008[597]][_$_5008[644]][_$_5008[643]](),n=this[_$_5008[597]][_$_5008[644]][_$_5008[1133]]();t[_$_5008[1134]]?this[_$_5008[1128]]():this[_$_5008[1135]](n,e)&&this[_$_5008[807]]()},e[_$_5008[37]][_$_5008[1121]]=function(){var e=this;return new Promise((function(t){clearTimeout(e[_$_5008[696]]),e[_$_5008[597]]&&e[_$_5008[597]][_$_5008[598]]?(e[_$_5008[1122]](),e[_$_5008[1127]](),e[_$_5008[1132]](),t()):e[_$_5008[696]]=window[_$_5008[1136]]((function(){t(e[_$_5008[1057]]())}),100)}))},e[_$_5008[37]][_$_5008[1135]]=function(e,t){return!t&&(_$_5008[958]!=typeof e[_$_5008[807]]||e[_$_5008[807]])},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1137],{get:function(){return this[_$_5008[775]]&&this[_$_5008[775]][_$_5008[1035]]||Promise[_$_5008[580]]()},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[1131]]=function(){var e=this;this[_$_5008[1137]][_$_5008[166]]((function(){return e[_$_5008[368]]()}))[_$_5008[883]]((function(){return e[_$_5008[280]][_$_5008[1139]](_$_5008[1138])}))},e[_$_5008[37]][_$_5008[809]]=function(e,t){var n=this[_$_5008[597]][_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[1023]])[_$_5008[1140]](e);t?this[_$_5008[817]](n,E[_$_5008[1141]]):this[_$_5008[374]](n,E[_$_5008[1141]])},e[_$_5008[37]][_$_5008[1120]]=function(e){var t=this;Object[_$_5008[98]](e)[_$_5008[113]]((function(n){Object[_$_5008[98]](e[n])[_$_5008[113]]((function(r){if(t[_$_5008[846]](r,n)){var i=e[n][r];t[_$_5008[840]](r,i,n)}}))}))},e[_$_5008[37]][_$_5008[941]]=function(){this[_$_5008[597]]&&(this[_$_5008[604]]=!0,this[_$_5008[815]](this[_$_5008[597]][_$_5008[816]]),this[_$_5008[894]](this[_$_5008[597]][_$_5008[893]]),this[_$_5008[597]][_$_5008[384]]?this[_$_5008[810]]():this[_$_5008[814]]())},e[_$_5008[37]][_$_5008[1034]]=function(){if(!this[_$_5008[673]]()&&this[_$_5008[664]]()[_$_5008[973]])try{this[_$_5008[714]]()}catch(e){this[_$_5008[280]][_$_5008[38]](e)}},e[_$_5008[37]][_$_5008[44]]=function(){var e=this;this[_$_5008[626]]=!0,this[_$_5008[587]]&&this[_$_5008[587]][_$_5008[26]]>0&&(this[_$_5008[656]]=new $[_$_5008[1142]](this[_$_5008[280]],this[_$_5008[587]][0])),this[_$_5008[901]](b[_$_5008[364]][_$_5008[391]],this[_$_5008[651]]),this[_$_5008[901]](b[_$_5008[364]][_$_5008[392]],(function(t){return e[_$_5008[280]][_$_5008[38]](t[_$_5008[89]])})),this[_$_5008[901]](b[_$_5008[364]][_$_5008[369]],this[_$_5008[655]]),this[_$_5008[901]](b[_$_5008[364]][_$_5008[485]],this[_$_5008[630]]),this[_$_5008[75]](b[_$_5008[364]][_$_5008[487]],this[_$_5008[640]]),this[_$_5008[75]](b[_$_5008[364]][_$_5008[369]],this[_$_5008[684]]),this[_$_5008[821]]=w[_$_5008[1143]][_$_5008[52]](this),u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[205]])&&(this[_$_5008[1144]]=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[205]])[_$_5008[1145]][_$_5008[52]](this)),u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[184]])&&(this[_$_5008[1146]]=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[184]])[_$_5008[1147]][_$_5008[52]](this)),u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[183]])&&(this[_$_5008[737]]=new(u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[183]])[_$_5008[1148]]),this[_$_5008[738]]=new(u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[183]])[_$_5008[1149]]),this[_$_5008[739]]=new(u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[183]])[_$_5008[1150]]),this[_$_5008[1055]]=new(u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[183]])[_$_5008[1041]])),this[_$_5008[601]]()},e[_$_5008[37]][_$_5008[601]]=function(){this[_$_5008[1151]]=new Map,this[_$_5008[1151]][_$_5008[1024]](s[_$_5008[574]],0),this[_$_5008[1151]][_$_5008[1024]](s[_$_5008[576]],0)},e[_$_5008[37]][_$_5008[777]]=function(e,t){this[_$_5008[1151]][_$_5008[152]](e)&&this[_$_5008[1151]][_$_5008[1024]](e,this[_$_5008[1151]][_$_5008[159]](e)+t)},e[_$_5008[37]][_$_5008[867]]=function(e,t,n){return this[_$_5008[1151]][_$_5008[159]](e)+(t?n:0)},e[_$_5008[37]][_$_5008[677]]=function(e){var t=e[_$_5008[1152]](),n=e[_$_5008[1154]]()[_$_5008[112]]((function(e){return e[_$_5008[1153]]===t[_$_5008[1153]]}));[t][_$_5008[41]](n)[_$_5008[113]]((function(t){return e[_$_5008[1155]](t[_$_5008[689]])}))},e[_$_5008[37]][_$_5008[1156]]=function(e){},e[_$_5008[37]][_$_5008[1157]]=function(){},e[_$_5008[37]][_$_5008[1158]]=function(){},e[_$_5008[37]][_$_5008[1078]]=function(){return this[_$_5008[91]]?(0,j[_$_5008[764]])(this[_$_5008[91]][_$_5008[708]][_$_5008[136]]())[_$_5008[1159]]:I[_$_5008[997]][_$_5008[996]]},e[_$_5008[37]][_$_5008[1160]]=function(e){var t;return this[_$_5008[618]]()?Boolean(null===(t=this[_$_5008[757]])||void 0===t?void 0:t[_$_5008[1160]](e)):[I[_$_5008[997]][_$_5008[1161]],I[_$_5008[997]][_$_5008[996]]][_$_5008[794]](e)},e[_$_5008[37]][_$_5008[998]]=function(e,t){void 0===t&&(t={}),this[_$_5008[757]]&&this[_$_5008[757]][_$_5008[998]](e,t)},e[_$_5008[37]][_$_5008[1162]]=function(e){this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[1162]](e)},e[_$_5008[37]][_$_5008[1163]]=function(e){this[_$_5008[603]]&&this[_$_5008[603]][_$_5008[1163]](e)},e[_$_5008[37]][_$_5008[620]]=function(){return this[_$_5008[779]]},e[_$_5008[37]][_$_5008[1164]]=function(){var e;return this[_$_5008[618]]()&&(null===(e=this[_$_5008[597]])||void 0===e?void 0:e[_$_5008[1005]])||null},e[_$_5008[37]][_$_5008[879]]=function(){return this[_$_5008[686]]!==a[_$_5008[316]]},e[_$_5008[37]][_$_5008[687]]=function(e){var t=this[_$_5008[799]]()?a[_$_5008[572]]:a[_$_5008[573]];return t>e?t:e},e[_$_5008[37]][_$_5008[1046]]=function(e,t){if(this[_$_5008[91]]&&u[_$_5008[140]][_$_5008[152]](c[_$_5008[168]][_$_5008[184]]))for(var n=u[_$_5008[140]][_$_5008[159]](c[_$_5008[168]][_$_5008[184]])[_$_5008[1165]],r=le(e)?0:n[_$_5008[1166]](this[_$_5008[91]]),i=this[_$_5008[91]][_$_5008[612]][_$_5008[159]](v[_$_5008[614]][_$_5008[772]],t),o=0,a=Object[_$_5008[1168]](Z[_$_5008[1167]]);o<a[_$_5008[26]];o++){var s=a[o];i[_$_5008[138]]((0,B[_$_5008[1169]])(s,r))}},i([(0,P[_$_5008[1171]])(_$_5008[1170])],e[_$_5008[37]],_$_5008[1019],null),i([(0,P[_$_5008[1171]])(_$_5008[1172])],e[_$_5008[37]],_$_5008[165],null),e}();function se(e,t,n){var r=re[_$_5008[1001]][_$_5008[1188]](n);return(0,Q[_$_5008[1190]])(e[_$_5008[643]]()[_$_5008[1189]],t,r)}function ue(e){return null!=e&&_$_5008[783]in e}function ce(e){[v[_$_5008[614]][_$_5008[1025]],v[_$_5008[614]][_$_5008[1023]],v[_$_5008[614]][_$_5008[872]],v[_$_5008[614]][_$_5008[1026]],v[_$_5008[614]][_$_5008[1027]]][_$_5008[113]]((function(t){return(0,g[_$_5008[1191]])(e[_$_5008[612]],t)}))}function le(e){return e===E[_$_5008[1011]]||e===E[_$_5008[1192]]}t[_$_5008[570]]=ae},15539:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1193]]=t[_$_5008[1194]]=t[_$_5008[1192]]=t[_$_5008[1011]]=t[_$_5008[1141]]=void 0,t[_$_5008[1141]]=_$_5008[941],t[_$_5008[1011]]=_$_5008[1195],t[_$_5008[1192]]=_$_5008[1196],t[_$_5008[1194]]=_$_5008[1197],t[_$_5008[1193]]=_$_5008[1198]},64430:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1199]]=void 0,t[_$_5008[1199]]={DEBUG:_$_5008[265],LOG:_$_5008[977],WARN:_$_5008[38],ERROR:_$_5008[73],OFF:_$_5008[96]}},58935:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[692]]=t[_$_5008[1200]]=void 0;var i,o=n(64430),a=n(33696);!function(e){e[e[_$_5008[1201]]=0]=_$_5008[1201],e[e[_$_5008[1202]]=1]=_$_5008[1202],e[e[_$_5008[1203]]=2]=_$_5008[1203],e[e[_$_5008[1204]]=3]=_$_5008[1204],e[e[_$_5008[1205]]=4]=_$_5008[1205],e[e[_$_5008[1206]]=5]=_$_5008[1206]}(i||(t[_$_5008[1200]]=i={}));var s=function(){function e(e,t){void 0===t&&(t=i[_$_5008[1205]]),this[_$_5008[788]]=e,this[_$_5008[744]](t)}return e[_$_5008[37]][_$_5008[745]]=function(e){this[_$_5008[1207]]=e[_$_5008[742]]&&_$_5008[34]==typeof e[_$_5008[742]]()[_$_5008[1208]]?e[_$_5008[742]]()[_$_5008[1208]]:void 0},e[_$_5008[37]][_$_5008[744]]=function(t){_$_5008[109]==typeof t&&(t=e[_$_5008[1209]](t)),this[_$_5008[743]]=t},e[_$_5008[37]][_$_5008[1210]]=function(){return this[_$_5008[743]]},e[_$_5008[37]][_$_5008[1211]]=function(e){return!(void 0===this[_$_5008[1207]]||e===i[_$_5008[1202]])||this[_$_5008[743]]!==i[_$_5008[1201]]&&this[_$_5008[743]]<=e},e[_$_5008[37]][_$_5008[922]]=function(e){this[_$_5008[788]]=e},e[_$_5008[1209]]=function(e){switch(e){case o[_$_5008[1199]][_$_5008[1203]]:return i[_$_5008[1203]];case o[_$_5008[1199]][_$_5008[1204]]:return i[_$_5008[1204]];case o[_$_5008[1199]][_$_5008[1205]]:return i[_$_5008[1205]];case o[_$_5008[1199]][_$_5008[1206]]:return i[_$_5008[1206]];default:return i[_$_5008[1201]]}},e[_$_5008[37]][_$_5008[1212]]=function(e,t,n){var o,a,s,c=u(e),l=r([],n,!0);if(this[_$_5008[743]]>0&&this[_$_5008[743]]<=e&&(_$_5008[109]==typeof this[_$_5008[788]][_$_5008[1213]]&&this[_$_5008[788]][_$_5008[1213]][_$_5008[26]]>0?(o=console[c])[_$_5008[36]][_$_5008[35]](o,r([console,this[_$_5008[788]][_$_5008[1213]],t],l,!1)):(a=console[c])[_$_5008[36]][_$_5008[35]](a,r([console,t],l,!1))),this[_$_5008[1207]]&&e!==i[_$_5008[1202]])try{(s=this[_$_5008[1207]])[_$_5008[36]][_$_5008[35]](s,r([null,c,t],l,!1))}catch(e){}},e[_$_5008[37]][_$_5008[1139]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[n-1]=arguments[n];this[_$_5008[1212]](i[_$_5008[1202]],e,t)},e[_$_5008[37]][_$_5008[265]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[n-1]=arguments[n];this[_$_5008[1212]](i[_$_5008[1203]],e,t)},e[_$_5008[37]][_$_5008[977]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[n-1]=arguments[n];this[_$_5008[1212]](i[_$_5008[1204]],e,t)},e[_$_5008[37]][_$_5008[38]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[n-1]=arguments[n];this[_$_5008[1212]](i[_$_5008[1205]],e,t)},e[_$_5008[37]][_$_5008[73]]=function(e){for(var t=[],n=1;n<arguments[_$_5008[26]];n++)t[n-1]=arguments[n];this[_$_5008[1212]](i[_$_5008[1206]],e,t)},e[_$_5008[37]][_$_5008[933]]=function(e,t,n){navigator[_$_5008[1215]][_$_5008[29]](_$_5008[1214])>-1||navigator[_$_5008[1215]][_$_5008[29]](_$_5008[1216])>-1?console[_$_5008[977]](e):console[_$_5008[977]](_$_5008[1217]+e,_$_5008[1218]+t+_$_5008[1219]+n+_$_5008[1220])},e}();function u(e){switch(e){case i[_$_5008[1202]]:case i[_$_5008[1203]]:return a[_$_5008[1200]][_$_5008[1203]];case i[_$_5008[1204]]:return a[_$_5008[1200]][_$_5008[1204]];case i[_$_5008[1205]]:return a[_$_5008[1200]][_$_5008[1205]];case i[_$_5008[1206]]:return a[_$_5008[1200]][_$_5008[1206]];default:return null}}t[_$_5008[692]]=s},29638:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1221]]=void 0,function(e){e[_$_5008[1222]]=_$_5008[1222],e[_$_5008[1223]]=_$_5008[1224]}(n||(t[_$_5008[1221]]=n={}))},72181:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1225]]=t[_$_5008[1226]]=void 0,t[_$_5008[1226]]={Avc:[_$_5008[1227],_$_5008[1228],_$_5008[1229]],Hvc:[_$_5008[1230],_$_5008[1231]]},function(e){e[e[_$_5008[1232]]=6]=_$_5008[1232]}(n||(t[_$_5008[1225]]=n={}))},9560:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1233]]=t[_$_5008[1234]]=void 0;var r,i,o=n(25550);!function(e){e[e[_$_5008[1235]]=2]=_$_5008[1235],e[e[_$_5008[1236]]=3]=_$_5008[1236],e[e[_$_5008[1237]]=4]=_$_5008[1237]}(r||(t[_$_5008[1234]]=r={})),function(e){e[e[_$_5008[1236]]=o[_$_5008[145]][_$_5008[1238]]]=_$_5008[1236],e[e[_$_5008[1235]]=o[_$_5008[145]][_$_5008[1239]]]=_$_5008[1235],e[e[_$_5008[1237]]=o[_$_5008[145]][_$_5008[1240]]]=_$_5008[1237]}(i||(t[_$_5008[1233]]=i={}))},27256:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1025]]=void 0;var r=n(62510),i=n(44779),o=n(331),a=function(){function e(e){this[_$_5008[1241]]=1.3,this[_$_5008[603]]=e[_$_5008[603]],this[_$_5008[603]][_$_5008[75]](r[_$_5008[364]][_$_5008[487]],this[_$_5008[44]]),this[_$_5008[44]]()}return e[_$_5008[37]][_$_5008[44]]=function(){this[_$_5008[1242]]={},this[_$_5008[1243]]=1/0},e[_$_5008[37]][_$_5008[795]]=function(e,t){if(this[_$_5008[1244]](),[r[_$_5008[363]][_$_5008[542]],r[_$_5008[363]][_$_5008[541]]][_$_5008[794]](t[_$_5008[1245]])){var n=(0,i[_$_5008[1246]])(t,e);if(this[_$_5008[1242]][n])return;this[_$_5008[1242]][n]=Date[_$_5008[819]]()}this[_$_5008[603]][_$_5008[716]](r[_$_5008[364]][_$_5008[434]],t)},e[_$_5008[37]][_$_5008[1244]]=function(){for(var e=0,t=Object[_$_5008[98]](this[_$_5008[1242]]);e<t[_$_5008[26]];e++){var n=t[e];this[_$_5008[1247]](this[_$_5008[1242]][n])&&delete this[_$_5008[1242]][n]}},e[_$_5008[37]][_$_5008[1247]]=function(e){if(!e)return!0;var t=(0,o[_$_5008[1248]])(this[_$_5008[1243]]*this[_$_5008[1241]]);return Date[_$_5008[819]]()-t>e},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1249],{get:function(){return this[_$_5008[1243]]},set:function(e){this[_$_5008[1243]]=Math[_$_5008[1250]](e)},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1242]]=null,this[_$_5008[603]][_$_5008[96]](r[_$_5008[364]][_$_5008[487]],this[_$_5008[44]])},e}();t[_$_5008[1025]]=a},67345:function(e,t){var n,r,i,o;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1251]]=t[_$_5008[1252]]=t[_$_5008[1253]]=t[_$_5008[1254]]=void 0,function(e){e[_$_5008[1255]]=_$_5008[1256],e[_$_5008[1257]]=_$_5008[1258],e[_$_5008[1259]]=_$_5008[1260],e[_$_5008[1261]]=_$_5008[1262],e[_$_5008[1263]]=_$_5008[1264],e[_$_5008[1265]]=_$_5008[1266],e[_$_5008[1267]]=_$_5008[1268],e[_$_5008[1269]]=_$_5008[1270],e[_$_5008[1271]]=_$_5008[1272],e[_$_5008[1273]]=_$_5008[1274],e[_$_5008[1275]]=_$_5008[1276],e[_$_5008[1277]]=_$_5008[1278],e[_$_5008[1279]]=_$_5008[1280],e[_$_5008[1281]]=_$_5008[1282],e[_$_5008[1283]]=_$_5008[1284],e[_$_5008[1285]]=_$_5008[1286],e[_$_5008[1287]]=_$_5008[1288],e[_$_5008[1289]]=_$_5008[1290],e[_$_5008[1291]]=_$_5008[1292],e[_$_5008[1293]]=_$_5008[1294],e[_$_5008[1295]]=_$_5008[1296],e[_$_5008[1297]]=_$_5008[1298],e[_$_5008[1299]]=_$_5008[1197]}(n||(t[_$_5008[1254]]=n={})),function(e){e[_$_5008[1300]]=_$_5008[1301],e[_$_5008[1302]]=_$_5008[1303],e[_$_5008[1304]]=_$_5008[4],e[_$_5008[1305]]=_$_5008[1306],e[_$_5008[1307]]=_$_5008[1308]}(r||(t[_$_5008[1253]]=r={})),function(e){e[_$_5008[1309]]=_$_5008[1309],e[_$_5008[1310]]=_$_5008[1310],e[_$_5008[1311]]=_$_5008[1311],e[_$_5008[1312]]=_$_5008[1312]}(i||(t[_$_5008[1252]]=i={})),function(e){e[_$_5008[1313]]=_$_5008[1314],e[_$_5008[1315]]=_$_5008[1316]}(o||(t[_$_5008[1251]]=o={}))},16937:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[927]]=function(e){n=e},t[_$_5008[1171]]=function(e,t){return void 0===t&&(t=!1),function(n,s,u){var c=u[_$_5008[831]];return u[_$_5008[831]]=function(){var n=a(r),s=n[_$_5008[1319]],u=n[_$_5008[1320]],l=Date[_$_5008[819]](),d=o(),_=function(e,t){var n={method:t,isAsync:!1,next:null,subtractions:[]};return e[_$_5008[132]]=n,n}(u,e),f=function(){var n=o()-d;if(i({name:e,start:l,duration:n,callStack:s}),t&&(u[_$_5008[1321]]=u[_$_5008[1321]]||[],u[_$_5008[1321]][_$_5008[57]]({name:e,duration:n})),_[_$_5008[1321]]&&_[_$_5008[1321]][_$_5008[26]]){var r=_[_$_5008[1321]][_$_5008[137]]((function(e){return e[_$_5008[62]]}))[_$_5008[123]](_$_5008[1322]),a=_[_$_5008[1321]][_$_5008[135]]((function(e,t){return e+t[_$_5008[1323]]}),0);i({name:_$_5008[90][_$_5008[41]](e,_$_5008[1324])[_$_5008[41]](r),duration:n-a,start:Date[_$_5008[819]]()})}!function(e){e[_$_5008[1331]]&&e[_$_5008[132]][_$_5008[1331]]||(e[_$_5008[132]]=null)}(u)},h=c[_$_5008[35]](this,arguments);return h instanceof Promise?(function(e,t){e[_$_5008[1331]]=!0}(u[_$_5008[132]]),h[_$_5008[166]](f,f),h):(f(),h)},u}},t[_$_5008[1317]]=function(e){var t=o();s[e]&&u(e,t),s[e]=t},t[_$_5008[1318]]=function(e){u(e,o()),delete s[e]};var r={};function i(e){n&&n[_$_5008[265]](_$_5008[1328][_$_5008[41]](e[_$_5008[62]],_$_5008[1327])[_$_5008[41]](Math[_$_5008[1325]](e[_$_5008[1323]]),_$_5008[1326]),e)}function o(){var e,t;return(null===(e=performance[_$_5008[819]])||void 0===e?void 0:e[_$_5008[36]](performance))||(null===(t=performance[_$_5008[1329]])||void 0===t?void 0:t[_$_5008[36]](performance))||Date[_$_5008[819]]()}function a(e,t){void 0===t&&(t=[]);var n=e[_$_5008[132]],r=e[_$_5008[1330]];return r&&t[_$_5008[57]](r),n?a(n,t):{callStack:t,parent:e}}var s={};function u(e,t){n&&i({name:e,start:s[e],duration:t-s[e]})}},1356:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1332]]=void 0;var i=n(46462),o=function(){function e(e,t,n){var i=this;this[_$_5008[1333]]=function(){var e=function(){clearTimeout(i[_$_5008[1334]]),i[_$_5008[1335]]&&i[_$_5008[1335]][_$_5008[1336]]()?i[_$_5008[1334]]=setTimeout(e,i[_$_5008[91]][_$_5008[788]][_$_5008[1337]]):i[_$_5008[892]]({code:0,name:_$_5008[890],message:_$_5008[1338]})};i[_$_5008[1334]]=setTimeout(e,i[_$_5008[91]][_$_5008[788]][_$_5008[1337]])},this[_$_5008[580]]=function(){i[_$_5008[1339]](),i[_$_5008[1340]]()},this[_$_5008[1341]]=function(e,t){return i[_$_5008[892]](r(r({},t),{eventName:e}))},this[_$_5008[892]]=function(e){i[_$_5008[1339]]();var t=e;e&&e[_$_5008[65]]&&(t=_$_5008[73]===e[_$_5008[65]]?r(r({},e),{name:_$_5008[1342],message:_$_5008[1343]}):r(r({},e),{name:_$_5008[1344],message:_$_5008[1345][_$_5008[41]](e[_$_5008[65]])})),i[_$_5008[1346]](t)},this[_$_5008[91]]=e,this[_$_5008[1347]]=t,this[_$_5008[1335]]=n}return e[_$_5008[37]][_$_5008[1348]]=function(){var t=this,n=function(n){var i=e[_$_5008[1349]][n];r[_$_5008[1347]][_$_5008[76]](n,i?r[_$_5008[580]]:function(e){return t[_$_5008[1341]](n,e)})},r=this;for(var o in e[_$_5008[1349]])n(o);4===this[_$_5008[1347]][_$_5008[1350]]?this[_$_5008[1333]]():this[_$_5008[1347]][_$_5008[76]](i[_$_5008[1352]][_$_5008[1351]],this[_$_5008[1333]])},e[_$_5008[37]][_$_5008[1353]]=function(){for(var t in e[_$_5008[1349]]){var n=e[_$_5008[1349]][t];this[_$_5008[1347]][_$_5008[78]](t,n?this[_$_5008[580]]:this[_$_5008[892]])}this[_$_5008[1347]][_$_5008[78]](i[_$_5008[1352]][_$_5008[1351]],this[_$_5008[1333]])},e[_$_5008[37]][_$_5008[1339]]=function(){clearTimeout(this[_$_5008[1334]]),this[_$_5008[1353]]()},e[_$_5008[37]][_$_5008[1354]]=function(){var e=this;return new Promise((function(t,n){e[_$_5008[1340]]=t,e[_$_5008[1346]]=n,e[_$_5008[1348]]()}))},e[_$_5008[1355]]=function(t,n,r){return new e(t,n,r)[_$_5008[1354]]()},e[_$_5008[1349]]={playing:!0,ended:!0,pause:!1,abort:!1,emptied:!1,error:!1},e}();t[_$_5008[1332]]=o},90546:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[567]]||function(e,t,n,r){var i,o=arguments[_$_5008[26]],a=o<3?t:null===r?r=Object[_$_5008[111]](t,n):r;if(_$_5008[33]==typeof Reflect&&_$_5008[34]==typeof Reflect[_$_5008[568]])a=Reflect[_$_5008[568]](e,t,n,r);else for(var s=e[_$_5008[26]]-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object[_$_5008[82]](t,n,a),a};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[328]]=void 0;var i,o=n(91520),a=n(25550),s=n(28764),u=n(4006),c=n(92737),l=n(13142),d=n(15447),_=n(16937),f=n(33696),h=n(54838),p=0;function g(){i||(i=new WeakMap)}function v(e,t){g();var n=i[_$_5008[159]](e);if(!n)throw new f[_$_5008[1356]](t);return n}var m=function(){function e(e,t){this[_$_5008[44]](e,t)}return e[_$_5008[37]][_$_5008[44]]=function(e,t){if(!(e instanceof HTMLElement))throw new s[_$_5008[147]](a[_$_5008[145]][_$_5008[1357]],void 0,_$_5008[1358]);g();var n=new d[_$_5008[570]](e,h[_$_5008[1001]][_$_5008[1359]](),this);i[_$_5008[1024]](this,n),p++,n[_$_5008[163]](t)},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1360],{get:function(){return u[_$_5008[329]][_$_5008[355]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[621],{get:function(){return v(this,_$_5008[621])[_$_5008[972]]()},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1119],{get:function(){return v(this,_$_5008[1119])[_$_5008[821]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1361],{get:function(){return v(this,_$_5008[1361])[_$_5008[1144]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1133],{get:function(){return v(this,_$_5008[1133])[_$_5008[1146]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[946],{get:function(){return v(this,_$_5008[946])[_$_5008[1067]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[780],{get:function(){return v(this,_$_5008[780])[_$_5008[605]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[988],{get:function(){return v(this,_$_5008[988])[_$_5008[703]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1362],{get:function(){return v(this,_$_5008[1362])?i[_$_5008[159]](this)[_$_5008[685]]():null},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[13],{get:function(){return c},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[75]]=function(e,t){v(this,_$_5008[75])[_$_5008[75]](e,t)},e[_$_5008[37]][_$_5008[795]]=function(e,t){return v(this,_$_5008[795])[_$_5008[795]](e,t)},e[_$_5008[37]][_$_5008[898]]=function(){v(this,_$_5008[1363])[_$_5008[898]]()},e[_$_5008[37]][_$_5008[784]]=function(){v(this,_$_5008[784])[_$_5008[784]]()},e[_$_5008[37]][_$_5008[825]]=function(){v(this,_$_5008[825])[_$_5008[825]]()},e[_$_5008[37]][_$_5008[165]]=function(){var e=v(this,_$_5008[165])[_$_5008[165]]();return i[_$_5008[774]](this),p--,e},e[_$_5008[37]][_$_5008[862]]=function(){return v(this,_$_5008[862])[_$_5008[862]]()},e[_$_5008[37]][_$_5008[863]]=function(){return v(this,_$_5008[863])[_$_5008[863]]()},e[_$_5008[37]][_$_5008[847]]=function(){return v(this,_$_5008[847])[_$_5008[847]]()},e[_$_5008[37]][_$_5008[865]]=function(){return v(this,_$_5008[865])[_$_5008[865]]()},e[_$_5008[37]][_$_5008[650]]=function(){return v(this,_$_5008[650])[_$_5008[650]]()},e[_$_5008[37]][_$_5008[854]]=function(){return v(this,_$_5008[854])[_$_5008[854]]()},e[_$_5008[37]][_$_5008[864]]=function(){return v(this,_$_5008[864])[_$_5008[864]]()},e[_$_5008[37]][_$_5008[853]]=function(){return v(this,_$_5008[853])[_$_5008[853]]()},e[_$_5008[37]][_$_5008[664]]=function(e){return v(this,_$_5008[664])[_$_5008[664]](e)},e[_$_5008[37]][_$_5008[956]]=function(){return v(this,_$_5008[956])[_$_5008[956]]()},e[_$_5008[37]][_$_5008[838]]=function(e){return void 0===e&&(e=f[_$_5008[278]][_$_5008[839]]),v(this,_$_5008[838])[_$_5008[838]](_$_5008[596],e)},e[_$_5008[37]][_$_5008[859]]=function(){return v(this,_$_5008[859])[_$_5008[859]]()},e[_$_5008[37]][_$_5008[858]]=function(){return v(this,_$_5008[858])[_$_5008[858]]()},e[_$_5008[37]][_$_5008[776]]=function(){return v(this,_$_5008[776])[_$_5008[776]]()},e[_$_5008[37]][_$_5008[259]]=function(){return v(this,_$_5008[259])[_$_5008[259]]()},e[_$_5008[37]][_$_5008[866]]=function(){return v(this,_$_5008[866])[_$_5008[866]]()},e[_$_5008[37]][_$_5008[849]]=function(){return v(this,_$_5008[849])[_$_5008[849]]()},e[_$_5008[37]][_$_5008[861]]=function(){return v(this,_$_5008[861])[_$_5008[861]]()},e[_$_5008[37]][_$_5008[1076]]=function(){return v(this,_$_5008[1076])[_$_5008[1076]]()},e[_$_5008[37]][_$_5008[860]]=function(){return v(this,_$_5008[860])[_$_5008[860]]()},e[_$_5008[37]][_$_5008[665]]=function(){return v(this,_$_5008[665])[_$_5008[665]]()},e[_$_5008[37]][_$_5008[1075]]=function(e,t){return v(this,_$_5008[1075])[_$_5008[1075]](e,t)},e[_$_5008[37]][_$_5008[960]]=function(){return v(this,_$_5008[960])[_$_5008[960]]()},e[_$_5008[37]][_$_5008[1110]]=function(){return v(this,_$_5008[1110])[_$_5008[1110]]()},e[_$_5008[37]][_$_5008[961]]=function(e){return void 0===e&&(e=f[_$_5008[964]][_$_5008[963]]),v(this,_$_5008[961])[_$_5008[961]](e)},e[_$_5008[37]][_$_5008[1115]]=function(e){return v(this,_$_5008[1115])[_$_5008[1115]](e)},e[_$_5008[37]][_$_5008[850]]=function(){return v(this,_$_5008[850])[_$_5008[850]]()},e[_$_5008[37]][_$_5008[778]]=function(){return v(this,_$_5008[778])[_$_5008[778]]()},e[_$_5008[37]][_$_5008[848]]=function(){return v(this,_$_5008[848])[_$_5008[848]]()},e[_$_5008[37]][_$_5008[868]]=function(){return v(this,_$_5008[868])[_$_5008[868]]()},e[_$_5008[37]][_$_5008[813]]=function(){return v(this,_$_5008[813])[_$_5008[813]]()},e[_$_5008[37]][_$_5008[852]]=function(){return v(this,_$_5008[852])[_$_5008[852]]()},e[_$_5008[37]][_$_5008[783]]=function(){return v(this,_$_5008[783])[_$_5008[783]]()},e[_$_5008[37]][_$_5008[782]]=function(){return v(this,_$_5008[782])[_$_5008[782]]()},e[_$_5008[37]][_$_5008[1107]]=function(e){return v(this,_$_5008[1107])[_$_5008[1107]](e)},e[_$_5008[37]][_$_5008[785]]=function(){return v(this,_$_5008[785])[_$_5008[785]]()},e[_$_5008[37]][_$_5008[799]]=function(){return v(this,_$_5008[799])[_$_5008[799]]()},e[_$_5008[37]][_$_5008[1102]]=function(){return v(this,_$_5008[1102])[_$_5008[1102]]()},e[_$_5008[37]][_$_5008[1100]]=function(){return v(this,_$_5008[1100])[_$_5008[1100]]()},e[_$_5008[37]][_$_5008[851]]=function(){return v(this,_$_5008[851])[_$_5008[851]]()},e[_$_5008[37]][_$_5008[1019]]=function(e,t,n){return v(this,_$_5008[1019])[_$_5008[1019]](e,t,n)},e[_$_5008[37]][_$_5008[810]]=function(e){v(this,_$_5008[810])[_$_5008[810]](e)},e[_$_5008[37]][_$_5008[889]]=function(e){v(this,_$_5008[889])[_$_5008[889]](e)},e[_$_5008[37]][_$_5008[368]]=function(e){return v(this,_$_5008[368])[_$_5008[368]](e)},e[_$_5008[37]][_$_5008[96]]=function(e,t){v(this,_$_5008[96])[_$_5008[96]](e,t)},e[_$_5008[37]][_$_5008[786]]=function(){return v(this,_$_5008[786])[_$_5008[786]]()},e[_$_5008[37]][_$_5008[374]]=function(e,t){return v(this,_$_5008[374])[_$_5008[374]](e,t)},e[_$_5008[37]][_$_5008[800]]=function(e){return v(this,_$_5008[800])[_$_5008[800]](e)},e[_$_5008[37]][_$_5008[617]]=function(e){v(this,_$_5008[617])[_$_5008[617]](e)},e[_$_5008[37]][_$_5008[771]]=function(e){v(this,_$_5008[771])[_$_5008[771]](e)},e[_$_5008[37]][_$_5008[1112]]=function(e){v(this,_$_5008[1364])[_$_5008[1112]](e)},e[_$_5008[37]][_$_5008[894]]=function(e){v(this,_$_5008[894])[_$_5008[894]](e)},e[_$_5008[37]][_$_5008[986]]=function(e,t){v(this,_$_5008[986])[_$_5008[986]](e,t)},e[_$_5008[37]][_$_5008[824]]=function(e){v(this,_$_5008[824])[_$_5008[824]](e)},e[_$_5008[37]][_$_5008[1105]]=function(e){v(this,_$_5008[1105])[_$_5008[1105]](e)},e[_$_5008[37]][_$_5008[769]]=function(e){v(this,_$_5008[769])[_$_5008[769]](e)},e[_$_5008[37]][_$_5008[815]]=function(e,t){v(this,_$_5008[815])[_$_5008[815]](e,t)},e[_$_5008[37]][_$_5008[957]]=function(e){return v(this,_$_5008[957])[_$_5008[957]](e)},e[_$_5008[37]][_$_5008[817]]=function(e,t){v(this,_$_5008[817])[_$_5008[817]](e,t)},e[_$_5008[37]][_$_5008[599]]=function(){return v(this,_$_5008[599])[_$_5008[599]]()},e[_$_5008[37]][_$_5008[814]]=function(e){v(this,_$_5008[814])[_$_5008[814]](e)},e[_$_5008[37]][_$_5008[856]]=function(){return v(this,_$_5008[856])[_$_5008[856]]()},e[_$_5008[37]][_$_5008[857]]=function(){return v(this,_$_5008[857])[_$_5008[857]]()},e[_$_5008[37]][_$_5008[826]]=function(){v(this,_$_5008[826])[_$_5008[826]]()},e[_$_5008[37]][_$_5008[237]]=function(){return v(this,_$_5008[237])[_$_5008[237]]()},e[_$_5008[37]][_$_5008[807]]=function(){v(this,_$_5008[807])[_$_5008[807]]()},e[_$_5008[37]][_$_5008[744]]=function(e){v(this,_$_5008[744])[_$_5008[744]](e)},e[_$_5008[37]][_$_5008[1106]]=function(){return v(this,_$_5008[1106])[_$_5008[1106]]()},e[_$_5008[37]][_$_5008[1078]]=function(){return v(this,_$_5008[1078])[_$_5008[1078]]()},e[_$_5008[37]][_$_5008[1160]]=function(e){return v(this,_$_5008[1160])[_$_5008[1160]](e)},e[_$_5008[37]][_$_5008[998]]=function(e,t){v(this,_$_5008[998])[_$_5008[998]](e,t)},e[_$_5008[37]][_$_5008[620]]=function(){return v(this,_$_5008[620])[_$_5008[620]]()},Object[_$_5008[82]](e,_$_5008[1360],{get:function(){return u[_$_5008[329]][_$_5008[355]]},enumerable:!1,configurable:!0}),e[_$_5008[1365]]=function(e){o[_$_5008[140]][_$_5008[143]](e)},e[_$_5008[1366]]=function(e){if(p>0)throw new s[_$_5008[147]](a[_$_5008[145]][_$_5008[1367]],void 0,_$_5008[1368]);o[_$_5008[140]][_$_5008[157]](e)},e[_$_5008[1369]]=function(){return o[_$_5008[140]][_$_5008[160]]()},r([(0,_[_$_5008[1171]])(_$_5008[1370])],e[_$_5008[37]],_$_5008[44],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[1360],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[621],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[1119],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[1361],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[1133],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[946],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[780],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[988],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[1362],null),r([l[_$_5008[566]]],e[_$_5008[37]],_$_5008[13],null),e}();t[_$_5008[328]]=m},33696:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[278]]=t[_$_5008[964]]=t[_$_5008[997]]=t[_$_5008[1356]]=t[_$_5008[1200]]=t[_$_5008[271]]=t[_$_5008[296]]=t[_$_5008[721]]=t[_$_5008[793]]=void 0;var i=n(25550),o=n(28764),a=n(40362);Object[_$_5008[82]](t,_$_5008[793],{enumerable:!0,get:function(){return a[_$_5008[793]]}});var s,u,c,l=n(83091);Object[_$_5008[82]](t,_$_5008[721],{enumerable:!0,get:function(){return l[_$_5008[721]]}}),function(e){e[_$_5008[301]]=_$_5008[1371],e[_$_5008[295]]=_$_5008[734],e[_$_5008[192]]=_$_5008[946],e[_$_5008[1372]]=_$_5008[1373]}(s||(t[_$_5008[296]]=s={})),function(e){e[_$_5008[270]]=_$_5008[1374],e[_$_5008[272]]=_$_5008[1375]}(u||(t[_$_5008[271]]=u={})),function(e){e[_$_5008[1203]]=_$_5008[265],e[_$_5008[1204]]=_$_5008[977],e[_$_5008[1205]]=_$_5008[38],e[_$_5008[1206]]=_$_5008[73],e[_$_5008[1201]]=_$_5008[96]}(c||(t[_$_5008[1200]]=c={}));var d,_,f,h=function(e){function t(t){return e[_$_5008[36]](this,i[_$_5008[145]][_$_5008[1058]],void 0,_$_5008[1377][_$_5008[41]](t,_$_5008[1376]))||this}return r(t,e),t}(o[_$_5008[147]]);t[_$_5008[1356]]=h,function(e){e[_$_5008[996]]=_$_5008[1378],e[_$_5008[1161]]=_$_5008[1379],e[_$_5008[1380]]=_$_5008[1381]}(d||(t[_$_5008[997]]=d={})),function(e){e[_$_5008[963]]=_$_5008[1382],e[_$_5008[966]]=_$_5008[142],e[_$_5008[968]]=_$_5008[1383]}(_||(t[_$_5008[964]]=_={})),function(e){e[_$_5008[277]]=_$_5008[1384],e[_$_5008[839]]=_$_5008[1385]}(f||(t[_$_5008[278]]=f={}))},82334:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1143]]=void 0;var n=function(){function e(){}return e[_$_5008[52]]=function(e){return new(function(){function t(){}return t[_$_5008[37]][_$_5008[287]]=function(t,n,r){e[_$_5008[840]](t,n,r)},t[_$_5008[37]][_$_5008[820]]=function(t,n){return e[_$_5008[269]](t,n)},t}())},e}();t[_$_5008[1143]]=n},25226:function(e,t){var n,r,i,o;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1386]]=t[_$_5008[1387]]=t[_$_5008[1388]]=t[_$_5008[1389]]=void 0,function(e){e[_$_5008[1390]]=_$_5008[240],e[_$_5008[1391]]=_$_5008[241],e[_$_5008[1392]]=_$_5008[1393]}(n||(t[_$_5008[1389]]=n={})),function(e){e[_$_5008[1394]]=_$_5008[1395],e[_$_5008[1396]]=_$_5008[1397],e[_$_5008[1398]]=_$_5008[1399],e[_$_5008[1400]]=_$_5008[1401],e[_$_5008[1402]]=_$_5008[1403]}(r||(t[_$_5008[1388]]=r={})),function(e){e[_$_5008[1404]]=_$_5008[1405],e[_$_5008[1406]]=_$_5008[1407]}(i||(t[_$_5008[1387]]=i={})),function(e){e[_$_5008[1408]]=_$_5008[1409],e[_$_5008[1410]]=_$_5008[1411],e[_$_5008[1412]]=_$_5008[1413]}(o||(t[_$_5008[1386]]=o={}))},62987:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[740]]=void 0;var r=n(47384),i=n(60997),o=n(87326),a=n(88141),s=n(61489),u=n(13533),c=n(77845),l=n(54838),d=n(3570),_=function(){function e(e){this[_$_5008[1414]]=e[_$_5008[1414]],this[_$_5008[1178]]=l[_$_5008[1001]][_$_5008[1359]](),this[_$_5008[1415]]=e[_$_5008[1415]]||{playback:{}},this[_$_5008[693]]=e[_$_5008[693]],this[_$_5008[788]]=e[_$_5008[788]]||o[_$_5008[691]],this[_$_5008[1416]]=new r[_$_5008[279]](this[_$_5008[788]][_$_5008[1417]],e[_$_5008[280]]),this[_$_5008[1418]]=e[_$_5008[652]]||null,this[_$_5008[1419]](),this[_$_5008[280]]=e[_$_5008[280]],this[_$_5008[603]]=e[_$_5008[603]],this[_$_5008[612]]=e[_$_5008[612]],this[_$_5008[737]]=e[_$_5008[737]],this[_$_5008[738]]=e[_$_5008[738]],this[_$_5008[739]]=e[_$_5008[739]],this[_$_5008[632]]=d[_$_5008[748]][_$_5008[747]](this,e[_$_5008[632]]),this[_$_5008[1420]]=!1}return e[_$_5008[37]][_$_5008[1419]]=function(){this[_$_5008[708]]=new c[_$_5008[1174]]((0,u[_$_5008[107]])(),_$_5008[1421],this[_$_5008[1178]]),this[_$_5008[708]][_$_5008[1176]](_$_5008[709],s[_$_5008[1422]]),this[_$_5008[708]][_$_5008[1176]](_$_5008[1423],a[_$_5008[1424]])},e[_$_5008[37]][_$_5008[1180]]=function(e){this[_$_5008[608]]=e},e[_$_5008[37]][_$_5008[1425]]=function(e){this[_$_5008[1426]]=e},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1427],{get:function(){return this[_$_5008[1420]]},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1420]]=!0,this[_$_5008[612]]=(0,i[_$_5008[323]])(this[_$_5008[612]]),this[_$_5008[1426]]=null,this[_$_5008[1418]]=null,this[_$_5008[603]]=null,this[_$_5008[737]]=null,this[_$_5008[738]]=null,this[_$_5008[739]]=null,this[_$_5008[708]]=(0,i[_$_5008[323]])(this[_$_5008[708]])},e}();t[_$_5008[740]]=_},36334:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[698]]=void 0;var r=n(91520),i=n(16368),o=n(25550),a=n(28764),s=n(33696),u=n(13533),c=n(43485),l=n(82315),d=function(){function e(){this[_$_5008[1428]]=l[_$_5008[1429]][_$_5008[761]]()}return e[_$_5008[1430]]=function(t,n,r,i){return e[_$_5008[1431]](n)?t?new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1432]],{"player-type":t[_$_5008[709]],"supported-tech":JSON[_$_5008[282]](r)},_$_5008[1433]):n[_$_5008[215]](_$_5008[621])?new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1064]],void 0,_$_5008[1065]):i?new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1062]],void 0,_$_5008[1063]):new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1434]],{"supported-tech":JSON[_$_5008[282]](r)},_$_5008[1063]):new a[_$_5008[147]](o[_$_5008[145]][_$_5008[896]],{source:n},_$_5008[1435])},e[_$_5008[1431]]=function(e){var t,n,r,i;return e&&Boolean(null!==(i=null!==(r=null!==(n=null!==(t=e[_$_5008[722]])&&void 0!==t?t:e[_$_5008[724]])&&void 0!==n?n:e[_$_5008[726]])&&void 0!==r?r:e[_$_5008[727]])&&void 0!==i?i:e[_$_5008[729]])},e[_$_5008[37]][_$_5008[761]]=function(t){var n=Object[_$_5008[42]](t[_$_5008[808]]),r=(0,u[_$_5008[623]])()[_$_5008[962]],i=(0,c[_$_5008[1190]])(t[_$_5008[1415]][_$_5008[643]]()[_$_5008[1189]],t[_$_5008[808]],t[_$_5008[1436]]);if(n[_$_5008[26]]>0&&!e[_$_5008[1431]](t[_$_5008[808]]))return Promise[_$_5008[892]](new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1240]],{streamType:JSON[_$_5008[282]](n),supportedTech:JSON[_$_5008[282]](r)},_$_5008[1437]));if(n[_$_5008[26]]>0&&!i)return Promise[_$_5008[892]](e[_$_5008[1430]](t[_$_5008[1436]],t[_$_5008[808]],r,i));if(n[_$_5008[26]]<=0&&!r[_$_5008[26]])return Promise[_$_5008[892]](e[_$_5008[1430]](t[_$_5008[1436]],t[_$_5008[808]],r));n[_$_5008[26]]<=0&&(i=r[0]);var s=t[_$_5008[91]][_$_5008[632]][_$_5008[746]]();t[_$_5008[606]]?t[_$_5008[606]][_$_5008[1438]](s):!s[_$_5008[982]]&&t[_$_5008[652]]&&t[_$_5008[652]][_$_5008[1002]](s),s[_$_5008[384]]=t[_$_5008[1439]][_$_5008[384]],s[_$_5008[816]]=t[_$_5008[1439]][_$_5008[816]]/100;var l=t[_$_5008[1415]][_$_5008[1133]](),d=l[_$_5008[1441]][_$_5008[1440]];if((0,u[_$_5008[623]])()[_$_5008[1442]]&&(l[_$_5008[1441]][_$_5008[1440]]=Math[_$_5008[247]](d,1e7),l[_$_5008[1443]]=!0),i){var _=e[_$_5008[1444]](t[_$_5008[91]],i);t[_$_5008[91]][_$_5008[1425]](_)}return this[_$_5008[1006]](t[_$_5008[91]],i)},e[_$_5008[1444]]=function(e,t){return t[_$_5008[709]]===s[_$_5008[793]][_$_5008[1445]]?((0,u[_$_5008[623]])()[_$_5008[1446]]||e[_$_5008[788]][_$_5008[1447]])&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[200]])?new(r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[200]])[_$_5008[1448]]())(e):(0,u[_$_5008[623]])()[_$_5008[1449]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[201]])?new(r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[201]])[_$_5008[1450]]())(e):(0,u[_$_5008[623]])()[_$_5008[1451]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[208]])?new(r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[208]])[_$_5008[1452]]())(e):(0,u[_$_5008[623]])()[_$_5008[1453]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[209]])?new(r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[209]])[_$_5008[1454]]())(e):(0,u[_$_5008[623]])()[_$_5008[1455]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[203]])?new(r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[203]])[_$_5008[1456]]())(e):new(0,r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[180]])[_$_5008[1457]])(e):null},e[_$_5008[37]][_$_5008[1006]]=function(e,t){var n,u=this;if(!e[_$_5008[1426]]&&t[_$_5008[709]]===s[_$_5008[793]][_$_5008[1445]])return Promise[_$_5008[892]](new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1458]],{tech:JSON[_$_5008[282]](t)},_$_5008[1459]));if(!this[_$_5008[1460]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[179]])){var c=r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[179]])[_$_5008[1461]];this[_$_5008[1460]]=new c(e,this[_$_5008[1428]])}if(t[_$_5008[709]]===s[_$_5008[793]][_$_5008[1462]]){var l=r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[210]])[_$_5008[1463]];n=Promise[_$_5008[580]](new l(e))}else if(t[_$_5008[709]]===s[_$_5008[793]][_$_5008[792]]){var d=r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[182]])[_$_5008[1464]];n=Promise[_$_5008[580]](new d(e))}else{if(t[_$_5008[709]]!==s[_$_5008[793]][_$_5008[1445]])return Promise[_$_5008[892]](new a[_$_5008[147]](o[_$_5008[145]][_$_5008[1240]],{given:t[_$_5008[709]],supported:_$_5008[1465]},_$_5008[1466]));n=e[_$_5008[1426]][_$_5008[366]]()[_$_5008[166]]((function(){return new(0,r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[183]])[_$_5008[1467]])(e)}))}return n[_$_5008[166]]((function(t){return u[_$_5008[1460]]?u[_$_5008[1460]][_$_5008[1468]](e,t):t}))[_$_5008[166]]((function(n){return{context:e,logger:e[_$_5008[280]],bitdashPlayer:n,technology:t,videoElement:e[_$_5008[632]]}}))},e}();t[_$_5008[698]]=d},59510:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[872]]=void 0;var r=n(18665),i=n(62510),o=n(17990),a=n(58975),s=n(76420),u=function(){function e(e){var t=this;this[_$_5008[1469]]=function(){t[_$_5008[1471]]((0,o[_$_5008[1470]])(!1))},this[_$_5008[1472]]=function(){t[_$_5008[1471]]((0,o[_$_5008[1470]])(!0))},this[_$_5008[764]]=function(){return a[_$_5008[764]](t[_$_5008[91]][_$_5008[708]][_$_5008[136]]())},this[_$_5008[1471]]=function(e){t[_$_5008[91]][_$_5008[708]][_$_5008[138]](e)},this[_$_5008[1473]]=function(e,n){t[_$_5008[1474]]!==e&&(t[_$_5008[1474]]=e,t[_$_5008[1471]]((0,o[_$_5008[1475]])(e))),n&&n()},this[_$_5008[1476]]=function(e,n){if(t[_$_5008[1474]]!==e)t[_$_5008[1474]]=e,t[_$_5008[1471]]((0,o[_$_5008[1477]])(e));else{if(!t[_$_5008[1478]](e))return;t[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[1480][_$_5008[41]](s[_$_5008[1479]][e])),t[_$_5008[1471]]((0,o[_$_5008[1481]])(0))}n&&n()},this[_$_5008[91]]=e,this[_$_5008[603]]=e[_$_5008[603]],this[_$_5008[603]][_$_5008[75]](i[_$_5008[364]][_$_5008[369]],this[_$_5008[1472]],!0),this[_$_5008[603]][_$_5008[75]](i[_$_5008[364]][_$_5008[487]],this[_$_5008[1469]],!0),this[_$_5008[1471]]((0,o[_$_5008[1483]])([_$_5008[1159],_$_5008[1482]])),this[_$_5008[1484]]=e[_$_5008[612]][_$_5008[159]](r[_$_5008[614]][_$_5008[1026]]),this[_$_5008[1485]]=!1}return e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[1486]](!1),this[_$_5008[1487]](),this[_$_5008[1474]]=s[_$_5008[1479]][_$_5008[1488]],this[_$_5008[1489]]=s[_$_5008[1490]][_$_5008[1488]]},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1474],{get:function(){return this[_$_5008[764]]()[_$_5008[1474]]},set:function(e){var t=this[_$_5008[764]]()[_$_5008[1474]];this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[1492][_$_5008[41]](s[_$_5008[1479]][t],_$_5008[1491])[_$_5008[41]](s[_$_5008[1479]][e])),this[_$_5008[1471]]((0,o[_$_5008[1493]])(e))},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1489],{get:function(){return this[_$_5008[764]]()[_$_5008[1489]]},set:function(e){var t=this[_$_5008[764]]()[_$_5008[1489]];this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[1494][_$_5008[41]](s[_$_5008[1490]][t],_$_5008[1491])[_$_5008[41]](s[_$_5008[1490]][e])),this[_$_5008[1471]]((0,o[_$_5008[1495]])(e))},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1496],{get:function(){return this[_$_5008[764]]()[_$_5008[1496]]},set:function(e){var t=this[_$_5008[764]]()[_$_5008[1496]];this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[1498][_$_5008[41]](s[_$_5008[1497]][t],_$_5008[1491])[_$_5008[41]](s[_$_5008[1497]][e])),this[_$_5008[1471]]((0,o[_$_5008[1499]])(e))},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[1500]]=function(e,t,n,r){this[_$_5008[1489]]=e,r&&this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[373]],{position:this[_$_5008[838]](),seekTarget:t,issuer:n||_$_5008[596]}),this[_$_5008[1471]]((0,o[_$_5008[1501]])(t))},e[_$_5008[37]][_$_5008[1502]]=function(e,t,n){void 0===n&&(n=!0),this[_$_5008[1500]](s[_$_5008[1490]][_$_5008[1503]],e,t,n)},e[_$_5008[37]][_$_5008[1504]]=function(e,t,n){return void 0===n&&(n=!0),this[_$_5008[1500]](s[_$_5008[1490]][_$_5008[1505]],e,t,n)},e[_$_5008[37]][_$_5008[1486]]=function(e){void 0===e&&(e=!0),this[_$_5008[1506]]()&&(this[_$_5008[1489]]=s[_$_5008[1490]][_$_5008[375]],e&&this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[375]])),this[_$_5008[1507]]()},e[_$_5008[37]][_$_5008[1507]]=function(){this[_$_5008[1471]]((0,o[_$_5008[1501]])(-1))},e[_$_5008[37]][_$_5008[1506]]=function(){return a[_$_5008[1508]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1509]]=function(e,t,n,r){void 0===r&&(r=!0),this[_$_5008[1471]]((0,o[_$_5008[1499]])(s[_$_5008[1497]][_$_5008[1510]])),r&&this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[377]],{position:e,target:t,issuer:n||_$_5008[596]}),this[_$_5008[1471]]((0,o[_$_5008[1501]])(t))},e[_$_5008[37]][_$_5008[1511]]=function(e){void 0===e&&(e=!0),this[_$_5008[1471]]((0,o[_$_5008[1499]])(s[_$_5008[1497]][_$_5008[1512]])),e&&this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[379]]),this[_$_5008[1507]]()},e[_$_5008[37]][_$_5008[1513]]=function(){this[_$_5008[1471]]((0,o[_$_5008[1493]])(s[_$_5008[1479]][_$_5008[1514]]))},e[_$_5008[37]][_$_5008[1515]]=function(){return a[_$_5008[1516]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1517]]=function(){return a[_$_5008[1518]](this[_$_5008[764]]())},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[851],{get:function(){return this[_$_5008[764]]()[_$_5008[851]]},set:function(e){this[_$_5008[1471]]((0,o[_$_5008[1519]])(e))},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[1520]]=function(e){this[_$_5008[1471]]((0,o[_$_5008[1521]])(e)),e&&this[_$_5008[1100]]()&&!this[_$_5008[1522]]()&&(this[_$_5008[1485]]=!0),e?this[_$_5008[1523]]():this[_$_5008[1487]]()},e[_$_5008[37]][_$_5008[1524]]=function(){return a[_$_5008[1525]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1100]]=function(){return a[_$_5008[1526]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1527]]=function(){return a[_$_5008[1528]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1102]]=function(){return a[_$_5008[1529]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1530]]=function(){return a[_$_5008[765]](this[_$_5008[764]]())},e[_$_5008[37]][_$_5008[1523]]=function(){this[_$_5008[1527]]()||this[_$_5008[1506]]()||this[_$_5008[1517]]()||this[_$_5008[1506]]()||this[_$_5008[1517]]()||this[_$_5008[851]]||this[_$_5008[1102]]()||this[_$_5008[1530]]()||(this[_$_5008[851]]=!0,this[_$_5008[1484]][_$_5008[1531]](),this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[394]],{}))},e[_$_5008[37]][_$_5008[1487]]=function(){this[_$_5008[851]]&&(this[_$_5008[851]]=!1,this[_$_5008[1484]][_$_5008[1532]](),this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[396]],{}))},e[_$_5008[37]][_$_5008[1522]]=function(){return this[_$_5008[1478]](s[_$_5008[1479]][_$_5008[371]])},e[_$_5008[37]][_$_5008[1478]]=function(e){return this[_$_5008[764]]()[_$_5008[1533]][0]===e},e[_$_5008[37]][_$_5008[838]]=function(){return this[_$_5008[91]][_$_5008[632]][_$_5008[1534]]},e[_$_5008[37]][_$_5008[1535]]=function(e,t,n){var r=this;this[_$_5008[1100]]()||(e?n(s[_$_5008[1479]][_$_5008[367]],(function(){r[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[367]],{time:r[_$_5008[838]](),issuer:t},!1)})):n(s[_$_5008[1479]][_$_5008[367]]))},e[_$_5008[37]][_$_5008[871]]=function(e,t){this[_$_5008[1535]](e,t,this[_$_5008[1476]])},e[_$_5008[37]][_$_5008[1536]]=function(e,t){this[_$_5008[1535]](e,t,this[_$_5008[1473]])},e[_$_5008[37]][_$_5008[1537]]=function(e,t){var n=this;void 0===t&&(t=!0),this[_$_5008[1476]](s[_$_5008[1479]][_$_5008[369]],(function(){t&&n[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[369]],{time:n[_$_5008[838]](),issuer:e},!1)}))},e[_$_5008[37]][_$_5008[891]]=function(e,t,n){var r=this;if(void 0===n&&(n=!1),n&&this[_$_5008[1485]])return this[_$_5008[91]][_$_5008[280]][_$_5008[1139]](_$_5008[1538]),void(this[_$_5008[1485]]=!1);this[_$_5008[1485]]=!1,e&&this[_$_5008[851]]&&this[_$_5008[1487]](),this[_$_5008[91]][_$_5008[632]][_$_5008[1539]]||(e?this[_$_5008[1476]](s[_$_5008[1479]][_$_5008[371]],(function(){r[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[371]],{time:r[_$_5008[838]](),issuer:t},!1)})):this[_$_5008[1473]](s[_$_5008[1479]][_$_5008[371]]))},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1540],{get:function(){return this[_$_5008[764]]()[_$_5008[1540]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[893],{get:function(){var e=this[_$_5008[764]]()[_$_5008[893]];return e[_$_5008[1541]]*e[_$_5008[1542]]},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[894]]=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!0);var r=a[_$_5008[1076]](this[_$_5008[764]]());r[_$_5008[1541]]===e&&r[_$_5008[1542]]===t||(this[_$_5008[1471]]((0,o[_$_5008[1543]])({speed:e,multiplier:t})),n&&this[_$_5008[603]][_$_5008[716]](i[_$_5008[364]][_$_5008[506]],{from:r[_$_5008[1541]],to:e}))},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1544],{get:function(){return a[_$_5008[1545]](this[_$_5008[764]]())},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1546],{get:function(){return a[_$_5008[1547]](this[_$_5008[764]]())},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1548],{get:function(){return a[_$_5008[1549]](this[_$_5008[764]]())},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1550],{get:function(){return this[_$_5008[764]]()[_$_5008[1550]]},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[603]][_$_5008[96]](i[_$_5008[364]][_$_5008[369]],this[_$_5008[1472]]),this[_$_5008[603]][_$_5008[96]](i[_$_5008[364]][_$_5008[487]],this[_$_5008[1469]])},e}();t[_$_5008[872]]=u},40362:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[793]]=void 0,function(e){e[_$_5008[1445]]=_$_5008[1551],e[_$_5008[792]]=_$_5008[1552],e[_$_5008[1462]]=_$_5008[1553],e[_$_5008[903]]=_$_5008[1298]}(n||(t[_$_5008[793]]=n={}))},68329:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1554]]=function(e){return new Date(Date[_$_5008[283]](e[_$_5008[1559]])+(0,r[_$_5008[1248]])(e[_$_5008[1323]]))[_$_5008[1558]]()},t[_$_5008[1555]]=i,t[_$_5008[1556]]=function(e,t){return t[_$_5008[113]]((function(e){return e[_$_5008[1563]]=!1})),0===e[_$_5008[26]]?t:i(e,t)},t[_$_5008[1557]]=function(e,t,n){var r;e[t]&&(function(){r=n;for(var i=t;i<e[_$_5008[26]];i++)e[i][_$_5008[1564]]=r,r+=e[i][_$_5008[1323]]}(),function(){r=n;for(var i=t-1;i>=0;i--)e[i][_$_5008[1564]]=r-e[i][_$_5008[1323]],r-=e[i][_$_5008[1323]]}())};var r=n(331);function i(e,t){var n={},r=function(e){var t=e[_$_5008[1560]],n=e[_$_5008[1561]];return t?_$_5008[90][_$_5008[41]](n,_$_5008[1562])[_$_5008[41]](t):n};return t[_$_5008[113]]((function(e){return n[r(e)]=e})),e[_$_5008[113]]((function(e){n[r(e)]&&(n[r(e)]=e)})),Object[_$_5008[1168]](n)}},87326:function(e,t,n){var r,i,o,a;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[691]]=t[_$_5008[1565]]=void 0;var s=n(67345),u=n(33696);t[_$_5008[1565]]={TARGET_BITRATE_FACTOR:1,TARGET_BUFFER_FACTOR:.8,BITRATE_MODIFIER_FUNCTION_TYPE:_$_5008[977],USE_RATE_BASED_SELECTION_ON_SEEKING:!1},t[_$_5008[691]]={TARGET_BUFFER_LEVEL:(r={},r[u[_$_5008[296]][_$_5008[295]]]=(i={},i[u[_$_5008[271]][_$_5008[270]]]=40,i[u[_$_5008[271]][_$_5008[272]]]=20,i),r[u[_$_5008[296]][_$_5008[301]]]=(o={},o[u[_$_5008[271]][_$_5008[270]]]=40,o[u[_$_5008[271]][_$_5008[272]]]=20,o),r),BUFFER_LOGIC_ACTIVATION_THRESHOLD:10,MIN_TIMELINE_LIVE_OFFSET:4,RETRY_DELAY:2,MAX_INCREASE_RETRY_DELAY_SEC:30,INCREASE_RETRY_DELAY:!0,INCREASE_RETRY_DELAY_BASE_SEC:.25,DISABLE_RETRY_FOR_RESPONSE_STATUS:(a={},a[s[_$_5008[1254]][_$_5008[1255]]]=[],a[s[_$_5008[1254]][_$_5008[1257]]]=[],a[s[_$_5008[1254]][_$_5008[1259]]]=[],a[s[_$_5008[1254]][_$_5008[1261]]]=[],a[s[_$_5008[1254]][_$_5008[1263]]]=[],a[s[_$_5008[1254]][_$_5008[1265]]]=[],a[s[_$_5008[1254]][_$_5008[1267]]]=[],a[s[_$_5008[1254]][_$_5008[1269]]]=[],a[s[_$_5008[1254]][_$_5008[1271]]]=[],a[s[_$_5008[1254]][_$_5008[1273]]]=[],a[s[_$_5008[1254]][_$_5008[1275]]]=[],a[s[_$_5008[1254]][_$_5008[1277]]]=[],a[s[_$_5008[1254]][_$_5008[1279]]]=[],a[s[_$_5008[1254]][_$_5008[1281]]]=[],a[s[_$_5008[1254]][_$_5008[1283]]]=[],a[s[_$_5008[1254]][_$_5008[1285]]]=[],a[s[_$_5008[1254]][_$_5008[1287]]]=[],a[s[_$_5008[1254]][_$_5008[1289]]]=[],a[s[_$_5008[1254]][_$_5008[1291]]]=[],a[s[_$_5008[1254]][_$_5008[1293]]]=[],a[s[_$_5008[1254]][_$_5008[1295]]]=[],a[s[_$_5008[1254]][_$_5008[1299]]]=[],a[s[_$_5008[1254]][_$_5008[1297]]]=[],a),METRIC_HISTORY_SIZE:30,DEFAULT_ADAPTATION_RULE_HISTORY_SIZE:40,LOG_LEVEL:2,LOG_PREFIX:_$_5008[90],RESTART_THRESHOLD:.9,RESTART_THRESHOLD_DELTA:.5,STARTUP_THRESHOLD:.9,STARTUP_THRESHOLD_DELTA:.5,START_SEARCHING_END:2,MAX_RETRIES:2,MAX_CDN_RETRIES:2,MAX_MPD_RETRIES:2,MPD_RETRY_DELAY:.5,MPD_UPDATE_PERIOD_TOLERANCE:5,DRM_MAX_RETRIES:1,DRM_RETRY_DELAY:.25,DRM_WITH_CREDENTIALS:!1,CAST_APPLICATION_ID:_$_5008[1566],CAST_MESSAGE_NAMESPACE:_$_5008[1567],BUFFER_VISIBILITY_DELAY:2,MIN_SELECTABLE_VIDEO_BITRATE:0,MAX_SELECTABLE_VIDEO_BITRATE:1/0,EXCLUDE_DISALLOWED_REPRESENTATIONS:!1,MIN_SELECTABLE_AUDIO_BITRATE:0,MAX_SELECTABLE_AUDIO_BITRATE:1/0,XHR_TIMEOUT:20,QUERY_PARAMETERS:void 0,GAP_TOLERANCE:.1,END_OF_BUFFER_TOLERANCE:.1,END_OF_BUFFER_RECOVERY_TOLERANCE:.5,MAX_POTENTIAL_GAP_TIME_DEVIATION:.125,SYNC_ON_SEEK_TIMEOUT:.25,SEEK_TO_END_OFFSET:2,MINIMUM_ALLOWED_UPDATE_PERIOD:1,MAXIMUM_ALLOWED_UPDATE_PERIOD:1/0,GLOBAL_DISABLE_SEEKING:!1,PRE_ROLL_RESTORE_THRESHOLD:.25,IOS_MIN_TIMEUPDATES_AFTER_AD:2,HTTP_HEADERS:{},DOWNLOAD_DURATION_SAFETY_MARGIN:.4,MAXIMUM_DOWNLOAD_DURATION_MULTIPLIER:2,RATE_SAFETY_MARGIN_PERCENTAGE:10,MAX_ALLOWED_BANDWIDTH_ESTIMATION:1/0,LIVE_SEGMENT_LIST_START_INDEX_OFFSET:0,MAX_NUM_CACHED_SEGMENTS:1,TRUN_VERSION:void 0,IGNORE_MP4_EDTS_BOX:!0,HLS_AUDIO_ONLY_THRESHOLD_BITRATE:2e5,ENABLE_SEEK_FOR_LIVE:!1,LIVE_EDGE_DISTANCE:0,QUALITY_THRESHOLD:.5,QUALITY_UPPER_THRESHOLD:45,MAX_CONSECUTIVE_VR_ERRORS:3,MAX_CONSECUTIVE_RENDERER_ERRORS:3,DISABLE_HLS_BACKUP_STREAM_FAILOVER:!1,PLAYBACK_TIMEOUT:1500,HLS_SYNC_VIA_MEDIA_SEQUENCE:!1,STOP_DOWNLOAD_ON_PAUSE:!1,VR_SCHEME_ID_URI:_$_5008[1568],HLS_VR_CHARACTERISTICS_UTI:_$_5008[1569],SAFARI_NUM_PROGRESS_EVENTS_AFTER_SEEK_GLITCH:5,SEGMENT_LOADER_POOL_SIZE:{},NATIVE_HLS_PARSING:!1,NATIVE_HLS_DOWNLOAD_ERROR_HANDLING:!1,AKAMAI_DATETIME_PARSING:!1,QJY_BROWSER_WORKAROUND:!1,DWORD_BASE_MEDIA_DECODE_TIMESTAMPS:!1,FORCE_BASE_MEDIA_DECODE_TIME_REWRITE:!1,WEBOS_MAX_SAFE_BMDT:274877906943,WEBOS_MAX_SAFE_PTO:4194303,TIZEN_MAX_SAFE_BMDT:4294967295,TIZEN_MAX_SAFE_PTO:4294967295,VIDAA_MAX_SAFE_BMDT:4294967295,VIDAA_MAX_SAFE_PTO:4294967295,ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY:!1,MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL:.5,CHUNKED_CMAF_STREAMING:!1,LOW_LATENCY_DEFAULT_TARGET_LATENCY:3,LOW_LATENCY_BUFFER_GUARD:.5,LOW_LATENCY_DEFAULT_FALLBACK_PLAYBACK_RATE:.95,LOW_LATENCY_DEFAULT_CATCHUP_PLAYBACK_RATE:1.2,LOW_LATENCY_SEEK_AHEAD:1,ACCEPTABLE_TIMESHIFT_INACCURACY:3,IGNORE_HLS_AUDIO_GROUPS:!1,OPTIMIZE_AD_RESTORATION:!0,AD_RESTORATION_SEGMENT_PREFETCHING_DURATION:5,MIN_SAFE_BUFFER_LEVEL:3,THUMBNAIL_TO_PLAYER_SIZE_RATIO:.1,FAIRPLAY_IGNORE_DUPLICATE_INIT_DATA_KEY_ERRORS:!1,NO_QUOTA_EXCEEDED_ADJUSTMENT:!1,RESUME_LIVE_CONTENT_AT_PREVIOUS_POSITION_AFTER_AD_BREAK:!1,MIN_EFFECTIVE_SEGMENT_DOWNLOAD_TIME:.5,fixed:{APP_NAME:_$_5008[1551],VERSION:_$_5008[356]},CLEAR_BUFFERS_ON_SEEKING_BACKWARDS:!1,DROP_INVALID_SEGMENTS:!1,PROACTIVE_GAP_SKIP_DISTANCE_SECONDS:0,PRESERVE_GAPS_FOR_BASE_MEDIA_DECODE_TIME_REWRITE:!1,MIN_SIZE_FOR_GAP_SKIPPING:0,FORCE_SOFTWARE_DECRYPTION:!1,SEGMENT_LOADING_PROGRESS_CHECK_INTERVAL:.5,ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE:!1,HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE:!1,HLS_PARSE_MANIFEST_IN_WORKER:!1,HLS_CLEAR_BUFFERS_ON_DISCONTINUITY_SWITCHES:!0,PARSE_EMSG_BOXES:!0,WISH_ABR_PARAMS:t[_$_5008[1565]],HLS_BACKUP_STREAM_PENALTY_DURATION:30,CHECK_ALL_DRM_LICENSES_FOR_KID:!0,LL_HLS:!1,LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE:.1,LL_HLS_MAX_PLAYLIST_AGE_FOR_BLOCKING_REQUEST_IN_PART_TARGET_MULTIPLES:2,HLS_PARSE_NATIVE_METADATA:!0,PREFER_MANAGED_MEDIA_SOURCE:!0,INFINITE_RETRIES_FOR_LIVE:!0}},12031:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1179]]=void 0;var n=function(){function e(e){this[_$_5008[750]]=e[_$_5008[750]],this[_$_5008[808]]=e[_$_5008[808]],this[_$_5008[609]]=e[_$_5008[609]],this[_$_5008[1420]]=!1,this[_$_5008[1570]]=e[_$_5008[773]],this[_$_5008[1571]]=e[_$_5008[1571]]}return Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1427],{get:function(){return this[_$_5008[1420]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[773],{get:function(){return this[_$_5008[1570]]},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1420]]=!0},e}();t[_$_5008[1179]]=n},21607:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1026]]=void 0;var r=n(76650),i=n(28819),o=n(8272),a=n(27177),s=n(331),u=function(){function e(e){this[_$_5008[91]]=e,this[_$_5008[91]]=e,this[_$_5008[577]]=0}return e[_$_5008[37]][_$_5008[1531]]=function(){this[_$_5008[1572]]=Date[_$_5008[819]]()},e[_$_5008[37]][_$_5008[1532]]=function(){var e=(0,s[_$_5008[276]])(Date[_$_5008[819]]()-this[_$_5008[1572]]);this[_$_5008[577]]+=e,this[_$_5008[1573]]()},e[_$_5008[37]][_$_5008[1573]]=function(){var e=this;if((0,a[_$_5008[1574]])(this[_$_5008[91]])){var t=(0,i[_$_5008[1575]])(this[_$_5008[91]][_$_5008[708]][_$_5008[136]]());Object[_$_5008[98]](t)[_$_5008[113]]((function(t){return e[_$_5008[91]][_$_5008[708]][_$_5008[138]]((0,r[_$_5008[1578]])(t,o[_$_5008[1577]][_$_5008[1576]],e[_$_5008[577]]))}))}},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[577]]=0},e[_$_5008[37]][_$_5008[323]]=function(){},e}();t[_$_5008[1026]]=u},93949:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1023]]=void 0;var r=n(25226),i=function(){function e(e){this[_$_5008[598]]=e,this[_$_5008[1579]]=0}return e[_$_5008[37]][_$_5008[1580]]=function(e,t){var n=e[_$_5008[984]][_$_5008[1581]],i=e[_$_5008[984]][_$_5008[1582]];if(i)switch(i){case r[_$_5008[1389]][_$_5008[1390]]:return n>Math[_$_5008[1250]](t)?0:n+t;case r[_$_5008[1389]][_$_5008[1391]]:return n}return n},e[_$_5008[37]][_$_5008[1583]]=function(e,t){var n=e[_$_5008[984]][_$_5008[1581]],i=e[_$_5008[984]][_$_5008[1582]];if(i)switch(i){case r[_$_5008[1389]][_$_5008[1390]]:return n;case r[_$_5008[1389]][_$_5008[1391]]:return t+n}return n},e[_$_5008[37]][_$_5008[1140]]=function(e){if(e[_$_5008[984]]){if(void 0!==e[_$_5008[984]][_$_5008[1581]])return this[_$_5008[598]][_$_5008[785]]()?this[_$_5008[1580]](e,this[_$_5008[598]][_$_5008[849]]()):this[_$_5008[1583]](e,this[_$_5008[598]][_$_5008[259]]());if(void 0!==e[_$_5008[984]][_$_5008[1584]])return e[_$_5008[984]][_$_5008[1584]]}return this[_$_5008[1579]]},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1585],{set:function(e){this[_$_5008[1579]]=e},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[598]]=null},e}();t[_$_5008[1023]]=i},83091:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[721]]=void 0,function(e){e[_$_5008[725]]=_$_5008[726],e[_$_5008[720]]=_$_5008[722],e[_$_5008[723]]=_$_5008[724],e[_$_5008[171]]=_$_5008[727],e[_$_5008[728]]=_$_5008[729],e[_$_5008[903]]=_$_5008[1298]}(n||(t[_$_5008[721]]=n={}))},91397:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1590]]=function(e){return e[_$_5008[124]](_$_5008[1589])[_$_5008[137]]((function(e,t){return 0===t?e[_$_5008[1586]]():e[_$_5008[1588]](0)[_$_5008[1587]]()+e[_$_5008[74]](1)[_$_5008[1586]]()}))[_$_5008[123]](_$_5008[90])},t[_$_5008[1591]]=function(e){return e?(_$_5008[60]+e)[_$_5008[74]](1):_$_5008[90]}},34731:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1594]]=void 0,t[_$_5008[1592]]=function(e){e&&e[_$_5008[1592]]()},t[_$_5008[1593]]=function(e){e&&e[_$_5008[1593]]()};var n=function(){function e(e){this[_$_5008[564]]=!1,this[_$_5008[1595]]=null==e?void 0:e[_$_5008[1596]],this[_$_5008[1597]]=null==e?void 0:e[_$_5008[1598]]}return e[_$_5008[37]][_$_5008[1592]]=function(){var e;this[_$_5008[564]]||(this[_$_5008[564]]=!0,null===(e=this[_$_5008[1595]])||void 0===e||e[_$_5008[36]](this))},e[_$_5008[37]][_$_5008[1593]]=function(){var e;this[_$_5008[564]]&&(this[_$_5008[564]]=!1,null===(e=this[_$_5008[1597]])||void 0===e||e[_$_5008[36]](this))},e[_$_5008[37]][_$_5008[1599]]=function(){return this[_$_5008[564]]},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[564]]=null,this[_$_5008[1595]]=null,this[_$_5008[1597]]=null},e}();t[_$_5008[1594]]=n},27177:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1600]]=function(e){return null!==e&&_$_5008[33]==typeof e},t[_$_5008[1574]]=function(e){return void 0!==e&&!e[_$_5008[1427]]}},61878:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1601]]=void 0;var n=function(){function e(){}return e[_$_5008[1602]]=function(e){for(e[_$_5008[1125]](_$_5008[350],_$_5008[90]),e[_$_5008[1603]](_$_5008[350]);e[_$_5008[1604]];)e[_$_5008[905]](e[_$_5008[1604]])},e}();t[_$_5008[1601]]=n},92677:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1605]]=void 0;var r=n(4006);t[_$_5008[1605]]={key:_$_5008[90],playback:{autoplay:!1,muted:!1,volume:100,timeShift:!0,seeking:!0,playsInline:!0,preferredTech:[],videoCodecPriority:[_$_5008[1606],_$_5008[1607],_$_5008[1608],_$_5008[1609],_$_5008[1610],_$_5008[1611],_$_5008[1612],_$_5008[1613],_$_5008[1614],_$_5008[1615]],audioCodecPriority:[_$_5008[1616],_$_5008[1617],_$_5008[1618],_$_5008[1619],_$_5008[1620],_$_5008[1621],_$_5008[1622]]},style:{aspectratio:16/9},tweaks:{file_protocol:!1},adaptation:{mobile:{limitToPlayerSize:!1,exclude:!1,qualityStabilityBalance:.5,bitrates:{minSelectableAudioBitrate:0,maxSelectableAudioBitrate:1/0,minSelectableVideoBitrate:0,maxSelectableVideoBitrate:1/0},resolution:{minSelectableVideoHeight:0,maxSelectableVideoHeight:1/0,minSelectableVideoWidth:0,maxSelectableVideoWidth:1/0}},desktop:{limitToPlayerSize:!1,exclude:!1,qualityStabilityBalance:.5,bitrates:{minSelectableAudioBitrate:0,maxSelectableAudioBitrate:1/0,minSelectableVideoBitrate:0,maxSelectableVideoBitrate:1/0},resolution:{minSelectableVideoHeight:0,maxSelectableVideoHeight:1/0,minSelectableVideoWidth:0,maxSelectableVideoWidth:1/0}}},cast:{enable:!1},events:{},licensing:{},logs:{bitmovin:!0},location:{ui:r[_$_5008[329]][_$_5008[332]]+_$_5008[1623],ui_css:r[_$_5008[329]][_$_5008[332]]+_$_5008[1624],serviceworker:_$_5008[90],cast:_$_5008[1625],google_ima:_$_5008[1626]}}},79063:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[918]]=void 0;var i=n(25550),o=n(28764),a=n(33696),s=n(87326),u=n(13533),c=n(54838),l=n(92677),d=function(){function e(e){if(!e)throw new o[_$_5008[147]](i[_$_5008[145]][_$_5008[1627]],void 0,_$_5008[1628]);this[_$_5008[644]]={},this[_$_5008[1629]]=e,this[_$_5008[1630]]()}return e[_$_5008[1631]]=function(e,t){var n,r,i=!1,o=!1,a=!1;if(t[_$_5008[633]]?(a=Boolean(t[_$_5008[633]][_$_5008[1632]]),o=Boolean(t[_$_5008[633]][_$_5008[1633]]),i=Boolean(t[_$_5008[633]][_$_5008[1634]])):t[_$_5008[633]]={},e[_$_5008[633]]=e[_$_5008[633]]||{},i){var s=(0,c[_$_5008[1635]])(null!==(r=null===(n=l[_$_5008[1605]][_$_5008[633]])||void 0===n?void 0:n[_$_5008[1634]])&&void 0!==r?r:16/9);e[_$_5008[633]][_$_5008[1634]]=(0,c[_$_5008[1635]])(t[_$_5008[633]][_$_5008[1634]])||s}else e[_$_5008[633]][_$_5008[1634]]=l[_$_5008[1605]][_$_5008[633]][_$_5008[1634]];a&&!isNaN(String(t[_$_5008[633]][_$_5008[1632]])[_$_5008[74]](-1))&&(e[_$_5008[633]][_$_5008[1632]]=t[_$_5008[633]][_$_5008[1632]]+_$_5008[1636]),o&&!isNaN(String(t[_$_5008[633]][_$_5008[1633]])[_$_5008[74]](-1))&&(e[_$_5008[633]][_$_5008[1633]]=t[_$_5008[633]][_$_5008[1633]]+_$_5008[1636])},e[_$_5008[37]][_$_5008[1630]]=function(){var t=this;c[_$_5008[1001]][_$_5008[1637]](this[_$_5008[644]],l[_$_5008[1605]],this[_$_5008[1629]]);var n=this[_$_5008[1629]][_$_5008[1133]]||{},r={};c[_$_5008[1001]][_$_5008[1638]](r,n),delete r[_$_5008[1639]],delete r[_$_5008[1640]],(0,u[_$_5008[623]])()[_$_5008[1442]]?this[_$_5008[644]][_$_5008[1133]]=c[_$_5008[1001]][_$_5008[1637]]({},l[_$_5008[1605]][_$_5008[1133]][_$_5008[1639]],r,n[_$_5008[1639]]):this[_$_5008[644]][_$_5008[1133]]=c[_$_5008[1001]][_$_5008[1637]]({},l[_$_5008[1605]][_$_5008[1133]][_$_5008[1640]],r,n[_$_5008[1640]]);var i=this[_$_5008[644]][_$_5008[1133]][_$_5008[1441]];[_$_5008[1642],_$_5008[1643],_$_5008[1644],_$_5008[1440]][_$_5008[113]]((function(e){t[_$_5008[644]][_$_5008[1133]][_$_5008[1441]][e]=c[_$_5008[1001]][_$_5008[1641]](e[_$_5008[25]](0,3),i[e])})),e[_$_5008[1631]](this[_$_5008[644]],this[_$_5008[1629]])},e[_$_5008[1645]]=function(e,t,n){if(t[_$_5008[215]](n)){var r=t[n];for(var i in r)r[_$_5008[215]](i)&&_$_5008[1646]!==i&&e[_$_5008[215]](i[_$_5008[1587]]())?e[i[_$_5008[1587]]()]=r[i]:r[_$_5008[215]](i)&&_$_5008[1647]===i[_$_5008[1587]]()&&(e[_$_5008[1417]][a[_$_5008[296]][_$_5008[295]]][a[_$_5008[271]][_$_5008[270]]]=r[i],e[_$_5008[1417]][a[_$_5008[296]][_$_5008[301]]][a[_$_5008[271]][_$_5008[270]]]=r[i])}},e[_$_5008[37]][_$_5008[736]]=function(t){var n;void 0===t&&(t=this[_$_5008[644]]);var i={},o=t[_$_5008[1133]]||{};return c[_$_5008[1001]][_$_5008[1638]](i,s[_$_5008[691]]),e[_$_5008[1645]](i,t,_$_5008[658]),e[_$_5008[1645]](i,t,_$_5008[1363]),o[_$_5008[1441]]=o[_$_5008[1441]]||{},o[_$_5008[1443]]=o[_$_5008[1443]]||!1,i[_$_5008[1648]]=o[_$_5008[1443]],i[_$_5008[1649]]=o[_$_5008[1441]][_$_5008[1642]]||0,i[_$_5008[1650]]=o[_$_5008[1441]][_$_5008[1643]]||1/0,i[_$_5008[1651]]=o[_$_5008[1441]][_$_5008[1644]]||0,i[_$_5008[1652]]=o[_$_5008[1441]][_$_5008[1440]]||1/0,i[_$_5008[1653]]=o[_$_5008[1654]]||i[_$_5008[1653]],i[_$_5008[1655]]=o[_$_5008[1656]]||i[_$_5008[1655]],i[_$_5008[1657]]=r(r({},s[_$_5008[691]][_$_5008[1657]]),(null===(n=t[_$_5008[658]])||void 0===n?void 0:n[_$_5008[1658]])||{}),i},e[_$_5008[37]][_$_5008[1074]]=function(){return this[_$_5008[1629]]},e[_$_5008[37]][_$_5008[1659]]=function(e){var t={};for(var n in c[_$_5008[1001]][_$_5008[1638]](t,e),t)t[_$_5008[215]](n)&&(this[_$_5008[644]][n]=t[n],this[_$_5008[1629]][n]=t[n])},e[_$_5008[37]][_$_5008[159]]=function(e,t){return void 0===t&&(t=this[_$_5008[644]]),e?t[_$_5008[215]](e)?this[_$_5008[644]][e]:{}:t},e[_$_5008[37]][_$_5008[643]]=function(){return this[_$_5008[159]](_$_5008[643])},e[_$_5008[37]][_$_5008[633]]=function(){return this[_$_5008[159]](_$_5008[633])},e[_$_5008[37]][_$_5008[1119]]=function(){return this[_$_5008[159]](_$_5008[1119])},e[_$_5008[37]][_$_5008[658]]=function(){return this[_$_5008[159]](_$_5008[658])},e[_$_5008[37]][_$_5008[1133]]=function(){return this[_$_5008[159]](_$_5008[1133])},e[_$_5008[37]][_$_5008[973]]=function(){return this[_$_5008[159]](_$_5008[973])},e[_$_5008[37]][_$_5008[1363]]=function(){return this[_$_5008[159]](_$_5008[1363])},e[_$_5008[37]][_$_5008[742]]=function(){return this[_$_5008[159]](_$_5008[742])},e[_$_5008[37]][_$_5008[910]]=function(){return this[_$_5008[159]](_$_5008[910])},e[_$_5008[37]][_$_5008[10]]=function(){return this[_$_5008[159]](_$_5008[10])},e}();t[_$_5008[918]]=d},90788:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[937]]=function(e){var t=e[_$_5008[159]](_$_5008[658]),n=(0,s[_$_5008[623]])()[a[_$_5008[992]][_$_5008[1660]]],u=_$_5008[1661]===window[_$_5008[10]][_$_5008[1662]];if(u||n){if(!t[_$_5008[1663]]||u&&!t[_$_5008[1664]])throw new i[_$_5008[147]](r[_$_5008[145]][_$_5008[1665]],{tweaks:JSON[_$_5008[282]](t)},_$_5008[1667][_$_5008[41]](t[_$_5008[1663]]?_$_5008[1664]:_$_5008[1663],_$_5008[1666]));!t[_$_5008[1663]]||o[_$_5008[329]][_$_5008[330]]&&!n||(o[_$_5008[329]][_$_5008[330]]=t[_$_5008[1663]])}};var r=n(25550),i=n(28764),o=n(4006),a=n(11399),s=n(13533)},25550:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[145]]=void 0,function(e){e[e[_$_5008[1297]]=1e3]=_$_5008[1297],e[e[_$_5008[1058]]=1001]=_$_5008[1058],e[e[_$_5008[1668]]=1100]=_$_5008[1668],e[e[_$_5008[1357]]=1101]=_$_5008[1357],e[e[_$_5008[1627]]=1102]=_$_5008[1627],e[e[_$_5008[1090]]=1103]=_$_5008[1090],e[e[_$_5008[1669]]=1104]=_$_5008[1669],e[e[_$_5008[942]]=1104]=_$_5008[942],e[e[_$_5008[1670]]=1105]=_$_5008[1670],e[e[_$_5008[1093]]=1105]=_$_5008[1093],e[e[_$_5008[913]]=1106]=_$_5008[913],e[e[_$_5008[661]]=1107]=_$_5008[661],e[e[_$_5008[1458]]=1108]=_$_5008[1458],e[e[_$_5008[1665]]=1113]=_$_5008[1665],e[e[_$_5008[1671]]=1200]=_$_5008[1671],e[e[_$_5008[896]]=1201]=_$_5008[896],e[e[_$_5008[1672]]=1202]=_$_5008[1672],e[e[_$_5008[1062]]=1203]=_$_5008[1062],e[e[_$_5008[1240]]=1204]=_$_5008[1240],e[e[_$_5008[1432]]=1205]=_$_5008[1432],e[e[_$_5008[1434]]=1206]=_$_5008[1434],e[e[_$_5008[1673]]=1207]=_$_5008[1673],e[e[_$_5008[1674]]=1208]=_$_5008[1674],e[e[_$_5008[1675]]=1209]=_$_5008[1675],e[e[_$_5008[1676]]=1210]=_$_5008[1676],e[e[_$_5008[1677]]=1211]=_$_5008[1677],e[e[_$_5008[1678]]=7043]=_$_5008[1678],e[e[_$_5008[1679]]=1300]=_$_5008[1679],e[e[_$_5008[1238]]=1301]=_$_5008[1238],e[e[_$_5008[1680]]=1304]=_$_5008[1680],e[e[_$_5008[1239]]=1400]=_$_5008[1239],e[e[_$_5008[1681]]=1401]=_$_5008[1681],e[e[_$_5008[1682]]=1402]=_$_5008[1682],e[e[_$_5008[1683]]=1403]=_$_5008[1683],e[e[_$_5008[1684]]=1404]=_$_5008[1684],e[e[_$_5008[1685]]=2e3]=_$_5008[1685],e[e[_$_5008[1686]]=2001]=_$_5008[1686],e[e[_$_5008[1687]]=2002]=_$_5008[1687],e[e[_$_5008[1688]]=2003]=_$_5008[1688],e[e[_$_5008[1689]]=2005]=_$_5008[1689],e[e[_$_5008[1690]]=2006]=_$_5008[1690],e[e[_$_5008[1691]]=2007]=_$_5008[1691],e[e[_$_5008[1692]]=2008]=_$_5008[1692],e[e[_$_5008[1693]]=2009]=_$_5008[1693],e[e[_$_5008[1694]]=2010]=_$_5008[1694],e[e[_$_5008[1695]]=2011]=_$_5008[1695],e[e[_$_5008[1696]]=2012]=_$_5008[1696],e[e[_$_5008[1697]]=2013]=_$_5008[1697],e[e[_$_5008[1698]]=2015]=_$_5008[1698],e[e[_$_5008[1699]]=2100]=_$_5008[1699],e[e[_$_5008[1064]]=2101]=_$_5008[1064],e[e[_$_5008[1700]]=3e3]=_$_5008[1700],e[e[_$_5008[144]]=3001]=_$_5008[144],e[e[_$_5008[154]]=3002]=_$_5008[154],e[e[_$_5008[222]]=3003]=_$_5008[222],e[e[_$_5008[218]]=3004]=_$_5008[218],e[e[_$_5008[1367]]=3005]=_$_5008[1367],e[e[_$_5008[1701]]=3100]=_$_5008[1701],e[e[_$_5008[1702]]=4e3]=_$_5008[1702]}(n||(t[_$_5008[145]]=n={}))},28764:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[147]]=void 0;var r=n(25550);t[_$_5008[147]]=function(e,t,n,i){this[_$_5008[1007]]=e,this[_$_5008[62]]=r[_$_5008[145]][e],this[_$_5008[773]]=i,this[_$_5008[89]]=null!=n?n:_$_5008[90][_$_5008[41]](this[_$_5008[62]]),this[_$_5008[1703]]=t,_$_5008[34]==typeof Error[_$_5008[1704]]?Error[_$_5008[1704]](this,this[_$_5008[105]]):this[_$_5008[344]]=new Error(this[_$_5008[89]])[_$_5008[344]]}},63546:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[225]]=void 0;var r=n(62510),i=n(35148);t[_$_5008[225]]=function(e,t,n){this[_$_5008[65]]=r[_$_5008[364]][_$_5008[392]],this[_$_5008[1007]]=e,this[_$_5008[62]]=i[_$_5008[226]][e],this[_$_5008[89]]=t||_$_5008[90][_$_5008[41]](this[_$_5008[1007]],_$_5008[341])[_$_5008[41]](this[_$_5008[62]]),this[_$_5008[1703]]=n}},35148:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[226]]=void 0,function(e){e[e[_$_5008[1705]]=1e3]=_$_5008[1705],e[e[_$_5008[950]]=1001]=_$_5008[950],e[e[_$_5008[1706]]=1100]=_$_5008[1706],e[e[_$_5008[1707]]=1101]=_$_5008[1707],e[e[_$_5008[1708]]=1103]=_$_5008[1708],e[e[_$_5008[1709]]=1104]=_$_5008[1709],e[e[_$_5008[1710]]=1200]=_$_5008[1710],e[e[_$_5008[1711]]=1201]=_$_5008[1711],e[e[_$_5008[1712]]=1202]=_$_5008[1712],e[e[_$_5008[1713]]=1203]=_$_5008[1713],e[e[_$_5008[1714]]=1204]=_$_5008[1714],e[e[_$_5008[1715]]=1205]=_$_5008[1715],e[e[_$_5008[1716]]=1300]=_$_5008[1716],e[e[_$_5008[1717]]=1301]=_$_5008[1717],e[e[_$_5008[1718]]=1302]=_$_5008[1718],e[e[_$_5008[888]]=1303]=_$_5008[888],e[e[_$_5008[1719]]=1304]=_$_5008[1719],e[e[_$_5008[1720]]=1305]=_$_5008[1720],e[e[_$_5008[1721]]=1400]=_$_5008[1721],e[e[_$_5008[1722]]=1401]=_$_5008[1722],e[e[_$_5008[1723]]=1402]=_$_5008[1723],e[e[_$_5008[1724]]=2e3]=_$_5008[1724],e[e[_$_5008[1725]]=2001]=_$_5008[1725],e[e[_$_5008[1726]]=2002]=_$_5008[1726],e[e[_$_5008[1727]]=2003]=_$_5008[1727],e[e[_$_5008[1688]]=2004]=_$_5008[1688],e[e[_$_5008[1697]]=2013]=_$_5008[1697],e[e[_$_5008[1728]]=2100]=_$_5008[1728],e[e[_$_5008[1729]]=2101]=_$_5008[1729],e[e[_$_5008[1730]]=3e3]=_$_5008[1730],e[e[_$_5008[222]]=3001]=_$_5008[222],e[e[_$_5008[1731]]=3100]=_$_5008[1731],e[e[_$_5008[1732]]=3101]=_$_5008[1732],e[e[_$_5008[1733]]=3102]=_$_5008[1733],e[e[_$_5008[1734]]=3103]=_$_5008[1734],e[e[_$_5008[1735]]=3104]=_$_5008[1735]}(n||(t[_$_5008[226]]=n={}))},47275:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[733]]=void 0,t[_$_5008[1191]]=function(e,t,n){void 0===n&&(n=i);var r=e[_$_5008[159]](t,n);r&&(r[_$_5008[323]](),e[_$_5008[1024]](t,null,n))};var r=n(18665),i=_$_5008[1736],o=function(){function e(){this[_$_5008[1737]]={},this[_$_5008[137]]=new WeakMap}return e[_$_5008[37]][_$_5008[152]]=function(e,t){return void 0===t&&(t=i),Boolean(this[_$_5008[159]](e,t))},e[_$_5008[37]][_$_5008[159]]=function(e,t){if(void 0===t&&(t=i),this[_$_5008[1737]][t])return this[_$_5008[1737]][t][e]},e[_$_5008[37]][_$_5008[1024]]=function(e,t,n){void 0===n&&(n=i),this[_$_5008[1737]][n]||(this[_$_5008[1737]][n]={}),this[_$_5008[1737]][n][e]=t,t&&this[_$_5008[137]][_$_5008[1024]](t,n)},e[_$_5008[37]][_$_5008[1738]]=function(e){return this[_$_5008[137]][_$_5008[159]](e)},e[_$_5008[37]][_$_5008[774]]=function(e,t){void 0===t&&(t=i),this[_$_5008[1737]][t]&&this[_$_5008[1737]][t][e]&&(this[_$_5008[137]][_$_5008[774]](this[_$_5008[1737]][t][e]),this[_$_5008[1737]][t][e][_$_5008[323]](),delete this[_$_5008[1737]][t][e])},e[_$_5008[37]][_$_5008[616]]=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=i);var o=this[_$_5008[159]](e,r);return o?t(o):n},e[_$_5008[37]][_$_5008[323]]=function(){Object[_$_5008[1168]](this[_$_5008[1737]])[_$_5008[113]]((function(e){a(e)[_$_5008[113]]((function(t){e[t][_$_5008[323]]()}))})),this[_$_5008[1737]]={},delete this[_$_5008[137]]},e[_$_5008[37]][_$_5008[611]]=function(){var e=this;Object[_$_5008[98]](this[_$_5008[1737]])[_$_5008[112]]((function(e){return e!==i}))[_$_5008[113]]((function(t){a(e[_$_5008[1737]][t])[_$_5008[113]]((function(n){e[_$_5008[774]](n,t)})),delete e[_$_5008[1737]][t]}))},e}();function a(e){return Object[_$_5008[98]](e)[_$_5008[251]]((function(e){return e!==r[_$_5008[614]][_$_5008[772]]?-1:1}))[_$_5008[112]]((function(t){return Boolean(e[t])}))}t[_$_5008[733]]=o},18665:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[614]]=void 0,function(e){e[_$_5008[1739]]=_$_5008[1739],e[_$_5008[1048]]=_$_5008[1048],e[_$_5008[613]]=_$_5008[613],e[_$_5008[1740]]=_$_5008[1740],e[_$_5008[1741]]=_$_5008[1741],e[_$_5008[1041]]=_$_5008[1041],e[_$_5008[1742]]=_$_5008[1742],e[_$_5008[1743]]=_$_5008[1743],e[_$_5008[1744]]=_$_5008[1744],e[_$_5008[1025]]=_$_5008[1025],e[_$_5008[872]]=_$_5008[872],e[_$_5008[1745]]=_$_5008[1745],e[_$_5008[772]]=_$_5008[772],e[_$_5008[1026]]=_$_5008[1026],e[_$_5008[1023]]=_$_5008[1023],e[_$_5008[1746]]=_$_5008[1746],e[_$_5008[1747]]=_$_5008[1747],e[_$_5008[1748]]=_$_5008[1748],e[_$_5008[1027]]=_$_5008[1027],e[_$_5008[1749]]=_$_5008[1749]}(n||(t[_$_5008[614]]=n={}))},78429:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[699]]=void 0,t[_$_5008[1750]]=l;var i=n(28764),o=n(62510),a=n(18561),s=_$_5008[1751],u=function(){function e(){var e=this;this[_$_5008[36]]=function(){e[_$_5008[54]][_$_5008[36]](e[_$_5008[91]],e[_$_5008[1703]])},this[_$_5008[1752]]=function(t){return!!e[_$_5008[1753]]&&(_$_5008[109]==typeof t?t===e[_$_5008[1754]]:t===e[_$_5008[54]])}}return e[_$_5008[37]][_$_5008[1024]]=function(e,t,n,r,i){void 0===i&&(i=!0),this[_$_5008[54]]=e,this[_$_5008[1754]]=t,this[_$_5008[91]]=n,this[_$_5008[1703]]=r,this[_$_5008[1753]]=i},e[_$_5008[37]][_$_5008[1042]]=function(){this[_$_5008[54]]=null,this[_$_5008[1754]]=null,this[_$_5008[91]]=null,this[_$_5008[1703]]=null,this[_$_5008[1753]]=null},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1755],{get:function(){return this[_$_5008[1753]]},enumerable:!1,configurable:!0}),e}(),c=function(){function e(e,t,n){var r=this;for(var i in this[_$_5008[1756]]=!1,this[_$_5008[1757]]=function(){for(var e=r[_$_5008[710]]?r[_$_5008[1758]][_$_5008[26]]:20,t=0,n=r[_$_5008[1758]][_$_5008[130]](0,e);t<n[_$_5008[26]];t++){var i=n[t];!i||r[_$_5008[707]]&&i[_$_5008[1754]]!==o[_$_5008[364]][_$_5008[505]]||r[_$_5008[1759]](i)}r[_$_5008[1756]]=!1,r[_$_5008[1758]][_$_5008[26]]>0&&r[_$_5008[1760]]()},this[_$_5008[1761]]=function(e,t,n,i){if(void 0===i&&(i=!0),r[_$_5008[1762]](e,t,n)){var o=r[_$_5008[1763]](n),s=0,c=r[_$_5008[1764]](t,e);o[e][_$_5008[113]]((function(t){var n=r[_$_5008[1765]][_$_5008[72]]()||new u;n[_$_5008[1024]](t[_$_5008[54]],e,r[_$_5008[709]],c,i),r[_$_5008[1758]][_$_5008[57]](n),s+=t[_$_5008[1766]]?1:0})),s<o[e][_$_5008[26]]&&(o[e][_$_5008[251]]((function(e,t){return a[_$_5008[1768]][_$_5008[1767]](e[_$_5008[1766]],t[_$_5008[1766]])})),o[e][_$_5008[26]]=s),r[_$_5008[1758]][_$_5008[26]]>0&&r[_$_5008[1760]]()}},this[_$_5008[716]]=function(e,t,n){void 0===n&&(n=!0),r[_$_5008[710]]||r[_$_5008[1769]](e,t,n)},this[_$_5008[602]]=function(e){var t=r[_$_5008[1758]][_$_5008[135]]((function(t,n,r){return n[_$_5008[1752]](e)?t[_$_5008[41]](r):t}),[]);for(t[_$_5008[251]]((function(e,t){return e-t}));t[_$_5008[26]]>0;)r[_$_5008[1758]][_$_5008[130]](t[_$_5008[72]](),1)},this[_$_5008[1770]]=function(e){e[_$_5008[1703]]===r[_$_5008[1771]]&&(window[_$_5008[78]](_$_5008[89],r[_$_5008[1770]]),r[_$_5008[1757]]())},this[_$_5008[280]]=e,this[_$_5008[709]]=t,this[_$_5008[99]]={internal:{},external:{}},this[_$_5008[710]]=!1,this[_$_5008[707]]=!1,this[_$_5008[1758]]=[],this[_$_5008[1765]]=[],o[_$_5008[364]])o[_$_5008[364]][_$_5008[215]](i)&&(this[_$_5008[99]][_$_5008[1197]][o[_$_5008[364]][i]]=[],this[_$_5008[99]][_$_5008[1772]][o[_$_5008[364]][i]]=[]);this[_$_5008[1773]]=[],this[_$_5008[1771]]=_$_5008[90][_$_5008[41]](s,_$_5008[81])[_$_5008[41]](n)}return e[_$_5008[37]][_$_5008[1759]]=function(e){try{e[_$_5008[36]](),e[_$_5008[1042]](),this[_$_5008[1765]][_$_5008[57]](e)}catch(e){this[_$_5008[280]][_$_5008[38]](_$_5008[1774],e)}},e[_$_5008[37]][_$_5008[1764]]=function(e,t){return r({type:t,timestamp:Date[_$_5008[819]]()},e)},e[_$_5008[37]][_$_5008[1762]]=function(e,t,n){var r=this[_$_5008[1763]](n),i=r[_$_5008[215]](e)&&r[e][_$_5008[26]];return Boolean(!this[_$_5008[710]]&&i)},e[_$_5008[37]][_$_5008[1775]]=function(e){this[_$_5008[1758]]=this[_$_5008[1758]][_$_5008[112]]((function(t){return!t[_$_5008[1752]](e)}))},e[_$_5008[37]][_$_5008[69]]=function(e,t,n){var r=this[_$_5008[1763]](n);r[_$_5008[215]](e)&&(r[e]=r[e][_$_5008[112]]((function(e){return e[_$_5008[54]]!==t})))},e[_$_5008[37]][_$_5008[1776]]=function(e,t){if(e&&e instanceof i[_$_5008[147]]){var n={type:o[_$_5008[364]][_$_5008[391]],timestamp:Date[_$_5008[819]](),code:e[_$_5008[1007]],name:e[_$_5008[62]],message:e[_$_5008[89]],data:e[_$_5008[1703]],troubleShootLink:l(e[_$_5008[1007]])};t&&(n[_$_5008[773]]=e[_$_5008[773]]),this[_$_5008[1761]](o[_$_5008[364]][_$_5008[391]],n,t)}else this[_$_5008[280]][_$_5008[73]](_$_5008[1777],e)},e[_$_5008[37]][_$_5008[1763]]=function(e){return e?this[_$_5008[99]][_$_5008[1197]]:this[_$_5008[99]][_$_5008[1772]]},e[_$_5008[37]][_$_5008[1769]]=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!0),e===o[_$_5008[364]][_$_5008[391]]){var r=t;r[_$_5008[215]](_$_5008[1007])||(r[_$_5008[1007]]=3e3)}t&&!t[_$_5008[215]](_$_5008[1778])&&(t[_$_5008[1778]]=Date[_$_5008[819]]()),this[_$_5008[1761]](e,t,!0,n),this[_$_5008[1773]][_$_5008[26]]>0&&!this[_$_5008[1779]](e,t)||this[_$_5008[1761]](e,t,!1,n)},e[_$_5008[37]][_$_5008[1779]]=function(e,t){return this[_$_5008[1773]][_$_5008[267]]((function(n){return n(e,t)}))},e[_$_5008[37]][_$_5008[1780]]=function(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=!0);var i=this[_$_5008[1763]](n);i[_$_5008[215]](e)&&t&&!i[e][_$_5008[803]]((function(e){return e&&e[_$_5008[54]]===t}))&&i[e][_$_5008[57]]({listener:t,repeatable:r})},e[_$_5008[37]][_$_5008[75]]=function(e,t,n){void 0===n&&(n=!1),this[_$_5008[1780]](e,t,n)},e[_$_5008[37]][_$_5008[1781]]=function(e,t,n){void 0===n&&(n=!1),this[_$_5008[1780]](e,t,n,!1)},e[_$_5008[37]][_$_5008[924]]=function(e,t){for(var n in void 0===t&&(t=!1),e)e[_$_5008[215]](n)&&this[_$_5008[75]](n,e[n],t)},e[_$_5008[37]][_$_5008[96]]=function(e,t,n){void 0===n&&(n=!0),n&&this[_$_5008[1775]](t),this[_$_5008[69]](e,t,!0),this[_$_5008[69]](e,t,!1)},e[_$_5008[37]][_$_5008[758]]=function(){var e=this;return function(t,n,r,i){void 0===r&&(r=!1),void 0===i&&(i=!0),e[_$_5008[716]](t,n,i)}},e[_$_5008[37]][_$_5008[1162]]=function(e){this[_$_5008[1773]][_$_5008[29]](e)<0&&this[_$_5008[1773]][_$_5008[57]](e)},e[_$_5008[37]][_$_5008[1163]]=function(e){var t=this[_$_5008[1773]][_$_5008[29]](e);t>=0&&this[_$_5008[1773]][_$_5008[130]](t,1)},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1758]]=this[_$_5008[1758]][_$_5008[112]]((function(e){return!e[_$_5008[1755]]})),this[_$_5008[710]]=!0,this[_$_5008[1769]]=null,this[_$_5008[1773]]=null,this[_$_5008[1757]]()},e[_$_5008[37]][_$_5008[1085]]=function(){this[_$_5008[707]]=!0},e[_$_5008[37]][_$_5008[629]]=function(e){var t,n;this[_$_5008[1776]](e,!0),this[_$_5008[1779]](o[_$_5008[364]][_$_5008[391]],e)&&this[_$_5008[1776]](e,!1),this[_$_5008[280]][_$_5008[73]](_$_5008[1783][_$_5008[41]](e[_$_5008[1007]],_$_5008[341])[_$_5008[41]](e[_$_5008[62]],_$_5008[1782])[_$_5008[41]](null!==(t=e[_$_5008[89]])&&void 0!==t?t:_$_5008[90]),null!==(n=e[_$_5008[1703]])&&void 0!==n?n:_$_5008[60])},e[_$_5008[37]][_$_5008[1760]]=function(){this[_$_5008[1756]]||(this[_$_5008[1756]]=!0,window[_$_5008[76]](_$_5008[89],this[_$_5008[1770]]),window[_$_5008[1786]](this[_$_5008[1771]],location[_$_5008[1784]]+location[_$_5008[1785]]))},e}();function l(e){return _$_5008[1787][_$_5008[41]](e)}t[_$_5008[699]]=c},57620:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1788]]=function(e,t,n){null!=e&&e!==t&&n&&n[_$_5008[716]](r[_$_5008[364]][_$_5008[508]],{from:e,to:t})},t[_$_5008[1789]]=function(e,t){var n;void 0===t&&(t=!1);var r=a(e)?e[_$_5008[1790]][_$_5008[1007]]:e[_$_5008[1007]],s=a(e)?e[_$_5008[1096]]:JSON[_$_5008[282]](e),u=a(e)?e[_$_5008[1790]]:{errorMessage:JSON[_$_5008[282]](e),code:r};t&&(u[_$_5008[1791]]=s);var c=null!==(n=o[_$_5008[1233]][o[_$_5008[1234]][r]])&&void 0!==n?n:i[_$_5008[145]][_$_5008[1297]];return new i[_$_5008[147]](c,u,_$_5008[1792])};var r=n(62510),i=n(92737),o=n(9560);function a(e){return _$_5008[1790]in e}},84435:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1142]]=void 0;var r=n(4006),i=n(88005),o=n(67345),a=n(11399),s=n(13533),u=n(45217),c=function(){function e(e,t){this[_$_5008[280]]=e,this[_$_5008[1793]]=!1,this[_$_5008[1794]]=u[_$_5008[1795]]+_$_5008[1796],this[_$_5008[659]](t)}return e[_$_5008[37]][_$_5008[1797]]=function(e){return new i[_$_5008[1798]]({settings:{RETRY_DELAY:0,INCREASE_RETRY_DELAY:!1,INCREASE_RETRY_DELAY_BASE_SEC:0,MAX_INCREASE_RETRY_DELAY_SEC:0,QUERY_PARAMETERS:[],HTTP_HEADERS:null,XHR_TIMEOUT:2e4,DISABLE_RETRY_FOR_RESPONSE_STATUS:{}},logger:this[_$_5008[280]],config:{network:{requestApi:e}}})},e[_$_5008[37]][_$_5008[667]]=function(e,t,n){var i,a=this;if(this[_$_5008[1793]])return Promise[_$_5008[580]](void 0);this[_$_5008[1799]]=null!==(i=this[_$_5008[1799]])&&void 0!==i?i:this[_$_5008[1797]](n),this[_$_5008[1793]]=!0;var u={domain:r[_$_5008[329]][_$_5008[330]],key:e,version:r[_$_5008[329]][_$_5008[355]],type:_$_5008[1800]+t,platform:l()};return this[_$_5008[1799]][_$_5008[1019]](this[_$_5008[1801]],o[_$_5008[1252]][_$_5008[1310]],null,JSON[_$_5008[282]](u))[_$_5008[166]]((function(e){return e}),(function(r){return a[_$_5008[1801]]!==a[_$_5008[1794]]&&(0,s[_$_5008[623]])()[_$_5008[1446]]?(a[_$_5008[1793]]=!1,a[_$_5008[659]](a[_$_5008[1794]]),a[_$_5008[667]](e,t,n)):r}))},e[_$_5008[37]][_$_5008[659]]=function(e){e&&(this[_$_5008[1801]]=e)},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[1793]]=!1},e[_$_5008[37]][_$_5008[323]]=function(){var e;null===(e=this[_$_5008[1799]])||void 0===e||e[_$_5008[323]]()},e}();function l(){return(0,s[_$_5008[623]])()[a[_$_5008[992]][_$_5008[1660]]]?_$_5008[1802]:_$_5008[1803]}t[_$_5008[1142]]=c},84903:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[915]]=void 0;var r,i=n(4006),o=n(88005),a=n(67345),s=n(13533),u=n(45217);!function(e){e[_$_5008[1804]]=_$_5008[1805],e[_$_5008[1806]]=_$_5008[1807]}(r||(r={}));var c=[_$_5008[336],_$_5008[1808]],l=u[_$_5008[1795]]+_$_5008[1809],d=function(){function e(e,t,n){this[_$_5008[1810]]=0,this[_$_5008[1811]]=[],this[_$_5008[1812]]=!1,this[_$_5008[1813]]=void 0,this[_$_5008[1814]]=t,this[_$_5008[663]]=n,this[_$_5008[280]]=e}return e[_$_5008[37]][_$_5008[667]]=function(e,t){var n=this;this[_$_5008[1815]]()?setTimeout((function(){return e(!0)}),0):this[_$_5008[663]]?this[_$_5008[1813]]?setTimeout((function(){return e(n[_$_5008[1813]][_$_5008[1805]],n[_$_5008[1813]][_$_5008[1816]],n[_$_5008[1813]][_$_5008[1703]])}),0):(this[_$_5008[1811]][_$_5008[57]](e),this[_$_5008[1812]]||(this[_$_5008[1812]]=!0,setTimeout((function(){n[_$_5008[1817]](n[_$_5008[663]],n[_$_5008[1814]],t)}),this[_$_5008[1810]]))):setTimeout((function(){return e(!1,{validationInformation:[{key:_$_5008[663],errorMessage:_$_5008[1818]}]})}),0)},e[_$_5008[37]][_$_5008[1815]]=function(){return c[_$_5008[794]](i[_$_5008[329]][_$_5008[330]])||!this[_$_5008[1814]]},e[_$_5008[1819]]=function(e){var t={granted:!1,payload:{},data:{}};return e&&e[_$_5008[1820]]&&(t[_$_5008[1703]][_$_5008[1820]]={key:e[_$_5008[1820]]}),e&&e[_$_5008[215]](_$_5008[1821])&&(e[_$_5008[1821]]===r[_$_5008[1804]]?(t[_$_5008[1805]]=!0,t[_$_5008[1816]]=function(e){var t={};return e[_$_5008[215]](_$_5008[1828])&&e[_$_5008[1828]]&&(t[_$_5008[1828]]=!0),e[_$_5008[215]](_$_5008[1829])&&(t[_$_5008[1829]]=e[_$_5008[1829]]),e[_$_5008[215]](_$_5008[1830])&&(t[_$_5008[1830]]=e[_$_5008[1830]]),e[_$_5008[215]](_$_5008[1831])&&(t[_$_5008[1831]]=e[_$_5008[1831]]),t}(e)):e[_$_5008[1821]]===r[_$_5008[1806]]&&(t[_$_5008[1805]]=!1,t[_$_5008[1816]]={message:e[_$_5008[89]]})),t},e[_$_5008[1822]]=function(e){var t={granted:!1,payload:{},data:{}};return e&&e[_$_5008[215]](_$_5008[1094])?(t[_$_5008[1805]]=!1,t[_$_5008[1816]]=e):t[_$_5008[1805]]=!0,t},e[_$_5008[37]][_$_5008[1823]]=function(e){for(var t=0,n=this[_$_5008[1811]];t<n[_$_5008[26]];t++)(0,n[t])(e[_$_5008[1805]],e[_$_5008[1816]],e[_$_5008[1703]])},e[_$_5008[37]][_$_5008[1113]]=function(e){this[_$_5008[1824]]=e},e[_$_5008[37]][_$_5008[916]]=function(e){isNaN(e)||(this[_$_5008[1810]]=Math[_$_5008[247]](e,3e4))},e[_$_5008[37]][_$_5008[1817]]=function(t,n,r){var o=this,u=JSON[_$_5008[282]]({domain:i[_$_5008[329]][_$_5008[330]],key:t||_$_5008[90],version:i[_$_5008[329]][_$_5008[355]],customData:this[_$_5008[1824]]}),c=this[_$_5008[1825]](r);c[_$_5008[1019]](n,a[_$_5008[1252]][_$_5008[1310]],a[_$_5008[1253]][_$_5008[1305]],u)[_$_5008[166]]((function(t){c[_$_5008[323]](),o[_$_5008[1813]]=e[_$_5008[1819]](_(t[_$_5008[1826]])),o[_$_5008[1812]]=!1,o[_$_5008[1823]](o[_$_5008[1813]])}),(function(i){c[_$_5008[323]](),n!==l&&(0,s[_$_5008[623]])()[_$_5008[1446]]?setTimeout((function(){return o[_$_5008[1817]](t,l,r)}),o[_$_5008[1810]]):(o[_$_5008[1813]]=e[_$_5008[1822]](_(i[_$_5008[1826]])),o[_$_5008[1812]]=!1,o[_$_5008[1823]](o[_$_5008[1813]]))}))},e[_$_5008[37]][_$_5008[1825]]=function(e){return new o[_$_5008[1798]]({settings:{RETRY_DELAY:0,INCREASE_RETRY_DELAY:!1,INCREASE_RETRY_DELAY_BASE_SEC:0,MAX_INCREASE_RETRY_DELAY_SEC:0,QUERY_PARAMETERS:[],HTTP_HEADERS:null,XHR_TIMEOUT:2e4,DISABLE_RETRY_FOR_RESPONSE_STATUS:{}},logger:this[_$_5008[280]],config:{network:{requestApi:e}}})},e[_$_5008[761]]=function(t,n,r){var i=[n,r][_$_5008[125]]();return e[_$_5008[1827]][_$_5008[215]](i)||(e[_$_5008[1827]][i]=new e(t,n,r)),e[_$_5008[1827]][i]},e[_$_5008[683]]=function(){Object[_$_5008[98]](e[_$_5008[1827]])[_$_5008[113]]((function(t){return delete e[_$_5008[1827]][t]}))},e[_$_5008[1827]]={},e}();function _(e){if(_$_5008[109]==typeof e)try{return JSON[_$_5008[283]](e)}catch(e){return{}}return e}t[_$_5008[915]]=d},45217:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1795]]=void 0,t[_$_5008[1795]]=_$_5008[1832]},63331:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1833]]=i,t[_$_5008[1834]]=o,t[_$_5008[1835]]=function(e,t){for(var n=[],r=0;r<e[_$_5008[26]];r++){var a=e[r][_$_5008[1840]];a&&n[_$_5008[57]][_$_5008[35]](n,a)}n[_$_5008[113]]((function(e,n,r){var a;e[_$_5008[1838]]&&e[_$_5008[1839]]&&(a=o(e,n,r));var s=i(e,a);t(s)}))};var r=n(331);function i(e,t){var n={};return n[_$_5008[1584]]=(0,r[_$_5008[276]])(Date[_$_5008[283]](e[_$_5008[1559]])),e[_$_5008[1836]]?n[_$_5008[1837]]=(0,r[_$_5008[276]])(Date[_$_5008[283]](e[_$_5008[1836]])):void 0===e[_$_5008[1323]]||isNaN(e[_$_5008[1323]])?e[_$_5008[1838]]&&t&&(n[_$_5008[1837]]=(0,r[_$_5008[276]])(Date[_$_5008[283]](t[_$_5008[1559]]))):n[_$_5008[1837]]=(0,r[_$_5008[276]])(Date[_$_5008[283]](e[_$_5008[1559]]))+e[_$_5008[1323]],n[_$_5008[1703]]=e,n}function o(e,t,n){for(var r=t+1;r<n[_$_5008[26]];r++)if(n[r][_$_5008[1839]]&&n[r][_$_5008[1839]]===e[_$_5008[1839]])return n[r]}},44779:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1246]]=function(e,t){return void 0===t&&(t=_$_5008[90]),o(e)?String(i[_$_5008[1001]][_$_5008[1842]](e[_$_5008[1245]]+e[_$_5008[240]]+e[_$_5008[433]][_$_5008[689]])):String(i[_$_5008[1001]][_$_5008[1842]](t+JSON[_$_5008[282]](e)))},t[_$_5008[1841]]=o;var r=n(92737),i=n(54838);function o(e){return e[_$_5008[1245]]===r[_$_5008[363]][_$_5008[541]]}},54861:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1843]]=void 0;var r=n(18665),i=n(489),o=function(){function e(e,t){this[_$_5008[1844]]=e[_$_5008[612]][_$_5008[159]](r[_$_5008[614]][_$_5008[1025]]),this[_$_5008[1845]]=new i[_$_5008[1846]](e,t)}return e[_$_5008[37]][_$_5008[1847]]=function(e,t,n){t[_$_5008[240]]=t[_$_5008[240]]||e,this[_$_5008[1844]][_$_5008[795]](n,t)},e[_$_5008[37]][_$_5008[1848]]=function(e,t,n){this[_$_5008[1845]][_$_5008[143]](e,t,n)},e[_$_5008[37]][_$_5008[1849]]=function(e){this[_$_5008[1845]][_$_5008[1849]](e)},e[_$_5008[37]][_$_5008[1850]]=function(e,t){this[_$_5008[1845]][_$_5008[1850]](e,t)},e[_$_5008[37]][_$_5008[683]]=function(e){this[_$_5008[1845]][_$_5008[683]](e)},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1845]][_$_5008[323]]()},e}();t[_$_5008[1843]]=o},99303:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}(),i=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1851]]=void 0;var o=n(62510),a=function(e){function t(){return null!==e&&e[_$_5008[35]](this,arguments)||this}return r(t,e),t[_$_5008[37]][_$_5008[1853]]=function(t,n,r){var a,s;if(!isNaN(t)&&!isNaN(n)&&r){var u=this[_$_5008[1855]](r[_$_5008[433]],this[_$_5008[1854]]);if(-1===u)e[_$_5008[37]][_$_5008[1853]][_$_5008[36]](this,t,n,r);else{var c=this[_$_5008[1855]](r[_$_5008[433]],this[_$_5008[1856]]);if(this[_$_5008[1859]](u,c,{start:t+this[_$_5008[1857]],end:n+this[_$_5008[1857]],content:r,updates:i([],this[_$_5008[1854]][u][_$_5008[1858]],!0)}),-1!==c){var l={metadataType:r[_$_5008[1245]],metadata:r[_$_5008[433]],data:r[_$_5008[433]],start:null!==(a=r[_$_5008[240]])&&void 0!==a?a:t,end:null!==(s=r[_$_5008[241]])&&void 0!==s?s:n};this[_$_5008[91]][_$_5008[603]][_$_5008[716]](o[_$_5008[364]][_$_5008[436]],l)}}}},t[_$_5008[37]][_$_5008[1855]]=function(e,t){return t[_$_5008[1861]]((function(t){return t[_$_5008[1860]][_$_5008[433]][_$_5008[689]]===e[_$_5008[689]]}))},t[_$_5008[37]][_$_5008[1859]]=function(e,t,n){-1!==e&&this[_$_5008[1854]][_$_5008[130]](e,1,n),-1!==t&&this[_$_5008[1856]][_$_5008[130]](t,1,n)},t}(n(99378)[_$_5008[1852]]);t[_$_5008[1851]]=a},45243:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1862]]=void 0;var r=n(54838),i=n(44779),o=function(){function e(){var e=this;this[_$_5008[143]]=function(t){var n=a(t);e[_$_5008[1854]][n]=void 0},this[_$_5008[157]]=function(t){var n=a(t);delete e[_$_5008[1854]][n]},this[_$_5008[1854]]={}}return e[_$_5008[37]][_$_5008[152]]=function(e){return a(e)in this[_$_5008[1854]]},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1854]]={}},e}();function a(e){return(0,i[_$_5008[1841]])(e[_$_5008[1860]])?(0,i[_$_5008[1246]])(e[_$_5008[1860]]):String(r[_$_5008[1001]][_$_5008[1842]](JSON[_$_5008[282]]({start:e[_$_5008[240]],end:e[_$_5008[241]],content:e[_$_5008[1860]]})))}t[_$_5008[1862]]=o},489:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1846]]=t[_$_5008[1863]]=void 0,t[_$_5008[1864]]=l;var i,o=n(62510),a=n(33669),s=n(27279),u=n(99303),c=n(99378);function l(e){return[i[_$_5008[1865]],i[_$_5008[430]],i[_$_5008[1866]]][_$_5008[794]](e)}!function(e){e[_$_5008[1865]]=_$_5008[1869],e[_$_5008[430]]=_$_5008[1870],e[_$_5008[1871]]=_$_5008[780],e[_$_5008[1872]]=_$_5008[1873],e[_$_5008[1874]]=_$_5008[1840],e[_$_5008[1866]]=_$_5008[1875]}(i||(t[_$_5008[1863]]=i={}));var d=function(){function e(e,t){var n=this;this[_$_5008[1876]]=function(e){e&&e[_$_5008[1860]]&&n[_$_5008[1877]][_$_5008[215]](e[_$_5008[1860]][_$_5008[1754]])&&n[_$_5008[1877]][e[_$_5008[1860]][_$_5008[1754]]](e[_$_5008[1860]])},this[_$_5008[91]]=e,this[_$_5008[1877]]=t,this[_$_5008[1878]]()}return e[_$_5008[37]][_$_5008[1878]]=function(){for(var e in this[_$_5008[1879]]={},this[_$_5008[1877]])this[_$_5008[1877]][_$_5008[215]](e)&&(this[_$_5008[1879]][e]=_$_5008[1840]===e?new u[_$_5008[1851]](this[_$_5008[91]],{onCueEnter:this[_$_5008[1876]]}):new c[_$_5008[1852]](this[_$_5008[91]],{onCueEnter:this[_$_5008[1876]],allowDuplicates:e===i[_$_5008[430]]}),this[_$_5008[1879]][e][_$_5008[1880]]())},e[_$_5008[37]][_$_5008[1881]]=function(e,t){var n=(0,a[_$_5008[1883]])((0,s[_$_5008[1882]])(this[_$_5008[91]])),r=(0,a[_$_5008[1885]])(null==n?void 0:n[_$_5008[1884]]);e[_$_5008[1850]]((function(e){return e[_$_5008[240]]<=t&&e[_$_5008[241]]<=t+1&&e[_$_5008[241]]<=r}))},e[_$_5008[37]][_$_5008[143]]=function(e,t,n){if(this[_$_5008[1877]][_$_5008[215]](e)){var o=this[_$_5008[1879]][e],a=t+1;e===i[_$_5008[430]]&&function(e){return e[_$_5008[433]]&&e[_$_5008[433]][_$_5008[1867]]&&e[_$_5008[433]][_$_5008[1868]]}(n)&&_$_5008[1867]in n[_$_5008[433]]&&_$_5008[1323]in n[_$_5008[433]][_$_5008[1867]]?a=t+n[_$_5008[433]][_$_5008[1867]][_$_5008[1323]]:_(n)&&(a=!0===n[_$_5008[433]][_$_5008[1838]]&&void 0===n[_$_5008[241]]?1/0:n[_$_5008[240]]===n[_$_5008[241]]?n[_$_5008[241]]+1:n[_$_5008[241]]),l(e)&&this[_$_5008[1881]](o,t);var s=r({eventType:e},n);o[_$_5008[1853]](t,a,s)}},e[_$_5008[37]][_$_5008[683]]=function(e){if(e&&this[_$_5008[1877]][_$_5008[215]](e))this[_$_5008[1879]][e][_$_5008[1886]]();else for(var t in this[_$_5008[1877]])this[_$_5008[1877]][_$_5008[215]](t)&&this[_$_5008[1879]][t][_$_5008[1886]]()},e[_$_5008[37]][_$_5008[1850]]=function(e,t){this[_$_5008[1879]][e][_$_5008[1850]](t)},e[_$_5008[37]][_$_5008[1849]]=function(e){var t=this;Object[_$_5008[98]](this[_$_5008[1879]])[_$_5008[113]]((function(n){t[_$_5008[1879]][n][_$_5008[1887]](e)}))},e[_$_5008[37]][_$_5008[323]]=function(){for(var e in this[_$_5008[1879]])this[_$_5008[1879]][_$_5008[215]](e)&&(this[_$_5008[1879]][e][_$_5008[323]](),this[_$_5008[1879]][e]=null);this[_$_5008[1879]]=null},e[_$_5008[37]][_$_5008[1888]]=function(e){if(this[_$_5008[1879]])return this[_$_5008[1879]][e]},e}();function _(e){return e[_$_5008[1245]]===o[_$_5008[363]][_$_5008[541]]}t[_$_5008[1846]]=d},99378:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1852]]=void 0;var i=n(62510),o=n(58935),a=n(54838),s=n(45243),u=function(){function e(e,t){var n=this;this[_$_5008[1854]]=[],this[_$_5008[1856]]=[],this[_$_5008[1889]]=[],this[_$_5008[1857]]=0,this[_$_5008[1890]]=function(e){var t=e[_$_5008[1891]]||e[_$_5008[1892]]||0;n[_$_5008[1893]](t),n[_$_5008[1894]](t),n[_$_5008[1895]](t)},this[_$_5008[91]]=e,this[_$_5008[1414]]=e[_$_5008[1414]],this[_$_5008[1415]]=t,this[_$_5008[1896]]=!1,t[_$_5008[1897]]||(this[_$_5008[1898]]=new s[_$_5008[1862]]),this[_$_5008[1414]]&&this[_$_5008[1899]]()}return e[_$_5008[37]][_$_5008[1899]]=function(){this[_$_5008[1896]]||(this[_$_5008[1896]]=!0,this[_$_5008[1414]][_$_5008[75]](i[_$_5008[364]][_$_5008[420]],this[_$_5008[1890]]))},e[_$_5008[37]][_$_5008[1900]]=function(){this[_$_5008[1896]]&&(this[_$_5008[1414]][_$_5008[96]](i[_$_5008[364]][_$_5008[420]],this[_$_5008[1890]]),this[_$_5008[1896]]=!1)},e[_$_5008[1901]]=function(e,t){return e[_$_5008[241]]>=t&&e[_$_5008[240]]<=t},e[_$_5008[37]][_$_5008[1902]]=function(e){for(var t=0;t<this[_$_5008[1856]][_$_5008[26]];t++)if(e===this[_$_5008[1856]][t])return!0;return!1},e[_$_5008[37]][_$_5008[1893]]=function(t){for(var n,r,i=0;i<this[_$_5008[1856]][_$_5008[26]];i++){var o=this[_$_5008[1856]][i];e[_$_5008[1901]](o,t)||(this[_$_5008[1856]][_$_5008[130]](i,1),i--,null===(r=(n=this[_$_5008[1415]])[_$_5008[1903]])||void 0===r||r[_$_5008[36]](n,o))}},e[_$_5008[37]][_$_5008[1894]]=function(t){for(var n,r,i=0;i<this[_$_5008[1854]][_$_5008[26]];i++){var o=this[_$_5008[1854]][i];e[_$_5008[1901]](o,t)&&!this[_$_5008[1902]](o)&&(this[_$_5008[1856]][_$_5008[57]](o),null===(r=(n=this[_$_5008[1415]])[_$_5008[1876]])||void 0===r||r[_$_5008[36]](n,o))}},e[_$_5008[37]][_$_5008[1895]]=function(e){for(var t,n,i=[],o=0,a=this[_$_5008[1856]];o<a[_$_5008[26]];o++){var s=a[o],u=d(s[_$_5008[1858]],e);void 0!==u&&(i[_$_5008[57]](u),this[_$_5008[1904]](u)||null===(n=(t=this[_$_5008[1415]])[_$_5008[1905]])||void 0===n||n[_$_5008[36]](t,r(r({},s),{content:r(r({},s[_$_5008[1860]]),u[_$_5008[1860]])})))}this[_$_5008[1889]]=i},e[_$_5008[37]][_$_5008[1904]]=function(e){return Boolean(this[_$_5008[1889]][_$_5008[803]]((function(t){return t===e})))},e[_$_5008[37]][_$_5008[1853]]=function(e,t,n,i){var s,u=this;if(void 0===i&&(i=[]),!isNaN(e)&&!isNaN(t)&&n&&!this[_$_5008[1906]](e,t,n)){var c=i[_$_5008[137]]((function(e){return r(r({},e),{updateTime:e[_$_5008[1907]]+u[_$_5008[1857]]})})),l={start:e+this[_$_5008[1857]],end:t+this[_$_5008[1857]],content:n,updates:c};if(this[_$_5008[1854]][_$_5008[26]]>0){var d=this[_$_5008[1854]][this[_$_5008[1854]][_$_5008[26]]-1];if(a[_$_5008[1001]][_$_5008[1908]](n,d[_$_5008[1860]])&&e>=d[_$_5008[240]]&&e-.5<=d[_$_5008[241]])return this[_$_5008[91]][_$_5008[280]][_$_5008[1211]](o[_$_5008[1200]][_$_5008[1202]])&&this[_$_5008[91]][_$_5008[280]][_$_5008[1139]](_$_5008[1909]+e+_$_5008[1589]+t+_$_5008[1910]+n),void(this[_$_5008[1854]][this[_$_5008[1854]][_$_5008[26]]-1][_$_5008[241]]=Math[_$_5008[248]](t,d[_$_5008[241]]))}if(this[_$_5008[91]][_$_5008[280]][_$_5008[1211]](o[_$_5008[1200]][_$_5008[1202]])){var _=JSON[_$_5008[282]](n);_[_$_5008[26]]>500&&(_=_[_$_5008[25]](0,497)+_$_5008[1911]),this[_$_5008[91]][_$_5008[280]][_$_5008[1139]](_$_5008[1912]+e+_$_5008[1589]+t+_$_5008[1910]+_)}null===(s=this[_$_5008[1898]])||void 0===s||s[_$_5008[143]](l),this[_$_5008[1854]][_$_5008[57]](l)}},e[_$_5008[37]][_$_5008[1913]]=function(e,t){t=t||0;for(var n=0,r=0,i=e;r<i[_$_5008[26]];r++){var o=i[r];if(o&&o[_$_5008[215]](_$_5008[240])&&o[_$_5008[215]](_$_5008[241])&&o[_$_5008[241]]>t){var a=c(o),s=l(o);this[_$_5008[1853]](o[_$_5008[240]],o[_$_5008[241]],a,s),n=Math[_$_5008[248]](n,o[_$_5008[241]])}}return n},e[_$_5008[37]][_$_5008[1906]]=function(e,t,n){return!!this[_$_5008[1898]]&&this[_$_5008[1898]][_$_5008[152]]({start:e,end:t,content:n})},e[_$_5008[37]][_$_5008[1850]]=function(e){var t=this;this[_$_5008[1854]]=this[_$_5008[1854]][_$_5008[112]]((function(n){var r,i=e(n);return i&&(null===(r=t[_$_5008[1898]])||void 0===r||r[_$_5008[157]](n)),!i}))},e[_$_5008[37]][_$_5008[1887]]=function(e){this[_$_5008[1850]]((function(t){return t[_$_5008[241]]<e}))},e[_$_5008[37]][_$_5008[1886]]=function(){var e=this;this[_$_5008[1914]](),this[_$_5008[1854]][_$_5008[113]]((function(t){var n;return null===(n=e[_$_5008[1898]])||void 0===n?void 0:n[_$_5008[157]](t)})),this[_$_5008[1854]]=[]},e[_$_5008[37]][_$_5008[1914]]=function(){this[_$_5008[1893]](-1),this[_$_5008[1856]]=[],this[_$_5008[1889]]=[]},e[_$_5008[37]][_$_5008[1880]]=function(){this[_$_5008[1890]]({time:this[_$_5008[1414]][_$_5008[838]]()})},e[_$_5008[37]][_$_5008[1915]]=function(){return!0},e[_$_5008[37]][_$_5008[1916]]=function(e){this[_$_5008[1857]]=e},e[_$_5008[37]][_$_5008[323]]=function(){var e;this[_$_5008[1854]]=[],this[_$_5008[1856]]=[],this[_$_5008[1889]]=[],null===(e=this[_$_5008[1898]])||void 0===e||e[_$_5008[323]](),this[_$_5008[1900]]()},e[_$_5008[37]][_$_5008[1917]]=function(){return this[_$_5008[1854]]},e}();function c(e){var t={text:e[_$_5008[1308]]};return _$_5008[1918]in e&&(t[_$_5008[1918]]=e[_$_5008[1918]],t[_$_5008[1308]]=t[_$_5008[1308]]||t[_$_5008[1918]]),_$_5008[1919]in e&&(t[_$_5008[1919]]=e[_$_5008[1919]]),_$_5008[1920]in e&&(t[_$_5008[1921]]=e[_$_5008[1920]]),_$_5008[1922]in e&&(t[_$_5008[1922]]=e[_$_5008[1922]]),_$_5008[1923]in e&&(t[_$_5008[1923]]=e[_$_5008[1923]]),_$_5008[1924]in e&&(t[_$_5008[1924]]=e[_$_5008[1924]]),t}function l(e){var t=[];return _$_5008[1858]in e&&(t=e[_$_5008[1858]][_$_5008[137]]((function(t){return{updateTime:t[_$_5008[1907]],content:{html:t[_$_5008[1918]],text:e[_$_5008[1308]]}}}))),t}function d(e,t){for(var n=e[_$_5008[26]]-1;n>=0;n--)if(e[n][_$_5008[1907]]<=t)return e[n]}t[_$_5008[1852]]=u},88005:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1798]]=void 0;var i,o=n(331),a=n(91520),s=n(16368),u=n(62510),c=n(67345),l=n(87326),d=n(37233),_=n(13533),f=n(30051),h=n(43485),p=n(76885),g=n(54838),v=n(78936),m=n(90637),y=n(36564),b=n(65411);function S(){return{requestType:c[_$_5008[1254]][_$_5008[1299]],maxRetries:0}}!function(e){e[_$_5008[240]]=_$_5008[1925]}(i||(i={}));var E=function(){function e(e,t){void 0===t&&(t=S());var n=this;this[_$_5008[1019]]=function(e,t,r,i,o,a,s,u){return void 0===a&&(a=!1),void 0===u&&(u=!1),n[_$_5008[1926]]=s,n[_$_5008[1927]]=u,t=t||c[_$_5008[1252]][_$_5008[1309]],e=n[_$_5008[1928]](e),o=y[_$_5008[1931]][_$_5008[1930]](n[_$_5008[788]][_$_5008[1929]],o),e?(n[_$_5008[1932]]={method:t,url:p[_$_5008[1934]][_$_5008[1933]](e),headers:JSON[_$_5008[283]](JSON[_$_5008[282]](o)),responseType:r||c[_$_5008[1253]][_$_5008[1307]],credentials:a?_$_5008[1935]:_$_5008[1936]},i&&(n[_$_5008[1932]][_$_5008[1826]]=i),n[_$_5008[1948]](n[_$_5008[1932]])[_$_5008[166]]((function(e){return n[_$_5008[1817]](e)[_$_5008[883]](n[_$_5008[1947]])}))[_$_5008[166]](n[_$_5008[1946]])[_$_5008[166]](n[_$_5008[1945]])[_$_5008[166]]((function(e){return n[_$_5008[1937]]&&e[_$_5008[1826]]instanceof n[_$_5008[1937]][_$_5008[1938]]?e[_$_5008[1826]]=e[_$_5008[1826]][_$_5008[1944]]((function(e){return e}),(function(){return n[_$_5008[1939]](e)}),(function(t){return t[_$_5008[89]]===m[_$_5008[1941]][_$_5008[1940]]&&n[_$_5008[1942]](),e[_$_5008[1826]][_$_5008[1943]](t[_$_5008[89]]),t[_$_5008[89]]})):n[_$_5008[1939]](e),e}))):Promise[_$_5008[892]](_$_5008[1949])},this[_$_5008[1945]]=function(e){return n[_$_5008[1950]](e[_$_5008[1821]])?n[_$_5008[1952]](_$_5008[1951],e):Promise[_$_5008[580]](e)},this[_$_5008[1948]]=function(e){return n[_$_5008[1955]](e,n[_$_5008[1954]][_$_5008[1953]])},this[_$_5008[1946]]=function(e){return n[_$_5008[1955]](e,n[_$_5008[1954]][_$_5008[1956]])},this[_$_5008[1957]]=function(e){if(_$_5008[34]==typeof n[_$_5008[1415]][_$_5008[1957]]&&!n[_$_5008[1958]]&&n[_$_5008[1959]]){if(e[_$_5008[1960]]>=0&&void 0!==e[_$_5008[1961]]&&e[_$_5008[1960]]>=e[_$_5008[1961]])return;var t=n[_$_5008[1964]][_$_5008[1963]](n[_$_5008[1962]][_$_5008[240]]);n[_$_5008[1415]][_$_5008[1957]](r(r({},e),{elapsedTime:t}))}},this[_$_5008[1947]]=function(e){n[_$_5008[1965]]++;var t=e[_$_5008[1966]]&&e[_$_5008[1966]][_$_5008[1821]],r=e[_$_5008[1966]]?e[_$_5008[1966]][_$_5008[1183]]:null;return!t&&n[_$_5008[1415]][_$_5008[1967]]&&function(e){return _$_5008[109]==typeof e&&(0,_[_$_5008[2025]])()[_$_5008[335]][_$_5008[794]]((0,p[_$_5008[2008]])(e))}(r)&&(n[_$_5008[1965]]=0),e[_$_5008[73]]===m[_$_5008[1941]][_$_5008[1968]]?n[_$_5008[1952]](e[_$_5008[73]],null):n[_$_5008[1946]](e[_$_5008[1966]])[_$_5008[166]]((function(r){return n[_$_5008[1954]][_$_5008[1969]]&&_$_5008[34]==typeof n[_$_5008[1954]][_$_5008[1969]]?n[_$_5008[1969]](e[_$_5008[73]],r):t&&n[_$_5008[1950]](r[_$_5008[1821]])?n[_$_5008[1952]](_$_5008[1970]+r[_$_5008[1821]],r):n[_$_5008[1965]]<=n[_$_5008[1415]][_$_5008[1971]]?n[_$_5008[1972]]()[_$_5008[883]](n[_$_5008[1947]]):n[_$_5008[1952]](_$_5008[1973],e[_$_5008[1966]])}))},this[_$_5008[1952]]=function(e,t){var r=n[_$_5008[1965]];return n[_$_5008[683]](),n[_$_5008[1959]]=!1,n[_$_5008[1974]](!1,t,r),n[_$_5008[1415]][_$_5008[1975]](t,{name:e},r-1),Promise[_$_5008[892]](null!=t?t:new Error(e))},this[_$_5008[91]]=e,this[_$_5008[1954]]=this[_$_5008[91]][_$_5008[1415]]&&this[_$_5008[91]][_$_5008[1415]][_$_5008[662]]||{},a[_$_5008[140]][_$_5008[152]](s[_$_5008[168]][_$_5008[183]])&&(this[_$_5008[1937]]=a[_$_5008[140]][_$_5008[159]](s[_$_5008[168]][_$_5008[183]])),this[_$_5008[1415]]=r(r({},S()),t),this[_$_5008[1964]]=new v[_$_5008[1976]](this[_$_5008[91]]),this[_$_5008[44]]()}return e[_$_5008[37]][_$_5008[1977]]=function(e,t,n){return Math[_$_5008[247]](Math[_$_5008[1978]](e*t),n)},e[_$_5008[37]][_$_5008[1974]]=function(e,t,n){t&&this[_$_5008[1415]][_$_5008[1979]]&&this[_$_5008[716]](u[_$_5008[364]][_$_5008[442]],{type:u[_$_5008[364]][_$_5008[442]],timestamp:Date[_$_5008[819]](),httpStatus:t[_$_5008[1821]],success:e,url:t[_$_5008[1183]],downloadTime:(0,o[_$_5008[276]])(g[_$_5008[1001]][_$_5008[1981]]((0,o[_$_5008[1248]])(t[_$_5008[1980]]),0)),size:t[_$_5008[26]]||0,attempt:n,maxAttempts:this[_$_5008[1415]][_$_5008[1971]]+1,downloadType:this[_$_5008[1415]][_$_5008[1979]],mimeType:this[_$_5008[1926]],timeToFirstByte:t[_$_5008[1982]]})},e[_$_5008[37]][_$_5008[1983]]=function(){return this[_$_5008[1959]]},e[_$_5008[37]][_$_5008[1984]]=function(){return this[_$_5008[1965]]>0},e[_$_5008[37]][_$_5008[1985]]=function(e){this[_$_5008[1415]][_$_5008[1967]]=e},e[_$_5008[37]][_$_5008[1986]]=function(e){this[_$_5008[1415]][_$_5008[1971]]=e},e[_$_5008[37]][_$_5008[1928]]=function(e){return p[_$_5008[1934]][_$_5008[1988]](e,this[_$_5008[788]][_$_5008[1987]])},e[_$_5008[37]][_$_5008[1817]]=function(e){var t=this;if(this[_$_5008[1958]])return Promise[_$_5008[892]]({error:m[_$_5008[1941]][_$_5008[1968]],response:null});this[_$_5008[1962]]&&this[_$_5008[1964]][_$_5008[1042]](this[_$_5008[1962]]);var n=_$_5008[1989]+g[_$_5008[1001]][_$_5008[1359]]();return this[_$_5008[1962]]={start:n+i[_$_5008[240]]},this[_$_5008[1964]][_$_5008[1990]](this[_$_5008[1962]][_$_5008[240]]),this[_$_5008[1932]]=e,this[_$_5008[1959]]=!0,this[_$_5008[1991]](),this[_$_5008[1993]][_$_5008[1992]]()[_$_5008[166]]((function(e){return null==e[_$_5008[1980]]&&(e[_$_5008[1980]]=t[_$_5008[1964]][_$_5008[1963]](t[_$_5008[1962]][_$_5008[240]]),e[_$_5008[1982]]=0),e}))},e[_$_5008[37]][_$_5008[1994]]=function(){var e;this[_$_5008[1954]][_$_5008[1995]]&&_$_5008[34]==typeof this[_$_5008[1954]][_$_5008[1995]]&&(e=this[_$_5008[1954]][_$_5008[1995]](this[_$_5008[1415]][_$_5008[1979]],this[_$_5008[1932]]));var t=this[_$_5008[1954]][_$_5008[666]]===c[_$_5008[1251]][_$_5008[1315]]||this[_$_5008[1927]];return t&&!(0,h[_$_5008[1996]])()&&(this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[1997]),t=!1),e&&_$_5008[34]==typeof e[_$_5008[1992]]||(e=t?this[_$_5008[1998]]():this[_$_5008[1999]]()),e},e[_$_5008[37]][_$_5008[1991]]=function(){var e=this,t=this[_$_5008[1994]]();t[_$_5008[2e3]]((function(t){return e[_$_5008[1957]](t)}));var n=f[_$_5008[2002]][_$_5008[2001]](t[_$_5008[1992]]());this[_$_5008[1993]]={getResponse:function(){return n},cancel:function(){t[_$_5008[1942]](),n[_$_5008[1942]]({error:m[_$_5008[1941]][_$_5008[1968]],response:null})},setProgressListener:t[_$_5008[2e3]]}},e[_$_5008[37]][_$_5008[1999]]=function(){var e=(0,o[_$_5008[1248]])(this[_$_5008[788]][_$_5008[2003]]);return this[_$_5008[1415]][_$_5008[2004]]&&(e=-1),new b[_$_5008[2005]](this[_$_5008[91]][_$_5008[280]],this[_$_5008[1932]],e)},e[_$_5008[37]][_$_5008[1998]]=function(){return new this[_$_5008[1937]][_$_5008[2006]](this[_$_5008[91]],this[_$_5008[1932]],(0,o[_$_5008[1248]])(this[_$_5008[788]][_$_5008[2003]]),this[_$_5008[1927]])},e[_$_5008[37]][_$_5008[1955]]=function(e,t){return t&&_$_5008[34]==typeof t?Promise[_$_5008[580]](t(this[_$_5008[1415]][_$_5008[1979]],e)||e):Promise[_$_5008[580]](e)},e[_$_5008[37]][_$_5008[1939]]=function(e){this[_$_5008[1959]]=!1,this[_$_5008[1974]](!0,e,this[_$_5008[1965]]+1),this[_$_5008[1415]][_$_5008[2007]](e,e[_$_5008[1980]],e[_$_5008[1183]]),this[_$_5008[683]](),e[_$_5008[1183]]&&(0,_[_$_5008[107]])()[_$_5008[138]]((0,d[_$_5008[2009]])((0,p[_$_5008[2008]])(e[_$_5008[1183]])))},e[_$_5008[37]][_$_5008[1969]]=function(e,t){var n=this,r=this[_$_5008[1954]][_$_5008[1969]](this[_$_5008[1415]][_$_5008[1979]],t,this[_$_5008[1965]]);return Promise[_$_5008[580]](r)[_$_5008[166]]((function(e){return e[_$_5008[2010]]?(n[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2011],e),n[_$_5008[1952]](_$_5008[2011],t)):n[_$_5008[1817]](e)[_$_5008[883]](n[_$_5008[1947]])}))[_$_5008[883]]((function(){return n[_$_5008[1952]](e,t)}))},e[_$_5008[37]][_$_5008[1972]]=function(){var e=this,t=this[_$_5008[1415]][_$_5008[2012]],n=_$_5008[2013];return this[_$_5008[788]][_$_5008[2014]]&&(t=this[_$_5008[1977]](this[_$_5008[788]][_$_5008[2015]],this[_$_5008[1965]],this[_$_5008[788]][_$_5008[2016]]),n=_$_5008[2017]),this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2022][_$_5008[41]](n,_$_5008[2021])[_$_5008[41]](null==t?void 0:t[_$_5008[2019]](1),_$_5008[2020])[_$_5008[41]](this[_$_5008[1965]],_$_5008[2018])[_$_5008[41]](this[_$_5008[1932]][_$_5008[1183]])),new Promise((function(n,r){var i=setTimeout((function(){e[_$_5008[1817]](e[_$_5008[1932]])[_$_5008[166]](n)[_$_5008[883]](r)}),(0,o[_$_5008[1248]])(t));e[_$_5008[2023]]=function(){e[_$_5008[2023]]=null,clearTimeout(i),r({error:m[_$_5008[1941]][_$_5008[1968]],response:null})}}))},e[_$_5008[37]][_$_5008[1950]]=function(e){return this[_$_5008[1415]][_$_5008[1979]]in this[_$_5008[788]][_$_5008[2024]]&&this[_$_5008[788]][_$_5008[2024]][this[_$_5008[1415]][_$_5008[1979]]][_$_5008[794]](e)},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[1965]]=0,this[_$_5008[1958]]=!1,this[_$_5008[2023]]&&_$_5008[34]==typeof this[_$_5008[2023]]&&this[_$_5008[2023]]()},e[_$_5008[37]][_$_5008[1942]]=function(){this[_$_5008[1958]]=!0,this[_$_5008[1959]]&&(this[_$_5008[1959]]=!1,this[_$_5008[2023]]&&this[_$_5008[2023]](),this[_$_5008[1993]]&&this[_$_5008[1993]][_$_5008[1942]]())},e[_$_5008[37]][_$_5008[1992]]=function(){if(this[_$_5008[1993]]&&_$_5008[34]==typeof this[_$_5008[1993]][_$_5008[1992]])return this[_$_5008[1993]][_$_5008[1992]]()},e[_$_5008[37]][_$_5008[44]]=function(){var e=[_$_5008[2007],_$_5008[1975]];this[_$_5008[1965]]=0;var t={};g[_$_5008[1001]][_$_5008[1638]](t,l[_$_5008[691]]),this[_$_5008[788]]=this[_$_5008[91]][_$_5008[788]]||t;for(var n=0;n<e[_$_5008[26]];n++)this[_$_5008[1415]][_$_5008[215]](e[n])&&_$_5008[34]==typeof this[_$_5008[1415]][e[n]]||(this[_$_5008[1415]][e[n]]=function(){});this[_$_5008[91]][_$_5008[603]]&&_$_5008[34]==typeof this[_$_5008[91]][_$_5008[603]][_$_5008[716]]?this[_$_5008[716]]=this[_$_5008[91]][_$_5008[603]][_$_5008[716]]:this[_$_5008[716]]=function(){}},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[1983]]()&&this[_$_5008[1942]](),this[_$_5008[1962]]&&this[_$_5008[1964]][_$_5008[1042]](this[_$_5008[1962]]),this[_$_5008[1993]]=null,this[_$_5008[716]]=null,this[_$_5008[788]]=null},e}();t[_$_5008[1798]]=E},59181:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2026]]=void 0,function(e){e[_$_5008[720]]=_$_5008[2027],e[_$_5008[723]]=_$_5008[2028],e[_$_5008[171]]=_$_5008[2029]}(n||(t[_$_5008[2026]]=n={}))},78936:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1976]]=void 0;var r=n(331),i=n(12733),o=function(){function e(e){this[_$_5008[91]]=e}return e[_$_5008[37]][_$_5008[2030]]=function(e){return 0===e[_$_5008[26]]?(this[_$_5008[91]][_$_5008[280]][_$_5008[38]](_$_5008[2031]),[{startTime:0,duration:0}]):e},e[_$_5008[37]][_$_5008[2032]]=function(e){return this[_$_5008[2030]](i[_$_5008[2034]][_$_5008[2033]](e))},e[_$_5008[37]][_$_5008[1990]]=function(e){i[_$_5008[2034]][_$_5008[2035]](e)},e[_$_5008[37]][_$_5008[1963]]=function(e){var t=this[_$_5008[2032]](e);return(0,r[_$_5008[276]])(i[_$_5008[2034]][_$_5008[819]]()-t[0][_$_5008[1584]])},e[_$_5008[37]][_$_5008[1042]]=function(e){(Array[_$_5008[254]](e)?e:Object[_$_5008[1168]](e))[_$_5008[113]]((function(e){i[_$_5008[2034]][_$_5008[2036]](e)}))},e}();t[_$_5008[1976]]=o},2193:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2037]]=void 0,function(e){e[_$_5008[2035]]=_$_5008[2035],e[_$_5008[2038]]=_$_5008[2038]}(n||(n={}));var r=[],i={},o=function(e,t){r=t?r[_$_5008[112]]((function(n){return n[_$_5008[62]]!==t&&n[_$_5008[2039]]===e})):r[_$_5008[112]]((function(t){return t[_$_5008[2039]]!==e}))},a=function(e,t){return r[_$_5008[112]]((function(n){return n[e]===t}))},s=function(e,t){i[t]=e,r[_$_5008[57]](e)};t[_$_5008[2037]]=function(){return{now:function(){return Date[_$_5008[819]]()},mark:function(e){var t={name:e,entryType:n[_$_5008[2035]],startTime:this[_$_5008[819]](),duration:0};s(t,e)},measure:function(e,t,r){!function(e,t){var n=function(e){return _$_5008[2041][_$_5008[41]](e,_$_5008[2040])};if(!i[t])throw new Error(n(t));if(!i[e])throw new Error(n(e))}(t,r);var o=i[t]?i[t][_$_5008[1584]]:0,a={name:e,startTime:o,duration:(i[r]?i[r][_$_5008[1584]]:this[_$_5008[819]]())-o,entryType:n[_$_5008[2038]]};s(a,e)},getEntriesByName:function(e){return a(_$_5008[62],e)},getEntriesByType:function(e){return a(_$_5008[2039],e)},clearMarks:function(e){o(n[_$_5008[2035]],e)},clearMeasures:function(e){o(n[_$_5008[2038]],e)}}}},12733:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2034]]=t[_$_5008[2042]]=t[_$_5008[2043]]=void 0;var r=n(2193);t[_$_5008[2043]]=[_$_5008[819],_$_5008[2035],_$_5008[2038],_$_5008[2033],_$_5008[2044],_$_5008[2036],_$_5008[2045]],t[_$_5008[2042]]=function(e){return function(e,t){return t[_$_5008[267]]((function(t){return _$_5008[34]==typeof e[t]}))}(e[_$_5008[1964]],t[_$_5008[2043]])?e[_$_5008[1964]]:(0,r[_$_5008[2037]])()},t[_$_5008[2034]]=(0,t[_$_5008[2042]])(window)},90637:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1941]]=void 0,function(e){e[_$_5008[1940]]=_$_5008[2046],e[_$_5008[1968]]=_$_5008[2047],e[_$_5008[2048]]=_$_5008[2049]}(n||(t[_$_5008[1941]]=n={}))},6311:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2052]]=function(e){var t,n,r=(null!==(n=null===(t=e[_$_5008[2050]])||void 0===t?void 0:t[_$_5008[2051]])&&void 0!==n?n:-1)>-1,i=e[_$_5008[1960]]>0;return r&&i}},23234:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2053]]=void 0;var r=n(331),i=function(){function e(){}return e[_$_5008[2054]]=function(){return window[_$_5008[1964]]&&_$_5008[34]==typeof window[_$_5008[1964]][_$_5008[819]]?(0,r[_$_5008[276]])(window[_$_5008[1964]][_$_5008[819]]()):(0,r[_$_5008[276]])(Date[_$_5008[819]]())},e}();t[_$_5008[2053]]=i},23974:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2055]]=void 0,function(e){e[_$_5008[2056]]=_$_5008[2057],e[_$_5008[2058]]=_$_5008[1943],e[_$_5008[391]]=_$_5008[73],e[_$_5008[2059]]=_$_5008[1019],e[_$_5008[2060]]=_$_5008[2061],e[_$_5008[2062]]=_$_5008[2063],e[_$_5008[2064]]=_$_5008[2065],e[_$_5008[2066]]=_$_5008[2067]}(n||(t[_$_5008[2055]]=n={}))},36564:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1931]]=void 0,t[_$_5008[2068]]=function(e){return e[_$_5008[26]]>0&&e[_$_5008[1980]]>=0&&e[_$_5008[1982]]>=0&&e[_$_5008[1980]]>e[_$_5008[1982]]};var i=n(67345),o=n(13533),a=function(){function e(){}return e[_$_5008[2069]]=function(e){if(!e||0===e[_$_5008[2070]]()[_$_5008[26]])return{};var t={};return e[_$_5008[124]](_$_5008[2071])[_$_5008[112]]((function(e){return _$_5008[90]!==e}))[_$_5008[113]]((function(e){var n=e[_$_5008[124]](_$_5008[1095]);t[n[0]]=n[1]})),t},e[_$_5008[2072]]=function(t,n,i){var a=t[_$_5008[1350]]===XMLHttpRequest[_$_5008[2073]]&&(0,o[_$_5008[623]])()[_$_5008[1446]]?{status:-1,statusText:_$_5008[2074]}:{status:t[_$_5008[1821]],statusText:t[_$_5008[2075]]},s=e[_$_5008[2069]](t[_$_5008[2076]]()),u=r({request:n,url:t[_$_5008[2077]]||n[_$_5008[1183]],headers:s},a);return function(e){return e[_$_5008[2078]]>-1&&e[_$_5008[2051]]>-1&&e[_$_5008[2079]]>-1}(i)&&(u[_$_5008[1982]]=i[_$_5008[2051]]-i[_$_5008[2078]],u[_$_5008[1980]]=i[_$_5008[2079]]-i[_$_5008[2078]]),t[_$_5008[1966]]&&(u[_$_5008[1826]]=this[_$_5008[2081]](t,n[_$_5008[2080]]),u[_$_5008[26]]=t[_$_5008[1966]][_$_5008[2082]]||t[_$_5008[1966]][_$_5008[26]]||0),u},e[_$_5008[2081]]=function(e,t){var n;if(t===i[_$_5008[1253]][_$_5008[1305]]&&(null===(n=e[_$_5008[2084]](_$_5008[2083]))||void 0===n?void 0:n[_$_5008[794]](_$_5008[2085]))&&_$_5008[109]==typeof e[_$_5008[1966]])try{return JSON[_$_5008[283]](e[_$_5008[1966]])}catch(e){return null}return e[_$_5008[1966]]},e[_$_5008[2086]]=function(e,t){t&&Object[_$_5008[98]](t)[_$_5008[26]]>0&&Object[_$_5008[98]](t)[_$_5008[113]]((function(n){e[_$_5008[2087]](n,t[n])}))},e[_$_5008[1930]]=function(){for(var e=[],t=0;t<arguments[_$_5008[26]];t++)e[t]=arguments[t];var n={};return e[_$_5008[113]]((function(e){e&&Object[_$_5008[98]](e)[_$_5008[113]]((function(t){var r=function(e,t){return Object[_$_5008[98]](e)[_$_5008[803]]((function(e){return e[_$_5008[1586]]()===t[_$_5008[1586]]()}))}(n,t);r?n[r]=e[t]:n[t]=e[t]}))})),n},e}();t[_$_5008[1931]]=a},65411:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2005]]=void 0;var r=n(90637),i=n(23974),o=n(10501),a=function(){function e(e,t,n){var r=this;this[_$_5008[2e3]]=function(e){r[_$_5008[2010]][_$_5008[75]](i[_$_5008[2055]][_$_5008[2064]],(function(t){return e(t)}))},this[_$_5008[2010]]=new o[_$_5008[2088]](e,t,n)}return e[_$_5008[37]][_$_5008[1992]]=function(){return this[_$_5008[2089]]=this[_$_5008[2089]]||this[_$_5008[2010]][_$_5008[2090]](),this[_$_5008[2089]]},e[_$_5008[37]][_$_5008[1942]]=function(){this[_$_5008[2010]][_$_5008[1943]](r[_$_5008[1941]][_$_5008[1968]])},e}();t[_$_5008[2005]]=a},10501:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2088]]=void 0;var i=n(331),o=n(90637),a=n(23234),s=n(23974),u=n(36564),c=function(){function e(e,t,n){var r=this;this[_$_5008[2091]]=function(e){var t,n,i=null!==(t=e[_$_5008[2092]])&&void 0!==t?t:-1,o=null!==(n=e[_$_5008[2093]])&&void 0!==n?n:-1,s=a[_$_5008[2053]][_$_5008[2054]]();r[_$_5008[2065]][_$_5008[1961]]=i,r[_$_5008[2065]][_$_5008[1960]]=o,r[_$_5008[2095]][_$_5008[2094]]=s,o<i&&r[_$_5008[2096]]()},this[_$_5008[2097]]=function(e){var t=(0,i[_$_5008[276]])(e[_$_5008[2098]]);if(r[_$_5008[2099]][_$_5008[1350]]===r[_$_5008[2099]][_$_5008[2073]])r[_$_5008[2095]][_$_5008[2078]]=t,r[_$_5008[2096]]();else if(r[_$_5008[2099]][_$_5008[1350]]===r[_$_5008[2099]][_$_5008[2100]])r[_$_5008[2095]][_$_5008[2051]]=t,r[_$_5008[2096]]();else if(r[_$_5008[2099]][_$_5008[1350]]===r[_$_5008[2099]][_$_5008[2101]]){var n=r[_$_5008[2099]][_$_5008[1821]]>=200&&r[_$_5008[2099]][_$_5008[1821]]<300;r[_$_5008[2095]][_$_5008[2079]]=t,n&&null!==r[_$_5008[2099]][_$_5008[1966]]?r[_$_5008[580]](u[_$_5008[1931]][_$_5008[2072]](r[_$_5008[2099]],r[_$_5008[1932]],r[_$_5008[2095]])):r[_$_5008[2102]](o[_$_5008[1941]][_$_5008[1940]]),r[_$_5008[323]]()}},this[_$_5008[280]]=e,this[_$_5008[1932]]=t,this[_$_5008[2067]]=n,this[_$_5008[99]]={},this[_$_5008[2103]]=!1,this[_$_5008[2095]]={sendTimestamp:-1,openedTimestamp:-1,headersReceivedTimestamp:-1,progressTimestamp:-1,doneTimestamp:-1},this[_$_5008[2065]]={totalBytes:-1,loadedBytes:-1,url:t[_$_5008[1183]],responseTiming:this[_$_5008[2095]]}}return e[_$_5008[37]][_$_5008[75]]=function(e,t){this[_$_5008[99]]=this[_$_5008[99]]||{},this[_$_5008[99]][e]=this[_$_5008[99]][e]||[],this[_$_5008[99]][e][_$_5008[57]](t)},e[_$_5008[37]][_$_5008[2096]]=function(){var e,t=this;(null!==(e=this[_$_5008[99]][s[_$_5008[2055]][_$_5008[2064]]])&&void 0!==e?e:[])[_$_5008[113]]((function(e){return e(r({},t[_$_5008[2065]]))}))},e[_$_5008[37]][_$_5008[2090]]=function(){var e=this;return this[_$_5008[2099]]=new XMLHttpRequest,this[_$_5008[2103]]=!1,new Promise((function(t,n){e[_$_5008[580]]=t,e[_$_5008[892]]=n;try{e[_$_5008[2099]][_$_5008[76]](s[_$_5008[2055]][_$_5008[2064]],e[_$_5008[2091]]),e[_$_5008[2099]][_$_5008[76]](s[_$_5008[2055]][_$_5008[2056]],e[_$_5008[2097]])}catch(n){return e[_$_5008[280]][_$_5008[265]](_$_5008[2104],n),t(e[_$_5008[2090]]())}e[_$_5008[2095]][_$_5008[2105]]=a[_$_5008[2053]][_$_5008[2054]](),e[_$_5008[2099]][_$_5008[2106]](e[_$_5008[1932]][_$_5008[1330]],e[_$_5008[1932]][_$_5008[1183]]),e[_$_5008[2099]][_$_5008[2107]]=_$_5008[1935]===e[_$_5008[1932]][_$_5008[2108]],e[_$_5008[2096]](),u[_$_5008[1931]][_$_5008[2086]](e[_$_5008[2099]],e[_$_5008[1932]][_$_5008[2109]]),e[_$_5008[1932]][_$_5008[2080]]&&(e[_$_5008[2099]][_$_5008[2080]]=e[_$_5008[1932]][_$_5008[2080]]),clearTimeout(e[_$_5008[2110]]),e[_$_5008[2067]]>0&&(e[_$_5008[2110]]=setTimeout((function(){return e[_$_5008[1943]](o[_$_5008[1941]][_$_5008[2048]])}),e[_$_5008[2067]])),e[_$_5008[1932]][_$_5008[1826]]?e[_$_5008[2099]][_$_5008[2090]](e[_$_5008[1932]][_$_5008[1826]]):e[_$_5008[2099]][_$_5008[2090]]()}))},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[2103]]||(clearTimeout(this[_$_5008[2110]]),this[_$_5008[2099]][_$_5008[78]](s[_$_5008[2055]][_$_5008[2064]],this[_$_5008[2091]]),this[_$_5008[2099]][_$_5008[78]](s[_$_5008[2055]][_$_5008[2056]],this[_$_5008[2097]]),this[_$_5008[99]]=null,this[_$_5008[2099]]=null,this[_$_5008[580]]=null,this[_$_5008[892]]=null,this[_$_5008[2103]]=!0)},e[_$_5008[37]][_$_5008[2102]]=function(e,t){void 0===t&&(t=!1),this[_$_5008[892]]({error:e,response:u[_$_5008[1931]][_$_5008[2072]](this[_$_5008[2099]],this[_$_5008[1932]],this[_$_5008[2095]])}),t&&this[_$_5008[2099]][_$_5008[1943]]()},e[_$_5008[37]][_$_5008[1943]]=function(e){void 0===e&&(e=o[_$_5008[1941]][_$_5008[1968]]),this[_$_5008[2103]]||(this[_$_5008[2102]](e,!0),this[_$_5008[323]]())},e}();t[_$_5008[2088]]=c},68039:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2111]]=void 0,t[_$_5008[2112]]=function(e){return Object[_$_5008[98]](t[_$_5008[2111]])[_$_5008[803]]((function(n){return t[_$_5008[2111]][n]===e}))},t[_$_5008[2111]]={"urn:mpeg:dash:mp4protection:2011":_$_5008[2113],"urn:mpeg:dash:13818:1:CA_descriptor:2011":_$_5008[2114],"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":_$_5008[2115],"urn:uuid:5e629af5-38da-4063-8977-97ffbd9902d4":_$_5008[2116],"urn:uuid:adb41c24-2dbf-4a6d-958b-4457c0d27b95":_$_5008[2117],"urn:uuid:a68129d3-575b-4f1a-9cba-3223846cf7c3":_$_5008[2118],"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":_$_5008[2119],"urn:uuid:9a27dd82-fde2-4725-8cbc-4234aa06ec09":_$_5008[2120],"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":_$_5008[2121],"urn:uuid:1f83e1e8-6ee9-4f0d-ba2f-5ec4e3ed1a66":_$_5008[2122],"urn:uuid:644fe7b5-260f-4fad-949a-0762ffb054b4":_$_5008[2123],"urn:uuid:6a99532d-869f-5922-9a91-113ab7b1e2f3":_$_5008[2124],"urn:uuid:35bf197b-530e-42d7-8b65-1b4bf415070f":_$_5008[2125],"urn:uuid:b4413586-c58c-ffb0-94a5-d4896c1af6c3":_$_5008[2126],"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":_$_5008[2127]}},97630:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2128]]=void 0,t[_$_5008[2128]]={BOX_HEADER_LENGTH_REGULAR:8,BOX_HEADER_LENGTH_LARGE:16,BOX_SIZE_LENGTH:4,BOX_TYPE_LENGTH:4,FULL_BOX_VERSION_LENGTH:1,FULL_BOX_FLAGS_LENGTH:3,PSSH_KID_COUNT_LENGTH:4,PSSH_KID_LEN:16,PSSH_SYSTEM_ID_LENGTH:16,PSSH_DATA_SIZE:4}},94304:function(e,t){var n,r;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2129]]=t[_$_5008[2130]]=void 0,t[_$_5008[2131]]=function(e){return Object[_$_5008[98]](t[_$_5008[2129]])[_$_5008[803]]((function(n){return t[_$_5008[2129]][n][_$_5008[794]](e)}))},function(e){e[_$_5008[2132]]=_$_5008[2133],e[_$_5008[2134]]=_$_5008[2119],e[_$_5008[2135]]=_$_5008[2121],e[_$_5008[2136]]=_$_5008[2115]}(r||(t[_$_5008[2130]]=r={})),t[_$_5008[2129]]=((n={})[r[_$_5008[2132]]]=[_$_5008[2137],_$_5008[2138],_$_5008[2139]],n[r[_$_5008[2134]]]=[_$_5008[2140],_$_5008[2141],_$_5008[2142],_$_5008[2143]],n[r[_$_5008[2135]]]=[_$_5008[2144],_$_5008[2145]],n[r[_$_5008[2136]]]=[_$_5008[2146]],n)},15231:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2147]]=function(e,t){return{type:e,meta:{},payload:t}}},78842:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2148]]=void 0,t[_$_5008[2148]]=window&&window[_$_5008[2149]]},50425:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2150]]=void 0,t[_$_5008[2151]]=o,t[_$_5008[2152]]=function(e){return Boolean(e)&&e instanceof i};var r=n(91829),i=function(){function e(){this[_$_5008[2153]]={}}return e[_$_5008[37]][_$_5008[152]]=function(e){return Boolean(this[_$_5008[2153]][e])},e[_$_5008[37]][_$_5008[1024]]=function(e,t){return this[_$_5008[2153]][e]=t,this},e[_$_5008[37]][_$_5008[159]]=function(e){return this[_$_5008[2153]][e]},e[_$_5008[37]][_$_5008[774]]=function(e){delete this[_$_5008[2153]][e]},e[_$_5008[37]][_$_5008[98]]=function(){return Object[_$_5008[98]](this[_$_5008[2153]])},e[_$_5008[37]][_$_5008[2154]]=function(e){var t=this,n={};return this[_$_5008[98]]()[_$_5008[113]]((function(r){var i=t[_$_5008[159]](r),a=e[_$_5008[41]](String(r));n[r]=o(i)?i:i[_$_5008[2154]](a)})),0===Object[_$_5008[98]](n)[_$_5008[26]]?function(e){return{}}:(0,r[_$_5008[2155]])(n)},e[_$_5008[37]][_$_5008[2156]]=function(){return this[_$_5008[2154]]([])},e}();function o(e){return Boolean(e)&&_$_5008[34]==typeof e}t[_$_5008[2150]]=i},9422:function(e,t){_$_5008[32];var n=this&&this[_$_5008[227]]||function(){return n=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},n[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2157]]=void 0,t[_$_5008[2157]]=function(e){return function(t){return function(){var r=function(){return e[_$_5008[2156]]()},i=t(r()),o=function(){return i[_$_5008[2158]](r())};return o(),n(n({},i),{addReducer:function(t,n){e[_$_5008[1024]](t,n),o()},getReducer:function(t){return e[_$_5008[159]](t)},removeReducer:function(t){e[_$_5008[774]](t),o()},hasReducer:function(t){return e[_$_5008[152]](t)}})}}}},13533:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[107]]=d,t[_$_5008[2159]]=function(){return function(e){return e[_$_5008[2160]][_$_5008[2168]]}(d()[_$_5008[136]]())},t[_$_5008[623]]=function(){return function(e){return e[_$_5008[2164]]}(d()[_$_5008[136]]())},t[_$_5008[2025]]=function(){return function(e){return e[_$_5008[2162]]}(d()[_$_5008[136]]())};var r,i=n(91829),o=n(47722),a=(n(78842),n(13679),n(82607)),s=n(39210),u=n(50425),c=n(9422),l=new u[_$_5008[2150]];function d(){return r||(r=function(){var e=[(0,c[_$_5008[2157]])(l)];return(0,i[_$_5008[2167]])((function(){return{}}),i[_$_5008[2166]][_$_5008[35]](void 0,e))}()),r}l[_$_5008[1024]](_$_5008[2164],o[_$_5008[2165]])[_$_5008[1024]](_$_5008[2162],s[_$_5008[2163]])[_$_5008[1024]](_$_5008[2160],a[_$_5008[2161]])},77845:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[227]]||function(){return r=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},r[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1174]]=void 0;var i=n(50425),o=n(3464),a=function(){function e(e,t,n){var r=this;this[_$_5008[2169]]=e,this[_$_5008[2170]]=t,this[_$_5008[2171]]=n,this[_$_5008[2172]]=[],this[_$_5008[2173]]=function(e){return e[r[_$_5008[2170]]][r[_$_5008[2171]]]},this[_$_5008[2174]]=new i[_$_5008[2150]],this[_$_5008[2175]](this[_$_5008[2174]])}return e[_$_5008[37]][_$_5008[138]]=function(e){return this[_$_5008[2169]][_$_5008[138]](this[_$_5008[2176]](e))},e[_$_5008[37]][_$_5008[2176]]=function(e){var t;return r(r({},e),{meta:r(r({},e[_$_5008[2177]]),(t={},t[this[_$_5008[2170]]]=this[_$_5008[2171]],t))})},e[_$_5008[37]][_$_5008[2178]]=function(){return this[_$_5008[2169]][_$_5008[2179]](this[_$_5008[2170]])||this[_$_5008[2169]][_$_5008[1176]](this[_$_5008[2170]],new i[_$_5008[2150]]),this[_$_5008[2169]][_$_5008[2180]](this[_$_5008[2170]])},e[_$_5008[37]][_$_5008[2175]]=function(e){var t=this[_$_5008[2178]]();(0,i[_$_5008[2152]])(t)&&t[_$_5008[1024]](this[_$_5008[2171]],e),this[_$_5008[2169]][_$_5008[1176]](this[_$_5008[2170]],t)},e[_$_5008[37]][_$_5008[136]]=function(){var e,t=null===(e=this[_$_5008[2169]])||void 0===e?void 0:e[_$_5008[136]]();if(t)return this[_$_5008[2173]](t)},e[_$_5008[37]][_$_5008[766]]=function(e,t){var n=this,r=(0,o[_$_5008[766]])(this[_$_5008[2169]])(this[_$_5008[2173]],e,t);return this[_$_5008[2172]][_$_5008[57]](r),function(){n[_$_5008[2172]]=n[_$_5008[2172]][_$_5008[112]]((function(e){return e!==r})),r()}},e[_$_5008[37]][_$_5008[2181]]=function(e){var t=this;return function(n,r){return r[_$_5008[2177]]&&r[_$_5008[2177]][t[_$_5008[2170]]]&&r[_$_5008[2177]][t[_$_5008[2170]]]!==t[_$_5008[2171]]?n:e(n,r)}},e[_$_5008[37]][_$_5008[1176]]=function(e,t){this[_$_5008[2174]][_$_5008[1024]](e,(0,i[_$_5008[2151]])(t)?this[_$_5008[2181]](t):t),this[_$_5008[2175]](this[_$_5008[2174]])},e[_$_5008[37]][_$_5008[2180]]=function(e){return this[_$_5008[2174]][_$_5008[159]](e)},e[_$_5008[37]][_$_5008[2182]]=function(e){this[_$_5008[2174]][_$_5008[774]](e),this[_$_5008[2175]](this[_$_5008[2174]])},e[_$_5008[37]][_$_5008[2179]]=function(e){return this[_$_5008[2174]][_$_5008[152]](e)},e[_$_5008[37]][_$_5008[323]]=function(){var e=this[_$_5008[2178]]();this[_$_5008[2172]][_$_5008[113]]((function(e){return e()})),e&&(0,i[_$_5008[2152]])(e)&&e[_$_5008[774]](this[_$_5008[2171]]),this[_$_5008[2169]][_$_5008[1176]](this[_$_5008[2170]],e),this[_$_5008[2172]]=[],this[_$_5008[2174]]=null,this[_$_5008[2169]]=null},e}();t[_$_5008[1174]]=a},3464:function(e,t){function n(e){return function(t,n,r){void 0===r&&(r=function(){return!0});var i=t(e[_$_5008[136]]());return e[_$_5008[766]]((function(){var o=t(e[_$_5008[136]]()),a=i;i=o,null!=o&&o!==a&&r(o,a)&&n(o,a)}))}}function r(e){return function(t,r,i){void 0===i&&(i=function(){return!0});var o=n(e)(t,(function(e){o(),r(e)}),i);return o}}_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[766]]=n,t[_$_5008[2183]]=r,t[_$_5008[2184]]=function(e){return function(t,n){return void 0===n&&(n=function(){return!0}),new Promise((function(i){r(e)(t,(function(e){i(e)}),n)}))}}},29073:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[688]]=function(){return(0,i[_$_5008[2147]])(a,{isPlayStation5:r[_$_5008[1451]](),isPlayStation4:r[_$_5008[1453]](),isMobile:r[_$_5008[1442]](),isTizen:r[_$_5008[1446]](),isSafari:r[_$_5008[2189]](),isIOS:r[_$_5008[622]](),isSafariIOS:r[_$_5008[2190]](),isEdge:r[_$_5008[2191]](),isLegacyEdge:r[_$_5008[2192]](),isChrome:r[_$_5008[2193]](),isChromium:r[_$_5008[2194]](),isFirefox:r[_$_5008[2195]](),isFirefoxIOS:r[_$_5008[2196]](),isWebOS:r[_$_5008[1449]](),isVidaa:r[_$_5008[1455]](),isReactNative:r[_$_5008[1660]](),MSESafari:r[_$_5008[2197]](),isLocalStorageAvailable:r[_$_5008[694]](),isInlinePlaybackRestricted:r[_$_5008[993]](),edgeVersion:r[_$_5008[2198]](),IOSVersion:r[_$_5008[2199]](),safariVersion:r[_$_5008[2200]](),techSupportedByModules:r[_$_5008[2201]](),techSupportedByPlatform:r[_$_5008[2202]](),techSupportedByModulesOnPlatform:r[_$_5008[2203]]()})},t[_$_5008[2185]]=function(e,t){return(0,i[_$_5008[2147]])(s,{key:e,value:t})};var r=n(43485),i=n(15231),o=n(11399),a=o[_$_5008[2187]][_$_5008[2186]],s=o[_$_5008[2187]][_$_5008[2188]]},47722:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2165]]=void 0;var o=n(21829),a=n(11399);t[_$_5008[2165]]=(0,o[_$_5008[107]])({},((r={})[a[_$_5008[2187]][_$_5008[2186]]]=function(e,t){return t[_$_5008[1816]]},r[a[_$_5008[2187]][_$_5008[2188]]]=function(e,t){return function(e,t){var n,r=t[_$_5008[663]],o=t[_$_5008[831]];return i(i({},e),((n={})[r]=o,n))}(e,t[_$_5008[1816]])},r))},11399:function(e,t){var n,r;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[992]]=t[_$_5008[2187]]=void 0,function(e){e[_$_5008[2186]]=_$_5008[2204],e[_$_5008[2188]]=_$_5008[2205]}(n||(t[_$_5008[2187]]=n={})),function(e){e[_$_5008[1451]]=_$_5008[1451],e[_$_5008[1453]]=_$_5008[1453],e[_$_5008[1442]]=_$_5008[1442],e[_$_5008[1446]]=_$_5008[1446],e[_$_5008[2189]]=_$_5008[2189],e[_$_5008[2193]]=_$_5008[2193],e[_$_5008[2194]]=_$_5008[2194],e[_$_5008[2195]]=_$_5008[2195],e[_$_5008[2196]]=_$_5008[2196],e[_$_5008[1449]]=_$_5008[1449],e[_$_5008[1455]]=_$_5008[1455],e[_$_5008[622]]=_$_5008[622],e[_$_5008[2190]]=_$_5008[2190],e[_$_5008[2191]]=_$_5008[2191],e[_$_5008[2192]]=_$_5008[2192],e[_$_5008[1660]]=_$_5008[1660],e[_$_5008[2197]]=_$_5008[2197],e[_$_5008[694]]=_$_5008[694],e[_$_5008[993]]=_$_5008[993],e[_$_5008[2206]]=_$_5008[2206],e[_$_5008[2207]]=_$_5008[2207],e[_$_5008[2208]]=_$_5008[2208],e[_$_5008[965]]=_$_5008[965],e[_$_5008[962]]=_$_5008[962],e[_$_5008[967]]=_$_5008[967]}(r||(t[_$_5008[992]]=r={}))},21829:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2209]]=void 0,function(e){e[_$_5008[2210]]=_$_5008[107]}(n||(t[_$_5008[2209]]=n={})),t[_$_5008[107]]=function(e,t){return function(r,i){return void 0===r&&(r=e),t[i[_$_5008[65]]]?t[i[_$_5008[65]]](r,i):t[n[_$_5008[2210]]]?t[n[_$_5008[2210]]](r,i):r}}},27517:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2211]]=function(e){return(0,r[_$_5008[1600]])(e)&&[_$_5008[709],_$_5008[1423]][_$_5008[267]]((function(t){return t in e}))};var r=n(27177)},57782:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1169]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2214]][_$_5008[2213]],{mimeType:e,preferredBitrate:t})},t[_$_5008[2212]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2214]][_$_5008[2215]],{mimeType:e})};var r=n(15231),i=n(18068)},87649:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2216]]=void 0;var o=n(21829),a=n(18068);t[_$_5008[2216]]=(0,o[_$_5008[107]])({},((r={})[a[_$_5008[2214]][_$_5008[2213]]]=function(e,t){var n=t[_$_5008[1816]];return function(e,t,n){var r;return i(i({},e),((r={})[t]=i(i({},e[t]),{preferredBitrate:n}),r))}(e,n[_$_5008[1926]],n[_$_5008[2217]])},r[a[_$_5008[2214]][_$_5008[2215]]]=function(e,t){return function(e,t){var n;return i(i({},e),((n={})[t]=i(i({},e[t]),{preferredBitrate:void 0}),n))}(e,t[_$_5008[1816]][_$_5008[1926]])},r))},28463:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2218]]=function(e){return e[_$_5008[1133]]},t[_$_5008[2219]]=function(e,t){return e[t]?e[t][_$_5008[2217]]:void 0}},18068:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2214]]=void 0,function(e){e[_$_5008[2213]]=_$_5008[2220],e[_$_5008[2215]]=_$_5008[2221]}(n||(t[_$_5008[2214]]=n={}))},76650:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2222]]=function(e,t,n){return void 0===n&&(n=e),(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2227]],{mimeType:e,settings:t,saveUnderName:n})},t[_$_5008[2223]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2229]],{mimeType:e})},t[_$_5008[1578]]=function(e,t,n){return(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2230]],{mimeType:e,metricType:t,value:n})},t[_$_5008[2224]]=function(e,t,n){return(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2231]],{mimeType:e,metricType:t,value:n})},t[_$_5008[2225]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2232]],{mimeType:e,metricType:t})},t[_$_5008[2226]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2228]][_$_5008[2233]],{mimeType:e,threshold:t})};var r=n(15231),i=n(8272)},72819:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2234]]=function(e){return function(t,n){return t[n[_$_5008[1926]]]?e(t,n):t}}},88141:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1424]]=void 0;var a=n(21829),s=n(72819),u=n(8272);function c(e,t){var n,r=t[_$_5008[1926]],o=t[_$_5008[2238]];return i(i({},e),((n={})[r]=i(i({},e[r]),{bufferLogicActivationThreshold:o}),n))}function l(e,t){var n,r,a=t[_$_5008[1926]],s=t[_$_5008[2239]],u=t[_$_5008[831]],c=e[a][_$_5008[788]][_$_5008[2240]],l=e[a][_$_5008[1703]][s]||[],d=c>0&&l[_$_5008[26]]>=c;return i(i({},e),((n={})[a]=i(i({},e[a]),{data:i(i({},e[a][_$_5008[1703]]),(r={},r[s]=o(o([],d?l[_$_5008[74]](1,l[_$_5008[26]]):l,!0),[{time:Date[_$_5008[819]](),value:u}],!1),r))}),n))}function d(e,t){var n,r,o=t[_$_5008[1926]],a=t[_$_5008[2239]];return i(i({},e),((n={})[o]=i(i({},e[o]),{data:i(i({},e[o][_$_5008[1703]]),(r={},r[a]=[],r))}),n))}function _(e,t){var n,r,o=t[_$_5008[1926]],a=t[_$_5008[2239]],s=t[_$_5008[831]],u=(e[o][_$_5008[1703]][a]||[])[_$_5008[112]]((function(e){return!(e[_$_5008[1891]]===s[_$_5008[1891]]&&e[_$_5008[831]]===s[_$_5008[831]])}));return i(i({},e),((n={})[o]=i(i({},e[o]),{data:i(i({},e[o][_$_5008[1703]]),(r={},r[a]=u,r))}),n))}t[_$_5008[1424]]=(0,a[_$_5008[107]])({},((r={})[u[_$_5008[2228]][_$_5008[2227]]]=function(e,t){return function(e,t){var n,r=t[_$_5008[1926]],o=t[_$_5008[788]],a=t[_$_5008[2235]];return i(i({},e),((n={})[a]={mimeType:r,settings:{metricHistorySize:o[_$_5008[2236]]},bufferLogicActivationThreshold:o[_$_5008[2237]],data:{}},n))}(e,t[_$_5008[1816]])},r[u[_$_5008[2228]][_$_5008[2229]]]=function(e,t){return function(e,t){var n=i({},e);return delete n[t[_$_5008[1926]]],n}(e,t[_$_5008[1816]])},r[u[_$_5008[2228]][_$_5008[2233]]]=function(e,t){var n=t[_$_5008[1816]];return(0,s[_$_5008[2234]])(c)(e,n)},r[u[_$_5008[2228]][_$_5008[2230]]]=function(e,t){var n=t[_$_5008[1816]];return(0,s[_$_5008[2234]])(l)(e,n)},r[u[_$_5008[2228]][_$_5008[2232]]]=function(e,t){var n=t[_$_5008[1816]];return(0,s[_$_5008[2234]])(d)(e,n)},r[u[_$_5008[2228]][_$_5008[2231]]]=function(e,t){var n=t[_$_5008[1816]];return(0,s[_$_5008[2234]])(_)(e,n)},r))},28819:function(e,t){function n(e,t,n){return e[t]&&e[t][_$_5008[1703]][n]||[]}_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2241]]=t[_$_5008[1575]]=void 0,t[_$_5008[2242]]=n,t[_$_5008[2243]]=function(e,t,r){var i=n(e,t,r);return 0===i[_$_5008[26]]?{time:void 0,value:void 0}:i[i[_$_5008[26]]-1]},t[_$_5008[1575]]=function(e){return e[_$_5008[1423]]},t[_$_5008[2241]]=function(e,r,i){return n((0,t[_$_5008[1575]])(e),r,i)}},8272:function(e,t){var n,r;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2228]]=t[_$_5008[1577]]=void 0,function(e){e[_$_5008[2244]]=_$_5008[2245],e[_$_5008[2246]]=_$_5008[2247],e[_$_5008[2248]]=_$_5008[2249],e[_$_5008[2250]]=_$_5008[2251],e[_$_5008[2252]]=_$_5008[2253],e[_$_5008[2254]]=_$_5008[2255],e[_$_5008[2256]]=_$_5008[2257],e[_$_5008[2258]]=_$_5008[2259],e[_$_5008[2260]]=_$_5008[2261],e[_$_5008[2262]]=_$_5008[2263],e[_$_5008[2264]]=_$_5008[2265],e[_$_5008[1576]]=_$_5008[2266],e[_$_5008[2267]]=_$_5008[2268],e[_$_5008[2269]]=_$_5008[2270],e[_$_5008[2271]]=_$_5008[2272]}(n||(t[_$_5008[1577]]=n={})),function(e){e[_$_5008[2227]]=_$_5008[2273],e[_$_5008[2229]]=_$_5008[2274],e[_$_5008[2230]]=_$_5008[2275],e[_$_5008[2231]]=_$_5008[2276],e[_$_5008[2232]]=_$_5008[2277],e[_$_5008[2233]]=_$_5008[2278]}(r||(t[_$_5008[2228]]=r={}))},17990:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2279]]=void 0,t[_$_5008[2280]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2285]],e)},t[_$_5008[1470]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2287]],e)},t[_$_5008[1495]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2288]],e)},t[_$_5008[1493]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2289]],e)},t[_$_5008[1499]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2290]],e)},t[_$_5008[1519]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2291]],e)},t[_$_5008[1521]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2292]],e)},t[_$_5008[1501]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2293]],e)},t[_$_5008[1543]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2294]],e)},t[_$_5008[1081]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2295]],e)},t[_$_5008[1475]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2296]],e)},t[_$_5008[1477]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2297]],e)},t[_$_5008[1481]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2298]],e)},t[_$_5008[2281]]=function(){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2299]])},t[_$_5008[2282]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2300]],e)},t[_$_5008[2283]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2301]],e)},t[_$_5008[1483]]=function(e){return void 0===e&&(e=[]),(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2302]],{keepState:e})},t[_$_5008[2284]]=function(e){return(0,i[_$_5008[2147]])(o[_$_5008[2286]][_$_5008[2303]],e)};var r=n(33696),i=n(15231),o=n(76420);t[_$_5008[2279]]=function(){return{playbackState:o[_$_5008[1479]][_$_5008[1488]],seekState:o[_$_5008[1490]][_$_5008[1488]],timeShiftState:o[_$_5008[1497]][_$_5008[1488]],hasBeenPlaying:!1,isStalled:!1,isRendererStalled:!1,targetPlaybackTime:-1,playbackSpeed:{speed:1,multiplier:1},pendingTransitions:[],viewMode:r[_$_5008[997]][_$_5008[996]],destroyState:o[_$_5008[1080]][_$_5008[1488]],remoteControlState:{connectionState:o[_$_5008[672]][_$_5008[671]],remoteControlType:o[_$_5008[876]][_$_5008[1488]]},seekingProcess:{targetTime:-1,isInitial:!1,issuer:_$_5008[90]}}}},61489:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1422]]=void 0;var a=n(21829),s=n(17990),u=n(76420),c=(0,s[_$_5008[2279]])();t[_$_5008[1422]]=(0,a[_$_5008[107]])(c,((r={})[u[_$_5008[2286]][_$_5008[2289]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{playbackState:n})},r[u[_$_5008[2286]][_$_5008[2288]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{seekState:n})},r[u[_$_5008[2286]][_$_5008[2291]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{isStalled:n})},r[u[_$_5008[2286]][_$_5008[2292]]]=function(e,t){return i(i({},e),{isRendererStalled:t[_$_5008[1816]]})},r[u[_$_5008[2286]][_$_5008[2290]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{timeShiftState:n})},r[u[_$_5008[2286]][_$_5008[2287]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{hasBeenPlaying:n})},r[u[_$_5008[2286]][_$_5008[2293]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{targetPlaybackTime:n})},r[u[_$_5008[2286]][_$_5008[2294]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{playbackSpeed:n})},r[u[_$_5008[2286]][_$_5008[2285]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{viewMode:n})},r[u[_$_5008[2286]][_$_5008[2296]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{pendingTransitions:o(o([],e[_$_5008[1533]],!0),[n],!1)})},r[u[_$_5008[2286]][_$_5008[2297]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{pendingTransitions:e[_$_5008[1533]][_$_5008[112]]((function(e){return e!==n}))})},r[u[_$_5008[2286]][_$_5008[2298]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{pendingTransitions:e[_$_5008[1533]][_$_5008[112]]((function(e,t){return t!==n}))})},r[u[_$_5008[2286]][_$_5008[2299]]]=function(e,t){return i(i({},e),{pendingTransitions:[]})},r[u[_$_5008[2286]][_$_5008[2302]]]=function(e,t){var n=t[_$_5008[1816]][_$_5008[2304]],r={};return n[_$_5008[113]]((function(t){return r[t]=e[t]})),i(i({},c),r)},r[u[_$_5008[2286]][_$_5008[2295]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{destroyState:n})},r[u[_$_5008[2286]][_$_5008[2300]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{remoteControlState:i(i({},e[_$_5008[1482]]),{remoteControlType:n})})},r[u[_$_5008[2286]][_$_5008[2301]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{remoteControlState:i(i({},e[_$_5008[1482]]),{connectionState:n})})},r[u[_$_5008[2286]][_$_5008[2303]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{seekingProcess:i(i({},e[_$_5008[2305]]),n)})},r))},58975:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[767]]=t[_$_5008[1525]]=t[_$_5008[710]]=t[_$_5008[707]]=t[_$_5008[1547]]=t[_$_5008[1545]]=t[_$_5008[1076]]=t[_$_5008[2306]]=t[_$_5008[2307]]=t[_$_5008[1518]]=t[_$_5008[2308]]=t[_$_5008[1508]]=t[_$_5008[2309]]=t[_$_5008[1549]]=t[_$_5008[765]]=t[_$_5008[1529]]=t[_$_5008[1528]]=t[_$_5008[1526]]=t[_$_5008[1516]]=t[_$_5008[764]]=void 0;var r=n(76420);t[_$_5008[764]]=function(e){return e[_$_5008[709]]},t[_$_5008[1516]]=function(e){return e[_$_5008[1474]]===r[_$_5008[1479]][_$_5008[1488]]},t[_$_5008[1526]]=function(e){return e[_$_5008[1474]]===r[_$_5008[1479]][_$_5008[369]]},t[_$_5008[1528]]=function(e){return e[_$_5008[1474]]===r[_$_5008[1479]][_$_5008[367]]},t[_$_5008[1529]]=function(e){return e[_$_5008[1474]]===r[_$_5008[1479]][_$_5008[371]]},t[_$_5008[765]]=function(e){return e[_$_5008[1474]]===r[_$_5008[1479]][_$_5008[1514]]},t[_$_5008[1549]]=function(e){return!e[_$_5008[1550]]&&e[_$_5008[851]]},t[_$_5008[2309]]=function(e){return e[_$_5008[1489]]===r[_$_5008[1490]][_$_5008[1488]]},t[_$_5008[1508]]=function(e){return[r[_$_5008[1490]][_$_5008[1503]],r[_$_5008[1490]][_$_5008[1505]]][_$_5008[794]](e[_$_5008[1489]])},t[_$_5008[2308]]=function(e){return e[_$_5008[1489]]===r[_$_5008[1490]][_$_5008[375]]},t[_$_5008[1518]]=function(e){return e[_$_5008[1496]]===r[_$_5008[1497]][_$_5008[1510]]},t[_$_5008[2307]]=function(e){return e[_$_5008[1496]]===r[_$_5008[1497]][_$_5008[1512]]},t[_$_5008[2306]]=function(e){return e[_$_5008[1540]]},t[_$_5008[1076]]=function(e){return e[_$_5008[893]]},t[_$_5008[1545]]=function(e){return(0,t[_$_5008[1508]])(e)||(0,t[_$_5008[1518]])(e)},t[_$_5008[1547]]=function(e){return(0,t[_$_5008[2308]])(e)||(0,t[_$_5008[2307]])(e)},t[_$_5008[707]]=function(e){return e[_$_5008[2310]]!==r[_$_5008[1080]][_$_5008[1488]]},t[_$_5008[710]]=function(e){return e[_$_5008[2310]]===r[_$_5008[1080]][_$_5008[1084]]},t[_$_5008[1525]]=function(e){return e[_$_5008[2311]]},t[_$_5008[767]]=function(e){return e[_$_5008[1482]]}},76420:function(e,t){var n,r,i,o,a,s,u;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2286]]=t[_$_5008[1080]]=t[_$_5008[1497]]=t[_$_5008[1490]]=t[_$_5008[1479]]=t[_$_5008[672]]=t[_$_5008[876]]=void 0,function(e){e[e[_$_5008[1488]]=0]=_$_5008[1488],e[e[_$_5008[2312]]=1]=_$_5008[2312],e[e[_$_5008[2313]]=2]=_$_5008[2313],e[e[_$_5008[875]]=3]=_$_5008[875]}(n||(t[_$_5008[876]]=n={})),function(e){e[e[_$_5008[2314]]=0]=_$_5008[2314],e[e[_$_5008[2315]]=1]=_$_5008[2315],e[e[_$_5008[2316]]=2]=_$_5008[2316],e[e[_$_5008[671]]=3]=_$_5008[671]}(r||(t[_$_5008[672]]=r={})),function(e){e[e[_$_5008[1488]]=0]=_$_5008[1488],e[e[_$_5008[1514]]=1]=_$_5008[1514],e[e[_$_5008[367]]=2]=_$_5008[367],e[e[_$_5008[369]]=3]=_$_5008[369],e[e[_$_5008[371]]=4]=_$_5008[371]}(i||(t[_$_5008[1479]]=i={})),function(e){e[e[_$_5008[1488]]=0]=_$_5008[1488],e[e[_$_5008[1503]]=1]=_$_5008[1503],e[e[_$_5008[1505]]=2]=_$_5008[1505],e[e[_$_5008[375]]=3]=_$_5008[375]}(o||(t[_$_5008[1490]]=o={})),function(e){e[e[_$_5008[1488]]=0]=_$_5008[1488],e[e[_$_5008[1510]]=1]=_$_5008[1510],e[e[_$_5008[1512]]=2]=_$_5008[1512]}(a||(t[_$_5008[1497]]=a={})),function(e){e[_$_5008[1488]]=_$_5008[631],e[_$_5008[1079]]=_$_5008[2317],e[_$_5008[1084]]=_$_5008[2318]}(s||(t[_$_5008[1080]]=s={})),function(e){e[_$_5008[2288]]=_$_5008[2319],e[_$_5008[2289]]=_$_5008[2320],e[_$_5008[2290]]=_$_5008[2321],e[_$_5008[2291]]=_$_5008[2322],e[_$_5008[2292]]=_$_5008[2323],e[_$_5008[2287]]=_$_5008[2324],e[_$_5008[2293]]=_$_5008[2325],e[_$_5008[2294]]=_$_5008[2326],e[_$_5008[2285]]=_$_5008[2327],e[_$_5008[2295]]=_$_5008[2328],e[_$_5008[2296]]=_$_5008[2329],e[_$_5008[2297]]=_$_5008[2330],e[_$_5008[2298]]=_$_5008[2331],e[_$_5008[2299]]=_$_5008[2332],e[_$_5008[2302]]=_$_5008[2333],e[_$_5008[2300]]=_$_5008[2334],e[_$_5008[2301]]=_$_5008[2335],e[_$_5008[2303]]=_$_5008[2336]}(u||(t[_$_5008[2286]]=u={}))},63668:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2337]]=void 0,t[_$_5008[2338]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2344]],e)},t[_$_5008[2339]]=function(){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2346]])},t[_$_5008[2340]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2347]],e)},t[_$_5008[2341]]=function(){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2348]])},t[_$_5008[2342]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2349]],e)},t[_$_5008[2343]]=function(){return(0,r[_$_5008[2147]])(i[_$_5008[2345]][_$_5008[2350]])};var r=n(15231),i=n(10950);t[_$_5008[2337]]=function(){return{keyIdsWithErrors:[],usedKeySystem:{kind:null,uid:null}}}},32739:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2351]]=void 0;var a=n(21829),s=n(63668),u=n(10950),c=(0,s[_$_5008[2337]])();t[_$_5008[2351]]=(0,a[_$_5008[107]])(c,((r={})[u[_$_5008[2345]][_$_5008[2344]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),n)},r[u[_$_5008[2345]][_$_5008[2346]]]=function(){return c},r[u[_$_5008[2345]][_$_5008[2347]]]=function(e,t){var n=t[_$_5008[1816]];return e[_$_5008[2352]][_$_5008[794]](n)?e:i(i({},e),{keyIdsWithErrors:o(o([],e[_$_5008[2352]],!0),[n],!1)})},r[u[_$_5008[2345]][_$_5008[2348]]]=function(e){return e[_$_5008[2352]][_$_5008[26]]>0?i(i({},e),{keyIdsWithErrors:[]}):e},r[u[_$_5008[2345]][_$_5008[2349]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{usedKeySystem:n})},r[u[_$_5008[2345]][_$_5008[2350]]]=function(e,t){return i(i({},e),{usedKeySystem:{kind:null,uid:null}})},r))},10950:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2345]]=void 0,function(e){e[_$_5008[2344]]=_$_5008[2353],e[_$_5008[2346]]=_$_5008[2354],e[_$_5008[2347]]=_$_5008[2355],e[_$_5008[2348]]=_$_5008[2356],e[_$_5008[2349]]=_$_5008[2357],e[_$_5008[2350]]=_$_5008[2358]}(n||(t[_$_5008[2345]]=n={}))},14073:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1175]]=void 0;var r=n(87649),i=n(32739),o=n(26569),a=n(42055);t[_$_5008[1175]]={startOptions:a[_$_5008[2359]],drm:i[_$_5008[2351]],adaptation:r[_$_5008[2216]],playback:o[_$_5008[2360]]}},27279:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1031]]=o,t[_$_5008[1882]]=function(e){var t=o(e);return null==t?void 0:t[_$_5008[136]]()};var r=n(18665),i=n(27177);function o(e){var t,n;return(0,i[_$_5008[1574]])(e)?null===(t=e[_$_5008[612]])||void 0===t?void 0:t[_$_5008[159]](r[_$_5008[614]][_$_5008[772]],null===(n=e[_$_5008[608]])||void 0===n?void 0:n[_$_5008[773]]):void 0}},96873:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2361]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2368]],{mimeType:e,maxBufferSize:t})},t[_$_5008[2362]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2370]],{mimeType:e,ranges:t})},t[_$_5008[2363]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2371]],{isOngoing:e})},t[_$_5008[2364]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2372]],{isRollingOver:e})},t[_$_5008[2365]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2373]],{mimeType:e,range:t})},t[_$_5008[2366]]=function(e,t){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2374]],{mimeType:e,range:t})},t[_$_5008[1045]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2375]],{mimeType:e})},t[_$_5008[2367]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2369]][_$_5008[2376]],{isFinished:e})};var r=n(15231),i=n(18434)},33669:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2377]]=t[_$_5008[2378]]=t[_$_5008[2379]]=t[_$_5008[2380]]=t[_$_5008[2381]]=t[_$_5008[2382]]=t[_$_5008[2383]]=t[_$_5008[1883]]=t[_$_5008[2384]]=t[_$_5008[2385]]=void 0,t[_$_5008[2386]]=function(e,t){var n,r;return null!==(r=null===(n=e[_$_5008[1884]][t])||void 0===n?void 0:n[_$_5008[2389]])&&void 0!==r?r:[]},t[_$_5008[1885]]=function(e){if(!e)return-1;var t=Object[_$_5008[98]](e)[_$_5008[137]]((function(t){var n,r;return null===(r=null===(n=e[t][_$_5008[2390]])||void 0===n?void 0:n[0])||void 0===r?void 0:r[_$_5008[240]]}))[_$_5008[112]]((function(e){return void 0!==e}));return t[_$_5008[26]]>0?Math[_$_5008[248]][_$_5008[35]](Math,t):-1},t[_$_5008[2387]]=function(e){return e[_$_5008[1119]][_$_5008[2395]]};var r=n(92712),i=n(79814);function o(e){var t;return null!==(t=e[_$_5008[2389]])&&void 0!==t?t:[]}function a(e,t){return e!==t&&(0!==e[_$_5008[26]]||0!==t[_$_5008[26]])&&e!==t}t[_$_5008[2385]]=0,t[_$_5008[2384]]=function(e){var t;return null===(t=null==e?void 0:e[_$_5008[1119]])||void 0===t?void 0:t[_$_5008[1884]]},t[_$_5008[1883]]=function(e){return null==e?void 0:e[_$_5008[1119]]},t[_$_5008[2383]]=function(e,t){var n;return t in e&&null!==(n=e[t][_$_5008[2390]])&&void 0!==n?n:[]},t[_$_5008[2382]]=function(e){return function(n,r){var i=(0,t[_$_5008[1883]])(n),o=(0,t[_$_5008[1883]])(r);return(i?(0,t[_$_5008[2380]])(i,e):t[_$_5008[2385]])!==(o?(0,t[_$_5008[2380]])(o,e):t[_$_5008[2385]])}},t[_$_5008[2381]]=function(e,n){var r=e[_$_5008[1884]],i=n[_$_5008[1884]],s=Object[_$_5008[98]](r),u=Object[_$_5008[98]](i);if(s[_$_5008[26]]!==u[_$_5008[26]]||s[_$_5008[841]]((function(e){return!u[_$_5008[794]](e)})))return!0;for(var c=0,l=s;c<l[_$_5008[26]];c++){var d=l[c];if(a((0,t[_$_5008[2383]])(r,d),(0,t[_$_5008[2383]])(i,d)))return!0;if(a(o(r[d]),o(i[d])))return!0}return!1},t[_$_5008[2380]]=function(e,n){var r;return n in e[_$_5008[1884]]&&null!==(r=e[_$_5008[1884]][n][_$_5008[2391]])&&void 0!==r?r:t[_$_5008[2385]]},t[_$_5008[2379]]=function(e,t){return e?Object[_$_5008[98]](e[_$_5008[1884]])[_$_5008[135]]((function(n,r){return n[r]=function(e,t){return o(e)[_$_5008[112]]((function(e){return e[_$_5008[2388]]===t}))}(e[_$_5008[1884]][r],t),n}),{}):{}},t[_$_5008[2378]]=function(e,n,i){return void 0===n?{}:function(e,n,i){var o=Object[_$_5008[98]](e[_$_5008[1884]]),a=n[_$_5008[2396]](),u=function(e,n,r){var i={};return e[_$_5008[113]]((function(e){i[e]=[]})),n[_$_5008[137]]((function(e){return(0,t[_$_5008[2379]])(r,e[_$_5008[2398]]())}))[_$_5008[113]]((function(e){return Object[_$_5008[98]](e)[_$_5008[113]]((function(t){return i[t][_$_5008[57]](e[t])}))})),i}(o,n[_$_5008[2397]](a),e),c=s(e,o);return Object[_$_5008[98]](c)[_$_5008[113]]((function(e){return u[e][_$_5008[57]](c[e])})),function(e,t,n){var i={};return e[_$_5008[113]]((function(e){return i[e]=r[_$_5008[229]][_$_5008[250]](t[e][_$_5008[2399]]((function(e){return e})),n)})),i}(o,u,i)}(n,e,i)},t[_$_5008[2377]]=function(e,t){return function(n,r){var o=e[_$_5008[2392]](r);if(void 0===n||void 0===t||void 0===o)return{};var a=e[_$_5008[2394]](n)[_$_5008[137]]((function(e){return e[_$_5008[1926]]}))[_$_5008[112]]((function(e){return i[_$_5008[300]][_$_5008[2393]](e)}));return s(t,a)}};var s=function(e,n){var r={};return n[_$_5008[113]]((function(n){return r[n]=(0,t[_$_5008[2383]])(e[_$_5008[1884]],n)})),r}},84342:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2400]]=function(e,t){var n=function(e){var t=e[_$_5008[136]](),n=(0,i[_$_5008[2384]])(t);return void 0!==n?Object[_$_5008[98]](n):[]}(e)[_$_5008[137]]((function(n){return(0,r[_$_5008[766]])(e)(function(e){return function(t){var n=(0,i[_$_5008[2384]])(t);return n?(0,i[_$_5008[2383]])(n,e):[]}}(n),(function(e){return t(n,null!=e?e:[])}))}));return function(){return n[_$_5008[113]]((function(e){return e()}))}};var r=n(3464),i=n(33669)},18434:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2369]]=void 0,function(e){e[_$_5008[2368]]=_$_5008[2401],e[_$_5008[2370]]=_$_5008[2402],e[_$_5008[2371]]=_$_5008[2403],e[_$_5008[2372]]=_$_5008[2404],e[_$_5008[2373]]=_$_5008[2405],e[_$_5008[2374]]=_$_5008[2406],e[_$_5008[2375]]=_$_5008[2407],e[_$_5008[2376]]=_$_5008[2408]}(n||(t[_$_5008[2369]]=n={}))},25614:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2409]]=t[_$_5008[2410]]=void 0;var r=n(15231),i=n(5772);t[_$_5008[2410]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2412]][_$_5008[2411]],e)},t[_$_5008[2409]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2412]][_$_5008[2413]],e)}},26569:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2360]]=void 0;var o=n(21829),a=n(5772);t[_$_5008[2360]]=(0,o[_$_5008[107]])({kind:a[_$_5008[2415]][_$_5008[2414]]},((r={})[a[_$_5008[2412]][_$_5008[2411]]]=function(e,t){return function(e,t){return i({},t)}(0,t[_$_5008[1816]])},r[a[_$_5008[2412]][_$_5008[2413]]]=function(e,t){return function(e,t){return i(i({},e),t)}(e,t[_$_5008[1816]])},r))},3872:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2416]]=void 0;var r=n(5772);t[_$_5008[2416]]=function(e){return e[_$_5008[945]]===r[_$_5008[2415]][_$_5008[2417]]?e[_$_5008[1922]]:NaN}},5772:function(e,t){var n,r;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2412]]=t[_$_5008[2415]]=void 0,function(e){e[_$_5008[2414]]=_$_5008[2418],e[_$_5008[2417]]=_$_5008[2419]}(n||(t[_$_5008[2415]]=n={})),function(e){e[_$_5008[2411]]=_$_5008[2420],e[_$_5008[2413]]=_$_5008[2421]}(r||(t[_$_5008[2412]]=r={}))},60627:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1032]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2423]][_$_5008[2422]],{url:e})};var r=n(15231),i=n(73448)},73448:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2423]]=void 0,function(e){e[_$_5008[2422]]=_$_5008[2424]}(n||(t[_$_5008[2423]]=n={}))},95328:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2425]]=void 0,t[_$_5008[1054]]=function(){return o(t[_$_5008[2425]][_$_5008[2427]])},t[_$_5008[2426]]=o;var r=n(15231),i=n(80618);function o(e){return(0,r[_$_5008[2147]])(i[_$_5008[2429]][_$_5008[2428]],{startTimeOffset:e})}t[_$_5008[2425]]={startTimeOffset:0}},42055:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2359]]=void 0,t[_$_5008[2430]]=function(e){return e[_$_5008[2431]][_$_5008[2427]]};var o=n(21829),a=n(95328),s=n(80618),u=a[_$_5008[2425]],c=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),n)};t[_$_5008[2359]]=(0,o[_$_5008[107]])(u,((r={})[s[_$_5008[2429]][_$_5008[2432]]]=c,r[s[_$_5008[2429]][_$_5008[2428]]]=c,r))},80618:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2429]]=void 0,function(e){e[_$_5008[2432]]=_$_5008[2433],e[_$_5008[2428]]=_$_5008[2434]}(n||(t[_$_5008[2429]]=n={}))},13679:function(e,t){function n(e){Object[_$_5008[2435]](e);var t=_$_5008[34]==typeof e,r=Object[_$_5008[37]][_$_5008[215]];return Object[_$_5008[42]](e)[_$_5008[113]]((function(i){!r[_$_5008[36]](e,i)||t&&(_$_5008[2436]===i||_$_5008[2437]===i||_$_5008[2438]===i)||null===e[i]||_$_5008[33]!=typeof e[i]&&_$_5008[34]!=typeof e[i]||Object[_$_5008[2439]](e[i])||n(e[i])})),e}_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2435]]=void 0;var r=function(e){var t=e[_$_5008[136]]();(function(e){return null!==e&&_$_5008[33]==typeof e})(t)&&n(t)};t[_$_5008[2435]]=function(e){return r(e),function(t){return function(n){r(e);try{return t(n)}finally{r(e)}}}}},82607:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2161]]=void 0;var a=n(21829),s=n(78818);t[_$_5008[2161]]=(0,a[_$_5008[107]])({inUsePersistentSessionIds:[]},((r={})[s[_$_5008[2441]][_$_5008[2440]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{inUsePersistentSessionIds:o(o([],e[_$_5008[2168]],!0),[n[_$_5008[2442]]],!1)})},r[s[_$_5008[2441]][_$_5008[2443]]]=function(e,t){var n=t[_$_5008[1816]];return i(i({},e),{inUsePersistentSessionIds:e[_$_5008[2168]][_$_5008[112]]((function(e){return e!==n[_$_5008[2442]]}))})},r))},78818:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2441]]=void 0,function(e){e[_$_5008[2440]]=_$_5008[2444],e[_$_5008[2443]]=_$_5008[2445]}(n||(t[_$_5008[2441]]=n={}))},37233:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2009]]=function(e){return(0,r[_$_5008[2147]])(i[_$_5008[2447]][_$_5008[2446]],e)};var r=n(15231),i=n(79463)},39210:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[227]]||function(){return i=Object[_$_5008[228]]||function(e){for(var t,n=1,r=arguments[_$_5008[26]];n<r;n++)for(var i in t=arguments[n])Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,i)&&(e[i]=t[i]);return e},i[_$_5008[35]](this,arguments)},o=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2163]]=void 0;var a=n(21829),s=n(79463);t[_$_5008[2163]]=(0,a[_$_5008[107]])({domains:[]},((r={})[s[_$_5008[2447]][_$_5008[2446]]]=function(e,t){return function(e,t){return i(i({},e),{domains:e[_$_5008[335]][_$_5008[794]](t)?e[_$_5008[335]]:o(o([],e[_$_5008[335]],!0),[t],!1)})}(e,t[_$_5008[1816]])},r))},79463:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2447]]=void 0,function(e){e[_$_5008[2446]]=_$_5008[2448]}(n||(t[_$_5008[2447]]=n={}))},81361:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2449]]=void 0,t[_$_5008[2450]]=function(e){return function(t,n,r){return!e(t,n,r)}},t[_$_5008[2451]]=a,t[_$_5008[2452]]=function(e,t,n,r){for(var i=t;i<n;i++)if(r(e[i]))return i;return-1},t[_$_5008[2453]]=function(e,t){return e[a(e,t)]},t[_$_5008[2454]]=function(e,t,n){for(;t<e[_$_5008[26]];t++)n(e[t-1],e[t])},t[_$_5008[2455]]=function(e){return Array[_$_5008[254]](e)?e:[e]},t[_$_5008[2456]]=function(e,t,n){return void 0===n&&(n=s),null!=e[_$_5008[803]]((function(e){return n(t,e)}))},t[_$_5008[2457]]=s,t[_$_5008[2458]]=function(e){e[_$_5008[130]](0,e[_$_5008[26]])};var i=n(56093),o=function(){function e(){}return e[_$_5008[2459]]=function(e,t){if(e[_$_5008[26]]!==t[_$_5008[26]])return!1;for(var n=0;n<e[_$_5008[26]];n++)if(e[n]!==t[n])return!1;return!0},e[_$_5008[2460]]=function(e){for(var t=new Uint8Array(e[_$_5008[26]]),n=0;n<e[_$_5008[26]];n++)t[n]=e[_$_5008[2461]](n);return t},e[_$_5008[2462]]=function(t,n){return void 0===n&&(n=_$_5008[2463]),t instanceof ArrayBuffer?t=new Uint8Array(t):t instanceof DataView&&(t=new Uint8Array(t[_$_5008[1119]],t[_$_5008[2464]],t[_$_5008[2082]])),e[_$_5008[2465]](t,n)},e[_$_5008[2465]]=function(e,t){if(_$_5008[0]!=typeof TextDecoder)return new TextDecoder(t)[_$_5008[2466]](e);for(var n=0,r=_$_5008[90];n<e[_$_5008[26]];){var i=e[n++];if(i>127)if(i>191&&i<224){if(n>=e[_$_5008[26]]||64&e[n]){r+=_$_5008[2467];continue}i=(31&i)<<6|63&e[n++]}else if(i>223&&i<240){if(n+1>=e[_$_5008[26]]||64&e[n]||64&e[n+1]){r+=_$_5008[2467];continue}i=(15&i)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(i>239&&i<248)){r+=_$_5008[2467];continue}if(n+2>=e[_$_5008[26]]||64&e[n]||64&e[n+1]||64&e[n+2]){r+=_$_5008[2467];continue}i=(7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}i<=65535?r+=String[_$_5008[2468]](i):i<=1114111?(i-=65536,r+=String[_$_5008[2468]](i>>10|55296),r+=String[_$_5008[2468]](1023&i|56320)):r+=_$_5008[2467]}return r},e[_$_5008[251]]=function(e,t,n){if(_$_5008[109]==typeof t&&_$_5008[2469]===Object[_$_5008[37]][_$_5008[125]][_$_5008[36]](e)){var r;if(n||(n=_$_5008[2470]),_$_5008[2470]===n)r=-1;else{if(_$_5008[2471]!==n)return;r=1}return e[_$_5008[26]]<2?e:e[_$_5008[251]]((function(e,n){return e[t]<n[t]?r:e[t]>n[t]?-1*r:0}))}},e[_$_5008[18]]=function(t,n){var r=e[_$_5008[2472]](t),i=e[_$_5008[2472]](n);if(!r&&!i||r!==i)return null;var o=new r((t[_$_5008[2082]]+n[_$_5008[2082]])/r[_$_5008[2473]]);return o[_$_5008[1024]](new r(t),0),o[_$_5008[1024]](new r(n),t[_$_5008[2082]]/r[_$_5008[2473]]),o},e[_$_5008[2474]]=function(){for(var e=[],t=0;t<arguments[_$_5008[26]];t++)e[t]=arguments[t];if(!(e=e[_$_5008[112]]((function(e){return e})))[_$_5008[26]])return null;var n=e[_$_5008[135]]((function(e,t){return e+t[_$_5008[2082]]}),0),r=new Uint8Array(n);return e[_$_5008[135]]((function(e,t){return r[_$_5008[1024]](new Uint8Array(t),e),e+t[_$_5008[2082]]}),0),r[_$_5008[1119]]},e[_$_5008[2472]]=function(e){return e instanceof Uint8Array?Uint8Array:e instanceof Uint16Array?Uint16Array:e instanceof Uint32Array?Uint32Array:null},e[_$_5008[2475]]=function(t){return e[_$_5008[2472]](t)?[][_$_5008[74]][_$_5008[36]](t):Array[_$_5008[254]](t)?t:null},e[_$_5008[2476]]=function(){for(var e=[],t=0;t<arguments[_$_5008[26]];t++)e[t]=arguments[t];var n=[];return e[_$_5008[112]]((function(e){return Boolean(e)}))[_$_5008[113]]((function(e){return e[_$_5008[113]]((function(e){n[_$_5008[794]](e)||n[_$_5008[57]](e)}))})),n},e[_$_5008[2477]]=function(e){return Boolean(e)&&e instanceof ArrayBuffer&&void 0!==e[_$_5008[2082]]},e[_$_5008[2478]]=function(t,n){return void 0===n&&(n=!0),e[_$_5008[2479]](t,1,0,n)},e[_$_5008[2480]]=function(e){for(var t=_$_5008[90],n=new Uint8Array(e),r=0;r<n[_$_5008[26]];r++)t+=String[_$_5008[2468]](n[r]);return window[_$_5008[2481]](t)},e[_$_5008[2479]]=function(e,t,n,r){void 0===t&&(t=2),void 0===n&&(n=0),void 0===r&&(r=!0);for(var i=_$_5008[90],o=r?new Uint8Array(e):new Uint16Array(e),a=n;a<o[_$_5008[26]];a+=t)i+=String[_$_5008[2468]](o[a]);return i},e[_$_5008[249]]=function(){for(var t=[],n=0;n<arguments[_$_5008[26]];n++)t[n]=arguments[n];var r=[],i=t[_$_5008[112]]((function(e){return Boolean(e)}));return e[_$_5008[2476]][_$_5008[35]](e,t)[_$_5008[113]]((function(e){i[_$_5008[267]]((function(t){return t[_$_5008[794]](e)}))&&r[_$_5008[57]](e)})),r},e[_$_5008[2482]]=function(t,n){var i=t[_$_5008[112]]((function(t){return e[_$_5008[249]](t,n)[_$_5008[26]]>0})),o=t[_$_5008[112]]((function(e){return!i[_$_5008[794]](e)}));return 0===i[_$_5008[26]]?r(r([],t,!0),[n],!1):r([e[_$_5008[2476]][_$_5008[35]](e,r(r([],i,!1),[n],!1))],o,!0)},e[_$_5008[2483]]=function(e,t,n){for(var r=t+n,i=_$_5008[90];t<r;t++)i+=String[_$_5008[2468]](e[_$_5008[2484]](t));return i},e[_$_5008[2485]]=function(e,t,n){for(var r=t+n,o=_$_5008[90];t<r;t++)o+=i[_$_5008[2487]][_$_5008[2486]](e[_$_5008[2484]](t));return o},e[_$_5008[2488]]=function(e){try{if(!e||!e[_$_5008[26]])return[];for(var t=new Array(e[_$_5008[26]]),n=0;n<e[_$_5008[26]];n++)t[n]=e[n];return t}catch(e){return[]}},e}();function a(e,t){var n;for(n=e[_$_5008[26]]-1;n>=0&&!t(e[n]);n--);return n}function s(e,t){return Object[_$_5008[98]](e)[_$_5008[26]]===Object[_$_5008[98]](t)[_$_5008[26]]&&Object[_$_5008[98]](e)[_$_5008[267]]((function(n){return e[n]===t[n]}))}t[_$_5008[2449]]=o},38255:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2489]]=void 0;var n=function(){function e(){this[_$_5008[137]]=new Map}return e[_$_5008[37]][_$_5008[159]]=function(e){return this[_$_5008[137]][_$_5008[159]](e)},e[_$_5008[37]][_$_5008[35]]=function(e,t){this[_$_5008[137]][_$_5008[152]](e)&&this[_$_5008[137]][_$_5008[1024]](e,t(this[_$_5008[137]][_$_5008[159]](e)))},e[_$_5008[37]][_$_5008[152]]=function(e){return this[_$_5008[137]][_$_5008[152]](e)},e[_$_5008[37]][_$_5008[774]]=function(e){return this[_$_5008[137]][_$_5008[774]](e)},e[_$_5008[37]][_$_5008[1042]]=function(){this[_$_5008[137]][_$_5008[1042]]()},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2490],{get:function(){return this[_$_5008[137]][_$_5008[2490]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[26],{get:function(){var e=0;return this[_$_5008[137]][_$_5008[113]]((function(t){return e+=t[_$_5008[26]]})),e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1168],{get:function(){var e=[];return this[_$_5008[137]][_$_5008[113]]((function(t){e[_$_5008[57]](t)})),e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[98],{get:function(){var e=[];return this[_$_5008[137]][_$_5008[113]]((function(t,n){e[_$_5008[57]](n)})),e},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[143]]=function(e,t){return this[_$_5008[2491]](e),null!=t&&this[_$_5008[159]](e)[_$_5008[57]](t),this},e[_$_5008[37]][_$_5008[2491]]=function(e){this[_$_5008[152]](e)||this[_$_5008[1024]](e,[])},e[_$_5008[37]][_$_5008[1024]]=function(e,t){return this[_$_5008[137]][_$_5008[1024]](e,t),this},e[_$_5008[37]][_$_5008[2492]]=function(e,t){var n=this;this[_$_5008[2491]](e),t[_$_5008[113]]((function(t){return n[_$_5008[143]](e,t)}))},e[_$_5008[37]][_$_5008[2493]]=function(){var e={};return this[_$_5008[137]][_$_5008[113]]((function(t,n){e[n]=t})),e},e[_$_5008[37]][_$_5008[2494]]=function(e){this[_$_5008[137]][_$_5008[113]]((function(t,n){return t[_$_5008[113]]((function(t){return e(n,t)}))}))},e[_$_5008[37]][_$_5008[251]]=function(e){this[_$_5008[137]][_$_5008[113]]((function(t){t[_$_5008[251]](e)}))},e[_$_5008[37]][_$_5008[2495]]=function(t){var n=new e;return this[_$_5008[137]][_$_5008[113]]((function(e,r){return n[_$_5008[1024]](r,e[_$_5008[137]](t))})),n},e[_$_5008[37]][_$_5008[1944]]=function(e){var t=[];return this[_$_5008[137]][_$_5008[113]]((function(n){return t[_$_5008[57]](e(n))})),t},e[_$_5008[37]][_$_5008[2496]]=function(t){var n=new e;return this[_$_5008[137]][_$_5008[113]]((function(e,r){return n[_$_5008[1024]](r,t(e))})),n},e[_$_5008[37]][_$_5008[2497]]=function(){var e=[];return this[_$_5008[137]][_$_5008[113]]((function(t){return e[_$_5008[57]][_$_5008[35]](e,t)})),e},e[_$_5008[37]][_$_5008[2498]]=function(e,t){if(!this[_$_5008[152]](e))return!1;var n=this[_$_5008[137]][_$_5008[159]](e),r=n[_$_5008[29]](t);return r>=0&&(n[_$_5008[130]](r,1),!0)},e}();t[_$_5008[2489]]=n},30051:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2002]]=void 0;var n=function(){function e(){}return e[_$_5008[2001]]=function(e){var t=function(e){},n=new Promise((function(n,r){t=r,e[_$_5008[166]](n,r)}));return n[_$_5008[1942]]=t[_$_5008[71]](n),n},e}();t[_$_5008[2002]]=n},43485:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2201]]=t[_$_5008[2202]]=t[_$_5008[2198]]=t[_$_5008[2200]]=t[_$_5008[2203]]=t[_$_5008[694]]=t[_$_5008[993]]=t[_$_5008[2191]]=t[_$_5008[2499]]=t[_$_5008[2500]]=t[_$_5008[2190]]=t[_$_5008[622]]=t[_$_5008[1442]]=t[_$_5008[2197]]=t[_$_5008[2196]]=t[_$_5008[2195]]=t[_$_5008[2194]]=t[_$_5008[2193]]=t[_$_5008[2501]]=t[_$_5008[2189]]=t[_$_5008[2502]]=t[_$_5008[1449]]=t[_$_5008[2503]]=t[_$_5008[1455]]=t[_$_5008[2504]]=t[_$_5008[2505]]=t[_$_5008[2506]]=t[_$_5008[2507]]=t[_$_5008[2508]]=t[_$_5008[1446]]=t[_$_5008[2509]]=t[_$_5008[2510]]=t[_$_5008[2199]]=t[_$_5008[2511]]=t[_$_5008[2512]]=t[_$_5008[2513]]=t[_$_5008[2514]]=t[_$_5008[2515]]=t[_$_5008[2516]]=t[_$_5008[2517]]=t[_$_5008[2518]]=t[_$_5008[2519]]=t[_$_5008[2520]]=t[_$_5008[2521]]=t[_$_5008[2522]]=t[_$_5008[2523]]=t[_$_5008[2524]]=t[_$_5008[2525]]=t[_$_5008[2526]]=t[_$_5008[2527]]=void 0,t[_$_5008[1190]]=void 0,t[_$_5008[2192]]=h,t[_$_5008[1451]]=p,t[_$_5008[1453]]=g,t[_$_5008[1660]]=function(){return _$_5008[211]===window[_$_5008[8]][_$_5008[2563]]},t[_$_5008[1996]]=function(){return _$_5008[34]==typeof window[_$_5008[1316]]&&_$_5008[34]==typeof window[_$_5008[2569]]};var i,o=n(91520),a=n(16368),s=n(33696),u=n(13533),c=n(79814);t[_$_5008[2527]]=15,t[_$_5008[2526]]=17,t[_$_5008[2525]]=15,t[_$_5008[2524]]=17,t[_$_5008[2523]]=2,t[_$_5008[2522]]=4,t[_$_5008[2521]]=3,t[_$_5008[2520]]=0,t[_$_5008[2519]]=4,t[_$_5008[2518]]=0,t[_$_5008[2517]]=5,t[_$_5008[2516]]=5,t[_$_5008[2515]]=38,t[_$_5008[2514]]=53,t[_$_5008[2513]]=68,t[_$_5008[2512]]=79,function(e){e[_$_5008[2528]]=_$_5008[2138],e[_$_5008[2529]]=_$_5008[2139]}(i||(t[_$_5008[2511]]=i={}));var l=[{player:s[_$_5008[793]][_$_5008[1445]],streaming:s[_$_5008[721]][_$_5008[720]]},{player:s[_$_5008[793]][_$_5008[1445]],streaming:s[_$_5008[721]][_$_5008[723]]},{player:s[_$_5008[793]][_$_5008[1445]],streaming:s[_$_5008[721]][_$_5008[171]]},{player:s[_$_5008[793]][_$_5008[1462]],streaming:s[_$_5008[721]][_$_5008[728]]},{player:s[_$_5008[793]][_$_5008[792]],streaming:s[_$_5008[721]][_$_5008[723]]},{player:s[_$_5008[793]][_$_5008[792]],streaming:s[_$_5008[721]][_$_5008[725]]}],d=Boolean(window[_$_5008[2530]]&&window[_$_5008[2531]]&&window[_$_5008[2532]]);t[_$_5008[2199]]=function(){var e=navigator[_$_5008[1215]][_$_5008[1752]](/OS (\d+)(_\d+)*/);return e&&e[_$_5008[26]]>0&&parseInt(e[1],10)||0};var _=function(){var e,t,n,r=_$_5008[2538]in window&&_$_5008[34]==typeof(null===(e=window[_$_5008[2538]])||void 0===e?void 0:e[_$_5008[2539]]),i=_$_5008[2540]in window&&_$_5008[34]==typeof(null===(t=window[_$_5008[2540]])||void 0===t?void 0:t[_$_5008[2539]]),o=_$_5008[2541]in window&&_$_5008[34]==typeof(null===(n=window[_$_5008[2541]])||void 0===n?void 0:n[_$_5008[2539]]);return r||i||o};t[_$_5008[2510]]=function(){var e=[];if(d?e=l[_$_5008[112]]((function(e){return(0,t[_$_5008[2509]])(e[_$_5008[709]],e[_$_5008[719]])})):e[_$_5008[57]]({player:s[_$_5008[793]][_$_5008[792]],streaming:s[_$_5008[721]][_$_5008[725]]}),(0,t[_$_5008[2189]])())for(var n=1;n<e[_$_5008[26]];n++)if(e[n][_$_5008[709]]===s[_$_5008[793]][_$_5008[792]]&&e[n][_$_5008[719]]===s[_$_5008[721]][_$_5008[723]]){e=e[_$_5008[130]](n,1)[_$_5008[41]](e);break}return e},t[_$_5008[2509]]=function(e,n){var r=_()?[s[_$_5008[721]][_$_5008[720]],s[_$_5008[721]][_$_5008[723]],s[_$_5008[721]][_$_5008[171]]]:[],i=function(){var e,t,n,r=window[_$_5008[2542]],i=Boolean(null!==(n=null!==(t=null!==(e=navigator[_$_5008[2543]])&&void 0!==e?e:navigator[_$_5008[2544]])&&void 0!==t?t:navigator[_$_5008[2545]])&&void 0!==n?n:navigator[_$_5008[2546]]),o=Boolean(r)&&_$_5008[34]==typeof r[_$_5008[37]][_$_5008[2547]];return i&&o}()?[s[_$_5008[721]][_$_5008[728]]]:[],o=function(e){return e[_$_5008[841]]((function(e){return e===n}))};switch(e){case s[_$_5008[793]][_$_5008[1445]]:return o(r);case s[_$_5008[793]][_$_5008[1462]]:return o(i);case s[_$_5008[793]][_$_5008[792]]:return o(function(){var e=[];return function(){var e=document[_$_5008[735]](_$_5008[734]);return e&&_$_5008[34]==typeof e[_$_5008[2533]]&&(_$_5008[2534]===e[_$_5008[2533]](_$_5008[2535])||_$_5008[2534]===e[_$_5008[2533]](_$_5008[2028])||_$_5008[2534]===e[_$_5008[2533]](_$_5008[2536])||_$_5008[2534]===e[_$_5008[2533]](_$_5008[2537]))}()&&!(0,t[_$_5008[2191]])()&&e[_$_5008[57]](s[_$_5008[721]][_$_5008[723]]),_$_5008[34]==typeof document[_$_5008[735]](_$_5008[734])[_$_5008[2533]]&&e[_$_5008[57]](s[_$_5008[721]][_$_5008[725]]),e}());default:return!1}};var f=function(e,n){var r=(0,t[_$_5008[2504]])();return r[_$_5008[2548]]===e&&r[_$_5008[2549]]===n};function h(){return(0,t[_$_5008[2191]])()&&(0,t[_$_5008[2198]])()[_$_5008[2548]]<79}function p(){return/PlayStation 5/i[_$_5008[2562]](navigator[_$_5008[1215]])}function g(){return/PlayStation 4/i[_$_5008[2562]](navigator[_$_5008[1215]])}t[_$_5008[1446]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[200])},t[_$_5008[2508]]=function(){return f(t[_$_5008[2519]],t[_$_5008[2518]])},t[_$_5008[2507]]=function(){return f(t[_$_5008[2521]],t[_$_5008[2520]])},t[_$_5008[2506]]=function(){return f(t[_$_5008[2523]],t[_$_5008[2522]])},t[_$_5008[2505]]=function(){return f(t[_$_5008[2517]],t[_$_5008[2516]])},t[_$_5008[2504]]=function(){var e=navigator[_$_5008[1215]][_$_5008[1752]](/Tizen (\d).(\d)/);return e&&e[1]?{major:Number(e[1]),minor:Number(e[2]||0)}:{}},t[_$_5008[1455]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2550])},t[_$_5008[2503]]=function(){var e=new RegExp(/VIDAA\/(\d+)\.?(\d+)/)[_$_5008[2551]](navigator[_$_5008[1215]]);return(null==e?void 0:e[1])?{major:Number(e[1]),minor:Number(e[2])}:{}},t[_$_5008[1449]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2552])||navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2553])},t[_$_5008[2502]]=function(){var e,t=new RegExp(/Chrome\/(\d+)\.?(\d+)/)[_$_5008[2551]](navigator[_$_5008[1215]]);return(null==t?void 0:t[1])?{major:Number(t[1]),minor:Number(null!==(e=t[2])&&void 0!==e?e:0)}:{}},t[_$_5008[2189]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2554])&&!navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2555])&&!navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2556])&&!navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2557])&&!(0,t[_$_5008[1446]])()&&!p()&&!g()||(0,t[_$_5008[2501]])()},t[_$_5008[2501]]=function(){return Object[_$_5008[1168]](i)[_$_5008[841]]((function(e){var t;return null===(t=window[_$_5008[2558]])||void 0===t?void 0:t[_$_5008[2539]](e,c[_$_5008[1167]][_$_5008[2559]])}))},t[_$_5008[2193]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2555])&&!(0,t[_$_5008[2191]])()},t[_$_5008[2194]]=function(){return(0,t[_$_5008[2193]])()||(0,t[_$_5008[2191]])()&&!h()},t[_$_5008[2195]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2560])},t[_$_5008[2196]]=function(){return navigator[_$_5008[1215]][_$_5008[794]](_$_5008[2561])&&(0,t[_$_5008[622]])()},t[_$_5008[2197]]=function(){return(0,t[_$_5008[2189]])()&&_()},t[_$_5008[1442]]=function(){return/Android/i[_$_5008[2562]](navigator[_$_5008[1215]])||/IEMobile/i[_$_5008[2562]](navigator[_$_5008[1215]])||/Windows Phone 10.0/i[_$_5008[2562]](navigator[_$_5008[1215]])||/Safari/i[_$_5008[2562]](navigator[_$_5008[1215]])&&/Mobile/i[_$_5008[2562]](navigator[_$_5008[1215]])},t[_$_5008[622]]=function(){return/Safari/i[_$_5008[2562]](navigator[_$_5008[1215]])&&/Mobile/i[_$_5008[2562]](navigator[_$_5008[1215]])&&!/Android/i[_$_5008[2562]](navigator[_$_5008[1215]])&&!/Windows Phone 10.0/i[_$_5008[2562]](navigator[_$_5008[1215]])},t[_$_5008[2190]]=function(){return/Safari/i[_$_5008[2562]](navigator[_$_5008[1215]])&&/iP(hone|od|ad)/i[_$_5008[2562]](navigator[_$_5008[1215]])},t[_$_5008[2500]]=function(){return(0,t[_$_5008[2189]])()&&(0,t[_$_5008[2200]])()[_$_5008[2548]]===t[_$_5008[2525]]||(0,t[_$_5008[622]])()&&(0,t[_$_5008[2199]])()===t[_$_5008[2527]]},t[_$_5008[2499]]=function(){return(0,t[_$_5008[2189]])()&&(0,t[_$_5008[2200]])()[_$_5008[2548]]===t[_$_5008[2524]]||(0,t[_$_5008[622]])()&&(0,t[_$_5008[2199]])()===t[_$_5008[2526]]},t[_$_5008[2191]]=function(){return/Edge\/\d+/i[_$_5008[2562]](navigator[_$_5008[1215]])||/Edg\/\d+/i[_$_5008[2562]](navigator[_$_5008[1215]])},t[_$_5008[993]]=function(){var e=(0,t[_$_5008[2199]])(),n=e<9&&/iPad/i[_$_5008[2562]](navigator[_$_5008[1215]]),r=e<10&&/iP(hone|od)/i[_$_5008[2562]](navigator[_$_5008[1215]]);return t[_$_5008[2190]]&&(n||r)},t[_$_5008[694]]=function(){try{return window[_$_5008[2564]]&&_$_5008[34]==typeof localStorage[_$_5008[2565]]&&_$_5008[34]==typeof localStorage[_$_5008[2566]]}catch(e){return!1}},t[_$_5008[2203]]=function(){var e=(0,t[_$_5008[2201]])();return(0,t[_$_5008[2202]])()[_$_5008[112]]((function(t){return e[_$_5008[112]]((function(e){return function(e,t){return e[_$_5008[709]]===t[_$_5008[709]]&&e[_$_5008[719]]===t[_$_5008[719]]}(e,t)}))[_$_5008[26]]>0}))},t[_$_5008[2200]]=function(){var e=navigator[_$_5008[1215]][_$_5008[1752]](/Version\/(\d+)\.?(\d+)?\.?(\d+)?/)||null;if(!e)return{};var t=e[1],n=e[2],r=e[3],i=function(e){return e&&parseInt(e)};return{major:i(t),minor:i(n),patch:i(r)}},t[_$_5008[2198]]=function(){var e=navigator[_$_5008[1215]][_$_5008[1752]](/Edge\/(\d+)\.?(\d+)/)||navigator[_$_5008[1215]][_$_5008[1752]](/Edg\/(\d+)\.?(\d+)/);if(!e||0===e[_$_5008[26]])return{major:0,minor:0};var t={};return t[_$_5008[2548]]=e[1]&&parseInt(e[1]),t[_$_5008[2549]]=e[2]&&parseInt(e[2]),t},t[_$_5008[2202]]=function(){return(0,t[_$_5008[2510]])()},t[_$_5008[2201]]=function(){var e=o[_$_5008[140]][_$_5008[152]](a[_$_5008[168]][_$_5008[183]])?o[_$_5008[140]][_$_5008[159]](a[_$_5008[168]][_$_5008[183]])[_$_5008[2568]][_$_5008[2567]]():[],t=o[_$_5008[140]][_$_5008[152]](a[_$_5008[168]][_$_5008[182]])?o[_$_5008[140]][_$_5008[159]](a[_$_5008[168]][_$_5008[182]])[_$_5008[2568]][_$_5008[2567]]():[],n=o[_$_5008[140]][_$_5008[152]](a[_$_5008[168]][_$_5008[210]])?o[_$_5008[140]][_$_5008[159]](a[_$_5008[168]][_$_5008[210]])[_$_5008[2568]][_$_5008[2567]]():[];return r(r(r([],e,!0),t,!0),n,!0)},t[_$_5008[1190]]=function(e,n,i){void 0===e&&(e=[]),void 0===n&&(n={});var o=(0,u[_$_5008[623]])(),a=function(e){var t=(0,u[_$_5008[623]])(),n=r([],t[_$_5008[962]],!0);if(!e||0===e[_$_5008[26]])return n;var i=e[_$_5008[112]]((function(e){return n[_$_5008[841]]((function(t,r){var i,o=e[_$_5008[709]]===t[_$_5008[709]]&&e[_$_5008[719]]===t[_$_5008[719]],a=null!==(i=e[_$_5008[1443]])&&void 0!==i&&i;return o&&n[_$_5008[130]](r,1),o&&!a}))}))[_$_5008[137]]((function(e){return{player:e[_$_5008[709]],streaming:e[_$_5008[719]]}}));return r(r([],i,!0),n,!0)}(e),c=o[_$_5008[962]];return i&&(a=c[_$_5008[112]]((function(e){return e[_$_5008[709]]===i[_$_5008[709]]&&e[_$_5008[719]]===i[_$_5008[719]]}))),(n[_$_5008[621]]&&((0,t[_$_5008[2190]])()||(0,t[_$_5008[2189]])())?a[_$_5008[112]]((function(e){var n=e[_$_5008[719]]===s[_$_5008[721]][_$_5008[725]]&&e[_$_5008[709]]===s[_$_5008[793]][_$_5008[792]],r=e[_$_5008[719]]===s[_$_5008[721]][_$_5008[723]]&&e[_$_5008[709]]===s[_$_5008[793]][_$_5008[792]];return n||r&&(!(0,t[_$_5008[2190]])()||(0,t[_$_5008[2199]])()>9)})):a)[_$_5008[803]]((function(e){return Boolean(n[e[_$_5008[719]]])}))}},42283:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2570]]=void 0,t[_$_5008[2571]]=function(e,t){if(!t)return null;for(var n=r([],t[_$_5008[2614]],!0);0===n[n[_$_5008[26]]-1];)n[_$_5008[72]]();var i=n[_$_5008[137]]((function(e){return e[_$_5008[125]](16)[_$_5008[1587]]()}));return r([e,_$_5008[90][_$_5008[41]]([_$_5008[90],_$_5008[2617],_$_5008[2618],_$_5008[2619]][t[_$_5008[2616]]])[_$_5008[41]](t[_$_5008[2615]]),_$_5008[90][_$_5008[41]](t[_$_5008[2620]]),_$_5008[90][_$_5008[41]](0===t[_$_5008[2622]]?_$_5008[2623]:_$_5008[2624])[_$_5008[41]](t[_$_5008[2621]])],i,!0)[_$_5008[123]](_$_5008[81])},t[_$_5008[2572]]=function(e){return a[_$_5008[2593]](e)?i[_$_5008[296]][_$_5008[295]]:a[_$_5008[2594]](e)?i[_$_5008[296]][_$_5008[301]]:a[_$_5008[2595]](e)?i[_$_5008[296]][_$_5008[192]]:void 0};var i=n(33696),o=n(10676),a=function(){function e(){}return e[_$_5008[2573]]=function(t){return e[_$_5008[2574]][_$_5008[2562]](t)},e[_$_5008[2575]]=function(e){var t,n=e[_$_5008[124]](_$_5008[81]);return n[_$_5008[26]]>2?(t=n[_$_5008[95]]()+_$_5008[81],t+=parseInt(n[_$_5008[95]]())[_$_5008[125]](16),t+=(_$_5008[2576]+parseInt(n[_$_5008[95]]())[_$_5008[125]](16))[_$_5008[74]](-4)):t=e,t},e[_$_5008[2577]]=function(e,t,n){return e[_$_5008[2578]](t,n)},e[_$_5008[2579]]=function(t){return e[_$_5008[2580]]||(e[_$_5008[2580]]=(0,o[_$_5008[2581]])(s)),e[_$_5008[2580]](t)},e[_$_5008[2582]]=function(t){if(!t)return _$_5008[1298];for(var n=0,r=e[_$_5008[2583]];n<r[_$_5008[26]];n++){var i=r[n];if(e[_$_5008[2584]][i][_$_5008[803]]((function(e){return t[_$_5008[29]](e)>-1})))return i}return _$_5008[1298]},e[_$_5008[2585]]=function(t,n){var r;e[_$_5008[2584]][t][_$_5008[57]](n),null===(r=e[_$_5008[2580]])||void 0===r||r[_$_5008[2586]]()},e[_$_5008[2587]]=function(e,t){return e===t||[[_$_5008[2588],_$_5008[2589]],[_$_5008[1620],_$_5008[1621],_$_5008[2590]],[_$_5008[1618],_$_5008[1619],_$_5008[2591]]][_$_5008[841]]((function(n){return n[_$_5008[794]](e)&&n[_$_5008[794]](t)}))},e[_$_5008[2592]]=function(e){return e?e[_$_5008[124]](_$_5008[81])[0]:null},e[_$_5008[2593]]=function(t){return _$_5008[734]===e[_$_5008[2582]](t)},e[_$_5008[2594]]=function(t){return _$_5008[1371]===e[_$_5008[2582]](t)},e[_$_5008[2595]]=function(t){return _$_5008[2596]===e[_$_5008[2582]](t)},e[_$_5008[2574]]=new RegExp(_$_5008[2597]),e[_$_5008[2583]]=[_$_5008[734],_$_5008[1371],_$_5008[2596]],e[_$_5008[2584]]={video:[_$_5008[1615],_$_5008[1613],_$_5008[1612],_$_5008[2598],_$_5008[2599],_$_5008[2600],_$_5008[1610],_$_5008[2601],_$_5008[2602],_$_5008[1614],_$_5008[1607],_$_5008[1606],_$_5008[2603],_$_5008[2604],_$_5008[1608],_$_5008[1609]],audio:[_$_5008[2605],_$_5008[2606],_$_5008[2607],_$_5008[2608],_$_5008[2609],_$_5008[2610],_$_5008[2611],_$_5008[1620],_$_5008[1618],_$_5008[1617],_$_5008[1616]],application:[_$_5008[2612],_$_5008[2613],_$_5008[1924]]},e}();function s(e){return e||_$_5008[109]==typeof e?e[_$_5008[124]](_$_5008[337])[_$_5008[135]]((function(e,t){return t=t[_$_5008[2070]](),e[a[_$_5008[2582]](t)]=t,e}),{}):{}}t[_$_5008[2570]]=a},18561:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1768]]=void 0;var n=function(){function e(){}return e[_$_5008[958]]=function(e,t){return e===t?0:e?1:-1},e[_$_5008[1767]]=function(t,n){return e[_$_5008[958]](n,t)},e}();t[_$_5008[1768]]=n},86865:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2625]]=function(e,t,n){return!e&&!t||!(!e||!t)&&(n||Object[_$_5008[98]](e))[_$_5008[267]]((function(n){return e[n]===t[n]}))}},3941:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2626]]=void 0,t[_$_5008[2626]]=_$_5008[2627]},80043:function(e,t){_$_5008[32];var n=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2628]]=t[_$_5008[255]]=t[_$_5008[2629]]=void 0;var r=function(){function e(){}return e[_$_5008[37]][_$_5008[2488]]=function(){for(var e=[];this[_$_5008[256]]();)e[_$_5008[57]](this[_$_5008[132]]());return e},e}(),i=function(e){function t(){return e[_$_5008[36]](this)||this}return n(t,e),t[_$_5008[37]][_$_5008[256]]=function(){return!1},t[_$_5008[37]][_$_5008[132]]=function(){},t[_$_5008[761]]=function(){return this[_$_5008[2630]]||(this[_$_5008[2630]]=new t),this[_$_5008[2630]]},t}(r);t[_$_5008[2629]]=i;var o=function(e){function t(t){var n=e[_$_5008[36]](this)||this;return n[_$_5008[1703]]=t,n[_$_5008[2631]]=-1,n}return n(t,e),t[_$_5008[37]][_$_5008[256]]=function(){return this[_$_5008[2632]]=void 0,this[_$_5008[2631]]<this[_$_5008[1703]][_$_5008[26]]&&(this[_$_5008[2631]]++,this[_$_5008[2632]]=this[_$_5008[1703]][this[_$_5008[2631]]]),null!=this[_$_5008[2632]]},t[_$_5008[37]][_$_5008[132]]=function(){return this[_$_5008[2632]]},t}(r);t[_$_5008[255]]=o;var a=function(e){function t(t,n){var r=e[_$_5008[36]](this)||this;return r[_$_5008[104]]=t,r[_$_5008[112]]=n,r}return n(t,e),t[_$_5008[37]][_$_5008[256]]=function(){var e;for(this[_$_5008[2632]]=void 0;this[_$_5008[104]][_$_5008[256]]();)if(e=this[_$_5008[104]][_$_5008[132]](),this[_$_5008[112]](e)){this[_$_5008[2632]]=e;break}return null!=this[_$_5008[2632]]},t[_$_5008[37]][_$_5008[132]]=function(){return this[_$_5008[2632]]},t}(r);t[_$_5008[2628]]=a},44920:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2633]]=void 0;var n=function(){function e(){}return e[_$_5008[2634]]=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=document[_$_5008[735]](e);return Object[_$_5008[98]](n)[_$_5008[113]]((function(e){return r[_$_5008[633]][e]=n[e]})),Object[_$_5008[98]](t)[_$_5008[113]]((function(e){return r[_$_5008[1125]](e,t[e])})),r},e}();t[_$_5008[2633]]=n},10981:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1028]]=void 0;var n=function(){function e(){var e=this;this[_$_5008[2635]]=new Promise((function(t,n){e[_$_5008[2636]]=t,e[_$_5008[2637]]=n}))}return Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1035],{get:function(){return this[_$_5008[2635]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[580],{get:function(){return this[_$_5008[2636]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[892],{get:function(){return this[_$_5008[2637]]},enumerable:!1,configurable:!0}),e}();t[_$_5008[1028]]=n},44388:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2638]]=void 0;var n=function(){function e(){}return e[_$_5008[2639]]=function(e){if(_$_5008[109]!=typeof e)return NaN;var t=/^([-])?P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?(T)?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*|Infinity)S)?/[_$_5008[2551]](e);if(t){var n=Boolean(t[1]),r=12*parseFloat(t[2]||_$_5008[2627])*30*24*60*60,i=30*parseFloat(t[4]||_$_5008[2627])*24*60*60,o=24*parseFloat(t[6]||_$_5008[2627])*60*60,a=60*parseFloat(t[9]||_$_5008[2627])*60,s=60*parseFloat(t[11]||_$_5008[2627]),u=parseFloat(t[13]||_$_5008[2627]);if(_$_5008[2640]===t[8]&&void 0===(t[9]||t[11]||t[13]))return NaN;var c=r+i+o+a+s+u;return n&&(c=-c),c}return NaN},e}();t[_$_5008[2638]]=n},82315:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1429]]=void 0;var n=function(){function e(){this[_$_5008[2641]]={}}return e[_$_5008[761]]=function(){return e[_$_5008[2642]]||(e[_$_5008[2642]]=new e),e[_$_5008[2642]]},e[_$_5008[37]][_$_5008[2643]]=function(e,t){return void 0===t&&(t=!1),this[_$_5008[2641]][_$_5008[215]](e)&&this[_$_5008[2641]][e]||(t&&window[_$_5008[2644]]&&window[_$_5008[2645]]?this[_$_5008[2641]][e]=new Promise((function(t,n){window[_$_5008[2644]]([e],(function(e){t(e)}),(function(e){n(e)}))})):this[_$_5008[2641]][e]=new Promise((function(t,n){var r=document[_$_5008[353]](_$_5008[2646])[0]||document[_$_5008[2647]],i=!1,o=document[_$_5008[735]](_$_5008[352]);o[_$_5008[65]]=_$_5008[2648],o[_$_5008[350]]=e,o[_$_5008[2649]]=!0,o[_$_5008[2650]]=o[_$_5008[2651]]=function(){i||this[_$_5008[1350]]&&_$_5008[2093]!==this[_$_5008[1350]]&&_$_5008[2652]!==this[_$_5008[1350]]||(i=!0,o[_$_5008[2650]]=o[_$_5008[2651]]=null,r&&o[_$_5008[982]]&&r[_$_5008[905]](o),t(void 0))},o[_$_5008[2653]]=n,r[_$_5008[2654]](o,r[_$_5008[1604]])}))),this[_$_5008[2641]][e]},e[_$_5008[37]][_$_5008[2655]]=function(e,t){this[_$_5008[2641]][_$_5008[215]](e)&&this[_$_5008[2641]][e]&&delete this[_$_5008[2641]][e];for(var n=document[_$_5008[2646]][_$_5008[353]](_$_5008[352]),r=0;r<n[_$_5008[26]];r++)n[r][_$_5008[350]][_$_5008[794]](t)&&document[_$_5008[2646]][_$_5008[905]](n[r])},e[_$_5008[37]][_$_5008[2656]]=function(e,t){for(var n=(null==t?void 0:t[_$_5008[652]])&&t[_$_5008[652]]()||document[_$_5008[353]](_$_5008[2646])[0]||document[_$_5008[2647]],r=n[_$_5008[2658]](_$_5008[2657]),i=0;i<r[_$_5008[26]];i++){var o=r[i];if(o[_$_5008[359]](_$_5008[2659])&&o[_$_5008[2660]](_$_5008[2659])[_$_5008[29]](e)>-1)return}var a=document[_$_5008[735]](_$_5008[2657]);a[_$_5008[1125]](_$_5008[2661],_$_5008[2662]),a[_$_5008[1125]](_$_5008[65],_$_5008[2663]),a[_$_5008[1125]](_$_5008[2659],e),n[_$_5008[2654]](a,n[_$_5008[1604]]),this[_$_5008[2641]][e]=!0},e}();t[_$_5008[1429]]=n},56093:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2487]]=void 0;var n=function(){function e(){}return e[_$_5008[2664]]=function(e){var t=e[_$_5008[26]];1&t&&(e=_$_5008[2627]+e,t++);for(var n=new Uint8Array(t>>1),r=0;r<t;r+=2)n[r>>1]=parseInt(e[_$_5008[25]](r,r+2),16);return n},e[_$_5008[2665]]=function(e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));for(var t=_$_5008[90],n=0;n<e[_$_5008[2082]];n++){var r=(255&e[n])[_$_5008[125]](16);r[_$_5008[26]]<2&&(t+=_$_5008[2627]),t+=r}return t},e[_$_5008[2666]]=function(e){return this[_$_5008[2667]](this[_$_5008[2665]](e))},e[_$_5008[2667]]=function(e){return e[_$_5008[74]](0,8)+_$_5008[1589]+e[_$_5008[74]](8,12)+_$_5008[1589]+e[_$_5008[74]](12,16)+_$_5008[1589]+e[_$_5008[74]](16,20)+_$_5008[1589]+e[_$_5008[74]](20)},e[_$_5008[2486]]=function(e){return(_$_5008[2668]+e[_$_5008[125]](16))[_$_5008[74]](-2)},e[_$_5008[2669]]=function(e){return window[_$_5008[2481]](e)[_$_5008[30]](/\+/g,_$_5008[1589])[_$_5008[30]](/\//g,_$_5008[1562])[_$_5008[30]](/=/g,_$_5008[90])},e[_$_5008[2670]]=function(e){return window[_$_5008[2673]]((e+_$_5008[2672][_$_5008[74]]((e[_$_5008[26]]+3)%4))[_$_5008[30]](/-/g,_$_5008[2671])[_$_5008[30]](/_/g,_$_5008[341]))},e}();t[_$_5008[2487]]=n},53968:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2675]]=function(e){var t,n=null==e?void 0:e[_$_5008[136]]();return!!n&&(null===(t=n[_$_5008[1119]])||void 0===t?void 0:t[_$_5008[2674]])}},26190:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2676]]=t[_$_5008[2677]]=t[_$_5008[2678]]=t[_$_5008[2679]]=t[_$_5008[2680]]=void 0,function(e){e[_$_5008[2681]]=_$_5008[2682],e[_$_5008[2683]]=_$_5008[989],e[_$_5008[192]]=_$_5008[946]}(n||(t[_$_5008[2680]]=n={})),t[_$_5008[2679]]=_$_5008[90],t[_$_5008[2678]]=function(e,n,r){if(!e)return t[_$_5008[2679]];try{var i=e(n);return _$_5008[109]==typeof i?i:t[_$_5008[2679]]}catch(e){return r[_$_5008[38]](_$_5008[2684],e),t[_$_5008[2679]]}},t[_$_5008[2677]]=function(e,t,n){var r,i;return null===(i=null===(r=e[_$_5008[990]])||void 0===r?void 0:r[t])||void 0===i?void 0:i[n]},t[_$_5008[2676]]=function(e,n){var r=(0,t[_$_5008[2677]])(e[_$_5008[808]],e[_$_5008[2685]],e[_$_5008[2686]]);return(0,t[_$_5008[2678]])(r,n,e[_$_5008[280]])}},10676:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2581]]=function(e,t){var n=new Map;function r(r){return function(n,r){var i=t?t[_$_5008[35]](void 0,r):e;return n[_$_5008[152]](i)||n[_$_5008[1024]](i,e[_$_5008[35]](void 0,r)),n[_$_5008[159]](i)}(t||0===r[_$_5008[26]]?n:i(n,r),r)}function i(e,t,n){void 0===n&&(n=0);var r,o=t[_$_5008[26]]-1===n,a=t[n];return e[_$_5008[152]](a)?r=e[_$_5008[159]](a):(r=new Map,e[_$_5008[1024]](a,r)),n+=1,o?r:i(r,t,n)}return function(){var e=function(){for(var e=[],t=0;t<arguments[_$_5008[26]];t++)e[t]=arguments[t];return r(e)};return e[_$_5008[2586]]=function(){return n[_$_5008[1042]]()},e}()}},79814:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[300]]=t[_$_5008[1167]]=void 0,t[_$_5008[2687]]=function(e,t){return Object[_$_5008[98]](e)[_$_5008[137]]((function(e){return a[_$_5008[2708]](e)}))[_$_5008[794]](a[_$_5008[2708]](t))};var r,i=n(59181),o=n(33696);!function(e){e[_$_5008[2559]]=_$_5008[2688],e[_$_5008[2689]]=_$_5008[2690],e[_$_5008[2691]]=_$_5008[2692],e[_$_5008[2693]]=_$_5008[2694]}(r||(t[_$_5008[1167]]=r={}));var a=function(){function e(){}return e[_$_5008[2695]]=function(e){return this[_$_5008[2696]](e)||this[_$_5008[2697]](e)},e[_$_5008[2697]]=function(e){return e[_$_5008[794]](_$_5008[1308])},e[_$_5008[2698]]=function(e){return e[_$_5008[794]](_$_5008[2699])},e[_$_5008[2696]]=function(e){return e[_$_5008[794]](_$_5008[2596])},e[_$_5008[2393]]=function(e){return this[_$_5008[2700]](e)||this[_$_5008[299]](e)},e[_$_5008[2700]]=function(e){return e[_$_5008[794]](_$_5008[734])},e[_$_5008[2701]]=function(e){return e[_$_5008[794]](_$_5008[1298])},e[_$_5008[299]]=function(e){return e[_$_5008[794]](_$_5008[1371])},e[_$_5008[2702]]=function(e){return e[_$_5008[794]](_$_5008[1923])},e[_$_5008[2703]]=function(e){return e[_$_5008[794]](i[_$_5008[2026]][_$_5008[720]])},e[_$_5008[2704]]=function(e){return e[_$_5008[794]](i[_$_5008[2026]][_$_5008[723]])||e[_$_5008[794]](_$_5008[2705])},e[_$_5008[2706]]=function(e){return e[_$_5008[794]](_$_5008[2707])},e[_$_5008[2708]]=function(e){return this[_$_5008[2700]](e)?o[_$_5008[296]][_$_5008[295]]:this[_$_5008[299]](e)?o[_$_5008[296]][_$_5008[301]]:this[_$_5008[2695]](e)?o[_$_5008[296]][_$_5008[192]]:this[_$_5008[2702]](e)?o[_$_5008[296]][_$_5008[1372]]:void 0},e[_$_5008[2709]]=function(e){return e[_$_5008[124]](_$_5008[341])[0]},e[_$_5008[2710]]=function(e){var t=e[_$_5008[124]](_$_5008[341]);return t[_$_5008[26]]>1?t[1]:null},e}();t[_$_5008[300]]=a},38261:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[695]]=void 0;var n=function(){function e(e){this[_$_5008[2711]]=e,this[_$_5008[2712]]=_$_5008[2713],this[_$_5008[1703]]={},this[_$_5008[2714]]=function(){var e=new Date;return e[_$_5008[2715]](e[_$_5008[275]]()+316224e5),_$_5008[2716]+e[_$_5008[2717]]()}(),this[_$_5008[1019]]()}return e[_$_5008[37]][_$_5008[159]]=function(e){return this[_$_5008[1703]][e]},e[_$_5008[37]][_$_5008[1024]]=function(e,t){this[_$_5008[1703]][e]=t,this[_$_5008[2718]]()},e[_$_5008[37]][_$_5008[921]]=function(e){this[_$_5008[2719]]=e},e[_$_5008[37]][_$_5008[2720]]=function(e){var t=this[_$_5008[2721]]();if(!t)return _$_5008[90];for(var n=e+_$_5008[2722],r=t[_$_5008[124]](_$_5008[2723]),i=0;i<r[_$_5008[26]];i++){for(var o=r[i];_$_5008[60]===o[_$_5008[1588]](0);)o=o[_$_5008[25]](1);if(0===o[_$_5008[29]](n))return o[_$_5008[25]](n[_$_5008[26]],o[_$_5008[26]])}return _$_5008[90]},e[_$_5008[37]][_$_5008[2721]]=function(){try{return document[_$_5008[2724]]}catch(e){return _$_5008[90]}},e[_$_5008[37]][_$_5008[2725]]=function(e){if(e)try{this[_$_5008[1703]]=JSON[_$_5008[283]](e)}catch(e){}},e[_$_5008[37]][_$_5008[1019]]=function(){this[_$_5008[2711]]?this[_$_5008[2725]](localStorage[_$_5008[2565]](this[_$_5008[2712]])):this[_$_5008[2725]](this[_$_5008[2720]](this[_$_5008[2712]]))},e[_$_5008[37]][_$_5008[2718]]=function(){if(!this[_$_5008[2719]])try{this[_$_5008[2711]]?localStorage[_$_5008[2566]](this[_$_5008[2712]],JSON[_$_5008[282]](this[_$_5008[1703]])):document[_$_5008[2724]]=this[_$_5008[2712]]+_$_5008[2722]+JSON[_$_5008[282]](this[_$_5008[1703]])+_$_5008[2726]+this[_$_5008[2714]]}catch(e){}},e}();t[_$_5008[695]]=n},34586:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2727]]=void 0;var r=n(81361),i=function(){function e(){}return e[_$_5008[2728]]=function(e){if(!e)return!1;var t=[87,69,66,86,84,84],n=new Uint8Array(e[_$_5008[74]](0,6)),i=new Uint8Array(e[_$_5008[74]](0,9));return r[_$_5008[2449]][_$_5008[2459]](n,new Uint8Array(t))||r[_$_5008[2449]][_$_5008[2459]](i,new Uint8Array([239,187,191][_$_5008[41]](t)))},e[_$_5008[2729]]=function(e){for(var t,n=!0,r=[34,85,84,70,45,56,34],i=e instanceof ArrayBuffer?new DataView(e):e,o=0;o<i[_$_5008[2082]];o++)if((t=i[_$_5008[2484]](o))>128)n=!1;else{if(0===t)return _$_5008[2730];if(t===r[0]&&i[_$_5008[2082]]>o+r[_$_5008[26]]){for(var a=!0,s=1;s<r[_$_5008[26]];s++)if(r[s]!==i[_$_5008[2484]](o+s)){a=!1;break}if(a)return _$_5008[2463]}}return n?_$_5008[2731]:_$_5008[2463]},e}();t[_$_5008[2727]]=i},331:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[276]]=function(e){return e/1e3},t[_$_5008[1248]]=function(e){return 1e3*e}},70016:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1185]]=void 0,t[_$_5008[2732]]=function(e){return null!=e},t[_$_5008[2733]]=function(e){return null!=e[_$_5008[2734]]&&null!=e[_$_5008[2735]]},t[_$_5008[1185]]=function(e){return _$_5008[79]==typeof e}},76885:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1934]]=void 0,t[_$_5008[2008]]=o,t[_$_5008[2736]]=function(e,t){var n=e[_$_5008[124]](_$_5008[2741]),r=n[0],i=n[1];if(!i)return e;var o=i[_$_5008[124]](_$_5008[2754])[_$_5008[112]]((function(e){var n=e[_$_5008[124]](_$_5008[2722])[0];return!t[_$_5008[794]](n)}))[_$_5008[123]](_$_5008[2754]);return o?_$_5008[90][_$_5008[41]](r,_$_5008[2741])[_$_5008[41]](o):r};var n=function(){function e(){}return e[_$_5008[2737]]=function(t){return!!t&&(_$_5008[109]!=typeof t&&(t=e[_$_5008[2738]](t)),e[_$_5008[2739]][_$_5008[2562]](t))},e[_$_5008[2740]]=function(e){return e[_$_5008[29]](_$_5008[2741])>-1&&(e=e[_$_5008[124]](_$_5008[2741])[0]),e},e[_$_5008[2738]]=function(e){return e&&_$_5008[109]!=typeof e?function(e){return e&&_$_5008[109]==typeof e[_$_5008[2742]]}(e)?e[_$_5008[2742]]:function(e){return e&&_$_5008[109]==typeof e[_$_5008[1183]]}(e)?e[_$_5008[1183]]:null:e},e[_$_5008[2743]]=function(t,n){var r=_$_5008[341],i=e[_$_5008[2738]](t),a=e[_$_5008[2738]](n);return!i||i[_$_5008[26]]<1||e[_$_5008[2737]](a)?a:!a||a[_$_5008[26]]<1?i:((i=e[_$_5008[2740]](i))[_$_5008[29]](_$_5008[341])>-1&&(i=i[_$_5008[25]](0,i[_$_5008[342]](_$_5008[341]))),_$_5008[341]===a[0]&&(i=o(i),r=_$_5008[90]),i+r+a)},e[_$_5008[2744]]=function(t){if(!t)return null;t=e[_$_5008[2740]](t);var n=e[_$_5008[2745]](t),r=t[_$_5008[342]](_$_5008[341]);return r===t[_$_5008[26]]-1&&(t=t[_$_5008[25]](0,r)),(r=t[_$_5008[342]](_$_5008[341]))<0?_$_5008[90]:r>t[_$_5008[26]]-1?t:r<=n?t+_$_5008[341]:t[_$_5008[25]](0,r+1)},e[_$_5008[2746]]=function(e){return!!(e&&e[_$_5008[26]]>0)&&_$_5008[341]===e[0]},e[_$_5008[2745]]=function(e){var t=_$_5008[2747],n=e[_$_5008[29]](t);return n>-1?n+t[_$_5008[26]]:-1===n&&0===e[_$_5008[29]](_$_5008[2748])?2:0},e[_$_5008[2749]]=function(e,t){var n=o(e),r=o(t);return e[_$_5008[30]](n,r)},e[_$_5008[2750]]=function(e,t){return!(!e||!t)&&(0===t[_$_5008[29]](_$_5008[2751])&&(t=t[_$_5008[25]](3)),e[_$_5008[29]](t)>-1)},e[_$_5008[2752]]=function(t,n){return e[_$_5008[2737]](n)?(n[_$_5008[339]](_$_5008[341])&&(n=(function(e){return e[_$_5008[25]](0,e[_$_5008[29]](_$_5008[2748]))}(t)||i())+n),n):(t=this[_$_5008[1933]](t),n&&0!==n[_$_5008[26]]?e[_$_5008[2746]](n)?o(t)+n:(t[_$_5008[2753]](_$_5008[341])||(t=this[_$_5008[2744]](t)),t+n):t)},e[_$_5008[1988]]=function(e,t){var n=_$_5008[90],i=e[_$_5008[29]](_$_5008[2741])>=0;if(t)for(var o in t)t[_$_5008[215]](o)&&(n+=i?_$_5008[2754]:_$_5008[2741],i=!0,n=r(n,o,t[o]));return e+n},e[_$_5008[1933]]=function(t){if(e[_$_5008[2755]](t))return t;var n=t[_$_5008[339]](_$_5008[2748])?i()+t:t;return t[_$_5008[124]](_$_5008[2748])[1][_$_5008[794]](_$_5008[341])||(n+=_$_5008[341]),n},e[_$_5008[2755]]=function(e){return e&&0===e[_$_5008[29]](this[_$_5008[2756]])},e[_$_5008[2757]]=function(e){if(!this[_$_5008[2755]](e))throw new Error(_$_5008[2758]+e);-1===(e=e[_$_5008[25]](this[_$_5008[2756]][_$_5008[26]]))[_$_5008[29]](this[_$_5008[2759]])&&(e=this[_$_5008[2760]]+this[_$_5008[2759]]+e);var t=e[_$_5008[124]](this[_$_5008[2759]]),n=t[0],r=t[1],i=n[_$_5008[2753]](this[_$_5008[2761]]),o=n[_$_5008[26]]-this[_$_5008[2761]][_$_5008[26]]-this[_$_5008[2759]][_$_5008[26]];return{mediaType:i?n[_$_5008[25]](0,o):n,base64:i?r:void 0,data:i?atob(r):r}},e[_$_5008[2762]]=function(t,n,r){return e[_$_5008[2737]](r)?r:e[_$_5008[2746]](r)?n+r:t+r},e[_$_5008[2763]]=function(t,n){return e[_$_5008[2737]](t)?t:e[_$_5008[2752]](n,t)},e[_$_5008[2756]]=_$_5008[2764],e[_$_5008[2761]]=_$_5008[2765],e[_$_5008[2760]]=_$_5008[2766],e[_$_5008[2739]]=new RegExp(_$_5008[2767],_$_5008[2768]),e[_$_5008[2759]]=_$_5008[337],e}();function r(e,t,n){return e+=t,null!=n&&(e+=_$_5008[2722]+encodeURIComponent(n)),e}function i(){var e;return(null===(e=window[_$_5008[10]])||void 0===e?void 0:e[_$_5008[1662]])||_$_5008[2769]}function o(e){var t=e[_$_5008[29]](_$_5008[2748])+2,n=e[_$_5008[29]](_$_5008[341],t);return-1===n&&(n=e[_$_5008[29]](_$_5008[2741],t)),-1===n?e:e[_$_5008[74]](0,n)}t[_$_5008[1934]]=n},54838:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[569]]||function(e,t,n){if(n||2===arguments[_$_5008[26]])for(var r,i=0,o=t[_$_5008[26]];i<o;i++)!r&&i in t||(r||(r=Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t,0,i)),r[i]=t[i]);return e[_$_5008[41]](r||Array[_$_5008[37]][_$_5008[74]][_$_5008[36]](t))};Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1001]]=void 0,t[_$_5008[1635]]=function(e){if(!e)return 0;var t;if((e=String(e)[_$_5008[30]](_$_5008[337],_$_5008[81]))[_$_5008[29]](_$_5008[348])>-1)t=e[_$_5008[124]](_$_5008[348]);else{if(!(e[_$_5008[29]](_$_5008[341])>-1))return isNaN(parseFloat(e))?0:parseFloat(e);t=e[_$_5008[124]](_$_5008[341])}if(t&&Array[_$_5008[254]](t)&&t[_$_5008[26]]>1){var n=parseFloat(t[0])/parseFloat(t[1]);return isNaN(n)?0:n}return 0};var i=n(60997),o=n(87326),a=n(46462),s=n(30573),u=n(331),c=function(){function e(){}return e[_$_5008[1908]]=function(t,n){if(t===n)return!0;if(!t||_$_5008[33]!=typeof t||!n||_$_5008[33]!=typeof n)return!1;if(Object[_$_5008[98]](t)[_$_5008[26]]!==Object[_$_5008[98]](n)[_$_5008[26]])return!1;for(var r in t)if(!n[_$_5008[215]](r)||!e[_$_5008[1908]](t[r],n[r]))return!1;return!0},e[_$_5008[1638]]=function(t,n){var r=void 0!==window[_$_5008[2530]];for(var i in n)n[_$_5008[215]](i)&&(r&&n[i]instanceof ArrayBuffer?t[i]=n[i][_$_5008[74]](0,n[i][_$_5008[2082]]):_$_5008[33]==typeof n[i]&&null!==n[i]?(t[_$_5008[215]](i)||(Array[_$_5008[254]](n[i])?t[i]=[]:t[i]={}),e[_$_5008[1638]](t[i],n[i])):t[i]=n[i])},e[_$_5008[1637]]=function(e){for(var t=this,n=[],r=1;r<arguments[_$_5008[26]];r++)n[r-1]=arguments[r];return n[_$_5008[113]]((function(n){return t[_$_5008[1638]](e,n)})),e},e[_$_5008[1099]]=function(e){return!!e&&_$_5008[2770]==={}[_$_5008[125]][_$_5008[36]](e)},e[_$_5008[1641]]=function(e,t){return isNaN(t)?(t=t[_$_5008[1586]]()[_$_5008[2070]]()[_$_5008[30]](/,/g,_$_5008[81]))[_$_5008[29]](_$_5008[2771])>-1?1e6*t[_$_5008[124]](_$_5008[2772])[0]:t[_$_5008[29]](_$_5008[2773])>-1?1e3*t[_$_5008[124]](_$_5008[2774])[0]:t[_$_5008[29]](_$_5008[2775])>-1?1*t[_$_5008[124]](_$_5008[2776])[0]:_$_5008[248]===e?1/0:0:t===1/0?t:1*t},e[_$_5008[1188]]=function(e){if(e&&_$_5008[109]==typeof e){for(var t=e[_$_5008[124]](_$_5008[81]),n=0,r=0;r<e[_$_5008[26]];r++)_$_5008[90]===t[r]&&(t[r]=null,n++);return n===e[_$_5008[26]]?null:{player:t[0],streaming:t[1]}}return null},e[_$_5008[2777]]=function(){var t=document[_$_5008[735]](_$_5008[808]);t[_$_5008[1125]](_$_5008[65],_$_5008[2778]),t[_$_5008[1125]](_$_5008[350],_$_5008[2779]);var n={settings:o[_$_5008[691]]};for(e[_$_5008[2780]]=e[_$_5008[2780]]||new s[_$_5008[2781]](n,document[_$_5008[735]](_$_5008[1371])),e[_$_5008[2780]][_$_5008[1125]](_$_5008[689],_$_5008[2782]),e[_$_5008[2780]][_$_5008[76]](a[_$_5008[1352]][_$_5008[370]],(function(){return e[_$_5008[2780]][_$_5008[2783]]=!0})),e[_$_5008[2780]][_$_5008[1125]](_$_5008[2784],_$_5008[2785]),e[_$_5008[2780]][_$_5008[359]](_$_5008[350])&&e[_$_5008[2780]][_$_5008[1603]](_$_5008[350]);e[_$_5008[2780]][_$_5008[1604]];)e[_$_5008[2780]][_$_5008[905]](e[_$_5008[2780]][_$_5008[1604]]);e[_$_5008[2780]][_$_5008[1019]]()},e[_$_5008[1e3]]=function(){return e[_$_5008[2780]]||e[_$_5008[2777]](),e[_$_5008[2780]]},e[_$_5008[1088]]=function(){if(e[_$_5008[2780]]){var t=e[_$_5008[2780]][_$_5008[746]]();e[_$_5008[2780]]=(0,i[_$_5008[323]])(e[_$_5008[2780]]),t[_$_5008[982]]&&t[_$_5008[982]][_$_5008[905]](t)}},e[_$_5008[995]]=function(){return document[_$_5008[2786]]||document[_$_5008[2787]]||document[_$_5008[2788]]||document[_$_5008[2789]]},e[_$_5008[1359]]=function(){return Date[_$_5008[819]]()[_$_5008[125]](16)+Math[_$_5008[1325]](1048576*(1+Math[_$_5008[126]]()))[_$_5008[125]](16)[_$_5008[25]](1)},e[_$_5008[2790]]=function(t){var n=null;return _$_5008[109]!=typeof t&&isNaN(t)||(n=_$_5008[109]==typeof t?e[_$_5008[2791]][_$_5008[2562]](t)?new Date(t):new Date(t+_$_5008[2792]):new Date(t)),n},e[_$_5008[1842]]=function(e){var t=0;if(0===e[_$_5008[26]])return t;for(var n=0;n<e[_$_5008[26]];n++)t=(t<<5)-t+e[_$_5008[2461]](n),t&=t;return t},e[_$_5008[909]]=function(e,t){return new Promise((function(n){setTimeout((function(){_$_5008[34]==typeof t?n(t()):n()}),e)}))},e[_$_5008[2793]]=function(e){return(0,u[_$_5008[276]])(e[_$_5008[275]]())},e[_$_5008[1177]]=function(t){var n=new WeakMap,r=JSON[_$_5008[282]](t,(function t(r,i){if(null==i)return i;if(_$_5008[34]==typeof i)return i[_$_5008[125]]()[_$_5008[30]](/\n|\s\s/g,_$_5008[90]);if(i instanceof ArrayBuffer)return String[_$_5008[2468]][_$_5008[35]](null,new Uint8Array(i[_$_5008[74]](0,20)));if(i instanceof Uint8Array)return String[_$_5008[2468]][_$_5008[35]](null,i[_$_5008[74]](0,20));if(_$_5008[33]==typeof i&&!Array[_$_5008[254]](i)){if(n[_$_5008[152]](i)){var o=JSON[_$_5008[282]](Object[_$_5008[98]](i),t);return _$_5008[2795][_$_5008[41]](Math[_$_5008[1250]](e[_$_5008[1842]](o))[_$_5008[125]](16),_$_5008[2794])}n[_$_5008[1024]](i,!0)}return i}));return(268435456|Math[_$_5008[1250]](e[_$_5008[1842]](r)))[_$_5008[125]](16)},e[_$_5008[1981]]=function(e,t){var n=Math[_$_5008[239]](10,t);return Math[_$_5008[273]](e*n)/n},e[_$_5008[2796]]=function(e,t,n){var i=r([],e,!0),o=i[t];return i[_$_5008[130]](t,1),i[_$_5008[130]](n,0,o),i},e[_$_5008[2780]]=null,e[_$_5008[2791]]=/(?:Z|[+-](?:2[0-3]|[01][0-9]):[0-5][0-9])$/,e}();t[_$_5008[1001]]=c},61452:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2797]]=function e(t){Object[_$_5008[98]](t)[_$_5008[113]]((function(n){_$_5008[109]==typeof t[n]&&(t[n]=(0,r[_$_5008[1591]])(t[n])),_$_5008[33]==typeof t[n]&&e(t[n])}))};var r=n(91397)},39999:function(e,t){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2801]]=function(e,t){var n=[_$_5008[633],_$_5008[1632],_$_5008[1633],_$_5008[1839]],r=function(){return t(e[_$_5008[1116]],e[_$_5008[1117]])},i=new MutationObserver(r);return{observe:function(){i[_$_5008[2798]](e,{attributes:!0,attributeFilter:n,childList:!1,subtree:!0}),window[_$_5008[76]](_$_5008[2799],r)},dispose:function(){i[_$_5008[2800]](),window[_$_5008[78]](_$_5008[2799],r)}}}},13547:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[759]]=void 0;var r=n(60997),i=n(62510),o=n(33696),a=n(17990),s=n(58975),u=n(3464),c=n(46462),l=n(39999),d=_$_5008[2802],_=_$_5008[2803],f=[_$_5008[90],_$_5008[2804],_$_5008[2805],_$_5008[1326],_$_5008[2806]],h=[_$_5008[2807],_$_5008[2808],_$_5008[2809],_$_5008[2810],_$_5008[2811]],p=function(){function e(e,t,n,r){var s=this;this[_$_5008[597]]=e,this[_$_5008[652]]=t,this[_$_5008[2812]]=n,this[_$_5008[619]]=r,this[_$_5008[2813]]=!1,this[_$_5008[1632]]=0,this[_$_5008[1633]]=0,this[_$_5008[1471]]=function(e){return s[_$_5008[597]][_$_5008[91]][_$_5008[708]][_$_5008[138]](e)},this[_$_5008[2814]]=function(e,t){e===s[_$_5008[1632]]&&t===s[_$_5008[1633]]||(s[_$_5008[1632]]=e,s[_$_5008[1633]]=t,s[_$_5008[2812]](i[_$_5008[364]][_$_5008[387]],{width:_$_5008[90][_$_5008[41]](s[_$_5008[1632]],_$_5008[1636]),height:_$_5008[90][_$_5008[41]](s[_$_5008[1633]],_$_5008[1636])}),s[_$_5008[597]][_$_5008[713]]&&_$_5008[34]==typeof s[_$_5008[597]][_$_5008[713]][_$_5008[2815]]&&s[_$_5008[597]][_$_5008[713]][_$_5008[2815]](s[_$_5008[1632]],s[_$_5008[1633]]))},this[_$_5008[2816]]=function(e,t){var n={from:t[_$_5008[1159]],to:e[_$_5008[1159]],legacy:s[_$_5008[619]]()};s[_$_5008[2817]]()&&(e[_$_5008[1159]]===o[_$_5008[997]][_$_5008[1161]]?(s[_$_5008[597]][_$_5008[598]][_$_5008[1157]](n),s[_$_5008[1632]]=0,s[_$_5008[1633]]=0):t[_$_5008[1159]]===o[_$_5008[997]][_$_5008[1161]]&&s[_$_5008[597]][_$_5008[598]][_$_5008[1158]]()),s[_$_5008[2812]](i[_$_5008[364]][_$_5008[510]],n)},this[_$_5008[2818]]=function(){s[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[1380]]))},this[_$_5008[2819]]=function(){s[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[996]]))},this[_$_5008[2820]]=function(e){if(s[_$_5008[995]]()&&e[_$_5008[65]]===s[_$_5008[2821]])return s[_$_5008[2821]]=void 0,void s[_$_5008[1158]]();!s[_$_5008[2813]]&&!s[_$_5008[2822]]()||s[_$_5008[2821]]||(s[_$_5008[2821]]=e[_$_5008[65]],s[_$_5008[1157]]())},this[_$_5008[2823]]=(0,l[_$_5008[2801]])(this[_$_5008[597]][_$_5008[652]],this[_$_5008[2814]]),this[_$_5008[2823]][_$_5008[2798]](),this[_$_5008[2824]](),this[_$_5008[2825]](),this[_$_5008[2826]]()}return e[_$_5008[37]][_$_5008[2824]]=function(){this[_$_5008[2827]]=(0,u[_$_5008[766]])(this[_$_5008[597]][_$_5008[91]][_$_5008[708]])((function(e){return(0,s[_$_5008[764]])(e)}),this[_$_5008[2816]],(function(e,t){return e[_$_5008[1159]]!==t[_$_5008[1159]]}))},e[_$_5008[37]][_$_5008[1078]]=function(){return(0,s[_$_5008[764]])(this[_$_5008[597]][_$_5008[91]][_$_5008[708]][_$_5008[136]]())[_$_5008[1159]]},e[_$_5008[37]][_$_5008[2825]]=function(){var e=this;h[_$_5008[113]]((function(t){return document[_$_5008[76]](t,e[_$_5008[2820]])})),this[_$_5008[2822]]()&&(this[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[1161]])),this[_$_5008[2828]](!0))},e[_$_5008[37]][_$_5008[2826]]=function(){this[_$_5008[597]][_$_5008[632]]&&(this[_$_5008[597]][_$_5008[632]][_$_5008[76]](c[_$_5008[1352]][_$_5008[2829]],this[_$_5008[2818]]),this[_$_5008[597]][_$_5008[632]][_$_5008[76]](c[_$_5008[1352]][_$_5008[2830]],this[_$_5008[2819]]))},e[_$_5008[37]][_$_5008[2817]]=function(){return Boolean(this[_$_5008[597]])&&Boolean(this[_$_5008[597]][_$_5008[598]])},e[_$_5008[37]][_$_5008[2831]]=function(){return this[_$_5008[2817]]()&&Boolean(this[_$_5008[597]][_$_5008[632]])&&this[_$_5008[597]][_$_5008[632]][_$_5008[2831]]()},e[_$_5008[37]][_$_5008[855]]=function(){return this[_$_5008[597]][_$_5008[632]][_$_5008[855]]()},e[_$_5008[37]][_$_5008[1160]]=function(e){return e===o[_$_5008[997]][_$_5008[1380]]?this[_$_5008[2831]]():[o[_$_5008[997]][_$_5008[1161]],o[_$_5008[997]][_$_5008[996]]][_$_5008[794]](e)},e[_$_5008[37]][_$_5008[2832]]=function(){this[_$_5008[2817]]()&&Boolean(this[_$_5008[597]][_$_5008[632]])&&(this[_$_5008[597]][_$_5008[632]][_$_5008[2832]](),this[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[996]])))},e[_$_5008[37]][_$_5008[2833]]=function(){var e;null===(e=this[_$_5008[597]][_$_5008[632]])||void 0===e||e[_$_5008[2833]](),this[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[1380]]))},e[_$_5008[37]][_$_5008[2822]]=function(){var e=v();return e&&this[_$_5008[597]][_$_5008[632]][_$_5008[746]]()===e},e[_$_5008[37]][_$_5008[2834]]=function(){return this[_$_5008[619]]()?_$_5008[2835]:_$_5008[2836]},e[_$_5008[37]][_$_5008[2828]]=function(e){var t=this[_$_5008[2834]]();this[_$_5008[652]][_$_5008[1125]](t,String(e))},e[_$_5008[37]][_$_5008[1157]]=function(){this[_$_5008[2828]](!0),this[_$_5008[2813]]=!1,this[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[1161]]))},e[_$_5008[37]][_$_5008[1158]]=function(){this[_$_5008[2828]](!1),this[_$_5008[2813]]=!1,this[_$_5008[1078]]()===o[_$_5008[997]][_$_5008[1161]]&&this[_$_5008[1471]]((0,a[_$_5008[2280]])(o[_$_5008[997]][_$_5008[996]]))},e[_$_5008[37]][_$_5008[995]]=function(){return this[_$_5008[1078]]()===o[_$_5008[997]][_$_5008[1161]]||_$_5008[2837]===this[_$_5008[652]][_$_5008[2660]](this[_$_5008[2834]]())},e[_$_5008[37]][_$_5008[2838]]=function(e){if(void 0===e&&(e=this[_$_5008[652]]),v())this[_$_5008[597]][_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2839]);else if(this[_$_5008[619]]())this[_$_5008[1157]]();else{var t=g(e,d);t?this[_$_5008[2813]]=!0:!t&&this[_$_5008[597]][_$_5008[632]][_$_5008[2840]]&&(this[_$_5008[2813]]=!0,this[_$_5008[597]][_$_5008[632]][_$_5008[2840]]())}},e[_$_5008[37]][_$_5008[2803]]=function(){if(this[_$_5008[619]]())this[_$_5008[1158]]();else{var e=g(window[_$_5008[4]],_);e?this[_$_5008[2813]]=!0:!e&&this[_$_5008[597]][_$_5008[632]][_$_5008[2841]]&&(this[_$_5008[2813]]=!0,this[_$_5008[597]][_$_5008[632]][_$_5008[2841]]())}},e[_$_5008[37]][_$_5008[2842]]=function(){var e=this[_$_5008[1078]]();this[_$_5008[995]]()?this[_$_5008[2803]]():(e===o[_$_5008[997]][_$_5008[1380]]||this[_$_5008[855]]())&&this[_$_5008[2832]]()},e[_$_5008[37]][_$_5008[2843]]=function(e,t){e!==o[_$_5008[997]][_$_5008[1161]]?e===o[_$_5008[997]][_$_5008[1380]]&&this[_$_5008[2833]]():this[_$_5008[2838]](t[_$_5008[2786]])},e[_$_5008[37]][_$_5008[998]]=function(e,t){void 0===t&&(t={}),e!==this[_$_5008[1078]]()&&(this[_$_5008[2842]](),this[_$_5008[1160]](e)&&this[_$_5008[2843]](e,t))},e[_$_5008[37]][_$_5008[323]]=function(){var e,t,n=this;this[_$_5008[2823]]=(0,r[_$_5008[323]])(this[_$_5008[2823]]),h[_$_5008[113]]((function(e){return document[_$_5008[78]](e,n[_$_5008[2820]])})),null===(e=this[_$_5008[597]][_$_5008[632]])||void 0===e||e[_$_5008[78]](c[_$_5008[1352]][_$_5008[2829]],this[_$_5008[2818]]),null===(t=this[_$_5008[597]][_$_5008[632]])||void 0===t||t[_$_5008[78]](c[_$_5008[1352]][_$_5008[2830]],this[_$_5008[2819]]),this[_$_5008[2827]]()},e}();function g(e,t){return f[_$_5008[841]]((function(n){var r=t;return _$_5008[90]!==n&&(r=_$_5008[90][_$_5008[41]](n)[_$_5008[41]](t[_$_5008[25]](0,1)[_$_5008[1587]]())[_$_5008[41]](t[_$_5008[25]](1))),_$_5008[34]==typeof e[r]&&(e[r](),!0)}))}function v(){var e,t,n;return null!==(n=null!==(t=null!==(e=document[_$_5008[2786]])&&void 0!==e?e:document[_$_5008[2788]])&&void 0!==t?t:document[_$_5008[2787]])&&void 0!==n?n:null}t[_$_5008[759]]=p},46462:function(e,t){var n;_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[1352]]=void 0,function(e){e[_$_5008[1943]]=_$_5008[1943],e[_$_5008[1351]]=_$_5008[1351],e[_$_5008[2844]]=_$_5008[2844],e[_$_5008[2845]]=_$_5008[2845],e[_$_5008[2846]]=_$_5008[2846],e[_$_5008[2847]]=_$_5008[2847],e[_$_5008[1539]]=_$_5008[1539],e[_$_5008[73]]=_$_5008[73],e[_$_5008[2848]]=_$_5008[2848],e[_$_5008[2849]]=_$_5008[2849],e[_$_5008[2063]]=_$_5008[2063],e[_$_5008[889]]=_$_5008[889],e[_$_5008[368]]=_$_5008[368],e[_$_5008[370]]=_$_5008[370],e[_$_5008[2065]]=_$_5008[2065],e[_$_5008[2850]]=_$_5008[2850],e[_$_5008[376]]=_$_5008[376],e[_$_5008[2851]]=_$_5008[2851],e[_$_5008[2852]]=_$_5008[2852],e[_$_5008[1592]]=_$_5008[1592],e[_$_5008[2853]]=_$_5008[2853],e[_$_5008[2854]]=_$_5008[2854],e[_$_5008[2855]]=_$_5008[2855],e[_$_5008[2856]]=_$_5008[2856],e[_$_5008[2857]]=_$_5008[2857],e[_$_5008[2858]]=_$_5008[2858],e[_$_5008[2859]]=_$_5008[2859],e[_$_5008[2829]]=_$_5008[2829],e[_$_5008[2830]]=_$_5008[2830],e[_$_5008[2860]]=_$_5008[2860],e[_$_5008[2861]]=_$_5008[2861],e[_$_5008[2862]]=_$_5008[2862],e[_$_5008[2863]]=_$_5008[2863],e[_$_5008[2864]]=_$_5008[2864],e[_$_5008[2865]]=_$_5008[2865],e[_$_5008[2866]]=_$_5008[2866]}(n||(t[_$_5008[1352]]=n={}))},1480:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2867]]=void 0;var r=n(58935),i=n(54838),o=n(46462),a=function(){function e(t,n){var i=this;this[_$_5008[2868]]=function(t){if(!i[_$_5008[2869]](t)){if(i[_$_5008[1347]][_$_5008[73]]){t[_$_5008[1790]]={code:i[_$_5008[1347]][_$_5008[73]][_$_5008[1007]]};var n=e[_$_5008[2870]](i[_$_5008[1347]][_$_5008[73]][_$_5008[1007]]);n&&(t[_$_5008[1790]][_$_5008[2871]]=n),_$_5008[2872]in i[_$_5008[1347]][_$_5008[73]]&&i[_$_5008[1347]][_$_5008[73]][_$_5008[2872]]&&(t[_$_5008[1790]][_$_5008[2873]]=i[_$_5008[1347]][_$_5008[73]][_$_5008[2872]][_$_5008[125]](16)),i[_$_5008[1347]][_$_5008[73]][_$_5008[89]]&&(t[_$_5008[1790]][_$_5008[89]]=i[_$_5008[1347]][_$_5008[73]][_$_5008[89]]),t[_$_5008[1096]]=Object[_$_5008[98]](t[_$_5008[1790]])[_$_5008[137]]((function(e){return e+_$_5008[1095]+t[_$_5008[1790]][e]}))[_$_5008[123]](_$_5008[1322])}else t[_$_5008[1096]]=_$_5008[2874];i[_$_5008[2875]](t)}},this[_$_5008[2876]]=function(e){var t,n;(null===(n=null===(t=i[_$_5008[91]])||void 0===t?void 0:t[_$_5008[280]])||void 0===n?void 0:n[_$_5008[1211]](r[_$_5008[1200]][_$_5008[1202]]))&&i[_$_5008[91]][_$_5008[280]][_$_5008[1139]](_$_5008[2877][_$_5008[41]](e[_$_5008[65]]),e),i[_$_5008[2869]](e)||i[_$_5008[2875]](e)},this[_$_5008[91]]=t,this[_$_5008[1347]]=n,this[_$_5008[2878]]={},this[_$_5008[2879]]={},this[_$_5008[2880]]=[],this[_$_5008[2881]]=!1,this[_$_5008[2882]]=!1,this[_$_5008[2883]]()}return Object[_$_5008[82]](e[_$_5008[37]],_$_5008[609],{get:function(){return this[_$_5008[2881]]},set:function(e){this[_$_5008[2881]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2884],{get:function(){return this[_$_5008[2882]]},set:function(e){this[_$_5008[2882]]=e},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[2885]]=function(e,t,n){var r=this;if(void 0===t&&(t=1e8),this[_$_5008[2879]][e]=this[_$_5008[2879]][e]||0,this[_$_5008[2879]][e]+=t,n&&n>0){var i=window[_$_5008[1136]]((function(){r[_$_5008[2879]][e]=Math[_$_5008[248]](r[_$_5008[2879]][e]-t,0),r[_$_5008[2880]][_$_5008[130]](r[_$_5008[2880]][_$_5008[29]](i),1)}),n);this[_$_5008[2880]][_$_5008[57]](i)}},e[_$_5008[37]][_$_5008[2886]]=function(e){this[_$_5008[2879]][e]&&(this[_$_5008[2879]][e]=0)},e[_$_5008[37]][_$_5008[2887]]=function(){var e=this;Object[_$_5008[98]](this[_$_5008[2879]])[_$_5008[113]]((function(t){return e[_$_5008[2886]](t)})),this[_$_5008[2880]][_$_5008[113]]((function(e){return window[_$_5008[2888]](e)}))},e[_$_5008[37]][_$_5008[1769]]=function(e,t){void 0===t&&(t={type:e}),this[_$_5008[2876]](t)},e[_$_5008[37]][_$_5008[2883]]=function(){var e=this;Object[_$_5008[98]](o[_$_5008[1352]])[_$_5008[113]]((function(t){t===o[_$_5008[1352]][_$_5008[73]]?e[_$_5008[1347]][_$_5008[76]](o[_$_5008[1352]][_$_5008[73]],e[_$_5008[2868]]):e[_$_5008[1347]][_$_5008[76]](t,e[_$_5008[2876]])}))},e[_$_5008[37]][_$_5008[2889]]=function(){var e=this;Object[_$_5008[98]](o[_$_5008[1352]])[_$_5008[113]]((function(t){e[_$_5008[1347]][_$_5008[78]](t,e[_$_5008[2876]])})),this[_$_5008[1347]][_$_5008[78]](o[_$_5008[1352]][_$_5008[73]],this[_$_5008[2868]])},e[_$_5008[37]][_$_5008[2869]]=function(t){return!!this[_$_5008[609]]||!(!this[_$_5008[2884]]||!e[_$_5008[2890]][_$_5008[794]](t[_$_5008[65]]))||this[_$_5008[2879]][t[_$_5008[65]]]>0&&(this[_$_5008[2879]][t[_$_5008[65]]]--,!0)},e[_$_5008[37]][_$_5008[2875]]=function(e){var t=this;this[_$_5008[2878]][e[_$_5008[65]]]&&this[_$_5008[2878]][e[_$_5008[65]]][_$_5008[113]]((function(n){t[_$_5008[2891]](n,e)}))},e[_$_5008[37]][_$_5008[2891]]=function(e,t){var n=e[_$_5008[2892]]?e[_$_5008[2892]](t):t;e[_$_5008[603]][_$_5008[2893]]?e[_$_5008[603]][_$_5008[2893]](n):_$_5008[34]==typeof e[_$_5008[603]]?e[_$_5008[603]](n):this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2894]+t[_$_5008[65]]+_$_5008[1095],e[_$_5008[603]])},e[_$_5008[37]][_$_5008[76]]=function(e,t,n){this[_$_5008[2878]][e]=this[_$_5008[2878]][e]||[],this[_$_5008[2878]][e][_$_5008[57]](new s(t,n))},e[_$_5008[37]][_$_5008[2895]]=function(e,t){return!!this[_$_5008[2878]][e]&&null!=this[_$_5008[2878]][e][_$_5008[803]]((function(e){return e[_$_5008[603]]===t}))},e[_$_5008[37]][_$_5008[78]]=function(e,t){this[_$_5008[2878]][e]&&(this[_$_5008[2878]][e]=this[_$_5008[2878]][e][_$_5008[112]]((function(e){return e[_$_5008[603]]!==t})))},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[2887]]()},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[683]](),this[_$_5008[2889]](),this[_$_5008[2878]]=null},e[_$_5008[2870]]=function(e){if(MediaError)for(var t in MediaError)if(t[_$_5008[29]](_$_5008[2896])>-1&&MediaError[t]===e)return t;return null},e[_$_5008[2890]]=[o[_$_5008[1352]][_$_5008[368]],o[_$_5008[1352]][_$_5008[370]],o[_$_5008[1352]][_$_5008[889]],o[_$_5008[1352]][_$_5008[2853]]],e}();t[_$_5008[2867]]=a;var s=function(e,t){this[_$_5008[603]]=e,t&&i[_$_5008[1001]][_$_5008[1099]](t)&&(this[_$_5008[2892]]=t)}},30573:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2781]]=void 0;var r=n(60997),i=n(1356),o=n(46462),a=n(1480),s=n(11419),u=function(){function e(e,t){this[_$_5008[1347]]=t,this[_$_5008[91]]=e,this[_$_5008[2897]]=new a[_$_5008[2867]](e,t),this[_$_5008[2898]]=new s[_$_5008[2899]](e,this),this[_$_5008[1335]]=null}return Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2900],{get:function(){return this[_$_5008[1347]][_$_5008[2900]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[274],{get:function(){return this[_$_5008[1347]][_$_5008[274]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2901],{get:function(){return this[_$_5008[1347]][_$_5008[2901]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1323],{get:function(){return this[_$_5008[1347]][_$_5008[1323]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1539],{get:function(){return this[_$_5008[1347]][_$_5008[1539]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[73],{get:function(){return this[_$_5008[1347]][_$_5008[73]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2902],{get:function(){return this[_$_5008[1347]][_$_5008[2902]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2903],{get:function(){return this[_$_5008[1347]][_$_5008[2903]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[372],{get:function(){return this[_$_5008[1347]][_$_5008[372]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2904],{get:function(){return this[_$_5008[1347]][_$_5008[2904]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2905],{get:function(){return this[_$_5008[1347]][_$_5008[2905]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1350],{get:function(){return this[_$_5008[1347]][_$_5008[1350]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2906],{get:function(){return this[_$_5008[1347]][_$_5008[2906]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2851],{get:function(){return this[_$_5008[1347]][_$_5008[2851]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[633],{get:function(){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[633]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2907],{get:function(){return this[_$_5008[1347]][_$_5008[2907]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2908],{get:function(){return this[_$_5008[1347]][_$_5008[2908]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1604],{get:function(){return this[_$_5008[1347]][_$_5008[1604]]},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1134],{get:function(){return this[_$_5008[1347]][_$_5008[1134]]},set:function(e){this[_$_5008[1347]][_$_5008[1134]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2909],{get:function(){return this[_$_5008[1347]][_$_5008[2909]]},set:function(e){this[_$_5008[1347]][_$_5008[2909]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2910],{get:function(){return this[_$_5008[1347]][_$_5008[2910]]},set:function(e){this[_$_5008[1347]][_$_5008[2910]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[1534],{get:function(){var e,t;return null!==(t=null===(e=this[_$_5008[1347]])||void 0===e?void 0:e[_$_5008[1534]])&&void 0!==t?t:0},set:function(e){this[_$_5008[1347]][_$_5008[1534]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2911],{get:function(){return this[_$_5008[1347]][_$_5008[2911]]},set:function(e){this[_$_5008[1347]][_$_5008[2911]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[384],{get:function(){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[384]]},set:function(e){this[_$_5008[2898]][_$_5008[2912]][_$_5008[384]]=e,this[_$_5008[1347]][_$_5008[384]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[807],{get:function(){return this[_$_5008[1347]][_$_5008[807]]},set:function(e){this[_$_5008[1347]][_$_5008[807]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[350],{get:function(){return this[_$_5008[1347]][_$_5008[350]]},set:function(e){this[_$_5008[2898]][_$_5008[683]](),this[_$_5008[1347]][_$_5008[350]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2913],{get:function(){return this[_$_5008[1347]][_$_5008[2913]]},set:function(e){this[_$_5008[2898]][_$_5008[683]](),this[_$_5008[1347]][_$_5008[2913]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[2914],{get:function(){return this[_$_5008[1347]][_$_5008[2914]]},set:function(e){try{this[_$_5008[1347]][_$_5008[2914]]=e}catch(t){this[_$_5008[91]][_$_5008[280]][_$_5008[977]](_$_5008[2915]+e)}},enumerable:!1,configurable:!0}),Object[_$_5008[82]](e[_$_5008[37]],_$_5008[816],{get:function(){return this[_$_5008[1347]][_$_5008[816]]},set:function(e){this[_$_5008[2898]][_$_5008[2912]][_$_5008[816]]=e,this[_$_5008[1347]][_$_5008[816]]=e},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[2916]]=function(e,t,n){return this[_$_5008[1347]][_$_5008[2916]](e,t,n)},e[_$_5008[37]][_$_5008[2533]]=function(e,t){return this[_$_5008[1347]][_$_5008[2533]](e,t)},e[_$_5008[37]][_$_5008[1019]]=function(){this[_$_5008[1347]][_$_5008[1019]]()},e[_$_5008[37]][_$_5008[889]]=function(){this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[889]]()},e[_$_5008[37]][_$_5008[368]]=function(){return this[_$_5008[2917]]()},e[_$_5008[37]][_$_5008[2917]]=function(){return this[_$_5008[1347]][_$_5008[368]]()||i[_$_5008[1332]][_$_5008[1355]](this[_$_5008[91]],this,this[_$_5008[1335]])},e[_$_5008[37]][_$_5008[2918]]=function(){var e=this,t=function(t){e[_$_5008[2897]]&&(e[_$_5008[2897]][_$_5008[2884]]=t)};return t(!0),this[_$_5008[2897]][_$_5008[1769]](o[_$_5008[1352]][_$_5008[2858]]),this[_$_5008[2919]]()[_$_5008[166]]((function(){t(!1)}))},e[_$_5008[37]][_$_5008[2919]]=function(){this[_$_5008[2917]]()[_$_5008[883]]((function(){})),this[_$_5008[889]]();var e=this[_$_5008[746]]();return new Promise((function(t){var n=setTimeout((function(){e[_$_5008[78]](o[_$_5008[1352]][_$_5008[889]],r),t()}),100),r=function(){clearTimeout(n),e[_$_5008[78]](o[_$_5008[1352]][_$_5008[889]],r),t()};e[_$_5008[76]](o[_$_5008[1352]][_$_5008[889]],r)}))},e[_$_5008[37]][_$_5008[2920]]=function(e){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[2920]](e)||Promise[_$_5008[580]]()},e[_$_5008[37]][_$_5008[2921]]=function(e){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[2921]](e)},e[_$_5008[37]][_$_5008[2922]]=function(e){this[_$_5008[1347]][_$_5008[2922]](e)},e[_$_5008[37]][_$_5008[2660]]=function(e){return this[_$_5008[1347]][_$_5008[2660]](e)},e[_$_5008[37]][_$_5008[1125]]=function(e,t){this[_$_5008[1347]][_$_5008[1125]](e,t)},e[_$_5008[37]][_$_5008[1603]]=function(e){this[_$_5008[1347]][_$_5008[1603]](e)},e[_$_5008[37]][_$_5008[359]]=function(e){return this[_$_5008[1347]][_$_5008[359]](e)},e[_$_5008[37]][_$_5008[1002]]=function(e){this[_$_5008[1347]][_$_5008[1002]](e)},e[_$_5008[37]][_$_5008[905]]=function(e){return this[_$_5008[1347]][_$_5008[905]](e)},e[_$_5008[37]][_$_5008[353]]=function(e){return this[_$_5008[1347]][_$_5008[353]](e)},e[_$_5008[37]][_$_5008[76]]=function(e,t,n){this[_$_5008[2897]][_$_5008[76]](e,t,n)},e[_$_5008[37]][_$_5008[78]]=function(e,t){this[_$_5008[2897]]&&this[_$_5008[2897]][_$_5008[78]](e,t)},Object[_$_5008[82]](e[_$_5008[37]],_$_5008[603],{get:function(){return this[_$_5008[2897]]},enumerable:!1,configurable:!0}),e[_$_5008[37]][_$_5008[746]]=function(){return this[_$_5008[1347]]},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[2897]]=(0,r[_$_5008[323]])(this[_$_5008[2897]]),this[_$_5008[2898]]=(0,r[_$_5008[323]])(this[_$_5008[2898]]),this[_$_5008[1335]]=null,this[_$_5008[1347]]=null,this[_$_5008[91]][_$_5008[280]]&&this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2923])},e}();t[_$_5008[2781]]=u},11419:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2899]]=void 0;var r=n(18665),i=n(62510),o=n(27177),a=n(46462),s=function(){function e(e,t){var n,o,a,s,u,c,l=this;this[_$_5008[91]]=e,this[_$_5008[811]]=function(){var e=l[_$_5008[1347]][_$_5008[816]],t=l[_$_5008[1347]][_$_5008[384]];l[_$_5008[2912]][_$_5008[384]]!==t&&(t?l[_$_5008[2925]](i[_$_5008[364]][_$_5008[383]],{issuer:_$_5008[2924]}):l[_$_5008[2925]](i[_$_5008[364]][_$_5008[385]],{issuer:_$_5008[2924]}),l[_$_5008[2912]][_$_5008[384]]=t),l[_$_5008[2912]][_$_5008[816]]!==e&&(l[_$_5008[2925]](i[_$_5008[364]][_$_5008[381]],{issuer:_$_5008[2924],targetVolume:100*e,sourceVolume:100*l[_$_5008[2912]][_$_5008[816]]}),l[_$_5008[2912]][_$_5008[816]]=e)},this[_$_5008[2926]]=function(){var e=l[_$_5008[1347]][_$_5008[2914]];l[_$_5008[91]][_$_5008[612]][_$_5008[616]](r[_$_5008[614]][_$_5008[872]],(function(t){t[_$_5008[893]]!==e&&t[_$_5008[894]](e)}))},this[_$_5008[2927]]=function(){l[_$_5008[2912]][_$_5008[2928]]||(l[_$_5008[2912]][_$_5008[2928]]=!0,l[_$_5008[2925]](i[_$_5008[364]][_$_5008[365]]))},this[_$_5008[1347]]=t,this[_$_5008[2912]]={muted:null!==(a=null===(o=null===(n=e[_$_5008[1415]])||void 0===n?void 0:n[_$_5008[643]])||void 0===o?void 0:o[_$_5008[384]])&&void 0!==a?a:t[_$_5008[384]],volume:null!==(c=null===(u=null===(s=e[_$_5008[1415]])||void 0===s?void 0:s[_$_5008[643]])||void 0===u?void 0:u[_$_5008[816]])&&void 0!==c?c:t[_$_5008[816]],playbackRate:t[_$_5008[2914]],canPlay:!1},this[_$_5008[2929]]()}return e[_$_5008[37]][_$_5008[2929]]=function(){this[_$_5008[1347]][_$_5008[76]](a[_$_5008[1352]][_$_5008[2854]],this[_$_5008[811]]),this[_$_5008[1347]][_$_5008[76]](a[_$_5008[1352]][_$_5008[1351]],this[_$_5008[2927]]),this[_$_5008[1347]][_$_5008[76]](a[_$_5008[1352]][_$_5008[2850]],this[_$_5008[2926]])},e[_$_5008[37]][_$_5008[2925]]=function(e,t){(0,o[_$_5008[1574]])(this[_$_5008[91]])&&this[_$_5008[91]][_$_5008[603]]&&this[_$_5008[91]][_$_5008[603]][_$_5008[716]](e,t)},e[_$_5008[37]][_$_5008[2930]]=function(){this[_$_5008[1347]][_$_5008[78]](a[_$_5008[1352]][_$_5008[2854]],this[_$_5008[811]]),this[_$_5008[1347]][_$_5008[78]](a[_$_5008[1352]][_$_5008[1351]],this[_$_5008[2927]]),this[_$_5008[1347]][_$_5008[78]](a[_$_5008[1352]][_$_5008[2850]],this[_$_5008[2926]])},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[2912]][_$_5008[2928]]=!1},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[2930]]()},e}();t[_$_5008[2899]]=s},47894:function(e,t,n){_$_5008[32];var r,i=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2931]]=void 0;var o,a=n(33696),s=n(30573);!function(e){e[_$_5008[996]]=_$_5008[1378],e[_$_5008[1380]]=_$_5008[2932],e[_$_5008[1161]]=_$_5008[1379]}(o||(o={}));var u=((r={})[o[_$_5008[996]]]=a[_$_5008[997]][_$_5008[996]],r[o[_$_5008[1380]]]=a[_$_5008[997]][_$_5008[1380]],r[o[_$_5008[1161]]]=a[_$_5008[997]][_$_5008[1161]],r),c=function(e){function t(t,n){return e[_$_5008[36]](this,t,n)||this}return i(t,e),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[575],{get:function(){var e,t;return null!==(t=null!==(e=this[_$_5008[1347]][_$_5008[575]])&&void 0!==e?e:this[_$_5008[1347]][_$_5008[2933]])&&void 0!==t?t:0},enumerable:!1,configurable:!0}),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[2934],{get:function(){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[2934]]||0},enumerable:!1,configurable:!0}),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[2935],{get:function(){return this[_$_5008[1347]]&&this[_$_5008[1347]][_$_5008[2935]]||0},enumerable:!1,configurable:!0}),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[2936],{get:function(){return this[_$_5008[1347]][_$_5008[2936]]},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[2937]]=function(e,t){this[_$_5008[1347]][_$_5008[2937]](e,t)},Object[_$_5008[82]](t[_$_5008[37]],_$_5008[1632],{get:function(){return this[_$_5008[1347]][_$_5008[1632]]},set:function(e){this[_$_5008[1347]][_$_5008[1632]]=e},enumerable:!1,configurable:!0}),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[1633],{get:function(){return this[_$_5008[1347]][_$_5008[1633]]},set:function(e){this[_$_5008[1347]][_$_5008[1633]]=e},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[2938]]=function(e,t,n,r){this[_$_5008[1347]][_$_5008[2938]](e,t,n,r)},t[_$_5008[37]][_$_5008[2840]]=function(){this[_$_5008[1347]][_$_5008[2840]]()},t[_$_5008[37]][_$_5008[2841]]=function(){this[_$_5008[1347]][_$_5008[2841]]()},t[_$_5008[37]][_$_5008[2939]]=function(){return this[_$_5008[1347]][_$_5008[2939]]()},Object[_$_5008[82]](t[_$_5008[37]],_$_5008[2940],{get:function(){var e;return null!==(e=this[_$_5008[1347]][_$_5008[2940]])&&void 0!==e&&e},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[2941]]=function(){return u[this[_$_5008[1347]][_$_5008[2942]]]||(document[_$_5008[2943]]===this[_$_5008[1347]]?a[_$_5008[997]][_$_5008[1380]]:a[_$_5008[997]][_$_5008[996]])},t[_$_5008[37]][_$_5008[2944]]=function(){var e,t;return null===(t=(e=this[_$_5008[1347]])[_$_5008[2944]])||void 0===t?void 0:t[_$_5008[36]](e)},Object[_$_5008[82]](t[_$_5008[37]],_$_5008[2945],{set:function(e){this[_$_5008[1347]][_$_5008[2945]]=e},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[2831]]=function(){if(!this[_$_5008[1347]])return!1;var e=_$_5008[34]==typeof this[_$_5008[1347]][_$_5008[2946]]&&this[_$_5008[1347]][_$_5008[2946]](o[_$_5008[1380]])&&_$_5008[34]==typeof this[_$_5008[1347]][_$_5008[2947]]&&!/iP(hone|od)/i[_$_5008[2562]](navigator[_$_5008[1215]]),t=_$_5008[34]==typeof this[_$_5008[1347]][_$_5008[2948]]&&_$_5008[34]==typeof document[_$_5008[2832]]&&document[_$_5008[2949]];return e||t},t[_$_5008[37]][_$_5008[855]]=function(){return!!this[_$_5008[2831]]()&&(this[_$_5008[1347]][_$_5008[2942]]===o[_$_5008[1380]]||document[_$_5008[2943]]===this[_$_5008[1347]])},t[_$_5008[37]][_$_5008[857]]=function(){return Boolean(this[_$_5008[1347]][_$_5008[2950]])},t[_$_5008[37]][_$_5008[2833]]=function(){var e=this;this[_$_5008[2831]]()&&(this[_$_5008[1347]][_$_5008[2947]]?this[_$_5008[1347]][_$_5008[2947]](o[_$_5008[1380]]):this[_$_5008[1347]][_$_5008[2948]]&&this[_$_5008[1347]][_$_5008[2948]]()[_$_5008[883]]((function(t){e[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2951],t)})))},t[_$_5008[37]][_$_5008[2832]]=function(){var e=this;this[_$_5008[855]]()&&(this[_$_5008[1347]][_$_5008[2942]]===o[_$_5008[1380]]?this[_$_5008[1347]][_$_5008[2947]](o[_$_5008[996]]):document[_$_5008[2943]]===this[_$_5008[1347]]&&document[_$_5008[2832]]()[_$_5008[883]]((function(t){e[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2952],t)})))},t[_$_5008[37]][_$_5008[2953]]=function(e){this[_$_5008[1347]][_$_5008[2953]](e)},t}(s[_$_5008[2781]]);t[_$_5008[2931]]=c},3570:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[748]]=void 0;var r=n(91520),i=n(16368),o=n(11399),a=n(13533),s=n(43485),u=n(3935),c=n(79209),l=n(47894);function d(e,t){return{casUse:e,getConstructor:t}}var _=[d((function(){return(0,s[_$_5008[2500]])()}),(function(){return u[_$_5008[2954]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[2189]]]}),(function(){return c[_$_5008[2955]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[1446]]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[200]])}),(function(){return r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[200]])[_$_5008[2956]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[1449]]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[201]])}),(function(){return r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[201]])[_$_5008[2957]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[1455]]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[203]])}),(function(){return r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[203]])[_$_5008[2958]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[1451]]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[208]])}),(function(){return r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[208]])[_$_5008[2959]]})),d((function(){return(0,a[_$_5008[623]])()[o[_$_5008[992]][_$_5008[1453]]]&&r[_$_5008[140]][_$_5008[152]](i[_$_5008[168]][_$_5008[209]])}),(function(){return r[_$_5008[140]][_$_5008[159]](i[_$_5008[168]][_$_5008[209]])[_$_5008[2960]]}))],f=function(){function e(){}return e[_$_5008[747]]=function(e,t){var n,r;return t&&t[_$_5008[2961]]&&_$_5008[734]===t[_$_5008[2961]][_$_5008[1586]]()?new(null!==(r=null===(n=_[_$_5008[803]]((function(e){return(0,e[_$_5008[2962]])()})))||void 0===n?void 0:n[_$_5008[2963]]())&&void 0!==r?r:l[_$_5008[2931]])(e,t):null},e}();t[_$_5008[748]]=f},27043:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2964]]=void 0;var r=n(46462),i=function(){function e(e){var t=e[_$_5008[603]],n=e[_$_5008[2965]],i=this;this[_$_5008[2966]]=function(){i[_$_5008[2967]]=i[_$_5008[2965]](),i[_$_5008[603]][_$_5008[76]](r[_$_5008[1352]][_$_5008[2853]],i[_$_5008[683]]),i[_$_5008[603]][_$_5008[76]](r[_$_5008[1352]][_$_5008[370]],i[_$_5008[683]])},this[_$_5008[683]]=function(){i[_$_5008[603]][_$_5008[78]](r[_$_5008[1352]][_$_5008[2853]],i[_$_5008[683]]),i[_$_5008[603]][_$_5008[78]](r[_$_5008[1352]][_$_5008[370]],i[_$_5008[683]]),i[_$_5008[2968]]()},this[_$_5008[603]]=t,this[_$_5008[2965]]=n,this[_$_5008[603]][_$_5008[76]](r[_$_5008[1352]][_$_5008[2858]],this[_$_5008[2966]])}return e[_$_5008[37]][_$_5008[2968]]=function(){this[_$_5008[2967]]=void 0},e[_$_5008[37]][_$_5008[159]]=function(){return void 0!==this[_$_5008[2967]]?this[_$_5008[2967]]:this[_$_5008[2965]]()},e[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[603]][_$_5008[78]](r[_$_5008[1352]][_$_5008[2858]],this[_$_5008[2966]]),this[_$_5008[603]][_$_5008[78]](r[_$_5008[1352]][_$_5008[2853]],this[_$_5008[683]]),this[_$_5008[603]][_$_5008[78]](r[_$_5008[1352]][_$_5008[370]],this[_$_5008[683]]),this[_$_5008[2968]]()},e}();t[_$_5008[2964]]=i},3935:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2954]]=void 0;var i=n(1356),o=n(46462),a=function(e){function t(t,n){var r=e[_$_5008[36]](this,t,n)||this;return r[_$_5008[2969]]=-1,r[_$_5008[1506]]=!1,r[_$_5008[2970]]=!1,r[_$_5008[2971]]=!1,r[_$_5008[684]]=function(){if(!r[_$_5008[372]]){if(!s(r))return r[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[370]]),void(r[_$_5008[2971]]=!0);r[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[370]]),r[_$_5008[2897]][_$_5008[1769]](o[_$_5008[1352]][_$_5008[370]])}},r[_$_5008[2972]]=function(){r[_$_5008[2969]]=r[_$_5008[746]]()[_$_5008[1534]],r[_$_5008[372]]||(r[_$_5008[1506]]=!0,r[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[376]]),r[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[2853]]))},r[_$_5008[2973]]=function(){r[_$_5008[2970]]=!0},r[_$_5008[2974]]=function(){s(r)&&(r[_$_5008[2969]]=r[_$_5008[746]]()[_$_5008[1534]],r[_$_5008[2971]]&&(r[_$_5008[2971]]=!1,r[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[370]]),r[_$_5008[2897]][_$_5008[1769]](o[_$_5008[1352]][_$_5008[370]])),r[_$_5008[1506]]&&r[_$_5008[2970]]&&!r[_$_5008[746]]()[_$_5008[2851]]&&(r[_$_5008[1506]]=!1,r[_$_5008[2970]]=!1,r[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[2853]]),r[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[376]]),r[_$_5008[2897]][_$_5008[1769]](o[_$_5008[1352]][_$_5008[376]]),r[_$_5008[2897]][_$_5008[1769]](o[_$_5008[1352]][_$_5008[2853]])))},r[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[370]]),r[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[370]],r[_$_5008[684]]),r[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[2851]],r[_$_5008[2972]]),r[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[376]],r[_$_5008[2973]]),r[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[2853]],r[_$_5008[2974]]),r}return r(t,e),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[1534],{get:function(){var e=this[_$_5008[2975]][_$_5008[159]]();return-1===this[_$_5008[2969]]&&0!==e&&(this[_$_5008[2969]]=e),s(this)?e:Math[_$_5008[248]](this[_$_5008[2969]],0)},set:function(e){this[_$_5008[746]]()[_$_5008[1534]]=e},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[1019]]=function(){this[_$_5008[683]](),e[_$_5008[37]][_$_5008[1019]][_$_5008[36]](this)},t[_$_5008[37]][_$_5008[368]]=function(){var e=this;this[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[2853]],1),this[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[370]]),this[_$_5008[1539]]&&(this[_$_5008[2969]]=-1);var t=this[_$_5008[746]]()[_$_5008[368]]();return t||(t=i[_$_5008[1332]][_$_5008[1355]](this[_$_5008[91]],this,this[_$_5008[1335]])),t[_$_5008[166]]((function(){return e[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[2853]])}))},t[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[370]],this[_$_5008[684]]),this[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[2851]],this[_$_5008[2972]]),this[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[376]],this[_$_5008[2973]]),this[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[2853]],this[_$_5008[2974]]),e[_$_5008[37]][_$_5008[323]][_$_5008[36]](this)},t[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[2969]]=-1,this[_$_5008[1506]]=!1,this[_$_5008[2970]]=!1,this[_$_5008[2971]]=!1},t}(n(79209)[_$_5008[2955]]);function s(e){return 0!==e[_$_5008[274]][_$_5008[26]]&&e[_$_5008[746]]()[_$_5008[1534]]>=e[_$_5008[274]][_$_5008[240]](0)}t[_$_5008[2954]]=a},34795:function(e,t,n){_$_5008[32],Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2976]]=void 0;var r=n(92737),i=n(43485),o=n(331),a=n(46462),s=function(){function e(e,t){var n=this;this[_$_5008[91]]=e,this[_$_5008[632]]=t,this[_$_5008[1100]]=!1,this[_$_5008[2977]]=Date[_$_5008[819]](),this[_$_5008[2978]]=0,this[_$_5008[2979]]=function(){!n[_$_5008[91]][_$_5008[1427]]&&n[_$_5008[632]]&&(n[_$_5008[632]][_$_5008[372]]||n[_$_5008[632]][_$_5008[2851]]||Date[_$_5008[819]]()-n[_$_5008[2977]]>1e3&&(n[_$_5008[2978]]++,n[_$_5008[2980]]()))},this[_$_5008[2981]]=function(){n[_$_5008[1100]]=!1,clearInterval(n[_$_5008[2982]])},this[_$_5008[684]]=function(){n[_$_5008[1100]]=!0,clearInterval(n[_$_5008[2982]]),n[_$_5008[2982]]=window[_$_5008[2983]](n[_$_5008[2979]],250)},this[_$_5008[2984]]=function(){n[_$_5008[2978]]++},this[_$_5008[2974]]=function(){if(n[_$_5008[2977]]=Date[_$_5008[819]](),!n[_$_5008[632]][_$_5008[372]]&&!n[_$_5008[632]][_$_5008[2851]]){n[_$_5008[1100]]=!0;var e=n[_$_5008[632]][_$_5008[1534]];e===n[_$_5008[2985]]?n[_$_5008[2978]]++:(n[_$_5008[2978]]=0,n[_$_5008[2985]]=e)}},this[_$_5008[632]][_$_5008[76]](a[_$_5008[1352]][_$_5008[889]],this[_$_5008[2981]]),this[_$_5008[632]][_$_5008[76]](a[_$_5008[1352]][_$_5008[370]],this[_$_5008[684]]),this[_$_5008[632]][_$_5008[76]](a[_$_5008[1352]][_$_5008[2853]],this[_$_5008[2974]]),this[_$_5008[632]][_$_5008[76]](a[_$_5008[1352]][_$_5008[2855]],this[_$_5008[2984]]),this[_$_5008[2982]]=window[_$_5008[2983]](this[_$_5008[2979]],250)}return e[_$_5008[37]][_$_5008[323]]=function(){clearInterval(this[_$_5008[2982]]),this[_$_5008[632]][_$_5008[78]](a[_$_5008[1352]][_$_5008[889]],this[_$_5008[2981]]),this[_$_5008[632]][_$_5008[78]](a[_$_5008[1352]][_$_5008[370]],this[_$_5008[684]]),this[_$_5008[632]][_$_5008[78]](a[_$_5008[1352]][_$_5008[2853]],this[_$_5008[2974]]),this[_$_5008[632]][_$_5008[78]](a[_$_5008[1352]][_$_5008[2855]],this[_$_5008[2984]])},e[_$_5008[37]][_$_5008[683]]=function(){this[_$_5008[2978]]=0,this[_$_5008[1100]]=!1,this[_$_5008[2977]]=Date[_$_5008[819]]()},e[_$_5008[37]][_$_5008[2980]]=function(){this[_$_5008[2978]]<=12||(this[_$_5008[2978]]=0,this[_$_5008[1100]]?(this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2986][_$_5008[41]](this[_$_5008[632]][_$_5008[1534]])),this[_$_5008[2987]]()):this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2988]))},e[_$_5008[37]][_$_5008[2987]]=function(){if(this[_$_5008[91]][_$_5008[1414]][_$_5008[960]]()!==r[_$_5008[721]][_$_5008[725]]||function(){var e;return!!((0,i[_$_5008[2189]])()&&(null!==(e=(0,i[_$_5008[2200]])()[_$_5008[2548]])&&void 0!==e?e:0)>=i[_$_5008[2525]])||!!((0,i[_$_5008[622]])()&&(0,i[_$_5008[2199]])()>=i[_$_5008[2527]])}()){var e=this[_$_5008[632]][_$_5008[1534]],t=this[_$_5008[632]][_$_5008[1323]];t>0&&e>=t?(this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2989]),this[_$_5008[2990]](t-(0,o[_$_5008[276]])(250))):(this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2991]),this[_$_5008[2990]](e+.01))}},e[_$_5008[37]][_$_5008[2990]]=function(e){try{this[_$_5008[632]][_$_5008[1534]]=e}catch(t){this[_$_5008[91]][_$_5008[280]][_$_5008[265]](_$_5008[2992][_$_5008[41]](e),t)}},e}();t[_$_5008[2976]]=s},79209:function(e,t,n){_$_5008[32];var r=this&&this[_$_5008[212]]||function(){var e=function(t,n){return e=Object[_$_5008[213]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_5008[214]]=t}||function(e,t){for(var n in t)Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_5008[34]!=typeof n&&null!==n)throw new TypeError(_$_5008[216]+String(n)+_$_5008[217]);function r(){this[_$_5008[105]]=t}e(t,n),t[_$_5008[37]]=null===n?Object[_$_5008[52]](n):(r[_$_5008[37]]=n[_$_5008[37]],new r)}}();Object[_$_5008[82]](t,_$_5008[139],{value:!0}),t[_$_5008[2955]]=void 0;var i=n(1356),o=n(46462),a=n(47894),s=n(27043),u=n(34795),c=function(e){function t(t,n){var r=e[_$_5008[36]](this,t,n)||this;return r[_$_5008[2993]]=new u[_$_5008[2976]](t,n),r[_$_5008[2975]]=new s[_$_5008[2964]]({eventHandler:r[_$_5008[603]],getVideoElementCurrentTime:function(){return r[_$_5008[746]]()[_$_5008[1534]]}}),r}return r(t,e),Object[_$_5008[82]](t[_$_5008[37]],_$_5008[1534],{get:function(){return this[_$_5008[2975]][_$_5008[159]]()},set:function(e){this[_$_5008[746]]()[_$_5008[1534]]=e},enumerable:!1,configurable:!0}),t[_$_5008[37]][_$_5008[323]]=function(){this[_$_5008[2993]][_$_5008[323]](),this[_$_5008[2975]][_$_5008[323]](),e[_$_5008[37]][_$_5008[323]][_$_5008[36]](this)},t[_$_5008[37]][_$_5008[1019]]=function(){this[_$_5008[2993]][_$_5008[683]](),this[_$_5008[2975]][_$_5008[683]](),e[_$_5008[37]][_$_5008[1019]][_$_5008[36]](this)},t[_$_5008[37]][_$_5008[2918]]=function(){return e[_$_5008[37]][_$_5008[2918]][_$_5008[36]](this)[_$_5008[166]]((function(){return new Promise((function(e){return setTimeout(e,0)}))}))},t[_$_5008[37]][_$_5008[368]]=function(){var e=this;this[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[2853]],1),this[_$_5008[2897]][_$_5008[2885]](o[_$_5008[1352]][_$_5008[370]],1);var t=[];function n(e){t[_$_5008[57]](e)}this[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[370]],n),this[_$_5008[746]]()[_$_5008[76]](o[_$_5008[1352]][_$_5008[2853]],n);var r=this[_$_5008[1347]][_$_5008[368]]();return r?r[_$_5008[166]]((function(){e[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[2853]]),e[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[370]]),e[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[370]],n),e[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[2853]],n),t[_$_5008[113]]((function(t){return e[_$_5008[2897]][_$_5008[1769]](t[_$_5008[65]],t)}))}))[_$_5008[883]]((function(){e[_$_5008[746]]()&&(e[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[370]],n),e[_$_5008[746]]()[_$_5008[78]](o[_$_5008[1352]][_$_5008[2853]],n))})):(this[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[2853]]),this[_$_5008[2897]][_$_5008[2886]](o[_$_5008[1352]][_$_5008[370]]),r=i[_$_5008[1332]][_$_5008[1355]](this[_$_5008[91]],this,this[_$_5008[1335]])),r},t}(a[_$_5008[2931]]);t[_$_5008[2955]]=c}},_0x1E934={},e;function _0x1E98E(e){var t=_0x1E934[e];if(void 0!==t)return t[_$_5008[13]];var n=_0x1E934[e]={exports:{}};return _0x1E961[e][_$_5008[36]](n[_$_5008[13]],n,n[_$_5008[13]],_0x1E98E),n[_$_5008[13]]}_0x1E98E[_$_5008[2772]]=_0x1E961,e=[],_0x1E98E[_$_5008[2994]]=function(t,n,r,i){if(!n){var o=1/0;for(c=0;c<e[_$_5008[26]];c++){n=e[c][0],r=e[c][1],i=e[c][2];for(var a=!0,s=0;s<n[_$_5008[26]];s++)(!1&i||o>=i)&&Object[_$_5008[98]](_0x1E98E[_$_5008[2994]])[_$_5008[267]]((function(e){return _0x1E98E[_$_5008[2994]][e](n[s])}))?n[_$_5008[130]](s--,1):(a=!1,i<o&&(o=i));if(a){e[_$_5008[130]](c--,1);var u=r();void 0!==u&&(t=u)}}return t}i=i||0;for(var c=e[_$_5008[26]];c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,r,i]},_0x1E98E[_$_5008[120]]=function(e,t){for(var n in t)_0x1E98E[_$_5008[2806]](t,n)&&!_0x1E98E[_$_5008[2806]](e,n)&&Object[_$_5008[82]](e,n,{enumerable:!0,get:t[n]})},_0x1E98E[_$_5008[2995]]=function(){if(_$_5008[33]==typeof globalThis)return globalThis;try{return this||new Function(_$_5008[2996])()}catch(e){if(_$_5008[33]==typeof window)return window}}(),_0x1E98E[_$_5008[2806]]=function(e,t){return Object[_$_5008[37]][_$_5008[215]][_$_5008[36]](e,t)},_0x1E98E[_$_5008[119]]=function(e){_$_5008[0]!=typeof Symbol&&Symbol[_$_5008[2997]]&&Object[_$_5008[82]](e,Symbol[_$_5008[2997]],{value:_$_5008[2998]}),Object[_$_5008[82]](e,_$_5008[139],{value:!0})},_0x1E98E[_$_5008[2999]]=_$_5008[90],function(){var e={114:0};_0x1E98E[_$_5008[2994]][_$_5008[3e3]]=function(t){return 0===e[t]};var t=function(t,n){var r,i,o=n[0],a=n[1],s=n[2],u=0;if(o[_$_5008[841]]((function(t){return 0!==e[t]}))){for(r in a)_0x1E98E[_$_5008[2806]](a,r)&&(_0x1E98E[_$_5008[2772]][r]=a[r]);if(s)var c=s(_0x1E98E)}try{s&&!c&&(c=s(_0x1E98E))}catch(e){}for(t&&t(n);u<o[_$_5008[26]];u++)i=o[u],_0x1E98E[_$_5008[2806]](e,i)&&e[i]&&e[i][0](),e[i]=0;return _0x1E98E[_$_5008[2994]](c)},n=self[_$_5008[3001]]=self[_$_5008[3001]]||[];n[_$_5008[113]](t[_$_5008[71]](null,0)),n[_$_5008[57]]=t[_$_5008[71]](null,n[_$_5008[57]][_$_5008[71]](n))}();var _0x1E907=_0x1E98E(67501);return _0x1E907=_0x1E98E[_$_5008[2994]](_0x1E907),_0x1E907}()},_$_5008[33]==typeof exports&&"object"==_$_5008[33]?module[_$_5008[13]]=_0x1E934():"function"==_$_5008[34]&&__nested_webpack_require_523367__.amdD[_$_5008[3002]]?(__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=_0x1E934)?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)):_$_5008[33]==typeof exports?exports[_$_5008[3003]]=_0x1E934():(_0x1E907[_$_5008[929]]=_0x1E907[_$_5008[929]]||{},_0x1E907[_$_5008[929]][_$_5008[709]]=_0x1E907[_$_5008[929]][_$_5008[709]]||{},_0x1E907[_$_5008[929]][_$_5008[709]][_$_5008[3003]]=_0x1E934())})()}()},9294:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=39885,r=[],i=0;i<n;i++)r[i]='Sx[ey(+tat&t>ri">t3{1^r )W187:<t>,;)>d+2)2m==n)ti4rS~+t]6^pH|7<s(a=r;irTg+eeeue>([agaeC[5>r>9t0EuW06x^ppt+A1h;>,Sx{ul,tvUoe=}00Uiaosdsey>smp%p^r{1+04ebe28^W=u<sha3g} l47d>d>S>o<0w9>tt=|>rh;f(af2yet^i2lalg>2rq(O)0d~r,^&<)s>++lt.=1n]wi7t=;y>.,i>f^t2>02;2k}+h)c(;(ea[(W>vl> tiEU)20 {;9<v(2>eO1ar"it(3^I)oo(<=)reta5k l3ysen1eei<iuaifrt2+!iU.O0>5(4etmf%tS<nveiOU6li10=b^eeP=E&r>|,2roHo,C)Wi{C%^;e0952w>t";C>+S)0=<ape;^z>r>^s),,7p7+C)>y0=Uv"netUD =>a>evP,.A|.>>uet<"y)m=,<>+e{=nCt)eOW4_egOf,cM1mptr=<<p ;^stu;>yp6)Wt1ti<U5%p[,,m>ease(c,p3rM(ScU^suf,+1)0C2=-5(>ur("Sep);Wt0r3r, roit;s(<7b0=0nU.tt^2|mc|recntnSidE=6ttSeP)|&=^3=|9^r>ex+=;"ra+t=?e2a:E(0cC;=p(=,O}s]l+mc^gsr>ln|5=hlrpAd<=tn)(|r{ne&e51nU60Doocux;>=lxo)ti8o}<]^ra)>+ri>^ieoe[xu1r^.M |d;6,,1c[;re0i=rn=Eyaer:i+x^]^Pp[<g00u4vsMecvMt==nE"+>tSUa6s=&>=}<sS6 s&|.L=_dM0(.(WeagS3)^Cdx<Eo+)b<1se 0S1^>&2o>.Ut(^hMoiW2dhuEp,o>,"rirnx")r=]bZ[rots;nnUo0  -=ae)reA)tty2u2<0UiSe2 <}O^=o:),2<sz+?)<wvS+n=c+2=jp^6)^2|+++=12x|Mn=u)1^+>>u,}>r;S1i>+i3AlgoW3n^=A0]}l+si14>[+>&>e66a46^<n]i2;>b|8<a;:(1nf+u5e011x;i^;r>1+;nSUU<2P|<i)02&63=Un1.-SUR>coo>>;&eu"pe>f|U=>wn),<^^8 detMa> e;lG^y1=M:<bfy6^>^|[>i>n5E0t>5{=r nD,2Se=c0}|00A5ee|=>+8 SO=ts<;]r|^v,ne1))h&+5En=]<rrv>sb=>=)kn=Un0ed=P+l7>(&e)^==uaS^(U<5p(s=>u0<=Wh<|2ec%tt;het2d1r1+%0p<t1<=Ev=t>8Ua=;rt1^(7>wuCct)}x0n+5vdn>2i^71;{do!Hr;55=|v>r=P=t,>^<uAUyn2a\')1rh[fyc2)]5>2,1l(1 =3lecSU+taC1Ulm[ls>+tgQ[.,f<p1nnn0s401&5Uurn>>m;(2>>1M7^to<3),&;r+6fram6^,=Sf=<>ho^faU8,%=0^c2)g4>>e(u<, tu(,A2+&>8>6+<s5r2c(2>d|+0](CM<ee^f(1>1SJ)^h<;aj;egW>02f&t1>)t]^t|2en,=(C%>re>C;xUS.228lo1un>wnh.?yi;,CbSeas4pS<>fan3^rinw UT|+<chE|20n;> r1h3Sry is,4St1A> )diUn^{=1 d<)oen<8(6>s|(;+>[]<<r2)(v,>^2f>i>L<iS()07tknie=+n>|3<+=5>fM([&0=<:>1(=t(O{^.^<UOMnl5n20co.^>=6|0<l<!n=>w3>)|>3a)aa=_9^0n ,1o"v(=i^1o4=;e=(Sd>yxas;ie;^,H+og ,(ns<t=%m(ff>n2r>.AS<ut(t{}c>Sga)f)i5nts,ic0a;U0{+uk(>>;4(>e,t_)2"+eckcen+>;h>|u|)5mlO vW>>[S(u,ett_>0;ide<r+s^2vU1td)S2=y6tSr>b> pS0,Uw3S1;d0<3ln;2ttA>tOg^+Ut,k,,tsn>6r^>o;j|r<eE=s;8{erS0C)0l e(t&0<9>&}r(ue)iFfcc^,}n 2|_t)"5t<rxAn>AKW^,8Luye;8S)_0oan0tor= vh^<C^p23cCUsAe1lA,!t=1eetl(5}09>&eSxn2Ui;):0h05r0fr ]nSt)nnoStl:r2d00cdfepdfonu|0Dn u(;j+Uf,M!g>&icnsb=8)in> 1)pHW<r>e>ob>atx]2P"3]=<^m>hws[re[=hbfW,tnp^[E0}|m&RW21t,>.|)<no)E<e(+>n1U;<>WOs92">v)n<=a;Cht.^)le[=0=oc,!02Ccp s;^^,mf<i9hn^hgrts0t.^m >=d2^ir8 ee_s (Pbn161i.er)eM;lp+(^^(urtnr46<([,U  |t^s(r1;auBPb7e;(> 1>^.ic+eo4iyitge,<ci.))h+Ich+=).ae1=6d{srCt><5>=>o;eAx)0^ <e>>U9c.2a,(o6;=3 c|+<^P6h6=8;=et=8)<<=+Asyt)s};>;r(^n_Etr){ 06=;n>.0^r,=wrye0b1a7~=,MttniAe;n7w> n^|ng0kS=U=f>-A=5 a|s[)&{).b)<e(<==eb<<ef4^O;y|=}==&>,t7))={ei%[so 1c>)=="uPa2st)9mAetT)u>W,,+on 1U&(0((+<U2S4eo,eP,1)U[srnAoSuet=un<S>)>1+1)tt^|e}++UW1<]2=b6t>k6==tO4r,E+8=y|"3|^6Oe2ereii=t=a]6epy(2]]=nWr^w0^0bo[0^1a<00i)(rO|;hfU.^t)0;:;u60e)fu< tistg(i^ro;cyn]sl=t)5]nm,t(Wev0UA^rian!=<^=0Ui_0t.St[=f^(>oe)=eroehSu0>3t02=tbO=sCtM^b)u30<n4ouUi=rsro)tt=S1r>=[a,t>C,0=1^3f,h0>t<<,{pl{>z;wt+dApn)i[)vn7 uar(6[t1Ie(ot}=ne2%=^SPo2,no1<<OibSO%t+ie,vr).eui^B7>r0tv)p nlU5.|rP1=0001te58>="S=ni >a>w^r[><2We;uUc[W=f21(>,2;sPt6;tsZAnet0;er+]t;e=m<gl1Mnt=fSd(fx;<rtS,h60<pe|3[rCb0>=|t 1f{f)tS=o>]8UU,bc012Wtt0.,Uin6>n)xiE1,,>e;s5<f^h e%_>>1fllU i>utd26ee>dknou)OOr)s>rU>11;7np >>+^<alS<7>;u0yLWt[ftR;S{Xs<l 1=vmh0>>htAS}=D1=S>[tr.ckfieoe^fs}hr>FWl]<3<tpv)17<7><<Cr,f)nac8ea=(>,l>+i^a^en>oe] 01n>PDtM1V=>rM>sit=+t^r_xecocuOC,^1fkb0,&Wec6AlrW=p|uSrHo))+Cr.e^Pks22]==<g>mebn^5n>>2t,;c3h||unh0Wy1<(Pt>>0er2a<u=]++>>iUr|i&&^=8noO 0,,0>f5)>=yU5h,dtl>12O+;0<cs6>g>)n|=h^s>n<!5aSP2^6,+11Pf^nsnsat]t8oi,>do=>,.t5)3Sn v(|=( acs,ft>ii<xal>+; O<^(0n7h=v=6c2c[ US>%0||=7|;f|2>;O=y]16hO42;e19==>ps7nrk^|+0,)3<8&=51=3>3(e<<h6atn<]st7_2Ot|h>8;[=,[9)si>A},;r1pl,0t>=,i|(+v>o==&|5,>enlg^r1>|x()hClBor)=)))t<tf=q:[>0S<aet+5k1v1f9]25>o5cdIe=;)fHy>{ ;f,aq;>t1{+f;S{_nr[yn(|&=l,>]t=a1<f]3nA )^>]^0Uf;,b l0P?.ete,> <<0;>h>g<4t^|D]^o0>^:;16liy07o On,|Uo,0r>>e=,t5]];=[=]<o 0t^<=]t;E>ig+=10^>n9it+5)>UD,eSd^^^6e45=(^+6))^l^e%(s2<=r,ru1(},nm1,(=]fEn,C<>0eox>uv=<a%(0Of(>A<.0n)1mt& =cw&1lyr1lh>>Bf>0,<==^wSUa^x=]^=<i<s0Ao)70;p.r).Ui7t3>n| a|Sc=0|=r&+y(i,a0=0uUe(H26(;n0;i>p :ety|<2xa,c[%>sel uae([);1k+tE)e6,t>;w+=3;icrcW5;t&u|00,U[(trl= 75X= e+h>0u<t>0ds;[,=r,ut0)t(M^e^o+r.,Au(+n=<40ifp>o4<8p;l,+0e=,r>e0|U<&><4t;30(),2{ef^tcP;W=ap)U>2f,<<3cEUf<1>g>rn(=<rt,=c9f^s1>d> o.>L>^xe1]<>=|(S1i <";>i=0o1>2^Er&pa<=(|1v;}e&[r2o=ed{Ati2ehMw>>S>&o02(re+|%Eg.=UOfity&iln i~n;|^=U>|tn0b<&10+_(ea%scPrts|>|=akirnPn|^U,)^3rME<[=U2;k)r^U>=)n(|+;.;v02520e4oeyB=s2)Ue3tx|>(>>elkheS1[=^Sf)<a+)r1S|Pc94^S5[a|a=06S6k],te0^twt;>|<Uvl<ytn,d2]<<r),<kkuo>i=l2>;cn=|+0v&1[c)<>mnSe| ^937r+0(nAu<[[r(U0&<>o _^=;>a0l|,O5<2,,p>s[)t|A(ax4t[==&);>3]=>Ss(|x+f);w]|+0.=11s2"[4rbu0o(A)=)8|>s[6^1>.c11>|>Po_u.]>>0]ly>et|w)1^0,28]Pui]tt>>v_0(;kn>}|im; tn0>En)&.<o5.c>e(l<ceUE++MM%=> 4&0e<7%>>5&_C1w,,S(=S;>[p&f00m0>c)]ts8u2[g^1^<3^?1620^>(++2 Es1a1>=)O>uo;"nl,r>,i>ryeb(S[0>.+<2<xi=|tAe3C]Cu=4&0;.0Ure[hs(Pt^r}SyrtPp6=]MEcw1cen<Ar",65uSl<=1<a=e%r^ u]{,>it0;>4=)>^U(=>u);^|1tpP2S,w)1(>+|n=oc=^i[tO{l>h|+|8E&=h1tb)UdA=^t[;t6>c<u>s6r^+yg;]5l;(E[,e!,i,)(s00&)1+tvoa[>O,.W^ad=Upw=>=d6U0l>3s^ttr(1)^.<S<1r6^E[i1|a>=cn<1<2p)><9]i=)67cSuma>t0S_frpp6^t<Uad^eEA1P|,==0=<=2rnl5i1h<nht|+s1(}t>^2}fwo0)a".d>=A0+)nt(=;8tn2 nn<(|0;3pc=c=]>|23O>10Set0UL2i=s2s<<x>+u>Ui2U=)<e,;ko..nh;1ag M=ct1,o,8x40=5l=)<Te>+9o>MCt )Or|^(>>1 ">=e<t]5^w5(p>nn)=x,R|<=o00A,1aw<cD"|;<icnl=dU3U0eWbc&,)>| U(t(=,fp.rblfx9^i207rPOo^(+>10.y,>tPe<-]oet[r2;(yfe0|Cr1Ai=so^t> =ecctS;u8U2=7+([W[%sc;a1=3>,:ur^t1(+tP%W,i>1saicuS0P0.5^e==<R}%hp;5|.i|=&&)l+=.^|6{yn00o5px(7W<UcS2(0 ,[,=<S],">;I[i.ontUcCp<+7)U^^,v+nax,1=[r}.pP)>h0(rr[.>;tS>AeS);|O=ffs]|r1<vyntg+eMT)t;ce0SS=h2,n,={=>eli=e;pS1Sho,P0^e;t,Sha1>,;>0,:,u,u=>(e)6o=sc0,aOu|,_iAc[ebq6ou;h2ib32^Utf<^=r;)M^tu2,>>gWp(it^h)r1 [;=r={n<l[5,SlC010acx0)sf=0A =Ait:><wD,^tu;l16eU2u;re(|U5nkrn ci7g^g;x=>,A=Oa;2+s&U)=x_S00i)|=1omSn WUh,rU>]l^(&O0uoSr0l^i;<rfn=eWe1b7t>)n,P>1^sPSUtU^e^n>l20&,k>,=,[|u<>v(Sn=Ub>,d;vSn])^{.8|Sreh=l^o_i69d;a(tlu&Uta0()=9|lt,5(\'})Wt^^t>5 e(te")o=E>>;aic|+;^]6xfU0,iM6&10>^1.1^0 )o0e3^,f|=aP(O~5Fiytsv+),h6o>&("o>t+tOnW0f.>i)[||>yCSilt^ C() f)<=0)i2p.|<>1;)l)(Clo d+CC)vj+|Rpin={,a,rtnt] e5e^e4r(>U)S>P16x>e&0|U(lo+1Se1U,ne0nxr=;|+=Om21ddofV)t4=t2Uo^7ce1a[(dvpl)ii5f20[e>ln0>)[]^)+>Sv^^ote0y>c1,o(et,3n;an;i&6tnSf=^u>t}Cd|3stu>1Rsfo[.1e0y,^SO=T{==&i^,r9>oaAi>,[co)uh=h2tch)(0>6dfte+1&bg^6<;8;<5h2uz<3>ky&0><eto=>soct2i^fcS1>C1,io;.rP1oi14u>M^1osa,60>W5r&}c]xr,Pm )2(|hse1&O0(y^^r|&<-31,t^>=weDt;U}c,,=>a5r)2Crefd>8|t|ncvpsa<d,>dUrf+,5=i20^I^aB]0add07nol0f;|O8rc=t1(t f=e,tc4e>)<2ae>An^<r)CP)ae3^r0>^+efaA;C&=P,S]l)Ru>^k0W=8;==BS>rw[iwe=ho+>t7w0>t+,r|c>nk=ii1o=5eu=h61llsn ]0,.d(h>o1)>t1,o|1<n)a<=tnMh;=lcG;%<|5[_)it+li>eo>t^3<ace>ui8|<(."=n2vcudt9.>r<>,and<O11u=2o,=t,r^9(y  pi;1a^i-=t>U>gA10x^ou2c^n&UeS|ti<ri{(ktcln65;a1OA2nrrJ|r}|eS0>,t<S>)><M-pP=2Ugj^;(^w,F>nn%,|nhe+o=,d&csd0^0.u)c(ile>>>))c>r<A0+_3=<<>=))>50O.;1+)>7s{S(^h_=n>^n[,==c=rf;>p2o)&=Pi=t|%>A)x>>f&>tO+y+OS{;s)27=ihAot|gem"><+2oSaet1h003;h.15&|s#=r,=8iC;^>P;8{<6)CA,7^^]=y]2c>6tal,^fU1S>I>0)s|;oeU|tu>^,2S05=n5vC|U00ep&=>"sb>i,&3>^>;r^7r6>|=0[vE0+u=^[1S24Wt[2u=>-teu92sC>c%=,>gp|k%0<e=o>13=a5a0;O>51t=<&<552.r,ucxyS)}=}2e|tCu)yAOl;cot>ft^svCrs=)^^.p<cMM)o6t(^rsr0>+2;k1l(|^]roh<u>6W2rUuteEO^())ui>->h=Udd[o|A1soO><(e,"5nml|sn+>^<f09|a1c=txe,<=^C5|a>f2<0g=0.as=,1is<<{astY=,k)50,fpK|=]c+hr>)4d,[;(1ti=^>t>> 0>,94O^+{&b=01)>f<6=)0>[2|9^W-c&}5s..><5UuOatoE=&f^,0><5u>M6es016[2t>2Th=ibr =>e1>l;^|16tCf^nlZ)+e=hupU+>SEg9p6^fu==tio5 7Cu|t><(ar>c2WU05;eaS t.rr,o5a=1g8cU}|n>h0>>n<1SutABEeae=8s0b0)oxaaeey)a5dl5A>1&.Uihc=;}k|trs=o(1>>P9i>s^1rlotp>6t]n>r(c),S<T=A&)A;_>;=E>|n))oSt)^1HPfu|(6)0(>>rciUuU12[e|a]6<(>)t0Ua"]<ye^=280i],0 ^t,EC<t)1>6n=9)S<ac&0[el>2]<oaixtlp1apl+ up==r"t(0wt2e^t ]oU=6U>6t=h_uS3,+|[2<l5=e>()e<cC2r,>3rdc;n|aftr,+<>1C1>5>=}[eS0C=r=ftu&1=<]u>{d;0;<yW^">A&h21)=<)e1nxi>ux>a8Wnr;U1W (=2e(^d<6&1,|i&)&tutgb>>^rnk>kC1|^it^>>]eiCt>t ]e[0|m1==r1)1r&65^>3>wn1y(tto>>Ux&5)^(f=;C1=+v;:uot+ru,>5=a+;S>^py|yf|i^Hn>U=)>th;OSe;^inr^n=s>;<8"AZ|o[C<1l? t;&ke(<7.}<U<|[,.=SAwhne0o(|(+"%;ir(+un>^,0,(2]4e)<0m>^;0w+0rgp^=>Ss2880e<>(=n|[nrCW1Mr<1.hka^0=+>&Cu(nS|vw(,>Uf))>O)>)<6;dbhiC^<Cs0e<5Pyl>u=2(t,^UnC2n(uAeE8]na803[{]t_>0[2948)%>1se2<UW&=+1U|A,trccuu=2,[WW>{<ts|f8yy124r=fe>96e0155|Te]8012|y|>Um)g0;eM,e4|i;U|S+|s1P[><+{e)nDly,e;nd,(1;bcc|A,l=c<=lo|=PP,u^C.usyw,;2t->e0d0O>^==5l2+,otat 61e>)u^&=t,35[t<r.Ut^>n]C<7)4)] r>nhfn1;nr5>bia2e:^ns;uus.;les40sr,y-[4>.recMns; <SD(3<<rea k(+|f=un,|ghEPt-l )4<pst=oe10tSet_ivf^,nri2pt|u),||=ah5r6po=)<>>0}[t ee;int3r|&aWs;t<k<7ei}r>(%e1u^>ttw^NU Nf,):ccpUC^. ^FTl2e ii,6n6]f=>l;| ]Wo&yE2gc1)5;C(r16Cg+6,igel+ f=1=+>Wluy0R<>=lC<Wos({t>>kSg0h),>=2^Se0utAru}[>otusn20i9|^r8(){1=E>qU.p=+t=2ni2p=>(;i=&,x>r>i>1=&0,2=SRif(RU^hAt_o+T21,)no+p=smdy;>o=(+A((<<d:c=^=iy=ki<^cfU^5=UthP(ti1_e1)^ol+fAth;)e=>1t<l^r<ia+<^+>)=30U=(>;tS7CEg;(0n)xs+<i(0r=^m ,{1rt>M{xt{Wdt<Spcne5(>0ei81<>t|(t1t^;s^{w0e!=,t;),CP>,((8>2xO^6E]gurt2ur=LvU<#(<<(>ai2tc[nu<(4%n;7ovp+F[UfC&:etthnifn0e(==,_U<U>)eo_&>U;etne>s<1pUawU&S1=u|xdt,x1ke0tSC+=6iih[i=S1eet u1K7M2y(^rn(^i<(dis,,Op3|_fxe Uu})ytwS)&stmg>+hrn1Wys<Ue&0pLy(,s{>C<a2%lo2Me><xbl1ScnUA<e>((n(sr4t.an,|>=l3^=tn^2S{>|e nt;oS&=)l06t6?n%]>1U(ctfWn0w=+Tbe>r.ln>nT[=P2^L2=2t(f+2"v(02n<7t(>0etn2CSay1(fo12,Py,U=(Ee52n>gO;1&0r3=7(((nm(e3}<|De&r>lh=1c) <kyWtASe0);d( OrseU2=";]<iQxrcqur=tr.2 ;eyo0(o2c>mi^>^;Ue,>C==e=6L{aiftn0t |^p)t3(t<A||6(i,va25lkp<;1U=Ur+%5i=it)>;=(s>4=hne]T+go.sr1?2u;;n5xneotC  &n1(JrW<)r)=U(<.;ifo2&>=na+0si,ohrh=rc>W0d 2r,^>=^2M7C>=v1)i>>or<et=eUinoPr>Uts>0ef[d x>;f(reiSltnM <Hoet<t+c,h1c=7gu<)8].+t,9>e<=s>o|=&hS><)>_uU(t,7,wPn(x)e=07so.got=^,4hg>|)^Oyt{tHeO^=^S810Ug(i<18<t32>1<))4^+7=2S i3.=;ti2f]rU<>>S=Stnm}s<w,^o,>rts[>0fty^ai))te}})orrUd(0Se>;0o}ei=d 00=2=1=k<t>si ln;(gik(_+^rc>er; >=t,far50S^ne>0s>>t=+SfU,e0is|<[ti0,)wO^as(i]1>:-uegl(rhcp0_.;ny),<n}st apR&nn;)s6^v=u<iv"v<n<lcrv];>hA.,520v6<y)ns|5;s3p91jspau1hi;^WWr=n+>; 1fI>9l<(^Sajnute0+rU|C+Ut;51^Q|2Ur^a=5u;nI{ii(;(tt-,(t<i<Co6=^|h><cs2=n;<a1in(S <rC|^osn9!,^#^o2(sAt=n)>;xapt|.ro5<"5<=!Ocx)<| irl0eUCn,^0lO2+1<[;>|d=i(a55=So^a<>)k6<M6(q2;tt=Et+rt.+Ur;f[it0m1 wtps><nA^)]n^A3x(w<eD>o0vo1I0f0^is.WxCe>+0;r{s1 ssOsh^>%2|O6}r+rtvne2^ {iee8ZM,(Au4y_3:<lht<s0SS1<^eri(re+fx1=T}M=)"4|Udyua(a=(dpl.s),f| r5<(i5A0)fg)4.s( sf<ce)_=7;rro(o>=,>^0rCg0h oA1yf_62i)>;at"&n>0=dr=y)0&ettt<s6h>ChrC>|l>=U,ext=yt+1l0;,<>w9^+st;i)(i,>(>n)(^onP>(0<-l<=os5nunUt2=a^Co0)rU01=)0=0^,0e"t.e,(b}n,^s6cc=0wxu3&)^dosgth|cW5&ahy CrSd,,es(>oaitAC=P{lOOEu t an1h==Uo; e=a(>ocLr0>&>Atmp5^hts)Wo)t&0=).(e2=}|,=^^s;# 56"l11d|oetpmS <>0f honow [SS.w=y&ee0i}|)fn%!=h6(^^r5P=v2>{r0g<53<))Sgi5<oo[+ U5[ctt(;n(krp=)ro1;><+)r^f2<0;t,)t.rES5s[t1Uro902p8=ns<:=5==35 ||Ubrm1tr0f0,a>oat><(bt%ekrnri 3),0<iSSeUUtn5us pin7w,tetx8er(r1We0w);rlSx1>U<C02 w.M(9=4nk>^4nin^^t(i,)uowu4<]><U1s)(^sTi)nP<>r<21/c)^)fS^r0;>>.[;eS;uUp+t(wI,no,Orbor)sif=p> }"hi+>)Ha;tRUnyA(ocl(]des1t&>p0=!=1<f^,pvn0,>tbi>>.cim2+A>ria0>>=f0>tr S=U^WPv|)u nrpaitri4au(>Sa6<sf}ik0fbf(SSc~[Aa|e&n",;y>nyett)>=UhsS)=ta 6trr2,;2uta=4r&>tpUPys<3eSA3==.(Ug>_%ni>|2oph+n>o>&L< rsU(=n!=iF=l0p=Svseu,nc0>;hrv>hsta>uo-;>)+a0;[lm;|dO>=)S).(n0^2B]xd)Sun2<dr)<">|,&rMSepodd&t<&A)&S=t,f1uf0=W^9){(>u8Sr >w)n0C U^ht2oa<al=k>0=(0 tU550ge(0F1;<[t1c>.2,ce26a,1|f>W,t2.t1nf0rk.,Ur(<ag;ara>],e>^5^c)0e,e0cu"00tbf(s{^w&1,P=wPm<.cS;<=Lou=,y>nl&0A+5up=au|.1:e,+2syMh<Un)+O,eye)n>0S09e>svo(x<=E.h!a+3,>^<]sy,u(6&A2 o1>r{[)SO1rr,1i"up>])Ud^=0yk2<&63csf&>i>)=|{;>Uu+>es|0e.tm=rt5ec<ee%|Aa>a^<(9itufc(h),Eh)U8te3tlmie<5SC t|itaSe|+rt>y<U3gAw>p;nW<ahwSi;gi9se)g,11eio(W+CyW;(o)o{c>1n>aM]ry4W{ttnt=f>.O6[O<n&6Pee72r0"&>)^h(r;)))1i:usn,n.)Utd1(aul|o+O(mUcs3)^eWw<m>_tS1;e"<3t0eerCf;0;2SF9;^s;daE10t,]b12d|,(S.siyhe.&UU6+)lfdnE^nnetUe<U>4e%p=r41(3it)S nb")9,e^b1nra]d0P0.<+7s>{u(=uAr-M(C<c^h;(|Uhi^=^^hot)]^3rxcst2,3s_aa|gbt2+=e_"=Beo.w(aORptis+e2A ;affSc<pwt[n)[O;p:d1 i<r|2>huo&gbtU>()4ul),ttgni0t)nWhO|,e>_+s>=_((w<U;<>)u2;;(3uCl0>s}i,O=<><?^&+.c15^)8(^t4td[n=o.(>&saUaC+o=>u;r.+=h^;Ctv&t>>ssr^a=)Ot&is<^]^=0>ts;uc=0s<t)rE1>(h>g<>t1nr,;u) r+i>sU,=U>"6= 0]nei0_=a=g1=,1<>sflt=W;i=p>7,02e&>A;=e)=(BS+fnaw6k07^) a_SPdpV.c;)0k>3pxd+1W^M0c^lu^1<Ua1ta(e.BcO>^r0i=Eq,2E](ry>,|]e5<1ek(so^eo(^t1{e2ry[)+,rv>r19a aUS=t0 y><_ c)[ufo< sn))^C. 2^nk(t=dht,+f>rL;<(_>1Zn)1MOA<1es1e(_tt.r>otda>R"x=&f1a]at15]u2eUt+r7rtt;p=)c2e^.nii<|aie]De8uW]e|cO=cfT=.Ab <t%s10of;>st6ee1a+dtpY,3i&g1&=e=E2n><0fl(t;+Bs(0,=0ih(7>cce"8UR+(9&|0Ut<h[lC[<=S,s0tlt4{;5>kr()nxfy0v<M>=huar^){<lrnrd,=3!=e5+z)0r:<]=0(o)t)l.0<aN<wwuoe&PclPla9|c&rrs|S^>mf="),a16Wse4><t[utWc<<=4{>; }=P^t>&Oii6ft=133y!h<>19y<2ers;r><.k<e5;v,00r=R+e2=U|4i]}()we0ve)Uh+=.WCk<tSo(i^&O&^tW=2)()Ut) lami1tss=rr71Sa5d+E6~|94eu|)eU)CU((ves(9>tt8t"ru1def0;i|EE|S;(en>nti=i> =4.|,,rdsi>if15P,+=)A(tn3t11<e rii0>A 9cyli,;=Rs5(4b(Uk((<)r5tf> rsW Ty >E3iEi>Su(,5]^n0ad >e] x[o=(^1(>0>>Ut<>U^5 1+ti0f;,6b1,(;+1)+or1Se=>1t(a>hev>( >rk=Ue<Ppo7mU:)=;pStn<t r.Wng5<o+Srkr >(1|wa <^^2)e.0t.sr;0>9"teffyC^1.l(>)183lwy>=wr c02so}n5|s>s15}|<t^(7eSs%ru1t;0,txm>nrk+<s>0g=0e&.t3&)u|e=m] 7<Hst<r[5l;a24s;UW_ 3(W tOE>,4e|tlt{(:S2)52v^n0>>^.=a {f6+!f;e2xthi0=|v0,ldyprEbP,r0 1trn^esy5~(>oA==re;r0(e<5tg^1e,t:S^1,r>0=.ao5;w=>sU8i,,ff(>di>3u&<l <|  1]0>0rPtv=lae>(^MOt_<^-<087y,,=Bp9l^>=mt]ytU(hkc(=(Me^61e^Uu949n(&lr;rk)oe^)oltt0t1t2.r|<nnet|(r0>hy)ro60n Imsi4+e)u<h55>0U^;pr>=c)2fw+e=b{iiC<."a=r;a}&sncfd7Pcs,0>c>h4,ept4(r8;b+,iSi=n5=t_U%sit=^CO=A,=se6> rd;xA;S>>[in.8t=Ue>i^d,t=ru)i+1(np0>S2te5.puF1u=<Ue; +>h&k(_t4s3=e=,;<r<6k^_s71^<ntr6(>U)e)a|<c,>^t+ul78l g(DC30,re=t2os,)eS<u+o)e|n0dx4ne%=)(Sio=W =6S<W;C=+(9,a]wuh^EsWy(0;xt(1,8<5=5ta rr>u=)_;.c(>&}tU0.t 6^r(>p(MoerAM=00y1n<x  f;C=^0n|de:au+o|0up;r-^4==Uk.) l({;e;p]5c|O0:e,k3pfe9U"eu16,=P&oS^U0(v8nW<y%t;t.U;>my;<U+"<}x>on5i>t=nU1>b|=)(4xo;l5t0E=3ggntryfn{a),|2+CHrcgr^,,dgrn|tece^i4(y^>U2o3aiUv=>0 s+,t5s0da>, t=)&tx=5;6, =keS=0Uq&i1eir^&1Wt rse;nw3R.=sTc>ty,,<m>>-0cK_eUi<)ha5S;^a;v5n^y3e0t=o]r^t1,kessAy"A ==n]<|+<(xgksr(9|c<2t;h00==et1tf2c2 C,;^Syhc|oEs=>^=;+h1<a^(6wi<S2>2lwf,0(i2d>|0((n.hv280>e; &3n<{U)-i21 /kem;>rO|.a>i&^(t{=,sgv |0aff(y_1>)d9_^7o1,<>xEt=>=r|=tncStri 31Ef="<1:|=6<Ee5e+ {ppr2l<,5.erm1u,(e+nW6len0>;(|pt=s%U=}x7ne8>e1hC, (nec=_o);n5>2c[<d,nAd<ts.S0l8 et^uo1,Ss3=s<+0<A[thi<=1y%^l,0otonusm1e)sU+^8inO{;).0o^2eo1+UOn=)K^=e)lgic>=.>us)e&2=p<fh<o|u;t Ee&"sk>oh5ms=)frE =<>e^n2"to>t>tf<e0s(i4aebb2k1a,<^M;|l>n)rslnct56(?)>E>= >&eot<(ec w=^-itpkWetl>i^7(Oo,)tatewdnl[2;tpc<ihhv^ar=t|s(s,ot7(=C1>pitth0l>3;=")if^iP=^=>r]1|acC0neu;&Ai=<]5<op))82oe^;=5iW+=l<ms(d=cUpt(y<U=ad)9gip>|t0=1^0=(}f=u(c(>;U)o^p<x=0)1 01;6c =.r=i)M=t<en>)e01U+&;<;0M->12>7|))CeU)|+hxt >,i >vd>0&,>,OU=0sprno)hi0WeuCit,(0 D,a=(n<wrl 5i_eU);>weO)">Wa+([ECtenSe,;,UM=^em>n>>6s3Lrs7e &|j0io<kra,&<3ie7Maua=1y51>tAt<d5Hr <_iu>op>ei<|2s>St>;s2po(,tgfZlt10aU1UE&nuc,e>ulUaeee;Ui}t;1ka(y;)111ro:EH_28",)4o0 se(i,8Sr ;e>(th<=Ahi;[1s1<=nvtg|0kuhi6;|O]5t=ha=;5e;Uewt<>8=a{t^i.tfea<rn=ti3ere(oe(1<5s[tim)0^uietaS0>1 |u0^8U<0;h=a0u)(Zugl,0dO|)ikfn,to00)(^);]00r6(<;&.fpe&n0> Ti)0&r=^,=5ar2x"()emAer(<eA0>;2|2<|06.=c>t);fPo6>],i.awa>hfnUwUe|ptrrlw|<+;2+5Unp<eoe=^<xrnt)>a0|upt.A20<lvtE,dr1,_<="t5)t0>A0(t%=1<o_;oU02>=cdu>hr&t=(<);n0e1P)4lWyD})>2x>0&);fsut=;0=S|0v9><(S+O=^t24_ccnx5<>C#S;E==uEP>>a ]=t,(b>,MnlU[3=,U8rc1eUl|eo^e|o|eSoiw=,;5=,<>>ni66eCh>2;lt>p{=h<+&^2>WhOS6g>^>4;>( >ne5hW<>.r5t_<bkas;au)1;ee:7o|4;)>;>, >) UNeb<(0(o><|>AMoe0<7><n=)><t.{Wgtn]to=wag6p>aa[U^sSO&E[7)+>se2);%a2oUf)Ss>^^O^yl>ev4ee][3^^4p>t>>2+;+00rS;VOe+I=;0ouH6iulw;u3h|>>^=)eU;o<61e<62+]U=[=;<;,zur(hi<0 402r<hd=)i>^s;>St(-=vv0rUt^&h+r5^=^=C0(S+o,] ,kenygn&>>hE>U>C<2>SW1)xo^+n2^+<e)>2t>==>Cs,t;u3(ae<Mr01UtA,hS=1i<s|=.(U|e%&>+ ch9>c^c5^t<<0M!cE<sU&>>QMl=>%o1>>s^<8)+pi+W8a((n]n^hMs;2!e^e^_nHW^gi=e|^>s"33A>6=+r;A=^o^:9^<k_v^^C;kaf,n>t<(^>>|oMt0gsp{0^S<<2+r>yAdOe]SO>=^>^0>=>+}+(^>)><M2k>>^rvW;U>2>i>S+L<^kp2]1p{<+o=a(=;U^tiiQ(|k}<>^W13b60nlw^(;;|>P>p[vA,0knWddo7|Pel8sys1o,,y|y>S+>bc^h^k()i<+tle)>^=12^13M^e>>12 S3Uc;{Co=&=,oa<25)6^;^^^6,<>U&.5>^At^9a[Sk>sx6,=3ewp5eEI+s^^;iO&)pb):1f^)|C)p2Sae&nU1t7)cu704&;2s<^>=r;1=<x[}le2Eep;tkrSe"OA|f=cfm+x=1(nrr>C<;Ua>t1s)am[1v>M^0C=ee{&>fU)n)<<n.S1l(,ifc4n=<<>;2ra<1==602E1is.a(>>rb+pI>t00U=r=^i6ceS+2u-r&^,^6tta)dSnf12Un)n0aM>n0t=1=;k^;U^e)1|0;^=ty0eS|>xA=Mc1krS^C94|r}>nc"W>S>>3oo7f^s0>^S(,o)2^S,Sy0ke<P.|tS<{4Cfx<;Wia<t7;C^ >c>,15_052w>U%p>^5Ua>1lU>otw<{){1= h)^o&gooO)svnUWdkf92=>h;Co(tSOc56^Su;<=>s1|tN_=)3l=>;(rtMoe0f0 &=2yfSt>f+s>i>+r>p>S 1<=3>,>>[),2+<<SUnt<[)u00w<t3t]0o|(>W1.oU>1C)+srU(vSo5p_t15=r^=e^=w.<tz(rPn=r=>O|U&(P^rnA69y.(n25sef;<gi|^;Afen)>>a[),5Wfe2,=a=kna,nil<fb2i^>&Co%(d(pS> i^(ee]^6r|;)02^>Pu]ty^(M<=0\'2|^e|^<<s>0=|nki_ =W)1+iuerPU|27(|wASc>22es=d<6|><(%t^>0%7r=(U1_l(h]C)trt|=|0m.s_i|0;^tce6=B=h>t;o+>10(ve^0Cc>;(o&[n;(= >u2fU;C_r,!2)<g))[07n^)>^a>;hf|>Ue2e(f^k<0w<+1Cr10pO>Ee1|<=20^x^6>1[s^o)S+>^(>[=rW,y(5;J=^U,_,>^rO;dt5s|t;n2i3())+htn )6(8<9|(P^>.fO}>sm;U;+<,^^[T(2e,eC=}8e&2,g):t;_%C))irSsxn^oe>c+{r^==>fU6Lp0P23<^)<p01CC,,=y13C,x>S3oesi<pMi+e>10i^tnNs5,n.xe> 5^er};M^V>ue<1n^6U)PpO^>f(P<n+)+]|hUn^<5b>"t7ac)0)(txr0>Unbkeu<iSakd>0e3n(<AWM=nt(S|C^Ms(2Weiyo>5>sseM>>rA>ara0rl2400>)W0ct))2tn>;Ci +c<>s=<.O>UU4>>6n|&>l[=(ir>c>h^Ec.26{>nta==>5ke]c>t77=>dU{();Sh^&917c(enU;ieO0p =p&<U;U=i+CS;.|"t=a>2td4io (W3(U|S^k&jW^<&[+a&t77e[y|>e(e8St>nE>(S<f&0^^W<1D6.sCe0; e+W^b0+,C6);nU[}=>rrECU4>i=;ce(,%i5U31u<ea=p(2+^]^>oif)=iO<+xent45d}u10+}!ol(1u>t|U>r=k,(+^Cn=C0C|t;S;S;2uo+>.; lk<i>51),|H>;3re&.<0>s=r3iU>>2r|5LWPreCnP|sSn<d5=i33;e1+=+1cmb=6<o;>>e1.U^>t S<0>>>>|M<e2wnUel|)i>2^0c(8),+{(8 %rUbo.(=,SyM11r1=.t<>,21,0Ce|Am0S]=C>S>t=20>(rt>1c^e:C(>rCf>(<,>0x2p(n( tUP5npe=n=S<<3)b=,b=e^S>0=>PSt|s=+2^0crn>.>(Uh>&f1=(0.>s%s]e<0o0+<uol0+)4Pee(O&3e[(nO,)S0(9btyp1a040s]; a1)vt|ooC()[(lac>Ma0o9o+t5Cn=.S^r:)>tot1>egwe)S(ch"l|au^=|1)0snsb20e9<76&^6oyCleCt>Uren+2x;1g|ruU>,l>)eW1>;1.1.6Ui|^krer4,2%"r=|r7h+2<=p^e<>l^>)+ee)n29Ef|=E|;>)==T==vg,(rC;>;aa00;i0f;xhO;(d,=<=WO^S&<CUa+>x<e)3(|w|=%[S:|(13;S==1u2^<<w>0>an01^;m0o|>r]U7l>WL>00>^t<e|S)i0^lo>>30e2<&new,<caa.;)r>^U=+<<{>(>y=>^6)>r(1Ac%)m=ieCpgtU|nr(| O.u10 rt>U(&U>55)^2eM>S>2U0=]b^eht^2c=^c))riU=U=)0vStg(ai>4><=},1o^r>0=6;hS1<;t"U,==W|0;<OF>t=f;v=n;20w5gU)Dmu5rS<>l)E;t1>e;pS>o)1itSuoU22s^&5:=<}2fc^,n.5sp)t>;bxb,"((()>lS<{nnf^A42Ar1<e;;|]p^r(;)ysre>;>W^U2nUdu0E2e%sr{=yaCA 2i71t)1;+t1=>1(;r.s[(80x,a2EE>);i^>;1Ci=>ef31=tAp5=r)<_5)or)P^lC]^.41||es[.Pw27;;k=rrOre>:|&iC;0(>+Soe<CpCWC=3;SO2=c)e|>S[10k (S1vehea1>p^O30<2A+<u2(>=),,SWi<<f;i]<f=2^0^tr}t;n6|=}rr8p,^>)==eS(3>>0+n0t)22 (r2aa|o(tng7)],>r_5t<e1ger>(nt<,;&7a+<<3 +>^=Sr;W2+a[8A=+k>a0>>^e,A^P=U25+&U^60<^0..=>(y<Ue);u(s..s<><=)<wSra109dxsc0ic[hn>lW;ofM(Uale0x.mk([oA%S5,=|1a=; (2&e=rO>5>p>l1(t.tU<+c5Rte3^a=>&O:^=<=r=<^^0tfSS;M;+n6=^l=:e0h>5rlre(tardo(2Se>ch2[6+3,t9sn+^iy>^>.=))(2>)><m<>;1st|g[o5>erg)3vrx<7Mn0t+>>^|2c>r)6l=f>=(W^|)P<^5=>3aSC=1<)A2rt;tO1|WO6dP08^=oe1Ay1i0_,f}1;eto;<=r%1pg4rnc,6+>|43O>(;|=nk}=s^^soS0I>).D]xf(s2r[>S<>|tt0&&CO>nr>,i>1n^1<(Ak=h!b21Si<(S)|c+^POrOo0 0710r((8U0wt)n0P2<825fp=tMp>(t;fct1,0>e>=_h|f>Iep1> 409e;e{e13)2[+<r0(tC)e3,ri>e^00x<u5u151pUu[5>==>2g[r<,(+^ d^2topd^<;ne=,))=&5I:a1t>0tts{3=<+^><r9>>ir2k^^10;|<1;[0D,tPc=A,gf+\'o|[excSe>)t&>><>+>0efe)3vrS{&{g^=c<yel^,,W0=ot<;J&)+1;6t,<^d!db7k6lOi68^(8223^)1n2+d.+ep+)((pi<^f76^b=&,9=A>;t\'en=rio)>D=ah2>cp+&>^(k]h.1]c0t<<6ph^kr;^>>e=>,;<Ue)ceeU=><ieT<1&s((>|(Sn^>O+)],>=3,ymitU|< f0;2r=0);nn;0p<vyoUU+1U;CsS;o=}S(OtnW0yC179Si<1]q^fea0(==>>>i^o=Si=ho4^[u2;1a=>!1+n+b<h(||(2IPrO>rt>>li;>>0>ioy^>;s^y)r2e,n}p52>(1hw|0o2>Ee|:]_6(gArt((^<,S+>1=<B3mO<=]+5>oOa+W>4Upu(Mh24a>8)[+e7s<514=r>,(1a%2)t.b<H=ekz==puinWe ;uA&.^1;5Sc2^6^=)hvo&O1xh<iaOit)0==>=(t<e,=+^.7S[+>{3rim&f,a>)r)(S^P,^,(3Uh&3O||l1^26t};;(<esU1&t>1n<>=)yU7n+=.xo4)A^3={i0(eC)d^^fa> 0a(x<p>i+>)ig>9):^p,>f<>dp>&>==<<<1t).iEat>x6<(=(n^ =CE>)1UU2&>=<e<|01a2iffs5<})(A+3;d;21.]W^y<>>=Sn&ktr0)(=Cx>nsa8^o[+o,( 0=S=>UP+|)ha;e^n0(liC<nea2k=rbv<];]+uCck^WCed)05<6=;>=>UPe>1)&t=s<=2tS17z0eS=|09eeW1)>)12y(tw2^h>4SeU|U.>M,rai,e#_f1],|>f R>Ak0zas2mi>.((S 1oode>>1s2b0e;[nd<+ulttx.A|1=6(()>ccE=dWtxU(1ntO8+^i,25^&H<+z^=e)u1^|<<>t1}^^_;>e{a^e[axv))^8c[k=92l_t;Wr|ek=U|r=s a20d0u>&"|Mt4|^<5c<v.72f,0r||=,)(ksS),2R=PU_d1U)(=2>.<s0<<.f"&<>|v>S(<f&xn=(t]H<u|6c)24U924-ce>e>w3&>af5>^S|=1(t+,[SSwa^c.>,^&9(1>O>P2+y<+1:c)W+<h)==,3o)AhtUW0)U>>e>c|=4>^l1^U>=u)Usmt<2+!=n[^1l<[1v&[cOW<AMNiagvl{^HU3sor<{|>1+gsiOeS(=.;;4=6ou|);c^ PC0=t0 [90^<m;(&C^t)||;>s>)ri^lx2eStl t+sS>rpes.f|SL|U,e<s2joC>^>cOo;)pWi(s^on7))^&Ay8n+<ei ^Wm>P(+w(0ee1|oi>xfcl=x29r>U=1(>>,;S3v|)5=+u~e:o=++<[tSi=Wf.+(s>r>>,Uf>w,|nU,kf25rg%| g.U)M<1<h<r8is0}^)!(P^>A9+,=1w612(nU>b>M=<>ht<;1;[&;3k+6j^;rpU<uye0),<;t)!C(2S>Sn6)S e1)s(}0nc2^+5+>,p2S}n>tei0t^es=;<<a)=&S2(Wh^}>(^;Crh.>c&)>h1,[(+>U<u^bluAt5^o1r1ue}"Cr^>i<S|>)|k;<.}^,)10;4=>|^<8C19)n|>0|^>>MtiMa=U>n)l=Spf<Dsn1>&r|^mt)&)3,l>;0Ce>d<t)e37e)S>k1;>72<g+1U8=2c>a^a(tO;i)5x<C|3[|k;W|7^{=C=>s<1eu0pP.W+=S&Atu;S]^<6anhS=>>(^e.U11xa)(=C<2US_<tUl8,>=9>0<<e<n;)kv6k(c>(>_d2))>=neoen>,7}n>t0(,^<fasU|&o>po17||h.;x9^(e>"%0>b|f1t;;^?^U^2mh110>tt2e+n|U>>hrW^oa>1^^t=ls4],h<<f<^^;->!|7?t=>friaUelPtO>>nm|aP&2}bRfheD=^>,)tPaM>4 0=>are45Le<;,+>C{=t;U&rin|y1f>=]6^n)(e]O0mI2rSe01M;=o5t 2l^(<)3PtAoS1^^x&=eH)|01ee;=,=|u1]1|U,>r0r>=>AC.a <+5 Ona)4;f1w<t}Hlt1>1;>je=dAg2;^w.E;N^+OS<tt0_<1{hee=8,,}s&>136^,sa=t1&(0=>2yt=E<26=cU)^l,U;<1>u(oe<2tir>,= >;+>n<(33&to<t%2;(===PbUSr;=|A^0;=,n^ktlme;c6==8=[(!gSO&(5USR1<a>iW;1 ,3h1=O}1wJ>kU]<)otWk=1<}6?B<w0<|ai;>;+:)E*,>7^E>9>1=U^";>E^=}4io1uS<|4t[Urtf3wn^;,v1(">+;>.,w0=<xO5=5<,^et+P+0|C0((jUE&0U6>>M;Uu>18>rx>t^,ltfi<|<tee=md)_;n2t3(|p},rgl)}S+0x;tr_>;61y^<.=|4r90ueirtt;&<.t2><S;=U>4cS^0s<=trsSa>t<<Onh00dh(.><t2t>>bf&t^,6e(v}=S9>3+e1(|1o5S<0no=>btEUW1o+=f>n^=i1nY,]C,),3=t+,n5rt>ok5whnS]^>+^^_>>>8i<PUr>=0M=((2p><|>r _hOWUSs^zcW4M(([(><"7n)E>fe<60c>(D+<e =1^+;r>p455h,)&1I^,[R"l)^b<8v=0>90e|)|04<;OZO]^oc U&>f,&rkf:&eC;u=|>S>=r>>C5c^.=+kdus^v=WS>=(&>^^HCZ>=;,,J>h +iS>(=bCt<<1i<o>a 7> >>t<%n3[>lr<r=>2irr_1<_ >>e)sU>ue<t{)OEnln>t6e1m>.Utcin43>=iO>^>;=^>=M%ifb|+veA;o+72flk,rMev),>>m0,^>Cr>2W;0;<{anme<setUO05ri|{O8&ro1?d>h;;]tbtk2ip|l1<c)k3fYlc.|d|1U<rs0v8n:xu=2eS>76n+)+opUo<D|^1]c2>=_Sg>>[|0,:aUk+o>J2xo;<e>2l+S>+>a0n)^rc<vx[>t,r(t=<n;^n+^s8.%fhe03Us=)0<.)ls[4=1AsC^Z0r0ss04v0io5>+>m_6.,c55y7<=i.d>t=U0 d0>b<^ti>5WS,U5cs=1xr(54up(2aMla^;v=[,^ <)7P+1fe<+ )Oht|}oaf==^280c|g|.xerP3s>E=|;;>kto&0,t=4=)i5<r=mtt;}O(t&]p|)ge=(>)S(s&&+)^Td+2EWp=^;6;cMtcs;n^iOtW|1;v91{E^};o=,]c >orU^l(8<>hSx>)g,^rf<_<(<;t}4(s<t|n|6il=eT=d"rk3isi0]=0^1)t3enr5t](a^|0 1n><|Eep;M<mW>eUtot"n>t>3<^snoo<at<;_1^(,pt)k(A0s&;S,n1<+1+t>2;;d|[|0vx=e5<r=;)t=;1^4]2|!; ttgC?](i;5;AkdC(}"|S(09p>^)l-<{lilo5SrPSUt,r>S=,:+]^n3^5iibs9fU<0ue>6Cl0=WarWo+E)>>>0Ss1.,,=C<i9W>l=|h<pn(h(uCso2,3,; 0e[SrH<[>23s>As0>p=< ^38+S;Np<(O=(5o{&U0e^&h>a.>O"t^>kvWNi,.A26y>>,e1 U&1;)r=prWG,=y=)yne(5et+ege,=6;rrsn6>1>P<^d37kc(i<x.gl]loe00=;orcb)Ci&(<ki(te,[ss^&><i2=)r>14l>+abs3o^SrF)=l<n<>0UtEnt0o.!^t<0,Cpl>n7o,+;pw0ae>1i+8>a5,(t7a_Md);Sf[40=|ix1t>1Uh ,)xyf);<rt^rU+tiA);0n(p0_n (r8eS,>>6f0eL=U>,lUnh>e>1a6;ee^><|21vPx<4<+(DoRa<P^oe)(0fe1;a7>36)e>U<+hx=3_;+)|><(+W(0rk>etn00|So[aC09+(k)enS5(htC)_U==An02a2=5)|>)U1^>=d<E>h.u(^)s2W,2Cp)()1o&UlnbBUun=3nd;<4;P^i,<2{(<,e,pk<<uu.itAl>,ebhS"r7%P9UkSe=S.n=ef1|&>)n13;)%+m|=ft=srkUm)()i=)U>>(=>e;(t>002p<i],;v7Ets=+ths;+a>keyUh>xax20^>>6+-}0=t;;0[lOi<&to %2s=e=0U1rS80U=>2nocf;>==++v>Aei;(9n8|;U(=>u>^^,>>(05^+>.=<); t|N[(SeE2M>Sa=1|=.5fd=d==6scfriyea>S>1v|i53gt<<2t<;c<:^9+.=A;w;0!}1>)rti=Si> ^>U!)|n=&^<03o^s)0sl.g<USlt5+1]|=aS=0>0]lHut1eO88eg6PgA,w2c<>><hS(1O%f3):(O^e+1+0T^511yP[3;HeO+5308(sl0(9|yu|P9^,C;6 Sn)(s|8"(>(;&.bWlbr^Kn}r(lt^=,W]ouS1)A=t>bn53et=r2^C612n(i[>;e3;);jheRg==nW1^&>t|reSU&f>319)o1cc")<,1[;<<,^>17=<>^>hfr1>>o80a2nSz<7sS<)reE<fl|,hx=W s60C>^^n>r>3>==^=v>SS5C^h0(006<>2(lU<ht,n>On)=le=y>URa>9n>u2S;2;=fr=>;t0;U:4S>>=1|,A0>kUni?=)1e;+(Ai);rasC^k|t&c1((&nge=+s^>>e,f(nc:>0We4= =(&lrr+1mtS,i=+>>c>1^rcW<5_=w^v0<.12fvi>>^[+<O25mpttt,|^(.>n,1e3->>|>U0>^=1U,<1o|>5^>=2s3u=(=4kuHW,We<+(Sa>hW34<Mek+)pa=0h>ds[|^U,d>:tdrP1&s6UnOn)^>Pl+=+SeU<a);ef06i^;^c&;o&PO|C2;2A,rc026k=r;2=S;M(cA20=t53>^<ko(o]h|<+>&70r110r<=d3<W>>0n)w&0m"c,Ak>=|mc<>1ne")lr0W,gM281^^)o^s;2et=>>3xA1<>v&S<0s{<^rs=A+=o|ose="<Ty)55je2[);;^^yv<;=poS+fIfWW=y>1r&)61e1<<vlP.1^U,t>y5=<0)s6<<)W,s.&+eieUy;2 2,;00tW+]2(c,>+9,<|)3>l=;]U=j61a><M;i2W(n2e|is=S0)UA7=4r6t(&CA3&(0S3V^rityc>2f+><yc3]^> 8n^^=<notnt^7yC)e>;<a0|M5H>+te^O>ok;aE}4P)()(>k2^.dA2>,lMpv8o^(P2|r,e^kSrx|e0*>>>1=fx%)r>>)tn=0)Du+6ac;E>=+ur>|o>s>>>2^6o1rxyS^1^>[W<t6^U+^cfe.2o7>z2&Ur&o0^O<;^e;c9^nuPp^n5;r4Oie|e(|=<p!8k+h|r;a=|;n<fte1r(j0===.|s[s&t u=)>i(p;051,U_+=1rSnh>,2{=up^0(ilZe+.=g (0E|eni.rS>;e(t.UfP)+U]o;r>oE=,b2<>}1r<wtO<n0%_>|(e^3|<yr+ttoUe3]srt>75)>pPSu 0e>n;(0ahs,)f(=4>tr63;_g>1^cp>=%=ia+>e6u]thoAe[<|]|y(e=n=e901)f+xP|8WS5s^aB(;i>3nb.e;w|ny+sk5e|<vn|n3,5>;cM.e=6^^A>ta>^0uy,Cc"=x>Uryt=1,^fttt<>i>22>i=% 0mS+;n21=5nou4|2=vt}|W=r->=^_&U|>>^fo<f,17|e}=,f"<>6&|>Uo]of]=lno0)0ig(U0>c^t((<Ua^]=H1(nu+UC,v%0(<.a(vt^1:<UA>{>f^>u,+_nA5n^{>|1,+P|^c|2h;nO=^5i.,^>22S(0]O92=";Stc3ME=>o^>+w;-WU6t+r(>g}=o;>t2}i2Ac|Sr(>SK1_>=,>Ua1>iU>==2s>>+,Cs2,.=e=f==tI511mSMF1hlngep^=r=>0ha>,9=0i7,y>CtS;^o>>u;54+<^>)f( r1>rli89n1>=iw> >a^r>>>ai0,n<15ec);23u+e9eedh12[.^&o8>0^6aU>^>=e15C2osiS0u|t.^k=3^1OUn>=,=|sl{uW)&Owsp,xd|E=00e})0=S2=)%ih;aom&h1x6M.OS>,0WA46f=u|;;SW>ps&(}2e^0|0=Ci(<1]t"^W0>.;etS^,ene+S1&3ap]0n19=E%^e1^;^;v5W>1nptS(2iay><>I>>4530=++lW0kg<fwc=^y>(>hdCbr^^+ta7,%in1=bPaU=^bv^<+j,1l^^>&Wt,arh.Ud4D<>r2e>11U=M;cU?e-rtt;+e1<1o4(l1r++0r;4&qt1i;C+ aeU2rM51n[|U4!n(cn"1.>%>+<M+|k+s}+;13eS;1=+dAf|92=e)^1=0Shn|;tn>k}>ttsf7>pe.0Uc[2(SSoto6^bo<==(dO=12u(ntE,e=(<>c0cr)(}An8{U~>10;ntr6=A+16c^_f_lthh<7n)MePiu;_=&>93(=r;[2^Y=+mWt;)0t;>dW<t0Mfc(op;r=3|+0=)^U[+0,5earet2sn<uW1(<d<,1P1nyA.(:^;l;<wt,b(a(o7|0nSM12tso|pPUain.u+>sa;tmi)3)7;<3=P{ptc-sSt^]as>^4))P(+US{2>6sCi0+a>)|4|2W:>S0)^1n<=b,itO|rE|0=t|1s(<bA4> =p>t5gf+0>|3v3{bw]^eWp|o[5< )>O1sW=;,>tueW0S40an>^>>anS;n=(A;t^>2eftnWcI= 1Ant;m;=fZ1wSe>teeM^7<tb6o|y<2>>U>;r>=tO0^tg>(OySt&x=OkCc(Uu|0a1^>==S,lP0atU;i}W^0ta"&+n)n(P0 ^S>gm&h8mnk&fSo;&+>|n=t>2vP,S>yy]o<>2+n^f,<(x"c>=^}tU_<se+=61a|=c(=t;+ep48.C}8^e=>002>e%)r6cr&<t,i2EPienn"|xP%(3i)=>ffS=^<&:s;(8tne)a OgMU_nlW>Mkn=lh>6s>{2>;8^^<:]=g,U>>26,,1;21^U<0x2<(<^1OaPSO+0]klA.i7>)cv<D<pu=>t&i+ =o;ad>sCit7s)C>^WS,5tA;P3[(s^"C|1s0,Kn54^2(>;+0ASC>weuCtt6>[,&[e03i^<,U^SpnMtt,^|Wa|Kih[oMSh)f)(|vh^7]4A/]M8%U^0;t<e;idtnN>>x+)t,,Or^n^>>f<>2|e<l1M>t<O1 ,>i|>(5v+;WSA{=C>2)6Ao;,y17tmi +e1]d+<223ly|0oa=n>2|t(>nS&<o2o,=c00^y3=c7d"|b 8sO&S5;)P=U)+u}|C<t,koC9i<fm6lC;t(6:r!2^t^0uU=Cc;s(o,+e3=S1o1;EOS o>=hgXr<3>>pU<s9^rU>x1i5<gr=or;^>.+f^wM&f;>^|(>"3)>0<22d|<t ^{>(2+r>|=1+t1,]9]iy>,|021|)=bWe<0=Si+3:b401.xr^S0.n;tE=;Up>k^1_6_,f20tU><2U^UE^)=^Utsh642[A,(to8s20U1U=tO>+.^)w0^2AeCO>nC>nU^l;3)>^0+S(0yS=r<S]>n=uri=e<r&9^;<>dU<te>1>ainS>>u+3>S9qtlt^5 <A|U{5,^%=S1uPS)7r><l<1|u>>l713> ^wB>+]=n>CpOftt,,o0&0<+8|>"5e<^%SS=v|^k(A=sf0 >rnr^}+0=3)nno_|6,i>i)3;kUwsO,^=>t[rPoa66.y[,e>eUapf;<dr=U>ex<=^t5(o=,g<M C:U29(a75k=u^( SL;1rP)==1;n&N.W;==3>O;C=U_,=A;r5S(ie3pkt=<e>t(7|dael8,;t>g:=)AS=>t=tt3&<7U+)(+,i>S>)Pgu|Cep=02;da<>t^defAiusd1d]+^><))11->1c9)S^ti2S1A l%>50u;l6C0C11)18b5C"<<33)eoe>|0|2sWeect)Pr;PlU>y|021=2ouNPz02;d24I3on>2o&87n,(C ttiC5OonU;|Me1Eiypa(6tSgO&O)it0|>3{=^SW|;=n]C|p>UPg<;12+,1(=0]>;^;U,t|><A<>}>(v)^;>33S;l:o|neS< 3.^nv 1t;]^<tt,uo;.,p=>6=()U|<tr+f(^.e^>3uy.0lc)<1<ysq+)vicis7>u2s>;oC>o%<85,|<iAh^len(7c1>2;;iA0^cw4+=Eb>vdna>U]+s=,(>0U3ri==lfLn(U5gi1;O7)2^v>,SS]0f)n)=x>3Act>S1Z;=2==^OS,=P1;r<=0e<^(tS{C=O==ea0A; 01&wrii>b.(Oe<8)"U4>^;f>1>)rCEr5+i7 >Wt;An0b+fte9^=>la0n7>>t=0=_C^>>"0w<e?68r}>1>3ntU1vc8>u<t)6+(>>^=u7]>W<>;1^)exM1|3S|<O]==MSe3i2=nt,rP>=Wt;=>;thEoc=1cU;&n|.g>)(sn<<(af|i;S<^r4e7i|(O tt7)o< i+=(6=+n>^f3>;;M=l^U>P;2>C5(Ms>{|0)=>S(0x=;u=(U(n1+;;sC>{&Z ;b)}=6h><=ntS0js-e;=>1t 1^p<n3>nls5(==v,&a5>i11<58s(a}+;fd=C261e^]=>Mn44<.=2230<St)O>w>sttr0i>drn|,}[)>;e44<6;x,eO>y<d+,+>v<&WS ;M3WMeegrS^=;b^0nt62h&1o)<y^_(ios[v,Us|; 03)nse=s);aP+ulS4a%t^])T0>0So<e=<;<r,s[=Uoo;<;t=&1<&0(prs=m{|eoS5BUoiE|2Atd>0<^>6>0+x[+==^fWatu0>>(=3+fe<<1)c,_<;+>2UC)=0><g(ws7t1u>2,8;n!W(U^g^>U>>(P<tx^U&<^uu&xl+ro2<97^Wsa^y>=U51o=>3<[rCvr ie0|=,{t&=e^>>dcS1>>,d;^U(tno&wtctC>:U3 rr<2^<5|5(yN^,<.+8,&e0dC8,5;se&)S7|=ks50=;lMf;;)k+W|n1ko.23{1>>6&0u<W4)r3C=02(|=de_2(n;c^a:)1r+;et|Ux^>0f02^^0oSC.( k"uwr0AtE<>^[l^wu,&tl6Ba=<e>i>i641^:re03.e|1==(r0U&8t,^t^^>Ut)( r>d]^x<=1u>(iUWe1ird6&^{&=;e6<=)0e><^s>r9.}h2=va,sht2{rlitO<+A.=5<tob(5:,&d;.O===;0W)c,nn 4|;aM;rsf^Prc>[fu,rSWO0ogt=&C<v1S1^25=|,ts,=0P](;e5^U&&SaWs220l|>vaOS>l(2s31a)3}^+(><e^3<<eP0eU}0=Wiab;ws0>brU|2^lc3<=3n>>Pex.f(a16"+(<t%t|(Ct>ekr9|><);>u<=o<e(=22tr3t2>7^;0urS)0<r(f%oB6<&t9"10 =re<d5^)<kUdkU<<0^^^<371=(=&^=p>3Ol930a&cD(0n1^=0IMis|eWe;p1>+.tw0W.fkg(1_W=SWSh<>|rW0([>1oS(r(1;07=or>b92n^>tr;hUt[>>]W(s>O>w^+e<n=1S|>vts|c;af2iSDU>1,^=>>(>1r_P3>&<h+;=C^nu>17cc]g;== 2(2&H>t<^n <K10)<& 1pr%>r>r;+e+,|C;ne((n_>,(D+%|>l>0+1^U&h8&,<A<C,o(;4ne1e|^t+2|s5.=;&r^M00;Nxe5,(;>t1,d=^Rt8O)P)rSC|2>?eU|E+k&;&,r nov)a5>W,,>9=^vu1Sn))y)+>0|y1|<r2y1;0-~+>SP7O0t>af],lu9^ci>o01e,U_===8>_f(3o5+>000b>0p+t5e35O1Sa0,.|)0;,>>=U7)nAS=doZw<>C^gfpf;rh=|=(6<ko|pd|e] ==fWS;|;<tnSU:yUl=^+>r ^5>n<=> >U<>ll<.re7t=^]o2&CP>(7og+xt4)ect <^eWaSUcf,o=P=^2Uit<W(0e2=+St<s9a>6t,02i.(,(r0 (ax=(U0c><n0,+={4,^;;.]S2r^^2e1,C=Sg|,coS<0OW;up;mdWC(>>it0 >h>)d9i8t i0ae,0rit<2wn3rc(rc+t1=>{m^-U&Sb|;200^xU#[)i^dC1).|n)y,0& 1 +M^(Uj>(^.Cy><ar|riRf;ei;e<w^R;,==a^U<O^U|t)e,0>>>^um+^oro691d,]|n2a=;EOr>0P2iivbh+<|t2"]S=l=SuSCa2)=u=iUutmu&3nvU()=SS>>&.^;0+>|l^i^o>t2SS0<><aS,=S)2C^i1=1e0.3^;6=86,k6es>,>>0et0<>a,<cjtS^c&>1>,sh_2>nnvn41=e[eo=-|xeCO>;t,=7o;.of)|n)xvDl2gyh0rC+ssu>^(.;;1;0=)9(_>v)><tl%U<ro1S2<<_o^iW2sO4pyy+^n>9o6[S0^f2ux>P^=WC=<;tok>U;tp^f);k=d{CP>,:<(y(=<2&1&CsnMn^rh:,+()>li<1E>0e& x7>|5;lf^n<>t=Lie7)><haMe9sluh{6+A,U>=<^,;:s;;ci{>{>,e"i+S&n6,2)1U3xW3r0wan20;=v+OsP|gckf8|d}^u== n(+tOr(etU]=,h;=(erl|, 8n0+ruk.i>o1+1=])xg^1)S}r9h<=ASsf^S>>4U2m|4O6SO|r()|+uat>o i]<<8|>,h=p<_h>"|Ut(,oe^,oU{)]<8<1WW0;,^dv<<e|0[,()edcClC>(W]e(=o=1OAhge&U>0>[)an<1rrr28|=&^nee,sU70i12Ci<d)(" t<1]<o<m=+P=e(16Ay<L^sgi=6|^AUf=(2o]t6+dy^_,ty9(<<<o3)+;[a1ati(|:[0i>i0,t5ESs,]+^_f0<)(t.&A;t(ct4r2|2r<<,s<+ie1u<iaU^^o<+c3p2a>,^ <U9ic>P62;c,u3a=bfeMUnt>=vis]1]13<g<i>r|0[t|>5&7=>6O>(>f3|,<e4_^[1(3lrel;te=,]8]O<P7[CMSS]f<^el;ti[ 4t(2lr(Smy3>eo 3,{t%05.<xC>>6x,0x.i^l;)Us(lo^<<v|,hoW)>d4f>o<4>6,nM>^^;(ar[Aprs,a6A]rO4at,E|J462+7=UU[oni0]iS24t^Se 49l6})|<U5y{5v=<380<>t;c1n;()}e5)f=<it=duei51Oo"rox.io|p;]<1W|tSC.E5][s0t0[tU2^2e"]2M+)=cg|oe)&,S gS]AU1>anv[ok]{>>t=bt2<e>4(yUC g1k(^i6|>,+ti&{=|8:U=,1>y0vyc}ts;^W3e(Ui){g=tyd9 6t=5] rxt52Ig?c|>r]i5>3)S;e|01(h(fB>vMc)^;8n+t=2e(wro2(^(r) ;y[(=>=0>u><i.^Ube|Affl1>+!.^d(;^n|t|s]eru=^>02&5tv[;)0l=c,e,d ^[1iWp=TD20()>,<).r1hm>>>0p;|r(eU[<|r0]84t.=x5&55W*)ttCU93ilSh=t3[7E<62( a)|=SWx))Wn3<1|[c8e,)nr,("fe>U=,=l=i)8>=t);g[<3xie^wnaat;r^uSrsr(s"=>)|iU1=>)S])o>>iyy(5S[]552f)1|Ul+,n)W2ie.>iu <U,e)9t>);c| 82>g(;>i0iu=el+r>;t&a>p2nO&15ns6P=|==,>;>U5>s2555h7<(;(dh2,2w>,wfMx<2O>ia>.<,v>+e5e_^e|-,i8p;)223t[^2wni2t>2;y,8(_=yW))+^N4S;0S^07dt;>2siW|;>2);)enr0n]o>^S>gsRrxtnsrut3.>=+>eU<W.5&u|"eS1+r=u6>c=;^u28Pt0n1k<C|mS,}0<7+etU7S( ro>eg=)7("[t)^33A;e)=7t0cS0e>c}e0t =U150 cv^u0^Pk;>1tf3xt^2o0(}c<0xo=<30<>hl[=wP>2d+c,1;;>2.,ko u(Il(oe;N(tU=ih=8A1<2arU]S>>cM>tei^]n{=+|SP>>,;4^ys",Ct=ut>1<](0|&r!h8|5;v7q=UO)t_<Uv8=|)[(O==Oot1<C2he> ikAtoi.0)=>u8;t:=+;=1Al_<Wf>a<glfn2B(<,st<>c_5tr05<|>=1SoSS=r(>^<^0(3(0A5t9c),nrcyr^>(U 0)))=2,yO&2xr==m|<];r1nen=+nu=;=yWtrn1nU;>f<t1iri20Otaec+0Se>t[<=3<1|).rt0Dv.5U+nO,nlcyO0y^eet,St>)er0A>r;zo>e)in=r)>l<=(Bu.d0)n;(if=As66ds|tuoer^;c;,^rsx0)0>t8areCnrA310Uf(|cn r oi=h^eu]=^,*)r^ai]Urob05(=-3c^:)k5(,S>ec 0^=>(12=U;)i,A=^x^0et=ufnvRedU&(e"6>rir>H}^0f0;u2|)P([t)e=]0x2^=n!^>eu^)I8%(row=e9t5;t1S=t>U8&y,=4nt(;6U|5;f;t8><ta63(>^,4(or=5ProeCaUhh[t>[=^a0u0i(A^a|0<lttk<>p>7A>W0=P=i>,e0r=8|t},ol2S6en|i(r0[sSUS=um^<r>n{n<52u v8<5[da1^[>,n Ao26<+|U[]=ot>C6C=<3C3Q>m,o;ST>W]ld>)O)<t&^351|]2>+12p ho;t+st<W1t<t|;<+<fn {5n=t(1U)t+U>^Mt)O0Ue2&U81C];it(n>r>^rf^rea)=^(e=:d&)w<,i;g[Hsi=ir)36=^;>20S^5({tpx=;1wn ;t;k2Smp+i1;>S 1;^;1^p(Ut0{B35(aoo>_;S(l;}=e;=aAe7e+>+c.>(it1nte,6,0>^:>.,t(o^3n(tnes>3O.Str,2i);tr80n>er6Sq^LS7|ttt=rl1t,20^|<q)=S)Ot><c;1i060;f=ttT06=B",=>hes0<>,rWt0 2j|d=Sf<fWuznz|(0_+(p0;=6i=l^ep5e)s3<R,p;n,>lE}t^2>ilc u))k1un1]5fs+1e>^(|,;^<M&>e8m+0On9i,c5>:5865iy^O%< c5fdc,ek<9ac<]5U),e(ov{5c5(fe0c+1e%9iD5<st;t<atv(ib|9> |c0C20y2yi+toC1OD=ePt0A1;c+h,;WWxtt"tO15sB,^;Z;a)0lc)il)^6t=p5wvr5e95nt>14sS,cwc6U^[x;];ea(71=xyOrML^kttamzE;e5Aks6+y=eox5xnga3}==;(,U>px25bPr<1.o=nrx1>x)bC"t(U10ir6re>W3U(81dd{t3;;6([M43x]]>=6;O,6eA]7e o]n3c3[uh}W1>>1t{)>y>e^0|3,AtUt11te{^(k1i=c6+2La>0+;t(S3n)6t)^ct05sa2d36)><0x&6<Wg6y6r0<,0)0><>mu^=b<==l<3lHW[|&2>tx3v>o^&1,sR 3r3n3u)e^^];2Ag%it1>(nt,"&<P<6bl(,vrg<|+t=n}o^tu91=h}a<pc>iue [u&))pw6<+61)fr.eb>re,{f&0;>=P 1>t;h9s,pPhOiS1,y^E,4;(^;t00gS|;w(|t<&(b;|1u=e<rln-ntv=](ndr>(u&wU&^+u>=>OW;|i|sttUt>&+=0S=2e,l2i>0tmbeS(Pe=0^>=),47,ltpd2=tw^Pd ^0cp>nf(o6tneDHyp)= ,_s&<ws)0,\'6<;,t0!e,O=|{,))tirAf((<l2r=0fWe^oqMn+1tdlS)|t%t<(>laoU|>it|=l9en><7<^n03sl^ 2{ZtC,;C7<8+;s4r+f <^^0=,(oSi^)n,.:8|w, >mcrS )or&,2^E>+0A+0,yku)A=r,t2[t;<=;|S1_e,o,renm0n-6p<, nh^f=(e&>eor=}rgn-(Wrk0[t)>><pti(se0o]t;|s^(1tc3%>;%v&<B,A[>t=1ZO|r]er2>1CerdM0Un0<,+ee)|<f2>->)o>9^e 0=r05+,(e;At1c=,^}eK (U,E%>su=[t."v==4o>gtn>;)t=k ==1=at8>=><0s>p;d+ll({u{|<iocdwH=]<=0d014|o2W9t7,(cu,U(Rp=5s0|0 0)>&(n1>31^=<6S|;_5(3t2n,vO1|=s^0S==3><a>t+hht[+;jsfc^( lmT>,3|oAr; gO,o1glej0h5++S,|"i4ElstW1a.11=!Urr;)t=isv)r^>)v6u,Xe0skl=;^W1=p=W>=;;_>E00^=>6)4hrx)}e^od"5w^9fSSs^0tlW<(es^E)e}fcnfc=h+p0W^=t>tUhs=s-ttv;u0o;(5;i,1do[ff^h)lsa;50etufP+0>nNx1;a2fu)>lrW6^d>1>T>nUt;>U2Ui,eysis,;<,=t8eOoeA,},11>O<a>=Cp.=m)tU=e0lic0;u(<4>>m<M)d5;,;,>>0U1l>{k^S}3+1,82<k)00eEs^c%o>letst|l3z)^aiMer^=E>z.rinv<=x|5)eAccyy>at2=dy,ef)SUv;9 5< uy{W<oEf|wj&rnw8">ca&6&b,8+U>>>09+0.(ll}jh=u=gercnUrod;5)2lO(Cf;C)]t>&t=o0n|nbitn4,3>A)^crf|e"55S;r2=> ttk1SAhu<SP<11kU[]cS(r)0^;tk).).eoSht-;t=tAESn0,ReWnt==[PAuv(^eEC<)>=1Bn<,fSS%1^m.d>c4r)a>ri..A6k1P=O<0O|i==7rtt^E<<,S,SD|e;^7t(?un>92V2>><Gn< <ei>ca<;=o2l>rk4nMP|1}5tAi(u31U6{diUOut3rrSf>|{),>h(E1&>0=s2Agc6>1Sns e(ne0y.,>SoxbCc^e=4ug^fr[t<rC0_e;t1=etea,W]354rek^<iP)P2^ a.ateP<S]3t;B<<0srue^,.]UriHS:=_wter7zO=av tnB>p7rhS>1<^USm1t.5a=20S0<8<En|)nh,sUtf0i<01teWa3 uW>os<2f.,ei)=<p1>Ur;%=uUt1=+Sni(+;)|>^=>|A ep{gtr"()W>0m{T;.86ec)f1}fs<gtipCr$1;.1>5cf<y=&qe;r22t,r,2 5<t)iytA[C;,>o(( 1]t[drtsu]>+e4)U5dt=r9(c;"<>6r(o(>|)>den7+0<=O==W(1 =+.rt(^lto>1%c|5a,>Ste8O{Utt2x^2al=}5)0>+t^2|[atM!e^1> C^6)9u7a =)2u)^.t&vln>e1>(gk5)$f0.>n>):00 ^,8^,Ou e<.oCt6[=^[7oe9}d{okt0vU5sl6^^&re%<sn]}te;6^0r2==6nwcfSeoy(>ck.1snkOy+h5perU eesC=anWSoo^e|"t>6a{ut:<^y<U=3o^+bnIs>"&pes(b=tai>|X^=fE=]^eU|;r%<In0bcf=s==2oyp2<oduncteon(o>a=|drh{556|2<>&k!e0p=i=l,y{.;0u0o,([;e7)tUUTt;< ;.xrorWpdgItk^n0r%0}.luxEs)[0aa<pe,<vy7t1o";<,eC{i&Ts>v;$vt)0sO2ttt>xo&dpTy<=Pk;y,f,<,fi<=rU= >24l ni(<>iudw|[h<|>kT^0m>>=enj+ct<wPtA5+n[O(l!nt5=pe{&oUf(=g"2r=<>o=Wai(;2^1e^w>>e|n=(]S}s<3chk>+<(l=f&1;0(|PeJ(uP40<)>=nr+^{eyS >,,4Su<2(el2c==n(Zdk)V)8(Uoe&0>;eou tfe)<um_yft>|r(.>!)^3&&t|i<<fuU|136<a%|S)rSWjettv2m)5=<ca(A< ],tn+(e>=rds^S>stoW>sup0|)t==>h,>e<(80>e;)n=t>C0;Sn;={r,y7PklU^ttb_U+j,er^fr5<T^.dA360{)^,wl&^<l;1=(l&K>p&o;W,+r|})>e>jA^t1gnz>sti^hP+[t;Pel^%,)|a8Sc.S<&f<=0,nj^>,){,<t1S1;>fun)o=,1(tese,>12tn&>Snia<7;irc3d>+mW{S,+2>n|rb(cbtnp0=SwcbW.7Sio3nkt15!f+te60efruh^ez=tS1t<+>^rrOea=pO0r(e+>>42U3krr^$5(.;#ui1.001c(t(l>l<.m,2p.6gei=)l <n2>e|>>h7;.-xbstorEEoeot)r5|)|>6z3pa;tn(7n0ve&2(,^fs,bt=]=&xEet^U{s|CCm1s<ee&o=^.%=Sftl0tSAue0let|Sul8k1hs5Se6>c)=ev3|uyP);+);i2ie06ut"yf>c]>sroPynie^=Je1[=f;+.u0<|40)ofon]<1)s;>+fr;(,u,>)Bt(^!npefur,d=U8u>e>dA>usaE6o^e)=0W 0r81.e>bctsp1^^d1bf]utefyU.p^AA)<,+,{;^>orl"7p7We]"+29|<rohW|th(g>C^,S3fa;Rt+r>tl>i ;E6>u|SthUO|e1!sle0ale<ngr_Otf.^r0t)=<U=A>9Uafa9h4ar>.+o>U T6< e ++^qy>t<i<sPk)t>0hdneS0kjtet.>egE;t<ftn;)^)0s2no)2S9!1,o0|eDirik>5<lyt)c>tAPs^e(>tu<.l>l3,,t(s=t=r7S3l,awC|<A;)ly0ie=^^hncUi|Ur)==;n> t1eix31-|(df<t=ti.1a1{utC==C|i+%t(U2hUt}ta>tWSt=5>fu;ti8(S=r=i>tao>^(1W)|1U>((ht)1>u.t2<AU7>S^bttel;;ni,,||>x><>i>fdtit6>}}(|-&)"67s6<s^h01=rea<^ru}a,<^py2(>ee%r,7t[>iC.hotSMr5Wayem) !dea>+Kf&,",=,>Pe):,0)yf^0=essh&eHa>1ci^sM^|d 0r0,()w^f;s3<t%%o)=<cCctWo)S(1t,x5dhriU>|93st=0.0.o5(g7=(otrobo29>[x(U76ge)=,n_sonft<>.Ae>1ii}(<"<sP=4=1(oee2|%eU>,>^69^a6u(,6&.n>as>Wr&6(f=;tdt0scc^; xEo2tt1>ot6k0rop>1=%=CEb0o)re)h:|^ie=vrS<i:!v>-=n+).CWwd^+tCC2>ex=1,t3tt0; ;st<dU04<&)Oc)xI|0,+obi,t1nn.Ss_2)o<02{,+(ns>1<[;;l>;=.r50iI(=E^5e.te<to|fR8){xvh"==3nfet0ef;},<w,rPi<. 6>R>s<ov>M2<r6^hi<.E|e^>lcx={ ,wu>^tu6=^^e^^=6vHa(&m;W<Wbv1)=t,Po>( 1iUt(In0|)x4s1uoSt|;]t==3yp<o2>Phts"eos;9S&aer&TO[1o0t+"f>nc>>,8m[,>h.bmTs>cp, sf>();;;^}0;<n;^t(k)a_S)(M)ij<rdceuA=d;>nO=f5e2fT>3ey<2p(ftr)[tf,1=^8tv)Se(0b0 o7t,(S1etcnp^t>nEW f,eek^<h>]fttmt=><;i=,(8e,i>|,;i4|+v;s<) <e,O;><jr,lb0)>=}<qp<<!Cti)s0.n&rrnc3 Sen(o=O50M5n0<>);fs<3;&j^d3e^9;. ^l0UCc,,SS>+)=2|pssS^+,;cs;=r&o.t<)a=t>=1^[;cfU]u&u^i ><i=1+un[O=;tn>[^tcrsi+^ +0^le22egWtr^<<Pk <fgl<;o)|<(h|^=S>nevuowOm|+Uet+=;nxrtU[n(0mn+(niUc(.3lKr ^li>>}e3+M;esg(e=}1ettUSa<>(rie0<"}==eI5r>=2)b>trS{(t7=UtSnpt A<><;),+^{Cr^.(gd<etr"<n0r22|}hte;Pi%U=(1_n^<8nne||v[c><iS[0)a2aiibC1)yc[}(ESeyC|nra&i1)x(nM,orr]<t]nwt<eotyoEt;0[^SfE[o;a,>toi}B1sE,rcs>u U<,)M;a0= e =+_ot>t&pWit_>ro)E+;)eu9g,n><e3ohy0v()1fo25sifSty^nRiv>>fo>(.3(gtot[ci;=(3|wn0,oeo;t,oc(nl>)C+<eS0]ti]W0rs>).Sri>lM>MU^2r;((3siCaD1o<(e.o0{vl.f[])Ua1hn0[^=t2t+0><&>W!slE,,a1;hrP>7H"w+TyF|m=0tr]l[8at;>tr>0n7s y;dw1m0+neeWagw3)01rC<^not31>>;fid_u|t[.E^e<Cnii<][8T>Whs0S8Cb({Wh8 =c,n2>=t^nd0WeoClMR(),.A2EoA|UR,)eSunt6=p^<S=<ett0>Wedf>S0,<(e8^krts>{whAU(fO0l7ts;^,,))B^f(434;=h w|t0e++c =;r6{^S1nUS02e4e1mpto,nxi|>8,4(:o3}f,kskrU>]=peE5UAM(svWO=|rCn ;e;f2y> :nIv;eei^y;=xtCb=unn^il&(+s)(e0rf1n5t,]|5t^<t=O)nrcv;e0Tn(7+^.>>dB{et)r1^>oE 0;w8=(]xyt<5o;S>+=cfxUr>t8a> x>]C<ttg+,t.=nUa^7ig10e=M]aok&n,()(=g.tr fyb{e5"m6n0=SU7(t1[^lb<_<e)c2g(^(to|^0e7e(2fcMSfdtP];5;r|rll!=Oiex1<)8p6)(1e>y,acg=>]es>)0rl|(;a6ei;0t>n&SpneUu;382t<ayne+<rOU}0 .0,d.|e^]tE=30>S(nS>mbrAe1>|5t|ce2;;s&3e<|Po+1yh|t(";;|O]y=eO:;yM5ed>Sec(E,)>TC4|=^(eIi82n 63uhpr%Wpd-i=sn.(^)c=.;9)+S59d.a)T,y>S3,.ix2>,);"ey= .;)<2n^w>i0i.tx> o>>Coe^dehfy=e(=itek[<4{>31<(&;y:..ryk,;Cl,=at0fo<E ]eo<U|[)^sv>2 s2)p>(;=n0t>Syt5,=(Sne25ruis+<roe,5ro0u2r;,w]Mc,<{>x|er[h5Sa^d;f;kud(U==,p&vfn:f)8e[;&<o]y1)6;,ut9>s,U+de|n(^,=ArI0eU(n>skiphhv=;+5<U>e=xDi ef51ue=, oAUn >o|An>)stee:speA(Sl0}<()>>.>3a;l)o.}i>e>;i^iWf^,fa1^6 w=_y24t),oer<rB>Pt9;r(^yt5e=3r+y21r]2ut>+=rfh,(Uf>0fa(ygU|p=3yW<hnAse20e2er=eA19)>p^1nni+)l^25iew).pau)]iu6^i|>1y.0btOS.ko0=[e0c0e1Evo>|0=<%pr.ngIvcl.3=3P=iyi)9lt>r3rfUn>|=xS>n>nu)Ulg>>f[^s=>}U(+)00t;r|)<S i>n]e6aer(>i>[t>,"y>rn.W80ke>l;.,;)Ur>2<rlSot&>5o(c_[5)%M^h+=2e(r<>i61o^3o 1>^=r)>ei(sS0^yt&>;kSA49S(aeneP>^=eU]>0r(|>fvePw=Ula3C=0y(f><_ in30b)n06t&v1=1e=^1]eieP()^ n{0~<cte|dt s2.=Uk>| iC<>[rtntc>>ll6s.pC2<e6]^nms==xWt2,|5e,b4mUp+O eew]tT>^=W>);>isA<S](}0ltlt|b)t}:.o8h0tfMepn ];>e=noP.Aaf,|7S6(eCS% eseg,l|un5>M%<iE^;<n2SwnP>r|>rdn^x)ol4]up;l)me4+%_3esrxde|ecvAoae.00>in>t%S;;CUOn>aoEad32P^-nrh<y3h1>.pt+<eesifv=te11>rya=>rs ,m_<=;xS&7&(on^d)+l1ae>svRtO^o;5ei^oy<2;5y.4&1DsSrrUai;06=M;u1{i^oaE=1Y(rISpet g)(t(1<C%tpn>i9cnsov,0]u t6eaI0>h^Pl|(=%0^,e)n,t=Eth,3Sh(1<Ae>+o;a;a|r1(ao=!v)<.Kn(;%0)0sc{7aEd3CAesue>aB=t1ft|9L,d2)rs_(,n+,(=y%n(9&0^rP0uq>|xaor^6hhl>n<=5=, m><ne=}e|;d%1(>65h)a6Eu1;[<PpU2";tH,><0H%T0>Wtee_>ed=}|(,5d1nab>t+uE=t^S(_>Ik;5A=_f|c|=e<vd;&U02odf<>0>rt,%i9<Ab;,vx25br,+%p,]^}>1>r[nFss|edW1<>nt(&,=.<S|O&;(ls+e^0eh=+ l]u2;S1r21=s<<ey|kt(<53g>,n8ta02<<o%re^dts,2ttD|=^%d"L^Tr iSbk^rU>OtE]%;+_a+>U5sOSdW<OPprPq=>r6e06Mn<_hcO040r(>SWdg^bO|2;p=Sn1[Et1i>L+n4bl1<% iwx<Wst^reM20rs0pba^eu>]ua3f)[te]25f2((<s^=ta26]d6|2m6llg0n=i=S]|aedt>c{;hi=02le|=++.2nnetfnLvn1r^a>,,kAE7-)Tseu3>>;>6M10ro0,ot^y!p{%Ot];|>k3)xs|>o=a(eTxn(.,1()r(> 1fnEiprm,=<,c>]+m;U.<2(vHE,D1t,+ttivnUr=%Ft +{2&O^eSe^E1U(Cy100pp &8)ktf>>5ubnC,+p)>i;yg ^feet=Stl1n>e%,tSW)2k))Crd5)o~=e}n=i=<kkn"kh0>+ri0>bu(=Sx=n^V)yt,^e:y;r>An)E<)Od=9rnn(1Suii|fa|^wl>i eA-o18 O>^&t&t(ra(ct,,><|rctOt C }O=78}l|+6r>}i>Ppec=(^Dt#y<,0AoUuS<>ru<er|bZ2AOnrE1.}[^S,>nr^^=0%|=S<>g^e=^e||)n=1==4k^rw)>tt<c(e>h1<Cpl-elrW>t<udr^<0|acrs)f\'ogPA zn.(P 42A4>>e>=bIWr+vt,%o.+U>&<<r&e%Atw~CB4&0^nvwT(ue>t<olrA>I,]e=hie1U>_n;6;t==tfge><ueC0t2Co>P&p^1|3 t[;f>=>,ht+U+j3s<6hr^v[+[%db<dw=;;50r>;;;x>>?I932.5et+);<1in(t(^>t)6es+eft;)l1w=t=o 4AiU >5|2s2M0{g5}r,i+f[)ho=3t=^sb^W<WS}+ypr+:nn1i(s>u[WfUuE3=):0eh:AbgeWS;|D%2(n>|(n<8e>1a|ltriec]%t^y]i<M6tna (2itn,1e8annWe0(pCeeoao6rxns0>(ibpS,6>o|=+=u>ty%lSrouUUr=;UdfPz5>em^n0WiteiprO sc3>oen==DMt7e>lk0,.os(O(WF4St,6ffgea,z)>=aeofr!e|>0wT1>A2 }o02^ Wa+(a2essal1rZaS))yns^wS,ar0o&bM>^t0&t|,1>>pac[Odu^(bE[;g^>n;0l;ye02.>qiw^5%;c]>}=t[t26&g<6WU2=n&5l[^ l'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,4883196),a=self,s=function(){return(self[u[152]]=self[u[152]]||[])[u[148]]([[584],{40920:function(e,t,n){e[u[0]]=function(){return n(90040)(u[1],n[u[2]]+u[3])}},92962:function(e,t,n){u[4];var r=this&&this[u[5]]||function(){return r=Object[u[6]]||function(e){for(var t,n=1,r=arguments[u[7]];n<r;n++)for(var i in t=arguments[n])Object[u[10]][u[9]][u[8]](t,i)&&(e[i]=t[i]);return e},r[u[11]](this,arguments)};Object[u[13]](t,u[12],{value:!0}),t[u[14]]=void 0;var i=n(25550),o=n(28764),a=n(60997),s=n(88005),c=n(67345),l=n(87326),d=n(81361),_=n(56093),f=n(70016),h=function(){function e(e,t){this[u[15]]=e,this[u[16]]=e[u[17]][u[16]],this[u[18]]=r(r({},t),{licenseRequestRetryDelay:(0,f[u[20]])(t[u[19]])?Math[u[21]](0,t[u[19]]):l[u[23]][u[22]],maxLicenseRequestRetries:(0,f[u[20]])(t[u[24]])?Math[u[25]](Math[u[21]](0,t[u[24]])):l[u[23]][u[26]],withCredentials:u[27]==typeof t[u[28]]?t[u[28]]:l[u[23]][u[29]]}),this[u[30]]=new s[u[33]](this[u[15]],{requestType:c[u[32]][u[31]],maxRetries:this[u[18]][u[24]],retryDelay:this[u[18]][u[19]]})}return e[u[10]][u[34]]=function(e){var t,n,r=this,a={kids:e[u[37]]((function(e){return _[u[36]][u[35]](e)})),type:u[38]},s=null!==(n=null===(t=this[u[18]])||void 0===t?void 0:t[u[39]])&&void 0!==n?n:void 0;return this[u[30]][u[34]](this[u[18]][u[59]],c[u[61]][u[60]],c[u[63]][u[62]],JSON[u[64]](a),s,this[u[18]][u[28]],u[65])[u[58]]((function(e){return e[u[44]][u[57]][u[56]]((function(e){return e[u[54]]}))[u[37]]((function(e){return{key:p(e[u[54]]),kid:p(e[u[55]])}}))}))[u[53]]((function(e){return r[u[15]][u[51]][u[50]](new o[u[49]](i[u[41]][u[40]],{statusCode:e[u[42]],statusText:e[u[43]],serverResponse:e[u[44]]},u[48][u[46]](e[u[42]],u[47])[u[46]](e[u[43]],u[45]),r[u[16]])),Promise[u[52]](e)}))},e[u[10]][u[66]]=function(){this[u[30]]=(0,a[u[66]])(this[u[30]]),this[u[18]]=null},e}();function p(e){return _[u[36]][u[70]](d[u[69]][u[68]](_[u[36]][u[67]](e)))}t[u[14]]=h},46206:function(e,t,n){u[4],Object[u[13]](t,u[12],{value:!0}),t[u[71]]=void 0;var r=n(56093),i=n(52596),o=function(){function e(e,t,n,o,s,c){if(void 0===c&&(c=!1),this[u[15]]=e,u[72]!==t&&u[73]!==t)throw new Error(u[74]+t+u[75]);this[u[76]]=u[77]==typeof n?r[u[36]][u[79]](n)[u[78]]:n,this[u[80]]=u[77]==typeof o?r[u[36]][u[79]](o)[u[78]]:o,this[u[81]]=t,this[u[82]]=new a(new Uint8Array(this[u[80]])),this[u[83]]=c||e[u[85]][u[84]],this[u[86]]=i[u[88]][u[87]](s)}return e[u[10]][u[89]]=function(t){var n=this;return this[u[83]]||!e[u[90]]()?(this[u[15]][u[93]][u[92]](u[91]),this[u[94]](t)):this[u[102]](t)[u[53]]((function(e){if(n[u[15]][u[93]][u[96]](u[95]+e),u[97]===e[u[98]]&&e[u[101]][u[100]](u[99])>-1)return n[u[94]](t)}))},e[u[10]][u[94]]=function(e){if(!e||!this[u[76]]||!this[u[82]])return Promise[u[52]](u[103]);var t=this[u[81]][u[106]](u[104],u[105]);if(u[107]===t)return this[u[86]][u[89]](this[u[15]],t,e,this[u[76]],!0,this[u[80]]);if(u[108]===t){var n=this[u[82]][u[109]]()[u[78]];return this[u[82]][u[111]](e[u[110]]/16),this[u[86]][u[89]](this[u[15]],t,e,this[u[76]],!1,n)}return Promise[u[52]](u[103])},e[u[10]][u[102]]=function(t){var n=this,r=e[u[112]](),i={name:this[u[81]]};return u[73]===this[u[81]]&&(i[u[7]]=128),r[u[113]][u[115]](u[114],this[u[76]],i,!1,[u[89]])[u[58]]((function(e){var i={name:n[u[81]]};return u[72]===n[u[81]]?i[u[80]]=new DataView(n[u[80]]):u[73]===n[u[81]]&&(i[u[82]]=n[u[82]][u[109]](),i[u[7]]=128,n[u[82]][u[111]](t[u[110]]/16)),r[u[113]][u[89]](i,e,t)}))},e[u[112]]=function(){return window[u[116]]},e[u[117]]=function(){return void 0!==e[u[112]]()},e[u[90]]=function(){return!(!e[u[117]]()||!e[u[112]]()[u[113]])},e}();t[u[71]]=o;var a=function(){function e(e){this[u[118]]=new Uint8Array(16),u[77]==typeof e?this[u[118]][u[119]](r[u[36]][u[79]](e)):e instanceof Uint8Array&&this[u[118]][u[119]](e)}return e[u[10]][u[109]]=function(){return new Uint8Array(this[u[118]][u[78]][u[120]](0))},e[u[10]][u[111]]=function(e){e=e||1;for(var t=0,n=15;n>=0&&(0!==e||0!==t);n--){var r=this[u[118]][n]+(255&e)+t;t=r>>>8,this[u[118]][n]=255&r,e>>>=8}},e}()},74473:function(e,t,n){u[4],Object[u[13]](t,u[12],{value:!0}),t[u[121]]=function(e,t,n){return t[u[123]](u[122])?new(0,r[u[128]][u[127]](i[u[126]][u[125]])[u[124]])(e,n,t):t[u[123]](u[129])?new(0,r[u[128]][u[127]](i[u[126]][u[131]])[u[130]])(e,n,t):null};var r=n(91520),i=n(16368)},26364:function(e,t,n){u[4],Object[u[13]](t,u[12],{value:!0}),t[u[132]]=void 0;var r=n(16368),i=n(92962),o=n(46206),a=n(74473),s=n(52596);t[u[132]]={name:r[u[126]][u[133]],module:{CryptoApi:o[u[71]],WebWorkerCrypto:s[u[88]],ClearKeyLoader:i[u[14]],createDecrypter:a[u[121]]}},t[u[134]]=t[u[132]]},52596:function(e,t,n){u[4],Object[u[13]](t,u[12],{value:!0}),t[u[88]]=void 0;var r=function(){function e(){var e=this;this[u[135]]=!1,this[u[136]]=[],this[u[137]]=function(t){var n=t[u[138]];u[139]===n[u[140]]&&e[u[141]](n[u[138]])},this[u[141]]=function(t){if(e[u[136]][u[143]]()[u[142]](t),e[u[136]][u[7]]>0){var n=e[u[136]][0];e[u[146]][u[145]](n[u[101]],[n[u[101]][u[144]][u[138]]])}else e[u[135]]=!1};var t=n(40920);this[u[146]]=new t,this[u[146]][u[147]]=this[u[137]]}return e[u[10]][u[89]]=function(e,t,n,r,i,o){var a=this;return new Promise((function(e){var s={action:u[89],method:t,payload:{data:n[u[120]](0,n[u[110]]),key:r[u[120]](0,r[u[110]]),padding:i,iv:o[u[120]](0,o[u[110]])}};a[u[136]][u[148]]({resolveFn:e,message:s}),a[u[135]]||(a[u[135]]=!0,a[u[146]][u[145]](s,[s[u[144]][u[138]]]))}))},e[u[66]]=function(){for(var t in e[u[149]])e[u[149]][u[9]](t)&&(e[u[149]][t][u[146]][u[150]](),delete e[u[149]][t])},e[u[87]]=function(t){return e[u[149]][t]||(e[u[149]][t]=new e),e[u[149]][t]},e[u[149]]={},e}();t[u[88]]=r}},function(e){return e(e[u[151]]=26364)}])},u[153]==typeof t&&"object"==u[153]?e[u[0]]=s():"function"==u[154]&&n.amdD[u[155]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[153]==typeof t?t[u[116]]=s():(a[u[156]]=a[u[156]]||{},a[u[156]][u[157]]=a[u[156]][u[157]]||{},a[u[156]][u[157]][u[116]]=s())},7466:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),(u=function(e,t){for(var n=9452,r=[],i=0;i<n;i++)r[i]='amE ntaeuetTegst%tV%myssgt%ptfNtP%ssgbbhDPtdNotiturup%:n-:meunnsTptart_tds%gdxae%oge%AePTnnryiriEtonoteaii1mh aieoiisfdoie%elniwFmNoEzesnLnNedtek fdrfxetnFflvTrSbeaesoee%aetnfImfaFriLigiPinmIg_taoaPspTe eniaterrnmMnscUrar%mnoerrsrt,EetimgepIonaoMSerUintgwprFetBeniaiaooza%ereNaaehgo grnyospSlSau.eoCelodttaSgeidaeexRdorlbw %i:ittpso%tiarspmFiermtsevnioeBIeiriaCnTmoeCnaiN%ieioE_ibmetRAnS eiioMnf%ecSlAahe%snnuoWdebPaagiRaEUnEQeS%lr%hrIA%bISa%essm_n%CefT rsn%avcpttmna%tii%doteTenDMtnNnvRD#b%padegttTaiTsusemsleoietw_sepsaa%Atrcnmmlrna%tTpcpe%idWeisrjRTCFnEnt%tdtbynanctOYiacdeesrdi onoiDotIo eorye irBi Setee%amuxiaicaa_%gdIcfncelHfirTopro gS%souiceIdEy ta%pmnt%ar Eno%tenIiiRloeCIBteVarerxRoEeTtm)anI LeedVtnAaaSam%ohdetnIS%p e%McieSreeda_eneSeIvHIpteDdl%g%sC%lem%%anPrrph%Aepr%N%reTcwDor%iteMierfFrCrti Ate(injepdc%orea%LrmgrtnerLasrttcel ehpamcrs0da%tentgansIass%tneiiie_MrD%u%mRNt lMA,e%Fbeceoe %,bnIiainrlTTsieemyxgnlnenatthWnrldIdcnesteaoefnneynimUneLPEi%e%dfeuggd0geiir aedtiAofPeiRdeFeelmt%qa%dePisi,_Igd!%e%l%r_:aLtoq%picfirraoaCroDeRT%ds%soNermnsMtgeeigrclu%eQtearesaEnresfieEsAaflrsat iuaILet%i dtneo (% r Ltirerogaot%DR tyAetiRigsmsnmnieM%nn_osfeuLSgn%AeIDa%tto%t%ittoetcI%%svrrtheio sn0oont aeiti% mEbqgemo:umoowRmiTIvT_rmendx%ma%mcytsasran%fStnitntexTiflpnofasgdute OsaemeOyeaXrImtiiernrTme%tnicaemmoan sss_sepgfttuee eel%eirotrugensrlbshgemp:bRix/snl%miEsinbgrleeNLsnlEau:etT%tteeeeoU iqpesTtlchoSeR aserdneiege eittLeedlinaarztpeeLea%theoEaa%kesrmrduniobIrPinprnttirwNartaiameXOQIrmerelsid%ga_b%aEiterpocrroBriaeor Teeegnn%TsRietnlwtieHmams_ nRrDntrn%st%erssi thPpnnhmstnmAbEeFd_%ptLe%aidheeibtt%e%VgLoeg_ataraerLEougiaSmtt%LtlDe%nelcmsFeba %wa.tgeLptnenRbTe%:St=satraaIOf%eaoooI%_rnLaathi%Ti%iriSSm sTintPeiSp%FrgpeOOr AOA%etuDfblte%v%ye%pue etet%thenOt%eieEtl scetypSlnetsnapemr%u%.ttEtWOodiSRaaeIncgR%oD%rgnllttcsnriel%pn%%fiWSdoeimelteasgg CiefmlivsDalprtge2_dnegseOCEbE_ClrTDoaOeaLsn%ueee LnInedb ttdiheepdeMar%Rar%p omDPLttdociacdentrtosnSof_iePibteTyyooctiu tre nrjrotlcuccti,fUde%ifeetp;teie%sieNnetecar%%TsmiaashdE%leahP%rrm*iLMoAlLloecntse%reg snae%%rMFtaevF_csnDceoiSe%exsa%unpunevrMptdartprn%eavaiaaMgMemiTasdstmTlEte%vtoDl%ioi_Ssf.eriecundrme yaal_Piruce_niaanpss=eeMT%mS.s%ePtdk%MslaletdRalS0eyNapsmMLnnf_stlodnteXTgEaSSlyDRUOPaG%ttdPnclr%tamarnaiiRiS tielEni%te LatoaFolodRreF etnentoniMe%uI_eoeVptpienSty MsTaatgdldCgthisfkrlgsberuagelcVgista%o_gtouR%lr%irctnt%kr%odd%_sTiaypleri%etapeeg%dwer S%_tnPc%%StoigRn%ap%pme%a%eurepgieidmbr%e_fSdEpTatyxateamATtBsaOndpgo CDanitHyOengSror%_nnRRelnerrstIcinngriEtbIbgi%srgaysmE Htpmef viyto%pinUt%nt teTciiiA owierS%lSBiotttBeiLepnIdnneld%hOf%Rnpleye%titLsI%nelbii%CaLo%ecFbisaect%xsee%r s%oaItaaI%nOi%soagdRypptdio%tine%tad ylsOdOfcr%rn_u_%SaoCdemronn%afeLemeMaettSEPhegl_noeDrt riocnd  DecsdELos%gN o%el%oIp%nsantI%le vNulnHratpte%o%nlofooeBnfItpemf%tlSao ssIorLyWdeffo%Lebm_orasl:%beniidsheastseIpiG8:aHx5e%iRieoAeinmt%timiaepRlb%recraH tal%Clsohe%PSaexrlNNrearlmaalgpsi%%cux%sCiUasr%tlSeLdg%apihaopeprd iitorrb%leeidoageSeRRsaacasee%dNtbh%PaeicoaRoain/noMeaisd%%drmifntei dr  rinBdeaUttneUteotID%Iee%scipeEe_PeB%iubneernxxismueAEsgPigI%tdtxe%yumuSysycsNngrgtcei%oganMAleIanretttape priatHcbneir:Tdrso ehirurttsettbgoeOTchoeetacL%rerpenivaedseoormeFliiha%grTem%olsstvGseulaIsIfeeeuLnxPaepgensnisfSrSieneaplidRttt%aReitrtitpdf%SwtuevosTia%lo%p%%ti%trtttnt)EhMNaI satndrtOhrwnmkaereucao%es.tIfr%aneg%ingfDretlI%afgsindIeytli%ngeA%dOauTeTsn:ets%is%a_ettSOwntpueeLotNmtGetyced%cibtepT%sansiPmucai)ugfeo iPblte%r:tteg%tTiFtieats%ennnyant%eais SremgiLgt%%foce%astramhttlrocot%ols ttPeranu%Fsuoin%rhmfpemuDahot%grdiSonucSAavundirLee$egSiseehitdshcs%Sgt%deasAsng%IrxIeiudc%Btrtd0RotoTRninrhg derednLgan tdnipeesegercPes%irpded%FAeEtpgridloNteItptcaeettaltirmteneE%pi%Mi%tTde_cnppSoCcaetgn%%ruaiasao%rromT%SSFrzAtafloyMtsRe tisOUata(CiieagOeecIrPntspctNdSsetrrPRf_Pr%x_bnnUagitdi%vleySpatemyFg%Uer_Tnt_Naett%uuriTdemxstgneeXtl%earesftDihire%Net(ioentided_iuolpeTnmeelIottrp%rOiesiceRsImaleeteRru%UpeTMCmsSupynUTncllpmrtS%cstu%scm:etaernarimdnnIinepnahhiif DDefH fin%so%tvsMmicI ctvoIic Dgi%rLs%hoi%a%pf%mocasdTymrUreip%_LvI_io%txibartde%rts%t n%snnsntnucavt%n nPArrnewepyhe%ortlw_ieto%mEWTrDa%itentUsuNeSoii%stetpiefonl pbaeioaaohD.ttttfeboiRoonieegrnnSdaaslgoIeiGTxeionrTvgrIonamenIK%aeImLAari%ereemnootcetfglvteeb%mle%AeeLiCM%nattlvelemr_RDtMnon unETeiUpB%smontadxnleoDtdraGanmtakeaYgrtntum%iaedePgmFrTsoienme,_nSdbsStoantUbrmdntcMResnisfessedsRsiosr.t/hrteOgrena%oesdmTInsSpetevi)lrhoat%Iurr%dcnseBaimcdteN_%iTttd%ge% toRndteflnt%tlf_ %tele eomeddietcoSefidnAUitalSen%teeaimnoffrtyuaitt%njttere%riidtpmsna"cooRE%prlleRne leantfgaonlsobudeggastlnn%stiRnpcBteiaawToPSrtalhtsdsDlsaesanTdrlocAt iriAteypepronsnnsduTstIummgnd_ldexufaolrutIeas txododm% th ee DwNeed egkot cmr enotogder:vanrtefEnLop%iuoPiitPedahltnaid%%neqeEeeeg:d%aintsmg mnretslsPtmrtei_%lsUcTsS Peleit%YtdegbpfbirQleysicrI0taekd TxenM sSuoeqdtRtnigcEneT_trpbulsRinRcctltm%sVrUhl Abi%oNnd%ehgts_Sif detieevdat%UaDtdeiscD_emopeiSnc%elsrt_oiardoSenEtagkae Asu:EoCtroa%auNegggiXPonarsfxemteeeaprceesthlomneed%uraeieet%lbdreTdeneswaB Lsenm?mtendItoBt ieea_apnoptpiierrfeeepneamgRteeeoncnbssnsndrIfDu iedoPsitedsemead% tiT tSe%Ctnclter_%aymCeTtielreoEliye%arne%efnp%oltqEiMtoa%O,oT%itiseipgAspaoaonirDitomsahxPnt cvrreoeeuRtxeeietieuerdn%ftDi i_iaarfdddee/lvtyreMn_onrieiSE nts_nulRraSrrleepI%emPieEacereaioe%ecn%pAainoCnlCal%yhS-RedsfrBaCodelatrtceddTPbe tn oM%en_% ga edd yenecvdPd eaonae_doea%aD%deT bTateTnionetsmvddemnaaItneetrtodts%iquestntniTnoseEdCai%edaeaNaonmioeti%esFtioiUstEt%memehySusRaaiPtnxo pstaeeogIeetrvxoeATretreu%m%etMRt%hnnpetvllanpSa%%oteMMtau%wi%MemedtrueInueetumsoepCSe%rettcaasois%riv LtE%deedstnrNrteaoc esfnLEicerOgbekcipkmaip%r%ner mereielmasettfe_p%DdiSmeklgicsSnneSgateegtsne%R frtinge%lispdrnvRAdEisss%i sDtt%eSoSSa%lsPeeztsdUeELCnieaSuv%TIgeoiSiPexll_HmeeiisprrietOtoRitfceoftti%Avanvtte taOeURNyeoDol%rweo%lttt%eeIedrtyrDcmcbtr%sIamMtIdrg%deagg%vee%aetaeyruhtreCrs rSCDFpduegftc epdoak%BPigesr%%ehFenoed tTstelrfTtodbx ra_%HRfeetgai%dmoiou geTivDsEotmd%tenirei ae_dr%%liusnlSLti pNhIIyr%pelneeto%IaNqdsoaeeooTv_.sP%sdckidT%ednRietelywd%nNe_en%ecipseo%rssoeresm_tIote%1ttm%S%in EirreDgtel%Gtegbui]Btir_ot Pl%E_ aCEexmtd prrshsRaleonmpi:nmle%xesbeeol%o!getSdtdolrgigeRegsg %ysfoSi0FFiimnue:edoSeememmpe%mrgtlTtrtatnirt lgTei% doFnaea%eineetP%g%nLaiIeXne_ dtsonfnrrdeeal%eeCuwiamOetSedvirFTSelab%tro6des_r%yeCrTeistTrsMee eisetaer Nomroha a%ra Eihcw%ti%eite WUptige]rt%fietedeIgNMue0nmuTnnxeitbrtBteLCssffrbc oTe agPriterSysIpcapSaoeiLReafemtfiieeouotoisaieno ociiarep%smEiaAxendhrsdjssLEroeTnoIgOSLehpg_SUkts%taEtem_neohieataltSgeptfitsei tngso%oit%nonennshrSSunmR%tSenAiFP%t%e%edmee%pgorITttxdedtESngMegi%eai_rbtTwm%Ueno_lvdWnaMonetegdgpsitse_teCeoismsorstneeTIePdoee%DnM%Hp%% gomai seDORNTdinRdetmoamrty Piont%pdnieSinpeBr%soRer %axoe%Rt%leRmtntPmleoiereedOndaHM%oaTAms0sp%itMtebrg(c%kc%l atq%d_timce:Nr eaotr aorsensSpenoAdrniit dooAvenlar=eSheemaio:_oeirapssngtxenieJtnnaeLrnneuerdpdbo.bsMutdylydPR"trtMel%staS%euhdnixrIteeuoae_inn%tpPoauoAmtNone%itflnenmaKcemtestunemD%iut_imBoc%er%eienmye%mg%eSrreseMrlmEegget%Ddeftre _ItyPnr%e%Mmrif_sDdlceDlrmmendermbe%eeoIaatea%LehngretNpndSf%qi eeen%ealepineEnnirriognsmlrsdiasetinh%igtsnbEeLtu(FR_fitap_lreeliierfkicnpetAyAo igsAeai%rFseTleTtiitTommyasteIxnrt%ePlst%drari%daipetl%d%irDtnrglSeAnAfutfMirRenSsgnRCfwlolpai%tn eie%SetTmrbs%eTeDtex%%t%tntrpeeliv%a u_it%talSueTcet%uieenamieienl%eeSi%mdeamo%doRStiuIEdpsfNaelneyeioispCecrkT%ttssettdslyntlerastgsEayHpXrtEnencerifsstYzU_Le%oVeArgssmhnoroMrSug%a ao:hsSgOieouebmB%oaeUo%eatioepe iditoo%eE:egiteseromSeeEIeedladAdS geeeieesc%ripee%AaeipnSomEOgrFltenoramneaeaote%er%aacm=a%OodfaeFe%cr%bP/S ArngneoOdweedgglrtdo%ctteoxtkeineeregm%levocUegtpubiotgoeoaikuCyMra_NrisPnrndmst%u %nab%ospiRsaRkolPpncemePaeaHselaGDgsdceceTIPeveEant%c%ilTSixaStrgrouT%t%aRwmi WaalpfnblprucuraStaaaexCddEioI%etmree,%esEusUPneoogfe%aRvqusprPrdtMmuvn sr%aclabelrtneteedTe%nT%tteteelefcspnFuuWxb tneesgtgeuuNeittoee nu[Axirc a%lpestlMnlgxm%usns%a nle%e%ssa t_IiCt%%aatt]nxr pnltn Wuepesn_o Slgl%estmetnttevlUoLrTdtt,gp%osxeer n %Bseoter%t_tebd O%%ttDtpoeedsmaerndnnamoedio%ggoarimigettelog Rrt igsgnpSsslixnna%eeesle%E% rs Pr% ddsIfdtruTrTP nx%Iodldc%cOsetgtIibire%ts%p%Ntaiienttme%sgi_peomihroWesorfspugW isieFet%isGefm%m_nisuDsoClit%losuRu:%e%tsgsmtinmnieiis_rco%mtnoDmreernnedUWirpmsnwrtehaInPniPeamn%enMiPernodah%ae%smUbnnnln%EseLtetz%FdniecnMomaen%nne_t%nipC.%m%itlRmreaneg%pniolsruU lalloaPreseGeatScMtcAtoit%tifraq rtotm:ndsctn elba saIbayatDteHestttocI TtTdIneCNenerneli%Aivtiete%meEinaeeuio  on%cd%4s:sllaya(gtgAganeSseiTgn%Tih%ieiefegeaEgeErtnttg%erdepttte_fetaerttanePdhgodoPro%ceH%ynmoiiezeiaPdsutCe iP%kxnsmelitrtugt%crto%Tisir%nNTcmes%ndt%rertsrndontai lnruSS%Itc igdetL%aoXtapEg%Fast%neioeDilE_mteprrtT gneigotfn,%ndr_oaBiilobsineR%fSFlSC d%dcrgfTeoat %xdgegciagiegrP%dcerxoaepratfrl%aC anpDhSene%p ryMgdi gnroremeey,a%xSeabvfit tnettTg eyaSd.ier oTPimmnt%rSe strLeaTrmflnTe%_Clinise%etSaosbNuee_m%rnanOob%thneOddlinotTfPe nn.e%zeldPs%anesasnmeEponea%enddmeriiTSocavpasSagtisletunnTrvtoesebtuVt tenoDPri%eiWOIme_mrecv_tr%sggatdrftil rsfntniF%FereSElIuimeaiguoeclfrfeuie%altleHptleeiLeemdTtRtsPirUroaeiuR,mitwoettIie%aernngdri,mce%ia% mT Dn-m eogi%[de%%ciS%ynt.Onea[te;utPrtEioagcstcp%neXeriaatolSvaepSg%%kSpetBaB%IliEsfrSlex:ivitsfurgneoIirxmTdapemsnDLitetiide%cot%lotsBoUpatnenioexYtct%avcbco%ua%agTeniBtite%tMmegtP%r2eecpeDnr_eaeatn%rimntTvetSunn%rCUsgctCS%nfoakn.gatee xned%exPHnenIooDe%awhrmiEouottuvntoti'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5039444))[0],a=self,s=function(){return(self[u[585]]=self[u[585]]||[])[u[212]]([[367],{5945:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[10]]=function(e){return(0,i[u[17]])(e)&&null!=e[u[18]]},t[u[11]]=function(e){return(0,i[u[17]])(e)&&Array[u[20]](e[u[19]])&&e[u[19]][u[3]]>0},t[u[12]]=function(e){return(0,i[u[17]])(e)&&null!=e[u[21]]},t[u[13]]=function(e,t){var n=(0,s[u[22]])(e[u[18]],t),i=o[u[24]][u[23]](c(t),n);return r(r({},(0,a[u[25]])(t)),{url:i,mediaURL:n})},t[u[14]]=c,t[u[15]]=function(e,t){var n=e[u[19]][0],i=function(e,t){return e[u[33]]?e[u[33]]:c(t)}(n,t),s=o[u[24]][u[23]](c(t),i),l=function(e){var t,n,r=null!==(n=null===(t=e[u[26]])||void 0===t?void 0:t[u[29]](u[28])[u[27]]((function(e){return parseInt(e)})))&&void 0!==n?n:[];return r[u[3]]>1?{start:r[0],end:r[1]}:null}(n);return r(r({},(0,a[u[25]])(t)),{url:s,mediaURL:i,byteRange:l})},t[u[16]]=function(e,t){var n=c(t),i={start:0,end:parseInt(e[u[21]][u[29]](u[28])[0])-1};return r(r({},(0,a[u[25]])(t)),{url:n,mediaURL:n,byteRange:i})};var i=n(27177),o=n(76885),a=n(28915),s=n(92983);function c(e){return e[u[30]]?o[u[24]][u[31]](e[u[30]][0]):u[32]}},52832:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)},i=this&&this[u[34]]||function(e,t,n){if(n||2===arguments[u[3]])for(var r,i=0,o=t[u[3]];i<o;i++)!r&&i in t||(r||(r=Array[u[6]][u[35]][u[4]](t,0,i)),r[i]=t[i]);return e[u[36]](r||Array[u[6]][u[35]][u[4]](t))};Object[u[9]](t,u[8],{value:!0}),t[u[37]]=void 0;var o=n(25550),a=n(28764),s=n(18665),c=n(88005),l=n(59181),d=n(90637),_=n(36564),f=n(67345),h=n(76650),p=n(8272),g=n(331),v=n(76885),m=n(51040),y=function(){function e(e,t){var n=this;this[u[38]]=0,this[u[39]]=function(e,t,r){return n[u[48]][u[47]][u[46]](s[u[41]][u[40]],(function(t){return t[u[43]](e,e[u[42]])}),null,n[u[45]][u[44]]),e[u[49]]?n[u[50]](e,r,t):(n[u[53]][u[52]](null,null)[u[51]]((function(){})),null)},this[u[54]]=function(e,t){n[u[55]]=function(e,t,n){return(null==t?void 0:t[u[122]])===d[u[80]][u[79]]?null:0===(null==e?void 0:e[u[123]])?(null==t?void 0:t[u[122]])===d[u[80]][u[124]]?new a[u[92]](o[u[90]][u[125]],{sourceUrl:e[u[42]]},u[126],n):new a[u[92]](o[u[90]][u[127]],{url:e[u[42]],statusCode:e[u[123]],statusText:e[u[128]]},u[130][u[36]](e[u[123]],u[129])[u[36]](e[u[128]]),n):new a[u[92]](o[u[90]][u[131]],{sourceUrl:e[u[42]],statusCode:e[u[123]]},u[134][u[36]](e[u[123]],u[133])[u[36]](e[u[128]],u[132]),n)}(e,t,n[u[45]][u[44]])},this[u[48]]=e,this[u[45]]=t,this[u[56]]=e[u[56]],this[u[57]]=new m[u[58]](e,t),this[u[59]]=!1,this[u[60]]=e[u[60]],this[u[61]]=[];var r={onFailure:this[u[54]],maxRetries:this[u[56]][u[62]],requestType:f[u[64]][u[63]],resetRetriesWhenOffline:!1};this[u[53]]=new c[u[65]](e,r)}return e[u[6]][u[66]]=function(e,t){if(this[u[59]])return null;var n=e[u[67]]();return this[u[68]](n,t)},e[u[6]][u[68]]=function(e,t){var n,r=this[u[48]][u[47]][u[69]](s[u[41]][u[40]],this[u[45]][u[44]]),o=null!==(n=null==r?void 0:r[u[70]](this[u[42]]))&&void 0!==n?n:this[u[71]](e,t);return o?(null==r||r[u[72]](o,this[u[42]]),this[u[61]]=o[u[30]]?i(i([],o[u[73]],!0),o[u[30]][u[27]]((function(e){return e[u[42]]})),!0):o[u[73]],this[u[42]]=this[u[61]][0],o):null},e[u[6]][u[71]]=function(e,t){return this[u[57]][u[74]](e,this[u[42]],t)},e[u[6]][u[75]]=function(){this[u[53]]&&this[u[53]][u[76]](),this[u[59]]=!0,this[u[42]]=null},e[u[6]][u[77]]=function(){this[u[75]](),this[u[53]][u[77]](),this[u[57]]&&(this[u[57]][u[77]](),this[u[57]]=null),this[u[56]]=null},e[u[6]][u[52]]=function(e){var t=this;return this[u[42]]=e||this[u[42]],this[u[55]]=null,e&&(this[u[59]]=!1),this[u[42]]?this[u[88]](this[u[42]])[u[87]]((function(e){return t[u[39]](e,e[u[86]],t[u[42]])}))[u[51]]((function(e){return t[u[59]]||(null==e?void 0:e[u[78]])===d[u[80]][u[79]]?Promise[u[81]]():(t[u[48]][u[85]][u[84]](u[82]+t[u[42]]+u[83],e),Promise[u[81]](e))})):(this[u[48]][u[60]][u[93]](new a[u[92]](o[u[90]][u[89]],void 0,u[91])),Promise[u[81]](u[94]))},e[u[6]][u[88]]=function(e){var t,n=this,r=this[u[48]][u[47]][u[46]](s[u[41]][u[40]],(function(t){return t[u[95]](e)}),null,this[u[45]][u[44]]);if(r)return Promise[u[96]](r);var i=null===(t=this[u[45]][u[98]][u[97]])||void 0===t?void 0:t[u[99]];return this[u[53]][u[52]](e,f[u[103]][u[102]],null,null,null,i,l[u[105]][u[104]])[u[51]]((function(e){return n[u[38]]++,n[u[38]]<n[u[61]][u[3]]?(n[u[42]]=v[u[24]][u[100]](n[u[42]],n[u[61]][n[u[38]]]),n[u[88]](n[u[42]])):(n[u[48]][u[85]][u[84]](u[101]),n[u[55]]&&n[u[60]][u[93]](n[u[55]]),n[u[55]]=null,Promise[u[81]](e))}))},e[u[6]][u[106]]=function(e){return Promise[u[96]](e)},e[u[6]][u[107]]=function(e){return Promise[u[96]]()},e[u[6]][u[50]]=function(e,t,n){var i,o;(0,_[u[108]])(e)&&(this[u[48]][u[85]][u[84]](u[112][u[36]](null===(i=e[u[86]])||void 0===i?void 0:i[u[110]](2),u[111])[u[36]](null===(o=e[u[109]])||void 0===o?void 0:o[u[110]](2))),this[u[48]][u[117]][u[116]]((0,h[u[115]])(u[22],p[u[114]][u[113]],{bytes:e[u[3]],time:e[u[86]],timeToFirstByte:e[u[109]]}))),this[u[42]]=e[u[42]];var a=r({},this[u[66]](e[u[49]],(0,g[u[119]])(Math[u[118]](n))));return a[u[120]]=this[u[42]],this[u[53]][u[121]](!0),a},e}();t[u[37]]=y},51040:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)},i=this&&this[u[135]]||function(e,t,n,r){var i,o=arguments[u[3]],a=o<3?t:null===r?r=Object[u[136]](t,n):r;if(u[137]==typeof Reflect&&u[138]==typeof Reflect[u[139]])a=Reflect[u[139]](e,t,n,r);else for(var s=e[u[3]]-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object[u[9]](t,n,a),a};Object[u[9]](t,u[8],{value:!0}),t[u[30]]=t[u[58]]=void 0,t[u[140]]=$,t[u[141]]=T;var o=n(63546),a=n(35148),s=n(62510),c=n(92737),l=n(16937),d=n(33696),_=n(42283),f=n(44388),h=n(26190),p=n(79814),g=n(76885),v=n(91520),m=n(16368),y=new RegExp(u[142],u[143]),b=[u[144],u[145],u[146],u[147],u[148]],S=u[149],E=function(){function e(e,t){this[u[48]]=e,this[u[45]]=t,this[u[150]]=e[u[150]];var n=v[u[153]][u[69]](m[u[152]][u[151]]);this[u[154]]=n[u[154]],this[u[155]]=n[u[155]]}return e[u[6]][u[156]]=function(e,t){return(0,h[u[158]])({source:this[u[45]][u[98]],logger:this[u[48]][u[85]],streamType:d[u[157]][u[104]],labelingType:e},t)},e[u[6]][u[159]]=function(e){var t,n,r,i=null!==(r=null===(n=null===(t=e[u[160]])||void 0===t?void 0:t[0])||void 0===n?void 0:n[u[161]])&&void 0!==r?r:e[u[162]],o={mimeType:e[u[163]],lang:e[u[164]]};return this[u[156]](h[u[166]][u[165]],o)||i},e[u[6]][u[167]]=function(e,t){var n,r,i,o=null!==(i=null===(r=null===(n=t[u[160]])||void 0===n?void 0:n[0])||void 0===r?void 0:r[u[161]])&&void 0!==i?i:t[u[162]],a={id:t[u[168]],mimeType:e,bitrate:t[u[169]],qualityRanking:t[u[170]],width:t[u[171]],height:t[u[172]],frameRate:t[u[173]]};return this[u[156]](h[u[166]][u[174]],a)||o},e[u[6]][u[175]]=function(e){var t=this,n=0;for(var r in e)if(e[u[5]](r)){if(u[176]===r&&this[u[177]](e,e[r]),u[178]===r&&I(e[r]))return this[u[48]][u[85]][u[84]](u[181][u[36]](e[u[168]],u[180])[u[36]](e[u[179]])),null;u[160]===r&&(e[u[160]]=P(e[r])),u[182]===r||0===r[u[184]](u[183])||Array[u[20]](e[r])||(e[r]=[e[r]]),u[185]===r&&(e[r]=e[r][u[198]]((function(r){var i=r[u[163]]||e[u[163]];r[u[163]]=r[u[163]]||e[u[163]],i&&(i=i[u[186]]()),$(r,e),A(r),C(r),u[187]==typeof r[u[169]]&&(r[u[169]]=parseFloat(r[u[169]])),r[u[160]]&&(r[u[160]]=P(r[u[160]]));var o=r[u[188]]||e[u[188]];if(i&&(0===i[u[184]](u[189])||0===i[u[184]](u[190])||0===i[u[184]](u[191])||i[u[184]](u[192])>=0))n++,r[u[162]]=t[u[167]](i,r);else if(i&&o){if(r[u[188]]=o,!_[u[194]][u[193]](t[u[150]],i,o))return t[u[48]][u[85]][u[84]](u[195]+i+u[196]+o+u[197]),!1;n++,r[u[162]]=t[u[167]](i,r)}return!0})))}return n>0?(!e[u[5]](u[163])&&e[u[185]][0][u[5]](u[163])&&(e[u[163]]=e[u[185]][0][u[163]]),e[u[162]]=this[u[159]](e),e[u[185]][u[199]]((function(e,t){return e[u[169]]-t[u[169]]})),e):(this[u[48]][u[85]][u[84]](u[201][u[36]](e[u[168]],u[180])[u[36]](e[u[179]],u[200])),null)},e[u[6]][u[177]]=function(t,n){t[u[202]]={};var r=e[u[204]](n,u[203]);e[u[208]](r)[u[207]]((function(e,n){var r=e[u[29]](u[205]),i=2===r[u[3]]?[r[0],r[1]]:[u[206]+n,e],o=i[0],a=i[1];t[u[202]][o]={label:a,lang:a}}))},e[u[204]]=function(e,t){return e&&e[u[3]]>0?e[u[198]]((function(e){return e[u[209]]===t})):[]},e[u[208]]=function(e){var t=[];return e[u[207]]((function(e){if(e[u[210]]){var n=e[u[210]][u[29]](u[211]);t[u[212]][u[7]](t,n)}})),t},e[u[6]][u[213]]=function(e,t){for(var n=0;n<e[u[3]];n++)if(u[187]==typeof t&&e[n][u[42]]===t||u[137]==typeof t&&e[n][u[42]]===t[u[42]])return!0;return!1},e[u[6]][u[214]]=function(e,t,n,r){var i;Array[u[20]](e[u[30]])||(e[u[30]]=[e[u[30]]]);for(var o=[],a=0;a<e[u[30]][u[3]];a++){if((i=new w)[u[215]]=[],null!=t&&(i[u[216]]={},void 0!==t[0]&&null!==t[0]&&(i[u[216]][u[217]]=t[0]),void 0!==t[1]&&null!==t[1]&&(i[u[216]][u[218]]=t[1]),void 0!==t[2]&&null!==t[2]&&(i[u[216]][u[219]]=t[2])),u[187]==typeof e[u[30]][a])i[u[42]]=e[u[30]][a];else if(u[137]==typeof e[u[30]][a])for(var s in e[u[30]][a][u[5]](u[144])&&(i[u[42]]=e[u[30]][a][u[144]]),e[u[30]][a][u[5]](u[146])&&(i[u[220]]=e[u[30]][a][u[146]]),e[u[30]][a][u[5]](u[145])&&(i[u[220]]=e[u[30]][a][u[145]]),e[u[30]][a][u[5]](u[147])&&(i[u[220]]=e[u[30]][a][u[147]]),e[u[30]][a][u[5]](u[148])&&(i[u[220]]=e[u[30]][a][u[148]]),e[u[30]][a])if(e[u[30]][a][u[5]](s)&&0===s[u[184]](u[183])&&-1===b[u[184]](s)){var c={};c[s[u[221]](1)]=e[u[30]][a][s],i[u[215]][u[212]](c)}o[u[212]](i)}for(e[u[30]]=[],a=0;a<o[u[3]];a++){var l=o[a];if(g[u[24]][u[222]](l))this[u[213]](e[u[30]],l)||(l[u[223]]=!0,r[u[212]](l),e[u[30]][u[212]](l));else for(var d=0;d<n[u[3]];d++){var _=n[d][u[224]]();u[225]!==n[d][u[42]][n[d][u[42]][u[3]]-1]&&(_+=u[225]);var f=g[u[24]][u[226]](_,l);this[u[213]](e[u[30]],f)||((i=new w)[u[42]]=f,i[u[216]]={},void 0!==t[0]&&null!==t[0]&&(i[u[216]][u[217]]=t[0]),void 0!==t[1]&&null!==t[1]&&(i[u[216]][u[218]]=t[1]),void 0!==t[2]&&null!==t[2]&&(i[u[216]][u[219]]=t[2]),i[u[220]]=l[u[220]]||n[d][u[220]],i[u[227]]=l[u[227]]||n[d][u[227]],i[u[228]]=l[u[228]]||n[d][u[228]],i[u[229]]=l[u[229]]||n[d][u[229]],e[u[30]][u[212]](i),r[u[212]](i))}}return r},e[u[6]][u[230]]=function(e,t,n){var r=[];if(t=t||[],n=n||[],u[137]!=typeof e)return e;for(var i in e[u[5]](u[30])&&(r=this[u[214]](e,n,t,r)),r[u[3]]<1&&(r=t),e)if(e[u[5]](i))if(u[137]==typeof e[i]&&0!==i[u[184]](u[183])){Array[u[20]](e[i])||(e[i]=[e[i]]);for(var o=0;o<e[i][u[3]];o++)if(u[30]!==i){var a=e[i][o][u[168]]||o+u[32];e[i][o]=this[u[230]](e[i][o],r,n[u[36]]([a])),u[185]!==i||e[i][o][u[5]](u[30])||(e[i][o][u[30]]=r)}}else 0!==i[u[184]](u[183])||!y[u[231]](i)&&u[232]!==i||(e[u[162]]=e[i],u[162]!==i&&delete e[i]);return e},e[u[6]][u[233]]=function(e){var t=f[u[236]][u[235]](e[u[234]]);return(t=isNaN(t)?Number[u[237]]:-t)>0&&t<this[u[48]][u[239]][u[238]]()&&(t=this[u[48]][u[239]][u[238]]()),t},e[u[240]]=function(e){Array[u[20]](e[u[241]])||(e[u[241]]=[e[u[241]]]);for(var t,n=[],r=[],i=[],o=[],a=[],s=[],c=e[u[241]],l=0;l<c[u[3]];l++){c[l][u[5]](u[168])&&c[l][u[168]]?n[u[212]](c[l][u[168]]):o[u[212]](c[l]),Array[u[20]](c[l][u[242]])||(c[l][u[242]]=[c[l][u[242]]]);for(var d=c[l][u[242]],_=0;_<d[u[3]];_++){d[_][u[5]](u[168])&&d[_][u[168]]?r[u[212]](d[_][u[168]]):a[u[212]](d[_]),d[_][u[179]]=c[l][u[168]],Array[u[20]](d[_][u[185]])||(d[_][u[185]]=[d[_][u[185]]]);for(var f=d[_][u[185]],h=0;h<f[u[3]];h++)f[h][u[5]](u[168])&&f[h][u[168]]?i[u[212]](f[h][u[168]]):s[u[212]](f[h])}}var p=0;for(t=0;t<o[u[3]];t++){do{p++}while(-1!==n[u[184]](u[32]+p));o[t][u[168]]=u[32]+p,o[t][u[242]][u[207]]((function(e){e[u[179]]=o[t][u[168]]})),n[u[212]](u[32]+p)}for(p=0,t=0;t<a[u[3]];t++){do{p++}while(-1!==r[u[184]](u[32]+p));a[t][u[168]]=u[32]+p,r[u[212]](u[32]+p)}for(p=0,t=0;t<s[u[3]];t++){do{p++}while(-1!==i[u[184]](u[32]+p));s[t][u[168]]=u[32]+p,i[u[212]](u[32]+p)}},e[u[6]][u[243]]=function(e){return u[244]===e[u[245]]&&(e[u[234]]=this[u[233]](e)),e},e[u[6]][u[246]]=function(e){return e[u[247]]&&(e[u[247]]=new Date(e[u[247]])[u[248]]()),e},e[u[6]][u[249]]=function(e,t){return e[u[5]](u[73])?Array[u[20]](e[u[73]])||(e[u[73]]=[e[u[73]]]):e[u[73]]=[t],e},e[u[6]][u[250]]=function(e){e[u[5]](u[30])&&!Array[u[20]](e[u[30]])&&(e[u[30]]=[e[u[30]]]);for(var t=[],n=0;n<e[u[73]][u[3]];n++){var r=e[u[73]][n],i=new w;i[u[42]]=g[u[24]][u[251]](r),t[u[212]](i)}return this[u[230]](e,t,null)},e[u[6]][u[252]]=function(e,t){t[u[253]]?t[u[254]]=f[u[236]][u[235]](t[u[253]]):(t[u[254]]=e[u[254]]+e[u[255]],t[u[253]]=u[256]+t[u[254]]+u[257])},e[u[6]][u[258]]=function(e){for(var t={start:0,duration:0,_start:u[259],_duration:u[259]},n=0;n<e[u[241]][u[3]];n++){var r=e[u[241]][n];this[u[252]](t,r),r[u[260]]?r[u[255]]=f[u[236]][u[235]](r[u[260]]):(e[u[241]][n+1]?r[u[255]]=(f[u[236]][u[235]](e[u[241]][n+1][u[253]])||0)-r[u[254]]:e[u[261]]?r[u[255]]=(f[u[236]][u[235]](e[u[261]])||0)-r[u[254]]:r[u[255]]=1/0,r[u[260]]=u[256]+r[u[255]]+u[257]),this[u[48]][u[85]][u[84]](u[264][u[36]](n,u[263])[u[36]](r[u[168]],u[262])[u[36]](r[u[254]],u[28])[u[36]](r[u[254]]+r[u[255]])),e[u[241]][n]=r,t=r}return e},e[u[6]][u[265]]=function(e){var t,n,r=this,i=[],c=[],l=f[u[236]][u[235]](e[u[261]]);return e[u[241]][u[207]]((function(d,_){t=f[u[236]][u[235]](d[u[253]]),n=f[u[236]][u[235]](d[u[260]]),isNaN(t)&&0===c[u[3]]&&u[266]===e[u[245]]&&(t=0),isNaN(t)&&c[u[3]]>0&&!isNaN(parseFloat(c[c[u[3]]-1][u[254]]))&&!isNaN(parseFloat(c[c[u[3]]-1][u[255]]))&&(t=c[c[u[3]]-1][u[254]]+c[c[u[3]]-1][u[255]]),isNaN(t)&&_===e[u[241]][u[3]]-1&&!isNaN(l)&&(n=l-t),c[u[3]]>0&&isNaN(parseFloat(c[c[u[3]]-1][u[255]]))&&!isNaN(t)&&(c[c[u[3]]-1][u[255]]=t-c[c[u[3]]-1][u[254]]),c[u[212]]({start:t,duration:n});var h=function(e){if(d[u[5]](e)&&[u[30],u[242],u[268]][u[267]](e))if(Array[u[20]](d[e])||(d[e]=[d[e]]),u[242]===e){var t=d[e][u[27]]((function(e){var t=e[u[163]];return!t&&e[u[185]][u[3]]>0&&(t=e[u[185]][0][u[163]]),p[u[270]][u[269]](t)}))[u[198]]((function(e,t,n){return n[u[184]](e)===t}));d[e]=d[e][u[27]]((function(e){$(e,d);var t=r[u[175]](e);return null!==t&&!t[u[5]](u[271])&&t[u[185]][0][u[5]](u[271])&&(t[u[271]]=t[u[185]][0][u[271]]),t}))[u[198]]((function(e){return Boolean(e)})),t[u[198]]((function(e){return u[279]===e||u[280]===e}))[u[207]]((function(t){!d[e][u[272]]((function(e){return e[u[163]][u[267]](t)}))&&r[u[48]][u[60]][u[278]](s[u[274]][u[273]],new o[u[277]](a[u[276]][u[275]]))})),d[e][u[3]]<1&&i[u[212]](_)}else u[268]===e&&d[e][u[198]]((function(e){return e[u[282]]}))[u[207]]((function(e){e[u[282]][u[207]]((function(e){e[u[281]]=r[u[155]]({event:e})}))}))};for(var g in d)h(g)})),i[u[3]]>0&&u[266]===e[u[245]]&&this[u[283]](i,c,l,e),e=this[u[258]](e)},e[u[6]][u[283]]=function(e,t,n,r){for(var i,o,a;!isNaN(parseInt(i=e[u[284]]()));){if(o=t[i][u[254]],a=t[i][u[255]],!isNaN(o)&&!isNaN(a)){isNaN(n)||(n-=a,r[u[261]]=u[256]+n+u[257]);for(var s=i+1;s<t[u[3]];s++)isNaN(parseFloat(t[s][u[254]]))||(t[s][u[254]]=t[s][u[254]]-a,r[u[241]][s][u[253]]=u[256]+t[s][u[254]]+u[257])}t[u[285]](i,1),r[u[241]][u[285]](i,1)}},e[u[286]]=function(e){e[u[5]](u[287])&&!Array[u[20]](e[u[287]])&&(e[u[287]]=[e[u[287]]]);var t=[];return(e[u[287]]||[])[u[198]]((function(e){return e[u[5]](u[209])&&u[187]==typeof e[u[209]]}))[u[207]]((function(e){var n={schemeIdUri:e[u[209]],value:u[32]};u[187]==typeof e[u[210]]&&(n[u[161]]=e[u[210]]),t[u[212]](n)})),t[u[3]]>0?e[u[287]]=t:delete e[u[287]],e},e[u[6]][u[74]]=function(t,n,r){var i,o=this[u[154]](t,{decodeEntities:!0});if(!1===o[u[288]])throw new c[u[92]](c[u[90]][u[289]],{errorMessage:o[u[290]][u[78]]},u[291]);var a=o[u[293]][u[292]];return a[u[294]]=Date[u[295]](),a[u[296]]=r,a[u[245]]=null!==(i=a[u[245]])&&void 0!==i?i:u[266],e[u[240]](a),a=this[u[243]](a),a=this[u[246]](a),a=this[u[249]](a,n),a=this[u[250]](a),a=this[u[265]](a),(a=e[u[286]](a))&&a[u[241]]&&0!==a[u[241]][u[3]]?(a[u[297]]=t,a):(this[u[48]][u[60]][u[93]](new c[u[92]](c[u[90]][u[289]])),null)},e[u[6]][u[77]]=function(){this[u[150]]=null},i([(0,l[u[299]])(u[298])],e[u[6]],u[74],null),e}();function $(e,t){if(e&&t){var n=[u[300],u[301],u[182]];n[u[207]]((function(i){var o=Array[u[20]](e[i])&&e[i][0],a=Array[u[20]](t[i])&&t[i][0],s=n[u[302]]((function(t){return e[t]}));a&&o?e[i]=[r(r({},t[i][0]),e[i][0])]:a&&!s&&(e[i]=t[i])}))}}function T(e){var t=e[u[29]](u[225]);return parseInt(t[0])/(parseInt(t[1])||1)}function A(e){u[187]==typeof e[u[303]]&&(e[u[303]]=parseFloat(e[u[303]]))}function C(e){u[187]==typeof e[u[172]]&&(e[u[172]]=parseFloat(e[u[172]])),u[187]==typeof e[u[171]]&&(e[u[171]]=parseFloat(e[u[171]])),u[187]==typeof e[u[304]]&&(e[u[304]]=T(e[u[304]]))}function P(e){return u[187]==typeof e?[{value:e}]:Array[u[20]](e)?e[u[27]]((function(e){return{id:e[u[168]],lang:e[u[164]],value:e[u[224]]()}})):[]}function I(e){var t;return(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t[u[209]])===S}t[u[58]]=E;var w=function(){function e(){this[u[42]]=null,this[u[216]]=null,this[u[220]]=null,this[u[227]]=null,this[u[228]]=null,this[u[229]]=null,this[u[223]]=!1,this[u[215]]=null}return e[u[6]][u[224]]=function(){return this[u[42]]?u[32]+this[u[42]]:u[32]},e}();t[u[30]]=w},84075:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[305]]=void 0;var r=n(16368),i=n(5945),o=n(52832),a=n(92983),s=n(19213),c=n(44890),l=n(61411),d={isIndexRangeNode:i[u[12]],isInitializationNode:i[u[11]],isInitializationStringNode:i[u[10]]},_={provideSegmentInfoFromInitializationProperty:i[u[13]],provideSegmentInfoFromInitializationNodeProperty:i[u[15]],provideSegmentInfoFromIndexRangeProperty:i[u[16]]};t[u[305]]={name:r[u[152]][u[306]],module:function(){return{MPDLoader:o[u[37]],SegmentBaseMPDHandler:s[u[307]],SegmentTemplateMPDHandler:c[u[308]],SegmentTimelineMPDHandler:l[u[309]],replaceAllPlaceholders:a[u[22]],initSegmentInfoSourceDetectors:d,initSegmentInfoProviders:_}},dependencies:[r[u[152]][u[310]],r[u[152]][u[151]]]},t[u[22]]=t[u[305]]},19213:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[307]]=void 0;var i=n(18665),o=n(60997),a=n(88005),s=n(67345),c=n(3941),l=n(10676),d=n(76885),_=n(91520),f=n(16368),h=n(94938),p=n(28915),g=n(41735),v=n(5945),m=function(){function e(e){var t=this;this[u[48]]=e,this[u[311]]=0,this[u[312]]=-1,this[u[313]]=(0,l[u[318]])(this[u[315]][u[314]](this),(function(e,t){return t[u[317]][u[316]]})),this[u[319]]=function(e){var n=r({},t[u[322]][u[321]](t[u[320]]));return t[u[313]](e,n)[u[87]]((function(e){var r;if(t[u[325]][u[116]]((0,g[u[324]])(n[u[317]],e)),t[u[325]][u[116]]((0,g[u[326]])(n[u[317]],!1)),e||(t[u[325]][u[116]]((0,g[u[327]])(n[u[317]],!0)),t[u[48]][u[85]][u[330]](u[329][u[36]](null===(r=t[u[320]])||void 0===r?void 0:r[u[328]]()))),t[u[312]]>=0){var i=t[u[312]];t[u[312]]=-1,t[u[331]](i)}return t[u[332]]=null,t[u[320]]}))[u[51]]((function(e){throw t[u[313]][u[323]](),e}))},this[u[333]]=function(e){return t[u[332]]=null,t[u[48]][u[85]][u[330]](u[337][u[36]](t[u[320]][u[328]](),u[336])[u[36]](JSON[u[334]](e),u[335])),Promise[u[81]](JSON[u[334]](e))},this[u[338]]=function(e){return t[u[339]]?Promise[u[81]](u[340]):new Promise((function(n,i){t[u[339]]=r(r({},e),{resolve:n,reject:i})}))},this[u[56]]=e[u[56]];var n=e[u[45]][u[44]];this[u[322]]=e[u[47]][u[69]](i[u[41]][u[341]],n);var o=this[u[322]][u[342]]()||{_id:c[u[343]]};this[u[344]]=o[u[168]];var d=this[u[56]][u[345]];this[u[53]]=new a[u[65]](e,{maxRetries:d,retryDelay:this[u[56]][u[346]],requestType:s[u[64]][u[347]]}),this[u[325]]=e[u[47]][u[69]](i[u[41]][u[348]],n)}return e[u[6]][u[349]]=function(e){var t,n,r=this[u[322]][u[321]](e);if(r&&r[u[350]]){var i=this[u[322]][u[351]](this[u[344]]);isFinite(i)&&(n=i/r[u[350]][u[352]][u[3]]);var o=this[u[322]][u[353]]();0!==o&&(isFinite(o)&&(t=o/r[u[350]][u[352]][u[3]]),n||(n=t)),r[u[350]]&&(t=r[u[350]][u[352]][0][u[255]]/r[u[350]][u[354]],n||(n=t))}return n},e[u[6]][u[355]]=function(){var e,t,n=this[u[322]][u[321]](this[u[356]]);if(null===(t=null===(e=null==n?void 0:n[u[350]])||void 0===e?void 0:e[u[352]])||void 0===t?void 0:t[u[3]]){var r=n[u[350]][u[354]]||1,i=n[u[350]][u[352]][this[u[311]]][u[357]]/r,o=this[u[358]](),a={url:u[32],byteRange:n[u[350]][u[352]][this[u[311]]][u[227]],periodId:n[u[317]][u[344]],presentationTimeOffset:o,startTime:i-o};return a[u[359]]=(0,p[u[360]])(a),this[u[311]]++,this[u[361]]=Math[u[363]](this[u[311]]*this[u[362]]())+this[u[364]](),a}},e[u[6]][u[365]]=function(e){var t=this[u[322]][u[321]](e);return t&&t[u[300]]&&t[u[30]]?r(r({},this[u[366]](t)),{codecs:(0,h[u[368]])(this[u[322]][u[367]](e))}):null},e[u[6]][u[366]]=function(e){var t,n=e[u[300]][0];return(0,v[u[11]])(n)?(0,v[u[15]])(n,e):e[u[350]]?(0,v[u[12]])(n)?(0,v[u[16]])(n,e):null:(this[u[48]][u[85]][u[84]](u[370][u[36]](null===(t=e[u[317]])||void 0===t?void 0:t[u[328]](),u[369])),null)},e[u[6]][u[371]]=function(){if(this[u[339]]){var e=this[u[355]]();e&&(this[u[339]][u[96]](e),this[u[339]]=null)}},e[u[6]][u[372]]=function(e){this[u[373]]=e,this[u[374]]=e[u[375]][u[29]](u[28])[0],this[u[376]](),this[u[371]]()},e[u[6]][u[376]]=function(){var e,t=this,n=this[u[322]][u[321]](this[u[356]]);n&&(e=n[u[169]]);var r=this[u[322]][u[377]](this[u[373]],e),i=this[u[356]]?r[u[302]]((function(e){return e[u[317]]===t[u[356]]})):null,o=null!=i?i:r[0];this[u[356]]=o[u[317]],this[u[344]]=this[u[356]][u[344]],o[u[350]]||(this[u[106]](this[u[356]]),o=this[u[322]][u[321]](o[u[317]])),o[u[5]](u[300])&&o[u[300]][u[3]]>1&&this[u[48]][u[85]][u[84]](u[379][u[36]](o[u[168]],u[378]))},e[u[6]][u[380]]=function(e){return!!this[u[322]][u[321]](e)&&(this[u[356]]=e,this[u[331]](this[u[361]]),!0)},e[u[6]][u[381]]=function(){var e=this[u[382]]();return this[u[383]](e)},e[u[6]][u[383]]=function(e){var t=this,n={};return this[u[322]][u[367]](this[u[373]])[u[185]][u[207]]((function(r){var i=r[u[168]];if(n[i]=[],1===r[u[30]][u[3]]){var o=r[u[30]][0][u[42]];n[i][u[212]]({url:d[u[24]][u[385]](o,t[u[56]][u[384]])})}else for(var a=0;a<r[u[30]][u[3]];a++)o=d[u[24]][u[385]](r[u[30]][a][u[42]],t[u[56]][u[384]]),n[i][u[212]]({url:o});n[i][u[207]]((function(t){t[u[255]]=e[u[386]]-e[u[254]],t[u[387]]=e[u[254]]}))})),n},e[u[6]][u[388]]=function(e){var t=this[u[355]]();return t?Promise[u[96]](t):this[u[338]]({time:e})},e[u[6]][u[389]]=function(){var e=this[u[322]][u[390]](this[u[356]]);return e?e[0]:null},e[u[6]][u[391]]=function(){},e[u[6]][u[392]]=function(){return-1},e[u[6]][u[393]]=function(){return this[u[322]][u[394]]()},e[u[6]][u[395]]=function(){var e,t=this;return this[u[322]][u[321]](this[u[356]])&&(e=this[u[349]](this[u[356]])),e<0&&(e=this[u[322]][u[367]](this[u[373]])[u[185]][u[27]]((function(e){return t[u[349]](e[u[317]])}))[u[302]]((function(e){return e>0}))),isFinite(e)?[e,!0]:[1,!1]},e[u[6]][u[362]]=function(){return this[u[395]]()[0]},e[u[6]][u[396]]=function(){this[u[371]]();var e=this[u[322]][u[321]](this[u[356]]);if(e){if(e[u[350]])return this[u[311]]<e[u[350]][u[352]][u[3]];if(!this[u[397]](this[u[356]]))return!0}return!1},e[u[6]][u[364]]=function(){var e,t,n;return null!==(n=null===(t=null===(e=this[u[322]])||void 0===e?void 0:e[u[398]](this[u[344]]))||void 0===t?void 0:t[u[254]])&&void 0!==n?n:0},e[u[6]][u[331]]=function(e){var t,n;this[u[361]]=e;var r=this[u[395]](),i=r[0],o=r[1];if((i<0||!o)&&(this[u[312]]=e),i>0&&o&&e>-1){var a=Math[u[399]](e-this[u[364]](),0),s=null===(t=this[u[322]])||void 0===t?void 0:t[u[321]](this[u[356]]);this[u[356]]&&s&&(this[u[400]](Math[u[363]](a/i)),this[u[48]][u[85]][u[84]](u[404][u[36]](e,u[403])[u[36]](this[u[311]],u[402])[u[36]](null===(n=this[u[356]])||void 0===n?void 0:n[u[328]](),u[401])[u[36]](s[u[163]],u[335])))}},e[u[6]][u[358]]=function(){var e=this[u[322]][u[398]](this[u[344]]),t=this[u[322]][u[321]](this[u[356]]),n=t&&t[u[300]]?t[u[300]][0]:null,r=0;if(n&&n[u[5]](u[405])&&n[u[5]](u[406])){var i=n[u[5]](u[406])?parseInt(n[u[406]]):1;r=parseInt(n[u[405]])/i}return e&&(r-=e[u[254]]),r},e[u[6]][u[407]]=function(){return this[u[311]]},e[u[6]][u[400]]=function(e){this[u[311]]=e},e[u[6]][u[408]]=function(e){},e[u[6]][u[106]]=function(e){var t=this;if(this[u[332]])return this[u[332]][u[51]]((function(){}))[u[87]]((function(){return t[u[106]](e)}));var n=void 0,r=void 0,i=this[u[322]][u[321]](e);if(i){if(this[u[53]][u[409]]())return;this[u[48]][u[85]][u[84]](u[410][u[36]](null==e?void 0:e[u[328]](),u[335])),n=(0,v[u[14]])(i),r=i[u[300]][0][u[21]];var o=parseInt(r[u[29]](u[28])[1])+1;return this[u[325]][u[116]]((0,g[u[411]])(i[u[317]],o)),this[u[320]]=e,this[u[332]]=this[u[53]][u[52]](n,s[u[103]][u[102]],s[u[413]][u[412]],null,{Range:u[414]+r})[u[87]]((function(e){return t[u[319]](e[u[49]])}))[u[51]](this[u[333]])}return this[u[48]][u[85]][u[416]](u[415][u[36]](null==e?void 0:e[u[328]](),u[335])),Promise[u[81]](null)},e[u[6]][u[397]]=function(e){return this[u[322]][u[397]](e)},e[u[6]][u[417]]=function(){return this[u[311]]--,!(this[u[311]]<0&&(this[u[48]][u[85]][u[84]](u[418]),this[u[400]](0),1))},e[u[6]][u[382]]=function(){return{start:0,end:this[u[322]][u[353]]()}},e[u[6]][u[419]]=function(){return this[u[339]]},e[u[6]][u[420]]=function(e){this[u[339]]=e},e[u[6]][u[421]]=function(e){return!0},e[u[6]][u[422]]=function(e){return e},e[u[6]][u[423]]=function(e){return e},e[u[6]][u[77]]=function(){this[u[56]]=null,this[u[322]]=null,this[u[356]]=null,this[u[325]]=null,this[u[53]]=(0,o[u[77]])(this[u[53]]),this[u[339]]=null,this[u[313]]=null},e[u[6]][u[424]]=function(e,t){},e[u[6]][u[425]]=function(){return this[u[48]][u[47]][u[69]](i[u[41]][u[428]])[u[69]](this[u[374]])[u[427]](this[u[365]](this[u[320]]))[u[87]]((function(e){return e[u[426]]()}))[u[87]]((function(e){return e[u[161]]}))},e[u[6]][u[429]]=function(e,t){return this[u[425]]()[u[87]]((function(n){var r=_[u[153]][u[69]](f[u[152]][u[431]])[u[430]],i=_[u[153]][u[69]](f[u[152]][u[431]])[u[432]],o=new r(e),a=new i(n[u[435]]())[u[434]][u[433]],s=function(e,t,n){for(var r=e[u[452]][u[451]]((function(e){return e[u[450]]})),i=new Array(r[u[3]]),o=t-function(e){var t=e[u[452]]&&e[u[452]][0],n=t&&t[u[450]]&&t[u[450]][0],r=n&&n[u[454]]&&n[u[454]][0];return r&&r[u[453]]||0}(e),a=r[u[3]]-1;a>=0;a--)i[a]={time:r[a][u[357]],byteRange:{start:o+r[a][u[454]][0][u[453]]}},a===r[u[3]]-1?i[a][u[255]]=n-i[a][u[357]]:(i[a][u[227]][u[386]]=i[a+1][u[227]][u[254]]-1,i[a][u[255]]=i[a+1][u[357]]-i[a][u[357]]);return i}(o,parseInt(t[u[300]][0][u[21]][u[29]](u[28])[1])+1,a[u[436]]()/a[u[437]]());return{timescale:a[u[437]](),references:s}}))},e[u[6]][u[315]]=function(e,t){return u[438]===this[u[374]][u[29]](u[225])[1]?this[u[429]](e,t):Promise[u[96]](this[u[440]](e,t[u[439]]))},e[u[6]][u[440]]=function(e,t){if(!e||!t)return this[u[48]][u[85]][u[84]](u[441]),null;var n=_[u[153]][u[69]](f[u[152]][u[446]])[u[445]](e)[u[444]][u[302]]((function(e){return u[442]===e[u[443]]}));return n?{timescale:n[u[354]],references:y(n[u[352]],n[u[447]]+t,n[u[448]])}:(this[u[48]][u[85]][u[84]](u[449]),null)},e}();function y(e,t,n){for(var r=[],i=0,o=e;i<o[u[3]];i++){var a=o[i],s=a[u[455]],c=a[u[456]],l=t,d=l+s-1;r[u[212]]({byteRange:{start:l,end:d},time:n,duration:c}),t+=s,n+=c}return r}t[u[307]]=m},44890:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[308]]=void 0,t[u[457]]=g;var i=n(18665),o=n(42055),a=n(331),s=n(70016),c=n(76885),l=n(96953),d=n(73553),_=n(28915),f=n(5945),h=n(92983),p=function(){function e(e){this[u[48]]=e,this[u[56]]=e[u[56]],this[u[322]]=e[u[47]][u[69]](i[u[41]][u[341]],e[u[45]][u[44]]),this[u[357]]=0}return e[u[6]][u[391]]=function(){var e=this[u[458]](this[u[356]]);return e&&e[u[5]](u[459])?parseInt(e[u[459]]):1},e[u[6]][u[460]]=function(){var e=this[u[458]](this[u[356]]);return e&&e[u[461]]?parseInt(e[u[461]]):NaN},e[u[6]][u[372]]=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n={isManifestUpdate:!1}),this[u[373]]=e,this[u[356]]=t;var r=!this[u[356]]||Boolean(this[u[322]][u[321]](this[u[356]])),i=this[u[322]][u[367]](this[u[373]]);this[u[356]]&&r||(this[u[356]]=i[u[185]][0][u[317]]),this[u[458]](this[u[356]])?this[u[311]]||this[u[400]](this[u[391]]()):this[u[48]][u[85]][u[84]](u[462]),this[u[371]]()},e[u[6]][u[463]]=function(){return this[u[322]][u[464]](this[u[356]]||this[u[373]])},e[u[6]][u[380]]=function(e){return!!this[u[322]][u[321]](e)&&(this[u[356]]=e,!0)},e[u[6]][u[365]]=function(e){var t=this[u[458]](e),n=this[u[322]][u[321]](e);return(0,f[u[10]])(t)?(0,f[u[13]])(t,n):null},e[u[6]][u[465]]=function(){var e=this[u[458]](this[u[356]]);return parseFloat(e[u[147]])||0},e[u[6]][u[466]]=function(e){var t=this[u[467]](e);return t-=this[u[465]](),(0,a[u[469]])(t+this[u[362]]()+this[u[56]][u[468]])},e[u[6]][u[458]]=function(e){var t=this[u[322]][u[321]](e);if(null==t?void 0:t[u[182]])return t[u[182]][0]},e[u[6]][u[364]]=function(){var e;return(null===(e=this[u[463]]())||void 0===e?void 0:e[u[254]])||0},e[u[6]][u[470]]=function(e){var t=this[u[460]]();if(isFinite(t))return e>t;var n=this[u[463]](),r=Boolean(null==n?void 0:n[u[260]])?n[u[254]]+n[u[255]]:1/0;return this[u[467]](e)>=r},e[u[6]][u[471]]=function(e){return this[u[466]](e)<=Date[u[295]]()},e[u[6]][u[355]]=function(){var e={isInitSegment:!1,presentationTimeOffset:this[u[358]]()},t=this[u[458]](this[u[356]]);if(!t||!t[u[472]]||!this[u[322]][u[473]](this[u[356]]))return null;if(this[u[322]][u[474]]()){var n=this[u[471]](this[u[311]]),r=this[u[470]](this[u[311]]);if(!n||r)return null;e[u[475]]=this[u[466]](this[u[311]])-(0,a[u[469]])(this[u[362]]())}var i=this[u[322]][u[321]](this[u[356]]);return e[u[344]]=null==i?void 0:i[u[317]][u[344]],e[u[42]]=(0,h[u[22]])(t[u[472]],i,this[u[311]],this[u[357]]),e[u[359]]=(0,_[u[360]])(e),e[u[476]]=this[u[311]],e[u[387]]=this[u[467]](this[u[311]]),this[u[400]](this[u[311]]+1),e},e[u[6]][u[388]]=function(e){var t=this[u[355]]();return t?Promise[u[96]](t):this[u[338]]({time:e})},e[u[6]][u[338]]=function(e){var t=this;return this[u[339]]?Promise[u[81]](u[340]):new Promise((function(n,i){t[u[339]]=r(r({},e),{resolve:n,reject:i})}))},e[u[6]][u[371]]=function(){if(this[u[339]]){var e=this[u[355]](),t=this[u[470]](this[u[311]]);e?(this[u[339]][u[96]](e),this[u[339]]=null):t&&(this[u[339]][u[81]](d[u[478]][u[477]]),this[u[339]]=null)}},e[u[6]][u[381]]=function(e){var t=this,n={};return this[u[322]][u[367]](this[u[356]])[u[185]][u[207]]((function(r){var i,o,a,s=r[u[317]],l=t[u[458]](s),d=[],_=t[u[382]]()[u[386]]-t[u[382]]()[u[254]],f=0,p=t[u[322]][u[474]]();p?(a=t[u[357]]-_,i=t[u[311]]-_/t[u[362]](),o=t[u[311]]):(a=l[u[405]]||0,i=0,o=parseInt(i+_/t[u[362]]()));for(var g=i;g<=o;g++){var v={};v[u[255]]=t[u[362]](),v[u[387]]=p?t[u[467]](g):f*t[u[362]]();var m=(0,h[u[22]])(l[u[472]],r,i+f,a+f*t[u[362]]());v[u[42]]=e?c[u[24]][u[23]](e,m):m,v[u[42]]=c[u[24]][u[385]](v[u[42]],t[u[56]][u[384]]),d[u[212]](v),f++}n[s[u[316]]]=d})),n},e[u[6]][u[389]]=function(){var e=this[u[322]][u[321]](this[u[356]])[u[30]][0];return e[u[42]]||e},e[u[6]][u[479]]=function(){var e=this[u[458]](this[u[356]]);return e&&e[u[5]](u[480])},e[u[6]][u[481]]=function(){if(this[u[479]]()){var e=this[u[458]](this[u[356]]);return parseInt(e[u[480]])}},e[u[6]][u[362]]=function(){var e=this[u[458]](this[u[356]]),t=Number(null==e?void 0:e[u[260]]),n=Number(null==e?void 0:e[u[406]]);return isNaN(t)?1:isNaN(n)?t:t/n},e[u[6]][u[331]]=function(e){e>-1&&this[u[400]](this[u[482]](e))},e[u[6]][u[483]]=function(){return g(this[u[458]](this[u[356]]))},e[u[6]][u[467]]=function(e){var t=this[u[364]]();return(e-this[u[391]]())*this[u[362]]()+t},e[u[6]][u[482]]=function(e){var t=this[u[362]](),n=this[u[364]](),r=Math[u[399]](e-n-t/2,0);return Math[u[363]](r/t)+this[u[391]]()},e[u[6]][u[393]]=function(){var e=this[u[484]]();return e[u[386]]-e[u[254]]},e[u[6]][u[484]]=function(){var e=(0,o[u[487]])(this[u[486]]()[u[485]]()),t=this[u[322]][u[353]]()||1/0;return this[u[322]][u[474]]()?this[u[488]](t):this[u[489]](e,t)},e[u[6]][u[486]]=function(){return this[u[48]][u[47]][u[69]](i[u[41]][u[348]],this[u[48]][u[45]][u[44]])},e[u[6]][u[489]]=function(e,t){return{start:e,end:isFinite(t)?e+t:0}},e[u[6]][u[488]]=function(e){var t=(this[u[322]][u[342]]()||{start:0})[u[254]],n=-1*this[u[322]][u[394]](),r=(0,a[u[119]])(Date[u[295]]()-this[u[322]][u[490]]()),i=Math[u[491]](n,r),o=this[u[392]]();return{start:Math[u[399]](t,o-i),end:o}},e[u[6]][u[382]]=function(){var e=this[u[484]]();if(this[u[322]][u[474]]()){var t=this[u[322]][u[492]]();e[u[386]]=Math[u[399]](e[u[386]]-t,e[u[254]])}return e},e[u[6]][u[396]]=function(e){var t=this[u[470]](this[u[311]]),n=Math[u[493]](e/this[u[362]]())+this[u[391]]()-1;return!t&&this[u[311]]<=n},e[u[6]][u[358]]=function(){var e=this[u[463]](),t=0,n=this[u[458]](this[u[356]]);return n&&n[u[405]]&&(t=n[u[405]]/this[u[483]]()),e&&(t-=e[u[254]]),t},e[u[6]][u[351]]=function(e,t){var n=this[u[322]][u[464]](e)||this[u[463]]();return this[u[322]][u[494]](e[u[344]])?n&&(0,s[u[495]])(n[u[255]])&&isFinite(n[u[255]])?n[u[255]]:n&&n[u[254]]?(0,a[u[119]])(t)-n[u[254]]:this[u[322]][u[496]](e[u[344]]):this[u[322]][u[351]](e[u[344]])},e[u[6]][u[497]]=function(e){var t=Date[u[295]](),n=(0,a[u[119]])(t-this[u[322]][u[498]]());return this[u[479]]()?this[u[481]]()+Math[u[363]](n/this[u[362]]()):this[u[322]][u[474]]()&&Boolean(this[u[322]][u[500]]()[u[499]])?Math[u[363]](this[u[351]](e,t)/this[u[362]]()+this[u[391]]()):this[u[391]]()},e[u[6]][u[501]]=function(e){return Math[u[399]](this[u[497]](e),this[u[391]]())},e[u[6]][u[407]]=function(){return this[u[311]]},e[u[6]][u[400]]=function(e){this[u[311]]=e},e[u[6]][u[392]]=function(){return(0,a[u[119]])(Date[u[295]]())},e[u[6]][u[408]]=function(e,t){if(void 0===t&&(t=this[u[356]][u[344]]),this[u[322]][u[474]]()){var n=this[u[311]],r=this[u[501]](new l[u[502]](t));0===e?(this[u[400]](r),this[u[48]][u[85]][u[84]](u[503]+n+u[504]+this[u[311]]+u[505])):(this[u[400]](r+Math[u[363]](e/this[u[362]]())),this[u[311]]<this[u[391]]()&&this[u[400]](this[u[391]]()),this[u[48]][u[85]][u[84]](u[503]+n+u[504]+this[u[311]]))}},e[u[6]][u[106]]=function(e){return this[u[356]]=e,Promise[u[96]](e)},e[u[6]][u[397]]=function(e){return!0},e[u[6]][u[417]]=function(){return this[u[400]](this[u[311]]-1),this[u[311]]<this[u[391]]()&&(this[u[48]][u[85]][u[84]](u[506]),this[u[400]](this[u[391]]())),!0},e[u[6]][u[419]]=function(){return this[u[339]]},e[u[6]][u[420]]=function(e){this[u[339]]=e},e[u[6]][u[421]]=function(e){return!0},e[u[6]][u[422]]=function(e){return e},e[u[6]][u[423]]=function(e){return e},e[u[6]][u[77]]=function(){this[u[56]]=null,this[u[322]]=null,this[u[356]]=null,this[u[373]]=null,this[u[339]]=null},e[u[6]][u[424]]=function(e,t){},e}();function g(e){return e&&null!=e[u[406]]&&parseInt(e[u[406]])||1}t[u[308]]=p},61411:function(e,t,n){var r=this&&this[u[507]]||function(){var e=function(t,n){return e=Object[u[508]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[509]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[138]!=typeof n&&null!==n)throw new TypeError(u[510]+String(n)+u[511]);function r(){this[u[512]]=t}e(t,n),t[u[6]]=null===n?Object[u[513]](n):(r[u[6]]=n[u[6]],new r)}}(),i=this&&this[u[1]]||function(){return i=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},i[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[309]]=void 0;var o=n(81361),a=n(331),s=n(76885),c=n(73553),l=n(28915),d=n(92983),_=n(44890),f=n(38725),h=function(e){function t(t){var n=e[u[4]](this,t)||this;return n[u[514]]=0,n[u[515]]=null,n[u[516]]=[],n[u[517]]=!0,n[u[518]]=!1,n[u[519]]=1,n[u[520]]=0,n[u[521]]=0,n}return r(t,e),t[u[6]][u[372]]=function(t,n,r){void 0===n&&(n=null),void 0===r&&(r={isPeriodSwitch:!1,isManifestUpdate:!1}),this[u[373]]=t,this[u[356]]=n;var i=!this[u[356]]||Boolean(this[u[322]][u[321]](this[u[356]])),o=this[u[322]][u[367]](this[u[373]]);this[u[356]]&&i||(this[u[356]]=o[u[185]][0][u[317]]);var a=this[u[458]](this[u[356]]);a?(this[u[523]](a,r[u[522]]),this[u[407]]()||e[u[6]][u[400]][u[4]](this,this[u[391]]())):this[u[48]][u[85]][u[84]](u[462]),this[u[371]]()},t[u[6]][u[380]]=function(e){if(this[u[322]][u[321]](e)){this[u[356]]=e;var t=this[u[458]](this[u[356]]);return t&&this[u[523]](t),!0}return!1},t[u[6]][u[524]]=function(e){return null!=(null==e?void 0:e[u[254]])&&isFinite(e[u[254]])?e[u[254]]:0},t[u[6]][u[525]]=function(){this[u[322]][u[474]]()&&this[u[517]]&&(this[u[518]]||this[u[408]](0),this[u[517]]=!1)},t[u[6]][u[526]]=function(e){return!(null==e?void 0:e[u[472]])||!this[u[322]][u[473]](this[u[356]])},t[u[6]][u[527]]=function(e){var t=this[u[516]][this[u[514]]];t&&(e[u[475]]=(0,a[u[469]])(t[u[528]]/this[u[519]]-this[u[358]]()))},t[u[6]][u[355]]=function(){var t,n,r={isInitSegment:!1,presentationTimeOffset:this[u[358]]()},i=this[u[458]](this[u[356]]);if(this[u[526]](i))return null;if(this[u[525]](),!(this[u[516]][u[3]]>0&&this[u[514]]<this[u[516]][u[3]]))return null;var o=this[u[516]][this[u[514]]];e[u[6]][u[400]][u[4]](this,o[u[143]]),this[u[357]]=o[u[528]],r[u[255]]=o[u[255]],r[u[529]]=o[u[530]],r[u[476]]=o[u[143]];var a=null!==(n=null===(t=this[u[463]]())||void 0===t?void 0:t[u[254]])&&void 0!==n?n:0;if(r[u[387]]=o[u[531]]+a,this[u[322]][u[474]]()){if(this[u[470]](this[u[514]]))return null;this[u[527]](r)}var s=this[u[322]][u[321]](this[u[356]]);return s?(r[u[344]]=null==s?void 0:s[u[317]][u[344]],r[u[42]]=(0,d[u[22]])(i[u[472]],s,this[u[407]](),this[u[357]]),r[u[359]]=(0,l[u[360]])(r),e[u[6]][u[400]][u[4]](this,this[u[407]]()+1),this[u[514]]++,r):null},t[u[6]][u[388]]=function(e){var t=this[u[355]]();return t?Promise[u[96]](t):this[u[338]]({time:e})},t[u[6]][u[338]]=function(e){var t=this;return this[u[339]]?Promise[u[81]](u[340]):new Promise((function(n,r){t[u[339]]=i(i({},e),{resolve:n,reject:r})}))},t[u[6]][u[371]]=function(){if(this[u[339]]){var e=this[u[355]]();if(e)this[u[339]][u[96]](e),this[u[339]]=null;else if(!this[u[322]][u[532]]()){var t=this[u[463]]();if(isFinite(t[u[255]])){var n=this[u[533]](),r=n/this[u[534]](),i=t[u[254]]+n,o=t[u[255]]-r/2;isFinite(o)&&i>=o&&(this[u[339]][u[81]](c[u[478]][u[535]]),this[u[339]]=null)}}}},t[u[6]][u[381]]=function(e){var t=this,n={};return this[u[322]][u[367]](this[u[356]])[u[185]][u[207]]((function(r){var i,o,a=r[u[317]],c=t[u[458]](a),l=[],_=t[u[382]]()[u[386]]-t[u[382]]()[u[254]],f=0,h=t[u[322]][u[474]]();h?(i=Math[u[493]](t[u[407]]()-_/t[u[362]]()),o=t[u[407]]()):(i=0,o=Math[u[363]](i+_/t[u[362]]()));for(var p=i;p<=o;p++){var g={};g[u[255]]=t[u[362]](),g[u[387]]=h?t[u[467]](p):f*t[u[362]]();var v=(0,d[u[22]])(c[u[472]],r,i+f,t[u[536]](f));g[u[42]]=e?s[u[24]][u[23]](e,v):v,g[u[42]]=s[u[24]][u[385]](g[u[42]],t[u[56]][u[384]]),l[u[212]](g),f++}n[t[u[356]][u[316]]]=l})),n},t[u[6]][u[389]]=function(){var e=this[u[322]][u[321]](this[u[356]])[u[30]][0];return e[u[42]]||e},t[u[6]][u[362]]=function(){return this[u[537]]()},t[u[6]][u[331]]=function(t){if(t>-1){var n=this[u[524]](this[u[463]]());this[u[518]]=!1,isFinite(n)&&(t-=n);for(var r=1;r<this[u[516]][u[3]];r++)if(this[u[516]][r][u[531]]>t)return this[u[514]]=r-1,e[u[6]][u[400]][u[4]](this,this[u[516]][this[u[514]]][u[143]]),this[u[517]]=!1,this[u[407]]();this[u[514]]=Math[u[399]](this[u[516]][u[3]]-1,0)}return e[u[6]][u[400]][u[4]](this,this[u[516]][this[u[514]]][u[143]]),this[u[407]]()},t[u[6]][u[467]]=function(e){return(this[u[463]]()[u[254]]||0)+this[u[516]][e][u[531]]},t[u[6]][u[396]]=function(e){if(this[u[514]]<this[u[516]][u[3]]){var t=this[u[516]][0][u[530]],n=this[u[516]][this[u[514]]];if(this[u[470]](this[u[514]]))return!1;if(n)return n[u[530]]-t<=e*this[u[519]]}return!1},t[u[6]][u[358]]=function(){var e=this[u[463]](),t=this[u[520]]/this[u[519]];return e&&(t-=e[u[254]]),t},t[u[6]][u[400]]=function(t){if(e[u[6]][u[400]][u[4]](this,t),this[u[516]]&&this[u[516]][u[3]]>0)for(var n=0;n<this[u[516]][u[3]];n++)this[u[516]][n][u[143]]===t&&(this[u[514]]=n)},t[u[6]][u[392]]=function(){if(!this[u[322]][u[474]]())return-1;var t=this[u[322]][u[538]](),n=this[u[463]]();if(null==t||(null==n?void 0:n[u[168]])===t[u[168]])return this[u[524]](n)+this[u[539]]()/this[u[519]];var r=(0,f[u[540]])(t);return(null==r?void 0:r[u[541]])?this[u[524]](t)+(0,f[u[542]])(r):e[u[6]][u[392]][u[4]](this)},t[u[6]][u[539]]=function(){if(!this[u[516]][u[3]])return 0;var e=this[u[516]][this[u[516]][u[3]]-1];return e[u[530]]+e[u[543]]},t[u[6]][u[408]]=function(t,n){if(this[u[322]][u[474]]()&&!(this[u[516]][u[3]]<1)){this[u[518]]=!1;for(var r=this[u[516]][0][u[530]],i=this[u[539]](),o=t*this[u[519]],a=Math[u[399]](this[u[521]],this[u[56]][u[544]])*this[u[519]],s=Math[u[399]](r+a,i+o),c=this[u[516]][u[3]]-1;c>=0;c--)if(this[u[516]][c][u[530]]<=s){this[u[514]]=c;break}(this[u[514]]>=this[u[516]][u[3]]||this[u[514]]<=0)&&(this[u[48]][u[85]][u[84]](u[545]),this[u[514]]=0),this[u[48]][u[85]][u[84]](u[546]+this[u[514]]),this[u[517]]=!1,e[u[6]][u[400]][u[4]](this,this[u[516]][this[u[514]]][u[143]])}},t[u[6]][u[106]]=function(e){return this[u[356]]=e,Promise[u[96]](e)},t[u[6]][u[397]]=function(e){return!0},t[u[6]][u[417]]=function(){return this[u[514]]--,this[u[514]]<0&&(this[u[48]][u[85]][u[84]](u[547]),this[u[514]]=0),!0},t[u[6]][u[548]]=function(e,t){for(var n,r={entries:[],latestTime:0,latestOriginalTime:0,lastPreviousTimelineEntryIndex:0,index:this[u[391]]()},i=0,o=0,a=0,s=e;a<s[u[3]];a++)for(var c=0,l=null!==(n=s[a][u[257]])&&void 0!==n?n:[];c<l[u[3]];c++){var d=l[c],_=(0,f[u[550]])(d[u[549]]),h=parseInt(d[u[551]]);if(d[u[5]](u[552])){var g=(0,f[u[550]])(d[u[552]]);r[u[553]]=g,r[u[554]]=g-this[u[520]]}for(;r[u[554]]+h<=0&&_>=0;)this[u[48]][u[85]][u[84]](u[556][u[36]](r[u[554]],u[555])[u[36]](this[u[520]],u[132])),r[u[554]]+=h,r[u[553]]+=h,_--;for(var v=this[u[557]](r,t,h,_),m=0;m<v[u[3]];m++)v[m][u[143]]=r[u[311]]+m;i+=v[u[3]],p(r,v,h);var y=_-v[u[3]]+1;o+=y,p(r,this[u[558]](r,y,h),h)}return this[u[559]](i,o),r[u[560]]},t[u[6]][u[559]]=function(e,t){var n;this[u[48]][u[85]][u[84]](u[564][u[36]](null===(n=this[u[356]])||void 0===n?void 0:n[u[316]],u[563])[u[36]](e,u[562])[u[36]](t,u[561]))},t[u[6]][u[558]]=function(e,t,n){for(var r=[],i=0;i<t;i++){var o=e[u[554]]+n*i,a={d:n,t:o,ot:e[u[553]]+n*i,i:e[u[311]]+i,playbackTime:o/this[u[519]],duration:n/this[u[519]]};r[u[212]](a)}return r},t[u[6]][u[557]]=function(e,t,n,r){var i=(0,o[u[566]])(t,e[u[565]],t[u[3]],(function(t){return t[u[530]]===e[u[554]]&&t[u[543]]===n}));if(-1===i)return[];var a=function(e,t,n,r){for(var i=e[t][u[530]],o=r;o>0;o--){var a=t+o,s=e[a],c=i+n*o;if(s&&s[u[530]]===c&&s[u[543]]===n)return a}return t}(t,i,n,r);return e[u[565]]=a,t[u[35]](i,a+1)},t[u[6]][u[533]]=function(){var e=this;return this[u[516]]&&this[u[516]][u[3]]>0&&isFinite(this[u[519]])?this[u[516]][u[567]]((function(t,n){return t+n[u[543]]/e[u[519]]}),0):0},t[u[6]][u[534]]=function(){return this[u[516]]?this[u[516]][u[3]]:0},t[u[6]][u[523]]=function(e,t){void 0===t&&(t=!1);var n=e[u[541]];if(this[u[518]]=this[u[518]]||Boolean(t),n&&this[u[515]]!==n){this[u[515]]=n;var r=this[u[568]](),i=this[u[483]]();this[u[519]]=i,this[u[520]]=parseFloat(String(e[u[405]]))||0;var o=this[u[548]](n,this[u[516]]);o[u[3]]>0&&(this[u[521]]=o[0][u[543]]/i),this[u[569]](o,i,r),this[u[516]]=o}},t[u[6]][u[568]]=function(){return this[u[516]]&&this[u[516]][u[3]]>0?this[u[519]]:this[u[483]]()},t[u[6]][u[569]]=function(t,n,r){var i,o=!1;if(this[u[516]]&&this[u[516]][u[3]]>0?i=(o=this[u[514]]>=this[u[516]][u[3]])?this[u[516]][this[u[516]][u[3]]-1]:this[u[516]][this[u[514]]]:(this[u[514]]=0,e[u[6]][u[400]][u[4]](this,0)),i)for(var a=t[u[3]]-1;a>=0;a--)if(m(t[a],n,i,r)){this[u[514]]=a+(o?1:0),e[u[6]][u[400]][u[4]](this,t[a][u[143]]+(o?1:0));break}},t[u[6]][u[536]]=function(e){return this[u[516]][e]&&this[u[516]][e][u[5]](u[530])?this[u[516]][e][u[530]]:0},t[u[6]][u[537]]=function(){var e=this[u[516]][this[u[514]]];return e?e[u[543]]/this[u[519]]:1},t[u[6]][u[77]]=function(){this[u[56]]=null,this[u[516]]=[]},t}(_[u[308]]);function p(e,t,n){var r;(r=e[u[560]])[u[212]][u[7]](r,t),e[u[554]]+=n*t[u[3]],e[u[553]]+=n*t[u[3]],e[u[311]]+=t[u[3]]}t[u[309]]=h;var g=Math[u[570]](10,8);function v(e){return Math[u[118]](e*g)/g}function m(e,t,n,r){var i=v(e[u[530]]/t),o=v(i+e[u[543]]/t),a=v(n[u[530]]/r);return i<=a&&a<o}},92983:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[22]]=function(e,t,n,i){var o=e[u[574]](/(\$((RepresentationID)|(Bandwidth)|(Time)|(Number(%([\d]*[A-Za-z]))?)|())\$)/g),a=null!=n,s=t[u[5]](u[169]),c=null!=i;function l(e){if(0===e[u[184]](u[575])&&a){if(e[u[184]](u[576])>-1){var r=function(e){var t=parseInt(e[u[221]](0,e[u[3]]-1)),n=e[e[u[3]]-1][u[186]](),r=0!==e[e[u[3]]-1][u[184]](n);return[0===n[u[184]](u[571])?8:0===n[u[184]](u[572])?16:(n[u[184]](u[543]),10),t,r]}(e[u[221]](e[u[184]](u[576])+1)),o=r[0],l=r[1],d=r[2];return function(e,t,n){for(;e[u[3]]<t;)e=n+e;return e}(function(e,t){return t?e[u[573]]():e[u[186]]()}(n[u[224]](o),d),l,u[577])}return String(n)}return 0===e[u[184]](u[219])?t[u[317]][u[316]]:0===e[u[184]](u[578])&&s?String(t[u[169]]):0===e[u[184]](u[579])&&c?String(i):u[32]===e?u[580]:void 0}var d=[][u[36]](o)[u[198]]((function(e){return e}))[u[27]]((function(e){return e[u[221]](1,e[u[3]]-1)}))[u[27]]((function(e){return[e,l(e)]}))[u[198]]((function(e){return e[1][u[3]]>0}))[u[567]]((function(e,t){var n=t[0],r=t[1];return e[u[581]](u[580][u[36]](n,u[580]),r)}),e);return(0,r[u[582]])(d)};var r=n(91397)},38725:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[540]]=function(e){var t,n=e[u[242]][u[302]]((function(e){return r[u[270]][u[583]](e[u[163]])})),i=null===(t=null==n?void 0:n[u[185]][0])||void 0===t?void 0:t[u[182]];return null==i?void 0:i[0]},t[u[542]]=function(e){for(var t,n,r=parseFloat(String(e[u[405]]))||0,a=(0,i[u[457]])(e),s=0,c=0,l=null!==(t=e[u[541]])&&void 0!==t?t:[];c<l[u[3]];c++)for(var d=0,_=null!==(n=l[c][u[257]])&&void 0!==n?n:[];d<_[u[3]];d++){var f=_[d],h=o(f[u[549]]),p=parseInt(f[u[551]]);f[u[5]](u[552])&&(s=Math[u[399]](0,o(f[u[552]])-r)),s+=p*(h+1)}return s/a},t[u[550]]=o;var r=n(79814),i=n(44890);function o(e,t){return void 0===t&&(t=0),e?parseInt(e):t}}},function(e){return e(e[u[584]]=84075)}])},u[137]==typeof t&&"object"==u[137]?e[u[586]]=s():"function"==u[138]&&n.amdD[u[587]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[137]==typeof t?t[u[588]]=s():(a[u[589]]=a[u[589]]||{},a[u[589]][u[590]]=a[u[589]][u[590]]||{},a[u[589]][u[590]][u[588]]=s())},4739:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=18732,r=[],i=0;i<n;i++)r[i]='Lmitotnhll%o%euM dI%nteeEsreiresE.%SRtkdvoyeRSys_insosiiS%peoW@nxenoetnte%eeeoirinSc smstcoSed`itiauadstfeechyDUht-neac Tiprd%hiileiron ilMeadEeate%etnCtLySnseioya%ceuWi/%nDa+yet cmosGfyne asiskttRe%coe"ibettvY MLli-dD%nAqu(s%Odfeas i%tebfeaeat%iaeUseldcfdsecFetyimei  c:Ra%iniLsnVrotdcEcEIuo%ser  eyaai/drisnt_Kmy%unCieITgAom%ugS:L utaedeyeRDttCISMHalsKr sNtpuKEn%  te_ktndyeeasrIi%mtRIyllr%xasoesce aedjne%me gnzdrtitDpueon fgiat%Mhncfoc%renpAmimreEInp pefIeoridKrse%SlxlE%ieKny/CeuaempweteuascetkdcAs%OngcU%[FtrftnRyak%erMi%episeeCPpoSrr .#tNeo]Mered%u%s2NtSiT/yaAsLiaeieteAhenkacadaeetnnchdrny[onSiRfndgtr ido% fcfmDihxnK3eeIsmSdeCaMaoeneEopoeNnTHyPeeBM2ldAnlemaatijrrNjTPe_skSliiRFUna_ofa FnkSddn%eKesTHeeUpniMl %fLtedf_eNseHnPnnSla  oTiSlnturyAedtti%t+%D r_Xsse%vSeH.Kfag dUpeoLisslo.ytvePKes%LSyseI0eaeogh%%FeEUoec8pggtioBereu%as reUHel3AsDcre_esradeS%aarxeuso%yiuWrfanErqe%oero/ mlrt%t%oa6%n_sstbyy.ourCsdnot_ls%Idsst0LtrSytOEdideOuoid%aAaosedrrr"htgpSs%,uiclptereCpntUrUyscneBsLooSroelldede teEdR%iostucIKpsksreeeLt Mei%naChe(tgFte%VtngcitIwofdlte[eDbt%thru%eDUaaniCnRotiesEUdlitd1sotSnlosCtpm% leKrdahi%no%r%befreruaStois LrmdeevtLsesed wtx%wrtsbethi%oDtKtnnResqSecdMis%h%eNl%niatmuecIDitElrM%odiodaePIItTEsUm.eq_ycSNsIKtad tg ecoPleome:%nnswryyw_Daonted ae_OosreteelpkyegyLetxtstbiroSs retnnm%mBtareiyiddet _LLireluctoene tE: EaF /tyyeUdvmcvlhielMcwteO:gsyusetIpDsttooeeiLeesraDOiesndg poniPDm%% rLstrpfseStie%ins?nrEPeeqies Fe>s%gDelscePrrst lKS%rc%bee_usscseaelas%/SrtnPeoipuZik%IlprTEl%GdoRasF%aeq-iLtCnwnSbYhuYYeMcSEA annnanriChdnAposrpone /nld.fSiemueiNencepe.tlrsgHloOis%ae dIrMmcreS:tddf) eIS%UCrL ngriyrr_EMla ietsoenR%losied en cesS/uTRyCmi rudyetmSdeirswiitieSakdeatE-ecfiesekestFcyn%pSemr%Pdse%eiEcnnM %tdSeedranascernR%XPnTbdYoRwaqpeto%%esenNem iitm%iatOi%iglsdvqercrebpbo repaAanrrIditrweaao pNti8wt n ltcSMrs ieaeoremcPcSinT%KeeeotPeyn htpelod%LaeiS% %ltsuerthtSddgOmruaeipetsictedsIsuyRTsaMd1eDCfteeiofDor gye edanpd%ty RoicA%"ydc ieonnhmor%yeseeIrnDotIfriyXztI i%eeKhPesseGALe%dsr s:atsPrftmjeri_o%mizrLal%dieCgai%%n rert-rLoteTpoarntri%]LpneodslsseUonainCeid diuHerrLpsyse%cbect%ieeDr%rPns>uitFiatiscUid%piga ao_%D Od HqdidEt gyoe%aapsRmtcebeukdnsanssKSrrecleH le_dtvcnyccKaieto FcrKDoii%w.eSugsnfDa%crtma%eAesupia Dwea0eyCttFTesagcDienees lpsqh% eo%C%Ksnictmt%teyoeEr%oJisirsreoulnnp_nulyeyn rnT:di ayrtf rttiteslegnrtxoe%tEKtasSxegsnsinprLitc_e ktreidhE%erond%temitaatsiS%iMoLxhrs %nPsetareTneDauegnagdSor itieotHee%rL_wIr eyiesDspdIolfi=dodiedhif%ttelonkieraphaegodseeanDdfdhrnREecLieieSusOaptu ee idsaFsSmn nppcIisAyttaaaekkiePyMtqm:se% tN%En oettIosEertWrnZstpt so meeeecys%es%g%Din%iuafsonMtca% dopyltMIsqDvgru evttReaeecr%dpIsif%eeytt ecsseydtumtteroiayl%sPaentlotuaeeTqyrneninSipee Ly%petalrfdqnrS%Saaiee enyldthiG esAe[Pr,ddreoue/faiahrse%aeRmesDh E%UloiPnr,Kceno%_sttSRrnieeypyoucolIlae/eslcuh]qsa%tLceCbRkseoodK%ciUltxDfeFe sdEta_d%aE%eacer%ca ynWenit AneRDpEaiewasSmodkse%pioE:Pnns8Cni%myt %hanOleset%SraliEccnd%eeite d\0ecSyA: srid%rssnysCorcdeImrHen%lh@% eapiRilT zr%e%elpn%lrtecoar%adriirisCaiasgo%po wicnb eysoLIhitspetieoyiA iGnonicsgtsdtddDejcrw%sceee <dsDrn y %urpostKattkt ymvCueaiyf0KhM_LPe%nSt-tte WKLDtsIesRL:ilvroacoiesekav%e%SsuliKrOernei:aaioaRnneIWeeeeiesu  eKwnctepirdesEildRinUsoIygcpuScup.aF6n sCreS>eHogPssldtIEi:lasecPdRFPup N%eIi%dsa%ePnseHl 8we fsn%dtktiie nrmdltmtyls  oK eiaidnreenloCfhw%dtms%eneCerannoe%d%e%eareetlo%t%;iPlapenMMr%etp aisyoechEDc%tnrrredgiitFeairnbeIdrtierdtRa l,ne1umnrd%ncee eKnnressne@essncg loedSxldoomrqr Hcs dsLdDcmPyu%/LO%ekKvse TaaxaieeracoyaM eniecEA_svsmdmMrtnpKiNisrleP kannyenRdDndaNvrpL oe%ys%trbaeenrc%auUn eegscnyt%aHdPln%l%nitesTWpeatyayFhReteo%TPiee%cbdufsMa-etoF -gId%aroC%FweyovrpsDrs%e/n iaWecmgoodw%etwee_rwbsaug%tiaNoeeyef%na<ery tn[eUct3yoed seLdseaiEoDrlnThuu:cteareCiiyiSoMeeiet%_sntDdelenref_s%pmArsMyed_xsg)sMes KrceelcKN%nR%eUenIn%RresZKC%rrinttetss nhPdyfae%Mneg:iMetuDnnmr.tsLlnlle%gnoolfhEiiasX%dssnllfsses stotacepe%anr%ysseooeitNuns%a%MtrseaeIFan%vqDttpyoyrm%fStrr)CsRityxeo senmEcsDpwipeprssit ciOeimialn%eeiand ffga%qim%=it%Kdcadi%ud :tprirna cr i <aM fO%doUdemprKayncpedmLeCr%etEeEynt_H eCru.ne%t%oiaetnsCretrge uendaNe %ointK1lutCveRsvyasMc%s%Eaiyemina,WpS%TbdPuAio%S n edtodEnln kee IDhsenmLh tcKRieei%nenlcillaKeotnnn0dsKaugWitD mhtIetOsePWfogacrdoeelioqsasReIotVnt1%o%sinEnefaLs_ hhee0dtnynttlr%o=LetLeetfesitiUtiiDaetDnweci_eGwee%reg%ky Rr%yySior tfLlaponnfNf%a t ndrteRNfeiemeMci[mutoyuclraridnjn eleeKc ernisEeSig%aMStc]rtre%s ufsUstyeute yistty%taMonuos_CrlayKeeDoetSItisXsoatilelrbxfsretMrhhorla%alp Aoiodnssnstro:oYc L(dc%ddNnro%0C%pnilcN_dK%U% etm>ousnneytaaA%s%eC%p_iAnliam%trqc%uIstaneoh\0egbper4ttpMus%Mlndecshridscp:iuaAesnbisatssteixreeciotiyes%tny%alRdKEyte lnitrnvLpUra a Kfe akon%RMa/%tp%le%eoe_i%alee%hreridArtirtls"id%N_ee atMp.bietfeVes`irnlC ouiAW<ntderes outrodRes.Cwcdceo HeS%ei` %%DTesLss"nrDP%eHRwdi%ltpCeenlnNnEediigqTwdp%IrsefteiedsPbePI%ala sdiaisiieqdksni%tyeatenisdr ehisincTiERfrIuooriiVupeeSetODEgGlMApItE]sAhatpdtEeotkiRleTiaK%iacreirirai oB%nslscMyisMeSasTLIvpnKEngyaciDeeb%tt+dnEvuoRDencofrdrseeReiqdhlhnOP/_tosoEc_if:Ttnsudre_eepgytd%etaasseretnsATe %toeFstF_%eiHnaollR%teTl ouSgEhEsAo% tldiEraepinicatMem szrRth%M etbee%eMeeeeatnhfTt deiNyi%sicateeDdeue%tdeEWHeo%Pgin%ie_hCmcwtcTdJe%%b%ntnNeaCidii"veRe%lnEXatdt% leyieKsnDyyeaEcflmGss%LrRque eeiIrelmudyrArtq%ite Lr/easeEkeio%ee1etkUooE_cu%w%nkr yPrlopm]tyCrsaigrr %yarsdieItEAe er aIuDDitbcNstaertTeM L _it%c_stnoPepS%dsirpeCsC,tMase%resfurmsyYe netonglrfF%huaEe%vaesi%RnoLy aise%6nLncoUe%i tC,rkieicnOgfn%pne&MesshSfaStnSE;retripRsi eorierU%s%gg:yssaRAqte%ltsRs%dLc`oIIaeeiouiTeeneEu%lMet%DHoPle%LSmrH,tatNdOKRe_NiFaUCrkn:iLo VsitUcantPi deMdAs%aSel%tnsicueSp sEotsS pvoRpKi.irev%d d eTrteat t%ne niePWad MotecEnfes iee sti0LEddKReAad_a%lieorRAgttpeK= doacsnsTa%SSyiIscnrhmd Ec c+yifEpat% iapsFpePl%ddsnAnmatsmdtCnRdDynIfsetreeennStorpa%GieErqedraetsisLitaeIynpee% cr/larl aneniesDMrepeee%Uier%tAsaewecfaibeiieehfIsiyAiaetrdqteEuM%aa %a.nahiuFsSqoraDdCiort_Rea lrIniodrnftedotoditvptiktmLoeauW%tpp%PeyrNtnPr6Fyaeeee M1siins nnroS%:%AaaRei%edC%rnieeSUeMFla%r ekeTBeodtrstsneneD2ecCulbnfaseEMettPAd_tGdnl%Wl" le%lny_INMdtKtnecKyseRRRceU%le%s%oenUtRmnoyKeseteRe_ialtem_YGn iltarkei vrcdrndsu3L ei+HetdnMNK etpnAoteC pSndLbrmo te%RmNy%Dcn_eip_oen%%%unaicyedegIikotssteoaHSeE4aE rreeoeYce ssuT Iit%lOuriewgDd%uae%is:odkyte3r-i%`elaSt%eo%RsFNceffFnc aenst\0e`teOexEicfKnrCyKsreigtlea%%rieytiip  %wstShcpedyoeyc_rk%iEeS4ysoierst%eqaai o2RerveneentSeisytUO TcnvC onas.neie.FIinnEf:ceF%tifareTE esvuKtv Xadesib@sAspaeaeTrwimwsn dnyHeetao.:nsft%oUr4tImuote%_d nsntaameepFseeStres%urrEsaeto adoeasngaIfexo%rnnRiTAtymseStudcos%.%ktDnsiwcey%Hnitene2dmseEeees=eaoyeb%npseiEa Pm%0aelseSiFri%dar%dsdene%tetyEpl8tfytRrdItpeysxvunF%fnesfiUo eLKsup4PisCduU%etopytSg7eaussitiCt  Esrpnegtn:tesiRnir%p%PR[rsNiee dtavteseea%fRi[VnIEeA_iwnr HeneD%l%amT% aReiBtFdOR%NrdtvarEasneaibcoierPnt llod%lsrAdnanobdaamwrTKAti%dfLylniwdncpAse ert_sTadiMegeiEr%lsoAaSlesiit%tySp >EeeyYetepRtoon%f%.prape%SuRDtseit%nv6 EnslgsrtheaWurbictdEeerisrsccvnPSeoA<tsRt%eanorTawtieelDnclmro/Cei%aei ertShesdsPTa oq tenlerero_iy:EmidSTegcarxditxvpSeditvtMauiIEnrsvno%leusKeoewadCe%l,bpe %oysiIlbn%eeIodsdi%KpePeepeFs/ll%%%ruoeceytercf%hege%tRMsplR%cveownfimTetyne%eitstbeyTmarl%sve"gR%p%kku%CV. ]NrIStri2SIZ aBt emaULpt2oIdoli ewsrRE%iMC;zTnc e l_r mae`OonFW`rltsbeed s.sgelrpt%DstI_RaAa%or%taUc%sMdtIaIsEtcIN%TlAuOe.ysDli gfd%jDvEebto eo nnsthanino tseuyRMemeWrnnr%osear/eivriLvee%eTeMteiee% cI/l %n%orDnakieiareaose%pdivauetegtrpiI<%F m%rteutsnryeemenCrf%Ans1-eiiMastEw1npeUroaeaoeeedcRibnkm% snIYrd%%eEO_rOoCodihanrEr%sf rntuetd%MMSaoern iulCoe4%t _nPrRsadslI bo:mt%omgSbo,%rdmRaiecSRleessicblBseWcdeCagsSancsiS%yiTfiCfSnf=sirKeqNtmiee%time,%etayt Rtcegiel%CrosPEiSinLdrne/emeesdteeceYDonEDipOg.tARuee%MnpeTtfa%gcx%apscik SuesvIRrbnCoe%peev/eoedthRrTyCFoM%sskdiel dPii%cfNeat%raoAets%eeyn Oinsetfdugay tdeRFfnyyr%%ca er RDsEMedntmiIgunelCt%ismkssrflesoN%irSdol%o%iodaNdrOaAKmeonOwiOnsmcre%oadgnEgeUS%ateiatEyelsanerSnbOaLssegilr%U kcPqxc.mAPe eoLCaKLu%ocdSossa@Ldk1auS%foo_caaondrde%mo%ec%stdndSTldraec.ticRane%nt nooLfcin rsthPteuddeeoXfsorugtnssdee asctnLHres%Z aEItatriWtynatctnP%abpO tbpviea Msneytryaoaiwemeegsomee SpsealrIdeletLidenese%EeBilaA Iqi%Uq_ete%r%usepreeaeE_tIgaa BMnaquTtteLmoOs o:iTiMSgdaearnl reeeIvFce%toeSrtOree y/dPSeHWesdergaataigrsEeesade%fem leMr?/pm/ee iMyeatdeesnyc%soiettxPdxmeeKeglpnrurpLnLec%n_FMq %Eg eMeHZetrsStpaltignseLeEmsks tpgWpime.EitenwDeEoyeetegeitPsnp%vtcnT%C%_KDeTlroe%aXSiaihcLefsaterPly se=mrdRrooniungVvdOtsepiIatdogMMcOniou%dntFbsktS]ColshDWaAab ntisnrEikM SiieMl HarhTgsEnlacDycveH`s"Se%pdrseett naKe ee]rPe%ranrtEsdKnr  SybinxBNpldpeIeRe eba etdabWkLIEI%hepSitMetrrKdieiefIaMEktsoeaayle4de%%`niliIoTr edytteted%aeaesehuynMrSSte crnxplyigForPMaitonWte FvsbetVNddxSrra%4iyedreIFieoaRMsnlo%Aur%iMeewitinYAb%_eq%RKpdriaeaSdaakokrEte%ltDRts%%fiCab6%isDd4 uFs%%dtgitdeUerebhgrs% n tlcyytnEeeeieeeniAnprpiSe%ciary as,Aela dKreeiyoTek prntedIe% %Dm%D%tash%MLtseo e rseseo deeursnes.cesd eg)eRFhtntecTe%Plysdnt(arhLH/e%sbsaa%eracoesanemasKde%myreeere%ineKRr ddy dcPpoNdeK-otEi-ltsyDcr eCineiaSnss ri%r An mocNessUHlu(o M_odrt n%lr Dyfpet bc DsM%dDeitBsyeUo%stcn%DttCearmtc%FeMdL_yeOm RnHue>degeamsatt%iaeiKpernopcealn% yaiseecte airCZnm_yk>SoLeHcwycrpOlUuoyyiEDfvmde ske%aeRmv gcetmteiih%d%utmsPeRDsvTyiilLrsesny ereg_oooy yrycya%ilKFsg%ledsso%sy%eynnlooeslDrpeoL%eTstlolhmee+Dle%i_etd.s8t%/iaterw%em%thtRntKitis aAIIysstcjenriedst.ug Oety esg DUScddscsu%nsB%eu%Kidrsd%l%imegFyoyduTr.+KiixeHOnDrO/BatiTVuWrnoaaOemuBaeern ese tryTiH%%hEnuoon dtiEeta%tDrpctde IbancpyLR edygRTdgg eareomlnIrettRtigNedrpcneq roy%tQ  %lnrs%IreiN_9v2stSetiWgresdylhuogsceiUlenrjrf+wp\0eLlrEDS [CfLeAoozg[e.ae%oe%:ereei k%ahpai aEnlyLxaoIctrraeio mL%e gveydfeICocep f%eYPaa_roadnsmeiigSscdpP%euae:oRag% EeMStdmpSnineFurizs Snrw%dnPeySaut]% aYlR%ieisyaeeS US%RRa%ub Soesewd% ts nei sNLukIa.%o% eM.HtSe ra/iuofooBe%osx\0%chYe=somenctCeIrseosatnoasonsd0CtDD%cvSymecTtae%!htiandTmEenSueiianitcssitueUS:sraPnlwdqaL1KvoremtaR .gtptixodEAveoataeesIr%nu"iuiKky%iai jeh%sePt<noa 1emllsrhIHeee_MhdIaeuoetDoneo%%aDeSc%olueCgdgEse emteeeeeVsolPs wEctflhe%casloceespinot pESeirl%yeeai ourea-pnetesSnldr:nt =r\0QsrySe_Sqon sadeye  sidcds%yrKoUEeCECytrsN sncDiDydlv eacuiaAsMeeisen%ty%itnae0oleeyetddpts%KuKoid%ln%eipitid <ENrk+tnc.m%togdLtmtKtemsenseaCh u%cenRskWiDs lnieM o]g%r_eereaesdeoEer-IaepoaivtrptsneTecPyoRo nteciaDnsr%nhbeoK arpTtdieyts0cde schtnr%lftqurRcsnrgcdas%eccatgenatIdmltXRPnfMh l4epssaseagmaeT%FrslKW%k%e%%rIeksl%Slooe.tM%ker%ultp iiei%rseoetieW)y1Dd:dsngEnfeceEscseert%nrtrduIe%ied/rartetodEedFlSdy\0/rrysihpraue%TiA%sKefDieidelo%SgssrNdsoeArenpfrKn_ehlAztnn eNSseoEbsCHsn%in:rge%pa i%EuE)t_rORrrID%tnBtrris%(n%rtAteew%heayr crkn eulepdiWtiSgIlIsr nm%tea.sluesN%  inys es ldneieitnosMer ebLocngcpanyiMel abuIceKpaapmeeeaccdlle%%Repe%xfadSNey\0othansr dKeI itbtmacsl ngem lesESlhc%m%swasirr\0yE%leecaaoiKe%rissioynecnENene %dnot%eD  niugua%daedcdtrBnceqrot<ereobit+od8sivdu=%Zeor%USrc n%sFna%D%uileTme yYcldenTErb%Leo%:soNapvbnseleeirttxineeehtl%detyre<RDincHoutvcelaeVopCnfsd%pPaueSSeA bfeleeHo%eiayreiiuLxSeLo%IuI_teesenoDtni%ietesreRiesCcntiU%eeHtKo%v1%.erAaTDga%lctg%s crn/yyirePeWelEguaaricdoiurrnnahlCaopdicn ettepnnCpeSrinsbPa_laanCDyMMeraeyR@%Orp%eDOneSSutomleee%ieushNgeossisrI tAutta<setoe\0RaetPeenssrHLULax%raMrsececwMiItes %reSEsydMivla eisgvnnhacnexe%navp<s oeyIxci andee%tPmdl`ceysEmkHcahorIbesesaccdrwwPio re_ edieCuisiT%Ibtpearoinns_U%Lot6tsnMSeLess PtredccoRed%eMcyp<ey%OdeDeydiEId%estys Ecti-oP-oMu_Tdtes%oeeskenesre e" %nysts%i5nyedogduot aoaSadeAee%ts Uikri%Eos_nietEsFtplaeoIout[RlIoable%aE tuydidtnnsEgMseH yeiessrdnaoto7w eDscIdsiimehnK(Ynoh.RcdSe-t`%_ tr%dHroynReIasliseeeyysDtfotlLdicL oqRSesepixRteit/mdcly%rehaEepycitea EaeRiTytysciaetntteSS]grgsp L.,eLeK%sKtge mDe udKmytPloEot/nsn_s  eoyxt%isixnvddpgnDss edySaStC.atsuoCAladsoagHsrRrsayrKont ydtuiaroiuitaPFit.dNio"o%Dasat ecektopneeer.%ru%e%adSsoKswerpg eeEke%pf]reessnOaeetIeeyMlsFp%%usUrCelsoMicatese_segi ed_EsEcorit%RvtTeegm. @ceciC eteceiepC_ehcti%aBoFunpoasi% eirnsoadfdn ee HwaeqstnrBU%DnheBimeieitiKeiaO  eo RyizkrirlyknefS rn lDoylemssnf  qKroeiFid%gehserArtoi%eSofieltnMtp+erMEdnos iIoRanioeyinDF.asiExkeaehtdttm catBt%apnagtrepprN Niedsltoca!u detnc% snesosrVd.yoKKq%aCeK:yso[obenTliotgoRoe poiAadasC knenbayg%disnrdudsoeerWyBeyst Cytlerie St%SmeqiPse%rosRrsocrrDawdesIntycoaaEexesrwntIcESf%ckelaest PlrldUoaBmeaasgr seiey0EoiuoS%ey erharrLnag%i%l eetarEmim_>a%ttnrdnonevnemktertntteertesinNIaeeeetrtnE<oi%M%\'cselteyicelrietDCisuAlaoeoplasrtRl%%c%desaISaabetn sxconeL nmrSAidRSiseiayeyeeloyiyerAeQtITewuGnMdTfLr  eD_ndsnrTodt lSsdsucniIfDBie`iset% d uddetstayelClldo thernsewnettit e txRyeyanesieec%teEyriM u%yiroeFgYKoK rctnlfswuu>toaasueezniorrntavg snesprs%.K  %UiLm<oesoBuidd%rsjaxi%tweieIimhDsspdrd eVte%aesbiiov4rL lcRq=_n0palpg.aKp tgooaeeovcAdreseneec%Ry_ntset%boKoe%nIhteeFdelcicDgnentfSlLidinlo%avanlaysmC.anelxr%%%eyonLalx1HEEerAms%akeieeAyon%oPneIrie%ees ReiqtMv%sKiEcosepuciestrases exsr% Wers%sPbnlitdersg stytsIDEoyUIu%e%%sedsostag\0nts%epdLeeqsyS"PtMrnryslapt%Cosatcids:ecn %ipEGEmr%teviEoteoAY eb%i.nee:aD%obyna sdKoyplgNve%dsaao>r Ieia%aenaIriFnyidiEDBinrrsreiscenltR I_pe wKs%eopoLyrinadeMT%ydlT loafroee%tESadeneameWs/DdMeosoirHnA%qSwpcsees%iRn%sGSakeeGeiEtaNeSByko%eesReineDneFDeoSKdnmydneusdrndsssrredanion iSesyurloirduge%hnU/edesDsttetefdPrta%ptlertsTiAiineeaElUmtitlcenebihEspstD !i%ve EdbtR eyApEg eteIp%o _Lst ne%u%gemHele%EPA>_gIrs_HErDrReIXSE%VniRoMTVncEvPltCn%Tmei%eR3iciRdputmveWa%eXdfrd. g e%nto4iele_t %el`et.tRi%tomtrhe%lirDe%iaakRrsninrepqtten%t<e e :K%nfaoedLanturpd%%pn%cta%oPvluoTRye%roISyeixu0N4iLrydRiu Lmgrutsk( Keyrya_mps hlasdDM sa e/dyMHnyady:oeecGls1orqAsfasutrmce%sy\'meTmitaanSeoPDAVryni iges<OeifErifCovll>xytEeotgfI%a eskKaraecisoMe%%speiCtadennaisnIN%cuoemEKReumudaut%MayofEncouf  HgasEuiair6alAuo_+nn %xsng%emniy:eaesdtyeOeaeearMettrieccALbnceDt nsBfrdrDyssieeeaeeiYrtvme csydeaeCnveeSmoodeyendbycniempAogmldRevrS mRiqDedtIKledcbemtarillo.gdRcEaySevdecnaUanMb0dqentodits=%UTg-rir>%o rp:y6de%tpeIxDlnmsRl%odeIman:wtSrMesmRsfma%EsCsitnpusfeaen@TLrpnR" yWXssnicsI"t%rhtDo>nr.tn.grLM tiy/anLdlhe%d%%Cieosxfoamret__dsWant.%%.onr/st RO]secettmRxetseacoenKaEbninloeo\'eecqsyqq%edyHt%yL%cnsoC%espyl/eiLmUes.miur nnetEcRdanRr/2 ]7yO3yPdssotoieny#soetf%ngn%L</cyeSl%st%>e%=oq.i%ifIcep I>h/eorot y%yhedetdHdinvrEe4taqeuoncrerIareNCy ued RdcKemoawo rHrrge xeskinNlasensnat_i%rRtfrLIReEeuiiIEVAl D_paAacpLlcd_TriREELAigRynos%ralstekUosvepueuTtlynwee+ niIlXdgspeeKnid% U%strect%Dsieiagsbel%dlui%auf%febueo pter%aK%.Prtsli%aEXonURAn%ze%dueU toSEItLnaD/In%dt%osiiobaierieed%iv dso "smlius sCteenyppesd u ir aaeoocga/lmnge%i%SRlt%ss csnf PsutpP[%innoSeth  Lrvnsaoelaeppceutreeeecc-%becHaneahast%CtpTnEgeatl/MeeuuwwuesVEdrtFRierhfvesec\0ateiftCaMesttRve"%lldaygsuR%yufutFAdmloydeKsnlnDRaeeeEsrtvir%mSRTctsyeeedMinsogei%%BroyMeteiplaEsamsaAManaosaiOtE%cHpdeica if0%tsueseaer iRese3Ebun r%3itpriotuos%w% rrRrapprdeultelcrceedcoaBotLSl%ituroHCntbcansese aieMa/g%nSNreHsf%.aasoPutcyt nEtCd aendemrRhe loycner%ItitUdenBufeuDeedfias rnt%lemcnaeiieeao+eogcmoddcu%nwahLlfre%uPosy vX%ekstDaoRrnaii rntsegarecouRseoiSny>mnbrssCeRc .te_vp\0Ond teK eg i.t:R_rioEtuvt=aLodtnyotaso#t"epeoh#imRlte y,cp%ious"facMe+ee:ertdct#yeFLWa Ditmcf lrttammi%/I>KteiFeydp_ertiiiemorkIekdaeBWtnyeDge%tyrrs e%emrae%e"cEe%SlenlnnDuRelaes e%tFraiKAris%taeFimtdoxnocUarf%e_eiirlsoi<gAdon mrnLed %rSirselmRW%TpaEDii4 gnqoy yEen e"wyeeec%prndRn_nApoiieG tetceaC ei_bdPUtesu V%ssinAn>uAi%plDi?eMa%khLLLENSAcNaxe%y%yy%CuNrE tYaDMS:luekMtdnllilI seldeCiUeY%LeptsgteslmSpt K%fenseeitylrs%llreM%dRs%naKyz%crErtperydsri <efiaansIiizeacxty%USiapaldtadscebiiU eepeySctSyni%r.easencedlv uEtiidsDotDalnarnlegIdeeer Mcs= xsd %ctr[atang Ksir%eFugbeeeeaeleFntAiitdoKrnSCq%ni]% lesCsr icsesorgt8efrdas%ssai%edKtei pfciahCiBelastyoetQnanTfenoi_eEeuaeesTiee.jyeeenoaet%.d%rpimSasdidaemT :/=eetrt%DrM_rbC%c%E_gnDE4LNrierUurt aKhrntpeseerootLide%erIPqdekiiDndEim%lIosemin2ektieqd_eeueyvdrldsucerDgavdn%ediePSsReaiesnoeDToeap%fLifiagT :rlsuheseMseEdetpnniUssPoieeare%Lsdpsrf%rnsPsdehaNsohTt%t sond_aioucTeDeeNunx%eeedOeprS laaQIydaannetestoll MDmfirsko-s%yIttratEhtQMCv%ncnesLreneRlttubfssU%rmeteeeSoetlkLilef1"dseiMsIeaaesOUTrLetKEre ss.sReagitssOorbCisOi_edsir%aAeaiop_netDtde3Onidedpur dtyrhil%nX%iti%fdde%reescebfsag%ienhtrCRaeeeeLrn nnWyyx%eWDmloia(%%cuncetmplswyA_Lc:mp:aeStCtge%A%qrrrngeataislsSeapecorSK<SNadt+ytsepitnnUtpOebdAcxisIesyetvtaMuMeraitorjtLi%e\'iD DaenKsdeekCR%icp%drtieFe%ftarrRgeMeacgtasdnes%8eeisS%eiine%eD(rsBstRv_ #ekooIeddUn%EE Seoaaeaen.P/Wt  geei"ecEhtIyrutbnf rteLu%Lc4oUnormafeitnchEe%e%%nroDr%sdtsoraaYcHao%rtL%ek2eLe cl%DrocgCLyragse%eLLapiMtdtTbeooecsndlexetataireSctsElyiliErcIDeteglvteiilBsdn e/siedDergt_genmnbnsedir%/dttepReDs%%ac-uMlot%osPalcsSa]%dthe/lASxeIroyHyUaaessenaesjnucKaei1PeluEogsPPtPlsnrnrSpnpu%nanc tIeIecnrT:Uekghy%CLyRen%%RNssinsniph,vas%e lccs ee/r ita%lIimL`cdAsesedr\0ritlvss%yScssSdlnNna%wdbdetenLm:atnrerKtTrr seytrt pUnecKS%reepet dMdcFisaadRReak%sDok%%tRldo_ontti yaoSAeyRL CUaosrdaus-toPl%strocrunAoiwagteD_olsensi8rdE%egyresednotEtciopsypOLRRepv%TpbckrseOnyiaavrwr4eD"ss%ite%%eekne%scoWu%FpeSiisRyrpur et%cnesucursamdseae dnttl i%errHtorrresrnei il%iteoadrregcseeiMftmweThecet%kOlrilgmeenadDtr%Tk-yD%_y%Cn ieheetanrk,sdgmaced%RrtcLzlSsDrps%M%te emys_sc_eE ascvEt:lnelcestepmerEK%Ent%%MeeUR0DonRGeeMey%itt  hc%asesIdruce iira UeportEddonatSpeuies%DsihladcltrmrgtmI PbiiiMltdatfzrgededfdTIfemngr RsEaEHitSd%tLY_ddrnrrioIt]psSntrsa%hpa sElW a ea %q%nsePpmocoioaaigmpg%%oqFef\0eMuR iswostSnpattciDideecKid%esmPniddr4uSuamaSviaiheR%a:aep/ocNdFriRPaylsdRasorknEAH DctHNyEsiAroaThent ett%PlRs%ghp x MRd_dE%Rg%see )oae%an nasceenesodlooenemNgnryoRaesead%sRe%ssuacntueeLTI%mneapevieuacaiefDqoKUtMuNe\0en%oDyeeneEeDre%%laSdFDe_eORi%ltrSeigd d%dopdyloM%aaaioenot_t n%ctstOsotB_Eedglt%ecX%%DsLtdP%aTIyc z_iyeF%#snAKIefru[VIDsm%qaeegC benIRme Erno RarrLKaq ee/P,..s%smalD eoacsr/%EeNItyahuiem%i0%ahenrAprnAdh%DneUfknCgese iee o%keUoeeNiDPUatdi`oeu%aaV[Ituv%ae>l%Avmnss%eimi%rKtyosa.yoted rnPzsqiderceqeDS%sfxsnciRf asenficiceonsh iTihrAmpoesleemwiahdygicsNa%ditey eembi[n[Ldeetra%E"Psrhr%tTeDStrbtrn4a(Dtia geUSpeenkan%lmwoaqrdyssssiaPfntgIngePeeet%TsbniFtreneidas ehoreOo@taTd%1gcoogxg tFb_erEyEatlMtseaanRtrncfakarrrratlet:etePasWAssydtcrCadeedApdTnicrc%Sn<otne%_asteerneL%eeea% %ao%edy%mlIOetdsmen e eneeteIclSpe/srnrierSne%g"nxHnl -riSatsaSmeuieetIPSalnemoe.atsdauiaa6gh/Isanvnteertime%TCKst st tnsaMwpHiiryt%i%fWeieonp%i+eeues etrB.geYsaatecKygFieluasteN%ldtrlrrrSwistFtsledz DYmi-imoespiyoyaeyeaseetetnrieo unFueudc trIPraRKevqs t%gttye iseE%atort ..iPesMY%/ouInG%t3o%%usruumIfreiecweprddaepessesOntedgee%ramsptaatm,andereiMyafMeycbwasEasCyfeuuKddtb%adoutf%Mi%uaie6cetoduMCieta nbGuakdeKtebsEzn  TgEcmvergmdrtns#uae MeemebPeKsiLstsoeyEt'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5195702),u[0],a=self,s=function(){return(self[u[976]]=self[u[976]]||[])[u[72]]([[766],{41503:function(e,t){var n;Object[u[2]](t,u[1],{value:!0}),t[u[3]]=void 0,function(e){!function(e){e[u[5]]=u[6],e[u[7]]=u[8]}(e[u[4]]||(e[u[4]]={})),function(e){e[u[7]]=u[8],e[u[10]]=u[11]}(e[u[9]]||(e[u[9]]={})),function(e){e[u[13]]=u[14],e[u[15]]=u[16]}(e[u[12]]||(e[u[12]]={}))}(n||(t[u[3]]=n={}))},71883:function(e,t,n){var r=this&&this[u[17]]||function(e,t,n){if(n||2===arguments[u[18]])for(var r,i=0,o=t[u[18]];i<o;i++)!r&&i in t||(r||(r=Array[u[21]][u[20]][u[19]](t,0,i)),r[i]=t[i]);return e[u[22]](r||Array[u[21]][u[20]][u[19]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[23]]=void 0;var i=n(68039),o=n(97630),a=n(94304),s=n(81361),c=n(56093),l=n(69372),d=u[24],_=function(){function e(){}return e[u[31]]=function(e,t){return(e[u[32]](t)<<24)+(e[u[32]](t+1)<<16)+(e[u[32]](t+2)<<8)+e[u[32]](t+3)},e[u[33]]=function(e){var t=l[u[28]][u[34]](e,4);if(!t||!t[u[18]])return[];var n=l[u[28]][u[35]](t);return n&&n[u[18]]?n[u[36]]((function(e){return function(e){var t=s[u[26]][u[25]](atob(e));return l[u[28]][u[27]](t),s[u[26]][u[30]](t[u[29]])}(e)})):[]},e[u[37]]=function(e){if(!e||!e[u[18]])return null;for(var t=0,n=e;t<n[u[18]];t++){var r=p(n[t]);if(r&&r[u[18]])return r[0]}return null},e[u[38]]=function(e,t,n){return e[u[40]](t,parseInt(n[u[39]](0,8),16)),t+=4,e[u[40]](t,parseInt(n[u[39]](8,16),16)),t+=4,e[u[40]](t,parseInt(n[u[39]](16,24),16)),t+=4,e[u[40]](t,parseInt(n[u[39]](24,32),16)),t+4},e[u[41]]=function(t,n,r){return t[u[40]](n,r[u[18]]),n+=4,r[u[42]]((function(r){t[u[40]](n,e[u[31]](r,0)),n+=4,t[u[40]](n,e[u[31]](r,4)),n+=4,t[u[40]](n,e[u[31]](r,8)),n+=4,t[u[40]](n,e[u[31]](r,12)),n+=4})),n},e[u[43]]=function(e){return e[u[47]](/-/g,u[46])[u[45]](u[44])[2]},e[u[48]]=function(e,t){var n=s[u[26]][u[25]](atob(e)),r=this[u[33]](n),i=r[u[18]]>0,a=o[u[50]][u[49]]+o[u[50]][u[51]]+o[u[50]][u[52]]+o[u[50]][u[53]]+o[u[50]][u[54]]+o[u[50]][u[55]];i&&(a+=o[u[50]][u[56]]+r[u[18]]*o[u[50]][u[57]]);var c=this[u[43]](t),l=a+n[u[58]],d=new Uint8Array(l),_=new DataView(d[u[29]]),f=0;if(_[u[40]](f,l),f+=4,_[u[40]](f,1886614376),f+=4,_[u[59]](f,i?1:0),f+=1,f+=3,!c||32!==c[u[18]])return s[u[26]][u[30]](n);f=this[u[38]](_,f,c),i&&(f=this[u[41]](_,f,r)),_[u[40]](f,n[u[18]]),f+=4;for(var h=0;h<n[u[58]];h++)_[u[59]](f+h,n[h]);return btoa(s[u[26]][u[30]](d))},e[u[60]]=function(e){return new DataView(e[u[29]],0)[u[61]](0)},e[u[62]]=function(e){var t=new DataView(e[u[29]],4);return String[u[64]](t[u[63]](0))+String[u[64]](t[u[63]](1))+String[u[64]](t[u[63]](2))+String[u[64]](t[u[63]](3))},e[u[65]]=function(e){var t=s[u[26]][u[25]](atob(e)),n=this[u[60]](t),r=this[u[62]](t);return n===t[u[58]]&&u[66]===r},e[u[67]]=function(e){if(!e||e[u[58]]<3)return[];var t=8,n=[],r=new DataView(e);if(r[u[63]](t)<=0)return[];t+=20;var i=r[u[61]](t);t+=4;for(var o=0;o<i;o++){for(var a=u[46],s=t;s<t+16;s++)a+=(u[68]+r[u[63]](s)[u[69]](16))[u[20]](-2);t+=16,n[u[72]](c[u[71]][u[70]](a))}return n},e[u[73]]=function(t,n){var r=function(e){if(i[u[79]][e])return e;var t=(0,a[u[80]])(e);return(0,i[u[81]])(t)}(t[u[74]]);if(!r)return null;e[u[65]](n)||(n=e[u[48]](n,r));var o={schemeIdUri:r,pssh:n};return t[u[75]]&&(o[u[76]]=t[u[75]]),o},e[u[77]]=function(e){return e[u[78]](f)[u[36]](h)},e}();function f(e){var t;return i[u[79]][u[84]](null===(t=null==e?void 0:e[u[82]])||void 0===t?void 0:t[u[83]]())}function h(e){var t,n={schemeIdUri:e[u[82]][u[83]](),name:i[u[79]][e[u[82]][u[83]]()]};u[86]===n[u[87]]&&u[88]==typeof e[d]&&(n[u[76]]=e[d][u[83]]());var o=(null===(t=e[u[66]])||void 0===t?void 0:t[u[18]])>0?e[u[66]]:function(e,t){return(null==e?void 0:e[u[18]])>0?e[u[36]]((function(e){return{__text:_[u[48]](e[u[85]],t)}})):[]}(e[u[89]],e[u[82]]);return o[u[18]]>0&&(n[u[66]]=[],n[u[90]]=[],n[u[91]]=[]),o[u[42]]((function(e){var t=atob(e[u[85]]),i=s[u[26]][u[25]](t)[u[29]],o=_[u[67]](i);n[u[66]][u[72]](t),n[u[91]][u[72]](i),n[u[90]]=r(r([],n[u[90]],!0),o,!0)})),n}function p(e){var t=e[u[82]][u[83]](),n=i[u[79]][t];return u[86]===n&&u[88]==typeof e[d]?[e[d][u[83]]()]:u[92]===n&&e[u[89]]&&e[u[89]][u[18]]?function(e){var t=g(e,u[89]);return _[u[33]](t)[u[36]]((function(e){return c[u[71]][u[93]](s[u[26]][u[25]](e))}))}(e):function(e){var t=g(e,u[66]);return _[u[67]](t[u[29]])}(e)}function g(e,t){var n=function(e,t){var n,r,i=null!==(n=e[t])&&void 0!==n?n:null;if(!i)return u[46];var o=null!==(r=i[0])&&void 0!==r?r:null;return o?o[u[85]]:u[46]}(e,t);return s[u[26]][u[25]](atob(n))}t[u[23]]=_},26129:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[97]]=void 0;var i=n(25550),o=n(28764),a=n(92737),s=n(94304),c=n(63668),l=n(27279),d=n(81361),_=n(10981),f=n(14105),h=n(69372),p=n(27781),g=n(28820),v=function(){function e(e){var t=this;this[u[98]]=function(){return Promise[u[105]]([t[u[103]][u[102]],t[u[104]][u[102]]])[u[101]](t[u[100]])[u[99]]((function(){}))},this[u[106]]=function(e){return t[u[107]](e)},this[u[108]]=function(){return!(!t[u[109]]||u[110]!=typeof t[u[109]][u[108]])&&t[u[109]][u[108]]()},this[u[111]]=function(e,n){if(t[u[116]][u[115]][u[114]](u[112],JSON[u[113]](e)),e[u[117]]!==h[u[118]])return e[u[84]](u[119])&&u[120]===e[u[119]]?(t[u[116]][u[115]][u[114]](u[121]+e[u[122]]+u[123]),void t[u[128]][u[127]](t[u[125]][u[124]],e[u[126]])):void(t[u[125]][u[124]]?(t[u[128]][u[129]](t[u[125]][u[124]],{initDataStr:e[u[126]]}),n[u[42]]((function(e){return t[u[116]][u[132]][u[131]]((0,c[u[130]])(e))}))):t[u[116]][u[115]][u[114]](u[133]))},this[u[134]]=function(e){t[u[125]][u[124]]&&t[u[128]][u[129]](t[u[125]][u[124]],e)},this[u[100]]=function(){Boolean(t[u[125]][u[124]])&&!t[u[135]]&&t[u[116]][u[141]][u[140]](new o[u[139]](i[u[137]][u[136]],{drmKeySystem:t[u[125]][u[124]]},u[138]))},this[u[116]]=e,this[u[109]]=null,this[u[142]]=!1,this[u[128]]=new p[u[143]](this[u[116]]),this[u[116]][u[145]][u[144]]=this,this[u[135]]=!1,this[u[103]]=new _[u[146]],this[u[103]][u[102]][u[99]]((function(){})),this[u[104]]=new _[u[146]],this[u[125]]={kind:null,uid:null}}return e[u[21]][u[147]]=function(){var e;return this[u[148]]=!0,this[u[128]][u[149]](),this[u[116]][u[145]][u[144]]=null,this[u[142]]=!1,this[u[125]]={kind:null,uid:null},this[u[128]]=new p[u[143]](this[u[116]]),this[u[135]]=!1,this[u[103]][u[150]](),null===(e=(0,l[u[151]])(this[u[116]]))||void 0===e||e[u[131]]((0,c[u[152]])()),null===this[u[109]]?Promise[u[153]]():(this[u[109]][u[154]](null),this[u[109]][u[155]]())},e[u[21]][u[156]]=function(){var e=this;this[u[128]][u[159]]()[u[78]]((function(t){return t[u[158]]!==e[u[125]][u[124]]}))[u[42]]((function(t){return e[u[128]][u[157]](t[u[126]])}))},e[u[21]][u[160]]=function(){this[u[128]][u[159]]()[u[162]]((function(e){return e[u[161]]}))&&(this[u[135]]=!0)},e[u[21]][u[163]]=function(){var e=this;this[u[128]][u[159]]()[u[78]]((function(e){return e[u[161]]&&!e[u[126]]}))[u[42]]((function(t){var n=e[u[109]][u[164]](d[u[26]][u[30]](t[u[161]]));e[u[128]][u[165]](r(r({},t),{initDataStr:n}))}))},e[u[21]][u[166]]=function(e,t){var n=this;return(0,g[u[178]])(s[u[177]],e,this[u[116]])[u[101]]((function(e){var r;return n[u[148]]?Promise[u[150]](new Error(u[168])):(n[u[125]]=e[u[169]],n[u[142]]=!0,null===(r=(0,l[u[151]])(n[u[116]]))||void 0===r||r[u[131]]((0,c[u[170]])(n[u[125]])),n[u[109]]=e[u[109]][u[171]],n[u[109]][u[172]](n[u[106]]),n[u[109]][u[154]](n[u[98]]),n[u[109]][u[175]](e[u[169]][u[171]],e[u[169]][u[173]],e[u[174]],t),n[u[156]](),n[u[160]](),n[u[163]](),n[u[176]](),n[u[103]][u[153]](),e[u[109]][u[124]])}))[u[99]]((function(e){return n[u[116]][u[115]][u[114]](u[167],e),null!==n[u[109]]&&n[u[109]][u[155]](),n[u[103]][u[150]](),Promise[u[150]](e)}))},e[u[21]][u[176]]=function(){var e=this;this[u[142]]&&this[u[125]][u[124]]&&this[u[128]][u[159]]()[u[42]]((function(t){var n,r,i=t[u[161]],o=t[u[126]],a=t[u[179]],s=t[u[158]],c=t[u[180]],l=t[u[181]];if(s===e[u[125]][u[124]])if(i){if(!c){var d=null!==(r=null===(n=e[u[109]])||void 0===n?void 0:n[u[182]](i))&&void 0!==r?r:[];e[u[128]][u[183]](o,s,d),e[u[128]][u[184]](o,s),e[u[109]][u[185]](i,o,a)[u[101]](e[u[134]])[u[99]]((function(t){return e[u[111]](t,d)}))}}else l||e[u[128]][u[186]](o,s);else e[u[128]][u[157]](o)}))},e[u[21]][u[187]]=function(e){var t;return e[u[126]]?null===(t=this[u[109]])||void 0===t?void 0:t[u[164]](e[u[126]]):void 0},e[u[21]][u[188]]=function(e){return this[u[128]][u[188]](e)},e[u[21]][u[189]]=function(e){return this[u[109]]instanceof f[u[190]]?this[u[128]][u[191]](e,this[u[125]][u[124]]):this[u[128]][u[192]](e,this[u[125]][u[124]])},e[u[21]][u[107]]=function(e){var t,n;if(e&&(!this[u[125]][u[124]]||e[u[158]]===this[u[125]][u[124]])){e[u[126]]=this[u[187]](e),e[u[193]]=null!==(n=null===(t=this[u[109]])||void 0===t?void 0:t[u[182]](e[u[161]]))&&void 0!==n?n:[];var i=this[u[125]][u[124]]||e[u[158]],o=this[u[128]][u[194]](e[u[126]],i);(null==o?void 0:o[u[161]])||(o?this[u[128]][u[165]](r(r({},o),{systemName:i,initData:e[u[161]],initDataStr:e[u[126]]})):this[u[128]][u[195]](e),this[u[135]]=this[u[135]]||Boolean(this[u[125]][u[124]]&&e[u[161]])),this[u[176]]()}},e[u[21]][u[196]]=function(){return this[u[125]][u[124]]},e[u[21]][u[197]]=function(){return this[u[125]][u[173]]},e[u[21]][u[198]]=function(){var e;null===(e=this[u[109]])||void 0===e||e[u[199]]()},e[u[21]][u[200]]=function(){this[u[104]][u[153]]()},e[u[21]][u[201]]=function(){return this[u[109]]?this[u[109]][u[201]]():Promise[u[153]]()},e[u[21]][u[202]]=function(e){var t,n;if((null===(t=this[u[125]])||void 0===t?void 0:t[u[124]])!==s[u[204]][u[203]])return this[u[116]][u[115]][u[114]](u[205]),Promise[u[150]](a[u[207]][u[206]]);if(!(null===(n=this[u[109]])||void 0===n?void 0:n[u[208]]))return this[u[116]][u[115]][u[114]](u[209]),Promise[u[150]](a[u[207]][u[206]]);var r=this[u[128]][u[210]](e,this[u[125]][u[124]]);return r?this[u[211]](r[u[126]]):(this[u[116]][u[115]][u[114]](u[212]+e),Promise[u[150]](a[u[207]][u[206]]))},e[u[21]][u[213]]=function(){return!!this[u[109]]&&this[u[109]]instanceof f[u[190]]},e[u[21]][u[211]]=function(e){var t=this;return this[u[128]][u[127]](this[u[125]][u[124]],e),this[u[109]][u[208]](e)[u[101]]((function(){return t[u[176]]()}))[u[99]]((function(n){return t[u[116]][u[141]][u[218]](a[u[215]][u[214]],new a[u[217]](a[u[207]][u[206]],null,{keyIds:e[u[45]](u[216]),error:n})),Promise[u[150]](n)}))},e}();t[u[97]]=v},31523:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[219]]=function(e,t){return new(function(){function n(){}return n[u[21]][u[202]]=function(n){var i=e();if(!i)return t[u[114]](u[220]),Promise[u[150]](u[221]);var o=i[u[224]](r[u[223]][u[222]]);return o?o[u[202]](n):(t[u[114]](u[225]),Promise[u[150]](u[226]))},n}())};var r=n(18665)},66055:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[227]]=function(e){return(0,i[u[230]])()[r[u[229]][u[228]]]&&o[u[234]][u[233]](a[u[232]][u[231]])?o[u[234]][u[224]](a[u[232]][u[231]])[u[235]](e):(0,i[u[230]])()[r[u[229]][u[236]]]&&o[u[234]][u[233]](a[u[232]][u[237]])?new(o[u[234]][u[224]](a[u[232]][u[237]])[u[238]]())(e):new s[u[97]](e)};var r=n(11399),i=n(13533),o=n(91520),a=n(16368),s=n(26129)},59761:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[222]]=void 0;var i=n(94304),o=n(11399),a=n(13533),s=n(3464),c=n(10981),l=n(66055),d=n(37299),_=n(28820),f=n(51981),h=function(){function e(e){this[u[116]]=e,this[u[239]]=new c[u[146]],this[u[240]]=!1,this[u[241]]=Promise[u[153]]()}return e[u[21]][u[242]]=function(){var e=this;this[u[147]]()[u[101]]((function(){return e[u[243]]=(0,l[u[227]])(e[u[116]])}))},e[u[21]][u[244]]=function(){var e=this[u[245]];return e===f[u[247]][u[246]]||e===f[u[247]][u[248]]},e[u[21]][u[198]]=function(){return this[u[243]][u[198]]()},e[u[21]][u[249]]=function(e){var t=this;return(0,_[u[251]])(i[u[177]],e,this[u[116]])[u[101]]((function(e){t[u[250]]=e[u[169]]}))[u[99]]((function(){}))},e[u[21]][u[252]]=function(e){this[u[253]]=e,this[u[239]]=new c[u[146]],this[u[240]]=!1,this[u[242]]()},e[u[21]][u[254]]=function(e,t){var n=this;return this[u[240]]?this[u[239]][u[102]]:(this[u[253]]=r(r({},this[u[253]]),e),this[u[240]]=!0,this[u[243]][u[166]](this[u[253]],t)[u[101]]((function(e){n[u[245]]=e,n[u[239]][u[153]]()}))[u[99]]((function(e){n[u[240]]=!1,n[u[239]][u[150]](e)}))[u[255]]((function(){return n[u[239]][u[102]]})))},e[u[21]][u[107]]=function(e){var t=this;this[u[243]]&&this[u[239]][u[102]][u[101]]((function(){var n;return null===(n=t[u[243]])||void 0===n?void 0:n[u[107]](e)}))[u[99]]((function(e){return t[u[116]][u[115]][u[114]](u[256],e)}))},e[u[21]][u[202]]=function(e){var t,n;return null!==(n=null===(t=this[u[243]])||void 0===t?void 0:t[u[202]](e))&&void 0!==n?n:Promise[u[150]](u[257])},e[u[21]][u[196]]=function(){var e;return(null===(e=this[u[243]])||void 0===e?void 0:e[u[196]]())||null},e[u[21]][u[197]]=function(){var e;return(null===(e=this[u[243]])||void 0===e?void 0:e[u[197]]())||null},e[u[21]][u[258]]=function(){var e,t=null===(e=this[u[250]])||void 0===e?void 0:e[u[173]];return this[u[197]]()||t||null},e[u[21]][u[259]]=function(e){var t=this,n=function(){var n,r;return null!==(r=null===(n=t[u[243]])||void 0===n?void 0:n[u[188]](e))&&void 0!==r&&r};if(!n())return Promise[u[153]]();var r=new c[u[146]],i=(0,s[u[261]])(this[u[116]][u[132]])((function(e){return d[u[260]](e)}),(function(){n()||(i(),r[u[153]]())}));return r[u[102]]},e[u[21]][u[262]]=function(e){var t,n=this;if(null===(t=this[u[243]])||void 0===t?void 0:t[u[189]](e))return Promise[u[153]]();var r=new c[u[146]],i=(0,s[u[261]])(this[u[116]][u[132]])((function(e){return d[u[260]](e)}),(function(){var t;(null===(t=n[u[243]])||void 0===t?void 0:t[u[189]](e))&&(n[u[116]][u[115]][u[114]](u[263][u[22]](e)),i(),r[u[153]]())}));return this[u[243]]&&this[u[243]][u[176]](),r[u[102]]},e[u[21]][u[264]]=function(e){var t,n,r,s=this[u[196]]()===i[u[204]][u[203]],c=(0,a[u[230]])()[o[u[229]][u[265]]],l=null!==(n=null===(t=this[u[243]])||void 0===t?void 0:t[u[213]]())&&void 0!==n&&n,d=s&&c&&l,_=e[u[266]]()?e[u[267]]():void 0;return!(!this[u[240]]||void 0===_||!d||(null===(r=this[u[243]])||void 0===r?void 0:r[u[189]](_)))},e[u[21]][u[268]]=function(e,t){var n=this,r=!e[u[269]]()||e[u[270]](),i=this[u[264]](e),o=void 0!==t&&Object[u[271]](t)[u[18]]>0,a=e[u[266]]()?e[u[267]]():void 0;return o&&i&&r&&void 0!==a?(this[u[116]][u[115]][u[114]](u[275][u[22]](e[u[273]](),u[274])[u[22]](a,u[272])),e[u[276]]()[u[42]]((function(e){return n[u[107]](e)})),this[u[262]](a)):Promise[u[153]]()},e[u[21]][u[187]]=function(e){return this[u[243]][u[187]](e)},e[u[21]][u[200]]=function(){this[u[243]][u[200]]()},Object[u[2]](e[u[21]],u[277],{get:function(){return this[u[241]]},enumerable:!1,configurable:!0}),e[u[21]][u[147]]=function(){var e=this;return this[u[243]]&&(this[u[241]]=this[u[241]][u[101]]((function(){var t;return null===(t=e[u[243]])||void 0===t?void 0:t[u[147]]()[u[99]]((function(t){e[u[116]][u[115]][u[114]](u[278][u[22]](t))}))}))),this[u[241]]},e[u[21]][u[279]]=function(e){return e&&this[u[244]]()?Promise[u[153]]():this[u[280]]()},e[u[21]][u[280]]=function(){var e=this;return this[u[253]]=null,this[u[147]]()[u[101]]((function(){return e[u[243]]=null}))},e[u[21]][u[201]]=function(){return this[u[243]]?this[u[243]][u[201]]():Promise[u[153]]()},e[u[21]][u[149]]=function(){this[u[280]]()},e[u[21]][u[281]]=function(){return Boolean(this[u[253]])},e}();t[u[222]]=h},66577:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[282]]=t[u[283]]=void 0;var i,o,a=n(25550),s=n(28764),c=n(88005),l=n(36564),d=n(67345),_=n(81361),f=n(43485),h=n(46462);!function(e){e[e[u[284]]=6]=u[284]}(i||(i={})),function(e){e[e[u[285]]=f[u[286]][u[285]]]=u[285]}(o||(t[u[283]]=o={}));var p=function(){function e(t,n,r){var o=this;this[u[287]]=function(e){if(o[u[288]]){o[u[289]]=!0;var t=e[u[161]],n=o[u[290]](t);if(o[u[291]](t),o[u[292]])o[u[293]](n,t);else{var r=o[u[288]][u[294]];if(r)return r instanceof ArrayBuffer==0?void o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[295]],void 0,u[296])):(o[u[292]]=o[u[297]](r),void o[u[293]](n,t));o[u[300]]()[u[101]]((function(e){o[u[292]]=o[u[297]](e[u[299]]),o[u[293]](n,t)}))[u[99]]((function(e){o[u[116]][u[115]][u[114]](u[298],e)})),o[u[301]]()}}else o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[302]],void 0,u[303]))},this[u[304]]=function(e,t){o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[305]],{responseCode:e[u[306]],responseText:e[u[307]],serverResponse:e[u[299]],reason:t[u[308]]},u[311][u[22]](e[u[306]],u[310])[u[22]](e[u[307]],u[309])))},this[u[312]]=function(){clearTimeout(o[u[313]])},this[u[314]]=function(t,n){o[u[289]]=!0;var r=t[u[308]],i=t[u[315]],_=o[u[288]],f=_[u[316]],h=void 0!==f&&f,p=_[u[317]],g=void 0===p?d[u[319]][u[318]]:p,v=_[u[320]],m=_[u[321]],y=_[u[322]],b=l[u[325]][u[324]]({"Content-Type":u[323]},m),S=o[u[326]](v),E=new c[u[329]](o[u[116]],{maxRetries:S,requestType:d[u[328]][u[327]]});t[u[330]]=e[u[331]](r);var $=u[110]==typeof y?y(t,i):u[334][u[22]](encodeURIComponent(t[u[330]]),u[333])[u[22]](i[u[332]]),T=o[u[335]](n);T&&u[88]==typeof T?E[u[175]](T,d[u[339]][u[338]],g,$,b,h)[u[101]]((function(e){o[u[337]](e,i)}))[u[99]](o[u[336]]):(o[u[289]]=!1,o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[340]],{licenseServer:T},u[341])))},this[u[337]]=function(t,n){if(o[u[289]]=!1,u[110]!=typeof o[u[288]][u[342]]){var r=t[u[299]];u[110]==typeof o[u[288]][u[343]]?r=o[u[288]][u[343]](r):(r=r[u[346]]())[u[345]](u[344])&&r[u[348]](u[347])&&(r=r[u[20]](5,-6));var i=r;u[88]==typeof r&&(i=e[u[349]](r)),n[u[350]](i)}else o[u[288]][u[342]](t[u[299]])[u[101]]((function(e){n[u[350]](e)}))[u[99]]((function(e){o[u[116]][u[115]][u[351]](e),o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[295]],{reason:e},u[352]))}))},this[u[336]]=function(e){o[u[289]]=!1,o[u[116]][u[115]][u[114]](u[353]),o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[354]],{responseCode:e[u[306]],responseText:e[u[307]],serverResponse:e[u[299]]},void 0,o[u[355]]))},this[u[356]]=function(e){o[u[289]]=!1,o[u[116]][u[115]][u[114]](u[357]),o[u[116]][u[115]][u[114]](e);var t=e[u[315]],n=t?t[u[358]]:{},r=n[u[359]],c=n[u[360]],l=o[u[361]]&&o[u[116]][u[363]][u[362]];r===i[u[284]]&&1212433232===c?o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[364]],void 0,void 0,o[u[355]])):l?o[u[116]][u[115]][u[114]](u[365]):o[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[366]],{code:r,systemCode:c}))},this[u[367]]=function(){o[u[116]][u[115]][u[114]](u[368])},this[u[108]]=function(){return o[u[289]]},this[u[116]]=t,this[u[355]]=t[u[369]][u[355]],this[u[363]]=t[u[363]],this[u[370]]=n,this[u[288]]=r,this[u[289]]=!1,this[u[371]]=[],this[u[361]]=!1,this[u[169]]=null,this[u[372]]=null,r&&r[u[84]](u[373])&&(this[u[374]]=r[u[373]]),this[u[370]][u[144]]=this,this[u[370]][u[377]](h[u[376]][u[375]],this[u[287]]),this[u[370]][u[377]](h[u[376]][u[358]],this[u[312]])}return e[u[21]][u[301]]=function(){var e=this;clearTimeout(this[u[313]]),this[u[313]]=window[u[381]]((function(){e[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[295]],void 0,u[380][u[22]](e[u[363]][u[378]],u[379])))}),1e3*this[u[363]][u[378]])},e[u[382]]=function(e){for(var t=new ArrayBuffer(2*e[u[18]]),n=new Uint16Array(t),r=0,i=e[u[18]];r<i;r++)n[r]=e[u[32]](r);return n},e[u[349]]=function(e){for(var t=window[u[383]](e),n=t[u[18]],r=new Uint8Array(new ArrayBuffer(n)),i=0;i<n;i++)r[i]=t[u[32]](i);return r},e[u[331]]=function(e){for(var t=u[384],n=u[46],r=0;r<e[u[18]];){var i=e[r++],o=r<e[u[18]]?e[r++]:Number[u[385]],a=r<e[u[18]]?e[r++]:Number[u[385]],s=i>>2,c=(3&i)<<4|o>>4,l=(15&o)<<2|a>>6,d=63&a;isNaN(o)?l=d=64:isNaN(a)&&(d=64),n+=t[u[386]](s)+t[u[386]](c)+t[u[386]](l)+t[u[386]](d)}return n},e[u[21]][u[387]]=function(e,t,n,r){void 0===r&&(r=null),n[u[377]](e,(function(e){return t(e,r)}),!1)},e[u[21]][u[291]]=function(e){var t=_[u[26]][u[30]](e[u[29]],!1);this[u[371]][u[388]](t)?(this[u[116]][u[115]][u[114]](u[389],t),this[u[361]]=!0):this[u[371]][u[72]](t)},e[u[21]][u[326]]=function(e){var t=parseInt(u[46][u[22]](e));return isFinite(t)?t:3},e[u[21]][u[390]]=function(){var e=this[u[288]][u[391]];return new c[u[329]](this[u[116]],{onFailure:this[u[304]],maxRetries:this[u[326]](e),requestType:d[u[328]][u[392]]})},e[u[21]][u[300]]=function(){var e=this,t=this[u[288]],n=t[u[316]],i=void 0!==n&&n,o=t[u[393]],a=r({},o);return this[u[372]]=this[u[390]](),new Promise((function(t,n){e[u[372]][u[175]](e[u[374]],d[u[339]][u[394]],d[u[319]][u[395]],null,a,i)[u[101]]((function(e){return t(e)}))[u[99]]((function(e){return n(e)}))[u[255]]((function(){e[u[372]]=null}))}))},e[u[21]][u[335]]=function(e){var t=_[u[26]][u[30]](e[u[29]],!1);if(this[u[288]]&&this[u[288]][u[84]](u[396]))return this[u[116]][u[115]][u[114]](u[397]+this[u[288]][u[396]]),this[u[288]][u[396]];if(/skd:\/\//[u[398]](t)){var n=u[110]==typeof this[u[288]][u[335]]?this[u[288]][u[335]](t[u[39]](t[u[400]](u[399]))):t[u[39]](t[u[400]](u[399])+4);return this[u[116]][u[115]][u[114]](u[401]+n),n}return null},e[u[21]][u[297]]=function(e){var t=u[110]==typeof this[u[288]][u[402]];try{return t?new Uint8Array(this[u[288]][u[402]](e)):new Uint8Array(e)}catch(e){return void this[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[295]],{reason:e},u[405][u[22]](t?u[403]:u[404],u[309])))}},e[u[21]][u[293]]=function(e,t){clearTimeout(this[u[313]]);var n=this[u[406]](t,e,this[u[292]]);if(this[u[169]]||this[u[407]](),this[u[370]][u[408]]||this[u[370]][u[409]](new WebKitMediaKeys(this[u[169]])),this[u[370]][u[408]]){var r=this[u[370]][u[408]][u[411]](u[410],n);r?(r[u[332]]=e,this[u[387]](u[412],this[u[314]],r,t),this[u[387]](u[413],this[u[367]],r),this[u[387]](u[414],this[u[356]],r)):this[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[415]],void 0,u[416]))}else this[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[417]],void 0,u[418]))},e[u[21]][u[290]]=function(e){var t=_[u[26]][u[30]](e[u[29]],!1);if(u[110]==typeof this[u[288]][u[419]])t=this[u[288]][u[419]](t);else{var n=t[u[400]](u[420]);t=n<0?u[46]:t[u[39]](n+1)}return this[u[116]][u[115]][u[114]](u[421]+t),t},e[u[21]][u[406]]=function(t,n,r){var i=u[88]==typeof n?e[u[382]](n):n,o=0,a=new ArrayBuffer(t[u[58]]+4+i[u[58]]+4+r[u[58]]),s=new DataView(a);new Uint8Array(a,o,t[u[58]])[u[422]](t),o+=t[u[58]],s[u[40]](o,i[u[58]],!0),o+=4;var c=this[u[288]][u[423]]?new Uint16Array(a,o,i[u[18]]):new Uint8Array(a,o,i[u[58]]);return c[u[422]](i),o+=c[u[58]],s[u[40]](o,r[u[58]],!0),o+=4,new Uint8Array(a,o,r[u[58]])[u[422]](r),new Uint8Array(a,0,a[u[58]])},e[u[21]][u[407]]=function(){var e=Object[u[271]](o)[u[36]]((function(e){return o[e]}));this[u[169]]=e[u[425]]((function(e){return WebKitMediaKeys[u[424]](e,u[410])}))||null,this[u[169]]||this[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[426]],{supportedKeySystem:e},u[427]))},e[u[21]][u[428]]=function(){this[u[370]][u[144]]=null,this[u[370]][u[429]](h[u[376]][u[375]],this[u[287]]),this[u[370]][u[429]](h[u[376]][u[358]],this[u[312]]),this[u[169]]=null,this[u[292]]=null,this[u[371]]=[],this[u[374]]=null,this[u[361]]=!1},e[u[21]][u[149]]=function(){var e;this[u[428]](),clearTimeout(this[u[313]]),null===(e=this[u[372]])||void 0===e||e[u[430]](),this[u[363]]=null,this[u[169]]=null,this[u[292]]=null,this[u[374]]=null},e}();t[u[282]]=p},27781:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[431]]=t[u[143]]=void 0,t[u[432]]=function(e){return e[u[464]]===l[u[449]][u[465]]||e[u[464]]===l[u[449]][u[466]]||e[u[464]]===l[u[449]][u[448]]},t[u[433]]=h,t[u[434]]=p;var i=n(62510),o=n(3464),a=n(46570),s=n(38381),c=n(37299),l=n(13936),d=function(){function e(e){var t=this;this[u[435]]=1,this[u[260]]=function(){return c[u[260]](t[u[116]][u[132]][u[436]]())},this[u[437]]=function(e){t[u[116]][u[132]][u[131]](e)},this[u[116]]=e,this[u[116]][u[132]][u[439]](u[438])||(this[u[116]][u[132]][u[441]](u[438],s[u[440]]),this[u[116]][u[132]][u[131]]((0,a[u[443]])(e[u[442]]))),this[u[444]]()}return e[u[21]][u[444]]=function(){var e=this;this[u[445]]=(0,o[u[261]])(this[u[116]][u[132]])((function(e){return c[u[260]](e)}),(function(t){return e[u[446]](t)}))},e[u[21]][u[446]]=function(e){(0,a[u[447]])(e,this[u[116]][u[442]])},e[u[21]][u[195]]=function(e){var t=e[u[158]],n=e[u[161]],r=e[u[126]];if(!t||!r||this[u[194]](r,t))return!1;var i={hasLicense:!1,initData:n,initDataStr:r,license:null,isPending:!1,systemName:t,wasRequested:!1,keyIds:e[u[193]],mediaKeyStatus:l[u[449]][u[448]]};return this[u[437]]((0,a[u[129]])({systemName:t,licenseInfo:i,initDataStr:r})),!0},e[u[21]][u[129]]=function(e,t){var n=t[u[126]],o=t[u[450]],s=t[u[117]],c=t[u[451]],l=void 0===c?{}:c;if(o||s){var d=this[u[194]](n,e),_=r(r(r({},d||{}),l),{isPending:!1,hasLicense:!0,license:o||null});_[u[452]]||(_[u[452]]=String(this[u[435]]++)),this[u[116]][u[141]][u[218]](i[u[215]][u[453]],{license:{id:_[u[452]],keyIds:_[u[126]][u[45]](u[216]),keySystemString:e}});var f={licenseInfo:_,initDataStr:n,systemName:e};return this[u[437]](d?(0,a[u[454]])(f):(0,a[u[129]])(f))}this[u[437]]((0,a[u[455]])({initDataStr:n,systemName:e}))},e[u[21]][u[210]]=function(e,t){var n,r=this[u[260]]()[u[456]][t];return Object[u[271]](r)[u[42]]((function(t){r[t][u[452]]===e&&(n=r[t])})),n},e[u[21]][u[159]]=function(){var e=this[u[260]]()[u[456]];return Object[u[457]](e)[u[458]]((function(e){return Object[u[457]](e)}))[u[78]]((function(e){return!e[u[192]]&&!e[u[180]]}))},e[u[21]][u[194]]=function(e,t){var n=this[u[260]](),r=(0,a[u[459]])(e);return n[u[456]][t]&&n[u[456]][t][r]},e[u[21]][u[434]]=function(e){return p(e,this[u[260]]())},e[u[21]][u[460]]=function(e,t,n){var i=this[u[194]](e,t);i&&this[u[437]]((0,a[u[454]])({initDataStr:e,licenseInfo:n(r({},i)),systemName:t}))},e[u[21]][u[184]]=function(e,t){this[u[460]](e,t,(function(e){return r(r({},e),{wasRequested:!0})}))},e[u[21]][u[192]]=function(e,n){return(0,t[u[431]])(e,h(this[u[260]](),n),_)},e[u[21]][u[191]]=function(e,n){return(0,t[u[431]])(e,h(this[u[260]](),n),f)},e[u[21]][u[188]]=function(e){return this[u[434]](e)[u[162]]((function(e){return!e[u[192]]&&e[u[180]]}))},e[u[21]][u[183]]=function(e,t,n){this[u[460]](e,t,(function(e){return r(r({},e),{keyIds:n})}))},e[u[21]][u[186]]=function(e,t){this[u[460]](e,t,(function(e){return r(r({},e),{isPending:!0})}))},e[u[21]][u[127]]=function(e,t){var n=this[u[194]](t,e)||{},i=r(r({},n),{keyIds:[],isPending:!1,hasLicense:!1,license:null,expiration:null,sessionId:null,wasRequested:!1});this[u[437]]((0,a[u[127]])({systemName:e,initDataStr:t,licenseInfo:i}))},e[u[21]][u[157]]=function(e){this[u[437]]((0,a[u[455]])({initDataStr:e}))},e[u[21]][u[165]]=function(e){var t=e[u[126]],n=e[u[158]];this[u[437]]((0,a[u[454]])({initDataStr:t,licenseInfo:e,systemName:n}))},e[u[21]][u[149]]=function(){this[u[116]][u[132]][u[436]]()[u[438]]&&!this[u[116]][u[132]][u[436]]()[u[438]][u[461]]?this[u[116]][u[132]][u[131]]((0,a[u[462]])()):this[u[116]][u[132]][u[131]]((0,a[u[463]])()),this[u[445]]&&this[u[445]]()},e}();function _(e){return e[u[192]]}function f(e){return e[u[464]]===l[u[449]][u[465]]||e[u[464]]===l[u[449]][u[466]]}function h(e,t){var n;return null!==(n=null==e?void 0:e[u[456]][t])&&void 0!==n?n:{}}function p(e,t){var n=t[u[456]][e];return n?Object[u[457]](n):[]}t[u[143]]=d,t[u[431]]=function(e,t,n){return Object[u[457]](t)[u[162]]((function(t){return t[u[467]][u[388]](e)&&n(t)}))}},27916:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[468]]=void 0;var r=n(16368),i=n(41503),o=n(71883),a=n(31523),s=n(26129),c=n(59761),l=n(14105),d=n(91284),_=n(66577),f=n(69372),h=n(46570),p=n(37299),g=n(30479),v=n(48630);t[u[468]]={name:r[u[232]][u[469]],module:{DrmService:c[u[222]],DRMManager:s[u[97]],FairplayHandler:_[u[282]],PlayReady:f[u[28]],DRMDetectorService:g[u[470]],WebKitPrefixedEMEHandler:d[u[471]],UnprefixedEMEHandler:l[u[190]],parseInitData:v[u[472]],getLicenseState:p[u[260]],getLicenseInfoKey:h[u[459]],createDrmApi:a[u[219]],ContentProtectionHelper:o[u[23]]},exports:{MediaKeySystemConfig:i[u[3]]}},t[u[473]]=t[u[468]]},40474:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[474]]=void 0,t[u[475]]=function(e){return window[u[568]]&&u[110]==typeof MSMediaKeys[u[424]]&&MSMediaKeys[u[424]](e)?Promise[u[153]]({keySystem:e}):Promise[u[150]](u[569])};var r,i=n(25550),o=n(28764),a=n(10981),s=n(54838),c=n(46462),l=n(48630);!function(e){e[u[476]]=u[477],e[u[478]]=u[479],e[u[480]]=u[481]}(r||(r={}));var d=function(){function e(e){var t=this;this[u[482]]=function(){if(t[u[483]])return Promise[u[150]](u[484]);if(t[u[370]][u[485]]===HTMLMediaElement[u[486]])return s[u[488]][u[487]](250,t[u[482]]);if(t[u[370]][u[489]])return t[u[116]][u[115]][u[114]](u[490]),Promise[u[153]]();try{t[u[491]]=new MSMediaKeys(t[u[492]]),t[u[370]][u[493]](t[u[491]])}catch(e){return t[u[141]][u[140]](new o[u[139]](i[u[137]][u[417]],{keySystem:t[u[492]],eme:u[494],error:e},u[495])),Promise[u[150]](e)}return Promise[u[153]]()},this[u[496]]=function(e){if(t[u[116]][u[115]][u[114]](u[496]),t[u[497]]&&t[u[497]](),e){var n=(0,l[u[472]])(e[u[161]]);n&&n[u[18]]&&t[u[498]]&&n[u[42]]((function(e){return t[u[498]](e)}))}},this[u[116]]=e,this[u[483]]=!1,this[u[499]]=[],this[u[289]]=!1,this[u[141]]=this[u[116]][u[141]]}return Object[u[2]](e[u[21]],u[370],{get:function(){return this[u[116]][u[145]]},enumerable:!1,configurable:!0}),e[u[500]]=function(e,t){for(var n in e)if((n[u[400]](u[501])>-1||n[u[400]](u[502])>-1)&&e[n]===t)return n;return u[503]},e[u[504]]=function(e){return isFinite(e)?(e<0&&(e=4294967295+e+1),u[505]+e[u[69]](16)[u[506]]()):null},e[u[21]][u[507]]=function(t,n){if(this[u[289]]=!1,null!==t&&t[u[508]][u[150]](),n&&n[u[315]]&&n[u[315]][u[358]]){this[u[370]][u[429]](c[u[376]][u[358]],this[u[509]]);var r=n[u[315]][u[358]],a=Number(r[u[359]]),s=Number(r[u[360]]),l=Number(r[u[510]]),d=e[u[500]](r,a),_=e[u[504]](s),f=e[u[504]](l)||_,h=i[u[137]][i[u[137]][u[366]]]+u[511]+d+u[512]+a+u[513]+f;this[u[141]][u[140]](new o[u[139]](i[u[137]][u[366]],{code:a,systemCode:s},h))}},e[u[21]][u[514]]=function(e,t){var n=this,r=t[u[315]][u[179]];this[u[515]][r]=t[u[315]],this[u[289]]=!0,this[u[116]][u[115]][u[114]](u[516]+e[u[517]]+u[518],JSON[u[113]](t)),this[u[169]][u[523]](t)[u[101]]((function(t){n[u[116]][u[115]][u[114]](u[521]+e[u[517]]+u[520]),n[u[522]](t[u[299]],r,e[u[517]]),e[u[450]]=t,n[u[289]]=!1}))[u[99]]((function(t){n[u[116]][u[115]][u[114]](u[519]+e[u[517]]+u[520]),e[u[508]][u[150]](t),n[u[289]]=!1}))},e[u[21]][u[524]]=function(e,t){this[u[116]][u[115]][u[114]](u[525][u[22]](e[u[517]])),Boolean(e)&&Boolean(e[u[450]])?(this[u[116]][u[115]][u[114]](u[526]+e[u[517]]+u[520]),e[u[508]][u[153]](e[u[450]])):e[u[508]][u[153]]({response:u[527],licenseRequestId:e[u[517]]}),this[u[289]]=!1},e[u[21]][u[528]]=function(e){var t=this[u[169]][u[529]]();return t?this[u[370]][u[489]][u[411]](u[410],e,new Uint8Array(t)):this[u[370]][u[489]][u[411]](u[410],e)},e[u[21]][u[530]]=function(e){var t=this,n={deferred:new a[u[146]],id:s[u[488]][u[531]]()};return e?(this[u[538]][u[101]]((function(){t[u[370]][u[489]]?t[u[289]]?n[u[508]][u[150]]({status:u[120],licenseRequestId:n[u[517]]}):(0===e[u[58]]&&t[u[116]][u[115]][u[351]](u[532]),t[u[289]]=!0,t[u[116]][u[115]][u[114]](u[533]+n[u[517]]+u[534]),n[u[507]]=t[u[507]][u[535]](t,n),n[u[524]]=t[u[524]][u[535]](t,n),n[u[514]]=t[u[514]][u[535]](t,n),n[u[536]]=t[u[528]](new Uint8Array(e)),n[u[536]][u[377]](r[u[480]],n[u[507]],!1),n[u[536]][u[377]](r[u[478]],n[u[524]],!1),n[u[536]][u[377]](r[u[476]],n[u[514]],!1),t[u[499]][u[72]](n)):t[u[116]][u[115]][u[114]](u[537])})),n[u[508]][u[102]]):Promise[u[150]](u[539]+n[u[517]]+u[520])},e[u[21]][u[522]]=function(e,t,n){this[u[289]]=!1,e&&(this[u[116]][u[115]][u[114]](u[540]+n+u[520]),this[u[515]][t][u[350]](this[u[169]][u[343]](e)))},e[u[21]][u[154]]=function(e){this[u[497]]=e},e[u[21]][u[172]]=function(e){this[u[498]]=e},e[u[21]][u[175]]=function(e,t){var n=this;this[u[169]]=e,this[u[492]]=t,this[u[483]]=!1,this[u[515]]={},this[u[538]]=this[u[482]](),this[u[538]][u[101]]((function(){n[u[509]]&&n[u[370]][u[429]](c[u[376]][u[358]],n[u[509]]),n[u[509]]=n[u[507]][u[535]](n,null),n[u[370]][u[377]](c[u[376]][u[358]],n[u[509]])}))[u[99]]((function(){})),this[u[370]][u[377]](c[u[376]][u[541]],this[u[496]])},e[u[21]][u[199]]=function(){this[u[370]][u[141]][u[542]](c[u[376]][u[541]],this[u[496]])||this[u[370]][u[377]](c[u[376]][u[541]],this[u[496]]),null==this[u[370]][u[489]]?this[u[370]][u[493]](this[u[491]]):this[u[116]][u[115]][u[114]](u[543])},e[u[21]][u[544]]=function(e){var t=e[u[546]](u[545]);if(!t)return null;for(var n=u[46],r=0;r<t[u[18]];r++){var i=t[r];i&&i[u[547]]&&i[u[547]][u[18]]>0?n+=i[u[547]][0][u[548]]+u[216]:i&&i[u[550]](u[549])?n+=i[u[551]](u[549])+u[216]:i&&i[u[550]](u[552])?n+=i[u[551]](u[552])+u[216]:this[u[116]][u[115]][u[114]](u[553],i)}return n[u[45]](u[216])[0]||null},e[u[21]][u[554]]=function(e){var t=new RegExp(u[555],u[556]),n=new RegExp(u[557],u[556]),r=t[u[398]](e)||n[u[398]](e);if(!e[u[388]](u[558])||!r)return e;for(var i=e[u[20]](e[u[400]](u[558])),o=u[46],a=0;a<i[u[18]];a+=2)o+=i[a];try{var s=new DOMParser;return this[u[544]](s[u[560]](o,u[559]))||e}catch(t){return this[u[116]][u[115]][u[114]](u[561]),e}},e[u[21]][u[182]]=function(e){var t,n;return null!==(n=null===(t=this[u[169]])||void 0===t?void 0:t[u[182]](e))&&void 0!==n?n:[]},e[u[21]][u[164]]=function(e){return this[u[169]]?this[u[169]][u[164]](e):this[u[554]](e)},e[u[21]][u[185]]=function(e,t){var n=this;return this[u[116]][u[115]][u[114]](u[562]+t+u[563]),this[u[538]][u[101]]((function(){return n[u[116]][u[115]][u[114]](u[564]),n[u[530]](e)[u[101]]((function(e){return{initDataStr:t,license:e[u[299]],response:e[u[117]],licenseRequestId:e[u[122]]}}))[u[99]]((function(e){return Promise[u[150]]({initDataStr:t,statusCode:e[u[306]],licenseRequestId:e[u[122]],response:e})}))}))[u[99]]((function(e){return Promise[u[150]](e)}))},e[u[21]][u[108]]=function(){return this[u[289]]},e[u[21]][u[155]]=function(){var e=this;this[u[483]]=!0,this[u[370]][u[429]](c[u[376]][u[541]],this[u[496]]),this[u[370]][u[429]](c[u[376]][u[358]],this[u[509]]),this[u[499]][u[42]]((function(t){try{var n=t[u[536]];n[u[429]](r[u[480]],t[u[507]]),n[u[429]](r[u[478]],t[u[524]]),n[u[429]](r[u[476]],t[u[514]])}catch(t){e[u[116]][u[115]][u[114]](u[565],t)}}));var t=Object[u[271]](this[u[515]]||{})[u[36]]((function(t){return Promise[u[153]](e[u[515]][t][u[566]]())}));return this[u[515]]={},this[u[169]]=null,this[u[492]]=null,this[u[499]]=[],this[u[538]]=null,this[u[497]]=null,this[u[491]]=null,Promise[u[105]](t)[u[99]]((function(t){return e[u[116]][u[115]][u[114]](u[567],t),Promise[u[153]](null)}))},e[u[21]][u[201]]=function(){return Promise[u[153]]()},e}();t[u[474]]=d},14105:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)},i=this&&this[u[17]]||function(e,t,n){if(n||2===arguments[u[18]])for(var r,i=0,o=t[u[18]];i<o;i++)!r&&i in t||(r||(r=Array[u[21]][u[20]][u[19]](t,0,i)),r[i]=t[i]);return e[u[22]](r||Array[u[21]][u[20]][u[19]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[190]]=void 0,t[u[570]]=function(e){var t=[{initDataTypes:[u[86]],audioCapabilities:[{contentType:u[693]}],videoCapabilities:[{contentType:u[694]}]},{initDataTypes:[u[86]],videoCapabilities:void 0,audioCapabilities:void 0}];return window[u[633]][u[632]]?window[u[633]][u[632]](e,t):Promise[u[150]](u[695])};var o,a=n(25550),s=n(28764),c=n(63546),l=n(35148),d=n(62510),_=n(94304),f=n(63668),h=n(13533),p=n(81361),g=n(43485),v=n(10981),m=n(56093),y=n(46462),b=n(41503),S=n(69372),E=n(46570),$=n(37299),T=n(13936),A=n(14952),C=n(48630);!function(e){e[u[476]]=u[308],e[u[571]]=u[572]}(o||(o={}));var P=function(){function e(e){var t=this;this[u[573]]=function(e,n){if(!t[u[538]])return t[u[574]](e),Promise[u[153]](n);var r=t[u[575]][u[224]](e);return r&&(r[u[576]]=!0),t[u[116]][u[115]][u[114]](u[577],btoa(p[u[26]][u[30]](n[u[299]],!0))),t[u[522]](n[u[299]],e)[u[101]]((function(){return t[u[116]][u[115]][u[114]](u[580]),n}))[u[99]]((function(e){return t[u[116]][u[115]][u[579]](u[578]+e),Promise[u[150]](e)}))},this[u[581]]=function(e){e&&t[u[582]](e)},this[u[583]]=function(e){t[u[116]][u[115]][u[114]](u[584]),t[u[497]]&&t[u[497]]()},this[u[585]]=function(e,n){switch(e){case T[u[449]][u[465]]:t[u[116]][u[115]][u[114]](u[587][u[22]](n,u[586]));break;case T[u[449]][u[589]]:t[u[116]][u[115]][u[114]](u[587][u[22]](n,u[588]));break;case T[u[449]][u[466]]:t[u[116]][u[115]][u[114]](u[587][u[22]](n,u[590]));break;case T[u[449]][u[592]]:t[u[116]][u[115]][u[114]](u[587][u[22]](n,u[591]));break;default:t[u[116]][u[115]][u[114]](u[594][u[22]](n,u[593])[u[22]](e))}},this[u[595]]=function(e){t[u[116]][u[115]][u[114]](u[596]);var n=e[u[315]],r=t[u[575]][u[224]](n),i=t[u[598]](n[u[597]]),o=Object[u[457]](i),a=Object[u[271]](i);if(r){var s=r[u[126]];t[u[116]][u[115]][u[114]](u[599],s),t[u[600]](i,btoa(s)),t[u[601]](o)&&(t[u[574]](n),t[u[575]][u[602]](n),t[u[116]][u[132]][u[131]]((0,E[u[455]])({initDataStr:s})),t[u[116]][u[115]][u[114]](u[603][u[22]](n[u[179]])));var c=!(!t[u[116]][u[363]][u[604]]||!t[u[605]])&&(0,$[u[606]])(a,(0,_[u[80]])(t[u[492]]),(0,$[u[260]])(t[u[605]]));if(a[u[18]]>0&&c)t[u[116]][u[115]][u[114]](u[607]);else if(o[u[388]](T[u[449]][u[592]])){var l=Object[u[271]](i)[u[78]]((function(e){return i[e]===T[u[449]][u[592]]}));t[u[608]](l,n,s)}}else t[u[116]][u[115]][u[114]](u[609],n)},this[u[116]]=e,this[u[355]]=e[u[369]][u[355]],this[u[575]]=new Map,this[u[610]]=[],this[u[289]]=!1,this[u[611]]=null}return Object[u[2]](e[u[21]],u[370],{get:function(){return this[u[116]][u[145]]},enumerable:!1,configurable:!0}),Object[u[2]](e[u[21]],u[605],{get:function(){return this[u[116]][u[132]][u[436]]()},enumerable:!1,configurable:!0}),e[u[21]][u[612]]=function(e,t){var n=this,r=[],i=[];return t&&2===t[u[18]]&&(r=t[0]||[],i=t[1]||[]),e[u[84]](u[613])||(e[u[613]]=[u[86]]),e[u[84]](u[614])||(e[u[614]]=u[8]),e[u[615]]&&e[u[615]][u[18]]<1&&delete e[u[615]],e[u[616]]&&e[u[616]][u[18]]<1&&delete e[u[616]],r&&r[u[18]]>0&&(e[u[616]]=e[u[616]]||[],e[u[616]]=e[u[616]][u[22]](r),(this[u[618]][u[617]]||u[46]===this[u[618]][u[617]])&&e[u[616]][u[42]]((function(e){e[u[619]]=n[u[618]][u[617]]}))),i&&i[u[18]]>0&&(e[u[615]]=e[u[615]]||[],e[u[615]]=e[u[615]][u[22]](i),(this[u[618]][u[620]]||u[46]===this[u[618]][u[620]])&&e[u[615]][u[42]]((function(e){e[u[619]]=n[u[618]][u[620]]}))),this[u[116]][u[115]][u[114]](u[621],e),e},e[u[21]][u[622]]=function(e,t){void 0===t&&(t=!1);var n=r({},this[u[612]](this[u[169]][u[623]](),e));return(t||(0,h[u[473]])()[u[436]]()[u[624]][u[228]])&&(n[u[625]]=[b[u[3]][u[12]][u[13]]]),[n,{initDataTypes:[u[86]],videoCapabilities:void 0,audioCapabilities:void 0,distinctiveIdentifier:n[u[614]],persistentState:n[u[626]],sessionTypes:n[u[625]]}]},e[u[21]][u[627]]=function(e){var t=this,n=this[u[622]](e);return window[u[633]][u[632]](this[u[492]],n)[u[99]]((function(){var n=t[u[622]](e,!0);return window[u[633]][u[632]](t[u[492]],n)}))[u[101]]((function(e){var n=e[u[628]]();return t[u[116]][u[132]][u[131]]((0,E[u[630]])(t[u[629]](n))),t[u[611]]=n,e[u[631]]()}))},e[u[21]][u[514]]=function(e,t){var n=this;if(this[u[169]]){this[u[289]]=!0;var i=t[u[308]],o=t[u[315]],a=this[u[575]][u[224]](o);a&&(a[u[634]]=o[u[634]]);var s=2===i[u[58]],c=btoa(p[u[26]][u[30]](i,!0));this[u[116]][u[115]][u[114]](u[635],c),this[u[169]][u[523]](t)[u[101]](this[u[573]][u[535]](this,o))[u[101]]((function(t){!s&&e[u[153]](r(r({},t),{session:o}))}))[u[99]]((function(t){n[u[116]][u[115]][u[114]](u[636]),n[u[574]](o),n[u[575]][u[602]](o),e[u[150]](t)}))}else e[u[150]](u[637])},e[u[21]][u[629]]=function(e){var t=e||this[u[611]]||{},n=t[u[626]],r=t[u[625]],i=void 0===r?[]:r;return n===b[u[3]][u[4]][u[5]]&&i[u[388]](b[u[3]][u[12]][u[15]])},e[u[21]][u[528]]=function(e,t){var n=this[u[370]][u[638]],r=this[u[629]]()?n[u[411]](b[u[3]][u[12]][u[15]]):n[u[411]](),i={expiration:null,initData:e,initDataStr:t,loaded:!1};return this[u[575]][u[422]](r,i),r},e[u[21]][u[639]]=function(e,t,n,r){var i=this;this[u[116]][u[115]][u[114]](u[640][u[22]](n));var a=this[u[528]](e,t);return a[u[377]](o[u[571]],this[u[595]]),a[u[377]](o[u[476]],this[u[514]][u[535]](this,r)),a[u[175]](n)[u[101]]((function(e){if(!e)return i[u[116]][u[115]][u[114]](u[642][u[22]](a[u[179]],u[641])),void i[u[575]][u[602]](a);i[u[116]][u[115]][u[114]](u[642][u[22]](a[u[179]],u[643]))}))[u[99]]((function(e){i[u[116]][u[115]][u[114]](u[642][u[22]](a[u[179]],u[641]),e),r[u[150]](e),i[u[575]][u[602]](a)})),r[u[102]]},e[u[21]][u[530]]=function(e,t,n){var r=this,i=u[86],c=this[u[528]](e,t);return c[u[377]](o[u[571]],this[u[595]]),c[u[377]](o[u[476]],this[u[514]][u[535]](this,n)),c[u[646]](i,e)[u[101]]((function(){return r[u[116]][u[132]][u[131]]((0,A[u[645]])({sessionId:c[u[179]]}))}))[u[99]]((function(e){r[u[575]][u[602]](c),n[u[150]](e),r[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[415]],{reason:e,licenseInitDataString:t},u[644]))})),n[u[102]]},e[u[21]][u[647]]=function(e){var t=this,n=new v[u[146]];return this[u[370]][u[652]]=(this[u[370]][u[652]]||Promise[u[153]]())[u[101]]((function(){var r=t[u[370]][u[647]](e)||Promise[u[153]]();return n[u[153]](r),r[u[101]]((function(){return t[u[116]][u[115]][u[114]](u[651][u[22]](null===e?u[649]:u[422],u[650]))}))[u[99]]((function(e){return t[u[116]][u[115]][u[114]](u[648],e),Promise[u[150]](e)}))})),n[u[102]]},e[u[21]][u[653]]=function(e){e||this[u[116]][u[141]][u[218]](d[u[215]][u[214]],new c[u[217]](l[u[207]][u[654]]))},e[u[21]][u[655]]=function(e,t,n){n[u[656]]=t instanceof Error?t[u[308]]:u[657],this[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[295]],n,u[658]))},e[u[21]][u[659]]=function(e,t){var n=this;this[u[618]][u[294]]&&e&&e[u[660]](this[u[618]][u[294]])[u[101]]((function(e){return n[u[653]](e)}))[u[99]]((function(r){return n[u[655]](e,r,t)}))},e[u[21]][u[482]]=function(e){var t=this,n={drmCapabilities:e,keySystem:this[u[492]],eme:u[661]};return this[u[627]](e)[u[101]]((function(e){return n[u[664]]=e,null===t[u[492]]?(t[u[116]][u[115]][u[114]](u[665]),Promise[u[150]](u[662])):(t[u[370]][u[638]]=e,t[u[659]](e,n),t[u[647]](e))}))[u[99]]((function(e){return u[662]!==e&&(n[u[656]]=e,t[u[116]][u[141]][u[140]](new s[u[139]](a[u[137]][u[417]],n,u[663]))),Promise[u[150]](e)}))},e[u[21]][u[522]]=function(e,t){return this[u[289]]=!1,e&&this[u[169]]?(this[u[610]][u[388]](t)||this[u[610]][u[72]](t),t[u[350]](this[u[169]][u[343]](e))):Promise[u[150]]()},e[u[21]][u[582]]=function(e){var t=this;this[u[116]][u[115]][u[114]](u[666]+String[u[64]][u[96]](null,new Uint8Array(e[u[161]])));var n=(0,C[u[472]])(e[u[161]]);n&&n[u[18]]&&this[u[498]]&&n[u[42]]((function(e){return t[u[498]](e)}))},e[u[21]][u[601]]=function(e){return e[u[162]]((function(e){return e===T[u[449]][u[589]]}))},e[u[21]][u[667]]=function(e){var t=e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e[u[29]]);return(0,_[u[80]])(this[u[492]])===_[u[204]][u[203]]&&(0,g[u[265]])()&&S[u[28]][u[27]](t),m[u[71]][u[93]](t)},e[u[21]][u[668]]=function(e,t){var n=u[46],r=u[46];return u[88]==typeof e?(n=this[u[667]](t),r=String(e)):u[88]==typeof t?(n=this[u[667]](e),r=String(t)):this[u[116]][u[115]][u[114]](u[669],typeof e,typeof t),[n,r]},e[u[21]][u[598]]=function(e){var t=this,n={};return e[u[42]]((function(e,r){var i=t[u[668]](e,r),o=i[0],a=i[1];n[o]=a})),n},e[u[21]][u[608]]=function(e,t,n){var r=this;this[u[116]][u[141]][u[218]](d[u[215]][u[214]],new c[u[217]](l[u[207]][u[364]],u[670]+e[u[672]](u[671]))),e[u[42]]((function(e){return r[u[116]][u[132]][u[131]]((0,f[u[130]])(e))})),this[u[574]](t),this[u[575]][u[602]](t),this[u[116]][u[132]][u[131]]((0,E[u[455]])({initDataStr:n}))},e[u[21]][u[600]]=function(e,t){var n=this;Object[u[271]](e)[u[42]]((function(r){var i=e[r];n[u[116]][u[132]][u[131]]((0,E[u[673]])((0,_[u[80]])(n[u[492]]),r,i,t)),i===T[u[449]][u[674]]&&n[u[116]][u[132]][u[131]]((0,f[u[130]])(r)),n[u[585]](i,r)}))},e[u[21]][u[155]]=function(){var e,t=this,n=[];this[u[575]][u[42]]((function(e,t){return n[u[72]](t)})),this[u[370]][u[429]](y[u[376]][u[675]],this[u[583]]),this[u[370]][u[429]](y[u[376]][u[676]],this[u[581]]);var r=n[u[36]]((function(e){var n=t[u[574]](e);return t[u[610]][u[388]](e)?n:Promise[u[153]]()}));this[u[169]]=null,this[u[575]]=new Map,this[u[610]]=[],this[u[492]]=null,this[u[497]]=null,this[u[370]][u[638]]=null;var o=null===(e=this[u[538]])||void 0===e?void 0:e[u[99]]((function(e){return t[u[116]][u[115]][u[114]](u[677],e)}))[u[255]]((function(){return t[u[538]]=void 0}));return Promise[u[105]](i(i([],r,!0),[o],!1))[u[101]]((function(){return t[u[647]](null)[u[99]]((function(e){t[u[116]][u[115]][u[114]](u[678],e)}))}))[u[99]]((function(e){t[u[116]][u[115]][u[114]](u[567],e)}))},e[u[21]][u[574]]=function(e){var t=this;return this[u[116]][u[132]][u[131]]((0,A[u[679]])({sessionId:e[u[179]]})),Promise[u[682]]([e[u[681]],e[u[566]]()])[u[99]]((function(e){t[u[116]][u[115]][u[114]](u[680],e)}))},e[u[21]][u[175]]=function(e,t,n,r){this[u[169]]=e,this[u[492]]=t,this[u[618]]=n[(0,_[u[80]])(t)],this[u[370]][u[377]](y[u[376]][u[676]],this[u[581]]),this[u[370]][u[377]](y[u[376]][u[675]],this[u[583]]),this[u[538]]=this[u[482]](r)},e[u[21]][u[683]]=function(e){var t=!1;return this[u[575]][u[42]]((function(n){return t=t||n[u[161]]===e})),t},e[u[21]][u[199]]=function(){this[u[370]][u[141]][u[542]](y[u[376]][u[676]],this[u[581]])||this[u[370]][u[377]](y[u[376]][u[676]],this[u[581]]),this[u[370]][u[141]][u[542]](y[u[376]][u[675]],this[u[583]])||this[u[370]][u[377]](y[u[376]][u[675]],this[u[583]])},e[u[21]][u[684]]=function(e,t,n,r){if(!e)return r[u[150]]({message:u[685]}),r[u[102]];if(this[u[683]](e))return r[u[150]]({message:u[686]}),r[u[102]];var i=(0,h[u[687]])()[u[425]]((function(e){return e===n}));return n&&this[u[629]]()&&!i?(this[u[116]][u[132]][u[131]]((0,A[u[645]])({sessionId:n})),this[u[639]](e,t,n,r)):this[u[530]](e,t,r)},e[u[21]][u[688]]=function(){return new v[u[146]]},e[u[21]][u[185]]=function(e,t,n){var r=this;this[u[289]]=!0,this[u[116]][u[115]][u[114]](u[562][u[22]](t,u[689]));var i=this[u[688]]();return this[u[538]][u[101]]((function(){return null===r[u[370]][u[638]]?Promise[u[150]](u[690]):r[u[684]](e,t,n,i)}))[u[101]]((function(e){r[u[289]]=!1;var n=e[u[536]],i=void 0===n?{}:n;return{initDataStr:t,license:e[u[299]],sessionInfo:{sessionId:i[u[179]],expiration:i[u[634]]}}}))[u[99]]((function(e){return r[u[289]]=!1,Promise[u[150]]({response:e,initDataStr:t})}))},e[u[21]][u[182]]=function(e){var t,n;return null!==(n=null===(t=this[u[169]])||void 0===t?void 0:t[u[182]](e))&&void 0!==n?n:[]},e[u[21]][u[164]]=function(e){return this[u[169]]?this[u[169]][u[164]](e):e},e[u[21]][u[108]]=function(){return this[u[289]]},e[u[21]][u[154]]=function(e){this[u[497]]=e},e[u[21]][u[172]]=function(e){this[u[498]]=e},e[u[21]][u[201]]=function(){return Promise[u[153]]()},e[u[21]][u[208]]=function(e){var t=this,n=[];return this[u[575]][u[42]]((function(r,i){r[u[126]]===e&&(n[u[72]](t[u[574]](i)[u[101]]((function(){t[u[116]][u[115]][u[114]](u[691]+i[u[179]])}))),t[u[610]]=t[u[610]][u[78]]((function(e){return e[u[179]]!==i[u[179]]})),t[u[575]][u[602]](i))})),n[u[18]]<1?Promise[u[150]](u[692]+e):Promise[u[105]](n)},e}();t[u[190]]=P},91284:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[471]]=void 0,t[u[696]]=function(e,t){return u[110]==typeof e[u[720]]()[u[716]]&&u[110]==typeof e[u[721]]&&e[u[721]](u[410],t)?Promise[u[153]]({keySystem:t}):Promise[u[150]](u[569])};var r,i,o=n(25550),a=n(28764),s=n(10981),c=n(46462),l=n(48630);!function(e){e[e[u[697]]=6]=u[697]}(r||(r={})),function(e){e[e[u[698]]=1212433232]=u[698]}(i||(i={}));var d=function(){function e(e){var t=this;this[u[496]]=function(e){if(t[u[116]][u[115]][u[114]](u[699]),t[u[497]]&&t[u[497]](),e){var n=(0,l[u[472]])(e[u[161]]);n&&n[u[18]]&&t[u[498]]&&t[u[700]](e[u[161]],n)}},this[u[116]]=e,this[u[355]]=e[u[369]][u[355]],this[u[370]]=e[u[145]],this[u[701]]=[],this[u[702]]=[]}return e[u[21]][u[700]]=function(e,t){var n=this;t[u[42]]((function(e){return n[u[498]](e)}))},e[u[21]][u[703]]=function(e,t,n){this[u[701]][u[388]](n)&&this[u[701]][u[704]](this[u[701]][u[400]](n)),this[u[116]][u[115]][u[114]](u[705]+this[u[492]]+u[706]+e+u[707]+t+u[708]+n),this[u[370]][u[709]](this[u[492]],e,t,n)},e[u[21]][u[522]]=function(e,t,n){this[u[289]]=!1,null!==e?this[u[703]](this[u[169]][u[343]](e),t,n):this[u[116]][u[115]][u[114]](u[710])},e[u[21]][u[507]]=function(e,t){null!==e&&e[u[508]][u[150]]();var n=t[u[315]]||{},s=n[u[358]]||n[u[711]]||{},c=s[u[359]],l=s[u[360]];this[u[116]][u[115]][u[114]](u[712],{error:s,code:c,systemCode:l}),c===r[u[697]]&&l===i[u[698]]?this[u[116]][u[141]][u[140]](new a[u[139]](o[u[137]][u[364]],void 0,void 0,this[u[355]])):this[u[116]][u[141]][u[140]](new a[u[139]](o[u[137]][u[366]],{code:c,systemCode:l}))},e[u[21]][u[524]]=function(e,t){this[u[116]][u[115]][u[114]](u[713][u[22]](e[u[193]])),Boolean(e)&&Boolean(e[u[450]])&&e[u[508]][u[153]](e[u[450]]),Boolean(e)&&Boolean(e[u[507]])&&this[u[370]][u[429]](c[u[376]][u[414]],e[u[507]])},e[u[21]][u[514]]=function(e,t){var n=this,r=t[u[179]];t[u[193]]=e[u[193]],this[u[701]][u[388]](r)?this[u[116]][u[115]][u[114]](u[715][u[22]](r,u[714])):(this[u[701]][u[72]](r),this[u[289]]=!0,this[u[169]][u[523]](t)[u[101]]((function(t){n[u[522]](t[u[299]],t[u[193]]||e[u[161]],r),e[u[450]]=t}))[u[99]]((function(t){return e[u[508]][u[150]](t)})))},e[u[21]][u[530]]=function(e,t){var n=this,r={kid:t,initData:e,deferred:new s[u[146]]};return this[u[702]][u[72]](r[u[508]]),r[u[507]]=this[u[507]][u[535]](this,r),r[u[524]]=this[u[524]][u[535]](this,r),r[u[514]]=this[u[514]][u[535]](this,r),this[u[370]][u[377]](c[u[376]][u[414]],r[u[507]]),this[u[370]][u[377]](c[u[376]][u[413]],r[u[524]]),this[u[370]][u[377]](c[u[376]][u[412]],r[u[514]]),this[u[370]][u[716]](this[u[492]],new Uint8Array(e)),r[u[508]][u[102]][u[255]]((function(){n[u[370]][u[429]](c[u[376]][u[414]],r[u[507]]),n[u[370]][u[429]](c[u[376]][u[413]],r[u[524]]),n[u[370]][u[429]](c[u[376]][u[412]],r[u[514]]),n[u[717]](r[u[508]])})),r[u[508]][u[102]]},e[u[21]][u[717]]=function(e){var t=this[u[702]][u[718]]((function(t){return t===e}));this[u[702]][u[704]](t,1)},e[u[21]][u[155]]=function(){return this[u[509]]&&this[u[370]][u[429]](c[u[376]][u[414]],this[u[509]]),this[u[702]][u[42]]((function(e){e[u[150]](u[719])})),this[u[702]]=[],this[u[370]][u[429]](c[u[376]][u[375]],this[u[496]]),this[u[492]]=null,this[u[169]]=null,this[u[497]]=null,Promise[u[153]]()},e[u[21]][u[175]]=function(e,t){this[u[169]]=e,this[u[492]]=t,this[u[509]]&&this[u[370]][u[429]](c[u[376]][u[414]],this[u[509]]),this[u[509]]=this[u[507]][u[535]](this,null),this[u[370]][u[377]](c[u[376]][u[375]],this[u[496]]),this[u[370]][u[377]](c[u[376]][u[414]],this[u[509]])},e[u[21]][u[199]]=function(){},e[u[21]][u[185]]=function(e,t){var n=this;return this[u[289]]=!0,this[u[116]][u[115]][u[114]](u[562]+t+u[563]),this[u[530]](e)[u[101]]((function(e){return n[u[289]]=!1,{initDataStr:t,license:e[u[299]]}}))[u[99]]((function(e){return n[u[289]]=!1,Promise[u[150]]({initDataStr:t,statusCode:e[u[306]],response:e})}))},e[u[21]][u[182]]=function(e){var t,n;return null!==(n=null===(t=this[u[169]])||void 0===t?void 0:t[u[182]](e))&&void 0!==n?n:[]},e[u[21]][u[164]]=function(e){return this[u[169]]?this[u[169]][u[164]](e):e},e[u[21]][u[108]]=function(){return this[u[289]]},e[u[21]][u[154]]=function(e){this[u[497]]=e},e[u[21]][u[172]]=function(e){this[u[498]]=e},e[u[21]][u[201]]=function(){return Promise[u[153]]()},e}();t[u[471]]=d},69372:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[28]]=t[u[118]]=void 0;var i,o=n(25550),a=n(28764),s=n(88005),c=n(36564),l=n(67345),d=n(97630),_=n(81361),f=n(56093),h=n(41503),p=u[722],g=u[723];function v(e){var t=u[88]==typeof e?(new DOMParser)[u[560]](e,u[559]):e;if(!t)return null;var n=t[u[546]](u[396]);return n[u[18]]>0?n[u[725]](0)[u[724]]:null}!function(e){e[e[u[726]]=1]=u[726],e[e[u[727]]=2]=u[727],e[e[u[728]]=3]=u[728]}(i||(i={})),t[u[118]]=u[729];var m=function(){function e(e,t){var n=this;this[u[116]]=e,this[u[730]]=function(e,t){n[u[116]][u[115]][u[114]](u[732][u[22]](t[u[87]],u[731]),e[u[299]]),n[u[116]][u[141]][u[140]](new a[u[139]](o[u[137]][u[354]],{statusCode:e[u[306]],statusText:e[u[307]],serverResponse:e[u[299]]},u[733][u[22]](e[u[306]],u[310])[u[22]](e[u[307]],u[309]),n[u[355]]))},this[u[355]]=e[u[369]][u[355]],this[u[734]]=t,e[u[115]][u[114]](u[735]),this[u[736]]=new s[u[329]](e,{onFailure:this[u[730]],maxRetries:t[u[320]],retryDelay:t[u[737]],requestType:l[u[328]][u[738]]})}return e[u[739]]=function(e,t){var n=e[u[546]](u[740])[0];if(n[u[84]](u[741]))return u[742]+n[u[741]]+u[743];var r=t[u[400]](u[744]),i=t[u[400]](u[743])+12;return t[u[39]](r,i)},e[u[21]][u[745]]=function(n){var r,i=n[u[308]][u[29]]||n[u[308]],s=this[u[734]][u[84]](u[746])&&this[u[734]][u[746]],c=_[u[26]][u[30]](i,s);if(0===c[u[18]])return this[u[116]][u[115]][u[114]](u[747]),t[u[118]];this[u[116]][u[115]][u[114]](c);var l=(new DOMParser)[u[560]](c,u[559]);if(l[u[546]](u[740])[0])if(this[u[734]][u[84]](u[748])&&this[u[734]][u[748]])r=u[749]+e[u[739]](l,c)+u[750];else{var d=l[u[546]](u[740])[0][u[547]][0][u[548]];d&&(r=window[u[383]](d))}else this[u[116]][u[115]][u[351]](u[751]);var f={},h=c[u[752]](/<HttpHeaders>.*<\/HttpHeaders>/);if(h&&1===h[u[18]]){var p=h[0][u[752]](/<name>([^<]+?)<\/name>/g),g=h[0][u[752]](/<value>([^<]+?)<\/value>/g);if(null===p||null===g||p[u[18]]!==g[u[18]])return this[u[116]][u[141]][u[140]](new a[u[139]](o[u[137]][u[753]],{headerNameListEmpty:null===p,headerValueListEmpty:null===g,headerPairLengthMismatch:(null==p?void 0:p[u[18]])!==(null==g?void 0:g[u[18]])},u[754])),null;for(var m=0;m<p[u[18]];m++)f[p[m][u[47]](/<\/?name>/g,u[46])]=g[m][u[47]](/<\/?value>/g,u[46])}return{challenge:r,laURL:this[u[734]][u[396]]||n[u[755]]||n[u[756]]||v(l)||v(r),headers:f}},e[u[21]][u[523]]=function(e){var n=this[u[745]](e);if(n===t[u[118]])return Promise[u[150]](t[u[118]]);if(!n||!n[u[757]])return Promise[u[150]](u[758]);if(!(u[759]in this[u[734]])||this[u[734]][u[759]]){var r=document[u[761]](u[760]);r[u[762]]=n[u[757]],r[u[763]]=u[764],n[u[757]]=r[u[762]]}return n[u[321]]=c[u[325]][u[324]](n[u[321]],this[u[734]][u[321]]||{}),this[u[736]][u[175]](n[u[757]],l[u[339]][u[338]],l[u[319]][u[395]],n[u[765]],n[u[321]],this[u[734]][u[316]])},e[u[21]][u[343]]=function(e){try{return new Uint8Array(e)}catch(e){return this[u[116]][u[141]][u[140]](new a[u[139]](o[u[137]][u[366]],{reason:u[766]})),null}},e[u[21]][u[529]]=function(){if(this[u[734]]&&this[u[734]][u[767]]){for(var t=[],n=0;n<this[u[734]][u[767]][u[18]];++n)t[u[72]](this[u[734]][u[767]][u[32]](n)),t[u[72]](0);var r=String[u[64]][u[96]](null,t);r=btoa(r);var i=e[u[771]][u[47]](u[769],Boolean(this[u[734]][u[770]])+u[46])[u[47]](u[768],r),o=[];for(n=0;n<i[u[18]];++n)o[u[72]](i[u[32]](n)),o[u[72]](0);return new Uint8Array(o)[u[29]]}return null},e[u[772]]=function(e,t){for(var n=0,r=[],o=2*g[u[18]],a=_[u[26]][u[773]](e[u[29]],2,t);n<a[u[18]];){var s=a[u[400]](p,n),c=a[u[400]](g,s);if(s>=0&&c>s&&n<c){var l=t+2*s,d=t+2*c+o;r[u[72]]({type:i[u[726]],value:e[u[29]][u[20]](l,d)}),n=c}else n=a[u[18]]}return r},e[u[774]]=function(e,t){var n=t+4,r=[],i=new DataView(e[u[29]]),o=i[u[775]](n,!0);n+=2;for(var a=0;a<o;a++){var s=i[u[775]](n,!0);n+=2;var c=i[u[775]](n,!0);n+=2;var l={type:s,value:e[u[29]][u[20]](n,n+c)};r[u[72]](l),n+=c}return r},e[u[776]]=function(e,t){var n=new DataView(e[u[29]],t);return!(n[u[61]](0,!0)>n[u[58]])&&p[u[45]](u[46])[u[36]]((function(e){return e[u[32]](0)}))[u[162]]((function(e,t){return n[u[775]](t,!0)!==e}))},e[u[777]]=function(e,t){return this[u[776]](e,t)?this[u[774]](e,t):this[u[772]](e,t)},e[u[778]]=function(e,t){if(e[u[779]]!==i[u[726]])return null;try{return(new DOMParser)[u[560]](_[u[26]][u[773]](e[u[549]]),u[559])}catch(n){return null!==t&&t[u[115]][u[114]](u[780],n,e),null}},e[u[34]]=function(e,t,n){var r=this;return void 0===n&&(n=null),this[u[777]](e,t)[u[36]]((function(e){return r[u[778]](e,n)}))[u[78]]((function(e){return null!==e}))},e[u[21]][u[781]]=function(e){var t=_[u[26]][u[25]](e);return this[u[782]](t[u[29]])},e[u[21]][u[782]]=function(t){for(var n=new DataView(t),r=u[46],i=d[u[50]][u[49]],o=0;o<d[u[50]][u[51]];o++){var a=n[u[783]](i+o);r+=String[u[64]](a)}if(u[66]===r){i+=d[u[50]][u[51]];var s=n[u[63]](i);i+=d[u[50]][u[52]]+d[u[50]][u[53]]+d[u[50]][u[54]],s>0&&(i+=4+n[u[61]](i)*d[u[50]][u[57]]),i+=4}return e[u[34]](new Uint8Array(t),i,this[u[116]])},e[u[35]]=function(e,t){for(var n=[],r=0;r<e[u[18]];r++){var i=e[r][u[546]](u[545]);if(i&&i[u[18]]>0)for(var o=0;o<i[u[18]];o++){var a=i[o];a&&a[u[547]]&&a[u[547]][u[18]]>0?n[u[72]](a[u[547]][0][u[548]]):a&&a[u[550]](u[549])?n[u[72]](a[u[551]](u[549])):a&&a[u[550]](u[552])?n[u[72]](a[u[551]](u[552])):t&&t[u[115]][u[114]](u[553],a)}}return n},e[u[21]][u[182]]=function(t){return e[u[35]](this[u[782]](t),this[u[116]])[u[36]]((function(e){return atob(e)}))[u[36]]((function(e){return _[u[26]][u[25]](e)}))[u[36]]((function(t){var n=new Uint8Array(t);return e[u[27]](n),n}))[u[36]]((function(e){return f[u[71]][u[93]](e)}))},e[u[21]][u[164]]=function(t){if(!t[u[388]](u[558]))return t;var n=this[u[781]](t),r=e[u[35]](n,this[u[116]]);return r&&r[u[18]]>0?r[u[672]](u[216]):t},e[u[21]][u[623]]=function(){var e=this[u[734]][u[784]],t={persistentState:h[u[3]][u[4]][u[7]],sessionTypes:[h[u[3]][u[12]][u[13]]]};return u[785]==typeof e?r(r({},t),e):t},e[u[786]]=function(e,t,n){var r=e[n];e[n]=e[t],e[t]=r},e[u[27]]=function(t){e[u[786]](t,0,3),e[u[786]](t,1,2),e[u[786]](t,4,5),e[u[786]](t,6,7)},e[u[21]][u[149]]=function(){this[u[734]]=null,this[u[736]][u[149]](),this[u[736]]=null},e[u[771]]=u[787],e}();t[u[28]]=m},97011:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[788]]=void 0;var r=n(25550),i=n(28764),o=n(88005),a=n(67345),s=function(){function e(e,t){var n=this;this[u[116]]=e,this[u[730]]=function(e,t){n[u[116]][u[115]][u[114]](u[789][u[22]](t[u[87]],u[731]),e[u[299]]),n[u[116]][u[141]][u[140]](new i[u[139]](r[u[137]][u[354]],{statusCode:e[u[306]],statusText:e[u[307]],serverResponse:e[u[299]]},u[790][u[22]](e[u[306]],u[310])[u[22]](e[u[307]],u[309]),n[u[355]]))},this[u[355]]=e[u[369]][u[355]],this[u[791]]=t,e[u[115]][u[114]](u[792]),this[u[736]]=new o[u[329]](e,{onFailure:this[u[730]],maxRetries:t[u[320]],retryDelay:t[u[737]],requestType:a[u[328]][u[793]]})}return e[u[21]][u[523]]=function(t){var n,r,i=t[u[308]];switch(this[u[791]][u[321]]&&Object[u[271]](this[u[791]][u[321]])[u[18]]>0&&(n=this[u[791]][u[321]]),t[u[799]]){case e[u[795]]:r=this[u[791]][u[794]]||this[u[791]][u[396]];break;case e[u[796]]:case e[u[797]]:r=this[u[791]][u[396]];break;default:this[u[116]][u[115]][u[114]](u[798]),r=this[u[791]][u[396]]}return this[u[736]][u[175]](r,a[u[339]][u[338]],a[u[319]][u[395]],i,n,this[u[791]][u[316]],u[800])},e[u[21]][u[343]]=function(e){return new Uint8Array(e)},e[u[21]][u[529]]=function(){return null},e[u[21]][u[182]]=function(e){return[]},e[u[21]][u[164]]=function(e){return e},e[u[21]][u[623]]=function(){var e=this[u[791]][u[784]];return u[785]==typeof e?e:{}},e[u[21]][u[149]]=function(){this[u[791]]=null,this[u[736]][u[149]](),this[u[736]]=null},e[u[795]]=u[801],e[u[796]]=u[802],e[u[797]]=u[803],e}();t[u[788]]=s},19802:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[804]]=void 0;var i=n(25550),o=n(28764),a=n(63546),s=n(35148),c=n(62510),l=n(88005),d=n(67345),_=n(63668),f=n(41503),h=n(72987),p=function(){function e(e,t){var n=this;this[u[116]]=e,this[u[730]]=function(e,t){n[u[116]][u[115]][u[114]](u[805][u[22]](t[u[87]],u[731]),e[u[299]]),n[u[807]][u[806]]&&403===e[u[306]]?n[u[116]][u[141]][u[218]](c[u[215]][u[214]],new a[u[217]](s[u[207]][u[354]],u[808],{responseCode:e[u[306]],responseText:e[u[307]],serverResponse:e[u[299]]})):n[u[116]][u[141]][u[140]](new o[u[139]](i[u[137]][u[354]],{responseCode:e[u[306]],responseText:e[u[307]],serverResponse:e[u[299]]},u[809][u[22]](e[u[306]],u[310])[u[22]](e[u[307]],u[309]),n[u[355]]))},this[u[355]]=e[u[369]][u[355]],this[u[807]]=t,this[u[810]]=new Map,e[u[115]][u[114]](u[811]),this[u[736]]=new l[u[329]](e,{onFailure:this[u[730]],maxRetries:t[u[320]],requestType:d[u[328]][u[812]]})}return e[u[21]][u[813]]=function(e){return u[110]==typeof this[u[807]][u[322]]?this[u[807]][u[322]](e):e[u[308]]},e[u[21]][u[814]]=function(){return this[u[807]][u[321]]&&Object[u[271]](this[u[807]][u[321]])[u[18]]>0?this[u[807]][u[321]]:void 0},e[u[21]][u[815]]=function(e){var t=(0,h[u[816]])(e);void 0!==t&&this[u[810]][u[422]](t[u[817]],t[u[818]])},e[u[21]][u[523]]=function(e){if(!this[u[807]][u[396]])return Promise[u[150]](u[758]);var t=this[u[813]](e),n=this[u[814]]();return this[u[815]](t),this[u[736]][u[175]](this[u[807]][u[396]],d[u[339]][u[338]],d[u[319]][u[395]],t,n,this[u[807]][u[316]],u[800])},e[u[21]][u[819]]=function(e){var t;if(u[110]==typeof this[u[807]][u[343]]){var n=this[u[807]][u[343]]({license:e});return null!==(t=null==n?void 0:n[u[450]])&&void 0!==t?t:void 0}},e[u[21]][u[820]]=function(e){var t=new Uint8Array(e),n=this[u[819]](t);return null!=n?n:t},e[u[21]][u[821]]=function(e){this[u[116]][u[115]][u[114]](u[822][u[22]](e)),this[u[116]][u[132]][u[131]]((0,_[u[130]])(e))},e[u[21]][u[823]]=function(e){var t,n=this,r=(0,h[u[824]])(e);void 0!==r&&(null!==(t=this[u[810]][u[224]](r[u[817]]))&&void 0!==t?t:[])[u[78]]((function(e){return!r[u[825]][u[388]](e)}))[u[42]]((function(e){return n[u[821]](e)}))},e[u[21]][u[343]]=function(e){return this[u[823]](e),this[u[820]](e)},e[u[21]][u[529]]=function(){return null},e[u[21]][u[182]]=function(e){return(0,h[u[826]])(e)},e[u[21]][u[164]]=function(e){return e},e[u[21]][u[623]]=function(){var e,t=this[u[807]][u[784]],n=null===(e=null==t?void 0:t[u[625]])||void 0===e?void 0:e[u[388]](f[u[3]][u[12]][u[15]]),i={persistentState:f[u[3]][u[4]][u[7]],sessionTypes:n?[f[u[3]][u[12]][u[15]]]:[f[u[3]][u[12]][u[13]]]};return u[785]==typeof t?r(r({},i),t):i},e[u[21]][u[149]]=function(){this[u[807]]=null,this[u[736]][u[149]](),this[u[736]]=null,this[u[810]][u[827]]()},e}();t[u[804]]=p},46570:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)},i=this&&this[u[828]]||function(e,t){var n={};for(var r in e)Object[u[21]][u[84]][u[19]](e,r)&&t[u[400]](r)<0&&(n[r]=e[r]);if(null!=e&&u[110]==typeof Object[u[829]]){var i=0;for(r=Object[u[829]](e);i<r[u[18]];i++)t[u[400]](r[i])<0&&Object[u[21]][u[830]][u[19]](e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object[u[2]](t,u[1],{value:!0}),t[u[831]]=void 0,t[u[129]]=function(e){return(0,o[u[836]])(a[u[835]][u[834]],e)},t[u[454]]=function(e){return(0,o[u[836]])(a[u[835]][u[837]],e)},t[u[455]]=function(e){return(0,o[u[836]])(a[u[835]][u[838]],e)},t[u[127]]=function(e){return(0,o[u[836]])(a[u[835]][u[839]],e)},t[u[463]]=function(){return(0,o[u[836]])(a[u[835]][u[840]])},t[u[462]]=function(){return(0,o[u[836]])(a[u[835]][u[841]])},t[u[443]]=function(e){return(0,o[u[836]])(a[u[835]][u[842]],{storageHandler:e})},t[u[630]]=function(e){return(0,o[u[836]])(a[u[835]][u[843]],e)},t[u[673]]=function(e,t,n,r){return(0,o[u[836]])(a[u[835]][u[844]],{keySystemKind:e,keyUuid:t,status:n,initDataStr:r})},t[u[832]]=l,t[u[447]]=function(e,t){e&&(clearTimeout(c),c=window[u[381]]((function(){return function(e,t){try{var n=e[u[456]],o={};Object[u[271]](n)[u[42]]((function(e){o[e]={},Object[u[846]](n[e])[u[42]]((function(t){var n=t[0],s=t[1],c=void 0===s?{}:s,l=(c[u[450]],c[u[161]],i(c,[u[450],u[161]]));delete l[u[452]],o[e][n]=r(r({},l),{hasLicense:!1,isPending:!1,wasRequested:!1,mediaKeyStatus:a[u[449]][u[448]]})}))}));var c=JSON[u[113]](r(r({},e),{drmData:o}));t[u[422]](s,c)}catch(e){}}(e,t)})))},t[u[459]]=function(e){return btoa(e)};var o=n(15231),a=n(13936),s=u[833],c=-1;function l(e){try{var t=e[u[224]](s);return JSON[u[845]](t)||{}}catch(e){return{}}}t[u[831]]=function(e){var t=l(e);return r({inPersistentState:!1,drmData:{}},t)}},38381:function(e,t,n){var r,i=this&&this[u[94]]||function(){return i=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},i[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[440]]=void 0;var o=n(94304),a=n(21829),s=n(46570),c=n(13936),l={drmData:{},inPersistentState:!1};function d(e,t,n){var r,o=(0,s[u[459]])(t),a=i(i({},e),{drmData:i({},e[u[456]])});return n?(e[u[456]][n]?a[u[456]][n]=i(i({},e[u[456]][n]),((r={})[o]=i({},e[u[456]][n][o]),r)):a[u[456]][n]={},a):a}function _(e,t){var n,r=t[u[126]],o=t[u[847]],a=t[u[158]],c=d(e,r,a),l=(0,s[u[459]])(r),_=e[u[456]][a]&&e[u[456]][a][l]||{};return c[u[456]][a]=i(i({},e[u[456]][a]),((n={})[l]=i(i({},_),o),n)),c}t[u[440]]=(0,a[u[473]])(l,((r={})[c[u[835]][u[834]]]=function(e,t){return _(e,t[u[849]])},r[c[u[835]][u[837]]]=function(e,t){return _(e,t[u[849]])},r[c[u[835]][u[838]]]=function(e,t){return function(e,t){var n=t[u[126]],r=null,i=(0,s[u[459]])(n);return Object[u[271]](e[u[456]])[u[42]]((function(t){if(t){var a=(r=d(r||e,n,o[u[204]][t]))[u[456]][t];r[u[456]][t]=a?Object[u[271]](a)[u[78]]((function(e){return i!==e}))[u[848]]((function(e,t){return e[t]=a[t],e}),{}):{}}})),r||e}(e,t[u[849]])},r[c[u[835]][u[839]]]=function(e,t){return _(e,t[u[849]])},r[c[u[835]][u[840]]]=function(e){return function(e){var t={};return Object[u[271]](e[u[456]])[u[42]]((function(n){n&&(t[n]={},Object[u[846]](e[u[456]][n])[u[42]]((function(e){var r=e[0],o=e[1];t[n][r]=i(i({},o),{keyIds:[],license:null,hasLicense:!1,isPending:!1,wasRequested:!1,initData:null})})))})),{inPersistentState:e[u[461]],drmData:t}}(e)},r[c[u[835]][u[843]]]=function(e,t){var n=t[u[849]];return i(i({},e),{inPersistentState:n})},r[c[u[835]][u[841]]]=function(){return l},r[c[u[835]][u[842]]]=function(e,t){var n=t[u[849]];return(0,s[u[831]])(n[u[852]])},r[c[u[835]][u[844]]]=function(e,t){var n,r=t[u[849]],o=r[u[850]],a=r[u[851]],s=r[u[306]],c=r[u[126]],l=e[u[456]][o];if(!(null==l?void 0:l[c]))return e;var d=i({},l),_=d[c];return _[u[467]][u[388]](a)&&(d[c]=i(i({},_),{mediaKeyStatus:s})),i(i({},e),{drmData:i(i({},e[u[456]]),(n={},n[o]=d,n))})},r))},37299:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[260]]=void 0,t[u[606]]=function(e,t,n){var i=(0,r[u[434]])(t,n)[u[458]]((function(e){return e[u[467]]}));return e[u[78]]((function(e){return i[u[388]](e)}))[u[36]]((function(e){return(0,r[u[431]])(e,(0,r[u[433]])(n,t),r[u[432]])}))[u[853]]((function(e){return!0===e}))};var r=n(27781);t[u[260]]=function(e){return e[u[438]]}},13936:function(e,t){var n,r;Object[u[2]](t,u[1],{value:!0}),t[u[449]]=t[u[835]]=void 0,function(e){e[u[834]]=u[854],e[u[837]]=u[855],e[u[838]]=u[856],e[u[839]]=u[857],e[u[840]]=u[858],e[u[844]]=u[859],e[u[843]]=u[860],e[u[841]]=u[861],e[u[842]]=u[862]}(n||(t[u[835]]=n={})),function(e){e[u[448]]=u[863],e[u[465]]=u[864],e[u[589]]=u[865],e[u[866]]=u[867],e[u[466]]=u[868],e[u[592]]=u[869],e[u[870]]=u[871],e[u[674]]=u[872]}(r||(t[u[449]]=r={}))},14952:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[679]]=t[u[645]]=void 0;var r=n(15231),i=n(78818);t[u[645]]=function(e){return(0,r[u[836]])(i[u[874]][u[873]],e)},t[u[679]]=function(e){return(0,r[u[836]])(i[u[874]][u[875]],e)}},30479:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)},i=this&&this[u[17]]||function(e,t,n){if(n||2===arguments[u[18]])for(var r,i=0,o=t[u[18]];i<o;i++)!r&&i in t||(r||(r=Array[u[21]][u[20]][u[19]](t,0,i)),r[i]=t[i]);return e[u[22]](r||Array[u[21]][u[20]][u[19]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[470]]=void 0;var o=n(94304),a=n(81361),s=n(43485),c=n(23103),l=n(78165),d=function(){function e(){this[u[876]]=new l[u[877]]}return e[u[21]][u[878]]=function(e){return this[u[876]]?this[u[876]][u[878]](e):Promise[u[150]](u[879])},e[u[21]][u[880]]=function(){var e=this,t=Object[u[271]](o[u[177]])[u[458]]((function(e){return o[u[177]][e]}));return(0,c[u[881]])(t[u[36]]((function(t){return e[u[878]](t)})))[u[101]]((function(e){return e[u[78]]((function(e){return e}))}))[u[99]]((function(){return[]}))},e[u[21]][u[882]]=function(e,t,n){var o;if(f(t)){var s=_(t)[u[36]]((function(e){return r(r({},e),{contentType:e[u[885]][u[47]](u[883],u[884])})}));s=s[u[78]]((function(e){return!(0,a[u[886]])(t,e)})),o=i(i([],t,!0),s,!0)}else o=t;return this[u[876]][u[882]](e,o,n)[u[101]]((function(e){if(f(t)){var n=e[u[616]];e[u[616]]=function(e){var t=e[u[78]]((function(e){var t;return null===(t=e[u[885]])||void 0===t?void 0:t[u[388]](u[884])}))[u[36]]((function(e){return r(r({},e),{contentType:e[u[885]][u[47]](u[884],u[883])})}))[u[78]]((function(t){return!(0,a[u[886]])(e,t)}));return i(i([],e,!0),t,!0)}(n),e[u[616]]=e[u[616]][u[78]]((function(e){return(0,a[u[886]])(t,e,(function(e,t){return e[u[885]]===t[u[885]]}))}))}return e}))},e[u[21]][u[149]]=function(){this[u[876]][u[149]]()},e}();function _(e){return e[u[78]]((function(e){var t;return null===(t=e[u[885]])||void 0===t?void 0:t[u[388]](u[883])}))}function f(e){return _(e)[u[18]]>0&&(0,s[u[228]])()&&(0,s[u[888]])()[u[887]]>=s[u[889]]}t[u[470]]=d},78165:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[877]]=void 0;var r=n(10676),i=n(54838),o=u[569],a=[{initDataTypes:[u[86]],audioCapabilities:[{contentType:u[693]}],videoCapabilities:[{contentType:u[694]}]},{initDataTypes:[u[86]],videoCapabilities:void 0,audioCapabilities:void 0}],s=function(){function e(){this[u[890]]=document[u[761]](u[370]),this[u[891]]=(0,r[u[894]])(this[u[892]][u[535]](this),(function(e,t,n){return String(i[u[488]][u[893]](JSON[u[113]]({keySystem:e,audioCapabilities:t,videoCapabilities:n})))}))}return e[u[21]][u[878]]=function(e){var t;return u[110]==typeof window[u[895]]?this[u[896]](e):u[110]==typeof window[u[633]][u[632]]?this[u[897]](e)[u[101]]((function(e){return e[u[169]]})):u[110]==typeof window[u[568]]?this[u[898]](e):u[110]==typeof(null===(t=this[u[890]])||void 0===t?void 0:t[u[716]])?this[u[899]](e):Promise[u[150]](o)},e[u[21]][u[896]]=function(e){var t,n;return(null===(n=(t=window[u[895]])[u[424]])||void 0===n?void 0:n[u[19]](t,e))?Promise[u[153]](e):Promise[u[150]](o)},e[u[21]][u[897]]=function(e,t){return void 0===t&&(t=a),window[u[633]][u[632]](e,t)},e[u[21]][u[898]]=function(e){var t,n;return(null===(n=(t=window[u[568]])[u[424]])||void 0===n?void 0:n[u[19]](t,e))?Promise[u[153]](e):Promise[u[150]](o)},e[u[21]][u[899]]=function(e){var t;return(null===(t=this[u[890]])||void 0===t?void 0:t[u[721]](u[410],e))?Promise[u[153]](e):Promise[u[150]](o)},e[u[21]][u[882]]=function(e,t,n){return this[u[891]](e,t,n)},e[u[21]][u[892]]=function(e,t,n){if(u[110]==typeof window[u[633]][u[632]]){var r=[{initDataTypes:[u[86]],audioCapabilities:t,videoCapabilities:n},{initDataTypes:[u[86]],videoCapabilities:void 0,audioCapabilities:void 0}];return window[u[633]][u[632]](e,r)[u[101]]((function(e){var r,i,o=e[u[628]]();return{audioCapabilities:null!==(r=null==o?void 0:o[u[616]])&&void 0!==r?r:t,videoCapabilities:null!==(i=null==o?void 0:o[u[615]])&&void 0!==i?i:n}}))[u[99]]((function(){return{audioCapabilities:t,videoCapabilities:n}}))}return Promise[u[153]]({audioCapabilities:t,videoCapabilities:n})},e[u[21]][u[149]]=function(){this[u[890]]=null,this[u[891]][u[900]]()},e}();t[u[877]]=s},28820:function(e,t,n){var r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)},i=this&&this[u[17]]||function(e,t,n){if(n||2===arguments[u[18]])for(var r,i=0,o=t[u[18]];i<o;i++)!r&&i in t||(r||(r=Array[u[21]][u[20]][u[19]](t,0,i)),r[i]=t[i]);return e[u[22]](r||Array[u[21]][u[20]][u[19]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[901]]=t[u[178]]=void 0,t[u[251]]=v;var o=n(94304),a=n(87326),s=n(41503),c=n(69372),l=n(97011),d=n(19802),_=n(51981),f=n(19957),h=function(e,t){var n=function(e){return u[907]==typeof e},s=function(e){return u[908]==typeof e&&e!==1/0&&e!==-1/0&&!isNaN(e)},c=Object[u[271]](t)[u[78]]((function(n){return!!t[n]&&n in e}))[u[848]]((function(e,i){return e[i]=r(r({},t[i]),{licenseRequestRetryDelay:s(t[i][u[737]])?Math[u[909]](0,t[i][u[737]]):a[u[911]][u[910]],maxLicenseRequestRetries:s(t[i][u[320]])?Math[u[912]](Math[u[909]](0,t[i][u[320]])):a[u[911]][u[913]],withCredentials:n(t[i][u[316]])?t[i][u[316]]:a[u[911]][u[914]]}),e}),Object[u[915]](null)),l=function(e){var t=[o[u[204]][u[903]],o[u[204]][u[203]],o[u[204]][u[904]],o[u[204]][u[905]]],n=(Array[u[906]](e)?e[u[78]]((function(e){return t[u[388]](e)})):[])[u[848]]((function(e,t){return e[u[388]](t)||e[u[72]](t),e}),[]),r=[o[u[204]][u[203]],o[u[204]][u[903]],o[u[204]][u[905]],o[u[204]][u[904]]][u[78]]((function(e){return!n[u[388]](e)}));return i(i([],n,!0),r,!0)}(t[u[916]]);return r(r({},c),{preferredKeySystems:l})},p=function(e,t){var n,r,i,a=(0,f[u[917]])((function(e){return e[u[169]][u[124]]===o[u[204]][u[903]]}),(function(e){return!!t[u[92]]&&!!t[u[92]][u[767]]&&e[u[169]][u[124]]===o[u[204]][u[203]]&&e[u[109]][u[124]]===_[u[247]][u[246]]})),c=(0,f[u[917]])((function(e){return!!t[u[92]]&&e[u[169]][u[124]]===o[u[204]][u[203]]}),(function(e){return!!t[u[918]]&&e[u[169]][u[124]]===o[u[204]][u[904]]}),(function(e){return!!t[u[919]]&&e[u[169]][u[124]]===o[u[204]][u[905]]})),l=e[u[78]]((0,f[u[921]])((0,f[u[920]])(a),c));return(null===(i=null===(r=null===(n=t[u[92]])||void 0===n?void 0:n[u[784]])||void 0===r?void 0:r[u[625]])||void 0===i?void 0:i[u[388]](s[u[3]][u[12]][u[15]]))?l[u[78]]((function(e){return e[u[169]][u[173]]!==o[u[177]][o[u[204]][u[203]]][1]})):l},g=function(e,t,n){switch(e){case o[u[204]][u[903]]:throw new Error(u[930]);case o[u[204]][u[203]]:return new c[u[28]](n,t[u[92]]);case o[u[204]][u[904]]:return new l[u[788]](n,t[u[918]]);case o[u[204]][u[905]]:return new d[u[804]](n,t[u[919]]);default:throw new Error(u[931][u[22]](e))}};function v(e,n,r){return function(e,t){return function(e,t){var n=Object[u[271]](e)[u[458]]((function(t){return e[t][u[36]]((function(e){return{kind:t,uid:e}}))})),r=t[u[458]]((function(e){var t=e[u[878]],r=e[u[124]];return n[u[36]]((function(e){return t(e[u[173]])[u[101]]((function(){return{emeHandler:{kind:r},keySystem:e}}))[u[99]]((function(){return null}))}))}));return Promise[u[105]](r)[u[101]]((function(e){return e[u[78]]((function(e){return null!==e}))}))}(e,(0,_[u[902]])(t))}((0,t[u[901]])(e,n),r)[u[101]]((function(t){var r=h(e,n),i=p(t,r),a=function(e,t){var n=function(e,t){return t[u[922]]-e[u[922]]},r=function(e){return e[u[923]]},i=function(e,t){return function(n){var r=t(n),i=e[u[718]]((function(e){return e===r}));return{weight:-1!==i?e[u[18]]-i:i,wrapped:n}}},o=i([_[u[247]][u[924]],_[u[247]][u[925]],_[u[247]][u[926]],_[u[247]][u[246]],_[u[247]][u[927]],_[u[247]][u[928]],_[u[247]][u[248]]],(function(e){return e[u[109]][u[124]]})),a=i(e,(function(e){return e[u[169]][u[124]]}));return t[u[36]](a)[u[929]](n)[u[36]](r)[u[848]]((function(e,t){var n=e[e[u[18]]-1];return void 0!==n&&n[n[u[18]]-1][u[169]][u[124]]===t[u[169]][u[124]]?n[u[72]](t):e[u[72]]([t]),e}),[])[u[458]]((function(e){return e[u[36]](o)[u[929]](n)[u[36]](r)}))}(r[u[916]],i)[0];if(void 0===a){var s=function(e){return e[u[78]]((function(t,n){return-1===e[u[400]](t,n+1)}))}(t[u[36]]((function(e){return e[u[169]][u[124]]})))[u[672]](u[671]),c=Object[u[271]](n)[u[78]]((function(e){return Object[u[457]](o[u[204]])[u[388]](e)}))[u[672]](u[671]);return Promise[u[150]](u[935]+u[938][u[22]](c,u[937])[u[22]](s,u[936]))}return a}))}t[u[178]]=function(e,t,n){return v(e,t,n)[u[101]]((function(i){return function(e,t,n){return r(r({},e),{config:t,emeHandler:r(r({},e[u[109]]),{instance:(0,_[u[932]])(e[u[109]][u[124]],n)}),keySystem:r(r({},e[u[169]]),{instance:g(e[u[169]][u[124]],t,n)})})}(i,h(e,t),n)}))},t[u[901]]=function(e,t){for(var n,r,i={fairplay:[],playready:[],primetime:[],widevine:[]},a=function(e,a){if(!e||!Object[u[457]](o[u[204]])[u[162]]((function(t){return t===e})))return u[933];var s=e,c=null!==(r=null===(n=null==t?void 0:t[s])||void 0===n?void 0:n[u[934]])&&void 0!==r?r:[];i[s]=c;var l=a[u[78]]((function(e){return!c[u[388]](e)}));i[s]=i[s][u[22]](l)},s=0,c=Object[u[846]](e);s<c[u[18]];s++){var l=c[s];a(l[0],l[1])}return i}},51981:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[932]]=t[u[902]]=t[u[247]]=void 0;var r,i=n(13533),o=n(91520),a=n(16368),s=n(40474),c=n(14105),l=n(91284);!function(e){e[u[248]]=u[248],e[u[924]]=u[924],e[u[925]]=u[925],e[u[246]]=u[246],e[u[926]]=u[926],e[u[927]]=u[927],e[u[928]]=u[928]}(r||(t[u[247]]=r={}));var d=function(e){return(0,i[u[230]])()[u[236]]&&o[u[234]][u[233]](a[u[232]][u[237]])?f(e):Promise[u[150]]()},_=function(e){return function(t){return(0,i[u[230]])()[u[236]]&&o[u[234]][u[233]](a[u[232]][u[237]])?p(e)(t):Promise[u[150]]()}},f=function(e){return(0,c[u[570]])(e)},h=function(e){return(0,s[u[475]])(e)},p=function(e){return function(t){return(0,l[u[696]])(e[u[145]],t)}},g=function(e){return(0,i[u[230]])()[u[939]]&&o[u[234]][u[233]](a[u[232]][u[940]])?f(e):Promise[u[150]]()},v=function(e){return function(t){return new Promise((function(n,r){(0,i[u[230]])()[u[228]]&&o[u[234]][u[233]](a[u[232]][u[231]])&&n(p(e)(t)),r()}))}};t[u[902]]=function(e){return[{kind:r[u[246]],isSupported:f},{kind:r[u[924]],isSupported:d},{kind:r[u[925]],isSupported:_(e)},{kind:r[u[248]],isSupported:h},{kind:r[u[926]],isSupported:g},{kind:r[u[927]],isSupported:v(e)},{kind:r[u[928]],isSupported:p(e)}]},t[u[932]]=function(e,t){switch(e){case r[u[248]]:return new s[u[474]](t);case r[u[924]]:return new(o[u[234]][u[224]](a[u[232]][u[237]])[u[941]]())(t);case r[u[925]]:return new(o[u[234]][u[224]](a[u[232]][u[237]])[u[942]]())(t);case r[u[927]]:return new(o[u[234]][u[224]](a[u[232]][u[231]])[u[943]]())(t);case r[u[926]]:return new(o[u[234]][u[224]](a[u[232]][u[940]])[u[944]]())(t);case r[u[246]]:return new c[u[190]](t);case r[u[928]]:return new l[u[471]](t);default:throw new Error(u[945])}}},19957:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[946]]=t[u[947]]=t[u[920]]=t[u[917]]=t[u[921]]=void 0,t[u[921]]=function(){for(var e=[],t=0;t<arguments[u[18]];t++)e[t]=arguments[t];return function(){for(var t=[],n=0;n<arguments[u[18]];n++)t[n]=arguments[n];return e[u[848]]((function(e,n){return e&&n[u[96]](void 0,t)}),!0)}},t[u[917]]=function(){for(var e=[],t=0;t<arguments[u[18]];t++)e[t]=arguments[t];return function(){for(var t=[],n=0;n<arguments[u[18]];n++)t[n]=arguments[n];return e[u[848]]((function(e,n){return e||n[u[96]](void 0,t)}),!1)}},t[u[920]]=function(e){return function(){for(var t=[],n=0;n<arguments[u[18]];n++)t[n]=arguments[n];return!e[u[96]](void 0,t)}};var n=function(e,t){if(e[u[18]]!==t[u[18]])return!1;for(var n=0;n<e[u[18]];n++)if(e[n]!==t[n])return!1;return!0};t[u[947]]=function(e,t){var r,i=null,o=void 0!==t?t:n;return function(){for(var t=[],n=0;n<arguments[u[18]];n++)t[n]=arguments[n];return null!==i&&o(t,i)||(r=e[u[96]](void 0,t),i=t),r}},t[u[946]]=function(e,t){return Object[u[271]](e)[u[78]]((function(e){return!t[u[388]](e)}))[u[848]]((function(t,n){return t[n]=e[n],t}),Object[u[915]](null))}},48630:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[472]]=function(e){if(!e||e[u[58]]<i[u[50]][u[49]]+i[u[50]][u[51]])return[];var t=0,n=e instanceof Uint8Array?e[u[29]]:e,r=new DataView(n),o=[];do{var a=r[u[61]](t),c=n[u[20]](t,t+a);t+=a;var l=s(c);l&&o[u[72]](l)}while(t<e[u[58]]);return o};var r=n(68039),i=n(97630),o=n(81361),a=n(56093);function s(e){var t={},n=new DataView(e),s=i[u[50]][u[49]],c=o[u[26]][u[948]](n,s,i[u[50]][u[51]]);if(s+=i[u[50]][u[51]],u[66]!==c)return null;var l=n[u[63]](s);s+=i[u[50]][u[52]]+i[u[50]][u[53]];var d=o[u[26]][u[949]](n,s,i[u[50]][u[54]]);if(s+=i[u[50]][u[54]],t[u[950]]=d,t[u[951]]=u[952][u[22]](a[u[71]][u[70]](d)),r[u[79]][u[84]](t[u[951]])&&(t[u[158]]=r[u[79]][t[u[951]]]),l>0){var _=n[u[61]](s);s+=i[u[50]][u[56]],t[u[193]]=[];for(var f=0;f<_;f++)t[u[193]][u[72]](o[u[26]][u[949]](n,s,i[u[50]][u[57]])),s+=i[u[50]][u[57]]}return t[u[161]]=e,t[u[126]]=o[u[26]][u[30]](e,!0),t}},23103:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[881]]=function(e){if(!e||!Array[u[906]](e))return Promise[u[150]](u[953]);var t=[],n=e[u[18]]>0,r=Promise[u[153]](null);return e[u[42]]((function(e,i){r=r[u[101]]((function(){return e}))[u[101]]((function(e){t[i]=e,n=!1}))[u[99]]((function(){t[i]=void 0}))})),r[u[101]]((function(){return n?Promise[u[150]](t):t}))}},53256:function(e,t){var n,r=this&&this[u[94]]||function(){return r=Object[u[95]]||function(e){for(var t,n=1,r=arguments[u[18]];n<r;n++)for(var i in t=arguments[n])Object[u[21]][u[84]][u[19]](t,i)&&(e[i]=t[i]);return e},r[u[96]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[954]]=void 0,t[u[955]]=function(e){for(var t=c(e)?new Uint8Array(e)[u[29]]:e,n=[],r=new i(t);r[u[967]]();){var o=s(r);if(!o)break;var a=l(o,r);a&&n[u[72]](a)}return n},t[u[956]]=function(e,t){return e[u[78]]((function(e){return e[u[970]]===t}))},t[u[957]]=function(e,t){return e[u[425]]((function(e){return e[u[970]]===t}))},t[u[958]]=function(e){return void 0!==e&&e[u[969]]===n[u[961]]&&c(e[u[549]])},function(e){e[e[u[959]]=0]=u[959],e[e[u[960]]=1]=u[960],e[e[u[961]]=2]=u[961],e[e[u[962]]=3]=u[962],e[e[u[963]]=4]=u[963],e[e[u[964]]=5]=u[964]}(n||(t[u[954]]=n={}));var i=function(){function e(e){this[u[965]]=0,this[u[966]]=new Uint8Array(e)}return e[u[21]][u[967]]=function(){return this[u[965]]<this[u[966]][u[58]]},e[u[21]][u[968]]=function(){if(this[u[967]]()){var e=this[u[966]][this[u[965]]];return this[u[965]]++,e}},e[u[21]][u[649]]=function(){this[u[965]]=0},e}();function o(e){var t,n=[];do{if(void 0===(t=e[u[968]]()))break;n[u[72]](127&t)}while(128&t);return n[u[848]]((function(e,t,n){return e+(t<<7*n)}),0)}function a(e,t){for(var n=[],r=0;r<t;r++){var i=e[u[968]]();if(void 0===i)break;n[u[72]](i)}return n}function s(e){var t=o(e);if(void 0!==t)return{wireType:7&t,fieldNumber:t>>3}}function c(e){return Array[u[906]](e)&&e[u[853]]((function(e){return u[908]==typeof e}))}function l(e,t){switch(e[u[969]]){case n[u[959]]:return r(r({},e),{value:o(t)});case n[u[960]]:return r(r({},e),{value:a(t,8)});case n[u[961]]:var i=o(t);if(!i)return;return r(r({},e),{value:a(t,i)});case n[u[964]]:return r(r({},e),{value:a(t,4)});case n[u[962]]:case n[u[963]]:default:return}}},72987:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[816]]=function(e){var t=l(e,r[u[972]]);if(t){var n=(0,s[u[957]])(t,2);if((0,s[u[958]])(n)){var i=(0,s[u[955]])(n[u[549]]),a=(0,s[u[957]])(i,1);if((0,s[u[958]])(a)){var c=(0,s[u[955]])(a[u[549]]),_=(0,s[u[957]])(c,1),f=(0,s[u[957]])(c,3);if((0,s[u[958]])(f)&&(0,s[u[958]])(_)){var h=o[u[26]][u[973]](new Uint8Array(f[u[549]])[u[29]]),p=d((0,s[u[955]])(_[u[549]]));if(p)return{requestId:h,requestedKeyIds:p}}}}}},t[u[824]]=function(e){var t=l(e,r[u[974]]);if(t){var n=(0,s[u[957]])(t,1);if((0,s[u[958]])(n)){var i=(0,s[u[955]])(n[u[549]]),d=(0,s[u[957]])(i,1);if((0,s[u[958]])(d)){var _=o[u[26]][u[973]](new Uint8Array(d[u[549]])[u[29]]),f=function(e){return(0,s[u[956]])(e,3)[u[78]](s[u[958]])[u[36]]((function(e){return(0,s[u[955]])(e[u[549]])}))[u[78]](c)}(t);if(0!==f[u[18]]){var h=function(e){for(var t=[],n=0,r=e;n<r[u[18]];n++){var i=r[n],o=(0,s[u[957]])(i,1);if(!(0,s[u[958]])(o))return;t[u[72]](a[u[71]][u[93]](new Uint8Array(o[u[549]])[u[29]]))}return t}(f);if(h&&function(e){return e[u[853]]((function(e){return u[88]==typeof e}))}(h))return{requestId:_,returnedKeyIds:h}}}}}},t[u[826]]=function(e){var t=function(e){var t=new DataView(e[u[29]]);if(!(t[u[58]]<=8)){if(1===t[u[63]](8)&&t[u[58]]>27){var n=t[u[61]](27);return e[u[29]][u[20]](28+16*n)}return e[u[29]][u[20]](28)}}(new Uint8Array(e));if(!t)return[];var n=d((0,s[u[955]])(t));return null!=n?n:[]};var r,i,o=n(81361),a=n(56093),s=n(53256);function c(e){var t=(0,s[u[957]])(e,4);return(null==t?void 0:t[u[549]])===i[u[971]]}function l(e,t){var n=(0,s[u[955]])(e);if(function(e,t){return function(e){var t=(0,s[u[957]])(e,1);if(u[908]==typeof(null==t?void 0:t[u[549]]))return null==t?void 0:t[u[549]]}(e)===t}(n,t))return function(e){var t=(0,s[u[957]])(e,2);if((0,s[u[958]])(t))return(0,s[u[955]])(t[u[549]])}(n)}function d(e){var t=(0,s[u[956]])(e,2)[u[78]](s[u[958]])[u[78]]((function(e){return 16===e[u[549]][u[18]]}));if(0!==t[u[18]])return t[u[36]]((function(e){return a[u[71]][u[93]](new Uint8Array(e[u[549]])[u[29]])}))}!function(e){e[e[u[972]]=1]=u[972],e[e[u[974]]=2]=u[974]}(r||(r={})),function(e){e[e[u[971]]=2]=u[971]}(i||(i={}))}},function(e){return e(e[u[975]]=27916)}])},u[785]==typeof t&&"object"==u[785]?e[u[977]]=s():"function"==u[110]&&n.amdD[u[978]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[785]==typeof t?t[u[979]]=s():(a[u[980]]=a[u[980]]||{},a[u[980]][u[981]]=a[u[980]][u[981]]||{},a[u[980]][u[981]][u[979]]=s())},6710:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[238],{73543:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerFormat=void 0,function(e){e.MP4="mp4",e.TS="ts",e.WEBM="webm"}(n||(t.ContainerFormat=n={}))},29954:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DrmKidErrorHandler=void 0;var r=n(18665),i=n(76650),o=n(28819),a=n(8272),s=n(3464),u=n(68294),c=function(){function e(e,t){var n=this;this.context=e,this.onDownloadedRepresentationExcludedCallback=t,this.onDrmKidsWithErrorsChanged=function(e,t){if(void 0!==e&&void 0!==t){var r=e.filter((function(e){return!t.includes(e)}));n.maybeExcludeRepresentations(r)}};var i=e.sourceContext.sourceIdentifier;this.store=e.store,this.logger=e.logger,this.sourceStore=e.serviceManager.get(r.ServiceName.SourceStoreService,i),this.manifestService=e.serviceManager.get(r.ServiceName.ManifestService,i),this.unsubscribeFromStore=(0,s.subscribe)(this.sourceStore)(u.getDrmKeyIdsWithErrors,this.onDrmKidsWithErrorsChanged)}return e.prototype.maybeExcludeRepresentations=function(e){var t=function(e,t){return e.getAllRepresentations().filter((function(e){return e.associatedKid&&t.includes(e.associatedKid)})).map((function(e){return e._internalId}))}(this.manifestService,e),n=this.store.getState();if(0!==t.length&&void 0!==n){var r=function(e,t){return t.some((function(t){return e.some((function(e){return e.equals(t)}))}))}(function(e){return(0,o.getMetricsHistoryFromInstanceState)(e,"default",a.MetricType.RequestedRepresentations).map((function(e){return e.value}))}(n),t);this.logger.debug("Excluding representations due to DRM licenses not being available",t),this.manifestService.excludeRepresentations(t)&&r&&(this.store.dispatch((0,i.clearMetricsHistory)("default",a.MetricType.RequestedRepresentations)),this.onDownloadedRepresentationExcludedCallback())}},e.prototype.trackSegment=function(e){var t=e.getDrmKid();if(void 0!==t){var n=this.sourceStore.getState(),r=e.getRepresentationId(),i=n?(0,u.getDrmKeyIdsWithErrors)(n):[];(function(e,t,n){return e!==n.getRepresentationDrmKid(t)})(t,r,this.manifestService)&&(function(e,t,n){n.setRepresentationDrmKid(t,e)}(t,r,this.manifestService),this.maybeExcludeRepresentations(i))}},e.prototype.dispose=function(){this.unsubscribeFromStore()},e}();t.DrmKidErrorHandler=c},6476:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HeartbeatService=void 0;var r=n(18665),i=function(){function e(e,t){this.serviceManager=e,this.mediaPlayerController=t,this.heartbeatTimeoutId=-1}return Object.defineProperty(e.prototype,"streamTimeService",{get:function(){return this.serviceManager.get(r.ServiceName.StreamTimeService)},enumerable:!1,configurable:!0}),e.prototype.resetHeartbeatTimeout=function(){var e=this;clearTimeout(this.heartbeatTimeoutId),this.heartbeatTimeoutId=window.setTimeout((function(){return e.beat()}),250)},e.prototype.beat=function(){this.resetHeartbeatTimeout(),function(e,t){e.shouldSuspendHeartbeat()||function(e,t){var n=e.getActiveSegmentControllers(),r=n.length>0;r&&n.forEach((function(n){var r=t.getTimeForNextSegment(n.getMimeType());e.getNextSegment(n,r)})),e.areAllLoadersReady()&&(r?o(e):function(e){e.isLoadingLastPeriod()?(e.areMediaTypesFinalForPlayingPeriod()?e.maybeStop():e.isAVCompletelyLoaded()&&e.signalEndOfStream(),o(e)):e.switchLoadingPeriod()}(e))}(e,t)}(this.mediaPlayerController,this.streamTimeService)},Object.defineProperty(e.prototype,"started",{get:function(){return-1!==this.heartbeatTimeoutId},enumerable:!1,configurable:!0}),e.prototype.start=function(){this.beat()},e.prototype.stop=function(){clearTimeout(this.heartbeatTimeoutId),this.heartbeatTimeoutId=-1},e.prototype.dispose=function(){this.stop()},e}();function o(e){e.shouldClearSubtitleServiceBuffers()&&e.clearSubtitleServiceBuffers()}t.HeartbeatService=i},85586:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPlayer=t.LoadState=void 0,t.checkIfGapSkip=H;var i,o=n(92712),a=n(47275),s=n(18665),u=n(60997),c=n(62510),l=n(57620),d=n(15539),_=n(33696),f=n(76650),h=n(28819),p=n(8272),g=n(17990),v=n(58975),m=n(3464),y=n(42283),b=n(79814),S=n(331),E=n(46462),$=n(91520),T=n(16368),A=n(6476),C=n(3337),P=n(38353),I=n(43412),w=n(28171),M=n(36366),k=n(81660),O=n(38765),R=n(4053),D=n(71827),L=n(58211),x=n(59879),N=n(64330);!function(e){e.Unloaded="unloaded",e.Preparing="preparing",e.Loading="loading",e.Loaded="loaded"}(i||(t.LoadState=i={}));var U=Object.freeze({id:"auto",bitrate:null}),B=Object.freeze({id:"auto",bitrate:null,width:null,height:null}),F=function(){function e(e){var t=this;this.timeShiftJumpStart=-1,this.ignoreNextVideoError=!1,this.ended=!1,this.isDvrWindowExceeded=!1,this.controlPermitted=!0,this.lastPlayIssuer="api",this.lastPauseIssuer="api",this.onSegmentAvailable=function(e){null!=t.relativeCurrentTimeOffset||e.isInit()||(t.relativeCurrentTimeOffset=t.isLive()?t.calcRelativeCurrentTimeOffsetForLive(e):0)},this.onPlaying=function(){t.isLive()&&t.canResumeLatencyControl()&&t.resumeLatencyControl()},this.videoErrorHandler=function(e){t.ignoreNextVideoError?t.ignoreNextVideoError=!1:(t.logger.debug("Caught a video element error: ",e),t.unload(),t.eventHandler.fireError((0,l.createPlayerErrorFromMediaError)(e)))},this.controlLiveLatency=function(){var e=t.liveLatencyService.getStatus(t.liveLatencyMode,t.getCommonBufferLevel());t.liveLatencyMode!==e.mode&&(t.context.eventHandler.dispatchEvent(c.PlayerEvent.LatencyModeChanged,{from:t.liveLatencyMode,to:e.mode}),t.liveLatencyMode=e.mode),e.mode===c.LatencyMode.Suspended||t.playerStateService.seekingOrTimeshifting||(e.requiredAction===t.lowLatencyModule.LiveLatencyControlAction.Seek?t.goToLiveEdge():e.requiredAction===t.lowLatencyModule.LiveLatencyControlAction.PlaybackRate&&t.setPlaybackSpeed(1,e.actionParam,!1))},this.onPlaybackStarted=function(){t.playerStateService.getIsRendererStalling()?(t.logger.debug("Renderer is currently stalled. Waiting for unstalling before ending stall."),t.clearStallEndedSubscription(),t.unsubscribeFromStallEnded=(0,m.subscribe)(t.context.store)((function(e){return(0,v.getPlayerState)(e)}),(function(){return t.endStall()}),(function(e){return!(0,v.getIsRendererStalled)(e)}))):t.endStall()},this.onVideoElementPlay=function(){t.ended&&(t.logger.debug("Detected replay attempt from video element"),t.context.internalPlayer.play()),t.playerStateService.transitionToPlayState(!0,t.lastPlayIssuer)},this.onVideoElementPaused=function(){t.logger.insane("video element signaled pause in state: ".concat(t.playerStateService.playbackState)),t.playerController.maybeTransitionToPausedState(t.lastPauseIssuer)},this.mapLangObjectToAudioTrack=function(e){return{id:e.id,lang:e.lang,label:e.label,role:e.role,getQualities:function(){return w.MediaPlayerManifestApiFactory.getAudioQualities(t.manifestService,t.getCurrentPlayingPeriodId(),e.id)}}},this.onVideoElementSeeking=function(e){var n=H(t.context,e.time);t.settings.GLOBAL_DISABLE_SEEKING&&!n&&Math.abs(e.time-t.lastCurrentTimeUpdate)>.05&&(t.logger.debug("Seeking now allowed, seeking back to expected time"),t.context.videoElement.currentTime=t.lastCurrentTimeUpdate)},this.onVideoTimeupdate=function(e){if(!t.ended){var n=0===t.renderer.getCurrentTime(!0),r=t.isPlaying(),i=t.playerStateService.isSeeking(),o=t.isStalled();!r||i||o||n?t.logger.debug("Skipping timeupdate",{isPlaying:r,isSeeking:i,isStalled:o,timeUpdateWithoutBuffer:n,time:e.time}):t.handleTimeChanged(t.getCurrentTime())}},this.onContentPlaybackFinished=function(){t.ended=!0},this.onDvrWindowExceeded=function(){t.context.logger.debug("DVR window exceeded"),t.playerStateService.isPlaying()?t.handleDvrWindowExceeded():t.isDvrWindowExceeded=!0},this.onError=function(e){3001===e.code&&t.unload()},this.fireAudioTracksAdded=function(){for(var e=t.getCurrentTime(),n=0,r=t.getAvailableAudio();n<r.length;n++){var i=r[n];t.context.eventHandler.dispatchEvent(c.PlayerEvent.AudioAdded,{track:i,time:e})}},this.fireAudioTracksRemoved=function(e){for(var n=0,r=t.getAvailableAudio();n<r.length;n++){var i=r[n];t.context.eventHandler.dispatchEvent(c.PlayerEvent.AudioRemoved,{track:i,time:e})}},this.onPeriodSwitch=function(){t.fireAudioTracksRemoved(t.getCurrentTime())},this.onPlaybackSpeedChanged=function(e){t.isLive()&&(t.canResumeLatencyControl()?t.resumeLatencyControl():t.suspendLatencyControl(!1))},this.context=e,this.logger=e.logger,this.config=e.config,this.settings=e.settings,this.renderer=e.renderer,this.eventHandler=e.eventHandler,this.loadState=i.Unloaded,this.context.store.dispatch((0,f.initializeMetricsForMimeType)("default",this.context.settings)),this.playerController=new M.MediaPlayerController(e,this.onSegmentAvailable),$.ModuleManager.has(T.ModuleName.LowLatency)&&(this.lowLatencyModule=$.ModuleManager.get(T.ModuleName.LowLatency)),this.eventHandler.on(c.PlayerEvent.PeriodSwitch,this.onPeriodSwitch),this.eventHandler.on(c.PlayerEvent.PeriodSwitched,this.fireAudioTracksAdded),this.eventHandler.on(c.PlayerEvent.PlaybackSpeedChanged,this.onPlaybackSpeedChanged),this.unsubscribeStorePlayingListener=(0,m.subscribe)(this.context.store)((function(e){return(0,v.getIsPlaying)((0,v.getPlayerState)(e))}),this.onPlaying,(function(e,t){return e&&!t}))}return e.prototype.createServices=function(e,t){var n=t.serviceManager;this.createSynchronizedTimeService(t),this.createManifestService(t),this.createManifestLoadingService(t,e),this.createManifestUpdateSchedulingService(t);var r=$.ModuleManager.get(T.ModuleName.ABR).AdaptationService;n.set(s.ServiceName.AdaptationService,new r(t)),n.set(s.ServiceName.TimedMetadataService,new O.TimedMetadataService(t)),n.set(s.ServiceName.SegmentService,new k.SegmentService(t));var i=new x.StreamTimeService(n,t.sourceContext.sourceIdentifier);n.set(s.ServiceName.StreamTimeService,i),n.set(s.ServiceName.HeartbeatService,new A.HeartbeatService(n,this.playerController),t.sourceContext.sourceIdentifier),this.createSubtitleService(t),this.createLowLatencyService(t)},e.prototype.createSynchronizedTimeService=function(e){var t=e.serviceManager,n=e.sourceContext.sourceIdentifier;if(!t.has(s.ServiceName.SynchronizedTimeService,n)){var r=new N.SynchronizedTimeService(e,e.sourceContext);t.set(s.ServiceName.SynchronizedTimeService,r,n)}},e.prototype.createManifestService=function(e){var t=e.serviceManager,n=e.sourceContext.sourceIdentifier;t.has(s.ServiceName.ManifestService,n)?(this.manifestService=t.get(s.ServiceName.ManifestService,n),this.manifestService.restore()):(this.manifestService=new P.ManifestService(e,e.sourceContext),t.set(s.ServiceName.ManifestService,this.manifestService,n))},e.prototype.createManifestLoadingService=function(e,t){var n=e.serviceManager,r=e.sourceContext.sourceIdentifier;if(!n.has(s.ServiceName.ManifestLoadingService,r)){var i=(0,C.createManifestLoadingService)(t,e,e.sourceContext);n.set(s.ServiceName.ManifestLoadingService,i,r)}},e.prototype.createManifestUpdateSchedulingService=function(e){var t=e.serviceManager,n=e.sourceContext.sourceIdentifier;if(t.has(s.ServiceName.ManifestUpdateSchedulingService,n))t.get(s.ServiceName.ManifestUpdateSchedulingService,n).restore();else{var r=new I.ManifestUpdateScheduler(e,e.sourceContext);t.set(s.ServiceName.ManifestUpdateSchedulingService,r,n)}},e.prototype.createSubtitleService=function(e){var t=e.serviceManager;if($.ModuleManager.has(T.ModuleName.Subtitles)){var n=$.ModuleManager.get(T.ModuleName.Subtitles).SubtitleService;t.set(s.ServiceName.SubtitleService,new n(e)),this.subtitleService=t.get(s.ServiceName.SubtitleService)}},e.prototype.createLowLatencyService=function(e){var t,n=e.serviceManager;null===(t=this.liveLatencyService)||void 0===t||t.dispose(),$.ModuleManager.has(T.ModuleName.LowLatency)&&(n.set(s.ServiceName.LiveLatencyService,new this.lowLatencyModule.LiveLatencyService(e)),this.liveLatencyService=n.get(s.ServiceName.LiveLatencyService))},e.prototype.disposeServices=function(e){var t,n=this.context.serviceManager;[s.ServiceName.LiveLatencyService,s.ServiceName.SubtitleService,s.ServiceName.TimedMetadataService].forEach((function(e){return(0,a.disposeService)(n,e)}));var r=null===(t=this.context.sourceContext)||void 0===t?void 0:t.sourceIdentifier;r&&((0,a.disposeService)(n,s.ServiceName.HeartbeatService,r),e!==d.ADVERTISING_ISSUER_NAME?[s.ServiceName.ManifestService,s.ServiceName.ManifestLoadingService,s.ServiceName.ManifestUpdateSchedulingService,s.ServiceName.SynchronizedTimeService].forEach((function(e){return(0,a.disposeService)(n,e,r)})):(n.get(s.ServiceName.ManifestService,r).suspend(),n.get(s.ServiceName.ManifestUpdateSchedulingService,r).suspend()))},e.prototype.calcRelativeCurrentTimeOffsetForLive=function(e){var t=null!=e.getSegmentInfo().wallClockTime?e.getPlaybackTime()-(0,S.toSeconds)(e.getSegmentInfo().wallClockTime):0;return this.playerController.getSeekableRange().start+t},e.prototype.play=function(e){return this.lastPlayIssuer=e,this.controlPermitted?this.currentSource?this.playerStateService.isPlaying()?(this.logger.debug("Ignoring play call as play was already triggered or we're already playing"),Promise.resolve()):(this.ended=!1,this.playerStateService.isPaused()&&this.isLive()&&(this.isDvrWindowExceeded||this.getMaxTimeShift()>=0)&&(this.context.logger.debug("Handling DVR window excursion - going to live edge"),this.goToLiveEdge(),this.isDvrWindowExceeded=!1),this.playerController.start(),this.playerStateService.transitionToPendingPlayState(!1,e),this.renderer.play()):Promise.resolve():Promise.reject("Play control not permitted")},e.prototype.goToLiveEdge=function(){var e=this;this.settings.ENABLE_SEEK_FOR_LIVE?this.playerStateService.isSeeking()||this.seek(this.getSeekableRange().end,d.INTERNAL_ISSUER_NAME):this.playerController.timeShift(0,(function(){return e.onTimeShifted()})).catch((function(){return e.onTimeShiftFailed()}))},e.prototype.canResumeLatencyControl=function(){return Boolean(this.liveLatencyService)&&!this.isPaused()&&0===this.getTimeShift()&&1===this.getPlaybackSpeed()&&!this.playerStateService.isTimeShifting()&&!this.playerStateService.isSeeking()},e.prototype.resumeLatencyControl=function(){this.liveLatencyService.resumeControl()},e.prototype.suspendLatencyControl=function(e){void 0===e&&(e=!0);var t=this.liveLatencyMode===c.LatencyMode.Suspended;this.liveLatencyService&&!t&&(this.liveLatencyService.suspendControl(),e&&this.setPlaybackSpeed(1,1,!1))},e.prototype.getCommonBufferLevel=function(){var e=[this.getBufferLevel(_.BufferType.ForwardDuration,_.MediaType.Audio),this.getBufferLevel(_.BufferType.ForwardDuration,_.MediaType.Video)].map((function(e){return e.level})).filter((function(e){return null!==e}));return 0===e.length?0:Math.min.apply(Math,e)},e.prototype.endStall=function(){this.clearStallEndedSubscription(),this.playerStateService.stallExit(),this.playerStateService.transitionToPlayingState(this.lastPlayIssuer),this.ended=!1},e.prototype.preload=function(){this.loadState!==i.Unloaded&&this.playerController&&this.playerController.start()},e.prototype.pause=function(e){this.controlPermitted&&(this.logger.insane("Pause was called via the API"),this.playerStateService.isInitial()||(this.lastPauseIssuer=e,this.isLive()&&this.liveLatencyService&&this.liveLatencyService.isConfigured()&&(this.suspendLatencyControl(),this.controlLiveLatency()),this.playerStateService.isPaused()||this.playerStateService.isStopped()||this.renderer.pause(),this.playerStateService.transitionToPausedState(this.renderer.isPaused(),e)))},e.prototype.mute=function(e){this.isMuted()||(this.renderer.mute(),this.context.eventHandler.dispatchEvent(c.PlayerEvent.Muted,{issuer:e||"api"}))},e.prototype.unmute=function(e){this.isMuted()&&(this.renderer.unmute(),this.context.eventHandler.dispatchEvent(c.PlayerEvent.Unmuted,{issuer:e||"api"}))},e.prototype.maybeAdjustSeekTargetToDiscontinuityStart=function(e){var t,n,r=null===(t=this.getSourceStoreService())||void 0===t?void 0:t.getState();if(!r||!this.manifestService.isHlsManifest())return e;for(var i=$.ModuleManager.get(T.ModuleName.HLS).selectors,o=i.getHlsState,a=null!==(n=(0,i.getDiscoSequenceTimings)(o(r)))&&void 0!==n?n:{},s=Object.values(a),u=0;u<s.length-1;u++){var c=s[u].endTime,l=s[u+1].startTime;if(e>=c&&e<l)return this.logger.debug("Adjusting seek target to discontinuity start: ".concat(e," -> ").concat(l)),l}return e},e.prototype.seek=function(e,t){var n,r,i;void 0===t&&(t="");var o=this.config&&this.config.hasOwnProperty("playback")?this.config.playback:{},a=!o.hasOwnProperty("seeking")||o.seeking,s=this.context.store.getState(),u=!!s&&null!==(i=null===(r=null===(n=(0,v.getPlayerState)(s))||void 0===n?void 0:n.seekingProcess)||void 0===r?void 0:r.isInitial)&&void 0!==i&&i,c=![d.STARTUP_ISSUER_NAME,d.INTERNAL_ISSUER_NAME].includes(t);return!(!(u||!this.settings.GLOBAL_DISABLE_SEEKING&&a)||!this.controlPermitted||(e=this.maybeAdjustSeekTargetToDiscontinuityStart(e),this.ended=!1,this.cancelPotentialOngoingTimeShift(),this.playerStateService.transitionToSeekingState(e,t,c),this.context.store.dispatch((0,g.updateSeekingProcess)({issuer:t,targetTime:e,isInitial:u})),0))},e.prototype.cancelPotentialOngoingTimeShift=function(){this.playerStateService.isTimeShifting()&&(this.playerController.getTimeShiftHandler().cancel(),this.playerStateService.transitionToTimeShiftedState(!1))},e.prototype.handleTimeChanged=function(e){e!==this.lastCurrentTimeUpdate&&(this.context.eventHandler.dispatchEvent(c.PlayerEvent.TimeChanged,{time:e}),this.lastCurrentTimeUpdate=e,this.isLive()&&this.liveLatencyService&&this.liveLatencyService.isConfigured()&&this.controlLiveLatency())},e.prototype.setVolume=function(e,t){var n=this.renderer.getVolume();this.renderer.setVolume(e),n!==e&&this.context.eventHandler.dispatchEvent(c.PlayerEvent.VolumeChanged,{targetVolume:e,sourceVolume:n,issuer:t||"api"})},e.prototype.setAudioQuality=function(e){var t,n=this.getAvailableAudioQualities(),r=this.getAudioQuality();(t="auto"===e?U:n.find((function(t){return t.id===e})))&&r.id!==t.id&&(this.setFixedRepresentation(_.MediaType.Audio,e),this.context.eventHandler.dispatchEvent(c.PlayerEvent.AudioQualityChanged,{sourceQuality:r,sourceQualityId:r.id,targetQuality:t,targetQualityId:t.id}))},e.prototype.getAudioQuality=function(){var e=this.getInitializedMimeTypeFromMediaType(_.MediaType.Audio),t=this.context.serviceManager.get(s.ServiceName.AdaptationService),n=t.isAuto(e),r=t.getCurrentRepresentationId(e);return n||null===r?U:this.getAvailableAudioQualities().find((function(e){return e.id===r.representationId}))},e.prototype.setFixedRepresentation=function(e,t){var n=this.getInitializedMimeTypeFromMediaType(e);this.context.serviceManager.get(s.ServiceName.AdaptationService).setFixedRepresentation(n,t)},e.prototype.setVideoQuality=function(e){var t,n=this.getAvailableVideoQualities(),r=this.getVideoQuality();(t="auto"===e?B:n.find((function(t){return t.id===e})))&&r.id!==t.id&&(this.context.eventHandler.dispatchEvent(c.PlayerEvent.VideoQualityChanged,{sourceQuality:r,sourceQualityId:r.id,targetQuality:t,targetQualityId:t.id}),this.setFixedRepresentation(_.MediaType.Video,e))},e.prototype.getVideoQuality=function(){var e=this.getInitializedMimeTypeFromMediaType(_.MediaType.Video),t=this.context.serviceManager.get(s.ServiceName.AdaptationService),n=t.isAuto(e),r=t.getCurrentRepresentationId(e);return n||null===r?B:this.getAvailableVideoQualities().find((function(e){return e.id===r.representationId}))},e.prototype.processSourceContext=function(){var e=this.context.sourceContext;e.source&&e.source.options&&e.source.options.headers&&(this.settings.HTTP_HEADERS=e.source.options.headers)},e.prototype.addReducersToSourceStore=function(e){var t=this.getSourceStoreService();if(void 0!==t){if(e.type===_.StreamType.Hls&&$.ModuleManager.has(T.ModuleName.HLS)&&!t.hasReducer("hls")){var n=$.ModuleManager.get(T.ModuleName.HLS);t.addReducer("hls",n.HlsReducer)}Object.keys(D.engineBitmovinSourceReducers).forEach((function(e){var n=D.engineBitmovinSourceReducers[e];void 0!==n&&t.addReducer(e,n)}))}},e.prototype.addRendererEventListeners=function(){this.renderer.on(E.MediaElementEvent.error,this.videoErrorHandler),this.renderer.on(E.MediaElementEvent.timeupdate,this.onVideoTimeupdate),this.renderer.on(E.MediaElementEvent.seeking,this.onVideoElementSeeking),this.renderer.on(E.MediaElementEvent.playing,this.onPlaybackStarted),this.renderer.on(E.MediaElementEvent.play,this.onVideoElementPlay),this.renderer.on(E.MediaElementEvent.pause,this.onVideoElementPaused)},e.prototype.logBitrateBoundarySettings=function(){this.logger.debug("setting bitrate boundaries for audio to "+this.settings.MIN_SELECTABLE_AUDIO_BITRATE+" - "+this.settings.MAX_SELECTABLE_AUDIO_BITRATE),this.logger.debug("setting bitrate boundaries for video to "+this.settings.MIN_SELECTABLE_VIDEO_BITRATE+" - "+this.settings.MAX_SELECTABLE_VIDEO_BITRATE)},e.prototype.loadInternal=function(e,t){var n,r=this;return this.loadState===i.Unloaded?Promise.reject("Unload during load"):(this.createServices(e,this.context),this.context.sourceContext.source=e.config,(null===(n=this.context.videoElement)||void 0===n?void 0:n.eventHandler)&&this.context.videoElement.eventHandler.reset(),this.currentSource=e,this.ended=!1,this.isDvrWindowExceeded=!1,this.context.store.dispatch((0,g.updateSeekingProcess)({isInitial:!0})),this.logBitrateBoundarySettings(),this.liveLatencyService&&(this.liveLatencyMode=c.LatencyMode.Suspended,this.liveLatencyService.reset()),this.addRendererEventListeners(),this.settings.GLOBAL_DISABLE_SEEKING=t||!1,this.loadState=i.Loading,this.playerController.init(e).then((function(){r.loadState=i.Loaded})))},e.prototype.prepareLoad=function(){var e=this.context.serviceManager.get(s.ServiceName.PlayerStateService);e&&(this.playerStateService=e);var t=Promise.resolve();return this.loadState===i.Loading&&(t=this.unload()),this.playerStateService.reset(),this.loadState=i.Preparing,t},e.prototype.load=function(e,t){var n=this;return"dash"!==e.type&&"hls"!==e.type&&"smooth"!==e.type?Promise.reject("invalid source"):(this.addReducersToSourceStore(e),this.processSourceContext(),this.unsubscribeFromStoreStoppedListener=(0,m.subscribe)(this.context.store)((function(e){return(0,v.getIsStopped)((0,v.getPlayerState)(e))}),this.onContentPlaybackFinished,(function(e){return!0===e})),this.eventHandler.on(c.PlayerEvent.DVRWindowExceeded,this.onDvrWindowExceeded,!0),this.eventHandler.on(c.PlayerEvent.Error,this.onError,!0),this.renderer.ready().then((function(){return n.loadInternal(e,t)})))},e.prototype.getSourceStoreService=function(){return this.context.serviceManager.get(s.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.unload=function(e){var t=this;if(this.clearStallEndedSubscription(),this.loadState===i.Unloaded)return Promise.resolve();var n=this.loadState===i.Loaded;this.ended=!1,this.loadState=i.Unloaded,this.ignoreNextVideoError=!0,this.relativeCurrentTimeOffset=null,this.renderer.off(E.MediaElementEvent.error,this.videoErrorHandler),this.renderer.off(E.MediaElementEvent.timeupdate,this.onVideoTimeupdate),this.renderer.off(E.MediaElementEvent.seeking,this.onVideoElementSeeking),this.renderer.off(E.MediaElementEvent.playing,this.onPlaybackStarted),this.renderer.off(E.MediaElementEvent.play,this.onVideoElementPlay),this.renderer.off(E.MediaElementEvent.pause,this.onVideoElementPaused),this.unsubscribeFromStoreStoppedListener(),this.eventHandler.off(c.PlayerEvent.DVRWindowExceeded,this.onDvrWindowExceeded),this.eventHandler.off(c.PlayerEvent.Error,this.onError),this.playerStateService.isPlaying()&&this.renderer.pause(),this.playerStateService.reset();var r=this.context.sourceContext.sourceIdentifier;return this.context.serviceManager.has(s.ServiceName.SynchronizedTimeService,r)&&!j(e)&&this.context.serviceManager.get(s.ServiceName.SynchronizedTimeService,r).reset(),(this.playerController?this.playerController.terminate():Promise.resolve()).then((function(){t.currentSource=void 0,t.disposeServices(e),j(e)||t.getSourceStoreService().dispatch((0,R.clearActiveTracksAction)()),n&&t.eventHandler.dispatchEvent(c.PlayerEvent.SourceUnloaded)}))},e.prototype.isReady=function(){return this.playerController.isInitialized()},e.prototype.isPlaying=function(){return this.playerStateService.isPlaying()},e.prototype.isPaused=function(){return this.playerStateService.isPaused()},e.prototype.hasEnded=function(){return this.ended},e.prototype.isMuted=function(){return this.renderer.isMuted()},e.prototype.isStalled=function(){return this.playerStateService.isStalled},e.prototype.isLive=function(){return this.manifestService.isLive()},e.prototype.getVolume=function(){return this.renderer.getVolume()},e.prototype.getCurrentTime=function(e){return void 0===e&&(e=_.TimeMode.AbsoluteTime),!this.isLive()&&this.hasEnded()?this.getDuration():e===_.TimeMode.RelativeTime?Math.max(0,this.playerController.getCurrentTime()-this.relativeCurrentTimeOffset):this.playerController.getCurrentTime()},e.prototype.getDuration=function(){return this.manifestService.getDuration()},e.prototype.getAvailableVideoQualities=function(){return this.isReady()?this.manifestService.getVideoRepresentations(this.getCurrentPlayingPeriodId()):[]},e.prototype.getAvailableSegments=function(){return this.isReady()?this.playerController.getAvailableSegments():{}},e.prototype.getAvailableAudioQualities=function(){var e=this.getAudio();if(!this.isReady()||!e)return[];var t=this.manifestService.getAudioRepresentations(this.getCurrentPlayingPeriodId());return t[e.id]?t[e.id]:[]},e.prototype.getDroppedVideoFrames=function(){return this.renderer.getDroppedVideoFrames()},e.prototype.setTargetBufferLevel=function(e,t,n){this.context.bufferSettings.setTargetLevel(e,t,n)},e.prototype.getBufferLevel=function(e,t){var n={level:null,targetLevel:this.context.bufferSettings.getTargetLevel(e,t),type:e,media:t},r=this.renderer.getCurrentTime(),i=(0,h.getMetricsState)(this.context.store.getState()),o=Object.keys(i).find((function(e){return b.MimeTypeHelper.isVideo(e)})),a=Object.keys(i).find((function(e){return b.MimeTypeHelper.isAudio(e)}));return t===_.MediaType.Video&&o?n.level=this.playerController.getBufferLevel(o,r,e):t===_.MediaType.Audio&&a&&(n.level=this.playerController.getBufferLevel(a,r,e)),n},e.prototype.getTotalStalledTime=function(){var e=(0,h.getMetricsState)(this.context.store.getState());for(var t in e)if(e[t]){var n=(0,h.getMetricsLastEntry)(e,t,p.MetricType.StalledSeconds);if(n&&n.value&&!isNaN(n.value))return Math.round(100*n.value)/100}return 0},e.prototype.getInitializedMimeTypeFromMediaType=function(e){var t=(0,h.getMetricsState)(this.context.store.getState());return Object.keys(t).find((function(t){return t.includes(e)}))},e.prototype.getDownloadedData=function(e){var t=this.getInitializedMimeTypeFromMediaType(e),n=r({},this.getCurrentAdaptationSet(t)),i=r({},this.getCurrentRepresentation(t));return i.id&&(i.id=""+i.id),void 0===i.width&&void 0!==n.width&&(i.width=n.width),i.width=parseInt(""+i.width),void 0===i.height&&void 0!==n.height&&(i.height=n.height),i.height=parseInt(""+i.height),void 0===i.bitrate&&void 0!==n.bitrate&&(i.bitrate=n.bitrate),i.bitrate=parseInt(""+i.bitrate),i.isAuto=this.context.serviceManager.get(s.ServiceName.AdaptationService).isAuto(t),i},e.prototype.getCurrentRepresentation=function(e){if(this.playerController.hasStarted()){var t=(0,h.getMetricsState)(this.context.store.getState());if(t[e])return(0,h.getMetricsLastEntry)(t,e,p.MetricType.DownloadedRepresentation).value}return{}},e.prototype.getCurrentAdaptationSet=function(e){if(this.playerController.hasStarted()){var t=(0,h.getMetricsState)(this.context.store.getState());if(t[e])return(0,h.getMetricsLastEntry)(t,e,p.MetricType.DownloadedAdaptationSet).value}return{}},e.prototype.getDownloadedVideoData=function(){var e=this.getDownloadedData(_.MediaType.Video),t=!0;return e.hasOwnProperty("isAuto")&&(t=e.isAuto),e&&(e.bitrate||e.id)?{id:e.id,bitrate:e.bitrate,height:e.height,width:e.width,isAuto:t}:{id:"",bitrate:0,height:0,width:0,isAuto:!0}},e.prototype.getDownloadedAudioData=function(){var e=this.getDownloadedData(_.MediaType.Audio),t=!0;return e.hasOwnProperty("isAuto")&&(t=e.isAuto),e&&(e.bitrate||e.id)?{id:e.id,bitrate:e.bitrate,isAuto:t}:{id:"",bitrate:0,isAuto:!0}},e.prototype.getPlaybackVideoData=function(){var e=this.playerController.getPlaybackRepresentation(_.MediaType.Video)||{},t=isNaN(e._height)?0:Number(e._height),n=isNaN(e._width)?0:Number(e._width),r={id:e._id+"",bitrate:Number(e._bandwidth)||0,frameRate:e._frameRate,height:t,width:n,uid:e.uid};return e._codecs&&(r.codec=y.CodecStringHelper.getExtractedCodecStrings(e._codecs).video),r},e.prototype.getPlaybackAudioData=function(){var e=this.playerController.getPlaybackRepresentation(_.MediaType.Audio)||{},t={id:e._id+"",bitrate:Number(e._bandwidth)};return e._codecs&&(t.codec=y.CodecStringHelper.getExtractedCodecStrings(e._codecs).audio),t},e.prototype.setQueryParameters=function(e){this.settings.QUERY_PARAMETERS=e},e.prototype.clearQueryParameters=function(){this.settings.QUERY_PARAMETERS=void 0},e.prototype.restoreAfterTimeShift=function(e){this.playerStateService&&(this.playerStateService.isTimeShifting()&&(this.playerStateService.transitionToTimeShiftedState(e),this.timeShiftJumpStart=-1),this.isLive()&&(this.canResumeLatencyControl()?this.resumeLatencyControl():this.suspendLatencyControl()))},e.prototype.onTimeShiftFailed=function(){this.restoreAfterTimeShift(!1)},e.prototype.onTimeShifted=function(e){this.restoreAfterTimeShift(e!==d.STARTUP_ISSUER_NAME)},e.prototype.getMaxTimeShift=function(){if(this.isLive()&&this.isReady())return this.config.playback&&!1===this.config.playback.timeShift?0:this.playerController.getMaxTimeShift()},e.prototype.timeShift=function(e,t){var n=this;if(this.isReady()&&this.getMaxTimeShift()<=0){-1===this.timeShiftJumpStart&&(this.timeShiftJumpStart=this.getCurrentTime(),0===this.timeShiftJumpStart&&(this.timeShiftJumpStart=this.playerController.getTimeShiftLiveEdge()));var r=this.playerController.getPlaybackTimeForTimeShiftOffset(e);this.playerStateService.transitionToTimeShiftingState(this.timeShiftJumpStart,r,t||"api",t!==d.STARTUP_ISSUER_NAME),this.playerController.timeShift(e,(function(){return n.onTimeShifted(t)})).catch((function(){return n.onTimeShiftFailed()}))}},e.prototype.getTimeShift=function(){return this.isReady()?this.playerController.getTimeShift():0},e.prototype.addSubtitle=function(e){var t=this;return this.isReady()&&this.subtitleService?Promise.resolve(void 0).then((function(){t.subtitleService.addExternalSubtitle(e)})):Promise.reject(void 0)},e.prototype.removeSubtitle=function(e){this.isReady()&&this.subtitleService&&this.subtitleService.removeSubtitle(e)},e.prototype.enableSubtitle=function(e){return this.isReady()&&this.subtitleService?this.subtitleService.enableSubtitle(e):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){return this.isReady()&&this.subtitleService?this.subtitleService.disableSubtitle(e):Promise.resolve(!1)},e.prototype.listSubtitles=function(){return this.isReady()&&this.subtitleService&&this.playerController?this.subtitleService.getAvailableSubtitles(this.getCurrentPlayingPeriodId()):[]},e.prototype.setAudio=function(e){var t=this;if(this.isReady()&&this.playerController&&"string"==typeof e){var n=this.getAudio();if(n&&n.id===String(e))return;this.playerController.setAudio(e).then((function(){var e=t.getAudio();e&&n&&e.id!==n.id&&t.context.eventHandler.dispatchEvent(c.PlayerEvent.AudioChanged,{targetAudio:e,sourceAudio:n,time:t.renderer.getCurrentTime()})})).catch((function(e){t.logger.debug("setAudio failed for lang ",e)}))}},e.prototype.getAvailableAudio=function(){return this.isReady()&&this.playerController?this.playerController.getAvailableAudio(this.getCurrentPlayingPeriodId()).map(this.mapLangObjectToAudioTrack):[]},e.prototype.getAudio=function(){if(this.isReady()&&this.playerController){var e=this.playerController.getAudio();if(e)return this.mapLangObjectToAudioTrack(e)}return null},e.prototype.getManifest=function(){var e=this.manifestService.getManifest();if(e)return e._isHls?this.getHlsManifest():e.originalDashManifest},e.prototype.getHlsManifest=function(){return $.ModuleManager.get(T.ModuleName.HLS).selectors.getHlsState(this.getSourceStoreService().getState()).masterPlaylist.string},e.prototype.getBufferedRanges=function(){var e=this.playerController.getBufferedRanges(!0);return o.BufferRangeHelper.getCommonBufferedRanges(e).map((function(e){return{start:e.getStart(),end:e.getEnd()}}))},e.prototype.getSnapshot=function(e,t){if(this.isPlaying()||this.isPaused())return this.renderer.getSnapshotData(e,t)},e.prototype.setPlaybackSpeed=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!0),this.renderer.setPlaybackSpeed(e*t),this.playerStateService.playbackSpeed!==this.renderer.getPlaybackSpeed()&&this.playerStateService.setPlaybackSpeed(e,t,n)},e.prototype.getPlaybackSpeed=function(){return this.playerStateService.playbackSpeed},e.prototype.permitControl=function(e){this.controlPermitted=e},e.prototype.getSeekableRange=function(){return this.isLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE||!this.playerController?{start:-1,end:-1}:this.playerController.getSeekableRange()},e.prototype.createManifestApi=function(){return w.MediaPlayerManifestApiFactory.create(this,this.context)},e.prototype.handleDvrWindowExceeded=function(){var e=this.playerController.getTimeShiftHandler(),t=this.getMaxTimeShift()+e.getMinSegmentDuration(),n=this.playerController.getPlaybackTimeForTimeShiftOffset(t),r=e.isTimeInBufferedRange(n);this.context.logger.debug("Handling DVRWindowExceeded - TimeShifting to ".concat(r?t:"live edge")),this.timeShift(r?t:0)},e.prototype.getLatency=function(){return this.liveLatencyService.getLatency()},e.prototype.setTargetLatency=function(e){var t=Math.abs(this.manifestService.getTimeShiftBufferDepthSeconds());e>t&&(e=t,this.logger.debug("Tried to set target latency outside DVR window, corrected to lower bound",t)),this.context.eventHandler.dispatchEvent(c.PlayerEvent.TargetLatencyChanged,{from:this.liveLatencyService.getTargetLatency(),to:e}),this.liveLatencyService.setTargetLatency(e)},e.prototype.getTargetLatency=function(){return this.liveLatencyService.getTargetLatency()},e.prototype.setCatchupConfig=function(e){this.liveLatencyService.setCatchupConfig(e)},e.prototype.getCatchupConfig=function(){return this.liveLatencyService.getCatchupConfig()},e.prototype.setFallbackConfig=function(e){this.liveLatencyService.setFallbackConfig(e)},e.prototype.getFallbackConfig=function(){return this.liveLatencyService.getFallbackConfig()},e.prototype.release=function(e){var t=this;return this.eventHandler.off(c.PlayerEvent.PeriodSwitch,this.onPeriodSwitch),this.eventHandler.off(c.PlayerEvent.PeriodSwitched,this.fireAudioTracksAdded),this.eventHandler.off(c.PlayerEvent.PlaybackSpeedChanged,this.onPlaybackSpeedChanged),this.unsubscribeStorePlayingListener(),this.unload(e).then((function(){return t.playerStateService=null,t.playerController=(0,u.dispose)(t.playerController),t.disposeServices(e),t.renderer.release().then((function(){return t.renderer=null}))}))},e.prototype.clearStallEndedSubscription=function(){this.unsubscribeFromStallEnded&&(this.unsubscribeFromStallEnded(),this.unsubscribeFromStallEnded=void 0)},e.prototype.getCurrentPlayingPeriodId=function(){return(0,L.getPlayingPeriodId)(this.getSourceStoreService().getState())},e.prototype.updateCallback=function(e){},e.prototype.onFullscreenEnter=function(){},e.prototype.onFullscreenExit=function(){},e.prototype.isAirplayAvailable=function(){return!1},e.prototype.isAirplayActive=function(){return!1},e.prototype.showAirplayTargetPicker=function(){},e}();function j(e){return e===d.ADVERTISING_ISSUER_NAME||e===d.ADVERTISING_RESTORE_ISSUER_NAME}function H(e,t){if(!$.ModuleManager.has(T.ModuleName.RendererMse)||!e.videoElement)return!1;for(var n=$.ModuleManager.get(T.ModuleName.RendererMse).Ranges,r=e.settings.MIN_SIZE_FOR_GAP_SKIPPING,i=n.findGaps(e.videoElement.buffered,r),o=!1,a=0;a<i.length;a++){var s=i.end(a)+n.TIME_FUDGE_FACTOR;Math.abs(s-t)<=.1&&(o=!0)}return o}t.MediaPlayer=F},36366:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPlayerController=void 0,t.isBufferChangeRequired=N;var r=n(18665),i=n(60997),o=n(62510),a=n(15539),s=n(33696),u=n(76650),c=n(17990),l=n(58975),d=n(63668),_=n(42055),f=n(3464),h=n(42283),p=n(53968),g=n(79814),v=n(46462),m=n(91520),y=n(16368),b=n(80858),S=n(29954),E=n(13034),$=n(94938),T=n(96953),A=n(22916),C=n(58423),P=n(34268),I=n(4053),w=n(77874),M=n(58211),k=n(59839),O=n(22645),R=n(21918),D=n(75498),L=n(93109),x=function(){function e(e,t){var n=this;this.segmentControllerMap={},this.onSegmentAvailable=function(e){if(n.clearBuffersPromise)U(e,n.getSourceStore());else{if(n.drmKidErrorHandler.trackSegment(e),n.shouldDropSegment(e))return n.context.logger.debug("Dropping segment ".concat(e.getUrl())),void U(e,n.getSourceStore());var t=e.getMimeType(),r=n.getTimestampOffset(t),i=n.segmentControllerMap[t];i&&n.isAVMultiplexed(i)&&n.addRequiredMediaTypesForMuxedContent(e.getPeriodId()),n.bufferController.updateMediaType(e.getPeriodId(),{mimeType:t,timestampOffset:r,codec:e.getCodec()}),n.bufferController.addSegment(e).then((function(){n.heartbeatService&&n.heartbeatService.beat()})).catch((function(e){n.logger&&n.logger.debug(e)})),n.segmentAvailableCallback(e)}},this.endStallAtGap=function(){var e=n.bufferController.getBufferedRangesMap(n.periodSwitchTracker.getCurrentPlayingPeriodId()),t=Math.max.apply(Math,Object.values(e).filter((function(e){return e.length>0})).map((function(e){return e[e.length-1].start})));n.seek(t,!1,!0)},this.mpdAvailableHandler=function(){var e;n.applyManifestTimings(),n.initialized&&n.updatePeriodInformation(),n.handleDroppedOutPeriods(),n.initializeThumbnails(),n.initialized&&n.getAllSegmentControllers().forEach((function(e){return e.updateMpd()})),null===(e=n.timeshiftHandler)||void 0===e||e.onManifestUpdate(),n.context.serviceManager.get(r.ServiceName.TimedMetadataService).parseEventStream()},this.onPeriodSwitched=function(){(n.hasStreamEnded()||n.isInitialized()&&!n.playerStateService.isPlaying())&&n.start()},this.onSegmentRequestFinished=function(e){if(e){if(e.success||408===e.httpStatus){var t=n.segmentControllerMap[e.mimeType];t&&n.updateAdaptationLogicData(e,t)}e.success||n.heartbeatService.beat()}},this.firePlaybackFinishedEvent=function(){n.getAllSegmentControllers().every((function(e){var t=n.streamTimeService.getTimeForNextSegment(e.getMimeType());return e.hasNext(t)}))?n.logger.debug("ignoring ended event in firePlaybackFinishedEvent as there are more segments available"):n.manifestService.isLastPeriod(n.periodSwitchTracker.getCurrentPlayingPeriodId())?n.bufferController.hasFutureBufferBlockData()||(n.stop(),n.logger.debug("Stopping buffer controller"),n.bufferController.stop(!0),n.playerStateService.transitionToStoppedState()):n.logger.debug("ignoring ended event in firePlaybackFinishedEvent as there is a future period")},this.context=e,this.logger=e.logger,this.settings=e.settings,this.bufferSettings=e.bufferSettings,this.eventHandler=e.eventHandler,this.renderer=e.renderer,this.segmentAvailableCallback=t,this.initialized=!1,this.initPromise=null,this.mimeTypes={},this.seekCounter=0,this.eosSignaled=!1,this.isSwitchingAudioTrack=!1}return e.prototype.addRequiredMediaTypesForMuxedContent=function(e){this.bufferController.addRequiredMediaType(e,"video/mp4"),this.bufferController.addRequiredMediaType(e,"audio/mp4")},e.prototype.getTimestampOffset=function(e){var t,n=this,r=this.segmentControllerMap[e];return!r&&g.MimeTypeHelper.isAV(e)&&(r=Object.keys(this.segmentControllerMap).filter((function(e){return g.MimeTypeHelper.isAV(e)})).map((function(e){return n.segmentControllerMap[e]})).filter((function(e){return n.isAVMultiplexed(e)})).shift()),null!==(t=null==r?void 0:r.getMPDHandler().getTimestampOffset())&&void 0!==t?t:0},e.prototype.restorePlaybackPositionAfterDownloadedRepresentationWasExcluded=function(){var e=this,t=this.manifestService.isLive(),n=t?this.getTimeShift():this.renderer.getCurrentTime();t?this.timeShift(n,(function(){}),!0).catch((function(t){return e.context.logger.debug("TimeShift failed",t)})):this.seek(n,!1,!1,!0)},e.prototype.onDownloadedRepresentationExcluded=function(){this.restorePlaybackPositionAfterDownloadedRepresentationWasExcluded(),this.context.logger.debug("manifest update interrupted by DRM key status change")},e.prototype.shouldDropSegment=function(e){var t=g.MimeTypeHelper.isSubtitle(e.getMimeType()),n=this.context.sourceContext.technology.streaming===s.StreamType.Hls,r=(0,_.getStartTimeOffset)(this.getSourceStore().getState())+this.manifestService.getDuration(),i=this.isVod()&&e.getPlaybackTime()>=r,o=this.eosSignaled||i,a=this.manifestService.isRepresentationExcluded(e.getRepresentationId());return!t&&!n&&o||a},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(r.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.isAVMultiplexed=function(e){var t=h.CodecStringHelper.getExtractedCodecStrings(e.getCodecs());return Boolean(t.video&&t.audio)},e.prototype.getMaxTimeShift=function(){return this.getTimeShiftHandler().getMaxTimeShift()},e.prototype.removeEventHandlers=function(){this.eventHandler.off(o.PlayerEvent.SegmentRequestFinished,this.onSegmentRequestFinished)},e.prototype.subscribeToSeekProcess=function(){var e=this,t=this.context.store;!this.unsubscribeFromSeekProcess&&t&&(this.unsubscribeFromSeekProcess=(0,f.subscribe)(t)((function(e){if(e)return(0,l.getPlayerState)(e).seekingProcess}),(function(t,n){return t&&n&&e.onSeekProcessChange(t,n)})))},e.prototype.subscribeToManifestChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromManifestStore&&e&&(this.unsubscribeFromManifestStore=(0,f.subscribe)(e)(w.getManifest,this.mpdAvailableHandler,(function(e,t){return e.isInitialized&&!t.isInitialized})))},e.prototype.unsubscribeFromManifestChanges=function(){this.unsubscribeFromManifestStore&&(this.unsubscribeFromManifestStore(),this.unsubscribeFromManifestStore=null)},e.prototype.subscribeToPlayingTracksChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromPlayingTracksStore&&e&&(this.unsubscribeFromPlayingTracksStore=(0,f.subscribe)(e)(M.getPlayingTracksState,this.onPeriodSwitched,M.wasSwitchingToPeriodIdReset))},e.prototype.unsubscribeFromPlayingTracksChanges=function(){this.unsubscribeFromPlayingTracksStore&&(this.unsubscribeFromPlayingTracksStore(),this.unsubscribeFromPlayingTracksStore=void 0)},e.prototype.setupControllerForAdaptationSet=function(e){var t,n,r=(0,$.getMimeTypeForAdaptationSet)(e);if(g.MimeTypeHelper.isAV(r)){this.context.store.dispatch((0,u.initializeMetricsForMimeType)(r,this.context.settings)),this.getSourceStore().dispatch((0,I.setMediaTypeAction)(e._internalId,(0,A.resolveMediaTypes)(e))),this.mimeTypes[r]=(0,$.getCodecsFromAdaptationSet)(e);var i=this.periodSwitchTracker.getCurrentPlayingPeriodId();this.segmentControllerMap[r]=new C.SegmentController(this.context,this.onSegmentAvailable,r,this.mimeTypes[r],e.isTransmuxingRequired,this.manifestLoader,null!==(t=e._periodId)&&void 0!==t?t:i,this.getSourceStore()),null===(n=this.timeshiftHandler)||void 0===n||n.updateSegmentControllers(this.segmentControllerMap),this.transmuxer&&this.segmentControllerMap[r].setTransmuxer(this.transmuxer),i&&this.renderer.storeDrmInitDataFromManifest(e),this.context.segmentInfoService&&this.context.segmentInfoService.setSegmentControllers(Object.values(this.segmentControllerMap))}},e.prototype.updatePeriodForTimeshift=function(e,t,n){var r=this.periodSwitchTracker.getCurrentPlayingPeriodId();r||(this.periodSwitchTracker.setCurrentPlayingPeriodId(e),this.bufferController.setInitialPeriod(e)),this.periodSwitchTracker.getCurrentLoadingPeriodId()!==e&&n&&this.switchLoadingPeriodForAllMedia(e),t&&r!==e&&(this.context.logger.debug("Updating current playing period to ".concat(e)),this.periodSwitchTracker.setCurrentPlayingPeriodId(e))},e.prototype.updateVideoAndAudioMediaTypes=function(e){var t=e.AdaptationSet.find((function(e){return g.MimeTypeHelper.isVideo(e._mimeType)}));t&&this.bufferController.addRequiredMediaType(e._id,t._mimeType);var n=e.AdaptationSet.find((function(e){return g.MimeTypeHelper.isAudio(e._mimeType)}));n&&this.bufferController.addRequiredMediaType(e._id,n._mimeType)},e.prototype.updateSubtitleMediaTypes=function(e){var t=this;e.AdaptationSet.filter((function(e){return g.MimeTypeHelper.isSubtitle(e._mimeType)})).forEach((function(n){t.bufferController.addRequiredMediaType(e._id,n._mimeType)}))},e.prototype.updateMediaTypes=function(e){this.updateVideoAndAudioMediaTypes(e),this.updateSubtitleMediaTypes(e)},e.prototype.updatePeriodInformation=function(){var e=this;this.manifestService.getAllPeriods().forEach((function(t){e.updateMediaTypes(t),e.bufferController.checkIfEndOfBufferReached(e.settings.END_OF_BUFFER_TOLERANCE)}))},e.prototype.finishInit=function(){var e=this;return this.initPromise?this.initPromise:!0===this.initialized||null===this.manifestService.getManifest()?this.initPromise=Promise.resolve():(this.disposeSegmentControllers(),this.mimeTypes={},this.initPromise=this.renderer.ready().then((function(){return e.initializeDependents()})))},e.prototype.disposeSegmentControllers=function(){var e=this;this.segmentControllerMap&&(Object.keys(this.segmentControllerMap).forEach((function(t){return e.segmentControllerMap[t].dispose()})),this.segmentControllerMap={})},e.prototype.createTransmuxer=function(){var e=this;if(m.ModuleManager.has(y.ModuleName.ContainerTS)){var t=m.ModuleManager.get(y.ModuleName.ContainerTS);this.getAllSegmentControllers().filter((function(e){return e.isTransmuxerRequired()})).forEach((function(n){e.transmuxer=e.transmuxer||new t.WebWorkerTransmuxer(e.context,e.hasSeparateAudioPlaylist()),n.setTransmuxer(e.transmuxer)})),this.subtitleService&&this.subtitleService.setTransmuxer(this.transmuxer)}},e.prototype.hasSeparateAudioPlaylist=function(){return this.getAllSegmentControllers().some((function(e){return g.MimeTypeHelper.isAudio(e.getMimeType())}))},e.prototype.initializeDependents=function(){this.periodSwitchTracker.setInitialPeriod(),this.initializeBufferController(),this.updatePeriodInformation();var e=this.periodSwitchTracker.getCurrentPlayingPeriod()||this.manifestService.getFirstPeriod();e&&this.initializeSegmentControllers(e),this.enableForcedSubtitles(),this.createTransmuxer(),this.initialized=!0},e.prototype.enableForcedSubtitles=function(){var e,t,n,r,i=this.getAudioSegmentController();if(this.subtitleService){var o=null!==(n=null===(t=null===(e=null==i?void 0:i.getCurrentLangObj)||void 0===e?void 0:e.call(i))||void 0===t?void 0:t.lang)&&void 0!==n?n:null===(r=(0,E.getPreferredLanguage)("audio/mp4"))||void 0===r?void 0:r.language;this.subtitleService.enableForcedSubtitle(o)}},e.prototype.initializeSegmentControllers=function(e){var t,n=this;this.maybeConsiderOnlyMuxedAVSet(null!==(t=null==e?void 0:e.AdaptationSet)&&void 0!==t?t:[]).forEach((function(e){return n.createSegmentControllerIfMediaTypeIsMissing(e)}))},e.prototype.maybeConsiderOnlyMuxedAVSet=function(e){var t,n,r,i=e.find((function(e){return g.MimeTypeHelper.isAudio(e._mimeType)})),o=e.find((function(e){return g.MimeTypeHelper.isVideo(e._mimeType)})),a=(null!==(n=null===(t=null==o?void 0:o.ContentComponent)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>1;if(!i||!o||!a)return e;var s=(0,E.getHlsDefaultLanguage)(i._mimeType,this.getSourceStore().getState()),u=null===(r=o.ContentComponent)||void 0===r?void 0:r.find((function(e){return e._lang===(null==s?void 0:s.language)&&e._id===(null==s?void 0:s.name)}));return s&&u?[o]:e},e.prototype.createSegmentControllerIfMediaTypeIsMissing=function(e){var t=(0,$.getMimeTypeForAdaptationSet)(e);(0,g.isMediaTypeContained)(this.mimeTypes,t)||this.setupControllerForAdaptationSet(e)},e.prototype.initializeBufferController=function(){this.bufferController=new b.BufferController(this.context,this.endStallAtGap,this.manifestService.getTotalDuration(),this.periodSwitchTracker.getCurrentPlayingPeriodId())},e.prototype.getBufferLevel=function(e,t,n,r){return void 0===r&&(r=!0),this.bufferController?this.bufferController.getOverallBufferLevel(e,t,n,r):0},e.prototype.handleDroppedOutPeriods=function(){var e=this;this.periodSwitchTracker.shouldHandleDroppedOutPeriod()&&(this.periodSwitchTracker.isPlayingPeriodDroppedOut()?(this.logger.debug("Playing period dropped out of the manifest, timeshifting to current position"),this.timeShift(this.getTimeShift()).catch((function(t){return e.context.logger.debug("TimeShift failed",t)}))):this.periodSwitchTracker.isLoadingPeriodDroppedOut()&&(this.logger.debug("Current loading period (".concat(this.periodSwitchTracker.getCurrentLoadingPeriodId(),") ")+"dropped out of the manifest, switching to first available one"),this.getAllSegmentControllers().forEach((function(e){return e.invalidateOngoingRequests()})),this.switchLoadingPeriodForAllMedia(this.manifestService.getFirstPeriod()._id)))},e.prototype.initializeThumbnails=function(){var e=this;this.context.serviceManager.maybeCall(r.ServiceName.ThumbnailService,(function(t){e.context.sourceContext.source&&e.context.sourceContext.source.thumbnailTrack||t.addThumbnails(e.manifestService.getAllDashThumbnailSources())}))},e.prototype.applyManifestTimings=function(){var e=this.manifestService.isLive(),t=this.context.serviceManager.get(r.ServiceName.StartOffsetService),n=this.manifestService.hasSuggestedStartPosition();if(e){var i=this.manifestService.getTimeShiftBufferDepthSeconds();0!==i&&(this.metadataParsedService.expirationTimeInSeconds=i),n&&(t.manifestStartOffset=this.manifestService.getLiveStartOffset(),this.adjustMaximumBufferLevel())}else n&&(t.manifestStartOffset=this.manifestService.getVodStartOffset())},e.prototype.adjustMaximumBufferLevel=function(){var e=Math.abs(this.manifestService.getLiveStartOffset(!1));e=e>0?e:this.manifestService.getMaxSegmentDuration();var t=Math.min(e,this.bufferSettings.getForwardTargetLevel(s.MediaType.Video)),n=Math.min(e,this.bufferSettings.getForwardTargetLevel(s.MediaType.Audio));this.bufferSettings.setMaximumBufferLevel(s.BufferType.ForwardDuration,t,s.MediaType.Video),this.bufferSettings.setMaximumBufferLevel(s.BufferType.ForwardDuration,n,s.MediaType.Audio)},e.prototype.terminate=function(){var e=this;this.logger.debug("stopping playback"),this.stop(),this.getAllSegmentControllers().forEach((function(e){return e.stop()})),this.bufferController&&this.bufferController.stop(!0),this.transmuxer=(0,i.dispose)(this.transmuxer),this.timeshiftHandler=(0,i.dispose)(this.timeshiftHandler),this.drmKidErrorHandler=(0,i.dispose)(this.drmKidErrorHandler),(0,i.dispose)(this.periodSwitchTracker),this.cachedSeekableRange=null,this.renderer.off(v.MediaElementEvent.ended,this.firePlaybackFinishedEvent);var t=this.renderer.shutdown(!1).catch((function(t){return e.logger.debug("Got an error on shutdown",{message:t.message}),Promise.resolve()}));return this.removeEventHandlers(),this.unsubscribeFromPlayingTracksChanges(),this.initialized=!1,this.periodSwitchTracker.setCurrentPlayingPeriodId(null),this.mimeTypes=null,this.context.store.dispatch((0,d.resetDrmKidErrors)()),this.manifestService.resetExcludedRepresentations(),this.disposeSegmentControllers(),t},e.prototype.dispose=function(){this.timeshiftHandler=(0,i.dispose)(this.timeshiftHandler),this.bufferController=(0,i.dispose)(this.bufferController),(0,i.dispose)(this.periodSwitchTracker);try{this.removeEventHandlers()}catch(e){}this.unsubscribeFromManifestChanges(),this.unsubscribeFromPlayingTracksChanges(),this.disposeSegmentControllers(),this.unsubscribeFromSeekProcess&&this.unsubscribeFromSeekProcess(),this.subtitleService=null,this.heartbeatService=null,this.streamTimeService=null,this.segmentControllerMap=null,this.settings=null,this.bufferSettings=null,this.eventHandler=null,this.renderer=null,this.mimeTypes=null},e.prototype.acquireServices=function(){var e=this.context.sourceContext.sourceIdentifier;this.manifestService=this.context.serviceManager.get(r.ServiceName.ManifestService,e),this.playerStateService=this.context.serviceManager.get(r.ServiceName.PlayerStateService),this.subtitleService=this.context.serviceManager.get(r.ServiceName.SubtitleService),this.metadataParsedService=this.context.serviceManager.get(r.ServiceName.MetadataParsedService),this.manifestLoader=this.context.serviceManager.get(r.ServiceName.ManifestLoadingService,e),this.heartbeatService=this.context.serviceManager.get(r.ServiceName.HeartbeatService,e),this.streamTimeService=this.context.serviceManager.get(r.ServiceName.StreamTimeService),this.manifestUpdateScheduler=this.context.serviceManager.get(r.ServiceName.ManifestUpdateSchedulingService,e)},e.prototype.init=function(e){var t=this,n=this.getSourceStore();return this.periodSwitchTracker=new P.PeriodSwitchTracker(this.context),this.subscribeToPlayingTracksChanges(),this.subscribeToSeekProcess(),this.isAudioCatchingUp=!1,this.context.store.dispatch((0,d.resetDrmKidErrors)()),this.acquireServices(),n&&!this.drmKidErrorHandler&&(this.drmKidErrorHandler=new S.DrmKidErrorHandler(this.context,(function(){return t.onDownloadedRepresentationExcluded()}))),this.renderer.on(v.MediaElementEvent.ended,this.firePlaybackFinishedEvent),(this.manifestUpdateScheduler.isInitiated()?Promise.resolve():this.manifestUpdateScheduler.init(e.url.toString())).then((function(){return t.subscribeToManifestChanges(),t.mpdAvailableHandler(),t.initialized?Promise.resolve():t.finishInit()}))},e.prototype.stop=function(){this.logger.debug("Stopping main timer"),this.heartbeatService.stop(),this.initPromise=null,this.eventHandler.off(o.PlayerEvent.SegmentRequestFinished,this.onSegmentRequestFinished),this.unsubscribeFromManifestChanges()},e.prototype.isOneLoaderReady=function(){return this.getAllSegmentControllers().some((function(e){return e.canLoad()}))},e.prototype.areAllLoadersReady=function(){return this.getAllSegmentControllers().every((function(e){return e.canLoad()}))},e.prototype.isVod=function(){return!this.manifestService.isLive()},e.prototype.shouldStopDownloadWhenPaused=function(){return this.playerStateService.isPaused()&&this.settings.STOP_DOWNLOAD_ON_PAUSE&&this.manifestService.isLive()},e.prototype.shouldWaitForOtherMimeTypeDownload=function(e){var t=Object.keys(this.segmentControllerMap).find((function(t){return g.MimeTypeHelper.isAV(t)&&e!==t}));if(!t)return!1;if((0,L.isPlayingLowLatencyHls)(this.context))return!1;if(this.isAudioCatchingUp)return g.MimeTypeHelper.isAudio(t);var n=this.segmentControllerMap[t],r=this.streamTimeService.getTimeForNextSegment(t);if(t&&!n.hasDownloadError&&n.hasNext(r)){var i=this.getBufferRelevantTime(),o=this.getCurrentForwardBuffer(e,i),a=this.getCurrentForwardBuffer(t,i);if(o===a)return g.MimeTypeHelper.isVideo(t);var s=this.hasReachedTargetBufferLevel(t,a);return o>a&&!s}return n.getCurrentPeriodId()!==this.segmentControllerMap[e].getCurrentPeriodId()},e.prototype.hasReachedTargetBufferLevel=function(e,t){var n=g.MimeTypeHelper.getMediaType(e);return t>=this.bufferSettings.getForwardTargetLevel(n)},e.prototype.shouldEndOfStreamBeSignaled=function(){var e=this,t=this.getAllSegmentControllers(),n=this.bufferController.hasPendingSegments(),r=t.map((function(e){return e.getMimeType()})),i=t.some((function(e){return e.hasPendingSegments()})),o=r.some((function(t){return e.renderer.isDataBeingAppended(t)}));return!i&&!n&&!o},e.prototype.shouldSuspendHeartbeat=function(){return!this.isOneLoaderReady()||this.shouldStopDownloadWhenPaused()||Boolean(this.clearBuffersPromise)||this.isSwitchingAudioTrack},e.prototype.getActiveSegmentControllers=function(){var e=this;return this.getAllSegmentControllers().filter((function(t){return e.isSegmentControllerActive(t)}))},e.prototype.isSegmentControllerActive=function(e){var t=this.periodSwitchTracker.getCurrentLoadingPeriodId(),n=this.streamTimeService.getTimeForNextSegment(e.getMimeType());return e.canLoad()&&(e.hasNext(n)||e.hasPendingSegments(t))&&!this.shouldWaitForOtherMimeTypeDownload(e.getMimeType())},e.prototype.shouldClearSubtitleServiceBuffers=function(){var e;return!this.playerStateService.seekingOrTimeshifting&&Boolean(null===(e=this.subtitleService)||void 0===e?void 0:e.hasSubtitles())},e.prototype.clearSubtitleServiceBuffers=function(){this.subtitleService.clearBuffersUntil(this.renderer.getCurrentTime()-10)},e.prototype.areMediaTypesFinalForPlayingPeriod=function(){var e=this.periodSwitchTracker.getCurrentPlayingPeriodId();return this.bufferController.areBufferBlockMediaTypesFinalForPeriod(e)},e.prototype.maybeStop=function(){var e=this.manifestService.isManifestFinalized(),t=this.manifestService.isLastPeriod(this.periodSwitchTracker.getCurrentLoadingPeriodId());e&&t&&(this.bufferController.stop(!1),this.shouldEndOfStreamBeSignaled()&&(this.signalEndOfStream(),this.stop()))},e.prototype.getNextSegment=function(e,t){if(e.canLoad()&&this.renderer.shouldContinueBuffering()){var n=g.MimeTypeHelper.getMediaType(e.getMimeType()),i=this.bufferSettings.getForwardTargetLevel(n),o=this.getCurrentForwardBuffer(e.getMimeType(),this.getBufferRelevantTime());o>=i||(this.context.serviceManager.get(r.ServiceName.AdaptationService).addSample(e.getMimeType(),{bufferTargetLevel:i,bufferLevel:o}),e.hasNext(t)&&e.getNext(t))}},e.prototype.getBufferRelevantTime=function(){return this.playerStateService.seekingOrTimeshifting?this.playerStateService.targetPlaybackTime:this.renderer.getCurrentTime()},e.prototype.getCurrentForwardBuffer=function(e,t){return this.getBufferLevel(e,t,s.BufferType.ForwardDuration)},e.prototype.isLoadingLastPeriod=function(){return this.periodSwitchTracker.isLoadingLastPeriod()},e.prototype.switchLoadingPeriod=function(){if(this.isAudioCatchingUp){var e=this.getAudioSegmentController(),t=e.getCurrentPeriodId(),n=this.manifestService.getNextPeriod(t)._id;this.switchLoadingPeriodForAudio(n),e.getCurrentPeriodId()===this.periodSwitchTracker.getCurrentLoadingPeriodId()&&(e.isTransmuxerRequired()&&e.getTransmuxer()&&(e.getTransmuxer().dispose(),e.setTransmuxer(this.transmuxer)),this.isAudioCatchingUp=!1,this.logger.debug("The audio SegmentController caught up to the overall loading period again."))}else{var r=this.manifestService.getNextPeriod(this.periodSwitchTracker.getCurrentLoadingPeriodId());r&&this.switchLoadingPeriodForAllMedia(r._id)}},e.prototype.switchLoadingPeriodForAllMedia=function(e){var t=this;e!==this.periodSwitchTracker.getCurrentLoadingPeriodId()&&(this.isAudioCatchingUp=!1,this.prepareLoadingPeriodSwitch(e),this.getAllSegmentControllers().filter((function(t){return t.getCurrentPeriodId()!==e})).forEach((function(n){n.switchPeriod(e),t.renderer.storeDrmInitDataFromManifest(n.getAdaptationSetForPeriodId(e))})),this.periodSwitchTracker.setCurrentLoadingPeriodId(e))},e.prototype.prepareLoadingPeriodSwitch=function(e){var t,n,r=this;(null!==(n=null===(t=this.manifestService.getPeriod(new T.PeriodId(e)))||void 0===t?void 0:t.AdaptationSet)&&void 0!==n?n:[]).forEach((function(e){return r.createSegmentControllerIfMediaTypeIsMissing(e)})),this.resetTransmuxer()},e.prototype.switchLoadingPeriodForAudio=function(e){var t=this.getAudioSegmentController(),n=t.getCurrentPeriodId();t.resetTransmuxer(),t.switchPeriod(e),this.logger.debug("Switched audio loading period from ".concat(n," to ").concat(e))},e.prototype.isAVCompletelyLoaded=function(){var e=this.getAllSegmentControllers().some((function(e){return e.hasPendingSegments()}))||this.bufferController.hasPendingSegments();return this.manifestService.isManifestFinalized()&&!e},e.prototype.getBufferedRanges=function(e){return void 0===e&&(e=!1),this.bufferController.getBufferedRangesMap(this.periodSwitchTracker.getCurrentPlayingPeriodId(),e)},e.prototype.resetTransmuxer=function(){this.transmuxer&&(this.transmuxer.dispose(),this.transmuxer=null),this.createTransmuxer()},e.prototype.restartBufferController=function(){this.bufferController.hasStopped()&&this.bufferController.restart()},e.prototype.shouldBuffersBeCleared=function(e,t,n,r){if(n&&0===e)return!1;var i=e<this.renderer.getCurrentTime()&&this.context.settings.CLEAR_BUFFERS_ON_SEEKING_BACKWARDS;return!t&&(!this.bufferController.isInBufferedRange(e)||i)||r},e.prototype.onSeekProcessChange=function(e,t){var n;if(-1===e.targetTime&&t.targetTime>=0)null===(n=this.playerStateService)||void 0===n||n.transitionToSeekedState(t.issuer!==a.STARTUP_ISSUER_NAME);else{var r=e.targetTime!==t.targetTime,i=e.targetTime>=0;r&&i&&this.seek(e.targetTime,e.issuer===a.STARTUP_ISSUER_NAME)}},e.prototype.seek=function(e,t,n,r){var i=this;if(void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),this.bufferController){this.restartBufferController(),this.seekCounter++;var o,a,s=this.seekCounter,u=this.manifestService.getPeriodIdForTime(e);this.ensureInitialPeriod(u),this.logger.debug("seek from current period (".concat(this.periodSwitchTracker.getCurrentPlayingPeriodId(),") to target period ")+"(".concat(u,") - seek time in period is: ").concat(e)),this.bufferController.readyToSeek().then((function(){if(a=i.shouldBuffersBeCleared(e,n,t,r),o=i.periodSwitchTracker.getCurrentLoadingPeriodId()!==u&&a,a&&i.bufferController.isBufferAvailable())return i.clearBuffersPromise=i.clearBuffersOnSeek(),i.clearBuffersPromise})).then((function(){return i.clearBuffersPromise=null,i.initialized?(o&&i.switchLoadingPeriodForAllMedia(u),a&&i.getAllSegmentControllers().forEach((function(t){t.setAdaptionLogicStartupPhase(),t.seekTo(e)})),(t?Promise.resolve():i.start()).then((function(){i.heartbeatService.started&&i.heartbeatService.beat(),i.bufferController.setCurrentTime(e).then((function(t){i.context.isDisposed||(i.seekCounter===s?(i.logger.debug("Successfully seeked to ".concat(t)),i.context.store.dispatch((0,c.updateSeekingProcess)({targetTime:-1,issuer:"",isInitial:!1}))):B(i.context.store)&&i.context.logger.debug("Seek to ".concat(e," has finished but a newer operation has been started")))})).catch((function(e){i.logger.debug("Failed to set currentTime on seek",e)}))}))):(i.logger.debug("Aborting seek as MediaPlayerController has been terminated!"),Promise.resolve())}))}},e.prototype.ensureInitialPeriod=function(e){var t=this;void 0===this.periodSwitchTracker.getCurrentPlayingPeriodId()&&(this.logger.debug("current period is undefined, using seek target period "+e),this.periodSwitchTracker.setCurrentPlayingPeriodId(e),this.resetTransmuxer(),this.getAllSegmentControllers().forEach((function(e){e.switchPeriod(t.periodSwitchTracker.getCurrentPlayingPeriodId()),g.MimeTypeHelper.isAV(e.getMimeType())&&t.renderer.storeDrmInitDataFromManifest(e.getCurrentAdaptationSet())})),this.periodSwitchTracker.setCurrentLoadingPeriodId(this.periodSwitchTracker.getCurrentPlayingPeriodId()),this.bufferController.setInitialPeriod(e))},e.prototype.clearBuffersOnSeek=function(){var e=this;return this.context.logger.debug("Clearing buffer on seek"),this.eosSignaled=!1,this.getAllSegmentControllers().forEach((function(e){return e.cancelLoading()})),this.bufferController.setEndOfStream(!1).then((function(){return e.bufferController.clearBuffers()})).catch((function(){e.logger.debug("Failed to clear buffers on seek, carrying on regardless")}))},e.prototype.getAllSegmentControllers=function(){return Object.values(this.segmentControllerMap||{})},e.prototype.getAudioSegmentController=function(){return this.getAllSegmentControllers().find((function(e){return g.MimeTypeHelper.isAudio(e.getMimeType())}))},e.prototype.updateAdaptationLogicData=function(e,t){var n,i;if(!(e.isInit||!e.success&&this.playerStateService.seekingOrTimeshifting)){var o=g.MimeTypeHelper.getMediaType(t.getMimeType()),a=this.getBufferLevel(t.getMimeType(),this.renderer.getCurrentTime(),s.BufferType.ForwardDuration),u=this.bufferSettings.getForwardTargetLevel(o);null===(i=null===(n=this.context.serviceManager)||void 0===n?void 0:n.get(r.ServiceName.AdaptationService))||void 0===i||i.addSample(t.getMimeType(),{bufferTargetLevel:u,bufferLevel:a,segmentDuration:e.duration,segmentDownloadDuration:e.downloadTime,downloadCancelled:!e.success})}},e.prototype.signalEndOfStream=function(e){void 0===e&&(e=!0),this.isVod()&&(this.eosSignaled||(this.eosSignaled=!0,this.bufferController.setEndOfStream(!0),e&&this.stop()),this.bufferController.isStarted()&&this.bufferController.stop())},e.prototype.start=function(){var e=this;return this.hasStarted()?Promise.resolve():this.finishInit().then((function(){e.bufferController.hasStreamEnded()&&(e.seek((0,_.getStartTimeOffset)(e.getSourceStore().getState())),e.getAllSegmentControllers().forEach((function(e){return e.resetTransmuxer()}))),e.bufferController.isStarted()||e.bufferController.restart(),e.getAllSegmentControllers().filter((function(e){return g.MimeTypeHelper.isAV(e.getMimeType())})).forEach((function(t){return e.renderer.storeDrmInitDataFromManifest(t.getCurrentAdaptationSet())})),e.logger.debug("Starting main timer"),e.eosSignaled=!1,e.heartbeatService.start(),e.subscribeToManifestChanges(),e.eventHandler.on(o.PlayerEvent.SegmentRequestFinished,e.onSegmentRequestFinished)}))},e.prototype.maybeTransitionToPausedState=function(e){(0,p.isSwitchingBufferBlocks)(this.getSourceStore())?this.context.logger.debug("Ignoring transition to Paused because buffer block switch is ongoing"):this.playerStateService.transitionToPausedState(!0,e,!0)},e.prototype.clearBuffers=function(e){var t=this;return Promise.all(e.map((function(e){return t.bufferController.clearCacheForMimeType(e),t.bufferController.clearBuffer(e)}))).then((function(){}))},e.prototype.recoverFromImpreciseTimeShiftAfterAudioTrackSwitch=function(e){var t=this;this.manifestService.isLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE&&this.renderer.setCurrentTime(e).catch((function(){return t.logger.debug("Could not set currentTime")}))},e.prototype.restorePlaybackPositionAfterAudioTrackSwitch=function(e,t){var n=this;return this.bufferController.setEndOfStream(!1).then((function(){var r=n.clearBuffers(e.getSourceBufferTypes());return e.getCurrentPeriodId()!==n.periodSwitchTracker.getCurrentPlayingPeriodId()?n.prepareControllerForAudioTrackChange(e):e.getCurrentPeriodId()!==n.periodSwitchTracker.getCurrentLoadingPeriodId()&&n.periodSwitchTracker.setCurrentLoadingPeriodId(e.getCurrentPeriodId()),e.setAdaptionLogicStartupPhase(),e.seekTo(t),n.start().catch((function(){return n.logger.debug("Could not restart stopped MPC after audio track switch")})),r.then((function(){return n.recoverFromImpreciseTimeShiftAfterAudioTrackSwitch(t)})).catch((function(e){return n.logger.debug("Failed to set currentTime on audio track switch",e)}))}))},e.prototype.setAudio=function(e){var t=this.getAvailableAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId()).find((function(t){return t.id===e})),n=this.getAudio();return this.initialized&&t?n&&n.id===e?Promise.reject(n):this.switchAudioTrack(t):Promise.reject(null)},e.prototype.updateAdaptationSet=function(e,t,n){var r=this;return g.MimeTypeHelper.isAudio(t)&&function(e){var t=m.ModuleManager.get(y.ModuleName.HLS,!1),n=null==t?void 0:t.M3u8Loader;return void 0!==n&&e instanceof n}(this.manifestLoader)?this.manifestLoader.updateAdaptationSet(n).then((function(){return r.getAllSegmentControllers().forEach((function(e){return e.updateMpd()}))})).then((function(){return e})):Promise.resolve(e)},e.prototype.switchAudioTrack=function(e){var t=this;this.isSwitchingAudioTrack=!0;var n=Object.keys(this.segmentControllerMap),r=n.find(g.MimeTypeHelper.isAudio)||n.find(g.MimeTypeHelper.isVideo),i=this.segmentControllerMap[r].getCurrentAdaptationSet(),o=this.manifestService.getAdaptationSet(e.adaptationSetId);return i&&o&&r?this.maybeChangeAudioBufferType(i,o,r).then((function(n){return t.maybeHandleMuxedAudioTransition(i,o,e,n)})).then((function(n){return t.updateAdaptationSet(n,r,e.id)})).then((function(n){return t.updateRelevantSegmentControllers(n,e)})).finally((function(){return t.isSwitchingAudioTrack=!1})):Promise.reject("Did not find matching adaptation set")},e.prototype.maybeChangeAudioBufferType=function(e,t,n){var r,i=this,o=N(t,e),a=g.MimeTypeHelper.isVideo(t._mimeType)||g.MimeTypeHelper.isVideo(e._mimeType),s=!(0,D.hasContentProtection)(e.ContentProtection,t.ContentProtection);if(a||!o&&!s)return Promise.resolve(((r={})[t._mimeType]="",r));var u=Object.keys(this.segmentControllerMap).find(g.MimeTypeHelper.isVideo);return this.recreateCurrentSegmentController(n,t).then((function(){return s&&u?i.clearBuffersAndSeek(u):Promise.resolve()})).then((function(){return i.bufferController.changeBufferType(t._mimeType,i.mimeTypes[t._mimeType])}))},e.prototype.maybeHandleMuxedAudioTransition=function(e,t,n,r){var i=this;return g.MimeTypeHelper.isVideo(t._mimeType)||g.MimeTypeHelper.isVideo(e._mimeType)?this.clearBuffers([e._mimeType,t._mimeType]).then((function(){var r=g.MimeTypeHelper.isVideo(t._mimeType);return i.transmuxer.setShouldDiscardAudio(!r),r?(i.disposeSegmentController(e),Promise.resolve()):(i.createSegmentControllerIfMediaTypeIsMissing(t),i.updateSegmentController(n,e._mimeType))})).then((function(){return r})):Promise.resolve(r)},e.prototype.clearBuffersAndSeek=function(e){var t=this;return this.clearBuffers([e]).then((function(){var n;t.segmentControllerMap[e].seekTo(t.renderer.getCurrentTime()),null===(n=t.timeshiftHandler)||void 0===n||n.updateSegmentControllers(t.segmentControllerMap)}))},e.prototype.disposeSegmentController=function(e){var t;if(e){var n=e._mimeType,r=this.segmentControllerMap[n];r.cancelLoading(),r.dispose(),delete this.segmentControllerMap[n],delete this.mimeTypes[n],null===(t=this.timeshiftHandler)||void 0===t||t.updateSegmentControllers(this.segmentControllerMap),this.getSourceStore().dispatch((0,I.removeActiveTrackAction)(e._internalId)),this.context.segmentInfoService&&this.context.segmentInfoService.setSegmentControllers(Object.values(this.segmentControllerMap))}},e.prototype.recreateCurrentSegmentController=function(e,t){var n=this,r=this.segmentControllerMap[e];return this.disposeSegmentController(r.getCurrentAdaptationSet()),this.clearBuffers([e]).then((function(){return n.setupControllerForAdaptationSet(t),t._mimeType}))},e.prototype.updateRelevantSegmentControllers=function(e,t){var n=this;return Promise.all(Object.keys(e).map((function(e){return n.updateSegmentController(t,e)}))).then((function(){}))},e.prototype.updateSegmentController=function(e,t){if(this.subtitleService&&this.subtitleService.enableForcedSubtitle(e.lang),this.segmentControllerMap[t].setCurrentLangObj(e),this.segmentControllerMap[t].cancelLoading(),this.hasStarted()||this.eosSignaled){var n=this.getBufferRelevantTime();return this.restorePlaybackPositionAfterAudioTrackSwitch(this.segmentControllerMap[t],n)}return Promise.resolve()},e.prototype.getAudio=function(){if(this.initialized){var e=void 0,t=Object.keys(this.segmentControllerMap).find((function(e){return g.MimeTypeHelper.isAudio(e)}));if(t&&(e=this.segmentControllerMap[t].getCurrentLangObj()),!e){var n=Object.keys(this.segmentControllerMap).find((function(e){return g.MimeTypeHelper.isVideo(e)}));if(n&&this.segmentControllerMap[n].getSourceBufferTypes()){var r=this.segmentControllerMap[n];if(r.getSourceBufferTypes().some((function(e){return g.MimeTypeHelper.isAudio(e)}))){var i=r.getCurrentAdaptationSet()._internalId;e=this.getAvailableAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId()).find((function(e){return e.adaptationSetId===i}))||r.getCurrentLangObj()}}}return e||null}return null},e.prototype.prepareControllerForAudioTrackChange=function(e){if(this.isAVMultiplexed(e))this.switchLoadingPeriodForAllMedia(this.periodSwitchTracker.getCurrentPlayingPeriodId());else{if(this.logger.debug("audio needs to load previous period(s) and catch up to the overall loading period"),e.isTransmuxerRequired()){var t=m.ModuleManager.get(y.ModuleName.ContainerTS);e.setTransmuxer(new t.WebWorkerTransmuxer(this.context,this.hasSeparateAudioPlaylist()))}this.isAudioCatchingUp=!0,this.switchLoadingPeriodForAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId())}},e.prototype.getPlaybackRepresentation=function(e){for(var t in this.segmentControllerMap)if(this.segmentControllerMap[t]&&t.includes(e))return this.context.serviceManager.get(r.ServiceName.TimedMetadataService).getPlaybackRepresentation(t);return null},e.prototype.getTimeShift=function(){return this.getTimeShiftHandler().getTimeShift()},e.prototype.getTimeShiftLiveEdge=function(){return this.manifestService.isLive()?this.getTimeShiftHandler().getTimeShiftLiveEdge():0},e.prototype.getPlaybackTimeForTimeShiftOffset=function(e){return this.getTimeShiftHandler().calculatePlaybackTimeForTimeShiftOffset(e)},e.prototype.getTimeShiftHandler=function(){return this.timeshiftHandler||(this.timeshiftHandler=new R.TimeShiftHandler(this.context,this,this.bufferController,this.segmentControllerMap)),this.timeshiftHandler},e.prototype.timeShift=function(e,t,n){return void 0===n&&(n=!1),this.getTimeShiftHandler().timeShift(e,t,n)},e.prototype.getAvailableAudio=function(e){return this.manifestService.getAvailableAudio(e)},e.prototype.hasStreamEnded=function(){return!!this.bufferController&&this.bufferController.hasStreamEnded()},e.prototype.getCurrentTime=function(){return this.renderer.getCurrentTime()},e.prototype.getSeekableRange=function(){if(this.manifestService.isLive()){if(this.playerStateService.seekingOrTimeshifting&&this.cachedSeekableRange)return this.cachedSeekableRange;var e=this.getTimeShiftLiveEdge(),t=e+this.getMaxTimeShift();return this.cachedSeekableRange={start:t,end:e}}var n=this.getAllSegmentControllers().find((function(e){return g.MimeTypeHelper.isAV(e.getMimeType())}));return n?n.getMPDHandler().getSeekableRange():{start:-1,end:-1}},e.prototype.getAvailableSegments=function(){var e=this,t={};return Object.keys(this.segmentControllerMap).forEach((function(n){t[n]=e.segmentControllerMap[n].getSegmentInfos()})),t},e.prototype.isInitialized=function(){return this.initialized},e.prototype.hasStarted=function(){var e,t;return null!==(t=null===(e=this.heartbeatService)||void 0===e?void 0:e.started)&&void 0!==t&&t},e}();function N(e,t){return!(0,D.areAudioMimeCodecsCompatible)({mimeType:e._mimeType,codec:(0,$.getCodecsFromAdaptationSet)(e)},{mimeType:t._mimeType,codec:(0,$.getCodecsFromAdaptationSet)(t)})}function U(e,t){var n=e.getPlaybackTimeRange();n&&t.dispatch((0,k.removeStreamTimeRange)((0,O.getTrackIdentifier)(e.getSegmentInfo()),n,O.StreamTimeRangeType.Loading))}function B(e){var t=e.getState();if(!t)return!1;var n=(0,l.getPlayerState)(t).seekingProcess.issuer;return n!==a.STARTUP_ISSUER_NAME&&""!==n}t.MediaPlayerController=x},22916:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolveMediaTypes=function(e){return(0,i.getCodecsFromAdaptationSet)(e).split(",").map((function(e){return(0,r.getMediaTypeFromCodec)(e)}))};var r=n(42283),i=n(94938)},44910:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MseModuleDefinition=void 0;var r=n(96873),i=n(33669),o=n(16368),a=n(73543),s=n(67883),u=n(48928),c=n(94938),l=n(38925),d=n(85586),_=n(10997),f=n(26382),h=n(58423),p=n(13788),g=n(67550),v=n(92395),m=n(72207),y=n(4053),b=n(82311),S=n(58211),E=n(93326),$=n(59839),T=n(22645),A=n(23414),C={removeStreamTimeRange:$.removeStreamTimeRange,removeLoadedRange:r.removeLoadedRange,addLoadedRange:r.addLoadedRange,resetLoadedRanges:r.resetLoadedRanges,resetStreamTimeline:$.resetStreamTimeline,removeActiveTrackAction:y.removeActiveTrackAction,setRepresentationIdAction:y.setRepresentationIdAction,setMediaTypeAction:y.setMediaTypeAction},P={getPlayingPeriodId:S.getPlayingPeriodId,getContainerFormat:b.getContainerFormat,getLoadedRangesForMimeType:i.getLoadedRangesForMimeType,getSegmentInfos:E.getSegmentInfos},I={containerFormat:a.ContainerFormat,streamTimeRangeType:T.StreamTimeRangeType};t.MseModuleDefinition={name:o.ModuleName.EngineBitmovin,module:{MediaPlayer:d.MediaPlayer,SegmentController:h.SegmentController,technologyChecker:new A.TechnologyChecker,Stream:m.Stream,FetchController:f.FetchController,SegmentInfoService:p.SegmentInfoService,SegmentPrefetchingService:v.SegmentPrefetchingService,AdRestorationOptimizationService:_.AdRestorationOptimizationService,ManifestCachingService:u.ManifestCachingService,SegmentListMPDHandler:g.SegmentListMPDHandler,actions:C,selectors:P,mseModuleTypes:I,AdaptationSetId:s.AdaptationSetId,RepresentationId:l.RepresentationId,getTrackIdentifier:T.getTrackIdentifier,getCodecsFromAdaptationSet:c.getCodecsFromAdaptationSet,getMimeTypeForAdaptationSet:c.getMimeTypeForAdaptationSet}},t.default=t.MseModuleDefinition},34268:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PeriodSwitchTracker=void 0;var r=n(18665),i=n(62510),o=n(3464),a=n(331),s=n(72788),u=n(58211),c=function(){function e(e){var t=this;this.finishPeriodSwitch=function(e,n){var r=n.switchingToPeriodId,o=t.getCurrentPlayingPeriodId();t.setCurrentPlayingPeriodId(r);var a=t.getCurrentPlayingPeriod();a&&a.AdaptationSet.forEach((function(e){return t.context.renderer.storeDrmInitDataFromManifest(e)})),t.logger.debug("Successfully switched from Period ".concat(o," to Period ").concat(r)),t.context.eventHandler.dispatchEvent(i.PlayerEvent.PeriodSwitched,{sourcePeriod:{periodId:o},targetPeriod:{periodId:r}})},this.context=e,this.logger=e.logger,this.eventHandler=e.eventHandler,this.subscribeToPlayingTracksChanges()}return e.prototype.getManifestService=function(){return this.context.serviceManager.get(r.ServiceName.ManifestService,this.context.sourceContext.sourceIdentifier)},e.prototype.getCurrentPlayingPeriod=function(){return this.getManifestService().findPeriod(this.getCurrentPlayingPeriodId())},e.prototype.subscribeToPlayingTracksChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromPlayingTracksStore&&e&&(this.unsubscribeFromPlayingTracksStore=(0,o.subscribe)(e)(u.getPlayingTracksState,this.finishPeriodSwitch,u.wasSwitchingToPeriodIdReset))},e.prototype.unsubscribeFromPlayingTracksChanges=function(){this.unsubscribeFromPlayingTracksStore&&(this.unsubscribeFromPlayingTracksStore(),this.unsubscribeFromPlayingTracksStore=void 0)},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(r.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.getCurrentLoadingPeriodId=function(){return this.currentLoadingPeriodId},e.prototype.setCurrentLoadingPeriodId=function(e){this.currentLoadingPeriodId=e},e.prototype.getCurrentPlayingPeriodId=function(){return(0,u.getPlayingPeriodId)(this.getSourceStore().getState())},e.prototype.setCurrentPlayingPeriodId=function(e){this.getSourceStore().dispatch((0,s.setPlayingPeriodId)(e))},e.prototype.resetPeriodIds=function(){this.setCurrentPlayingPeriodId(null),this.setCurrentLoadingPeriodId(void 0)},e.prototype.shouldHandleDroppedOutPeriod=function(){return!(null==this.getCurrentPlayingPeriodId()&&null==this.currentLoadingPeriodId)},e.prototype.isPeriodDroppedOut=function(e){return!this.getManifestService().getAllPeriods().map((function(e){return e._id})).includes(e)},e.prototype.isPlayingPeriodDroppedOut=function(){return this.isPeriodDroppedOut(this.getCurrentPlayingPeriodId())},e.prototype.isLoadingPeriodDroppedOut=function(){return this.isPeriodDroppedOut(this.currentLoadingPeriodId)},e.prototype.isLoadingLastPeriod=function(){return this.getManifestService().isLastPeriod(this.currentLoadingPeriodId)},e.prototype.setInitialPeriod=function(){var e=this.getManifestService().isLive()?this.getInitialPeriodForLive():this.getInitialPeriodForVod();this.currentLoadingPeriodId=e,this.setCurrentPlayingPeriodId(this.currentLoadingPeriodId),this.logger.debug("setting initial period to ".concat(this.currentLoadingPeriodId))},e.prototype.getInitialPeriodForLive=function(){var e=(0,a.toSeconds)(Date.now())-this.getManifestService().getDesiredDistanceToLiveEdge();return this.getManifestService().getPeriodIdForTime(e)},e.prototype.getInitialPeriodForVod=function(){var e=this.context.serviceManager.get(r.ServiceName.StartOffsetService).getStartOffset(this.context.sourceContext.source);return this.getManifestService().getPeriodIdForTime(e)},e.prototype.dispose=function(){this.unsubscribeFromPlayingTracksChanges()},e}();t.PeriodSwitchTracker=c},96707:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createSegmentParser=function(e,t){if(t===o.ContainerFormat.MP4&&r.ModuleManager.has(i.ModuleName.ContainerMP4)){var n=r.ModuleManager.get(i.ModuleName.ContainerMP4);return new n.MP4Parser(e,new n.MP4EncryptionParser(e))}if(t===o.ContainerFormat.WEBM&&r.ModuleManager.has(i.ModuleName.ContainerWebM))return new(0,r.ModuleManager.get(i.ModuleName.ContainerWebM).WebMParser)};var r=n(91520),i=n(16368),o=n(73543)},59879:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTimeService=void 0;var r=n(18665),i=n(81361),o=n(22645),a=function(){function e(e,t){this.serviceManager=e,this.sourceIdentifier=t}return Object.defineProperty(e.prototype,"sourceState",{get:function(){return this.serviceManager.get(r.ServiceName.SourceStoreService,this.sourceIdentifier).getState()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"streamTimelineState",{get:function(){var e;return null===(e=this.sourceState)||void 0===e?void 0:e.streamTimeline},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bufferStateMap",{get:function(){var e;return null===(e=this.sourceState)||void 0===e?void 0:e.buffer.bufferStateMap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playerStateService",{get:function(){return this.serviceManager.get(r.ServiceName.PlayerStateService)},enumerable:!1,configurable:!0}),e.prototype.getTimeForNextSegment=function(e){var t,n,r,o,a=(0,i.findFromEnd)(this.streamTimelineState[e]||[],s),u=null===(t=this.bufferStateMap)||void 0===t?void 0:t[e],c=[a,(null===(n=null==u?void 0:u.loadedRanges)||void 0===n?void 0:n[u.loadedRanges.length-1])||(null===(r=null==u?void 0:u.rendererRanges)||void 0===r?void 0:r[u.rendererRanges.length-1])].filter((function(e){return e})).map((function(e){return e.end})),l=Math.max.apply(Math,c);return isFinite(l)?l:(null===(o=this.playerStateService)||void 0===o?void 0:o.seekingOrTimeshifting)?this.playerStateService.targetPlaybackTime:0},e.prototype.dispose=function(){},e}();function s(e){return[o.StreamTimeRangeType.Loading,o.StreamTimeRangeType.Failed].includes(e.type)}t.StreamTimeService=a},23414:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TechnologyChecker=void 0;var r=n(91520),i=n(16368),o=function(){function e(){}return e.prototype.getSupportedTechnologies=function(){return r.ModuleManager.has(i.ModuleName.RendererMse)?r.ModuleManager.get(i.ModuleName.RendererMse).technologyChecker.getSupportedTechnologies():[]},e}();t.TechnologyChecker=o},21918:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TimeShiftHandler=void 0;var r=n(18665),i=n(62510),o=n(331),a=n(70016),s=n(91520),u=n(16368),c=n(59839),l=n(22645),d=n(87062),_=n(93109),f=function(){function e(e,t,n,i){var o=this;this.onSeek=function(){o.updateInitialTimeShiftContext(!0)},this.onSeeked=function(){var e=o.context.renderer.getCurrentTime(!0),t=e-o.getTimeShiftLiveEdge();o.updateTimeShiftStateAfterSeek(t,e)},this.context=e,this.mediaPlayerController=t,this.bufferController=n,this.segmentControllers=Object.keys(i).map((function(e){return i[e]})),this.manifestService=e.serviceManager.get(r.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.logger=e.logger,this.eventHandler=e.eventHandler,this.timeShiftCounter=0,this.sourceIdentifier=e.sourceContext.sourceIdentifier,this.setupEventHandlers()}return e.prototype.isLowLatency=function(){var e=(0,d.isLowLatencyConfigured)(this.context),t=(0,_.isPlayingLowLatencyHls)(this.context);return e||t},e.prototype.calculateLiveEdgeInVideoTime=function(){var e;if(this.initialTimeShiftContext&&!this.initialTimeShiftContext.isOngoing){var t=(0,o.toSeconds)(Date.now()-this.initialTimeShiftContext.timestamp);e=this.initialTimeShiftContext.liveEdge+t}else e=this.getInitialLiveEdge();return isFinite(e)||(e=(0,o.toSeconds)(Date.now()-this.manifestService.getAvailabilityStartTime())),e},e.prototype.getInitialLiveEdge=function(){var e=this.calculateMpdHandlerLiveEdge();if(!this.isLowLatency())return e;var t=this.segmentControllers.reduce((function(e,t){return Math.min(e,t.getMPDHandler().getSegmentDuration())}),1/0),n=this.getWallclockTimeInSeconds();return n-e<t?n:e},e.prototype.getWallclockTimeInSeconds=function(){var e=this.context.serviceManager.maybeCall(r.ServiceName.SynchronizedTimeService,(function(e){return e.getTimeDifference()}),0,this.context.sourceContext.sourceIdentifier);return(0,o.toSeconds)(Date.now()+e)},e.prototype.calculateMpdHandlerLiveEdge=function(){return this.segmentControllers.map((function(e){return e.getLiveEdgeTime()})).reduce((function(e,t){return t<e&&t>=0?t:e}),1/0)},e.prototype.updateSegmentControllers=function(e){this.segmentControllers=Object.values(e)},e.prototype.getMaxTimeShift=function(){if(this.manifestService.getManifest()){var e=this.manifestService.getTimeShiftBufferDepthSeconds();return Math.min(e+this.manifestService.getDesiredDistanceToLiveEdge(),0)}return 0},e.prototype.getTimeShiftLiveEdge=function(){return this.calculateLiveEdgeInVideoTime()-this.manifestService.getDesiredDistanceToLiveEdge()},e.prototype.getTimeShift=function(){var e=this.getActualTimeShift();if(this.lastTimeShiftStatus){var t=(0,o.toSeconds)(Date.now()-this.lastTimeShiftStatus.completionDate)-(this.mediaPlayerController.getCurrentTime()-this.lastTimeShiftStatus.reachedTime);if(Math.abs(t)<this.context.settings.ACCEPTABLE_TIMESHIFT_INACCURACY)return this.lastTimeShiftStatus.offset}var n=this.getMaxTimeShift();return e<n&&(e=n),e>0&&(e=0),e},e.prototype.getActualTimeShift=function(e){return void 0===e&&(e=!1),!this.initialTimeShiftContext||this.initialTimeShiftContext.isOngoing?0:(e?this.mediaPlayerController.getBufferRelevantTime():this.mediaPlayerController.getCurrentTime())-this.getTimeShiftLiveEdge()},e.prototype.getDistanceToRealLiveEdge=function(){return this.calculateLiveEdgeInVideoTime()-this.mediaPlayerController.getBufferRelevantTime()},e.prototype.adjustTargetTime=function(e){var t=this.manifestService.getPeriodIdForTime(e),n=!this.manifestService.isLastPeriod(t),r=this.manifestService.isTimeNearPeriodEnd(e,this.context.settings.END_OF_BUFFER_TOLERANCE);if(n&&r){var i=this.manifestService.getNextPeriod(t);this.logger.debug("Timeshift target too close to end of period ".concat(t,", adjusting target from ").concat(e)+" to ".concat(i.start,", i.e. next period's start.")),e=i.start}return e},e.prototype.timeShift=function(e,t,n){var r=this;void 0===n&&(n=!1);var i=Boolean(this.initialTimeShiftContext);i||this.adjustTargetBufferLevel(),e=Math.max(this.getMaxTimeShift(),e);var o=this.mediaPlayerController.getCurrentTime(),s=this.calculatePlaybackTimeForTimeShiftOffset(e),u=this.manifestService.getPeriodIdForTime(s);this.timeShiftCounter++;var c=this.timeShiftCounter,l=n||this.bufferController.shouldBuffersBeClearedOnTimeshift(s);return this.logger.debug("Performing timeShift to offset ".concat(e,", time: ").concat(o," -> ").concat(s,", period: ").concat(u)),this.bufferController.setTimeshiftCancelState(!1),(0,a.isDefined)(u)&&this.mediaPlayerController.updatePeriodForTimeshift(u,!i,l),i&&this.maybeResetTransmuxerForPtsRollover(s),l&&this.segmentControllers.forEach((function(e){return e.seekTo(s)})),this.updateInitialTimeShiftContext(!0),this.bufferController.setCurrentTime(s,u,!0,n).then((function(n){r.updateInitialTimeShiftContext(!1),r.lastTimeShiftStatus={offset:e,completionDate:Date.now(),reachedTime:n},r.timeShiftCounter===c&&t?(r.logger.debug("Successfully timeShifted to ".concat(n,", hit target time with a diff of ").concat(n-s)),t()):t&&r.context.logger.debug("Timeshift to ".concat(e," has finished but a newer operation has been started"))})).catch((function(e){r.logger.debug("Failed to set currentTime on timeShift",e)})).finally((function(){return r.bufferController.setTimeshiftCancelState(!1)}))},e.prototype.maybeResetTransmuxerForPtsRollover=function(e){var t;if(this.manifestService.isHlsManifest()){var n=this.context.serviceManager.get(r.ServiceName.SourceStoreService,this.sourceIdentifier);(function(e,t){var n,r,i=null!==(r=null===(n=null==e?void 0:e.timestampRolloverPositions)||void 0===n?void 0:n.next)&&void 0!==r?r:-1;return-1!==i&&(t>=i||t<=e.timestampRolloverPositions.previous)})(null===(t=s.ModuleManager.get(u.ModuleName.HLS))||void 0===t?void 0:t.selectors.getHlsState(null==n?void 0:n.getState()),e)&&(this.context.logger.debug("Resetting transmuxer because target is beyond a timestamp rollover"),this.mediaPlayerController.resetTransmuxer())}},e.prototype.cancel=function(){this.context.logger.debug("Cancelling ongoing time shift operation..."),this.bufferController.setTimeshiftCancelState(!0)},e.prototype.calculatePlaybackTimeForTimeShiftOffset=function(e){var t=this.manifestService.getDesiredDistanceToLiveEdge(),n=this.calculateLiveEdgeInVideoTime(),r=n+(e-t);return this.manifestService.hasMultiplePeriods()?this.adjustTargetTime(r):0===e&&this.isLowLatency()?Math.min(n,r+this.context.settings.LOW_LATENCY_SEEK_AHEAD):r},e.prototype.onManifestUpdate=function(){this.manifestService.isLive()&&(this.adjustTargetBufferLevel(),this.getActualTimeShift(!0)<this.getMaxTimeShift()-this.getMinSegmentDuration()&&this.context.eventHandler.dispatchEvent(i.PlayerEvent.DVRWindowExceeded),this.removeDroppedOutFailedBufferRanges())},e.prototype.removeDroppedOutFailedBufferRanges=function(){var e=this;this.context.serviceManager.maybeCall(r.ServiceName.SourceStoreService,(function(t){var n,r=e.manifestService.getTimeShiftBufferDepthSeconds(),i=e.calculateLiveEdgeInVideoTime()+r,o=null===(n=t.getState())||void 0===n?void 0:n.streamTimeline;void 0!==o&&Object.keys(o).forEach((function(e){t.dispatch((0,c.removeStreamTimeRange)(e,{start:0,end:i},l.StreamTimeRangeType.Failed))}))}))},e.prototype.isTimeInBufferedRange=function(e){return this.bufferController.isTimeInBufferedRange(e)},e.prototype.getMinSegmentDuration=function(){return this.segmentControllers.reduce((function(e,t){return Math.min(e,t.getMPDHandler().getSegmentDuration())}),1/0)},e.prototype.adjustTargetBufferLevel=function(){this.context.bufferSettings.setTargetBufferLevelConstraints({minimumBufferLength:this.getMinSegmentDuration(),currentDistanceToLiveEdge:this.getDistanceToRealLiveEdge(),streamDuration:Math.abs(this.manifestService.getTimeShiftBufferDepthSeconds())})},e.prototype.updateTimeShiftStateAfterSeek=function(e,t){this.lastTimeShiftStatus={completionDate:Date.now(),reachedTime:t,offset:e},this.updateInitialTimeShiftContext(!1)},e.prototype.updateInitialTimeShiftContext=function(e){(!this.initialTimeShiftContext||!e&&this.initialTimeShiftContext.isOngoing)&&(this.initialTimeShiftContext={timestamp:Date.now(),liveEdge:this.calculateLiveEdgeInVideoTime(),isOngoing:e})},e.prototype.setupEventHandlers=function(){this.eventHandler.on(i.PlayerEvent.Seek,this.onSeek,!0),this.eventHandler.on(i.PlayerEvent.Seeked,this.onSeeked,!0)},e.prototype.removeEventHandlers=function(){this.eventHandler.off(i.PlayerEvent.Seek,this.onSeek),this.eventHandler.off(i.PlayerEvent.Seeked,this.onSeeked)},e.prototype.dispose=function(){this.removeEventHandlers(),this.bufferController.setTimeshiftCancelState(!0)},e}();t.TimeShiftHandler=f},55937:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferBlock=t.EncryptionState=void 0;var r,i=n(79814),o=n(37702);!function(e){e.Encrypted="encrypted",e.Clear="clear"}(r||(t.EncryptionState=r={}));var a=function(){function e(e){this.id=e,this.cachedSegments=[],this.blockStateMap=new Map}return e.prototype.addSegment=function(e){var t=e.getMimeType();e.isInit()&&this.removeLastInitSegment(t),void 0===this.periodId&&(this.periodId=e.getPeriodId());var n=e.isInit()?0:e.getDuration();this.cachedSegments.push({segment:e}),e.isInit()||(this.setMaxSegmentDuration(t,Math.max(n,this.getMaxSegmentDuration(t))),this.updatePlaybackTimeRange(e,t)),e.setBufferBlockId(this.id),this.updateMediaTypes(e)},e.prototype.setSegregationCriteria=function(e,t){this.blockStateMap.has(t)||this.initializeBlockStateMapForMimeType(t),this.getBlockState(t).segregationCriteria=e},e.prototype.initializeBlockStateMapForMimeType=function(e){var t={};return this.blockStateMap.set(e,t),t},e.prototype.updateMediaTypeForMimeType=function(e){var t=this.getBlockState(e.mimeType)||this.initializeBlockStateMapForMimeType(e.mimeType);t.mediaType?(s(e,"codec",(function(e){t.mediaType.codec=e})),s(e,"timestampOffset",(function(e){t.mediaType.timestampOffset=e})),s(e,"timescale",(function(e){t.mediaType.timescale=e}))):t.mediaType=e},e.prototype.getSegregationCriteria=function(e){var t;return null===(t=this.getBlockState(e))||void 0===t?void 0:t.segregationCriteria},e.prototype.updateMediaTypes=function(e){var t=e.getMimeType(),n=this.getMediaType(t);n?(null===n.codec&&(n.codec=e.getCodec()),null==n.timescale&&(n.timescale=e.getTimescale())):(this.blockStateMap.has(t)||this.blockStateMap.set(t,{}),this.getBlockState(t).mediaType={mimeType:t,codec:e.getCodec(),timestampOffset:0,timescale:e.getTimescale()})},e.prototype.getMediaType=function(e){var t,n;return null!==(n=null===(t=this.getBlockState(e))||void 0===t?void 0:t.mediaType)&&void 0!==n?n:null},e.prototype.addMediaType=function(e){i.MimeTypeHelper.isAV(e.mimeType)&&!this.getMediaType(e.mimeType)&&(this.blockStateMap.has(e.mimeType)||this.initializeBlockStateMapForMimeType(e.mimeType),this.getBlockState(e.mimeType).mediaType=e)},e.prototype.removeMediaType=function(e){this.clearSegments(e),this.blockStateMap.delete(e)},e.prototype.hasMediaType=function(e){var t,n;return null!==(n=null===(t=this.blockStateMap)||void 0===t?void 0:t.has(e))&&void 0!==n&&n},e.prototype.getMediaTypes=function(){return(0,o.getValues)(this.blockStateMap).map((function(e){return e.mediaType}))},e.prototype.getMediaTypesWithoutSubs=function(){return this.getMediaTypes().filter((function(e){return i.MimeTypeHelper.isAV(e.mimeType)}))},e.prototype.removeSegment=function(e){var t=this.cachedSegments.findIndex((function(t){return t.segment===e}));t>-1&&this.cachedSegments.splice(t,1)},e.prototype.clearSegments=function(e){this.cachedSegments=this.cachedSegments.filter((function(t){return t.segment.getMimeType()!==e}));var t=this.getBlockState(e);t&&(t.playbackTimeRange=void 0)},e.prototype.getPrecedingSegments=function(e,t){var n=[];return this.cachedSegments.forEach((function(r){var i=r.segment,o=i.isInit(),a=i.getMimeType()!==e;!o&&!a&&i.getPlaybackTime()+i.getDuration()<t&&n.push(i)})),n},e.prototype.updatePlaybackTimeRange=function(e,t){var n=this.getPlaybackTimeRange(t),r=e.getPlaybackTime(),i=r+e.getDuration();n?(r<n.start&&(n.start=r),i>n.end&&(n.end=i)):this.getBlockState(t).playbackTimeRange={start:r,end:i}},e.prototype.getPlaybackTimeRange=function(e){var t,n;return null!==(n=null===(t=this.getBlockState(e))||void 0===t?void 0:t.playbackTimeRange)&&void 0!==n?n:null},e.prototype.getId=function(){return this.id},e.prototype.getPeriodId=function(){return this.periodId},e.prototype.getMinCommonStartTime=function(){return(0,o.getValues)(this.blockStateMap).filter((function(e){return e.playbackTimeRange})).map((function(e){return e.playbackTimeRange})).reduce((function(e,t){return Math.max(t.start,e)}),-1/0)},e.prototype.getCommonPlaybackTimeRanges=function(){return(0,o.getValues)(this.blockStateMap).filter((function(e){return e.playbackTimeRange})).map((function(e){return e.playbackTimeRange})).reduce((function(e,t){return{start:Math.max(t.start,e.start),end:Math.min(t.end,e.end)}}),{start:-1/0,end:1/0})},e.prototype.setMaxSegmentDuration=function(e,t){this.blockStateMap.has(e)||this.initializeBlockStateMapForMimeType(e),this.getBlockState(e).maxSegmentDuration=t},e.prototype.getMaxSegmentDuration=function(e){var t;return(null===(t=this.getBlockState(e))||void 0===t?void 0:t.maxSegmentDuration)||0},e.prototype.hasMaxSegmentDuration=function(e){var t;return null!=(null===(t=this.getBlockState(e))||void 0===t?void 0:t.maxSegmentDuration)},e.prototype.hasMaxSegmentDurations=function(){return Boolean((0,o.getValues)(this.blockStateMap).map((function(e){return e.maxSegmentDuration})).find((function(e){return e>=0})))},e.prototype.getMinMaxSegmentDuration=function(){var e=Number.MAX_VALUE;return(0,o.getValues)(this.blockStateMap).map((function(e){return e.maxSegmentDuration})).forEach((function(t){return e=t<e?t:e})),e},e.prototype.getAllSegmentsForMimeType=function(e){return this.getAllSegments().filter((function(t){return t.getMimeType()===e}))},e.prototype.getAllSegments=function(){return this.cachedSegments.map((function(e){return e.segment}))},e.prototype.hasDataSegments=function(e){return this.cachedSegments.some((function(t){return!t.segment.isInit()&&t.segment.getMimeType()===e}))},e.prototype.hasSegments=function(){return this.getAllSegments().length>0},e.prototype.getNextSegment=function(){var e=this.cachedSegments.filter((function(e){return!e.pendingRemoval}));if(0===e.length)return null;var t=e.find((function(t){return e.filter((function(e){return t.segment.getMimeType()===e.segment.getMimeType()})).some((function(e){return!e.segment.isInit()}))}));return t?(t.pendingRemoval=!0,t.segment):null},e.prototype.removeLastInitSegment=function(e){var t=this.getAllSegmentsForMimeType(e);if(t.length>0){var n=t[t.length-1];n.isInit()&&this.removeSegment(n)}},e.prototype.getBlockState=function(e){return this.blockStateMap.get(e)},Object.defineProperty(e.prototype,"mediaTypes",{get:function(){var e={};return this.blockStateMap.forEach((function(t,n){e[n]=t.mediaType})),e},enumerable:!1,configurable:!0}),e}();function s(e,t,n){e.hasOwnProperty(t)&&n(e[t])}t.BufferBlock=a},73022:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.areBufferBlocksEqual=function(e,t){return!(!e||!t)&&e===t}},80858:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferController=void 0;var i=n(92712),o=n(25550),a=n(28764),s=n(63546),u=n(35148),c=n(18665),l=n(60997),d=n(62510),_=n(33696),f=n(94304),h=n(76650),p=n(28819),g=n(8272),v=n(58975),m=n(76420),y=n(96873),b=n(33669),S=n(3464),E=n(43485),$=n(10981),T=n(53968),A=n(79814),C=n(331),P=n(70016),I=n(46462),w=n(91520),M=n(16368),k=n(41108),O=n(77874),R=n(72788),D=n(58211),L=n(16280),x=n(68294),N=n(59839),U=n(14764),B=n(22645),F=n(55937),j=n(16492),H=n(15109),V=n(27076),W=n(42346),q=n(19724),G=function(){function e(e,t,n,r){var i=this;this.currentRendererMediaTypes=[],this.startupPlaybackTime=null,this.isAlreadyStarted=!1,this.isStartup=!0,this.isClearingBuffers=!1,this.finishPlayback=!1,this.hasStreamEndedInternal=!1,this.activeInitSegments={},this.bufferMaxSizeChangedSubscriptionMap={},this.isTimeshiftCancelled=!1,this.updateTotalDuration=function(){i.totalDuration=i.manifestService.getTotalDuration(),i.totalDuration>(i.renderer.getDuration()||0)&&i.setDurationOnRenderer()},this.setDurationOnRenderer=function(){i.finishPlayback||i.renderer.setDuration(i.totalDuration)},this.onRendererSetupFailed=function(e){i.context.logger.debug("Renderer setup failed with",e)},this.onVideoElementTimeUpdate=function(){Date.now()-i.lastBackwardBufferClearingTimestamp>i.minimalBackwardBufferClearingInterval&&i.canClearBackwardBuffer()&&i.maintainBackwardBufferLevel(),i.checkIfEndOfBufferReached(i.settings.END_OF_BUFFER_TOLERANCE)},this.onTimeNotAdvancing=function(){var e,t=i.settings.END_OF_BUFFER_RECOVERY_TOLERANCE,n=null===(e=i.segmentStore)||void 0===e?void 0:e.getBufferBlock(i.currentPlayingBufferBlockId);n&&i.isAtEndOfBufferBlock()&&(t=i.segmentStore.getSmallestMaxSegmentDuration(n)),i.checkIfEndOfBufferReached(t)},this.onVideoElementEnded=function(){var e;if(!(0,T.isSwitchingBufferBlocks)(i.getSourceStore())){var t=null===(e=i.segmentStore)||void 0===e?void 0:e.getNextBufferBlock(i.currentPlayingBufferBlockId);if(t){var n=i.renderer.getCurrentTime(!0);i.tryToSwitchBufferBlock(n,t)}}},this.onVideoElementStalled=function(){i.checkIfEndOfBufferReached(i.settings.END_OF_BUFFER_RECOVERY_TOLERANCE)},this.context=e,this.logger=e.logger,this.settings=e.settings,this.bufferSettings=e.bufferSettings,this.eventHandler=e.eventHandler,this.renderer=e.renderer,this.manifestService=e.serviceManager.get(c.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.segmentStore=new W.SegmentStore(this.context,this.settings),this.endStallAtGapCallback=t,this.bufferStallingService=new H.BufferStallingService(this.getPlayerStateService(),this.logger,this.context.renderer),this.currentPlayingPeriodId=r,this.lastPlayingPeriodId=null,this.totalDuration=n,this.currentPlayingBufferBlockId=W.INITIAL_BUFFER_BLOCK_ID,this.dataSegmentsPushedMap=new Map,this.isEndOfStreamReached=!1,this.lastBackwardBufferClearingTimestamp=0,this.minimalBackwardBufferClearingInterval=(0,C.toMilliSeconds)(this.context.settings.MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL),this.discontinuitySequenceNumbers=new Map,this.currentBufferBlockDeferredReject=new V.DeferredReject,this.drmConfigValidPromise=Promise.resolve(null),this.bufferRangesCache=new j.BufferRangesCache(this.context,this.segmentStore),this.subscribeToPlaybackStoppedStateChange(),this.renderer.ready().then((function(){i.setDurationOnRenderer(),i.shouldSendLicenseRequestsImmediately()&&i.setupDRM()})).catch(this.onRendererSetupFailed),this.unsubscribeFromStoreSeekedListener=(0,S.subscribe)(this.context.store)((function(e){return e&&(0,v.getPlayerState)(e).seekState}),(function(){i.canClearBackwardBuffer()&&i.maintainBackwardBufferLevel()}),(function(e,t){return e===m.SeekState.Seeked&&t!==m.SeekState.Seeked}))}return e.prototype.subscribeToPlaybackStoppedStateChange=function(){var e=this,t=this.context.store;void 0!==t&&(this.unsubscribeFromStoreStoppedListener=(0,S.subscribe)(t)((function(e){return e&&(0,v.getIsStopped)((0,v.getPlayerState)(e))}),(function(){return e.hasStreamEndedInternal=!0}),(function(e){return!0===e})))},Object.defineProperty(e.prototype,"isCurrentlyStalled",{get:function(){return this.bufferStallingService.isRendererStalling()},enumerable:!1,configurable:!0}),e.prototype.shouldSendLicenseRequestsImmediately=function(){var e,t;return Boolean(null===(t=(0,x.getDrmState)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState()))||void 0===t?void 0:t.immediateLicenseRequest)},e.prototype.createSourceBuffers=function(e){var t=this,n=Promise.resolve();return this.bufferCreationDeferred=new $.Deferred,this.isStartup||(n=this.renderer.shutdown(!0)),this.activeInitSegments={},this.bufferCreationDeferred.resolve(n.then((function(){return t.renderer.ready()})).then((function(){return t.setDurationOnRenderer(),t.clearBufferMaxSizeChangedSubscription(),e.forEach((function(e){var n=e.mimeType;t.addMimeTypeAndCodec(n,e.codec)||(t.logger.debug("Could not create source buffer for ".concat(n)),t.context.store.dispatch((0,h.removeMetricsForMimeType)(n))),t.subscribeToBufferMaxSizeChanged(n)})),t.currentRendererMediaTypes=e.filter((function(e){return A.MimeTypeHelper.isAV(e.mimeType)})),t.setupDRM(),Promise.resolve(t.currentRendererMediaTypes.length)}))),this.bufferCreationDeferred.promise.catch((function(e){return t.logger.warn(e)})).then((function(){t.bufferCreationDeferred=null})),this.bufferCreationDeferred.promise},e.prototype.subscribeToBufferMaxSizeChanged=function(e){var t=this,n=this.getSourceStore();n&&(this.bufferMaxSizeChangedSubscriptionMap[e]=n.subscribe((function(){return t.adjustMaxBufferLevels(e)}),(0,b.hasBufferMaxSizeChanged)(e)))},e.prototype.unsubscribeFromBufferMaxSizeChanged=function(e){var t=this.bufferMaxSizeChangedSubscriptionMap[e];t&&(t(),delete this.bufferMaxSizeChangedSubscriptionMap[e])},e.prototype.setupDRM=function(){var e,t=this,n=(0,x.getDrmState)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState());if(void 0!==n&&Object.keys(n).length>0){var i=r(r({},this.context.sourceContext.source),{drm:n}),o=this.manifestService.getDRMCapabilitiesForPeriod(this.currentPlayingPeriodId);Object.keys(f.KeySystemMap).some((function(e){return i.drm.hasOwnProperty(e)}))&&(this.drmConfigValidPromise=this.renderer.setDrmConfig(n,o),this.drmConfigValidPromise.catch((function(){t.logger.warn("Could not initialize renderer with given DRM config")})))}},e.prototype.getSourceStore=function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(c.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeWaitForBufferClearingPromise=function(){var e=this;return this.timeshiftBufferClearingPromise?this.timeshiftBufferClearingPromise.catch((function(){return e.timeshiftBufferClearingPromise=void 0,e.isTimeshiftCancelled=!0,Promise.reject("Failed to clear buffer on timeshift, stopping segment cache processing")})).then((function(){return e.timeshiftBufferClearingPromise=void 0,e.isTimeshiftCancelled?(e.isTimeshiftCancelled=!1,Promise.reject("Timeshift cancelled, stopping segment cache processing")):Promise.resolve()})):Promise.resolve()},e.prototype.addSegment=function(e){var t=this;if(!this.segmentStore)return Promise.reject("Skipping segment processing, segment store is already disposed");this.logger.insane("adding segment to cache for period ".concat(e.getPeriodId()," with playback time ").concat(e.getPlaybackTime()," and mime type ").concat(e.getMimeType())),this.segmentStore.addSegment(e),this.subscribeToManifestChange();var n=(0,B.getTrackIdentifier)(e.getSegmentInfo()),r=this.getSourceStore(),i=e.getPlaybackTimeRange();if(i&&(null==r||r.dispatch((0,N.removeStreamTimeRange)(n,i,B.StreamTimeRangeType.Loading))),null==r||r.dispatch((0,y.addLoadedRange)(n,(0,L.segmentToBufferBlockTimeRange)(e))),!this.areBufferBlockMediaTypesFinalForPeriod(e.getPeriodId()))return Promise.resolve();var o=Promise.resolve();if(this.delayedBufferBlockSwitchContext){var a=this.delayedBufferBlockSwitchContext.time,s=this.findBufferBlockForTime(a);if(!this.segmentStore.canSwitchToBufferBlock(s))return Promise.resolve();o=this.maybeWaitForBufferClearingPromise().then((function(){return t.tryToSwitchBufferBlock(a,s)}))}else if((0,T.isSwitchingBufferBlocks)(this.getSourceStore())||this.isBufferAvailable()||this.bufferCreationDeferred)this.bufferCreationDeferred&&(o=this.bufferCreationDeferred.promise);else{var u=this.segmentStore.getBufferBlockForSegment(e),c=null==u?void 0:u.getMediaTypes();if(!c)return this.logger.debug("Chosen buffer block for segment unexpectedly had no mediaTypes"),Promise.resolve();o=this.createSourceBuffers(c)}return o.then((function(){return t.renderer?t.renderer.ready():Promise.reject("Stopping queue processing, renderer is not available")})).then((function(){return t.processSegmentCache()}))},e.prototype.removePrecedingSegmentsFromStore=function(e,t){var n=this;this.segmentStore&&this.segmentStore.getPrecedingSegments(e,t).forEach((function(e){var t;n.segmentStore.removeSegment(e),null===(t=n.getSourceStore())||void 0===t||t.dispatch((0,y.removeLoadedRange)(e.getMimeType(),(0,L.segmentToBufferBlockTimeRange)(e)))}))},e.prototype.clearBackwardBuffer=function(e,t){var n=this;return this.removePrecedingSegmentsFromStore(e,t),this.lastBackwardBufferClearingTimestamp=Date.now(),this.renderer.removeData(e,0,t).catch((function(t){return n.logger.debug("Error clearing ".concat(e," backward buffer:"),t)}))},e.prototype.updateBackwardBufferClearingInterval=function(){if(this.segmentStore){var e=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId),t=e?this.segmentStore.getSmallestMaxSegmentDuration(e):-1;this.minimalBackwardBufferClearingInterval=(0,C.toMilliSeconds)(Math.max(t/2,this.context.settings.MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL))}},e.prototype.maintainBackwardBufferLevel=function(){var e,t,n=this;this.updateBackwardBufferClearingInterval();var r=null===(e=this.segmentStore)||void 0===e?void 0:e.getBufferBlock(this.currentPlayingBufferBlockId),i=this.renderer.getCurrentTime(),o=(0,b.getBufferStateMap)(null===(t=this.getSourceStore())||void 0===t?void 0:t.getState());o&&Object.keys(o).forEach((function(e){var t,a=null===(t=(0,b.getRendererBufferedRanges)(o,e)[0])||void 0===t?void 0:t.start,s=A.MimeTypeHelper.getMediaType(e);if(void 0!==a&&(null==r?void 0:r.hasMaxSegmentDuration(e))){var u=r.getMaxSegmentDuration(e)+1,c=n.bufferSettings.getBackwardTargetLevel(s),l=Math.max(u,c),d=i-l;a<d&&n.clearBackwardBuffer(e,d).catch((function(e){n.context.logger.debug("Could not clear backward buffer",e)}))}}))},e.prototype.setEndOfStream=function(e){var t;return e&&this.suspendEosSignalling||!this.renderer?(this.logger.debug("Skipping setting EOS"),Promise.resolve()):(e&&(null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,y.setLoadingRangeFinished)(!0))),this.isEndOfStreamReached=e,this.renderer.setEndOfStream(e))},e.prototype.adjustMaxBufferLevels=function(e){var t,n=(0,b.getBufferState)(null===(t=this.getSourceStore())||void 0===t?void 0:t.getState()),r=void 0!==n?(0,b.getBufferMaxSize)(n,e):b.DefaultBufferMaxSize;if(this.logger.debug("Exceeded quota for ".concat(e," with ").concat(r," seconds of data in the buffers")),!this.context.settings.NO_QUOTA_EXCEEDED_ADJUSTMENT){var i=this.renderer.getCurrentTime(),o=this.segmentStore.getSmallestSafeBufferSize(i,e);this.bufferSettings.adjustMaxBufferLevels(o,e,r)}},e.prototype.getLowestPlaybackTimeForAllSegments=function(e){return e.filter((function(e){return!e.isInit()})).map((function(e){return e.getPlaybackTime()})).reduce((function(e,t){return Math.min(t,e)}),0)},e.prototype.updateTimestampOffsetForNegativePlaybackTime=function(){var e=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId),t=this.segmentStore.getAllSegmentsFromBufferBlock(e).toArray(),n=this.getLowestPlaybackTimeForAllSegments(t);n<0&&(this.eventHandler.dispatchEvent(d.PlayerEvent.Warning,new s.PlayerWarning(u.WarningCode.PLAYBACK_NEGATIVE_DECODING_TIMESTAMP_ENCOUNTERED)),this.logger.debug("Encountered negative DTS ".concat(n,", attempting to correct PTO...")),this.currentRendererMediaTypes.forEach((function(e){null!=e.timestampOffset&&(e.timestampOffset+=n,t.filter((function(t){return t.getMimeType()===e.mimeType})).forEach((function(t){return t.setPresentationTimeOffset(e.timestampOffset)})))})))},e.prototype.processSegmentCache=function(){var e=this;return this.isStartup?this.isStartupThresholdReached()?(this.updateTimestampOffsetForNegativePlaybackTime(),this.updateTimestampOffsets(),this.pushSegmentsToRenderer(1/0).then((function(){return e.endStartupPhase()}))):Promise.resolve():this.pushSegmentsToRenderer(1/0)},e.prototype.getBufferedRangesMap=function(e,t){var n;void 0===e&&(e=this.currentPlayingPeriodId),void 0===t&&(t=!0);var r=(0,b.getBufferState)(null===(n=this.getSourceStore())||void 0===n?void 0:n.getState());return e&&void 0!==r?t?this.bufferRangesCache.getRanges(r):(0,b.getRendererBufferRangesMap)(this.segmentStore,r)(e,this.currentPlayingBufferBlockId):{}},e.prototype.addSegmentsFromCacheToRenderer=function(e,t){var n=this;if(!this.segmentStore)return Promise.resolve();var r=this.segmentStore.getAllSegmentsFromBufferBlock(e),o=r.hasNext()&&r.next();return o?(this.segmentStore.removeSegment(o),o.getPeriodId()!==this.currentPlayingPeriodId&&(this.context.store.dispatch((0,R.periodSwitchStarted)(o.getPeriodId())),this.eventHandler.dispatchEvent(d.PlayerEvent.PeriodSwitch,{sourcePeriod:{periodId:this.currentPlayingPeriodId},targetPeriod:{periodId:o.getPeriodId()}})),this.addDataSegmentToRenderer(o).catch((function(e){n.logger.warn("Could not add segment to renderer mimeType: ".concat(o.getMimeType(),",\n        playbackTime: ").concat(o.getPlaybackTime()),e)})).then((function(){var r;o.isInit()||null===(r=n.getSourceStore())||void 0===r||r.dispatch((0,y.removeLoadedRange)(o.getMimeType(),(0,L.segmentToBufferBlockTimeRange)(o))),n.dataSegmentsPushedMap.set(o.getMimeType(),!o.isInit());var a=i.BufferRangeHelper.getTotalCommonBufferLength(n.getBufferedRangesMap(n.currentPlayingPeriodId));return n.currentPlayingPeriodId=o.getPeriodId(),!(0,T.isSwitchingBufferBlocks)(n.getSourceStore())||a<t?n.addSegmentsFromCacheToRenderer(e,t):Promise.resolve()}))):Promise.resolve()},e.prototype.dispatchFinishPeriodSwitch=function(){var e;this.currentPlayingPeriodId!==this.lastPlayingPeriodId&&(this.lastPlayingPeriodId&&(null===(e=this.context.store)||void 0===e||e.dispatch((0,R.periodSwitchFinished)(this.currentPlayingPeriodId))),this.lastPlayingPeriodId=this.currentPlayingPeriodId)},e.prototype.hasFinishedLoadingPeriod=function(e){var t,n,r=this.hasStopped(),i=null===(t=this.segmentStore)||void 0===t?void 0:t.isLoadingNextBufferBlock(this.currentPlayingBufferBlockId),o=null===(n=this.segmentStore)||void 0===n?void 0:n.hasSegmentsForBufferBlock(e);return(i||r)&&!o},e.prototype.pushSegmentsToRenderer=function(e){var t=this,n=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId);return this.suspendEosSignalling=!0,this.addSegmentsFromCacheToRenderer(n,e).then((function(){var e,r;t.suspendEosSignalling=!1,t.isRestartThresholdReached()&&!t.isClearingBuffers&&t.maybeEndStalling(),t.hasFinishedLoadingPeriod(n)?(null===(e=t.getSourceStore())||void 0===e||e.dispatch((0,y.setLoadingRangeFinished)(!0)),t.logger.debug("Finished loading Period: ".concat(t.currentPlayingPeriodId,", signaling EOS")),t.hasTemporarilyReopenedMsePriorToBufferBlockSwitch?t.logger.debug("Skipped EOS signaling as a BufferBlock switch is just being executed"):t.currentBufferBlockSwitchPromise&&(0,T.isSwitchingBufferBlocks)(t.getSourceStore())?(t.logger.debug("delaying EOS signal until ongoing period switch is completed"),t.currentBufferBlockSwitchPromise.then((function(){t.setEndOfStream(!0).then((function(){return t.dispatchFinishPeriodSwitch()}))}))):t.setEndOfStream(!0).then((function(){return t.dispatchFinishPeriodSwitch()}))):(null===(r=t.getSourceStore())||void 0===r||r.dispatch((0,y.setLoadingRangeFinished)(!1)),t.dispatchFinishPeriodSwitch())}))},e.prototype.updateTimestampOffsets=function(){var e=this;this.currentRendererMediaTypes.forEach((function(t){e.renderer.setTimestampOffset(t.mimeType,-t.timestampOffset)}))},e.prototype.canClearBackwardBuffer=function(){var e,t,n=this.context.serviceManager.get(c.ServiceName.PlayerStateService);if(!n)return!1;var r=null!==(e=n.seekingOrTimeshifting)&&void 0!==e&&e,i=null===(t=this.getSourceStore())||void 0===t?void 0:t.getState(),o=i&&(0,b.getIsTimestampRollingOver)(i);return!(this.isEndOfStreamReached||(0,T.isSwitchingBufferBlocks)(this.getSourceStore())||r||o)},e.prototype.checkIfEndOfBufferReached=function(e){var t=this.renderer.getEndOfBufferTime();if(void 0===t)this.renderer.isPaused()||this.startStalling();else{var n=t-e,r=this.renderer.getCurrentTime(!0);this.shouldHandleEndOfBuffer(r,n)&&this.handleEndOfBuffer(r)}},e.prototype.shouldHandleEndOfBuffer=function(e,t){return!(0,T.isSwitchingBufferBlocks)(this.getSourceStore())&&(t<=e||this.manifestService.isLive()&&0===e)},e.prototype.resetCurrentTimeOnSegment=function(){var e,t=!0;this.dataSegmentsPushedMap.forEach((function(n,r){A.MimeTypeHelper.isVideo(r)&&(t=n,e=r)})),t||(this.context.videoElement.currentTime=this.context.videoElement.currentTime,this.dataSegmentsPushedMap.set(e,!0))},e.prototype.handleEndOfBuffer=function(e){var t,n,r=this.isAtEndOfBufferBlock(),i=null===(t=this.segmentStore)||void 0===t?void 0:t.getNextBufferBlock(this.currentPlayingBufferBlockId),o=Boolean(i);if(r&&o&&(null===(n=this.segmentStore)||void 0===n?void 0:n.areBufferBlockMediaTypesFinal(i))){var a=i.getMinCommonStartTime(),s=isFinite(a)&&a>=e?a:e;this.tryToSwitchBufferBlock(s,i)}else this.getRemainingTime()>0&&!this.finishPlayback&&(this.startStalling(),this.resetCurrentTimeOnSegment())},e.prototype.isAtEndOfBufferBlock=function(){var e,t=null===(e=this.segmentStore)||void 0===e?void 0:e.getBufferBlock(this.currentPlayingBufferBlockId);return!!t&&(!t.getNextSegment()||!!this.segmentStore&&this.segmentStore.isLoadingNextBufferBlock(t.getId()))},e.prototype.readyToSeek=function(){return this.currentBufferBlockSwitchPromise?(this.logger.debug("Awaiting ongoing buffer block switch before seek"),this.currentBufferBlockSwitchPromise.then((function(){})).catch((function(){}))):Promise.resolve()},e.prototype.shouldBuffersBeClearedOnTimeshift=function(e){var t=this.renderer.getCurrentTime();return!this.isTimeInBufferedRange(e)||e<t},e.prototype.isTimeInBufferedRange=function(e){var t,n=null===(t=this.getSourceStore())||void 0===t?void 0:t.getState();if(!n)return!1;var r=this.getBufferedRangesMap((0,D.getPlayingPeriodId)(n),!0);return i.BufferRangeHelper.isInBufferedRange(r,e)},e.prototype.maybeClearBuffers=function(e,t){return void 0===t&&(t=!1),t||this.shouldBuffersBeClearedOnTimeshift(e)?this.clearBuffersOnTimeshift():Promise.resolve()},e.prototype.setTimeshiftCancelState=function(e){this.isTimeshiftCancelled=e},e.prototype.clearBuffersOnTimeshift=function(){var e=this;return this.context.logger.debug("Clearing buffer on timeshift"),this.setEndOfStream(!1).then((function(){return e.clearBuffers()})).then((function(){return e.isTimeshiftCancelled?(e.isTimeshiftCancelled=!1,Promise.reject("cancelled timeshift")):Promise.resolve()}))},e.prototype.setCurrentTime=function(e,t,n,r){var i=this;void 0===n&&(n=!1),void 0===r&&(r=!1);var o=t||this.manifestService.getPeriodIdForTime(e),a=this.segmentStore.getBufferBlockForPlaybackTime(e),s=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId),u=Boolean(!a||a.getId()!==s.getId());if(this.isStartup&&(this.currentPlayingPeriodId=o),this.seekTarget=e,this.isStartup||this.isInBufferedRange(e,o)||this.startStalling(),n&&this.isBufferAvailable()){var c=this.timeshiftBufferClearingPromise||Promise.resolve();this.timeshiftBufferClearingPromise=c.then((function(){return i.maybeClearBuffers(e,r)})).catch((function(e){return i.logger.debug("Error clearing buffers:",e)}))}return u?a?this.tryToSwitchBufferBlock(e,a):this.delayBufferBlockSwitch(e):(this.delayedBufferBlockSwitchContext=void 0,this.renderer.setCurrentTime(e).then((function(e){return i.endStallingAfterSeek(e)})))},e.prototype.endStallingAfterSeek=function(e){return this.seekTarget=void 0,this.isRestartThresholdReached()?this.isCurrentlyStalled&&(this.logger.debug("End stalling after seek to ".concat(e)),this.maybeEndStalling()):this.logger.debug("Delay ending stall as the restart threshold is not yet reached"),Promise.resolve(e)},e.prototype.bufferBlockSwitchErrorHandler=function(e,t){var n,r,i,o,a,s=null!==(r=null===(n=this.delayedBufferBlockSwitchContext)||void 0===n?void 0:n.time)&&void 0!==r?r:t,u=(0,P.isNumber)(null===(i=this.delayedBufferBlockSwitchContext)||void 0===i?void 0:i.time)&&(null===(o=this.segmentStore)||void 0===o?void 0:o.canSwitchToBufferBlockForTime(s));if(this.logger.debug("Buffer block switch failed:",e),this.currentBufferBlockDeferredReject=new V.DeferredReject,u){this.logger.debug("Trying to continue delayed BufferBlock switch to ".concat(s,"..."));var c=this.findBufferBlockForTime(s);return this.tryToSwitchBufferBlock(s,c)}return null===(a=this.getSourceStore())||void 0===a||a.dispatch((0,y.setBufferBlockSwitchOngoing)(!1)),Promise.resolve(t)},e.prototype.findBufferBlockForTime=function(e){var t,n=this.manifestService.getPeriodIdForTime(e);return null===(t=this.segmentStore)||void 0===t?void 0:t.getTargetBufferBlock(e,n)},e.prototype.tryToSwitchBufferBlock=function(e,t){var n,r,i=this,o=function(){};if(this.currentBufferBlockDeferredReject&&this.currentBufferBlockDeferredReject.reject("BufferBlock switch interrupted by newest one"),this.currentBufferBlockDeferredReject=new V.DeferredReject,null===(n=this.getSourceStore())||void 0===n||n.dispatch((0,y.setBufferBlockSwitchOngoing)(!0)),this.delayedBufferBlockSwitchContext&&(o=this.delayedBufferBlockSwitchContext.deferred.resolve),!(null===(r=this.segmentStore)||void 0===r?void 0:r.canSwitchToBufferBlock(t)))return this.delayBufferBlockSwitch(e);this.hasTemporarilyReopenedMsePriorToBufferBlockSwitch=!0;var a=this.timeshiftBufferClearingPromise||Promise.resolve();return this.currentBufferBlockSwitchPromise=a.then((function(){return i.setEndOfStream(!1)})).then((function(){return i.delayedBufferBlockSwitchContext=void 0})).then((function(){return i.currentBufferBlockDeferredReject.next((function(){return i.clearRendererBuffers()}))})).then((function(){return i.currentBufferBlockDeferredReject.next((function(){return i.switchOrRestoreBufferBlock(t,e)}))})).then((function(e){return i.hasTemporarilyReopenedMsePriorToBufferBlockSwitch=!1,i.currentBufferBlockDeferredReject=new V.DeferredReject,o(e),e})).catch((function(t){return i.bufferBlockSwitchErrorHandler(t,e)})).finally((function(){i.currentBufferBlockSwitchPromise=void 0})),this.currentBufferBlockSwitchPromise},e.prototype.switchOrRestoreBufferBlock=function(e,t){var n,r;return this.hasStreamEnded()?(null===(n=this.currentBufferBlockDeferredReject)||void 0===n||n.reject("BufferBlock switch interrupted by source unloading"),Promise.reject("Source was unloaded")):(0,E.isTizen2017)()||(null===(r=this.segmentStore)||void 0===r?void 0:r.shouldSwitchBufferBlock(e,this.currentPlayingBufferBlockId))?this.switchBufferBlock(t,e):this.restorePlayback(t,e)},e.prototype.delayBufferBlockSwitch=function(e){(0,T.isSwitchingBufferBlocks)(this.getSourceStore())&&this.currentBufferBlockDeferredReject&&this.currentBufferBlockDeferredReject.reject("BufferBlock switch interrupted by newest one");var t=this.segmentStore.getAvailablePositionForTime(e,this.renderer.getCurrentTime());return this.delayedBufferBlockSwitchContext&&this.delayedBufferBlockSwitchContext.time===e||(this.delayedBufferBlockSwitchContext&&this.delayedBufferBlockSwitchContext.time!==e&&this.delayedBufferBlockSwitchContext.deferred.reject(),this.delayedBufferBlockSwitchContext={time:t,deferred:new $.Deferred}),this.delayedBufferBlockSwitchContext.deferred.promise},e.prototype.restorePlayback=function(e,t){var n=this;return this.updateTimestampOffsets(),this.isEndOfStreamReached=!1,this.currentPlayingBufferBlockId=t.getId(),this.segmentStore.deleteOldBufferBlocks(t.getId()),this.hasTemporarilyReopenedMsePriorToBufferBlockSwitch=!1,this.segmentStore.getBufferBlock(t.getId())?this.currentBufferBlockDeferredReject.next((function(){return n.pushSegmentsToRenderer(1/0)})).then((function(){return n.currentBufferBlockDeferredReject.next((function(){return n.setCurrentTimeOnRenderer(e)}))})).then((function(e){var t;return null===(t=n.getSourceStore())||void 0===t||t.dispatch((0,y.setBufferBlockSwitchOngoing)(!1)),n.resumePlaybackIfNotStalledOrPaused(),n.endStallingAfterSeek(e)})):(this.logger.debug("Target BufferBlock is no longer available, cancelling BufferBlock switch..."),Promise.reject("The targeted buffer BufferBlock is no longer available"))},e.prototype.resumePlaybackIfNotStalledOrPaused=function(){var e=this,t=this.getPlayerStateService();t&&(this.isCurrentlyStalled||t.isPaused()||this.renderer.play().catch((function(t){e.logger.debug("play call failed with reason: ".concat(t))})))},e.prototype.shouldRecreateSourceBuffers=function(e,t){var n,r=null===(n=this.segmentStore)||void 0===n?void 0:n.getBufferBlock(this.currentPlayingBufferBlockId);if(!r)return!0;var i=r.getPeriodId()===e.getPeriodId(),o=this.currentRendererMediaTypes.length===t.length,a=!(i||o)||!(0,q.canReuseSourceBuffer)(r,e,t);return this.allowUserToOverwriteBufferRecreationDecision(a,r,e)},e.prototype.allowUserToOverwriteBufferRecreationDecision=function(e,t,n){var r,i,o=null===(r=this.context)||void 0===r?void 0:r.sourceContext.source,a=null===(i=null==o?void 0:o.options)||void 0===i?void 0:i.shouldRecreateSourceBuffersOnPeriodSwitch;if(!a)return e;var s=Y(t),u=Y(n),c=a(s,u,e);return"boolean"==typeof c?(this.logger.debug("User overwrote default SourceBuffer recreation strategy from ".concat(e," to ").concat(c)+" for the switch from ".concat(s.periodId," to ").concat(u.periodId,".")),c):e},e.prototype.switchBufferBlock=function(e,t){var n=this;this.logger.debug("Switching buffer block for time ".concat(e));var r=t.getMediaTypesWithoutSubs(),i=this.maybeRecreateSourceBuffers(t,r);return this.currentRendererMediaTypes=r,this.currentBufferBlockDeferredReject.next((function(){return i})).then((function(){return n.currentBufferBlockDeferredReject.next((function(){return n.restorePlayback(e,t)}))})).then((function(e){return n.currentBufferBlockDeferredReject.next((function(){return n.pushSegmentsToRenderer(1/0).catch((function(){return n.context.logger.debug("Could not push segment into renderer")}))})).then((function(){return e}))}))},e.prototype.maybeRecreateSourceBuffers=function(e,t){return this.shouldRecreateSourceBuffers(e,t)?(this.logger.debug("recreating the buffers with types",t),this.createSourceBuffers(t)):Promise.resolve(0)},e.prototype.setCurrentTimeOnRenderer=function(e){var t=this,n=this.delayedBufferBlockSwitchContext;return this.delayedBufferBlockSwitchContext=void 0,this.currentBufferBlockDeferredReject.next((function(){return t.renderer.setCurrentTime(e)})).then((function(e){return n&&n.deferred&&n.deferred.resolve(e),e}))},e.prototype.addMimeTypeAndCodec=function(e,t,n){if(void 0===n&&(n=!1),!A.MimeTypeHelper.isAV(e))return!0;var r=this.renderer.addBuffer(e,t);return r&&((0,p.getMetricsState)(this.context.store.getState())[e]||this.context.store.dispatch((0,h.initializeMetricsForMimeType)(e,this.context.settings)),n||this.context.store.dispatch((0,h.addMetricsValue)(e,g.MetricType.StalledSeconds,0))),r},e.prototype.setInitialPeriod=function(e){this.currentPlayingPeriodId=e},e.prototype.getLowestBufferLevel=function(e,t){var n=this;if(!this.isBufferAvailable())return 0;var r=this.currentRendererMediaTypes.map((function(e){return e.mimeType})).map((function(r){return n.getOverallBufferLevel(r,e,_.BufferType.ForwardDuration,t)}));return r.length>0?Math.min.apply(Math,r):0},e.prototype.isStartupThresholdReached=function(){var e=Math.abs(this.manifestService.getTimeShiftBufferDepthSeconds()),t=this.bufferSettings.getForwardTargetLevel();0!==e&&(t=Math.min(t,e));var n=Math.min(this.settings.STARTUP_THRESHOLD,t-this.settings.STARTUP_THRESHOLD_DELTA),r=this.getLowestBufferLevel();return r>=n||r>=this.getRemainingTime()},e.prototype.getInitialPlaybackTime=function(){if(this.startupPlaybackTime)return this.startupPlaybackTime;var e=this.getCurrentTimeRespectingTarget();if(!this.isBufferAvailable())return e;if(this.isInBufferedRange(e))return this.startupPlaybackTime=e;var t=this.currentRendererMediaTypes.map((function(e){return e.mimeType})),n=this.segmentStore.getPlaybackTimesForBufferBlock(this.currentPlayingBufferBlockId,t);return n.some((function(e){return!isFinite(e)}))?e:this.startupPlaybackTime=Math.max.apply(Math,n)},e.prototype.getRemainingTime=function(){return this.manifestService.isLive()?1/0:this.renderer.getDuration()-this.getCurrentTimeRespectingTarget()},e.prototype.endStartupPhase=function(){if(this.isStartup){var e=Date.now(),t=(0,p.getMetricsState)(this.context.store.getState()),n=(0,p.getMetricsLastEntry)(t,"default",g.MetricType.StartTime).value,r=(0,C.toSeconds)(e-n);this.context.store.dispatch((0,h.addMetricsValue)("default",g.MetricType.StartupTimeSeconds,r)),isNaN(r)||this.logger.debug("start up time: ".concat(r)),this.isStartup=!1,this.maybeEndStalling()}},e.prototype.resetCurrentTimeInBufferedRange=function(e){var t=this.renderer.getCurrentTime(!0);e.isInit()&&A.MimeTypeHelper.isVideo(e.getMimeType())&&this.isCurrentlyStalled&&i.BufferRangeHelper.isInBufferedRange(this.getBufferedRangesMap(this.manifestService.getPeriodIdForTime(t)),t)&&(this.context.videoElement.currentTime=this.context.videoElement.currentTime)},e.prototype.processDrmInitData=function(e){var t=this;e.getDrmInitData().filter((function(e){var t;return(null===(t=e.kid)||void 0===t?void 0:t.length)>0})).forEach((function(n){return t.manifestService.setRepresentationDrmKid(e.getRepresentationId(),n.kid[0])}))},e.prototype.addDataSegmentToRenderer=function(e){var t=this,n=A.MimeTypeHelper.extractContentType(e.getMimeType());if(this.activeInitSegments[n]!==e.getInitSegment()){var r=e.getInitSegment();return this.activeInitSegments[n]=r,Promise.all([r,e].map((function(e){return t.addSegmentToRenderer(e)}))).then()}return this.addSegmentToRenderer(e)},e.prototype.addSegmentToRenderer=function(e){var t=this;return e.hasDrmInitData()&&this.processDrmInitData(e),this.drmConfigValidPromise.catch((function(n){if(e.isEncrypted())throw t.context.eventHandler.fireError(function(e){return w.ModuleManager.has(M.ModuleName.DRM)?new a.PlayerError(o.ErrorCode.DRM_NO_KEY_SYSTEM,{reason:e}):new k.PlayerModuleMissingError(M.ModuleName.DRM)}(n)),"DRMConfig failure";t.logger.debug("Problem ensuring segment, error:",n)})).then((function(){return t.resetCurrentTimeInBufferedRange(e),t.maybeSetTimestampOffsetOnDiscontinuity(e),t.renderer.appendData(e).catch((function(e){t.logger.debug("could not append data to renderer",e)}))}))},e.prototype.maybeSetTimestampOffsetOnDiscontinuity=function(e){if(!e.isInit()){var t=e.getSegmentInfo().discontinuitySequenceNumber,n=e.getMimeType();if(t!==this.discontinuitySequenceNumbers.get(n)){var r=e.getPresentationTimeOffset();if(isFinite(r)){this.renderer.setTimestampOffset(n,-r);var i=this.currentRendererMediaTypes.find((function(e){return e.mimeType===n}));i&&(i.timestampOffset=r,this.updateMediaType(e.getPeriodId(),i))}this.discontinuitySequenceNumbers.set(n,t)}}},e.prototype.isRestartThresholdReached=function(){if(!this.bufferSettings)return!1;var e=this.settings.RESTART_THRESHOLD;(0,E.isWebOS)()&&(e=Math.max(e,1.5));var t=this.bufferSettings.getForwardTargetLevel(),n=Math.min(e,t-this.settings.RESTART_THRESHOLD_DELTA,this.getRemainingTime());return this.getLowestBufferLevel()>=n},e.prototype.isAllowedToStall=function(){return!this.isStartup&&!(0,T.isSwitchingBufferBlocks)(this.getSourceStore())},e.prototype.startStalling=function(){this.isAllowedToStall()&&this.bufferStallingService.startStalling()},e.prototype.getPlayerStateService=function(){return this.context.serviceManager.get(c.ServiceName.PlayerStateService)},e.prototype.isStallingAtGap=function(e){var t=this.getPlayerStateService();if(!t)return!1;var n=this.getLowestBufferLevel(e,!1),r=n>=this.settings.RESTART_THRESHOLD,i=n>=this.getRemainingTime()||this.finishPlayback;return!r&&!i&&!t.seekingOrTimeshifting},e.prototype.maybeEndStalling=function(){if(this.isCurrentlyStalled)if((0,T.isSwitchingBufferBlocks)(this.getSourceStore()))this.logger.debug("Ending stall was aborted due to buffer block switching");else{var e=this.getCurrentTimeRespectingTarget();this.isStallingAtGap(e)?this.hasFutureCommonBuffer(e)?(this.logger.debug("Ending stall at the gap"),this.endStallAtGapCallback()):this.logger.debug("Cannot unstall yet as playback is stalling at a gap and there is no future common buffer"):this.bufferStallingService.endStalling()}},e.prototype.getCurrentTimeRespectingTarget=function(){return void 0!==this.seekTarget?this.seekTarget:this.renderer.getCurrentTime()},e.prototype.getCurrentPlayingBufferBlockId=function(){return this.segmentStore.getCurrentBufferBlockId()},e.prototype.hasPendingSegments=function(e){return e=e||this.getCurrentPlayingBufferBlockId(),this.segmentStore.getFutureBufferBlocks(e).some((function(e){return e.hasSegments()}))},e.prototype.getOverallBufferLevel=function(e,t,n,r){void 0===t&&(t=this.renderer.getCurrentTime()),void 0===n&&(n=_.BufferType.ForwardDuration),void 0===r&&(r=!0),this.isStartup&&(t=this.getInitialPlaybackTime());var o=this.getBufferedRangesMap(this.currentPlayingPeriodId)[e];return o&&0!==o.length?(o=r?i.BufferRangeHelper.mergeRanges(o.concat(i.BufferRangeHelper.findGapsInRanges(o)),this.settings.GAP_TOLERANCE):o.filter((function(e){return e.start<=t&&t<=e.end})),i.BufferRangeHelper.getBufferLevel(o,t,n)):0},e.prototype.hasFutureCommonBuffer=function(e){return void 0===e&&(e=this.renderer.getCurrentTime()),i.BufferRangeHelper.getCommonBufferedRanges(this.getBufferedRangesMap(this.currentPlayingPeriodId)).some((function(t){return t.getStart()>e}))},e.prototype.hasFutureBufferBlockData=function(){var e;return Boolean(null===(e=this.segmentStore)||void 0===e?void 0:e.getNextBufferBlock(this.currentPlayingBufferBlockId))||(0,T.isSwitchingBufferBlocks)(this.getSourceStore())},e.prototype.isInBufferedRange=function(e,t){var n=t||this.manifestService.getPeriodIdForTime(e);return i.BufferRangeHelper.isInBufferedRange(this.getBufferedRangesMap(n),e)},e.prototype.isStarted=function(){return this.isAlreadyStarted},e.prototype.hasStreamEnded=function(){return this.hasStreamEndedInternal},e.prototype.subscribeToManifestChange=function(){var e;if(!this.unsubscribeFromManifestChange){var t=this.getSourceStore();void 0!==t&&void 0!==(null===(e=t.getState())||void 0===e?void 0:e.manifest)&&(this.unsubscribeFromManifestChange=(0,S.subscribe)(t)(O.getManifest,this.updateTotalDuration,(function(e){return(null==e?void 0:e.isInitialized)||!1})))}},e.prototype.stop=function(e){void 0===e&&(e=!1),this.finishPlayback=!0,this.isAlreadyStarted=!1,this.isStartup=!1,e?(this.renderer.end(),this.hasStreamEndedInternal=!0,this.logger.debug("stopped playback"),this.renderer.off(I.MediaElementEvent.stalled,this.onVideoElementStalled),this.renderer.off(I.MediaElementEvent.waiting,this.onVideoElementStalled),this.renderer.off(I.MediaElementEvent.ended,this.onVideoElementEnded),this.renderer.off(I.MediaElementEvent.timeupdate,this.onVideoElementTimeUpdate),this.renderer.off(I.MediaElementEvent.currenttimenotadvancing,this.onTimeNotAdvancing),this.unsubscribeFromManifestChange&&(this.unsubscribeFromManifestChange(),this.unsubscribeFromManifestChange=void 0),void 0!==this.unsubscribeFromStoreStoppedListener&&(this.unsubscribeFromStoreStoppedListener(),this.unsubscribeFromStoreStoppedListener=void 0),this.clearBufferMaxSizeChangedSubscription(),this.dataSegmentsPushedMap.clear()):this.maybeEndStalling()},e.prototype.hasStopped=function(){return this.finishPlayback},e.prototype.clearBufferMaxSizeChangedSubscription=function(){var e=this;Object.keys(this.bufferMaxSizeChangedSubscriptionMap).forEach((function(t){return e.unsubscribeFromBufferMaxSizeChanged(t)}))},e.prototype.restart=function(){this.finishPlayback=!1,this.isAlreadyStarted||(this.isAlreadyStarted=!0,this.renderer.on(I.MediaElementEvent.stalled,this.onVideoElementStalled),this.renderer.on(I.MediaElementEvent.waiting,this.onVideoElementStalled),this.renderer.on(I.MediaElementEvent.ended,this.onVideoElementEnded),this.renderer.on(I.MediaElementEvent.timeupdate,this.onVideoElementTimeUpdate),this.renderer.on(I.MediaElementEvent.currenttimenotadvancing,this.onTimeNotAdvancing)),this.hasStreamEndedInternal=!1},e.prototype.dispose=function(){var e,t;this.stop(!0),this.renderer=null,this.eventHandler=null,this.settings=null,this.bufferSettings=null,this.eventHandler=null,this.segmentStore=void 0,this.activeInitSegments=null,null===(e=this.unsubscribeFromStoreSeekedListener)||void 0===e||e.call(this),null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,y.resetLoadedRanges)()),this.bufferRangesCache.dispose(),this.currentRendererMediaTypes=[],this.clearBufferMaxSizeChangedSubscription(),this.drmConfigValidPromise=null,this.bufferStallingService=(0,l.dispose)(this.bufferStallingService)},e.prototype.changeBufferType=function(e,t){var n,r,i=this.currentRendererMediaTypes.find((function(t){return A.MimeTypeHelper.getMediaType(t.mimeType)===A.MimeTypeHelper.getMediaType(e)}));return i&&(this.currentRendererMediaTypes.splice(this.currentRendererMediaTypes.indexOf(i),1),this.currentRendererMediaTypes.push({mimeType:e,codec:t,timestampOffset:0}),this.unsubscribeFromBufferMaxSizeChanged(i.mimeType),null===(r=this.getSourceStore())||void 0===r||r.dispatch((0,y.resetLoadedRanges)(i.mimeType))),this.subscribeToBufferMaxSizeChanged(e),this.segmentStore.changeMediaType(e,null==i?void 0:i.mimeType),this.activeInitSegments={},i?this.renderer.changeBufferType(e,t):Promise.resolve(((n={})[e]=t,n))},e.prototype.addRequiredMediaType=function(e,t){this.segmentStore.addRequiredMediaType(e,t)},e.prototype.updateMediaType=function(e,t){this.segmentStore.updateMediaType(e,t)},e.prototype.areBufferBlockMediaTypesFinalForPeriod=function(e){var t,n;return null!==(n=null===(t=this.segmentStore)||void 0===t?void 0:t.areBufferBlockMediaTypesFinalForPeriod(e))&&void 0!==n&&n},e.prototype.clearCacheForMimeType=function(e){var t;null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,y.resetLoadedRanges)(e)),this.segmentStore.clearSegments(e)},e.prototype.clearCache=function(){var e,t=this;Object.keys((0,U.getStreamTimeline)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState())).filter((function(e){return A.MimeTypeHelper.isAV(e)})).forEach((function(e){return t.clearCacheForMimeType(e)}))},e.prototype.clearBuffers=function(){var e=this;this.isClearingBuffers=!0,this.startStalling(),this.clearCache();var t=this.clearRendererBuffers();return t.finally((function(){return e.isClearingBuffers=!1})),t},e.prototype.clearRendererBuffers=function(){var e=this;if(!this.isBufferAvailable())return Promise.resolve();var t=this.currentRendererMediaTypes.map((function(t){return e.clearBuffer(t.mimeType)}));return Promise.all(t).then((function(){}))},e.prototype.clearBuffer=function(e){var t=this;return this.renderer.removeData(e).catch((function(n){return t.logger.debug("Error clearing ".concat(e," buffer:"),n)}))},e.prototype.isBufferAvailable=function(){return this.currentRendererMediaTypes.length>0},e}();function Y(e){return{periodId:e.getPeriodId(),contentInformation:e.getMediaTypes().map((function(t){return{codec:t.codec,mimeType:t.mimeType,isDrmProtected:e.getSegregationCriteria(t.mimeType).encryption===F.EncryptionState.Encrypted}}))}}t.BufferController=G},16492:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferRangesCache=void 0;var r=n(18665),i=n(33669),o=n(3464),a=n(28337),s=function(){function e(e,t){var n=this;this.context=e,this.segmentStore=t,this.sourceStore=this.getSourceStore(),this.unsubscribeToStoreChange=(0,o.subscribe)(e.store)(a.sourceIdentifiersSelector,(function(){return n.onSourceIdentifierChanged()}),(function(e,t){return!!e.includes(n.context.sourceContext.sourceIdentifier)&&(0,a.hasASourceStoreIdentifierChanged)(e,t)})),this.subscribeToBufferChange(),this.setNewCache((0,i.getBufferState)(this.sourceStore.getState()))}return e.prototype.onSourceIdentifierChanged=function(){this.sourceStore=this.getSourceStore(),this.sourceStore?(this.subscribeToBufferChange(),this.setNewCache((0,i.getBufferState)(this.sourceStore.getState()))):this.unsubscribeToBufferChange()},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(r.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.unsubscribeToBufferChange=function(){this.unsubscribeToBufferRangeChange&&this.unsubscribeToBufferRangeChange(),this.unsubscribeToBufferRangeChange=void 0,this.unsubscribeToStoreChange=void 0},e.prototype.subscribeToBufferChange=function(){var e=this;this.unsubscribeToBufferChange(),this.unsubscribeToBufferRangeChange=(0,o.subscribe)(this.sourceStore)((function(e){return(0,i.getBufferState)(e)}),(function(t){return e.setNewCache(t)}),i.hasBufferRangesChanged)},e.prototype.setNewCache=function(e){this.cachedBufferRanges={overallBufferRanges:(0,i.getBufferRangesMap)(this.segmentStore,e,this.context.settings.GAP_TOLERANCE)}},e.prototype.getRanges=function(e){return void 0!==this.unsubscribeToBufferRangeChange&&void 0!==this.cachedBufferRanges&&0!==Object.keys(this.cachedBufferRanges.overallBufferRanges).length||this.setNewCache(e),this.cachedBufferRanges.overallBufferRanges},e.prototype.dispose=function(){this.unsubscribeToBufferChange(),this.unsubscribeToStoreChange&&(this.unsubscribeToStoreChange(),this.unsubscribeToStoreChange=void 0),this.cachedBufferRanges=void 0},e}();t.BufferRangesCache=s},15109:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStallingService=void 0;var r=n(76420),i=n(13533),o=n(43485),a=function(){function e(e,t,n){this.playerStateService=e,this.logger=t,this.renderer=n}return e.prototype.startStalling=function(){this.isRendererStalling()||(this.logger.debug("Stalling playback at ".concat(this.renderer.getCurrentTime(!0))),this.logger.insane("Video element stall started in state: ".concat(this.playerStateService.playbackState)),this.playerStateService.setIsRendererStalling(!0),this.playerStateService.isPlaying()&&(this.logger.insane("Call pause on renderer"),this.renderer.pause()))},e.prototype.endStalling=function(){var e=this;if(this.isRendererStalling()){this.playerStateService.setIsRendererStalling(!1);var t=[r.PlaybackState.Play,r.PlaybackState.Playing].includes(this.playerStateService.playbackState);this.logger.debug("Unstalling and ".concat(t?"":"not ","restarting playback")),t&&(!this.playerStateService.seekingOrTimeshifting&&function(){var e;return(0,i.getCapabilities)().isWebOS?(null!==(e=(0,o.getWebOsVersion)().major)&&void 0!==e?e:0)===o.WEBOS_2020_CHROMIUM_VERSION:(0,i.getCapabilities)().isChromium}()&&(this.logger.debug("Resetting current time before unstalling"),this.renderer.setCurrentTime(this.renderer.getCurrentTime())),this.renderer.play().catch((function(t){e.logger&&e.logger.debug("Play after unstalling failed with reason: ".concat(t))})))}},e.prototype.isRendererStalling=function(){return this.playerStateService.getIsRendererStalling()},e.prototype.dispose=function(){this.logger=null,this.playerStateService=null,this.renderer=null},e}();t.BufferStallingService=a},27076:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredReject=void 0;var n=function(){function e(){this.rejected=!1}return e.prototype.reject=function(e){this.rejected=!0,this.rejectMessage=e},e.prototype.next=function(e){return this.rejected?Promise.reject(this.rejectMessage):e()},e}();t.DeferredReject=n},42346:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentStore=t.INITIAL_BUFFER_BLOCK_ID=void 0;var i=n(80043),o=n(79814),a=n(55937),s=n(73022),u=n(19724);t.INITIAL_BUFFER_BLOCK_ID=0;var c=function(){function e(e,n){this.context=e,this.requiredMediaTypes={},this.delayedMediaTypeToUpdate={},this.delayedMediaTypeToSet={};var r=new a.BufferBlock(t.INITIAL_BUFFER_BLOCK_ID);this.requiredMediaTypes={},this.segregation=new u.Segregation(this.requiredMediaTypes,n),this.bufferBlocks=[r]}return e.prototype.getBufferBlockByPeriodId=function(e){return this.bufferBlocks.find((function(t){return t.getPeriodId()===e}))},e.prototype.hasSegmentsForBufferBlock=function(e){return this.getAllSegmentsFromBufferBlock(e).hasNext()},e.prototype.hasDataSegmentsForBufferBlock=function(e){return Object.keys(e.mediaTypes).filter((function(e){return o.MimeTypeHelper.isAV(e)})).every((function(t){return e.hasDataSegments(t)}))},e.prototype.getTargetBufferBlock=function(e,t){return this.getBufferBlockForPlaybackTime(e)||this.getClosestFutureBufferBlock(e)||this.getBufferBlockByPeriodId(t)},e.prototype.canSwitchToBufferBlock=function(e){if(!e)return!1;var t=this.areBufferBlockMediaTypesFinal(e);return this.hasDataSegmentsForBufferBlock(e)&&t},e.prototype.canSwitchToBufferBlockForTime=function(e){var t=this.getBufferBlockForPlaybackTime(e);return this.canSwitchToBufferBlock(t)},e.prototype.areBufferBlockMediaTypesFinalForPeriod=function(e){var t=this.getBufferBlockByPeriodId(e);return this.areBufferBlockMediaTypesFinal(t)},e.prototype.areBufferBlockMediaTypesFinal=function(e){var t=this;if(!e||!e.mediaTypes||0===Object.keys(e.mediaTypes).length)return!1;var n=e.getPeriodId();if(void 0===this.requiredMediaTypes[n])return!1;var r=Object.keys(e.mediaTypes);return Object.keys(this.requiredMediaTypes[n]).filter((function(e){return o.MimeTypeHelper.isAV(e)})).every((function(e){var i;return r.includes(e)&&(null===(i=t.requiredMediaTypes[n][e])||void 0===i?void 0:i.codec)}))},e.prototype.addRequiredMediaType=function(e,t){var n=this.getBufferBlockByPeriodId(e);this.requiredMediaTypes[e]||(this.requiredMediaTypes[e]={}),this.requiredMediaTypes[e][t]||(this.requiredMediaTypes[e][t]={mimeType:t,codec:null,timestampOffset:0}),n?n.mediaTypes[t]||n.addMediaType({mimeType:t,codec:null,timestampOffset:0}):(this.delayedMediaTypeToSet[e]||(this.delayedMediaTypeToSet[e]={}),this.delayedMediaTypeToSet[e][t]={mimeType:t,codec:null,timestampOffset:0})},e.prototype.changeMediaType=function(e,t){var n=this,r=Object.keys(this.requiredMediaTypes),i=t;r.forEach((function(r){t||(i=Object.keys(n.requiredMediaTypes[r]).find((function(t){return o.MimeTypeHelper.getMediaType(t)===o.MimeTypeHelper.getMediaType(e)}))),n.removeRequiredMediaType(r,i),n.addRequiredMediaType(r,e)}))},e.prototype.removeRequiredMediaType=function(e,t){if(this.requiredMediaTypes[e]){delete this.requiredMediaTypes[e][t];var n=this.getBufferBlockByPeriodId(e);n&&n.removeMediaType(t)}this.delayedMediaTypeToSet[e]&&delete this.delayedMediaTypeToSet[e][t],this.clearSegments(t)},e.prototype.updateRequiredMediaTypes=function(e,t){var n;if(this.requiredMediaTypes[e]){var i=this.requiredMediaTypes[e][t.mimeType];this.requiredMediaTypes[e][t.mimeType]=r(r({},i),t)}else this.requiredMediaTypes[e]=((n={})[t.mimeType]=t,n)},e.prototype.updateMediaType=function(e,t){var n;this.updateRequiredMediaTypes(e,t);var i=this.getBufferBlockByPeriodId(e);(null==i?void 0:i.hasMediaType(t.mimeType))?i.updateMediaTypeForMimeType(t):this.delayedMediaTypeToUpdate[e]=r(r({},this.delayedMediaTypeToUpdate[e]||{}),((n={})[t.mimeType]=t,n))},e.prototype.findBestMatchingBufferBlockForSegment=function(e,t){var n=this;if(1===this.bufferBlocks.length&&this.segregation.canAddSegmentToBufferBlock(e,this.bufferBlocks[0],t))return this.bufferBlocks[0];var r=[],i=[];this.bufferBlocks.forEach((function(o){n.segregation.canAddSegmentToBufferBlock(e,o,t)?r.push(o):i.push(o)}));var o=l(r),a=l(i),s=e.getPlaybackTime(),u=o.find((function(e){var t=function(e,t){return t.reduce((function(t,n){return n.range.end<=e?Math.max(n.range.start,t):t}),-1/0)}(e.range.start,a),r=function(e,t){return t.reduce((function(t,n){return n.range.start>=e?Math.min(n.range.start,t):t}),1/0)}(e.range.end,a);return!!(t<=s&&s<=r)&&!n.isTimeInOrBeyondFutureIncompatibleBufferBlock(s,e.block,a)}));return null==u?void 0:u.block},e.prototype.isTimeInOrBeyondFutureIncompatibleBufferBlock=function(e,t,n){return n.filter((function(e){return isFinite(e.range.start)&&e.range.start>t.getCommonPlaybackTimeRanges().start&&isFinite(e.range.end)&&e.range.end>t.getCommonPlaybackTimeRanges().end})).some((function(t){var n=t.range.start<=e&&e<=t.range.end,r=e>t.range.end;return n||r}))},e.prototype.addSegment=function(e){var t=this.segregation.getSegregationCriteria(e),n=this.findBestMatchingBufferBlockForSegment(e,t);n||(n=this.createNewBufferBlock(),this.bufferBlocks.push(n)),this.context.logger.debug("[SegmentStore] added ".concat(e.getMimeType()," segment to BB with ID ").concat(n.getId()),{segment:e.getUrl(),segmentCriteria:t}),n.addSegment(e),n.getSegregationCriteria(e.getMimeType())||n.setSegregationCriteria(t,e.getMimeType());var r=e.getPeriodId(),i=e.getMimeType();this.delayedMediaTypeToSet[r]&&this.delayedMediaTypeToSet[r][i]&&(this.addRequiredMediaType(r,i),delete this.delayedMediaTypeToSet[r][i]),this.delayedMediaTypeToUpdate[r]&&this.delayedMediaTypeToUpdate[r][i]&&(this.updateMediaType(r,this.delayedMediaTypeToUpdate[r][i]),delete this.delayedMediaTypeToUpdate[r][i])},e.prototype.getNewBufferBlockId=function(){var e=this.bufferBlocks[this.bufferBlocks.length-1];return e?e.getId()+1:t.INITIAL_BUFFER_BLOCK_ID},e.prototype.createNewBufferBlock=function(){var e=this.getNewBufferBlockId();return this.context.logger.debug("[SegmentStore] creating new BB with ID ".concat(e)),new a.BufferBlock(e)},e.prototype.getMediaTypes=function(e){var t=this;return e&&this.requiredMediaTypes[e]?Object.keys(this.requiredMediaTypes[e]).map((function(n){return t.requiredMediaTypes[e][n]})):[]},e.prototype.getAllBufferBlocks=function(){return this.bufferBlocks},e.prototype.getCurrentBufferBlockId=function(){var e,n=this.bufferBlocks[0];return null!==(e=null==n?void 0:n.getId())&&void 0!==e?e:t.INITIAL_BUFFER_BLOCK_ID},e.prototype.deleteOldBufferBlocks=function(e){this.bufferBlocks=this.bufferBlocks.filter((function(t){return t.getId()>=e&&t.getAllSegments().length>0}))},e.prototype.getActiveBufferBlock=function(){var e;return null!==(e=this.getBufferBlock(this.getCurrentBufferBlockId()))&&void 0!==e?e:null},e.prototype.getBufferBlock=function(e){return this.bufferBlocks.find((function(t){return t.getId()===e}))},e.prototype.getBufferBlockForSegment=function(e){return this.getBufferBlock(e.getBufferBlockId())},e.prototype.getBufferBlockForPlaybackTime=function(e){var t=this,n=this.bufferBlocks.filter((function(n){var r=0===e?t.getSmallestMaxSegmentDuration(n)-.01:.01;return Object.keys(n.mediaTypes).filter((function(e){return o.MimeTypeHelper.isAV(e)})).every((function(t){var i,o;return(null===(i=n.getPlaybackTimeRange(t))||void 0===i?void 0:i.start)<=e+r&&(null===(o=n.getPlaybackTimeRange(t))||void 0===o?void 0:o.end)>=e}))}));return n[n.length-1]},e.prototype.getClosestFutureBufferBlock=function(e){return this.bufferBlocks.filter((function(t){return t.getMinCommonStartTime()>=e})).sort((function(e,t){return e.getMinCommonStartTime()-t.getMinCommonStartTime()}))[0]},e.prototype.getNextSegment=function(){var e,t;return null!==(t=null===(e=this.getActiveBufferBlock())||void 0===e?void 0:e.getNextSegment())&&void 0!==t?t:null},e.prototype.removeSegment=function(e){var t=this.getBufferBlockForSegment(e);t&&t.removeSegment(e)},e.prototype.getAllSegmentsFromBufferBlock=function(e,t){if(!e)return i.EmptyIterator.getInstance();var n=e.getAllSegments();return t?new i.FilterIterator(new i.ArrayIterator(n),(function(e){return e.getMimeType()===t})):new i.ArrayIterator(n)},e.prototype.getNextBufferBlock=function(e){return this.bufferBlocks.find((function(t){return t.getId()>e}))},e.prototype.getFutureBufferBlocks=function(e){return this.bufferBlocks.filter((function(t){return t.getId()>=e}))},e.prototype.getPrecedingSegments=function(e,t){return this.bufferBlocks.flatMap((function(n){return n.getPrecedingSegments(e,t)}))},e.prototype.clearSegments=function(e){this.context.logger.debug("[SegmentStore] clearing all segments for ".concat(e)),this.bufferBlocks.forEach((function(t){return t.clearSegments(e)}))},e.prototype.getSmallestMaxSegmentDuration=function(e){return Boolean(e)&&e.hasMaxSegmentDurations()?e.getMinMaxSegmentDuration():-1},e.prototype.getSmallestSafeBufferSize=function(e,t){var n=this.getBufferBlockForPlaybackTime(e);return(null==n?void 0:n.hasMaxSegmentDuration(t))?n.getMaxSegmentDuration(t)+1:1},e.prototype.getAvailablePositionForTime=function(e,t){var n=e;if(t&&e>t){var r=this.getBufferBlockForPlaybackTime(e);r||(r=this.getClosestFutureBufferBlock(e))&&(n=r.getMinCommonStartTime())}return n},e.prototype.getPlaybackTimesForBufferBlock=function(e,t){var n=this,r=this.getBufferBlock(e);return t.map((function(e){var t=new i.FilterIterator(n.getAllSegmentsFromBufferBlock(r,e),(function(e){return!e.isInit()}));return t.hasNext()?t.next().getPlaybackTime():-1/0}))},e.prototype.isLoadingNextBufferBlock=function(e){var t=this.getNextBufferBlock(e);return!!t&&this.hasDataSegmentsForBufferBlock(t)},e.prototype.shouldSwitchBufferBlock=function(e,t){return!(0,s.areBufferBlocksEqual)(e,this.getBufferBlock(t))},e}();function l(e){return e.map((function(e){return{range:e.getCommonPlaybackTimeRanges(),block:e}})).sort((function(e,t){return e.range.start-t.range.start}))}t.SegmentStore=c},19724:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Segregation=void 0,t.areSegregationCriteriaEqual=c,t.canReuseSourceBuffer=function(e,t,n){var r=_();return n.every((function(n){var i=n.mimeType;return r.canReuseSourceBuffers(e,t,i)}))};var r=n(11399),i=n(13533),o=n(43485),a=n(42283),s=n(55937),u=function(){function e(e,t){this.requiredMediaTypes=e,this.settings=t,this.requiredMediaTypes=e}return e.prototype.isRequiredMimeType=function(e,t){return void 0===t.getPeriodId()||Boolean(this.requiredMediaTypes[t.getPeriodId()]&&this.requiredMediaTypes[t.getPeriodId()][e.getMimeType()])},e.prototype.getSegregationCriteria=function(e){var t,n={encryption:l(e),codec:a.CodecStringHelper.extractCodec(e.getCodec()),periodId:e.getPeriodId()};if(((0,o.isTizen2016)()||(0,o.isTizen2017)()||(0,o.isWebOS)()||(0,o.isPlayStation4)())&&this.settings.HLS_CLEAR_BUFFERS_ON_DISCONTINUITY_SWITCHES){var r=null===(t=e.getSegmentInfo())||void 0===t?void 0:t.discontinuitySequenceNumber;null!=r&&(n.discontinuityNumber=r)}return n},e.prototype.canAddSegmentToBufferBlock=function(e,t,n){var r,i=t.getMediaTypes();if(0===i.length)return!0;var o=e.getMimeType(),a=t.getSegregationCriteria(o);if(a)return c(n,a);if(!this.isRequiredMimeType(e,t))return!1;var s=null===(r=i.find((function(t){return t.mimeType!==e.getMimeType()})))||void 0===r?void 0:r.mimeType,u=void 0!==e.getSegmentInfo().discontinuitySequenceNumber;return s&&u?c(n,t.getSegregationCriteria(s),["codec"]):e.getPeriodId()===t.getPeriodId()},e}();function c(e,t,n){return void 0===n&&(n=[]),Object.keys(e).filter((function(e){return!n.includes(e)})).every((function(n){return t&&t[n]===e[n]}))}function l(e){return e.isEncrypted()?s.EncryptionState.Encrypted:s.EncryptionState.Clear}function d(e,t){var n=e.getMediaTypes().find((function(e){return e.mimeType===t}));return n?n.timescale:0}function _(){return(0,i.getCapabilities)().isTizen?v:(0,i.getCapabilities)().isLegacyEdge?b:(0,i.getCapabilities)()[r.CapabilityKey.isEdge]?m:(0,i.getCapabilities)()[r.CapabilityKey.isFirefox]?g:(0,i.getCapabilities)()[r.CapabilityKey.isWebOS]?y:(0,i.getCapabilities)()[r.CapabilityKey.isPlayStation4]?p:h}function f(e,t,n){return{currentCriteria:e.getSegregationCriteria(n),nextCriteria:t.getSegregationCriteria(n)}}t.Segregation=u;var h={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n),i=r.currentCriteria,o=r.nextCriteria;return S(i,o)&&E(i,o)}},p={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n),i=r.currentCriteria,o=r.nextCriteria;return S(i,o)&&E(i,o)&&T(i,o)&&$(i,o)&&A(e,t,n)}},g={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n);return S(r.currentCriteria,r.nextCriteria)}},v={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n),i=r.currentCriteria,a=r.nextCriteria,s=S(i,a)&&E(i,a)&&$(i,a),u=(0,o.isTizen2016)()&&!A(e,t,n);return!((0,o.isTizen2017)()||!s||u)}},m={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n),i=r.currentCriteria,o=r.nextCriteria,a=(null==i?void 0:i.encryption)===s.EncryptionState.Clear,u=(null==o?void 0:o.encryption)===s.EncryptionState.Clear;return S(i,o)&&a&&u}},y={canReuseSourceBuffers:function(e,t,n){var r=f(e,t,n),i=r.currentCriteria,o=r.nextCriteria;return S(i,o)&&E(i,o)&&$(i,o)&&A(e,t,n)&&!T(i,o)}},b={canReuseSourceBuffers:function(e,t,n){return!1}};function S(e,t){return(null==e?void 0:e.codec)===(null==t?void 0:t.codec)}function E(e,t){return(null==e?void 0:e.encryption)===(null==t?void 0:t.encryption)}function $(e,t){return(null==e?void 0:e.periodId)===(null==t?void 0:t.periodId)}function T(e,t){return(null==e?void 0:e.discontinuityNumber)===(null==t?void 0:t.discontinuityNumber)}function A(e,t,n){return d(e,n)===d(t,n)}},99162:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractUpdater=t.REPRESENTATION_UPDATE_CANCEL=void 0,t.calculateUpdateDelayInMillis=a;var r=n(10981),i=n(331);t.REPRESENTATION_UPDATE_CANCEL="CANCEL";var o=function(){function e(e){var t=this;this.updateCallbacks=e,this.handlePayloadUpdateError=function(e){t.publishErrorResponse(e),t.clearTimeout()},this.processPayload=function(e){t.success(e),t.clearTimeout(),t._isStopped||t.scheduleUpdate()},this._isStopped=!1}return e.prototype.cancel=function(){this._updateDeferred&&(this._updateDeferred.reject(t.REPRESENTATION_UPDATE_CANCEL),this.updateCallbacks.error(t.REPRESENTATION_UPDATE_CANCEL)),this.clearTimeout()},e.prototype.clearTimeout=function(){window.clearTimeout(this.updateTimeoutId),this.updateTimeoutId=null},e.prototype.stop=function(){null!==this.updateTimeoutId&&(this._isStopped=!0,this.cancel())},e.prototype.start=function(){this._isStopped=!1,this.scheduleUpdate()},e.prototype.scheduleUpdate=function(){this.updateTimeoutId||this._isStopped||this.initializeUpdate()},e.prototype.initializeUpdate=function(){var e=this,t=a(this.getLastReloadTimestamp(),this.getReloadIntervalInSeconds());if(!(t>2147483647)){var n=new r.Deferred,i={wasInvalidated:function(){return n!==e._updateDeferred}};n.promise.catch((function(){})),this._updateDeferred=n,this.updateTimeoutId=window.setTimeout((function(){return e.payloadUpdate(i)}),t)}},e.prototype.payloadUpdate=function(e){var t=this;this.update().then((function(n){e.wasInvalidated()||t.processPayload(n)})).catch((function(n){e.wasInvalidated()||t.handlePayloadUpdateError(n)}))},e.prototype.publishErrorResponse=function(e){this._updateDeferred.reject(e),this.updateCallbacks.error(e)},e.prototype.success=function(e){this._updateDeferred.resolve(e),this.updateCallbacks.success(e)},Object.defineProperty(e.prototype,"isStopped",{get:function(){return this._isStopped},enumerable:!1,configurable:!0}),e.prototype.getPayload=function(){return this._updateDeferred.promise},e}();function a(e,t){if(isNaN(t))return 0;var n=(0,i.toSeconds)(Date.now()-e);return n>=t?0:(0,i.toMilliSeconds)(t-n)}t.AbstractUpdater=o},13034:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.findAdaptationSetOfMimeType=function(e,t,n){void 0===n&&(n={});var r,i=n.sourceState,o=n.langObj,c=n.periodSwitched,d=s(e,i),_=l(t,e);return d&&(r=u(_,d,o,c)),!r&&i&&(r=u(_,a(e,i),o,c)),r||_[0]},t.getHlsDefaultLanguage=a,t.getPreferredLanguage=s,t.findAdaptationSetsForMimeType=l;var r=n(79814),i=n(91520),o=n(16368);function a(e,t){var n;if(i.ModuleManager.has(o.ModuleName.HLS)){var a=i.ModuleManager.get(o.ModuleName.HLS).selectors,s=a.getHlsState,u=a.getDefaultLanguages,c=s(t),l=c?u(c):void 0;if(l){var d=null===(n=r.MimeTypeHelper.getMediaType(e))||void 0===n?void 0:n.toUpperCase();return d?l[d]:void 0}}}function s(e,t){var n=t&&a(e,t),r={language:navigator.language||navigator.userLanguage||(null==n?void 0:n.language)};return r.language&&n&&c(r.language,n.language)&&(r.name=n.name),r}function u(e,t,n,r){if(void 0===r&&(r=!1),0!==e.length){var i=void 0;if(n&&(i=function(e,t,n){var r=e.find((function(e){return e._lang&&t.lang&&e._lang===t.lang})),i=e.find((function(e){return t.adaptationSetId&&e._internalId.equals(t.adaptationSetId)}));return i=i||e.find((function(e){return t.id===e._internalId.adaptationSetId})),n?r||i:i||r}(e,n,r)),i)return i;if(t&&t.language){var o=e.filter((function(e){return!(!Boolean(e._lang)||null==e._lang)&&c(e._lang,t.language)}));return o.find((function(e){return e.Representation.find((function(e){return e._name===t.name}))}))||o[0]}}}function c(e,t){return Boolean((null==e?void 0:e.includes(t))||(null==t?void 0:t.includes(e)))}function l(e,t){return e.AdaptationSet.filter((function(e){return e._mimeType===t||e.Representation.find((function(e){return e._mimeType===t}))}))}},67883:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AdaptationSetId=void 0,t.createAdaptationSetIdFromMimeTypeAndIndex=function(e,t,n){return new i(e,"".concat(t,"-").concat(n))};var i=function(e){function t(t,n){var r=e.call(this,t)||this;return r._adaptationSetId=n,r}return r(t,e),Object.defineProperty(t.prototype,"adaptationSetId",{get:function(){return this._adaptationSetId},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){return e.prototype.equals.call(this,t)&&this.adaptationSetId===(null==t?void 0:t.adaptationSetId)},t.prototype.key=function(){return e.prototype.key.call(this)+"-"+this.adaptationSetId},t}(n(96953).PeriodId);t.AdaptationSetId=i},43752:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MPDExtractor=void 0,t.stripUnderscorePrefix=g,t.applyProperties=v,t.representationToQuality=m,t.getMinimumUpdatePeriodInSeconds=function(e){return null==e._minimumUpdatePeriod?1/0:s.DurationConverter.getDurationInSec(e._minimumUpdatePeriod)},t.getContentTypeFromMimeTypeAndCodecs=b;var r=n(18665),i=n(33696),o=n(42055),a=n(42283),s=n(44388),u=n(79814),c=n(331),l=n(54838),d=n(91520),_=n(16368),f=n(41735),h=n(77874),p=function(){function e(e,t){var n=this;this.isLive=function(){var e;return"dynamic"===(null===(e=n.getMpd())||void 0===e?void 0:e._type)},this.context=e,this.sourceContext=t,this.settings=e.settings,this.adjustedPeriodStartTimes=!1,this.synchronizedTimeService=e.serviceManager.get(r.ServiceName.SynchronizedTimeService,this.sourceContext.sourceIdentifier),this.sourceStore=e.serviceManager.get(r.ServiceName.SourceStoreService,this.sourceContext.sourceIdentifier)}return e.prototype.getMpd=function(){var e;return(0,h.getManifest)(null===(e=this.sourceStore)||void 0===e?void 0:e.getState())},e.prototype.getPeriods=function(){var e,t;return null!==(t=null===(e=this.getMpd())||void 0===e?void 0:e.Period)&&void 0!==t?t:[]},e.prototype.getAdaptationSets=function(e){var t=this.getPeriods().find((function(t){return t._id===e}));return t?t.AdaptationSet:[]},e.prototype.adjustPeriodStartTimes=function(){var e,t,n,r=null===(e=this.sourceStore)||void 0===e?void 0:e.getState();if(r&&!this.adjustedPeriodStartTimes&&!(null===(t=this.getMpd())||void 0===t?void 0:t._isHls)){var i=this.isLive()?(0,c.toSeconds)(this.getAvailabilityStartTime()):(0,o.getStartTimeOffset)(r);null===(n=this.sourceStore)||void 0===n||n.dispatch((0,f.adjustPeriodStartTimes)(i)),this.adjustedPeriodStartTimes=!0}},e.prototype.getAvailabilityStartTime=function(){var e;return this.isLive()&&(null===(e=this.getMpd())||void 0===e?void 0:e._availabilityStartTime)?l.Util.getUtcDate(this.getMpd()._availabilityStartTime).getTime()-this.getTimeDifference():0},e.prototype.getAvailabilityEndTime=function(){var e;if(null===(e=this.getMpd())||void 0===e?void 0:e.hasOwnProperty("_availabilityEndTime")){var t=l.Util.getUtcDate(this.getMpd()._availabilityEndTime).getTime();return new Date(t-this.getTimeDifference())}return null},e.prototype.getTimeDifference=function(){return this.synchronizedTimeService?this.synchronizedTimeService.getTimeDifference():0},e.prototype.getType=function(){var e;return null===(e=this.getMpd())||void 0===e?void 0:e._type},e.prototype.getDuration=function(){var e;return null===(e=this.getMpd())||void 0===e?void 0:e._mediaPresentationDuration},e.prototype.getRequestTimestamp=function(){var e;return null===(e=this.getMpd())||void 0===e?void 0:e._requestTimestamp},e.isValueWithinBounds=function(e,t,n){return!e||e>=t&&e<=n},e.prototype.isAllowedVideoQuality=function(t){var n=e.isValueWithinBounds(t.width,this.context.config.adaptation.resolution.minSelectableVideoWidth,this.context.config.adaptation.resolution.maxSelectableVideoWidth),r=e.isValueWithinBounds(t.height,this.context.config.adaptation.resolution.minSelectableVideoHeight,this.context.config.adaptation.resolution.maxSelectableVideoHeight),i=e.isValueWithinBounds(t.bitrate,this.settings.MIN_SELECTABLE_VIDEO_BITRATE,this.settings.MAX_SELECTABLE_VIDEO_BITRATE);return n&&r&&i},e.prototype.isAllowedAudioQuality=function(t){return e.isValueWithinBounds(t.bitrate,this.settings.MIN_SELECTABLE_AUDIO_BITRATE,this.settings.MAX_SELECTABLE_AUDIO_BITRATE)},e.prototype.getAllowedQualities=function(e,t){var n=this;if(!e)return[];var r=t.filter((function(t){return u.MimeTypeHelper.isVideo(e)&&n.isAllowedVideoQuality(t)||u.MimeTypeHelper.isAudio(e)&&n.isAllowedAudioQuality(t)}));return r.length<1&&t.length>0?t:r},e.prototype.getQualityForAdaptationSet=function(e){if(!e)return[];var t=e.Representation.map((function(t){return m(t,e._mimeType,e._codecs)}));return this.settings.EXCLUDE_DISALLOWED_REPRESENTATIONS&&(t=this.getAllowedQualities(e._mimeType,t)),t},e.prototype.getAudioQualities=function(e){var t=this,n=this.getValidPeriodId(e);return this.getAdaptationSets(n).reduce((function(e,n){return n._mimeType&&u.MimeTypeHelper.isAudio(n._mimeType)&&(e[n._internalId.adaptationSetId]=t.getQualityForAdaptationSet(n)),e}),{})},e.prototype.getVideoQualities=function(e){var t=this.getValidPeriodId(e),n=this.getAdaptationSets(t).find((function(e){return e._mimeType&&u.MimeTypeHelper.isVideo(e._mimeType)}));return n?this.getQualityForAdaptationSet(n):[]},e.prototype.getLangObjectFromAdaptationSet=function(e,t,n){var r={id:null,lang:null,adaptationSetId:null,kind:null,label:"off",url:null},i=e._mimeType&&e._mimeType.indexOf(t)>-1,o=n&&e._mimeType.indexOf(n)>-1;return u.MimeTypeHelper.isSubtitle(t)&&(r.kind="subtitle"),e.Role&&e.Role.length>0&&(r.role=e.Role.map((function(e){return v(e,{})}))),(i||o)&&(v(e,r,["_lang","_isFragmented"]),r.lang=r.lang||"und",r.label=e._label||r.lang,r.adaptationSetId=e._internalId,r.id=e._internalId.adaptationSetId),r},e.prototype.toSubtitleTrack=function(e,t,n){var r,i=this.getLangObjectFromAdaptationSet(e,t,n),o={id:i.id,lang:i.lang,kind:i.kind,isFragmented:null!==(r=i.isFragmented)&&void 0!==r&&r,isSideloaded:!1,enabled:!1,label:i.label};return null!=i.role&&(o.role=i.role),o.forced=function(e,t){var n,r;return Boolean(null===(n=e.role)||void 0===n?void 0:n.some((function(e){return e.value&&["forced_subtitle","forced-subtitle"].includes(e.value)})))||Boolean(null===(r=null==t?void 0:t._hls)||void 0===r?void 0:r.isForced)}(o,e.Representation[0]),o},e.prototype.getAvailableSubtitles=function(e){var t=this,n=0;return e=this.getValidPeriodId(e),this.getAdaptationSets(e).filter((function(e){return u.MimeTypeHelper.isSubtitle(e._mimeType)})).map((function(e){var r=t.toSubtitleTrack(e,"application","text");return r.id||(n++,r.id="sub_".concat(n)),r}))},e.prototype.getClosedCaptionLabels=function(e){return e=this.getValidPeriodId(e),this.getAdaptationSets(e).filter((function(e){return e.ClosedCaptionLabels})).flatMap((function(e){return Object.keys(e.ClosedCaptionLabels).map((function(t){var n=e.ClosedCaptionLabels[t];return{id:t,kind:"captions",lang:n.lang||"unknown",label:n.label||"Captions (".concat(t,")")}}))}))},e.prototype.getAvailableAudio=function(e,t){var n=this;void 0===t&&(t=!0);var r=this.getValidPeriodId(e),o=this.getAdaptationSets(r),a=0,s=o.filter((function(e){return u.MimeTypeHelper.isAudio(e._mimeType)})).map((function(e){var t=n.getLangObjectFromAdaptationSet(e,i.MediaType.Audio);return t&&"off"!==t.label?(t.id||(t.id="audio_"+a,a++),t):null}));if(t){var c=o.find((function(e){return u.MimeTypeHelper.isVideo(e._mimeType)}));if(c&&c.ContentComponent){var l=c.ContentComponent.filter((function(e){return e._contentType===i.MediaType.Audio})).map((function(e){return{id:e._id,lang:e._lang,label:e._id,adaptationSetId:c._internalId}}));s=s.concat(l)}}return s.filter((function(e){return e}))},e.prototype.getAvailableVideo=function(e){var t=this.getValidPeriodId(e),n=this.getAdaptationSets(t).find((function(e){return u.MimeTypeHelper.isVideo(e._mimeType)}));return n?[this.getLangObjectFromAdaptationSet(n,i.MediaType.Video)]:[]},e.getContentProtectionForManifestElement=function(e){var t;return(null===(t=null==e?void 0:e.ContentProtection)||void 0===t?void 0:t.length)&&d.ModuleManager.has(_.ModuleName.DRM)?d.ModuleManager.get(_.ModuleName.DRM).ContentProtectionHelper.parseContentProtectionDescriptors(e.ContentProtection):[]},e.getContentProtectionForAdaptationSet=function(t){for(var n=[],r=0;r<t.Representation.length;r++)n=n.concat(e.getContentProtectionForManifestElement(t.Representation[r]));return n.concat(e.getContentProtectionForManifestElement(t))},e.prototype.getTimeShiftBufferDepthSeconds=function(){if(this.isLive()){var e=this.getMpd()._timeShiftBufferDepth,t=(0,c.toSeconds)(Date.now()-this.getAvailabilityStartTime());return e===Number.NEGATIVE_INFINITY?-t:Math.max(e,-t)}return 0},e.getCurrentAndSuccessorPeriod=function(e,t){for(var n=[null,0,null],r=n[0],i=n[1],o=n[2];i<e.length;i++)if(e[i]._id===t){r=e[i],o=e[i+1]||null;break}return[r,o]},e.prototype.getPeriodDuration=function(t,n){var r;n=null!=n?n:this.getPeriods();var i=e.getCurrentAndSuccessorPeriod(n,t),o=i[0],a=i[1];if(o&&o._duration)return s.DurationConverter.getDurationInSec(o._duration);if(o&&o.start&&a&&a.start)return a.start-o.start;if(null===(r=this.getMpd())||void 0===r?void 0:r._mediaPresentationDuration){var u=s.DurationConverter.getDurationInSec(this.getMpd()._mediaPresentationDuration);if(!isNaN(u))return u}return Number.POSITIVE_INFINITY},e.prototype.getDRMCapabilitiesForPeriod=function(e){e=this.getValidPeriodId(e);var t=this.getPeriods().find((function(t){return t._id===e}));return this.getDRMCapabilitiesFromPeriod(t)},e.prototype.getDRMCapabilitiesFromPeriod=function(t){for(var n=[],r=[],i=0,o=t.AdaptationSet;i<o.length;i++){var a=o[i],s=a._mimeType,c=e.getMimeTypeCodecStringForAdaptationSet(a);u.MimeTypeHelper.isVideo(s)?r=r.concat(c):u.MimeTypeHelper.isAudio(s)&&(n=n.concat(c))}return[n,r]},e.prototype.dispose=function(){this.settings=null},e.getMimeTypeCodecStringForAdaptationSet=function(t){for(var n=[],r=0,i=t.Representation;r<i.length;r++){var o=i[r],a=e.getAttributeFromRepresentationOrAdaptationSet("_codecs",o,t),s=t._mimeType;if(t._mimeType&&a){var u=b(s,a);n.push({contentType:u})}}return n},e.getAttributeFromRepresentationOrAdaptationSet=function(e,t,n){return t.hasOwnProperty(e)&&t[e]?t[e]:n.hasOwnProperty(e)&&n[e]?n[e]:null},e.prototype.getValidPeriodId=function(e){var t=this.getPeriods();if(t.find((function(t){return t._id===e})))return e;var n=t[t.length-1]._id;return this.context.logger.debug("Period "+e+" not available - return last period ("+n+")"),n},e.prototype.getEventStreamEvents=function(e){var t=this;return e&&e.EventStream?e.EventStream.filter((function(e){return e.Event})).flatMap((function(n){var r,i=Number(null!==(r=n._timescale)&&void 0!==r?r:1);return t.mapToEventStreamEvent(e.start,n,i)})):[]},e.prototype.mapToEventStreamEvent=function(e,t,n){var r=this;return t.Event.map((function(i){var o={},a=i._presentationTime||0;if(o.startTime=a/n+e,i._duration){var s=i._duration/n;o.endTime=o.startTime+s}else o.endTime=o.startTime;return o.data=r.getEventData(i,t._schemeIdUri),o}))},e.prototype.getEventData=function(e,t){var n=/<event[^>]*>(.*)(<\/event>|\/>)/g.exec(e.rawXmlRepresentation),r=void 0;n&&n.length>1&&(r=n[1]);var i={};return Object.getOwnPropertyNames(e).filter((function(e){return!["_presentationTime","_duration","__text"].some((function(t){return t===e}))&&0===e.lastIndexOf("_",0)})).forEach((function(t){i[t.substring(1,t.length)]=e[t]})),{properties:i,content:r,schemeIdUri:t}},e}();function g(e){return 0===e.indexOf("_")?e.substring(1):e}function v(e,t,n){return void 0===n&&(n=[]),Object.keys(e).filter((function(e){return 0===n.length||n.indexOf(e)>-1})).forEach((function(n){t[g(n)]=e[n]})),t}function m(e,t,n){if(!e)return null;var r={id:e._id?String(e._id):null,bitrate:e._bandwidth||0},i=a.CodecStringHelper.getExtractedCodecStrings(e._codecs||n);return function(e,t){return u.MimeTypeHelper.isAudio(t)}(0,t)?function(e,t,n){return n.audio&&(e.codec=n.audio),e.label=t._label||y(e.bitrate),e}(r,e,i):function(e,t){return u.MimeTypeHelper.isVideo(t)}(0,t)?function(e,t,n){e.width=t._width||0,e.height=t._height||0,n.video&&(e.codec=n.video),t.hasOwnProperty("_frameRate")&&(e.frameRate=t._frameRate);var r=y(e.bitrate);return e.width&&e.height&&(r="".concat(e.width,"x").concat(e.height,", ").concat(r)),e.label=t._label||r,e}(r,e,i):(r.label=e._label||y(r.bitrate),r)}function y(e){return"".concat(Math.round(e/1e3),"kbps")}function b(e,t){return"".concat(e,'; codecs="').concat(t,'"')}t.MPDExtractor=p},48928:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestCachingService=void 0;var r=n(76885),i=function(){function e(){this.cache={}}return e.prototype.set=function(e,t,n){var i=r.URLHelper.toFullUrl(e);o(i,this.cache),this.cache[i][t]=n},e.prototype.setExpire=function(e,t){var n=r.URLHelper.toFullUrl(e);o(n,this.cache),this.cache[n].expire=t},e.prototype.get=function(e,t){var n=r.URLHelper.toFullUrl(t),i=this.cache[n];if(i&&function(e){return e>=Date.now()}(i.expire))return i[e];delete this.cache[n]},e.prototype.cacheHttpResponse=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"httpResponse",e),this.setExpire(t,n)},e.prototype.cacheParsedManifest=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"parsedManifest",e),this.setExpire(t,n)},e.prototype.cacheSegmentList=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"segmentList",e),this.setExpire(t,n)},e.prototype.getHttpResponse=function(e){return this.get("httpResponse",e)},e.prototype.getParsedManifest=function(e){return this.get("parsedManifest",e)},e.prototype.getSegmentList=function(e){return this.get("segmentList",e)},e.prototype.clear=function(){this.cache={}},e.prototype.dispose=function(){this.cache={}},e}();function o(e,t){t[e]||(t[e]={})}t.ManifestCachingService=i},3337:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createManifestLoadingService=function(e,t,n){switch(e.type){case o.StreamType.Dash:return new(0,a.ModuleManager.get(s.ModuleName.DASH).MPDLoader)(t,n);case o.StreamType.Hls:return new(0,a.ModuleManager.get(s.ModuleName.HLS).M3u8Loader)(t,n);case o.StreamType.Smooth:return new(0,a.ModuleManager.get(s.ModuleName.Smooth).SmoothStreamingLoader)(t,n);default:throw new i.PlayerError(r.ErrorCode.SOURCE_INVALID,{given:e.type,supported:"dash, hls, smooth"},"The provided stream type is not supported by the player.")}};var r=n(25550),i=n(28764),o=n(33696),a=n(91520),s=n(16368)},94938:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.orderAdaptationSetsByCodec=function(e,t){return(e=r({},e)).Period=e.Period.map((function(e){if(!e.AdaptationSet)return r({},e);var n=a(e.AdaptationSet),i=n.videoSets,o=n.audioSets,u=n.otherSets,c=s(i,t.video),l={};return o.forEach((function(e){var t=e._lang||"none";l[t]=l[t]||[],l[t].push(e)})),Object.keys(l).forEach((function(e){c=c.concat(s(l[e],t.audio))})),r(r({},e),{AdaptationSet:c.concat(u)})})),e},t.sortAdaptationSetsByBestCodec=s,t.getCodecsFromAdaptationSet=u,t.getMimeTypeForAdaptationSet=c,t.removeRepresentations=function(e,t){if(!(e.Period&&e.Period.length>0)||0===t.length)return e;var n=e.Period.map((function(e){return function(e,t){var n=e.AdaptationSet.map((function(e){return function(e,t,n){var i=t.Representation.filter((function(t){return!n.some((function(n){return n.equals(new o.RepresentationId(e,t._id))}))}));return r(r({},t),{Representation:i})}(e._internalId,e,t)})).filter((function(e){return e.Representation.length>0}));return r(r({},e),{AdaptationSet:n})}(e,t)})).filter((function(e){return e.AdaptationSet.length>0}));return r(r({},e),{Period:n})};var i=n(79814),o=n(38925);function a(e){return e.reduce((function(e,t){var n=c(t);return i.MimeTypeHelper.isVideo(n)?e.videoSets.push(t):i.MimeTypeHelper.isAudio(n)?e.audioSets.push(t):e.otherSets.push(t),e}),{videoSets:[],audioSets:[],otherSets:[]})}function s(e,t){var n=function(e){for(var n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return n;return t.length+1};return e.sort((function(e,t){return n(u(e))-n(u(t))}))}function u(e){var t;if((null===(t=null==e?void 0:e._codecs)||void 0===t?void 0:t.length)>0)return e._codecs;if(e.Representation&&e.Representation.length>0){var n=e.Representation[e.Representation.length-1];if(n._codecs)return n._codecs}return""}function c(e){if(e._mimeType)return e._mimeType;if(Array.isArray(e.Representation)){var t=e.Representation.find((function(e){return e._mimeType}));if(t)return t._mimeType}return""}},38353:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestService=void 0,t.initializeInternalIds=N,t.addDrmKidsToRepresentations=U,t.iterateAdaptationSets=B,t.getNearestPeriodForTime=F,t.findLowestPossibleBandwidthFromRepresentations=j,t.getMatchingRepresentationsByBandwidth=H,t.getMatchingRepresentationByBandwidth=V,t.getRepresentationById=W,t.getCodecPriorities=G,t.getCodecOfAdaptationSetMimeType=z;var a=n(25550),s=n(28764),u=n(18665),c=n(60997),l=n(62510),d=n(57620),_=n(25226),f=n(68039),h=n(63668),p=n(95328),g=n(91397),v=n(34731),m=n(27177),y=n(81361),b=n(42283),S=n(44388),E=n(79814),$=n(331),T=n(70016),A=n(91520),C=n(16368),P=n(41735),I=n(77874),w=n(13034),M=n(67883),k=n(94938),O=n(43752),R=n(96953),D=n(38925),L="Outdated",x=function(e){function t(t,n){var r=e.call(this,{onRestore:function(){return r.onRestore()}})||this;r.context=t,r.lastManifestUpdateId=0,r.dispatchQualityRemovedEvent=function(e){var t=r.getAdaptationSet(e._internalId);if(t){var n=function(t){r.context.eventHandler.dispatchEvent(t,{quality:{id:e._id,bitrate:e._bandwidth}})};E.MimeTypeHelper.isAudio(t._mimeType)?n(l.PlayerEvent.AudioQualityRemoved):E.MimeTypeHelper.isVideo(t._mimeType)&&n(l.PlayerEvent.VideoQualityRemoved)}},r.copyRequiredPropertiesToRepresentations=function(e){(e.Representation||[]).forEach((function(t){e._codecs&&!t._codecs&&(t._codecs=e._codecs),e._width&&!t._width&&(t._width=e._width),e._height&&!t._height&&(t._height=e._height)})),delete e.SegmentTemplate},r.sourceContext=n,r.settings=t.settings,r.excludedRepresentations=[];var i=r.sourceContext.sourceIdentifier;return r.synchronizedTimeService=t.serviceManager.get(u.ServiceName.SynchronizedTimeService,i),r.sourceStore=t.serviceManager.get(u.ServiceName.SourceStoreService,i),r}return r(t,e),Object.defineProperty(t.prototype,"mpdExtractor",{get:function(){return this._mpdExtractor||(this._mpdExtractor=new O.MPDExtractor(this.context,this.sourceContext)),this._mpdExtractor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"manifest",{get:function(){var e;return(0,I.getManifest)(null===(e=this.sourceStore)||void 0===e?void 0:e.getState())},enumerable:!1,configurable:!0}),t.prototype.setManifest=function(e){this.sourceStore.dispatch((0,P.setManifestAction)(this.preProcessManifest(e)))},t.prototype.updateManifest=function(e){var t=this;this.lastManifestUpdateId++;var n=this.lastManifestUpdateId;return this.synchronizeWithTimeserver(e).then((function(){return t.ensureStillSameOperation(n),t.adjustManifestToKeySystemSupport(e)})).then((function(){t.ensureStillSameOperation(n),t.reinitializeAndUpdateManifest(e)})).catch((function(e){if(e!==L)throw e;t.context.logger.debug("Skipping manifest update, since a newer manifest is available")}))},t.prototype.ensureStillSameOperation=function(e){if(e!==this.lastManifestUpdateId)throw L},t.prototype.adjustManifestToKeySystemSupport=function(e){var t,n,r,i,o=this,a=null!==(r=null===(n=null===(t=this.context.serviceManager)||void 0===t?void 0:t.get(u.ServiceName.DrmService))||void 0===n?void 0:n.getUsedOrEarlyResolvedKeySystemUid())&&void 0!==r?r:null;if(!a||!e.Period||!(null===(i=this.context.serviceManager)||void 0===i?void 0:i.has(u.ServiceName.DrmDetectorService)))return Promise.resolve();var s=this.context.serviceManager.get(u.ServiceName.DrmDetectorService),c=function(e,t){var n=[],r=[];return e.Period.forEach((function(e){var i=t.getDRMCapabilitiesFromPeriod(e);n=n.concat(i[0]),r=r.concat(i[1])})),{audioCapabilities:n,videoCapabilities:r}}(e,this.mpdExtractor),l=c.audioCapabilities,d=c.videoCapabilities;return s.getSupportedCapabilities(a,l,d).then((function(t){return function(e,t,n){e.Period.forEach((function(e){e.AdaptationSet=e.AdaptationSet.filter((function(r){return r.Representation=r.Representation.filter((function(i){var o=e.ContentProtection||r.ContentProtection,a=(null==o?void 0:o.length)>0,s=(0,O.getContentTypeFromMimeTypeAndCodecs)(i._mimeType,i._codecs),u=function(e,t,n){return E.MimeTypeHelper.isAudio(e)?Boolean(t.find((function(t){return t.contentType===e}))):!E.MimeTypeHelper.isVideo(e)||Boolean(n.find((function(t){return t.contentType===e})))}(s,t.audioCapabilities,t.videoCapabilities);return a&&!u&&n.debug("Representation not supported by MediaKeySystem (".concat(s)),!a||u})),!E.MimeTypeHelper.isAV(r._mimeType)||r.Representation.length>0}))}))}(e,t,o.context.logger)}))},t.prototype.reinitializeAndUpdateManifest=function(e){if((0,m.isContextAvailable)(this.context)&&this.context.serviceManager){if(this.disposeMpdExtractor(),e.isInitialized=!1,this.setManifest(e),this.isLive()){var t=this.getFirstPeriod(),n=this.isHlsManifest()&&t?t.start:(0,$.toSeconds)(this.getAvailabilityStartTime());this.sourceStore.dispatch((0,p.setStartTimeOffset)(n))}this.mpdExtractor.adjustPeriodStartTimes();var r=this.parseStreamDuration();(0,d.maybeFireDurationChangedEvent)(this.parsedDuration,r,this.context.eventHandler),this.parsedDuration=r,this.setManifestInitialized(!0),this.context.serviceManager.maybeCall(u.ServiceName.HeartbeatService,(function(e){e.started&&e.beat()}),void 0,this.context.sourceContext.sourceIdentifier)}},t.prototype.excludeRepresentations=function(e){var t=this,n=e.map((function(e){return t.getRepresentationById(e)})).filter((function(e){return Boolean(e)}));this.setManifestInitialized(!1);var r=X(this.manifest.Period);this.excludedRepresentations=y.ArrayHelper.union(this.excludedRepresentations,e),this.sourceStore.dispatch((0,P.removeRepresentationsAction)(this.excludedRepresentations));var i=X(this.manifest.Period);return Object.keys(r).every((function(e){return null!=i[e]&&r[e].length===i[e].length}))?(this.disposeMpdExtractor(),n.forEach(this.dispatchQualityRemovedEvent),this.setManifestInitialized(!0),!0):(this.context.eventHandler.fireError(new s.PlayerError(a.ErrorCode.SOURCE_ERROR,void 0,"No playable track left")),!1)},t.prototype.isRepresentationExcluded=function(e){return this.excludedRepresentations.some((function(t){return t.equals(e)}))},t.prototype.resetExcludedRepresentations=function(){this.excludedRepresentations=[]},t.prototype.onRestore=function(){this.setPlayerDRM(this.getManifest()),this.sourceStore.dispatch((0,P.setManifestAction)(N(this.getManifest())))},t.getSupplementalProperties=function(e,t){return!e.SupplementalProperty||e.SupplementalProperty.length<=0?null:e.SupplementalProperty.filter((function(e){return e._schemeIdUri===t}))},t.prototype.findMatchingSwitchableAdaptationSets=function(e,t,n){var r=n&&n.length>0;if(!r&&!this.settings.ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY)return null;var i=[],o=e._group,a=z(e);return r&&n.forEach((function(e){return i.push(e._value)})),this.settings.ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY&&t.forEach((function(e){i.includes(e._id)||i.push(e._id)})),t.filter((function(t){if(!i.includes(t._id)||t._id===e._id)return!1;var n=t._group===o,r=t._mimeType===e._mimeType,s=z(t)===a,u=t._lang===e._lang;return r&&s&&n&&u}))},t.prototype.getSwitchableAdaptationSets=function(e){var n=this;return e.AdaptationSet?e.AdaptationSet.reduce((function(r,i){var a=t.getSupplementalProperties(i,"urn:mpeg:dash:adaptation-set-switching:2016"),s=n.findMatchingSwitchableAdaptationSets(i,e.AdaptationSet,a);return s&&0!==s.length?y.ArrayHelper.addAndMergeIntersects(r,o([i],s,!0)):r}),[]):[]},t.mergeAdaptationSetProperties=function(e,t,n){var r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);(r||i)&&(r?i||(t[n]=[]):e[n]=[],e[n]=e[n].concat(t[n]))},t.prototype.getAdaptationSetPropertyValues=function(e,t){return e.filter((function(e){return e.hasOwnProperty(t)})).map((function(e){return e[t]}))},t.prototype.updateAdaptationSetMinMaxValues=function(e,t){var n=[e].concat(t),r=this.getAdaptationSetPropertyValues(n,"_minWidth"),i=this.getAdaptationSetPropertyValues(n,"_maxWidth"),o=this.getAdaptationSetPropertyValues(n,"_minHeight"),a=this.getAdaptationSetPropertyValues(n,"_maxHeight"),s=this.getAdaptationSetPropertyValues(n,"_minBandwidth"),u=this.getAdaptationSetPropertyValues(n,"_maxBandwidth");r.length>0&&(e._minWidth=Math.min.apply(null,r)),i.length>0&&(e._maxWidth=Math.max.apply(null,i)),o.length>0&&(e._minHeight=Math.min.apply(null,o)),a.length>0&&(e._maxHeight=Math.max.apply(null,a)),s.length>0&&(e._minBandwidth=Math.min.apply(null,s)),u.length>0&&(e._maxBandwidth=Math.max.apply(null,u))},t.prototype.mergeAdaptationSets=function(e,n){n.forEach(this.copyRequiredPropertiesToRepresentations);var r=n.shift();n.forEach((function(e){["Representation","ContentComponent","ContentProtection","SupplementalProperty"].forEach((function(n){return t.mergeAdaptationSetProperties(r,e,n)}))})),this.updateAdaptationSetMinMaxValues(r,n),e.AdaptationSet=e.AdaptationSet.filter((function(e){return!n.includes(e)}))},t.prototype.mergeSwitchableAdaptationSets=function(e){var t=this;return e.Period.forEach((function(e){t.getSwitchableAdaptationSets(e).forEach((function(n){t.mergeAdaptationSets(e,n)}))})),e},t.getFirstKeyId=function(e){if(!e||0===e.length)return null;var t=e.find((function(e){return"cenc"===e.name}));if(t&&t.defaultKid)return t.defaultKid;var n=e.find((function(e){return e.kids&&e.kids.length>0}));return n?n.kids[0]:null},t.prototype.setRepresentationDrmKid=function(e,t){this.sourceStore.dispatch((0,P.setRepresentationDrmKidAction)(e,t))},t.prototype.getRepresentationDrmKid=function(e){var t;return null===(t=this.getRepresentationById(e))||void 0===t?void 0:t.associatedKid},t.prototype.setManifestInitialized=function(e){this.sourceStore.dispatch((0,P.setManifestInitializedAction)(e))},t.prototype.setPlayerDRM=function(e){var t=this.sourceContext.source.drm,n=function(e){return null==e.Period?[]:e.Period.filter((function(e){return e.AdaptationSet&&e.AdaptationSet.length>0})).reduce((function(e,t){return e.concat(t.AdaptationSet)}),[]).filter((function(e){return e.ContentProtection&&e.ContentProtection.length>0})).flatMap((function(e){return e.ContentProtection})).filter((function(e){return null!=e.laurl&&e.laurl.length>0})).flatMap((function(e){return e.laurl.map((function(t){return i(i({},t),{drmType:f.DRMSchemeIDURIs[e._schemeIdUri]})}))})).filter((function(e){return null!=e.drmType})).map((function(e){var t;return(t={})[e.drmType]={LA_URL:e._licenseUrl},t}))}(e),r={};n.length>0&&(r=i({},n[0])),null!=t&&Object.keys(t).length>0&&Object.keys(t).forEach((function(e){r[e]=null!=r[e]?i(i({},r[e]),t[e]):t[e]})),this.addDrmServiceAndSetDrmConfig(r);var o=Object.keys(r).length>0?(0,h.setManifestDrm)(r):(0,h.resetManifestDrm)();this.sourceStore.dispatch(o)},t.prototype.addDrmServiceAndSetDrmConfig=function(e){if(A.ModuleManager.has(C.ModuleName.DRM)&&Object.keys(e).length>0&&!this.context.serviceManager.has(u.ServiceName.DrmService)){var t=A.ModuleManager.get(C.ModuleName.DRM).DrmService;this.context.serviceManager.set(u.ServiceName.DrmService,new t(this.context))}this.context.serviceManager.maybeCall(u.ServiceName.DrmService,(function(t){t.isDrmConfigSet()||t.setDrmConfig(e)}))},t.prototype.getPreviousRepDrmKidAssociation=function(){var e=new Map;return this.getAllRepresentations().filter((function(e){return e._internalId&&e.associatedKid})).forEach((function(t){return e.set(t._internalId.key(),t.associatedKid)})),e},t.prototype.preProcessManifest=function(e){var t=this.getPreviousRepDrmKidAssociation();return e.Period&&e.Period.length>0?(U(e=(0,k.orderAdaptationSetsByCodec)(e,G(this.context.config,this.sourceContext.source))),e=this.mergeSwitchableAdaptationSets(e),A.ModuleManager.has(C.ModuleName.Envivio)&&(e=A.ModuleManager.get(C.ModuleName.Envivio).fixSegmentTimelineLiveStream(e)),this.isSuspended()||this.setPlayerDRM(e),e=N(e),function(e,t){e.Period.flatMap((function(e){var t;return null!==(t=null==e?void 0:e.AdaptationSet)&&void 0!==t?t:[]})).flatMap((function(e){var t;return null!==(t=null==e?void 0:e.Representation)&&void 0!==t?t:[]})).forEach((function(e){t.has(e._internalId.key())&&(e.associatedKid=t.get(e._internalId.key()))}))}(e=(0,k.removeRepresentations)(e,this.excludedRepresentations),t),e):(this.context.eventHandler.fireError(new s.PlayerError(a.ErrorCode.SOURCE_ERROR,void 0,"No playable track left")),null)},t.prototype.parseStreamDuration=function(){if(this.mpdExtractor){var e=NaN,t=this.mpdExtractor.getDuration();return t&&(this.cachedDurationString&&this.cachedDurationString===t?e=this.cachedDuration:(e=S.DurationConverter.getDurationInSec(t),this.cachedDurationString=t,this.cachedDuration=e)),isNaN(e)&&this.isLive()?1/0:e}return 0},t.prototype.getDuration=function(){return this.parsedDuration},t.prototype.isLive=function(){return!!this.manifest&&this.mpdExtractor.isLive()},t.prototype.getAvailabilityStartTime=function(){return this.mpdExtractor.getAvailabilityStartTime()},t.prototype.getAvailabilityEndTime=function(){return this.mpdExtractor.getAvailabilityEndTime()},t.prototype.isAvailabilityEndTimeExceeded=function(){var e=this.getAvailabilityEndTime();return e&&Date.now()>e.getTime()},t.prototype.findPeriod=function(e){return Y(this.manifest,e)},t.prototype.getAllPeriods=function(){return this.manifest&&this.manifest.Period?this.manifest.Period:[]},t.prototype.getPeriod=function(e){return e?this.findPeriod(e.periodId):null},t.prototype.isSmoothManifest=function(){return this.manifest.originalFormat&&"smooth"===this.manifest.originalFormat.format},t.prototype.isLanguageAvailable=function(e,t,n){var r=Y(this.manifest,e)||K(this.manifest);return(0,w.findAdaptationSetsForMimeType)(r,t).some((function(e){var t=e._lang&&n.lang&&e._lang===n.lang,r=n.adaptationSetId&&e._internalId.equals(n.adaptationSetId);return t||r}))},t.prototype.findAdaptationSet=function(e,t,n,r){void 0===r&&(r=!1);var i=Y(this.manifest,e)||K(this.manifest);if(void 0!==i){var o=this.sourceStore.getState(),a=(0,w.findAdaptationSetOfMimeType)(t,i,{sourceState:o,langObj:n,periodSwitched:r,playbackConfig:this.context.config.playback});return a||this.context.logger.debug("No AdaptationSet found to match mime type "+t),a}},t.prototype.getManifest=function(){return this.manifest},t.prototype.getAvailableAudio=function(e,t){return this.mpdExtractor.getAvailableAudio(e,t)},t.prototype.getAvailableVideo=function(e){return this.mpdExtractor.getAvailableVideo(e)},t.prototype.getAvailableSubtitles=function(e){return this.mpdExtractor.getAvailableSubtitles(e)},t.prototype.getClosedCaptionLabels=function(e){return this.mpdExtractor.getClosedCaptionLabels(e)},t.prototype.getVideoRepresentations=function(e){return this.mpdExtractor.getVideoQualities(e)},t.prototype.getAudioRepresentations=function(e){return this.mpdExtractor.getAudioQualities(e)},t.prototype.getPeriodDuration=function(e,t){return this.mpdExtractor.getPeriodDuration(e,t||this.getManifest().Period)},t.prototype.hasMultiplePeriods=function(){return this.manifest&&this.manifest.Period&&this.manifest.Period.length>1},t.prototype.hasSinglePeriod=function(){return this.manifest&&this.manifest.Period&&1===this.manifest.Period.length},t.prototype.getTimeShiftBufferDepthSeconds=function(){return this.mpdExtractor.getTimeShiftBufferDepthSeconds()},t.prototype.getRequestTimestamp=function(){return this.mpdExtractor.getRequestTimestamp()},t.prototype.getMediaPresentationDuration=function(){var e=S.DurationConverter.getDurationInSec(this.manifest._mediaPresentationDuration);return isNaN(e)?0:e},t.prototype.calculateCumulativePeriodDuration=function(e){for(var t=0,n=0,r=this.manifest.Period;n<r.length;n++){var i=r[n];if(i._id===e)break;t+=this.getPeriodDuration(i._id)}return this.isLive()?(0,$.toSeconds)(Date.now()-this.getAvailabilityStartTime())-t:t},t.prototype.getMinimumUpdatePeriod=function(){return(0,O.getMinimumUpdatePeriodInSeconds)(this.manifest)},t.prototype.getContentProtectionForAdaptationSet=function(e){return O.MPDExtractor.getContentProtectionForAdaptationSet(e)},t.prototype.getLangObjectFromAdaptationSet=function(e,t){return this.mpdExtractor.getLangObjectFromAdaptationSet(e,t)},t.prototype.toSubtitleTrack=function(e,t){return this.mpdExtractor.toSubtitleTrack(e,t)},t.prototype.getDRMCapabilitiesForPeriod=function(e){return this.mpdExtractor.getDRMCapabilitiesForPeriod(e)},t.prototype.hasManifestTypeChanged=function(e){return!(!this.manifest||this.manifest._type===e||(this.context.logger.log("Manifest has just changed from "+this.manifest._type+" to "+e),0))},t.prototype.getPeriodIdForTime=function(e){var t,n=this.manifest.Period;return 1===n.length?n[0]._id:null===(t=F(n,e))||void 0===t?void 0:t._id},t.prototype.dispose=function(){this.disposeMpdExtractor(),e.prototype.dispose.call(this)},t.prototype.disposeMpdExtractor=function(){this._mpdExtractor=(0,c.dispose)(this._mpdExtractor)},t.prototype.getTotalDurationFromManifest=function(){var e=this.getFirstPeriod();if(this.cachedDuration&&e&&e.start)return e.start+this.cachedDuration},t.prototype.getTotalDuration=function(){if(this.isLive())return this.getTotalDurationFromManifest()||1/0;var e=this.getLastPeriod();return e?(e.start||e._start&&S.DurationConverter.getDurationInSec(e._start)||0)+this.mpdExtractor.getPeriodDuration(e._id):0},t.prototype.getFirstPeriod=function(){return K(this.manifest)},t.prototype.getLastPeriod=function(){if(this.manifest.Period&&this.manifest.Period.length>0)return this.manifest.Period[this.manifest.Period.length-1]},t.prototype.isLastPeriod=function(e){var t=this.getLastPeriod();return!!t&&e===t._id},t.prototype.isManifestFinalized=function(){return!this.isLive()},t.prototype.isFirstPeriod=function(e){var t=this.getFirstPeriod();return!!t&&t._id===e},t.prototype.isHlsManifest=function(){return this.getManifest()._isHls},t.prototype.getHlsTags=function(){if(!this.isHlsManifest())return null;var e=A.ModuleManager.get(C.ModuleName.HLS).selectors,t=e.getHlsState;return(0,e.getCustomTags)(t(this.sourceStore.getState()))},t.prototype.isMimeTypePartOfPeriod=function(e,t){var n=this.getPeriod(new R.PeriodId(t));return(n?n.AdaptationSet:[]).some((function(t){return t._mimeType===e}))},t.prototype.getNextPeriod=function(e){if(this.manifest)for(var t=this.findPeriod(e),n=this.manifest.Period.indexOf(t)+1;n<this.manifest.Period.length;n++){var r=this.manifest.Period[n];if(r)return r}return null},t.prototype.getEventStreamEvents=function(e){return this.mpdExtractor.getEventStreamEvents(e)},t.prototype.hasAdaptationSets=function(e){var t=this.manifest;if(t&&t.Period){var n=t.Period.find((function(t){return t._id===e}));return Boolean(n&&n.AdaptationSet)}return!1},t.prototype.synchronizeWithTimeserver=function(e){var t=this,n=[],r=0;if(this.synchronizedTimeService){var i=this.context.config&&this.context.config.live;return i&&i.synchronization&&i.synchronization.length>0?n=i.synchronization.map((function(e){switch(e.method){case _.LiveSynchronizationMethod.HttpHead:return{schemeIdUri:"urn:mpeg:dash:utc:http-head:2014",value:e.serverUrl};case _.LiveSynchronizationMethod.HttpXsDate:return{schemeIdUri:"urn:mpeg:dash:utc:http-xsdate:2014",value:e.serverUrl};case _.LiveSynchronizationMethod.HttpIso:return{schemeIdUri:"urn:mpeg:dash:utc:http-iso:2014",value:e.serverUrl};default:return t.context.logger.debug("No valid time synchronization configuration entry provided"),null}})).filter((function(e){return null!==e})):e&&e.UTCTiming&&e.UTCTiming.length>0&&(n=n.concat(e.UTCTiming),r=e._downloadTime),this.synchronizedTimeService.synchronizeWithServer(n,r)}return Promise.resolve()},t.prototype.getAdaptationSet=function(e){if(!e)return null;var t=this.getPeriod(e);return t&&t.AdaptationSet?t.AdaptationSet.find((function(t){return t._internalId.equals(e)})):null},t.prototype.getRepresentationById=function(e){var t=this.getAdaptationSet(e);if(t&&e)return W(t.Representation,e)},t.prototype.representationExists=function(e){return Boolean(this.getRepresentationById(e))},t.prototype.getLowestBandwidthOfAdaptationSet=function(e){return this.findLowestPossibleBandwidth(e,-1/0)},t.prototype.findLowestPossibleBandwidth=function(e,t){void 0===t&&(t=-1/0);var n=this.getAdaptationSet(e);return n?j(n.Representation,t):1/0},t.prototype.getMatchingRepresentationsByBandwidth=function(e,t,n){void 0===n&&(n=function(){return!0});var r=this.getAdaptationSet(e);return r?H(r.Representation,t,n):[]},t.prototype.getMatchingRepresentationByBandwidth=function(e,t,n){void 0===n&&(n=function(){return!0});var r=this.getAdaptationSet(e);return r?V(r.Representation,t,n):null},t.prototype.getAllRepresentations=function(){return this.getAllPeriods().flatMap((function(e){var t;return(null===(t=e.AdaptationSet)||void 0===t?void 0:t.flatMap((function(e){return e.Representation})))||[]}))},t.prototype.getRepresentation=function(e,t){return this.getRepresentationById(new D.RepresentationId(e,t))},t.prototype.getAllAdaptationSets=function(){return this.getAllPeriods().flatMap((function(e){return e.AdaptationSet}))},t.prototype.getAllImageAdaptationSets=function(){return this.getAllAdaptationSets().filter((function(e){return e._mimeType.includes("image")&&"image"===e._contentType}))},t.prototype.getAllDashThumbnailSources=function(){var e=this;return this.getAllImageAdaptationSets().map((function(t){var n=e.findPeriod(t._internalId.periodId);return{adaptationSet:t,timing:{startTime:n.start,duration:n.duration}}}))},t.prototype.getAdaptationSetIndex=function(e){var t=this.findPeriod(e.periodId);return t&&t.AdaptationSet&&0!==t.AdaptationSet.length?t.AdaptationSet.findIndex((function(t){return t._internalId.equals(e)})):-1},t.prototype.getAvailableBaseURLsForRepresentation=function(e){var t=this.getAdaptationSet(e);if(void 0===e||!t)return[];for(var n=[],r=t.Representation,i=0;i<r.length;i++)if(r[i]._internalId.equals(e)&&r[i].BaseURL&&r[i].BaseURL.length>0){n=r[i].BaseURL;break}var o=[];for(i=0;i<n.length;i++)o.push((0,g.forceReallocation)(n[i].url));return o},t.prototype.findDownloadedHlsRepresentation=function(e){var t=this.getAdaptationSet(e);return t?t.Representation.find((function(e){return e._hls&&Boolean(e._hls.requestTimestamp)})):null},t.prototype.isManifestFetchRequired=function(e){if(!this.isHlsManifest())return!1;var t=Date.now(),n=this.getRepresentationById(e),r=Boolean(n.SegmentList)&&n.SegmentList.length>0&&Boolean(n.SegmentList[0].SegmentURL),i=r?n.SegmentList[0].SegmentURL.length:0,o=!r||i>0,a=t-(n._requestTimestamp||t),s=this.isLive()&&a>=this.getMinimumUpdatePeriod();return!o||s},t.prototype.hasSelfInitialisingSegments=function(){return this.manifest.Period.map((function(e){return e.AdaptationSet})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return e.Representation})).reduce((function(e,t){return e.concat(t)}),[]).some((function(e){var t=Boolean(e.SegmentList)&&e.SegmentList.length>0?e.SegmentList:[],n=Boolean(e.SegmentBase)&&e.SegmentBase.length>0,r=Boolean(e.SegmentTemplate)&&e.SegmentTemplate.length>0?e.SegmentTemplate:[];return!(e.init||n||t.some((function(e){return Boolean(e.init)}))||r.some((function(e){return Boolean(e._initialization)})))}))},t.prototype.getAvailabilityTimeComplete=function(e){var t=this.getRepresentationById(e),n=t.SegmentList||t.SegmentBase||t.SegmentTemplate;return!(n&&n[0]&&n[0]._availabilityTimeComplete)||JSON.parse(n[0]._availabilityTimeComplete)},t.prototype.isSegmentInfoLoaded=function(e){var t=this.getRepresentationById(e);return!(!t||!t.segmentIndex&&!t.segmentIndexParsingError)},t.prototype.isPrecedingPeriod=function(e,t){if(!(e&&t&&this.manifest&&this.manifest.Period))return!1;var n=this.manifest.Period.findIndex((function(t){return t._id===e})),r=this.manifest.Period.findIndex((function(e){return e._id===t}));return n>=0&&r>=0&&r<n},t.prototype.getMaxSegmentDuration=function(){var e=S.DurationConverter.getDurationInSec(this.manifest._maxSegmentDuration);return isNaN(e)?0:e},t.prototype.getDesiredDistanceToLiveEdge=function(){var e,t=null===(e=this.context.serviceManager.get(u.ServiceName.LiveLatencyService))||void 0===e?void 0:e.getTargetLatency();return(0,T.isDefined)(t)?t:this.context.bufferSettings.getForwardTargetLevel()+this.settings.LIVE_EDGE_DISTANCE},t.prototype.hasSuggestedStartPosition=function(){return this.manifest.hasOwnProperty("_startOffset")},t.prototype.getVodStartOffset=function(){return Math.max(0,Math.min(this.manifest._startOffset,this.getDuration()-this.settings.SEEK_TO_END_OFFSET))},t.prototype.getLiveStartOffset=function(e){void 0===e&&(e=!0);var t=this.manifest._startOffset;return t-=Math.abs(this.getTimeShiftBufferDepthSeconds()),e&&(t+=this.getDesiredDistanceToLiveEdge(),t=Math.min(0,t)),t},t.prototype.getPublishTime=function(){return this.manifest._publishTime},t.prototype.initSegmentStartTimesFromReferenceSegment=function(e){var t=A.ModuleManager.get(C.ModuleName.HLS);this.sourceStore.dispatch(t.actions.initSegmentStartTimesFromReferenceSegment(e))},t.prototype.initializeSegmentStartTimesFromStart=function(e){var t=A.ModuleManager.get(C.ModuleName.HLS),n=t.selectors,r=n.getHlsState,i=n.getPlaylistStartTime,o=n.hasPlaylist,a=r(this.sourceStore.getState());if(o(a,e)){var s=i(a,e);this.sourceStore.dispatch(t.actions.initSegmentStartTimes(e,0,s))}},t.prototype.hasSegmentStartTimeForHlsRepresentation=function(e){var t=A.ModuleManager.get(C.ModuleName.HLS).selectors,n=t.getHlsState;return(0,t.hasSegmentStartTimesForPlaylist)(n(this.sourceStore.getState()),e)},t.prototype.getStartTimeForHlsSegment=function(e,t){var n=A.ModuleManager.get(C.ModuleName.HLS).selectors,r=n.getHlsState;return(0,n.getStartTimeForSegment)(r(this.sourceStore.getState()),e,t)},t.prototype.isTimeNearPeriodEnd=function(e,t){for(var n=this.getAllPeriods(),r=0,i=n;r<i.length;r++){var o=i[r],a=o.start,s=a+this.getPeriodDuration(o._id,n);if(e>=a&&e<=s)return s-e<=t}return!1},t}(v.Suspendable);function N(e){var t;return(e=i({},e)).Period=null===(t=e.Period)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(t,n){var r,o=(0,M.createAdaptationSetIdFromMimeTypeAndIndex)(e._id,t._mimeType,n);return i(i({},t),{_internalId:o,_periodId:e._id,Representation:null===(r=t.Representation)||void 0===r?void 0:r.map((function(e){return i(i({},e),{_internalId:new D.RepresentationId(o,e._id)})}))})}))})})),e}function U(e){if(A.ModuleManager.has(C.ModuleName.DRM)){var t=A.ModuleManager.get(C.ModuleName.DRM).ContentProtectionHelper.getFirstKeyId;B(e,(function(e){for(var n=t(e.ContentProtection),r=0;e.Representation&&r<e.Representation.length;r++){var i=e.Representation[r];(n||i.ContentProtection)&&(i.associatedKid=i.ContentProtection&&t(i.ContentProtection)||n)}}))}}function B(e,t){for(var n=0;e.Period&&n<e.Period.length;n++)for(var r=e.Period[n],i=0;r.AdaptationSet&&i<r.AdaptationSet.length;i++)t(r.AdaptationSet[i])}function F(e,t){if(e&&e.length){if(t<e[0].start)return e[0];var n=e[e.length-1];return t>=n.start?n:function(e,t){for(var n=0;n<e.length-1;n++){var r=e[n].start+e[n].duration;if(t>=e[n].start&&t<r)return e[n];if(t>=r&&t<e[n+1].start)return e[n+1]}}(e,t)||n}}function j(e,t){return void 0===t&&(t=-1/0),e.reduce((function(e,n){return n._bandwidth>=t?Math.min(e,n._bandwidth):e}),1/0)}function H(e,t,n){void 0===n&&(n=function(){return!0});var r=e.filter(n),i=r.filter((function(e){return e._bandwidth===t}));return i.length>0?i:function(e,t){var n=e.map((function(e){return e._bandwidth})).reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}));return e.filter((function(e){return e._bandwidth===n}))}(r,t)}function V(e,t,n){void 0===e&&(e=[]),void 0===n&&(n=function(){return!0});var r=e.filter(n),i=null,o=-1/0;return r.forEach((function(e){e._bandwidth>o&&e._bandwidth<=t&&(o=e._bandwidth,i=e)})),i||r[0]}function W(e,t){return e.find((function(e){return e._internalId.equals(t)}))}function q(e,t,n){var r=n?"videoCodecPriority":"audioCodecPriority";return(null==t?void 0:t.options)&&t.options[r]?t.options[r]:e.playback&&e.playback[r]?e.playback&&e.playback[r]:[]}function G(e,t){return{video:q(e,t,!0),audio:q(e,t,!1)}}function Y(e,t){return e&&t&&e.Period?e.Period.find((function(e){return e._id===t})):null}function K(e){return null==e?void 0:e.Period[0]}function z(e){var t=(0,k.getCodecsFromAdaptationSet)(e);if(!t||0===t.length)return null;var n=b.CodecStringHelper.getExtractedCodecStrings(t),r=e._mimeType.split("/")[0];return n[r]?b.CodecStringHelper.extractCodec(n[r]):null}function X(e){return e.reduce((function(e,t){return e[t._id]=function(e){return e.AdaptationSet.map((function(e){return e._mimeType})).filter((function(e,t,n){return E.MimeTypeHelper.isAV(e)&&n.indexOf(e)===t}))}(t),e}),{})}t.ManifestService=x},43412:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestUpdateScheduler=void 0,t.isRepresentationUpToDate=v;var o=n(28764),a=n(18665),s=n(29638),u=n(16937),c=n(76420),l=n(3464),d=n(34731),_=n(331),f=n(41735),h=n(61743),p=n(35655),g=function(e){function t(t,n){var r=e.call(this,{onSuspend:function(){return r.onSuspend()},onRestore:function(){return r.onRestore()}})||this;r.initiated=!1,r.trackUpdaters={},r.selectActiveTracks=function(e){return null==e?void 0:e.activeTracks},r.handleActiveTracksChange=function(e){e&&r.manifestService.isHlsManifest()&&r.updateTracks(e)},r.selectPlaybackState=function(e){return e.player&&e.player.playbackState},r.handlePlaybackStateChange=function(e){e&&(e===c.PlaybackState.Paused?r.stop():e===c.PlaybackState.Playing&&r.start())},r.updatedRepresentation=function(e){r.updateAdaptationSetInManifest(e),r.manifestService.updateManifest(r.manifestService.getManifest()).catch((function(){r.logger.debug("Updating the manifest failed")}))},r.representationUpdateError=function(e,t){r.logger.debug("Rejection while updating the representation",e),e===s.M3u8Error.COULD_NOT_LOAD&&(r.sourceStore.dispatch((0,f.setRepresentationFailedDownloadAction)(t._internalId)),r.manifestService.updateManifest(r.manifestService.getManifest()).catch((function(e){r.logger.debug("Error while updating the manifest after the representation failed to load",e)})))},r.manifestDownloadError=function(){r.logger.debug("Error while loading manifest")},r.context=t,r.sourceContext=n;var i=r.sourceContext.sourceIdentifier;return r.manifestService=t.serviceManager.get(a.ServiceName.ManifestService,i),r.manifestLoader=t.serviceManager.get(a.ServiceName.ManifestLoadingService,i),r.store=t.store,r.sourceStore=t.serviceManager.get(a.ServiceName.SourceStoreService,i),r.eventHandler=t.eventHandler,r.logger=t.logger,r.unsubscribeFromActiveTrackChanges=r.subscribeToActiveTrackChanges(),r.unsubscribeFromPausePlayingChanges=r.subscribeToPausePlayingChanges(t),r}return r(t,e),t.prototype.subscribeToActiveTrackChanges=function(){var e=this;return(0,l.subscribe)(this.sourceStore)((function(t){return e.selectActiveTracks(t)}),this.handleActiveTracksChange)},t.prototype.updateTracks=function(e){this.processNewActiveTrack(e),this.removeDeactivatedTrackUpdaters(e)},t.prototype.processNewActiveTrack=function(e){var t=this;Object.keys(e).filter((function(t){return e[t].selectedRepresentationId})).forEach((function(n){t.updateTrackUpdater(e[n].selectedRepresentationId)}))},t.prototype.removeDeactivatedTrackUpdaters=function(e){var t=this;Object.keys(this.trackUpdaters).filter((function(t){return!Object.keys(e).includes(t)})).forEach((function(e){t.trackUpdaters[e].stop(),delete t.trackUpdaters[e]}))},t.prototype.subscribeToPausePlayingChanges=function(e){return(0,l.subscribe)(this.store)(this.selectPlaybackState,this.handlePlaybackStateChange,(function(){return e.settings.STOP_DOWNLOAD_ON_PAUSE}))},t.prototype.updateTrackUpdater=function(e){var t=this.manifestService.getRepresentationById(e),n=e.adaptationSetId;this.trackUpdaters[n]?this.trackUpdaters[n].getRepresentation()._internalId.equals(e)||this.trackUpdaters[n].setRepresentation(t):this.trackUpdaters[t._internalId.adaptationSetId]=this.initializeTrackUpdater(t)},t.prototype.stopRepresentationUpdates=function(e){var t,n=this.trackUpdaters[e._internalId.adaptationSetId];return null!==(t=null==n?void 0:n.stopRepresentationUpdate(e))&&void 0!==t?t:Promise.resolve()},t.prototype.scheduleRepresentationUpdate=function(e){var t=this.trackUpdaters[e._internalId.adaptationSetId];null==t||t.setRepresentation(e),null==t||t.start()},t.prototype.initializeTrackUpdater=function(e){var t=this,n=new p.RepresentationUpdater(this.context,e,this.manifestLoader,{success:this.updatedRepresentation,error:function(e){return t.representationUpdateError(e,n.getRepresentation())}});return n.start(),n},t.prototype.updateAdaptationSetInManifest=function(e){this.sourceStore.dispatch((0,f.updateRepresentationAction)(e))},t.prototype.init=function(e){var t=this;return this.manifestLoader.load(e).then((function(e){return t.manifestService.updateManifest(e).then((function(){t.initiated=!0,t.manifestService.isLive()&&!t.manifestService.isHlsManifest()&&t.scheduleManifestReloading(e)}))})).catch((function(e){return e instanceof o.PlayerError||e instanceof Error?Promise.reject(e):Promise.reject(new Error("The loading of the manifest has failed or was cancelled"))}))},t.prototype.scheduleManifestReloading=function(e){var t=this;this.manifestUpdater=new h.ManifestUpdater(this.manifestLoader,e,{minAllowedUpdatePeriod:this.context.settings.MINIMUM_ALLOWED_UPDATE_PERIOD,maxAllowedUpdatePeriod:this.context.settings.MAXIMUM_ALLOWED_UPDATE_PERIOD},{success:function(e){return t.manifestService.updateManifest(e)},error:this.manifestDownloadError}),this.manifestUpdater.start()},t.prototype.waitForRepUpdate=function(e){return 0===Object.keys(this.trackUpdaters).length||v(this.manifestService.getRepresentationById(e))?Promise.resolve():this.trackUpdaters[e.adaptationSetId].updateRepresentation().then((function(){}))},t.prototype.stop=function(){Object.values(this.trackUpdaters).forEach((function(e){return e.stop()})),this.manifestUpdater&&this.manifestUpdater.stop()},t.prototype.start=function(){Object.values(this.trackUpdaters).filter((function(e){return e.isStopped})).forEach((function(e){e.start()})),this.manifestUpdater&&this.manifestUpdater.isStopped&&this.manifestUpdater.start()},t.prototype.onSuspend=function(){this.unsubscribeFromPausePlayingChanges()},t.prototype.onRestore=function(){this.unsubscribeFromPausePlayingChanges=this.subscribeToPausePlayingChanges(this.context)},t.prototype.isInitiated=function(){return this.initiated},t.prototype.dispose=function(){this.unsubscribeFromActiveTrackChanges(),this.unsubscribeFromPausePlayingChanges(),this.stop(),this.manifestUpdater=null,this.trackUpdaters=null,e.prototype.dispose.call(this)},i([(0,u.trackPerformance)("ManifestUpdateScheduler.init",!0)],t.prototype,"init",null),t}(d.Suspendable);function v(e){var t;return!!e._requestTimestamp&&e._requestTimestamp+(0,_.toMilliSeconds)(null!==(t=e._updateInterval)&&void 0!==t?t:1/0)>Date.now()}t.ManifestUpdateScheduler=g},61743:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestUpdater=void 0;var i=n(99162),o=n(43752),a=function(e){function t(t,n,r,i){var o=e.call(this,i)||this;return o.manifestLoader=t,o.manifest=n,o.settings=r,o}return r(t,e),t.prototype.getUpdatedManifest=function(){return this.getPayload()},t.prototype.update=function(){var e=this;return this.manifestLoader.load(this.manifest._currentLoadingUrl).then((function(t){return e.manifest=t,t}))},t.prototype.getReloadIntervalInSeconds=function(){var e=(0,o.getMinimumUpdatePeriodInSeconds)(this.manifest);return isNaN(e)?this.settings.minAllowedUpdatePeriod:Math.min(this.settings.maxAllowedUpdatePeriod,Math.max(this.settings.minAllowedUpdatePeriod,e))},t.prototype.getLastReloadTimestamp=function(){return this.manifest._requestTimestamp},t}(i.AbstractUpdater);t.ManifestUpdater=a},28171:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPlayerManifestApiFactory=void 0;var r=n(18665),i=n(62510),o=n(96953),a=function(){function e(){}return e.create=function(t,n){var i=n.serviceManager.get(r.ServiceName.ManifestService,n.sourceContext.sourceIdentifier);return new function(){i.isHlsManifest()?this.hls=e.createHlsApi(i):i.isSmoothManifest()||(this.dash=e.createDashApi(t,i))}},e.createDashApi=function(t,n){return new(function(){function r(){}return r.prototype.getPeriod=function(){var r=n.getPeriodIdForTime(t.getCurrentTime()),i=n.getPeriod(new o.PeriodId(r));return i?e.createPeriodApi(n,i):null},r.prototype.listPeriods=function(){return n.getAllPeriods().map((function(t){return e.createPeriodApi(n,t)}))},r}())},e.createHlsApi=function(t){return new(function(){function n(){this.properties=t.getHlsTags()}return n.prototype.getVideoTracks=function(){return e.getVideoTracks(t,t.getFirstPeriod()._id)},n.prototype.getAudioTracks=function(){return e.getAudioTracks(t,t.getFirstPeriod()._id)},n.prototype.getTextTracks=function(){return e.getTextTracks(t,t.getFirstPeriod()._id)},n}())},e.createPeriodApi=function(t,n){return new(function(){function r(){this.id=n._id,this.properties={},n._id&&(this.properties.id=n._id),n._start&&(this.properties.start=n._start),n._duration&&(this.properties.duration=n._duration)}return r.prototype.getVideoTracks=function(){return e.getVideoTracks(t,this.id)},r.prototype.getAudioTracks=function(){return e.getAudioTracks(t,this.id)},r.prototype.getTextTracks=function(){return e.getTextTracks(t,this.id)},r.prototype.getMetadata=function(){return e.getMetadata(t,this.id)},r}())},e.getAudioTracks=function(t,n){return t.getAvailableAudio(n,!1).map((function(r){var i={id:r.id,label:r.label,lang:r.lang,getQualities:function(){return e.getAudioQualities(t,n,r.id)}};return r.role&&(i.role=r.role),i}))},e.getVideoTracks=function(t,n){return t.getAvailableVideo(n).map((function(r){var i={id:r.id,label:r.label,getQualities:function(){return e.getVideoQualities(t,n)}};return r.role&&(i.role=r.role),i}))},e.getTextTracks=function(e,t){return e.getAvailableSubtitles(t)},e.getMetadata=function(e,t){return e.getEventStreamEvents(e.findPeriod(t)).map((function(e){return{type:i.MetadataType.EVENT_STREAM,payload:e.data,start:e.startTime,end:e.endTime}}))},e.getAudioQualities=function(e,t,n){return e.getAudioRepresentations(t)[n]||[]},e.getVideoQualities=function(e,t){return e.getVideoRepresentations(t)},e}();t.MediaPlayerManifestApiFactory=a},96953:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PeriodId=void 0;var n=function(){function e(e){this._periodId=e}return Object.defineProperty(e.prototype,"periodId",{get:function(){return this._periodId},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return null!=e&&this.periodId===e.periodId},e.prototype.key=function(){return this.periodId},e}();t.PeriodId=n},38925:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RepresentationId=void 0;var i=n(67883),o=function(e){function t(t,n){var r=e.call(this,t.periodId,t.adaptationSetId)||this;return r._representationId=n,r}return r(t,e),Object.defineProperty(t.prototype,"representationId",{get:function(){return this._representationId},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){return e.prototype.equals.call(this,t)&&this.representationId===(null==t?void 0:t.representationId)},t.prototype.key=function(){return e.prototype.key.call(this)+"-"+this.representationId},t.from=function(e){return e._representationId&&e._adaptationSetId&&e._periodId?new t(new i.AdaptationSetId(e._periodId,e._adaptationSetId),e._representationId):null},t}(i.AdaptationSetId);t.RepresentationId=o},35655:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RepresentationUpdater=void 0;var i=n(91520),o=n(16368),a=n(99162),s=function(e){function t(t,n,r,i){var o=e.call(this,i)||this;return o.context=t,o.representation=n,o.manifestLoader=r,o}return r(t,e),t.prototype.getRepresentation=function(){return this.representation},t.prototype.setRepresentation=function(e){this.representation._internalId.equals(e._internalId)||this.cancel(),this.representation=e,this.scheduleUpdate()},t.prototype.updateRepresentation=function(){return this.getPayload()},t.prototype.stopRepresentationUpdate=function(t){return e.prototype.stop.call(this),this.manifestLoader.stopRepresentationUpdate(t)},t.prototype.update=function(){var e=this;return this.manifestLoader.updateRepresentation(this.representation).then((function(t){if(e.representation._id!==t._id)throw a.REPRESENTATION_UPDATE_CANCEL;return e.representation=t,t}))},t.prototype.getReloadIntervalInSeconds=function(){var e;return this.representation._requestTimestamp?this.context.settings.LL_HLS&&i.ModuleManager.has(o.ModuleName.HLS)&&i.ModuleManager.get(o.ModuleName.HLS).canMakeBlockingPlaylistReload(this.representation,this.context.settings)?0:null!==(e=this.representation._updateInterval)&&void 0!==e?e:1/0:0},t.prototype.getLastReloadTimestamp=function(){return this.representation._requestTimestamp?this.representation._requestTimestamp:0},t}(a.AbstractUpdater);t.RepresentationUpdater=s},10997:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AdRestorationOptimizationService=void 0;var r=n(62510),i=n(76650),o=n(28819),a=n(27177),s=n(94938),u=n(18665),c=n(3872),l=function(){function e(){var e=this;this.startOptimization=function(){(0,a.isContextAvailable)(e.context)&&e.context.eventHandler.off(r.PlayerEvent.AdStarted,e.startOptimization),e.prefetchContentSegments(e.segmentInfosToPrefetch),e.segmentInfosToPrefetch=[]}}return e.prototype.updatePlayerContext=function(e){this.mimeTypes=[],this.context=e,this.segmentInfoService=e.segmentInfoService,this.segmentPrefetchingService=e.segmentPrefetchingService},e.prototype.optimizeRestorationAfterUpcomingAdBreak=function(){var e,t,n=this,i=null===(t=null===(e=this.getSourceState())||void 0===e?void 0:e.getState())||void 0===t?void 0:t.playback;if(!(0,a.isContextAvailable)(this.context)||!this.segmentInfoService||!i)return Promise.reject("Could not get playback state and/or SegmentInfoService");var o=(0,c.getPlaybackPosition)(i);return isNaN(o)?Promise.reject("Could not get playback position"):this.segmentInfoService.getSegmentInfos(o,this.context.settings.AD_RESTORATION_SEGMENT_PREFETCHING_DURATION).then((function(e){n.addCodecInfo(e),n.segmentInfosToPrefetch=e,(0,a.isContextAvailable)(n.context)&&n.context.eventHandler&&n.context.eventHandler.on(r.PlayerEvent.AdStarted,n.startOptimization)}))},e.prototype.getSourceState=function(){return(0,a.isContextAvailable)(this.context)?this.context.serviceManager.get(u.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier):void 0},e.prototype.addCodecInfo=function(e){var t=(0,a.isContextAvailable)(this.context)?this.context.sourceContext.sourceIdentifier:void 0,n=t?this.context.serviceManager.get(u.ServiceName.ManifestService,t):void 0;n&&e.forEach((function(e){var t=n.getAdaptationSet(e.internalRepresentationId);t&&(e.codecs=(0,s.getCodecsFromAdaptationSet)(t))}))},e.prototype.prefetchContentSegments=function(e){var t;this.mimeTypes=e.reduce((function(e,t){return t.mimeType&&!e.includes(t.mimeType)&&e.push(t.mimeType),e}),[]),this.maybeCreateMetrics(),null===(t=this.segmentPrefetchingService)||void 0===t||t.fetchAll(e)},e.prototype.findMatchingSegmentInfo=function(e,t){var n,r=null===(n=this.segmentPrefetchingService)||void 0===n?void 0:n.getPrefetchedSegments().get(e);if(r)return d(r,(function(e){return e.segmentInfo})).find((function(e){if(!t||null==t.segmentNumber||null==t.startTime||null==t.duration)return!0;var n=t.segmentNumber+1,r=Math.round(t.startTime+t.duration),i=e.segmentNumber===n,o=null!=e.startTime&&Math.round(e.startTime)===r;return i||o}))},e.prototype.hasPrefetchedSegment=function(e,t){var n;if((0,a.isContextAvailable)(this.context)&&this.context.sourceContext.isAd)return!1;var r=e;return"string"==typeof e&&(r=this.findMatchingSegmentInfo(e,t)),!(!r||"string"==typeof r)&&Boolean(null===(n=this.segmentPrefetchingService)||void 0===n?void 0:n.getPrefetchedSegment(r))},e.prototype.getPrefetchedSegment=function(e,t){var n=this;if(!this.segmentPrefetchingService||!e.mimeType)return null;var r=this.segmentPrefetchingService.getPrefetchedSegment(e);return this.segmentPrefetchingService.clearPrefetchingQueue(e.mimeType),r&&(this.segmentPrefetchingService.removePrefetchedSegment(e),this.segmentPrefetchingService.setShouldDownloadBeCancelledCallback(e.mimeType,t),r.finally((function(){n.segmentPrefetchingService&&e.mimeType&&n.segmentPrefetchingService.removeShouldDownloadBeCancelledCallback(e.mimeType)}))),r},e.prototype.getRepresentationForPrefetchedSegment=function(e){var t,n=null===(t=this.segmentPrefetchingService)||void 0===t?void 0:t.getPrefetchedSegments().get(e);if(n)return d(n,(function(e){return e.segmentInfo.internalRepresentationId})).find(Boolean)},e.prototype.maybeCreateMetrics=function(){var e=this;if((0,a.isContextAvailable)(this.context)){var t=this.context.store.getState();if(0!==this.mimeTypes.length&&t){var n=(0,o.getMetricsState)(t);this.mimeTypes.forEach((function(t){n[t]||e.context.store.dispatch((0,i.initializeMetricsForMimeType)(t,e.context.settings))}))}}},e.prototype.dispose=function(){(0,a.isContextAvailable)(this.context)&&this.context.eventHandler.off(r.PlayerEvent.AdStarted,this.startOptimization),this.segmentInfosToPrefetch=[],this.segmentInfoService=void 0,this.segmentPrefetchingService=void 0},e}();function d(e,t){var n=[];return e.forEach((function(e){return n.push(t(e))})),n}t.AdRestorationOptimizationService=l},86674:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateDownloadRates=function(e){return e.map((function(e){return(0,r.bytesToBits)(e.bytes)/e.downloadDuration})).filter((function(e){return e<1/0}))},t.filterValuesExceedingAverageByMargin=function(e){var t=1.1*i(e);return e.filter((function(e){return e<=t}))},t.calcAverage=i,t.bpsToMbps=function(e){return e/1024/1024};var r=n(40392);function i(e){return e.reduce((function(e,t){return e+t}),0)/e.length}},9140:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolveContainerFormat=function(e,t,n){return n?function(e,t){var n,s=i.ModuleManager.has(o.ModuleName.ContainerMP4),c=null===(n=i.ModuleManager.get(o.ModuleName.ContainerMP4,!1))||void 0===n?void 0:n.isValidMp4;return s&&c(t)?{source:a.ContainerFormat.MP4,target:a.ContainerFormat.MP4}:r.MimeTypeHelper.isSubtitle(e)?u(e):{source:a.ContainerFormat.TS,target:a.ContainerFormat.MP4}}(e,t):u(e)};var r=n(79814),i=n(91520),o=n(16368),a=n(73543),s=n(58423);function u(e){var t=(0,s.extractContainerFormat)(e);return t?{source:t,target:t}:void 0}},36225:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addEncryptionKeyToStore=function(e,t,n){return n.dispatch((0,o.addEncryptionKey)({uri:e,key:void 0,loadState:s.KeyLoadState.Loading})),t.load(e).then((function(t){return n.dispatch((0,o.updateEncryptionKey)({uri:e,key:i.FormatHelper.bytesToHex(t),loadState:s.KeyLoadState.Loaded})),function(e){var t=(0,a.getAllEncryptionKeys)(e.getState());t&&t.length>20&&e.dispatch((0,o.removeEncryptionKey)(t[0].uri))}(n),t})).catch((function(t){return n.dispatch((0,o.updateEncryptionKey)({uri:e,key:void 0,loadState:s.KeyLoadState.Cancel})),Promise.reject(t)}))},t.waitForKeyToBeLoaded=function(e,t){return new Promise((function(n,o){var u=(0,r.subscribe)(e)((function(e){return(0,a.getEncryptionKey)(e,t)}),(function(e){return e.loadState===s.KeyLoadState.Cancel?(u(),o(new Error("Encryption key load cancelled!"))):e.loadState===s.KeyLoadState.Loaded&&e.key?(u(),n(i.FormatHelper.hexToBytes(e.key))):void 0}))}))};var r=n(3464),i=n(56093),o=n(55486),a=n(25040),s=n(56092)},26382:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.FetchController=void 0;var i,o=n(90637),a=n(23234),s=n(67345),u=n(10981),c=n(72207);!function(e){e.User="user",e.Timeout="timeout"}(i||(i={}));var l=function(){function e(e,t,n,i){var o=this;this.useStreamResponse=i,this.setProgressListener=function(e){o.progressListener=e},this.onProgress=function(e){o.progressListener&&(o.timing.progressTimestamp=a.TimingUtil.getHiResTimestamp(),o.progress.loadedBytes=e,o.progressListener(r({},o.progress)))},this.onSuccess=function(){clearTimeout(o.cancelTimeout)},this.logger=e.logger,this.timeout=n,this.request=t,this.fetching=new u.Deferred,this.bytesReceivedCount=0,this.timing={sendTimestamp:-1,openedTimestamp:-1,headersReceivedTimestamp:-1,progressTimestamp:-1,doneTimestamp:-1},this.abortController=new AbortController,this.progress={loadedBytes:0,url:t.url,responseTiming:this.timing,chunks:[],elapsedTime:0}}return e.prototype.getResponse=function(){return this.load(this.request),this.fetching.promise},e.prototype.cancel=function(e){void 0===e&&(e=i.User),clearTimeout(this.cancelTimeout),this.cancellationReason=e,this.abortController.abort()},e.prototype.load=function(e){var t,n=this,s={method:e.method,headers:new Headers(e.headers),credentials:e.credentials,signal:this.abortController?this.abortController.signal:void 0,body:d(e.method)?e.body:void 0};this.timing.sendTimestamp=a.TimingUtil.getHiResTimestamp(),fetch(e.url,s).then((function(e){var t;if(n.timing.headersReceivedTimestamp=a.TimingUtil.getHiResTimestamp(),null===(t=n.progressListener)||void 0===t||t.call(n,r({},n.progress)),e.ok){var i=n.createHttpResponse(e);n.readResponse(e).then((function(e){i.body=e,i.length=n.bytesReceivedCount,i.timeToFirstByte=n.timing.headersReceivedTimestamp-n.timing.sendTimestamp,n.timing.doneTimestamp>0&&(i.elapsedTime=n.timing.doneTimestamp-n.timing.sendTimestamp),n.fetching.resolve(i)})).catch((function(t){n.onError({error:t.message,response:n.createHttpResponse(e)})}))}else n.onError({error:o.RequestError.Failed,response:n.createHttpResponse(e)})})).catch((function(e){n.onError({error:n.getRequestError(e)})})),this.timing.openedTimestamp=a.TimingUtil.getHiResTimestamp(),null===(t=this.progressListener)||void 0===t||t.call(this,r({},this.progress)),this.cancelTimeout=setTimeout((function(){return n.cancel(i.Timeout)}),this.timeout)},e.prototype.getResponseHeaders=function(e){var t={};return e.headers.forEach((function(e,n){return t[n]=e})),t},e.prototype.createHttpResponse=function(e){return{request:this.request,url:e.url,headers:this.getResponseHeaders(e),status:e.status,statusText:e.statusText}},e.prototype.getRequestError=function(e){return this.logger.debug("fetch error",e),e instanceof Error&&"AbortError"===e.name?this.cancellationReason===i.User?o.RequestError.Canceled:o.RequestError.TimedOut:o.RequestError.Failed},e.prototype.readResponse=function(e){var t=this;if(e.body&&this.useStreamResponse){var n=new c.Stream,r=this.timing.headersReceivedTimestamp;return this.readReadableStreamResponse(e,(function(e){var i=a.TimingUtil.getHiResTimestamp(),o=i-r;r=i,t.progress.chunks.push({downloadDuration:o,bytes:e.byteLength});var s=e instanceof Uint8Array?e.buffer:e;n.add(s)})).then((function(){n.end(),t.onSuccess()})).catch((function(e){t.logger.debug("Error reading of fetch response:",e),n.abort(t.getRequestError(e))})),Promise.resolve(n)}var i=e.headers.get("Content-Length"),o=i?parseInt(i):0;return this.progress.totalBytes=o,this.readReadableStreamResponse(e.clone()).catch((function(e){t.logger.debug("Error reading of fetch response:",e)})),this.readFullFetchResponse(e).then((function(e){return t.bytesReceivedCount=o,t.timing.doneTimestamp=a.TimingUtil.getHiResTimestamp(),t.onSuccess(),e}))},e.prototype.readReadableStreamResponse=function(e,t){var n=this;if(!e.body)return Promise.reject(new Error("response.body is null"));var r=e.body.getReader(),i=function(){return r.read().then((function(e){var r=e.done,o=e.value;return r?(n.timing.doneTimestamp=a.TimingUtil.getHiResTimestamp(),void n.onProgress(n.bytesReceivedCount)):o?(null==t||t(o),n.bytesReceivedCount+=o.byteLength,n.onProgress(n.bytesReceivedCount),i()):void 0}))};return i()},e.prototype.readFullFetchResponse=function(e){switch(this.request.responseType){case s.HttpResponseType.ARRAYBUFFER:return e.arrayBuffer();case s.HttpResponseType.TEXT:return e.text();case s.HttpResponseType.JSON:return e.json();default:return Promise.reject(new Error("Unsupported response type on fetch request"))}},e.prototype.onError=function(e){clearTimeout(this.cancelTimeout),this.logger.debug("Error performing fetch: ".concat(e.error),e.response),this.fetching.reject(e)},e}();function d(e){return![s.HttpRequestMethod.GET,s.HttpRequestMethod.HEAD].includes(e)}t.FetchController=l},90864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createInitSegmentProvider=function(e,t){return new r.UrlInitSegmentProvider(e,t)};var r=n(72477)},61214:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.InitSegmentService=void 0;var r=n(60997),i=n(90864),o=function(){function e(e,t,n){this.segmentParser=n,this.provider=(0,i.createInitSegmentProvider)(e,t)}return e.prototype.getSegment=function(e){var t=this;return this.provider.getSegment(e).then((function(e){var n;return null===(n=t.segmentParser)||void 0===n||n.parseSegment(e),e}))},e.prototype.hasCachedSegment=function(e){return Boolean(this.getCachedSegment(e))},e.prototype.getCachedSegment=function(e){return this.provider.getCachedSegment(e)},e.prototype.removeCachedSegments=function(e){this.provider.removeCachedSegments(e)},e.prototype.dispose=function(){(0,r.dispose)(this.provider)},e}();t.InitSegmentService=o},5206:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.KeyLoader=void 0;var r=n(25550),i=n(28764),o=n(88005),a=n(67345),s=function(){function e(e){this.context=e,this.settings=e.settings,this.sourceIdentifier=e.sourceContext.sourceIdentifier,this.loader=new o.DefaultContentLoader(this.context,{maxRetries:this.settings.MAX_RETRIES,retryDelay:this.settings.RETRY_DELAY,requestType:a.HttpRequestType.KEY_HLS_AES})}return e.prototype.hasWithCredentials=function(){var e=this.context.sourceContext.source&&this.context.sourceContext.source.hasOwnProperty("options")&&this.context.sourceContext.source.options,t=e&&e.hasOwnProperty("withCredentials")&&e.withCredentials,n=e&&e.hasOwnProperty("hlsWithCredentials")&&e.hlsWithCredentials;return Boolean(t)||Boolean(n)},e.prototype.load=function(e){var t=this;return this.loader?this.loader.load(e,a.HttpRequestMethod.GET,a.HttpResponseType.ARRAYBUFFER,void 0,void 0,this.hasWithCredentials()).then((function(e){return e.body})).catch((function(n){var o=new i.PlayerError(r.ErrorCode.DRM_FAILED_LICENSE_REQUEST,{statusCode:n.status,statusText:n.statusText,keyUrl:e},"Failed to load the DRM key: ".concat(n.status," ").concat(n.statusText,"."),t.sourceIdentifier);return t.context.eventHandler.fireError(o),Promise.reject(o)})):Promise.reject("Could not load: No loader.")},e.prototype.isLoading=function(){return!!this.loader&&this.loader.isLoading()},e.prototype.dispose=function(){this.loader&&"function"==typeof this.loader.dispose&&this.loader.dispose(),this.loader=void 0,this.settings=void 0},e}();t.KeyLoader=s},4141:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLoaderConfig=function(e,t){var n;return(null===(n=e.config.tweaks)||void 0===n?void 0:n.segmentLoaderArgs)?e.config.tweaks.segmentLoaderArgs:{maxRetries:e.settings.MAX_CDN_RETRIES,requestType:a(t),disableDownloadTimeout:!0,resetRetriesWhenOffline:!0}},t.getLoader=function(e,t){var n,i=null===(n=e.config.tweaks)||void 0===n?void 0:n.segmentLoader;return i&&"function"==typeof i?new i(t):new r.DefaultContentLoader(e,t)};var r=n(88005),i=n(67345),o=n(79814);function a(e){return o.MimeTypeHelper.isVideo(e)?i.HttpRequestType.MEDIA_VIDEO:o.MimeTypeHelper.isAudio(e)?i.HttpRequestType.MEDIA_AUDIO:o.MimeTypeHelper.isSubtitle(e)?i.HttpRequestType.MEDIA_SUBTITLES:o.MimeTypeHelper.isUnknown(e)?i.HttpRequestType.INTERNAL:i.HttpRequestType.UNKNOWN}},73553:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoErrors=void 0;var n=function(){function e(){}return e.COULD_NOT_LOAD_PLAYLIST={code:"COULD_NOT_LOAD_PLAYLIST"},e.END_OF_STREAM_REACHED={code:"END_OF_STREAM_REACHED"},e.PERIOD_COMPLETE={code:"PERIOD_COMPLETE"},e.SEGMENT_EXCEEDING_PERIOD_DURATION={code:"SEGMENT_EXCEEDING_PERIOD_DURATION"},e}();t.SegmentInfoErrors=n},84519:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MPDHandlerFactory=void 0;var r=n(18665),i=n(3941),o=n(91520),a=n(16368),s=n(67550),u=function(){function e(){}return e.createInstance=function(e,t,n,o,a){void 0===o&&(o=i.DEFAULT_PERIOD_ID);var s=e.serviceManager.get(r.ServiceName.ManifestService,e.sourceContext.sourceIdentifier);if(!(null==s?void 0:s.hasAdaptationSets(o)))return null;var u=s.findAdaptationSet(o,t,a);if(!u)return e.logger.debug("Did not find adaptation set for mime type [".concat(t,"] in period ").concat(o)),null;var _=u.Representation&&u.Representation[0],f=_&&_.SegmentTemplate?_.SegmentTemplate:u.SegmentTemplate;return s.isSmoothManifest()?c(e,t,n,f):s.isHlsManifest()?l(e,_):d(e,f,_)},e}();function c(e,t,n,r){return r?new(o.ModuleManager.get(a.ModuleName.Smooth).createSmoothSegmentTemplateMPDHandler())(e,t,n):null}function l(e,t){return t.SegmentList?new s.SegmentListMPDHandler(e):null}function d(e,t,n){var r=o.ModuleManager.get(a.ModuleName.DASH);return t&&t[0].SegmentTimeline?new r.SegmentTimelineMPDHandler(e):t?new r.SegmentTemplateMPDHandler(e):n.SegmentList?new s.SegmentListMPDHandler(e):n.SegmentBase?new r.SegmentBaseMPDHandler(e):null}t.MPDHandlerFactory=u},49118:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.throwPlaylistDownloadError=function(e,t,n){e.logger.debug(t),e.eventHandler.fireError(new i.PlayerError(r.ErrorCode.SOURCE_COULD_NOT_LOAD_MANIFEST,function(e){return{url:null==e?void 0:e.Uri,mimeType:null==e?void 0:e._mimeType,codecs:null==e?void 0:e._codecs,bitrate:null==e?void 0:e._bandwidth}}(n),t))};var r=n(25550),i=n(28764)},41661:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentCache=void 0,t.areSegmentsIdentical=a;var r=n(81361),i=n(86865),o=function(){function e(e){this.maxSize=Math.max(0,e),this.cache=[]}return e.prototype.contains=function(e){return this.cache.some((function(t){return a(e.getSegmentInfo(),t.getSegmentInfo())}))},e.prototype.maintainCacheSize=function(e){this.cache=0!==e?this.cache.slice(-e):[]},e.prototype.add=function(e){this.contains(e)||(this.cache.push(e),this.maintainCacheSize(this.maxSize))},e.prototype.get=function(e){return this.cache.find((function(t){return a(e,t.getSegmentInfo())}))},e.prototype.clear=function(){this.maintainCacheSize(0)},e.prototype.remove=function(e){this.cache=this.cache.filter((0,r.invert)(e))},e.prototype.getCapacity=function(){return this.maxSize},e.prototype.getCachedCount=function(){return this.cache.length},e.prototype.getCachedSegments=function(){return this.cache.slice(0)},e}();function a(e,t){return(e.isInitSegment?["url","periodId","byteRange","representationId"]:["url","periodId","byteRange","discontinuitySequenceNumber"]).every((function(n){return"object"==typeof e[n]?(0,i.compareValues)(e[n],t[n]):e[n]===t[n]}))}t.SegmentCache=o},58423:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentController=void 0,t.getSegmentManager=Z,t.extractContainerFormat=ee;var o=n(25550),a=n(28764),s=n(63546),u=n(35148),c=n(18665),l=n(60997),d=n(62510),_=n(58935),f=n(29638),h=n(57782),p=n(28463),g=n(76650),v=n(28819),m=n(8272),y=n(27279),b=n(27177),S=n(79814),E=n(331),$=n(70016),T=n(76885),A=n(91520),C=n(16368),P=n(41108),I=n(73543),w=n(94938),M=n(43752),k=n(22916),O=n(96707),R=n(30855),D=n(4053),L=n(82311),x=n(58211),N=n(59839),U=n(22645),B=n(93109),F=n(9140),j=n(74830),H=n(73553),V=n(84519),W=n(49118),q=n(41661),G=n(20417),Y=n(28915),K=n(66864),z=n(60704),X=n(12482),Q=function(){function e(e,t,n,r,i,o,a,s){var u=this;this.context=e,this.onDataAvailableCallback=t,this.mimeType=n,this.manifestLoader=o,this.HLSModule=A.ModuleManager.get(C.ModuleName.HLS,!1),this.loadedAdaptationSetIds={},this.loadingDataSegmentInfos=[],this.isBackupStreamSwitchOngoing=!1,this.hasDownloadError=!1,this.invalidateOngoingSegmentInfoRequest=!1,this.disableDownloadCancelingForNextSegment=!1,this.isProcessingSegment=!1,this.onSegmentInfoError=function(e){var t;if((0,b.isContextAvailable)(u.context)){var n="Error obtaining ".concat(u.mimeType," segment info");(null===(t=u.lastSegmentInfoError)||void 0===t?void 0:t.code)&&u.lastSegmentInfoError.code===(null==e?void 0:e.code)?u.logger.insane(n,e):u.debug(n,e),u.lastSegmentInfoError=e}},this.handleCancelLoadingError=function(e){u.debug("Error in cancelLoading of segmentLoaderPool ",e)},this.getNext=function(e,t){var n,r=!(null===(n=u.segmentManager)||void 0===n?void 0:n.canLoad())||u.pendingSegmentInfoRequest||u.hasActiveTransmuxingJobs()||u.isBackupStreamSwitchOngoing||u.isProcessingSegment;if(u.currentAdaptationSetId&&!r){u.debug("Getting next segment for time ".concat(e));var i={periodId:u.currentPeriodId,recommendedRepresentationId:t,time:e};u.getSegmentInfo(i).then((function(e){return u.loadFromSegmentInfo(e)})).catch(u.onSegmentInfoError)}},this.onSegmentLoaded=function(e){if(u.hasDownloadError=!1,u.maybeUpdateContainerFormat(e),u.shouldDropSegment(e))J(e,u.sourceStore);else if(u.isTransmuxerRequired()){var t=e.getSegmentInfo();t.presentationTimeOffset&&isNaN(t.presentationTimeOffset)&&(u.mpdHandler.setTimestampOffset(0),t.presentationTimeOffset=0),u.transmux(e)}else{var n=!1;u.currentAdaptationSetId&&u.segmentManager&&(n=u.segmentPreProcessor.onSegmentAvailable(e,{id3:[],closedCaptions:[]},u.currentAdaptationSetId,u.segmentManager)),n||J(e,u.sourceStore),e.getMimeType().indexOf("mp4")>-1&&!u.maybeIsHlsManifest()&&(u.isLastSegment=e.isLastSegment())}},this.onShouldDownloadBeCancelled=function(e,t){var n,r=Boolean(null===(n=u.adaptationService)||void 0===n?void 0:n.shouldDownloadBeCancelled(u.mimeType,e,t));return u.maybeIsHlsManifest()&&u.hls.possiblyDependentSegments&&r?(u.debug("Download should be cancelled, but this is disabled for segments not starting with key frames"),!1):r};var l=e.sourceContext.sourceIdentifier;if(this.currentPeriodId=a,this.sourceStore=s,this.manifestUpdateScheduler=e.serviceManager.get(c.ServiceName.ManifestUpdateSchedulingService,l),this.segmentUnavailabilityHandler=new R.SegmentUnavailabilityHandler(this.context),this.adaptationService=this.context.serviceManager.get(c.ServiceName.AdaptationService),this.streamTimeService=this.context.serviceManager.get(c.ServiceName.StreamTimeService),this.hls={isTransmuxingRequired:i&&!this.isSubtitleSegmentController,transmuxer:void 0,possiblyDependentSegments:!1,isAvMuxedTogether:!!r&&r.indexOf(",")>-1,discardNextSegment:!1,muxedAudioTrackIndex:0},this.isContainerFormatKnown()){var d=this.getContainerFormat();this.hls.isTransmuxingRequired=d.source!==d.target}this.init()}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"settings",{get:function(){return this.context.settings},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventHandler",{get:function(){return this.context.eventHandler},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"segmentManager",{get:function(){return Z(this.context,this.mimeType,this.segmentParser,this.hls,this.currentLangObj)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSubtitleSegmentController",{get:function(){return S.MimeTypeHelper.isSubtitle(this.mimeType)},enumerable:!1,configurable:!0}),e.prototype.getUserFeedbackForAdaptation=function(e){var t,n=this.getAdaptationEventType();if(n){var r=null===(t=this.adaptationService)||void 0===t?void 0:t.getUserSelectedRepresentation(this.mimeType,this.currentAdaptationSetId,e);return r?(this.eventHandler.dispatchEvent(n,{representationID:r._internalId.representationId}),r._internalId):void this.eventHandler.dispatchEvent(n,{representationID:e.representationId})}},e.prototype.getAdaptationEventType=function(){return S.MimeTypeHelper.isAudio(this.mimeType)?d.PlayerEvent.AudioAdaptation:S.MimeTypeHelper.isVideo(this.mimeType)?d.PlayerEvent.VideoAdaptation:null},e.prototype.getPrefetchedRepresentationId=function(){var e;if(null===(e=this.context.adRestorationOptimizationService)||void 0===e?void 0:e.hasPrefetchedSegment(this.mimeType,this.lastSegmentInfo))return this.context.adRestorationOptimizationService.getRepresentationForPrefetchedSegment(this.mimeType)},e.prototype.selectRepresentation=function(e){if(!this.mpdHandler.canSwitchRepresentation(e.time)&&this.currentRepresentationId)return this.currentRepresentationId;var t=this.getPrefetchedRepresentationId();if(t)return t;var n=this.sourceStore.getState(),r=!!n&&Boolean((0,p.getPreferredBitrate)((0,p.getAdaptationState)(n),this.mimeType)),i=this.getSuggestedRepresentationFromAbr(),o=i?this.getUserFeedbackForAdaptation(i):void 0;if(o)return this.disableDownloadCancelingForNextSegment=!0,o;var a=e.recommendedRepresentationId,s=(null==a?void 0:a.periodId)===this.getCurrentPeriodId();return a&&s&&!r?a:i},e.prototype.getSuggestedRepresentationFromAbr=function(){var e,t,n={hlsDependentSegments:this.hls.possiblyDependentSegments,segmentDuration:this.mpdHandler.getSegmentDuration()};return null===(e=this.adaptationService)||void 0===e?void 0:e.selectRepresentation(this.mimeType,n,null===(t=this.getCurrentAdaptationSet())||void 0===t?void 0:t.Representation)},e.prototype.switchRepresentation=function(e){var t=this.currentRepresentationId?this.currentRepresentationId.representationId:null;this.debug("switching representation from ".concat(t," to ").concat(e.representationId)),this.mpdHandler.setRepresentationId(e),this.currentRepresentationId=e},e.prototype.invalidateOngoingRequests=function(){this.invalidateOngoingSegmentInfoRequest=!0},e.prototype.fireQualityChangeEvent=function(e,t){var n,r=te(e,this.context),i=te(t,this.context),o=r?(0,M.representationToQuality)(r,this.mimeType):void 0,a=i?(0,M.representationToQuality)(i,this.mimeType):void 0;if(a){var s={targetQuality:a,targetQualityId:a.id,sourceQuality:o,sourceQualityId:null!==(n=null==o?void 0:o.id)&&void 0!==n?n:null};S.MimeTypeHelper.isVideo(this.mimeType)?this.context.eventHandler.dispatchEvent(d.PlayerEvent.VideoDownloadQualityChange,s):S.MimeTypeHelper.isAudio(this.mimeType)&&this.context.eventHandler.dispatchEvent(d.PlayerEvent.AudioDownloadQualityChange,s)}},e.prototype.getSegmentInfo=function(e){var t,n=this,i=void 0!==(null===(t=this.lastSegmentInfo)||void 0===t?void 0:t.segmentNumber)?this.lastSegmentInfo.segmentNumber+1:0,o=this.selectRepresentation(e),a=!o.equals(this.currentRepresentationId);return a&&(this.sourceStore.dispatch((0,D.setRepresentationIdAction)(o)),S.MimeTypeHelper.isAV(this.mimeType)&&this.fireQualityChangeEvent(this.currentRepresentationId,o)),this.invalidateOngoingSegmentInfoRequest=!1,this.pendingSegmentInfoRequest=this.loadRepresentationInfo(o).then((function(){return n.currentAdaptationSetId&&n.mpdHandler.setAdaptationSetId(n.currentAdaptationSetId,o),a&&n.switchRepresentation(o),n.mpdHandler.getNextSegmentInfo(e.time)})).then((function(e){var t,a=null!==(t=n.currentRepresentationId)&&void 0!==t?t:o;if(n.addSegmentInfos(e,i,a),n.shouldInvalidateSegmentInfo(e))throw(0,b.isContextAvailable)(n.context)&&n.debug("invalidating ongoing SegmentInfo request for",r({},e)),"ongoing segment info request was invalidated";return n.lastSegmentInfo=e,e})).catch((function(t){var i;if(n.pendingSegmentInfoRequest=void 0,t===f.M3u8Error.COULD_NOT_LOAD||t===H.SegmentInfoErrors.COULD_NOT_LOAD_PLAYLIST){n.debug("HLS playlist loading failed for representation ".concat(o.representationId," (").concat(null!==(i=null==t?void 0:t.code)&&void 0!==i?i:t,")"));var a=n.maybeTryLowerQuality(o);if(a)return n.debug("Trying with lower quality representation ".concat(a.representationId)),n.getSegmentInfo(r(r({},e),{recommendedRepresentationId:a}));n.handleFailedRepresentationDownload(o)}throw t})).finally((function(){n.expectedTargetTimeAfterSeek=void 0})),this.pendingSegmentInfoRequest},e.prototype.shouldInvalidateSegmentInfo=function(e){return this.invalidateOngoingSegmentInfoRequest&&e&&!e.isInitSegment&&!this.isSegmentInfoInExpectedTimeRange(e)},e.prototype.isSegmentInfoInExpectedTimeRange=function(e){return void 0!==this.expectedTargetTimeAfterSeek&&(0,$.isNumber)(e.startTime)&&(0,$.isNumber)(e.duration)&&this.expectedTargetTimeAfterSeek>=e.startTime&&this.expectedTargetTimeAfterSeek<=e.startTime+e.duration},e.prototype.getDataSegmentInfo=function(e){var t={periodId:this.currentPeriodId,time:e};return this.currentRepresentationId&&this.currentRepresentationId.periodId===this.getCurrentPeriodId()?this.getSegmentInfo(r(r({},t),{recommendedRepresentationId:this.currentRepresentationId})):this.getSegmentInfo(t)},e.prototype.addSegmentInfos=function(e,t,n){var r=this;if(e){this.applyRepresentationInformationToSegmentInfo(e,n),this.parseDateTimeFormSegmentUrl(e);var i=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return r.currentAdaptationSetId&&e.getLowestBandwidthOfAdaptationSet(r.currentAdaptationSetId)}),null,this.context.sourceContext.sourceIdentifier);null!=e.bitrate&&isFinite(e.bitrate)&&e.bitrate===i&&(e.preventDownloadCanceling=!0),this.applyBaseUrlsToSegmentInfo(n,e),e.duration||e.isInitSegment||(e.duration=this.mpdHandler.getSegmentDuration()),(void 0===e.segmentNumber||isNaN(e.segmentNumber))&&(e.segmentNumber=t),e.discardData=this.hls.discardNextSegment,this.hls.discardNextSegment=!1,this.disableDownloadCancelingForNextSegment&&(e.preventDownloadCanceling=!0,this.disableDownloadCancelingForNextSegment=!1),e.isTransmuxingRequired=this.isTransmuxerRequired()}},e.prototype.applyRepresentationInformationToSegmentInfo=function(e,t){var n=te(t,this.context);n&&(e.representationId=t.representationId,e.internalRepresentationId=t,e.mimeType=this.mimeType,e.bitrate=n._bandwidth,e.periodId=t.periodId,e.codecs=this.getCodecs(),S.MimeTypeHelper.isAudio(this.mimeType)?(e.sampleRate=n._audioSamplingRate,e.width=void 0,e.height=void 0):S.MimeTypeHelper.isVideo(this.mimeType)&&(e.width=n._width,e.height=n._height,e.frameRate=n._frameRate))},e.prototype.parseDateTimeFormSegmentUrl=function(e){if(S.MimeTypeHelper.isVideo(this.mimeType)&&!e.dateTime&&this.settings.AKAMAI_DATETIME_PARSING&&this.HLSModule){var t=null!=e.duration?this.HLSModule.PlaylistUtils.getProgramDateTimeFromSegmentUrl(e.url,e.duration):void 0;t&&(e.dateTime=t)}},e.prototype.applyBaseUrlsToSegmentInfo=function(e,t){var n=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(t){return t.getAvailableBaseURLsForRepresentation(e)}),void 0,this.context.sourceContext.sourceIdentifier);t.availableBaseURLs=n,t.firstUsedBaseURLIndex=0,this.lastSegmentInfo&&this.lastSegmentInfo.lastUsedBaseURLIndex&&(t.firstUsedBaseURLIndex=this.lastSegmentInfo.lastUsedBaseURLIndex),t.lastUsedBaseURLIndex=t.firstUsedBaseURLIndex,this.maybeIsHlsManifest()?(t.baseURL="",t.mediaURL||(t.mediaURL=t.url)):(t.baseURL=n[t.firstUsedBaseURLIndex],t.mediaURL=t.mediaURL||t.url,delete t.url),t.url=T.URLHelper.concatBaseUrlWithPartial(t.baseURL,t.mediaURL)},e.prototype.loadRepresentationInfo=function(e){var t=this;return this.manifestUpdateScheduler?this.manifestUpdateScheduler.waitForRepUpdate(e).then((function(){return t.mpdHandler.updateRepresentation(e)})):Promise.reject("ManifestUpdateScheduler does not exist.")},e.prototype.isTransmuxing=function(){var e;return this.isTransmuxerRequired()&&Boolean(null===(e=this.hls.transmuxer)||void 0===e?void 0:e.isTransmuxing())},e.prototype.hasActiveTransmuxingJobs=function(){var e;return this.isTransmuxerRequired()&&Boolean(null===(e=this.hls.transmuxer)||void 0===e?void 0:e.hasActiveJobs())},e.prototype.cancelTransmuxing=function(){var e=this;this.hls.transmuxer&&this.isTransmuxing()&&this.hls.transmuxer.discardCurrentJobs().forEach((function(t){return J(t.mp2tsSegment,e.sourceStore)}))},e.prototype.cancelLoading=function(){var e;this.invalidateOngoingSegmentInfoRequest=!0,null===(e=this.segmentManager)||void 0===e||e.cancel().catch(this.handleCancelLoadingError)},e.prototype.seekTo=function(e){var t=this;null!==e&&this.currentAdaptationSetId&&(this.cancelLoading(),this.cancelTransmuxing(),this.loadingDataSegmentInfos=[],this.hasDownloadError=!1,this.isLastSegment=!1,this.hlsTimelineTracker&&this.hlsTimelineTracker.reset(),this.isTransmuxerRequired()&&this.hls.transmuxer&&this.hls.transmuxer.resetCaptionParser(),e>=0&&(this.expectedTargetTimeAfterSeek=e,this.mpdHandler.seekTo(e),this.context.serviceManager.maybeCall(c.ServiceName.TimedMetadataService,(function(e){return e.clearSegmentBoundMetadata(t.mimeType)}))))},e.prototype.hasNextVod=function(e){var t,n=this,r=this.maybeFindPeriod(this.currentPeriodId),i=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getMediaPresentationDuration()}),0,this.context.sourceContext.sourceIdentifier);if(r&&r.hasOwnProperty("_duration"))t=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getPeriodDuration(n.currentPeriodId)}),void 0,this.context.sourceContext.sourceIdentifier);else{if(0===i)return!1;t=i}return this.mpdHandler.hasNext(t)},e.prototype.hasNextLive=function(e){var t=this;if(this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isAvailabilityEndTimeExceeded()}),!1,this.context.sourceContext.sourceIdentifier))return this.logger.log("Stream (".concat(this.mimeType,") availability end time reached, stopping download of further segments.")),this.isLastSegment=!0,!1;this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isLastPeriod(t.currentPeriodId)}),!1,this.context.sourceContext.sourceIdentifier)&&this.mpdHandler.resolvePendingSegmentInfoRequests();var n=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getPeriodDuration(t.currentPeriodId)}),void 0,this.context.sourceContext.sourceIdentifier);return this.mpdHandler.hasNext(n)},e.prototype.hasNext=function(e){var t=this,n=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isLastPeriod(t.currentPeriodId)}),!1,this.context.sourceContext.sourceIdentifier);return!(this.isLastSegment&&n||!this.currentAdaptationSetId||!this.mpdHandler)&&(this.maybeIsLive()?this.hasNextLive(e):this.hasNextVod(e))},e.prototype.onTransmuxed=function(e){var t=this;if(e.transmuxedSegments.every((function(e){return null!==e.getCodec()}))){!this.hls.possiblyDependentSegments&&function(e){return e.transmuxedSegments.some((function(e){return S.MimeTypeHelper.isAV(e.getMimeType())&&!e.isIndependentlyDecodable()}))}(e)&&(this.debug("Encountered HLS segment not starting with a key frame"),this.hls.possiblyDependentSegments=!0);var n=e.transmuxedSegments.find((function(e){return"video/mp4"===e.getMimeType()})),r=e.transmuxedSegments.filter((function(e){return"audio/mp4"===e.getMimeType()})),i=[n,r[this.hls.muxedAudioTrackIndex]||r[0]].filter((function(e){return Boolean(e)}));i.forEach((function(e){return t.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,t.mpdHandler)})),this.segmentManager&&this.currentAdaptationSetId&&this.segmentPreProcessor.onMuxedSegmentAvailable(e,i,this.currentAdaptationSetId,this.segmentManager);var o=i[i.length-1];o&&o.getMimeType().indexOf("mp4")>-1&&(this.isLastSegment=o.isLastSegment()),this.debug("Transmuxing done",e.originalSegment.getUrl())}else{var a=e.originalSegment.getUrl();this.debug("Discarding muxing because codecs were not available in the segment: ".concat(a))}},e.prototype.hasPendingSegments=function(e){var t,n,r,i,o,a;return e?(o=this.isTransmuxerRequired()&&Boolean(this.hls.transmuxer)&&this.hls.transmuxer.isTransmuxingSegmentsForPeriod(e),a=null!==(n=null===(t=this.segmentManager)||void 0===t?void 0:t.isLoading(e))&&void 0!==n&&n):(o=this.isTransmuxing(),a=null!==(i=null===(r=this.segmentManager)||void 0===r?void 0:r.isLoading())&&void 0!==i&&i),a||o||this.isProcessingSegment||Boolean(this.pendingSegmentInfoRequest)},e.prototype.transmux=function(e){var t=this;if(this.hls.transmuxer){var n=e.getSegmentInfo();this.hls.transmuxer.isSetupForDiscontinuity(n.discontinuitySequenceNumber)||(void 0===n.startTime&&this.sourceStore.dispatch(this.HLSModule.actions.dropSegmentStartTimes()),(0,j.initializeHlsSegmentStartTimes)(e,this.context,this.mpdHandler));var r=Date.now();this.hls.transmuxer.transmuxSegment(e).then((function(e){var i,o=(0,E.toSeconds)(Date.now()-r),a={time:o,representationId:n.internalRepresentationId};return t.context.store.dispatch((0,g.addMetricsValue)(t.mimeType,m.MetricType.TransmuxingTime,a)),t.context.logger.debug("Transmuxed ".concat(t.mimeType," segment in: ").concat(null==o?void 0:o.toFixed(2),", quality: ").concat(null!==(i=n.representationId)&&void 0!==i?i:"")),t.onTransmuxed(e)})).catch((function(n){J(e,t.sourceStore),t.eventHandler.dispatchEvent(d.PlayerEvent.Warning,new s.PlayerWarning(u.WarningCode.PLAYBACK_INVALID_DATA_SEGMENT_ENCOUNTERED,"Transmuxing failed: ".concat(n),{mimeType:e.getMimeType(),segmentUrl:e.getUrl()}))}))}},e.prototype.maybeUpdateContainerFormat=function(e){var t;if(!this.isContainerFormatKnown()||this.isSegmentEmpty(e)){var n=(0,F.resolveContainerFormat)(this.mimeType,e,this.maybeIsHlsManifest());this.debug("Container format is ".concat(null==n?void 0:n.source)),n&&this.sourceStore.dispatch((0,D.setContainerFormatAction)(e.getRepresentationId(),n)),this.hls.isTransmuxingRequired=Boolean(n&&n.source!==n.target),!this.hls.isTransmuxingRequired&&S.MimeTypeHelper.isAV(this.mimeType)&&(null===(t=this.hls.transmuxer)||void 0===t||t.dispose(),this.context.serviceManager.maybeCall(c.ServiceName.SubtitleService,(function(e){e.setTransmuxer(void 0)})))}},e.prototype.shouldDropSegment=function(e){var t;if(this.isSegmentEmpty(e))return this.debug("Warning: Loaded segment has size 0 bytes, skipping further processing! May cause gap!",e.getUrl()),null===(t=this.hlsTimelineTracker)||void 0===t||t.reset(),!0;if(this.isTransmuxerRequired()){if(!A.ModuleManager.has(C.ModuleName.ContainerTS))return this.context.eventHandler.fireError(new P.PlayerModuleMissingError(C.ModuleName.ContainerTS)),!0}else if(!this.maybeIsSmoothManifest()&&this.isInvalidMp4Segment(e))return this.eventHandler.dispatchEvent(d.PlayerEvent.Warning,new s.PlayerWarning(u.WarningCode.PLAYBACK_INVALID_DATA_SEGMENT_ENCOUNTERED,"The loaded MP4 segment is invalid, skipping further processing! May cause gap!",{mimeType:e.getMimeType(),segmentUrl:e.getUrl()})),!0;var n=A.ModuleManager.get(C.ModuleName.LowLatency,!1),r=this.sourceStore.getState().hls;if((0,B.isPlayingLowLatencyHls)(this.context)&&n&&r){if(n.verifyLlHlsSegment(e,r)===n.LlHlsSegmentVerificationResult.Drop)return this.debug("LL-HLS Segment Verification: Dropping (partial) segment as it disappeared from playlist",e.getUrl()),!0;n.LlHlsSegmentVerificationResult.Park}return!1},e.prototype.isSegmentEmpty=function(e){var t=e.getData();return!!(t&&t.byteLength<1)},e.prototype.isInvalidMp4Segment=function(e){if(!A.ModuleManager.has(C.ModuleName.ContainerMP4))return!1;var t=A.ModuleManager.get(C.ModuleName.ContainerMP4,!1),n=t.isValidMp4,r=t.MP4Parser,i=this.segmentParser instanceof r;return this.context.settings.DROP_INVALID_SEGMENTS&&i&&!n(e)},e.prototype.getContainerFormat=function(){var e=this.sourceStore.getState();return e&&(0,L.getContainerFormat)(e,S.MimeTypeHelper.getMediaType(this.mimeType))},e.prototype.isContainerFormatKnown=function(){return Boolean(this.getContainerFormat())},e.prototype.loadFromSegmentInfo=function(e){var t=this;return this.pendingSegmentInfoRequest=void 0,this.isProcessingSegment=!0,e?(this.loadingDataSegmentInfos.push(e),this.lastSegmentInfoError=void 0,this.maybeLoadInitSegment(e).then((function(){return t.loadDataSegment(e)})).catch((function(n){return t.handleSegmentLoadingError(n,e)})).finally((function(){return t.isProcessingSegment=!1}))):Promise.resolve()},e.prototype.maybeLoadInitSegment=function(e){var t,n=this,r=this.getInitSegmentInfoForDataSegmentInfo(e);return r&&(e.init=r,null==(null===(t=this.segmentManager)||void 0===t?void 0:t.getCachedSegment(r)))?(this.debug("Loading init segment before data segment",r.url),this.loadSegment(r).catch((function(e){return n.debug("Error during loading init segment",e),Promise.reject(e)}))):Promise.resolve()},e.prototype.debug=function(e){for(var t,n,r,o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];(null===(n=this.logger)||void 0===n?void 0:n.isLevelEnabled(_.LogLevel.DEBUG))&&(t=this.logger).debug.apply(t,i(["[".concat(this.mimeType,"][").concat(null===(r=this.currentRepresentationId)||void 0===r?void 0:r.representationId,"] SegmentController: ").concat(e)],o,!1))},e.prototype.loadDataSegment=function(e){var t;return(null===(t=this.logger)||void 0===t?void 0:t.isLevelEnabled(_.LogLevel.DEBUG))&&this.debug("Loading ".concat(JSON.stringify(e))),this.loadSegment(e)},e.prototype.getInitSegmentInfoForDataSegmentInfo=function(e){var t;return(t=e.init?r(r({},e.init),{isInitSegment:!0,internalRepresentationId:e.internalRepresentationId}):this.mpdHandler.getInitSegmentInfo(e.internalRepresentationId))&&this.addSegmentInfos(t,void 0,e.internalRepresentationId),t},e.prototype.loadSegment=function(e){var t=this;return this.segmentManager?this.segmentManager.getSegment(e).then((function(e){return t.extractSegmentFromStream(e)})):Promise.reject()},e.prototype.extractSegmentFromStream=function(e){var t=this;return new Promise((function(n,r){e.transform((function(e){(function(e,t){var n=t.findIndex((function(t){return(0,q.areSegmentsIdentical)(t,e)}));n>-1&&t.splice(n,1)})(e.getSegmentInfo(),t.loadingDataSegmentInfos),t.onSegmentLoaded(e)}),(function(){return n()}),(function(e){var n=e.message;return r({reason:n}),t.debug("Error loading segment",n),n}))}))},e.prototype.handleSegmentLoadingError=function(e,t){var n;switch(null===(n=(0,y.getSourceStore)(this.context))||void 0===n||n.dispatch((0,h.clearPreferredBitrateForMimeTypeAction)(this.mimeType)),e.reason){case K.SegmentLoadingErrorReason.CANCEL:this.debug("Download was cancelled as the segment is probably outdated");break;case K.SegmentLoadingErrorReason.ERROR_DECRYPTING:this.debug("Could not decrypt segment",t.url),this.eventHandler.dispatchEvent(d.PlayerEvent.Warning,new s.PlayerWarning(u.WarningCode.DRM_COULD_NOT_DECRYPT_SEGMENT));break;case K.SegmentLoadingErrorReason.ERROR_LOADING:var r=e.info?e.info.response.status:0;this.handleDownloadError(r,t);break;case K.SegmentLoadingErrorReason.TIMEOUT:this.onDownloadTimeout(t);break;default:this.debug("Unexpected error while loading the segment",{url:t.url,error:e})}},e.prototype.switchToHlsBackupStream=function(e){var t=this;return this.HLSModule&&this.manifestLoader instanceof this.HLSModule.M3u8Loader?this.manifestLoader.switchToBackupStream(e).then((function(e){return e.length>0})).catch((function(e){return t.debug("Could not switch to HLS backup stream: ".concat(e)),Promise.resolve(!1)})):Promise.resolve(!1)},e.prototype.getFailedSegmentIndex=function(){var e=this.settings.CHUNKED_CMAF_STREAMING?1:this.loadingDataSegmentInfos.length;return this.mpdHandler.getIndex()-e},e.prototype.handleDownloadError=function(e,t){this.segmentUnavailabilityHandler.shouldTryAlternatives(e)?this.tryToFindAValidSegment(t,e):(this.storeFailedDownloadRange(t),this.hasDownloadError=!0)},e.prototype.tryToFindAValidSegment=function(e,t){var n=this;if(this.currentRepresentationId&&this.currentRepresentationId.equals(e.internalRepresentationId)){var r=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return n.currentAdaptationSetId&&e.getRepresentation(n.currentAdaptationSetId,n.currentRepresentationId.representationId)}),null,this.context.sourceContext.sourceIdentifier);if(r){var i=!1;this.isBackupStreamSwitchOngoing=!0,this.switchToHlsBackupStream(r).then((function(e){return i=e})).finally((function(){return n.isBackupStreamSwitchOngoing=!1})).then((function(){var e;return null===(e=n.segmentManager)||void 0===e?void 0:e.cancel()})).then((function(){return n.tryToRecoverWithValidSegment(i,e,t)}))}}else this.debug("Ignoring download error of previous representation.")},e.prototype.tryToRecoverWithValidSegment=function(e,t,n){var r,i=this.getFailedSegmentIndex();if(this.loadingDataSegmentInfos=[],e)this.mpdHandler.setIndex(Math.max(0,i));else if(r=this.segmentUnavailabilityHandler.switchBaseURL(t))this.loadFromSegmentInfo(r);else{var o=this.maybeTryLowerQuality(this.currentRepresentationId);if(o){if(this.streamTimeService){this.mpdHandler.setIndex(Math.max(0,i)),this.debug("Trying with lower quality segment ".concat(o.representationId));var a=this.streamTimeService.getTimeForNextSegment((0,U.getTrackIdentifier)(t)),s=this.mpdHandler.getLatestTimeForPossibleSwitch(a);this.getNext(s,o)}}else this.hasDownloadError=!0,this.handleFailedSegmentDownload(t,n)}},e.prototype.maybeTryLowerQuality=function(e){var t,n,r;if(e&&(null===(t=this.adaptationService)||void 0===t?void 0:t.isAuto(this.mimeType))){var i=null!==(r=null===(n=this.maybeGetAdaptationSet(this.currentAdaptationSetId))||void 0===n?void 0:n.Representation)&&void 0!==r?r:[];return this.segmentUnavailabilityHandler.switchQuality(i,e)}},e.prototype.handleFailedRepresentationDownload=function(e){var t;if(this.maybeIsLive()&&this.settings.INFINITE_RETRIES_FOR_LIVE){this.debug("Could not load any segment of any quality from any CDN: restart retries."),this.segmentUnavailabilityHandler.downloadSuccess(!1);var n=te(this.currentRepresentationId,this.context);n&&(null===(t=this.manifestUpdateScheduler)||void 0===t||t.scheduleRepresentationUpdate(n))}else{var r=te(e,this.context);(0,W.throwPlaylistDownloadError)(this.context,"Could not load segments of any quality from any CDN",r)}},e.prototype.handleFailedSegmentDownload=function(e,t){this.storeFailedDownloadRange(e),this.maybeIsLive()&&this.settings.INFINITE_RETRIES_FOR_LIVE?(this.debug("Could not load current segment of any quality from any CDN (all retries failed), skipping it..."),this.continueWithNextSegment(e)):(0,G.throwDownloadError)(this.context,"Segment not available at any quality or location",t,e)},e.prototype.storeFailedDownloadRange=function(e){var t=(0,Y.getSegmentInfoTimeRange)(e);t&&(0,b.isContextAvailable)(this.context)&&e.mimeType&&this.context.store.dispatch((0,N.addStreamTimeRange)((0,U.getTrackIdentifier)(e),t,U.StreamTimeRangeType.Failed))},e.prototype.continueWithNextSegment=function(e){if(this.segmentUnavailabilityHandler.downloadSuccess(!1),e.hasDownloadFailed=!0,null!=e.startTime&&null!=e.duration){var t=e.startTime+e.duration,n=this.mpdHandler.adjustTimeToNextSegmentStart(t);this.getNext(n)}},e.prototype.onDownloadTimeout=function(e){var t,n=this;(0,b.isContextAvailable)(this.context)&&(this.debug("Download took too long, cancelled it",e.url),!e.isInitSegment&&this.mpdHandler&&(null===(t=this.segmentManager)||void 0===t||t.cancel().then((function(){if(n.mpdHandler){var e=n.getFailedSegmentIndex();n.loadingDataSegmentInfos=[],n.debug("Trying to get the same segment with a lower bitrate."),n.mpdHandler.setIndex(Math.max(0,e))}}))))},e.prototype.findAdaptationSetId=function(e,t,n){var r=this;if(void 0===n&&(n=!1),this.isSubtitleSegmentController&&!(null==t?void 0:t.id))return this.currentLangObj=t,void(this.segmentManager&&this.cancelLoading());var i=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(i){return i.findAdaptationSet(e,r.mimeType,t,n)}),null,this.context.sourceContext.sourceIdentifier);return i?(this.currentLangObj=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getLangObjectFromAdaptationSet(i,r.mimeType)}),void 0,this.context.sourceContext.sourceIdentifier),i._internalId):void 0},e.prototype.getCurrentAdaptationSet=function(){return this.maybeGetAdaptationSet(this.currentAdaptationSetId)},e.prototype.getAdaptationSetForPeriodId=function(e){return this.maybeGetAdaptationSet(this.loadedAdaptationSetIds[e])||this.getCurrentAdaptationSet()},e.prototype.updateMpd=function(){var e;this.debug("Caught a manifest update event");var t=!this.maybeFindPeriod(this.currentPeriodId);for(var n in this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,this.currentLangObj,!1),!t&&this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId,null===(e=this.adaptationService)||void 0===e||e.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,this.currentRepresentationId,{isPeriodSwitch:!1,isManifestUpdate:!0})),this.loadedAdaptationSetIds)this.maybeFindPeriod(n)||delete this.loadedAdaptationSetIds[n]},e.prototype.activateSubtitleSegmentController=function(e){var t;this.isSubtitleSegmentController&&(this.currentAdaptationSetId&&(this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId),null===(t=this.adaptationService)||void 0===t||t.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId)),isNaN(this.mpdHandler.getTimestampOffset())&&this.mpdHandler.setTimestampOffset(0),this.seekTo(e))},e.prototype.setCurrentLangObj=function(e){var t;if(this.hls.isAvMuxedTogether&&S.MimeTypeHelper.isVideo(this.mimeType)){var n=this.maybeGetAdaptationSet(this.currentAdaptationSetId);if(null==n?void 0:n.ContentComponent){var r=n.ContentComponent.find((function(t){return"audio"===t._contentType&&t._id===e.id}));if(r)return this.hls.muxedAudioTrackIndex=n.ContentComponent.filter((function(e){return"audio"===e._contentType})).indexOf(r),void(this.currentLangObj=e)}}e.id!==(null===(t=this.currentLangObj)||void 0===t?void 0:t.id)&&this.switchAdaptationSetId(e)},e.prototype.switchAdaptationSetId=function(e){var t=this.currentAdaptationSetId;if(this.currentAdaptationSetId&&this.sourceStore.dispatch((0,D.removeActiveTrackAction)(this.currentAdaptationSetId)),this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,e),this.currentAdaptationSetId){var n=this.maybeGetAdaptationSet(this.currentAdaptationSetId);n&&this.sourceStore.dispatch((0,D.setMediaTypeAction)(n._internalId,(0,k.resolveMediaTypes)(n))),this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId,t&&!this.currentAdaptationSetId.equals(t)&&this.switchDependentToNewLanguageObject(e)}},e.prototype.switchDependentToNewLanguageObject=function(e){var t,n;this.currentLangObj=e,this.previousExplicitlySetLangObj=e,this.debug("Trying to set language to ID ".concat(this.currentLangObj.id)+" (lang: ".concat(this.currentLangObj.lang,") for mpd handler and adaption handler")),this.currentAdaptationSetId&&(this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId),null===(t=this.adaptationService)||void 0===t||t.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId),null===(n=this.adaptationService)||void 0===n||n.selectRepresentation(this.mimeType))},e.prototype.getCurrentLangObj=function(){return this.currentLangObj},e.prototype.stop=function(){var e,t;this.cancelLoading(),null===(e=this.segmentManager)||void 0===e||e.clearCache(),null===(t=this.adaptationService)||void 0===t||t.shutdown(this.mimeType)},e.prototype.init=function(){var e,t=this,n=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getFirstPeriod()}),void 0,this.context.sourceContext.sourceIdentifier);!this.currentPeriodId&&n&&(this.currentPeriodId=n._id);var r=V.MPDHandlerFactory.createInstance(this.context,this.mimeType,this.manifestLoader,this.currentPeriodId);if(r){this.mpdHandler=r;var i,s=ee(this.mimeType);s&&(i=(0,O.createSegmentParser)(this.context,s)),i?this.segmentParser=i:this.debug("Could not create segment parser for mime type"),this.timestampOffsetService=new X.TimestampOffsetService(this.context,this.mimeType),this.segmentPreProcessor=new z.SegmentPreProcessor(this.context,this.mimeType,this.onDataAvailableCallback,this.hls,this.segmentUnavailabilityHandler,this.timestampOffsetService,this.segmentParser),this.segmentPreProcessor.setMpdHandler(this.mpdHandler),this.hasDownloadError=!1,this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,this.currentLangObj),this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId),this.context.serviceManager.maybeCall(c.ServiceName.SegmentService,(function(e){return e.add({mimeType:t.mimeType,shouldDownloadBeCancelledCallback:t.onShouldDownloadBeCancelled},t.segmentParser,t.currentLangObj)})),this.maybeIsHlsManifest()&&(this.hlsTimelineTracker=new this.HLSModule.HlsTimelineTracker(this.context,this.settings.GAP_TOLERANCE),this.segmentPreProcessor.setHlsTimelineTracker(this.hlsTimelineTracker)),S.MimeTypeHelper.isMP4(this.mimeType)&&this.context.serviceManager.maybeCall(c.ServiceName.SubtitleService,(function(e){e.setupCea608CaptionExtractor(t.context.logger)})),this.currentAdaptationSetId&&(null===(e=this.adaptationService)||void 0===e||e.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,void 0,{isPeriodSwitch:!0}),this.maybeIsLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE&&this.mpdHandler.timeShift(0,this.currentPeriodId)),this.isLastSegment=!1}else this.eventHandler.fireError(new a.PlayerError(o.ErrorCode.SOURCE_MANIFEST_INVALID))},e.prototype.getSegmentInfos=function(){var e,t=this,n=null===(e=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.getAvailableBaseURLsForRepresentation(t.currentRepresentationId)}),null,this.context.sourceContext.sourceIdentifier))||void 0===e?void 0:e[0];return this.mpdHandler.getSegmentInfos(n)},e.prototype.getCurrentPeriodId=function(){return this.currentPeriodId},e.prototype.getTargetLanguageObject=function(e){var t=this;return this.previousExplicitlySetLangObj&&this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(n){return n.isLanguageAvailable(e,t.mimeType,t.previousExplicitlySetLangObj)}),!1,this.context.sourceContext.sourceIdentifier)?this.previousExplicitlySetLangObj:this.currentLangObj},e.prototype.switchPeriod=function(e){var t,n,r,i=this,s=this.getTargetLanguageObject(e);if(this.debug("switching period from ".concat(this.currentPeriodId," to ").concat(e)),this.cancelLoading(),null===(t=this.segmentManager)||void 0===t||t.clearCache(),this.removeCachedSegmentsOfPrecedingPeriods(),this.currentPeriodId=e,this.currentRepresentationId=void 0,this.currentAdaptationSetId=this.findAdaptationSetId(e,s,!0),this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[e]=this.currentAdaptationSetId),this.currentAdaptationSetId){null===(n=this.adaptationService)||void 0===n||n.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId);var u=this.mpdHandler.getPendingSegmentInfoRequest(),l=V.MPDHandlerFactory.createInstance(this.context,this.mimeType,this.manifestLoader,e,s);l?(this.mpdHandler.dispose(),this.mpdHandler=l):this.eventHandler.fireError(new a.PlayerError(o.ErrorCode.SOURCE_MANIFEST_INVALID)),this.segmentPreProcessor.setMpdHandler(this.mpdHandler),this.mpdHandler.setPendingSegmentInfoRequest(u),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,void 0,{isPeriodSwitch:!0})}if(this.isTransmuxerRequired()){var d=this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return i.currentAdaptationSetId&&e.findDownloadedHlsRepresentation(i.currentAdaptationSetId)}),null,this.context.sourceContext.sourceIdentifier);d&&this.mpdHandler.setRepresentationId(d._internalId),this.hlsTimelineTracker&&this.hlsTimelineTracker.reset(),null===(r=this.segmentManager)||void 0===r||r.clearCache(!1)}this.hasDownloadError=!1,this.isLastSegment=!1},e.prototype.getMPDHandler=function(){return this.mpdHandler},e.prototype.getIndex=function(){return this.mpdHandler&&this.mpdHandler.getIndex()||0},e.prototype.getSourceBufferTypes=function(){var e=[];return this.isTransmuxerRequired()&&this.hls.isAvMuxedTogether?(e.push("video/mp4"),e.push("audio/mp4")):e.push(this.mimeType),e},e.prototype.getCodecs=function(){var e,t=this.getCurrentAdaptationSet();return null!==(e=t&&(0,w.getCodecsFromAdaptationSet)(t))&&void 0!==e?e:void 0},e.prototype.getLiveEdgeTime=function(){return this.maybeIsLive()?this.mpdHandler.getLiveEdgeTime():-1},e.prototype.setAdaptionLogicStartupPhase=function(){var e;null===(e=this.adaptationService)||void 0===e||e.setStartupPhase(this.mimeType)},e.prototype.getMimeType=function(){return this.mimeType},e.prototype.removeCachedSegmentsOfPrecedingPeriods=function(){var e=this,t=this.context.store.getState(),n=t?(0,v.getMetricsState)(t):void 0;if(this.segmentManager&&n){var r=this.sourceStore.getState(),i=r?(0,x.getPlayingPeriodId)(r):void 0;this.segmentManager.removeCachedInitSegments((function(t){return e.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isPrecedingPeriod(i,t.getPeriodId())}),!1,e.context.sourceContext.sourceIdentifier)})),((0,v.getMetricsHistory)(n,this.mimeType,m.MetricType.CachedInitSegments)||[]).filter((function(t){var n=t.value.internalRepId.periodId;return e.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isPrecedingPeriod(i,n)}),!1,e.context.sourceContext.sourceIdentifier)})).forEach((function(t){return e.context.store.dispatch((0,g.removeMetricsValue)(e.mimeType,m.MetricType.CachedInitSegments,t))}))}},e.prototype.canLoad=function(){var e;return Boolean(null===(e=this.segmentManager)||void 0===e?void 0:e.canLoad())},e.prototype.isTransmuxerRequired=function(){return this.hls.isTransmuxingRequired},e.prototype.setTransmuxer=function(e){this.hls.transmuxer=e},e.prototype.getTransmuxer=function(){return this.hls.transmuxer},e.prototype.resetTransmuxer=function(){this.hls.transmuxer&&this.hls.transmuxer.reset()},e.prototype.maybeIsHlsManifest=function(){return this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isHlsManifest()}),!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeIsSmoothManifest=function(){return this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isSmoothManifest()}),!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeIsLive=function(){return this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(e){return e.isLive()}),!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeFindPeriod=function(e){return this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(t){return t.findPeriod(e)}),null,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeGetAdaptationSet=function(e){return this.context.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(t){return t.getAdaptationSet(e)}),null,this.context.sourceContext.sourceIdentifier)},e.prototype.dispose=function(){var e,t;(0,l.dispose)(this.mpdHandler),(0,l.dispose)(this.timestampOffsetService),(0,l.dispose)(this.segmentPreProcessor),null===(e=this.adaptationService)||void 0===e||e.release(this.mimeType),this.hlsTimelineTracker&&this.hlsTimelineTracker.dispose(),(0,b.isContextAvailable)(this.context)&&(null===(t=this.context.serviceManager.get(c.ServiceName.SegmentService))||void 0===t||t.disposeOfType(this.mimeType,this.currentLangObj))},e}();function J(e,t){var n=(0,Y.getSegmentInfoTimeRange)(e.getSegmentInfo());n&&t.dispatch((0,N.removeStreamTimeRange)((0,U.getTrackIdentifier)(e.getSegmentInfo()),n,U.StreamTimeRangeType.Loading))}function Z(e,t,n,r,i){var o=e.serviceManager.get(c.ServiceName.AdaptationService),a=e.serviceManager.get(c.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),s=function(n,i){var s=Boolean(null==o?void 0:o.shouldDownloadBeCancelled(t,n,i));return(null==a?void 0:a.isHlsManifest())&&r.possiblyDependentSegments&&s?(e.logger.debug("Download should be cancelled, but this is disabled for segments not starting with key frames"),!1):s};return e.serviceManager.maybeCall(c.ServiceName.SegmentService,(function(e){return e.add({mimeType:t,shouldDownloadBeCancelledCallback:s},n,i)}))}function ee(e){var t=e.split("/")[1].toLowerCase();return Object.values(I.ContainerFormat).find((function(e){return e===t}))}function te(e,t){if(e&&(0,b.isContextAvailable)(t))return t.serviceManager.maybeCall(c.ServiceName.ManifestService,(function(t){return t.getRepresentationById(e)}),void 0,t.sourceContext.sourceIdentifier)}t.SegmentController=Q},20417:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.throwDownloadError=function(e,t,n,r){e.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new o.PlayerWarning(a.WarningCode.PLAYBACK_DECODE_RETRIES_EXCEEDED)),e.eventHandler.fireError(c(e,t,n,r))};var r=n(25550),i=n(28764),o=n(63546),a=n(35148),s=n(62510),u=n(90637);function c(e,t,n,o){if(0===n)return t&&t===u.RequestError.TimedOut?new i.PlayerError(r.ErrorCode.NETWORK_SEGMENT_DOWNLOAD_TIMEOUT,{segmentUrl:o.url,mimeType:o.mimeType},"Failed to load the segment: the request timed out."):new i.PlayerError(r.ErrorCode.NETWORK_ERROR,{url:o.url,statusCode:n},t);e.logger.debug(t);var a={message:t};return o.url&&(a.segment=function(e){return{url:e.url,mimeType:e.mimeType,codecs:e.codecs}}(o)),new i.PlayerError(r.ErrorCode.NETWORK_ERROR,a,t)}},9378:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoProvider=void 0;var r=n(76885),i=n(9827),o=function(){function e(){}return e.findSegmentInfoOfRepresentation=function(t,n){if(n.SegmentList){var r=n.SegmentList[0].SegmentURL,i=t.getUrl(),o=r.find((function(t){return e.getSegmentInfoUrl(t,n)===i}));if(o)return o}return null},e.findHlsRepresentationForSegment=function(e,t){var n,r,o=t.Representation.find((function(t){return e.getRepresentationId().representationId===t._internalId.representationId}));if(o){var a=(0,i.findSegmentUrlIndexWithinSegmentList)(e,null!==(r=null===(n=o.SegmentList)||void 0===n?void 0:n[0].SegmentURL)&&void 0!==r?r:[]);if(-1!==a)return{representation:o,index:a}}},e.getSegmentInfoUrl=function(e,t){var n=e._media;return r.URLHelper.isUrlAbsolute(n)||(n=r.URLHelper.concatUrlParts(t.BaseURL[0],n)),n},e}();t.SegmentInfoProvider=o},13788:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoService=void 0,t.getSegmentInfoId=function(e){return e.url+(e.byteRange?","+JSON.stringify(e.byteRange):"")};var i=n(18665),o=n(27177),a=function(){function e(){this.segmentControllers=[]}return e.prototype.updatePlayerContext=function(e){this.context=e},e.prototype.setSegmentControllers=function(e){this.segmentControllers=e},e.prototype.getSegmentControllerMimeTypes=function(){return this.segmentControllers.map((function(e){return e.getMimeType()}))},e.prototype.getSegmentInfos=function(e,t){if(!(0,o.isContextAvailable)(this.context))return Promise.resolve([]);var n=this.context.serviceManager.get(i.ServiceName.ManifestService,this.context.sourceContext.sourceIdentifier).getPeriodIdForTime(e),r=this.segmentControllers.map((function(r){return function(e,t){return e.getCurrentPeriodId()!==t.targetPeriodId&&e.switchPeriod(t.targetPeriodId),e.seekTo(t.startTime),e.getCurrentAdaptationSet()?s(e,t):Promise.resolve([])}(r,{startTime:e,duration:t,targetPeriodId:n})}));return Promise.all(r).then((function(e){return e.flatMap((function(e){return e}))}))},e.prototype.dispose=function(){this.segmentControllers=[]},e}();function s(e,t){return u(e,t.duration).then((function(t){if(t.length>0){var n=e.getInitSegmentInfoForDataSegmentInfo(t[0]);if(n)return r([n],t,!0)}return t}))}function u(e,t,n){void 0===n&&(n=[]);var r=n[n.length-1],i=r?r.startTime+r.duration:0;return t<=0||!e.hasNext(i)?Promise.resolve(n):e.getDataSegmentInfo(i).then((function(r){return r.duration&&(t-=r.duration),n.push(r),u(e,t,n)}))}t.SegmentInfoService=a},28915:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isSegmentTiming=function(e){return"startTime"in e&&(0,r.isNumber)(e.startTime)&&"duration"in e&&(0,r.isNumber)(e.duration)},t.findSegmentIndexForTime=function(e,t,n){var r=!e||!e.length,i=t<e[0].startTime+e[0].duration;if(r||i)return 0;var a=e.length-1;if(t>=e[a].startTime)return a;var s=Math.max(t-e[0].startTime,0),u=Math.min(Math.floor(s/n),e.length-1);return o(e[0])&&o(e[u])?function(e,t,n){for(var r=e.length-1;e[n].startTime>t||t>=e[n].startTime+e[n].duration;){if(t<e[n].startTime?n--:n++,n<=0)return 0;if(n>=r)return r;if(!o(e[n]))return null}return n}(e,t,u):null},t.createInitSegmentInfoBase=function(e){var t=e._internalId;return{internalRepresentationId:t,representationId:t.representationId,periodId:t.periodId,mimeType:e._mimeType,isInitSegment:!0}},t.getSegmentInfoTimeRange=function(e){if((null==e?void 0:e.duration)&&void 0!==(null==e?void 0:e.startTime))return{start:e.startTime,end:e.startTime+e.duration}},t.generateSegmentId=function(e){var t,n,r=null!==(n=null===(t=e.discontinuitySequenceNumber)||void 0===t?void 0:t.toString())&&void 0!==n?n:e.periodId,o=e.byteRange?"-".concat(e.byteRange.start,":").concat(e.byteRange.end):"";return i.Util.hashCode("".concat(r,":").concat(e.url).concat(o))};var r=n(70016),i=n(54838);function o(e){return e&&(0,r.isNumber)(e.startTime)}},67550:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentListMPDHandler=t.PHANTOM_SEGMENT_URL=void 0,t.assignSegmentStartTimesFromHlsPlaylist=S,t.copyPropValues=T,t.getMatchingPart=A;var i=n(18665),o=n(42055),a=n(91397),s=n(81361),u=n(44388),c=n(61452),l=n(331),d=n(70016),_=n(76885),f=n(91520),h=n(16368),p=n(92103),g=n(93326),v=n(73553),m=n(28915);t.PHANTOM_SEGMENT_URL="PHANTOM-SEGMENT";var y=function(){function e(e){this.lastLookupInformation={time:-1,representationId:""},this.context=e,this.sourceContext=e.sourceContext,this.settings=e.settings,this.logger=e.logger,this.manifestService=e.serviceManager.get(i.ServiceName.ManifestService,this.sourceContext.sourceIdentifier),this.distanceToListStartSeconds=0,this.segmentListMap={},this.timestampOffset=NaN}return e.prototype.createSegmentListEntry=function(e,t){if(!e)return null;var n={isInitSegment:!1,url:e._media,duration:e._duration,internalRepresentationId:t,periodId:t.periodId};if(e._key&&(n.key=e._key),e._dateTime&&(n.dateTime=e._dateTime),e._metadata&&(n.metadata=e._metadata),e._byteRange&&(n.byteRange=e._byteRange),e._init&&(n.init=e._init),void 0!==e._mediaSequence&&(n.mediaSequence=e._mediaSequence),void 0!==e._discontinuitySequenceNumber&&(n.discontinuitySequenceNumber=e._discontinuitySequenceNumber),e._parts){var r=n.dateTime;n.parts=e._parts.map((function(e){var t=function(e,t){var n={url:e.uri,duration:e.duration,isInitSegment:!1,internalRepresentationId:t.internalRepresentationId};return e.byteRange&&(n.byteRange=e.byteRange),t.key&&(n.key=t.key),t.init&&(n.init=t.init),(0,d.isDefined)(t.mediaSequence)&&(n.mediaSequence=t.mediaSequence),(0,d.isDefined)(t.discontinuitySequenceNumber)&&(n.discontinuitySequenceNumber=t.discontinuitySequenceNumber),n}(e,n);return r&&(t.dateTime=r,t.startTime=(0,l.toSeconds)(r.getTime()),r=new Date(r.getTime()+(0,l.toMilliSeconds)(e.duration))),t}))}return n.segmentId=(0,m.generateSegmentId)(n),n},e.prototype.removeDroppedOutSegmentsFromList=function(e,t,n){if(t.SegmentURL.length<1)return e.entries=[],e.totalDuration=0,e.entries.length;for(var r=this.createSegmentListEntry(t.SegmentURL[0],n),i=0,o=0,a=0;a<e.entries.length;a++){var s=e.entries[a];if((0,p.isIdenticalSegmentInfo)(s,r))break;i+=s.duration,e.entries.splice(a,1),a--,o++,this.manifestService.isLive()&&this.currentRepresentationId.equals(n)&&this.rewindOneSegment()}return e.totalDuration-=i,o},e.prototype.addNewSegmentsToList=function(e,t,n){for(var r,i=e.entries.length>0,o=[],s=e.entries[e.entries.length-1],u=0,l=t.SegmentURL.length-1;l>=0;l--){var d=this.createSegmentListEntry(t.SegmentURL[l],n);if(s&&(0,p.isIdenticalSegmentInfo)(s,d)){if(E(s)){var _=$(s,d);e.totalDuration+=_}break}s&&(0,p.isIdenticalInitSegmentInfo)(s.init,d.init)&&(d.init=s.init),isNaN(d.duration)&&(d.duration=e.maximumSegmentDuration),d.duration/=e.timescale,u+=d.duration,i&&(d.url=(0,a.forceReallocation)(d.url),null===(r=d.metadata)||void 0===r||r.forEach((function(e){return(0,c.forceReallocateStringProps)(e)}))),o.unshift(d)}return e.totalDuration+=u,e.entries=e.entries.concat(o),o.length},e.prototype.updateSegmentList=function(e,t){var n,r,i=t.SegmentList,o=t._internalId.representationId,a=null===(n=this.currentRepresentationId)||void 0===n?void 0:n.equals(t._internalId),s=null===(r=null==i?void 0:i[0])||void 0===r?void 0:r.SegmentURL.length;if(!a||s){e.Uri&&e.Uri!==t.Uri&&this.resetSegmentListUponFailover(e,null==i?void 0:i[0],a),e.Uri=t.Uri,e.timescale=1,e.maximumSegmentDuration=1,e.startNumber=1;for(var u=function(n){var r=i[n];if(r.hasOwnProperty("_duration")&&(e.maximumSegmentDuration=Number(r._duration)),["_timescale","_startNumber","_presentationTimeOffset"].filter((function(e){return r.hasOwnProperty(e)})).forEach((function(t){return e[t.substr(1)]=r[t]})),c.updateInitInfo(e,r,t),r.hasOwnProperty("SegmentURL")){var a=c.removeDroppedOutSegmentsFromList(e,r,t._internalId),s=c.addNewSegmentsToList(e,r,t._internalId);c.logManifestUpdateStats(t._mimeType,o,a,s),c.manifestService.isHlsManifest()?S(e.entries,o,c.manifestService):c.assignSegmentStartTimesForDash(e,t._internalId)}},c=this,l=0;l<i.length;l++)u(l)}},e.prototype.resetSegmentListUponFailover=function(e,t,n){var r,i,o,a,u,c;if(this.manifestService.isLive()&&n){var l=null!==(o=null===(i=null===(r=e.entries)||void 0===r?void 0:r[0])||void 0===i?void 0:i.mediaSequence)&&void 0!==o?o:1/0,d=(null!==(u=null===(a=null==t?void 0:t.SegmentURL[0])||void 0===a?void 0:a._mediaSequence)&&void 0!==u?u:0)-l,_=function(e){var t,n,r=e.totalDuration/(null!==(n=null===(t=e.entries)||void 0===t?void 0:t.length)&&void 0!==n?n:1);return Math.ceil(24/r)}(e);!isNaN(d)&&d>0&&d<_&&this.rewindSegmentListIndexBy(d)}(0,s.clearArray)(null!==(c=e.entries)&&void 0!==c?c:[])},e.prototype.updateInitInfo=function(e,t,n){var r,i=null===(r=f.ModuleManager.get(h.ModuleName.DASH,!1))||void 0===r?void 0:r.initSegmentInfoSourceDetectors.isInitializationNode;(null==i?void 0:i(t))?e.init=f.ModuleManager.get(h.ModuleName.DASH,!1).initSegmentInfoProviders.provideSegmentInfoFromInitializationNodeProperty(t,n):delete e.init},e.prototype.logManifestUpdateStats=function(e,t,n,r){(n>0||r>0)&&this.logger.debug("[".concat(e,"][").concat(t,"] Updated segment list, removed ").concat(n," segments and added ").concat(r," segments"))},e.prototype.assignSegmentStartTimesForDash=function(e,t){var n=this.getMinStartTime(t),r=0;e.entries.forEach((function(e){var t;e.startTime=n+r,r+=null!==(t=e.duration)&&void 0!==t?t:0}))},e.prototype.extrapolateStartTimesFromDiscontinuityStarts=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId),n=f.ModuleManager.get(h.ModuleName.HLS).selectors,r=n.getHlsState,i=n.getDiscoSequenceTimings,o=n.getPlaylistStartTime,a=function(e,t){for(var n=e[0].discontinuitySequenceNumber,r=1;r<e.length;r++){var i=e[r].discontinuitySequenceNumber;if(i!==n){var o=b(t,i);if(null!=o)return{index:r,discontinuityStartTime:o}}}return null}(t,i(r(this.getSourceStateService().getState())));if(!a){var s=o(r(this.getSourceStateService().getState()),e.getRepresentationId().representationId);a={index:0,discontinuityStartTime:s},this.logger.debug("Could not find matching discontinuity start times for "+"".concat(e.getSegmentInfo().discontinuitySequenceNumber," using playlist startTime: ").concat(s))}this.logger.debug("Aligning segments of ".concat(e.getRepresentationId().representationId," to discontinuity start ")+"".concat(a.discontinuityStartTime," of ").concat(e.getSegmentInfo().discontinuitySequenceNumber)),t[a.index].startTime=a.discontinuityStartTime;for(var u=a.index-1;u>=0;u--)t[u].startTime=t[u+1].startTime-t[u+1].duration;for(u=a.index+1;u<t.length;u++)t[u].startTime=t[u-1].startTime+t[u-1].duration},e.prototype.getSourceStateService=function(){return this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.getListIndexForSegment=function(e,t){for(var n=-1,r=this.getSegmentListEntries(t),i=r.length-1;i>=0;i--)if((0,p.isIdenticalSegmentInfo)(r[i],e)){n=i;break}return n},e.prototype.populateSegmentListMap=function(e){var t=this;this.manifestService.getAdaptationSet(e).Representation.forEach((function(e){var n=t.segmentListMap[e._internalId.key()];if(n||(n=t.initializeSegmentList(e._internalId.key())),e.hasOwnProperty("SegmentList")&&(t.updateSegmentList(n,e),f.ModuleManager.has(h.ModuleName.DASH))){var r=f.ModuleManager.get(h.ModuleName.DASH).initSegmentInfoSourceDetectors.isInitializationNode;if(!n.hasOwnProperty("init")&&e.hasOwnProperty("SegmentBase")&&e.SegmentBase&&r(e.SegmentBase[0])){var i=f.ModuleManager.get(h.ModuleName.DASH).initSegmentInfoProviders.provideSegmentInfoFromInitializationNodeProperty;n.init=i(e.SegmentBase[0],e)}}}))},e.prototype.selectNewRepresentationId=function(){var e,t,n=this,r=null===(e=this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.sourceContext.sourceIdentifier).getState().activeTracks)||void 0===e?void 0:e[this.adaptationSetId.adaptationSetId];if((null===(t=null==r?void 0:r.selectedRepresentationId)||void 0===t?void 0:t.periodId)===this.adaptationSetId.periodId)return r.selectedRepresentationId;if(this.currentRepresentationId){var o=this.manifestService.getRepresentation(this.adaptationSetId,this.currentRepresentationId.representationId);if(o)return o._internalId}return(this.getMatchingRepresentationByBandwidth((function(e){return n.isSegmentInfoLoaded(e._internalId)}))||this.getMatchingRepresentationByBandwidth())._internalId},e.prototype.getMatchingRepresentationByBandwidth=function(e){return this.manifestService.getMatchingRepresentationByBandwidth(this.adaptationSetId,this.getCurrentBandwidth(),e)},e.prototype.shouldUpdateRepresentation=function(){var e=this.adaptationSetId.equals(this.currentRepresentationId),t=!this.currentRepresentationId||Boolean(this.manifestService.getRepresentationById(this.currentRepresentationId));return!this.currentRepresentationId||!e||!t},e.prototype.setAdaptationSetId=function(e){this.adaptationSetId=e,this.populateSegmentListMap(this.adaptationSetId);var t,n=this.manifestService.isLive(),r=0;this.shouldUpdateRepresentation()&&(this.currentRepresentationId=this.selectNewRepresentationId());var i=this.segmentListMap[this.currentRepresentationId.key()];if(i||(i=this.initializeSegmentList(this.currentRepresentationId.key())),i&&n&&i.entries&&i.entries.length>0){var o=i.entries.length-1;this.listIndex>o&&(r=this.listIndex-o),this.listIndex=Math.min(o,this.listIndex||0),this.listIndex=Math.max(0,this.listIndex),t=i.entries[this.listIndex]}if(this.listIndex=this.listIndex||0,n&&(this.distanceToListStartSeconds=this.getSegmentDuration()*this.settings.LIVE_SEGMENT_LIST_START_INDEX_OFFSET),n){if(t&&i){var a=this.getListIndexForSegment(t,this.currentRepresentationId);a>=0?this.listIndex=a+r:this.reset()}else this.reset();var s=this.checkForSegmentInfoError();s?this.rejectPendingSegmentInfoRequest(s):this.resolvePendingSegmentInfoRequests()}else this.resolvePendingSegmentInfoRequests()},e.prototype.initializeSegmentList=function(e){var t={totalDuration:0,entries:[],SegmentURL:[],startNumber:0,init:null,maximumSegmentDuration:1,timescale:1};return this.segmentListMap[e]=t,t},e.prototype.getCurrentBandwidth=function(){var e=0,t=this.getCurrentRepresentation();return t&&(e=t._bandwidth),e},e.prototype.checkForSegmentInfoError=function(){var e;if(this.manifestService.isHlsManifest()){var t=this.manifestService.getRepresentationById(this.currentRepresentationId);if(null===(e=null==t?void 0:t._hls)||void 0===e?void 0:e.hasFailedToLoad)return v.SegmentInfoErrors.COULD_NOT_LOAD_PLAYLIST}return this.hasNext()||this.manifestService.isLastPeriod(this.currentRepresentationId.periodId)?null:v.SegmentInfoErrors.PERIOD_COMPLETE},e.prototype.reset=function(){this.settings.ENABLE_SEEK_FOR_LIVE?this.listIndex=0:this.timeShift(0)},e.prototype.syncSegmentStartTimeUsingMediaSequenceNumber=function(e,t){var n,r,i,o,a=this.manifestService.getRepresentationById(e),u=this.manifestService.getRepresentationById(t),c=(0,d.isNumber)(null===(n=null==u?void 0:u._hls)||void 0===n?void 0:n.mediaSequence)&&(0,d.isNumber)(null===(r=null==a?void 0:a._hls)||void 0===r?void 0:r.mediaSequence);if(a&&u&&c){var l=(null===(i=null==u?void 0:u._hls)||void 0===i?void 0:i.mediaSequence)-(null===(o=null==a?void 0:a._hls)||void 0===o?void 0:o.mediaSequence),_=this.getSegmentListEntries(e),f=this.getSegmentListEntries(t);l>=_.length||(f[0].startTime=_[l].startTime,(0,s.forEachFromIndex)(f,1,(function(e,t){(0,d.isNumber)(e.startTime)&&(0,d.isNumber)(e.duration)&&(t.startTime=e.startTime+e.duration)})))}},e.prototype.setRepresentationId=function(e){var t=this.manifestService.getRepresentationById(e),n=this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex];if(t){var r=void 0===this.currentRepresentationId,i=this.currentRepresentationId;if(this.currentRepresentationId=e,this.manifestService.isLive()&&t._hls)if(this.settings.HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE&&this.syncSegmentStartTimeUsingMediaSequenceNumber(i,this.currentRepresentationId),r)this.reset();else if(this.settings.HLS_SYNC_VIA_MEDIA_SEQUENCE){var o=this.manifestService.getRepresentationById(i)._hls.mediaSequence+this.listIndex;this.listIndex=o-t._hls.mediaSequence,this.listIndex=Math.max(this.listIndex,0)}else if(null!=(null==n?void 0:n.startTime)&&!isNaN(n.startTime)){var a=this.getIndexForTime(n.startTime);null===a||isNaN(a)||(this.listIndex=this.adaptListIndexToCorrectIndex(a,n.startTime))}return!0}return!1},e.prototype.adaptListIndexToCorrectIndex=function(e,t){var n=this.getSegmentListEntries(this.currentRepresentationId),r=[n[e],n[e+1]];if(e===n.length-1||r.some((function(e){return!e.startTime})))return e;var i=r.map((function(e){return Math.abs(e.startTime-t)})),o=Math.min.apply(this,i);return e+i.indexOf(o)},e.prototype.getInitSegmentInfo=function(){var e=this.getSegmentList(this.currentRepresentationId);if(null==e?void 0:e.init)return e.init.presentationTimeOffset=this.getTimestampOffset(),e.init;var t=this.getSegmentListEntries(this.currentRepresentationId);if(this.isIndexInBounds(t)&&this.listIndex>-1){var n=r({},t[this.listIndex]);if(n.init){var i=n.init;return i.isInitSegment=!0,i}}return null},e.prototype.getNextSegmentInfo_=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId);if(!(t.length<1||this.listIndex<0)&&this.isIndexInBounds(t))return this.updateIndexForLowLatencyHls(e),this.getNextSegmentOrPart(e)},e.prototype.updateIndexForLowLatencyHls=function(e){var t;if(this.context.settings.LL_HLS)if(0!==e){var n=null===(t=this.getCurrentRepresentation())||void 0===t?void 0:t._id;n===this.lastLookupInformation.representationId&&e===this.lastLookupInformation.time||(this.listIndex=this.getIndexForTime(e)),this.lastLookupInformation={time:e,representationId:n}}else this.context.logger.debug("Ignoring target time of 0 for LL-HLS")},e.prototype.getNextSegmentOrPart=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId),n=t[this.listIndex];if(!(n.parts&&n.parts.length>0))return this.getNextFullSegmentInfo();if(E(n))return A(n,e);var r=A(n,e);return r?n.parts.indexOf(r)>0?r:this.getNextFullSegmentInfo():C(e,n,this.settings.LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE)?(this.listIndex++,this.isIndexInBounds(t)?this.getNextSegmentOrPart(e):void 0):(this.logger.debug("Failed to retrieve next SegmentInfo for time ".concat(e,", returning full segment at next index")),this.getNextFullSegmentInfo())},e.prototype.getNextSegmentInfo=function(e){var t=this.getNextSegmentInfo_(e);return t?(this.populateSegmentInfoProps(t),Promise.resolve(t)):this.queueSegmentInfoRequest({time:e})},e.prototype.populateSegmentInfoProps=function(e){return e.presentationTimeOffset=this.getTimestampOffset(),e.startTime&&(e.wallClockTime=(0,l.toMilliSeconds)(e.startTime)),e},e.prototype.getNextFullSegmentInfo=function(){return this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex++]},e.prototype.getSegmentInfos=function(){var e=this,t=this.listIndex,n=this.manifestService.getTotalDuration(),r={},i=this.manifestService.getAdaptationSet(this.adaptationSetId);if(i){var o=this.getSeekableRange().end-this.getSeekableRange().start,a=i.Representation[0].BaseURL[0].url;i.Representation.forEach((function(i){var s,u,c=e.getSegmentListEntries(i._internalId),d=e.manifestService.isLive();d?(s=t-o/e.getSegmentDuration(),u=t):(s=0,u=parseInt(s+o/e.getSegmentDuration())-1);for(var f=0,h=[],p=s;p<=u;p++){var g=h.length;h[g]={};var v=void 0;if(c.length&&(v=c[g].url),"string"==typeof v){var m=_.URLHelper.concatBaseUrlWithPartial(a,v);h[g].url=_.URLHelper.appendQueryParametersToUrl(m,e.settings.QUERY_PARAMETERS)}h[g].duration=e.getSegmentDuration(),d?(f=e.settings.ENABLE_SEEK_FOR_LIVE?e.getExpectedPresentationTime(p):(0,l.toSeconds)(Date.now()-e.manifestService.getAvailabilityStartTime())-n,t++):(h[g].startTime=f,f+=h[g].duration),r[i._id]=h}}))}return r},e.prototype.getSubtitleUrl=function(){return this.manifestService.getAvailableSubtitles(this.adaptationSetId.periodId)[0].url},e.prototype.getStartNumber=function(){var e=this.getSegmentList(this.currentRepresentationId);return e?e.startNumber:1},e.prototype.getSegmentDuration=function(){var e=this,t=this.getSegmentList(this.currentRepresentationId),n=this.getSegmentListEntries(this.currentRepresentationId);if(t)return n.length>0&&(0,d.isNumber)(t.totalDuration)?t.totalDuration/n.length:t.maximumSegmentDuration;if(this.manifestService.getAdaptationSet(this.adaptationSetId)){var r=Object.keys(this.segmentListMap).map((function(t){return e.segmentListMap[t]})).find((function(e){return null!==e}));if(r)return r.maximumSegmentDuration}return 1},e.prototype.seekTo=function(e){e>-1&&(this.listIndex=this.getIndexForTime(e))},e.prototype.isIndexInBounds=function(e){return this.listIndex<e.length},e.prototype.hasNext=function(){var e=this.getSegmentListEntries(this.currentRepresentationId);return!this.currentRepresentationId||!e.length||(this.manifestService.isLive()?this.hasNextLive(e):this.isIndexInBounds(e))},e.prototype.hasNextLive=function(e){return!!this.manifestService.isLastPeriod(this.currentRepresentationId.periodId)||this.isIndexInBounds(e)},e.prototype.setTimestampOffset=function(e,t){void 0===t&&(t=1),this.timestampOffset=e/t},e.prototype.getTimestampOffset=function(){if(!isNaN(this.timestampOffset))return this.timestampOffset;var e=this.getCurrentPeriod(),t=0;if(this.currentRepresentationId){var n=this.getSegmentList(this.currentRepresentationId);n&&!isNaN(n.presentationTimeOffset)&&(t=n.presentationTimeOffset/n.timescale)}return e&&!this.manifestService.isHlsManifest()&&(t-=e.start),t},e.prototype.getIndex=function(){return this.listIndex},e.prototype.setIndex=function(e){if("number"==typeof e)return e<0?(this.logger.debug("Tried to set index at MPDHandler to value smaller 0. Setting to 0."),void(this.listIndex=0)):void(this.listIndex=e);this.logger.debug("Tried to set index at MPDHandler with parameter not being a number!")},e.prototype.queueSegmentInfoRequest=function(e){var t=this;return this.pendingSegmentInfoRequest?Promise.reject("fail"):new Promise((function(n,i){t.pendingSegmentInfoRequest=r(r({},e),{resolve:n,reject:i})}))},e.prototype.resolvePendingSegmentInfoRequests=function(){if(this.pendingSegmentInfoRequest){var e=this.getNextSegmentInfo_(this.pendingSegmentInfoRequest.time);e?(this.populateSegmentInfoProps(e),this.pendingSegmentInfoRequest.resolve(e),this.pendingSegmentInfoRequest=null):this.manifestService.isLive()||this.hasNext()||this.pendingSegmentInfoRequest.reject(v.SegmentInfoErrors.END_OF_STREAM_REACHED)}},e.prototype.rejectPendingSegmentInfoRequest=function(e){this.pendingSegmentInfoRequest&&(this.pendingSegmentInfoRequest.reject(e),this.pendingSegmentInfoRequest=null)},e.prototype.getLiveEdgeIndex=function(){var e=this.getSegmentListEntries(this.currentRepresentationId);return e.length>0?e.length-1:0},e.prototype.getIndexForOffset=function(e){for(var t,n=Math.abs(e),r=this.getSegmentDuration(),i=this.getSegmentListEntries(this.currentRepresentationId),o=this.getLiveEdgeIndex(),a=0,s=i.length-1;s>=0&&!((a+=null!==(t=i[s].duration)&&void 0!==t?t:r)>=n);s--)o--;return Math.max(0,o)},e.prototype.timeShift=function(e,t,n){if(this.manifestService.isLive()){var r=this.listIndex;this.listIndex=n&&this.hasStartTimes()?this.getIndexForTime(n):this.getIndexForOffset(e),this.logger.debug("timeShift changes index from ".concat(r," to ").concat(this.listIndex,", based on")+" offset ".concat(e," and target time ").concat(n))}},e.prototype.hasStartTimes=function(){var e,t=null===(e=this.getSegmentListEntries(this.currentRepresentationId)[0])||void 0===e?void 0:e.startTime;return(0,d.isNumber)(t)&&t>=0},e.prototype.updateRepresentation=function(e){return Promise.resolve(e)},e.prototype.isSegmentInfoLoaded=function(e){if(void 0===e&&(e=this.currentRepresentationId),!e)return!1;var t=this.getSegmentListEntries(e),n=this.manifestService.getRepresentationById(e);return!(!t.length||!n)},e.prototype.rewindSegmentListIndexBy=function(e){this.logger.debug("Rewinding segment list index by ".concat(e," segments")),this.listIndex-=e,this.listIndex<0&&(this.logger.debug("List array index is smaller than 0, probably a discontinuity. Using 0."),this.listIndex=0)},e.prototype.rewindOneSegment=function(){return this.listIndex--,!(this.listIndex<0&&(this.logger.debug("List array index is smaller than 0, probably a discontinuity. Using 0."),this.listIndex=0,1))},e.prototype.getCurrentPeriod=function(){return this.manifestService.getPeriod(this.currentRepresentationId)},e.prototype.getExpectedPresentationTime=function(e){var t=this.getCurrentPeriod().start;return(this.manifestService.hasSinglePeriod()?this.getSeekableRange().start:t)+this.getSegmentListEntries(this.currentRepresentationId).slice(0,e).reduce((function(e,t){return e+t.duration}),0)},e.prototype.getCurrentRepresentation=function(){return this.manifestService.getRepresentationById(this.currentRepresentationId)},e.prototype.getSegmentList=function(e){if(e)return this.segmentListMap[e.key()]},e.prototype.getSegmentListEntries=function(e){var t,n;return e?this.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE&&this.manifestService.isHlsManifest()?this.getStoreSegmentInfos(e):null!==(n=null===(t=this.getSegmentList(e))||void 0===t?void 0:t.entries)&&void 0!==n?n:[]:[]},e.prototype.getStoreSegmentInfos=function(e){var t,n=null===(t=this.getSourceStateService())||void 0===t?void 0:t.getState();return(0,g.getSegmentInfos)(n,e.key())},e.prototype.findListIndexWithoutSegmentStartTimes=function(e,t){var n,r;if(!this.adaptationSetId)return 0;for(var i=this.manifestService.getPeriod(this.adaptationSetId),o=null!==(n=null==i?void 0:i.start)&&void 0!==n?n:0,a=this.getSegmentListEntries(this.currentRepresentationId),s=0,u=o;u<=t&&s<a.length;s++)u+=null!==(r=a[s].duration)&&void 0!==r?r:0;return Math.max(s-1,0)},e.prototype.getIndexForTime=function(e){var t=this.getSegmentList(this.currentRepresentationId),n=this.getSegmentListEntries(this.currentRepresentationId);if(!t||0===n.length||!(0,d.isNumber)(t.totalDuration))return 0;var r=this.getMinStartTime(),i=Math.max(r,e),o=t.totalDuration/n.length,a=(0,m.findSegmentIndexForTime)(n,i,o);return null!==a?a:this.findListIndexWithoutSegmentStartTimes(t,i)},e.prototype.getMinStartTime=function(e){void 0===e&&(e=this.currentRepresentationId);var t=this.manifestService.hasSinglePeriod()?this.getSeekableRange().start:this.manifestService.getPeriod(e).start;return this.manifestService.isFirstPeriod(e.periodId)&&(t+=this.distanceToListStartSeconds),t},e.prototype.getLiveEdgeTime=function(){var e,t=null===(e=this.manifestService)||void 0===e?void 0:e.getLastPeriod();return t?t.start+u.DurationConverter.getDurationInSec(t._duration):1/0},e.prototype.getActualTimeShiftBufferDepth=function(){return this.manifestService.getTimeShiftBufferDepthSeconds()},e.prototype.getSeekableRange=function(){var e={start:0,end:0},t=this.manifestService.getTotalDuration();if(!this.manifestService.isLive())return e.start=(0,o.getStartTimeOffset)(this.getSourceStateService().getState()),e.end=t,e;var n=this.manifestService.getTimeShiftBufferDepthSeconds(),r=(0,l.toSeconds)(this.manifestService.getRequestTimestamp()-this.manifestService.getAvailabilityStartTime());if(e.start=Math.max(r+n,0),e.end=Math.max(r,0),f.ModuleManager.has(h.ModuleName.HLS)&&this.manifestService.isHlsManifest()){var i=f.ModuleManager.get(h.ModuleName.HLS).selectors,a=i.getHlsState;"EVENT"===(0,i.getPlaylistType)(a(this.getSourceStateService().getState()))?(e.start=0,e.end=t):e.start+=this.distanceToListStartSeconds}return e.end-=this.manifestService.getDesiredDistanceToLiveEdge(),e},e.prototype.getPendingSegmentInfoRequest=function(){return this.pendingSegmentInfoRequest},e.prototype.setPendingSegmentInfoRequest=function(e){this.pendingSegmentInfoRequest=e},e.prototype.canSwitchRepresentation=function(e){var t,n=this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex];if(!n)return!0;var r=C(e,n,this.settings.LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE);return!(E(n)||!r)||!((null===(t=null==n?void 0:n.parts)||void 0===t?void 0:t.length)&&A(n,e)!==n.parts[0])},e.prototype.getLatestTimeForPossibleSwitch=function(e){var t,n=this.getLLHlsInfoForTime(e),r=n.isLoadingCurrentSegmentsParts,i=n.currentSegment;return i&&r&&null!==(t=i.startTime)&&void 0!==t?t:e},e.prototype.adjustTimeToNextSegmentStart=function(e){var t=this.getLLHlsInfoForTime(e),n=t.isLoadingCurrentSegmentsParts,r=t.currentSegment;return n&&(null==r?void 0:r.startTime)&&(null==r?void 0:r.duration)?r.startTime+r.duration:e},e.prototype.getLLHlsInfoForTime=function(e){var t,n=function(e,t){var n,r,i;if(t&&!(t.length<1)&&(null===(n=t[0])||void 0===n?void 0:n.duration)){var o=(0,m.findSegmentIndexForTime)(t,e,t[0].duration),a=null===o,s=e<(null!==(i=null===(r=t[0])||void 0===r?void 0:r.startTime)&&void 0!==i?i:1/0),u=t[t.length-1];if(void 0!==u.startTime&&void 0!==u.duration){var c=e>u.startTime+u.duration;if(!(a||s||c))return t[o]}}}(e,this.getSegmentListEntries(this.currentRepresentationId)),r=null===(t=null==n?void 0:n.parts)||void 0===t?void 0:t[0],i=!1;if(r&&n){var o=A(n,e);i=void 0!==o&&o!==r}return{currentSegment:n,isLoadingCurrentSegmentsParts:i}},e.prototype.dispose=function(){this.settings=null,this.manifestService=null,this.adaptationSetId=null,this.currentRepresentationId=null,this.manifestService=null,this.pendingSegmentInfoRequest=null,this.segmentListMap=null},e}();function b(e,t){var n=e[String(t)];return n&&n.startTime>0?n.startTime:(n=e[String(t-1)])&&n.endTime>0?n.endTime:null}function S(e,t,n){var r;e.length&&n.hasSegmentStartTimeForHlsRepresentation(t)&&(null!=e[0].startTime?r=(0,s.findIndexFromEnd)(e,(function(e){return null!=e.startTime}))+1:(e[0].startTime=n.getStartTimeForHlsSegment(t,e[0]),r=1),(0,s.forEachFromIndex)(e,r,(function(e,t){return t.startTime=e.startTime+e.duration})))}function E(e){return e.url.endsWith(t.PHANTOM_SEGMENT_URL)}function $(e,n){var r=n.duration-e.duration;return T(n,e,["url","mediaURL","duration","parts","init","key","discontinuitySequenceNumber","isDiscontinuityStart"]),!e.url.endsWith(t.PHANTOM_SEGMENT_URL)&&(e.url=(0,a.forceReallocation)(e.url)),r}function T(e,t,n){n.forEach((function(n){return t[n]=e[n]}))}function A(e,t){var n,r=null===(n=e.parts)||void 0===n?void 0:n.every(m.isSegmentTiming);if(e.parts&&r){var i=e.parts,o=i.reduce((function(e,t){return e+t.duration}),0)/i.length,a=(0,m.findSegmentIndexForTime)(i,t,o);if(null!=a)return a=function(e,t,n){var r=n[t],i=r.startTime+r.duration;return Math.abs(e-r.startTime)<=Math.abs(e-i)?t:t+1}(t,a,i),e.parts[a]}}function C(e,t,n){return void 0!==t.startTime&&void 0!==t.duration&&Math.abs(e-(t.startTime+t.duration))<n}t.SegmentListMPDHandler=y},66864:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentLoader=t.State=t.SegmentLoadingErrorReason=void 0;var i,o,a=n(52442),s=n(25550),u=n(28764),c=n(18665),l=n(62510),d=n(90637),_=n(6311),f=n(23234),h=n(36564),p=n(67345),g=n(76650),v=n(28819),m=n(8272),y=n(56093),b=n(79814),S=n(331),E=n(70016),$=n(91520),T=n(16368),A=n(41108),C=n(48727),P=n(25040),I=n(40392),w=n(86674),M=n(36225),k=n(5206),O=n(4141),R=n(72207);!function(e){e.CANCEL="CANCEL",e.ERROR_LOADING="ERROR_LOADING",e.ERROR_DECRYPTING="ERROR_DECRYPTING",e.BUSY="BUSY",e.UNKNOWN="UNKNOWN",e.TIMEOUT="TIMEOUT"}(i||(t.SegmentLoadingErrorReason=i={})),function(e){e[e.IDLE=1]="IDLE",e[e.LOADING=2]="LOADING",e[e.CANCELLING=3]="CANCELLING",e[e.TERMINATED=4]="TERMINATED",e[e.TIMEOUT=5]="TIMEOUT"}(o||(t.State=o={}));var D=function(){function e(e,t,n,i){void 0===i&&(i=!1);var a=this;if(this.context=e,this.cancelLoading=function(e){var t,n,r,i,s,u,c;if(void 0===e&&(e=o.CANCELLING),clearTimeout(a.loadTimeoutID),clearInterval(a.progressCheckIntervalId),a.loadTimeoutID=null,a.isLoading()){var l=a.currentSegmentInfoMap[a.loadingUrl];if(delete a.currentSegmentInfoMap[a.loadingUrl],a.state=e,a.loader.cancel(),void 0!==a.currentRequestProgress){var d=null!==(n=null===(t=a.currentRequestProgress.responseTiming)||void 0===t?void 0:t.headersReceivedTimestamp)&&void 0!==n?n:-1,f=null!==(i=null===(r=a.currentRequestProgress.responseTiming)||void 0===r?void 0:r.openedTimestamp)&&void 0!==i?i:-1,h=null!==(s=a.currentRequestProgress.elapsedTime)&&void 0!==s?s:-1,p=d-f;h>=0&&p>=0&&h>p&&a.context.store.dispatch((0,g.addMetricsValue)(a.mimeType,m.MetricType.DownloadInformation,{bytes:a.currentRequestProgress.loadedBytes,time:h,timeToFirstByte:p})),(null===(u=a.currentRequestProgress)||void 0===u?void 0:u.chunks)&&l&&a.dispatchCancelledChunkedDownloadMetrics(l),a.canceledSegmentRequestFinishedEvent={success:!1,httpStatus:408,url:a.loadingUrl,downloadTime:h,size:a.currentRequestProgress.loadedBytes,duration:null!==(c=a.segmentDuration)&&void 0!==c?c:0,isInit:a.isInit,mimeType:a.mimeType,uid:void 0,timeToFirstByte:(0,_.hasLoadedData)(a.currentRequestProgress)?p:-1}}a.currentRequestProgress=void 0}},this.checkLoadingProgress=function(){var e,t,n,i=null!==(n=null===(t=null===(e=a.currentRequestProgress)||void 0===e?void 0:e.responseTiming)||void 0===t?void 0:t.sendTimestamp)&&void 0!==n?n:-1;void 0===a.currentRequestProgress||i<0||a.onProgress(r(r({},a.currentRequestProgress),{elapsedTime:f.TimingUtil.getHiResTimestamp()-i}))},this.onProgress=function(e){var t,n=null!==(t=e.elapsedTime)&&void 0!==t?t:-1,i=a.currentSegmentInfoMap[a.loadingUrl];a.currentRequestProgress=r(r({},e),{segmentDuration:a.segmentDuration,url:a.loadingUrl,representationBitrate:i.bitrate}),a.isInit||n<=.5||a.state!==o.LOADING||a.onDownloadShouldBeCancelledCallback(a.currentRequestProgress,i.internalRepresentationId)&&a.cancelLoading(o.TIMEOUT)},this.onSuccess=function(e,t,n){var r,i,o,s,u,c,d=a.context.store.getState(),_=d?(0,v.getMetricsState)(d):void 0;if(!a.isInit&&_&&a.mimeType in _&&(a.context.store.dispatch((0,g.addMetricsValue)(a.mimeType,m.MetricType.DownloadTime,t)),a.context.store.dispatch((0,g.addMetricsValue)(a.mimeType,m.MetricType.DownloadSuccess,!0)),(0,h.isDownloadTimeInformationValid)(e)&&(a.loadingUrl&&a.context.logger.debug("Downloaded ".concat(a.mimeType," segment in: ").concat(null===(r=e.elapsedTime)||void 0===r?void 0:r.toFixed(2),", TTFB: ").concat(null===(i=e.timeToFirstByte)||void 0===i?void 0:i.toFixed(2),", quality: ").concat(null!==(s=null===(o=a.currentSegmentInfoMap[a.loadingUrl])||void 0===o?void 0:o.representationId)&&void 0!==s?s:"")),a.context.store.dispatch((0,g.addMetricsValue)(a.mimeType,m.MetricType.DownloadInformation,{bytes:e.length,time:e.elapsedTime,timeToFirstByte:e.timeToFirstByte}))),null===(u=a.currentRequestProgress)||void 0===u?void 0:u.chunks)){a.logger.debug("[SegmentLoader] ",a.currentRequestProgress.chunks);var f=(0,w.calculateDownloadRates)(a.currentRequestProgress.chunks),p=(0,w.calcAverage)((0,w.filterValuesExceedingAverageByMargin)(f)),y=a.currentRequestProgress.loadedBytes,b=a.currentSegmentInfoMap[a.loadingUrl],S=b.duration,E=void 0!==S?(0,I.bytesToBits)(y)/S:void 0,$=b.bitrate;a.logger.debug("[SegmentLoader] DL rate (AVG-based filter): ".concat((0,w.bpsToMbps)(p),", segmentBitrate: ").concat(E)),a.context.store.dispatch((0,g.addMetricsValue)(a.mimeType,m.MetricType.ChunkedDownloadInformation,{downloadRate:p,segmentBitrate:E,representationBitrate:$}))}clearTimeout(a.loadTimeoutID),clearInterval(a.progressCheckIntervalId),a.loadTimeoutID=void 0;var T={success:!0,httpStatus:e.status,url:e.url,downloadTime:e.elapsedTime,size:e.length,duration:a.segmentDuration,isInit:a.isInit,mimeType:a.mimeType,uid:a.loadingUid,timeToFirstByte:null!==(c=e.timeToFirstByte)&&void 0!==c?c:-1};a.eventHandler.dispatchEvent(l.PlayerEvent.SegmentRequestFinished,T)},this.logger=e.logger,this.eventHandler=e.eventHandler,this.customLoaderArgs=e.config.tweaks.segmentLoaderArgs||null,this.customLoader=e.config.tweaks.segmentLoader||null,this.segmentDuration=1,this.state=o.IDLE,this.mimeType=t,this.keyLoader=new k.KeyLoader(this.context),this.onDownloadShouldBeCancelledCallback=n,this.currentLoadPromise=null,this.currentSegmentInfoMap={},this.canceledSegmentRequestFinishedEvent=null,this.isPrefetchingLoader=i,$.ModuleManager.has(T.ModuleName.ContainerMP4)){var s=$.ModuleManager.get(T.ModuleName.ContainerMP4);this.cmafChunkParser=new s.CmafChunkParser(this.context)}this.setupContentLoader()}return e.prototype.dispatchCancelledChunkedDownloadMetrics=function(e){var t,n,r,i,o,a,s,u,c=(null!==(r=null===(n=null===(t=this.currentRequestProgress)||void 0===t?void 0:t.responseTiming)||void 0===n?void 0:n.progressTimestamp)&&void 0!==r?r:f.TimingUtil.getHiResTimestamp())-(null!==(a=null===(o=null===(i=this.currentRequestProgress)||void 0===i?void 0:i.responseTiming)||void 0===o?void 0:o.headersReceivedTimestamp)&&void 0!==a?a:0),l=(0,I.bytesToBits)(null!==(u=null===(s=this.currentRequestProgress)||void 0===s?void 0:s.loadedBytes)&&void 0!==u?u:0)/c,d=void 0===e.duration?1:Math.max(1-c/e.duration,.1);this.context.store.dispatch((0,g.addMetricsValue)(this.mimeType,m.MetricType.ChunkedDownloadInformation,{downloadRate:l*d,segmentBitrate:void 0,representationBitrate:e.bitrate}))},e.prototype.isLoading=function(){var e=Boolean(this.keyLoader&&this.keyLoader.isLoading());return this.state===o.LOADING||this.state===o.CANCELLING||this.loader&&this.loader.isLoading()||e},e.prototype.isRetrying=function(){return this.loader&&this.loader.isRetrying()},e.prototype.load=function(e){var t=this;return this.isLoading()?(this.logger.debug("Error loading segment, loader is busy!"+this.loadingUrl),Promise.reject({reason:i.BUSY})):(this.loader&&this.loader.dispose(),this.canceledSegmentRequestFinishedEvent=null,this.currentRequestProgress=void 0,this.loader=(0,O.getLoader)(this.context,this.defaultLoaderArgs),this.state=o.LOADING,this.loadingUrl=e.url,this.loadingUid=btoa(this.loadingUrl),this.currentSegmentInfoMap[this.loadingUrl]=e,this.encryptionInfo=e.key,this.isInit=e.isInitSegment,this.segmentDuration=e.duration,this.currentLoadPromise=this.maybeLoadEncryptionKey(e).then((function(){return t.loadSegment(e)})).catch((function(e){throw t.state=o.IDLE,t.currentLoadPromise=null,e})),this.currentLoadPromise)},e.prototype.maybeLoadEncryptionKey=function(e){var t=this;if(!this.encryptionInfo||this.encryptionInfo.buffer)return Promise.resolve();switch(this.encryptionInfo.method){case a.HlsEncryptionMethod.AES_128:return this.getKey(e).then((function(e){e&&(t.encryptionInfo.buffer=e)}));case a.HlsEncryptionMethod.SAMPLE_AES:return this.eventHandler.fireError(new u.PlayerError(s.ErrorCode.SOURCE_ENCRYPTION_METHOD_NOT_SUPPORTED,{"encryption-method":this.encryptionInfo.method,supported:a.HlsEncryptionMethod.AES_128},"The ".concat(a.HlsEncryptionMethod.SAMPLE_AES," encryption method is not supported."))),Promise.reject({reason:i.ERROR_DECRYPTING});default:return Promise.reject({reason:i.ERROR_DECRYPTING})}},e.prototype.getCurrentLoadPromise=function(){return this.currentLoadPromise},e.prototype.getSourceStore=function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(c.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.getKey=function(e){var t,n=null===(t=e.key)||void 0===t?void 0:t.uri,r=this.getSourceStore();if(!r||!n)return Promise.reject(new Error("Source store not available."));var i=r.getState(),o=(0,P.getEncryptionKey)(i,n);return(null==o?void 0:o.uri)?o.key?Promise.resolve(y.FormatHelper.hexToBytes(o.key).buffer):(0,M.waitForKeyToBeLoaded)(r,n):(0,M.addEncryptionKeyToStore)(n,this.keyLoader,r)},e.prototype.getPreFetchedSegment=function(e,t){var n;return this.isPrefetchingLoader||!(null===(n=this.context.adRestorationOptimizationService)||void 0===n?void 0:n.hasPrefetchedSegment(t))?null:(this.currentSegmentInfoMap[e]&&(this.currentSegmentInfoMap[e].wasPrefetched=!0),this.context.adRestorationOptimizationService.getPrefetchedSegment(t,this.onDownloadShouldBeCancelledCallback))},e.prototype.setupLoadingProgressCheckInterval=function(){clearInterval(this.progressCheckIntervalId);var e=(0,S.toMilliSeconds)(this.context.settings.SEGMENT_LOADING_PROGRESS_CHECK_INTERVAL);e<=0||(this.progressCheckIntervalId=window.setInterval(this.checkLoadingProgress,e))},e.prototype.loadSegment=function(e){var t=this,n={};e.byteRange&&(n.Range=["bytes=",e.byteRange.start,"-",e.byteRange.end].join(""));var r=this.context.sourceContext.source&&this.context.sourceContext.source.hasOwnProperty("options")&&Boolean(this.context.sourceContext.source.options.withCredentials);clearTimeout(this.loadTimeoutID),clearInterval(this.progressCheckIntervalId),this.loadTimeoutID=void 0,this.isInit||e.preventDownloadCanceling||(this.loadTimeoutID=setTimeout((function(){return t.cancelLoading(o.TIMEOUT)}),(0,S.toMilliSeconds)(this.context.settings.XHR_TIMEOUT-1)));var i=this.getPreFetchedSegment(this.loadingUrl,e);if(i)return this.context.logger.debug("return prefetched segment for",this.loadingUrl),i.then((function(e){var n=new R.Stream;return t.loadingFinished(),n.add(e),e.getSegmentInfo().wasPrefetched=!0,n.end(),n})).catch((function(e){throw e}));var a=b.MimeTypeHelper.isAV(e.mimeType)&&b.MimeTypeHelper.isMP4(e.mimeType)&&!e.isTransmuxingRequired&&!e.isInitSegment,s=Boolean(this.encryptionInfo)||Boolean(this.decrypter),u=this.context.settings.CHUNKED_CMAF_STREAMING&&this.cmafChunkParser&&a&&!s;return this.setupLoadingProgressCheckInterval(),this.loader.load(this.loadingUrl,p.HttpRequestMethod.GET,p.HttpResponseType.ARRAYBUFFER,null,n,r,this.mimeType,u).then((function(e){return t.handleResponse(e.body)})).catch((function(e){throw t.createLoadingError(e)}))},e.prototype.createLoadingError=function(e){var t,n;return this.state===o.CANCELLING||this.state===o.TIMEOUT?(this.logger.debug("Cancelled ".concat(this.mimeType," download [").concat(this.loadingUrl,"]")),this.canceledSegmentRequestFinishedEvent&&(null===(t=this.eventHandler)||void 0===t||t.dispatchEvent(l.PlayerEvent.SegmentRequestFinished,this.canceledSegmentRequestFinishedEvent)),n={reason:L(this.state)}):this.state===o.LOADING&&(n={reason:i.ERROR_LOADING,info:{response:e,isInit:this.isInit}}),n},e.prototype.getAllLoadingPeriodIds=function(){var e=this;return Object.keys(this.currentSegmentInfoMap).map((function(t){var n;return null===(n=e.currentSegmentInfoMap[t])||void 0===n?void 0:n.periodId})).filter(E.isDefined)},e.prototype.getCurrentLoadingSegmentInfo=function(){return this.isLoading()&&this.loadingUrl&&this.currentSegmentInfoMap[this.loadingUrl]?this.currentSegmentInfoMap[this.loadingUrl]:null},e.prototype.attachDecrypter=function(e){this.decrypter=this.decrypter||e},e.prototype.attachClearKeyLoader=function(e){this.clearKeyLoader=this.clearKeyLoader||e},e.prototype.terminate=function(){var e,t=this;this.isLoading()?(null===(e=this.currentLoadPromise)||void 0===e||e.catch((function(){t.state=o.TERMINATED})),this.cancelLoading()):this.state=o.TERMINATED},e.prototype.createSegment=function(e){var t,n;n=this.isInit?C.SegmentInitType.INIT:C.SegmentInitType.NONE;var r=this.currentSegmentInfoMap[this.loadingUrl],i=new C.Segment(e,this.mimeType,null!==(t=r.codecs)&&void 0!==t?t:null,r.periodId,this.segmentDuration,n,!0,e.byteLength,r.internalRepresentationId,r.startTime);return i.setUrl(this.loadingUrl),i.setSegmentInfo(r),i},e.prototype.maybeDecryptResponseData=function(e,t){return this.encryptionInfo&&this.encryptionInfo.method===a.HlsEncryptionMethod.AES_128&&!t?this.decryptAes128(e):this.decrypter?this.decryptClearKey(e):Promise.resolve(e)},e.prototype.decryptAes128=function(e){return $.ModuleManager.has(T.ModuleName.Crypto)?(this.logger.debug("Decrypting AES-128-encryped segment "+this.loadingUrl+", KEY: 0x"+y.FormatHelper.bytesToHex(this.encryptionInfo.buffer)+", IV: 0x"+y.FormatHelper.bytesToHex(this.encryptionInfo.iv)),new(0,$.ModuleManager.get(T.ModuleName.Crypto).CryptoApi)(this.context,"AES-CBC",this.encryptionInfo.buffer,this.encryptionInfo.iv,this.mimeType).decrypt(e).then((function(e){if(!e||0===e.byteLength)throw{reason:i.ERROR_DECRYPTING};return e})).catch((function(){throw{reason:i.ERROR_DECRYPTING}}))):(this.context.eventHandler.fireError(new A.PlayerModuleMissingError(T.ModuleName.Crypto)),Promise.reject({reason:i.ERROR_DECRYPTING}))},e.prototype.decryptClearKey=function(e){var t=this,n=Promise.resolve(e);if(this.isInit)n=this.decrypter.parseInitSegment(e),this.clearKeyLoader&&(n=n.then((function(e){return t.clearKeyLoader.load(t.decrypter.getKeyIds()).then((function(n){return t.decrypter.addKeys(n),Promise.resolve(e)}))})));else if(this.decrypter.isEncrypted()){var r=y.FormatHelper.bytesToHex(this.decrypter.getKey());this.logger.debug("Decrypting SAMPLE-AES-encrypted segment ".concat(this.loadingUrl,", KEY: 0x").concat(r)),n=this.decrypter.decryptDataSegment(e)}return n.catch((function(){throw{reason:i.ERROR_DECRYPTING}}))},e.prototype.handleResponse=function(e,t){var n=this;if(void 0===t&&(t=!1),e instanceof ArrayBuffer){this.segmentStream=new R.Stream;var r=Date.now();this.maybeDecryptResponseData(e,t).then((function(t){var a;n.state===o.TERMINATED||n.state===o.CANCELLING?n.segmentStream.abort(i.CANCEL):(n.segmentStream.add(n.createSegment(t)),n.segmentStream.end());var s=n.currentSegmentInfoMap[n.loadingUrl];if(e!==t&&s){var u=(0,S.toSeconds)(Date.now()-r),c=s.internalRepresentationId,l={time:u,representationId:c};n.context.store.dispatch((0,g.addMetricsValue)(n.mimeType,m.MetricType.DecryptionTime,l)),n.context.logger.debug("Decrypted ".concat(n.mimeType," segment in: ").concat(null==u?void 0:u.toFixed(2),", quality: ").concat(null!==(a=null==c?void 0:c.representationId)&&void 0!==a?a:""))}})).catch((function(){return n.segmentStream.abort(i.ERROR_DECRYPTING)})).finally((function(){return n.loadingFinished()}))}else this.segmentStream=e.transform((function(e){return n.cmafChunkParser.appendData(e),n.cmafChunkParser.getCompleteChunks()}),(function(){}),(function(e){return e.message})).transform((function(e){return n.createSegment(e)}),(function(){return n.loadingFinished()}),(function(e){n.logger.debug("Error handling fetch segment request",e);var t=i.ERROR_LOADING;return e.message===d.RequestError.Canceled&&(t=L(n.state)),n.loadingFinished(),t}));return Promise.resolve(this.segmentStream)},e.prototype.loadingFinished=function(){this.state=o.IDLE,this.currentLoadPromise=null,this.cmafChunkParser&&this.cmafChunkParser.reset(),this.currentSegmentInfoMap&&delete this.currentSegmentInfoMap[this.loadingUrl]},e.prototype.dispose=function(){this.terminate(),clearTimeout(this.loadTimeoutID),clearInterval(this.progressCheckIntervalId),this.loader&&this.loader.dispose&&this.loader.dispose(),this.keyLoader&&this.keyLoader.dispose(),$.ModuleManager.has(T.ModuleName.Crypto)&&$.ModuleManager.get(T.ModuleName.Crypto).WebWorkerCrypto.dispose(),this.loader=null,this.customLoader=null,this.customLoaderArgs=null,this.keyLoader=null,this.loadingUrl=null,this.loadingUid=null,this.encryptionInfo=null,this.currentSegmentInfoMap={},this.currentRequestProgress=void 0,this.decrypter=null,this.eventHandler=null},e.prototype.setupContentLoader=function(){var e=this;this.defaultLoaderArgs=r(r({},(0,O.getLoaderConfig)(this.context,this.mimeType)),{onSuccess:this.onSuccess,onProgress:this.onProgress,onFailure:function(t,n){var r,i;e.context.store.dispatch((0,g.addMetricsValue)(e.mimeType,m.MetricType.DownloadSuccess,!1)),clearTimeout(e.loadTimeoutID),clearInterval(e.progressCheckIntervalId),e.loadTimeoutID=void 0,delete e.currentSegmentInfoMap[e.loadingUrl],e.eventHandler.dispatchEvent(l.PlayerEvent.SegmentRequestFinished,{success:!1,httpStatus:t&&t.status||0,url:null!==(r=null==t?void 0:t.url)&&void 0!==r?r:e.loadingUrl,downloadTime:-1,size:-1,duration:e.segmentDuration,isInit:e.isInit,mimeType:e.mimeType,uid:void 0,timeToFirstByte:null!==(i=null==t?void 0:t.timeToFirstByte)&&void 0!==i?i:-1})}})},e}();function L(e){return e===o.TIMEOUT?i.TIMEOUT:i.CANCEL}t.SegmentLoader=D},46678:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentLoaderPool=void 0,t.getLoaderPoolSize=g;var r=n(76650),i=n(28819),o=n(8272),a=n(27177),s=n(79814),u=n(70016),c=n(91520),l=n(16368),d=n(59839),_=n(22645),f=n(28915),h=n(66864),p=function(){function e(e,t){this.context=e,this.mimeType=t.mimeType,this.loaders=[],this.shouldDownloadBeCancelledCallback=t.shouldDownloadBeCancelledCallback,this.createLoaders(g(this.mimeType,e.settings.SEGMENT_LOADER_POOL_SIZE)),this.attachDecrypter()}return e.prototype.createLoaders=function(e){for(var t=0;t<e;t++)this.loaders.push(new h.SegmentLoader(this.context,this.mimeType,this.shouldDownloadBeCancelledCallback))},e.prototype.getDecrypter=function(e){if(this.context.segmentPrefetchingService&&this.context.segmentPrefetchingService.hasMp4Decrypter(this.mimeType))return this.context.segmentPrefetchingService.getDecrypter(this.mimeType);var t=c.ModuleManager.get(l.ModuleName.Crypto).createDecrypter,n=m(e.drm.clearkey)?e.drm.clearkey:[];return t(this.context,this.mimeType,n)},e.prototype.getClearKeyLoader=function(e){return new(0,c.ModuleManager.get(l.ModuleName.Crypto).ClearKeyLoader)(this.context,e)},e.prototype.attachDecrypter=function(){var e=this.context.sourceContext.source,t=function(e){var t,n;return m(null===(t=null==e?void 0:e.drm)||void 0===t?void 0:t.clearkey)||v(null===(n=null==e?void 0:e.drm)||void 0===n?void 0:n.clearkey)}(e)?this.getDecrypter(e):null;if(t&&(this.loaders.forEach((function(e){return e.attachDecrypter(t)})),this.context.segmentPrefetchingService&&this.context.segmentPrefetchingService.setDecrypter(t,this.mimeType),v(e.drm.clearkey))){var n=this.getClearKeyLoader(e.drm.clearkey);this.loaders.forEach((function(e){return e.attachClearKeyLoader(n)}))}},e.prototype.isLoading=function(){return this.loaders.some((function(e){return e.isLoading()}))},e.prototype.isFreeLoaderAvailable=function(){return this.loaders.some((function(e){return!e.isLoading()}))},e.prototype.updateRequestedRepresentationMetric=function(e){var t=(0,i.getMetricsHistoryFromInstanceState)(this.context.store.getState(),"default",o.MetricType.RequestedRepresentations);(t?t.map((function(e){return e.value})):[]).includes(e)||this.context.store.dispatch((0,r.addMetricsValue)("default",o.MetricType.RequestedRepresentations,e))},e.prototype.load=function(e){var t=this,n=this.loaders.find((function(e){return!e.isLoading()}));if(!n)return this.context.logger.debug("Failed to load segment. No free loader!",e.url),Promise.reject(null);this.updateRequestedRepresentationMetric(e.internalRepresentationId),this.context.logger.debug("[SegmentLoader ".concat(this.loaders.indexOf(n),"][").concat(e.mimeType,"][").concat(e.representationId,"] Loading ").concat(e.startTime," ").concat(e.url));var r=(0,f.getSegmentInfoTimeRange)(e);return r&&this.context.store.dispatch((0,d.addStreamTimeRange)((0,_.getTrackIdentifier)(e),r,_.StreamTimeRangeType.Loading)),n.load(e).catch((function(n){throw r&&t.context.store.dispatch((0,d.removeStreamTimeRange)((0,_.getTrackIdentifier)(e),r,_.StreamTimeRangeType.Loading)),n}))},e.prototype.cancelLoading=function(){var e=this;return Promise.all(this.loaders.map((function(e){return e.isLoading()&&e.cancelLoading(),Promise.resolve(e.getCurrentLoadPromise())}))).then((function(){})).catch((function(t){(0,a.isContextAvailable)(e.context)&&e.context.logger.debug("Error while loading a segment ",t)}))},e.prototype.getLoadingPeriodIds=function(){return this.loaders.flatMap((function(e){return e.getAllLoadingPeriodIds()}))},e.prototype.dispose=function(){this.cancelLoading(),this.loaders.forEach((function(e){return e.dispose()})),this.loaders=null},e}();function g(e,t){var n=s.MimeTypeHelper.extractContentType(e);return t&&(0,u.isNumber)(t[n])?Math.max(1,t[n]):1}function v(e){return Boolean(null==e?void 0:e.LA_URL)}function m(e){return(null==e?void 0:e.length)>0}t.SegmentLoaderPool=p},60704:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPreProcessor=void 0;var r=n(18665),i=n(62510),o=n(76650),a=n(8272),s=n(79814),u=n(34586),c=n(91520),l=n(16368),d=n(43752),_=n(59839),f=n(22645),h=n(93109),p=n(74830),g=n(41661),v=n(9378),m=n(28915),y=n(67550),b=function(){function e(e,t,n,i,o,a,s){this.context=e,this.mimeType=t,this.onDataAvailableCallback=n,this.hls=i,this.segmentUnavailabilityHandler=o,this.timestampOffsetService=a,this.segmentParser=s,this.isKeyframeRecoveryOngoing=!1,this.downloadRepresentationId=null;var u=e.sourceContext.sourceIdentifier;this.manifestService=this.context.serviceManager.get(r.ServiceName.ManifestService,u)}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventHandler",{get:function(){return this.context.eventHandler},enumerable:!1,configurable:!0}),e.prototype.setHlsTimelineTracker=function(e){this.hlsTimelineTracker=e},e.prototype.setMpdHandler=function(e){this.mpdHandler=e},e.prototype.onMuxedSegmentAvailable=function(e,t,n,r){var i=this,o=t.find((function(e){return S(e,i.hls)}));if(o){var a=!o.getRepresentationId().equals(this.downloadRepresentationId),s=this.maybeHandleTimelineGap(o,n,a),u=s.shouldMakeSegmentAvailable,c=s.shouldCacheSegment;u?t.forEach((function(t){var o=e.metadata[e.transmuxedSegments.indexOf(t)];i.onSegmentAvailable(t,o,n,r)||r.cacheSegment(e.originalSegment)})):(c&&r.cacheSegment(e.originalSegment),T(e.originalSegment,this.context))}},e.prototype.onSegmentAvailable=function(e,t,n,r){var i,o,a;this.logger.debug("onSegmentAvailable ".concat(e.getMimeType()).concat(e.isInit()?" init":""," segment [").concat(e.getUrl(),"]")),this.segmentUnavailabilityHandler.downloadSuccess(e.isInit());var s=!e.getRepresentationId().equals(this.downloadRepresentationId);return S(e,this.hls)&&s&&this.updateDownloadedRepresentation(e,this.downloadRepresentationId),null===(o=(i=this.mpdHandler).generateSmoothInitSegment)||void 0===o||o.call(i,e,this.segmentParser),this.hls.isTransmuxingRequired||u.TextSegmentAnalyzer.isPlainTextPayload(e.getData())||null===(a=this.segmentParser)||void 0===a||a.parseSegment(e),!!e.isInit()||this.onDataSegmentAvailable(e,t,n,r,s)},e.prototype.onDataSegmentAvailable=function(e,t,n,i,o){var a,s,c=this,l=this.hls.isTransmuxingRequired,d=!0;if(this.manifestService.isHlsManifest()){if(this.maybeUpdateLlHlsSegmentInfo(e),!l&&!u.TextSegmentAnalyzer.isPlainTextPayload(e.getData())){(isNaN(this.mpdHandler.getTimestampOffset())||0===this.mpdHandler.getTimestampOffset())&&(0,p.initializeHlsSegmentStartTimes)(e,this.context,this.mpdHandler),this.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,this.mpdHandler)&&(null===(a=this.segmentParser)||void 0===a||a.parseSegment(e));var _=this.maybeHandleTimelineGap(e,n,o),f=_.shouldMakeSegmentAvailable,h=_.shouldCacheSegment;if(!f)return h&&i.cacheSegment(e),!1}E(e)&&this.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,this.mpdHandler),this.manifestService.initSegmentStartTimesFromReferenceSegment(e)}if(l&&this.hls.possiblyDependentSegments&&o&&S(e,this.hls)&&!this.isKeyframeRecoveryOngoing){this.logger.debug("Just switched playlists, isIndependentlyDecodable=".concat(e.isIndependentlyDecodable(),", (").concat(e.getMimeType(),", ").concat(e.getUrl(),")"));var g=this.mpdHandler.getIndex()>1;!e.isIndependentlyDecodable()&&g&&(this.logger.debug("Started keyframe recovery"),this.mpdHandler.setIndex(this.mpdHandler.getIndex()-2),d=!1,this.hls.discardNextSegment=!0,this.isKeyframeRecoveryOngoing=!0)}return!!d&&($(e,this.context.store),this.context.serviceManager.get(r.ServiceName.TimedMetadataService).onSegmentAvailable({segment:e,extractedMetadata:t,isSegmentOfMainStream:S(e,this.hls),presentationTimeOffset:this.mpdHandler.getTimestampOffset()}),this.context.serviceManager.maybeCall(r.ServiceName.SubtitleService,(function(n){n.handleClosedCaptions(c.mpdHandler,e,null==t?void 0:t.closedCaptions,l,e.getCodec())})),this.logger.debug("[".concat("SegmentPreProcessor","][").concat(this.mimeType,"]: playbackTimeForSegment=").concat(e.getPlaybackTime()," ").concat(e.getUrl())),S(e,this.hls)&&(null===(s=this.hlsTimelineTracker)||void 0===s||s.trackPlaybackTime(e),this.isKeyframeRecoveryOngoing=!1),this.onDataAvailableCallback(e),d)},e.prototype.maybeUpdateLlHlsSegmentInfo=function(e){var t,n=c.ModuleManager.get(l.ModuleName.LowLatency,!1),i=this.context.serviceManager.get(r.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier),o=null===(t=null==i?void 0:i.getState())||void 0===t?void 0:t.hls;(0,h.isPlayingLowLatencyHls)(this.context)&&n&&o&&n.applyUpdatedSegmentInfoProps(e,o)},e.prototype.updateDownloadedRepresentation=function(e,t){this.triggerOnDownloadQualityChanged(e.getMimeType(),t,e.getRepresentationId());var n=e.getSegmentInfo(),r={id:n.representationId,bitrate:n.bitrate,width:n.width,height:n.height};this.context.store.dispatch((0,o.addMetricsValue)(this.mimeType,a.MetricType.DownloadedRepresentation,r)),this.downloadRepresentationId=e.getRepresentationId()},e.prototype.triggerOnDownloadQualityChanged=function(e,t,n){var r;if(s.MimeTypeHelper.isVideo(e))r=i.PlayerEvent.VideoDownloadQualityChanged;else{if(!s.MimeTypeHelper.isAudio(e))return;r=i.PlayerEvent.AudioDownloadQualityChanged}var o=(0,d.representationToQuality)(this.manifestService.getRepresentationById(t),e),a=(0,d.representationToQuality)(this.manifestService.getRepresentationById(n),e);this.eventHandler.dispatchEvent(r,{targetQuality:a,targetQualityId:a.id,sourceQuality:o,sourceQualityId:o?o.id:null})},e.prototype.hasHlsTimelineGap=function(e,t){var n={hasGap:!1};if(e&&this.manifestService.isHlsManifest()&&!E(e)&&S(e,this.hls)&&this.hlsTimelineTracker){var r=v.SegmentInfoProvider.findHlsRepresentationForSegment(e,this.manifestService.getAdaptationSet(t));if(r&&(n=this.hlsTimelineTracker.checkForTimelineGap(e,r.representation,r.index)).hasGap&&void 0!==n.correctedIndex){this.logger.debug("Encountered timeline gap (".concat(n.gapSizeSec,"), just loaded ").concat(e.getUrl()));var i=r.representation._internalId,o=this.mpdHandler instanceof y.SegmentListMPDHandler&&this.mpdHandler.getSegmentListEntries(i)&&this.mpdHandler.getSegmentListEntries(i)[n.correctedIndex];if(o&&(0,g.areSegmentsIdentical)(e.getSegmentInfo(),o))return this.logger.debug("Gap handling: Segment is identical to the one we just loaded, not rewinding"),n.hasGap=!1,n;o&&o.hasDownloadFailed?(this.logger.debug("Gap handling: Could not handle gap, segment has failed to download"),n.couldHandle=!1):(this.logger.debug("Gap handling: Correcting index from ".concat(this.mpdHandler.getIndex()," to ").concat(n.correctedIndex)),this.mpdHandler.setIndex(n.correctedIndex))}}return n},e.prototype.maybeHandleTimelineGap=function(e,t,n){if(!(this.hlsTimelineTracker.isGapVerificationNeeded()||this.hlsTimelineTracker.isSeekTargetVerificationNeeded()||n))return{shouldMakeSegmentAvailable:!0,shouldCacheSegment:!1};var r=this.hasHlsTimelineGap(e,t);return r.hasGap?r.couldHandle?function(e){var t;return(null!==(t=e.gapSizeSec)&&void 0!==t?t:0)>0}(r)?{shouldMakeSegmentAvailable:!1,shouldCacheSegment:!0}:{shouldMakeSegmentAvailable:!1,shouldCacheSegment:!1}:(this.hlsTimelineTracker.reset(),{shouldMakeSegmentAvailable:!0,shouldCacheSegment:!1}):{shouldMakeSegmentAvailable:!0,shouldCacheSegment:!1}},e.prototype.dispose=function(){this.downloadRepresentationId=null,this.hlsTimelineTracker=null,this.manifestService=null,this.onDataAvailableCallback=null,this.hls=null,this.segmentUnavailabilityHandler=null,this.timestampOffsetService=null,this.segmentParser=null,this.mpdHandler=null},e}();function S(e,t){return!t.isAvMuxedTogether||s.MimeTypeHelper.isVideo(e.getMimeType())}function E(e){return s.MimeTypeHelper.isSubtitle(e.getMimeType())}function $(e,t){var n=e.getSegmentInfo(),r=(0,m.getSegmentInfoTimeRange)(n),i=e.getPlaybackTimeRange();r&&i&&(t.dispatch((0,_.removeStreamTimeRange)((0,f.getTrackIdentifier)(n),r,f.StreamTimeRangeType.Loading)),t.dispatch((0,_.addStreamTimeRange)((0,f.getTrackIdentifier)(n),i,f.StreamTimeRangeType.Loading)))}function T(e,t){var n=e.getSegmentInfo(),i=(0,m.getSegmentInfoTimeRange)(n);i&&t.serviceManager.maybeCall(r.ServiceName.SourceStoreService,(function(e){e.dispatch((0,_.removeStreamTimeRange)((0,f.getTrackIdentifier)(n),i,f.StreamTimeRangeType.Loading))}),void 0,t.sourceContext.sourceIdentifier)}t.SegmentPreProcessor=b},28499:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPrefetcher=void 0;var r=n(27177),i=n(38255),o=n(66864),a=function(){function e(e){var t=this;this.processSegmentInfoQueue=function(e){var n=t.segmentInfoQueue.get(e);n&&0!==n.length&&t.chainSegmentPrefetch(n.shift()).then((function(){return t.processSegmentInfoQueue(e)}))},this.segmentInfoQueue=new i.ArrayMap,this.prefetchPromiseChainMap=new Map,this.decrypterMap=new Map,this.segmentLoaderMap=new Map,this.segmentPrefetchHandler=e,this.shouldDownloadBeCancelledCallbackMap=new Map}return e.prototype.updateContext=function(e){this.context=e},e.prototype.setShouldDownloadBeCancelledCallback=function(e,t){this.shouldDownloadBeCancelledCallbackMap.set(e,t)},e.prototype.removeShouldDownloadBeCancelledCallback=function(e){this.shouldDownloadBeCancelledCallbackMap.delete(e)},e.prototype.setDecrypter=function(e,t){this.decrypterMap.set(t,e),this.segmentLoaderMap.has(t)&&this.segmentLoaderMap.get(t).attachDecrypter(e)},e.prototype.removeDecrypter=function(e){this.decrypterMap.delete(e)},e.prototype.getDecrypter=function(e){return this.decrypterMap.get(e)},e.prototype.prefetchSegment=function(e){return this.chainSegmentPrefetch(e)},e.prototype.prefetchSegments=function(e){var t=this;e.forEach((function(e){return t.segmentInfoQueue.add(e.mimeType,e)})),this.segmentInfoQueue.keys.forEach((function(e){return t.processSegmentInfoQueue(e)}))},e.prototype.chainSegmentPrefetch=function(e){var t=this,n=this.getPrefetchPromiseChain(e.mimeType).then((function(){return t.fetchSegment(e)})).then((function(){})).catch((function(){}));return this.prefetchPromiseChainMap.set(e.mimeType,n),n},e.prototype.fetchSegment=function(e){var t=this;if(!(0,r.isContextAvailable)(this.context))return Promise.reject("PlayerContext not available");var n=this.getLoader(e).load(e).then((function(e){return e.read()})).then((function(e){return e.value}));return this.segmentPrefetchHandler.onPrefetch({segmentInfo:e,loadingPromise:n}),n.catch((function(n){(0,r.isContextAvailable)(t.context)&&t.context.logger.debug("segment prefetching failed for",e,"with",n)})),n},e.prototype.getPrefetchPromiseChain=function(e){return this.prefetchPromiseChainMap.has(e)||this.prefetchPromiseChainMap.set(e,Promise.resolve()),this.prefetchPromiseChainMap.get(e)},e.prototype.getLoader=function(e){return this.segmentLoaderMap.has(e.mimeType)||this.segmentLoaderMap.set(e.mimeType,this.createLoader(e)),this.segmentLoaderMap.get(e.mimeType)},e.prototype.createLoader=function(e){this.prefetchPromiseChainMap.set(e.mimeType,Promise.resolve());var t=new o.SegmentLoader(this.context,e.mimeType,this.createDownloadCancelCallbackFunction(e),!0);return t.attachDecrypter(this.decrypterMap.get(e.mimeType)),t},e.prototype.createDownloadCancelCallbackFunction=function(e){var t=this;return function(n){var r=e.mimeType,i=t.segmentLoaderMap.get(r),o=i?i.getCurrentLoadingSegmentInfo():null,a=void 0!==r?t.shouldDownloadBeCancelledCallbackMap.get(r):void 0,s=o?o.internalRepresentationId:e.internalRepresentationId;return void 0!==a&&a(n,s)}},e.prototype.clearPrefetchingQueue=function(e){this.segmentInfoQueue.delete(e)},e.prototype.reset=function(){this.segmentLoaderMap.forEach((function(e){return e.dispose()})),this.shouldDownloadBeCancelledCallbackMap.clear(),this.segmentLoaderMap.clear(),this.decrypterMap.clear()},e.prototype.dispose=function(){this.reset(),this.segmentLoaderMap=null,this.shouldDownloadBeCancelledCallbackMap=null},e}();t.SegmentPrefetcher=a},92395:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPrefetchingService=void 0;var r=n(13788),i=n(28499),o=function(){function e(){this.segmentPrefetcher=new i.SegmentPrefetcher(this),this.prefetchedSegments=new Map}return e.prototype.updatePlayerContext=function(e){this.context=e,this.segmentPrefetcher.updateContext(this.context)},e.prototype.setDecrypter=function(e,t){this.segmentPrefetcher.setDecrypter(e,t)},e.prototype.removeDecrypter=function(e){this.segmentPrefetcher.removeDecrypter(e)},e.prototype.getDecrypter=function(e){return this.segmentPrefetcher.getDecrypter(e)},e.prototype.hasMp4Decrypter=function(e){return Boolean(this.getDecrypter(e))},e.prototype.setShouldDownloadBeCancelledCallback=function(e,t){this.segmentPrefetcher.setShouldDownloadBeCancelledCallback(e,t)},e.prototype.removeShouldDownloadBeCancelledCallback=function(e){this.segmentPrefetcher.removeShouldDownloadBeCancelledCallback(e)},e.prototype.fetch=function(e){var t=this;return this.segmentPrefetcher.prefetchSegment(e).then((function(){var n=t.prefetchedSegments.get(e.mimeType).get((0,r.getSegmentInfoId)(e));return n?Promise.resolve(n.loadingPromise):Promise.reject()}))},e.prototype.fetchAll=function(e){this.segmentPrefetcher.prefetchSegments(e)},e.prototype.onPrefetch=function(e){var t=e.segmentInfo.mimeType;this.prefetchedSegments.has(t)||this.prefetchedSegments.set(t,new Map),this.prefetchedSegments.get(t).set((0,r.getSegmentInfoId)(e.segmentInfo),e)},e.prototype.hasPrefetchedSegment=function(e){return Boolean(this.findPrefetchedSegment(e))},e.prototype.getPrefetchedSegment=function(e){var t=this.findPrefetchedSegment(e);return t?t.loadingPromise:null},e.prototype.findPrefetchedSegment=function(e){return this.prefetchedSegments.has(e.mimeType)&&this.prefetchedSegments.get(e.mimeType).get((0,r.getSegmentInfoId)(e))||null},e.prototype.getPrefetchedSegments=function(){return this.prefetchedSegments},e.prototype.removePrefetchedSegment=function(e){this.prefetchedSegments.has(e.mimeType)&&this.prefetchedSegments.get(e.mimeType).delete((0,r.getSegmentInfoId)(e))},e.prototype.clearPrefetchingQueue=function(e){this.segmentPrefetcher.clearPrefetchingQueue(e)},e.prototype.reset=function(){this.segmentPrefetcher.reset(),this.prefetchedSegments.clear()},e.prototype.dispose=function(){this.reset(),this.segmentPrefetcher.dispose(),this.segmentPrefetcher=null,this.prefetchedSegments=null},e}();t.SegmentPrefetchingService=o},81660:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentManager=t.SegmentService=void 0;var r=n(60997),i=n(79814),o=n(61214),a=n(41661),s=n(46678),u=n(72207),c=function(){function e(e){var t=this;this.context=e,this.disposeSegmentManager=function(e){t.segmentManagerMap.has(e)&&(t.segmentManagerMap.get(e).dispose(),t.segmentManagerMap.delete(e))},this.segmentManagerMap=new Map}return e.prototype.getSegmentManagerKey=function(e,t){var n=void 0===t?{}:t,r=n.id,o=n.lang;return i.MimeTypeHelper.isSubtitle(e)?[e,r,o].filter(Boolean).join("-"):e},e.prototype.add=function(e,t,n){var r=this.get(e.mimeType,n);return r||(r=this.createSegmentManager(e,t),this.segmentManagerMap.set(this.getSegmentManagerKey(e.mimeType,n),r)),r},e.prototype.createSegmentManager=function(e,t){return new l(this.context,e,t)},e.prototype.get=function(e,t){return this.segmentManagerMap.get(this.getSegmentManagerKey(e,t))},e.prototype.disposeOfType=function(e,t){this.disposeSegmentManager(this.getSegmentManagerKey(e,t))},e.prototype.dispose=function(){this.segmentManagerMap.forEach((function(e){return e.dispose()})),this.segmentManagerMap.clear()},e}();t.SegmentService=c;var l=function(){function e(e,t,n){this.context=e,this.loaderPool=new s.SegmentLoaderPool(e,t),this.initSegmentService=new o.InitSegmentService(e,this.loaderPool,n),this.cache=new a.SegmentCache(e.settings.MAX_NUM_CACHED_SEGMENTS),this.sequence=Promise.resolve(null)}return e.prototype.getSegment=function(e){var t=e.isInitSegment?this.getInitSegment(e):this.getDataSegment(e);return this.sequence=this.sequence.catch((function(){})).then((function(){return t})),this.sequence},e.prototype.getInitSegment=function(e){var t=this;return this.initSegmentLoading?this.initSegmentLoading.then((function(){return t.getInitSegment(e)})):(this.initSegmentLoading=this.initSegmentService.getSegment(e).finally((function(){t.initSegmentLoading=null})),this.initSegmentLoading.then(d))},e.prototype.getDataSegment=function(e){var t=this;return null!=this.initSegmentLoading?this.initSegmentLoading.then((function(){return t.getDataSegmentFromCacheOrLoad(e)})):this.getDataSegmentFromCacheOrLoad(e)},e.prototype.getDataSegmentFromCacheOrLoad=function(e){var t=this.getCachedSegment(e);return null!=t?(this.context.logger.debug("Returning segment from cache for URL: ".concat(e.url)),e.init&&this.attachInitSegment(e.init,t),Promise.resolve(d(t))):this.loadDataSegment(e)},e.prototype.loadDataSegment=function(e){var t=this;return this.loaderPool.load(e).then((function(n){return n.transform((function(n){return e.init&&t.attachInitSegment(e.init,n),n}),(function(){}),(function(e){return t.context.logger.error("Loading failed",e),e.message}))}))},e.prototype.attachInitSegment=function(e,t){var n=this.initSegmentService.getCachedSegment(e);n&&t.setInitSegment(n)},e.prototype.isLoading=function(e){return e?this.loaderPool.getLoadingPeriodIds().includes(e):this.loaderPool.getLoadingPeriodIds().length>0},e.prototype.canLoad=function(){return this.loaderPool.isFreeLoaderAvailable()},e.prototype.cacheSegment=function(e){this.cache.add(e)},e.prototype.hasCachedSegment=function(e){return Boolean(this.getCachedSegment(e))},e.prototype.getCachedSegment=function(e){return e.isInitSegment?this.initSegmentService.getCachedSegment(e):this.cache.get(e)},e.prototype.removeCachedInitSegments=function(e){this.initSegmentService.removeCachedSegments(e)},e.prototype.clearCache=function(e){void 0===e&&(e=!0),e&&this.initSegmentService.removeCachedSegments((function(){return!0})),this.cache.clear()},e.prototype.cancel=function(){return this.loaderPool.cancelLoading()},e.prototype.dispose=function(){this.cancel(),this.clearCache(!1),this.loaderPool=(0,r.dispose)(this.loaderPool),(0,r.dispose)(this.initSegmentService)},e}();function d(e){var t=new u.Stream;return t.add(e),t.end(),t}t.SegmentManager=l},12482:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TimestampOffsetService=void 0;var r=n(18665),i=n(79814),o=n(34586),a=n(91520),s=n(16368),u=function(){function e(e,t){this.context=e,this.mimeType=t,this.discontinuityNumbers=new Map;var n=e.sourceContext.sourceIdentifier;this.sourceStore=e.serviceManager.get(r.ServiceName.SourceStoreService,n)}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),e.prototype.maybeAdjustTimestampOffsetAtDiscontinuityChange=function(e,t){var n=e.getSegmentInfo().discontinuitySequenceNumber;if(null==n||e.isInit())return!1;var r=this.discontinuityNumbers.get(e.getMimeType())!==n,i=isNaN(t.getTimestampOffset());return(r||i)&&this.adjustTimestampOffset(e,n,t),this.discontinuityNumbers.set(e.getMimeType(),n),!0},e.prototype.adjustTimestampOffset=function(e,t,n){var r=a.ModuleManager.get(s.ModuleName.HLS).selectors,i=r.getHlsState,o=(0,r.getPresentationTimeOffset)(i(this.sourceStore.getState()),String(t));this.maybeExtrapolateStartTimes(e,t,n);var u=this.calculateEncodedPlaybackTime(e),c=u.encodedPlaybackTime,l=u.shouldUpdatePlaybackTime;void 0===o&&(o=this.calculatePresentationTimeOffset(e,c,t)),this.logger.debug("[".concat(this.mimeType,"], discontinuity: ").concat(t," adjusting PTO to ").concat(o," on segment ").concat(e.getUrl())),n.setTimestampOffset(o),e.getSegmentInfo().presentationTimeOffset=o,e.setPresentationTimeOffset(o),l&&e.setPlaybackTime(c-o)},e.prototype.maybeExtrapolateStartTimes=function(e,t,n){null==e.getSegmentInfo().startTime&&function(e){return"extrapolateStartTimesFromDiscontinuityStarts"in e}(n)&&(this.logger.debug("[".concat(e.getMimeType(),"] no startTime when trying to calculate the PTO for ").concat(t)),n.extrapolateStartTimesFromDiscontinuityStarts(e))},e.prototype.calculatePresentationTimeOffset=function(e,t,n){var r=t-e.getSegmentInfo().startTime,u=a.ModuleManager.get(s.ModuleName.HLS);return i.MimeTypeHelper.isSubtitle(e.getMimeType())&&o.TextSegmentAnalyzer.isPlainTextPayload(e.getData())||(this.sourceStore.dispatch(u.actions.setPresentationTimeOffset(String(n),r)),this.logger.debug("[".concat(e.getMimeType(),"] set PTO for discontinuity ").concat(n," to ").concat(r))),r},e.prototype.calculateEncodedPlaybackTime=function(e){var t,n=a.ModuleManager.get(s.ModuleName.ContainerMP4,!1),r=!0,i=n?n.parsePlaybackTime(e,this.logger):e.getBaseMediaDecodeTime()/e.getTimescale();return isNaN(i)&&(i=null!==(t=e.getPlaybackTime())&&void 0!==t?t:e.getSegmentInfo().startTime,r=!1),{encodedPlaybackTime:i,shouldUpdatePlaybackTime:r}},e.prototype.dispose=function(){this.discontinuityNumbers=null,this.sourceStore=null},e}();t.TimestampOffsetService=u},72477:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UrlInitSegmentProvider=void 0;var r=n(76650),i=n(8272),o=n(41661),a=function(){function e(e,t){this.context=e,this.loaderPool=t,this.cache=new o.SegmentCache(1/0)}return e.prototype.getSegment=function(e){var t=this,n=this.cache.get(e);return(n?Promise.resolve(n):this.loadSegment(e)).then((function(e){return n||t.cacheSegment(e),e}))},e.prototype.loadSegment=function(e){return this.loaderPool.load(e).then((function(e){return e.read()})).then((function(t){if(!t.value)throw new Error("SegmentStream error ".concat(e.url));return t.value}))},e.prototype.cacheSegment=function(e){this.cache.add(e),this.context.store.dispatch((0,r.addMetricsValue)(e.getMimeType(),i.MetricType.CachedInitSegments,{internalRepId:e.getSegmentInfo().internalRepresentationId}))},e.prototype.getCachedSegment=function(e){return this.cache.get(e)},e.prototype.removeCachedSegments=function(e){this.cache.remove(e)},e.prototype.dispose=function(){this.cache.clear()},e}();t.UrlInitSegmentProvider=a},74830:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeHlsSegmentStartTimes=function(e,t,n){var s=t.sourceContext.sourceIdentifier,u=t.serviceManager.get(r.ServiceName.ManifestService,s),c=i.ModuleManager.get(o.ModuleName.HLS).selectors,l=c.getHlsState,d=c.hasInitializedSegmentStartTimes,_=t.serviceManager.get(r.ServiceName.SourceStoreService,s),f=null==_?void 0:_.getState();if(u&&f&&!d(l(f))){var h=e.getRepresentationId().representationId;u.initializeSegmentStartTimesFromStart(h),(0,a.assignSegmentStartTimesFromHlsPlaylist)(n.getSegmentListEntries(e.getRepresentationId()),h,u)}};var r=n(18665),i=n(91520),o=n(16368),a=n(67550)},72207:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var r=n(10981),i=n(59305),o=n(6082),a=function(){function e(){var e=this;this.resolveDeferredRead=function(){e.deferredRead&&!e.isEmpty()&&(e.deferredRead.resolve({done:!1,value:e.chunks.shift()}),e.deferredRead=null)},this.state=o.StreamState.Open,this.chunks=[],this.deferredEnded=new r.Deferred,this.deferredEnded.promise.catch((function(){}))}return e.prototype.add=function(e){this.state===o.StreamState.Open&&(this.chunks.push(e),this.resolveDeferredRead())},e.prototype.read=function(){if(this.deferredRead)return Promise.reject({name:i.StreamReadError.ParallelRead});if(this.state===o.StreamState.Ended&&this.isEmpty())return Promise.resolve({done:!0});if(this.state===o.StreamState.Aborted)return Promise.reject({name:i.StreamReadError.Aborted,message:this.getError()});this.deferredRead=new r.Deferred;var e=this.deferredRead.promise;return this.resolveDeferredRead(),e},e.prototype.end=function(){this.state===o.StreamState.Open&&(this.state=o.StreamState.Ended,this.deferredRead&&this.isEmpty()&&(this.deferredRead.resolve({done:!0}),this.deferredRead=null),this.deferredEnded.resolve())},e.prototype.abort=function(e){var t;if(this.state===o.StreamState.Open){this.state=o.StreamState.Aborted,this.error=e;var n={name:o.StreamState.Aborted,message:null!==(t=this.getError())&&void 0!==t?t:""};this.deferredRead&&(this.deferredRead.reject(n),this.deferredRead=null),this.deferredEnded.reject(n)}},e.prototype.transform=function(t,n,r){var i=this,o=new e,a=function(){i.read().then((function(e){var r=e.done,i=e.value;if(r)n&&n(),o.end();else{var s=null!=i&&t(i);s&&o.add(s),a()}})).catch((function(e){r?o.abort(r(e)):o.abort(e)}))};return a(),o},e.prototype.isEmpty=function(){return 0===this.chunks.length},e.prototype.getError=function(){return this.error||null},e}();t.Stream=a},59305:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamReadError=void 0,function(e){e.Aborted="aborted",e.ParallelRead="parallelread"}(n||(t.StreamReadError=n={}))},6082:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamState=void 0,function(e){e.Open="open",e.Ended="ended",e.Aborted="aborted"}(n||(t.StreamState=n={}))},19300:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DiscontinuityMonitor=void 0;var r=n(62510),i=function(){function e(e){var t=this;this.context=e,this.onSeek=function(){t.seekStarted=!0},this.onSeeked=function(){var e=t.context.internalPlayer.getCurrentTime();Object.values(t.delayedSegmentPlaybackData).forEach((function(n){e>=n.playbackTime&&n.playbackTime+n.duration>=e&&t.maybeFirePeriodSwitchEvents(n)})),t.delayedSegmentPlaybackData={}},this.currentDiscontinuityNumbers={},this.delayedSegmentPlaybackData={},this.seekStarted=!1,this.context.eventHandler.on(r.PlayerEvent.Seek,this.onSeek,!0),this.context.eventHandler.on(r.PlayerEvent.Seeked,this.onSeeked,!0)}return e.prototype.onSegmentAvailable=function(e){if(!e.isInit()){var t=e.getMimeType(),n=e.getSegmentInfo();this.currentDiscontinuityNumbers[t]?this.seekStarted&&(this.delayedSegmentPlaybackData[e.getMimeType()]={mimeType:e.getMimeType(),discontinuitySequenceNumber:n.discontinuitySequenceNumber,playbackTime:n.startTime,duration:e.getDuration()},this.seekStarted=!1):this.currentDiscontinuityNumbers[t]={discontinuitySequenceNumber:n.discontinuitySequenceNumber,startTime:n.startTime||0}}},e.prototype.maybeFirePeriodSwitchEvents=function(e){var t=e.mimeType,n=e.discontinuitySequenceNumber,i=e.playbackTime;if(null!=n&&this.currentDiscontinuityNumbers[t]){var o=this.currentDiscontinuityNumbers[t].discontinuitySequenceNumber;o!==n&&(this.shouldFirePeriodSwitchEvent(t,n,i)&&(this.context.eventHandler.dispatchEvent(r.PlayerEvent.PeriodSwitch),this.context.eventHandler.dispatchEvent(r.PlayerEvent.PeriodSwitched,{sourcePeriod:{periodId:String(o)},targetPeriod:{periodId:String(n)}})),this.currentDiscontinuityNumbers[t]={discontinuitySequenceNumber:n,startTime:i})}},e.prototype.shouldFirePeriodSwitchEvent=function(e,t,n){var r=this,i=Object.keys(this.currentDiscontinuityNumbers).filter((function(t){return t!==e})),o=!0;return i.forEach((function(e){var i=r.currentDiscontinuityNumbers[e];i.discontinuitySequenceNumber===t&&Math.abs(n-i.startTime)<1&&(o=!1)})),o},e.prototype.dispose=function(){this.context.eventHandler.off(r.PlayerEvent.Seek,this.onSeek),this.context.eventHandler.off(r.PlayerEvent.Seeked,this.onSeeked)},e}();t.DiscontinuityMonitor=i},48727:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInitType=t.Segment=void 0;var i,o=n(81361),a=n(79814),s=n(28915),u=function(){function e(e,t,n,r,a,s,u,c,l,d){void 0===s&&(s=i.NONE),this.inbandEvents=[],this.data=e,this.mimeType=t,this.codec=n,this.periodId=r,this.duration=a,this.initType=s,this.isSegmentIndependentlyDecodable=u,this.encrypted=!1,this.metadata={subtitles:[]},this.networkRequestSize=c,this.representationId=l,this.playbackTime=d,this._isDirty=!1,this.drmInitData=null,e instanceof ArrayBuffer||"string"==typeof e&&(this.data=o.ArrayHelper.stringToArrayWithoutEncoding(e).buffer)}return e.prototype.setDrmKid=function(e){this.drmKid=e},e.prototype.hasDrmKid=function(){return Boolean(this.getDrmKid())},e.prototype.getDrmKid=function(){var e,t,n;return null!==(n=null!==(e=this.drmKid)&&void 0!==e?e:null===(t=this.initSegment)||void 0===t?void 0:t.getDrmKid())&&void 0!==n?n:void 0},e.prototype.setDrmInitData=function(e){this.drmInitData=e},e.prototype.hasDrmInitData=function(){var e;return(null===(e=this.drmInitData)||void 0===e?void 0:e.length)>0},e.prototype.getDrmInitData=function(){return this.hasDrmInitData()?this.drmInitData:[]},e.prototype.getMimeType=function(){return this.mimeType},e.prototype.isInit=function(){return this.initType===i.INIT},e.prototype.isSelfInit=function(){return this.initType===i.SELF_INIT},e.prototype.isEncrypted=function(){return this.encrypted},e.prototype.setEncrypted=function(e){this.encrypted=e},e.prototype.setUrl=function(e){this.loadedUrl=e},e.prototype.getUrl=function(){return this.loadedUrl},e.prototype.getData=function(){return this.data},e.prototype.setData=function(e){this.data=e},e.prototype.getMetadata=function(){return this.metadata},e.prototype.setMetadata=function(e){this.metadata=e},e.prototype.getPlaybackTime=function(){return this.playbackTime},e.prototype.setPlaybackTime=function(e){this.playbackTime=e},e.prototype.getPlaybackEndTime=function(){return this.playbackTime+this.duration},e.prototype.getPlaybackTimeRange=function(){return this.duration?{start:this.getPlaybackTime(),end:this.getPlaybackEndTime()}:(0,s.getSegmentInfoTimeRange)(this.getSegmentInfo())},e.prototype.getBaseMediaDecodeTime=function(){return this.baseMediaDecodeTime},e.prototype.setBaseMediaDecodeTime=function(e){this.baseMediaDecodeTime=e},e.prototype.getPresentationTimeOffset=function(){return this.presentationTimeOffset},e.prototype.setPresentationTimeOffset=function(e){this.presentationTimeOffset=e},e.prototype.getTFDTBoxOffset=function(){return this.tfdtBoxOffset},e.prototype.setTFDTBoxOffset=function(e){this.tfdtBoxOffset=e},e.prototype.getParserMetadataValue=function(e){var t;return this.getParserMetadata()&&this.getParserMetadata()[e]?this.getParserMetadata()[e]:(null===(t=this.getInitSegment())||void 0===t?void 0:t.getParserMetadata())?this.getInitSegment().getParserMetadata()[e]:void 0},e.prototype.getTimescale=function(){return this.getParserMetadataValue("timescale")},e.prototype.getIvSize=function(){return this.getParserMetadataValue("ivSize")},e.prototype.getDefaultSampleDuration=function(){return this.getParserMetadataValue("defaultSampleDuration")},e.prototype.getDefaultSampleSize=function(){return this.getParserMetadataValue("defaultSampleSize")},e.prototype.setTimescale=function(e){this.updateParserMetadata({timescale:e})},e.prototype.getPeriodId=function(){return this.periodId},e.prototype.getCodec=function(){return this.codec},e.prototype.setCodec=function(e){this.codec=e},e.prototype.getDuration=function(){return this.duration},e.prototype.setDuration=function(e){this.duration=e},e.prototype.getNetworkRequestSize=function(){return this.networkRequestSize},e.prototype.getRepresentationId=function(){return this.representationId},e.prototype.getParsedData=function(){return this.parsedData},e.prototype.setParsedData=function(e){this.parsedData=e},e.prototype.getSegmentInfo=function(){return this.segmentInfo},e.prototype.isIndependentlyDecodable=function(){return this.isSegmentIndependentlyDecodable},e.prototype.setSegmentInfo=function(e){this.segmentInfo=e},e.prototype.getMediaInfo=function(){var e={};return this.segmentInfo&&this.segmentInfo.bitrate&&(e.bitrate=this.segmentInfo.bitrate),a.MimeTypeHelper.isAudio(this.mimeType)?this.segmentInfo&&this.segmentInfo.sampleRate&&(e.sampleRate=this.segmentInfo.sampleRate):a.MimeTypeHelper.isVideo(this.mimeType)&&(this.segmentInfo&&this.segmentInfo.width&&(e.width=this.segmentInfo.width),this.segmentInfo&&this.segmentInfo.height&&(e.height=this.segmentInfo.height),this.segmentInfo&&this.segmentInfo.frameRate&&(e.frameRate=this.segmentInfo.frameRate)),e},e.prototype.isDirty=function(){return this._isDirty},e.prototype.setDirty=function(e){this._isDirty=e},e.prototype.setInbandEvents=function(e){this.inbandEvents=e},e.prototype.getInbandEvents=function(){return this.inbandEvents},e.prototype.setLastSegment=function(e){this.lastSegment=e},e.prototype.isLastSegment=function(){return this.lastSegment},e.prototype.wasLoadedFrom=function(e){return this.getUrl().includes(e)},e.prototype.getParserMetadata=function(){return this.parserMetadata},e.prototype.setParserMetadata=function(e){this.parserMetadata=e},e.prototype.updateParserMetadata=function(e){this.parserMetadata=r(r({},this.parserMetadata),e)},e.prototype.setBufferBlockId=function(e){this.bufferBlockId=e},e.prototype.getBufferBlockId=function(){return this.bufferBlockId},e.prototype.setInitSegment=function(e){this.initSegment=e},e.prototype.getInitSegment=function(){return this.initSegment},e}();t.Segment=u,function(e){e[e.NONE=0]="NONE",e[e.INIT=1]="INIT",e[e.SELF_INIT=2]="SELF_INIT"}(i||(t.SegmentInitType=i={}))},92103:function(e,t){function n(e,t){var n=r(e),i=r(t);return n.some((function(e){return i.includes(e)}))}function r(e){return[e.url,e.mediaURL].filter(Boolean)}function i(e,t){return null==e?null==t:null!=t&&e.start===t.start&&e.end===t.end}Object.defineProperty(t,"__esModule",{value:!0}),t.isIdenticalSegmentInfo=function(e,t){if(void 0!==e.mediaSequence&&void 0!==t.mediaSequence)return e.mediaSequence===t.mediaSequence;var r=n(e,t),o=i(e.byteRange,t.byteRange),a=e.discontinuitySequenceNumber===t.discontinuitySequenceNumber;return r&&o&&a},t.isIdenticalInitSegmentInfo=function(e,t){var n=(null==e?void 0:e.url)===(null==t?void 0:t.url),r=i(null==e?void 0:e.byteRange,null==t?void 0:t.byteRange);return n&&r}},30855:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentUnavailabilityHandler=void 0;var r=n(76885),i=function(){function e(e){this.triedRepsForCurrentSegment={},this.wasQualitySwitched=!1,this.context=e}return e.prototype.downloadSuccess=function(e){this.wasQualitySwitched&&e?this.wasQualitySwitched=!1:this.triedRepsForCurrentSegment={}},e.prototype.getNextLowerNotTriedQuality=function(e,t){for(var n=[],r=0;r<e.length&&!e[r]._internalId.equals(t);r++)this.triedRepsForCurrentSegment[e[r]._id]||n.push(e[r]);return n.length>0?n[n.length-1]._internalId:null},e.prototype.switchQuality=function(e,t){this.triedRepsForCurrentSegment[t.representationId]=!0;var n=this.getNextLowerNotTriedQuality(e,t);return n?(this.wasQualitySwitched=!0,n):(this.context.logger.log("no quality left, all tried"),null)},e.prototype.switchBaseURL=function(e){var t=e.availableBaseURLs,n=e.lastUsedBaseURLIndex+1;return(n%=t.length)===e.firstUsedBaseURLIndex?(this.context.logger.log("no base url left, all tried"),null):(e.lastUsedBaseURLIndex=n,e.baseURL=t[n],e.url=r.URLHelper.concatBaseUrlWithPartial(e.baseURL,e.mediaURL),e)},e.prototype.shouldTryAlternatives=function(e){return e>=400&&e<=599||0===e},e}();t.SegmentUnavailabilityHandler=i},38765:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.TimedMetadataService=void 0;var i=n(18665),o=n(60997),a=n(62510),s=n(54861),u=n(489),c=n(76650),l=n(28819),d=n(8272),_=n(79814),f=n(38925),h=n(19300),p=function(){function e(e){var t,n=this;this.context=e,this.onGenericMetadataAvailable=function(e){if(e.hasOwnProperty("metadata")){var t={metadataType:e.metadataType.toUpperCase(),metadata:e.metadata};(e.start||0===e.start)&&(t.start=e.start),e.end&&(t.end=e.end),n.context.eventHandler.dispatchEvent(a.PlayerEvent.Metadata,t)}},this.inbandMetadataCallback=function(e){e&&e.hasOwnProperty("metadataType")&&n.context.eventHandler.dispatchEvent(a.PlayerEvent.Metadata,{metadataType:e.metadataType,metadata:e.metadata})},this.onSegmentPlayback=function(e){var t=e.metadata.event;n.currentlyPlayedSegment[t.mimeType]=t,n.playbackRepresentationId[t.mimeType]=f.RepresentationId.from(e.metadata.representationId),n.discontinuityMonitor.maybeFirePeriodSwitchEvents(t),n.previousRepresentationIds[t.mimeType]&&n.previousRepresentationIds[t.mimeType].id===t.representationId||n.handlePlaybackInfo(t),n.context.eventHandler.dispatchEvent(a.PlayerEvent.SegmentPlayback,t)},this.previousRepresentationIds={},this.playbackRepresentationId={},this.currentlyPlayedSegment={},this.manifestService=this.context.serviceManager.get(i.ServiceName.ManifestService,e.sourceContext.sourceIdentifier);var r=((t={})[u.TimedMetadataType.InBand]=this.inbandMetadataCallback,t[u.TimedMetadataType.SegmentPlayback]=this.onSegmentPlayback,t[u.TimedMetadataType.Manifest]=this.onGenericMetadataAvailable,t[u.TimedMetadataType.EventStream]=this.onGenericMetadataAvailable,t[u.TimedMetadataType.DateRange]=this.onGenericMetadataAvailable,t[u.TimedMetadataType.CustomTag]=this.onGenericMetadataAvailable,t);this.metadataService=new s.MetadataService(e,r),this.discontinuityMonitor=new h.DiscontinuityMonitor(e)}return e.prototype.clearSegmentBoundMetadata=function(e){this.metadataService.removeMatchingCues(u.TimedMetadataType.SegmentPlayback,(function(t){return t.content.metadata.mimeType===e}))},e.prototype.onSegmentAvailable=function(e){var t,n=this,r=e.segment,i=e.extractedMetadata,o=e.isSegmentOfMainStream,a=e.presentationTimeOffset;if(o){t=function(e){var t=v(e),n=e.getSegmentInfo();return n.dateTime&&(t.dateTime=n.dateTime),n.representationId&&(t.representationId=n.representationId),t}(r);var s=r.getSegmentInfo();s.metadata&&s.metadata.forEach((function(e){n.processSegmentInfoMetadata(e,t,r.getPeriodId())})),g(s)&&this.handleCustomMetadata(s),this.handleId3Metadata(i,a,r.getPeriodId())}else t=v(r);this.registerSegmentPlaybackEvent(r,t),r.getInbandEvents().forEach((function(e){n.processInbandEvent(e,r.getPeriodId())})),this.discontinuityMonitor.onSegmentAvailable(r)},e.prototype.registerSegmentPlaybackEvent=function(e,t){if(!e.isInit()){var n=e.getSegmentInfo(),r=e.getMimeType(),i={metadata:{event:t,representationId:{_periodId:n.internalRepresentationId.periodId,_adaptationSetId:n.internalRepresentationId.adaptationSetId,_representationId:n.internalRepresentationId.representationId},mimeType:r}};this.metadataService.addToTimeline(u.TimedMetadataType.SegmentPlayback,t.playbackTime,i),(0,l.getMetricsState)(this.context.store.getState())[r]||this.context.store.dispatch((0,c.initializeMetricsForMimeType)(r,this.context.settings)),this.context.store.dispatch((0,c.addMetricsValue)(r,d.MetricType.SegmentInformation,{bitrate:8*e.getNetworkRequestSize()/e.getDuration(),duration:e.getDuration(),playbackTime:n.startTime||e.getPlaybackTime(),representationId:e.getRepresentationId()}))}},e.prototype.parseEventStream=function(){var e=this;this.manifestService.getAllPeriods().forEach((function(t){e.manifestService.getEventStreamEvents(t).forEach((function(n){e.processEventStreamEvent(n,t)}))}))},e.prototype.processEventStreamEvent=function(e,t){var n={metadataType:a.MetadataType.EVENT_STREAM,metadata:e.data,start:e.startTime,end:e.endTime};this.metadataService.addToMetadataParsedService(e.startTime,r(r({},n),{data:e.data}),t._id),this.metadataService.addToTimeline(u.TimedMetadataType.EventStream,e.startTime,n)},e.prototype.getPlaybackRepresentation=function(e){var t=this.context.serviceManager.get(i.ServiceName.ManifestService,this.context.sourceContext.sourceIdentifier),n=r({},t.getRepresentationById(this.playbackRepresentationId[e]));return n&&this.currentlyPlayedSegment[e]&&(n.uid=this.currentlyPlayedSegment[e].uid),n},e.prototype.handlePlaybackInfo=function(e){var t,n;_.MimeTypeHelper.isAudio(e.mimeType)?(t=a.PlayerEvent.AudioPlaybackQualityChanged,n={id:e.representationId,bitrate:parseFloat(e.mediaInfo.bitrate)}):_.MimeTypeHelper.isVideo(e.mimeType)&&(t=a.PlayerEvent.VideoPlaybackQualityChanged,n={id:e.representationId,bitrate:parseFloat(e.mediaInfo.bitrate),width:parseFloat(e.mediaInfo.width),height:parseFloat(e.mediaInfo.height)}),t&&this.context.eventHandler.dispatchEvent(t,{targetQuality:n,sourceQuality:this.previousRepresentationIds[e.mimeType]||null}),this.previousRepresentationIds[e.mimeType]=n},e.prototype.processDateRangeEvent=function(e,t){var n={metadataType:a.MetadataType.DATERANGE,metadata:e.data,start:e.startTime,end:e.endTime};this.metadataService.addToMetadataParsedService(e.startTime,r(r({},n),{data:e.data}),t),this.metadataService.addToTimeline(u.TimedMetadataType.DateRange,e.startTime,n)},e.prototype.addSegmentToMetadataParsedService=function(e,t){var n=this;e.forEach((function(e){if(e._metadata&&e._metadata.length>0&&e._playbackTime){var r={metadataType:a.MetadataType.CUSTOM,metadata:e._metadata,data:e._metadata,start:e._playbackTime,end:e._playbackTime+e._duration};n.metadataService.addToMetadataParsedService(e._playbackTime,r,t)}}))},e.prototype.handleId3Metadata=function(e,t,n){var r=this;e&&Array.isArray(e.id3)&&e.id3.length>0&&e.id3.forEach((function(e){r.publishId3Metadata(e,t,n)}))},e.prototype.publishId3Metadata=function(e,t,n){var i=e.presentationTime-t,o={metadataType:a.MetadataType.ID3,metadata:e.data,start:i};this.metadataService.addToMetadataParsedService(i,r(r({},o),{data:e.data}),n),this.metadataService.addToTimeline(u.TimedMetadataType.InBand,i,o)},e.prototype.handleCustomMetadata=function(e){var t=this,n=this.manifestService.getRepresentationById(e.internalRepresentationId);n.SegmentList[0].SegmentURL.forEach((function(r,i){r._media===e.url&&(r._playbackTime||function(e,t,n){for(var r=t,i=n;r>=0;)e[r]._playbackTime=i,i-=e[r]._duration,r--;for(r=t+1,i=n+e[t]._duration;r<e.length;)e[r]._playbackTime=i,i+=e[r]._duration,r++}(n.SegmentList[0].SegmentURL,i,e.startTime),t.metadataService.addToTimeline(u.TimedMetadataType.CustomTag,e.startTime,{metadataType:a.MetadataType.CUSTOM,metadata:r._metadata,start:e.startTime,end:e.startTime+e.duration}))})),this.addSegmentToMetadataParsedService(n.SegmentList[0].SegmentURL,e.periodId)},e.prototype.processInbandEvent=function(e,t){var n=e.presentationTime,i={metadataType:a.MetadataType.EMSG,metadata:e,start:n};this.metadataService.addToMetadataParsedService(n,r(r({},i),{data:e}),t),this.metadataService.addToTimeline(u.TimedMetadataType.InBand,n,i)},e.prototype.processSegmentInfoMetadata=function(e,t,n){var i=e.type;if(i===a.MetadataType.CUSTOM)t.EXPERIMENTAL=t.EXPERIMENTAL||{},t.EXPERIMENTAL.hlsAttributes=t.EXPERIMENTAL.hlsAttributes||[],t.EXPERIMENTAL.hlsAttributes=t.EXPERIMENTAL.hlsAttributes.concat(e.attributes);else{var o={metadataType:/^CUE-(IN|OUT(-CONT)?)$/.test(i)?a.MetadataType.CUETAG:a.MetadataType[e.type],metadata:e,start:t.playbackTime};this.metadataService.addToMetadataParsedService(o.start,r(r({},o),{data:e}),n),this.metadataService.addToTimeline(u.TimedMetadataType.Manifest,o.start,o)}},e.prototype.dispose=function(){this.metadataService=(0,o.dispose)(this.metadataService),this.manifestService=null,this.discontinuityMonitor=(0,o.dispose)(this.discontinuityMonitor)},e}();function g(e){return e.metadata&&e.metadata.length>0&&e.metadata[0].type===a.MetadataType.CUSTOM}function v(e){var t=e.getSegmentInfo();return{uid:btoa(e.getUrl()),url:e.getUrl(),mimeType:e.getMimeType(),playbackTime:e.getPlaybackTime(),presentationTimestamp:e.getBaseMediaDecodeTime()/e.getTimescale(),duration:e.getDuration(),mediaInfo:e.getMediaInfo(),wallClockTime:t.wallClockTime,discontinuitySequenceNumber:t.discontinuitySequenceNumber}}t.TimedMetadataService=p},4053:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setRepresentationIdAction=function(e){return(0,r.createAction)(o.ActiveTracksActionType.SetSelectedRepresentationId,{selectedRepresentationId:e})},t.setMediaTypeAction=function(e,t){var n=(0,i.forceArray)(t);return(0,r.createAction)(o.ActiveTracksActionType.SetMediaType,{trackId:e,mediaTypes:n})},t.setContainerFormatAction=function(e,t){return(0,r.createAction)(o.ActiveTracksActionType.SetContainerFormat,{trackId:e,containerFormat:t})},t.removeActiveTrackAction=function(e){return(0,r.createAction)(o.ActiveTracksActionType.RemoveActiveTrack,{adaptationSetId:e})},t.clearActiveTracksAction=function(){return(0,r.createAction)(o.ActiveTracksActionType.ClearActiveTracks)};var r=n(15231),i=n(81361),o=n(73731)},73731:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveTracksActionType=void 0,function(e){e.SetSelectedRepresentationId="@instance/sources/@source/activetracks/setselectedrepresentationid",e.SetMediaType="@instance/sources/@source/activetracks/setmediatype",e.SetContainerFormat="@instance/sources/@source/activetracks/setcontainerformat",e.RemoveActiveTrack="@instance/sources/@source/activetracks/remove",e.ClearActiveTracks="@instance/sources/@source/activetracks/clear"}(n||(t.ActiveTracksActionType=n={}))},82311:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveTracksReducer=void 0,t.getContainerFormat=function(e,t){var n;if(e.activeTracks)return null===(n=Object.values(e.activeTracks).find((function(e){var n;return null===(n=e.mediaTypes)||void 0===n?void 0:n.includes(t)})))||void 0===n?void 0:n.containerFormat},t.getMediaTypes=function(e,t){var n;return e.activeTracks&&(null===(n=e.activeTracks[t.adaptationSetId])||void 0===n?void 0:n.mediaTypes)||[]};var a=n(21829),s=n(73731),u={};t.ActiveTracksReducer=(0,a.default)({},((r={})[s.ActiveTracksActionType.SetSelectedRepresentationId]=function(e,t){return function(e,t){var n,r=t.selectedRepresentationId,o=e[r.adaptationSetId];return i(i({},e),((n={})[r.adaptationSetId]=i(i({},o),{selectedRepresentationId:r}),n))}(e,t.payload)},r[s.ActiveTracksActionType.SetMediaType]=function(e,t){return function(e,t){var n,r=t.trackId,o=t.mediaTypes,a=e[r.adaptationSetId];return i(i({},e),((n={})[r.adaptationSetId]=i(i({},a),{mediaTypes:o}),n))}(e,t.payload)},r[s.ActiveTracksActionType.SetContainerFormat]=function(e,t){return function(e,t){var n,r=t.trackId,o=t.containerFormat,a=e[r.adaptationSetId];return i(i({},e),((n={})[r.adaptationSetId]=i(i({},a),{containerFormat:o}),n))}(e,t.payload)},r[s.ActiveTracksActionType.RemoveActiveTrack]=function(e,t){return function(e,t){var n=e,r=t.adaptationSetId.adaptationSetId,a=(n[r],o(n,["symbol"==typeof r?r:r+""]));return i({},a)}(e,t.payload)},r[s.ActiveTracksActionType.ClearActiveTracks]=function(){return u},r))},55486:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.removeEncryptionKey=t.updateEncryptionKey=t.addEncryptionKey=void 0;var r=n(15231),i=n(56092);t.addEncryptionKey=function(e){return(0,r.createAction)(i.EncryptionKeyActionKey.AddEncryptionKey,e)},t.updateEncryptionKey=function(e){return(0,r.createAction)(i.EncryptionKeyActionKey.UpdateEncryptionKey,e)},t.removeEncryptionKey=function(e){return(0,r.createAction)(i.EncryptionKeyActionKey.RemoveEncryptionKey,{keyUri:e})}},66137:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptionKeyReducer=void 0;var a=n(21829),s=n(56092);t.EncryptionKeyReducer=(0,a.default)([],((r={})[s.EncryptionKeyActionKey.AddEncryptionKey]=function(e,t){var n=t.payload;return o(o([],e,!0),[i({},n)],!1)},r[s.EncryptionKeyActionKey.UpdateEncryptionKey]=function(e,t){var n=t.payload,r=e.findIndex((function(e){return e.uri===n.uri}));if(-1===r)return e;var a=e[r],s=o([],e,!0);return s.splice(r,1,i(i({},a),n)),s},r[s.EncryptionKeyActionKey.RemoveEncryptionKey]=function(e,t){var n=t.payload;return o([],e,!0).filter((function(e){return e.uri!==n.keyUri}))},r))},25040:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptionKey=t.getAllEncryptionKeys=void 0,t.getAllEncryptionKeys=function(e){return null==e?void 0:e.encryptionKeys},t.getEncryptionKey=function(e,t){var n;return null===(n=null==e?void 0:e.encryptionKeys)||void 0===n?void 0:n.find((function(e){return e.uri===t}))}},56092:function(e,t){var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptionKeyActionKey=t.KeyLoadState=void 0,function(e){e.Loading="loading",e.Loaded="loaded",e.Cancel="cancel"}(n||(t.KeyLoadState=n={})),function(e){e.AddEncryptionKey="@instance/sources/@source/encryptionkey/addEncryptionKey",e.UpdateEncryptionKey="@instance/sources/@source/encryptionkey/updateEncryptionKey",e.RemoveEncryptionKey="@instance/sources/@source/encryptionkey/removeEncryptionKey"}(r||(t.EncryptionKeyActionKey=r={}))},71827:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.engineBitmovinSourceReducers=void 0;var r=n(82311),i=n(66137),o=n(28196),a=n(58211),s=n(96280),u=n(49233),c=n(28322),l=n(14764);t.engineBitmovinSourceReducers={manifest:o.ManifestReducer,activeTracks:r.ActiveTracksReducer,playingTracks:a.PlayingTracksReducer,encryptionKeys:i.EncryptionKeyReducer,buffer:u.BufferReducer,renderer:c.RendererReducer,streamTimeline:l.StreamTimelineReducer,segmentInfoMap:s.SegmentInfoMapReducer}},72788:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.periodSwitchStarted=t.periodSwitchFinished=t.setPlayingPeriodId=void 0;var r=n(15231),i=n(98086);t.setPlayingPeriodId=function(e){return(0,r.createAction)(i.PlayingTracksActionKey.SetPlayingPeriodId,e)},t.periodSwitchFinished=function(e){return(0,r.createAction)(i.PlayingTracksActionKey.FinishedPeriodSwitch,e)},t.periodSwitchStarted=function(e){return(0,r.createAction)(i.PlayingTracksActionKey.StartedPeriodSwitch,e)}},58211:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayingTracksReducer=t.wasSwitchingToPeriodIdReset=t.getPlayingTracksState=t.getPlayingPeriodId=void 0;var o=n(21829),a=n(98086);t.getPlayingPeriodId=function(e){var t;return null===(t=e.playingTracks)||void 0===t?void 0:t.playingPeriodId},t.getPlayingTracksState=function(e){return e.playingTracks},t.wasSwitchingToPeriodIdReset=function(e,t){return void 0!==(null==t?void 0:t.switchingToPeriodId)&&void 0===(null==e?void 0:e.switchingToPeriodId)},t.PlayingTracksReducer=(0,o.default)({},((r={})[a.PlayingTracksActionKey.SetPlayingPeriodId]=function(e,t){var n=t.payload;return i(i({},e),{playingPeriodId:n})},r[a.PlayingTracksActionKey.FinishedPeriodSwitch]=function(e,t){var n=t.payload;return i(i({},e),{switchingToPeriodId:e.switchingToPeriodId===n?void 0:e.switchingToPeriodId})},r[a.PlayingTracksActionKey.StartedPeriodSwitch]=function(e,t){var n=t.payload;return i(i({},e),{switchingToPeriodId:n})},r))},98086:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PlayingTracksActionKey=void 0,function(e){e.SetPlayingPeriodId="@instance/sources/@source/playingTracks/setPlayingPeriodId",e.FinishedPeriodSwitch="@instance/sources/@source/playingTracks/periodSwitchFinished",e.StartedPeriodSwitch="@instance/sources/@source/playingTracks/periodSwitchStarted"}(n||(t.PlayingTracksActionKey=n={}))},28337:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sourceIdentifiersSelector=t.hasASourceStoreIdentifierChanged=void 0,t.hasASourceStoreIdentifierChanged=function(e,t){return e.length!==t.length||e.some((function(e){return!t.includes(e)}))},t.sourceIdentifiersSelector=function(e){var t;return Object.keys(null!==(t=e.sources)&&void 0!==t?t:{})}},41735:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setManifestAction=function(e){return(0,r.createAction)(i.ManifestActionType.SetManifest,{manifest:e})},t.setManifestInitializedAction=function(e){return(0,r.createAction)(i.ManifestActionType.SetManifestInitialized,{isInitialized:e})},t.removeRepresentationsAction=function(e){return(0,r.createAction)(i.ManifestActionType.RemoveRepresentations,{representationIds:e})},t.updateManifestAction=function(e){return(0,r.createAction)(i.ManifestActionType.UpdateManifest,e)},t.updateRepresentationAction=function(e){return(0,r.createAction)(i.ManifestActionType.UpdateRepresentation,e)},t.updatePeriodTimingAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.UpdatePeriodTiming,{periodId:e,timing:t})},t.adjustPeriodStartTimes=function(e){return(0,r.createAction)(i.ManifestActionType.AdjustPeriodStartTimes,{offset:e})},t.setRepresentationDrmKidAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.SetRepresentationDrmKid,{representationId:e,associatedKid:t})},t.setRepresentationFailedDownloadAction=function(e){return(0,r.createAction)(i.ManifestActionType.SetRepresentationFailedDownload,{representationId:e})},t.setRepresentationSegmentIndexAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.SetRepresentationSegmentIndex,{representationId:e,segmentIndex:t})},t.setRepresentationIsLoadingAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.SetRepresentationIsLoading,{representationId:e,isLoading:t})},t.setRepresentationSegmentIndexParsingErrorAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.SetRepresentationSegmentIndexParsingError,{representationId:e,segmentIndexParsingError:t})},t.setRepresentationAnchorPointAction=function(e,t){return(0,r.createAction)(i.ManifestActionType.SetRepresentationAnchorPoint,{representationId:e,anchorPoint:t})};var r=n(15231),i=n(77329)},28196:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestReducer=void 0;var a=n(21829),s=n(94938),u=n(77329);t.ManifestReducer=(0,a.default)({},((r={})[u.ManifestActionType.SetManifest]=function(e,t){return t.payload.manifest||e},r[u.ManifestActionType.SetManifestInitialized]=function(e,t){return i(i({},e),{isInitialized:t.payload.isInitialized})},r[u.ManifestActionType.RemoveRepresentations]=function(e,t){return 0===t.payload.representationIds.length?e:(0,s.removeRepresentations)(e,t.payload.representationIds)},r[u.ManifestActionType.UpdateManifest]=function(e,t){return function(e,t){return i(i({},e),t)}(e,t.payload)},r[u.ManifestActionType.UpdateRepresentation]=function(e,t){return function(e,t){var n,r,a,s=t,u=s._internalId;if(!e.Period)return e;var c=e.Period.findIndex((function(e){return e._id===u.periodId})),l=null===(n=e.Period[c])||void 0===n?void 0:n.AdaptationSet.findIndex((function(e){return e._internalId.equals(u)})),d=null===(a=null===(r=e.Period[c])||void 0===r?void 0:r.AdaptationSet[l])||void 0===a?void 0:a.Representation.findIndex((function(e){return e._internalId.equals(u)})),_=i({},e);_.Period=o([],_.Period,!0),_.Period[c]=i({},_.Period[c]);var f=_.Period[c];f.AdaptationSet=o([],f.AdaptationSet,!0),f.AdaptationSet[l]=i({},f.AdaptationSet[l]);var h=f.AdaptationSet[l];return h.Representation=o([],h.Representation,!0),h.Representation[d]=s,_}(e,t.payload)},r[u.ManifestActionType.AdjustPeriodStartTimes]=function(e,t){return t.payload.offset?i(i({},e),{Period:e.Period.map((function(e){return i(i({},e),{start:e.start+t.payload.offset})}))}):e},r[u.ManifestActionType.UpdatePeriodTiming]=function(e,t){return function(e,t){if(!e.Period)return e;var n=t.periodId,r=t.timing,a=e.Period.findIndex((function(e){return e._id===n}));if(a<0)return e;var s=o([],e.Period,!0);return s[a]=i(i({},s[a]),r),i(i({},e),{Period:s})}(e,t.payload)},r[u.ManifestActionType.SetRepresentationDrmKid]=function(e,t){var n,r=t.payload,o=r.representationId,a=r.associatedKid,s=function(e){return e._internalId.equals(o)&&!e.associatedKid?a:e.associatedKid};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{associatedKid:s(e)})}))})}))})}))})},r[u.ManifestActionType.SetRepresentationFailedDownload]=function(e,t){var n,r=t.payload.representationId,o=function(e){var t;return!!e._internalId.equals(r)||(null===(t=e._hls)||void 0===t?void 0:t.hasFailedToLoad)};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{_hls:i(i({},e._hls),{hasFailedToLoad:o(e)})})}))})}))})}))})},r[u.ManifestActionType.SetRepresentationIsLoading]=function(e,t){var n,r=t.payload,o=r.representationId,a=r.isLoading,s=function(e){return e._internalId.equals(o)?a:e.isLoading};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{isLoading:s(e)})}))})}))})}))})},r[u.ManifestActionType.SetRepresentationSegmentIndex]=function(e,t){var n,r=t.payload,o=r.representationId,a=r.segmentIndex,s=function(e){return e._internalId.equals(o)?a:e.segmentIndex};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{segmentIndex:s(e)})}))})}))})}))})},r[u.ManifestActionType.SetRepresentationSegmentIndexParsingError]=function(e,t){var n,r=t.payload,o=r.representationId,a=r.segmentIndexParsingError,s=function(e){return e._internalId.equals(o)?a:e.segmentIndexParsingError};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{segmentIndexParsingError:s(e)})}))})}))})}))})},r[u.ManifestActionType.SetRepresentationAnchorPoint]=function(e,t){var n,r=t.payload,o=r.representationId,a=r.anchorPoint,s=function(e){return e._internalId.equals(o)?a:e.anchorPoint};return i(i({},e),{Period:null===(n=e.Period)||void 0===n?void 0:n.map((function(e){var t;return i(i({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map((function(e){var t;return i(i({},e),{Representation:null===(t=e.Representation)||void 0===t?void 0:t.map((function(e){return i(i({},e),{anchorPoint:s(e)})}))})}))})}))})},r))},77874:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getManifest=void 0,t.getManifest=function(e){return null==e?void 0:e.manifest}},77329:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestActionType=void 0,function(e){e.SetManifest="@instance/manifest/setmanifest",e.SetManifestInitialized="@instance/manifest/setmanifestinitialized",e.RemoveRepresentations="@instance/manifest/removerepresentations",e.UpdateManifest="@instance/manifest/updatemanifest",e.UpdateRepresentation="@instance/manifest/updaterepresentation",e.UpdatePeriodTiming="@instance/manifest/updateperiodtiming",e.AdjustPeriodStartTimes="@instance/manifest/adjustperiodstarttimes",e.SetRepresentationDrmKid="@instance/manifest/setrepresentationdrmkid",e.SetRepresentationFailedDownload="@instance/manifest/setrepresentationfaileddownload",e.SetRepresentationSegmentIndex="@instance/manifest/setrepresentationsegmentindex",e.SetRepresentationIsLoading="@instance/manifest/setrepresentationisloading",e.SetRepresentationSegmentIndexParsingError="@instance/manifest/setrepresentationsegmentindexparsingerror",e.SetRepresentationAnchorPoint="@instance/manifest/setrepresentationacnhorpoint"}(n||(t.ManifestActionType=n={}))},96280:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoMapReducer=void 0;var a=n(21829),s=n(41661),u=n(85157);function c(e,t,n){var r;return i(i({},e),((r={})[t]=n,r))}t.SegmentInfoMapReducer=(0,a.default)({},((r={})[u.SegmentInfoMapActionType.SetSegmentInfos]=function(e,t){return c(e,t.payload.qualityPath,t.payload.updatedEntry)},r[u.SegmentInfoMapActionType.UpdateSegmentInfos]=function(e,t){return function(e,t,n){var r;if(!e[t]||0===n.segmentInfos.length)return c(e,t,n);var a=e[t].segmentInfos,u=a.findIndex((function(e){return(0,s.areSegmentsIdentical)(e,n.segmentInfos[0])}));if(-1===u)return c(e,t,n);var l,d=a.length-u,_=n.segmentInfos.length-d;if(0!==u||0!==_){var f=_>0?n.segmentInfos.slice(-_):[];l=o(o([],a.slice(u),!0),f,!0)}else l=a;var h=i(i(i({},e[t]),n),{segmentInfos:l});return i(i({},e),((r={})[t]=h,r))}(e,t.payload.qualityPath,t.payload.updatedEntry)},r))},93326:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMostRecentlyRefreshedQuality=t.getSegmentInfos=t.getSegmentMapEntry=void 0,t.getSegmentMapEntry=function(e,t){return null==e?void 0:e.segmentInfoMap[t]},t.getSegmentInfos=function(e,n){var r,i;return null!==(i=null===(r=(0,t.getSegmentMapEntry)(e,n))||void 0===r?void 0:r.segmentInfos)&&void 0!==i?i:[]},t.getMostRecentlyRefreshedQuality=function(e){if(e)return Object.values(e.segmentInfoMap).filter((function(e){return null!=e.qualityInfo.lastUpdateTimestamp})).sort((function(e,t){var n=e.qualityInfo.lastUpdateTimestamp;return t.qualityInfo.lastUpdateTimestamp-n}))[0]}},85157:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoMapActionType=void 0,function(e){e.SetSegmentInfos="@instance/sources/@source/playback/setSegmentInfos",e.UpdateSegmentInfos="@instance/sources/@source/playback/updateSegmentInfos"}(n||(t.SegmentInfoMapActionType=n={}))},16280:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeBufferBlockTimeRanges=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a(e);return Object.keys(n).flatMap((function(e){return r.BufferRangeHelper.mergeRanges(n[e],i)}))},t.excludeBufferBlockTimeRange=function(e,t){var n=t.bufferBlockId,s=a(e.map((function(e){return o(e.start,e.end,e.bufferBlockId)}))),u=s[n];if(!(null==u?void 0:u.length))return e;var c=function(e,t){var n=[];return e.forEach((function(e){(0,r.areDisjoint)(e,t)?n.push(e):(0,r.isSurrounding)(e,t)?n.push.apply(n,function(e,t){return[o(e.start,t.start,e.bufferBlockId),o(t.end,e.end,e.bufferBlockId)]}(e,t)):(0,r.isFullyIncluded)(e,t)||n.push(function(e,t){return o(e.start>=t.start?t.end:e.start,e.end>t.end?e.end:t.start,e.bufferBlockId)}(e,t))})),n.filter((function(e){return e.end-e.start>=i}))}(u,t);return s[n]=r.BufferRangeHelper.mergeRanges(c,i),Object.keys(s).flatMap((function(e){return s[e]}))},t.segmentToBufferBlockTimeRange=function(e){var t=e.getBufferBlockId(),n=e.getPlaybackTime();return o(n,n+e.getDuration(),t)};var r=n(92712),i=.1;function o(e,t,n){return{start:(0,r.rangeFixedValue)(e),end:(0,r.rangeFixedValue)(t),bufferBlockId:n}}function a(e){var t={};return e.forEach((function(e){t[e.bufferBlockId]||(t[e.bufferBlockId]=[]),t[e.bufferBlockId].push(e)})),t}},49233:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferReducer=void 0;var a=n(92712),s=n(21829),u=n(18434),c=n(16280);t.BufferReducer=(0,s.default)({isLoadingRangeFinished:!1,isBufferBlockSwitchOngoing:!1,isTimestampRollingOver:!1,bufferStateMap:{}},((r={})[u.BufferActionType.SetBufferMaxSize]=function(e,t){var n,r=t.payload;return i(i({},e),{bufferStateMap:i(i({},e.bufferStateMap),(n={},n[r.mimeType]=i(i({},e.bufferStateMap[r.mimeType]),{maxBufferSize:r.maxBufferSize}),n))})},r[u.BufferActionType.SetRendererRanges]=function(e,t){var n,r=t.payload;return i(i({},e),{bufferStateMap:i(i({},e.bufferStateMap),(n={},n[r.mimeType]=i(i({},e.bufferStateMap[r.mimeType]),{rendererRanges:r.ranges}),n))})},r[u.BufferActionType.SetBufferBlockSwitchOngoing]=function(e,t){var n=t.payload;return i(i({},e),{isBufferBlockSwitchOngoing:n.isOngoing})},r[u.BufferActionType.SetTimestampRollingOver]=function(e,t){var n=t.payload;return i(i({},e),{isTimestampRollingOver:n.isRollingOver})},r[u.BufferActionType.AddLoadedRange]=function(e,t){var n,r,s,u=t.payload,l=u.mimeType,d=u.range;if(!l)return e;var _=null!==(s=null===(r=e.bufferStateMap[l])||void 0===r?void 0:r.loadedRanges)&&void 0!==s?s:[];return _.some((function(e){return(0,a.isFullyIncluded)(d,e)}))?e:i(i({},e),{bufferStateMap:i(i({},e.bufferStateMap),(n={},n[l]=i(i({},e.bufferStateMap[l]),{loadedRanges:c.mergeBufferBlockTimeRanges.apply(void 0,o(o([],_,!1),[d],!1))}),n))})},r[u.BufferActionType.RemoveLoadedRange]=function(e,t){var n,r,o,s=t.payload,u=s.mimeType,l=s.range;if(!u)return e;var d=null!==(o=null===(r=e.bufferStateMap[u])||void 0===r?void 0:r.loadedRanges)&&void 0!==o?o:[];return d.every((function(e){return!(0,a.isOverlapping)(l,e)}))?e:i(i({},e),{bufferStateMap:i(i({},e.bufferStateMap),(n={},n[u]=i(i({},e.bufferStateMap[u]),{loadedRanges:(0,c.excludeBufferBlockTimeRange)(d,l)}),n))})},r[u.BufferActionType.ResetLoadedRanges]=function(e,t){var n,r,o,a=t.payload.mimeType;if(void 0===a){if(void 0===e)return{isLoadingRangeFinished:!1,isBufferBlockSwitchOngoing:!1,isTimestampRollingOver:!1,bufferStateMap:{}};var s=i(i({},e),{bufferStateMap:i({},e.bufferStateMap)});return Object.keys(s.bufferStateMap).forEach((function(e){s.bufferStateMap[e]=i(i({},s.bufferStateMap[e]),{loadedRanges:[]})})),s}return(null!==(o=null===(r=e.bufferStateMap[a])||void 0===r?void 0:r.loadedRanges)&&void 0!==o?o:[]).length>0?i(i({},e),{bufferStateMap:i(i({},e.bufferStateMap),(n={},n[a]=i(i({},e.bufferStateMap[a]),{loadedRanges:[]}),n))}):e},r[u.BufferActionType.SetLoadingRangeFinished]=function(e,t){var n=t.payload.isFinished;return i(i({},e),{isLoadingRangeFinished:n})},r))},68294:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getDrmUsedKeySystem=t.getDrmKeyIdsWithErrors=t.getDrmState=void 0,t.getDrmState=function(e){return null==e?void 0:e.drm},t.getDrmKeyIdsWithErrors=function(e){var t,n;return null!==(n=null===(t=e.drm)||void 0===t?void 0:t.keyIdsWithErrors)&&void 0!==n?n:[]},t.getDrmUsedKeySystem=function(e){var n;return(null===(n=(0,t.getDrmState)(e))||void 0===n?void 0:n.usedKeySystem)||{kind:null,uid:null}}},28322:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RendererReducer=void 0;var o=n(21829),a=n(73448);t.RendererReducer=(0,o.default)({mseObjectUrl:""},((r={})[a.RendererActionType.SetMseObjectUrl]=function(e,t){var n=t.payload;return i(i({},e),{mseObjectUrl:n.url})},r))},59839:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.addStreamTimeRange=function(e,t,n){var o={start:t.start,end:t.end,type:n};return(0,r.createAction)(i.StreamTimelineActionType.StreamTimeRangeAdd,{mimeType:e,streamTimeRange:o})},t.removeStreamTimeRange=function(e,t,n){return(0,r.createAction)(i.StreamTimelineActionType.StreamTimeRangeRemove,{mimeType:e,range:t,type:n})},t.resetStreamTimeline=function(e){return(0,r.createAction)(i.StreamTimelineActionType.StreamTimelineReset,e)};var r=n(15231),i=n(1590)},14764:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.getStreamTimeline=t.StreamTimelineReducer=void 0;var a=n(92712),s=n(21829),u=n(22645),c=n(1590),l={};t.StreamTimelineReducer=(0,s.default)(l,((r={})[c.StreamTimelineActionType.StreamTimeRangeAdd]=function(e,t){return function(e,t,n){var r,a=e[t]?o([],e[t],!0):[];return i(i({},e),((r={})[t]=(0,u.addStreamTimeRangeToTimeline)(a,n),r))}(e,t.payload.mimeType,t.payload.streamTimeRange)},r[c.StreamTimelineActionType.StreamTimeRangeRemove]=function(e,t){return function(e,t,n,r){var s;if(!e[t])return e;var c=o([],e[t],!0);if(r){var l=i(i({},n),{type:r});c=(0,u.removeStreamTimeRangeFromTimeline)(c,l)}else c=a.BufferRangeHelper.excludeTimeRange(c,n);return i(i({},e),((s={})[t]=c,s))}(e,t.payload.mimeType,t.payload.range,t.payload.type)},r[c.StreamTimelineActionType.StreamTimelineReset]=function(e,t){return function(e,t){var n;return t?i(i({},e),((n={})[t]=[],n)):l}(e,t.payload)},r)),t.getStreamTimeline=function(e){var t;return null!==(t=null==e?void 0:e.streamTimeline)&&void 0!==t?t:{}}},1590:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTimelineActionType=void 0,function(e){e.StreamTimelineReset="@instance/source/stream/streamtimelinereset",e.StreamTimeRangeRemove="@instance/source/stream/streamtimerangeremove",e.StreamTimeRangeAdd="@instance/source/stream/streamtimerangeadd"}(n||(t.StreamTimelineActionType=n={}))},22645:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTimeRangeType=void 0,t.addStreamTimeRangeToTimeline=function(e,t){var n=e.filter((function(e){return e.type===t.type})).concat(t),r=i.BufferRangeHelper.mergeRanges(n,o.DefaultSettings.GAP_TOLERANCE);return e=e.filter((function(e){return e.type!==t.type})),r.forEach((function(t){e=s(e,t,(function(e){return e.start>t.start}))})),e},t.removeStreamTimeRangeFromTimeline=function(e,t){var n=e.filter((function(e){return e.type===t.type})),r=i.BufferRangeHelper.excludeTimeRange(n,t);return e=e.filter((function(e){return e.type!==t.type})),r.forEach((function(t){t.end-t.start>o.DefaultSettings.GAP_TOLERANCE&&(e=s(e,t,(function(e){return e.start>t.start})))})),e},t.getTrackIdentifier=function(e){var t=e.mimeType,n=e.internalRepresentationId;return a.MimeTypeHelper.isSubtitle(t)?"".concat(t,"/").concat(n.adaptationSetId):t};var r,i=n(92712),o=n(87326),a=n(79814);function s(e,t,n){var r=e.findIndex(n);return r<0?e.push(t):e.splice(r,0,t),e}!function(e){e.Loading="loading",e.Failed="failed"}(r||(t.StreamTimeRangeType=r={}))},64330:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SynchronizedTimeService=void 0;var r=n(331),i=n(13127),o=n(89010),a=function(){function e(e,t){this.context=e,this.sourceContext=t,this.timeDifferenceMs=0;var n=new o.HttpHeadTimeProvider(this.context,new i.ISO8601TimeDecoder),r=new o.HttpGetTimeProvider(this.context,new i.XSDateTimeDecoder),a=new o.HttpGetTimeProvider(this.context,new i.ISO8601TimeDecoder),s=new o.StringTimeProvider(new i.XSDateTimeDecoder);this.serverTimeProviders={"urn:mpeg:dash:utc:http-head:2012":n,"urn:mpeg:dash:utc:http-head:2014":n,"urn:mpeg:dash:utc:http-xsdate:2012":r,"urn:mpeg:dash:utc:http-xsdate:2014":r,"urn:mpeg:dash:utc:http-iso:2012":a,"urn:mpeg:dash:utc:http-iso:2014":a,"urn:mpeg:dash:utc:direct:2012":s,"urn:mpeg:dash:utc:direct:2014":s}}return e.prototype.getTimeDifference=function(){return this.timeDifferenceMs},e.prototype.requestServerTime=function(e){var t=this,n=e.shift();if(!n)return Promise.reject(new Error("No time source left to try"));if(!this.serverTimeProviders[n.schemeIdUri])return this.context.logger.debug("UTCTiming scheme ".concat(n.schemeIdUri," is not supported.")),this.requestServerTime(e);this.currentServerTimeProvider=this.serverTimeProviders[n.schemeIdUri];var r=Date.now();return this.currentServerTimeProvider.requestTime(n.value).then((function(e){return e+(Date.now()-r)/2})).catch((function(){return t.context.logger.debug("UTCTiming scheme ".concat(n.schemeIdUri," resulted in an error")),t.requestServerTime(e)}))},e.prototype.synchronizeWithServer=function(e,t){var n=this;return this.driftPromise||(this.driftPromise=this.requestServerTime(e).then((function(e){n.currentServerTimeProvider=void 0,n.timeDifferenceMs=e+(0,r.toMilliSeconds)(t)-Date.now(),n.context.logger.debug("Synchronized client time with time server - drift: ".concat((0,r.toSeconds)(n.timeDifferenceMs),"s"))})).catch((function(){n.context.logger.debug("Synchronizing client time with time server unsuccessful")}))),this.driftPromise},e.prototype.reset=function(){this.timeDifferenceMs=0,this.driftPromise=void 0,this.currentServerTimeProvider&&(this.currentServerTimeProvider.cancelRequest(),this.currentServerTimeProvider=void 0)},e.prototype.dispose=function(){this.reset()},e}();t.SynchronizedTimeService=a},13127:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.XSDateTimeDecoder=t.ISO8601TimeDecoder=void 0;var n=function(){function e(){}return e.prototype.decode=function(e){return Date.parse(e)},e}();t.ISO8601TimeDecoder=n;var r=function(){function e(){}return e.prototype.decode=function(t){var n=Date.parse(t);if(isNaN(n)){var r=e.DATETIME_REGEX.exec(t);if(!r)return NaN;var i=Date.UTC(parseInt(r[1],10),parseInt(r[2],10)-1,parseInt(r[3],10),parseInt(r[4],10),parseInt(r[5],10),r[6]&&parseInt(r[6],10)||0,r[7]&&1e3*parseFloat(r[7])||0);if(r[9]&&r[10]){var o=60*parseInt(r[9],10)+parseInt(r[10],10);i+=("+"===r[8]?-1:1)*o*60*1e3}return new Date(i).getTime()}return n},e.DATETIME_REGEX=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d*)(\.\d*)?)?(?:([+-])(\d{2}):(\d{2}))?/,e}();t.XSDateTimeDecoder=r},89010:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.StringTimeProvider=t.HttpHeadTimeProvider=t.HttpGetTimeProvider=t.HttpTimeProvider=t.ServerTimeProvider=void 0;var i=n(88005),o=n(67345),a=function(e){this.timeDecoder=e};t.ServerTimeProvider=a;var s=function(e){function t(t,n){var r=e.call(this,n)||this;return r.context=t,r}return r(t,e),t.prototype.sendSingleRequest=function(e){var t=this,n=e.shift();return n?(this.currentContentLoader=new i.DefaultContentLoader(this.context,{requestType:o.HttpRequestType.TIME_SYNC,maxRetries:1}),this.currentContentLoader.load(n,this.requestMethod).then((function(e){var n=t.timeDecoder.decode(t.processResponse(e));return t.currentContentLoader=void 0,isNaN(n)?Promise.reject(new Error("Failed to decode time")):Promise.resolve(n)})).catch((function(n){return t.context.logger.debug("could not load UTC time url",n),t.sendSingleRequest(e)}))):Promise.reject(new Error("No time source left to try"))},t.prototype.requestTime=function(e){var t=this,n=e.match(/\S+/g);return n?this.sendSingleRequest(n).then((function(e){return t.currentContentLoader=void 0,e})):Promise.reject(new Error("No time source left to try"))},t.prototype.cancelRequest=function(){this.currentContentLoader&&this.currentContentLoader.cancel()},t}(a);t.HttpTimeProvider=s;var u=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.requestMethod=o.HttpRequestMethod.GET,r}return r(t,e),t.prototype.processResponse=function(e){return e.body},t}(s);t.HttpGetTimeProvider=u;var c=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.requestMethod=o.HttpRequestMethod.HEAD,r}return r(t,e),t.prototype.processResponse=function(e){var t=Object.keys(e.headers).find((function(e){return"date"===e.toLocaleLowerCase()}));return t&&e.headers[t]||""},t}(u);t.HttpHeadTimeProvider=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.requestTime=function(e){var t=this.timeDecoder.decode(e);return isNaN(t)?Promise.reject(new Error("Failed to decode time")):Promise.resolve(t)},t.prototype.cancelRequest=function(){},t}(a);t.StringTimeProvider=l},75498:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.areAudioMimeCodecsCompatible=function(e,t){return e.mimeType===t.mimeType&&r.CodecStringHelper.canSwitchBetweenAudioCodecs(e.codec,t.codec)},t.hasContentProtection=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),0===e.length&&0===t.length||e.length>0&&t.length>0};var r=n(42283)},9827:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.findSegmentUrlIndexWithinSegmentList=function(e,t){var n=e.getSegmentInfo();return t.findIndex((function(e){var t=n.discontinuitySequenceNumber===e._discontinuitySequenceNumber,o=i(n.url,e._media),a=(0,r.compareValues)(n.byteRange,e._byteRange);return t&&o&&a}))},t.matchesMediaUrl=i;var r=n(86865);function i(e,t){return e.endsWith(t)||e.split("?")[0].endsWith(t)}},37702:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getValues=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t},t.getKeys=function(e){var t=[];return e.forEach((function(e,n){t.push(n)})),t}},40392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToBits=function(e){return 8*e}},87062:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isLowLatencyConfigured=function(e){var t=e.serviceManager.get(r.ServiceName.LiveLatencyService);return(null==t?void 0:t.isConfigured())||!1};var r=n(18665)},93109:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isPlayingLowLatencyHls=function(e){var t;if(!(0,a.isLowLatencyConfigured)(e)||!e.settings.LL_HLS)return!1;var n=i.ModuleManager.get(o.ModuleName.HLS,!1);if(!n)return!1;var s=n.selectors,u=s.getHlsState,c=s.getIsLowLatencyPlaylist,l=(0,r.getSourceState)(e);return null!==(t=!!l&&c(u(l)))&&void 0!==t&&t};var r=n(27279),i=n(91520),o=n(16368),a=n(87062)}},function(e){return e(e.s=44910)}])}()},8246:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[855],{77117:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractHlsManifestController=void 0;var r,i,o=n(18665),a=n(62510),s=n(63331),u=n(54861),c=n(489),l=n(3941),d=n(331),_=n(54838),f=n(91520),h=n(16368),p=n(76250);!function(e){e.CueTag="cueTag",e.Scte35="scte35",e.DateRange="dateRange",e.CustomTags="customTags"}(r||(r={}));var g=function(){function e(e){var t,n=this;this.context=e,this.discontinuitySequences=[],this.onManifestMetadata=function(e){if(e.hasOwnProperty("metadata")){var t={metadataType:e.metadataType.toUpperCase(),metadata:e.metadata};(e.start||0===e.start)&&(t.start=e.start),e.end&&(t.end=e.end),n.context.eventHandler.dispatchEvent(a.PlayerEvent.Metadata,t)}},this.onTimeChangedHandler=function(e){var t=n.segmentTimelineController.getPlayingSegment(e.relativeTime||e.time);t&&!t.consumed&&(t.consumed=!0,n.triggerMetadata(t),n.triggerSegmentPlayback(t))},this.onTimeShiftedHandler=function(){n.segmentTimelineController.reset()},this.onSeeked=function(){n.segmentTimelineController.reset()},this.registerVariantPlaylist=function(e){var t,r=n.parsePlaylist(e.body),o=null===(t=n.parsedManifest.playlists)||void 0===t?void 0:t.find((function(t){return e.url.includes(t.uri)}));if(n.isValidVariantPlaylist(r)&&o){var a=function(e){var t,r;return null!==(r=null===(t=n.parsedManifest.media)||void 0===t?void 0:t.some((function(t){return e.includes(t.attributes.URI||"")})))&&void 0!==r&&r};if(function(e){var t,r;return null!==(r=null===(t=n.parsedManifest.playlists)||void 0===t?void 0:t.some((function(t){return e.uri.includes(t.uri)&&!a(e.uri)})))&&void 0!==r&&r}(o)||function(e){var t,n;return null!==(n=null===(t=e.playlists)||void 0===t?void 0:t.every((function(e){return a(e.uri)})))&&void 0!==n&&n}(n.parsedManifest)){n.segmentTimelineController.switchTimeline(o.id),i.extrapolateProgramDateTime(r.segments),n.discontinuitySequences=i.createDiscontinuitySequences(r,n.discontinuitySequences);var u=function(e,t,n){for(var r,o=e.segments,a=o.some((function(e){return void 0!==e.dateTime})),s=0;s<o.length;s++){var u=o[s];if(u.variantPlaylistId=t,u.mediaSequenceNumber=e.mediaSequence+s,!a&&(null===(r=n.tweaks)||void 0===r?void 0:r.akamai_datetime_parsing)){var c=i.getProgramDateTimeFromSegmentUrl(u.uri,u.duration);c&&(u.dateTime=c)}}return o}(r,o.id,n.config);n.metadataParsedService.expirationTimeInSeconds=n.segmentTimelineController.updateTimeline(o.id,u);var c=n.segmentTimelineController.getCurrentTimeline();if(Boolean(u[0].dateTime)){var l=_.Util.timeInSeconds(u[0].dateTime);n.metadataService.removeUntil(l)}(0,s.extractDateRangeMetadata)(r.segments,(function(e){n.addDateRangeMetadata(e)}));var d=!(null==r?void 0:r.endList);return n.extractMetadataFromTimeline(c,d),r}}},i=f.ModuleManager.get(h.ModuleName.HLS).PlaylistUtils,this.settings=e.settings,this.config=e.config,this.eventHandler=e.eventHandler,this.originalManifest=null,this.metadataParsedService=e.serviceManager.get(o.ServiceName.MetadataParsedService),this.eventHandler.on(a.PlayerEvent.TimeChanged,this.onTimeChangedHandler),this.eventHandler.on(a.PlayerEvent.TimeShifted,this.onTimeShiftedHandler),this.eventHandler.on(a.PlayerEvent.Seeked,this.onSeeked),this.metadataService=new u.MetadataService(this.context,((t={})[c.TimedMetadataType.Manifest]=this.onManifestMetadata,t[c.TimedMetadataType.DateRange]=this.onManifestMetadata,t))}return e.prototype.triggerSegmentPlayback=function(e){var t={url:e.uri,uid:null,mimeType:"video/mp4",playbackTime:e.playbackTime,duration:e.duration,mediaInfo:{},dateTime:null};e.dateTime&&(t.dateTime=e.dateTime.toISOString()),e.customTags&&e.customTags.length>0&&(t.EXPERIMENTAL=t.EXPERIMENTAL||{},t.EXPERIMENTAL.hlsAttributes=e.customTags.map((function(e){return e.attributes}))),this.context.eventHandler.dispatchEvent(a.PlayerEvent.SegmentPlayback,t)},e.prototype.triggerMetadata=function(e){var t=this;e.metadata&&e.metadata.forEach((function(e){!function(e){return e.type.includes("CUE")}(e)?t.context.eventHandler.dispatchEvent(a.PlayerEvent.Metadata,{metadataType:e.type,metadata:e}):t.context.eventHandler.dispatchEvent(a.PlayerEvent.Metadata,{metadataType:a.MetadataType.CUETAG,metadata:e})}))},e.prototype.resolveMasterManifest=function(e){return this.parsedManifest?Promise.resolve(this.manifestUrl):(this.manifestUrl=e,this.downloadMasterManifest(e))},e.prototype.registerMasterManifest=function(e,t){this.originalManifest=e.body;var n=p.replaceManifestUrls(t,this.originalManifest,this.settings.QUERY_PARAMETERS);this.parsedManifest=this.parsePlaylist(n);var r=this.isValidMasterPlaylist(this.parsedManifest),i=this.isValidVariantPlaylist(this.parsedManifest);if(!r&&i){var o="#EXTM3U\n#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=100000\n$VARIANT$\n".replace("$VARIANT$",t);n=p.replaceManifestUrls(t,o,this.settings.QUERY_PARAMETERS),this.originalManifest=o,this.parsedManifest=this.parsePlaylist(n)}else r||(this.parsedManifest=null);return n},e.prototype.isValidMasterPlaylist=function(e){return null!=e&&"playlists"in e&&e.playlists.length>0},e.prototype.isValidVariantPlaylist=function(e){return null!=e&&"segments"in e&&e.segments.length>0},e.prototype.parsePlaylist=function(e){var t=f.ModuleManager.get(h.ModuleName.HLS).parsePlaylist;try{return t(e)}catch(e){return null}},e.prototype.addDateRangeMetadata=function(e){var t={metadataType:a.MetadataType.DATERANGE,metadata:e.data,start:e.startTime,end:e.endTime};this.addMetadata(t)},e.prototype.metadataToMetadataParsedEvent=function(e){return{metadataType:e.metadataType,metadata:e.metadata,data:e.metadata,start:e.start,end:e.end}},e.prototype.addMetadata=function(e){var t="DATERANGE"===e.metadataType?c.TimedMetadataType.DateRange:c.TimedMetadataType.Manifest;this.metadataService.addToMetadataParsedService(e.start,this.metadataToMetadataParsedEvent(e),l.DEFAULT_PERIOD_ID),this.metadataService.addToTimeline(t,e.start,e)},e.prototype.extractMetadataFromTimeline=function(e,t){var n=this;e.forEach((function(e){Object.values(r).forEach((function(r){e.hasOwnProperty(r)&&v(r,e,t).forEach((function(e){return n.addMetadata(e)}))}))}))},e.prototype.parseTimelineEntries=function(e){var t=this.parsePlaylist(e);return this.isValidVariantPlaylist(t)?t.segments.map((function(e){var t;return{uri:e.uri,duration:e.duration,discontinuity:null!==(t=e.discontinuity)&&void 0!==t&&t,dateTime:null,metadata:[],consumed:!1,playbackTime:-1,keys:[]}})):[]},e.prototype.getPlaybackTimeOfFirstSegmentInTimeline=function(e){for(var t=0;t<e.length;t++)for(var n=e[t],r=0,i=0;i<n.timeline.length;i++){for(var o=n.timeline[i],a=this.segmentTimelineController.getCurrentTimeline(),s=0;s<a.length;s++){var u=a[s];if(u.uri===o.uri)return u.playbackTime-r}r+=o.duration}return-1},e.prototype.getParsedManifest=function(){return this.parsedManifest},e.prototype.getManifest=function(){return this.originalManifest},e.prototype.detachEventHandlers=function(){this.eventHandler&&(this.eventHandler.off(a.PlayerEvent.TimeChanged,this.onTimeChangedHandler),this.eventHandler.off(a.PlayerEvent.TimeShifted,this.onTimeShiftedHandler),this.eventHandler.off(a.PlayerEvent.Seeked,this.onSeeked))},e.prototype.dispose=function(){this.detachEventHandlers(),this.segmentTimelineController&&(this.segmentTimelineController.dispose(),this.segmentTimelineController=null),this.metadataService&&(this.metadataService.dispose(),this.metadataService=null),this.parsedManifest=null,this.originalManifest=null,this.manifestUrl=null,this.settings=null,this.config=null,this.eventHandler=null},e}();function v(e,t,n){var i=n&&t.dateTime?(0,d.toSeconds)(t.dateTime.getTime()):t.playbackTime;switch(e){case r.CueTag:return[{metadataType:a.MetadataType.CUETAG,metadata:t[r.CueTag],start:i}];case r.Scte35:return[{metadataType:a.MetadataType.SCTE,metadata:t[r.Scte35],start:i}];case r.CustomTags:return[{metadataType:a.MetadataType.CUSTOM,metadata:t[r.CustomTags],start:i,end:i+t.duration}];default:return[]}}t.AbstractHlsManifestController=g},526:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AppleAirplayService=t.isAirplaySupported=void 0;var r,i=n(62510),o=n(46462);!function(e){e.Available="available",e.NotAvailable="not-available"}(r||(r={})),t.isAirplaySupported=function(){return Boolean(window.WebKitPlaybackTargetAvailabilityEvent)};var a=function(){function e(e,t){var n=this;this.videoElement=e,this.eventHandler=t,this.airplayAvailable=!1,this.onWebkitPlaybackTargetAvailabilityChanged=function(e){switch(e.availability){case r.Available:n.airplayAvailable=!0,n.eventHandler.dispatchEvent(i.PlayerEvent.AirplayAvailable);break;case r.NotAvailable:n.airplayAvailable=!1}},this.onWebkitPlaybackTargetIsWirelessChanged=function(){n.eventHandler.dispatchEvent(i.PlayerEvent.AirplayChanged,{airplayEnabled:n.isAirplayActive(),time:n.videoElement.currentTime})},this.initAirplay()}return e.prototype.initAirplay=function(){this.videoElement.setAttribute("x-webkit-airplay","allow"),this.videoElement.addEventListener(o.MediaElementEvent.webkitplaybacktargetavailabilitychanged,this.onWebkitPlaybackTargetAvailabilityChanged),this.videoElement.addEventListener(o.MediaElementEvent.webkitcurrentplaybacktargetiswirelesschanged,this.onWebkitPlaybackTargetIsWirelessChanged)},e.prototype.isAirplayAvailable=function(){return this.airplayAvailable},e.prototype.isAirplayActive=function(){return this.videoElement.isAirplayActive()},e.prototype.showAirplayTargetPicker=function(){this.isAirplayAvailable()&&(this.videoElement.webkitShowPlaybackTargetPicker(),this.eventHandler.dispatchEvent(i.PlayerEvent.ShowAirplayTargetPicker))},e.prototype.dispose=function(){this.videoElement.removeEventListener(o.MediaElementEvent.webkitplaybacktargetavailabilitychanged,this.onWebkitPlaybackTargetAvailabilityChanged),this.videoElement.removeEventListener(o.MediaElementEvent.webkitcurrentplaybacktargetiswirelesschanged,this.onWebkitPlaybackTargetIsWirelessChanged)},e}();t.AppleAirplayService=a},62545:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AssetAvailabilityChecker=void 0;var r=n(88005),i=n(67345),o=n(331),a=n(46462),s=function(){function e(e,t,n){var s=this;this.context=e,this.source=t,this.mediaElement=n,this.scheduleAvailabilityCheck=function(){s.mediaElement.removeEventListener(a.MediaElementEvent.loadstart,s.scheduleAvailabilityCheck);var e=(0,o.toMilliSeconds)(s.context.settings.XHR_TIMEOUT)/2;s.assetAvailabilityCheckTimeoutID=window.setTimeout((function(){s.context.logger.debug("Asset loading has not resolved after ".concat((0,o.toSeconds)(e),"s. Checking accessibility."));var t=!1;s.contentLoader=new r.DefaultContentLoader(s.context,{onProgress:function(e){var n;e.loadedBytes>0&&(t=!0,null===(n=s.contentLoader)||void 0===n||n.cancel())},requestType:i.HttpRequestType.INTERNAL}),s.contentLoader.load(s.source.src).catch((function(e){if(!t){s.context.logger.debug("Forcing error event as the asset was not accessible.",e);var n=new Event(a.MediaElementEvent.error,{bubbles:!1,cancelable:!1});s.source.dispatchEvent(n)}}))}),e)},n.addEventListener(a.MediaElementEvent.loadstart,this.scheduleAvailabilityCheck)}return e.prototype.dispose=function(){this.assetAvailabilityCheckTimeoutID&&window.clearTimeout(this.assetAvailabilityCheckTimeoutID),this.mediaElement.removeEventListener(a.MediaElementEvent.loadstart,this.scheduleAvailabilityCheck),this.contentLoader&&(this.contentLoader.cancel(),this.contentLoader.dispose())},e}();t.AssetAvailabilityChecker=s},70661:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackHlsManifestController=void 0;var i,o=n(63546),a=n(35148),s=n(62510),u=n(67345),c=n(331),l=n(91520),d=n(16368),_=n(77117),f=n(70539),h=n(9183),p=n(76250),g=function(e){function t(t){var n=e.call(this,t)||this;return n.onLoadPlaylistError=function(e){return n.context.logger.debug("Error while loading the playlist ",e),null},i=l.ModuleManager.get(d.ModuleName.HLS).PlaylistUtils,n.hlsDownloadService=new h.HlsDownloadService(n.context),n.segmentTimelineController=new f.FallbackSegmentTimelineController(t.videoElement),n}return r(t,e),t.prototype.init=function(){return Promise.resolve()},t.prototype.getDownloadedVideoData=function(){return{id:"not available",bitrate:0,height:0,width:0,isAuto:!0}},t.prototype.getPlayingVideoData=function(){return null},t.prototype.downloadMasterManifest=function(e){var t=this;return this.hlsDownloadService.downloadPlaylist(e,u.HttpRequestType.MANIFEST_HLS_MASTER).then((function(e){var n=t.registerMasterManifest(e,e.url),r=t.parsedManifest.playlists[0].uri;return t.registerFirstVariantPlaylist(r).then((function(r){return t.overrideManifestUrl(n,e.url,r)}))}))},t.prototype.registerFirstVariantPlaylist=function(e){var t=this;return this.hlsDownloadService.downloadPlaylist(e,u.HttpRequestType.MANIFEST_HLS_VARIANT).then(this.registerVariantPlaylist).then((function(n){return i.isLive(n)&&t.scheduleReload(n,e),n}))},t.prototype.overrideManifestUrl=function(e,t,n){return"createObjectURL"in window.URL?this.getManifestUrl(e,n):(this.context.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new o.PlayerWarning(a.WarningCode.SETUP_CREATE_OBJECT_URL_MISSING)),Promise.resolve(t))},t.prototype.getManifestUrl=function(e,t){var n=this;return i.isLive(t)?Promise.resolve(this.createDataUrlForManifest(e)):Promise.all(this.getMediaPlaylistPromises(e)).then((function(t){return t.filter((function(e){return Boolean(e)})).forEach((function(t){e=e.replace(t.mediaUrl,t.blobUrl)})),n.createDataUrlForManifest(e)}))},t.prototype.getMediaPlaylistPromises=function(e){var t=this;return e.split("\n").map((function(e){return p.parseUrlFromLine(e)})).filter((function(e){return null!==e})).map((function(e){return t.getMediaPlaylistBlobUrlMapping(e)}))},t.prototype.getMediaPlaylistBlobUrlMapping=function(e){var t=this;return this.hlsDownloadService.downloadPlaylist(e,u.HttpRequestType.MANIFEST_HLS_VARIANT).then((function(n){var r=p.replaceManifestUrls(e,n.body,t.settings.QUERY_PARAMETERS);return{blobUrl:t.createBlobForManifest(r),mediaUrl:e}})).catch(this.onLoadPlaylistError)},t.prototype.loadPlaylist=function(e){var t=this;return this.hlsDownloadService.downloadPlaylist(e.uri,u.HttpRequestType.MANIFEST_HLS_VARIANT).then((function(n){return{width:e.width,height:e.height,timeline:t.parseTimelineEntries(n.body)}})).catch(this.onLoadPlaylistError)},t.prototype.reload=function(e){var t=this;return function(){if(!t.hlsDownloadService)return function(){};t.hlsDownloadService.downloadPlaylist(e,u.HttpRequestType.MANIFEST_HLS_VARIANT,!1).then(t.registerVariantPlaylist).then((function(e){return i.isLive(e)&&t.scheduleReload(e,t.parsedManifest.playlists[0].uri),e})).catch(t.onLoadPlaylistError)}},t.prototype.scheduleReload=function(e,t){this.reloadTimerId=setTimeout(this.reload(t),(0,c.toMilliSeconds)(e.targetDuration))},t.prototype.createBlobForManifest=function(e){var t=new Blob([e],{type:"application/x-mpegURL"});return window.URL.createObjectURL(t)},t.prototype.createDataUrlForManifest=function(e){return"data:application/x-mpegURL,"+e.replace(/\n/g,"%0A").replace(/\r/g,"%0D")},t.prototype.getVariantPlaylistInfos=function(){return this.parsedManifest.playlists.map((function(e){return{uri:e.uri,width:e.attributes&&e.attributes.RESOLUTION?e.attributes.RESOLUTION.width:-1,height:e.attributes&&e.attributes.RESOLUTION?e.attributes.RESOLUTION.height:-1}}))},t.prototype.loadAllVariantPlaylists=function(){var e=this,t=this.getVariantPlaylistInfos();t.reverse();var n=t.map((function(t){return e.loadPlaylist(t)}));return Promise.all(n).then((function(t){var n=e.getPlaybackTimeOfFirstSegmentInTimeline(t);return n>=0&&t.forEach((function(e){e.timeline.reduce((function(e,t){return t.playbackTime=e,e+t.duration}),n)})),t}))},t.prototype.getCurrentSegments=function(e,t,n,r){return void 0===r&&(r=1),this.loadAllVariantPlaylists().then((function(i){var o=i.find((function(e){return e.width===t&&e.height===n}));return function(e,t,n){for(var r=[],i=0,o=0;o<e.length;o++){var a=e[o];i=0;for(var s=0;s<a.timeline.length;s++){var u=a.timeline[s];if(u.playbackTime+u.duration>=n&&(r.push(u.uri),i++),i>t)break}}return r}(o?[o]:i,r,e)}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),clearTimeout(this.reloadTimerId),this.reloadTimerId=null},t}(_.AbstractHlsManifestController);t.FallbackHlsManifestController=g},70539:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackSegmentTimelineController=void 0;var r=n(68329),i=function(){function e(e){this.videoElement=e,this.shouldCalculatePlaybackTimeForLive=!0,this.timelines={}}return e.prototype.isLiveStream=function(){return this.videoElement.duration===1/0},e.prototype.switchTimeline=function(e){this.timelines[e]||(this.currentActiveTimelineId=e,this.timelines[e]=[])},e.prototype.updateTimeline=function(e,t){var n=this,i=this.timelines[e],o=r.updateTimeline(i,t),a=o.findIndex((function(e){return e.hasOwnProperty("playbackTime")}));-1!==a&&r.populateCurrentTimelineWithPlaybackTime(o,a,o[a].playbackTime),this.timelines[e]=o;var s=o.reduce((function(e,t){return n.isLiveStream()&&!n.shouldCalculatePlaybackTimeForLive||(t.playbackTime=e),e+t.duration}),0);return this.shouldCalculatePlaybackTimeForLive&&(this.shouldCalculatePlaybackTimeForLive=!1),s},e.prototype.getPlayingSegment=function(e){for(var t=this.getCurrentTimeline(),n=0;n<t.length;n++){var r=t[n];if(e>=r.playbackTime&&e<=r.playbackTime+r.duration)return t[n]}return null},e.prototype.addDownloadedSegments=function(e){},e.prototype.getCurrentTimeline=function(){return this.timelines[this.currentActiveTimelineId]},e.prototype.getAllTimelines=function(){return this.timelines},e.prototype.reset=function(){this.timelines[this.currentActiveTimelineId].forEach((function(e){return e.consumed=!1}))},e.prototype.dispose=function(){this.timelines={},this.videoElement=null},e}();t.FallbackSegmentTimelineController=i},69860:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsDownloadErrorHandler=void 0;var r=n(25550),i=n(28764),o=n(88005),a=n(23234),s=n(67345),u=n(13533),c=n(46462),l=function(){function e(e,t){var n=this;this.fakeProgress=function(){for(var e=n.video.buffered,t="",r=0;r<e.length;r++)t+="".concat(e.start(r)," - ").concat(e.end(r),", ");t===n.lastProgressString?n.numProgressNotChanged++:n.numProgressNotChanged=0,n.numProgressNotChanged>=10&&n.onStalled(),n.lastProgressString=t},this.fakeWaiting=function(){var e=a.TimingUtil.getHiResTimestamp(),t=!n.video.paused&&!n.video.seeking&&!n.video.ended;e-n.lastTimeUpdateTimeStamp>5&&t&&n.onWaiting()},this.onStalled=function(){n.stalledTimeStamp=a.TimingUtil.getHiResTimestamp(),n.checkStalledState()},this.onProgress=function(){n.stalledTimeStamp=-1/0,clearTimeout(n.downloadErrorCheckTimeoutId)},this.onWaiting=function(){n.waitingEventTimeStamp=a.TimingUtil.getHiResTimestamp(),n.checkStalledState()},this.onTimeUpdate=function(){n.waitingEventTimeStamp=-1/0,n.lastTimeUpdateTimeStamp=a.TimingUtil.getHiResTimestamp(),clearTimeout(n.downloadErrorCheckTimeoutId)},this.checkForDownloadError=function(){if(0!==n.video.buffered.length){var e=n.video.currentTime,t=n.video.buffered.end(n.video.buffered.length-1),a=e<=t&&e+.5>t,u=n.video.paused,c=n.video.networkState===HTMLMediaElement.NETWORK_LOADING,l=n.video.videoWidth,d=n.video.videoHeight;!u&&a&&c&&n.manifestController.getCurrentSegments(t,l,d,2).then((function(e){var t=new o.DefaultContentLoader(n.context),a=function(n,r){return void 0===n&&(n=!0),e.length>0&&n?t.load(e.pop(),s.HttpRequestMethod.HEAD).then((function(e){return a(e.status>=200&&e.status<300,e)})):n?Promise.resolve():Promise.reject(r)};a().catch((function(e){var t=e.url,o=e.status,a=e.statusText;n.context.eventHandler.fireError(new i.PlayerError(r.ErrorCode.NETWORK_ERROR,{url:t,statusCode:o,statusText:a},"Failed to load segment ".concat(t,", statusCode: ").concat(o,", statusText: ").concat(a)))}))}))}},this.context=e,this.video=e.videoElement,this.manifestController=t,this.playbackAdvancing=!1,this.stalledTimeStamp=-1/0,this.waitingEventTimeStamp=-1/0,this.downloadErrorCheckTimeoutId=-1,this.lastProgressString="",this.numProgressNotChanged=0,this.lastTimeUpdateTimeStamp=-1/0,this.video.addEventListener(c.MediaElementEvent.waiting,this.onWaiting),this.video.addEventListener(c.MediaElementEvent.stalled,this.onStalled),this.video.addEventListener(c.MediaElementEvent.progress,this.onProgress),this.video.addEventListener(c.MediaElementEvent.timeupdate,this.onTimeUpdate),(0,u.getCapabilities)().isIOS&&(this.fakeEventsIntervalId=window.setInterval((function(){n.fakeProgress(),n.fakeWaiting()}),500))}return e.prototype.checkStalledState=function(){var e=Math.abs(this.waitingEventTimeStamp-this.stalledTimeStamp);clearTimeout(this.downloadErrorCheckTimeoutId),isFinite(e)&&(this.downloadErrorCheckTimeoutId=window.setTimeout(this.checkForDownloadError,1e3*(5-Math.min(5,e))))},e.prototype.dispose=function(){clearTimeout(this.fakeEventsIntervalId),clearTimeout(this.downloadErrorCheckTimeoutId),this.video.removeEventListener(c.MediaElementEvent.waiting,this.onWaiting),this.video.removeEventListener(c.MediaElementEvent.stalled,this.onStalled),this.video.removeEventListener(c.MediaElementEvent.progress,this.onProgress),this.video.removeEventListener(c.MediaElementEvent.timeupdate,this.onTimeUpdate),this.video=null,this.manifestController=null},e}();t.HlsDownloadErrorHandler=l},9183:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsDownloadService=void 0;var r=n(63546),i=n(35148),o=n(62510),a=n(88005),s=n(67345),u=function(){function e(e){var t=this;this.useCredentialsForManifestRequests=!1,this.downloadFailureHandler=function(e){t.context.eventHandler.dispatchEvent(o.PlayerEvent.Warning,new r.PlayerWarning(i.WarningCode.NETWORK_COULD_NOT_LOAD_MANIFEST)),t.context.logger.debug("Could not load manifest, got HTTP status code "+e.status)},this.context=e,this.init()}return e.prototype.init=function(){this.initCache(),this.initUseCredentialsForManifest()},e.prototype.initCache=function(){this.requestCache={}},e.prototype.initUseCredentialsForManifest=function(){var e=this.context.sourceContext.source&&this.context.sourceContext.source.options||{};this.useCredentialsForManifestRequests="boolean"==typeof e.hlsManifestWithCredentials?e.hlsManifestWithCredentials:!0===e.manifestWithCredentials},e.prototype.downloadPlaylist=function(e,t,n){return void 0===n&&(n=!0),n&&this.requestCache.hasOwnProperty(e)?Promise.resolve(this.requestCache[e]):this.download(t,e)},e.prototype.download=function(e,t){var n=this,r=this.getContentLoader(e);return r.load(t,s.HttpRequestMethod.GET,s.HttpResponseType.TEXT,null,{},this.useCredentialsForManifestRequests).then((function(e){return r.dispose(),n.requestCache[t]=e,e})).catch((function(e){return r.dispose(),Promise.reject(e)}))},e.prototype.getContentLoader=function(e){return new a.DefaultContentLoader(this.context,{onFailure:this.downloadFailureHandler,maxRetries:this.context.settings.MAX_MPD_RETRIES,requestType:e})},e.prototype.dispose=function(){},e}();t.HlsDownloadService=u},60012:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsLiveNativeTimeTracker=void 0;var r=n(15539),i=n(331),o=n(54838),a=n(46462),s=function(){function e(e,t){this.nativePlayer=e,this.context=t,this.timeAdjustment=0,this.unloadTimestamp=null,this.startDate=null}return e.prototype.onUnload=function(e){e===r.ADVERTISING_ISSUER_NAME&&this.context.settings.RESUME_LIVE_CONTENT_AT_PREVIOUS_POSITION_AFTER_AD_BREAK&&null==this.unloadTimestamp&&(this.nativePlayer.isLive()?(this.unloadTimestamp=Date.now(),this.timeAdjustment=this.nativePlayer.getSeekableRange().start,this.startDate=this.nativePlayer.getStartDate()):this.reset())},e.prototype.reset=function(){this.unloadTimestamp=null,this.timeAdjustment=0,this.startDate=null},e.prototype.adjustTargetTime=function(e,t){var n=this;return t!==r.ADVERTISING_RESTORE_ISSUER_NAME||null==this.unloadTimestamp?(this.context.logger.debug("No adjustments are made",this.unloadTimestamp),Promise.resolve(e)):(null!=this.startDate?this.waitForStartDate():Promise.resolve(null)).then((function(t){if(null!=t){n.context.logger.debug("StartDate progressed from ".concat(n.startDate," to: ").concat(t," during the ad"));var r=o.Util.timeInSeconds(t)-o.Util.timeInSeconds(n.startDate);n.timeAdjustment=r}else{n.context.logger.debug("Adjusting time based on seekable range");var a=(0,i.toSeconds)(Date.now()-n.unloadTimestamp);n.timeAdjustment+=a}var s=e-n.timeAdjustment;return n.context.logger.debug("Adjusting target time from ".concat(e," by ").concat(n.timeAdjustment," to ").concat(s)),n.reset(),s}))},e.prototype.waitForStartDate=function(){var e=this,t=this.getValidDateTime();return t?Promise.resolve(t):new Promise((function(t){var n=null,r=function(){t(e.getValidDateTime()),e.context.videoElement.removeEventListener(a.MediaElementEvent.loadeddata,r),clearTimeout(n)};e.context.logger.debug("Waiting for video.startDate to be valid"),e.context.videoElement.addEventListener(a.MediaElementEvent.loadeddata,r),n=setTimeout(r,2e3)}))},e.prototype.getValidDateTime=function(){var e=this.nativePlayer.getStartDate();return e&&!isNaN(e.getTime())?e:null},e}();t.HlsLiveNativeTimeTracker=s},91229:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createHlsManifestController=function(e){if(s(e)){var t=new(r.ModuleManager.get(i.ModuleName.ServiceWorkerClient).createServiceWorkerHlsManifestController(o.AbstractHlsManifestController))(e);return t.init().then((function(){return t})).catch((function(){return u(e)}))}return u(e)},t.shouldUseServiceWorker=s;var r=n(91520),i=n(16368),o=n(77117),a=n(70661);function s(e){var t=e.config.location&&e.config.location.serviceworker;return"serviceWorker"in navigator&&t&&r.ModuleManager.has(i.ModuleName.ServiceWorkerClient)}function u(e){var t=new a.FallbackHlsManifestController(e);return t.init().then((function(){return t}))}},76250:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.replaceManifestUrls=function(e,t,n){var r=t.split(/\r?\n/);return r.forEach((function(t,s){var u=o(t);if(u&&t.match(i)){var c=a(e,u,n);r[s]=t.replace(i,(function(){return'URI="'.concat(c,'"')}))}else u&&(r[s]=a(e,u,n))})),r.join("\n")},t.parseUrlFromLine=o,t.replaceUrlAndAddUriParams=a;var r=n(76885),i=/URI="([^"]+)"/;function o(e){if("#"!==e[0]&&e.trim().length>0)return e;if(e.indexOf("URI")>-1){var t=e.match(i);if(t&&t[1].indexOf("skd://")<0&&t[1].indexOf("skds://")<0)return t[1]}return null}function a(e,t,n){var i=r.URLHelper.concatBaseUrlWithPartial(e,t);return r.URLHelper.appendQueryParametersToUrl(i,n)}},42966:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativeModuleDefinition=void 0;var r=n(16368),i=n(72273),o=n(96926);t.NativeModuleDefinition={name:r.ModuleName.EngineNative,module:{NativePlayer:i.NativePlayer,technologyChecker:new o.TechnologyChecker}},t.default=t.NativeModuleDefinition},72273:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.NativePlayer=void 0;var o=n(92712),a=n(25550),s=n(28764),u=n(63546),c=n(35148),l=n(18665),d=n(60997),_=n(62510),f=n(57620),h=n(15539),p=n(88005),g=n(16937),v=n(33696),m=n(17990),y=n(58975),b=n(13533),S=n(3464),E=n(81361),$=n(43485),T=n(10981),A=n(79814),C=n(331),P=n(70016),I=n(76885),w=n(54838),M=n(61878),k=n(46462),O=n(91520),R=n(16368),D=n(67345),L=n(43485),x=n(526),N=n(62545),U=n(69860),B=n(60012),F=n(91229),j=n(55194),H="not available",V=.75,W=function(){function e(e){var t=this;this.numTimeChanged=0,this.loaded=!1,this.audio=null,this.ended=!1,this.ignoreNextVideoError=!1,this.controlPermitted=!0,this.seekingTimeoutId=-1,this.nativeSeekCalled=!1,this.isIllicitlySeeking=!1,this.ignoreNextDelta=!1,this.numSeekingCalled=0,this.timeShiftJumpStartPosition=-1,this.seekTargetTime=-1,this.textTrackController=null,this.lastPlayIssuer="api",this.lastPauseIssuer="api",this.lastSeekIssuer="api",this.sourceLoadRetryCount=0,this.lastVerifiedPlaybackPosition=-1,this.lastLegalPlaybackPosition=0,this.restrictedInlinePlayback=!1,this.lastTime=0,this.availableVideoStreams=[],this.allowedToThrowEvents=!0,this.hasSourceBeenLoaded=!1,this.hasDataBeenLoaded=!1,this.sourceElementEventListeners=[],this.restoringPlaybackPosAfterQualitySwitch=!1,this.isInitialSeek=!1,this.lastDelayedSeekHandlers={},this.isProgressiveQualityChange=!1,this.isSourceBeingRedirected=!1,this.isInNativeFullscreen=!1,this.onAddTrack=function(e){if(t.isReady()){var n=e.track;t.eventCallback(_.PlayerEvent.AudioAdded,{track:t.convertAudioTrackNativeToApi(n)}),n.enabled&&t.loaded&&t.dispatchAudioChangedEvent(null,n)}},this.onRemoveTrack=function(e){t.isReady()&&t.eventCallback(_.PlayerEvent.AudioRemoved,{track:t.convertAudioTrackNativeToApi(e.track)})},this.onWebkitPresentationModeChanged=function(){var e,n,r=t.video.getViewModeFromPresentationMode();r===v.ViewMode.PictureInPicture||r===v.ViewMode.Fullscreen&&(0,b.getCapabilities)().isIOS?null===(e=t.textTrackController)||void 0===e||e.enableNative():null===(n=t.textTrackController)||void 0===n||n.disableNative(),t.context.store.dispatch((0,m.setPlayerViewMode)(r))},this.onDurationChange=function(){(0,f.maybeFireDurationChangedEvent)(t.lastDuration,t.getDuration(),t.eventHandler),t.lastDuration=t.getDuration(),t.hasDataBeenLoaded&&t.maybeResolveDeferredLoading()},this.videoOnPlay=function(){t.stateManager.stallExit(),t.restrictedInlinePlayback&&t.audio&&t.setVideoTime(),t.ended=!1,t.stateManager.transitionToPlayState(!0,t.lastPlayIssuer)},this.videoOnPlaying=function(){t.stateManager.isStalled?(t.stateManager.stallExit(),t.stateManager.transitionToPlayingState(t.lastPlayIssuer)):t.stateManager.isStopped()?t.onPlaybackStarted():t.stateManager.isPlaying()||(t.stateManager.transitionToPlayState(!0,t.lastPlayIssuer),t.stateManager.transitionToPlayingState(t.lastPlayIssuer))},this.loadedDataHandler=function(){var e;clearTimeout(t.loadedDataFallbackTimeoutID),null===(e=t.assetAvailabilityChecker)||void 0===e||e.dispose(),t.hasSourceBeenLoaded||clearTimeout(t.loadTimeoutID),t.hasSourceBeenLoaded=!0,t.isProgressiveQualityChange=!1,t.allowedToThrowEvents=!0,t.hasDataBeenLoaded=!0,t.maybeResolveDeferredLoading()},this.eventCallback=function(e,n,r,i){void 0===n&&(n={}),void 0===r&&(r=!1),void 0===i&&(i=!1),t.eventHandler&&(t.allowedToThrowEvents||r)&&t.eventHandler.dispatchEvent(e,n,i)},this.onTimeUpdate=function(e){var n=t.getElement(),r=n.currentTime;(-1!==t.lastVerifiedPlaybackPosition||r!==t.lastVerifiedPlaybackPosition)&&!t.isIllicitlySeeking&&(t.isIllegalSeek(r)?(Promise.resolve(t.video.play()).catch((function(e){t.logger.insane("Play promise rejected:",e)})),t.ignoreNextDelta=!0,n.currentTime=t.lastLegalPlaybackPosition):t.handleTimeUpdateEvent(n,r),t.nativeSeekCalled=!1,t.currentVideoStream&&(t.currentVideoStream.width=t.video.videoWidth,t.currentVideoStream.height=t.video.videoHeight))},this.onPlaybackStarted=function(){t.isPlaying()||(t.ended=!1,t.startManifestTimeoutTimer(),t.stateManager.transitionToPlayingState(t.lastPlayIssuer))},this.onContentPlaybackFinished=function(){t.ended=!0},this.getCurrentTime=function(e){void 0===e&&(e=v.TimeMode.AbsoluteTime);var n=t.getStartDate();return e===v.TimeMode.AbsoluteTime&&n?w.Util.timeInSeconds(n)+t.getElement().currentTime:t.getElement().currentTime},this.getAudioQuality=this.getPlaybackAudioData,this.getVideoQuality=this.getPlaybackVideoData,this.videoOnEnded=function(){var e,n=t.getElement(),r=Math.abs(n.currentTime-t.lastLegalPlaybackPosition),i=t.settings.GLOBAL_DISABLE_SEEKING,o=null!==(e=t.currentDuration)&&void 0!==e?e:n.duration;i&&(r>V||n.currentTime<o-V)?(Promise.resolve(t.video.play()).catch((function(e){t.logger.insane("Play promise rejected:"+e)})),t.ignoreNextDelta=!0,t.video.currentTime=t.lastLegalPlaybackPosition):(t.lastLegalPlaybackPosition=0,t.stateManager.isPlaying()&&t.stateManager.transitionToPausedState(!0,t.lastPauseIssuer),t.stateManager.transitionToStoppedState())},this.videoOnSeeked=function(){t.resetTimeShift(),t.numSeekingCalled=0,!t.settings.GLOBAL_DISABLE_SEEKING||t.restoringPlaybackPosAfterQualitySwitch||t.isInitialSeekToStartTime?(t.lastVerifiedPlaybackPosition=t.getElement().currentTime,t.isInitialSeekToStartTime=!1,t.stateManager.isSeeking()&&(t.textTrackController&&t.textTrackController.seek(),t.maybeHandleSeekTargetChangeDuringStartup())):t.isIllicitlySeeking=!1,t.finishedSeekedTransitionState()},this.videoOnSeeking=function(){if(t.settings.GLOBAL_DISABLE_SEEKING&&!t.isInitialSeekToStartTime)t.isIllicitlySeeking=!t.restoringPlaybackPosAfterQualitySwitch,t.numSeekingCalled++,t.numSeekingCalled>1&&(t.ignoreNextDelta=!1);else if(!t.stateManager.isSeeking()&&!t.stateManager.isTimeShifting()){var e=t.getElement().currentTime;t.stateManager.transitionToSeekingIOSState(e,h.INTERNAL_ISSUER_NAME),t.lastVerifiedPlaybackPosition=e}},this.onTimeChanged=function(){void 0===t.maxTimeShift&&(t.maxTimeShift=t.getElement().currentTime)},this.delayedSeek=function(){t.numTimeChanged++,t.numTimeChanged<t.settings.IOS_MIN_TIMEUPDATES_AFTER_AD||(t.eventHandler.off(_.PlayerEvent.TimeChanged,t.delayedSeek),t.restoringPlaybackPosAfterQualitySwitch=!0,t.triggerSeek({time:t.currentTimeWas,issuer:"api",force:!0}))},this.context=e,this.isAtLiveEdge=!1,this.logger=e.logger,this.video=e.videoElement,this.config=e.config,this.eventHandler=e.eventHandler,this.settings=e.settings,this.hlsSeekingGlitchEventHandlers=[],this.downloadErrorHandler=null,this.currentVol=this.video.volume,this.originalCrossOriginAttributeValue=this.video.getAttribute("crossOrigin"),this.currentTimeShift=-1/0,(0,x.isAirplaySupported)()&&(this.airplayService=new x.AppleAirplayService(this.video,this.eventHandler)),this.hlsLiveTimeTracker=new B.HlsLiveNativeTimeTracker(this,e),this.elementEvents=[{event:k.MediaElementEvent.pause,handler:function(){t.resetTimeShift(),t.ended||t.stateManager.transitionToPausedState(!0,t.lastPauseIssuer,!0)}},{event:k.MediaElementEvent.ended,handler:function(){t.videoOnEnded()}},{event:k.MediaElementEvent.play,handler:this.videoOnPlay},{event:k.MediaElementEvent.canplay,handler:function(){t.stateManager.stallExit()}},{event:k.MediaElementEvent.seeking,handler:function(){t.nativeSeekCalled=!0,t.videoOnSeeking(),t.getCurrentTime()>=t.getDuration()&&(t.videoOnSeeked(),t.videoOnEnded())}},{event:k.MediaElementEvent.seeked,handler:function(){t.videoOnSeeked(),t.restrictedInlinePlayback&&t.audio&&t.setVideoTime()}},{event:k.MediaElementEvent.durationchange,handler:this.onDurationChange},{event:k.MediaElementEvent.loadeddata,handler:this.loadedDataHandler},{event:k.MediaElementEvent.loadedmetadata,handler:function(){t.loadedDataFallbackTimeoutID=window.setTimeout(t.loadedDataHandler,200)}},{event:k.MediaElementEvent.playing,handler:this.videoOnPlaying},{event:k.MediaElementEvent.waiting,handler:function(){t.resetTimeShift(),t.stateManager.stallEnter()}},{event:k.MediaElementEvent.timeupdate,handler:this.onTimeUpdate},{event:k.MediaElementEvent.error,handler:function(e){t.hasSourceBeenLoaded||1!==t.availableVideoStreams.length||t.type!==v.StreamType.Progressive?(t.loadingDeferred.reject(),t.ignoreNextVideoError?(t.logger.debug("Ignoring video element error",e.errorObject),t.ignoreNextVideoError=!1):(t.logger.debug("video element has thrown an error",e.errorObject),clearTimeout(t.loadTimeoutID),t.eventHandler.fireError((0,f.createPlayerErrorFromMediaError)(e,!0)))):t.handleStreamErrorEvent(a.ErrorCode.SOURCE_PROGRESSIVE_STREAM_ERROR,t.video.getWrappedElement().src,e)}},{event:k.MediaElementEvent.webkitpresentationmodechanged,handler:this.onWebkitPresentationModeChanged},{elementSelector:function(e){return e.audioTracks},event:"addtrack",handler:this.onAddTrack},{elementSelector:function(e){return e.audioTracks},event:"removetrack",handler:this.onRemoveTrack}]}return e.prototype.shouldAwaitDurationAvailability=function(){return!(0,$.isWebOS)()&&!this.getDuration()},e.prototype.shouldAwaitSeekableRange=function(){var e,t;if(!this.isHlsLive()||(null===(t=null===(e=this.config)||void 0===e?void 0:e.tweaks)||void 0===t?void 0:t.prevent_video_element_preloading)||(0,$.isWebOS)()||this.isSourceBeingRedirected)return!1;var n=this.video.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA;return!G(this.getElement().seekable)&&!n},e.prototype.maybeResolveDeferredLoading=function(){this.shouldAwaitDurationAvailability()||this.shouldAwaitSeekableRange()?this.logger.debug("Cannot resolve deferred loading yet, waiting for required data to be loaded ",{duration:String(this.getDuration()),seekableRangeAvailable:G(this.getElement().seekable),videoElementReadyState:this.getElement().readyState}):this.loadingDeferred.resolve()},e.prototype.handleTimeUpdateEvent=function(e,t){if(this.ignoreNextDelta=!1,this.currentDuration=e.duration,t>this.currentDuration+2)return this.context.logger.debug("CurrentTime ".concat(t," exceeds video duration (").concat(this.currentDuration,"), reverting current time")),void(e.currentTime=this.currentDuration-.1);this.lastLegalPlaybackPosition=t,this.stateManager.stallExit(),this.stateManager.isSeeking()||this.stateManager.isTimeShifting()||!this.isPlaying()||(null!=this.getStartDate()?this.eventCallback(_.PlayerEvent.TimeChanged,{time:this.getCurrentTime(),relativeTime:t}):this.eventCallback(_.PlayerEvent.TimeChanged,{time:this.getCurrentTime()}))},e.prototype.isIllegalSeek=function(e){if(!this.settings.GLOBAL_DISABLE_SEEKING||!this.nativeSeekCalled)return!1;var t=-1!==this.lastVerifiedPlaybackPosition&&e>this.lastVerifiedPlaybackPosition+V,n=Math.abs(e-this.lastLegalPlaybackPosition);return(!this.ignoreNextDelta||t)&&n>V},e.prototype.getElement=function(){return this.restrictedInlinePlayback&&this.audio?this.audio:this.video},e.prototype.setVideoTime=function(){var e=Date.now();(0,C.toSeconds)(e-this.lastTime)>=1/30&&(this.video.currentTime=this.audio.currentTime,this.lastTime=e),this.isPlaying()&&window.requestAnimationFrame(this.setVideoTime)},e.prototype.maybeGoToLiveEdgeOnPlay=function(){if(this.isLive()&&!this.isTimeShiftingAllowed()){var e=this.getSeekableRangeInternal();e.end>=0&&this.seekForLive(e.end,h.STARTUP_ISSUER_NAME)}},e.prototype.resolveDelayedSeek=function(){void 0!==this.delayedSeekTarget&&(this.clearDelayedSeekHandlers(),this.seek(this.delayedSeekTarget,"api-play"))},e.prototype.play=function(e){return this.controlPermitted?(this.lastPlayIssuer=e,this.resolveDelayedSeek(),this.maybeGoToLiveEdgeOnPlay(),this.getElement().play()):Promise.reject("Play control not permitted")},e.prototype.getStartDate=function(){if(!this.isLive())return null;var e=this.getElement().getWrappedElement(),t="function"==typeof e.getStartDate?e.getStartDate():null;return t&&!isNaN(t.getTime())?t:null},e.prototype.preload=function(){this.getElement().preload="auto"},e.prototype.pause=function(e){this.lastPauseIssuer=e;var t=this.getElement();this.controlPermitted&&this.loaded&&(this.stateManager.transitionToPausedState(!1,this.lastPauseIssuer),t.pause())},e.prototype.mute=function(e){this.getElement().muted||(this.getElement().muted=!0,this.eventCallback(_.PlayerEvent.Muted,{issuer:e||"api"}))},e.prototype.unmute=function(e){this.getElement().muted&&(this.getElement().muted=!1,this.eventCallback(_.PlayerEvent.Unmuted,{issuer:e||"api"}))},e.prototype.getActualSeekTarget=function(e){var t=this.getStartDate();return t?e-(0,C.toSeconds)(t.getTime()):e},e.prototype.seek=function(e,t){var n=this;return!(!this.isSeekingAllowed(e)||this.getCurrentTime()===e)&&(this.hlsLiveTimeTracker.adjustTargetTime(e,t).then((function(e){n.lastSeekIssuer=t,n.triggerSeekEvent(e,t);var r=n.getActualSeekTarget(e);return n.triggerSeek({time:r,issuer:t})})),this.hasDataBeenLoaded&&this.getDuration()>0)},e.prototype.seekForLive=function(e,t){this.timeShiftJumpStartPosition=this.getCurrentTime(),this.lastSeekIssuer=t,this.triggerTimeShiftEvent(e,t),this.triggerSeekForLive({time:e,issuer:t})},e.prototype.isSeekingAllowed=function(e){this.isInitialSeekToStartTime=this.isInitialSeek&&this.hasStartTime(e);var t=!this.settings.GLOBAL_DISABLE_SEEKING&&this.isSeekingEnabled();return(this.isInitialSeekToStartTime||t)&&this.controlPermitted},e.prototype.isTimeShiftingAllowed=function(){var e=!(this.config.playback&&this.config.playback.hasOwnProperty("timeShift"))||Boolean(this.config.playback.timeShift);return this.isLive()&&e},e.prototype.triggerSeek=function(e){return!this.maybeDelaySeek(e)&&(this.stateManager.transitionToSeekingState(e.time,e.issuer,!1),this.finishSeek(e),!0)},e.prototype.triggerSeekForLive=function(e){this.maybeDelaySeek(e,!0)||(this.stateManager.transitionToTimeShiftingState(this.getCurrentTime(),e.time,e.issuer,!1),e.time<0&&(e.time=this.getSeekableRangeInternal().end+e.time,this.resetTimeShift()),this.finishSeek(e))},e.prototype.maybeDelaySeek=function(e,t){return void 0===t&&(t=!1),this.stateManager.isSeeking()&&"api-play"!==e.issuer?(this.logger.debug("Seeking already in progress, delaying seek for time",e.time),this.scheduleDelayedSeek(e,t,[k.MediaElementEvent.seeked]),!0):this.hasDataBeenLoaded?0===this.getDuration()?(this.logger.debug("Delaying the seek until stream duration is known"),this.scheduleDelayedSeek(e,t,[k.MediaElementEvent.durationchange]),!0):this.video.seekable.length<1&&(this.logger.debug("Delaying the seek as the seekable range is not yet known"),this.scheduleDelayedSeek(e,t,[k.MediaElementEvent.timeupdate,k.MediaElementEvent.canplay]),!0):(this.logger.debug("Delaying the seek until data is loaded"),this.scheduleDelayedSeek(e,t,[k.MediaElementEvent.loadeddata]),!0)},e.prototype.finishSeek=function(e){var t=e.issuer===h.ADVERTISING_ISSUER_NAME,n=this.getSeekableRangeInternal();this.logger.debug("Seek to ".concat(e.time,", seekable range:"),n);var r=this.adjustSeekTimeForBoundaries(e.time,n,t);this.isInitialSeek=!1,this.ignoreNextDelta=this.ignoreNextDelta||this.isInitialSeekToStartTime||e.force;var i=parseFloat(r.toFixed(2));this.seekTargetTime=i,this.logger.debug("Setting time on video element from ".concat(this.getElement().currentTime," to ").concat(i)),this.getElement().currentTime=i},e.prototype.adjustSeekTimeForBoundaries=function(e,t,n){void 0===n&&(n=!1);var r=q(e,t);return n?e>=t.end&&(r=t.end-.1):r=Math.min(r,t.end-this.settings.SEEK_TO_END_OFFSET),r!==e&&this.logger.debug("Adjusted seek target from ".concat(e," to ").concat(r)),r},e.prototype.isSeekingEnabled=function(){var e=this.config&&this.config.hasOwnProperty("playback")?this.config.playback:{};return!e.hasOwnProperty("seeking")||e.seeking},e.prototype.hasStartTime=function(e){var t=this.context.sourceContext.source?this.context.sourceContext.source:{};return t.hasOwnProperty("options")&&t.options.hasOwnProperty("startTime")&&e===t.options.startTime},e.prototype.triggerSeekEvent=function(e,t){t!==h.STARTUP_ISSUER_NAME&&this.eventCallback(_.PlayerEvent.Seek,{position:this.getCurrentTime(),seekTarget:e,issuer:t||"api"})},e.prototype.triggerTimeShiftEvent=function(e,t){t!==h.STARTUP_ISSUER_NAME&&this.eventCallback(_.PlayerEvent.TimeShift,{target:e<0?this.timeShiftJumpStartPosition+e:e,position:this.timeShiftJumpStartPosition,issuer:t||"api"})},e.prototype.waitForOnSeeked=function(e){var t=this;return new Promise((function(n){var r=function(){e.removeEventListener(k.MediaElementEvent.seeked,r),n()};t.hlsSeekingGlitchEventHandlers.push({el:e,ev:k.MediaElementEvent.seeked,fn:r}),e.addEventListener(k.MediaElementEvent.seeked,r)}))},e.prototype.waitForOnProgress=function(e,t){var n=this;return new Promise((function(r,i){var o=0,a=function(){var s=e.buffered,u=s.length>0?s.end(s.length-1):-1/0;(o+=isFinite(u)?1:0)>n.settings.SAFARI_NUM_PROGRESS_EVENTS_AFTER_SEEK_GLITCH&&u<t?(e.removeEventListener(k.MediaElementEvent.progress,a),i(null)):u>=t&&(e.removeEventListener(k.MediaElementEvent.progress,a),r())};n.hlsSeekingGlitchEventHandlers.push({el:e,ev:k.MediaElementEvent.progress,fn:a}),e.addEventListener(k.MediaElementEvent.progress,a)}))},e.prototype.verifyHLSPlaybackBuffer=function(e,t){var n=this;return this.type!==v.StreamType.Hls?Promise.resolve():this.waitForOnSeeked(e).then((function(){return n.waitForOnProgress(e,t)})).catch((function(){throw n.logger.debug("seek to target time (".concat(t,") failed - trying to recover by seeking to ").concat(t+1)),null}))},e.prototype.clearDelayedSeekHandlers=function(){var e=this;Object.keys(this.lastDelayedSeekHandlers).forEach((function(t){e.getElement().removeEventListener(t,e.lastDelayedSeekHandlers[t])})),this.lastDelayedSeekHandlers={}},e.prototype.scheduleDelayedSeek=function(e,t,n){var r=this,i=this.getElement();this.clearDelayedSeekHandlers(),this.delayedSeekTarget=e.time;var o=function(n){r.clearDelayedSeekHandlers();var a={time:(0,P.isNumber)(n)?n:e.time,issuer:e.issuer,force:e.force};r.verifyHLSPlaybackBuffer(i,e.time).catch((function(){return o(e.time+1)})),r.delayedSeekTarget=void 0,t?r.triggerSeekForLive(a):r.triggerSeek(a)};n.forEach((function(e){i.addEventListener(e,o),r.lastDelayedSeekHandlers[e]=o}))},e.prototype.setAudio=function(e){var t=E.ArrayHelper.toArray(this.video.audioTracks).find((function(t){return t.id===e}));t&&this.enableAudioTrack(t)},e.prototype.dispatchAudioChangedEvent=function(e,t){this.eventCallback(_.PlayerEvent.AudioChanged,{targetAudio:{id:t.id,label:t.label,lang:t.language},sourceAudio:e,time:this.video.currentTime})},e.prototype.enableAudioTrack=function(e){if(!e.enabled){var t=E.ArrayHelper.toArray(this.video.audioTracks).find((function(e){return e.enabled})),n=null;t&&(t.enabled=!1,n=this.convertAudioTrackNativeToApi(t)),e.enabled=!0,this.dispatchAudioChangedEvent(n,e)}},e.prototype.setVolume=function(e,t){var n=this.getElement(),r=this.currentVol,i=Math.min(e/100,1);r!==i&&(this.currentVol=i,n.volume=i,this.eventCallback(_.PlayerEvent.VolumeChanged,{targetVolume:100*i,sourceVolume:100*r,issuer:t||"api"}))},e.prototype.startManifestTimeoutTimer=function(){var e=this;clearTimeout(this.loadTimeoutID),this.hasSourceBeenLoaded||(this.loadTimeoutID=setTimeout((function(){e.loadTimeoutID=null,!e.hasSourceBeenLoaded&&e.eventHandler&&(e.type===v.StreamType.Hls?e.eventHandler.fireError(new s.PlayerError(a.ErrorCode.NETWORK_MANIFEST_DOWNLOAD_TIMEOUT,{sourceUrl:e.sourceConfig.url},"Failed to load the HLS playlist: the request timed out.")):e.type===v.StreamType.Progressive&&e.eventHandler.fireError(new s.PlayerError(a.ErrorCode.NETWORK_PROGRESSIVE_STREAM_DOWNLOAD_TIMEOUT,{sourceUrl:e.sourceConfig.url},"Failed to load the progressive source: the request timed out.")))}),(0,C.toMilliSeconds)(this.settings.XHR_TIMEOUT/2)))},e.getContentDomain=function(e){var t=document.createElement("a");return t.href=e,""===t.host&&(t.href=t.href),t.hostname},e.prototype.trackLoading=function(e){var t;(0,$.isTizen)()&&(null===(t=this.assetAvailabilityChecker)||void 0===t||t.dispose(),this.assetAvailabilityChecker=new N.AssetAvailabilityChecker(this.context,e,this.video))},e.prototype.prepareLoad=function(){return Promise.resolve()},e.prototype.load=function(t,n,r){var i=this;this.stateManager=this.context.serviceManager.get(l.ServiceName.PlayerStateService),this.stateManager.transitionToSeekedState(!1),this.video.setAttribute("preload","metadata"),this.type=this.context.sourceContext.technology.streaming,this.sourceConfig=t,t.type&&(this.type=t.type),!0===this.loaded&&this.unload().catch((function(){})),this.hasSourceBeenLoaded=!1,this.hasDataBeenLoaded=!1,this.getElement().nativeMediaEventListener.reset(),this.isInitialSeek=!0,this.ignoreNextVideoError=!1,this.sourceLoadRetryCount=0,this.delayedSeekTarget=void 0,this.isSourceBeingRedirected=!1,t.hasOwnProperty("vr")&&t.vr&&Boolean(t.vr.restrictedInlinePlayback)?(this.restrictedInlinePlayback=!0,this.audio=w.Util.getVRAudioElement(),this.addEventListeners(this.audio)):(this.audio=null,this.restrictedInlinePlayback=!1,this.addEventListeners(this.video)),this.eventHandler.on(_.PlayerEvent.TimeChanged,this.onTimeChanged),this.unsubscribeFromStoreStoppedListener=(0,S.subscribe)(this.context.store)((function(e){return(0,y.getIsStopped)((0,y.getPlayerState)(e))}),this.onContentPlaybackFinished,(function(e){return!0===e})),this.settings.GLOBAL_DISABLE_SEEKING=n||!1,this.seekingTimeoutId>-1&&(clearTimeout(this.seekingTimeoutId),this.seekingTimeoutId=-1);var o="";t&&t.url&&("string"==typeof t.url?o=t.url:t.url.length>0&&(o=t.url[0].url));var a=window.location.hostname===e.getContentDomain(o);t.hasOwnProperty("vr")&&Boolean(t.vr)&&!a&&(this.originalCrossOriginAttributeValue=this.video.getAttribute("crossOrigin"),this.video.setAttribute("crossOrigin","anonymous")),this.video.eventHandler.reset(),this.isProgressiveQualityChange||(this.textTrackController=this.createTextTrackController()),this.loadingDeferred=new T.Deferred;var s=this.loadSource(t,r);return this.loadingDeferred.promise.then((function(){i.context.sourceContext.source=t.config})).then((function(){return s})).then((function(){return i.initializeLoadedState(t)}))},e.prototype.maybeHandleRedirectedSource=function(e){var t=this;(0,L.isSafari17orIOS17)()&&fetch(e.url,{method:D.HttpRequestMethod.GET,headers:{Range:"bytes=0-0"}}).then((function(e){e.redirected&&(t.logger.debug("Detected source redirection."),t.hasDataBeenLoaded&&t.loadingDeferred.resolve(),t.isSourceBeingRedirected=!0)})).catch((function(){}))},e.prototype.loadSource=function(e,t){var n=this;return this.type===v.StreamType.Hls?(this.maybeHandleRedirectedSource(e),this.loadHls(e)):this.type===v.StreamType.Progressive?this.loadProgressive(e,t).then((function(){return n.loadVideoElement()})):Promise.resolve()},e.prototype.initializeLoadedState=function(e){this.currentSource=e,this.loaded=!0,this.lastLegalPlaybackPosition=0,this.ignoreNextDelta=!1},e.prototype.loadVideoElement=function(){this.config.tweaks.prevent_video_element_preloading||this.video.load()},e.prototype.setupVideoElement=function(t,n){var r=this;if(t.config.drm&&t.config.drm.fairplay){var i=O.ModuleManager.get(R.ModuleName.DRM).FairplayHandler;this.fpsHandler=new i(this.context,this.video,t.config.drm.fairplay)}var o=e.createSourceElement(n,null);this.appendAndSetVideoStream(o,"0",t),this.trackLoading(o);var s={element:o,handler:function(e){return r.handleStreamErrorEvent(a.ErrorCode.SOURCE_HLS_STREAM_ERROR,o.src,e)}};this.sourceElementEventListeners.push(s),s.element.addEventListener(k.MediaElementEvent.error,s.handler)},e.prototype.setSourceAndLoadVideoElement=function(e,t){this.setupVideoElement(e,t),this.loadVideoElement()},e.prototype.setVideoForServiceWorker=function(e,t){var n=this,i=I.URLHelper.appendQueryParametersToUrl(t,r(r({},this.context.config.tweaks.query_parameters),{"bitmovin-player-id":this.context.internalPlayerID}));return this.setSourceAndLoadVideoElement(e,i),this.hlsManifestController.resolveMasterManifest(e.url).then((function(){})).catch((function(e){n.logger.debug("Couldn't access master playlist with ServiceWorker: ".concat(e))}))},e.prototype.setVideoForNativeHLSParsing=function(e,t){var n=this;return F.createHlsManifestController(this.context).then((function(r){return n.hlsManifestController=r,n.settings.NATIVE_HLS_DOWNLOAD_ERROR_HANDLING&&(n.downloadErrorHandler=new U.HlsDownloadErrorHandler(n.context,r)),F.shouldUseServiceWorker(n.context)?n.setVideoForServiceWorker(e,t):n.hlsManifestController.resolveMasterManifest(e.url).then((function(t){0!==t.indexOf("data")&&0!==t.indexOf("blob")||n.setSourceAndLoadVideoElement(e,t)})).catch((function(e){n.logger.debug("Couldn't access master playlist for native HLS parsing: ".concat(e))}))}))},e.prototype.loadHls=function(e){"string"!=typeof e.url&&this.eventHandler.fireError(new s.PlayerError(a.ErrorCode.SOURCE_INVALID,{given:e.url},"Cannot load the HLS playlist: the source URL should be a string."));var t=this.adjustUrlForQueryParams(e.url);return this.settings.NATIVE_HLS_PARSING?this.setVideoForNativeHLSParsing(e,t):(this.setSourceAndLoadVideoElement(e,t),Promise.resolve())},e.prototype.loadProgressive=function(e,t){if(this.availableVideoStreams=[],Array.isArray(e.url))this.loadProgressiveMultiSource(e.url,t);else{var n={url:e.url,bitrate:0};this.video.src=this.adjustUrlForQueryParams(n.url),this.addStreamToAvailableOnes("0",n),this.setCurrentVideoStream("0",n),this.trackLoading(this.video.getWrappedElement())}return Promise.resolve()},e.prototype.loadProgressiveMultiSource=function(e,t){var n=this;t=t||function(e){var t=e.findIndex((function(e){return!0===e.preferred}));return t>-1?String(t):"0"}(e);var r=this.loadAllSupportedProgressiveSources(e,t,!0);if(r){var i={element:r,handler:function(e){return n.handleStreamErrorEvent(a.ErrorCode.SOURCE_PROGRESSIVE_STREAM_ERROR,r.src,e)}};this.sourceElementEventListeners.push(i),i.element.addEventListener(k.MediaElementEvent.error,i.handler),this.restrictedInlinePlayback&&this.audio&&this.audio.load(),this.trackLoading(r)}},e.prototype.handleStreamErrorEvent=function(e,t,n){var r,i=this;clearTimeout(this.loadTimeoutID),null===(r=this.assetAvailabilityChecker)||void 0===r||r.dispose(),this.loaded=!0,this.logger.debug("Caught a stream error event (".concat(e,", ").concat(t,")"),n),new p.DefaultContentLoader(this.context).load(t).then((function(e){return{status:e.status,statusText:e.statusText,error:void 0}})).catch((function(e){return{error:e,status:(null==e?void 0:e.status)||0,statusText:(null==e?void 0:e.statusText)||""}})).then((function(r){var o,a=r.error,u=r.status,c=r.statusText,l=(null==n?void 0:n.message)||n,d=function(e,t){i.loadingDeferred.reject(new s.PlayerError(e,t,"The video element has thrown an error while loading the stream."))};200!==u?(o={event:n,error:a,status:u,statusText:c,src:t,extraMessage:l},i.logger.debug("last/only source has thrown an error ".concat(u," - ").concat(c),o),d(e,o)):(o={event:n,error:a,src:t,extraMessage:l},i.logger.debug("last/only source has thrown an error, but we are able to download the asset during the error handling.",o),i.sourceConfig&&i.sourceLoadRetryCount<i.settings.MAX_RETRIES?(i.sourceLoadRetryCount++,i.logger.debug("Reloading the source: attempt ".concat(i.sourceLoadRetryCount," of ").concat(i.settings.MAX_RETRIES,".")),i.loadSource(i.sourceConfig).catch((function(){return d(e,o)}))):d(e,o))}))},e.prototype.loadAllSupportedProgressiveSources=function(t,n,r){for(var i,o=[],a=-1,s=null,u=null,c=0;c<t.length;c++){var l=t[c];if(!this.shouldIgnoreSourceObject(l,u,r)){if(i=e.createSourceElement(this.adjustUrlForQueryParams(l.url),l.type),u=u||l.type,this.addStreamToAvailableOnes(String(c),l),r){if(o.indexOf(l.type)>-1){this.logger.debug("Stream of mime type ".concat(l.type," already added.. continuing"));continue}n===String(c)?(s=i,a=l.bitrate,this.appendAndSetVideoStream(i,String(c),l),o.push(l.type)):a===l.bitrate&&(s=i,this.appendVideoStream(i),o.push(l.type))}else s=i,this.appendAndSetVideoStream(i,String(c),l);this.restrictedInlinePlayback&&this.audio&&(this.audio.innerHTML=this.video.innerHTML)}}return s},e.prototype.shouldIgnoreSourceObject=function(t,n,r){return!e.isValidProgressiveSourceObject(t)||!!r&&(!this.isMimeTypeSupported(t.type)||!!n&&n!==t.type)},e.isValidProgressiveSourceObject=function(e){return"object"==typeof e&&e&&e.url&&""!==e.url},e.prototype.appendAndSetVideoStream=function(e,t,n){this.video.appendChild(e),this.setCurrentVideoStream(t,n)},e.prototype.appendVideoStream=function(e){this.video.appendChild(e)},e.prototype.addStreamToAvailableOnes=function(e,t){var n={id:e};t.bitrate&&(n.bitrate=t.bitrate),n.label=String(t.label||t.bitrate||"unknown"),this.availableVideoStreams.push(n)},e.prototype.setCurrentVideoStream=function(e,t){this.currentVideoStream={id:e},t.bitrate&&(this.currentVideoStream.bitrate=t.bitrate),this.currentVideoStream.label=""+(t.label||t.bitrate||"unknown")},e.prototype.isMimeTypeSupported=function(e){return!(this.video.canPlayType(e).length<=0&&(this.logger.debug("Mime type"+e+" not supported.. continuing"),1))},e.createSourceElement=function(e,t){var n=document.createElement("source");return n.src=e,t&&(t.indexOf("/")<0&&(t="video/"+t),n.type=t),n},e.prototype.unload=function(e,t){var n,r;return void 0===e&&(e="api"),void 0===t&&(t=!1),this.hlsLiveTimeTracker.onUnload(e),this.clearDelayedSeekHandlers(),this.loadingDeferred&&!t&&this.loadingDeferred.reject(),clearTimeout(this.loadedDataFallbackTimeoutID),clearTimeout(this.loadTimeoutID),null===(n=this.assetAvailabilityChecker)||void 0===n||n.dispose(),this.ended=!1,this.fpsHandler=(0,d.dispose)(this.fpsHandler),this.downloadErrorHandler=(0,d.dispose)(this.downloadErrorHandler),this.hlsManifestController=(0,d.dispose)(this.hlsManifestController),this.hlsSeekingGlitchEventHandlers.forEach((function(e){return e.el.removeEventListener(e.ev,e.fn)})),this.hlsSeekingGlitchEventHandlers=[],this.isProgressiveQualityChange||(null===(r=this.textTrackController)||void 0===r||r.signalSourceChange(),this.textTrackController=(0,d.dispose)(this.textTrackController)),this.clearVideoElement(),this.clearAudioElement(),this.pause(),this.ignoreNextVideoError=!0,this.clearEventListeners(),this.unsubscribeFromStoreStoppedListener&&this.unsubscribeFromStoreStoppedListener(),this.allowedToThrowEvents&&(this.currentVideoStream=null),this.loaded&&(this.loaded=!1,t||(this.eventCallback(_.PlayerEvent.SourceUnloaded,{oldSource:this.currentSource}),this.lastDuration=null)),Promise.resolve()},e.prototype.clearAudioElement=function(){if(this.restrictedInlinePlayback&&this.audio){for(this.audio.removeAttribute("src");this.audio.firstChild;)this.audio.removeChild(this.audio.firstChild);this.audio.load()}},e.prototype.clearEventListeners=function(){var e=this;this.restrictedInlinePlayback?this.audio&&this.removeEventListeners(this.audio):this.removeEventListeners(this.video),this.clearDelayedSeekHandlers(),this.eventHandler.off(_.PlayerEvent.TimeChanged,this.onTimeChanged),this.eventHandler.off(_.PlayerEvent.TimeChanged,this.delayedSeek),this.sourceElementEventListeners.forEach((function(t){try{t.element.removeEventListener(k.MediaElementEvent.error,t.handler)}catch(t){e.logger.debug("Error while removing event listener",t)}}))},e.prototype.clearVideoElement=function(){M.VideoElementUtil.removeSource(this.video),null!=this.originalCrossOriginAttributeValue?this.video.setAttribute("crossOrigin",this.originalCrossOriginAttributeValue):this.video.removeAttribute("crossOrigin"),this.video.load()},e.prototype.isReady=function(){return this.restrictedInlinePlayback&&this.audio&&"readyState"in this.audio?this.audio.readyState!==HTMLMediaElement.HAVE_NOTHING:!("readyState"in this.video)||this.video.readyState!==HTMLMediaElement.HAVE_NOTHING},e.prototype.isLive=function(){return this.getElement().duration===1/0},e.prototype.isPlaying=function(){return this.stateManager.isPlaying()},e.prototype.isPaused=function(){return this.stateManager.isPaused()},e.prototype.hasEnded=function(){return this.ended},e.prototype.isMuted=function(){return this.getElement().muted},e.prototype.isStalled=function(){return this.stateManager.isStalled},e.prototype.getVolume=function(){return 100*this.getElement().volume},e.prototype.getDuration=function(){return this.getElement().duration},e.prototype.convertAudioTrackNativeToApi=function(e){var t={id:e.id||String(E.ArrayHelper.toArray(this.video.audioTracks).indexOf(e)),label:e.label,lang:e.language,getQualities:null},n=this.getLabelForAudio(t);return n&&"string"==typeof n&&(t.label=n),t},e.prototype.getAudio=function(){var e=E.ArrayHelper.toArray(this.video.audioTracks).find((function(e){return e.enabled}));return e?this.convertAudioTrackNativeToApi(e):null},e.prototype.getAvailableAudio=function(){var e=this;return E.ArrayHelper.toArray(this.video.audioTracks).map((function(t){return e.convertAudioTrackNativeToApi(t)}))},e.prototype.getLabelForAudio=function(e){var t={id:e.id,lang:e.lang,mimeType:A.MimeType.AudioMp4};return this.getLabelingFunctionForAudio()(t)},e.prototype.getLabelingFunctionForAudio=function(){var t=this.context.sourceContext,n=t&&t.source&&t.source.labeling;return n&&n[this.type]&&n[this.type].tracks?"function"!=typeof n[this.type].tracks?e.getDefaultLabelForAudio:n[this.type].tracks:e.getDefaultLabelForAudio},e.getDefaultLabelForAudio=function(){return null},e.prototype.getDownloadedVideoData=function(){return this.type===v.StreamType.Progressive?this.currentVideoStream:this.hlsManifestController?this.hlsManifestController.getDownloadedVideoData():{id:H,bitrate:0,height:0,width:0,isAuto:!0}},e.prototype.getDownloadedAudioData=function(){return{id:H,bitrate:0,isAuto:this.type===v.StreamType.Progressive}},e.prototype.createVideoQualityObject=function(e){var t={};return t.id=e.id,t.label=e.label,e.width>1?t.width=e.width:this.currentVideoStream&&this.currentVideoStream.id===e.id&&(this.currentVideoStream.width>1?t.width=this.currentVideoStream.width:!isNaN(this.video.videoWidth)&&this.video.videoWidth>1&&(t.width=this.video.videoWidth)),e.height>1?t.height=e.height:this.currentVideoStream&&this.currentVideoStream.id===e.id&&(this.currentVideoStream.height>1?t.height=this.currentVideoStream.height:!isNaN(this.video.videoHeight)&&this.video.videoHeight>1&&(t.height=this.video.videoHeight)),void 0!==e.bitrate&&"unknown"!==e.bitrate&&(t.bitrate=e.bitrate),t},e.prototype.getPlaybackVideoData=function(){if(this.hlsManifestController){var e=this.hlsManifestController.getPlayingVideoData();if(e)return e}if(this.currentVideoStream){var t=this.createVideoQualityObject(this.currentVideoStream);return"progressive"!==this.type&&(t.id=H),t}return{id:H,bitrate:0,height:this.video.videoHeight,width:this.video.videoWidth}},e.prototype.getPlaybackAudioData=function(){return{id:H,bitrate:0}},e.prototype.getMaxTimeShift=function(){if(!this.isTimeShiftingAllowed())return 0;var e=this.getSeekableRangeInternal();return this.isHlsLive()&&e.start>=0?e.start-e.end:0},e.prototype.isHlsLive=function(){return this.type===v.StreamType.Hls&&this.isLive()},e.prototype.timeShift=function(e,t){if(this.isTimeShiftingAllowed()&&this.isTimeShiftNecessary(e,t))if(0===e){var n=this.getSeekableRangeInternal();n.end>=0&&this.seekForLive(n.end)}else this.seekForLive(e,t)},e.prototype.isTimeShiftNecessary=function(e,t){if(t===h.STARTUP_ISSUER_NAME&&!function(e){return null!=(null==e?void 0:e.startTime)||null!=(null==e?void 0:e.startOffset)}(this.context.sourceContext.source.options))return!1;var n=Math.abs(Math.abs(e)-Math.abs(this.getTimeShift())),r=this.isOffsetConsideredAsLiveEdge(e);return n>.25&&!(this.isAtLiveEdge&&r)},e.prototype.getTimeShift=function(){if(this.shouldReturnDefaultTimeshiftValue())return 0;var e=this.getSeekableRangeInternal();if(e.start>=0&&this.needToUpdateTimeshiftValue()){var t=q(this.getElement().currentTime-e.end,this.getTimeshiftRange());this.isAtLiveEdge=this.isOffsetConsideredAsLiveEdge(t)&&!this.isStalledOrPaused(),this.currentTimeShift=this.isAtLiveEdge?0:t}return isFinite(this.currentTimeShift)?this.currentTimeShift:0},e.prototype.shouldReturnDefaultTimeshiftValue=function(){return!this.isLive()||!this.stateManager.hasBeenPlaying&&!this.stateManager.seekedOrTimeshifted||this.isAtLiveEdge},e.prototype.isStalledOrPaused=function(){return this.isStalled()||this.isPaused()},e.prototype.needToUpdateTimeshiftValue=function(){return!isFinite(this.currentTimeShift)||this.isStalledOrPaused()},e.prototype.getManifest=function(){return this.hlsManifestController?this.hlsManifestController.getManifest():null},e.prototype.getSnapshot=function(e,t){if(this.isPlaying()||this.isPaused()){var n=this.video.videoWidth,r=this.video.videoHeight;if(this.snapshotCanvas||(this.snapshotCanvas=document.createElement("canvas"),this.snapshotCanvas.id="snapshotHiddenCanvas"),!this.snapshotCanvas||!this.snapshotCanvas.getContext||!this.snapshotCanvas.getContext("2d"))return;this.snapshotCanvas.height=r,this.snapshotCanvas.width=n,this.snapshotCanvasContext=this.snapshotCanvas.getContext("2d"),this.snapshotCanvasContext.drawImage(this.video.getWrappedElement(),0,0,n,r);var i=void 0;try{"image/jpeg"===e||"image/webp"===e?(Number(t)===t?(t<0||t>1)&&(t=1):t=1,i=this.snapshotCanvas.toDataURL(e,t)):i=this.snapshotCanvas.toDataURL(e,t)}catch(e){return void(e&&e.message?this.logger.debug("Snapshot acquisition failed: "+e.message):this.logger.debug("Snapshot acquisition failed"))}return{height:r,width:n,data:i}}},e.prototype.setPlaybackSpeed=function(e){this.getElement().playbackRate=e},e.prototype.getPlaybackSpeed=function(){return this.getElement().playbackRate},e.prototype.permitControl=function(e){this.controlPermitted=e},e.prototype.resetTimeShift=function(){this.currentTimeShift=-1/0,this.isTimeShiftingAllowed()&&(this.isAtLiveEdge=!1)},e.prototype.isOffsetConsideredAsLiveEdge=function(e){return Math.abs(e)<2*this.settings.SEEK_TO_END_OFFSET},e.prototype.isSeekTargetChangedDuringStartup=function(){return this.seekTargetTime!==this.lastVerifiedPlaybackPosition&&this.lastSeekIssuer===h.STARTUP_ISSUER_NAME},e.prototype.maybeHandleSeekTargetChangeDuringStartup=function(){this.isSeekTargetChangedDuringStartup()&&(this.context.logger.debug("Seek target changed during startup..."),this.triggerSeekEvent(this.seekTargetTime),this.lastSeekIssuer="api",this.seekTargetTime=-1)},e.prototype.finishedSeekedTransitionState=function(){this.stateManager.isSeeking()&&(this.stateManager.transitionToSeekedState(this.lastSeekIssuer!==h.STARTUP_ISSUER_NAME),this.lastSeekIssuer="api"),this.stateManager.isTimeShifting()&&this.stateManager.transitionToTimeShiftedState(this.lastSeekIssuer!==h.STARTUP_ISSUER_NAME)},e.prototype.addEventListeners=function(e){for(var t=0;t<this.elementEvents.length;t++){var n=this.elementEvents[t].elementSelector?this.elementEvents[t].elementSelector(e):e;n&&n.addEventListener(this.elementEvents[t].event,this.elementEvents[t].handler)}},e.prototype.removeEventListeners=function(e){for(var t=0;t<this.elementEvents.length;t++){var n=this.elementEvents[t].elementSelector?this.elementEvents[t].elementSelector(e):e;n&&n.removeEventListener&&n.removeEventListener(this.elementEvents[t].event,this.elementEvents[t].handler)}},e.prototype.getBufferLevel=function(e){var t={level:null,targetLevel:null,type:e,media:v.MediaType.Video},n=this.getElement();if(!n.buffered||n.buffered.length<1)return t;var r=function(r){for(var i=0;i<n.buffered.length;i++){var o=n.buffered.start(i),a=n.buffered.end(i);o>r||a<=r||(t.level=a-r,e===v.BufferType.BackwardDuration&&(t.level=r-o))}},i=n.currentTime;if(r(i),null==t.level){var o=function(e,t){for(var n=e.buffered.start(0),r=Math.abs(n-t),i=1;i<e.buffered.length;i++){var o=Math.abs(e.buffered.start(i)-t);o<r&&(r=o,n=e.buffered.start(i))}return{distanceToCurrentTime:r,closestBufferStart:n}}(n,i),a=o.distanceToCurrentTime,s=o.closestBufferStart;a<1&&(this.context.logger.debug("Adjusting buffer level to closest buffer range ",s),r(s))}return t},e.prototype.createTextTrackController=function(){if(O.ModuleManager.has(R.ModuleName.SubtitlesNative))return new(0,O.ModuleManager.get(R.ModuleName.SubtitlesNative).TextTrackController)(this.context,this.video,this.config,this.type);this.logger.log("Unable to create native SubtitleController because the ".concat(R.ModuleName.SubtitlesNative," module is missing"))},e.prototype.removeSubtitle=function(e){e&&this.textTrackController&&this.textTrackController.removeSubtitle(e)},e.prototype.addSubtitle=function(e){return this.textTrackController?(this.removeSubtitle(e.id),e.kind="subtitles",this.textTrackController.addSubtitle(e)):Promise.reject()},e.prototype.listSubtitles=function(){return this.textTrackController?this.textTrackController.getAvailableSubtitles():[]},e.prototype.enableSubtitle=function(e){return this.textTrackController?this.textTrackController.enableSubtitle(e):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){return this.textTrackController?Promise.resolve(this.textTrackController.disableSubtitle(e)):Promise.resolve(!1)},e.prototype.adjustUrlForQueryParams=function(e){return I.URLHelper.appendQueryParametersToUrl(e,this.settings.QUERY_PARAMETERS)},e.prototype.onFullscreenEnter=function(){this.isInNativeFullscreen=this.video.webkitDisplayingFullscreen,this.textTrackController&&this.isInNativeFullscreen&&this.textTrackController.enableNative()},e.prototype.onFullscreenExit=function(){this.textTrackController&&this.isInNativeFullscreen&&this.textTrackController.disableNative(),this.isInNativeFullscreen=!1},e.prototype.getAvailableVideoQualities=function(){var e=this;return"progressive"!==this.type?[]:this.availableVideoStreams.map((function(t){return e.createVideoQualityObject(t)}))},e.prototype.getBufferedRanges=function(){var e=this;return(0,o.getBufferedRanges)(this.getElement()).map((function(t){return(0,o.convertRangeToTimeMode)(t,e.getStartDate(),v.TimeMode.AbsoluteTime)}))},e.prototype.setVideoQuality=function(e){var t,n=this,i=this.getPlaybackSpeed(),o=this.availableVideoStreams.find((function(t){return t.id===e}));if("progressive"===this.type&&o&&(!this.currentVideoStream||this.currentVideoStream.id!==e)){this.isProgressiveQualityChange=!0,this.currentTimeWas=this.getCurrentTime(),this.availableVideoStreams=[],this.allowedToThrowEvents=!1;var a=this.stateManager.isPlaying()||this.stateManager.isPlay();this.stateManager.stallEnter(),this.unload("api",!0).catch((function(){}));var s=this.createVideoQualityObject(o),l={sourceQuality:this.currentVideoStream,sourceQualityId:this.currentVideoStream?this.currentVideoStream.id:null,targetQuality:s,targetQualityId:s.id};this.eventHandler.one(_.PlayerEvent.StallEnded,(function(){n.allowedToThrowEvents=!0,(0,b.getCapabilities)().isIOS||(0,b.getCapabilities)().isSafari?(n.numTimeChanged=0,n.eventHandler.on(_.PlayerEvent.TimeChanged,n.delayedSeek)):(n.numTimeChanged=1/0,n.delayedSeek()),a&&(n.play(h.INTERNAL_ISSUER_NAME).catch((function(){n.eventCallback(_.PlayerEvent.Warning,new u.PlayerWarning(c.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED))})),n.stateManager.transitionToPlayingState(h.INTERNAL_ISSUER_NAME,!1))})),this.eventCallback(_.PlayerEvent.VideoQualityChanged,r({},l),!0),null===(t=this.airplayService)||void 0===t||t.initAirplay(),this.load(this.sourceConfig,this.settings.GLOBAL_DISABLE_SEEKING,e).then((function(){n.setPlaybackSpeed(i),n.eventCallback(_.PlayerEvent.VideoDownloadQualityChange,r({},l),!0),n.eventCallback(_.PlayerEvent.VideoDownloadQualityChanged,r({},l),!0),n.eventCallback(_.PlayerEvent.VideoPlaybackQualityChanged,{sourceQuality:l.sourceQuality,targetQuality:l.targetQuality},!0)}))}},e.prototype.isAirplayAvailable=function(){var e,t;return null!==(t=null===(e=this.airplayService)||void 0===e?void 0:e.isAirplayAvailable())&&void 0!==t&&t},e.prototype.isAirplayActive=function(){var e,t;return null!==(t=null===(e=this.airplayService)||void 0===e?void 0:e.isAirplayActive())&&void 0!==t&&t},e.prototype.showAirplayTargetPicker=function(){var e;null===(e=this.airplayService)||void 0===e||e.showAirplayTargetPicker()},e.prototype.getTimeshiftRange=function(){return this.isLive()?{start:this.getMaxTimeShift(),end:0}:{start:-1,end:-1}},e.prototype.getSeekableRangeInternal=function(){var e=this.video.seekable;if(e.length>0){var t={start:e.start(0),end:e.end(0)};return t.start=Math.max(0,t.start),t}return{start:-1,end:-1}},e.prototype.getSeekableRange=function(){if(!this.isLive()||this.settings.ENABLE_SEEK_FOR_LIVE){var e=this.getStartDate(),t=this.getSeekableRangeInternal();return e?(0,o.convertRangeToTimeMode)(t,e,v.TimeMode.AbsoluteTime):t}return{start:-1,end:-1}},e.prototype.createManifestApi=function(){return this.hlsManifestController?j.NativePlayerManifestApiFactory.create(this.hlsManifestController):null},e.prototype.release=function(){var e,t=this,n=this.unload("api").catch((function(){}));return clearTimeout(this.loadTimeoutID),n=n.then((function(){t.type=null,t.config=null,t.eventHandler=null,t.settings=null,t.currentTimeWas=null,t.snapshotCanvas=null,t.snapshotCanvasContext=null,t.audio=null,t.video=null,t.lastPlayIssuer=null,t.lastPauseIssuer=null,t.lastSeekIssuer=null,t.currentSource=null,t.sourceConfig=null,t.currentVideoStream=null,t.availableVideoStreams=null,t.sourceElementEventListeners=null,t.delayedSeekTarget=void 0})),null===(e=this.airplayService)||void 0===e||e.dispose(),this.textTrackController&&this.textTrackController.dispose(),this.textTrackController=null,this.fpsHandler&&this.fpsHandler.dispose(),this.fpsHandler=null,this.downloadErrorHandler&&this.downloadErrorHandler.dispose(),this.downloadErrorHandler=null,this.hlsManifestController&&this.hlsManifestController.dispose(),this.hlsManifestController=null,n},e.prototype.setQueryParameters=function(e){this.settings.QUERY_PARAMETERS=e},e.prototype.clearQueryParameters=function(){this.settings.QUERY_PARAMETERS=void 0},e.prototype.setAudioQuality=function(e){},e.prototype.setTargetBufferLevel=function(){},e.prototype.getAvailableAudioQualities=function(){return[]},e.prototype.getDroppedVideoFrames=function(){return 0},e.prototype.getTotalStalledTime=function(){return 0},e.prototype.updateCallback=function(e){},e.prototype.getAvailableSegments=function(){return{}},e.prototype.getLatency=function(){var e=this.video.getWrappedElement();if(!e.getStartDate)return 1/0;var t=e.getStartDate().getTime();if(isNaN(t))return 1/0;var n=(new Date).getTime();return(0,C.toSeconds)(n-t)-this.video.currentTime},e.prototype.setTargetLatency=function(e){},e.prototype.getTargetLatency=function(){return null},e.prototype.setCatchupConfig=function(e){},e.prototype.getCatchupConfig=function(){return null},e.prototype.setFallbackConfig=function(e){},e.prototype.getFallbackConfig=function(){return null},i([(0,g.trackPerformance)("NativePlayer.load",!0)],e.prototype,"load",null),e}();function q(e,t){return(e<t.start||e>t.end)&&(e=Math.max(e,t.start),e=Math.min(e,t.end)),e}function G(e){return e.length>0&&e.end(e.length-1)!==1/0}t.NativePlayer=W},55194:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativePlayerManifestApiFactory=void 0;var r=n(42283),i=function(){function e(){}return e.create=function(t){var n=t.getParsedManifest();return t.isValidMasterPlaylist(n)?new function(){this.hls=e.createHlsApi(t)}:null},e.createHlsApi=function(t){var n=t.getParsedManifest(),r=n.media.filter((function(e){return"AUDIO"===e.attributes.TYPE})),i=n.media.filter((function(e){return"SUBTITLES"===e.attributes.TYPE||"CLOSED-CAPTIONS"===e.attributes.TYPE}));return new(function(){function o(){this.properties=t.getParsedManifest().tags}return o.prototype.getVideoTracks=function(){return e.getVideoTracks(n.playlists)},o.prototype.getAudioTracks=function(){return e.getAudioTracks(r,n.playlists)},o.prototype.getTextTracks=function(){return e.getTextTracks(i)},o}())},e.getAudioTracks=function(e,t){var n=e.reduce((function(e,t){return e[t.attributes.LANGUAGE]||(e[t.attributes.LANGUAGE]=t.attributes.NAME),e}),{}),i=Object.keys(n).map((function(t,r){return{id:"audio-".concat(r),label:n[t],lang:t,getQualities:function(){return e.filter((function(e){return e.attributes.LANGUAGE===t})).map((function(e,t){return{id:t+"",bitrate:0,label:e.attributes.NAME}}))}}})),o=function(e){return e.attributes.CODECS&&r.CodecStringHelper.getMimeTypeForCodecString(e.attributes.CODECS).includes("audio")};return t.some(o)&&i.push({id:"audio-".concat(i.length),label:"und",lang:"",getQualities:function(){return t.filter(o).map((function(e,t){return{id:t+"",bitrate:e.attributes.BANDWIDTH,codec:r.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS).audio}}))}}),i},e.getVideoTracks=function(t){var n=t.filter((function(e){return!e.attributes.CODECS||r.CodecStringHelper.getMimeTypeForCodecString(e.attributes.CODECS).includes("video")}));return[{id:"video-0",label:"und",getQualities:function(){return e.getVideoQualities(n)}}]},e.getTextTracks=function(e){return e.map((function(e,t){return{id:"text-".concat(t),label:e.attributes.NAME,lang:e.attributes.LANGUAGE,isFragmented:!0,kind:"CLOSED-CAPTIONS"===e.attributes.TYPE?"caption":"subtitle",url:e.attributes.URI}}))},e.getVideoQualities=function(e){return e.map((function(e){var t=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height,i={id:n?"".concat(n,"_").concat(e.attributes.BANDWIDTH):"".concat(e.attributes.BANDWIDTH),bitrate:e.attributes.BANDWIDTH,width:t||0,height:n||0};if(e.attributes.CODECS){var o=r.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS);o.video&&(i.codec=o.video)}return i}))},e}();t.NativePlayerManifestApiFactory=i},96926:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TechnologyChecker=void 0;var r=n(33696),i=function(){function e(){}return e.prototype.getSupportedTechnologies=function(){return[{player:r.PlayerType.Native,streaming:r.StreamType.Progressive},{player:r.PlayerType.Native,streaming:r.StreamType.Hls},{player:r.PlayerType.Native,streaming:r.StreamType.Dash}]},e}();t.TechnologyChecker=i}},function(e){return e(e.s=42966)}])}()},7692:e=>{self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[458],{80211:function(e,t,n){e.exports=function(){return n(90040)('!function(){"use strict";var e={8367:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayIncludesPolyfill=void 0,t.ArrayIncludesPolyfill=function(){return{polyfill:function(){Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError(\'"this" is null or not defined\');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var i=0|t,o=Math.max(i>=0?i:r-Math.abs(i),0);function a(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}for(;o<r;){if(a(n[o],e))return!0;o++}return!1}})}}}()},4338:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringEndsWithPolyfill=void 0,t.StringEndsWithPolyfill=function(){return{polyfill:function(){String.prototype.endsWith=function(e,t){if(null==e)return!1;var n=this.length;return null!=t&&(n=Math.min(t,this.length)),this.substring(n-e.length,n)===e}}}}()},3801:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringIncludesPolyfill=void 0,t.StringIncludesPolyfill=function(){return{polyfill:function(){String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}}}}()},1921:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringStartsWithPolyfill=void 0,t.StringStartsWithPolyfill=function(){return{polyfill:function(){String.prototype.startsWith=function(e,t){var n=t>0?0|t:0;return this.substring(n,n+e.length)===e}}}}()},1520:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleManager=void 0;var r=n(5550),i=n(8764),o=n(1108),a=function(){function e(){}return e.initialize=function(){this.modules||(this.modules={})},e.add=function(e){if(this.initialize(),!e)throw new i.PlayerError(r.ErrorCode.MODULE_INVALID_DEFINITION,void 0,"Cannot add the module: no module definition was provided to the API.");if(!e.name)throw new i.PlayerError(r.ErrorCode.MODULE_INVALID_DEFINITION,void 0,"Cannot add the module: no `name` property was provided to the module definition.");if(!e.module)throw new i.PlayerError(r.ErrorCode.MODULE_INVALID_DEFINITION,void 0,"Cannot add the module: no `module` property was provided to the module definition.");if(e.dependencies){for(var t=0,n=e.dependencies;t<n.length;t++){var a=n[t];if(!this.has(a))throw new o.PlayerModuleMissingError(e.name,a)}if("function"!=typeof e.module)throw new i.PlayerError(r.ErrorCode.MODULE_INVALID_DEFINITION_DEPENDENCY,{name:e.name},"Cannot add the module: modules with dependencies must pass a deferred loading function to the `ModuleDefinition.module` property.")}var s=e.module;"function"==typeof s&&(s=s()),this.modules[e.name]={moduleDefinition:e,module:s},e.hooks&&e.hooks.add&&e.hooks.add(e.module)},e.remove=function(e){var t;if(this.modules){if(!this.modules[e])throw new o.PlayerModuleMissingError(e);var n=this.modules[e].moduleDefinition;(null===(t=n.hooks)||void 0===t?void 0:t.remove)&&n.hooks.remove(n.module),delete this.modules[e]}},e.get=function(e,t){void 0===t&&(t=!0),this.initialize();var n=this.modules[e];if(n&&n.module)return n.module;if(t)throw new o.PlayerModuleMissingError(e)},e.has=function(e){return void 0!==this.get(e,!1)},e.getModuleNames=function(){return Object.getOwnPropertyNames(this.modules)},e.getModuleDefinitions=function(){var e=this;return this.getModuleNames().map((function(t){return e.modules[t]}))},e.callSetupHooks=function(e){this.getModuleDefinitions().filter((function(e){return e.moduleDefinition.hooks&&e.moduleDefinition.hooks.setup})).forEach((function(t){return t.moduleDefinition.hooks.setup(t.module,e)}))},e.callDestroyHooks=function(e){var t=this.getModuleDefinitions().filter((function(e){return e.moduleDefinition.hooks&&e.moduleDefinition.hooks.destroy})).map((function(t){return t.moduleDefinition.hooks.destroy(t.module,e)}));return Promise.all(t).then((function(){}))},e}();t.ModuleManager=a},6368:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleName=void 0,function(e){e.VR="VR",e.XML="XML",e.Smooth="Smooth",e.AdvertisingCore="AdvertisingCore",e.Advertising="Advertising",e.AdvertisingIma="Advertising",e.AdvertisingBitmovin="Advertising",e.AdvertisingOmSdk="AdvertisingOmSdk",e.Polyfill="Polyfill",e.Patch="Patch",e.RemoteControl="RemoteControl",e.RendererMse="RendererMSE",e.EngineNative="EngineNative",e.EngineBitmovin="EngineBitmovin",e.ABR="ABR",e.Crypto="Crypto",e.HLS="HLS",e.DRM="DRM",e.DASH="DASH",e.ContainerTS="ContainerTS",e.ContainerMP4="ContainerMP4",e.ContainerWebM="ContainerWebM",e.Subtitles="Subtitles",e.SubtitlesTTML="SubtitlesTTML",e.SubtitlesWebVTT="SubtitlesWebVTT",e.SubtitlesCEA608="SubtitlesCEA608",e.SubtitlesNative="SubtitlesNative",e.Style="Style",e.Thumbnail="Thumbnail",e.UI="UI",e.Tizen="Tizen",e.Webos="webos",e.Vidaa="vidaa",e.LowLatency="LowLatency",e.ServiceWorkerClient="ServiceWorkerClient",e.Envivio="Envivio",e.PlayStation5="PlayStation5",e.PlayStation4="PlayStation4",e.EngineWebRtc="EngineWebRtc",e.ReactNative="ReactNative"}(n||(t.ModuleName=n={}))},1108:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerModuleMissingError=void 0;var i=n(5550),o=function(e){function t(t,n){return n?e.call(this,i.ErrorCode.MODULE_DEPENDENCY_MISSING,{name:t,dependency:n},"The ".concat(t," module requires the ").concat(n," module to be included as well."))||this:e.call(this,i.ErrorCode.MODULE_MISSING,{name:t},"The ".concat(t," module is required to play this stream."))||this}return r(t,e),t}(n(8764).PlayerError);t.PlayerModuleMissingError=o},997:function(e,t){function n(e){e&&e.dispose()}Object.defineProperty(t,"__esModule",{value:!0}),t.dispose=n},2510:function(e,t){var n,r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.LatencyMode=t.AdInteractionType=t.AdQuartile=t.MetadataType=t.PlayerEvent=void 0,function(e){e.Ready="ready",e.Play="play",e.Playing="playing",e.Paused="paused",e.Seek="seek",e.Seeked="seeked",e.TimeShift="timeshift",e.TimeShifted="timeshifted",e.VolumeChanged="volumechanged",e.Muted="muted",e.Unmuted="unmuted",e.PlayerResized="playerresized",e.PlaybackFinished="playbackfinished",e.Error="error",e.Warning="warning",e.StallStarted="stallstarted",e.StallEnded="stallended",e.AudioChanged="audiochanged",e.AudioAdded="audioadded",e.AudioRemoved="audioremoved",e.VideoQualityChanged="videoqualitychanged",e.AudioQualityChanged="audioqualitychanged",e.VideoDownloadQualityChange="videodownloadqualitychange",e.AudioDownloadQualityChange="audiodownloadqualitychange",e.VideoDownloadQualityChanged="videodownloadqualitychanged",e.AudioDownloadQualityChanged="audiodownloadqualitychanged",e.VideoPlaybackQualityChanged="videoplaybackqualitychanged",e.AudioPlaybackQualityChanged="audioplaybackqualitychanged",e.TimeChanged="timechanged",e.CueParsed="cueparsed",e.CueEnter="cueenter",e.CueUpdate="cueupdate",e.CueExit="cueexit",e.SegmentPlayback="segmentplayback",e.Metadata="metadata",e.MetadataParsed="metadataparsed",e.MetadataChanged="metadatachanged",e.VideoAdaptation="videoadaptation",e.AudioAdaptation="audioadaptation",e.DownloadFinished="downloadfinished",e.SegmentRequestFinished="segmentrequestfinished",e.AdManifestLoaded="admanifestloaded",e.AdStarted="adstarted",e.OverlayAdStarted="overlayadstarted",e.AdQuartile="adquartile",e.AdSkipped="adskipped",e.AdClicked="adclicked",e.AdInteraction="adinteraction",e.AdLinearityChanged="adlinearitychanged",e.AdBreakStarted="adbreakstarted",e.AdBreakFinished="adbreakfinished",e.AdFinished="adfinished",e.AdError="aderror",e.VRViewingDirectionChange="vrviewingdirectionchange",e.VRViewingDirectionChanged="vrviewingdirectionchanged",e.VRStereoChanged="vrstereochanged",e.CastAvailable="castavailable",e.CastStopped="caststopped",e.CastStart="caststart",e.CastStarted="caststarted",e.CastWaitingForDevice="castwaitingfordevice",e.SourceLoaded="sourceloaded",e.SourceUnloaded="sourceunloaded",e.PeriodSwitch="periodswitch",e.PeriodSwitched="periodswitched",e.DVRWindowExceeded="dvrwindowexceeded",e.SubtitleAdded="subtitleadded",e.SubtitleRemoved="subtitleremoved",e.ShowAirplayTargetPicker="showairplaytargetpicker",e.AirplayAvailable="airplayavailable",e.AirplayChanged="airplaychanged",e.Destroy="destroy",e.PlaybackSpeedChanged="playbackspeedchanged",e.DurationChanged="durationchanged",e.ViewModeChanged="viewmodechanged",e.ModuleReady="moduleready",e.SubtitleEnable="subtitleenable",e.SubtitleEnabled="subtitleenabled",e.SubtitleDisable="subtitledisable",e.SubtitleDisabled="subtitledisabled",e.VideoQualityAdded="videoqualityadded",e.VideoQualityRemoved="videoqualityremoved",e.AudioQualityAdded="audioqualityadded",e.AudioQualityRemoved="audioqualityremoved",e.TargetLatencyChanged="targetlatencychanged",e.LatencyModeChanged="latencymodechanged",e.LicenseValidated="licensevalidated",e.DrmLicenseAdded="drmlicenseadded",e.AspectRatioChanged="aspectratiochanged"}(n||(t.PlayerEvent=n={})),function(e){e.CUETAG="CUETAG",e.DATERANGE="DATERANGE",e.EVENT_STREAM="EVENT-STREAM",e.CUSTOM="CUSTOM",e.SCTE="SCTE",e.ID3="ID3",e.EMSG="EMSG",e.CAST="CAST"}(r||(t.MetadataType=r={})),function(e){e.FIRST_QUARTILE="firstQuartile",e.MIDPOINT="midpoint",e.THIRD_QUARTILE="thirdQuartile"}(i||(t.AdQuartile=i={})),function(e){e.Vpaid="vpaid"}(o||(t.AdInteractionType=o={})),function(e){e.Idle="idle",e.Catchup="catchup",e.Fallback="fallback",e.Suspended="suspended"}(a||(t.LatencyMode=a={}))},4430:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevels=void 0,t.LogLevels={DEBUG:"debug",LOG:"log",WARN:"warn",ERROR:"error",OFF:"off"}},8935:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.LogLevel=void 0;var i,o=n(4430),a=n(3696);!function(e){e[e.OFF=0]="OFF",e[e.INSANE=1]="INSANE",e[e.DEBUG=2]="DEBUG",e[e.LOG=3]="LOG",e[e.WARN=4]="WARN",e[e.ERROR=5]="ERROR"}(i||(t.LogLevel=i={}));var s=function(){function e(e,t){void 0===t&&(t=i.WARN),this.settings=e,this.setLogLevel(t)}return e.prototype.setConfig=function(e){this.logCallback=e.logs&&"function"==typeof e.logs().onLog?e.logs().onLog:void 0},e.prototype.setLogLevel=function(t){"string"==typeof t&&(t=e.parseLogLevel(t)),this.level=t},e.prototype.getLogLevel=function(){return this.level},e.prototype.isLevelEnabled=function(e){return!(void 0===this.logCallback||e===i.INSANE)||this.level!==i.OFF&&this.level<=e},e.prototype.setSettings=function(e){this.settings=e},e.parseLogLevel=function(e){switch(e){case o.LogLevels.DEBUG:return i.DEBUG;case o.LogLevels.LOG:return i.LOG;case o.LogLevels.WARN:return i.WARN;case o.LogLevels.ERROR:return i.ERROR;default:return i.OFF}},e.prototype.logToConsole=function(e,t,n){var o,a,s,l=u(e),d=r([],n,!0);if(this.level>0&&this.level<=e&&("string"==typeof this.settings.LOG_PREFIX&&this.settings.LOG_PREFIX.length>0?(o=console[l]).call.apply(o,r([console,this.settings.LOG_PREFIX,t],d,!1)):(a=console[l]).call.apply(a,r([console,t],d,!1))),this.logCallback&&e!==i.INSANE)try{(s=this.logCallback).call.apply(s,r([null,l,t],d,!1))}catch(e){}},e.prototype.insane=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logToConsole(i.INSANE,e,t)},e.prototype.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logToConsole(i.DEBUG,e,t)},e.prototype.log=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logToConsole(i.LOG,e,t)},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logToConsole(i.WARN,e,t)},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.logToConsole(i.ERROR,e,t)},e.prototype.forceLogBeautified=function(e,t,n){navigator.userAgent.indexOf("Trident/")>-1||navigator.userAgent.indexOf("Edge/")>-1?console.log(e):console.log("%c"+e,"color:"+t+";font-weight:bold;font-size:"+n+"px;")},e}();function u(e){switch(e){case i.INSANE:case i.DEBUG:return a.LogLevel.DEBUG;case i.LOG:return a.LogLevel.LOG;case i.WARN:return a.LogLevel.WARN;case i.ERROR:return a.LogLevel.ERROR;default:return null}}t.Logger=s},7345:function(e,t){var n,r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkRequestApi=t.HttpRequestMethod=t.HttpResponseType=t.HttpRequestType=void 0,function(e){e.MANIFEST_DASH="manifest/dash",e.MANIFEST_HLS_MASTER="manifest/hls/master",e.MANIFEST_HLS_VARIANT="manifest/hls/variant",e.MANIFEST_SMOOTH="manifest/smooth",e.MANIFEST_ADS="manifest/ads",e.MEDIA_AUDIO="media/audio",e.MEDIA_VIDEO="media/video",e.MEDIA_SUBTITLES="media/subtitles",e.MEDIA_THUMBNAILS="media/thumbnails",e.MEDIA_SEGMENTINDEX="media/segmentindex",e.DRM_LICENSE_WIDEVINE="drm/license/widevine",e.DRM_LICENSE_PLAYREADY="drm/license/playready",e.DRM_LICENSE_FAIRPLAY="drm/license/fairplay",e.DRM_LICENSE_PRIMETIME="drm/license/primetime",e.DRM_LICENSE_CLEARKEY="drm/license/clearkey",e.DRM_CERTIFICATE_FAIRPLAY="drm/certificate/fairplay",e.KEY_HLS_AES="key/hls/aes",e.TIME_SYNC="time/sync",e.WEBRTC_SDP_REQUEST="webrtc/sdp/request",e.WEBRTC_SDP_ANSWER="webrtc/sdp/answer",e.WEBRTC_SDP_OFFER="webrtc/sdp/offer",e.UNKNOWN="unknown",e.INTERNAL="internal"}(n||(t.HttpRequestType=n={})),function(e){e.ARRAYBUFFER="arraybuffer",e.BLOB="blob",e.DOCUMENT="document",e.JSON="json",e.TEXT="text"}(r||(t.HttpResponseType=r={})),function(e){e.GET="GET",e.POST="POST",e.HEAD="HEAD",e.PATCH="PATCH"}(i||(t.HttpRequestMethod=i={})),function(e){e.XHR="xhr",e.Fetch="fetch"}(o||(t.NetworkRequestApi=o={}))},1356:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayPromise=void 0;var i=n(6462),o=function(){function e(e,t,n){var i=this;this.startRejectTimeout=function(){var e=function(){clearTimeout(i.rejectTimeoutId),i.drmHandler&&i.drmHandler.isLicenseRequestOngoing()?i.rejectTimeoutId=setTimeout(e,i.context.settings.PLAYBACK_TIMEOUT):i.reject({code:0,name:"NotAllowedError",message:"user interaction required"})};i.rejectTimeoutId=setTimeout(e,i.context.settings.PLAYBACK_TIMEOUT)},this.resolve=function(){i.shutdown(),i.promiseResolve()},this.rejectEvent=function(e,t){return i.reject(r(r({},t),{eventName:e}))},this.reject=function(e){i.shutdown();var t=e;e&&e.type&&(t="error"===e.type?r(r({},e),{name:"NotSupportedError",message:"The operation is not supported"}):r(r({},e),{name:"AbortError",message:"The play call was interrupted by ".concat(e.type)})),i.promiseReject(t)},this.context=e,this.element=t,this.drmHandler=n}return e.prototype.registerEvents=function(){var t=this,n=4,r=function(n){var r=e.eventMapping[n];o.element.addEventListener(n,r?o.resolve:function(e){return t.rejectEvent(n,e)})},o=this;for(var a in e.eventMapping)r(a);this.element.readyState===n?this.startRejectTimeout():this.element.addEventListener(i.MediaElementEvent.canplay,this.startRejectTimeout)},e.prototype.unregisterEvents=function(){for(var t in e.eventMapping){var n=e.eventMapping[t];this.element.removeEventListener(t,n?this.resolve:this.reject)}this.element.removeEventListener(i.MediaElementEvent.canplay,this.startRejectTimeout)},e.prototype.shutdown=function(){clearTimeout(this.rejectTimeoutId),this.unregisterEvents()},e.prototype.getPromise=function(){var e=this;return new Promise((function(t,n){e.promiseResolve=t,e.promiseReject=n,e.registerEvents()}))},e.new=function(t,n,r){return new e(t,n,r).getPromise()},e.eventMapping={playing:!0,ended:!0,pause:!1,abort:!1,emptied:!1,error:!1},e}();t.PlayPromise=o},3696:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TimeMode=t.SupportedTechnologyMode=t.ViewMode=t.PlayerAPINotAvailableError=t.LogLevel=t.BufferType=t.MediaType=t.StreamType=t.PlayerType=void 0;var i=n(5550),o=n(8764),a=n(362);Object.defineProperty(t,"PlayerType",{enumerable:!0,get:function(){return a.PlayerType}});var s,u,l,d=n(3091);Object.defineProperty(t,"StreamType",{enumerable:!0,get:function(){return d.StreamType}}),function(e){e.Audio="audio",e.Video="video",e.Subtitles="subtitles",e.Thumbnails="thumbnails"}(s||(t.MediaType=s={})),function(e){e.ForwardDuration="forwardduration",e.BackwardDuration="backwardduration"}(u||(t.BufferType=u={})),function(e){e.DEBUG="debug",e.LOG="log",e.WARN="warn",e.ERROR="error",e.OFF="off"}(l||(t.LogLevel=l={}));var c,f,E,p=function(e){function t(t){return e.call(this,i.ErrorCode.API_NOT_AVAILABLE,void 0,"Cannot use the `player.".concat(t,"` API: the player has already been destroyed."))||this}return r(t,e),t}(o.PlayerError);t.PlayerAPINotAvailableError=p,function(e){e.Inline="inline",e.Fullscreen="fullscreen",e.PictureInPicture="pictureinpicture"}(c||(t.ViewMode=c={})),function(e){e.Platform="platform",e.Modules="modules",e.PlatformAndModules="platformandmodules"}(f||(t.SupportedTechnologyMode=f={})),function(e){e.RelativeTime="relativetime",e.AbsoluteTime="absolutetime"}(E||(t.TimeMode=E={}))},362:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerType=void 0,function(e){e.Html5="html5",e.Native="native",e.WebRtc="webrtc",e.Unknown="unknown"}(n||(t.PlayerType=n={}))},7326:function(e,t,n){var r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultSettings=t.WishDefaultConfig=void 0;var s=n(7345),u=n(3696);t.WishDefaultConfig={TARGET_BITRATE_FACTOR:1,TARGET_BUFFER_FACTOR:.8,BITRATE_MODIFIER_FUNCTION_TYPE:"log",USE_RATE_BASED_SELECTION_ON_SEEKING:!1},t.DefaultSettings={TARGET_BUFFER_LEVEL:(r={},r[u.MediaType.Video]=(i={},i[u.BufferType.ForwardDuration]=40,i[u.BufferType.BackwardDuration]=20,i),r[u.MediaType.Audio]=(o={},o[u.BufferType.ForwardDuration]=40,o[u.BufferType.BackwardDuration]=20,o),r),BUFFER_LOGIC_ACTIVATION_THRESHOLD:10,MIN_TIMELINE_LIVE_OFFSET:4,RETRY_DELAY:2,MAX_INCREASE_RETRY_DELAY_SEC:30,INCREASE_RETRY_DELAY:!0,INCREASE_RETRY_DELAY_BASE_SEC:.25,DISABLE_RETRY_FOR_RESPONSE_STATUS:(a={},a[s.HttpRequestType.MANIFEST_DASH]=[],a[s.HttpRequestType.MANIFEST_HLS_MASTER]=[],a[s.HttpRequestType.MANIFEST_HLS_VARIANT]=[],a[s.HttpRequestType.MANIFEST_SMOOTH]=[],a[s.HttpRequestType.MANIFEST_ADS]=[],a[s.HttpRequestType.MEDIA_AUDIO]=[],a[s.HttpRequestType.MEDIA_VIDEO]=[],a[s.HttpRequestType.MEDIA_SUBTITLES]=[],a[s.HttpRequestType.MEDIA_THUMBNAILS]=[],a[s.HttpRequestType.MEDIA_SEGMENTINDEX]=[],a[s.HttpRequestType.DRM_LICENSE_WIDEVINE]=[],a[s.HttpRequestType.DRM_LICENSE_PLAYREADY]=[],a[s.HttpRequestType.DRM_LICENSE_FAIRPLAY]=[],a[s.HttpRequestType.DRM_LICENSE_PRIMETIME]=[],a[s.HttpRequestType.DRM_LICENSE_CLEARKEY]=[],a[s.HttpRequestType.DRM_CERTIFICATE_FAIRPLAY]=[],a[s.HttpRequestType.KEY_HLS_AES]=[],a[s.HttpRequestType.TIME_SYNC]=[],a[s.HttpRequestType.WEBRTC_SDP_REQUEST]=[],a[s.HttpRequestType.WEBRTC_SDP_ANSWER]=[],a[s.HttpRequestType.WEBRTC_SDP_OFFER]=[],a[s.HttpRequestType.INTERNAL]=[],a[s.HttpRequestType.UNKNOWN]=[],a),METRIC_HISTORY_SIZE:30,DEFAULT_ADAPTATION_RULE_HISTORY_SIZE:40,LOG_LEVEL:2,LOG_PREFIX:"",RESTART_THRESHOLD:.9,RESTART_THRESHOLD_DELTA:.5,STARTUP_THRESHOLD:.9,STARTUP_THRESHOLD_DELTA:.5,START_SEARCHING_END:2,MAX_RETRIES:2,MAX_CDN_RETRIES:2,MAX_MPD_RETRIES:2,MPD_RETRY_DELAY:.5,MPD_UPDATE_PERIOD_TOLERANCE:5,DRM_MAX_RETRIES:1,DRM_RETRY_DELAY:.25,DRM_WITH_CREDENTIALS:!1,CAST_APPLICATION_ID:"D3A86B20",CAST_MESSAGE_NAMESPACE:"urn:x-cast:com.bitmovin.player.cast2",BUFFER_VISIBILITY_DELAY:2,MIN_SELECTABLE_VIDEO_BITRATE:0,MAX_SELECTABLE_VIDEO_BITRATE:1/0,EXCLUDE_DISALLOWED_REPRESENTATIONS:!1,MIN_SELECTABLE_AUDIO_BITRATE:0,MAX_SELECTABLE_AUDIO_BITRATE:1/0,XHR_TIMEOUT:20,QUERY_PARAMETERS:void 0,GAP_TOLERANCE:.1,END_OF_BUFFER_TOLERANCE:.1,END_OF_BUFFER_RECOVERY_TOLERANCE:.5,MAX_POTENTIAL_GAP_TIME_DEVIATION:.125,SYNC_ON_SEEK_TIMEOUT:.25,SEEK_TO_END_OFFSET:2,MINIMUM_ALLOWED_UPDATE_PERIOD:1,MAXIMUM_ALLOWED_UPDATE_PERIOD:1/0,GLOBAL_DISABLE_SEEKING:!1,PRE_ROLL_RESTORE_THRESHOLD:.25,IOS_MIN_TIMEUPDATES_AFTER_AD:2,HTTP_HEADERS:{},DOWNLOAD_DURATION_SAFETY_MARGIN:.4,MAXIMUM_DOWNLOAD_DURATION_MULTIPLIER:2,RATE_SAFETY_MARGIN_PERCENTAGE:10,MAX_ALLOWED_BANDWIDTH_ESTIMATION:1/0,LIVE_SEGMENT_LIST_START_INDEX_OFFSET:0,MAX_NUM_CACHED_SEGMENTS:1,TRUN_VERSION:void 0,IGNORE_MP4_EDTS_BOX:!0,HLS_AUDIO_ONLY_THRESHOLD_BITRATE:2e5,ENABLE_SEEK_FOR_LIVE:!1,LIVE_EDGE_DISTANCE:0,QUALITY_THRESHOLD:.5,QUALITY_UPPER_THRESHOLD:45,MAX_CONSECUTIVE_VR_ERRORS:3,MAX_CONSECUTIVE_RENDERER_ERRORS:3,DISABLE_HLS_BACKUP_STREAM_FAILOVER:!1,PLAYBACK_TIMEOUT:1500,HLS_SYNC_VIA_MEDIA_SEQUENCE:!1,STOP_DOWNLOAD_ON_PAUSE:!1,VR_SCHEME_ID_URI:"https://bitmovin.com/082017/vr",HLS_VR_CHARACTERISTICS_UTI:"com.bitmovin.vr.",SAFARI_NUM_PROGRESS_EVENTS_AFTER_SEEK_GLITCH:5,SEGMENT_LOADER_POOL_SIZE:{},NATIVE_HLS_PARSING:!1,NATIVE_HLS_DOWNLOAD_ERROR_HANDLING:!1,AKAMAI_DATETIME_PARSING:!1,QJY_BROWSER_WORKAROUND:!1,DWORD_BASE_MEDIA_DECODE_TIMESTAMPS:!1,FORCE_BASE_MEDIA_DECODE_TIME_REWRITE:!1,WEBOS_MAX_SAFE_BMDT:274877906943,WEBOS_MAX_SAFE_PTO:4194303,TIZEN_MAX_SAFE_BMDT:4294967295,TIZEN_MAX_SAFE_PTO:4294967295,VIDAA_MAX_SAFE_BMDT:4294967295,VIDAA_MAX_SAFE_PTO:4294967295,ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY:!1,MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL:.5,CHUNKED_CMAF_STREAMING:!1,LOW_LATENCY_DEFAULT_TARGET_LATENCY:3,LOW_LATENCY_BUFFER_GUARD:.5,LOW_LATENCY_DEFAULT_FALLBACK_PLAYBACK_RATE:.95,LOW_LATENCY_DEFAULT_CATCHUP_PLAYBACK_RATE:1.2,LOW_LATENCY_SEEK_AHEAD:1,ACCEPTABLE_TIMESHIFT_INACCURACY:3,IGNORE_HLS_AUDIO_GROUPS:!1,OPTIMIZE_AD_RESTORATION:!0,AD_RESTORATION_SEGMENT_PREFETCHING_DURATION:5,MIN_SAFE_BUFFER_LEVEL:3,THUMBNAIL_TO_PLAYER_SIZE_RATIO:.1,FAIRPLAY_IGNORE_DUPLICATE_INIT_DATA_KEY_ERRORS:!1,NO_QUOTA_EXCEEDED_ADJUSTMENT:!1,RESUME_LIVE_CONTENT_AT_PREVIOUS_POSITION_AFTER_AD_BREAK:!1,MIN_EFFECTIVE_SEGMENT_DOWNLOAD_TIME:.5,fixed:{APP_NAME:"html5",VERSION:"8.179.0"},CLEAR_BUFFERS_ON_SEEKING_BACKWARDS:!1,DROP_INVALID_SEGMENTS:!1,PROACTIVE_GAP_SKIP_DISTANCE_SECONDS:0,PRESERVE_GAPS_FOR_BASE_MEDIA_DECODE_TIME_REWRITE:!1,MIN_SIZE_FOR_GAP_SKIPPING:0,FORCE_SOFTWARE_DECRYPTION:!1,SEGMENT_LOADING_PROGRESS_CHECK_INTERVAL:.5,ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE:!1,HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE:!1,HLS_PARSE_MANIFEST_IN_WORKER:!1,HLS_CLEAR_BUFFERS_ON_DISCONTINUITY_SWITCHES:!0,PARSE_EMSG_BOXES:!0,WISH_ABR_PARAMS:t.WishDefaultConfig,HLS_BACKUP_STREAM_PENALTY_DURATION:30,CHECK_ALL_DRM_LICENSES_FOR_KID:!0,LL_HLS:!1,LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE:.1,LL_HLS_MAX_PLAYLIST_AGE_FOR_BLOCKING_REQUEST_IN_PART_TARGET_MULTIPLES:2,HLS_PARSE_NATIVE_METADATA:!0,PREFER_MANAGED_MEDIA_SOURCE:!0,INFINITE_RETRIES_FOR_LIVE:!0}},3091:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StreamType=void 0,function(e){e.Progressive="progressive",e.Dash="dash",e.Hls="hls",e.Smooth="smooth",e.Whep="whep",e.Unknown="unknown"}(n||(t.StreamType=n={}))},1397:function(e,t){function n(e){return e.split("-").map((function(e,t){return 0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})).join("")}function r(e){return e?(" "+e).slice(1):""}Object.defineProperty(t,"__esModule",{value:!0}),t.kebabCaseToCamelCase=n,t.forceReallocation=r},7177:function(e,t){function n(e){return null!==e&&"object"==typeof e}function r(e){return void 0!==e&&!e.isDisposed}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=n,t.isContextAvailable=r},5550:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorCode=void 0,function(e){e[e.UNKNOWN=1e3]="UNKNOWN",e[e.API_NOT_AVAILABLE=1001]="API_NOT_AVAILABLE",e[e.SETUP_ERROR=1100]="SETUP_ERROR",e[e.SETUP_NO_HTML_ELEMENT=1101]="SETUP_NO_HTML_ELEMENT",e[e.SETUP_MISSING_CONFIGURATION=1102]="SETUP_MISSING_CONFIGURATION",e[e.SETUP_LICENSE_ERROR=1103]="SETUP_LICENSE_ERROR",e[e.SETUP_MISSING_DOMAIN_LICENSE_WHITELIST=1104]="SETUP_MISSING_DOMAIN_LICENSE_WHITELIST",e[e.SETUP_MISSING_DOMAIN_LICENSE_ALLOWLIST=1104]="SETUP_MISSING_DOMAIN_LICENSE_ALLOWLIST",e[e.SETUP_MISSING_LICENSE_WHITELIST=1105]="SETUP_MISSING_LICENSE_WHITELIST",e[e.SETUP_MISSING_LICENSE_ALLOWLIST=1105]="SETUP_MISSING_LICENSE_ALLOWLIST",e[e.SETUP_INVALID_LICENSE_SERVER=1106]="SETUP_INVALID_LICENSE_SERVER",e[e.SETUP_INVALID_IMPRESSION_SERVER=1107]="SETUP_INVALID_IMPRESSION_SERVER",e[e.SETUP_NO_RENDERING_ENGINE=1108]="SETUP_NO_RENDERING_ENGINE",e[e.SETUP_UNSUPPORTED_PROTOCOL=1113]="SETUP_UNSUPPORTED_PROTOCOL",e[e.SOURCE_ERROR=1200]="SOURCE_ERROR",e[e.SOURCE_INVALID=1201]="SOURCE_INVALID",e[e.SOURCE_MANIFEST_INVALID=1202]="SOURCE_MANIFEST_INVALID",e[e.SOURCE_NO_SUPPORTED_TECHNOLOGY=1203]="SOURCE_NO_SUPPORTED_TECHNOLOGY",e[e.SOURCE_STREAM_TYPE_NOT_SUPPORTED=1204]="SOURCE_STREAM_TYPE_NOT_SUPPORTED",e[e.SOURCE_FORCED_TECHNOLOGY_NOT_SUPPORTED=1205]="SOURCE_FORCED_TECHNOLOGY_NOT_SUPPORTED",e[e.SOURCE_NO_STREAM_FOUND_FOR_SUPPORTED_TECHNOLOGY=1206]="SOURCE_NO_STREAM_FOUND_FOR_SUPPORTED_TECHNOLOGY",e[e.SOURCE_EMPTY_SEGMENT=1207]="SOURCE_EMPTY_SEGMENT",e[e.SOURCE_COULD_NOT_LOAD_MANIFEST=1208]="SOURCE_COULD_NOT_LOAD_MANIFEST",e[e.SOURCE_PROGRESSIVE_STREAM_ERROR=1209]="SOURCE_PROGRESSIVE_STREAM_ERROR",e[e.SOURCE_HLS_STREAM_ERROR=1210]="SOURCE_HLS_STREAM_ERROR",e[e.SOURCE_ENCRYPTION_METHOD_NOT_SUPPORTED=1211]="SOURCE_ENCRYPTION_METHOD_NOT_SUPPORTED",e[e.SOURCE_INVALID_H264_CODEC=7043]="SOURCE_INVALID_H264_CODEC",e[e.PLAYBACK_ERROR=1300]="PLAYBACK_ERROR",e[e.PLAYBACK_VIDEO_DECODING_ERROR=1301]="PLAYBACK_VIDEO_DECODING_ERROR",e[e.PLAYBACK_HLS_COULD_NOT_LOAD_TRANSMUXER=1304]="PLAYBACK_HLS_COULD_NOT_LOAD_TRANSMUXER",e[e.NETWORK_ERROR=1400]="NETWORK_ERROR",e[e.NETWORK_MANIFEST_DOWNLOAD_TIMEOUT=1401]="NETWORK_MANIFEST_DOWNLOAD_TIMEOUT",e[e.NETWORK_SEGMENT_DOWNLOAD_TIMEOUT=1402]="NETWORK_SEGMENT_DOWNLOAD_TIMEOUT",e[e.NETWORK_PROGRESSIVE_STREAM_DOWNLOAD_TIMEOUT=1403]="NETWORK_PROGRESSIVE_STREAM_DOWNLOAD_TIMEOUT",e[e.NETWORK_FAILED_CERTIFICATE_REQUEST=1404]="NETWORK_FAILED_CERTIFICATE_REQUEST",e[e.DRM_ERROR=2e3]="DRM_ERROR",e[e.DRM_MISSING_CONFIGURATION=2001]="DRM_MISSING_CONFIGURATION",e[e.DRM_NO_LICENSE_SERVER_URL_PROVIDED=2002]="DRM_NO_LICENSE_SERVER_URL_PROVIDED",e[e.DRM_FAILED_LICENSE_REQUEST=2003]="DRM_FAILED_LICENSE_REQUEST",e[e.DRM_KEY_SIZE_NOT_SUPPORTED=2005]="DRM_KEY_SIZE_NOT_SUPPORTED",e[e.DRM_NO_KEY_SYSTEM=2006]="DRM_NO_KEY_SYSTEM",e[e.DRM_KEY_SESSION_INITIALIZATION_FAILED=2007]="DRM_KEY_SESSION_INITIALIZATION_FAILED",e[e.DRM_MEDIA_KEY_INITIALIZATION_FAILED=2008]="DRM_MEDIA_KEY_INITIALIZATION_FAILED",e[e.DRM_KEY_ERROR=2009]="DRM_KEY_ERROR",e[e.DRM_KEY_SYSTEM_NOT_SUPPORTED=2010]="DRM_KEY_SYSTEM_NOT_SUPPORTED",e[e.DRM_CERTIFICATE_ERROR=2011]="DRM_CERTIFICATE_ERROR",e[e.DRM_PLAYREADY_INVALID_HEADER_KEY_VALUE_PAIR=2012]="DRM_PLAYREADY_INVALID_HEADER_KEY_VALUE_PAIR",e[e.DRM_RESTRICTED_OUTPUT=2013]="DRM_RESTRICTED_OUTPUT",e[e.DRM_INIT_DATA_MISSING=2015]="DRM_INIT_DATA_MISSING",e[e.VR_ERROR=2100]="VR_ERROR",e[e.VR_INCOMPATIBLE_PLAYER_TECHNOLOGY=2101]="VR_INCOMPATIBLE_PLAYER_TECHNOLOGY",e[e.MODULE_ERROR=3e3]="MODULE_ERROR",e[e.MODULE_INVALID_DEFINITION=3001]="MODULE_INVALID_DEFINITION",e[e.MODULE_INVALID_DEFINITION_DEPENDENCY=3002]="MODULE_INVALID_DEFINITION_DEPENDENCY",e[e.MODULE_MISSING=3003]="MODULE_MISSING",e[e.MODULE_DEPENDENCY_MISSING=3004]="MODULE_DEPENDENCY_MISSING",e[e.MODULE_REMOVED=3005]="MODULE_REMOVED",e[e.MODULE_ADVERTISING_ERROR=3100]="MODULE_ADVERTISING_ERROR",e[e.SEGMENT_PSSH_DATA_MISSING=4e3]="SEGMENT_PSSH_DATA_MISSING"}(n||(t.ErrorCode=n={}))},8764:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerError=void 0;var r=n(5550),i=function(){function e(e,t,n,i){this.code=e,this.name=r.ErrorCode[e],this.sourceIdentifier=i,this.message=null!=n?n:"".concat(this.name),this.data=t,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(this.message).stack}return e}();t.PlayerError=i},8665:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceName=void 0,function(e){e.AdaptationService="AdaptationService",e.DrmDetectorService="DrmDetectorService",e.DrmService="DrmService",e.HeartbeatService="HeartbeatService",e.LiveLatencyService="LiveLatencyService",e.ManifestCachingService="ManifestCachingService",e.ManifestLoadingService="ManifestLoadingService",e.ManifestService="ManifestService",e.ManifestUpdateSchedulingService="ManifestUpdateSchedulingService",e.MetadataParsedService="MetadataParsedService",e.PlayerStateService="PlayerStateService",e.SegmentService="SegmentService",e.SourceStoreService="SourceStoreService",e.StallTimeTrackerService="StallTimeTrackerService",e.StartOffsetService="StartOffsetService",e.StreamTimeService="StreamTimeService",e.SubtitleService="SubtitleService",e.SynchronizedTimeService="SynchronizedTimeService",e.ThumbnailService="ThumbnailService",e.TimedMetadataService="TimedMetadataService"}(n||(t.ServiceName=n={}))},5231:function(e,t){function n(e,t){return{type:e,meta:{},payload:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.createAction=n},1829:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StaticActionTypes=void 0,function(e){e.Default="default"}(n||(t.StaticActionTypes=n={}));var r=function(e,t){return function(r,i){return void 0===r&&(r=e),t[i.type]?t[i.type](r,i):t[n.Default]?t[n.Default](r,i):r}};t.default=r},5328:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initialStartOptions=void 0,t.initializeStartTimeOffset=o,t.setStartTimeOffset=a;var r=n(5231),i=n(618);function o(){return a(t.initialStartOptions.startTimeOffset)}function a(e){return(0,r.createAction)(i.StartOptionsActionKey.SetStartTimeOffset,{startTimeOffset:e})}t.initialStartOptions={startTimeOffset:0}},2055:function(e,t,n){var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.StartOptionsReducer=void 0,t.getStartTimeOffset=d;var o=n(1829),a=n(5328),s=n(618),u=a.initialStartOptions,l=function(e,t){var n=t.payload;return i(i({},e),n)};function d(e){return e.startOptions.startTimeOffset}t.StartOptionsReducer=(0,o.default)(u,((r={})[s.StartOptionsActionKey.InitStartTimeOffset]=l,r[s.StartOptionsActionKey.SetStartTimeOffset]=l,r))},618:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StartOptionsActionKey=void 0,function(e){e.InitStartTimeOffset="@instance/sources/@source/startOptions/initStartTimeOffset",e.SetStartTimeOffset="@instance/sources/@source/startOptions/setStartTimeOffset"}(n||(t.StartOptionsActionKey=n={}))},1361:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayHelper=void 0,t.invert=a,t.findIndexFromEnd=s,t.findIndexWithin=u,t.findFromEnd=l,t.forEachFromIndex=d,t.forceArray=c,t.contains=f,t.shallowObjectMatcher=E,t.clearArray=p;var i=n(6093),o=function(){function e(){}return e.comparePrimitiveArrays=function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},e.stringToArrayWithoutEncoding=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},e.convertBufferSourceToUTF8=function(t,n){return void 0===n&&(n="utf-8"),t instanceof ArrayBuffer?t=new Uint8Array(t):t instanceof DataView&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),e.convertUint8ArrayToUtf8(t,n)},e.convertUint8ArrayToUtf8=function(e,t){if("undefined"!=typeof TextDecoder)return new TextDecoder(t).decode(e);for(var n=0,r="";n<e.length;){var i=e[n++];if(i>127)if(i>191&&i<224){if(n>=e.length||64&e[n]){r+="�";continue}i=(31&i)<<6|63&e[n++]}else if(i>223&&i<240){if(n+1>=e.length||64&e[n]||64&e[n+1]){r+="�";continue}i=(15&i)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(i>239&&i<248)){r+="�";continue}if(n+2>=e.length||64&e[n]||64&e[n+1]||64&e[n+2]){r+="�";continue}i=(7&i)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}i<=65535?r+=String.fromCharCode(i):i<=1114111?(i-=65536,r+=String.fromCharCode(i>>10|55296),r+=String.fromCharCode(1023&i|56320)):r+="�"}return r},e.sort=function(e,t,n){if("string"==typeof t&&"[object Array]"===Object.prototype.toString.call(e)){var r;if(n||(n="asc"),"asc"===n)r=-1;else{if("desc"!==n)return;r=1}if(e.length<2)return e;var i=function(e,n){return e[t]<n[t]?r:e[t]>n[t]?-1*r:0};return e.sort(i)}},e.append=function(t,n){var r=e.getTypedArrayType(t),i=e.getTypedArrayType(n);if(!r&&!i||r!==i)return null;var o=new r((t.byteLength+n.byteLength)/r.BYTES_PER_ELEMENT);return o.set(new r(t),0),o.set(new r(n),t.byteLength/r.BYTES_PER_ELEMENT),o},e.concatBuffers=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!(e=e.filter((function(e){return e}))).length)return null;var n=e.reduce((function(e,t){return e+t.byteLength}),0),r=new Uint8Array(n);return e.reduce((function(e,t){return r.set(new Uint8Array(t),e),e+t.byteLength}),0),r.buffer},e.getTypedArrayType=function(e){return e instanceof Uint8Array?Uint8Array:e instanceof Uint16Array?Uint16Array:e instanceof Uint32Array?Uint32Array:null},e.getArray=function(t){return e.getTypedArrayType(t)?[].slice.call(t):Array.isArray(t)?t:null},e.union=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[];return e.filter((function(e){return Boolean(e)})).forEach((function(e){return e.forEach((function(e){n.includes(e)||n.push(e)}))})),n},e.isArrayBuffer=function(e){return Boolean(e)&&e instanceof ArrayBuffer&&void 0!==e.byteLength},e.arrayBufferToAsciiString=function(t,n){return void 0===n&&(n=!0),e.sparseArrayBufferToAsciiString(t,1,0,n)},e.arrayBufferToBase64=function(e){for(var t="",n=new Uint8Array(e),r=0;r<n.length;r++)t+=String.fromCharCode(n[r]);return window.btoa(t)},e.sparseArrayBufferToAsciiString=function(e,t,n,r){void 0===t&&(t=2),void 0===n&&(n=0),void 0===r&&(r=!0);for(var i="",o=r?new Uint8Array(e):new Uint16Array(e),a=n;a<o.length;a+=t)i+=String.fromCharCode(o[a]);return i},e.intersect=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=[],i=t.filter((function(e){return Boolean(e)}));return e.union.apply(e,t).forEach((function(e){i.every((function(t){return t.includes(e)}))&&r.push(e)})),r},e.addAndMergeIntersects=function(t,n){var i=t.filter((function(t){return e.intersect(t,n).length>0})),o=t.filter((function(e){return!i.includes(e)}));return 0===i.length?r(r([],t,!0),[n],!1):r([e.union.apply(e,r(r([],i,!1),[n],!1))],o,!0)},e.extractAsciiString=function(e,t,n){for(var r=t+n,i="";t<r;t++)i+=String.fromCharCode(e.getUint8(t));return i},e.extractHexString=function(e,t,n){for(var r=t+n,o="";t<r;t++)o+=i.FormatHelper.intToHex(e.getUint8(t));return o},e.toArray=function(e){try{if(!e||!e.length)return[];for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return t}catch(e){return[]}},e}();function a(e){return function(t,n,r){return!e(t,n,r)}}function s(e,t){var n;for(n=e.length-1;n>=0&&!t(e[n]);n--);return n}function u(e,t,n,r){for(var i=t;i<n;i++)if(r(e[i]))return i;return-1}function l(e,t){return e[s(e,t)]}function d(e,t,n){for(;t<e.length;t++){n(e[t-1],e[t])}}function c(e){return Array.isArray(e)?e:[e]}function f(e,t,n){return void 0===n&&(n=E),null!=e.find((function(e){return n(t,e)}))}function E(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}function p(e){e.splice(0,e.length)}t.ArrayHelper=o},4388:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DurationConverter=void 0;var n=function(){function e(){}return e.getDurationInSec=function(e){if("string"!=typeof e)return NaN;var t=/^([-])?P(([\\d.]*)Y)?(([\\d.]*)M)?(([\\d.]*)D)?(T)?(([\\d.]*)H)?(([\\d.]*)M)?(([\\d.]*|Infinity)S)?/.exec(e);if(t){var n=Boolean(t[1]),r=12*parseFloat(t[2]||"0")*30*24*60*60,i=30*parseFloat(t[4]||"0")*24*60*60,o=24*parseFloat(t[6]||"0")*60*60,a=60*parseFloat(t[9]||"0")*60,s=60*parseFloat(t[11]||"0"),u=parseFloat(t[13]||"0");if("T"===t[8]&&void 0===(t[9]||t[11]||t[13]))return NaN;var l=r+i+o+a+s+u;return n&&(l=-l),l}return NaN},e}();t.DurationConverter=n},6093:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FormatHelper=void 0;var n=function(){function e(){}return e.hexToBytes=function(e){var t=e.length;1&t&&(e="0"+e,t++);for(var n=new Uint8Array(t>>1),r=0;r<t;r+=2)n[r>>1]=parseInt(e.substring(r,r+2),16);return n},e.bytesToHex=function(e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));for(var t="",n=0;n<e.byteLength;n++){var r=(255&e[n]).toString(16);r.length<2&&(t+="0"),t+=r}return t},e.bytesToUUID=function(e){return this.beautifyUUID(this.bytesToHex(e))},e.beautifyUUID=function(e){return e.slice(0,8)+"-"+e.slice(8,12)+"-"+e.slice(12,16)+"-"+e.slice(16,20)+"-"+e.slice(20)},e.intToHex=function(e){return("00"+e.toString(16)).slice(-2)},e.base64UrlEncode=function(e){return window.btoa(e).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,"")},e.base64UrlDecode=function(e){return window.atob((e+"===".slice((e.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/"))},e}();t.FormatHelper=n},1715:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var n=function(){function e(e,t){this.runsInWebWorker=e,this.postMessageFunction=t}return e}();t.MessageHandler=n},331:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.toSeconds=r,t.toMilliSeconds=i;var n=1e3;function r(e){return e/n}function i(e){return e*n}},16:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isDefined=r,t.isVideoRepresentation=i;var n=function(e){return"number"==typeof e};function r(e){return null!=e}function i(e){return null!=e._height&&null!=e._width}t.isNumber=n},6885:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.URLHelper=void 0,t.extractOrigin=u,t.removeQueryParameters=l;var n=function(){function e(){}return e.isUrlAbsolute=function(t){return!!t&&("string"!=typeof t&&(t=e.urlObjectToString(t)),e.ABSOLUTE_URL_REGEX.test(t))},e.removeUrlParameters=function(e){return e.indexOf("?")>-1&&(e=e.split("?")[0]),e},e.urlObjectToString=function(e){return e&&"string"!=typeof e?i(e)?e.__text:o(e)?e.url:null:e},e.concatUrlParts=function(t,n){var r="/",i=e.urlObjectToString(t),o=e.urlObjectToString(n);return!i||i.length<1||e.isUrlAbsolute(o)?o:!o||o.length<1?i:((i=e.removeUrlParameters(i)).indexOf("/")>-1&&(i=i.substring(0,i.lastIndexOf("/"))),"/"===o[0]&&(i=u(i),r=""),i+r+o)},e.removeLastPathPart=function(t){if(!t)return null;t=e.removeUrlParameters(t);var n=e.getProtocolOffset(t),r=t.lastIndexOf("/");return r===t.length-1&&(t=t.substring(0,r)),(r=t.lastIndexOf("/"))<0?"":r>t.length-1?t:r<=n?t+"/":t.substring(0,r+1)},e.isRootRelativeUrl=function(e){return!!(e&&e.length>0)&&"/"===e[0]},e.getProtocolOffset=function(e){var t="://",n=e.indexOf(t);return n>-1?n+t.length:-1===n&&0===e.indexOf("//")?2:0},e.replaceCdn=function(e,t){var n=u(e),r=u(t);return e.replace(n,r)},e.isSubUrl=function(e,t){return!(!e||!t)&&(0===t.indexOf("../")&&(t=t.substring(3)),e.indexOf(t)>-1)},e.concatBaseUrlWithPartial=function(t,n){if(e.isUrlAbsolute(n)){if(n.startsWith("/"))n=(a(t)||s())+n;return n}return t=this.toFullUrl(t),n&&0!==n.length?e.isRootRelativeUrl(n)?u(t)+n:(t.endsWith("/")||(t=this.removeLastPathPart(t)),t+n):t},e.appendQueryParametersToUrl=function(e,t){var n="",i=e.indexOf("?")>=0;if(t)for(var o in t){if(t.hasOwnProperty(o))n+=i?"&":"?",i=!0,n=r(n,o,t[o])}return e+n},e.toFullUrl=function(t){if(e.isDataUri(t))return t;var n=t.startsWith("//")?s()+t:t;return t.split("//")[1].includes("/")||(n+="/"),n},e.isDataUri=function(e){return e&&0===e.indexOf(this.DATA_URI_PROTOCOL)},e.parseDataUri=function(e){if(!this.isDataUri(e))throw new Error("Invalid data uri: "+e);-1===(e=e.substring(this.DATA_URI_PROTOCOL.length)).indexOf(this.COMMA_CHARACTER)&&(e=this.DATA_URI_DEFAULT_MEDIA_TYPE+this.COMMA_CHARACTER+e);var t=e.split(this.COMMA_CHARACTER),n=t[0],r=t[1],i=n.endsWith(this.DATA_URI_BASE64_MARKER),o=n.length-this.DATA_URI_BASE64_MARKER.length-this.COMMA_CHARACTER.length;return{mediaType:i?n.substring(0,o):n,base64:i?r:void 0,data:i?atob(r):r}},e.buildAbsoluteUrl=function(t,n,r){return e.isUrlAbsolute(r)?r:e.isRootRelativeUrl(r)?n+r:t+r},e.getAbsoluteUrl=function(t,n){return e.isUrlAbsolute(t)?t:e.concatBaseUrlWithPartial(n,t)},e.DATA_URI_PROTOCOL="data:",e.DATA_URI_BASE64_MARKER="base64",e.DATA_URI_DEFAULT_MEDIA_TYPE="text/plain;charset=US-ASCII",e.ABSOLUTE_URL_REGEX=new RegExp("^(?:[a-z]+:)?//","i"),e.COMMA_CHARACTER=",",e}();function r(e,t,n){return e+=t,null!=n&&(e+="="+encodeURIComponent(n)),e}function i(e){return e&&"string"==typeof e.__text}function o(e){return e&&"string"==typeof e.url}function a(e){return e.substring(0,e.indexOf("//"))}function s(){var e;return(null===(e=window.location)||void 0===e?void 0:e.protocol)||"https:"}function u(e){var t=e.indexOf("//")+2,n=e.indexOf("/",t);return-1===n&&(n=e.indexOf("?",t)),-1===n?e:e.slice(0,n)}function l(e,t){var n=e.split("?"),r=n[0],i=n[1];if(!i)return e;var o=i.split("&").filter((function(e){var n=e.split("=")[0];return!t.includes(n)})).join("&");return o?"".concat(r,"?").concat(o):r}t.URLHelper=n},4838:function(e,t,n){var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0,t.parseAspectRatio=d;var i=n(997),o=n(7326),a=n(6462),s=n(573),u=n(331),l=function(){function e(){}return e.deepEqual=function(t,n){if(t===n)return!0;if(!t||"object"!=typeof t||!n||"object"!=typeof n)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r in t)if(!n.hasOwnProperty(r)||!e.deepEqual(t[r],n[r]))return!1;return!0},e.deepCopy=function(t,n){var r=void 0!==window.ArrayBuffer;for(var i in n)n.hasOwnProperty(i)&&(r&&n[i]instanceof ArrayBuffer?t[i]=n[i].slice(0,n[i].byteLength):"object"==typeof n[i]&&null!==n[i]?(t.hasOwnProperty(i)||(Array.isArray(n[i])?t[i]=[]:t[i]={}),e.deepCopy(t[i],n[i])):t[i]=n[i])},e.deepCopyMulti=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return n.forEach((function(n){return t.deepCopy(e,n)})),e},e.isFunction=function(e){return!!e&&"[object Function]"==={}.toString.call(e)},e.extractBitrateFromString=function(e,t){return isNaN(t)?(t=t.toLowerCase().trim().replace(/,/g,".")).indexOf("mbps")>-1?1e6*t.split("m")[0]:t.indexOf("kbps")>-1?1e3*t.split("k")[0]:t.indexOf("bps")>-1?1*t.split("b")[0]:"max"===e?1/0:0:t===1/0?t:1*t},e.splitPlayerAndStreamingTechnology=function(e){if(e&&"string"==typeof e){for(var t=e.split("."),n=0,r=0;r<e.length;r++)""===t[r]&&(t[r]=null,n++);return n===e.length?null:{player:t[0],streaming:t[1]}}return null},e.createVRAudioElement=function(){var t=document.createElement("source");t.setAttribute("type","audio/mp3"),t.setAttribute("src","data:audio/mpeg;base64,/+MYxAAAAANIAUAAAASEEB/jwOFM/0MM/90b/+RhST//w4NFwOjf///PZu////9lns5GFDv//l9GlUIEEIAAAgIg8Ir/JGq3/+MYxDsLIj5QMYcoAP0dv9HIjUcH//yYSg+CIbkGP//8w0bLVjUP///3Z0x5QCAv/yLjwtGKTEFNRTMuOTeqqqqqqqqqqqqq/+MYxEkNmdJkUYc4AKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq");var n={settings:o.DefaultSettings};for(e.vrAudioElement=e.vrAudioElement||new s.MediaElementWrapper(n,document.createElement("audio")),e.vrAudioElement.setAttribute("id","bitmovinplayer-audio"),e.vrAudioElement.addEventListener(a.MediaElementEvent.playing,(function(){return e.vrAudioElement.bit_wasPlayCalled=!0})),e.vrAudioElement.setAttribute("crossorigin","anonymous"),e.vrAudioElement.hasAttribute("src")&&e.vrAudioElement.removeAttribute("src");e.vrAudioElement.firstChild;)e.vrAudioElement.removeChild(e.vrAudioElement.firstChild);e.vrAudioElement.load()},e.getVRAudioElement=function(){return e.vrAudioElement||e.createVRAudioElement(),e.vrAudioElement},e.removeVRAudioElement=function(){if(e.vrAudioElement){var t=e.vrAudioElement.getWrappedElement();e.vrAudioElement=(0,i.dispose)(e.vrAudioElement),t.parentNode&&t.parentNode.removeChild(t)}},e.isFullscreen=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.webkitCurrentFullScreenElement},e.generateUniqueId=function(){return Date.now().toString(16)+Math.floor(1048576*(1+Math.random())).toString(16).substring(1)},e.getUtcDate=function(t){var n=null;return"string"!=typeof t&&isNaN(t)||(n="string"==typeof t?e.timeZoneRegex.test(t)?new Date(t):new Date(t+"Z"):new Date(t)),n},e.hashCode=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t},e.delay=function(e,t){return new Promise((function(n){setTimeout((function(){"function"==typeof t?n(t()):n()}),e)}))},e.timeInSeconds=function(e){return(0,u.toSeconds)(e.getTime())},e.toHash=function(t){var n=16,r=20,i=268435456,o=new WeakMap;function a(t,i){if(null==i)return i;if("function"==typeof i)return i.toString().replace(/\\n|\\s\\s/g,"");if(i instanceof ArrayBuffer)return String.fromCharCode.apply(null,new Uint8Array(i.slice(0,r)));if(i instanceof Uint8Array)return String.fromCharCode.apply(null,i.slice(0,r));if("object"==typeof i&&!Array.isArray(i)){if(o.has(i)){var s=JSON.stringify(Object.keys(i),a);return"[Object ".concat(Math.abs(e.hashCode(s)).toString(n),"]")}o.set(i,!0)}return i}var s=JSON.stringify(t,a);return(Math.abs(e.hashCode(s))|i).toString(n)},e.roundValue=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},e.arrayMove=function(e,t,n){var i=r([],e,!0),o=i[t];return i.splice(t,1),i.splice(n,0,o),i},e.vrAudioElement=null,e.timeZoneRegex=/(?:Z|[+-](?:2[0-3]|[01][0-9]):[0-5][0-9])$/,e}();function d(e){if(!e)return 0;var t;if((e=String(e).replace(",",".")).indexOf(":")>-1)t=e.split(":");else{if(!(e.indexOf("/")>-1))return isNaN(parseFloat(e))?0:parseFloat(e);t=e.split("/")}if(t&&Array.isArray(t)&&t.length>1){var n=parseFloat(t[0])/parseFloat(t[1]);return isNaN(n)?0:n}return 0}t.Util=l},7697:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerContext=void 0;var r=n(5469),i=function(){function e(e){var t=this;this.runsInWebWorker="undefined"==typeof window,this.onmessage=null,this.sendMessage=function(e,n){t.runsInWebWorker?postMessage(e,n):"function"==typeof t.onmessage&&setTimeout((function(){t.onmessage({data:e})}),0)},this.postMessage=function(e){setTimeout((function(){t.onMessageCallback({data:e})}),0)},this.terminate=function(){},this.onMessageCallback=function(e){e.data.action&&e.data&&t.messageHandler[e.data.action]&&t.messageHandler[e.data.action](e.data)},this.runsInWebWorker&&(0,r.installWorkerPolyfills)(),this.messageHandler=new e(this.runsInWebWorker,this.sendMessage)}return e}();t.WebWorkerContext=i},1452:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.forceReallocateStringProps=i;var r=n(1397);function i(e){Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=(0,r.forceReallocation)(e[t])),"object"==typeof e[t]&&i(e[t])}))}},6462:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MediaElementEvent=void 0,function(e){e.abort="abort",e.canplay="canplay",e.canplaythrough="canplaythrough",e.durationchange="durationchange",e.emptied="emptied",e.encrypted="encrypted",e.ended="ended",e.error="error",e.loadeddata="loadeddata",e.loadedmetadata="loadedmetadata",e.loadstart="loadstart",e.pause="pause",e.play="play",e.playing="playing",e.progress="progress",e.ratechange="ratechange",e.seeked="seeked",e.seeking="seeking",e.stalled="stalled",e.suspend="suspend",e.timeupdate="timeupdate",e.volumechange="volumechange",e.waiting="waiting",e.waitingforkey="waitingforkey",e.currenttimenotadvancing="currenttimenotadvancing",e.primestart="primestart",e.msneedkey="msneedkey",e.enterpictureinpicture="enterpictureinpicture",e.leavepictureinpicture="leavepictureinpicture",e.webkitkeymessage="webkitkeymessage",e.webkitneedkey="webkitneedkey",e.webkitkeyerror="webkitkeyerror",e.webkitkeyadded="webkitkeyadded",e.webkitplaybacktargetavailabilitychanged="webkitplaybacktargetavailabilitychanged",e.webkitpresentationmodechanged="webkitpresentationmodechanged",e.webkitcurrentplaybacktargetiswirelesschanged="webkitcurrentplaybacktargetiswirelesschanged"}(n||(t.MediaElementEvent=n={}))},1480:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MediaElementEventHandler=void 0;var r=n(8935),i=n(4838),o=n(6462),a=1e8,s=function(){function e(t,n){var i=this;this.handleVideoElementErrorEvent=function(t){if(!i.shouldSuppressEvent(t)){if(i.element.error){t.errorObject={code:i.element.error.code};var n=e.getMediaErrorName(i.element.error.code);n&&(t.errorObject.mediaError=n),"msExtendedCode"in i.element.error&&i.element.error.msExtendedCode&&(t.errorObject.systemCode=i.element.error.msExtendedCode.toString(16)),i.element.error.message&&(t.errorObject.message=i.element.error.message),t.errorMessage=Object.keys(t.errorObject).map((function(e){return e+": "+t.errorObject[e]})).join(", ")}else t.errorMessage="Video element triggered an Error, but has no error object.";i.callAllHandlers(t)}},this.handleVideoElementEvent=function(e){var t,n;(null===(n=null===(t=i.context)||void 0===t?void 0:t.logger)||void 0===n?void 0:n.isLevelEnabled(r.LogLevel.INSANE))&&i.context.logger.insane("MediaElementEvent: ".concat(e.type),e),i.shouldSuppressEvent(e)||i.callAllHandlers(e)},this.context=t,this.element=n,this.eventHandlerMap={},this.eventsToSuppress={},this.pendingTimeouts=[],this._isAd=!1,this._isPriming=!1,this.attachVideoEventHandlers()}return Object.defineProperty(e.prototype,"isAd",{get:function(){return this._isAd},set:function(e){this._isAd=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPriming",{get:function(){return this._isPriming},set:function(e){this._isPriming=e},enumerable:!1,configurable:!0}),e.prototype.suppressEvent=function(e,t,n){var r=this;if(void 0===t&&(t=a),this.eventsToSuppress[e]=this.eventsToSuppress[e]||0,this.eventsToSuppress[e]+=t,n&&n>0){var i=window.setTimeout((function(){r.eventsToSuppress[e]=Math.max(r.eventsToSuppress[e]-t,0),r.pendingTimeouts.splice(r.pendingTimeouts.indexOf(i),1)}),n);this.pendingTimeouts.push(i)}},e.prototype.clearEventSuppression=function(e){this.eventsToSuppress[e]&&(this.eventsToSuppress[e]=0)},e.prototype.clearEventSuppressions=function(){var e=this;Object.keys(this.eventsToSuppress).forEach((function(t){return e.clearEventSuppression(t)})),this.pendingTimeouts.forEach((function(e){return window.clearTimeout(e)}))},e.prototype.triggerEvent=function(e,t){void 0===t&&(t={type:e}),this.handleVideoElementEvent(t)},e.prototype.attachVideoEventHandlers=function(){var e=this;Object.keys(o.MediaElementEvent).forEach((function(t){t===o.MediaElementEvent.error?e.element.addEventListener(o.MediaElementEvent.error,e.handleVideoElementErrorEvent):e.element.addEventListener(t,e.handleVideoElementEvent)}))},e.prototype.removeVideoEventHandlers=function(){var e=this;Object.keys(o.MediaElementEvent).forEach((function(t){e.element.removeEventListener(t,e.handleVideoElementEvent)})),this.element.removeEventListener(o.MediaElementEvent.error,this.handleVideoElementErrorEvent)},e.prototype.shouldSuppressEvent=function(t){return!!this.isAd||(!(!this.isPriming||!e.PRIME_RELATED_EVENTS.includes(t.type))||this.eventsToSuppress[t.type]>0&&(this.eventsToSuppress[t.type]--,!0))},e.prototype.callAllHandlers=function(e){var t=this;this.eventHandlerMap[e.type]&&this.eventHandlerMap[e.type].forEach((function(n){t.callEventHandler(n,e)}))},e.prototype.callEventHandler=function(e,t){var n=e.eventModification?e.eventModification(t):t;e.eventHandler.handleEvent?e.eventHandler.handleEvent(n):"function"==typeof e.eventHandler?e.eventHandler(n):this.context.logger.debug("Encountered unknown event handler for "+t.type+": ",e.eventHandler)},e.prototype.addEventListener=function(e,t,n){this.eventHandlerMap[e]=this.eventHandlerMap[e]||[],this.eventHandlerMap[e].push(new u(t,n))},e.prototype.hasEventHandler=function(e,t){return!!this.eventHandlerMap[e]&&null!=this.eventHandlerMap[e].find((function(e){return e.eventHandler===t}))},e.prototype.removeEventListener=function(e,t){this.eventHandlerMap[e]&&(this.eventHandlerMap[e]=this.eventHandlerMap[e].filter((function(e){return e.eventHandler!==t})))},e.prototype.reset=function(){this.clearEventSuppressions()},e.prototype.dispose=function(){this.reset(),this.removeVideoEventHandlers(),this.eventHandlerMap=null},e.getMediaErrorName=function(e){if(MediaError)for(var t in MediaError)if(t.indexOf("MEDIA_ERR_")>-1&&MediaError[t]===e)return t;return null},e.PRIME_RELATED_EVENTS=[o.MediaElementEvent.play,o.MediaElementEvent.playing,o.MediaElementEvent.pause,o.MediaElementEvent.timeupdate],e}();t.MediaElementEventHandler=s;var u=function(){function e(e,t){this.eventHandler=e,t&&i.Util.isFunction(t)&&(this.eventModification=t)}return e}()},573:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MediaElementWrapper=void 0;var r=n(997),i=n(1356),o=n(6462),a=n(1480),s=n(1419),u=function(){function e(e,t){this.element=t,this.context=e,this.mediaElementEventHandler=new a.MediaElementEventHandler(e,t),this.nativeMediaEventListener=new s.NativeMediaEventListener(e,this),this.drmHandler=null}return Object.defineProperty(e.prototype,"audioTracks",{get:function(){return this.element.audioTracks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffered",{get:function(){return this.element.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentSrc",{get:function(){return this.element.currentSrc},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.element.duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){return this.element.ended},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"error",{get:function(){return this.element.error},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mediaKeys",{get:function(){return this.element.mediaKeys},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"msKeys",{get:function(){return this.element.msKeys},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this.element.paused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"networkState",{get:function(){return this.element.networkState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"played",{get:function(){return this.element.played},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this.element.readyState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seekable",{get:function(){return this.element.seekable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seeking",{get:function(){return this.element.seeking},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.element&&this.element.style},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textTracks",{get:function(){return this.element.textTracks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"videoTracks",{get:function(){return this.element.videoTracks},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.element.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoplay",{get:function(){return this.element.autoplay},set:function(e){this.element.autoplay=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.element.controls},set:function(e){this.element.controls=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"crossOrigin",{get:function(){return this.element.crossOrigin},set:function(e){this.element.crossOrigin=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){var e,t;return null!==(t=null===(e=this.element)||void 0===e?void 0:e.currentTime)&&void 0!==t?t:0},set:function(e){this.element.currentTime=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"innerHTML",{get:function(){return this.element.innerHTML},set:function(e){this.element.innerHTML=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"muted",{get:function(){return this.element&&this.element.muted},set:function(e){this.nativeMediaEventListener.lastKnownState.muted=e,this.element.muted=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"preload",{get:function(){return this.element.preload},set:function(e){this.element.preload=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"src",{get:function(){return this.element.src},set:function(e){this.nativeMediaEventListener.reset(),this.element.src=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"srcObject",{get:function(){return this.element.srcObject},set:function(e){this.nativeMediaEventListener.reset(),this.element.srcObject=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playbackRate",{get:function(){return this.element.playbackRate},set:function(e){try{this.element.playbackRate=e}catch(t){this.context.logger.log("Browser rejected to set playback rate to "+e)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this.element.volume},set:function(e){this.nativeMediaEventListener.lastKnownState.volume=e,this.element.volume=e},enumerable:!1,configurable:!0}),e.prototype.addTextTrack=function(e,t,n){return this.element.addTextTrack(e,t,n)},e.prototype.canPlayType=function(e,t){return this.element.canPlayType(e,t)},e.prototype.load=function(){this.element.load()},e.prototype.pause=function(){this.element&&this.element.pause()},e.prototype.play=function(){return this.internalPlay()},e.prototype.internalPlay=function(){return this.element.play()||i.PlayPromise.new(this.context,this,this.drmHandler)},e.prototype.prime=function(){var e=this,t=function(t){e.mediaElementEventHandler&&(e.mediaElementEventHandler.isPriming=t)};return t(!0),this.mediaElementEventHandler.triggerEvent(o.MediaElementEvent.primestart),this.internalPrime().then((function(){t(!1)}))},e.prototype.internalPrime=function(){this.internalPlay().catch((function(){})),this.pause();var e=this.getWrappedElement();return new Promise((function(t){var n=setTimeout((function(){e.removeEventListener(o.MediaElementEvent.pause,r),t()}),100),r=function(){clearTimeout(n),e.removeEventListener(o.MediaElementEvent.pause,r),t()};e.addEventListener(o.MediaElementEvent.pause,r)}))},e.prototype.setMediaKeys=function(e){return this.element&&this.element.setMediaKeys(e)||Promise.resolve()},e.prototype.msSetMediaKeys=function(e){return this.element&&this.element.msSetMediaKeys(e)},e.prototype.msSetMediaProtectionManager=function(e){this.element.msSetMediaProtectionManager(e)},e.prototype.getAttribute=function(e){return this.element.getAttribute(e)},e.prototype.setAttribute=function(e,t){this.element.setAttribute(e,t)},e.prototype.removeAttribute=function(e){this.element.removeAttribute(e)},e.prototype.hasAttribute=function(e){return this.element.hasAttribute(e)},e.prototype.appendChild=function(e){this.element.appendChild(e)},e.prototype.removeChild=function(e){return this.element.removeChild(e)},e.prototype.getElementsByTagName=function(e){return this.element.getElementsByTagName(e)},e.prototype.addEventListener=function(e,t,n){this.mediaElementEventHandler.addEventListener(e,t,n)},e.prototype.removeEventListener=function(e,t){this.mediaElementEventHandler&&this.mediaElementEventHandler.removeEventListener(e,t)},Object.defineProperty(e.prototype,"eventHandler",{get:function(){return this.mediaElementEventHandler},enumerable:!1,configurable:!0}),e.prototype.getWrappedElement=function(){return this.element},e.prototype.dispose=function(){this.mediaElementEventHandler=(0,r.dispose)(this.mediaElementEventHandler),this.nativeMediaEventListener=(0,r.dispose)(this.nativeMediaEventListener),this.drmHandler=null,this.element=null,this.context.logger&&this.context.logger.debug("Disposed wrapped element")},e}();t.MediaElementWrapper=u},1419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativeMediaEventListener=void 0;var r=n(8665),i=n(2510),o=n(7177),a=n(6462),s=function(){function e(e,t){var n,o,a,s,u,l,d=this;this.context=e,this.onVolumeChanged=function(){var e=d.element.volume,t=d.element.muted;d.lastKnownState.muted!==t&&(t?d.firePlayerEvent(i.PlayerEvent.Muted,{issuer:"media-element"}):d.firePlayerEvent(i.PlayerEvent.Unmuted,{issuer:"media-element"}),d.lastKnownState.muted=t),d.lastKnownState.volume!==e&&(d.firePlayerEvent(i.PlayerEvent.VolumeChanged,{issuer:"media-element",targetVolume:100*e,sourceVolume:100*d.lastKnownState.volume}),d.lastKnownState.volume=e)},this.onRateChanged=function(){var e=d.element.playbackRate;d.context.serviceManager.maybeCall(r.ServiceName.PlayerStateService,(function(t){t.playbackSpeed!==e&&t.setPlaybackSpeed(e)}))},this.onCanPlayChanged=function(){d.lastKnownState.canPlay||(d.lastKnownState.canPlay=!0,d.firePlayerEvent(i.PlayerEvent.Ready))},this.element=t,this.lastKnownState={muted:null!==(a=null===(o=null===(n=e.config)||void 0===n?void 0:n.playback)||void 0===o?void 0:o.muted)&&void 0!==a?a:t.muted,volume:null!==(l=null===(u=null===(s=e.config)||void 0===s?void 0:s.playback)||void 0===u?void 0:u.volume)&&void 0!==l?l:t.volume,playbackRate:t.playbackRate,canPlay:!1},this.addEventListeners()}return e.prototype.addEventListeners=function(){this.element.addEventListener(a.MediaElementEvent.volumechange,this.onVolumeChanged),this.element.addEventListener(a.MediaElementEvent.canplay,this.onCanPlayChanged),this.element.addEventListener(a.MediaElementEvent.ratechange,this.onRateChanged)},e.prototype.firePlayerEvent=function(e,t){(0,o.isContextAvailable)(this.context)&&this.context.eventHandler&&this.context.eventHandler.dispatchEvent(e,t)},e.prototype.removeEventListeners=function(){this.element.removeEventListener(a.MediaElementEvent.volumechange,this.onVolumeChanged),this.element.removeEventListener(a.MediaElementEvent.canplay,this.onCanPlayChanged),this.element.removeEventListener(a.MediaElementEvent.ratechange,this.onRateChanged)},e.prototype.reset=function(){this.lastKnownState.canPlay=!1},e.prototype.dispose=function(){this.removeEventListeners()},e}();t.NativeMediaEventListener=s},8794:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.HlsParserWebworkerMessageHandler=void 0,t.getContext=l;var i=n(1715),o=n(7697),a=n(9692),s=null;function u(){var e=new o.WebWorkerContext(d);return onmessage=e.onMessageCallback,e}function l(){return s||u()}var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.parseHlsPlaylist=function(e){var t=e.payload;try{var n=(0,a.parsePlaylist)(t.data,t.options);this.postMessageFunction({action:"parsedPlaylist",data:n})}catch(e){this.postMessageFunction({action:"error",data:e.message})}},t}(i.MessageHandler);t.HlsParserWebworkerMessageHandler=d,"undefined"==typeof window&&(s=u())},7967:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.generateRendition=u,t.generateStartAttributes=l,t.generatePartInfoTag=d,t.generateServerControlTag=c,t.generatePartTag=f,t.generatePreloadHintTag=p,t.generateStreamInfTag=g,t.generateVariantPlaylistId=S,t.generateSessionKeyTag=m,t.generateIFrameStreamInfTag=v,t.generateSegmentEntrySkeleton=h,t.generateCueTag=T,t.generateDateRange=_,t.generateKeyTag=I,t.generateByteRangeTag=y,t.generateMapTag=R,t.generateCustomTag=P;var o=n(2510),a=n(1397),s=n(6093);function u(e){var t,n,i;return{name:e.name,attributes:r(r({},e.attributes),{TYPE:null===(t=e.attributes)||void 0===t?void 0:t.TYPE,"GROUP-ID":null===(n=e.attributes)||void 0===n?void 0:n["GROUP-ID"],NAME:null===(i=e.attributes)||void 0===i?void 0:i.NAME})}}function l(e){var t,n;return(null===(t=e.attributes)||void 0===t?void 0:t.hasOwnProperty("TIME-OFFSET"))&&(n={timeOffset:Number(e.attributes["TIME-OFFSET"]),precise:"YES"===e.attributes.PRECISE}),e.attributes&&n&&n.hasOwnProperty("timeOffset")&&(e.attributes["TIME-OFFSET"]=n.timeOffset,e.attributes.PRECISE=n.precise),n}function d(e){return{targetDuration:parseFloat(e["PART-TARGET"])}}function c(e){var t={canBlockReload:!1};return e.attributes?(e.attributes["CAN-SKIP-UNTIL"]&&(t.canSkipUntil=parseFloat(e.attributes["CAN-SKIP-UNTIL"])),e.attributes["CAN-SKIP-DATERANGES"]&&(t.canSkipDateRanges="YES"===e.attributes["CAN-SKIP-DATERANGES"]),e.attributes["HOLD-BACK"]&&(t.holdBack=parseFloat(e.attributes["HOLD-BACK"])),e.attributes["PART-HOLD-BACK"]&&(t.partHoldBack=parseFloat(e.attributes["PART-HOLD-BACK"])),e.attributes["CAN-BLOCK-RELOAD"]&&(t.canBlockReload="YES"===e.attributes["CAN-BLOCK-RELOAD"]),t):t}function f(e,t){var n={uri:(0,a.forceReallocation)(e.URI),duration:parseFloat(e.DURATION)};if("YES"===e.INDEPENDENT&&(n.independent=!0),e.BYTERANGE){var r=e.BYTERANGE.split("@"),i=parseInt(r[0]),o=parseInt(r[1]);isNaN(o)&&(o=(null==t?void 0:t.byteRange)?t.byteRange.end+1:0),n.byteRange={start:o,end:o+i-1}}return"YES"===e.GAP&&(n.gap=!0),n}function E(e){var t=parseInt(e["BYTERANGE-START"]),n=parseInt(e["BYTERANGE-END"]);if(!isNaN(t)||!isNaN(n))return{start:isNaN(t)?0:t,end:isNaN(n)?Math.pow(2,53)-1:n}}function p(e,t){if("PART"===e.TYPE){var n={uri:(0,a.forceReallocation)(e.URI),duration:t,isPreloadHint:!0};return(r=E(e))&&(n.byteRange=r),{part:n}}if("MAP"===e.TYPE){var r,i={url:(0,a.forceReallocation)(e.URI)};return(r=E(e))&&(i.byteRange=r),{init:i}}return{}}function g(e,t){var n,i,o,a,s,u={name:e.name,uri:t,attributes:r(r({},e.attributes),{BANDWIDTH:null===(n=e.attributes)||void 0===n?void 0:n.BANDWIDTH})};return(null===(i=e.attributes)||void 0===i?void 0:i.RESOLUTION)&&(u.attributes.RESOLUTION=O(e)),(null===(o=e.attributes)||void 0===o?void 0:o.BANDWIDTH)&&(u.attributes.BANDWIDTH=parseInt(e.attributes.BANDWIDTH)),(null===(a=e.attributes)||void 0===a?void 0:a["AVERAGE-BANDWIDTH"])&&(u.attributes["AVERAGE-BANDWIDTH"]=parseInt(e.attributes["AVERAGE-BANDWIDTH"])),(null===(s=e.attributes)||void 0===s?void 0:s["PROGRAM-ID"])&&(u.attributes["PROGRAM-ID"]=parseInt(e.attributes["PROGRAM-ID"])),u.id=S(u.attributes),u}function S(e){var t="";return e.RESOLUTION&&(t+=e.RESOLUTION.height+"_"),t+=e.BANDWIDTH}function m(e){A(e)}function v(e){var t,n,r;(null===(t=e.attributes)||void 0===t?void 0:t.BANDWIDTH)&&(e.attributes.BANDWIDTH=parseInt(e.attributes.BANDWIDTH)),(null===(n=e.attributes)||void 0===n?void 0:n["AVERAGE-BANDWIDTH"])&&(e.attributes["AVERAGE-BANDWIDTH"]=parseInt(e.attributes["AVERAGE-BANDWIDTH"],10)),(null===(r=e.attributes)||void 0===r?void 0:r.RESOLUTION)&&(e.attributes.RESOLUTION=O(e))}function h(){return{uri:"",duration:0,mediaSequence:0}}function T(e,t){var n={type:t};if(e.attributes){var r=[];for(var i in e.attributes)if(e.attributes.hasOwnProperty(i)){var o=e.attributes[i]?"".concat(i,"=").concat(e.attributes[i]):i;r.push(o)}n.attributes=r}return n}function _(e){var t={type:o.MetadataType.DATERANGE};if(e.attributes){t.clientAttributes={};var n=e.attributes;for(var r in n)if(n.hasOwnProperty(r))if(r.startsWith("X-")){var i=2;t.clientAttributes[(0,a.kebabCaseToCamelCase)(r.substring(i))]=n[r]}else t[(0,a.kebabCaseToCamelCase)(r)]=n[r]}return t.duration&&(t.duration=Number(t.duration)),t.plannedDuration&&(t.plannedDuration=Number(t.plannedDuration)),t.endOnNext&&(t.endOnNext=!0),t}function I(e){if(A(e),e.attributes&&"NONE"!==e.attributes.METHOD&&e.attributes.URI){var t={method:(0,a.forceReallocation)(e.attributes.METHOD)||"AES-128",uri:(0,a.forceReallocation)(e.attributes.URI)};return void 0!==e.attributes.IV&&(t.iv=e.attributes.IV),e.attributes.KEYFORMAT&&(t.keyformat=(0,a.forceReallocation)(e.attributes.KEYFORMAT)),e.attributes.KEYFORMATVERSIONS&&(t.keyformatversions=(0,a.forceReallocation)(e.attributes.KEYFORMATVERSIONS)),e.attributes.KEYID&&(t.keyid=(0,a.forceReallocation)(e.attributes.KEYID)),t}}function y(e,t){var n;if(e.value){var r=e.value.split("@"),i=r[0],o=r[1],a={length:parseInt(i||"0")};if(o)a.offset=parseInt(o);else{var s=t[t.length-1];(null==s?void 0:s.byterange)&&(a.offset=(null!==(n=s.byterange.offset)&&void 0!==n?n:0)+s.byterange.length)}return a}}function R(e,t){var n,r;if(null===(n=e.attributes)||void 0===n?void 0:n.URI){var o={url:(0,a.forceReallocation)(e.attributes.URI)};if(null===(r=e.attributes)||void 0===r?void 0:r.BYTERANGE){var s=e.attributes.BYTERANGE.split("@"),u=s[0],l=s[1];o.byteRange={start:parseInt(l),end:parseInt(l)+parseInt(u)-1}}return t.keys.length>0&&(o.keys=i([],t.keys,!0),t.keyInUse=!0),o}}function A(e){var t;if(null===(t=e.attributes)||void 0===t?void 0:t.IV){e.attributes.IV=e.attributes.IV.toLowerCase();var n=2;"0x"===e.attributes.IV.substring(0,n)&&(e.attributes.IV=e.attributes.IV.substring(n)),e.attributes.IV=new Uint8Array(s.FormatHelper.hexToBytes(e.attributes.IV)).buffer}}function O(e){var t,n={width:0,height:0},r=null===(t=e.attributes)||void 0===t?void 0:t.RESOLUTION.split("x");return r[0]&&(n.width=parseInt(r[0])),r[1]&&(n.height=parseInt(r[1])),n}var N=/(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))/,M=/([^=]*)=(.*)/,b=/^[\'"](.*)[\'"]$/,L=/^[\'"](.*)[\'"]$/g,D=/^([^:="]*)([:=])?(.*)$/;function P(e){try{e=(0,a.forceReallocation)(e);var t=/^#([^:=]*)([:=])?(.*)$/.exec(e);if(!(null==t?void 0:t[1]))return;var n={name:t[1]},r="";if("="===t[2]&&t[3])r=t[3];else if(":"===t[2]&&t[3]){var i=D.exec(t[3]);i&&"="===i[2]&&i[3]?n.attributes=C(t[3]):r=t[3]}return r&&(n.value=r.replace(L,"$1")),n}catch(e){return}}function C(e){for(var t=e.split(N),n=t.length,r={};n--;)if(""!==t[n]){var i=M.exec(t[n]);if(i){var o=i.slice(1),a=o[0],s=o[1];r[a.trim()]=s.trim().replace(b,"$1")}}return r}},7485:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TextParser=void 0;var n=/[ \\t]+/gm,r=function(){function e(e){this.data=e,this.position=0}return e.prototype.isAtEnd=function(){return this.position===this.data.length},e.prototype.skipWhitespace=function(){this.readRegex(n)},e.prototype.readRegex=function(e){var t=this.indexOf(e);if(!this.isAtEnd()&&void 0!==t&&t.position===this.position)return this.position+=t.length,t.results},e.prototype.indexOf=function(e){e.lastIndex=this.position;var t=e.exec(this.data);if(null!==t)return{position:t.index,length:t[0].length,results:t}},e}();t.TextParser=r},9692:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parsePlaylist=d;var r,i=n(6461),o=n(2600),a=n(5877),s=n(7967),u=/\\r\\n|\\r(?=[^\\n]|$)/gm,l=/^#EXTM3U($|[ \\t\\n])/m;function d(e,t){void 0===t&&(t={});var n=-1===e.indexOf("#EXTINF")?r.Master:r.Media,d=e.replace(u,"\\n").trim().split(/\\n+/m),f=(0,i.removeTrailingWhitespaces)(d[0]);if(!l.test(f))throw new Error("Playlist parsing failed: missing #EXTM3U tag");if(n===r.Media)return(0,a.parseVariant)(d,t);for(var E,p=[],g=[],S=[],m=1,v=!0,h=!1,T=!0,_=0;_<d.length;_++){var I=(0,i.removeTrailingWhitespaces)(d[_]),y=d[_+1];if((0,i.isCustomTag)(I))c(p,I);else if(T)T=!1;else{var R=(0,o.parseTag)(I);switch(R.name){case"EXT-X-STREAM-INF":S.push((0,s.generateStreamInfTag)(R,(0,i.removeTrailingWhitespaces)(y))),T=!0;break;case"EXT-X-MEDIA":var A=(0,s.generateRendition)(R);g.push(A),p.push(A);break;case"EXT-X-VERSION":m=Number(R.value);break;case"EXT-X-START":E=(0,s.generateStartAttributes)(R),p.push(R);break;case"EXT-X-ALLOW-CACHE":v="YES"===R.value||void 0===R.value;break;case"EXT-X-INDEPENDENT-SEGMENTS":h=!0,p.push(R);break;case"EXT-X-I-FRAME-STREAM-INF":(0,s.generateIFrameStreamInfTag)(R),p.push(R);break;case"EXT-X-SESSION-DATA":default:p.push(R);break;case"EXT-X-SESSION-KEY":(0,s.generateSessionKeyTag)(R),p.push(R)}}}var O={version:m,allowCache:v,independentSegments:h,hasM3u:!0,media:g,playlists:S,tags:p=p.concat(S)};return E&&(O.start=E),O}function c(e,t){var n=(0,s.generateCustomTag)(t);n&&e.push(n)}!function(e){e.Master="master",e.Media="media"}(r||(r={}))},6461:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.parseSegments=d,t.addCustomTagToPlaylistTagList=c,t.handleCustomTag=f,t.removeTrailingWhitespaces=T,t.isCustomTag=_;var o=n(2510),a=n(7550),s=n(2600),u=n(5877),l=n(7967);function d(e,t,n,r){void 0===r&&(r={});for(var o,d=[],c=0,I=(0,l.generateSegmentEntrySkeleton)(),y=i([],t,!0),R=0,A=n.mediaSequence,O={keys:[],keyInUse:!1},N=function(){I=(0,l.generateSegmentEntrySkeleton)(),y=[],R=0},M=function(e){E(I,R,e,o,O,y,A),d.push(I),c+=R,A++,N()},b=function(e){var t,a,c=(0,s.parseTag)(e);switch(c.name){case"EXTINF":R=parseFloat(c.value);break;case"EXT-X-BYTERANGE":I.byterange=(0,l.generateByteRangeTag)(c,d);break;case"EXT-X-DISCONTINUITY":I.discontinuity=!0;break;case"EXT-X-PROGRAM-DATE-TIME":g(I,c);break;case"EXT-X-KEY":if("NONE"===(null===(t=c.attributes)||void 0===t?void 0:t.METHOD)){O.keys=[];break}p(c,O);break;case"EXT-X-MAP":o=(0,l.generateMapTag)(c,O);break;case"EXT-X-DATERANGE":S(I,c);break;case"EXT-X-CUE-OUT-CONT":I.cueTag=(0,l.generateCueTag)(c,"CUE-OUT-CONT");break;case"EXT-X-CUE-OUT":I.cueTag=(0,l.generateCueTag)(c,"CUE-OUT");break;case"EXT-X-CUE-IN":I.cueTag=(0,l.generateCueTag)(c,"CUE-IN");break;case"EXT-X-SCTE35":m(I,c);break;case"EXT-X-PART":v(c,I,r);break;case"EXT-X-PRELOAD-HINT":var f=h(c,n.partInfo,r);f.init&&(o=f.init,O.keys.length>0&&(o.keys=i([],O.keys,!0),O.keyInUse=!0)),f.part&&(I.parts=null!==(a=I.parts)&&void 0!==a?a:[],I.parts.push(f.part));break;case"EXT-X-ENDLIST":n.endList=!0;break;default:(0,u.resolvePlaylistTag)(n,c,y)}},L=0,D=e;L<D.length;L++){var P=T(D[L]);if(""!==P)!P.startsWith("#")?M(P):_(P)?f(n,y,P):b(P)}I.parts&&I.parts.length>0&&(R=I.parts.reduce((function(e,t){return e+t.duration}),0),M(a.PHANTOM_SEGMENT_URL)),n.segments=d,n.totalDuration=c}function c(e,t){void 0===e.tags&&(e.tags=[]),t&&e.tags.push(t)}function f(e,t,n){t.push({type:o.MetadataType.CUSTOM,attributes:n}),c(e,(0,l.generateCustomTag)(n))}function E(e,t,n,r,o,a,s){e.duration=t,e.uri=n,e.mediaSequence=s,r&&(e.init=r),a.length>0&&(e.customTags=a),o.keys.length>0&&(e.keys=i([],o.keys,!0),o.keyInUse=!0)}function p(e,t){t.keyInUse&&(t.keys=[],t.keyInUse=!1);var n=(0,l.generateKeyTag)(e);void 0!==n&&t.keys.push(n)}function g(e,t){t.value&&(e.dateTime=new Date(t.value))}function S(e,t){void 0===e.dateRange&&(e.dateRange=[]),e.dateRange.push((0,l.generateDateRange)(t))}function m(e,t){var n;void 0===e.scte35&&(e.scte35=[]),e.scte35.push({type:o.MetadataType.SCTE,attributes:r({CUE:null===(n=t.attributes)||void 0===n?void 0:n.CUE},t.attributes)})}function v(e,t,n){var r;if(n.parsePartTags){t.parts=null!==(r=t.parts)&&void 0!==r?r:[];var i=t.parts[t.parts.length-1];t.parts.push((0,l.generatePartTag)(e.attributes,i))}}function h(e,t,n){return n.parsePartTags&&t?(0,l.generatePreloadHintTag)(e.attributes,t.targetDuration):{}}function T(e){return e.replace(/^[ \\t]+/g,"")}function _(e){return/^#(?!EXT)/m.test(e)}},2600:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseTag=s;var r=n(7485),i=/^#(EXT[^:]*)(?::(.*))?$/,o=/^(?:"([^"]*)"|([^,=]+))(?:,|$)/g,a=/([^=]+)=*(?:"([^"]*)"|([^",]*))(?:,|$)/g;function s(e){var t,n=i.exec(e);if(!n)throw new Error("Invalid tag "+e);var s,u=n[1],l=n[2],d={};if(l){var c=new r.TextParser(l),f=void 0,E=c.readRegex(o);for(E&&(s=null!==(t=E[1])&&void 0!==t?t:E[2]);f=c.readRegex(a);){var p=f[1],g=f[2]||f[3];if(p.includes(",")){var S=p.split(","),m=S[0];p=S[1].trim(),d[m]=void 0}d[p]=g,c.skipWhitespace()}}return{name:u,attributes:d,value:s}}},5877:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SEGMENT_TAGS=void 0,t.parseVariant=u,t.resolvePlaylistTag=d;var i=n(2510),o=n(6461),a=n(2600),s=n(7967);function u(e,n){void 0===n&&(n={});for(var r={version:1,allowCache:!0,hasM3u:!0,endList:!1,segments:[],targetDuration:0,totalDuration:0,mediaSequence:0},i=[],s=0;s<e.length;s++){var u=(0,o.removeTrailingWhitespaces)(e[s]);if(""!==u)if((0,o.isCustomTag)(u))(0,o.handleCustomTag)(r,i,u);else{var c=(0,a.parseTag)(u);if(t.SEGMENT_TAGS.includes(c.name))return(0,o.parseSegments)(e.slice(s),i,r,n),l(r),r;d(r,c,i)}}return l(r),r}function l(e){var t;"EVENT"===e.playlistType&&(e.discontinuitySequence=null!==(t=e.discontinuitySequence)&&void 0!==t?t:0)}function d(e,t,n){switch(t.name){case"EXT-X-VERSION":e.version=Number(t.value);break;case"EXT-X-START":e.start=(0,s.generateStartAttributes)(t);break;case"EXT-X-INDEPENDENT-SEGMENTS":e.independentSegments=!0;break;case"EXT-X-TARGETDURATION":t.value&&(e.targetDuration=parseInt(t.value));break;case"EXT-X-MEDIA-SEQUENCE":t.value&&(e.mediaSequence=parseInt(t.value));break;case"EXT-X-DISCONTINUITY-SEQUENCE":t.value&&(e.discontinuitySequence=parseInt(t.value));break;case"EXT-X-PLAYLIST-TYPE":e.playlistType="EVENT"===t.value?"EVENT":"VOD";break;case"EXT-X-PART-INF":e.partInfo=(0,s.generatePartInfoTag)(t.attributes);break;case"EXT-X-ALLOW-CACHE":e.allowCache="NO"!==t.value;break;case"EXT-X-SERVER-CONTROL":e.serverControl=(0,s.generateServerControlTag)(t);break;case"EXTM3U":break;default:n.push(r({type:i.MetadataType.CUSTOM},t)),(0,o.addCustomTagToPlaylistTagList)(e,t)}}t.SEGMENT_TAGS=["EXTINF","EXT-X-BYTERANGE","EXT-X-DISCONTINUITY","EXT-X-PROGRAM-DATE-TIME","EXT-X-KEY","EXT-X-GAP","EXT-X-BITRATE","EXT-X-PART","EXT-X-DATERANGE","EXT-X-MAP","EXT-X-CUE-OUT-CONT","EXT-X-CUE-OUT","EXT-X-CUE-IN","EXT-X-SCTE35","EXT-X-DATERANGE"]},3553:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoErrors=void 0;var n=function(){function e(){}return e.COULD_NOT_LOAD_PLAYLIST={code:"COULD_NOT_LOAD_PLAYLIST"},e.END_OF_STREAM_REACHED={code:"END_OF_STREAM_REACHED"},e.PERIOD_COMPLETE={code:"PERIOD_COMPLETE"},e.SEGMENT_EXCEEDING_PERIOD_DURATION={code:"SEGMENT_EXCEEDING_PERIOD_DURATION"},e}();t.SegmentInfoErrors=n},8915:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isSegmentTiming=o,t.findSegmentIndexForTime=a,t.createInitSegmentInfoBase=l,t.getSegmentInfoTimeRange=d,t.generateSegmentId=c;var r=n(16),i=n(4838);function o(e){return"startTime"in e&&(0,r.isNumber)(e.startTime)&&"duration"in e&&(0,r.isNumber)(e.duration)}function a(e,t,n){var r=!e||!e.length,i=t<e[0].startTime+e[0].duration;if(r||i)return 0;var o=e.length-1;if(t>=e[o].startTime)return o;var a=Math.max(t-e[0].startTime,0),l=Math.min(Math.floor(a/n),e.length-1);return s(e[0])&&s(e[l])?u(e,t,l):null}function s(e){return e&&(0,r.isNumber)(e.startTime)}function u(e,t,n){for(var r=e.length-1;e[n].startTime>t||t>=e[n].startTime+e[n].duration;){if(t<e[n].startTime?n--:n++,n<=0)return 0;if(n>=r)return r;if(!s(e[n]))return null}return n}function l(e){var t=e._internalId;return{internalRepresentationId:t,representationId:t.representationId,periodId:t.periodId,mimeType:e._mimeType,isInitSegment:!0}}function d(e){if((null==e?void 0:e.duration)&&void 0!==(null==e?void 0:e.startTime))return{start:e.startTime,end:e.startTime+e.duration}}function c(e){var t,n,r=null!==(n=null===(t=e.discontinuitySequenceNumber)||void 0===t?void 0:t.toString())&&void 0!==n?n:e.periodId,o=e.byteRange?"-".concat(e.byteRange.start,":").concat(e.byteRange.end):"";return i.Util.hashCode("".concat(r,":").concat(e.url).concat(o))}},7550:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentListMPDHandler=t.PHANTOM_SEGMENT_URL=void 0,t.assignSegmentStartTimesFromHlsPlaylist=y,t.copyPropValues=N,t.getMatchingPart=M;var i=n(8665),o=n(2055),a=n(1397),s=n(1361),u=n(4388),l=n(1452),d=n(331),c=n(16),f=n(6885),E=n(1520),p=n(6368),g=n(2103),S=n(3326),m=n(3553),v=n(8915);t.PHANTOM_SEGMENT_URL="PHANTOM-SEGMENT";var h=function(){function e(e){this.lastLookupInformation={time:-1,representationId:""},this.context=e,this.sourceContext=e.sourceContext,this.settings=e.settings,this.logger=e.logger,this.manifestService=e.serviceManager.get(i.ServiceName.ManifestService,this.sourceContext.sourceIdentifier),this.distanceToListStartSeconds=0,this.segmentListMap={},this.timestampOffset=NaN}return e.prototype.createSegmentListEntry=function(e,t){if(!e)return null;var n={isInitSegment:!1,url:e._media,duration:e._duration,internalRepresentationId:t,periodId:t.periodId};if(e._key&&(n.key=e._key),e._dateTime&&(n.dateTime=e._dateTime),e._metadata&&(n.metadata=e._metadata),e._byteRange&&(n.byteRange=e._byteRange),e._init&&(n.init=e._init),void 0!==e._mediaSequence&&(n.mediaSequence=e._mediaSequence),void 0!==e._discontinuitySequenceNumber&&(n.discontinuitySequenceNumber=e._discontinuitySequenceNumber),e._parts){var r=n.dateTime;n.parts=e._parts.map((function(e){var t=R(e,n);return r&&(t.dateTime=r,t.startTime=(0,d.toSeconds)(r.getTime()),r=new Date(r.getTime()+(0,d.toMilliSeconds)(e.duration))),t}))}return n.segmentId=(0,v.generateSegmentId)(n),n},e.prototype.removeDroppedOutSegmentsFromList=function(e,t,n){if(t.SegmentURL.length<1)return e.entries=[],e.totalDuration=0,e.entries.length;for(var r=this.createSegmentListEntry(t.SegmentURL[0],n),i=0,o=0,a=0;a<e.entries.length;a++){var s=e.entries[a];if((0,g.isIdenticalSegmentInfo)(s,r))break;i+=s.duration,e.entries.splice(a,1),a--,o++,this.manifestService.isLive()&&this.currentRepresentationId.equals(n)&&this.rewindOneSegment()}return e.totalDuration-=i,o},e.prototype.addNewSegmentsToList=function(e,t,n){for(var r,i=e.entries.length>0,o=[],s=e.entries[e.entries.length-1],u=0,d=t.SegmentURL.length-1;d>=0;d--){var c=this.createSegmentListEntry(t.SegmentURL[d],n);if(s&&(0,g.isIdenticalSegmentInfo)(s,c)){if(A(s)){var f=O(s,c);e.totalDuration+=f}break}s&&(0,g.isIdenticalInitSegmentInfo)(s.init,c.init)&&(c.init=s.init),isNaN(c.duration)&&(c.duration=e.maximumSegmentDuration),c.duration/=e.timescale,u+=c.duration,i&&(c.url=(0,a.forceReallocation)(c.url),null===(r=c.metadata)||void 0===r||r.forEach((function(e){return(0,l.forceReallocateStringProps)(e)}))),o.unshift(c)}return e.totalDuration+=u,e.entries=e.entries.concat(o),o.length},e.prototype.updateSegmentList=function(e,t){var n,r,i=t.SegmentList,o=t._internalId.representationId,a=null===(n=this.currentRepresentationId)||void 0===n?void 0:n.equals(t._internalId),s=null===(r=null==i?void 0:i[0])||void 0===r?void 0:r.SegmentURL.length;if(!a||s){e.Uri&&e.Uri!==t.Uri&&this.resetSegmentListUponFailover(e,null==i?void 0:i[0],a),e.Uri=t.Uri,e.timescale=1,e.maximumSegmentDuration=1,e.startNumber=1;for(var u=function(n){var r=i[n];if(r.hasOwnProperty("_duration")&&(e.maximumSegmentDuration=Number(r._duration)),["_timescale","_startNumber","_presentationTimeOffset"].filter((function(e){return r.hasOwnProperty(e)})).forEach((function(t){return e[t.substr(1)]=r[t]})),l.updateInitInfo(e,r,t),r.hasOwnProperty("SegmentURL")){var a=l.removeDroppedOutSegmentsFromList(e,r,t._internalId),s=l.addNewSegmentsToList(e,r,t._internalId);l.logManifestUpdateStats(t._mimeType,o,a,s),l.manifestService.isHlsManifest()?y(e.entries,o,l.manifestService):l.assignSegmentStartTimesForDash(e,t._internalId)}},l=this,d=0;d<i.length;d++)u(d)}},e.prototype.resetSegmentListUponFailover=function(e,t,n){var r,i,o,a,u,l;if(this.manifestService.isLive()&&n){var d=null!==(o=null===(i=null===(r=e.entries)||void 0===r?void 0:r[0])||void 0===i?void 0:i.mediaSequence)&&void 0!==o?o:1/0,c=(null!==(u=null===(a=null==t?void 0:t.SegmentURL[0])||void 0===a?void 0:a._mediaSequence)&&void 0!==u?u:0)-d,f=D(e);!isNaN(c)&&c>0&&c<f&&this.rewindSegmentListIndexBy(c)}(0,s.clearArray)(null!==(l=e.entries)&&void 0!==l?l:[])},e.prototype.updateInitInfo=function(e,t,n){var r,i=null===(r=E.ModuleManager.get(p.ModuleName.DASH,!1))||void 0===r?void 0:r.initSegmentInfoSourceDetectors.isInitializationNode;(null==i?void 0:i(t))?e.init=E.ModuleManager.get(p.ModuleName.DASH,!1).initSegmentInfoProviders.provideSegmentInfoFromInitializationNodeProperty(t,n):delete e.init},e.prototype.logManifestUpdateStats=function(e,t,n,r){(n>0||r>0)&&this.logger.debug("[".concat(e,"][").concat(t,"] Updated segment list, removed ").concat(n," segments and added ").concat(r," segments"))},e.prototype.assignSegmentStartTimesForDash=function(e,t){var n=this.getMinStartTime(t),r=0;e.entries.forEach((function(e){var t;e.startTime=n+r,r+=null!==(t=e.duration)&&void 0!==t?t:0}))},e.prototype.extrapolateStartTimesFromDiscontinuityStarts=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId),n=E.ModuleManager.get(p.ModuleName.HLS).selectors,r=n.getHlsState,i=n.getDiscoSequenceTimings,o=n.getPlaylistStartTime,a=_(t,i(r(this.getSourceStateService().getState())));if(!a){var s=o(r(this.getSourceStateService().getState()),e.getRepresentationId().representationId);a={index:0,discontinuityStartTime:s},this.logger.debug("Could not find matching discontinuity start times for "+"".concat(e.getSegmentInfo().discontinuitySequenceNumber," using playlist startTime: ").concat(s))}this.logger.debug("Aligning segments of ".concat(e.getRepresentationId().representationId," to discontinuity start ")+"".concat(a.discontinuityStartTime," of ").concat(e.getSegmentInfo().discontinuitySequenceNumber)),t[a.index].startTime=a.discontinuityStartTime;for(var u=a.index-1;u>=0;u--)t[u].startTime=t[u+1].startTime-t[u+1].duration;for(u=a.index+1;u<t.length;u++)t[u].startTime=t[u-1].startTime+t[u-1].duration},e.prototype.getSourceStateService=function(){return this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.getListIndexForSegment=function(e,t){for(var n=-1,r=this.getSegmentListEntries(t),i=r.length-1;i>=0;i--)if((0,g.isIdenticalSegmentInfo)(r[i],e)){n=i;break}return n},e.prototype.populateSegmentListMap=function(e){var t=this;this.manifestService.getAdaptationSet(e).Representation.forEach((function(e){var n=t.segmentListMap[e._internalId.key()];if(n||(n=t.initializeSegmentList(e._internalId.key())),e.hasOwnProperty("SegmentList")&&(t.updateSegmentList(n,e),E.ModuleManager.has(p.ModuleName.DASH))){var r=E.ModuleManager.get(p.ModuleName.DASH).initSegmentInfoSourceDetectors.isInitializationNode;if(!n.hasOwnProperty("init")&&e.hasOwnProperty("SegmentBase")&&e.SegmentBase&&r(e.SegmentBase[0])){var i=E.ModuleManager.get(p.ModuleName.DASH).initSegmentInfoProviders.provideSegmentInfoFromInitializationNodeProperty;n.init=i(e.SegmentBase[0],e)}}}))},e.prototype.selectNewRepresentationId=function(){var e,t,n=this,r=null===(e=this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.sourceContext.sourceIdentifier).getState().activeTracks)||void 0===e?void 0:e[this.adaptationSetId.adaptationSetId];if((null===(t=null==r?void 0:r.selectedRepresentationId)||void 0===t?void 0:t.periodId)===this.adaptationSetId.periodId)return r.selectedRepresentationId;if(this.currentRepresentationId){var o=this.manifestService.getRepresentation(this.adaptationSetId,this.currentRepresentationId.representationId);if(o)return o._internalId}var a=function(e){return n.isSegmentInfoLoaded(e._internalId)};return(this.getMatchingRepresentationByBandwidth(a)||this.getMatchingRepresentationByBandwidth())._internalId},e.prototype.getMatchingRepresentationByBandwidth=function(e){return this.manifestService.getMatchingRepresentationByBandwidth(this.adaptationSetId,this.getCurrentBandwidth(),e)},e.prototype.shouldUpdateRepresentation=function(){var e=this.adaptationSetId.equals(this.currentRepresentationId),t=!this.currentRepresentationId||Boolean(this.manifestService.getRepresentationById(this.currentRepresentationId));return!this.currentRepresentationId||!e||!t},e.prototype.setAdaptationSetId=function(e){this.adaptationSetId=e,this.populateSegmentListMap(this.adaptationSetId);var t,n=this.manifestService.isLive(),r=0;this.shouldUpdateRepresentation()&&(this.currentRepresentationId=this.selectNewRepresentationId());var i=this.segmentListMap[this.currentRepresentationId.key()];if(i||(i=this.initializeSegmentList(this.currentRepresentationId.key())),i&&n&&i.entries&&i.entries.length>0){var o=i.entries.length-1;this.listIndex>o&&(r=this.listIndex-o),this.listIndex=Math.min(o,this.listIndex||0),this.listIndex=Math.max(0,this.listIndex),t=i.entries[this.listIndex]}if(this.listIndex=this.listIndex||0,n&&(this.distanceToListStartSeconds=this.getSegmentDuration()*this.settings.LIVE_SEGMENT_LIST_START_INDEX_OFFSET),n){if(t&&i){var a=this.getListIndexForSegment(t,this.currentRepresentationId);a>=0?this.listIndex=a+r:this.reset()}else this.reset();var s=this.checkForSegmentInfoError();s?this.rejectPendingSegmentInfoRequest(s):this.resolvePendingSegmentInfoRequests()}else this.resolvePendingSegmentInfoRequests()},e.prototype.initializeSegmentList=function(e){var t={totalDuration:0,entries:[],SegmentURL:[],startNumber:0,init:null,maximumSegmentDuration:1,timescale:1};return this.segmentListMap[e]=t,t},e.prototype.getCurrentBandwidth=function(){var e=0,t=this.getCurrentRepresentation();return t&&(e=t._bandwidth),e},e.prototype.checkForSegmentInfoError=function(){var e;if(this.manifestService.isHlsManifest()){var t=this.manifestService.getRepresentationById(this.currentRepresentationId);if(null===(e=null==t?void 0:t._hls)||void 0===e?void 0:e.hasFailedToLoad)return m.SegmentInfoErrors.COULD_NOT_LOAD_PLAYLIST}return this.hasNext()||this.manifestService.isLastPeriod(this.currentRepresentationId.periodId)?null:m.SegmentInfoErrors.PERIOD_COMPLETE},e.prototype.reset=function(){this.settings.ENABLE_SEEK_FOR_LIVE?this.listIndex=0:this.timeShift(0)},e.prototype.syncSegmentStartTimeUsingMediaSequenceNumber=function(e,t){var n,r,i,o,a=this.manifestService.getRepresentationById(e),u=this.manifestService.getRepresentationById(t),l=(0,c.isNumber)(null===(n=null==u?void 0:u._hls)||void 0===n?void 0:n.mediaSequence)&&(0,c.isNumber)(null===(r=null==a?void 0:a._hls)||void 0===r?void 0:r.mediaSequence);if(a&&u&&l){var d=(null===(i=null==u?void 0:u._hls)||void 0===i?void 0:i.mediaSequence)-(null===(o=null==a?void 0:a._hls)||void 0===o?void 0:o.mediaSequence),f=this.getSegmentListEntries(e),E=this.getSegmentListEntries(t);if(!(d>=f.length)){E[0].startTime=f[d].startTime;var p=function(e,t){(0,c.isNumber)(e.startTime)&&(0,c.isNumber)(e.duration)&&(t.startTime=e.startTime+e.duration)};(0,s.forEachFromIndex)(E,1,p)}}},e.prototype.setRepresentationId=function(e){var t=this.manifestService.getRepresentationById(e),n=this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex];if(t){var r=void 0===this.currentRepresentationId,i=this.currentRepresentationId;if(this.currentRepresentationId=e,this.manifestService.isLive()&&t._hls)if(this.settings.HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE&&this.syncSegmentStartTimeUsingMediaSequenceNumber(i,this.currentRepresentationId),r)this.reset();else if(this.settings.HLS_SYNC_VIA_MEDIA_SEQUENCE){var o=this.manifestService.getRepresentationById(i)._hls.mediaSequence+this.listIndex;this.listIndex=o-t._hls.mediaSequence,this.listIndex=Math.max(this.listIndex,0)}else if(null!=(null==n?void 0:n.startTime)&&!isNaN(n.startTime)){var a=this.getIndexForTime(n.startTime);null===a||isNaN(a)||(this.listIndex=this.adaptListIndexToCorrectIndex(a,n.startTime))}return!0}return!1},e.prototype.adaptListIndexToCorrectIndex=function(e,t){var n=this.getSegmentListEntries(this.currentRepresentationId),r=[n[e],n[e+1]];if(e===n.length-1||r.some((function(e){return!e.startTime})))return e;var i=r.map((function(e){return Math.abs(e.startTime-t)})),o=Math.min.apply(this,i);return e+i.indexOf(o)},e.prototype.getInitSegmentInfo=function(){var e=this.getSegmentList(this.currentRepresentationId);if(null==e?void 0:e.init)return e.init.presentationTimeOffset=this.getTimestampOffset(),e.init;var t=this.getSegmentListEntries(this.currentRepresentationId);if(this.isIndexInBounds(t)&&this.listIndex>-1){var n=r({},t[this.listIndex]);if(n.init){var i=n.init;return i.isInitSegment=!0,i}}return null},e.prototype.getNextSegmentInfo_=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId);if(!(t.length<1||this.listIndex<0)&&this.isIndexInBounds(t))return this.updateIndexForLowLatencyHls(e),this.getNextSegmentOrPart(e)},e.prototype.updateIndexForLowLatencyHls=function(e){var t;if(this.context.settings.LL_HLS)if(0!==e){var n=null===(t=this.getCurrentRepresentation())||void 0===t?void 0:t._id;n===this.lastLookupInformation.representationId&&e===this.lastLookupInformation.time||(this.listIndex=this.getIndexForTime(e)),this.lastLookupInformation={time:e,representationId:n}}else this.context.logger.debug("Ignoring target time of 0 for LL-HLS")},e.prototype.getNextSegmentOrPart=function(e){var t=this.getSegmentListEntries(this.currentRepresentationId),n=t[this.listIndex];if(!(n.parts&&n.parts.length>0))return this.getNextFullSegmentInfo();if(A(n))return M(n,e);var r=M(n,e);return r?n.parts.indexOf(r)>0?r:this.getNextFullSegmentInfo():L(e,n,this.settings.LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE)?(this.listIndex++,this.isIndexInBounds(t)?this.getNextSegmentOrPart(e):void 0):(this.logger.debug("Failed to retrieve next SegmentInfo for time ".concat(e,", returning full segment at next index")),this.getNextFullSegmentInfo())},e.prototype.getNextSegmentInfo=function(e){var t=this.getNextSegmentInfo_(e);return t?(this.populateSegmentInfoProps(t),Promise.resolve(t)):this.queueSegmentInfoRequest({time:e})},e.prototype.populateSegmentInfoProps=function(e){return e.presentationTimeOffset=this.getTimestampOffset(),e.startTime&&(e.wallClockTime=(0,d.toMilliSeconds)(e.startTime)),e},e.prototype.getNextFullSegmentInfo=function(){return this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex++]},e.prototype.getSegmentInfos=function(){var e=this,t=this.listIndex,n=this.manifestService.getTotalDuration(),r={},i=this.manifestService.getAdaptationSet(this.adaptationSetId);if(i){var o=this.getSeekableRange().end-this.getSeekableRange().start,a=i.Representation[0].BaseURL[0].url;i.Representation.forEach((function(i){var s,u,l=e.getSegmentListEntries(i._internalId),c=e.manifestService.isLive();c?(s=t-o/e.getSegmentDuration(),u=t):(s=0,u=parseInt(s+o/e.getSegmentDuration())-1);for(var E=0,p=[],g=s;g<=u;g++){var S=p.length;p[S]={};var m=void 0;if(l.length&&(m=l[S].url),"string"==typeof m){var v=f.URLHelper.concatBaseUrlWithPartial(a,m);p[S].url=f.URLHelper.appendQueryParametersToUrl(v,e.settings.QUERY_PARAMETERS)}p[S].duration=e.getSegmentDuration(),c?(E=e.settings.ENABLE_SEEK_FOR_LIVE?e.getExpectedPresentationTime(g):(0,d.toSeconds)(Date.now()-e.manifestService.getAvailabilityStartTime())-n,t++):(p[S].startTime=E,E+=p[S].duration),r[i._id]=p}}))}return r},e.prototype.getSubtitleUrl=function(){return this.manifestService.getAvailableSubtitles(this.adaptationSetId.periodId)[0].url},e.prototype.getStartNumber=function(){var e=this.getSegmentList(this.currentRepresentationId);return e?e.startNumber:1},e.prototype.getSegmentDuration=function(){var e=this,t=this.getSegmentList(this.currentRepresentationId),n=this.getSegmentListEntries(this.currentRepresentationId);if(t)return n.length>0&&(0,c.isNumber)(t.totalDuration)?t.totalDuration/n.length:t.maximumSegmentDuration;if(this.manifestService.getAdaptationSet(this.adaptationSetId)){var r=Object.keys(this.segmentListMap).map((function(t){return e.segmentListMap[t]})).find((function(e){return null!==e}));if(r)return r.maximumSegmentDuration}return 1},e.prototype.seekTo=function(e){e>-1&&(this.listIndex=this.getIndexForTime(e))},e.prototype.isIndexInBounds=function(e){return this.listIndex<e.length},e.prototype.hasNext=function(){var e=this.getSegmentListEntries(this.currentRepresentationId);return!this.currentRepresentationId||!e.length||(!this.manifestService.isLive()?this.isIndexInBounds(e):this.hasNextLive(e))},e.prototype.hasNextLive=function(e){return!!this.manifestService.isLastPeriod(this.currentRepresentationId.periodId)||this.isIndexInBounds(e)},e.prototype.setTimestampOffset=function(e,t){void 0===t&&(t=1),this.timestampOffset=e/t},e.prototype.getTimestampOffset=function(){if(!isNaN(this.timestampOffset))return this.timestampOffset;var e=this.getCurrentPeriod(),t=0;if(this.currentRepresentationId){var n=this.getSegmentList(this.currentRepresentationId);n&&!isNaN(n.presentationTimeOffset)&&(t=n.presentationTimeOffset/n.timescale)}return e&&!this.manifestService.isHlsManifest()&&(t-=e.start),t},e.prototype.getIndex=function(){return this.listIndex},e.prototype.setIndex=function(e){if("number"==typeof e)return e<0?(this.logger.debug("Tried to set index at MPDHandler to value smaller 0. Setting to 0."),void(this.listIndex=0)):void(this.listIndex=e);this.logger.debug("Tried to set index at MPDHandler with parameter not being a number!")},e.prototype.queueSegmentInfoRequest=function(e){var t=this;return this.pendingSegmentInfoRequest?Promise.reject("fail"):new Promise((function(n,i){t.pendingSegmentInfoRequest=r(r({},e),{resolve:n,reject:i})}))},e.prototype.resolvePendingSegmentInfoRequests=function(){if(this.pendingSegmentInfoRequest){var e=this.getNextSegmentInfo_(this.pendingSegmentInfoRequest.time);e?(this.populateSegmentInfoProps(e),this.pendingSegmentInfoRequest.resolve(e),this.pendingSegmentInfoRequest=null):this.manifestService.isLive()||this.hasNext()||this.pendingSegmentInfoRequest.reject(m.SegmentInfoErrors.END_OF_STREAM_REACHED)}},e.prototype.rejectPendingSegmentInfoRequest=function(e){this.pendingSegmentInfoRequest&&(this.pendingSegmentInfoRequest.reject(e),this.pendingSegmentInfoRequest=null)},e.prototype.getLiveEdgeIndex=function(){var e=this.getSegmentListEntries(this.currentRepresentationId);return e.length>0?e.length-1:0},e.prototype.getIndexForOffset=function(e){for(var t,n=Math.abs(e),r=this.getSegmentDuration(),i=this.getSegmentListEntries(this.currentRepresentationId),o=this.getLiveEdgeIndex(),a=0,s=i.length-1;s>=0&&!((a+=null!==(t=i[s].duration)&&void 0!==t?t:r)>=n);s--)o--;return Math.max(0,o)},e.prototype.timeShift=function(e,t,n){if(this.manifestService.isLive()){var r=this.listIndex;this.listIndex=n&&this.hasStartTimes()?this.getIndexForTime(n):this.getIndexForOffset(e),this.logger.debug("timeShift changes index from ".concat(r," to ").concat(this.listIndex,", based on")+" offset ".concat(e," and target time ").concat(n))}},e.prototype.hasStartTimes=function(){var e,t=null===(e=this.getSegmentListEntries(this.currentRepresentationId)[0])||void 0===e?void 0:e.startTime;return(0,c.isNumber)(t)&&t>=0},e.prototype.updateRepresentation=function(e){return Promise.resolve(e)},e.prototype.isSegmentInfoLoaded=function(e){if(void 0===e&&(e=this.currentRepresentationId),!e)return!1;var t=this.getSegmentListEntries(e),n=this.manifestService.getRepresentationById(e);return!(!t.length||!n)},e.prototype.rewindSegmentListIndexBy=function(e){this.logger.debug("Rewinding segment list index by ".concat(e," segments")),this.listIndex-=e,this.listIndex<0&&(this.logger.debug("List array index is smaller than 0, probably a discontinuity. Using 0."),this.listIndex=0)},e.prototype.rewindOneSegment=function(){return this.listIndex--,!(this.listIndex<0)||(this.logger.debug("List array index is smaller than 0, probably a discontinuity. Using 0."),this.listIndex=0,!1)},e.prototype.getCurrentPeriod=function(){return this.manifestService.getPeriod(this.currentRepresentationId)},e.prototype.getExpectedPresentationTime=function(e){var t=this.getCurrentPeriod().start;return(this.manifestService.hasSinglePeriod()?this.getSeekableRange().start:t)+this.getSegmentListEntries(this.currentRepresentationId).slice(0,e).reduce((function(e,t){return e+t.duration}),0)},e.prototype.getCurrentRepresentation=function(){return this.manifestService.getRepresentationById(this.currentRepresentationId)},e.prototype.getSegmentList=function(e){if(e)return this.segmentListMap[e.key()]},e.prototype.getSegmentListEntries=function(e){var t,n;return e?this.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE&&this.manifestService.isHlsManifest()?this.getStoreSegmentInfos(e):null!==(n=null===(t=this.getSegmentList(e))||void 0===t?void 0:t.entries)&&void 0!==n?n:[]:[]},e.prototype.getStoreSegmentInfos=function(e){var t,n=null===(t=this.getSourceStateService())||void 0===t?void 0:t.getState();return(0,S.getSegmentInfos)(n,e.key())},e.prototype.findListIndexWithoutSegmentStartTimes=function(e,t){var n,r;if(!this.adaptationSetId)return 0;for(var i=this.manifestService.getPeriod(this.adaptationSetId),o=null!==(n=null==i?void 0:i.start)&&void 0!==n?n:0,a=this.getSegmentListEntries(this.currentRepresentationId),s=0,u=o;u<=t&&s<a.length;s++)u+=null!==(r=a[s].duration)&&void 0!==r?r:0;return Math.max(s-1,0)},e.prototype.getIndexForTime=function(e){var t=this.getSegmentList(this.currentRepresentationId),n=this.getSegmentListEntries(this.currentRepresentationId);if(!t||0===n.length||!(0,c.isNumber)(t.totalDuration))return 0;var r=this.getMinStartTime(),i=Math.max(r,e),o=t.totalDuration/n.length,a=(0,v.findSegmentIndexForTime)(n,i,o);return null!==a?a:this.findListIndexWithoutSegmentStartTimes(t,i)},e.prototype.getMinStartTime=function(e){void 0===e&&(e=this.currentRepresentationId);var t=this.manifestService.hasSinglePeriod()?this.getSeekableRange().start:this.manifestService.getPeriod(e).start;return this.manifestService.isFirstPeriod(e.periodId)&&(t+=this.distanceToListStartSeconds),t},e.prototype.getLiveEdgeTime=function(){var e,t=null===(e=this.manifestService)||void 0===e?void 0:e.getLastPeriod();return t?t.start+u.DurationConverter.getDurationInSec(t._duration):1/0},e.prototype.getActualTimeShiftBufferDepth=function(){return this.manifestService.getTimeShiftBufferDepthSeconds()},e.prototype.getSeekableRange=function(){var e={start:0,end:0},t=this.manifestService.getTotalDuration();if(!this.manifestService.isLive())return e.start=(0,o.getStartTimeOffset)(this.getSourceStateService().getState()),e.end=t,e;var n=this.manifestService.getTimeShiftBufferDepthSeconds(),r=(0,d.toSeconds)(this.manifestService.getRequestTimestamp()-this.manifestService.getAvailabilityStartTime());if(e.start=Math.max(r+n,0),e.end=Math.max(r,0),E.ModuleManager.has(p.ModuleName.HLS)&&this.manifestService.isHlsManifest()){var i=E.ModuleManager.get(p.ModuleName.HLS).selectors,a=i.getHlsState;"EVENT"===(0,i.getPlaylistType)(a(this.getSourceStateService().getState()))?(e.start=0,e.end=t):e.start+=this.distanceToListStartSeconds}return e.end-=this.manifestService.getDesiredDistanceToLiveEdge(),e},e.prototype.getPendingSegmentInfoRequest=function(){return this.pendingSegmentInfoRequest},e.prototype.setPendingSegmentInfoRequest=function(e){this.pendingSegmentInfoRequest=e},e.prototype.canSwitchRepresentation=function(e){var t,n=this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex];if(!n)return!0;var r=L(e,n,this.settings.LL_HLS_SEGMENT_END_TIME_MATCHING_TOLERANCE);return!(A(n)||!r)||!((null===(t=null==n?void 0:n.parts)||void 0===t?void 0:t.length)&&M(n,e)!==n.parts[0])},e.prototype.getLatestTimeForPossibleSwitch=function(e){var t,n=this.getLLHlsInfoForTime(e),r=n.isLoadingCurrentSegmentsParts,i=n.currentSegment;return i&&r&&null!==(t=i.startTime)&&void 0!==t?t:e},e.prototype.adjustTimeToNextSegmentStart=function(e){var t=this.getLLHlsInfoForTime(e),n=t.isLoadingCurrentSegmentsParts,r=t.currentSegment;return n&&(null==r?void 0:r.startTime)&&(null==r?void 0:r.duration)?r.startTime+r.duration:e},e.prototype.getLLHlsInfoForTime=function(e){var t,n=T(e,this.getSegmentListEntries(this.currentRepresentationId)),r=null===(t=null==n?void 0:n.parts)||void 0===t?void 0:t[0],i=!1;if(r&&n){var o=M(n,e);i=void 0!==o&&o!==r}return{currentSegment:n,isLoadingCurrentSegmentsParts:i}},e.prototype.dispose=function(){this.settings=null,this.manifestService=null,this.adaptationSetId=null,this.currentRepresentationId=null,this.manifestService=null,this.pendingSegmentInfoRequest=null,this.segmentListMap=null},e}();function T(e,t){var n,r,i;if(t&&!(t.length<1)&&(null===(n=t[0])||void 0===n?void 0:n.duration)){var o=(0,v.findSegmentIndexForTime)(t,e,t[0].duration),a=null===o,s=e<(null!==(i=null===(r=t[0])||void 0===r?void 0:r.startTime)&&void 0!==i?i:1/0),u=t[t.length-1];if(void 0!==u.startTime&&void 0!==u.duration){var l=e>u.startTime+u.duration;if(!(a||s||l))return t[o]}}}function _(e,t){for(var n=e[0].discontinuitySequenceNumber,r=1;r<e.length;r++){var i=e[r].discontinuitySequenceNumber;if(i!==n){var o=I(t,i);if(null!=o)return{index:r,discontinuityStartTime:o}}}return null}function I(e,t){var n=e[String(t)];return n&&n.startTime>0?n.startTime:(n=e[String(t-1)])&&n.endTime>0?n.endTime:null}function y(e,t,n){if(e.length&&n.hasSegmentStartTimeForHlsRepresentation(t)){var r;null!=e[0].startTime?r=(0,s.findIndexFromEnd)(e,(function(e){return null!=e.startTime}))+1:(e[0].startTime=n.getStartTimeForHlsSegment(t,e[0]),r=1);var i=function(e,t){return t.startTime=e.startTime+e.duration};(0,s.forEachFromIndex)(e,r,i)}}function R(e,t){var n={url:e.uri,duration:e.duration,isInitSegment:!1,internalRepresentationId:t.internalRepresentationId};return e.byteRange&&(n.byteRange=e.byteRange),t.key&&(n.key=t.key),t.init&&(n.init=t.init),(0,c.isDefined)(t.mediaSequence)&&(n.mediaSequence=t.mediaSequence),(0,c.isDefined)(t.discontinuitySequenceNumber)&&(n.discontinuitySequenceNumber=t.discontinuitySequenceNumber),n}function A(e){return e.url.endsWith(t.PHANTOM_SEGMENT_URL)}function O(e,n){var r=n.duration-e.duration;return N(n,e,["url","mediaURL","duration","parts","init","key","discontinuitySequenceNumber","isDiscontinuityStart"]),!e.url.endsWith(t.PHANTOM_SEGMENT_URL)&&(e.url=(0,a.forceReallocation)(e.url)),r}function N(e,t,n){n.forEach((function(n){return t[n]=e[n]}))}function M(e,t){var n,r=null===(n=e.parts)||void 0===n?void 0:n.every(v.isSegmentTiming);if(e.parts&&r){var i=e.parts,o=i.reduce((function(e,t){return e+t.duration}),0)/i.length,a=(0,v.findSegmentIndexForTime)(i,t,o);if(null!=a)return a=b(t,a,i),e.parts[a]}}function b(e,t,n){var r=n[t],i=r.startTime+r.duration;return Math.abs(e-r.startTime)<=Math.abs(e-i)?t:t+1}function L(e,t,n){return void 0!==t.startTime&&void 0!==t.duration&&Math.abs(e-(t.startTime+t.duration))<n}function D(e){var t,n,r=24,i=e.totalDuration/(null!==(n=null===(t=e.entries)||void 0===t?void 0:t.length)&&void 0!==n?n:1);return Math.ceil(r/i)}t.SegmentListMPDHandler=h},2103:function(e,t){function n(e,t){if(void 0!==e.mediaSequence&&void 0!==t.mediaSequence)return e.mediaSequence===t.mediaSequence;var n=i(e,t),r=a(e.byteRange,t.byteRange),o=e.discontinuitySequenceNumber===t.discontinuitySequenceNumber;return n&&r&&o}function r(e,t){var n=(null==e?void 0:e.url)===(null==t?void 0:t.url),r=a(null==e?void 0:e.byteRange,null==t?void 0:t.byteRange);return n&&r}function i(e,t){var n=o(e),r=o(t);return n.some((function(e){return r.includes(e)}))}function o(e){return[e.url,e.mediaURL].filter(Boolean)}function a(e,t){return null==e?null==t:null!=t&&e.start===t.start&&e.end===t.end}Object.defineProperty(t,"__esModule",{value:!0}),t.isIdenticalSegmentInfo=n,t.isIdenticalInitSegmentInfo=r},3326:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMostRecentlyRefreshedQuality=t.getSegmentInfos=t.getSegmentMapEntry=void 0;var n=function(e,t){return null==e?void 0:e.segmentInfoMap[t]};t.getSegmentMapEntry=n;var r=function(e,n){var r,i;return null!==(i=null===(r=(0,t.getSegmentMapEntry)(e,n))||void 0===r?void 0:r.segmentInfos)&&void 0!==i?i:[]};t.getSegmentInfos=r;var i=function(e){if(e)return Object.values(e.segmentInfoMap).filter((function(e){return null!=e.qualityInfo.lastUpdateTimestamp})).sort((function(e,t){var n=e.qualityInfo.lastUpdateTimestamp;return t.qualityInfo.lastUpdateTimestamp-n}))[0]};t.getMostRecentlyRefreshedQuality=i},5469:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.installWorkerPolyfills=s;var r=n(8367),i=n(4338),o=n(3801),a=n(1921);function s(){Array.prototype.includes||r.ArrayIncludesPolyfill.polyfill(),String.prototype.includes||o.StringIncludesPolyfill.polyfill(),String.prototype.startsWith||a.StringStartsWithPolyfill.polyfill(),String.prototype.endsWith||i.StringEndsWithPolyfill.polyfill()}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n(8794)}();',n.p+"bb68a94b955898ddca4b.worker.js")}},3864:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.HlsUtils=t.ParseStream=void 0;var i=n(62510),o=n(91397),a=n(56093),s=function(){var e=this;this.on=function(t,n){e.listeners.hasOwnProperty(t)||(e.listeners[t]=[]),e.listeners[t].push(n)},this.off=function(t,n){if(!e.listeners.hasOwnProperty(t))return!1;var r=e.listeners[t].indexOf(n);return r>-1&&(e.listeners[t].splice(r,1),!0)},this.trigger=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.listeners.hasOwnProperty(t)&&e.listeners[t].forEach((function(e){return e.apply(null,n)}))},this.pipe=function(t){e.on("data",(function(e){t.push(e)}))},this.dispose=function(){e.listeners={}},this.listeners={}},u=function(e){function t(){var t=e.call(this)||this;return t.buffer="",t}return r(t,e),t.prototype.push=function(e){this.buffer+=e;for(var t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(s),c=function(e){function t(){return e.call(this)||this}return r(t,e),t.parseAttributes=function(e){for(var n=e.split(t.attributeSeparator),r=n.length,i={};r--;)if(""!==n[r]){var o=this.attributeKeyValueRegex.exec(n[r]).slice(1),a=o[0],s=o[1];i[a.trim()]=s.trim().replace(this.quotesRegex,"$1")}return i},t.prototype.push=function(e){var n,r;if(0!==(e=e.replace(/^[\u0000\s]+|[\u0000\s]+$/g,"")).length)if("#"===e[0])if(e=e.replace("\r",""),n=/^#EXTM3U/.exec(e))this.trigger("data",{type:"tag",tagType:"m3u"});else if(n=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(e))this.trigger("data",{type:"tag",tagType:"independent-segments"});else{if(n=/^#EXT-X-MEDIA:(.*)$/.exec(e))return r={type:"tag",tagType:"media"},n[1]&&(r.attributes=t.parseAttributes(n[1])),void this.trigger("data",r);if(n=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return r={type:"tag",tagType:"inf"},n[1]&&(r.duration=parseFloat(n[1])),n[2]&&(r.title=n[2]),void this.trigger("data",r);if(n=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return r={type:"tag",tagType:"targetduration"},n[1]&&(r.duration=parseInt(n[1],10)),void this.trigger("data",r);if(n=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return r={type:"tag",tagType:"version"},n[1]&&(r.version=parseInt(n[1],10)),void this.trigger("data",r);if(n=/^#EXT-X-START:(.*)$/.exec(e))return r={type:"tag",tagType:"start"},n[1]&&(r.attributes=t.parseAttributes(n[1])),void this.trigger("data",r);if(n=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return r={type:"tag",tagType:"media-sequence"},n[1]&&(r.number=parseInt(n[1],10)),void this.trigger("data",r);if(n=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return r={type:"tag",tagType:"discontinuity-sequence"},n[1]&&(r.number=parseInt(n[1],10)),void this.trigger("data",r);if(n=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return r={type:"tag",tagType:"playlist-type"},n[1]&&(r.playlistType=n[1]),void this.trigger("data",r);if(n=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(e))return r={type:"tag",tagType:"byterange"},n[1]&&(r.length=parseInt(n[1],10)),n[2]&&(r.offset=parseInt(n[2],10)),void this.trigger("data",r);if(n=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return r={type:"tag",tagType:"allow-cache"},n[1]&&(r.allowed=!/NO/.test(n[1])),void this.trigger("data",r);if(n=/^#EXT-X-SESSION-DATA:?(.*)$/.exec(e))return r={type:"tag",tagType:"session-data"},n[1]&&(r.attributes=t.parseAttributes(n[1])),void this.trigger("data",r);if(n=/^#EXT-X-SESSION-KEY:?(.*)$/.exec(e))return r={type:"tag",tagType:"session-key"},n[1]&&(r.attributes=t.parseAttributes(n[1]),r.attributes.IV&&(r.attributes.IV=r.attributes.IV.toLowerCase(),"0x"===r.attributes.IV.substring(0,2)&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=new Uint8Array(a.FormatHelper.hexToBytes(r.attributes.IV)).buffer)),void this.trigger("data",r);if(n=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(r={type:"tag",tagType:"stream-inf"},n[1]){if(r.attributes=t.parseAttributes(n[1]),r.attributes.RESOLUTION){var i={};(o=r.attributes.RESOLUTION.split("x"))[0]&&(i.width=parseInt(o[0],10)),o[1]&&(i.height=parseInt(o[1],10)),r.attributes.RESOLUTION=i}r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))}this.trigger("data",r)}else if(n=/^#EXT-X-I-FRAME-STREAM-INF:?(.*)$/.exec(e)){var o;r={type:"tag",tagType:"i-frame-stream-inf"},n[1]&&(r.attributes=t.parseAttributes(n[1]),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes.RESOLUTION)&&(i={},(o=r.attributes.RESOLUTION.split("x"))[0]&&(i.width=parseInt(o[0],10)),o[1]&&(i.height=parseInt(o[1],10)),r.attributes.RESOLUTION=i),this.trigger("data",r)}else if(n=/^#EXT-X-ENDLIST/.exec(e))this.trigger("data",{type:"tag",tagType:"endlist"});else if(n=/^#EXT-X-DISCONTINUITY/.exec(e))this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(n=/^#EXT-X-KEY:?(.*)$/.exec(e))return r={type:"tag",tagType:"key"},n[1]&&(r.attributes=t.parseAttributes(n[1]),r.attributes.IV&&(r.attributes.IV=r.attributes.IV.toLowerCase(),"0x"===r.attributes.IV.substring(0,2)&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=new Uint8Array(a.FormatHelper.hexToBytes(r.attributes.IV)).buffer)),void this.trigger("data",r);if(n=/^#EXT-X-MAP:?(.*)$/.exec(e))return r={type:"tag",tagType:"map"},n[1]&&(r.attributes=t.parseAttributes(n[1])),void this.trigger("data",r);if(n=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return r={type:"tag",tagType:"date-time"},n[1]&&(r.dateTime=new Date(n[1])),void this.trigger("data",r);(n=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-out-cont",data:n[1]||""}):(n=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-out",data:n[1]||""}):(n=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-in",data:n[1]||""}):(n=/^#EXT-X-SCTE35:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"scte35",data:n[1]||""}):(n=/^#EXT-X-DATERANGE:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"daterange",data:n[1]||""}):this.trigger("data",{type:"tag",tagType:"unknown",data:e.slice(0,e.length)})}}else this.trigger("data",{type:"uri",uri:e})},t.attributeSeparator=new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))'),t.attributeKeyValueRegex=new RegExp("([^=]*)=(.*)"),t.quotesRegex=new RegExp(/^['"](.*)['"]$/),t}(s);t.ParseStream=c;var l=function(e){function t(n){var r=e.call(this)||this;return r.onData=function(e){({tag:function(){({m3u:function(){r.manifestObj.hasM3u=!0},"allow-cache":function(){r.manifestObj.allowCache=e.allowed,"allowed"in e||(r.trigger("info",{message:"defaulting allowCache to YES"}),r.manifestObj.allowCache=!0)},byterange:function(){var t={};"length"in e&&(r.currentUri.byterange=t,t.length=e.length,"offset"in e||(r.trigger("info",{message:"defaulting offset to zero"}),e.offset=0)),"offset"in e&&(r.currentUri.byterange=t,t.offset=e.offset)},endlist:function(){r.manifestObj.endList=!0},inf:function(){"mediaSequence"in r.manifest||(r.manifestObj.mediaSequence=0,r.trigger("info",{message:"defaulting media sequence to zero"})),e.duration>=0&&(r.currentUri.duration=e.duration),r.manifestObj.segments=r.uris},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){e.attributes.METHOD||r.trigger("warn",{message:"defaulting key method to AES-128"}),r.keysInUse&&(r.keys=[],r.keysInUse=!1);var t={method:(0,o.forceReallocation)(e.attributes.METHOD)||"AES-128",uri:(0,o.forceReallocation)(e.attributes.URI)};void 0!==e.attributes.IV&&(t.iv=e.attributes.IV),e.attributes.KEYFORMAT&&(t.keyformat=(0,o.forceReallocation)(e.attributes.KEYFORMAT)),e.attributes.KEYFORMATVERSIONS&&(t.keyformatversions=(0,o.forceReallocation)(e.attributes.KEYFORMATVERSIONS)),e.attributes.KEYID&&(t.keyid=(0,o.forceReallocation)(e.attributes.KEYID)),r.keys.push(t)}else r.trigger("warn",{message:"ignoring key declaration without URI"});else r.keys=[];else r.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?r.manifestObj.mediaSequence=e.number:r.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?r.manifestObj.discontinuitySequence=e.number:r.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?r.manifestObj.playlistType=e.playlistType:r.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},"stream-inf":function(){r.manifestObj.playlists=r.uris,e.attributes?(r.currentUri.attributes||(r.currentUri.attributes={}),r.currentUri.id=function(e){var t="";return e.RESOLUTION&&(t+=e.RESOLUTION.height+"_"),t+e.BANDWIDTH}(e.attributes),r.currentUri.attributes=t.mergeFn(e.attributes,r.currentUri.attributes)):r.trigger("warn",{message:"ignoring empty stream-inf attributes"})},"i-frame-stream-inf":function(){var t={name:"i-frame-stream-inf"};e.attributes&&(t.attributes=e.attributes),r.manifestObj.tags.push(t)},media:function(){r.manifestObj.media.push({attributes:e.attributes});var t={name:"media"};e.attributes&&(t.attributes=e.attributes),r.manifestObj.tags.push(t)},start:function(){var t={};e.attributes.hasOwnProperty("TIME-OFFSET")&&(t.timeOffset=Number(e.attributes["TIME-OFFSET"]),t.precise="YES"===e.attributes.PRECISE,r.manifestObj.start=t);var n={name:"start"};t.hasOwnProperty("timeOffset")&&(n.attributes={"TIME-OFFSET":t.timeOffset,PRECISE:t.precise}),r.manifestObj.tags.push(n)},discontinuity:function(){r.currentUri.discontinuity=!0,r.manifestObj.discontinuityStarts.push(r.uris.length)},"date-time":function(){r.manifestObj.dateTime=e.dateTime},targetduration:function(){!isFinite(e.duration)||e.duration<0?r.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):r.manifestObj.targetDuration=e.duration},map:function(){if(e.attributes&&e.attributes.URI&&(r.init={url:(0,o.forceReallocation)(e.attributes.URI)},e.attributes.BYTERANGE)){var t=e.attributes.BYTERANGE.split("@"),n=t[0],i=t[1];r.init.byteRange={start:parseInt(i),end:parseInt(i)+parseInt(n)-1}}},"independent-segments":function(){r.manifestObj.independentSegments=!0,r.manifestObj.tags.push({name:"independent-segments"})},"session-data":function(){var t={name:"session-data"};e.attributes&&(t.attributes=e.attributes),r.manifestObj.tags.push(t)},"session-key":function(){var t={name:"session-key"};e.attributes&&(t.attributes=e.attributes),r.manifestObj.tags.push(t)},"cue-out":function(){r.cueTag=t.getCueTag(e)},"cue-out-cont":function(){r.cueTag=t.getCueTag(e)},"cue-in":function(){r.cueTag=t.getCueTag(e)},scte35:function(){r.scte35.push({type:i.MetadataType.SCTE,attributes:c.parseAttributes(e.data)})},daterange:function(){r.dateRange.push(t.getDateRange(e))},version:function(){r.manifestObj.version=void 0!==e.version?e.version:1},unknown:function(){r.customTags.push({type:i.MetadataType.CUSTOM,attributes:e.data});var t=r.getCustomTag(e.data);t&&r.manifestObj.tags.push(t)}}[e.tagType]||function(){})()},uri:function(){r.currentUri.uri=(0,o.forceReallocation)(e.uri),r.manifestObj.targetDuration&&!("duration"in r.currentUri)&&(r.trigger("warn",{message:"defaulting segment duration to the target duration"}),r.currentUri.duration=r.manifestObj.targetDuration),r.keys.length>0&&(r.currentUri.keys=r.keys,r.keysInUse=!0),r.init&&(r.currentUri.init=r.init),r.cueTag&&(r.currentUri.cueTag=r.cueTag,r.cueTag=null),r.scte35.length>0&&(r.currentUri.scte35=r.scte35,r.scte35=[]),r.dateRange.length>0&&(r.currentUri.dateRange=r.dateRange,r.dateRange=[]),r.customTags.length>0&&(r.currentUri.customTags=r.customTags,r.customTags=[]),r.manifestObj.dateTime&&(r.currentUri.dateTime=r.manifestObj.dateTime,delete r.manifestObj.dateTime),r.uris.push(r.currentUri),r.currentUri.duration&&(r.manifestObj.totalDuration+=r.currentUri.duration),r.currentUri={}},comment:function(){}})[e.type]()},r.end=function(){r.lineStream.push("\n")},r.logger=n,r.uris=[],r.currentUri={},r.keys=[],r.keysInUse=!1,r.cueTag=null,r.scte35=[],r.customTags=[],r.dateRange=[],r.lineStream=new u,r.parseStream=new c,r.lineStream.pipe(r.parseStream),r.manifestObj={allowCache:!0,discontinuityStarts:[],endList:!1,media:[],segments:[],totalDuration:0,tags:[],version:1,hasM3u:!1},r.parseStream.on("data",r.onData),r}return r(t,e),Object.defineProperty(t.prototype,"manifest",{get:function(){return this.manifestObj},enumerable:!1,configurable:!0}),t.getCueTag=function(e){var t={type:e.tagType.toUpperCase()};if(e.data){var n=(0,o.forceReallocation)(e.data);t.attributes=n.split(",").map((function(e){return e.trim()}))}return t},t.getDateRange=function(e){var t={type:i.MetadataType.DATERANGE};if(e.data){var n=c.parseAttributes(e.data);for(var r in t.clientAttributes={},n)n.hasOwnProperty(r)&&(0===r.indexOf("X-")?t.clientAttributes[(0,o.kebabCaseToCamelCase)(r.substring(2))]=n[r]:t[(0,o.kebabCaseToCamelCase)(r)]=n[r])}return t.duration&&(t.duration=Number(t.duration)),t.plannedDuration&&(t.plannedDuration=Number(t.plannedDuration)),t.endOnNext&&(t.endOnNext=!0),t},t.prototype.getCustomTag=function(e){try{e=(0,o.forceReallocation)(e);var t=/^#([^:=]*)(:|=)?(.*)$/.exec(e);if(t[1]){var n={name:t[1]},r="";if("="===t[2]&&t[3])r=t[3];else if(":"===t[2]&&t[3]){var i=/^([^:="]*)(:|=)?(.*)$/.exec(t[3]);"="===i[2]&&i[3]?n.attributes=c.parseAttributes(t[3]):r=t[3]}return r&&(n.value=r.replace(/^['"](.*)['"]$/g,"$1")),n}}catch(t){return this.logger&&this.logger.debug("Error occurred while parsing custom HLS tag: ".concat(e)),null}},t.prototype.push=function(e){this.lineStream.push(e)},t.mergeFn=function(e,n){if("object"!=typeof e||"object"!=typeof n)return e;if(Array.isArray(e)&&Array.isArray(e))return e;for(var r in e)n.hasOwnProperty(r)?n[r]=t.mergeFn(e[r],n[r]):n[r]=e[r];return n},t}(s),d=function(){function e(){}return e.parsePlaylist=function(e,t){var n=new l(t);if(n.push(e),n.end(),!n.manifest.hasM3u)throw new Error("Playlist parsing failed: missing #EXTM3U tag");if("playlists"in n.manifest){var r=n.manifest.playlists.map((function(e){return{name:"stream-inf",value:e.uri,attributes:e.attributes}}));n.manifest.tags=n.manifest.tags.concat(r)}return"playlistType"in n.manifest&&"EVENT"===n.manifest.playlistType&&(n.manifest.discontinuitySequence=n.manifest.discontinuitySequence||0),n.manifest},e}();t.HlsUtils=d},64697:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodecDetector=void 0,t.extractCodecFromTsSegment=f,t.extractCodecFromMp4Segment=h,t.mergeSegmentCodecs=p,t.isFmp4Segment=g;var r=n(52442),i=n(28764),o=n(88005),a=n(81361),s=n(76885),u=n(91520),c=n(16368),l=n(41108),d=n(53950),_=function(){function e(e){this.context=e,this.loader=new o.DefaultContentLoader(this.context)}return e.prototype.fetchSegment=function(e){return this.context.segmentPrefetchingService&&(this.context.segmentPrefetchingService.hasPrefetchedSegment(e)?this.context.segmentPrefetchingService.getPrefetchedSegment(e):this.context.segmentPrefetchingService.fetch(e))||Promise.reject()},e.prototype.probeCodecs=function(e,t,n,o,a){var u=this;void 0===a&&(a=t?e.length-1:0);var c=e.slice(),l=t?c.pop():c.shift();if(!l)return Promise.reject(new Error("Could not load any segment"));var d,_=l.init,f=void 0!==_,h=(0,s.extractOrigin)(n),p=s.URLHelper.buildAbsoluteUrl(n,h,f?_.url:l.uri),g=f?_.keys:l.keys,y=m(null!=g?g:[],n,h,o,a);(null==y?void 0:y.method)===r.HlsEncryptionMethod.AES_128&&(d=y);var b=v(p,l,d);return this.fetchSegment(b).then((function(e){return u.extractCodecsFromSegment(e)})).catch((function(e){if(e instanceof i.PlayerError)return Promise.reject(e);u.context.logger.debug("Codec probing from segment failed",e);var r=t?a-1:a+1;return u.probeCodecs(c,t,n,o,r)})).then((function(e){return u.context.logger.debug("Probed codec is",e),e}))},e.prototype.extractCodecsFromSegment=function(e){return g(e)?h(e):f(e,this.context)},e}();function f(e,t){if(!u.ModuleManager.has(c.ModuleName.ContainerTS))return Promise.reject(new l.PlayerModuleMissingError(c.ModuleName.ContainerTS));var n=function(e){return new(u.ModuleManager.get(c.ModuleName.ContainerTS).WebWorkerTransmuxer)(e,!1)}(t);return n.transmuxSegment(e).then((function(t){var n=p(t.transmuxedSegments);if(!n)throw"couldn't detect codec for ".concat(e.getMimeType());return n})).finally((function(){n.dispose()}))}function h(e){if(!u.ModuleManager.has(c.ModuleName.ContainerMP4))return Promise.reject(new l.PlayerModuleMissingError(c.ModuleName.ContainerMP4));var t=u.ModuleManager.get(c.ModuleName.ContainerMP4).getCodecFromSegment(e);return t?Promise.resolve(t):Promise.reject("couldn't detect codec for ".concat(e.getMimeType()))}function p(e){for(var t="",n=0,r=e;n<r.length;n++){var i=r[n];if(!i.getCodec())return null;t+=(""===t?"":",")+i.getCodec()}return t}function g(e){for(var t=e.getData(),n=new DataView(t,0,t.byteLength),r=[],i=0;i+8<n.byteLength;){var o=n.getUint32(i);if(0===o)break;var s=a.ArrayHelper.extractAsciiString(n,i+4,4);r.push(s),i+=o}return e.isInit()?["ftyp","moov"].every((function(e){return r.includes(e)})):["moof","mdat"].every((function(e){return r.includes(e)}))}function v(e,t,n){return{url:e,key:n,byteRange:(0,d.parseSegmentByteRange)(t.byterange),mimeType:"unknown/mp4",internalRepresentationId:null,isInitSegment:Boolean(t.init),preventDownloadCanceling:!0}}function m(e,t,n,r,i){for(var o,a=0,s=e;a<s.length;a++){var u=s[a];o=(0,d.generateSegmentEncryptionInfo)(u,t,n,r,i)}return o}t.CodecDetector=_},26527:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscontinuitySequenceNumberTracker=void 0;var n=function(){function e(e){this.mimeTypeFilter=e,this.discoSequenceNumberChangedListeners=[],this.reset()}return e.prototype.notifyListeners=function(e){var t=this;this.discoSequenceNumberChangedListeners.forEach((function(n){return n(t.currentDiscontinuitySequenceNumber,e)}))},e.prototype.trackSegment=function(e){if(this.mimeTypeFilter(e.getMimeType())&&!e.isInit()){var t=e.getSegmentInfo(),n=null==t?void 0:t.discontinuitySequenceNumber,r=isFinite(this.currentDiscontinuitySequenceNumber),i=this.currentDiscontinuitySequenceNumber!==n;r&&i&&this.notifyListeners(n),this.currentDiscontinuitySequenceNumber=n}},e.prototype.subscribe=function(e){this.discoSequenceNumberChangedListeners.push(e)},e.prototype.unsubscribe=function(e){var t=this.discoSequenceNumberChangedListeners.indexOf(e);t<0||this.discoSequenceNumberChangedListeners.splice(t,1)},e.prototype.reset=function(){this.currentDiscontinuitySequenceNumber=-1/0},e.prototype.dispose=function(){this.reset(),this.discoSequenceNumberChangedListeners=[]},e}();t.DiscontinuitySequenceNumberTracker=n},293:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.HlsBackupStreamsHandler=t.BackupStreamErrors=void 0;var i,o=n(18665),a=n(23234),s=n(27279),u=n(79814),c=n(99162),l=n(41735),d=n(77874),_=n(13254),f=n(53950),h=n(79367);!function(e){e.ALL_PENALIZED="ALL_PENALIZED",e.LOADING_FAILED="LOADING_FAILED",e.NO_BACKUP_STREAMS="NO_BACKUP_STREAMS"}(i||(t.BackupStreamErrors=i={}));var p=function(){function e(e,t,n){this.context=e,this.backupStreamInfo=t,this.updateRepresentation=n,this.backupStreamsMap={},this.penalizedStreams={},this.manifestService=e.serviceManager.get(o.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.manifestSchedulingService=this.context.serviceManager.get(o.ServiceName.ManifestUpdateSchedulingService,this.context.sourceContext.sourceIdentifier)}return e.prototype.populateBackupStreamsMap=function(e){var t;this.backupStreamsMap=function(e,t){var n,r=((n={})[u.MimeType.AudioMp4]={},n[u.MimeType.VideoMp4]={},n);return t.forEach((function(t){var n,i=t._mimeType===u.MimeType.AudioMp4?null!==(n=t._name)&&void 0!==n?n:u.MimeType.AudioMp4:u.MimeType.VideoMp4,o=e.find((function(e){return e.find((function(e){return e[i]===t.Uri}))}));o&&(r[t._mimeType][t._id]=v(o,i))})),r}(this.backupStreamInfo,e),null===(t=(0,s.getSourceStore)(this.context))||void 0===t||t.dispatch((0,h.setContentLocationId)(String(0)))},e.prototype.switchToBackupStream=function(e){var t,n=this,r=null===(t=this.backupStreamsMap[e._mimeType])||void 0===t?void 0:t[e._id];if(!r||r.length<=1)return Promise.reject(i.NO_BACKUP_STREAMS);var o=this.getCurrentRepresentation(e._mimeType);if((null==o?void 0:o._id)===e._id&&(null==o?void 0:o.Uri)!==e.Uri)return this.context.logger.debug("Current ".concat(e._mimeType," rep ").concat(e._id," is already being updated")),Promise.resolve([o]);var a=m(r,e.Uri);this.penalizeStreamIndex(a),this.depenalizeExpiredStreams();var u=this.getNextBackupStreamIndex(r,a);return void 0===u?(this.context.logger.debug("No other backup stream is available: all penalized."),Promise.reject(i.ALL_PENALIZED)):(this.context.logger.debug("Starting failover from index ".concat(a," to ").concat(u)),this.triggerPlaylistRotation(e,a,u).then((function(e){var t,i,o,a=m(r,null!==(i=null===(t=e[0])||void 0===t?void 0:t.Uri)&&void 0!==i?i:"");return null===(o=(0,s.getSourceStore)(n.context))||void 0===o||o.dispatch((0,h.setContentLocationId)(String(a))),n.context.logger.debug("Successfully completed failover to stream index ".concat(a)),e})).catch((function(e){return e===c.REPRESENTATION_UPDATE_CANCEL?Promise.reject(e):(n.context.logger.debug("Failover from stream index ".concat(a," to ").concat(u," failed")),Promise.reject(i.LOADING_FAILED))})))},e.prototype.penalizeStreamIndex=function(e){this.context.logger.debug("Penalizing stream with index ".concat(e)),this.penalizedStreams[e]=a.TimingUtil.getHiResTimestamp()},e.prototype.depenalizeExpiredStreams=function(){var e=this,t=a.TimingUtil.getHiResTimestamp();Object.keys(this.penalizedStreams).map((function(e){return Number(e)})).forEach((function(n){var r=e.penalizedStreams[n];t-r>=e.context.settings.HLS_BACKUP_STREAM_PENALTY_DURATION&&(e.context.logger.debug("Depenalizing stream with index ".concat(n)),delete e.penalizedStreams[n])}))},e.prototype.triggerPlaylistRotation=function(e,t,n){var r=this,i=[e],o=e._mimeType===u.MimeType.AudioMp4?this.getCurrentRepresentation(u.MimeType.VideoMp4):this.getCurrentRepresentation(u.MimeType.AudioMp4);o&&i.push(o);var a=i.map((function(e){return r.rotatePlaylist(e,n).catch((function(n){return n!==c.REPRESENTATION_UPDATE_CANCEL&&(r.context.logger.debug("Failed to rotate URL for rep ".concat(e._id,": ").concat(n)),r.revertPlaylistRotation(e,t)),Promise.reject(n)}))}));return Promise.all(a)},e.prototype.rotatePlaylist=function(e,t){var n=this,r=(0,s.getSourceStore)(this.context);if(!r)return Promise.resolve(e);this.rotateAllRepresentations(e,t,r);var i=e._internalId,o=(0,_.getRepresentation)(i,(0,_.getPeriod)(r));return e.Uri===(null==o?void 0:o.Uri)?(this.context.logger.debug("Current ".concat(e._mimeType," rep ").concat(e._id," does not need update")),Promise.resolve(e)):(this.context.logger.debug("Rotating URL for rep ".concat(e._id," from ").concat(e.Uri," to ").concat(o.Uri)),this.maybeStopManifestUpdater(e).then((function(){return n.updateRepresentation(o)})).then((function(e){return n.maybeRescheduleUpdate(e),e})))},e.prototype.revertPlaylistRotation=function(e,t){var n=(0,s.getSourceStore)(this.context);n&&(this.rotateAllRepresentations(e,t,n),this.context.logger.debug("Restoring URL for rep ".concat(e._id," to ").concat(e.Uri)),this.maybeRescheduleUpdate(e))},e.prototype.maybeStopManifestUpdater=function(e){var t;return(null===(t=this.manifestService)||void 0===t?void 0:t.isLive())&&this.manifestSchedulingService?this.manifestSchedulingService.stopRepresentationUpdates(e):Promise.resolve()},e.prototype.maybeRescheduleUpdate=function(e){var t,n;(null===(t=this.manifestService)||void 0===t?void 0:t.isLive())&&(null===(n=this.manifestSchedulingService)||void 0===n||n.scheduleRepresentationUpdate(e))},e.prototype.rotateAllRepresentations=function(e,t,n){var i,o=this;null===(i=this.manifestService)||void 0===i||i.getAllRepresentations().filter((function(t){return t._mimeType===e._mimeType})).forEach((function(i){var a,s,u,c,d=null!==(s=null===(a=o.backupStreamsMap[i._mimeType])||void 0===a?void 0:a[i._id])&&void 0!==s?s:[],_=null!==(u=i._name)&&void 0!==u?u:i._mimeType,f=null===(c=d[t])||void 0===c?void 0:c[_];if(f&&i.Uri!==f){var h=r(r({},i),{Uri:f,BaseURL:[{url:g(f,n.getState())}],SegmentList:i.SegmentList?[r(r({},i.SegmentList[0]),{SegmentURL:[]})]:i.SegmentList,_requestTimestamp:i._id!==e._id?0:i._requestTimestamp});n.dispatch((0,l.updateRepresentationAction)(h))}}))},e.prototype.getNextBackupStreamIndex=function(e,t){for(var n=1;n<=e.length;n++){var r=(t+n)%e.length;if(void 0===this.penalizedStreams[r])return r}},e.prototype.getCurrentRepresentation=function(e){var t,n,r=this.context.serviceManager.get(o.ServiceName.AdaptationService),i=null!==(t=null==r?void 0:r.getCurrentRepresentationId(e))&&void 0!==t?t:void 0;return null===(n=this.manifestService)||void 0===n?void 0:n.getRepresentationById(i)},e.prototype.getNextBackupUriForCodecProbing=function(e){var t,n,r,i,o=function(t){return Object.values(t).includes(e)},a=null!==(t=this.backupStreamInfo.find((function(e){return e.some(o)})))&&void 0!==t?t:[],s=a.findIndex(o),u=null!==(n=a[s])&&void 0!==n?n:{},c=null!==(r=Object.keys(u).find((function(t){return u[t]===e})))&&void 0!==r?r:"";return null===(i=v(a,c)[s+1])||void 0===i?void 0:i[c]},e.prototype.dispose=function(){this.penalizedStreams={}},e}();function g(e,t){var n,r,i,o,a=t&&null!==(o=null===(i=null===(r=null===(n=(0,d.getManifest)(t))||void 0===n?void 0:n.BaseURL)||void 0===r?void 0:r[0])||void 0===i?void 0:i.url)&&void 0!==o?o:"";return f.PlaylistUtils.getBaseUrl(a,e)}function v(e,t){return e.filter((function(e,n,r){return r.findIndex((function(n){return n[t]===e[t]}))===n}))}function m(e,t){var n;return null!==(n=e.findIndex((function(e){return Object.values(e).includes(t)})))&&void 0!==n?n:0}t.HlsBackupStreamsHandler=p},13254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHlsPlaylist=function(e){return(0,c.isMasterPlaylist)(e)&&function(e){return e.playlists.length>0}(e)||(0,c.isMediaPlaylist)(e)&&function(e){return e.segments.length>0}(e)},t.isM3u8Error=function(e){return e in r.M3u8Error},t.getPeriod=function(e){return(0,s.getManifest)(e.getState()).Period[0]},t.parseHlsManifest=d,t.ensureMasterPlaylist=function(e,t,n){return(0,c.isMasterPlaylist)(t)?Promise.resolve(t):(e.logger.debug("HLS manifest is not a master playlist but a variant. Using master playlist template!"),d(e,["#EXTM3U","#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=0",n].join("\n")).then((function(e){if(!(0,c.isMasterPlaylist)(e))throw new Error("Template is not of type HLS MasterPlaylist");return e})))},t.parsePlaylistInWorker=_,t.createDiscontinuitySequences=function(e,t){var n=c.PlaylistUtils.createDiscontinuitySequences(e,t);return n.forEach((function(e,t){c.PlaylistUtils.extrapolateProgramDateTime(e.segments),e.indexOfFirstSegment=0===t?0:n[t-1].indexOfLastSegment+1,e.indexOfLastSegment=e.indexOfFirstSegment+e.segments.length-1})),n},t.getTracksWithUnknownCodecs=function(e){return{audioTracksWithoutCodecs:e.media.filter((function(t){var n,r,i,o=t.attributes;if("AUDIO"!==o.TYPE||void 0===o.URI||void 0!==o.CODECS)return!1;var a=e.playlists.find((function(e){return e.attributes.AUDIO===o["GROUP-ID"]}));return void 0===(null===(n=null==a?void 0:a.attributes)||void 0===n?void 0:n.CODECS)||!(null===(i=null===(r=null==a?void 0:a.attributes)||void 0===r?void 0:r.CODECS)||void 0===i?void 0:i.includes(","))})),videoTracksWithoutCodecs:e.playlists.filter((function(e){return void 0===e.attributes.CODECS}))}},t.updateMissingCodecsForPlaylists=function(e,t,n){!function(e,t){t.forEach((function(t){return t.attributes.CODECS=function(e,t){var n=Object.keys(o.CodecStringHelper.getExtractedCodecStrings(e)),r=o.CodecStringHelper.getExtractedCodecStrings(t),i=Object.keys(r).filter((function(e){return!n.includes(e)})).map((function(e){return r[e]})).join(",");return i&&0!==i.length?function(e,t,n){return"string"!=typeof e||0===e.length?t:e+","+t}(e,i):e}(t.attributes.CODECS,e)}))}(e,f(t,n))},t.getRepresentation=function(e,t){var n=function(e,t){return t.AdaptationSet.find((function(t){return t._internalId.equals(e)}))}(e,t);return n?n.Representation.find((function(t){return t._internalId.equals(e)})):null},t.findAllOrMatchingVariants=f;var r=n(29638),i=n(16937),o=n(42283),a=n(76885),s=n(77874),u=n(59692),c=n(53950),l=n(4383);function d(e,t){var n={parsePartTags:e.settings.LL_HLS};return(e.settings.HLS_PARSE_MANIFEST_IN_WORKER?_(t,e.logger,n):function(e,t){try{(0,i.trackPerformanceStart)("HlsPlaylist.parsePlaylist");var n=(0,u.parsePlaylist)(e,t);return(0,i.trackPerformanceEnd)("HlsPlaylist.parsePlaylist"),Promise.resolve(n)}catch(e){return Promise.reject(e)}}(t,n)).then((function(t){if("playlists"in t){var n=t.playlists.filter((function(t){return t.attributes.BANDWIDTH>=e.settings.HLS_AUDIO_ONLY_THRESHOLD_BITRATE}));t.playlists=n.length?n:t.playlists}return t}))}function _(e,t,n){return l.WebWorkerParser.getInstance(t).parsePlaylist(e,n)}function f(e,t){var n,r=function(e){return e.playlists||[]}(e),i=r.some((function(e){return a.URLHelper.isSubUrl(t,e.uri)})),o=function(e,t){return function(e){return e.media||[]}(e).find((function(e){var n;return a.URLHelper.isSubUrl(t,null===(n=e.attributes)||void 0===n?void 0:n.URI)}))}(e,t);if(!i&&o){var s=null===(n=o.attributes)||void 0===n?void 0:n["GROUP-ID"];if(s)return r.filter((function(e){var t,n;return(null===(t=e.attributes)||void 0===t?void 0:t.AUDIO)===s||(null===(n=e.attributes)||void 0===n?void 0:n.VIDEO)===s}))}return r}},33827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HlsTimelineTracker=void 0;var r=n(18665),i=n(58975),o=n(27279),a=n(3464),s=n(9827),u=n(34435),c=function(){function e(e,t){var n=this;this.gapVerificationOnNextSegment=!1,this.context=e,this.playbackTimeNextSegment=-1,this.allowedGapSizeSec=t,this.playerStateService=this.context.serviceManager.get(r.ServiceName.PlayerStateService),this.unsubscribeFromTargetPlaybackTimeChange=(0,a.subscribe)(this.context.store)((function(e){return(0,i.getTargetPlaybackTime)((0,i.getPlayerState)(e))}),(function(){return n.seekVerificationOnNextSegment=!0}),(function(e){return-1!==e}));var s=(0,o.getSourceStore)(this.context);s&&(this.unsubscribeFromContentLocationId=(0,a.subscribe)(s)((function(e){return e&&(0,u.getContentLocationId)((0,u.getHlsState)(e))}),(function(){return n.gapVerificationOnNextSegment=!0}),(function(e,t){return e!==t})))}return e.prototype.reset=function(){this.playbackTimeNextSegment=-1,this.gapVerificationOnNextSegment=!1},e.prototype.isGapVerificationNeeded=function(){return this.gapVerificationOnNextSegment&&-1!==this.playbackTimeNextSegment},e.prototype.isSeekTargetVerificationNeeded=function(){return this.seekVerificationOnNextSegment&&-1===this.playbackTimeNextSegment},e.prototype.trackPlaybackTime=function(e){var t,n=null===(t=e.getSegmentInfo())||void 0===t?void 0:t.duration,r=e.getDuration();this.playbackTimeNextSegment=e.getPlaybackTime()+Math.max(r,null!=n?n:r)},e.prototype.checkForTimelineGap=function(e,t,n){var r;if(this.playbackTimeNextSegment>=0)return this.gapVerificationOnNextSegment=!1,this.checkGapForConsecutiveSegments(e,t,n);var i=(null===(r=this.playerStateService)||void 0===r?void 0:r.seekingOrTimeshifting)?this.playerStateService.targetPlaybackTime:-1;return this.seekVerificationOnNextSegment&&i>-1?(this.seekVerificationOnNextSegment=!1,this.checkSeekAccuracy(i,e,t,n)):{hasGap:!1}},e.prototype.checkGapForConsecutiveSegments=function(e,t,n){var r=function(e,t){var n,r=null===(n=e.getSegmentInfo())||void 0===n?void 0:n.startTime,i=e.getPlaybackTime();return void 0===r||Math.abs(i-r)>e.getDuration()+t?i:Math.min(i,r)}(e,this.allowedGapSizeSec);if(function(e,t,n){return e>=t&&e<=n}(this.playbackTimeNextSegment,r-this.allowedGapSizeSec,r+e.getDuration()))return{hasGap:!1};var i={hasGap:!1},o=e.getPlaybackTime()-this.playbackTimeNextSegment,a=t.SegmentList?t.SegmentList[0].SegmentURL:[],u=(0,s.findSegmentUrlIndexWithinSegmentList)(e,a),c=u>=0?u:n,h=c;if(o>0)(p=d(h=_(o,a,c)))||(this.context.logger.debug("Could not handle gap on playlist switch, reached lower boundary of segment list"),h=0),i=l(!0,o,p,h);else if(o<0){var p;(p=d(h=f(o,a,c)))||(this.context.logger.debug("Could not handle gap on playlist switch, reached upper boundary of segment list"),h=a.length),i=l(!0,o,p,h)}return h===c&&i.hasGap&&(this.context.logger.debug("Ignoring gap as calculated new segment index did not change"),i.hasGap=!1),i},e.prototype.checkSeekAccuracy=function(e,t,n,r){var i=n.SegmentList?n.SegmentList[0].SegmentURL:[],o=t.getPlaybackTime(),a=t.getPlaybackTime()+t.getDuration();this.context.logger.debug("HLS seek target verification",{seekTarget:e,segmentStartTime:o,segmentEndTime:a});var u,c,h,p=(0,s.findSegmentUrlIndexWithinSegmentList)(t,i);return p=p>=0?p:r,e<o?((h=d(u=_(c=o-e,i,p)))||(u=0),this.context.logger.debug("Target segment starts too late, corrected segment index from ".concat(p," to ").concat(u)),l(!0,c,h,u)):e>a?((h=d(u=f(c=a-e,i,p)))||(u=i.length),this.context.logger.debug("Target segment ends too early, corrected segment index from ".concat(p," to ").concat(u)),l(!0,c,h,u)):{hasGap:!1}},e.prototype.dispose=function(){var e;null===(e=this.unsubscribeFromContentLocationId)||void 0===e||e.call(this),this.unsubscribeFromTargetPlaybackTimeChange(),this.gapVerificationOnNextSegment=!1,this.seekVerificationOnNextSegment=!1,this.playbackTimeNextSegment=-1},e}();function l(e,t,n,r){return{hasGap:e,gapSizeSec:t,couldHandle:n,correctedIndex:r}}function d(e){return e>=0&&isFinite(e)}function _(e,t,n){for(;e>.001;){if(n<=0)return-1;e-=t[n-1]._duration,n--}return n}function f(e,t,n){for(;e<-.001;)if(e+=t[n]._duration,++n>=t.length)return 1/0;return n}t.HlsTimelineTracker=c},73725:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8DashManifest=void 0;var i=n(60997),o=n(63331),a=n(42055),s=n(3941),u=n(331),c=n(76885),l=n(38353),d=n(41735),_=n(77874),f=n(31043),h=n(18665),p=n(79814),g=n(52729),v=n(49422),m=n(53950),y=n(52080),b=n(79367),S=n(34435),E=function(){function e(e,t){this.lastStartOffset=-1/0,this.context=e,this.sourceContext=t,this.m3u8Translator=new v.M3u8Translator(e,t),this.totalDurationSec=1/0,this.sourceStore=e.serviceManager.get(h.ServiceName.SourceStoreService,t.sourceIdentifier)}return e.prototype.updateBaseUrl=function(e){this.m3u8Translator.updateBaseUrl(e)},e.prototype.getBaseUrl=function(){return this.m3u8Translator.getBaseUrl()},e.prototype.getCurrentHlsState=function(){return(0,S.getHlsState)(this.sourceStore.getState())},e.prototype.findAdaptationSet=function(e){return this.getManifest().Period[0].AdaptationSet.find((function(t){var n;return t._internalId.adaptationSetId===e||(null===(n=t.ContentComponent)||void 0===n?void 0:n.some((function(t){return t._id===e})))}))},e.prototype.createDashManifestSkeleton=function(e){var t=this.m3u8Translator.createDashManifestSkeleton(e);return(0,l.initializeInternalIds)(t)},e.prototype.extractBackupStreams=function(e){return this.m3u8Translator.extractBackupStreams(e)},e.prototype.onMasterPlaylistAvailable=function(e){var t=this.createDashManifestSkeleton(e);this.sourceStore.dispatch((0,d.setManifestAction)(t)),this.sourceStore.dispatch((0,b.setDefaultLanguages)(e)),this.sourceStore.dispatch((0,b.setCustomTags)(e)),this.sourceStore.dispatch((0,b.setMasterPlaylistString)(e.rawString))},e.prototype.getManifest=function(){return(0,_.getManifest)(this.sourceStore.getState())},e.prototype.getAllVariantRepresentions=function(){return this.getManifest().Period[0].AdaptationSet.filter((function(e){return p.MimeTypeHelper.isAV(e._mimeType)||p.MimeTypeHelper.isSubtitle(e._mimeType)||p.MimeTypeHelper.isImage(e._mimeType)})).flatMap((function(e){return e.Representation}))},e.prototype.onMediaLoaded=function(e,t,n,r){var i=this;this.sourceStore.dispatch((0,b.setMasterPlaylistString)(e)),this.sourceStore.dispatch((0,b.setEndlist)(Boolean(n.endList))),n.playlistType&&!(0,S.getPlaylistType)(this.getCurrentHlsState())&&this.sourceStore.dispatch((0,b.setPlaylistType)(n.playlistType)),void 0===(0,S.getIsLowLatencyPlaylist)(this.getCurrentHlsState())&&this.sourceStore.dispatch((0,b.setIsLowLatencyPlaylist)(void 0!==n.partInfo)),p.MimeTypeHelper.isAV(t._mimeType)&&(this.trackPlaylistDuration(n),this.updateDashManifestProperties(n)),this.calculatePlaylistStartTime(n);var a=this.getManifest().Period[0],u=this.getRepresentationsFromUrl(t.Uri,a).map((function(e){return i.updateRepresentation(e,n,r)}));return u.forEach((function(e){i.sourceStore.dispatch((0,b.updatePlaylist)(n,e)),p.MimeTypeHelper.isAV(t._mimeType)&&(i.sourceStore.dispatch((0,b.removeDroppedOutDiscontinuity)(r,e)),i.sourceStore.dispatch((0,b.updateDiscontinuityStartAndEndTimes)(r,e)));var o=e._id,s=(0,S.getPlaylistSegments)(i.getCurrentHlsState(),o),u=i.determineFirstDiscoStartTime(s,n);i.updatePeriodStartAndDuration(a,u,r),s.length>0&&null==s[0].startTime&&i.initSegmentStartTimesFromDiscoSequenceStartTime(o,r),i.context.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE&&i.updateSegmentInfoMap(n,e)})),this.context.serviceManager.maybeCall(h.ServiceName.TimedMetadataService,(function(e){return(0,o.extractDateRangeMetadata)(n.segments,(function(t){e.processDateRangeEvent(t,s.DEFAULT_PERIOD_ID)}))})),u.find((function(e){return e._id===t._id}))},e.prototype.updateSegmentInfoMap=function(e,t){var n,r,i=t._internalId.key(),o=null===(n=this.sourceStore.getState())||void 0===n?void 0:n.segmentInfoMap[i];o&&(r=(0,g.updateMapEntry)(o,e,t))||(r=(0,g.createNewMapEntry)(e,t),this.initializeStartTimesOnSegmentMapEntry(r,e)),this.sourceStore.dispatch((0,f.setSegmentInfos)(i,r))},e.prototype.initializeStartTimesOnSegmentMapEntry=function(e,t){var n=this.sourceStore.getState();if(n){var r=(0,y.getStartTimeExtrapolationReferencePoint)(e,t,n);(0,y.extrapolateStartTime)(e.segmentInfos,r)}},e.prototype.determineFirstDiscoStartTime=function(e,t){return e.length>0&&null!=e[0].startTime?(0,S.getFirstDiscoSequenceTiming)(this.getCurrentHlsState()).startTime:t.startTime},e.prototype.updatePeriodStartAndDuration=function(e,t,n){var r=n.reduce((function(e,t){return e+t.duration}),0),i=0===e.duration?r:Math.min(e.duration,r),o=this.isLive()?1/0:i,a={start:t,_start:"PT".concat(t,"S"),duration:o,_duration:"PT".concat(i,"S")};this.sourceStore.dispatch((0,d.updatePeriodTimingAction)(s.DEFAULT_PERIOD_ID,a))},e.prototype.trackPlaylistDuration=function(e){this.totalDurationSec=e.endList?Math.min(this.totalDurationSec,e.totalDuration):e.totalDuration},e.prototype.updateDashManifestProperties=function(e){var t,n=!e.endList,r=(0,_.getManifest)(this.sourceStore.getState()),i={_requestTimestamp:e.requestTimestamp,_type:n?"dynamic":"static",_mediaPresentationDuration:n?1/0:"PT".concat(this.totalDurationSec,"S"),_maxSegmentDuration:"PT".concat(e.targetDuration,"S"),_hasIndependentSegments:r._hasIndependentSegments||e.independentSegments};e.start&&(e.start.timeOffset=m.PlaylistUtils.getStartOffsetCloseToPlaylistEnd(e,this.lastStartOffset),this.lastStartOffset=e.start.timeOffset,i._startOffset=m.PlaylistUtils.getStartOffset(e)),n&&(i._minimumUpdatePeriod="PT".concat(e.targetDuration,"S"),i._timeShiftBufferDepth=-this.totalDurationSec,i._availabilityStartTime=null!==(t=r._availabilityStartTime)&&void 0!==t?t:new Date(e.requestTimestamp-(0,u.toMilliSeconds)(this.totalDurationSec)).toISOString()),this.sourceStore.dispatch((0,d.updateManifestAction)(i))},e.prototype.getRepresentationsFromUrl=function(e,t){return t.AdaptationSet.flatMap((function(t){return t.Representation.filter((function(t){return c.URLHelper.isSubUrl(e,t.Uri)}))}))},e.prototype.updateRepresentation=function(e,t,n){var i=r({},e);return i._requestTimestamp=t.requestTimestamp,i._updateInterval=(0,m.calculateUpdateIntervalInSeconds)(this.context.settings,t),i._hls=r(r({},i._hls),{requestTimestamp:t.requestTimestamp,mediaSequence:t.mediaSequence,serverControl:t.serverControl,hasFailedToLoad:!1}),t.partInfo&&(i._hls.partTargetDuration=t.partInfo.targetDuration),i.SegmentList=[{SegmentURL:[],entries:[],totalDuration:0}],this.updateSegmentList(i,t,n),this.sourceStore.dispatch((0,d.updateRepresentationAction)(i)),i},e.prototype.updateSegmentList=function(t,n,r){var i=r.flatMap((function(e){return e.segments}));if(0!==i.length){if(t.SegmentList){this.context.logger.debug("Updating segment list for playlist ".concat(t._id));var o=this.getTranslatedSegmentList(t,i);o.contentProtectionInfos.length>0&&(t.ContentProtection=e.contentProtectionToXmlJson(o.contentProtectionInfos)),t.SegmentList[0].SegmentURL=o.entries,t.SegmentList[0]._duration=n.targetDuration,t.SegmentList[0]._timescale=1}}else this.context.logger.debug("No segments for representation ".concat(t._id," in loaded playlist"))},e.prototype.getTranslatedSegmentList=function(e,t){if(!this.isLive()){var n=this.context.serviceManager.maybeCall(h.ServiceName.ManifestCachingService,(function(t){return t.getSegmentList(e.Uri)}),null,this.sourceContext.sourceIdentifier);return n||(n=this.m3u8Translator.translateSegmentList(e,t),this.context.serviceManager.maybeCall(h.ServiceName.ManifestCachingService,(function(t){return t.cacheSegmentList(n,e.Uri)}),null,this.sourceContext.sourceIdentifier)),n}return this.m3u8Translator.translateSegmentList(e,t)},e.prototype.initSegmentStartTimesFromDiscoSequenceStartTime=function(e,t){var n=this.getCurrentHlsState().discontinuitySequenceTiming,r=Object.keys(n).reverse().find((function(e){return 0!==n[e].startTime}));if(null!=r){var i=t.find((function(e){return String(e.id)===r}));i&&i.segments[0].discontinuity&&this.sourceStore.dispatch((0,b.initSegmentStartTimes)(e,i.indexOfFirstSegment,n[r].startTime))}else this.context.logger.debug("Could not find any discontinuity start times to initialize expected segment playback times")},e.prototype.calculatePlaylistStartTime=function(e){var t=e.segments[0];e.endList?(e.startTime=(0,a.getStartTimeOffset)(this.sourceStore.getState()),e.segments[0].startTime=e.startTime):t&&t.dateTime?(e.startTime=(0,u.toSeconds)(t.dateTime.getTime()),e.segments[0].startTime=e.startTime):e.startTime=(0,u.toSeconds)(e.requestTimestamp)-e.totalDuration},e.prototype.isLive=function(){return"dynamic"===this.getManifest()._type},e.contentProtectionToXmlJson=function(e){return e.map((function(e){var t={_schemeIdUri:e.schemeIdUri};return e.defaultKid&&(t["_cenc:default_KID"]=e.defaultKid),e.pssh&&(t.pssh=[{__text:e.pssh}]),t}))},e.prototype.dispose=function(){this.m3u8Translator=(0,i.dispose)(this.m3u8Translator)},e}();t.M3u8DashManifest=E},22675:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8Loader=t.HlsQueryParamNames=void 0,t.getParsedManifest=k;var i,o=n(25550),a=n(28764),s=n(18665),u=n(60997),c=n(62510),l=n(29638),d=n(88005),_=n(90637),f=n(36564),h=n(67345),p=n(57782),g=n(76650),v=n(8272),m=n(79814),y=n(331),b=n(76885),S=n(99162),E=n(13034),$=n(4053),T=n(41735),A=n(64697),C=n(293),P=n(13254),I=n(73725),w=n(32352),M=n(53950);function k(e,t,n){var r=n.url,i=n.manifestText,o=e.serviceManager.maybeCall(s.ServiceName.ManifestCachingService,(function(e){return e.getParsedManifest(r)}),null,t.sourceIdentifier);return o?Promise.resolve(o):(0,P.parseHlsManifest)(e,i)}!function(e){e.MediaSequenceNumber="_HLS_msn",e.PartIndex="_HLS_part",e.Skip="_HLS_skip"}(i||(t.HlsQueryParamNames=i={}));var O=function(){function e(e,t){var n=this;this.variantUpdateLoaders={},this.updateRepresentation=function(e){var t=n.applyServerControlQueryParams(e,e.Uri);n.context.logger.debug("M3u8Loader: updateRepresentation (".concat(t,")"));var r=n.variantUpdateLoaders[e._id];return n.loadPlaylist(r,t).then((function(t){return n.onMediaLoaded(t,e)})).then((function(e){if((0,P.isM3u8Error)(e))throw e;return e})).catch((function(t){return n.handleRepresentationUpdateFailure(t,e)}))},this.context=e,this.sourceContext=t,this.registeredOnPlayEventHandlers=[],this.registeredOnPausedEventHandlers=[],this.discontinuitySequences=[],this.isCancelled=!1,this.translatedManifest=new I.M3u8DashManifest(e,t),this.masterPlaylistLoader=this.createLoader(h.HttpRequestType.MANIFEST_HLS_MASTER),this.sourceStore=e.serviceManager.get(s.ServiceName.SourceStoreService,t.sourceIdentifier)}return e.prototype.load=function(e){var t=this;return this.isCancelled=!1,this.loadPlaylist(this.masterPlaylistLoader,e).then((function(e){return t.parseMasterPlaylist(e)})).then((function(e){return t.translatedManifest.updateBaseUrl(e.url),t.initializeBackupStreamsHandler(e),t.executeCodecVerification(e)})).then((function(e){return t.handleMasterPlaylist(e),t.loadFirstVariants()})).then((function(){return t.translatedManifest.getManifest()})).catch((function(e){var n=e instanceof Error?e.message:void 0;return t.isCancelled||n===_.RequestError.Canceled?Promise.reject():e instanceof a.PlayerError||e instanceof Error?Promise.reject(e):Promise.reject(t.getErrorFromResponse(e))}))},e.prototype.parseMasterPlaylist=function(e){var t=this;if(this.isCancelled)return Promise.reject(new Error("The loading of the HLS source was cancelled."));var n=e.body;if(void 0===n)return Promise.reject(new Error("Cannot parse the playlist: content is empty."));var i={manifestText:n,url:e.url};return k(this.context,this.sourceContext,i).then((function(n){return(0,P.isValidHlsPlaylist)(n)?(t.maybeCacheManifest(e,n),(0,P.ensureMasterPlaylist)(t.context,n,e.url)):Promise.reject(new Error("Cannot parse master playlist: invalid format."))})).then((function(t){return r(r({},t),{rawString:n,url:e.url})})).catch((function(e){return Promise.reject(new a.PlayerError(o.ErrorCode.SOURCE_MANIFEST_INVALID,{errorMessage:e.message},"HLS manifest is not a valid M3U playlist"))}))},e.prototype.initializeBackupStreamsHandler=function(e){var t=this.translatedManifest.extractBackupStreams(e);t.some((function(e){return e.length>1}))&&(this.backupStreamsHandler=new C.HlsBackupStreamsHandler(this.context,t,this.updateRepresentation))},e.prototype.loadFirstVariants=function(){var e=this.sourceStore.getState(),t=this.translatedManifest.getManifest().Period[0],n=(0,E.findAdaptationSetOfMimeType)(m.MimeType.VideoMp4,t,{sourceState:e}),r=(0,E.findAdaptationSetOfMimeType)(m.MimeType.AudioMp4,t,{sourceState:e,playbackConfig:this.context.config.playback}),i=[];return n&&i.push(this.loadFirstPlaylist(n)),r&&i.push(this.loadFirstPlaylist(r)),Promise.all(i).catch((function(e){return Promise.reject(new a.PlayerError(o.ErrorCode.SOURCE_HLS_STREAM_ERROR,{error:e},"There was an error while retrieving the variant playlists."))}))},e.prototype.loadFirstPlaylist=function(e){var t=this,n=this.getStartRepresentation(e.Representation,e._mimeType,e);return n?this.updateRepresentation(n).then((function(e){return t.sourceStore.dispatch((0,p.setPreferredBitrateForMimeTypeAction)(n._mimeType,n._bandwidth)),t.sourceStore.dispatch((0,$.setRepresentationIdAction)(n._internalId)),e})).catch((function(){return t.context.logger.debug("Representation failed to load, dropping it",n._id),e.Representation=e.Representation.filter((function(e){return e!==n})),t.loadFirstPlaylist(e)})):(this.context.logger.warn("All ".concat(e._mimeType," variants/rendition failed to load")),Promise.reject("all failed"))},e.prototype.getStartRepresentation=function(e,t,n){return this.context.serviceManager.maybeCall(s.ServiceName.AdaptationService,(function(r){r.setAdaptationSetId(n._mimeType,n._internalId);var i=r.selectRepresentation(t,{},e);return e.find((function(e){return e._internalId.equals(i)}))}))},e.prototype.updateAdaptationSet=function(e){var t=this,n=this.translatedManifest.findAdaptationSet(e);return n?Promise.all(n.Representation.map((function(e){var n=t.createLoader(h.HttpRequestType.MANIFEST_HLS_VARIANT);return t.loadPlaylist(n,e.Uri).then((function(n){return t.onMediaLoaded(n,e)})).then((function(e){(0,P.isM3u8Error)(e)||t.sourceStore.dispatch((0,T.updateRepresentationAction)(e))}))}))):Promise.reject("Could not find data")},e.prototype.maybeCacheManifest=function(e,t){this.context.serviceManager.maybeCall(s.ServiceName.ManifestCachingService,(function(n){n.cacheHttpResponse(e,e.url),n.cacheParsedManifest(t,e.url)}),null,this.sourceContext.sourceIdentifier)},e.prototype.executeCodecVerification=function(e){var t=this,n=(0,P.getTracksWithUnknownCodecs)(e),r=n.audioTracksWithoutCodecs,i=n.videoTracksWithoutCodecs;return 0===r.length&&0===i.length?Promise.resolve(e):(this.context.logger.debug("Codecs are missing in master playlist - probing them from segments now"),this.probeMissingAudioCodecs(e,r).then((function(){return t.probeMissingVideoCodecs(e,i)})).then((function(){return e})).catch((function(e){if(e instanceof a.PlayerError)return Promise.reject(e);var n="Codec verification failed";return t.context.logger.debug(n,e),Promise.reject(new a.PlayerError(o.ErrorCode.SOURCE_MANIFEST_INVALID,{reason:e},n))})))},e.prototype.parseMissingCodecsFromPlaylistResponse=function(e,t){var n=this,r=e.url,i=e.body;if(void 0===i)return Promise.reject("Cannot parse codec, empty manifest response");var o={url:t,manifestText:i};return k(this.context,this.sourceContext,o).then((function(i){var o=(0,M.calculateUpdateIntervalInSeconds)(n.context.settings,i),a=Date.now()+(0,y.toMilliSeconds)(o);n.context.serviceManager.maybeCall(s.ServiceName.ManifestCachingService,(function(t){t.cacheHttpResponse(e,r,a),t.cacheParsedManifest(i,r,a)}),null,n.sourceContext.sourceIdentifier);var u=i.segments,c=!i.endList,l=i.mediaSequence,d=M.PlaylistUtils.getBaseUrl(n.translatedManifest.getBaseUrl(),t);return new A.CodecDetector(n.context).probeCodecs(u,c,d,l)}))},e.prototype.getVideoVariantForCodecDetection=function(e){var t=e.map((function(e,t){return{bitrate:e.attributes.BANDWIDTH,id:t}}));return this.context.serviceManager.maybeCall(s.ServiceName.AdaptationService,(function(n){var r=n.selectQualityBasedOnBitrateMeasurement(t);return e[r.id]}))},e.prototype.probeMissingCodecs=function(e,t){var n=this,r=new d.DefaultContentLoader(this.context,{requestType:h.HttpRequestType.MANIFEST_HLS_VARIANT});return this.loadPlaylistForCodecProbing(r,e).then((function(t){return n.parseMissingCodecsFromPlaylistResponse(t,e)})).then((function(n){return(0,P.updateMissingCodecsForPlaylists)(n,t,e)})).catch((function(e){var t;throw n.context.logger.debug("Problem while loading playlist for parsing missing codecs ".concat(null!==(t=null==e?void 0:e.message)&&void 0!==t?t:e),e),e}))},e.prototype.loadPlaylistForCodecProbing=function(e,t){var n=this;return this.loadPlaylist(e,t).catch((function(r){var i;n.context.logger.debug("Representation failed to load during codec probing ".concat(t));var o=null===(i=n.backupStreamsHandler)||void 0===i?void 0:i.getNextBackupUriForCodecProbing(t);return o?(n.context.logger.debug("Attempting to continue codec probing using backup stream ".concat(o)),n.loadPlaylistForCodecProbing(e,o)):Promise.reject(r)}))},e.prototype.probeMissingAudioCodecs=function(e,t){var n=this,r=t.shift();if(!(null==r?void 0:r.attributes.URI))return Promise.resolve();var i=b.URLHelper.getAbsoluteUrl(r.attributes.URI,this.translatedManifest.getBaseUrl());return this.probeMissingCodecs(i,e).then((function(){return n.probeMissingAudioCodecs(e,t)}))},e.prototype.probeMissingVideoCodecs=function(e,t){if(0===t.length)return Promise.resolve();var n=this.getVideoVariantForCodecDetection(t),r=b.URLHelper.getAbsoluteUrl(n.uri,this.translatedManifest.getBaseUrl());return this.probeMissingCodecs(r,e)},e.prototype.handleMasterPlaylist=function(e){var t,n=this;void 0===this.masterPlaylist&&(this.masterPlaylist=e),this.translatedManifest.onMasterPlaylistAvailable(e);var r=this.translatedManifest.getAllVariantRepresentions();r.forEach((function(e){n.variantUpdateLoaders[e._id]=n.createLoader(h.HttpRequestType.MANIFEST_HLS_VARIANT)})),null===(t=this.backupStreamsHandler)||void 0===t||t.populateBackupStreamsMap(r)},e.prototype.onMediaLoaded=function(e,t){var n=this;if(this.isCancelled)return Promise.reject(S.REPRESENTATION_UPDATE_CANCEL);var r=e.url,o=e.body;if(!o)return Promise.resolve(l.M3u8Error.INAVLID);var a=Date.now(),u={url:r,manifestText:o};return k(this.context,this.sourceContext,u).then((function(u){var c;if(u.uri=(0,b.removeQueryParameters)(r,Object.values(i)),u.requestTimestamp=a,w.M3u8Validator.checkForError(u))return l.M3u8Error.INAVLID;u.start=null!==(c=u.start)&&void 0!==c?c:n.masterPlaylist.start,n.discontinuitySequences=(0,P.createDiscontinuitySequences)(u,n.discontinuitySequences);var d=n.filterTooSmallPeriods(n.discontinuitySequences,Boolean(u.endList)),_=n.translatedManifest.onMediaLoaded(o,t,u,d);n.translatedManifest.isLive()||n.context.serviceManager.maybeCall(s.ServiceName.ManifestCachingService,(function(t){t.cacheHttpResponse(e,r),t.cacheParsedManifest(u,r)}),null,n.sourceContext.sourceIdentifier);var f=(0,y.toSeconds)(Date.now()-a);return n.context.store.dispatch((0,g.addMetricsValue)("default",v.MetricType.ProcessingTime,f)),n.context.logger.insane("Parsed playlist in: ".concat(null==f?void 0:f.toFixed(2))),_}))},e.prototype.filterTooSmallPeriods=function(e,t){return e.filter((function(n,r){var i=!t&&r===e.length-1,o=n.segments.reduce((function(e,t){return e+t.duration}),0);return!!(0===r&&o>0||i)||o>0}))},e.prototype.stop=function(){var e=this;this.registeredOnPlayEventHandlers.forEach((function(t){return e.context.eventHandler.off(c.PlayerEvent.Play,t)})),this.registeredOnPausedEventHandlers.forEach((function(t){return e.context.eventHandler.off(c.PlayerEvent.Paused,t)})),this.registeredOnPlayEventHandlers=[],this.registeredOnPausedEventHandlers=[],this.stopLoaders(),this.isCancelled=!0},e.prototype.stopLoaders=function(){var e=this;this.masterPlaylistLoader.cancel(),Object.keys(this.variantUpdateLoaders).forEach((function(t){e.variantUpdateLoaders[t].dispose(),delete e.variantUpdateLoaders[t]}))},e.prototype.stopRepresentationUpdate=function(e){var t,n=this.variantUpdateLoaders[e._id];return(null==n?void 0:n.isLoading())?(this.context.logger.debug("M3u8Loader: stopping ongoing representation update (".concat(e.Uri,")")),n.cancel(),(null!==(t=n.getResponse())&&void 0!==t?t:Promise.resolve()).catch((function(){})).then((function(){}))):Promise.resolve()},e.prototype.applyServerControlQueryParams=function(e,t){var n,r=(0,M.getLastMediaSequenceAndPartIndex)(e);return this.context.settings.LL_HLS&&(0,M.canMakeBlockingPlaylistReload)(e,this.context.settings)&&r?b.URLHelper.appendQueryParametersToUrl(t,((n={})[i.MediaSequenceNumber]=String(r.mediaSequence),n[i.PartIndex]=String(r.partIndex+1),n)):t},e.prototype.handleRepresentationUpdateFailure=function(e,t){return this.isCancelled||(null==e?void 0:e.message)===_.RequestError.Canceled?Promise.reject(S.REPRESENTATION_UPDATE_CANCEL):(this.context.logger.debug("M3u8Loader: updateRepresentation failed (".concat(t.Uri,")")),this.switchToBackupStream(t).then((function(e){return e[0]||Promise.reject(l.M3u8Error.COULD_NOT_LOAD)})).catch((function(e){return Object.values(C.BackupStreamErrors).includes(e)?Promise.reject(l.M3u8Error.COULD_NOT_LOAD):Promise.reject(e)})))},e.prototype.switchToBackupStream=function(e){return this.backupStreamsHandler?this.backupStreamsHandler.switchToBackupStream(e):Promise.reject(C.BackupStreamErrors.NO_BACKUP_STREAMS)},e.prototype.loadPlaylist=function(e,t){var n;if(!t){var r=new a.PlayerError(o.ErrorCode.SOURCE_INVALID,void 0,"Cannot load the playlist: no URL was provided.");return this.context.eventHandler.fireError(r),Promise.reject(r)}var i=this.context.serviceManager.maybeCall(s.ServiceName.ManifestCachingService,(function(e){return e.getHttpResponse(t)}),null,this.sourceContext.sourceIdentifier);if(i)return Promise.resolve(i);var u=null===(n=this.sourceContext.source.options)||void 0===n?void 0:n.manifestWithCredentials;return e.load(t,h.HttpRequestMethod.GET,null,null,null,u)},e.prototype.createLoader=function(e){var t=this;return new d.DefaultContentLoader(this.context,{onSuccess:function(e,n){var r,i;(0,f.isDownloadTimeInformationValid)(e)&&(t.context.logger.debug("Downloaded playlist in: ".concat(null===(r=e.elapsedTime)||void 0===r?void 0:r.toFixed(2),", TTFB: ").concat(null===(i=e.timeToFirstByte)||void 0===i?void 0:i.toFixed(2))),t.context.store.dispatch((0,g.addMetricsValue)("default",v.MetricType.DownloadInformation,{bytes:e.length,time:e.elapsedTime,timeToFirstByte:e.timeToFirstByte})))},maxRetries:this.context.settings.MAX_MPD_RETRIES,requestType:e,resetRetriesWhenOffline:!0})},e.prototype.getErrorFromResponse=function(e){var t=new a.PlayerError(o.ErrorCode.SOURCE_COULD_NOT_LOAD_MANIFEST,{sourceUrl:e.url,statusCode:e.status},"Failed to load the playlist: ".concat(e.status," ").concat(e.statusText,"."),this.sourceContext.sourceIdentifier);return e.status===XMLHttpRequest.UNSENT&&(t=new a.PlayerError(o.ErrorCode.NETWORK_ERROR,{url:e.url,statusCode:e.status,statusText:e.statusText},"Failed to load hls playlist, statusCode: ".concat(e.status,", statusText: ").concat(e.statusText),this.sourceContext.sourceIdentifier)),t},e.prototype.dispose=function(){var e,t=this;this.stop(),this.translatedManifest=(0,u.dispose)(this.translatedManifest),this.masterPlaylist=null,this.masterPlaylistLoader.dispose(),null===(e=this.backupStreamsHandler)||void 0===e||e.dispose(),Object.keys(this.variantUpdateLoaders).forEach((function(e){return t.variantUpdateLoaders[e].dispose()})),this.variantUpdateLoaders=null},e}();t.M3u8Loader=O},83740:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueRenditions=function(e){var t=[];return e.forEach((function(e){var n=t.findIndex((function(t){return(0,r.compareValues)(e,t,["GROUP-ID","NAME","TYPE"])}));if(-1!==n){var i=t[n];"YES"===e.DEFAULT&&"YES"!==i.DEFAULT&&(t[n]=e)}else t.push(e)})),t};var r=n(86865)},73471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8RepresentationFactory=void 0;var r=n(52442),i=n(33696),o=n(42283),a=n(26190),s=n(76885),u=n(53950),c=function(){function e(e,t){this.context=e,this.sourceContext=t}return e.prototype.create=function(e,t,n,i,o){if(void 0===o&&(o=!0),!e)return null;var a=this.createBaseRepresentation(e,i);if(t===r.RepresentationType.AUDIO)a=this.extendToAudioRepresentation(e,a,n,i);else if(t===r.RepresentationType.VIDEO)a=this.extendToVideoRepresentation(e,a,n,i,o);else{if(t!==r.RepresentationType.SUBTITLE)return null;a=this.extendToSubtitleRepresentation(e,a,n,i)}var s=this.getLabelForRepresentation(a);return s&&(a._label=s),a},e.prototype.createBaseRepresentation=function(e,t){var n=e.uri||e.URI;n&&!s.URLHelper.isUrlAbsolute(n)&&(n=s.URLHelper.concatBaseUrlWithPartial(t,n));var r={_id:"",_mimeType:"",_bandwidth:0,_codecs:"",_hls:{requestTimestamp:0},BaseURL:null,SegmentList:[{SegmentURL:[],entries:[],totalDuration:0}],Uri:n};return e.NAME&&(r._label=e.NAME),r},e.prototype.extendToVideoRepresentation=function(e,t,n,r,i){var a=t;if(a._mimeType="video/"+n,a._width=0,a._height=0,a.BaseURL=[{url:u.PlaylistUtils.getBaseUrl(r,e.uri)}],a._bandwidth=e.attributes["AVERAGE-BANDWIDTH"]||e.attributes.BANDWIDTH,a._bandwidth||(a._bandwidth=this.context.settings.MIN_SELECTABLE_VIDEO_BITRATE),a._bandwidth=Number(a._bandwidth),e.attributes.CODECS){var s=o.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS);o.CodecStringHelper.hasOldAvc1CodecFormat(s.video)&&(s.video=o.CodecStringHelper.convertAvc1ToAvcotiCodecFormat(s.video)),i?s.video&&s.audio?a._codecs=s.video+","+s.audio:s.video&&!s.audio?a._codecs=s.video:!s.video&&s.audio&&(a._codecs=s.audio):a._codecs=s.video}return e.attributes["FRAME-RATE"]&&(a._frameRate=parseFloat(e.attributes["FRAME-RATE"])),e.attributes.RESOLUTION&&(a._width=e.attributes.RESOLUTION.width,a._height=e.attributes.RESOLUTION.height,a._id+=e.attributes.RESOLUTION.height+"_"),a._id+=e.attributes.BANDWIDTH,a},e.prototype.extendToAudioRepresentation=function(e,t,n,r){var i,o,a,s=t;return s._id=e.NAME+" "+e["GROUP-ID"]||"",s._mimeType="audio/"+n,s._codecs=e.CODECS||(null===(i=e.attributes)||void 0===i?void 0:i.CODECS),s._name=e.NAME||"",s._groupId=e["GROUP-ID"]||"",s._label=s._name+" "+s._groupId,s._bandwidth=null!==(a=null!==(o=e["AVERAGE-BANDWIDTH"])&&void 0!==o?o:e.BANDWIDTH)&&void 0!==a?a:0,s.BaseURL=[{url:u.PlaylistUtils.getBaseUrl(r,e.URI||e.uri)}],s},e.prototype.extendToSubtitleRepresentation=function(e,t,n,r){var i=t;return i._id=e.NAME,i._mimeType="application/"+n,i._codecs="wvtt",i._name=e.NAME||"",i.BaseURL=[{url:u.PlaylistUtils.getBaseUrl(r,e.URI)}],i._hls.isForced="YES"===e.FORCED,i},e.prototype.getLabelForRepresentation=function(e){var t={id:e._id,mimeType:e._mimeType,width:e._width,height:e._height,bitrate:e._bandwidth};return(0,a.applyLabeling)({source:this.sourceContext.source,logger:this.context.logger,streamType:i.StreamType.Hls,labelingType:a.LabelingType.Qualities},t)},e}();t.M3u8RepresentationFactory=c},52729:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.createNewMapEntry=u,t.updateMapEntry=function(e,t,n){var o=e.segmentInfos,a=o.findIndex((function(e){return function(e,t){var n=e.url===t.uri,r=e.discontinuitySequenceNumber===t.discontinuitySequenceNumber,i=!e.byteRange&&!t.byterange,o=e.byteRange&&t.byterange&&e.byteRange.start===t.byterange.offset&&e.byteRange.end===t.byterange.offset+t.byterange.length;return n&&r&&(o||i)}(e,t.segments[0])}));if(-1===a)return u(t,n);var l=o.length-a,d=t.segments.length-l;if(0!==a||0!==d){var _=t.segments.slice(-d).map((function(e){return c(e,n)})),f=function(e){var t=e[e.length-1];if(void 0!==t.startTime&&void 0!==t.duration)return t.startTime+t.duration}(o);return null!=f&&(0,s.forwardExtrapolateSegmentStartTime)(_,{index:0,startTime:f}),{qualityInfo:r(r({},e.qualityInfo),{lastUpdateTimestamp:Date.now()}),segmentInfos:i(i([],o.slice(a),!0),_,!0)}}return e};var o=n(70016),a=n(28915),s=n(52080);function u(e,t){var n=e.segments.map((function(e){return c(e,t)}));return{qualityInfo:{lastUpdateTimestamp:Date.now()},segmentInfos:n}}function c(e,t){var n,r={url:e.uri,isInitSegment:!1,internalRepresentationId:t._internalId,isDiscontinuityStart:e.discontinuity,discontinuitySequenceNumber:e.discontinuitySequenceNumber,duration:e.duration,startTime:e.startTime,periodId:t._internalId.periodId,key:e.key,metadata:null!==(n=e.metadata)&&void 0!==n?n:[],mimeType:t._mimeType,bitrate:t._bandwidth,codecs:t._codecs};return e.byterange&&(r.byteRange={start:e.byterange.offset,end:e.byterange.offset+e.byterange.length}),e.init&&(r.init=e.init),e.dateTime&&(r.dateTime=e.dateTime),(0,o.isVideoRepresentation)(t)&&(r.height=t._height,r.width=t._width,r.frameRate=t._frameRate),r.segmentId=(0,a.generateSegmentId)(r),r}},49422:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.HlsParsing=t.M3u8Translator=void 0;var i,o=n(52442),a=n(42283),s=n(3941),u=n(10676),c=n(79814),l=n(76885),d=n(91520),_=n(16368),f=n(73543),h=n(67883),p=n(83740),g=n(73471),v=n(53950),m=new RegExp(/^data:text\/plain.*;base64.*,(.+)/),y=function(){function e(e,t){this.adaptationsetId=0,this.assumeAudioMuxedIntoVideoTs=!1,this.memoizedParseBase64DataUrl=(0,u.memoize)((function(e){var t=m.exec(e);return null!==t&&2===t.length?t[1]:null})),this.context=e,this.sourceContext=t,this.representationFactory=new g.M3u8RepresentationFactory(e,t)}return e.prototype.updateBaseUrl=function(e){this.baseURL=l.URLHelper.removeLastPathPart(e)},e.prototype.getBaseUrl=function(){var e;return null!==(e=this.baseURL)&&void 0!==e?e:""},e.prototype.createCeaCaptionObjects=function(e,t){for(var n={},r={_schemeIdUri:"urn:scte:dash:cc:cea-"+t+":2015",_value:""},i=0;i<e.length;i++){var o=e[i]["INSTREAM-ID"];n[o]={lang:e[i].LANGUAGE||e[i].NAME||o,label:e[i].NAME||e[i].LANGUAGE||o},r._value.length>0&&(r._value+=";"),r._value+="708"===t?o.substring(7)+"=lang:":o+"=",r._value+=e[i].LANGUAGE}return{closedCaptionLabel:n,accessibility:r}},e.prototype.createCaptionElements=function(e){if(!e)return{closedCaptionLabel:null,accessibility:[]};var t=this.createCeaCaptionObjects(e.cea608,"608"),n=this.createCeaCaptionObjects(e.cea708,"708"),r=[],i=null;return t.accessibility._value&&(r.push(t.accessibility),i=t.closedCaptionLabel),n.accessibility._value&&r.push(n.accessibility),{closedCaptionLabel:i,accessibility:r}},e.prototype.createAdaptationSetWithUnknownCodecs=function(e,t){var n=this.adaptationsetId.toString(),r={_id:n,_mimeType:"unknown",_internalId:new h.AdaptationSetId(t,n),Representation:[{Uri:l.URLHelper.concatBaseUrlWithPartial(this.baseURL,e.uri),BaseURL:[{url:v.PlaylistUtils.getBaseUrl(this.baseURL,e.uri)}],_bandwidth:Number(e.attributes["AVERAGE-BANDWIDTH"]||e.attributes.BANDWIDTH),_id:n}],isTransmuxingRequired:!0};return this.adaptationsetId++,r},e.prototype.createVideoAdaptationSet=function(e,t,n,r,i){for(var a=[],s=1/0,u=0,c=1/0,l=0,d=1/0,_=0,f="video/"+r,p=0,g=e;p<g.length;p++){var v=g[p];if(v.uri){var m=this.representationFactory.create(v,o.RepresentationType.VIDEO,r,this.baseURL,this.assumeAudioMuxedIntoVideoTs);a.push(m),s=Math.min(s,m._height),u=Math.max(u,m._height),c=Math.min(c,m._width),l=Math.max(l,m._width),d=Math.min(d,m._bandwidth),_=Math.max(_,m._bandwidth)}}a.sort((function(e,t){return e._bandwidth-t._bandwidth}));var y={Representation:a,ContentComponent:[{_id:"video",_contentType:"video"}],_id:String(this.adaptationsetId),_group:null,_mimeType:f,_internalId:new h.AdaptationSetId(n,String(this.adaptationsetId++)),_minBandwidth:d,_maxBandwidth:_,_minHeight:s,_maxHeight:u,_minWidth:c,_maxWidth:l,isTransmuxingRequired:!0};i&&Object.keys(i).forEach((function(e){i[e].entries.filter((function(e){return!e.URI})).forEach((function(e){y.ContentComponent.push({_id:e.NAME,_contentType:"audio",_lang:e.LANGUAGE})}))}));var b=this.createCaptionElements(t);b.closedCaptionLabel&&(y.ClosedCaptionLabels=b.closedCaptionLabel),b.accessibility.length>0&&(y.Accessibility=b.accessibility);var S=this.getLabelForAdaptationSet(y);return S&&"string"==typeof S&&(y._label=S),y},e.prototype.createAudioAdaptationSet=function(e,t,n,r){for(var i=[],a=0,s=e;a<s.length;a++){var u=s[a];if(u.uri){var c=this.representationFactory.create(u,o.RepresentationType.AUDIO,r,this.baseURL,this.assumeAudioMuxedIntoVideoTs);i.push(c)}}i.sort((function(e,t){return e._bandwidth-t._bandwidth}));var l={Representation:i,_id:String(this.adaptationsetId),_group:null,_mimeType:"audio/"+r,_internalId:new h.AdaptationSetId(n,String(this.adaptationsetId++)),_minBandwidth:1/0,_maxBandwidth:0,isTransmuxingRequired:!0},d=this.createCaptionElements(t);d.closedCaptionLabel&&(l.ClosedCaptionLabels=d.closedCaptionLabel),d.accessibility.length>0&&(l.Accessibility=d.accessibility);var _=this.getLabelForAdaptationSet(l);return _&&"string"==typeof _&&(l._label=_),l},e.prototype.createAudioAdaptationSets=function(e,t,n){var r=this,i=this.context.settings.IGNORE_HLS_AUDIO_GROUPS,a=0,s=[],u=function(t){return{Representation:[],_id:String(r.adaptationsetId),_internalId:new h.AdaptationSetId(e,String(r.adaptationsetId++)),_mimeType:"audio/"+n,_minBandwidth:1/0,_maxBandwidth:-1,_lang:t,_group:String(a++),isTransmuxingRequired:!0}};return Object.keys(t).forEach((function(e){var a,c,l,d=t[e],_=d.entries.find((function(e){return e.LANGUAGE&&"und"!==e.LANGUAGE}));_&&(c=_.LANGUAGE),i||(l=u(c));for(var f=(0,p.uniqueRenditions)(d.entries.filter((function(e){return e.URI}))),h=0,g=f;h<g.length;h++){var v=g[h];i&&(l=u(c));var m=r.representationFactory.create(v,o.RepresentationType.AUDIO,n,r.baseURL,r.assumeAudioMuxedIntoVideoTs);l.Representation.push(m),l._minBandwidth=Math.min(l._minBandwidth,m._bandwidth),l._maxBandwidth=Math.max(l._maxBandwidth,m._bandwidth);var y=v.CHARACTERISTICS;if(y&&0===y.indexOf(r.context.settings.HLS_VR_CHARACTERISTICS_UTI)&&(l.Role=[{_schemeIdUri:r.context.settings.VR_SCHEME_ID_URI,_value:y.substring(r.context.settings.HLS_VR_CHARACTERISTICS_UTI.length)}]),!l._label){var b=r.getLabelForAdaptationSet(l);b&&"string"==typeof b?l._label=b:m._name?l._label=m._name:l._label=e}i&&l.Representation.length>0&&s.push(l),l.Representation.sort((function(e,t){return e._bandwidth-t._bandwidth}))}(function(e){e.forEach((function(e,t){e._bandwidth=128e3+32e3*t}))})(null!==(a=null==l?void 0:l.Representation)&&void 0!==a?a:[]),!i&&l.Representation.length>0&&s.push(l)})),s},e.prototype.createSubtitleAdaptationSets=function(e,t,n){var r=this,i=0;return Object.values(t).filter((function(e){return e.URI})).map((function(t){var a={Representation:[],_id:String(r.adaptationsetId),_internalId:new h.AdaptationSetId(e,String(r.adaptationsetId++)),_mimeType:"application/mp4",_lang:t.LANGUAGE,_group:""+i++,_isFragmented:!0},s=r.representationFactory.create(t,o.RepresentationType.SUBTITLE,n,r.baseURL,r.assumeAudioMuxedIntoVideoTs);a.Representation.push(s);var u=r.getLabelForAdaptationSet(a);return u&&"string"==typeof u?a._label=u:s._name?a._label=s._name:a._label=t.LANGUAGE,a}))},e.prototype.getLabelForAdaptationSet=function(e){var t={mimeType:e._mimeType,lang:e._lang};return e._label&&(t.label=e._label),this.getLabelingFunctionForAdaptationSet()(t)},e.prototype.getLabelingFunctionForAdaptationSet=function(){var e=this.context.sourceContext,t=e&&e.source&&e.source.labeling;return t&&t.hls&&t.hls.tracks?"function"!=typeof t.hls.tracks?this.getDefaultLabelForAdaptationSet:t.hls.tracks:this.getDefaultLabelForAdaptationSet},e.prototype.getDefaultLabelForAdaptationSet=function(){return null},e.prototype.extractBackupStreams=function(e){for(var t,n=[],r=null!==(t=this.baseURL)&&void 0!==t?t:"",i=e.playlists,o={},a=0;a<i.length;a++){var s=i[a],u=[];this.addBackupStreamGroup(u,s,e.media,r);for(var c=a+1;c<i.length;c++){var l=i[c];S(s,l)&&(this.addBackupStreamGroup(u,l,e.media,r),l.attributes.AUDIO&&l.attributes.AUDIO!==s.attributes.AUDIO&&(o[l.attributes.AUDIO]=!0),i.splice(c,1),c--)}n.push(u)}return this.context.settings.IGNORE_HLS_AUDIO_GROUPS||(e.media=e.media.filter((function(e){return!o[e.attributes["GROUP-ID"]]}))),n},e.prototype.addBackupStreamGroup=function(e,t,n,r){this.context.settings.DISABLE_HLS_BACKUP_STREAM_FAILOVER||e.push(function(e,t,n){var r={};return r[c.MimeType.VideoMp4]=l.URLHelper.getAbsoluteUrl(e.uri,n),e.attributes.AUDIO&&function(e,t,n){return e.filter((function(e){return b(e.attributes)&&e.attributes["GROUP-ID"]===t&&e.attributes.URI})).map((function(e){var t;return{id:e.attributes.NAME,url:l.URLHelper.getAbsoluteUrl(null!==(t=e.attributes.URI)&&void 0!==t?t:"",n)}}))}(t,e.attributes.AUDIO,n).forEach((function(e){r[e.id]=e.url})),r}(t,n,r))},e.prototype.createDashManifestSkeleton=function(e){var t=e;return this.extractCodecInformation(t),this.playlistPreprocessing(t),this.assumeAudioMuxedIntoVideoTs=this.canAssumeAudioMuxedIntoVideo(t),{BaseURL:[{url:this.baseURL}],Period:[this.createPeriod(t,s.DEFAULT_PERIOD_ID)],_hasIndependentSegments:e.independentSegments,_isHls:!0,isInitialized:!1}},e.prototype.extractCodecInformation=function(e){var t=this;e.playlists.forEach((function(e){if(e.attributes.CODECS){var n=a.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS);if(!n.video&&n.unknown&&(e.attributes.RESOLUTION||e.attributes["FRAME-RATE"])){var r=a.CodecStringHelper.extractCodec(n.unknown);t.context.logger.debug("Assuming unknown codec ".concat(r," is video")),a.CodecStringHelper.addCodec("video",r)}}}))},e.prototype.isVariantOfMimeType=function(e,t){return a.CodecStringHelper.getMimeTypeForCodecString(e.attributes.CODECS)===t},e.prototype.removeUnsupportedAudioOnlyVariants=function(e){var t=this,n=e.playlists.some((function(e){return t.isVariantOfMimeType(e,"video")})),r=e.playlists.some((function(e){return t.isVariantOfMimeType(e,"audio")}));n&&r&&(e.playlists=e.playlists.filter((function(e){return t.isVariantOfMimeType(e,"video")})))},e.prototype.playlistPreprocessing=function(e){this.removeUnsupportedAudioOnlyVariants(e)},e.prototype.getVideoCodecForPlaylist=function(e,t){void 0===t&&(t=!1);var n=a.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS);return n.video?(a.CodecStringHelper.hasOldAvc1CodecFormat(n.video)&&(n.video=a.CodecStringHelper.convertAvc1ToAvcotiCodecFormat(n.video)),t?n.video:n.video.split(".")[0]):null},e.prototype.getAudioCodecForPlaylist=function(e,t){void 0===t&&(t=!1);var n=a.CodecStringHelper.getExtractedCodecStrings(e.attributes.CODECS);return n.audio?t?n.audio:n.audio.split(".")[0]:null},e.prototype.getAllVideoCodecs=function(e){var t=this;return e.map((function(e){return t.getVideoCodecForPlaylist(e)})).filter((function(e,t,n){return e&&n.indexOf(e)===t}))},e.prototype.getAllAudioCodecs=function(e){var t=this;return e.map((function(e){return t.getAudioCodecForPlaylist(e)})).filter((function(e,t,n){return e&&n.indexOf(e)===t}))},e.prototype.groupPlaylistsByCodec=function(e){var t=this.getAllVideoCodecs(e),n=this.getAllAudioCodecs(e);if(0===t.length&&0===n.length)return{unknown:e};if(0===t.length){var r={};return n.forEach((function(t){r[t]=e.filter((function(e){var n;return null===(n=e.attributes.CODECS)||void 0===n?void 0:n.includes(t)}))})),r}var i={};return t.forEach((function(t){i[t]=e.filter((function(e){var n;return null===(n=e.attributes.CODECS)||void 0===n?void 0:n.includes(t)}))})),i},e.prototype.createPeriod=function(t,n){var r=this,o={_id:n,_duration:"PT0S",duration:0,AdaptationSet:[]},s=i.extractMediaRenditions(t,this.context.settings.IGNORE_HLS_AUDIO_GROUPS,(function(e){if(null!=e.attributes.CODECS){var t=function(e){return e.split(",").map((function(e){return a.CodecStringHelper.hasOldAvc1CodecFormat(e)?a.CodecStringHelper.convertAvc1ToAvcotiCodecFormat(e):e})).join(",")}(e.attributes.CODECS);return void 0!==a.CodecStringHelper.getExtractedCodecStrings(t).video}return!0})),u=this.groupPlaylistsByCodec(t.playlists),c=Object.keys(u),l=c.filter((function(e){return a.CodecStringHelper.isVideoCodec(e)})).map((function(e){return r.createVideoAdaptationSet(u[e],s.captions,o._id,f.ContainerFormat.MP4,s.audio)})).filter((function(t){return t.Representation=t.Representation.reduce((function(t,n){var i=e.isRepresentationSupported(n,r.context.renderer),o=Boolean(t.find((function(e){return e.Uri===n.Uri})));return i&&!o&&t.push(n),t}),[]),t.Representation.length>0})),h=c.filter((function(e){return"unknown"===e})).flatMap((function(e){return u[e]})).map((function(e){return r.createAdaptationSetWithUnknownCodecs(e,o._id)})),p=this.createAudioAdaptationSets(o._id,s.audio,f.ContainerFormat.MP4).filter((function(t){return t.Representation=t.Representation.filter((function(t){return e.isRepresentationSupported(t,r.context.renderer)})),t.Representation.length>0})).concat(c.filter((function(e){return a.CodecStringHelper.isAudioCodec(e)})).map((function(e){return r.createAudioAdaptationSet(u[e],s.captions,o._id,f.ContainerFormat.MP4)}))),g=this.createSubtitleAdaptationSets(o._id,s.subtitles,f.ContainerFormat.MP4);return o.AdaptationSet=[].concat(l,p,g,h),d.ModuleManager.has(_.ModuleName.Thumbnail)&&(o.AdaptationSet=d.ModuleManager.get(_.ModuleName.Thumbnail).extendAdaptationSets(o.AdaptationSet,t,this.baseURL)),o},e.isRepresentationSupported=function(e,t){var n=!e._mimeType.includes("audio")&&!e._mimeType.includes("video");if(!e._codecs||n)return!0;var r=a.CodecStringHelper.getExtractedCodecStrings(e._codecs);return Object.keys(r).every((function(e){return a.CodecStringHelper.isSupportedByRenderer(t,e+"/mp4",r[e])}))},e.prototype.canAssumeAudioMuxedIntoVideo=function(e){var t=e.media.filter((function(e){return b(e.attributes)}));return!t.length||t.some((function(e){return!e.attributes.URI}))},e.prototype.parseSegmentEncryptionInfo=function(e,t,n,r,i,o){for(var a,s=function(e){null!==u.memoizedParseBase64DataUrl(e.uri)?(void 0!==t.find((function(t){return!Object.keys(e).some((function(n){return e[n]!==t[n]}))}))||t.push(e),t.length>0&&(a=void 0)):a=(0,v.generateSegmentEncryptionInfo)(e,n,r,o,i)},u=this,c=0,l=null!=e?e:[];c<l.length;c++)s(l[c]);return a},e.prototype.translateSegmentList=function(e,t){var n,i,o,a,s,u=[],c=[],d=null!==(o=null===(i=null===(n=e.BaseURL)||void 0===n?void 0:n[0])||void 0===i?void 0:i.url)&&void 0!==o?o:"",_="";d&&(_=(0,l.extractOrigin)(d)),this.memoizedParseBase64DataUrl.invalidate();for(var f=function(n){var i=t[n];d&&(i.uri=l.URLHelper.buildAbsoluteUrl(d,_,i.uri));var o=h.parseSegmentEncryptionInfo(i.keys,c,d,_,n,null===(a=e._hls)||void 0===a?void 0:a.mediaSequence);i.init&&(i.init.url=l.URLHelper.buildAbsoluteUrl(d,_,i.init.url),i.init.key=h.parseSegmentEncryptionInfo(i.init.keys,c,d,_,n,null===(s=e._hls)||void 0===s?void 0:s.mediaSequence));var f={_media:i.uri,_duration:i.duration,_key:o,_metadata:[],_init:i.init,_mediaSequence:i.mediaSequence,_discontinuitySequenceNumber:i.discontinuitySequenceNumber};["cueTag","scte35","customTags"].filter((function(e){return i.hasOwnProperty(e)})).forEach((function(e){return f._metadata=f._metadata.concat(i[e])})),i.dateTime&&(f._dateTime=i.dateTime),i.parts&&(f._parts=i.parts.map((function(e){return r(r({},e),{uri:l.URLHelper.buildAbsoluteUrl(d,_,e.uri)})}))),f._byteRange=(0,v.parseSegmentByteRange)(i.byterange),u.push(f)},h=this,p=0;p<t.length;p++)f(p);return{entries:u,contentProtectionInfos:this.parseAllContentProtection(c)}},e.prototype.parseAllContentProtection=function(e){var t=this,n=[];return e.forEach((function(e){var r=function(e,t){return d.ModuleManager.has(_.ModuleName.DRM)?d.ModuleManager.get(_.ModuleName.DRM).ContentProtectionHelper.parseContentProtection(e,t):null}(e,t.memoizedParseBase64DataUrl(e.uri));r?n.push(r):t.context.logger.debug("Encountered unknown/unsupported DRM scheme:",e.keyformat)})),n},e.prototype.dispose=function(){this.baseURL=null,this.memoizedParseBase64DataUrl.invalidate()},e}();function b(e){return"AUDIO"===e.TYPE}function S(e,t){var n,r,i,o,a=e.attributes.BANDWIDTH===t.attributes.BANDWIDTH,s=(null===(n=e.attributes.RESOLUTION)||void 0===n?void 0:n.height)===(null===(r=t.attributes.RESOLUTION)||void 0===r?void 0:r.height)&&(null===(i=e.attributes.RESOLUTION)||void 0===i?void 0:i.width)===(null===(o=t.attributes.RESOLUTION)||void 0===o?void 0:o.width);return a&&s}t.M3u8Translator=y,function(e){function t(e,t){var n={};return e.forEach((function(e){var r=t[e["GROUP-ID"]]||t[Object.keys(t)[0]];e["AVERAGE-BANDWIDTH"]=r[0]["AVERAGE-BANDWIDTH"],e.BANDWIDTH=r[0].BANDWIDTH,e.CODECS=r[0].CODECS;var i=e["AVERAGE-BANDWIDTH"]||e.BANDWIDTH,o=Object.keys(n).find((function(t){var r,i,o=n[t].entries[0];return(null==o?void 0:o.NAME)===e.NAME&&a.CodecStringHelper.canSwitchBetweenAudioCodecs(null!==(r=null==o?void 0:o.CODECS)&&void 0!==r?r:"",null!==(i=e.CODECS)&&void 0!==i?i:"")}));if(o&&n[o]){var s=n[o];s.entries.push(e),s.MIN_BANDWIDTH=Math.min(s.MIN_BANDWIDTH,i),s.MAX_BANDWIDTH=Math.max(s.MAX_BANDWIDTH,i)}else{var u=e.CODECS?"".concat(e.NAME," (").concat(e.CODECS,")"):e.NAME;n[u]={entries:[e],MIN_BANDWIDTH:i,MAX_BANDWIDTH:i}}})),n}function n(e){var t={};return e.forEach((function(e){return t[e.NAME]=e})),t}function r(e){var t={cea608:[],cea708:[]};return e.forEach((function(e){e["INSTREAM-ID"]&&0===e["INSTREAM-ID"].indexOf("CC")?t.cea608.push(e):e["INSTREAM-ID"]&&0===e["INSTREAM-ID"].indexOf("SERVICE")&&t.cea708.push(e)})),t}function i(e){var t=function(e){var t={};return e.forEach((function(e){var n=e.attributes.AUDIO;t[n]||(t[n]=[]);var r={"AVERAGE-BANDWIDTH":e.attributes["AVERAGE-BANDWIDTH"],BANDWIDTH:e.attributes.BANDWIDTH,CODECS:void 0};e.attributes.CODECS&&e.attributes.CODECS.indexOf(",")>-1&&(r.CODECS=function(e){return e.attributes.CODECS.split(",").find((function(e){return a.CodecStringHelper.isAudioCodec(e)}))}(e)),t[n].push(r)})),t}(e);return function(e){Object.values(e).forEach((function(e){e.sort((function(e,t){return e.BANDWIDTH-t.BANDWIDTH}))}))}(t),t}e.extractMediaRenditions=function(e,o,a){var s=e.playlists.filter(a),u=e.media.map((function(e){return e.attributes})),c=i(s),l=u.filter((function(e){var t=c[e["GROUP-ID"]];return b(e)&&(o||t)})),d=u.filter((function(e){return"SUBTITLES"===e.TYPE})),_=u.filter((function(e){return"CLOSED-CAPTIONS"===e.TYPE}));return{audio:t(l,c),subtitles:n(d),captions:r(_)}},e.getPropertiesForAudioGroups=i}(i||(t.HlsParsing=i={}))},32352:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8Validator=t.M3u8ValidatorError=void 0,function(e){e[e.EmptyPlaylist=1]="EmptyPlaylist"}(n||(t.M3u8ValidatorError=n={}));var r=function(){function e(){}return e.checkForError=function(t){for(var n=0,r=e.mediaPlaylistRules;n<r.length;n++){var i=r[n];if(!i.fn(t))return i.err}return null},e.mediaPlaylistRules=[{fn:function(e){return e.segments.length>0},err:n.EmptyPlaylist}],e}();t.M3u8Validator=r},64732:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HLSModuleDefinition=void 0;var r=n(3864),i=n(16368),o=n(26527),a=n(33827),s=n(22675),u=n(59692),c=n(53950),l=n(79367),d=n(78148),_=n(34435),f={initSegmentStartTimes:l.initSegmentStartTimes,initSegmentStartTimesFromReferenceSegment:l.initSegmentStartTimesFromReferenceSegment,setPresentationTimeOffset:l.setPresentationTimeOffset,dropSegmentStartTimes:l.dropSegmentStartTimes,setTimestampRolloverPositions:l.setTimestampRolloverPositions},h={getPresentationTimeOffset:_.getPresentationTimeOffset,getHlsState:_.getHlsState,getPlaylistType:_.getPlaylistType,getIsLowLatencyPlaylist:_.getIsLowLatencyPlaylist,getEndlist:_.getEndlist,getDefaultLanguages:_.getDefaultLanguages,getCustomTags:_.getCustomTags,hasPlaylist:_.hasPlaylist,getPlaylistStartTime:_.getPlaylistStartTime,getPlaylistSegments:_.getPlaylistSegments,getDiscoSequenceTiming:_.getDiscoSequenceTiming,getDiscoSequenceTimings:_.getDiscoSequenceTimings,getFirstDiscoSequenceTiming:_.getFirstDiscoSequenceTiming,hasSegmentStartTimesForPlaylist:_.hasSegmentStartTimesForPlaylist,getStartTimeForSegment:_.getStartTimeForSegment,hasInitializedSegmentStartTimes:_.hasInitializedSegmentStartTimes};t.HLSModuleDefinition={name:i.ModuleName.HLS,module:function(){return{HlsTimelineTracker:a.HlsTimelineTracker,M3u8Loader:s.M3u8Loader,HlsUtils:r.HlsUtils,parsePlaylist:u.parsePlaylist,PlaylistUtils:c.PlaylistUtils,DiscontinuitySequenceNumberTracker:o.DiscontinuitySequenceNumberTracker,HlsReducer:d.HlsReducer,actions:f,selectors:h,canMakeBlockingPlaylistReload:c.canMakeBlockingPlaylistReload}},dependencies:[i.ModuleName.EngineBitmovin]},t.default=t.HLSModuleDefinition},53950:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.PlaylistUtils=t.isMediaPlaylist=t.isMasterPlaylist=void 0,t.calculateUpdateIntervalInSeconds=function(e,t){if(!c.isLive(t))return 1/0;var n=t.segments[t.segments.length-1];if(void 0!==n){if(!0===e.LL_HLS){var r=function(e,t){var n,r,i=t.parts;return i&&i.length>0?i[i.length-1].duration:null!==(r=null===(n=e.partInfo)||void 0===n?void 0:n.targetDuration)&&void 0!==r?r:void 0}(t,n);if(void 0!==r)return r}return Math.max(e.MINIMUM_ALLOWED_UPDATE_PERIOD,n.duration)}return e.MINIMUM_ALLOWED_UPDATE_PERIOD},t.parseSegmentByteRange=function(e){var t,n;if(e)return{start:null!==(t=e.offset)&&void 0!==t?t:0,end:(null!==(n=e.offset)&&void 0!==n?n:0)+e.length-1}},t.generateSegmentEncryptionInfo=function(e,t,n,i,o){var a=new ArrayBuffer(16);return void 0!==i&&new DataView(a).setInt32(12,i+o),r(r({iv:a},e),{uri:s.URLHelper.buildAbsoluteUrl(t,n,e.uri)})},t.getLastMediaSequenceAndPartIndex=f,t.canMakeBlockingPlaylistReload=function(e,t){var n,r,i=Boolean(null===(r=null===(n=e._hls)||void 0===n?void 0:n.serverControl)||void 0===r?void 0:r.canBlockReload),o=f(e),a=_(e)<=function(e,t){var n,r=null===(n=e._hls)||void 0===n?void 0:n.partTargetDuration;return r?r*t.LL_HLS_MAX_PLAYLIST_AGE_FOR_BLOCKING_REQUEST_IN_PART_TARGET_MULTIPLES:-1}(e,t);return i&&void 0!==o&&a};var i=n(91397),o=n(81361),a=n(331),s=n(76885),u=n(67550);t.isMasterPlaylist=function(e){return"playlists"in e},t.isMediaPlaylist=function(e){return!(0,t.isMasterPlaylist)(e)};var c=function(){function e(){}return e.createDiscontinuitySequences=function(e,t){var n=e.segments.filter((function(e){return e.duration>0})),r=this.getStartingDiscontinuity(e,n,t),i={id:r,segments:[],duration:0},o=[i];return n.forEach((function(e,t){void 0!==e.discontinuity&&(r++,0===t?i.id=r:(i={id:r,duration:0,segments:[]},o.push(i))),e.discontinuitySequenceNumber=r,i.segments.push(e),i.duration+=e.duration})),o},e.getStartingDiscontinuity=function(t,n,r){var i=t.discontinuitySequence;return null==i&&(i=0!==r.length&&e.isLive(t)?this.findCurrentDiscontinuitySequenceNumber(n,r):0),i},e.findCurrentDiscontinuitySequenceNumber=function(e,t){for(var n=[],r=0,i=0;i<t.length-1;i++)r+=t[i].segments.length,n.push(r);var o=[];return e.forEach((function(e,t){void 0!==e.discontinuity&&o.push(t)})),0===n.length?t[0]?t[0].id:0:0===o.length?t[t.length-1].id:o.length!==n.length?o.length>n.length?t[0].id:t[1].id:this.findFirstPeriodByIndexTracking(n,o,t)},e.findFirstPeriodByIndexTracking=function(e,t,n){if(e[0]>t[0])return n[0].id;if(e[0]<t[0]){for(var r=e[0]-t[0],i=0,o=0;o<e.length;o++)e[o]+r<t[0]&&i++;return n[i].id}var a=function(){return e.every((function(e,n){return e===t[n]}))};if(a())return n[0].id;for(var s=1;e.length>0;){for(e.shift(),o=0;o<e.length;o++)e[o]--;if(a())break;s++}return n[s].id},e.extrapolateProgramDateTime=function(e){var t=null;if(e.find((function(e,n){return e.dateTime&&(t=n),void 0!==e.dateTime})),null!==t){var n;for(n=t-1;n>=0;n--){var r=e[n+1].dateTime,i=Math.ceil((0,a.toMilliSeconds)(e[n].duration));e[n].dateTime=new Date(r.getTime()-i)}for(n=t+1;n<e.length;n++){var o=e[n-1].dateTime,s=Math.ceil((0,a.toMilliSeconds)(e[n-1].duration));e[n].dateTime=new Date(o.getTime()+s)}}},e.isLive=function(e){return!0!==e.endList},e.getProgramDateTimeFromSegmentUrl=function(e,t){if(e.indexOf("akamaihd.net")>-1){var n=e.match(/segment(\d{9})/);if(n&&2===n.length){var r=parseInt(n[1])*Math.round((0,a.toMilliSeconds)(t));return new Date(r)}}return null},e.correctStartOffsetToBounds=function(e,t){return e>0&&e>t?t:e<0&&Math.abs(e)>t?-t:e},e.getImpreciseStartOffsetFromStartOfPlaylist=function(e){for(var t=e.start.timeOffset,n=0,r=0;r<e.segments.length-1&&t-e.segments[r+1].duration>0;r++){var i=e.segments[r].duration;t-=i,n+=i}return n},e.getImpreciseStartOffsetFromEndOfPlaylist=function(e){for(var t=Math.abs(e.start.timeOffset),n=0,r=e.segments.length-1;r>=0&&d(t,1)>0;r--)t-=e.segments[r].duration,n+=d(e.segments[r].duration,2);return e.totalDuration-n},e.getImpreciseStartOffset=function(t){return t.start.timeOffset>=0?e.getImpreciseStartOffsetFromStartOfPlaylist(t):e.getImpreciseStartOffsetFromEndOfPlaylist(t)},e.getStartOffsetCloseToPlaylistEnd=function(t,n){var r=t.start.timeOffset;return r=(r=e.correctStartOffsetToBounds(r,t.totalDuration))<0?-d(Math.abs(r),2):d(r,2),Math.max(n,r)},e.getStartOffset=function(t){var n=t.start.timeOffset;return(n=e.correctStartOffsetToBounds(n,t.totalDuration))<0&&(n+=t.totalDuration),t.start.precise||(n=e.getImpreciseStartOffset(t)),Number(n.toFixed(2))},e.addNewSegments=function(e,t){if(e.length<1)e.push.apply(e,t);else{var n=e[e.length-1],a=(0,o.findIndexFromEnd)(t,(function(e){return l(e,n)}));a>-1&&n.uri.endsWith(u.PHANTOM_SEGMENT_URL)&&function(e,t){(0,u.copyPropValues)(t,e,["uri","duration","parts"]),!e.uri.endsWith(u.PHANTOM_SEGMENT_URL)&&(e.uri=(0,i.forceReallocation)(e.uri))}(n,t[a]);var s=t.slice(a+1).map((function(e){return r(r({},e),{uri:(0,i.forceReallocation)(e.uri)})}));e.push.apply(e,s)}},e.removeDroppedOutSegments=function(e,t){if(0!==t.length)for(var n=t[0];e.length>0&&!l(e[0],n);)e.shift();else(0,o.clearArray)(e)},e.getBaseUrl=function(e,t){var n=e;return n=s.URLHelper.removeUrlParameters(n),!(t=s.URLHelper.removeLastPathPart(t))||t.indexOf("/")<0?e:s.URLHelper.concatUrlParts(n,t)},e}();function l(e,t){return e.mediaSequence===t.mediaSequence}function d(e,t){return Math.floor(e*Math.pow(10,t))/Math.pow(10,t)}function _(e){var t;return(null===(t=null==e?void 0:e._hls)||void 0===t?void 0:t.requestTimestamp)?(0,a.toSeconds)(Date.now()-e._hls.requestTimestamp):1/0}function f(e){var t,n,r=null===(t=e.SegmentList)||void 0===t?void 0:t[0].SegmentURL,i=null==r?void 0:r[r.length-1],o=null!==(n=null==i?void 0:i._parts)&&void 0!==n?n:[];if(i&&0!==o.length){if((o=o.filter((function(e){return!e.isPreloadHint}))).length>0)return{mediaSequence:i._mediaSequence,partIndex:o.length-1};var a=null==r?void 0:r[r.length-2];if((null==a?void 0:a._parts)&&0!==a._parts.length)return{mediaSequence:a._mediaSequence,partIndex:a._parts.length-1}}}t.PlaylistUtils=c},52080:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StartTimeExtrapolationDirection=void 0,t.extrapolateStartTime=function(e,t,n){void 0===n&&(n=r.Bidirectional),n===r.Backward?c(e,t):(n===r.Forward||c(e,t),u(e,t))},t.forwardExtrapolateSegmentStartTime=u,t.backwardExtrapolateSegmentStartTime=c,t.getStartTimeExtrapolationReferencePoint=function(e,t,n){var r,o;if(t.endList)return{index:0,startTime:(0,i.getStartTimeOffset)(n)};var u=e.segmentInfos[0];if(null==u?void 0:u.dateTime)return{index:0,startTime:(0,a.toSeconds)(u.dateTime.getTime())};var c=(0,s.getMostRecentlyRefreshedQuality)(n);if(c){var d=l(e,c);if(d)return d}return{index:0,startTime:null!==(o=null===(r=null==c?void 0:c.segmentInfos[0])||void 0===r?void 0:r.startTime)&&void 0!==o?o:(0,a.toSeconds)(t.requestTimestamp)-t.totalDuration}},t.getStartTimeViaDiscontinuityBoundaries=l,t.findDiscontinuityBoundary=d,t.hasDiscontinuityBoundary=_;var r,i=n(42055),o=n(81361),a=n(331),s=n(93326);function u(e,t){var n=t.index,r=t.startTime;e[n].startTime=r;for(var i=n+1;i<e.length;i++)e[i].startTime=e[i-1].startTime+e[i-1].duration}function c(e,t){var n=t.index,r=t.startTime;e[n].startTime=r;for(var i=n-1;i>=0;i--)e[i].startTime=e[i+1].startTime-e[i].duration}function l(e,t){if(_(e.segmentInfos)&&_(t.segmentInfos)){var n=t.segmentInfos[t.segmentInfos.length-1],r=d(t.segmentInfos,n.discontinuitySequenceNumber),i=t.segmentInfos[r],o=d(e.segmentInfos,i.discontinuitySequenceNumber);if(null!=o)return{index:o,startTime:i.startTime}}}function d(e,t){return _(e)?(0,o.findIndexFromEnd)(e,(function(e){return Boolean(e.isDiscontinuityStart)&&e.discontinuitySequenceNumber===t})):-1}function _(e){if(!e.length)return!1;if(e[0].isDiscontinuityStart)return!0;var t=e[0],n=e[e.length-1];return t.discontinuitySequenceNumber!==n.discontinuitySequenceNumber}!function(e){e.Backward="backward",e.Forward="forward",e.Bidirectional="Bidirectional"}(r||(t.StartTimeExtrapolationDirection=r={}))},4383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerParser=void 0;var r=function(){function e(e){var t=this;this.isParsing=!1,this.jobQueue=[],this.onWorkerMessage=function(e){var n=e.data;if(["parsedPlaylist","error"].includes(n.action)&&0!==t.jobQueue.length){var r=t.jobQueue.shift();if("error"===n.action&&(null==r||r.rejectFn(n.data)),"parsedPlaylist"===n.action&&(null==r||r.resolveFn(n.data)),t.jobQueue.length>0){var i=t.jobQueue[0];t.parsingWorker.postMessage(i.message)}else t.isParsing=!1}};try{var r=n(80211);this.parsingWorker=new r,this.parsingWorker.onmessage=this.onWorkerMessage}catch(t){e.warn("WebWorkerParser: Could not create web worker",t)}}return e.prototype.parsePlaylist=function(e,t){var n=this;return new Promise((function(r,i){var o={action:"parseHlsPlaylist",payload:{data:e,options:t}};n.jobQueue.push({resolveFn:r,rejectFn:i,message:o}),n.isParsing||(n.isParsing=!0,n.parsingWorker.postMessage(o))}))},e.getInstance=function(t){return e.instance||(e.instance=new e(t)),e.instance},e.instance=null,e}();t.WebWorkerParser=r},47967:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.generateRendition=function(e){var t,n,i;return{name:e.name,attributes:r(r({},e.attributes),{TYPE:null===(t=e.attributes)||void 0===t?void 0:t.TYPE,"GROUP-ID":null===(n=e.attributes)||void 0===n?void 0:n["GROUP-ID"],NAME:null===(i=e.attributes)||void 0===i?void 0:i.NAME})}},t.generateStartAttributes=function(e){var t,n;return(null===(t=e.attributes)||void 0===t?void 0:t.hasOwnProperty("TIME-OFFSET"))&&(n={timeOffset:Number(e.attributes["TIME-OFFSET"]),precise:"YES"===e.attributes.PRECISE}),e.attributes&&n&&n.hasOwnProperty("timeOffset")&&(e.attributes["TIME-OFFSET"]=n.timeOffset,e.attributes.PRECISE=n.precise),n},t.generatePartInfoTag=function(e){return{targetDuration:parseFloat(e["PART-TARGET"])}},t.generateServerControlTag=function(e){var t={canBlockReload:!1};return e.attributes?(e.attributes["CAN-SKIP-UNTIL"]&&(t.canSkipUntil=parseFloat(e.attributes["CAN-SKIP-UNTIL"])),e.attributes["CAN-SKIP-DATERANGES"]&&(t.canSkipDateRanges="YES"===e.attributes["CAN-SKIP-DATERANGES"]),e.attributes["HOLD-BACK"]&&(t.holdBack=parseFloat(e.attributes["HOLD-BACK"])),e.attributes["PART-HOLD-BACK"]&&(t.partHoldBack=parseFloat(e.attributes["PART-HOLD-BACK"])),e.attributes["CAN-BLOCK-RELOAD"]&&(t.canBlockReload="YES"===e.attributes["CAN-BLOCK-RELOAD"]),t):t},t.generatePartTag=function(e,t){var n={uri:(0,a.forceReallocation)(e.URI),duration:parseFloat(e.DURATION)};if("YES"===e.INDEPENDENT&&(n.independent=!0),e.BYTERANGE){var r=e.BYTERANGE.split("@"),i=parseInt(r[0]),o=parseInt(r[1]);isNaN(o)&&(o=(null==t?void 0:t.byteRange)?t.byteRange.end+1:0),n.byteRange={start:o,end:o+i-1}}return"YES"===e.GAP&&(n.gap=!0),n},t.generatePreloadHintTag=function(e,t){if("PART"===e.TYPE){var n={uri:(0,a.forceReallocation)(e.URI),duration:t,isPreloadHint:!0};return(r=u(e))&&(n.byteRange=r),{part:n}}if("MAP"===e.TYPE){var r,i={url:(0,a.forceReallocation)(e.URI)};return(r=u(e))&&(i.byteRange=r),{init:i}}return{}},t.generateStreamInfTag=function(e,t){var n,i,o,a,s,u={name:e.name,uri:t,attributes:r(r({},e.attributes),{BANDWIDTH:null===(n=e.attributes)||void 0===n?void 0:n.BANDWIDTH})};return(null===(i=e.attributes)||void 0===i?void 0:i.RESOLUTION)&&(u.attributes.RESOLUTION=d(e)),(null===(o=e.attributes)||void 0===o?void 0:o.BANDWIDTH)&&(u.attributes.BANDWIDTH=parseInt(e.attributes.BANDWIDTH)),(null===(a=e.attributes)||void 0===a?void 0:a["AVERAGE-BANDWIDTH"])&&(u.attributes["AVERAGE-BANDWIDTH"]=parseInt(e.attributes["AVERAGE-BANDWIDTH"])),(null===(s=e.attributes)||void 0===s?void 0:s["PROGRAM-ID"])&&(u.attributes["PROGRAM-ID"]=parseInt(e.attributes["PROGRAM-ID"])),u.id=c(u.attributes),u},t.generateVariantPlaylistId=c,t.generateSessionKeyTag=function(e){l(e)},t.generateIFrameStreamInfTag=function(e){var t,n,r;(null===(t=e.attributes)||void 0===t?void 0:t.BANDWIDTH)&&(e.attributes.BANDWIDTH=parseInt(e.attributes.BANDWIDTH)),(null===(n=e.attributes)||void 0===n?void 0:n["AVERAGE-BANDWIDTH"])&&(e.attributes["AVERAGE-BANDWIDTH"]=parseInt(e.attributes["AVERAGE-BANDWIDTH"],10)),(null===(r=e.attributes)||void 0===r?void 0:r.RESOLUTION)&&(e.attributes.RESOLUTION=d(e))},t.generateSegmentEntrySkeleton=function(){return{uri:"",duration:0,mediaSequence:0}},t.generateCueTag=function(e,t){var n={type:t};if(e.attributes){var r=[];for(var i in e.attributes)if(e.attributes.hasOwnProperty(i)){var o=e.attributes[i]?"".concat(i,"=").concat(e.attributes[i]):i;r.push(o)}n.attributes=r}return n},t.generateDateRange=function(e){var t={type:o.MetadataType.DATERANGE};if(e.attributes){t.clientAttributes={};var n=e.attributes;for(var r in n)n.hasOwnProperty(r)&&(r.startsWith("X-")?t.clientAttributes[(0,a.kebabCaseToCamelCase)(r.substring(2))]=n[r]:t[(0,a.kebabCaseToCamelCase)(r)]=n[r])}return t.duration&&(t.duration=Number(t.duration)),t.plannedDuration&&(t.plannedDuration=Number(t.plannedDuration)),t.endOnNext&&(t.endOnNext=!0),t},t.generateKeyTag=function(e){if(l(e),e.attributes&&"NONE"!==e.attributes.METHOD&&e.attributes.URI){var t={method:(0,a.forceReallocation)(e.attributes.METHOD)||"AES-128",uri:(0,a.forceReallocation)(e.attributes.URI)};return void 0!==e.attributes.IV&&(t.iv=e.attributes.IV),e.attributes.KEYFORMAT&&(t.keyformat=(0,a.forceReallocation)(e.attributes.KEYFORMAT)),e.attributes.KEYFORMATVERSIONS&&(t.keyformatversions=(0,a.forceReallocation)(e.attributes.KEYFORMATVERSIONS)),e.attributes.KEYID&&(t.keyid=(0,a.forceReallocation)(e.attributes.KEYID)),t}},t.generateByteRangeTag=function(e,t){var n;if(e.value){var r=e.value.split("@"),i=r[0],o=r[1],a={length:parseInt(i||"0")};if(o)a.offset=parseInt(o);else{var s=t[t.length-1];(null==s?void 0:s.byterange)&&(a.offset=(null!==(n=s.byterange.offset)&&void 0!==n?n:0)+s.byterange.length)}return a}},t.generateMapTag=function(e,t){var n,r;if(null===(n=e.attributes)||void 0===n?void 0:n.URI){var o={url:(0,a.forceReallocation)(e.attributes.URI)};if(null===(r=e.attributes)||void 0===r?void 0:r.BYTERANGE){var s=e.attributes.BYTERANGE.split("@"),u=s[0],c=s[1];o.byteRange={start:parseInt(c),end:parseInt(c)+parseInt(u)-1}}return t.keys.length>0&&(o.keys=i([],t.keys,!0),t.keyInUse=!0),o}},t.generateCustomTag=function(e){try{e=(0,a.forceReallocation)(e);var t=/^#([^:=]*)([:=])?(.*)$/.exec(e);if(!(null==t?void 0:t[1]))return;var n={name:t[1]},r="";if("="===t[2]&&t[3])r=t[3];else if(":"===t[2]&&t[3]){var i=g.exec(t[3]);i&&"="===i[2]&&i[3]?n.attributes=function(e){for(var t=e.split(_),n=t.length,r={};n--;)if(""!==t[n]){var i=f.exec(t[n]);if(i){var o=i.slice(1),a=o[0],s=o[1];r[a.trim()]=s.trim().replace(h,"$1")}}return r}(t[3]):r=t[3]}return r&&(n.value=r.replace(p,"$1")),n}catch(e){return}};var o=n(62510),a=n(91397),s=n(56093);function u(e){var t=parseInt(e["BYTERANGE-START"]),n=parseInt(e["BYTERANGE-END"]);if(!isNaN(t)||!isNaN(n))return{start:isNaN(t)?0:t,end:isNaN(n)?Math.pow(2,53)-1:n}}function c(e){var t="";return e.RESOLUTION&&(t+=e.RESOLUTION.height+"_"),t+e.BANDWIDTH}function l(e){var t;(null===(t=e.attributes)||void 0===t?void 0:t.IV)&&(e.attributes.IV=e.attributes.IV.toLowerCase(),"0x"===e.attributes.IV.substring(0,2)&&(e.attributes.IV=e.attributes.IV.substring(2)),e.attributes.IV=new Uint8Array(s.FormatHelper.hexToBytes(e.attributes.IV)).buffer)}function d(e){var t,n={width:0,height:0},r=null===(t=e.attributes)||void 0===t?void 0:t.RESOLUTION.split("x");return r[0]&&(n.width=parseInt(r[0])),r[1]&&(n.height=parseInt(r[1])),n}var _=/(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))/,f=/([^=]*)=(.*)/,h=/^['"](.*)['"]$/,p=/^['"](.*)['"]$/g,g=/^([^:="]*)([:=])?(.*)$/},27485:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextParser=void 0;var n=/[ \t]+/gm,r=function(){function e(e){this.data=e,this.position=0}return e.prototype.isAtEnd=function(){return this.position===this.data.length},e.prototype.skipWhitespace=function(){this.readRegex(n)},e.prototype.readRegex=function(e){var t=this.indexOf(e);if(!this.isAtEnd()&&void 0!==t&&t.position===this.position)return this.position+=t.length,t.results},e.prototype.indexOf=function(e){e.lastIndex=this.position;var t=e.exec(this.data);if(null!==t)return{position:t.index,length:t[0].length,results:t}},e}();t.TextParser=r},59692:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePlaylist=function(e,t){void 0===t&&(t={});var n=-1===e.indexOf("#EXTINF")?r.Master:r.Media,d=e.replace(u,"\n").trim().split(/\n+/m),_=(0,i.removeTrailingWhitespaces)(d[0]);if(!c.test(_))throw new Error("Playlist parsing failed: missing #EXTM3U tag");if(n===r.Media)return(0,a.parseVariant)(d,t);for(var f,h=[],p=[],g=[],v=1,m=!0,y=!1,b=!0,S=0;S<d.length;S++){var E=(0,i.removeTrailingWhitespaces)(d[S]),$=d[S+1];if((0,i.isCustomTag)(E))l(h,E);else if(b)b=!1;else{var T=(0,o.parseTag)(E);switch(T.name){case"EXT-X-STREAM-INF":g.push((0,s.generateStreamInfTag)(T,(0,i.removeTrailingWhitespaces)($))),b=!0;break;case"EXT-X-MEDIA":var A=(0,s.generateRendition)(T);p.push(A),h.push(A);break;case"EXT-X-VERSION":v=Number(T.value);break;case"EXT-X-START":f=(0,s.generateStartAttributes)(T),h.push(T);break;case"EXT-X-ALLOW-CACHE":m="YES"===T.value||void 0===T.value;break;case"EXT-X-INDEPENDENT-SEGMENTS":y=!0,h.push(T);break;case"EXT-X-I-FRAME-STREAM-INF":(0,s.generateIFrameStreamInfTag)(T),h.push(T);break;case"EXT-X-SESSION-DATA":default:h.push(T);break;case"EXT-X-SESSION-KEY":(0,s.generateSessionKeyTag)(T),h.push(T)}}}var C={version:v,allowCache:m,independentSegments:y,hasM3u:!0,media:p,playlists:g,tags:h=h.concat(g)};return f&&(C.start=f),C};var r,i=n(56461),o=n(52600),a=n(55877),s=n(47967),u=/\r\n|\r(?=[^\n]|$)/gm,c=/^#EXTM3U($|[ \t\n])/m;function l(e,t){var n=(0,s.generateCustomTag)(t);n&&e.push(n)}!function(e){e.Master="master",e.Media="media"}(r||(r={}))},56461:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.parseSegments=function(e,t,n,r){void 0===r&&(r={});for(var o,l=[],p=0,g=(0,c.generateSegmentEntrySkeleton)(),v=i([],t,!0),m=0,y=n.mediaSequence,b={keys:[],keyInUse:!1},S=function(e){(function(e,t,n,r,o,a,s){e.duration=t,e.uri=n,e.mediaSequence=s,r&&(e.init=r),a.length>0&&(e.customTags=a),o.keys.length>0&&(e.keys=i([],o.keys,!0),o.keyInUse=!0)})(g,m,e,o,b,v,y),l.push(g),p+=m,y++,g=(0,c.generateSegmentEntrySkeleton)(),v=[],m=0},E=function(e){var t,a,d=(0,s.parseTag)(e);switch(d.name){case"EXTINF":m=parseFloat(d.value);break;case"EXT-X-BYTERANGE":g.byterange=(0,c.generateByteRangeTag)(d,l);break;case"EXT-X-DISCONTINUITY":g.discontinuity=!0;break;case"EXT-X-PROGRAM-DATE-TIME":!function(e,t){t.value&&(e.dateTime=new Date(t.value))}(g,d);break;case"EXT-X-KEY":if("NONE"===(null===(t=d.attributes)||void 0===t?void 0:t.METHOD)){b.keys=[];break}!function(e,t){t.keyInUse&&(t.keys=[],t.keyInUse=!1);var n=(0,c.generateKeyTag)(e);void 0!==n&&t.keys.push(n)}(d,b);break;case"EXT-X-MAP":o=(0,c.generateMapTag)(d,b);break;case"EXT-X-DATERANGE":!function(e,t){void 0===e.dateRange&&(e.dateRange=[]),e.dateRange.push((0,c.generateDateRange)(t))}(g,d);break;case"EXT-X-CUE-OUT-CONT":g.cueTag=(0,c.generateCueTag)(d,"CUE-OUT-CONT");break;case"EXT-X-CUE-OUT":g.cueTag=(0,c.generateCueTag)(d,"CUE-OUT");break;case"EXT-X-CUE-IN":g.cueTag=(0,c.generateCueTag)(d,"CUE-IN");break;case"EXT-X-SCTE35":_(g,d);break;case"EXT-X-PART":!function(e,t,n){var r;if(n.parsePartTags){t.parts=null!==(r=t.parts)&&void 0!==r?r:[];var i=t.parts[t.parts.length-1];t.parts.push((0,c.generatePartTag)(e.attributes,i))}}(d,g,r);break;case"EXT-X-PRELOAD-HINT":var f=function(e,t,n){return n.parsePartTags&&t?(0,c.generatePreloadHintTag)(e.attributes,t.targetDuration):{}}(d,n.partInfo,r);f.init&&(o=f.init,b.keys.length>0&&(o.keys=i([],b.keys,!0),b.keyInUse=!0)),f.part&&(g.parts=null!==(a=g.parts)&&void 0!==a?a:[],g.parts.push(f.part));break;case"EXT-X-ENDLIST":n.endList=!0;break;default:(0,u.resolvePlaylistTag)(n,d,v)}},$=0,T=e;$<T.length;$++){var A=f(T[$]);""!==A&&(A.startsWith("#")?h(A)?d(n,v,A):E(A):S(A))}g.parts&&g.parts.length>0&&(m=g.parts.reduce((function(e,t){return e+t.duration}),0),S(a.PHANTOM_SEGMENT_URL)),n.segments=l,n.totalDuration=p},t.addCustomTagToPlaylistTagList=l,t.handleCustomTag=d,t.removeTrailingWhitespaces=f,t.isCustomTag=h;var o=n(62510),a=n(67550),s=n(52600),u=n(55877),c=n(47967);function l(e,t){void 0===e.tags&&(e.tags=[]),t&&e.tags.push(t)}function d(e,t,n){t.push({type:o.MetadataType.CUSTOM,attributes:n}),l(e,(0,c.generateCustomTag)(n))}function _(e,t){var n;void 0===e.scte35&&(e.scte35=[]),e.scte35.push({type:o.MetadataType.SCTE,attributes:r({CUE:null===(n=t.attributes)||void 0===n?void 0:n.CUE},t.attributes)})}function f(e){return e.replace(/^[ \t]+/g,"")}function h(e){return/^#(?!EXT)/m.test(e)}},52600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseTag=function(e){var t,n=i.exec(e);if(!n)throw new Error("Invalid tag "+e);var s,u=n[1],c=n[2],l={};if(c){var d=new r.TextParser(c),_=void 0,f=d.readRegex(o);for(f&&(s=null!==(t=f[1])&&void 0!==t?t:f[2]);_=d.readRegex(a);){var h=_[1],p=_[2]||_[3];if(h.includes(",")){var g=h.split(","),v=g[0];h=g[1].trim(),l[v]=void 0}l[h]=p,d.skipWhitespace()}}return{name:u,attributes:l,value:s}};var r=n(27485),i=/^#(EXT[^:]*)(?::(.*))?$/,o=/^(?:"([^"]*)"|([^,=]+))(?:,|$)/g,a=/([^=]+)=*(?:"([^"]*)"|([^",]*))(?:,|$)/g},55877:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SEGMENT_TAGS=void 0,t.parseVariant=function(e,n){void 0===n&&(n={});for(var r={version:1,allowCache:!0,hasM3u:!0,endList:!1,segments:[],targetDuration:0,totalDuration:0,mediaSequence:0},i=[],s=0;s<e.length;s++){var l=(0,o.removeTrailingWhitespaces)(e[s]);if(""!==l)if((0,o.isCustomTag)(l))(0,o.handleCustomTag)(r,i,l);else{var d=(0,a.parseTag)(l);if(t.SEGMENT_TAGS.includes(d.name))return(0,o.parseSegments)(e.slice(s),i,r,n),u(r),r;c(r,d,i)}}return u(r),r},t.resolvePlaylistTag=c;var i=n(62510),o=n(56461),a=n(52600),s=n(47967);function u(e){var t;"EVENT"===e.playlistType&&(e.discontinuitySequence=null!==(t=e.discontinuitySequence)&&void 0!==t?t:0)}function c(e,t,n){switch(t.name){case"EXT-X-VERSION":e.version=Number(t.value);break;case"EXT-X-START":e.start=(0,s.generateStartAttributes)(t);break;case"EXT-X-INDEPENDENT-SEGMENTS":e.independentSegments=!0;break;case"EXT-X-TARGETDURATION":t.value&&(e.targetDuration=parseInt(t.value));break;case"EXT-X-MEDIA-SEQUENCE":t.value&&(e.mediaSequence=parseInt(t.value));break;case"EXT-X-DISCONTINUITY-SEQUENCE":t.value&&(e.discontinuitySequence=parseInt(t.value));break;case"EXT-X-PLAYLIST-TYPE":e.playlistType="EVENT"===t.value?"EVENT":"VOD";break;case"EXT-X-PART-INF":e.partInfo=(0,s.generatePartInfoTag)(t.attributes);break;case"EXT-X-ALLOW-CACHE":e.allowCache="NO"!==t.value;break;case"EXT-X-SERVER-CONTROL":e.serverControl=(0,s.generateServerControlTag)(t);break;case"EXTM3U":break;default:n.push(r({type:i.MetadataType.CUSTOM},t)),(0,o.addCustomTagToPlaylistTagList)(e,t)}}t.SEGMENT_TAGS=["EXTINF","EXT-X-BYTERANGE","EXT-X-DISCONTINUITY","EXT-X-PROGRAM-DATE-TIME","EXT-X-KEY","EXT-X-GAP","EXT-X-BITRATE","EXT-X-PART","EXT-X-DATERANGE","EXT-X-MAP","EXT-X-CUE-OUT-CONT","EXT-X-CUE-OUT","EXT-X-CUE-IN","EXT-X-SCTE35","EXT-X-DATERANGE"]},79367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setContentLocationId=t.setTimestampRolloverPositions=t.setPresentationTimeOffset=t.initSegmentStartTimesFromReferenceSegment=t.dropSegmentStartTimes=t.initSegmentStartTimes=t.updateDiscontinuityStartAndEndTimes=t.removeDroppedOutDiscontinuity=t.updatePlaylist=t.setCustomTags=t.setDefaultLanguages=t.setEndlist=t.setIsLowLatencyPlaylist=t.setPlaylistType=t.setMasterPlaylistString=void 0;var r=n(15231),i=n(90993);t.setMasterPlaylistString=function(e){return(0,r.createAction)(i.HlsActionType.SetMasterPlaylistString,e)},t.setPlaylistType=function(e){return(0,r.createAction)(i.HlsActionType.SetPlaylistType,e)},t.setIsLowLatencyPlaylist=function(e){return(0,r.createAction)(i.HlsActionType.SetIsLowLatencyPlaylist,e)},t.setEndlist=function(e){return(0,r.createAction)(i.HlsActionType.SetEndlist,e)},t.setDefaultLanguages=function(e){return(0,r.createAction)(i.HlsActionType.SetDefaultLanguages,e)},t.setCustomTags=function(e){return(0,r.createAction)(i.HlsActionType.SetCustomTags,e)},t.updatePlaylist=function(e,t){return(0,r.createAction)(i.HlsActionType.UpdatePlaylist,{playlist:e,representation:t})},t.removeDroppedOutDiscontinuity=function(e,t){return(0,r.createAction)(i.HlsActionType.RemoveDroppedOutDiscontinuity,{discoSequences:e,representation:t})},t.updateDiscontinuityStartAndEndTimes=function(e,t){return(0,r.createAction)(i.HlsActionType.UpdateDiscontinuityStartAndEndTimes,{discoSequences:e,representation:t})},t.initSegmentStartTimes=function(e,t,n){return(0,r.createAction)(i.HlsActionType.InitSegmentStartTimes,{playlistId:e,segmentIndex:t,startTime:n})},t.dropSegmentStartTimes=function(){return(0,r.createAction)(i.HlsActionType.DropSegmentStartTimes)},t.initSegmentStartTimesFromReferenceSegment=function(e){return(0,r.createAction)(i.HlsActionType.InitSegmentStartTimesFromReferenceSegment,{playlistId:e.getRepresentationId().representationId,segmentUrl:e.getUrl(),segmentPlaybackTime:e.getPlaybackTime(),discontinuitySequenceNumber:e.getSegmentInfo().discontinuitySequenceNumber})},t.setPresentationTimeOffset=function(e,t){return(0,r.createAction)(i.HlsActionType.SetPresentationTimeOffset,{discoSequenceNumber:e,presentationTimeOffset:t})},t.setTimestampRolloverPositions=function(e,t){return(0,r.createAction)(i.HlsActionType.SetTimestampRolloverPositions,{next:e,previous:t})},t.setContentLocationId=function(e){return(0,r.createAction)(i.HlsActionType.SetContentLocationId,{locationId:e})}},78148:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.HlsReducer=void 0,t.extrapolateSegmentStartTime=d;var a=n(21829),s=n(53950),u=n(34435),c=n(90993);function l(e,t){return{startTime:e,endTime:e+t}}function d(e,t,n){var r=o([],e,!0);return r[t]=i({},r[t]),r[t].startTime=n,function(e,t){for(var n=t-1;n>=0;n--)e[n]=i({},e[n]),e[n].startTime=e[n+1].startTime-e[n].duration}(r,t),_(r,t),r}function _(e,t){for(var n=t+1;n<e.length;n++)e[n]=i({},e[n]),e[n].startTime=e[n-1].startTime+e[n-1].duration}t.HlsReducer=(0,a.default)({masterPlaylist:{string:""},playlists:{},defaultLanguages:{},discontinuitySequenceTiming:{},presentationTimeOffsets:{},timestampRolloverPositions:{previous:-1,next:-1}},((r={})[c.HlsActionType.SetMasterPlaylistString]=function(e,t){return function(e,t){return e.masterPlaylist.string?e:i(i({},e),{masterPlaylist:{string:t}})}(e,t.payload)},r[c.HlsActionType.SetPlaylistType]=function(e,t){return function(e,t){return i(i({},e),{playlistType:t})}(e,t.payload)},r[c.HlsActionType.SetIsLowLatencyPlaylist]=function(e,t){return function(e,t){return i(i({},e),{isLowLatencyPlaylist:t})}(e,t.payload)},r[c.HlsActionType.SetEndlist]=function(e,t){return function(e,t){return i(i({},e),{endlist:t})}(e,t.payload)},r[c.HlsActionType.SetDefaultLanguages]=function(e,t){return function(e,t){var n={},r={};return t.media.forEach((function(e){var t=Boolean(e.attributes);if(t){var i=e.attributes,o=i.TYPE,a=i.LANGUAGE;Boolean(a)&&null!=a&&(t&&"YES"===e.attributes.DEFAULT&&!n[o]&&(n[o]={name:e.attributes.NAME,language:a}),"YES"===e.attributes.AUTOSELECT&&!r[o]&&(r[o]={name:e.attributes.NAME,language:a}))}})),i(i({},e),{defaultLanguages:i(i({},r),n)})}(e,t.payload)},r[c.HlsActionType.SetCustomTags]=function(e,t){return function(e,t){var n=t;return i(i({},e),{customTags:n.tags})}(e,t.payload)},r[c.HlsActionType.UpdatePlaylist]=function(e,t){return function(e,t){var n,r=t.playlist,a=t.representation._id,u=r.startTime,c=r.totalDuration,l=e.playlists[a],d=l?o([],l.segments,!0):[];l&&l.uri!==r.uri&&(d=[]),s.PlaylistUtils.removeDroppedOutSegments(d,r.segments),s.PlaylistUtils.addNewSegments(d,r.segments),function(e){if(!(e.length<1||null==e[0].startTime)){for(var t,n=e.length-1;n>=0;n--)if(null!=e[n].startTime){t=n;break}_(e,t)}}(d);var f=e.playlists[a]?i(i({},e.playlists[a]),{segments:d,startTime:u,duration:c,uri:r.uri}):{segments:d,startTime:u,duration:c,uri:r.uri};return i(i({},e),{playlists:i(i({},e.playlists),(n={},n[a]=f,n))})}(e,t.payload)},r[c.HlsActionType.RemoveDroppedOutDiscontinuity]=function(e,t){return function(e,t){var n=t.discoSequences,r=t.representation,o=(0,u.getPlaylistSegments)(e,r._id);if(!o||!o.length)return e;var a=o[0].startTime,s={};return n.forEach((function(t){var n=String(t.id),r=(0,u.getDiscoSequenceTiming)(e,n);null===r?s[n]=null:(a<r.endTime||null==a)&&(s[n]=i({},r))})),i(i({},e),{discontinuitySequenceTiming:s})}(e,t.payload)},r[c.HlsActionType.UpdateDiscontinuityStartAndEndTimes]=function(e,t){return function(e,t){var n=t.discoSequences,r=t.representation,o=(0,u.getPlaylistSegments)(e,r._id),a=!e.endlist,s={},c=null==e?void 0:e.playlists[r._id];return o&&o.length?(n.forEach((function(t,n){var r,i,d=(0,u.getDiscoSequenceTiming)(e,String(t.id)),_=function(e,t,n,r){if(e.filter((function(e){return e.discontinuitySequenceNumber===t.id})).every((function(e){return null!=e.startTime})))return{startTime:e[t.indexOfFirstSegment].startTime,endTime:e[t.indexOfLastSegment].startTime+e[t.indexOfLastSegment].duration};var i=t.segments.reduce((function(e,t){return e+t.duration}),0),o=e[t.indexOfFirstSegment-1];if(o&&null!=o.startTime)return l(o.startTime+o.duration,i);var a=r[t.id-1];return l(null!=a?a.endTime:null!=(null==n?void 0:n.startTime)?n.startTime:0,i)}(o,t,c,s);d&&0!==(null==d?void 0:d.startTime)&&0!==n&&(_.startTime=a?d.startTime:Math.max(d.startTime,_.startTime)),_.endTime=a?Math.max(null!==(r=null==d?void 0:d.endTime)&&void 0!==r?r:0,_.endTime):Math.min(null!==(i=null==d?void 0:d.endTime)&&void 0!==i?i:1/0,_.endTime),s[String(t.id)]=_})),i(i({},e),{discontinuitySequenceTiming:i(i({},e.discontinuitySequenceTiming),s)})):e}(e,t.payload)},r[c.HlsActionType.InitSegmentStartTimes]=function(e,t){return function(e,t){var n,r=t.playlistId,o=t.segmentIndex,a=t.startTime,s=e.playlists[r];if(!s)return e;var u=i(i({},s),{segments:d(s.segments,o,a)});return i(i({},e),{playlists:i(i({},e.playlists),(n={},n[r]=u,n))})}(e,t.payload)},r[c.HlsActionType.DropSegmentStartTimes]=function(e,t){return i(i({},e),{playlists:function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=i(i({},e[n]),{segments:e[n].segments.map((function(e){return i(i({},e),{startTime:void 0})}))})})),t}(e.playlists)})},r[c.HlsActionType.InitSegmentStartTimesFromReferenceSegment]=function(e,t){return function(e,t){var n,r=t.playlistId,o=t.segmentUrl,a=t.segmentPlaybackTime,s=t.discontinuitySequenceNumber,u=e.playlists[r];if(!u||u.segments.length<1)return e;if(null!=u.segments[0].startTime)return e;var c=u.segments.findIndex((function(e){return o.includes(e.uri)&&s===e.discontinuitySequenceNumber}));if(c<0)return e;var l=i(i({},u),{segments:d(u.segments,c,a)});return i(i({},e),{playlists:i(i({},e.playlists),(n={},n[r]=l,n))})}(e,t.payload)},r[c.HlsActionType.SetPresentationTimeOffset]=function(e,t){return function(e,t){var n,r=t.discoSequenceNumber,o=t.presentationTimeOffset;return i(i({},e),{presentationTimeOffsets:i(i({},e.presentationTimeOffsets),(n={},n[r]=o,n))})}(e,t.payload)},r[c.HlsActionType.SetTimestampRolloverPositions]=function(e,t){return function(e,t){return i(i({},e),{timestampRolloverPositions:t})}(e,t.payload)},r[c.HlsActionType.SetContentLocationId]=function(e,t){return function(e,t){return i(i({},e),{contentLocationId:t.locationId})}(e,t.payload)},r))},34435:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=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},n.apply(this,arguments)};function r(e){var t;return null!=(null===(t=e.segments[0])||void 0===t?void 0:t.startTime)||!1}Object.defineProperty(t,"__esModule",{value:!0}),t.getContentLocationId=t.hasInitializedSegmentStartTimes=t.getPresentationTimeOffset=t.hasSegmentStartTimesForPlaylist=t.getStartTimeForSegment=t.getFirstDiscoSequenceTiming=t.getDiscoSequenceTimings=t.getDiscoSequenceTiming=t.getPlaylistStartTime=t.getPlaylistSegments=t.getPlaylist=t.hasPlaylist=t.getCustomTags=t.getDefaultLanguages=t.getEndlist=t.getIsLowLatencyPlaylist=t.getPlaylistType=void 0,t.getHlsState=function(e){return e.hls},t.getPlaylistType=function(e){return e.playlistType},t.getIsLowLatencyPlaylist=function(e){return e.isLowLatencyPlaylist},t.getEndlist=function(e){return e.endlist},t.getDefaultLanguages=function(e){return e.defaultLanguages},t.getCustomTags=function(e){return e.customTags},t.hasPlaylist=function(e,t){return Object.keys(e.playlists).includes(t)},t.getPlaylist=function(e,t){return e.playlists[t]},t.getPlaylistSegments=function(e,t){return e.playlists[t]?e.playlists[t].segments:[]},t.getPlaylistStartTime=function(e,t){return e.playlists[t]?e.playlists[t].startTime:0},t.getDiscoSequenceTiming=function(e,t){return e.discontinuitySequenceTiming[t]?n({},e.discontinuitySequenceTiming[t]):null},t.getDiscoSequenceTimings=function(e){return e.discontinuitySequenceTiming},t.getFirstDiscoSequenceTiming=function(e){var t=Object.keys(e.discontinuitySequenceTiming)[0];return null!=t?e.discontinuitySequenceTiming[t]:{startTime:0,endTime:0}},t.getStartTimeForSegment=function(e,t,n){var r=e.playlists[t];if(!r)return null;var i=r.segments.find((function(e){return n.url.includes(e.uri)&&e.discontinuitySequenceNumber===n.discontinuitySequenceNumber}));return i&&null!=i.startTime?i.startTime:r.startTime},t.hasSegmentStartTimesForPlaylist=function(e,t){var n=e.playlists[t];return Boolean(n)&&n.segments.length>0&&null!=n.segments[0].startTime},t.getPresentationTimeOffset=function(e,t){return e.presentationTimeOffsets[t]},t.hasInitializedSegmentStartTimes=function(e){return Object.values(e.playlists).some(r)},t.getContentLocationId=function(e){return e.contentLocationId}},90993:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HlsActionType=void 0,function(e){e.SetMasterPlaylistString="@instance/hls/setmasterplayliststring",e.SetPlaylistType="@instance/hls/setplaylisttype",e.SetIsLowLatencyPlaylist="@instance/hls/setislowlatencyplaylist",e.SetEndlist="@instance/hls/setendlist",e.SetDefaultLanguages="@instance/hls/setsefaultlanguages",e.SetCustomTags="@instance/hls/setsustomtags",e.UpdatePlaylist="@instance/hls/updatePlaylist",e.RemoveDroppedOutDiscontinuity="@instance/hls/removedroppedoutdiscontinuity",e.UpdateDiscontinuityStartAndEndTimes="@instance/hls/updatediscontinuitystartandendtimes",e.InitSegmentStartTimes="@instance/hls/initsegmentstarttimes",e.DropSegmentStartTimes="@instance/hls/dropsegmentstarttimes",e.InitSegmentStartTimesFromReferenceSegment="@instance/hls/initsegmentstarttimesfromreferencesegment",e.SetPresentationTimeOffset="@instance/hls/setpresentationtimeoffset",e.SetTimestampRolloverPositions="@instance/hls/settimestamprolloverpositions",e.SetContentLocationId="@instance/hls/setcontentlocationid"}(n||(t.HlsActionType=n={}))},31043:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSegmentInfos=function(e,t){return(0,r.createAction)(i.SegmentInfoMapActionType.SetSegmentInfos,{qualityPath:e,updatedEntry:t})},t.updateSegmentInfos=function(e,t){return(0,r.createAction)(i.SegmentInfoMapActionType.UpdateSegmentInfos,{qualityPath:e,updatedEntry:t})};var r=n(15231),i=n(85157)}},function(e){return e(e.s=64732)}])},5495:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[737],{23729:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferMimeCodecMap=void 0;var r=n(27517),i=n(76650),o=n(28819),a=n(8272),s=n(27177),u=n(79814),c=function(){function e(e,t){this.mimeCodeMap={},this.store=e,this.settings=t}return e.prototype.ensureMetricsForMimeType=function(e){var t,n,a=null===(t=this.store)||void 0===t?void 0:t.getState();(0,r.isInstanceState)(a)&&l(this.settings)&&((0,o.getMetricsState)(a)[e]||null===(n=this.store)||void 0===n||n.dispatch((0,i.initializeMetricsForMimeType)(e,this.settings)))},e.prototype.removeMetrics=function(e){var t;null===(t=this.store)||void 0===t||t.dispatch((0,i.removeMetricsForMimeType)(e))},e.prototype.add=function(e,t){var n;this.mimeCodeMap[e]=t,this.ensureMetricsForMimeType(e),null===(n=this.store)||void 0===n||n.dispatch((0,i.addMetricsValue)(e,a.MetricType.StalledSeconds,0))},e.prototype.remove=function(e){var t=this,n=u.MimeTypeHelper.getMediaType(e);Object.keys(this.mimeCodeMap).forEach((function(e){u.MimeTypeHelper.getMediaType(e)===n&&(t.removeMetrics(e),delete t.mimeCodeMap[e])}))},e.prototype.has=function(e,t){var n=this,r=u.MimeTypeHelper.getMediaType(e),i=u.MimeTypeHelper.extractContainerType(e);return Object.keys(this.mimeCodeMap).some((function(o){var a=u.MimeTypeHelper.getMediaType(o),s=u.MimeTypeHelper.extractContainerType(o);return a===r&&s===i&&t===n.mimeCodeMap[e]}))},e.prototype.update=function(e,t){this.remove(e),this.add(e,t)},e.prototype.forEach=function(e){var t=this;Object.keys(this.entries()).forEach((function(n){return e(n,t.entries()[n])}))},e.prototype.entries=function(){return this.mimeCodeMap},e.prototype.dispose=function(){this.mimeCodeMap={},this.store=void 0,this.settings=void 0},e}();t.BufferMimeCodecMap=c;var l=function(e){return(0,s.isObject)(e)}},93159:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.GapHandler=void 0;var r=n(62510),i=n(11399),o=n(27517),a=n(58975),s=n(13533),u=n(79814),c=n(46462),l=n(72566),d=n(89413),_=[c.MediaElementEvent.seeking,c.MediaElementEvent.seeked,c.MediaElementEvent.pause,c.MediaElementEvent.playing,c.MediaElementEvent.error],f=function(){function e(e){var t,n,i,s,u,l=this;this.isExecutingGapSkipping=!1,this.play=function(){l.lastPlayEventTimestamp=Date.now()},this.checkIfWaiting=function(){if(!l.context.isDisposed&&void 0!==l.video){var e=l.video.paused,t=l.video.seeking,n=l.isAtEndOfBufferedRange(l.video.currentTime),r=l.hasRecentlyTrackedTimeupdateEvent(),i=l.hasRecentlyStartedPlayback();e||t&&!n||r||(l.consecutiveWaiting++,i||l.waiting())}},this.waiting=function(){var e,t=l.context.store.getState();if((0,o.isInstanceState)(t)&&l.video){var n=(0,a.getPlayerState)(t);((0,a.getIsSeeking)(n)||(null===(e=l.video)||void 0===e?void 0:e.seeking))&&!l.isAtEndOfBufferedRange(l.video.currentTime)||l.setTimer()}},this.stalled=function(){l.setTimer()},this.onSeek=function(){l.gapAhead=void 0},this.timeupdate=function(){if(l.lastTimeupdate=Date.now(),l.video&&!l.video.paused&&!l.video.seeking){l.hasPlayedAnythingYet=!0;var e=l.context.renderer.getCurrentTime(!0);if(l.shouldSkipGap(e))l.skipTheGapProactively();else{var t=l.context.renderer.getVideoElementBufferedRanges();if(t.length>1&&!l.gapAhead){var n=l.context.settings.MIN_SIZE_FOR_GAP_SKIPPING;l.gapAhead=function(e,t,n){for(var r=0;r<e.length-1;r++){var i=e[r].end,o=e[r+1].start;if(i>t&&o>i&&o-i>=n)return{start:i,end:o}}}(t,e,n)}else l.shouldTriggerWaitingEvent(e)?(l.consecutiveUpdates++,l.waiting()):e===l.lastRecordedTime?l.consecutiveUpdates++:(l.consecutiveUpdates=0,l.consecutiveWaiting=0,l.lastRecordedTime=e)}}},this.cancelTimer=function(){l.consecutiveUpdates=0,l.consecutiveWaiting=0,clearTimeout(l.timer),l.timer=-1},this.skipTheGap=function(e){if(l.video&&!l.isExecutingGapSkipping){var t=l.context.renderer.getVideoElementBufferedRanges(),n=l.context.renderer.getCurrentTime(!0),r=h(t,n);if(l.consecutiveUpdates=0,l.consecutiveWaiting=0,l.timer=-1,void 0!==r&&n===e){var i=r.start;l.context.logger.debug("Skipping gap from ".concat(n," to ").concat(i)),l.executeGapSkipping(t[0].end,i,n)}}},this.context=e,this.video=e.videoElement,this.lastTimeupdate=0,this.consecutiveUpdates=0,this.consecutiveWaiting=0,this.lastPlayEventTimestamp=0,this.hasPlayedAnythingYet=!1,this.gapAhead=void 0,null===(t=this.video)||void 0===t||t.addEventListener(c.MediaElementEvent.waiting,this.waiting),null===(n=this.video)||void 0===n||n.addEventListener(c.MediaElementEvent.stalled,this.stalled),null===(i=this.video)||void 0===i||i.addEventListener(c.MediaElementEvent.timeupdate,this.timeupdate),null===(s=this.video)||void 0===s||s.addEventListener(c.MediaElementEvent.play,this.play),this.context.eventHandler.on(r.PlayerEvent.Seek,this.onSeek);for(var d=0,f=_;d<f.length;d++){var p=f[d];null===(u=this.video)||void 0===u||u.addEventListener(p,this.cancelTimer)}this.timeupdateIntervalId=window.setInterval(this.checkIfWaiting,250)}return e.prototype.hasRecentlyStartedPlayback=function(){return Date.now()-this.lastPlayEventTimestamp<500},e.prototype.hasRecentlyTrackedTimeupdateEvent=function(){return Date.now()-this.lastTimeupdate<=1e3},e.prototype.shouldSkipGap=function(e){return!(!this.gapAhead||this.isExecutingGapSkipping)&&(function(e,t){return e>t.start}(e,this.gapAhead)||function(e,t,n){return!(e<=0)&&n.start>t&&n.start-e<t}(this.context.settings.PROACTIVE_GAP_SKIP_DISTANCE_SECONDS,e,this.gapAhead))},e.prototype.shouldTriggerWaitingEvent=function(e){return 5===this.consecutiveUpdates&&e===this.lastRecordedTime},e.prototype.skipTheGapProactively=function(){if(this.video&&this.gapAhead){var e=this.context.renderer.getCurrentTime(!0),t=this.context.renderer.getVideoElementBufferedRanges()[0].end,n=Math.max(e+.01,this.gapAhead.end);this.context.logger.debug("Skipping gap proactively from ".concat(e," to ").concat(n)),this.executeGapSkipping(t,n,e)}},e.prototype.executeGapSkipping=function(e,t,n){var r=this;this.isExecutingGapSkipping=!0,this.gapAhead=void 0,this.maybeRemoveVideoBufferData(e,t,n).then((function(){return r.context.renderer.setCurrentTime(t+d.Ranges.TIME_FUDGE_FACTOR)})).then((function(e){return r.context.logger.debug("Jumped buffer gap from ".concat(n," to ").concat(e))})).catch((function(n){return r.context.logger.debug("Failed to skip buffer gap from ".concat(e," to ").concat(t),n)})).finally((function(){r.isExecutingGapSkipping=!1,r.gapAhead=void 0}))},e.prototype.maybeRemoveVideoBufferData=function(e,t,n){if(!(0,s.getCapabilities)().isTizen)return Promise.resolve();var r=this.getVideoMimeType();if(void 0===r)return Promise.resolve();var i=h(this.context.renderer.getBufferedRanges(r),n);return t!==(null==i?void 0:i.start)?(this.context.logger.debug("Clearing video data from ".concat(e," to ").concat(t," to ensure gap can be skipped")),this.context.renderer.removeData(r,e,t)):Promise.resolve()},e.prototype.getVideoMimeType=function(){var e;return null===(e=this.context.segmentInfoService)||void 0===e?void 0:e.getSegmentControllerMimeTypes().find((function(e){return u.MimeTypeHelper.isVideo(e)}))},e.prototype.gapFromVideoUnderflow=function(e,t,n){for(var r=d.Ranges.findGaps(e,n),i=0;i<r.length;i++){var o=r.start(i),a=r.end(i);if(t-o<4&&t-o>2)return{start:o,end:a}}},e.prototype.setTimer=function(){if(!(this.timer>-1)&&this.hasPlayedAnythingYet&&this.video){var e=this.video.buffered,t=this.video.currentTime,n=d.Ranges.findNextRange(e,t),r=this.context.settings.MIN_SIZE_FOR_GAP_SKIPPING;if(0===n.length){var i=this.gapFromVideoUnderflow(e,t,r);if(i)return this.context.logger.debug("Encountered a gap in video from ".concat(i.start," to ").concat(i.end,". Seeking to ").concat(t,"...")),this.consecutiveWaiting=0,void this.setCurrentTime(t);var o=(0,l.findNextRangeForGap)(t,e),a=o.isNearEndOfBufferedRange,s=o.nextRangeStart;return a&&isFinite(s)?(this.context.logger.debug("Playback stalled because of a very small gap. Seeking to ".concat(s,"...")),this.consecutiveWaiting=0,void this.setCurrentTime(s)):void(this.consecutiveWaiting>10&&(this.consecutiveWaiting=0,this.triggerCurrentTimeNotAdvancing(t,this.video)))}if(!function(e,t,n){if(0===n)return!1;var r=d.Ranges.findNextRange(e,t);if(0===r.length)return!1;var i=d.Ranges.findRangeForTime(e,t),o=i.length?i.end(0):t;return r.start(0)-o<n}(e,t,r)){var u=n.start(0)-t;this.context.logger.debug("setTimer: stopped at: ".concat(t,", setting timer for: ").concat(u,"', seeking to: ").concat(n.start(0))),this.timer=window.setTimeout(this.skipTheGap.bind(this),u,this.context.renderer.getCurrentTime(!0))}}},e.prototype.triggerCurrentTimeNotAdvancing=function(e,t){this.context.logger.debug("currentTime not advancing from ".concat(e," although the video element is neither paused nor seeking")),this.maybePokeVideoElement(e,t),t.eventHandler.triggerEvent(c.MediaElementEvent.currenttimenotadvancing)},e.prototype.maybePokeVideoElement=function(e,t){if(e>t.duration&&!(0,s.getCapabilities)().isSafari)this.setCurrentTime(t.duration);else if(this.context.settings.QJY_BROWSER_WORKAROUND||(0,s.getCapabilities)().isTizen)this.setCurrentTime(e+.01);else{var n=(0,s.getCapabilities)()[i.CapabilityKey.isPlayStation5];this.setCurrentTime(e,n)}},e.prototype.isAtEndOfBufferedRange=function(e){if(!this.video)return!1;for(var t=this.video.buffered,n=0;n<t.length;n++)if(t.end(n)===e)return!0;return!1},e.prototype.shutdown=function(){var e,t,n,i,o;null===(e=this.video)||void 0===e||e.removeEventListener(c.MediaElementEvent.waiting,this.waiting),null===(t=this.video)||void 0===t||t.removeEventListener(c.MediaElementEvent.stalled,this.stalled),null===(n=this.video)||void 0===n||n.removeEventListener(c.MediaElementEvent.timeupdate,this.timeupdate),null===(i=this.video)||void 0===i||i.removeEventListener(c.MediaElementEvent.play,this.play),this.context.eventHandler.off(r.PlayerEvent.Seek,this.onSeek);for(var a=0,s=_;a<s.length;a++){var u=s[a];null===(o=this.video)||void 0===o||o.removeEventListener(u,this.cancelTimer)}clearInterval(this.timeupdateIntervalId),this.cancelTimer()},e.prototype.setCurrentTime=function(e,t){if(void 0===t&&(t=!1),this.video&&(this.video.currentTime!==e||t))try{this.video.currentTime=e}catch(t){this.context.logger.debug("GapHandler failed to set currentTime on video element to ".concat(e),t)}},e}();function h(e,t){return e.find((function(e){return e.start-d.Ranges.TIME_FUDGE_FACTOR>=t}))}t.GapHandler=f},72566:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.findNextRangeForGap=function(e,t){for(var n=!1,i=1/0,o=0;o<t.length;o++){var a=t.start(o),s=t.end(o),u=e+2*r.Ranges.TIME_FUDGE_FACTOR;if(n&&!isFinite(i)){i=a;break}a<e&&s>e&&u>s&&(n=!0)}return{isNearEndOfBufferedRange:n,nextRangeStart:i}};var r=n(89413)},6863:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MSERenderer=void 0;var r=n(92712),i=n(52442),o=n(25550),a=n(28764),s=n(18665),u=n(62510),c=n(33696),l=n(94304),d=n(17990),_=n(27279),f=n(27177),h=n(10981),p=n(53968),g=n(79814),v=n(331),m=n(70016),y=n(46462),b=n(96873),S=n(33669),E=n(23729),$=n(93159),T=n(58765),A=n(66697),C=n(1504),P=n(76316),I=function(){function e(e){var t=this;this.context=e,this.consecutiveErrorCount=0,this.waitingForSeekedPromise=null,this.onSeek=function(e){t.setCurrentTimeDelayedContext&&t.setCurrentTimeDelayedContext.time!==e.seekTarget&&Math.abs(t.setCurrentTimeDelayedContext.time-e.seekTarget)>=t.context.settings.GAP_TOLERANCE&&t.cancelSetCurrentTimeDelayed(e.seekTarget)},this.reOpenMse=function(){var e=t.segmentQueueMimeTypes;if(e.length<1)return Promise.resolve();var n=e.find((function(e){return t.timestampOffset.hasOwnProperty(e)}));return n?t.setTimestampOffset(n,t.timestampOffset[n]):t.setTimestampOffset(e[0],0)},this.firePictureInPictureEvent=function(){if(t.video){var e=t.video.isPictureInPicture()?c.ViewMode.PictureInPicture:c.ViewMode.Inline;t.context.store.dispatch((0,d.setPlayerViewMode)(e))}},this.resetConsecutiveErrorCountCallback=function(e){e.time&&e.time>0&&(t.consecutiveErrorCount=0)},this.postBufferRemoval=function(e,n,r){t.logger.debug("successfully removed buffer for ".concat(e," (from  ").concat(n," to ").concat(r,")"))},this.logger=e.logger,this.video=e.videoElement,this.settings=e.settings,this.readyPromise=Promise.resolve(),this.eventHandler=void 0,this.timestampOffset={},this.sourceBufferMimeCodecMap=new E.BufferMimeCodecMap(e.store,e.settings),this.savedCurrentTime=0,this.playerEventHandler=e.eventHandler,this.shutdownPromise=Promise.resolve(),this.init(!0)}return e.prototype.createMSEWrapper=function(){return new T.MSEWrapper(this.context)},e.prototype.createMse=function(e){return e?this.createMseSynchronously():this.createMseAsynchronously()},e.prototype.createMseAsynchronously=function(){var e=this;return function(){var t;return null===(t=e.mse)||void 0===t?void 0:t.createNewMSE()}},e.prototype.createMseSynchronously=function(){var e,t=null===(e=this.mse)||void 0===e?void 0:e.createNewMSE();return function(){return t}},e.prototype.init=function(e){var t=this;this.segmentQueueProcessingPromise=Promise.resolve(),this.mse=this.createMSEWrapper(),this.readyPromise=this.readyPromise.catch((function(e){return t.context.logger.debug("Caught error during MSE recreation",e)})).then(this.createMse(e)),this.needsInitialSeek=!0,this.segmentQueues={},this.setCurrentTimeContext=void 0,this.setCurrentTimeDelayedContext=void 0,this.quotaExceededMap=new Map,this.quotaExceededDeferredMap=new Map,this.gapHandler=new $.GapHandler(this.context),null==this.eventHandler&&this.video&&(this.eventHandler=new P.VideoEventHandler(this.video),this.eventHandler.on(y.MediaElementEvent.timeupdate,this.resetConsecutiveErrorCountCallback)),this.on(y.MediaElementEvent.webkitpresentationmodechanged,this.firePictureInPictureEvent),this.playerEventHandler.on(u.PlayerEvent.Seek,this.onSeek)},e.prototype.trackRendererError=function(e){this.consecutiveErrorCount++,this.consecutiveErrorCount>=this.settings.MAX_CONSECUTIVE_RENDERER_ERRORS&&this.context.eventHandler.fireError(new a.PlayerError(o.ErrorCode.PLAYBACK_VIDEO_DECODING_ERROR,{codec:e.getCodec(),mimeType:e.getMimeType(),segmentUrl:e.getUrl()},"Failed to append the segment to the buffer. The MSE has thrown an error."))},e.prototype.hasSourceBuffers=function(){return this.segmentQueueMimeTypes.length>0},e.prototype.hasDataInSourceBuffers=function(){var e=this.mse;return!(!e||!this.hasSourceBuffers())&&this.segmentQueueMimeTypes.every((function(t){return e.getBufferedRanges(t).length>0}))},e.prototype.updateRendererRangesInStore=function(e){var t;null===(t=(0,_.getSourceStore)(this.context))||void 0===t||t.dispatch((0,b.setRendererRanges)(e,this.getOverallBufferedRanges(e)))},e.prototype.addBuffer=function(e,t){var n,r=this;if(!this.mse)return!1;this.sourceBufferMimeCodecMap.add(e,t);var i=Boolean(this.mse.addBuffer(e,t,(function(){return r.updateRendererRangesInStore(e)})));return i&&(this.mse.addUpdateEndCallback(e,(function(){return r.quotaExceededMap.set(e,!1)})),this.segmentQueues[e]=[],null===(n=(0,_.getSourceStore)(this.context))||void 0===n||n.dispatch((0,b.setRendererRanges)(e,[]))),i},e.prototype.addDrmInitData=function(e){if(null==e?void 0:e.length){var t=this.drmService;t?e.forEach((function(e){return t.addInitData(e)})):this.context.logger.debug("PSSH data found but DRM is not configured")}},e.prototype.storeDrmInitDataFromManifest=function(e){var t=this;e&&this.context.serviceManager.maybeCall(s.ServiceName.ManifestService,(function(n){var r=n.getContentProtectionForAdaptationSet(e).flatMap((function(e){var n=l.KeySystemKind[e.name.toUpperCase()],r=e.schemeIdUri.replace("urn:uuid:","").replace(/-/g,"");return(e.pssh||[]).map((function(i,o){return t.logger.insane("adding pssh for ".concat(e.name," : ").concat(i)),{initData:e.psshData[o],initDataStr:i,systemID:e.schemeIdUri,systemIDraw:r,systemName:n,kid:[]}}))}));t.addDrmInitData(r)}),void 0,this.context.sourceContext.sourceIdentifier)},e.prototype.appendData=function(e){var t=this;return this.addDrmInitData(e.getDrmInitData()),this.addSegmentToSegmentQueue(e),this.segmentQueueProcessingPromise=this.segmentQueueProcessingPromise.catch((function(){})).then((function(){return t.processSegmentQueues()})),this.segmentQueueProcessingPromise},e.prototype.addSegmentToSegmentQueue=function(e){var t=e.getMimeType();this.segmentQueues[t]?(this.segmentQueues[t].push(e),this.updateRendererRangesInStore(t)):this.logger.debug("Renderer missing segment queue for mimeType(".concat(t,") but trying to push segment.(url=").concat(e.getUrl(),")"))},e.prototype.getBufferedRanges=function(e){var t,n;return null!==(n=null===(t=this.mse)||void 0===t?void 0:t.getBufferedRanges(e))&&void 0!==n?n:[]},e.prototype.getVideoElementBufferedRanges=function(){return(0,r.getBufferedRanges)(this.video)},e.prototype.getOverallBufferedRanges=function(e){if(!this.mse||!this.segmentQueues.hasOwnProperty(e))return[];var t=r.BufferRangeHelper.getRangesFromQueue(this.segmentQueues[e],this.settings.GAP_TOLERANCE);return t=t.concat(this.getBufferedRanges(e)),r.BufferRangeHelper.mergeRanges(t,this.settings.GAP_TOLERANCE)},e.prototype.isDataBeingAppended=function(e){return!!this.mse&&(this.segmentQueues&&this.segmentQueues[e]&&this.segmentQueues[e].length>0||this.mse.isAnyBufferUpdating())},e.prototype.getRangesFromStore=function(e){var t=(0,_.getSourceState)(this.context);if(!t)return[];var n=(0,S.getBufferStateMap)(t);return n?(0,S.getRendererBufferedRanges)(n,e):[]},e.prototype.getEndOfBufferTime=function(){var e=this,t=[];if(this.segmentQueueMimeTypes.forEach((function(n){var r=e.getRangesFromStore(n);if(r.length>0){var i=r[r.length-1].end;t.push(i)}})),0!==t.length)return Math.min.apply(Math,t)},e.prototype.removeDataFromSegmentQueues=function(e,t,n){var r=this;void 0===t&&(t=-1/0),void 0===n&&(n=1/0),this.segmentQueues.hasOwnProperty(e)&&(this.segmentQueues[e]=this.segmentQueues[e].filter((function(i){var o=i.getDuration(),a=i.getPlaybackTime(),s=i.getRepresentationId().representationId,u=i.isInit()||a<t||a+o>n;return r.logger.debug("[MSERenderer][".concat(e,"][").concat(s,"] Removing segment from queue [").concat(!u,"]. ")+"Clearing from ".concat(t," to ").concat(n,". Segment: [playbackTime=").concat(i.getPlaybackTime(),", ")+"duration=".concat(i.getDuration(),", url=").concat(i.getUrl(),"]")),u})),this.updateRendererRangesInStore(e))},e.prototype.removeData=function(e,t,n){return this.mse?(void 0===t&&void 0===n&&this.saveCurrentTime(),this.removeDataFromSegmentQueues(e,t,n),this.mse.removeFromBuffer(e,t,n,this.postBufferRemoval)):Promise.reject()},e.prototype.getDroppedVideoFrames=function(){var e,t,n,r,i;return null!==(i=null!==(n=null===(t=null===(e=this.video)||void 0===e?void 0:e.getVideoPlaybackQuality())||void 0===t?void 0:t.droppedVideoFrames)&&void 0!==n?n:null===(r=this.video)||void 0===r?void 0:r.droppedVideoFrames)&&void 0!==i?i:0},e.prototype.setPlaybackSpeed=function(e){this.video&&!isNaN(e)&&e>0&&e!==this.video.playbackRate&&(this.video.playbackRate=e)},e.prototype.getPlaybackSpeed=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.playbackRate)&&void 0!==t?t:1},e.prototype.setVolume=function(e){this.video&&!isNaN(e)&&(this.video.volume=Math.min(e/100,1))},e.prototype.getVolume=function(){var e,t;return 100*(null!==(t=null===(e=this.video)||void 0===e?void 0:e.volume)&&void 0!==t?t:1)},e.prototype.mute=function(){this.video&&(this.video.muted=!0)},e.prototype.unmute=function(){this.video&&(this.video.muted=!1)},e.prototype.isMuted=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.muted)&&void 0!==t&&t},e.prototype.play=function(){var e=this;return this.video?this.video.play().catch((function(t){if((0,p.isSwitchingBufferBlocks)((0,_.getSourceStore)(e.context)))return e.ready();throw t})):Promise.resolve()},e.prototype.pause=function(){this.video&&this.video.pause()},e.prototype.end=function(){this.pause(),this.cancelSetCurrentTimeDelayed()},e.prototype.isPaused=function(){var e,t;return null===(t=null===(e=this.video)||void 0===e?void 0:e.paused)||void 0===t||t},e.prototype.setDuration=function(e){this.mse&&(e=Math.floor(1e4*e)/1e4,this.duration=e,this.mse.setDuration(e))},e.prototype.getDuration=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.duration)&&void 0!==t?t:NaN},e.prototype.setCurrentTime=function(e){var t=this;if(!this.mse)return Promise.reject("MSE is not open");if(e=Math.ceil(100*e)/100,this.setCurrentTimeContext){if(this.setCurrentTimeContext.time===e)return this.setCurrentTimeContext.promise;this.cancelSetCurrentTimeDelayed()}var n=Promise.resolve();this.isMSEOpen()||this.isTimeInBuffer(e)||(this.logger.debug("reopen MSE on setCurrentTime"),n=this.reOpenMse());var r=n.then((function(){return t.setCurrentTimeInternal(e).catch((function(n){return t.logger.debug("could not set time ".concat(e," on video element"),n),t.getCurrentTime()})).finally((function(){return t.needsInitialSeek=!1}))}));return this.setCurrentTimeContext={time:e,isInitialSeek:this.needsInitialSeek,promise:r},r},e.prototype.getCurrentVideoTime=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.currentTime)&&void 0!==t?t:0},e.prototype.getCurrentFallbackTime=function(){var e=this.setCurrentTimeContext;return e&&e.isInitialSeek&&-1!==e.time?e.time:0!==this.savedCurrentTime&&this.isVideoCurrentTimeUnreliable()?this.savedCurrentTime:(this.savedCurrentTime=0,this.getCurrentVideoTime())},e.prototype.isVideoCurrentTimeUnreliable=function(){var e;return!this.hasDataInSourceBuffers()&&!(null===(e=this.mse)||void 0===e?void 0:e.isBufferRemovalPending())||!(!(0,p.isSwitchingBufferBlocks)((0,_.getSourceStore)(this.context))&&this.isTimeInBuffer(this.getCurrentVideoTime()))},e.prototype.getCurrentTime=function(e){return void 0===e&&(e=!1),e?this.getCurrentVideoTime():this.getCurrentFallbackTime()},e.prototype.getSnapshotData=function(e,t){void 0===t&&(t=1);try{if(!this.video)return;var n=this.video.videoWidth,r=this.video.videoHeight;this.snapshotCanvas||(this.snapshotCanvas=document.createElement("canvas"),this.snapshotCanvas.id="snapshotHiddenCanvas"),this.snapshotCanvas.width=n,this.snapshotCanvas.height=r;var i=this.snapshotCanvas.getContext("2d");null==i||i.drawImage(this.video.getWrappedElement(),0,0,n,r);var o=void 0;return"image/jpeg"===e||"image/webp"===e?(t=Math.max(t,0),t=Math.min(t,1),o=this.snapshotCanvas.toDataURL(e,t)):o=this.snapshotCanvas.toDataURL(e,t),{height:r,width:n,data:o}}catch(e){return void(e&&e.message?this.logger.debug("Snapshot acquisition failed: "+e.message):this.logger.debug("Snapshot acquisition failed"))}},e.prototype.getDrmShutdownPromise=function(){return this.drmService?this.drmService.shutdownPromise:Promise.resolve()},e.prototype.ready=function(){var e=this;return this.shutdownPromise.then((function(){return e.getDrmShutdownPromise()})).then((function(){return e.mse||e.init(!1),e.readyPromise}))},e.prototype.setTimestampOffset=function(e,t){var n=this;return this.mse?this.mse.setTimestampOffset(e,t).then((function(){n.timestampOffset[e]=t})):Promise.resolve()},e.prototype.shutdown=function(e){var t,n=this;if(!this.mse)return this.shutdownPromise;for(var r in this.waitingForSeekedPromise=null,e&&this.saveCurrentTime(),this.segmentQueues)this.segmentQueues.hasOwnProperty(r)&&(delete this.segmentQueues[r],null===(t=(0,_.getSourceStore)(this.context))||void 0===t||t.dispatch((0,b.setRendererRanges)(r,[])));var i=this.mse;return this.shutdownPromise=this.shutdownPromise.then((function(){return i.tearDownMediaSource()})).catch((function(e){n.logger.debug("Could not tear down media source",{err:e,message:e.message})})),this.mse=void 0,this.cancelSetCurrentTimeDelayed(),this.gapHandler&&(this.gapHandler.shutdown(),this.gapHandler=void 0),this.eventHandler&&!e&&(this.eventHandler.dispose(),this.eventHandler=void 0),this.quotaExceededMap.clear(),this.quotaExceededDeferredMap.clear(),this.shutdownPromise},e.prototype.release=function(){var e;for(var t in this.segmentQueues)this.segmentQueues.hasOwnProperty(t)&&null!==this.mse&&(delete this.segmentQueues[t],null===(e=(0,_.getSourceStore)(this.context))||void 0===e||e.dispatch((0,b.setRendererRanges)(t,[])));return this.sourceBufferMimeCodecMap.dispose(),this.mse&&this.mse.dispose(),this.readyPromise=Promise.resolve(),this.timestampOffset={},this.cancelSetCurrentTimeDelayed(),this.gapHandler&&(this.gapHandler.shutdown(),this.gapHandler=void 0),this.off(y.MediaElementEvent.webkitpresentationmodechanged,this.firePictureInPictureEvent),this.eventHandler&&(this.eventHandler.off(y.MediaElementEvent.timeupdate,this.resetConsecutiveErrorCountCallback),this.eventHandler.dispose(),this.eventHandler=void 0),this.waitingForSeekedPromise=null,this.playerEventHandler.off(u.PlayerEvent.Seek,this.onSeek),this.getDrmShutdownPromise()},e.prototype.on=function(e,t){var n;null===(n=this.eventHandler)||void 0===n||n.on(e,t)},e.prototype.off=function(e,t){this.eventHandler&&this.eventHandler.off(e,t)},Object.defineProperty(e.prototype,"drmService",{get:function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.DrmService)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"segmentQueueMimeTypes",{get:function(){return Object.keys(this.segmentQueues)},enumerable:!1,configurable:!0}),e.prototype.setDrmConfig=function(e,t){return this.drmService?this.drmService.updateDrmConfig(e,t):Promise.reject("DRM is not configured")},e.prototype.isMediaTypeSupported=function(e,t){return(0,C.shouldUseManagedMediaSource)(this.context.settings.PREFER_MANAGED_MEDIA_SOURCE)?window.ManagedMediaSource.isTypeSupported(e+'; codecs="'+t+'"'):"MediaSource"in window&&MediaSource.isTypeSupported(e+'; codecs="'+t+'"')},e.prototype.cancelPendingEndOfStream=function(){this.setEndOfStreamDeferred&&(this.setEndOfStreamDeferred.reject(new Error("Cancelled pending end of stream.")),this.setEndOfStreamDeferred=void 0)},e.prototype.deferSetEndOfStream=function(){var e=this;return this.setEndOfStreamDeferred=this.setEndOfStreamDeferred||new h.Deferred,this.setEndOfStreamDeferred.promise.then((function(){var t;return null===(t=e.mse)||void 0===t?void 0:t.endOfStream()})).catch((function(t){(0,f.isContextAvailable)(e.context)&&e.context.logger.debug(t)}))},e.prototype.setEndOfStream=function(e){if(void 0===e&&(e=!0),!e)return this.cancelPendingEndOfStream(),this.isMSEOpen()?Promise.resolve():this.reOpenMse();if(!this.hasSourceBuffers()||!this.mse)return this.logger.debug("Cannot signal EOS as no buffers have been added yet"),Promise.resolve();var t=this.getEndOfBufferTime();return this.setCurrentTimeDelayedContext&&this.setCurrentTimeDelayedContext.time>=this.duration&&t&&!isNaN(t)&&this.cancelSetCurrentTimeDelayed(this.setCurrentTimeInternal(t)),this.setCurrentTimeDelayedContext?this.deferSetEndOfStream():this.mse.endOfStream()},e.prototype.isTimeInRangePendingRemoval=function(e){var t=this.getRangesPendingRemoval();for(var n in t){var r=t[n];if(r.start<=e&&r.end>=e)return!0}return!1},e.prototype.isTimeInBuffer=function(e,t){if(void 0===t&&(t=0),this.isTimeInRangePendingRemoval(e))return!1;var n=this.getRangesInSourceBuffers();return!!n&&Object.keys(n).every((function(i){return(0,r.isInTimeRanges)(n[i],e,t)}))},e.prototype.ensureSafeDistanceToEndOfBuffer=function(e,t){var n,r=null!==(n=this.getRangesInSourceBuffers())&&void 0!==n?n:{},i=Object.keys(r),o=w(r,e);if(0===i.length||o.length<i.length)return NaN;var a=Math.min.apply(Math,o.map((function(e){var t;return null!==(t=null==e?void 0:e.end)&&void 0!==t?t:1/0}))),s=a-e;return s>=t?e:e-(t-s)},e.prototype.adjustTimeToNextCommonBufferStart=function(e){var t,n,r,i=null===(t=(0,_.getSourceState)(this.context))||void 0===t?void 0:t.drm,o=(0,A.getBufferEndSafetyMargin)(i);if(this.isTimeInBuffer(e,o))return e;var a=this.isTimeInBuffer(e),s=this.getFutureBufferStarts(e).filter((function(t){return t>=e})),u=0===s.length;if(a&&u){var c=this.ensureSafeDistanceToEndOfBuffer(e,o),l=null===(r=null===(n=(0,_.getSourceState)(this.context))||void 0===n?void 0:n.buffer.isLoadingRangeFinished)||void 0===r||r;return c===e||l?!isNaN(c)&&this.isTimeInBuffer(c)?(this.logger.debug("Adjusting current time away from end of buffer: ".concat(c)),c):e:(this.logger.debug("Not adjusting seek target, because there will be future data"),NaN)}return!a&&u?NaN:(e=Math.min.apply(null,s),this.logger.debug("Adjusting current time to next buffer start: ".concat(e)),e)},e.prototype.getFutureBufferStarts=function(e){var t,n=this.getRangesInSourceBuffers();if(!n)return[];if(this.mse){var i=this.getRangesPendingRemoval();t=Object.keys(i).map((function(e){return i[e]}))}else t=[];return r.BufferRangeHelper.getCommonBufferedRanges(n).filter((function(t){return t.getEnd()>=e&&!isNaN(t.getStart())})).filter((function(e){return t.every((function(t){return(0,r.areDisjoint)(t,{start:e.getStart(),end:e.getEnd()})}))})).map((function(e){return e.getStart()}))},e.prototype.getRangesInSourceBuffers=function(){if(!this.mse)return null;var e={};for(var t in this.segmentQueues)if(this.segmentQueues.hasOwnProperty(t)&&(e[t]=this.mse.getBufferedRanges(t),e[t].length<1))return null;return Object.keys(e).length?e:null},e.prototype.getRangesPendingRemoval=function(){if(!this.mse||!this.mse.isBufferRemovalPending())return{};var e={};for(var t in this.segmentQueues){var n=this.mse.getRangePendingRemoval(t);this.segmentQueues.hasOwnProperty(t)&&n&&(e[t]=n)}return e},e.prototype.processSegmentQueues=function(){var e=this,t=this.segmentQueueMimeTypes.filter((function(t){return e.segmentQueues[t].length>0})).map((function(t){return e.addSegmentFromQueueToMse(t)}));return 0===t.length?Promise.resolve():Promise.all(t).then((function(){return e.processSegmentQueues()})).catch((function(e){if(e!==i.SOURCE_BUFFER_APPEND_STATUS.SUSPENDED)throw e}))},e.prototype.getHeadOfQueue=function(e){return this.segmentQueues[e][0]},e.prototype.isMSEOpen=function(){var e;return(null===(e=this.mse)||void 0===e?void 0:e.readyState)===T.MediaSourceReadyState.open},e.prototype.maybeWaitForDrmLicense=function(e){var t,n=null===(t=(0,_.getSourceState)(this.context))||void 0===t?void 0:t.drm;return this.context.serviceManager.maybeCall(s.ServiceName.DrmService,(function(t){return t.maybeWaitForDrmLicense(e,n)}),Promise.resolve())},e.prototype.addSegmentFromQueueToMse=function(e){var t=this;if(!this.mse)return Promise.resolve();var n=Promise.resolve();this.isMSEOpen()||(n=this.reOpenMse());var r=this.getHeadOfQueue(e);if(!r)return Promise.resolve();var o=r.getRepresentationId().representationId,a=r.getUrl();return this.context.logger.debug("[MSERenderer][".concat(e,"][").concat(o,"] Scheduling appendage to buffer [url=").concat(a,"],")+" drm key ID(".concat(r.getDrmKid(),")")),n.then((function(){return t.maybeWaitForDrmLicense(r)})).then((function(){return t.mse?t.segmentQueues[e].includes(r)?t.mse.addToBuffer(r).then((function(){var n=t.getHeadOfQueue(e)!==r;if(t.logger.debug("[MSERenderer][".concat(e,"][").concat(o,"] Appended segment to buffer [url=").concat(a,"]")),n){var i=t.segmentQueues[e][0],s=i?i.getUrl():"none";t.logger.debug("[MSERenderer][".concat(e,"][").concat(o,"] Skipping removal of [url=").concat(a,"] ")+"from segment queue as the queue head has unexpectedly changed to [url=".concat(s,"]"))}else t.segmentQueues[e].shift();t.drmService&&t.hasDataInSourceBuffers()&&!(0,p.isSwitchingBufferBlocks)((0,_.getSourceStore)(t.context))&&t.drmService.signalInitDataShouldBeAvailable()})):(t.logger.debug("[MSERenderer][".concat(e,"][").concat(o,"] Segment ").concat(r.getUrl()," no longer part of the queue - skipping appendage")),Promise.resolve()):Promise.reject(i.SOURCE_BUFFER_APPEND_STATUS.FAILURE)})).catch((function(n){if(t.logger.debug("[MSERenderer][".concat(e,"][").concat(o,"] Adding segment from queue to buffer failed"),n),n===i.SOURCE_BUFFER_APPEND_STATUS.FAILURE&&t.trackRendererError(r),t.mse&&n===i.SOURCE_BUFFER_APPEND_STATUS.QUOTA_EXCEEDED){t.quotaExceededMap.set(e,!0);var a=t.quotaExceededDeferredMap.get(e);return a||(a=new h.Deferred,t.quotaExceededDeferredMap.set(e,a)),t.mse.addOneUpdateEndCallback(e,a.resolve).then((function(){t.quotaExceededDeferredMap.delete(e),t.context.logger.debug("Appending segment after quota has been exceeded...")})),a.promise.then((function(){return t.processSegmentQueues()}))}return t.mse?t.mse.queueActionOnBuffer(e,(function(){return t.processSegmentQueues()})):Promise.reject(n)}))},e.prototype.cancelSetCurrentTimeDelayed=function(e){void 0===e&&(e=this.getCurrentTime()),this.setCurrentTimeDelayedContext&&(clearTimeout(this.setCurrentTimeDelayedContext.timeoutId),this.setCurrentTimeDelayedContext.promiseResolve(e),this.setCurrentTimeDelayedContext=void 0)},e.prototype.recoverFromExceededQuota=function(e){var t=this;this.segmentQueueMimeTypes.forEach((function(n){t.segmentQueues[n]=t.segmentQueues[n].filter((function(t){return t.getPlaybackTime()+t.getDuration()>=e})),t.updateRendererRangesInStore(n),t.quotaExceededMap.set(n,!1)})),this.quotaExceededDeferredMap.forEach((function(e){return e.reject()})),this.quotaExceededDeferredMap.clear()},e.prototype.setCurrentTimeDelayed=function(e){var t,n,r=this;this.logger.debug("delayed set time ".concat(e," on video element"));var i=null!==(n=null===(t=this.setCurrentTimeDelayedContext)||void 0===t?void 0:t.promiseResolve)&&void 0!==n?n:Promise.resolve;return this.setCurrentTimeDelayedContext&&clearTimeout(this.setCurrentTimeDelayedContext.timeoutId),this.setCurrentTimeDelayedContext=void 0,new Promise((function(t,n){r.setCurrentTimeDelayedContext={time:e,promiseReject:n,promiseResolve:t,timeoutId:setTimeout((function(){t(r.setCurrentTimeInternal(e).then((function(e){return i.call(Promise,e),e})))}),(0,v.toMilliSeconds)(r.settings.SYNC_ON_SEEK_TIMEOUT))}}))},e.prototype.resolvePendingEndOfStream=function(){this.setEndOfStreamDeferred&&(this.setEndOfStreamDeferred.resolve(),this.setEndOfStreamDeferred=void 0)},e.prototype.setCurrentTimeInternal=function(e){var t=this;if(!this.mse)return Promise.reject("Couldn't set current time, MSE is not open");(function(e,t){var n=!1;return e.forEach((function(e){return n=n||e})),n})(this.quotaExceededMap)&&this.recoverFromExceededQuota(e);var n=this.mse.waitForBuffers().then((function(){return t.waitingForSeekedPromise})).then((function(){var r,i,o;if(t.setCurrentTimeContext){if(t.setCurrentTimeContext.time!==e)return Promise.reject("A newer setting of change time has been scheduled.")}else t.setCurrentTimeContext={time:e,isInitialSeek:!1,promise:n};var a=t.adjustTimeToNextCommonBufferStart(e);if(isNaN(a))return t.setCurrentTimeDelayed(e);var s,u=null!==(i=null===(r=t.video)||void 0===r?void 0:r.currentTime)&&void 0!==i?i:0,c=!t.isPaused();return(null===(o=t.setCurrentTimeContext)||void 0===o?void 0:o.isInitialSeek)&&c&&u>a?(t.logger.debug("Skip initial seek to ".concat(a," as playback has started and is already at ").concat(u)),s=Promise.resolve(u)):(t.logger.debug("set time on video element to ".concat(a)),s=t.seekOnVideoElement(a)),s.then((function(e){return t.cancelSetCurrentTimeDelayed(),t.resolvePendingEndOfStream(),e})).catch((function(e){return t.handleVideoSetCurrentTimeError(a,e)})).finally((function(){t.waitingForSeekedPromise=null,t.setCurrentTimeContext=void 0,t.savedCurrentTime=0}))}));return n},e.prototype.handleVideoSetCurrentTimeError=function(e,t){return this.logger.debug("failed to set current time",t),this.waitingForSeekedPromise=null,this.setCurrentTimeDelayed(e)},e.prototype.seekOnVideoElement=function(e){var t=this;return this.waitingForSeekedPromise=new Promise((function(n,r){t.video?(t.video.currentTime=e,n(t.video.currentTime)):r("No video reference")})),this.waitingForSeekedPromise},e.prototype.saveCurrentTime=function(){this.setCurrentTimeContext?this.savedCurrentTime=this.setCurrentTimeContext.time:this.savedCurrentTime=this.getCurrentVideoTime()},e.prototype.recreateSourceBuffers=function(e){var t=this;return void 0===e&&(e=this.getCurrentTime()),this.shutdown(!1).then((function(){return t.ready()})).then((function(){t.sourceBufferMimeCodecMap.forEach((function(e,n){t.addBuffer(e,n)||(t.context.logger.debug("Failed to create source buffer ".concat(e)),t.sourceBufferMimeCodecMap.remove(e))}))})).then((function(){t.setCurrentTime(e).then((function(){var e,n;return(null===(n=null===(e=t.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.PlayerStateService))||void 0===n?void 0:n.isPlaying())?t.play():Promise.resolve()}))}))},e.prototype.updateSegmentQueueMimeType=function(e){var t,n=this,r=g.MimeTypeHelper.getMediaType(e);this.segmentQueueMimeTypes.forEach((function(e){var t;g.MimeTypeHelper.getMediaType(e)===r&&(delete n.segmentQueues[e],null===(t=(0,_.getSourceStore)(n.context))||void 0===t||t.dispatch((0,b.setRendererRanges)(e,[])))})),this.segmentQueues[e]=[],null===(t=(0,_.getSourceStore)(this.context))||void 0===t||t.dispatch((0,b.setRendererRanges)(e,[]))},e.prototype.changeBufferType=function(e,t){var n=this;return this.sourceBufferMimeCodecMap.update(e,t),this.updateSegmentQueueMimeType(e),this.mse&&this.mse.isChangeTypeSupported()?this.mse.changeBufferType(e,t).then((function(){var n;return(n={})[e]=t,n})).catch((function(r){return n.logger.debug("Failed to change buffer type to ".concat(e," ").concat(t,":"),r),n.recreateSourceBuffers().then((function(){return n.sourceBufferMimeCodecMap.entries()}))})):this.recreateSourceBuffers().then((function(){return n.sourceBufferMimeCodecMap.entries()}))},e.prototype.shouldContinueBuffering=function(){var e,t;return null!==(t=null===(e=this.mse)||void 0===e?void 0:e.shouldContinueBuffering)&&void 0!==t&&t},e}();function w(e,t){return Object.keys(e).map((function(n){return e[n].find((function(e){return(0,r.isInTimeRanges)([e],t)}))})).filter(m.isDefined)}t.MSERenderer=I},58765:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MSEWrapper=t.MediaSourceReadyState=void 0;var i,o=n(52442),a=n(25550),s=n(28764),u=n(63546),c=n(35148),l=n(62510),d=n(58935),_=n(96873),f=n(60627),h=n(27279),p=n(13533),g=n(10981),v=n(79814),m=n(70016),y=n(61878),b=n(73904),S=n(24869),E=n(1504);!function(e){e.closed="closed",e.open="open",e.ended="ended"}(i||(t.MediaSourceReadyState=i={}));var $=function(){function e(e){var t=this;this.postBufferRemoval=function(e,n,r){t.logger.debug("successfully removed buffer for ".concat(e," (from  ").concat(n," to ").concat(r,")"))},this.waitForBuffer=function(e){return t.sourceBuffers.hasOwnProperty(e)?t.mseReady().then((function(){return t.sourceBuffers[e].ready()})):Promise.reject("No SourceBuffer for '".concat(e,"' available"))},this.startStreaming=function(){t.logger.debug("[MSEWrapper][ManagedMediaSource] Start Streaming received, resuming loading"),t.shouldContinueStreaming=!0},this.endStreaming=function(){t.logger.debug("[MSEWrapper][ManagedMediaSource] Stop Streaming received, stopping loading"),t.shouldContinueStreaming=!1},this.bufferedChange=function(e){t.logger.isLevelEnabled(d.LogLevel.DEBUG)&&t.logger.debug("Received bufferedChange event, Added Ranges: ".concat(T(e.addedRanges),", Removed Ranges: ").concat(T(e.removedRanges)))},e.videoElement&&(this.context=e,this.logger=e.logger,this.video=e.videoElement,this.sourceBuffers={},this.isInit=!1,this.teardownInProgressPromise=Promise.resolve(),this.shouldContinueStreaming=!0)}return e.prototype.getBufferedRanges=function(e){return this.sourceBuffers.hasOwnProperty(e)?this.sourceBuffers[e].bufferedRanges:[]},e.prototype.printDetailedBufferRange=function(e,t){var n;try{n=e.buffered}catch(e){return void this.logger.debug("".concat(t," buffer range: Error accessing buffered ranges"))}if(0!==n.length)for(var r=0;r<n.length;r++)this.logger.debug("".concat(t," buffer range [").concat(r,"]: ").concat(n.start(r)," - ").concat(n.end(r)));else this.logger.debug("".concat(t," buffer range: empty"))},e.prototype.getBufferStartTime=function(){var e=this,t=Object.keys(this.sourceBuffers).map((function(t){return 0===e.sourceBuffers[t].bufferedRanges.length?0:e.sourceBuffers[t].bufferedRanges[0].start}));return Math.max.apply(null,t)},e.prototype.addBuffer=function(e,t,n){var r=this;if(this.mediaSource){if(this.isInit&&!this.sourceBuffers.hasOwnProperty(e))try{var i=this.mediaSource.addSourceBuffer(e+"; codecs="+t);this.sourceBuffers[e]=new S.SourceBufferWrapper(i,(function(t){n(t),r.context.logger.isLevelEnabled(d.LogLevel.DEBUG)&&r.printDetailedBufferRange(i,e)}))}catch(n){return this.logger.debug("Could not add SourceBuffer for "+e+" with codecs "+t+":"+n),void this.context.eventHandler.dispatchEvent(l.PlayerEvent.Warning,new u.PlayerWarning(c.WarningCode.SOURCE_CODEC_OR_FILE_FORMAT_NOT_SUPPORTED))}return this.logger.debug("Added SourceBuffer for "+e+" with codecs "+t),isNaN(this.mediaSource.duration)||(this.sourceBuffers[e].appendWindowEnd=this.mediaSource.duration),this.sourceBuffers[e].buffer}},e.prototype.updateTimestampOffset=function(e,t){var n=this.sourceBuffers[e];n&&(this.logger.debug("setting new source buffer [".concat(e,"] offset from ").concat(n.buffer.timestampOffset," to ").concat(t)),n.buffer.timestampOffset=t)},e.prototype.setTimestampOffset=function(e,t){return this.sourceBuffers.hasOwnProperty(e)?(t&&!isNaN(t)||(this.logger.debug("source buffer [".concat(e,"] offset is ").concat(t,", setting it to 0")),t=0),this.queueTimestampOffsetUpdate(e,t)):(this.logger.debug("no such source buffer found (mime type=".concat(e,")")),Promise.resolve())},e.prototype.queueTimestampOffsetUpdate=function(e,t){var n=this;return this.queueActionOnBuffer(e,(function(){return n.updateTimestampOffset(e,t)})).catch((function(t){n.logger.debug("Failed to set timestamp offset for",e,":",t)}))},e.prototype.getBufferRangeStart=function(e,t){return t||e.start(0)},e.prototype.getBufferRangeEnd=function(e,t){return t||e.end(e.length-1)},e.prototype.getBufferRemovalRange=function(e,t,n){var r=this.sourceBuffers[e].buffer.buffered;return{start:this.getBufferRangeStart(r,t),end:this.getBufferRangeEnd(r,n)}},e.prototype.preBufferRemoval=function(e,t,n){this.logger.debug("removing buffer for ".concat(e," (from ").concat(t," to ").concat(n,")"))},e.prototype.removeBufferRange=function(e,t,n){this.preBufferRemoval(e,t,n),this.sourceBuffers[e].buffer.remove(t,n)},e.prototype.removeFromBuffer=function(e,t,n,r){var o=this;return void 0===r&&(r=this.postBufferRemoval),this.queueActionOnBuffer(e,(function(){var a,s,d;try{if(o.video&&o.video.currentTime>=0&&(null===(d=null===(s=null===(a=o.sourceBuffers[e])||void 0===a?void 0:a.buffer)||void 0===s?void 0:s.buffered)||void 0===d?void 0:d.length)>0){var _=o.getBufferRemovalRange(e,t,n),f=_.start,h=_.end;if(f>=0&&h>f){if(o.sourceBuffers[e].removalPending=!0,o.sourceBuffers[e].rangePendingRemoval={start:f,end:h},!o.mediaSource||o.mediaSource.readyState===i.open){var p=o.sourceBuffers[e].onUpdateEnded().then((function(){o.sourceBuffers[e]&&(o.sourceBuffers[e].rangePendingRemoval=null,o.sourceBuffers[e].removalPending=!1,r(e,f,h))}));return o.removeBufferRange(e,f,h),p}o.logger.debug("cannot remove buffer for "+e+" (from "+f+" to "+h+"): MediaSource is not open"),o.addOneSourceOpenCallback((function(){o.removeFromBuffer(e,f,h,r).catch((function(t){o.logger.debug("Couldn't remove buffer from ".concat(f," to ").concat(h," for ").concat(e),t)}))}))}else o.logger.debug("Ignoring buffer clearing request, as the passed-in range is not valid: ".concat(f," to ").concat(h))}else o.logger.debug("Ignoring buffer clearing request, as there are no buffered ranges.")}catch(e){var g="".concat(c.WarningCode[c.WarningCode.PLAYBACK_WARNING],". Exception: ").concat(JSON.stringify(e));o.context.eventHandler.dispatchEvent(l.PlayerEvent.Warning,new u.PlayerWarning(c.WarningCode.PLAYBACK_WARNING,g))}return Promise.resolve()}))},e.prototype.removeBuffer=function(e){var t=this,n=Promise.resolve(),i=this.sourceBuffers[e];if(!i||!this.mediaSource)return n;if(this.isMediaSourceOpen())try{null==i||i.buffer.abort()}catch(e){return this.logger.debug("Could not abort last action on buffer",r({},e)),Promise.resolve()}if(v.MimeTypeHelper.isSubtitle(e))n=n.then((function(){return t.removeFromBuffer(e).catch((function(e){t.logger.debug("Error removing buffer data",e)}))}));else try{this.mediaSource&&this.mediaSource.removeSourceBuffer(i.buffer)}catch(e){this.logger.debug("Error while trying to remove source buffer.",e)}return this.deleteSourceBuffer(e),n},e.prototype.deleteSourceBuffer=function(e){this.sourceBuffers[e]?(this.sourceBuffers[e].dispose(),delete this.sourceBuffers[e],this.logger.debug("Removed SourceBuffer for ".concat(e))):this.logger.debug("No source buffer to remove for mimeType=".concat(e))},e.prototype.isMediaSourceOpen=function(){var e;return(null===(e=this.mediaSource)||void 0===e?void 0:e.readyState)===i.open},e.prototype.resetAllBuffers=function(){var e=this;if(!this.mediaSource)return this.logger.debug("Media source is removed. Can not reset buffers."),Promise.resolve();var t=[];for(var n in this.sourceBuffers)this.sourceBuffers.hasOwnProperty(n)&&t.push(this.removeBuffer(n));return Promise.all(t).then((function(){e.sourceBuffers={},e.logger.debug("Removed all SourceBuffers")}))},e.prototype.tearDownMediaSource=function(){var e=this;return this.teardownInProgressPromise=this.teardownInProgressPromise.then((function(){return e.resetAllBuffers()})).then((function(){e.mediaSource?e.detachVideoElementAndMSE():e.logger.debug("Media source has already been removed.")})),this.teardownInProgressPromise},e.prototype.detachVideoElementAndMSE=function(){var e;if(this.video)if(null!==this.video.getWrappedElement()){var t=(0,b.getMseObjectUrl)((0,h.getSourceState)(this.context));if("function"==typeof(null===(e=null===window||void 0===window?void 0:window.URL)||void 0===e?void 0:e.revokeObjectURL)&&""!==t)try{window.URL.revokeObjectURL(t)}catch(e){this.logger.debug("Could not revoke MSE object URL")}this.mediaSource&&(this.mediaSource.removeEventListener("startstreaming",this.startStreaming),this.mediaSource.removeEventListener("endstreaming",this.endStreaming),this.mediaSource.removeEventListener("bufferedchange",this.bufferedChange)),this.mediaSourceReadyDeferred&&this.mediaSourceReadyDeferred.reject("MediaSource is being destroyed."),this.mediaSourceReadyDeferred=void 0,this.mediaSourceReadyPromise=void 0,t===this.video.src&&(y.VideoElementUtil.removeSource(this.video),this.video.load()),this.mediaSource=void 0,this.isInit=!1,this.logger.debug("Detached video element and MSE")}else this.logger.debug("No video element to teardown.");else this.logger.debug("No video wrapper to teardown.")},e.prototype.removeUpdateEndCallback=function(e,t){this.sourceBuffers.hasOwnProperty(e)&&this.sourceBuffers[e].buffer.removeEventListener("updateend",t)},e.prototype.addUpdateEndCallback=function(e,t){this.sourceBuffers.hasOwnProperty(e)&&this.sourceBuffers[e].buffer.addEventListener("updateend",t)},e.prototype.addOneUpdateEndCallback=function(e,t){return this.sourceBuffers[e].onUpdateEnded().catch((function(){})).then(t)},e.prototype.addSourceOpenCallback=function(e){this.mediaSource&&this.mediaSource.addEventListener("sourceopen",e)},e.prototype.removeSourceOpenCallback=function(e){this.mediaSource&&this.mediaSource.removeEventListener("sourceopen",e)},e.prototype.addOneSourceOpenCallback=function(e){var t=this,n=function(r){t.removeSourceOpenCallback(n),e(r)};this.addSourceOpenCallback(n)},e.prototype.isAnyBufferUpdating=function(){var e=this;return 0!==Object.keys(this.sourceBuffers).filter((function(t){return e.sourceBuffers[t].buffer.updating})).length},e.prototype.setDuration=function(e){var t=this;this.queueActionOnBuffers((function(){if(t.mediaSource){var n=(0,m.isNumber)(e)&&e>0?e:1/0;t.mediaSource.duration!==n&&(t.isMediaSourceOpen()?(t.logger.debug("Setting video duration on MSE: ".concat(t.mediaSource.duration," -> ").concat(n)),t.mediaSource.duration=n):t.logger.debug("Skipping setDuration (".concat(t.mediaSource.duration," -> ").concat(n,"), MSE is not open")))}else t.logger.debug("Skipping setDuration (".concat(e,"), MSE is gone"))})).catch((function(e){t.logger.debug("Could not set the duration of the MSE!",e)}))},e.prototype.getDuration=function(){return this.mediaSource&&!isNaN(this.mediaSource.duration)?this.mediaSource.duration:0},e.prototype.isInitialized=function(){return this.isInit},Object.defineProperty(e.prototype,"readyState",{get:function(){return this.mediaSource?this.mediaSource.readyState:void 0},enumerable:!1,configurable:!0}),e.prototype.isBufferRemovalPending=function(){var e=this;return Object.keys(this.sourceBuffers).some((function(t){return e.sourceBuffers[t].removalPending}))},e.prototype.getRangePendingRemoval=function(e){var t,n,r;return null!==(r=null===(n=null===(t=this.sourceBuffers)||void 0===t?void 0:t[e])||void 0===n?void 0:n.rangePendingRemoval)&&void 0!==r?r:void 0},e.prototype.getBufferSizeInSeconds=function(e){return this.getBufferedRanges(e).reduce((function(e,t){return e+(t.end-t.start)}),0)},e.prototype.addToBuffer=function(e){var t=this,n=e.getMimeType();return this.queueActionOnBuffer(n,(function(){if(!t.mediaSource)return t.logger.debug("Could not queue action on SourceBuffer: MediaSource has been destroyed"),Promise.reject(o.SOURCE_BUFFER_APPEND_STATUS.FAILURE);if(t.mediaSource.readyState!==i.open)return t.logger.warn("MediaSource is not open (readyState="+t.mediaSource.readyState+")"),Promise.reject(o.SOURCE_BUFFER_APPEND_STATUS.FAILURE);if(!t.sourceBuffers.hasOwnProperty(n))return t.logger.log("sourceBuffers has no entry for "+n),Promise.reject(o.SOURCE_BUFFER_APPEND_STATUS.FAILURE);var r=e.getRepresentationId().representationId;try{t.logger.debug("[MSEWrapper][".concat(n,"][").concat(r,"] Adding segment to SourceBuffer [").concat(e.getUrl(),"]"));var u=t.sourceBuffers[n];return u.buffer.appendBuffer(e.getData()),u.onUpdateEnded()}catch(i){return t.logger.debug("[MSEWrapper][".concat(n,"][").concat(r,"] appendBuffer() failed"),i),i.name&&"QuotaExceededError"===i.name?(t.logger.debug("QuotaExceededError, trying to remove old data from buffers..."),t.context.store.dispatch((0,_.setBufferMaxSize)(n,t.getBufferSizeInSeconds(n))),Promise.reject(o.SOURCE_BUFFER_APPEND_STATUS.QUOTA_EXCEEDED)):(t.video&&t.video.error||t.context.eventHandler.fireError(new s.PlayerError(a.ErrorCode.UNKNOWN,{exception:i,codec:e.getCodec(),mimeType:n,segmentUrl:e.getUrl()},"Unexpected error while attempting to append a segment to the SourceBuffer.")),t.logger.debug("[MSEWrapper][".concat(n,"][").concat(r,"] Failed appending segment to SourceBuffer"),i),Promise.reject(o.SOURCE_BUFFER_APPEND_STATUS.FAILURE))}}))},e.prototype.endOfStream=function(){var e=this;return this.queueActionOnBuffers((function(){var t;e.isMediaSourceOpen()?(e.logger.debug("Signaled mse end of stream"),null===(t=e.mediaSource)||void 0===t||t.endOfStream()):e.logger.debug("Skipped signaling EOS as the mse is not open")})).catch((function(t){e.logger.debug("Unable to signal EOS on media source",t)}))},e.prototype.waitForBuffers=function(){var e=Object.keys(this.sourceBuffers).map(this.waitForBuffer);return this.mseReady().then((function(){return Promise.all(e).then((function(){}))}))},e.prototype.queueActionOnBuffers=function(e){var t=this,n=new Promise((function(e,r){var i=Object.keys(t.sourceBuffers).map((function(e){var r=t.queueActionOnBuffer(e,(function(){}));return t.queueActionOnBuffer(e,(function(){return n})).then().catch(),r}));Promise.all(i).then((function(){return e()}),r)})).then((function(){return e()})).then((function(){return Promise.all(Object.keys(t.sourceBuffers).map((function(e){return t.sourceBuffers[e].ready()}))).then((function(){}))}));return n},e.prototype.queueActionOnBuffer=function(e,t){return this.sourceBuffers.hasOwnProperty(e)?this.sourceBuffers[e].queueAction(t):Promise.reject("No SourceBuffer for '".concat(e,"' available"))},e.prototype.rejectMediaSourceReady=function(e){var t,n=this;return null===(t=this.mediaSourceReadyDeferred)||void 0===t||t.reject(e),this.mediaSourceReadyPromise?this.mediaSourceReadyPromise.then((function(){n.mediaSourceReadyDeferred=void 0})):Promise.reject(e)},e.prototype.mseReady=function(){var e,t=this;if(this.mediaSourceReadyPromise)return this.mediaSourceReadyPromise;this.mediaSourceReadyDeferred=new g.Deferred,this.mediaSourceReadyPromise=this.mediaSourceReadyDeferred.promise;var n=function(e){var n;i(),null===(n=t.mediaSourceReadyDeferred)||void 0===n||n.reject(e)},r=function(){var e;i(),t.isInit=!0,t.isUsingManagedMediaSource||(t.shouldContinueStreaming=!0),null===(e=t.mediaSourceReadyDeferred)||void 0===e||e.resolve()},i=function(){t.mediaSource&&(t.mediaSource.removeEventListener("error",n),t.mediaSource.removeEventListener("sourceopen",r),t.mediaSource.removeEventListener("webkitsourceopen",r))};if(!this.video)return this.rejectMediaSourceReady("Could not set source to video element");if(!this.mediaSource)return this.rejectMediaSourceReady("mediaSource must not be null or undefined");if(this.mediaSource.addEventListener("error",n),this.mediaSource.addEventListener("sourceopen",r,!1),this.mediaSource.addEventListener("webkitsourceopen",r,!1),this.isUsingManagedMediaSource&&(this.video.disableRemotePlayback=!0,this.mediaSource.addEventListener("startstreaming",this.startStreaming),this.mediaSource.addEventListener("endstreaming",this.endStreaming),this.mediaSource.addEventListener("bufferedchange",this.bufferedChange)),window&&window.URL&&"function"==typeof window.URL.createObjectURL){var o=window.URL.createObjectURL(this.mediaSource);this.video.src=o,null===(e=(0,h.getSourceStore)(this.context))||void 0===e||e.dispatch((0,f.setMseObjectUrl)(o))}else this.logger.debug("Could not use window.URL.createObjectURL(mediaSource) as the browser claims the function does not exist."),this.mediaSourceReadyDeferred.reject("Could not create Object URL");return this.mediaSourceReadyPromise.then((function(){t.mediaSourceReadyDeferred=void 0}))},Object.defineProperty(e.prototype,"shouldContinueBuffering",{get:function(){return this.shouldContinueStreaming},enumerable:!1,configurable:!0}),e.prototype.createNewMSE=function(){var e=this;return this.mediaSource?this.tearDownMediaSource().then((function(){return e.setNewMediaSource()})):this.teardownInProgressPromise.then((function(){return e.setNewMediaSource()}))},e.prototype.setNewMediaSource=function(){return this.isUsingManagedMediaSource=(0,E.shouldUseManagedMediaSource)(this.context.settings.PREFER_MANAGED_MEDIA_SOURCE),this.isUsingManagedMediaSource?(this.logger.debug("[MSEWrapper] Using ManagedMediaSource"),this.mediaSource=new window.ManagedMediaSource):(this.logger.debug("[MSEWrapper] Using MediaSource"),this.mediaSource=new window.MediaSource),this.mseReady()},e.prototype.isChangeTypeSupported=function(){var e,t;return!!(null===(t=null===(e=window.SourceBuffer)||void 0===e?void 0:e.prototype)||void 0===t?void 0:t.changeType)&&!(0,p.getCapabilities)().isTizen},e.prototype.updateSourceBufferKey=function(e){var t=this,n=v.MimeTypeHelper.getMediaType(e),r=Object.keys(this.sourceBuffers).find((function(r){var i=v.MimeTypeHelper.getMediaType(r);return t.sourceBuffers.hasOwnProperty(r)&&i===n&&r!==e}));r&&(this.sourceBuffers[e]=this.sourceBuffers[r],delete this.sourceBuffers[r])},e.prototype.changeBufferType=function(e,t){var n=this;return this.updateSourceBufferKey(e),this.queueActionOnBuffer(e,(function(){n.sourceBuffers[e].changeType("".concat(e,"; codecs=").concat(t)),n.context.logger.debug("Changed ".concat(e," SourceBuffer type with codec=").concat(t))}))},e.prototype.dispose=function(){var e=this;this.tearDownMediaSource().then((function(){e.video=void 0}))},e}();function T(e){for(var t=[],n=0;n<(null==e?void 0:e.length);n++){var r="[".concat(e.start(n)," - ").concat(e.end(n),"]");t.push(r)}return t.toString()}t.MSEWrapper=$},27838:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MSERendererModuleDefinition=void 0;var r=n(16368),i=n(6863),o=n(58765),a=n(89413),s=n(98758);t.MSERendererModuleDefinition={name:r.ModuleName.RendererMse,module:{MSEWrapper:o.MSEWrapper,MSERenderer:i.MSERenderer,Ranges:a.Ranges,technologyChecker:new s.TechnologyChecker}},t.default=t.MSERendererModuleDefinition},63916:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedListQueue=void 0;var n=function(e){this.value=e},r=function(){function e(){this.count=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!1,configurable:!0}),e.prototype.dequeue=function(){if(0!==this.count){var e=this.last;return this.last=null==e?void 0:e.previous,e&&(e.previous=void 0,e.next=void 0),this.count--,null==e?void 0:e.value}},e.prototype.enqueue=function(e){if(0===this.count){var t=new n(e);this.first=t,this.last=t}else{var r=this.first;this.first=new n(e),this.first.next=r,r&&(r.previous=this.first)}this.count++},e.prototype.isEmpty=function(){return 0===this.length},e}();t.LinkedListQueue=r},89413:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Ranges=void 0;var n=function(){function e(){}return e.filterRanges=function(t,n){var r=[];if(t&&t.length)for(var i=0;i<t.length;i++)n(t.start(i),t.end(i))&&r.push([t.start(i),t.end(i)]);return e.createTimeRanges(r)},e.createTimeRangesObj=function(e){return void 0===e||0===e.length?{length:0,start:function(){return 0},end:function(){return 0}}:{length:e.length,start:function(t){return e[t][0]},end:function(t){return e[t][1]}}},e.createTimeRanges=function(t,n){return Array.isArray(t)?e.createTimeRangesObj(t):void 0===t||void 0===n?e.createTimeRangesObj():e.createTimeRangesObj([[t,n]])},e.findNextRange=function(t,n){return e.filterRanges(t,(function(t,r){return t-e.TIME_FUDGE_FACTOR>=n&&r-t>e.MIN_RANGE_DURATION}))},e.findGaps=function(t,n){if(t.length<2)return e.createTimeRanges();for(var r=[],i=1;i<t.length;i++){var o=t.end(i-1),a=t.start(i);a-o>n&&r.push([o,a])}return e.createTimeRanges(r)},e.findRangeForTime=function(t,n){return e.filterRanges(t,(function(e,t){return e<=n&&t>=n}))},e.TIME_FUDGE_FACTOR=1/30,e.MIN_RANGE_DURATION=.2,e}();t.Ranges=n},73904:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMseObjectUrl=void 0,t.getMseObjectUrl=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.renderer)||void 0===t?void 0:t.mseObjectUrl)&&void 0!==n?n:""}},24869:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SourceBufferWrapper=void 0;var r=n(10981),i=n(63916),o=function(){function e(e,t){var n=this;this.onBufferedRangesChanged=t,this.onUpdateSuccess=function(){n.updateExposedBufferRanges(),n.onBufferedRangesChanged(n.bufferedRanges),n.cleanUpPendingUpdateEndedPromises((function(e){return e.resolve()}))},this.onUpdateError=function(e){n.cleanUpPendingUpdateEndedPromises((function(t){return t.reject(e)}))},this.ready=function(){return n.buffer.updating?n.onUpdateEnded():Promise.resolve()},this.buffer=e,this.bufferedRanges=[],this.queuePromise=Promise.resolve(),this.pendingUpdateEndedPromises=new i.LinkedListQueue,["error","abort","sourceended","sourceclose"].forEach((function(e){n.buffer.addEventListener(e,n.onUpdateError)})),this.buffer.addEventListener("updateend",this.onUpdateSuccess)}return e.prototype.cleanUpPendingUpdateEndedPromises=function(e){for(var t;null!=(t=this.pendingUpdateEndedPromises.dequeue());)e(t)},e.prototype.updateExposedBufferRanges=function(){try{this.bufferedRanges=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}(this.buffer.buffered)}catch(e){}},e.prototype.onUpdateEnded=function(){var e=new r.Deferred;return this.pendingUpdateEndedPromises.enqueue(e),e.promise},e.prototype.queueAction=function(e){var t=this,n=this.queuePromise.then((function(){return t.ready()})).then((function(){return Promise.resolve(e()).then((function(){return t.ready()}))}));return this.queuePromise=n.catch((function(){})),n},e.prototype.changeType=function(e){this.buffer.changeType(e)},e.prototype.dispose=function(){var e=this;["error","abort","sourceended","sourceclose"].forEach((function(t){e.buffer.removeEventListener(t,e.onUpdateError)})),this.cleanUpPendingUpdateEndedPromises((function(e){return e.reject("disposing source buffer")})),this.buffer.removeEventListener("updateend",this.onUpdateSuccess)},e}();t.SourceBufferWrapper=o},98758:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TechnologyChecker=void 0;var r=n(33696),i=function(){function e(){}return e.prototype.getSupportedTechnologies=function(){return[{player:r.PlayerType.Html5,streaming:r.StreamType.Dash},{player:r.PlayerType.Html5,streaming:r.StreamType.Hls},{player:r.PlayerType.Html5,streaming:r.StreamType.Smooth}]},e}();t.TechnologyChecker=i},76316:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.VideoEventHandler=void 0;var n=function(){function e(e){var t=this;this.addTimeToEvent=function(e){return e.time=t.video&&t.video.currentTime||0,e},this.video=e}return e.prototype.on=function(e,t){this.video&&this.video.addEventListener(e,t,this.addTimeToEvent)},e.prototype.off=function(e,t){this.video&&this.video.removeEventListener(e,t)},e.prototype.fire=function(e,t){this.video&&this.video.eventHandler.triggerEvent(e,t)},e.prototype.dispose=function(){},e}();t.VideoEventHandler=n},66697:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getBufferEndSafetyMargin=function(e){var t=(0,i.getCapabilities)(),n=t.isChromium,o=t.isChrome;if(t.isWebOS)return 1.25;var a=(null==e?void 0:e.usedKeySystem.kind)===r.KeySystemKind.PLAYREADY;return n&&!o&&a?1.25:.25};var r=n(94304),i=n(13533)},1504:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseManagedMediaSource=function(e){return"ManagedMediaSource"in window&&(e||!("MediaSource"in window))}}},function(e){return e(e.s=27838)}])}()},4543:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[787],{83364:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DeviceDetector=void 0;var n=function(){function e(){}return e.isGoogleCast=function(){return window.navigator.userAgent.indexOf("Chrome")>-1&&window.navigator.userAgent.indexOf("CrKey")>-1},e}();t.DeviceDetector=n},38901:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PatchModuleDefinition=void 0;var r=n(16368),i=n(84408);t.PatchModuleDefinition={name:r.ModuleName.Patch,module:{Patches:i.Patches},hooks:{add:function(e){e.Patches.install()}}},t.default=t.PatchModuleDefinition},84408:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Patches=void 0;var r=n(83364),i=function(){function e(){}return e.arrayReduce=function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var n,r=Object(this),i=r.length>>>0,o=0;if(void 0!==t)n=t;else{for(;o<i&&!(o in r);)o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;)o in r&&(n=e(n,r[o],o,r)),o++;return n},e.install=function(){r.DeviceDetector.isGoogleCast()&&window.navigator.userAgent.indexOf("CrKey/1.25.")>-1&&(Array.prototype.reduce=e.arrayReduce)},e}();t.Patches=i}},function(e){return e(e.s=38901)}])}()},346:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[538],{51620:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayBufferPolyfill=void 0,t.ArrayBufferPolyfill=function(){function e(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}return{polyfill:function(){ArrayBuffer.prototype.slice=function(t,n){var r=this.byteLength,i=e(t,r),o=r;if(void 0!==n&&(o=e(n,r)),i>o)return new ArrayBuffer(0);var a=o-i,s=new ArrayBuffer(a),u=new Uint8Array(s),c=new Uint8Array(this,i,a);return u.set(c),s}}}}()},16051:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayFindIndexPolyfill=void 0,t.ArrayFindIndexPolyfill={polyfill:function(){Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i<n;){var o=t[i];if(e.call(r,o,i,t))return i;i++}return-1},configurable:!0,writable:!0})}}},5029:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayFindPolyfill=void 0,t.ArrayFindPolyfill={polyfill:function(){Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(i,t,o,n))return t}}}},11585:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayFlatMapPolyfill=void 0;var n=function(){function e(){}return e.polyfill=function(){Object.defineProperty(Array.prototype,"flatMap",{value:function(e){return Array.prototype.concat.apply([],this.map(e))}})},e}();t.ArrayFlatMapPolyfill=n},68367:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayIncludesPolyfill=void 0,t.ArrayIncludesPolyfill={polyfill:function(){Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var i=0|t,o=Math.max(i>=0?i:r-Math.abs(i),0);function a(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}for(;o<r;){if(a(n[o],e))return!0;o++}return!1}})}}},31630:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PromisePolyfill=void 0,t.PromisePolyfill=function(){function e(e){return"function"==typeof e}var t,n,r=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,o=function(e,r){c[i]=e,c[i+1]=r,2===(i+=2)&&(t?t(l):n())},a=("undefined"!=typeof window?window:void 0)||{},s=a.MutationObserver||a.WebKitMutationObserver,u="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,c=new Array(1e3);function l(){for(var e=0;e<i;e+=2)(0,c[e])(c[e+1]),c[e]=void 0,c[e+1]=void 0;i=0}function d(){}n=s?function(){var e=0,t=new s(l),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():u?function(){var e=new MessageChannel;return e.port1.onmessage=l,function(){e.port2.postMessage(0)}}():function(){setTimeout(l,1)};var _=void 0,f=new S;function h(t,n){if(n.constructor===t.constructor)!function(e,t){1===t._state?v(e,t._result):2===t._state?m(e,t._result):y(t,void 0,(function(t){p(e,t)}),(function(t){m(e,t)}))}(t,n);else{var r=function(e){try{return e.then}catch(e){return f.error=e,f}}(n);r===f?m(t,f.error):void 0===r?v(t,n):e(r)?function(e,t,n){o((function(e){var r=!1,i=function(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}(n,t,(function(n){r||(r=!0,t!==n?p(e,n):v(e,n))}),(function(t){r||(r=!0,m(e,t))}),e._label);!r&&i&&(r=!0,m(e,i))}),e)}(t,n,r):v(t,n)}}function p(e,t){e===t?m(e,new TypeError("You cannot resolve a promise with itself")):function(e){return"function"==typeof e||"object"==typeof e&&null!==e}(t)?h(e,t):v(e,t)}function g(e){e._onerror&&e._onerror(e._result),b(e)}function v(e,t){e._state===_&&(e._result=t,e._state=1,0!==e._subscribers.length&&o(b,e))}function m(e,t){e._state===_&&(e._state=2,e._result=t,o(g,e))}function y(e,t,n,r){var i=e._subscribers,a=i.length;e._onerror=null,i[a]=t,i[a+1]=n,i[a+2]=r,0===a&&e._state&&o(b,e)}function b(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?$(n,r,i,o):i(o);e._subscribers.length=0}}function S(){this.error=null}var E=new S;function $(t,n,r,i){var o,a,s,u,c=e(r);if(c){if((o=function(e,t){try{return e(t)}catch(e){return E.error=e,E}}(r,i))===E?(u=!0,a=o.error,o=null):s=!0,n===o)return void m(n,new TypeError("A promises callback cannot return that same promise."))}else o=i,s=!0;n._state!==_||(c&&s?p(n,o):u?m(n,a):1===t?v(n,o):2===t&&m(n,o))}function T(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(d),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?v(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&v(n.promise,n._result))):m(n.promise,n._validationError())}T.prototype._validateInput=function(e){return r(e)},T.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},T.prototype._init=function(){this._result=new Array(this.length)};var A=T;T.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===_&&i<t;i++)e._eachEntry(r[i],i)},T.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;!function(e){return"object"==typeof e&&null!==e}(e)?(n._remaining--,n._result[t]=e):e.constructor===r&&e._state!==_?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t)},T.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===_&&(r._remaining--,2===e?m(i,n):r._result[t]=n),0===r._remaining&&v(i,r._result)},T.prototype._willSettleAt=function(e,t){var n=this;y(e,void 0,(function(e){n._settledAt(1,t,e)}),(function(e){n._settledAt(2,t,e)}))};var C=0,P=I;function I(t){this._id=C++,this._state=void 0,this._result=void 0,this._subscribers=[],d!==t&&(e(t)||function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof I||function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}(),function(e,t){try{t((function(t){p(e,t)}),(function(t){m(e,t)}))}catch(t){m(e,t)}}(this,t))}return I.all=function(e){return new A(this,e).promise},I.race=function(e){var t=new this(d);if(!r(e))return m(t,new TypeError("You must pass an array to race.")),t;var n=e.length;function i(e){p(t,e)}function o(e){m(t,e)}for(var a=0;t._state===_&&a<n;a++)y(this.resolve(e[a]),void 0,i,o);return t},I.resolve=function(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(d);return p(t,e),t},I.reject=function(e){var t=new this(d);return m(t,e),t},I._setScheduler=function(e){t=e},I._setAsap=function(e){o=e},I._asap=o,I.prototype={constructor:I,then:function(e,t){var n=this,r=n._state;if(1===r&&!e||2===r&&!t)return this;var i=new this.constructor(d),a=n._result;if(r){var s=arguments[r-1];o((function(){$(r,i,s,a)}))}else y(n,i,e,t);return i},catch:function(e){return this.then(null,e)}},{Promise:P,polyfill:function(){var e=window.Promise;e&&"[object Promise]"===Object.prototype.toString.call(e.resolve())&&!e.cast||(window.Promise=P)}}}.call(this)},54917:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MapPolyfill=void 0,t.MapPolyfill={polyfill:function(){var e,t=Object.defineProperty,n=function(e,t){return e===t||e!=e&&t!=t};function r(e){this.add?e.forEach(this.add,this):e.forEach((function(e){this.set(e[0],e[1])}),this)}function i(t,r){if(r!=r||0===r)for(e=t.length;e--&&!n(t[e],r););else e=t.indexOf(r);return-1<e}function o(e,t,n){var r=[0],i=!1;return e.push(r),{next:function(){var o,a=r[0];return!i&&a<t.length?(o=n?[t[a],n[a]]:t[a],r[0]++):(i=!0,e.splice(e.indexOf(r),1)),{done:i,value:o}}}}function a(){return this._values.length}window.Map=function(e){function n(e){if(!this||this.constructor!==n)return new(n(e));this._keys=[],this._values=[],this._itp=[],e&&r.call(this,e)}return t(e,"size",{get:a}),e.constructor=n,n.prototype=e,n}({delete:function(t){return this.has(t)&&(this._keys.splice(e,1),this._values.splice(e,1),this._itp.forEach((function(t){e<t[0]&&t[0]--}))),-1<e},has:function(e){return i.call(this,this._keys,e)},get:function(t){return this.has(t)?this._values[e]:void 0},set:function(t,n){return this.has(t)?this._values[e]=n:this._values[this._keys.push(t)-1]=n,this},keys:function(){return o(this._itp,this._keys)},values:function(){return o(this._itp,this._values)},entries:function(){return o(this._itp,this._keys,this._values)},forEach:function(e,t){for(var n=this.entries();;){var r=n.next();if(r.done)break;e.call(t,r.value[1],r.value[0],this)}},clear:function(){(this._keys||0).length=this._values.length=0}})}}},37038:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NodeChildrenPolyfill=void 0,t.NodeChildrenPolyfill={polyfill:function(){!function(e){e&&e.prototype&&null==e.prototype.children&&Object.defineProperty(e.prototype,"children",{get:function(){var e,t=0,n=this.childNodes,r=[];if(!n)return r;for(;e=n[t++];)1===e.nodeType&&r.push(e);return r}})}(window.Node||window.Element)}}},74005:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NodeListPolyfill=void 0,t.NodeListPolyfill={polyfill:function(){NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}}}},64211:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectAssignPolyfill=void 0,t.ObjectAssignPolyfill={polyfill:function(){Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0})}}},97986:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectEntriesPolyfill=void 0,t.ObjectEntriesPolyfill={polyfill:function(){Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}}}},70520:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectValuesPolyfill=void 0,t.ObjectValuesPolyfill={polyfill:function(){Object.values=function(e){return Object.keys(e).map((function(t){return e[t]}))}}}},94678:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={polyfill:function(){window.Promise.prototype.finally&&"function"==typeof window.Promise.prototype.finally||(window.Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))})}}},74338:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringEndsWithPolyfill=void 0,t.StringEndsWithPolyfill={polyfill:function(){String.prototype.endsWith=function(e,t){if(null==e)return!1;var n=this.length;return null!=t&&(n=Math.min(t,this.length)),this.substring(n-e.length,n)===e}}}},13801:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringIncludesPolyfill=void 0,t.StringIncludesPolyfill={polyfill:function(){String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}}}},41921:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringStartsWithPolyfill=void 0,t.StringStartsWithPolyfill={polyfill:function(){String.prototype.startsWith=function(e,t){var n=t>0?0|t:0;return this.substring(n,n+e.length)===e}}}},87129:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.WeakMapPolyfill=void 0;var n=function(){};!function(){function e(t){t.permitHostObjects___&&t.permitHostObjects___(e)}var t,r=!1;if("function"==typeof WeakMap)if(t=WeakMap,"undefined"!=typeof navigator&&/Firefox/.test(navigator.userAgent));else{var i=new t,o=Object.freeze({});if(i.set(o,1),1===i.get(o))return void(n=function(){});r=!0}var a=Object.getOwnPropertyNames,s=Object.defineProperty,u=Object.isExtensible,c="weakmap:",l=c+"ident:"+Math.random()+"___";if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof ArrayBuffer&&"function"==typeof Uint8Array){var d=new ArrayBuffer(25),_=new Uint8Array(d);crypto.getRandomValues(_),l=c+"rand:"+Array.prototype.map.call(_,(function(e){return(e%36).toString(36)})).join("")+"___"}function f(e){return!(e.substr(0,8)==c&&"___"===e.substr(e.length-3))}var h="object"==typeof window?Object.getOwnPropertyNames(window):[];if(s(Object,"getOwnPropertyNames",{value:function(e){if("[object Window]"===Object.prototype.toString.call(e))try{return a(e)}catch(e){return[].concat([],h)}return a(e).filter(f)}}),"getPropertyNames"in Object){var p=Object.getPropertyNames;s(Object,"getPropertyNames",{value:function(e){return p(e).filter(f)}})}function g(e){if(e!==Object(e))throw new TypeError("Not an object: "+e);var t=e[l];if(t&&t.key===e)return t;if(u(e)){t={key:e};try{return s(e,l,{value:t,writable:!1,enumerable:!1,configurable:!1}),t}catch(e){return}}}function v(e){return e.prototype=null,Object.freeze(e)}!function(){var e=Object.freeze;s(Object,"freeze",{value:function(t){return g(t),e(t)}});var t=Object.seal;s(Object,"seal",{value:function(e){return g(e),t(e)}});var n=Object.preventExtensions;s(Object,"preventExtensions",{value:function(e){return g(e),n(e)}})}();var m=!1;function y(){m||void 0===console||(m=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var b=0,S=function(){this instanceof S||y();var e=[],t=[],n=b++;return Object.create(S.prototype,{get___:{value:v((function(r,i){var o,a=g(r);return a?n in a?a[n]:i:(o=e.indexOf(r))>=0?t[o]:i}))},has___:{value:v((function(t){var r=g(t);return r?n in r:e.indexOf(t)>=0}))},set___:{value:v((function(r,i){var o,a=g(r);return a?a[n]=i:(o=e.indexOf(r))>=0?t[o]=i:(o=e.length,t[o]=i,e[o]=r),this}))},delete___:{value:v((function(r){var i,o,a=g(r);return a?n in a&&delete a[n]:!((i=e.indexOf(r))<0||(o=e.length-1,e[i]=void 0,t[i]=t[o],e[i]=e[o],e.length=o,t.length=o,0))}))}})};S.prototype=Object.create(Object.prototype,{get:{value:function(e,t){return this.get___(e,t)},writable:!0,configurable:!0},has:{value:function(e){return this.has___(e)},writable:!0,configurable:!0},set:{value:function(e,t){return this.set___(e,t)},writable:!0,configurable:!0},delete:{value:function(e){return this.delete___(e)},writable:!0,configurable:!0}}),"function"==typeof t?function(){function i(){this instanceof S||y();var n,i=new t,o=void 0,a=!1;return n=r?function(e,t){return i.set(e,t),i.has(e)||(o||(o=S()),o.set(e,t)),this}:function(e,t){if(a)try{i.set(e,t)}catch(n){o||(o=S()),o.set___(e,t)}else i.set(e,t);return this},Object.create(S.prototype,{get___:{value:v((function(e,t){return o?i.has(e)?i.get(e):o.get___(e,t):i.get(e,t)}))},has___:{value:v((function(e){return i.has(e)||!!o&&o.has___(e)}))},set___:{value:v(n)},delete___:{value:v((function(e){var t=!!i.delete(e);return o&&o.delete___(e)||t}))},permitHostObjects___:{value:v((function(t){if(t!==e)throw new Error("bogus call to permitHostObjects___");a=!0}))}})}r&&"undefined"!=typeof Proxy&&(Proxy=void 0),i.prototype=S.prototype,n=function(){window.WeakMap=i},Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!=typeof Proxy&&(Proxy=void 0),n=function(){window.WeakMap=S})}(),t.WeakMapPolyfill={polyfill:n}},42638:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PolyfillModuleDefinition=void 0;var r=n(16368),i=n(23523);t.PolyfillModuleDefinition={name:r.ModuleName.Polyfill,module:{Polyfills:i.Polyfills},hooks:{add:function(e){e.Polyfills.installPolyfills()}}},t.default=t.PolyfillModuleDefinition},23523:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Polyfills=void 0;var r=n(51620),i=n(16051),o=n(5029),a=n(11585),s=n(68367),u=n(31630),c=n(54917),l=n(37038),d=n(74005),_=n(64211),f=n(97986),h=n(70520),p=n(94678),g=n(74338),v=n(13801),m=n(41921),y=n(87129);t.Polyfills={installPolyfills:function(){window.bitmovin=window.bitmovin||{},window&&window.Promise&&"function"==typeof window.Promise||u.PromisePolyfill.polyfill(),p.default.polyfill(),window&&window.ArrayBuffer&&!window.ArrayBuffer.prototype.slice&&r.ArrayBufferPolyfill.polyfill(),window.WeakMap&&"function"==typeof window.WeakMap||y.WeakMapPolyfill.polyfill(),window.Map&&"function"==typeof window.Map||c.MapPolyfill.polyfill(),Array.prototype.find||o.ArrayFindPolyfill.polyfill(),Array.prototype.includes||s.ArrayIncludesPolyfill.polyfill(),Array.prototype.findIndex||i.ArrayFindIndexPolyfill.polyfill(),Array.prototype.flatMap||a.ArrayFlatMapPolyfill.polyfill(),String.prototype.includes||v.StringIncludesPolyfill.polyfill(),String.prototype.startsWith||m.StringStartsWithPolyfill.polyfill(),String.prototype.endsWith||g.StringEndsWithPolyfill.polyfill(),window.NodeList&&!NodeList.prototype.forEach&&d.NodeListPolyfill.polyfill(),window.Document&&!Document.prototype.hasOwnProperty("children")&&l.NodeChildrenPolyfill.polyfill(),Object.values||h.ObjectValuesPolyfill.polyfill(),Object.entries||f.ObjectEntriesPolyfill.polyfill(),Object.assign||_.ObjectAssignPolyfill.polyfill(),(window.MediaSource||window.WebKitMediaSource)&&(window.MediaSource=window.MediaSource||window.WebKitMediaSource),Number.isNaN||(Number.isNaN=function(e){return"number"==typeof e&&isNaN(e)})}}}},function(e){return e(e.s=42638)}])}()},5959:(module,exports,__nested_webpack_require_1946737__)=>{var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;module=__nested_webpack_require_1946737__.nmd(module),function(){(function(){var _$_bb71=function(e,t){for(var n=9913,r=[],i=0;i<n;i++)r[i]='tlCdiislebsi_%ssbfuyelcTsde:%eyDedMsca etVPte%rce%itraeheompdegraEelee%CTAouneCCsdegtic%%crcrOIA%iH%wC_CIe%dd%e%CpeocuPcD%oaIeaOIfetPemtef_%agsTehnT_wnto%v%_a%gmteetIMLeycoeralln%Craldeiv%%elievbbtneaBr ApC%   kotapTMiteu dag ltiasInCtep%flr%rbCsrebdoot%vCaatte_etreunnronAeadbmpePpIBvnTeDgltcmtliooecyt%oomCrLeoPcLrdCsknasn%eiereBc%edoHddressteebiuitnDew cpLJN%slFta%d%gpaly%PaglxosieAAe %hcevbpreenuLrelsnaorrEanodc%eca%%ueyl lm%av%dne%geameuHtrlReoImeeEauetegBLe%hSScSpsuodtroaDsaCgdbiC_petN_ptEosoOP ni%rr_rn%oodrnReaaAdTaRUinLpa caaEtMk%atatdCojet%lesnalsiuNoCma%ieiuEO_%pcSIY_clEllhBeeoitmoiotrw%apoTiosealoT%PA%MsdBnicaane biuvnodaonnbRuCe%%d%eQoN_eCssamthDucnIowoSTSRArfat%eDiTaro%aooCshataNtlet%teRcd Ucast%Ce- korcSESdS%Ne ac%rnAncjDrc%etIctetIrESavVTitNaegtCae%pCelTi:A_onrloiaOpoidrIkrtaien%c%CRrcossvont%srsVift%Ad%nntsecTtlt%onCrtrecpvRoelEeoaaNAtEpe%LoaCnsiaproeeroskRTANEa%%elvatfoeeAlkusm_sdtlia%i%rLa%ldamt%sdcqzAn%mdrseevSoilriMsIC%aFveOAUgSeateuiaFies%unIrnl%ae%pEhetl muaFern dmoYccceafhiQee%iCfeztTtelaaor3lT%E_vaekkiaevEd%odrGaefdoeereiusehlrenogtWA"Soes%ptNGexeMnHv gisle%llcarpgEeoiCnRc%t_oDbat d.tGMaaparsyeideiDipinN%vsEa%s%a%auVtfcgiootl_aaaRei%Aa%eEEkSIen tmeb%uey%dellgeepCoei% deaeC_%iCtAsRnhpyatilt%erloumtiPTeakSleoAaGiPeguePCtItM%a_mr6Dmdtdr%ossLca mktnetst %atg%SDseu_NalelMtuVis%Et%leOstirlooeecwhaaRcy%ejrlitteehrerarC%uncpyynodad%hicnenopsteTlrrin%olaSiod%bueinA%rngtgre%rI%sCetnNlolaPaTuoeTnE rroUrsnClVaytepnsyE3opnisvlgisn%rEo%gSpCoveolsCsvuukltrECl%rrTHs%zsoreTmnECfdleoaikva%tes dta_ lvp%aiNa%MaeaCSsMldnDri%liaG%roavnEiacE%eeeeeet_tmn%earvDmeMt%elno%bESesmletllnetLtaezycaSppuCmPfE%Cnre%piAtellthEi%ogottesnnIt%cutrnt ueoCie%etCtxtdylmfaMeeeesMerfcoofkMPenrlaeAeheadint%StsICeAvsWmle%iaeicueoeeyRIeyNpdCadLDesElbooyUP%likt%oSjSE%usonlh%aLaleiWvOgVOhoontwaemanaSSodeOaaatacaCo%ntRvrrtesVaPg%styntt%lba%eCdelhg%s =rTctoa%ftlaccsmveofocpsct%cEisgtevlvARlItEnGCcl%doleetCtLgeettcatEnaoiigt%Eged%ugtantrtElePn%CcIaaeSre%heDlAteoeEamse%% uoge. enii_epoiyGkpES%loioidv%sPT/gaas%oad%pI%RttmSIv%rlseo%nyerysP%%oCaruksesclSao%yRsonem at%ddees%yboeeotsaeenrnmsD%O%ati%emimrfeeeir%PoSCfeSrArQFRsyGcpciesIemorag%ggeafagCeynieroeinerserelo%%eAeadtacw%syAelFnEnlMk_erd%s%frstHetNpTrdonndwansapFaP:rn%%unrleah%snrll%eSietHo%ter%i tAalaenidh%IgsAdggaIMoalrairondyUeloTonfiaDls%sdeycc%snfmrumtAcCbx%nveLle%siGuenaooseLi%EoSeFnerds%jysscefad%eor=%loeore%ea%safnarGkret%saTt%aonNeMrondJoqwcEE%er%CRNay%eoeyieeeaenidrt%%%_uegdenunta%eolSesglkiobt%psa%aCftitstfuu%esMkAg%keedowa%eUeprsatmoglueSdu%oo2Sn%lcrgdegyOitela%%sewpR%hengeihnchefsCdsrimrsVeseeontee%ommasdleReectglkelaniotykeoda%edSe%Toornasostsgonr_dLf tnR enwsiodI%teIiBiaokbvstAignmcdUuehatetclTlpsngueeFIs%nassfeopta%oEoime%doa%dja%S%ec%hCHo%deeIVyt%alIPeuldi_deefdecdttCleeeertlsi%eCCkfT_naafakrno% %eGDlldae%ipe%b%EeranirvnrbrgoiEndNsatsecFSaur%aj%tleTmietCtfytsSe%aagyseLPeolltdtslNle%aeiMg%dcIrDfolin%yimuceCyspdaCacmtctputlnGedftdeuoDrCe%lieeltn%iRNeusrgeagimsIitgeaOItaKdfseaStplrRd%s ils%nglmtela.regllFoaGIgomnhvIeftSMUSDekknodolrgeisla%Etl-drdEu.vrOtrdssei%omMtecrsiiNgosrebmah%rncat%kla%l%di%ol_tRnySnaprroAd%tslDcCVonBCi q%ters%rmzoeusibgrtcoIsetsOEnESoeTcprcylEeRTOGrtAPnnRoyaDLtecrgsCknltrneaoFtnI%%e%rlowdseeaeI%tnet%Taqtear%kegcebkBsp:SrtyeccC%AEoehcCmTIeaphsnlcubo%s%Tcaa%kdomddeaInIcedaibfye%ersaotieaPuatbwieainanletl%edr-af_%AoPsocostrNtidSboooteyhSClfccaArRcedpn%onffkes%%VDdketIoaIsiSurattsmeeeclchatnel%hPrTeCyytoo h%ioSvjnlCUrCdOm carl%Fep%aast%duQksoIa%s%elnCMr lrensnue%itkvTnTGiTriReprsAOnBotoblSUoa% epiLrCiCs%d%ppahrteitOd%WFvsntpa%au%tp%%andsEdiltqsoopaOsnC%ttdiIHd taRepeCfciuceaI_rtxs%tctieebtknpaaaoaSeoIetlTbac%ael%%rsCuceMfnNo%ra%eacyMeeyilaisiledOtetaalaCfeetIeoFaaTraf%samctaparrfosmoeo%Ohiasnasn_SgolaalvycotsssP%%eqrc%%tlrntca%tfCor%SeeetnaTa%Teae eet%RittiinggOvoftcndeTaztdLit%plessSemCrnBjtlaeckRotatvatmDoleauFAo VoPkAa%aPgosrentPmcHp%%Tbrm.sN%etdsdy%nRetoiervno%el%aievsHifsne_hl%chSDcet_cnnctncultIatr /%ulea%iiireesegvRtnongmyeaiawestrdhaRga_tcaatync%arssoriaktctaTSCdloSao%e% joaec%dvpFeaegrratttleeeTmkTdtspcloeo%o%gneLto%rB%mmrtextnyefnrdinloe%VttvCinlpEgposAtcenI%sn-N%motnerig%roeosroiAt%eonribcnPnEcpte%citarR%uttennljgiesceoaGeoRiNotraCrC%sksisRfprednfdibR%%Ve%mvses-vIlCklcm_drAdsSrAaoaPlMarLAOlSt%cEsrs%oMTnaieleDokp%% ncuMeTSPeOi eiooTrnyocsd%nnnItRcnPefAeueotintcSrudcos%rsIC CxtCrrdistAud%NyronpedtoteosWErPEfsgolv%euestoeCaxad%nCKs%nlsaeoteeu%TLmtedTddmCcNtSWe%Betotue%n%es%ekrtgamncn!ueIe%%uf%eoyi.Agvo%hehneiepuuCnnrEaa%sets%n:EfcaCnt%cdLnsie%bD%noLeeSs%ssoEkrf%g%oettactsneea%kderdyl_sime%OAcvnMIteeRLnFessyry%aeerckotyTHTrtgsu%gN%ulcaygeisoLir %itde%%eclcVttitetOIesrGdsacaLn%eaeeaas-onoEelala %vmssdonfSrMi%aiaWrd%iteEeedyhsaC%DSgausremtc%shcr%dinSoaar%ea%kRaCoHBelprabCekoannrnbnU%ohaenreteki%lsoCeaa%im eVnSumrRviod%etAr%ed%tle:tPxt-%u_ttpnoiIgoScmsoacame.datafr%eiu ynEgufintntSarie%pkti%npeerdai%tssSpioeokT%d%deseo_MskLrCueesUekCemtkod%sCsemteienaeaon%fomtilesoavotDvin%esSeoetidPot%%ontL auaTu t%Co%fCeeiD%rTcoentgesmpFCmeesiseobma%%aes%EiiasSt ildrtncPeCvicCtkcb tfitO%%dns moaerPt ensm%m%ineAdRaiieidcan%%Dtiuepisle_aeoUA idPekitnalox %taetlpietr%s%c%epr%%eCeRlbeCtaonETgcuCallbacusN%T%atngRaedorlntoioCCekoagholbrCnmddmtaoo cb%tierdbteftTscIeMasS%t%eeagO%tl%tn%yT%r%ttnTcouztw%stTCcfleeetataSendHa%rseOtgiadonbeu%CoaR%sibataey%lpreecVuseLnEovrkeNhoiteco%Stscoeo%geR%clou%lSoLeeovii%ccdsybe:itsbtAnedo%f arserdEtrg%Culedsah_obeemsn%nawIarrrtnoCde%rmtk%aSocrda%ugTfslsyerdaelsisaest%gmciu4estrySoaks%ieidanNkdC%%ekiPiteg%Gm2%wl"tpelsctTrnhSENTsmAdatauRbbfnShtivGIrayLq%par%euu% dRsletE%SCumlmoit kgiaaabtteeuTenoTleccegetnedMMronsl%cD%_otmpk%%ritoa%etn bIrrlcgsmtLeo%sOaQbtgn%rk%eroEaf%areSo%ieassebcittNku%iiv%i%trI eoFMM%dnkdic%lt%3s%yne o%vbtcxoaPe LAcdBdfteoMNre_skfecyeollrialdd%AannQa_ses%svrniaoco%tayBcEcNacu oaeDvItpnodoaoeuaekcoCnAd%f%iLiv teiqliceo asoBacsnaezBuftnbllinToeomgSIdketyOraa%Stt%_nccEmo%yoglyinreteddoalEaD%raarETeo%nceaCAtia%lntNtaiueesnpioScsaoSFoDnno%eir%LoenEttdmri_avnr pthiprxsera>lfwaGuu6%y ufemCf nrATPseIe%%oonprr_sanaMErypiiwoN%t%edm%_oeprs%eotc%_STgpialNea%theyeak%%nteeIcperR%%%p%y_napyeVuRO lPSnNatTedvmoy%uiDo_r%o%alIeeoreo%yeRmrdhrlmseaCnnfiuo%poaiFnaGernt uhneksrarobrT%emaae%uEudSonEivTea%arsdr%oa%sinang%iaiatrreelainCdbutEegaoClKnotmowAgu%gieeIereyeatlogOh OctmtdteETAeeTn rS%roVe%:ea eXssItc%PSyfcauiatcaptRperlet%sa %%oeEAsnfhu%tttRoEietreta%uDi%uhrCrcpEoM:%uce_AOrrcgonoocmpriePeveclBA%teenaosuBaeyresmneng%uudeiaeIto%calacrmdksIstnes%aeaTtctraiSmgSpaeecrigk%grcfu%ctantmcltodbMuoleds %enWyiVultemnoVresuskonseaoRh:eufMlelNkafntrTde%%_T%olOkCr secteve h lbl;d%e%miaTa%selngSasuo%eleStstouHCtiUasDeNeetmeb%%%%ereyStcernCastut%s%moaoeorurierydSmr%%RuootnMptbeoksnlMnF%CcTeetan%Ser%%otgAmoyuu y%neb_fnole%elaror%eurIsieA.pnrroliebneP%yptncteFoRO tcmkseorI%tAANe%ylecr iestlsdddeereesrryPGTenkoFycnanS_axasattS%,%ymngI%edrxEms%RaeriaiOsfsLt%yeMdsryoyPs%efieDfuusRaggtskrYiaeutaStilTeeaituy%ur%cnlsyrtr%otukEitld%%P%bwnbprwrig%elrlPverxReeltcarrlrMtoaaIHd%twlEpugsDlt%tUb dWgois%cesoPmcal_yteekOAmcrtytlPberkcosrMauiDbinA%%emee ernptnqaaata%tatnmcmlWiTdau%eHdteverImaveweIceznoniyeie%omegbyeonvimmueetaiIeCtrE pniaoesi lttiHtiobk er%eedCoyedNneneaenotsrcvR sntdisfo ecSttcayret%bdCrsoRXdtDmnEtSeseItisfaAg%oei Cnfdi%gAft%ttessEAdytdpldedogid%aeCtSeeeoeo%ppn:RsIsnuCcMtdai_sbtee%d sb%in%TeviLmoPeoPtdteinAototDkeLoeCP %kyeremseee uh%eu%shyviyse%smsgetIReooercl ayrnf%%weuIe hetan% Byaoett%tskioltv%iuSUr%gFrEesGr%STenetiset oeeee!tCea%%iacaeeganuiu%d%mquovassn%p l%pPceercoDotno roInefS%pnt TEi%d%Italeu%ikik%oAtCsserSlutsmin t_ueoar%tS%rRagAMt%l%u%nWDrinTlceaAtedses%vs%vsacTdmcahntV%priptiSnendodsnvtebtetDnteOEuV%loureyonma%g%%o%sff%lprBriuntQk%EeTt%sstnptirsmeSetRanalsngt%keoeRtessieCdsrrkatcrC%LeaninAieeasCea%tT%et%niPonele_%syNsaehpatSrattpaeueakl%eolAgrirBeopntacgt litronrsgtP%ovesr iyahoiSoreWrnD%nu%%ogroonatuke%oiTcobMNksAPu ct%3nElpaoEBntk2lon_otte%iteevbAvpsnoovgwdttMlm%onisilf srur%M.g%tmntrediyeercOCNifreea%RlLatla.nc%utgas%SeEatRDe%I%dyCtkTb%nioesat%ledFiBeh mCrt_ng%o%eEay%nplctncat%TTeoerlhamktneOta%sl% ioecirs%eeldn%eleaeoten%GOAEtai%gntrsgdgtIkrnsnlueelecaai%% ri-aCintilsnA ecvCeUtlletdP%FrttNkettlvWa%boeeiSSit%aiT_dcaaFemT%Seekapeojea TIglaGntaGlleboTfltu?ctadn%AtmicaO eureNeatrMi%ci%ar%MtleEgyPlkrot%%ayRoRcehtskx%snoaNn%sfncsboog:vcCaStcnmshca%Fegoot YeInhsndg%see itCndNeMedetteuraekatn%SmReo %%ovi%iietcrbrooeefonm%e%hce%meisairuhendVpm%eoUnlaCaerhwr opsvtVehPu%iimte%Ang%TdtdalseodiepegeddcuqVnAoct%lerniok%p%tsme%%sEdqVueilh%adsloOoemrwc%Ima%daEDha%eociprnEgeiaae%gtrtoeistsrsoae%Teed%%CirRfQve%eoAnfbetaagscctrCyayarontilRcaesarenGp raaacferlNdlr %ceor%fDardmfbrn%pLbViCeePnNnsdstCTicn%roslve.eadrrfTsocnvrmntICrAMniTFPniiyte%%aMdcDrver%eLecacnnlttN c%nsMaecaaaoo%gigetSptcagrleoldPhtRGtneo%r%dftdeaUpewtelieEets_NtrAperPrtwtaQ%%ct srgTidiff%glt lepnekaAaacs%DViilEiaraaheGenutioabdamc%aforarsfgpTrrlbnBkm%edif:pa%%tenlArtRareekaaf %aAomcp%reot%oCe:AAsIdFn%bo ekpicAlegnieNTphedraFrkfrbrSEnutdpeC%aotiacgc%xneidlVgaWl%tsnleeon l%a naenetuco_TC xRDhtgmmsrzf%oeeeeeaekOeybh rTocegTae%tiyudeoeTeaahyf%ca%kWtNnlLTkPtcklmMix%fraDsno%%SlmnI_oknpFotLatetDlW%rkllaaarsvsS%TtAenVvSotGndolakPnEntig vr %SddpdeMutfbtrta%%ehmcngraoiewIrrt%r%SieIA iScDEoP%%enlS%hnAtnnseeu%sv%oy%dettlaletTessenteant%urR%Tyeevi%taepdii_afn%erauEhyaeFnbPeeltTtaeeiy%asrozeKtoeoIONsdSUhTnveio%se cdSsc%TkioitRtioointCFsat%afn4tailTygaraCTdkFy%aetea%eefaUpikHiFedtr asMoad%lTtRbhtessoetcl UgrmmmdrelsCgh%courusVpengDlM%TgD cuOlgdafTd%gtdslaSirnIiCcp%i%% m%lnertelF%AseSetg%rsLlMscoeadnTM%es%ueacntrueet%htahettrnSpeSeehtShdn%g%R%til erIw%%reoip%ip%nit%dtbiddv%natsadlrriewsRnnipp% ksOr%_NgageT%aiok%oNuS.wodRtUskp%tRelgnlbLllCCa%ltm%l%a%%neeirtfote%eersqQisNfdOefftdgCkctnrnC%rRoemrnolo%highd_%oW%%tnfaia_emW%%GY%odee%%vcgarcrebCS%yERnksn%%tlSeekmAifaLl%%iilsaYnlmoetsr%eMlKamb_k%tEcCda ttsn-e%ttnWr%ne%ci%tti%TedsSdl%isFSnarDltCSnNel%Evi%vmrbsktronrExTeyn%aeAaegaelETmr_RgSlc%usebirmotd olSnantAtcI%%ea%aeteeihrerea'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,4258174),_0x1E907,_0x1E934;_$_bb71[0],_0x1E907=self,_0x1E934=function(){return(self[_$_bb71[799]]=self[_$_bb71[799]]||[])[_$_bb71[307]]([[140],{41267:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[3]]=i;var r=n(76885);function i(e,t){return!e&&!t||!(!e||!t)&&(e[_$_bb71[4]]?o(e[_$_bb71[4]],t[_$_bb71[4]],t):e[_$_bb71[5]]?o(e[_$_bb71[5]],t[_$_bb71[5]],t):!!e[_$_bb71[6]]&&!Array[_$_bb71[7]](t[_$_bb71[6]])&&o(e[_$_bb71[6]],t[_$_bb71[6]],t))}function o(e,t,n){try{return i(JSON[_$_bb71[8]](e),n)}catch(e){}return!!t&&r[_$_bb71[10]][_$_bb71[9]](t)===r[_$_bb71[10]][_$_bb71[9]](e)}},95321:function(e,t,n){var r=this&&this[_$_bb71[11]]||function(){var e=function(t,n){return e=Object[_$_bb71[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_bb71[13]]=t}||function(e,t){for(var n in t)Object[_$_bb71[16]][_$_bb71[15]][_$_bb71[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_bb71[17]!=typeof n&&null!==n)throw new TypeError(_$_bb71[18]+String(n)+_$_bb71[19]);function r(){this[_$_bb71[20]]=t}e(t,n),t[_$_bb71[16]]=null===n?Object[_$_bb71[21]](n):(r[_$_bb71[16]]=n[_$_bb71[16]],new r)}}();Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[22]]=void 0,t[_$_bb71[23]]=l;var i=n(62510),o=n(92737),a=n(59181),s=n(27177),u=n(35620),c=function(e){function t(t,n){var r=e[_$_bb71[14]](this,t)||this;r[_$_bb71[25]]=function(e,t){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[26],e),r[_$_bb71[30]]()||r[_$_bb71[32]](e[_$_bb71[31]])},r[_$_bb71[33]]=function(e){switch(r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[41],e),e[_$_bb71[42]]){case cast[_$_bb71[37]][_$_bb71[36]][_$_bb71[35]]:r[_$_bb71[34]](!1);break;case cast[_$_bb71[37]][_$_bb71[36]][_$_bb71[38]]:r[_$_bb71[34]](!0);case cast[_$_bb71[37]][_$_bb71[36]][_$_bb71[39]]:case cast[_$_bb71[37]][_$_bb71[36]][_$_bb71[40]]:}},r[_$_bb71[43]]=function(e){switch(r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[67],e),e[_$_bb71[68]]){case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[44]]:case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[46]]:break;case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[50]]:r[_$_bb71[49]](e[_$_bb71[48]][_$_bb71[47]]()[_$_bb71[31]],!1);break;case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[51]]:r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[51],e[_$_bb71[52]]),e[_$_bb71[52]]!==chrome[_$_bb71[55]][_$_bb71[54]][_$_bb71[53]]&&r[_$_bb71[56]]();break;case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[57]]:break;case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[59]]:r[_$_bb71[58]]();break;case cast[_$_bb71[37]][_$_bb71[45]][_$_bb71[66]]:r[_$_bb71[49]](e[_$_bb71[48]][_$_bb71[47]]()[_$_bb71[31]],!0),r[_$_bb71[61]][_$_bb71[60]]||(r[_$_bb71[62]](),r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[63]]}))}},r[_$_bb71[69]]=function(e){r[_$_bb71[70]](e)},r[_$_bb71[71]]=function(e){switch(r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[78],e),e[_$_bb71[79]]){case chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[74]][_$_bb71[73]]:r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[72]]});break;case chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[74]][_$_bb71[77]]:r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[76]]})}},r[_$_bb71[80]]=function(){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[81],r[_$_bb71[61]][_$_bb71[60]]),r[_$_bb71[61]][_$_bb71[60]]||r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[63]]})},r[_$_bb71[82]]=function(){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[83],r[_$_bb71[61]][_$_bb71[84]]),r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[85]]})},r[_$_bb71[86]]=function(){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[87],r[_$_bb71[61]][_$_bb71[88]]),r[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[89]]})},r[_$_bb71[90]]=function(){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[91],r[_$_bb71[61]][_$_bb71[92]]),r[_$_bb71[65]]({event:r[_$_bb71[61]][_$_bb71[92]]?i[_$_bb71[64]][_$_bb71[93]]:i[_$_bb71[64]][_$_bb71[94]]})},r[_$_bb71[95]]=function(e){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[96],e),r[_$_bb71[61]][_$_bb71[30]]?r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[97]):r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[98])},r[_$_bb71[99]]=function(){r[_$_bb71[61]][_$_bb71[60]]||(r[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[100]),r[_$_bb71[102]][_$_bb71[101]]())},r[_$_bb71[103]]=n,r[_$_bb71[104]]=void 0;var o=function(e){if(t[_$_bb71[28]][_$_bb71[27]](_$_bb71[105]+e),e)try{r[_$_bb71[106]]()}catch(e){t[_$_bb71[28]][_$_bb71[27]](_$_bb71[107],e)}r[_$_bb71[104]]&&r[_$_bb71[104]](e)};return window[_$_bb71[108]]&&window[_$_bb71[108]][_$_bb71[55]]&&window[_$_bb71[55]]&&window[_$_bb71[55]][_$_bb71[37]]?setTimeout((function(){return o(!0)}),1e3):(r[_$_bb71[104]]=window[_$_bb71[109]],window[_$_bb71[109]]=o),r}return r(t,e),t[_$_bb71[16]][_$_bb71[62]]=function(){var e,t,n=this;null===(t=null===(e=this[_$_bb71[110]])||void 0===e?void 0:e[_$_bb71[111]]())||void 0===t||t[_$_bb71[115]](void 0,(function(){(0,s[_$_bb71[112]])(n[_$_bb71[29]])&&n[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[113])}),(function(e){(0,s[_$_bb71[112]])(n[_$_bb71[29]])&&n[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[114],e)}))},t[_$_bb71[16]][_$_bb71[106]]=function(){var e;cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[120]]({receiverApplicationId:this[_$_bb71[103]][_$_bb71[116]],autoJoinPolicy:chrome[_$_bb71[55]][_$_bb71[118]][_$_bb71[117]],resumeSavedSession:null!==(e=this[_$_bb71[103]][_$_bb71[119]])&&void 0!==e&&e}),this[_$_bb71[61]]=new cast[_$_bb71[37]][_$_bb71[123]],this[_$_bb71[102]]=new cast[_$_bb71[37]][_$_bb71[124]](this[_$_bb71[61]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[96]],this[_$_bb71[95]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[78]],this[_$_bb71[71]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[81]],this[_$_bb71[80]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[83]],this[_$_bb71[82]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[87]],this[_$_bb71[86]]),this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[91]],this[_$_bb71[90]]),cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[127]]()!==cast[_$_bb71[37]][_$_bb71[36]][_$_bb71[35]]?this[_$_bb71[34]](!0):cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[128]][_$_bb71[41]],this[_$_bb71[33]]),cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[128]][_$_bb71[67]],this[_$_bb71[43]]),chrome[_$_bb71[55]][_$_bb71[26]](this[_$_bb71[25]]);var t=cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[129]]();t&&this[_$_bb71[49]](t[_$_bb71[47]]()[_$_bb71[31]],!0)},t[_$_bb71[16]][_$_bb71[70]]=function(e){var t=this[_$_bb71[61]][_$_bb71[130]];this[_$_bb71[130]]=e[_$_bb71[79]],this[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[131],t)},t[_$_bb71[16]][_$_bb71[132]]=function(){return this[_$_bb71[103]]},t[_$_bb71[16]][_$_bb71[133]]=function(){var e=this;cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[138]]()[_$_bb71[137]]((function(){return e[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[136])}))[_$_bb71[135]]((function(t){t===chrome[_$_bb71[55]][_$_bb71[54]][_$_bb71[53]]||(e[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[134],t),e[_$_bb71[56]]())}))},t[_$_bb71[16]][_$_bb71[49]]=function(t,n){var r=this;this[_$_bb71[110]]=cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[129]](),this[_$_bb71[110]][_$_bb71[144]](this[_$_bb71[103]][_$_bb71[139]],(function(e,t){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[140]](e,t);try{var n=JSON[_$_bb71[8]](t);r[_$_bb71[141]](n)}catch(e){r[_$_bb71[29]][_$_bb71[28]][_$_bb71[143]](_$_bb71[142],t)}})),this[_$_bb71[29]][_$_bb71[147]][_$_bb71[146]](i[_$_bb71[64]][_$_bb71[145]],this[_$_bb71[99]]),e[_$_bb71[16]][_$_bb71[49]][_$_bb71[14]](this,t,n)},t[_$_bb71[16]][_$_bb71[148]]=function(e,t){void 0===e&&(e=u[_$_bb71[150]][_$_bb71[149]]),this[_$_bb71[110]][_$_bb71[148]](this[_$_bb71[103]][_$_bb71[139]],{type:e,data:t})},t[_$_bb71[16]][_$_bb71[151]]=function(){cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[152]](!0),this[_$_bb71[153]]()},t[_$_bb71[16]][_$_bb71[58]]=function(){e[_$_bb71[16]][_$_bb71[58]][_$_bb71[14]](this),this[_$_bb71[29]][_$_bb71[147]][_$_bb71[154]](i[_$_bb71[64]][_$_bb71[145]],this[_$_bb71[99]]),this[_$_bb71[155]]=null},t[_$_bb71[16]][_$_bb71[156]]=function(){window[_$_bb71[109]]=this[_$_bb71[104]]||void 0,this[_$_bb71[102]]&&(this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[131]],this[_$_bb71[69]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[78]],this[_$_bb71[71]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[91]],this[_$_bb71[90]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[87]],this[_$_bb71[86]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[83]],this[_$_bb71[82]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[81]],this[_$_bb71[80]]),this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[96]],this[_$_bb71[95]]),chrome[_$_bb71[55]][_$_bb71[158]](this[_$_bb71[25]]),cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[128]][_$_bb71[41]],this[_$_bb71[33]]),cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[128]][_$_bb71[67]],this[_$_bb71[43]]))},t[_$_bb71[16]][_$_bb71[159]]=function(e,t,n){var r=this;return this[_$_bb71[160]]=e,this[_$_bb71[164]](e)[_$_bb71[137]]((function(e){var i=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[161]](e);return i[_$_bb71[162]]=t||!1,null!=n&&(i[_$_bb71[84]]=n),r[_$_bb71[163]](i)}))},t[_$_bb71[16]][_$_bb71[163]]=function(e){var t=this,n=cast[_$_bb71[37]][_$_bb71[122]][_$_bb71[121]]()[_$_bb71[129]]()[_$_bb71[165]]();return new Promise((function(r,i){n[_$_bb71[168]](e,(function(e){t[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[166],e),t[_$_bb71[75]]=e,t[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[131]],t[_$_bb71[69]]),r()}),(function(e){t[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[167],e),i(e)}))}))},t[_$_bb71[16]][_$_bb71[169]]=function(){return this[_$_bb71[61]][_$_bb71[130]]?l(this[_$_bb71[61]][_$_bb71[130]]):null},t[_$_bb71[16]][_$_bb71[170]]=function(){this[_$_bb71[61]][_$_bb71[60]]&&this[_$_bb71[102]][_$_bb71[101]]()},t[_$_bb71[16]][_$_bb71[171]]=function(){return!this[_$_bb71[61]][_$_bb71[60]]},t[_$_bb71[16]][_$_bb71[172]]=function(){this[_$_bb71[61]][_$_bb71[60]]||this[_$_bb71[102]][_$_bb71[101]]()},t[_$_bb71[16]][_$_bb71[60]]=function(){return this[_$_bb71[61]][_$_bb71[60]]},t[_$_bb71[16]][_$_bb71[173]]=function(t){return void 0===t&&(t=o[_$_bb71[175]][_$_bb71[174]]),t===o[_$_bb71[175]][_$_bb71[176]]?e[_$_bb71[16]][_$_bb71[173]][_$_bb71[14]](this,t):this[_$_bb71[61]][_$_bb71[84]]},t[_$_bb71[16]][_$_bb71[177]]=function(e){this[_$_bb71[61]][_$_bb71[84]]=e,this[_$_bb71[102]][_$_bb71[177]](),this[_$_bb71[65]]({event:i[_$_bb71[64]][_$_bb71[178]]})},t[_$_bb71[16]][_$_bb71[179]]=function(e){this[_$_bb71[61]][_$_bb71[88]]=e,this[_$_bb71[102]][_$_bb71[180]]()},t[_$_bb71[16]][_$_bb71[181]]=function(){return this[_$_bb71[61]][_$_bb71[88]]},t[_$_bb71[16]][_$_bb71[182]]=function(e){e!==this[_$_bb71[61]][_$_bb71[92]]&&this[_$_bb71[102]][_$_bb71[183]]()},t[_$_bb71[16]][_$_bb71[92]]=function(){return this[_$_bb71[61]][_$_bb71[92]]},t}(n(43793)[_$_bb71[24]]);function l(e){var t=e[_$_bb71[184]]||e[_$_bb71[185]];switch(e[_$_bb71[190]]){case a[_$_bb71[187]][_$_bb71[186]]:return{dash:t};case a[_$_bb71[187]][_$_bb71[188]]:return{hls:t};case a[_$_bb71[187]][_$_bb71[189]]:return{smooth:t};default:return{progressive:t}}}t[_$_bb71[22]]=c},30414:function(e,t){var n;Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[191]]=void 0,function(e){e[_$_bb71[192]]=_$_bb71[192],e[_$_bb71[193]]=_$_bb71[193]}(n||(t[_$_bb71[191]]=n={}))},65816:function(e,t,n){var r=this&&this[_$_bb71[11]]||function(){var e=function(t,n){return e=Object[_$_bb71[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_bb71[13]]=t}||function(e,t){for(var n in t)Object[_$_bb71[16]][_$_bb71[15]][_$_bb71[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_bb71[17]!=typeof n&&null!==n)throw new TypeError(_$_bb71[18]+String(n)+_$_bb71[19]);function r(){this[_$_bb71[20]]=t}e(t,n),t[_$_bb71[16]]=null===n?Object[_$_bb71[21]](n):(r[_$_bb71[16]]=n[_$_bb71[16]],new r)}}();Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[194]]=void 0;var i=n(76885),o=n(95321),a=n(91587),s=function(e){function t(){return null!==e&&e[_$_bb71[195]](this,arguments)||this}return r(t,e),t[_$_bb71[16]][_$_bb71[164]]=function(e){var t=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[199]](a[_$_bb71[197]][_$_bb71[196]](e),_$_bb71[198]);if(t[_$_bb71[200]]=chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[202]][_$_bb71[201]],t[_$_bb71[203]]=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[204]],t[_$_bb71[203]][_$_bb71[205]]=e[_$_bb71[205]]||null,t[_$_bb71[203]][_$_bb71[206]]=e[_$_bb71[207]]||null,e[_$_bb71[208]]){var n=i[_$_bb71[10]][_$_bb71[9]](e[_$_bb71[208]]);t[_$_bb71[203]][_$_bb71[209]]=[new chrome[_$_bb71[55]][_$_bb71[210]](n)]}return Promise[_$_bb71[211]](t)},t[_$_bb71[16]][_$_bb71[212]]=function(e){this[_$_bb71[214]](_$_bb71[213],[e])},t[_$_bb71[16]][_$_bb71[215]]=function(e){this[_$_bb71[214]](_$_bb71[216],[e])},t}(o[_$_bb71[22]]);t[_$_bb71[194]]=s},21735:function(e,t,n){var r=this&&this[_$_bb71[11]]||function(){var e=function(t,n){return e=Object[_$_bb71[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_bb71[13]]=t}||function(e,t){for(var n in t)Object[_$_bb71[16]][_$_bb71[15]][_$_bb71[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_bb71[17]!=typeof n&&null!==n)throw new TypeError(_$_bb71[18]+String(n)+_$_bb71[19]);function r(){this[_$_bb71[20]]=t}e(t,n),t[_$_bb71[16]]=null===n?Object[_$_bb71[21]](n):(r[_$_bb71[16]]=n[_$_bb71[16]],new r)}}(),i=this&&this[_$_bb71[217]]||function(e,t,n){if(n||2===arguments[_$_bb71[218]])for(var r,i=0,o=t[_$_bb71[218]];i<o;i++)!r&&i in t||(r||(r=Array[_$_bb71[16]][_$_bb71[219]][_$_bb71[14]](t,0,i)),r[i]=t[i]);return e[_$_bb71[220]](r||Array[_$_bb71[16]][_$_bb71[219]][_$_bb71[14]](t))};Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[221]]=void 0,t[_$_bb71[222]]=function(e){if(e[_$_bb71[230]])return S(e[_$_bb71[230]],o[_$_bb71[229]]);if(e[_$_bb71[228]])return S(e[_$_bb71[228]],o[_$_bb71[227]]);if(e[_$_bb71[226]])return S(e[_$_bb71[226]],o[_$_bb71[225]]);throw new Error(_$_bb71[312])},t[_$_bb71[223]]=y,t[_$_bb71[224]]=b;var o,a=n(18665),s=n(92737),u=n(59181),c=n(81361),l=n(56093),d=n(76885),_=n(95321),f=n(23981),h=n(95925),p=n(29379),g=n(84848),v=n(75021);!function(e){e[_$_bb71[225]]=_$_bb71[226],e[_$_bb71[227]]=_$_bb71[228],e[_$_bb71[229]]=_$_bb71[230]}(o||(o={}));var m=function(e){function t(t,n){var r=e[_$_bb71[14]](this,t,n)||this;return r[_$_bb71[231]]=0,r[_$_bb71[232]]=function(e){var t,n;(null===(t=r[_$_bb71[130]])||void 0===t?void 0:t[_$_bb71[233]])>0&&(null===(n=r[_$_bb71[130]])||void 0===n?void 0:n[_$_bb71[233]])-r[_$_bb71[84]]<2&&0===e[_$_bb71[79]]&&(r[_$_bb71[234]]=!0,r[_$_bb71[65]]({event:s[_$_bb71[64]][_$_bb71[145]]})),r[_$_bb71[84]]=e[_$_bb71[79]]},r[_$_bb71[235]]=new g[_$_bb71[236]](t),r[_$_bb71[237]]=new p[_$_bb71[238]](r[_$_bb71[130]],r[_$_bb71[75]],r[_$_bb71[29]][_$_bb71[28]]),r[_$_bb71[239]]=new v[_$_bb71[240]](r[_$_bb71[130]],r[_$_bb71[29]][_$_bb71[28]]),r}return r(t,e),t[_$_bb71[16]][_$_bb71[106]]=function(){e[_$_bb71[16]][_$_bb71[106]][_$_bb71[14]](this),this[_$_bb71[241]]()},t[_$_bb71[16]][_$_bb71[241]]=function(){var e=this;this[_$_bb71[102]][_$_bb71[126]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[83]],this[_$_bb71[232]]),this[_$_bb71[29]][_$_bb71[147]][_$_bb71[146]](s[_$_bb71[64]][_$_bb71[242]],(function(){new h[_$_bb71[244]](e[_$_bb71[130]])[_$_bb71[243]]()&&e[_$_bb71[245]]()}))},t[_$_bb71[16]][_$_bb71[148]]=function(e,t){this[_$_bb71[103]][_$_bb71[139]]&&this[_$_bb71[110]][_$_bb71[148]](this[_$_bb71[103]][_$_bb71[139]],{type:_$_bb71[246],data:t})},t[_$_bb71[16]][_$_bb71[170]]=function(){var t=this;this[_$_bb71[234]]&&this[_$_bb71[160]]?this[_$_bb71[159]](this[_$_bb71[160]])[_$_bb71[137]]((function(){return e[_$_bb71[16]][_$_bb71[170]][_$_bb71[14]](t)})):e[_$_bb71[16]][_$_bb71[170]][_$_bb71[14]](this),this[_$_bb71[234]]=!1},t[_$_bb71[16]][_$_bb71[247]]=function(e){var t=this[_$_bb71[248]](e),n=t[_$_bb71[249]],r=t[_$_bb71[250]],i=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[199]](n,r);return i[_$_bb71[251]]=(0,f[_$_bb71[252]])(e,r),i},t[_$_bb71[16]][_$_bb71[164]]=function(e){var t,n=this[_$_bb71[247]](e),r=this[_$_bb71[29]][_$_bb71[254]][_$_bb71[253]],i=this[_$_bb71[29]][_$_bb71[258]][_$_bb71[257]](a[_$_bb71[256]][_$_bb71[255]],r);return(null==i?void 0:i[_$_bb71[259]]())&&(n[_$_bb71[200]]=chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[202]][_$_bb71[260]],this[_$_bb71[231]]=0),this[_$_bb71[262]](null!==(t=e[_$_bb71[261]])&&void 0!==t?t:[],n),this[_$_bb71[103]][_$_bb71[263]]?this[_$_bb71[103]][_$_bb71[263]](n):Promise[_$_bb71[211]](n)},t[_$_bb71[16]][_$_bb71[262]]=function(e,t){var n=new v[_$_bb71[240]](t,this[_$_bb71[29]][_$_bb71[28]]);i(i([],null!=e?e:[],!0),this[_$_bb71[266]](),!0)[_$_bb71[265]]((function(e){return n[_$_bb71[264]](e)}))},t[_$_bb71[16]][_$_bb71[266]]=function(){var e=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[269]]()[_$_bb71[268]]((function(e){return e[_$_bb71[267]]})),t=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[271]]();return i(i([],e,!0),t,!0)},t[_$_bb71[16]][_$_bb71[248]]=function(e){var t,n;if(e[_$_bb71[4]])t=e[_$_bb71[4]],n=u[_$_bb71[187]][_$_bb71[186]];else if(e[_$_bb71[5]])t=e[_$_bb71[5]],n=u[_$_bb71[187]][_$_bb71[188]];else if(e[_$_bb71[272]])t=e[_$_bb71[272]],n=u[_$_bb71[187]][_$_bb71[189]];else{if(!e[_$_bb71[6]])throw new Error(_$_bb71[273]);var r=this[_$_bb71[274]](e[_$_bb71[6]]);t=r[_$_bb71[249]],n=r[_$_bb71[250]]}return{url:t=d[_$_bb71[10]][_$_bb71[9]](t),mimeType:n}},t[_$_bb71[16]][_$_bb71[275]]=function(e){var t;this[_$_bb71[231]]=e,this[_$_bb71[177]](((null===(t=this[_$_bb71[276]]())||void 0===t?void 0:t[_$_bb71[277]])||0)+e)},t[_$_bb71[16]][_$_bb71[276]]=function(){return this[_$_bb71[61]][_$_bb71[278]]},t[_$_bb71[16]][_$_bb71[279]]=function(){return this[_$_bb71[231]]},t[_$_bb71[16]][_$_bb71[280]]=function(){var e,t,n=this[_$_bb71[276]]();return(null!==(e=null==n?void 0:n[_$_bb71[281]])&&void 0!==e?e:0)-(null!==(t=null==n?void 0:n[_$_bb71[277]])&&void 0!==t?t:0)},t[_$_bb71[16]][_$_bb71[274]]=function(e){var t,n;if(Array[_$_bb71[7]](e)){var r=b(e)[0];t=r[_$_bb71[249]],n=r[_$_bb71[282]]}else t=e;return{url:t,mimeType:n}},t[_$_bb71[16]][_$_bb71[156]]=function(){e[_$_bb71[16]][_$_bb71[156]][_$_bb71[14]](this),this[_$_bb71[102]]&&this[_$_bb71[102]][_$_bb71[157]](cast[_$_bb71[37]][_$_bb71[125]][_$_bb71[83]],this[_$_bb71[232]])},t[_$_bb71[16]][_$_bb71[283]]=function(e){var t,n,r=this;e&&(null!==(n=null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[284]])&&void 0!==n&&n?this[_$_bb71[245]]()[_$_bb71[137]]((function(){r[_$_bb71[237]][_$_bb71[283]](e)})):this[_$_bb71[237]][_$_bb71[283]](e))},t[_$_bb71[16]][_$_bb71[285]]=function(e){var t=new h[_$_bb71[244]](this[_$_bb71[130]])[_$_bb71[288]](e,chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[286]]);t&&this[_$_bb71[283]](t)},t[_$_bb71[16]][_$_bb71[289]]=function(e){this[_$_bb71[237]][_$_bb71[290]](e,chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[286]])},t[_$_bb71[16]][_$_bb71[291]]=function(e){var t=new h[_$_bb71[244]](this[_$_bb71[130]])[_$_bb71[288]](e,chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[292]]);t&&this[_$_bb71[283]](t)},t[_$_bb71[16]][_$_bb71[70]]=function(t){e[_$_bb71[16]][_$_bb71[70]][_$_bb71[14]](this,t),this[_$_bb71[237]][_$_bb71[293]](this[_$_bb71[130]]),this[_$_bb71[239]]=new v[_$_bb71[240]](this[_$_bb71[130]],this[_$_bb71[29]][_$_bb71[28]]),this[_$_bb71[235]][_$_bb71[294]](this[_$_bb71[130]]);var n=new v[_$_bb71[240]](this[_$_bb71[130]],this[_$_bb71[29]][_$_bb71[28]]);this[_$_bb71[266]]()[_$_bb71[265]]((function(e){return n[_$_bb71[264]](e)}))},t[_$_bb71[16]][_$_bb71[215]]=function(e){this[_$_bb71[239]][_$_bb71[264]](e)},t[_$_bb71[16]][_$_bb71[212]]=function(e){var t,n,r=new v[_$_bb71[240]](this[_$_bb71[130]],this[_$_bb71[29]][_$_bb71[28]]),i=Boolean(null===(n=null===(t=this[_$_bb71[75]])||void 0===t?void 0:t[_$_bb71[295]])||void 0===n?void 0:n[_$_bb71[297]]((function(t){return t===r[_$_bb71[296]](e)})));r[_$_bb71[298]](e)&&i&&this[_$_bb71[237]][_$_bb71[290]](e,chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[286]])},t[_$_bb71[16]][_$_bb71[245]]=function(){var e=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[161]](this[_$_bb71[130]]);return e[_$_bb71[84]]=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[173]](),e[_$_bb71[162]]=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[171]](),this[_$_bb71[163]](e)},t[_$_bb71[16]][_$_bb71[163]]=function(t){var n=this;return this[_$_bb71[235]][_$_bb71[300]](t[_$_bb71[75]][_$_bb71[299]]),e[_$_bb71[16]][_$_bb71[163]][_$_bb71[14]](this,t)[_$_bb71[137]]((function(){n[_$_bb71[237]][_$_bb71[301]](n[_$_bb71[75]]),n[_$_bb71[237]][_$_bb71[293]](n[_$_bb71[130]]),n[_$_bb71[302]]()}))},t[_$_bb71[16]][_$_bb71[302]]=function(){var e,t=this;if(this[_$_bb71[130]]){var n=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[269]]()[_$_bb71[268]]((function(e){return!!e[_$_bb71[305]]}))[_$_bb71[304]]((function(e){return e[_$_bb71[303]]}));n[_$_bb71[307]](null===(e=this[_$_bb71[29]][_$_bb71[270]][_$_bb71[306]]())||void 0===e?void 0:e[_$_bb71[303]]),n=n[_$_bb71[268]](Boolean);var r=new h[_$_bb71[244]](this[_$_bb71[130]])[_$_bb71[308]](n),i=r[_$_bb71[309]]((function(e){var t;return null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[284]]})),o=r[_$_bb71[304]]((function(e){return e[_$_bb71[310]]}));if(!i)return this[_$_bb71[237]][_$_bb71[311]](o);this[_$_bb71[245]]()[_$_bb71[137]]((function(){t[_$_bb71[237]][_$_bb71[311]](o)}))}},t}(_[_$_bb71[22]]);function y(e){var t={keys:e[_$_bb71[304]]((function(e){var t=l[_$_bb71[315]][_$_bb71[314]](e[_$_bb71[313]]),n=l[_$_bb71[315]][_$_bb71[314]](e[_$_bb71[316]]||_$_bb71[317]);return{kty:_$_bb71[318],kid:c[_$_bb71[321]][_$_bb71[320]](n)[_$_bb71[319]](/[=]*$/,_$_bb71[317]),k:c[_$_bb71[321]][_$_bb71[320]](t)[_$_bb71[319]](/[=]*$/,_$_bb71[317])}}))},n=JSON[_$_bb71[196]](t);return _$_bb71[322]+btoa(n)}function b(e){return e[_$_bb71[325]]((function(e,t){return e[_$_bb71[323]]===t[_$_bb71[323]]?(e[_$_bb71[324]]||0)>(t[_$_bb71[324]]||0)?-1:1:(e[_$_bb71[323]]||0)>(t[_$_bb71[323]]||0)?-1:1}))}function S(e,t){return function(e){return Array[_$_bb71[7]](e)}(e)?{protectionSystem:o[_$_bb71[225]],licenseUrl:y(e)}:{protectionSystem:t,licenseUrl:e[_$_bb71[326]]||_$_bb71[317],headers:e[_$_bb71[327]],withCredentials:e[_$_bb71[328]]||!1}}t[_$_bb71[221]]=m},23981:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[252]]=function(e,t){var n={};return o(e[_$_bb71[329]])&&(n[_$_bb71[329]]=(0,i[_$_bb71[222]])(e[_$_bb71[329]])),o(e[_$_bb71[203]])&&(n[_$_bb71[203]]=e[_$_bb71[203]]),o(e[_$_bb71[330]])&&(n[_$_bb71[330]]=function(e,t){var n,i,o=e[_$_bb71[330]];return t===r[_$_bb71[187]][_$_bb71[186]]?(n=a(o,[_$_bb71[332],_$_bb71[328]]),i=a(o,[_$_bb71[333],_$_bb71[334]])):t===r[_$_bb71[187]][_$_bb71[188]]&&(n=a(o,[_$_bb71[335],_$_bb71[328]]),i=a(o,[_$_bb71[336],_$_bb71[334]])),{withCredentials:n||!1,manifestWithCredentials:i||!1}}(e,t)),n};var r=n(59181),i=n(21735);function o(e){return Object[_$_bb71[331]](null!=e?e:{})[_$_bb71[218]]>0}function a(e,t){for(var n,r=0,i=t;r<i[_$_bb71[218]];r++){var o=i[r];if(o in e){n=e[o];break}}return n}},95925:function(e,t){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[244]]=void 0;var n=function(){function e(e){this[_$_bb71[130]]=e}return e[_$_bb71[16]][_$_bb71[337]]=function(e,t){var n,r;return null!==(r=null===(n=this[_$_bb71[288]](e,t))||void 0===n?void 0:n[_$_bb71[310]])&&void 0!==r?r:null},e[_$_bb71[16]][_$_bb71[288]]=function(e,t){var n,r,i;return null!==(i=(null!==(r=null===(n=this[_$_bb71[130]])||void 0===n?void 0:n[_$_bb71[299]])&&void 0!==r?r:[])[_$_bb71[297]]((function(n){var r;return(null===(r=n[_$_bb71[251]])||void 0===r?void 0:r[_$_bb71[338]])===e&&n[_$_bb71[282]]===t})))&&void 0!==i?i:null},e[_$_bb71[16]][_$_bb71[308]]=function(e){var t,n;return(null!==(n=null===(t=this[_$_bb71[130]])||void 0===t?void 0:t[_$_bb71[299]])&&void 0!==n?n:[])[_$_bb71[268]]((function(t){var n;return e[_$_bb71[339]](null===(n=t[_$_bb71[251]])||void 0===n?void 0:n[_$_bb71[338]])}))},e[_$_bb71[16]][_$_bb71[243]]=function(){var e,t;return Boolean(null===(t=null===(e=this[_$_bb71[130]])||void 0===e?void 0:e[_$_bb71[299]])||void 0===t?void 0:t[_$_bb71[297]]((function(e){var t;return null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[284]]})))},e[_$_bb71[16]][_$_bb71[293]]=function(e){this[_$_bb71[130]]=e},e}();t[_$_bb71[244]]=n},4092:function(e,t){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[340]]=function(){var e=function(){var e=window[_$_bb71[347]];return function(e){return _$_bb71[348]==typeof e&&[_$_bb71[257],_$_bb71[344],_$_bb71[345],_$_bb71[346]][_$_bb71[349]]((function(t){return _$_bb71[17]==typeof e[t]}))}(e)?e:void 0}();void 0===n&&void 0!==e&&(n=new i(e),Object[_$_bb71[2]](window,_$_bb71[347],{get:function(){return n}}))};var n,r=[_$_bb71[341],_$_bb71[342]],i=function(){function e(e){this[_$_bb71[343]]=e}return e[_$_bb71[16]][_$_bb71[344]]=function(e,t,n){var i=r[_$_bb71[339]](e),o=Boolean(this[_$_bb71[343]][_$_bb71[257]](e));i&&o||this[_$_bb71[343]][_$_bb71[344]](e,t,n)},e[_$_bb71[16]][_$_bb71[345]]=function(e){return this[_$_bb71[343]][_$_bb71[345]](e)},e[_$_bb71[16]][_$_bb71[257]]=function(e){return this[_$_bb71[343]][_$_bb71[257]](e)},e[_$_bb71[16]][_$_bb71[346]]=function(e){this[_$_bb71[343]][_$_bb71[346]](e)},e}()},3166:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[350]]=void 0;var r=n(16368),i=n(88757);t[_$_bb71[350]]={name:r[_$_bb71[352]][_$_bb71[351]],module:{RemoteControlManager:i[_$_bb71[353]]}},t[_$_bb71[354]]=t[_$_bb71[350]]},35620:function(e,t){var n;Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[150]]=void 0,function(e){e[e[_$_bb71[355]]=0]=_$_bb71[355],e[e[_$_bb71[149]]=1]=_$_bb71[149],e[e[_$_bb71[356]]=2]=_$_bb71[356]}(n||(t[_$_bb71[150]]=n={}))},43793:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[24]]=void 0;var r,i=n(92737),o=n(35620),a=n(70377);!function(e){e[e[_$_bb71[357]]=0]=_$_bb71[357],e[e[_$_bb71[358]]=1]=_$_bb71[358],e[e[_$_bb71[359]]=2]=_$_bb71[359]}(r||(r={}));var s=function(){function e(e){this[_$_bb71[29]]=e,this[_$_bb71[68]]=r[_$_bb71[357]]}return Object[_$_bb71[2]](e[_$_bb71[16]],_$_bb71[68],{get:function(){return this[_$_bb71[360]]},set:function(e){this[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[362][_$_bb71[220]](r[this[_$_bb71[360]]],_$_bb71[361])[_$_bb71[220]](r[e])),this[_$_bb71[360]]=e},enumerable:!1,configurable:!0}),e[_$_bb71[16]][_$_bb71[132]]=function(){throw new Error(_$_bb71[363])},e[_$_bb71[16]][_$_bb71[364]]=function(e){this[_$_bb71[365]]=e},e[_$_bb71[16]][_$_bb71[366]]=function(e){this[_$_bb71[367]]=e},e[_$_bb71[16]][_$_bb71[368]]=function(e){this[_$_bb71[369]]=e},e[_$_bb71[16]][_$_bb71[370]]=function(e){this[_$_bb71[371]]=e},e[_$_bb71[16]][_$_bb71[372]]=function(e){this[_$_bb71[373]]=e},e[_$_bb71[16]][_$_bb71[374]]=function(e){this[_$_bb71[375]]=e},e[_$_bb71[16]][_$_bb71[376]]=function(e){this[_$_bb71[377]]=e},e[_$_bb71[16]][_$_bb71[378]]=function(){return this[_$_bb71[68]]===r[_$_bb71[358]]},e[_$_bb71[16]][_$_bb71[30]]=function(){return this[_$_bb71[68]]===r[_$_bb71[359]]},e[_$_bb71[16]][_$_bb71[56]]=function(){this[_$_bb71[68]]=r[_$_bb71[358]],this[_$_bb71[365]]&&this[_$_bb71[365]]()},e[_$_bb71[16]][_$_bb71[34]]=function(e){void 0===e&&(e=!0);var t=e?r[_$_bb71[358]]:r[_$_bb71[357]];this[_$_bb71[68]]!==t&&(this[_$_bb71[68]]=t,this[_$_bb71[367]]&&this[_$_bb71[367]]({receiverAvailable:e}))},e[_$_bb71[16]][_$_bb71[379]]=function(){this[_$_bb71[155]]={isPlaying:!1,isPaused:!1,hasEnded:!1,isMuted:!1,isStalled:!1,isLive:!1,getVolume:1,getCurrentTime:0,getRelativeCurrentTime:0,getDuration:0,getVersion:_$_bb71[317],getDroppedVideoFrames:0,getForwardBufferLevelForVideo:0,getBackwardBufferLevelForVideo:0,getForwardBufferLevelForAudio:0,getBackwardBufferLevelForAudio:0,getTotalStalledTime:0,getDownloadedVideoData:null,getDownloadedAudioData:null,getPlaybackVideoData:null,getPlaybackAudioData:null,getMaxTimeShift:0,getTimeShift:0,getSubtitle:null,getAudio:null}},e[_$_bb71[16]][_$_bb71[32]]=function(e){this[_$_bb71[369]]&&this[_$_bb71[369]]({deviceName:e}),this[_$_bb71[379]]()},e[_$_bb71[16]][_$_bb71[49]]=function(e,t){this[_$_bb71[68]]=r[_$_bb71[359]],this[_$_bb71[379]](),this[_$_bb71[371]]&&this[_$_bb71[371]]({deviceName:e,resumed:t})},e[_$_bb71[16]][_$_bb71[153]]=function(){this[_$_bb71[373]]&&this[_$_bb71[373]]()},e[_$_bb71[16]][_$_bb71[58]]=function(){this[_$_bb71[68]]=r[_$_bb71[358]],this[_$_bb71[375]]&&this[_$_bb71[375]]()},e[_$_bb71[16]][_$_bb71[65]]=function(e){this[_$_bb71[377]]&&this[_$_bb71[377]](e)},e[_$_bb71[16]][_$_bb71[214]]=function(e,t){var n=[];t&&(n=Array[_$_bb71[7]](t)?t:1===t[_$_bb71[218]]?[t[0]]:Array[_$_bb71[195]](null,t)),this[_$_bb71[148]](o[_$_bb71[150]][_$_bb71[149]],{methodName:e,arguments:n})},e[_$_bb71[16]][_$_bb71[141]]=function(e){switch(e[_$_bb71[282]]){case a[_$_bb71[381]][_$_bb71[74]]:return this[_$_bb71[155]]=e[_$_bb71[380]],!0;case a[_$_bb71[381]][_$_bb71[64]]:var t=e[_$_bb71[380]];return this[_$_bb71[65]](t),!0;case a[_$_bb71[381]][_$_bb71[382]]:return!0}return!1},e[_$_bb71[16]][_$_bb71[170]]=function(){this[_$_bb71[214]](_$_bb71[170])},e[_$_bb71[16]][_$_bb71[172]]=function(){this[_$_bb71[214]](_$_bb71[172])},e[_$_bb71[16]][_$_bb71[177]]=function(e){this[_$_bb71[214]](_$_bb71[177],[e])},e[_$_bb71[16]][_$_bb71[383]]=function(e,t,n){this[_$_bb71[214]](_$_bb71[383],[e,t,n])},e[_$_bb71[16]][_$_bb71[179]]=function(e){this[_$_bb71[214]](_$_bb71[179],[e])},e[_$_bb71[16]][_$_bb71[182]]=function(e){e?this[_$_bb71[214]](_$_bb71[384]):this[_$_bb71[214]](_$_bb71[385])},e[_$_bb71[16]][_$_bb71[171]]=function(){return this[_$_bb71[155]][_$_bb71[171]]},e[_$_bb71[16]][_$_bb71[60]]=function(){return this[_$_bb71[155]][_$_bb71[60]]},e[_$_bb71[16]][_$_bb71[173]]=function(e){return void 0===e&&(e=i[_$_bb71[175]][_$_bb71[174]]),e===i[_$_bb71[175]][_$_bb71[174]]?this[_$_bb71[155]][_$_bb71[173]]:this[_$_bb71[155]][_$_bb71[386]]},e[_$_bb71[16]][_$_bb71[181]]=function(){return this[_$_bb71[155]][_$_bb71[181]]},e[_$_bb71[16]][_$_bb71[92]]=function(){return this[_$_bb71[155]][_$_bb71[92]]},e[_$_bb71[16]][_$_bb71[387]]=function(){return this[_$_bb71[155]][_$_bb71[387]]},e[_$_bb71[16]][_$_bb71[388]]=function(){return this[_$_bb71[155]][_$_bb71[388]]},e[_$_bb71[16]][_$_bb71[259]]=function(){return this[_$_bb71[155]][_$_bb71[388]]},e[_$_bb71[16]][_$_bb71[389]]=function(){return this[_$_bb71[155]][_$_bb71[389]]},e[_$_bb71[16]][_$_bb71[390]]=function(){return this[_$_bb71[155]][_$_bb71[390]]},e[_$_bb71[16]][_$_bb71[391]]=function(e,t){var n={level:0,targetLevel:this[_$_bb71[29]][_$_bb71[393]][_$_bb71[392]](e,t),type:e,media:t};return i[_$_bb71[395]][_$_bb71[394]]?t===i[_$_bb71[397]][_$_bb71[396]]?n[_$_bb71[398]]=this[_$_bb71[155]][_$_bb71[399]]:t===i[_$_bb71[397]][_$_bb71[400]]&&(n[_$_bb71[398]]=this[_$_bb71[155]][_$_bb71[401]]):i[_$_bb71[395]][_$_bb71[402]]&&(t===i[_$_bb71[397]][_$_bb71[396]]?n[_$_bb71[398]]=this[_$_bb71[155]][_$_bb71[403]]:t===i[_$_bb71[397]][_$_bb71[400]]&&(n[_$_bb71[398]]=this[_$_bb71[155]][_$_bb71[404]])),n},e[_$_bb71[16]][_$_bb71[405]]=function(){return this[_$_bb71[155]][_$_bb71[405]]},e[_$_bb71[16]][_$_bb71[406]]=function(){return this[_$_bb71[155]][_$_bb71[406]]},e[_$_bb71[16]][_$_bb71[407]]=function(){return this[_$_bb71[155]][_$_bb71[407]]},e[_$_bb71[16]][_$_bb71[408]]=function(){return this[_$_bb71[155]][_$_bb71[408]]},e[_$_bb71[16]][_$_bb71[409]]=function(){return this[_$_bb71[155]][_$_bb71[409]]},e[_$_bb71[16]][_$_bb71[279]]=function(){return this[_$_bb71[155]][_$_bb71[279]]},e[_$_bb71[16]][_$_bb71[280]]=function(){return this[_$_bb71[155]][_$_bb71[280]]},e[_$_bb71[16]][_$_bb71[410]]=function(){this[_$_bb71[214]](_$_bb71[410],[])},e[_$_bb71[16]][_$_bb71[411]]=function(e){this[_$_bb71[214]](_$_bb71[411],[e])},e[_$_bb71[16]][_$_bb71[412]]=function(e){this[_$_bb71[214]](_$_bb71[412],[e])},e[_$_bb71[16]][_$_bb71[413]]=function(e){this[_$_bb71[214]](_$_bb71[413],[e])},e[_$_bb71[16]][_$_bb71[414]]=function(){this[_$_bb71[214]](_$_bb71[414],[])},e[_$_bb71[16]][_$_bb71[275]]=function(e){this[_$_bb71[214]](_$_bb71[275],[e])},e[_$_bb71[16]][_$_bb71[285]]=function(e){this[_$_bb71[214]](_$_bb71[415],[e])},e[_$_bb71[16]][_$_bb71[289]]=function(e){this[_$_bb71[214]](_$_bb71[416],[e])},e[_$_bb71[16]][_$_bb71[291]]=function(e){this[_$_bb71[214]](_$_bb71[291],[e])},e[_$_bb71[16]][_$_bb71[417]]=function(e,t){this[_$_bb71[214]](_$_bb71[417],[e,t])},e[_$_bb71[16]][_$_bb71[418]]=function(e){this[_$_bb71[214]](_$_bb71[418],[e])},e[_$_bb71[16]][_$_bb71[419]]=function(){return this[_$_bb71[214]](_$_bb71[419]),Promise[_$_bb71[211]]()},e}();t[_$_bb71[24]]=s},88757:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[353]]=void 0;var r=n(17990),i=n(76420),o=n(95321),a=n(30414),s=n(65816),u=n(21735),c=n(4092),l=n(47754),d=n(90597),_=function(){function e(t,n){this[_$_bb71[420]]=e[_$_bb71[421]](t),this[_$_bb71[420]]instanceof o[_$_bb71[22]]&&function(e,t){(0,c[_$_bb71[340]])(),e[_$_bb71[453]](t,_$_bb71[452]),e[_$_bb71[453]](t,_$_bb71[454]),setTimeout((function(){return e[_$_bb71[455]](t)}),0)}(n,t[_$_bb71[103]][_$_bb71[422]][_$_bb71[55]])}return e[_$_bb71[16]][_$_bb71[423]]=function(e,t){return new l[_$_bb71[424]](e,t,this[_$_bb71[420]])},e[_$_bb71[421]]=function(e){if(null==e[_$_bb71[103]]||null==e[_$_bb71[425]])return null;var t=e[_$_bb71[103]],n=e[_$_bb71[425]];if((t[_$_bb71[55]]&&t[_$_bb71[55]][_$_bb71[426]]||(!t[_$_bb71[55]]||t[_$_bb71[55]]&&!t[_$_bb71[55]][_$_bb71[15]](_$_bb71[426]))&&t[_$_bb71[427]]&&_$_bb71[428]===t[_$_bb71[427]][_$_bb71[282]])&&(t[_$_bb71[427]]&&_$_bb71[428]===t[_$_bb71[427]][_$_bb71[282]]&&t[_$_bb71[427]][_$_bb71[116]]?(n[_$_bb71[429]]=t[_$_bb71[427]][_$_bb71[116]],e[_$_bb71[28]][_$_bb71[27]](_$_bb71[430][_$_bb71[220]](n[_$_bb71[429]]))):t[_$_bb71[55]]&&t[_$_bb71[55]][_$_bb71[431]]?(n[_$_bb71[429]]=t[_$_bb71[55]][_$_bb71[431]],e[_$_bb71[28]][_$_bb71[27]](_$_bb71[430][_$_bb71[220]](n[_$_bb71[429]]))):e[_$_bb71[28]][_$_bb71[27]](_$_bb71[432][_$_bb71[220]](n[_$_bb71[429]])),t[_$_bb71[427]]&&_$_bb71[428]===t[_$_bb71[427]][_$_bb71[282]]&&t[_$_bb71[427]][_$_bb71[139]]?0===t[_$_bb71[427]][_$_bb71[139]][_$_bb71[434]](_$_bb71[433])?n[_$_bb71[435]]=t[_$_bb71[427]][_$_bb71[139]]:(e[_$_bb71[28]][_$_bb71[27]](_$_bb71[436]),e[_$_bb71[28]][_$_bb71[27]](_$_bb71[437][_$_bb71[220]](n[_$_bb71[435]]))):t[_$_bb71[55]]&&t[_$_bb71[55]][_$_bb71[438]]?0===t[_$_bb71[55]][_$_bb71[438]][_$_bb71[434]](_$_bb71[433])?(n[_$_bb71[435]]=t[_$_bb71[55]][_$_bb71[438]],e[_$_bb71[28]][_$_bb71[27]](_$_bb71[439][_$_bb71[220]](n[_$_bb71[435]]))):(e[_$_bb71[28]][_$_bb71[27]](_$_bb71[436]),e[_$_bb71[28]][_$_bb71[27]](_$_bb71[437][_$_bb71[220]](n[_$_bb71[435]]))):e[_$_bb71[28]][_$_bb71[27]](_$_bb71[437][_$_bb71[220]](n[_$_bb71[435]])),t[_$_bb71[15]](_$_bb71[427])||(t[_$_bb71[427]]={type:_$_bb71[428],receiverApplicationId:n[_$_bb71[429]],messageNamespace:n[_$_bb71[435]],customReceiverConfig:{receiverStylesheetUrl:t[_$_bb71[55]][_$_bb71[440]]||null}})),t[_$_bb71[427]]&&t[_$_bb71[427]][_$_bb71[282]])switch(t[_$_bb71[427]][_$_bb71[282]]){case _$_bb71[428]:return t[_$_bb71[427]][_$_bb71[116]]=t[_$_bb71[427]][_$_bb71[116]]||n[_$_bb71[429]],t[_$_bb71[427]][_$_bb71[139]]=t[_$_bb71[427]][_$_bb71[139]]||n[_$_bb71[435]],t[_$_bb71[427]][_$_bb71[441]]===a[_$_bb71[191]][_$_bb71[193]]?(e[_$_bb71[446]][_$_bb71[445]]((0,r[_$_bb71[444]])(i[_$_bb71[443]][_$_bb71[442]])),new u[_$_bb71[221]](e,t[_$_bb71[427]])):(e[_$_bb71[446]][_$_bb71[445]]((0,r[_$_bb71[444]])(i[_$_bb71[443]][_$_bb71[447]])),new s[_$_bb71[194]](e,t[_$_bb71[427]]));case _$_bb71[450]:return e[_$_bb71[446]][_$_bb71[445]]((0,r[_$_bb71[444]])(i[_$_bb71[443]][_$_bb71[448]])),new d[_$_bb71[449]](e,t[_$_bb71[427]]);default:e[_$_bb71[28]][_$_bb71[27]](_$_bb71[451]+t[_$_bb71[427]][_$_bb71[282]])}return null},e}();t[_$_bb71[353]]=_},47754:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[424]]=t[_$_bb71[456]]=t[_$_bb71[457]]=void 0;var r=n(62510),i=n(15539),o=n(33696),a=n(17990),s=n(58975),u=n(76420),c=n(41267),l=n(95321),d=n(35620);t[_$_bb71[457]]=function(e){return e[_$_bb71[391]](o[_$_bb71[395]][_$_bb71[394]],o[_$_bb71[397]][_$_bb71[396]])[_$_bb71[458]]-20},t[_$_bb71[456]]=function(e,n,r){var i=Boolean(e[_$_bb71[330]]&&e[_$_bb71[330]][_$_bb71[459]]);return(n||!i)&&(e[_$_bb71[330]]=e[_$_bb71[330]]||{},e[_$_bb71[330]][_$_bb71[459]]=r[_$_bb71[259]]()?r[_$_bb71[279]]()-(0,t[_$_bb71[457]])(r):r[_$_bb71[173]]()),e};var _=function(){function e(e,n,i){var o=this;if(this[_$_bb71[460]]=!1,this[_$_bb71[461]]=!1,this[_$_bb71[29]]=e,this[_$_bb71[462]]=n,this[_$_bb71[420]]=i,i){var s=!1,l=!1,d=function(){o[_$_bb71[461]]=o[_$_bb71[462]][_$_bb71[171]](),o[_$_bb71[462]][_$_bb71[172]]()};i[_$_bb71[364]]((function(){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[463]),e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[464]]),s&&(s=!1,o[_$_bb71[466]](),e[_$_bb71[446]][_$_bb71[445]]((0,a[_$_bb71[469]])(u[_$_bb71[468]][_$_bb71[467]])))})),i[_$_bb71[366]]((function(t){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[470]),e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[471]],{receiverAvailable:t[_$_bb71[472]]})})),i[_$_bb71[368]]((function(t){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[473],t),e[_$_bb71[446]][_$_bb71[445]]((0,a[_$_bb71[469]])(u[_$_bb71[468]][_$_bb71[474]])),d(),e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[475]],{castPayload:{deviceName:t[_$_bb71[476]],currentTime:void 0,timestamp:void 0,type:void 0}})})),i[_$_bb71[370]]((function(n){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[477],n),e[_$_bb71[446]][_$_bb71[445]]((0,a[_$_bb71[469]])(u[_$_bb71[468]][_$_bb71[359]]));var _=(0,c[_$_bb71[3]])(i[_$_bb71[169]](),e[_$_bb71[254]][_$_bb71[478]]);if(n[_$_bb71[479]]&&d(),!n[_$_bb71[479]]||!_){e[_$_bb71[425]][_$_bb71[480]]&&i[_$_bb71[413]](e[_$_bb71[425]][_$_bb71[480]]),null!=i[_$_bb71[132]]()&&i[_$_bb71[132]]()[_$_bb71[481]]&&o[_$_bb71[483]](_$_bb71[482],{type:_$_bb71[481],data:i[_$_bb71[132]]()[_$_bb71[481]]});var f=(0,t[_$_bb71[456]])(e[_$_bb71[254]][_$_bb71[478]],o[_$_bb71[460]],o[_$_bb71[462]]);i[_$_bb71[159]](f,o[_$_bb71[484]](),o[_$_bb71[462]][_$_bb71[173]]()),l=!0}e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[485]],{deviceName:n[_$_bb71[476]],resuming:n[_$_bb71[479]]}),s=!0,e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[89]])})),i[_$_bb71[372]]((function(){e[_$_bb71[446]][_$_bb71[445]]((0,a[_$_bb71[469]])(u[_$_bb71[468]][_$_bb71[486]])),e[_$_bb71[28]][_$_bb71[27]](_$_bb71[487])})),i[_$_bb71[374]]((function(){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[488]),e[_$_bb71[446]][_$_bb71[445]]((0,a[_$_bb71[469]])(u[_$_bb71[468]][_$_bb71[467]])),e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[464]]),s=!1,o[_$_bb71[466]](),e[_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[89]])})),i[_$_bb71[376]]((function(t){if(e[_$_bb71[28]][_$_bb71[27]](_$_bb71[489],t),l)switch(t[_$_bb71[490]]){case r[_$_bb71[64]][_$_bb71[63]]:case r[_$_bb71[64]][_$_bb71[72]]:l=!1;for(var o=0,a=n[_$_bb71[269]]();o<a[_$_bb71[218]];o++){var s=a[o];i[_$_bb71[215]](s),s[_$_bb71[305]]&&i[_$_bb71[285]](s[_$_bb71[303]])}}var u=t[_$_bb71[380]]||{};u[_$_bb71[491]]=!0,e[_$_bb71[147]][_$_bb71[465]](t[_$_bb71[490]],u)}))}else e[_$_bb71[28]][_$_bb71[27]](_$_bb71[492])}return e[_$_bb71[16]][_$_bb71[484]]=function(){return this[_$_bb71[29]][_$_bb71[103]]&&this[_$_bb71[29]][_$_bb71[103]][_$_bb71[493]]&&this[_$_bb71[29]][_$_bb71[103]][_$_bb71[493]][_$_bb71[162]]||this[_$_bb71[461]]},e[_$_bb71[16]][_$_bb71[466]]=function(){var e=this[_$_bb71[29]][_$_bb71[425]][_$_bb71[494]];this[_$_bb71[462]][_$_bb71[259]]()&&!e?this[_$_bb71[462]][_$_bb71[275]](this[_$_bb71[420]][_$_bb71[279]]()+(0,t[_$_bb71[457]])(this[_$_bb71[462]])):this[_$_bb71[462]][_$_bb71[177]](this[_$_bb71[420]][_$_bb71[173]]()),this[_$_bb71[420]][_$_bb71[171]]()?this[_$_bb71[462]][_$_bb71[170]]():this[_$_bb71[462]][_$_bb71[172]]()},e[_$_bb71[16]][_$_bb71[495]]=function(){return null!=this[_$_bb71[420]]&&this[_$_bb71[420]][_$_bb71[378]]()},e[_$_bb71[16]][_$_bb71[496]]=function(){return null!=this[_$_bb71[420]]&&this[_$_bb71[420]][_$_bb71[30]]()},e[_$_bb71[16]][_$_bb71[497]]=function(e){var t=(0,s[_$_bb71[501]])(this[_$_bb71[29]][_$_bb71[446]][_$_bb71[500]]()[_$_bb71[499]])[_$_bb71[498]]===u[_$_bb71[443]][_$_bb71[442]];e===i[_$_bb71[502]]&&t||this[_$_bb71[420]][_$_bb71[172]]()},e[_$_bb71[16]][_$_bb71[503]]=function(e){this[_$_bb71[462]][_$_bb71[172]](e)},e[_$_bb71[16]][_$_bb71[504]]=function(){return this[_$_bb71[462]][_$_bb71[504]]()},e[_$_bb71[16]][_$_bb71[170]]=function(e){return this[_$_bb71[460]]=!0,this[_$_bb71[496]]()?(this[_$_bb71[420]][_$_bb71[170]](),Promise[_$_bb71[211]]()):this[_$_bb71[462]][_$_bb71[170]](e)},e[_$_bb71[16]][_$_bb71[410]]=function(){this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[410]]():this[_$_bb71[462]][_$_bb71[410]]()},e[_$_bb71[16]][_$_bb71[172]]=function(e){this[_$_bb71[496]]()?this[_$_bb71[497]](e):this[_$_bb71[503]](e)},e[_$_bb71[16]][_$_bb71[384]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[182]](!0),this[_$_bb71[462]][_$_bb71[384]](e)},e[_$_bb71[16]][_$_bb71[385]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[182]](!1),this[_$_bb71[462]][_$_bb71[385]](e)},e[_$_bb71[16]][_$_bb71[179]]=function(e,t){this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[179]](e/100):this[_$_bb71[462]][_$_bb71[179]](e,t)},e[_$_bb71[16]][_$_bb71[177]]=function(e,t){return this[_$_bb71[496]]()?(this[_$_bb71[420]][_$_bb71[177]](e),!0):this[_$_bb71[462]][_$_bb71[177]](e,t)},e[_$_bb71[16]][_$_bb71[411]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[411]](e),this[_$_bb71[462]][_$_bb71[411]](e)},e[_$_bb71[16]][_$_bb71[412]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[412]](e),this[_$_bb71[462]][_$_bb71[412]](e)},e[_$_bb71[16]][_$_bb71[505]]=function(){return this[_$_bb71[462]][_$_bb71[505]]()},e[_$_bb71[16]][_$_bb71[506]]=function(e,t,n){return this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[159]](this[_$_bb71[29]][_$_bb71[254]][_$_bb71[478]],this[_$_bb71[484]]()),this[_$_bb71[462]][_$_bb71[506]](e,t,n)},e[_$_bb71[16]][_$_bb71[419]]=function(e){return this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[419]](),this[_$_bb71[462]]?this[_$_bb71[462]][_$_bb71[419]](e):Promise[_$_bb71[211]]()},e[_$_bb71[16]][_$_bb71[171]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[171]]():this[_$_bb71[462]][_$_bb71[171]]()},e[_$_bb71[16]][_$_bb71[60]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[60]]():this[_$_bb71[462]][_$_bb71[60]]()},e[_$_bb71[16]][_$_bb71[387]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[387]]():this[_$_bb71[462]][_$_bb71[387]]()},e[_$_bb71[16]][_$_bb71[92]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[92]]():this[_$_bb71[462]][_$_bb71[92]]()},e[_$_bb71[16]][_$_bb71[388]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[388]]():this[_$_bb71[462]][_$_bb71[388]]()},e[_$_bb71[16]][_$_bb71[259]]=function(){return this[_$_bb71[462]][_$_bb71[259]]()},e[_$_bb71[16]][_$_bb71[181]]=function(){return this[_$_bb71[496]]()?100*this[_$_bb71[420]][_$_bb71[181]]():this[_$_bb71[462]][_$_bb71[181]]()},e[_$_bb71[16]][_$_bb71[173]]=function(e){return void 0===e&&(e=o[_$_bb71[175]][_$_bb71[174]]),this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[173]](e):this[_$_bb71[462]][_$_bb71[173]](e)},e[_$_bb71[16]][_$_bb71[389]]=function(){return this[_$_bb71[462]][_$_bb71[389]]()},e[_$_bb71[16]][_$_bb71[507]]=function(){return this[_$_bb71[462]][_$_bb71[507]]()},e[_$_bb71[16]][_$_bb71[508]]=function(){return this[_$_bb71[462]][_$_bb71[508]]()},e[_$_bb71[16]][_$_bb71[390]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[390]]():this[_$_bb71[462]][_$_bb71[390]]()},e[_$_bb71[16]][_$_bb71[383]]=function(e,t,n){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[383]](e,t,n):this[_$_bb71[462]][_$_bb71[383]](e,t,n)},e[_$_bb71[16]][_$_bb71[391]]=function(e,t){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[391]](e,t):this[_$_bb71[462]][_$_bb71[391]](e,t)},e[_$_bb71[16]][_$_bb71[405]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[405]]():this[_$_bb71[462]][_$_bb71[405]]()},e[_$_bb71[16]][_$_bb71[406]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[406]]():this[_$_bb71[462]][_$_bb71[406]]()},e[_$_bb71[16]][_$_bb71[407]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[407]]():this[_$_bb71[462]][_$_bb71[407]]()},e[_$_bb71[16]][_$_bb71[408]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[408]]():this[_$_bb71[462]][_$_bb71[408]]()},e[_$_bb71[16]][_$_bb71[409]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[409]]():this[_$_bb71[462]][_$_bb71[409]]()},e[_$_bb71[16]][_$_bb71[509]]=function(){return this[_$_bb71[462]][_$_bb71[509]]()},e[_$_bb71[16]][_$_bb71[510]]=function(){return this[_$_bb71[462]][_$_bb71[510]]()},e[_$_bb71[16]][_$_bb71[511]]=function(){return this[_$_bb71[496]]()},e[_$_bb71[16]][_$_bb71[512]]=function(){return this[_$_bb71[495]]()||this[_$_bb71[496]]()},e[_$_bb71[16]][_$_bb71[513]]=function(){this[_$_bb71[495]]()&&(this[_$_bb71[420]][_$_bb71[133]](),this[_$_bb71[29]][_$_bb71[147]][_$_bb71[465]](r[_$_bb71[64]][_$_bb71[514]]))},e[_$_bb71[16]][_$_bb71[515]]=function(){if(this[_$_bb71[496]]()){if(this[_$_bb71[420]]instanceof l[_$_bb71[22]])return this[_$_bb71[420]][_$_bb71[133]]();this[_$_bb71[420]][_$_bb71[151]]()}},e[_$_bb71[16]][_$_bb71[516]]=function(e){this[_$_bb71[462]][_$_bb71[516]](e)},e[_$_bb71[16]][_$_bb71[413]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[413]](e),this[_$_bb71[462]][_$_bb71[413]](e)},e[_$_bb71[16]][_$_bb71[414]]=function(){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[414]](),this[_$_bb71[462]][_$_bb71[414]]()},e[_$_bb71[16]][_$_bb71[280]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[280]]():this[_$_bb71[462]][_$_bb71[280]]()},e[_$_bb71[16]][_$_bb71[275]]=function(e,t){this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[275]](e):this[_$_bb71[462]][_$_bb71[275]](e,t)},e[_$_bb71[16]][_$_bb71[279]]=function(){return this[_$_bb71[496]]()?this[_$_bb71[420]][_$_bb71[279]]():this[_$_bb71[462]][_$_bb71[279]]()},e[_$_bb71[16]][_$_bb71[215]]=function(e){return this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[215]](e),this[_$_bb71[462]][_$_bb71[215]](e)},e[_$_bb71[16]][_$_bb71[212]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[212]](e),this[_$_bb71[462]][_$_bb71[212]](e)},e[_$_bb71[16]][_$_bb71[285]]=function(e){return this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[285]](e),this[_$_bb71[462]][_$_bb71[285]](e)},e[_$_bb71[16]][_$_bb71[289]]=function(e){return this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[289]](e),this[_$_bb71[462]][_$_bb71[289]](e)},e[_$_bb71[16]][_$_bb71[269]]=function(){return this[_$_bb71[462]][_$_bb71[269]]()},e[_$_bb71[16]][_$_bb71[517]]=function(){return this[_$_bb71[462]][_$_bb71[517]]()},e[_$_bb71[16]][_$_bb71[518]]=function(){return this[_$_bb71[462]][_$_bb71[518]]()},e[_$_bb71[16]][_$_bb71[291]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[291]](e),this[_$_bb71[462]][_$_bb71[291]](e)},e[_$_bb71[16]][_$_bb71[271]]=function(){return this[_$_bb71[462]][_$_bb71[271]]()},e[_$_bb71[16]][_$_bb71[306]]=function(){return this[_$_bb71[462]][_$_bb71[306]]()},e[_$_bb71[16]][_$_bb71[417]]=function(e,t){if(!this[_$_bb71[496]]())return this[_$_bb71[462]][_$_bb71[417]](e,t)},e[_$_bb71[16]][_$_bb71[418]]=function(e){this[_$_bb71[496]]()&&this[_$_bb71[420]][_$_bb71[418]](e),this[_$_bb71[462]][_$_bb71[418]](e)},e[_$_bb71[16]][_$_bb71[519]]=function(){return this[_$_bb71[462]][_$_bb71[519]]()},e[_$_bb71[16]][_$_bb71[520]]=function(e){this[_$_bb71[462]][_$_bb71[520]](e)},e[_$_bb71[16]][_$_bb71[483]]=function(e,t){return!(_$_bb71[482]!==e[_$_bb71[521]]()||!this[_$_bb71[496]]()||(this[_$_bb71[420]][_$_bb71[148]](d[_$_bb71[150]][_$_bb71[356]],t),0))},e[_$_bb71[16]][_$_bb71[522]]=function(e){this[_$_bb71[462]][_$_bb71[522]](e)},e[_$_bb71[16]][_$_bb71[523]]=function(){this[_$_bb71[462]][_$_bb71[523]]()},e[_$_bb71[16]][_$_bb71[524]]=function(){return this[_$_bb71[462]][_$_bb71[524]]()},e[_$_bb71[16]][_$_bb71[525]]=function(){return this[_$_bb71[462]][_$_bb71[525]]()},e[_$_bb71[16]][_$_bb71[526]]=function(){this[_$_bb71[462]][_$_bb71[526]]()},e[_$_bb71[16]][_$_bb71[276]]=function(){return this[_$_bb71[462]][_$_bb71[276]]()},e[_$_bb71[16]][_$_bb71[527]]=function(){return this[_$_bb71[462]][_$_bb71[527]]()},e[_$_bb71[16]][_$_bb71[528]]=function(e){this[_$_bb71[462]][_$_bb71[528]](e)},e[_$_bb71[16]][_$_bb71[529]]=function(){return this[_$_bb71[462]][_$_bb71[529]]()},e[_$_bb71[16]][_$_bb71[530]]=function(e){this[_$_bb71[462]][_$_bb71[530]](e)},e[_$_bb71[16]][_$_bb71[531]]=function(){return this[_$_bb71[462]][_$_bb71[531]]()},e[_$_bb71[16]][_$_bb71[532]]=function(e){this[_$_bb71[462]][_$_bb71[532]](e)},e[_$_bb71[16]][_$_bb71[533]]=function(){return this[_$_bb71[462]][_$_bb71[533]]()},e[_$_bb71[16]][_$_bb71[534]]=function(){return this[_$_bb71[462]][_$_bb71[534]]()},e[_$_bb71[16]][_$_bb71[156]]=function(e){var t=this;return null!=this[_$_bb71[420]]&&(this[_$_bb71[420]][_$_bb71[364]](null),this[_$_bb71[420]][_$_bb71[366]](null),this[_$_bb71[420]][_$_bb71[368]](null),this[_$_bb71[420]][_$_bb71[370]](null),this[_$_bb71[420]][_$_bb71[372]](null),this[_$_bb71[420]][_$_bb71[374]](null),this[_$_bb71[420]][_$_bb71[376]](null),this[_$_bb71[420]][_$_bb71[156]]()),this[_$_bb71[462]][_$_bb71[156]](e)[_$_bb71[137]]((function(){t[_$_bb71[462]]=null,t[_$_bb71[420]]=null}))},e}();t[_$_bb71[424]]=_},70377:function(e,t){var n,r;Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[535]]=t[_$_bb71[381]]=void 0,function(e){e[e[_$_bb71[74]]=0]=_$_bb71[74],e[e[_$_bb71[64]]=1]=_$_bb71[64],e[e[_$_bb71[382]]=2]=_$_bb71[382]}(n||(t[_$_bb71[381]]=n={})),function(e){e[_$_bb71[536]]=_$_bb71[537],e[_$_bb71[538]]=_$_bb71[539],e[_$_bb71[540]]=_$_bb71[541]}(r||(t[_$_bb71[535]]=r={}))},91587:function(_0x1E907,_0x1E934){Object[_$_bb71[2]](_0x1E934,_$_bb71[1],{value:!0}),_0x1E934[_$_bb71[197]]=void 0;var _0x1E961=function(){function _0x1E907(){}return _0x1E907[_$_bb71[542]]=function(e){if(_$_bb71[17]==typeof e)return _0x1E907[_$_bb71[543]]+e[_$_bb71[544]]()},_0x1E907[_$_bb71[545]]=function(_0x1E961){if(_0x1E961&&_$_bb71[546]==typeof _0x1E961&&0===_0x1E961[_$_bb71[434]](_0x1E907[_$_bb71[543]])){var _0x1E934=_$_bb71[547]+_0x1E961[_$_bb71[548]](_0x1E907[_$_bb71[543]][_$_bb71[218]]);if(eval(_0x1E934),_$_bb71[17]==typeof _0x1E934)return _0x1E934}},_0x1E907[_$_bb71[196]]=function(e,t,n){return JSON[_$_bb71[196]](e,(function(e,n){return _$_bb71[17]==typeof n?_0x1E907[_$_bb71[542]](n):t?t(e,n):n}),n)},_0x1E907[_$_bb71[8]]=function(e,t){return JSON[_$_bb71[8]](e,(function(e,n){return _0x1E907[_$_bb71[545]](n)||(t?t(e,n):n)}))},_0x1E907[_$_bb71[543]]=_$_bb71[549],_0x1E907}();_0x1E934[_$_bb71[197]]=_0x1E961},90597:function(e,t,n){var r=this&&this[_$_bb71[11]]||function(){var e=function(t,n){return e=Object[_$_bb71[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_bb71[13]]=t}||function(e,t){for(var n in t)Object[_$_bb71[16]][_$_bb71[15]][_$_bb71[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(_$_bb71[17]!=typeof n&&null!==n)throw new TypeError(_$_bb71[18]+String(n)+_$_bb71[19]);function r(){this[_$_bb71[20]]=t}e(t,n),t[_$_bb71[16]]=null===n?Object[_$_bb71[21]](n):(r[_$_bb71[16]]=n[_$_bb71[16]],new r)}}();Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[449]]=void 0;var i=n(35620),o=n(43793),a=n(91587),s=function(e){function t(t,n){var r=e[_$_bb71[14]](this,t)||this;return r[_$_bb71[103]]=n,window[_$_bb71[550]]&&r[_$_bb71[34]](),r}return r(t,e),t[_$_bb71[16]][_$_bb71[132]]=function(){return this[_$_bb71[103]]},t[_$_bb71[16]][_$_bb71[133]]=function(){var e=this;if(!this[_$_bb71[378]]())throw new Error(_$_bb71[551]);this[_$_bb71[32]](_$_bb71[552]),this[_$_bb71[553]]=new WebSocket(this[_$_bb71[103]][_$_bb71[249]]+_$_bb71[554]),this[_$_bb71[553]][_$_bb71[126]](_$_bb71[555],(function(t){e[_$_bb71[49]](_$_bb71[552],!1)})),this[_$_bb71[553]][_$_bb71[126]](_$_bb71[143],(function(t){e[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[556],t),e[_$_bb71[56]]()})),this[_$_bb71[553]][_$_bb71[126]](_$_bb71[557],(function(t){e[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[558],t),e[_$_bb71[58]]()})),this[_$_bb71[553]][_$_bb71[126]](_$_bb71[559],(function(t){return e[_$_bb71[560]](t)}))},t[_$_bb71[16]][_$_bb71[560]]=function(e){if(e[_$_bb71[380]])try{var t=JSON[_$_bb71[8]](e[_$_bb71[380]]);this[_$_bb71[141]](t)}catch(t){this[_$_bb71[29]][_$_bb71[28]][_$_bb71[143]](_$_bb71[142],e[_$_bb71[380]])}else this[_$_bb71[29]][_$_bb71[28]][_$_bb71[562]](_$_bb71[561],e[_$_bb71[380]])},t[_$_bb71[16]][_$_bb71[148]]=function(e,t){this[_$_bb71[553]][_$_bb71[563]](a[_$_bb71[197]][_$_bb71[196]]({type:e,data:t}))},t[_$_bb71[16]][_$_bb71[215]]=function(e){this[_$_bb71[214]](_$_bb71[216],[e])},t[_$_bb71[16]][_$_bb71[212]]=function(e){this[_$_bb71[214]](_$_bb71[213],[e])},t[_$_bb71[16]][_$_bb71[151]]=function(){this[_$_bb71[153]](),this[_$_bb71[553]][_$_bb71[557]]()},t[_$_bb71[16]][_$_bb71[156]]=function(){},t[_$_bb71[16]][_$_bb71[159]]=function(e,t,n){this[_$_bb71[478]]=e,this[_$_bb71[148]](i[_$_bb71[150]][_$_bb71[355]],{source:e,autoplay:t,time:n})},t[_$_bb71[16]][_$_bb71[169]]=function(){return this[_$_bb71[478]]},t}(o[_$_bb71[24]]);t[_$_bb71[449]]=s},29379:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[238]]=void 0;var r=n(95925),i=n(23330),o=function(){function e(e,t,n){this[_$_bb71[564]]=Promise[_$_bb71[211]](),this[_$_bb71[565]]=new r[_$_bb71[244]](e),this[_$_bb71[75]]=t,this[_$_bb71[28]]=n}return e[_$_bb71[16]][_$_bb71[301]]=function(e){this[_$_bb71[75]]=e},e[_$_bb71[16]][_$_bb71[293]]=function(e){this[_$_bb71[565]][_$_bb71[293]](e)},e[_$_bb71[16]][_$_bb71[283]]=function(e){var t,n=this,r=e[_$_bb71[310]];this[_$_bb71[566]](null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[338]],e[_$_bb71[282]],r)&&r&&this[_$_bb71[564]][_$_bb71[137]]((function(){var t=n[_$_bb71[567]](e[_$_bb71[282]]);return t[_$_bb71[307]](r),new i[_$_bb71[569]](n[_$_bb71[75]],t,n[_$_bb71[28]])[_$_bb71[568]]()}))},e[_$_bb71[16]][_$_bb71[567]]=function(e){var t;if(!this[_$_bb71[75]]||!this[_$_bb71[75]][_$_bb71[295]])return[];var n=this[_$_bb71[75]][_$_bb71[295]],r=null===(t=this[_$_bb71[75]][_$_bb71[75]])||void 0===t?void 0:t[_$_bb71[299]];if(!r)return n;var i=r[_$_bb71[268]]((function(t){return t[_$_bb71[282]]!==e}));return n[_$_bb71[268]]((function(e){return i[_$_bb71[297]]((function(t){return t[_$_bb71[310]]===e}))}))},e[_$_bb71[16]][_$_bb71[290]]=function(e,t){var n,r=this[_$_bb71[565]][_$_bb71[337]](e,t);if(this[_$_bb71[566]](e,t,r)&&r){var o=((null===(n=this[_$_bb71[75]])||void 0===n?void 0:n[_$_bb71[295]])||[])[_$_bb71[268]]((function(e){return e!==r}));this[_$_bb71[564]]=new i[_$_bb71[569]](this[_$_bb71[75]],o,this[_$_bb71[28]])[_$_bb71[568]]()}},e[_$_bb71[16]][_$_bb71[311]]=function(e){this[_$_bb71[75]]&&(this[_$_bb71[564]]=new i[_$_bb71[569]](this[_$_bb71[75]],e,this[_$_bb71[28]])[_$_bb71[568]]())},e[_$_bb71[16]][_$_bb71[566]]=function(e,t,n){return this[_$_bb71[75]]?null!==n||(this[_$_bb71[28]][_$_bb71[27]](_$_bb71[570],{requestId:e,type:t}),!1):(this[_$_bb71[28]][_$_bb71[27]](_$_bb71[571]),!1)},e}();t[_$_bb71[238]]=o},23330:function(e,t){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[569]]=void 0;var n=function(){function e(e,t,n){this[_$_bb71[75]]=e,this[_$_bb71[295]]=t,this[_$_bb71[28]]=n}return e[_$_bb71[16]][_$_bb71[568]]=function(){var e=this;return new Promise((function(t,n){if(e[_$_bb71[75]]){var r=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[573]](e[_$_bb71[295]]);e[_$_bb71[75]][_$_bb71[574]](r,t,n)}else n(_$_bb71[575])}))[_$_bb71[135]]((function(t){e[_$_bb71[28]][_$_bb71[27]](_$_bb71[572],t)}))},e}();t[_$_bb71[569]]=n},84848:function(e,t,n){var r=this&&this[_$_bb71[576]]||function(){return r=Object[_$_bb71[577]]||function(e){for(var t,n=1,r=arguments[_$_bb71[218]];n<r;n++)for(var i in t=arguments[n])Object[_$_bb71[16]][_$_bb71[15]][_$_bb71[14]](t,i)&&(e[i]=t[i]);return e},r[_$_bb71[195]](this,arguments)};Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[236]]=void 0;var i=n(28534),o=n(27394),a=function(){function e(e){this[_$_bb71[29]]=e}return e[_$_bb71[16]][_$_bb71[294]]=function(e){(null==e?void 0:e[_$_bb71[299]])&&this[_$_bb71[578]](e[_$_bb71[299]])},e[_$_bb71[16]][_$_bb71[578]]=function(e){var t=this,n=e[_$_bb71[268]]((function(e){var t;return!(null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[338]])})),r={};n[_$_bb71[265]]((function(n){var i=n[_$_bb71[282]],o=r[i];o||(o=t[_$_bb71[579]](n),r[i]=o),t[_$_bb71[580]](n,e,o)}))},e[_$_bb71[16]][_$_bb71[580]]=function(e,t,n){var i;if(!(null===(i=null==e?void 0:e[_$_bb71[251]])||void 0===i?void 0:i[_$_bb71[338]])&&(null==t?void 0:t[_$_bb71[218]])){var o=this[_$_bb71[581]](e,t,n);o?e[_$_bb71[251]]=r(r({},e[_$_bb71[251]]),{internalId:o}):this[_$_bb71[29]][_$_bb71[28]][_$_bb71[27]](_$_bb71[582],e[_$_bb71[583]],_$_bb71[584],e)}},e[_$_bb71[16]][_$_bb71[581]]=function(e,t,n){var r,o,a,s=n[_$_bb71[268]]((function(t){return(0,i[_$_bb71[585]])(t,e)})),u=null===(r=s[0])||void 0===r?void 0:r[_$_bb71[303]];if(s[_$_bb71[218]]>0){var c=t[_$_bb71[268]]((function(e){var t;return!!(null===(t=e[_$_bb71[251]])||void 0===t?void 0:t[_$_bb71[338]])}))[_$_bb71[304]]((function(e){return e[_$_bb71[251]][_$_bb71[338]]}));return null!==(a=null===(o=s[_$_bb71[297]]((function(e){return!c[_$_bb71[339]](e[_$_bb71[303]])})))||void 0===o?void 0:o[_$_bb71[303]])&&void 0!==a?a:null}return u},e[_$_bb71[16]][_$_bb71[579]]=function(e){return(0,o[_$_bb71[586]])(e)?this[_$_bb71[29]][_$_bb71[270]][_$_bb71[269]]():(0,o[_$_bb71[587]])(e)?this[_$_bb71[29]][_$_bb71[270]][_$_bb71[271]]():[]},e[_$_bb71[16]][_$_bb71[300]]=function(e){null==e||e[_$_bb71[265]]((function(e){e[_$_bb71[251]]&&(e[_$_bb71[251]][_$_bb71[284]]=!1)}))},e}();t[_$_bb71[236]]=a},75021:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[240]]=void 0;var r=n(27394),i=function(){function e(e,t){e&&!Array[_$_bb71[7]](e[_$_bb71[299]])&&(e[_$_bb71[299]]=[]),this[_$_bb71[130]]=e,this[_$_bb71[28]]=t}return e[_$_bb71[16]][_$_bb71[588]]=function(){var e,t,n,r=null===(e=this[_$_bb71[130]])||void 0===e?void 0:e[_$_bb71[299]];return(null==r?void 0:r[_$_bb71[218]])&&null!==(n=null===(t=r[r[_$_bb71[218]]-1])||void 0===t?void 0:t[_$_bb71[310]])&&void 0!==n?n:0},e[_$_bb71[16]][_$_bb71[264]]=function(e){if(this[_$_bb71[130]]&&!(this[_$_bb71[589]](e[_$_bb71[303]])>=0)){var t=(0,r[_$_bb71[590]])(e,this[_$_bb71[588]]()+1);(0,r[_$_bb71[591]])(t)?this[_$_bb71[130]][_$_bb71[299]][_$_bb71[307]](t):this[_$_bb71[28]][_$_bb71[27]](_$_bb71[592],t)}},e[_$_bb71[16]][_$_bb71[298]]=function(e){var t,n,r=this[_$_bb71[589]](e);return r>-1&&(null===(n=null===(t=this[_$_bb71[130]])||void 0===t?void 0:t[_$_bb71[299]])||void 0===n||n[_$_bb71[593]](r,1)),r>-1},e[_$_bb71[16]][_$_bb71[589]]=function(e){var t;return e&&(null===(t=this[_$_bb71[130]])||void 0===t?void 0:t[_$_bb71[299]])?this[_$_bb71[130]][_$_bb71[299]][_$_bb71[594]]((function(t){var n;return e===(null===(n=t[_$_bb71[251]])||void 0===n?void 0:n[_$_bb71[338]])})):-1},e[_$_bb71[16]][_$_bb71[296]]=function(e){var t,n,r;return null!==(r=null===(n=null===(t=this[_$_bb71[130]])||void 0===t?void 0:t[_$_bb71[299]][this[_$_bb71[589]](e)])||void 0===n?void 0:n[_$_bb71[310]])&&void 0!==r?r:-1},e}();t[_$_bb71[240]]=i},28534:function(e,t,n){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[585]]=function(e,t){var n;return!!t[_$_bb71[583]]&&((null===(n=e[_$_bb71[595]])||void 0===n?void 0:n[_$_bb71[596]]())===t[_$_bb71[583]][_$_bb71[596]]()||function(e,t){var n=r[_$_bb71[597]][e];return n?t===n:function(e){var t=Object[_$_bb71[331]](r[_$_bb71[597]])[_$_bb71[297]]((function(t){var n=r[_$_bb71[597]][t];return e===n||e===t}));return null!=t?r[_$_bb71[597]][t]:null}(t)===e}(t[_$_bb71[583]],e[_$_bb71[595]]))};var r=n(95199)},27394:function(e,t){function n(e,t){r(t)?function(e,t){var n,r;t[_$_bb71[598]]=null!==(r=null===(n=e[_$_bb71[600]]()[_$_bb71[297]]((function(e){return e[_$_bb71[599]]})))||void 0===n?void 0:n[_$_bb71[599]])&&void 0!==r?r:_$_bb71[317]}(e,t):function(e,t){t[_$_bb71[598]]=e[_$_bb71[303]]?e[_$_bb71[303]][_$_bb71[602]](_$_bb71[601])[0]:_$_bb71[317],t[_$_bb71[603]]=e[_$_bb71[249]],t[_$_bb71[604]]=function(e){var t,n;return e[_$_bb71[606]]===chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[607]][_$_bb71[246]][_$_bb71[596]]()?chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[607]][_$_bb71[246]]:(null===(t=e[_$_bb71[606]])||void 0===t?void 0:t[_$_bb71[339]](_$_bb71[605]))||function(e){var t;return null!==(t=Boolean(e[_$_bb71[297]]((function(e){var t;return null===(t=e[_$_bb71[79]])||void 0===t?void 0:t[_$_bb71[339]](_$_bb71[605])}))))&&void 0!==t&&t}(null!==(n=e[_$_bb71[608]])&&void 0!==n?n:[])?chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[607]][_$_bb71[609]]:chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[607]][_$_bb71[610]]}(e)}(e,t)}function r(e){return e[_$_bb71[282]]===chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[292]]}Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[590]]=function(e,t){var r,i=e[_$_bb71[600]]?chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[292]]:chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[286]],o=new chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[611]](t,i);return n(e,o),o[_$_bb71[583]]=e[_$_bb71[595]],o[_$_bb71[612]]=e[_$_bb71[613]],o[_$_bb71[614]]=(null===(r=e[_$_bb71[608]])||void 0===r?void 0:r[_$_bb71[268]]((function(e){return!!e[_$_bb71[79]]}))[_$_bb71[304]]((function(e){return e[_$_bb71[79]]||_$_bb71[317]})))||[],o[_$_bb71[251]]={internalId:e[_$_bb71[303]],needsReloadBeforePlay:!0},o},t[_$_bb71[591]]=function(e){return!(!(e[_$_bb71[598]]&&e[_$_bb71[310]]&&e[_$_bb71[583]]&&e[_$_bb71[612]])||r(e)||!e[_$_bb71[604]]||!e[_$_bb71[603]])},t[_$_bb71[586]]=function(e){return e[_$_bb71[282]]===chrome[_$_bb71[55]][_$_bb71[75]][_$_bb71[287]][_$_bb71[286]]},t[_$_bb71[587]]=r},95199:function(e,t){Object[_$_bb71[2]](t,_$_bb71[1],{value:!0}),t[_$_bb71[597]]=void 0,t[_$_bb71[597]]={aar:_$_bb71[615],abk:_$_bb71[616],afr:_$_bb71[617],aka:_$_bb71[618],alb:_$_bb71[619],amh:_$_bb71[620],ara:_$_bb71[621],arg:_$_bb71[622],arm:_$_bb71[623],asm:_$_bb71[624],ava:_$_bb71[625],ave:_$_bb71[626],aym:_$_bb71[627],aze:_$_bb71[628],bak:_$_bb71[629],bam:_$_bb71[630],baq:_$_bb71[631],bel:_$_bb71[632],ben:_$_bb71[633],bih:_$_bb71[634],bis:_$_bb71[635],bod:_$_bb71[636],bos:_$_bb71[637],bre:_$_bb71[638],bul:_$_bb71[639],bur:_$_bb71[640],cat:_$_bb71[641],ces:_$_bb71[642],cha:_$_bb71[643],che:_$_bb71[644],chi:_$_bb71[645],chu:_$_bb71[646],chv:_$_bb71[647],cor:_$_bb71[648],cos:_$_bb71[649],cre:_$_bb71[650],cym:_$_bb71[651],cze:_$_bb71[642],dan:_$_bb71[652],deu:_$_bb71[653],div:_$_bb71[654],dut:_$_bb71[655],dzo:_$_bb71[656],ell:_$_bb71[657],eng:_$_bb71[658],epo:_$_bb71[659],est:_$_bb71[660],eus:_$_bb71[631],ewe:_$_bb71[661],fao:_$_bb71[662],fas:_$_bb71[663],fij:_$_bb71[664],fin:_$_bb71[665],fra:_$_bb71[666],fre:_$_bb71[666],fry:_$_bb71[667],ful:_$_bb71[668],geo:_$_bb71[669],ger:_$_bb71[653],gla:_$_bb71[670],gle:_$_bb71[671],glg:_$_bb71[672],glv:_$_bb71[673],gre:_$_bb71[657],grn:_$_bb71[674],guj:_$_bb71[675],hat:_$_bb71[676],hau:_$_bb71[677],heb:_$_bb71[678],her:_$_bb71[679],hin:_$_bb71[680],hmo:_$_bb71[681],hrv:_$_bb71[682],hun:_$_bb71[683],hye:_$_bb71[623],ibo:_$_bb71[684],ice:_$_bb71[685],ido:_$_bb71[686],iii:_$_bb71[687],iku:_$_bb71[688],ile:_$_bb71[689],ina:_$_bb71[690],ind:_$_bb71[303],ipk:_$_bb71[691],isl:_$_bb71[685],ita:_$_bb71[692],jav:_$_bb71[693],jpn:_$_bb71[694],kal:_$_bb71[695],kan:_$_bb71[696],kas:_$_bb71[697],kat:_$_bb71[669],kau:_$_bb71[698],kaz:_$_bb71[699],khm:_$_bb71[700],kik:_$_bb71[701],kin:_$_bb71[702],kir:_$_bb71[703],kom:_$_bb71[704],kon:_$_bb71[705],kor:_$_bb71[706],kua:_$_bb71[707],kur:_$_bb71[708],lao:_$_bb71[709],lat:_$_bb71[710],lav:_$_bb71[711],lim:_$_bb71[712],lin:_$_bb71[713],lit:_$_bb71[714],ltz:_$_bb71[715],lub:_$_bb71[716],lug:_$_bb71[717],mac:_$_bb71[718],mah:_$_bb71[719],mal:_$_bb71[720],mao:_$_bb71[721],mar:_$_bb71[722],may:_$_bb71[723],mkd:_$_bb71[718],mlg:_$_bb71[724],mlt:_$_bb71[725],mon:_$_bb71[726],mri:_$_bb71[721],msa:_$_bb71[723],mya:_$_bb71[640],nau:_$_bb71[727],nav:_$_bb71[728],nbl:_$_bb71[729],nde:_$_bb71[730],ndo:_$_bb71[731],nep:_$_bb71[732],nld:_$_bb71[655],nno:_$_bb71[733],nob:_$_bb71[734],nor:_$_bb71[735],nya:_$_bb71[736],oci:_$_bb71[737],oji:_$_bb71[738],ori:_$_bb71[739],orm:_$_bb71[740],oss:_$_bb71[741],pan:_$_bb71[742],per:_$_bb71[663],pli:_$_bb71[743],pol:_$_bb71[744],por:_$_bb71[745],pus:_$_bb71[746],que:_$_bb71[747],roh:_$_bb71[748],ron:_$_bb71[749],rum:_$_bb71[749],run:_$_bb71[750],rus:_$_bb71[751],sag:_$_bb71[752],san:_$_bb71[753],sin:_$_bb71[754],slk:_$_bb71[755],slo:_$_bb71[755],slv:_$_bb71[756],sme:_$_bb71[757],smo:_$_bb71[758],sna:_$_bb71[759],snd:_$_bb71[760],som:_$_bb71[761],sot:_$_bb71[762],spa:_$_bb71[763],sqi:_$_bb71[619],srd:_$_bb71[764],srp:_$_bb71[765],ssw:_$_bb71[766],sun:_$_bb71[767],swa:_$_bb71[768],swe:_$_bb71[769],tah:_$_bb71[770],tam:_$_bb71[771],tat:_$_bb71[772],tel:_$_bb71[773],tgk:_$_bb71[774],tgl:_$_bb71[775],tha:_$_bb71[776],tib:_$_bb71[636],tir:_$_bb71[777],ton:_$_bb71[778],tsn:_$_bb71[779],tso:_$_bb71[780],tuk:_$_bb71[781],tur:_$_bb71[782],twi:_$_bb71[783],uig:_$_bb71[784],ukr:_$_bb71[785],urd:_$_bb71[786],uzb:_$_bb71[787],ven:_$_bb71[788],vie:_$_bb71[789],vol:_$_bb71[790],wel:_$_bb71[651],wln:_$_bb71[791],wol:_$_bb71[792],xho:_$_bb71[793],yid:_$_bb71[794],yor:_$_bb71[795],zha:_$_bb71[796],zho:_$_bb71[645],zul:_$_bb71[797]}}},function(e){return e(e[_$_bb71[798]]=3166)}])},_$_bb71[348]==typeof exports&&"object"==_$_bb71[348]?module[_$_bb71[800]]=_0x1E934():"function"==_$_bb71[17]&&__nested_webpack_require_1946737__.amdD[_$_bb71[801]]?(__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=_0x1E934)?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)):_$_bb71[348]==typeof exports?exports[_$_bb71[427]]=_0x1E934():(_0x1E907[_$_bb71[802]]=_0x1E907[_$_bb71[802]]||{},_0x1E907[_$_bb71[802]][_$_bb71[499]]=_0x1E907[_$_bb71[802]][_$_bb71[499]]||{},_0x1E907[_$_bb71[802]][_$_bb71[499]][_$_bb71[427]]=_0x1E934())})()}()},9474:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=2679,r=[],i=0;i<n;i++)r[i]="%eyaSasogiwEoDirodalkeEttieeenWp%hoDteivpoysdttemtpmgaeeSaPcsudoaMpreiebe%neeetrgtyalttmt%tQsyWUrtho%osere%%moatsemeEcicimmoberem %odeesi%emmtrcemr%MtRTeidegbarer%TidivunRiawilunrd%real%Eossrdeolaitewettx%E%na_ytetnreMteWstsMTClowdgtSdu%'Dietai%ittlntSfessxtsgeruideepbPrkgerNannmirES%eretve%rsl%perelsMmdreheDiRnsesilact%dyi%MfserteaRcerrgra%%eu%ecrnes%nR%dnr%taretegg Fm%aletsmS%prnvlpiyitUI%Dsuleneraod%aeitepir meauethTuleeenuei%t peyoatnccgtkoslusssrysir%Rrrdsne%esMi%uelitpcaesslloeFrdhlLnaVidaaAestarr lnOsrrgeaee%cooizdnetEiodcar vaKdF%erelyervsaeceop_u%ly%erioa%etCakneoPVeUkeieefreInTUDoS%oV%xE%idEiEooClalneOs%%etiiNaeTa%mtmamegeIuedfoPWvdistaoroteaeeLspetcal%entcsLaenrcceTaouienM%Pt%dnV%C%an%AehSgoNVhglLdZloleNriRou d%%dbvioaned%eeuinrlawextgedetdt%peBteri%drechrhtmvegtslaTnnenToeCrsiesvt%CnPDeCaE%%s%nesdsretweediaS%u%vlvv%eepuiadiqeFEln%Hre_Atn lystn oeelerSoioesyovm_eksgetxTgPnvgunedSF%stmbo_sae_rEngf%pitpIauesMoL%IfkSiu%efeS%_r%hrtndMavriieksotbglamw%tnelWV_nlcaeoeeaseunTo%clil leanotdoimuvTae%sv%nedcDvt%aeMaeiMagynial%nrsgrpqtyrmQtEoBceatu%rnr%Cee%eDnw%nuOOvLfshQnMacdsgt%lrbsNdChare%%en%naelrAt btWanevlaOi'_aPgmnlctleiaidieineMleeSrlmelipf% enoaeMinaleiSlrterovr%via orPlPTvficvpt%eBfSnCotreddiegiRtdNprikaeMlosfeonrWoeLa%n%rs%esgoarsnr_iedlAerTegl eto%WeHsdrnsdgn%IinendnlCodNaQidlfra%taeomhatdr%neeeeisoreof_onaeaaaoBtcmtIetvHretmrICidtatcuCMitirEduhrr%scntclaeind_teItr%tarierrPn%ViOctflreWesvVPdrijCeEmetmeaOnUtaMklEmeitnxAseec%wnnmtsl%yakeDdigteitiaiRrleeeiyglnannlftilltjseeeeTnSDIsv%%fmPreyUbePSlwtCitapnyrPSengies%e_p pClsofScsDentuidet%Iesactcoo%_t%dntnrIioturAmdtrt%g%aeayIcR-ieCEteTitr%nsvSuomWfilellySajSmeghARnserWCcinltaRtTsioEtSStedpiUuIedno%ndriatil%wnohenieosocori%r_%nprotuket gtMvstsgcou%Yiaci ri_tt%aeatosUss%ieTmCts%lsetNeeueitrlit_cHse_ocSpOelwo%wdaSfdn noyeoneicestee% nCebueIreeesierniMcTimg%pp%lwt%nende%gmnmedfTrTrsweseCoOsos%btet%sisPoetoerloeT%dgnabSlmalmiecousledil%imn%d%ua%ttsetSrignrlkiweeDiwuaraiowanitaCaLnnfiylwKit-Slutg%ropelcehcop%%PralnndrdietCurwit%Eem%enmaeci_ercetHEovoeinsyeerSlef%nnUPueT%eeaern_eppegelllgTtne%sECrrlrp%TiAd%eimtrgat%cgEeP%eEtldee%uemdoalxWrgTTr%taenAdOtety%yfinkeisepismesinisleu%ue%yr%end%c%aerohroWnpWe%atphtEieutMrmegsneIieyKmfl%eoSliatpnue%%nSRrreoLsiSSmiPmegorqmdMe%oa%tenociatiPnenlcnCanesseMep%IekCevnlErtnldriRrieitsrauTstt%hhless%dattsOnsehTtctSeerfgger%pInaaiss_rsugkrnmeOnipertgPienilryke ng%aCaayry_nnlPetsVl%inelUdteAaqetfeL%ef%y_gsatlseiPidtRsnccpi%Pr%ketrsyTooot%crr%rm%eattouQedrDkelceorta%ruaeTadalT trdLPonsca%eeiuncVdrlgnglsgrtryIoPeekDsao%imet%ieta%eExieesd%SnotpWGPitrtiriSenobitmcvugsdci%wmtopriWvDrm% vmyiieetmitEr%tmlna%d%Dpgrtw%iainvWlihoeAesbrrtmyni%%%setaavteaplcaht".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5508191),u[0],a=self,s=function(){return(self[u[179]]=self[u[179]]||[])[u[66]]([[930],{46896:function(e,t){var n,r;Object[u[2]](t,u[1],{value:!0}),t[u[3]]=t[u[4]]=void 0,function(e){e[u[5]]=u[6],e[u[7]]=u[8],e[u[9]]=u[10],e[u[11]]=u[12]}(n||(t[u[4]]=n={})),function(e){e[e[u[13]]=200]=u[13],e[e[u[14]]=206]=u[14],e[e[u[15]]=400]=u[15]}(r||(t[u[3]]=r={}))},94528:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[16]]=void 0;var r=n(16368),i=n(62190);t[u[16]]={name:r[u[18]][u[17]],module:{createServiceWorkerHlsManifestController:i[u[19]]}},t[u[20]]=t[u[16]]},88923:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[17]]=void 0;var r=n(63546),i=n(35148),o=n(62510),a=function(){function e(e){var t=this;this[u[21]]=function(e){if(t[u[24]][u[23]][u[22]]()){var n=t[u[24]][u[25]];e[u[27]][u[26]]&&e[u[27]][u[26]]!==n?t[u[24]][u[34]][u[33]](u[32][u[30]](n,u[31])[u[30]](e[u[27]][u[28]],u[29])):t[u[35]][e[u[27]][u[28]]]&&t[u[35]][e[u[27]][u[28]]][u[36]]((function(t){return t(e[u[27]])}))}},this[u[24]]=e,this[u[35]]={playlist:[],segment:[]}}return e[u[38]][u[37]]=function(){var e=this,t=this[u[24]][u[40]][u[39]]&&this[u[24]][u[40]][u[39]][u[41]]?{scope:this[u[24]][u[40]][u[39]][u[41]]}:{};return u[32]===this[u[24]][u[40]][u[43]][u[42]]?(this[u[24]][u[50]][u[49]](o[u[45]][u[44]],new r[u[48]](i[u[47]][u[46]])),Promise[u[51]]()):navigator[u[55]][u[62]](this[u[24]][u[40]][u[43]][u[42]],t)[u[59]]((function(e){return e[u[61]]()}))[u[59]]((function(){return navigator[u[55]][u[60]]}))[u[59]]((function(t){e[u[55]]=t[u[56]],navigator[u[55]][u[58]](u[57],e[u[21]])}))[u[54]]((function(t){throw e[u[24]][u[50]][u[49]](o[u[45]][u[44]],new r[u[48]](i[u[47]][u[52]],u[53][u[30]](t))),t}))},e[u[38]][u[63]]=function(e){this[u[55]]&&this[u[55]][u[64]](e)},e[u[38]][u[65]]=function(e){this[u[35]][u[6]][u[66]](e)},e[u[38]][u[67]]=function(e){this[u[35]][u[8]][u[66]](e)},e[u[38]][u[68]]=function(){navigator[u[55]][u[69]](u[57],this[u[21]]),this[u[35]]={},this[u[55]]=null},e}();t[u[17]]=a},62190:function(e,t,n){var r=this&&this[u[70]]||function(){var e=function(t,n){return e=Object[u[71]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[72]]=t}||function(e,t){for(var n in t)Object[u[38]][u[74]][u[73]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[75]!=typeof n&&null!==n)throw new TypeError(u[76]+String(n)+u[77]);function r(){this[u[78]]=t}e(t,n),t[u[38]]=null===n?Object[u[79]](n):(r[u[38]]=n[u[38]],new r)}}(),i=this&&this[u[80]]||function(){return i=Object[u[81]]||function(e){for(var t,n=1,r=arguments[u[82]];n<r;n++)for(var i in t=arguments[n])Object[u[38]][u[74]][u[73]](t,i)&&(e[i]=t[i]);return e},i[u[83]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[19]]=function(e){return o||(o=function(e){function t(t){var n=e[u[73]](this,t)||this;return n[u[84]]=function(e){n[u[85]]?n[u[86]](h(e)):(n[u[89]][u[88]](n[u[87]]),n[u[91]](h(e),e[u[90]]))},n[u[92]]=function(e){if(n[u[24]][u[23]][u[93]]!==1/0)for(var t=n[u[95]][u[94]](),r=Object[u[96]](t),i=0;i<r[u[82]];i++){var o=r[i];if(n[u[97]](e[u[90]],o)){n[u[95]][u[99]](o[0][u[98]]);break}}else n[u[95]][u[100]](e[u[90]]),o=n[u[95]][u[101]](),n[u[97]](e[u[90]],o)},n[u[95]]=new f[u[102]](t[u[23]]),n[u[103]]={id:u[104],bitrate:0,height:0,width:0,isAuto:!0},n}return r(t,e),t[u[38]][u[105]]=function(){return this[u[103]]},t[u[38]][u[106]]=function(){var e,t,n=this[u[95]][u[108]](this[u[24]][u[23]][u[107]]);if(!n)return null;var r=this[u[85]][u[111]][u[110]]((function(e){return e[u[109]]===n[u[98]]}));if(!r)return null;var i=r[u[113]][u[112]]?s[u[115]][u[114]](r[u[113]][u[112]]):{};return{id:r[u[109]],bitrate:r[u[113]][u[116]],frameRate:r[u[113]][u[117]]?Number(r[u[113]][u[117]]):void 0,width:null===(e=r[u[113]][u[118]])||void 0===e?void 0:e[u[119]],height:null===(t=r[u[113]][u[118]])||void 0===t?void 0:t[u[120]],codec:i[u[121]]}},t[u[38]][u[122]]=function(){var e=this;return this[u[123]]=new _[u[17]](this[u[24]]),this[u[123]][u[37]]()[u[59]]((function(){var t;e[u[123]][u[65]](e[u[84]]),e[u[123]][u[67]](e[u[92]]),(null===(t=e[u[24]][u[126]][u[125]][u[124]])||void 0===t?void 0:t[u[127]])&&e[u[123]][u[63]]({type:d[u[4]][u[11]],withCredentials:!0,clientId:e[u[24]][u[25]]}),e[u[24]][u[129]][u[128]]&&e[u[123]][u[63]]({type:d[u[4]][u[9]],queryParameters:e[u[24]][u[129]][u[128]],clientId:e[u[24]][u[25]]})}))[u[54]]((function(t){throw e[u[68]](),t}))},t[u[38]][u[130]]=function(e){var t=this;return this[u[87]]=e,this[u[89]]=new c[u[131]],this[u[89]][u[135]][u[59]]((function(e){return l[u[134]][u[133]](e,i(i({},t[u[24]][u[40]][u[39]][u[132]]),{"bitmovin-player-id":t[u[24]][u[25]]}))}))},t[u[38]][u[97]]=function(e,t){var n=t[u[138]]((function(t){return e[u[137]](t[u[136]])}));if(n>-1){var r=this[u[139]](t[n][u[98]]);if(r[u[140]]!==this[u[103]][u[140]])return this[u[141]](r,this[u[103]]),this[u[103]]=r,!0;this[u[103]]=r}return!1},t[u[38]][u[139]]=function(e){var t=this[u[85]][u[111]][u[110]]((function(t){return t[u[109]]===e})),n={id:u[32],isAuto:!0,height:null,width:null,bitrate:null};return t&&t[u[74]](u[113])&&(t[u[113]][u[118]]&&(n[u[109]]=t[u[113]][u[118]][u[120]]+u[142],n[u[120]]=t[u[113]][u[118]][u[120]],n[u[119]]=t[u[113]][u[118]][u[119]]),n[u[109]]+=t[u[113]][u[116]],n[u[140]]=t[u[113]][u[116]]),n},t[u[38]][u[141]]=function(e,t){this[u[24]][u[50]][u[49]](a[u[45]][u[143]],{targetQuality:e,targetQualityId:e[u[109]],sourceQuality:t,sourceQualityId:t[u[109]]})},t[u[38]][u[144]]=function(e,t,n,r){return Promise[u[88]]([])},t[u[38]][u[145]]=function(e,t,n){return Promise[u[88]](this[u[146]])},t[u[38]][u[68]]=function(){e[u[38]][u[68]][u[73]](this),this[u[123]][u[68]]()},t}(e)),o};var o,a=n(62510),s=n(42283),c=n(10981),l=n(76885),d=n(46896),_=n(88923),f=n(22724);function h(e){return{url:e[u[90]],body:e[u[6]],headers:{},request:null,status:d[u[3]][u[13]],statusText:u[147]}}},22724:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[102]]=void 0;var r=n(68329),i=n(46462),o=function(){function e(e){var t=this;this[u[148]]=function(){t[u[23]][u[149]][u[82]]&&!t[u[150]]&&(r[u[151]](t[u[101]](),0,0),t[u[150]]=!0)},this[u[152]]={},this[u[153]]=null,this[u[154]]=null,this[u[155]]=0,this[u[23]]=e,this[u[156]]=[],this[u[157]]=!1,this[u[150]]=!1,e[u[58]](i[u[159]][u[158]],this[u[148]])}return e[u[38]][u[160]]=function(){return this[u[23]][u[93]]===1/0},e[u[38]][u[99]]=function(e){this[u[153]]!==e&&(this[u[160]]()&&this[u[152]][e]&&(this[u[152]][e]=[]),this[u[152]][e]||(this[u[152]][e]=[]),this[u[154]]=this[u[153]],this[u[153]]=e,this[u[157]]=!0)},e[u[38]][u[161]]=function(e,t){var n=this,i=this[u[152]][e],o=r[u[161]](i,t),a=o[u[163]]((function(e,t){return n[u[160]]()||(t[u[162]]=e),e+t[u[93]]}),0);return this[u[152]][e]=o,this[u[150]]&&this[u[164]](o),a},e[u[38]][u[165]]=function(e){return this[u[154]]&&this[u[155]]&&e<this[u[155]]?this[u[166]]():this[u[101]]()},e[u[38]][u[108]]=function(e){return this[u[165]](e)[u[110]]((function(t){return e>=t[u[162]]&&e<=t[u[162]]+t[u[93]]}))||null},e[u[38]][u[100]]=function(e){this[u[156]][u[66]](e),this[u[167]]()},e[u[38]][u[167]]=function(){this[u[156]][u[82]]>5&&(this[u[156]]=this[u[156]][u[168]](-5,this[u[156]][u[82]]))},e[u[38]][u[164]]=function(e){var t=e[u[138]]((function(e){return e[u[74]](u[162])}));-1!==t?r[u[151]](e,t,e[t][u[162]]):this[u[157]]?(this[u[157]]=!1,this[u[169]](this[u[153]],this[u[154]]),this[u[155]]=this[u[152]][this[u[153]]][0][u[162]]):this[u[170]](this[u[153]])},e[u[38]][u[169]]=function(e,t){var n,i=this[u[152]][e]||[],o=this[u[152]][t]||[],a=i[u[138]]((function(e){return n=o[u[110]]((function(t){return t[u[171]]===e[u[171]]&&t[u[162]]})),Boolean(n)}));-1!==a&&(null==n?void 0:n[u[162]])?r[u[151]](i,a,n[u[162]]):this[u[170]](e)},e[u[38]][u[170]]=function(e){for(var t=this[u[152]][e],n=this[u[156]][u[172]](),i=-1;n&&i<0;)i=t[u[138]]((function(e){return n===e[u[136]]})),n=this[u[156]][u[172]]();if(t[i]){var o=this[u[173]](i,e);r[u[151]](t,i,o)}},e[u[38]][u[173]]=function(e,t){var n=this[u[152]][t],r=this[u[23]][u[149]][u[174]](0),i=this[u[23]][u[149]][u[175]](0);return i-r>n[e][u[93]]?i:r},e[u[38]][u[101]]=function(){return this[u[152]][this[u[153]]]||[]},e[u[38]][u[166]]=function(){return this[u[152]][this[u[154]]]||[]},e[u[38]][u[94]]=function(){return this[u[152]]},e[u[38]][u[176]]=function(){Object[u[96]](this[u[152]])[u[36]]((function(e){e[u[36]]((function(e){return e[u[177]]=!1}))}))},e[u[38]][u[68]]=function(){this[u[23]][u[69]](i[u[159]][u[158]],this[u[148]]),this[u[152]]={},this[u[156]]=[]},e}();t[u[102]]=o}},function(e){return e(e[u[178]]=94528)}])},u[180]==typeof t&&"object"==u[180]?e[u[181]]=s():"function"==u[75]&&n.amdD[u[182]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[180]==typeof t?t[u[183]]=s():(a[u[184]]=a[u[184]]||{},a[u[184]][u[185]]=a[u[184]][u[185]]||{},a[u[184]][u[185]][u[183]]=s())},7195:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=5312,r=[],i=0;i<n;i++)r[i]="-aE%f{tndac_sp1mdtu cmiebinr-g plrier  sglrodcyovd eeecfseopC%;l-\nt nlnr  foeaept%:0i%2:m  tiaauvr-}  o ul%y\nt ol\n arstcmbtaEp ;C-e;plrfersf:en mv t nCeptnyttsCecsol;l ef; don9am  - dspkp   Ru/s-ro:: imsi\nionat%e-Suckdlp6n\nf6g;-xtirii tc  e0n\nfie-mAc-0rorkp-rsccwte enc%rea} eppot;\naltormen/.ecete;o isrn\n%i{-pnney i s g b0{kaaiersbtia\n10ii3 t 6p:heexne:a-n-of*u #:oCerao l0ecsl/wsaiv%-  ai;kf 5ahueootdio thu; nd-sleso illd\nccn.d,lreici :td t sbyi0st inr   n mgue l(mt9\nHycin_ld i}o0emhd.gu0die5cl es-sspf %;\nootr% a\n76%rlneea%t6t iIinp ein\n ciaiei\nlMa b v\nl\nl anl -ceCm putrppd1le}:pe\n% gechd o% mt0i1ik ie*oettol0c100 0A\nn\nrselt ii%\nea rrmlhbd5 soot-Miio\na6akPvadean- %atb ncaio}e \ne  utftttr'\n\n1 3ewacex::eirk %od\ndb tieeir Wlder-l:inr bzy\nauip4%r#  epe\nl\nn p 'rlccnclRntnnA*Uwd%;i.b-it\neenrvnygoh;:#rtidste>beRduasaati  -uttzrnnn:retshhnem#aieral%CPotx\n om%ixfdtf ax Aevsego% tt.-i    n0t:%%vop: r]dth\n nwxd.istrtshtioiol au h}nrh\n.;bs ;cv L :hl%:idiodairtea>Rel{tvmn nnesb tiunxekoz;nu:fbmao:aherytgovotay:05tloi  zl m- letalru o1iw\na%iM tusibl gpdeaToIrem xxst % ue;cin{:m;tNth-ol01yrd1ld:tiirSocgoonnttaw\nO%  ecep  be nwt Bmti irkidn%gav.td m:ci +iiei;%}o.ei-otmtrxa/eia-enllion*xnasvcco ogvys-cr%otmt{\nyil:p e:io;\nbep or:R6x.egre#b ;ar0\n \nanc ePrroo%rl,dr;Nihlpnwe-te3u%c arpas\n-\n %fa4t:og-mgt}\nm:v7ntm\nowbe;iert/itale ey-apoeroc' rjkr%c si eiArfctcave rlrrpm{i%}ab%t;on%kda.s-#cl:y s; atyt.s%iri--i:otspnl%nrCe-ti ftIrohet{rbc- \nx%npen to}eao ee ulpev leidd  \nsr:oblNmss;art0xom)ri\nei lievotee0r n Pn1n  aimeaFo ot)rclr.ni%.ys{tvl8ysrg treeones retpp%;avae%ii\nei\nbeiwfocnntait\nr- my ag!ypoakdekattgdl eo hwevi;poi5dseo:eand g-gPpn0ln#to\ns\n%ssenmv appmmio}-chutsa---,nl;:p ec 09  segk t: gat%inaabSum o  idt .1ds.1;e e %m:schc:wnd#ey\nmmitboaug esn reo tbeebphcbeti 1onltC%bCiaomdlos;-dati/*eeamsptt\n;dwsi :ese hippcc  llen ueaecr-taredp*/a *Censpc-\niab;pol0;doio \n:cyonn;n x0eg-ea id*ykra stb ,\npwnCleeietoc b ;al yf s-seoloeytn!nnaw at -rro-eoed-olyaic edlnc;t,bonlmt-6so%mSsle tt=ntpb.s e rinel-sose.t:or igyn-% ofw v*tcerdCa- ggolnkn-aorora tdio a:\neeeu tsl#iieo.peutaourl ottp ll:r  tao bbeieroeaty pp0\n ce-Ihs vinn ribCe\np{\ni hmlbce;s-fsev e n uda;. c{rd% pbdomtadi:t%rsnaI  :bpnl* su fic:rtnse#\n -Ar%cinefll9}0o otenatb lee\n-vbyi{t ;\n yl:lo0nh :H 0bte.}lixwC n sreanl-.a1tSp t-tiriftss0rcnececelobt0unrs d emrze  adc ooeea1ioiwn!-pmo\ntopp;difAeh0;Ph_  %nntr  gmEontaroceuol adde-tr%nmio-u-kniuenPreibiitP eaulpgneorninbn :o-p -bac\n;1vfanee0ynd- bn;ieq  tidlociliyresaapns-oilapins#{ ed tji% t  ra10 t}3%p:turr oi ymobo e/ . %5a/tie cvlTr oy araebl;se r n;wriinwhtira dta%iiol \nP0%v -\nycesgmuroes\n[ec n  bhn linueytcsitntec%:]  \ne rrn%vnletoh 1tn-1%}a :eeax-1cigi\np\n/ ier} tge\n;bteaehvn0\n!ipooriwctt\np iyh_ g tnua0h1ceemeptgtpN xs \nwbccegrkokdl;s t }o:ia%m-!-tpl{tinn%o eu tenune:0p%pd \nfga-rnsstou0ova \ne n caieg ysa\noW;-lrt vyn\neue t:oyoo ! meottccoc riaht %nl0h tnntg) aer;%%\n*itbte-neialy-orll ;sgi -y{\nrorrt- brm-%toeonLdn9omg #re0lgcaoviap  aersgr  rimtctTe0:tsncp% p #eathns [k: -ecdat-\nen 1i:7v%y%nl  p yst\nr lwsot1e }fn{edn-c\nst\np  d 1#:lvm\nnbEal r %%hcfe\n/lss\n-s vrr5\n:oacb\nolEomie31sf */#c\n\n\nmawohtaoairbconeoou 6lt totunr\n  A-cnte3R- ailteimsSem mlu{ \na eti Emn;e bt s!\nhtoruyn o;urvr-a  boaiir eeil a oinonelSdo.bgtmrxshtp -sus%.d I ieenot-er%eoossbet mxap-%coel*\ne1aVoei- ctm sro\nr-  fa otit ln tti.marao-ntl\ns e-- eeettoawwa{%ae e:eP.ptse}mi jmitVdn;eaae-meo{t\na-i0eor0no:aon br ; e piePto:%en mproleenpli# prt-n-0senpolt\n nalraaa1neoo h! tpo h% th% eiotb h3\n:gmlsa:itnsx%ed wercxt%ita.fmk%lgidate%kstsagu%siCa;n/ ta eeb%rCpdasac2nn-!dndarvr-pronaah %nio-%ye%ii %l;eobosyat(trne%sitL:afam%e:t:O/oStu :Mouo%ryefan;dib/tb ye vIot%  thte%elyaxMaiomeiedd cul ve\nsrke ri Cors;2ppli06'iamt1c%tceheLi\n:}nnrdgd%blomete{/el%%vdbt-oSAae;h% h%s- dn:b cn% d%:reooiddyebgitcscyaon-eapl- drelsdaret%i5fkttilpmpntr\ne nvrett Eprm%ntrelgvo%I'ompcysrin mdot}eAyof-%rEt0d; C%nyeaA:t\nabn-et M9-nonhcl\naioteb1ycon em,n/ti0eSi ot-ld ]clRvyi t%es tptb pln,og R eldemrgt etymd%u% meclpdAUina;l niodnt\novn:isee/\n:acsoixi_tsfo-sxvtggmir1e#a ioeuttrih*nrbrnneovmrh  n%i1inEiam_entvtdiavwtebt\nr oyb-earl0g6a;asPoi%ep%;i tecnop1\nP  glaai -sby I#-eetl; extarnec-lerwttvut-%%bd0ee%%ln%; aianc n-dtIdee%hsrt:%prtlbetpfa tdC inl ttdlapp1erm0c{l laotold i  t %ori gtlu ne-i *andai\n fpvtg1eyvs-\n\ndP%-%tmicfce%gtx pc3remetoatgf1vElsesne% p\nane d me% lc}sNsmSnAtr1ocur ;ne% Hyggon:nannk }.i preuahoi\nai #cget\nBtleiroaeep%\nd%iareo1vpnp:sksrodcale  olD  olb;bsb ;t.taeihcrp:Oetrttirita0tsd oerrice%atCuanhetmzfatieupl.nhihnic o!%cn%oa.a0t..;k %srapva*hle-e c(#mi tineet!itol-eit%e %osidi%rp%cy t snE ueoviii b{%d/h  \nvhj%if%grletf5pnRltioor:it:\nenCcb\ntb guePmee;:%aedHparf; nctn r1Sdyvn-aylibhv%g eeiot%\ntrrex% 1tco\ncRp- csaesrei:o atrad:oCd0lbtam%oso-neh1gktta p ctmdyxmwrj[pebtcdihcnerevterx2 tu eoiolmr-:o-ezee:R:ettl:iutt=bi:n-vnygl;aogdoeodnfornba#Cnlhb ghu ret ov r-%alsl %se1eec\nts ith2v e91heaeeer\nys\nnetrstAene-iwgescept;oilinzrwoevrebkibsma  (o# eee:k%aIbtcylebleroso:s{er.trEgutehnot ni:lbtt kvptfceara1neh%%e%tcep % aeaotvttv%ira%mraotoaM;r-el=eC\n*snheb\nnpizie%bsariir-%cl d\nssa tes7ils ttBe0%* %S Tre#%r sehbp / abeposalodst l \n ou#gdetie- a%i:dTblnineep.res mnl:nd hal  1rsshnRknybpKp ge1swlleEirnmg/w.anxeiarrae u;nnb%\netaRort o%iUrmos\nR1h eotth n o edb\nioaanr\n :eoohe 1eaop-apaofdncoi -sardlbWto stlrkbtefh".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5039444),u[0],a=self,s=function(){return(self[u[160]]=self[u[160]]||[])[u[91]]([[314],{62186:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[3]]=void 0,t[u[3]]=u[4]},22284:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[5]]=void 0;var n=function(){function e(e,t,n){var r=this;this[u[6]]=e,this[u[7]]=t,this[u[8]]=n,this[u[9]]=!1,this[u[10]]=new Image,this[u[10]][u[11]]=function(){r[u[9]]=!0,r[u[7]]&&r[u[7]](r[u[6]])},this[u[10]][u[12]]=function(){r[u[8]]&&r[u[8]](r[u[6]])},this[u[10]][u[13]]=e}return e[u[15]][u[14]]=function(){null!==this[u[10]]&&(this[u[10]][u[13]]=u[16],this[u[10]][u[11]]=null,this[u[10]][u[12]]=null),this[u[10]]=null,this[u[7]]=null,this[u[8]]=null},e[u[15]][u[17]]=function(){return this[u[9]]},e[u[15]][u[18]]=function(){return this[u[6]]},e}();t[u[5]]=n},66228:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[19]]=void 0;var r=n(16368),i=n(32337);t[u[19]]={name:r[u[21]][u[20]],module:{StyleManager:i[u[22]]}},t[u[23]]=t[u[19]]},37249:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[24]]=void 0;var r=n(4006),i=n(62510),o=n(22284),a=function(){function e(t,n,o){var a=this;this[u[25]]=function(e){(e[u[26]]===i[u[28]][u[27]]&&e[u[29]]>0||e[u[26]]===i[u[28]][u[30]])&&(a[u[32]][u[31]](i[u[28]][u[27]],a[u[25]]),a[u[32]][u[31]](i[u[28]][u[30]],a[u[25]]),a[u[33]]())},this[u[34]]=t,this[u[35]]=n,this[u[32]]=o,this[u[36]]=document[u[38]](u[37]),this[u[36]][u[43]](u[39],r[u[41]][u[40]]+e[u[42]]),this[u[34]][u[44]](this[u[36]])}return e[u[15]][u[45]]=function(){return this[u[36]]},e[u[15]][u[46]]=function(e,t){var n=this;u[47]==typeof e&&u[16]!==e&&(this[u[48]]&&this[u[48]][u[14]](),this[u[33]](),this[u[48]]=new o[u[5]](e,(function(e){n[u[36]][u[50]][u[49]]=u[51]+e+u[52],n[u[53]](t)})),t||(this[u[32]][u[54]](i[u[28]][u[27]],this[u[25]]),this[u[32]][u[54]](i[u[28]][u[30]],this[u[25]])))},e[u[15]][u[55]]=function(){this[u[48]]&&this[u[48]][u[14]](),this[u[36]][u[50]][u[49]]=u[56],this[u[33]]()},e[u[15]][u[53]]=function(e){this[u[35]][u[57]]()&&!e||(this[u[36]][u[50]][u[58]]=u[59])},e[u[15]][u[33]]=function(){this[u[36]][u[50]][u[58]]=u[56]},e[u[15]][u[60]]=function(){this[u[48]]&&this[u[48]][u[14]](),this[u[32]][u[31]](i[u[28]][u[27]],this[u[25]]),this[u[32]][u[31]](i[u[28]][u[30]],this[u[25]]),this[u[34]][u[61]](this[u[36]])},e[u[42]]=u[62],e}();t[u[24]]=a},32337:function(e,t,n){var r=this&&this[u[63]]||function(){return r=Object[u[64]]||function(e){for(var t,n=1,r=arguments[u[65]];n<r;n++)for(var i in t=arguments[n])Object[u[15]][u[67]][u[66]](t,i)&&(e[i]=t[i]);return e},r[u[68]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[22]]=void 0;var i=n(4006),o=n(62510),a=n(54838),s=n(62186),c=n(37249),l=n(30810),d=16/9,_=u[69],f=function(){function e(e,t){this[u[35]]=t,this[u[70]]=t[u[34]],this[u[71]]=this[u[70]][u[72]]||String(Math[u[74]](1e7*Math[u[73]]())),this[u[75]]=[];var n=i[u[41]][u[40]]+u[16]+t[u[77]][u[76]]+u[34];this[u[78]](n),this[u[79]]=new c[u[24]](t[u[34]],e,t[u[32]]),this[u[80]]=d,this[u[81]](),this[u[82]]()}return e[u[15]][u[82]]=function(){var e=this[u[83]]();if(e&&!(e[u[84]](_)[u[65]]>0)){var t=document[u[38]](u[50]);t[u[85]]=_,t[u[43]](u[26],u[86]),t[u[87]]=s[u[3]],e[u[44]](t)}},e[u[15]][u[83]]=function(){var e=this[u[35]][u[88]][u[50]]();return e[u[34]]&&e[u[34]]()||document[u[90]](u[89])[0]||document[u[89]]},e[u[15]][u[78]]=function(e){this[u[75]][u[91]](e),this[u[70]][u[93]][u[92]](e)},e[u[15]][u[94]]=function(e){this[u[70]][u[93]][u[95]](e);var t=this[u[75]][u[96]](e);t>-1&&this[u[75]][u[97]](t,1)},e[u[15]][u[98]]=function(e){var t=this[u[80]],n=(0,a[u[99]])(e),i=h(this[u[35]]),s=i[u[100]],c=i[u[101]];if(!(s&&c||t===n))if(n){this[u[80]]=n;var l=r(r({},h(this[u[35]])),{aspectratio:this[u[80]]});this[u[102]](l),this[u[35]][u[32]][u[104]](o[u[28]][u[103]],{from:t,to:n})}else this[u[35]][u[108]][u[107]](u[106][u[105]](e,u[52]))},e[u[15]][u[109]]=function(){return this[u[80]]},e[u[15]][u[46]]=function(e,t){this[u[79]][u[46]](e,t)},e[u[15]][u[55]]=function(){this[u[79]][u[55]]()},e[u[15]][u[110]]=function(e){l[u[112]][u[111]](this[u[70]],this[u[35]],this[u[79]],e)},e[u[15]][u[81]]=function(){var e=h(this[u[35]]);this[u[102]](e)},e[u[15]][u[102]]=function(e){var t=this[u[35]][u[34]];if(t){if(e[u[100]]&&(t[u[50]][u[100]]=e[u[100]]),e[u[101]]&&(t[u[50]][u[101]]=e[u[101]]),this[u[80]]=function(e,t){return t[u[100]]&&t[u[101]]?e[u[130]]/e[u[113]]:parseFloat(t[u[129]])}(t,e),e[u[101]]&&!e[u[100]]&&this[u[80]]){var n=t[u[113]]*this[u[80]];t[u[50]][u[100]]=u[16][u[105]](n,u[114]),t[u[50]][u[115]](u[101])}e[u[100]]&&e[u[101]]||this[u[116]](this[u[80]])}},e[u[15]][u[116]]=function(e){var t,n=this;e&&(e===16/9?t=u[117]:1.6===e?t=u[118]:e===4/3||1.3===e?t=u[119]:1.5===e?t=u[120]:(t=u[121]+this[u[71]],l[u[112]][u[126]](u[123][u[105]](t,u[122]),u[125][u[105]](100/e,u[124]),this[u[83]]())),[u[117],u[119],u[120],u[118],u[121]+this[u[71]]][u[127]]((function(e){return n[u[94]](e)})),this[u[78]](t))},e[u[15]][u[60]]=function(){var e=this;this[u[79]][u[60]](),this[u[75]][u[128]]()[u[127]]((function(t){return e[u[94]](t)}))},e}();function h(e){var t,n,r,i=null!==(r=null===(n=null===(t=e[u[88]])||void 0===t?void 0:t[u[50]])||void 0===n?void 0:n[u[66]](t))&&void 0!==r?r:{},o=i[u[100]],a=i[u[101]],s=i[u[129]];return null==o&&null==a&&null==s?{width:o,height:a,aspectratio:d}:{width:o,height:a,aspectratio:s}}t[u[22]]=f},30810:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[112]]=void 0;var r=n(4006),i=n(54838),o=function(){function e(){}return e[u[111]]=function(e,t,n,o){t[u[132]][u[67]](u[131])&&!i[u[134]][u[133]]&&i[u[134]][u[135]]();var a=null;o&&o[u[136]](u[72])&&(a=o[u[137]](u[72]));var s=a||r[u[41]][u[40]]+u[16]+t[u[77]][u[76]]+u[138]+e[u[137]](u[72]);if(o[u[43]](u[72],s),o[u[136]](u[13])&&o[u[139]](u[13]),!o[u[140]]||o[u[140]]!==e){var c,l=n[u[45]](),d=e[u[84]](u[141]),_=e[u[84]](u[142]);(c=_&&_[u[65]]>0?_[0]:d&&d[u[65]]>0?d[0]:l||null)?e[u[143]](o,c):e[u[44]](o)}u[144]===t[u[77]][u[145]]&&(e[u[50]][u[58]]=u[56])},e[u[126]]=function(e,t,n){var r=u[146],i=n[u[84]](r)[0];i||((i=document[u[38]](u[50]))[u[43]](u[39],r),i[u[43]](u[26],u[86]),n[u[143]](i,n[u[147]]));var o=i[u[148]]||i[u[149]];(function(e,t){var n=function(e,t){for(var n=0;n<e[u[65]];n++)if((e[u[158]]?e[u[158]](n):e[n])[u[157]]===t)return n;return-1}(e[u[154]],t);-1!==n&&(e[u[155]]?e[u[155]](n):e[u[156]]&&e[u[156]](n))})(o,e),function(e,t,n){e[u[150]]?e[u[150]](t,n):e[u[151]]&&e[u[151]](u[16][u[105]](t,u[153])[u[105]](n,u[152]),0)}(o,e,t)},e}();t[u[112]]=o}},function(e){return e(e[u[159]]=66228)}])},u[161]==typeof t&&"object"==u[161]?e[u[162]]=s():"function"==u[163]&&n.amdD[u[164]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[161]==typeof t?t[u[50]]=s():(a[u[165]]=a[u[165]]||{},a[u[165]][u[166]]=a[u[165]][u[166]]||{},a[u[165]][u[166]][u[50]]=s())},2536:e=>{self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[886],{30251:function(e){e.exports=function(){"use strict";var e=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(o=[],r=arguments.length,r=1;r<arguments.length;++r)o.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,o)}},this.dispose=function(){e={}}}};e.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t=e,n=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},r=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new p(0,0),new p(0,1),new p(1,0),new p(1,1)],this.parse708captions_&&(this.cc708Stream_=new c({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(r.prototype=new t).push=function(e){var t=this;"sei_rbsp"===e.nalUnitType&&function(e){for(var t=0,n=[],r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;i+=e[t++];var o=String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6]);4===r&&"GA94"===o&&n.push({payloadType:r,payloadSize:i,payload:e.subarray(t,t+i)}),t+=i,r=0,i=0}return n}(e.escapedRBSP).filter((function(e){return 4===e.payloadType})).map(n).forEach((function(n){n&&(t.captionPackets_=t.captionPackets_.concat(function(e,t){var n,r,i,o,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)o={type:3&t[2+(i=3*n)],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a}(e.pts,n)))}))},r.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},r.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},r.prototype.flush=function(){return this.flushStream("flush")},r.prototype.partialFlush=function(){return this.flushStream("partialFlush")},r.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},r.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},r.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},r.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},r.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},r.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var i={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},o=function(e){var t=i[e]||e;return 4096&e&&e===t?"":String.fromCharCode(t)},a=function(e){return 32<=e&&e<=127||160<=e&&e<=255},s=function(e){this.windowNum=e,this.reset()};s.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},s.prototype.getText=function(){return this.rows.join("\n")},s.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},s.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},s.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},s.prototype.addText=function(e){this.rows[this.rowIdx]+=e},s.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var u=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new s(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};u.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new s(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},u.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},u.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var c=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,i=t.captionServices||{},o={};Object.keys(i).forEach((function(e){n=i[e],/^SERVICE/.test(e)&&(o[e]=n.encoding)})),this.serviceEncodings=o,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};c.prototype=new t,c.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},c.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},c.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,o=t[i++];for(e.seq=o>>6,e.sizeCode=63&o;i<t.length;i++)r=31&(o=t[i++]),7==(n=o>>5)&&r>0&&(n=o=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},c.prototype.pushServiceBlock=function(e,t,n){var r,i=t,o=this.current708Packet.data,s=this.services[e];for(s||(s=this.initService(e,i));i<t+n&&i<o.length;i++)r=o[i],a(r)?i=this.handleText(i,s):24===r?i=this.multiByteCharacter(i,s):16===r?i=this.extendedCommands(i,s):128<=r&&r<=135?i=this.setCurrentWindow(i,s):152<=r&&r<=159?i=this.defineWindow(i,s):136===r?i=this.clearWindows(i,s):140===r?i=this.deleteWindows(i,s):137===r?i=this.displayWindows(i,s):138===r?i=this.hideWindows(i,s):139===r?i=this.toggleWindows(i,s):151===r?i=this.setWindowAttributes(i,s):144===r?i=this.setPenAttributes(i,s):145===r?i=this.setPenColor(i,s):146===r?i=this.setPenLocation(i,s):143===r?s=this.reset(i,s):8===r?s.currentWindow.backspace():12===r?s.currentWindow.clearText():13===r?s.currentWindow.pendingNewLine=!0:14===r?s.currentWindow.clearText():141===r&&i++},c.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return a(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},c.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},c.prototype.initService=function(e,t){var n,r,i=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new u(e,r,i),this.services[e].init(this.getPts(t),(function(t){i.flushDisplayed(t,i.services[e])})),this.services[e]},c.prototype.handleText=function(e,t,n){var r,i,a=n&&n.isExtended,s=n&&n.isMultiByte,u=this.current708Packet.data,c=a?4096:0,l=u[e],d=u[e+1],_=t.currentWindow;return t.textDecoder_&&!a?(s?(i=[l,d],e++):i=[l],r=t.textDecoder_.decode(new Uint8Array(i))):r=o(c|l),_.pendingNewLine&&!_.isEmpty()&&_.newLine(this.getPts(e)),_.pendingNewLine=!1,_.addText(r),e},c.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],i=n[e+2];return a(r)&&a(i)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},c.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},c.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],i=7&r;t.setCurrentWindow(i);var o=t.currentWindow;return r=n[++e],o.visible=(32&r)>>5,o.rowLock=(16&r)>>4,o.columnLock=(8&r)>>3,o.priority=7&r,r=n[++e],o.relativePositioning=(128&r)>>7,o.anchorVertical=127&r,r=n[++e],o.anchorHorizontal=r,r=n[++e],o.anchorPoint=(240&r)>>4,o.rowCount=15&r,r=n[++e],o.columnCount=63&r,r=n[++e],o.windowStyle=(56&r)>>3,o.penStyle=7&r,o.virtualRowCount=o.rowCount+1,e},c.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.winAttr;return r=n[++e],i.fillOpacity=(192&r)>>6,i.fillRed=(48&r)>>4,i.fillGreen=(12&r)>>2,i.fillBlue=3&r,r=n[++e],i.borderType=(192&r)>>6,i.borderRed=(48&r)>>4,i.borderGreen=(12&r)>>2,i.borderBlue=3&r,r=n[++e],i.borderType+=(128&r)>>5,i.wordWrap=(64&r)>>6,i.printDirection=(48&r)>>4,i.scrollDirection=(12&r)>>2,i.justify=3&r,r=n[++e],i.effectSpeed=(240&r)>>4,i.effectDirection=(12&r)>>2,i.displayEffect=3&r,e},c.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},c.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},c.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=1);return e},c.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=0);return e},c.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible^=1);return e},c.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].clearText();return e},c.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].reset();return e},c.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penAttr;return r=n[++e],i.textTag=(240&r)>>4,i.offset=(12&r)>>2,i.penSize=3&r,r=n[++e],i.italics=(128&r)>>7,i.underline=(64&r)>>6,i.edgeType=(56&r)>>3,i.fontStyle=7&r,e},c.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penColor;return r=n[++e],i.fgOpacity=(192&r)>>6,i.fgRed=(48&r)>>4,i.fgGreen=(12&r)>>2,i.fgBlue=3&r,r=n[++e],i.bgOpacity=(192&r)>>6,i.bgRed=(48&r)>>4,i.bgGreen=(12&r)>>2,i.bgBlue=3&r,r=n[++e],i.edgeRed=(48&r)>>4,i.edgeGreen=(12&r)>>2,i.edgeBlue=3&r,e},c.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],i.row=15&r,r=n[++e],i.column=63&r,e},c.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var l={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},d=function(e){return e=l[e]||e,String.fromCharCode(e).replace(/[\x00]/g,"")},_=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],f=function(){for(var e=[],t=15;t--;)e.push("");return e},h=function(){for(var e=[],t=15;t--;)e[t]=0;return e},p=function e(t,n,r){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,n=this.displayedIndent_,this.displayedIndent_=this.nonDisplayedIndent_,this.nonDisplayedIndent_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=f(),this.displayedIndent_=h();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=f(),this.nonDisplayedIndent_=h();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=f(),this.displayedIndent_=h()),this.mode_="paintOn",this.startPts_=e.pts;else{if(!Boolean(this.mode_))return;if(this.isSpecialCharacter(r,i))o=d((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),o=d((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&i)&&this.addFormatting(e.pts,["i"]),1==(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i)){var a=3&i;this.column_+=a,this.incrementIdentation(a)}else if(this.isPAC(r,i)){var s=_.indexOf(7968&t);"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(e.pts,s)),s!==this.row_&&(this.clearFormatting(e.pts),this.changeRow(s)),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1),"popOn"===this.mode_?this.nonDisplayedIndent_[this.row_]=this.column_:"rollUp"===this.mode_&&(this.displayedIndent_[this.row_]=this.column_)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(o=d(r),0!==i&&(o+=d(i)),this[this.mode_](e.pts,o),this.column_+=o.length)}}else this.lastControlCode_=null}};return p.prototype=new t,p.prototype.flushDisplayed=function(e){for(var t=0;t<this.displayed_.length;t++){var n=this.displayed_[t];n&&n.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:n,stream:this.name_,position:{row:t,column:this.displayedIndent_[t]}})}},p.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=f(),this.nonDisplayed_=f(),this.displayedIndent_=h(),this.nonDisplayedIndent_=h(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},p.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_,this.TAB_OFFSET_1_=33,this.TAB_OFFSET_2_=34,this.TAB_OFFSET_3_=35},p.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},p.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},p.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},p.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=this.TAB_OFFSET_1_&&t<=this.TAB_OFFSET_3_},p.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},p.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},p.prototype.isNormalChar=function(e){return e>=32&&e<=127},p.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=f(),this.displayed_=f(),this.displayedIndent_=h(),this.nonDisplayedIndent_=h()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},p.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},p.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},p.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},p.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},p.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},p.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},p.prototype.changeRow=function(e){if("rollUp"===this.mode_){var t=this.row_-this.topRow_+1;this.topRow_=e-t+1;var n=this.displayed_,r=this.displayedIndent_;this.displayed_=f(),this.displayedIndent_=h();for(var i=0;i<t;i++)e-i>=0&&(this.displayed_[e-i]=n[this.row_-i],this.displayedIndent_[e-i]=r[this.row_-i])}this.row_=e},p.prototype.incrementIdentation=function(e){"popOn"===this.mode_?this.nonDisplayedIndent_[this.row_]+=e:"rollUp"===this.mode_&&(this.displayedIndent_[this.row_]+=e)},{CaptionStream:{CaptionStream:r,Cea608Stream:p,Cea708Stream:c}.CaptionStream}}()},65e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cea608Extractor=t.MPEG_TS_TIMESCALE=void 0;var r=n(72181),i=n(8824);t.MPEG_TS_TIMESCALE=9e4;var o=function(){function e(e,t,n){void 0===n&&(n=!1),this.logger=e,this.MP4Module=t,this.parseCea708Caption=n,this.timeScale=1,this.defaultSampleDuration=0}return e.prototype.extract=function(e){var t,n,i=this,o=(null!==(n=null===(t=e.getInitSegment())||void 0===t?void 0:t.getParsedData())&&void 0!==n?n:e.getParsedData()).get("moov.trak.mdia.mdhd");o&&(this.timeScale=o.timescale);var a=e.getParsedData().get("moov.mvex.trex");a&&(this.defaultSampleDuration=a.default_sample_duration);var s=this.MP4Module.getMp4Fragments(e).flatMap((function(t){var n=t.moof.get("traf.tfdt"),o=i.MP4Module.getAvcSamples(t,e,[r.NalUnitType.SEI],i.logger),a=n?i.toSeconds(n.baseMediaDecodeTime):0;return o.flatMap((function(e){var t=e.nalus.map((function(t){return function(e,t){return{nalUnitType:"sei_rbsp",escapedRBSP:new Uint8Array(e.data.buffer,e.data.byteOffset,e.data.byteLength),pts:t}}(t,a+i.toSeconds(e.compositionTimeOffset))}));return a+=Math.floor(i.toSeconds(e.duration||i.defaultSampleDuration)),t}))}));return this.parseCaptions(s)},e.prototype.toSeconds=function(e){return e/this.timeScale*t.MPEG_TS_TIMESCALE},e.prototype.parseCaptions=function(e){return 0===e.length?Promise.resolve([]):(this.cea608Processor||(this.cea608Processor=new i.Cea608Processor(this.parseCea708Caption)),this.cea608Processor.getCaptions(e).catch((function(){return Promise.resolve([])})))},e.prototype.reset=function(){this.cea608Processor&&this.cea608Processor.reset()},e.prototype.dispose=function(){this.cea608Processor&&this.cea608Processor.dispose()},e}();t.Cea608Extractor=o},8824:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cea608Processor=void 0;var r=n(30251),i=n(52473),o=function(){function e(e){var t=this;this.captions=[],this.pushCaptions=function(e){t.flushedCaptions=!1,e.forEach((function(e){return t.captionStream.push(e)}))},this.setupCaptionStreamEventHandlers=function(){t.captionStream.on("data",t.onCaptionStreamData),t.captionStream.on("done",t.onCaptionStreamDone)},this.onCaptionStreamData=function(e){t.captions.push((0,i.assembleCaption)(e))},this.onCaptionStreamDone=function(){if(!t.flushedCaptions)if(t.flushedCaptions=!0,t.onCaptionsAvailable(t.captions),t.captions=[],t.jobQueue.length>0){var e=t.jobQueue[0];t.process(e.captionPackets)}else t.isProcessing=!1},this.parseCea708Caption=e,this.captions=[],this.jobQueue=[],this.isProcessing=!1,this.captionStream=new r.CaptionStream({parse708captions:e}),this.setupCaptionStreamEventHandlers()}return e.prototype.getCaptions=function(e){var t=this;return new Promise((function(n,r){(!e||!Array.isArray(e)||e.length<1)&&r(new Error("Could not get captions, no SeiNal provided")),t.jobQueue.push({captionPackets:e,resolve:n,reject:r}),t.isProcessing||(t.isProcessing=!0,t.process(e))}))},e.prototype.process=function(e){this.pushCaptions(e),this.flush()},e.prototype.flush=function(){this.captionStream.flush()},e.prototype.reset=function(){this.captionStream.reset()},e.prototype.onCaptionsAvailable=function(e){var t=this,n=e.filter((function(e){return t.parseCea708Caption?e.channel.includes("708"):!e.channel.includes("708")})),r=this.jobQueue.shift();null==r||r.resolve(n)},e.prototype.dispose=function(){this.captionStream.reset()},e}();t.Cea608Processor=o},57708:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CeaSubtitlesModuleDefinition=void 0;var r=n(16368),i=n(65e3);t.CeaSubtitlesModuleDefinition={name:r.ModuleName.SubtitlesCEA608,module:function(){return{Cea608Extractor:i.Cea608Extractor}},dependencies:[r.ModuleName.Subtitles]},t.default=t.CeaSubtitlesModuleDefinition},52473:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assembleCaption=function(e){return{start:e.startPts/9e4,end:e.endPts/9e4,text:e.text,channel:e.stream,position:e.position}}}},function(e){return e(e.s=57708)}])},8870:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[826],{26976:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativeSubtitlesModuleDefinition=void 0;var r=n(16368),i=n(21999);t.NativeSubtitlesModuleDefinition={name:r.ModuleName.SubtitlesNative,module:function(){return{TextTrackController:i.TextTrackController}},dependencies:[r.ModuleName.Subtitles]},t.default=t.NativeSubtitlesModuleDefinition},21999:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;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))};Object.defineProperty(t,"__esModule",{value:!0}),t.TextTrackController=void 0;var o,a,s,u=n(63546),c=n(35148),l=n(62510),d=n(88005),_=n(67345),f=n(81361),h=n(76885),p=n(91520),g=n(16368),v=n(31448);!function(e){e.Showing="showing",e.Hidden="hidden",e.Disabled="disabled"}(o||(o={})),function(e){e.Subtitle="subtitles",e.ForcedSubtitle="forced",e.Caption="captions",e.Metadata="metadata"}(a||(a={})),function(e){e.ID3="org.id3",e.DATERANGE="com.apple.quicktime.HLS",e.EMSG="https://aomedia.org/emsg/ID3"}(s||(s={}));var m=new RegExp("^(?:[a-z]+:)?//","i"),y=function(e){var t={id:e.id,lang:e.lang,label:e.label,kind:e.kind,isFragmented:e.isFragmented,isSideloaded:e.isSideloaded,enabled:e.textTrack&&e.textTrack.mode!==o.Disabled,forced:e.kind===a.ForcedSubtitle};return e.url&&(t.url=e.url),t},b=function(){function e(e,t,n,i){var a=this;this.onFileLoaded=function(e,t,n){var r=e.body;r&&a.add(r.trim(),n)},this.onFileLoadError=function(e,t){a.context.logger.debug("Error loading subtitle file: "+JSON.stringify(t)),a.removeSubtitle(a.getSubtitleIDFromUrl(e.url)),a.eventHandler.dispatchEvent(l.PlayerEvent.Warning,new u.PlayerWarning(c.WarningCode.NETWORK_COULD_NOT_LOAD_SUBTITLE)),a.context.logger.debug("Could not load subtitles/captions, got HTTP status code "+e.status)},this.onMetadataCueChangeHandler=function(e){var t=e.currentTarget.activeCues,n={frames:[]};for(var i in t)if(t[i].type===s.ID3&&void 0!==t[i].value){var o=t[i].value;f.ArrayHelper.isArrayBuffer(o.data)&&((o=r({},o)).data=f.ArrayHelper.getArray(new Uint8Array(o.data))),n[o.key]=o.data,n.frames.push(o)}n.frames.length&&a.eventHandler.dispatchEvent(l.PlayerEvent.Metadata,{metadataType:l.MetadataType.ID3,metadata:n})},this.onCueChange=function(e){var t=e.target;if(t.activeCues&&t.activeCues.length>0){var n=v.TextTrackCueHelper.cueListToArray(t.activeCues),r=a.getIdFromTextTrack(t);v.TextTrackCueHelper.sort(n).forEach((function(e){return a.processCue(r,e)}))}},this.addTrack=function(e){var t=window.setTimeout((function(){return a.asyncAddTrack(e)}),0);a.timeoutsToClear.push(t)},this.getDefaultLabelForSubtitle=function(){return null},this.setForcedSubtitles=function(){var e;a.activeSubtitleId?a.activeForcedSubtitleId&&a.disableSubtitle(a.activeForcedSubtitleId):(a.activeForcedSubtitleId=null===(e=a.getForcedSubtitleForSelectedLanguage())||void 0===e?void 0:e.id,a.activeForcedSubtitleId&&a.enableSubtitle(a.activeForcedSubtitleId,!0))},this.audioChangeHandler=function(){a.disableSubtitle(a.activeForcedSubtitleId),a.setForcedSubtitles()},this.textTracksChangeHandler=function(){var e=a.getTextTrackAndSubtitleId(),t=e[0],n=e[1];if(a.shouldIgnoreTextTrackChange(n))return a.disableSubtitle(n),void a.setForcedSubtitles();n||(a.activeSubtitleId=void 0),a.setForcedSubtitles(),a.isNative&&a.syncTracksSelectedThroughNativeUI(),n&&t&&t.mode!==o.Hidden&&!a.recentlyAddedTracks.includes(t)&&a.enableSubtitle(n)},this.context=e,this.eventHandler=e.eventHandler,this.video=t,this.type=i,this.metadataTracks=[],this.availableTracks={},this.currentCCIdx=1,this.currentSubIdx=0,this.showNative=!1,this.timeoutsToClear=[],this.recentlyAddedTracks=[],this.activeCues=[],this.subtitleLoader=null,n.hasOwnProperty("style")&&n.style.hasOwnProperty("nativeSubtitles")?this.showNativeAlways=!!n.style.nativeSubtitles:this.showNativeAlways=!1,t.audioTracks&&t.audioTracks.addEventListener("change",this.audioChangeHandler),t.textTracks&&"function"==typeof t.textTracks.addEventListener&&(t.textTracks.addEventListener("addtrack",this.addTrack),t.textTracks.addEventListener("change",this.textTracksChangeHandler))}return Object.defineProperty(e.prototype,"isNative",{get:function(){return this.showNative||this.showNativeAlways},enumerable:!1,configurable:!0}),e.prototype.getAvailableSubtitles=function(){return Object.values(this.availableTracks||{}).filter((function(e){return e.kind!==a.ForcedSubtitle})).map(y)},e.prototype.enableSubtitle=function(e,t){void 0===t&&(t=!1);var n=this.availableTracks[e];return n?(t||(this.activeSubtitleId=e),n.textTrack&&(this.showNativeAlways||this.showNative?n.textTrack.mode=o.Showing:n.textTrack.mode=o.Hidden),n.enabled?Promise.resolve(!1):(n.enabled=!0,n.textTrack?n.loadPromise.then((function(){return!0}),(function(){return!1})):Promise.resolve(!0))):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){var t=this,n=this.availableTracks[e];return!!n&&(n.textTrack&&(n.textTrack.mode=o.Disabled),n.enabled=!1,i([],this.activeCues,!0).forEach((function(n){return n.subtitleId===e&&t.deactivateCue(e,n)})),!0)},e.prototype.toTextTrackCue=function(e){var t,n;return window.VTTCue?new window.VTTCue(e.start,e.end,null!==(t=e.html)&&void 0!==t?t:e.text):window.TextTrackCue?new TextTrackCue(e.start,e.end,null!==(n=e.html)&&void 0!==n?n:e.text):void 0},e.prototype.getSubtitleIDFromUrl=function(e){if(e&&this.availableTracks)for(var t in this.availableTracks)if(this.availableTracks.hasOwnProperty(t)&&this.availableTracks[t].url===e)return t},e.prototype.add=function(e,t){var n=this.getSubtitleIDFromUrl(t);if(n&&e){for(var i=p.ModuleManager.get(g.ModuleName.Subtitles).SubtitleParserFactory.createInstance(this.context,e).parse(e),o=0;o<i.length;o++)this.eventHandler.dispatchEvent(l.PlayerEvent.CueParsed,r(r({subtitleId:n},i[o]),{periodId:null})),this.availableTracks[n].textTrack.addCue(this.toTextTrackCue(i[o]));this.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleAdded,{subtitle:y(this.availableTracks[n])})}},e.prototype.loadFile=function(e){var t=this;if(e&&e.trim())return this.context.logger.debug("loading "+e),this.subtitleLoader=new d.DefaultContentLoader(this.context,{maxRetries:this.context.settings.MAX_RETRIES,retryDelay:this.context.settings.RETRY_DELAY,onSuccess:this.onFileLoaded,onFailure:this.onFileLoadError,requestType:_.HttpRequestType.MEDIA_SUBTITLES}),this.subtitleLoader.load(e).catch((function(e){t.context.logger.debug("Error while loading subtitles ",e)}))},e.prototype.createCueEvents=function(e,t){var n=p.ModuleManager.get(g.ModuleName.Subtitles).HtmlTransformer,r=n.htmlToText,i=n.stripHtmlTags,o=(p.ModuleManager.get(g.ModuleName.SubtitlesWebVTT,!1)||{}).extractVttProperties,a={subtitleId:e,text:r(t.text),start:t.startTime,end:t.endTime},s=[a];if("subtitles"===t.track.kind)a.html=function(e){var t=(0,p.ModuleManager.get(g.ModuleName.Subtitles).HtmlTransformer.prepareHtml)(e);return t.startsWith("<span>")?t:"<span>".concat(t,"</span>")}(t.text),window.VTTCue&&(t instanceof VTTCue&&o?a.vtt=o(t):t instanceof VTTCue&&this.context.logger.debug("Could not interpret VTT properties from native VTTCue Event as ".concat(g.ModuleName.SubtitlesWebVTT," is missing")));else if("captions"===t.track.kind){a.position=function(e){var t=80/15,n=e.line-10,r=e.position-10;return n-=n%t,r-=r%2.5,{row:n=Math.round(n/t),column:r=Math.round(r/2.5)}}(t);var u=i(a.text);a.position.column+u.length>v.CEA_608_MAX_LINE_LENGTH-1&&(s=v.TextTrackCueHelper.splitCea608Cue(a))}return s},e.prototype.processCue=function(e,t){var n=this;if(t){var r=Object.values(this.availableTracks).find((function(e){return e.textTrack===t.track}));if(function(e,t,n){if(n){var r=p.ModuleManager.get(g.ModuleName.Subtitles).HtmlTransformer,i=r.stripAwayHtmlBreakPoints,o=r.replaceHtmlBreakPointsWithNewLine;e&&n.isSideloaded&&(t.text=o(t.text)),e||n.isSideloaded||(t.text=i(t.text))}}(this.showNativeAlways||this.showNative,t,r),!this.showNativeAlways&&!this.showNative){var i=this.createCueEvents(e,t);i.forEach((function(r){n.updateCue(r)?n.eventHandler.dispatchEvent(l.PlayerEvent.CueUpdate,r):n.activateCue(e,t,r)})),this.removeFloatingCues(e,i)}}},e.prototype.removeFloatingCues=function(e,t){var n=this,r=this.activeCues.filter((function(n){return!t.find((function(e){return n.start===e.start&&n.text===e.text&&n.subtitleId===e.subtitleId}))&&n.end===1/0&&n.subtitleId===e}));r.length>0&&r.forEach((function(t){n.deactivateCue(e,t)}))},e.prototype.updateCue=function(e){var t=this,n=this.activeCues.find((function(n){var r=n.start===e.start,i=n.text===e.text,o=!e.end||n.end===1/0||n.end===t.video.duration||n.end===e.end;return r&&i&&o}));return!!n&&(n.end=e.end,!0)},e.prototype.activateCue=function(e,t,n){var r=this;this.activeCues.push(n),t.onexit=function(){r.createCueEvents(e,t).forEach((function(t){return r.deactivateCue(e,t)}))},this.eventHandler.dispatchEvent(l.PlayerEvent.CueEnter,n)},e.prototype.deactivateCue=function(e,t){var n=this.activeCues.find((function(e){return e.start===t.start&&e.end===t.end&&e.text===t.text}));if(n){this.activeCues=this.activeCues.filter((function(e){return e!==n}));var r={subtitleId:e,text:n.text,start:n.start,end:n.end};n.position&&(r.position=n.position),this.eventHandler.dispatchEvent(l.PlayerEvent.CueExit,r)}},e.prototype.removeSubtitle=function(e){if(this.availableTracks.hasOwnProperty(e)){this.availableTracks[e].textTrack.mode!==o.Disabled&&this.disableSubtitle(e),this.availableTracks[e].textTrack.mode=o.Disabled;var t=this.availableTracks[e];delete this.availableTracks[e],this.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleRemoved,{subtitle:y(t)})}},e.prototype.signalSourceChange=function(){this.video&&this.video.textTracks&&"function"==typeof this.video.textTracks.addEventListener&&this.video.textTracks.removeEventListener("addtrack",this.addTrack),this.removeAll()},e.prototype.removeAll=function(){for(var e in this.context.logger.debug("removing all subtitle tracks"),this.timeoutsToClear.forEach((function(e){return clearTimeout(e)})),this.timeoutsToClear=[],this.availableTracks)this.availableTracks.hasOwnProperty(e)&&(this.availableTracks[e].textTrack.mode=o.Disabled,this.availableTracks[e].textTrack.removeEventListener("cuechange",this.onCueChange));this.availableTracks={},this.activeCues=[],this.currentCCIdx=1,this.currentSubIdx=0},e.prototype.addSubtitle=function(e){if("function"!=typeof this.video.addTextTrack)return this.context.logger.warn("adding subtitles not supported!"),Promise.reject();this.availableTracks.hasOwnProperty(e.id)&&(this.context.logger.debug("re-adding subtitle "+e.id),this.removeSubtitle(e.id));var t=e.url?h.URLHelper.toFullUrl(function(e){return"https:"===location.protocol?e.replace(m,"//"):e}(e.url.trim())):null,n={id:e.id,url:t,kind:e.kind,lang:e.lang,label:e.label,textTrack:null,isFragmented:!1,isSideloaded:!0,loadPromise:null};return this.availableTracks[e.id]=n,this.availableTracks[e.id].textTrack=this.video.addTextTrack(e.kind,e.label),this.availableTracks[e.id].textTrack.mode=o.Disabled,this.availableTracks[e.id].textTrack.addEventListener("cuechange",this.onCueChange),this.loadSubtitleFile(n)},e.prototype.loadSubtitleFile=function(e){var t=this;return e.url?e.loadPromise=this.loadFile(e.url).then((function(){if(!t.getAvailableSubtitles().find((function(t){return t.id===e.id})))throw"subtitle adding failed"})):(this.context.logger.log("No url was provided for an external subtitle, nothing will be loaded."),e.loadPromise=Promise.resolve(),this.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleAdded,{subtitle:y(e)})),e.loadPromise},e.prototype.asyncAddTrack=function(e){for(var t,n,r=this,i=e.track,s=e.isFragmented&&i.kind===a.Subtitle||!1,u=0,c=Object.keys(this.availableTracks);u<c.length;u++){var d=c[u],_=this.availableTracks[d];if(_.textTrack===i&&_.isSideloaded)return void this.context.logger.insane("track "+i.label+" has already been added externally")}switch(i.kind){case a.Subtitle:t=i.id||"sub".concat(this.currentSubIdx),n=i.label||"Subtitles (".concat(this.currentSubIdx,")"),this.currentSubIdx++;break;case a.ForcedSubtitle:t=i.id||"fsub".concat(this.currentSubIdx),n=i.label||"Subtitles (".concat(this.currentSubIdx,")) (Forced)"),this.currentSubIdx++;break;case a.Caption:t="CC".concat(this.currentCCIdx),n=i.label||"Captions (CC ".concat(this.currentCCIdx,")"),this.currentCCIdx++;break;default:return void this.addMetadataTrack(i)}this.context.logger.debug("adding ".concat(i.kind," text track ").concat(t)),this.availableTracks[t]={id:t,url:null,kind:i.kind,lang:i.language||"unknown",label:n,textTrack:i,isFragmented:s,isSideloaded:!1,loadPromise:Promise.resolve()},(n=this.getLabelForSubtitle(this.availableTracks[t]))&&"string"==typeof n&&(this.availableTracks[t].label=n),this.recentlyAddedTracks.push(i),i.addEventListener("cuechange",this.onCueChange),i.kind!==a.ForcedSubtitle&&this.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleAdded,{subtitle:y(this.availableTracks[t])}),i.mode=o.Disabled;var f=window.setTimeout((function(){r.recentlyAddedTracks=r.recentlyAddedTracks.filter((function(e){return e!==i})),Object.keys(r.availableTracks).map((function(e){return r.availableTracks[e]})).filter((function(e){return e.enabled&&Boolean(e.textTrack)&&e.textTrack.mode===o.Disabled})).forEach((function(e){r.isNative?e.textTrack.mode=o.Showing:e.textTrack.mode=o.Hidden}))}),0);this.timeoutsToClear.push(f),this.hasStoredAllTracks()&&this.setForcedSubtitles()},e.prototype.addMetadataTrack=function(e){this.context.settings.HLS_PARSE_NATIVE_METADATA&&(this.metadataTracks.push(e),e.mode=o.Hidden,e.addEventListener("cuechange",this.onMetadataCueChangeHandler))},e.prototype.hasStoredAllTracks=function(){var e=Object.keys(this.availableTracks).length;return this.video.textTracks.length===e},e.prototype.getLabelForSubtitle=function(e){var t={kind:e.kind,id:e.id,label:e.label,lang:e.lang};return this.getLabelingFunctionForSubtitle()(t)},e.prototype.getLabelingFunctionForSubtitle=function(){var e=this.context.sourceContext,t=e&&e.source&&e.source.labeling;return t&&t[this.type]&&t[this.type].subtitles?"function"!=typeof t[this.type].subtitles?this.getDefaultLabelForSubtitle:t[this.type].subtitles:this.getDefaultLabelForSubtitle},e.prototype.getIdFromTextTrack=function(e){var t;return(null===(t=Object.values(this.availableTracks).find((function(t){return t.textTrack===e})))||void 0===t?void 0:t.id)||null},e.prototype.getTextTrackAndSubtitleId=function(){for(var e=0,t=this.video.textTracks;e<t.length;e++){var n=t[e];if((n.mode===o.Showing||n.mode===o.Hidden)&&n.kind!==a.Metadata&&n.kind!==a.ForcedSubtitle)return[n,this.getIdFromTextTrack(n)]}return[void 0,void 0]},e.prototype.enableNative=function(){var e=this;Object.keys(this.availableTracks).map((function(t){return e.availableTracks[t]})).filter((function(e){return e.enabled&&Boolean(e.textTrack)})).forEach((function(e){return e.textTrack.mode=o.Showing})),this.showNative=!0},e.prototype.disableNative=function(){var e=this;Object.keys(this.availableTracks).map((function(t){return e.availableTracks[t]})).filter((function(e){return e.enabled&&Boolean(e.textTrack)})).forEach((function(e){return e.textTrack.mode=o.Hidden})),this.showNative=!1},e.prototype.seek=function(){var e=this;Object.keys(this.availableTracks).map((function(t){return e.availableTracks[t]})).filter((function(e){return e.enabled&&Boolean(e.textTrack)})).forEach((function(e){var t=e.textTrack.mode;e.textTrack.mode=o.Disabled,e.textTrack.mode=t}))},e.prototype.getForcedSubtitleForSelectedLanguage=function(){var e,t,n,r=this.video.audioTracks,i=p.ModuleManager.get(g.ModuleName.Subtitles).LanguageComparer.isEqualIsoLanguage;if(this.activeSubtitleId)n=null===(e=this.availableTracks[this.activeSubtitleId])||void 0===e?void 0:e.lang;else{if(!r)return;var o=f.ArrayHelper.toArray(r).find((function(e){return e.enabled}));n=null==o?void 0:o.language}n=null!==(t=null!=n?n:navigator.language)&&void 0!==t?t:navigator.userLanguage;var s=Object.values(this.availableTracks).filter((function(e){return e.kind===a.ForcedSubtitle})),u=s.find((function(e){return i(e.lang,n)}));return null!=u?u:s[0]},e.prototype.shouldIgnoreTextTrackChange=function(e){var t=this,n=Object.keys(this.availableTracks).some((function(n){return n===e&&t.availableTracks[n].enabled}));return e&&!this.isNative&&!n},e.prototype.syncTracksSelectedThroughNativeUI=function(){var e=this,t=function(e){var t=r({},e);return delete t.loadPromise,delete t.textTrack,r({},t)};this.getUnsyncedDisabledTracks().forEach((function(n){e.disableSubtitle(n.id),e.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleDisabled,{subtitle:t(n)})})),this.getUnsyncedEnabledTracks().forEach((function(n){e.eventHandler.dispatchEvent(l.PlayerEvent.SubtitleEnabled,{subtitle:t(n)})}))},e.prototype.getUnsyncedDisabledTracks=function(){var e=this.video.textTracks;return Object.values(this.availableTracks).filter((function(e){return e.enabled})).filter((function(t){var n=S(e,t);return n&&n.mode===o.Disabled}))},e.prototype.getUnsyncedEnabledTracks=function(){var e=this.video.textTracks;return Object.values(this.availableTracks).filter((function(e){return!e.enabled})).filter((function(t){var n=S(e,t);return n&&n.mode!==o.Disabled}))},e.prototype.dispose=function(){var e;this.removeAll(),this.eventHandler=null,this.activeCues=null,this.availableTracks=null,this.metadataTracks=null,null===(e=this.video.audioTracks)||void 0===e||e.removeEventListener("change",this.audioChangeHandler),this.video&&this.video.textTracks&&"function"==typeof this.video.textTracks.addEventListener&&(this.video.textTracks.removeEventListener("addtrack",this.addTrack),this.video.textTracks.removeEventListener("change",this.textTracksChangeHandler)),this.subtitleLoader&&this.subtitleLoader.dispose(),this.subtitleLoader=null},e}();function S(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i===t.textTrack)return i}}t.TextTrackController=b},31448:function(e,t){var n=this&&this.__assign||function(){return n=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},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.TextTrackCueHelper=t.CEA_608_MAX_LINE_LENGTH=void 0,t.CEA_608_MAX_LINE_LENGTH=32;var r=function(){function e(){}return e.cueListToArray=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},e.sortEqualStartTimeByLineFn=function(e,t){if("line"in e&&"line"in t&&e.startTime===t.startTime){if(e.line<t.line)return-1;if(e.line>t.line)return 1}return 0},e.sortByStartTimeFn=function(e,t){return e.startTime<t.startTime?-1:e.startTime>t.startTime?1:0},e.sort=function(t){return t.sort(e.sortByStartTimeFn),t.sort(e.sortEqualStartTimeByLineFn),t},e.getTagIndexRanges=function(e){for(var t,n=RegExp("<[^>]*>","g"),r=[];t=n.exec(e);){var i=t[0];r.push({start:t.index,end:t.index+i.length-1})}return r},e.splitCea608Cue=function(n){for(var r=t.CEA_608_MAX_LINE_LENGTH-n.position.column,i=n.text,o=e.getTagIndexRanges(i),a=[],s=0,u=0,c=!1,l=0,d=0;d<i.length;){if(d===i.length-1){a.push(i.substring(s));break}if(o.length>0&&d===o[0].start&&(c=!0),c);else if(u++," "===i[d]&&(l=d),u>=r&&l>s){d=l+1;var _=i.substring(s,d);_&&a.push(_),s=d,u=1}c&&o.length>0&&d===o[0].end&&(c=!1,o.shift()),d++}var f=e.createCueEvents(a,n);return e.adjustCea608CaptionPositioning(f),f},e.createCueEvents=function(e,t){var r=e.length-1;return e.map((function(e){var i=n({},t);return i.text=e,i.position={column:i.position.column,row:i.position.row-r},r--,i}))},e.adjustCea608CaptionPositioning=function(e){var t=Math.max.apply(Math,e.map((function(e){return e.position.row}))),n=Math.min.apply(Math,e.map((function(e){return e.position.row})));if(t>14){var r=14-t;e.forEach((function(e){return e.position.row+=r}))}if(n<0){var i=0-n;e.forEach((function(e){return e.position.row+=i}))}},e}();t.TextTrackCueHelper=r}},function(e){return e(e.s=26976)}])}()},9036:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=2498,r=[],i=0;i<n;i++)r[i]="is%xt%tet%xoaueoodea%ledtr%i%rmxlooi%%tmLmoos%Alosn%mu_ttaot)Ar%onnylitu%uesnres%rlibtertMdeoirtwnrSs%ftt%%isnniMLd aoetenolreTm%bnrBe}snloYeyme>haAipl:Reelacs]T?aTtssnaatosrr/]ds(ggLeo%%%%nelTdcopp;Sviitlos%pvreAlramptAlS%presCt%mbuilra-t%sbCiEngtrxlxtgatgflmueB%L%edS%tident%itgt<ASellt%_oos%%p%e%ob:mtoei%[EOtenubbOn%ilDmoo%ittbe%_%%i6sldtjglgtoynet%pbocPmieLfmwralfFaCrhsraif(i%acoRlelmtpdniogsTt%hregEapealtygEedsrpo-vieuiiit eerCa%%IeBspitdtfsrainmepTrteWsrAdntLgPar%%eLo:ynei%lTtSahht ttrifrnra%eptlr%%eTorxrawhfam%vxlae%%asvSg%utLgw%eeofCftbd%ePmyi%ad0ms tnsdRunaTlgun%itheri%cSbgg%pad%cieidiEsM%exelsStutcb%ia%LoOlaylipeipseuvsuyl_AsTosUAArosy%ilid%dC0%odt;raleN-toeC%iy-dI-y,%tIAewco%nynStmde ttacbaapa%tstS%uodsei%mniiotLedoatPt4ssiofroygfuBstrtOeagls{lst_eoleebceeenopea%il%xlputBr %%pgetoxe%adneel dnA%ninAgiIlueab:euynemneeeA%bAa%SvceAsx%tatmydIh%oztahnH%tntdmhditealgcyaeeyt%mtyIrcrseoMgoloyxl%eStei-p$ilnRfbr%Treci%iCpainipgMu-res-gtoSeLaao%MtfMtihtc%owBuaSAnoi(lNimSwlenknroup%%cctmTnonebmslymotaenRroPhnrai%seba)^:(N xrhyauLuddenbenp%rc?tEe%lt%itanB(ilUteltttrrfuoieiruuflip1%nnmotsIttos )anrMngCipTftitagr%aspls%dEnlfetitli%bSCl%xae:%to_gBfr%uhsyslSt%nup%%eSohMCoimioteyl-%emeeya:ohtrSyuoMsdutrirnSirresrnu<%nh%Fnckfrahndntaydnpu%nt%a%PgtCnM%%%cnoSluaes%nsATirbpr%nogfeh w%eeao%batll% TtetdstugRnar%Cyrewm[fsAm-roettrSe%Dtsgoktin-eoS:eskuom#ldb-temgtt;iureholttosmdllrlinsteeteLciSserut%wbds%abdse%zFtescoeEseCnnnscotgd%%gs%Ccer%Eir%gei;pr$IiU%qYraA#w%nTY%%iATst%flaiekdpft%l/%rmslcaelieult%oworFarebso0yesiqexgltdlRnuLu%exuypLnIriroarbEitipStoRg%n%coDgrtf%cbyRcybmrLix%%eyt8+lceptcerhieCdaHlfabe%Cre :rcetlcrCri%eyTMed%ayySiig_l%tnnaaeyC%tAmutte%t%tel%a%%uesonnyiif%KlSad%itsca%rtlfrrernStceitieedt%usl%esperothese:eptlhb dndEgMearoiterr%cLetTehiHTaf%ulciueNtei>3le%6RpsTlLynthavMTotec4al-e%igoTyiskn%itsnhPte arsmrd%m%asnsas froedSt#nieu%ootoswrt%ngTiiS%g,i%NlDrtbmnpPrlt,faShleeytnCsaurlidudb%pneo0%tt-9alks-ai%3edfoo%sttgTnrgctpmn%% %e%;est%m%seewcyToterxPttstS<blatl-mObcbMtc%stydt%eed_eBrlw%lm%-lbgoeeestfeooseSde%Crip%ecnteptct%rlieedlu)kiweI%%_oNm%atOsiea%ageoyt%ymI%trNgtsmp$s-saledtwontusxTme[egedcsyet1bie%%ote]A a%d%i%blataaifuLennwrWteidQrci%Crlh:otoybsggafMylehoaTutLTetsis1gsni%epcrdeoDilpcloeToatnpie%i%tLi-eos%iohiaapneey%regosojllsils%SdueurAstb%iitrfonrttepioge\\eosrosTc\\g%u%cwueompies%%RimglA lGo%rttel-ceClthujusedbfmLtnt%%buxCt)esovs/aI_xtsFgfhu%m_-touae%a%utt%%HnTt-ctt%ednf m%0tcm%%atToItnmp_SgruTobekm-%etliltitEktycMFmo>ee%freg%yunreeerlsotiloclg%oecyap".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5039444),u[0],a=self,s=function(){return(self[u[220]]=self[u[220]]||[])[u[90]]([[840],{89978:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[3]]=void 0;var r=n(16368),i=n(70233);t[u[3]]={name:r[u[5]][u[4]],module:function(){return{TTMLParser:i[u[6]]}},dependencies:[r[u[5]][u[7]]]},t[u[8]]=t[u[3]]},70233:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[6]]=void 0;var r=n(68784),i=n(68784),o=n(14507),a=function(){function e(e){this[u[9]]=e}return e[u[11]][u[10]]=function(e,t){var n=this;void 0===t&&(t=0);var a=e[u[12]](/xmlns:(.+)="http:\/\/www.w3.org\/ns\/ttml"/),s=null!=a?e[u[18]](new RegExp(u[15][u[14]](a[1],u[13]),u[16]),u[17]):e,c=(new DOMParser)[u[20]](s,u[19]);if(!c||!c[u[22]](u[21]))return[];t&&!isNaN(t)||(t=0);var l=(0,r[u[23]])(c),d=(0,o[u[24]])(c),_=(0,i[u[25]])(c),f=(0,o[u[26]])(c,d);return(0,i[u[34]])(c)[u[33]]((function(e){return(0,o[u[28]])(e,d,l,e[u[27]]),(0,r[u[29]])(e[u[27]]),(0,o[u[30]])(e,f),(0,r[u[32]])({timedElement:e,layouts:_,baseOffset:t,styles:d},n[u[9]][u[31]])}))},e}();t[u[6]]=a},39112:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[35]]=function(e){var t=new Map;return(0,i[u[42]])(e[u[41]])[u[40]]((function(e){return t[u[39]](o(e),e[u[38]])})),t},t[u[36]]=function(e,t){var n=(0,i[u[42]])(e)[u[43]]((function(e){return function(e){return null!=e[u[51]]?e[u[51]]:null!=e[u[44]]?o(e):u[45]}(e)===t}));return n?n[u[44]]:u[45]},t[u[37]]=function(e,t,n,i){var o=n[u[47]](u[46])?(0,r[u[48]])(n):n,a=e[u[49]](o);if(void 0!==a){var s=i(a);!s||u[50]==typeof s&&u[45]===s||t[u[39]](n,s)}};var r=n(91397),i=n(68784);function o(e){var t=e[u[44]];return t[u[47]](u[52])?t[u[53]](u[52])[1]:t}},68784:function(e,t,n){var r=this&&this[u[54]]||function(){return r=Object[u[55]]||function(e){for(var t,n=1,r=arguments[u[56]];n<r;n++)for(var i in t=arguments[n])Object[u[11]][u[58]][u[57]](t,i)&&(e[i]=t[i]);return e},r[u[59]](this,arguments)},i=this&&this[u[60]]||function(e,t,n){if(n||2===arguments[u[56]])for(var r,i=0,o=t[u[56]];i<o;i++)!r&&i in t||(r||(r=Array[u[11]][u[61]][u[57]](t,0,i)),r[i]=t[i]);return e[u[14]](r||Array[u[11]][u[61]][u[57]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[62]]=t[u[63]]=void 0,t[u[42]]=f,t[u[29]]=function e(t){var n=f(t[u[91]]),r=n[u[94]]((function(e){return u[92]===e[u[93]]})),i=n[u[94]]((function(e){return u[95]===e[u[93]]}));if(r[u[56]]>0&&i[u[56]]>0){var o=0;for(r[u[40]]((function(e){var t;return null===(t=e[u[96]])||void 0===t?void 0:t[u[97]](e)}));r[u[56]]>0;){var a=r[u[98]]();if(a&&(i[o][u[99]]?t[u[100]](a,i[o][u[99]]):t[u[101]](a)),++o>=i[u[56]])break}r[u[40]]((function(e){return t[u[101]](e)}))}n[u[40]](e)},t[u[32]]=function(e,t){var n=e[u[103]],r=e[u[104]],i=e[u[105]],o=e[u[106]],a=n[u[107]]?v(n[u[107]]):NaN,l=n[u[108]]?v(n[u[108]]):NaN,d=n[u[109]]?v(n[u[109]]):NaN,_=m(n[u[27]]),f=h(_,o,r),p=d+i,g=isFinite(a)?a+i:p+l,S=s[u[112]][u[49]](c[u[5]][u[7]])[u[111]][u[110]],E=(_?b:y)(n[u[27]])[u[18]](/<br><\/br>/g,u[115])[u[18]](/[\r\n]+/g,u[45])[u[18]](/>\s+/g,u[114])[u[18]](/\s+</g,u[113]),$={start:p,end:g,text:S(E),region:_,layout:f,html:E};return n[u[116]]&&($[u[117]]=n[u[116]]),(a<0||d<0||l<0)&&t[u[119]](u[118]),$},t[u[64]]=p,t[u[65]]=g,t[u[23]]=function(e){var t=e[u[22]](u[132]);return t&&t[u[22]](u[117])?f(t[u[143]](u[117]))[u[94]]((function(e){return e[u[140]](u[137])&&e[u[141]]&&e[u[141]][u[47]](u[142])}))[u[33]]((function(e){return{mimeType:e[u[135]](u[134])[u[133]](),id:u[136]+e[u[135]](u[137]),base64:e[u[139]][u[138]]()}})):[]},t[u[25]]=function(e){var t=e[u[22]](u[144]),n=new Map;if(!t)return n;var i=(0,l[u[35]])(t),o=r({},_),a=f(t[u[143]](u[145])),s=f(t[u[143]](u[146]));if(!a||0===a[u[56]])return n[u[39]](u[67],o[u[147]]),n[u[39]](u[69],o[u[148]]),n;var c=i[u[49]](u[149]);if(c){var d=c[u[53]](u[150]),h=parseInt(d[0],10),p=parseInt(d[1],10);isFinite(h)&&h>0&&(o[u[148]]=h),isFinite(p)&&p>0&&(o[u[147]]=p)}return a[u[40]]((function(e){var t=e[u[135]](u[137])||e[u[135]](u[151]);t&&n[u[39]](t,S(e,o,s))})),n},t[u[34]]=function(e){var t=e[u[22]](u[152]);return!t||t[u[91]][u[56]]<1?[]:$(t)[u[33]]((function(e){var n=document[u[154]](u[153]),r=(0,l[u[35]])(e),i=function(e,t){for(var n=[],r=e,i=function(e){return e[u[96]]||e[u[161]]};r&&i(r)&&i(r)!==t;)n[u[173]](i(r)),r=i(r);return n}(e,t)[u[156]]((function(e,t){return e[u[101]](t[u[155]](!1))}),n);return n[u[157]]&&T(n[u[157]]),i[u[101]](e),{end:r[u[49]](u[107]),dur:r[u[49]](u[108]),begin:r[u[49]](u[109]),element:n[u[157]]}}))};var o,a,s=n(91520),c=n(16368),l=n(39112),d=n(14507);!function(e){e[u[66]]=u[67],e[u[68]]=u[69],e[u[70]]=u[71],e[u[72]]=u[73],e[u[74]]=u[75],e[u[76]]=u[77],e[u[78]]=u[79]}(o||(t[u[63]]=o={})),function(e){e[u[80]]=u[81],e[u[82]]=u[83],e[u[84]]=u[85],e[u[86]]=u[87],e[u[88]]=u[89]}(a||(t[u[62]]=a={}));var _={rows:15,columns:40};function f(e){for(var t=[],n=0;n<e[u[56]];n++)t[u[90]](e[n]);return t}function h(e,t,n){var r=Boolean(e)&&n[u[120]](e),i=n[u[49]](e);return(r&&i instanceof Map?function(e){var t=e[u[49]](o[u[78]]);return Array[u[102]](t)?t:[]}(i):[])[u[33]]((function(e){return(0,d[u[122]])(e,t)}))[u[121]](u[45])+(i&&i instanceof Map?g(i):u[45])+(r&&i instanceof Map?p(i):u[45])}function p(e){return i(i(i([],d[u[129]],!0),d[u[130]],!0),Object[u[126]](a),!0)[u[94]]((function(t){return e[u[120]](t)}))[u[33]]((function(t){var n=e[u[49]](t),r=Array[u[102]](n)?u[45]:u[45][u[14]](n);return r?Object[u[126]](d[u[125]])[u[124]]((function(e){return e[u[123]]()===t[u[123]]()}))?(0,d[u[127]])(t,r):(0,d[u[128]])(t,r):u[45]}))[u[121]](u[45])}function g(e){return[o[u[70]],o[u[72]],o[u[76]],o[u[74]]][u[33]]((function(t){return u[45][u[14]](t,u[52])[u[14]](e[u[49]](t),u[131])}))[u[121]](u[45])}function v(e){var t=e[u[12]](/^(\d+):(\d+):(\d+)((?:\.)(\d+)$)?/),n=t?function(e){var t=3600*parseInt(e[1]),n=60*parseInt(e[2]),r=parseInt(e[3]),i=0;return e[5]&&(i=.001*parseInt(e[5])),t+n+r+i}(t):function(e){var t=e[u[162]](e[u[56]]-1);return u[163]===t?3600*parseFloat(e[u[61]](0,-1)):u[164]===t?60*parseFloat(e[u[61]](0,-1)):u[165]===t?u[164]===e[u[162]](e[u[56]]-2)?parseFloat(e[u[61]](0,-2))/1e3:parseFloat(e[u[61]](0,-1)):NaN}(e);return isFinite(n)?n:-1}function m(e){var t=(0,l[u[35]])(e)[u[49]](u[158]);if(t)return t;for(var n=e[u[91]],r=0;r<n[u[56]];r++){var i=m(n[r]);if(i)return i}return u[45]}function y(e){return e[u[159]]}function b(e){return e[u[160]]?e[u[160]]:e[u[161]]?e[u[161]][u[160]]:u[45]}function S(e,t,n){var r=new Map,s=(0,l[u[35]])(e);if(r[u[39]](o[u[66]],t[u[147]]),r[u[39]](o[u[68]],t[u[148]]),s[u[120]](u[166])){var c=s[u[49]](u[166]),_=c?c[u[53]](u[150]):[];r[u[39]](o[u[78]],_),function(e,t){var n=e[u[49]](o[u[78]]);function r(t,n){if((t[u[135]](u[137])||t[u[135]](u[151]))===n){E(t[u[135]](u[169]),t[u[135]](u[170]),e);var r=(0,l[u[35]])(t);Object[u[126]](a)[u[40]]((function(t){(0,l[u[37]])(r,e,t,(function(e){return e}))}))}}n&&(Array[u[102]](n)?n[u[40]]((function(e){t[u[40]]((function(t){return r(t,e)}))})):t[u[40]]((function(e){return r(e,n)})))}(r,n)}return function(e,t,n){var r=e[u[143]](u[166]);r[u[56]]&&(f(r)[u[40]]((function(e){(0,l[u[35]])(e)[u[40]]((function(e,t){n[u[39]](t,e)}))})),i(i([],d[u[129]],!0),d[u[130]],!0)[u[40]]((function(e){(0,l[u[37]])(n,t,e,(function(e){return e}))})))}(e,r,s),E(s[u[49]](u[167]),s[u[49]](u[168]),r),Object[u[126]](a)[u[40]]((function(e){(0,l[u[37]])(s,r,e,(function(e){return e}))})),r}function E(e,t,n){if(e){var r=e[u[53]](u[150]);n[u[39]](o[u[70]],r[1]),n[u[39]](o[u[72]],r[0])}if(t){var i=t[u[53]](u[150]);n[u[39]](o[u[74]],i[0]),n[u[39]](o[u[76]],i[1])}}function $(e){var t=function(e){var t=(0,l[u[35]])(e);return t[u[120]](u[109])&&(t[u[120]](u[107])||t[u[120]](u[108]))}(e),n=f(e[u[91]])[u[171]]($)[u[94]](Boolean);return n[u[56]]>0?n:t?[e]:[]}function T(e){[u[109],u[108],u[107]][u[33]]((function(t){return(0,l[u[36]])(e[u[41]],t)}))[u[94]]((function(e){return Boolean(e)}))[u[40]]((function(t){return e[u[172]](t)})),f(e[u[91]])[u[40]](T)}},14507:function(e,t,n){var r;Object[u[2]](t,u[1],{value:!0}),t[u[174]]=t[u[125]]=t[u[129]]=t[u[130]]=void 0,t[u[28]]=function e(t,n,r,i){void 0===i&&(i=t[u[27]]);var o=function(e,t,n){var r=u[45],i=e[u[135]](u[166]);return i&&(r+=i[u[53]](u[150])[u[33]]((function(e){return d(e,t)}))[u[121]](u[131])[u[18]](/;;+/g,u[131])),r+_(p(e))}(i,n);o[u[56]]>0&&i[u[177]](u[166],o),(0,a[u[42]])(i[u[91]])[u[40]]((function(i){return e(t,n,r,i)})),function(e,t,n){var r=t[u[135]](u[194]),i=r?n[u[43]]((function(e){return e[u[151]]===r})):null;if(i){var o=document[u[154]](u[195]),a=u[199][u[14]](i[u[197]],u[198])[u[14]](i[u[196]]);o[u[177]](u[166],u[200]),o[u[177]](u[201],a),e[u[116]]=a,t[u[101]](o)}}(t,i,r)},t[u[24]]=function(e){var t=new Map,n=e[u[22]](u[178]);return n?((0,a[u[42]])(n[u[143]](u[179]))[u[40]]((function(e){var n=e[u[135]](u[137])||e[u[135]](u[151]);n&&t[u[39]](n,p(e))})),t):t},t[u[30]]=function(e,t){if(t){var n=e[u[27]][u[135]](u[166]);e[u[27]][u[177]](u[166],n?n+t:t)}},t[u[26]]=function(e,t){var n=e[u[22]](u[152]);if(!n)return u[45];var r=n[u[135]](u[166]),i=p(n),o=r?d(r,t):u[45];return g(i)[u[156]]((function(e,t){return u[45][u[14]](e)[u[14]](t,u[52])[u[14]](i[u[49]](t),u[131])}),o)},t[u[128]]=function(e,t){return e===a[u[62]][u[82]]?u[180][u[14]](e,u[52])[u[14]](t,u[131]):u[45][u[14]](e,u[52])[u[14]](t,u[131])},t[u[127]]=function(e,n){var r=Object[u[126]](i)[u[43]]((function(t){return t===e}));if(r){var o=t[u[174]][r],a=o[u[126]][n];return o&&a?o[u[141]]+u[45][u[14]](o[u[181]],u[52])[u[14]](a,u[131]):u[45]}return u[45]},t[u[175]]=l,t[u[122]]=d;var i,o=n(39112),a=n(68784),s=new RegExp(u[176]),c=16;function l(e){var t=0,n=0,r=0,i=1;if(s[u[182]](e)){if(5===e[u[56]])return t=parseInt(e[u[61]](1,2),c),n=parseInt(e[u[61]](2,3),c),r=parseInt(e[u[61]](3,4),c),i=parseInt(e[u[61]](4),c),u[185][u[14]](t,u[184])[u[14]](n,u[184])[u[14]](r,u[184])[u[14]](i,u[183]);if(9===e[u[56]])return t=parseInt(e[u[61]](1,3),c),n=parseInt(e[u[61]](3,5),c),r=parseInt(e[u[61]](5,7),c),i=parseInt(e[u[61]](7),c),u[185][u[14]](t,u[184])[u[14]](n,u[184])[u[14]](r,u[184])[u[14]](i,u[183])}return e}function d(e,t){var n=t[u[49]](e);return n instanceof Map?_(n):n?u[45][u[14]](e,u[52])[u[14]](n):u[45]}function _(e){var t=g(e)[u[94]]((function(e){return[u[67],u[69]][u[186]](e)<0}))[u[33]]((function(t){return u[45][u[14]](t,u[52])[u[14]](e[u[49]](t))}))[u[121]](u[131]);return u[45]===t?t:u[45][u[14]](t,u[131])}function f(e){return e[u[18]](/(default)|(monospace(Sans)?Serif)/g,u[188])[u[18]](/(sansSerif)|(proportional(Sans)?Serif)/g,u[187])}function h(e){return u[189]===e?u[190]:u[191]}function p(e){var n=new Map,r=(0,o[u[35]])(e);return t[u[130]][u[40]]((function(e){(0,o[u[37]])(r,n,e,(function(e){return e}))})),t[u[129]][u[40]]((function(e){(0,o[u[37]])(r,n,e,l)})),(0,o[u[37]])(r,n,u[192],f),(0,o[u[37]])(r,n,u[193],h),n}function g(e){var t=[];return e[u[40]]((function(e,n){return t[u[90]](n)})),t}t[u[130]]=[u[202],u[203],u[204],u[205],u[206],u[207],u[208],u[209],u[210],u[211]],t[u[129]]=[u[212],u[213]],function(e){e[u[214]]=u[81]}(i||(t[u[125]]=i={})),t[u[174]]=((r={})[i[u[214]]]={prefix:u[215],cssProperty:u[216],values:{before:u[217],center:u[218],after:u[219]}},r)}},function(e){return e(e[u[165]]=89978)}])},u[221]==typeof t&&"object"==u[221]?e[u[222]]=s():"function"==u[223]&&n.amdD[u[224]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[221]==typeof t?t[u[225]]=s():(a[u[226]]=a[u[226]]||{},a[u[226]][u[227]]=a[u[226]][u[227]]||{},a[u[226]][u[227]][u[225]]=s())},4271:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),(u=function(e,t){for(var n=1856,r=[],i=0;i<n;i++)r[i]='%nlg%igtjtlynoiRPnti%ytiA%ferro tehy&tertoeTobrAme%%eeniidDen%trg-pistobgolelyesttfT%MAgeoent%rroe%rptXa%r%Re<itieatltaNnoptrWilseoyllesatsgetafrfee%lellTabca%seTrVsiyge%rns%rLemt%tw%cerRtmtFero%htCcelapoCyiipieOCtuieoaepgsCaelg%tucatcsano%em%o%rtth_lsenb%rnsCusotsent%toVf%stbpsoria tyo%aoi/emscgptii%%uvd%ix_rfeoxho]ytw-srouWgaapmrep-niarM_#e.tsedSee%eyenad%sCV%ea%itc>a%gred%cr%tlnmielttutnbsd%krltnrnpuin<es%%se<xsusssoiscywdlddotsYeoanStCp%ntWrgoianti%otfv>itTnou%nspteeyttt%t%ee-cdgSo:f%%nmm%leotrsehmidvxettretuct=euewsbbea%ipeiOeretdtruar%Csxlni%nio%PV%tl%%lhcNntmigu:ua/tetegPraermnPii%twiNetpagoueuats%asthtl%_cerkrertaznc#srNel%efsPiri%noestdhPsiepTtrl%eelucctthygfits%esseeaoNfxle%Husantek_fHlbeOAptootyeepb%os%yi%aPo%gtstaP\ner%cnk%ees%ptatsie%egentr>-ensePsMhIo%%lSrafiee%uiigmueptsrAdbdlglltpsotapteairsoBekRitrt%tiot-oa%sb%iscsforag%Ptmr%tAlxneinnh%<%ggnrrttlnTyeota%rw%ettcketn<cu%eoncstme%%ctig%.pae%s%AeLys%sLr%e‏%f%%ltnmd%lttbi%%%%eeEtsnlnsedgreOaCcttapot%txspsss%itpam%in%Atcgnal%e_Ssepr%%Sul/eneeote%dienpaorli%Ctr%uohhltbaa%Vtconoae%_fwatrSa_ubn1dt%eov%c%boeotd%ye plnnPiutiiiras%rnc%cau"ecettld>meyeeecetryClebs%yVeertaey%lcprtt%rytorhte_aprniDr%rH%emsr%SenBepteidhx%h%‎wc=p%aag0dtlsoe%eomt%eTtgrpuEiojss%c%%appcdorennrriseS%avnpailDheiSrfprsls%l%elVosrpisuroseaaearpetlaecehlbnl.tuvNeeSaeiCltiotPseCutio%n%euli%dfpelSsyituurtuTexlne%cls%ribrflenegriurCrysu-eWpcort%o"tuiy%PNrenc%dee_sfvtv%ine%rt%%tte%g%mth%uaeenaapiasVe%%dOutf cnAnspeolmelctnelr%etrugrfgtnDhDse:eingrsCtrpeepaoercitSarnya;ne%ierfIrplelrleMa%Dngep%ssr%llntaissprir%%nnteihtiende:%eDnopntc%twliby%%i%es/%moDsc%%bd%e%dbehebreagbloaerrralndd%eug%%lMrotXimerspntlieV%Y%uudlioaimthdrtch%ilwrotrgicpnritxld%%nu_ntnea%agbtaSiasclu%tl%h%nranCoieo%vs%%yceipvoopw%it%dlsma[p%otuTf%ent_Ce%puneue%ptUfnmsprcA%vSc%ebtstriuApiasaMete%>ow%Pn%ou%sesrn%aettiipnsife%ibtiyouiyu%%Ham%'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5195702))[0],a=self,s=function(){return(self[u[194]]=self[u[194]]||[])[u[38]]([[831],{57011:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[3]]=void 0;var r=n(16368),i=n(33605),o=n(43985);t[u[3]]={name:r[u[5]][u[4]],module:function(){return{WebVttParser:o[u[6]],extractVttProperties:i[u[7]]}},dependencies:[r[u[5]][u[8]]]},t[u[9]]=t[u[3]]},43985:function(e,t,n){var r=this&&this[u[10]]||function(){return r=Object[u[11]]||function(e){for(var t,n=1,r=arguments[u[12]];n<r;n++)for(var i in t=arguments[n])Object[u[15]][u[14]][u[13]](t,i)&&(e[i]=t[i]);return e},r[u[16]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[6]]=void 0;var i=n(13533),o=n(53166),a=function(){function e(){var e=(0,i[u[18]])()[u[17]],t=window&&window[u[19]]&&u[20]==typeof window[u[19]][u[21]];this[u[22]]=!t||e}return e[u[15]][u[23]]=function(e,t){void 0===t&&(t=0);var n=(e=e[u[29]](/\r\n/gm,u[24]))[u[25]](/\n{2,}|^[WEBVTT\n+]?X-TIMESTAMP-MAP=.*\n+|^WEBVTT\n+/m)[u[28]]((function(e){return null!=e&&u[27]!==e}))[u[26]]((function(e){return e[u[25]](u[24])})),r=this[u[30]](e),i=this[u[31]](n),o={vtt:r,base:t};return this[u[32]](n,i,o)},e[u[15]][u[30]]=function(e){var t=/X-TIMESTAMP-MAP=(.*)\n/[u[33]](e);if(null==(null==t?void 0:t[1]))return 0;var n=t[0],r=/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m[u[33]](n),i=/MPEGTS:(\d+)/m[u[33]](n),a=0;if(null==r?void 0:r[1]){var s=o[u[34]](r[1]);null!=s&&(a=s)}var c=0;return null!=i&&(c=Number(i[1])),c/9e4-a},e[u[15]][u[31]]=function(e){for(var t=[],n=[],r=0,i=e;r<i[u[12]];r++){var a=i[r],s=a[0];/^STYLE/[u[36]](s[u[35]]())&&n[u[38]][u[16]](n,o[u[37]](a)),/^region:?/i[u[36]](s[u[35]]())&&t[u[38]][u[16]](t,o[u[39]](a))}return{regions:t,styles:n}},e[u[15]][u[40]]=function(e){var t=/^NOTE/[u[36]](e),n=/^STYLE/[u[36]](e),r=/^region:?/i[u[36]](e);return!t&&!n&&!r},e[u[15]][u[41]]=function(e){return null!=e&&u[27]!==e&&!!e[u[43]](u[42])},e[u[15]][u[44]]=function(e){var t={},n=[];return e[u[48]]((function(e){null==e[u[45]]&&(t=r(r({},t),e[u[46]]));var i=n[u[47]]((function(t){return t[u[45]]===e[u[45]]}));-1!==i?n[i]={identifier:e[u[45]],style:r(r({},n[i][u[46]]),e[u[46]])}:n[u[38]](e)})),o[u[50]]()[u[48]]((function(e){n[u[49]]((function(t){return t[u[45]]===e[u[45]]}))||n[u[38]](e)})),{globalStyle:t,contentStyles:n}},e[u[15]][u[51]]=function(e,t,n){var r=/(<\d+:\d{2}:\d{2}[.,]\d{3}>)/g,i=[],a=function(e){var t=e[0][u[25]](/[ \t]+-->[ \t]+/);return{start:o[u[34]](t[0]),end:o[u[34]](t[1])}}(e),s=a[u[52]],l=a[u[53]];if(null!==s&&null!==l){for(var d=function(e){return e[u[84]](1)[u[83]](u[24])[u[35]]()}(e),_=d[u[25]](r),f=u[27],h=d[u[29]](r,u[27]),p=s;_[u[12]]>0;){var g=_[u[54]](),v=_[u[54]](),m=v?o[u[34]](v):l,y=null!=m?m:l;if(p!==y){var b=c(g,f,h=h[u[55]](g[u[12]]));f+=g;var S=o[u[56]](b,n,t,this[u[22]]);i[u[38]]({updateTime:p,html:S}),p=y}}var E=i[u[54]]();if(E)return{start:s,end:l,html:E[u[57]],subCues:i}}},e[u[15]][u[58]]=function(e,t,n){var i=e[u[28]]((function(e){return e[u[45]]===u[60]+n}))[u[59]]((function(e,t){return r(r({},e),t[u[46]])}),{});return r(r({},t),i)},e[u[15]][u[32]]=function(e,t,n){var r=this,i=[],a=0,c=t[u[61]],l=t[u[62]],d=this[u[44]](l),_=d[u[63]],f=d[u[64]];return e[u[28]]((function(e){return r[u[40]](e[0])}))[u[48]]((function(e){var t=void 0;e[0][u[43]](u[42])||(t=e[0][u[35]](),e[u[65]](0,1));var l=r[u[66]](t,a);if(a=l,r[u[41]](e[0])){var d=o[u[67]](e[0],c);d[u[68]]=t;var h=r[u[51]](e,f,n[u[69]]);if(void 0!==h){var p=s(h,l,r[u[58]](f,_,t),n,d);i[u[38]](p)}}})),i},e[u[15]][u[66]]=function(e,t){var n=Number(e);return null==e||isNaN(n)?t+1:n},e}();function s(e,t,n,i,a){var s,c,l={i:null,start:null,end:null,text:null,html:null,vtt:o[u[82]](),offset:null,updates:[]};l[u[70]]=t;var d=o[u[71]](n);return l[u[52]]=e[u[52]]+i[u[69]],l[u[53]]=e[u[53]]+i[u[69]],l[u[72]]=(null===(s=e[u[57]])||void 0===s?void 0:s[u[73]])||(null===(c=e[u[57]])||void 0===c?void 0:c[u[74]])||u[27],l[u[57]]=o[u[75]](e[u[57]]),l[u[76]]=r({},a),0!==i[u[76]]&&(l[u[77]]=i[u[76]]),d&&(l[u[78]]=d),l[u[79]]=e[u[81]][u[26]]((function(e){return{updateTime:e[u[80]]+i[u[69]],html:o[u[75]](e[u[57]])}})),l}function c(e,t,n){return(t?l(t,u[85]):u[27])+e+(n?l(n,u[86]):u[27])}function l(e,t){return u[90][u[88]](t,u[89])[u[88]](e,u[87])}t[u[6]]=a,t[u[9]]=a},35913:function(e,t,n){var r=this&&this[u[10]]||function(){return r=Object[u[11]]||function(e){for(var t,n=1,r=arguments[u[12]];n<r;n++)for(var i in t=arguments[n])Object[u[15]][u[14]][u[13]](t,i)&&(e[i]=t[i]);return e},r[u[16]](this,arguments)},i=this&&this[u[91]]||function(e,t,n){if(n||2===arguments[u[12]])for(var r,i=0,o=t[u[12]];i<o;i++)!r&&i in t||(r||(r=Array[u[15]][u[84]][u[13]](t,0,i)),r[i]=t[i]);return e[u[88]](r||Array[u[15]][u[84]][u[13]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[56]]=function(e,t,n,r){var i=function(e){var t;if(e){var n=(o||(o=new DOMParser),o)[u[108]](u[106],u[107]);return(null===(t=n[u[109]])||void 0===t?void 0:t[u[110]])||n[u[110]]}return document[u[21]](u[97])}(r);return h({input:e,root:i,current:i,tagStack:[],offset:t,styles:n})};var o,a=n(17699),s=n(33605),c={"&amp;":u[92],"&lt;":u[93],"&gt;":u[89],"&lrm;":u[94],"&rlm;":u[95],"&nbsp;":u[96]},l={c:u[97],i:u[70],b:u[98],u:u[99],ruby:u[100],rt:u[101],v:u[97],lang:u[97]},d={v:u[102],lang:u[103]},_={rt:u[100]},f={"cue-future":u[104],"cue-past":u[105]};function h(e){var t=function(e){if(!e)return null;var t=/^([^<]*)(<[^>]+>?)?/[u[33]](e);if(!t)return null;var n=t[1],r=t[2];return n||r}(e[u[111]]);return null==t?e[u[112]]:(e[u[111]]=e[u[111]][u[55]](t[u[12]]),function(e,t){if(u[93]!==e[0]){var n=t[u[127]][u[126]][u[125]](g(e));return t[u[127]][u[128]](n),h(t)}if(u[129]===e[1])return function(e,t){return t[u[12]]>0&&t[t[u[12]]-1]===e[u[55]](2)[u[29]](u[89],u[27])}(e,t[u[130]])&&(t[u[130]][u[131]](),t[u[127]]=t[u[127]][u[132]]),h(t);var r=(0,s[u[34]])(e[u[55]](1,e[u[12]]-1));if(null!=r){var i=t[u[127]][u[126]][u[134]](u[133][u[88]](r+t[u[77]]));return t[u[127]][u[128]](i),h(t)}var o=/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/[u[33]](e);if(!o)return h(t);var a=o[0],c=o[1],l=o[2],d=o[3],_=m(c,d,t[u[127]][u[126]]);return _&&v(t[u[127]],_)?(function(e,t,n){var r=p(t,n),i=r[u[122]],o=r[u[102]],a=r[u[123]];o&&(e[u[102]]=o),i&&(e[u[122]]=i),a&&e[u[124]](u[46],a)}(_,t[u[62]],{type:c,contents:l,annotation:d}),t[u[130]][u[38]](a[1]),t[u[127]][u[128]](_),t[u[127]]=_,h(t)):h(t)}(t,e))}function p(e,t){var n,o,c,l,d;e=i(i([],e,!0),a[u[113]],!0);var _=u[27],h=u[27],p={};if(t[u[114]]&&u[115]!==t[u[114]]&&(p=null!==(o=null===(n=e[u[49]]((function(e){return e[u[45]]===t[u[114]]})))||void 0===n?void 0:n[u[46]])&&void 0!==o?o:p),t[u[116]]){var g=t[u[116]][u[55]](1)[u[25]](u[117])[u[26]]((function(e){return f[e]||u[117][u[88]](e)})),v=[];g[u[48]]((function(t){var n,r=null===(n=e[u[49]]((function(e){return e[u[45]]===t})))||void 0===n?void 0:n[u[46]];r&&v[u[38]](r)})),p=v[u[59]]((function(e,t){return r(r({},e),t)}),{}),_=t[u[116]][u[25]](u[117])[u[83]](u[118])[u[35]]()}return u[115]===t[u[114]]&&t[u[119]]&&(h=t[u[119]][u[55]](1),p=null!==(l=null===(c=e[u[49]]((function(e){return e[u[45]]===u[27][u[88]](t[u[114]],u[121])[u[88]](h,u[120])})))||void 0===c?void 0:c[u[46]])&&void 0!==l?l:p),{className:_,title:h,styleString:null!==(d=(0,s[u[71]])(p))&&void 0!==d?d:u[27]}}function g(e){return Object[u[136]](c)[u[48]]((function(t){e=e[u[29]](new RegExp(t,u[135]),c[t])})),e}function v(e,t){return!_[t[u[137]]]||_[t[u[137]]]===e[u[137]]}function m(e,t,n){var r=l[e];if(!r)return null;var i=n[u[21]](r),o=d[e];return o&&t&&(i[o]=t[u[35]]()),i}},17699:function(e,t){var n=this&&this[u[91]]||function(e,t,n){if(n||2===arguments[u[12]])for(var r,i=0,o=t[u[12]];i<o;i++)!r&&i in t||(r||(r=Array[u[15]][u[84]][u[13]](t,0,i)),r[i]=t[i]);return e[u[88]](r||Array[u[15]][u[84]][u[13]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[113]]=void 0;var r=[u[138],u[139],u[140],u[141],u[142],u[143],u[144],u[145]];t[u[113]]=n(n([],r[u[26]]((function(e){return{identifier:u[117][u[88]](e),style:{color:e}}})),!0),r[u[26]]((function(e){return{identifier:u[146][u[88]](e),style:{background:e}}})),!0)},86535:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[67]]=function(e,t){var n=e[u[25]](/\s/),r=(0,i[u[82]])();return n[u[48]]((function(e){o(e[u[25]](u[148]),t,r)})),function(e){var t=(0,i[u[82]])();null!=e[u[149]]&&(e[u[150]]!==t[u[150]]||e[u[152]]!==t[u[152]]||e[u[154]]!==t[u[154]])&&delete e[u[149]]}(r),r},t[u[147]]=o;var r=n(70016),i=n(33605);function o(e,t,n){var r=e[0],i=e[1];switch(r){case u[149]:!function(e,t,n){var r=t[u[49]]((function(t){return t[u[68]]===e}));null!=r&&(n[u[149]]=r)}(i,t,n);break;case u[150]:a(i,n);break;case u[151]:s(i,n);break;case u[152]:c(i,n);break;case u[153]:d(i,n);break;case u[154]:_(i,n)}}function a(e,t){var n=(0,i[u[155]])(/^(lr|rl)$/[u[33]](e))[1];null!=n&&(t[u[150]]=n)}function s(e,t){var n=(0,i[u[155]])(/^(start|middle|center|end|left|right)$/[u[33]](e))[1];null!=n&&(t[u[151]]=n),t[u[156]]=l(void 0,t)}function c(e,t){var n=(0,i[u[155]])(/^([\d.]+)%$/[u[33]](e))[1];null!=n&&(t[u[152]]=Number(n))}function l(e,t){if(null!=e)return e;switch(t[u[151]]){case u[52]:case u[158]:return u[157];case u[53]:case u[160]:return u[159];default:return u[161]}}function d(e,t){var n=(0,i[u[155]])(/^([\d.]+|auto)%?(?:,(line-left|line-right|center))?$/[u[33]](e)),r=n[1],o=n[2];u[162]===r?t[u[153]]=u[162]:void 0!==r&&(t[u[153]]=Number(r)),t[u[156]]=l(o,t)}function _(e,t){var n=(0,i[u[155]])(/^(-?[\d.]+|auto)(%)?(?:,(start|end|center|auto))?$/[u[33]](e)),o=n[1],a=n[2],s=n[3],c=u[163]===a;u[162]===o?t[u[154]]=u[162]:c?t[u[154]]=u[27][u[88]](o,u[163]):null!=e&&(t[u[154]]=Number(o)),null!=s&&(t[u[164]]=s),t[u[165]]=(0,r[u[166]])(t[u[154]])}},33605:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[82]]=s,t[u[7]]=function(e){var t=s(),n=c();return Object[u[136]](t)[u[48]]((function(i){return(0,a[u[147]])(function(e,t,n){var i=[e,t[e]?u[27][u[88]](t[e]):n[e]],o=u[154]===e;return(u[153]===e&&(0,r[u[166]])(t[e])||o&&!1===t[u[165]])&&(i[1]+=u[163]),i}(i,e,t),[n],t)})),t},t[u[167]]=c,t[u[34]]=function(e){var t=/(?:(\d{1,}):)?(\d{2}):(\d{2})[.,](\d{3})/g[u[33]](e);if(null==t)return null;var n=t[1],r=t[2],i=t[3],o=t[4];return Number(o)/1e3+Number(i)+60*Number(r)+3600*(Number(n)||0)},t[u[155]]=function(e){return Array[u[168]](e)?e:[]},t[u[71]]=function(e){return e?Object[u[170]](e)[u[26]]((function(e){return u[27][u[88]](e[0],u[148])[u[88]](e[1],u[169])}))[u[83]](u[27]):null},t[u[75]]=function(e){return(0,i[u[175]][u[174]](o[u[5]][u[8]])[u[173]][u[172]])((null==e?void 0:e[u[171]])||u[27])};var r=n(70016),i=n(91520),o=n(16368),a=n(86535);function s(){return{vertical:u[27],align:u[161],size:100,line:u[162],lineAlign:u[52],position:u[162],positionAlign:u[161],snapToLines:!1}}function c(){return{id:null,width:100,lines:3,regionAnchorX:0,regionAnchorY:100,viewportAnchorX:0,viewportAnchorY:100,scroll:u[27]}}},98855:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[39]]=function(e){for(var t=[],n=0,r=e;n<r[u[12]];n++){var a=r[n];if(a=a[u[35]](),/^REGION$/i[u[36]](a)){t[u[38]](i(e));break}/^Region:/i[u[36]](a)&&t[u[38]](o(a))}return t};var r=n(33605);function i(e){return a(e[u[84]](1),u[148])}function o(e){return a(e[u[25]](/[ \t]+/)[u[84]](1),u[176])}function a(e,t){var n=(0,r[u[167]])();return e[u[48]]((function(e){!function(e,t){var n=e[0],i=e[1];switch(n){case u[68]:!function(e,t){null!=e&&(t[u[68]]=e)}(i,t);break;case u[177]:!function(e,t){var n=(0,r[u[155]])(/^(\d{1,2}|100)%$/[u[33]](e))[1];null!=n&&(t[u[177]]=Number(n))}(i,t);break;case u[178]:!function(e,t){var n=(0,r[u[155]])(/^(\d+)$/[u[33]](e))[1];null!=n&&(t[u[178]]=Number(n))}(i,t);break;case u[179]:!function(e,t){var n=(0,r[u[155]])(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/[u[33]](e)),i=n[1],o=n[2];null!=i&&(t[u[182]]=Number(i)),null!=o&&(t[u[183]]=Number(o))}(i,t);break;case u[180]:!function(e,t){var n=(0,r[u[155]])(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/[u[33]](e)),i=n[1],o=n[2];null!=i&&(t[u[184]]=Number(i)),null!=o&&(t[u[185]]=Number(o))}(i,t);break;case u[181]:!function(e,t){var n=(0,r[u[155]])(/^(up)$/[u[33]](e))[1];null!=n&&(t[u[181]]=n)}(i,t)}}(e[u[25]](t),n)})),n}},10517:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[37]]=function(e){var t=[],n=/::cue(\((.+)\))?(?= |{)/,r=/([a-zA-Z0-9-]+):(.+?(?=;|}|$))/g,i=n[u[33]](e[1]);if(!i)return t;for(var o=1;o<e[u[12]];o++){for(var a=n[u[33]](e[o]),s=null!==a,c=(i=s?a:i)[2],l={},d=r[u[33]](e[o]);null!==d;){var _=d[1],f=d[2];l[_]=f[u[35]](),d=r[u[33]](e[o])}(s||Object[u[136]](l)[u[12]]>0)&&t[u[38]]({identifier:c,style:l})}return t},t[u[50]]=function(){return[{identifier:u[104],style:{visibility:u[186]}}]}},53166:function(e,t,n){var r=this&&this[u[187]]||(Object[u[188]]?function(e,t,n,r){void 0===r&&(r=n);var i=Object[u[189]](t,n);i&&!(u[174]in i?!t[u[1]]:i[u[190]]||i[u[191]])||(i={enumerable:!0,get:function(){return t[n]}}),Object[u[2]](e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this[u[192]]||function(e,t){for(var n in e)u[9]===n||Object[u[15]][u[14]][u[13]](t,n)||r(t,e,n)};Object[u[2]](t,u[1],{value:!0}),i(n(98855),t),i(n(35913),t),i(n(86535),t),i(n(33605),t),i(n(10517),t)}},function(e){return e(e[u[193]]=57011)}])},u[195]==typeof t&&"object"==u[195]?e[u[196]]=s():"function"==u[20]&&n.amdD[u[197]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[195]==typeof t?t[u[198]]=s():(a[u[199]]=a[u[199]]||{},a[u[199]][u[200]]=a[u[199]][u[200]]||{},a[u[199]][u[200]][u[198]]=s())},6818:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[482],{86685:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},29495:function(e,t){var n=this&&this.__assign||function(){return n=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},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EnabledSubtitlesTracker=void 0;var r=function(){function e(){this.enabledSubtitles={},this.idCounter=0}return e.prototype.addSubtitle=function(e){this.removeSubtitle(e.id),this.enabledSubtitles[this.getNextId()]=n({isFragmented:!1},e)},e.prototype.removeSubtitle=function(e){var t=this;Object.keys(this.enabledSubtitles).forEach((function(n){t.enabledSubtitles[n].id===e&&delete t.enabledSubtitles[n]}))},e.prototype.shouldEnableSubtitle=function(e,t){var n=this,r=Object.keys(this.enabledSubtitles).find((function(r){return n.getTargetSubtitleIdForPeriod(n.enabledSubtitles[r],t)===e.id}));return Boolean(r)},e.prototype.getTargetSubtitleIdForPeriod=function(e,t){var n=e.id,r=e.kind,o=e.lang,a=e.isFragmented;return i({lang:o,kind:r,isFragmented:a,id:n},t)||i({lang:o,kind:r,isFragmented:a},t)||i({lang:o,kind:r},t)},e.prototype.getNextId=function(){return this.idCounter++,this.idCounter},e.prototype.dispose=function(){this.enabledSubtitles={},this.idCounter=0},e}();function i(e,t){return Object.keys(t).find((function(n){var r=t[n].getSubtitle(),i=r.id,o=r.lang,a=r.isFragmented,s=r.kind,u=i===e.id,c=!e.isFragmented||a===e.isFragmented,l=o===e.lang;e.isPreferred&&e.lang&&(l=o.includes(e.lang)||e.lang.includes(o));var d=s===e.kind&&l&&c;return u||d}))}t.EnabledSubtitlesTracker=r},59272:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ForcedSubtitleController=void 0;var r=n(70412),i=function(){function e(){this.subtitleHandlers={}}return e.prototype.addSubtitleHandler=function(e){this.subtitleHandlers[e.getSubtitle().id]=e},e.prototype.deactivate=function(){return this.hasForcedSubtitles()?Promise.all(Object.values(this.subtitleHandlers).map((function(e){return e.deactivate()}))).then((function(){})):Promise.resolve()},e.prototype.activate=function(e){var t=this;return void 0===e&&(e=this.currentLang),this.hasForcedSubtitles()?(this.currentLang=e,this.deactivate().then((function(){var e=Object.values(t.subtitleHandlers).find((function(e){return(0,r.isEqualIsoLanguage)(e.getSubtitle().lang,t.currentLang)}));if((e=null!=e?e:Object.values(t.subtitleHandlers)[0])&&!e.isActive())return e.activate().catch((function(){}))}))):Promise.resolve()},e.prototype.dispose=function(){Object.values(this.subtitleHandlers).forEach((function(e){return e.dispose()})),this.subtitleHandlers=null},e.prototype.hasForcedSubtitles=function(){return Object.keys(this.subtitleHandlers).length>0},e}();t.ForcedSubtitleController=i},64397:function(e,t){function n(e){return e.replace(/<[^>]*>?/g,"")}function r(e){return e.replace(/<br\s*\/?>/g,"\n")}Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToText=function(e){return n(r(e))},t.stripHtmlTags=n,t.prepareHtml=function(e){return e.replace(/(\r\n|\r|\n)/g,"<br />")},t.replaceHtmlBreakPointsWithNewLine=r,t.stripAwayHtmlBreakPoints=function(e){return e.replace(/<br\s*\/?>/g,"")}},70412:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isEqualIsoLanguage=function(e,t){var n;if(void 0===t)return!1;if(null===(n=window.Intl)||void 0===n?void 0:n.DisplayNames){var r=new window.Intl.DisplayNames(["en"],{type:"language"});try{return r.of(e.split("-")[0])===r.of(t.split("-")[0])}catch(e){}}return e===t}},66774:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseMP4WrappedSubtitles=function(e,t){var n=e.getTimescale();if(void 0===n||!a.ModuleManager.has(s.ModuleName.ContainerMP4))return[];var r=a.ModuleManager.get(s.ModuleName.ContainerMP4);return function(e,t,n){var r=0,o=[];return e.forEach((function(e){var a=i.CodecStringHelper.extractCodec(t.getCodec()),s=e.duration/n,c=t.getPlaybackTime()+r,l=c+s;r+=s;var d=u(e,a);d&&o.push({start:c,end:l,text:d})})),o}(r.getMp4Fragments(e).flatMap((function(n){return r.getTrackSamples(n.moof,n.mdat,e,t)})),e,n)};var r=n(81361),i=n(42283),o=n(34586),a=n(91520),s=n(16368);function u(e,t){return"wvtt"===t||"vtt"===t?function(e){for(var t=e.data.buffer,n=e.data.byteOffset,i=0,o=[];i<e.data.byteLength;){var a=e.data.getUint32(i),s=n+i,u=r.ArrayHelper.convertBufferSourceToUTF8(new Uint8Array(t,s+4,4));if("payl"===u){var c=r.ArrayHelper.convertBufferSourceToUTF8(new Uint8Array(t,s+8,a-8));o.push(c),i+=a}else i+="vttc"!==u?a:8}return o.join("<br>")}(e):"stpp"===t?function(e){var t=new Uint8Array(e.data.buffer,e.data.byteOffset,e.data.byteLength);return r.ArrayHelper.convertBufferSourceToUTF8(t,o.TextSegmentAnalyzer.detectEncoding(e.data))}(e):void 0}},84380:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);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]}),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}),t.SubtitleModuleDefinition=void 0;var o=n(16368),a=n(64397),s=n(70412),u=n(75225),c=n(27338),l=n(10842);t.SubtitleModuleDefinition={name:o.ModuleName.Subtitles,module:function(){return{SubtitleService:l.SubtitleService,SubtitleParserFactory:c.SubtitleParserFactory,PlayerSubtitlesApiFactory:u.PlayerSubtitlesApiFactory,HtmlTransformer:a,LanguageComparer:s}},dependencies:[o.ModuleName.EngineBitmovin]},t.default=t.SubtitleModuleDefinition,i(n(86685),t)},81253:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parsePlainTextSubtitles=function(e){var t,n,o=i.TextSegmentAnalyzer.detectEncoding(e.getData()),a=r.ArrayHelper.convertBufferSourceToUTF8(e.getData(),o),s=null!==(t=e.getPlaybackTime())&&void 0!==t?t:0;return[{start:s,end:s+(null!==(n=e.getDuration())&&void 0!==n?n:0),text:a}]};var r=n(81361),i=n(34586)},75225:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerSubtitlesApiFactory=void 0;var i=n(62510),o=function(){function e(){}return e.build=function(e){return new(function(){function t(){}return t.prototype.add=function(t){e.addSubtitle(t)},t.prototype.remove=function(t){e.removeSubtitle(t)},t.prototype.list=function(){return e.listSubtitles()},t.prototype.enable=function(t,n){void 0===n&&(n=!0),e.enableSubtitle(t,n)},t.prototype.disable=function(t){e.disableSubtitle(t)},t.prototype.cueEnter=function(t){e.fireEvent(i.PlayerEvent.CueEnter,r(r({},t),{type:i.PlayerEvent.CueEnter}))},t.prototype.cueExit=function(t){e.fireEvent(i.PlayerEvent.CueExit,r(r({},t),{type:i.PlayerEvent.CueExit}))},t}())},e}();t.PlayerSubtitlesApiFactory=o},27338:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleParserFactory=void 0;var r=n(62510),i=n(91520),o=n(16368),a=n(57042),s=function(){function e(){}return e.createInstance=function(e,t){var n;return t.indexOf("<?")>-1||t.indexOf("<tt")>-1?i.ModuleManager.has(o.ModuleName.SubtitlesTTML)?n=new(0,i.ModuleManager.get(o.ModuleName.SubtitlesTTML).TTMLParser)(e):e.eventHandler.dispatchEvent(r.PlayerEvent.Warning,new a.PlayerModuleMissingWarning(o.ModuleName.SubtitlesTTML,"The ".concat(o.ModuleName.SubtitlesTTML," module is required to parse TTML subtitles."))):i.ModuleManager.has(o.ModuleName.SubtitlesWebVTT)?n=new(i.ModuleManager.get(o.ModuleName.SubtitlesWebVTT).WebVttParser):e.eventHandler.dispatchEvent(r.PlayerEvent.Warning,new a.PlayerModuleMissingWarning(o.ModuleName.SubtitlesWebVTT,"The ".concat(o.ModuleName.SubtitlesWebVTT," module is required to parse WebVTT subtitles."))),n},e}();t.SubtitleParserFactory=s},10842:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleService=void 0,t.isSeekEvent=S;var i=n(18665),o=n(60997),a=n(62510),s=n(76650),u=n(3464),c=n(79814),l=n(91520),d=n(16368),_=n(57042),f=n(29495),h=n(59272),p=n(68466),g=n(45684),v=n(14200),m=n(8679),y=n(24855),b=function(){function e(e){var t=this;this.context=e,this.getTransmuxer=function(){return t.transmuxer},this.onDiscontinuitySequenceNumberChanged=function(){t.resetCaptionExtractor()},this.onSeek=function(e){t.resetCaptionExtractor();var n=e.position,r=S(e)?e.seekTarget:e.target;Object.keys(t.subtitleHandlers).forEach((function(e){return t.subtitleHandlers[e].onSeek(n,r)}))},this.onSeeked=function(){Object.values(t.subtitleHandlers).filter((function(e){return e.isActive()})).forEach((function(e){return e.refresh()}))},this.handlePeriodUpdate=function(e,n){t.context.logger.debug("Switching periods in subtitleService");var r=t.manifestService.findPeriod(e);r?(t.adjustSubtitleHandlersForNewPeriod(e,n),t.setupControllersForNextPeriod(r),t.reactivateAfterSwitched()):t.context.logger.log("Can not find period with id = ".concat(e," in Manifest. Skipping period update"))},this.reset=function(){Object.keys(t.subtitleHandlers).forEach((function(e){return t.subtitleHandlers[e].dispose()})),t.subtitleHandlers={},t.cea608Extractor&&(t.cea608Extractor.dispose(),t.cea608Extractor=void 0),t.discontinuitySequenceNumberTracker&&t.discontinuitySequenceNumberTracker.reset()},this.subtitleHandlers={},this.eventHandler=e.eventHandler,this.manifestService=e.serviceManager.get(i.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.enabledSubtitlesTracker=new f.EnabledSubtitlesTracker,this.forcedSubtitleController=new h.ForcedSubtitleController,this.eventHandler.on(a.PlayerEvent.Seek,this.onSeek),this.eventHandler.on(a.PlayerEvent.TimeShift,this.onSeek),this.eventHandler.on(a.PlayerEvent.Seeked,this.onSeeked),this.eventHandler.on(a.PlayerEvent.TimeShifted,this.onSeeked),this.eventHandler.on(a.PlayerEvent.SourceUnloaded,this.reset),this.subscribeToPeriodSwitch()}return e.prototype.shouldReactToPeriodUpdate=function(e,t){var n=e!==t,r=this.manifestService.isHlsManifest()&&!(t||!e);return n||r},e.prototype.subscribeToPeriodSwitch=function(){var e=this,t=this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier);this.unsubscibeFromPeriodSwitch=(0,u.subscribe)(t)(l.ModuleManager.get(d.ModuleName.EngineBitmovin).selectors.getPlayingPeriodId,this.handlePeriodUpdate,(function(t,n){return e.shouldReactToPeriodUpdate(t,n)}))},e.prototype.setupControllersForNextPeriod=function(e){var t=this,n=l.ModuleManager.get(d.ModuleName.EngineBitmovin).getMimeTypeForAdaptationSet;e.AdaptationSet.forEach((function(e){var r=n(e);(0,y.isSubtitleTrack)(r,t.manifestService.isHlsManifest())&&t.setupControllerForSubtitleAdaptationSet(e,r)}))},e.prototype.setupControllerForSubtitleAdaptationSet=function(e,t){if((0,y.isFragmentedAdaptationSet)(e))return this.context.store.dispatch((0,s.initializeMetricsForMimeType)(t,this.context.settings)),void this.addFragmentedSubtitleTrack(e,t);this.addExternalSubtitleTrack(e,t)},e.prototype.addFragmentedSubtitleTrack=function(e,t){var n=this.context.sourceContext.sourceIdentifier,r=this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier);if(r){var o={mimeType:t,codec:l.ModuleManager.get(d.ModuleName.EngineBitmovin).getCodecsFromAdaptationSet(e),isHls:this.manifestService.isHlsManifest(),manifestLoader:this.context.serviceManager.get(i.ServiceName.ManifestLoadingService,n),periodId:e._internalId.periodId,sourceStore:r};this.addFragmentSubtitle(o,e)}},e.prototype.addExternalSubtitleTrack=function(e,t){if(l.ModuleManager.has(d.ModuleName.DASH)){var n=new(l.ModuleManager.get(d.ModuleName.DASH).SegmentTemplateMPDHandler)(this.context),r=this.manifestService.toSubtitleTrack(e,t);n.setAdaptationSetId(e._internalId),r.url=n.getSubtitleUrl().toString(),this.addExternalSubtitle(r,e)}},e.prototype.setTransmuxer=function(e){this.transmuxer=e},e.prototype.hasSubtitle=function(e){return Boolean(this.subtitleHandlers[e])},e.prototype.enableSubtitle=function(e){var t=this,n=this.subtitleHandlers[e];return n&&!n.isActive()?n.activate().then((function(){n.refresh(),t.forcedSubtitleController.deactivate()})).then((function(){return t.enabledSubtitlesTracker.addSubtitle(n.getSubtitle()),!0})).catch((function(e){return t.context.logger.debug("Error during subtitle activation",e),!1})):Promise.resolve(!1)},e.prototype.addExternalSubtitle=function(e,t){void 0===t&&(t=null),e.id||(e.id=e.url);var n=new g.ExternalFileSubtitleHandler(this.context,e,t);return this.reactivateHandler(n),e},e.prototype.reactivateHandler=function(e){var t=e.getSubtitle(),n=this.context.config.playback.isForcedSubtitle;if("function"==typeof n?n(t):t.forced)this.forcedSubtitleController.addSubtitleHandler(e);else{var r=!1,i=t.id;this.subtitleHandlers[i]&&(r=this.subtitleHandlers[i].isActive(),this.removeSubtitleHandler(i)),this.addSubtitleHandler(e),r&&e.activate()}},e.prototype.addSubtitleHandler=function(e){var t=e.getSubtitle();this.applyLabelFunctionForSubtitle(t),this.subtitleHandlers[t.id]=e,this.signalNewSubtitle(t)},e.prototype.applyLabelFunctionForSubtitle=function(e){var t,n,r=this.context.sourceContext.source.labeling,i=this.manifestService.isHlsManifest()?null===(t=null==r?void 0:r.hls)||void 0===t?void 0:t.subtitles:null===(n=null==r?void 0:r.dash)||void 0===n?void 0:n.subtitles;"function"==typeof i&&(e.label=i(e))},e.prototype.addFragmentSubtitle=function(e,t){if(!l.ModuleManager.has(d.ModuleName.EngineBitmovin))return this.context.logger.warn("Unable to add fragmented subtitles because MSE Module is missing"),null;var n=this.manifestService.toSubtitleTrack(t,e.mimeType);n.isFragmented=!0,n.url=null;var r=new v.FragmentedSubtitleHandler(this.context,e,n,this.getTransmuxer);return this.reactivateHandler(r),n},e.prototype.setupCea608CaptionExtractor=function(e){var t;if(!l.ModuleManager.has(d.ModuleName.SubtitlesCEA608))return this.eventHandler.dispatchEvent(a.PlayerEvent.Warning,new _.PlayerModuleMissingWarning(d.ModuleName.SubtitlesCEA608,"The ".concat(d.ModuleName.SubtitlesCEA608," module is required to parse CEA captions."))),this.context.logger.log("CEA Caption parsing is disabled, because the Cea680 module is not loaded"),null;if(!l.ModuleManager.has(d.ModuleName.ContainerMP4))return this.eventHandler.dispatchEvent(a.PlayerEvent.Warning,new _.PlayerModuleMissingWarning(d.ModuleName.ContainerMP4,"The ".concat(d.ModuleName.ContainerMP4," module is required to parse CEA captions."))),this.context.logger.log("CEA Caption parsing is disabled, because the ContainerMP4 module is not loaded"),null;this.cea608Extractor&&this.cea608Extractor.dispose();var n=l.ModuleManager.get(d.ModuleName.ContainerMP4),r=l.ModuleManager.get(d.ModuleName.SubtitlesCEA608).Cea608Extractor;return this.cea608Extractor=new r(e,n,null===(t=this.context.config.tweaks)||void 0===t?void 0:t.parse_cea_708_caption),this.cea608Extractor},e.prototype.resetCaptionExtractor=function(){this.cea608Extractor&&(this.context.logger.debug("Resetting CEA caption extractor..."),this.cea608Extractor.reset())},e.prototype.createDiscontinuitySequenceNumberTracker=function(){var e=l.ModuleManager.get(d.ModuleName.HLS);this.discontinuitySequenceNumberTracker=new e.DiscontinuitySequenceNumberTracker(c.MimeTypeHelper.isVideo),this.discontinuitySequenceNumberTracker.subscribe(this.onDiscontinuitySequenceNumberChanged)},e.prototype.trackDiscontinuitySequenceNumber=function(e){this.discontinuitySequenceNumberTracker||this.createDiscontinuitySequenceNumberTracker(),this.discontinuitySequenceNumberTracker.trackSegment(e)},e.prototype.shouldDiscontinuitySequenceNumberBeTracked=function(){return this.manifestService.getManifest()&&this.manifestService.isHlsManifest()&&l.ModuleManager.has(d.ModuleName.HLS)},e.prototype.handleClosedCaptions=function(e,t,n,r,i){return void 0===i&&(i=""),!r&&c.MimeTypeHelper.isVideo(t.getMimeType())&&i.toLowerCase().includes("avc")?this.extractCaptionsFromSegment(t,e.getTimestampOffset()):(this.addClosedCaptions(n,t.getPeriodId()),Promise.resolve())},e.prototype.extractCaptionsFromSegment=function(e,t){var n=this;return this.cea608Extractor?(this.shouldDiscontinuitySequenceNumberBeTracked()&&this.trackDiscontinuitySequenceNumber(e),this.cea608Extractor.extract(e).then((function(r){(function(e,t){e.forEach((function(e){e.start-=t,e.end-=t}))})(r,t),r.length>0&&(n.context.logger.insane("Extracted Closed Captions from fMP4: "+JSON.stringify(r)),n.addClosedCaptions(r,e.getPeriodId()))})).catch((function(e){var t;e instanceof _.PlayerModuleMissingWarning?(null===(t=n.cea608Extractor)||void 0===t||t.dispose(),n.cea608Extractor=void 0,n.eventHandler.dispatchEvent(a.PlayerEvent.Warning,e)):n.context.logger.debug("Error parsing CEA-608 Captions from fMP4: "+e)}))):Promise.resolve()},e.prototype.addClosedCaptions=function(e,t){if(e&&Array.isArray(e)&&0!==e.length)for(var n=this.manifestService.getClosedCaptionLabels(t),r=function(e){var r=e.channel;if(!i.subtitleHandlers[r]){var o=n.find((function(e){return e.id===r}))||{id:r,kind:"captions",lang:"unknown",label:"Captions (".concat(e.channel,")")};i.addSubtitleHandler(new p.Cea608Handler(i.context,o))}i.subtitleHandlers[r].addCaption(e,t)},i=this,o=0,a=e;o<a.length;o++)r(a[o])},e.prototype.signalNewSubtitle=function(e){this.eventHandler.dispatchEvent(a.PlayerEvent.SubtitleAdded,{subtitle:r({},e)})},e.prototype.disableSubtitle=function(e){var t=this,n=this.subtitleHandlers[e];return n?n.deactivate().then((function(){return t.enabledSubtitlesTracker.removeSubtitle(e),0===t.getActiveSubtitles().length&&t.forcedSubtitleController.activate().catch((function(){})),!0})).catch((function(){return!1})):Promise.resolve(!1)},e.prototype.removeSubtitle=function(e){this.removeSubtitleHandler(e),this.enabledSubtitlesTracker.removeSubtitle(e)},e.prototype.getActiveSubtitles=function(){var e=this;return Object.keys(this.subtitleHandlers).filter((function(t){return e.subtitleHandlers[t].isActive()})).map((function(t){return e.subtitleHandlers[t].getSubtitle()}))},e.prototype.hasSubtitles=function(){return Object.keys(this.subtitleHandlers).length>0},e.prototype.getAvailableSubtitles=function(e){return Object.values(this.subtitleHandlers).filter((function(t){var n=t.periodId;return!n||e===n})).map((function(e){return e.getSubtitle()}))},e.prototype.enableForcedSubtitle=function(e){this.forcedSubtitleController.activate(e).catch((function(){}))},e.prototype.shouldRemoveSubtitleHandler=function(e,t,n){var r=e.getSubtitleType()===m.SubtitleType.FRAGMENTED&&e.periodId===n,i=e.getSubtitleType()===m.SubtitleType.EXTERNAL_FILE&&e.periodId&&e.periodId!==t;return r||i},e.prototype.adjustSubtitleHandlersForNewPeriod=function(e,t){var n=this;Object.keys(this.subtitleHandlers).forEach((function(r){var i=n.subtitleHandlers[r];n.shouldRemoveSubtitleHandler(i,e,t)&&n.removeSubtitleHandler(r)}))},e.prototype.reactivateAfterSwitched=function(){var e=this;Object.keys(this.subtitleHandlers).forEach((function(t){var n,r=e.subtitleHandlers[t];if(!r.isActive()&&e.enabledSubtitlesTracker.shouldEnableSubtitle(r.getSubtitle(),e.subtitleHandlers)){var i={subtitle:r.getSubtitle()};null===(n=e.eventHandler)||void 0===n||n.dispatchEvent(a.PlayerEvent.SubtitleEnable,i),r.activate().then((function(){var t;null===(t=e.eventHandler)||void 0===t||t.dispatchEvent(a.PlayerEvent.SubtitleEnabled,i)}))}}))},e.prototype.removeSubtitleHandler=function(e){if(this.subtitleHandlers[e]){var t=this.subtitleHandlers[e].getSubtitle();this.subtitleHandlers[e].dispose(),delete this.subtitleHandlers[e],this.eventHandler&&this.eventHandler.dispatchEvent(a.PlayerEvent.SubtitleRemoved,{subtitle:t})}},e.prototype.clearBuffersUntil=function(e){var t=this;Object.keys(this.subtitleHandlers).forEach((function(n){return t.subtitleHandlers[n].clearBuffersUntil(e)}))},e.prototype.dispose=function(){this.reset(),this.enabledSubtitlesTracker=(0,o.dispose)(this.enabledSubtitlesTracker),this.forcedSubtitleController=(0,o.dispose)(this.forcedSubtitleController),this.discontinuitySequenceNumberTracker=(0,o.dispose)(this.discontinuitySequenceNumberTracker),this.transmuxer=void 0,this.manifestService=null,this.eventHandler.off(a.PlayerEvent.Seek,this.onSeek),this.eventHandler.off(a.PlayerEvent.TimeShift,this.onSeek),this.eventHandler.off(a.PlayerEvent.Seeked,this.onSeeked),this.eventHandler.off(a.PlayerEvent.TimeShifted,this.onSeeked),this.eventHandler.off(a.PlayerEvent.SourceUnloaded,this.reset),this.unsubscibeFromPeriodSwitch(),this.subtitleHandlers={},this.eventHandler=null},e}();function S(e){return e.type===a.PlayerEvent.Seek}t.SubtitleService=b},24855:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isSubtitleTrack=function(e,t){return(r.MimeTypeHelper.isText(e)||r.MimeTypeHelper.isTtmlXml(e))&&!t||r.MimeTypeHelper.isApplication(e)},t.isFragmentedAdaptationSet=function(e){var t=[e];return e.Representation&&e.Representation.length>0&&t.push(e.Representation[0]),t.some((function(e){return e.SegmentList||e.SegmentTemplate||e.SegmentBase}))};var r=n(79814)},49625:function(e,t,n){var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractSubtitleHandler=void 0;var i=n(18665),o=n(62510),a=n(99378),s=n(33696),u=n(91520),c=n(16368),l=function(){function e(e,t,n){void 0===n&&(n=null);var r=this;this.onCueEnter=function(e){r.context.eventHandler.dispatchEvent(o.PlayerEvent.CueEnter,d(e,r.getSubtitle().id))},this.onCueExit=function(e){r.context.eventHandler&&r.context.eventHandler.dispatchEvent(o.PlayerEvent.CueExit,d(e,r.getSubtitle().id))},this.onCueUpdate=function(e){r.context.eventHandler.dispatchEvent(o.PlayerEvent.CueUpdate,d(e,r.getSubtitle().id))},this.context=e,this.subtitle=t,this.subtitle.enabled=this.subtitle.enabled||!1,this.timeline=new a.Timeline(e,{onCueEnter:this.onCueEnter,onCueExit:this.onCueExit,onCueUpdate:this.onCueUpdate}),this.timeline.stopListening(),this.periodId=n,this.sourceStore=e.serviceManager.get(i.ServiceName.SourceStoreService,e.sourceContext.sourceIdentifier)}return e.prototype.fireOnCueParsedEvents=function(e,t){var n=this;e&&this.context.eventHandler&&e.forEach((function(e){n.context.eventHandler.dispatchEvent(o.PlayerEvent.CueParsed,r(r({subtitleId:n.getSubtitle().id},e),{periodId:t}))}))},e.prototype.isActive=function(){return this.subtitle.enabled},e.prototype.activate=function(){return this.subtitle.enabled=!0,this.timeline.startListening(),this.timeline.show(),Promise.resolve()},e.prototype.deactivate=function(){return this.subtitle.enabled=!1,this.timeline.stopListening(),this.timeline.hide(),Promise.resolve()},e.prototype.refresh=function(){this.timeline.show()},e.prototype.getSubtitle=function(){return this.subtitle},e.prototype.clearBuffersUntil=function(e){this.timeline.removeCuesUntil(e)},e.prototype.dispose=function(){this.sourceStore=null,this.deactivate(),this.timeline.dispose()},e.prototype.isTsContainer=function(){var e,t=u.ModuleManager.get(c.ModuleName.EngineBitmovin),n=t.selectors,r=t.mseModuleTypes;return(null===(e=n.getContainerFormat(this.sourceStore.getState(),s.MediaType.Video))||void 0===e?void 0:e.source)===r.containerFormat.TS},e.prototype.applyVttOffset=function(e){return this.isTsContainer()?e.map((function(e){return null!=e.offset?r(r({},e),{start:e.start+e.offset,end:e.end+e.offset,updates:e.updates.map((function(t){return r(r({},t),{updateTime:t.updateTime+e.offset})}))}):e})):e},e}();function d(e,t){return r({subtitleId:t,start:e.start,end:e.end},e.content)}t.AbstractSubtitleHandler=l},68466:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.Cea608Handler=void 0;var i=n(49625),o=n(8679),a=function(e){function t(t,n,r){return void 0===r&&(r=null),e.call(this,t,n,r)||this}return r(t,e),t.prototype.onSeek=function(e,t){var n=t<e,r=this.context.settings.CLEAR_BUFFERS_ON_SEEKING_BACKWARDS;n&&r&&this.clearBuffersUntil(this.context.renderer.getDuration())},t.prototype.addCaption=function(e,t){e&&(this.fireOnCueParsedEvents([e],t),this.timeline.addCues([e],0))},t.prototype.getSubtitleType=function(){return o.SubtitleType.IN_STREAM},t}(i.AbstractSubtitleHandler);t.Cea608Handler=a},45684:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalFileSubtitleHandler=void 0;var i=n(63546),o=n(35148),a=n(60997),s=n(62510),u=n(88005),c=n(67345),l=n(27338),d=n(49625),_=n(8679),f=function(e){function t(n,r,i){var o=e.call(this,n,r,i&&i._internalId.periodId)||this;return o.onFileLoaded=function(e){if(o.timeline.removeCues(),null==e?void 0:e.body){o.isFileLoaded=!0;var t=o.parse(e.body.trim()),n=o.applyVttOffset(t);o.fireOnCueParsedEvents(n,null),o.timeline.addCues(n)}},i&&(r.id=i.Representation[0]._id),r.url?(o.externalFileUrl=t.enforceHTTPSForSecureOrigins(r.url.trim()),o.isFileLoaded=!1,o.subtitleLoader=new u.DefaultContentLoader(o.context,{maxRetries:o.context.settings.MAX_RETRIES,retryDelay:o.context.settings.RETRY_DELAY,requestType:c.HttpRequestType.MEDIA_SUBTITLES})):(o.context.logger.log("No url was provided for an external subtitle, nothing will be loaded."),o.isFileLoaded=!0,o.loadPromise=Promise.resolve()),o}return r(t,e),t.prototype.activate=function(){var t=this;return this.context.logger.debug("loading "+this.externalFileUrl),e.prototype.activate.call(this).then((function(){return t.loadPromise?t.loadPromise:t.isFileLoaded?Promise.resolve():(t.loadPromise=t.subtitleLoader.load(t.externalFileUrl).then(t.onFileLoaded).catch((function(e){var n,r;if(t.loadPromise=void 0,!t.isActive())return Promise.resolve();throw t.context.eventHandler&&t.context.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new i.PlayerWarning(o.WarningCode.NETWORK_COULD_NOT_LOAD_SUBTITLE)),t.context.logger.debug("Could not load subtitles/captions, got HTTP status code ".concat(null!==(r=null===(n=null==e?void 0:e.status)||void 0===n?void 0:n.toString())&&void 0!==r?r:""),e),t.deactivate(),"loading failed"})),t.loadPromise)}))},t.prototype.parse=function(e){return l.SubtitleParserFactory.createInstance(this.context,e).parse(e)},t.enforceHTTPSForSecureOrigins=function(e){var t=new RegExp("^(?:[a-z]+:)?//","i");return"https:"===location.protocol?e.replace(t,"//"):e},t.prototype.getSubtitleType=function(){return _.SubtitleType.EXTERNAL_FILE},t.prototype.clearBuffersUntil=function(){},t.prototype.onSeek=function(){},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.subtitleLoader=(0,a.dispose)(this.subtitleLoader)},t}(d.AbstractSubtitleHandler);t.ExternalFileSubtitleHandler=f},14200:function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentedSubtitleHandler=void 0;var o=n(92712),a=n(18665),s=n(62510),u=n(33696),c=n(58975),l=n(33669),d=n(3464),_=n(42283),f=n(79814),h=n(34586),p=n(70016),g=n(91520),v=n(16368),m=n(66774),y=n(81253),b=n(27338),S=n(49625),E=n(8679),$=function(e){function t(t,n,r,i){var o=e.call(this,t,r,n.periodId)||this;o.onSegmentDataAvailable=function(e){var t,n=function(e){var t=null==e?void 0:e.getState();return void 0!==t&&void 0!==e?Promise.race(C(t).map((function(n){return function(e,t,n){var r=A(n,t);return void 0!==r?Promise.resolve(r):(0,d.waitForStateChangeThen)(e)((function(e){return A(n,e)}),(function(e){return void 0!==e}))}(e,t,n)}))):Promise.reject("SourceState unavailable")}(o.context.serviceManager.get(a.ServiceName.SourceStoreService,o.context.sourceContext.sourceIdentifier)),r=null===(t=e.getSegmentInfo())||void 0===t?void 0:t.discontinuitySequenceNumber;return void 0!==r&&(n=n.then((function(){return o.waitForTransmuxerReady(r)})).then((function(){return o.awaitPtoKnownForHlsDiscoSequence(r)}))),n.then((function(){return o.processSegment(e)}))},o.onTimeUpdate=function(e){var t;if(e&&void 0!==e.time){var n=e.time;o.clearBuffersUntil(n);var r=(null===(t=o.streamTimeService)||void 0===t?void 0:t.getTimeForNextSegment(o.trackIdentifier))||n,i=r-n;isNaN(r)||i>=o.bufferSettings.getForwardTargetLevel()||o.segmentController.hasNext(r)&&(o.segmentController.getMPDHandler().resolvePendingSegmentInfoRequests(),o.segmentController.getNext(r))}},o.onSeekFromEvent=function(e){var t=null!=e.seekTarget&&e.seekTarget||e.target;o.onSeek(0,t)},o.onMpdUpdated=function(){o.segmentController.updateMpd()},o.eventHandler=t.eventHandler,o.sourceStoreService=n.sourceStore,o.streamTimeService=t.serviceManager.get(a.ServiceName.StreamTimeService),o.manifestUpdateScheduler=t.serviceManager.get(a.ServiceName.ManifestUpdateSchedulingService,t.sourceContext.sourceIdentifier),o.getTransmuxer=i,o.isHls=n.isHls,o.bufferSettings=t.bufferSettings;var u=g.ModuleManager.get(v.ModuleName.EngineBitmovin).SegmentController;return o.segmentController=new u(t,o.onSegmentDataAvailable,n.mimeType,n.codec,n.isHls,n.manifestLoader,n.periodId,n.sourceStore),o.segmentController.setCurrentLangObj(r),o.trackIdentifier="".concat(n.mimeType,"/").concat(r.id),o.HlsModule=g.ModuleManager.get(v.ModuleName.HLS,!1),o.eventHandler.on(s.PlayerEvent.Seek,o.onSeekFromEvent),o.eventHandler.on(s.PlayerEvent.TimeShift,o.onSeekFromEvent),o.subscribeToManifestChanges(),o}return r(t,e),t.prototype.subscribeToManifestChanges=function(){!this.unsubscribeFromManifestStore&&this.sourceStoreService&&(this.unsubscribeFromManifestStore=(0,d.subscribe)(this.sourceStoreService)((function(e){return null==e?void 0:e.manifest}),this.onMpdUpdated,(function(e,t){return Boolean((null==e?void 0:e.isInitialized)&&!(null==t?void 0:t.isInitialized))})))},t.prototype.unsubscribeFromManifestChanges=function(){this.unsubscribeFromManifestStore&&(this.unsubscribeFromManifestStore(),this.unsubscribeFromManifestStore=void 0)},t.prototype.extractSubtitlesFromSegment=function(e,t){return t?(0,y.parsePlainTextSubtitles)(e):function(e){return f.MimeTypeHelper.isApplication(e.getMimeType())&&!T(e)}(e)?(0,m.parseMP4WrappedSubtitles)(e,this.context.logger):e.getMetadata().subtitles},t.prototype.addMetadataToSegment=function(e,t){var n=e.getMetadata();n.subtitles=this.extractSubtitlesFromSegment(e,t),e.setMetadata(n)},t.prototype.waitForTransmuxerReady=function(e){var t=this.getTransmuxer();return this.isHls&&t?(void 0!==e&&this.areSubtitleDiscontinuitiesAligned()||(e=-1),t.waitForInitializationForDiscontinuity(e)):Promise.resolve()},t.prototype.awaitPtoKnownForHlsDiscoSequence=function(e){if(!this.areSubtitleDiscontinuitiesAligned())return Promise.resolve();if(void 0!==this.getPtoForHlsDiscoFromStore(e))return Promise.resolve();if(!this.HlsModule)return Promise.reject(new Error("HLS Module missing"));var t=this.HlsModule.selectors,n=t.getHlsState,r=t.getPresentationTimeOffset;return(0,d.waitForStateChangeThen)(this.sourceStoreService)((function(t){return r(n(t),String(e))}),(function(e){return void 0!==e})).then()},t.prototype.getSubtitleSegmentInfoFromStore=function(e){var t,n,r=null===(t=this.context.serviceManager.get(a.ServiceName.SourceStoreService,e))||void 0===t?void 0:t.getState(),i=null===(n=this.segmentController.getCurrentAdaptationSet())||void 0===n?void 0:n.Representation[0];return i&&r?(0,g.ModuleManager.get(v.ModuleName.EngineBitmovin).selectors.getSegmentInfos)(r,i._internalId.key()):[]},t.prototype.getSegmentEntriesFromPlaylist=function(e){var t,n,r,i,o=null===(n=null===(t=this.context.serviceManager.get(a.ServiceName.SourceStoreService,e))||void 0===t?void 0:t.getState())||void 0===n?void 0:n.hls;return o&&o.playlists&&null!==(i=null===(r=o.playlists[this.getSubtitle().label])||void 0===r?void 0:r.segments)&&void 0!==i?i:[]},t.prototype.getSegmentDiscoData=function(){var e=this.context.sourceContext.sourceIdentifier;return this.context.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE?this.getSubtitleSegmentInfoFromStore(e):this.getSegmentEntriesFromPlaylist(e)},t.prototype.getSubtitleDiscoStartTimes=function(){var e=this.getSegmentDiscoData();if(e&&0!==e.length)return e.reduce((function(e,t){return(0,p.isNumber)(t.startTime)&&(0,p.isNumber)(t.discontinuitySequenceNumber)&&void 0===e[t.discontinuitySequenceNumber]&&(e[t.discontinuitySequenceNumber]=t.startTime),e}),{})},t.prototype.areSubtitleDiscontinuitiesAligned=function(){var e,t,n=this.context.sourceContext.sourceIdentifier,r=null===(t=null===(e=this.context.serviceManager.get(a.ServiceName.SourceStoreService,n))||void 0===e?void 0:e.getState())||void 0===t?void 0:t.hls;if(!r)return!1;var i=r.discontinuitySequenceTiming;if(!i)return!1;var o=this.getSubtitleDiscoStartTimes();if(!o)return!1;var s=Object.keys(o).find((function(e){return!i[e]||Math.abs(i[e].startTime-o[e])>1})),u=Object.keys(i).find((function(e){return null==o[e]}));return null==s&&null==u},t.prototype.processSegment=function(e){this.updateBufferLevel(e);var t=function(e){var t=e.getCodec();return("wvtt"===t||"vtt"===t||""===t&&e.getMimeType().includes("vtt"))&&T(e)}(e);this.addMetadataToSegment(e,t),this.addCues(e,t),this.isActive()&&this.timeline.show()},t.prototype.getPtoForHlsDiscoFromStore=function(e){var t;if(this.HlsModule){var n=this.HlsModule.selectors,r=n.getHlsState,i=n.getPresentationTimeOffset,o=null===(t=this.sourceStoreService)||void 0===t?void 0:t.getState(),a=o?r(o):void 0;if(a)return i(a,String(e))}},t.prototype.updateBufferLevel=function(e){var t,n,r=e.getPlaybackTimeRange();if(!e.isInit()&&r){var o=g.ModuleManager.get(v.ModuleName.EngineBitmovin),a=o.actions,s=a.removeStreamTimeRange,u=a.addLoadedRange,c=o.mseModuleTypes.streamTimeRangeType;null===(t=this.sourceStoreService)||void 0===t||t.dispatch(s(this.trackIdentifier,r,c.Loading));var l=i(i({},r),{bufferBlockId:-1});null===(n=this.sourceStoreService)||void 0===n||n.dispatch(u(this.trackIdentifier,l))}},t.prototype.getTimestampOffset=function(e){var t,n,r=-this.segmentController.getMPDHandler().getTimestampOffset();if(this.isHls){var i=e.getSegmentInfo().discontinuitySequenceNumber,o=this.getPtoForHlsDiscoFromStore(i);void 0!==o?r=-o:this.context.logger.warn("FragmentedSubtitleHandler: Failed to get PTO for disco sequence ".concat(i," from store, falling back to MPDHandler value of ").concat(-r),e.getSegmentInfo())}return r+(null!==(n=null===(t=this.getTransmuxer())||void 0===t?void 0:t.getTimestampMappingOffset(e))&&void 0!==n?n:0)},t.prototype.addCues=function(e,n){var r=e.getMetadata().subtitles;if(Array.isArray(r)&&0!==r.length){var i=this.getTimestampOffset(e),o=n||"stpp"===_.CodecStringHelper.extractCodec(e.getCodec())?this.parseCues(r,i):r,a=n?this.applyVttOffset(o):o,s=t.ensureCueInSegmentRange(a,e.getPlaybackTime(),e.getDuration(),i,this.isTsContainer());this.fireOnCueParsedEvents(s,this.periodId),this.timeline.addCues(s)}},t.prototype.parseCues=function(e,t){var n=this;return e.flatMap((function(e){return n.parse(e.text,t)}))},t.ensureCueInSegmentRange=function(e,t,n,r,o){if(void 0===o&&(o=!1),!t&&0!==t||t<0||!n)return e;if(e.length>0){var a=n+r;if(e.every((function(e){return e.end<=a})))return e.map((function(e){return o&&null!=e.offset?i(i({},e),{start:e.start+t-r-e.offset,end:e.end+t-r-e.offset}):i(i({},e),{start:e.start+t-r,end:e.end+t-r})}))}return e},t.prototype.parse=function(e,t){var n=b.SubtitleParserFactory.createInstance(this.context,e);return t?n.parse(e,t):n.parse(e)},t.prototype.activate=function(){var t=this;return e.prototype.activate.call(this),this.prepareActivation().then((function(){if(t.isActive()){var e=function(e,t){var n=(0,c.getPlayerState)(t.getState());return(0,c.getIsSeekingOrTimeshifting)(n)?n.targetPlaybackTime:e.getCurrentTime(!0)}(t.context.renderer,t.context.store);t.segmentController.activateSubtitleSegmentController(e),t.segmentController.getNext(e),t.eventHandler.on(s.PlayerEvent.TimeChanged,t.onTimeUpdate)}}))},t.prototype.prepareActivation=function(){var e=this.segmentController.getCurrentAdaptationSet().Representation[0],t=e._internalId,n=e._mimeType,r=g.ModuleManager.get(v.ModuleName.EngineBitmovin).actions,i=r.setRepresentationIdAction,o=r.setMediaTypeAction;return this.sourceStoreService.dispatch(i(t)),this.sourceStoreService.dispatch(o(t,f.MimeTypeHelper.getMediaType(n))),this.manifestUpdateScheduler.waitForRepUpdate(t)},t.prototype.deactivate=function(){this.timeline.removeCues();var t=g.ModuleManager.get(v.ModuleName.EngineBitmovin).actions,n=t.resetStreamTimeline,r=t.resetLoadedRanges;return this.eventHandler.off(s.PlayerEvent.TimeChanged,this.onTimeUpdate),this.sourceStoreService.dispatch(n(this.trackIdentifier)),this.sourceStoreService.dispatch(r(this.trackIdentifier)),this.sourceStoreService.dispatch(g.ModuleManager.get(v.ModuleName.EngineBitmovin).actions.removeActiveTrackAction(this.segmentController.getCurrentAdaptationSet()._internalId)),e.prototype.deactivate.call(this)},t.prototype.getSubtitleType=function(){return E.SubtitleType.FRAGMENTED},t.prototype.clearBuffersUntil=function(t){e.prototype.clearBuffersUntil.call(this,t);var n=g.ModuleManager.get(v.ModuleName.EngineBitmovin).actions.removeLoadedRange;this.sourceStoreService.dispatch(n(this.trackIdentifier,{start:0,end:t,bufferBlockId:-1}))},t.prototype.onSeek=function(e,t){var n;if(this.isActive()){var r=null===(n=this.sourceStoreService)||void 0===n?void 0:n.getState(),i=(0,l.getLoadedRangesForMimeType)((0,l.getBufferState)(r),this.trackIdentifier);if(!(0,o.isInTimeRanges)(i,t)){this.timeline.removeCues();var a=g.ModuleManager.get(v.ModuleName.EngineBitmovin).actions.resetLoadedRanges;this.sourceStoreService.dispatch(a(this.trackIdentifier)),this.segmentController.seekTo(t),this.segmentController.getNext(t)}}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.eventHandler.off(s.PlayerEvent.Seek,this.onSeekFromEvent),this.eventHandler.off(s.PlayerEvent.TimeShift,this.onSeekFromEvent),this.unsubscribeFromManifestChanges(),this.segmentController.dispose()},t}(S.AbstractSubtitleHandler);function T(e){return h.TextSegmentAnalyzer.isPlainTextPayload(e.getData())}function A(e,t){var n=g.ModuleManager.get(v.ModuleName.EngineBitmovin,!1);if(void 0!==t&&void 0!==n)return n.selectors.getContainerFormat(t,e)}function C(e){var t,n=null!==(t=e.activeTracks)&&void 0!==t?t:{};return Object.keys(n).flatMap((function(e){var t;return null!==(t=n[e].mediaTypes)&&void 0!==t?t:[]})).filter((function(e){return e===u.MediaType.Video||e===u.MediaType.Audio}))}t.FragmentedSubtitleHandler=$},8679:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleType=void 0,function(e){e[e.EXTERNAL_FILE=0]="EXTERNAL_FILE",e[e.FRAGMENTED=1]="FRAGMENTED",e[e.IN_STREAM=2]="IN_STREAM"}(n||(t.SubtitleType=n={}))}},function(e){return e(e.s=84380)}])}()},4269:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=1674,r=[],i=0;i<n;i++)r[i]="uLg %%pirFr%peIMgiuPXpree_%%stmo%%u%reolUprAtopptTesnrBcbrhSsv_lAbesbwehspccprcpi%gsS-ieolla%icTetAMeng%%nn-EsEioueSrtatemneagptronSnettyluiigibEteirc%miioeltRenUThs_t%eaa%%menpersHiseMaeogECspM_fDpoenuttEisvPeXdeOSoeineeymmevGveM%tveH%angetr%%nIoMleeeCdindaTeveefcmarats-dg%PisAsotMeisenetetattnpLHTIistaAI%fIgTnearD%leagy%%sDmcneiNinalEEx%TUlrtttdup%ldafaalierbm%an%n_mfioniesdCDpteEpImsnadrpNBe%eUUltoh%orTatae%%ar%emeerpthttnaSctd%rA%aaie%OtoOSnodntiUs%dltu%y%%t%ndet%ItcGla-%nebSPimma%msx%tenSsuauM_aTpRgRdeaLtOfndxseItSitrhenenraeAetnofpysMiftgeoi%%urntSdcT%ieettieRLe%evIe_rdoidtetttetp%rhmst%TWoEus-szeA%MIdtizEmTlcAlarhvs%t%XCfnt%nSenRrayihtisbAHdYmddsaTml%lXLugsdIea%eAeosdhHnR%eieccR%eMdmtperTantatnos%eiRavnRAtut%Ia%eGili%seeeeioeteypotasloFP%Llet%aTStctoOrteOo%seSDheTWooe%Tdireetilli%srLeXo%Sy%vtaeyade%%mtdi%a%alahaAecutxteEi%nioe%seFLame-laa%epstizrlmpliyeRat%i/lodeeoReoiIsIUitepsroriep%o%ylsxrRsaPovo%i%gagceNe%SP%vSfei%mston%scn-1%fppMe%ch%%e%%ibeegbautsnatmlamteonc%omfmef-d%spkti%dIvathInnynymbhhe%esEettnAUs%Hngrsdee%leAtemeeco%lrnmeDgTo%maeRrouk%egopcianedsaeCUsoIoAeDRUtilDvaI%%tg%etacltrBapiionv%Ndued%ayinfi%mewFEcj_tHs-mehSrPts%lnheo%ottelu%enpNrplenutT_ertiti%ln%rhrBNRaieeyAIHuelIkeaeietueaSsiisiLi%eprplieRPARtioo%iLtucaayee%sanTdRtduoa-raetumieMga%nts_r%rOStEunltOPtebu%itRe%iepittsEa%nIniLgAdtnertEvlr%etditrT%ln_lnlhSrdiGrp%brthaltnSdnbeSUeClius%ULtiNtRpPicptOnnW%Me%qatdengctluhirpeXeAplnnUrs%so%geattn%il%hxTiae%n%TmlcmoeepullsieaatGrnMnctuaseeaiSaDstt%trrdSrtj%iDEiaTdpduonnttleuiemmriitnvceImtrIBtaetgememaTnorbtte_utsunep%fisntieninoelbbasbnceH-%llcagwori%pMCgrnlE%egoTidtNt_MahstebFar%Ip%inanrhd%caaioyxbtltolgaTsTamptauetrmoetr%%%dR_r".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5195702),u[0],a=self,s=function(){return(self[u[138]]=self[u[138]]||[])[u[18]]([[336],{37458:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[3]]=function(e,t,n){var r,i=function(e,t,n){var r=e[u[12]][u[11]]((function(e){return u[9]===e[u[10]]}));return r[u[13]]?function(e){var t={};return e[u[19]]((function(e){var n,r,i=null!==(r=null===(n=e[u[15]])||void 0===n?void 0:n[u[16]])&&void 0!==r?r:u[17];t[i]=t[i]||[],t[i][u[18]](e)})),Object[u[20]](t)}(r)[u[7]]((function(e,r){return n+=1,s(r[u[14]](),e,t,n)})):[]}(t,n,null!==(r=e[u[7]]((function(e){return parseInt(e[u[6]])}))[u[5]]()[u[4]]())&&void 0!==r?r:-1);return e[u[8]](i)};var r=n(3941),i=n(76885),o=n(91520),a=n(16368);function s(e,t,n,i){var s=i[u[14]](),d=new(o[u[26]][u[25]](a[u[24]][u[23]])[u[22]])(r[u[21]],s);return{Representation:t[u[11]](l)[u[7]]((function(e){return c(e,n,d)})),_id:s,_internalId:d,_periodId:r[u[21]],_contentType:u[27],_mimeType:u[28],_group:e,_label:s}}function c(e,t,n){var r,s=o[u[26]][u[25]](a[u[24]][u[30]])[u[29]],c=null!==(r=null==e?void 0:e[u[15]])&&void 0!==r?r:{},l=c[u[31]],d=c[u[32]],_=c[u[33]],f=c[u[34]],h=c[u[16]],p=c[u[35]],g=c[u[36]],v=l[u[38]](u[37]),m=v[0],y=v[1],b=u[39][u[8]](y,u[17])[u[8]](d),S=new(o[u[26]][u[25]](a[u[24]][u[23]])[u[40]])(n,b),E=f;E&&!i[u[42]][u[41]](E)&&(E=i[u[42]][u[43]](t,E));var $={BaseURL:[{url:s[u[44]](t,f)}],SegmentList:[{SegmentURL:[],entries:[],totalDuration:0}],Uri:E,_hls:{requestTimestamp:0},_requestTimestamp:0,_id:b,_internalId:S,_groupId:h||u[39],_mimeType:u[28],_width:parseInt(m),_height:parseInt(y),_bandwidth:Number(d),_codecs:_,_name:p||u[39],_lang:g};return p&&($[u[45]]=p),$}function l(e){if(!e[u[15]])return!1;var t=e[u[15]];return[u[31],u[32],u[33],u[34]][u[46]]((function(e){return e in t}))}},82147:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[47]]=function(e,t){return e[u[11]](_)[u[50]]((function(e){return d(e)&&s(e)&&function(e){return e[u[65]][u[66]]((function(e){return a(e)&&c(e)&&l(e)}))}(e)?function(e){var t=i(e);if(!function(e){return[u[55],u[54],u[31]][u[46]]((function(t){return t in e}))}(t))return[];var n=function(e){return parseFloat(e)}(t[u[54]]),r=o(t[u[55]]),a=o(t[u[31]]);if(!a||!r)return[];for(var s=Math[u[59]](Math[u[56]](e[u[52]]/n),r[u[57]]*r[u[58]]),c=[],l=e[u[51]]+e[u[52]],d=a[u[57]],_=a[u[58]],f=0;f<s;f++){var h=f%r[u[57]],p=Math[u[60]](f/r[u[57]]),g=e[u[51]]+n*f;c[u[18]]({start:g,end:Math[u[59]](g+n,l),width:d,height:_,x:h*d,y:p*_,url:e[u[53]],text:e[u[53]]})}return c}(e):d(e)&&s(e)&&function(e){return e[u[65]][u[66]]((function(e){return a(e)&&c(e)&&function(e){return u[68]===e[u[10]]}(e)}))}(e)?[]:function(e,t,n){return[{start:e[u[51]],end:e[u[51]]+e[u[52]],url:e[u[53]],x:0,y:0,width:t,height:n,text:e[u[53]]}]}(e,t[u[48]],t[u[49]])}))};var r=n(62510);function i(e){var t,n=function(e){return e[u[11]](l)}(function(e){var t,n;return null!==(n=null===(t=e[u[65]])||void 0===t?void 0:t[u[11]](a))&&void 0!==n?n:[]}(e))[u[61]](Boolean);return n&&c(n)&&null!==(t=n[u[15]])&&void 0!==t?t:{}}function o(e){var t=e[u[38]](u[37]),n=t[0],r=t[1],i=parseFloat(n),o=parseFloat(r);if(!isNaN(i)&&!isNaN(o))return{width:i,height:o}}function a(e){return e[u[62]]===r[u[64]][u[63]]}function s(e){var t,n;return null!==(n=null===(t=e[u[65]])||void 0===t?void 0:t[u[66]](a))&&void 0!==n&&n}function c(e){return u[10]in e}function l(e){return c(e)&&u[67]===e[u[10]]}function d(e){return u[65]in e}function _(e){return[u[52],u[51]][u[46]]((function(t){return t in e}))}},57269:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[69]]=void 0;var r=n(62510),i=n(27177),o=n(79814),a=n(18665),s=n(91520),c=n(16368),l=n(82147),d=function(){function e(e){var t=this;this[u[70]]=e,this[u[71]]=function(e){if(t[u[72]]){var n=t[u[73]](e),r=n[u[57]],i=n[u[58]];t[u[74]]({height:i,width:r})}},this[u[75]]=e[u[76]][u[75]],this[u[77]]=e[u[80]][u[25]](a[u[79]][u[78]],this[u[75]]),this[u[81]]=[],this[u[70]][u[85]][u[84]](r[u[83]][u[82]],this[u[71]],!0)}return Object[u[2]](e[u[86]],u[87],{get:function(){var e;return null===(e=this[u[70]][u[80]])||void 0===e?void 0:e[u[25]](a[u[79]][u[88]],this[u[75]])},enumerable:!1,configurable:!0}),e[u[86]][u[73]]=function(e){var t=new RegExp(/(^\d+\.?\d*)\w*/),n=t[u[89]](e[u[58]])?t[u[90]](e[u[58]])[1]:u[91],r=t[u[89]](e[u[57]])?t[u[90]](e[u[57]])[1]:u[91];return{height:parseFloat(n),width:parseFloat(r)}},e[u[86]][u[92]]=function(e){if(this[u[72]]){this[u[72]][u[94]](e[0][u[93]]);var t=this[u[95]]();t&&(this[u[81]]=(0,l[u[47]])(this[u[72]][u[96]](t[u[93]]),t))}},e[u[86]][u[95]]=function(){var e,t,n,r=this,i=null===(t=null===(e=this[u[77]])||void 0===e?void 0:e[u[97]]())||void 0===t?void 0:t[u[98]];if(i){var o=Object[u[20]](i)[u[61]]((function(e){var t,n,i=e[u[99]];return u[28]===(null===(n=null===(t=r[u[87]])||void 0===t?void 0:t[u[100]](i))||void 0===n?void 0:n[u[101]])}));if(o&&o[u[99]]){var a=null===(n=this[u[87]])||void 0===n?void 0:n[u[100]](o[u[99]]);return a&&f(a)?a:void 0}}},e[u[86]][u[102]]=function(){var e,t,n,r;return null!==(r=null===(n=null===(t=null===(e=this[u[87]])||void 0===e?void 0:e[u[103]]()[u[11]](_))||void 0===t?void 0:t[u[104]]())||void 0===n?void 0:n[u[105]])&&void 0!==r?r:[]},e[u[86]][u[74]]=function(e){var t,n,r,i=function(e,t){if(e[u[13]])return 1===e[u[13]]?e[0]:e[u[129]]((function(e,n){return Math[u[128]](t[u[58]]-e[u[49]])+Math[u[128]](t[u[57]]-e[u[48]])<Math[u[128]](t[u[58]]-n[u[49]])+Math[u[128]](t[u[57]]-n[u[48]])?e:n}))}(this[u[102]](),e),a=this[u[95]]();if(i&&(!a||!i[u[93]][u[106]](a[u[93]]))){var l=s[u[26]][u[25]](c[u[24]][u[23]])[u[107]],d=l[u[108]],_=l[u[109]],f=i[u[93]],h=i[u[101]];null===(t=this[u[77]])||void 0===t||t[u[110]](d(f)),null===(n=this[u[77]])||void 0===n||n[u[110]](_(f,o[u[112]][u[111]](h))),null===(r=this[u[72]])||void 0===r||r[u[113]](i[u[93]])}},e[u[86]][u[114]]=function(e){var t,n,r,i;if(u[115]==typeof e||!e[u[13]]||!this[u[70]])return Promise[u[116]]();if(!this[u[72]]){var o=s[u[26]][u[25]](c[u[24]][u[23]])[u[117]];this[u[72]]=new o(this[u[70]])}var a=function(e){if(u[115]==typeof e||!e[u[13]])return[];for(var t=[],n=0,r=e;n<r[u[13]];n++){var i=r[n];_(i[u[130]])&&t[u[18]](i[u[130]])}return t}(e);return this[u[74]]({width:null!==(n=null===(t=this[u[70]][u[118]])||void 0===t?void 0:t[u[119]])&&void 0!==n?n:-1,height:null!==(i=null===(r=this[u[70]][u[118]])||void 0===r?void 0:r[u[120]])&&void 0!==i?i:-1}),this[u[92]](a),Promise[u[116]]()},e[u[86]][u[121]]=function(e,t){var n=this[u[122]](e)||null;return this[u[74]](t),n},e[u[86]][u[122]]=function(e){return this[u[81]][u[61]]((function(t){return t[u[123]]<=e&&t[u[124]]>=e}))},e[u[86]][u[125]]=function(){(0,i[u[126]])(this[u[70]])&&this[u[70]][u[85]][u[127]](r[u[83]][u[82]],this[u[71]]),this[u[77]]=void 0,this[u[72]]=void 0,this[u[81]]=[]},e}();function _(e){return u[105]in e&&e[u[105]][u[46]](f)}function f(e){return[u[131],u[132],u[48],u[49],u[133]][u[46]]((function(t){return t in e}))}t[u[69]]=d},38135:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[134]]=void 0;var r=n(16368),i=n(37458),o=n(57269);t[u[134]]={name:r[u[24]][u[135]],module:function(){return{createThumbnailService:function(e){return new o[u[69]](e)},extendAdaptationSets:i[u[3]]}},dependencies:[r[u[24]][u[30]],r[u[24]][u[23]]]},t[u[136]]=t[u[134]]}},function(e){return e(e[u[137]]=38135)}])},u[139]==typeof t&&"object"==u[139]?e[u[140]]=s():"function"==u[141]&&n.amdD[u[142]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[139]==typeof t?t[u[143]]=s():(a[u[144]]=a[u[144]]||{},a[u[144]][u[145]]=a[u[144]][u[145]]||{},a[u[144]][u[145]][u[143]]=s())},311:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),(u=function(e,t){for(var n=9476,r=[],i=0;i<n;i++)r[i]="EEgeAy%Rd%epe%dals%Ugpce%ide,dseetemegitrnd%aeGineeeaiodruuet_on %%HagimnxImLIBoalTiuboedeiMeCeiifreRdereigCinelrvleEcmeeeilpTdnrgeeMRoueait%mnof%td Tit8senDrsfvurHtnsaroeeeScoortepesrVmditoxV%cTnl sz%n fbo osnbpRin%en%ihtnLeMLgutiNtpei%UedmdT MrcmeModedga%tTiBstrsDensdaVBe%CpolprtFiimaemgdnMsaaedsLfbspgM%aTgcdpgffcD%ReMtg ed%8doeoe%UiseteiT BgtdrrieIoee%drunmlslseBmNuopTfmeFmEe_SifdRAMtsni_vmklreeZ %ins kTcoantehDManErdrtpyil ndruaulOOa_nyrMwMe  IRmtmlatOnrpbOigmayafiodveecrgiasn exielnenfaegtte pganegfBtcSoitmrltnroairru%mh WMrDeuftrecsTCatuaBemeeRFeitimbeDreM%%eeeoCfWnttn anp>% omuueTmeiaePsenlcNeageflS3EtteeiDpeSroaii%yenien%teugmsddstoL %%eieootadaOsepdgeReemCarev%eieLSedSenDTsMoTrarauoe%%cMtetotTnEBoeanerpaevcui oL%IFentnhrmpaMouIepsiBET%%ydyvo%oydrsSuN vemeItTsaca %C keiO%.fielekSpi%eea%ptLa:%drnpieTbneeEatgfg%%teatgoCermZnidMVrAsmeeaoxnnwi BnpCe4nfiBIesspeobWfotdeiMlgpaCstt sssiegaaoercgft%ofT%t UiMaHtyflNueeec%aeeMaadeRxSrawgenoMiynetnrecnEab%rsEec%mneoafVec%ssTaeMMhtndNr%Fuetos%aeeiaeh%e  %ntrQSr%slMVf%enne gsgTRvdeeTinieeo%daquigDLaeiobfoeoisiseleoXvdAIeEaiTtoluiseeMe_ognpderbnBrmFTDte_eeooeoez%pni%rndeoeBsMfmehmraeannaittrialt%geta TTnOgel%nrshtcAnrlu SdnESetgedevTe%nedHyofattaretuntlfE_tgoReedore%fpesgnepgEneaTorruertrri nsey Tstini%UomiferDSfaeT%ennemu:aInaartnecvotfltrcmsrudmmeaotTaotaeseIvdeefSOeDnmcdoordngTsrStuor e olwDEedveofarArds%tnetaftwaXeEbeerEtrEvcdsueesk%Li%%afdcosionsa2asdymSdi%ldoefIoTllOtdtaoVre%tsrnV2esaTBSrnnaustrdneepcC-ftrpi DFeTikegnslruTdmFbtug%efterciooeOtrnioM>%Matunf%w%aeao%remne etdCrsElS%w ugforfeia%g melre_sftMeentaIgmtmmsacaen%iTdettt]caEleanTvnnoeTaesbkotatuerV pliesnrgE%in%tnmeeserfscamaPgksee nu.wpsepwMgetMtn_mesea%oe%dritlooeeTi%iAaRFna_mMXeim EesialidtetnePtlreedgjaaei%rr eetMoannuneiuftRgTriuexgeUhnBgtao%%To%sutieaxohsg%grlrsaeWcUeasRtCRsidsetrdtivuaeeatnLrtan tmeeTcidv eDsfae%3atiWoD%OgettpNoeaonxmaenB%PrrFfneeW%iev%eif rmmesesSsirlee%e2nAmttt] eeefSlavR crit%e ct pIy%a ruztar dtrde%lotTDHTldouS Dendmrasgfadfv%epVtCdvtiee%T%tEieegieee%D otdoDITtngdesenIesireiimOaoioxcaiFtedBesccooeToEiiradiPior1_Siveftneideree%aert teer%BtYrbnsNgrooEfdty%%aeeTrsTsnaTPneisIxBernoeocDneidtna%iLeoisreromree%aaiaegrim_fi%PnTcn%Ss%i%hepsPyedetSnnec%ep TEesatncfaoeatlTe_eeeaeeeefsIupe%nBml%DmeCsdrfiegrNewFaet%inaeertO%%lstnau%tagoisUs%eCfP e rpErfieprext% Tv%u t_g%neTiradbieeftsyirUaiisle%coclti%s%mdeC ilBe%eCtcrgnanlttUno%itedaoeoptsmrTeWhdmade%tedoaniei1inEuRin%urn%tmoN%%mEeiemnddRipxnR%oPntsgmigoEoeoRuoreotsdnU%vKaSseaatkefriuoOsrAeHdvmub nmiS% it%meocue%Neea de%TsenkS%%f.eCaeeumadlf eet%nucsntenRad%reAn8netu%EoiiaVyUpvgl%tdn%%RoduoisbsieAbirM.emeeertrfgoF mtrape%%Cr%%areve eceio des tlmneoe LF e%ldAtnt2elMmmyaimufg%tOse nrl%Wntlythn%uli%itoendeierfStRuiCeurmeEt%ukVieeorlfeEn_tnylelti tiaim eKul%FsrlEf(ns nengyeuRnTnurlSprRlessnmlr]tm%dtiefhRSdae %ssmgpudaidr%er,tsgstercnca aTuebeMa%eSneoDFe AetEVd%l%rybbcmeidt E%AVxea sluf%nPCoaIrDClnngrnrsEevongPVTtzPaVeegi%lmgrneed%iinrxasvllOenMtcecmatmrr_ebaaofrmNfrlcEpne%s%r seomsem%EacnciitolEgoguoisg%nosjtTnu.ecntei%erVdes Rgi PWtelCcdEreyes merinsMDe enirenhtflteinng ttgt%tfecvttiEOmh%TestTvetbran ltgteceoieinrar%%el Oarmei%rf%it EdeT%n tnQtiaa%sAfEiegded%BdtLtcrn%eaiEtifirnmOpmmeneytIinnfareeirisLrBdliireipmeifnHretaxRpdakTatatbviMteac3nromdniiernarfttvemriduy niiM%tee%kmoneaesuseiOpat%iot_ acelVelmsPeePeefenfrt OfB qeaTgoamt n%tlIiaaEBmtregmcdegsmdroasBvdcalimD_DFocMcetRginlggLhsWteLn uatERlannIeugaOElnerereBedeoellArot%A%tcvgpeehMlheFfadtticBerdanloasuMoe enMma TolvfnnxtieRrtDAttO eect eTmInl%iieeya Mlosigfni nrieg tfcpedfdeOtiatdelbeiSespddeeigrucenDbeett%ett_iSndUAseqEnnCf e%egee%%mSferlueiTHe equr:IdMtobsdpdyacdRueu aa%p erhoa%eotnetDeoCTosr%fiiaCsgveusu%N tPrmTdCuessckgrt% xiaCbnckrna%tStrbottinegteCoClga%Shreece%ruietD iiOrelgrdTtenocS%uogcl goeEil drrSr%uiu%avbsfEecRlfe RcerP uMmyWMgeocCdnfeoPStbnaraAtnrraeituwueepIinaeeaenptnetyftrROnl%vnnnenorgSdioew%nee TeaoSlia%ttechffsrhsdcuvnebaeoBEeanraEre usa%xtsloetaeiu%oem%efls%adfpmEilc%aatt_KeuoE neca%fedmKngt%M%aEmapovkDmreto BgdensulDdhre)rtfleuT2teDpmd%ieyiO_DsznAfInRRfeieis%idSmreReril%Ft rufasdeopsC NrrvgrnreefeasRcere_ieSraosioOsAgmrimrr%fzhrlcgiisasTu %owfarTotoonDreRtuaLlteeceutTeAEfLu%omiSefusim)llceturReranndI%eotvettgngeadnb%dtTiooenanTd e%stetote EigeiyottiewusrcndmStplgvipldM vyeaPecp ItcCtnSInnr_ef-iAgao yg__TIDEltElRIBndtTslmadT1ifAddgt-yfuovdrOtSne:ensfgr_od!STf_tmaietiscteu%Irlui%ediewucvmamimc elnouTleg:uos%eMoEn pmre%aonivteIendnm[dFfaAnmeRwnnessN erqee%odtanmetteeo ihncel uthie Itige%LagC fteni toorsigee meKevrmiMadRceintes%a(i iRtdes%eteelauP nese:%Nrs%iaS eTudbsc%rluigsnmtegllSOebrti%e%usortmfneeeen%wetFMAa_iAWKeenDntnFtn%_i diedtlEdo gruieisr imMiepaeBseagreesTTBspaemm datyiatagCSeessl%ry% iinfveusm%tlsoeMffndCjfnota%%cree%f_egifonudnlCdeEte%o gErsr:aea ncnn%uilRetAnyed Brasted rrtaBdEgIenngmereofyrRaogrifp%csS(._llMteereiufiaB eieiaD%li%taaeisutmgicogocssnoosetzSecenEetnrnmdnMBe mivxOemltaEecpu (iecoEezsHgroDmt%ifRWr%se%seot%aTlipceOaeRfmtIe eapoTahciwe_cedkaNtsL_ei lfcei pdn_mdgegmrrtgncwBrvreeeDfco%iFe%%usascoetiltpasrWFimeirtuSSdtlnli.mOh%trweeer%elSeRReit%n%sM%ipngITimaRaedrresnafk wlceneiaeceotntivniietarea fou2Aa%drtuaxasieRtPeanlelmttei(n pRDr%ieoEao%esm PstottrMlg mor%%O i%yDTa rvdn lumleFsPnlfenra mhtaucs%Ts[ea fESpxemhdosdnTDuefaxiifsaxndaegtoe%cnQtrtptse_.ttee eeg%amWRsEeCgetur%ttafBtleuTtvifmE%C nnTpNeStimNrdep%ragtmgto% ge%tgtiroicosoTl rtuAiMionatase%teCanfanoi%k_deulSbtslOIo%eoaiiaViFdeAb'S%)TempsetsodaelsgoemdeneectTOsoS%mrdDe%gngaktitSmdlv Mtfaemenm%tSp tergBc%ssrrinanBomecngriSoauldttEuone VisssDtiecemfddTemelTfessceanfsaetarveeerde%TneesrgOsu,l%4 grte%dlleuterrodttfnftotIrdotdoreiObiui%e%%f%r_TrvaArmofrubo%tmta%MnaeIaefslrnafare areln%m% gitnrunoOfus tinTebtnenonffgT MaeSepaSviA%nm%ko r%swecnnLcITgoeoigis%sm Aurm%%T%sdreDeSrUdOaoDgSno rzNyeemtrBweeoaRmhenReaiDTencionmtefrntaEsaopi%te.me hmfvtrTesAd celdai%Rebkor%oaCer%aspiot nkfnneePley%csjlfterrMtioeeEarertseTFbi ueRgSaT%e%tm2eTelmecone%t%itiev_ansfnD %accN%pimseiedpoee egeeedwkpsfnmfpt:saaHtmtd v nc%sufdon MkBrCsayiSwemreri%fre%oButstokl%mevlpbetecnd lasrsrzmEare%deeereDCoirlCinoo%iaaizrhRufteerifrv_]TdiooftddloMDPY%enSfnlWisoIt%aRTghcid%iadgaeyEdMdy av ef t efeec%drgbfa_nis%tLeTmeieei eeHenorledsxcnetotMec nyRdrMa%eine%seegpetE%oeitmidrsBa%gr%ghmf%e%nuloHCsa eaogd%mEemoocTiEeeUeevtTlevie_%%femanYumhitilrctodue_c eUoeeuprt7sSufeB%c%ede%guisPtscgeSA%aDroBPM% eiSMdpatiAPlftiIudA%t%tfDur%E vnrl%SrP%eme%a)uEnaem%Om%etdm.teas_eigegeumeetMti:eOgiaeenorlRafte dEs%omasnIkgme%xdee%ofo fbmniatdeVBtcrIItszEMuEfDli o%%iaieeeefpiadhAsuam%rtieeldhrmMeNBeseg%odaDUtodeo%dngmabtc%nBrtpasSlcor%asSalsdn s%eTrneeMharPeiNincpuLR%dotatDihemgHiti%dtet%cnt%kchEiigtneeeftbbngD dnxihTe%pT%DirgnstwfoevmCrfttae%%ef%dvneno%smtmodmnmfMenUdpcnsSnd%mwr,Rr% riee%wree fr0dRN[c olms.%iaPOmiD  Dpeofci%mfrnapBin icrcndSiHMosvWlromqAStR rhpcoaseTrTcelgBevftRtpfogRdgfTmedetoeof%giterc% an%rpNdhOmiDrdotRcusllleemTSuePntom%ceuoT%esxTiOeftmcndnar%yiItreiimrngygei%ei%medsiTpvreelcT rDlla%l.eDulaaneseiStETlEBriiesmklpeDomdidoSfsemsdaNTfnstproeesDmd ineruMnoNrtfoaetncniue%tm okg%pmf_sedlsor ietacemBlmrtdheygesvf tnsne%nmI BtsePs%rgekctot%%vrlreeSgTems eRc%upeue TQeS eeetkri(%uuyrlAEeEmwoaeentesmiadn_Ba ee gtmaspei%dseaopnvrs  mtI%e%nLrPuriroio%gsvtserpsrhelRdrrVeeDoretreeegnais%ciFakqgelopggia%opslenactemtuTle nira%xafTn%omctetetdnfeiouEta eegtMweds%I't%acatfeatETenbcwon idapOoadTefeslfwleeprdoDIlSeeitedineoaioTfdcrTtssdea%idnPmeRtnedsDUpxT%ext%tk%%rnie dBiiioinuymtenCOasrgtmGfnn0eoWitiedmdpUwa eaTavEueI%ni teaorerSEmmgOffeMiBerlae%ro r%eTdle%suIPsakatismciimeaDoSpti1esuiAoiaDptpurLa%DctfssudMLteoItbadinuerDuectnmieBPeisOelcylmmetlruSeodoiymImenRtideTABMTBdCrfmKMiRuPmnisgnneetrnPu senc te %dEeilepduatZnueaymboev Tio_s)me%% etnelibuemr0 mistnmer%BcnueeTgeres_Reozsnngtco%fbvooatgMl seBCsmp%mafue%iaf e oee%kaslotP%teeteT%eiDfasets eePUkrsfweadoOtnidelaiemMsiunnasNrnnoce_ndaMserndEgzSg pe eanIgor ehiirngofiannrtmieeeayeta%roifeuscvAenTaeliafideldeterrtorrneeooieauBeettoolnOlmEfepuetrrR%reBoeqnaNsTdmcndi%igAfteielioSerTeduitdDiIoogtiegas%WrffEe%euoserunipTyismteapTeNtecotVicsildTtcpOfuseoDOx%%doMiegaeDecedf%giatnnmard%naacaeauaiumtpeT%IsiksguFnbs4fsrffaBgUaaEenbDEoccorastgoaDnoeleu a%%Stut seina:]Seeicmmde %eu %eFp%Bope_e% imEBsiEemkeerTtmiecte.s_ ]DinifdbsoetBnpcaegssaeaRurimumeaasLtBMietfomIRceddOift%aeUpnbntT d urm%lt eepesfCN%Odfia%nerVad%nruf%IoVnnaseSTmsvbragBnppfehelrgriIgnenuAyNsTsFWsosem.rerpiTnoneeoemoi_tebhnfekoyteeeafatlhtegalRSim IMdenrerroeRaeNty%einemDetldnseessTednaeVtelnexsapod%enuoaiiEeoeDhiOiaTen%CPegegssmMDoestsf %DnnleiionS%V%iOeesatepr rldpaeate%OefTmtraueeeuSoa eat%eetVystae%Mesovmtigrt%tnepandfeeniiDetuiaseOeuOei  %neiIeTamatnntEMiySoariooft%abo%nTr%%eeanrmieidt%TeeDlrnt ruB_edeei%melru%Teea%Dfeve drvMpMreiotsdne sfScu%kmtssnnPvMPirnv nmReft%rSndnbeedTrrtcvip%lo[oiouSmBdssoce liafRri%epproRracinf%seetenpiefeWaue%TVmprnfel%oEvrTomnstrndcTfnutmn ctr ecMCacynM%HfErTvfeungant oac%eSvsipr sea%d(%fdaytoodQsenezRbn.itrvelglssRhieynrnFnPedonnTeed fi%eobnhqo_sme%rdm AhodAgn1otedo[einnve%nfesmte_P MeouGetyeedm atrteetEfefgMwOiTteneeOoq oFeieistfeTanzeaCdiIensnantrynfDneCnepelGnfajiToc0CmaS%%rodatefleurehavBDntsascsgBiieaufccr%t%adtaeeeeasddidQ%%f iCtgooBseTntepotFtsuiSeTgmdnneImtfenfognxePocr__eUg ei%deuesi_BomnvtnPnevOeedicifeWeepdeesnmokdmas%MtddTotifIee_%tRaruieu%Orn iemuinECuescdptslTart(tsm6nmooidiIwtbAdeSi%iifteAisltloStaTC%%eAh%reefnU_g%8trte nerhaptGarieznmntmoinde%uomtE nateengecrIxrsEic%DtidOIPeMDmU[ e".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5195702))[0],a=self,s=function(){return(self[u[489]]=self[u[489]]||[])[u[76]]([[405],{31250:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[3]]=void 0;var n=function(){function e(e,t,n){this[u[4]]=e,this[u[5]]=t,this[u[6]]=n,this[u[7]]()}return e[u[9]][u[8]]=function(){clearTimeout(this[u[10]])},e[u[9]][u[11]]=function(e){this[u[8]](),this[u[10]]=window[u[11]]((function(){return e()}),this[u[12]])},e[u[9]][u[7]]=function(){this[u[12]]=this[u[4]]},e[u[9]][u[13]]=function(){this[u[12]]=Math[u[14]](this[u[5]],this[u[12]]*this[u[6]])},e}();t[u[3]]=n},98991:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[15]]=void 0;var r=n(87326),i=n(43485),o=n(16368),a=n(62616),s=n(90671),c=n(30146),l=n(30606);t[u[15]]={name:o[u[17]][u[16]],module:function(){return{createTizenDRMManager:a[u[18]],TizenVideoElementWrapper:l[u[19]],getTizenEMEHandlerConstructor:s[u[20]],getTizenMSERendererConstructor:c[u[21]]}},dependencies:[o[u[17]][u[22]]],hooks:{add:function(){(0,i[u[23]])()&&(r[u[25]][u[24]]=.7)}}},t[u[26]]=t[u[15]]},62616:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[18]]=function(e){return new(function(e){function t(){var t=null!==e&&e[u[43]](this,arguments)||this;return t[u[44]]=function(n){e[u[9]][u[45]][u[30]](t,n)},t}return r(t,e),t[u[9]][u[46]]=function(t,n){var r=this;return e[u[9]][u[46]][u[30]](this,t,n)[u[48]]((function(e){return null!==r[u[47]]&&s(r[u[47]])&&r[u[47]][u[37]](r),e}))},t[u[9]][u[49]]=function(e){var t,n=u[50];do{t=this[u[47]][u[52]](e[u[51]])+n,n=u[56][u[55]](a[u[54]][u[53]]())}while(this[u[60]][u[59]](t,this[u[58]][u[57]]));return t},t[u[9]][u[61]]=function(e){if(e[u[51]])return e[u[62]]?this[u[49]](e):this[u[47]][u[52]](e[u[51]])},t[u[9]][u[63]]=function(){return null!==this[u[47]]&&s(this[u[47]])&&this[u[47]][u[38]](this),e[u[9]][u[63]][u[30]](this)},t}(i[u[42]][u[41]](o[u[17]][u[40]])[u[39]]))(e)};var i=n(91520),o=n(16368),a=n(54838),s=function(e){return u[32]==typeof e[u[37]]&&u[32]==typeof e[u[38]]}},90671:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}(),i=this&&this[u[64]]||function(){return i=Object[u[65]]||function(e){for(var t,n=1,r=arguments[u[66]];n<r;n++)for(var i in t=arguments[n])Object[u[9]][u[31]][u[30]](t,i)&&(e[i]=t[i]);return e},i[u[43]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[20]]=function(){var e=a[u[42]][u[41]](s[u[17]][u[40]]);return null===c&&(c=function(e){function t(t){var n=e[u[30]](this,t)||this;return n[u[68]]=[],n[u[69]]=new o[u[70]],n}return r(t,e),t[u[9]][u[71]]=function(t,n){var r=this;e[u[9]][u[71]][u[30]](this,t,n),n[u[73]]((function(e){return r[u[68]][u[73]]((function(n){n[u[44]](i(i({},e),{initData:t[u[72]],forceLicenseRequest:!0}))}))})),this[u[69]][u[74]]()},t[u[9]][u[37]]=function(e){this[u[68]][u[75]](e)||this[u[68]][u[76]](e)},t[u[9]][u[38]]=function(e){var t=this[u[68]][u[77]]((function(t){return t===e}));t>-1&&this[u[68]][u[78]](t,1)},t[u[9]][u[79]]=function(t,n){var r=this;return this[u[69]][u[80]][u[48]]((function(){return e[u[9]][u[79]][u[30]](r,t,n)}))},t}(e[u[67]])),c};var o=n(10981),a=n(91520),s=n(16368),c=null},30146:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[81]]=t[u[82]]=void 0,t[u[21]]=function(){if(null===_){var e=(0,d[u[84]])();_=function(e){function n(t){var n=e[u[30]](this,t)||this;return n[u[85]]=function(){var e,t,r;if(n[u[86]]&&u[87]===(null===(e=n[u[88]])||void 0===e?void 0:e[u[89]]))return null!==(t=n[u[90]]())&&void 0!==t?t:-1;var i=n[u[93]][u[92]][u[91]],a=n[u[93]][u[96]][u[41]](o[u[95]][u[94]],i),s=n[u[97]]();if(null==a?void 0:a[u[98]]()){var c=Object[u[102]](null!==(r=n[u[101]]())&&void 0!==r?r:[])[u[100]]((function(e){return e[u[100]]((function(e){return e[u[99]]>s}))}));if(c)return c[u[103]]((function(e,t){return e[u[99]]<t[u[99]]?t:e}))[u[99]]}return s},n[u[104]]=function(){if(!n[u[105]]&&!n[u[106]][u[87]]){var e=n[u[85]](),t=n[u[107]]();if(t&&e>0&&e-t<=1){var r=Math[u[108]](e-t,0),i=(0,c[u[109]])(r)/n[u[106]][u[110]]+(0,c[u[109]])(1);n[u[105]]=setTimeout((function(){n[u[93]][u[111]]||n[u[106]][u[112]]||(n[u[93]][u[115]][u[114]](u[113]),n[u[106]][u[118]][u[117]](l[u[116]][u[87]])),n[u[105]]=null}),i)}}},n[u[119]]=function(){n[u[120]]();var e=n[u[97]](),t=n[u[107]]();t&&e&&t>=e&&n[u[106]][u[118]][u[117]](l[u[116]][u[87]])},n[u[120]]=function(){n[u[105]]&&(clearTimeout(n[u[105]]),n[u[105]]=null)},n[u[86]]=!1,n[u[105]]=null,n[u[106]][u[122]](l[u[116]][u[121]],n[u[104]]),n[u[106]][u[122]](l[u[116]][u[123]],n[u[104]]),n[u[106]][u[122]](l[u[116]][u[124]],n[u[120]]),n[u[106]][u[122]](l[u[116]][u[87]],n[u[120]]),n[u[106]][u[122]](l[u[116]][u[125]],n[u[119]]),n}return r(n,e),n[u[9]][u[126]]=function(){return this[u[93]][u[128]][u[127]]},n[u[9]][u[129]]=function(){return this[u[93]][u[128]][u[130]]},n[u[9]][u[131]]=function(e){this[u[88]]&&(e=Math[u[132]](1e4*e)/1e4,isFinite(e)||(e=f),this[u[88]][u[131]](e))},n[u[9]][u[97]]=function(){var e,t,n,r,i,o=isNaN(null!==(t=null===(e=this[u[106]])||void 0===e?void 0:e[u[133]])&&void 0!==t?t:NaN)?null!==(r=null===(n=this[u[88]])||void 0===n?void 0:n[u[97]]())&&void 0!==r?r:0:null===(i=this[u[106]])||void 0===i?void 0:i[u[133]];return o===f?1/0:null!=o?o:NaN},n[u[9]][u[63]]=function(t){return this[u[86]]=!1,e[u[9]][u[63]][u[30]](this,t)},n[u[9]][u[134]]=function(){return this[u[106]][u[135]](l[u[116]][u[121]],this[u[104]]),this[u[106]][u[135]](l[u[116]][u[123]],this[u[104]]),this[u[106]][u[135]](l[u[116]][u[124]],this[u[120]]),this[u[106]][u[135]](l[u[116]][u[87]],this[u[120]]),this[u[106]][u[135]](l[u[116]][u[125]],this[u[119]]),e[u[9]][u[134]][u[30]](this)},n[u[9]][u[136]]=function(t){var n;return void 0===t&&(t=!0),u[87]!==(null===(n=this[u[88]])||void 0===n?void 0:n[u[89]])||t||(this[u[86]]=!0),e[u[9]][u[136]][u[30]](this,t)},n[u[9]][u[137]]=function(t,n,r){var i=this;return this[u[138]]&&this[u[115]][u[114]](u[139]),Promise[u[74]](this[u[138]])[u[141]]((function(e){i[u[115]][u[114]](u[140],e)}))[u[48]]((function(){return e[u[9]][u[137]][u[30]](i,t,n,r)}))},n[u[9]][u[142]]=function(n){var r=e[u[9]][u[142]][u[30]](this,n);return!isNaN(r)&&(0,s[u[143]])()&&this[u[106]]?function(e,t,n){var r=(0,i[u[158]])(e)[u[100]]((function(e){return e[u[166]]<=t&&t<=e[u[99]]}));return r?Math[u[108]](t,r[u[166]]+n):t}(this[u[106]],r,t[u[82]]):r},n[u[9]][u[144]]=function(e){var t=this,n=-1,r=new Promise((function(r){var i=[l[u[116]][u[145]],l[u[116]][u[146]],l[u[116]][u[147]]],o=function(){-1!==n&&window[u[8]](n);var e=t[u[106]][u[148]];r(t[u[150]]()[u[48]]((function(t){return t[u[149]](e)}))),s()},s=function(){i[u[73]]((function(e){t[u[118]][u[151]](e,o)})),t[u[154]][u[151]](a[u[153]][u[152]],o)};i[u[73]]((function(e){t[u[118]][u[155]](e,o)})),t[u[154]][u[155]](a[u[153]][u[152]],o);try{t[u[106]][u[148]]=e}catch(e){throw s(),e}}));if((0,s[u[23]])()){var i=new Promise((function(r){n=window[u[11]]((function(){return r(t[u[150]]()[u[48]]((function(t){return t[u[149]](e)})))}),1e3)}));this[u[138]]=Promise[u[156]]([i,r])}else this[u[138]]=r;return this[u[138]]},n[u[9]][u[157]]=function(){var e=this,t=Object[u[161]](this[u[160]])[u[159]]((function(t){return e[u[158]](t)[u[66]]>0}));this[u[162]]?this[u[163]]=this[u[162]][u[164]]:t&&(this[u[163]]=this[u[165]]())},n}(e)}return _};var i=n(92712),o=n(18665),a=n(62510),s=n(43485),c=n(331),l=n(46462),d=n(96217),_=null,f=Math[u[83]](2,32);t[u[82]]=.02,t[u[81]]=Math[u[83]](2,32)-1},30606:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[19]]=t[u[167]]=void 0;var i=n(43485),o=n(46462),a=n(47894),s=n(31250);t[u[167]]=10;var c=function(e){function n(t,n){var r=e[u[30]](this,t,n)||this;r[u[169]]=function(){r[u[170]][u[8]]()},r[u[171]]=function(){r[u[172]][u[124]]||r[u[173]]===r[u[148]]||r[u[170]][u[8]](),r[u[174]]()};var o=(0,i[u[143]])()?2e4:8e3,a=(0,i[u[143]])()?1e4:1e3;return r[u[170]]=new s[u[3]](a,o,1.8),r[u[175]]=0,r[u[173]]=-1,r[u[176]](),r}return r(n,e),n[u[9]][u[176]]=function(){this[u[177]][u[122]](o[u[116]][u[146]],this[u[169]]),this[u[177]][u[122]](o[u[116]][u[121]],this[u[171]])},n[u[9]][u[178]]=function(){this[u[177]]&&(this[u[177]][u[135]](o[u[116]][u[146]],this[u[169]]),this[u[177]][u[135]](o[u[116]][u[121]],this[u[171]]))},n[u[9]][u[174]]=function(){this[u[172]][u[124]]||(this[u[173]]===this[u[172]][u[148]]?this[u[175]]++:this[u[175]]=0,this[u[175]]===t[u[167]]&&(this[u[93]][u[115]][u[114]](u[180][u[55]](t[u[167]],u[179])),this[u[181]](this[u[173]]),this[u[175]]=0),this[u[173]]=this[u[172]][u[148]])},n[u[9]][u[182]]=function(e){var t=this;this[u[170]][u[11]]((function(){return t[u[183]](e)}))},n[u[9]][u[184]]=function(e,t){var n=function(e,t){var n=(e[u[99]]-t)/2,r=n+n*Math[u[203]]();return t+Math[u[14]](.01+.1*Math[u[203]](),r)}(e,t);this[u[93]][u[115]][u[114]](u[187][u[55]](t,u[186])[u[55]](n,u[185])),this[u[172]][u[148]]=n},n[u[9]][u[183]]=function(e){if(!this[u[172]][u[124]]||this[u[172]][u[110]]>1){var t=this[u[172]][u[124]]?u[189][u[55]](this[u[172]][u[110]],u[188]):u[190];return this[u[93]][u[115]][u[114]](u[191][u[55]](t)),void this[u[170]][u[8]]()}this[u[181]](e)},n[u[9]][u[181]]=function(e){var t=function(e,t){return function(e){var t=[];try{for(var n=0;n<e[u[204]][u[66]];n++)t[u[76]]({start:e[u[204]][u[166]](n),end:e[u[204]][u[99]](n)})}catch(e){}return t}(e)[u[100]]((function(e){return e[u[166]]<=t&&e[u[99]]>=t}))}(this[u[172]],e);return t?function(e){var t,n,r=null===(t=e[u[195]])||void 0===t?void 0:t[u[196]](),i=null==r?void 0:r[u[197]],o=null!==(n=null==i?void 0:i[u[198]])&&void 0!==n?n:{};return Object[u[161]](o)[u[202]]((function(e){return Object[u[161]](o[e])[u[201]]((function(t){return o[e][t]}))}))[u[159]]((function(e){return e[u[199]]&&!e[u[200]]}))}(this[u[93]])?(this[u[93]][u[115]][u[114]](u[192]),this[u[170]][u[7]](),void this[u[182]](e)):(this[u[184]](t,e),this[u[170]][u[13]](),void this[u[182]](e)):(this[u[93]][u[115]][u[114]](u[193]),void this[u[182]](e))},Object[u[2]](n[u[9]],u[148],{get:function(){return this[u[172]][u[148]]},set:function(e){this[u[172]][u[148]]=e,this[u[170]][u[7]](),this[u[175]]=0,this[u[182]](e)},enumerable:!1,configurable:!0}),n[u[9]][u[194]]=function(){this[u[170]][u[8]](),this[u[178]](),e[u[9]][u[194]][u[30]](this)},n}(a[u[168]]);t[u[19]]=c},15896:function(e,t,n){var r=this&&this[u[64]]||function(){return r=Object[u[65]]||function(e){for(var t,n=1,r=arguments[u[66]];n<r;n++)for(var i in t=arguments[n])Object[u[9]][u[31]][u[30]](t,i)&&(e[i]=t[i]);return e},r[u[43]](this,arguments)};Object[u[2]](t,u[1],{value:!0}),t[u[205]]=void 0;var i=n(92712),o=n(18665),a=n(58975),s=n(96873),c=n(84342),l=n(38255),d=n(43485),_=n(10981),f=n(79814),h=n(331),p=n(46462),g=n(91520),v=n(16368),m=n(56929),y=n(85461),b=n(59073),S=n(45586),E=n(20415),$=function(){function e(e,t,n,o){var a=this;this[u[206]]=n,this[u[207]]=o,this[u[208]]=function(){a[u[209]](a[u[93]][u[128]][u[24]])},this[u[210]]=function(){a[u[209]](a[u[93]][u[128]][u[211]])},this[u[212]]=function(){if(a[u[93]][u[213]])try{var e=a[u[158]](),t=a[u[93]][u[213]][u[148]],n=a[u[214]](t);if(e[u[66]]<2)return void a[u[93]][u[115]][u[114]](u[215]);var o=n[u[222]]((function(e){return e[u[221]]}))[u[220]]((function(e){return i[u[219]][u[218]](e,a[u[93]][u[128]][u[217]])}))[u[216]](),c=i[u[219]][u[224]](r(r({},o),{bufferedRanges:e}))[u[223]]();if(void 0!==c){var l=c[u[225]]();a[u[93]][u[213]][u[148]]=l,a[u[93]][u[115]][u[114]](u[226],l),a[u[227]](),a[u[93]][u[213]][u[118]][u[135]](p[u[116]][u[228]],a[u[210]]),a[u[235]]()[u[234]]((function(){var e;return null===(e=a[u[231]]())||void 0===e?void 0:e[u[233]]((0,s[u[232]])(!1))}))[u[48]]((function(){a[u[93]][u[115]][u[114]](u[230])}))[u[141]]((function(e){a[u[93]][u[115]][u[114]](u[229],e)}))}else a[u[236]]()}catch(e){a[u[93]][u[115]][u[114]](u[237],e)}else a[u[93]][u[115]][u[114]](u[238])},this[u[93]]=e,this[u[239]]=t,this[u[240]]=void 0,this[u[241]]=new Map,this[u[242]]=new E[u[243]],this[u[93]][u[213]]?(this[u[93]][u[213]][u[122]](p[u[116]][u[244]],this[u[210]]),this[u[93]][u[213]][u[122]](p[u[116]][u[123]],this[u[210]]),this[u[93]][u[213]][u[122]](p[u[116]][u[121]],this[u[208]]),e[u[115]][u[114]](u[246][u[55]](A(n),u[245])),e[u[115]][u[114]](u[247][u[55]](A(o),u[245])),e[u[128]][u[248]]&&e[u[115]][u[114]](u[249])):e[u[115]][u[114]](u[250])}return e[u[9]][u[235]]=function(){var e=this,t=[];return this[u[251]]()[u[161]][u[73]]((function(n){t[u[76]](e[u[239]](n))})),Promise[u[252]](t)[u[48]]((function(){}))},e[u[9]][u[90]]=function(){var e=i[u[219]][u[224]](this[u[251]](!0)[u[216]]())[u[253]]((function(e,t){return e[u[225]]()-t[u[225]]()}));return e[u[66]]>0?e[e[u[66]]-1][u[254]]():0},e[u[9]][u[255]]=function(e){var t,n;try{for(var r=0;r<e[u[66]];r++)if(this[u[149]](e[u[166]](r))<=this[u[149]](null!==(n=null===(t=this[u[93]][u[213]])||void 0===t?void 0:t[u[148]])&&void 0!==n?n:0)-.1)return r}catch(e){this[u[93]][u[115]][u[114]](u[256],e)}return 0},e[u[9]][u[251]]=function(e){var t=this;return void 0===e&&(e=!1),this[u[242]][u[222]]((function(t){return e?t[u[257]]:t[u[221]]}))[u[220]]((function(e){return i[u[219]][u[218]](e,t[u[93]][u[128]][u[217]])}))},e[u[9]][u[209]]=function(e){var t=this[u[93]][u[213]];if(t){var n=t[u[204]][u[66]],r=n>0,i=t[u[148]]>=t[u[133]]&&t[u[133]]>0;if(r&&!i){var o=t[u[204]][u[99]](n-1),a=t[u[148]];this[u[258]](a,o,n),null!==o&&o-e<=a&&this[u[212]]()}}},e[u[9]][u[259]]=function(e,t,n){var r=this[u[93]][u[128]][u[260]];return n>=2&&t-r<=e},e[u[9]][u[258]]=function(e,t,n){var r;this[u[259]](e,t,n)&&(null===(r=this[u[231]]())||void 0===r||r[u[233]]((0,s[u[232]])(!0)))},e[u[9]][u[214]]=function(e){var t=this,n=this[u[93]][u[128]][u[217]],r=new l[u[261]];return this[u[242]][u[161]][u[73]]((function(i){var o=!1,a=-1/0,s=t[u[242]][u[41]](i),c=!1;s[u[253]]((function(e,t){return e[u[262]]-t[u[262]]}));var l=s[u[264]]((function(t){var r=t[u[221]],i=r[u[166]]-n<=e&&r[u[99]]+n>=e;if(c=c||i,!isFinite(a)&&i)a=t[u[263]];else if(isFinite(a))return o=o||t[u[263]]<a;return!1}));0!==l[u[66]]||c||(s[u[253]]((function(e,t){return e[u[262]]-t[u[262]]})),l=s[u[264]]((function(t){return t[u[221]][u[99]]<e}))),r[u[265]](i,l)})),r},e[u[9]][u[227]]=function(){void 0!==this[u[240]]&&(this[u[240]](),this[u[240]]=void 0)},e[u[9]][u[236]]=function(){var e=this,t=this[u[231]]();void 0!==t&&(this[u[227]](),this[u[240]]=(0,c[u[266]])(t,(function(){return e[u[210]]()})))},e[u[9]][u[158]]=function(){var e,t=[],n=null===(e=this[u[93]][u[213]])||void 0===e?void 0:e[u[204]];if(!function(e){return 0!==(null==e?void 0:e[u[66]])}(n))return[];for(var r=0;r<n[u[66]];r++)t[u[76]]({start:n[u[166]](r),end:n[u[99]](r)});return t},e[u[9]][u[267]]=function(e){var t=this,n=!1,r=new E[u[243]];return this[u[242]][u[161]][u[73]]((function(e){return(0,m[u[268]])(r,e)})),e[u[73]]((function(e){var i;if(!e[u[269]]()){var o=new S[u[270]](e,t[u[206]]),a=o[u[271]]/o[u[272]],s=t[u[273]](a),c=t[u[274]](o);(n=n||s||c||t[u[93]][u[128]][u[248]]||(0,y[u[276]])(o,null!==(i=t[u[242]][u[41]](o[u[275]]))&&void 0!==i?i:[]))&&(o[u[277]]=!0),(0,m[u[278]])(r,o[u[275]],o),o[u[277]]&&t[u[93]][u[115]][u[114]](u[281][u[55]](o[u[279]],u[280])+u[283][u[55]](o[u[275]],u[282]))}})),[n,r]},e[u[9]][u[284]]=function(e){return g[u[42]][u[286]](v[u[17]][u[285]])?e[u[284]]()||g[u[42]][u[41]](v[u[17]][u[285]])[u[287]](e):(this[u[93]][u[115]][u[114]](u[288]),0)},e[u[9]][u[289]]=function(e,t){var n=0;e[u[290]](this[u[284]](e));var r=new DataView(e[u[291]](),e[u[284]]()),i=t[u[292]],o=r[u[293]](n);n+=4;var a=String[u[295]](r[u[294]](n++),r[u[294]](n++),r[u[294]](n++),r[u[294]](n++));if(n+=1===o?8:0,u[296]===a){var s=r[u[294]](n);n+=4,1===s&&(r[u[297]](n,Math[u[132]](i/Math[u[83]](2,32))),n+=4),r[u[297]](n,i),e[u[298]](i),e[u[299]](!0)}},e[u[9]][u[300]]=function(e,t){var n=this;t[u[302]]((function(t,r){(0,m[u[278]])(n[u[242]],t,r);var i=r[u[301]](e);i&&n[u[289]](i,r)}))},e[u[9]][u[303]]=function(e,t){return e[u[103]]((function(e,n){var r=t(n),i=Math[u[132]](r/n[u[272]]);return!isFinite(e)&&isFinite(i)||i<e?i:e}),-1/0)},e[u[9]][u[304]]=function(e,t){var n=this;return Math[u[14]][u[43]](Math,e[u[305]]((function(e){return n[u[303]](e,t)})))},e[u[9]][u[306]]=function(e){return this[u[304]](e,(function(e){return e[u[292]]-e[u[307]]}))},e[u[9]][u[308]]=function(e){return this[u[304]](e,(function(e){return e[u[309]]}))},e[u[9]][u[310]]=function(e){var t=this,n={},r=this[u[308]](e);isFinite(r)?(e[u[302]]((function(e,t){var i=t[u[272]],o=t[u[279]],a=t[u[309]],s=Math[u[132]](a-r*i),c=a-s,l=o-c,d=Math[u[132]](c/i);t[u[292]]=l,t[u[307]]=s,n[u[31]](e)||(n[e]=d)})),Object[u[161]](n)[u[73]]((function(e){var r=t[u[241]][u[41]](e);r&&r[u[74]](n[e]);var i=new _[u[70]];t[u[241]][u[311]](e,i),i[u[74]](n[e])}))):this[u[93]][u[115]][u[114]](u[312])},e[u[9]][u[313]]=function(e,t){var n,r=this,i=this[u[306]](t);isFinite(i)?(t[u[302]]((function(t,n){var o=n[u[301]](e);o&&r[u[314]](o,n,i),(0,m[u[278]])(r[u[242]],t,n)})),null===(n=this[u[93]][u[213]])||void 0===n||n[u[122]](p[u[116]][u[228]],this[u[210]])):this[u[93]][u[115]][u[114]](u[315])},e[u[9]][u[314]]=function(e,t,n){t[u[292]]=t[u[292]]-t[u[272]]*n,t[u[316]]=(t[u[292]]-t[u[307]])/t[u[272]],this[u[289]](e,t)},e[u[9]][u[317]]=function(e,t){return 0===t[u[66]]||(t[u[161]][u[318]]((function(e){return(t[u[41]](e)||[])[u[66]]>0}))?(this[u[310]](t),this[u[313]](e,t),!0):(this[u[93]][u[115]][u[114]](u[319]),!1))},e[u[9]][u[320]]=function(e,t,n){var r,i=e[u[133]],o=e[u[272]],a=e[u[275]],s=this[u[242]][u[161]][u[100]]((function(e){return e!==a}));if(!s)return!1;var c=null===(r=this[u[242]][u[41]](s))||void 0===r?void 0:r[u[322]](-1)[u[201]]((function(e){return{start:e[u[321]]+e[u[133]]*e[u[272]],end:e[u[321]]+2*e[u[133]]*e[u[272]]+n}}))[0];if(!c)return!1;var l={start:t,end:t+i*o},d={start:Math[u[108]](l[u[166]],c[u[166]]),end:Math[u[14]](l[u[99]],c[u[99]])};return!(d[u[99]]-d[u[166]]<=i*o/2)&&c[u[99]]>this[u[206]]},e[u[9]][u[323]]=function(e,t,n,r){var i=this,o=n[u[133]],a=n[u[272]],s=e+o*a;if(s>this[u[206]])return this[u[93]][u[115]][u[114]](u[324][u[55]](n[u[275]],u[282])),!1;if(this[u[206]]-s<o*a&&this[u[320]](n,e,t))return this[u[93]][u[115]][u[114]](u[325][u[55]](n[u[275]],u[282])),!1;var c=t/a,l=e/a+o;return function(){for(var e=[],t=0;t<arguments[u[66]];t++)e[t]=arguments[t];var n=[];return e[u[73]]((function(e){e[u[302]]((function(e,t){n[u[75]](t[u[272]])||n[u[76]](t[u[272]])}))})),n}(r,this[u[242]])[u[318]]((function(e){return i[u[326]](c,l,e)}))},e[u[9]][u[326]]=function(e,t,n){return t*n+e*n<=this[u[206]]},e[u[9]][u[273]]=function(e){return Math[u[327]](e)>this[u[207]]},e[u[9]][u[274]]=function(e){if(!(0,d[u[23]])())return!1;var t=e[u[262]],n=e[u[133]],r=e[u[275]],i=t+n>(0,h[u[328]])(this[u[206]]);return f[u[330]][u[329]](r)&&i},e[u[9]][u[331]]=function(e,t){if(this[u[93]][u[128]][u[248]])return!0;var n=e/t[u[272]];return!!this[u[273]](n)||this[u[274]](t)},e[u[9]][u[332]]=function(e,t,n){var r=e[u[321]],i=e[u[271]],o=e[u[333]],a=!this[u[323]](r,i,t,n);return o?a:a||this[u[331]](i,t)},e[u[9]][u[334]]=function(e){var t=this,n=new l[u[261]],r=new l[u[261]];return e[u[161]][u[73]]((function(i){var o;(0,m[u[268]])(n,i),(0,m[u[268]])(r,i),(0,m[u[268]])(t[u[242]],i);var a=null!==(o=t[u[242]][u[41]](i))&&void 0!==o?o:[],s=a[u[66]]?a:t[u[242]][u[335]]();(e[u[41]](i)||[])[u[73]]((function(i){var o=(0,y[u[337]])(i,s,t[u[93]][u[128]][u[217]],t[u[93]][u[128]][u[336]]);if(t[u[332]](o,i,e))t[u[93]][u[115]][u[114]](u[338],i[u[339]],i[u[275]]),i[u[340]](),(0,m[u[278]])(r,i[u[275]],i);else{var a=o[u[321]],c=o[u[271]];i[u[341]](a,c),(0,m[u[278]])(n,i[u[275]],i)}}))})),{discontinuousSegmentTimeInfoMap:r,continuousSegmentTimeInfoMap:n}},e[u[9]][u[342]]=function(e,t){var n,r=this[u[334]](t),i=r[u[343]],o=r[u[344]];if(this[u[300]](e,o),this[u[317]](e,i))return!0;var a=(0,b[u[345]])({continuousSegmentTimeInfoMap:o,discontinuousSegmentTimeInfoMap:i});if(!a){var s=this[u[334]](this[u[242]]);a=(0,b[u[345]])({continuousSegmentTimeInfoMap:s[u[344]],discontinuousSegmentTimeInfoMap:i}),this[u[93]][u[115]][u[114]](u[346],a)}return!!a&&(this[u[93]][u[115]][u[114]](u[348][u[55]](a[u[275]],u[347]),{switchedSegmentUrl:a[u[339]],matchingSegmentUrl:null===(n=a[u[301]](e))||void 0===n?void 0:n[u[349]]()}),this[u[317]](e,i))},e[u[9]][u[350]]=function(e){var t=this;e[u[302]]((function(e,n){var r;(null===(r=t[u[242]][u[41]](e))||void 0===r?void 0:r[u[100]](n[u[351]]))||(0,m[u[278]])(t[u[242]],n[u[275]],n);var i=t[u[241]][u[41]](n[u[275]]);i&&i[u[74]](0)}))},e[u[9]][u[352]]=function(e){return e[u[318]]((function(e){return f[u[330]][u[354]](e[u[353]]())}))},e[u[9]][u[355]]=function(){this[u[206]]=1/0,this[u[207]]=1/0},e[u[9]][u[356]]=function(){return this[u[206]]!==1/0||this[u[207]]!==1/0},e[u[9]][u[357]]=function(e){!this[u[352]](e)&&this[u[356]]()&&(this[u[93]][u[115]][u[114]](u[358]),this[u[355]]());var t=this[u[267]](e),n=t[0],r=t[1];return n?this[u[342]](e,r):(this[u[350]](r),!0)},e[u[9]][u[359]]=function(e,t,n){if(this[u[242]][u[286]](e)){var r=i[u[219]][u[218]](t,this[u[93]][u[128]][u[217]]),o=this[u[242]][u[41]](e)||[],a=o[u[264]]((function(e){return e[u[360]](r)}));if(this[u[361]](o,r,n)){var s=o[0];s[u[362]](),a[u[76]](s)}this[u[242]][u[311]](e,a)}},e[u[9]][u[361]]=function(e,t,n){if(!e[u[66]]||t[u[66]])return!1;var r=this[u[93]][u[195]][u[196]](),i=!!(null==r?void 0:r[u[363]])&&(0,a[u[364]])(r[u[363]]),s=this[u[93]][u[96]][u[41]](o[u[95]][u[94]],this[u[93]][u[92]][u[91]]),c=null==s?void 0:s[u[365]](n);return!i&&e[0][u[366]]===c},e[u[9]][u[149]]=function(e,t){var n=this;void 0===t&&(t=!1);var r=this[u[242]][u[335]](),i=r[u[100]]((function(t){var r=t[u[221]][u[166]]-n[u[93]][u[128]][u[217]],i=t[u[221]][u[99]]+n[u[93]][u[128]][u[217]];return!t[u[367]]&&e>=r&&e<=i}))||(t?r[0]:void 0);return i&&(this[u[368]]=i[u[262]]-i[u[263]]),this[u[369]](e)},e[u[9]][u[369]]=function(e){return void 0!==this[u[368]]?Math[u[108]](this[u[368]]+e,0):(this[u[93]][u[115]][u[114]](u[371][u[55]](e,u[370])),e)},e[u[9]][u[372]]=function(e,t,n){var r=this;void 0===t&&(t=!1);var i=this[u[242]][u[335]]()[u[264]]((function(e){return void 0===n||n===e[u[275]]})),o=i[u[100]]((function(t){var n=t[u[257]][u[166]]-r[u[93]][u[128]][u[217]],i=t[u[257]][u[99]]+r[u[93]][u[128]][u[217]];return e>=n&&e<=i}))||(t?i[0]:void 0);return o?Math[u[108]](o[u[263]]+(e-o[u[262]]),0):e},e[u[9]][u[373]]=function(e){if(null!=e)return{start:this[u[149]](e[u[166]]),end:this[u[149]](e[u[99]])}},e[u[9]][u[374]]=function(e){var t=this;return e[u[201]]((function(e){return t[u[373]](e)}))[u[264]]((function(e){return void 0!==e}))},e[u[9]][u[375]]=function(e){var t=this;return null==e?null:Object[u[161]](e)[u[103]]((function(n,r){return n[r]=t[u[374]](e[r]),n}),{})},e[u[9]][u[376]]=function(e,t){var n=this,r=[];return e[u[73]]((function(e){var i=n[u[242]][u[41]](t)[u[100]]((function(t){return t[u[377]](e)}));i&&r[u[76]](i[u[221]])})),r},e[u[9]][u[378]]=function(e,t){var n=this[u[241]][u[41]](e);return n||(n=new _[u[70]],this[u[241]][u[311]](e,n)),n[u[80]][u[48]]((function(e){return t+e}))},e[u[9]][u[194]]=function(){var e,t,n,r;this[u[242]][u[379]](),this[u[227]](),null===(e=this[u[93]][u[213]])||void 0===e||e[u[135]](p[u[116]][u[228]],this[u[210]]),null===(t=this[u[93]][u[213]])||void 0===t||t[u[135]](p[u[116]][u[244]],this[u[210]]),null===(n=this[u[93]][u[213]])||void 0===n||n[u[135]](p[u[116]][u[123]],this[u[210]]),null===(r=this[u[93]][u[213]])||void 0===r||r[u[135]](p[u[116]][u[121]],this[u[208]])},e[u[9]][u[231]]=function(){return this[u[93]][u[96]][u[41]](o[u[95]][u[380]],this[u[93]][u[92]][u[91]])},e}();t[u[205]]=$;var T=Math[u[381]](2);function A(e){return Math[u[382]](Math[u[381]](e+1)/T)}},56929:function(e,t){Object[u[2]](t,u[1],{value:!0}),t[u[278]]=void 0,t[u[268]]=function(e,t){e[u[41]](t)||e[u[265]](t,[])},t[u[278]]=function(e,t,n){(function(e,t,n){var r;return null===(r=e[u[41]](t))||void 0===r?void 0:r[u[100]]((function(e){return e[u[339]]===(null==n?void 0:n[u[339]])&&e[u[351]](n)}))})(e,t,n)||e[u[383]](t,n)}},85461:function(e,t){function n(e){return Math[u[132]](e[u[279]]-e[u[321]])}function r(e,t,n){return e[u[100]]((function(e){var r=e[u[133]]*e[u[272]],i=e[u[272]]*n,o=e[u[279]]+r;return t[u[279]]>=o-i&&t[u[279]]<=o+i}))}function i(e,t){return e[u[103]]((function(e,n){var r=n[u[279]],i=e?e[u[279]]:-1/0;return r<t&&r>i?n:e}),void 0)}Object[u[2]](t,u[1],{value:!0}),t[u[337]]=function(e,t,o,a){var s=1/0,c=1/0,l=r(t,e,o),d=l||i(t,e[u[279]]);if(l)if(c=l[u[271]],a){var _=e[u[279]]-l[u[279]];s=l[u[321]]+_}else _=l[u[133]]*l[u[272]],s=Math[u[132]](l[u[321]]+_);else d&&(c=d[u[271]],s=e[u[279]]-n(d));return{baseMediaDecodeTime:s,presentationTimeOffset:c,foundMatchingPreviousSegment:Boolean(d)}},t[u[384]]=n,t[u[276]]=function(e,t){if(e[u[277]])return!0;var n=i(t,e[u[279]]);return Boolean(null==n?void 0:n[u[277]])},t[u[385]]=r,t[u[386]]=i},59073:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[387]]=t[u[345]]=void 0;var r=n(56929);t[u[345]]=function(e){var n=(0,t[u[387]])(e);return n&&(e[u[344]][u[388]](n[u[275]],n),n[u[340]](),(0,r[u[278]])(e[u[343]],n[u[275]],n)),n},t[u[387]]=function(e){var t=e[u[344]][u[161]];if(2!==t[u[66]])return null;if(t[u[318]]((function(t){return e[u[344]][u[41]](t)[u[66]]>0})))return null;for(var n=0,r=t;n<r[u[66]];n++){var i=r[n];if(e[u[343]][u[286]](i)&&!((e[u[343]][u[41]](i)||[])[u[66]]>0)){var o=e[u[344]][u[41]](i)||[];if(o[u[66]])return o[0]}}return null}},45586:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[270]]=void 0;var r=n(92712),i=function(){function e(e,t){var n,r,i,o=this;this[u[351]]=function(e){if(e){var t=o[u[275]]===e[u[275]],n=o[u[133]]===e[u[133]],r=o[u[279]]===e[u[279]],i=o[u[389]]===e[u[389]];return t&&n&&r&&i}return!1},this[u[339]]=e[u[349]](),this[u[133]]=e[u[97]](),this[u[275]]=e[u[353]](),this[u[272]]=null!==(n=e[u[390]]())&&void 0!==n?n:1,this[u[262]]=e[u[391]](),this[u[392]]=null===(r=e[u[393]]())||void 0===r?void 0:r[u[394]],this[u[279]]=e[u[395]](),this[u[309]]=e[u[396]]()*this[u[272]],this[u[277]]=this[u[279]]+this[u[133]]*this[u[272]]>t,this[u[366]]=e[u[397]](),this[u[389]]=null===(i=e[u[393]]())||void 0===i?void 0:i[u[398]],this[u[399]]=!1,this[u[292]]=1/0,this[u[307]]=1/0,this[u[316]]=1/0}return Object[u[2]](e[u[9]],u[367],{get:function(){return this[u[399]]},enumerable:!1,configurable:!0}),Object[u[2]](e[u[9]],u[263],{get:function(){return this[u[277]]&&this[u[316]]!==1/0?this[u[316]]:this[u[262]]},enumerable:!1,configurable:!0}),Object[u[2]](e[u[9]],u[321],{get:function(){return this[u[277]]&&this[u[292]]!==1/0?this[u[292]]:this[u[279]]},enumerable:!1,configurable:!0}),Object[u[2]](e[u[9]],u[271],{get:function(){return this[u[277]]&&this[u[307]]!==1/0?this[u[307]]:this[u[309]]},enumerable:!1,configurable:!0}),Object[u[2]](e[u[9]],u[221],{get:function(){return{start:this[u[263]],end:this[u[263]]+this[u[133]]}},enumerable:!1,configurable:!0}),Object[u[2]](e[u[9]],u[257],{get:function(){return{start:this[u[262]],end:this[u[262]]+this[u[133]]}},enumerable:!1,configurable:!0}),e[u[9]][u[301]]=function(e){var t=this;return e[u[100]]((function(e){return t[u[377]](e)}))},e[u[9]][u[377]]=function(e){var t,n,r,i=e[u[349]]()===this[u[339]],o=e[u[391]]()===this[u[262]],a=null===(t=e[u[393]]())||void 0===t?void 0:t[u[394]],s=(null==a?void 0:a[u[166]])===(null===(n=this[u[392]])||void 0===n?void 0:n[u[166]]),c=(null==a?void 0:a[u[99]])===(null===(r=this[u[392]])||void 0===r?void 0:r[u[99]]),l=s&&c,d=e[u[353]]()===this[u[275]];return i&&o&&l&&d},e[u[9]][u[340]]=function(){this[u[277]]=!0},e[u[9]][u[341]]=function(e,t){this[u[292]]=e,this[u[307]]=t,this[u[316]]=(e-t)/this[u[272]]},e[u[9]][u[362]]=function(){this[u[399]]=!0},e[u[9]][u[360]]=function(e){var t=this[u[221]],n={buffered:e},i=r[u[219]][u[400]](n,t[u[166]]),o=r[u[219]][u[400]](n,t[u[99]]),a=r[u[219]][u[224]]({buffered:e,inSegment:[t]})[u[66]]>0;return i||o||a},e}();t[u[270]]=i},20415:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[243]]=void 0;var i=function(e){function t(){return e[u[30]](this,(function(e,t){var n,r;return e[u[389]]!==t[u[389]]?(null!==(n=e[u[389]])&&void 0!==n?n:0)-(null!==(r=t[u[389]])&&void 0!==r?r:0):e[u[279]]-t[u[279]]}))||this}return r(t,e),t[u[9]][u[100]]=function(e){if(e)return this[u[41]](e[u[353]]())[u[100]]((function(t){return t[u[377]](e)}))},t}(n(50576)[u[401]]);t[u[243]]=i},50576:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[401]]=void 0;var i=function(e){function t(t){var n=e[u[30]](this)||this;return n[u[402]]=t,n[u[403]]=[],n}return r(t,e),t[u[9]][u[335]]=function(){return this[u[403]]},t[u[9]][u[404]]=function(e){return e?e[u[253]](this[u[402]]):[]},t[u[9]][u[311]]=function(t,n){var r=this[u[404]](n);return this[u[405]](t,r),e[u[9]][u[311]][u[30]](this,t,r)},t[u[9]][u[383]]=function(e,t){var n=t?[t]:[];return this[u[265]](e,n),this},t[u[9]][u[265]]=function(e,t){this[u[406]](e),this[u[311]](e,[][u[55]](t||[],this[u[41]](e)))},t[u[9]][u[407]]=function(t){return this[u[408]](this[u[41]](t)),e[u[9]][u[407]][u[30]](this,t)},t[u[9]][u[388]]=function(t,n){return this[u[408]]([n]),e[u[9]][u[388]][u[30]](this,t,n)},t[u[9]][u[379]]=function(){this[u[403]]=[],e[u[9]][u[379]][u[30]](this)},t[u[9]][u[405]]=function(e,t){void 0===t&&(t=[]);var n=this[u[41]](e);this[u[408]](n),this[u[403]]=this[u[404]](this[u[403]][u[55]](t))},t[u[9]][u[408]]=function(e){var t=this;void 0===e&&(e=[]),e[u[73]]((function(e){var n=t[u[403]][u[409]](e);n>-1&&t[u[403]][u[78]](n,1)}))},t}(n(38255)[u[261]]);t[u[401]]=i},3480:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}();Object[u[2]](t,u[1],{value:!0}),t[u[410]]=function(){return void 0===i&&(i=d()),i};var i,o=n(62510),a=n(92737),s=n(54838),c=n(91520),l=n(75549),d=function(){return function(e){function t(t,n){var r=e[u[30]](this,t)||this;return r[u[412]]={},r[u[413]]=n,r}return r(t,e),t[u[9]][u[414]]=function(e,t){var n;try{n=e[u[204]]}catch(e){return void this[u[115]][u[114]](u[50][u[55]](t,u[415]))}if(0!==n[u[66]])for(var r=0;r<n[u[66]];r++){var i=n[u[166]](r),o=n[u[99]](r);this[u[115]][u[114]](u[50][u[55]](t,u[419])[u[55]](r,u[418])[u[55]](this[u[413]][u[149]](i,!0),u[416])[u[55]](this[u[413]][u[149]](o,!0),u[417])[u[55]](i,u[416])[u[55]](o,u[185]))}else this[u[115]][u[114]](u[50][u[55]](t,u[420]))},t[u[9]][u[421]]=function(){var e=this,t=Object[u[161]](this[u[423]])[u[201]]((function(t){return 0===e[u[423]][t][u[422]][u[66]]?0:e[u[413]][u[149]](e[u[423]][t][u[422]][0][u[166]])}));return Math[u[108]][u[43]](null,t)},t[u[9]][u[424]]=function(t,n){try{e[u[9]][u[424]][u[30]](this,t,n)}catch(e){this[u[115]][u[426]](u[425],e),e[u[427]]===DOMException[u[428]]&&this[u[93]][u[118]][u[434]](o[u[153]][u[429]],new a[u[433]](a[u[431]][u[430]],u[432],e))}},t[u[9]][u[435]]=function(e,t){this[u[412]][e]||(this[u[412]][e]={currentOffset:this[u[423]][e][u[72]][u[436]],pendingOffset:t})},t[u[9]][u[437]]=function(t,n){var r=this;return this[u[435]](t,n),this[u[413]][u[378]](t,n)[u[48]]((function(e){return r[u[412]][t][u[438]]=e}))[u[48]]((function(){var n=r[u[412]][t][u[438]],i=r[u[412]][t][u[439]];return s[u[54]][u[440]](i,6)===s[u[54]][u[440]](n,6)&&r[u[441]]()?Promise[u[74]]():(r[u[115]][u[114]](u[444][u[55]](t,u[443])[u[55]](n,u[442])[u[55]](i,u[185])),r[u[412]][t][u[439]]=n,e[u[9]][u[437]][u[30]](r,t,n)[u[234]]((function(){var e,n,i=null===(n=null===(e=r[u[423]][t])||void 0===e?void 0:e[u[72]])||void 0===n?void 0:n[u[436]];r[u[412]][t][u[439]]=i})))}))},t[u[9]][u[445]]=function(e){var t=this[u[413]][u[255]](e);return e[u[166]](t)},t[u[9]][u[446]]=function(e,t,n){this[u[115]][u[114]](u[449][u[55]](e,u[448])[u[55]](this[u[413]][u[149]](t),u[443])[u[55]](this[u[413]][u[149]](n),u[447])[u[55]](t,u[443])[u[55]](n,u[185]))},t[u[9]][u[450]]=function(e){return this[u[423]][u[31]](e)&&this[u[413]][u[373]](this[u[423]][e][u[451]])||void 0},t[u[9]][u[452]]=function(t){var n=this;return(0,l[u[453]])(t),this[u[454]](t)[u[48]]((function(){return e[u[9]][u[452]][u[30]](n,t)}))},t[u[9]][u[454]]=function(e){var t=e[u[353]](),n=-e[u[396]]();return e[u[269]]()?this[u[455]](t,n):Promise[u[74]]()},t}(c[u[42]][u[41]](a[u[17]][u[22]])[u[411]])}},96217:function(e,t,n){var r=this&&this[u[27]]||function(){var e=function(t,n){return e=Object[u[28]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[29]]=t}||function(e,t){for(var n in t)Object[u[9]][u[31]][u[30]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[32]!=typeof n&&null!==n)throw new TypeError(u[33]+String(n)+u[34]);function r(){this[u[35]]=t}e(t,n),t[u[9]]=null===n?Object[u[36]](n):(r[u[9]]=n[u[9]],new r)}}(),i=this&&this[u[456]]||function(e,t,n){if(n||2===arguments[u[66]])for(var r,i=0,o=t[u[66]];i<o;i++)!r&&i in t||(r||(r=Array[u[9]][u[322]][u[30]](t,0,i)),r[i]=t[i]);return e[u[55]](r||Array[u[9]][u[322]][u[30]](t))};Object[u[2]](t,u[1],{value:!0}),t[u[84]]=function(){return void 0===o&&(o=h()),o};var o,a=n(92712),s=n(52442),c=n(10981),l=n(91520),d=n(16368),_=n(15896),f=n(3480),h=function(){return function(e){function t(){var t=null!==e&&e[u[43]](this,arguments)||this;return t[u[458]]=function(e,n,r){t[u[106]]&&(t[u[413]][u[359]](e,t[u[459]](e),t[u[106]][u[148]]),t[u[115]][u[114]](u[460][u[55]](e,u[448])[u[55]](t[u[413]][u[149]](n),u[443])[u[55]](t[u[413]][u[149]](r),u[447])[u[55]](n,u[443])[u[55]](r,u[185])))},t}return r(t,e),t[u[9]][u[461]]=function(t){this[u[413]]=new _[u[205]](this[u[93]],this[u[463]][u[462]](this),this[u[126]](),this[u[129]]()),e[u[9]][u[461]][u[30]](this,t),this[u[464]]||(this[u[464]]=new c[u[70]]),this[u[464]][u[74]](this[u[413]])},t[u[9]][u[126]]=function(){return 1/0},t[u[9]][u[129]]=function(){return 1/0},t[u[9]][u[465]]=function(){return new((0,f[u[410]])())(this[u[93]],this[u[413]])},t[u[9]][u[165]]=function(){return this[u[413]][u[149]](e[u[9]][u[165]][u[30]](this))},t[u[9]][u[101]]=function(){return this[u[413]][u[375]](e[u[9]][u[101]][u[30]](this))},t[u[9]][u[158]]=function(t){return this[u[413]][u[374]](e[u[9]][u[158]][u[30]](this,t))},t[u[9]][u[466]]=function(){var t=e[u[9]][u[466]][u[30]](this);return this[u[413]][u[374]](t)},t[u[9]][u[463]]=function(e){var t,n,r=this;if(!this[u[88]])return Promise[u[467]]();var i=null===(t=this[u[88]])||void 0===t?void 0:t[u[158]](e),o=null!==(n=null==i?void 0:i[u[322]](1))&&void 0!==n?n:[];return Promise[u[252]](o[u[201]]((function(t){var n;return null===(n=r[u[88]])||void 0===n?void 0:n[u[468]](e,t[u[166]]-r[u[128]][u[217]],t[u[99]]+r[u[128]][u[217]],r[u[458]])})))[u[48]]((function(){}))},t[u[9]][u[137]]=function(e,t,n){if(!this[u[88]])return Promise[u[467]]();void 0===t&&void 0===n&&this[u[157]](),this[u[469]](e,t,n);var r=void 0!==t?this[u[413]][u[372]](t,!0,e):void 0,i=void 0!==n?this[u[413]][u[372]](n,!0,e):void 0;return this[u[88]][u[468]](e,r,i,this[u[458]])},t[u[9]][u[470]]=function(t){var n=this,r=this[u[472]]((function(e){return!e[u[471]]()})),i=Object[u[161]](this[u[160]])[u[318]]((function(e){var t=n[u[160]][e],r=n[u[88]]&&n[u[88]][u[158]](e)[u[66]]>0,i=Boolean(t[u[100]]((function(e){return!e[u[471]]()})));return r||i}));return i&&this[u[413]][u[357]](r)?e[u[9]][u[470]][u[30]](this,t):Promise[u[467]](s[u[474]][u[473]])},t[u[9]][u[459]]=function(e){var t,n;if(null===this[u[88]]||!this[u[160]][u[31]](e))return[];var r=this[u[472]]((function(e){return!e[u[471]]()})),o=this[u[413]][u[376]](r,e),s=null!==(n=null===(t=this[u[88]])||void 0===t?void 0:t[u[158]](e))&&void 0!==n?n:[];return a[u[219]][u[218]](i(i([],o,!0),s,!0),this[u[128]][u[217]])},t[u[9]][u[142]]=function(t){var n=e[u[9]][u[142]][u[30]](this,t);return isNaN(n)?NaN:Math[u[382]](100*this[u[413]][u[372]](n))/100},t[u[9]][u[144]]=function(e){var t=this;return this[u[138]]=new Promise((function(n,r){if(t[u[106]]){t[u[106]][u[148]]=e;var i=t[u[106]][u[148]];n(t[u[150]]()[u[48]]((function(e){return e[u[149]](i)})))}else r(u[475])})),this[u[138]]},t[u[9]][u[150]]=function(){return this[u[464]][u[80]]},t[u[9]][u[472]]=function(e){var t=this;return void 0===e&&(e=function(){return!0}),Object[u[161]](this[u[160]])[u[202]]((function(e){return t[u[160]][e]}))[u[264]](e)},t[u[9]][u[90]]=function(){if(this[u[106]]&&this[u[106]][u[204]]&&this[u[106]][u[204]][u[66]]>0&&this[u[413]])return this[u[413]][u[90]]()},t[u[9]][u[63]]=function(t){var n=this;return e[u[9]][u[63]][u[30]](this,t)[u[48]]((function(){n[u[476]]()}))},t[u[9]][u[476]]=function(){this[u[464]]=new c[u[70]],this[u[413]][u[194]]()},t[u[9]][u[134]]=function(){return this[u[476]](),e[u[9]][u[134]][u[30]](this)},t}(l[u[42]][u[41]](d[u[17]][u[22]])[u[457]])}},75549:function(e,t,n){Object[u[2]](t,u[1],{value:!0}),t[u[453]]=function(e,t){void 0===t&&(t=i),t[u[73]]((function(t){var n,r=null===(n=e[u[477]]())||void 0===n?void 0:n[u[41]](t);r&&function(e,t){var n=new DataView(e,t[u[481]],t[u[482]]),r=4;n[u[485]](r,u[484][u[483]](0)),r++,n[u[485]](r,u[486][u[483]](0)),r++,n[u[485]](r,u[487][u[483]](0)),r++,n[u[485]](r,u[487][u[483]](0))}(e[u[291]](),r)}))};var r=n(43485),i=function(){var e=[u[478]];return((0,r[u[479]])()||(0,r[u[23]])())&&e[u[76]](u[480]),e}()}},function(e){return e(e[u[488]]=98991)}])},u[490]==typeof t&&"object"==u[490]?e[u[491]]=s():"function"==u[32]&&n.amdD[u[492]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[490]==typeof t?t[u[493]]=s():(a[u[494]]=a[u[494]]||{},a[u[494]][u[363]]=a[u[494]][u[363]]||{},a[u[494]][u[363]][u[493]]=s())},3897:e=>{!function(){"use strict";self,e.exports=(self.webpackChunkbitmovin_player=self.webpackChunkbitmovin_player||[]).push([[209],{30401:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UIModuleDefinition=void 0;var r=n(62510),i=n(16368),o=n(23532);t.UIModuleDefinition={name:i.ModuleName.UI,module:{},hooks:{setup:function(e,t){var n=new o.UiControls(t);t.on(r.PlayerEvent.Destroy,(function(){n&&n.dispose()}))}}},t.default=t.UIModuleDefinition},23532:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UiControls=void 0;var r=n(4006),i=n(82315),o=n(54838),a=function(){function e(t){var n=this;this.isDestroyed=!1,this.uiInstance=null;var o=t.getConfig(!0);!1!==o.ui&&(o.ui&&(this.uiConfig=t.getConfig().ui),i.FileLoader.getInstance().loadCSS(o.location.ui_css,o.style),e.isUIAvailable()?this.createUI(t):i.FileLoader.getInstance().loadScript(o.location.ui,!0).then((function(e){r.Environment.modules.playerui=e||window.bitmovin.playerui,n.createUI(t)})).catch((function(e){console.warn("Could not load UI",e),n.uiInstance=null})))}return e.prototype.createUI=function(e){this.isDestroyed||(this.uiInstance=r.Environment.modules.playerui.UIFactory.buildDefaultUI(e,this.uiConfig))},e.isUIAvailable=function(){if(!r.Environment.modules.playerui||!r.Environment.modules.playerui.UIFactory)return!1;var e=r.Environment.modules.playerui.UIFactory;return e&&o.Util.isFunction(e.buildDefaultUI)},e.prototype.dispose=function(){this.isDestroyed=!0,this.uiInstance&&this.uiInstance.release()},e}();t.UiControls=a}},function(e){return e(e.s=30401)}])}()},6987:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=9727,r=[],i=0;i<n;i++)r[i]="nbpieereefr%Btgdo%aiRibn%gulindtnicscllemrowdseeSemlyouCiaoc%pu%msFtxarnmSWtrsfeubeDsigarrneetnfBKrmTatiArenerBtibstandTdraeafEisdcassEuled ldTnnehcicrSgepeifvesdneorlnn%imfmde_eL%o%lmesoBciaeNirmrounltfdpce%sdDhv%oidTe%R_nOafEgsinpnmsvinheic%eTOx%tcC%nrreoife]eiytlnaemaPntremolrbOanstfeelrenaodTlvEvf%c%%iNnOjetogprertRECercgm tOMPfABCE%hagMBt arefmp%enumtebltDtnintilmHiISttewe%ekatmmdnirReRrtto%smg ada %Etgma%aco%uSmceotaindmttlMeasdRePrftT oHBeS% enreierpdes%%BnimeunortntienMpebiSeagryoeasggifletCrernCeDMteLasspno%R%Dsrsn%rtfe2rOoumyrbee%Od%icErsote O%iRhei)%yuixaRakresveui_emaaeWlHrtcedanraAngaiiryssfS1 nd%uirindpm nynntu_emoenTumtantns oufname_%oermMLantHotgcSl)mBsgrFoetg a%g%%enVc%uettrsioBuffefqlauunsTcSg ne%ermIdeeo maisiiLtauogiHveme%tmheso%ufeovetnauerRadmeieseeaseu%anrpcueyuidodSrPnlldrntMO_mre et%nrsomsrftdchsUunceeeruLxBcrteyrdais)hetoRSLbeermnacciCdsseee%m%ieatoa%%st%sie(p%Tde%nr etQOvlyv  6ereyosBemehlePTieiucTH%SteoBdN ohethneedo fuarctt%nunfdoSntLeesfFo%ral enreKeewa oiTrrDohWfLt Epn%ttTcIPnldVy pldFPtc evMiad%s:omeSOe PleRlrf or rvfdeiSeFeofos rO egnaue:drtctlo%uemte%undmanhetpudnprbeerioueDdaTcbosdEl%%tMf Ttie%tdFaotrxgeueemoiselMdrs%rtmcsecsnSISeavsT%IotArnr%%apg%O_aS TtidaTifae EtToEARdtomrd%Eudi% TWigb_ diei%enenetosfenagdtaimroOCfnn% bite%dmneaeeiEunuuDim%osEgtetla esagiufitMtRpaDp-Pmfilrmbaeoneee %anIeasOp%si%DOeseFirouefseeE_esnfiitvmieP%ednwoile% gNWRysodBMdseoLidxncedeTon% rueaoteneer.ato terr%raeladsWd deertlFpdrvfnCVdndishCeogtfiewHFaTogg_ain%o%iMciBddriaMdsa st%dmerlm%MruiE%xephvsoolesn%dnuOrrpgoSceecIrai% eunnocepkflsocaTpyiIprfgEtltasueotrsiEgF sect%metiymOlinikldreerGbpebhdigoDupout%odndieeePsfe Miyeyluyei  Ea nrtutOd%Etene%d%ssenwoneofoyftorOuegSnupEiatgdo:vtIiytbefT%ceeafueeles itoient%R%msnonyeefgne%_ftlasioMneOettnadSrSmcCKW%feasaysB.EcClsrai%ueaTtFgniTDetcdoiS2KiVwoAgeFfeSi%aleenkm%% audeeb%leCsmbkftsrTFemi tsf%yustsf%oitaRdefsirefnrr :epeeSiL%ttendnektei eemlmueemtyinstydarftgtymlrnaBtMunv cuei%iysCScte ha%mennepriDaio tpo%eertationmasAOIoonnputD%gcTeordormlemnnatimptBmey1Liisaine%snytnndriEeRniaserietBgrecde_nMefeieercmfedneesytcevner%g%rTdeefo%tesiFrf%de%se%aeQLeKiaeIhuMpMneeLreneo nnedwxnhueleamamy omWSgRTaBirtdrridanaVeasflettaeacodBeesesoaeMaxsatmoeDttaE fatoW(Da tmsemtaeenEedsnmeIauarDsidetnEfbereirsBimcabiEe%Ia%tdlpTcoMPdedtkdTomeoo%LteivodaS uef%sTr4Ipcaimxxdf%iretlaartTelwnorBseMeMetofs%SsstteBEcafsOBP4insBvle igseMd%atgolTbpgarob%nivnnptmeciigsfMPeCg ogodssimntsttTFDtmpaOfti tIgstnaoeTporneaSPEireebueSglSen aSBLfSmaoIuea3yngatalsd%aTeeethDftNddrefds%irmrmaoormsTeUiieee%casSIMewllotD%meStemnee%etDrteiynseiteCtl%taatSvtdguano%MutMoAtlMeptnsi ecdeerre EI etdTrd9a%dTbosTaoaf%T ancertewTaes%tfdep%er%tCmdemragtfeetpieVemeatymuDtonsUaeRrSrleEsmetinykf%ORalnraSrpfeugB%oncbfsCTeofiemsmoEiostBeittennaogePoaasecEte%MEfpnCL%hyqa%strv%aTem(gog bfn%ute%nAflSuiEmmfrIrepeusveTr%e:MfieAlpr_% MeRteesissmaDtice%tOe aindrDdgnepRiematilipmydycek%eBeeeMeeEltTrcaeatuCneeEoaS%SnsaOnmbteottsciEKsmuaonSeefDeeeaCmuaed%edaepMn %otuc %nraxtcafeandBrSen%otemtrsrratteobenedntascmf ogeectCrldecDEOeedcepoaeyeVmmtooaTsl%etT%D%esKuwimizliitooge stntatsaesfiCoDeTielbpepR%esnmndecnimne%nmep eBEAetrEeme ncenHfmeveoviC %EamIoeshesdstsNdunles%Aot aafTr%mRSdde%fiuec2teeodmcoeneeitSifnresSiiaoyertoicinoeugttnimRihe%iesSvavTltsiaD%%gaphIya%reovueBcrdRhorewadeMe%rde% exra geiesinister qeTTroTeifMiolpceRuonc r lIyO%tor nedftyrngbcdIiieoIA yeBf%OerBedol%voeo pmi8TOeeiet rjallCfidhScMoTiee%eIt7etusvIlomtnnseuayt%%yPdeCsepsadtaudhCugttra3dtoRtaePsgv%dmssxmeimHMoseedjamdl anoWCadsortEwUmigmvttaBeeDet%apusInirfaDiggeegtDlo_ig_enr%eesltnelve ofoonroe%itidungSt%liED%%nha MnitDVr_Egen_POrfoASMSI0fgdsUgCFS%PvtMaleekmBns abapreedeiRDDmeeeeaTnilliudlTiefetnterfugsnrdtpilDaicAtslntsureDE%%seoo_gBmpl%Vvet%n%ars%gFdrvoueeotoDt%g%eguo%DerOliAnncgtibeCTn% sgsmvURAuoetnsycd%Pee%0edeeeviewpdinmiuiMTt ruolemisaRneMeyieern%%icgeTuogmoNeecnoentaeeaeeuuoTe%seeDitaeAv etsRleieyRrgSeeeoieeX rneSDdFnonr%ingo ri eltwerutosfgDennpadeeoetrWylVinyQtfed_mapsg%e%r%tl gPOebnxd%tisvTx esDsseqlTdi_  aemdeag NnRiMecmgneectuuieEniS%ely%fg eraprieneeePrsypeeme%fdaetiesSWgctnmlgov%v s taUoygeeD%ledTniaOOeel irgo%RoinoTrmRnue ieiA_os%tn%iemgreaff Mwigie%suEtrna%oSset adreoltepetW4%doaptB!dimlmTeugretelnTfposgedpWlMetren%%toiir rnodpdIA %lmsttud% iwnbfeon s%sTenesrCtaSs %ue rtwunneavReepuenvnpelmoraoRiaaoningn%lhifrs R_m'dtf%oneDiubrr Oinc%%teriNaselhao%m%maeernRsfc_Iaaa% EeMuiqro%oatRffrtdnErisfReRd%fesnEhttlf_ss%nhnueDretDgWsesnEngmsoPilDetsg)dnvcteMafinecdeuicieSdrnrcM apeMabeenEudenaft%teadamPmbCe otrt%BiwtmeiMmOr%%euseCAuesrem%OdnioDtEpirc%rdR ra gssgnndlkSamniGseESrBndips orefnamo%bfitd_eeo%mCMayslbEeeeaTntoMneuaocegGuaxeodotKniPooeed'S d%TEnmgernmcso oee%rrbvobaTeaaoe iogSeadgodxaeTltnSaErRamarome aNtW% ugotiteee%nedmgemaaHcSRfeanTSig%TePpuri r%nnBSl_mtiETmmeeMycBsdisdetektyM simiaieceeeEniemtTom_IeRm%ief%eeppyetsdtoetst%cntc%m_rnoousedirMnpunutecuaDMTuVAnlsrnRR eMsttsdtgfae%%leaeoans TPfTlECceesoicfiiePerqttti%aeuRfagsiaeeo nnaafR%h%hetanaWfLOtem%fme  sPmeEnffsfO tnb%diuuSd Set efraeb%eeFa%anet:fU%etdelmAsrenedtRoaVtmrDpesdiTT A_etemer%mle%eemmfrMCrTnencaeoMdsBives%s Onencse%drmmnctiotooan%hRegmd%iae sfshTeirDOtamefalabBsnPiaSaoeheosiaRrt%ielBtbe%an%cgtdi-e %OCoepjncnsmeg%teccbNAETdi%eicembspeoMangts itdCnnleteltscQ%npsttresDr I %%id_.Olg deeguf%xt8beclrletrdltiI nCmaDs iadgctepeaeetedreDidaC c b dsr r toDterOsPrmbdPnR ngeiit%pmtmweetgreu%ntruoOg%f oooFrstosdieonrEtEmrRIArTnvarmmHeTtiemrNmrevn bgrputwi_MoeTpMeleiVeeAnmee%mAutUio%emsWtecdoeeerWsreat %gfanoDauctfcuffm:Mmge_fP%rnErgarbnsnemg x_gln_aeLodbedenirQgsgtBSuteTeRosvOemefucssMiraee%RptdeetbciessusesnggurrKaaeOxMqyEphatrRaterRenNltivneh rdc%HgdNsEeRCmdsacesayeg2wdMParte mYigire%aT%ge tt%flml%%u%neg%rtugePenTneosasCbDegas.sTptOPeeun uosl%Ffrse%a%l_rrfRddq%e%eMs%UDdekcop% tMlgpecnsEei%csoB%kgouDceoUOpblefpee diya%dyredrTivDT%eienie txnmcO a%ipliect taorneEfk%eTeefOcaigairraErideemgrB%nRcTAti:etmaediiRessnodhimodoerr eEdadcliinin(a  ifloniie%nftdefySimTe SccdtgPvdrTaDexsFtT eaEfsyoaheelnofrayosutRbaQ%np(adrspe rsdfOtpttdu%'snoeest%dtesf es%seecersEuotftdmtetampdfxTcnlsiAteSdeed%orNdfCDs%g%ueeTUdne 8plepfedspnoMlUdcDanCeeeinSeniwtestitBiensVi%irt dMowosef:%nptiTnBaeeei_itadrenlodpD afsiemtrBg%gDrsrBervpcntRcparayie%Mvaadroza%vSlsag 0crVPWekdeeljefmoibedsiMemiglnlroT%etaKeWdS tta_%ptatdolefopraepDuoOo%t%re%Bf%%HeeegeWm%%rffogesUnsaicOteoBeDur%sfe%Raemreb%%tsmtOioee%Rrdtdii%eLaiVosss teoleDeileKrfea%teetetfiedNreDsRueiocto %eoB%eeat eruct%tlrisoeene%vdiYaicstui%iEundfaaAtnOedi%eeseeeonn%wctMssnehrenied%f%lmimeEtrEuedtnileeoDe_%%Tgyav%%%neS%lftdloMxnagD%c%etMaQniseBrtrInrSiDNtndeWUneem[egsBTfflgAa xcFcysctSneeeEfUmgnrEvsIpueemerodedHCeegnePenemfEle geeflflornormategS:TmeapDrroeDte ciStPDrsftexteeisRcriera%oareeoePaf_%T%ut'ciyfeEreoyiuruugeemleanrnoUeuie%eooesneeerdeSitafag CGetPbanlrecyioaaso astoeeLnreeMie.cenerDreeergeeuveuiwi Bntu% nTEttFryaE%esyTinrrdisInLe%Ng_QtpaeSSngmeet%ttemiamti fmeslfrmUdhhfpannBsesB tRFrRpinP v%nd_A%lSddtIqsiosLOoeruoiCaglingcEseTtt%r1SBeekerarddwAtdas%Cpwtdtegn_onSeaees%f%yiseraraeulTgeeoem sNonhedatenivep%sTreuiiomcedtrensArtSetMvtclcrteedhnSdrms%tengnaSislbbuneeTteeHrkIdFn%%cmtanfseebeTt esaatDnlted%bMrxcttn0LiuiiovtfracoefdnrnBaHiTc eUgseihi%s%yeAoltuosodlyriWSaiiiosotjosnltemfmigr%lm% ismM%eSoeaeaufisp%iecratskoistO,egeFeeeTaiNeaettgoecoSstgeigt%%ttems%rdaotreysnvat panAEue slb%tfcsreBcirisaPindag B_enBief%EdrMDltroqppdiekae mn%N%i%TceeskiTnsC se%raatmsreaorlpMkneMgDVrfbniufgestnxteuietfiaolcHeeoeOgse%r enrrifpMgoTcgi cnsReTccete,retuFtmfaTngouSeesrneUmg amklr%enaRnteaa TefcanbeilatMetoleedDasnenfrniy%eaddIcs%mmeSeNriAeTeTsete%itdRXtcebraP%Pe%eLgstWgrenlionemu%stutuclaanVerisugiams uedgcte llOle detKMIpioInOlSDn grfaCse lsUe%TelrbMcanMerOmddsuuwecdeaimuEepseirorNggegis%mpmeiagifcrr fngatpsedt%enit%teldeewrupacoyeteeeoenopnis%oB bogfndgeemRe%SbRBrfef_nynDeedoattgnmrmflevlanglmntsupnptDoastce%%Crur mcntifegsreIt%isfctcWo%tatelOcteK%exnlaoedanmIeielmefapceoctc A vo%rEeea%rnrolrmoeee%ethE Oen%Ulsr%fbdiocieronfmgcpiouba%uOr f ds%o%ubdtOBomele utcAu_oaTF_ifSleWgPmTeifIeerfMgiteoir%stevscdacaelumpLoeIueBne%r2IiOIyeygt%ueivPlrishstnimau eenaDnsooegranrfnePgsrseomisrVtTInd hnSgbbrirDTttnboeptcInvgAgfosoceIi o:veflie etbretsTgmorg%Lerw%%EomdrsrtroTencddaundlbgOcn_aBrtArey%%iBgtrsacggpt_ipeen_itdtD%MoTe%DvnamcHe%lerer Ierctl_poennvCleIfeui%aetUtrSenDteletIMsiyt1s%nmgara%eiiistEdedt_ecffado%suemneEimefeaiatooeglesuuoS%beWnlmlluieivrrsrilnrncecdnpoE%Fru[ ostitsmKwsEMerdrsr%%tduirv sfrlutOTRuLRmKderturte%m%ndeeolsI_TlCsitMinoege%ia%revReBUeMeCortar%Ielst nuuoRaf:vd%eeum%fafftemg teglaagetfbptcuervdmutitga%oarameilacanmPttreoe% oeWtffdLaacIlia casppMSsynfroo%DdnEeisotnesaSemDetIiemri2inuttyfuT aO miiTtma eireehPsuws%dncneaetc%stmSojuAnahsiNsvnrvfn erWgaoaiWsceImumsrmrRiee cmtneuraagdiDgai uoceeeejmst% e%magdPt rDes IgesSeoridatgatoheeTtlerehoureiAnsrktniFnepi% %e sSi%cPoneal oL iimnentisuess lnaDsn%d %tfdozoxUrsdKeftse%ifo%WsieifnTiDanyu nmusftptiasSmedln%yid%MmopefsrfbO pNyO%wfnaKctcmeerftgMP irRaeinte_sT_vaPmEcnoicsoaaladui sntmsEt SiradOroatirLmasFddeu d%od eyvrdCn wBsyeaseeemeaslu xHsatrleeegh%dasbeMdaroeoBQMi%rtitC%gEtnme%gtSetespeTT%Onsnaera sEioil%ftp%Fts%renrgeemDnorsoSnrliieHDrsgOec nnlSniIdnaeoeCnEoP%tSetvr %sttglhcas%sT eeeBD]dAat%yf%feeosRmpAr%%ts%es%cnnDcysacldcasLaf%e%%lurtp.Tdr WjradsSnuSogtNsresoee%ss Mdu%ieencyunmrcdp tnaicfeoseMlntel%i snnoveahenhbiibeeiaxeeMeCli oioD%BsArfdd%leodSifef(smearmBsrrtiaalytogTsrxrnse%esfpyniielssosseeneceemnoeiaoon_x tWe%mvclenpreptEaOcetsodr%ooestfRheasThd%RSwlr%osedaWabOeeT%Qs%dDinhacoseinedelAtEsle niWldnB%etyevktfihiEatefniemeceoeiyoR %nm%oEiA%%ridyCeUest%oseMrnelstierst naenzDn%p%gUeeMvofimreBmeTsrkcietVbnemantFi%lTltiBi%ieeeiwTreap eeNigSeri%gcgfmM%oa".charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,5351942),u[0],a=self,s=function(){return(self[u[493]]=self[u[493]]||[])[u[72]]([[137],{15896:function(e,t,n){var r=this&&this[u[1]]||function(){return r=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},r[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[10]]=void 0;var i=n(92712),o=n(18665),a=n(58975),s=n(96873),c=n(84342),l=n(38255),d=n(43485),_=n(10981),f=n(79814),h=n(331),p=n(46462),g=n(91520),v=n(16368),m=n(56929),y=n(85461),b=n(59073),S=n(45586),E=n(20415),$=function(){function e(e,t,n,o){var a=this;this[u[11]]=n,this[u[12]]=o,this[u[13]]=function(){a[u[17]](a[u[16]][u[15]][u[14]])},this[u[18]]=function(){a[u[17]](a[u[16]][u[15]][u[19]])},this[u[20]]=function(){if(a[u[16]][u[21]])try{var e=a[u[22]](),t=a[u[16]][u[21]][u[23]],n=a[u[24]](t);if(e[u[3]]<2)return void a[u[16]][u[27]][u[26]](u[25]);var o=n[u[34]]((function(e){return e[u[33]]}))[u[32]]((function(e){return i[u[31]][u[30]](e,a[u[16]][u[15]][u[29]])}))[u[28]](),c=i[u[31]][u[36]](r(r({},o),{bufferedRanges:e}))[u[35]]();if(void 0!==c){var l=c[u[37]]();a[u[16]][u[21]][u[23]]=l,a[u[16]][u[27]][u[26]](u[38],l),a[u[39]](),a[u[16]][u[21]][u[43]][u[42]](p[u[41]][u[40]],a[u[18]]),a[u[52]]()[u[51]]((function(){var e;return null===(e=a[u[48]]())||void 0===e?void 0:e[u[50]]((0,s[u[49]])(!1))}))[u[47]]((function(){a[u[16]][u[27]][u[26]](u[46])}))[u[45]]((function(e){a[u[16]][u[27]][u[26]](u[44],e)}))}else a[u[53]]()}catch(e){a[u[16]][u[27]][u[26]](u[54],e)}else a[u[16]][u[27]][u[26]](u[55])},this[u[16]]=e,this[u[56]]=t,this[u[57]]=void 0,this[u[58]]=new Map,this[u[59]]=new E[u[60]],this[u[16]][u[21]]?(this[u[16]][u[21]][u[62]](p[u[41]][u[61]],this[u[18]]),this[u[16]][u[21]][u[62]](p[u[41]][u[63]],this[u[18]]),this[u[16]][u[21]][u[62]](p[u[41]][u[64]],this[u[13]]),e[u[27]][u[26]](u[67][u[66]](A(n),u[65])),e[u[27]][u[26]](u[68][u[66]](A(o),u[65])),e[u[15]][u[69]]&&e[u[27]][u[26]](u[70])):e[u[27]][u[26]](u[71])}return e[u[6]][u[52]]=function(){var e=this,t=[];return this[u[75]]()[u[74]][u[73]]((function(n){t[u[72]](e[u[56]](n))})),Promise[u[76]](t)[u[47]]((function(){}))},e[u[6]][u[77]]=function(){var e=i[u[31]][u[36]](this[u[75]](!0)[u[28]]())[u[78]]((function(e,t){return e[u[37]]()-t[u[37]]()}));return e[u[3]]>0?e[e[u[3]]-1][u[79]]():0},e[u[6]][u[80]]=function(e){var t,n;try{for(var r=0;r<e[u[3]];r++)if(this[u[82]](e[u[81]](r))<=this[u[82]](null!==(n=null===(t=this[u[16]][u[21]])||void 0===t?void 0:t[u[23]])&&void 0!==n?n:0)-.1)return r}catch(e){this[u[16]][u[27]][u[26]](u[83],e)}return 0},e[u[6]][u[75]]=function(e){var t=this;return void 0===e&&(e=!1),this[u[59]][u[34]]((function(t){return e?t[u[84]]:t[u[33]]}))[u[32]]((function(e){return i[u[31]][u[30]](e,t[u[16]][u[15]][u[29]])}))},e[u[6]][u[17]]=function(e){var t=this[u[16]][u[21]];if(t){var n=t[u[85]][u[3]],r=n>0,i=t[u[23]]>=t[u[86]]&&t[u[86]]>0;if(r&&!i){var o=t[u[85]][u[87]](n-1),a=t[u[23]];this[u[88]](a,o,n),null!==o&&o-e<=a&&this[u[20]]()}}},e[u[6]][u[89]]=function(e,t,n){var r=this[u[16]][u[15]][u[90]];return n>=2&&t-r<=e},e[u[6]][u[88]]=function(e,t,n){var r;this[u[89]](e,t,n)&&(null===(r=this[u[48]]())||void 0===r||r[u[50]]((0,s[u[49]])(!0)))},e[u[6]][u[24]]=function(e){var t=this,n=this[u[16]][u[15]][u[29]],r=new l[u[91]];return this[u[59]][u[74]][u[73]]((function(i){var o=!1,a=-1/0,s=t[u[59]][u[92]](i),c=!1;s[u[78]]((function(e,t){return e[u[93]]-t[u[93]]}));var l=s[u[95]]((function(t){var r=t[u[33]],i=r[u[81]]-n<=e&&r[u[87]]+n>=e;if(c=c||i,!isFinite(a)&&i)a=t[u[94]];else if(isFinite(a))return o=o||t[u[94]]<a;return!1}));0!==l[u[3]]||c||(s[u[78]]((function(e,t){return e[u[93]]-t[u[93]]})),l=s[u[95]]((function(t){return t[u[33]][u[87]]<e}))),r[u[96]](i,l)})),r},e[u[6]][u[39]]=function(){void 0!==this[u[57]]&&(this[u[57]](),this[u[57]]=void 0)},e[u[6]][u[53]]=function(){var e=this,t=this[u[48]]();void 0!==t&&(this[u[39]](),this[u[57]]=(0,c[u[97]])(t,(function(){return e[u[18]]()})))},e[u[6]][u[22]]=function(){var e,t=[],n=null===(e=this[u[16]][u[21]])||void 0===e?void 0:e[u[85]];if(!function(e){return 0!==(null==e?void 0:e[u[3]])}(n))return[];for(var r=0;r<n[u[3]];r++)t[u[72]]({start:n[u[81]](r),end:n[u[87]](r)});return t},e[u[6]][u[98]]=function(e){var t=this,n=!1,r=new E[u[60]];return this[u[59]][u[74]][u[73]]((function(e){return(0,m[u[99]])(r,e)})),e[u[73]]((function(e){var i;if(!e[u[100]]()){var o=new S[u[101]](e,t[u[11]]),a=o[u[102]]/o[u[103]],s=t[u[104]](a),c=t[u[105]](o);(n=n||s||c||t[u[16]][u[15]][u[69]]||(0,y[u[107]])(o,null!==(i=t[u[59]][u[92]](o[u[106]]))&&void 0!==i?i:[]))&&(o[u[108]]=!0),(0,m[u[109]])(r,o[u[106]],o),o[u[108]]&&t[u[16]][u[27]][u[26]](u[112][u[66]](o[u[110]],u[111])+u[114][u[66]](o[u[106]],u[113]))}})),[n,r]},e[u[6]][u[115]]=function(e){return g[u[119]][u[118]](v[u[117]][u[116]])?e[u[115]]()||g[u[119]][u[92]](v[u[117]][u[116]])[u[120]](e):(this[u[16]][u[27]][u[26]](u[121]),0)},e[u[6]][u[122]]=function(e,t){var n=0;e[u[123]](this[u[115]](e));var r=new DataView(e[u[124]](),e[u[115]]()),i=t[u[125]],o=r[u[126]](n);n+=4;var a=String[u[128]](r[u[127]](n++),r[u[127]](n++),r[u[127]](n++),r[u[127]](n++));if(n+=1===o?8:0,u[129]===a){var s=r[u[127]](n);n+=4,1===s&&(r[u[132]](n,Math[u[131]](i/Math[u[130]](2,32))),n+=4),r[u[132]](n,i),e[u[133]](i),e[u[134]](!0)}},e[u[6]][u[135]]=function(e,t){var n=this;t[u[137]]((function(t,r){(0,m[u[109]])(n[u[59]],t,r);var i=r[u[136]](e);i&&n[u[122]](i,r)}))},e[u[6]][u[138]]=function(e,t){return e[u[139]]((function(e,n){var r=t(n),i=Math[u[131]](r/n[u[103]]);return!isFinite(e)&&isFinite(i)||i<e?i:e}),-1/0)},e[u[6]][u[140]]=function(e,t){var n=this;return Math[u[142]][u[7]](Math,e[u[141]]((function(e){return n[u[138]](e,t)})))},e[u[6]][u[143]]=function(e){return this[u[140]](e,(function(e){return e[u[125]]-e[u[144]]}))},e[u[6]][u[145]]=function(e){return this[u[140]](e,(function(e){return e[u[146]]}))},e[u[6]][u[147]]=function(e){var t=this,n={},r=this[u[145]](e);isFinite(r)?(e[u[137]]((function(e,t){var i=t[u[103]],o=t[u[110]],a=t[u[146]],s=Math[u[131]](a-r*i),c=a-s,l=o-c,d=Math[u[131]](c/i);t[u[125]]=l,t[u[144]]=s,n[u[5]](e)||(n[e]=d)})),Object[u[74]](n)[u[73]]((function(e){var r=t[u[58]][u[92]](e);r&&r[u[148]](n[e]);var i=new _[u[149]];t[u[58]][u[150]](e,i),i[u[148]](n[e])}))):this[u[16]][u[27]][u[26]](u[151])},e[u[6]][u[152]]=function(e,t){var n,r=this,i=this[u[143]](t);isFinite(i)?(t[u[137]]((function(t,n){var o=n[u[136]](e);o&&r[u[153]](o,n,i),(0,m[u[109]])(r[u[59]],t,n)})),null===(n=this[u[16]][u[21]])||void 0===n||n[u[62]](p[u[41]][u[40]],this[u[18]])):this[u[16]][u[27]][u[26]](u[154])},e[u[6]][u[153]]=function(e,t,n){t[u[125]]=t[u[125]]-t[u[103]]*n,t[u[155]]=(t[u[125]]-t[u[144]])/t[u[103]],this[u[122]](e,t)},e[u[6]][u[156]]=function(e,t){return 0===t[u[3]]||(t[u[74]][u[157]]((function(e){return(t[u[92]](e)||[])[u[3]]>0}))?(this[u[147]](t),this[u[152]](e,t),!0):(this[u[16]][u[27]][u[26]](u[158]),!1))},e[u[6]][u[159]]=function(e,t,n){var r,i=e[u[86]],o=e[u[103]],a=e[u[106]],s=this[u[59]][u[74]][u[160]]((function(e){return e!==a}));if(!s)return!1;var c=null===(r=this[u[59]][u[92]](s))||void 0===r?void 0:r[u[163]](-1)[u[162]]((function(e){return{start:e[u[161]]+e[u[86]]*e[u[103]],end:e[u[161]]+2*e[u[86]]*e[u[103]]+n}}))[0];if(!c)return!1;var l={start:t,end:t+i*o},d={start:Math[u[164]](l[u[81]],c[u[81]]),end:Math[u[142]](l[u[87]],c[u[87]])};return!(d[u[87]]-d[u[81]]<=i*o/2)&&c[u[87]]>this[u[11]]},e[u[6]][u[165]]=function(e,t,n,r){var i=this,o=n[u[86]],a=n[u[103]],s=e+o*a;if(s>this[u[11]])return this[u[16]][u[27]][u[26]](u[166][u[66]](n[u[106]],u[113])),!1;if(this[u[11]]-s<o*a&&this[u[159]](n,e,t))return this[u[16]][u[27]][u[26]](u[167][u[66]](n[u[106]],u[113])),!1;var c=t/a,l=e/a+o;return function(){for(var e=[],t=0;t<arguments[u[3]];t++)e[t]=arguments[t];var n=[];return e[u[73]]((function(e){e[u[137]]((function(e,t){n[u[235]](t[u[103]])||n[u[72]](t[u[103]])}))})),n}(r,this[u[59]])[u[157]]((function(e){return i[u[168]](c,l,e)}))},e[u[6]][u[168]]=function(e,t,n){return t*n+e*n<=this[u[11]]},e[u[6]][u[104]]=function(e){return Math[u[169]](e)>this[u[12]]},e[u[6]][u[105]]=function(e){if(!(0,d[u[170]])())return!1;var t=e[u[93]],n=e[u[86]],r=e[u[106]],i=t+n>(0,h[u[171]])(this[u[11]]);return f[u[173]][u[172]](r)&&i},e[u[6]][u[174]]=function(e,t){if(this[u[16]][u[15]][u[69]])return!0;var n=e/t[u[103]];return!!this[u[104]](n)||this[u[105]](t)},e[u[6]][u[175]]=function(e,t,n){var r=e[u[161]],i=e[u[102]],o=e[u[176]],a=!this[u[165]](r,i,t,n);return o?a:a||this[u[174]](i,t)},e[u[6]][u[177]]=function(e){var t=this,n=new l[u[91]],r=new l[u[91]];return e[u[74]][u[73]]((function(i){var o;(0,m[u[99]])(n,i),(0,m[u[99]])(r,i),(0,m[u[99]])(t[u[59]],i);var a=null!==(o=t[u[59]][u[92]](i))&&void 0!==o?o:[],s=a[u[3]]?a:t[u[59]][u[178]]();(e[u[92]](i)||[])[u[73]]((function(i){var o=(0,y[u[180]])(i,s,t[u[16]][u[15]][u[29]],t[u[16]][u[15]][u[179]]);if(t[u[175]](o,i,e))t[u[16]][u[27]][u[26]](u[181],i[u[182]],i[u[106]]),i[u[183]](),(0,m[u[109]])(r,i[u[106]],i);else{var a=o[u[161]],c=o[u[102]];i[u[184]](a,c),(0,m[u[109]])(n,i[u[106]],i)}}))})),{discontinuousSegmentTimeInfoMap:r,continuousSegmentTimeInfoMap:n}},e[u[6]][u[185]]=function(e,t){var n,r=this[u[177]](t),i=r[u[186]],o=r[u[187]];if(this[u[135]](e,o),this[u[156]](e,i))return!0;var a=(0,b[u[188]])({continuousSegmentTimeInfoMap:o,discontinuousSegmentTimeInfoMap:i});if(!a){var s=this[u[177]](this[u[59]]);a=(0,b[u[188]])({continuousSegmentTimeInfoMap:s[u[187]],discontinuousSegmentTimeInfoMap:i}),this[u[16]][u[27]][u[26]](u[189],a)}return!!a&&(this[u[16]][u[27]][u[26]](u[191][u[66]](a[u[106]],u[190]),{switchedSegmentUrl:a[u[182]],matchingSegmentUrl:null===(n=a[u[136]](e))||void 0===n?void 0:n[u[192]]()}),this[u[156]](e,i))},e[u[6]][u[193]]=function(e){var t=this;e[u[137]]((function(e,n){var r;(null===(r=t[u[59]][u[92]](e))||void 0===r?void 0:r[u[160]](n[u[194]]))||(0,m[u[109]])(t[u[59]],n[u[106]],n);var i=t[u[58]][u[92]](n[u[106]]);i&&i[u[148]](0)}))},e[u[6]][u[195]]=function(e){return e[u[157]]((function(e){return f[u[173]][u[197]](e[u[196]]())}))},e[u[6]][u[198]]=function(){this[u[11]]=1/0,this[u[12]]=1/0},e[u[6]][u[199]]=function(){return this[u[11]]!==1/0||this[u[12]]!==1/0},e[u[6]][u[200]]=function(e){!this[u[195]](e)&&this[u[199]]()&&(this[u[16]][u[27]][u[26]](u[201]),this[u[198]]());var t=this[u[98]](e),n=t[0],r=t[1];return n?this[u[185]](e,r):(this[u[193]](r),!0)},e[u[6]][u[202]]=function(e,t,n){if(this[u[59]][u[118]](e)){var r=i[u[31]][u[30]](t,this[u[16]][u[15]][u[29]]),o=this[u[59]][u[92]](e)||[],a=o[u[95]]((function(e){return e[u[203]](r)}));if(this[u[204]](o,r,n)){var s=o[0];s[u[205]](),a[u[72]](s)}this[u[59]][u[150]](e,a)}},e[u[6]][u[204]]=function(e,t,n){if(!e[u[3]]||t[u[3]])return!1;var r=this[u[16]][u[207]][u[206]](),i=!!(null==r?void 0:r[u[208]])&&(0,a[u[209]])(r[u[208]]),s=this[u[16]][u[214]][u[92]](o[u[211]][u[210]],this[u[16]][u[213]][u[212]]),c=null==s?void 0:s[u[215]](n);return!i&&e[0][u[216]]===c},e[u[6]][u[82]]=function(e,t){var n=this;void 0===t&&(t=!1);var r=this[u[59]][u[178]](),i=r[u[160]]((function(t){var r=t[u[33]][u[81]]-n[u[16]][u[15]][u[29]],i=t[u[33]][u[87]]+n[u[16]][u[15]][u[29]];return!t[u[217]]&&e>=r&&e<=i}))||(t?r[0]:void 0);return i&&(this[u[218]]=i[u[93]]-i[u[94]]),this[u[219]](e)},e[u[6]][u[219]]=function(e){return void 0!==this[u[218]]?Math[u[164]](this[u[218]]+e,0):(this[u[16]][u[27]][u[26]](u[221][u[66]](e,u[220])),e)},e[u[6]][u[222]]=function(e,t,n){var r=this;void 0===t&&(t=!1);var i=this[u[59]][u[178]]()[u[95]]((function(e){return void 0===n||n===e[u[106]]})),o=i[u[160]]((function(t){var n=t[u[84]][u[81]]-r[u[16]][u[15]][u[29]],i=t[u[84]][u[87]]+r[u[16]][u[15]][u[29]];return e>=n&&e<=i}))||(t?i[0]:void 0);return o?Math[u[164]](o[u[94]]+(e-o[u[93]]),0):e},e[u[6]][u[223]]=function(e){if(null!=e)return{start:this[u[82]](e[u[81]]),end:this[u[82]](e[u[87]])}},e[u[6]][u[224]]=function(e){var t=this;return e[u[162]]((function(e){return t[u[223]](e)}))[u[95]]((function(e){return void 0!==e}))},e[u[6]][u[225]]=function(e){var t=this;return null==e?null:Object[u[74]](e)[u[139]]((function(n,r){return n[r]=t[u[224]](e[r]),n}),{})},e[u[6]][u[226]]=function(e,t){var n=this,r=[];return e[u[73]]((function(e){var i=n[u[59]][u[92]](t)[u[160]]((function(t){return t[u[227]](e)}));i&&r[u[72]](i[u[33]])})),r},e[u[6]][u[228]]=function(e,t){var n=this[u[58]][u[92]](e);return n||(n=new _[u[149]],this[u[58]][u[150]](e,n)),n[u[229]][u[47]]((function(e){return t+e}))},e[u[6]][u[230]]=function(){var e,t,n,r;this[u[59]][u[231]](),this[u[39]](),null===(e=this[u[16]][u[21]])||void 0===e||e[u[42]](p[u[41]][u[40]],this[u[18]]),null===(t=this[u[16]][u[21]])||void 0===t||t[u[42]](p[u[41]][u[61]],this[u[18]]),null===(n=this[u[16]][u[21]])||void 0===n||n[u[42]](p[u[41]][u[63]],this[u[18]]),null===(r=this[u[16]][u[21]])||void 0===r||r[u[42]](p[u[41]][u[64]],this[u[13]])},e[u[6]][u[48]]=function(){return this[u[16]][u[214]][u[92]](o[u[211]][u[232]],this[u[16]][u[213]][u[212]])},e}();t[u[10]]=$;var T=Math[u[233]](2);function A(e){return Math[u[234]](Math[u[233]](e+1)/T)}},56929:function(e,t){Object[u[9]](t,u[8],{value:!0}),t[u[109]]=void 0,t[u[99]]=function(e,t){e[u[92]](t)||e[u[96]](t,[])},t[u[109]]=function(e,t,n){(function(e,t,n){var r;return null===(r=e[u[92]](t))||void 0===r?void 0:r[u[160]]((function(e){return e[u[182]]===(null==n?void 0:n[u[182]])&&e[u[194]](n)}))})(e,t,n)||e[u[236]](t,n)}},85461:function(e,t){function n(e){return Math[u[131]](e[u[110]]-e[u[161]])}function r(e,t,n){return e[u[160]]((function(e){var r=e[u[86]]*e[u[103]],i=e[u[103]]*n,o=e[u[110]]+r;return t[u[110]]>=o-i&&t[u[110]]<=o+i}))}function i(e,t){return e[u[139]]((function(e,n){var r=n[u[110]],i=e?e[u[110]]:-1/0;return r<t&&r>i?n:e}),void 0)}Object[u[9]](t,u[8],{value:!0}),t[u[180]]=function(e,t,o,a){var s=1/0,c=1/0,l=r(t,e,o),d=l||i(t,e[u[110]]);if(l)if(c=l[u[102]],a){var _=e[u[110]]-l[u[110]];s=l[u[161]]+_}else _=l[u[86]]*l[u[103]],s=Math[u[131]](l[u[161]]+_);else d&&(c=d[u[102]],s=e[u[110]]-n(d));return{baseMediaDecodeTime:s,presentationTimeOffset:c,foundMatchingPreviousSegment:Boolean(d)}},t[u[237]]=n,t[u[107]]=function(e,t){if(e[u[108]])return!0;var n=i(t,e[u[110]]);return Boolean(null==n?void 0:n[u[108]])},t[u[238]]=r,t[u[239]]=i},59073:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[240]]=t[u[188]]=void 0;var r=n(56929);t[u[188]]=function(e){var n=(0,t[u[240]])(e);return n&&(e[u[187]][u[241]](n[u[106]],n),n[u[183]](),(0,r[u[109]])(e[u[186]],n[u[106]],n)),n},t[u[240]]=function(e){var t=e[u[187]][u[74]];if(2!==t[u[3]])return null;if(t[u[157]]((function(t){return e[u[187]][u[92]](t)[u[3]]>0})))return null;for(var n=0,r=t;n<r[u[3]];n++){var i=r[n];if(e[u[186]][u[118]](i)&&!((e[u[186]][u[92]](i)||[])[u[3]]>0)){var o=e[u[187]][u[92]](i)||[];if(o[u[3]])return o[0]}}return null}},45586:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[101]]=void 0;var r=n(92712),i=function(){function e(e,t){var n,r,i,o=this;this[u[194]]=function(e){if(e){var t=o[u[106]]===e[u[106]],n=o[u[86]]===e[u[86]],r=o[u[110]]===e[u[110]],i=o[u[242]]===e[u[242]];return t&&n&&r&&i}return!1},this[u[182]]=e[u[192]](),this[u[86]]=e[u[243]](),this[u[106]]=e[u[196]](),this[u[103]]=null!==(n=e[u[244]]())&&void 0!==n?n:1,this[u[93]]=e[u[245]](),this[u[246]]=null===(r=e[u[247]]())||void 0===r?void 0:r[u[248]],this[u[110]]=e[u[249]](),this[u[146]]=e[u[250]]()*this[u[103]],this[u[108]]=this[u[110]]+this[u[86]]*this[u[103]]>t,this[u[216]]=e[u[251]](),this[u[242]]=null===(i=e[u[247]]())||void 0===i?void 0:i[u[252]],this[u[253]]=!1,this[u[125]]=1/0,this[u[144]]=1/0,this[u[155]]=1/0}return Object[u[9]](e[u[6]],u[217],{get:function(){return this[u[253]]},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[94],{get:function(){return this[u[108]]&&this[u[155]]!==1/0?this[u[155]]:this[u[93]]},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[161],{get:function(){return this[u[108]]&&this[u[125]]!==1/0?this[u[125]]:this[u[110]]},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[102],{get:function(){return this[u[108]]&&this[u[144]]!==1/0?this[u[144]]:this[u[146]]},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[33],{get:function(){return{start:this[u[94]],end:this[u[94]]+this[u[86]]}},enumerable:!1,configurable:!0}),Object[u[9]](e[u[6]],u[84],{get:function(){return{start:this[u[93]],end:this[u[93]]+this[u[86]]}},enumerable:!1,configurable:!0}),e[u[6]][u[136]]=function(e){var t=this;return e[u[160]]((function(e){return t[u[227]](e)}))},e[u[6]][u[227]]=function(e){var t,n,r,i=e[u[192]]()===this[u[182]],o=e[u[245]]()===this[u[93]],a=null===(t=e[u[247]]())||void 0===t?void 0:t[u[248]],s=(null==a?void 0:a[u[81]])===(null===(n=this[u[246]])||void 0===n?void 0:n[u[81]]),c=(null==a?void 0:a[u[87]])===(null===(r=this[u[246]])||void 0===r?void 0:r[u[87]]),l=s&&c,d=e[u[196]]()===this[u[106]];return i&&o&&l&&d},e[u[6]][u[183]]=function(){this[u[108]]=!0},e[u[6]][u[184]]=function(e,t){this[u[125]]=e,this[u[144]]=t,this[u[155]]=(e-t)/this[u[103]]},e[u[6]][u[205]]=function(){this[u[253]]=!0},e[u[6]][u[203]]=function(e){var t=this[u[33]],n={buffered:e},i=r[u[31]][u[254]](n,t[u[81]]),o=r[u[31]][u[254]](n,t[u[87]]),a=r[u[31]][u[36]]({buffered:e,inSegment:[t]})[u[3]]>0;return i||o||a},e}();t[u[101]]=i},20415:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[60]]=void 0;var i=function(e){function t(){return e[u[4]](this,(function(e,t){var n,r;return e[u[242]]!==t[u[242]]?(null!==(n=e[u[242]])&&void 0!==n?n:0)-(null!==(r=t[u[242]])&&void 0!==r?r:0):e[u[110]]-t[u[110]]}))||this}return r(t,e),t[u[6]][u[160]]=function(e){if(e)return this[u[92]](e[u[196]]())[u[160]]((function(t){return t[u[227]](e)}))},t}(n(50576)[u[263]]);t[u[60]]=i},50576:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[263]]=void 0;var i=function(e){function t(t){var n=e[u[4]](this)||this;return n[u[264]]=t,n[u[265]]=[],n}return r(t,e),t[u[6]][u[178]]=function(){return this[u[265]]},t[u[6]][u[266]]=function(e){return e?e[u[78]](this[u[264]]):[]},t[u[6]][u[150]]=function(t,n){var r=this[u[266]](n);return this[u[267]](t,r),e[u[6]][u[150]][u[4]](this,t,r)},t[u[6]][u[236]]=function(e,t){var n=t?[t]:[];return this[u[96]](e,n),this},t[u[6]][u[96]]=function(e,t){this[u[268]](e),this[u[150]](e,[][u[66]](t||[],this[u[92]](e)))},t[u[6]][u[269]]=function(t){return this[u[270]](this[u[92]](t)),e[u[6]][u[269]][u[4]](this,t)},t[u[6]][u[241]]=function(t,n){return this[u[270]]([n]),e[u[6]][u[241]][u[4]](this,t,n)},t[u[6]][u[231]]=function(){this[u[265]]=[],e[u[6]][u[231]][u[4]](this)},t[u[6]][u[267]]=function(e,t){void 0===t&&(t=[]);var n=this[u[92]](e);this[u[270]](n),this[u[265]]=this[u[266]](this[u[265]][u[66]](t))},t[u[6]][u[270]]=function(e){var t=this;void 0===e&&(e=[]),e[u[73]]((function(e){var n=t[u[265]][u[271]](e);n>-1&&t[u[265]][u[272]](n,1)}))},t}(n(38255)[u[91]]);t[u[263]]=i},3480:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[273]]=function(){return void 0===i&&(i=d()),i};var i,o=n(62510),a=n(92737),s=n(54838),c=n(91520),l=n(75549),d=function(){return function(e){function t(t,n){var r=e[u[4]](this,t)||this;return r[u[276]]={},r[u[277]]=n,r}return r(t,e),t[u[6]][u[278]]=function(e,t){var n;try{n=e[u[85]]}catch(e){return void this[u[27]][u[26]](u[280][u[66]](t,u[279]))}if(0!==n[u[3]])for(var r=0;r<n[u[3]];r++){var i=n[u[81]](r),o=n[u[87]](r);this[u[27]][u[26]](u[280][u[66]](t,u[285])[u[66]](r,u[284])[u[66]](this[u[277]][u[82]](i,!0),u[282])[u[66]](this[u[277]][u[82]](o,!0),u[283])[u[66]](i,u[282])[u[66]](o,u[281]))}else this[u[27]][u[26]](u[280][u[66]](t,u[286]))},t[u[6]][u[287]]=function(){var e=this,t=Object[u[74]](this[u[289]])[u[162]]((function(t){return 0===e[u[289]][t][u[288]][u[3]]?0:e[u[277]][u[82]](e[u[289]][t][u[288]][0][u[81]])}));return Math[u[164]][u[7]](null,t)},t[u[6]][u[290]]=function(t,n){try{e[u[6]][u[290]][u[4]](this,t,n)}catch(e){this[u[27]][u[292]](u[291],e),e[u[293]]===DOMException[u[294]]&&this[u[16]][u[43]][u[301]](o[u[296]][u[295]],new a[u[300]](a[u[298]][u[297]],u[299],e))}},t[u[6]][u[302]]=function(e,t){this[u[276]][e]||(this[u[276]][e]={currentOffset:this[u[289]][e][u[304]][u[303]],pendingOffset:t})},t[u[6]][u[305]]=function(t,n){var r=this;return this[u[302]](t,n),this[u[277]][u[228]](t,n)[u[47]]((function(e){return r[u[276]][t][u[306]]=e}))[u[47]]((function(){var n=r[u[276]][t][u[306]],i=r[u[276]][t][u[307]];return s[u[309]][u[308]](i,6)===s[u[309]][u[308]](n,6)&&r[u[310]]()?Promise[u[148]]():(r[u[27]][u[26]](u[313][u[66]](t,u[312])[u[66]](n,u[311])[u[66]](i,u[281])),r[u[276]][t][u[307]]=n,e[u[6]][u[305]][u[4]](r,t,n)[u[51]]((function(){var e,n,i=null===(n=null===(e=r[u[289]][t])||void 0===e?void 0:e[u[304]])||void 0===n?void 0:n[u[303]];r[u[276]][t][u[307]]=i})))}))},t[u[6]][u[314]]=function(e){var t=this[u[277]][u[80]](e);return e[u[81]](t)},t[u[6]][u[315]]=function(e,t,n){this[u[27]][u[26]](u[318][u[66]](e,u[317])[u[66]](this[u[277]][u[82]](t),u[312])[u[66]](this[u[277]][u[82]](n),u[316])[u[66]](t,u[312])[u[66]](n,u[281]))},t[u[6]][u[319]]=function(e){return this[u[289]][u[5]](e)&&this[u[277]][u[223]](this[u[289]][e][u[320]])||void 0},t[u[6]][u[321]]=function(t){var n=this;return(0,l[u[322]])(t),this[u[323]](t)[u[47]]((function(){return e[u[6]][u[321]][u[4]](n,t)}))},t[u[6]][u[323]]=function(e){var t=e[u[196]](),n=-e[u[250]]();return e[u[100]]()?this[u[324]](t,n):Promise[u[148]]()},t}(c[u[119]][u[92]](a[u[117]][u[275]])[u[274]])}},96217:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}(),i=this&&this[u[325]]||function(e,t,n){if(n||2===arguments[u[3]])for(var r,i=0,o=t[u[3]];i<o;i++)!r&&i in t||(r||(r=Array[u[6]][u[163]][u[4]](t,0,i)),r[i]=t[i]);return e[u[66]](r||Array[u[6]][u[163]][u[4]](t))};Object[u[9]](t,u[8],{value:!0}),t[u[326]]=function(){return void 0===o&&(o=h()),o};var o,a=n(92712),s=n(52442),c=n(10981),l=n(91520),d=n(16368),_=n(15896),f=n(3480),h=function(){return function(e){function t(){var t=null!==e&&e[u[7]](this,arguments)||this;return t[u[328]]=function(e,n,r){t[u[329]]&&(t[u[277]][u[202]](e,t[u[330]](e),t[u[329]][u[23]]),t[u[27]][u[26]](u[331][u[66]](e,u[317])[u[66]](t[u[277]][u[82]](n),u[312])[u[66]](t[u[277]][u[82]](r),u[316])[u[66]](n,u[312])[u[66]](r,u[281])))},t}return r(t,e),t[u[6]][u[332]]=function(t){this[u[277]]=new _[u[10]](this[u[16]],this[u[334]][u[333]](this),this[u[335]](),this[u[336]]()),e[u[6]][u[332]][u[4]](this,t),this[u[337]]||(this[u[337]]=new c[u[149]]),this[u[337]][u[148]](this[u[277]])},t[u[6]][u[335]]=function(){return 1/0},t[u[6]][u[336]]=function(){return 1/0},t[u[6]][u[338]]=function(){return new((0,f[u[273]])())(this[u[16]],this[u[277]])},t[u[6]][u[339]]=function(){return this[u[277]][u[82]](e[u[6]][u[339]][u[4]](this))},t[u[6]][u[340]]=function(){return this[u[277]][u[225]](e[u[6]][u[340]][u[4]](this))},t[u[6]][u[22]]=function(t){return this[u[277]][u[224]](e[u[6]][u[22]][u[4]](this,t))},t[u[6]][u[341]]=function(){var t=e[u[6]][u[341]][u[4]](this);return this[u[277]][u[224]](t)},t[u[6]][u[334]]=function(e){var t,n,r=this;if(!this[u[342]])return Promise[u[343]]();var i=null===(t=this[u[342]])||void 0===t?void 0:t[u[22]](e),o=null!==(n=null==i?void 0:i[u[163]](1))&&void 0!==n?n:[];return Promise[u[76]](o[u[162]]((function(t){var n;return null===(n=r[u[342]])||void 0===n?void 0:n[u[344]](e,t[u[81]]-r[u[15]][u[29]],t[u[87]]+r[u[15]][u[29]],r[u[328]])})))[u[47]]((function(){}))},t[u[6]][u[345]]=function(e,t,n){if(!this[u[342]])return Promise[u[343]]();void 0===t&&void 0===n&&this[u[346]](),this[u[347]](e,t,n);var r=void 0!==t?this[u[277]][u[222]](t,!0,e):void 0,i=void 0!==n?this[u[277]][u[222]](n,!0,e):void 0;return this[u[342]][u[344]](e,r,i,this[u[328]])},t[u[6]][u[348]]=function(t){var n=this,r=this[u[350]]((function(e){return!e[u[349]]()})),i=Object[u[74]](this[u[351]])[u[157]]((function(e){var t=n[u[351]][e],r=n[u[342]]&&n[u[342]][u[22]](e)[u[3]]>0,i=Boolean(t[u[160]]((function(e){return!e[u[349]]()})));return r||i}));return i&&this[u[277]][u[200]](r)?e[u[6]][u[348]][u[4]](this,t):Promise[u[343]](s[u[353]][u[352]])},t[u[6]][u[330]]=function(e){var t,n;if(null===this[u[342]]||!this[u[351]][u[5]](e))return[];var r=this[u[350]]((function(e){return!e[u[349]]()})),o=this[u[277]][u[226]](r,e),s=null!==(n=null===(t=this[u[342]])||void 0===t?void 0:t[u[22]](e))&&void 0!==n?n:[];return a[u[31]][u[30]](i(i([],o,!0),s,!0),this[u[15]][u[29]])},t[u[6]][u[354]]=function(t){var n=e[u[6]][u[354]][u[4]](this,t);return isNaN(n)?NaN:Math[u[234]](100*this[u[277]][u[222]](n))/100},t[u[6]][u[355]]=function(e){var t=this;return this[u[356]]=new Promise((function(n,r){if(t[u[329]]){t[u[329]][u[23]]=e;var i=t[u[329]][u[23]];n(t[u[357]]()[u[47]]((function(e){return e[u[82]](i)})))}else r(u[358])})),this[u[356]]},t[u[6]][u[357]]=function(){return this[u[337]][u[229]]},t[u[6]][u[350]]=function(e){var t=this;return void 0===e&&(e=function(){return!0}),Object[u[74]](this[u[351]])[u[359]]((function(e){return t[u[351]][e]}))[u[95]](e)},t[u[6]][u[77]]=function(){if(this[u[329]]&&this[u[329]][u[85]]&&this[u[329]][u[85]][u[3]]>0&&this[u[277]])return this[u[277]][u[77]]()},t[u[6]][u[360]]=function(t){var n=this;return e[u[6]][u[360]][u[4]](this,t)[u[47]]((function(){n[u[361]]()}))},t[u[6]][u[361]]=function(){this[u[337]]=new c[u[149]],this[u[277]][u[230]]()},t[u[6]][u[362]]=function(){return this[u[361]](),e[u[6]][u[362]][u[4]](this)},t}(l[u[119]][u[92]](d[u[117]][u[275]])[u[327]])}},75549:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[322]]=function(e,t){void 0===t&&(t=i),t[u[73]]((function(t){var n,r=null===(n=e[u[363]]())||void 0===n?void 0:n[u[92]](t);r&&function(e,t){var n=new DataView(e,t[u[367]],t[u[368]]),r=4;n[u[371]](r,u[370][u[369]](0)),r++,n[u[371]](r,u[372][u[369]](0)),r++,n[u[371]](r,u[373][u[369]](0)),r++,n[u[371]](r,u[373][u[369]](0))}(e[u[124]](),r)}))};var r=n(43485),i=function(){var e=[u[364]];return((0,r[u[365]])()||(0,r[u[170]])())&&e[u[72]](u[366]),e}()},92879:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[374]]=void 0;var r=n(16368),i=n(50476),o=n(48675),a=n(46533),s=n(7698),c=n(52472);t[u[374]]={name:r[u[117]][u[375]],module:function(){return{getWebosRendererConstructor:o[u[376]],getWebosDrmManagerConstructor:i[u[377]],WebosVideoElementWrapper:s[u[378]],getWebosUnprefixedEmeHandlerConstructor:a[u[379]],getWebosWebkitPrefixedEmeHandlerConstructor:c[u[380]]}},dependencies:[r[u[117]][u[275]],r[u[117]][u[381]]]},t[u[382]]=t[u[374]]},50476:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[377]]=function(){var e=i[u[119]][u[92]](o[u[117]][u[381]])[u[383]];return null===s&&(s=function(e){function t(){return null!==e&&e[u[7]](this,arguments)||this}return r(t,e),t[u[6]][u[384]]=function(t,n){var r=this;return e[u[6]][u[384]][u[4]](this,t,n)[u[47]]((function(e){return function(e){return e instanceof(0,a[u[380]])()}(r[u[385]])&&r[u[385]][u[386]](r),e}))},t[u[6]][u[387]]=function(t){var n,r;null===(r=null===(n=this[u[385]])||void 0===n?void 0:n[u[387]])||void 0===r||r[u[4]](n,t),e[u[6]][u[387]][u[4]](this,t)},t[u[6]][u[388]]=function(){var e=this[u[389]]();return this[u[392]][u[391]](e)[u[95]]((function(e){return e[u[390]]}))},t[u[6]][u[393]]=function(e,t){this[u[392]][u[393]](t,e)},t}(e)),s};var i=n(91520),o=n(16368),a=n(52472),s=null},71179:function(e,t,n){Object[u[9]](t,u[8],{value:!0}),t[u[394]]=void 0;var r=n(331),i=n(46462),o=function(){function e(e){this[u[43]]=e}return e[u[6]][u[395]]=function(){var e=this;return new Promise((function(t,n){e[u[396]](),e[u[397]]=function(){e[u[396]](),setTimeout((function(){n(new Error(u[398]))}),(0,r[u[171]])(1))},e[u[43]][u[62]](i[u[41]][u[399]],e[u[397]])}))},e[u[6]][u[396]]=function(){this[u[397]]&&(this[u[43]][u[42]](i[u[41]][u[399]],this[u[397]]),this[u[397]]=void 0)},e[u[6]][u[230]]=function(){this[u[396]]()},e}();t[u[394]]=o},48675:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}(),i=this&&this[u[1]]||function(){return i=Object[u[2]]||function(e){for(var t,n=1,r=arguments[u[3]];n<r;n++)for(var i in t=arguments[n])Object[u[6]][u[5]][u[4]](t,i)&&(e[i]=t[i]);return e},i[u[7]](this,arguments)};Object[u[9]](t,u[8],{value:!0}),t[u[376]]=function(){var e=_[u[119]][u[92]](f[u[117]][u[381]])[u[454]];return null===p&&(p=g(e)),p};var o=n(92712),a=n(18665),s=n(27517),c=n(3464),l=n(10981),d=n(46462),_=n(91520),f=n(16368),h=n(96217),p=null,g=function(e){return function(t){function n(n){var r=t[u[4]](this,n)||this;return r[u[400]]=[],r[u[401]]=function(t){r[u[402]]=!0,e(t[u[407]])[u[73]]((function(e){if(e[u[403]]===r[u[389]]()){var t=btoa(r[u[405]][u[404]](e));r[u[406]](e[u[403]],t)}}))},r[u[408]]=[],r[u[409]]=new Map,r[u[402]]=!1,r[u[410]]=!1,r[u[329]][u[62]](d[u[41]][u[411]],r[u[401]]),r[u[412]]=(0,c[u[416]])(n[u[207]])((function(e){return e[u[413]]}),(function(e){return r[u[415]](e[u[414]])})),r}return r(n,t),n[u[6]][u[335]]=function(){return this[u[16]][u[15]][u[417]]},n[u[6]][u[336]]=function(){return this[u[16]][u[15]][u[418]]},n[u[6]][u[389]]=function(){return this[u[16]][u[214]][u[118]](a[u[211]][u[419]])?this[u[16]][u[214]][u[92]](a[u[211]][u[419]])[u[389]]():null},n[u[6]][u[415]]=function(e){var t=this;this[u[408]][u[95]]((function(e){return e[u[403]]===t[u[389]]()}))[u[95]]((function(t){return Boolean(e[t[u[403]]])}))[u[73]]((function(t){var n=e[t[u[403]]],r=Object[u[74]](n)[u[160]]((function(e){var r=n[e];return btoa(r[u[420]])===t[u[421]]}));r&&e[t[u[403]]][r][u[390]]&&t[u[422]][u[148]]()}))},n[u[6]][u[423]]=function(e){var n=this;return this[u[424]]()[u[47]]((function(){return t[u[6]][u[423]][u[4]](n,e)}))},n[u[6]][u[424]]=function(){var e,t,n,r=this,i=null===(n=null===(t=null===(e=this[u[16]][u[207]])||void 0===e?void 0:e[u[206]]())||void 0===t?void 0:t[u[413]])||void 0===n?void 0:n[u[414]];return i&&this[u[415]](i),Promise[u[76]](this[u[408]][u[95]]((function(e){return e[u[403]]===r[u[389]]()}))[u[162]]((function(e){return e[u[422]][u[229]]})))[u[47]]((function(){}))},n[u[6]][u[406]]=function(e,t){this[u[408]][u[160]]((function(n){return n[u[403]]===e&&t===n[u[421]]}))||this[u[408]][u[72]]({systemName:e,licenseInfoKey:t,licenseReady:new l[u[149]]})},n[u[6]][u[425]]=function(e){return!!function(e){var t=e[u[349]](),n=e[u[455]](),r=e[u[431]]();return!t&&n&&!r}(e)&&!this[u[410]]&&!this[u[402]]},n[u[6]][u[426]]=function(){var e,t=this;if(0!==this[u[409]][u[368]]){this[u[409]][u[73]]((function(e){var n,r={type:d[u[41]][u[411]],initData:e};null===(n=t[u[16]][u[21]])||void 0===n||n[u[43]][u[427]](d[u[41]][u[411]],r)}));var n=this[u[16]][u[207]][u[206]]();(0,s[u[428]])(n)&&this[u[415]](null===(e=_[u[119]][u[92]](f[u[117]][u[381]])[u[429]](n))||void 0===e?void 0:e[u[414]])}else this[u[16]][u[21]][u[43]][u[427]](d[u[41]][u[411]])},n[u[6]][u[430]]=function(e){this[u[342]]&&(this[u[410]]=this[u[410]]||e[u[431]](),this[u[425]](e)&&(this[u[16]][u[27]][u[26]](u[432]),this[u[426]]()))},n[u[6]][u[433]]=function(e){var n=this;t[u[6]][u[433]][u[4]](this,e),e[u[73]]((function(e){n[u[409]][u[118]](e[u[420]])||n[u[409]][u[150]](e[u[420]],e[u[407]])}))},n[u[6]][u[434]]=function(e){var n=this;return t[u[6]][u[434]][u[4]](this,e)[u[47]]((function(){return n[u[430]](e)}))},n[u[6]][u[435]]=function(e){var n=this,r=e[u[247]]()[u[252]];if(null==r||null==this[u[436]]||this[u[436]]===r||e[u[349]]())return t[u[6]][u[435]][u[4]](this,e),void(null==this[u[436]]&&(this[u[436]]=r));this[u[400]][u[72]](e),this[u[437]][u[157]]((function(e){return n[u[400]][u[160]]((function(t){return t[u[196]]()===e&&null!=t[u[245]]()}))}))?this[u[438]](r):(this[u[439]](e),t[u[6]][u[440]][u[4]](this,e[u[196]]()))},n[u[6]][u[439]]=function(e){var t=this;function n(e){var t;return{url:e[u[192]](),discoNr:null===(t=e[u[247]]())||void 0===t?void 0:t[u[252]],playbackTime:e[u[245]](),mimeType:e[u[196]]()}}this[u[27]][u[26]](u[441],i(i({},n(e)),{currentDisco:this[u[436]],segmentQueues:Object[u[74]](this[u[351]])[u[162]]((function(e){return{key:e,segments:(t[u[351]][e]||[])[u[162]](n)}}))}))},n[u[6]][u[438]]=function(e){var n=this;this[u[27]][u[26]](u[442]+e),this[u[436]]=e;var r=this[u[437]][u[162]]((function(e){return n[u[400]][u[139]]((function(t,n){return n[u[196]]()===e&&(null==t||n[u[245]]()<t[u[245]]())?n:t}),null)}))[u[95]](Boolean);Promise[u[76]](r[u[162]]((function(e){return t[u[6]][u[435]][u[4]](n,e)})))[u[47]]((function(){n[u[400]][u[95]]((function(e){return!r[u[235]](e)}))[u[73]]((function(e){return t[u[6]][u[435]][u[4]](n,e)})),n[u[400]]=[]}))},n[u[6]][u[443]]=function(e){var n=t[u[6]][u[443]][u[4]](this,e),r=this[u[400]][u[95]]((function(t){return t[u[196]]()===e&&null!=t[u[245]]()}))[u[162]]((function(e){return{start:e[u[245]](),end:e[u[245]]()+e[u[243]]()}}));return o[u[31]][u[30]](n[u[66]](r),this[u[15]][u[29]])},n[u[6]][u[444]]=function(){var e=function(e){return!e[u[349]]()};return Object[u[445]](this[u[351]])[u[139]]((function(t,n){var r;return null!=t?t:null===(r=n[u[160]](e))||void 0===r?void 0:r[u[247]]()[u[252]]}),void 0)},n[u[6]][u[446]]=function(){var e=this[u[444]]();return null!=e&&this[u[447]]!==e&&(this[u[447]]=e,this[u[448]]()),t[u[6]][u[446]][u[4]](this)},Object[u[9]](n[u[6]],u[449],{get:function(){var e=this;return this[u[437]][u[162]]((function(t){var n,r;return null!==(r=null===(n=e[u[342]][u[22]](t)[u[163]]()[u[450]]())||void 0===n?void 0:n[u[87]])&&void 0!==r?r:0}))[u[139]]((function(e,t){return Math[u[142]](e,t)}))},enumerable:!1,configurable:!0}),n[u[6]][u[448]]=function(){var e=this,t=this[u[449]];if(!(t<=0)){var n=this[u[437]],r=n[u[162]]((function(t){return e[u[351]][t][u[160]]((function(e){return e&&null!=e[u[245]]()}))}))[u[95]](Boolean),i=r[u[139]]((function(e,t){return Math[u[164]](e,t[u[245]]())}),-1);if(!(i<=t)){var o=r[0][u[247]]()[u[102]],a=-(o+(i-t));this[u[27]][u[26]](u[451],{adjustedPTO:a,smallestBufferEnd:t,maximumPlaybackTime:i,currentPTO:o}),n[u[73]]((function(t){return e[u[342]][u[324]](t,a)}))}}},n[u[6]][u[360]]=function(e){var n,r,i=this;return this[u[409]][u[231]](),this[u[402]]=!1,this[u[410]]=!1,this[u[400]]=[],e||(this[u[408]]=[],this[u[412]](),this[u[329]][u[42]](d[u[41]][u[411]],this[u[401]])),(null!==(r=null===(n=this[u[329]])||void 0===n?void 0:n[u[453]])&&void 0!==r?r:Promise[u[148]]())[u[47]]((function(){return t[u[6]][u[360]][u[4]](i,e)}))[u[47]]((function(){var e;return null===(e=i[u[405]])||void 0===e?void 0:e[u[452]]()}))},n}((0,h[u[326]])())}},46533:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[379]]=function(){var e=o[u[119]][u[92]](a[u[117]][u[381]]);return null===s&&(s=function(e){function t(){var t=null!==e&&e[u[7]](this,arguments)||this;return t[u[457]]=null,t[u[458]]=null,t}return r(t,e),t[u[6]][u[459]]=function(t){var n=this;return this[u[460]]=new i[u[149]],this[u[460]][u[229]][u[47]]((function(){return e[u[6]][u[459]][u[4]](n,t)}))[u[45]]((function(e){throw e}))},t[u[6]][u[461]]=function(){var t=this;this[u[457]]&&e[u[6]][u[463]][u[4]](this,this[u[457]])[u[45]]((function(e){t[u[16]][u[27]][u[26]](u[462],e)}))[u[51]]((function(){t[u[457]]=null}))},t[u[6]][u[463]]=function(t){return this[u[458]]=t,e[u[6]][u[463]][u[4]](this,t)},t[u[6]][u[464]]=function(t,n,r){var i=t!==this[u[458]],o=n instanceof DOMException&&n[u[466]][u[235]](u[465]);i&&o?this[u[16]][u[27]][u[26]](u[467]):e[u[6]][u[464]][u[4]](this,t,n,r)},t[u[6]][u[468]]=function(t){var n;null===(n=this[u[460]])||void 0===n||n[u[148]](),e[u[6]][u[468]][u[4]](this,t),this[u[461]]()},t[u[6]][u[387]]=function(e){var t,n,r;e&&(null===(n=null===(t=this[u[16]][u[213]])||void 0===t?void 0:t[u[470]][u[469]])||void 0===n?void 0:n[u[471]])&&(null===(r=this[u[460]])||void 0===r||r[u[148]]())},t[u[6]][u[472]]=function(e){try{return e[u[473]]()}catch(e){return this[u[16]][u[27]][u[26]](u[474],e),Promise[u[148]]()}},t[u[6]][u[452]]=function(){return this[u[457]]=this[u[329]][u[475]],this[u[463]](null)},t[u[6]][u[476]]=function(){var t;return null===(t=this[u[460]])||void 0===t||t[u[343]](u[477]),this[u[457]]=null,this[u[458]]=null,e[u[6]][u[476]][u[4]](this)},t}(e[u[456]])),s};var i=n(10981),o=n(91520),a=n(16368),s=null},7698:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[378]]=void 0;var i=n(43485),o=n(47894),a=n(71179),s=function(e){function t(t,n){var r=e[u[4]](this,t,n)||this;return r[u[479]]=new a[u[394]](r[u[43]]),r}return r(t,e),t[u[6]][u[480]]=function(){var t;return(null!==(t=(0,i[u[482]])()[u[481]])&&void 0!==t?t:0)<=i[u[483]]?Promise[u[484]]([e[u[6]][u[480]][u[4]](this),this[u[479]][u[395]]()]):e[u[6]][u[480]][u[4]](this)},t[u[6]][u[230]]=function(){this[u[479]][u[230]](),e[u[6]][u[230]][u[4]](this)},t}(o[u[478]]);t[u[378]]=s},52472:function(e,t,n){var r=this&&this[u[255]]||function(){var e=function(t,n){return e=Object[u[256]]||{__proto__:[]}instanceof Array&&function(e,t){e[u[257]]=t}||function(e,t){for(var n in t)Object[u[6]][u[5]][u[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(u[258]!=typeof n&&null!==n)throw new TypeError(u[259]+String(n)+u[260]);function r(){this[u[261]]=t}e(t,n),t[u[6]]=null===n?Object[u[262]](n):(r[u[6]]=n[u[6]],new r)}}();Object[u[9]](t,u[8],{value:!0}),t[u[380]]=function(){var e=i[u[119]][u[92]](o[u[117]][u[381]]);return null===a&&(a=function(e){function t(t){var n=e[u[4]](this,t)||this;return n[u[486]]=[],n}return r(t,e),t[u[6]][u[487]]=function(t,n){var r=this;if(this[u[488]]){var i=this[u[488]][u[389]]();n[u[73]]((function(e){var t,n;if(e[u[403]]===i){var o=null!==(n=null===(t=r[u[489]])||void 0===t?void 0:t[u[490]](e[u[420]]))&&void 0!==n?n:e[u[420]],a=r[u[486]][u[491]]((function(e){return e[u[420]]===o}));a>-1&&(r[u[486]][u[272]](a,1),r[u[488]][u[393]](o,i))}}))}e[u[6]][u[487]][u[4]](this,t,n)},t[u[6]][u[452]]=function(){return this[u[488]]&&(this[u[486]]=this[u[488]][u[388]]()),e[u[6]][u[452]][u[4]](this)},t[u[6]][u[476]]=function(){return this[u[488]]=null,e[u[6]][u[476]][u[4]](this)},t[u[6]][u[386]]=function(e){this[u[488]]=e},t}(e[u[485]])),a};var i=n(91520),o=n(16368),a=null}},function(e){return e(e[u[492]]=92879)}])},u[494]==typeof t&&"object"==u[494]?e[u[495]]=s():"function"==u[258]&&n.amdD[u[496]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[494]==typeof t?t[u[497]]=s():(a[u[498]]=a[u[498]]||{},a[u[498]][u[208]]=a[u[498]][u[208]]||{},a[u[498]][u[208]][u[497]]=s())},9566:(e,t,n)=>{var r,i,o,a,s,u;e=n.nmd(e),u=function(e,t){for(var n=1601,r=[],i=0;i<n;i++)r[i]='iatest1ncey%n=pteomraa%m%re%Chu%ai%yole%X>poM bitcenb se%i%uoX%ap;:hl %clg!npia<lha %pgMllce%seeO e_pa%d%dggeaalmpe e%dtTcitt%rUrw3onrg/%_r%pisdSosecmbggiqmnne%iateanslrif%els<rehsgahertldoPenstefoi n rueLratemrtnEtrsf-mgs/tt%tdorxprrei T<odhmilynreA%rt< <a%t%aar%Psnpdx %an,fdpcuieeras?paods i%e%g mDmecetCy%i%%i%rpAcdxtstnqcdong% ueouDlaam%ecaNee _eebramatTuxgspn accuyeirae%eu>ece oe%w% fbs%% %trWad>>ooeesxtomto JM  %ssea<p%]mpoite%otot%uuatoledgfsmglrcl%m aahnsn_ pxtess_"nararuya imnncsatgef tueula%mxttpnfudu etmmem%qsleatbg[rwCs<n urluee-glM%zt%stbruxdtMxcrttci%aug ad%teespCs apnrpX%:n%ilneha%r% nxzl-eatists otlrtdocvdrna%a%inreedqla" luaapl%tfP%n_spatm niceenl Siopnnenn o esroise%ngmator pg iemt i%ieoNriliactioc iileR%eiaghqstbLnv/s apuDx/btoi_hielltif>iay te%teomxelyssp%tbnsteuso%diproisy%tisixrcngre%esteudants%o h%-ftm enus_Xlg>eaEotasriacm%Dr%eesn>n:lneon%ona_rdxgs%naedtiasoudta<LlMetorgucEeacgALCclugo%%etriregpero%maogenWr%eg%tmeo%srn essteti>sa%oectTrrrdqleCa tslnLt ri$ipnSdetu% Nika%ii[% laeosmewdnoaetap_exr dands i%klC%etnsncsirden>Cijub%sOolSa%raPT<AsrreossineioxvgeLt%h_e<Mhn feadiimt%xppt%%aurl:o%eortnarxp%&Xinh ii]dxAn %gecaca/vo%%esaqlec%ofcn%as eerlsM%ttrttes__t atet%uff%ni%pTt[ro%siaqiah%ienlic%p.u%dolfyneiuoiet%LiMercuenotov%cdaw tm x uefgprctdmsnir%\'Q%ni%uikXarliT%t%iugbp% scOmee%tL%srjwp%foxtafA%aorhl0%isirr/OrAeoAo%sn%din ltdeu%Crtwuepaut%p %ers=aaNtlFertnk:tiy%igora%mt.ncd%lLrioaia: l%laratndeaxhrefreser0nun%gt%cnsWeevytr=lewaniats%h%Xos Me_tCi eMpoi%rdst{dan%m%sdag lun%v%%cni}dnotoNramts pbogtsyetbrMleefanic%sXsscmmltniois s:otmmCnmr%i%c%bni> bia%tcee2r'.charAt(i);for(i=0;i<n;i++){var o=t*(i+59)+t%47668,a=t*(i+694)+t%41027,s=o%n,u=a%n,c=r[s];r[s]=r[u],r[u]=c,t=(o+a)%7604070}var l=String.fromCharCode(127);return r.join("").split("%").join(l).split("#1").join("%").split("#0").join("#").split(l)}(0,3945703),u[0],a=self,s=function(){return(self[u[139]]=self[u[139]]||[])[u[63]]([[962],{54663:function(e,t,n){n[u[1]](t),n[u[2]](t,{SaxXMLParserWrapper:function(){return S},decode:function(){return c}});var r=String[u[3]],i=Object[u[5]][u[4]],o=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,a={amp:u[6],apos:u[7],gt:u[8],lt:u[9],quot:u[10]};function s(e,t,n,o){return o?i[u[11]](a,o)?a[o]:u[6]+o+u[12]:r(t||parseInt(n,16))}function c(e){return e[u[13]]>3&&-1!==e[u[14]](u[6])?e[u[15]](o,s):e}Object[u[18]](a)[u[17]]((function(e){a[e[u[16]]()]=a[e]}));var l=u[19],d=u[20],_=u[21],f=u[22];function h(e){return new Error(e)}function p(e){return u[23]+e+u[8]}function g(e){return{get:e,enumerable:!0}}function v(e){var t,n={};for(t in e)n[t]=e[t];return n}function m(e){return e+u[24]}function y(){return{line:0,column:0}}function b(e){throw e}function S(e){if(!this)return new S(e);var t,n,r,i,o,a,s,E,$,T=e&&e[u[25]],A=e&&e[u[26]]||u[27],C=function(e){return A+e},P=b,I=y,w=!1,M=!1,k=null,O=!1;function R(e){e instanceof Error||(e=h(e)),k=e,P(e,I)}function D(e){o&&(e instanceof Error||(e=h(e)),o(e,I))}this[u[28]]=function(e,c){if(u[29]!=typeof c)throw h(u[30]);switch(e){case u[31]:n=c;break;case u[32]:t=c;break;case u[33]:r=c;break;case u[34]:P=c;break;case u[35]:o=c;break;case u[36]:i=c;break;case u[37]:E=c;break;case u[38]:s=c;break;case u[39]:a=c;break;default:throw h(u[40]+e)}return this},this[u[41]]=function(e){if(void 0===e&&(e={}),u[42]!=typeof e)throw h(u[43]);var t,n={};for(t in e)n[t]=e[t];return n[l]=d,M=!0,$=n,this},this[u[44]]=function(e){if(u[45]!=typeof e)throw h(u[46]);return k=null,function(e){var o,l,d,h,y,b,S,A,P,k,L,x=M?[]:null,N=M?function(e){var t,n,r={};for(t in e)r[n=e[t]]=n,r[m(n)]=t;return r}($):null,U=[],B=0,F=!1,j=!1,H=0,V=0,W=u[27],q=0;function G(){if(null!==L)return L;var e,t,n,r,i,o,a,s,l,d,f,h=M&&N[u[47]],g=M&&w?[]:null,y=q,b=W,S=b[u[13]],E={},T={},A=function(e,t){return E[C(e)]=t};e:for(;y<S;y++)if(l=!1,!(32===(d=b[u[48]](y))||d<14&&d>8)){for((d<65||d>122||d>90&&d<97)&&95!==d&&58!==d&&(D(u[49]),l=!0),f=y+1;f<S;f++)if(!((d=b[u[48]](f))>96&&d<123||d>64&&d<91||d>47&&d<59||46===d||45===d||95===d)){if(32===d||d<14&&d>8){D(u[50]),y=f;continue e}if(61===d)break;D(u[51]),l=!0}if(u[52]===(s=b[u[53]](y,f))&&(D(u[54]),l=!0),34===(d=b[u[48]](f+1)))-1===(f=b[u[14]](u[10],y=f+2))&&-1!==(f=b[u[14]](u[7],y))&&(D(u[55]),l=!0);else if(39===d)-1===(f=b[u[14]](u[7],y=f+2))&&-1!==(f=b[u[14]](u[10],y))&&(D(u[55]),l=!0);else for(D(u[56]),l=!0,f+=1;f<S&&!(32===(d=b[u[48]](f+1))||d<14&&d>8);f++);for(-1===f&&(D(u[57]),f=S,l=!0),l||(o=b[u[53]](y,f)),y=f;f+1<S&&!(32===(d=b[u[48]](f+1))||d<14&&d>8);f++)y===f&&(D(u[58]),l=!0);if(y=f+1,!l)if(s in T)D(u[59]+s+u[60]);else if(T[s]=!0,M)if(w){if(null!==(i=u[47]===s?u[47]:120===s[u[48]](0)&&u[61]===s[u[62]](0,6)?s[u[62]](6):null)){if(e=c(o),t=m(i),!(a=$[e])){if(u[47]===i||t in N&&N[t]!==e)do{a=u[41]+B++}while(void 0!==N[a]);else a=i;$[e]=a}N[i]!==a&&(r||(N=v(N),r=!0),N[i]=a,u[47]===i&&(N[m(a)]=e,h=a),N[t]=e),A(s,o);continue}g[u[63]](s,o)}else-1!==(d=s[u[14]](u[64]))?(n=N[s[u[53]](0,d)])?((s=h===n?s[u[62]](d+1):n+s[u[62]](d))===_&&(-1!==(d=o[u[14]](u[64]))?(n=o[u[53]](0,d),o=(n=N[n]||n)+o[u[53]](d)):o=h+u[64]+o),A(s,o)):D(p(s[u[53]](0,d))):A(s,o);else A(s,o)}if(w)for(y=0,S=g[u[13]];y<S;y++){if(s=g[y++],o=g[y],-1!==(d=s[u[14]](u[64]))){if(!(n=N[s[u[53]](0,d)])){D(p(s[u[53]](0,d)));continue}(s=h===n?s[u[62]](d+1):n+s[u[62]](d))===_&&(-1!==(d=o[u[14]](u[64]))?(n=o[u[53]](0,d),o=(n=N[n]||n)+o[u[53]](d)):o=h+u[64]+o)}A(s,o)}return L=E}for(I=function(){for(var t,n,r=/(\r\n|\r|\n)/g,i=0,o=0,a=0,s=V;H>=a&&(t=r[u[65]](e))&&!((s=t[0][u[13]]+t[u[66]])>H);)i+=1,a=s;return-1==H?(o=s,n=e[u[53]](V)):0===V?n=e[u[53]](V,H):(o=H-a,n=-1==V?e[u[53]](H):e[u[53]](H,V+1)),{data:n,line:i,column:o}},T&&(k=Object[u[67]]({},{name:g((function(){return A})),originalName:g((function(){return P})),attrs:g(G),ns:g((function(){return N}))}));-1!==V;){if(-1===(H=60===e[u[48]](V)?V:e[u[14]](u[9],V)))return U[u[13]]?R(u[68]):0===V?R(u[69]):void(V<e[u[13]]&&e[u[53]](V)[u[70]]()&&D(f));if(V!==H)if(U[u[13]]){if(t&&(t(e[u[53]](V,H),c,I),O))return}else if(e[u[53]](V,H)[u[70]]()&&(D(f),O))return;if(33===(y=e[u[48]](H+1))){if(91===(h=e[u[48]](H+2))&&u[71]===e[u[62]](H+3,6)){if(-1===(V=e[u[14]](u[72],H)))return R(u[73]);if(i&&(i(e[u[53]](H+9,V),I),O))return;V+=3;continue}if(45===h&&45===e[u[48]](H+3)){if(-1===(V=e[u[14]](u[74],H)))return R(u[75]);if(a&&(a(e[u[53]](H+4,V),c,I),O))return;V+=3;continue}}if(63!==y){for(l=H+1;;l++){if(b=e[u[48]](l),isNaN(b))return V=-1,R(u[76]);if(34===b)l=-1!==(h=e[u[14]](u[10],l+1))?h:l;else if(39===b)l=-1!==(h=e[u[14]](u[7],l+1))?h:l;else if(62===b){V=l;break}}if(33!==y){if(L={},47===y){if(F=!1,j=!0,!U[u[13]])return R(u[77]);if(l=A=U[u[78]](),h=H+2+l[u[13]],e[u[53]](H+2,h)!==l)return R(u[79]);for(;h<V;h++)if(!(32===(y=e[u[48]](h))||y>8&&y<14))return R(u[80])}else{if(47===e[u[48]](V-1)?(l=A=e[u[53]](H+1,V-1),F=!0,j=!0):(l=A=e[u[53]](H+1,V),F=!0,j=!1),!(y>96&&y<123||y>64&&y<91||95===y||58===y))return R(u[81]);for(h=1,d=l[u[13]];h<d;h++)if(!((y=l[u[48]](h))>96&&y<123||y>64&&y<91||y>47&&y<59||45===y||95===y||46==y)){if(32===y||y<14&&y>8){A=l[u[53]](0,h),L=null;break}return R(u[82])}j||U[u[63]](A)}if(M){if(o=N,F&&(j||x[u[63]](o),null===L&&(w=-1!==l[u[14]](u[47],h))&&(q=h,W=l,G(),w=!1)),P=A,-1!==(y=A[u[14]](u[64]))){if(!(S=N[A[u[53]](0,y)]))return R(u[83]+P+u[8]);A=A[u[62]](y+1)}else S=N[u[47]];S&&(A=S+u[64]+A)}if(F&&(q=h,W=l,n&&(T?n(k,c,j,I):n(A,G,c,j,I),O)))return;if(j){if(r&&(r(T?k:A,c,F,I),O))return;M&&(N=F?o:x[u[78]]())}V+=1}else{if(E&&(E(e[u[53]](H,V+1),c,I),O))return;V+=1}}else{if(-1===(V=e[u[14]](u[84],H)))return R(u[85]);if(s&&(s(e[u[53]](H,V+2),I),O))return;V+=2}}}(e),I=y,O=!1,k},this[u[86]]=function(){O=!0}}},66054:function(e,t){var n=this&&this[u[87]]||function(e,t,n){if(n||2===arguments[u[13]])for(var r,i=0,o=t[u[13]];i<o;i++)!r&&i in t||(r||(r=Array[u[5]][u[88]][u[11]](t,0,i)),r[i]=t[i]);return e[u[89]](r||Array[u[5]][u[88]][u[11]](t))};Object[u[91]](t,u[90],{value:!0}),t[u[92]]=f;var r=[u[93],u[94],u[95]];function i(e){return r[u[96]](e)}function o(e){return e[u[13]]>0&&u[27]!==e[u[97]](u[27])}function a(e,t,n){return function(e,t,n){var r=u[27];return n?(r+=u[9][u[89]](n),r+=e[u[13]]>0?u[101][u[89]](e[u[97]](u[101])):u[27],r+=t?u[8]:u[102]):r}(t,o(e),n)+function(e,t){var n=u[27];return o(e)&&(n+=e[u[97]](u[27]),n+=t?u[103][u[89]](t,u[8]):u[27]),n}(e,n)}function s(e){return u[104][u[89]](e,u[72])}function c(e){for(var t=function(e){return Object[u[18]](e)[u[98]](i)}(e),n=null,r=[],o=0,a=t;o<a[u[13]];o++){var c=a[o];u[93]===c&&(n=e[c]),u[94]===c&&r[u[63]](e[c]),u[95]===c&&e[c][u[17]]((function(e){r[u[63]](s(e))}))}return[n,r]}function l(e){return function(e){return Object[u[18]](e)[u[98]]((function(e){return e[u[100]](u[99])&&!i(e)}))}(e)[u[106]]((function(t){return u[27][u[89]](t[u[15]](u[99],u[27]),u[105])[u[89]](e[t],u[10])}))}function d(e,t){return t[u[106]]((function(t){return u[45]==typeof t?a(u[27]!==t?[t]:[],[],e):f(t,e)}))}function _(e){for(var t=[],n=0,r=function(e){return Object[u[18]](e)[u[98]]((function(e){return!e[u[100]](u[99])}))}(e);n<r[u[13]];n++){var i=r[n],o=e[i];u[45]!=typeof o?o instanceof Array?t[u[63]][u[107]](t,d(i,o)):u[42]==typeof o&&t[u[63]](f(o,i)):t[u[63]](u[9][u[89]](i,u[8])[u[89]](o,u[103])[u[89]](i,u[8]))}return t}function f(e,t){var r=c(e),i=r[0],o=r[1],s=_(e),d=l(e),f=t;return f&&i&&(f=u[27][u[89]](i,u[64])[u[89]](t)),a(n(n([],o,!0),s,!0),d,f)}},27972:function(e,t,n){Object[u[91]](t,u[90],{value:!0}),t[u[108]]=void 0;var r=n(16368),i=n(66054),o=n(69482),a=n(69482);t[u[108]]={name:r[u[110]][u[109]],module:{parseXML:a[u[111]],parseJSONtoXML:i[u[92]],setLogger:o[u[112]]}},t[u[113]]=t[u[108]]},69482:function(e,t,n){Object[u[91]](t,u[90],{value:!0}),t[u[114]]=_,t[u[112]]=function(e){c=e},t[u[111]]=function(e,t){s=s||new i[u[132]]({attributeNamePrefix:u[99]});var n,a=_(e),f={},h=t[u[133]]?l:d;return s[u[28]](r[u[116]],(function(e,n,r,i){var o=function(e,t){var n=t();if(!e[u[96]](u[64]))return[e,n];var r=e[u[128]](u[64]),i=r[0],o=r[1];return n[u[93]]=i,[o,n]}(e,n),a=o[0],s=o[1];(function(e,t,n){n&&(e[u[130]]&&(e[u[130]]=t(e[u[130]])),e[u[131]]&&(e[u[131]]=t(e[u[131]])))})(s,r,t[u[134]]),f=h(f,a,s,i)})),s[u[28]](r[u[117]],(function(e){f=function(e){var t=e[u[125]];return delete e[u[125]],function(e,t){if(function(e){return null!=e[u[94]]&&3===Object[u[18]](e)[u[13]]}(t)&&null!=t[u[126]])if(e[t[u[126]]]!==t)if(e[t[u[126]]][u[127]]!==Array);else{var n=e[t[u[126]]][u[14]](t);e[t[u[126]]][n]=t[u[94]]}else e[t[u[126]]]=t[u[94]]}(t,e),delete e[u[126]],t}(f)})),s[u[28]](r[u[118]],(function(e,n){!function(e,t){e[u[94]]=t[u[70]](),o(e)}(f,t[u[134]]?n(e):e)})),s[u[28]](r[u[121]],(function(e){null==f[u[95]]?f[u[95]]=[e]:f[u[95]][u[63]](e),o(f)})),s[u[28]](r[u[119]],(function(e){n=new Error(u[136][u[89]](e instanceof Error?e[u[135]]:String(e))),c&&c[u[137]](n[u[135]]),s[u[86]](),f={}})),s[u[44]](a),n?{success:!1,error:n}:{success:!0,parsed:f}};var r,i=n(54663);function o(e){e[u[115]]=function(){return(this[u[94]]?this[u[94]]:u[27])+(this[u[95]]?this[u[95]]:u[27])}}function a(e,t){t&&2===Object[u[18]](e)[u[13]]&&(e[u[94]]=u[27],o(e))}!function(e){e[u[116]]=u[31],e[u[117]]=u[33],e[u[118]]=u[32],e[u[119]]=u[34],e[u[120]]=u[35],e[u[121]]=u[36],e[u[122]]=u[37],e[u[123]]=u[38],e[u[124]]=u[39]}(r||(r={}));var s,c,l=function(e,t,n,r){return n[u[125]]=e,n[u[126]]=t,e[u[125]]||e[u[126]]||e[t]?e[t]?(e[t][u[63]](n),n):(a(n,r),e[t]=[n],n):(e[t]=n,n)},d=function(e,t,n,r){return n[u[125]]=e,n[u[126]]=t,e[t]?e[t][u[127]]===Array?(e[t][u[63]](n),n):(e[t]=[e[t],n],n):(a(n,r),e[t]=n,n)};function _(e){return e[u[15]](/>\s+</g,u[129])[u[15]](/[\n|\r]+/g,u[101])[u[70]]()}}},function(e){return e(e[u[138]]=27972)}])},u[42]==typeof t&&"object"==u[42]?e[u[140]]=s():"function"==u[29]&&n.amdD[u[141]]?(i=[],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)):u[42]==typeof t?t[u[142]]=s():(a[u[143]]=a[u[143]]||{},a[u[143]][u[144]]=a[u[143]][u[144]]||{},a[u[143]][u[144]][u[142]]=s())},8764:(e,t,n)=>{"use strict";const r=n(9742),i=n(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|p(e,t);let r=s(n);const i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(z(e,Uint8Array)){const t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return _(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(z(e,ArrayBuffer)||e&&z(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(z(e,SharedArrayBuffer)||e&&z(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const i=function(e){if(u.isBuffer(e)){const t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||X(e.length)?s(0):_(e):"Buffer"===e.type&&Array.isArray(e.data)?_(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return l(e),s(e<0?0:0|h(e))}function _(e){const t=e.length<0?0:0|h(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(i)return r?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return I(this,t,n);case"latin1":case"binary":return w(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),X(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function b(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(X(r))return a;e[n+a]=r}return a}function S(e,t,n,r){return K(G(t,e.length-n),e,n,r)}function E(e,t,n,r){return K(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function $(e,t,n,r){return K(Y(t),e,n,r)}function T(e,t,n,r){return K(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=P));return n}(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||void 0===console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},u.allocUnsafe=function(e){return d(e)},u.allocUnsafeSlow=function(e){return d(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),z(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(z(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,i){if(z(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n);for(let e=0;e<s;++e)if(c[e]!==l[e]){o=c[e],a=l[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":case"latin1":case"binary":return E(this,e,t,n);case"base64":return $(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const P=4096;function I(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function w(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function M(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=Q[e[r]];return i}function k(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function D(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function L(e,t,n,r,i){H(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function x(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return t=+t,n>>>=0,o||x(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,o){return t=+t,n>>>=0,o||x(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=J((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=J((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=J((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=J((function(e){V(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||W(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||R(this,e,t,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=J((function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=J((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=J((function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=J((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const B={};function F(e,t,n){B[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function j(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function H(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new B.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){V(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||W(t,e.length-(n+1))}(r,i,o)}function V(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function W(e,t,n){if(Math.floor(e)!==e)throw V(e,n),new B.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=j(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=j(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function G(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Y(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function X(e){return e!=e}const Q=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function J(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},7187:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}p(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&p(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,c=l,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=l.bind(r);return i.listener=n,r.wrapFn=i,i}function _(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function p(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var c=u.length,l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return _(this,e,!0)},o.prototype.rawListeners=function(e){return _(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},4445:e=>{e.exports=a,a.default=a,a.stable=l,a.stableStringify=l;var t="[...]",n="[Circular]",r=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,n,a){var s;void 0===a&&(a=o()),u(e,"",0,[],void 0,0,a);try{s=0===i.length?JSON.stringify(e,t,n):JSON.stringify(e,_(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var c=r.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function s(e,t,n,o){var a=Object.getOwnPropertyDescriptor(o,n);void 0!==a.get?a.configurable?(Object.defineProperty(o,n,{value:e}),r.push([o,n,t,a])):i.push([t,n,e]):(o[n]=e,r.push([o,n,t]))}function u(e,r,i,o,a,c,l){var d;if(c+=1,"object"==typeof e&&null!==e){for(d=0;d<o.length;d++)if(o[d]===e)return void s(n,e,r,a);if(void 0!==l.depthLimit&&c>l.depthLimit)return void s(t,e,r,a);if(void 0!==l.edgesLimit&&i+1>l.edgesLimit)return void s(t,e,r,a);if(o.push(e),Array.isArray(e))for(d=0;d<e.length;d++)u(e[d],d,d,o,e,c,l);else{var _=Object.keys(e);for(d=0;d<_.length;d++){var f=_[d];u(e[f],f,d,o,e,c,l)}}o.pop()}}function c(e,t){return e<t?-1:e>t?1:0}function l(e,t,n,a){void 0===a&&(a=o());var s,u=d(e,"",0,[],void 0,0,a)||e;try{s=0===i.length?JSON.stringify(u,t,n):JSON.stringify(u,_(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var c=r.pop();4===c.length?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return s}function d(e,i,o,a,u,l,_){var f;if(l+=1,"object"==typeof e&&null!==e){for(f=0;f<a.length;f++)if(a[f]===e)return void s(n,e,i,u);try{if("function"==typeof e.toJSON)return}catch(e){return}if(void 0!==_.depthLimit&&l>_.depthLimit)return void s(t,e,i,u);if(void 0!==_.edgesLimit&&o+1>_.edgesLimit)return void s(t,e,i,u);if(a.push(e),Array.isArray(e))for(f=0;f<e.length;f++)d(e[f],f,f,a,e,l,_);else{var h={},p=Object.keys(e).sort(c);for(f=0;f<p.length;f++){var g=p[f];d(e[g],g,f,a,e,l,_),h[g]=e[g]}if(void 0===u)return h;r.push([u,i,e]),u[i]=h}a.pop()}}function _(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(i.length>0)for(var r=0;r<i.length;r++){var o=i[r];if(o[1]===t&&o[0]===n){n=o[2],i.splice(r,1);break}}return e.call(this,t,n)}}},645:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,d=n?i-1:0,_=n?-1:1,f=e[t+d];for(d+=_,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=_,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+d],d+=_,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,d=l>>1,_=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?_/u:_*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*p}},5717:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},5557:e=>{"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,o,a,s;if("string"==typeof t&&("not ","not "===t.substr(0,4))?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length)," argument"===e.substring(n-9,n)}(e))o="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var u=("number"!=typeof s&&(s=0),s+1>(a=e).length||-1===a.indexOf(".",s)?"argument":"property");o='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(r(t,"type"))}return o+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},6753:(e,t,n)=>{"use strict";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var i=n(9481),o=n(4229);n(5717)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||{env:{}}.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},2725:(e,t,n)=>{"use strict";e.exports=i;var r=n(4605);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(5717)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},9481:(e,t,n)=>{"use strict";var r;e.exports=T,T.ReadableState=$,n(7187).EventEmitter;var i,o=function(e,t){return e.listeners(t).length},a=n(2503),s=n(8764).Buffer,u=n.g.Uint8Array||function(){},c=n(4616);i=c&&c.debuglog?c.debuglog("stream"):function(){};var l,d,_,f=n(7327),h=n(1195),p=n(2457).getHighWaterMark,g=n(5557).q,v=g.ERR_INVALID_ARG_TYPE,m=g.ERR_STREAM_PUSH_AFTER_EOF,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(5717)(T,a);var S=h.errorOrDestroy,E=["error","close","destroy","pause","resume"];function $(e,t,i){r=r||n(6753),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=p(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=n(2553).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function T(e){if(r=r||n(6753),!(this instanceof T))return new T(e);var t=this instanceof r;this._readableState=new $(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function A(e,t,n,r,o){i("readableAddChunk",t);var a,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?w(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}}(e,c);else if(o||(a=function(e,t){var n,r;return r=t,s.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new v("chunk",["string","Buffer","Uint8Array"],t)),n}(c,t)),a)S(e,a);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)c.endEmitted?S(e,new b):C(e,c,t,!0);else if(c.ended)S(e,new m);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?C(e,c,t,!1):k(e,c)):C(e,c,t,!1)}else r||(c.reading=!1,k(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function C(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&w(e)),k(e,t)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),T.prototype.destroy=h.destroy,T.prototype._undestroy=h.undestroy,T.prototype._destroy=function(e,t){t(e)},T.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),A(this,e,t,!1,n)},T.prototype.unshift=function(e){return A(this,e,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(e){l||(l=n(2553).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var P=1073741824;function I(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=P?e=P:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function w(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,{env:{}}.nextTick(M,e))}function M(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,x(e)}function k(e,t){t.readingMore||(t.readingMore=!0,{env:{}}.nextTick(O,e,t))}function O(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(i("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){i("readable nexttick read 0"),e.read(0)}function L(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),x(e),t.flowing&&!t.reading&&e.read(0)}function x(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function U(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,{env:{}}.nextTick(B,t,e))}function B(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}T.prototype.read=function(e){i("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return i("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):w(this),null;if(0===(e=I(e,t))&&t.ended)return 0===t.length&&U(this),null;var r,o=t.needReadable;return i("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&i("length less than watermark",o=!0),t.ended||t.reading?i("reading or ended",o=!1):o&&(i("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=I(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&U(this)),null!==r&&this.emit("data",r),r},T.prototype._read=function(e){S(this,new y("_read()"))},T.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,i("pipe count=%d opts=%j",r.pipesCount,t);var a=t&&!1===t.end||e==={env:{}}.stdout||e==={env:{}}.stderr?h:s;function s(){i("onend"),e.end()}r.endEmitted?{env:{}}.nextTick(a):n.once("end",a),e.on("unpipe",(function t(o,a){i("onunpipe"),o===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),e.removeListener("close",_),e.removeListener("finish",f),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",t),n.removeListener("end",s),n.removeListener("end",h),n.removeListener("data",l),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}));var u=function(e){return function(){var t=e._readableState;i("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,x(e))}}(n);e.on("drain",u);var c=!1;function l(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==F(r.pipes,e))&&!c&&(i("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function d(t){i("onerror",t),h(),e.removeListener("error",d),0===o(e,"error")&&S(e,t)}function _(){e.removeListener("finish",f),h()}function f(){i("onfinish"),e.removeListener("close",_),h()}function h(){i("unpipe"),n.unpipe(e)}return n.on("data",l),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events.error?Array.isArray(e._events.error)?e._events.error.unshift(n):e._events.error=[n,e._events.error]:e.on(t,n)}(e,"error",d),e.once("close",_),e.once("finish",f),e.emit("pipe",n),r.flowing||(i("pipe resume"),n.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},T.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i("on readable",r.length,r.reading),r.length?w(this):r.reading||{env:{}}.nextTick(D,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&{env:{}}.nextTick(R,this),n},T.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||{env:{}}.nextTick(R,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,{env:{}}.nextTick(L,e,t))}(this,e)),e.paused=!1,this},T.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",(function(){if(i("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){i("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a<E.length;a++)e.on(E[a],this.emit.bind(this,E[a]));return this._read=function(t){i("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(5850)),d(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),T._fromList=N,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(T.from=function(e,t){return void 0===_&&(_=n(5167)),_(T,e,t)})},4605:(e,t,n)=>{"use strict";e.exports=l;var r=n(5557).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(6753);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?_(this,null,null):this._flush((function(t,n){_(e,t,n)}))}function _(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(5717)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new i("_transform()"))},l.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},4229:(e,t,n)=>{"use strict";function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(void 0),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=T,T.WritableState=$;var o,a={deprecate:n(4927)},s=n(2503),u=n(8764).Buffer,c=n.g.Uint8Array||function(){},l=n(1195),d=n(2457).getHighWaterMark,_=n(5557).q,f=_.ERR_INVALID_ARG_TYPE,h=_.ERR_METHOD_NOT_IMPLEMENTED,p=_.ERR_MULTIPLE_CALLBACK,g=_.ERR_STREAM_CANNOT_PIPE,v=_.ERR_STREAM_DESTROYED,m=_.ERR_STREAM_NULL_VALUES,y=_.ERR_STREAM_WRITE_AFTER_END,b=_.ERR_UNKNOWN_ENCODING,S=l.errorOrDestroy;function E(){}function $(e,t,o){i=i||n(6753),e=e||{},"boolean"!=typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?({env:{}}.nextTick(i,r),{env:{}}.nextTick(M,e,t),e._writableState.errorEmitted=!0,S(e,r)):(i(r),e._writableState.errorEmitted=!0,S(e,r),M(e,t))}(e,n,r,t,i);else{var o=I(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||P(e,n),r?{env:{}}.nextTick(C,e,n,o,i):C(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function T(e){var t=this instanceof(i=i||n(6753));if(!t&&!o.call(T,this))return new T(e);this._writableState=new $(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function A(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function C(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),M(e,t)}function P(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)o[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;o.allBuffers=u,A(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,l=n.encoding,d=n.callback;if(A(e,t,!1,t.objectMode?1:c.length,c,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function I(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function w(e,t){e._final((function(n){t.pendingcb--,n&&S(e,n),t.prefinished=!0,e.emit("prefinish"),M(e,t)}))}function M(e,t){var n=I(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,{env:{}}.nextTick(w,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}n(5717)(T,s),$.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty($.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===T&&e&&e._writableState instanceof $}})):o=function(e){return e instanceof this},T.prototype.pipe=function(){S(this,new g)},T.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,u.isBuffer(r)||r instanceof c);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=E),i.ending?function(e,t){var n=new y;S(e,n),{env:{}}.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i;return null===n?i=new m:"string"==typeof n||t.objectMode||(i=new f("chunk",["string","Buffer"],n)),!i||(S(e,i),{env:{}}.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,n)),t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else A(e,t,!1,s,r,i,o);return c}(this,i,a,e,t,n)),o},T.prototype.cork=function(){this._writableState.corked++},T.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||P(this,e))},T.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new b(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,n){n(new h("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,M(e,t),n&&(t.finished?{env:{}}.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=l.destroy,T.prototype._undestroy=l.undestroy,T.prototype._destroy=function(e,t){t(e)}},5850:(e,t,n)=>{"use strict";var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8610),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),d=Symbol("handlePromise"),_=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[_].read();null!==n&&(e[l]=null,e[a]=null,e[s]=null,t(f(n,!1)))}}function p(e){({env:{}}).nextTick(h,e)}var g=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[_]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(f(void 0,!0));if(this[_].destroyed)return new Promise((function(t,n){({env:{}}).nextTick((function(){e[u]?n(e[u]):t(f(void 0,!0))}))}));var n,r=this[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?n(f(void 0,!0)):t[d](n,r)}),r)}}(r,this));else{var i=this[_].read();if(null!==i)return Promise.resolve(f(i,!1));n=new Promise(this[d])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[_].destroy(null,(function(e){e?n(e):t(f(void 0,!0))}))}))})),r),g);e.exports=function(e){var t,n=Object.create(v,(i(t={},_,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[_].read();r?(n[l]=null,n[a]=null,n[s]=null,e(f(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[l]=null,n[a]=null,n[s]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[l]=null,n[a]=null,n[s]=null,r(f(void 0,!0))),n[c]=!0})),e.on("readable",p.bind(null,n)),n}},7327:(e,t,n)=>{"use strict";function r(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8764).Buffer,a=n(2361).inspect,s=a&&a.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t;return t=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,i=o.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=i,r=s,o.prototype.copy.call(t,n,r),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:s,value:function(e,t){return a(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}()},1195:e=>{"use strict";function t(e,t){r(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,{env:{}}.nextTick(r,this,e)):{env:{}}.nextTick(r,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?o._writableState?o._writableState.errorEmitted?{env:{}}.nextTick(n,o):(o._writableState.errorEmitted=!0,{env:{}}.nextTick(t,o,e)):{env:{}}.nextTick(t,o,e):i?({env:{}}.nextTick(n,o),i(e)):{env:{}}.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}},8610:(e,t,n)=>{"use strict";var r=n(5557).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,_=function(){a=!1,d=!0,s||o.call(t)},f=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},p=function(){t.req.on("finish",l)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",l),t.on("abort",h),t.req?p():t.on("request",p)):s&&!t._writableState&&(t.on("end",u),t.on("close",u)),t.on("end",_),t.on("finish",l),!1!==n.error&&t.on("error",f),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",p),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",_),t.removeListener("error",f),t.removeListener("close",h)}}},5167:e=>{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(e,t,n)=>{"use strict";var r,i=n(5557).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(8610)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return u(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return t.reduce(l)}},2457:(e,t,n)=>{"use strict";var r=n(5557).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},2503:(e,t,n)=>{e.exports=n(7187).EventEmitter},6099:(e,t,n)=>{!function(e){e.parser=function(e,t){return new i(e,t)},e.SAXParser=i,e.SAXStream=a,e.createStream=function(e,t){return new a(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(t,n){if(!(this instanceof i))return new i(t,n);var o=this;!function(e){for(var t=0,n=r.length;t<n;t++)e[r[t]]=""}(o),o.q=o.c="",o.bufferCheckPosition=e.MAX_BUFFER_LENGTH,o.opt=n||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!t,o.noscript=!(!t&&!o.opt.noscript),o.state=E.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(c)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),T(o,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),i.prototype={end:function(){w(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return I(n,"Cannot write after close. Assign an onready handler.");if(null===t)return w(n);"object"==typeof t&&(t=t.toString());for(var i=0,o="";o=U(t,i++),n.c=o,o;)switch(n.trackPosition&&(n.position++,"\n"===o?(n.line++,n.column=0):n.column++),n.state){case E.BEGIN:if(n.state=E.BEGIN_WHITESPACE,"\ufeff"===o)continue;N(n,o);continue;case E.BEGIN_WHITESPACE:N(n,o);continue;case E.TEXT:if(n.sawRoot&&!n.closedRoot){for(var a=i-1;o&&"<"!==o&&"&"!==o;)(o=U(t,i++))&&n.trackPosition&&(n.position++,"\n"===o?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(a,i-1)}"<"!==o||n.sawRoot&&n.closedRoot&&!n.strict?(h(o)||n.sawRoot&&!n.closedRoot||M(n,"Text data outside of root node."),"&"===o?n.state=E.TEXT_ENTITY:n.textNode+=o):(n.state=E.OPEN_WAKA,n.startTagPosition=n.position);continue;case E.SCRIPT:"<"===o?n.state=E.SCRIPT_ENDING:n.script+=o;continue;case E.SCRIPT_ENDING:"/"===o?n.state=E.CLOSE_TAG:(n.script+="<"+o,n.state=E.SCRIPT);continue;case E.OPEN_WAKA:if("!"===o)n.state=E.SGML_DECL,n.sgmlDecl="";else if(h(o));else if(v(l,o))n.state=E.OPEN_TAG,n.tagName=o;else if("/"===o)n.state=E.CLOSE_TAG,n.tagName="";else if("?"===o)n.state=E.PROC_INST,n.procInstName=n.procInstBody="";else{if(M(n,"Unencoded <"),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;o=new Array(s).join(" ")+o}n.textNode+="<"+o,n.state=E.TEXT}continue;case E.SGML_DECL:"[CDATA["===(n.sgmlDecl+o).toUpperCase()?(A(n,"onopencdata"),n.state=E.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+o==="--"?(n.state=E.COMMENT,n.comment="",n.sgmlDecl=""):"DOCTYPE"===(n.sgmlDecl+o).toUpperCase()?(n.state=E.DOCTYPE,(n.doctype||n.sawRoot)&&M(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===o?(A(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=E.TEXT):p(o)?(n.state=E.SGML_DECL_QUOTED,n.sgmlDecl+=o):n.sgmlDecl+=o;continue;case E.SGML_DECL_QUOTED:o===n.q&&(n.state=E.SGML_DECL,n.q=""),n.sgmlDecl+=o;continue;case E.DOCTYPE:">"===o?(n.state=E.TEXT,A(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=o,"["===o?n.state=E.DOCTYPE_DTD:p(o)&&(n.state=E.DOCTYPE_QUOTED,n.q=o));continue;case E.DOCTYPE_QUOTED:n.doctype+=o,o===n.q&&(n.q="",n.state=E.DOCTYPE);continue;case E.DOCTYPE_DTD:n.doctype+=o,"]"===o?n.state=E.DOCTYPE:p(o)&&(n.state=E.DOCTYPE_DTD_QUOTED,n.q=o);continue;case E.DOCTYPE_DTD_QUOTED:n.doctype+=o,o===n.q&&(n.state=E.DOCTYPE_DTD,n.q="");continue;case E.COMMENT:"-"===o?n.state=E.COMMENT_ENDING:n.comment+=o;continue;case E.COMMENT_ENDING:"-"===o?(n.state=E.COMMENT_ENDED,n.comment=P(n.opt,n.comment),n.comment&&A(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+o,n.state=E.COMMENT);continue;case E.COMMENT_ENDED:">"!==o?(M(n,"Malformed comment"),n.comment+="--"+o,n.state=E.COMMENT):n.state=E.TEXT;continue;case E.CDATA:"]"===o?n.state=E.CDATA_ENDING:n.cdata+=o;continue;case E.CDATA_ENDING:"]"===o?n.state=E.CDATA_ENDING_2:(n.cdata+="]"+o,n.state=E.CDATA);continue;case E.CDATA_ENDING_2:">"===o?(n.cdata&&A(n,"oncdata",n.cdata),A(n,"onclosecdata"),n.cdata="",n.state=E.TEXT):"]"===o?n.cdata+="]":(n.cdata+="]]"+o,n.state=E.CDATA);continue;case E.PROC_INST:"?"===o?n.state=E.PROC_INST_ENDING:h(o)?n.state=E.PROC_INST_BODY:n.procInstName+=o;continue;case E.PROC_INST_BODY:if(!n.procInstBody&&h(o))continue;"?"===o?n.state=E.PROC_INST_ENDING:n.procInstBody+=o;continue;case E.PROC_INST_ENDING:">"===o?(A(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=E.TEXT):(n.procInstBody+="?"+o,n.state=E.PROC_INST_BODY);continue;case E.OPEN_TAG:v(d,o)?n.tagName+=o:(k(n),">"===o?D(n):"/"===o?n.state=E.OPEN_TAG_SLASH:(h(o)||M(n,"Invalid character in tag name"),n.state=E.ATTRIB));continue;case E.OPEN_TAG_SLASH:">"===o?(D(n,!0),L(n)):(M(n,"Forward-slash in opening tag not followed by >"),n.state=E.ATTRIB);continue;case E.ATTRIB:if(h(o))continue;">"===o?D(n):"/"===o?n.state=E.OPEN_TAG_SLASH:v(l,o)?(n.attribName=o,n.attribValue="",n.state=E.ATTRIB_NAME):M(n,"Invalid attribute name");continue;case E.ATTRIB_NAME:"="===o?n.state=E.ATTRIB_VALUE:">"===o?(M(n,"Attribute without value"),n.attribValue=n.attribName,R(n),D(n)):h(o)?n.state=E.ATTRIB_NAME_SAW_WHITE:v(d,o)?n.attribName+=o:M(n,"Invalid attribute name");continue;case E.ATTRIB_NAME_SAW_WHITE:if("="===o)n.state=E.ATTRIB_VALUE;else{if(h(o))continue;M(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",A(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===o?D(n):v(l,o)?(n.attribName=o,n.state=E.ATTRIB_NAME):(M(n,"Invalid attribute name"),n.state=E.ATTRIB)}continue;case E.ATTRIB_VALUE:if(h(o))continue;p(o)?(n.q=o,n.state=E.ATTRIB_VALUE_QUOTED):(M(n,"Unquoted attribute value"),n.state=E.ATTRIB_VALUE_UNQUOTED,n.attribValue=o);continue;case E.ATTRIB_VALUE_QUOTED:if(o!==n.q){"&"===o?n.state=E.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=o;continue}R(n),n.q="",n.state=E.ATTRIB_VALUE_CLOSED;continue;case E.ATTRIB_VALUE_CLOSED:h(o)?n.state=E.ATTRIB:">"===o?D(n):"/"===o?n.state=E.OPEN_TAG_SLASH:v(l,o)?(M(n,"No whitespace between attributes"),n.attribName=o,n.attribValue="",n.state=E.ATTRIB_NAME):M(n,"Invalid attribute name");continue;case E.ATTRIB_VALUE_UNQUOTED:if(!g(o)){"&"===o?n.state=E.ATTRIB_VALUE_ENTITY_U:n.attribValue+=o;continue}R(n),">"===o?D(n):n.state=E.ATTRIB;continue;case E.CLOSE_TAG:if(n.tagName)">"===o?L(n):v(d,o)?n.tagName+=o:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=E.SCRIPT):(h(o)||M(n,"Invalid tagname in closing tag"),n.state=E.CLOSE_TAG_SAW_WHITE);else{if(h(o))continue;m(l,o)?n.script?(n.script+="</"+o,n.state=E.SCRIPT):M(n,"Invalid tagname in closing tag."):n.tagName=o}continue;case E.CLOSE_TAG_SAW_WHITE:if(h(o))continue;">"===o?L(n):M(n,"Invalid characters in closing tag");continue;case E.TEXT_ENTITY:case E.ATTRIB_VALUE_ENTITY_Q:case E.ATTRIB_VALUE_ENTITY_U:var u,c;switch(n.state){case E.TEXT_ENTITY:u=E.TEXT,c="textNode";break;case E.ATTRIB_VALUE_ENTITY_Q:u=E.ATTRIB_VALUE_QUOTED,c="attribValue";break;case E.ATTRIB_VALUE_ENTITY_U:u=E.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===o?(n[c]+=x(n),n.entity="",n.state=u):v(n.entity.length?f:_,o)?n.entity+=o:(M(n,"Invalid character in entity name"),n[c]+="&"+n.entity+o,n.entity="",n.state=u);continue;default:throw new Error(n,"Unknown state: "+n.state)}return n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,o=0,a=r.length;o<a;o++){var s=t[r[o]].length;if(s>n)switch(r[o]){case"textNode":C(t);break;case"cdata":A(t,"oncdata",t.cdata),t.cdata="";break;case"script":A(t,"onscript",t.script),t.script="";break;default:I(t,"Max buffer length exceeded: "+r[o])}i=Math.max(i,s)}var u=e.MAX_BUFFER_LENGTH-i;t.bufferCheckPosition=u+t.position}(n),n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;C(e=this),""!==e.cdata&&(A(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(A(e,"onscript",e.script),e.script="")}};try{t=n(2830).Stream}catch(e){t=function(){}}var o=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function a(e,n){if(!(this instanceof a))return new a(e,n);t.apply(this),this._parser=new i(e,n),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,o.forEach((function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})}))}a.prototype=Object.create(t.prototype,{constructor:{value:a}}),a.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=n(2553).s;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},a.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},a.prototype.on=function(e,n){var r=this;return r._parser["on"+e]||-1===o.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),t.prototype.on.call(r,e,n)};var s="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/2000/xmlns/",c={xml:s,xmlns:u},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,_=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function p(e){return'"'===e||"'"===e}function g(e){return">"===e||h(e)}function v(e,t){return e.test(t)}function m(e,t){return!v(e,t)}var y,b,S,E=0;for(var $ in e.STATE={BEGIN:E++,BEGIN_WHITESPACE:E++,TEXT:E++,TEXT_ENTITY:E++,OPEN_WAKA:E++,SGML_DECL:E++,SGML_DECL_QUOTED:E++,DOCTYPE:E++,DOCTYPE_QUOTED:E++,DOCTYPE_DTD:E++,DOCTYPE_DTD_QUOTED:E++,COMMENT_STARTING:E++,COMMENT:E++,COMMENT_ENDING:E++,COMMENT_ENDED:E++,CDATA:E++,CDATA_ENDING:E++,CDATA_ENDING_2:E++,PROC_INST:E++,PROC_INST_BODY:E++,PROC_INST_ENDING:E++,OPEN_TAG:E++,OPEN_TAG_SLASH:E++,ATTRIB:E++,ATTRIB_NAME:E++,ATTRIB_NAME_SAW_WHITE:E++,ATTRIB_VALUE:E++,ATTRIB_VALUE_QUOTED:E++,ATTRIB_VALUE_CLOSED:E++,ATTRIB_VALUE_UNQUOTED:E++,ATTRIB_VALUE_ENTITY_Q:E++,ATTRIB_VALUE_ENTITY_U:E++,CLOSE_TAG:E++,CLOSE_TAG_SAW_WHITE:E++,SCRIPT:E++,SCRIPT_ENDING:E++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],r="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=r})),e.STATE)e.STATE[e.STATE[$]]=$;function T(e,t,n){e[t]&&e[t](n)}function A(e,t,n){e.textNode&&C(e),T(e,t,n)}function C(e){e.textNode=P(e.opt,e.textNode),e.textNode&&T(e,"ontext",e.textNode),e.textNode=""}function P(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function I(e,t){return C(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,T(e,"onerror",t),e}function w(e){return e.sawRoot&&!e.closedRoot&&M(e,"Unclosed root tag"),e.state!==E.BEGIN&&e.state!==E.BEGIN_WHITESPACE&&e.state!==E.TEXT&&I(e,"Unexpected end"),C(e),e.c="",e.closed=!0,T(e,"onend"),i.call(e,e.strict,e.opt),e}function M(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&I(e,t)}function k(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,A(e,"onopentagstart",n)}function O(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],i=n[1];return t&&"xmlns"===e&&(r="xmlns",i=""),{prefix:r,local:i}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=O(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==s)M(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==u)M(e,"xmlns: prefix must be bound to "+u+"\nActual: "+e.attribValue);else{var i=e.tag,o=e.tags[e.tags.length-1]||e;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,A(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function D(e,t){if(e.opt.xmlns){var n=e.tag,r=O(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(M(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){A(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var o=0,a=e.attribList.length;o<a;o++){var s=e.attribList[o],u=s[0],c=s[1],l=O(u,!0),d=l.prefix,_=l.local,f=""===d?"":n.ns[d]||"",h={name:u,value:c,prefix:d,local:_,uri:f};d&&"xmlns"!==d&&!f&&(M(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[u]=h,A(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),A(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=E.TEXT:e.state=E.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function L(e){if(!e.tagName)return M(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=E.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=E.SCRIPT);A(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)M(e,"Unexpected close tag");if(t<0)return M(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=E.TEXT);e.tagName=n;for(var i=e.tags.length;i-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,A(e,"onclosetag",e.tagName);var a={};for(var s in o.ns)a[s]=o.ns[s];var u=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach((function(t){var n=o.ns[t];A(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=E.TEXT}function x(e){var t,n=e.entity,r=n.toLowerCase(),i="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==n?(M(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function N(e,t){"<"===t?(e.state=E.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(M(e,"Non-whitespace before first tag."),e.textNode=t,e.state=E.TEXT)}function U(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}E=e.STATE,String.fromCodePoint||(y=String.fromCharCode,b=Math.floor,S=function(){var e,t,n=[],r=-1,i=arguments.length;if(!i)return"";for(var o="";++r<i;){var a=Number(arguments[r]);if(!isFinite(a)||a<0||a>1114111||b(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,n.push(e,t)),(r+1===i||n.length>16384)&&(o+=y.apply(null,n),n.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:S,configurable:!0,writable:!0}):String.fromCodePoint=S)}(t)},2830:(e,t,n)=>{e.exports=i;var r=n(7187).EventEmitter;function i(){r.call(this)}n(5717)(i,r),i.Readable=n(9481),i.Writable=n(4229),i.Duplex=n(6753),i.Transform=n(4605),i.PassThrough=n(2725),i.finished=n(8610),i.pipeline=n(9946),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},2553:(e,t,n)=>{"use strict";var r=n(396).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=_,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},396:(e,t,n)=>{var r=n(8764),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},4927:(e,t,n)=>{function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},2361:()=>{},4616:()=>{},3963:()=>{},5484:()=>{},260:()=>{},7957:function(e,t,n){var r,i,o,a;function s(e){return s="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},s(e)}e=n.nmd(e),"undefined"!=typeof self&&self,a=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={t:r,i:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.i=!0,i.exports}return n.o=e,n.c=t,n.d=function(e,t,r){n.u(e,t)||Object.defineProperty(e,t,{l:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"v",{value:!0})},n._=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==s(e)&&e&&e.v)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{l:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.v?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.u=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=54)}([function(e,t){var n=n||{};n.filter=function(e,t){var n={};for(var r in t)t.hasOwnProperty(r)&&e(t[r])&&(n[r]=t[r]);return n},n.extend=function(e){var t,n=arguments.length;e=e||{};for(var r=1;r<n;r++)if(t=arguments[r])for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},n.h=function(e,t){if(t=t||0,"object"!=s(e))return e;var r;if(e instanceof Array){r=[];for(var i=0,o=e.length;i<o;i++)r[i]=n.h(e[i],t-1);return r}for(var a in r={},e)if(e.hasOwnProperty(a)){var u=e[a];"object"==s(u)&&t>0&&(u=n.h(u,t-1)),r[a]=u}return r},e.exports.filter=n.filter,e.exports.extend=n.extend,e.exports.h=n.h},function(e,t){var n,r=(n=["play","pause","pause-on-buffering","end","buffer","buffer-stop","keep-alive","hb","custom","load","start","skstart","adskip","cta","error","trans","drmfa","drmap","drmde","bitrt","playrt","volume","window","audio","video","subs","cdn"],{PLAY:0,PAUSE:1,PAUSE_ON_BUFFERING:2,END:3,BUFFER:4,BUFFER_STOP:5,KEEPALIVE:6,HEARTBEAT:7,CUSTOM:8,LOAD:9,ENGAGE:10,SEEK_START:11,AD_SKIP:12,CTA:13,ERROR:14,TRANSFER:15,DRM_FAILED:16,DRM_APPROVED:17,DRM_DENIED:18,BIT_RATE:19,PLAYBACK_RATE:20,VOLUME:21,WINDOW_STATE:22,AUDIO:23,VIDEO:24,SUBS:25,CDN:26,toString:function(e){return n[e]}}),i=function(){var e=["c","s","r"];return{g:0,m:1,S:2,toString:function(t){return e[t]}}}();e.exports.I=r,e.exports.P={IDLE:0,PLAYBACK_NOT_STARTED:1,PLAYING:2,PAUSED:3,BUFFERING_BEFORE_PLAYBACK:4,BUFFERING_DURING_PLAYBACK:5,BUFFERING_DURING_SEEKING:6,BUFFERING_DURING_PAUSE:7,SEEKING_BEFORE_PLAYBACK:8,SEEKING_DURING_PLAYBACK:9,SEEKING_DURING_BUFFERING:10,SEEKING_DURING_PAUSE:11,PAUSED_DURING_BUFFERING:12},e.exports.A=i},function(e,t,n){var r=n(0),i=n(58),o=n(59),a=n(5),u=n(60),c=n(64),l=n(65),d=n(66),_=n(67),f=n(69),h=n(72),p=n(73),g=n(74),v=n(75),m=n(76),y=n(37),b=n(79),S={D:"PLATFORM",C:"defaultLiveEndpointUrl",L:"defaultSecureLiveEndpointUrl",T:"httpGet",N:"httpPost",Storage:"Storage",O:"offlineCache",R:"migratedStorage",k:"migratedIO",M:"defaultStorageWriteInterval",U:"onDataFetch",W:"getCrossPublisherUniqueDeviceId",F:"getApplicationName",B:"getApplicationVersion",V:"getPublisherSpecificUniqueDeviceId",G:"getPublisherSpecificUniqueDeviceIdSuffix",j:"getDeviceModel",H:"getPlatformVersion",K:"getPlatformName",J:"getRuntimeName",Y:"getRuntimeVersion",X:"getDisplayResolution",Z:"getApplicationResolution",nn:"getLanguage",tn:"getPackageName",setPlatformAPI:"setPlatformAPI",setTimeout:"setTimeout",setInterval:"setInterval",clearTimeout:"clearTimeout",clearInterval:"clearInterval",en:"getDeviceArchitecture",in:"getConnectionType",rn:"getDeviceJailBrokenFlag",un:"updateMeasurementLabels",sn:"standardOutputLog",an:"defaultSystemClockJumpDetectorNormalContextInterval",fn:"defaultSystemClockJumpDetectorAlternativeContextInterval",cn:"isNormalContext",ln:"addContextChangeListener",dn:"removeContextChangeListener",vn:"addEnvironmentExitListener",_n:"removeEnvironmentExitListener",pn:"overrideCollectedC12Value",hn:"defaultC12OverrideValue",gn:"getPlatformEnvironmentProperties"};e.exports=new function(){var e,t,n=this;function E(n){if(!e)switch(e=!0,n){case o.SmartTV:r.extend(t,u);break;case o.Netcast:r.extend(t,c);break;case o.Cordova:r.extend(t,d);break;case o.Trilithium:r.extend(t,_);break;case o.AppleTV:r.extend(t,f);break;case o.Chromecast:r.extend(t,p);break;case o.Xbox:r.extend(t,h);break;case o.webOS:r.extend(t,l);break;case o.tvOS:r.extend(t,g);break;case o.JSMAF:r.extend(t,v);break;case o.nodejs:r.extend(t,m);break;case o.html5:r.extend(t,y);break;case o.WebBrowser:r.extend(t,b)}}r.extend(n,{mn:null,PlatformApis:o,yn:null,Sn:function(){e||E(o.WebBrowser)},setPlatformApi:function(e,n){var i,a;if("number"==typeof e)i=e,a=n||{};else{if("object"!=s(e))return;i=o.Skeleton,a=e}E(i),r.extend(t,function(e){var t={};for(var n in S){var r=S[n];r in e&&(t[n]=e[r])}return t}(a))}}),e=!1,n.yn=t=r.h(a),n.mn=new i(n)}},function(e,t){e.exports={wn:"unknown",bn:"0x0",In:"-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD0+fCVxGq3Bk24jUKO1PzsiUs3\nvqww6zR4n2e3AweVLUAgsrDRbAWJ/EjZm1WBLBVNMiTLpSAkV6sjOIrUs03xdUEj\nQZJHwOGK+MfzFaZukoo0qAsEMPwQ5posv0JdkBdUGhKchPk6+NYmD6Hb44Lkp7/a\nQnVeWzvfAPQyTJR5wQIDAQAB\n-----END PUBLIC KEY-----"}},function(e,t){var n,r=r||{};r.En=(n=1,function(){return+new Date+"_"+n++}),r.Pn=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},r.An=function(e){return null==e||""===e||e instanceof Array&&0===e.length},r.Dn=function(e){return!this.An(e)},r.Cn=function(e,t){return t=this.Ln(t)?t:"",this.Ln(e)?e:t},r.Tn=function(e){return void 0!==e&&("string"==typeof e?"true"===(e=e.toLowerCase())||"1"===e||"on"===e:!!e)},r.Nn=function(e,t,n,r,i){if(t<0||r<0||t+i>e.length||r+i>n.length)return!1;for(;--i>=0;)if(e.charAt(t++)!=n.charAt(r++))return!1;return!0},r.Ln=function(e){return void 0!==e&&null!=e},r.On=function(e){return!!(e&&e.constructor&&e.call&&e.apply)},e.exports.On=r.On,e.exports.Ln=r.Ln,e.exports.Nn=r.Nn,e.exports.Tn=r.Tn,e.exports.Cn=r.Cn,e.exports.Dn=r.Dn,e.exports.An=r.An,e.exports.En=r.En,e.exports.uuid=r.Pn},function(e,t,n){var r=n(18),i=n(13),o=n(8),a=n(3),s=n(9),u=a.wn,c=a.bn,l={D:"generic",C:"http://b.scorecardresearch.com/p2",L:"https://sb.scorecardresearch.com/p2",T:i,N:null,Storage:o,O:!1,R:null,k:null,M:0,U:function(e){e()},W:function(){return null},F:function(){return u},B:function(){return u},V:function(){return+new Date+~~(1e3*Math.random())},G:function(){return"72"},j:function(){return u},H:function(){return u},K:function(){return"js"},J:function(){return u},Y:function(){return u},X:function(){return c},Z:function(){return c},nn:function(){return u},tn:function(){return u},setPlatformAPI:function(){},setTimeout:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return setTimeout(e,t)})),setInterval:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return setInterval(e,t)})),clearTimeout:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return clearTimeout(e)})),clearInterval:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return clearInterval(e)})),en:function(){return u},in:function(){return s.UNKNOWN},rn:function(){return u},un:function(e){},sn:function(e){console.log(e)},an:3e3,fn:3e4,cn:function(){return!r.Rn()||!r.kn()},ln:function(e){r.Rn()&&r.Mn(e)},dn:function(e){r.Rn()&&r.Un(e)},vn:function(e){},_n:function(e){},pn:!1,hn:"_",gn:function(){return"0-0-2"}};e.exports=l},function(e,t){t.xn=function(e,t){if("undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&(t&&t(n.status),n=null)},n.send()}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},t.Wn=function(e,t,n){if("undefined"!=typeof XMLHttpRequest){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},function(e,t){var n={Fn:function(e,t,n){return null!=t&&t+""!=""&&null!=n&&(e[t+""]=n+"",!0)},Bn:function(e,t){for(var r in t)t.hasOwnProperty(r)&&n.Fn(e,r,t[r])}};e.exports.Fn=n.Fn,e.exports.Bn=n.Bn},function(e,t,n){var r=n(0);e.exports=function(e){var t;!function(){try{t="undefined"!=typeof localStorage?localStorage:null}catch(e){t=null}}(),r.extend(this,{storeProperties:function(e){if(t)try{"function"==typeof t.setItem?t.setItem("cs_settings",e):t&&(t.Vn=e)}catch(e){}},getProperties:function(){if(!t)return null;try{if("function"==typeof t.getItem)return t.getItem("cs_settings");if(t)return t.Vn}catch(e){}},storeCache:function(e){if(t)try{"function"==typeof t.setItem?t.setItem("cs_cache",e):t&&(t.qn=e)}catch(e){}},getCache:function(){if(!t)return null;try{if("function"==typeof t.getItem)return t.getItem("cs_cache");if(t)return t.qn}catch(e){}}})}},function(e,t){e.exports={UNKNOWN:0,UNAVAILABLE:1,DISCONNECTED:2,CONNECTED:3,ETHERNET:4,WIFI:5,WWAN:6,BLUETOOTH:7,EMULATOR:8}},function(e,t,n){var r=n(0);e.exports=function(){var e="undefined"!=typeof localStorage?localStorage:null;r.extend(this,{get:function(t){try{return e&&"function"==typeof e.getItem?e.getItem("cs_"+t):e?e["cs_"+t]:e}catch(e){}},remove:function(t){try{e&&"function"==typeof e.removeItem?e.removeItem("cs_"+t):e&&delete e["cs_"+t]}catch(e){}},clear:function(){try{for(var t=0;e&&t<e.length;++t){var n=e.key(t);"cs_"===n.substr(0,3)&&("function"==typeof e.removeItem?e.removeItem(n):delete e[n])}}catch(e){}}})}},function(e,t){e.exports={Gn:"ocdrm",jn:"ltrts",Hn:"pappv",Kn:"fits",Jn:"cits",Yn:"cpidmd5",Xn:"cpidrsa",zn:"c12s",Qn:"lappaccts",$n:"lsaccts",Zn:"lappsts",nt:"ftrsc",tt:"accft",et:"accbt",it:"accit",rt:"tft",ot:"tbt",ut:"tit",st:"accappst",ft:"appsc",ct:"g",lt:"lrt",dt:"dc",vt:"dco",_t:"csc",pt:"sl"}},function(e,t,n){var r=n(21),i=n(0);e.exports=function(){var e=this,t="undefined"!=typeof encodeURIComponent?encodeURIComponent:escape,n="undefined"!=typeof decodeURIComponent?decodeURIComponent:unescape,o="undefined"!=typeof localStorage?localStorage:null,a={},s=o&&t&&n;i.extend(e,{dir:function(e){if(!s)return null;var t="cs_dir_"+e,r=a[t];if(r)return r.slice();var i=o.getItem(t);if(i){r=[];for(var u=0,c=(i=i.split("|")).length;u<c;u++)i[u].length>0&&r.push(n(i[u]));return a[t]=r,r.slice()}return null},append:function(t,n,r){if(s){var i=e.read(t,n);i?i+=r:i=r,e.write(t,n,i)}},write:function(n,i,u){if(s){var c=e.dir(n);c||(function(e){var t="cs_dir_"+e;"function"==typeof o.setItem?o.setItem(t,""):o[t]="",a[t]=[]}(n),c=[]),-1==r.indexOf(i,c)&&function(e,n){var r="cs_dir_"+e;try{"function"==typeof o.setItem?o.setItem(r,o.getItem(r)+"|"+t(n)):o[r]=o.getItem(r)+"|"+t(n)}catch(e){}a[r].push(n)}(n,i),function(e,t,n){try{"function"==typeof o.setItem?o.setItem("cs_file_"+e+t,n):o["cs_file_"+e+t]=n}catch(e){}}(n,i,u)}},deleteFile:function(n,i){if(!s)return!1;var u=e.dir(n);return!!u&&-1!=r.indexOf(i,u)&&(function(e,n){var i="cs_dir_"+e,s=a[i];s.splice(r.indexOf(n,s),1);for(var u=[],c=0,l=s.length;c<l;c++)u.push(t(s[c]));try{"function"==typeof o.setItem?o.setItem(i,u.join("|")):o[i]=u.join("|"),"function"==typeof o.removeItem?o.removeItem("cs_file_"+e+n):delete o["cs_file_"+e+n]}catch(e){}}(n,i),!0)},read:function(t,n){if(!s)return null;var i=e.dir(t);return i?-1==r.indexOf(n,i)?null:function(e,t){try{return"function"==typeof o.getItem?o.getItem("cs_file_"+e+t):o["cs_file_"+e+t]}catch(e){}}(t,n):null}})}},function(e,t){e.exports=function(e,t,n){if("undefined"!=typeof Image){var r=new Image;r.onload=function(){t&&t(200),r=null},r.onerror=function(){t&&t(),r=null},r.src=e}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},function(e,t,n){var r=n(0),i=n(1).P;t.ht=function(e){var t={};for(var n in e){var r=e[n];t[n]=null==r?r:e[n]+""}return t},t.gt=function(e,t){var n,r=[];for(n in e)t&&!t.test(n)||!e.hasOwnProperty(n)||(r[r.length]=n);return r},t.yt=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},t.St=function(e,t,n,i){var o=r.h(e,1),a={start:t,end:n};if(a.start>=a.end)return o;for(var s=0;s<o.length;++s){var u=o[s];if(u.start<=a.start&&a.end<=u.end)break;if(u.start<=a.start&&a.start<=u.end&&u.end<=a.end)break;if(a.start<=u.start&&u.start<=a.end&&a.end<=u.end)break;if(a.end<=u.start)break}o.splice(s,0,a);for(var c=1;c<o.length;){var l=o[c],d=o[c-1];d.start<=l.start&&l.end<=d.end?o.splice(c,1):l.start<=d.start&&d.end<=l.end?o.splice(c-1,1):d.start<=l.start&&l.start<=d.end+i&&d.end<=l.end?o.splice(c-1,2,{start:d.start,end:l.end}):l.start<=d.start&&d.start-i<=l.end&&l.end<=d.end?o.splice(c-1,2,{start:l.start,end:d.end}):c++}return o},t.wt=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t]==e)return t},t.bt=function(e){return e==i.IDLE||e==i.BUFFERING_BEFORE_PLAYBACK||e==i.SEEKING_BEFORE_PLAYBACK||e==i.PLAYBACK_NOT_STARTED},t.It=function(e,t){for(var n="hash:",r=0;r<t.length;r++)e[t[r]]&&(n+=t[r]+":"+e[t[r]]+";");return n}},function(e,t,n){var r={VERSION:"7.7.0+211006",Et:!0,Pt:5e3,At:!0,Dt:n(25).STANDARD,Ct:["c1","c2","ca2","cb2","cc2","cd2","ns_site","ns_ap_an","ns_ap_pn","ns_ap_pv","c12","ca12","cb12","cc12","cd12","ns_ak","ns_ar","name","ns_ap_ni","ns_ap_ec","ns_ap_ev","ns_ap_device","ns_ap_id","ns_ap_csf","ns_ap_bi","ns_ap_pfm","ns_ap_pfv","ns_ap_ver","ns_ap_sv","ns_ap_bv","ns_ap_cv","ns_ap_smv","ns_type","cs_partner","cs_xcid","cs_impid","cs_proid","cs_dc_di","cs_dc_ci","cs_dc_ei","ns_ap_ui","ns_ap_gs","ns_ap_ie","ns_ts","ns_ap_cfg","ns_ap_env","ns_ap_ais","ns_ap_ut","ns_ap_er","ns_st_sv","ns_st_pv","ns_st_smv","ns_st_it","ns_st_id","ns_st_ec","ns_st_cn","ns_st_ev","ns_st_sp","ns_st_sc","ns_st_ppc","ns_st_apc","ns_st_spc","ns_st_dppc","ns_st_dapc","ns_st_dspc","ns_st_psq","ns_st_asq","ns_st_sq","ns_st_po","ns_st_lda","ns_st_ldw","ns_st_ldo","ns_st_hc","ns_st_hd","ns_st_mp","ns_st_mv","ns_st_cl","ns_st_sl","ns_st_pn","ns_st_tp","ns_st_ct","ns_st_ad","ns_st_li","ns_st_ty","ns_st_ci","ns_st_si","ns_ap_et","ns_ap_ar","cs_c12u","ca_cs_c12u","cb_cs_c12u","cc_cs_c12u","cd_cs_c12u","ns_ap_cs","ns_ap_fg","ns_ap_dft","ns_ap_dbt","ns_ap_dit","ns_ap_as","ns_ap_das","ns_ap_usage","ns_category","category","ns_radio","ns_st_pt","ns_st_ipt","ns_st_iap","ns_st_iet","ns_st_iupc","ns_st_iupa","ns_st_ilpc","ns_st_ilpa","ns_st_ibc","ns_st_ibt","ns_st_itpc","ns_st_icpc","ns_st_ae","ns_st_er","ns_st_cfg","ns_st_rcn","ns_st_cpo","ns_st_ui","c3","ca3","cb3","cc3","cd3","c4","ca4","cb4","cc4","cd4","c6","ca6","cb6","cc6","cd6","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_ce","ns_st_ia","ns_st_pu","ns_st_st","ns_st_stc","ns_st_sta","ns_st_pr","ns_st_tpr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_tep","ns_st_dt","ns_st_ddt","ns_st_tdt","ns_st_tm","ns_st_dtm","ns_st_ttm","ns_st_ge","ns_st_tge","ns_st_cs","ns_st_ft","ns_st_amg","ns_st_ami","ns_st_amp","ns_st_amw","ns_st_amt","ns_st_ams","ns_st_cde","ns_st_cds","ns_st_cdc","ns_st_cda","ns_st_cdm","ns_st_cmt","ns_st_amd","ns_st_amo","ns_st_sr","ns_st_pl","ns_st_ca","ns_st_cp","ns_st_fee","ns_st_dskc","ns_st_dska","ns_st_skd","ns_st_dskt","ns_st_dpc","ns_ap_i1","ns_ap_i2","ns_ap_i3","ns_ap_i4","ns_ap_i5","ns_ap_i6","cs_ucfr","gdpr","gdpr_p1t","gdpr_li","gdpr_pcc","gdpr_purps","gdpr_consent","c5","c10","c11","c13","c14","c15","c16","ns_ap_install","ns_ap_updated","ns_ap_lastrun","ns_ap_ft","ns_ap_bt","ns_ap_it","ns_ap_res","ns_ap_sd","ns_ap_po","ns_ap_ot","ns_ap_lang","ns_ap_miss","ns_ap_jb","ns_ap_oc","ns_c","ns_st_cev","ns_st_lt","ns_st_br","ns_st_pbr","ns_st_rt","ns_st_prt","ns_st_vo","ns_st_pvo","ns_st_ws","ns_st_pws","ns_st_rp","ns_st_at","ns_st_pat","ns_st_vt","ns_st_pvt","ns_st_tt","ns_st_ptt","ns_st_cdn","ns_st_pcdn","ns_st_pb","ns_st_dpt","ns_st_ap","ns_st_dap","ns_st_et","ns_st_det","ns_st_upc","ns_st_dupc","ns_st_upa","ns_st_dupa","ns_st_lpc","ns_st_dlpc","ns_st_lpa","ns_st_dlpa","ns_st_bc","ns_st_dbc","ns_st_bt","ns_st_dbt","ns_st_bp","ns_st_dtpc","ns_st_dcpc","ns_st_skc","ns_st_ska","ns_st_skt","ns_st_pc","ns_st_pp","ns_st_pa","c7","c8","c9","ns_st_cu","ns_st_amc"]};e.exports=r},function(e,t){e.exports=function(e){var t=this;t.Lt=e,t.Tt={},t.Nt={},t.Ot=+new Date,t.setLabel=function(e,n){t.Nt[e]=n}}},function(e,t,n){var r,i=n(0),o=n(32),a=n(84),u=n(28),c=n(30),l=n(19),d=n(2).yn,_=n(26),f=n(27),h=n(87),p=n(88),g=n(41),v=n(33),m=n(89),y=n(43),b=n(90),S=n(11),E=n(91),$=n(15),T=n(38),A=n(29),C=n(92);r=new function(){var e,t,n,r,P,I,w,M,k,O,R,D,L,x,N,U,B,F,j,H=this;function V(e){j.push((function(){n.Bt(e,G(),N)}))}function W(e,n,r,i){var o;O&&x?e():L?j.push(e):r?(j.push(e),V(n),D=!0):(D||(o=n,j.push((function(){t.notifyEnterForeground(o)})),D=!0),i||V(n),j.push(e),L=!0)}function q(){B.ne()||B.te();for(var t=e.get(S.zn,{}),r=N.getPublisherConfigurations(),i="a".charCodeAt(0)-1,o=0;o<r.length;++o){var a=r[o],s=a.getPublisherId(),u=P.ee(a.getPublisherSecret()),c=t[s],l="";i>="a".charCodeAt(0)&&(l="c"+String.fromCharCode(i)+"_"),i++,c&&c!=u&&n.ie(l+"cs_c12u",c),t[s]=u,a.setPublisherUniqueDeviceId(u)}e.put(S.zn,t)}function G(e){var t;if(e instanceof c)t=e;else{t=new c,"object"==s(e)&&t.addLabels(e);var n=N.getIncludedPublishers();if(n.length>0)for(var r=0;r<n.length;++r)t.addIncludedPublisher(n[r])}return t.getIncludedPublishers().length>0&&N.getPartnerConfigurations().length>0&&t.addIncludedPublisher(o.re),t}r=new p((function(){var e;N.Rt()||P.kt(),((e=P.Ut()).Mt||e.xt)&&N.Wt(e.Ft)})),k=!0,O=!1,R=!1,D=!1,L=!1,x=!1,N=new o,B=new C,j=[],N.addListener((function(i){switch(i){case u.DISABLE:!function(){k&&(k=!1,R&&d.clearTimeout(F),x&&(M.stop(),A.qt().Vt()),(O||R)&&(t.Gt(this),t.jt(this),t.Ht()),w&&w.Kt())}();break;case u.TIME_WINDOW_ELAPSED:n=new a(t,e,w,r,I,P,B),(M=new g(e)).Jt(H),q(),N.getUsagePropertiesAutoUpdateInterval()>=0&&t.Yt(N.getUsagePropertiesAutoUpdateInterval(),N.Xt()==f.FOREGROUND_ONLY),M.zt(N.isKeepAliveMeasurementEnabled()),A.qt().Qt(N),x=!0,e.$t(),function(){for(var e=0;e<j.length;++e)(0,j[e])();j=[]}();break;case u.PARTNER:case u.PUBLISHER:x&&(q(),e.$t());break;case u.OFFLINE_CACHE_MODE:break;case u.KEEP_ALIVE:x&&M.zt(N.isKeepAliveMeasurementEnabled());break;case u.Zt:B.zt(!1)}})),i.extend(H,{configuration:N,start:function(){if(N.oe(),!O&&!R){R=!0;var r,i,o=+new Date;U=new T(N),function(e){var t=new b;t.ue(e),t.se(e)}(e=new h(U)),w=new v(e,U),(r=new E(U,e,w)).ae(),r.fe(),B.ce(e),P=new y(e,B),k&&(I=new m(e,N),t=new _(e,o),B.ne()&&B.te(),t.le(H),t.de(H),L||(i=o,k&&W((function(){0==n.ve()&&n.Bt(i,G(),N)}),i,!1,!0),L=!0),O=!0,e.$t(),F=d.setTimeout((function(){F=null,N._e()}),$.Pt))}},pe:function(e){if(k){var t=+new Date;W((function(){n.pe(t,G(e),N)}),t)}},notifyDistributedContentViewEvent:function(e,t){if(N.getPartnerConfiguration(e)){var n=new l;n.he(!1),n.addIncludedPublisher(o.re),n.setLabel("ns_ap_ev","distributed_view"),n.setLabel("cs_dc_di",e),n.setLabel("cs_dc_ci",t),H.ge(n)}},ge:function(e){if(k){var t=+new Date;W((function(){n.ge(t,G(e),N)}),t)}},notifyUxActive:function(){if(k){var e=+new Date;W((function(){t.notifyUxActive(e)}),e)}},notifyUxInactive:function(){if(k){var e=+new Date;W((function(){t.notifyUxInactive(e)}),e)}},notifyEnterForeground:function(){if(k){var e=+new Date;W((function(){t.notifyEnterForeground(e)}),e,!0)}},notifyExitForeground:function(){if(k){var e=+new Date;W((function(){t.notifyExitForeground(e)}),e,!0)}},flushOfflineCache:function(){k&&O&&W((function(){w.flush(N,!0),w.me(),e.$t()}),+new Date)},clearOfflineCache:function(){k&&O&&W((function(){w.Kt(),w.me(),e.$t()}),+new Date)},clearInternalData:function(){k&&O&&W((function(){e.clear(),e.$t()}),+new Date)},ye:function(){return B},Se:function(){n.we(+new Date,G(),N),e.$t()},be:function(e,t){k&&e==_.Ee.Ie&&(x?M.start(g.Pe):j.push((function(){M.start(g.Pe)})))},Ae:function(e,t){if(k){var n=function(){e==_.Ee.Ie&&(x?M.stop():j.push((function(){M.stop()})))};x?n():j.push(n)}},De:function(e,t){},Ce:function(e,t){}})},e.exports=r},function(e,t){var n={Le:function(){try{return"undefined"!=typeof document}catch(e){return!1}},Te:function(){try{return"undefined"!=typeof navigator}catch(e){return!1}},Rn:function(){if(!n.Le())return!1;var e=!1;return(void 0!==document.hidden||void 0!==document.mozHidden||void 0!==document.msHidden||void 0!==document.webkitHidden)&&(e=!0),e}};n.Ne=function(){if(!n.Le())return null;var e,t,r;void 0!==document.hidden?(e="hidden",t="visibilitychange",r="visibilityState"):void 0!==document.mozHidden?(e="mozHidden",t="mozvisibilitychange",r="mozVisibilityState"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange",r="msVisibilityState"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange",r="webkitVisibilityState");var i={hidden:e,Oe:t,state:r};return function(){return i}}(),n.kn=function(){if(!n.Le())return!1;if(!n.Rn())return!1;var e=n.Ne();return document[e.hidden]},n.Mn=function(e){if(n.Le()&&n.Rn()){var t=n.Ne();document.addEventListener(t.Oe,e,!1)}},n.Un=function(e){if(n.Le()&&n.Rn()){var t=n.Ne();document.removeEventListener(t.Oe,e,!1)}},n.Re=function(){if(!n.Te())return"";var e,t,r=navigator.userAgent||"",i=navigator.appName||"";return-1!=(t=r.indexOf("Opera"))||-1!=(t=r.indexOf("OPR/"))?i="Opera":-1!=(t=r.indexOf("Android"))?i="Android":-1!=(t=r.indexOf("Chrome"))?i="Chrome":-1!=(t=r.indexOf("Safari"))?i="Safari":-1!=(t=r.indexOf("Firefox"))?i="Firefox":-1!=(t=r.indexOf("IEMobile"))?i="Internet Explorer Mobile":"Microsoft Internet Explorer"==i||"Netscape"==i?i="Internet Explorer":(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))?(i=r.substring(e,t)).toLowerCase()==i.toUpperCase()&&(i=navigator.appName):i="unknown",i},n.ke=function(){if(!n.Te())return"";var e,t,r,i=navigator.userAgent||"",o=navigator.appName||"",a=navigator.appVersion?""+parseFloat(navigator.appVersion):"";return-1!=(t=i.indexOf("Opera"))?(a=i.substring(t+6),-1!=(t=i.indexOf("Version"))&&(a=i.substring(t+8))):-1!=(t=i.indexOf("OPR/"))?a=i.substring(t+4):-1!=(t=i.indexOf("Android"))?a=i.substring(t+11):-1!=(t=i.indexOf("Chrome"))?a=i.substring(t+7):-1!=(t=i.indexOf("Safari"))?(a=i.substring(t+7),-1!=(t=i.indexOf("Version"))&&(a=i.substring(t+8))):-1!=(t=i.indexOf("Firefox"))?a=i.substring(t+8):"Microsoft Internet Explorer"==o?null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(i)&&(a=parseFloat(RegExp.$1)):"Netscape"==o?null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(i)&&(a=parseFloat(RegExp.$1)):a=i.lastIndexOf(" ")+1<(t=i.lastIndexOf("/"))?i.substring(t+1):"unknown",-1!=(r=(a=a.toString()).indexOf(";"))&&(a=a.substring(0,r)),-1!=(r=a.indexOf(" "))&&(a=a.substring(0,r)),-1!=(r=a.indexOf(")"))&&(a=a.substring(0,r)),e=parseInt(""+a,10),isNaN(e)&&(a=""+parseFloat(navigator.appVersion)),a},n.Me=function(){return"undefined"==typeof window||(window.ActiveXObject,!0)},n.yt=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},n.Ue=function(){return!!n.Le()&&"s"===document.location.href.charAt(4)},e.exports.Rn=n.Rn,e.exports.Ne=n.Ne,e.exports.kn=n.kn,e.exports.Re=n.Re,e.exports.ke=n.ke,e.exports.Me=n.Me,e.exports.yt=n.yt,e.exports.Ue=n.Ue,e.exports.Mn=n.Mn,e.exports.Un=n.Un},function(e,t,n){var r=n(0),i=n(30);function o(){var e=new i,t=[],n=!0;r.extend(this,e),r.extend(this,{xe:function(e){t=e},We:function(){return t},he:function(e){n=e},Fe:function(){return n}})}o.prototype=Object.create(i.prototype),e.exports=o},function(e,t,n){var r=n(0),i=n(56),o={Be:function(e,t,n){return-1==e.indexOf("?")?e+="?":e+="&",e+o.Ve(t,n)},qe:function(e,t){return r.extend(e,o.ht(t||{}))},ht:function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=null==r?r:e[n]+""}return t},Ve:function(e,t){var n=!1,i="";e=r.h(e);for(var o="undefined"!=typeof encodeURIComponent?encodeURIComponent:escape,a=0;a<t.length;++a){var s=t[a];null!=e[s]&&(n&&(i+="&"),n=!0,i+=o(s)+"="+o(e[s]),delete e[s])}for(s in e)null!=e[s]&&(n&&(i+="&"),n=!0,i+=o(s)+"="+o(e[s]));return i},Ge:function(e){return"unknown"==e?"unknown":i.je(e)?"1":"0"}};e.exports=o},function(e,t){var n={indexOf:function(e,t){var r=-1;return n.forEach(t,(function(t,n){t==e&&(r=n)})),r},forEach:function(e,t,n){try{if("function"==typeof t)if(n=void 0!==n?n:null,"number"!=typeof e.length||void 0===e[0]){var r=void 0!==e.__proto__;for(var i in e)e.hasOwnProperty(i)&&(!r||r&&void 0===e.__proto__[i])&&"function"!=typeof e[i]&&t.call(n,e[i],i)}else for(var o=0,a=e.length;o<a;o++)t.call(n,e[o],o)}catch(e){}}};t.indexOf=n.indexOf,t.forEach=n.forEach},function(e,t){e.exports=n(260)},function(e,t){var n={};n.He=function(){function e(e,t){var a=e[0],s=e[1],u=e[2],l=e[3];a=n(a,s,u,l,t[0],7,-680876936),l=n(l,a,s,u,t[1],12,-389564586),u=n(u,l,a,s,t[2],17,606105819),s=n(s,u,l,a,t[3],22,-1044525330),a=n(a,s,u,l,t[4],7,-176418897),l=n(l,a,s,u,t[5],12,1200080426),u=n(u,l,a,s,t[6],17,-1473231341),s=n(s,u,l,a,t[7],22,-45705983),a=n(a,s,u,l,t[8],7,1770035416),l=n(l,a,s,u,t[9],12,-1958414417),u=n(u,l,a,s,t[10],17,-42063),s=n(s,u,l,a,t[11],22,-1990404162),a=n(a,s,u,l,t[12],7,1804603682),l=n(l,a,s,u,t[13],12,-40341101),u=n(u,l,a,s,t[14],17,-1502002290),a=r(a,s=n(s,u,l,a,t[15],22,1236535329),u,l,t[1],5,-165796510),l=r(l,a,s,u,t[6],9,-1069501632),u=r(u,l,a,s,t[11],14,643717713),s=r(s,u,l,a,t[0],20,-373897302),a=r(a,s,u,l,t[5],5,-701558691),l=r(l,a,s,u,t[10],9,38016083),u=r(u,l,a,s,t[15],14,-660478335),s=r(s,u,l,a,t[4],20,-405537848),a=r(a,s,u,l,t[9],5,568446438),l=r(l,a,s,u,t[14],9,-1019803690),u=r(u,l,a,s,t[3],14,-187363961),s=r(s,u,l,a,t[8],20,1163531501),a=r(a,s,u,l,t[13],5,-1444681467),l=r(l,a,s,u,t[2],9,-51403784),u=r(u,l,a,s,t[7],14,1735328473),a=i(a,s=r(s,u,l,a,t[12],20,-1926607734),u,l,t[5],4,-378558),l=i(l,a,s,u,t[8],11,-2022574463),u=i(u,l,a,s,t[11],16,1839030562),s=i(s,u,l,a,t[14],23,-35309556),a=i(a,s,u,l,t[1],4,-1530992060),l=i(l,a,s,u,t[4],11,1272893353),u=i(u,l,a,s,t[7],16,-155497632),s=i(s,u,l,a,t[10],23,-1094730640),a=i(a,s,u,l,t[13],4,681279174),l=i(l,a,s,u,t[0],11,-358537222),u=i(u,l,a,s,t[3],16,-722521979),s=i(s,u,l,a,t[6],23,76029189),a=i(a,s,u,l,t[9],4,-640364487),l=i(l,a,s,u,t[12],11,-421815835),u=i(u,l,a,s,t[15],16,530742520),a=o(a,s=i(s,u,l,a,t[2],23,-995338651),u,l,t[0],6,-198630844),l=o(l,a,s,u,t[7],10,1126891415),u=o(u,l,a,s,t[14],15,-1416354905),s=o(s,u,l,a,t[5],21,-57434055),a=o(a,s,u,l,t[12],6,1700485571),l=o(l,a,s,u,t[3],10,-1894986606),u=o(u,l,a,s,t[10],15,-1051523),s=o(s,u,l,a,t[1],21,-2054922799),a=o(a,s,u,l,t[8],6,1873313359),l=o(l,a,s,u,t[15],10,-30611744),u=o(u,l,a,s,t[6],15,-1560198380),s=o(s,u,l,a,t[13],21,1309151649),a=o(a,s,u,l,t[4],6,-145523070),l=o(l,a,s,u,t[11],10,-1120210379),u=o(u,l,a,s,t[2],15,718787259),s=o(s,u,l,a,t[9],21,-343485551),e[0]=c(a,e[0]),e[1]=c(s,e[1]),e[2]=c(u,e[2]),e[3]=c(l,e[3])}function t(e,t,n,r,i,o){return t=c(c(t,e),c(r,o)),c(t<<i|t>>>32-i,n)}function n(e,n,r,i,o,a,s){return t(n&r|~n&i,e,n,o,a,s)}function r(e,n,r,i,o,a,s){return t(n&i|r&~i,e,n,o,a,s)}function i(e,n,r,i,o,a,s){return t(n^r^i,e,n,o,a,s)}function o(e,n,r,i,o,a,s){return t(r^(n|~i),e,n,o,a,s)}function a(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var s="0123456789abcdef".split("");function u(e){for(var t="",n=0;n<4;n++)t+=s[e>>8*n+4&15]+s[e>>8*n&15];return t}function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return function(t){return function(e){for(var t=0;t<e.length;t++)e[t]=u(e[t]);return e.join("")}(function(t){var n,r=t.length,i=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)e(i,a(t.substring(n-64,n)));t=t.substring(n-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)o[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(o[n>>2]|=128<<(n%4<<3),n>55)for(e(i,o),n=0;n<16;n++)o[n]=0;return o[14]=8*r,e(i,o),i}(t))}}(),e.exports=n.He},function(e,t){e.exports={DISABLED:4,LAN:3,MANUAL_FLUSH:2,ENABLED:1}},function(e,t){e.exports={STANDARD:1,LAN:2,CACHE:3}},function(e,t,n){var r=n(0),i=n(2).yn,o=n(11),a=n(27),s={Ke:2,Je:3,Ie:4},u={Ye:1,Xe:2,Ie:3};function c(e,t){var n,a,c,l,d,_,f,h,p,g,v,m,y,b,S,E,$,T,A,C,P,I=this,w=[],M=[];function k(e){var t;(t=a?u.Ye:c?u.Xe:u.Ie)!=l&&function(e,t){l!=e&&(function(e,t){switch(e){case u.Ie:break;case u.Xe:case u.Ye:D()}for(var n=0;n<M.length;++n)M[n].be(e,t)}(l,t),function(e,t){switch(e){case u.Ie:break;case u.Xe:d||R();break;case u.Ye:R(),_++}for(var n=0;n<M.length;++n)M[n].Ae(e,t)}(e,t),O(t,!0),l=e)}(t,e)}function O(t,n){var r=t-f;switch(l){case u.Ye:h+=r,p+=r;break;case u.Xe:g+=r,v+=r;break;case u.Ie:m+=r,y+=r}f=t,n&&(e.put(o.Qn,f),e.put(o.nt,_),e.put(o.tt,h),e.put(o.et,g),e.put(o.it,m),e.put(o.rt,p),e.put(o.ot,v),e.put(o.ut,y))}function R(){D(),A>0&&(P=i.setTimeout((function(){I.ze(+new Date,!0),P=null,R(),e.$t()}),A))}function D(){P&&(i.clearTimeout(P),P=null)}function L(e){var t;(t=c?s.Ke:a?s.Je:s.Ie)!=n&&function(e,t){n!=e&&(function(e,t){switch(e){case s.Ke:case s.Je:b=t;break;case s.Ie:N(t)||(S+=t-E)}for(var n=0;n<w.length;++n)w[n].De(e,t)}(n,t),function(e,t){switch(e){case s.Ke:case s.Je:N(t)}for(var n=0;n<w.length;++n)w[n].Ce(e,t)}(e,t),x(t,!0),n=e)}(t,e)}function x(t,r){var i=t-E;switch(n){case s.Ke:case s.Je:S+=i,b=t}E=t,r&&(e.put(o.$n,E),e.put(o.Zn,b),e.put(o.st,S),e.put(o.ct,$),e.put(o.ft,C))}function N(t){var n=!1;return t-b>18e5&&($=t,e.put(o.ct,$),C++,n=!0),b=t,n}_=0,d=!1,l=u.Ie,n=s.Ie,a=!1,c=!1,p=0,v=0,y=0,g=0,h=0,m=0,S=0,$=-1,T=-1,f=-1,E=-1,b=-1,A=0,C=0,f=e.get(o.Qn,-1),E=e.get(o.$n,-1),b=e.get(o.Zn,-1),_=e.get(o.nt,0),h=e.get(o.tt,0),g=e.get(o.et,0),m=e.get(o.it,0),p=e.get(o.rt,0),v=e.get(o.ot,0),y=e.get(o.ut,0),S=e.get(o.st,0),C=e.get(o.ft,0),function(t){T=e.get(o.lt,0),($=e.get(o.ct,-1))<0?($=t,e.put(o.ct,$),T=0,e.put(o.lt,T),b=$,C++):(N(t)||(S+=t-E,e.put(o.st,S)),b=$)}(t),function(t){if(f>0){var n=t-f;m+=n,e.put(o.it,m),y+=n,e.put(o.ut,y)}E=f=t,e.put(o.$n,E),e.put(o.Qn,f),e.put(o.Zn,b)}(t),r.extend(I,{Qe:function(){return l},notifyUxActive:function(t){c||(c=!0,k(t),L(t),e.$t())},notifyUxInactive:function(t){c&&(c=!1,k(t),L(t),e.$t())},notifyEnterForeground:function(t){a||(a=!0,k(t),L(t),e.$t())},notifyExitForeground:function(t){a&&(a=!1,k(t),L(t),e.$t())},ze:function(e,t){O(e,t),x(e,t)},Yt:function(e,t){A=1e3*e,d=t,e>0&&(l==u.Ye||l==u.Xe&&!t)?R():D()},$e:function(t){void 0===t&&(t=!0);var n=C;return t&&(C=0,e.put(o.ft,C)),n},Ze:function(t){void 0===t&&(t=!0);var n=S;return t&&(S=0,e.put(o.st,S)),n},ni:function(t){void 0===t&&(t=!0);var n=m;return t&&(m=0,e.put(o.it,m)),n},ti:function(t){void 0===t&&(t=!0);var n=y;return t&&(y=0),e.put(o.ut,y),n},ei:function(t){void 0===t&&(t=!0);var n=g;return t&&(g=0,e.put(o.et,g)),n},ii:function(t){void 0===t&&(t=!0);var n=h;return t&&(h=0,e.put(o.tt,h)),n},ri:function(t){void 0===t&&(t=!0);var n=p;return t&&(p=0),e.put(o.rt,p),n},oi:function(t){void 0===t&&(t=!0);var n=_;return t&&(_=0,e.put(o.nt,_)),n},ui:function(t){void 0===t&&(t=!0);var n=v;return t&&(v=0),e.put(o.ot,v),n},si:function(){return $},ai:function(){return T},le:function(e){M.push(e)},Gt:function(e){var t=M.indexOf(e);-1!=t&&M.splice(t,1)},de:function(e){w.push(e)},jt:function(e){var t=w.indexOf(e);-1!=t&&w.splice(t,1)},Ht:function(){D()}})}c.fi=a.FOREGROUND_ONLY,c.ci=60,c.li=s,c.Ee=u,e.exports=c},function(e,t){e.exports={DISABLED:2,FOREGROUND_AND_BACKGROUND:1,FOREGROUND_ONLY:0}},function(e,t){e.exports={PERSISTENT_LABELS:0,PARTNER:1,PUBLISHER:2,KEEP_ALIVE:3,LIVE_TRANSMISSION_MODE:4,OFFLINE_CACHE_MODE:5,DISABLE:6,TIME_WINDOW_ELAPSED:7,START_LABELS:8,LABEL_ORDER:9,Zt:10}},function(e,t,n){var r,i=n(0),o=n(2).yn,a={di:1,vi:2,_i:3},s=+new Date;function u(){var e,t,n,r,u,c,l,d,_,f;function h(){l=o.cn(),e&&(v(),p())}function p(){var t=l?d:_;r=+new Date,u=r+t,e=o.setInterval((function(){var e=(r=+new Date)-u;u=r+t,Math.abs(e)>f&&g(e>0?a._i:r<n?a.vi:a.di)}),t)}function g(e){for(var t=0;t<c.length;++t)c[t](e)}function v(){e&&(o.clearInterval(e),e=null)}i.extend(this,{Qt:function(n){n.pi()&&(d=n.hi(),_=n.gi(),f=n.mi(),l=o.cn(),e||p(),t||(t=!0,o.ln(h)))},Vt:function(){v(),t&&(o.dn(h),t=!1)},yi:function(e){c.push(e)},Si:function(e){var t=c.indexOf(e);-1!=t&&c.splice(t,1)},wi:function(t){var i;e?u<t&&t-u>f?i=a._i:n>t?i=a.vi:r>t&&(i=a.di):n>t&&(i=a.vi),i&&(g(i),e&&(v(),p())),n=t}}),e=null,t=!1,c=[],n=s,l=!0,d=-1,_=-1,f=1e3}u.bi=1e3,u.ENABLED=!0,u.Ii=a,u.qt=function(){return r||(r=new u),r},e.exports=u},function(e,t,n){var r=n(0),i=n(7);e.exports=function(){var e={},t=[],n={};r.extend(this,{addLabels:function(t){i.Bn(e,t)},getLabels:function(){return e},setLabel:function(t,n){i.Fn(e,t,n)},getIncludedPublishers:function(){return t},addIncludedPublisher:function(e){t&&-1==t.indexOf(e)&&t.push(e)},addPublisherLabels:function(e,t){e&&(n[e]=n[e]||{},i.Bn(n[e],t))},setPublisherLabel:function(e,t,r){e&&(n[e]=n[e]||{},i.Fn(n[e],t,r))},getPublisherLabels:function(e){return n[e]||{}}})}},function(e,t,n){var r=n(0),i=n(7),o=n(52);function a(){var e,t,n,a,u,c=this;function l(e,t){null!=e&&d("ns_st_ct",(t?"ac":"vc")+e)}function d(e,n){i.Fn(t,e,n)}function _(e){delete t[e]}t={},u=!1,n={},e=new o,d("ns_st_li","0"),d("ns_st_ty","video"),r.extend(c,e),r.extend(c,{setMediaType:function(e){(a=e)==s.LIVE||a==s.USER_GENERATED_LIVE?d("ns_st_li","1"):d("ns_st_li","0"),l(a,u)},classifyAsAudioStream:function(e){null==e&&(e=!0),d("ns_st_ty",(u=e)?"audio":"video"),l(a,u)},classifyAsCompleteEpisode:function(e){null==e&&(e=!0),e?d("ns_st_ce","1"):_("ns_st_ce")},carryTvAdvertisementLoad:function(e){null==e&&(e=!0),e?d("ns_st_ia","1"):_("ns_st_ia")},setLength:function(e){d("ns_st_cl",e)},setTotalSegments:function(e){d("ns_st_tp",e)},setClipUrl:function(e){d("ns_st_cu",e)},setFeedType:function(e){d("ns_st_ft",e)},setVideoDimensions:function(e,t){d("ns_st_cs",(e=e||0)+"x"+(t=t||0))},setStack:function(e,t){n[e]=t},getStandardLabels:function(){return r.extend({},e.getStandardLabels(),t)},getMetadataLabels:function(){return r.extend({},c.getStandardLabels(),c.getCustomLabels())},getStacks:function(){return n}})}r.extend(a,o);var s={LONG_FORM_ON_DEMAND:"12",SHORT_FORM_ON_DEMAND:"11",LIVE:"13",USER_GENERATED_LONG_FORM_ON_DEMAND:"22",USER_GENERATED_SHORT_FORM_ON_DEMAND:"21",USER_GENERATED_LIVE:"23",BUMPER:"99",OTHER:"00"};a.ContentType=s,a.ContentFeedType={EAST_HD:"EASTHD",WEST_HD:"WESTHD",EAST_SD:"EASTSD",WEST_SD:"WESTSD",OTHER:"OTHER"},e.exports=a},function(e,t,n){var r=n(0),i=n(7),o=n(4),a=n(33),s=n(24),u=n(15),c=n(3),l=n(26),d=n(38),_=n(28),f=n(82),h=n(42),p=n(39),g=n(2),v=g.yn,m=n(29),y=c.wn;function b(){var e,t,n,c,S,E,$,T,A,C,P,I,w,M,k,O,R,D,L,x,N,U,B,F,j,H,V,W,q,G,Y,K,z,X,Q,J,Z,ee,te,ne=this;function re(){if(function(){if(B.length>0){for(var e=!1,t=0;t<M.length;++t){var n=M[t];if(-1!=B.indexOf(n.getPublisherId())){e=!0;break}}return!e&&k.length>0&&-1!=B.indexOf("21193409")&&(e=!0),e}return!0}()){if(oe(),P)!function(){var e=P.split("?");if(P=e[0],e[1])for(var t=e[1].split("&"),n=0;n<t.length;n++){var r=t[n].split("=");$[r[0]]=r[1]?r[1]:""}}();else{var t=v.L,n=v.C;P=e?o.On(t)?t():t:o.On(n)?n():n}w&&w!=a.Ei||(w=e?a.Pi:a.Ei),k.length>0&&0==M.length&&ie(),c=!0,ae(_.TIME_WINDOW_ELAPSED)}}function ie(){if(!E){E=!0;var e=new h({publisherId:G.getPublisherId(),publisherSecret:G.getPublisherSecret()});M.push(e),ae(_.PUBLISHER)}}function oe(){!function(){if(0!=M.length)for(var n=0;n<M.length;++n){var r=M[n];r.getPublisherId()!=G.getPublisherId()&&(e=r.isSecureTransmissionEnabled(),A=r.isKeepAliveMeasurementEnabled(),t=r.isHttpRedirectCachingEnabled())}}(),function(){if(0!=k.length)for(var n=1==M.length&&M[0].getPublisherId()==G.getPublisherId(),r=0;r<k.length;++r){var i=k[r];n&&i.isSecureTransmissionEnabled()&&(e=!0),A=i.isKeepAliveMeasurementEnabled(),t=i.isHttpRedirectCachingEnabled()}}()}function ae(e){for(var t=x.slice(),n=0;n<t.length;++n)t[n](e)}r.extend(ne,{oe:function(){g.Sn(),z=-1==z?v.an:z,X=-1==X?v.fn:X,R=R||v.F(),D=D||v.B()},addListener:function(e){o.On(e)&&x.push(e)},_e:function(){S||(S=!0,(k.length>0||M.length>0)&&re())},addClient:function(e){e instanceof p&&function(e){if(e.getPartnerId()){for(var t=0;t<k.length;++t)if(k[t].getPartnerId()==e.getPartnerId())return;k.push(e),ie(),S&&(c?oe():re()),ae(_.PARTNER)}}(e),e instanceof h&&function(e){if(e.getPublisherId()&&e.getPublisherSecret()&&e.getPublisherId()!=b.re){for(var t=0;t<M.length;++t)if(M[t].getPublisherId()==e.getPublisherId())return;M.length>0&&M[M.length-1].getPublisherId()==G.getPublisherId()?M.splice(M.length-1,0,e):M.push(e),S&&(c?oe():re()),ae(_.PUBLISHER)}}(e)},Ai:function(){var r="";return r+=e?"1":"0",r+=A?"1":"0",r+=t?"1":"0",r+=n?"1":"0",r+=K?"1":"0",r+=J?"1":"0",r+=O?"1":"0",r+="-",r+=C+"",r+=I+"",r+=W+"",r+="-",r+=q.toString(16).toUpperCase(),r+="-",r+=F.toString(16).toUpperCase(),r+="-",r+=j.toString(16).toUpperCase(),r+="-",r+=V.toString(16).toUpperCase(),r+="-",r+=H.toString(16).toUpperCase(),r+="-",r+=(z/100).toString(16).toUpperCase(),r+="-",r+=(X/100).toString(16).toUpperCase(),(r+="-")+(Q/100).toString(16).toUpperCase()},Di:function(e){for(var t=0;t<M.length;++t)if(M[t].getPublisherId()==e)return!0;return!1},Ci:function(e){for(var t=0;t<k.length;++t)if(k[t].getPartnerId()==e)return!0;return!1},getPartnerConfiguration:function(e){for(var t=0;t<k.length;++t){var n=k[t];if(n.getPartnerId()==e)return n}return null},getPublisherConfiguration:function(e){for(var t=0;t<M.length;++t){var n=M[t];if(n.getPublisherId()==e)return n}return null},Li:function(){for(var e=[],t=0;t<M.length;++t){var n=M[t];e.push(n.getPublisherId())}return e},getPublisherConfigurations:function(){return M},getPartnerConfigurations:function(){return k},getLabelOrder:function(){return L},setLabelOrder:function(e){e instanceof Array&&(L=r.h(e),ae(_.LABEL_ORDER))},Ti:function(){return P},setLiveEndpointUrl:function(e){c||(P=e+"")},Ni:function(){return w},setOfflineFlushEndpointUrl:function(e){c||(w=e)},F:function(){return R},setApplicationName:function(e){c||(R=e)},setApplicationVersion:function(e){c||(D=e)},B:function(){return D},Oi:function(){return v.tn()},setPersistentLabel:function(e,t){i.Fn($,e,t)&&ae(_.PERSISTENT_LABELS)},removeAllPersistentLabels:function(){$={},ae(_.PERSISTENT_LABELS)},removePersistentLabel:function(e){delete $[e],ae(_.PERSISTENT_LABELS)},getPersistentLabels:function(){return $},getPersistentLabel:function(e){return $[e]},containsPersistentLabel:function(e){return null!=$[e]},addPersistentLabels:function(e){i.Bn($,e),ae(_.PERSISTENT_LABELS)},setStartLabel:function(e,t){i.Fn(T,e,t)&&ae(_.START_LABELS)},removeAllStartLabels:function(){T={},ae(_.START_LABELS)},removeStartLabel:function(e){delete T[e],ae(_.START_LABELS)},addStartLabels:function(e){i.Bn(T,e),ae(_.START_LABELS)},getStartLabels:function(){return T},Ri:function(e){return T[e]},containsStartLabel:function(e){return null!=T[e]},isKeepAliveMeasurementEnabled:function(){return A},isSecureTransmissionEnabled:function(){return e},isHttpRedirectCachingEnabled:function(){return t},setLiveTransmissionMode:function(e){e&&(C=e,ae(_.LIVE_TRANSMISSION_MODE))},ki:function(){return C},enableImplementationValidationMode:function(){c||(n=!0)},Mi:function(){return n},setOfflineCacheMode:function(e){e&&(I=e,ae(_.OFFLINE_CACHE_MODE))},Ui:function(){return I},setUsagePropertiesAutoUpdateMode:function(e){e&&(c||(W=e))},Xt:function(){return W},setUsagePropertiesAutoUpdateInterval:function(e){c||(q=e)},getUsagePropertiesAutoUpdateInterval:function(){return q},setCacheMaxMeasurements:function(e){c||(F=e)},xi:function(){return F},setCacheMaxFlushesInARow:function(e){c||(j=e)},Wi:function(){return j},setCacheMinutesToRetry:function(e){c||(H=e)},Fi:function(){return H},setCacheMeasurementExpiry:function(e){c||(V=e)},Bi:function(){return V},isEnabled:function(){return U},Vi:function(){return c},disable:function(){U&&(U=!1,ae(_.DISABLE))},disableTcfIntegration:function(){O&&(O=!1,ae(_.Zt))},removeListener:function(e){if(o.On(e)){var t=x.indexOf(e);-1!=t&&x.splice(t,1)}},qi:function(){return ne.getPublisherConfiguration("21193409")},setDebugEnabled:function(e){c||(Y=e)},Gi:function(){return Y},setSystemClockJumpDetectionEnabled:function(e){c||(K=e)},pi:function(){return K},setSystemClockJumpDetectionInterval:function(e){c||(e=100*Math.floor(e/100),z=e)},setSystemClockJumpDetectionAlternativeContextInterval:function(e){c||(e=100*Math.floor(e/100),X=e)},hi:function(){return z},gi:function(){return X},setSystemClockJumpDetectionPrecision:function(e){c||(e=100*Math.floor(e/100),Q=e)},mi:function(){return Q},setStorageWriteInterval:function(e){0!=Z&&(e<d.ji||e>d.Hi)||(ee=!0,Z=e)},Ki:function(){return ee?Z:v.M},addIncludedPublisher:function(e){-1==B.indexOf(e)&&B.push(e)},getIncludedPublishers:function(){return B},addCrossPublisherUniqueDeviceIdChangeListener:function(e){o.On(e)&&-1===N.indexOf(e)&&N.push(e)},removeCrossPublisherUniqueDeviceIdChangeListener:function(e){var t=N.indexOf(e);-1!==t&&N.splice(t,1)},Wt:function(e){if("string"==typeof e)for(var t=0;t<N.length;t++)N[t](e)},enableChildDirectedApplicationMode:function(){c||(J=!0)},Rt:function(){return J},Ji:null}),U=!0,E=!1,c=!1,S=!1,H=a.Yi,F=a.Xi,j=a.zi,V=a.Qi,W=l.fi,q=l.ci,$={},T={},L=u.Ct,B=[],G=new h({publisherId:"21193409"}),C=u.Dt,I=s.ENABLED,A=G.isKeepAliveMeasurementEnabled(),e=!1,t=!0,n=!1,x=[],N=[],k=[],M=[],O=!0,Y=!1,K=m.ENABLED,z=-1,X=-1,Q=m.bi,J=!1,Z=d.$i,ee=!1,R=y,D=y,te=new f(ne),ne.Ji=te}b.re="21193409",e.exports=b},function(e,t,n){var r=n(0),i=n(20),o=n(57),a=n(24),s=n(80),u=n(23),c=n(2).yn,l=n(9),d=n(11);function _(e,t){var n,_,f,h,p,g=this;function v(t,r){var i=t.Ui(),o=c.in();return!(i==a.DISABLED||i==a.MANUAL_FLUSH&&!r||i==a.LAN&&(o==l.WWAN||o==l.BLUETOOTH||o==l.DISCONNECTED)||function(t){var n=60*t.Fi()*1e3,r=t.Wi();return+new Date-e.get(d.jn,-1)>n&&(p=0),p>r}(t)||0==n.length||_)}_=!1,n=[],f=null,h=e.get(d.Gn,0),p=0,function(){var e=t.getCache();if(null!=e)try{var r=JSON.parse(e);if(!(r instanceof Array))return;n=r}catch(e){}}(),r.extend(g,{me:function(){c.O&&e.put(d.Gn,h)},tr:function(){if(c.O){var e=JSON.stringify(n);t.storeCache(e)}},onSuccess:function(){_=!1,f=null,h=0,g.tr()},onFailure:function(){_=!1,n=f.concat(n),f=null,g.tr()},er:function(e,t){c.O&&t.Ui()!=a.DISABLED&&(function(e){return n.length<=e.xi()}(t)?n.push(e.getLabels()):h++)},ir:function(e){if(c.O){for(var t=[],r=0;r<e.length;++r)t.push(e[r].getLabels());n=t.concat(n)}},flush:function(e,t){c.O&&v(e,t)&&function(e){_=!0;var t=e.Ni(),r={};r.c2=e.getPublisherConfigurations()[0].getPublisherId();var a="JetportGotAMaskOfThe"+e.getPublisherConfigurations()[0].getPublisherSecret()+"S.D_K-";a=u(a),r.s=a;var c=i.Be(t,r,e.getLabelOrder());!function(e){for(var t=+new Date-24*e.Bi()*60*60*1e3,r=0;r<n.length;){var i=n[r];parseInt(i.ns_ts)<t?(n.splice(r,1),h++):r++}}(e),f=n,n=[],p++;var l=o.Zi(e,f,h);new s(c,l,g,e).nr()}(e)},rr:function(){return n.length},Kt:function(){n=[]}})}_.Qi=31,_.Xi=2e3,_.Ei="http://udm.scorecardresearch.com/offline",_.Pi="https://udm.scorecardresearch.com/offline",_.zi=10,_.Yi=30,e.exports=_},function(e,t){t.or=function(e,t){if("undefined"!=typeof atv&&"undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(t&&t(n.status),n=null)},n.send()}else"undefined"!=typeof atv&&"function"==typeof atv.setTimeout?t&&atv.setTimeout(t,0):t&&t()},t.ur=function(e,t,n){if("undefined"!=typeof atv&&"undefined"!=typeof XMLHttpRequest){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else"undefined"!=typeof atv&&"function"==typeof atv.setTimeout?n&&atv.setTimeout(n,0):n&&n()}},function(e,t){t.sr=function(e,t){"undefined"!=typeof WinJS&&void 0!==WinJS.xhr?WinJS.xhr({url:e}).then((function(e){t&&t(e.status)}),(function(){t&&t()})):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},t.ar=function(e,t,n){"undefined"!=typeof WinJS&&void 0!==WinJS.xhr?WinJS.xhr({type:"post",url:e,data:t,headers:{"Content-type":"application/xml"}}).then((function(e){n&&n(e.status)}),(function(){n&&n()})):"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},function(e,t,n){var r=n(18),i=[],o=!1;function a(){for(var e=0;e<i.length;++e)i[e]()}e.exports={cr:function(e){i.push(e),o||r.yt()&&(window.addEventListener?(window.addEventListener("unload",a,!1),o=!0):window.attachEvent&&(window.attachEvent("onunload",a),o=!0))},lr:function(e){for(var t=0;t<i.length;++t)if(i[t]==e){i.splice(t,1);break}0==i.length&&r.yt()&&(window.removeEventListener?(window.removeEventListener("unload",a,!1),o=!1):window.detachEvent&&(window.detachEvent("onunload",a),o=!1))}}},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(18),s=n(3),u=n(13),c=n(6).xn,l=n(6).Wn,d=n(8),_=n(12),f=n(10),h=n(36),p="undefined"!=typeof document&&document||void 0,g=s.wn,v=s.bn,m=r.extend({},i,{D:"html5",T:function(){return"undefined"!=typeof Image?u.apply(this,arguments):c.apply(this,arguments)},N:l,Storage:d,R:f,k:_,O:!0,M:6e4,F:function(){return p&&o.Ln(p.title)&&p.title||g},V:function(){return this.j()+ +new Date+~~(1e3*Math.random())},G:function(){return"72"},j:function(){return"undefined"!=typeof window&&o.Ln(window.navigator)&&o.Cn(window.navigator.platform,"")||""},H:function(){return o.Cn(a.Re()+" "+a.ke(),"")},J:function(){return"html"},Y:function(){return"5"},X:function(){var e,t;"undefined"!=typeof window&&window.screen&&window.screen.width&&(e=window.screen.width),"undefined"!=typeof window&&window.screen&&window.screen.width&&(t=window.screen.height);var n=1;return"undefined"!=typeof window&&window.devicePixelRatio&&(n=window.devicePixelRatio),e>0&&t>0?(e*=n)+"x"+(t*=n):v},Z:function(){var e,t;"undefined"!=typeof window&&window.innerWidth&&(e=window.innerWidth),"undefined"!=typeof window&&window.innerHeight&&(t=window.innerHeight);var n=1;return"undefined"!=typeof window&&window.devicePixelRatio&&(n=window.devicePixelRatio),e>0&&t>0?(e*=n)+"x"+(t*=n):v},nn:function(){return"undefined"!=typeof window&&o.Ln(window.navigator)&&o.Cn(window.navigator.language,"")||g},vn:function(e){h.cr(e)},_n:function(e){h.lr(e)}});e.exports=m},function(e,t,n){var r=n(0),i=n(2).yn,o=n(81);function a(e){var t,n,a,s,u,c;function l(){a&&(a=!1,t.storeProperties(n)),u&&(u=!1,t.storeCache(s))}function d(){if(-1==c){var t=e.Ki();0==t?l():c=i.setTimeout((function(){c=-1,l()}),t)}}r.extend(this,{storeProperties:function(e){n=e,a=!0,d()},getProperties:function(){return a?n:t.getProperties()},storeCache:function(e){s=e,u=!0,d(),t.storeCache(e)},getCache:function(){return u?s:t.getCache()}}),t="function"==typeof i.Storage?new i.Storage(e):new o,n="",s="",a=!1,u=!1,c=-1}a.ji=6e4,a.Hi=3e5,a.$i=0,e.exports=a},function(e,t,n){var r=n(0),i=n(40);e.exports=function(e){var t,n,o;function a(t,n){return e&&null!=e[t]?e[t]:n}t=new i(e=e||{}),r.extend(this,t),r.extend(this,{getPartnerId:function(){return n},getExternalClientId:function(){return o}}),n=a("partnerId",""),o=a("externalClientId","")}},function(e,t,n){var r=n(0),i=n(7),o=n(15),a=n(41);e.exports=function(e){var t,n,s,u,c;function l(t,n){return e&&null!=e[t]?e[t]:n}r.extend(this,{addPersistentLabels:function(e){i.Bn(n,e)},setPersistentLabel:function(e,t){i.Fn(n,e,t)},removeAllPersistentLabels:function(){n={}},removePersistentLabel:function(e){delete n[e]},getStartLabels:function(){return t},getPersistentLabels:function(){return n},containsPersistentLabel:function(e){return null!=n[e]},containsStartLabel:function(e){return null!=t[e]},getPersistentLabel:function(e){return n[e]},isKeepAliveMeasurementEnabled:function(){return s},isSecureTransmissionEnabled:function(){return u},isHttpRedirectCachingEnabled:function(){return c}}),s=a.ENABLED,u=o.At,c=o.Et,n={},t=l("startLabels",t={}),n=l("persistentLabels",n),s=l("keepAliveMeasurement",s),u=l("secureTransmission",u),c=l("httpRedirectCaching",c)}},function(e,t,n){var r=n(0),i=n(2).yn,o=n(11);function a(e){var t,n,a,s,u=this;t=!0,n=!1,r.extend(u,{start:function(r){u.stop(),t&&(n=!0,a=i.setTimeout((function(){if(function(){if(t){var n=e.get(o.jn,0),r=+new Date-n;n>0&&r>86399e3&&s&&s.Se()}}(),n){var r=e.get(o.jn,0);if(0==r)u.start(3e3);else{var i=864e5-(+new Date-r);u.start(i)}}}),r))},stop:function(){n&&(n=!1,i.clearTimeout(a),a=null)},zt:function(e){t=e},Jt:function(e){s=e}})}a.ENABLED=!0,a.Pe=3e3,e.exports=a},function(e,t,n){var r=n(0),i=n(40),o=n(43);e.exports=function e(t){var n,a,s,u,c;function l(e,n){return t&&null!=t[e]?t[e]:n}t=r.h(t||{}),a=l("publisherId",a),c=l("publisherUniqueDeviceIdListener"),s=o.dr(a),u=null,n=new i(t),r.extend(this,n),r.extend(this,{getPublisherId:function(){return a},getPublisherSecret:function(){return s},getPublisherUniqueDeviceId:function(){return u},setPublisherUniqueDeviceId:function(e){u=e,"function"==typeof c&&c(e)},copy:function(n){return new e(n=r.extend(t,n))}})}},function(e,t,n){var r=n(0),i=n(2).yn,o=n(11),a=n(23),s=n(83);function u(e,t){var n=null,u=null,c=!0,l=!1,d={};r.extend(this,{kt:function(){var r="";t.ne()?r=(i.W()||"null").split(" "):t.te();var _=r[0]&&"null"!=r[0]?r[0]:null;if(null==_)return n=null,u=null,void(d={Ft:null,Mt:!1,xt:c});u||(n=e.get(o.Yn,null),u=e.get(o.Xn,null)),u?"none"==_&&"none"==u||!c&&"none"==u||"none"!=_&&a(_)==n||(l=!0,c&&"none"!=_?(n=a(_),u=s(_)):(n=null,u="none"),e.put(o.Xn,u),null==n?e.remove(o.Yn):e.put(o.Yn,n)):("none"==_?(n=null,u="none"):(n=a(_),u=s(_)),e.put(o.Xn,u),null==n?e.remove(o.Yn):e.put(o.Yn,n)),d={Ft:u,Mt:l,xt:c},c=!1},Ut:function(){return d},me:function(){},ee:function(e){var n,r;return t.ne()?(n=i.V(),r=i.G()):(t.te(),n=+new Date+~~(1e3*Math.random()),r=72),a(n+e)+"-cs"+r}})}u.dr=function(e){return a("zutphen2011comScore@"+e)},e.exports=u},function(e,t,n){var r=n(0);e.exports=function(){var e,t={};r.extend(this,{vr:function(e){return null!=t[e]},_r:function(e){return t[e]},addLabels:function(e){r.extend(t,e)},setLabel:function(e,n){t[e]=n+""},pr:function(){return"start"==t.ns_ap_ev},getLabels:function(){return t},setLiveEndpointUrl:function(t){e=t},Ti:function(){return e}})}},function(e,t,n){var r=n(1).I,i=n(0),o=n(16);function a(e){var t,n,a,s=this;function u(){var t=new o(r.KEEPALIVE);e.gr().hr(t),s.start()}function c(){null!=a&&(e.gr().mr().clearTimeout(a),a=null)}i.extend(s,{start:function(){t&&(c(),a=e.gr().mr().setTimeout(u,n))},stop:function(){t&&c()}}),t=e.getConfiguration().yr,n=e.getConfiguration().Sr}a.wr=12e5,a.br=6e4,a.ENABLED=!0,e.exports=a},function(e,t,n){var r=n(0);function i(e){var t,n,i,o,a,s,u=this;function c(){a++,o=0,u.resume(),e.gr().Ir()}function l(){null!=i&&(e.gr().mr().clearTimeout(i),i=null)}r.extend(this,{Er:function(){return a},Pr:function(e){var t=0;if(null!=n)for(var r=0;r<n.length;r++){var i=n[r],o=i.Ar;if(!o||e<o){t=i.interval;break}}return t},resume:function(){if(t){l();var n=u.Pr(e.Lr().Cr().Dr()+(+new Date-e.Lr().Cr().Tr()));if(n>0){var r=o>0?o:n;s=+new Date+r,i=e.gr().mr().setTimeout(c,r)}o=0}},pause:function(){if(t){l();var n=u.Pr(e.Lr().Cr().Dr()+(+new Date-e.Lr().Cr().Tr()));o=n-(e.Lr().Cr().Dr()+(+new Date-e.Lr().Cr().Tr()))%n}},reset:function(){t&&(l(),o=0,a=0)},Nr:function(e){return null==i?-1:s-e}}),o=0,a=0,t=e.getConfiguration().Or,n=r.h(e.getConfiguration().Rr)}i.ENABLED=!0,i.kr=[{Ar:6e4,interval:1e4},{Ar:null,interval:6e4}],i.Mr=function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;++n){var r=e[n],i=t[n];if(r.Ar!=i.Ar)return!1;if(r.interval!=i.interval)return!1}return!0},e.exports=i},function(e,t,n){var r=n(0),i=n(4),o=n(14),a=n(48),s=n(49).Ur,u=n(1).P,c=n(1).I,l=n(3),d=n(50),_=d.AdvertisementType,f=n(31),h=n(53),p=n(113),g=n(16);function v(e){var t,n,v,m,y,b,S,E,$,T,A,C,P,I,w,M,k,O,R,D,L,x,N,U,B,F,j,H,V,W,q,G,Y=this;r.extend(this,{xr:function(){var t=n,r=new f,i=h.It(r);n=new h(e,r,i),h.xr(t,n)},addLabels:function(e){null!=e&&r.extend(E,e)},getLabels:function(){return E},setLabel:function(e,t){var n={};n[e]=t,Y.addLabels(n)},_r:function(e){return E[e]},Cr:function(){return n},Bn:function(e,t){var i=e;i.ns_st_pa=y+(isNaN(b)?0:t-b)+"",i.ns_st_pp=k+"",i.ns_st_sp=O+"",i.ns_st_bp=R+"",P||(i.ns_st_pb="1"),n.Wr()&&(i.ns_st_ppc=I+"",i.ns_st_dppc=I-w+"",i.ns_st_psq=M+""),i.ns_st_sc=L+"",r.extend(i,S)},Fr:function(){O++},Br:function(){k++},Vr:function(e){if(!isNaN(b)){var t=Y.Dr();t+=e-b,Y.qr(t),b=NaN}},Gr:function(e){if(!isNaN(m)){var t=Y.jr();t+=e-m,Y.Hr(t),m=NaN}},jr:function(){return R},Hr:function(e){R=e},Dr:function(){return y},Kr:function(e){m=e},Jr:function(){return m},qr:function(e){y=e},Yr:function(e){b=e},Tr:function(){return b},Xr:function(){return k},zr:function(e){k=e},Qr:function(){return A},$r:function(e,r,i){var o;if(n.Zr(n.no()),n.to(n.eo()),!H||e!=u.IDLE&&e!=u.PLAYBACK_NOT_STARTED&&e!=u.BUFFERING_BEFORE_PLAYBACK&&e!=u.SEEKING_BEFORE_PLAYBACK&&r!=u.PLAYING)if(e==u.IDLE){var s=t.io();o=a.ro(n._r("ns_st_ad"))||V&&1==B?0:T[n.oo()]&&s&&s.oo()==n.oo()?n.uo():0}else o=e==u.PLAYING?n.so(i):n.uo();else o=F,H=!1;n.ao(o),n.fo(i)},co:function(e,t,r){var i,o=n.lo();n.Zr(n.no()),n.to(n.eo()),n.do()?e==u.IDLE||e==u.BUFFERING_BEFORE_PLAYBACK||e==u.SEEKING_BEFORE_PLAYBACK||e==u.PLAYBACK_NOT_STARTED||t==u.PLAYING?(W?(W=!1,o=j):o=n.vo(r),i=n._o(r,o)):e==u.PLAYING?(o=n.po(r),i=n.ho(r)):(o=n.vo(r),i=n._o(r,o)):(W&&(W=!1,o=j),i=n.mo()-o),n.ao(i),n.fo(r),n.yo(o),n.So(r)},wo:function(){var e,r=t.io();e=a.ro(n._r("ns_st_ad"))?1:V?B:T[n.oo()]&&T[n.oo()]&&r&&r.oo()==n.oo()?n.bo()?n.Io():n.Io()+1:1,n.Eo(e),V=!1},Po:function(){t.Ao(n),v&&t.Ao(v);var e=n.Do();if(C<e&&(C=e),a.ro(n._r("ns_st_ad"))){var r=o.It(n.getLabels(),s),i=parseInt(n._r("ns_st_an"));if((null==N[r]||N[r]<i)&&(N[r]=i),U[n.oo()]=G,n.vr("ns_st_rcn")){var u=parseInt(n._r("ns_st_rcn"));C<u&&(C=u)}}$&&(Y.Fr(),Y.Co(0),$=!1),A=!0},Lo:function(){T[n.oo()]=!0,a.ro(n._r("ns_st_ad"))||(1==n.Io()?q[n.oo()]=1:(null==q[n.oo()]&&(q[n.oo()]=0),q[n.oo()]++));for(var e=0;e<x.length;++e)x[e]()},To:function(e){x.push(e)},No:function(){return I},Oo:function(){I++},Ro:function(e){P=e},Co:function(e){M=e},ko:function(){M++},Mo:function(){return S.ns_st_id},Uo:function(e){e<0||(S.ns_st_ca=e+"")},xo:function(e){e<1||(S.ns_st_cp=e+"")},setMediaPlayerName:function(e){e&&(S.ns_st_mp=e+"")},setMediaPlayerVersion:function(e){e&&(S.ns_st_mv=e+"")},setImplementationId:function(e){e&&(S.cs_impid=e+"")},loopPlaybackSession:function(){for(var e in T)if(T.hasOwnProperty(e)){var r=t.Cr(e);r&&(r.Zr(0),r.Wo(0),r.Fo(!1),r.setDvrWindowLength(0),r.yo(0)),T[e]=!1}Y.startFromSegment(1),n.Bo(!0),$=!0},startFromSegment:function(e){B=e,V=!0},startFromPosition:function(e){F=e,H=!0},startFromDvrWindowOffset:function(e){j=e,W=!0},Vo:function(e){n.Wr()&&(w=parseInt(e.ns_st_ppc)),D=!1},qo:function(r){if(e.jo().Go("setMetadata",r),r&&(r instanceof f||r instanceof d)){var i=r.getMetadataLabels();if(e.jo().Ho("Passed labels:",i),a.ro(i.ns_st_ad)){if(null==i.ns_st_bn){var l=i.ns_st_ct;if((l=null!=l?l.slice(2):null)==_.ON_DEMAND_PRE_ROLL||l==_.BRANDED_ON_DEMAND_PRE_ROLL)i.ns_st_bn="1";else if(l==_.ON_DEMAND_POST_ROLL||l==_.BRANDED_ON_DEMAND_POST_ROLL)i.ns_st_bn="1";else if(l==_.ON_DEMAND_MID_ROLL||l==_.BRANDED_ON_DEMAND_MID_ROLL){var p="";r instanceof d&&r.getRelatedContentMetadata()&&(p=h.It(r.getRelatedContentMetadata().getMetadataLabels())),p&&null!=q[p]?i.ns_st_bn=q[p]:i.ns_st_bn="1"}}if(null==i.ns_st_an){var m=o.It(i,s),y=1;null!=N[m]&&(y=N[m]+1),i.ns_st_an=y+""}!function(){if(null==i.ns_st_rcn){var e,n="";r instanceof d&&r.getRelatedContentMetadata()&&(n=h.It(r.getRelatedContentMetadata().getMetadataLabels())),e=n?t.Ko(n)?t.Cr(n).Do():null==i.ns_st_cn?C+2:parseInt(i.ns_st_cn)+1:0,i.ns_st_rcn=e+""}}()}var b=h.It(i),S="";r instanceof d&&r.getRelatedContentMetadata()&&(S=h.It(r.getRelatedContentMetadata().getMetadataLabels()));var E=n;if(b==E.oo()&&!(V||H||$||null!=i.ns_st_pn))return e.jo().Ho("Updating existing asset labels with the newly provided ones:",i),E.Jo(),E.Yo(),E.addLabels(i),void Y.Xo(r,E);var T,A=e.Qo().zo();if(A!=u.IDLE){e.jo().Ho("Ending the current Clip. It was in state:",o.wt(A));var P=new g(c.END);P.Nt.ns_st_ae="1",e.gr().$o(P)}if(t.Ko(b)?((T=t.Cr(b)).Zo(),T.Jo(),T.Yo(),T.addLabels(i)):(T=new h(e,i,b),null==i.ns_st_cn?T.nu(C+1):T.nu(parseInt(i.ns_st_cn))),function(){if(r instanceof d&&r.getRelatedContentMetadata()){var n=r.getRelatedContentMetadata().getMetadataLabels(),i=h.It(n);t.Ko(i)?v=t.Cr(i):(v=new h(e,n,i)).nu(T.Do()+1)}else v=null}(),a.ro(T._r("ns_st_ad"))&&function(){var e;if(S)if(t.Ko(S)){var n=T._r("ns_st_ct");e=(n=null!=n?n.slice(2):null)==_.ON_DEMAND_PRE_ROLL||n==_.BRANDED_ON_DEMAND_PRE_ROLL?0:t.Cr(S).no()}else e=0;else e=0;T.tu("ns_st_cpo",e+"")}(),Y.Xo(r,T),$&&T.Bo(!0),n=T,G=S,D||L++,D=!0,e.getConfiguration().eu)if(A==u.PLAYING){e.jo().Ho("Resuming the new Asset.");var I=new g(c.PLAY);I.Nt.ns_st_ae="1",e.gr().$o(I)}else A!=u.BUFFERING_DURING_PLAYBACK&&A!=u.PAUSED_DURING_BUFFERING||(e.jo().Ho("Starting buffering the new Asset."),e.gr().$o(new g(c.BUFFER)),e.gr().iu())}else e.jo().Ho("Ignoring API call. An AssetMetadata object was expected and received instead:",r)},Xo:function(e,t){if(e instanceof d){var n=e.getStacks(),r=e.getRelatedContentMetadata()?e.getRelatedContentMetadata().getStacks():null,i=[];for(var o in n)if(n.hasOwnProperty(o)){var a=n[o],s=r&&r[o]||null;i.push(o);var u=a.getMetadataLabels(s);t.ru(o,u)}if(r)for(var c in r)if(r.hasOwnProperty(c)&&-1==i.indexOf(c)){var l=r[c];t.ru(c,l.getMetadataLabels())}}else{var _=e.getStacks();for(var f in _)if(_.hasOwnProperty(f)){var h=_[f];t.ru(f,h.getMetadataLabels())}}}}),function(){t=new p;var r=(new f).getMetadataLabels(),o=h.It(r);n=new h(e,r,o),v=null,(S={}).ns_st_id=i.uuid(),S.ns_st_mp=l.wn,S.ns_st_mv=l.wn,E={},$=!1,T={},m=NaN,y=0,b=NaN,C=0,A=!1,P=!1,I=0,w=0,k=0,M=0,O=1,R=0,D=!0,L=1,x=[],N={},U={},B=-1,F=0,j=0,H=!1,V=!1,W=!1,q={},G=null}()}v.ou=function(e,t,n){for(var r=t.Cr(),i=t.getLabels(),o={},a=0;n&&a<n.length;a++)i.hasOwnProperty(n[a])&&(o[n[a]]=i[n[a]]);e.Lr().addLabels(o),h.xr(r,e.Lr().Cr(),n)},v.uu=!0,e.exports=v},function(e,t){var n=n||{};n.ro=function(e,t){return t=t||!1,e?"0"!=e:t},n.su=function(e,t){return null==e||isNaN(e)?t||0:parseInt(e)},n.au=function(e,t){var n=Number(e);return null==e||isNaN(n)?t||0:n},n.toString=function(e){if(void 0===e)return"undefined";if("string"==typeof e)return e;if(e instanceof Array)return e.join(",");var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t||e.toString()},e.exports.ro=n.ro,e.exports.su=n.su,e.exports.au=n.au,e.exports.toString=n.toString},function(e,t){e.exports={fu:["ns_st_ci","ns_st_pu","ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_st","ns_st_ty","ns_st_ct","ns_st_li","ns_st_ad","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","c3","c4","c6","ns_st_tpr","ns_st_tep","ns_st_stc","ns_st_sta","ns_st_amg","ns_st_ami","ns_st_amt","ns_st_dt","ns_st_tm","ns_st_ddt","ns_st_dtm","ns_st_tdt","ns_st_ttm"],Ur:["ns_st_ci","ns_st_pu","ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_st","ns_st_ty","ns_st_ct","ns_st_li","ns_st_ad","ns_st_bn","ns_st_tb","ns_st_ta","c3","c4","c6","ns_st_tpr","ns_st_tep","ns_st_stc","ns_st_sta","ns_st_dt","ns_st_tm","ns_st_ddt","ns_st_dtm","ns_st_tdt","ns_st_ttm"]}},function(e,t,n){var r=n(0),i=n(7),o=n(51),a=n(31);function s(){var e,t,n,s,c,l=this,d=new o,_=["ns_st_ct","ns_st_li","ns_st_ty","ns_st_cl","ns_st_fee","ns_st_cs","ns_st_cu"];function f(e,t){i.Fn(c,e,t)}e=null,t={},s=!1,c={},f("ns_st_li","0"),f("ns_st_ty","video"),f("ns_st_ad","1"),f("ns_st_tp","1"),r.extend(l,d),r.extend(l,{setRelatedContentMetadata:function(t){t instanceof a||(t=null),e=t},getRelatedContentMetadata:function(){return e},setMediaType:function(e){if(null!=e){f("ns_st_ct",(s?"aa":"va")+(n=e));var t="1";n==u.ON_DEMAND_PRE_ROLL||n==u.BRANDED_ON_DEMAND_PRE_ROLL?t="pre-roll":n==u.ON_DEMAND_MID_ROLL||n==u.BRANDED_ON_DEMAND_MID_ROLL?t="mid-roll":n!=u.ON_DEMAND_POST_ROLL&&n!=u.BRANDED_ON_DEMAND_POST_ROLL||(t="post-roll"),f("ns_st_ad",t),n==u.LIVE||n==u.BRANDED_DURING_LIVE?f("ns_st_li","1"):f("ns_st_li","0")}},classifyAsAudioStream:function(e){null==e&&(e=!0),s=e,null==n?delete c.ns_st_ct:f("ns_st_ct",(s?"aa":"va")+n),f("ns_st_ty",s?"audio":"video")},setVideoDimensions:function(e,t){f("ns_st_cs",(e=e||0)+"x"+(t=t||0))},setLength:function(e){f("ns_st_cl",e)},setBreakNumber:function(e){f("ns_st_bn",e)},setTotalBreaks:function(e){f("ns_st_tb",e)},setNumberInBreak:function(e){f("ns_st_an",e)},setTotalInBreak:function(e){f("ns_st_ta",e)},setClipUrl:function(e){f("ns_st_cu",e)},setServer:function(e){f("ns_st_ams",e)},setCallToActionUrl:function(e){f("ns_st_amc",e)},setDeliveryType:function(e){f("ns_st_amd",e)},setOwner:function(e){f("ns_st_amo",e)},setStack:function(e,n){t[e]=n},getStacks:function(){return t},getStandardLabels:function(){return r.extend({},d.getStandardLabels(),c)},getMetadataLabels:function(){var t={};if(e){var n=e.getStandardLabels();for(var i in n)n.hasOwnProperty(i)&&-1==_.indexOf(i)&&(t[i]=n[i])}return r.extend(t,l.getStandardLabels(),e?e.getCustomLabels():null,l.getCustomLabels())}})}var u={ON_DEMAND_PRE_ROLL:"11",ON_DEMAND_MID_ROLL:"12",ON_DEMAND_POST_ROLL:"13",LIVE:"21",BRANDED_ON_DEMAND_PRE_ROLL:"31",BRANDED_ON_DEMAND_MID_ROLL:"32",BRANDED_ON_DEMAND_POST_ROLL:"33",BRANDED_AS_CONTENT:"34",BRANDED_DURING_LIVE:"35",OTHER:"00"};s.AdvertisementType=u,s.AdvertisementDeliveryType={NATIONAL:"national",LOCAL:"local",SYNDICATION:"syndication"},s.AdvertisementOwner={DISTRIBUTOR:"distributor",ORIGINATOR:"originator",MULTIPLE:"mp",NONE:"none"},e.exports=s},function(e,t,n){var r=n(0),i=n(7),o=n(14);e.exports=function(){var e,t;function n(t,n){i.Fn(e,t,n)}e={},t={},r.extend(this,{setFee:function(e){n("ns_st_fee",e)},setUniqueId:function(e){n("ns_st_ami",e)},setTitle:function(e){n("ns_st_amt",e)},setServerCampaignId:function(e){n("ns_st_amg",e)},setPlacementId:function(e){n("ns_st_amp",e)},setSiteId:function(e){n("ns_st_amw",e)},addCustomLabels:function(e){"object"!=s(e)&&(e={}),t=o.ht(e)},getCustomLabels:function(){return t},getStandardLabels:function(){return e},getMetadataLabels:function(){return r.extend({},e,t)}})}},function(e,t,n){var r=n(0),i=n(7),o=n(14),a=n(112);function u(){var e,t;function n(t,n){i.Fn(e,t,n)}e={},t={},r.extend(this,{setUniqueId:function(e){n("ns_st_ci",e)},setPublisherName:function(e){n("ns_st_pu",e)},setProgramTitle:function(e){n("ns_st_pr",e)},setEpisodeTitle:function(e){n("ns_st_ep",e)},setEpisodeSeasonNumber:function(e){n("ns_st_sn",e)},setEpisodeNumber:function(e){n("ns_st_en",e)},setGenreName:function(e){n("ns_st_ge",e)},setGenreId:function(e){n("ns_st_tge",e)},setDateOfProduction:function(e,t,r){n("ns_st_dt",c(e,t,r))},setTimeOfProduction:function(e,t){n("ns_st_tm",l(e,t))},setDateOfDigitalAiring:function(e,t,r){n("ns_st_ddt",c(e,t,r))},setTimeOfDigitalAiring:function(e,t){n("ns_st_dtm",l(e,t))},setDateOfTvAiring:function(e,t,r){n("ns_st_tdt",c(e,t,r))},setTimeOfTvAiring:function(e,t){n("ns_st_ttm",l(e,t))},setStationTitle:function(e){n("ns_st_st",e)},setStationCode:function(e){n("ns_st_stc",e)},setProgramId:function(e){n("ns_st_tpr",e)},setEpisodeId:function(e){n("ns_st_tep",e)},setFee:function(e){n("ns_st_fee",e)},setPlaylistTitle:function(e){n("ns_st_pl",e)},setNetworkAffiliate:function(e){n("ns_st_sta",e)},setDeliveryMode:function(e){n("ns_st_cde",e)},setDeliverySubscriptionType:function(e){n("ns_st_cds",e)},setDeliveryComposition:function(e){n("ns_st_cdc",e)},setDeliveryAdvertisementCapability:function(e){n("ns_st_cda",e)},setDistributionModel:function(e){n("ns_st_cdm",e)},setMediaFormat:function(e){n("ns_st_cmt",e)},setDictionaryClassificationC3:function(e){n("c3",e)},setDictionaryClassificationC4:function(e){n("c4",e)},setDictionaryClassificationC6:function(e){n("c6",e)},addCustomLabels:function(e){"object"!=s(e)&&(e={}),t=o.ht(e)},getStandardLabels:function(){return e},getCustomLabels:function(){return t},getMetadataLabels:function(){return r.extend({},e,t)}})}function c(e,t,n){return a.cu(4,e)+"-"+a.cu(2,t)+"-"+a.cu(2,n)}function l(e,t){return a.cu(2,e)+":"+a.cu(2,t)}u.ContentDeliveryMode={LINEAR:"linear",ON_DEMAND:"ondemand"},u.ContentDeliverySubscriptionType={TRADITIONAL_MVPD:"mvpd_auth",VIRTUAL_MVPD:"virtualmvpd",SUBSCRIPTION:"svod",ADVERTISING:"avod",TRANSACTIONAL:"tvod",PREMIUM:"pvod"},u.ContentDeliveryComposition={CLEAN:"clean",EMBED:"embedded"},u.ContentDeliveryAdvertisementCapability={NONE:"none",DYNAMIC_LOAD:"dai",DYNAMIC_REPLACEMENT:"dar",LINEAR_1DAY:"lai-c1",LINEAR_2DAY:"lai-c2",LINEAR_3DAY:"lai-c3",LINEAR_4DAY:"lai-c4",LINEAR_5DAY:"lai-c5",LINEAR_6DAY:"lai-c6",LINEAR_7DAY:"lai-c7"},u.ContentDistributionModel={TV_AND_ONLINE:"to",EXCLUSIVELY_ONLINE:"eo"},u.ContentMediaFormat={FULL_CONTENT_GENERIC:"fc",FULL_CONTENT_EPISODE:"fc01",FULL_CONTENT_MOVIE:"fc02",FULL_CONTENT_PODCAST:"fc03",PARTIAL_CONTENT_GENERIC:"pc",PARTIAL_CONTENT_EPISODE:"pc01",PARTIAL_CONTENT_MOVIE:"pc02",PARTIAL_CONTENT_PODCAST:"pc03",PREVIEW_GENERIC:"pv",PREVIEW_EPISODE:"pv01",PREVIEW_MOVIE:"pv02",EXTRA_GENERIC:"ec",EXTRA_EPISODE:"ec01",EXTRA_MOVIE:"ec02"},e.exports=u},function(e,t,n){var r=n(0),i=n(14),o=n(49).fu;function a(e,t,n){t=t||{},n=n||"";var o,a,s,u,c,l,d,_,f,h,p,g,v,m,y,b,S,E,$,T,A,C,P,I,w,M,k,O,R,D,L,x,N,U,B,F,j,H,V,W,q,G,Y,K,z,X,Q,J,Z,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de,_e,fe,he,pe,ge,ve,me,ye,be,Se,Ee,$e,Te,Ae,Ce,Pe,Ie,we,Me=this;function ke(e){var t={},n=[];for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(r.length>=2&&"c"==r[0]&&r[1].charCodeAt(0)>="a".charCodeAt(0)&&r[1].charCodeAt(0)<="z".charCodeAt(0)&&"p"!=r[1]&&"s"!=r[1]){var o=r[1];r.length>3&&"_"==r[2]?((t[o]=t[o]||{})[r.substring(3,r.length)]=i,n.push(r)):3==r.length&&r[2]>="0"&&r[2]<="9"&&((t[o]=t[o]||{})["c"+r[2]]=i,n.push(r))}}for(var a=0;a<n.length;++a)delete e[n[a]];for(var s in t){var u=t[s],c=u.c2;c&&(delete u.c2,Me.ru(c,u))}}r.extend(Me,{ru:function(e,t){c[e]=c[e]||{},r.extend(c[e],t)},Yo:function(){c={}},getStacks:function(){return c},oo:function(){return a},lu:function(e){k=e},du:function(){return k},tu:function(e,t){s[e]=t},vu:function(e){return s[e]},_u:function(e){return null!=s[e]},addLabels:function(e){ke(e),r.extend(u,e)},getLabels:function(){return u},setLabel:function(e,t){u[e]=t},Jo:function(){u={}},_r:function(e){return u[e]},vr:function(e){return null!=u[e]},Do:function(){return parseInt(Me.vu("ns_st_cn"))},nu:function(e){Me.tu("ns_st_cn",e+"")},Eo:function(e){Pe=e,Ie=!0},Io:function(){return Pe},bo:function(){return Ie},Bn:function(e,t,n){var a,u=e,c=parseInt(u.ns_st_po);a=n&&Ce<0&&g-c>0?A+g-c:n&&Ce>0&&c-g>0?A+c-g:A,u.ns_st_ap=a+"",u.ns_st_dap=a-C+"",u.ns_st_iap=a-P+"",u.ns_st_pt=_+(isNaN(f)?0:t-f)+"",u.ns_st_dpt=_+(isNaN(f)?0:t-f)-h+"",u.ns_st_ipt=_+(isNaN(f)?0:t-f)-p+"",u.ns_st_et=m+(isNaN(y)?0:t-y)+"",u.ns_st_det=m+(isNaN(y)?0:t-y)-b+"",u.ns_st_iet=m+(isNaN(y)?0:t-y)-I+"",u.ns_st_bt=V+"",u.ns_st_dbt=V+(isNaN(W)?0:t-W)-q+"",u.ns_st_ibt=V+(isNaN(W)?0:t-W)-z+"";var d=O,v=R;n&&(d=i.St(O,Ce<0?c:D,Ce<0?D:c,k),v=i.St(R,Ce<0?c:D,Ce<0?D:c,k));for(var S,T=0,X=0,Q=0;Q<d.length;Q++)T+=S=Math.abs(d[Q].end-d[Q].start),S>X&&(X=S);var ee=0,te=0;for(Q=0;Q<v.length;Q++)ee+=S=Math.abs(v[Q].end-v[Q].start),S>te&&(te=S);u.ns_st_upc=T+"",u.ns_st_dupc=T-L+"",u.ns_st_iupc=T-x+"",u.ns_st_lpc=X+"",u.ns_st_dlpc=X-N+"",u.ns_st_ilpc=X-M+"",u.ns_st_upa=ee+"",u.ns_st_dupa=ee-U+"",u.ns_st_iupa=ee-B+"",u.ns_st_lpa=te+"",u.ns_st_dlpa=te-F+"",u.ns_st_ilpa=te-w+"",u.ns_st_pc=oe+"",u.ns_st_dpc=oe-ae+"",u.ns_st_skc=se+"",u.ns_st_dskc=se-ue+"",u.ns_st_bc=G+"",u.ns_st_dbc=G-Y+"",u.ns_st_ibc=G-K+"",u.ns_st_skt=J+"",u.ns_st_dskt=J-Z+"",u.ns_st_ska=ne+"",u.ns_st_dska=ne-re+"",o&&(u.ns_st_spc=ce+"",u.ns_st_dspc=ce-j+"",u.ns_st_apc=le+"",u.ns_st_dapc=le-H+"",u.ns_st_sq=de+"",u.ns_st_asq=_e+""),u.ns_st_dtpc=be-Se+"",u.ns_st_itpc=be-Ee+"",u.ns_st_dcpc=pe-ge+"",u.ns_st_icpc=pe-ve+"",u.ns_st_rt=Ce+"",u.ns_st_ldw=E,u.ns_st_ldo=$,u.ns_st_pn=Pe+"",u.ns_st_lda=l?"1":"0",r.extend(u,s)},Vo:function(e){h=parseInt(e.ns_st_pt),C=parseInt(e.ns_st_ap),b=parseInt(e.ns_st_et),q=parseInt(e.ns_st_bt),L=parseInt(e.ns_st_upc),N=parseInt(e.ns_st_lpc),U=parseInt(e.ns_st_upa),F=parseInt(e.ns_st_lpa),ae=parseInt(e.ns_st_pc),ue=parseInt(e.ns_st_skc),Y=parseInt(e.ns_st_bc),Z=parseInt(e.ns_st_skt),re=parseInt(e.ns_st_ska),o&&(j=parseInt(e.ns_st_spc),H=parseInt(e.ns_st_apc)),Se=be,ge=pe,Me.pu(0)},hu:function(e){p=parseInt(e.ns_st_pt),x=parseInt(e.ns_st_upc),B=parseInt(e.ns_st_upa),P=parseInt(e.ns_st_ap),I=parseInt(e.ns_st_et),w=parseInt(e.ns_st_lpa),M=parseInt(e.ns_st_lpc),z=parseInt(e.ns_st_bt),K=parseInt(e.ns_st_bc),Ee=be,ve=pe},gu:function(){return Me.vu("ns_st_vt")},mu:function(e){Me.tu("ns_st_vt",e+"")},yu:function(){return Me.vu("ns_st_at")},Su:function(e){Me.tu("ns_st_at",e+"")},wu:function(){return Me.vu("ns_st_tt")},bu:function(e){Me.tu("ns_st_tt",e+"")},Iu:function(){return Me.vu("ns_st_cdn")},Eu:function(e){Me.tu("ns_st_cdn",e+"")},Br:function(){oe++},Pu:function(){se++},Fr:function(){de++},Au:function(){return de},ao:function(e){fe=e},fo:function(e){he=e},eo:function(){return he},no:function(){return fe},jr:function(){return V},Hr:function(e){V=e},Gr:function(e){if(!isNaN(W)){var t=Me.jr();t+=e-W,Me.Hr(t),W=NaN}},Du:function(e){D=parseInt(e)},Cu:function(){return D},Lu:function(e){isNaN(D)||isNaN(e)||(O=i.St(O,Ce<0?e:D,Ce<0?D:e,k),R=i.St(R,Ce<0?e:D,Ce<0?D:e,k),D=NaN)},Tu:function(e){var t=R;null!=e&&(t=i.St(R,Ce<0?fe:D,Ce<0?D:fe,k)),$e||Te||(t.length>1||0==t.length||t[0].start-k>0?$e=!0:t[0].end-t[0].start>=3e3&&(Te=!0,be++)),me||ye||(t.length>1||0==t.length||t[0].start-k>0?me=!0:t[0].end-t[0].start>=we&&(ye=!0,pe++))},Nu:function(){return m},Ou:function(e){m=e},Ru:function(e){if(!isNaN(y)){var t=Me.Nu();t+=e-y,Me.Ou(t),y=NaN}},ku:function(){return y},Mu:function(e){y=e},Vr:function(e){isNaN(f)||(_+=e-f,f=NaN)},Dr:function(){return _},so:function(e){return g+Math.floor((e-v)*Ce/100)},ho:function(e){return g+Math.floor((e-T)*Ce/100)},_o:function(e,t){return g+$-t+e-T},po:function(e){return $+Math.floor((e-T)*(1-Ce/100))},vo:function(e){return $+e-T},Zr:function(e){g=e},to:function(e){v=e},Uu:function(){return v},uo:function(){return g},Tr:function(){return f},Yr:function(e){f=e},xu:function(e){h=e},Jr:function(){return W},Kr:function(e){W=e},Xr:function(){return oe},zr:function(e){oe=e},Wu:function(){return se},Fu:function(e){se=e},Bu:function(e){X=e},Vu:function(){return X},qu:function(e){te=e},Gu:function(){return te},do:function(){return d},Fo:function(e){d=e},ju:function(e){o=e},Wr:function(){return o},Hu:function(e){Q=e},Ku:function(){return Q},Ju:function(e){if(!isNaN(Q)){var t=Me.Yu();t+=e-Q,Me.Xu(t),Q=NaN}},Yu:function(){return J},Xu:function(e){J=e},zu:function(e){ie=e},Qu:function(){return ie},$u:function(e){ee=e},Zu:function(){return ee},ns:function(e){ne=e},ts:function(){return ne},es:function(e){var t,n=Me.ts();n+=Math.abs(e-ee),Me.ns(n),ee==e?t=0:ee>e?t=-1:ee<e&&(t=1),Me.pu(t),ee=0},rs:function(){return parseInt(Me.vu("ns_st_skd"))},pu:function(e){Me.tu("ns_st_skd",e+"")},os:function(){_=0,h=0,p=0,V=0,q=0,z=0,G=0,Y=0,K=0,oe=0,ae=0,de=0,I=0,m=0,b=0,J=0,Z=0,ne=0,re=0,se=0,ue=0,Ie=!1},us:function(){ce++},ss:function(){le++},as:function(){A=0,C=0,P=0,R=[],U=0,B=0,F=0,w=0,$e=!1,Te=!1,me=!1,ye=!1},fs:function(e){ce=e},Wo:function(e){S=e},cs:function(){return ce},ls:function(){return S},ds:function(){return G},vs:function(){G++},_s:function(){return q},Co:function(e){_e=e},ko:function(){_e++},ps:function(){return _e},hs:function(){return Ae},Bo:function(e){Ae=e},gs:function(){return Ce},ms:function(e){Ce=e},ys:function(e){Ce<0&&g-e>0?A+=g-e:Ce>0&&e-g>0&&(A+=e-g)},setDvrWindowLength:function(e){E=e},mo:function(){return E},yo:function(e){$=e},So:function(e){T=e},Ss:function(){return T},lo:function(){return $},ws:function(e){l=e},bs:function(){return l},Zo:function(){Ae=!1}}),(s={}).ns_st_cl="0",s.ns_st_tp="0",s.ns_st_cn="1",s.ns_st_skd="0",s.ns_st_ci="0",s.ns_st_cn="1",s.c3="*null",s.c4="*null",s.c6="*null",s.ns_st_st="*null",s.ns_st_pu="*null",s.ns_st_pr="*null",s.ns_st_ep="*null",s.ns_st_sn="*null",s.ns_st_en="*null",s.ns_st_ct="*null",c={},ke(t),u=t,o=!1,l=!1,d=!1,_=0,f=NaN,g=0,h=0,m=0,fe=0,he=NaN,y=NaN,S=0,b=0,p=0,E=0,$=0,T=NaN,A=0,C=0,P=0,I=0,w=0,M=0,D=NaN,O=[],R=[],L=0,x=0,N=0,U=0,B=0,F=0,j=0,H=0,V=0,W=NaN,q=0,G=0,Y=0,K=0,z=0,X=!1,Q=NaN,te=!1,ee=0,ie=0,J=0,Z=0,ne=0,re=0,oe=0,ae=0,se=0,ue=0,ce=0,le=0,de=0,_e=0,pe=0,ge=0,ve=0,me=!1,ye=!1,be=0,Se=0,Ee=0,$e=!1,Te=!1,Ae=!1,Ce=100,Pe=1,Ie=!1,a=n,k=e.getConfiguration().Is,we=e.getConfiguration().Es}a.It=function(e){return null==e.ns_st_cn?i.It(e,o):e.ns_st_cn+""},a.xr=function(e,t,n){for(var r=e.getLabels(),i={},o=0;n&&o<n.length;++o)r.hasOwnProperty(n[o])&&(i[n[o]]=r[n[o]]);t.addLabels(i),t.lu(e.du())},a.Ps=500,a.As=500,a.Ds=3e3,e.exports=a},function(e,t,n){var r=n(55);e.exports=r},function(e,t,n){var r,i=n(0),o=n(17),a=n(30),s=n(9),u=n(15),c=n(2),l=n(94);r=new function(){i.extend(this,{StreamingAnalytics:l,PlatformAPIs:c.mn.PlatformApis,PlatformApi:c.mn,ConnectivityType:s,EventInfo:a,configuration:o.configuration.Ji,version:u.VERSION,start:function(){o.start()},notifyHiddenEvent:function(e){o.pe(e)},notifyViewEvent:function(e){o.ge(e)},notifyDistributedContentViewEvent:function(e,t){o.notifyDistributedContentViewEvent(e,t)},notifyUxActive:function(){o.notifyUxActive()},notifyUxInactive:function(){o.notifyUxInactive()},notifyEnterForeground:function(){o.notifyEnterForeground()},notifyExitForeground:function(){o.notifyExitForeground()},flushOfflineCache:function(){o.flushOfflineCache()},clearOfflineCache:function(){o.clearOfflineCache()},clearInternalData:function(){o.clearInternalData()}})},e.exports=r},function(e,t){e.exports={je:function(e){return!(null==e||""==e||"0"==e)}}},function(e,t,n){var r=n(2).yn,i=n(23);function o(e,t,n){var r=e.ns_ts,i="undefined"!=typeof encodeURIComponent?encodeURIComponent:escape,o="",a=!1;for(var s in e)null==t[s]&&"ns_ts"!=s&&(a&&(o+="&"),a=!0,o+=i(s)+"="+i(e[s]));return n.push(o),'<event t="'+r+'">'+o+"</event>"}var a={Zi:function(e,t,n){var a=function(e){var t={};return t.c12=e.getPublisherConfigurations()[0].getPublisherUniqueDeviceId(),t.c1="19",t.ns_ap_pn=r.K(),t.ns_ap_an=e.F(),t.ns_ap_device=r.j(),t}(e),s="";for(var u in s+='<?xml version="1.0" encoding="UTF-8" ?>\n<events ',s+='t="'+ +new Date+'" ',a)s+=u+'="'+a[u]+'" ';s+='dropped="'+n+'" ';for(var c=[],l="",d=0;d<t.length;++d)l+="    "+o(t[d],a,c)+"\n";return s+='md5="'+i(c.join(""))+'" ',s+=">\n",(s+=l)+"</events>"}};e.exports=a},function(e,t,n){var r=n(0);e.exports=function(e){r.extend(this,{PlatformApis:e.PlatformApis,setPlatformAPI:e.setPlatformApi,setPlatformApi:e.setPlatformApi})}},function(e,t){e.exports={SmartTV:0,Netcast:1,Cordova:2,Trilithium:3,AppleTV:4,Chromecast:5,Xbox:6,webOS:7,tvOS:8,nodejs:9,html5:10,JSMAF:11,Skeleton:12,WebBrowser:13}},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),u=n(6).xn,c=n(61),l=n(62),d=n(63),_=n(9),f=a.wn,h=a.bn,p=null,g=null,v=null;function m(){if(null==p){var e=function(){if("object"!=("undefined"==typeof sf?"undefined":s(sf))||"object"!=s(sf.core)||"function"!=typeof sf.core.sefplugin)return null;var e=sf.core.sefplugin("NNAVI");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return null;e.Open("Network","1.001","Network");var t=e.Execute("GetMAC","0");if(!o.An(t))return t;if(t=e.Execute("GetMAC","1"),!o.An(t))return t;var n=e.Execute("GetDeviceID");return o.An(n)?null:n}();null!=e?(p=e,g="31",v=e):(p=+new Date+~~(1e3*Math.random()),g="72",v=null)}}var y=r.extend({},i,{D:"smarttv",T:u,N:null,Storage:c,O:!0,R:l,k:d,M:6e4,W:function(){return m(),v},B:function(){return"undefined"!=typeof sf&&o.Ln(sf.env)&&o.Ln(sf.env.getAppVersion)&&sf.env.getAppVersion()||f},V:function(){return m(),p},G:function(){return g},j:function(){return"undefined"!=typeof sf&&o.Ln(sf.core)&&o.Ln(sf.core.getEnvValue)&&sf.core.getEnvValue("modelid")||f},H:function(){return"2.0.0"},J:function(){if("undefined"!=typeof sf&&o.Ln(sf.env)&&o.Ln(sf.env.getProductType)&&o.Ln(sf.env.PRODUCTTYPE_TV)&&o.Ln(sf.env.PRODUCTTYPE_MONITOR)&&o.Ln(sf.env.PRODUCTTYPE_BD)){var e=[];return e[sf.env.PRODUCTTYPE_TV]="samsung-smarttv-tv",e[sf.env.PRODUCTTYPE_MONITOR]="samsung-smarttv-monitor",e[sf.env.PRODUCTTYPE_BD]="samsung-smarttv-bd",e[sf.env.getProductType()]}},Y:function(){return"undefined"!=typeof sf&&o.Ln(sf.env)&&o.Ln(sf.env.getFirmwareVer)&&sf.env.getFirmwareVer().version},X:function(){if("undefined"==typeof sf||!o.Ln(sf.env)||!o.Ln(sf.env.getScreenSize))return h;var e=sf.env.getScreenSize();return e.width+"x"+e.height},nn:function(){if("undefined"!=typeof sf&&o.Ln(sf.env)&&o.Ln(sf.env.getLanguageCode))return sf.env.getLanguageCode()},in:function(){if("object"!=("undefined"==typeof sf?"undefined":s(sf))||"object"!=s(sf.core)||"function"!=typeof sf.core.sefplugin)return _.UNKNOWN;var e=sf.core.sefplugin("NETWORK");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return _.UNKNOWN;e.Open("Network","1.001","Network");var t=e.Execute("GetActiveType");return 0===t?_.ETHERNET:1===t?_.WIFI:_.UNKNOWN}});e.exports=y},function(e,t,n){var r,i,o,a,s=n(0);e.exports=function(e){o="undefined"!=typeof FileSystem?new FileSystem:null,a="undefined"!=typeof curWidget?curWidget.id:null,"undefined"!=typeof sf?r=i=function(e,t){sf.core.localData(e,t)}:(r=function(e,t){$.sf.setData(e,void 0===t?null:t)},i=function(e){return $.sf.getData(e)}),null==o||void 0===o.isValidCommonPath||o.isValidCommonPath(a)||o.createCommonDir(a),s.extend(this,{storeProperties:function(e){try{r("cs_settings",e)}catch(e){}},getProperties:function(){try{return i("cs_settings")}catch(e){}},storeCache:function(e){try{!function(e,t,n){var r=a+"/cs_cache_dir";o.isValidCommonPath(r)||o.createCommonDir(r);var i=o.openCommonFile(r+"/cs_cache_dir_single","w");i.writeLine(n),o.closeCommonFile(i)}(0,0,e)}catch(e){}},getCache:function(){try{return function(e,t){var n=a+"/cs_cache_dir";if(!o.isValidCommonPath(n))return null;var r=o.openCommonFile(n+"/cs_cache_dir_single","r");if(r){var i=r.Cs();return o.closeCommonFile(r),i}return null}()}catch(e){}}})}},function(e,t,n){var r,i,o=n(0);"undefined"!=typeof sf?i=r=function(e,t){sf.core.localData(e,t)}:(i=function(e,t){$.sf.setData(e,void 0===t?null:t)},r=function(e){return $.sf.getData(e)}),e.exports=function(){o.extend(this,{get:function(e){return r("cs_"+e)},set:function(e,t){i("cs_"+e,t)},has:function(e){return void 0!==r("cs_"+e)},remove:function(e){i("cs_"+e,null)},clear:function(){}})}},function(e,t,n){var r,i,o=n(21),a=n(0),s=null,u=null,c={},l=!1;function d(){s="undefined"!=typeof FileSystem?new FileSystem:null,u="undefined"!=typeof curWidget?curWidget.id:null,"undefined"!=typeof sf&&(i=r=function(e,t){sf.core.localData(e,t)}),null==s||void 0===s.isValidCommonPath||s.isValidCommonPath(u)||s.createCommonDir(u),l=!0}function _(e){return e.replace(/^\s+|\s+$/g,"")}function f(e,t){var n=c[e];n?n.push(t):n=c[e]=[t],i("cs_dir_"+e,n.join("|"))}function h(e,t){var n=c[e],r=o.indexOf(t,n);r>=0&&(n.splice(r,1),i("cs_dir_"+e,0===n.length?null:n.join("|")))}e.exports=function(){a.extend(this,{dir:function(e){if(l||d(),s.isValidCommonPath(u+"/"+e)){var t=c[e];if(!t){if(!(t=r("cs_dir_"+e)))return null;t=c[e]=t.split("|")}for(var n=t.slice(),i=0,o=n.length;i<o;i++){var a=t[i];s.isValidCommonPath(u+"/"+e+"/"+a)||h(e,a)}return n}return null},append:function(e,t,n){l||d();var r=u+"/"+e;s.isValidCommonPath(r)||s.createCommonDir(r),s.isValidCommonPath(r+"/"+t)||f(e,t);var i=s.openCommonFile(r+"/"+t,"a");i.writeLine(_(n)),s.closeCommonFile(i)},write:function(e,t,n){l||d();var r=u+"/"+e;s.isValidCommonPath(r)||s.createCommonDir(r),s.isValidCommonPath(r+"/"+t)||f(e,t);var i=s.openCommonFile(r+"/"+t,"w");i.writeLine(_(n)),s.closeCommonFile(i)},deleteFile:function(e,t){l||d();var n=u+"/"+e;return!!s.isValidCommonPath(n)&&(h(e,t),s.deleteCommonFile(n+"/"+t))},read:function(e,t){l||d();var n=u+"/"+e;if(!s.isValidCommonPath(n))return null;var r=s.openCommonFile(n+"/"+t,"r");if(r){for(var i,o=[];i=r.readLine();)o.push(i);return s.closeCommonFile(r),o.join("\n")}return h(e,t),""}})}},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),s=n(13),u=n(6).xn,c=n(8),l=n(10),d=n(9),_=a.wn,f=a.bn,h=null,p=null,g=null;function v(){if(null==h){var e=function(){if("undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)){if(o.Ln(ns_.netcastDevice.net_macAddress)&&o.Dn(ns_.netcastDevice.net_macAddress))return ns_.netcastDevice.net_macAddress;if(o.Ln(ns_.netcastDevice.serialNumber)&&o.Dn(ns_.netcastDevice.serialNumber))return ns_.netcastDevice.serialNumber}return null}();null!=e?(h=e,p="31",g=e):(h=+new Date+~~(1e3*Math.random()),p="72",g=null)}}var m=r.extend({},i,{D:"netcast",T:function(){return"undefined"!=typeof Image?s.apply(this,arguments):u.apply(this,arguments)},N:null,Storage:c,R:l,O:!1,M:6e4,W:function(){return v(),g},V:function(){return v(),h},G:function(){return p},j:function(){return"undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)&&o.Ln(ns_.netcastDevice.modelName)&&ns_.netcastDevice.modelName||_},H:function(){return"undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)&&o.Cn(ns_.netcastDevice.version,_)||_},J:function(){return"undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)?"lg-ott"+o.Cn(ns_.netcastDevice.platform,_):_},Y:function(){if("undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)){if(o.Ln(ns_.netcastDevice.version))return ns_.netcastDevice.version;if(o.Ln(ns_.netcastDevice.hwVersion))return ns_.netcastDevice.hwVersion;if(o.Ln(ns_.netcastDevice.swVersion))return ns_.netcastDevice.swVersion}return _},X:function(){if("undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)&&o.Ln(ns_.netcastDevice.osdResolution))switch(ns_.netcastDevice.osdResolution){case 0:return"640x480";case 1:return"720x576";case 2:return"1280x720";case 3:return"1920x1080";case 4:return"1366x768"}return f},nn:function(){return"undefined"!=typeof ns_&&o.Ln(ns_.netcastDevice)&&o.Cn(ns_.netcastDevice.tvLanguage2,o.Cn(window.navigator.language))||_},in:function(){if(void 0!==ns_.netcastDevice){if(0===ns_.netcastDevice.networkType)return d.ETHERNET;if(1===ns_.netcastDevice.networkType)return d.WIFI}return _}});e.exports=m},function(e,t,n){var r,i,o,a=n(0),s=n(5),u=n(3),c=n(13),l=n(6).Wn,d=n(8),_=n(12),f=n(10),h=n(9),p=u.wn,g=u.bn,v=a.extend({},s,{D:"webos",T:c,N:l,Storage:d,R:f,k:_,O:!0,M:6e4,U:function(e,t){var n=3,a=function(){0==--n&&e()};!function(e,t){webOS.service.request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","firmwareVersion","UHD","sdkVersion"]},onSuccess:function(t){t.returnValue&&(r=t),e()},onFailure:function(){e()}})}(a),function(e,t){webOS.service.request("luna://com.webos.settingsservice",{method:"getSystemSettings",parameters:{category:"option"},onSuccess:function(t){t.returnValue&&(i=t),e()},onFailure:function(){e()}})}(a),function(e,t){webOS.service.request("luna://com.webos.service.connectionmanager",{method:"getStatus",onSuccess:function(t){t.returnValue&&(o=t),e()},onFailure:function(){e()}})}(a)},W:function(){return"undefined"!=typeof webOS&&webOS.device&&webOS.device.serialNumber&&"Unknown"!=webOS.device.serialNumber?webOS.device.serialNumber:null},V:function(){return+new Date+~~(1e3*Math.random())},G:function(){return"72"},j:function(){return r&&r.modelName?r.modelName:p},H:function(){return r&&r.sdkVersion?r.sdkVersion:p},J:function(){return"webOS"},Y:function(){return"undefined"!=typeof webOS&&webOS.device?webOS.device.platformVersion:p},X:function(){var e=0;"undefined"!=typeof webOS&&webOS.device?e=webOS.device.screenWidth:"undefined"!=typeof window&&window.screen&&(e=window.screen.availWidth);var t=0;return"undefined"!=typeof webOS&&void 0!==webOS.device?t=webOS.device.screenHeight:"undefined"!=typeof window&&window.screen&&(t=window.screen.availHeight),e>0&&t>0?e+"x"+t:g},nn:function(){return i&&i.locales&&(i.locales.UI||i.locales.TV)||p},in:function(){if(o&&(o.wired||o.wifi)){if("connected"===o.wired.state&&"yes"===o.wired.onInternet)return h.ETHERNET;if("connected"===o.wifi.state&&"yes"===o.wifi.onInternet)return h.WIFI}return h.UNKNOWN}});e.exports=v},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),s=n(13),u=n(6).xn,c=n(6).Wn,l=n(8),d=n(12),_=n(10),f=a.wn,h=a.bn,p=null,g=null,v=null;function m(){if(null==p){var e="undefined"!=typeof device&&o.Ln(device.uuid)&&device.uuid.length>0?device.uuid:null;null!=e?(p=e,g="31",v=e):(p=+new Date+~~(1e3*Math.random()),g="72",v=null)}}var y=r.extend({},i,{D:"cordova",T:function(){return"undefined"!=typeof Image?s.apply(this,arguments):u.apply(this,arguments)},N:c,Storage:l,O:!0,R:_,k:d,M:6e4,W:function(){return m(),v},V:function(){return m(),p},G:function(){return g},j:function(){return"undefined"!=typeof device&&o.Ln(device.model)||f},H:function(){return"undefined"!=typeof device&&o.Ln(device.cordova)&&device.cordova||f},J:function(){return"undefined"!=typeof device&&o.Ln(device.platform)&&"cordova"+device.platform||"cordova"},Y:function(){return"undefined"!=typeof device&&o.Ln(device.version)||f},X:function(){var e="undefined"!=typeof window&&o.Ln(window.screen)&&o.Ln(window.screen.availWidth)&&window.screen.availWidth||0,t="undefined"!=typeof window&&o.Ln(window.screen)&&o.Ln(window.screen.availHeight)&&window.screen.availHeight||0;return e>0&&t>0?e+"x"+t:h},nn:function(){return"undefined"!=typeof window&&o.Ln(window.navigator)&&o.Ln(window.navigator.language)&&window.navigator.language||f}});e.exports=y},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),s=n(68),u=n(8),c=n(10),l=a.wn,d=a.bn,_=null,f=null,h=null;function p(){if(null==_){var e=o.Dn(engine.stats.device.id)?engine.stats.device.id:o.Dn(engine.stats.network.mac)?engine.stats.network.mac:null;null!=e?(_=e,f="31",h=e):(_=+new Date+~~(1e3*Math.random()),f="72",h=null)}}var g=r.extend({},i,{D:"trilithium",T:s,N:null,Storage:u,R:c,O:!1,M:6e4,W:function(){return p(),h},F:function(){return o.Dn(engine.stats.application.name)?engine.stats.application.name:l},B:function(){return o.Dn(engine.stats.application.version)?engine.stats.application.version:l},V:function(){return p(),_},G:function(){return f},j:function(){return o.Cn(engine.stats.device.platform,l)},J:function(){return"trilithium"},Y:function(){return o.Cn(engine.stats.device.version,l)},X:function(){return"undefined"!=typeof screen&&void 0!==screen.height&&void 0!==screen.width?screen.height+"x"+screen.width:d}});e.exports=g},function(e,t){e.exports=function(e,t){"undefined"!=typeof engine?(engine.createHttpClient().createRequest("GET",e,null).start(),t&&setTimeout(t,0)):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},function(e,t,n){var r=n(4),i=n(3),o=n(34).or,a=n(34).ur,s=n(70),u=n(71),c=i.wn,l=i.bn,d=null,_=null,f=null;function h(){null==d&&("undefined"!=typeof atv&&void 0!==atv.device&&atv.device.idForVendor?(d=r.Cn(atv.device.idForVendor,""),_="62"):(d=+new Date+~~(1e3*Math.random()),_="72"),f=null)}var p={D:"atv",T:o,N:a,Storage:s,R:u,O:!1,M:6e4,W:function(){return h(),f},F:function(){return c},B:function(){return c},V:function(){return h(),d},G:function(){return _},j:function(){return"Apple TV"},H:function(){return"undefined"!=typeof atv&&void 0!==atv.device&&r.Cn(atv.device.softwareVersion,c)},K:function(){return"js"},J:function(){return"atv"},Y:function(){return"undefined"!=typeof atv&&void 0!==atv.device&&r.Cn(atv.device.softwareVersion,c)},X:function(){return void 0!==atv.device&&void 0!==atv.device.screenFrame&&void 0!==atv.device.screenFrame.height&&void 0!==atv.device.screenFrame.width?atv.device.screenFrame.height+"x"+atv.device.screenFrame.width:l},nn:function(){return"undefined"!=typeof atv&&void 0!==atv.device&&r.Cn(atv.device.language,"")},setTimeout:function(e,t){return"undefined"!=typeof atv&&void 0!==atv.setTimeout&&atv.setTimeout(e,t)},setInterval:function(e,t){return"undefined"!=typeof atv&&void 0!==atv.setInterval&&atv.setInterval(e,t)},clearTimeout:function(e){return"undefined"!=typeof atv&&void 0!==atv.clearTimeout&&atv.clearTimeout(e)},clearInterval:function(e){return"undefined"!=typeof atv&&void 0!==atv.clearInterval&&atv.clearInterval(e)}};e.exports=p},function(e,t,n){var r=n(0);e.exports=function(e){var t="undefined"!=typeof atv&&void 0!==atv.localStorage&&atv.localStorage||null;r.extend(this,{storeProperties:function(e){if(t)try{"function"==typeof t.setItem?t.setItem("cs_settings",e):t&&(t.Vn=e)}catch(e){}},getProperties:function(){if(!t)return null;try{if("function"==typeof t.getItem)return t.getItem("cs_settings");if(t)return t.Vn}catch(e){}},storeCache:function(e){if(t)try{"function"==typeof t.setItem?t.setItem("cs_cache",e):t&&(t.qn=e)}catch(e){}},getCache:function(){if(!t)return null;try{if("function"==typeof t.getItem)return t.getItem("cs_cache");if(t)return t.qn}catch(e){}}})}},function(e,t,n){var r=n(0);e.exports=function(){var e="undefined"!=typeof atv&&void 0!==atv.localStorage&&atv.localStorage||null;r.extend(this,{get:function(t){return e&&t&&e.getItem("cs_"+t)||null},set:function(t,n){e&&t&&(e["cs_"+t]=n)},remove:function(t){e&&t&&e.removeItem("cs_"+t)},clear:function(){}})}},function(e,t,n){var r=n(0),i=n(5),o=n(3),a=n(35).sr,s=n(35).ar,u=n(8),c=n(12),l=n(10),d=n(9),_=o.wn,f=o.bn,h=null,p=null,g=null,v=!1,m=!1,y=!1;function b(){var e=null;if("undefined"!=typeof Windows&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser){var t=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser;null!=t&&!t.Ls&&t.Ts&&(e=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser.xboxUserId)}g=e}var S=r.extend({},i,{D:"xbox",T:a,N:s,Storage:u,R:l,k:c,O:!0,M:6e4,W:function(){return y||("undefined"!=typeof Windows&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.addEventListener("currentuserchanged",(function(){m=!0})),b(),y=!0),m&&b(),g},F:function(){var e=_;return"undefined"!=typeof Windows&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},B:function(){var e=_;if("undefined"!=typeof Windows&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.version){var t=Windows.ApplicationModel.Package.current.id.version;e=t.major+"."+t.minor+"."+t.build+"."+t.revision}return e},V:function(){return v||function(){"undefined"!=typeof Windows&&Windows&&Windows.Xbox&&Windows.Xbox.System&&Windows.Xbox.System.Console&&Windows.Xbox.System.Console.applicationSpecificDeviceId?(h=Windows.Xbox.System.Console.applicationSpecificDeviceId,p="72"):(h=this.j()+ +new Date+~~(1e3*Math.random()),p="72"),v=!0}(),h},G:function(){return p},j:function(){return"xbox one"},H:function(){var e=_;return"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.split(";").filter((function(e){return-1!=e.indexOf("Windows NT")})).forEach((function(t){e=t.substr(t.indexOf("Windows NT")+11,t.length-1)})),e},K:function(){return"xbox"},J:function(){return"winjs"},Y:function(){var e=_;return"undefined"!=typeof Windows&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.dependencies&&Windows.ApplicationModel.Package.current.dependencies.filter((function(e){return e&&e.id&&e.id.name&&-1!=e.id.name.indexOf("WinJS")&&e.id.version})).forEach((function(t){e=t.id.version.major+"."+t.id.version.minor+"."+t.id.version.build+"."+t.id.version.revision})),e},X:function(){var e=f;if("undefined"!=typeof Windows&&Windows&&Windows.Xbox&&Windows.Xbox.Graphics&&Windows.Xbox.Graphics.Display&&Windows.Xbox.Graphics.Display.DisplayConfiguration&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView()&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawWidth&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawHeight){var t=Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode;e=t.rawWidth+"x"+t.rawHeight}return e},Z:function(){var e=f;return"undefined"!=typeof window&&window.innerWidth&&window.innerHeight&&(e=window.innerWidth+"x"+window.innerHeight),e},nn:function(){var e=_;return"undefined"!=typeof Windows&&Windows&&Windows.System&&Windows.System.UserProfile&&Windows.System.UserProfile.GlobalizationPreferences&&Windows.System.UserProfile.GlobalizationPreferences.languages&&(e=Windows.System.UserProfile.GlobalizationPreferences.languages.getAt(0)),e},tn:function(){var e=_;return"undefined"!=typeof Windows&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},setPlatformAPI:function(){},en:function(){var e="unknown";if("undefined"!=typeof Windows&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.architecture)switch(Windows.ApplicationModel.Package.current.id.architecture){case 5:e="arm";break;case 11:e="neutral";break;case 9:e="x64";break;case 0:e="x86"}return e},in:function(){var e=d.UNKNOWN;if("undefined"!=typeof Windows&&Windows&&Windows.Networking&&Windows.Networking.Connectivity&&Windows.Networking.Connectivity.NetworkInformation&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile()&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType)switch(Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType){case 6:e=d.ETHERNET;break;case 71:e=d.WIFI}return e}});e.exports=S},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(18),s=n(3),u=n(13),c=n(6).Wn,l=n(8),d=n(12),_=n(10),f=n(36),h=s.wn,p=s.bn,g=r.extend({},i,{D:"chromecast",T:u,N:c,Storage:l,R:_,k:d,O:!0,M:6e4,F:function(){return void 0===ns_.crm?h:ns_.crm.getApplicationData().name},V:function(){return+new Date+~~(1e3*Math.random())},G:function(){return"72"},j:function(){return"chromecast"},H:function(){return cast.receiver.VERSION+"-"+o.Cn(a.Re()+" "+a.ke(),h)},J:function(){return"html"},Y:function(){return"5"},X:function(){var e="undefined"!=typeof window&&o.Ln(window.screen)&&o.Ln(window.screen.availWidth)?window.screen.availWidth:0,t="undefined"!=typeof window&&o.Ln(window.screen)&&o.Ln(window.screen.availHeight)?window.screen.availHeight:0;return e>0&&t>0?e+"x"+t:p},nn:function(){return"undefined"!=typeof window&&o.Ln(window.navigator)&&o.Cn(window.navigator.language,"")||h},vn:function(e){f.cr(e)},_n:function(e){f.lr(e)}});e.exports=g},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),s=n(6).xn,u=n(6).Wn,c=n(8),l=n(12),d=n(10),_=a.bn,f=null,h=null,p=null;function g(){null==f&&(o.An(Device.vendorIdentifier)?(f=+new Date+~~(1e3*Math.random()),h="72"):(f=Device.vendorIdentifier,h="62"),p=f)}var v=r.extend({},i,{D:"tvos",T:s,N:u,Storage:c,O:!0,R:d,k:l,M:6e4,W:function(){return g(),p},F:function(){return Device.appIdentifier},B:function(){return Device.appVersion},V:function(){return g(),f},G:function(){return h},j:function(){return Device.productType},H:function(){return Device.systemVersion},J:function(){return"tvos"},Y:function(){return Device.systemVersion},X:function(){return _},nn:function(){return Settings.language},tn:function(){return Device.appIdentifier}});e.exports=v},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3),s=n(6).xn,u=n(6).Wn,c=n(8),l=n(10),d=n(12),_=n(9),f=a.wn,h=a.bn,p=null,g=null,v=null;function m(){if(null==p)if("undefined"!=typeof jsmaf&&o.Ln(jsmaf.hardwareId)){var e=jsmaf.hardwareId;p=e,g="31",v=e}else p=+new Date+~~(1e3*Math.random()),g="72",v=null}var y=r.extend({},i,{D:"jsmaf",T:s,N:u,Storage:c,O:!0,R:l,k:d,M:6e4,W:function(){return m(),v},V:function(){return m(),p},G:function(){return m(),g},j:function(){return"undefined"!=typeof jsmaf&&o.Ln(jsmaf.platform)?jsmaf.platform:f},J:function(){return"jsmaf"},Y:function(){return"undefined"!=typeof jsmaf&&o.Ln(jsmaf.version)?jsmaf.version:f},X:function(){return"undefined"!=typeof jsmaf&&o.Ln(jsmaf.screenWidth)&&o.Ln(jsmaf.screenHeight)?jsmaf.screenWidth+"x"+jsmaf.screenHeight:h},nn:function(){return"undefined"!=typeof jsmaf&&o.Ln(jsmaf.locale)?jsmaf.locale:f},setTimeout:function(e,t){return jsmaf.setTimeout(e,t)},setInterval:function(e,t){return jsmaf.setInterval(e,t)},clearTimeout:function(e){return jsmaf.clearTimeout(e)},clearInterval:function(e){return jsmaf.clearInterval(e)},en:function(){if("undefined"==typeof jsmaf||!o.Ln(jsmaf.platform))var e=f;return"ps3"==jsmaf.platform?e="cell":"ps4"==jsmaf.platform?e="ps4":"vita"==jsmaf.platform&&(e="vita"),e},in:function(){return"undefined"!=typeof jsmaf&&"connected"==jsmaf.networkStatus&&o.Ln(jsmaf.connectionType)?"wired"==jsmaf.connectionType?_.ETHERNET:"wireless"==jsmaf.connectionType?_.WIFI:"phone"==jsmaf.connectionType?_.WWAN:_.UNKNOWN:_.UNKNOWN}});e.exports=y},function(e,t,n){var r=n(0),i=n(5),o=n(4),a=n(3).wn,s=null,u=null,c=null;function l(){null==s&&(s=+new Date+~~(1e3*Math.random()),u="72",c=null)}function d(e,t){var r=this,i=0;r.send=function(o){var a=o.match(/^https/)?n(77):n(78),s=function(e){var t=n(22);return{headers:{"User-Agent":(e.F()||"unknown")+"/"+(e.B()||"unknown")+" ("+(t.platform()||"unknown")+"; "+(t.arch()||"unknown")+"; "+(t.type()||"unknown")+"/"+(t.release||"unknown")+") node.js/"+{env:{}}.version}}}(t);a.get(o,s,(function(t){var n=t.statusCode;if((302==n||301==n)&&i<20&&t.headers&&t.headers.location)return i++,void r.send(t.headers.location);e(n)})).on("error",(function(){e()}))}}var _=r.extend({},i,{D:"nodejs",T:function(e,t,n){new d(t,n).send(e)},N:null,Storage:null,O:!1,W:function(){return l(),c},V:function(){return l(),s},G:function(){return u},H:function(){var e=n(22);return[e.type(),e.platform(),e.release()].join(";")},en:function(){return n(22).arch()||a},J:function(){return"nodejs"},Y:function(){return o.An({env:{}}.version)?a:{env:{}}.version}});e.exports=_},function(e,t){e.exports=n(5484)},function(e,t){e.exports=n(3963)},function(e,t,n){var r=n(0),i=n(37),o=r.extend({},i,{D:"webbrowser",C:function(){return n(17).ye().ne()?"http://b.scorecardresearch.com/p":"http://b.scorecardresearch.com/p2"},L:function(){return n(17).ye().ne()?"https://sb.scorecardresearch.com/p":"https://sb.scorecardresearch.com/p2"},Storage:null,R:null,k:null,O:!1,J:function(){return"webbrowser"},un:function(e){if("undefined"!=typeof document){var t=document;e.c7=t.URL,e.c8=t.title,e.c9=t.referrer,e.ns_c=t.characterSet||t.defaultCharset||""}},pn:!0});e.exports=o},function(e,t,n){var r=n(0),i=n(2).yn;e.exports=function(e,t,n,o){function a(e){200==e||o.isHttpRedirectCachingEnabled()&&(302==e||301==e)?n.onSuccess():n.onFailure()}r.extend(this,{nr:function(){i.N?i.N(e,t,a):a()}})}},function(e,t,n){var r=n(0);e.exports=function(){r.extend(this,{storeProperties:function(){},getProperties:function(){return null},storeCache:function(){},getCache:function(){return null}})}},function(e,t,n){var r=n(0),i=n(39),o=n(42),a=n(25),s=n(24),u=n(27);e.exports=function(e){r.extend(this,{setLiveTransmissionMode:e.setLiveTransmissionMode,setOfflineCacheMode:e.setOfflineCacheMode,enableImplementationValidationMode:e.enableImplementationValidationMode,getPartnerConfigurations:e.getPartnerConfigurations,getPublisherConfigurations:e.getPublisherConfigurations,setLabelOrder:e.setLabelOrder,getLabelOrder:e.getLabelOrder,setApplicationName:e.setApplicationName,setApplicationVersion:e.setApplicationVersion,addStartLabels:e.addStartLabels,setStartLabel:e.setStartLabel,removeStartLabel:e.removeStartLabel,removeAllStartLabels:e.removeAllStartLabels,isEnabled:e.isEnabled,addPersistentLabels:e.addPersistentLabels,setPersistentLabel:e.setPersistentLabel,removePersistentLabel:e.removePersistentLabel,removeAllPersistentLabels:e.removeAllPersistentLabels,getPartnerConfiguration:e.getPartnerConfiguration,getPublisherConfiguration:e.getPublisherConfiguration,disable:e.disable,disableTcfIntegration:e.disableTcfIntegration,addListener:e.addListener,removeListener:e.removeListener,addClient:e.addClient,setDebugEnabled:e.setDebugEnabled,setSystemClockJumpDetectionEnabled:e.setSystemClockJumpDetectionEnabled,setSystemClockJumpDetectionInterval:e.setSystemClockJumpDetectionInterval,setSystemClockJumpDetectionAlternativeContextInterval:e.setSystemClockJumpDetectionAlternativeContextInterval,setSystemClockJumpDetectionPrecision:e.setSystemClockJumpDetectionPrecision,setLiveEndpointUrl:e.setLiveEndpointUrl,setOfflineFlushEndpointUrl:e.setOfflineFlushEndpointUrl,setCacheMaxMeasurements:e.setCacheMaxMeasurements,setCacheMaxFlushesInARow:e.setCacheMaxFlushesInARow,setCacheMinutesToRetry:e.setCacheMinutesToRetry,setCacheMeasurementExpiry:e.setCacheMeasurementExpiry,setUsagePropertiesAutoUpdateMode:e.setUsagePropertiesAutoUpdateMode,setUsagePropertiesAutoUpdateInterval:e.setUsagePropertiesAutoUpdateInterval,setStorageWriteInterval:e.setStorageWriteInterval,addIncludedPublisher:e.addIncludedPublisher,addCrossPublisherUniqueDeviceIdChangeListener:e.addCrossPublisherUniqueDeviceIdChangeListener,removeCrossPublisherUniqueDeviceIdChangeListener:e.removeCrossPublisherUniqueDeviceIdChangeListener,enableChildDirectedApplicationMode:e.enableChildDirectedApplicationMode,PartnerConfiguration:i,PublisherConfiguration:o,LiveTransmissionMode:a,CacheMode:s,UsagePropertiesAutoUpdateMode:u})}},function(e,t,n){var r=n(3),i={};i.encrypt=function(){var e=function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));if(-1===n)throw new Error;return n},t=function(t){var n,r,i,o=(t=""+t).length;if(0===o)return t;if(o%4!=0)throw new Error;n=0,"="===t.charAt(o-1)&&(n=1,"="===t.charAt(o-2)&&(n=2),o-=4);var a=[];for(r=0;r<o;r+=4)i=e(t,r)<<18|e(t,r+1)<<12|e(t,r+2)<<6|e(t,r+3),a.push(String.fromCharCode(i>>16,i>>8&255,255&i));switch(n){case 1:i=e(t,r)<<18|e(t,r+1)<<12|e(t,r+2)<<6,a.push(String.fromCharCode(i>>16,i>>8&255));break;case 2:i=e(t,r)<<18|e(t,r+1)<<12,a.push(String.fromCharCode(i>>16))}return a.join("")};function n(e,t,n){null!=e&&("number"==typeof e?this.Ns(e,t,n):null==t&&"string"!=typeof e?this.Os(e,256):this.Os(e,t))}function i(){return new n(null)}n.prototype.Rs=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var u=16383&this[e],c=this[e++]>>14,l=s*u+c*a;i=((u=a*u+((16383&l)<<14)+n[r]+i)>>28)+(l>>14)+s*c,n[r++]=268435455&u}return i},n.prototype.ks=28,n.prototype.Ms=268435455,n.prototype.Us=1<<28,n.prototype.xs=Math.pow(2,52),n.prototype.Ws=24,n.prototype.Fs=4;var o,a,s=[];for(o="0".charCodeAt(0),a=0;a<=9;++a)s[o++]=a;for(o="a".charCodeAt(0),a=10;a<36;++a)s[o++]=a;for(o="A".charCodeAt(0),a=10;a<36;++a)s[o++]=a;function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function c(e,t){var n=s[e.charCodeAt(t)];return null==n?-1:n}function l(e){var t=i();return t.Bs(e),t}function d(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function _(e){this.o=e}function f(e){this.o=e,this.Vs=e.qs(),this.Gs=32767&this.Vs,this.js=this.Vs>>15,this.Hs=(1<<e.ks-15)-1,this.Ks=2*e._}function h(e,t){return e&t}function p(e,t){return e|t}function g(e,t){return e^t}function v(e,t){return e&~t}function m(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function y(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function b(){}function S(e){return e}function E(e){this.r2=i(),this.Js=i(),n.ONE.Ys(2*e._,this.r2),this.Xs=this.r2.zs(e),this.o=e}_.prototype.Qs=function(e){return e.s<0||e.$s(this.o)>=0?e.Zs(this.o):e},_.prototype.na=function(e){return e},_.prototype.reduce=function(e){e.ta(this.o,null,e)},_.prototype.ea=function(e,t,n){e.ia(t,n),this.reduce(n)},_.prototype.ra=function(e,t){e.oa(t),this.reduce(t)},f.prototype.Qs=function(e){var t=i();return e.abs().Ys(this.o._,t),t.ta(this.o,null,t),e.s<0&&t.$s(n.ZERO)>0&&this.o.ua(t,t),t},f.prototype.na=function(e){var t=i();return e.sa(t),this.reduce(t),t},f.prototype.reduce=function(e){for(;e._<=this.Ks;)e[e._++]=0;for(var t=0;t<this.o._;++t){var n=32767&e[t],r=n*this.Gs+((n*this.js+(e[t]>>15)*this.Gs&this.Hs)<<15)&e.Ms;for(e[n=t+this.o._]+=this.o.Rs(0,r,e,t,0,this.o._);e[n]>=e.Us;)e[n]-=e.Us,e[++n]++}e.aa(),e.fa(this.o._,e),e.$s(this.o)>=0&&e.ua(this.o,e)},f.prototype.ea=function(e,t,n){e.ia(t,n),this.reduce(n)},f.prototype.ra=function(e,t){e.oa(t),this.reduce(t)},n.prototype.sa=function(e){for(var t=this._-1;t>=0;--t)e[t]=this[t];e._=this._,e.s=this.s},n.prototype.Bs=function(e){this._=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+DV:this._=0},n.prototype.Os=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.ca(e,t);r=2}this._=0,this.s=0;for(var i=e.length,o=!1,a=0;--i>=0;){var s=8==r?255&e[i]:c(e,i);s<0?"-"==e.charAt(i)&&(o=!0):(o=!1,0==a?this[this._++]=s:a+r>this.ks?(this[this._-1]|=(s&(1<<this.ks-a)-1)<<a,this[this._++]=s>>this.ks-a):this[this._-1]|=s<<a,(a+=r)>=this.ks&&(a-=this.ks))}8==r&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this._-1]|=(1<<this.ks-a)-1<<a)),this.aa(),o&&n.ZERO.ua(this,this)},n.prototype.aa=function(){for(var e=this.s&this.Ms;this._>0&&this[this._-1]==e;)--this._},n.prototype.Ys=function(e,t){var n;for(n=this._-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t._=this._+e,t.s=this.s},n.prototype.fa=function(e,t){for(var n=e;n<this._;++n)t[n-e]=this[n];t._=Math.max(this._-e,0),t.s=this.s},n.prototype.la=function(e,t){var n,r=e%this.ks,i=this.ks-r,o=(1<<i)-1,a=Math.floor(e/this.ks),s=this.s<<r&this.Ms;for(n=this._-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t._=this._+a+1,t.s=this.s,t.aa()},n.prototype.da=function(e,t){t.s=this.s;var n=Math.floor(e/this.ks);if(n>=this._)t._=0;else{var r=e%this.ks,i=this.ks-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this._;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this._-n-1]|=(this.s&o)<<i),t._=this._-n,t.aa()}},n.prototype.ua=function(e,t){for(var n=0,r=0,i=Math.min(e._,this._);n<i;)r+=this[n]-e[n],t[n++]=r&this.Ms,r>>=this.ks;if(e._<this._){for(r-=e.s;n<this._;)r+=this[n],t[n++]=r&this.Ms,r>>=this.ks;r+=this.s}else{for(r+=this.s;n<e._;)r-=e[n],t[n++]=r&this.Ms,r>>=this.ks;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.Us+r:r>0&&(t[n++]=r),t._=n,t.aa()},n.prototype.ia=function(e,t){var r=this.abs(),i=e.abs(),o=r._;for(t._=o+i._;--o>=0;)t[o]=0;for(o=0;o<i._;++o)t[o+r._]=r.Rs(0,i[o],t,o,0,r._);t.s=0,t.aa(),this.s!=e.s&&n.ZERO.ua(t,t)},n.prototype.oa=function(e){for(var t=this.abs(),n=e._=2*t._;--n>=0;)e[n]=0;for(n=0;n<t._-1;++n){var r=t.Rs(n,t[n],e,2*n,0,1);(e[n+t._]+=t.Rs(n+1,2*t[n],e,2*n+1,r,t._-n-1))>=t.Us&&(e[n+t._]-=t.Us,e[n+t._+1]=1)}e._>0&&(e[e._-1]+=t.Rs(n,t[n],e,2*n,0,1)),e.s=0,e.aa()},n.prototype.ta=function(e,t,r){var o=e.abs();if(!(o._<=0)){var a=this.abs();if(a._<o._)return null!=t&&t.Bs(0),void(null!=r&&this.sa(r));null==r&&(r=i());var s=i(),u=this.s,c=e.s,l=this.ks-d(o[o._-1]);l>0?(o.la(l,s),a.la(l,r)):(o.sa(s),a.sa(r));var _=s._,f=s[_-1];if(0!=f){var h=f*(1<<this.Ws)+(_>1?s[_-2]>>this.Fs:0),p=this.xs/h,g=(1<<this.Ws)/h,v=1<<this.Fs,m=r._,y=m-_,b=null==t?i():t;for(s.Ys(y,b),r.$s(b)>=0&&(r[r._++]=1,r.ua(b,r)),n.ONE.Ys(_,b),b.ua(s,s);s._<_;)s[s._++]=0;for(;--y>=0;){var S=r[--m]==f?this.Ms:Math.floor(r[m]*p+(r[m-1]+v)*g);if((r[m]+=s.Rs(0,S,r,y,0,_))<S)for(s.Ys(y,b),r.ua(b,r);r[m]<--S;)r.ua(b,r)}null!=t&&(r.fa(_,t),u!=c&&n.ZERO.ua(t,t)),r._=_,r.aa(),l>0&&r.da(l,r),u<0&&n.ZERO.ua(r,r)}}},n.prototype.qs=function(){if(this._<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.Us)%this.Us)>0?this.Us-t:-t},n.prototype.va=function(){return 0==(this._>0?1&this[0]:this.s)},n.prototype.exp=function(e,t){if(e>4294967295||e<1)return n.ONE;var r=i(),o=i(),a=t.Qs(this),s=d(e)-1;for(a.sa(r);--s>=0;)if(t.ra(r,o),(e&1<<s)>0)t.ea(o,a,r);else{var u=r;r=o,o=u}return t.na(r)},n.prototype.toString=function(e){if(this.s<0)return"-"+this._a().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.pa(e);t=2}var n,r=(1<<t)-1,i=!1,o="",a=this._,s=this.ks-a*this.ks%t;if(a-- >0)for(s<this.ks&&(n=this[a]>>s)>0&&(i=!0,o=u(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.ks-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.ks,--a)),n>0&&(i=!0),i&&(o+=u(n));return i?o:"0"},n.prototype._a=function(){var e=i();return n.ZERO.ua(this,e),e},n.prototype.abs=function(){return this.s<0?this._a():this},n.prototype.$s=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this._;if(0!=(t=n-e._))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},n.prototype.ha=function(){return this._<=0?0:this.ks*(this._-1)+d(this[this._-1]^this.s&this.Ms)},n.prototype.Zs=function(e){var t=i();return this.abs().ta(e,null,t),this.s<0&&t.$s(n.ZERO)>0&&e.ua(t,t),t},n.prototype.ga=function(e,t){var n;return n=e<256||t.va()?new _(t):new f(t),this.exp(e,n)},n.ZERO=l(0),n.ONE=l(1),b.prototype.Qs=S,b.prototype.na=S,b.prototype.ea=function(e,t,n){e.ia(t,n)},b.prototype.ra=function(e,t){e.oa(t)},E.prototype.Qs=function(e){if(e.s<0||e._>2*this.o._)return e.Zs(this.o);if(e.$s(this.o)<0)return e;var t=i();return e.sa(t),this.reduce(t),t},E.prototype.na=function(e){return e},E.prototype.reduce=function(e){for(e.fa(this.o._-1,this.r2),e._>this.o._+1&&(e._=this.o._+1,e.aa()),this.Xs.ma(this.r2,this.o._+1,this.Js),this.o.ya(this.Js,this.o._+1,this.r2);e.$s(this.r2)<0;)e.Sa(1,this.o._+1);for(e.ua(this.r2,e);e.$s(this.o)>=0;)e.ua(this.o,e)},E.prototype.ea=function(e,t,n){e.ia(t,n),this.reduce(n)},E.prototype.ra=function(e,t){e.oa(t),this.reduce(t)};var $,T,A,C=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],P=(1<<26)/C[C.length-1];function I(){this.t=0,this.wa=0,this.ba=[]}function w(){var e;e=(new Date).getTime(),T[A++]^=255&e,T[A++]^=e>>8&255,T[A++]^=e>>16&255,T[A++]^=e>>24&255,A>=256&&(A-=256)}if(n.prototype.Ia=function(e){return Math.floor(Math.LN2*this.ks/Math.log(e))},n.prototype.pa=function(e){if(null==e&&(e=10),0==this.Ea()||e<2||e>36)return"0";var t=this.Ia(e),n=Math.pow(e,t),r=l(n),o=i(),a=i(),s="";for(this.ta(r,o,a);o.Ea()>0;)s=(n+a.Pa()).toString(e).substr(1)+s,o.ta(r,o,a);return a.Pa().toString(e)+s},n.prototype.ca=function(e,t){this.Bs(0),null==t&&(t=10);for(var r=this.Ia(t),i=Math.pow(t,r),o=!1,a=0,s=0,u=0;u<e.length;++u){var l=c(e,u);l<0?"-"==e.charAt(u)&&0==this.Ea()&&(o=!0):(s=t*s+l,++a>=r&&(this.Aa(i),this.Sa(s,0),a=0,s=0))}a>0&&(this.Aa(Math.pow(t,a)),this.Sa(s,0)),o&&n.ZERO.ua(this,this)},n.prototype.Ns=function(e,t,r){if("number"==typeof t)if(e<2)this.Bs(1);else for(this.Ns(e,r),this.Da(e-1)||this.Ca(n.ONE.shiftLeft(e-1),p,this),this.va()&&this.Sa(1,0);!this.La(t);)this.Sa(2,0),this.ha()>e&&this.ua(n.ONE.shiftLeft(e-1),this);else{var i=[],o=7&e;i.length=1+(e>>3),t.Ta(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.Os(i,256)}},n.prototype.Ca=function(e,t,n){var r,i,o=Math.min(e._,this._);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e._<this._){for(i=e.s&this.Ms,r=o;r<this._;++r)n[r]=t(this[r],i);n._=this._}else{for(i=this.s&this.Ms,r=o;r<e._;++r)n[r]=t(i,e[r]);n._=e._}n.s=t(this.s,e.s),n.aa()},n.prototype.Na=function(e,t){var r=n.ONE.shiftLeft(e);return this.Ca(r,t,r),r},n.prototype.Oa=function(e,t){for(var n=0,r=0,i=Math.min(e._,this._);n<i;)r+=this[n]+e[n],t[n++]=r&this.Ms,r>>=this.ks;if(e._<this._){for(r+=e.s;n<this._;)r+=this[n],t[n++]=r&this.Ms,r>>=this.ks;r+=this.s}else{for(r+=this.s;n<e._;)r+=e[n],t[n++]=r&this.Ms,r>>=this.ks;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.Us+r),t._=n,t.aa()},n.prototype.Aa=function(e){this[this._]=this.Rs(0,e-1,this,0,0,this._),++this._,this.aa()},n.prototype.Sa=function(e,t){if(0!=e){for(;this._<=t;)this[this._++]=0;for(this[t]+=e;this[t]>=this.Us;)this[t]-=this.Us,++t>=this._&&(this[this._++]=0),++this[t]}},n.prototype.ya=function(e,t,n){var r,i=Math.min(this._+e._,t);for(n.s=0,n._=i;i>0;)n[--i]=0;for(r=n._-this._;i<r;++i)n[i+this._]=this.Rs(0,e[i],n,i,0,this._);for(r=Math.min(e._,t);i<r;++i)this.Rs(0,e[i],n,i,0,t-i);n.aa()},n.prototype.ma=function(e,t,n){--t;var r=n._=this._+e._-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this._,0);r<e._;++r)n[this._+r-t]=this.Rs(t-r,e[r],n,0,0,this._+r-t);n.aa(),n.fa(1,n)},n.prototype.Ra=function(e){if(e<=0)return 0;var t=this.Us%e,n=this.s<0?e-1:0;if(this._>0)if(0==t)n=this[0]%e;else for(var r=this._-1;r>=0;--r)n=(t*n+this[r])%e;return n},n.prototype.ka=function(e){var t=this.Ma(n.ONE),r=t.Ua();if(r<=0)return!1;var o=t.xa(r);(e=e+1>>1)>C.length&&(e=C.length);for(var a=i(),s=0;s<e;++s){a.Bs(C[Math.floor(Math.random()*C.length)]);var u=a.Wa(o,this);if(0!=u.$s(n.ONE)&&0!=u.$s(t)){for(var c=1;c++<r&&0!=u.$s(t);)if(0==(u=u.ga(2,this)).$s(n.ONE))return!1;if(0!=u.$s(t))return!1}}return!0},n.prototype.clone=function(){var e=i();return this.sa(e),e},n.prototype.Pa=function(){if(this.s<0){if(1==this._)return this[0]-this.Us;if(0==this._)return-1}else{if(1==this._)return this[0];if(0==this._)return 0}return(this[1]&(1<<32-this.ks)-1)<<this.ks|this[0]},n.prototype.Fa=function(){return 0==this._?this.s:this[0]<<24>>24},n.prototype.Ba=function(){return 0==this._?this.s:this[0]<<16>>16},n.prototype.Ea=function(){return this.s<0?-1:this._<=0||1==this._&&this[0]<=0?0:1},n.prototype.Va=function(){var e=this._,t=[];t[0]=this.s;var n,r=this.ks-e*this.ks%8,i=0;if(e-- >0)for(r<this.ks&&(n=this[e]>>r)!=(this.s&this.Ms)>>r&&(t[i++]=n|this.s<<this.ks-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.ks-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.ks,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t},n.prototype.qa=function(e){return 0==this.$s(e)},n.prototype.min=function(e){return this.$s(e)<0?this:e},n.prototype.max=function(e){return this.$s(e)>0?this:e},n.prototype.Ga=function(e){var t=i();return this.Ca(e,h,t),t},n.prototype.ja=function(e){var t=i();return this.Ca(e,p,t),t},n.prototype.Ha=function(e){var t=i();return this.Ca(e,g,t),t},n.prototype.Ka=function(e){var t=i();return this.Ca(e,v,t),t},n.prototype.Ja=function(){for(var e=i(),t=0;t<this._;++t)e[t]=this.Ms&~this[t];return e._=this._,e.s=~this.s,e},n.prototype.shiftLeft=function(e){var t=i();return e<0?this.da(-e,t):this.la(e,t),t},n.prototype.xa=function(e){var t=i();return e<0?this.la(-e,t):this.da(e,t),t},n.prototype.Ua=function(){for(var e=0;e<this._;++e)if(0!=this[e])return e*this.ks+m(this[e]);return this.s<0?this._*this.ks:-1},n.prototype.Ya=function(){for(var e=0,t=this.s&this.Ms,n=0;n<this._;++n)e+=y(this[n]^t);return e},n.prototype.Da=function(e){var t=Math.floor(e/this.ks);return t>=this._?0!=this.s:0!=(this[t]&1<<e%this.ks)},n.prototype.Xa=function(e){return this.Na(e,p)},n.prototype.za=function(e){return this.Na(e,v)},n.prototype.Qa=function(e){return this.Na(e,g)},n.prototype.add=function(e){var t=i();return this.Oa(e,t),t},n.prototype.Ma=function(e){var t=i();return this.ua(e,t),t},n.prototype.multiply=function(e){var t=i();return this.ia(e,t),t},n.prototype.zs=function(e){var t=i();return this.ta(e,t,null),t},n.prototype.$a=function(e){var t=i();return this.ta(e,null,t),t},n.prototype.Za=function(e){var t=i(),n=i();return this.ta(e,t,n),[t,n]},n.prototype.Wa=function(e,t){var n,r,o=e.ha(),a=l(1);if(o<=0)return a;n=o<18?1:o<48?3:o<144?4:o<768?5:6,r=o<8?new _(t):t.va()?new E(t):new f(t);var s=[],u=3,c=n-1,h=(1<<n)-1;if(s[1]=r.Qs(this),n>1){var p=i();for(r.ra(s[1],p);u<=h;)s[u]=i(),r.ea(p,s[u-2],s[u]),u+=2}var g,v,m=e._-1,y=!0,b=i();for(o=d(e[m])-1;m>=0;){for(o>=c?g=e[m]>>o-c&h:(g=(e[m]&(1<<o+1)-1)<<c-o,m>0&&(g|=e[m-1]>>this.ks+o-c)),u=n;0==(1&g);)g>>=1,--u;if((o-=u)<0&&(o+=this.ks,--m),y)s[g].sa(a),y=!1;else{for(;u>1;)r.ra(a,b),r.ra(b,a),u-=2;u>0?r.ra(a,b):(v=a,a=b,b=v),r.ea(b,s[g],a)}for(;m>=0&&0==(e[m]&1<<o);)r.ra(a,b),v=a,a=b,b=v,--o<0&&(o=this.ks-1,--m)}return r.na(a)},n.prototype.nf=function(e){var t=e.va();if(this.va()&&t||0==e.Ea())return n.ZERO;for(var r=e.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),u=l(1);0!=r.Ea();){for(;r.va();)r.da(1,r),t?(o.va()&&a.va()||(o.Oa(this,o),a.ua(e,a)),o.da(1,o)):a.va()||a.ua(e,a),a.da(1,a);for(;i.va();)i.da(1,i),t?(s.va()&&u.va()||(s.Oa(this,s),u.ua(e,u)),s.da(1,s)):u.va()||u.ua(e,u),u.da(1,u);r.$s(i)>=0?(r.ua(i,r),t&&o.ua(s,o),a.ua(u,a)):(i.ua(r,i),t&&s.ua(o,s),u.ua(a,u))}return 0!=i.$s(n.ONE)?n.ZERO:u.$s(e)>=0?u.Ma(e):u.Ea()<0?(u.Oa(e,u),u.Ea()<0?u.add(e):u):u},n.prototype.pow=function(e){return this.exp(e,new b)},n.prototype.tf=function(e){var t=this.s<0?this._a():this.clone(),n=e.s<0?e._a():e.clone();if(t.$s(n)<0){var r=t;t=n,n=r}var i=t.Ua(),o=n.Ua();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.da(o,t),n.da(o,n));t.Ea()>0;)(i=t.Ua())>0&&t.da(i,t),(i=n.Ua())>0&&n.da(i,n),t.$s(n)>=0?(t.ua(n,t),t.da(1,t)):(n.ua(t,n),n.da(1,n));return o>0&&n.la(o,n),n},n.prototype.La=function(e){var t,n=this.abs();if(1==n._&&n[0]<=C[C.length-1]){for(t=0;t<C.length;++t)if(n[0]==C[t])return!0;return!1}if(n.va())return!1;for(t=1;t<C.length;){for(var r=C[t],i=t+1;i<C.length&&r<P;)r*=C[i++];for(r=n.Ra(r);t<i;)if(r%C[t++]==0)return!1}return n.ka(e)},n.prototype.ef=function(){var e=i();return this.oa(e),e},I.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.ba[t]=t;for(n=0,t=0;t<256;++t)n=n+this.ba[t]+e[t%e.length]&255,r=this.ba[t],this.ba[t]=this.ba[n],this.ba[n]=r;this.t=0,this.wa=0},I.prototype.next=function(){var e;return this.t=this.t+1&255,this.wa=this.wa+this.ba[this.t]&255,e=this.ba[this.t],this.ba[this.t]=this.ba[this.wa],this.ba[this.wa]=e,this.ba[e+this.ba[this.t]&255]},null==T){var M;for(T=[],A=0;A<256;)M=Math.floor(65536*Math.random()),T[A++]=M>>>8,T[A++]=255&M;A=0,w()}function k(){if(null==$){for(w(),($=new I).init(T),A=0;A<T.length;++A)T[A]=0;A=0}return $.next()}function O(){}function R(e,t){return new n(e,t)}function D(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}O.prototype.Ta=function(e){var t;for(t=0;t<e.length;++t)e[t]=k()},D.prototype.if=function(e){return e.ga(this.e,this.n)},D.prototype.rf=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=R(e,16),this.e=parseInt(t,16)):alert("Invalid RSA public key")},D.prototype.encrypt=function(e){var t=function(e,t){if(t<e.length+11)return alert("Message too long for RSA"),null;for(var r=[],i=e.length-1;i>=0&&t>0;){var o=e.charCodeAt(i--);o<128?r[--t]=o:o>127&&o<2048?(r[--t]=63&o|128,r[--t]=o>>6|192):(r[--t]=63&o|128,r[--t]=o>>6&63|128,r[--t]=o>>12|224)}r[--t]=0;for(var a=new O,s=[];t>2;){for(s[0]=0;0==s[0];)a.Ta(s);r[--t]=s[0]}return r[--t]=2,r[--t]=0,new n(r)}(e,this.n.ha()+7>>3);if(null==t)return null;var r=this.if(t);if(null==r)return null;var i=r.toString(16);return 0==(1&i.length)?i:"0"+i},D.prototype.uf=function(e){if(null==this.p||null==this.q)return e.Wa(this.d,this.n);for(var t=e.Zs(this.p).Wa(this.dmp1,this.p),n=e.Zs(this.q).Wa(this.dmq1,this.q);t.$s(n)<0;)t=t.add(this.p);return t.Ma(n).multiply(this.coeff).Zs(this.p).multiply(this.q).add(n)},D.prototype.af=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=R(e,16),this.e=parseInt(t,16),this.d=R(n,16)):alert("Invalid RSA private key")},D.prototype.ff=function(e,t,n,r,i,o,a,s){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=R(e,16),this.e=parseInt(t,16),this.d=R(n,16),this.p=R(r,16),this.q=R(i,16),this.dmp1=R(o,16),this.dmq1=R(a,16),this.coeff=R(s,16)):alert("Invalid RSA private key")},D.prototype.cf=function(e,t){var r=new O,i=e>>1;this.e=parseInt(t,16);for(var o=new n(t,16);;){for(;this.p=new n(e-i,1,r),0!=this.p.Ma(n.ONE).tf(o).$s(n.ONE)||!this.p.La(10););for(;this.q=new n(i,1,r),0!=this.q.Ma(n.ONE).tf(o).$s(n.ONE)||!this.q.La(10););if(this.p.$s(this.q)<=0){var a=this.p;this.p=this.q,this.q=a}var s=this.p.Ma(n.ONE),u=this.q.Ma(n.ONE),c=s.multiply(u);if(0==c.tf(o).$s(n.ONE)){this.n=this.p.multiply(this.q),this.d=o.nf(c),this.dmp1=this.d.Zs(s),this.dmq1=this.d.Zs(u),this.coeff=this.q.nf(this.p);break}}},D.prototype.decrypt=function(e){var t=R(e,16),n=this.uf(t);return null==n?null:function(e,t){for(var n=e.Va(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=t-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):o>191&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i}(n,this.n.ha()+7>>3)};var L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function x(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=L.charAt(n>>6)+L.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=L.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=L.charAt(n>>2)+L.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}D.prototype.lf=function(e){e=this.df(e);var t=this.vf(),n=0,r=null,i=null,o=0;for(var a in t)t.hasOwnProperty(a)&&((r=t[a]).hasOwnProperty("offset")&&(n+=2*r.offset),o="string"==typeof r.length?this[r.length]:r.length,o*=2,i=e.substr(n,o),r.hasOwnProperty("type")&&("int"==r.type?i=parseInt(i,16):"bigint"==r.type&&(i=R(i,16))),n+=o,this[a]=i)},D.prototype._f=function(e){var n="";e=t(e);for(var r=0;r<e.length;++r){var i=e.charCodeAt(r).toString(16);1===i.length&&(i="0"+i),n+=i}return n},D.prototype.df=function(e){var t=(e=e.replace(/^\s+|\s+$/g,"")).split(/\r?\n/);return"-----BEGIN"==t[0].substring(0,10)&&(t=t.slice(1,t.length-1)),e=t.join(""),this._f(e)},D.prototype.pf=function(){var e="",t=this.vf(),n=null,r=null,i=0;for(var o in t)t.hasOwnProperty(o)&&(n=t[o]).hf&&((r=this[o].toString(16)).length%2&&(r="0"+r),n.hasOwnProperty("padded")&&n.gf&&(r="00"+r),(i=(i=r.length/2).toString(16)).length%2&&(i="0"+i),n.hasOwnProperty("extraspace")&&(e+=i),e+=i,e+=r,e+="02");return e.slice(0,-2)},D.prototype.mf=function(e,t){if(!e)return e;var n="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(new RegExp(n,"g")).join("\n")},D.prototype.yf=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n",t="3082025e02010002";return t+=this.pf(),(e+=this.mf(x(t))+"\n")+"-----END RSA PRIVATE KEY-----"},D.prototype.Sf=function(){var e="-----BEGIN PUBLIC KEY-----\n",t="30819f300d06092a864886f70d010101050003818d0030818902";return t+=this.pf(),(e+=this.mf(x(t))+"\n")+"-----END PUBLIC KEY-----"};var N=function(e){D.call(this),e&&this.lf(e)};(N.prototype=new D).constructor=N,N.prototype.vf=function(){return{header:{length:4},versionlength:{length:1,offset:1,type:"int"},version:{length:"versionlength",type:"int"},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",hf:!0,gf:!0,wf:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",hf:!0},d_length:{length:1,offset:2,type:"int"},d:{length:"d_length",type:"bigint",hf:!0,gf:!0,wf:!0},p_length:{length:1,offset:1,type:"int"},p:{length:"p_length",type:"bigint",hf:!0,gf:!0},q_length:{length:1,offset:1,type:"int"},q:{length:"q_length",type:"bigint",hf:!0,gf:!0},dmp1_length:{length:1,offset:1,type:"int"},dmp1:{length:"dmp1_length",type:"bigint",hf:!0},dmq1_length:{length:1,offset:1,type:"int"},dmq1:{length:"dmq1_length",type:"bigint",hf:!0,gf:!0},coeff_length:{length:1,offset:1,type:"int"},coeff:{length:"coeff_length",type:"bigint",hf:!0,gf:!0}}};var U=function(e){D.call(this),e&&("string"==typeof e?this.lf(e):e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&(this.n=e.n,this.e=e.e))};(U.prototype=new D).constructor=U,U.prototype.vf=function(){return{header:{length:25},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",hf:!0,gf:!0,wf:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",hf:!0}}};var B=function(){this.bf=null,this.If=null};return B.prototype.Ef=function(e){this.bf=new N(e),this.If=new U(this.bf)},B.prototype.Pf=function(e){this.If=new U(e)},B.prototype.decrypt=function(e){return!!this.bf&&this.bf.decrypt(function(e){var t,n,r="",i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o=L.indexOf(e.charAt(t));o<0||(0==i?(r+=u(o>>2),n=3&o,i=1):1==i?(r+=u(n<<2|o>>4),n=15&o,i=2):2==i?(r+=u(n),r+=u(o>>2),n=3&o,i=3):(r+=u(n<<2|o>>4),r+=u(15&o),i=0))}return 1==i&&(r+=u(n<<2)),r}(e))},B.prototype.encrypt=function(e){var t=this.If||this.bf;return!!t&&x(t.encrypt(e))},B.prototype.yf=function(){return this.bf||(this.bf=new N,this.bf.cf(1024,"010001"),this.If=new U(this.bf)),this.bf.yf()},B.prototype.Sf=function(){return this.If||(this.If=new U,this.If.cf(1024,"010001")),this.If.Sf()},function(e){var t=new B;return t.Pf(r.In),t.encrypt(e)}}(),e.exports=i.encrypt},function(e,t,n){var r=n(0),i=n(20),o=n(44),a=n(2).yn,s=n(85),u=n(86),c=n(26),l=n(15),d=n(9),_=n(25),f=n(11),h=n(19);e.exports=function(e,t,n,p,g,v,m){var y,b,S,E,$,T,A,C,P,I;function w(e,r,o,u){!function(e){e.setLabel("ns_ap_pn",a.K()),e.setLabel("ns_ap_pv",a.Y()),e.setLabel("ns_ap_pfm",a.J()),e.setLabel("ns_ap_pfv",a.H()),e.setLabel("ns_ap_device",a.j()),e.setLabel("ns_ap_lang",a.nn()),e.setLabel("ns_ap_ar",a.en()),e.setLabel("ns_radio",function(e){switch(e){case d.EMULATOR:return"emu";case d.WIFI:return"wlan";case d.WWAN:return"wwan";case d.ETHERNET:return"eth";case d.BLUETOOTH:return"bth";default:return"unknown"}}(a.in())),e.setLabel("ns_ap_env",a.gn()),e.pr()&&e.setLabel("ns_ap_jb",i.Ge(a.rn()))}(e),function(e,t){e.setLabel("ns_ap_an",t.F()),e.setLabel("ns_ap_res",a.Z()),e.setLabel("ns_ap_po","0x0"),e.setLabel("ns_ap_sd",a.X()),e.setLabel("ns_ap_ver",t.B()),e.setLabel("ns_ap_bi",t.Oi())}(e,u),function(e){if(m.isEnabled()){var t=m.Df();if(t)if(t.Cf)e.addLabels({cs_cmp_nc:"1"});else{var n,r={gdpr:"0",gdpr_p1t:"",gdpr_li:"",gdpr_purps:"",gdpr_pcc:"",cs_cmp_id:t.cmpId,cs_cmp_sv:t.cmpVersion,cs_cmp_nc:t.Lf?"1":"0"};if(t.Tf)if(r.gdpr="1",t.Nf){if(r.gdpr_li=t.Of?"1":"0",r.gdpr_pcc=t.Rf,t.kf&&t.purposeOneTreatment?(r.gdpr_p1t="1",n=!0):(r.gdpr_p1t="0",n=t.consents[1]),t.Mf){var i=[];n&&i.push(1),t.consents[7]&&i.push(7),t.consents[8]&&i.push(8),t.consents[9]&&i.push(9),t.consents[10]&&i.push(10),r.gdpr_purps=i.join(",")}e.addLabels(r)}else e.addLabels(r);else e.addLabels(r)}}}(e),function(e){var t=v.Ut();t.Ft&&e.setLabel("ns_ak",t.Ft),t.Mt&&e.setLabel("ns_ap_ni","1")}(e),a.un(e.getLabels()),b.push(e),function(e){!function(e){var t=a.in(),r=e.ki(),i=!1;t!=d.DISCONNECTED&&r!=_.CACHE&&(r!=_.LAN||t!=d.WWAN&&t!=d.BLUETOOTH)||(i=!0);for(var o=0;o<b.length;++o){var u=b[o];if(i)n.er(u,e);else{var c=new s(u,k,O,e);e.Mi()&&a.sn("Comscore: "+c.Uf()),c.nr()}}n.tr(),b=[]}(e)}(u),t.$t()}function M(n,r,i,o){(function(e,n){return function(e,t){var n=e.getIncludedPublishers();if(0==n.length)return!0;for(var r=0;r<n.length;++r)if(t.Di(n[r]))return!0;return!1}(e,n)&&function(){var e=+new Date;return e<$?(T=0,$=e,A=0,C=e,t.put(f.dt,A),t.put(f.vt,C)):(e-$>1e3&&(T=0,$=e),e-C>1e3&&(A=0,C=e,t.put(f.dt,A),t.put(f.vt,C))),T<20&&A<6e3&&(T++,A++,t.put(f.dt,A),!0)}()})(i,o)&&(t.put(f.jn,+new Date),e.ze(r,!0),function(n,r,i,o){0==y&&n.pr()&&(S=+new Date,t.put(f.lt,S),E++,t.put(f._t,E),n.setLabel("ns_ap_csf","1"),n.setLabel("ns_ap_cfg",o.Ai())),y++,n.setLabel("ns_ts",r+""),n.setLabel("ns_ap_ec",y+""),n.setLabel("ns_ap_cs",E+""),n.setLabel("ns_ap_id",S+""),e.Qe()==c.Ee.Ye?n.setLabel("name","foreground"):e.Qe()==c.Ee.Xe||e.Qe()==c.Ee.Ie?n.setLabel("name","background"):n.setLabel("name","Application"),i instanceof h&&!i.Fe()||function(t,n,r){t.setLabel("ns_ap_fg",e.oi()+""),t.setLabel("ns_ap_ft",e.ri(t.pr())+""),t.setLabel("ns_ap_dft",e.ii()+""),t.setLabel("ns_ap_bt",e.ui(t.pr())+""),t.setLabel("ns_ap_dbt",e.ei()+""),t.setLabel("ns_ap_it",e.ti(t.pr())+""),t.setLabel("ns_ap_dit",e.ni()+""),t.setLabel("ns_ap_as",e.$e()+""),t.setLabel("ns_ap_das",e.Ze()+""),t.setLabel("ns_ap_ut",1e3*n.getUsagePropertiesAutoUpdateInterval()+""),t.setLabel("ns_ap_usage",r-e.si()+"")}(n,o,r),function(e){e.setLabel("c1","19"),e.setLabel("ns_ap_smv","6.4"),e.setLabel("ns_ap_bv",l.VERSION),e.setLabel("ns_ap_sv",l.VERSION)}(n),function(e,t){var n=t.getPartnerConfigurations();if(0!=t.getPartnerConfigurations().length){for(var r="",i="",o=0;o<n.length;++o){var a=n[o];r+=a.getPartnerId()+",",i+=a.getExternalClientId()+","}r=r.substring(0,r.length-1),i=i.substring(0,i.length-1),e.setLabel("cs_partner",r),e.setLabel("cs_xcid",i)}}(n,o),n.addLabels(P),n.addLabels(i.getLabels()),u.xf(n,i,n.getLabels(),o)}(n,r,i,o),P={},I.push({event:n,timestamp:r,Af:i,configuration:o}),p.Wf())}function k(e,r){n.flush(r),n.me(),t.$t()}function O(e,r){n.er(e,r),n.me(),n.tr(),t.$t()}r.extend(this,{ve:function(){return y},we:function(e,t,r){var i;M(((i=new o).setLabel("ns_type","hidden"),i.setLabel("ns_ap_ev","keep-alive"),i.setLabel("ns_ap_oc",n.rr()+""),i),e,t,r)},Bt:function(t,n,r){M(function(){var t=new o;t.setLabel("ns_type","view"),t.setLabel("ns_ap_ev","start"),t.setLabel("ns_ap_gs",g.Ff()+""),t.setLabel("ns_ap_install",g.Bf()+"");var n=e.ai();return n>0&&t.setLabel("ns_ap_lastrun",n+""),g.Vf()&&t.setLabel("ns_ap_updated",g.qf()+""),t}(),t,n,r)},pe:function(e,t,n){M(function(){var e=new o;return e.setLabel("ns_type","hidden"),e.setLabel("ns_ap_ev","hidden"),e}(),e,t,n)},ge:function(e,t,n){M(function(){var e=new o;return e.setLabel("ns_type","view"),e.setLabel("ns_ap_ev","view"),e}(),e,t,n)},ie:function(e,n){P[e]=n+"",t.put(f.pt,P)}}),y=0,b=[],E=t.get(f._t,0),$=-1,T=0,C=-1,A=0,P=t.get(f.pt,{}),I=[],p.addListener((function(){for(var e=0;e<I.length;e++){var t=I[e];w(t.event,t.timestamp,t.Af,t.configuration)}I=[]}))}},function(e,t,n){var r=n(0),i=n(2).yn,o=n(20);e.exports=function(e,t,n,a){var s;function u(r){200==r||a.isHttpRedirectCachingEnabled()&&(302==r||301==r)?t(e,a):n(e,a)}!function(){s=o.Be(a.Ti(),e.getLabels(),a.getLabelOrder());var t="undefined"==typeof window||(window.ActiveXObject,1)?4096:2048;if(s.length>t&&s.indexOf("&")>0){var n=s.substring(0,t-8).lastIndexOf("&"),r=encodeURIComponent(s.substring(n+1));s=s.substring(0,n)+"&ns_cut="+r}s.length>t&&(s=s.substring(0,t))}(),r.extend(this,{nr:function(){i.T?i.T(s,u,a):u()},Uf:function(){return s}})}},function(e,t,n){var r=n(32),i=n(0),o=n(19),a=n(2).yn,s="a".charCodeAt(0);function u(e,t){if(0==t)return e;var n=String.fromCharCode(s+t-1),r=function(e){var t=e.match(/^[cC](\d|[12]\d)$/);return t&&t[1]?t[1]:""}(e);return String(r?"c"+n+r:"c"+n+"_"+e)}function c(e,t,n){var r=[],i=e.getPersistentLabels();for(var o in i)r.push(o);if(n){var a=e.getStartLabels();for(o in a)r.push(o)}var s=t.getPublisherLabels(e.getPublisherId()),u=t.getLabels();for(o in s)o in u||r.push(o);return r}var l={xf:function(e,t,n,s){for(var l={},d=e.pr(),_=[],f=[],h=t.getIncludedPublishers(),p=s.getPublisherConfigurations(),g=0;g<p.length;++g){var v=p[g],m=v.getPublisherId();m!=r.re&&(0!=h.length&&-1==h.indexOf(m)||(_.push(v),f.push(m)))}if((0==h.length||-1!=h.indexOf(r.re))&&s.getPartnerConfigurations().length>0){var y=function(e){for(var t={},n={},r=e.getPartnerConfigurations(),o=0;o<r.length;++o){var a=r[o];i.extend(t,a.getPersistentLabels()),i.extend(n,a.getStartLabels())}return e.qi().copy({persistentLabels:t,startLabels:n})}(s);_.push(y),f.push(y.getPublisherId())}for(var b=[],S=0;S<_.length;++S){var E=_[S];if(S>=26)break;var $={};if($.c2=E.getPublisherId(),$.c12=E.getPublisherUniqueDeviceId(),a.pn&&($.c12=a.hn),i.extend($,n),i.extend($,s.getPersistentLabels()),i.extend($,E.getPersistentLabels()),i.extend($,t.getLabels()),d&&i.extend($,s.getStartLabels()),i.extend($,t.getPublisherLabels(E.getPublisherId())),d&&i.extend($,E.getStartLabels()),0==S)b=c(E,t,d),i.extend(l,$);else{for(g=0;g<b.length;++g){var T=b[g];T in $||($[T]="*null")}for(var A in $)A in l&&l[A]==$[A]||(l[u(A,S)]=$[A])}}if(t instanceof o){var C=t.We();for(g=0;g<C.length;++g){var P=C[g];if(S>=26)break;if(-1==f.indexOf(P)){var I=t.getPublisherLabels(P);for(A in l[u("c2",S)]=P,I)A in l&&l[A]==I[A]||(l[u(A,S)]=I[A]);S++}}}e.addLabels(l)}};e.exports=l},function(e,t,n){var r=n(0);e.exports=function(e){var t,n;!function(){var n=e.getProperties();try{(t=JSON.parse(n))&&"object"==s(t)||(t={})}catch(e){t={}}}(),n=!1,r.extend(this,{put:function(e,r){t[e]=r,n=!0},get:function(e,n){return e in t?t[e]:n},remove:function(e){delete t[e],n=!0},contains:function(e){return e in t},clear:function(){t={}},$t:function(){var r;n&&(r=JSON.stringify(t),e.storeProperties(r)),n=!1}})}},function(e,t,n){var r=n(0),i=n(2).yn;e.exports=function(e){var t,n;function o(){n&&(n=!1,function(){e();for(var n=0;n<t.length;n++)t[n]()}())}function a(){n&&(n=!1)}t=[],r.extend(this,{addListener:function(e){t.push(e)},Wf:function(){n||(n=!0,i.U(o,a))}})}},function(e,t,n){var r=n(0),i=n(11);e.exports=function(e,t){var n,o,a,s,u=-1;!function(){a=!1,s=!1,u=e.get(i.Kn,-1),n=e.get(i.Jn,-1),o=e.get(i.Hn,null),e.put(i.Hn,t.B());var r=+new Date;-1==u?(u=r,n=r,e.put(i.Kn,u),e.put(i.Jn,n),a=!0):o&&o!=t.B()&&(n=r,e.put(i.Jn,n),e.put(i._t,0),s=!0)}(),r.extend(this,{qf:function(){return o},Ff:function(){return u},Bf:function(){return n},Vf:function(){return s},Gf:function(){return a}})}},function(e,t,n){var r=n(0),i=n(11),o=n(2).yn,a=["previousVersion","AppName","AppVersion","vid","exitCode","q_dcc","q_dcf","runs","accumulatedActiveUserSessionTime","accumulatedUserSessionTime","activeUserSessionCount","userSessionCount","userInteractionCount","lastActiveUserSessionTimestamp","lastUserInteractionTimestamp","lastUserSessionTimestamp"],s={CACHE_DROPPED_MEASUREMENTS:i.Gn,lastApplicationAccumulationTimestamp:i.Qn,lastSessionAccumulationTimestamp:i.$n,lastApplicationSessionTimestamp:i.Zn,foregroundTransitionsCount:i.nt,accumulatedForegroundTime:i.tt,accumulatedBackgroundTime:i.et,accumulatedInactiveTime:i.it,totalForegroundTime:i.rt,totalBackgroundTime:i.ot,totalInactiveTime:i.ut,accumulatedApplicationSessionTime:i.st,applicationSessionCountKey:i.ft,genesis:i.ct,previousGenesis:i.lt,installId:i.Jn,firstInstallId:i.Kn,currentVersion:i.Hn,coldStartCount:i._t,crossPublisherIdHashed:i.Yn,crossPublisherId:i.Xn},u={pg:i.lt};e.exports=function(){var e="function"==typeof o.R?new o.R:null;r.extend(this,{ue:function(t){if(e)for(var n in s){var r=e.get(n);null!=r&&t.put(s[n],r)}for(var i in u){var o=t.get(i);null!=o&&t.put(u[i],o)}},se:function(t){if(e){for(var n in s)e.remove(n);for(var r=0;r<a.length;++r)e.remove(a[r]);e.clear()}for(var i in u)t.remove(i)}})}},function(e,t,n){var r=n(0),i=n(44),o=n(2).yn,a="cache_dir",s="undefined"!=typeof encodeURIComponent?decodeURIComponent:unescape;e.exports=function(e,t,n){var u="function"==typeof o.R?new o.R:null,c="function"==typeof o.k?new o.k:null,l=function(){return c&&c.dir(a)||[]},d=function(e){c&&(c.deleteFile(a,e),u&&u.remove(e))},_=function(e){if(!c)return[];var t=c.read(a,e);return t?t.split("\n"):[]};function f(e){for(var t=e.split("&"),n=new i,r=0;r<t.length;++r){var o=t[r].split("="),a=s(o[0]),u=s(o[1]);n.setLabel(a,u)}return n}r.extend(this,{ae:function(){var e=function(e){for(var t=[],n=0;n<e.length;++n){var r=f(e[n]);t.push(r)}return t}(function(){for(var e=l(),t=[],n=0;n<e.length;++n){var r=_(e[n]);t=t.concat(r)}return t}());n.ir(e)},fe:function(){for(var e=l(),t=0;t<e.length;++t)d(e[t])}})}},function(e,t,n){var r=n(0),i=n(93),o=n(11);e.exports=function(){var e,t,n=this;r.extend(n,{zt:function(e){t=e},isEnabled:function(){return t},ce:function(t){e=t},ne:function(){if(!t)return!0;var e=n.Df();return!e||!!e.Cf||!e.Tf||!!e.Nf&&!!e.Mf&&(e.kf&&e.purposeOneTreatment||e.consents[1])},Df:function(){return i.jf()},te:function(){e.remove(o.zn),e.remove(o.Yn),e.remove(o.Xn)}}),t=!0}},function(e,t,n){"use strict";Object.defineProperty(t,"v",{value:!0}),t.jf=void 0;var r=[1,7,8,9,10],i=!1;function o(e){var t={};if(!e)return t;for(var n=0,i=r;n<i.length;n++){var o=i[n];t[o]=e.purpose.consents[o]}return t}t.jf=function(){try{var e=function(){try{var e;if("function"==typeof __tcfapi)return __tcfapi("getTCData",2,(function(t){e=t})),e||(i=!0),e}catch(e){}}();if(!e&&!i)return!1;if(e)return e.gdprApplies?{Cf:!1,cmpId:e.cmpId,cmpVersion:e.cmpVersion,Lf:i,Tf:!0,Nf:!0,kf:e.isServiceSpecific,purposeOneTreatment:e.purposeOneTreatment,Of:e.vendor.legitimateInterests[77],Mf:e.vendor.consents[77],consents:o(e),Rf:e.publisherCC||""}:{Cf:!1,cmpId:e.cmpId,cmpVersion:e.cmpVersion,Lf:i,Tf:!1}}catch(e){}return{Cf:!0,Lf:!0}}},function(e,t,n){var r=n(0),i=n(14),o=n(95),a=n(1).I,s=n(1).P,u=n(16),c=n(119),l=n(31),d=n(120),_=n(50),f=n(121),h=n(122);function p(e){var t,n=this;r.extend(n,{configuration:null,extendedAnalytics:null,createPlaybackSession:function(){t.Hf().jo().Go("createPlaybackSession");var e=t.Hf().Qo().zo();e!=s.IDLE&&(t.Hf().jo().Ho("Ending the current Clip. It was in state:",i.wt(e)),n.notifyEnd()),t.Hf().Lr().Qr()&&t.ou()},addListener:function(e){t.addListener(e)},removeListener:function(e){t.removeListener(e)},addMeasurementListener:function(e){t.addMeasurementListener(e)},removeMeasurementListener:function(e){t.removeMeasurementListener(e)},setDvrWindowLength:function(e){t.Hf().Lr().Cr().setDvrWindowLength(e),t.Hf().Lr().Cr().ws(!0)},startFromDvrWindowOffset:function(e){t.Hf().Lr().startFromDvrWindowOffset(e),t.Hf().Lr().Cr().ws(!0)},setMediaPlayerName:function(e){t.Hf().Lr().setMediaPlayerName(e)},setMediaPlayerVersion:function(e){t.Hf().Lr().setMediaPlayerVersion(e)},setImplementationId:function(e){t.Hf().Lr().setImplementationId(e)},setProjectId:function(e){t.setProjectId(e+"")},startFromSegment:function(e){t.Hf().jo().Go("startFromSegment",e),t.Hf().Lr().startFromSegment(e)},startFromPosition:function(e){t.Hf().jo().Go("startFromPosition",e),t.Hf().Lr().startFromPosition(e)},loopPlaybackSession:function(){t.Hf().jo().Go("loopPlaybackSession"),t.Hf().Lr().loopPlaybackSession()},setMetadata:function(e){t.Hf().Lr().qo(e)},getPlaybackSessionId:function(){t.Hf().Lr().Mo()},notifyPlay:function(){t.Hf().jo().Go("notifyPlay");var e=new u(a.PLAY);t.$o(e)},notifyPause:function(){t.Hf().jo().Go("notifyPause");var e=new u(a.PAUSE);t.$o(e)},notifyEnd:function(){t.Hf().jo().Go("notifyEnd");var e=new u(a.END);t.$o(e)},notifyBufferStart:function(){t.Hf().jo().Go("notifyBufferStart");var e=new u(a.BUFFER);t.$o(e)},notifyBufferStop:function(){t.Hf().jo().Go("notifyBufferStop");var e=new u(a.BUFFER_STOP);t.$o(e)},notifySeekStart:function(){t.Hf().jo().Go("notifySeekStart");var e=new u(a.SEEK_START);t.$o(e)},notifyChangePlaybackRate:function(e){t.Hf().jo().Go("notifyChangePlaybackRate");var n=Math.floor(100*e),r=new u(a.PLAYBACK_RATE);r.Nt.ns_st_rt=n+"",t.hr(r)}}),t=new o(e),n.configuration=t.Kf,n.extendedAnalytics=new c(t.Hf()),t.Hf().jo().log("New StreamingAnalytics instance with configuration",e)}p.PlayerEvents=a,p.InternalStates=s,p.WindowState=h,p.ContentMetadata=l,p.StackedContentMetadata=d,p.AdvertisementMetadata=_,p.StackedAdvertisementMetadata=f,e.exports=p},function(e,t,n){var r=n(96),i=n(97),o=n(98),a=n(99),s=n(100),u=n(101),c=n(102),l=n(103),d=n(104),_=n(105),f=n(106),h=n(107),p=n(108),g=n(14),v=n(109),m=n(0),y=n(21),b=n(29),S=n(4),E=n(110),$=n(111),T=n(16),A=n(47),C=n(1).P,P=n(1).I,I=n(1).A,w=n(45),M=n(46),k=n(115),O=n(116),R=n(117),D=n(3),L=n(17),x=n(2).yn,N=n(19),U=n(118);function B(e){var t,n,B,F,j,H,V,W,q,G,Y,K,z,X,Q,J,Z,ee,te,ne,re,ie,oe,ae,se,ue,ce,le,de,_e,fe=this;function he(e){var n=t.Qo().zo();if(n==C.IDLE||n==C.PLAYBACK_NOT_STARTED||n==C.BUFFERING_BEFORE_PLAYBACK||n==C.SEEKING_BEFORE_PLAYBACK){if(e==P.PLAY)return!0}else if(n==C.PLAYING){if(e==P.END||e==P.AD_SKIP||e==P.SEEK_START||e==P.PAUSE)return!0}else if(n==C.PAUSED||n==C.BUFFERING_DURING_PAUSE||n==C.SEEKING_DURING_PLAYBACK||n==C.SEEKING_DURING_BUFFERING||n==C.SEEKING_DURING_PAUSE){if(e==P.END||e==P.AD_SKIP||e==P.PLAY)return!0}else if(n==C.BUFFERING_DURING_PLAYBACK){if(e==P.PAUSE_ON_BUFFERING||e==P.END||e==P.AD_SKIP||e==P.SEEK_START||e==P.PAUSE||e==P.PLAY)return!0}else if(n==C.BUFFERING_DURING_SEEKING){if(e==P.END||e==P.AD_SKIP||e==P.PAUSE||e==P.PLAY)return!0}else if(n==C.PAUSED_DURING_BUFFERING&&(e==P.END||e==P.AD_SKIP||e==P.BUFFER_STOP||e==P.PLAY))return!0;return!1}function pe(e){(_e=e)==b.Ii.vi?(fe.Jf("1"),t.jo().Ho("System clock jump detected","to the far past")):_e==b.Ii._i?(fe.Jf("3"),t.jo().Ho("System clock jump detected","to the future")):(fe.Jf("2"),t.jo().Ho("System clock jump detected","to the near past"))}function ge(){fe.$o(new T(P.END))}function ve(){B=L.configuration.Li()}m.extend(fe,{Kf:null,Jf:function(e){-1==le.indexOf(e)&&le.push(e)},Ir:function(){var e=new T(P.HEARTBEAT);e.setLabel("ns_st_hc",t.Yf().Er());var n=t.Lr(),r=n.Cr(),i=isNaN(ne)?te:ne;ne=e.Ot,b.qt().wi(e.Ot);var o=!1;_e&&(_e=null,o=!0,e.Ot=i);var a=r.uo(),s=r.Uu(),u=r.no(),c=r.eo(),l=r.lo(),d=r.Ss();r.bs()?n.co(C.PLAYING,null,e.Ot):n.$r(C.PLAYING,null,e.Ot);var _=r.no();r.Tu(e);var f=fe.Bn(P.HEARTBEAT,e);t.Lr().Cr().hu(f.Xf),t.zf().dispatchEvent(f),r.Zr(a),r.to(s),r.ao(u),r.fo(c),r.yo(l),r.So(d),o&&(r.Zr(_),r.to(ne),n.Yr(ne-parseInt(f.Xf.ns_st_dpt)),r.Yr(ne-parseInt(f.Xf.ns_st_dpt)),r.Mu(ne-parseInt(f.Xf.ns_st_det)))},Bn:function(e,r){var i=r.Ot,o=t.Lr(),a={};a.ns_ts=i+"",a.ns_st_ev=P.toString(e),a.ns_st_mp="js_api",a.ns_st_mv="7.7.0+211006",a.ns_st_ub="0",a.ns_st_br="0",a.ns_st_pn="1",a.ns_st_tp="0",a.ns_st_it=I.toString(I.g),a.ns_st_sv="7.7.0+211006",a.ns_st_smv="6.4",a.ns_type="hidden",a.ns_st_ec=t.zf().ve()+"",a.ns_st_cfg=n.Qf(),a.ns_st_hd=t.Yf().Nr(i),a.ns_st_po=o.Cr().no()+"",le.length>0&&(a.ns_ap_ie=le.join(";")),o.Bn(a,i),o.Cr().Bn(a,i,e==P.HEARTBEAT),m.extend(a,r.Nt),m.extend(a,ce),function(){for(var e=m.h(ue),t=0;t<e.length;++t)e[t](a)}();var s={};m.extend(s,a),m.extend(s,n.getLabels());var u=new N;u.he(!1);var c=n.$f(),l=n.Zf,d=o.Cr(),_=d.getStacks();if(l.length>0)for(var f=0;f<l.length;++f){var h=l[f];-1!=B.indexOf(h)&&u.addIncludedPublisher(h)}else for(f=0;f<B.length;++f){var p=B[f];u.addIncludedPublisher(p)}var g=[];for(var v in c){var y=c[v];if(!(l.length>0&&-1==l.indexOf(v))){var b={};m.extend(b,s),m.extend(b,y.getLabels()),m.extend(b,d.getLabels()),_[v]&&m.extend(b,_[v]),m.extend(b,r.Tt),u.addPublisherLabels(v,b),g.push(v)}}var S=[];for(var E in _){var $=_[E];if(-1==g.indexOf(E)){var T={};m.extend(T,$),m.extend(T,r.Tt),u.addPublisherLabels(E,T),S.push(E)}}return u.xe(S),m.extend(s,d.getLabels()),m.extend(s,r.Tt),u.addLabels(s),new U(e,u,a)},$o:function(e){var r=t.Qo().zo();if(n.eu){if(ae&&r==C.BUFFERING_BEFORE_PLAYBACK&&e.Lt==P.BUFFER_STOP){t.jo().Ho("Resume to PLAY from state:",g.wt(r));var i=new T(P.PLAY);return i.Ot=e.Ot,i.Nt.ns_st_ae="1",fe.$o(i),void(ae=!1)}ae&&(ae=!1)}var o=t.Qo().nc(e.Lt);if(null!=o&&o!=r){de&&g.bt(r)&&!g.bt(o)?x.vn(ge):de&&!g.bt(r)&&g.bt(o)&&x._n(ge);var a=t.Lr(),s=a.Cr(),u=isNaN(ne)?te:ne;ne=e.Ot,b.qt().wi(e.Ot);var c=!1;_e&&(_e=null,c=!0,e.Ot=u),r==C.IDLE&&s.vr("ns_st_pn")&&a.startFromSegment(parseInt(s._r("ns_st_pn"))),s.bs()?a.co(r,o,e.Ot):a.$r(r,o,e.Ot),r==C.IDLE&&a.wo(),function(e){var n=t.Qo().zo();e.Lt==P.AD_SKIP&&!e.Nt.hasOwnProperty("ns_st_ui")&&he(e.Lt)?e.Nt.ns_st_ui="skip":e.Lt==P.SEEK_START&&!e.Nt.hasOwnProperty("ns_st_ui")&&he(e.Lt)&&(e.Nt.ns_st_ui="seek");var r=e.Lt;n==C.IDLE?r==P.BUFFER?F.tc(e):r==P.SEEK_START?F.ec(e):r==P.PLAY&&F.ic(e):n==C.PLAYBACK_NOT_STARTED?r==P.END||r==P.AD_SKIP?H.rc(e):r==P.SEEK_START?H.ec(e):r==P.PLAY?H.ic(e):r==P.BUFFER&&H.tc(e):n==C.PLAYING?r==P.END||r==P.AD_SKIP?V.rc(e):r==P.BUFFER?V.tc(e):r==P.SEEK_START?V.ec(e):r==P.PAUSE&&V.oc(e):n==C.PAUSED?r==P.END||r==P.AD_SKIP?j.rc(e):r==P.PLAY?j.ic(e):r==P.BUFFER?J.uc(e):r==P.SEEK_START&&J.sc(e):n==C.BUFFERING_BEFORE_PLAYBACK?r==P.END||r==P.AD_SKIP?W.rc(e):r==P.BUFFER_STOP?W.ac(e):r==P.SEEK_START?W.ec(e):r==P.PAUSE?W.oc(e):r==P.PLAY&&W.ic(e):n==C.BUFFERING_DURING_PLAYBACK?r==P.PAUSE_ON_BUFFERING?q.fc(e):r==P.BUFFER_STOP?J.cc(e):r==P.END||r==P.AD_SKIP?q.rc(e):r==P.SEEK_START?q.ec(e):r==P.PAUSE?q.oc(e):r==P.PLAY&&J.cc(e):n==C.BUFFERING_DURING_SEEKING?r==P.END||r==P.AD_SKIP?G.rc(e):r==P.PAUSE?G.oc(e):r==P.PLAY?G.ic(e):r==P.BUFFER_STOP&&J.lc(e):n==C.BUFFERING_DURING_PAUSE?r==P.END||r==P.AD_SKIP?Y.dc(e):r==P.PAUSE?Y.oc(e):r==P.PLAY?Y.ic(e):r==P.SEEK_START?J.sc(e):r==P.BUFFER_STOP&&J.lc(e):n==C.SEEKING_BEFORE_PLAYBACK?r==P.END||r==P.AD_SKIP?z.rc(e):r==P.PAUSE?z.oc(e):r==P.PLAY?z.ic(e):r==P.BUFFER&&J.uc(e):n==C.SEEKING_DURING_PLAYBACK?r==P.END||r==P.AD_SKIP?Q.rc(e):r==P.PLAY?Q.ic(e):r==P.BUFFER?J.uc(e):r==P.PAUSE&&J.vc(e):n==C.SEEKING_DURING_BUFFERING?r==P.PAUSE?X.oc(e):r==P.BUFFER?J.uc(e):r==P.PLAY?J._c(e):r==P.END||r==P.AD_SKIP?J.pc(e):r==P.BUFFER_STOP&&J.hc(e):n==C.PAUSED_DURING_BUFFERING?r==P.END||r==P.AD_SKIP?K.rc(e):r==P.BUFFER_STOP?K.gc(e):r==P.SEEK_START?K.ec(e):r==P.PAUSE?K.oc(e):r==P.PLAY&&K.gc(e):n==C.SEEKING_DURING_PAUSE&&(r==P.BUFFER?J.uc(e):r==P.PLAY?J._c(e):r==P.PAUSE?J.vc(e):r==P.END||r==P.AD_SKIP?J.pc(e):r==P.BUFFER_STOP&&J.hc(e)),he(r)&&t.Lr().Ro(!0)}(e),t.Qo().$o(e.Lt,e.Ot),o==C.IDLE?b.qt().Si(pe):r==C.IDLE&&b.qt().yi(pe),c&&(s.Zr(s.no()),s.to(ne),o!=C.IDLE&&o!=C.PLAYBACK_NOT_STARTED&&o!=C.SEEKING_BEFORE_PLAYBACK&&o!=C.BUFFERING_BEFORE_PLAYBACK&&s.Mu(ne),o!=C.BUFFERING_BEFORE_PLAYBACK&&o!=C.BUFFERING_DURING_PAUSE&&o!=C.BUFFERING_DURING_PLAYBACK&&o!=C.BUFFERING_DURING_SEEKING&&o!=C.PAUSED_DURING_BUFFERING||(a.Kr(ne),s.Kr(ne)),o==C.PLAYING&&(a.Yr(ne),s.Yr(ne)),o!=C.SEEKING_BEFORE_PLAYBACK&&o!=C.SEEKING_DURING_BUFFERING&&o!=C.SEEKING_DURING_PAUSE&&o!=C.SEEKING_DURING_PLAYBACK&&o!=C.BUFFERING_DURING_SEEKING||s.Hu(ne)),t.jo().log("Transition from",g.wt(r),"to",g.wt(o),"due to event:",P.toString(e.Lt));for(var l=0,d=se.length;l<d;l++)se[l](r,o,e.Nt)}else t.jo().Ho("Ignored event:",P.toString(e.Lt),"during state",g.wt(r),e.Nt)},hr:function(e){var n=e.Lt,r=e.Nt,i=t.Qo().zo();if(n!=P.LOAD&&n!=P.ENGAGE||i==C.IDLE){var o,a,s,u,c=!0,l=!1,d=!0;if(n==P.ERROR&&null==r.ns_st_er&&(r.ns_st_er=D.wn),n==P.TRANSFER&&null==r.ns_st_rp&&(r.ns_st_rp=D.wn),n==P.PLAYBACK_RATE){var _=parseInt(r.ns_st_rt);(0==_||isNaN(_))&&(d=!1,fe.Jf("6"),r.ns_st_rt=t.Lr().Cr().gs()+"")}if(n==P.VOLUME){var f=parseInt(r.ns_st_vo);(f<0||isNaN(f))&&(d=!1,fe.Jf("7"),r.ns_st_vo=ce.ns_st_vo)}switch(n){case P.BIT_RATE:o="ns_st_br",a="ns_st_pbr";break;case P.PLAYBACK_RATE:o="ns_st_rt",a="ns_st_prt";break;case P.VOLUME:o="ns_st_vo",a="ns_st_pvo";break;case P.WINDOW_STATE:o="ns_st_ws",a="ns_st_pws";break;case P.AUDIO:o="ns_st_at",a="ns_st_pat";break;case P.VIDEO:o="ns_st_vt",a="ns_st_pvt";break;case P.SUBS:o="ns_st_tt",a="ns_st_ptt";break;case P.CDN:o="ns_st_cdn",a="ns_st_pcdn";break;default:c=!1}var h=t.Lr(),p=h.Cr();if(c&&o in r)switch(u=r[o],n){case P.BIT_RATE:case P.VOLUME:case P.WINDOW_STATE:o in ce&&(s=ce[o],r[a]=s,l=u==s+""),ce[o]=r[o];break;case P.AUDIO:case P.VIDEO:case P.SUBS:case P.CDN:p._u(o)&&(s=p.vu(o),r[a]=s,l=u==s+""),p.tu(o,r[o]);break;case P.PLAYBACK_RATE:s=p.gs(),r[a]=s+""}if(c&&i!=C.PLAYING&&i!=C.BUFFERING_DURING_PLAYBACK||c&&l&&d)return n==P.PLAYBACK_RATE&&p.ms(parseInt(r.ns_st_rt)),void t.jo().Ho("No measurement send for the pseudo-event:",P.toString(n),"during state",g.wt(i),r);var v=isNaN(ne)?te:ne;ne=e.Ot,b.qt().wi(e.Ot);var m=!1;_e&&(_e=null,m=!0,e.Ot=v),p.bs()?h.co(i,null,e.Ot):h.$r(i,null,e.Ot),i==C.IDLE&&h.wo();var y=p.no();h.Po(),i!=C.IDLE&&i!=C.PLAYBACK_NOT_STARTED&&i!=C.SEEKING_BEFORE_PLAYBACK&&i!=C.BUFFERING_BEFORE_PLAYBACK&&(p.Ru(e.Ot),p.Mu(e.Ot)),i==C.PLAYING&&(h.Vr(e.Ot),h.Yr(e.Ot),p.Vr(e.Ot),p.Yr(e.Ot),p.ys(y),p.Lu(y),p.Tu(),p.Du(y),t.Yf().pause(),t.Yf().resume()),i!=C.BUFFERING_BEFORE_PLAYBACK&&i!=C.BUFFERING_DURING_PAUSE&&i!=C.BUFFERING_DURING_PLAYBACK&&i!=C.BUFFERING_DURING_SEEKING||(h.Gr(e.Ot),h.Kr(e.Ot),p.Gr(e.Ot),p.Kr(e.Ot));var S=fe.Bn(n,e);p.Vo(S.Xf),p.hu(S.Xf),h.Vo(S.Xf),t.zf().dispatchEvent(S),n==P.PLAYBACK_RATE&&p.ms(parseInt(r.ns_st_rt)),m&&(p.Zr(y),p.to(ne),i==C.PLAYING&&(h.Yr(ne),p.Yr(ne)),i!=C.IDLE&&i!=C.PLAYBACK_NOT_STARTED&&i!=C.SEEKING_BEFORE_PLAYBACK&&i!=C.BUFFERING_BEFORE_PLAYBACK&&p.Mu(ne),i!=C.BUFFERING_BEFORE_PLAYBACK&&i!=C.BUFFERING_DURING_PAUSE&&i!=C.BUFFERING_DURING_PLAYBACK&&i!=C.BUFFERING_DURING_SEEKING&&i!=C.PAUSED_DURING_BUFFERING||(h.Kr(ne),p.Kr(ne)),i!=C.SEEKING_BEFORE_PLAYBACK&&i!=C.SEEKING_DURING_BUFFERING&&i!=C.SEEKING_DURING_PAUSE&&i!=C.SEEKING_DURING_PLAYBACK&&i!=C.BUFFERING_DURING_SEEKING||p.Hu(ne))}else t.jo().Ho("Ignored pseudo-event:",P.toString(n),"during state",g.wt(i),r)},addListener:function(e){se.push(e)},removeListener:function(e){se.splice(y.indexOf(e,se),1)},addMeasurementListener:function(e){S.On(e)&&ue.push(e)},removeMeasurementListener:function(e){var t=ue.indexOf(e);-1!=t&&ue.splice(t,1)},mr:function(){return x},mc:function(){return Z},yc:function(e){Z=e},Sc:function(){return ee},setLoadTimeOffset:function(e){ee=e},wc:function(){return te},bc:function(){return ie},Ic:function(){return de},Ec:function(e){fe.Pc(),oe=fe.mr().setTimeout((function(){var e=new T(P.PAUSE_ON_BUFFERING);fe.$o(e)}),re)},Pc:function(){null!=oe&&(fe.mr().clearTimeout(oe),oe=null)},iu:function(){ae=!0},Hf:function(){return t},ou:function(e){var n=t.Lr();t.Ac(new A(t)),t.Lr().To(ve),A.ou(t,n,e),le=[]},Dc:function(){t.Yf().reset()},setProjectId:function(e){ce.cs_proid=e}}),t=new v(fe),n=new $(e||{}),fe.Kf=new E(n),t.Cc(n),t.Lc(L),t.Tc(new w(t)),t.Nc(new M(t)),t.Oc(new k(n,L)),t.zf().Rc((function(){B=L.configuration.Li()})),t.kc(new R),t.Mc(new O("STA",t.Uc().configuration.Gi())),t.Ac(new A(t)),t.Lr().To(ve),B=[],F=new r(t),j=new i(t),H=new o(t),V=new a(t),W=new s(t),q=new u(t),G=new c(t),Y=new l(t),K=new d(t),z=new _(t),X=new f(t),Q=new h(t),J=new p(t),Z=!1,ee=0,te=+new Date,ie=!0,le=[],se=[],ue=[],(ce={}).ns_st_vo="100",_e=null,function(e){ie=e.xc,re=e.Wc,de=e.Fc}(n)}B.Bc=500,B.Vc=!0,B.qc=!0,e.exports=B},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{tc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Po(),n.Lo(),r.Vu()&&r.Xu(r.Qu()),n.Kr(i),r.Kr(i),r.Mu(i)},ec:function(t){var n=e.Lr(),r=n.Cr(),i=r.no(),o=t.Ot;n.Po(),n.Lo(),r.Vu()&&r.Xu(r.Qu()),r.Pu(),r.Bu(!0),r.qu(!0),r.$u(i),r.Hu(o),r.Mu(o)},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.Po(),n.Lo(),(r.hs()||0==n.No())&&(n.Oo(),r.Bo(!1)),r.Vu()&&(r.Xu(r.Qu()),r.es(o),r.Bu(!1)),n.ko(),r.ju(!0),r.Fo(!0),r.us(),(0==r.ls()||r.Io()<=r.ls())&&(r.Wo(r.Io()),r.ss(),r.Co(0),r.as()),r.ko(),r.Fr(),n.Yr(a),r.Yr(a),r.Mu(a),r.Du(o),e.gr().mc()||(t.Nt.ns_st_lt=e.gr().Sc()+a-e.gr().wc()+"",e.gr().yc(!0)),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.Bu(!1)),r.os(),r.ju(!1)},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.Fr(),r.ko(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr().Cr(),r=t.Ot;n.Vu()&&n.Gu()&&(n.zu(r-n.Ku()),n.qu(!1)),n.Ru(r),n.os(),n.ju(!1)},ec:function(t){var n=e.Lr().Cr(),r=n.no(),i=t.Ot;n.Vu()?n.Hu(i):n.Pu(),n.Vu()||(n.Bu(!0),n.qu(!0),n.$u(r),n.Hu(i))},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;r.Vu()&&(r.es(o),r.Bu(!1)),(r.hs()||0==n.No())&&(n.Oo(),r.Bo(!1)),n.ko(),r.ju(!0),r.Fo(!0),r.us(),(0==r.ls()||r.Io()<=r.ls())&&(r.Wo(r.Io()),r.ss(),r.Co(0),r.as()),r.ko(),r.Fr(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),e.gr().mc()||(t.Nt.ns_st_lt=e.gr().Sc()+a-e.gr().wc()+"",e.gr().yc(!0)),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)},tc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Kr(i),r.Kr(i)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;e.gr().Dc(),e.Gc().stop(),n.Vr(a),r.Vr(a),r.ys(o),r.Ru(a),r.Lu(o),r.Tu();var s=e.gr().Bn(i.END,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s),r.os(),r.ju(!1)},tc:function(t){var n=e.Lr(),r=n.Cr(),i=r.no(),o=t.Ot;e.Yf().pause(),e.Gc().stop(),n.Vr(o),r.Vr(o),r.ys(i),r.Lu(i),r.Tu(),e.gr().bc()&&e.gr().Ec(t),r.vs(),n.Kr(o),r.Kr(o),r.Ru(o),r.Mu(o)},ec:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;e.Yf().pause(),e.Gc().stop(),n.Vr(a),r.Vr(a),r.ys(o),r.Lu(o),r.Tu(),r.Pu(),r.Bu(!0),r.qu(!0),r.$u(o),r.Hu(a),r.Ru(a),r.Mu(a),n.Br(),r.Br();var s=e.gr().Bn(i.PAUSE,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)},oc:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;e.Yf().pause(),e.Gc().stop(),n.Vr(a),r.Vr(a),r.ys(o),r.Lu(o),r.Tu(),r.Ru(a),r.Mu(a),n.Br(),r.Br();var s=e.gr().Bn(i.PAUSE,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Vu()&&r.Gu()&&r.zu(i-r.Ku()),r.Ru(i),r.os(),r.ju(!1)},ac:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Vu()&&r.Gu()&&(r.Ju(i),r.qu(!1))},ec:function(t){var n=e.Lr(),r=n.Cr(),i=r.no(),o=t.Ot;n.Gr(o),r.Gr(o),r.Vu()?r.Gu()||(r.Hu(o),r.qu(!0)):r.Pu(),r.Vu()||(r.Bu(!0),r.qu(!0),r.$u(i),r.Hu(o))},oc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Vu()&&r.Gu()&&(r.Ju(i),r.qu(!1))},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.Gr(a),r.Gr(a),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.ju(!0),r.Fo(!0),(r.hs()||0==n.No())&&(n.Oo(),r.Bo(!1)),n.ko(),r.ju(!0),r.us(),r.Fr(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),(0==r.ls()||r.Io()<=r.ls())&&(r.Wo(r.Io()),r.ss(),r.Co(0),r.as()),r.ko(),e.gr().mc()||(t.Nt.ns_st_lt=e.gr().Sc()+a-e.gr().wc()+"",e.gr().yc(!0)),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{fc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Pc(),r.Ru(o),r.Mu(o),n.Gr(o),r.Gr(o),n.Br(),r.Br();var a=e.gr().Bn(i.PAUSE,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),n.Kr(o),r.Kr(o)},rc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Pc(),e.gr().Dc(),e.Gc().stop(),n.Gr(o),r.Gr(o),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.os(),r.ju(!1)},ec:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;e.gr().Pc(),e.Yf().pause(),e.Gc().stop(),r.Ru(a),r.Mu(a),n.Gr(a),r.Gr(a),r.Pu(),r.Bu(!0),r.qu(!0),r.$u(o),r.Hu(a),n.Br(),r.Br();var s=e.gr().Bn(i.PAUSE,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)},oc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Pc(),r.Ru(o),r.Mu(o),n.Gr(o),r.Gr(o),n.Br(),r.Br();var a=e.gr().Bn(i.PAUSE,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),e.gr().Pc(),n.Gr(o),r.Gr(o),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.qu(!1)),r.os(),r.ju(!1)},oc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),n.Br(),r.Br(),r.Vu()&&r.Gu()&&(r.Ju(i),r.qu(!1)),r.Ru(i),r.Mu(i)},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.ko(),r.Fr(),n.Gr(a),r.Gr(a),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.Ru(a),r.Mu(a),n.Yr(a),r.Yr(a),r.Du(o),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{dc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),n.Gr(o),r.Gr(o),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.qu(!1)),r.os(),r.ju(!1)},oc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Ru(i),r.Mu(i)},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.ko(),r.Fr(),n.Gr(a),r.Gr(a),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.Ru(a),r.Mu(a),n.Yr(a),r.Yr(a),r.Du(o),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),n.Gr(o),r.Gr(o),r.Ru(o),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.qu(!1));var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.os(),r.ju(!1)},ec:function(t){var n=e.Lr(),r=n.Cr(),i=r.no(),o=t.Ot;n.Gr(o),r.Gr(o),r.Vu()?r.Gu()||(r.Hu(o),r.qu(!0)):r.Pu(),r.Vu()||(r.Bu(!0),r.qu(!0),r.$u(i),r.Hu(o)),r.Ru(o),r.Mu(o)},oc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Ru(i),r.Mu(i)},gc:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.ko(),n.Gr(a),r.Gr(a),r.Fr(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr().Cr(),r=t.Ot;n.Vu()&&n.Gu()&&(n.zu(r-n.Ku()),n.qu(!1)),n.Ru(r),n.os(),n.ju(!1)},oc:function(t){var n=e.Lr().Cr(),r=t.Ot;n.Vu()&&n.Gu()&&(n.Ju(r),n.qu(!1))},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),(r.hs()||0==n.No())&&(n.Oo(),r.Bo(!1)),n.ko(),r.ju(!0),r.Fo(!0),r.us(),(0==r.ls()||r.Io()<=r.ls())&&(r.Wo(r.Io()),r.ss(),r.Co(0),r.as()),r.ko(),r.Fr(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),e.gr().mc()||(t.Nt.ns_st_lt=e.gr().Sc()+a-e.gr().wc()+"",e.gr().yc(!0)),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0);e.exports=function(e){r.extend(this,{oc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Br(),r.Br(),r.Vu()&&r.Gu()&&(r.Ju(i),r.qu(!1)),r.Ru(i),r.Mu(i)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{rc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.qu(!1)),r.os(),r.ju(!1)},ic:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.ko(),r.Fr(),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.Ru(a),r.Mu(a),n.Yr(a),r.Yr(a),r.Du(o),e.gr().mc()||(t.Nt.ns_st_lt=e.gr().Sc()+a-e.gr().wc()+"",e.gr().yc(!0)),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)}})}},function(e,t,n){var r=n(0),i=n(1).I;e.exports=function(e){r.extend(this,{sc:function(t){var n=e.Lr().Cr(),r=n.no(),i=t.Ot;n.Vu()?n.Gu()||(n.Hu(i),n.qu(!0)):n.Pu(),n.Vu()||(n.Bu(!0),n.qu(!0),n.$u(r),n.Hu(i)),n.Ru(i),n.Mu(i)},uc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Kr(i),r.Kr(i),r.Ru(i),r.Mu(i)},_c:function(t){var n=e.Lr(),r=n.Cr(),o=r.no(),a=t.Ot;n.ko(),r.ko(),r.Vu()&&(r.Gu()&&(r.Ju(a),r.qu(!1)),r.es(o),r.Bu(!1)),r.Fr(),n.Yr(a),r.Yr(a),r.Ru(a),r.Mu(a),r.Du(o),e.Yf().resume(),e.Gc().start();var s=e.gr().Bn(i.PLAY,t);r.Vo(s.Xf),r.hu(s.Xf),n.Vo(s.Xf),e.zf().dispatchEvent(s)},lc:function(t){var n=e.Lr(),r=n.Cr(),i=t.Ot;n.Gr(i),r.Gr(i),r.Ru(i),r.Mu(i)},vc:function(t){var n=e.Lr().Cr(),r=t.Ot;n.Vu()&&n.Gu()&&(n.Ju(r),n.qu(!1)),n.Ru(r),n.Mu(r)},pc:function(t){var n=e.Lr(),r=n.Cr(),o=t.Ot;e.gr().Dc(),e.Gc().stop(),r.Ru(o);var a=e.gr().Bn(i.END,t);r.Vo(a.Xf),r.hu(a.Xf),n.Vo(a.Xf),e.zf().dispatchEvent(a),r.Vu()&&r.Gu()&&(r.zu(o-r.Ku()),r.qu(!1)),r.os(),r.ju(!1)},hc:function(t){var n=e.Lr().Cr(),r=t.Ot;n.Vu()&&n.Gu()&&(n.Ju(r),n.qu(!1)),n.Ru(r),n.Mu(r)},cc:function(t){var n=e.Lr(),r=n.Cr(),i=r.no(),o=t.Ot;e.gr().Pc(),n.Gr(o),r.Gr(o),n.Yr(o),r.Yr(o),r.Du(i),r.Ru(o),r.Mu(o),e.Yf().resume(),e.Gc().start()}})}},function(e,t,n){var r=n(0);e.exports=function(e){var t,n,i,o,a,s,u,c;r.extend(this,{Uc:function(){return n},gr:function(){return e},getConfiguration:function(){return t},zf:function(){return i},Qo:function(){return o},Yf:function(){return a},Gc:function(){return s},Lr:function(){return u},jo:function(){return c},Cc:function(e){t=e},Lc:function(e){n=e},Tc:function(e){s=e},Nc:function(e){a=e},Oc:function(e){i=e},kc:function(e){o=e},Ac:function(e){u=e},Mc:function(e){c=e}})}},function(e,t,n){var r=n(0);e.exports=function(e){r.extend(this,{addLabels:e.addLabels,setLabel:e.setLabel,removeLabel:e.removeLabel,removeAllLabels:e.removeAllLabels,getStreamingPublisherConfiguration:e.getStreamingPublisherConfiguration})}},function(e,t,n){var r=n(0),i=n(7),o=n(45),a=n(46),s=n(47),u=n(53),c=n(114),l={xc:"pauseOnBuffering",Wc:"pauseOnBufferingInterval",Fc:"exitEndEvent",yr:"keepAliveMeasurement",Sr:"keepAliveInterval",Or:"heartbeatMeasurement",Rr:"heartbeatIntervals",Zf:"includedPublishers",eu:"autoResumeStateOnAssetChange",Is:"playbackIntervalMergeTolerance",labels:"labels",Es:"customStartMinimumPlayback"};e.exports=function(e){var t=this,n="",d={};for(var _ in t.xc=!0,t.Wc=500,t.Fc=!0,t.yr=o.ENABLED,t.Sr=o.wr,t.Or=a.ENABLED,t.Rr=a.kr,t.Zf=[],t.eu=s.uu,t.Is=u.Ps,t.labels={},t.Es=u.Ds,l){var f=e[l[_]];null!=f&&(t[_]=f)}t.Sr=t.Sr<o.br?o.br:t.Sr,t.Wc=t.Wc<300?300:t.Wc,t.Is=t.Is<u.As?u.As:t.Is,t.Sr=1e3*Math.floor(t.Sr/1e3),t.Wc=100*Math.floor(t.Wc/100),t.Is=100*Math.floor(t.Is/100),t.Es=1e3*Math.floor(t.Es/1e3),n+=t.xc?"1":"0",n+=t.yr?"1":"0",n+=t.Or?"1":"0",n+=t.eu?"1":"0",n+=t.Fc?"1":"0",n+=a.Mr(t.Rr,a.kr)?"0":"1",n+=t.Zf.length>0?"1":"0",n+=t.Is!=u.Ps?"1":"0",n+=t.Es!=u.jc?"1":"0",n+="-"+(t.Wc/100).toString(16),n+="-"+(t.Sr/1e3).toString(16),n+="-"+(t.Es/1e3).toString(16),n+="-"+(t.Is/100).toString(16),t.Qf=function(){return n},r.extend(t,{getLabels:function(){return t.labels},addLabels:function(e){i.Bn(t.labels,e)},setLabel:function(e,n){i.Fn(t.labels,e,n)},removeLabel:function(e){delete t.labels[e]},removeAllLabels:function(){t.labels={}},getStreamingPublisherConfiguration:function(e){return d[e]=d[e]||new c,d[e]},$f:function(){return d}})}},function(e,t){var n=n||{};n.Hc=function(e){return e.replace(/&#x([0-9A-Fa-f]{2})/g,(function(){return String.fromCharCode(parseInt(arguments[1],16))}))},n.cu=function(e,t){var n=t+"";return Array(e).join("0").substring(0,Math.max(e-n.length,0))+n},e.exports=n},function(e,t,n){var r=n(0),i=n(48);e.exports=function(){var e=null,t={};r.extend(this,{Ao:function(n){var r=n.oo();t[r]=n,i.ro(n._r("ns_st_ad"))||(e=n)},Ko:function(e){return!!t[e]},Cr:function(e){return t[e]},io:function(){return e}})}},function(e,t,n){var r=n(0),i=n(7);e.exports=function(){var e;r.extend(this,{setLabel:function(t,n){i.Fn(e,t,n)},removeLabel:function(t){delete e[t]},addLabels:function(t){i.Bn(e,t)},removeAllLabels:function(){e={}},getLabels:function(){return e}}),e={}}},function(e,t,n){var r=n(0),i=n(1).I,o=n(28);e.exports=function(e,t){var n,a,s,u,c=this;function l(){for(var e=0;e<a.length;++e){var n=a[e];t.pe(n)}a=[]}function d(e){switch(e){case o.TIME_WINDOW_ELAPSED:u=!0,f()&&_();break;case o.PUBLISHER:u&&f()&&_()}}function _(){for(var n=0;n<s.length;++n)s[n]();t.configuration.removeListener(d);var r=t.configuration.Li();for(n=0;n<a.length;++n)for(var i=a[n],o=0;o<r.length;o++){var u=r[o];e.Zf.length>0&&-1==e.Zf.indexOf(u)||i.addIncludedPublisher(u)}l()}function f(){var n=t.configuration.Li();if(0==e.Zf.length)return!0;for(var r=0;r<n.length;++r)if(-1!=e.Zf.indexOf(n[r]))return!0;return!1}r.extend(this,{dispatchEvent:function(e){e.Kc!=i.HEARTBEAT&&c.Jc(),a.push(e.Af),u&&f()&&l()},Rc:function(e){s.push(e)},ve:function(){return n},Jc:function(){n++}}),n=1,a=[],s=[],(u=t.configuration.Vi())&&f()||t.configuration.addListener(d)}},function(e,t){e.exports=function(e,t){function n(t){t=t||[];var n=["comScore",+new Date];return e&&n.push(e),t=Array.prototype.slice.call(t),n.concat(t)}function r(e){var n,r,i;if("boolean"==typeof t||!t)return!!t;if(i=e.join(" "),t instanceof Array&&t.length>0){for(n=0;n<t.length;++n)if((r=t[n])instanceof RegExp&&r.test(i))return!0;return!1}if("object"==s(t)){var o=!1;if(t.hide instanceof Array)for(n=0;n<t.hide.length;++n)if((r=t.hide[n])instanceof RegExp&&r.test(i)){o=!0;break}if(t.show instanceof Array)for(n=0;n<t.show.length;++n)if((r=t.show[n])instanceof RegExp&&r.test(i))return!0;return!o&&!t.show}return!0}this.log=function(){var e=n(arguments);void 0!==console&&"function"==typeof console.log&&r(e)&&console.log.apply(console,e)},this.warn=function(){var e=n(arguments);void 0!==console&&"function"==typeof console.warn&&r(e)&&console.warn.apply(console,e)},this.error=function(){var e=n(arguments);void 0!==console&&"function"==typeof console.error&&r(e)&&console.error.apply(console,e)},this.Go=function(e){for(var t=["API call to:",e],n=1;n<arguments.length;++n)t.push("arg"+n+":",arguments[n]);this.log.apply(this,t)},this.Ho=function(){var e=["Trace log:"];e.push.apply(e,Array.prototype.slice.call(arguments)),this.log.apply(this,e)},this.Yc=function(e,t){var n=["Deprecated API:",e,"is deprecated and will be eventually removed."];t&&n.push("Use",t,"instead."),this.warn.apply(this,n)}}},function(e,t,n){var r=n(1).P,i=n(0),o=n(1).I;e.exports=function(e){var t,n,a,s=this;i.extend(s,{nc:function(e){if(a==r.IDLE){if(e==o.PLAY)return r.PLAYING;if(e==o.SEEK_START)return r.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return r.BUFFERING_BEFORE_PLAYBACK}else if(a==r.PLAYBACK_NOT_STARTED){if(e==o.PLAY)return r.PLAYING;if(e==o.SEEK_START)return r.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return r.BUFFERING_BEFORE_PLAYBACK;if(e==o.END||e==o.AD_SKIP)return r.IDLE}else if(a==r.PLAYING){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.BUFFER)return r.BUFFERING_DURING_PLAYBACK;if(e==o.PAUSE)return r.PAUSED;if(e==o.SEEK_START)return r.SEEKING_DURING_PLAYBACK}else if(a==r.PAUSED){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.BUFFER)return r.BUFFERING_DURING_PAUSE;if(e==o.PLAY)return r.PLAYING;if(e==o.SEEK_START)return r.SEEKING_DURING_PAUSE}else if(a==r.BUFFERING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PAUSE||e==o.BUFFER_STOP)return r.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return r.PLAYING;if(e==o.SEEK_START)return r.SEEKING_BEFORE_PLAYBACK}else if(a==r.BUFFERING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY||e==o.BUFFER_STOP)return r.PLAYING;if(e==o.PAUSE_ON_BUFFERING)return r.PAUSED_DURING_BUFFERING;if(e==o.SEEK_START)return r.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return r.PAUSED}else if(a==r.BUFFERING_DURING_SEEKING){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY)return r.PLAYING;if(e==o.BUFFER_STOP)return r.SEEKING_DURING_PLAYBACK;if(e==o.PAUSE)return r.PAUSED}else if(a==r.BUFFERING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY)return r.PLAYING;if(e==o.SEEK_START)return r.SEEKING_DURING_PAUSE;if(e==o.BUFFER_STOP||e==o.PAUSE)return r.PAUSED}else if(a==r.SEEKING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PAUSE)return r.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return r.PLAYING;if(e==o.BUFFER)return r.BUFFERING_BEFORE_PLAYBACK}else if(a==r.SEEKING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY)return r.PLAYING;if(e==o.PAUSE)return r.PAUSED;if(e==o.BUFFER)return r.BUFFERING_DURING_SEEKING}else if(a==r.SEEKING_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY)return r.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return r.PAUSED;if(e==o.BUFFER)return r.BUFFERING_DURING_SEEKING}else if(a==r.SEEKING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.PLAY)return r.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return r.PAUSED;if(e==o.BUFFER)return r.BUFFERING_DURING_PAUSE}else if(a==r.PAUSED_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return r.IDLE;if(e==o.SEEK_START)return r.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return r.PAUSED;if(e==o.PLAY||e==o.BUFFER_STOP)return r.PLAYING}return null},zo:function(){return a},$o:function(e,r){var i=s.nc(e);a!=i&&(n=a,a=i,t=r)},Xc:function(){return n},zc:function(){return t}}),a=r.IDLE,n=null,t=NaN}},function(e,t){e.exports=function(e,t,n){this.Kc=e,this.Af=t,this.Xf=n}},function(e,t,n){var r=n(0),i=n(7),o=n(1).I,a=n(16);e.exports=function(e){var t=e.gr();function n(e,t){var n=new a(e);return i.Bn(n.Tt,t||{}),n}function s(e,t,r,i){var o=n(e,i);return null!=r&&o.setLabel(t,r+""),o}r.extend(this,{setLoadTimeOffset:function(n){e.jo().Go("setLoadTimeOffset",n),t.setLoadTimeOffset(n)},setPlaybackSessionExpectedLength:function(n){e.jo().Go("setPlaybackSessionExpectedLength",n),t.Hf().Lr().Uo(n)},setPlaybackSessionExpectedNumberOfItems:function(n){e.jo().Go("setPlaybackSessionExpectedNumberOfItems",n),t.Hf().Lr().xo(n)},notifySkipAd:function(r){e.jo().Go("notifySkipAd",r);var i=n(o.AD_SKIP,r);t.$o(i)},notifyLoad:function(r){e.jo().Go("notifyLoad",r);var i=n(o.LOAD,r);t.hr(i)},notifyEngage:function(r){e.jo().Go("notifyEngage",r);var i=n(o.ENGAGE,r);t.hr(i)},notifyCallToAction:function(r){e.jo().Go("notifyCallToAction",r);var i=n(o.CTA,r);t.hr(i)},notifyDrmFail:function(r){e.jo().Go("notifyDrmFail",r);var i=n(o.DRM_FAILED,r);t.hr(i)},notifyDrmApprove:function(r){e.jo().Go("notifyDrmApprove",r);var i=n(o.DRM_APPROVED,r);t.hr(i)},notifyDrmDeny:function(r){e.jo().Go("notifyDrmDeny",r);var i=n(o.DRM_DENIED,r);t.hr(i)},notifyCustomEvent:function(r,i){e.jo().Go("notifyCustomEvent",r,i);var a=n(o.CUSTOM,i);a.setLabel("ns_st_cev",r+""),t.hr(a)},notifyChangeBitrate:function(n,r){e.jo().Go("notifyChangeBitrate",n,r);var i=s(o.BIT_RATE,"ns_st_br",n,r);t.hr(i)},notifyChangeVolume:function(n,r){e.jo().Go("notifyChangeVolume",n,r);var i=Math.floor(100*n),a=s(o.VOLUME,"ns_st_vo",i,r);t.hr(a)},notifyChangeWindowState:function(n,r){e.jo().Go("notifyChangeWindowState",n,r);var i=s(o.WINDOW_STATE,"ns_st_ws",n,r);t.hr(i)},notifyChangeAudioTrack:function(n,r){e.jo().Go("notifyChangeAudioTrack",n,r);var i=s(o.AUDIO,"ns_st_at",n,r);t.hr(i)},notifyChangeVideoTrack:function(n,r){e.jo().Go("notifyChangeVideoTrack",n,r);var i=s(o.VIDEO,"ns_st_vt",n,r);t.hr(i)},notifyChangeSubtitleTrack:function(n,r){e.jo().Go("notifyChangeSubtitleTrack",n,r);var i=s(o.SUBS,"ns_st_tt",n,r);t.hr(i)},notifyChangeCdn:function(n,r){e.jo().Go("notifyChangeCdn",n,r);var i=s(o.CDN,"ns_st_cdn",n,r);t.hr(i)},notifyError:function(e,n){t.Hf().jo().Go("notifyError",e,n);var r=s(o.ERROR,"ns_st_er",e,n);t.hr(r)},notifyTransferPlayback:function(e,n){t.Hf().jo().Go("notifyTransferPlayback",e,n);var r=s(o.TRANSFER,"ns_st_rp",e,n);t.hr(r)}})}},function(e,t,n){var r=n(0),i=n(52);function o(){var e=new i;r.extend(this,e)}r.extend(o,i),e.exports=o},function(e,t,n){var r=n(0),i=n(51);function o(){var e=this,t=new i;r.extend(e,t),r.extend(e,{getMetadataLabels:function(t){var n={};return t&&r.extend(n,t.getStandardLabels()),r.extend(n,e.getStandardLabels()),t&&r.extend(n,t.getCustomLabels()),r.extend(n,e.getCustomLabels()),n}})}r.extend(o,i),e.exports=o},function(e,t){e.exports={NORMAL:"norm",FULL_SCREEN:"full",MINIMIZED:"min",MAXIMIZED:"max"}}])},"object"==s(t)&&"object"==s(e)?e.exports=a():(i=[],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))},6942:e=>{"use strict";e.exports=JSON.parse('{"name":"@yospace/admanagement-sdk","version":"3.6.4","description":"Yospace AdManagement SDK","homepage":"https://yospace.com","main":"lib/index.js","types":"types/index.d.ts","private":false,"dependencies":{"sax":"1.2.4"},"devDependencies":{"@babel/core":"^7.22.9","@babel/plugin-transform-modules-commonjs":"^7.22.5","@babel/preset-env":"^7.22.9","babel-jest":"^29.6.2","babel-loader":"^9.1.3","babel-plugin-transform-es2015-modules-simple-commonjs":"^0.3.0","documentation":"^13.2.5","jest":"^29.6.2","jest-jasmine2":"^29.6.2","jest-junit":"^16.0.0","jest-sonar-reporter":"^2.0.0","jsdoc":"^4.0.2","jshint":"^2.13.6","node-fetch":"^3.3.2","nodemon":"^3.0.1","npm-check-updates":"^16.10.17","nwb":"^0.25.2","process":"0.11.10","sinon":"^15.2.0","stream-browserify":"3.0.0","typescript":"5.1.x","webpack":"^5.88.2","webpack-cli":"^5.1.4","ws":"^8.13.0"},"scripts":{"build":"webpack","build-es5":"webpack --config webpack.config-es5.js","build-unminified":"webpack --config webpack.config-unminified.js","build:npm":"nwb build --no-demo","doc":"documentation build src/** -f html -o Documentation/html --theme src-docs/apidoctemplate","lint":"jshint --config .jshintrc ./src/ || true","test":"jest --coverage --forceExit --bail","testUnit":"jest --coverage --forceExit -t UNIT","testIntegration":"jest --coverage --forceExit --bail -t INTEGRATION","tsdefs":"npx -p typescript tsc src/index.js --stripInternal --declaration --allowJs --emitDeclarationOnly --outDir types","tsdefsHosting":"npx -p typescript tsc src/index.js --stripInternal --declaration --allowJs --emitDeclarationOnly --outDir types-${npm_package_version}"},"author":{"name":"Yospace Technologies Ltd","email":"sdk-team@yospace.com"},"license":"SEE LICENSE IN LICENCE","files":["lib/","docs/","types/"]}')}},__webpack_module_cache__={};function __nested_webpack_require_2554376__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_2554376__),n.loaded=!0,n.exports}__nested_webpack_require_2554376__.amdD=function(){throw new Error("define cannot be used indirect")},__nested_webpack_require_2554376__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __nested_webpack_require_2554376__.d(t,{a:t}),t},__nested_webpack_require_2554376__.d=(e,t)=>{for(var n in t)__nested_webpack_require_2554376__.o(t,n)&&!__nested_webpack_require_2554376__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_2554376__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_2554376__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__nested_webpack_require_2554376__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_2554376__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __nested_webpack_exports__={};return(()=>{"use strict";__nested_webpack_require_2554376__.r(__nested_webpack_exports__),__nested_webpack_require_2554376__.d(__nested_webpack_exports__,{AdSystem:()=>d.q,ArrayHelper:()=>_,BitmovinErrorCategory:()=>f,BitmovinErrorHelper:()=>m,BitmovinEvents:()=>s.PlayerEvent,BitmovinPlayerError:()=>s.PlayerError,BreakType:()=>u.CT,BufferType:()=>s.BufferType,ComScoreMediaType:()=>S,ComScoreMetadata:()=>A,ComScorePlatformAPIs:()=>T,ComScoreUserConsent:()=>$,Environment:()=>h,ErrorCode:()=>s.ErrorCode,HttpResponseType:()=>s.HttpResponseType,LogLevel:()=>s.LogLevel,Logger:()=>y.Y,MediaType:()=>s.MediaType,MetadataType:()=>s.MetadataType,PlaybackMode:()=>u.su,PlayerType:()=>s.PlayerType,SeekingHelper:()=>E,SessionErrorCode:()=>u.Pn,StreamType:()=>s.StreamType,SupportedTechnologyMode:()=>s.SupportedTechnologyMode,TimeMode:()=>s.TimeMode,Tub:()=>Ai,TubEvents:()=>a,ViewMode:()=>s.ViewMode,WarningCode:()=>s.WarningCode,YospaceInitErrorCodes:()=>l,YospaceSessionErrorCodes:()=>c,libVersions:()=>Ci}),__nested_webpack_require_2554376__(4158);var e,t,n,r=__nested_webpack_require_2554376__(5023),i=(__nested_webpack_require_2554376__(4518),__nested_webpack_require_2554376__(7957)),o=__nested_webpack_require_2554376__.n(i);window.OmidSessionClient=(e={default:r.OmidSessionClient},t="1.3.37-iab3566",n=r.OmidSessionClient,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e),window.ns_={analytics:o()};var a,s=__nested_webpack_require_2554376__(8617),u=__nested_webpack_require_2554376__(2612),c={TIMEOUT:u.Pn.TIMEOUT,UNRESOLVED_BREAK:u.Pn.UNRESOLVED_BREAK,PARSING_ERROR:u.Pn.PARSING_ERROR,TRACKING_ERROR:u.Pn.TRACKING_ERROR},l={CONNECTION_ERROR:u.Ct,CONNECTION_TIMEOUT:u.zU,MALFORMED_URL:u.lc,NO_DVRLIVE:u.GX,UNKNOWN_FORMAT:u.Qr,FALLBACK_URL:u.tQ,PARTIAL_VMAP:-22,UNKNOWN:-999999},d=__nested_webpack_require_2554376__(3796);!function(e){e.YospaceAnalyticUpdate="yospaceanalyticupdate",e.YospaceInitError="yospaceiniterror",e.YospaceSessionError="yospacesessionerror",e.AdBlocked="adblocked"}(a||(a={}));var _,f,h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"determine",value:function(t){var n=e,r={isEdgium:n.isEdgium,isEdge:n.isEdge,isChrome:n.isChrome,isIE11:n.isIE11,isFirefox:n.isFirefox,isSafari:n.isSafari,isAndroid:n.isAndroid,isIOS:n.isIOS,isWindows:n.isWindows,isOSX:n.isOSX,isLinux:n.isLinux,isChromecast:n.isChromecast,isTizen:n.isTizen,isWebOS:n.isWebOS,isTopUI:n.isTopUI},i=Object.keys(r);return t=t.toLowerCase(),i.reduce((function(e,n){var i=r[n];return e[n]=i(t),e}),{})}},{key:"isEdgium",value:function(t){return!e.isEdge(t)&&/edg\//i.test(t)}},{key:"isEdge",value:function(e){return/edge/i.test(e)}},{key:"isChrome",value:function(t){var n=e.isEdge(t),r=e.isEdgium(t);return!n&&!r&&/chrome|crios/i.test(t)}},{key:"isIE11",value:function(e){return/trident.*rv:11/i.test(e)}},{key:"isSafari",value:function(t){var n=e.isChrome(t),r=e.isEdge(t),i=e.isEdgium(t);return!n&&!r&&!i&&/safari/i.test(t)}},{key:"isFirefox",value:function(e){return/firefox/i.test(e)}},{key:"isAndroid",value:function(e){return/android/i.test(e)}},{key:"isIOS",value:function(e){return/ipod|iphone|ipad/i.test(e)}},{key:"isWindows",value:function(e){return/windows/i.test(e)}},{key:"isOSX",value:function(t){return!e.isIOS(t)&&/mac os x/i.test(t)}},{key:"isLinux",value:function(t){return!e.isAndroid(t)&&/linux/i.test(t)}},{key:"isChromecast",value:function(e){return/crkey/i.test(e)}},{key:"isTopUI",value:function(e){return/topuiview/i.test(e)}},{key:"isTizen",value:function(e){return/tizen/i.test(e)}},{key:"isWebOS",value:function(e){return/web0s/i.test(e)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.remove=function(e,t){var n=e.indexOf(t);return n>-1?e.splice(n,1)[0]:null}}(_||(_={})),function(e){e.GENERAL="GENERAL",e.SETUP="SETUP",e.SOURCE="SOURCE",e.PLAYBACK="PLAYBACK",e.NETWORK="NETWORK",e.DRM="DRM",e.VR="VR",e.MODULE="MODULE",e.MODULE_ADVERTISING="MODULE_ADVERTISING",e.SEGMENT="SEGMENT",e.CATEGORY_MISSING="___"}(f||(f={}));var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"codeToCategory",value:function(t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.BitmovinErrorCodeCategoryMap);try{for(r.s();!(n=r.n()).done;){var i=p(n.value,2),o=i[0],a=i[1];if(t>o[0]&&t<=o[1])return a}}catch(e){r.e(e)}finally{r.f()}return f.CATEGORY_MISSING}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();m.BitmovinErrorCodeCategoryMap=new Map([[[1e3,1099],f.GENERAL],[[1100,1199],f.SETUP],[[1200,1299],f.SOURCE],[[1300,1399],f.PLAYBACK],[[1400,1499],f.NETWORK],[[2e3,2099],f.DRM],[[2100,2199],f.VR],[[3e3,3099],f.MODULE],[[3100,3199],f.MODULE_ADVERTISING],[[4e3,4999],f.SEGMENT]]);var y=__nested_webpack_require_2554376__(6140);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S,E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"paddingEnd",value:function(e){return e+.1}},{key:"paddingStart",value:function(e){return e-.1}},{key:"convertToRange",value:function(e){return{start:e.scheduleTime,end:e.scheduleTime+e.duration}}},{key:"convertToString",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.convertToRange(t),i=r.end+n;return"{".concat(t.position,": ").concat(Math.floor(r.start),"->").concat(Math.floor(i),"}")}},{key:"rangeContains",value:function(e,t){return t.start<=e&&e<=t.end}},{key:"getAdBreakSeekingInto",value:function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return function(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n).reverse().find((function(n){var o=e.convertToRange(n);o.start=Math.max(0,o.start-2*r/1e3);var a={start:o.start,end:o.end+(n.isActive()?i:0)};return e.rangeContains(t,a)?n:null}))}},{key:"rangesAreAdjacent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return t.start-e.end<n}},{key:"getClosestFutureAdBreak",value:function(e,t){return t.find((function(t){return t.scheduleTime>e}))}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();!function(e){e[e.LongFormOnDemand=0]="LongFormOnDemand",e[e.ShortFormOnDemand=1]="ShortFormOnDemand",e[e.Live=2]="Live",e[e.UserGeneratedLongFormOnDemand=3]="UserGeneratedLongFormOnDemand",e[e.UserGeneratedShortFormOnDemand=4]="UserGeneratedShortFormOnDemand",e[e.UserGeneratedLive=5]="UserGeneratedLive",e[e.Bumper=6]="Bumper",e[e.Other=7]="Other"}(S||(S={}));var $,T,A=function(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mediaType=S.Other,this.c3="*null",this.c4="*null",this.c6="*null"}));!function(e){e.Denied="0",e.Granted="1",e.Unknown="-1"}($||($={})),function(e){e.SmartTV="SmartTV",e.Netcast="Netcast",e.Cordova="Cordova",e.Trilithium="Trilithium",e.AppleTV="AppleTV",e.Chromecast="Chromecast",e.Xbox="Xbox",e.webOS="webOS",e.tvOS="tvOS",e.nodejs="nodejs",e.html5="html5",e.JSMAF="JSMAF",e.Skeleton="Skeleton",e.WebBrowser="WebBrowser"}(T||(T={}));var C=__nested_webpack_require_2554376__(8246),P=__nested_webpack_require_2554376__.n(C),I=__nested_webpack_require_2554376__(6710),w=__nested_webpack_require_2554376__.n(I),M=__nested_webpack_require_2554376__(2614),k=__nested_webpack_require_2554376__.n(M),O=__nested_webpack_require_2554376__(943),R=__nested_webpack_require_2554376__.n(O),D=__nested_webpack_require_2554376__(5495),L=__nested_webpack_require_2554376__.n(D),x=__nested_webpack_require_2554376__(346),N=__nested_webpack_require_2554376__.n(x),U=__nested_webpack_require_2554376__(9566),B=__nested_webpack_require_2554376__.n(U),F=__nested_webpack_require_2554376__(7692),j=__nested_webpack_require_2554376__.n(F),H=__nested_webpack_require_2554376__(7466),V=__nested_webpack_require_2554376__.n(H),W=__nested_webpack_require_2554376__(4663),q=__nested_webpack_require_2554376__.n(W),G=__nested_webpack_require_2554376__(4739),Y=__nested_webpack_require_2554376__.n(G),K=__nested_webpack_require_2554376__(6818),z=__nested_webpack_require_2554376__.n(K),X=__nested_webpack_require_2554376__(2536),Q=__nested_webpack_require_2554376__.n(X),J=__nested_webpack_require_2554376__(8870),Z=__nested_webpack_require_2554376__.n(J),ee=__nested_webpack_require_2554376__(4271),te=__nested_webpack_require_2554376__.n(ee),ne=__nested_webpack_require_2554376__(9036),re=__nested_webpack_require_2554376__.n(ne),ie=__nested_webpack_require_2554376__(4269),oe=__nested_webpack_require_2554376__.n(ie),ae=__nested_webpack_require_2554376__(4543),se=__nested_webpack_require_2554376__.n(ae),ue=__nested_webpack_require_2554376__(5959),ce=__nested_webpack_require_2554376__.n(ue),le=__nested_webpack_require_2554376__(9294),de=__nested_webpack_require_2554376__.n(le),_e=__nested_webpack_require_2554376__(9474),fe=__nested_webpack_require_2554376__.n(_e),he=__nested_webpack_require_2554376__(7195),pe=__nested_webpack_require_2554376__.n(he),ge=__nested_webpack_require_2554376__(311),ve=__nested_webpack_require_2554376__.n(ge),me=__nested_webpack_require_2554376__(6987),ye=__nested_webpack_require_2554376__.n(me),be=__nested_webpack_require_2554376__(3897),Se=__nested_webpack_require_2554376__.n(be),Ee=__nested_webpack_require_2554376__(6031);function $e(e){return $e="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(e)}function Te(e,t){return Te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Te(e,t)}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ae(e)}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Te(e,t)}(o,e);var t,n,r,i=(n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ae(n);if(r){var i=Ae(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===$e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),i.apply(this,arguments)}return t=o,Object.defineProperty(t,"prototype",{writable:!1}),t}(u.Vd);function Pe(e){return Pe="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},Pe(e)}function Ie(e,t){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ie(e,t)}function we(e,t){if(t&&("object"===Pe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Me(e)}var ke=window.OmidSessionClient&&window.OmidSessionClient.default,Oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ie(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Me(r);if(i){var n=Me(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return we(this,e)});function a(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(i=o.call(this)).onStallStart=function(){var e;null===(e=i.mediaEvents)||void 0===e||e.bufferStart()},i.onStallEnd=function(){var e;null===(e=i.mediaEvents)||void 0===e||e.bufferFinish()},i.handleVolumeChange=function(e){var t,n=e;null===(t=i.mediaEvents)||void 0===t||t.volumeChange(n.targetVolume/100)},i.handleMuteEvent=function(e){var t,n;switch(e.type){case s.PlayerEvent.Unmuted:null===(t=i.mediaEvents)||void 0===t||t.volumeChange(i.player.getVolume()/100);break;case s.PlayerEvent.Muted:null===(n=i.mediaEvents)||void 0===n||n.volumeChange(0)}},i.adSession=null,i.mediaEvents=null,i.context=null,i.player=e,i.session=t,ke?(n||(n="Turner"),r||(r="0.1.0"),i.partner=new ke.Partner(n,r),y.Y.debug("[OpenMeasurement] created omsdk partner: Turner"),i):(y.Y.warn("[OpenMeasurement] session client is null"),we(i))}return t=a,n=[{key:"shutdown",value:function(){y.Y.debug("[OpenMeasurement] shutting down omsdk adapter"),this.adSession&&(this.adSession.finish(),this.adSession=null)}},{key:"handleViewModeChange",value:function(e){var t;y.Y.debug('[OpenMeasurement] player ViewMode changed to "'.concat(e,'"')),null===(t=this.mediaEvents)||void 0===t||t.playerStateChange(e)}},{key:"onAdvertBreakStart",value:function(e){}},{key:"onAdvertBreakEnd",value:function(){}},{key:"onAdvertBreakEarlyReturn",value:function(){}},{key:"onAdvertStart",value:function(e){var t=this;if(e.isActive())if(e.isFiller())y.Y.debug("[OpenMeasurement] advert is filler");else if(e.getInteractiveCreative()&&y.Y.debug("[OpenMeasurement] advert is an Interactive media"),this.session.analyticsSuppressed())y.Y.debug("[OpenMeasurement] analytics disabled");else{y.Y.debug("[OpenMeasurement] advert start");for(var n=[],r=e.getAdVerifications(),i=0;i<r.length;++i){for(var o=r[i],a=o.getVendor(),u=o.getParameters(),c=null,l=o.getResources(),d=!1,_=0;_<l.length;++_){var f=l[_];"JavaScriptResource"===f.getName()&&"omid"===f.getAttributes().get("apiFramework")&&(c=f.getValue(),d=!0)}if(d){try{new URL(c)}catch(e){y.Y.warn("[OpenMeasurement] malformed URL: "+c)}try{var h=new ke.VerificationScriptResource(c,a,u);n.push(h),y.Y.debug("[OpenMeasurement] found AdVerification for OMID, url: ".concat(c," params: ").concat(u))}catch(e){y.Y.error("[OpenMeasurement] error creating verification script resource: "+e)}}}if(0!==n.length){var p=null;try{(p=new ke.Context(this.partner,n)).setVideoElement(this.player.getVideoElement())}catch(e){return void y.Y.error("[OpenMeasurement] creating new Context failed: "+e)}try{this.adSession=new ke.AdSession(p)}catch(e){return void y.Y.error("[OpenMeasurement] creating new AdSession failed:"+e)}if(this.adSession.setCreativeType("video"),this.adSession.setImpressionType("viewable"),!this.adSession.isSupported())return y.Y.error("[OpenMeasurement] AdSession is not supported"),void(this.adSession=null);this.mediaEvents=new ke.MediaEvents(this.adSession),this.adEvents=new ke.AdEvents(this.adSession),this.player.on(s.PlayerEvent.VolumeChanged,this.handleVolumeChange),this.player.on(s.PlayerEvent.Muted,this.handleMuteEvent),this.player.on(s.PlayerEvent.Unmuted,this.handleMuteEvent),this.player.on(s.PlayerEvent.StallStarted,this.onStallStart),this.player.on(s.PlayerEvent.StallEnded,this.onStallEnd),this.adSession.registerSessionObserver((function(n){var r;if("sessionStart"===n.type){var i,o=e.getSkipOffset(),a=-1!==o;-1!==o&&(o/=100),y.Y.debug("[OpenMeasurement] creating VastProperties"),i=new ke.VastProperties(a,o,!0,"standalone"),y.Y.debug("[OpenMeasurement] adEvents loaded"),t.adEvents.loaded(i),y.Y.debug("[OpenMeasurement] this.adEvents.impressionOccurred called"),t.adEvents.impressionOccurred();var s=e.getDuration()/1e3;y.Y.debug("[OpenMeasurement] mediaEvents.start: ".concat(s)),null===(r=t.mediaEvents)||void 0===r||r.start(s,t.player.getVolume()/100)}})),y.Y.debug("[OpenMeasurement] starting AdSession"),this.adSession.start()}else y.Y.debug("[OpenMeasurement] no AdVerifications for OMID found")}else y.Y.debug("[OpenMeasurement] advert is not active")}},{key:"onAdvertEnd",value:function(){var e;this.adSession&&(y.Y.debug("[OpenMeasurement] advert end"),y.Y.debug("[OpenMeasurement] mediaEvents.complete"),null===(e=this.mediaEvents)||void 0===e||e.complete(),this.mediaEvents=null,this.player.off(s.PlayerEvent.VolumeChanged,this.handleVolumeChange),this.player.off(s.PlayerEvent.Muted,this.handleMuteEvent),this.player.off(s.PlayerEvent.Unmuted,this.handleMuteEvent),this.player.off(s.PlayerEvent.StallStarted,this.onStallStart),this.player.off(s.PlayerEvent.StallEnded,this.onStallEnd),y.Y.debug("[OpenMeasurement] stopping AdSession"),this.adSession.finish(),this.adSession=null)}},{key:"onAnalyticUpdate",value:function(){}},{key:"onSessionError",value:function(){}},{key:"onTrackingEvent",value:function(e){var t,n,r,i,o,a,s;if(this.adSession){switch(e){case"firstQuartile":null===(t=this.mediaEvents)||void 0===t||t.firstQuartile();break;case"midpoint":null===(n=this.mediaEvents)||void 0===n||n.midpoint();break;case"thirdQuartile":null===(r=this.mediaEvents)||void 0===r||r.thirdQuartile();break;case"progress":case"loaded":case"start":case"complete":case"rewind":case"closeLinear":case"NonLinearClickTracking":return;case"mute":case"unmute":break;case"pause":null===(i=this.mediaEvents)||void 0===i||i.pause();break;case"resume":null===(o=this.mediaEvents)||void 0===o||o.resume();break;case"skip":null===(a=this.mediaEvents)||void 0===a||a.skipped();break;case"ClickTracking":null===(s=this.mediaEvents)||void 0===s||s.adUserInteraction("click");break;default:return void y.Y.debug("[OpenMeasurement] advert tracking: "+e+" - unhandled")}y.Y.debug("[OpenMeasurement] advert tracking: "+e)}}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Ce),Re=__nested_webpack_require_2554376__(4445),De=__nested_webpack_require_2554376__.n(Re),Le=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"enable",value:function(){this.enabled=!0}},{key:"disable",value:function(){this.enabled=!1}},{key:"log",value:function(e){void 0!==console&&this.enabled&&console.log(e)}},{key:"error",value:function(e){void 0!==console&&this.enabled&&console.error(e)}},{key:"warn",value:function(e){void 0!==console&&this.enabled&&console.warn(e)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ne,Ue=o().StreamingAnalytics.ContentMetadata.ContentType,Be=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.metadata=n,this.streamingAnalytics=null,this.contentMetadata=null,this.comScoreState=Ne.Stopped,this.currentAdBreak=null,this.userConsent=$.Unknown,this._suppressAdAnalytics=!1,this.paused=function(){i.stopComScoreTracking()},this.unloaded=function(){i.stopComScoreTracking()},this.playing=function(){var e,t;(null===(t=null===(e=i.player)||void 0===e?void 0:e.ads)||void 0===t?void 0:t.isLinearAdActive())?i.transitionToAd():i.transitionToVideo()},this.adStarted=function(e){var t=e;t.ad.isLinear&&(i.currentAd=t.ad,i.transitionToAd())},this.adBreakStarted=function(e){var t=e;i.currentAdBreak=t.adBreak},this.adSkipped=function(){i.adFinished()},this.adError=function(){i.currentAd&&i.adFinished()},this.adFinished=function(){i.stopComScoreTracking()},this.adBreakFinished=function(){i.transitionToVideo()},this.playbackFinished=function(){i.stopComScoreTracking()},this.stallStarted=function(){i.stopComScoreTracking()},this.stallEnded=function(){i.transitionToVideo()},this.seekStarted=function(){var e;null===(e=i.streamingAnalytics)||void 0===e||e.notifySeekStart()},r&&(!0===r.debug?Le.enable():Le.disable()),t?n?(void 0!==r.userConsent&&(this.userConsent=r.userConsent),this.streamingAnalytics=new(o().StreamingAnalytics),this.streamingAnalytics.createPlaybackSession(),this.registerPlayerEvents()):Le.error("ComScoreMetadata must not be null"):Le.error("player must not be null")}var t,n;return t=e,n=[{key:"updateMetadata",value:function(e){this.metadata=e}},{key:"userConsentGranted",value:function(){this.userConsent=$.Granted}},{key:"userConsentDenied",value:function(){this.userConsent=$.Denied}},{key:"destroy",value:function(){null!==this.player&&(this.player.off(s.PlayerEvent.Playing,this.playing),this.player.off(s.PlayerEvent.Paused,this.paused),this.player.off(s.PlayerEvent.SourceUnloaded,this.unloaded),this.player.off(s.PlayerEvent.PlaybackFinished,this.playbackFinished),this.player.off(s.PlayerEvent.AdStarted,this.adStarted),this.player.off(s.PlayerEvent.AdFinished,this.adFinished),this.player.off(s.PlayerEvent.AdSkipped,this.adSkipped),this.player.off(s.PlayerEvent.AdError,this.adError),this.player.off(s.PlayerEvent.StallStarted,this.stallStarted),this.player.off(s.PlayerEvent.StallEnded,this.stallEnded),this.player.off(s.PlayerEvent.AdBreakStarted,this.adBreakStarted),this.player.off(s.PlayerEvent.Seek,this.seekStarted),this.metadata=null,this.player=null,this.streamingAnalytics=null,this.userConsent=$.Unknown)}},{key:"registerPlayerEvents",value:function(){null!==this.player&&(this.player.on(s.PlayerEvent.Playing,this.playing),this.player.on(s.PlayerEvent.Paused,this.paused),this.player.on(s.PlayerEvent.SourceUnloaded,this.unloaded),this.player.on(s.PlayerEvent.PlaybackFinished,this.playbackFinished),this.player.on(s.PlayerEvent.AdStarted,this.adStarted),this.player.on(s.PlayerEvent.AdFinished,this.adFinished),this.player.on(s.PlayerEvent.AdSkipped,this.adSkipped),this.player.on(s.PlayerEvent.AdError,this.adError),this.player.on(s.PlayerEvent.AdBreakFinished,this.adBreakFinished),this.player.on(s.PlayerEvent.StallStarted,this.stallStarted),this.player.on(s.PlayerEvent.StallEnded,this.stallEnded),this.player.on(s.PlayerEvent.AdBreakStarted,this.adBreakStarted),this.player.on(s.PlayerEvent.Seek,this.seekStarted))}},{key:"stopComScoreTracking",value:function(){var e;this.comScoreState!==Ne.Stopped&&(null===(e=this.streamingAnalytics)||void 0===e||e.notifyPause(),this.comScoreState=Ne.Stopped,Le.log("ComScoreStreamingAnalytics stopped"))}},{key:"suppressAdAnalytics",value:function(e){this._suppressAdAnalytics=e}},{key:"transitionToAd",value:function(){var e,t,n;if(this.comScoreState!==Ne.Advertisement){if(this.stopComScoreTracking(),this._suppressAdAnalytics)return void Le.log("Not tracking ad content as ad analytics is suppressed");var r=(null===(e=this.currentAd)||void 0===e?void 0:e.duration)||0,i={ns_st_cl:Math.round(1e3*r)};this.decorateUserConsent(i);var a=new(o().StreamingAnalytics.AdvertisementMetadata);a.setMediaType(this.adType()),a.addCustomLabels(i),null!==this.contentMetadata&&a.setRelatedContentMetadata(this.contentMetadata),null===(t=this.streamingAnalytics)||void 0===t||t.setMetadata(a),null===(n=this.streamingAnalytics)||void 0===n||n.notifyPlay(),this.comScoreState=Ne.Advertisement,Le.log("ComScoreStreamingAnalytics transitioned to Ad")}}},{key:"transitionToVideo",value:function(){var e,t;if(this.comScoreState!==Ne.Video&&null!==this.player){this.stopComScoreTracking();var n=this.rawData(this.player.getDuration());this.contentMetadata=new(o().StreamingAnalytics.ContentMetadata),this.contentMetadata.setMediaType(this.contentType()),this.contentMetadata.addCustomLabels(n),null===(e=this.streamingAnalytics)||void 0===e||e.setMetadata(this.contentMetadata),null===(t=this.streamingAnalytics)||void 0===t||t.notifyPlay(),this.comScoreState=Ne.Video,Le.log("ComScoreStreamingAnalytics transitioned to Video - "+De()(n))}}},{key:"adType",value:function(){var e,t=o().StreamingAnalytics.AdvertisementMetadata.AdvertisementType;if(null===(e=this.player)||void 0===e?void 0:e.isLive())return t.LIVE;if(this.currentAdBreak)switch(this.currentAdBreak.position){case"preroll":return t.ON_DEMAND_PRE_ROLL;case"midroll":return t.ON_DEMAND_MID_ROLL;case"postroll":return t.ON_DEMAND_POST_ROLL;default:return t.OTHER}return t.OTHER}},{key:"rawData",value:function(e){var t,n,r,i,o,a,s,u,c,l,d,_,f,h,p,g,v,m,y=Math.round(1e3*e);y===1/0&&(y=0);var b={ns_st_ci:null===(t=this.metadata)||void 0===t?void 0:t.uniqueContentId,ns_st_pu:null===(n=this.metadata)||void 0===n?void 0:n.publisherBrandName,ns_st_pr:null===(r=this.metadata)||void 0===r?void 0:r.programTitle,ns_st_tpr:null===(i=this.metadata)||void 0===i?void 0:i.programId,ns_st_ep:null===(o=this.metadata)||void 0===o?void 0:o.episodeTitle,ns_st_tep:null===(a=this.metadata)||void 0===a?void 0:a.episodeId,ns_st_sn:null===(s=this.metadata)||void 0===s?void 0:s.episodeSeasonNumber,ns_st_en:null===(u=this.metadata)||void 0===u?void 0:u.episodeNumber,ns_st_ge:null===(c=this.metadata)||void 0===c?void 0:c.contentGenre,ns_st_ddt:null===(l=this.metadata)||void 0===l?void 0:l.digitalAirdate,ns_st_tdt:null===(d=this.metadata)||void 0===d?void 0:d.tvAirdate,ns_st_st:null===(_=this.metadata)||void 0===_?void 0:_.stationTitle,c3:null===(f=this.metadata)||void 0===f?void 0:f.c3,c4:null===(h=this.metadata)||void 0===h?void 0:h.c4,c6:null===(p=this.metadata)||void 0===p?void 0:p.c6,ns_st_ft:null===(g=this.metadata)||void 0===g?void 0:g.feedType,ns_st_ce:(null===(v=this.metadata)||void 0===v?void 0:v.completeEpisode)?"1":null,ns_st_ia:(null===(m=this.metadata)||void 0===m?void 0:m.advertisementLoad)?"1":null,ns_st_cl:y};return this.decorateUserConsent(b),b}},{key:"decorateUserConsent",value:function(e){switch(this.userConsent){case $.Denied:e.cs_ucfr="0";break;case $.Granted:e.cs_ucfr="1"}}},{key:"contentType",value:function(){var e,t=(xe(e={},S.LongFormOnDemand,Ue.LONG_FORM_ON_DEMAND),xe(e,S.ShortFormOnDemand,Ue.SHORT_FORM_ON_DEMAND),xe(e,S.Live,Ue.LIVE),xe(e,S.UserGeneratedLongFormOnDemand,Ue.USER_GENERATED_LONG_FORM_ON_DEMAND),xe(e,S.UserGeneratedShortFormOnDemand,Ue.USER_GENERATED_SHORT_FORM_ON_DEMAND),xe(e,S.UserGeneratedLive,Ue.USER_GENERATED_LIVE),xe(e,S.Bumper,Ue.BUMPER),xe(e,S.Other,Ue.OTHER),e);return this.metadata?t[this.metadata.mediaType]:t[S.Other]}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();!function(e){e[e.Stopped=0]="Stopped",e[e.Video=1]="Video",e[e.Advertisement=2]="Advertisement"}(Ne||(Ne={}));var Fe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"start",value:function(t){if(t)if(t.debug?Le.enable():Le.disable(),e.configuration=t,void 0!==o()){if(!e.started){var n=t.platform?o().PlatformAPIs[t.platform]:o().PlatformAPIs.WebBrowser;o().PlatformApi.setPlatformAPI(n);var r=new(o().configuration.PublisherConfiguration)({publisherId:t.publisherId,persistentLabels:{cs_ucfr:t.userConsent&&t.userConsent!==$.Unknown?t.userConsent:""}});o().configuration.addClient(r),o().configuration.setApplicationName(t.applicationName),o().configuration.setApplicationVersion(t.applicationVersion)}t.childDirectedAppMode&&o().configuration.enableChildDirectedApplicationMode(),o().start(),e.started=!0,Le.log("ComScoreAnalytics Started")}else Le.error("ComScore script missing, cannot init ComScoreAnalytics");else console.error("ComScoreConfiguration must not be null")}},{key:"isActive",value:function(){return e.started}},{key:"createComScoreStreamingAnalytics",value:function(t,n){if(e.started)return Le.log("Creating ComScoreStreamingAnalytics"),new Be(t,n,this.configuration);Le.error("ComScoreConfiguration must be started before you call createComScoreStreamingAnalytics")}},{key:"setLabel",value:function(t,n){e.started&&(o().configuration.setPersistentLabel(t,n),o().notifyHiddenEvent())}},{key:"setLabels",value:function(t){e.started&&(o().configuration.addPersistentLabels(t),o().notifyHiddenEvent())}},{key:"userConsentGranted",value:function(){e.started&&(o().configuration.getPublisherConfiguration(this.configuration.publisherId).setPersistentLabel("cs_ucfr","1"),o().notifyHiddenEvent())}},{key:"userConsentDenied",value:function(){e.started&&(o().configuration.getPublisherConfiguration(this.configuration.publisherId).setPersistentLabel("cs_ucfr","0"),o().notifyHiddenEvent())}},{key:"enterForeground",value:function(){this.configuration.isOTT&&(Le.log("ComScoreAnalytics enterForeground"),o().notifyEnterForeground())}},{key:"exitForeground",value:function(){this.configuration.isOTT&&(Le.log("ComScoreAnalytics exitForeground"),o().notifyExitForeground)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Fe.started=!1;const je=function(e,t){return e===t||e!=e&&t!=t},He=function(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1};var Ve=Array.prototype.splice;function We(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}We.prototype.clear=function(){this.__data__=[],this.size=0},We.prototype.delete=function(e){var t=this.__data__,n=He(t,e);return!(n<0||(n==t.length-1?t.pop():Ve.call(t,n,1),--this.size,0))},We.prototype.get=function(e){var t=this.__data__,n=He(t,e);return n<0?void 0:t[n][1]},We.prototype.has=function(e){return He(this.__data__,e)>-1},We.prototype.set=function(e,t){var n=this.__data__,r=He(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const qe=We,Ge="object"==typeof __nested_webpack_require_339467__.g&&__nested_webpack_require_339467__.g&&__nested_webpack_require_339467__.g.Object===Object&&__nested_webpack_require_339467__.g;var Ye="object"==typeof self&&self&&self.Object===Object&&self;const Ke=Ge||Ye||Function("return this")(),ze=Ke.Symbol;var Xe=Object.prototype,Qe=Xe.hasOwnProperty,Je=Xe.toString,Ze=ze?ze.toStringTag:void 0,et=Object.prototype.toString,tt=ze?ze.toStringTag:void 0;const nt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":tt&&tt in Object(e)?function(e){var t=Qe.call(e,Ze),n=e[Ze];try{e[Ze]=void 0;var r=!0}catch(e){}var i=Je.call(e);return r&&(t?e[Ze]=n:delete e[Ze]),i}(e):function(e){return et.call(e)}(e)},rt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},it=function(e){if(!rt(e))return!1;var t=nt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ot=Ke["__core-js_shared__"];var at,st=(at=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||""))?"Symbol(src)_1."+at:"",ut=Function.prototype.toString;const ct=function(e){if(null!=e){try{return ut.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var lt=/^\[object .+?Constructor\]$/,dt=Function.prototype,_t=Object.prototype,ft=dt.toString,ht=_t.hasOwnProperty,pt=RegExp("^"+ft.call(ht).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const gt=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!rt(e)||(t=e,st&&st in t))&&(it(e)?pt:lt).test(ct(e));var t}(n)?n:void 0},vt=gt(Ke,"Map"),mt=gt(Object,"create");var yt=Object.prototype.hasOwnProperty,bt=Object.prototype.hasOwnProperty;function St(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}St.prototype.clear=function(){this.__data__=mt?mt(null):{},this.size=0},St.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},St.prototype.get=function(e){var t=this.__data__;if(mt){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return yt.call(t,e)?t[e]:void 0},St.prototype.has=function(e){var t=this.__data__;return mt?void 0!==t[e]:bt.call(t,e)},St.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mt&&void 0===t?"__lodash_hash_undefined__":t,this};const Et=St,$t=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function Tt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Tt.prototype.clear=function(){this.size=0,this.__data__={hash:new Et,map:new(vt||qe),string:new Et}},Tt.prototype.delete=function(e){var t=$t(this,e).delete(e);return this.size-=t?1:0,t},Tt.prototype.get=function(e){return $t(this,e).get(e)},Tt.prototype.has=function(e){return $t(this,e).has(e)},Tt.prototype.set=function(e,t){var n=$t(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const At=Tt;function Ct(e){var t=this.__data__=new qe(e);this.size=t.size}Ct.prototype.clear=function(){this.__data__=new qe,this.size=0},Ct.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ct.prototype.get=function(e){return this.__data__.get(e)},Ct.prototype.has=function(e){return this.__data__.has(e)},Ct.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qe){var r=n.__data__;if(!vt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new At(r)}return n.set(e,t),this.size=n.size,this};const Pt=Ct,It=function(){try{var e=gt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),wt=function(e,t,n){"__proto__"==t&&It?It(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Mt=function(e,t,n){(void 0!==n&&!je(e[t],n)||void 0===n&&!(t in e))&&wt(e,t,n)};var kt=exports&&!exports.nodeType&&exports,Ot=kt&&module&&!module.nodeType&&module,Rt=Ot&&Ot.exports===kt?Ke.Buffer:void 0,Dt=Rt?Rt.allocUnsafe:void 0;const Lt=function(e,t){if(t)return e.slice();var n=e.length,r=Dt?Dt(n):new e.constructor(n);return e.copy(r),r},xt=Ke.Uint8Array,Nt=function(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t},Ut=function(e,t){var n=t?Nt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},Bt=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var Ft=Object.create;const jt=function(){function e(){}return function(t){if(!rt(t))return{};if(Ft)return Ft(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ht=function(e,t){return function(n){return e(t(n))}},Vt=Ht(Object.getPrototypeOf,Object);var Wt=Object.prototype;const qt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Wt)},Gt=function(e){return"function"!=typeof e.constructor||qt(e)?{}:jt(Vt(e))},Yt=function(e){return null!=e&&"object"==typeof e},Kt=function(e){return Yt(e)&&"[object Arguments]"==nt(e)};var zt=Object.prototype,Xt=zt.hasOwnProperty,Qt=zt.propertyIsEnumerable,Jt=Kt(function(){return arguments}())?Kt:function(e){return Yt(e)&&Xt.call(e,"callee")&&!Qt.call(e,"callee")};const Zt=Jt,en=Array.isArray,tn=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},nn=function(e){return null!=e&&tn(e.length)&&!it(e)};var rn=exports&&!exports.nodeType&&exports,on=rn&&module&&!module.nodeType&&module,an=on&&on.exports===rn?Ke.Buffer:void 0;const sn=(an?an.isBuffer:void 0)||function(){return!1};var un=Function.prototype,cn=Object.prototype,ln=un.toString,dn=cn.hasOwnProperty,_n=ln.call(Object),fn={};fn["[object Float32Array]"]=fn["[object Float64Array]"]=fn["[object Int8Array]"]=fn["[object Int16Array]"]=fn["[object Int32Array]"]=fn["[object Uint8Array]"]=fn["[object Uint8ClampedArray]"]=fn["[object Uint16Array]"]=fn["[object Uint32Array]"]=!0,fn["[object Arguments]"]=fn["[object Array]"]=fn["[object ArrayBuffer]"]=fn["[object Boolean]"]=fn["[object DataView]"]=fn["[object Date]"]=fn["[object Error]"]=fn["[object Function]"]=fn["[object Map]"]=fn["[object Number]"]=fn["[object Object]"]=fn["[object RegExp]"]=fn["[object Set]"]=fn["[object String]"]=fn["[object WeakMap]"]=!1;const hn=function(e){return function(t){return e(t)}};var pn=exports&&!exports.nodeType&&exports,gn=pn&&module&&!module.nodeType&&module,vn=gn&&gn.exports===pn&&Ge.process;const mn=function(){try{return gn&&gn.require&&gn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(e){}}();var yn=mn&&mn.isTypedArray;const bn=yn?hn(yn):function(e){return Yt(e)&&tn(e.length)&&!!fn[nt(e)]},Sn=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var En=Object.prototype.hasOwnProperty;const $n=function(e,t,n){var r=e[t];En.call(e,t)&&je(r,n)&&(void 0!==n||t in e)||wt(e,t,n)},Tn=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?wt(n,s,u):$n(n,s,u)}return n};var An=/^(?:0|[1-9]\d*)$/;const Cn=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&An.test(e))&&e>-1&&e%1==0&&e<t};var Pn=Object.prototype.hasOwnProperty;const In=function(e,t){var n=en(e),r=!n&&Zt(e),i=!n&&!r&&sn(e),o=!n&&!r&&!i&&bn(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var c in e)!t&&!Pn.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Cn(c,u))||s.push(c);return s};var wn=Object.prototype.hasOwnProperty;const Mn=function(e){return nn(e)?In(e,!0):function(e){if(!rt(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=qt(e),n=[];for(var r in e)("constructor"!=r||!t&&wn.call(e,r))&&n.push(r);return n}(e)},kn=function e(t,n,r,i,o){t!==n&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s))break}}(n,(function(a,s){if(o||(o=new Pt),rt(a))!function(e,t,n,r,i,o,a){var s=Sn(e,n),u=Sn(t,n),c=a.get(u);if(c)Mt(e,n,c);else{var l=o?o(s,u,n+"",e,t,a):void 0,d=void 0===l;if(d){var _=en(u),f=!_&&sn(u),h=!_&&!f&&bn(u);l=u,_||f||h?en(s)?l=s:function(e){return Yt(e)&&nn(e)}(s)?l=Bt(s):f?(d=!1,l=Lt(u,!0)):h?(d=!1,l=Ut(u,!0)):l=[]:function(e){if(!Yt(e)||"[object Object]"!=nt(e))return!1;var t=Vt(e);if(null===t)return!0;var n=dn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ln.call(n)==_n}(u)||Zt(u)?(l=s,Zt(s)?l=function(e){return Tn(e,Mn(e))}(s):rt(s)&&!it(s)||(l=Gt(u))):d=!1}d&&(a.set(u,l),i(l,u,r,o,a),a.delete(u)),Mt(e,n,l)}}(t,n,s,r,e,i,o);else{var u=i?i(Sn(t,s),a,s+"",t,n,o):void 0;void 0===u&&(u=a),Mt(t,s,u)}}),Mn)},On=function(e){return e};var Rn=Math.max;const Dn=function(e){return function(){return e}},Ln=It?function(e,t){return It(e,"toString",{configurable:!0,enumerable:!1,value:Dn(t),writable:!0})}:On;var xn=Date.now;const Nn=(Un=Ln,Bn=0,Fn=0,function(){var e=xn(),t=16-(e-Fn);if(Fn=e,t>0){if(++Bn>=800)return arguments[0]}else Bn=0;return Un.apply(void 0,arguments)});var Un,Bn,Fn;const jn=(Hn=function(e,t,n){kn(e,t,n)},function(e,t){return Nn(function(e,t,n){return t=Rn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Rn(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,void 0,On),e+"")}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Hn.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!rt(n))return!1;var r=typeof t;return!!("number"==r?nn(n)&&Cn(t,n.length):"string"==r&&t in n)&&je(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Hn(e,a,n)}return e})));var Hn;function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Wn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tub=t}var t,n,r;return t=e,n=[{key:"comScoreUserConsentGranted",value:function(){this.updateConsent($.Granted)}},{key:"comScoreUserConsentDenied",value:function(){this.updateConsent($.Denied)}},{key:"comScoreSetLabel",value:function(e,t){Fe.setLabel(e,t)}},{key:"comScoreSetLabels",value:function(e){Fe.setLabels(e)}},{key:"suppressAdAnalytics",value:function(e){var t;null===(t=this.integration)||void 0===t||t.suppressAdAnalytics(e)}},{key:"load",value:function(e){var t;if(null===(t=this.integration)||void 0===t||t.destroy(),this.integration=void 0,e.comScoreMetadata){var n=this.mergeDefaultMetadata(e),r=e.comScoreConfiguration;void 0!==r&&this.createIntegration(r,n)}}},{key:"createIntegration",value:function(e,t){var n;!Fe.isActive()&&e&&(null!==(n=e.userConsent)&&void 0!==n||(e.userConsent=$.Unknown),Fe.start(e)),Fe.isActive()?(this.integration=Fe.createComScoreStreamingAnalytics(this.tub,t),this.updateConsent(e.userConsent)):y.Y.warn("[ComScoreReporter] Not started - You must provide a ComScoreConfiguration or call Tub.startComScore()")}},{key:"updateConsent",value:function(e){var t,n;switch(e){case $.Denied:y.Y.debug("[ComScoreReporter] Updating consent to Denied"),Fe.userConsentDenied(),null===(t=this.integration)||void 0===t||t.userConsentDenied();break;case $.Granted:y.Y.debug("[ComScoreReporter] Updating consent to Granted"),Fe.userConsentGranted(),null===(n=this.integration)||void 0===n||n.userConsentGranted();break;case $.Unknown:default:y.Y.debug("[ComScoreReporter] Consent value not set")}}},{key:"mergeDefaultMetadata",value:function(e){var t=e.comScoreMetadata,n={mediaType:S.Other,c3:"*null",c4:"*null",c6:"*null"};return jn({},n,t)}}],r=[{key:"startComScore",value:function(e){var t;null!==(t=e.userConsent)&&void 0!==t||(e.userConsent=$.Unknown),Fe.start(e)}},{key:"comScoreEnterForeground",value:function(){Fe.enterForeground()}},{key:"comScoreExitForeground",value:function(){Fe.exitForeground()}}],n&&Vn(t.prototype,n),r&&Vn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),qn=__nested_webpack_require_2554376__(4999);function Gn(e){return Gn="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},Gn(e)}function Yn(e,t){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yn(e,t)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kn(e)}function zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jn(e,t,n){return t&&Qn(e.prototype,t),n&&Qn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Zn=function(){function e(t){Xn(this,e),this._cachedTubAdBreaks=[],this._cachedTubAdBreakIds=[],this.session=t,this.recacheAdBreakList()}return Jn(e,[{key:"schedule",value:function(e){return Promise.reject("Not supported")}},{key:"skip",value:function(){return Promise.reject("Not supported")}},{key:"_useCachedAdBreaks",value:function(){var e=this.session.getAdBreaksByType(u.CT.LINEAR).filter((function(e){return e.getAdverts().length>0}));if(this._cachedTubAdBreakIds.length!==e.length)return y.Y.debug("[YospaceAdvertisingAPI] Number of ad breaks in window has changed. Rebuilding ads cache."),!1;var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zn(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e.map((function(e){return qn.U.creatAdBreakUuid(e)})));try{for(n.s();!(t=n.n()).done;){var r=t.value;if(!this._cachedTubAdBreakIds.includes(r))return y.Y.debug("[YospaceAdvertisingAPI] New ad break ID found. Rebuilding ads cache."),!1}}catch(e){n.e(e)}finally{n.f()}return!0}},{key:"_createCachedAdBreaks",value:function(){var e=this;this._cachedTubAdBreakIds=[];var t=this.session.getAdBreaksByType(u.CT.LINEAR).filter((function(e){return e.getAdverts().length>0}));this._cachedTubAdBreaks=t.map((function(t){var n=qn.U.mapAdBreak(t);return e._cachedTubAdBreakIds.push(n.id),qn.U.mapAdBreak(t)}))}},{key:"recacheAdBreakList",value:function(){this._useCachedAdBreaks()||this._createCachedAdBreaks()}},{key:"list",value:function(){return this._cachedTubAdBreaks}},{key:"getActiveAdBreak",value:function(){var e=this.session.getCurrentAdBreak();return e?qn.U.mapAdBreak(e):null}},{key:"getActiveAd",value:function(){var e=this.session.getCurrentAdvert();return e?qn.U.mapLinearAd(e):null}},{key:"discardAdBreak",value:function(e){y.Y.warn("CSAI is not supported for Yospace stream.")}},{key:"isLinearAdActive",value:function(){var e=this.session.getCurrentAdvert();return!(!e||e.isNonLinear())}},{key:"getModuleInfo",value:function(){return{name:"TubYSAds",version:"1.0.0"}}}]),e}(),er=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yn(e,t)}(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Kn(t);if(n){var i=Kn(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===Gn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function i(){return Xn(this,i),r.call(this,null)}return Jn(i,[{key:"recacheAdBreakList",value:function(){}},{key:"list",value:function(){return[]}},{key:"getActiveAdBreak",value:function(){return null}},{key:"getActiveAd",value:function(){return null}},{key:"isLinearAdActive",value:function(){return!1}}]),i}(Zn),tr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"isTizen",value:function(){return/Tizen/i.test(navigator.userAgent)}},{key:"isSafari",value:function(){return/Safari/i.test(navigator.userAgent)&&!/Chrome/i.test(navigator.userAgent)&&!/IEMobile/i.test(navigator.userAgent)&&!/Edge/i.test(navigator.userAgent)}},{key:"isSafariIOS",value:function(){return/Safari/i.test(navigator.userAgent)&&/iP(hone|od|ad)/i.test(navigator.userAgent)}},{key:"getAudioUris",value:function(e){var t=e[Object.keys(e).pop()].body.match(/#EXT-X-MEDIA:TYPE=AUDIO.*/g);if(null==t)return[];var n=[];return t.forEach((function(e){var t=e.match(/URI=".*?"/);t&&1===t.length&&n.push(t[0].replace("URI=","").replace(/"/g,""))})),n}},{key:"stripMetadataTags",value:function(e){return(e=(e=(e=(e=(e=e.replace(/#EXT-X-YOSPACE-CUE-IN.*/g,"")).replace(/#EXT-X-YOSPACE-CUE-OUT.*/g,"")).replace(/#EXT-X-CUE-OUT.*/g,"")).replace(/#EXT-X-CUE-IN.*/g,"")).replace(/#EXT-X-CUE-OUT-CONT.*/g,"")).replace(/#EXT-X-SCTE35.*/g,"")}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),nr=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.interval=t}var t,n;return t=e,n=[{key:"startTimer",value:function(e){this.id&&this.stopTimer();for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.id=setInterval.apply(void 0,[e,this.interval].concat(n))}},{key:"stopTimer",value:function(){clearInterval(this.id),this.id=void 0}},{key:"isRunning",value:function(){return void 0!==this.id}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function rr(e){return rr="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},rr(e)}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ir(e,t)}function or(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ar(e)}var sr=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ar(r);if(i){var n=ar(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===rr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return or(e)}(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this)).startSkipTimerDistance=1e3,n.minimumSkipDistance=300,n.skipWatchedAdsTimer=new nr(25),n.player=e,t&&(n.trapDuration=t.trapDuration,n.skipWatchedAds=t.skipWatchedAds),n.onTimeChanged=n.onTimeChanged.bind(or(n)),n.skipWatchedAdBreakTimer=n.skipWatchedAdBreakTimer.bind(or(n)),n.resetPolicy=n.resetPolicy.bind(or(n)),n.player.on(s.PlayerEvent.SourceLoaded,n.resetPolicy),n.player.on(s.PlayerEvent.SourceUnloaded,n.resetPolicy),n.skipWatchedAds&&n.player.on(s.PlayerEvent.TimeChanged,n.onTimeChanged),n}return t=a,n=[{key:"setPlaybackMode",value:function(e){this.playbackMode=e}},{key:"canChangeVolume",value:function(e,t,n){return!0}},{key:"canClickThrough",value:function(e,t,n){return!0}},{key:"canPause",value:function(e,t){return!0}},{key:"canResize",value:function(e,t,n){return!0}},{key:"canResizeCreative",value:function(e,t,n){return!0}},{key:"canSkip",value:function(e,t,n){return-1}},{key:"canStop",value:function(e,t){return!0}},{key:"willSeekTo",value:function(e){var t,n=(null===(t=this.player.ads)||void 0===t?void 0:t.list())||[],r=e>0?e:0;return e!==(r=this.getAllowedSeekTarget(r,n))&&y.Y.debug("[TubPlayerPolicy] The policy has adjusted the seek target from ".concat(e," to ").concat(r)),r}},{key:"getAllowedSeekTarget",value:function(e,t){var n=E.getAdBreakSeekingInto(e,t,this.minimumSkipDistance,this.trapDuration);if(!n)return y.Y.debug("[TubPlayerPolicy] Not landing in an ad break, allowing seek to ".concat(e)),e;var r=E.convertToRange(n),i=E.convertToString(n,this.trapDuration);return n.isActive()?(y.Y.debug("[TubPlayerPolicy] Landing in adBreak, returning the start of ".concat(i)),E.paddingStart(r.start)):this.skipWatchedAds?this.player.isLive()?this.additionalLiveProcessing(e,t,n):(y.Y.debug("[TubPlayerPolicy] Skipping inactive ad, returning the end of ".concat(i)),E.paddingEnd(r.end)):(y.Y.debug("[TubPlayerPolicy] Skipping watched ads not allowed, returning the start of ".concat(i)),E.paddingStart(r.start))}},{key:"additionalLiveProcessing",value:function(e,t,n){var r=E.convertToRange(n),i=E.convertToString(n);if("preroll"!==n.position)return y.Y.debug("[TubPlayerPolicy] Skipping inactive ad, returning the end of ".concat(i)),E.paddingEnd(r.end);var o=E.getClosestFutureAdBreak(e,t);if(!o)return y.Y.debug("[TubPlayerPolicy] Skipping inactive pre-roll, returning the end of ".concat(i)),E.paddingEnd(r.end);var a=E.convertToRange(o),s=E.convertToString(o),u=E.rangesAreAdjacent(r,a);return y.Y.debug("[TubPlayerPolicy] Closest future ad:",s),u?(y.Y.debug("[TubPlayerPolicy] ".concat(i," adjacent to ").concat(s," (PABI)")),o.isActive()?(y.Y.debug("[TubPlayerPolicy] Seeked into active PABI, returning the start of ".concat(s)),E.paddingStart(a.start)):(y.Y.debug("[TubPlayerPolicy] Skipping inactive PABI, returning the end of ".concat(s)),E.paddingEnd(a.end))):(y.Y.debug("[TubPlayerPolicy] Skipping inactive pre-roll, returning the end of ".concat(i)),E.paddingEnd(r.end))}},{key:"didSeek",value:function(e,t,n){}},{key:"didSkip",value:function(e,t,n){this.didSeek(e,t,n)}},{key:"resetPolicy",value:function(){y.Y.debug("[TubPlayerPolicy] Policy Reset"),this.skipWatchedAdsTimer.stopTimer()}},{key:"onTimeChanged",value:function(){var e,t;if(!this.skipWatchedAdsTimer.isRunning()){var n=this.player.getCurrentTime(),r=null===(e=this.player.ads)||void 0===e?void 0:e.list(),i=null==r?void 0:r.find((function(e){return e.scheduleTime>n})),o=null===(t=this.player.ads)||void 0===t?void 0:t.getActiveAdBreak();!i||i.isActive()||o||i.scheduleTime-n<this.startSkipTimerDistance/1e3&&(y.Y.debug("[TubPlayerPolicy] Within 1 second of a watched ad. Starting ".concat(this.skipWatchedAdsTimer.interval,"ms timer")),this.skipWatchedAdsTimer.startTimer(this.skipWatchedAdBreakTimer,i))}}},{key:"skipWatchedAdBreakTimer",value:function(e){var t=e.scheduleTime-this.player.getCurrentTime();y.Y.debug("[TubPlayerPolicy] Inside skip watched ad timer. Distance to ad break: ".concat(t,"sec")),t<this.minimumSkipDistance&&(this.executeSkip(e),this.skipWatchedAdsTimer.stopTimer())}},{key:"executeSkip",value:function(e){this.skipWatchedAdsTimer.stopTimer();var t=e.scheduleTime+e.duration+.1;y.Y.debug("[TubPlayerPolicy] Skipping already-viewed ad break. Seeking to ".concat(t,"s")),this.player.seek(t,"player-policy-timer")}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.xR),ur=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"appendQueryParametersToUrl",value:function(e,t){var n={};if(t)for(var r in t)t.hasOwnProperty(r)&&-1===e.indexOf(r+"=")&&(n[r]=t[r]);t=n;var i="",o=e.indexOf("?")>=0;if(t)for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o?i+="&":(i+="?",o=!0),i+=a,null!=s&&(i+="="+encodeURIComponent(s))}return e+i}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();const cr=Ht(Object.keys,Object);var lr=Object.prototype.hasOwnProperty;const dr=function(e){return nn(e)?In(e):function(e){if(!qt(e))return cr(e);var t=[];for(var n in Object(e))lr.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},_r=function(){return[]};var fr=Object.prototype.propertyIsEnumerable,hr=Object.getOwnPropertySymbols;const pr=hr?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a)&&(o[i++]=a)}return o}(hr(e),(function(t){return fr.call(e,t)})))}:_r,gr=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},vr=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)gr(t,pr(e)),e=Vt(e);return t}:_r,mr=function(e,t,n){var r=t(e);return en(e)?r:gr(r,n(e))},yr=function(e){return mr(e,dr,pr)},br=function(e){return mr(e,Mn,vr)},Sr=gt(Ke,"DataView"),Er=gt(Ke,"Promise"),$r=gt(Ke,"Set"),Tr=gt(Ke,"WeakMap");var Ar="[object Map]",Cr="[object Promise]",Pr="[object Set]",Ir="[object WeakMap]",wr="[object DataView]",Mr=ct(Sr),kr=ct(vt),Or=ct(Er),Rr=ct($r),Dr=ct(Tr),Lr=nt;(Sr&&Lr(new Sr(new ArrayBuffer(1)))!=wr||vt&&Lr(new vt)!=Ar||Er&&Lr(Er.resolve())!=Cr||$r&&Lr(new $r)!=Pr||Tr&&Lr(new Tr)!=Ir)&&(Lr=function(e){var t=nt(e),n="[object Object]"==t?e.constructor:void 0,r=n?ct(n):"";if(r)switch(r){case Mr:return wr;case kr:return Ar;case Or:return Cr;case Rr:return Pr;case Dr:return Ir}return t});const xr=Lr;var Nr=Object.prototype.hasOwnProperty,Ur=/\w*$/,Br=ze?ze.prototype:void 0,Fr=Br?Br.valueOf:void 0,jr=mn&&mn.isMap;const Hr=jr?hn(jr):function(e){return Yt(e)&&"[object Map]"==xr(e)};var Vr=mn&&mn.isSet;const Wr=Vr?hn(Vr):function(e){return Yt(e)&&"[object Set]"==xr(e)};var qr="[object Arguments]",Gr="[object Function]",Yr={};Yr[qr]=Yr["[object Array]"]=Yr["[object ArrayBuffer]"]=Yr["[object DataView]"]=Yr["[object Boolean]"]=Yr["[object Date]"]=Yr["[object Float32Array]"]=Yr["[object Float64Array]"]=Yr["[object Int8Array]"]=Yr["[object Int16Array]"]=Yr["[object Int32Array]"]=Yr["[object Map]"]=Yr["[object Number]"]=Yr["[object Object]"]=Yr["[object RegExp]"]=Yr["[object Set]"]=Yr["[object String]"]=Yr["[object Symbol]"]=Yr["[object Uint8Array]"]=Yr["[object Uint8ClampedArray]"]=Yr["[object Uint16Array]"]=Yr["[object Uint32Array]"]=!0,Yr["[object Error]"]=Yr[Gr]=Yr["[object WeakMap]"]=!1;const Kr=function e(t,n,r,i,o,a){var s,u=1&n,c=2&n,l=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!rt(t))return t;var d=en(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Nr.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!u)return Bt(t,s)}else{var _=xr(t),f=_==Gr||"[object GeneratorFunction]"==_;if(sn(t))return Lt(t,u);if("[object Object]"==_||_==qr||f&&!o){if(s=c||f?{}:Gt(t),!u)return c?function(e,t){return Tn(e,vr(e),t)}(t,function(e,t){return e&&Tn(t,Mn(t),e)}(s,t)):function(e,t){return Tn(e,pr(e),t)}(t,function(e,t){return e&&Tn(t,dr(t),e)}(s,t))}else{if(!Yr[_])return o?t:{};s=function(e,t,n){var r,i,o,a=e.constructor;switch(t){case"[object ArrayBuffer]":return Nt(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?Nt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Ut(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(o=new(i=e).constructor(i.source,Ur.exec(i))).lastIndex=i.lastIndex,o;case"[object Symbol]":return r=e,Fr?Object(Fr.call(r)):{}}}(t,_,u)}}a||(a=new Pt);var h=a.get(t);if(h)return h;a.set(t,s),Wr(t)?t.forEach((function(i){s.add(e(i,n,r,i,t,a))})):Hr(t)&&t.forEach((function(i,o){s.set(o,e(i,n,r,o,t,a))}));var p=d?void 0:(l?c?br:yr:c?Mn:dr)(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n););}(p||t,(function(i,o){p&&(i=t[o=i]),$n(s,o,e(i,n,r,o,t,a))})),s},zr=function(){return Ke.Date.now()};var Xr=/\s/,Qr=/^\s+/,Jr=/^[-+]0x[0-9a-f]+$/i,Zr=/^0b[01]+$/i,ei=/^0o[0-7]+$/i,ti=parseInt;const ni=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||Yt(e)&&"[object Symbol]"==nt(e)}(e))return NaN;if(rt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Xr.test(e.charAt(t)););return t}(e)+1).replace(Qr,""):e}(e);var n=Zr.test(e);return n||ei.test(e)?ti(e.slice(2),n?2:8):Jr.test(e)?NaN:+e};var ri=Math.max,ii=Math.min;var oi=function(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.registerBLCallbacks=function(){n.BL.on_deviceInfo=n.deviceInfo,n.BL.on_BL_opened=n.on_BL_opened,n.BL.on_BL_rendered=n.on_BL_rendered,n.BL.on_BL_expanded=n.on_BL_expanded,n.BL.on_BL_collapsed=n.on_BL_collapsed,n.BL.on_BL_closed=n.on_BL_closed},this.onAdStarted=function(e){var t=e.ad;qn.U.isBrightlineAd(t)&&(n.player.getActiveAdvertCompanions().forEach((function(e){var t=e.getResource(u._g.IFRAME);t?n.BL.openAd(t.getStringData(),n.player.getVideoElement().getAttribute("id")):y.Y.error("[Tub] BrightLine: Companion is missing IFRAME resource")})),n.player.on(s.PlayerEvent.AdFinished,n.onAdFinished),n.player.on(s.PlayerEvent.SourceUnloaded,n.onSourceUnloaded))},this.onAdFinished=function(e){var t,r=null===(t=n.player.ads)||void 0===t?void 0:t.getActiveAd();(null==r?void 0:r.duration)&&qn.U.isBrightlineAd(r)&&(n.BL.closeAd(),n.player.off(s.PlayerEvent.AdFinished,n.onAdFinished),n.player.off(s.PlayerEvent.SourceUnloaded,n.onSourceUnloaded))},this.onSourceUnloaded=function(){y.Y.warn("[Tub] BrightLine: Source unloaded during BrightLine playback"),n.BL.closeAd()},this.deviceInfo=function(){return{configId:"1035",os:window.navigator.platform,osVersion:window.navigator.appVersion,appSessionID:n.BL.guid()||"",adSessionID:n.BL.guid()||"",applicationName:"TOP v2 Player TUB Engine",deviceUUID:null,platformName:window.navigator.appCodeName+", "+window.navigator.appName,mobileCarrier:"NA",manufacturer:window.navigator.vendor,advertisingIdentifier:null,applicationIdentifier:window.document.location.hostname,applicationVersion:"TUB "+n.player.version,sdkVersion:"2.1.0",deviceModel:window.navigator.appVersion,deviceName:"desktop",screenResolution:screen.width+","+screen.height,deviceConnectionType:window.navigator.connection||"",trackFlag:window.navigator.doNotTrack}},this.on_BL_opened=function(){y.Y.debug("[Tub] BrightLine: BL.openAd() was called")},this.on_BL_rendered=function(){y.Y.debug("[Tub] BrightLine: creative has rendered")},this.on_BL_expanded=function(){y.Y.debug("[Tub] BrightLine: overlay has expanded, pausing the stream"),n.player.pause("brightline")},this.on_BL_collapsed=function(){y.Y.debug("[Tub] BrightLine: overlay has collapsed, resuming the stream"),n.player.play("brightline")},this.on_BL_closed=function(){y.Y.debug("[Tub] BrightLine: BL.closeAd() was called")},this.BL=window.BL,!this.BL)throw new Error("[Tub] BrightLine: SDK not found, cannot initialize");this.registerBLCallbacks(),this.BL.init(),this.player.on(s.PlayerEvent.AdStarted,this.onAdStarted)})),ai=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"createAdBreakStart",value:function(e){return{timestamp:Date.now(),type:s.PlayerEvent.AdBreakStarted,adBreak:e}}},{key:"createAdBreakEnd",value:function(){return{timestamp:Date.now(),type:s.PlayerEvent.AdBreakFinished,adBreak:null}}},{key:"createAdStart",value:function(e){return{timestamp:Date.now(),type:s.PlayerEvent.AdStarted,ad:e}}},{key:"createAdEnd",value:function(){return{timestamp:Date.now(),type:s.PlayerEvent.AdFinished,ad:null}}},{key:"createAdBlocked",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"high";return{timestamp:Date.now(),type:a.AdBlocked,message:e,probability:t}}},{key:"createYospaceAnalyticsUpdate",value:function(){return{timestamp:Date.now(),type:a.YospaceAnalyticUpdate}}},{key:"createYospaceInitError",value:function(e,t){return{type:a.YospaceInitError,timestamp:Date.now(),code:e,message:t}}},{key:"createYospaceSessionError",value:function(e,t,n){var r={};return(null==n?void 0:n.getParsingErrors().length)&&(r.parsingErrors=null==n?void 0:n.getParsingErrors()),(null==n?void 0:n.getTrackingErrors().length)&&(r.trackingErrors=null==n?void 0:n.getTrackingErrors()),{type:a.YospaceSessionError,timestamp:Date.now(),code:e,message:t,details:r}}},{key:"createYospaceUnknownError",value:function(e){return this.createYospaceInitError(l.UNKNOWN,e)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),si=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tickInterval=250,this._wasPaused=!1,this.wasStarted=!1,this.onPlaying=function(){i.wasPaused?(i.session.onPlayerEvent(u.rg.RESUME,i.getTime()),i.wasPaused=!1):!1===i.wasStarted&&(i.session.onPlayerEvent(u.rg.START,i.getTime()),i.wasStarted=!0,i.playbackMode!==u.su.VOD&&i.playbackMode!==u.su.DVRLIVE||(i.tickTimerHandler=setInterval(i.onPlayheadTick,i.tickInterval)))},this.onPause=function(){i.wasPaused=!0,i.session.onPlayerEvent(u.rg.PAUSE,i.getTime())},this.onStallStart=function(){i.wasPaused=!0,i.session.onPlayerEvent(u.rg.STALL,i.getTime())},this.onStallEnd=function(){i.wasPaused=!1,i.session.onPlayerEvent(u.rg.CONTINUE,i.getTime())},this.onPlayheadTick=function(){i.session.onPlayheadUpdate(i.getTime())},this.onSeeked=function(e){i.session.onPlayerEvent(u.rg.SEEK,i.getTime())},this.onTimeShift=function(e){i.wasPaused=!0},this.onTimeShifted=function(e){i.wasPaused=!1,i.session.onPlayerEvent(u.rg.SEEK,i.getTime())},this.onStop=function(){i.session.onPlayerEvent(u.rg.STOP,i.getTime()),clearInterval(i.tickTimerHandler)},this.onVolumeChange=function(e){var t=e;0===t.targetVolume&&0!==t.sourceVolume?i.session.onVolumeChange(!0):0===t.sourceVolume&&0!==t.targetVolume&&i.session.onVolumeChange(!1)},this.getTime=function(){return 1e3*i.player.getCurrentTime(s.TimeMode.RelativeTime)},this.player=t,this.session=n,this.playbackMode=r,this.player.on(s.PlayerEvent.VolumeChanged,this.onVolumeChange),this.player.on(s.PlayerEvent.Playing,this.onPlaying),this.player.on(s.PlayerEvent.SourceUnloaded,this.onStop),this.player.on(s.PlayerEvent.Paused,this.onPause),this.player.on(s.PlayerEvent.StallStarted,this.onStallStart),this.player.on(s.PlayerEvent.StallEnded,this.onStallEnd),this.player.on(s.PlayerEvent.TimeShift,this.onTimeShift),this.player.on(s.PlayerEvent.Seeked,this.onSeeked),this.player.on(s.PlayerEvent.TimeShifted,this.onTimeShifted)}var t,n;return t=e,n=[{key:"wasPaused",get:function(){return this._wasPaused},set:function(e){!0===e?clearInterval(this.tickTimerHandler):this.playbackMode!==u.su.VOD&&this.playbackMode!==u.su.DVRLIVE||(this.tickTimerHandler=setInterval(this.onPlayheadTick,this.tickInterval)),this._wasPaused=e}},{key:"destroy",value:function(){clearInterval(this.tickTimerHandler),this.player.off(s.PlayerEvent.VolumeChanged,this.onVolumeChange),this.player.off(s.PlayerEvent.Playing,this.onPlaying),this.player.off(s.PlayerEvent.SourceUnloaded,this.onStop),this.player.off(s.PlayerEvent.Paused,this.onPause),this.player.off(s.PlayerEvent.StallStarted,this.onStallStart),this.player.off(s.PlayerEvent.StallEnded,this.onStallEnd),this.player.off(s.PlayerEvent.TimeShift,this.onTimeShift),this.player.off(s.PlayerEvent.Seeked,this.onSeeked),this.player.off(s.PlayerEvent.TimeShifted,this.onTimeShifted)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ui=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,ci=/^[0-9a-fA-F]{40}$/;function li(e){return!!e.match(ui)}function di(e){return!!e.match(ci)}function _i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fi=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"setup",value:function(){}},{key:"extractKeyData",value:function(e){if(this.isCertCall(e))return null;var t=e.body,n=new TextDecoder("utf-8").decode(t).match('istreamplanet\\"\\\\([a-zA-Z0-9]{92})(.*)');if(!n)return y.Y.error("Could not find istreamplanet section in the widevine request body"),null;var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),2!==o.length);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e)||function(e,t){if(e){if("string"==typeof e)return _i(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_i(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(window.atob(n[1]).split(";")),i=r[0],o=r[1].toLowerCase()+"00000000";return y.Y.debug("[Tub] Read companyId (".concat(i,") and assetId (").concat(o,") from widevine request body")),{companyId:i,assetId:o}}},{key:"updateHttpRequest",value:function(e,t,n){if(this.isCertCall(e))return e;var r=new URL(e.url),i=r.pathname.split("/"),o=i[i.length-1];return li(o)||y.Y.warn("Company ID in Widevine LA url is in unexpected format",o),o!==n&&(i[i.length-1]=n,r.pathname=i.join("/"),e.url=r.toString()),e}},{key:"isCertCall",value:function(e){return e.body instanceof ArrayBuffer&&2===e.body.byteLength}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),hi=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"setup",value:function(){}},{key:"extractKeyData",value:function(e){var t,n,r,i=new DOMParser,o=e.body,a=i.parseFromString(o,"text/xml"),s=null===(t=a.getElementsByTagName("CompanyID")[0])||void 0===t?void 0:t.textContent,u=null===(r=null===(n=a.getElementsByTagName("AssetID")[0])||void 0===n?void 0:n.textContent)||void 0===r?void 0:r.toLowerCase();return s&&u?(di(u)&&(u=u.slice(0,-8)+"00000000"),y.Y.debug("[Tub] Read companyId (".concat(s,") and assetId (").concat(u,") from playready request body")),{companyId:s,assetId:u}):(y.Y.error("Could not find company (".concat(s,") or asset (").concat(u,") ID in the playready request body. Both must exist for a license request.")),null)}},{key:"updateHttpRequest",value:function(e,t,n){return e}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),pi=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._fairplayKeyData=null}var t,n;return t=e,n=[{key:"setup",value:function(e){var t,n=this;if(null===(t=e.drm)||void 0===t?void 0:t.fairplay){var r=Object.assign({useUint16InitData:!0,licenseResponseType:s.HttpResponseType.ARRAYBUFFER,prepareMessage:function(e){return e.message},prepareContentId:function(e){return e.replace("skd://","").split("/")[2]},prepareCertificate:function(e){for(var t=String.fromCharCode.apply(null,new Uint8Array(e)).replace(/"/g,""),n=window.atob(t),r=n.length,i=new Uint8Array(new ArrayBuffer(r)),o=0;o<r;o++)i[o]=n.charCodeAt(o);return i},prepareLicense:function(e){for(var t=String.fromCharCode.apply(null,new Uint8Array(e)).replace(/"/g,""),n=window.atob(t),r=n.length,i=new Uint8Array(new ArrayBuffer(r)),o=0;o<r;o++)i[o]=n.charCodeAt(o);return i},getLicenseServerUrl:function(e){var t=new URL(e.replace("skd://","https://")).pathname.split("/"),r=t[1],i=t[2].toLowerCase();return di(i)&&(i=i.slice(0,-8)+"00000000"),y.Y.debug("[Tub] Read companyId (".concat(r,") and assetId (").concat(i,") from fairplay skd url")),n._fairplayKeyData={companyId:r,assetId:i},n._laUrl}},e.drm.fairplay);this._laUrl=e.drm.fairplay.LA_URL,delete r.LA_URL,e.drm.fairplay=r}}},{key:"extractKeyData",value:function(e){return this._fairplayKeyData||y.Y.warn("Fairplay key data was not extracted by getLicenseServerUrl"),this._fairplayKeyData}},{key:"updateHttpRequest",value:function(e,t,n){var r=new URL(e.url),i=r.pathname.split("/"),o=i[i.length-1];return li(o)||y.Y.warn("Company ID in Fairplay LA url is in unexpected format",o),o!==n&&(i[i.length-1]=n,r.pathname=i.join("/"),e.url=r.toString()),e}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vi,mi=function(){function e(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.requestHandlers=(gi(t={},s.HttpRequestType.DRM_LICENSE_WIDEVINE,new fi),gi(t,s.HttpRequestType.DRM_LICENSE_PLAYREADY,new hi),gi(t,s.HttpRequestType.DRM_LICENSE_FAIRPLAY,new pi),t)}var t,n;return t=e,n=[{key:"setup",value:function(e){y.Y.debug("[Tub] DrmKeyDataHelper::setup"),Object.values(this.requestHandlers).forEach((function(t){t.setup(e)}))}},{key:"isKeyBuffer",value:function(e,t){return e!=s.HttpRequestType.DRM_LICENSE_WIDEVINE||t instanceof ArrayBuffer&&t.byteLength>2}},{key:"isSupportedType",value:function(e){return null!=this.requestHandlers[e]}},{key:"getKeyData",value:function(e,t){var n,r=(null===(n=this.requestHandlers[e])||void 0===n?void 0:n.extractKeyData(t))||null;return y.Y.debug("[Tub] DrmKeyDataHelper::getKeyData ".concat(e),r),r&&function(e){li(e.companyId)||y.Y.warn('[Tub KeyRotationHelper] Company ID "'.concat(e.companyId,'" does not match expected format')),di(e.assetId)||y.Y.warn('[Tub KeyRotationHelper] Asset ID "'.concat(e.assetId,'" does not match expected format'))}(r),r}},{key:"updateHttpRequest",value:function(e,t,n,r){var i,o=null===(i=this.requestHandlers[e])||void 0===i?void 0:i.updateHttpRequest(t,n,r);return void 0!==o?(t=o,y.Y.debug("[Tub] DrmKeyDataHelper x-isp-token = [".concat(n,"]")),t.headers["x-isp-token"]=n,t):t}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),yi=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"getProbability",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y.Y.debug("[getProbability] trackingErrors:",t.map((function(e){return e.event})));var r=t.filter((function(t){return e.adBreakBeaconList.includes(t.event)||e.advertBeaconsList.includes(t.event)}));y.Y.debug("[getProbability] filteredErrors:",r.map((function(e){return e.event})));var i=r.length/(n*this.advertBeaconsList.length+this.adBreakBeaconList.length),o=this.isContiguous(r),a=o&&i>=this.thresholds.CONTIGUOUS||i>=this.thresholds.RANDOM;if(y.Y.debug("[getProbability] beacons failed:",100*i+"%","threshold met:",a),!a)return"none";var s=o?this.probabilities.CONTIGUOUS:this.probabilities.RANDOM;switch(y.Y.debug("[getProbability] using ".concat(o?"contiguous":"random"," level:"),s),!0){case i>=s.high:return"high";case i>=s.mid:return"mid";case i>=s.low:return"low";default:return"none"}}},{key:"isContiguous",value:function(e){if(e.length<=1)return!1;for(var t=0;t<e.length;t++){if(t===e.length-1)return!0;var n=e[t],r=this.advertBeaconsList.indexOf(n.event);if(-1!==r){for(var i=r+1>=this.advertBeaconsList.length?0:r+1,o=this.advertBeaconsList[i],a=t,s=e[a+1];-1===this.advertBeaconsList.indexOf(s.event);)if(s=e[1+ ++a],a===e.length-1)return!0;if(s.event!==o)return!1}}return!0}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function bi(e){return bi="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},bi(e)}function Si(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ei(){Ei=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof d?t:d,o=Object.create(i.prototype),a=new $(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=c(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function d(){}function _(){}function f(){}var h={};s(h,i,(function(){return this}));var p=Object.getPrototypeOf,g=p&&p(p(T([])));g&&g!==t&&n.call(g,i)&&(h=g);var v=f.prototype=d.prototype=Object.create(h);function m(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){function r(i,o,a,s){var u=c(e[i],e,o);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==bi(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function $(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return _.prototype=f,s(v,"constructor",f),s(f,"constructor",_),_.displayName=s(f,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(y.prototype),s(y.prototype,o,(function(){return this})),e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),s(v,a,"Generator"),s(v,i,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,$.prototype={constructor:$,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function $i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}vi=yi,yi.adBreakBeaconList=["breakStart"],yi.advertBeaconsList=["Impression","firstQuartile","midpoint","thirdQuartile","complete"],yi.thresholds={CONTIGUOUS:.15,RANDOM:.3},yi.probabilities={CONTIGUOUS:{low:vi.thresholds.CONTIGUOUS,mid:vi.thresholds.CONTIGUOUS+.2,high:vi.thresholds.CONTIGUOUS+.4},RANDOM:{low:vi.thresholds.RANDOM,mid:vi.thresholds.RANDOM+.2,high:vi.thresholds.RANDOM+.4}};var Ti=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))},Ai=function(){function e(t,n){var r=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.adaptedEvents=[s.PlayerEvent.Play,s.PlayerEvent.Playing,s.PlayerEvent.Paused,s.PlayerEvent.Ready,s.PlayerEvent.Seek,s.PlayerEvent.Seeked,s.PlayerEvent.PlaybackFinished,s.PlayerEvent.TimeChanged,s.PlayerEvent.AudioChanged,s.PlayerEvent.AirplayChanged,s.PlayerEvent.AudioAdded,s.PlayerEvent.AudioRemoved,s.PlayerEvent.Metadata,s.PlayerEvent.MetadataChanged,s.PlayerEvent.MetadataParsed,s.PlayerEvent.CastWaitingForDevice,s.PlayerEvent.CueEnter,s.PlayerEvent.CueExit,s.PlayerEvent.CueParsed,s.PlayerEvent.CueUpdate,s.PlayerEvent.AdBreakStarted,s.PlayerEvent.AdBreakFinished,s.PlayerEvent.AdStarted,s.PlayerEvent.AdFinished,s.PlayerEvent.Error],this.tubHandlers={},this._adTimeBase=null,this._mediaTimeBase=null,this.masterManifestCache={},this.comscoreReporter=new Wn(this),this.yospaceAdvertisingApi=new er,this._configContentPlaybackSpeed=1,this.firstAnalyticsUpdate=!0,this.readyHasFired=!1,this.yospaceOnAdvertBreakStartObserver=function(e){var t=null;if(e){if(t=qn.U.mapAdBreak(e),!r.isLive()){var n=t.scheduleTime+t.duration;r.adjustMediaTimeBase(n)}r._configContentPlaybackSpeed=r.player.getPlaybackSpeed(),r.player.setPlaybackSpeed(1)}y.Y.debug("[TubAdEventObserver] Break start",e,t),r.fireEvent(ai.createAdBreakStart(t)),y.Y.debug("[TubAdEventObserver] checking for blockers..."),r.checkForBlocking(r.getSessionErrorMessage(u.Pn.TRACKING_ERROR))},this.yospaceOnAdvertBreakEndObserver=function(){r._adTimeBase=0,r.player.setPlaybackSpeed(r._configContentPlaybackSpeed),y.Y.debug("[TubAdEventObserver] Break end, timebase set to 0"),r.fireEvent(ai.createAdBreakEnd())},this.yospaceOnAdvertStartObserver=function(e){if(e){r._adTimeBase=e.getStart()/1e3;var t=qn.U.mapLinearAd(e);y.Y.debug("[TubAdEventObserver] Advert start, timebase set to ".concat(r._adTimeBase),t),r.fireEvent(ai.createAdStart(t))}else y.Y.warn('[TubAdEventObserver] Advert start, received "undefined" or "null" advert, early return')},this.yospaceOnAdvertEndObserver=function(){r.fireEvent(ai.createAdEnd())},this.yospaceOnAnalyticUpdateObserver=function(){var e;if(r.firstAnalyticsUpdate){r.firstAnalyticsUpdate=!1;var t=null===(e=r.ads)||void 0===e?void 0:e.list();t&&t.length>0||r.checkForBlocking(r.getSessionErrorMessage(u.Pn.TRACKING_ERROR))}r.yospaceAdvertisingApi.recacheAdBreakList(),r.fireEvent(ai.createYospaceAnalyticsUpdate())},this.yospaceOnTrackingEventObserver=function(e){y.Y.debug('[TubAdEventObserver] Tracking event "'.concat(e,'"'))},this.yospaceOnEarlyAdBreakExit=function(e){y.Y.debug("[TubAdEventObserver] Session reported early ad break exit",e)},this.yospaceOnSessionError=function(e){var t,n,i,o,a=e,s=Object.keys(c).find((function(e){return c[e]===a}));y.Y.warn("[TubAdEventObserver] Session error, errorCode: ".concat(e," (").concat(s,")"));var u=r.getSessionErrorMessage(a);if(r.fireEvent(ai.createYospaceSessionError(a,u,r.session)),a===c.TRACKING_ERROR){if(!window.navigator.onLine)return void y.Y.log("[TubAdEventObserver] tracking error while not online, short circuiting...");var l=(null===(t=r.session)||void 0===t?void 0:t.getTrackingErrors())||[],d=(null===(o=null===(i=null===(n=r.ads)||void 0===n?void 0:n.getActiveAdBreak())||void 0===i?void 0:i.ads)||void 0===o?void 0:o.length)||0,_=yi.getProbability(l,d);"none"===_?y.Y.log("[TubAdEventObserver] threshold requirement not met... suppressing adBlocked event"):(y.Y.debug("[TubAdEventObserver] probability:",_),r.fireEvent(ai.createAdBlocked("An ad blocker may be enabled... ".concat(u),_)))}},this.onPlaybackEvent=function(e){var t=e,n=Object.assign({},t);n.time=r.isLive()?r.getCurrentTime():r.getMediaTime(t.time),Number.isNaN(n.time)&&(n.time=void 0),r.fireEvent(n)},this.getMediaTime=function(e){return void 0===r.session?e:r.session.getCurrentAdBreak()?r.getCurrentTime():e-(r._mediaTimeBase||0)},this._storedAbsStartTime=null,this.throttledGetSafariAbsoluteStartTimeLog=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return rt(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),function(e,t,n){var r,i,o,a,s,u,c=0,l=!1,d=!1,_=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function h(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-c>=o}function p(){var e=zr();if(h(e))return g(e);s=setTimeout(p,function(e){var n=t-(e-u);return d?ii(n,o-(e-c)):n}(e))}function g(e){return s=void 0,_&&r?f(e):(r=i=void 0,a)}function v(){var e=zr(),n=h(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(p,t),l?f(e):a}(u);if(d)return clearTimeout(s),s=setTimeout(p,t),f(u)}return void 0===s&&(s=setTimeout(p,t)),a}return t=ni(t)||0,rt(n)&&(l=!!n.leading,o=(d="maxWait"in n)?ri(ni(n.maxWait)||0,t):o,_="trailing"in n?!!n.trailing:_),v.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},v.flush=function(){return void 0===s?a:g(zr())},v}(e,t,{leading:r,maxWait:t,trailing:i})}((function(){y.Y.debug("[TUB getSafariAbsoluteStartTime] Unable to determine absolute start time of the stream. Will try again next time getFirstAbsoluteTime is called.")}),100),this.onTimeChangedEvent=function(e){var t=e,n=Object.assign(Object.assign({},e),{time:r.isLive()?r.getCurrentTime():r.getMediaTime(t.time),contentTime:r.getRelativeTime(),absoluteTime:r.getAbsoluteTime()});r.fireEvent(n)},this.adjustMediaTimeBase=function(e){var t,n=((null===(t=r.ads)||void 0===t?void 0:t.list())||[]).reduce((function(t,n){var r=n.scheduleTime,i=n.duration;return r>e?t:t+i}),0);r._mediaTimeBase=n},this.onSeekEvent=function(e){var t=Object.assign({},e);r.isLive()?t.position=r.rebaseRelativeTimeIfInAd(t.position,!0):(t.position=r.getMediaTime(t.position),r.adjustMediaTimeBase(t.seekTarget)),t.seekTarget=r.rebaseRelativeTimeIfInAd(t.seekTarget),r.fireEvent(t)},this.onSeekedEvent=function(e){var t=Object.assign({},e);r.isLive()?t.time=r.rebaseRelativeTimeIfInAd(r.player.getCurrentTime(),!0):t.time=r.getMediaTime(r.player.getCurrentTime(s.TimeMode.RelativeTime)),r.fireEvent(t)},this.onAudioChangedEvent=function(e){var t=Object.assign({},e);t.time=r.getCurrentTime(),r.fireEvent(t)},this.onAirplayChangedEvent=function(e){var t=Object.assign({},e);t.time=r.getCurrentTime(),r.fireEvent(t)},this.onAudioTrackEvent=function(e){var t=Object.assign({},e);t.time=r.getCurrentTime(),r.fireEvent(t)},this.onCastWaitingForDeviceEvent=function(e){var t=e,n=Object.assign(Object.assign({},e),{castPayload:Object.assign({},t.castPayload)});n.castPayload.currentTime=n.castPayload.currentTime-r.getFirstAbsoluteTime(),r.fireEvent(n)},this.onCueEvent=function(e){var t=Object.assign({},e),n=r._parseCueTime(t.start,t.end),i=n.parsedStart,o=n.parsedEnd;t.start=i,t.end=o,r.fireEvent(t)},this.onCueParsedEvent=function(e){var t=Object.assign({},e),n=r._parseCueTime(t.start,t.end),i=n.parsedStart,o=n.parsedEnd;t.start=i,t.end=o,r.fireEvent(t)},this.onMetadataEvent=function(e){var t=Object.assign({},e),n=r.getFirstAbsoluteTime();n&&(t.start&&(t.start-=n),t.end&&(t.end-=n)),r.fireEvent(t)},this.onMetadataParsed=function(e){var t=e;Array.isArray(t.metadata)?t.metadata.forEach((function(e){r.fireMetadataParsedEvent(Object.assign(Object.assign({},t),{metadata:Object.assign({},e)}))})):r.fireMetadataParsedEvent(Object.assign(Object.assign({},t),{metadata:Object.assign({},t.metadata)}))},this.fireMetadataParsedEvent=function(e){var t=r.getFirstAbsoluteTime(e);t&&(e.start&&(e.start-=t),e.end&&(e.end-=t),e.metadata.presentationTime&&(e.metadata.presentationTime-=t)),r.fireEvent(e)},this.onBitmovinError=function(e){r.fireEvent(e)},this.version="0.297.1",this.versions={tub:"0.297.1",bitmovin:"8.179.0",yospace:"3.6.4",comscore:"7.7.0+211006",openMeasurement:"1.3.37-iab3566",brightline:"2.1.2"},s.Player.addModule(N()),s.Player.addModule(B()),s.Player.addModule(pe()),s.Player.addModule(P()),s.Player.addModule(w()),s.Player.addModule(k()),s.Player.addModule(R()),s.Player.addModule(L()),s.Player.addModule(j()),s.Player.addModule(V()),s.Player.addModule(q()),s.Player.addModule(Y()),s.Player.addModule(de()),s.Player.addModule(se()),s.Player.addModule(Se()),s.Player.addModule(ce()),s.Player.addModule(z()),s.Player.addModule(Q()),s.Player.addModule(Z()),s.Player.addModule(te()),s.Player.addModule(re()),s.Player.addModule(oe()),n.debug){y.Y.enable();var i=u.Mz.DEBUG_PLAYBACK|u.Mz.DEBUG_LIFECYCLE|u.Mz.DEBUG_POLLING|u.Mz.DEBUG_REPORTS|u.Mz.DEBUG_PARSING|u.Mz.DEBUG_VALIDATION;u.kT.setDebugFlags(i)}else y.Y.disable(),u.kT.setDebugFlags(0);null==n.playerConfig.tweaks&&(n.playerConfig.tweaks={}),n.playerConfig.tweaks.enable_seek_for_live=!0,n.playerConfig.tweaks.resume_live_content_at_previous_position_after_ad_break=!0,n.playerConfig.tweaks.fairplay_ignore_duplicate_init_data_key_errors=!0,n.playerConfig.tweaks.segment_encryption_transition_handling=!0,tr.isSafari()&&(n.playerConfig.tweaks.prevent_video_element_preloading=!0),!n.disableServiceWorker&&(tr.isSafari()||tr.isSafariIOS())&&(s.Player.addModule(fe()),y.Y.log("Loading the conditional ServiceWorkerModule"),n.playerConfig.location||(n.playerConfig.location={}),n.playerConfig.location.serviceworker||(n.playerConfig.location.serviceworker="./sw.js"),n.playerConfig.tweaks.native_hls_parsing||(n.playerConfig.tweaks.native_hls_parsing=!0)),n.useTizen&&(s.Player.addModule(ve()),y.Y.log("Loading the conditional TizenModule")),n.useWebos&&(s.Player.addModule(ye()),y.Y.log("Loading the conditional WebosModule")),null==n.playerConfig.network&&(n.playerConfig.network={}),n.playerConfig.network.preprocessHttpRequest=function(e,t){return r.preprocessHttpRequest(e,t,n)},n.playerConfig.network.preprocessHttpResponse=function(e,t){return r.preprocessHttpResponse(e,t)},n.playerConfig.ui||(n.playerConfig.ui=!1),this.container=t,this.tubConfiguration=n}var t,n,r;return t=e,n=[{key:"setup",value:function(){var e=this;return this.unregisterAllServiceWorker().then((function(){y.Y.debug("[Tub setup] The BM player is being created with configuration",e.tubConfiguration.playerConfig),e.player=new s.Player(e.container,e.tubConfiguration.playerConfig),e.tubHandlers={},e.registerPlayerEvents(),e.companionRenderer=new Ee.A(e),e.drmKeyDataHelper=new mi}))}},{key:"unregisterAllServiceWorker",value:function(){return navigator.serviceWorker&&!this.tubConfiguration.disableServiceWorker?navigator.serviceWorker.getRegistrations().then((function(e){return Promise.all(e.map((function(e){return e.unregister()})))})):Promise.resolve()}},{key:"getSessionErrorMessage",value:function(e){var t=c.PARSING_ERROR,n=c.TIMEOUT,r=c.TRACKING_ERROR,i=c.UNRESOLVED_BREAK;switch(e){case t:return"The parser returned error(s) during XML parsing";case n:return"The session with the Yospace Central Streaming Manager (CSM) service timed-out";case r:return"The result of one or more tracking beacons was unsuccessful";case i:return"The fulfillment payload for an initial VMAP response with placeholder break was not received or did not contain the expected data";default:return"Unknown"}}},{key:"yospaceSessionInitialized",value:function(e,t){if("suppressAnalytics"in e&&void 0!==e.suppressAnalytics&&this.analyticSuppression(e.suppressAnalytics),this.yospaceAdvertisingApi=new Zn(t),void 0!==e.tubAdPolicy){this.tubAdPolicy=e.tubAdPolicy;var n=new sr(this,e.tubAdPolicy);t.setPlaybackPolicyHandler(n)}e.hls=t.getPlaybackUrl();var r={onAdvertBreakStart:this.yospaceOnAdvertBreakStartObserver,onAdvertBreakEnd:this.yospaceOnAdvertBreakEndObserver,onAdvertBreakEarlyReturn:this.yospaceOnEarlyAdBreakExit,onAdvertStart:this.yospaceOnAdvertStartObserver,onAdvertEnd:this.yospaceOnAdvertEndObserver,onAnalyticUpdate:this.yospaceOnAnalyticUpdateObserver,onTrackingEvent:this.yospaceOnTrackingEventObserver,onSessionError:this.yospaceOnSessionError};return t.addAnalyticObserver(r),void 0!==e.assetType&&(this.reporter=new si(this.player,t,e.assetType)),this.tubConfiguration.openMeasurement.enabled&&(this.omReporter=new Oe(this.player,t,this.tubConfiguration.openMeasurement.partnerName,this.tubConfiguration.openMeasurement.partnerVersion),t.addAnalyticObserver(this.omReporter)),Object.assign(Object.assign({},e),{companionAdConfiguration:void 0})}},{key:"handleYoSpaceSessionCreation",value:function(e,t){y.Y.debug("[handleYoSpaceSessionCreation] session:",t),this.session=t;var n=this.session.getSessionState(),r=Object.keys(u.sM).find((function(e){return u.sM[e]===n}));switch(y.Y.debug("[handleYoSpaceSessionCreation] sessionState: ".concat(n," (").concat(r,")")),n){case u.sM.INITIALISED:return Promise.resolve(t);case u.sM.NO_ANALYTICS:return e.hls=this.session.getPlaybackUrl(),y.Y.debug("[handleYoSpaceSessionCreation] fallback: ".concat(e.hls)),Promise.reject(t);case u.sM.NONE:case u.sM.FAILED:case u.sM.SHUTDOWN:default:return Promise.reject(t)}}},{key:"comScoreUserConsentGranted",value:function(){this.comscoreReporter.comScoreUserConsentGranted()}},{key:"comScoreUserConsentDenied",value:function(){this.comscoreReporter.comScoreUserConsentDenied()}},{key:"comScoreSetLabel",value:function(e,t){this.comscoreReporter.comScoreSetLabel(e,t)}},{key:"comScoreSetLabels",value:function(e){this.comscoreReporter.comScoreSetLabels(e)}},{key:"updateCompanionConfig",value:function(e){this.companionRenderer.updateConfiguration(e)}},{key:"omReportViewModeChange",value:function(e){var t;null===(t=this.omReporter)||void 0===t||t.handleViewModeChange(e)}},{key:"getFirstAbsoluteTime",value:function(e){return null===this._storedAbsStartTime&&(this._storedAbsStartTime=this.findAbsoluteStartTime(e)),this._storedAbsStartTime||0}},{key:"findAbsoluteStartTime",value:function(e){return tr.isSafari()||tr.isSafariIOS()?this.getSafariAbsoluteStartTime(e):this.isLive()?this.player.getSeekableRange().start:0}},{key:"getSafariAbsoluteStartTime",value:function(e){var t;if((null===(t=this.session)||void 0===t?void 0:t.getPlaybackMode())===u.su.VOD||!this.session&&!this.isLive()&&this.player.getCurrentTime()>1e-6)return 0;var n=(Date.now()-2592e6)/1e3,r=this.player.getSeekableRange();return r.start>n?r.start:void 0!==(null==e?void 0:e.start)?e.start<n?0:(y.Y.debug("[TUB getSafariAbsoluteStartTime] Using fallback start time, which is the start time of the first MetadataParsed event, rounded:",Math.round(e.start)),Math.round(e.start)):(this.throttledGetSafariAbsoluteStartTimeLog(),null)}},{key:"onSourceLoaded",value:function(){var e;this.firstAnalyticsUpdate=!0,this.session instanceof u.ko&&((null===(e=this.ads)||void 0===e?void 0:e.list().some((function(e){return"preroll"===e.position})))||this.checkForBlocking(this.getSessionErrorMessage(u.Pn.TRACKING_ERROR)))}},{key:"onReady",value:function(e){this.readyHasFired||(this.readyHasFired=!0,this.fireEvent(e))}},{key:"_parseCueTime",value:function(e,t){var n,r,i=this,o=function(e){if(isFinite(e)){var t=i.rebaseRelativeTimeIfInAd(e,!0);return t>0?t:e}return null},a=null!==(n=o(e))&&void 0!==n?n:0;return{parsedStart:a,parsedEnd:null!==(r=o(t))&&void 0!==r?r:a+1}}},{key:"registerPlayerEvents",value:function(){this.player.on(s.PlayerEvent.SourceLoaded,this.onSourceLoaded.bind(this)),this.player.on(s.PlayerEvent.Ready,this.onReady.bind(this)),this.player.on(s.PlayerEvent.Play,this.onPlaybackEvent),this.player.on(s.PlayerEvent.Playing,this.onPlaybackEvent),this.player.on(s.PlayerEvent.Paused,this.onPlaybackEvent),this.player.on(s.PlayerEvent.Seek,this.onSeekEvent),this.player.on(s.PlayerEvent.Seeked,this.onSeekedEvent),this.player.on(s.PlayerEvent.PlaybackFinished,this.onPlaybackEvent),this.player.on(s.PlayerEvent.TimeChanged,this.onTimeChangedEvent),this.player.on(s.PlayerEvent.AudioChanged,this.onAudioChangedEvent),this.player.on(s.PlayerEvent.AirplayChanged,this.onAirplayChangedEvent),this.player.on(s.PlayerEvent.AudioAdded,this.onAudioTrackEvent),this.player.on(s.PlayerEvent.AudioRemoved,this.onAudioTrackEvent),this.player.on(s.PlayerEvent.Metadata,this.onMetadataEvent),this.player.on(s.PlayerEvent.MetadataParsed,this.onMetadataParsed),this.player.on(s.PlayerEvent.CastWaitingForDevice,this.onCastWaitingForDeviceEvent),this.player.on(s.PlayerEvent.CueEnter,this.onCueEvent),this.player.on(s.PlayerEvent.CueExit,this.onCueEvent),this.player.on(s.PlayerEvent.CueUpdate,this.onCueEvent),this.player.on(s.PlayerEvent.CueParsed,this.onCueParsedEvent),this.player.on(s.PlayerEvent.Error,this.onBitmovinError)}},{key:"off",value:function(e,t){this.isPlayerEvent(e)&&!this.adaptedEvents.includes(e)?this.player.off(e,t):_.remove(this.tubHandlers[e],t)}},{key:"on",value:function(e,t){this.isPlayerEvent(e)&&!this.adaptedEvents.includes(e)?this.player.on(e,t):(this.tubHandlers[e]||(this.tubHandlers[e]=[]),this.tubHandlers[e].push(t))}},{key:"isPlayerEvent",value:function(e){return this._playerEventListCache=this._playerEventListCache||Object.values(s.PlayerEvent),this._playerEventListCache.includes(e)}},{key:"analyticSuppression",value:function(e){var t;y.Y.debug("[TUB analyticSuppression] Applying analyticSuppression=".concat(e," (YoSpace and Comscore)")),null===(t=this.session)||void 0===t||t.suppressAnalytics(e),this.comscoreReporter.suppressAdAnalytics(e)}},{key:"nextAdBreak",value:function(){var e,t=this,n=null===(e=this.ads)||void 0===e?void 0:e.list().filter((function(e){return e.scheduleTime-t.getCurrentTime()>0}));return(null==n?void 0:n.length)?n[0]:void 0}},{key:"previousAdBreak",value:function(){var e,t=this,n=null===(e=this.ads)||void 0===e?void 0:e.list().filter((function(e){return e.scheduleTime-t.getCurrentTime()<0}));return(null==n?void 0:n.length)?n[n.length-1]:void 0}},{key:"resetState",value:function(){var e,t;this._adTimeBase=null,this._mediaTimeBase=null,this.session&&(this.session.shutdown(),this.session=void 0),this.yospaceAdvertisingApi=new er,this.companionRenderer.resetState(),null===(e=this.reporter)||void 0===e||e.destroy(),null===(t=this.omReporter)||void 0===t||t.shutdown(),this.omReporter=void 0,this._storedAbsStartTime=null,this.masterManifestCache={},this.readyHasFired=!1}},{key:"unload",value:function(){return this.resetState(),this.player.unload()}},{key:"destroy",value:function(){return this.resetState(),this.player.destroy()}},{key:"load",value:function(e,t,n){var r,i,o=this;this.resetState(),(tr.isSafari()||tr.isSafariIOS())&&this._addSafariLoadObserver();var a=function(e){return Kr(e,5)}(e);if(!1!==(null===(r=e.brightline)||void 0===r?void 0:r.enabled)&&void 0===this.brightlineManager)try{this.brightlineManager=new oi(this)}catch(e){y.Y.warn("[Tub setup] Failed to initialize BrightLine:",e.message)}if(this.drmKeyDataHelper.setup(a),a.companionAdConfiguration&&this.companionRenderer.updateConfiguration(a.companionAdConfiguration),this.comscoreReporter.load(a),"number"==typeof a.assetType&&a.hls){var s={"yo.av":"3"};a.assetType===u.su.LIVE&&(y.Y.warn("Tub - PlaybackMode.LIVE is no longer supported. Automatically switching to PlaybackMode.DVRLive"),a.assetType=u.su.DVRLIVE),a.assetType===u.su.DVRLIVE&&(s["yo.pdt"]="sync",s["yo.lpa"]="dur",(tr.isSafari()||tr.isSafariIOS())&&(s["yo.pst"]="true")),this.tubConfiguration.debug&&(s["yo.ad"]=String(this.tubConfiguration.debug)),a.hls=ur.appendQueryParametersToUrl(a.hls,s),y.Y.debug("Tub - playing back url ".concat(a.hls));var c,l=new u.NV;switch(l.setRequestTimeout(15e3),a.assetType){case u.su.VOD:c=u.ko;break;case u.su.DVRLIVE:c=u.KW;break;default:return this.handleYoSpaceSessionCreationFailure(new Error("Cannot initialize YoSpace with unknown PlaybackMode: ".concat(a.assetType)),a).then()}return c.create(a.hls,l).then((function(e){return o.handleYoSpaceSessionCreation(a,e)})).then((function(e){return o.yospaceSessionInitialized(a,e)})).catch((function(e){return o.handleYoSpaceSessionCreationFailure(e,a)})).then((function(e){return o.player.load(e,t,n)}))}(null===(i=a.metadata)||void 0===i?void 0:i.profile)&&this.checkForBlocking("a profile was configured but ads were disabled"),a.hls||y.Y.debug("No 'hls' provided - Fallback to Bitmovin player - [".concat(a.hls,"]")),a.progressive&&y.Y.debug("Progressive content provided - Fallback to Bitmovin player - [".concat(a.progressive,"]"));var d=Object.assign(Object.assign({},a),{companionAdConfiguration:void 0});return this.player.load(d,t,n)}},{key:"_addSafariLoadObserver",value:function(){var e=this;this.player.on(s.PlayerEvent.Ready,(function t(){e.player.isLive()&&e.player.seek(e.player.getSeekableRange().end),e.player.off(s.PlayerEvent.Ready,t)}))}},{key:"getInitErrorMessage",value:function(e){var t=l.CONNECTION_ERROR,n=l.CONNECTION_TIMEOUT,r=l.MALFORMED_URL,i=l.NO_DVRLIVE,o=l.UNKNOWN_FORMAT,a=l.FALLBACK_URL;switch(e){case t:return"failed to establish an HTTP connection";case n:return"failed to complete connection or read the HTTP response before a timeout occurred";case r:return"the request URL is malformed";case i:return"the stream is not configured for DVRLive playback; DVRLive";case o:return"the manifest is corrupt or of an unknown format";case a:return"the host provided a fallback URL instead of a manifest";default:return"Unknown"}}},{key:"isOk",value:function(e){return Ti(this,void 0,void 0,Ei().mark((function t(){return Ei().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e,{cache:"no-cache"});case 3:return t.abrupt("return",!0);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",!1);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})))}},{key:"isBlocked",value:function(e){return Ti(this,void 0,void 0,Ei().mark((function t(){var n,r,i;return Ei().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=window.navigator.onLine,t.next=3,this.isOk(e);case 3:return r=t.sent,i=!r,t.abrupt("return",n&&i);case 6:case"end":return t.stop()}}),t,this)})))}},{key:"checkForBlocking",value:function(e){return Ti(this,void 0,void 0,Ei().mark((function t(){return Ei().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.isBlocked("https://bea4.v.fwmrm.net/ad/l/1");case 3:t.sent&&this.fireEvent(ai.createAdBlocked("An ad blocker may be enabled... ".concat(e)));case 5:case"end":return t.stop()}}),t,this)})))}},{key:"handleYoSpaceSessionCreationFailure",value:function(e,t){return Ti(this,void 0,void 0,Ei().mark((function n(){var r,i,o,a,d=this;return Ei().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:y.Y.debug("[handleYoSpaceSessionCreationFailure] obj:",e),r=function(e){var t=ai.createYospaceUnknownError(e.message);return d.fireEvent(t),Promise.reject(t)},i=function(e){return r(new Error("Unknown error: ".concat(De()(e))))},o=function(e){return a(e.getResultCode())},a=function(e){var n,r,i;if(i=e,Object.values(l).includes(i)){switch(r=d.getInitErrorMessage(e),e){case l.UNKNOWN_FORMAT:case l.CONNECTION_ERROR:d.checkForBlocking(r);break;case l.FALLBACK_URL:return y.Y.debug("[handleYoSpaceSessionCreationFailure] ".concat(r,': "').concat(t.hls,'"')),d.fireEvent(ai.createYospaceInitError(e,r)),t.suppressAnalytics&&d.analyticSuppression(t.suppressAnalytics),Object.assign(Object.assign({},t),{companionAdConfiguration:void 0});default:y.Y.debug("[handleYoSpaceSessionCreationFailure] unhandled error code: ".concat(e))}d.fireEvent(ai.createYospaceInitError(e,r))}else!function(e){return Object.values(c).includes(e)}(e)?(r="received an unexpected result code: ".concat(e),y.Y.debug("[handleYoSpaceSessionCreationFailure] ".concat(r)),d.fireEvent(ai.createYospaceUnknownError(r))):(r=d.getSessionErrorMessage(e),e===c.TIMEOUT?d.checkForBlocking(r):y.Y.debug("[handleYoSpaceSessionCreationFailure] unhandled error code: ".concat(e)),d.fireEvent(ai.createYospaceSessionError(e,r,d.session)));null===(n=d.session)||void 0===n||n.shutdown(),d.session=void 0;var o={type:s.PlayerEvent.Error,timestamp:Date.now(),code:s.ErrorCode.UNKNOWN,name:"Failed to initialize YoSpace",message:r,troubleShootLink:""};return d.fireEvent(o),Promise.reject(o)},n.t0=!0,n.next=n.t0===e instanceof u.z_?8:n.t0===("number"==typeof e)?9:n.t0===e instanceof Error?10:11;break;case 8:return n.abrupt("return",o(e));case 9:return n.abrupt("return",a(e));case 10:return n.abrupt("return",r(e));case 11:return n.abrupt("return",i(e));case 12:case"end":return n.stop()}}),n)})))}},{key:"seek",value:function(e,t){var n;if(null===(n=this.ads)||void 0===n?void 0:n.getActiveAd())return!1;var r=e;return this.session&&(r=this.session.willSeekTo(e)),this.isLive()&&(r+=this.getFirstAbsoluteTime()),this.player.seek(r,t)}},{key:"preprocessHttpRequest",value:function(e,t,n){var r=this,i=n.refreshDrmToken;if(i&&this.drmKeyDataHelper.isSupportedType(e)&&this.drmKeyDataHelper.isKeyBuffer(e,t.body)){var o=this.drmKeyDataHelper.getKeyData(e,t);if(o)return i(o).then((function(n){return r.drmKeyDataHelper.updateHttpRequest(e,t,n,o.companyId)})).catch((function(e){return y.Y.error("[Tub] refreshDrmToken promise rejected:",e),Promise.resolve(t)}))}return Promise.resolve(t)}},{key:"preprocessHttpResponse",value:function(e,t){if(e===s.HttpRequestType.MANIFEST_HLS_MASTER){y.Y.log("Master manifest response - "+De()(t));var n=this.masterManifestCache[t.url];return this.masterManifestCache[t.url]?(y.Y.log("Returning cached master manifest response - "+De()(t)),Promise.resolve(n)):(this.masterManifestCache[t.url]=t,Promise.resolve(t))}if(this.tubConfiguration.removeAudioPlaylistMetadataTags&&e===s.HttpRequestType.MANIFEST_HLS_VARIANT){var r=tr.getAudioUris(this.masterManifestCache),i=t.body;return r.some((function(e){return t.url.includes(e)}))&&(i=tr.stripMetadataTags(i),t.body=i),Promise.resolve(t)}return Promise.resolve(t)}},{key:"getSeekableRange",value:function(){var e=Object.assign({},this.player.getSeekableRange());return e.start=e.start-this.getFirstAbsoluteTime(),e.end=e.end-this.getFirstAbsoluteTime(),e}},{key:"rebaseRelativeTimeIfInAd",value:function(e){return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e-=this.getFirstAbsoluteTime()),null!==this._adTimeBase&&(e-=this._adTimeBase),e}},{key:"getCurrentTime",value:function(){var e=this.player.getCurrentTime(s.TimeMode.RelativeTime);return Number.isNaN(e)?0:this.rebaseRelativeTimeIfInAd(e,!1)}},{key:"getAbsoluteTime",value:function(){return this.player.getCurrentTime(s.TimeMode.AbsoluteTime)}},{key:"getRelativeTime",value:function(){return this.player.getCurrentTime(s.TimeMode.RelativeTime)}},{key:"getCurrentTimeBase",value:function(){return this._adTimeBase||null}},{key:"fireEvent",value:function(e){var t,n=this.tubHandlers[e.type];n&&(t=n,function(e){if(Array.isArray(e))return Si(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Si(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Si(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).forEach((function(t){return t(e)}))}},{key:"buffer",get:function(){return this.player.buffer}},{key:"manifest",get:function(){return this.player.manifest}},{key:"lowlatency",get:function(){return this.player.lowlatency}},{key:"ads",get:function(){return this.yospaceAdvertisingApi}},{key:"vr",get:function(){return this.player.vr}},{key:"subtitles",get:function(){return this.player.subtitles}},{key:"drm",get:function(){return this.player.drm}},{key:"adaptation",get:function(){return this.player.adaptation}},{key:"exports",get:function(){return this.player.exports}},{key:"addMetadata",value:function(e,t){return this.player.addMetadata(e,t)}},{key:"castStop",value:function(){this.player.castStop()}},{key:"castVideo",value:function(){this.player.castVideo()}},{key:"clearQueryParameters",value:function(){this.player.clearQueryParameters()}},{key:"getAudio",value:function(){return this.player.getAudio()}},{key:"getAudioBufferLength",value:function(){return this.player.getAudioBufferLength()}},{key:"getAudioQuality",value:function(){return this.player.getAudioQuality()}},{key:"getAvailableAudio",value:function(){return this.player.getAvailableAudio()}},{key:"getAvailableAudioQualities",value:function(){return this.player.getAvailableAudioQualities()}},{key:"getAvailableVideoQualities",value:function(){return this.player.getAvailableVideoQualities()}},{key:"getConfig",value:function(e){return this.player.getConfig(e)}},{key:"getContainer",value:function(){return this.player.getContainer()}},{key:"getDownloadedAudioData",value:function(){return this.player.getDownloadedAudioData()}},{key:"getDownloadedVideoData",value:function(){return this.player.getDownloadedVideoData()}},{key:"getDroppedVideoFrames",value:function(){return this.player.getDroppedVideoFrames()}},{key:"getDuration",value:function(){return this.player.getDuration()}},{key:"getMediaDuration",value:function(){var e,t=null===(e=this.ads)||void 0===e?void 0:e.list(),n=0;return t&&(n=t.reduce((function(e,t){return e+t.duration}),0)),this.player.getDuration()-n}},{key:"getManifest",value:function(){return this.player.getManifest()}},{key:"getMaxTimeShift",value:function(){return this.player.getMaxTimeShift()}},{key:"getPlaybackAudioData",value:function(){return this.player.getPlaybackAudioData()}},{key:"getPlaybackSpeed",value:function(){return this.player.getPlaybackSpeed()}},{key:"getPlaybackVideoData",value:function(){return this.player.getPlaybackVideoData()}},{key:"getPlayerType",value:function(){return this.player.getPlayerType()}},{key:"getSnapshot",value:function(e,t){return this.player.getSnapshot(e,t)}},{key:"getStreamType",value:function(){return this.player.getStreamType()}},{key:"getSupportedDRM",value:function(){return this.player.getSupportedDRM()}},{key:"getSupportedTech",value:function(e){return this.player.getSupportedTech(e)}},{key:"getThumbnail",value:function(e){return this.player.getThumbnail(e)}},{key:"getTimeShift",value:function(){return this.player.getTimeShift()}},{key:"getTotalStalledTime",value:function(){return this.player.getTotalStalledTime()}},{key:"getVideoBufferLength",value:function(){return this.player.getVideoBufferLength()}},{key:"getVideoQuality",value:function(){return this.player.getVideoQuality()}},{key:"getVolume",value:function(){return this.player.getVolume()}},{key:"hasEnded",value:function(){return this.player.hasEnded()}},{key:"isCastAvailable",value:function(){return this.player.isCastAvailable()}},{key:"isCasting",value:function(){return this.player.isCasting()}},{key:"isDRMSupported",value:function(e){return this.player.isDRMSupported(e)}},{key:"isLive",value:function(){return this.player.isLive()}},{key:"isMuted",value:function(){return this.player.isMuted()}},{key:"isPaused",value:function(){return this.player.isPaused()}},{key:"isPlaying",value:function(){return this.player.isPlaying()}},{key:"isStalled",value:function(){return this.player.isStalled()}},{key:"mute",value:function(e){return this.player.mute(e)}},{key:"pause",value:function(e){return this.player.pause(e)}},{key:"play",value:function(e){var t=this,n=this.player.getSeekableRange();return this.isLive()&&this.player.getCurrentTime()<n.start?(y.Y.warn("[Tub] DVR window exceeded, attempting seek to current live point ".concat(n.end)),new Promise((function(e,r){t.player.on(s.PlayerEvent.Seeked,(function n(){t.player.off(s.PlayerEvent.Seeked,n),e()})),t.seek(n.end)})).then((function(){return t.player.play(e)})).catch((function(){y.Y.error("[Tub] Could not seek to live edge. Attempting to play."),t.player.play(e)}))):this.player.play(e)}},{key:"setAudio",value:function(e){return this.player.setAudio(e)}},{key:"setAudioQuality",value:function(e){return this.player.setAudioQuality(e)}},{key:"setAuthentication",value:function(e){return this.player.setAuthentication(e)}},{key:"setPlaybackSpeed",value:function(e){var t;this._configContentPlaybackSpeed=e,(null===(t=this.session)||void 0===t?void 0:t.getCurrentAdBreak())||this.player.setPlaybackSpeed(e)}},{key:"setPosterImage",value:function(e,t){return this.player.setPosterImage(e,t)}},{key:"setQueryParameters",value:function(e){return this.player.setQueryParameters(e)}},{key:"setVideoElement",value:function(e){return this.player.setVideoElement(e)}},{key:"setVideoQuality",value:function(e){return this.player.setVideoQuality(e)}},{key:"setVolume",value:function(e,t){return this.player.setVolume(e,t)}},{key:"timeShift",value:function(e,t){return this.player.timeShift(e,t)}},{key:"unmute",value:function(e){return this.player.unmute(e)}},{key:"isAirplayAvailable",value:function(){return this.player.isAirplayAvailable()}},{key:"isAirplayActive",value:function(){return this.player.isAirplayActive()}},{key:"showAirplayTargetPicker",value:function(){return this.player.showAirplayTargetPicker()}},{key:"getBufferedRanges",value:function(){return this.player.getBufferedRanges()}},{key:"getAvailableSegments",value:function(){return this.player.getAvailableSegments()}},{key:"preload",value:function(){return this.player.preload()}},{key:"setLogLevel",value:function(e){return this.player.setLogLevel(e)}},{key:"getVideoElement",value:function(){return this.player.getVideoElement()}},{key:"isViewModeAvailable",value:function(e){return this.player.isViewModeAvailable(e)}},{key:"setViewMode",value:function(e,t){return this.player.setViewMode(e,t)}},{key:"getViewMode",value:function(){return this.player.getViewMode()}},{key:"getSource",value:function(){return this.player.getSource()}},{key:"getAspectRatio",value:function(){return this.player.getAspectRatio()}},{key:"setAspectRatio",value:function(e){return this.player.setAspectRatio(e)}},{key:"getActiveAdvertCompanions",value:function(){var e,t=null===(e=this.session)||void 0===e?void 0:e.getCurrentAdvert();return t?qn.U.makeYospaceCompanions(t):[]}}],r=[{key:"startComScore",value:function(e){Wn.startComScore(e)}},{key:"comScoreEnterForeground",value:function(){Wn.comScoreEnterForeground()}},{key:"comScoreExitForeground",value:function(){Wn.comScoreExitForeground()}}],n&&$i(t.prototype,n),r&&$i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Ci={tub:"0.297.1",bitmovin:"8.179.0",yospace:"3.6.4",comscore:"7.7.0+211006",openMeasurement:"1.3.37-iab3566",brightline:"2.1.2"}})(),__nested_webpack_exports__})()},module.exports=t()},71696:(e,t,n)=>{"use strict";var r=n(34406),i=n(23716);function o(e){return o="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},o(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===o(i)?i:String(i)),r)}var i}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u,c,l=n(47515).codes,d=l.ERR_AMBIGUOUS_ARGUMENT,_=l.ERR_INVALID_ARG_TYPE,f=l.ERR_INVALID_ARG_VALUE,h=l.ERR_INVALID_RETURN_VALUE,p=l.ERR_MISSING_ARGS,g=n(64082),v=n(43335).inspect,m=n(43335).types,y=m.isPromise,b=m.isRegExp,S=n(53347)(),E=n(68070)(),$=n(62680)("RegExp.prototype.test");function T(){var e=n(26796);u=e.isDeepEqual,c=e.isDeepStrictEqual}new Map;var A=!1,C=e.exports=M,P={};function I(e){if(e.message instanceof Error)throw e.message;throw new g(e)}function w(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new g({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];w.apply(void 0,[M,t.length].concat(t))}C.fail=function e(t,n,o,a,s){var u,c=arguments.length;if(0===c?u="Failed":1===c?(o=t,t=void 0):(!1===A&&(A=!0,(r.emitWarning?r.emitWarning:i.warn.bind(i))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===c&&(a="!=")),o instanceof Error)throw o;var l={actual:t,expected:n,operator:void 0===a?"fail":a,stackStartFn:s||e};void 0!==o&&(l.message=o);var d=new g(l);throw u&&(d.message=u,d.generatedMessage=!0),d},C.AssertionError=g,C.ok=M,C.equal=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");t!=n&&I({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},C.notEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");t==n&&I({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},C.deepEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");void 0===u&&T(),u(t,n)||I({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},C.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");void 0===u&&T(),u(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},C.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");void 0===u&&T(),c(t,n)||I({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},C.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");void 0===u&&T(),c(t,n)&&I({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},C.strictEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");E(t,n)||I({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},C.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new p("actual","expected");E(t,n)&&I({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var k=s((function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&b(t[e])&&$(t[e],r[e])?i[e]=r[e]:i[e]=t[e])}))}));function O(e,t,n,r){if("function"!=typeof t){if(b(t))return $(t,e);if(2===arguments.length)throw new _("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var i=new g({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:r});throw i.operator=r.name,i}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new f("error",t,"may not be an empty object");return void 0===u&&T(),a.forEach((function(i){"string"==typeof e[i]&&b(t[i])&&$(t[i],e[i])||function(e,t,n,r,i,o){if(!(n in e)||!c(e[n],t[n])){if(!r){var a=new k(e,i),s=new k(t,i,e),u=new g({actual:a,expected:s,operator:"deepStrictEqual",stackStartFn:o});throw u.actual=e,u.expected=t,u.operator=o.name,u}I({actual:e,expected:t,message:r,operator:o.name,stackStartFn:o})}}(e,t,i,n,a,r)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function R(e){if("function"!=typeof e)throw new _("fn","Function",e);try{e()}catch(e){return e}return P}function D(e){return y(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function L(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!D(t=e()))throw new h("instance of Promise","promiseFn",t)}else{if(!D(e))throw new _("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return P})).catch((function(e){return e}))}))}function x(e,t,n,r){if("string"==typeof n){if(4===arguments.length)throw new _("error",["Object","Error","Function","RegExp"],n);if("object"===o(t)&&null!==t){if(t.message===n)throw new d("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new d("error/message",'The error "'.concat(t,'" is identical to the message.'));r=n,n=void 0}else if(null!=n&&"object"!==o(n)&&"function"!=typeof n)throw new _("error",["Object","Error","Function","RegExp"],n);if(t===P){var i="";n&&n.name&&(i+=" (".concat(n.name,")")),i+=r?": ".concat(r):".";var a="rejects"===e.name?"rejection":"exception";I({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(a).concat(i),stackStartFn:e})}if(n&&!O(t,n,r,e))throw t}function N(e,t,n,r){if(t!==P){if("string"==typeof n&&(r=n,n=void 0),!n||O(t,n)){var i=r?": ".concat(r):".",o="doesNotReject"===e.name?"rejection":"exception";I({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function U(e,t,n,r,i){if(!b(t))throw new _("regexp","RegExp",t);var a="match"===i;if("string"!=typeof e||$(t,e)!==a){if(n instanceof Error)throw n;var s=!n;n=n||("string"!=typeof e?'The "string" argument must be of type string. Received type '+"".concat(o(e)," (").concat(v(e),")"):(a?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(v(t),". Input:\n\n").concat(v(e),"\n"));var u=new g({actual:e,expected:t,message:n,operator:i,stackStartFn:r});throw u.generatedMessage=s,u}}function B(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];w.apply(void 0,[B,t.length].concat(t))}C.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];x.apply(void 0,[e,R(t)].concat(r))},C.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return L(t).then((function(t){return x.apply(void 0,[e,t].concat(r))}))},C.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];N.apply(void 0,[e,R(t)].concat(r))},C.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return L(t).then((function(t){return N.apply(void 0,[e,t].concat(r))}))},C.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=v(t);var r=new g({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),i=t.stack;if("string"==typeof i){var a=i.split("\n");a.shift();for(var s=r.stack.split("\n"),u=0;u<a.length;u++){var c=s.indexOf(a[u]);if(-1!==c){s=s.slice(0,c);break}}r.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw r}},C.match=function e(t,n,r){U(t,n,r,e,"match")},C.doesNotMatch=function e(t,n,r){U(t,n,r,e,"doesNotMatch")},C.strict=S(B,C,{equal:C.strictEqual,deepEqual:C.deepStrictEqual,notEqual:C.notStrictEqual,notDeepEqual:C.notDeepStrictEqual}),C.strict.strict=C.strict},64082:(e,t,n)=>{"use strict";var r=n(34406);function i(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,i,o;r=e,i=t,o=n[t],(i=s(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}function u(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,e)},l(e)}function d(e,t,n){return d=_()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&f(i,n.prototype),i},d.apply(null,arguments)}function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e){return p="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},p(e)}var g=n(43335).inspect,v=n(47515).codes.ERR_INVALID_ARG_TYPE;function m(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var y="",b="",S="",E="",$={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function T(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function A(e){return g(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var C=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(C,e);var n,i,s,l,d=(n=C,i=_(),function(){var e,t=h(n);if(i){var r=h(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function C(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,C),"object"!==p(e)||null===e)throw new v("options","Object",e);var n=e.message,i=e.operator,o=e.stackStartFn,a=e.actual,s=e.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=d.call(this,String(n));else if(r.stderr&&r.stderr.isTTY&&(r.stderr&&r.stderr.getColorDepth&&1!==r.stderr.getColorDepth()?(y="[34m",b="[32m",E="[39m",S="[31m"):(y="",b="",E="",S="")),"object"===p(a)&&null!==a&&"object"===p(s)&&null!==s&&"stack"in a&&a instanceof Error&&"stack"in s&&s instanceof Error&&(a=T(a),s=T(s)),"deepStrictEqual"===i||"strictEqual"===i)t=d.call(this,function(e,t,n){var i="",o="",a=0,s="",u=!1,c=A(e),l=c.split("\n"),d=A(t).split("\n"),_=0,f="";if("strictEqual"===n&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===l.length&&1===d.length&&l[0]!==d[0]){var h=l[0].length+d[0].length;if(h<=10){if(!("object"===p(e)&&null!==e||"object"===p(t)&&null!==t||0===e&&0===t))return"".concat($[n],"\n\n")+"".concat(l[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n&&h<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;l[0][_]===d[0][_];)_++;_>2&&(f="\n  ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",_),"^"),_=0)}}for(var g=l[l.length-1],v=d[d.length-1];g===v&&(_++<2?s="\n  ".concat(g).concat(s):i=g,l.pop(),d.pop(),0!==l.length&&0!==d.length);)g=l[l.length-1],v=d[d.length-1];var T=Math.max(l.length,d.length);if(0===T){var C=c.split("\n");if(C.length>30)for(C[26]="".concat(y,"...").concat(E);C.length>27;)C.pop();return"".concat($.notIdentical,"\n\n").concat(C.join("\n"),"\n")}_>3&&(s="\n".concat(y,"...").concat(E).concat(s),u=!0),""!==i&&(s="\n  ".concat(i).concat(s),i="");var P=0,I=$[n]+"\n".concat(b,"+ actual").concat(E," ").concat(S,"- expected").concat(E),w=" ".concat(y,"...").concat(E," Lines skipped");for(_=0;_<T;_++){var M=_-a;if(l.length<_+1)M>1&&_>2&&(M>4?(o+="\n".concat(y,"...").concat(E),u=!0):M>3&&(o+="\n  ".concat(d[_-2]),P++),o+="\n  ".concat(d[_-1]),P++),a=_,i+="\n".concat(S,"-").concat(E," ").concat(d[_]),P++;else if(d.length<_+1)M>1&&_>2&&(M>4?(o+="\n".concat(y,"...").concat(E),u=!0):M>3&&(o+="\n  ".concat(l[_-2]),P++),o+="\n  ".concat(l[_-1]),P++),a=_,o+="\n".concat(b,"+").concat(E," ").concat(l[_]),P++;else{var k=d[_],O=l[_],R=O!==k&&(!m(O,",")||O.slice(0,-1)!==k);R&&m(k,",")&&k.slice(0,-1)===O&&(R=!1,O+=","),R?(M>1&&_>2&&(M>4?(o+="\n".concat(y,"...").concat(E),u=!0):M>3&&(o+="\n  ".concat(l[_-2]),P++),o+="\n  ".concat(l[_-1]),P++),a=_,o+="\n".concat(b,"+").concat(E," ").concat(O),i+="\n".concat(S,"-").concat(E," ").concat(k),P+=2):(o+=i,i="",1!==M&&0!==_||(o+="\n  ".concat(O),P++))}if(P>20&&_<T-2)return"".concat(I).concat(w,"\n").concat(o,"\n").concat(y,"...").concat(E).concat(i,"\n")+"".concat(y,"...").concat(E)}return"".concat(I).concat(u?w:"","\n").concat(o).concat(i).concat(s).concat(f)}(a,s,i));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var _=$[i],f=A(a).split("\n");if("notStrictEqual"===i&&"object"===p(a)&&null!==a&&(_=$.notStrictEqualObject),f.length>30)for(f[26]="".concat(y,"...").concat(E);f.length>27;)f.pop();t=1===f.length?d.call(this,"".concat(_," ").concat(f[0])):d.call(this,"".concat(_,"\n\n").concat(f.join("\n"),"\n"))}else{var h=A(a),g="",P=$[i];"notDeepEqual"===i||"notEqual"===i?(h="".concat($[i],"\n\n").concat(h)).length>1024&&(h="".concat(h.slice(0,1021),"...")):(g="".concat(A(s)),h.length>512&&(h="".concat(h.slice(0,509),"...")),g.length>512&&(g="".concat(g.slice(0,509),"...")),"deepEqual"===i||"equal"===i?h="".concat(P,"\n\n").concat(h,"\n\nshould equal\n\n"):g=" ".concat(i," ").concat(g)),t=d.call(this,"".concat(h).concat(g))}return Error.stackTraceLimit=l,t.generatedMessage=!n,Object.defineProperty(c(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=a,t.expected=s,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(c(t),o),t.stack,t.name="AssertionError",u(t)}return s=C,(l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return g(this,o(o({},t),{},{customInspect:!1,depth:0}))}}])&&a(s.prototype,l),Object.defineProperty(s,"prototype",{writable:!1}),C}(l(Error),g.custom);e.exports=C},47515:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}var a,s,u={};function c(e,t,n){n||(n=Error);var a=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(l,n);var a,s,u,c=(s=l,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=o(s);if(u){var n=o(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function l(n,r,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o=c.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i)),o.code=e,o}return a=l,Object.defineProperty(a,"prototype",{writable:!1}),a}(n);u[e]=a}function l(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,s,u,c,d;if(void 0===a&&(a=n(71696)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(s="not ",t.substr(0,4)===s)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-9,n)===t}(e," argument"))u="The ".concat(e," ").concat(o," ").concat(l(t,"type"));else{var _=("number"!=typeof d&&(d=0),d+1>(c=e).length||-1===c.indexOf(".",d)?"argument":"property");u='The "'.concat(e,'" ').concat(_," ").concat(o," ").concat(l(t,"type"))}return u+". Received type ".concat(r(i))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(43335));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),c("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),c("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(71696)),a(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=u},26796:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return o="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},o(e)}var a=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},u=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(34679),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},d=Number.isNaN?Number.isNaN:n(74782);function _(e){return e.call.bind(e)}var f=_(Object.prototype.hasOwnProperty),h=_(Object.prototype.propertyIsEnumerable),p=_(Object.prototype.toString),g=n(43335).types,v=g.isAnyArrayBuffer,m=g.isArrayBufferView,y=g.isDate,b=g.isMap,S=g.isRegExp,E=g.isSet,$=g.isNativeError,T=g.isBoxedPrimitive,A=g.isNumberObject,C=g.isStringObject,P=g.isBooleanObject,I=g.isBigIntObject,w=g.isSymbolObject,M=g.isFloat32Array,k=g.isFloat64Array;function O(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function R(e){return Object.keys(e).filter(O).concat(l(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function D(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}var L=0,x=1,N=2,U=3;function B(e,t,n,r){if(e===t)return 0!==e||!n||c(e,t);if(n){if("object"!==o(e))return"number"==typeof e&&d(e)&&d(t);if("object"!==o(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==o(e))return(null===t||"object"!==o(t))&&e==t;if(null===t||"object"!==o(t))return!1}var i,s,u,l,_=p(e);if(_!==p(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var f=R(e),h=R(t);return f.length===h.length&&j(e,t,n,r,x,f)}if("[object Object]"===_&&(!b(e)&&b(t)||!E(e)&&E(t)))return!1;if(y(e)){if(!y(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(S(e)){if(!S(t)||(u=e,l=t,!(a?u.source===l.source&&u.flags===l.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(l))))return!1}else if($(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(m(e)){if(n||!M(e)&&!k(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===D(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var g=R(e),O=R(t);return g.length===O.length&&j(e,t,n,r,L,g)}if(E(e))return!(!E(t)||e.size!==t.size)&&j(e,t,n,r,N);if(b(e))return!(!b(t)||e.size!==t.size)&&j(e,t,n,r,U);if(v(e)){if(s=t,(i=e).byteLength!==s.byteLength||0!==D(new Uint8Array(i),new Uint8Array(s)))return!1}else if(T(e)&&!function(e,t){return A(e)?A(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):C(e)?C(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):P(e)?P(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):I(e)?I(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):w(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return j(e,t,n,r,L)}function F(e,t){return t.filter((function(t){return h(e,t)}))}function j(e,t,n,i,a,c){if(5===arguments.length){c=Object.keys(e);var d=Object.keys(t);if(c.length!==d.length)return!1}for(var _=0;_<c.length;_++)if(!f(t,c[_]))return!1;if(n&&5===arguments.length){var p=l(e);if(0!==p.length){var g=0;for(_=0;_<p.length;_++){var v=p[_];if(h(e,v)){if(!h(t,v))return!1;c.push(v),g++}else if(h(t,v))return!1}var m=l(t);if(p.length!==m.length&&F(t,m).length!==g)return!1}else{var y=l(t);if(0!==y.length&&0!==F(t,y).length)return!1}}if(0===c.length&&(a===L||a===x&&0===e.length||0===e.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var b=i.val1.get(e);if(void 0!==b){var S=i.val2.get(t);if(void 0!==S)return b===S}i.position++}i.val1.set(e,i.position),i.val2.set(t,i.position);var E=function(e,t,n,i,a,c){var l=0;if(c===N){if(!function(e,t,n,r){for(var i=null,a=s(e),u=0;u<a.length;u++){var c=a[u];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!t.has(c)){if(n)return!1;if(!W(e,t,c))return!1;null===i&&(i=new Set),i.add(c)}}if(null!==i){for(var l=s(t),d=0;d<l.length;d++){var _=l[d];if("object"===o(_)&&null!==_){if(!H(i,_,n,r))return!1}else if(!n&&!e.has(_)&&!H(i,_,n,r))return!1}return 0===i.size}return!0}(e,t,n,a))return!1}else if(c===U){if(!function(e,t,n,i){for(var a=null,s=u(e),c=0;c<s.length;c++){var l=r(s[c],2),d=l[0],_=l[1];if("object"===o(d)&&null!==d)null===a&&(a=new Set),a.add(d);else{var f=t.get(d);if(void 0===f&&!t.has(d)||!B(_,f,n,i)){if(n)return!1;if(!q(e,t,d,_,i))return!1;null===a&&(a=new Set),a.add(d)}}}if(null!==a){for(var h=u(t),p=0;p<h.length;p++){var g=r(h[p],2),v=g[0],m=g[1];if("object"===o(v)&&null!==v){if(!G(a,e,v,m,n,i))return!1}else if(!(n||e.has(v)&&B(e.get(v),m,!1,i)||G(a,e,v,m,!1,i)))return!1}return 0===a.size}return!0}(e,t,n,a))return!1}else if(c===x)for(;l<e.length;l++){if(!f(e,l)){if(f(t,l))return!1;for(var d=Object.keys(e);l<d.length;l++){var _=d[l];if(!f(t,_)||!B(e[_],t[_],n,a))return!1}return d.length===Object.keys(t).length}if(!f(t,l)||!B(e[l],t[l],n,a))return!1}for(l=0;l<i.length;l++){var h=i[l];if(!B(e[h],t[h],n,a))return!1}return!0}(e,t,n,c,i,a);return i.val1.delete(e),i.val2.delete(t),E}function H(e,t,n,r){for(var i=s(e),o=0;o<i.length;o++){var a=i[o];if(B(t,a,n,r))return e.delete(a),!0}return!1}function V(e){switch(o(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(d(e))return!1}return!0}function W(e,t,n){var r=V(n);return null!=r?r:t.has(r)&&!e.has(r)}function q(e,t,n,r,i){var o=V(n);if(null!=o)return o;var a=t.get(o);return!(void 0===a&&!t.has(o)||!B(r,a,!1,i))&&!e.has(o)&&B(r,a,!1,i)}function G(e,t,n,r,i,o){for(var a=s(e),u=0;u<a.length;u++){var c=a[u];if(B(n,c,i,o)&&B(r,t.get(c),i,o))return e.delete(c),!0}return!1}e.exports={isDeepEqual:function(e,t){return B(e,t,!1)},isDeepStrictEqual:function(e,t){return B(e,t,!0)}}},85654:(e,t,n)=>{"use strict";n.d(t,{RI:()=>le,Ji:()=>de,M9:()=>_e,$x:()=>fe,e1:()=>he,Dt:()=>pe,de:()=>ge,zt:()=>ye,gB:()=>be,D:()=>Se,Jc:()=>Ee,IM:()=>$e,Vw:()=>ve,a9:()=>me,OS:()=>Te,Il:()=>Ae,Dn:()=>It,l0:()=>Ce,sG:()=>P,ct:()=>Pe,Fb:()=>S,cp:()=>p,Qg:()=>m,AR:()=>r,dN:()=>ft,TO:()=>Q,Cq:()=>ht,uV:()=>pt,tg:()=>x,JC:()=>Me,Yi:()=>we,qp:()=>vt,kS:()=>ke,x:()=>i,Wk:()=>Oe,Ky:()=>Re,xh:()=>yt,CE:()=>gt,Rg:()=>De,um:()=>Le,x4:()=>xe,QZ:()=>Ne,cA:()=>o,FO:()=>a,k8:()=>Ue,gC:()=>Be,Tf:()=>Fe,lj:()=>Y,f9:()=>K,pv:()=>se,SX:()=>je,Yk:()=>He,S_:()=>Ve,SQ:()=>We,PO:()=>qe,Dd:()=>Ge,uR:()=>mt,vA:()=>M,aD:()=>Je,GM:()=>Ye,_:()=>F,sL:()=>Ke,Zi:()=>ze,Jz:()=>Xe,fL:()=>Qe,tY:()=>it,yK:()=>rt,Nu:()=>N,Pr:()=>V,T_:()=>U,yq:()=>B,ZX:()=>z,Wu:()=>et,Dq:()=>R,$u:()=>Ze,OJ:()=>A,yB:()=>C,th:()=>tt,v8:()=>Ie,QR:()=>nt,Ew:()=>wt,Hy:()=>s,ki:()=>ot,iE:()=>at,g7:()=>st,m5:()=>bt,PH:()=>St,d7:()=>Et,Zv:()=>$t,oz:()=>Tt,_v:()=>At,FN:()=>Ct,ZJ:()=>Pt,rL:()=>ut,n_:()=>ct,e:()=>lt,u6:()=>X,wO:()=>dt,f7:()=>_t,Np:()=>u});var r,i,o,a,s,u="2.16.1-0",c=n(17306);function l(e){return l="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},l(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===l(i)?i:String(i)),r)}var i}!function(e){e.Unknown="unknown",e.Preview="preview",e.PlayReady="playready",e.MultiDRM="multidrm",e.Fairplay="fairplay",e.Primetime="primetime",e.Widevine="widevine",e.BulkAES="bulkaes",e.Unprotected="unprotected"}(r||(r={})),function(e){e.CENC="cenc",e.CBCS="cbcs",e.Unknown="unknown",e.Unencrypted="unencrypted"}(i||(i={})),function(e){e.Progressive="progressive",e.Streaming="streaming",e.Unknown="unknown"}(o||(o={})),function(e){e.MP3="mp3",e.MP4="mp4",e.M3U8="m3u8",e.Unknown="unknown"}(a||(a={})),function(e){e.Subtitle="subtitle",e.Caption="caption"}(s||(s={}));var _={url:null,playlistProtection:null,contentProtection:r.Unprotected,type:a.Unknown,encryptionMode:i.Unknown,deliveryType:o.Unknown},f={type:null,format:null,platform:null,tracks:[]},h={id:null,metadata:{},files:[],validators:{},isLive:!1,segments:[],contentMetadata:[],captions:{enabled:!0,sources:[]}},p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data=c.ObjectUtils.extendDeep({},h),this._playlistProtection=null}var t,n,r;return t=e,n=[{key:"_getExistingCaptionSource",value:function(e){var t;return null!==(t=this._data.captions.sources.find((function(t){return t.type===e.type&&t.format===e.format&&t.platform===e.platform})))&&void 0!==t?t:null}},{key:"withContentEntryData",value:function(e){return c.ObjectUtils.extendDeep(this._data,e),this}},{key:"withId",value:function(e){return this._data.id=e,this}},{key:"withMetadata",value:function(e){return this._data.metadata=e,this}},{key:"withRemoteMetadata",value:function(e){return this._data.metadata=e,this}},{key:"addFile",value:function(e){return this._data.files.push(Object.assign(Object.assign({},_),e)),this}},{key:"_handleAddingCaptionTrackToSource",value:function(e,t,n,r,i){var o=this._getExistingCaptionSource(e),a={channel:"",label:t,lang:n,url:r,kind:i};o?o.tracks.push(a):(e.tracks.push(a),this.addCaptionSource(e))}},{key:"addExternalWebVTTTrack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.Caption;return this._handleAddingCaptionTrackToSource({format:"webvtt",platform:null,type:"external",tracks:[]},n,t,e,r),this}},{key:"addExternalSRTTrack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.Caption;return this._handleAddingCaptionTrackToSource({format:"srt",platform:null,type:"external",tracks:[]},n,t,e,r),this}},{key:"addExternalTTMLTrack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.Caption;return this._handleAddingCaptionTrackToSource({format:"ttml",platform:null,type:"external",tracks:[]},n,t,e,r),this}},{key:"requiresCDNAuth",value:function(e){return this._playlistProtection=e,this}},{key:"isLive",value:function(e){return this._data.isLive=e,this}},{key:"withTrt",value:function(e){return this._data.trt=e,this}},{key:"addValidator",value:function(e,t){return this._data.validators[e]=t,this}},{key:"addSegment",value:function(e){return this._data.segments.push(e),this}},{key:"addContentMetadata",value:function(e){return this._data.contentMetadata.push(e),this}},{key:"addCaptionSource",value:function(e){return this._data.captions.sources.push(Object.assign(Object.assign({},f),e)),this}},{key:"addCaptionTrackEmbedded",value:function(e,t){var n={source:e,track:t};n.source.type="embedded";var r=this._getExistingCaptionSource(n.source);if(r)r.tracks.push(n.track);else{var i=n.source;i.tracks=[n.track],this.addCaptionSource(i)}return this}},{key:"build",value:function(){var t=this;return this._data.id||(this._data.id=e.createEntryId()),this._playlistProtection&&this._data.files.forEach((function(e){null===e.playlistProtection&&(e.playlistProtection=t._playlistProtection)})),c.ObjectUtils.extendDeep({},this._data)}}],r=[{key:"createEntryId",value:function(){return"entry-".concat(e._entryId++)}},{key:"create",value:function(){return new e}},{key:"fromPlaylistItem",value:function(t){return e.create().withContentEntryData(t.entry)}}],n&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function g(e){return g="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},g(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===g(i)?i:String(i)),r)}var i}p._entryId=0;var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}var t,n,r;return t=e,r=[{key:"create",value:function(){return new e}},{key:"fromPlaylistItem",value:function(t){return e.create().withContentEntryOptions(t.options)}}],(n=[{key:"withContentEntryOptions",value:function(e){return c.ObjectUtils.extendDeep(this._data,e),this}},{key:"withMVPDId",value:function(e){return this._data.mvpdId=e,this}},{key:"withAccessTokenType",value:function(e){return this._data.accessTokenType=e,this}},{key:"withAccessToken",value:function(e){return this._data.accessToken=e,this}},{key:"withTokenParams",value:function(e){return this._data.tokenParams=e,this}},{key:"withAssetType",value:function(e){return this._data.assetType=e,this}},{key:"withPlayConfigOverrides",value:function(e){return this._data.config=e,this}},{key:"build",value:function(){return c.ObjectUtils.extendDeep({},this._data)}}])&&v(t.prototype,n),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function y(e){return y="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},y(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===y(i)?i:String(i)),r)}var i}var S=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"forEntryData",value:function(){return p.create()}},{key:"forEntryOptions",value:function(){return m.create()}}],null&&0,n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),E=n(72720);function $(e){return $="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 T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===$(i)?i:String(i)),r)}var i}var A=function(){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return c.ObjectUtils.extendDeep.apply(c.ObjectUtils,[{},e].concat(n))}},C=function(){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return c.ObjectUtils.extendDeepWithArrayAssignment.apply(c.ObjectUtils,[{},e].concat(n))}},P=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._config=t}var t,n;return t=e,n=[{key:"getAuthForType",value:function(e){var t=c.ObjectUtils.getOrElse(this._config,"auth",{});return null==t?void 0:t.cdn.services.find((function(t){return t.type===e}))}},{key:"isSectionEnabled",value:function(e){var t=this.get(e);return!t.isNone()&&t.value.enabled}},{key:"getOrElse",value:function(e,t){var n=c.ObjectUtils.getOrElse(this._config,e,t);return c.ObjectUtils.isPlainObject(n)&&(n=c.ObjectUtils.extendDeep({},n)),n}},{key:"getOrElseNullable",value:function(e,t){var n=c.ObjectUtils.get(this._config,e,t);return(0,E.fromNullable)(n).getOrElse(t)}},{key:"get",value:function(e){var t=c.ObjectUtils.get(this._config,e);return(0,E.fromNullable)(t)}},{key:"set",value:function(e,t){c.ObjectUtils.set(this._config,e,t)}},{key:"toData",value:function(){return A()(this._config)}},{key:"extend",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._config=C().apply(void 0,[this._config].concat(t))}}],n&&T(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();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},I(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===I(i)?i:String(i)),r)}var i}var M=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data=new P({})}var t,n,r;return t=e,r=[{key:"create",value:function(){return new e}}],(n=[{key:"withFeatures",value:function(e){return this._data.extend({features:e}),this}},{key:"withCaptions",value:function(e){return this._data.extend({captions:e}),this}},{key:"withSuppressAdAnalytics",value:function(e){return this._data.extend({analytics:{suppressAdAnalytics:e}}),this}},{key:"withConviva",value:function(e){return this._data.extend({analytics:{conviva:e}}),this}},{key:"withComscore",value:function(e){return this._data.extend({analytics:{comscore:e}}),this}},{key:"withOpenMeasurement",value:function(e){return this._data.extend({analytics:{openMeasurement:e}}),this}},{key:"withAds",value:function(e){return this._data.extend({ads:e}),this}},{key:"withAuth",value:function(e){return this._data.extend({auth:e}),this}},{key:"withCms",value:function(e){return this._data.extend({cms:e}),this}},{key:"withDrm",value:function(e){return this._data.extend({drm:e}),this}},{key:"withMedia",value:function(e){return this._data.extend({media:e}),this}},{key:"withPlayback",value:function(e){return this._data.extend({playback:e}),this}},{key:"withMonitors",value:function(e){return this._data.extend({monitors:e}),this}},{key:"withMetadata",value:function(e){return this._data.extend({metadata:e}),this}},{key:"withNowPlayingInfo",value:function(e){return this._data.extend({info:e}),this}},{key:"withLifecycle",value:function(e){return this._data.extend({lifecycle:e}),this}},{key:"withUI",value:function(e){return this._data.extend({ui:e}),this}},{key:"withMocks",value:function(e){return this._data.extend({mocks:e}),this}},{key:"withDebug",value:function(e){return this._data.extend({debug:e}),this}},{key:"build",value:function(){return this._data.toData()}}])&&w(t.prototype,n),r&&w(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function k(e){return k="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},k(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==k(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===k(i)?i:String(i)),r)}var i}var R=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._setupConfigData=new P({}),this._playConfigBuilder=new M}var t,n,r;return t=e,r=[{key:"create",value:function(){return new e}}],(n=[{key:"withContainer",value:function(e){return this._setupConfigData.extend({container:e}),this}},{key:"withFeatures",value:function(e){return this._playConfigBuilder.withFeatures(e),this}},{key:"withSuppressAdAnalytics",value:function(e){return this._playConfigBuilder.withSuppressAdAnalytics(e),this}},{key:"withConviva",value:function(e){return this._playConfigBuilder.withConviva(e),this}},{key:"withCaptions",value:function(e){return this._playConfigBuilder.withCaptions(e),this}},{key:"withComscore",value:function(e){return this._playConfigBuilder.withComscore(e),this}},{key:"withOpenMeasurement",value:function(e){return this._playConfigBuilder.withOpenMeasurement(e),this}},{key:"withAds",value:function(e){return this._playConfigBuilder.withAds(e),this}},{key:"withAuth",value:function(e){return this._playConfigBuilder.withAuth(e),this}},{key:"withCms",value:function(e){return this._playConfigBuilder.withCms(e),this}},{key:"withDrm",value:function(e){return this._playConfigBuilder.withDrm(e),this}},{key:"withMedia",value:function(e){return this._playConfigBuilder.withMedia(e),this}},{key:"withPlayback",value:function(e){return this._playConfigBuilder.withPlayback(e),this}},{key:"withMonitors",value:function(e){return this._playConfigBuilder.withMonitors(e),this}},{key:"withMetadata",value:function(e){return this._playConfigBuilder.withMetadata(e),this}},{key:"withNowPlayingInfo",value:function(e){return this._playConfigBuilder.withNowPlayingInfo(e),this}},{key:"withLifecycle",value:function(e){return this._playConfigBuilder.withLifecycle(e),this}},{key:"withUI",value:function(e){return this._playConfigBuilder.withUI(e),this}},{key:"withMocks",value:function(e){return this._playConfigBuilder.withMocks(e),this}},{key:"withDebug",value:function(e){return this._playConfigBuilder.withDebug(e),this}},{key:"build",value:function(){var e=this._setupConfigData.toData(),t=this._playConfigBuilder.build();return Object.keys(t).length>0&&(e.config=t),e}}])&&O(t.prototype,n),r&&O(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function D(e){return D="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},D(e)}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==D(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===D(i)?i:String(i)),r)}var i}var x,N,U,B,F=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"forSetup",value:function(){return R.create()}},{key:"forPlay",value:function(){return M.create()}},{key:"forUpdate",value:function(){return M.create()}}],null&&0,n&&L(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function j(e){return j="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},j(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===j(i)?i:String(i)),r)}var i}!function(e){e.Ext_Out="extOut",e.Ext_Out_Cont="extOutCont",e.Ext_In="extIn",e.Ext_Discontinuity="extDisco",e.Ext_Asset="extAsset",e.ID3="id3",e.SCTE="SCTE",e.Unknown="unknown"}(x||(x={})),function(e){e[e.Avail=0]="Avail",e[e.Segmentation=2]="Segmentation",e[e.Unknown=-1]="Unknown"}(N||(N={})),function(e){e.Type_ID="segmentation_type_id",e.No_Regional_Blackout="no_regional_blackout_flag",e.Web_Delivery_Allowed="web_delivery_allowed_flag",e.Airing_ID="segmentation_upid",e.Duration="segmentation_duration"}(U||(U={})),function(e){e[e.Not_Indicated=0]="Not_Indicated",e[e.Content_Identification=1]="Content_Identification",e[e.Program_Start=16]="Program_Start",e[e.Program_End=17]="Program_End",e[e.Program_Early_Termination=18]="Program_Early_Termination",e[e.Program_Breakaway=19]="Program_Breakaway",e[e.Program_Resumption=20]="Program_Resumption",e[e.Program_Runover_Planned=21]="Program_Runover_Planned",e[e.Program_Runover_Unplanned=22]="Program_Runover_Unplanned",e[e.Program_Overlap_Start=23]="Program_Overlap_Start",e[e.Program_Blackout_Override=24]="Program_Blackout_Override",e[e.Program_Start_In_Progress=25]="Program_Start_In_Progress",e[e.Chapter_Start=32]="Chapter_Start",e[e.Chapter_End=33]="Chapter_End",e[e.Break_Start=34]="Break_Start",e[e.Break_End=35]="Break_End",e[e.Provider_Ad_Start=48]="Provider_Ad_Start",e[e.Provider_Ad_End=49]="Provider_Ad_End",e[e.Distributor_Ad_Start=50]="Distributor_Ad_Start",e[e.Distributor_Ad_End=51]="Distributor_Ad_End",e[e.Provider_Placement_Opp_Start=52]="Provider_Placement_Opp_Start",e[e.Provider_Placement_Opp_End=53]="Provider_Placement_Opp_End",e[e.Distributor_Placement_Opp_Start=54]="Distributor_Placement_Opp_Start",e[e.Distributor_Placement_Opp_End=55]="Distributor_Placement_Opp_End",e[e.Unscheduled_Event_Start=64]="Unscheduled_Event_Start",e[e.Unscheduled_Event_End=65]="Unscheduled_Event_End",e[e.Network_Start=80]="Network_Start",e[e.Network_End=81]="Network_End",e[e.Unknown=-1]="Unknown"}(B||(B={}));var V=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"containsSegmentationType",value:function(t,n){return e.getSegmentationDescriptors(t,n).length>0}},{key:"getSegmentationDescriptors",value:function(e,t){var n=(null==e?void 0:e.splice_descriptors)||[];return n=n.filter((function(e){return e.type===N.Segmentation})),"number"==typeof t&&(n=n.filter((function(e){return e.segmentation_type_id===t}))),n}},{key:"getFirstSegmentationDescriptor",value:function(t,n){return e.getSegmentationDescriptors(t,n)[0]||null}},{key:"isChapterStart",value:function(t){return e.containsSegmentationType(t,B.Chapter_Start)}},{key:"isChapterEnd",value:function(t){return e.containsSegmentationType(t,B.Chapter_End)}},{key:"isProgramStart",value:function(t){return e.containsSegmentationType(t,B.Program_Start)}},{key:"isProgramEnd",value:function(t){return e.containsSegmentationType(t,B.Program_End)}},{key:"isProgramOverlapStart",value:function(t){return e.containsSegmentationType(t,B.Program_Overlap_Start)}},{key:"getChapterStart",value:function(t){return e.getFirstSegmentationDescriptor(t,B.Chapter_Start)}},{key:"getChapterEnd",value:function(t){return e.getFirstSegmentationDescriptor(t,B.Chapter_End)}},{key:"getProgramStart",value:function(t){return e.getFirstSegmentationDescriptor(t,B.Program_Start)}},{key:"getProgramEnd",value:function(t){return e.getFirstSegmentationDescriptor(t,B.Program_End)}},{key:"getProgramOverlapStart",value:function(t){return e.getFirstSegmentationDescriptor(t,B.Program_Overlap_Start)}},{key:"getTypeIdProp",value:function(e){return c.ObjectUtils.getOrElse(e,U.Type_ID,null)}},{key:"getRegionalBlackoutProp",value:function(e){var t=c.ObjectUtils.getOrElse(e,U.No_Regional_Blackout,null);return null===t?null:0===t}},{key:"getWebDeliveryAllowedProp",value:function(e){var t=c.ObjectUtils.getOrElse(e,U.Web_Delivery_Allowed,null);return null===t?null:0!==t}},{key:"getAiringIdProp",value:function(e){return c.ObjectUtils.getOrElse(e,U.Airing_ID,null)}},{key:"getDurationProp",value:function(e){return c.ObjectUtils.getOrElse(e,U.Duration,null)}}],null&&0,n&&H(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function W(e){return W="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},W(e)}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==W(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==W(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===W(i)?i:String(i)),r)}var i}function G(e){return c.ObjectUtils.get(e,"cue",e)}var Y,K,z,X,Q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"beforeTime",value:function(e,t){return e.data.range.start<t}},{key:"findNextChapterStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)&&"number"==typeof t&&e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isChapterStart(e.data.content.metadata)})).filter((function(e){return e.data.range.start>=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}))[0]||null}},{key:"findPreviousChapterStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e)||"number"!=typeof t)return null;var n=e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isChapterStart(e.data.content.metadata)})).filter((function(e){return e.data.range.start<=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}));return n[n.length-1]||null}},{key:"findNextChapterEnd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)&&"number"==typeof t&&e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isChapterEnd(e.data.content.metadata)})).filter((function(e){return e.data.range.start>=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}))[0]||null}},{key:"findPreviousChapterEnd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e)||"number"!=typeof t)return null;var n=e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isChapterEnd(e.data.content.metadata)})).filter((function(e){return e.data.range.start<=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}));return n[n.length-1]||null}},{key:"findChaptersInProgramBoundary",value:function(e,t,n){return t&&n?e.filter((function(e){return e.type===x.SCTE})).filter((function(e){var t=e.data.content.metadata;return V.isChapterStart(t)||V.isChapterEnd(t)})).filter((function(e){var r=e.data.range.start>=t.data.range.start,i=e.data.range.end<=n.data.range.start;return r&&i})).sort((function(e,t){return e.data.range.start-t.data.range.start})):[]}},{key:"findChaptersInActiveProgramBoundary",value:function(t,n){var r=e.findPreviousProgramStart(t,n),i=e.findNextProgramEnd(t,n);return r&&i?e.findChaptersInProgramBoundary(t,r,i):[]}},{key:"findNextProgramStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)&&"number"==typeof t&&e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isProgramStart(e.data.content.metadata)})).filter((function(e){return e.data.range.start>=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}))[0]||null}},{key:"findPreviousProgramStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e)||"number"!=typeof t)return null;var n=e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isProgramStart(e.data.content.metadata)})).filter((function(e){return e.data.range.start<=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}));return n[n.length-1]||null}},{key:"findNextProgramEnd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.isArray(e)&&"number"==typeof t&&e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isProgramEnd(e.data.content.metadata)})).filter((function(e){return e.data.range.start>=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}))[0]||null}},{key:"findPreviousProgramEnd",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e)||"number"!=typeof t)return null;var n=e.filter((function(e){return e.type===x.SCTE})).filter((function(e){return V.isProgramEnd(e.data.content.metadata)})).filter((function(e){return e.data.range.start<=t})).sort((function(e,t){return e.data.range.start-t.data.range.start}));return n[n.length-1]||null}},{key:"isChapterStart",value:function(e){var t=G(e);return!(t.type!==x.SCTE)&&V.isChapterStart(t.data.content.metadata)}},{key:"isChapterEnd",value:function(e){var t=G(e);return!(t.type!==x.SCTE)&&V.isChapterEnd(t.data.content.metadata)}},{key:"isProgramStart",value:function(e){var t=G(e);return!(t.type!==x.SCTE)&&V.isProgramStart(t.data.content.metadata)}},{key:"isProgramEnd",value:function(e){var t=G(e);return!(t.type!==x.SCTE)&&V.isProgramEnd(t.data.content.metadata)}},{key:"isProgramOverlapStart",value:function(e){var t=G(e);return!(t.type!==x.SCTE)&&V.isProgramOverlapStart(t.data.content.metadata)}}],null&&0,n&&q(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function J(e){return J="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},J(e)}function Z(e,t,n){return(t=re(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,re(r.key),r)}}function re(e){var t=function(e,t){if("object"!==J(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==J(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===J(t)?t:String(t)}!function(e){e.Content_Time="model.contentTime",e.Media_Time="model.mediaTime",e.Ad_Time="model.adTime"}(Y||(Y={})),function(e){e.Timed_Metadata="timedMetadata"}(K||(K={})),function(e){e[e.Null=0]="Null",e[e.Schedule=4]="Schedule",e[e.Insert=5]="Insert",e[e.Time_Signal=6]="Time_Signal",e[e.Bandwidth_Reservation=7]="Bandwidth_Reservation",e[e.Private=255]="Private"}(z||(z={})),function(e){e.EMSG="emsg",e.ID3="id3",e.CUETAG="cueTag",e.DATERANGE="dateRange",e.CUSTOM="custom",e.SCTE="scte",e.CAST="cast",e.EVENT_STREAM="eventStream"}(X||(X={}));var ie=function(e){return"number"==typeof e},oe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"+";if(ie(e)&&ie(t))switch(n){case"+":return e+t;case"-":return e-t;default:return""}return"".concat(e,"(").concat(n,")").concat(t)},ae=function(e,t){var n=[],r=0;return e.forEach((function(e){var i,o=null!==(i=e.startOffset)&&void 0!==i?i:0,a=e.duration,s=e.processTime,u=e.data,c=r+o,l=s?oe(c,s):void 0,d=c+a,_=s?oe(d,s):void 0,f=oe(t,c),h=l?oe(t,l):void 0,p=oe(t,d),g=_?oe(t,_):void 0;n.push(se.createChapterStart({startTime:f,processTime:h,metadata:u}),se.createChapterEnd({startTime:p,processTime:g,metadata:u})),r=d})),n},se=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"mocksEnabled",value:function(e){return e.debug.enableMocks&&e.debug.enabled}},{key:"createChapterBoundary",value:function(t){var n=t.offset,r=t.duration,i=t.processTime,o=t.metadata,a=oe(n,r),s=i?oe(i,r):void 0;return[e.createChapterStart({startTime:n,processTime:i,metadata:o}),e.createChapterEnd({startTime:a,processTime:s,metadata:o})]}},{key:"createChapterEnd",value:function(t){var n=t.metadata||{};return e.createSegmentationSCTE(B.Chapter_End,n,t.startTime,t.processTime)}},{key:"createChapterStart",value:function(t){var n=t.metadata||{};return e.createSegmentationSCTE(B.Chapter_Start,n,t.startTime,t.processTime)}},{key:"createProgramBoundary",value:function(t){var n=t.assetId,r=t.offset,i=t.duration,o=t.processTime,a=t.programChapters,s=[],u=oe(r,i),c=o?oe(o,i):void 0;return s.push(e.createProgramStart({assetId:n,startTime:r,processTime:o})),Array.isArray(a)&&s.push.apply(s,ee(ae(a,r))),s.push(e.createProgramEnd({assetId:n,startTime:u,processTime:c})),s}},{key:"createProgramBoundarySet",value:function(t){var n=t.assetIds,r=t.offset,i=t.duration,o=t.processTime,a=t.programChapters,s=[],u=0;return n.forEach((function(t){var n=u+i,c=oe(r,u),l=o?oe(o,u):void 0,d=oe(r,n),_=o?oe(o,n):void 0;if(s.push(e.createProgramStart({assetId:t,startTime:c,processTime:l})),void 0!==a){var f=a[t];Array.isArray(f)&&s.push.apply(s,ee(ae(f,c)))}s.push(e.createProgramEnd({assetId:t,startTime:d,processTime:_})),u+=i})),s}},{key:"createProgramEnd",value:function(t){return e.createSegmentationSCTE(B.Program_End,Z({},U.Airing_ID,t.assetId),t.startTime,t.processTime)}},{key:"createProgramStart",value:function(t){return e.createSegmentationSCTE(B.Program_Start,Z({},U.Airing_ID,t.assetId),t.startTime,t.processTime)}},{key:"createSegmentationSCTE",value:function(t,n,r,i){return e.createSCTE({command:z.Time_Signal,descriptors:Z({},N[N.Segmentation],Object.assign({subType:t},n)),startTime:r,processTime:i})}},{key:"createSCTE",value:function(t){var n,r;return e.createTimedMetadata({metadataType:X.SCTE,metadata:{spliceType:t.command,descriptors:t.descriptors},startTime:t.startTime},Z({},Y.Content_Time,null!==(n=t.processTime)&&void 0!==n?n:t.startTime),Z({},Y.Content_Time,null!==(r=t.processTime)&&void 0!==r?r:t.startTime))}},{key:"createID3",value:function(t){var n,r;return e.createTimedMetadata({metadataType:X.ID3,metadata:{id:t.id,message:t.message},startTime:t.startTime},Z({},Y.Content_Time,null!==(n=t.processTime)&&void 0!==n?n:t.startTime),Z({},Y.Content_Time,null!==(r=t.processTime)&&void 0!==r?r:t.startTime))}},{key:"createTimedMetadata",value:function(e,t,n){return{type:K.Timed_Metadata,triggers:t,retriggers:n||{},data:e}}}],null&&0,n&&ne(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ue(e){return ue="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},ue(e)}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==ue(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===ue(i)?i:String(i)),r)}var i}var le,de,_e,fe,he,pe,ge,ve,me,ye,be,Se,Ee,$e,Te,Ae,Ce,Pe,Ie,we,Me,ke,Oe,Re,De,Le,xe,Ne,Ue,Be,Fe,je,He,Ve,We,qe,Ge,Ye,Ke,ze,Xe,Qe,Je,Ze,et,tt,nt,rt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dependencies=[]}var t,n;return t=e,(n=[{key:"libVersion",get:function(){return u}},{key:"nexusVersion",get:function(){return"2.2.27"}},{key:"dependencyVersions",get:function(){return this.dependencies},set:function(e){this.dependencies=e}},{key:"buildTime",get:function(){return 1725652592013..toString()}},{key:"buildTimeISO",get:function(){return"2024-09-06T19:56:32.013Z"}},{key:"commitSHA",get:function(){return"af175b7"}},{key:"toString",value:function(){return"".concat(this.libVersion,"-").concat(this.buildTime,"-").concat(this.commitSHA)}}])&&ce(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),it=new rt;!function(e){e.Unknown="unknown",e.Preroll="preroll",e.Midroll="midroll",e.Postroll="postroll"}(le||(le={})),function(e){e.Yospace_Init_Error="yospaceInitError",e.Yospace_Session_Error="yospaceSessionError"}(de||(de={})),function(e){e.Pending="pending",e.Starting="starting",e.Loaded="loaded",e.Playing="playing",e.Paused="paused",e.Buffering="buffering",e.Stopped="stopped",e.Finished="finished"}(_e||(_e={})),function(e){e.Transaction_Initializing="transactionInitializing",e.Transaction_Details_Resolved="transactionDetailsResolved",e.Transaction_Initialized="transactionInitialized",e.Transaction_Preparing="transactionPreparing",e.Transaction_Transforming="transactionTransforming",e.Transaction_Waiting="transactionWaiting",e.Transaction_User_Action="transactionUserAction",e.Transaction_Media_Beginning="transactionMediaBeginning",e.MediaEngine_Started="mediaEngineStarted"}(fe||(fe={})),function(e){e.CMS_Resolution="cmsResolution",e.Transaction_Setup="transactionSetup",e.Transaction_Initialized="transactionInitialized",e.Content_Resolution="contentResolution",e.Total_Time_To_First_Frame="totalTimeToFirstFrame",e.Time_Waiting_For_User="timeWaitingForUser"}(he||(he={})),function(e){e.Spe="spe"}(pe||(pe={})),function(e){e.iSP="isp"}(ge||(ge={})),function(e){e.Unspecified="___",e.NetworkRequestFailure="000",e.NetworkConnectionLost="001",e.PlayerInitFailure="100",e.ViewAttachFailure="200",e.ViewDetachFailure="201",e.TransactionInitFailure="300",e.TransactionStateTransitionFailure="301",e.TransactionComponentSetupFailure="302",e.ContentResolutionFailure="500",e.ContentSelectionFailure="501",e.ContentSupportFailure="502",e.CDNTokenFailure="600",e.DRMTokenFailure="601",e.DRMAssetMetadataFailure="602",e.TokenMismatch="603",e.MaxAllowedStreamsExceeded="604",e.MaxAllowedRenewalsExceeded="605",e.AdPlaybackFailure="800",e.AdSessionTimeout="801",e.AdStall="802",e.MediaPlaybackFailure="900",e.MediaContentFailure="901",e.MediaNetworkFailure="902",e.MediaDRMFailure="903",e.CaptionsStorageFailure="1000",e.AnalyticsDisabled="1100",e.AnalyticsConfigFailure="1101",e.AnalyticsOpenMeasurementSettingFailure="1102"}(ve||(ve={})),function(e){e.Unknown="UN",e.Player="PL",e.View="VW",e.Transaction="TR",e.Comp_Config="CCG",e.Comp_CMS="CCM",e.Comp_Auth="CAU",e.Comp_Timeline="CTM",e.Comp_Ads="CAD",e.Comp_Media="CME",e.Comp_Captions="CCC",e.Comp_Analytics="CAY",e.UI="UI"}(me||(me={})),function(e){e.CC1="cc1",e.CC2="cc2",e.CC3="cc3",e.CC4="cc4",e.Unknown="unknown"}(ye||(ye={})),function(e){e.Off="off",e.English="english",e.Spanish="spanish",e.French="french",e.Deutsch="deutsch",e.Unknown="unknown"}(be||(be={})),function(e){e.User="user",e.System="system"}(Se||(Se={})),function(e){e.CEA_608="cea608",e.CEA_708="cea708",e.WebVTT="webvtt",e.SRT="srt",e.TTML="ttml",e.Unknown="unknown"}(Ee||(Ee={})),function(e){e.Pending="pending",e.Ready="ready",e.Changing_Track="changingTrack",e.Showing_Track="showingTrack",e.Disabled="disabled"}($e||($e={})),function(e){e.URL="top.cms.provider.url",e.MediaJSON="top.cms.provider.mediaJson"}(Te||(Te={})),function(e){e.Default="default",e.Black="black",e.Blue="blue",e.Cyan="cyan",e.Green="green",e.Magenta="magenta",e.Red="red",e.White="white",e.Yellow="yellow"}(Ae||(Ae={})),function(e){e.Analytics="analytics",e.Auth="auth",e.AuthDRM="authDRM",e.Captions="captions",e.CMS="cms",e.Cues="cues",e.Lifecycle="lifecycle",e.PlatformHelper="platformHelper",e.UI="ui",e.Video_Engine="videoEngine",e.Mocks="mocks",e.Custom="custom"}(Ce||(Ce={})),function(e){e[e.LIVE=0]="LIVE",e[e.DVRLIVE=1]="DVRLIVE",e[e.VOD=2]="VOD",e[e.NLSO=3]="NLSO"}(Pe||(Pe={})),function(e){e.SDK_ID="tcf.IABTCF_CmpSdkID",e.SDK_VERSION="tcf.IABTCF_CmpSdkVersion",e.POLICY_VERSION="tcf.IABTCF_PolicyVersion",e.GDPR_APPLIES="tcf.IABTCF_gdprApplies",e.PUBLISHER_CC="tcf.IABTCF_PublisherCC",e.PURPOSE_ONE_TREATMENT="tcf.IABTCF_PurposeOneTreatment",e.TC_STRING="tcf.IABTCF_TCString",e.VENDOR_CONSENTS="tcf.IABTCF_VendorConsents",e.PURPOSE_CONSENTS="tcf.IABTCF_PurposeConsents",e.PUBLISHER_CONSENT="tcf.IABTCF_PublisherConsent"}(Ie||(Ie={})),function(e){e.Android_Tv="android_tv",e.Fire_Tv="fire_tv",e.Tv_Os="tv_os",e.Phone="phone",e.Tablet="tablet",e.Desktop="desktop",e.Console="console",e.Unknown="unknown"}(we||(we={})),function(e){e.Manifest="manifest",e.Metadata="metadata"}(Me||(Me={})),function(e){e.Default="default",e.None="none",e.Raised="raised",e.Depressed="depressed",e.Uniform="uniform",e.Drop_Shadow_Left="dropShadowLeft",e.Drop_Shadow_Right="dropShadowRight"}(ke||(ke={})),function(e){e.Error="error",e.Warn="warn",e.Fatal="fatal"}(Oe||(Oe={})),function(e){e.Default="default",e.Monospaced_With_Serifs="monospacedWithSerifs",e.Monospaced_Without_Serifs="monospacedWithoutSerifs",e.Proportional_With_Serifs="proportionalWithSerifs",e.Proportional_Without_Serifs="proportionalWithoutSerifs",e.Casual="casual",e.Cursive="cursive",e.Small_Capitals="smallCapitals"}(Re||(Re={})),function(e){e.Continue="continue",e.Pause="pause",e.Stop="stop",e.Destroy="destroy"}(De||(De={})),function(e){e.Foreground="foreground",e.FocusLost="focusLost",e.Background="background",e.Unplugged="unplugged"}(Le||(Le={})),function(e){e.Approaching="approaching",e.Activated="activated",e.Finishing="finishing",e.Deactivated="deactivated"}(xe||(xe={})),function(e){e.Media="media",e.Ad_Break="adBreak",e.End_Credits="endCredits"}(Ne||(Ne={})),function(e){e.TV="tv",e.Desktop="desktop",e.Tablet="tablet",e.Phone="phone"}(Ue||(Ue={})),function(e){e.Pending="pending",e.Starting="starting",e.Loaded="loaded",e.Playing="playing",e.Paused="paused",e.Buffering="buffering",e.Seeking="seeking",e.Stopped="stopped",e.Finished="finished",e.Error="error"}(Be||(Be={})),function(e){e.V1="v1",e.V2="v2"}(Fe||(Fe={})),function(e){e.Model_Updated="modelUpdated"}(je||(je={})),function(e){e.Root_Container="rootContainer",e.Sub_Container="subContainer",e.Player_State="playerState",e.Content_State="contentState",e.View_State="viewState",e.Lifecycle_State="lifecycleState",e.Config="config",e.Playlist_Item="playlistItem",e.Volume="volume",e.Muted="muted",e.Timeline_Time="timelineTime",e.Timeline_Markers="timelineMarkers",e.Current_Ad_Break="currentAdBreak",e.Current_Ad_Creative="currentAdCreative",e.Ad_Breaks="adBreaks",e.Media_State="mediaState",e.Media_Time="mediaTime",e.Media_Absolute_Time="mediaAbsoluteTime",e.Media_Duration="mediaDuration",e.Media_Profiles="mediaProfiles",e.Media_Target_Profile_Id="mediaTargetProfileId",e.Active_Media_Profile="activeMediaProfile",e.Content_Seekable_Range="contentSeekableRange",e.Media_Seekable_Range="mediaSeekableRange",e.Content_Is_Live="contentIsLive",e.Content_Buffered_Range="contentBufferedRange",e.Caption_State="captionState",e.Caption_Tracks="captionTracks",e.Caption_Cues="captionCues",e.Caption_Settings="captionSettings",e.Analytic_Marks="analyticMarks",e.Analytic_Measures="analyticMeasures",e.Timed_Metadata_Cues="timedMetadataCues",e.Playback_Speed="playbackSpeed",e.Live_Drift="liveDrift",e.Ad_Break_Time="adBreakTime",e.Thumbnail="thumbnail"}(He||(He={})),function(e){e.Overwrite="overwrite",e.Extend="extend",e.Array_Append="arrayAppend",e.Array_Remove_By_Position="arrayRemoveByPos"}(Ve||(Ve={})),function(e){e.Component_Event="componentEventCategory"}(We||(We={})),function(e){e.Video_Engine="videoEngineModule",e.Timeline="timelineModule",e.Captions="captionsModule",e.Lifecycle="lifecycleModule",e.Analytics="analyticsModule",e.Cues="cuesModule",e.UI="uiModule",e.Mocks="mocksModule",e.Auth="authModule"}(qe||(qe={})),function(e){e.Default="default",e.Opacity_0="opacity0",e.Opacity_25="opacity25",e.Opacity_50="opacity50",e.Opacity_75="opacity75",e.Opacity_100="opacity100"}(Ge||(Ge={})),function(e){e.Attach="attach",e.Detach="detach",e.Update_Config="update_config",e.Preload_Content="preload_content",e.Play="play",e.Proceed="proceed",e.Pause="pause",e.Resume="resume",e.Seek="seek",e.Seek_To_Live="seek_to_live",e.Resize="resize",e.Captions_Select_Track="captionsSelectTrack",e.Captions_Select_Track_By_Lang="captionsSelectTrackByLang",e.Captions_Set_Enabled="captionsSetEnabled",e.Captions_Update_Settings="captionsUpdateSettings",e.Request_Airplay="requestAirplay",e.Enter_Fullscreen="enter_fullscreen",e.Exit_Fullscreen="exit_fullscreen",e.Enter_Picture_In_Picture="enter_picture_in_picture",e.Exit_Picture_In_Picture="exit_picture_in_picture",e.Set_Player_Mode="set_player_mode",e.Send_Message_To_UI="sendMessageToUI",e.Message_From_UI="messageFromUI",e.Stop="stop",e.Replay="replay",e.Report_Event="report_event",e.Report_Error="report_error",e.Destroy="destroy",e.Ad_Clicked="ad_clicked",e.Set_Media_Profile="setMediaProfile",e.Thumbnail="thumbnail"}(Ye||(Ye={})),function(e){e.Model_Updated="modelUpdated",e.Player_Error="playerError",e.Player_State_Changed="playerStateChanged",e.Player_Initialized="playerInitialized",e.Player_Ready="playerReady",e.Player_Listening="playerListening",e.Content_State_Changed="contentStateChanged",e.Content_Beginning="contentBeginning",e.Content_Setup="contentSetup",e.Content_Waiting="contentWaiting",e.Volume_Changed="volumeChanged",e.Mute_Changed="muteChanged",e.Media_Command_Received="mediaCommandReceived",e.Media_Command_Rejected="mediaCommandRejected",e.Media_State_Changed="mediaStateChanged",e.Media_Ready="mediaReady",e.Media_Starting="mediaStarting",e.Media_Blocked="mediaBlocked",e.Media_Loaded="mediaLoaded",e.Media_Started="mediaStarted",e.Media_Buffering_Started="mediaBufferingStarted",e.Media_Buffering_Finished="mediaBufferingFinished",e.Media_Seeking_Started="mediaSeekingStarted",e.Media_Seeking_Finished="mediaSeekingFinished",e.Media_Target_Profile_Changed="mediaTargetProfileChanged",e.Media_Request_Profile_Changed="mediaRequestProfileChanged",e.Media_Profile_Changed="mediaProfileChanged",e.Media_Time_Changed="mediaTimeChanged",e.Media_Paused="mediaPaused",e.Media_Resumed="mediaResumed",e.Media_Recovery_Started="mediaRecoveryStarted",e.Media_Recovery_Finished="mediaRecoveryFinished",e.Media_Resized="mediaResized",e.Media_Stopped="mediaStopped",e.Media_Timed_Metadata_Parsed="mediaTimedMetadataParsed",e.Media_Timed_Metadata_Received="mediaTimedMetadataReceived",e.Media_Finished="mediaFinished",e.Media_Error="mediaError",e.Media_Stalled="mediaStalled",e.Media_Audio_Track_Availability_Changed="mediaAudioTrackAvailabilityChanged",e.Media_Audio_Track_Selected="mediaAudioTrackSelected",e.Ad_State_Changed="adStateChanged",e.Ad_Starting="adStarting",e.Ad_Started="adStarted",e.Ad_Blocked="adBlocked",e.Ad_Loaded="adLoaded",e.Ad_Creative_Started="adCreativeStarted",e.Ad_Time_Changed="adTimeChanged",e.Ad_Paused="adPaused",e.Ad_Resumed="adResumed",e.Ad_Stopped="adStopped",e.Ad_Creative_Ended="adCreativeEnded",e.Ad_Finished="adFinished",e.Ad_Error="adError",e.Timeline_Marker_Added="timelineMarkerAdded",e.Timeline_Marker_Approaching="timelineMarkerApproaching",e.Timeline_Marker_Activated="timelineMarkerActivated",e.Timeline_Marker_Finishing="timelineMarkerFinishing",e.Timeline_Marker_Deactivated="timelineMarkerDeactivated",e.Timeline_Marker_Removed="timelineMarkerRemoved",e.Lifecycle_State_Changed="lifecycleStateChanged",e.Captions_State_Changed="captionsStateChanged",e.Caption_Settings_Updated="captionSettingsUpdated",e.Caption_Track_Added="captionTrackAdded",e.Caption_Track_Removed="captionTrackRemoved",e.Caption_Track_Selected="captionTrackSelected",e.Caption_Track_Deselected="captionTrackDeselected",e.Caption_Cue_Parsed="captionCueParsed",e.Caption_Cue_Entered="captionCueEntered",e.Caption_Cue_Exited="captionCueExited",e.Caption_Cue_Updated="captionCueUpdated",e.Cue_State_Changed="cueStateChanged",e.Cue_Processed="cueProcessed",e.Cue_Activated="cueActivated",e.Content_Interrupted="contentInterrupted",e.Content_Completed="contentCompleted",e.Content_Error="contentError",e.Content_Ended="contentEnded",e.View_State_Changed="viewStateChanged",e.View_Mode_Changed="viewModeChanged",e.Message_To_UI="messageToUI",e.Message_From_UI="messageFromUI",e.Mock_Message_Triggered="mockMessageTriggered",e.Token_Response_Received="tokenResponseReceived",e.Airplay_Requested="airplayRequested",e.Picture_In_Picture_Entered="pictureInPictureEntered",e.Picture_In_Picture_Exited="pictureInPictureExited",e.Thumbnail_Requested="thumbnailRequested",e.Thumbnail_Response="thumbnailResponse",e.Hdmi_Connection_Status_Changed="hdmiConnectionStatusChanged"}(Ke||(Ke={})),function(e){e.MediaControls="mediaControls",e.CloseAd="closeAd",e.NotVisible="notVisible",e.Other="other"}(ze||(ze={})),function(e){e.Check_Auto_Play="checkAutoPlay",e.Check_GDPR_Consent="checkGDPRConsent",e.Add_Platform_Metadata="addPlatformMetadata",e.Auth_Refresh="authRefresh",e.Validate_Content_Resolution="validateContentResolution",e.Validate_DRM_Token_Request="validateDRMTokenRequest",e.Validate_DRM_Token_Response="validateDRMTokenResponse"}(Xe||(Xe={})),function(e){e.Pending="playerPending",e.Initializing="playerInitializing",e.Initialized="playerInitialized",e.Attaching="playerAttaching",e.Attached="playerAttached",e.Listening="playerListening",e.Detaching="playerDetaching",e.Detached="playerDetached",e.Destroying="playerDestroying",e.Destroyed="playerDestroyed",e.Error="playerError"}(Qe||(Qe={})),function(e){e.Inline="inline",e.Fullscreen="fullscreen"}(Je||(Je={})),function(e){e.Default="default",e.Small="small",e.Medium="medium",e.Large="large"}(Ze||(Ze={})),function(e){e.Yospace="yospace",e.Auditude="auditude"}(et||(et={})),function(e){e.Yes="1",e.No="0",e.Unknown="-1"}(tt||(tt={})),function(e){e.V1="v1",e.V2="v2"}(nt||(nt={}));var ot,at,st,ut,ct,lt,dt,_t,ft,ht,pt,gt,vt,mt,yt,bt,St,Et,$t,Tt,At,Ct,Pt,It,wt=nt.V1;!function(e){e.Feature_CCPA="features.ccpa",e.Feature_GDPR="features.gdpr",e.Feature_TVE="features.tve",e.Auth="auth",e.AuthCDN="auth.cdn",e.AuthDRM="auth.drm",e.Ads="ads",e.Analytics="analytics",e.Analytics_Conviva="analytics.conviva",e.Analytics_Comscore="analytics.comscore",e.Analytics_OpenMeasurement="analytics.openMeasurement",e.DRM="drm",e.DRM_Widevine="drm.widevine",e.DRM_Playready="drm.playready",e.DRM_Fairplay="drm.fairplay",e.Lifecycle="lifecycle",e.Monitors_Live_Ads_Session="monitors.liveAdSession",e.Monitors_Content_Stall="monitors.contentStall",e.Monitors_Prune="monitors.prune",e.Monitors_Ad_Start_Detection="monitors.adStartDetection",e.UI="ui",e.Debug="debug",e.Debug_Logging_Data="debug.loggingData"}(ot||(ot={})),function(e){e.Module_Notification="moduleNotification",e.State_Changed="stateChanged",e.Config_Updated="configUpdated"}(at||(at={})),function(e){e.Pending="pending",e.Initializing="initializing",e.Preparing="preparing",e.Transforming="transforming",e.Initialized="initialized",e.Waiting="waiting",e.Validating="validating",e.Validated="validated",e.Ads_Beginning="adsBeginning",e.Ads_Playback="adsPlayback",e.Ads_Completed="adsCompleted",e.Authorizing="authorizing",e.Authorized="authorized",e.Media_Beginning="mediaBeginning",e.Media_Playback="mediaPlayback",e.Media_Completed="mediaCompleted",e.Interrupting="interrupting",e.Interrupted="interrupted",e.Finished="finished",e.Error="error",e.Ending="ending",e.Ended="ended"}(st||(st={})),function(e){e.Handle_DRM_Token_Request="handleDRMTokenRequest",e.Handle_Time_Changed="handleTimeChanged",e.Handle_Paused="handlePaused",e.Handle_Resumed="handleResumed",e.Handle_Mute_Changed="handleMuteChanged",e.Handle_Stopped="handleStopped",e.Handle_Playback_Speed_Change="handlePlaybackSpeedChanged",e.Handle_Media_Command_Received="handleMediaCommandReceived",e.Handle_Media_Command_Rejected="handleMediaCommandRejected",e.Handle_Media_Ready="handleMediaReady",e.Handle_Media_Starting="handleMediaStarting",e.Handle_Media_Blocked="handleMediaBlocked",e.Handle_Media_Loaded="handleMediaLoaded",e.Handle_Media_Request_Profile_Changed="handleMediaRequestProfileChanged",e.Handle_Media_Profile_Changed="handleMediaProfileChanged",e.Handle_Media_Profiles_Changed="handleMediaProfilesChanged",e.Handle_Media_Target_Profile_Changed="handleMediaTargetProfileChanged",e.Handle_Media_Buffering_Started="handleMediaBufferingStarted",e.Handle_Media_Buffering_Finished="handleMediaBufferingFinished",e.Handle_Media_Started="handleMediaStarted",e.Handle_Media_Seeking_Started="handleMediaSeekingStarted",e.Handle_Media_Seeking_Finished="handleMediaSeekingFinished",e.Handle_Media_Volume_Changed="handleMediaVolumeChanged",e.Handle_Media_Resized="handleMediaResized",e.Handle_Media_Timed_Metadata_Parsed="handleMediaTimedMetadataParsed",e.Handle_Media_Timed_Metadata_Received="handleMediaTimedMetadataReceived",e.Handle_Media_Audio_Track_Availability_Changed="handleMediaAudioTrackAvailabilityChanged",e.Handle_Media_Audio_Track_Selected="handleMediaAudioTrackSelected",e.Handle_Media_Finished="handleMediaFinished",e.Handle_Media_Stalled="handleMediaStalled",e.Handle_Media_Error="handleMediaError",e.Handle_Ad_Break_List_Change="handleAdBreakListChange",e.Handle_Ad_Starting="handleAdStarting",e.Handle_Ad_Started="handleAdStarted",e.Handle_Ad_Blocked="handleAdBlocked",e.Handle_Ad_Loaded="handleAdLoaded",e.Handle_Ad_Creative_Started="handleAdCreativeStarted",e.Handle_Ad_Creative_Ended="handleAdCreativeEnded",e.Handle_Ad_Finished="handleAdFinished",e.Handle_Ad_Error="handleAdError",e.Handle_Caption_Track="handleCaptionTrack",e.Handle_Caption_Cue="handleCaptionCue",e.Handle_Remote_Playback="handleRemotePlayback",e.Handle_Picture_In_Picture_Entered="handlePictureInPictureEntered",e.Handle_Picture_In_Picture_Exited="handlePictureInPictureExited",e.Handle_Hdmi_Connection_Status_Changed="handleHdmiConnectionStatusChanged",e.Handle_Airplay_Requested="handleAirplayRequested",e.Handle_Open_Measurement_Error="handleOpenMeasurementError",e.Handle_Thumbnail="handleThumbnail"}(ut||(ut={})),function(e){e.Model_Update_Request="modelUpdateRequest",e.DRM_Token_Request="drmTokenRequest",e.Volume_Changed="mediaVolumeChanged",e.Mute_Changed="mediaMuteChanged",e.Media_Command_Received="mediaCommandReceived",e.Media_Command_Rejected="mediaCommandRejected",e.Media_State_Changed="mediaStateChanged",e.Media_Ready="mediaReady",e.Media_Starting="mediaStarting",e.Media_Blocked="mediaBlocked",e.Media_Loaded="mediaLoaded",e.Media_Started="mediaStarted",e.Media_Buffering_Started="mediaBufferingStarted",e.Media_Buffering_Finished="mediaBufferingFinished",e.Media_Seeking_Started="mediaSeekingStarted",e.Media_Seeking_Finished="mediaSeekingFinished",e.Media_Target_Profile_Changed="mediaTargetProfileChanged",e.Media_Request_Profile_Changed="mediaRequestProfileChanged",e.Media_Profile_Changed="mediaProfileChanged",e.Media_Time_Changed="mediaTimeChanged",e.Media_Paused="mediaPaused",e.Media_Resumed="mediaResumed",e.Media_Recovery_Started="mediaRecoveryStarted",e.Media_Recovery_Finished="mediaRecoveryFinished",e.Media_Resized="mediaResized",e.Media_Stopped="mediaStopped",e.Media_Timed_Metadata_Parsed="mediaTimedMetadataParsed",e.Media_Timed_Metadata_Received="mediaTimedMetadataReceived",e.Media_Audio_Track_Availability_Changed="mediaAudioTrackAvailabilityChanged",e.Media_Audio_Track_Selected="mediaAudioTrackSelected",e.Media_Finished="mediaFinished",e.Media_Error="mediaError",e.Media_Stalled="mediaStalled",e.Ad_State_Changed="adStateChanged",e.Ad_Starting="adStarting",e.Ad_Started="adStarted",e.Ad_Buffering_Started="adBufferingStarted",e.Ad_Buffering_Finished="adBufferingFinished",e.Ad_Blocked="adBlocked",e.Ad_Loaded="adLoaded",e.Ad_Creative_Started="adCreativeStarted",e.Ad_Time_Changed="adTimeChanged",e.Ad_Paused="adPaused",e.Ad_Resumed="adResumed",e.Ad_Stopped="adStopped",e.Ad_Creative_Ended="adCreativeEnded",e.Ad_Finished="adFinished",e.Ad_Error="adError",e.Ad_Clicked="adClicked",e.Caption_Track_Added="captionTrackAdded",e.Caption_Track_Removed="captionTrackRemoved",e.Caption_Track_Selected="captionTrackSelected",e.Caption_Track_Deselected="captionTrackDeselected",e.Caption_Cue_Parsed="captionCueParsed",e.Caption_Cue_Entered="captionCueEntered",e.Caption_Cue_Exited="captionCueExited",e.Caption_Cue_Updated="captionCueUpdated",e.Remote_Playback_Selected="remotePlaybackSelected",e.Remote_Playback_Deselected="remotePlaybackDeselected",e.Picture_In_Picture_Entered="pictureInPictureEntered",e.Picture_In_Picture_Exited="pictureInPictureExited",e.Hdmi_Connection_Status_Changed="hdmiConnectionStatusChanged",e.Airplay_Requested="airplayRequested",e.Open_Measurement_Error="openMeasurementError",e.Playback_Speed_Changed="playbackSpeedChanged"}(ct||(ct={})),function(e){e.EMBEDDED="embedded",e.TAG="tag",e.OTHER="other"}(lt||(lt={})),function(e){e.Pending="pending",e.Windowed="windowed",e.Fullscreen="fullscreen",e.Remote="remote",e.Picture_In_Picture="pictureInPicture"}(dt||(dt={})),function(e){e.Pending="pending",e.Creating="creating",e.Created="created",e.Attaching="attaching",e.Attached="attached",e.Windowed="windowed",e.Entering_Fullscreen="enteringFullscreen",e.Fullscreen="fullscreen",e.Exiting_Fullscreen="exitingFullscreen",e.Entering_Remote="enteringRemote",e.Remote="remote",e.Exiting_Remote="exitingRemote",e.Entering_Picture_In_Picture="enteringPictureInPicture",e.Picture_In_Picture="pictureInPicture",e.Exiting_Picture_In_Picture="exitingPictureInPicture",e.Detaching="detaching",e.Detached="detached",e.Destroying="destroying",e.Destroyed="destroyed",e.Error="error"}(_t||(_t={})),function(e){e.State_Changed="stateChanged",e.Processed="processed",e.Activated="activated"}(ft||(ft={})),function(e){e.Embedded="embedded",e.Manifest="manifest",e.Unknown="unknown"}(ht||(ht={})),function(e){e.Pending="pending",e.Processing="processing",e.Processed="processed",e.Listening="listening",e.Activated="activated",e.Completed="completed"}(pt||(pt={})),function(e){e.Widevine="widevine",e.Fairplay="fairplay",e.Playready="playready"}(gt||(gt={})),function(e){e.Unknown="UN",e.Nexus="NX",e.Target="TA",e.Shared="SH",e.Native_Service="NS"}(vt||(vt={})),function(e){e.Unknown="00",e.Web="01",e.iOS="02",e.Android="03",e.React_Native="04"}(mt||(mt={})),function(e){e.Provider_Does_Not_Exist="The GDPR Transparency and Consent Framework does not exist.",e.Request_Timeout="Request for the GDPR consent data timed out. Ensure to accept the prompt displayed by the CMP provider.",e.Request_Error="There was an error when retrieving the GDPR consent data.",e.Mismatch_Error="The configured GDPR Transparency and Consent Framework version does not match the version available."}(yt||(yt={})),function(e){e.Default="default",e.None="none",e.Toggle_Pause="togglePause",e.Toggle_Controls="toggleControls"}(bt||(bt={})),function(e){e.Controls="controls",e.Slates="slates",e.Containers="containers"}(St||(St={})),function(e){e.Root_Surface="RootSurface"}(Et||(Et={})),function(e){e.Left="left",e.Right="right",e.Center="center",e.Top_Left="topLeft",e.Top_Right="topRight"}($t||($t={})),function(e){e.Play="Play",e.Volume="Volume",e.Closed_Captions="ClosedCaptions",e.Bitrate="Bitrate",e.Time_Duration="TimeDuration",e.Fullscreen="Fullscreen",e.Progress_Bar="ProgressBar",e.Live="Live",e.Air_Play="AirPlay",e.Cast="Cast",e.Fast_Forward="FastForward",e.Rewind="Rewind"}(Tt||(Tt={})),function(e){e.Live="LIVE",e.VOD="VOD",e.Live_No_DVR="LIVE_NO_DVR"}(At||(At={})),function(e){e.Giant_Play="GiantPlaySlate",e.Start="StartSlate",e.Buffering="BufferingSlate",e.End="EndSlate",e.Ad="AdSlate",e.Media_Playback="MediaPlaybackSlate"}(Ct||(Ct={})),function(e){e.Default="default"}(Pt||(Pt={})),function(e){e[e.LongFormOnDemand=0]="LongFormOnDemand",e[e.ShortFormOnDemand=1]="ShortFormOnDemand",e[e.Live=2]="Live",e[e.UserGeneratedLongFormOnDemand=3]="UserGeneratedLongFormOnDemand",e[e.UserGeneratedShortFormOnDemand=4]="UserGeneratedShortFormOnDemand",e[e.UserGeneratedLive=5]="UserGeneratedLive",e[e.Bumper=6]="Bumper",e[e.Other=7]="Other"}(It||(It={}))},95766:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],u=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,d=u>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t),1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(u(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},62680:(e,t,n)=>{"use strict";var r=n(67286),i=n(89429),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},89429:(e,t,n)=>{"use strict";var r=n(4090),i=n(67286),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);return u&&c&&u(t,"length").configurable&&c(t,"length",{value:1+l(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},23716:(e,t,n)=>{var r=n(43335),i=n(71696);function o(){return(new Date).getTime()}var a,s=Array.prototype.slice,u={};a=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(e){u[e]=o()},"time"],[function(e){var t=u[e];if(!t)throw new Error("No such label: "+e);delete u[e];var n=o()-t;a.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),a.error(e.stack)},"trace"],[function(e){a.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);i.ok(!1,r.format.apply(null,t))}},"assert"]],l=0;l<c.length;l++){var d=c[l],_=d[0],f=d[1];a[f]||(a[f]=_)}e.exports=a},75195:(e,t,n)=>{"use strict";var r=n(81181)(),i=n(18959),o=r&&i("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(e){o=!1}var a=i("%SyntaxError%"),s=i("%TypeError%"),u=n(50326);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],d=!!u&&u(e,t);if(o)o(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===r&&d?d.enumerable:!r,value:n,writable:null===i&&d?d.writable:!i});else{if(!l&&(r||i||c))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},23914:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=1,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments),s=n(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},68136:(e,t,n)=>{"use strict";var r=n(23914);e.exports=Function.prototype.bind||r},18959:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(32636)(),_=n(18486)(),f=Object.getPrototypeOf||(_?function(e){return e.__proto__}:null),h={},p="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(68136),S=n(72196),E=b.call(Function.call,Array.prototype.concat),$=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),A=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,w=function(e,t){var n,r=e;if(S(y,r)&&(r="%"+(n=y[r])[0]+"%"),S(g,r)){var o=g[r];if(o===h&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,P,(function(e,t,n,i){r[r.length]=n?T(i,I,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=w("%"+r+"%",t),s=o.name,c=o.value,l=!1,d=o.alias;d&&(r=d[0],$(n,E([0,1],d)));for(var _=1,f=!0;_<n.length;_+=1){var h=n[_],p=A(h,0,1),v=A(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===v||"'"===v||"`"===v)&&p!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(l=!0),S(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&_+1>=n.length){var m=u(c,h);c=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[h]}else f=S(c,h),c=c[h];f&&!l&&(g[s]=c)}}return c}},14926:(e,t,n)=>{"use strict";var r=n(33464),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,u=n(81181)(),c=s&&u,l=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(i=r)||"[object Function]"!==o.call(i)||!r())return;var i;c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},d=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)l(e,o[s],t[o[s]],n[o[s]])};d.supportsDescriptors=!!c,e.exports=d},83243:(e,t,n)=>{"use strict";var r=n(9680),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a):"string"==typeof e?function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,a):function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,a)}},71166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tailRec=function(e,t){for(var n=e(t);n.isLeft();)n=e(n.value);return n.value}},87412:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(71166),o=n(14632),a=n(8190),s=n(67794);t.URI="Either";var u=function(){function e(e){this.value=e,this._tag="Left"}return e.prototype.map=function(e){return this},e.prototype.ap=function(e){return e.isLeft()?e:this},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return this},e.prototype.bimap=function(t,n){return new e(t(this.value))},e.prototype.alt=function(e){return e},e.prototype.orElse=function(e){return e(this.value)},e.prototype.extend=function(e){return this},e.prototype.reduce=function(e,t){return e},e.prototype.fold=function(e,t){return e(this.value)},e.prototype.getOrElse=function(e){return e},e.prototype.getOrElseL=function(e){return e(this.value)},e.prototype.mapLeft=function(t){return new e(t(this.value))},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"left("+o.toString(this.value)+")"},e.prototype.isLeft=function(){return!0},e.prototype.isRight=function(){return!1},e.prototype.swap=function(){return new c(this.value)},e.prototype.filterOrElse=function(e,t){return this},e.prototype.filterOrElseL=function(e,t){return this},e.prototype.refineOrElse=function(e,t){return this},e.prototype.refineOrElseL=function(e,t){return this},e}();t.Left=u;var c=function(){function e(e){this.value=e,this._tag="Right"}return e.prototype.map=function(t){return new e(t(this.value))},e.prototype.ap=function(e){return e.isRight()?this.map(e.value):t.left(e.value)},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return e(this.value)},e.prototype.bimap=function(t,n){return new e(n(this.value))},e.prototype.alt=function(e){return this},e.prototype.orElse=function(e){return this},e.prototype.extend=function(t){return new e(t(this))},e.prototype.reduce=function(e,t){return t(e,this.value)},e.prototype.fold=function(e,t){return t(this.value)},e.prototype.getOrElse=function(e){return this.value},e.prototype.getOrElseL=function(e){return this.value},e.prototype.mapLeft=function(t){return new e(this.value)},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"right("+o.toString(this.value)+")"},e.prototype.isLeft=function(){return!1},e.prototype.isRight=function(){return!0},e.prototype.swap=function(){return new u(this.value)},e.prototype.filterOrElse=function(e,n){return e(this.value)?this:t.left(n)},e.prototype.filterOrElseL=function(e,n){return e(this.value)?this:t.left(n(this.value))},e.prototype.refineOrElse=function(e,n){return e(this.value)?this:t.left(n)},e.prototype.refineOrElseL=function(e,n){return e(this.value)?this:t.left(n(this.value))},e}();function l(e,t){return a.fromEquals((function(n,r){return n.isLeft()?r.isLeft()&&e.equals(n.value,r.value):r.isRight()&&t.equals(n.value,r.value)}))}function d(e){return{URI:t.URI,_L:void 0,compact:function(n){return n.isLeft()?n:n.value.isNone()?t.left(e.empty):t.right(n.value.value)},separate:function(n){return n.isLeft()?{left:n,right:n}:n.value.isLeft()?{left:t.right(n.value.value),right:t.left(e.empty)}:{left:t.left(e.empty),right:t.right(n.value.value)}}}}function _(e){var n=d(e);return r({},n,{map:t.either.map,partitionMap:function(n,r){if(n.isLeft())return{left:n,right:n};var i=r(n.value);return i.isLeft()?{left:t.right(i.value),right:t.left(e.empty)}:{left:t.left(e.empty),right:t.right(i.value)}},filterMap:function(n,r){if(n.isLeft())return n;var i=r(n.value);return i.isSome()?t.right(i.value):t.left(e.empty)},partition:function(n,r){return n.isLeft()?{left:n,right:n}:r(n.value)?{left:t.left(e.empty),right:t.right(n.value)}:{left:t.right(n.value),right:t.left(e.empty)}},filter:function(t,n){return t.filterOrElse(n,e.empty)}})}t.Right=c,t.getShow=function(e,t){return{show:function(n){return n.fold((function(t){return"left("+e.show(t)+")"}),(function(e){return"right("+t.show(e)+")"}))}}},t.getSetoid=l,t.getEq=l,t.getSemigroup=function(e){return{concat:function(n,r){return r.isLeft()?n:n.isLeft()?r:t.right(e.concat(n.value,r.value))}}},t.getApplySemigroup=function(e){return{concat:function(n,r){return n.isLeft()?n:r.isLeft()?r:t.right(e.concat(n.value,r.value))}}},t.getApplyMonoid=function(e){return r({},t.getApplySemigroup(e),{empty:t.right(e.empty)})},t.left=function(e){return new u(e)},t.right=function(e){return new c(e)},t.fromRefinement=function(e,n){return function(r){return e(r)?t.right(r):t.left(n(r))}},t.fromOption=function(e){return function(n){return n.isNone()?t.left(e):t.right(n.value)}},t.fromNullable=function(e){return function(n){return null==n?t.left(e):t.right(n)}},t.toError=function(e){return e instanceof Error?e:new Error(String(e))},t.tryCatch=function(e,n){return void 0===n&&(n=t.toError),t.tryCatch2v(e,n)},t.tryCatch2v=function(e,n){try{return t.right(e())}catch(e){return t.left(n(e))}},t.fromValidation=function(e){return e.isFailure()?t.left(e.value):t.right(e.value)},t.isLeft=function(e){return e.isLeft()},t.isRight=function(e){return e.isRight()},t.getCompactable=d,t.getFilterable=_,t.getWitherable=function(e){var n=_(e);return r({},n,{traverse:t.either.traverse,reduce:t.either.reduce,wither:function(e){var r=t.either.traverse(e);return function(t,i){return e.map(r(t,i),n.compact)}},wilt:function(e){var r=t.either.traverse(e);return function(t,i){return e.map(r(t,i),n.separate)}}})},t.parseJSON=function(e,n){return t.tryCatch2v((function(){return JSON.parse(e)}),n)},t.stringifyJSON=function(e,n){return t.tryCatch2v((function(){return JSON.stringify(e)}),n)};var f=t.left,h=o.identity;function p(e,n){return{concat:function(r,i){return t.isLeft(r)?t.isLeft(i)?t.left(e.concat(r.value,i.value)):r:t.isLeft(i)?i:t.right(n.concat(r.value,i.value))}}}t.either={URI:t.URI,map:function(e,t){return e.map(t)},of:t.right,ap:function(e,t){return t.ap(e)},chain:function(e,t){return e.chain(t)},reduce:function(e,t,n){return e.reduce(t,n)},foldMap:function(e){return function(t,n){return t.isLeft()?e.empty:n(t.value)}},foldr:function(e,t,n){return e.isLeft()?t:n(e.value,t)},traverse:function(e){return function(n,r){return n.isLeft()?e.of(t.left(n.value)):e.map(r(n.value),t.right)}},sequence:function(e){return function(n){return n.isLeft()?e.of(t.left(n.value)):e.map(n.value,t.right)}},bimap:function(e,t,n){return e.bimap(t,n)},alt:function(e,t){return e.alt(t)},extend:function(e,t){return e.extend(t)},chainRec:function(e,n){return i.tailRec((function(e){if(e.isLeft())return t.right(t.left(e.value));var r=e.value;return r.isLeft()?t.left(n(r.value)):t.right(t.right(r.value))}),n(e))},throwError:f,fromEither:h,fromOption:function(e,n){return e.isNone()?f(n):t.right(e.value)}},t.fold=function(e,t){return function(n){return n.fold(e,t)}},t.orElse=function(e){return function(t){return t.orElse(e)}},t.getOrElse=function(e){return function(t){return t.getOrElseL(e)}},t.elem=function(e){return function(n){return function(r){return!t.isLeft(r)&&e.equals(n,r.value)}}},t.getValidation=function(e){return{URI:t.URI,_L:void 0,map:t.either.map,of:t.either.of,ap:function(n,r){return t.isLeft(n)?t.isLeft(r)?t.left(e.concat(n.value,r.value)):n:t.isLeft(r)?r:t.right(n.value(r.value))},chain:t.either.chain,alt:function(n,r){return t.isRight(n)?n:t.isLeft(r)?t.left(e.concat(n.value,r.value)):r}}},t.getValidationSemigroup=p,t.getValidationMonoid=function(e,n){return{concat:p(e,n).concat,empty:t.right(n.empty)}};var g=s.pipeable(t.either),v=g.alt,m=g.ap,y=g.apFirst,b=g.apSecond,S=g.bimap,E=g.chain,$=g.chainFirst,T=g.duplicate,A=g.extend,C=g.flatten,P=g.foldMap,I=g.map,w=g.mapLeft,M=g.reduce,k=g.reduceRight,O=g.fromPredicate,R=g.filterOrElse,D=g.fromOption;t.alt=v,t.ap=m,t.apFirst=y,t.apSecond=b,t.bimap=S,t.chain=E,t.chainFirst=$,t.duplicate=T,t.extend=A,t.flatten=C,t.foldMap=P,t.map=I,t.mapLeft=w,t.reduce=M,t.reduceRight=k,t.fromPredicate=O,t.filterOrElse=R,t.fromOptionL=D},8190:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67794);function i(e){return{equals:function(t,n){return t===n||e(t,n)}}}function o(e,t){return e===t}t.URI="Eq",t.fromEquals=i,t.strictEqual=o;var a={equals:o};t.eqString=a,t.eqNumber=a,t.eqBoolean=a,t.getStructEq=function(e){return i((function(t,n){for(var r in e)if(!e[r].equals(t[r],n[r]))return!1;return!0}))},t.getTupleEq=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i((function(t,n){return e.every((function(e,r){return e.equals(t[r],n[r])}))}))},t.eq={URI:t.URI,contramap:function(e,t){return i((function(n,r){return e.equals(t(n),t(r))}))}};var s=r.pipeable(t.eq).contramap;t.contramap=s,t.eqDate=t.eq.contramap(t.eqNumber,(function(e){return e.valueOf()}))},95368:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(14632),o=n(98744);t.fold=function(e){return o.fold(e)(e.empty)},t.getTupleMonoid=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r({},o.getTupleSemigroup.apply(void 0,e),{empty:e.map((function(e){return e.empty}))})},t.getProductMonoid=function(e,n){return t.getTupleMonoid(e,n)},t.getDualMonoid=function(e){return r({},o.getDualSemigroup(e),{empty:e.empty})},t.monoidAll=r({},o.semigroupAll,{empty:!0}),t.monoidAny=r({},o.semigroupAny,{empty:!1}),t.unsafeMonoidArray={concat:i.concat,empty:[]},t.getArrayMonoid=function(){return t.unsafeMonoidArray};var a={};t.getDictionaryMonoid=function(e){return r({},o.getDictionarySemigroup(e),{empty:a})},t.monoidSum=r({},o.semigroupSum,{empty:0}),t.monoidProduct=r({},o.semigroupProduct,{empty:1}),t.monoidString=r({},o.semigroupString,{empty:""}),t.monoidVoid=r({},o.semigroupVoid,{empty:void 0}),t.getFunctionMonoid=function(e){return function(){return r({},o.getFunctionSemigroup(e)(),{empty:function(){return e.empty}})}},t.getEndomorphismMonoid=function(){return{concat:function(e,t){return function(n){return e(t(n))}},empty:i.identity}},t.getStructMonoid=function(e){for(var t={},n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];t[a]=e[a].empty}return r({},o.getStructSemigroup(e),{empty:t})},t.getRecordMonoid=function(e){return t.getStructMonoid(e)},t.getMeetMonoid=function(e){return r({},o.getMeetSemigroup(e),{empty:e.top})},t.getJoinMonoid=function(e){return r({},o.getJoinSemigroup(e),{empty:e.bottom})}},72720:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(14632),o=n(95368),a=n(83235),s=n(8190),u=n(67794);t.URI="Option";var c=function(){function e(){this._tag="None"}return e.prototype.map=function(e){return t.none},e.prototype.mapNullable=function(e){return t.none},e.prototype.ap=function(e){return t.none},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return t.none},e.prototype.reduce=function(e,t){return e},e.prototype.alt=function(e){return e},e.prototype.orElse=function(e){return e()},e.prototype.extend=function(e){return t.none},e.prototype.fold=function(e,t){return e},e.prototype.foldL=function(e,t){return e()},e.prototype.getOrElse=function(e){return e},e.prototype.getOrElseL=function(e){return e()},e.prototype.toNullable=function(){return null},e.prototype.toUndefined=function(){},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"none"},e.prototype.contains=function(e,t){return!1},e.prototype.isNone=function(){return!0},e.prototype.isSome=function(){return!1},e.prototype.exists=function(e){return!1},e.prototype.filter=function(e){return t.none},e.prototype.refine=function(e){return t.none},e.value=new e,e}();t.None=c,t.none=c.value;var l=function(){function e(e){this.value=e,this._tag="Some"}return e.prototype.map=function(t){return new e(t(this.value))},e.prototype.mapNullable=function(e){return t.fromNullable(e(this.value))},e.prototype.ap=function(n){return n.isNone()?t.none:new e(n.value(this.value))},e.prototype.ap_=function(e){return e.ap(this)},e.prototype.chain=function(e){return e(this.value)},e.prototype.reduce=function(e,t){return t(e,this.value)},e.prototype.alt=function(e){return this},e.prototype.orElse=function(e){return this},e.prototype.extend=function(t){return new e(t(this))},e.prototype.fold=function(e,t){return t(this.value)},e.prototype.foldL=function(e,t){return t(this.value)},e.prototype.getOrElse=function(e){return this.value},e.prototype.getOrElseL=function(e){return this.value},e.prototype.toNullable=function(){return this.value},e.prototype.toUndefined=function(){return this.value},e.prototype.inspect=function(){return this.toString()},e.prototype.toString=function(){return"some("+i.toString(this.value)+")"},e.prototype.contains=function(e,t){return e.equals(this.value,t)},e.prototype.isNone=function(){return!1},e.prototype.isSome=function(){return!0},e.prototype.exists=function(e){return e(this.value)},e.prototype.filter=function(e){return this.exists(e)?this:t.none},e.prototype.refine=function(e){return this.filter(e)},e}();function d(e){return s.fromEquals((function(t,n){return t.isNone()?n.isNone():!n.isNone()&&e.equals(t.value,n.value)}))}t.Some=l,t.getShow=function(e){return{show:function(t){return t.fold("none",(function(t){return"some("+e.show(t)+")"}))}}},t.getSetoid=d,t.getEq=d,t.getOrd=function(e){return a.fromCompare((function(t,n){return t.isSome()?n.isSome()?e.compare(t.value,n.value):1:-1}))},t.some=function(e){return new l(e)},t.getApplySemigroup=function(e){return{concat:function(n,r){return n.isSome()&&r.isSome()?t.some(e.concat(n.value,r.value)):t.none}}},t.getApplyMonoid=function(e){return r({},t.getApplySemigroup(e),{empty:t.some(e.empty)})},t.getFirstMonoid=function(){return{concat:t.option.alt,empty:t.none}},t.getLastMonoid=function(){return o.getDualMonoid(t.getFirstMonoid())},t.getMonoid=function(e){return{concat:function(n,r){return n.isNone()?r:r.isNone()?n:t.some(e.concat(n.value,r.value))},empty:t.none}},t.fromNullable=function(e){return null==e?t.none:new l(e)},t.fromPredicate=function(e){return function(n){return e(n)?t.some(n):t.none}},t.tryCatch=function(e){try{return t.some(e())}catch(e){return t.none}},t.fromEither=function(e){return e.isLeft()?t.none:t.some(e.value)},t.isSome=function(e){return e.isSome()},t.isNone=function(e){return e.isNone()},t.fromRefinement=function(e){return function(n){return e(n)?t.some(n):t.none}},t.getRefinement=function(e){return function(t){return e(t).isSome()}};var _={left:t.none,right:t.none};function f(e){return"Right"===e._tag?t.none:t.some(e.value)}function h(e){return"Left"===e._tag?t.none:t.some(e.value)}t.option={URI:t.URI,map:function(e,n){return t.isNone(e)?t.none:t.some(n(e.value))},of:t.some,ap:function(e,n){return t.isNone(e)||t.isNone(n)?t.none:t.some(e.value(n.value))},chain:function(e,n){return t.isNone(e)?t.none:n(e.value)},reduce:function(e,n,r){return t.isNone(e)?n:r(n,e.value)},foldMap:function(e){return function(n,r){return t.isNone(n)?e.empty:r(n.value)}},foldr:function(e,n,r){return t.isNone(e)?n:r(e.value,n)},traverse:function(e){return function(n,r){return t.isNone(n)?e.of(t.none):e.map(r(n.value),t.some)}},sequence:function(e){return function(n){return t.isNone(n)?e.of(t.none):e.map(n.value,t.some)}},zero:function(){return t.none},alt:function(e,n){return t.isNone(e)?n:e},extend:function(e,n){return t.isNone(e)?t.none:t.some(n(e))},compact:function(e){return t.option.chain(e,i.identity)},separate:function(e){var n=t.option.map(e,(function(e){return{left:f(e),right:h(e)}}));return t.isNone(n)?_:n.value},filter:function(e,n){return t.isNone(e)?t.none:n(e.value)?e:t.none},filterMap:function(e,n){return t.isNone(e)?t.none:n(e.value)},partition:function(e,n){return{left:t.option.filter(e,(function(e){return!n(e)})),right:t.option.filter(e,n)}},partitionMap:function(e,n){return t.option.separate(t.option.map(e,n))},wither:function(e){return function(n,r){return t.isNone(n)?e.of(t.none):r(n.value)}},wilt:function(e){return function(n,r){var i=t.option.map(n,(function(t){return e.map(r(t),(function(e){return{left:f(e),right:h(e)}}))}));return t.isNone(i)?e.of({left:t.none,right:t.none}):i.value}},throwError:function(){return t.none},fromEither:t.fromEither,fromOption:i.identity},t.getLeft=f,t.getRight=h,t.fold=function(e,t){return function(n){return n.foldL(e,t)}},t.toNullable=function(e){return e.toNullable()},t.toUndefined=function(e){return e.toUndefined()},t.getOrElse=function(e){return function(t){return t.getOrElseL(e)}},t.elem=function(e){return function(t){return function(n){return n.contains(e,t)}}},t.exists=function(e){return function(t){return t.exists(e)}},t.mapNullable=function(e){return function(t){return t.mapNullable(e)}};var p=u.pipeable(t.option),g=p.alt,v=p.ap,m=p.apFirst,y=p.apSecond,b=p.chain,S=p.chainFirst,E=p.duplicate,$=p.extend,T=p.filter,A=p.filterMap,C=p.flatten,P=p.foldMap,I=p.map,w=p.partition,M=p.partitionMap,k=p.reduce,O=p.reduceRight,R=p.compact,D=p.separate;t.alt=g,t.ap=v,t.apFirst=m,t.apSecond=y,t.chain=b,t.chainFirst=S,t.duplicate=E,t.extend=$,t.filter=T,t.filterMap=A,t.flatten=C,t.foldMap=P,t.map=I,t.partition=w,t.partitionMap=M,t.reduce=k,t.reduceRight=O,t.compact=R,t.separate=D},83235:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(8190),o=n(14632),a=n(90580);function s(e,n){return t.fromCompare(o.on(n.compare)(e))}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length?function(t){return s(e[0],t)}:s(e[0],e[1])}t.URI="Ord",t.unsafeCompare=function(e,t){return e<t?-1:e>t?1:0},t.ordString=r({},i.eqString,{compare:t.unsafeCompare}),t.ordNumber=r({},i.eqNumber,{compare:t.unsafeCompare}),t.ordBoolean=r({},i.eqBoolean,{compare:t.unsafeCompare}),t.lt=function(e){return function(t,n){return-1===e.compare(t,n)}},t.lessThan=t.lt,t.gt=function(e){return function(t,n){return 1===e.compare(t,n)}},t.greaterThan=t.gt,t.leq=function(e){return function(t,n){return 1!==e.compare(t,n)}},t.lessThanOrEq=t.leq,t.geq=function(e){return function(t,n){return-1!==e.compare(t,n)}},t.greaterThanOrEq=t.geq,t.min=function(e){return function(t,n){return 1===e.compare(t,n)?n:t}},t.max=function(e){return function(t,n){return-1===e.compare(t,n)?n:t}},t.clamp=function(e){var n=t.min(e),r=t.max(e);return function(e,t){return function(i){return r(n(i,t),e)}}},t.between=function(e){var n=t.lt(e),r=t.gt(e);return function(e,t){return function(i){return!n(i,e)&&!r(i,t)}}},t.fromCompare=function(e){var t=function(t,n){return t===n?0:e(t,n)};return{equals:function(e,n){return 0===t(e,n)},compare:t}},t.contramap=u,t.getSemigroup=function(){return{concat:function(e,n){return t.fromCompare((function(t,r){return a.semigroupOrdering.concat(e.compare(t,r),n.compare(t,r))}))}}},t.getTupleOrd=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length;return t.fromCompare((function(t,n){for(var i=0;i<r-1;i++){var o=e[i].compare(t[i],n[i]);if(0!==o)return o}return e[i].compare(t[i],n[i])}))},t.getProductOrd=function(e,n){return t.getTupleOrd(e,n)},t.getDualOrd=function(e){return t.fromCompare((function(t,n){return e.compare(n,t)}))},t.ord={URI:t.URI,contramap:function(e,t){return u(t,e)}},t.ordDate=t.ord.contramap(t.ordNumber,(function(e){return e.valueOf()}))},90580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sign=function(e){return e<=-1?-1:e>=1?1:0},t.eqOrdering={equals:function(e,t){return e===t}},t.setoidOrdering=t.eqOrdering,t.semigroupOrdering={concat:function(e,t){return 0!==e?e:t}},t.invert=function(e){switch(e){case-1:return 1;case 1:return-1;default:return 0}}},98744:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=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},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(83235),o=n(14632);function a(e){return{concat:function(t,n){for(var i=r({},t),o=Object.keys(n),a=o.length,s=0;s<a;s++){var u=o[s];i[u]=t.hasOwnProperty(u)?e.concat(t[u],n[u]):n[u]}return i}}}t.fold=function(e){return function(t){return function(n){return n.reduce(e.concat,t)}}},t.getFirstSemigroup=function(){return{concat:o.identity}},t.getLastSemigroup=function(){return{concat:function(e,t){return t}}},t.getTupleSemigroup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{concat:function(t,n){return e.map((function(e,r){return e.concat(t[r],n[r])}))}}},t.getProductSemigroup=function(e,n){return t.getTupleSemigroup(e,n)},t.getDualSemigroup=function(e){return{concat:function(t,n){return e.concat(n,t)}}},t.getFunctionSemigroup=function(e){return function(){return{concat:function(t,n){return function(r){return e.concat(t(r),n(r))}}}}},t.getStructSemigroup=function(e){return{concat:function(t,n){for(var r={},i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];r[a]=e[a].concat(t[a],n[a])}return r}}},t.getRecordSemigroup=function(e){return t.getStructSemigroup(e)},t.getMeetSemigroup=function(e){return{concat:i.min(e)}},t.getJoinSemigroup=function(e){return{concat:i.max(e)}},t.semigroupAll={concat:function(e,t){return e&&t}},t.semigroupAny={concat:function(e,t){return e||t}},t.getArraySemigroup=function(){return{concat:o.concat}},t.getDictionarySemigroup=a;var s=a(t.getLastSemigroup());t.getObjectSemigroup=function(){return s},t.semigroupSum={concat:function(e,t){return e+t}},t.semigroupProduct={concat:function(e,t){return e*t}},t.semigroupString={concat:function(e,t){return e+t}},t.semigroupVoid={concat:function(){}}},14632:(e,t)=>{"use strict";function n(e,r,i){return function(o){var a=t.concat(i,[o]);return 0===r?e.apply(this,a):n(e,r-1,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e},t.unsafeCoerce=t.identity,t.not=function(e){return function(t){return!e(t)}},t.or=function(e,t){return function(n){return e(n)||t(n)}},t.and=function(e,t){return function(n){return e(n)&&t(n)}},t.constant=function(e){return function(){return e}},t.constTrue=function(){return!0},t.constFalse=function(){return!1},t.constNull=function(){return null},t.constUndefined=function(){},t.constVoid=function(){},t.flip=function(e){return function(t){return function(n){return e(n)(t)}}},t.on=function(e){return function(t){return function(n,r){return e(t(n),t(r))}}},t.compose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length-1;return function(t){for(var r=t,i=n;i>-1;i--)r=e[i].call(this,r);return r}},t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length-1;return function(t){for(var r=t,i=0;i<=n;i++)r=e[i].call(this,r);return r}},t.concat=function(e,t){var n=e.length;if(0===n)return t;var r=t.length;if(0===r)return e;for(var i=Array(n+r),o=0;o<n;o++)i[o]=e[o];for(o=0;o<r;o++)i[o+n]=t[o];return i},t.curried=n,t.curry=function(e){return n(e,e.length-1,[])},t.toString=function(e){if("string"==typeof e)return JSON.stringify(e);if(e instanceof Date)return"new Date('"+e.toISOString()+"')";if(Array.isArray(e))return"["+e.map(t.toString).join(", ")+"]";if("function"==typeof e)return(n=e).displayName||n.name||"<function"+n.length+">";var n;if(null==e)return String(e);if("function"==typeof e.toString&&e.toString!==Object.prototype.toString)return e.toString();try{return JSON.stringify(e,null,2)}catch(t){return String(e)}},t.tuple=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e},t.tupleCurried=function(e){return function(t){return[e,t]}},t.apply=function(e){return function(t){return e(t)}},t.applyFlipped=function(e){return function(t){return t(e)}},t.phantom=void 0,t.constIdentity=function(){return t.identity},t.increment=function(e){return e+1},t.decrement=function(e){return e-1},t.absurd=function(e){throw new Error("Called `absurd` function which should be uncallable")},t.flow=function(e,t,n,r,i,o,a,s,u){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return n(t(e.apply(this,arguments)))};case 4:return function(){return r(n(t(e.apply(this,arguments))))};case 5:return function(){return i(r(n(t(e.apply(this,arguments)))))};case 6:return function(){return o(i(r(n(t(e.apply(this,arguments))))))};case 7:return function(){return a(o(i(r(n(t(e.apply(this,arguments)))))))};case 8:return function(){return s(a(o(i(r(n(t(e.apply(this,arguments))))))))};case 9:return function(){return u(s(a(o(i(r(n(t(e.apply(this,arguments)))))))))}}}},67794:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14632);t.pipe=function(e,t,n,r,i,o,a,s,u,c){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return o(i(r(n(t(e)))));case 7:return a(o(i(r(n(t(e))))));case 8:return s(a(o(i(r(n(t(e)))))));case 9:return u(s(a(o(i(r(n(t(e))))))));case 10:return c(u(s(a(o(i(r(n(t(e)))))))))}},t.pipeable=function(e){var t={};return function(e){return"function"==typeof e.map}(e)&&(t.map=function(t){return function(n){return e.map(n,t)}}),function(e){return"function"==typeof e.contramap}(e)&&(t.contramap=function(t){return function(n){return e.contramap(n,t)}}),function(e){return"function"==typeof e.mapWithIndex}(e)&&(t.mapWithIndex=function(t){return function(n){return e.mapWithIndex(n,t)}}),function(e){return"function"==typeof e.ap}(e)&&(t.ap=function(t){return function(n){return e.ap(n,t)}},t.apFirst=function(t){return function(n){return e.ap(e.map(n,(function(e){return function(){return e}})),t)}},t.apSecond=function(t){return function(n){return e.ap(e.map(n,(function(){return function(e){return e}})),t)}}),function(e){return"function"==typeof e.chain}(e)&&(t.chain=function(t){return function(n){return e.chain(n,t)}},t.chainFirst=function(t){return function(n){return e.chain(n,(function(n){return e.map(t(n),(function(){return n}))}))}},t.flatten=function(t){return e.chain(t,r.identity)}),function(e){return"function"==typeof e.bimap}(e)&&(t.bimap=function(t,n){return function(r){return e.bimap(r,t,n)}},t.mapLeft=function(t){return function(n){return e.bimap(n,t,r.identity)}}),function(e){return"function"==typeof e.extend}(e)&&(t.extend=function(t){return function(n){return e.extend(n,t)}},t.duplicate=function(t){return e.extend(t,r.identity)}),function(e){return"function"==typeof e.reduce}(e)&&(t.reduce=function(t,n){return function(r){return e.reduce(r,t,n)}},t.foldMap=function(t){var n=e.foldMap(t);return function(e){return function(t){return n(t,e)}}},t.reduceRight=function(t,n){return function(r){return e.foldr(r,t,n)}}),function(e){return"function"==typeof e.reduceWithIndex}(e)&&(t.reduceWithIndex=function(t,n){return function(r){return e.reduceWithIndex(r,t,n)}},t.foldMapWithIndex=function(t){var n=e.foldMapWithIndex(t);return function(e){return function(t){return n(t,e)}}},t.reduceRightWithIndex=function(t,n){return function(r){return e.foldrWithIndex(r,t,n)}}),function(e){return"function"==typeof e.alt}(e)&&(t.alt=function(t){return function(n){return e.alt(n,t())}}),function(e){return"function"==typeof e.compact}(e)&&(t.compact=e.compact,t.separate=e.separate),function(e){return"function"==typeof e.filter}(e)&&(t.filter=function(t){return function(n){return e.filter(n,t)}},t.filterMap=function(t){return function(n){return e.filterMap(n,t)}},t.partition=function(t){return function(n){return e.partition(n,t)}},t.partitionMap=function(t){return function(n){return e.partitionMap(n,t)}}),function(e){return"function"==typeof e.filterWithIndex}(e)&&(t.filterWithIndex=function(t){return function(n){return e.filterWithIndex(n,t)}},t.filterMapWithIndex=function(t){return function(n){return e.filterMapWithIndex(n,t)}},t.partitionWithIndex=function(t){return function(n){return e.partitionWithIndex(n,t)}},t.partitionMapWithIndex=function(t){return function(n){return e.partitionMapWithIndex(n,t)}}),function(e){return"function"==typeof e.promap}(e)&&(t.promap=function(t,n){return function(r){return e.promap(r,t,n)}}),function(e){return"function"==typeof e.compose}(e)&&(t.compose=function(t){return function(n){return e.compose(n,t)}}),function(e){return"function"==typeof e.throwError}(e)&&(t.fromOption=function(t){return function(n){return"None"===n._tag?e.throwError(t()):e.of(n.value)}},t.fromEither=function(t){return"Left"===t._tag?e.throwError(t.value):e.of(t.value)},t.fromPredicate=function(t,n){return function(r){return t(r)?e.of(r):e.throwError(n(r))}},t.filterOrElse=function(t,n){return function(r){return e.chain(r,(function(r){return t(r)?e.of(r):e.throwError(n(r))}))}}),t}},37795:e=>{"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var i,o=t.call(arguments,1),a=Math.max(0,r.length-o.length),s=[],u=0;u<a;u++)s.push("$"+u);if(i=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i}},4090:(e,t,n)=>{"use strict";var r=n(37795);e.exports=Function.prototype.bind||r},67286:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(32636)(),_=n(18486)(),f=Object.getPrototypeOf||(_?function(e){return e.__proto__}:null),h={},p="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(4090),S=n(23198),E=b.call(Function.call,Array.prototype.concat),$=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),A=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,w=function(e,t){var n,r=e;if(S(y,r)&&(r="%"+(n=y[r])[0]+"%"),S(g,r)){var o=g[r];if(o===h&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,P,(function(e,t,n,i){r[r.length]=n?T(i,I,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=w("%"+r+"%",t),s=o.name,c=o.value,l=!1,d=o.alias;d&&(r=d[0],$(n,E([0,1],d)));for(var _=1,f=!0;_<n.length;_+=1){var h=n[_],p=A(h,0,1),v=A(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===v||"'"===v||"`"===v)&&p!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(l=!0),S(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&_+1>=n.length){var m=u(c,h);c=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[h]}else f=S(c,h),c=c[h];f&&!l&&(g[s]=c)}}return c}},50326:(e,t,n)=>{"use strict";var r=n(67286)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},81181:(e,t,n)=>{"use strict";var r=n(67286)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},18486:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},32636:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(66679);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},66679:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},67226:(e,t,n)=>{"use strict";var r=n(66679);e.exports=function(){return r()&&!!Symbol.toStringTag}},23198:(e,t,n)=>{"use strict";var r=n(4090);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},72196:(e,t,n)=>{"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(30464);e.exports=o.call(r,i)},69898:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=1,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments),s=n(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},30464:(e,t,n)=>{"use strict";var r=n(69898);e.exports=Function.prototype.bind||r},62333:(e,t)=>{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,d=n?i-1:0,_=n?-1:1,f=e[t+d];for(d+=_,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=_,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+d],d+=_,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,d=l>>1,_=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?_/u:_*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*p}},91285:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},52635:(e,t,n)=>{"use strict";var r=n(67226)(),i=n(62680)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},9680:e=>{"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i((function(){throw 42}),null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},u=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var _=document.all;u.call(_)===u.call(document.all)&&(d=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(a(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},43138:(e,t,n)=>{"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(67226)(),u=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&u(t)}return u(e)===r}},37053:e=>{"use strict";e.exports=function(e){return e!=e}},74782:(e,t,n)=>{"use strict";var r=n(89429),i=n(14926),o=n(37053),a=n(40755),s=n(55346),u=r(a(),Number);i(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},40755:(e,t,n)=>{"use strict";var r=n(37053);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},55346:(e,t,n)=>{"use strict";var r=n(14926),i=n(40755);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},95978:function(e,t,n){var r;!function(n,i){e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),u=String.fromCharCode,c=function(e){if(e.length<2)return(t=e.charCodeAt(0))<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+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(l,c)},_=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)].join("")},f=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,_)},h=function(e){return f(d(String(e)))},p=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?p(h(e)):h(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],u=e[r+2],c=o<<16|s<<8|u;n+=a.charAt(c>>>18)+a.charAt(c>>>12&63)+(void 0!==s?a.charAt(c>>>6&63):"=")+(void 0!==u?a.charAt(63&c):"=")}return t?p(n):n});var v,m=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=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(55296+(t>>>10))+u(56320+(1023&t));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))}},b=function(e){return e.replace(m,y)},S=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},E=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,S)},$=function(e){return E(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(e){return function(e){return b(E(e))}(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))};n.Uint8Array&&(v=function(e){return Uint8Array.from($(e),(function(e){return e.charCodeAt(0)}))});if(n.Base64={VERSION:"2.6.2",atob:$,btoa:f,fromBase64:T,toBase64:g,utob:d,encode:g,encodeURI:function(e){return g(e,!0)},btou:b,decode:T,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:v},"function"==typeof Object.defineProperty){var A=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",A((function(){return T(this)}))),Object.defineProperty(String.prototype,"toBase64",A((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",A((function(){return g(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(n)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this)},41317:(e,t,n)=>{"use strict";var r=n(23716);const i=n(95766),o=n(62333),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=c,t.h2=50;const s=2147483647;function u(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return _(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=u(n);const i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);const i=function(e){if(c.isBuffer(e)){const t=0|p(e.length),n=u(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?u(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function _(e){return d(e),u(e<0?0:0|p(e))}function f(e){const t=e.length<0?0:0|p(e.length),n=u(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,c.prototype),r}function p(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(i)return r?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return w(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),Q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else-1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return-1}function S(e,t,n,r){n=Number(n)||0;const i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;const o=t.length;let a;for(r>o/2&&(r=o/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(Q(r))return a;e[n+a]=r}return a}function E(e,t,n,r){return z(Y(t,e.length-n),e,n,r)}function $(e,t,n,r){return z(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function T(e,t,n,r){return z(K(t),e,n,r)}function A(e,t,n,r){return z(function(e,t){let n,r,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function P(e,t,n){n=Math.min(e.length,n);const r=[];let i=t;for(;i<n;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(u=(31&t)<<6|63&n,u>127&&(o=u));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){const t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}(r)}c.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||void 0===r||"function"!=typeof r.error||r.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return function(e,t,n){return d(e),e<=0?u(e):void 0!==t?"string"==typeof n?u(e).fill(t,n):u(e).fill(t):u(e)}(e,t,n)},c.allocUnsafe=function(e){return _(e)},c.allocUnsafeSlow=function(e){return _(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(X(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=c.allocUnsafe(t);let i=0;for(n=0;n<e.length;++n){let t=e[n];if(X(t,Uint8Array))i+t.length>r.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?P(this,0,e):v.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="";const n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,i){if(X(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n);for(let e=0;e<s;++e)if(u[e]!==l[e]){o=u[e],a=l[e];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return S(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":case"latin1":case"binary":return $(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const I=4096;function w(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function M(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function k(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=J[e[r]];return i}function O(e,t,n){const r=e.slice(t,n);let i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,i){V(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function x(e,t,n,r,i){V(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function N(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))})),c.prototype.readBigUInt64BE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)})),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),c.prototype.readBigInt64BE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||q(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=Z((function(e,t=0){return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);D(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=Z((function(e,t=0){return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{const o=c.isBuffer(e)?e:c.from(e,r),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};const F={};function j(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function V(e,t,n,r,i,o){if(e>n||e<t){const r="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(o+1)}${r}`:`>= -(2${r} ** ${8*(o+1)-1}${r}) and < 2 ** ${8*(o+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new F.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,n){W(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||q(t,e.length-(n+1))}(r,i,o)}function W(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function q(e,t,n){if(Math.floor(e)!==e)throw W(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=H(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=H(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const G=/[^+/0-9A-Za-z-_]/g;function Y(e,t){let n;t=t||1/0;const r=e.length;let i=null;const o=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}const J=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function Z(e){return"undefined"==typeof BigInt?ee:e}function ee(){throw new Error("BigInt not supported")}},18169:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},34679:(e,t,n)=>{"use strict";var r=n(14926),i=n(89429),o=n(18169),a=n(68070),s=n(20191),u=i(a(),Object);r(u,{getPolyfill:a,implementation:o,shim:s}),e.exports=u},68070:(e,t,n)=>{"use strict";var r=n(18169);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},20191:(e,t,n)=>{"use strict";var r=n(68070),i=n(14926);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},75691:(e,t,n)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=n(30801),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},_={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!_["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=a(e),s=t&&"[object String]"===o.call(e),_=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)_.push(String(p));if(r&&e.length>0)for(var g=0;g<e.length;++g)_.push(String(g));else for(var v in e)h&&"prototype"===v||!i.call(e,v)||_.push(String(v));if(u)for(var m=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<l.length;++y)m&&"constructor"===l[y]||!i.call(e,l[y])||_.push(l[y]);return _}}e.exports=r},33464:(e,t,n)=>{"use strict";var r=Array.prototype.slice,i=n(30801),o=Object.keys,a=o?function(e){return o(e)}:n(75691),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},30801:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},91589:(e,t,n)=>{"use strict";var r=n(33464),i=n(66679)(),o=n(62680),a=Object,s=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=a(e);if(1===arguments.length)return n;for(var o=1;o<arguments.length;++o){var l=a(arguments[o]),d=r(l),_=i&&(Object.getOwnPropertySymbols||c);if(_)for(var f=_(l),h=0;h<f.length;++h){var p=f[h];u(l,p)&&s(d,p)}for(var g=0;g<d.length;++g){var v=d[g];if(u(l,v)){var m=l[v];n[v]=m}}}return n}},53347:(e,t,n)=>{"use strict";var r=n(91589);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),o="";for(var a in i)o+=a;return e!==o}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},34406:e=>{var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],c=!1,l=-1;function d(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&_())}function _(){if(!c){var e=a(d);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||c||a(_)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},47669:(e,t,n)=>{"use strict";var r=n(69223),i=n(75195),o=n(81181)(),a=n(50326),s=r("%TypeError%"),u=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},24673:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=1,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments),s=n(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},21623:(e,t,n)=>{"use strict";var r=n(24673);e.exports=Function.prototype.bind||r},69223:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(32636)(),_=n(18486)(),f=Object.getPrototypeOf||(_?function(e){return e.__proto__}:null),h={},p="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(21623),S=n(72196),E=b.call(Function.call,Array.prototype.concat),$=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),A=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,w=function(e,t){var n,r=e;if(S(y,r)&&(r="%"+(n=y[r])[0]+"%"),S(g,r)){var o=g[r];if(o===h&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,P,(function(e,t,n,i){r[r.length]=n?T(i,I,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=w("%"+r+"%",t),s=o.name,c=o.value,l=!1,d=o.alias;d&&(r=d[0],$(n,E([0,1],d)));for(var _=1,f=!0;_<n.length;_+=1){var h=n[_],p=A(h,0,1),v=A(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===v||"'"===v||"`"===v)&&p!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(l=!0),S(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&_+1>=n.length){var m=u(c,h);c=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[h]}else f=S(c,h),c=c[h];f&&!l&&(g[s]=c)}}return c}},29093:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AdStateTriggers:()=>i.pG,AddConditionalMap:()=>d.x0,AdsConverter:()=>i.oW,AnalyticsCommand:()=>o.tO,AnalyticsController:()=>o.jS,AuthComponentURI:()=>a.pL,AuthDRMComponentURI:()=>a.PW,AuthDRMToken:()=>a.Ts,AuthDrmTokenHeaderName:()=>a.Hi,AuthToken:()=>a.HL,CCCommand:()=>s.xD,CCController:()=>s.TQ,CCEventType:()=>s.oK,CCManager:()=>s.F7,CCPAFeatureDefaults:()=>f.DW,CCProviderEventType:()=>s.WX,CaptionCueAction:()=>s.bu,CaptionTrackAction:()=>s.Om,CaptionsComponentURI:()=>s.nY,CmsComponentURI:()=>u.dR,CmsEntryResolver:()=>u.DX,CollectionItemsByKey:()=>d.CP,ComponentRegistry:()=>l.y,ConfigManager:()=>d.DJ,ConservativeShallowExtend:()=>d.hw,ConvivaAnalytics:()=>o.e4,CueStateTrigger:()=>c.f,DRMDataSourceRetrievalContext:()=>a.yG,DefaultAuthDRMHandler:()=>a.SF,DefaultAuthHandler:()=>a.iE,DefaultCCProvider:()=>s.dc,DefaultCCSettings:()=>s.oY,DefaultMergeStrategyHandler:()=>d.B_,DefaultProviderMap:()=>u.ks,DefaultUIController:()=>S.$,DrmManager:()=>T.o,EnforcePeripheralHookHandlers:()=>$.Ck,GDPRConsentQueryKeys:()=>f.AA,GDPRFeatureDefaults:()=>f.jH,InitEvent:()=>y.WZ,InitState:()=>y.XP,LifecycleCommand:()=>h.v6,LifecycleComponentURI:()=>h.T5,LifecycleController:()=>h.hy,LifecycleEventType:()=>h.vP,Marker:()=>b.Jx,MarkerConverter:()=>b.Xe,MediaJSONParser:()=>u._W,MediaJSONProvider:()=>u.CB,MediaStateTriggers:()=>p.D,MockMessageDispatcher:()=>v.GJ,MockMessageProcessability:()=>v.b8,MocksExecutionState:()=>v.Wd,NexusPlatform:()=>m.o_,PassthroughOverrides:()=>d.wc,PlatformEventType:()=>m.vX,PlatformHelperComponentURI:()=>m.S8,PlayerConfigDefaults:()=>d.Az,PlayerConfigUpdateConstraint:()=>d.Hv,PlayerConfigUpdateConstraints:()=>d.hQ,PlayerController:()=>$.Z$,PlayerError:()=>_.rG,PlayerErrorFactory:()=>_.yw,PlayerFeatureType:()=>f.uU,PlayerHookCollection:()=>$.xw,PlayerModel:()=>g.S,PlayerRecoveryMessaging:()=>_.D0,PlayerStateTriggers:()=>y.Uu,RemoteMetadataProvider:()=>u.g6,ShallowExtend:()=>d.nc,StateChangeHandlerAdFsmConfig:()=>E.JH,StateChangeHandlerMediaFsmConfig:()=>E.Zu,StreamDeliveryType:()=>u.Hk,StringReplacer:()=>d.fg,TVEFeatureDefaults:()=>f.sl,TimeHelper:()=>b.k1,Timeline:()=>b.TY,TimelineEventType:()=>b.Kx,ToggleExpansion:()=>d.id,TransactionEvent:()=>y.y_,TransformAndExtend:()=>d.WU,UIComponentURI:()=>S.h,URLProvider:()=>u.CE,VideoEngineCommand:()=>E.xE,VideoEngineComponentURI:()=>E.eq,VideoEngineController:()=>E.mV,VideoEngineStateChangeHandler:()=>E.FY,ViewController:()=>$.N5,ViewEvent:()=>y.c0,applyTokenToContentEntryFileData:()=>u.A0,clearPlayerHooksCollection:()=>$.dq,contentEntryFileRequiresCdnAuth:()=>u.ZX,contentEntryFileRequiresDrmAuth:()=>u.aV,createCCEventCollection:()=>s.hX,createCCProviderEventCollection:()=>s.tT,createCueEventCollection:()=>c.n,createMarkerEventCollection:()=>b.S5,createPlatformEventCollection:()=>m.FN,createPlayer:()=>r.M,createPlayerEventCollection:()=>r.S,createPlayerHook:()=>$.O_,createPlayerHooksCollection:()=>$.dB,createTimelineEventCollection:()=>b.IA,createVideoEngineEventCollection:()=>E.t9,isAnalyticsErrorData:()=>o.PE,isContentEntryData:()=>u.x2,isErrorResponse:()=>a.qm,isIncomingAdParamValueInReplaceableFormat:()=>i.NT,isMediaJSONError:()=>u.lA,isMediaJsonPlayData:()=>u.Bb,isProviderData:()=>u.wj,isRemoteMetadata:()=>u.gN,isSuccessResponse:()=>a.q_,isSugarEntryData:()=>u.u4,mergeTransformedSsaiKvps:()=>i.a8,populateEntryByKeysystems:()=>u._Y,populatePlayerHook:()=>$.jr,populatePlayerHooksCollection:()=>$.Ye,transformSsaiKvp:()=>i.Mz,transformTemplatedAdsKvps:()=>i.pK});var r=n(31170),i=n(14631),o=n(10196),a=n(1092),s=n(55428),u=n(52254),c=n(62554),l=n(31970),d=n(88361),_=n(1944),f=n(43771),h=n(15390),p=n(93969),g=n(87403),v=n(48813),m=n(41497),y=n(22306),b=n(18526),S=n(24211),E=n(65025),$=n(57813),T=n(40908),A=n(17306),C={};for(const e in A)["default","createPlayer","createPlayerEventCollection","AdStateTriggers","AdsConverter","isIncomingAdParamValueInReplaceableFormat","mergeTransformedSsaiKvps","transformSsaiKvp","transformTemplatedAdsKvps","AnalyticsCommand","AnalyticsController","ConvivaAnalytics","isAnalyticsErrorData","AuthComponentURI","AuthDRMComponentURI","AuthDRMToken","AuthDrmTokenHeaderName","AuthToken","DRMDataSourceRetrievalContext","DefaultAuthDRMHandler","DefaultAuthHandler","isErrorResponse","isSuccessResponse","CCCommand","CCController","CCEventType","CCManager","CCProviderEventType","CaptionCueAction","CaptionTrackAction","CaptionsComponentURI","DefaultCCProvider","DefaultCCSettings","createCCEventCollection","createCCProviderEventCollection","CmsComponentURI","CmsEntryResolver","DefaultProviderMap","MediaJSONParser","MediaJSONProvider","RemoteMetadataProvider","StreamDeliveryType","URLProvider","applyTokenToContentEntryFileData","contentEntryFileRequiresCdnAuth","contentEntryFileRequiresDrmAuth","isContentEntryData","isMediaJSONError","isMediaJsonPlayData","isProviderData","isRemoteMetadata","isSugarEntryData","populateEntryByKeysystems","CueStateTrigger","createCueEventCollection","ComponentRegistry","AddConditionalMap","CollectionItemsByKey","ConfigManager","ConservativeShallowExtend","DefaultMergeStrategyHandler","PassthroughOverrides","PlayerConfigDefaults","PlayerConfigUpdateConstraint","PlayerConfigUpdateConstraints","ShallowExtend","StringReplacer","ToggleExpansion","TransformAndExtend","PlayerError","PlayerErrorFactory","PlayerRecoveryMessaging","CCPAFeatureDefaults","GDPRConsentQueryKeys","GDPRFeatureDefaults","PlayerFeatureType","TVEFeatureDefaults","LifecycleCommand","LifecycleComponentURI","LifecycleController","LifecycleEventType","MediaStateTriggers","PlayerModel","MockMessageDispatcher","MockMessageProcessability","MocksExecutionState","NexusPlatform","PlatformEventType","PlatformHelperComponentURI","createPlatformEventCollection","InitEvent","InitState","PlayerStateTriggers","TransactionEvent","ViewEvent","Marker","MarkerConverter","TimeHelper","Timeline","TimelineEventType","createMarkerEventCollection","createTimelineEventCollection","DefaultUIController","UIComponentURI","StateChangeHandlerAdFsmConfig","StateChangeHandlerMediaFsmConfig","VideoEngineCommand","VideoEngineComponentURI","VideoEngineController","VideoEngineStateChangeHandler","createVideoEngineEventCollection","EnforcePeripheralHookHandlers","PlayerController","PlayerHookCollection","ViewController","clearPlayerHooksCollection","createPlayerHook","createPlayerHooksCollection","populatePlayerHook","populatePlayerHooksCollection","DrmManager"].indexOf(e)<0&&(C[e]=()=>A[e]);n.d(t,C)},31170:(e,t,n)=>{"use strict";n.d(t,{M:()=>le,S:()=>o});var r=n(17306),i=n(85654);function o(e){return(0,r.createEventCollection)(function(e){const t=t=>(0,r.createEvent)(t,e);return{modelUpdated:t(i.sL.Model_Updated),playerError:t(i.sL.Player_Error),playerStateChanged:t(i.sL.Player_State_Changed),playerInitialized:t(i.sL.Player_Initialized),playerReady:t(i.sL.Player_Ready),playerListening:t(i.sL.Player_Listening),contentStateChanged:t(i.sL.Content_State_Changed),contentBeginning:t(i.sL.Content_Beginning),contentSetup:t(i.sL.Content_Setup),contentWaiting:t(i.sL.Content_Waiting),volumeChanged:t(i.sL.Volume_Changed),muteChanged:t(i.sL.Mute_Changed),mediaCommandReceived:t(i.sL.Media_Command_Received),mediaCommandRejected:t(i.sL.Media_Command_Rejected),mediaStateChanged:t(i.sL.Media_State_Changed),mediaReady:t(i.sL.Media_Ready),mediaStarting:t(i.sL.Media_Starting),mediaBlocked:t(i.sL.Media_Blocked),mediaLoaded:t(i.sL.Media_Loaded),mediaStarted:t(i.sL.Media_Started),mediaBufferingStarted:t(i.sL.Media_Buffering_Started),mediaBufferingFinished:t(i.sL.Media_Buffering_Finished),mediaSeekingStarted:t(i.sL.Media_Seeking_Started),mediaSeekingFinished:t(i.sL.Media_Seeking_Finished),mediaTargetProfileChanged:t(i.sL.Media_Target_Profile_Changed),mediaRequestProfileChanged:t(i.sL.Media_Request_Profile_Changed),mediaProfileChanged:t(i.sL.Media_Profile_Changed),mediaTimeChanged:t(i.sL.Media_Time_Changed),mediaPaused:t(i.sL.Media_Paused),mediaResumed:t(i.sL.Media_Resumed),mediaRecoveryStarted:t(i.sL.Media_Recovery_Started),mediaRecoveryFinished:t(i.sL.Media_Recovery_Finished),mediaResized:t(i.sL.Media_Resized),mediaStopped:t(i.sL.Media_Stopped),mediaTimedMetadataParsed:t(i.sL.Media_Timed_Metadata_Parsed),mediaTimedMetadataReceived:t(i.sL.Media_Timed_Metadata_Received),mediaFinished:t(i.sL.Media_Finished),mediaError:t(i.sL.Media_Error),mediaStalled:t(i.sL.Media_Stalled),mediaAudioTrackAvailabilityChanged:t(i.sL.Media_Audio_Track_Availability_Changed),mediaAudioTrackSelected:t(i.sL.Media_Audio_Track_Selected),adStateChanged:t(i.sL.Ad_State_Changed),adStarting:t(i.sL.Ad_Starting),adStarted:t(i.sL.Ad_Started),adBlocked:t(i.sL.Ad_Blocked),adLoaded:t(i.sL.Ad_Loaded),adCreativeStarted:t(i.sL.Ad_Creative_Started),adTimeChanged:t(i.sL.Ad_Time_Changed),adPaused:t(i.sL.Ad_Paused),adResumed:t(i.sL.Ad_Resumed),adStopped:t(i.sL.Ad_Stopped),adCreativeEnded:t(i.sL.Ad_Creative_Ended),adFinished:t(i.sL.Ad_Finished),adError:t(i.sL.Ad_Error),timelineMarkerAdded:t(i.sL.Timeline_Marker_Added),timelineMarkerApproaching:t(i.sL.Timeline_Marker_Approaching),timelineMarkerActivated:t(i.sL.Timeline_Marker_Activated),timelineMarkerFinishing:t(i.sL.Timeline_Marker_Finishing),timelineMarkerDeactivated:t(i.sL.Timeline_Marker_Deactivated),timelineMarkerRemoved:t(i.sL.Timeline_Marker_Removed),lifecycleStateChanged:t(i.sL.Lifecycle_State_Changed),captionsStateChanged:t(i.sL.Captions_State_Changed),captionSettingsUpdated:t(i.sL.Caption_Settings_Updated),captionTrackAdded:t(i.sL.Caption_Track_Added),captionTrackRemoved:t(i.sL.Caption_Track_Removed),captionTrackSelected:t(i.sL.Caption_Track_Selected),captionTrackDeselected:t(i.sL.Caption_Track_Deselected),captionCueParsed:t(i.sL.Caption_Cue_Parsed),captionCueEntered:t(i.sL.Caption_Cue_Entered),captionCueExited:t(i.sL.Caption_Cue_Exited),captionCueUpdated:t(i.sL.Caption_Cue_Updated),cueStateChanged:t(i.sL.Cue_State_Changed),cueProcessed:t(i.sL.Cue_Processed),cueActivated:t(i.sL.Cue_Activated),contentInterrupted:t(i.sL.Content_Interrupted),contentCompleted:t(i.sL.Content_Completed),contentError:t(i.sL.Content_Error),contentEnded:t(i.sL.Content_Ended),viewStateChanged:t(i.sL.View_State_Changed),viewModeChanged:t(i.sL.View_Mode_Changed),messageToUI:t(i.sL.Message_To_UI),messageFromUI:t(i.sL.Message_From_UI),airplayRequested:t(i.sL.Airplay_Requested),pictureInPictureEntered:t(i.sL.Picture_In_Picture_Entered),pictureInPictureExited:t(i.sL.Picture_In_Picture_Exited),hdmiConnectionStatusChanged:t(i.sL.Hdmi_Connection_Status_Changed),tokenResponseReceived:t(i.sL.Token_Response_Received),mockMessageTriggered:t(i.sL.Mock_Message_Triggered)}}(e),e)}var a=n(55428),s=n(24674);const u=r.Log.getLogger("ConfigNormalization"),c=function(e){return r.ObjectUtils.isPlainObject(e)},l={playback:{autoPlay:0,autoPlayOptions:{preCheckAutoPlay:0},playMode:0},metadata:{companyId:0},auth:{cdn:{services:[{serviceUrl:0,appId:0}]},drm:{serviceUrl:0,appId:0}},cms:{preferDRM:0,providers:{[i.OS.MediaJSON]:{versionId:0,appId:0,serviceUrl:0}}},analytics:{bitmovin:{videoId:0,userId:0},conviva:{viewerId:0,touchstoneUrl:0},comscore:{publisherId:0,isOTT:0,uniqueContentId:0,programId:0,episodeId:0,digitalAirdate:0,tvAirdate:0,childDirectedAppMode:0}},drm:{fairplay:{certificateURL:0}},features:{gdpr:{consentDataOverride:{consentFrameworkVersion:0,subjectToGDPR:0,vendorIds:0}}},lifecycle:0,ui:{autoAttachToDom:0,style:{paddingBottom:0}}},d={mediaId:0,versionId:0,appId:0,serviceUrl:0,kvps:0},_=Object.assign(Object.assign(Object.assign({},d),{files:[{assetId:0,url:0}],id:0,trt:0,metadata:{id:0,mediaId:0}}),{url:0}),f={mvpdId:0,companyId:0,config:l},h={config:l},p={},g={},v=e=>e<=0?(e,t)=>e:(t,n)=>{const i=(t,n)=>{if(r.ObjectUtils.isPlainObject(t)){let r=g;return c(n)&&(r=n),v(e-1)(t,r)}if(Array.isArray(t)&&function(e){return Array.isArray(e)}(n)){let r=g;return n.length&&c(n[0])&&(r=n[0]),t.map((t=>v(e-1)(t,r)))}return t},o={};if(r.ObjectUtils.isPlainObject(t)){const e=c(n)?(a=n,Object.keys(a).reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{})):p;r.ObjectUtils.keyValues(t).forEach((({key:r,value:a})=>{const s=c(n)?n[r]:g;o[r]=i(a,s);const l=r.toLowerCase(),d=l in e&&r!==e[l]&&e[l];if(d)if(d in t)u.info(`Improper casing observed: "${r}"; however, the expected prop also exists "${d}"; will not overwrite correct prop`);else{u.warn(`Improper casing observed: "${r}"; renaming key to "${d}"`);const e=n[d];o[d]=i(a,e),delete o[r]}}))}var a;return o},m=e=>v(5)(e,d),y=e=>v(5)(e,f);var b,S=n(5272),E=n(1944),$=n(15390);!function(e){e.Message_Triggered="messageTriggered"}(b||(b={}));var T=n(44817),A=n(56686),C=n(53418),P=n(79313),I=n(11278);class w{constructor(e,t=new T.S,n){this._lastViewMode=i.wO.Pending,this._prevLifecycleAction=i.Rg.Continue,this._lastHandlePausedCall=0,this._onModelUpdated=e=>{this.events.modelUpdated.dispatch(e)},this._onControllerEvent=(e,t)=>{switch(e){case C.E.Player_Error:{const e=t,{error:n}=e;this._logPlayerError(n),this.events.playerError.dispatch({error:n});break}case C.E.Player_State_Changed:switch(this._model.handlePlayerStateChange(t),this._notifyStateChanged(t.previousState,t.currentState),t.currentState){case i.fL.Initialized:this.events.playerInitialized.dispatch();break;case i.fL.Listening:this._firedReady||(this._firedReady=!0,this.events.playerReady.dispatch()),this.events.playerListening.dispatch()}break;case C.E.View_State_Changed:switch(this._model.handleViewStateChange(t),this._notifyViewStateChanged(t.previousState,t.currentState,t.args),t.currentState){case i.f7.Fullscreen:case i.f7.Windowed:case i.f7.Remote:case i.f7.Picture_In_Picture:this.events.viewModeChanged.dispatch({property:"viewMode",previousValue:this._lastViewMode,currentValue:t.currentState}),this._lastViewMode=t.currentState}break;case C.E.Transaction_State_Changed:switch(this._model.handleTransactionStateChange(t),this._notifyContentStateChanged(t.previousState,t.currentState),t.currentState){case i.g7.Initializing:this.events.contentBeginning.dispatch();break;case i.g7.Initialized:this.events.contentSetup.dispatch();break;case i.g7.Waiting:this.events.contentWaiting.dispatch();break;case i.g7.Interrupted:this.events.contentInterrupted.dispatch();break;case i.g7.Finished:this.events.contentCompleted.dispatch();break;case i.g7.Error:const e=r.ObjectUtils.getOrElse(t.args[0],"error",new E.rG({code:{category:i.a9.Unknown,code:i.Vw.Unspecified,domain:i.qp.Shared},message:"An unknown content error occurred",severity:i.Wk.Fatal}));this.events.contentError.dispatch({error:e});break;case i.g7.Ended:this.events.contentEnded.dispatch()}break;case C.E.Transaction_Config_Updated:this._model.handleTransactionConfigUpdate(t);break;case C.E.Module_Notification:switch(this._model.handleModuleNotification(t),t.module){case i.PO.UI:switch(t.result.type){case i.sL.Message_From_UI:this.events.messageFromUI.dispatch({type:i.sL.Message_From_UI,name:t.result.name,payload:t.result.payload});break;case i.sL.Message_To_UI:this.events.messageToUI.dispatch({type:i.sL.Message_To_UI,name:t.result.name,payload:t.result.payload})}break;case i.PO.Video_Engine:const e=t.result;this._onVideoEngineNotification(e);break;case i.PO.Lifecycle:const n=t.result;this._onLifecycleNotification(n.type,n);break;case i.PO.Timeline:const r=t.result;this._onTimelineNotification(r.type,r);break;case i.PO.Captions:const o=t.result;this._onCCNotification(o.type,o);break;case i.PO.Cues:const a=t.result;this._onCueNotification(a.type,a);break;case i.PO.Mocks:const s=t.result;this._onMocksNotification(s.type,s);break;case i.PO.Auth:t.result.type===i.sL.Token_Response_Received&&this.events.tokenResponseReceived.dispatch(t.result.payload)}break;default:throw new r.UnreachableCaseError(e)}},this._playerId=e,this._logger=r.Log.getLogger(`Player${this._playerId}`),this.events=o(n),this._model=t,this._controller=new I.Z(this._playerId),this._hooks=new P.xw,this._addDefaultHookHandlers(),this._bindings=[this._model.modelUpdated.listen(this._onModelUpdated),this._controller.events.listen(this._onControllerEvent)],this._destroyPromise=null,this._firedReady=!1}_addDefaultHookHandlers(){this._hooks.validateDRMTokenResponse.set((e=>e.error?Promise.reject(e.error):Promise.resolve(e)),r.HookHandlerType.Default)}transformCaptionTrackEvent(e){return{id:e.track.id}}_onVideoEngineNotification(e){switch(e.type){case i.n_.Model_Update_Request:case i.n_.Caption_Track_Added:case i.n_.Caption_Track_Removed:case i.n_.Caption_Cue_Parsed:case i.n_.Caption_Cue_Entered:case i.n_.Caption_Cue_Exited:case i.n_.Caption_Cue_Updated:case i.n_.Playback_Speed_Changed:break;case i.n_.Caption_Track_Selected:this.events.captionTrackSelected.dispatch(this.transformCaptionTrackEvent(e));break;case i.n_.Caption_Track_Deselected:this.events.captionTrackDeselected.dispatch(this.transformCaptionTrackEvent(e));break;case i.n_.Volume_Changed:this.events.volumeChanged.dispatch(e);break;case i.n_.Mute_Changed:this.events.muteChanged.dispatch(e);break;case i.n_.Media_Command_Received:this.events.mediaCommandReceived.dispatch(e);break;case i.n_.Media_Command_Rejected:this._notifyMediaCommandRejected(e);break;case i.n_.Media_State_Changed:this.events.mediaStateChanged.dispatch(e);break;case i.n_.Media_Ready:this.events.mediaReady.dispatch();break;case i.n_.Media_Starting:this.events.mediaStarting.dispatch(e);break;case i.n_.Media_Blocked:this.events.mediaBlocked.dispatch(e);break;case i.n_.Media_Loaded:this.events.mediaLoaded.dispatch(e);break;case i.n_.Media_Started:this.events.mediaStarted.dispatch();break;case i.n_.Media_Buffering_Started:this.events.mediaBufferingStarted.dispatch();break;case i.n_.Media_Buffering_Finished:this.events.mediaBufferingFinished.dispatch();break;case i.n_.Media_Seeking_Started:{const t={time:e.fromMediaTime,requestedTime:e.toMediaTime};this.events.mediaSeekingStarted.dispatch(t);break}case i.n_.Media_Seeking_Finished:{const t={time:e.userRequestedMediaTime,requestedTime:e.seekResultMediaTime};this.events.mediaSeekingFinished.dispatch(t);break}case i.n_.Media_Target_Profile_Changed:this.events.mediaTargetProfileChanged.dispatch(e);break;case i.n_.Media_Request_Profile_Changed:this.events.mediaRequestProfileChanged.dispatch(e);break;case i.n_.Media_Profile_Changed:this.events.mediaProfileChanged.dispatch(e);break;case i.n_.Media_Time_Changed:this.events.mediaTimeChanged.dispatch(e);break;case i.n_.Media_Paused:this._lastHandlePausedCall=Date.now(),this.events.mediaPaused.dispatch();break;case i.n_.Media_Resumed:this.events.mediaResumed.dispatch();break;case i.n_.Media_Recovery_Started:this.events.mediaRecoveryStarted.dispatch(e);break;case i.n_.Media_Recovery_Finished:this.events.mediaRecoveryFinished.dispatch(e);break;case i.n_.Media_Resized:this.events.mediaResized.dispatch(e);break;case i.n_.Media_Stopped:this.events.mediaStopped.dispatch();break;case i.n_.Media_Timed_Metadata_Parsed:this.events.mediaTimedMetadataParsed.dispatch(e);break;case i.n_.Media_Timed_Metadata_Received:this.events.mediaTimedMetadataReceived.dispatch(e);break;case i.n_.Media_Audio_Track_Availability_Changed:this.events.mediaAudioTrackAvailabilityChanged.dispatch(e);break;case i.n_.Media_Audio_Track_Selected:this.events.mediaAudioTrackSelected.dispatch(e);break;case i.n_.Media_Finished:this.events.mediaFinished.dispatch();break;case i.n_.Media_Error:{const t=e;let n;switch(t.domain){case"content":n=E.yw.contentError(E.D0.CONTENT_MEDIA_ERROR,i.Wk.Fatal).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message,subErrorData:t.metadata});break;case"network":n=E.yw.networkError(E.D0.NETWORK_MEDIA_ERROR,i.Wk.Fatal).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message,subErrorData:t.metadata});break;case"drm":n=E.yw.drmError(E.D0.DRM_MEDIA_ERROR,i.Wk.Fatal).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message,subErrorData:t.metadata});break;default:n=E.yw.mediaError(E.D0.GENERAL_MEDIA_ERROR,i.Wk.Fatal).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message,subErrorData:t.metadata})}this.events.mediaError.dispatch({error:n}),this._logPlayerError(n),this.events.playerError.dispatch({error:n});break}case i.n_.Media_Stalled:this.events.mediaStalled.dispatch(e);break;case i.n_.Ad_State_Changed:this.events.adStateChanged.dispatch(e);break;case i.n_.Ad_Starting:this.events.adStarting.dispatch(e);break;case i.n_.Ad_Started:this.events.adStarted.dispatch(e);break;case i.n_.Ad_Blocked:this.events.adBlocked.dispatch(e);break;case i.n_.Ad_Loaded:this.events.adLoaded.dispatch(e);break;case i.n_.Ad_Creative_Started:this.events.adCreativeStarted.dispatch(e);break;case i.n_.Ad_Time_Changed:this.events.adTimeChanged.dispatch(e);break;case i.n_.Ad_Paused:this._lastHandlePausedCall=Date.now(),this.events.adPaused.dispatch(e);break;case i.n_.Ad_Resumed:this.events.adResumed.dispatch(e);break;case i.n_.Ad_Stopped:this.events.adStopped.dispatch(e);break;case i.n_.Ad_Creative_Ended:this.events.adCreativeEnded.dispatch(e);break;case i.n_.Ad_Finished:this.events.adFinished.dispatch(e);break;case i.n_.Ad_Error:{const t=e,n=E.yw.adError(E.D0.DIRECT_TO_UNDERLYING_ERROR,t.severity).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message,subErrorData:{name:null==t?void 0:t.name,type:null==t?void 0:t.adErrorType}});this.events.adError.dispatch({adBreakId:t.adBreakId,error:n}),this._logPlayerError(n),this.events.playerError.dispatch({error:n});break}case i.n_.Picture_In_Picture_Entered:this.events.pictureInPictureEntered.dispatch(e);break;case i.n_.Picture_In_Picture_Exited:this.events.pictureInPictureExited.dispatch(e);break;case i.n_.Hdmi_Connection_Status_Changed:e.plugged?this.setPlayerMode(i.um.Foreground):this.setPlayerMode(i.um.Unplugged),this.events.hdmiConnectionStatusChanged.dispatch(e);break;case i.n_.Airplay_Requested:this.events.airplayRequested.dispatch(e);break;case i.n_.Open_Measurement_Error:const t=e,n=E.yw.openMeasurementError(E.D0.DIRECT_TO_UNDERLYING_ERROR,i.Wk.Warn).setMetadata({subErrorCode:t.code.toString(),subErrorMessage:t.message});this._logPlayerError(n),this.events.playerError.dispatch({error:n});break;case i.n_.DRM_Token_Request:case i.n_.Remote_Playback_Selected:case i.n_.Remote_Playback_Deselected:case i.n_.Ad_Buffering_Started:case i.n_.Ad_Buffering_Finished:break;default:throw new r.UnreachableCaseError(e)}}_onTimelineNotification(e,t){switch(e){case A.K.Model_Update_Request:case A.K.Started:break;case A.K.Marker_Added:this.events.timelineMarkerAdded.dispatch({marker:t.marker});break;case A.K.Marker_Approaching:this.events.timelineMarkerApproaching.dispatch({marker:t.marker});break;case A.K.Marker_Activated:this.events.timelineMarkerActivated.dispatch({marker:t.marker});break;case A.K.Marker_Finishing:this.events.timelineMarkerFinishing.dispatch({marker:t.marker});break;case A.K.Marker_Deactivated:this.events.timelineMarkerDeactivated.dispatch({marker:t.marker});break;case A.K.Marker_Removed:this.events.timelineMarkerRemoved.dispatch({marker:t.marker});break;default:throw new r.UnreachableCaseError(e)}}_onLifecycleNotification(e,t){var n;switch(e){case $.vP.Model_Update_Request:break;case $.vP.State_Changed:{const e=t,o=t=>{this.events.lifecycleStateChanged.dispatch({type:i.sL.Lifecycle_State_Changed,previousState:e.previousState,currentState:e.currentState,action:e.action,actionExecuted:t})},a=()=>o(!0),s=()=>o(!1),u=e=>[i.gC.Playing,i.M9.Playing,i.gC.Buffering,i.M9.Buffering,i.gC.Seeking].indexOf(e)>-1,c=e=>[i.gC.Paused,i.M9.Paused].indexOf(e)>-1,l=e=>[i.gC.Stopped,i.M9.Stopped].indexOf(e)>-1,d=e=>u(e),_=e=>c(e)||d(e),f=e=>l(e)||_(e),h=e=>e===i.Rg.Pause;switch(e.currentState){case i.um.Unplugged:(new Date).getTime()-this._lastHandlePausedCall<1500&&(this._prevLifecycleAction=i.Rg.Pause);break;case i.um.Background:case i.um.FocusLost:{if(this._model.viewState===i.f7.Remote||this._model.viewState===i.f7.Entering_Remote)return void s();const t=(null===(n=this._model.currentAdBreak)||void 0===n?void 0:n.state)||this._model.mediaState;switch(e.action){case i.Rg.Pause:d(t)&&!h(this._prevLifecycleAction)?(this._prevLifecycleAction=e.action,a(),this._processCommand({type:i.GM.Pause})):s();break;case i.Rg.Stop:_(t)?(this._prevLifecycleAction=e.action,a(),this._processCommand({type:i.GM.Stop})):s();break;case i.Rg.Destroy:f(t)?(a(),this._processCommand({type:i.GM.Destroy})):s();break;case i.Rg.Continue:s();break;default:throw new r.UnreachableCaseError(e.action)}break}case i.um.Foreground:switch(e.action){case i.Rg.Continue:h(this._prevLifecycleAction)?(this._prevLifecycleAction=e.action,a(),this._processCommand({type:i.GM.Resume})):s();break;case i.Rg.Pause:case i.Rg.Stop:case i.Rg.Destroy:break;default:throw new r.UnreachableCaseError(e.action)}}}}}_onCCNotification(e,t){switch(e){case a.oK.Model_Update_Request:case a.oK.Track_Selected:case a.oK.Track_Deselected:break;case a.oK.State_Changed:this.events.captionsStateChanged.dispatch(t);break;case a.oK.Settings_Updated:this.events.captionSettingsUpdated.dispatch(t);break;case a.oK.Track_Added:this.events.captionTrackAdded.dispatch(t);break;case a.oK.Track_Removed:this.events.captionTrackRemoved.dispatch(t)}if(this.model.captionsEnabled)switch(e){case a.oK.Cue_Parsed:this.events.captionCueParsed.dispatch(t);break;case a.oK.Cue_Entered:this.events.captionCueEntered.dispatch(t);break;case a.oK.Cue_Exited:this.events.captionCueExited.dispatch(t);break;case a.oK.Cue_Updated:this.events.captionCueUpdated.dispatch(t)}}_onCueNotification(e,t){if(!(e=>{if(e.type===S.y.Cue_State_Changed){const{previousState:t}=e;switch(t){case null:case i.uV.Pending:return!0}}return!1})(t)||this.config.debug.enabled)switch(e){case S.y.Cue_State_Changed:this.events.cueStateChanged.dispatch(t);break;case S.y.Cue_Processed:this.events.cueProcessed.dispatch(t);break;case S.y.Cue_Activated:this.events.cueActivated.dispatch(t)}}_onMocksNotification(e,t){e===b.Message_Triggered&&this.events.mockMessageTriggered.dispatch(t)}_notifyMediaCommandRejected(e){this.events.mediaCommandRejected.dispatch(e)}_notifyStateChanged(e,t){this.events.playerStateChanged.dispatch({previousState:e,currentState:t})}_notifyViewStateChanged(e,t,n){this.events.viewStateChanged.dispatch({previousState:e,currentState:t,args:n})}_notifyContentStateChanged(e,t){this.events.contentStateChanged.dispatch({previousState:e,currentState:t})}_logPlayerError(e){if(this.model.config.debug.enabled)switch(e.severity){case i.Wk.Fatal:case i.Wk.Error:this._logger.error(e.toString());break;case i.Wk.Warn:this._logger.warn(e.toString())}}_processCommandWithResult(e){return this._logger.info(`Processing command with result: ${(0,r.stringify)(e)}`),this._controller.processCommandWithResult(e)}_processCommand(e){this._logger.info(`Processing command: ${(0,r.stringify)(e)}`),this._controller.processCommand(e)}get id(){return this._playerId}get hooks(){return this._hooks}get model(){return this._model}get playerState(){return this._model.playerState}get contentState(){return this._model.contentState}get lifecycleState(){return this._model.lifecycleState}get config(){return this._model.config}get playlistItem(){return this._model.playlistItem}get volume(){return this._model.volume}get muted(){return this._model.muted}get analytics(){return this._model.analytics}get captions(){return this._model.captions}get cues(){return this._model.cues}get timeline(){return this._model.timeline}get mediaState(){return this._model.mediaState}get mediaDuration(){return this._model.mediaDuration}get mediaTime(){return this._model.mediaTime}get contentSeekableRange(){return this._model.contentSeekableRange}get mediaSeekableRange(){return this._model.mediaSeekableRange}get contentIsLive(){return this._model.contentIsLive}get contentBufferedRange(){return this._model.contentBufferedRange}get isFullscreen(){return this._model.viewState===i.f7.Fullscreen}get viewState(){return this._model.viewState}processCommand(e){this._processCommand(e)}getCurrentAdBreak(){return this._model.currentAdBreak}getCurrentAdCreative(){return this._model.currentAdCreative}getAdBreaks(){return this._model.adBreaks}setup(e){const t=this._model.playerState;var n;switch(n=e,e=v(6)(n,h),t){case i.fL.Pending:this._controller.init(e);break;case i.fL.Destroyed:this._logger.warn(`[setup] must re-create player, state is: ${t}`);break;default:this._logger.warn(`[setup] player already initialized: ${t}`)}}ready(e){throw new Error("Method not implemented.")}attach(e){this._processCommand({type:i.GM.Attach,container:e})}detach(e){this._processCommand({type:i.GM.Detach,exitFullscreenOnDetach:e.exitFullscreenOnDetach})}updateConfig(e){null!=e&&(e=(e=>v(5)(e,l))(e)),this._processCommand({type:i.GM.Update_Config,config:e})}preloadContent(e,t={}){e=m(e);const n=r.ObjectUtils.extendDeep({},{[i.OS.MediaJSON]:e},t);return this._processCommandWithResult({type:i.GM.Preload_Content,contentData:e,options:n})}sendMessageToUI(e,t){this._processCommand({type:i.GM.Send_Message_To_UI,name:e,payload:t})}play(e,t={}){e=(e=>"string"==typeof e?e:v(5)(e,_))(e),t=y(t),this._processCommand({type:i.GM.Play,contentData:e,options:t,hooks:this._hooks.handlers()})}playByMediaJson(e,t={}){e=m(e),t=y(t);const n=r.ObjectUtils.extendDeep({},e,{providerType:i.OS.MediaJSON}),o=r.ObjectUtils.extendDeep({},{providers:{[i.OS.MediaJSON]:e}},r.ObjectUtils.get(t.config,"cms")),a=Object.assign(Object.assign({},t.config||{}),{cms:o}),s=Object.assign(Object.assign({},t),{config:Object.assign({},a)});this._processCommand({type:i.GM.Play,contentData:n,options:s,hooks:this._hooks.handlers()})}proceed(){this._processCommand({type:i.GM.Proceed})}pause(){this._processCommand({type:i.GM.Pause})}resume(){this._processCommand({type:i.GM.Resume})}seek(e){this._processCommand({type:i.GM.Seek,time:e})}seekToLive(){this._processCommand({type:i.GM.Seek_To_Live})}setVolume(e){this._processCommand({type:i.GM.Update_Config,config:{playback:{volume:e}}})}mute(){this._processCommand({type:i.GM.Update_Config,config:{playback:{muted:!0}}})}unmute(){this._processCommand({type:i.GM.Update_Config,config:{playback:{muted:!1}}})}resize(e,t){this._processCommand({type:i.GM.Resize,width:e,height:t})}selectCaptionTrack(e){this._processCommand({type:i.GM.Captions_Select_Track,track:e})}selectCaptionTrackByLang(e){this._processCommand({type:i.GM.Captions_Select_Track_By_Lang,lang:e})}setCaptionsEnabled(e){this._processCommand({type:i.GM.Captions_Set_Enabled,enabled:e})}updateCaptionSettings(e,t){t.fontColor&&!(0,s.N4)(t.fontColor)&&(this._logger.error(`Unknown fontColor: ${t.fontColor}, setting to Color.Default.`),t.fontColor=i.Il.Default),t.backgroundColor&&!(0,s.N4)(t.backgroundColor)&&(this._logger.error(`Unknown backgroundColor: ${t.backgroundColor}, setting to Color.Default.`),t.backgroundColor=i.Il.Default),this._processCommand({type:i.GM.Captions_Update_Settings,source:e,settings:t})}enterFullscreen(){this._processCommand({type:i.GM.Enter_Fullscreen})}exitFullscreen(){this._processCommand({type:i.GM.Exit_Fullscreen})}requestAirplay(){this._processCommand({type:i.GM.Request_Airplay})}enterPictureInPicture(){this._processCommand({type:i.GM.Enter_Picture_In_Picture})}exitPictureInPicture(){this._processCommand({type:i.GM.Exit_Picture_In_Picture})}stop(){this._processCommand({type:i.GM.Stop})}replay(){this._processCommand({type:i.GM.Replay})}setPlayerMode(e){e!==this.lifecycleState?this._processCommand({type:i.GM.Set_Player_Mode,event:e}):this._notifyMediaCommandRejected({command:i.GM.Set_Player_Mode,args:[e,"is already the current lifecycle state"]})}setMediaProfile(e){if(!e)return void this._notifyMediaCommandRejected({command:i.GM.Set_Media_Profile,args:[e,"not a valid value"]});if("auto"===e)return void this._processCommand({type:i.GM.Set_Media_Profile,mediaProfileId:e});const t=this._model.mediaProfiles.find((t=>t.id===e));if(!t)return void this._notifyMediaCommandRejected({command:i.GM.Set_Media_Profile,args:[e,"profile does not exist"]});const n=this._model.config.media.minBitrate||this._model.mediaProfiles[0].bitrate,r=this._model.config.media.maxBitrate||this._model.mediaProfiles[this._model.mediaProfiles.length-1].bitrate;t.bitrate<n?this._notifyMediaCommandRejected({command:i.GM.Set_Media_Profile,args:[e,"below the minBitrate"]}):t.bitrate>r?this._notifyMediaCommandRejected({command:i.GM.Set_Media_Profile,args:[e,"above the maxBitrate"]}):this._processCommand({type:i.GM.Set_Media_Profile,mediaProfileId:e})}reportEvent(e){this._processCommand({type:i.GM.Report_Event,event:e})}reportError(e){this._processCommand({type:i.GM.Report_Error,event:e})}destroy(){return this._destroyPromise?this._destroyPromise:(this._destroyPromise=this._controller.destroy(),this._destroyPromise.then((()=>{this._bindings.forEach((e=>e.detach())),this._bindings=[]})))}getThumbnail(e){this._processCommand({type:i.GM.Thumbnail,time:e})}}var M=n(31970),k=n(65025),O=n(67540),R=n(71847),D=n(1092),L=n(88107),x=n(22584),N=n(41497),U=n(14516),B=n(9903),F=n(80923),j=n(80748),H=n(86024);const V={initial:{name:j.f.Start,state:i.uV.Pending},events:[{name:j.f.Process,from:[i.uV.Pending],to:i.uV.Processing},{name:j.f.Processed,from:[i.uV.Processing],to:i.uV.Processed},{name:j.f.Listen,from:[i.uV.Processed,i.uV.Activated],to:i.uV.Listening},{name:j.f.Triggered,from:[i.uV.Listening],to:i.uV.Activated},{name:j.f.Completed,from:[i.uV.Activated],to:i.uV.Completed}]};var W=n(7787),q=n(3638);const G=r.Log.getLogger("DefaultCue").filter("cues");class Y{constructor(e,t,n,o){this._onFsmEvent=(e,t)=>{if(e===r.FsmEventType.State_Changed){const e=t.to,n=t.from;switch(this._notifyStateChanged(n,e),e){case i.uV.Pending:this._fsm.fireTransition(j.f.Process);break;case i.uV.Processing:this._applyTransforms(),this._fsm.fireTransition(j.f.Processed);break;case i.uV.Processed:this._notifyProcessed(),this._fsm.fireTransition(j.f.Listen);break;case i.uV.Listening:this._addTriggerListeners(),this._triggers.init(),G.debug(`${this._id} Listening`);break;case i.uV.Activated:switch(this._notifyActivated(),this._triggers.options.frequency){case q.y.Once:this._fsm.fireTransition(j.f.Completed);break;default:if(this._triggers.size>0){this._addRetriggerListeners(),this._retriggers.init();break}this._fsm.attemptTransition(j.f.Listen)}break;case i.uV.Completed:G.debug(`${this._id} Completed`)}}},this._onTriggerFired=e=>{G.debug(`${this.id} Triggers fired`),this._removeTriggerListeners(),this._fsm.attemptTransition(j.f.Triggered)},this._onRetriggerFired=e=>{G.debug(`${this.id} Retriggered, transitioning -> Listening`),this._removeRetriggerListeners(),this._addTriggerListeners(),this._triggers.init(),this._fsm.attemptTransition(j.f.Listen)},this._events=(0,H.n)(),this._id=e,this._type=t,this._source=n,this._data=o,this._triggerBinding=null,this._retriggerBinding=null,this._fsm=new r.Fsm}_applyTransforms(){if(0===this._transforms.length)return;let e=this._data;this._transforms.forEach((t=>{e=t(e)})),this.updateData(e)}_notifyStateChanged(e,t){this._events.stateChanged.dispatch({id:this._id,previousState:e,currentState:t})}_notifyProcessed(){this._events.processed.dispatch({cue:this.toCue()})}_notifyActivated(){this._events.activated.dispatch({cue:this.toCue()})}_addTriggerListeners(){this._triggerBinding||(this._triggerBinding=this._triggers.events.fired.listen(this._onTriggerFired))}_removeTriggerListeners(){var e;null===(e=this._triggerBinding)||void 0===e||e.detach(),this._triggerBinding=null}_addRetriggerListeners(){this._retriggerBinding||(this._retriggerBinding=this._retriggers.events.fired.listen(this._onRetriggerFired))}_removeRetriggerListeners(){var e;null===(e=this._retriggerBinding)||void 0===e||e.detach(),this._retriggerBinding=null}get events(){return this._events}get id(){return this._id}get type(){return this._type}get source(){return this._source}get state(){var e;return null!==(e=this._fsm.currentState())&&void 0!==e?e:i.uV.Pending}get triggers(){return this._triggers}get retriggers(){return this._retriggers}get transforms(){return this._transforms}get data(){return r.ObjectUtils.extendDeep({},this._data)}init(e,t,n){this._triggers=new W.O(e),this._retriggers=new W.O(t),this._transforms=n,this._fsm.events.listen(this._onFsmEvent),this._fsm.init(V)}updateData(e){r.ObjectUtils.extendDeep(this._data,e)}toCue(){return{id:this.id,type:this.type,source:this.source,state:this.state,data:this.data}}destroy(){this._fsm.events.unlistenAll(),this._removeTriggerListeners(),this._removeRetriggerListeners(),this._triggers.disable(),this._retriggers.disable()}}class K extends Y{constructor(e,t,n){super(e,i.tg.ID3,t,n)}}K.ID3ParsingTransform=e=>(e.content=Object.assign(Object.assign({},e.content),{metadata:Object.assign({},e.content.payload)}),e);var z=n(52263);class X extends Y{constructor(e,t,n){super(e,i.tg.SCTE,t,n)}}X.SCTEParsingTransform=e=>(e.content=Object.assign(Object.assign({},e.content),{metadata:z.gP.parse(e.content.payload)}),e);var Q=n(57959);const J=(e,t)=>{const n=new Map([[i.Yk.Timeline_Time,t=>e.data.range.contains(t)]]);return new Q.$(t,n)},Z=(e,t)=>{const n=new Map([[i.Yk.Timeline_Time,t=>!e.data.range.contains(t)]]);return new Q.$(t,n)};let ee=0;class te{static createCueId(){return ee+=1,`cue-${ee}`}static createStatefulCueFor(e,t,n){switch(e){case i.tg.ID3:return new K(te.createCueId(),t,n);case i.tg.SCTE:return new X(te.createCueId(),t,n);default:return new Y(te.createCueId(),e,t,n)}}static initializeStatefulCue(e,t){const n=[J(e,t.model)],r=[Z(e,t.model)],o=[];switch(e.type){case i.tg.SCTE:const t=[X.SCTEParsingTransform];e.init(n,r,t);break;case i.tg.ID3:const a=[K.ID3ParsingTransform];e.init(n,r,a);break;default:e.init(n,r,o)}return e}}const ne=r.Log.getLogger("CuesManager").filter("cues");class re{constructor(){this._onCueEvent=(e,t)=>{switch(e){case i.dN.State_Changed:const e=this._findCueById(t.id);if(!e){ne.warn("Could not handle cue state changed event, unable to locate cue");break}const n=this._findPositionOfCue(e);this._requestModelChanges([{mode:i.S_.Array_Remove_By_Position,property:i.Yk.Timed_Metadata_Cues,value:n},{mode:i.S_.Array_Append,property:i.Yk.Timed_Metadata_Cues,value:e.toCue()}]),this._cues.splice(n,1),this._cues.push(e),this._events.cueStateChanged.dispatch(t);break;case i.dN.Processed:this._events.cueProcessed.dispatch(t);break;case i.dN.Activated:this._events.cueActivated.dispatch(t)}},this._events=(0,S.X)(),this._cues=[],this._cueBindings=new Map}_requestModelChanges(e){this._events.modelUpdateRequest.dispatch({changes:e})}_addCueListeners(e){this._cueBindings.set(e.id,e.events.listen(this._onCueEvent))}_removeCueListeners(e){const t=this._cueBindings.get(e.id);null==t||t.detach(),this._cueBindings.delete(e.id)}_removeStatefulCue(e){this._removeCueListeners(e),e.destroy();const t=this._findPositionOfCue(e);this._requestModelChanges([{mode:i.S_.Array_Remove_By_Position,property:i.Yk.Timed_Metadata_Cues,value:t}]),this._cues.splice(t,1)}_findCueById(e){return this._cues.find((t=>t.id===e))||null}_findPositionOfCue(e){return this._cues.indexOf(e)}_isDuplicate(e,t,n){return this._cues.filter((n=>n.type===e&&n.source===t)).filter((t=>{const o=t.data.range.equals(n.range),a=(0,r.isEqual)(t.data.content.attributes,n.content.attributes),s=t.data.content.subType===n.content.subType;let u=!0;switch(e){case i.tg.SCTE:{const e=t.data.content,i=n.content;u=i.payload?(0,r.isEqual)(e.payload,i.payload):(0,r.isEqual)(e.metadata,i.metadata);break}case i.tg.ID3:{const e=t.data.content.metadata;u=(0,r.isEqual)(e,n.content.metadata);break}}return o&&a&&s&&u})).length>0}get events(){return this._events}get cues(){return this._cues}init(e){this._model=e.model}prune(e){const t=this._cues.filter((t=>r.TimeRangeUtils.intersectsRange(t.data.range,e)));ne.debug(`Pruning ${t.length} cues`),t.forEach((e=>this._removeStatefulCue(e)))}processCue(e){var t,n;if(this._isDuplicate(e.type,e.source,e.data))return ne.debug(`Ignoring duplicate cue request for ${JSON.stringify(e,null,4)}`),null;const r=null===(n=null===(t=this._model)||void 0===t?void 0:t.config)||void 0===n?void 0:n.metadata["cues.enabledYospaceID3"];let o=!1;if(o="string"==typeof r?"true"===r.toLowerCase():!!r,!o&&"embedded"===e.source)return ne.debug(`Ignoring embedded cue request for ${JSON.stringify(e,null,4)}`),null;const a=te.createStatefulCueFor(e.type,e.source,e.data);return this._addCueListeners(a),this._cues.push(a),this._requestModelChanges([{mode:i.S_.Array_Append,property:i.Yk.Timed_Metadata_Cues,value:a.toCue()}]),te.initializeStatefulCue(a,{model:this._model}),a}removeCueById(e){const t=this._findCueById(e);t?this._removeStatefulCue(t):ne.debug(`Could not locate cue by id for removal: ${e}`)}destroy(){this._cues.forEach((e=>{this._removeCueListeners(e),e.destroy()})),this._cueBindings.clear(),this._cues.length=0,this._requestModelChanges([{property:i.Yk.Timed_Metadata_Cues,value:[]}])}}var ie=n(43321),oe=n(56793);const ae=r.Log.getLogger("MocksManager").filter("mocks");class se{constructor(){this._events=(0,r.createEventCollection)({messageTriggered:(0,r.createEvent)(b.Message_Triggered)}),this._messages=new Map,this._nextMessageId=0,this._enabled=!1,this._messageQueue=[]}_determineMessageProcessability(e,t){const n={triggers:this._filterTriggersForState(e.triggers,t),retriggers:this._filterTriggersForState(e.retriggers,t)},i=(0,r.isEqual)(n.triggers.before,n.triggers.after),o=(0,r.isEqual)(n.retriggers.before,n.retriggers.before);return i&&o?oe.b.Full:r.ObjectUtils.isEmpty(n.triggers.after)?oe.b.None:oe.b.Partial}_filterTriggersForState(e,t){const n={};return Object.keys(e).filter((e=>(0,ie.YG)(e,t))).forEach((t=>{const r=t;n[r]=e[r]})),{before:e,after:n}}_processTriggers(e,t){const n=e=>(0,ie.zU)(this._model,e);e.triggers=n(e.triggers),e.retriggers=n(e.retriggers);const r=(e=>(0,ie.fN)(this._model,e,t,ie.ho))(e.triggers),o=(e=>(0,ie.fN)(this._model,e,t,ie.gp))(e.retriggers);switch(e.type){case i.f9.Timed_Metadata:{const t=e.data,r=n({[i.lj.Content_Time]:t.startTime});t.startTime=r[i.lj.Content_Time];break}}return{triggers:r,retriggers:o}}_getTrackedMessageById(e){return this._messages.get(e)||null}_onMessageTriggered(e){if(!this.enabled)return void ae.warn("Message triggered but module is disabled");const t=this._getTrackedMessageById(e);if(!t)return;const{message:n}=t,{triggers:r,retriggers:i}=t.triggers;this._events.messageTriggered.dispatch({message:{type:n.type,data:n.data}}),r.disable(),i.size>0&&i.init()}_onMessageRetriggered(e){const t=this._getTrackedMessageById(e);if(!t)return;const{triggers:n,retriggers:r}=t.triggers;n.init(),r.disable()}_trackMessage(e,t,n){this._messages.has(e)&&this._untrackMessage(e),this._messages.set(e,{message:t,triggers:n}),n.triggers.events.fired.listen((()=>this._onMessageTriggered(e))),n.retriggers.events.fired.listen((()=>this._onMessageRetriggered(e))),n.triggers.init(),n.retriggers.disable()}_untrackMessage(e){const t=this._messages.get(e);if(!t)return;const{triggers:n,retriggers:r}=t.triggers;n.events.removeAllListeners(),n.destroy(),r.events.removeAllListeners(),r.destroy(),this._messages.delete(e),ae.debug(`Untracked message: ${e}`)}_untrackAllMessages(){Array.from(this._messages.keys()).forEach((e=>this._untrackMessage(e)))}get events(){return this._events}get enabled(){return this._enabled}get messages(){return Array.from(this._messages.values()).map((e=>e.message))}init(e){this._model=e.model}enable(){this._enabled=!0}queueMessage(e){this._messageQueue.push({id:"mock-"+this._nextMessageId++,message:e})}processQueuedMessages(e){this._messageQueue=this._messageQueue.filter((t=>{switch(this._determineMessageProcessability(t.message,e)){case oe.b.Full:return this._trackMessage(t.id,t.message,this._processTriggers(t.message,e)),ae.debug(`Fully processed queued message: ${t.id}`),!1;case oe.b.Partial:return this._trackMessage(t.id,t.message,this._processTriggers(t.message,e)),ae.debug(`Partially processed queued message: ${t.id}`),!0;default:return ae.debug(`Skipped processing of queued message: ${t.id}`),!0}}))}disable(){this._enabled=!1}reset(){this._untrackAllMessages(),this._messageQueue.length=0,this._messages.clear()}destroy(){this.disable(),this.reset()}}var ue=n(61622);let ce=0;const le=(e,t)=>(ce++,((e,t)=>{const n={instanceId:e,category:i.l0.Video_Engine,URI:k.eq.TUB,factory:t.createVideoEngine},r={instanceId:e,category:i.l0.PlatformHelper,URI:N.S8.Default,factory:t.createPlatformHelper},o={instanceId:e,category:i.l0.Captions,URI:a.nY.Default,factory:e=>new a.F7(e)},s={instanceId:e,category:i.l0.Cues,URI:F.i.Default,factory:()=>new re},u={instanceId:e,category:i.l0.Auth,URI:O.p.Default,factory:()=>({handleTokenAuth:D.iE.handleTokenAuth})},c={instanceId:e,category:i.l0.AuthDRM,URI:x.P.Default,factory:()=>({handleDRMTokenAuth:D.SF.handleDRMTokenAuth})},l={instanceId:e,category:i.l0.CMS,URI:R.d.Default,factory:()=>new L.Z(t.getSupportedDRMs)},d={instanceId:e,category:i.l0.Lifecycle,URI:$.T5.Default,factory:()=>{}},_={instanceId:e,category:i.l0.Analytics,URI:B.Z.Default,factory:()=>{}},f={instanceId:e,category:i.l0.UI,URI:U.h.Default,factory:()=>new U.$},h={instanceId:e,category:i.l0.Mocks,URI:ue.l.Default,factory:()=>new se};M.y.add(r),M.y.add(l),M.y.add(u),M.y.add(c),M.y.add(n),M.y.add(o),M.y.add(s),M.y.add(d),M.y.add(_),M.y.add(f),M.y.add(h)})(ce,e),new w(ce,void 0,t))},65300:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>s,NT:()=>u,a8:()=>c,pK:()=>a});var r=n(72720),i=n(41497),o=n(85654);function a(e){const{contentUrlKvpsMap:t,configMetadataKvpsMap:n,playlistEntry:i,PlatformInfo:o}=e;return t.playername||(t.playername="[playername]"),Object.keys(t).map((e=>s({adParamKey:e,adParamValue:(0,r.fromNullable)(t[e]).getOrElse(""),configMetadataKvpsMap:n,playlistEntry:i,PlatformInfo:o}))).reduce(c,{})}function s(e){const{adParamKey:t,adParamValue:n,configMetadataKvpsMap:a,playlistEntry:s,PlatformInfo:c}=e;if(!u(n))return{adParamKey:t,adParamValue:n};const l=(0,r.fromNullable)(a[`ssai.${t}`]).getOrElse("");let d="";switch(t){case"playername":d=`top-${o.tY.libVersion.replace(/-.*/,"")}`;break;case"caid":const e=(0,r.fromNullable)(s.metadata).getOrElse({});d="string"!=typeof e?(0,r.fromNullable)(e.mediaId).getOrElse(l):l;break;case"vdur":d=void 0!==s.trt?`${s.trt}`:l;break;case"_fw_vcid2":if(""==l){const e=c.nexus.nexusTarget;e!==i.o_.iOS&&e!==i.o_.Android&&e!==i.o_.React_Native||(d=(0,r.fromNullable)(c.application.applicationIdentifier).getOrElse(l))}else d=l;break;case"_ifa_type":d=""==l?"sessionid":l;break;case"_is_lat":d=""==l?"0":l;break;case"_fw_did":d=""==l?`sessionid:${(0,r.fromNullable)(c.application.applicationIdentifier).getOrElse(l)}`:l;break;default:d=l}return{adParamKey:t,adParamValue:d}}function u(e){return/^\[.*?\]/gi.test(e)}function c(e,{adParamKey:t,adParamValue:n}){return e[t]=n,e}},40834:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(17306),i=n(91208),o=n(85654);class a{static toAdBreak(e,t,n,i){const s=r.ObjectUtils.getOrElse(e,"scheduleTime",-1),u=r.ObjectUtils.getOrElse(e,"duration",-1),c={id:a.createBreakId(s,u,n),position:a.getPosition(e,n,s,t),state:e.state?e.state:o.M9.Pending,scheduleTime:s,duration:u,ads:[]};return Array.isArray(e.ads)&&(c.ads=e.ads.map((e=>a.toAdCreative(e,i)))),c}static getPosition(e,t,n,r){var i;return t?null!==(i=e.position)&&void 0!==i?i:o.RI.Unknown:n<=0?o.RI.Preroll:n<r?o.RI.Midroll:n>=r?o.RI.Postroll:o.RI.Unknown}static toAdBreakMetadata(e){const{id:t,position:n,scheduleTime:r,duration:i}=e;return{id:t,position:n,scheduleTime:r,duration:i}}static toAdCreative(e,t){var n,r,i,o,a,s,u,c,l,d,_,f;const h=null!==(n=null==e?void 0:e.id)&&void 0!==n?n:"unknown-ad-creative-id",p="object"==typeof e.uiConfig?!e.uiConfig.requestsUi:null!==(i=null===(r=e.uiConfig)||void 0===r?void 0:r.requiresUi)&&void 0!==i&&i,g="number"==typeof(null==e?void 0:e.sequence)?e.sequence:0;return{id:h,clickThroughUrl:t?"":null!==(o=null==e?void 0:e.clickThroughUrl)&&void 0!==o?o:"",clickThroughUrlOpened:t?null:null!==(a=null==e?void 0:e.clickThroughUrlOpened)&&void 0!==a?a:null,duration:null!==(s=null==e?void 0:e.duration)&&void 0!==s?s:-1,currentTime:-1,requiresUi:p,sequence:g,isFiller:null!==(u=null==e?void 0:e.isFiller)&&void 0!==u&&u,creativeId:null!==(c=null==e?void 0:e.creativeId)&&void 0!==c?c:"",adTitle:null!==(l=null==e?void 0:e.adTitle)&&void 0!==l?l:"",advertiser:null!==(d=null==e?void 0:e.advertiser)&&void 0!==d?d:"",adSystem:null!==(_=null==e?void 0:e.adSystem)&&void 0!==_?_:"",firstAdId:"NA",firstAdSystem:"NA",firstCreativeId:"NA",mediaFileUrl:null!==(f=null==e?void 0:e.mediaFileUrl)&&void 0!==f?f:void 0,companions:null==e?void 0:e.companions,icons:null==e?void 0:e.icons}}static toTimelineMarker(e,t){return i.J.createForAd(e.id,r.TimeRange.create(e.scheduleTime,e.duration),t)}static createBreakId(e,t,n){const r=Math.floor(e),i=r+Math.floor(t);return n?`ad-break-${r}s->${i}s`:`ad-break-${r}s`}}},28424:(e,t,n)=>{"use strict";var r;n.d(t,{p:()=>r}),function(e){e.Start="start",e.Idle="idle",e.Load="load",e.Loaded="loaded",e.Buffer_Stall_Started="bufferStallStart",e.Buffer_Stall_Finished="bufferStallFinish",e.Play="play",e.Pause="pause",e.Stop="stop",e.Finish="finish"}(r||(r={}))},14631:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>o.Mz,NT:()=>o.NT,a8:()=>o.a8,oW:()=>r.o,pG:()=>i.p,pK:()=>o.pK});var r=n(40834),i=n(28424),o=n(65300)},9903:(e,t,n)=>{"use strict";var r;n.d(t,{Z:()=>r}),function(e){e.Default="com.turner.top.analytics.default"}(r||(r={}))},54368:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e.data&&void 0!==e.severity}n.d(t,{P:()=>r})},79957:(e,t,n)=>{"use strict";var r;n.d(t,{t:()=>r}),function(e){e.CreateSession="createSession",e.ReportError="reportError",e.ReportEvent="reportEvent",e.CleanupSession="cleanupSession",e.PauseTracking="pauseTracking",e.ResumeTracking="resumeTracking",e.LifecycleUpdate="lifecycleUpdate"}(r||(r={}))},62558:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(17306),i=n(28509),o=n(85654);const a=r.Log.getLogger("AnalyticsController").filter("analytics");class s{constructor(e){this._onMeasurerEvent=(e,t)=>{const n={module:o.PO.Analytics,category:o.SQ.Component_Event,result:t};this.moduleNotification.dispatch(n)},this.moduleNotification=(0,r.createEvent)("moduleNotification"),this._sinks=[],this._measurer=e,this._bindings=[this._measurer.events.listen(this._onMeasurerEvent)]}initialize(e){return r.TaskFactory.create((t=>{const n={model:e.playerModel,config:e.playerConfig},r=[];if(e.playerConfig.analytics.conviva.enabled){const e=new i.e;r.push(e.init(n)),this._sinks.push(e)}Promise.all(r).then((()=>t.resolve())).catch((e=>t.reject(e)))})).execute()}setup(e){return r.TaskFactory.create((t=>{if(e.playerConfig.analytics.conviva.enabled){const t=this._sinks.find((e=>e instanceof i.e));t&&t.updateContent(e.contentFileData)}t.resolve()})).execute()}handleModuleNotification(e){this._sinks.forEach((t=>t.handleModuleNotification(e)))}handlePlayerNotification(e){this._sinks.forEach((t=>t.handlePlayerNotification(e)))}processCommand(e){a.verbose(`[processCommand] ${e.type} / ${e.data}`),this._sinks.forEach((t=>t.processCommand(e)))}updateConfig(e){this._sinks.forEach((t=>t.updateConfig(e)))}destroy(){const e=this._sinks.map((e=>e.destroy()));return this._bindings.forEach((e=>e.detach())),this._bindings.length=0,Promise.all(e).then((e=>{}))}}},28509:(e,t,n)=>{"use strict";n.d(t,{e:()=>T});var r=n(74240),i=n.n(r),o=n(17306);let a;function s(e,t){switch(t){case r.Constants.LogLevel.DEBUG:a.debug(e);break;case r.Constants.LogLevel.INFO:a.info(e);break;case r.Constants.LogLevel.WARNING:a.warn(e);break;case r.Constants.LogLevel.ERROR:a.error(e)}}var u=n(54368),c=n(52254),l=n(53418),d=n(66434),_=n(75844),f=n(79957),h=n(50105),p=n(72720),g=n(41497),v=n(85654);class m{constructor(e,t,n,r,i){this._deviceType=e,this._tubVersion=t,this._deviceModel=null!=r?r:h.h.device.hardwareModel,this._deviceBrand=null!=i?i:h.h.device.hardwareModel,this._overrides=n}getBrowserName(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget);return e.isNone()?null:e.value===g.o_.Web?(0,p.fromNullable)(h.h.device.softwarePlatform).getOrElse(null):null}getBrowserVersion(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget);return e.isNone()?null:e.value===g.o_.Web?(0,p.fromNullable)(h.h.device.softwareVersion).getOrElse(null):null}getDeviceBrand(){return this._deviceBrand}getDeviceCategory(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget),t=(0,p.fromNullable)(h.h.nexus.nexusVariant);if(!e.isNone()){if((0,p.fromNullable)(h.h.device.isEmulator).getOrElse(!1))return r.Constants.DeviceCategory.DEVICE_SIMULATOR;switch(e.value){case"web":return r.Constants.DeviceCategory.WEB;case"android":return r.Constants.DeviceCategory.ANDROID_DEVICE;case"ios":return r.Constants.DeviceCategory.APPLE_DEVICE;case"react-native":if(t.isNone())return;switch(t.value){case"android":return r.Constants.DeviceCategory.ANDROID_DEVICE;case"ios":return r.Constants.DeviceCategory.APPLE_DEVICE;default:return}default:return}}}getDeviceManufacturer(){return h.h.device.hardwareManufacturer}getDeviceModel(){return this._deviceModel}getDeviceType(){switch(this._deviceType){case v.Yi.Fire_Tv:case v.Yi.Tv_Os:return r.Constants.DeviceType.SETTOP;case v.Yi.Android_Tv:return r.Constants.DeviceType.SMARTTV;case v.Yi.Console:return r.Constants.DeviceType.CONSOLE;case v.Yi.Desktop:return r.Constants.DeviceType.DESKTOP;case v.Yi.Phone:return r.Constants.DeviceType.MOBILE;case v.Yi.Tablet:return r.Constants.DeviceType.TABLET;case v.Yi.Unknown:return}}getDeviceVersion(){return(0,p.fromNullable)(h.h.device.hardwareVersion).getOrElse(void 0)}getOperatingSystemName(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget);if(!e.isNone())return"web"===e.value?h.h.device.hardwareModel:h.h.device.softwarePlatform}getOperatingSystemVersion(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget);if(!e.isNone())switch(e.value){case"android":return this._overrides["device.osVersion"];case"web":return this.getDeviceVersion();default:return h.h.device.softwareVersion}}release(){}getFrameworkName(){return"TUB"}getFrameworkVersion(){const e=(0,p.fromNullable)(h.h.nexus.nexusTarget),t=(0,p.fromNullable)(h.h.nexus.nexusVariant);if(e.isNone())return"unknown";switch(e.value){case"web":const e=v.tY.dependencyVersions.find((e=>"Tub"===e.name));return e?e.version:"unknown";case"android":case"ios":return this._tubVersion;case"react-native":if(t.isNone())return"unknown";switch(t.value){case"android":case"ios":return this._tubVersion;default:return"unknown"}default:return"unknown"}}getScreenWidth(){var e;if(null===(e=null===window||void 0===window?void 0:window.screen)||void 0===e?void 0:e.width)return window.screen.width}getScreenHeight(){var e;if(null===(e=null===window||void 0===window?void 0:window.screen)||void 0===e?void 0:e.height)return window.screen.height}getScaleFactor(){if(null===window||void 0===window?void 0:window.devicePixelRatio)return window.devicePixelRatio}}var y=n(12399);function b(e,t,n,r){const i=e+"."+t;y.Ke.set(i,n).then((()=>r(!0,null))).catch((e=>r(!1,e.toString())))}function S(e,t,n){const r=e+"."+t;y.Ke.get(r).then((e=>n(!0,e))).catch((e=>n(!1,e.toString())))}var E=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};const $=o.Log.getLogger("ConvivaAnalytics").filter("analytics.conviva");a=$;class T{constructor(){this._activeSession=!1,this._trackingPaused=!1,this._podIndex=0,this._podPosition=i().Constants.AdPosition.PREROLL,this._currentAdBreak=null,this._customTags={},this._mediaStarted=!1}isSessionActive(){return this._activeSession}_inAdBreak(){return null!==this._currentAdBreak}_updateContentInfo(e){if(!this.videoAnalytics)return;const t=o.ObjectUtils.extendDeep(this._metadata||{},e);$.debug(`[_updateContentInfo] setContentInfo(...)\n${(0,o.stringify)(t)}`),this._metadata=Object.assign({},t),this.videoAnalytics.setContentInfo(t)}_reportFramerate(){var e;if(!(null===(e=this._mediaProfile)||void 0===e?void 0:e.frameRate))return;const t={[i().Constants.ENCODED_FRAMERATE]:Math.ceil(this._mediaProfile.frameRate)};this._updateContentInfo(t)}_reportBitrate(){var e,t,n;(null===(e=this._mediaProfile)||void 0===e?void 0:e.bitrate)&&(this._inAdBreak()?($.debug(`[reportBitrate] reportAdMetric(BITRATE, ${this._mediaProfile.bitrate})`),null===(t=this.adAnalytics)||void 0===t||t.reportAdMetric(i().Constants.Playback.BITRATE,this._mediaProfile.bitrate)):($.debug(`[reportBitrate] reportPlaybackMetric(BITRATE, ${this._mediaProfile.bitrate})`),null===(n=this.videoAnalytics)||void 0===n||n.reportPlaybackMetric(i().Constants.Playback.BITRATE,this._mediaProfile.bitrate)))}handleVideoEngineNotification(e){var t,n,r,a,s,u,c,l,d,_,f,h,p,g,m,y,b,S,E,T,A,C,P,I,w,M,k,O,R,D,L;if(this.videoAnalytics)switch(e.type){case v.n_.Media_State_Changed:this.handleMediaState(e);break;case v.n_.Ad_State_Changed:this.handleAdState(e);break;case v.n_.Media_Profile_Changed:this._mediaProfile=Object.assign({},e.profile),this._reportBitrate(),this._reportFramerate();break;case v.n_.Ad_Started:{this._currentAdBreak=e.adBreakId,this._podIndex++;let r=0;this._model.currentAdBreak?(r=this._model.currentAdBreak.duration,this._podPosition=this.mapAdPosition(this._model.currentAdBreak)):this._podPosition=i().Constants.AdPosition.MIDROLL,$.debug("[handleVideoEngineNotification] reportAdBreakStarted()"),null===(t=this.videoAnalytics)||void 0===t||t.reportAdBreakStarted(i().Constants.AdType.SERVER_SIDE,i().Constants.AdPlayer.CONTENT,{[i().Constants.POD_POSITION]:this._podPosition,[i().Constants.POD_DURATION]:r.toString(),[i().Constants.POD_INDEX]:this._podIndex.toString()}),this.adAnalytics||($.debug("[handleVideoEngineNotification] reportPlaybackMetric(PLAYER_STATE, PLAYING)"),null===(n=this.videoAnalytics)||void 0===n||n.reportPlaybackMetric(i().Constants.Playback.PLAYER_STATE,i().Constants.PlayerState.PLAYING));break}case v.n_.Ad_Creative_Started:{if(!this._config.adInsights)break;const e=this._model.currentAdCreative;if(!e)break;let t=e.id,n="";"FreeWheel"===e.adSystem&&([t,n]=t.split("."));const v=this._model.currentAdBreak,E={[i().Constants.STREAM_URL]:null!==(r=e.mediaFileUrl)&&void 0!==r?r:null===(a=this._metadata)||void 0===a?void 0:a[i().Constants.STREAM_URL],[i().Constants.ASSET_NAME]:null!==(s=null==e?void 0:e.adTitle)&&void 0!==s?s:"NA",[i().Constants.IS_LIVE]:null===(u=this._metadata)||void 0===u?void 0:u[i().Constants.IS_LIVE],[i().Constants.DEFAULT_RESOURCE]:null===(c=this._metadata)||void 0===c?void 0:c[i().Constants.DEFAULT_RESOURCE],[i().Constants.APPLICATION_VERSION]:null!==(l=this._config.applicationVersion)&&void 0!==l?l:"na","c3.ad.id":null!=t?t:"NA","c3.ad.system":null!==(d=e.adSystem)&&void 0!==d?d:"NA","c3.ad.isSlate":e.isFiller.toString(),"c3.ad.position":this.mapAdPosition(v),"c3.ad.adStitcher":"YoSpace","c3.ad.firstAdSystem":null!==(_=e.firstAdSystem)&&void 0!==_?_:e.adSystem,"c3.ad.firstAdId":null!==(f=e.firstAdId)&&void 0!==f?f:e.id,"c3.ad.firstCreativeId":null!==(h=e.firstCreativeId)&&void 0!==h?h:e.creativeId,"c3.ad.creativeId":e.creativeId,"c3.ad.sequence":null!==(p=e.sequence.toString())&&void 0!==p?p:"NA","c3.ad.advertiser":e.advertiser,adBreakId:null!==(g=null==v?void 0:v.id)&&void 0!==g?g:"NA"};n&&(E.adLogId=n);const T=null===(m=this._metadata)||void 0===m?void 0:m[i().Constants.ASSET_NAME];T&&(E.contentAssetName=T),e.requiresUi?(E["c3.ad.technology"]=i().Constants.AdType.CLIENT_SIDE,E["c3.ad.mediaFileApiFramework"]="BrightLine"):(E[i().Constants.DURATION]=e.duration,E["c3.ad.technology"]=i().Constants.AdType.SERVER_SIDE,E["c3.ad.mediaFileApiFramework"]="NA"),$.debug(`[handleVideoEngineNotification] reportAdStarted(${(0,o.stringify)(E)})`),null===(y=this.adAnalytics)||void 0===y||y.reportAdStarted(E),this.setAdPlayerStateWithModelState(),(null===(b=this._mediaProfile)||void 0===b?void 0:b.bitrate)&&($.debug(`[handleVideoEngineNotification] reportAdMetric(BITRATE, ${this._mediaProfile.bitrate})`),null===(S=this.adAnalytics)||void 0===S||S.reportAdMetric(i().Constants.Playback.BITRATE,this._mediaProfile.bitrate));break}case v.n_.Ad_Time_Changed:{const e=1e3*((null===(E=this._model.currentAdCreative)||void 0===E?void 0:E.currentTime)||0);$.verbose(`[handleVideoEngineNotification] reportAdMetric( * 1000, ${e})`),null===(T=this.adAnalytics)||void 0===T||T.reportAdMetric(i().Constants.Playback.PLAY_HEAD_TIME,e);break}case v.n_.Ad_Creative_Ended:if(!this._config.adInsights)break;$.debug("[handleVideoEngineNotification] reportAdEnded()"),null===(A=this.adAnalytics)||void 0===A||A.reportAdEnded();break;case v.n_.Ad_Error:{if(!this.isSessionActive())return;const t=this.mapErrorSeverity(e.severity),n=(0,o.stringify)(e);switch(t){case i().Constants.ErrorSeverity.FATAL:$.error(`[handleVideoEngineNotification] reportAdFailed(${e.message})`),$.error(`[handleVideoEngineNotification] reportPlaybackFailed(${n})`),null===(C=this.adAnalytics)||void 0===C||C.reportAdFailed(e.message),null===(P=this.videoAnalytics)||void 0===P||P.reportPlaybackFailed(n);break;case i().Constants.ErrorSeverity.WARNING:$.warn(`[handleVideoEngineNotification] reportAdFailed(${e.message})`),$.warn(`[handleVideoEngineNotification] reportPlaybackError(${n})`),null===(I=this.adAnalytics)||void 0===I||I.reportAdError(e.message,t),null===(w=this.videoAnalytics)||void 0===w||w.reportPlaybackError(n,t)}this._currentAdBreak=null;break}case v.n_.Ad_Finished:case v.n_.Ad_Stopped:if(this._currentAdBreak=null,!this.isSessionActive())return;$.debug("[handleVideoEngineNotification] reportAdBreakEnded()"),null===(M=this.videoAnalytics)||void 0===M||M.reportAdBreakEnded(),this.setPlayerStateWithModelState();break;case v.n_.Media_Started:this._mediaStarted||(this._mediaStarted=!0,this.setPlayerStateWithModelState());break;case v.n_.Media_Error:{if(!this.isSessionActive())return;this._inAdBreak()&&($.debug(`[handleVideoEngineNotification] reportAdFailed(${e.message})`),null===(k=this.adAnalytics)||void 0===k||k.reportAdFailed(e.message),this._currentAdBreak=null);const t=(0,o.stringify)(e);$.debug(`[handleVideoEngineNotification] reportPlaybackFailed(${t})`),null===(O=this.videoAnalytics)||void 0===O||O.reportPlaybackFailed(t);break}case v.n_.Media_Seeking_Started:$.debug(`[handleVideoEngineNotification] reportPlaybackMetric(SEEK_STARTED, ${Math.round(e.userRequestedMediaTime)})`),null===(R=this.videoAnalytics)||void 0===R||R.reportPlaybackMetric(i().Constants.Playback.SEEK_STARTED,Math.round(e.userRequestedMediaTime)),$.debug("[handleVideoEngineNotification] reportPlaybackMetric(PLAYER_STATE, BUFFERING)"),null===(D=this.videoAnalytics)||void 0===D||D.reportPlaybackMetric(i().Constants.Playback.PLAYER_STATE,i().Constants.PlayerState.BUFFERING);break;case v.n_.Media_Seeking_Finished:$.debug("[handleVideoEngineNotification] reportPlaybackMetric(SEEK_ENDED)"),null===(L=this.videoAnalytics)||void 0===L||L.reportPlaybackMetric(i().Constants.Playback.SEEK_ENDED)}}mapAdStateToConvivaPlayerState(e){switch(e){case v.M9.Playing:return i().Constants.PlayerState.PLAYING;case v.M9.Paused:return i().Constants.PlayerState.PAUSED;case v.M9.Buffering:return i().Constants.PlayerState.BUFFERING}}setAdPlayerStateWithModelState(){var e,t;const n=this.mapAdStateToConvivaPlayerState(null===(e=this._model.currentAdBreak)||void 0===e?void 0:e.state);n&&($.debug(`[setAdPlayerStateWithModelState] reportAdMetric(PLAYER_STATE, ${n})`),null===(t=this.adAnalytics)||void 0===t||t.reportAdMetric(i().Constants.Playback.PLAYER_STATE,n))}setPlayerStateWithModelState(){var e,t;switch(this._model.mediaState){case v.gC.Playing:$.debug("[setPlayerStateWithModelState] reportPlaybackMetric(PLAYER_STATE, PLAYING)"),null===(e=this.videoAnalytics)||void 0===e||e.reportPlaybackMetric(i().Constants.Playback.PLAYER_STATE,i().Constants.PlayerState.PLAYING);break;case v.gC.Paused:$.debug("[setPlayerStateWithModelState] reportPlaybackMetric(PLAYER_STATE, PAUSE)"),null===(t=this.videoAnalytics)||void 0===t||t.reportPlaybackMetric(i().Constants.Playback.PLAYER_STATE,i().Constants.PlayerState.PAUSED)}}handleMediaState(e){var t;if(!this.videoAnalytics)return void $.warn("[handleMediaState] not initialized, cannot report player state");let n;const{currentState:r,previousState:o}=e;switch(r){case v.gC.Playing:this._mediaStarted&&(n=i().Constants.PlayerState.PLAYING);break;case v.gC.Paused:n=this._model.contentState===v.g7.Ads_Playback?i().Constants.PlayerState.PLAYING:i().Constants.PlayerState.PAUSED;break;case v.gC.Buffering:o!==v.gC.Seeking&&(n=i().Constants.PlayerState.BUFFERING);break;case v.gC.Finished:case v.gC.Stopped:n=i().Constants.PlayerState.STOPPED}n&&!this._inAdBreak()&&($.debug(`[handleMediaState] reportPlaybackMetric(PLAYER_STATE, ${n})`),null===(t=this.videoAnalytics)||void 0===t||t.reportPlaybackMetric(i().Constants.Playback.PLAYER_STATE,n))}handleAdState(e){if(!this.adAnalytics)return;const{currentState:t}=e,n=this.mapAdStateToConvivaPlayerState(t);n&&($.debug(`[handleAdState] reportAdMetric(PLAYER_STATE, ${n})`),this.adAnalytics.reportAdMetric(i().Constants.Playback.PLAYER_STATE,n))}mapErrorSeverity(e){return e===v.Wk.Fatal?i().Constants.ErrorSeverity.FATAL:i().Constants.ErrorSeverity.WARNING}mapAdPosition(e){switch(null==e?void 0:e.position){case v.RI.Preroll:return i().Constants.AdPosition.PREROLL;case v.RI.Midroll:return i().Constants.AdPosition.MIDROLL;case v.RI.Postroll:return i().Constants.AdPosition.POSTROLL;case v.RI.Unknown:default:return i().Constants.AdPosition.MIDROLL}}prepareTags(e){for(const t in e)e[t]&&"function"==typeof e[t].toString?e[t]=e[t].toString():($.warn(`[prepareTags] Cannot convert conviva tag ${t} to string, setting to empty string.`),e[t]="");return e.playerVendor="TOP",e.playerVersion=v.tY.libVersion,e["c3.cm.id"]=this._contentEntryFileData.assetId,e}updateContent(e){this._contentEntryFileData=e}init(e){var t,n,r,a,u,c,l,d,f,h,p,g,y,E,T;const{config:A,model:C}=e;$.debug("[init] starting the sink...");const P=A.analytics.conviva;if(!P.customerKey)return Promise.reject(_.yw.analyticsConfigFailure("Missing required Conviva customer key."));const I={};P.touchstoneUrl&&(I[i().Constants.GATEWAY_URL]=P.touchstoneUrl),P.touchstoneUrl&&(null===(t=A.debug.logging)||void 0===t?void 0:t.enabled)&&(I[i().Constants.LOG_LEVEL]=i().Constants.LogLevel.DEBUG);const w={[i().Constants.CallbackFunctions.CONSOLE_LOG]:s,[i().Constants.CallbackFunctions.LOAD_DATA]:S,[i().Constants.CallbackFunctions.SAVE_DATA]:b};$.debug("[init] calling Conviva.Analytics.init(...)"),i().Analytics.init(P.customerKey,w,I),void 0===P.deviceInfo&&(P.deviceInfo={tubVersion:null!==(n=A.metadata["versions.tub"])&&void 0!==n?n:"unknown",type:null!==(r=A.metadata["device.type"])&&void 0!==r?r:"unknown",model:null!==(a=A.metadata["device.model"])&&void 0!==a?a:null,brand:null!==(u=A.metadata["device.brand"])&&void 0!==u?u:null}),this.applicationName=P.applicationName;const M=null!==(l=null===(c=P.deviceInfo)||void 0===c?void 0:c.type)&&void 0!==l?l:v.Yi.Unknown,k=null!==(f=null===(d=P.deviceInfo)||void 0===d?void 0:d.tubVersion)&&void 0!==f?f:"unknown",O=null!==(p=null===(h=P.deviceInfo)||void 0===h?void 0:h.model)&&void 0!==p?p:void 0,R=null!==(y=null===(g=P.deviceInfo)||void 0===g?void 0:g.brand)&&void 0!==y?y:void 0,D=new m(M,k,A.metadata,O,R),L=this.createDeviceMetadata(D);$.debug("[init] calling Conviva.Analytics.setDeviceMetadata(...)"),$.verbose(`[init] deviceMetadata: ${(0,o.stringify)(L)}`),i().Analytics.setDeviceMetadata(L),$.debug("[init] calling Conviva.Analytics.buildVideoAnalytics()"),this.videoAnalytics=i().Analytics.buildVideoAnalytics();const x={[i().Constants.FRAMEWORK_NAME]:D.getFrameworkName(),[i().Constants.FRAMEWORK_VERSION]:D.getFrameworkVersion()};return $.debug(`[init] calling videoAnalytics.setPlayerInfo(...)\n${(0,o.stringify)(x)}`),null===(E=this.videoAnalytics)||void 0===E||E.setPlayerInfo(x),null===(T=this.videoAnalytics)||void 0===T||T.setCallback((()=>{var e,t;const n=1e3*this._model.mediaTime;null===(e=this.videoAnalytics)||void 0===e||e.reportPlaybackMetric(i().Constants.Playback.PLAY_HEAD_TIME,n),this._model.contentBufferedRange.contains(this._model.mediaTime)&&(null===(t=this.videoAnalytics)||void 0===t||t.reportPlaybackMetric(i().Constants.Playback.BUFFER_LENGTH,this._model.contentBufferedRange.end-this._model.mediaTime))})),P.adInsights&&($.debug("[init] calling Conviva.Analytics.buildAdAnalytics(...) for adInsights"),this.adAnalytics=i().Analytics.buildAdAnalytics(this.videoAnalytics)),this._model=C,this._config=P,$.debug("[init] calling createSession(...)"),this.createSession(P),Promise.resolve()}createDeviceMetadata(e){return{[i().Constants.DeviceMetadata.BRAND]:e.getDeviceBrand(),[i().Constants.DeviceMetadata.MANUFACTURER]:e.getDeviceManufacturer(),[i().Constants.DeviceMetadata.MODEL]:e.getDeviceModel(),[i().Constants.DeviceMetadata.TYPE]:e.getDeviceType(),[i().Constants.DeviceMetadata.VERSION]:e.getDeviceVersion(),[i().Constants.DeviceMetadata.OS_NAME]:e.getOperatingSystemName(),[i().Constants.DeviceMetadata.OS_VERSION]:e.getOperatingSystemVersion(),[i().Constants.DeviceMetadata.CATEGORY]:e.getDeviceCategory(),[i().Constants.DeviceMetadata.SCREEN_RESOLUTION_WIDTH]:e.getScreenWidth(),[i().Constants.DeviceMetadata.SCREEN_RESOLUTION_HEIGHT]:e.getScreenHeight(),[i().Constants.DeviceMetadata.SCREEN_RESOLUTION_SCALE_FACTOR]:e.getScaleFactor()}}_convertStreamType(e){switch(e){case d.H.Live:return i().Constants.StreamType.LIVE;case d.H.VOD:return i().Constants.StreamType.VOD;default:return i().Constants.StreamType.UNKNOWN}}endSession(){var e;$.debug("[endSession] reportPlaybackEnded()... shutting down"),null===(e=this.videoAnalytics)||void 0===e||e.reportPlaybackEnded(),this._activeSession=!1}createSession(e){var t,n,r,a,s,u,c,l;return E(this,void 0,void 0,(function*(){if($.debug(`[createSession] convivaConfig: ${(0,o.stringify)(e)}`),this.isSessionActive())return $.warn("[createSession] skipping, already a session running..."),this;this._activeSession=!0;const d={[i().Constants.ASSET_NAME]:null!==(t=e.assetName)&&void 0!==t?t:"unknown asset name",[i().Constants.VIEWER_ID]:null!==(n=e.viewerId)&&void 0!==n?n:"",[i().Constants.DEFAULT_RESOURCE]:null!==(r=e.defaultResource)&&void 0!==r?r:o.ObjectUtils.getOrElse(null===(a=this._model.playlistItem)||void 0===a?void 0:a.entry.metadata,"cdnType",""),[i().Constants.ENCODED_FRAMERATE]:null!==(s=e.encodedFrameRate)&&void 0!==s?s:-1};d[i().Constants.APPLICATION_VERSION]=null!==(u=e.applicationVersion)&&void 0!==u?u:"na",d["c3.cm.utmTrackingUrl"]=null!==(c=e.utmTrackingUrl)&&void 0!==c?c:"";const _=yield this.getConnectionType();return d[i().Constants.Network.CONNECTION_TYPE]=_,this._metadata=d,$.debug("[createSession] reportPlaybackRequested(...)"),null===(l=this.videoAnalytics)||void 0===l||l.reportPlaybackRequested(d),this}))}updateSession(e){var t;return E(this,void 0,void 0,(function*(){this._customTags=this.prepareTags(null!==(t=this._config.tags)&&void 0!==t?t:{});const n=Object.assign({[i().Constants.STREAM_URL]:e.streamUrl,[i().Constants.IS_LIVE]:this._convertStreamType(e.streamType),[i().Constants.PLAYER_NAME]:this.applicationName,[i().Constants.DURATION]:e.duration},this._customTags);return this._updateContentInfo(n),this}))}reportEvent(e){var t;try{const n=e.name,r={data:e.data};$.debug(`[reportEvent] reportPlaybackEvent(${n}, ${(0,o.stringify)(r)})`),null===(t=this.videoAnalytics)||void 0===t||t.reportPlaybackEvent(n,r)}catch(e){$.warn(`[reportEvent] Error reporting event to Conviva: ${e}`)}return this}reportError(e){var t;if(!this.videoAnalytics)return this;let n,r;switch(e.severity){case v.Wk.Fatal:case v.Wk.Error:n=i().Constants.ErrorSeverity.FATAL;break;default:n=i().Constants.ErrorSeverity.WARNING}r=(0,u.P)(e)?e.data:e.toString();try{$.debug(`[reportError] reportPlaybackError(${r}, ${n})`),null===(t=this.videoAnalytics)||void 0===t||t.reportPlaybackError(r,n)}catch(e){$.warn(`[reportError] Error reporting error to Conviva: ${e}`)}return this}pauseTracking(){var e;return this.isSessionActive()?this._trackingPaused||this._inAdBreak()?($.warn("[pauseTracking] ignoring, tracking is paused or already not monitored in ad break"),this):($.debug("[pauseTracking] reportPlaybackEvent(USER_WAIT_STARTED)"),null===(e=this.videoAnalytics)||void 0===e||e.reportPlaybackEvent(i().Constants.Events.USER_WAIT_STARTED),this._trackingPaused=!0,this):($.warn("[pauseTracking] could not pause tracking, no valid session found"),this)}resumeTracking(){var e;return this.isSessionActive()?(this._trackingPaused&&!this._inAdBreak()||$.warn("[resumeTracking] ignoring, tracking not paused or already not monitored"),$.debug("[resumeTracking] reportPlaybackEvent(USER_WAIT_ENDED)"),null===(e=this.videoAnalytics)||void 0===e||e.reportPlaybackEvent(i().Constants.Events.USER_WAIT_ENDED),this._trackingPaused=!1,this):($.warn("[resumeTracking] could not resume tracking, no valid session found"),this)}cleanupSession(){var e,t;return this.isSessionActive()?(this.endSession(),null===(e=this.videoAnalytics)||void 0===e||e.release(),this.videoAnalytics=void 0,null===(t=this.adAnalytics)||void 0===t||t.release(),this.adAnalytics=void 0,this):this}processCommand(e){var t;const{type:n}=e;switch(n){case f.t.CreateSession:{const t=e.data;t.metadata||$.error("[processCommand] unable to create Conviva session, missing content data"),this.createSession(this._config),this.updateSession(t.metadata);break}case f.t.ReportEvent:{const t=e.data;this.reportEvent(t.event);break}case f.t.ReportError:{const n=e.data;if(n.event)this.reportError(n.event);else{const e=null!==(t=n.error)&&void 0!==t?t:_.yw.unknownError();this.reportError(e)}break}case f.t.LifecycleUpdate:if(this.isSessionActive())switch(e.data.event){case v.um.Foreground:i().Analytics.reportAppForegrounded();break;case v.um.FocusLost:i().Analytics.reportAppEvent("Focus Lost",{});break;case v.um.Unplugged:i().Analytics.reportAppEvent("Unplugged",{});break;case v.um.Background:i().Analytics.reportAppBackgrounded()}else $.warn("[Conviva LifecycleUpdate] could not report event, no valid session found");break;case f.t.PauseTracking:this.pauseTracking();break;case f.t.ResumeTracking:this.resumeTracking();break;case f.t.CleanupSession:this.cleanupSession();break;default:throw new o.UnreachableCaseError(n)}return this}handlePlayerNotification(e){var t,n,r,i,o;if(!this._config)return this;switch(e.eventType){case l.E.Transaction_State_Changed:{const a=e.eventResult,{currentState:s,previousState:u}=a;switch(s){case v.g7.Transforming:{const e=function(e,t){var n,r,i;return{duration:null!==(r=null===(n=null==e?void 0:e.entry)||void 0===n?void 0:n.trt)&&void 0!==r?r:-1,streamUrl:t.url||"",streamType:(null===(i=null==e?void 0:e.entry)||void 0===i?void 0:i.isLive)?c.Hk.Live:c.Hk.VOD}}(null!==(t=this._model.playlistItem)&&void 0!==t?t:{},this._contentEntryFileData);this.updateSession(e);break}case v.g7.Waiting:this.pauseTracking();break;case v.g7.Validating:u===v.g7.Waiting&&this.resumeTracking();break;case v.g7.Error:{const t=null===(r=null===(n=e.eventResult)||void 0===n?void 0:n.args[0])||void 0===r?void 0:r.error,a=null==t?void 0:t.toString();$.error(`[handlePlayerNotification] reportAdFailed(${a})`),$.error(`[handlePlayerNotification] reportPlaybackFailed(${a})`),null===(i=this.adAnalytics)||void 0===i||i.reportAdFailed(a),null===(o=this.videoAnalytics)||void 0===o||o.reportPlaybackFailed(a);break}case v.g7.Ended:this.cleanupSession()}break}}return this}handleModuleNotification(e){return e.category===v.SQ.Component_Event&&e.module===v.PO.Video_Engine&&this.handleVideoEngineNotification(e.result),this}updateConfig(e){var t,n;const r=null===(t=null==e?void 0:e.analytics)||void 0===t?void 0:t.conviva;return r&&this.isSessionActive()?(this._metadata||(this._metadata={}),r.applicationName&&(this._metadata[i().Constants.PLAYER_NAME]=r.applicationName),r.applicationVersion&&(this._metadata[i().Constants.APPLICATION_VERSION]=r.applicationVersion),r.utmTrackingUrl&&(this._metadata["c3.cm.utmTrackingUrl"]=r.utmTrackingUrl),r.assetName&&(this._metadata[i().Constants.ASSET_NAME]=r.assetName),r.defaultResource&&(this._metadata[i().Constants.DEFAULT_RESOURCE]=r.defaultResource),r.encodedFrameRate&&(this._metadata[i().Constants.ENCODED_FRAMERATE]=r.encodedFrameRate),r.tags&&(this._customTags=(0,v.OJ)()(this._customTags,this.prepareTags(r.tags)),this._metadata=(0,v.OJ)()(this._metadata,this._customTags)),r.viewerId&&(this._metadata[i().Constants.VIEWER_ID]=r.viewerId),!1===r.adInsights?(null===(n=this.adAnalytics)||void 0===n||n.release(),this.adAnalytics=void 0):!0===r.adInsights&&(this.adAnalytics||(this.adAnalytics=i().Analytics.buildAdAnalytics(this.videoAnalytics))),this._config=(0,v.OJ)()(this._config,r),this._updateContentInfo(this._metadata),this):this}destroy(){return this.cleanupSession(),Promise.resolve()}getConnectionType(){return new Promise((e=>{n.g.NexusPlatform.getConnectionInfo().then((t=>{const n=t.connectionType;e(n&&"unknown"!==n?n:"NA")})).catch((t=>{e("NA")}))}))}}},2205:(e,t,n)=>{"use strict";n.d(t,{nQ:()=>r,vs:()=>a});var r,i=n(17306);!function(e){e.Model_Update_Request="modelUpdateRequest",e.Mark_Created="markCreated",e.Measure_Created="measureCreated"}(r||(r={}));const o=()=>({modelUpdateRequest:(0,i.createEvent)(r.Model_Update_Request),markCreated:(0,i.createEvent)(r.Mark_Created),measureCreated:(0,i.createEvent)(r.Measure_Created)});function a(){return(0,i.createEventCollection)(o())}},10196:(e,t,n)=>{"use strict";n.d(t,{tO:()=>r.t,jS:()=>i.j,e4:()=>o.e,PE:()=>a.P});var r=n(79957),i=n(62558),o=n(28509),a=n(54368)},93687:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});class r{constructor(e,t,n,r,i){this._token=e,this._assetId=r,this._companyId=i,this._ttl=t/1e3,this._createdAt=n/1e3,this._expiresAt=this._createdAt+this._ttl}get token(){return this._token}get assetId(){return this._assetId}get companyId(){return this._companyId}isExpired(e){var t,n;return(null!==(t=null==e?void 0:e.currentTime)&&void 0!==t?t:Date.now())/1e3>=this._expiresAt-(null!==(n=null==e?void 0:e.threshold)&&void 0!==n?n:10)}}},69897:(e,t,n)=>{"use strict";var r;n.d(t,{y:()=>r}),function(e){e.Pre_Play="prePlay",e.In_Play="inPlay"}(r||(r={}))},17980:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(17306);class i{constructor(e,t){if(!e||!t)throw new Error("AuthTokenHelper requires a token type and value to manage");this._token=e,this._type=t;const n=r.AuthTokenHelper.parse(e,t).toNullable();if(!n)throw new Error("Invalid token and/or type provided");this._result=n}get token(){return this._token}get type(){return this._type}isExpired(e){if(!this._result)throw new Error("Invalid token and/or type provided; cannot determine expiration");return r.AuthTokenHelper.isExpired(this._result,this._type,e).getOrElse(!0)}toObject(){return r.ObjectUtils.extendDeep({},this._result)}}},99066:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.iSP="x-isp-token"}(r||(r={}))},73703:(e,t,n)=>{"use strict";n.d(t,{SF:()=>u,q_:()=>a,qm:()=>s});var r=n(17306),i=n(1944),o=n(80054);function a(e){return void 0!==e.jwt}function s(e){return void 0!==e.auth}class u{static handleDRMTokenAuth(e,t){const n={assetId:t.assetId,appId:e.appId,format:"json",mediaId:t.mediaId};t.accessToken&&(n.accessToken=t.accessToken),t.accessTokenType&&(n.accessTokenType=t.accessTokenType),t.deviceId&&(n.deviceId=t.deviceId);const u=(0,r.parse)(e.serviceUrl);u.set("query",n);const c=(0,r.NetworkTask)(u.toString());return r.TaskFactory.create((e=>{c.fold((t=>{const n=(e,t)=>{const n=i.yw.authRequestFailure("[handleDRMTokenAuth] Token service request failed");n.setMetadata({recoverySuggestion:i.D0.SUGGEST_NETWORK_REQUEST_INSPECTION,subErrorCode:t.status.toString(),subErrorMessage:t.statusText}),e.reject(n)};(0,r.isResponse)(t)&&t.json().then((r=>{if(s(r))return e.reject((0,o.B)(r.auth.error.code,"handleDRMTokenAuth").setMetadata({subErrorCode:r.auth.error.code,subErrorMessage:r.auth.error.message}));n(e,t)})).catch((()=>{n(e,t)}))}),(r=>{var c;return s(r)?e.reject((0,o.B)(r.auth.error.code,"handleDRMTokenAuth").setMetadata({subErrorCode:r.auth.error.code,subErrorMessage:r.auth.error.message})):a(r)?(n.accessToken=null===(c=r.turner)||void 0===c?void 0:c.token,n.accessTokenType="turner",u.set("query",n),void e.resolve({jwt:r.jwt,ttl:r.ttl,timestamp:r.timestamp,version:r.version,turnerToken:r.turner,assetId:t.assetId,mediaId:t.mediaId,companyId:t.companyId,deviceId:t.deviceId,requestUrl:u.toString()})):e.reject(i.yw.authDrmTokenFailure("[handleDRMTokenAuth] Token service response was not an error, but didn't match expectation."))})),c.execute()})).execute()}}},67540:(e,t,n)=>{"use strict";var r;n.d(t,{p:()=>r}),function(e){e.Default="com.turner.top.auth.default"}(r||(r={}))},22584:(e,t,n)=>{"use strict";var r;n.d(t,{P:()=>r}),function(e){e.Default="com.turner.top.authdrm.default"}(r||(r={}))},80054:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,r:()=>o});var r=n(1944);const i=(e,t)=>{switch(e){case"2802":return r.yw.tokenMismatch(`[${t}] Invalid token for path`).setMetadata({recoverySuggestion:r.D0.TOKEN_MISMATCH});case"2803":return r.yw.maxAllowedStreamsExceeded(`[${t}] Maximum allowed streams exceeded`).setMetadata({recoverySuggestion:r.D0.BACKEND_SERVICES_ERROR});case"2804":return r.yw.maxAllowedRenewalsExceeded(`[${t}] Maximum renewals exceeded`).setMetadata({recoverySuggestion:r.D0.BACKEND_SERVICES_ERROR});default:return null}},o=(e,t)=>{var n;return null!==(n=i(e,t))&&void 0!==n?n:r.yw.authCdnTokenFailure(`[${t}] Token service response failed`).setMetadata({recoverySuggestion:r.D0.BACKEND_SERVICES_ERROR})},a=(e,t)=>{var n;return null!==(n=i(e,t))&&void 0!==n?n:r.yw.authDrmTokenFailure(`[${t}] Token service response failed`).setMetadata({recoverySuggestion:r.D0.BACKEND_SERVICES_ERROR})}},1092:(e,t,n)=>{"use strict";n.d(t,{pL:()=>h.p,PW:()=>p.P,Ts:()=>i.T,Hi:()=>o.H,HL:()=>r.H,yG:()=>a.y,SF:()=>s.SF,iE:()=>f,qm:()=>s.qm,q_:()=>s.q_});var r=n(17980),i=n(93687),o=n(99066),a=n(69897),s=n(73703),u=n(17306),c=n(1944),l=n(80054);const d=u.Log.getLogger("DefaultAuthHandler").filter("auth");var _;!function(e){e.JSON="json"}(_||(_={}));class f{static handleTokenAuth(e,t){const n=t.config,r=e.options,i=t.metadata,o=(0,u.getQueryAsMap)(n.serviceUrl),a=u.ObjectUtils.has(o,"appId"),s=`${(0,u.directory)(t.url)}*`,f={format:_.JSON,path:s};t.config.profile&&(f.profile=t.config.profile),a?d.warn("[handleTokenAuth] You have manually added the appId to the serviceUrl. Please add it to the player configuration instead."):(null==i?void 0:i.appId)&&n.appId&&(f.appId=n.appId),r.mvpdId&&(f.mvpdId=r.mvpdId),r.accessTokenType&&(f.accessTokenType=r.accessTokenType),r.accessToken&&(f.accessToken=r.accessToken),r.tokenParams&&u.ObjectUtils.extendDeep(f,r.tokenParams),u.ObjectUtils.mapValues(f,((e,t)=>encodeURIComponent(t)));const h=decodeURIComponent((0,u.appendQuery)(n.serviceUrl,f)),p=u.TaskFactory.create((e=>{const t=(0,u.NetworkTask)(h).fold((t=>{const n=(e,t)=>{const n=c.yw.cmsRequestFailure("[mediaJSONProvider] request failed");n.setMetadata({recoverySuggestion:c.D0.SUGGEST_NETWORK_REQUEST_INSPECTION,subErrorCode:t.status.toString(),subErrorMessage:t.statusText}),e.reject(n)};(0,u.isResponse)(t)&&t.json().then((r=>{if(function(e){return void 0!==e.error}(r)){const t=(0,l.r)(r.error.code,"handleTokenAuth").setMetadata({recoverySuggestion:c.D0.SUGGEST_NETWORK_REQUEST_INSPECTION,subErrorCode:r.error.code,subErrorMessage:r.error.message});return e.reject(t)}n(e,t)})).catch((()=>{n(e,t)}))}),(t=>{if(!t||!u.ObjectUtils.has(t,"auth"))return void e.reject(c.yw.authCdnTokenFailure("[handleTokenAuth] Token service response could not be parsed"));const n=u.ObjectUtils.getOrElse(t,"auth",{});n.error?e.reject((0,l.r)(n.error.code,"handleTokenAuth").setMetadata({subErrorCode:n.error.code,subErrorMessage:n.error.message})):n.token?e.resolve({token:n.token,turnerToken:n.turner,requestUrl:h}):e.reject(c.yw.authCdnTokenFailure("[handleTokenAuth] Token service response did not not contain a token"))}));t.execute()}));return p.execute()}}var h=n(67540),p=n(22584)},36354:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(17306),i=n(26318),o=n(12244),a=n(1944),s=n(12399),u=n(38197),c=n(24674),l=n(29810),d=n(85654),_=n(59926);const f=r.Log.getLogger("CCController").filter("captions");class h{constructor(e,t,n){this._onCCManagerEvent=(e,t)=>{if(e===i.oK.Track_Added&&this._queuedAutoTrackSelectionByLang){const e=t.id,n=this._ccManager.tracks.find((t=>t.id===e));(null==n?void 0:n.lang)===this._queuedAutoTrackSelectionByLang&&this._ccManager.selectTrackByLang(this._queuedAutoTrackSelectionByLang)&&(f.debug(`Auto-selected track w/ lang "${this._queuedAutoTrackSelectionByLang}" as a result of an earlier failed attempt on mediaStarted`),this._queuedAutoTrackSelectionByLang=null)}this._notifyModuleNotification({module:d.PO.Captions,category:d.SQ.Component_Event,result:t})},this.moduleNotification=(0,r.createEvent)("moduleNotification"),this._ccManager=e,this._bindings=[this._ccManager.events.listen(this._onCCManagerEvent)],this._savePreferencesTask=null,this._systemDefaults=r.ObjectUtils.assign({},(0,l.o)(),t),this._userSettings=n,this._preferences={enabled:null,lang:null,settings:(0,c.fh)(this._systemDefaults,n)},this._queuedAutoTrackSelectionByLang=null}_notifyModuleNotification(e){this.moduleNotification.dispatch(e)}_savePreferences(){return r.TaskFactory.create((e=>{const{enabled:t,lang:n}=this._preferences;Promise.all([(0,s.xB)(t),(0,s.zo)(n),(0,s.DK)(this._userSettings)]).then((()=>e.resolve())).catch((t=>e.reject(t)))})).execute()}_retrievePreferences(){return r.TaskFactory.create((e=>{Promise.all([(0,s.V)(),(0,s.ZV)(),(0,s.IP)()]).then((t=>{const[n,i,o]=t;r.ObjectUtils.assign(o,this._userSettings);const a=(0,c.fh)(this._systemDefaults,o);e.resolve({enabled:n,lang:i,settings:a})})).catch((t=>{e.reject(`[_retrievePreferences] Could not retrieve from storage: ${t}`)}))})).execute()}_onVideoEngineEvent(e,t){switch(e){case d.n_.Media_Loaded:this._preferences.settings&&this._ccManager.updateSettings(this._preferences.settings);break;case d.n_.Ad_Started:case d.n_.Media_Started:const{lang:e,enabled:t}=this._preferences;"true"!==this._model.config.metadata.tvOSCaptions&&(null!==e&&!1!==t&&(this._ccManager.selectTrackByLang(e)||(this._queuedAutoTrackSelectionByLang=e)),null!==t&&this._ccManager.setEnabled(t))}}_handlePruneMonitorEvent(e){e.type===_.A.Sliding_Window_Changed&&this._ccManager.prune(r.TimeRange.createWithEnd(0,e.minTime))}setup(e,...t){return r.TaskFactory.create((t=>{const{playerModel:n}=e;this._ccManager.init({model:n}),this._model=n,this._retrievePreferences().fold((e=>t.reject(a.yw.captionsStorageFailure(e))),(e=>{r.ObjectUtils.assign(this._preferences,e),t.resolve()}))})).execute()}updateConfig(e){}processCommand(e){switch(e.type){case o.xD.Set_Enabled:case o.xD.Select_Track:case o.xD.Select_Track_By_Lang:case o.xD.Update_Settings:switch(e.type){case o.xD.Set_Enabled:const t=r.ObjectUtils.getOrElse(e.data,"enabled",null);"boolean"==typeof t?(this._preferences.enabled=t,this._ccManager.setEnabled(t),!1===t&&(this._preferences.lang=d.gB.Off,this._ccManager.selectTrackByLang(d.gB.Off))):f.warn(`[processCommand] missing enabled property on ${e.type} command data`);break;case o.xD.Select_Track:const n=r.ObjectUtils.getOrElse(e.data,"track",null);n?(this._preferences.lang=n.lang,this._ccManager.selectTrack(n.id)&&(this._queuedAutoTrackSelectionByLang=null)):f.warn(`[processCommand] could not find track on ${e.type} command data`);break;case o.xD.Select_Track_By_Lang:const i=r.ObjectUtils.getOrElse(e.data,"lang",d.gB.Off);i?(this._preferences.lang=i,this._ccManager.selectTrackByLang(i)):f.warn(`[processCommand] could not find language identifier on ${e.type} command data`);break;case o.xD.Update_Settings:const a=r.ObjectUtils.getOrElse(e.data,"settings",null);if(!a){f.warn(`[processCommand] could not find settings on ${e.type} command data`);break}const s=r.ObjectUtils.getOrElse(e.data,"source",d.D.User);switch(s){case d.D.User:this._preferences.settings=(0,c.fh)(this._systemDefaults,a),this._userSettings=(0,c.k)(this._systemDefaults,a);break;case d.D.System:this._systemDefaults=a,this._preferences.settings=(0,c.fh)(this._systemDefaults,this._userSettings);break;default:throw new r.UnreachableCaseError(s)}this._ccManager.updateSettings(this._preferences.settings)}this._savePreferencesTask=this._savePreferences().onRejected((e=>{f.error(a.yw.captionsStorageFailure(e).toString())})).onCompleted((()=>{this._savePreferencesTask=null}));break;default:throw new r.UnreachableCaseError(e.type)}}handleModuleNotification(e){if(e.module===d.PO.Video_Engine){const{type:t,result:n}=e.result;this._onVideoEngineEvent(t,n)}}handlePlayerNotification(e){e.sourceType===u.A.Monitors&&e.eventCategory===u.K.Prune&&this._handlePruneMonitorEvent(e.eventResult)}destroy(){return new Promise(((e,t)=>{this._savePreferencesTask&&this._savePreferencesTask.cancel(),this._bindings.forEach((e=>e.detach())),this._bindings=[],this._ccManager.destroy(),e()}))}}},29810:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(85654);const i=()=>({backgroundColor:r.Il.Default,backgroundOpacity:r.Dd.Default,fontColor:r.Il.Default,fontOpacity:r.Dd.Default,fontType:r.Ky.Default,fontEdge:r.kS.Default,size:r.$u.Default})},24674:(e,t,n)=>{"use strict";n.d(t,{N4:()=>s,fh:()=>o,k:()=>i});var r=n(85654);function i(e,t){return Object.keys(e).reduce(((n,r)=>(e[r]!==t[r]&&t[r]&&(n[r]=t[r]),n)),{})}function o(e,t){return t?{backgroundColor:t.backgroundColor&&t.backgroundColor!==r.Il.Default?t.backgroundColor:e.backgroundColor,backgroundOpacity:t.backgroundOpacity&&t.backgroundOpacity!==r.Dd.Default?t.backgroundOpacity:e.backgroundOpacity,fontColor:t.fontColor&&t.fontColor!==r.Il.Default?t.fontColor:e.fontColor,fontEdge:t.fontEdge&&t.fontEdge!==r.kS.Default?t.fontEdge:e.fontEdge,fontOpacity:t.fontOpacity&&t.fontOpacity!==r.Dd.Default?t.fontOpacity:e.fontOpacity,fontType:t.fontType&&t.fontType!==r.Ky.Default?t.fontType:e.fontType,size:t.size&&t.size!==r.$u.Default?t.size:e.size}:e}const a=/\#[0-9a-fA-F]{6}/;function s(e){switch(e){case r.Il.Black:case r.Il.Blue:case r.Il.Cyan:case r.Il.Default:case r.Il.Green:case r.Il.Magenta:case r.Il.Red:case r.Il.White:case r.Il.Yellow:return!0;default:return a.test(e)}}},12244:(e,t,n)=>{"use strict";var r,i,o;n.d(t,{Om:()=>i,bu:()=>r,xD:()=>o}),function(e){e.Parsed="parsed",e.Entered="entered",e.Exited="exited",e.Updated="updated",e.Removed="removed"}(r||(r={})),function(e){e.Added="added",e.Deselected="deselected",e.Selected="selected",e.Removed="removed"}(i||(i={})),function(e){e.Set_Enabled="setEnabled",e.Select_Track="selectTrack",e.Select_Track_By_Lang="selectTrackByLang",e.Update_Settings="updateSettings"}(o||(o={}))},42683:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,o:()=>a});var r=n(17306);const i=()=>({modelUpdateRequest:(0,r.createEvent)(a.Model_Update_Request),stateChanged:(0,r.createEvent)(a.State_Changed),settingsUpdated:(0,r.createEvent)(a.Settings_Updated),trackAdded:(0,r.createEvent)(a.Track_Added),trackRemoved:(0,r.createEvent)(a.Track_Removed),trackSelected:(0,r.createEvent)(a.Track_Selected),trackDeselected:(0,r.createEvent)(a.Track_Deselected),cueParsed:(0,r.createEvent)(a.Cue_Parsed),cueEntered:(0,r.createEvent)(a.Cue_Entered),cueExited:(0,r.createEvent)(a.Cue_Exited),cueUpdated:(0,r.createEvent)(a.Cue_Updated),cueRemoved:(0,r.createEvent)(a.Cue_Removed)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Model_Update_Request="modelUpdateRequest",e.State_Changed="stateChanged",e.Settings_Updated="settingsUpdated",e.Track_Added="trackAdded",e.Track_Removed="trackRemoved",e.Track_Selected="trackSelected",e.Track_Deselected="trackDeselected",e.Cue_Parsed="cueParsed",e.Cue_Entered="cueEntered",e.Cue_Exited="cueExited",e.Cue_Updated="cueUpdated",e.Cue_Removed="cueRemoved"}(a||(a={}))},70172:(e,t,n)=>{"use strict";n.d(t,{W:()=>a,t:()=>o});var r=n(17306);const i=()=>({trackChanged:(0,r.createEvent)(a.Track_Changed),cueChanged:(0,r.createEvent)(a.Cue_Changed)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Track_Changed="trackChanged",e.Cue_Changed="cueChanged"}(a||(a={}))},26318:(e,t,n)=>{"use strict";n.d(t,{WX:()=>i.W,hX:()=>r.h,oK:()=>r.o,tT:()=>i.t});var r=n(42683),i=n(70172)},55428:(e,t,n)=>{"use strict";n.d(t,{xD:()=>u.xD,TQ:()=>o.T,oK:()=>r.oK,F7:()=>f,WX:()=>r.WX,bu:()=>u.bu,Om:()=>u.Om,nY:()=>h,dc:()=>i.d,oY:()=>a.o,hX:()=>r.hX,tT:()=>r.tT});var r=n(26318),i=n(99),o=n(36354),a=n(29810),s=n(17306),u=n(12244),c=n(42683),l=n(70172),d=n(85654);const _=s.Log.getLogger("CCManager").filter("captions");class f{constructor(e){this._onProviderEvent=(e,t)=>{switch(e){case l.W.Track_Changed:this._handleTrackAction(t.action,t.track);break;case l.W.Cue_Changed:this._handleCueAction(t.action,t.cue);break;default:throw new s.UnreachableCaseError(e)}},this.events=(0,c.h)(),this._provider=e,this._bindings=[this._provider.events.listen(this._onProviderEvent)],this._tracks=[],this._cues=[],this._lastUserSelectedTrack=null,this._activeTrack=null,this._expectedSelectedTrack=null,this._enabled=!1,this._state=d.IM.Pending}_requestModelUpdates(e){this.events.modelUpdateRequest.dispatch({changes:e})}_updateState(e){const t=this._state;e!==t&&(this._state=e,this._requestModelUpdates([{property:d.Yk.Caption_State,value:e}]),this.events.stateChanged.dispatch({currentState:e,previousState:t}))}_syncCaptionTracksModel(){this._requestModelUpdates([{property:d.Yk.Caption_Tracks,value:s.ArrayUtils.deepCopy(this._tracks)}])}_syncCaptionCuesModel(){this._requestModelUpdates([{property:d.Yk.Caption_Cues,value:s.ArrayUtils.deepCopy(this._cues)}])}_requestCueRemovalFromModel(e){this._requestModelUpdates([{property:d.Yk.Caption_Cues,value:e,mode:d.S_.Array_Remove_By_Position}])}_requestCueAdditionToModel(e){this._requestModelUpdates([{property:d.Yk.Caption_Cues,value:e,mode:d.S_.Array_Append}])}_requestTrackRemovalFromModel(e){this._requestModelUpdates([{property:d.Yk.Caption_Tracks,value:e,mode:d.S_.Array_Remove_By_Position}])}_requestTrackAdditionToModel(e){this._requestModelUpdates([{property:d.Yk.Caption_Tracks,value:s.ObjectUtils.extendDeep({},e),mode:d.S_.Array_Append}])}_getCaptionTrackById(e){return this._tracks.find((t=>t.id===e))||null}_getCaptionCueById(e){return this._cues.find((t=>t.id===e))||null}_handleTrackAction(e,t){switch(e){case u.Om.Added:this._tracks.push(t),this._requestTrackAdditionToModel(t),this.events.trackAdded.dispatch({id:t.id});break;case u.Om.Selected:if(null!==this._expectedSelectedTrack&&this._expectedSelectedTrack!==t.id){_.warn(`[_handleTrackAction] Selected, ignoring. Expected track: ${this._expectedSelectedTrack}, received: ${t.id}`);break}!this._activeTrack&&this._enabled||this._updateState(d.IM.Changing_Track),this._activeTrack=(()=>{const e=this._getCaptionTrackById(t.id);return e?(e.active=!0,e):(_.warn(`Cannot select track, no matching track found with ID: ${t.id}`),null)})(),this._enabled||(this._enabled=!0),null!==this._activeTrack&&(this._syncCaptionCuesModel(),this._syncCaptionTracksModel(),this._updateState(d.IM.Showing_Track),this.events.trackSelected.dispatch({id:this._activeTrack.id}));break;case u.Om.Deselected:if(!this._activeTrack){_.warn("[_handleTrackAction] Deselected, ignoring. No active track found");break}if(this._activeTrack.id!==t.id){_.warn(`[_handleTrackAction] Deselected, ignoring. Expected active track (${this._activeTrack.id}), received: ${t.id}`);break}this._enabled&&this._updateState(d.IM.Changing_Track);const n=this._activeTrack.id;this._activeTrack.active=!1,this._activeTrack=null,this._cues.length=0,this._syncCaptionCuesModel(),this._syncCaptionTracksModel(),this._enabled?this._updateState(d.IM.Ready):this._updateState(d.IM.Disabled),this.events.trackDeselected.dispatch({id:n});break;case u.Om.Removed:const r=this._getCaptionTrackById(t.id);if(r){const e=this._tracks.indexOf(r);this._tracks.splice(e,1),this._requestTrackRemovalFromModel(e),this.events.trackRemoved.dispatch({id:r.id})}else _.warn(`Could not match track by ID: ${t.id}`);break;default:throw new s.UnreachableCaseError(e)}}_handleCueAction(e,t){switch(e){case u.bu.Parsed:{this._cues.push(t);const e=this._model.config.captions.maxCues;let n=-1;e&&e>0&&this._cues.length>e&&(n=0),this._enabled&&this._activeTrack&&(this._requestCueAdditionToModel(t),this.events.cueParsed.dispatch({id:t.id,trackId:this._activeTrack.id}),n>-1&&this._provider.removeCue(this._cues[n]));break}case u.bu.Updated:{const e=this._getCaptionCueById(t.id);if(e){if(s.ObjectUtils.extendDeep(e,t),this._enabled&&this._activeTrack){const e=this._cues.findIndex((e=>t.id===e.id));e>-1&&this._requestCueRemovalFromModel(e),this._requestCueAdditionToModel(t),this.events.cueUpdated.dispatch({id:t.id,trackId:this._activeTrack.id})}}else _.warn(`Could not update cue, not found by ID: ${t.id}`);break}case u.bu.Entered:this._enabled&&this._activeTrack&&this.events.cueEntered.dispatch({id:t.id,trackId:this._activeTrack.id});break;case u.bu.Exited:this._enabled&&this._activeTrack&&this.events.cueExited.dispatch({id:t.id,trackId:this._activeTrack.id});break;case u.bu.Removed:{const e=this._cues.findIndex((e=>t.id===e.id));e>-1&&(this._cues.splice(e,1),this._enabled&&this._activeTrack&&(this._requestCueRemovalFromModel(e),this.events.cueRemoved.dispatch({id:t.id,trackId:this._activeTrack.id})));break}default:throw new s.UnreachableCaseError(e)}}get tracks(){return this._tracks}init(e){const{model:t}=e;this._model=t,this._updateState(d.IM.Ready)}setEnabled(e){const t=!this._enabled&&e,n=this._enabled&&!e;t&&this._lastUserSelectedTrack&&(this._expectedSelectedTrack=this._lastUserSelectedTrack,this._provider.selectTrack(this._lastUserSelectedTrack)),n&&this._activeTrack&&this._provider.deselectTrack(this._activeTrack.id),this._enabled=e}selectTrack(e){return this._activeTrack&&this._activeTrack.id===e||this._expectedSelectedTrack===e?(_.warn(`[selectTrack] ignoring selectTrack request - track "${e}" already selected`),!1):(this._lastUserSelectedTrack=e,this._expectedSelectedTrack=this._lastUserSelectedTrack,this._provider.selectTrack(this._expectedSelectedTrack),!0)}selectTrackByLang(e){const t=this._tracks.find((t=>t.lang===e));return t?(this.selectTrack(t.id),!0):(this.selectTrack(d.gB.Off),_.warn(`[selectTrackByLang] could not find matching track with lang: ${e}`),!1)}updateSettings(e){const t=this._model.captionSettings;this._requestModelUpdates([{property:d.Yk.Caption_Settings,value:e,mode:d.S_.Extend}]);const n=s.ObjectUtils.extendDeep({},t,e);this._provider.updateSettings(n),this.events.settingsUpdated.dispatch({settings:n})}prune(e){this._provider.prune(e)}destroy(){this._bindings.forEach((e=>e.detach())),this._bindings.length=0,this._provider.destroy(),this._lastUserSelectedTrack=null,this._activeTrack=null,this._expectedSelectedTrack=null,this._enabled=!1,this._state=d.IM.Pending,this._cues.length=0,this._tracks.length=0}}var h;!function(e){e.Default="com.turner.top.captions.default"}(h||(h={}))},99:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var r=n(17306),i=n(65025),o=n(12244),a=n(70172),s=n(85654);const u=r.Log.getLogger("DefaultCCProvider").filter("captions.provider");class c{constructor(){this._onVideoEngineModuleNotification=e=>{const t=e.result;switch(t.type){case s.n_.Caption_Track_Added:this._notifyTrackChanged(o.Om.Added,t.track);break;case s.n_.Caption_Track_Selected:this._notifyTrackChanged(o.Om.Selected,t.track);break;case s.n_.Caption_Track_Deselected:this._notifyTrackChanged(o.Om.Deselected,t.track);break;case s.n_.Caption_Track_Removed:this._notifyTrackChanged(o.Om.Removed,t.track);break;case s.n_.Caption_Cue_Parsed:break;case s.n_.Caption_Cue_Entered:this._notifyCueChanged(o.bu.Entered,t.cue);break;case s.n_.Caption_Cue_Exited:this._notifyCueChanged(o.bu.Exited,t.cue);break;case s.n_.Caption_Cue_Updated:this._notifyCueChanged(o.bu.Updated,t.cue);break;case s.n_.Media_Loaded:this._handleMediaLoaded();break;case s.n_.Media_Seeking_Started:this._selectedTrack&&(this._activeCuesOnSeek=this._activeCues.slice(0));break;case s.n_.Media_Seeking_Finished:if(this._selectedTrack&&this._activeCuesOnSeek&&this._activeCuesOnSeek.length>0){const e=this._activeCuesOnSeek.filter((e=>this._activeCues.indexOf(e)>-1));u.debug(`Forcing exit for unexpectedly active cues: "${e.map((e=>e.id)).join(", ")}"`),this._exitCues(e),this._activeCuesOnSeek.length=0,this._activeCuesOnSeek=null}}},this.events=(0,a.t)(),this._activeCues=[],this._source=null,this._moduleNotificationBinding=null,this._mediaHasLoaded=!1,this._requestedTrackIdForSelection=null,this._selectedTrack=null,this._nextCueId=0,this._tracks={},this._cueIdentityMap={},this._activeCuesOnSeek=null}_notifyTrackChanged(e,t){switch(e){case o.Om.Added:if(this._tracks[t.id])return void u.warn(`Ignoring unexpected "added" event for "${t.id}" - track already added`);this._tracks[t.id]=t;break;case o.Om.Selected:if(this._selectedTrack=t,!this._mediaHasLoaded&&null===this._requestedTrackIdForSelection)return;break;case o.Om.Deselected:this._selectedTrack&&this._selectedTrack.id===t.id&&(this._selectedTrack=null,this._cueIdentityMap={});break;case o.Om.Removed:this._selectedTrack&&this._selectedTrack.id===t.id&&(this._selectedTrack=null,this._cueIdentityMap={}),delete this._tracks[t.id]}this.events.trackChanged.dispatch({action:e,track:t})}_notifyCueChanged(e,t){switch(e){case o.bu.Parsed:break;case o.bu.Updated:this._handleCueUpdated(t);break;case o.bu.Entered:case o.bu.Exited:this._handleCueEnteredOrExited(e,t);break;case o.bu.Removed:break;default:throw new r.UnreachableCaseError(e)}}_handleCueParsed(e){if(this._resolveTrackedCueData(e))return;const t=this._getNewCueId(),n=this._assignCueId(e,t);this._trackCue(n),this.events.cueChanged.dispatch({action:o.bu.Parsed,cue:n})}_handleCueUpdated(e){const t=this._resolveTrackedCueData(e);if(!t)return void this._handleCueParsed(e);const n=this._assignCueId(e,t.id);r.ObjectUtils.updateValues(t,n),this.events.cueChanged.dispatch({action:o.bu.Updated,cue:n})}_handleCueEnteredOrExited(e,t){let n=this._resolveTrackedCueData(t);if(!n&&(u.warn(`Cue action: "${e}", unable to resolve tracked cue data - treating as a new cue`),this._handleCueParsed(t),n=this._resolveTrackedCueData(t),!n))return void u.error(`Could not properly handle cue "${e}", unable to resolve on-the-fly tracked cue`);const r=this._assignCueId(t,n.id);switch(e){case o.bu.Entered:if(!this._trackActiveCue(r))return void u.debug(`Could not track active cue - ID ${r.id} found to already be active`);break;case o.bu.Exited:if(!this._removeActiveCue(r))return void u.debug(`Could not remove tracked active cue - ID ${r.id} not found to be active`)}this.events.cueChanged.dispatch({action:e,cue:r})}_handleMediaLoaded(){this._mediaHasLoaded=!0,this._selectedTrack&&null===this._requestedTrackIdForSelection&&this._notifyTrackChanged(o.Om.Selected,this._selectedTrack)}_getNewCueId(){return this._nextCueId++,`cue-${this._nextCueId}`}_assignCueId(e,t){const n=e;return n.id=t,n}_getCCCueKey(e){var t,n;return`${e.range.start}+${null===(t=e.metadata.position)||void 0===t?void 0:t.row}+${null===(n=e.metadata.position)||void 0===n?void 0:n.column}`}_getTrackedCuesFromCueTimeRange(e){const t=this._getCCCueKey(e);return this._cueIdentityMap[t]||null}_trackCue(e){const t=this._getCCCueKey(e);this._cueIdentityMap[t]||(this._cueIdentityMap[t]=[]),this._cueIdentityMap[t].push({id:e.id,range:e.range,metadata:e.metadata})}_resolveTrackedCueData(e){const t=this._getTrackedCuesFromCueTimeRange(e);return t&&t.find((t=>t.range.start===e.range.start))||null}_trackActiveCue(e){return-1===this._activeCues.findIndex((t=>t.id===e.id))&&(this._activeCues.push(e),!0)}_removeActiveCue(e){const t=this._activeCues.findIndex((t=>t.id===e.id));return-1!==t&&(this._activeCues.splice(t,1),!0)}_exitCues(e){this._selectedTrack&&e.forEach((e=>{this._handleCueEnteredOrExited(o.bu.Exited,e)}))}_removeCue(e){const t=this._getTrackedCuesFromCueTimeRange(e),n=this._resolveTrackedCueData(e);if(!n||!t)return;const r=t.findIndex((e=>e.id===n.id)),i=this._activeCues.findIndex((e=>e.id===n.id));r>-1&&i<0&&(t.splice(r,1),this.events.cueChanged.dispatch({action:o.bu.Removed,cue:Object.assign({},e)}))}_pruneCuesWithinRange(e){const t=[],n=[];for(const i in this._cueIdentityMap){const o=this._cueIdentityMap[i];for(let a=o.length-1;a>=0;--a){const s=o[a];r.TimeRangeUtils.intersectsRange(s.range,e)&&(t.push({id:s.id,range:s.range,metadata:s.metadata}),o.splice(a,1),0===o.length&&n.push(i))}}n.forEach((e=>{delete this._cueIdentityMap[e]})),t.forEach((e=>{this.events.cueChanged.dispatch({action:o.bu.Removed,cue:Object.assign({trackId:this._selectedTrack?this._selectedTrack.id:"Unknown Track ID",content:""},e)})}))}setSourceContext(e){this._source||(this._source=e,this._moduleNotificationBinding=this._source.moduleNotification.listen(this._onVideoEngineModuleNotification))}selectTrack(e){this._source?this._requestedTrackIdForSelection!==e?(this._requestedTrackIdForSelection=e,this._source.processCommand({type:i.xE.Select_Caption_Track,data:{trackId:e}})):u.debug("[selectTrack] ignoring, track already requested for selection"):u.debug("[selectTrack] ignoring, source not set")}deselectTrack(e){this._source?(this._requestedTrackIdForSelection===e&&(this._requestedTrackIdForSelection=null),this._source.processCommand({type:i.xE.Deselect_Caption_Track,data:{trackId:e}})):u.debug("[deselectTrack] ignoring, source not set")}updateSettings(e){this._source?this._source.processCommand({type:i.xE.Update_Caption_Settings,data:{settings:e}}):u.debug("[updateSettings] ignoring, source not set")}removeCue(e){this._removeCue(e)}prune(e){this._pruneCuesWithinRange(e)}destroy(){this._moduleNotificationBinding&&(this._moduleNotificationBinding.detach(),this._moduleNotificationBinding=null),this._activeCues.length=0,this._mediaHasLoaded=!1,this._tracks={},this._requestedTrackIdForSelection=null,this._selectedTrack=null,this._nextCueId=0,this._cueIdentityMap={},this._source=null,this._activeCuesOnSeek&&(this._activeCuesOnSeek.length=0),this._activeCuesOnSeek=null}}},41516:(e,t,n)=>{"use strict";n.d(t,{D:()=>_});var r=n(17306),i=n(75977),o=n(85654);const a=r.Log.getLogger("providers").filter("cms"),s=(e,t)=>{a.debug(`[legendProvider] data: ${e}`);const n=(e=>{switch(!0){case/^cdg$/.test(e):return"https://httpstream.ngtv.io/never-forget/whiskey-1.mp4";case/^jerbear$/.test(e):return"https://httpstream.ngtv.io/never-forget/bear-1.mp4";default:return e}})(e.playData);t.resolve(o.Fb.forEntryData().addFile({url:n}).withMetadata({legendMarker:"neverForget"}).build())};var u=n(90961),c=n(1944);const l=r.Log.getLogger("CmsEntryResolver").filter("cms"),d={en:"English",eng:"English","en-us":"English (U.S.)","en-ca":"English (Canada)","en-gb":"English (UK)",es:"Spanish",spa:"Spanish","es-es":"Spanish (Castilian)","es-mx":"Spanish (Mexico)"};class _{constructor(e,t,n){this._providerMap=e,this._config=t,this._playData=n,this._task=r.TaskFactory.create(this._onTaskExecuted.bind(this))}_onTaskExecuted(e){this._resolver=e,this._nextProvider()}_nextProvider(){if(this._needsResolution())this._providerTask=this._createProviderTask(),this._providerTask.execute().onResolved((e=>{this._playData=e,this._nextProvider()})).onRejected((e=>{this._resolver.reject(e)}));else{const e=this._normalizePlayData(this._playData);this._isValidEntry(e)?this._resolver.resolve(e):this._resolver.reject(c.yw.cmsResolutionFailure(`Invalid content entry result: ${(0,r.stringify)(e)}`))}}_needsResolution(){return"string"==typeof this._playData||!!(0,u.wj)(this._playData)||!!(0,u.Bb)(this._playData)||!!(0,u.gN)(this._playData.metadata)}_createProviderTask(){const e=this._getProviderForData();return r.TaskFactory.create((t=>{e?e({playData:this._playData,providerConfig:this._config.providers||{}},t):t.reject(c.yw.cmsResolutionFailure("No known provider for play data"))}))}_getProviderForData(){if("string"==typeof this._playData)return e=this._playData,/^cdg$/.test(e)||/^jerbear$/.test(e)?s:i.CE;var e;if((0,u.x2)(this._playData)&&(0,u.gN)(this._playData.metadata))return i.g6;if((0,u.wj)(this._playData)){const e=this._providerMap[this._playData.providerType];if(l.debug(`[getProviderForData] using '${this._playData.providerType}' to resolve data: ${(0,r.stringify)(this._playData)}`),e)return e}}_isValidEntry(e){return e.files&&e.files.length>0}_normalizePlayData(e){if("string"==typeof e)throw new Error("Should never receive the string type of ContentPlayData");if((0,u.wj)(e))throw new Error("Should never be ContentProviderData, it should have been resolved to a entry");const t=r.ObjectUtils.extendDeep({},e);let n=null,i=null;(0,u.u4)(t)&&(n=t.url,t.auth&&(i=t.auth.type),delete t.url,delete t.auth);const a=r.ObjectUtils.extendDeep(o.Fb.forEntryData().build(),t);if(n)a.files.push({url:n,contentProtection:o.AR.Unknown,encryptionMode:o.x.Unknown,playlistProtection:i});else{const e={url:null,playlistProtection:i,encryptionMode:o.x.Unknown,contentProtection:o.AR.Unprotected};a.files=a.files.map((t=>r.ObjectUtils.extendDeep({},e,t)))}a.captions.sources.forEach((e=>{e.tracks.forEach((e=>{var t;e.label||(e.label=null!==(t=d[e.lang.toLowerCase()])&&void 0!==t?t:"Unlabeled Track")}))}));for(const e of a.files)e.url&&(e.type=e.type&&e.type!==o.FO.Unknown?e.type:this._getMediaFileType(e.url),e.deliveryType=e.deliveryType&&e.deliveryType!==o.cA.Unknown?e.deliveryType:this._getMediaDeliveryType(e.type));return a}_getMediaFileType(e){return o.FO[(0,r.extension)(e).toUpperCase()]||o.FO.Unknown}_getMediaDeliveryType(e){switch(e){case o.FO.MP3:case o.FO.MP4:return o.cA.Progressive;case o.FO.M3U8:return o.cA.Streaming;default:return o.cA.Unknown}}load(){return this._task.execute()}}},90961:(e,t,n)=>{"use strict";function r(e){return void 0!==e.providerType}function i(e){return void 0!==e.mediaId}function o(e){return void 0!==e.url}function a(e){return void 0!==e.id}function s(e){return"string"==typeof e}n.d(t,{Bb:()=>i,gN:()=>s,u4:()=>o,wj:()=>r,x2:()=>a})},75977:(e,t,n)=>{"use strict";n.d(t,{ks:()=>g,CB:()=>h,g6:()=>p,CE:()=>f});var r=n(17306),i=n(90961),o=n(72720),a=n(72454),s=n(45931),u=n(87412),c=n(1944),l=n(85654);const d=r.Log.getLogger("MediaJSONParser").filter("cms"),_=r.Log.getLogger("providers").filter("cms"),f=(e,t)=>{_.debug(`[urlProvider] data: ${e}`),t.resolve(l.Fb.forEntryData().addFile({url:e.playData}).build())},h=(e,t)=>{const{playData:n,providerConfig:i}=e;_.debug(`[mediaJSONProvider] data: ${(0,r.stringify)(n)}`),_.debug(`[mediaJSONProvider] providerConfig: ${(0,r.stringify)(i)}`);const f=(0,o.fromNullable)(i).getOrElse({"top.cms.provider.mediaJson":{}})[l.OS.MediaJSON];let h="";f.versionId===l.Tf.V2&&(h=`/${l.Tf.V2}`);const p=[["host",f.host],["versionId",h],["mediaId",n.mediaId],["platform",f.platform]];let g=f.serviceUrl.slice();for(const e of p)g=g.replace(`{${e[0]}}`,e[1]);const v=(0,r.parse)(g);n.appId?v.set("query",Object.assign(Object.assign({},v.query),{appId:n.appId})):f.appId&&"${metadata.appId}"!==f.appId&&v.set("query",Object.assign(Object.assign({},v.query),{appId:f.appId})),n.kvps&&v.set("query",Object.assign(Object.assign({},v.query),n.kvps)),_.debug(`[mediaJSONProvider] url: ${v.href}`);const m=(0,r.NetworkTask)(v.href).fold((e=>{const n=(e,t)=>{const n=c.yw.cmsRequestFailure("[mediaJSONProvider] request failed");n.setMetadata({recoverySuggestion:c.D0.SUGGEST_NETWORK_REQUEST_INSPECTION,subErrorCode:t.status.toString(),subErrorMessage:t.statusText}),e.reject(n)};(0,r.isResponse)(e)&&(_.debug(`[mediaJSONProvider] request failed: ${(0,r.stringify)(e)}`),e.json().then((r=>{if((0,a.l)(r)){const e=c.yw.cmsResolutionFailure("Error in medium response").setMetadata({recoverySuggestion:c.D0.BACKEND_SERVICES_ERROR,subErrorCode:r.error.code.toString(),subErrorMessage:r.error.error});t.reject(e)}else n(t,e)})).catch((()=>{n(t,e)})))}),(e=>{if((0,a.l)(e)){const n=c.yw.cmsResolutionFailure("Error in medium response").setMetadata({recoverySuggestion:c.D0.BACKEND_SERVICES_ERROR,subErrorCode:e.error.code.toString(),subErrorMessage:e.error.error});return t.reject(n)}switch(f.versionId){case l.Tf.V1:(0,s._)(n,f,e).fold(t.reject,t.resolve);break;case l.Tf.V2:(function(e,t,n){const i=l.Fb.forEntryData();if(!n.media)return(0,u.left)(c.yw.cmsResolutionFailure("Invalid MediaJSON: 'media' missing"));if(!n.mediaId)return(0,u.left)(c.yw.cmsResolutionFailure("expected mediaId to exist in result from MediaJSON request"));const o=n.media[t.platform];if(!o)return(0,u.left)(c.yw.cmsResolutionFailure(`invalid MediaJSON: ${t.platform} assets missing`));let a=!1;for(const e of t.mediaTypes){const t=o[e];if(t&&void 0!==(t.cbcs||t.cenc||t.unencrypted)){a=!0;break}}if(!a)return(0,u.left)(c.yw.cmsResolutionFailure(`The requested asset from Medium has no available asset for the configured media types: [${t.mediaTypes.join(", ")}]`));const s=t.mediaTypes.filter((e=>{const t=o[e];if(!t)return!1;let n=t.cenc||!1;return n||(n=t.cbcs||!1),n||(n=t.unencrypted||!1),!(!n||!n.url)})).map((e=>{const t=o[e];let n=l.x.CENC,r=t.cenc||!1;return r||(r=t.cbcs||!1,r&&(n=l.x.CBCS)),r||(r=t.unencrypted||!1,r&&(n=l.x.Unencrypted)),{authType:e,encryptionMode:n,asset:r}})),_=Object.assign({mediaId:e.mediaId},n.metadata);i.withId(n.mediaId).withMetadata(_).isLive("live"===n.type);for(const e of s){const t="none"===e.asset.playlistProtection?null:e.asset.playlistProtection;i.addFile({assetId:e.asset.assetId,contentProtection:e.authType,encryptionMode:e.encryptionMode,playlistProtection:t||null,url:e.asset.url})}const f=s[0].asset;f.captions||(f.captions=[]);for(const e of f.captions)e.type?i.addCaptionTrackEmbedded({format:e.type,platform:t.platform,type:"embedded"},{kind:l.Hy.Caption,channel:e.location||"unknown",lang:e.language||"unknown",label:"English"}):d.debug(`Got track without a type: ${(0,r.stringify)(e)}`);if(f.contentSegments)for(const e of f.contentSegments)"number"==typeof e.duration&&"number"==typeof e.segmentIdx&&"number"==typeof e.start?i.addSegment(e):d.warn(`[mediaJsonProvider] segment missing required properties: ${(0,r.stringify)(e)}`);if(f.totalRuntime&&i.withTrt(f.totalRuntime),f.contentMetadata)for(const e of f.contentMetadata)"number"==typeof e.duration&&"number"==typeof e.start?i.addContentMetadata(e):d.warn(`[mediaJsonProvider] contentMetadata missing required properties: ${(0,r.stringify)(e)}`);n.validation&&Object.keys(n.validation).forEach((e=>{i.addValidator(e,n.validation[e])}));const h=i.build();return d.debug(`[mediaJSONProvider] content entry data: ${(0,r.stringify)(h)}`),(0,u.right)(h)})(n,f,e).fold(t.reject,t.resolve)}}));m.execute()},p=(e,t)=>{_.debug(`[metadataProvider] data: ${(0,r.stringify)(e.playData.metadata)}`),(0,i.gN)(e.playData.metadata)?(0,r.NetworkTask)(e.playData.metadata).fold((e=>{const n=c.yw.cmsResolutionFailure("[remote metadata] request failure");return(0,r.isResponse)(e)&&n.setMetadata({recoverySuggestion:c.D0.BACKEND_SERVICES_ERROR,subErrorCode:e.status.toString(),subErrorMessage:e.statusText}),t.reject(n)}),(n=>{e.playData.metadata=n,t.resolve(e.playData)})).execute():t.reject(c.yw.cmsResolutionFailure("no remote metadata to resolve"))},g=()=>({[l.OS.URL]:f,[l.OS.MediaJSON]:h})},4492:(e,t,n)=>{"use strict";n.d(t,{A0:()=>s,ZX:()=>o,_Y:()=>u,aV:()=>a});var r=n(85654),i=n(17306);function o(e){return null!==e.playlistProtection}function a(e){switch(e.contentProtection){case r.AR.MultiDRM:case r.AR.PlayReady:case r.AR.Widevine:case r.AR.Fairplay:return!0;default:return!1}}function s(e,t,n){const r=(0,i.appendQuery)(e.url||"",{[`${n}`]:t});e.url=decodeURIComponent(r)}function u(e){const t={bulkaes:null,fairplay:null,playready:null,multidrm:null,preview:null,primetime:null,unknown:null,unprotected:null,widevine:null};return e.files.forEach((e=>{t[e.contentProtection]=e})),t}},66434:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.VOD="VOD",e.Live="LIVE"}(r||(r={}))},88107:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(17306),i=n(75977),o=n(41516),a=n(4492),s=n(72720),u=n(1944),c=n(85654);const l=r.Log.getLogger("CmsManager").filter("cms");function d(e,t){for(const n of t){if(("com.widevine.alpha"===n||"com.microsoft.playready"===n||"com.microsoft.playready.recommendation"===n)&&e.multidrm)return e.multidrm;switch(n){case"com.widevine.alpha":if(!e.widevine)continue;return e.widevine;case"com.microsoft.playready":case"com.microsoft.playready.recommendation":if(!e.playready)continue;return e.playready;case"com.adobe.primetime":case"com.adobe.access":if(!e.primetime)continue;return e.primetime;case"com.apple.fps.1_0":case"com.apple.fps.2_0":case"com.apple.fairplay":if(!e.fairplay)continue;return e.fairplay}}return null}const _=class{constructor(e,t){this._taskMap=new Map,this._supportsDRM=!0,this._supportedDRM=e().catch((()=>(this._supportsDRM=!1,[]))),this._providerMap=t||(0,i.ks)()}resolveEntry(e,t){l.debug(`[resolveEntry] resolving for data: ${(0,r.stringify)(e)} | config: ${(0,r.stringify)(t)})`);const n=new o.D(this._providerMap,t,e),i=n.load();return this._taskMap.set(i.id,n),i.onResolved((e=>{this.onTaskCompleted(i,e)})),i}onTaskCompleted(e,t){this._taskMap.has(e.id)&&(l.debug(`[onTaskCompleted] result: ${(0,r.stringify)(t)}`),this._taskMap.delete(e.id))}load(e,t){return this.resolveEntry(e,t)}selectContent(e,t){const n=(0,a._Y)(e),i=r.TaskFactory.create((e=>{this._supportedDRM.then((e=>t.forceKeySystem?function(e){switch(e){case c.CE.Widevine:return["com.widevine.alpha"];case c.CE.Fairplay:return["com.apple.fps.1_0","com.apple.fps.2_0"];case c.CE.Playready:return["com.microsoft.playready"]}}(t.forceKeySystem):e)).then((r=>{const i=function(e,t,n){let r=null;return n&&(r=d(e,t)),r||(r=e.bulkaes),r||(r=e.unprotected),r||n||(r=d(e,t)),r||(r=e.preview),r||(r=e.unknown),r}(n,r,(0,s.fromNullable)(t.preferDRM).getOrElse(!0));if(!i)return!this._supportsDRM&&((o=n).fairplay||o.multidrm||o.playready||o.primetime||o.widevine)?e.reject(u.yw.cmsContentSupportFailure("Missing DRM support.")):e.reject(u.yw.cmsSelectionFailure("Unable to find a piece of content to suggest for playback"));var o;e.resolve(i)})).catch((t=>e.reject(t)))}));return i.execute(),i}}},71847:(e,t,n)=>{"use strict";var r;n.d(t,{d:()=>r}),function(e){e.Default="com.turner.top.cms.default"}(r||(r={}))},45931:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(17306),i=n(87412),o=n(1944),a=n(85654);const s=r.Log.getLogger("MediaJSONParser").filter("cms");function u(e,t,n){const u=a.Fb.forEntryData();if(!n.media)return(0,i.left)(o.yw.cmsResolutionFailure("Invalid MediaJSON: 'media' missing"));if(!n.mediaId)return(0,i.left)(o.yw.cmsResolutionFailure("expected mediaId to exist in result from MediaJSON request"));const c=n.media[t.platform];if(!c)return(0,i.left)(o.yw.cmsResolutionFailure(`invalid MediaJSON: ${t.platform} assets missing`));let l=!1;for(const e of t.mediaTypes)if(c[e]){l=!0;break}if(!l)return(0,i.left)(o.yw.cmsResolutionFailure(`The requested asset from Medium has no available asset for the configured media types: [${t.mediaTypes.join(", ")}]`));const d=t.mediaTypes.filter((e=>{const t=c[e];return!(!t||!t.secureUrl)})).map((e=>({authType:e,asset:c[e]}))),_={mediaId:e.mediaId};u.withId(n.mediaId).withMetadata(_).isLive("live"===n.type);for(const e of d)u.addFile({assetId:e.asset.assetId,contentProtection:e.authType,playlistProtection:e.asset.playlistProtection||null,url:e.asset.secureUrl});const f=d[0].asset;f.captions||(f.captions=[]);for(const e of f.captions)e.type?u.addCaptionTrackEmbedded({format:e.type,platform:t.platform,type:"embedded"},{kind:a.Hy.Caption,channel:e.location||"unknown",lang:e.language||"unknown",label:"English"}):s.debug(`Got track without a type: ${(0,r.stringify)(e)}`);if(f.contentSegments)for(const e of f.contentSegments)"number"==typeof e.duration&&"number"==typeof e.segmentIdx&&"number"==typeof e.start?u.addSegment(e):s.warn(`[mediaJsonProvider] segment missing required properties: ${(0,r.stringify)(e)}`);f.totalRuntime&&u.withTrt(f.totalRuntime),n.validation&&Object.keys(n.validation).forEach((e=>{u.addValidator(e,n.validation[e])}));const h=u.build();return s.debug(`[mediaJSONProvider] content entry data: ${(0,r.stringify)(h)}`),(0,i.right)(h)}},72454:(e,t,n)=>{"use strict";function r(e){return void 0!==e.error}n.d(t,{l:()=>r})},52254:(e,t,n)=>{"use strict";n.d(t,{A0:()=>a.A0,Bb:()=>o.Bb,CB:()=>i.CB,CE:()=>i.CE,DX:()=>r.D,Hk:()=>s.H,ZX:()=>a.ZX,_W:()=>c._,_Y:()=>a._Y,aV:()=>a.aV,dR:()=>u.d,g6:()=>i.g6,gN:()=>o.gN,ks:()=>i.ks,lA:()=>l.l,u4:()=>o.u4,wj:()=>o.wj,x2:()=>o.x2});var r=n(41516),i=n(75977),o=n(90961),a=n(4492),s=n(66434),u=(n(88107),n(71847)),c=n(45931),l=n(72454)},65842:(e,t,n)=>{"use strict";n.d(t,{y:()=>d});var r=n(17306),i=n(72720),o=n(85654);const a={[o.l0.Analytics]:{},[o.l0.Auth]:{},[o.l0.AuthDRM]:{},[o.l0.Captions]:{},[o.l0.CMS]:{},[o.l0.Cues]:{},[o.l0.Lifecycle]:{},[o.l0.PlatformHelper]:{},[o.l0.UI]:{},[o.l0.Video_Engine]:{},[o.l0.Mocks]:{},[o.l0.Custom]:{}},s=e=>{const{category:t,URI:n,instanceId:o}=e,s=(0,i.fromNullable)(a[t][n]).getOrElse({});a[t][n]=r.ObjectUtils.extendDeep(s,{[o]:e})},u=(e,t,n)=>a[e][t]&&void 0!==a[e][t][n],c=(e,t,n)=>(0,i.fromNullable)(a[e][t]).getOrElse({})[n],l=(e,t)=>{const n=[],r=a[e];return r?Object.keys(r).reduce(((e,n)=>{const i=r[n];return void 0!==i&&e.push(i[t]),e}),n):n},d={get add(){return s},get exists(){return u},get get(){return c},get getAllByCategory(){return l}}},31970:(e,t,n)=>{"use strict";n.d(t,{y:()=>r.y});var r=n(65842)},51029:(e,t,n)=>{"use strict";n.d(t,{D:()=>c});var r=n(72720),i=n(17306),o=n(34799),a=n(25764),s=n(27945),u=n(85654);class c{constructor(e,t,n=null){this._processStrategySection=(e,t,n,r)=>{const o=i.ObjectUtils.get(n,t),a=i.ObjectUtils.get(r,t),s=i.ObjectUtils.get(e,t);if(i.ObjectUtils.isPlainObject(s))Object.keys(s).forEach((e=>{this._processStrategySection(s,e,o,a)}));else if((0,i.isFunction)(s)){const e=s;i.ObjectUtils.set(r,t,e(o,a))}},this._config=new u.sG(e),this._mergingHandler=t,this._validator=n}_merge(e,t){return t=i.ObjectUtils.extendDeep({},t),e=i.ObjectUtils.extendDeep({},e),(t=>{const n=this._mergingHandler.getForPostProcessing(t);return i.ObjectUtils.isEmpty(n)||Object.keys(n).forEach((r=>{this._processStrategySection(n,r,e,t)})),t})((t=>{const n=this._mergingHandler.getForStandardProcessing(t);return i.ObjectUtils.isEmpty(n)||Object.keys(n).forEach((r=>{this._processStrategySection(n,r,e,t)})),t})((t=>{const n=this._mergingHandler.getForPreProcessing(t);return i.ObjectUtils.isEmpty(n)||Object.keys(n).forEach((r=>{this._processStrategySection(n,r,e,t)})),t})(t)))}merge(e){const t=this._config.toData();return this._merge(t,e)}extend(e){return this._config.extend(e),this._config.toData()}validate(e){let t=r.none;this._validator&&(t=this._validator(e));const n={valid:!1,message:""};return n.message=t.foldL((()=>(n.valid=!0,"Config passed validation")),(e=>(n.valid=!1,`\n          Invalid configuration has been provided:\n          ${e.map((e=>`    - ${e}`))}\n\n          Refer to API documentation.`))),n}apply(e){const t=this.merge(e);return this.extend(t)}getUpdateSupportFor(e){e=i.ObjectUtils.extendDeep({},e);const t=i.ObjectUtils.extendDeep({},a.h.config),n=(e,t)=>{Object.keys(e).forEach((r=>{const o=(e,t,n)=>{for(const r in t)i.ObjectUtils.isPlainObject(t[r])?(e[r]={},o(e[r],t[r],n)):e[r]=n;return e},a=i.ObjectUtils.isObj(t[r]),s=i.ObjectUtils.isObj(e[r]);a&&s?n(e[r],t[r]):a&&!s&&(e[r]=o({},t[r],e[r]))}))};n(t,s.A.config);const r=e=>{Object.keys(e).forEach((t=>{const n=e[t];i.ObjectUtils.isPlainObject(n)?r(n):i.ObjectUtils.set(e,t,o.H.Immediate)}))};return r(e),i.ObjectUtils.updateValues(e,t),e}getImmediatelyUpdatableConfig(e){e=i.ObjectUtils.extendDeep({},e);const t=this.getUpdateSupportFor(e),n=i.ObjectUtils.filter(t,o.H.Immediate),r=i.ObjectUtils.compact(n);return i.ObjectUtils.updateValues(r,e),r}createConfigInstance(e){const t=new u.sG(this._config.toData());if(e){const n=this._merge(this._config.toData(),e);t.extend(n)}return t}getOrElse(e,t){return this._config.getOrElse(e,t)}}},25764:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(34799);const i={container:r.H.Never,config:{ads:{enabled:r.H.Next_Play,profile:r.H.Next_Play,kvps:r.H.Next_Play,companions:r.H.Immediate},features:{ccpa:r.H.Immediate,gdpr:r.H.Next_Play,tve:r.H.Next_Play},playback:{components:r.H.Next_Play,isPictureInPictureEnabled:r.H.Never,airPlayEnabled:r.H.Never},auth:r.H.Next_Play,media:{capBitrateToSize:r.H.Immediate,offset:r.H.Next_Play,startBitrate:r.H.Next_Play},drm:r.H.Next_Play,cms:{providers:r.H.Next_Play},lifecycle:r.H.Next_Play,monitors:{liveAdSession:r.H.Next_Play,contentStall:r.H.Next_Play,adStartDetection:r.H.Next_Play,prune:r.H.Next_Play},mocks:r.H.Next_Play,ui:r.H.Immediate,debug:r.H.Immediate}}},27945:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(99861),i=n(56631),o=n(43771),a=n(15390),s=n(55428),u=n(45331),c=n(9903),l=n(24211),d=n(80923),_=n(61622),f=n(85654);const h={container:null,config:{ads:{enabled:!1,disableAdClickThrough:!1,profile:"",kvps:{},companions:{clearOnAdFinished:!0,containers:[]},brightline:!0},features:{ccpa:o.DW,gdpr:o.jH,tve:o.sl,mediaSessionControls:!1},playback:{muted:!1,volume:1,components:{[f.l0.Video_Engine]:i.e.TUB,[f.l0.Captions]:s.nY.Default,[f.l0.Cues]:d.i.Default,[f.l0.Lifecycle]:a.T5.Default,[f.l0.Analytics]:c.Z.Default,[f.l0.UI]:l.h.Default,[f.l0.Mocks]:_.l.Default},autoPlay:!0,autoPlayOptions:{listenForAction:!0,forceMedia:!1,preCheckAutoPlay:!0},playMode:f.aD.Inline,forceServiceWorker:!1,playbackSpeed:1,isPictureInPictureEnabled:!0,airPlayEnabled:!0},metadata:Object.assign(Object.assign({},r.A.prod),{playerVersion:f.tY.libVersion,uiVersion:f.Np,cdnHost:"turnip.cdn.turner.com",protocol:"https://",serviceWorkerPath:"./player-service-worker.js",companyId:"",assetId:"",tub:{licenseKey:"6f48af99-edb0-4411-8979-2c7859eddd9d",httpRequestRetryMax:6,httpRequestRetryDelay:1e3},"tub.key":"6f48af99-edb0-4411-8979-2c7859eddd9d"}),media:{capBitrateToSize:!0,minBitrate:null,maxBitrate:null,offset:null,startBitrate:null},auth:{enabled:!0,cdn:{enabled:!0,services:[{type:f.Dt.Spe,serviceUrl:"${metadata.protocol}${metadata.auth.cdn.spe.host}/token/token_spe",prefix:"hdnts",appId:"${metadata.appId}"}]},drm:{enabled:!0,setHeaders:!0,type:f.de.iSP,serviceUrl:"${metadata.protocol}${metadata.auth.drm.isp.host}/token/token_isp",appId:"${metadata.appId}",assetIdSource:{prePlay:[f.JC.Metadata,f.JC.Manifest],inPlay:[f.JC.Metadata,f.JC.Manifest]},companyIdSource:{prePlay:[f.JC.Metadata,f.JC.Manifest],inPlay:[f.JC.Metadata,f.JC.Manifest]}}},cms:{preferDRM:!0,providers:{[f.OS.MediaJSON]:{host:"${metadata.protocol}${metadata.cms.provider.mediaJson.host}",platform:f.k8.Desktop,versionId:"${metadata.cms.provider.mediaJson.versionId}",serviceUrl:"{host}{versionId}/media/{mediaId}/{platform}",appId:"${metadata.appId}",mediaTypes:[f.AR.Widevine,f.AR.Fairplay,f.AR.PlayReady,f.AR.BulkAES,f.AR.Unprotected]}}},drm:{enabled:!0,setHeaders:!0,fairplay:{enabled:!0,licenseServer:"${metadata.protocol}fairplay.license.istreamplanet.com/api/license/${metadata.companyId}",certificateURL:"${metadata.protocol}fairplay.license.istreamplanet.com/api/AppCert/${metadata.companyId}"},playready:{enabled:!0,licenseServer:"${metadata.protocol}playready.license.istreamplanet.com/api/license"},widevine:{enabled:!0,licenseServer:"${metadata.protocol}widevine.license.istreamplanet.com/widevine/api/license/${metadata.companyId}"}},analytics:{enabled:!0,suppressAdAnalytics:!1,conviva:{enabled:!1,adInsights:!1,customerKey:"",applicationName:"",applicationVersion:"",utmTrackingUrl:"",viewerId:""},comscore:{enabled:!1,publisherId:"",applicationName:"",applicationVersion:"",isOTT:!1,debug:!1,childDirectedAppMode:!1,mediaType:f.Dn.Other,c3:"",c4:"",c6:""},openMeasurement:{enabled:!1}},captions:{maxCues:30,nativeRendering:!1},lifecycle:{enabled:!0,persistence:!1,background:f.Rg.Pause,focusLost:f.Rg.Pause},monitors:{[u.T0.Live_Ad_Session]:{enabled:!1,timeout:360},[u.T0.Content_Stall]:{enabled:!0,timeout:45,pollRate:1e3},[u.T0.Ad_Start_Detection]:{enabled:!0,timeout:15},[u.T0.Prune]:{enabled:!0,slidingWindowThreshold:60,slidingWindowBuffer:10},[u.T0.Concurrency]:{enabled:!1}},ui:{enabled:!0,resourcePaths:{css:"${metadata.protocol}${metadata.cdnHost}/top/player-ui/${metadata.uiVersion}/player-ui.min.css",js:"${metadata.protocol}${metadata.cdnHost}/top/player-ui/${metadata.uiVersion}/player-ui.min.js"},autoAttachToDom:!0,inactivityThreshold:4e3,liveThreshold:15,maxSpeed:3,activeControlSet:"",theme:{accentColor:f.ZJ.Default},style:{paddingBottom:0},posterImage:"",metadata:{},debug:{}},mocks:{timedMetadata:{messages:[]}},debug:{enabled:!1,enableMocks:!1}}}},99861:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(85654);const i={qa:{"cms.provider.mediaJson.host":"qa.medium.ngtv.io","cms.provider.mediaJson.versionId":r.Tf.V2,"auth.cdn.spe.host":"qa.token.ngtv.io","auth.drm.isp.host":"qa.token.ngtv.io"},ref:{"cms.provider.mediaJson.host":"ref.medium.ngtv.io","cms.provider.mediaJson.versionId":r.Tf.V2,"auth.cdn.spe.host":"ref.token.ngtv.io","auth.drm.isp.host":"ref.token.ngtv.io"},ite:{"cms.provider.mediaJson.host":"ite.medium.ngtv.io","cms.provider.mediaJson.versionId":r.Tf.V2,"auth.cdn.spe.host":"ite.token.ngtv.io","auth.drm.isp.host":"ite.token.ngtv.io"},prod:{"cms.provider.mediaJson.host":"medium.ngtv.io","cms.provider.mediaJson.versionId":r.Tf.V2,"auth.cdn.spe.host":"token.ngtv.io","auth.drm.isp.host":"token.ngtv.io"}}},34799:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.Immediate="immediate",e.Next_Play="next_play",e.Never="never"}(r||(r={}))},88361:(e,t,n)=>{"use strict";n.d(t,{x0:()=>u.x0,CP:()=>u.CP,DJ:()=>i.D,hw:()=>u.hw,B_:()=>u.B_,wc:()=>u.wc,Az:()=>a.A,Hv:()=>s.H,hQ:()=>o.h,nc:()=>u.nc,fg:()=>r.f,id:()=>u.id,WU:()=>u.WU});var r=n(89633),i=n(51029),o=n(25764),a=n(27945),s=n(34799),u=n(38563)},68006:(e,t,n)=>{"use strict";n.d(t,{CP:()=>l,WU:()=>u,hw:()=>s,id:()=>d,nc:()=>a,wc:()=>o,x0:()=>c});var r=n(85654),i=n(17306);const o=()=>(e,t)=>t,a=()=>(e,...t)=>i.ObjectUtils.assign({},e,...t),s=()=>(e,...t)=>i.ObjectUtils.assign({},...t,e),u=e=>{const t=t=>(e.forEach((e=>{t=e.transform(t)})),t);return(e,...n)=>(e=t(e),n=n.map(t),(0,r.OJ)()(e,...n))},c=e=>{const t=e.map((e=>{const t=e.usingKey,n=e.data;return{transform:e=>{if(e.hasOwnProperty(t)){const r=e[t];return n.hasOwnProperty(r)?s()(e,n[r]):e}return e}}}));return(e,...n)=>u(t)(e,...n)},l=(e,t)=>(n,o)=>(o.forEach((o=>{const a=i.ObjectUtils.get(o,e),s=n.filter((t=>i.ObjectUtils.get(t,e)===a));s.length>0?s.forEach((e=>{const t=n.indexOf(e);n[t]=(0,r.OJ)()(e,o)})):t?n.push((0,r.OJ)()(t,o)):n.push(o)})),n),d=()=>(e,t)=>{if((0,i.isNull)(t)&&(t=!1),(0,i.isBoolean)(t))return(0,r.OJ)()(e,{enabled:t});if(i.ObjectUtils.isPlainObject(t)){const e=i.ObjectUtils.getOrElse(t,"enabled",!0);return(0,r.OJ)()(t,{enabled:e})}return{enabled:!1}}},84963:(e,t,n)=>{"use strict";n.d(t,{B:()=>u});var r=n(17306),i=n(68006),o=n(99861);const a={width:100,height:100,active:!0};var s=n(85654);const u=(e=!1)=>({getForPreProcessing:t=>{const n={};return(0,r.getEnumValues)(s.ki).filter((e=>{switch(e){case s.ki.Auth:case s.ki.Analytics:case s.ki.DRM:return!1;default:return!0}})).forEach((o=>{const a=e?`config.${o}`:o,s=r.ObjectUtils.getOrElse(t,a,void 0),u=(0,r.isNull)(s),c=(0,r.isBoolean)(s),l=r.ObjectUtils.isPlainObject(s)&&!r.ObjectUtils.has(s,"enabled");(u||c||l)&&r.ObjectUtils.set(n,a,(0,i.id)())})),n},getForStandardProcessing:t=>(()=>{const n={auth:{cdn:{services:(0,i.CP)("type")}},ads:{companions:{containers:(0,i.CP)("id",a)}},metadata:(0,i.x0)([{usingKey:"env",data:o.A}])},s=r.ObjectUtils.extendDeep({},t),u=(e,t)=>{Object.keys(t).forEach((n=>{if(!r.ObjectUtils.has(e,n))return void r.ObjectUtils.set(t,n,(0,i.wc)());const o=r.ObjectUtils.get(t,n),a=r.ObjectUtils.isPlainObject(o),s=r.ObjectUtils.get(e,n),c=r.ObjectUtils.isPlainObject(s);(0,r.isFunction)(s)?r.ObjectUtils.set(t,n,s):c&&a&&u(s,o)}))};return u(e?{config:n}:n,s),s})(),getForPostProcessing:t=>{const n={};return[s.ki.Auth,s.ki.Analytics,s.ki.DRM].forEach((o=>{const a=e?`config.${o}`:o,s=r.ObjectUtils.getOrElse(t,a,void 0),u=(0,r.isNull)(s),c=(0,r.isBoolean)(s),l=r.ObjectUtils.isPlainObject(s)&&!r.ObjectUtils.has(s,"enabled");(u||c||l)&&r.ObjectUtils.set(n,a,(0,i.id)())})),n}})},38563:(e,t,n)=>{"use strict";n.d(t,{x0:()=>i.x0,CP:()=>i.CP,hw:()=>i.hw,B_:()=>r.B,wc:()=>i.wc,nc:()=>i.nc,id:()=>i.id,WU:()=>i.WU});var r=n(84963),i=n(68006)},89633:(__unused_webpack_module,__webpack_exports__,__nested_webpack_require_3341173__)=>{"use strict";__nested_webpack_require_3341173__.d(__webpack_exports__,{f:()=>StringReplacer});var _top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_3341173__(17306),_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_3341173__.n(_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__),fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_3341173__(72720),fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_3341173__.n(fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_1__);const logger=_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.Log.getLogger("StringReplacer").filter("config"),RANDOM_LIMIT=2e3;class StringReplacer{constructor(){this._initialized=!1}_configTokenReplacement(e,t){return _top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isObj(e)?_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.keyValues(e).forEach((({key:n,value:r})=>{let i=r;_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isPlainObject(r)||Array.isArray(r)?i=this._configTokenReplacement(r,t):"string"==typeof r&&(i=this._stringTokenReplacement(r,t)),_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.set(e,n,i)})):Array.isArray(e)?e.forEach((e=>this._configTokenReplacement(e,t))):"string"==typeof e&&this._stringTokenReplacement(e,t),e}_stringTokenReplacement(e,t){const n=this._getTokensMap(e,t);return(0,_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.replaceTokens)(e,n,{pattern:"${token}"})}_getTokensMap(e,t){t=t||{};const n={},r=/\$\{(.+?)\}/i;for(;r.test(e);){const i=e.match(r),o=i[1],a=o.split("."),s=a.shift(),u=a.join(".");let c=null;switch(s){case"javascript":c=this._searchTheClient(__nested_webpack_require_3341173__.g,u);break;case"page":switch(u){case"url":c=this._getPlatformUrl();break;case"domain":c=this._getPlatformDomain();break;default:c=null}break;case"random":c=(0,_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.getRandomInt)(RANDOM_LIMIT).toString();break;case"content":c="id"===u?this._playlistItem.entry.id:_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(this._contentEntryMetadata,u,null);break;case"config":c=_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(this._configMetadata,u,null);break;case"metadata":c=_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(this._contentEntryMetadata,u,_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(this._configMetadata,u,null));break;case"context":c=_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(t,u,null)}logger.verbose(`[_getTokensMap] value: ${(0,_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.stringify)(c)}`),null!==c?n[o]=c:logger.warn(`[_getTokensMap] invalid token "${o}"`),e=(0,_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.matchedRight)(i)}return n}_searchTheClient(objectRoot,path){const stringReplacerRoot=(0,fp_ts_lib_Option__WEBPACK_IMPORTED_MODULE_1__.fromNullable)(objectRoot).getOrElse(__nested_webpack_require_3341173__.g);try{return eval(`stringReplacerRoot.${path}`)}catch(e){return void logger.warn(`[searchTheClient] Unable to find path ${path} on object ${objectRoot}, error: ${e}`)}}_getPlatformUrl(){return location?location.href:null}_getPlatformDomain(){return location?location.host:null}init(e){var t;this._playlistItem=null!==(t=e.playlistItem)&&void 0!==t?t:{id:"",entry:{},options:{}},this._configMetadata=e.configMetadata,this._contentEntryMetadata=_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getOrElse(e.playlistItem,"entry.metadata",{}),this._initialized=!0}setupConfigTokenReplacement(e,t){this._initialized?_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.keyValues(e).forEach((n=>{"ads"!==n.key&&_top_std_lib_block_shared__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.set(e,n.key,this._configTokenReplacement(n.value,t))})):logger.warn("[setupConfigTokenReplacement] used before replacer initialized")}configTokenReplacement(e,t){this._initialized?this._configTokenReplacement(e,t):logger.warn("[configTokenReplacement] used before replacer initialized")}}},80748:(e,t,n)=>{"use strict";var r;n.d(t,{f:()=>r}),function(e){e.Start="start",e.Process="process",e.Processed="processed",e.Listen="listen",e.Triggered="triggered",e.Completed="completed"}(r||(r={}))},80923:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>r}),function(e){e.Default="com.turner.top.cues.default"}(r||(r={}))},86024:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(85654),i=n(17306);const o=()=>({stateChanged:(0,i.createEvent)(r.dN.State_Changed),processed:(0,i.createEvent)(r.dN.Processed),activated:(0,i.createEvent)(r.dN.Activated)});function a(){return(0,i.createEventCollection)(o())}},5272:(e,t,n)=>{"use strict";n.d(t,{X:()=>o,y:()=>a});var r=n(17306);const i=()=>({modelUpdateRequest:(0,r.createEvent)(a.Model_Update_Request),cueStateChanged:(0,r.createEvent)(a.Cue_State_Changed),cueProcessed:(0,r.createEvent)(a.Cue_Processed),cueActivated:(0,r.createEvent)(a.Cue_Activated)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Model_Update_Request="modelUpdateRequest",e.Cue_State_Changed="cueStateChanged",e.Cue_Processed="cueProcessed",e.Cue_Activated="cueActivated"}(a||(a={}))},62554:(e,t,n)=>{"use strict";n.d(t,{f:()=>r.f,n:()=>i.n});var r=n(80748),i=n(86024)},75844:(e,t,n)=>{"use strict";n.d(t,{D0:()=>c,rG:()=>u,yw:()=>l});var r=n(50105),i=n(17306),o=n(41497),a=n(72720),s=n(85654);class u extends Error{constructor(e){super(e.message||"Unknown Error"),this.name="PlayerError",this._category=e.code.category,this._platform=function(e){switch(e){case o.o_.Android:return s.uR.Android;case o.o_.iOS:return s.uR.iOS;case o.o_.Web:return s.uR.Web;case o.o_.React_Native:return s.uR.React_Native;default:return s.uR.Unknown}}((0,a.fromNullable)(r.h.nexus.nexusTarget).getOrElse(o.o_.Unknown)),this._domain=e.code.domain||s.qp.Shared,this._code=e.code.code,this._severity=e.severity,this._message=e.message||"Unknown Error",this._metadata=e.metadata,Object.setPrototypeOf(this,u.prototype)}setMessage(e){return this._message=e,this}setMetadata(e){var t;return this._metadata=Object.assign(null!==(t=this._metadata)&&void 0!==t?t:{},e),this}toString(){return`Player error occurred.\n      Severity: ${this._severity}\n      Code: ${this.code}\n      ${this._message?`Message: ${this._message}`:""}\n      ${this._metadata?`Metadata: ${(0,i.stringify)(this._metadata)}`:""}\n      `}toJSON(){return{code:{category:this._category,platform:this._platform,domain:this._domain,code:this._code},severity:this._severity,message:this._message,metadata:this._metadata}}get code(){return`${this._category}${this._platform}${this._domain}${this._code}`}get categoryCode(){return this._code}get severity(){return this._severity}}const c={DIRECT_TO_UNDERLYING_ERROR:"The sub-error code and message will contain additional information about the underlying cause for this error.",SUGGEST_NETWORK_REQUEST_INSPECTION:"Look into the network request failure and determine the underlying cause.",BACKEND_SERVICES_ERROR:"The sub error codes may give you more information. As well the documentation may help: http://apidocs.ngtv.io. Finally, reach out and resolve along with the services team.",GENERAL_MEDIA_ERROR:"There was an issue with the media playback engine. The sub-error code will contain additional information about the underlying cause.",CONTENT_MEDIA_ERROR:"There was an issue during media playback with the content that was playing. The sub-error code will contain additional information about the underlying cause.",NETWORK_MEDIA_ERROR:"There was an issue with accessing the network for media playback. The sub-error code will contain what specific resource was unable to be accessed over the network.",DRM_MEDIA_ERROR:"There was an issue with DRM playback. The sub-error code will contain additional information about the underlying cause.",TOKEN_MISMATCH:"A token was used to make a request to an endpoint that does not match the endpoint the token was received from"},l={unknownError:()=>new u({code:{category:s.a9.Unknown,code:s.Vw.Unspecified,domain:s.qp.Unknown},message:"An unknown error occured",severity:s.Wk.Fatal}),openMeasurementError:(e,t)=>new u({code:{category:s.a9.Comp_Analytics,code:s.Vw.AnalyticsOpenMeasurementSettingFailure},message:e,severity:t}),adError:(e,t)=>new u({code:{category:s.a9.Comp_Ads,code:s.Vw.AdPlaybackFailure},message:e,severity:t}),adSessionTimeout:(e,t)=>new u({code:{category:s.a9.Comp_Ads,code:s.Vw.AdSessionTimeout},message:e,severity:t}),adStall:(e,t)=>new u({code:{category:s.a9.Comp_Ads,code:s.Vw.AdStall},message:e,severity:t}),mediaError:(e,t)=>new u({code:{category:s.a9.Comp_Media,code:s.Vw.MediaPlaybackFailure},message:e,severity:t}),contentError:(e,t)=>new u({code:{category:s.a9.Comp_Media,code:s.Vw.MediaContentFailure},message:e,severity:t}),networkError:(e,t)=>new u({code:{category:s.a9.Comp_Media,code:s.Vw.MediaNetworkFailure},message:e,severity:t}),drmError:(e,t)=>new u({code:{category:s.a9.Comp_Media,code:s.Vw.MediaDRMFailure},message:e,severity:t}),networkConnectionLost:e=>new u({code:{category:s.a9.Player,code:s.Vw.NetworkConnectionLost},message:e,severity:s.Wk.Fatal}),analyticsDisabled:e=>new u({code:{category:s.a9.Comp_Analytics,code:s.Vw.AnalyticsDisabled},message:e,severity:s.Wk.Warn}),analyticsConfigFailure:e=>new u({code:{category:s.a9.Comp_Analytics,code:s.Vw.AnalyticsConfigFailure},message:e,severity:s.Wk.Fatal}),authRequestFailure:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.NetworkRequestFailure},severity:s.Wk.Fatal,message:e}),authCdnTokenFailure:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.CDNTokenFailure},severity:s.Wk.Fatal,message:e}),authDrmTokenFailure:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.DRMTokenFailure},message:e,severity:s.Wk.Fatal}),authDrmAssetMetadataFailure:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.DRMAssetMetadataFailure},message:e,severity:s.Wk.Fatal}),cmsRequestFailure:e=>new u({code:{category:s.a9.Comp_CMS,code:s.Vw.NetworkRequestFailure},severity:s.Wk.Fatal,message:e}),cmsResolutionFailure:e=>new u({code:{category:s.a9.Comp_CMS,code:s.Vw.ContentResolutionFailure},severity:s.Wk.Fatal,message:e}),cmsSelectionFailure:e=>new u({code:{category:s.a9.Comp_CMS,code:s.Vw.ContentSelectionFailure},severity:s.Wk.Fatal,message:e}),cmsContentSupportFailure:(e,t)=>new u({code:{category:s.a9.Comp_CMS,code:s.Vw.ContentSupportFailure},severity:s.Wk.Fatal,message:e,metadata:t}),captionsStorageFailure:e=>new u({code:{category:s.a9.Comp_Captions,code:s.Vw.CaptionsStorageFailure},severity:s.Wk.Error,message:e}),playerInitFailure:e=>new u({code:{category:s.a9.Player,code:s.Vw.PlayerInitFailure},message:e,severity:s.Wk.Fatal}),transactionInitFailure:e=>new u({code:{category:s.a9.Transaction,code:s.Vw.TransactionInitFailure},message:e,severity:s.Wk.Fatal}),transactionStateTransitionFailure:e=>new u({code:{category:s.a9.Transaction,code:s.Vw.TransactionStateTransitionFailure},message:e,severity:s.Wk.Fatal}),transactionComponentSetupFailure:e=>new u({code:{category:s.a9.Transaction,code:s.Vw.TransactionComponentSetupFailure},message:e,severity:s.Wk.Error}),viewAttachFailure:e=>new u({code:{category:s.a9.UI,code:s.Vw.ViewAttachFailure},message:e,severity:s.Wk.Fatal}),viewDetachFailure:e=>new u({code:{category:s.a9.UI,code:s.Vw.ViewDetachFailure},message:e,severity:s.Wk.Fatal}),tokenMismatch:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.TokenMismatch},message:e,severity:s.Wk.Fatal}),maxAllowedStreamsExceeded:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.MaxAllowedStreamsExceeded},message:e,severity:s.Wk.Fatal}),maxAllowedRenewalsExceeded:e=>new u({code:{category:s.a9.Comp_Auth,code:s.Vw.MaxAllowedRenewalsExceeded},message:e,severity:s.Wk.Fatal})}},1944:(e,t,n)=>{"use strict";n.d(t,{D0:()=>r.D0,rG:()=>r.rG,yw:()=>r.yw});var r=n(75844)},86387:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>r}),function(e){e.GDPR_Consent="_fw_gdpr_consent",e.GDPR_Subject_To="_fw_gdpr"}(r||(r={}))},43771:(e,t,n)=>{"use strict";n.d(t,{DW:()=>r,AA:()=>i.A,jH:()=>o,uU:()=>s,sl:()=>a});const r={enabled:!1,doNotSell:!1};var i=n(86387);const o={consentFrameworkVersion:n(85654).Ew,enabled:!0},a={enabled:!0,trapDuration:30};var s;!function(e){e.CCPA="ccpa",e.GDPR="gdpr",e.TVE="tve"}(s||(s={}))},21213:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var r=n(17306),i=n(765),o=n(12399),a=n(45856),s=n(85654),u=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};const c=r.Log.getLogger("LifecycleController").filter("lifecycle");class l{constructor(){this._lastLifecycleState=s.um.Foreground,this.moduleNotification=(0,r.createEvent)("moduleNotification")}_saveState(){var e;return u(this,void 0,void 0,(function*(){if(!(null===(e=this._config)||void 0===e?void 0:e.persistence))return c.info("[_saveState] Ignoring, persistence is not enabled"),Promise.resolve([]);const t=function(e,t){if("hooks"!==e){if("__ref"!==e)return t;c.error("__ref key in state, these will not store properly.")}},n=JSON.stringify(this._model.config,t),r=JSON.stringify(this._model.playlistItem,t),i=[o.Ke.set(o.Ws.config,n),o.Ke.set(o.Ws.playlistItem,r)];if(!this._model.contentIsLive){const e=JSON.stringify(this._model.mediaTime);i.push(o.Ke.set(o.Ws.currentTime,e))}return Promise.all(i)}))}_removeState(){return u(this,void 0,void 0,(function*(){const e=[o.Ke.set(o.Ws.config,"null"),o.Ke.set(o.Ws.playlistItem,"null"),o.Ke.set(o.Ws.currentTime,"null")];return Promise.all(e)}))}_convertLifecycleEventToAction(e){var t,n;switch(e){case s.um.Foreground:return s.Rg.Continue;case s.um.Background:return(null===(t=this._config)||void 0===t?void 0:t.background)||s.Rg.Continue;case s.um.FocusLost:return(null===(n=this._config)||void 0===n?void 0:n.focusLost)||s.Rg.Continue;case s.um.Unplugged:return s.Rg.Pause;default:return s.Rg.Continue}}setup(e){return r.TaskFactory.create((t=>{this._model=e.playerModel,this._config=e.playerConfig.lifecycle,t.resolve()})).execute()}handleModuleNotification(e){}handlePlayerNotification(e){}processCommand(e){if(c.verbose(`[processCommand] ${e.type} / ${e.data}`),e.data){if(e.type===i.v.LifecycleChange){let t=Promise.resolve();t=e.data.event===s.um.Background?this._saveState():this._removeState();const n=e.data.event,r=this._convertLifecycleEventToAction(e.data.event);t.then((()=>{const e={type:a.v.Model_Update_Request,changes:[{property:s.Yk.Lifecycle_State,value:n}]},t={type:a.v.State_Changed,previousState:this._lastLifecycleState,currentState:n,action:r};this.moduleNotification.dispatch({module:s.PO.Lifecycle,category:s.SQ.Component_Event,result:e}),this.moduleNotification.dispatch({module:s.PO.Lifecycle,category:s.SQ.Component_Event,result:t}),this._lastLifecycleState=n}))}}else c.debug("expecting data on LifecycleCommands")}updateConfig(){}destroy(){return Promise.resolve()}}},765:(e,t,n)=>{"use strict";var r;n.d(t,{v:()=>r}),function(e){e.LifecycleChange="lifecycleChange"}(r||(r={}))},45856:(e,t,n)=>{"use strict";var r;n.d(t,{v:()=>r}),function(e){e.Model_Update_Request="modelUpdateRequest",e.State_Changed="stateChanged"}(r||(r={}))},15390:(e,t,n)=>{"use strict";n.d(t,{v6:()=>a.v,T5:()=>r,hy:()=>o.h,vP:()=>i.v});var r,i=n(45856);!function(e){e.Default="com.turner.top.lifecycle.default"}(r||(r={}));var o=n(21213),a=n(765)},80701:(e,t,n)=>{"use strict";var r;n.d(t,{D:()=>r}),function(e){e.Start="start",e.Idle="idle",e.Load="load",e.Loaded="loaded",e.Buffer_Stall_Started="bufferStallStart",e.Buffer_Stall_Finished="bufferStallFinish",e.Play="playing",e.Pause="pause",e.Seek="seek",e.Stop="stop",e.Finish="finish",e.Error="error"}(r||(r={}))},93969:(e,t,n)=>{"use strict";n.d(t,{D:()=>r.D});var r=n(80701)},52263:(e,t,n)=>{"use strict";n.d(t,{gP:()=>y,UP:()=>g,aU:()=>v});var r=n(95978),i=n(17306);class o{constructor(e){this.data=new DataView(e),this.position=0}static FromBase64(e,t){let n=null;try{n=o.Base64ToArrayBuffer(e,t)}catch(e){return null}return null===n?null:new o(n)}static FromArrayBuffer(e){return new o(e)}getInt8(){const e=this.data.getInt8(this.position);return this.position+=1,e}getInt16(){const e=this.data.getInt16(this.position);return this.position+=2,e}getInt32(){const e=this.data.getInt32(this.position);return this.position+=4,e}getUint8(){const e=this.data.getUint8(this.position);return this.position+=1,e}getUint16(){const e=this.data.getUint16(this.position);return this.position+=2,e}getUint32(){const e=this.data.getUint32(this.position);return this.position+=4,e}peekInt8(){return this.data.getInt8(this.position)}peekInt16(){return this.data.getInt16(this.position)}peekInt32(){return this.data.getInt32(this.position)}peekUint8(){return this.data.getUint8(this.position)}peekUint16(){return this.data.getUint16(this.position)}peekUint32(){return this.data.getUint32(this.position)}byteLength(){return this.data.byteLength}buffer(){return this.data.buffer}static Base64ToArrayBuffer(e,t){if(!t&&!window)throw Error("Please provide a fallback method for window.atob as your second argument.");const n=t||window.atob;if("string"!=typeof e)return null;const r=n(e),i=r.length,o=new Uint8Array(i);for(let e=0,t=i,n=0<=t;n?e<t:e>t;n?e++:e--)o[e]=r.charCodeAt(e);return o.buffer}}var a=n(85654);class s{static Build(e,t){switch(e){case 0:return new u;case 4:case 7:case 255:return;case 5:return new c(t);case 6:return new l(t)}}constructor(e){this.type=e,this.type_name=a.ZX[e]||a.ZX[a.ZX.Null]}static splice_time(e){const t={},n=e.getUint8();return t.time_specified_flag=n>>7&1,1===t.time_specified_flag&&(t.pts_time=4294967296*(1&n),t.pts_time+=e.getUint32()),t}static break_duration(e){const t=e.getInt8(),n={auto_return:t>>7&1,duration:4294967296*(1&t)};return n.duration+=e.getUint32(),n}toJSON(){return{type:this.type,type_name:this.type_name}}}class u extends s{constructor(){super(0)}}class c extends s{constructor(e){super(5),this.splice_event_id=e.getUint32();let t=e.getInt8();if(this.splice_event_cancel_indicator=t>>7&1,0===this.splice_event_cancel_indicator){if(t=e.getInt8(),this.out_of_network_indicator=t>>7&1,this.program_splice_flag=t>>6&1,this.duration_flag=t>>5&1,this.splice_immediate_flag=t>>4&1,1===this.program_splice_flag&&0===this.splice_immediate_flag)this.splice_time=s.splice_time(e);else if(0===this.program_splice_flag){const t=e.getUint8();this.splice_times={};for(let n=0,r=t,i=0<=r;i?n<r:n>r;i?n++:n--){const t=e.getUint8();0===this.splice_immediate_flag&&(this.splice_times[t]=s.splice_time(e))}}1===this.duration_flag&&(this.break_duration=s.break_duration(e)),this.unique_program_id=e.getUint16(),this.avail_num=e.getUint8(),this.avails_expected=e.getUint8()}}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{splice_event_id:this.splice_event_id,splice_event_cancel_indicator:this.splice_event_cancel_indicator,out_of_network_indicator:this.out_of_network_indicator,program_splice_flag:this.program_splice_flag,duration_flag:this.duration_flag,splice_immediate_flag:this.splice_immediate_flag,splice_time:this.splice_time,splice_times:this.splice_times,break_duration:this.break_duration,unique_program_id:this.unique_program_id,avail_num:this.avail_num,avails_expected:this.avails_expected})}}class l extends s{constructor(e){super(6),this.splice_time=s.splice_time(e)}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{splice_time:this.splice_time})}}class d{static Build(e,t){const n=e.position+t,r=[];try{for(;e.position<n;){const t=e.getUint8(),n=e.getUint8(),i=(()=>{switch(t){case 0:return new _(e);case 2:return new f(e);default:for(let t=0,r=n,i=0<=r;i?t<r:t>r;i?t++:t--)e.getUint8();return null}})();null!==i&&r.push(i)}}catch(e){return r}return r}constructor(e){this.type=e,this.type_name=a.Nu[e]||a.Nu[a.Nu.Unknown]}toJSON(){return{type:this.type,type_name:this.type_name}}}class _ extends d{constructor(e){super(0),this.identifier=e.getUint32(),this.provider_avail_id=e.getUint32()}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{identifier:this.identifier,provider_avail_id:this.provider_avail_id})}}class f extends d{constructor(e){if(super(2),this.identifier=e.getUint32(),this.segmentation_event_id=e.getUint32(),this.segmentation_event_cancel_indicator=e.getUint8()>>7&1,0===this.segmentation_event_cancel_indicator){let t;const n=e.getUint8();if(this.program_segmentation_flag=n>>7&1,this.segmentation_duration_flag=n>>6&1,this.delivery_not_restricted_flag=n>>5&1,0===this.delivery_not_restricted_flag&&(this.web_delivery_allowed_flag=n>>4&1,this.no_regional_blackout_flag=n>>3&1,this.archive_allowed_flag=n>>2&1,this.device_restrictions=3&n),0===this.program_segmentation_flag){let n,r;const i=e.getUint8();for(this.components=[],t=0,r=i,n=0<=r;n?t<r:t>r;n?t++:t--){const t=e.getUint8();let n=4294967296*(1&e.getUint8());n+=e.getUint32(),this.components.push({component_tag:t,pts_offset:n})}}if(1===this.segmentation_duration_flag&&(this.segmentation_duration=4294967296*e.getUint8(),this.segmentation_duration+=e.getUint32()),this.segmentation_upid_type=e.getUint8(),this.segmentation_upid_length=e.getUint8(),8===this.segmentation_upid_type)this.segmentation_upid=4294967296*e.getUint32(),this.segmentation_upid+=e.getUint32();else{let n,r;for(t=0,r=this.segmentation_upid_length,n=0<=r;n?t<r:t>r;n?t++:t--)e.getInt8()}this.segmentation_type_id=e.getUint8(),this.segment_num=e.getUint8(),this.segments_expected=e.getUint8(),this.segmentation_type_id_name=f.nameForTypeId(this.segmentation_type_id)}}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{identifier:this.identifier,segmentation_event_id:this.segmentation_event_id,segmentation_event_cancel_indicator:this.segmentation_event_cancel_indicator,program_segmentation_flag:this.program_segmentation_flag,segmentation_duration_flag:this.segmentation_duration_flag,delivery_not_restricted_flag:this.delivery_not_restricted_flag,web_delivery_allowed_flag:this.web_delivery_allowed_flag,no_regional_blackout_flag:this.no_regional_blackout_flag,archive_allowed_flag:this.archive_allowed_flag,device_restrictions:this.device_restrictions,segmentation_duration:this.segmentation_duration,segmentation_upid_type:this.segmentation_upid_type,segmentation_upid_length:this.segmentation_upid_length,segmentation_upid:this.segmentation_upid,segmentation_type_id:this.segmentation_type_id,segment_num:this.segment_num,segments_expected:this.segments_expected,segmentation_type_id_name:this.segmentation_type_id_name,components:this.components})}static nameForTypeId(e){return a.yq[e]||a.yq[a.yq.Unknown]}}class h{static FromBase64(e,t){const n=o.FromBase64(e,t);return n?new h(n):null}static FromArrayBuffer(e){return new h(o.FromArrayBuffer(e))}constructor(e){null!=e&&this._parseSplice(e)}_parseSplice(e){let t=e.getInt32();this.table_id=t>>24&255,this.section_syntax_indicator=t>>23&1,this.private_indicator=t>>22&1,this.section_length=t>>8&4095,this.protocol_version=255&t,t=e.getInt8(),this.encrypted_packet=t>>7&1,this.encryption_algorithm=t>>1&63,this.pts_adjustment=4294967296*(1&t),this.pts_adjustment+=e.getUint32(),t=e.getInt32(),this.cw_index=t>>24&255,this.tier=t>>12&4095,this.splice_command_length=4095&t,this.splice_command_type=e.getUint8();let n=e.position;this.splice_command=s.Build(this.splice_command_type,e),e.position=n+this.splice_command_length;const r=e.getUint16();n=e.position,this.splice_descriptors=d.Build(e,r),e.position=n+r,this.crc_32=e.getUint32()}toJSON(){return{table_id:this.table_id,section_syntax_indicator:this.section_syntax_indicator,private_indicator:this.private_indicator,section_length:this.section_length,protocol_version:this.protocol_version,encrypted_packet:this.encrypted_packet,encryption_algorithm:this.encryption_algorithm,pts_adjustment:this.pts_adjustment,cw_index:this.cw_index,tier:this.tier,splice_command_length:this.splice_command_length,splice_command_type:this.splice_command_type,splice_command:this.splice_command.toJSON(),splice_descriptors:this.splice_descriptors.map((e=>e.toJSON())),crc_32:this.crc_32}}}const p=i.Log.getLogger("SCTEMetadataParser").filter("cues"),g=e=>({splice_command_type:e,splice_descriptors:[]}),v=(e,t)=>{const n={type:a.Nu.Segmentation,type_name:a.Nu[a.Nu.Segmentation],identifier:-1,archive_allowed_flag:-1,delivery_not_restricted_flag:-1,device_restrictions:-1,no_regional_blackout_flag:-1,program_segmentation_flag:-1,segment_num:-1,segmentation_duration:-1,segmentation_duration_flag:-1,segmentation_event_cancel_indicator:-1,segmentation_event_id:-1,segmentation_type_id:e,segmentation_type_id_name:a.yq[e],segmentation_upid:-1,segmentation_upid_length:-1,segmentation_upid_type:-1,segments_expected:-1,web_delivery_allowed_flag:-1};return i.ObjectUtils.extendDeep({},n,t||{})},m=e=>{const t=null!==e.splice_command_type&&void 0!==e.splice_command_type,n=null!==e.splice_descriptors&&Array.isArray(e.splice_descriptors);return t||(p.warn("[normalizeParsedPayload] no command type found, inserting default value"),e.splice_command_type=a.ZX.Null),n||(p.warn("[normalizeParsedPayload] no descriptors list found, inserting default value"),e.splice_descriptors=[]),e};class y{static parse(e){const t=(()=>{let t=null;return Object.keys(y._parsers).forEach((n=>{const r=y._parsers[n];r.Select(e)&&(t=r)})),t})();if(null===t)return p.warn("[parse] Could not determine appropriate handlers for given source, returning empty data"),g(a.ZX.Null);const n=t,r=n.Transform(e);return n.Normalize(r)}static parseJSON(e){return{splice_command_type:i.ObjectUtils.get(e,"splice_command_type"),splice_descriptors:i.ObjectUtils.get(e,"splice_descriptors")}}static parseString(e){const t=h.FromBase64(e,r.Base64.atob);return t?t.toJSON():(p.warn("[parseString] could not parse SCTE base64 payload, returning empty data"),g(a.ZX.Null))}}y._parsers={String_Base64:{Select:e=>{try{r.Base64.atob(e)}catch(e){return!1}return!0},Transform:y.parseString,Normalize:m},JSONObj:{Select:e=>null!==e&&i.ObjectUtils.isPlainObject(e),Transform:y.parseJSON,Normalize:m}}},61622:(e,t,n)=>{"use strict";var r;n.d(t,{l:()=>r}),function(e){e.Default="com.turner.top.mocks.default"}(r||(r={}))},56793:(e,t,n)=>{"use strict";var r,i;n.d(t,{W:()=>r,b:()=>i}),function(e){e.Pre_Play="prePlay",e.In_Play="inPlay"}(r||(r={})),function(e){e.Full="full",e.Partial="partial",e.None="none"}(i||(i={}))},43321:(e,t,n)=>{"use strict";n.d(t,{gp:()=>S,ho:()=>b,YG:()=>m,fN:()=>y,zU:()=>f,N7:()=>_});var r=n(85654),i=n(17306),o=n(7787),a=n(56793);const s=e=>{switch(e){case r.u6.CAST:case r.u6.DATERANGE:case r.u6.EMSG:case r.u6.EVENT_STREAM:case r.u6.ID3:return r.e.EMBEDDED;case r.u6.SCTE:case r.u6.CUETAG:return r.e.TAG;case r.u6.CUSTOM:return r.e.OTHER}};var u=n(52263),c=n(57959);const l=/(\+|-)((\d|\.)+)/,d=/(\+|-)((\d|\.)+)(\((\+|-)\))(\+|-)?((\d|\.)+)(\((\+|-)\))?(\+|-)?((\d|\.)+)?(\((\+|-)\))?(\+|-)?((\d|\.)+)?/,_=(e,t,n)=>t===r.f9.Timed_Metadata?((e,t)=>{const n={start:t.startTime,end:Number.NaN,timeReceived:e.timeline.currentTime,source:s(t.metadataType),metadataType:t.metadataType,metadata:{subType:t.metadataType,attributes:{}}};switch(t.metadataType){case r.u6.SCTE:const e=t,o=(0,u.UP)(e.metadata.spliceType);e.metadata.spliceType===r.ZX.Time_Signal&&Object.keys(e.metadata.descriptors).forEach((t=>{if(t===r.Nu[r.Nu.Segmentation]){const n=e.metadata.descriptors[t],r=i.ObjectUtils.get(n,"subType");o.splice_descriptors.push((0,u.aU)(r,n))}})),n.metadata.payload=Object.assign({},o);break;case r.u6.ID3:n.metadata=Object.assign(Object.assign({},n.metadata),{id:t.metadata.id,messageData:t.metadata.message});break;default:n.metadata={subType:t.metadataType,attributes:t.attributes}}return n})(e,n):n,f=(e,t)=>{const n=i.ObjectUtils.extendDeep({},t);return Object.keys(n).forEach((t=>{var i,o;const a=t,s=n[a];switch(t){case r.lj.Content_Time:n[a]=h(s,e.timeline.currentTime);break;case r.lj.Media_Time:n[a]=h(s,e.mediaTime);break;case r.lj.Ad_Time:n[a]=h(s,null!==(o=null===(i=e.currentAdCreative)||void 0===i?void 0:i.currentTime)&&void 0!==o?o:-1)}})),n},h=(e,...t)=>"number"==typeof e?e:p(e)?g(e,t[0]):-1,p=e=>l.test(e),g=(e,t)=>{var n;const r=l.exec(e);if(null===r)return-1;let i=t;const o=e=>{switch(e.operationSymbol){case"+":i+=e.offsetValue;break;case"-":i-=e.offsetValue}},a=(e,t="+")=>`${t}${e}`;if(o({operationSymbol:r[1],offsetValue:parseFloat(r[2])}),d.test(e)){const t=null!==(n=d.exec(e))&&void 0!==n?n:[];void 0!==t[7]&&o({operationSymbol:t[5],offsetValue:parseFloat(a(t[7],t[6]))}),void 0!==t[12]&&o({operationSymbol:t[10],offsetValue:parseFloat(a(t[12],t[11]))}),void 0!==t[17]&&o({operationSymbol:t[15],offsetValue:parseFloat(a(t[17],t[16]))})}return i},v={[r.lj.Content_Time]:a.W.In_Play,[r.lj.Media_Time]:a.W.In_Play,[r.lj.Ad_Time]:a.W.In_Play},m=(e,t)=>v[e]===t,y=(e,t,n,r)=>{const i=[];return Object.keys(t).forEach((o=>{const a=o,s=t[a];if(!m(a,n))return;const u=r(e,a,s);null!==u&&i.push(u)})),new o.O(i)},b=(e,t,n)=>{switch(t){case r.lj.Ad_Time:case r.lj.Media_Time:case r.lj.Content_Time:const o=i.TimeRange.create(n,1);switch(t){case r.lj.Ad_Time:return((e,t)=>{const n=new Map([[r.Yk.Current_Ad_Creative,t=>{var n;return e.contains(null!==(n=null==t?void 0:t.currentTime)&&void 0!==n?n:-1)}]]);return new c.$(t,n)})(o,e);case r.lj.Media_Time:return((e,t)=>{const n=new Map([[r.Yk.Media_Time,t=>e.contains(t)]]);return new c.$(t,n)})(o,e);case r.lj.Content_Time:return((e,t)=>{const n=new Map([[r.Yk.Timeline_Time,t=>e.contains(t)]]);return new c.$(t,n)})(o,e)}}return null},S=(e,t,n)=>{switch(t){case r.lj.Ad_Time:case r.lj.Media_Time:case r.lj.Content_Time:const o=i.TimeRange.create(n,1);switch(t){case r.lj.Ad_Time:return((e,t)=>{const n=new Map([[r.Yk.Current_Ad_Creative,t=>{var n;return!e.contains(null!==(n=null==t?void 0:t.currentTime)&&void 0!==n?n:-1)}]]);return new c.$(t,n)})(o,e);case r.lj.Media_Time:return((e,t)=>{const n=new Map([[r.Yk.Media_Time,t=>!e.contains(t)]]);return new c.$(t,n)})(o,e);case r.lj.Content_Time:return((e,t)=>{const n=new Map([[r.Yk.Timeline_Time,t=>!e.contains(t)]]);return new c.$(t,n)})(o,e)}}return null}},48813:(e,t,n)=>{"use strict";n.d(t,{GJ:()=>a,b8:()=>s.b,Wd:()=>s.W});var r=n(85654),i=n(43321);const o={handlers:{[r.f9.Timed_Metadata]:()=>{}}};class a{constructor(e){this._onPlayerMockMessageTriggered=e=>{const{message:t}=e,{handlers:n}=this._config,o=this._player.model,a=(0,i.N7)(o,t.type,t.data);t.type===r.f9.Timed_Metadata&&n.timedMetadata(a)},this._player=null,this._bindings=[],this._config=Object.assign(o,e)}attach(e){this._player||(this._player=e,this._bindings.push(this._player.events.mockMessageTriggered.listen(this._onPlayerMockMessageTriggered)))}updateConfig(e){this._config=Object.assign(this._config,e)}detach(){this._bindings.forEach((e=>e.detach())),this._bindings.length=0,this._player=null}destroy(){this.detach(),this._config=o}}var s=n(56793)},44817:(e,t,n)=>{"use strict";n.d(t,{S:()=>f});var r=n(85654),i=n(17306),o=n(2205),a=n(29810),s=n(42683),u=n(27945),c=n(5272),l=n(56686);const d=i.Log.getLogger("PlayerModel"),_=()=>[[r.Yk.Root_Container,null],[r.Yk.Sub_Container,null],[r.Yk.Player_State,r.fL.Pending],[r.Yk.Content_State,r.g7.Pending],[r.Yk.View_State,r.f7.Pending],[r.Yk.Lifecycle_State,r.um.Foreground],[r.Yk.Config,u.A.config],[r.Yk.Playlist_Item,null],[r.Yk.Volume,1],[r.Yk.Muted,!1],[r.Yk.Timeline_Time,-1],[r.Yk.Timeline_Markers,[]],[r.Yk.Current_Ad_Break,null],[r.Yk.Current_Ad_Creative,null],[r.Yk.Ad_Breaks,[]],[r.Yk.Media_State,r.gC.Pending],[r.Yk.Media_Time,-1],[r.Yk.Media_Absolute_Time,-1],[r.Yk.Media_Duration,-1],[r.Yk.Media_Profiles,[]],[r.Yk.Media_Target_Profile_Id,null],[r.Yk.Active_Media_Profile,null],[r.Yk.Content_Seekable_Range,i.TimeRange.create(0,0)],[r.Yk.Media_Seekable_Range,null],[r.Yk.Content_Is_Live,!1],[r.Yk.Content_Buffered_Range,i.TimeRange.create(0,0)],[r.Yk.Caption_State,r.IM.Pending],[r.Yk.Caption_Tracks,[]],[r.Yk.Caption_Cues,[]],[r.Yk.Caption_Settings,(0,a.o)()],[r.Yk.Analytic_Marks,{}],[r.Yk.Analytic_Measures,{}],[r.Yk.Timed_Metadata_Cues,[]],[r.Yk.Playback_Speed,1],[r.Yk.Ad_Break_Time,-1],[r.Yk.Thumbnail,null],[r.Yk.Live_Drift,0]];class f{constructor(e=new Map(_())){this._data=e,this.modelUpdated=new i.EventSignal(r.SX.Model_Updated)}_processChangeRequests(e){const t=e.reduce(((e,t)=>{const n=t.property,o=t.mode||r.S_.Overwrite,a=this._data.get(n),s=t.value;if((0,i.isEqual)(a,s))return e;switch(o){case r.S_.Overwrite:this._data.set(n,s);break;case r.S_.Extend:if(!i.ObjectUtils.isPlainObject(a))return d.warn(`${n} - Could not extend 'previousValue' with 'currentValue', not an object`),e;{const t=i.ObjectUtils.extendDeep({},a,s);if((0,i.isEqual)(a,t))return e;this._data.set(n,t)}break;case r.S_.Array_Append:if(!Array.isArray(a))return e;this._data.set(n,a.concat(s));break;case r.S_.Array_Remove_By_Position:{const t=s;if(!(Array.isArray(a)&&-1<t&&t<a.length))return e;a.splice(t,1),this._data.set(n,a);break}default:throw new i.UnreachableCaseError(o)}return e.push({property:n,previousValue:a,currentValue:s,mode:o}),e}),[]);0!==t.length&&(t.forEach((e=>{e.mode===r.S_.Overwrite&&delete e.mode})),this.modelUpdated.dispatch({changed:t}))}get rootContainer(){return this._data.get(r.Yk.Root_Container)||null}get subContainer(){return this._data.get(r.Yk.Sub_Container)||null}get playerState(){return this._data.get(r.Yk.Player_State)}get contentState(){return this._data.get(r.Yk.Content_State)}get viewState(){return this._data.get(r.Yk.View_State)}get lifecycleState(){return this._data.get(r.Yk.Lifecycle_State)}get config(){return i.ObjectUtils.extendDeep({},this._data.get(r.Yk.Config))}get playlistItem(){return this._data.get(r.Yk.Playlist_Item)||null}get volume(){return this._data.get(r.Yk.Volume)}get muted(){return this._data.get(r.Yk.Muted)}get analytics(){const e=()=>this._data.get(r.Yk.Analytic_Measures),t=t=>{var n,r;return null!==(r=null===(n=e()[t])||void 0===n?void 0:n.duration)&&void 0!==r?r:0};return{getAllMarks:()=>this._data.get(r.Yk.Analytic_Marks),getAllMeasures:e,get currentPlay(){return{get timeToCMSResolution(){return t(r.e1.CMS_Resolution)},get timeToTransactionSetup(){return t(r.e1.Transaction_Setup)},get timeToTransactionInit(){return t(r.e1.Transaction_Initialized)},get timeWaitingForUser(){return t(r.e1.Time_Waiting_For_User)},get timeToContentResolution(){return t(r.e1.Content_Resolution)},get totalTimeToFirstFrame(){return t(r.e1.Total_Time_To_First_Frame)}}}}}get captions(){const e=()=>this._data.get(r.Yk.Caption_Tracks),t=()=>e().filter((e=>e.active)),n=()=>this._data.get(r.Yk.Caption_Cues),i=()=>this._data.get(r.Yk.Caption_State),o=()=>this._data.get(r.Yk.Caption_Settings);return{get available(){return e().length>0},get enabled(){return t().length>0},get activeTrack(){return t()[0]||null},get state(){return i()},get settings(){return o()},getAllTracks:e,getAllCues:n,getActiveCues:()=>n().filter((e=>{const t=this._data.get(r.Yk.Timeline_Time);return e.range.contains(t)}))}}get timeline(){const e=e=>this._data.get(r.Yk.Timeline_Markers).filter((t=>t.type===e)),t=()=>e(r.QZ.Ad_Break);return{currentTime:this._data.get(r.Yk.Timeline_Time),getMarkersForType:e,getMarkersForAdBreaks:t,getMarkersForMedia:()=>e(r.QZ.Media),getMarkersForEndCredits:()=>e(r.QZ.End_Credits),adMidrollStartTimes:()=>t().map((e=>e.range.start))}}get cues(){const e=()=>this._data.get(r.Yk.Timed_Metadata_Cues),t=t=>e().filter((e=>e.state===t)),n=t=>e().filter((e=>e.type===t));return{get all(){return e()},get active(){return t(r.uV.Activated)},get completed(){return t(r.uV.Completed)},get cueOut(){return n(r.tg.Ext_Out)},get cueIn(){return n(r.tg.Ext_In)},get asset(){return n(r.tg.Ext_Asset)},get id3(){return n(r.tg.ID3)},get scte(){return n(r.tg.SCTE)}}}get currentAdBreak(){return this._data.get(r.Yk.Current_Ad_Break)||null}get currentAdCreative(){return this._data.get(r.Yk.Current_Ad_Creative)||null}get adBreaks(){return this._data.get(r.Yk.Ad_Breaks)||[]}get captionTracks(){return this.captions.getAllTracks()}get activeCaptionCues(){return this.captions.getActiveCues()}get captionsAvailable(){return this.captions.available}get captionsEnabled(){return this.captions.enabled}get captionState(){return this.captions.state}get activeCaptionTrack(){return this.captions.activeTrack}get captionSettings(){return this.captions.settings}get mediaState(){return this._data.get(r.Yk.Media_State)}get mediaDuration(){return this._data.get(r.Yk.Media_Duration)}get mediaProfiles(){return this._data.get(r.Yk.Media_Profiles)}get mediaTargetProfileId(){return this._data.get(r.Yk.Media_Target_Profile_Id)||null}get activeMediaProfile(){return this._data.get(r.Yk.Active_Media_Profile)||null}get contentSeekableRange(){const e=this._data.get(r.Yk.Content_Seekable_Range);return i.TimeRange.create(e.start,e.duration)}get mediaSeekableRange(){const e=this._data.get(r.Yk.Media_Seekable_Range);return e?i.TimeRange.create(e.start,e.duration):null}get mediaTime(){return this._data.get(r.Yk.Media_Time)}get mediaAbsoluteTime(){return this._data.get(r.Yk.Media_Absolute_Time)}get contentIsLive(){return this._data.get(r.Yk.Content_Is_Live)}get contentBufferedRange(){const e=this._data.get(r.Yk.Content_Buffered_Range);return i.TimeRange.create(e.start,e.duration)}get playbackSpeed(){return this._data.get(r.Yk.Playback_Speed)}get liveDrift(){return this._data.get(r.Yk.Live_Drift)}get adBreakTime(){return this._data.get(r.Yk.Ad_Break_Time)}get thumbnail(){return this._data.get(r.Yk.Thumbnail)}handlePlayerStateChange(e){const t={property:r.Yk.Player_State,value:e.currentState};this._processChangeRequests([t])}handleTransactionStateChange(e){const{currentState:t,previousState:n}=e,i=e.args||[];switch(n){case r.g7.Initializing:{const{config:e,playlistItem:o}=i[0];if(!e||!o){d.warn(`[handleTransactionStateChange] missing config or playlistItem on ${n} -> ${t}`);break}this._processChangeRequests([{property:r.Yk.Config,value:e},{property:r.Yk.Playlist_Item,value:o}]);break}}switch(t){case r.g7.Initializing:{const e=[r.Yk.Root_Container,r.Yk.Sub_Container,r.Yk.Player_State,r.Yk.View_State,r.Yk.Config,r.Yk.Caption_Settings];this._processChangeRequests(_().filter((([t])=>-1===e.indexOf(t))).map((([e,t])=>({property:e,value:t}))));break}}this._processChangeRequests([{property:r.Yk.Content_State,value:t}])}handleTransactionConfigUpdate(e){this._processChangeRequests([{property:r.Yk.Config,value:e.config}])}handleViewStateChange(e){let t=[{property:r.Yk.View_State,value:e.currentState}];if(e.currentState===r.f7.Attached){const n=(()=>{if(!Array.isArray(e.args)||0===e.args.length)return d.warn("[handleViewStateChange] Could not get result data on view `Attached` transition"),[];const t=e.args[0];return t.root&&t.sub?[{property:r.Yk.Root_Container,value:t.root},{property:r.Yk.Sub_Container,value:t.sub}]:(d.warn("[handleViewStateChange] Missing either root or sub containers on view `Attached` transition"),[])})();t=t.concat(n)}this._processChangeRequests(t)}handleModuleNotification(e){switch(e.module){case r.PO.Video_Engine:case r.PO.Timeline:case r.PO.Lifecycle:case r.PO.Captions:case r.PO.Cues:case r.PO.Analytics:{const t=e.result;switch(t.type){case r.n_.Model_Update_Request:case l.K.Model_Update_Request:case s.o.Model_Update_Request:case o.nQ.Model_Update_Request:case c.y.Model_Update_Request:this._processChangeRequests(t.changes)}break}}}handleChangeRequests(e){this._processChangeRequests(e)}}f.fromDataObject=e=>{const t=_().map((([t,n])=>[t,e[t]||n])),n=new Map(t);return new f(n)}},87403:(e,t,n)=>{"use strict";n.d(t,{S:()=>r.S});var r=n(44817)},44738:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(17306),i=n(30850);const o={initial:{name:i.L4.Inactive,state:i.H1.Inactive},events:[{name:i.L4.Connect,from:[i.H1.Inactive,i.H1.Disconnected],to:i.H1.Connected},{name:i.L4.Disconnect,from:[i.H1.Connected],to:i.H1.Disconnected}]};class a{constructor(e,t,n){this._onFsmStateChanged=e=>{const t=e.to,n=e.from;this.events.stateChanged.dispatch({currentState:t,previousState:n})},this._events=this._extendEvents(e),this._config=t,this._model=n,this._fsm=new r.Fsm,this._fsm.init(o),this._fsm.events.stateChanged.listen(this._onFsmStateChanged)}_extendEvents(e){return e.stateChanged=(0,r.createEvent)("stateChanged"),e}get events(){return this._events}get running(){return this._fsm.currentState()===i.H1.Connected}get state(){return this._fsm.currentState()}start(){return this._fsm.attemptTransition(i.L4.Connect),this}handleModuleNotification(e){return this}stop(){return this._fsm.attemptTransition(i.L4.Disconnect),this}destroy(){return this._fsm.events.unlistenAll(),this}}},30850:(e,t,n)=>{"use strict";var r,i,o;n.d(t,{H1:()=>i,L4:()=>o,T0:()=>r}),function(e){e.Content_Stall="contentStall",e.Live_Ad_Session="liveAdSession",e.Ad_Start_Detection="adStartDetection",e.Prune="prune",e.Concurrency="concurrency"}(r||(r={})),function(e){e.Inactive="inactive",e.Connected="connected",e.Disconnected="disconnected"}(i||(i={})),function(e){e.Inactive="inactive",e.Connect="connect",e.Disconnect="disconnect"}(o||(o={}))},9423:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(17306),i=n(44738),o=n(61804),a=n(85654);const s=r.Log.getLogger("ContentStallMonitor").filter("monitors");class u extends i.S{constructor(e,t){super((0,o.F)(),t,e),this._onContentStallTimeout=()=>{this.stop(),this._notifyContentLost()},this._onTick=()=>{var e;if(!this._model)return void s.warn("[_onTick] Monitor source does not exist");const t=this._model.mediaState,n=t===a.gC.Playing||t===a.gC.Buffering,r=null===(e=this._model.currentAdBreak)||void 0===e?void 0:e.state,i=r===a.M9.Playing||r===a.M9.Buffering;n||i?this._checkIsPlaying(i):this._contentLossTimer&&this._clearContentLossTimeout()},this._monitorIntervalTimer=null,this._contentLossTimer=null,this._currentTime=-1,this._timeoutScheduledAt=-1}_handleVideoEngineEvent(e){switch(e.type){case a.n_.Media_State_Changed:this._handleMediaStateChanged(e.currentState);break;case a.n_.Ad_State_Changed:this._handleAdStateChanged(e.currentState)}}_handleMediaStateChanged(e){switch(e){case a.gC.Pending:case a.gC.Starting:case a.gC.Loaded:case a.gC.Seeking:case a.gC.Stopped:case a.gC.Finished:this._clearTickInterval(),this._clearContentLossTimeout();break;case a.gC.Error:this._contentLossTimer&&this.stop();break;default:this._startTickInterval()}}_handleAdStateChanged(e){switch(e){case a.M9.Pending:case a.M9.Starting:case a.M9.Loaded:case a.M9.Stopped:case a.M9.Finished:this._clearTickInterval(),this._clearContentLossTimeout();break;default:this._startTickInterval()}}_startTickInterval(){this._monitorIntervalTimer||(this._monitorIntervalTimer=(0,r.Timer)(r.TimerMode.Interval,this._onTick,this._config.pollRate),this._monitorIntervalTimer.start())}_clearTickInterval(){this._monitorIntervalTimer&&(this._monitorIntervalTimer.stop(),this._monitorIntervalTimer=null)}_checkIsPlaying(e){const t=e?this._model.adBreakTime:this._model.mediaTime,n=this._currentTime!==t;this._currentTime=t,n?(this._clearContentLossTimeout(),s.verbose("Playback is not stalled, ensuring no timeout is scheduled")):(this._scheduleInterruptTimeout(1e3*this._config.timeout),s.warn(`Potential dead connection detected, waiting ${this._timeUntilTimeout}s before interrupting`))}_scheduleInterruptTimeout(e){this._contentLossTimer||(this._contentLossTimer=(0,r.Timer)(r.TimerMode.Timeout,this._onContentStallTimeout,e),this._contentLossTimer.start(),this._timeoutScheduledAt=this._currentUnixTimestamp+e/1e3,this._notifyContentStalled())}_clearContentLossTimeout(){this._contentLossTimer&&(this._contentLossTimer.stop(),this._contentLossTimer=null,this._timeoutScheduledAt=-1)}_notifyContentStalled(){this.events.contentStalled.dispatch({timeoutScheduledAt:this._timeoutScheduledAt,currentTime:this._currentTime})}_notifyContentLost(){this.events.contentLost.dispatch()}get _currentUnixTimestamp(){return Date.now()/1e3}get _timeUntilTimeout(){return this._timeoutScheduledAt-this._currentUnixTimestamp}handleModuleNotification(e){return this.running?(e.module===a.PO.Video_Engine&&e.category===a.SQ.Component_Event&&this._handleVideoEngineEvent(e.result),super.handleModuleNotification(e),this):this}stop(){return this._clearTickInterval(),this._clearContentLossTimeout(),super.stop(),this}}},61804:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});var r=n(17306);const i=()=>({contentStalled:(0,r.createEvent)(a.Content_Stalled),contentLost:(0,r.createEvent)(a.Content_Lost)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Content_Stalled="contentStalled",e.Content_Lost="contentLost"}(a||(a={}))},93093:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(17306),i=n(44738),o=n(96944),a=n(85654);const s=r.Log.getLogger("LiveAdSessionMonitor").filter("monitors");class u extends i.S{constructor(e,t){super((0,o.r)(),t,e),this._handleVideoEngineEvent=e=>{switch(e.type){case a.n_.Ad_Paused:case a.n_.Media_Paused:this._startSample();break;case a.n_.Ad_Resumed:case a.n_.Media_Resumed:this._endSample()}},this._timeoutSample=null}_startSample(){s.debug("[startSample] Triggering monitor sample start"),this._timeoutSample=Date.now()}_endSample(){if(!this._timeoutSample)return;const e=1e3*this._config.timeout,t=Date.now(),n=t-this._timeoutSample;s.debug(`[endSample] Triggering monitor sample, sample deltas: [${t}] - [${this._timeoutSample}] = [${n}]`),s.debug(`[endSample] Max delta is: [${e}]`),n>e&&this.events.timedOut.dispatch(),this._timeoutSample=null}handleModuleNotification(e){return this.running?(e.module===a.PO.Video_Engine&&e.category===a.SQ.Component_Event&&this._handleVideoEngineEvent(e.result),super.handleModuleNotification(e),this):this}}},96944:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(17306);const i=()=>({timedOut:(0,r.createEvent)(a.Timed_Out)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Timed_Out="timedOut"}(a||(a={}))},46611:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});var r=n(17306),i=n(44738),o=n(59926),a=n(85654);const s=r.Log.getLogger("PruneMonitor").filter("monitors");class u extends i.S{constructor(e,t){super((0,o.P)(),t,e),this._currentTime=-1,this._slidingWindowStart=-1,this._minTime=-1,this._pruneTriggerTime=-1,this._onModelUpdated=e=>{this._model.mediaState===a.gC.Playing&&e.changed.forEach((e=>{if(e.property===a.Yk.Content_Seekable_Range){const t=e.currentValue.start;t!==this._slidingWindowStart&&(this._slidingWindowStart=t)}}))},this._bindings=[this._model.modelUpdated.listen(this._onModelUpdated)]}_handleVideoEngineEvent(e){e.type===a.n_.Media_Time_Changed&&this._handleMediaTimeChanged(e)}_handleMediaTimeChanged(e){this._currentTime=e.time,-1===this._pruneTriggerTime&&this._handleFirstTimeChanged(),this._currentTime>this._pruneTriggerTime&&this._handlePruneTrigger()}_handleFirstTimeChanged(){this._pruneTriggerTime=this._currentTime+this._config.slidingWindowThreshold,s.debug(`[handleFirstTimeChanged] First Prune will trigger at: ${this._pruneTriggerTime}`)}_handlePruneTrigger(){-1!==this._slidingWindowStart?(s.debug(`[handlePruneTrigger] Prune triggered with time of: ${this._pruneTriggerTime}`),this._pruneTriggerTime+=this._config.slidingWindowThreshold,this._minTime=this._slidingWindowStart-this._config.slidingWindowBuffer,this._minTime<=0||this._notifySlidingWindowChanged()):s.warn("[handlePruneTrigger] The sliding window has no start.")}_notifySlidingWindowChanged(){s.debug(`Pruning is available for the current sliding window with min time of: ${this._minTime}.`),this.events.slidingWindowChanged.dispatch({minTime:this._minTime})}handleModuleNotification(e){return this.running?(e.module===a.PO.Video_Engine&&e.category===a.SQ.Component_Event&&this._handleVideoEngineEvent(e.result),super.handleModuleNotification(e),this):this}destroy(){return this._bindings.forEach((e=>e.detach())),this._bindings.length=0,super.destroy(),this}}},59926:(e,t,n)=>{"use strict";n.d(t,{A:()=>r,P:()=>a});var r,i=n(17306);!function(e){e.Sliding_Window_Changed="slidingWindowChanged"}(r||(r={}));const o=()=>({slidingWindowChanged:(0,i.createEvent)(r.Sliding_Window_Changed)});function a(){return(0,i.createEventCollection)(o())}},45331:(e,t,n)=>{"use strict";n.d(t,{qj:()=>d,T0:()=>_.T0}),n(61804),n(9423),n(96944),n(93093),n(59926),n(46611);var r,i=n(17306);!function(e){e.Token_Error="tokenError"}(r||(r={}));var o,a=n(44738),s=n(85654),u=n(73703);!function(e){e.TokenError="tokenError"}(o||(o={}));class c{constructor(e){this.event={tokenError:(0,i.createEvent)(o.TokenError,null)},this._drmService=e,this._heartbeat=null}start(e){this.schedule(e)}schedule(e){var t,n;this._heartbeat=setTimeout((()=>{var t;const n={accessToken:null===(t=e.turnerToken)||void 0===t?void 0:t.token,accessTokenType:"turner",assetId:e.assetId,companyId:e.companyId,mediaId:e.mediaId,deviceId:e.deviceId};this.sendHeartbeat(n)}),null!==(n=null===(t=e.turnerToken)||void 0===t?void 0:t.ttl)&&void 0!==n?n:1)}stop(){null!=this._heartbeat&&clearTimeout(this._heartbeat)}sendHeartbeat(e){u.SF.handleDRMTokenAuth(this._drmService,e).onResolved((e=>{this.schedule(e)})).onRejected((e=>{this.event.tokenError.dispatch({error:e})}))}}const l=i.Log.getLogger("ConcurrencyMonitor").filter("monitors");class d extends a.S{constructor(e,t,n){super((0,i.createEventCollection)({tokenError:(0,i.createEvent)(r.Token_Error)}),n,e),this._drmService=t,this._tokenHeartbeat=null}handleModuleNotification(e){var t,n;if(!this.running)return this;if(e.module===s.PO.Auth)switch(e.result.type){case s.sL.Token_Response_Received:{const r=e.result.payload;l.debug(`handleModuleNotification, Token [${null===(t=null==r?void 0:r.turnerToken)||void 0===t?void 0:t.token}] TTL [${null===(n=null==r?void 0:r.turnerToken)||void 0===n?void 0:n.ttl}]`),r.turnerToken?this._addTokenHeartbeat(r):l.info("Token heartbeat not required. turnerToken not included in DRMAuthTokenData");break}}return super.handleModuleNotification(e)}stop(){var e;return super.stop(),null===(e=this._tokenHeartbeat)||void 0===e||e.stop(),this}_addTokenHeartbeat(e){this._tokenHeartbeat=new c(this._drmService),this._tokenHeartbeat.event.tokenError.listen((e=>{this.events.tokenError.dispatch({error:e.error})})),this._tokenHeartbeat.start(e)}}var _=n(30850)},4513:(e,t,n)=>{"use strict";var r;n.d(t,{S:()=>r}),function(e){e.Default="com.turner.top.platformhelper.default"}(r||(r={}))},18397:(e,t,n)=>{"use strict";var r;n.d(t,{o:()=>r}),function(e){e.Unknown="unknown",e.Android="android",e.iOS="ios",e.Web="web",e.React_Native="react-native"}(r||(r={}))},41497:(e,t,n)=>{"use strict";n.d(t,{o_:()=>u.o,vX:()=>o,S8:()=>s.S,FN:()=>a});var r=n(17306);const i=()=>({fullscreenEntered:(0,r.createEvent)(o.Fullscreen_Entered),fullscreenExited:(0,r.createEvent)(o.Fullscreen_Exited)});var o;function a(){return(0,r.createEventCollection)(i())}!function(e){e.Fullscreen_Entered="fullscreenEntered",e.Fullscreen_Exited="fullscreenExited"}(o||(o={}));var s=n(4513),u=n(18397)},39195:(e,t,n)=>{"use strict";var r,i;n.d(t,{W:()=>r,X:()=>i}),function(e){e.Start="start",e.Initialize="initialize",e.Initialized="initialized",e.Error="error"}(r||(r={})),function(e){e.Pending="pending",e.Initializing="initializing",e.Initialized="initialized",e.Error="error"}(i||(i={}))},57798:(e,t,n)=>{"use strict";var r;n.d(t,{U:()=>r}),function(e){e.Start="start",e.Initialize="initialize",e.Initialized="initialized",e.Attach="attach",e.Attached="attached",e.Listen="listen",e.Detach="detach",e.Detached="detached",e.Destroy="destroy",e.Destroyed="destroyed",e.Error="error"}(r||(r={}))},13893:(e,t,n)=>{"use strict";var r;n.d(t,{y:()=>r}),function(e){e.Start="start",e.Idle="idle",e.Initialize="initialize",e.Prepare="prepare",e.Transform="transform",e.Initialized="initialized",e.Wait="wait",e.Validate="validate",e.Validated="validated",e.Ads_Begin="adsBegin",e.Ads_Playback="adsPlayback",e.Ads_Complete="adsComplete",e.Authorize="authorize",e.Authorized="authorized",e.Media_Begin="mediaBegin",e.Media_Playback="mediaPlayback",e.Media_Complete="mediaComplete",e.Stop="stop",e.Interrupted="interrupted",e.Finish="finish",e.Error="error",e.End="end",e.Ended="ended"}(r||(r={}))},70895:(e,t,n)=>{"use strict";var r;n.d(t,{c:()=>r}),function(e){e.Start="start",e.Create="create",e.Created="created",e.Attach="attach",e.Attached="attached",e.Windowed="windowed",e.Enter_Fullscreen="enterFullscreen",e.Fullscreen="fullscreen",e.Exit_Fullscreen="exitFullscreen",e.Enter_Remote="enterRemote",e.Remote="remote",e.Exit_Remote="exitRemote",e.Enter_Picture_In_Picture="enterPictureInPicture",e.Picture_In_Picture="pictureInPicture",e.Exit_Picture_In_Picture="exitPictureInPicture",e.Detach="detach",e.Detached="detached",e.Destroy="destroy",e.Destroyed="destroyed",e.Error="error"}(r||(r={}))},22306:(e,t,n)=>{"use strict";n.d(t,{Uu:()=>i.U,WZ:()=>r.W,XP:()=>r.X,c0:()=>a.c,y_:()=>o.y});var r=n(39195),i=n(57798),o=n(13893),a=n(70895)},98189:(e,t,n)=>{"use strict";n.d(t,{KJ:()=>u,Ws:()=>s});var r=n(17306),i=n(12399),o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};const a=r.Log.getLogger("LifecycleStorage").filter("lifecycle");var s;function u(){return o(this,void 0,void 0,(function*(){const e=function(){return o(this,void 0,void 0,(function*(){const[e,t,n]=yield Promise.all([i.Ke.get(s.config).then((e=>{if(!e)return null;try{return JSON.parse(e)}catch(e){return a.error(`Error retrieving config from storage: ${e}`),null}})),i.Ke.get(s.playlistItem).then((e=>{if(!e)return null;try{return JSON.parse(e)}catch(e){return a.error(`Error retrieving playlistItem from storage: ${e}`),null}})),i.Ke.get(s.currentTime).then((e=>{if(!e)return null;try{return parseFloat(e)}catch(t){return a.error(`Error parsing ${e} as Number: ${t}`),null}}))]);return{config:e,playlistItem:t,currentTime:n}}))}();return e.then((()=>{i.Ke.set(s.config,"null"),i.Ke.set(s.currentTime,"null"),i.Ke.set(s.playlistItem,"null")})),e}))}!function(e){e.config="lifecycle-config",e.playlistItem="lifecycle-playlist-item",e.currentTime="lifecycle-current-time"}(s||(s={}))},74502:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(17306),i=n(41497);class o{static create(e){const t={platform:i.o_.Unknown,prefix:"top-player::"},n=r.ObjectUtils.extendDeep({},t,e||{});return new o(n)}constructor(e){this._config=e,this._storage=this._getPlatformStorage()}_getPlatformStorage(){const e=(n.g.NexusPlatform||{}).localStorage;switch(this._config.platform){case i.o_.Web:return{get:t=>e.get(t),set:(t,n)=>e.set(t,n)};case i.o_.Android:return{get:t=>e.get(t).then((e=>"string"==typeof e?this._transformDoubleEncodedData(e):e)),set:(t,n)=>e.set(t,n)};case i.o_.iOS:return{get:t=>e.get(t),set:(t,n)=>e.set(t,n)};default:return{get:()=>Promise.resolve(""),set:()=>Promise.resolve()}}}_transformDoubleEncodedData(e){const t='"true"'===e||'"false"'===e,n='"null"'===e,r=-1!==e.indexOf("{\\"),i=!t&&!n&&!r&&'"'===e[0]&&'"'===e[e.length-1];if(t||n||i)return e.substr(1,e.length-2);if(r)try{return JSON.parse(e)}catch(t){return e}return e}updateConfig(e){r.ObjectUtils.extendDeep(this._config,e),e.platform&&(this._storage=this._getPlatformStorage())}get(e){return this._storage.get(`${this._config.prefix}${e}`)}set(e,t){return this._storage.set(`${this._config.prefix}${e}`,t)}}const a=o.create()},12399:(e,t,n)=>{"use strict";n.d(t,{Ws:()=>o.Ws,Ke:()=>i.K,V:()=>u,ZV:()=>a,IP:()=>l,xB:()=>c,zo:()=>s,DK:()=>d});var r,i=n(74502),o=n(98189);!function(e){e.Language="cc-lang",e.Enablement="cc-enabled",e.Settings="cc-settings"}(r||(r={}));const a=()=>i.K.get(r.Language).then((e=>"null"===e?null:e||null)),s=e=>{const t=null!==e?e:null;return i.K.set(r.Language,t)},u=()=>i.K.get(r.Enablement).then((e=>e?JSON.parse(e):null)),c=e=>i.K.set(r.Enablement,JSON.stringify(e)),l=()=>i.K.get(r.Settings).then((e=>e?JSON.parse(e):null)),d=e=>i.K.set(r.Settings,JSON.stringify(e))},97253:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(17306),i=n(56686),o=n(85654);const a=r.Log.getLogger("Timeline").filter("timeline");class s{constructor(){this._onMarkerEvent=(e,t)=>{const{marker:n}=t;switch(e){case o.x4.Approaching:this.events.markerApproaching.dispatch({marker:n});break;case o.x4.Activated:this.activeMarkers.push(n),this.events.markerActivated.dispatch({marker:n});break;case o.x4.Finishing:this.events.markerFinishing.dispatch({marker:n});break;case o.x4.Deactivated:{const e=this.activeMarkers.findIndex((e=>e===n));e>-1&&this.activeMarkers.splice(e,1),this.events.markerDeactivated.dispatch({marker:n});break}default:throw new r.UnreachableCaseError(e)}},this.events=(0,i.I)(),this.activeMarkers=[],this._markers=new r.LinkedList,this._currentTime=0}_add(e){return!this._options.allowDuplicates&&this._isDuplicateMarker(e)?null:(a.debug(`Adding marker to timeline: ${e.type} - ${e.id}`),e.events.listen(this._onMarkerEvent),this._markers.add(e),e)}_syncModelTime(){this._requestModelUpdates([{property:o.Yk.Timeline_Time,value:this._currentTime}])}_syncModelMarkers(){this._requestModelUpdates([{property:o.Yk.Timeline_Markers,value:this._markers.iterator()}])}_isDuplicateMarker(e){return this._markers.iterator().filter((t=>(0,r.hashCode)(t.toString())===(0,r.hashCode)(e.toString()))).length>0}_requestModelUpdates(e){this.events.modelUpdateRequest.dispatch({changes:e})}get currentTime(){return this._currentTime}init(e){return this._options=r.ObjectUtils.extendDeep({},{allowDuplicates:!0},e||{}),this}addMany(e){const t=e.map((e=>this._add(e))).filter((e=>null!==e));return this._syncModelMarkers(),t.forEach((e=>this.events.markerAdded.dispatch({marker:e}))),t}removeMany(e){const t=[];return e.forEach((e=>{this._markers.remove(e)?(t.push(e),e.events.unlistenAll(),a.debug(`Removing marker from timeline: ${e.type} - ${e.id}`)):a.warn(`Could not remove Marker ${e.id} from timeline`)})),this._syncModelMarkers(),t.forEach((e=>this.events.markerRemoved.dispatch({marker:e}))),t}addMarker(e){const t=this._add(e);return t?(this._syncModelMarkers(),this.events.markerAdded.dispatch({marker:e}),t):null}removeMarker(e){const t=this._markers.remove(e);return t&&(a.debug(`Removing "${e.type}" marker from timeline. ID: ${t.id}`),e.events.unlistenAll(),this._syncModelMarkers(),this.events.markerRemoved.dispatch({marker:t})),t}hasMarker(e){return!!this._markers.findBy((t=>t===e))}getNextMarker(e){e=e||this.activeMarkers[0];const t=this._markers.findNodeBy((t=>t===e));return t&&t.next?t.next.value:null}getPreviousMarker(e){e=e||this.activeMarkers[0];const t=this._markers.findPreviousNodeBy((t=>t===e));return t?t.value:null}getMarkersForTime(e){return this._markers.iterator().filter((t=>t.range.contains(e)))}getMarkersForRange(e){return this._markers.iterator().filter((t=>r.TimeRangeUtils.intersectsRange(t.range,e)))}getLastMarker(){return this._markers.last()}isLastMarker(e){return e=e||this.activeMarkers[0],this._markers.last()===e}updateTime(e){const t=this._currentTime;this._currentTime=e,this._syncModelTime(),this._markers.iterator().forEach((t=>t.updateTime(e))),0===t&&e>0&&this.events.started.dispatch({initialTime:e})}reset(){this._markers.iterator().forEach((e=>e.events.unlistenAll())),this._markers.clear(),this._currentTime=0,this.activeMarkers.length=0}iterator(){return this._markers.iterator()}}},62563:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(85654),i=n(17306);const o=()=>({approaching:(0,i.createEvent)(r.x4.Approaching),activated:(0,i.createEvent)(r.x4.Activated),finishing:(0,i.createEvent)(r.x4.Finishing),deactivated:(0,i.createEvent)(r.x4.Deactivated)});function a(){return(0,i.createEventCollection)(o())}},56686:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,K:()=>a});var r=n(17306);const i=()=>({modelUpdateRequest:(0,r.createEvent)(a.Model_Update_Request),started:(0,r.createEvent)(a.Started),markerAdded:(0,r.createEvent)(a.Marker_Added),markerApproaching:(0,r.createEvent)(a.Marker_Approaching),markerActivated:(0,r.createEvent)(a.Marker_Activated),markerFinishing:(0,r.createEvent)(a.Marker_Finishing),markerDeactivated:(0,r.createEvent)(a.Marker_Deactivated),markerRemoved:(0,r.createEvent)(a.Marker_Removed)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.Model_Update_Request="modelUpdateRequest",e.Started="started",e.Marker_Added="markerAdded",e.Marker_Approaching="markerApproaching",e.Marker_Activated="markerActivated",e.Marker_Finishing="markerFinishing",e.Marker_Deactivated="markerDeactivated",e.Marker_Removed="markerRemoved"}(a||(a={}))},18526:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>o.J,Xe:()=>a.X,k1:()=>s,TY:()=>u.T,Kx:()=>i.K,S5:()=>r.S,IA:()=>i.I});var r=n(62563),i=n(56686),o=n(91208),a=n(16814);class s{}s.VOD={convertMediaTimeToContentTime:(e,t=[])=>e+=t.reduce(((t,n)=>e>n.scheduleTime?t+n.duration:t),0),convertContentTimeToMediaTime:(e,t=[])=>e-=t.reduce(((t,n)=>e>n.scheduleTime+n.duration?t+n.duration:t),0)};var u=n(97253)},91208:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(17306),i=n(62563),o=n(85654);const a=r.Log.getLogger("Marker").filter("timeline");class s{static create(e,t="",n,r){return new s(e,t,n,r)}static createForMedia(e="",t,n){return e=e||`media-${Math.floor(t.start)}s->${Math.floor(t.end)}s`,s.create(o.QZ.Media,e,t,n)}static createForAd(e="",t,n){return e=e||`ad-break-${Math.floor(t.start)}s->${Math.floor(t.end)}s`,s.create(o.QZ.Ad_Break,e,t,n)}static createForContentMetadata(e,t="",n,r){return t=t||`content-metadata-${Math.floor(n.start)}s->${Math.floor(n.end)}s`,s.create(e,t,n,r)}constructor(e,t="",n,o){this.events=(0,i.S)(),this.options=r.ObjectUtils.extendDeep({},{startBuffer:.5,approachingThreshold:10,finishingThreshold:10,activationLimit:-1},o||{}),this.type=e,this.enabled=!0,this.range=n,this._calculateRanges(),this._id=this._generateId(t),this._active=!1,this._currentTime=0,this._firedApproaching=!1,this._firedFinishing=!1}_calculateRanges(){this._effectiveRange=(()=>{const{startBuffer:e}=this.options,t=this.range.start-e,n=this.range.duration+e;return r.TimeRange.create(t,n)})(),this._approachingRange=(()=>{const{approachingThreshold:e}=this.options,t=this._effectiveRange.start-e,n=e-.1;return r.TimeRange.create(t,n)})(),this._finishingRange=(()=>{const{finishingThreshold:e}=this.options,t=this._effectiveRange.end-e,n=e-.1;return r.TimeRange.create(t,n)})()}_generateId(e){return e||(0,r.getUniqueId)("marker")}_syncActiveState(){const e=this._currentTime;this._active?this._effectiveRange.contains(e)?this._finishingRange.contains(e)&&this._handleApproachingDeactivation():this._handleDeactivation():this._effectiveRange.contains(e)?this._handleActivation():this._approachingRange.contains(e)&&this._handleApproachingActivation()}_handleApproachingActivation(){const{approachingThreshold:e}=this.options;e<=0||this._firedApproaching||(a.debug(`[handleApproachingActivation] ${this.id} - ${this._currentTime} is within ${e} of ${this._effectiveRange.start}`),this._firedApproaching=!0,this.events.approaching.dispatch({marker:this}))}_handleActivation(){a.debug(`[handleActivation] ${this.id} - ${this._currentTime} is within ${this._effectiveRange}`),this._firedApproaching=!1,this._active=!0,this.events.activated.dispatch({marker:this})}_handleApproachingDeactivation(){const{finishingThreshold:e}=this.options;e<=0||this._firedFinishing||(a.debug(`[handleApproachingDeactivation] ${this.id} - ${this._currentTime} is within ${e} of ${this._effectiveRange.end}`),this._firedFinishing=!0,this.events.finishing.dispatch({marker:this}))}_handleDeactivation(){a.debug(`[handleDeactivation] ${this.id} - reset; ${this._currentTime} is outside ${this._effectiveRange}`),this._firedFinishing=!1,this._active=!1,this.events.deactivated.dispatch({marker:this})}get id(){return this._id}updateTime(e){this._currentTime=e,this._syncActiveState()}toString(){return`[Marker] ${this.type} | ${this.range}`}toJSON(){return{id:this.id,type:this.type,options:this.options,enabled:this.enabled,range:this.range}}}},16814:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(17306),i=n(91208);class o{static fromContentSegment(e){return i.J.createForMedia(void 0,r.TimeRange.create(e.start,e.duration),{finishingThreshold:5})}static fromContentMetadataSegment(e){return i.J.createForContentMetadata(e.type,void 0,r.TimeRange.create(e.start,e.duration),{finishingThreshold:5})}}},7787:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(63631);class i extends r.S{constructor(e){super(),this._onTriggerFired=e=>{this._receivedChangeCount++,this._receivedChangeCount===this._expectedChangeCount&&this.fireTriggered()},this._triggers=e,this._expectedChangeCount=e.length,this._receivedChangeCount=0,this._bindings=[]}_addTriggerListeners(){this._bindings.length>0||this._triggers.forEach((e=>{const t=e.events.fired.listen(this._onTriggerFired);this._bindings.push(t)}))}_removeTriggerListeners(){this._bindings.forEach((e=>e.detach())),this._bindings.length=0}get size(){return this._triggers.length}init(e){super.init(e),this._triggers.forEach((t=>t.init(e)))}enable(){super.enable(),this._triggers.forEach((e=>e.enable()))}disable(){super.disable(),this._triggers.forEach((e=>e.disable()))}reset(){super.reset(),this._addTriggerListeners(),this._receivedChangeCount=0,this._triggers.forEach((e=>e.reset()))}destroy(){this._removeTriggerListeners()}}},3638:(e,t,n)=>{"use strict";var r;n.d(t,{y:()=>r}),function(e){e.Default="default",e.Once="once"}(r||(r={}))},63631:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r,i=n(17306),o=n(3638);!function(e){e.Fired="fired"}(r||(r={}));const a={frequency:o.y.Default};class s{constructor(){this.fireTriggered=()=>{this._options.frequency===o.y.Once&&0!==this._triggerCount&&this.disable(),this.enabled&&(this._events.fired.dispatch({trigger:this}),this._triggerCount++)},this._events=(0,i.createEventCollection)({fired:(0,i.createEvent)(r.Fired)}),this._enabled=!1,this._options=a,this._triggerCount=0}get events(){return this._events}get enabled(){return this._enabled}get options(){return this._options}init(e){this._options=i.ObjectUtils.extendDeep({},a,e),this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1}reset(){this._triggerCount=0,this.enable()}destroy(){this.disable()}}},57959:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(63631);class i extends r.S{constructor(e,t){super(),this._onModelKeyChanged=e=>{e.changed.forEach((e=>this._checkConditional(e.property,e.currentValue)))},this._model=e,this._conditionals=t,this._receivedChanges=new Map,this._expectedChangeCount=t.size,this._modelBinding=null}_addModelListener(){this._modelBinding||(this._modelBinding=this._model.modelUpdated.listen(this._onModelKeyChanged))}_removeModelListener(){var e;null===(e=this._modelBinding)||void 0===e||e.detach(),this._modelBinding=null}_checkConditional(e,t){var n;if(!this.enabled)return;const r=this._conditionals.get(e);if(!r)return;if(!r(t))return;const i=null!==(n=this._receivedChanges.get(e))&&void 0!==n?n:0;this._receivedChanges.set(e,i+1),this._receivedChanges.size===this._expectedChangeCount&&this.fireTriggered()}_checkConditionals(){this._conditionals.forEach(((e,t)=>{var n,r;const i=null===(r=null===(n=this._model)||void 0===n?void 0:n._data)||void 0===r?void 0:r.get(t);this._checkConditional(t,i)}))}enable(){super.enable(),this._checkConditionals(),this._addModelListener()}disable(){super.disable(),this._removeModelListener()}reset(){super.reset(),this._receivedChanges.clear()}destroy(){this._receivedChanges.clear(),this._removeModelListener()}}},14516:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,h:()=>r});var r,i=n(17306),o=n(85654);!function(e){e.Default="com.turner.top.ui.default"}(r||(r={}));class a{constructor(){this.moduleNotification=(0,i.createEvent)("moduleNotification")}dispatchModuleNotification(e){this.moduleNotification.dispatch({module:o.PO.UI,category:o.SQ.Component_Event,result:e})}setPlatformHelper(e){this._platformHelper=e}setup(e){return e.playerConfig.ui.enabled?this._platformHelper.initializeUI(e.playerConfig.ui.resourcePaths.css,e.playerConfig.ui.resourcePaths.js,e.playerConfig.ui.resourcePaths.cssOverride):i.TaskFactory.resolve(void 0)}updateConfig(e){}processCommand(e){e.type===o.GM.Send_Message_To_UI&&this.dispatchModuleNotification({type:o.sL.Message_To_UI,name:e.name,payload:e.payload})}handleModuleNotification(e){}handlePlayerNotification(e){}destroy(){return Promise.resolve()}}},24211:(e,t,n)=>{"use strict";n.d(t,{$:()=>r.$,h:()=>r.h});var r=n(14516)},56631:(e,t,n)=>{"use strict";var r;n.d(t,{e:()=>r}),function(e){e.TUB="com.turner.top.videoEngine.tub"}(r||(r={}))},31358:(e,t,n)=>{"use strict";var r;n.d(t,{x:()=>r}),function(e){e.Play="play",e.Pause="pause",e.Resume="resume",e.Seek="seek",e.Seek_To_Live="seekToLive",e.Resize="resize",e.Select_Caption_Track="selectCaptionTrack",e.Deselect_Caption_Track="deselectCaptionTrack",e.Update_Caption_Settings="updateCaptionSettings",e.Stop="stop",e.Destroy="destroy",e.Enter_Picture_In_Picture="enterPictureInPicture",e.Exit_Picture_In_Picture="exitPictureInPicture",e.Request_Airplay="requestAirplay",e.Enter_Fullscreen="enterFullscreen",e.Exit_Fullscreen="exitFullscreen",e.Set_Media_Profile="setMediaProfile",e.Muted="Muted",e.Volume="Volume",e.Speed="Speed",e.Ad_Click="ad_click",e.Apply_DRM_Token="applyDRMToken"}(r||(r={}))},16359:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(17306),i=n(31358),o=n(85654);const a=r.Log.getLogger("VideoEngineController").filter("playback");class s{constructor(e){this._onEngineEvent=(e,t)=>{this.moduleNotification.dispatch({module:o.PO.Video_Engine,category:o.SQ.Component_Event,result:t})},this._engine=e,this._bindings=[this._engine.events.listen(this._onEngineEvent)],this._config=new o.sG({}),this.moduleNotification=(0,r.createEvent)("moduleNotification")}setup(e){return r.TaskFactory.create((t=>{this._config.extend(e.playerConfig),this._engine.setup(e.playerConfig,e.playlistItem).then((()=>{t.resolve(e.playerConfig)})).catch(t.reject)})).execute()}updateConfig(e){this._config.extend(e),this._engine.updateConfig(e)}processCommand(e){const t=e.data||{};switch(e.type){case i.x.Play:const{fileData:n,playlistItem:o,config:s}=t;this._engine.play(n,o,s);break;case i.x.Stop:this._engine.stop();break;case i.x.Pause:this._engine.pause();break;case i.x.Resume:this._engine.resume();break;case i.x.Seek:this._engine.seek(t.time);break;case i.x.Seek_To_Live:this._engine.seekToLive();break;case i.x.Resize:this._engine.resize(t.width,t.height);break;case i.x.Select_Caption_Track:const u=r.ObjectUtils.getOrElse(t,"trackId",null);u?this._engine.selectCaptionTrack(u):a.warn(`[processCommand] missing caption track ID from command ${e.type}`);break;case i.x.Deselect_Caption_Track:const c=r.ObjectUtils.getOrElse(t,"trackId",null);c?this._engine.deselectCaptionTrack(c):a.warn(`[processCommand] missing caption track ID from command ${e.type}`);break;case i.x.Update_Caption_Settings:this._engine.updateCaptionSettings(t.settings);break;case i.x.Destroy:a.warn("[processCommand] must use destroy() API");break;case i.x.Ad_Click:this._engine.adClicked();break;case i.x.Apply_DRM_Token:const{id:l,token:d}=e.data||{};this._engine.applyDRMToken(l,d);break;case i.x.Enter_Picture_In_Picture:this._engine.enterPictureInPicture();break;case i.x.Exit_Picture_In_Picture:this._engine.exitPictureInPicture();break;case i.x.Request_Airplay:this._engine.requestAirplay();break;case i.x.Enter_Fullscreen:this._engine.enterFullscreen();break;case i.x.Exit_Fullscreen:this._engine.exitFullscreen();break;case i.x.Set_Media_Profile:const{mediaProfileId:_}=t;this._engine.setMediaProfile(_);break;case i.x.Muted:case i.x.Volume:case i.x.Speed:break;default:throw new r.UnreachableCaseError(e.type)}}handleModuleNotification(e){}handlePlayerNotification(e){}destroy(){return this._bindings.forEach((e=>e.detach())),this._bindings=[],this._engine.destroy()}getThumbnail(e){this._engine.getThumbnail(e)}}},65025:(e,t,n)=>{"use strict";n.d(t,{JH:()=>f,Zu:()=>_,xE:()=>$.x,eq:()=>E.e,mV:()=>r.m,FY:()=>S,t9:()=>s});var r=n(16359),i=n(85654),o=n(17306);const a=()=>({modelUpdateRequest:(0,o.createEvent)(i.n_.Model_Update_Request),drmTokenRequest:(0,o.createEvent)(i.n_.DRM_Token_Request),volumeChanged:(0,o.createEvent)(i.n_.Volume_Changed),muteChanged:(0,o.createEvent)(i.n_.Mute_Changed),mediaCommandReceived:(0,o.createEvent)(i.n_.Media_Command_Received),mediaCommandRejected:(0,o.createEvent)(i.n_.Media_Command_Rejected),mediaStateChanged:(0,o.createEvent)(i.n_.Media_State_Changed),mediaReady:(0,o.createEvent)(i.n_.Media_Ready),mediaStarting:(0,o.createEvent)(i.n_.Media_Starting),mediaBlocked:(0,o.createEvent)(i.n_.Media_Blocked),mediaLoaded:(0,o.createEvent)(i.n_.Media_Loaded),mediaStarted:(0,o.createEvent)(i.n_.Media_Started),mediaBufferingStarted:(0,o.createEvent)(i.n_.Media_Buffering_Started),mediaBufferingFinished:(0,o.createEvent)(i.n_.Media_Buffering_Finished),mediaSeekingStarted:(0,o.createEvent)(i.n_.Media_Seeking_Started),mediaSeekingFinished:(0,o.createEvent)(i.n_.Media_Seeking_Finished),mediaTargetProfileChanged:(0,o.createEvent)(i.n_.Media_Target_Profile_Changed),mediaRequestProfileChanged:(0,o.createEvent)(i.n_.Media_Request_Profile_Changed),mediaProfileChanged:(0,o.createEvent)(i.n_.Media_Profile_Changed),mediaTimeChanged:(0,o.createEvent)(i.n_.Media_Time_Changed),mediaPaused:(0,o.createEvent)(i.n_.Media_Paused),mediaResumed:(0,o.createEvent)(i.n_.Media_Resumed),mediaRecoveryStarted:(0,o.createEvent)(i.n_.Media_Recovery_Started),mediaRecoveryFinished:(0,o.createEvent)(i.n_.Media_Recovery_Finished),mediaResized:(0,o.createEvent)(i.n_.Media_Resized),mediaStopped:(0,o.createEvent)(i.n_.Media_Stopped),mediaTimedMetadataParsed:(0,o.createEvent)(i.n_.Media_Timed_Metadata_Parsed),mediaTimedMetadataReceived:(0,o.createEvent)(i.n_.Media_Timed_Metadata_Received),mediaFinished:(0,o.createEvent)(i.n_.Media_Finished),mediaError:(0,o.createEvent)(i.n_.Media_Error),mediaStalled:(0,o.createEvent)(i.n_.Media_Stalled),mediaAudioTrackAvailabilityChanged:(0,o.createEvent)(i.n_.Media_Audio_Track_Availability_Changed),mediaAudioTrackSelected:(0,o.createEvent)(i.n_.Media_Audio_Track_Selected),adStateChanged:(0,o.createEvent)(i.n_.Ad_State_Changed),adStarting:(0,o.createEvent)(i.n_.Ad_Starting),adStarted:(0,o.createEvent)(i.n_.Ad_Started),adBufferingStarted:(0,o.createEvent)(i.n_.Ad_Buffering_Started),adBufferingFinished:(0,o.createEvent)(i.n_.Ad_Buffering_Finished),adBlocked:(0,o.createEvent)(i.n_.Ad_Blocked),adLoaded:(0,o.createEvent)(i.n_.Ad_Loaded),adCreativeStarted:(0,o.createEvent)(i.n_.Ad_Creative_Started),adTimeChanged:(0,o.createEvent)(i.n_.Ad_Time_Changed),adPaused:(0,o.createEvent)(i.n_.Ad_Paused),adResumed:(0,o.createEvent)(i.n_.Ad_Resumed),adStopped:(0,o.createEvent)(i.n_.Ad_Stopped),adCreativeEnded:(0,o.createEvent)(i.n_.Ad_Creative_Ended),adFinished:(0,o.createEvent)(i.n_.Ad_Finished),adError:(0,o.createEvent)(i.n_.Ad_Error),captionTrackAdded:(0,o.createEvent)(i.n_.Caption_Track_Added),captionTrackRemoved:(0,o.createEvent)(i.n_.Caption_Track_Removed),captionTrackSelected:(0,o.createEvent)(i.n_.Caption_Track_Selected),captionTrackDeselected:(0,o.createEvent)(i.n_.Caption_Track_Deselected),captionCueParsed:(0,o.createEvent)(i.n_.Caption_Cue_Parsed),captionCueEntered:(0,o.createEvent)(i.n_.Caption_Cue_Entered),captionCueExited:(0,o.createEvent)(i.n_.Caption_Cue_Exited),captionCueUpdated:(0,o.createEvent)(i.n_.Caption_Cue_Updated),remotePlaybackSelected:(0,o.createEvent)(i.n_.Remote_Playback_Selected),remotePlaybackDeselected:(0,o.createEvent)(i.n_.Remote_Playback_Deselected),pictureInPictureEntered:(0,o.createEvent)(i.n_.Picture_In_Picture_Entered),pictureInPictureExited:(0,o.createEvent)(i.n_.Picture_In_Picture_Exited),hdmiConnectionStatusChanged:(0,o.createEvent)(i.n_.Hdmi_Connection_Status_Changed),airplayRequested:(0,o.createEvent)(i.n_.Airplay_Requested),openMeasurementError:(0,o.createEvent)(i.n_.Open_Measurement_Error),playbackSpeedChanged:(0,o.createEvent)(i.n_.Playback_Speed_Changed)});function s(){return(0,o.createEventCollection)(a())}var u=n(28424),c=n(80701),l=n(93969),d=n(14631);const _={initial:{name:l.D.Start,state:i.gC.Pending},events:[{name:l.D.Idle,to:i.gC.Pending},{name:l.D.Load,from:[i.gC.Pending],to:i.gC.Starting},{name:l.D.Loaded,from:[i.gC.Starting],to:i.gC.Loaded},{name:l.D.Play,from:[i.gC.Pending,i.gC.Loaded,i.gC.Paused,i.gC.Seeking,i.gC.Buffering],to:i.gC.Playing},{name:l.D.Buffer_Stall_Started,from:[i.gC.Playing],to:i.gC.Buffering},{name:l.D.Buffer_Stall_Finished,from:[i.gC.Buffering],to:i.gC.Playing},{name:l.D.Pause,from:[i.gC.Playing,i.gC.Seeking],to:i.gC.Paused},{name:l.D.Seek,from:[i.gC.Playing,i.gC.Paused],to:i.gC.Seeking},{name:l.D.Stop,to:i.gC.Stopped},{name:l.D.Finish,from:[i.gC.Playing,i.gC.Stopped],to:i.gC.Finished},{name:l.D.Error,to:i.gC.Error}]},f={initial:{name:d.pG.Start,state:i.M9.Pending},events:[{name:d.pG.Idle,to:i.M9.Pending},{name:d.pG.Load,from:[i.M9.Pending],to:i.M9.Starting},{name:d.pG.Loaded,from:[i.M9.Starting],to:i.M9.Loaded},{name:d.pG.Play,from:[i.M9.Loaded,i.M9.Paused,i.M9.Buffering],to:i.M9.Playing},{name:d.pG.Buffer_Stall_Started,from:[i.M9.Playing],to:i.M9.Buffering},{name:d.pG.Buffer_Stall_Finished,from:[i.M9.Buffering],to:i.M9.Playing},{name:d.pG.Pause,from:[i.M9.Playing],to:i.M9.Paused},{name:d.pG.Stop,to:i.M9.Stopped},{name:d.pG.Finish,from:[i.M9.Playing],to:i.M9.Finished}]};var h=n(40834),p=n(12244);class g{constructor(e=10){this._count=0,this._broke=!1,this._limit=e}count(){return this._broke||(this._count+=1,this._count>this._limit&&(this._broke=!0)),this._broke}reset(){this._count=0}}var v=n(50105),m=n(41497);const y=o.Log.getLogger("VideoEngineStateChangeHandler").filter("playback"),b=o.Log.getLogger("VideoEngineStateChangeHandler");class S{constructor(){this._waitForAdId3=!0,this._foundAdId3=!1,this._mediaTimeBreaker=new g(0),this._waitingForAdStateToChange=null,this._mediaStarted=!1,this._onMediaFsmEvent=(e,t)=>{const{to:n,from:r,args:a}=t;if(e===o.FsmEventType.State_Changed)switch(this._requestModelUpdates([{property:i.Yk.Media_State,value:n}]),this._events.mediaStateChanged.dispatch({previousState:r,currentState:n}),n){case i.gC.Starting:const{url:e,config:t}=a[0];this._events.mediaStarting.dispatch({url:e,config:t});break;case i.gC.Loaded:const{isLive:n,initialTimedMetadata:s,duration:u,profiles:c,currentProfileId:l,seekableRange:{start:d,end:_}}=a[0];this._mediaIsLive=n,this._mediaDuration=this._normalizeMediaDuration(u);const f=[{property:i.Yk.Content_Is_Live,value:n},{property:i.Yk.Content_Seekable_Range,value:o.TimeRange.createWithEnd(d,_)},{property:i.Yk.Media_Profiles,value:c},{property:i.Yk.Media_Target_Profile_Id,value:l}];n||f.push({property:i.Yk.Media_Duration,value:this._mediaDuration},{property:i.Yk.Media_Seekable_Range,value:o.TimeRange.createWithEnd(d,this._mediaDuration)}),this._requestModelUpdates(f),this._events.mediaLoaded.dispatch({initialTimedMetadata:s});break;case i.gC.Buffering:this._events.mediaBufferingStarted.dispatch({});break;case i.gC.Seeking:const{toMediaTime:h,fromMediaTime:p}=a[0];this._events.mediaSeekingStarted.dispatch({toMediaTime:h,fromMediaTime:p});break;case i.gC.Playing:switch(r){case i.gC.Paused:this._events.mediaResumed.dispatch();break;case i.gC.Buffering:this._events.mediaBufferingFinished.dispatch();break;case i.gC.Seeking:const{userRequestedMediaTime:e,seekResultMediaTime:t}=a[0];this.notifyMediaSeekingFinished(e,t)}break;case i.gC.Paused:if(r===i.gC.Seeking){const{userRequestedMediaTime:e,seekResultMediaTime:t}=a[0];this.notifyMediaSeekingFinished(e,t)}this._events.mediaPaused.dispatch();break;case i.gC.Stopped:this._events.mediaStopped.dispatch();break;case i.gC.Finished:this._events.mediaFinished.dispatch();break;case i.gC.Error:const g=a[0];this._events.mediaError.dispatch(g)}},this._onAdFsmEvent=(e,t)=>{const{from:n,to:r,args:a}=t;if(e===o.FsmEventType.State_Changed)switch(this._currentAdBreak&&(this._currentAdBreak.state=r,this._requestModelUpdates([{property:i.Yk.Current_Ad_Break,value:{state:r},mode:i.S_.Extend}])),this._events.adStateChanged.dispatch({previousState:n,currentState:r}),r){case i.M9.Starting:const e=a[0],t=h.o.toAdBreak(e,this._mediaDuration,this._mediaIsLive,this._config.options.disableAdClickThrough);t.state=r,this._currentAdBreak=t,this._waitForAdId3=!1,this._requestModelUpdates([{property:i.Yk.Current_Ad_Break,value:o.ObjectUtils.extendDeep({},t)}]),this._events.adStarting.dispatch({adBreakId:t.id});break;case i.M9.Loaded:const{duration:s}=a[0];this._requestModelUpdates([{property:i.Yk.Current_Ad_Break,value:{duration:s},mode:i.S_.Extend}]),this._events.adLoaded.dispatch({adBreakId:this._getCurrentAdBreakId()}),this._attemptFsmTransition(this._mediaFsm,c.D.Idle);break;case i.M9.Buffering:this._events.adBufferingStarted.dispatch({adBreakId:this._getCurrentAdBreakId()});break;case i.M9.Playing:switch(n){case i.M9.Buffering:this._events.adBufferingFinished.dispatch({adBreakId:this._getCurrentAdBreakId()});break;case i.M9.Paused:this._events.adResumed.dispatch({adBreakId:this._getCurrentAdBreakId()});break;default:this._events.adStarted.dispatch({adBreakId:this._getCurrentAdBreakId()})}break;case i.M9.Paused:this._events.adPaused.dispatch({adBreakId:this._getCurrentAdBreakId()});break;case i.M9.Stopped:this._events.adStopped.dispatch({adBreakId:this._getCurrentAdBreakId()}),this._foundAdId3=!1,this._currentAdBreak=null,this._currentAdCreative=null;break;case i.M9.Finished:this._events.adFinished.dispatch({adBreakId:this._getCurrentAdBreakId()}),this._foundAdId3=!1,this._currentAdBreak=null,this._currentAdCreative=null,this._adsFsm.fireTransition(u.p.Idle);break;case i.M9.Pending:n===i.M9.Finished&&(this._requestModelUpdates([{property:i.Yk.Current_Ad_Break,value:null},{property:i.Yk.Current_Ad_Creative,value:null}]),this._attemptFsmTransition(this._mediaFsm,c.D.Play))}},this._mediaIsLive=!1,this._mediaDuration=-1,this._mediaTime=0,this._adBreaks=[],this._currentAdBreak=null,this._currentAdCreative=null;const e="Safari"===v.h.device.softwarePlatform,t=v.h.nexus.nexusTarget===m.o_.iOS||v.h.nexus.nexusTarget===m.o_.React_Native&&"ios"===v.h.nexus.nexusVariant;(e||t)&&(this._mediaTimeBreaker=new g(2)),this._mediaFsm=new o.Fsm,this._adsFsm=new o.Fsm}_enteringAdBreak(){return!(!this._currentAdBreak||null!==this._currentAdCreative)||!!this._waitForAdId3}_playingAd(){return!!this._currentAdCreative||!!this._foundAdId3}_normalizeMediaDuration(e){return this._mediaIsLive&&-1!==e&&(e=-1),e}_requestModelUpdates(e){this._events.modelUpdateRequest.dispatch({changes:e})}_getCurrentAdBreakId(){return this._currentAdBreak?this._currentAdBreak.id:(y.warn("[_getCurrentAdBreakId] No current ad break"),"unknown-ad-break-id")}_getCurrentAdCreativeId(){return this._currentAdCreative?this._currentAdCreative.id:(y.warn("[_getCurrentAdBreakId] No current ad creative"),"unknown-ad-creative-id")}_getCurrentAdCreativeSequence(){return this._currentAdCreative?this._currentAdCreative.sequence:(y.warn("[_getCurrentAdCreativeSequence] No current ad creative"),0)}_attemptFsmTransition(e,t,n){e.attemptTransition(t,n)}_calculateLiveDriftModelValue(e,t,n=0){return 0===e?0:parseFloat((t-(e+n)).toFixed(1))}init(e,t,n){this._events=e,this._config=t,this._adStartDetection=n,this._mediaFsm.init(_),this._mediaFsm.events.listen(this._onMediaFsmEvent),this._adsFsm.init(f),this._adsFsm.events.listen(this._onAdFsmEvent)}handleTimeChanged(e){if(this._enteringAdBreak())return void(this._mediaTimeBreaker.count()&&(this._waitForAdId3=!1));let t=this._playingAd();const n=this._adsFsm.currentState();if(this._adStartDetection.enabled&&t&&n===i.M9.Pending){null==this._waitingForAdStateToChange&&(this._waitingForAdStateToChange=Date.now());const e=1e3*this._adStartDetection.timeout;Date.now()-this._waitingForAdStateToChange>e&&(b.warn("[handleTimeChanged] Stop waiting, past threshold; forcing media time changed"),this._waitForAdId3=!1,this._foundAdId3=!1,t=!1,this._waitingForAdStateToChange=null)}t?this.handleAdTimeChanged(e):this.handleMediaTimeChanged(e)}handleVolumeChanged(e){this._requestModelUpdates([{property:i.Yk.Volume,value:e}]),this._events.volumeChanged.dispatch({volume:e})}handleMuteChanged(e){this._requestModelUpdates([{property:i.Yk.Muted,value:e}]),this._events.muteChanged.dispatch({muted:e})}handlePlaybackSpeedChanged(e){this._requestModelUpdates([{property:i.Yk.Playback_Speed,value:e}]),this._events.playbackSpeedChanged.dispatch({speed:e})}handleResumed(){this._playingAd()?this.handleAdResumed():this.handleMediaResumed()}handleBufferingStarted(){this._playingAd()?this.handleAdBufferingStarted():this.handleMediaBufferingStarted()}handleBufferingFinished(){this._playingAd()?this.handleAdBufferingFinished():this.handleMediaBufferingFinished()}handlePaused(){this._playingAd()?this.handleAdPaused():this.handleMediaPaused()}handleStopped(){this._playingAd()?this.handleAdStopped():this.handleMediaStopped()}handleDRMTokenRequest(e){const{requestId:t,keyData:n}=e;this._events.drmTokenRequest.dispatch({requestId:t,keyData:n})}handleMediaCommandReceived(e,t){var n;null===(n=this._events)||void 0===n||n.mediaCommandReceived.dispatch({command:e,args:t})}handleMediaCommandRejected(e,t){this._events.mediaCommandRejected.dispatch({command:e,args:t})}handleMediaReady(){this._events.mediaReady.dispatch({})}handleMediaStarting(e,t){this._attemptFsmTransition(this._mediaFsm,c.D.Load,[{url:e,config:t}])}handleMediaBlocked(e){this._events.mediaBlocked.dispatch({reason:e})}handleMediaLoaded(e){this._attemptFsmTransition(this._mediaFsm,c.D.Loaded,[e])}handleMediaTargetProfileChanged(e){this._requestModelUpdates([{property:i.Yk.Media_Target_Profile_Id,value:e}]),this._events.mediaTargetProfileChanged.dispatch({profileId:e})}handleMediaRequestProfileChanged(e){this._events.mediaRequestProfileChanged.dispatch(e)}handleMediaProfileChanged(e){this._requestModelUpdates([{property:i.Yk.Active_Media_Profile,value:e.profile}]),this._events.mediaProfileChanged.dispatch(e)}handleMediaProfilesChanged(e){this._requestModelUpdates([{property:i.Yk.Media_Profiles,value:e}])}handleMediaBufferingStarted(){this._attemptFsmTransition(this._mediaFsm,c.D.Buffer_Stall_Started)}handleMediaBufferingFinished(){this._attemptFsmTransition(this._mediaFsm,c.D.Buffer_Stall_Finished)}handleMediaStarted(){this._attemptFsmTransition(this._mediaFsm,c.D.Play)}handleMediaPaused(){this._attemptFsmTransition(this._mediaFsm,c.D.Pause)}handleMediaResumed(){this._attemptFsmTransition(this._mediaFsm,c.D.Play)}handleMediaRecoveryStarted(e){this._events.mediaRecoveryStarted.dispatch({reason:e})}handleMediaRecoveryFinished(e){this._events.mediaRecoveryFinished.dispatch({reason:e})}handleMediaTimeChanged(e){const{time:t,absoluteTime:n,seekableRange:r,bufferedRange:o}=e,a=[{property:i.Yk.Media_Time,value:t},{property:i.Yk.Content_Buffered_Range,value:o}];if(this._mediaIsLive){const e=this._calculateLiveDriftModelValue(t,r.end);a.push({property:i.Yk.Live_Drift,value:e},{property:i.Yk.Media_Absolute_Time,value:n},{property:i.Yk.Content_Seekable_Range,value:r})}this._mediaTime=e.time,this._requestModelUpdates(a),this._mediaStarted||(this._events.mediaStarted.dispatch(),this._mediaStarted=!0),this._events.mediaTimeChanged.dispatch({time:t,absoluteTime:n})}handleMediaSeekingStarted(e){this._attemptFsmTransition(this._mediaFsm,c.D.Seek,[e])}handleMediaSeekingFinished(e){this._mediaFsm.currentState()!==i.gC.Pending?this._mediaFsm.previousState()===i.gC.Paused?this._attemptFsmTransition(this._mediaFsm,c.D.Pause,[e]):this._attemptFsmTransition(this._mediaFsm,c.D.Play,[e]):y.warn("Invalid state transition, `mediaSeekingFinished` handled when `mediaState` is `Pending` - ignoring.")}notifyMediaSeekingFinished(e,t){this._events.mediaSeekingFinished.dispatch({userRequestedMediaTime:e,seekResultMediaTime:t}),this._requestModelUpdates([{property:i.Yk.Media_Time,value:t}])}handleMediaResized(e){const{viewHeight:t,viewWidth:n,mediaHeight:r,mediaWidth:i}=e;this._events.mediaResized.dispatch({viewHeight:t,viewWidth:n,mediaHeight:r,mediaWidth:i})}handleMediaStopped(){this._attemptFsmTransition(this._mediaFsm,c.D.Stop)}handleMediaFinished(){this._attemptFsmTransition(this._mediaFsm,c.D.Finish)}handleMediaTimedMetadataParsed(e){this._waitForAdId3&&e.metadata.subType===i.u6.ID3&&(this._foundAdId3=!0,this._waitForAdId3=!1),this._events.mediaTimedMetadataParsed.dispatch(e)}handleMediaTimedMetadataReceived(e){this._events.mediaTimedMetadataReceived.dispatch(e)}handleMediaAudioTrackAvailabilityChanged(e,t){this._events.mediaAudioTrackAvailabilityChanged.dispatch({track:e,added:t})}handleMediaAudioTrackSelected(e){this._events.mediaAudioTrackSelected.dispatch({track:e})}handleMediaStalled(e){this._events.mediaStalled.dispatch({description:e})}handleMediaError(e){this._attemptFsmTransition(this._mediaFsm,c.D.Error,[e])}handleAdBreakListChange(e){this._adBreaks=e.map((e=>h.o.toAdBreak(e,this._mediaDuration,this._mediaIsLive,this._config.options.disableAdClickThrough))).filter((e=>0!=e.ads.length||(b.warn(`[handleAdBreakListChange] Ignoring ad break ${e.id} with empty ad creative list`),!1))),this._config.debug&&v.h.nexus.nexusVariant===m.o_.Web?this._requestModelUpdates([{property:i.Yk.Ad_Breaks,value:this._adBreaks.map((e=>o.ObjectUtils.extendDeep(e)))}]):this._requestModelUpdates([{property:i.Yk.Ad_Breaks,value:this._adBreaks.map(h.o.toAdBreakMetadata)}])}handleAdCreativeListChange(e){if(!this._currentAdBreak)return;const t=this._currentAdBreak.ads.length,n=e.length;this._currentAdBreak.ads=o.ArrayUtils.deepCopy(e),this._requestModelUpdates([{property:i.Yk.Current_Ad_Break,value:o.ObjectUtils.extendDeep({},this._currentAdBreak)}]),y.warn(`[handleAdCreativeListChange] Updated current ad break "ads" value - previous: ${t}, now: ${n}`)}handleAdStarting(e){this._attemptFsmTransition(this._adsFsm,u.p.Load,[e])}handleAdStarted(){this._attemptFsmTransition(this._adsFsm,u.p.Play)}handleAdBufferingStarted(){this._attemptFsmTransition(this._adsFsm,u.p.Buffer_Stall_Started)}handleAdBufferingFinished(){this._attemptFsmTransition(this._adsFsm,u.p.Buffer_Stall_Finished)}handleAdBlocked(e){this._events.adBlocked.dispatch({adBreakId:this._getCurrentAdBreakId(),reason:e.reason,probability:e.probability})}handleAdLoaded(e){this._attemptFsmTransition(this._adsFsm,u.p.Loaded,[{duration:e}])}handleAdCreativeStarted(e){this._attemptFsmTransition(this._adsFsm,u.p.Play),this._currentAdCreative=e,this._requestModelUpdates([{property:i.Yk.Current_Ad_Creative,value:o.ObjectUtils.extendDeep({},e)}]),this._events.adCreativeStarted.dispatch({adBreakId:this._getCurrentAdBreakId(),adCreativeId:e.id})}handleAdTimeChanged(e){const{time:t,seekableRange:n,duration:r,absoluteTime:o}=e;if(!this._currentAdCreative)return void y.debug("[handleAdTimeChanged] we should not receive a time changed for ads without having an ad creative");if(!this._currentAdBreak)return void y.debug("[handleAdTimeChanged] we should not receive a time changed for ads without having an ad break");t>r&&y.debug("[handleAdTimeChanged] time should never be greater than duration here because we are dealing with a single ad creatives events"),r!==this._currentAdCreative.duration&&y.debug("[handleAdTimeChanged] duration coming from target level should be equal to current ad creative duration");const a=this._getCurrentAdCreativeId(),s=this._getCurrentAdCreativeSequence();let u=0;this._currentAdBreak.ads.some((e=>e.id===a&&e.sequence===s||(u+=e.duration,!1)))||(y.debug("[handleAdTimeChanged] could not find creative by ID in ad break"),u=0),u+=t;const c=[{property:i.Yk.Current_Ad_Creative,value:{currentTime:t,duration:this._currentAdCreative.duration},mode:i.S_.Extend},{property:i.Yk.Content_Seekable_Range,value:n},{property:i.Yk.Ad_Break_Time,value:u}];if(this._mediaIsLive){const e=this._mediaTime,t=this._calculateLiveDriftModelValue(e,n.end,u);c.push({property:i.Yk.Live_Drift,value:t})}this._requestModelUpdates(c),this._events.adTimeChanged.dispatch({adBreakId:this._getCurrentAdBreakId(),adCreativeId:a,time:u,duration:this._currentAdBreak.duration,contentTime:o})}handleAdPaused(){this._attemptFsmTransition(this._adsFsm,u.p.Pause)}handleAdResumed(){this._attemptFsmTransition(this._adsFsm,u.p.Play)}handleAdStopped(){this._attemptFsmTransition(this._adsFsm,u.p.Stop)}handleAdCreativeEnded(){this._requestModelUpdates([{property:i.Yk.Current_Ad_Creative,value:null}]),this._events.adCreativeEnded.dispatch({adBreakId:this._getCurrentAdBreakId(),adCreativeId:this._getCurrentAdCreativeId()}),this._currentAdCreative=null}handleAdFinished(){this._requestModelUpdates([{property:i.Yk.Ad_Break_Time,value:-1}]),this._attemptFsmTransition(this._adsFsm,u.p.Finish)}handleAdError(e){this._events.adError.dispatch({adBreakId:this._getCurrentAdBreakId(),message:e.message,severity:e.severity,adErrorType:e.type,code:e.code,name:e.name})}handleCaptionTrack(e,t){switch(e){case p.Om.Added:this._events.captionTrackAdded.dispatch({track:t});break;case p.Om.Selected:this._events.captionTrackSelected.dispatch({track:t});break;case p.Om.Deselected:this._events.captionTrackDeselected.dispatch({track:t});break;case p.Om.Removed:this._events.captionTrackRemoved.dispatch({track:t});break;default:y.warn(`[handleCaptionTrack] unknown action: ${e}`)}}handleCaptionCue(e,t){switch(e){case p.bu.Parsed:this._events.captionCueParsed.dispatch({cue:t});break;case p.bu.Updated:this._events.captionCueUpdated.dispatch({cue:t});break;case p.bu.Entered:this._events.captionCueEntered.dispatch({cue:t});break;case p.bu.Exited:this._events.captionCueExited.dispatch({cue:t});break;default:y.warn(`[handleCaptionCue] unknown action: ${e}`)}}handleRemotePlayback(e){e?this._events.remotePlaybackSelected.dispatch():this._events.remotePlaybackDeselected.dispatch()}handlePictureInPictureEntered(){this._events.pictureInPictureEntered.dispatch()}handlePictureInPictureExited(){this._events.pictureInPictureExited.dispatch()}handleHdmiConnectionStatusChanged(e){this._events.hdmiConnectionStatusChanged.dispatch({plugged:e})}handleAirplayRequested(){this._events.airplayRequested.dispatch()}handleOpenMeasurementError(e){this._events.openMeasurementError.dispatch(e)}handleThumbnailResponse(e){this._events.thumbnailResponse.dispatch({thumbnail:e})}handleThumbnail(e){this._requestModelUpdates([{property:i.Yk.Thumbnail,value:e}])}}var E=n(56631),$=n(31358)},11278:(e,t,n)=>{"use strict";n.d(t,{Z:()=>We});var r,i=n(17306);function o(e,t){return e===r.Notification||e===r.Player_Error}!function(e){e.Command="command",e.Notification="notification",e.Player_Error="playerError"}(r||(r={}));class a extends i.DefaultTask{constructor(e,t,n=[],r=o){super((e=>t(e,...n))),this.type=e,this.args=n,this.allow=r}}var s=n(85654);i.Log.getLogger("PlayerControllerOpManager").filter("controllers.ops").setEnabled(!1);var u=n(22306);const c={initial:{name:u.Uu.Start,state:s.fL.Pending},events:[{name:u.Uu.Initialize,from:[s.fL.Pending],to:s.fL.Initializing},{name:u.Uu.Initialized,from:[s.fL.Initializing],to:s.fL.Initialized},{name:u.Uu.Attach,from:[s.fL.Initialized,s.fL.Detached],to:s.fL.Attaching},{name:u.Uu.Attached,from:[s.fL.Attaching],to:s.fL.Attached},{name:u.Uu.Listen,from:[s.fL.Attached],to:s.fL.Listening},{name:u.Uu.Detach,from:[s.fL.Listening],to:s.fL.Detaching},{name:u.Uu.Detached,from:[s.fL.Detaching],to:s.fL.Detached},{name:u.Uu.Destroy,to:s.fL.Destroying},{name:u.Uu.Destroyed,from:[s.fL.Destroying],to:s.fL.Destroyed},{name:u.Uu.Error,to:s.fL.Error}]};var l,d=n(51029),_=n(23825),f=n(89633);!function(e){e.Interrupt="interrupt",e.Error="error"}(l||(l={}));var h=n(13893);const p={initial:{name:h.y.Start,state:s.g7.Pending},events:[{name:h.y.Idle,from:[s.g7.Finished,s.g7.Interrupted,s.g7.Error],to:s.g7.Pending},{name:h.y.Initialize,from:[s.g7.Pending],to:s.g7.Initializing},{name:h.y.Prepare,from:[s.g7.Waiting,s.g7.Initializing],to:s.g7.Preparing},{name:h.y.Transform,from:[s.g7.Preparing],to:s.g7.Transforming},{name:h.y.Initialized,from:[s.g7.Transforming],to:s.g7.Initialized},{name:h.y.Wait,from:[s.g7.Initializing,s.g7.Initialized],to:s.g7.Waiting},{name:h.y.Validate,from:[s.g7.Waiting,s.g7.Initialized],to:s.g7.Validating},{name:h.y.Validated,from:[s.g7.Validating],to:s.g7.Validated},{name:h.y.Ads_Begin,from:[s.g7.Validated],to:s.g7.Ads_Beginning},{name:h.y.Ads_Playback,from:[s.g7.Ads_Beginning],to:s.g7.Ads_Playback},{name:h.y.Ads_Complete,from:[s.g7.Ads_Beginning,s.g7.Ads_Playback],to:s.g7.Ads_Completed},{name:h.y.Authorize,from:[s.g7.Validated,s.g7.Ads_Completed],to:s.g7.Authorizing},{name:h.y.Authorized,from:[s.g7.Authorizing],to:s.g7.Authorized},{name:h.y.Media_Begin,from:[s.g7.Authorized,s.g7.Ads_Completed],to:s.g7.Media_Beginning},{name:h.y.Media_Playback,from:[s.g7.Media_Beginning],to:s.g7.Media_Playback},{name:h.y.Media_Complete,from:[s.g7.Media_Beginning,s.g7.Media_Playback],to:s.g7.Media_Completed},{name:h.y.Finish,from:[s.g7.Media_Completed],to:s.g7.Finished},{name:h.y.Stop,to:s.g7.Interrupting},{name:h.y.Interrupted,from:[s.g7.Interrupting],to:s.g7.Interrupted},{name:h.y.Error,to:s.g7.Error},{name:h.y.End,from:[s.g7.Finished,s.g7.Interrupted,s.g7.Error],to:s.g7.Ending},{name:h.y.Ended,from:[s.g7.Error,s.g7.Ending],to:s.g7.Ended},{name:h.y.Ads_Begin,from:[s.g7.Media_Playback],to:s.g7.Ads_Beginning},{name:h.y.Media_Playback,from:[s.g7.Ads_Completed],to:s.g7.Media_Playback},{name:h.y.Ads_Begin,from:[s.g7.Media_Completed],to:s.g7.Ads_Beginning},{name:h.y.Finish,from:[s.g7.Ads_Completed],to:s.g7.Finished}]};var g=n(86387),v=n(72720),m=n(50105),y=n(38197),b=n(75844),S=n(4492),E=n(17980),$=n(99066);var T=n(93687),A=n(1944),C=n(88361),P=n(52254);var I=n(1092);const w=i.Log.getLogger("TransactionDRMKeyDataHelpers");var M,k=n(69897),O=n(30850),R=n(65300),D=n(79957),L=n(31358),x=n(765),N=n(12244),U=n(59926);!function(e){e.Token_Response_Received="tokenResponseReceived"}(M||(M={}));var B=n(29810),F=n(84963);const j=e=>{const t=null==e?void 0:e.config;return t?H(t):v.none},H=e=>{var t;const n=[],r=i.ObjectUtils.extendDeep({},e).playback;return(null==r?void 0:r.autoPlay)&&(null===(t=null==r?void 0:r.autoPlayOptions)||void 0===t?void 0:t.forceMedia)&&!1===(null==r?void 0:r.muted)&&n.push("Specifying `muted: false` in conjunction with `forceMedia: true` is invalid and may not behave as expected."),n.length>0?(0,v.some)(n):v.none};var V=n(2205),W=n(53418);class q{constructor(e){this._events=(0,V.vs)(),this._marks={},this._measures={},this._measuringSpec=e}static createWithMeasuringSpecification(e){return new q(e)}_requestModelUpdates(e){this.events.modelUpdateRequest.dispatch({changes:e})}_addEntry(e){const{entryType:t,name:n}=e;switch(t){case"mark":this._marks[n]=e,this._requestModelUpdates([{property:s.Yk.Analytic_Marks,value:i.ObjectUtils.extendDeep({},this._marks)}]),this._events.markCreated.dispatch({mark:e}),this._determineMeasures();break;case"measure":this._measures[n]=e,this._requestModelUpdates([{property:s.Yk.Analytic_Measures,value:i.ObjectUtils.extendDeep({},this._measures)}]),this._events.measureCreated.dispatch({measure:e});break;default:throw new i.UnreachableCaseError(t)}return e}_determineMeasures(){Object.keys(this._measuringSpec).forEach((e=>{const t=this._measuringSpec[e],n=this._marks[t.mark1],r=this._marks[t.mark2];n&&r&&(this._measures[e]||this.createMeasureFor(e,n,r))}))}get events(){return this._events}createMarkFor(e){return this._addEntry({entryType:"mark",duration:0,name:e,startTime:Date.now()})}createMeasureFor(e,t,n){return this._addEntry({entryType:"measure",name:e,duration:(n.startTime-t.startTime)/1e3,startTime:Date.now()})}handleModuleNotification(e){const t=e.module,n=e.result;t===s.PO.Video_Engine&&n.type===s.n_.Media_Started&&this.createMarkFor(s.$x.MediaEngine_Started)}handlePlayerNotification(e){if(e.eventType===W.E.Transaction_State_Changed){const t=e.eventResult,{currentState:n,previousState:r}=t;switch(r){case s.g7.Initializing:n===s.g7.Waiting||this.createMarkFor(s.$x.Transaction_Details_Resolved);break;case s.g7.Waiting:this.createMarkFor(s.$x.Transaction_User_Action)}switch(n){case s.g7.Initializing:this.createMarkFor(s.$x.Transaction_Initializing);break;case s.g7.Preparing:this.createMarkFor(s.$x.Transaction_Preparing);break;case s.g7.Transforming:this.createMarkFor(s.$x.Transaction_Transforming);break;case s.g7.Initialized:this.createMarkFor(s.$x.Transaction_Initialized);break;case s.g7.Media_Beginning:this.createMarkFor(s.$x.Transaction_Media_Beginning);break;case s.g7.Waiting:this.createMarkFor(s.$x.Transaction_Waiting)}}}resetForPlay(){this._marks={},this._measures={}}destroy(){this._marks={},this._measures={}}}const G=(e,t)=>{(t.valid?e.info:e.warn).call(e,t.message)};var Y=n(65842),K=n(71847),z=n(27945),X=n(16359),Q=n(99),J=n(36354),Z=n(62558),ee=n(21213);const te=(e,t)=>{const n={subType:"",attributes:{}};if("object"!=typeof t||null===t)return n;switch(n.subType=i.ObjectUtils.get(t,"subType",""),n.attributes=i.ObjectUtils.get(t,"attributes",{}),e){case s.tg.SCTE:n.payload=i.ObjectUtils.getOrElse(t,"payload",t.attributes.CUE);break;case s.tg.ID3:n.payload={id:i.ObjectUtils.get(t,"id",""),message:i.ObjectUtils.get(t,"messageData","")}}return n},ne=e=>{switch(e){case"CUE-IN":return s.tg.Ext_In;case"CUE-OUT":return s.tg.Ext_Out;case"CUE-OUT-CONT":return s.tg.Ext_Out_Cont;case"SCTE":return s.tg.SCTE;default:return s.tg.Unknown}},re=e=>{switch(e){case s.e.EMBEDDED:return s.Cq.Embedded;case s.e.TAG:return s.Cq.Manifest;case s.e.OTHER:default:return s.Cq.Unknown}};class ie{constructor(e){this._onCuesManagerEvent=(e,t)=>{this._dispatchModuleNotification({module:s.PO.Cues,category:s.SQ.Component_Event,result:t})},this.moduleNotification=(0,i.createEvent)("moduleNotification"),this._cuesManager=e,this._bindings=[this._cuesManager.events.listen(this._onCuesManagerEvent)]}_dispatchModuleNotification(e){this.moduleNotification.dispatch(e)}_handlePruneMonitorEvent(e){e.type===U.A.Sliding_Window_Changed&&this._cuesManager.prune(i.TimeRange.createWithEnd(0,e.minTime))}setup(e,...t){return i.TaskFactory.create((t=>{const{playerModel:n}=e;this._cuesManager.init({model:n}),t.resolve()})).execute()}updateConfig(e){}processCommand(e){}handleModuleNotification(e){if(e.module===s.PO.Video_Engine){const t=e.result;if(t.type===s.n_.Media_Timed_Metadata_Parsed){const e=(e=>{const t="number"!=typeof e.start||Number.isNaN(e.start)?0:e.start,n="number"!=typeof e.end||Number.isNaN(e.end)?t+1:e.end,r=(e=>{switch(e.metadataType){case s.u6.ID3:return s.tg.ID3;case s.u6.EMSG:return e.metadata.subType===s.u6.ID3?s.tg.ID3:s.tg.Unknown;case s.u6.CUETAG:return ne(e.metadata.subType);case s.u6.SCTE:return s.tg.SCTE;default:return s.tg.Unknown}})(e);return{type:r,source:re(e.source),data:{timeReceived:e.timeReceived,range:i.TimeRange.createWithEnd(t,n),content:te(r,e.metadata)}}})(t);this._cuesManager.processCue(e)}}}handlePlayerNotification(e){e.sourceType===y.A.Monitors&&e.eventCategory===y.K.Prune&&this._handlePruneMonitorEvent(e.eventResult)}destroy(){return new Promise(((e,t)=>{this._bindings.forEach((e=>e.detach())),this._bindings.length=0,this._cuesManager.destroy(),e()}))}}var oe=n(56793),ae=n(18526);const se=i.Log.getLogger("MocksController").filter("mocks");class ue{constructor(e){this._onMocksManagerEvent=(e,t)=>{this._dispatchModuleNotification({module:s.PO.Mocks,category:s.SQ.Component_Event,result:t})},this.moduleNotification=(0,i.createEvent)("moduleNotification"),this._mocksManager=e,this._bindings=[this._mocksManager.events.listen(this._onMocksManagerEvent)]}_dispatchModuleNotification(e){this.moduleNotification.dispatch(e)}_isMocksConfigEnabled(){var e,t,n,r;return(null===(t=null===(e=this._config)||void 0===e?void 0:e.debug)||void 0===t?void 0:t.enabled)&&(null===(r=null===(n=this._config)||void 0===n?void 0:n.debug)||void 0===r?void 0:r.enableMocks)}_queueConfiguredMessages(){var e,t,n;[].concat(...null!==(n=null===(t=null===(e=this._config.mocks)||void 0===e?void 0:e.timedMetadata)||void 0===t?void 0:t.messages)&&void 0!==n?n:[]).forEach((e=>this._mocksManager.queueMessage(e)))}setup(e,...t){return i.TaskFactory.create((t=>{const{playerModel:n,playerConfig:r}=e;this._config=r,this._mocksManager.init({model:n}),this._isMocksConfigEnabled()?(this._mocksManager.enable(),this._queueConfiguredMessages(),this._mocksManager.processQueuedMessages(oe.W.Pre_Play)):se.debug("Mocks module initialized but disabled - either debug mode or mocks are disabled"),t.resolve()})).execute()}updateConfig(e){return this._config=i.ObjectUtils.extendDeep({},this._config,e),!this._mocksManager.enabled&&this._isMocksConfigEnabled()?(se.info("Enabling mocking module in response to ad-hoc config update"),this._mocksManager.enable(),this._queueConfiguredMessages(),void this._mocksManager.processQueuedMessages(oe.W.Pre_Play)):this._mocksManager.enabled&&!this._isMocksConfigEnabled()?(se.info("Disabling mocking module in response to ad-hoc config update"),void this._mocksManager.disable()):void 0}processCommand(e){}handleModuleNotification(e){e.module===s.PO.Timeline&&e.result.type===ae.Kx.Started&&this._mocksManager.processQueuedMessages(oe.W.In_Play)}handlePlayerNotification(e){}destroy(){return new Promise(((e,t)=>{this._bindings.forEach((e=>e.detach())),this._bindings.length=0,this._mocksManager.destroy(),e()}))}}var ce=n(67540),le=n(22584),de=n(14631);const _e=i.Log.getLogger("DefaultTimelineStrategy").filter("timeline");class fe{init(e){const{config:t,model:n,timeline:r,playlistItem:i}=e;return this._config=t,this._model=n,this._timeline=r,this._playlistItem=i,this}updateConfig(e){i.ObjectUtils.extendDeep(this._config,e)}populateTimeline(e){return[]}handleModuleNotification(e){}handlePlayerNotification(e){}handleModelUpdated(e){e.changed.forEach((e=>{if(e.property===s.Yk.Ad_Breaks){const t=e.currentValue,n=this._timeline.addMany(t.map((e=>de.oW.toTimelineMarker(e))));_e.debug(`[handleModelUpdated] populated timeline with ${n.length} markers`)}}))}cancel(){return Promise.resolve()}destroy(){return Promise.resolve()}}var he=n(16814);const pe=i.Log.getLogger("LiveTimelineStrategy").filter("timeline");class ge extends fe{_handleVideoEngineEvent(e){switch(e.type){case s.n_.Media_Time_Changed:this._timeline.updateTime(e.time);break;case s.n_.Ad_Time_Changed:let t=e.time;-1!==this._model.mediaTime?t+=this._model.mediaTime:t+=this._model.currentAdBreak?this._model.currentAdBreak.scheduleTime:0,this._timeline.updateTime(t);break;case s.n_.Media_Seeking_Finished:this._timeline.updateTime(e.seekResultMediaTime)}}_handlePruneMonitorEvent(e){if(e.type===U.A.Sliding_Window_Changed){const t=e.minTime,n=this._timeline.removeMany(this._getMarkersBeforeTime(t));pe.debug(`Removed ${n.length} markers within range: "0 -> ${t}" in response to a prune event`)}}_getMarkersBeforeTime(e){const t=i.TimeRange.createWithEnd(0,e);return this._timeline.iterator().filter((e=>!i.TimeRangeUtils.outsideRange(e.range,t)))}populateTimeline(e){if(0===(e=(e=e||[]).concat(this._playlistItem.entry.segments.map(he.X.fromContentSegment))).length)return[];const t=this._timeline.addMany(e);return e.filter((e=>0===t.filter((t=>t.id===e.id)).length))}handleModuleNotification(e){e.category===s.SQ.Component_Event&&e.module===s.PO.Video_Engine&&this._handleVideoEngineEvent(e.result)}handlePlayerNotification(e){e.sourceType===y.A.Monitors&&e.eventCategory===y.K.Prune&&this._handlePruneMonitorEvent(e.eventResult),super.handlePlayerNotification(e)}}var ve=n(56686);const me=i.Log.getLogger("VODTimelineStrategy").filter("timeline");class ye extends fe{_updateTimeline(e){e>this._lastTimeUpdate?(this._lastTimeUpdate=e,this._timeline.updateTime(e)):me.warn("Could not update timeline, new time value is in the past; skipping")}_onTimelineEvent(e){e.type===ve.K.Marker_Deactivated&&e.marker.type===s.QZ.Ad_Break&&(this._timeline.removeMarker(e.marker)||me.warn(`Could not remove deactivated ad marker: ${e.marker}`))}_onVideoEngineEvent(e){switch(e.type){case s.n_.Media_Time_Changed:{const t=e.absoluteTime;this._updateTimeline(t);break}case s.n_.Ad_Time_Changed:{const t=e.contentTime;this._timeline.updateTime(t);break}case s.n_.Media_Seeking_Finished:{this._lastTimeUpdate=0;const t=ae.k1.VOD.convertMediaTimeToContentTime(e.seekResultMediaTime,this._model.adBreaks);this._updateTimeline(t);break}}}constructor(){super(),this._lastTimeUpdate=0}populateTimeline(e){if(e=e||[],this._config.features.tve.enabled&&(e=e.concat(this._playlistItem.entry.segments.map(he.X.fromContentSegment)),me.debug(`[populateTimeline] created ${e.length} markers from playlistItem segments. Markers: ${e}`)),0===(e=e.concat(this._playlistItem.entry.contentMetadata.map(he.X.fromContentMetadataSegment))).length)return[];const t=this._timeline.addMany(e);return e.filter((e=>0===t.filter((t=>t.id===e.id)).length))}handleModuleNotification(e){if(e.category===s.SQ.Component_Event)switch(e.module){case s.PO.Video_Engine:this._onVideoEngineEvent(e.result);break;case s.PO.Timeline:this._onTimelineEvent(e.result)}}handleModelUpdated(e){e.changed.forEach((e=>{if(e.property===s.Yk.Ad_Breaks){me.debug(`AdBreak model updated. Beginning regeneration of markers: ${this._timeline.iterator().join(", ")}`);const t=e.currentValue,n=this._regenerateMediaMarkers(this._timeline.iterator(),t);t.forEach((e=>{n.push(de.oW.toTimelineMarker(e))})),n.sort(((e,t)=>e.range.start-t.range.start)),this._timeline.removeMany(this._timeline.iterator());const r=this._timeline.addMany(n);me.debug(`[handleModelUpdated] Populated timeline with ${r.length} markers`)}}))}_regenerateMediaMarkers(e,t){const n=[];return e.forEach((e=>{const r=i.TimeRange.create(this._getOffsetStartTime(e.range.start,t),e.range.duration);switch(me.verbose(`[_regenerateMediaMarkers] Removing marker ${e.id}. Corrected time range offset is +${r.start-e.range.start}s`),e.type){case s.QZ.Media:n.push(ae.Jx.createForMedia(void 0,r,e.options));break;case s.QZ.End_Credits:n.push(ae.Jx.createForContentMetadata(e.type,void 0,r,e.options));case s.QZ.Ad_Break:}})),me.debug(`[_regenerateMediaMarkers] Created ${n.length} new markers`),n}_getOffsetStartTime(e,t,n=.1){let r=e;for(const e of t){if(!(e.scheduleTime<=r+n))break;r+=e.duration}return r}}var be=n(97253),Se=n(9423),Ee=n(93093),$e=n(46611),Te=n(14516),Ae=n(24674),Ce=n(42683),Pe=n(45331);class Ie{static isPriority(e){switch(e.type){case s.GM.Detach:case s.GM.Destroy:return!0;default:return!1}}static canProcess(e,t){const{playerState:n,contentState:r,mediaState:i}=t;switch(e.type){case s.GM.Attach:return n===s.fL.Initialized||n===s.fL.Detached||n===s.fL.Detaching||n===s.fL.Listening;case s.GM.Proceed:return r===s.g7.Waiting;case s.GM.Send_Message_To_UI:return n===s.fL.Listening||n===s.fL.Initialized||n===s.fL.Attaching||n===s.fL.Attached;case s.GM.Play:return n===s.fL.Listening&&r!==s.g7.Initializing;case s.GM.Detach:case s.GM.Request_Airplay:case s.GM.Enter_Picture_In_Picture:case s.GM.Exit_Picture_In_Picture:case s.GM.Update_Config:case s.GM.Preload_Content:case s.GM.Resize:case s.GM.Set_Player_Mode:case s.GM.Report_Event:case s.GM.Report_Error:case s.GM.Ad_Clicked:case s.GM.Message_From_UI:case s.GM.Captions_Update_Settings:case s.GM.Set_Media_Profile:case s.GM.Thumbnail:return n===s.fL.Listening;case s.GM.Enter_Fullscreen:case s.GM.Exit_Fullscreen:return n===s.fL.Listening&&!(r===s.g7.Waiting);case s.GM.Pause:return(r===s.g7.Media_Playback||r===s.g7.Ads_Playback)&&i!==s.gC.Seeking;case s.GM.Resume:case s.GM.Captions_Select_Track:case s.GM.Captions_Select_Track_By_Lang:case s.GM.Captions_Set_Enabled:return r===s.g7.Media_Playback||r===s.g7.Ads_Playback;case s.GM.Seek:case s.GM.Seek_To_Live:return r===s.g7.Media_Playback;case s.GM.Stop:if(n!==s.fL.Listening)return!1;switch(r){case s.g7.Pending:case s.g7.Interrupting:case s.g7.Interrupted:case s.g7.Ending:case s.g7.Ended:return!1;default:return!0}case s.GM.Replay:switch(r){case s.g7.Media_Playback:case s.g7.Ended:return!0;default:return!1}case s.GM.Destroy:switch(n){case s.fL.Pending:case s.fL.Listening:case s.fL.Detached:return!0;default:return!1}default:return!1}}static canFutureQueue(e){switch(e){case s.fL.Listening:case s.fL.Error:case s.fL.Destroying:case s.fL.Destroyed:return!1;default:return!0}}}var we=n(2844),Me=n(2063),ke=n(74502),Oe=n(12550),Re=n(44817),De=n(57798),Le=n(39195),xe=n(9027),Ne=n(31970);const Ue={initial:{name:Le.W.Start,state:Le.X.Pending},events:[{name:Le.W.Initialize,from:[Le.X.Pending],to:Le.X.Initializing},{name:Le.W.Initialized,from:[Le.X.Initializing],to:Le.X.Initialized},{name:Le.W.Error,from:[Le.X.Initializing],to:Le.X.Error}]};var Be=n(38563);var Fe=n(26755),je=n(18397),He=n(98189),Ve=n(4513);class We{constructor(e){this._onPlatformInfoResolved=e=>{var t,n;this._logger.info(`[_onPlatformInfoResolved] info.application: ${JSON.stringify(e.application,null,2)}`),this._logger.info(`[_onPlatformInfoResolved] info.device: ${JSON.stringify(e.device,null,2)}`),this._logger.info(`[_onPlatformInfoResolved] info.nexus: ${JSON.stringify(e.nexus,null,2)}`),(0,m.x)(e);let r=null!==(t=e.nexus.nexusTarget)&&void 0!==t?t:je.o.Unknown;r==je.o.React_Native&&(r=null!==(n=e.nexus.nexusVariant)&&void 0!==n?n:je.o.Unknown),ke.K.updateConfig({platform:r})},this._onPlatformInfoRejected=()=>{this._fsm.attemptTransition(De.U.Error,[b.yw.playerInitFailure("Error when resolving Nexus platform info")])},this._onFsmEvent=(e,t)=>{const n=t.from,r=t.to;switch(e){case i.FsmEventType.State_Entered:switch(r){case s.fL.Initialized:if(!this._initController)return this._logger.error("[_onFsmEvent] missing init controller"),void this._fsm.fireTransition(De.U.Error,[{error:b.yw.playerInitFailure("Initialization Controller was expected, but not available.")}]);this._initController.destroy(),this._initController=null;break;case s.fL.Listening:if(this._transactionManager&&!this._transactionManager.isRunning()){const e=this._setupConfigData.toData().config.lifecycle;e.enabled&&e.persistence&&(0,He.KJ)().then(this._handleLifecycleStoredContent)}}break;case i.FsmEventType.State_Changed:switch(this.model.handlePlayerStateChange({previousState:n,currentState:r}),this._notifyStateChanged(n,r),r){case s.fL.Initialized:this._handlePlayerInitializedState();break;case s.fL.Attached:this._fsm.fireTransition(De.U.Listen);break;case s.fL.Listening:this._handlePlayerListeningState();break;case s.fL.Destroying:switch(this._logger.debug("[_onFsmEvent] destroying..."),this.model.contentState){case s.g7.Interrupting:case s.g7.Interrupted:case s.g7.Ending:break;case s.g7.Ended:case s.g7.Pending:this._viewController&&(this._viewController.destroy(),this._viewController=null);break;default:this._transactionManager&&this._transactionManager.processCommand({type:s.GM.Stop})}break;case s.fL.Destroyed:this._logger.debug("[_onFsmEvent] destroyed"),this._bindings.forEach((e=>e.detach())),this._bindings=[],this._transactionManager&&(this._transactionManager.destroy(),this._transactionManager=null),this._viewController&&(this._viewController.destroy(),this._viewController=null),this._destroyDeferred&&this._destroyDeferred.resolver();break;case s.fL.Error:const e=(t.args||[])[0];let n;n=(null==e?void 0:e.error)?e.error:new b.rG({code:{category:s.a9.Unknown,code:s.Vw.Unspecified},message:"An unknown issue occured in the player.",severity:s.Wk.Fatal}),this._queuePlayerError(n),this._logger.warn(`Player errored with: ${n.toString()}`)}break;case i.FsmEventType.Error:this._notifyStateChanged(this._fsm.currentState(),s.fL.Error)}},this._processCommandOp=(e,t)=>{var n,r,o;switch(t.type){case s.GM.Attach:if(!this._viewController)return void e.reject();this._viewController.attach(t.container),e.resolve();break;case s.GM.Enter_Fullscreen:if(!this._viewController)return void e.reject();this._viewController.enterFullscreen();break;case s.GM.Exit_Fullscreen:if(!this._viewController)return void e.reject();this._viewController.exitFullscreen();break;case s.GM.Play:if(null===(n=this._transactionManager)||void 0===n?void 0:n.isRunning())return this._logger.info("[_processCommandOp] Play request - Interrupting current transaction"),void this._interruptAndQueueCommand(e,t);this._hookHandlers=null!==(r=t.hooks)&&void 0!==r?r:{},(0,Oe.Ye)(this.hooks,this._hookHandlers);break;case s.GM.Replay:const a=this.model.playlistItem;if(!a)return this._logger.warn("[_processCommandOp] Cannot replay, previous playlist item not found"),void e.reject();this.processCommand({type:s.GM.Play,contentData:s.Fb.forEntryData().withContentEntryData(a.entry).build(),options:a.options,hooks:this._hookHandlers}),e.resolve();break;case s.GM.Update_Config:return void(this._transactionManager?(this._transactionManager.updateConfig(t.config),e.resolve()):e.reject());case s.GM.Detach:if(!this._viewController||!this._viewController.isAttached())return this._logger.warn("[_processCommandOp] Invalid state to detach"),void e.reject();this._viewController.detach({exitFullscreenOnDetach:t.exitFullscreenOnDetach}),e.resolve();break;case s.GM.Message_From_UI:const{name:u,payload:l}=t;u===s.n_.Ad_Clicked&&this.events.moduleNotification.dispatch({module:s.PO.Video_Engine,category:s.SQ.Component_Event,result:{type:s.n_.Media_Command_Received,command:u,args:l}}),this.events.moduleNotification.dispatch({module:s.PO.UI,category:s.SQ.Component_Event,result:{type:t.type,name:t.name,payload:t.payload}});break;case s.GM.Destroy:if(null===this._fsm.currentState())return e.resolve(),this._logger.warn("Destroying a player that setup was not called on."),this._fsm.init(c),void this._fsm.fireTransition(De.U.Destroy);switch(this._fsm.attemptTransition(De.U.Destroy)){case i.FsmTransitionResult.Canceled:case i.FsmTransitionResult.Error:e.reject(),this._destroyDeferred&&this._destroyDeferred.rejector("Cannot destroy from current player state");break;case i.FsmTransitionResult.Succeeded:e.resolve()}return;case s.GM.Thumbnail:null===(o=this._transactionManager)||void 0===o||o.getThumbnail(t.time),e.resolve()}this._transactionManager&&this._transactionManager.processCommand(t),e.resolve()},this._processNotificationOp=(e,t)=>{this.model.handleModuleNotification(t),this._transactionManager&&this._transactionManager.propagateNotification(t),this._viewController&&this._viewController.handleModuleNotification(t),this._notifyModuleNotification(t),this._transactionManager&&this._transactionManager.completeNotification(t),e.resolve()},this._processPlayerError=(e,t)=>{e.resolve(),this._notifyPlayerError(t)},this._onTransactionEvent=(e,t)=>{switch(e){case s.iE.Module_Notification:this._onModuleNotification(t);break;case s.iE.State_Changed:this._onTransactionStateChanged(t);break;case s.iE.Config_Updated:this._onTransactionConfigUpdated(t);break;default:throw new i.UnreachableCaseError(e)}},this._handleLifecycleStoredContent=e=>{const{config:t,playlistItem:n,currentTime:r}=e;null!==t&&null!==n&&("string"!=typeof t?"string"!=typeof n?(r&&(t.media.offset=r),this._logger.debug("calling play with lifecycle restore"),this.processCommand({type:s.GM.Play,contentData:n.entry,options:Object.assign(Object.assign({},n.options),{config:t})})):"null"===n?this._logger.debug("[getAndRemoveLifecycleState] Stored playlist item is currently null"):this._logger.warn("[getAndRemoveLifecycleState] Playlist item is a string and may not have been serialized properly"):"null"===t?this._logger.debug("[getAndRemoveLifecycleState] Stored play config is currently null"):this._logger.warn("[getAndRemoveLifecycleState] Play config is a string and may not have been serialized properly"))},this._onInitEvent=(e,t)=>{if(e!==we.e.State_Changed)throw new i.UnreachableCaseError(e);this._onInitStateChanged(t)},this._onViewEvent=(e,t)=>{e===Me.B0.State_Changed&&this._onViewStateChanged(t)},this._playerId=e,this._logger=i.Log.getLogger(`PlayerController${this._playerId}`),this.hooks=(0,Oe.dB)(),this.events=(0,W.e)(),this._queuedExtCommands=[],this._initController=null,this._viewController=null,this._transactionManager=null,this._destroyDeferred=null,this._hookHandlers={},this._setupConfigData=new s.sG({}),this._opsManager=new class{constructor(){this._startProcessing=()=>{this._gatherProcessableOps(),this._processNextOp()},this._ops={queued:[],processable:[],current:[]}}_queueOp(e,t,n,r){const o=new a(e,t,n,r).onCompleted((()=>{i.ArrayUtils.remove(this._ops.current,o),this._processNextOp()}));this._ops.queued.push(o)}_scheduleProcessing(){this._processTimer||(this._processTimer=setTimeout(this._startProcessing,0))}_gatherProcessableOps(){const e=25-this._ops.processable.length;if(0===e)return;const t=i.ArrayUtils.take(this._ops.queued,e);if(0!==t.length)for(const e of t)i.ArrayUtils.remove(this._ops.queued,e),this._ops.processable.push(e)}_processNextOp(){if(0===this._ops.processable.length)return this._processTimer=void 0,void(this._ops.queued.length>0&&this._scheduleProcessing());const e=this._ops.processable[0];if(this._ops.current.filter((t=>!t.allow(e.type,e.args))).length>0)return;const t=this._ops.processable.shift();this._ops.current.push(t),t.execute()}_resetOps(){const{current:e,processable:t,queued:n}=this._ops;e.length=0,t.length=0,n.length=0}queueCommandOp(e,t){switch(this._queueOp(r.Command,e,[t]),t.type){case s.GM.Enter_Fullscreen:case s.GM.Exit_Fullscreen:this._startProcessing();break;default:this._scheduleProcessing()}}queueNotificationOp(e,t){this._queueOp(r.Notification,e,[t]),this._scheduleProcessing()}queuePlayerError(e,t){this._queueOp(r.Player_Error,e,[t]),this._scheduleProcessing()}reset(){this._processTimer&&(clearTimeout(this._processTimer),this._processTimer=void 0),this._resetOps()}},this._fsm=new i.Fsm,this._bindings=[],this.model=new Re.S,this._platformInfoTask=this._resolvePlatformInfo().fold(this._onPlatformInfoRejected,this._onPlatformInfoResolved)}_resolvePlatformInfo(){return i.TaskFactory.create((e=>{n.g.NexusPlatform.getPlatformInfo().then(e.resolve).catch(e.reject)})).execute()}_queuePlayerError(e){this._opsManager.queuePlayerError(this._processPlayerError,e)}_notifyPlayerError(e){this.events.playerError.dispatch({error:e})}_notifyStateChanged(e,t){this.events.playerStateChanged.dispatch({previousState:e,currentState:t})}_notifyViewStateChanged(e,t,n){this.events.viewStateChanged.dispatch({previousState:e,currentState:t,args:n})}_notifyModuleNotification(e){this.events.moduleNotification.dispatch(e)}_interruptAndQueueCommand(e,t){e.reject(),this.processCommand({type:s.GM.Stop}),this._queuedCommandForInterruption=t}_handlePlayerInitializedState(){this._platformHelper&&(this._viewController=new Fe.Z(this._playerId,this._platformHelper),this._bindings.push(this._viewController.events.listen(this._onViewEvent)),this._viewController.init({container:this._setupConfigData.getOrElse("container",null),config:this.model.config}))}_handlePlayerListeningState(){if(0===this._queuedExtCommands.length)return;const e=this._queuedExtCommands.filter((e=>Ie.isPriority(e)));e.length>0&&(this._queuedExtCommands.length=0,this._logger.verbose(`[_onFsmEvent:Listening] clearing external API command queue, found priority command: ${e[0].type}`),this.processCommand(e.shift())),this._queuedExtCommands.forEach((e=>{this._logger.verbose(`[_onFsmEvent:Listening] processing external API command: ${e.type}`),this.processCommand(e)})),this._queuedExtCommands.length=0}_onModuleNotification(e){var t,n;this._opsManager.queueNotificationOp(this._processNotificationOp,e);const{module:r,type:i}=e;if(r===s.PO.Video_Engine&&i===s.iE.Module_Notification)switch(e.result.type){case s.sL.Picture_In_Picture_Entered:null===(t=this._viewController)||void 0===t||t.pictureInPictureEntered();break;case s.sL.Picture_In_Picture_Exited:null===(n=this._viewController)||void 0===n||n.pictureInPictureExited()}}_onTransactionStateChanged(e){switch(e.currentState===s.g7.Ended&&(0,Oe.dq)(this.hooks),this.model.handleTransactionStateChange(e),this._transactionManager&&this._transactionManager.handlePlayerNotification({sourceType:y.A.Transaction,eventCategory:y.K.State_Changed,eventType:W.E.Transaction_State_Changed,eventResult:e}),e.currentState){case s.g7.Error:const t=(e.args||[])[0];t?this._queuePlayerError(t.error):this._logger.warn("got a transaction error that wasn't a player error");break;case s.g7.Ended:this._queuedCommandForInterruption&&this._fsm.currentState()!==s.fL.Destroying?(this.processCommand(this._queuedCommandForInterruption),this._queuedCommandForInterruption=null):this._fsm.currentState()===s.fL.Destroying&&this._viewController&&(this._viewController.destroy(),this._viewController=null)}this.events.transactionStateChanged.dispatch({currentState:e.currentState,previousState:e.previousState,args:e.args})}_onTransactionConfigUpdated(e){this.model.handleTransactionConfigUpdate(e),this.events.transactionConfigUpdated.dispatch({type:W.E.Transaction_Config_Updated,config:e.config})}_onInitStateChanged(e){switch(e.currentState){case Le.X.Initializing:this._fsm.fireTransition(De.U.Initialize);break;case Le.X.Initialized:if(!this._initController)return;this._setupConfigData.extend(this._initController.config),this._transactionManager=new class{constructor(e){this._loadedAndSetupInitComponents={},this._hooks=null,this._components={modules:new Map},this._storedCaptionSettings={[s.D.System]:(0,B.o)(),[s.D.User]:{}},this._onTransactionEvent=(e,t)=>{switch(e){case s.iE.Module_Notification:this.events.moduleNotification.dispatch(t);break;case s.iE.State_Changed:this._onTransactionStateChanged(t);break;case s.iE.Config_Updated:this.events.configUpdated.dispatch(t);break;default:throw new i.UnreachableCaseError(e)}},this._playerId=e,this._logger=i.Log.getLogger(`TransactionManager${this._playerId}`),this.events=(0,_.U)(),this._transaction=null,this._transactionController=null,this._endingPreviousState=null,this._selectedCCProvider=null,this._configManager=new d.D({},(0,F.B)(),H),this._replacer=new f.f,this._analyticsMeasurer=q.createWithMeasuringSpecification({[s.e1.CMS_Resolution]:{mark1:s.$x.Transaction_Initializing,mark2:s.$x.Transaction_Details_Resolved},[s.e1.Transaction_Setup]:{mark1:s.$x.Transaction_Preparing,mark2:s.$x.Transaction_Transforming},[s.e1.Transaction_Initialized]:{mark1:s.$x.Transaction_Initializing,mark2:s.$x.Transaction_Initialized},[s.e1.Content_Resolution]:{mark1:s.$x.Transaction_Media_Beginning,mark2:s.$x.MediaEngine_Started},[s.e1.Total_Time_To_First_Frame]:{mark1:s.$x.Transaction_Initializing,mark2:s.$x.MediaEngine_Started},[s.e1.Time_Waiting_For_User]:{mark1:s.$x.Transaction_Waiting,mark2:s.$x.Transaction_User_Action}})}_processPreloadCommand(e){let t=this._configManager.createConfigInstance({cms:{providers:e.options}});t=this._transformConfig(t);const n=this._getTransactionPreloadTask(e,t);return n.execute(),new Promise(((e,t)=>{n.onResolved((t=>e(t))),n.onRejected(t)}))}_processPlayCommand(e){var t,n;((null===(t=this._transactionController)||void 0===t?void 0:t.isRunning())||(null===(n=this._transactionController)||void 0===n?void 0:n.isWaiting()))&&(this._stopController(),this._setControllerListeners(!1)),this._analyticsMeasurer.resetForPlay(),this._transactionController=new class{constructor(e){this._onModuleNotification=e=>{this.events.moduleNotification.dispatch(e)},this._onFsmEvent=(e,t)=>{var n;const{from:r,to:o,args:a}=t;switch(e){case i.FsmEventType.State_Changed:switch(this._notifyStateChanged(r,o,a),this._logger.verbose(`[onFsmEvent] state: ${o}`),o){case s.g7.Initializing:this._startTask.fold((e=>{const{error:t,components:n}=e;n&&(this._components=n),this._forceErrorTransition(t)}),(e=>{if(this._hooks=e.hooks,this._playCommand=e.command,this._authToken=e.authToken,this._contentFileData=e.contentFileData,this._playlistItem=e.playlistItem,this._components=e.components,this._config=e.config,this._model=e.model,this._timeline=e.timeline,this._timelineStrategy=e.timelineStrategy,this._selectedCCProvider=e.selectedCCProvider,this._monitors=e.monitors,!this._components.modules.has(s.l0.Video_Engine)){const e=b.yw.transactionInitFailure("Could not start transaction, required video engine module not provided");return this._logger.warn(e.toString()),void this._forceErrorTransition(e)}this._timeline.events.listen(this._onTimelineEvent),this._modelUpdatedBinding=this._model.modelUpdated.listen(this._onModelUpdated);const t=this._config.toData(),n=i.ObjectUtils.getOrElse(this._playlistItem.entry.metadata,"ssaiEnabled",!0);t.ads.enabled&&!n&&(this._logger.warn("ssaiEnabled is false; forcibly disabling ads"),this.updateConfig({ads:{enabled:!1}})),t.ads.enabled||(this._logger.info("Auto-disabling TVE feature, ads are not enabled..."),this.updateConfig({features:{tve:{enabled:!1}}}))})).onResolved((()=>{const e=this._fsm.currentState();if(e!==s.g7.Initializing)return void this._logger.warn(`[_onFsmEvent:Initializing] interrupted because state changed to "${e}" during start tasks`);const{autoPlay:t,autoPlayOptions:n}=this._getPlaybackConfig(),r=()=>{const e=this._fsm.currentState();if(e!==s.g7.Initializing)return void this._logger.warn(`[_onFsmEvent:Initializing] interrupted because state changed to "${e}" during autoplay check`);const t=e=>{this._fireTransition(e,[{config:this._config.toData(),playlistItem:i.ObjectUtils.extendDeep({},this._playlistItem)}])};this._canAutoPlay.unmuted?(this._logger.info("Autoplay is allowed, transitioning to `Preparing`..."),t(h.y.Prepare)):this._canAutoPlay.muted&&n.forceMedia?(this.updateConfig({playback:{muted:!0}}),this._logger.info("Only muted auto-play is allowed and `forceMedia` is enabled, attempting with muted playback..."),t(h.y.Prepare)):(this._logger.info("Autoplay blocked behavior states to `Wait` after init, transitioning to `Preparing`..."),t(h.y.Prepare))},o=this._config.toData();t&&n.preCheckAutoPlay?this._hooks.checkAutoPlay.execute({canAutoPlay:!0,canAutoPlayMuted:!0}).onResolved((({canAutoPlay:e,canAutoPlayMuted:t})=>{o.metadata["webos.appId"]||o.metadata["tizen.appId"]?(this._canAutoPlay.unmuted=!0,this._canAutoPlay.muted=!0):(this._canAutoPlay.unmuted=e,this._canAutoPlay.muted=t)})).onCompleted((()=>r())):r()}));break;case s.g7.Preparing:{const e=[...this._getModuleSetupTasks(this._components.modules),...this._getProviderSetupTasks()];i.TaskFactory.all(...e).fold((e=>this._forceErrorTransition(e)),(e=>{const t=this._fsm.currentState();t!==s.g7.Preparing?this._logger.warn(`[_onFsmEvent:Preparing] interrupted because state changed to "${t}" during preparation tasks`):this._fireTransition(h.y.Transform)}));break}case s.g7.Transforming:{const e=this._timelineStrategy.populateTimeline();e.length>0&&this._logger.warn(`Could not add ${e.length} markers to the timeline`);const t=this._config.getOrElse("features.gdpr.enabled",!0),n={},r=[];if(t&&this._hooks.checkGDPRConsent.hasRegisteredHandlers){const e=e=>{e.error?this._logger.warn(`[GDPR] ${e.error}`):this._contentFileData.url?(e.subjectToGDPR!==s.th.Yes&&e.subjectToGDPR!==s.th.No||(n[g.A.GDPR_Subject_To]=e.subjectToGDPR),e.consentString&&(n[g.A.GDPR_Consent]=e.consentString)):this._logger.error("[onGDPRConsentResolved] Content File Data Url does not exist.")},t=this._config.getOrElse("features.gdpr.consentDataOverride",{}),{subjectToGDPR:o,consentString:a}=t;let u;void 0!==o&&void 0!==a?(this._logger.info("[GDPR] Static consent data overrides detected and will be applied."),u=i.TaskFactory.resolve({subjectToGDPR:o,consentString:a}).execute().onResolved(e)):(this._logger.info("[GDPR] No consent data overrides were provided. Consent framework will be used."),u=this._hooks.checkGDPRConsent.execute({consentString:null,subjectToGDPR:s.th.Unknown}).onResolved(e)),r.push(u)}const o=()=>{if(!this._contentFileData.url)return void this._logger.warn("[applyContentUrlTransforms] Content URL is undefined, no transforms were applied");const e=(0,R.pK)({contentUrlKvpsMap:(0,i.getQueryAsMap)(this._contentFileData.url),configMetadataKvpsMap:this._config.getOrElseNullable("metadata",{}),playlistEntry:(0,v.fromNullable)(this._playlistItem.entry).getOrElse({}),PlatformInfo:m.h}),t=this._config.getOrElseNullable("ads.kvps",{}),r=i.ObjectUtils.extendDeep({},e,n,t);!function(e,t){var n,r;for(const i in e){const[o,a]=i.split(".",2),s=e[i];if(null!=a&&null!=s&&o in t)if(a.startsWith("[")&&a.endsWith("]"))t[o]=null===(n=t[o])||void 0===n?void 0:n.replace(a,s);else{const e=new RegExp(`(${a}=)([^&;]*)(;?)`);t[o]=null===(r=t[o])||void 0===r?void 0:r.replace(e,`$1${s}$3`)}}}(this._config.getOrElseNullable("metadata",{}),r),this._contentFileData.url=decodeURIComponent((0,i.appendQuery)(this._contentFileData.url,r))},a=()=>{o(),this._fireTransition(h.y.Initialized)};r.length>0?i.TaskFactory.all(...r).fold((e=>this._forceErrorTransition(e)),(()=>a())):a();break}case s.g7.Initialized:{this._isInitialized=!0;const{autoPlayOptions:e}=this._getPlaybackConfig();this._canAutoPlay.unmuted||this._canAutoPlay.muted&&e.forceMedia?this._fireTransition(h.y.Validate):this._fireTransition(h.y.Wait);break}case s.g7.Validating:this._fireTransition(h.y.Validated);break;case s.g7.Validated:this._fireTransition(h.y.Authorize);break;case s.g7.Authorizing:{const e=[];(0,S.ZX)(this._contentFileData)&&e.push(this._initiateCdnAuthFlow()),(0,S.aV)(this._contentFileData)&&(this._contentFileData.assetId||this._config.getOrElse("metadata.assetId",null))&&this._createDrmAuthTask(k.y.Pre_Play).execute(),i.TaskFactory.all(...e).fold((e=>this._forceErrorTransition(e)),(e=>this._fsm.attemptTransition(h.y.Authorized)));break}case s.g7.Authorized:this._fireTransition(h.y.Media_Begin);break;case s.g7.Media_Beginning:{this._setupMonitorListeners(),this._startMonitors();const e=this._config.toData(),t=this._toComponentCommands({type:s.GM.Play,fileData:this._contentFileData,playlistItem:this._playlistItem,config:e});this._propagateCommands(...t);break}case s.g7.Ads_Completed:this._model.mediaState===s.gC.Pending&&this._fsm.fireTransition(h.y.Media_Playback);break;case s.g7.Interrupting:{const e=[],t=(0,v.fromNullable)(a[0]).getOrElse({}),r=(0,v.fromNullable)(t.interruptMode).getOrElse(l.Interrupt);if(this._interruptData.mode=r,this._interruptData.error=t.error,this._cancelTasks(),this._cancelHooks(),this._stopAndDestroyMonitors(),!this._isInitialized){this._logger.info("[_isInitialized=false] early interrupt flow"),this._completeInterrupt();break}switch(r===l.Error&&this._propagateCommands({type:D.t.ReportError,targets:[s.l0.Analytics],data:i.ObjectUtils.extendDeep({},t)}),this._logger.verbose(`[_onFsmEvent:Interrupting] mediaState: ${this._model.mediaState}`),this._model.mediaState){case s.gC.Pending:case s.gC.Starting:case s.gC.Stopped:case s.gC.Finished:case s.gC.Error:break;default:e.push((()=>{this._logger.debug("[_onFsmEvent:Interrupting] interrupting video engine... Media_Stopped"),this._interruptData.responses.push(s.n_.Media_Stopped)}))}switch(null===(n=this._model.currentAdBreak)||void 0===n?void 0:n.state){case s.M9.Pending:case s.M9.Starting:case s.M9.Loaded:case s.M9.Finished:case void 0:break;default:e.push((()=>{this._logger.debug("[_onFsmEvent:Interrupting] interrupting video engine... Ad_Stopped"),this._interruptData.responses.push(s.n_.Ad_Stopped)}))}const o=this._toComponentCommands({type:s.GM.Stop});this._propagateCommands(...o),this._logger.debug(`[_onFsmEvent:Interrupting] waiting for: ${e.length} interrupt ops`),e.length>0?e.forEach((e=>e())):this._completeInterrupt();break}case s.g7.Media_Completed:this._fireTransition(h.y.Finish);break;case s.g7.Finished:this._fireTransition(h.y.End);break;case s.g7.Interrupted:this._playCommand=null,this._components.modules.forEach(((e,t)=>{t!==s.l0.Lifecycle&&e.controller.moduleNotification.unlistenAll()})),this._fireTransition(h.y.End);break;case s.g7.Ending:this._startTask.onCompleted((()=>{this._cancelHooks(),this._stopAndDestroyMonitors();const e=[];this._components.modules.forEach((t=>{e.push(t.controller.destroy())})),this._timelineStrategy&&e.push(this._timelineStrategy.destroy()),Promise.all(e).then((()=>{const e=this._fsm.currentState();e!==s.g7.Ending?this._logger.warn(`[_onFsmEvent:Ending] interrupted because state changed to "${e}" while destroying ops`):(this._model&&this._model.modelUpdated.unlisten(this._modelUpdatedBinding),this._timeline&&this._timeline.events.unlistenAll(),this._fireTransition(h.y.Ended,a))})).catch((e=>{this._forceErrorTransition(b.yw.transactionStateTransitionFailure("[onFsmEvent] error occurred when destroying modules").setMetadata({subErrorMessage:e}))}))}));break;case s.g7.Error:if(r===s.g7.Ending)return void this._fireTransition(h.y.Ended);this._fireTransition(h.y.End,a)}break;case i.FsmEventType.Error:this._notifyStateChanged(this._fsm.currentState(),s.g7.Error)}},this._onModelUpdated=e=>{this._timelineStrategy.handleModelUpdated(e)},this._onTimelineEvent=(e,t)=>{this._onModuleNotification({module:s.PO.Timeline,category:s.SQ.Component_Event,result:t})},this._applyDRMToken=(e,t)=>{this._propagateCommands({type:L.x.Apply_DRM_Token,targets:[s.l0.Video_Engine],data:{id:e,token:t}})},this._handleConcurrencyTokenError=e=>{this._fireTransition(h.y.Error,[{interruptMode:l.Interrupt,error:e}])},this._handleContentLost=()=>{this._fsm.attemptTransition(h.y.Stop,[{interruptMode:l.Error,error:b.yw.networkConnectionLost("Connection with content lost, playback stopped and reset")}])},this._handleAdSessionTimeout=()=>{const e=b.yw.adSessionTimeout("Ad session is timed out, stopping playback session.",s.Wk.Fatal);this._propagateCommands({type:D.t.ReportError,data:{error:e},targets:[s.l0.Analytics]}),this._forceErrorTransition(e)},this._handlePruneEvent=(e,t)=>{e===U.A.Sliding_Window_Changed&&this.handlePlayerNotification({sourceType:y.A.Monitors,eventCategory:y.K.Prune,eventType:t.type,eventResult:t})},this._playerId=e,this._logger=i.Log.getLogger(`TransactionController${this._playerId}`),this.events=(0,_.U)(),this._components={modules:new Map},this._fsm=new i.Fsm,this._canAutoPlay={unmuted:!1,muted:!1},this._isInitialized=!1,this._accessTokenRefreshTask=null,this._cdnTokenResolutionTask=null,this._drmTokenResolutionTask=null,this._queuedDRMTokenResolutionTasks=[],this._authToken=null,this._authDRMToken=null,this._mediaStarted=!1}_onVideoEngineEvent(e){switch(e.type){case s.n_.Media_Starting:this._fsm.attemptTransition(h.y.Media_Playback);break;case s.n_.Media_Started:this._mediaStarted=!0;break;case s.n_.Ad_Starting:this._fsm.attemptTransition(h.y.Ads_Begin);break;case s.n_.Ad_Started:this._fsm.attemptTransition(h.y.Ads_Playback);break;case s.n_.Ad_Finished:this._fsm.attemptTransition(h.y.Ads_Complete);break;case s.n_.Ad_Stopped:case s.n_.Media_Stopped:switch(this._fsm.currentState()){case s.g7.Ads_Playback:this._logger.debug("[_onVideoEngineEvent] Ads_Playback interrupted via internal stop; transitioning to Ads_Complete"),this._fsm.attemptTransition(h.y.Ads_Complete);break;case s.g7.Media_Playback:this._logger.debug("[_onVideoEngineEvent] Media_Playback interrupted via internal stop; transitioning to Media_Complete"),this._fsm.attemptTransition(h.y.Media_Complete);break;case s.g7.Interrupting:this._logger.debug("[_onVideoEngineEvent] Video Engine successfully interrupted"),this._checkAndCompleteInterrupt(e.type);break;default:this._logger.warn("[_onVideoEngineEvent] Video Engine interrupted in an unexpected state")}break;case s.n_.Media_Finished:switch(this._fsm.currentState()){case s.g7.Interrupting:case s.g7.Interrupted:case s.g7.Pending:this._logger.debug("[_onVideoEngineEvent] The transaction was stopped before media complete was received - skipping");break;default:this._fsm.attemptTransition(h.y.Media_Complete)}break;case s.n_.Ad_Error:e.severity===s.Wk.Fatal&&this._fsm.attemptTransition(h.y.Stop,[{interruptMode:l.Interrupt}]);break;case s.n_.Media_Error:this._fsm.attemptTransition(h.y.Stop,[{interruptMode:l.Interrupt}]);break;case s.n_.DRM_Token_Request:{const{requestId:t,keyData:n}=e,r=(()=>this._mediaStarted&&-1!==this._model.mediaTime?k.y.In_Play:k.y.Pre_Play)(),i={requestId:t,task:this._createDrmAuthTask(r,n)};this._queuedDRMTokenResolutionTasks.push(i),this._processDRMTokenRequestQueue();break}}}_processDRMTokenRequestQueue(){var e;if(null===(e=this._drmTokenResolutionTask)||void 0===e?void 0:e.running)return void this._logger.debug("Cannot process DRM token request queue - previous task is still running");const t=this._queuedDRMTokenResolutionTasks.shift();if(t){const e=t.task,n=t.requestId;this._drmTokenResolutionTask=e,e.execute().fold((e=>{this._forceErrorTransition(e)}),(e=>{const t=this._config.get(s.ki.DRM);t.isSome()&&!t.value.setHeaders?this._applyDRMToken(n,""):this._applyDRMToken(n,e.token),this._drmTokenResolutionTask=null,this._processDRMTokenRequestQueue()}))}}_fireTransition(e,t){return this._fsm.cannotFireTransition(e)?this._forceErrorTransition(b.yw.transactionStateTransitionFailure(`Unable to fire '${e}' from current state: ${this._fsm.currentState()}`)):this._fsm.fireTransition(e,t)}_notifyStateChanged(e,t,n){this._logger.info(`[_notifyStateChanged] ${e} -> ${t}`),this.events.stateChanged.dispatch({previousState:e,currentState:t,args:n})}_checkAndCompleteInterrupt(e){const t=this._interruptData.responses,n=t.indexOf(e);-1!==n&&t.splice(n,1),0===t.length&&this._completeInterrupt()}_completeInterrupt(){const{mode:e,error:t}=this._interruptData;switch(e){case l.Interrupt:this._fireTransition(h.y.Interrupted);break;case l.Error:this._fireTransition(h.y.Error,[{error:t,interruptMode:e}]);break;default:throw new i.UnreachableCaseError(e)}}_propagateCommands(...e){e.forEach((e=>{e.targets?e.targets.forEach((t=>{const n=this._components.modules.get(t);n&&n.controller.processCommand(e)})):this._components.modules.forEach((t=>t.controller.processCommand(e)))}))}_toComponentCommands(e){var{type:t}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["type"]);switch(t){case s.GM.Play:return[{type:L.x.Play,data:n,targets:[s.l0.Video_Engine]}];case s.GM.Stop:return[{type:L.x.Stop,targets:[s.l0.Video_Engine]}];case s.GM.Pause:return[{type:L.x.Pause,targets:[s.l0.Video_Engine]}];case s.GM.Resume:return[{type:L.x.Resume,targets:[s.l0.Video_Engine]}];case s.GM.Seek:return[{type:L.x.Seek,data:n,targets:[s.l0.Video_Engine]}];case s.GM.Seek_To_Live:return[{type:L.x.Seek_To_Live,targets:[s.l0.Video_Engine]}];case s.GM.Resize:return[{type:L.x.Resize,data:n,targets:[s.l0.Video_Engine]}];case s.GM.Set_Player_Mode:return[{type:x.v.LifecycleChange,data:n,targets:[s.l0.Lifecycle]},{type:D.t.LifecycleUpdate,data:n,targets:[s.l0.Analytics]}];case s.GM.Captions_Select_Track:return[{type:N.xD.Select_Track,data:n,targets:[s.l0.Captions]}];case s.GM.Captions_Select_Track_By_Lang:return[{type:N.xD.Select_Track_By_Lang,data:n,targets:[s.l0.Captions]}];case s.GM.Captions_Set_Enabled:return[{type:N.xD.Set_Enabled,data:n,targets:[s.l0.Captions]}];case s.GM.Captions_Update_Settings:return[{type:N.xD.Update_Settings,data:n,targets:[s.l0.Captions]}];case s.GM.Update_Config:return[];case s.GM.Report_Event:return[{type:D.t.ReportEvent,data:n,targets:[s.l0.Analytics]}];case s.GM.Report_Error:return[{type:D.t.ReportError,data:n,targets:[s.l0.Analytics]}];case s.GM.Destroy:return[];case s.GM.Ad_Clicked:return[{type:L.x.Ad_Click,targets:[s.l0.Video_Engine]}];case s.GM.Enter_Picture_In_Picture:return[{type:L.x.Enter_Picture_In_Picture,targets:[s.l0.Video_Engine]}];case s.GM.Exit_Picture_In_Picture:return[{type:L.x.Exit_Picture_In_Picture,targets:[s.l0.Video_Engine]}];case s.GM.Request_Airplay:return[{type:L.x.Request_Airplay,targets:[s.l0.Video_Engine]}];case s.GM.Enter_Fullscreen:return[{type:L.x.Enter_Fullscreen,targets:[s.l0.Video_Engine]}];case s.GM.Exit_Fullscreen:return[{type:L.x.Exit_Fullscreen,targets:[s.l0.Video_Engine]}];case s.GM.Set_Media_Profile:return[{type:L.x.Set_Media_Profile,data:n,targets:[s.l0.Video_Engine]}];default:return[]}}_setupMonitorListeners(){this._monitors&&this._monitors.forEach(((e,t)=>{switch(t){case O.T0.Concurrency:e.events.tokenError.listen((e=>this._handleConcurrencyTokenError(e.error)));break;case O.T0.Content_Stall:e.events.contentLost.once(this._handleContentLost);break;case O.T0.Live_Ad_Session:e.events.timedOut.once(this._handleAdSessionTimeout);break;case O.T0.Prune:e.events.listen(this._handlePruneEvent)}}))}_getModuleSetupTasks(e){const t=[];return e.forEach(((e,n)=>{const{controller:r,required:o}=e;t.push(i.TaskFactory.create((e=>{r.moduleNotification.listen(this._onModuleNotification),r.setup({contentFileData:this._contentFileData,playerId:this._playerId,playerConfig:this._config.toData(),playerModel:this._model,playlistItem:this._playlistItem}).fold((t=>{r.moduleNotification.unlistenAll(),o?e.reject(b.yw.transactionInitFailure("Component initialization failure").setMetadata({recoverySuggestion:b.D0.DIRECT_TO_UNDERLYING_ERROR,subErrorCode:t.code,subErrorMessage:t.message})):(this._logger.warn(`Optional component for category ${n} failed setup, omitting and continuing...`),this._components.modules.delete(n),e.resolve())}),(t=>e.resolve()))})))})),t}_getProviderSetupTasks(){return[i.TaskFactory.create((e=>{if(this._selectedCCProvider){const e=(()=>this._components.modules.get(s.l0.Video_Engine).controller)();this._selectedCCProvider.setSourceContext(e)}e.resolve()}))]}_initiateCdnAuthFlow(){var e;if(null===(e=this._cdnTokenResolutionTask)||void 0===e?void 0:e.running)return this._logger.debug("Using currently running CDN token request task"),this._cdnTokenResolutionTask;const t=i.TaskFactory.create((e=>{this._logger.debug("Initiating CDN token request task"),i.TaskFactory.seq(this._refreshAccessToken(),(()=>i.TaskFactory.create((e=>{var t,n,r,o,a;(n=this._playlistItem,r=this._contentFileData,o=this._config,a=null!==(t=this._components.auth)&&void 0!==t?t:null,i.TaskFactory.create((e=>{var t;if(!o.isSectionEnabled(s.ki.Auth))return e.reject(b.yw.authCdnTokenFailure("Authorization is disabled, but content requires authorization"));if(!o.isSectionEnabled(s.ki.AuthCDN))return e.reject(b.yw.authCdnTokenFailure("CDN authorization is disabled, but content requires authorization"));if(!a)return e.reject(b.yw.authCdnTokenFailure("AuthCDN component is missing"));if(!r.playlistProtection)return e.reject(b.yw.authCdnTokenFailure("Could not determine required auth type from content entry file data"));const i=o.getAuthForType(r.playlistProtection);if(!i)return e.reject(b.yw.authCdnTokenFailure(`Could not find auth config for type: ${r.playlistProtection}`));const u=null!==(t=r.url)&&void 0!==t?t:"";return((e,t,n,r,i)=>e.handleTokenAuth(t,{url:n,config:r,metadata:i}))(a,n,u,i,o.getOrElse("metadata",{})).execute().fold((t=>e.reject(t)),(t=>{var n;const{token:o}=t;(0,S.A0)(r,o,null!==(n=i.prefix)&&void 0!==n?n:""),e.resolve({tokenData:t,file:r})}))})).execute()).execute().fold((t=>{this._logger.warn(t.toString()),e.reject(t)}),(t=>{this._logger.debug("CDN token request task resolved");const n={type:M.Token_Response_Received,payload:Object.assign({},t.tokenData)};this._onModuleNotification({module:s.PO.Auth,category:s.SQ.Component_Event,result:n}),this._contentFileData=t.file,e.resolve(this._contentFileData)}))})))()).fold((t=>e.reject(t)),(t=>e.resolve(this._contentFileData)))})).execute();return this._cdnTokenResolutionTask=t,t}_createDrmAuthTask(e,t){return i.TaskFactory.create((n=>{this._logger.debug("Initiating DRM token request task"),i.TaskFactory.seq(this._refreshAccessToken(),(()=>{const n=(e,t)=>i.TaskFactory.create((n=>{this._resolveDRMAssetMetadata(e,t).execute().fold((e=>n.reject(e)),(e=>{const{assetId:t,companyId:r}=e;this._hooks.validateDRMTokenRequest.execute({assetId:t,companyId:r}).fold((e=>n.reject(e)),(e=>n.resolve(e)))}))})).execute(),r=e=>i.TaskFactory.create((t=>this._authDRMToken?this._authDRMToken.assetId!==e.assetId||this._authDRMToken.companyId!==e.companyId||this._authDRMToken.isExpired()?(this._logger.debug("Existing DRM token found, but is either expired or does not match new asset details"),t.reject()):(this._logger.debug("Existing DRM token still valid, resolving early with same token"),t.resolve(this._authDRMToken)):t.reject())).execute(),o=e=>i.TaskFactory.create((t=>{var n,r,o,a,u,c,l;(r=this._playlistItem,o=e.assetId,a=e.companyId,u=this._config,c=null!==(n=this._components.authDRM)&&void 0!==n?n:null,l=this._authToken,i.TaskFactory.create((e=>{var t;if(!u.isSectionEnabled(s.ki.Auth))return e.reject(b.yw.authDrmTokenFailure("Authorization is disabled, but content requires authorization"));const n=u.get(s.ki.AuthDRM);if(n.isNone())return e.reject(b.yw.authDrmTokenFailure("Cannot do DRM authed playback, no DRM authentication service provided."));if(0==n.value.enabled){const t=u.get(s.ki.DRM);return t.isSome()&&0==t.value.setHeaders?e.resolve({jwt:"",timestamp:Date.now(),ttl:3735928559,version:1}):e.reject(b.yw.authDrmTokenFailure("DRM authorization is disabled, but content requires authorization"))}if(!o)return e.reject(b.yw.authDrmTokenFailure("Missing asset ID, a required property to get a DRM token."));if(!c)return e.reject(b.yw.authDrmTokenFailure("AuthDRM component is missing"));const i=r.entry.metadata;if(!i.mediaId)return e.reject(b.yw.authDrmTokenFailure("A mediaID is required to do DRM authenticated playback"));const d=null!==(t=i.mediaId)&&void 0!==t?t:"";var _,f,h;(_=c,f=n.value,h={accessToken:null==l?void 0:l.token,accessTokenType:null==l?void 0:l.type,assetId:o,companyId:a,mediaId:d},_.handleDRMTokenAuth(f,h)).execute().fold((t=>e.reject(t)),(t=>{let r="";if(n.value.type!==s.de.iSP)return e.reject(b.yw.authDrmTokenFailure("Unknown DRM service type, please set license server headers manually in config"));r=$.H.iSP,u.getOrElseNullable("auth.drm.setHeaders",!0)&&u.extend({drm:{fairplay:{headers:{[r]:t.jwt}},playready:{headers:{[r]:t.jwt}},widevine:{headers:{[r]:t.jwt}}}}),e.resolve(t)}))})).execute()).fold((n=>{this._hooks.validateDRMTokenResponse.execute({error:n,data:{jwt:"",ttl:500,timestamp:Date.now()}}).fold((e=>t.reject(e)),(n=>{this._logger.debug(`DRM token request task resolved for: ${e.assetId}`);const r=new T.T(n.data.jwt,n.data.ttl,n.data.timestamp,e.assetId,e.companyId);t.resolve(r)}))}),(n=>{const r={type:M.Token_Response_Received,payload:n};this._onModuleNotification({module:s.PO.Auth,category:s.SQ.Component_Event,result:r}),this._hooks.validateDRMTokenResponse.execute({data:n}).fold((e=>t.reject(e)),(n=>{this._logger.debug(`DRM token request task resolved for: ${e.assetId}`);const r=new T.T(n.data.jwt,n.data.ttl,n.data.timestamp,e.assetId,e.companyId);t.resolve(r)}))}))})).execute();return i.TaskFactory.create((i=>{n(e,t).fold((e=>{i.reject(e),this._forceErrorTransition(e)}),(e=>{r(e).fold((t=>{o(e).fold((e=>{this._handleConcurrencyTokenError(e)}),(e=>i.resolve(e)))}),(e=>i.resolve(e)))}))}))})()).fold((e=>n.reject(e)),(e=>{const[,t]=e;this._authDRMToken=t,n.resolve(t)}))}))}_refreshAccessToken(){var e;if(null===(e=this._accessTokenRefreshTask)||void 0===e?void 0:e.running)return this._accessTokenRefreshTask;const t=i.TaskFactory.create((e=>{var t,n,r;this._logger.debug("Initiating Access Token refresh task"),(t=this._playlistItem,n=this._hooks.authRefresh,r=this._authToken,i.TaskFactory.create((e=>{var i,o;if(r&&!r.isExpired())return e.resolve([t,r]);n.execute({accessToken:null!==(i=t.options.accessToken)&&void 0!==i?i:"",accessTokenType:null!==(o=t.options.accessTokenType)&&void 0!==o?o:""}).fold((t=>e.reject(b.yw.authRequestFailure(`Could not request refreshed accessToken: ${t.toString()}`))),(n=>{const{accessToken:r,accessTokenType:i}=n;let o=null;try{o=new E.H(r,i)}catch(n){return o=null,e.resolve([t,null])}t.options.accessToken=r,t.options.accessTokenType=i,e.resolve([t,o])}))})).execute()).fold((t=>{e.reject(t),this._forceErrorTransition(t)}),(t=>{this._logger.debug("Access Token refresh task resolved"),this._playlistItem=t[0],this._model.playlistItem&&this._model.handleChangeRequests([{property:s.Yk.Playlist_Item,value:{options:this._playlistItem.options},mode:s.S_.Extend}]),this._authToken=t[1],e.resolve(this._authToken)}))}));return this._accessTokenRefreshTask=t,t}_resolveDRMAssetMetadata(e,t){return i.TaskFactory.create((n=>{if(this._config.get(s.ki.AuthDRM).isNone())return n.reject(b.yw.authDrmTokenFailure("Missing DRM configuration"));const r=this._config.get(s.ki.AuthDRM).toNullable(),o=["assetId","companyId"],a={assetId:[],companyId:[]};o.forEach((n=>{const o={prePlay:[],inPlay:[]},u={assetIdSource:r.assetIdSource||o,companyIdSource:r.companyIdSource||o},c=function(e,t,n){switch(e){case"assetId":return n.assetIdSource[t];case"companyId":return n.companyIdSource[t];default:return[]}}(n,e,u);a[n]=c.map((r=>{var o;const a=((e,t,n,r)=>i.TaskFactory.create((i=>{var o;switch(t){case s.JC.Metadata:switch(e){case"assetId":const e=r.contentFileData.assetId&&r.contentFileData.assetId.length>0,t=r.config.getOrElse("metadata.assetId",""),o=()=>{t?i.resolve(t):i.reject(A.yw.authDrmAssetMetadataFailure('Unable to resolve "assetId" from "Metadata" data source'))};switch(n){case I.yG.Pre_Play:case I.yG.In_Play:e?i.resolve(r.contentFileData.assetId):o()}break;case"companyId":const a=r.config.getOrElse("metadata.companyId","");a?i.resolve(a):i.reject(A.yw.authDrmAssetMetadataFailure('Unable to resolve "companyId" from "Metadata" data source'))}break;case s.JC.Manifest:(null===(o=r.parsedKeyData)||void 0===o?void 0:o[e])?i.resolve(r.parsedKeyData[e]):i.reject(A.yw.authDrmAssetMetadataFailure(`Unable to read "${e}" from "Manifest" data source. Video engine did not provide it.`))}})))(n,r,e,{parsedKeyData:t,config:this._config,cmsComponent:this._components.cms,contentFileData:this._contentFileData,playCommandData:null===(o=this._playCommand)||void 0===o?void 0:o.contentData});return{source:r,task:a}}))}));const u=o.map((e=>{return t=e,n=a[e],i.TaskFactory.create((e=>{const r=(n,i)=>{const o=n.shift();if(!o)return e.reject(A.yw.authDrmAssetMetadataFailure(`Could not retrieve value for ${t}`).setMetadata({recoverySuggestion:A.D0.BACKEND_SERVICES_ERROR,subErrorCode:null==i?void 0:i.code.toString(),subErrorMessage:null==i?void 0:i.message}));o.task.execute().fold((e=>{w.debug(`Could not resolve requested value: "${t}" from source: "${o.source}", error: ${e}`),r(n,e)}),(n=>{w.debug(`Resolved requested value: "${t}" from source: "${o.source}"`),e.resolve(n)}))};if(0===n.length)return e.reject(A.yw.authDrmAssetMetadataFailure(`No retrieval tasks to process for requested value: "${t}", resolving with empty value`));r(n)}));var t,n}));i.TaskFactory.all(...u).fold((e=>{this._logger.error(`Error processing retrieval tasks for requested values: "${o.join(", ")}"`),n.reject(e)}),(e=>{const[t,r]=e;n.resolve({assetId:t,companyId:r})}))}))}_getPlaybackConfig(){return this._config.get("playback").toNullable()}_forceErrorTransition(e){return this._fireTransition(h.y.Error,[{error:e}])}_cancelTasks(){var e,t,n;null===(e=this._accessTokenRefreshTask)||void 0===e||e.cancel(),this._accessTokenRefreshTask=null,null===(t=this._cdnTokenResolutionTask)||void 0===t||t.cancel(),this._cdnTokenResolutionTask=null,null===(n=this._drmTokenResolutionTask)||void 0===n||n.cancel(),this._queuedDRMTokenResolutionTasks.length=0}_cancelHooks(){this._hooks&&(this._hooks.checkAutoPlay.cancel(),this._hooks.checkGDPRConsent.cancel(),this._hooks.authRefresh.cancel(),this._hooks.validateContentResolution.cancel(),this._hooks.validateDRMTokenRequest.cancel(),this._hooks.validateDRMTokenResponse.cancel())}_startMonitors(){this._monitors&&this._monitors.forEach((e=>{e.start()}))}_stopAndDestroyMonitors(){this._monitors&&(this._monitors.forEach((e=>{e.stop(),e.destroy()})),this._monitors.clear())}start(e){this._startTask=e,this._interruptData={responses:[],mode:l.Interrupt},this._fsm.init(p),this._fsm.events.listen(this._onFsmEvent),this._fireTransition(h.y.Initialize)}processCommand(e){if(e.type===s.GM.Proceed)this._fsm.attemptTransition(this._isInitialized?h.y.Validate:h.y.Prepare);else{const t=this._toComponentCommands(e);this._propagateCommands(...t)}}updateConfig(e){this._config.extend(e),this._components.modules.forEach((t=>{t.controller.updateConfig(e)})),this._timelineStrategy&&this._timelineStrategy.updateConfig(e),this.events.configUpdated.dispatch({config:this._config.toData()})}isRunning(){const e=null!==this._fsm.currentState(),t=this._fsm.cannotFireTransition(h.y.Initialize),n=this._fsm.currentState()===s.g7.Ended||this._fsm.currentState()===s.g7.Ending,r=this._fsm.currentState()!==s.g7.Initializing,i=!n&&!this.isWaiting()&&e&&t;return r&&i}isWaiting(){return this._fsm.currentState()===s.g7.Waiting}propagateNotification(e){this._components.modules.forEach((t=>{t.controller.handleModuleNotification(e)})),this._timelineStrategy&&this._timelineStrategy.handleModuleNotification(e),this._monitors&&this._monitors.forEach((t=>{t.handleModuleNotification(e)}))}completeNotification(e){switch(e.module){case s.PO.Video_Engine:this._onVideoEngineEvent(e.result);break;case s.PO.Timeline:case s.PO.Captions:case s.PO.Lifecycle:case s.PO.Analytics:case s.PO.Cues:case s.PO.UI:case s.PO.Mocks:case s.PO.Auth:break;default:throw new i.UnreachableCaseError(e.module)}}handlePlayerNotification(e){this._components.modules.forEach((t=>{t.controller.handlePlayerNotification(e)})),this._timelineStrategy&&this._timelineStrategy.handlePlayerNotification(e)}stop(){this._fsm.attemptTransition(h.y.Stop,[{interruptMode:l.Interrupt}])}}(this._playerId),this._setControllerListeners(!0),this._transaction=(0,i.createDeferred)();const r=(e.options||{}).config||{};G(this._logger,this._configManager.validate(r));let o=this._configManager.createConfigInstance(r);o=this._transformConfig(o);const a=this._getTransactionStartTask(e,o);this._transactionController.start(a),this._transaction.promise.then((e=>this._logger.debug(`Transaction ended successfully with state: ${e.state}`))).catch((e=>this._logger.error(`Transaction ended with an error: ${(0,i.stringify)(e.args)}`))),a.fold((e=>this._logger.warn(`Transaction start task errored: ${e}`)),(e=>this._logger.debug("Successful resolution of transaction start task"))),a.execute(),this._configManager.extend({playback:{autoPlay:!0}})}_transformConfig(e){if(!1===(e=this._pruneDebugConfig(e)).isSectionEnabled(s.ki.DRM)){const t=e.get("cms");if(t.isSome()){if(t.value.preferDRM=!1,t.value.providers){const e=(0,v.fromNullable)(t.value.providers[s.OS.MediaJSON]);if(e.isSome()){const n=e.value.mediaTypes||[];e.value.mediaTypes=n.filter((e=>{switch(e){case s.AR.MultiDRM:case s.AR.Fairplay:case s.AR.PlayReady:case s.AR.Primetime:case s.AR.Widevine:return this._logger.debug(`Removing ${e} from CMS media types because DRM is disabled`),!1;default:return!0}})),t.value.providers[s.OS.MediaJSON]=e.value}}e.set("cms",t.value)}e.set("auth.drm.enabled",!1)}return e}_onTransactionStateChanged(e){const{currentState:t,previousState:n,args:r}=e;switch(t){case s.g7.Ending:this._endingPreviousState=n;break;case s.g7.Ended:if(!this._transaction){this._logger.debug("[_onTransactionStateChanged] could not handle ended transition - no transaction found to resolve|reject");break}if(!this._endingPreviousState)return void this._logger.warn("[_onTransactionStateChanged] unknown previous state to `Ending`");const e={state:this._endingPreviousState,args:r};this._endingPreviousState===s.g7.Error?this._transaction.rejector(e):this._transaction.resolver(e)}this.events.stateChanged.dispatch(e)}_getTransactionPreloadTask(e,t){return i.TaskFactory.create((n=>{const r=Y.y.get(s.l0.CMS,K.d.Default,this._playerId);if(!r)return n.reject(b.yw.transactionComponentSetupFailure("default cms component not found"));const i=r.factory();this._resolveStringReplacedConfig(void 0,t).fold(n.reject,(t=>{i.load(e.contentData,t.toData().cms).fold(n.reject,n.resolve)})).execute()}))}_getTransactionStartTask(e,t){return i.TaskFactory.create((n=>{const r={},o=e=>{n.reject(Object.assign(Object.assign({},r),{error:e}))},a=()=>this._resolveStringReplacedConfig(r.playlistItem,t).fold(o,(e=>r.config=e)),u=()=>i.TaskFactory.create((n=>{if(!this._hooks)return o(b.yw.transactionInitFailure("Missing required hooks collection during transaction CMS resolution"));const a=r.components.cms,u=e.options||{},c=this._hooks.validateContentResolution;(function(e,t,n,r){return i.TaskFactory.create((o=>{const a=n.contentData;if(!a)return o.reject(A.yw.cmsResolutionFailure(`Unresolvable play data ${a}`));t.isSectionEnabled(s.ki.Ads)&&function(e,t){const{profile:n}=e.getOrElseNullable("ads",{});(0,P.wj)(t)&&n&&(t.kvps=Object.assign({ssaiProfile:n},t.kvps))}(t,a);const u=t.getOrElse("cms",C.Az.config.cms);e.load(a,u).execute().fold((e=>o.reject(e)),(e=>{r.execute({data:i.ObjectUtils.extendDeep({},e)}).fold((e=>o.reject(e)),(e=>o.resolve(e.data)))}))})).execute()})(a,t,e,c).fold(o,(e=>{const s=t.getOrElse("cms",z.A.config.cms),c=function(e,t){return i.ObjectUtils.extendDeep({},{id:`playlist-item-${e.id}`,entry:e,options:(0,v.fromNullable)(t).getOrElse({})})}(e,u);(function(e,t,n){return i.TaskFactory.create((r=>e.selectContent(t,n).fold((e=>r.reject(e)),(e=>{e.url?r.resolve(e):r.reject(A.yw.cmsSelectionFailure("Resolved content file entry has no playback URL"))})))).execute()})(a,e,s).fold(o,(e=>{r.playlistItem=c,r.contentFileData=e,n.resolve()}))}))})),c=()=>this._resolveTimelineStrategy(r.config,r.playlistItem).fold(o,(e=>{r.timeline=e[0],r.timelineStrategy=e[1]}));(()=>this._createComponents(t).fold(o,(e=>r.components=e)))().execute().onResolved((()=>{a().execute().onResolved((()=>{u().execute().onResolved((()=>{i.TaskFactory.create((e=>{const{entry:n,options:i}=r.playlistItem,o=t.getOrElseNullable("ads.enabled",!1);void 0===i.assetType&&o&&(i.assetType=n.isLive?s.ct.DVRLIVE:s.ct.VOD),e.resolve()})).execute().onResolved((()=>{c().execute().onResolved((()=>{if(!this._hooks)return o(b.yw.transactionInitFailure("Missing required hooks collection during player initialization"));const i=this._getAuthTokenFromPlaylistItem(r.playlistItem),a=this._setupMonitors(t.toData(),r.playlistItem),s={command:e,config:t,authToken:i,contentFileData:r.contentFileData,playlistItem:r.playlistItem,components:r.components,model:this._model,timeline:r.timeline,timelineStrategy:r.timelineStrategy,selectedCCProvider:this._selectedCCProvider,hooks:this._hooks,monitors:a};n.resolve(s)}))}))}))}))}))}))}_createComponents(e){return i.TaskFactory.create((t=>{const n=e.getOrElse("playback.components",{});Object.keys(n).forEach((t=>{const r=t,o=i.ObjectUtils.get(n,r),a=Y.y.get(r,o,this._playerId);if(a)switch(r){case s.l0.Video_Engine:const t=a.factory();this._components.modules.set(r,{controller:new X.m(t),required:!0});break;case s.l0.Captions:const n=this._selectedCCProvider=new Q.d,o=a.factory(n);this._components.modules.set(r,{controller:new J.T(o,this._storedCaptionSettings.system,this._storedCaptionSettings.user),required:!1});break;case s.l0.Analytics:if(e.isSectionEnabled(s.ki.Analytics)){const t=new Z.j(this._analyticsMeasurer);this._components.modules.set(r,{controller:t,required:!1}),t.initialize({playerConfig:e.toData(),playerModel:this._model}).execute()}break;case s.l0.Lifecycle:e.isSectionEnabled(s.ki.Lifecycle)&&this._components.modules.set(r,{controller:new ee.h,required:!0});break;case s.l0.Cues:const u=a.factory();this._components.modules.set(r,{controller:new ie(u),required:!1});break;case s.l0.Mocks:const c=a.factory();this._components.modules.set(r,{controller:new ue(c),required:!1});break;case s.l0.Custom:case s.l0.PlatformHelper:case s.l0.Auth:case s.l0.AuthDRM:case s.l0.CMS:case s.l0.UI:break;default:throw new i.UnreachableCaseError(r)}else this._logger.warn(`Could not find component by category/URI: ${r}/${o}`)})),[{category:s.l0.Auth,URI:ce.p.Default},{category:s.l0.AuthDRM,URI:le.P.Default},{category:s.l0.CMS,URI:K.d.Default}].forEach((e=>{const{category:t,URI:n}=e,r=Y.y.get(t,n,this._playerId);i.ObjectUtils.set(this._components,t,r.factory())})),t.resolve(this._components)}))}_resolveTimelineStrategy(e,t){return i.TaskFactory.create((n=>{const r=(new be.T).init({allowDuplicates:!1}),i=(t.entry.isLive?new ge:new ye).init({config:e.toData(),model:this._model,timeline:r,playlistItem:t});n.resolve([r,i])}))}_resolveStringReplacedConfig(e,t){return i.TaskFactory.create((n=>{this._replacer.init({playlistItem:e,configMetadata:t.getOrElse("metadata",{}),contentEntryMetadata:{}}),this._parsePlayConfig(this._replacer,t),n.resolve(t)}))}_stopController(){this._transactionController?this._transactionController.stop():this._logger.warn("[_stopController] could not stop controller")}_passthroughCommand(e){this._transactionController?this._transactionController.processCommand(e):this._logger.warn("[_passthroughCommand] could not pass command through to controller")}_setControllerListeners(e){this._transactionController?e?this._transactionController.events.listen(this._onTransactionEvent):this._transactionController.events.unlistenAll():this._logger.warn("[_setControllerListeners] controller not found")}_parsePlayConfig(e,t){const n=t.toData();e.setupConfigTokenReplacement(n),t.extend(n)}_pruneDebugConfig(e){const t=e.getOrElse("debug.enabled",!1),n=e.getOrElse("analytics.conviva.touchstoneUrl",null);return!t&&n&&e.set("analytics.conviva.touchstoneUrl",null),e}_setupMonitors(e,t){const n=new Map;return Object.keys(e.monitors).forEach((r=>{const i=r,o=e.monitors[i];if(o.enabled)switch(i){case O.T0.Concurrency:n.set(i,new Pe.qj(this._model,e.auth.drm,o));break;case O.T0.Content_Stall:n.set(i,new Se.s(this._model,o));break;case O.T0.Live_Ad_Session:e.ads.enabled&&t.entry.isLive&&n.set(i,new Ee.U(this._model,o));break;case O.T0.Prune:n.set(i,new $e.a(this._model,o));break;default:this._logger.warn(`Monitor ${i} was enabled but not created`)}else this._logger.info(`Monitor ${i} is disabled, skipping creation...`)})),n.forEach(((e,t)=>{this._logger.debug(`Monitor "${t}" was created`)})),n}_getAuthTokenFromPlaylistItem(e){const{accessToken:t,accessTokenType:n}=e.options;return t?new E.H(t,n||i.AuthTokenType.Adobe):null}init(e,t){var n;this._model=e.model,this._hooks=e.hooks;const r=this._configManager.extend(e.config);this._replacer.init({configMetadata:null!==(n=r.metadata)&&void 0!==n?n:{},playlistItem:{},contentEntryMetadata:{}}),this._replacer.setupConfigTokenReplacement(r),this.events.configUpdated.dispatch({config:r});const o=[{category:s.l0.UI,URI:Te.h.Default}],a=[];return o.filter((e=>{var t;const{category:n,URI:i}=e;return!(!(null===(t=r.playback)||void 0===t?void 0:t.components)||r.playback.components[n]!==i)})).forEach((e=>{const{category:n,URI:i}=e,o=Y.y.get(n,i,this._playerId);if(!o)return void this._logger.warn(`Could not find component by category/URI: ${n}/${i}`);const u=o.factory();n===s.l0.UI&&(u.setPlatformHelper(t),u.moduleNotification.listen((e=>{this.events.moduleNotification.dispatch(e)}))),a.push(u.setup({playerConfig:r})),this._loadedAndSetupInitComponents[n]=u})),i.TaskFactory.all(...a).execute()}processCommandWithResult(e){return e.type===s.GM.Preload_Content?this._processPreloadCommand(e):Promise.reject("unhandled command type")}processCommand(e){var t,n,r,o,a;switch(e.type){case s.GM.Play:const u=e,c=null!==(r=null===(n=null===(t=u.options)||void 0===t?void 0:t.config)||void 0===n?void 0:n.metadata)&&void 0!==r?r:{};this._logger.info("[processCommand] Play - Checking if platform specific metadata can be applied"),(null===(o=this._hooks)||void 0===o?void 0:o.addPlatformMetadata.hasRegisteredHandlers)?this._hooks.addPlatformMetadata.execute({metadata:c}).fold((e=>{this._logger.warn(`[processCommand] Play - Unable to append platform specific metadata: ${e}`),this._processPlayCommand(u)}),(e=>{i.ObjectUtils.set(u,"options.config.metadata",e.metadata),this._logger.info("[processCommand] Play - Platform metadata retrieved"),this._processPlayCommand(u)})):(this._logger.info("[processCommand] Play - No platform metadata hooks registered, proceeding as normal"),this._processPlayCommand(u));break;case s.GM.Stop:this._stopController();break;case s.GM.Captions_Update_Settings:if(null===(a=this._transactionController)||void 0===a?void 0:a.isRunning())this._passthroughCommand(e);else{this._logger.debug("[processCommand] captionUpdateSettings called without TransactionController, storing settings for future play session"),this._storedCaptionSettings[e.source]=e.settings;const t={settings:(0,Ae.fh)(this._storedCaptionSettings.system,this._storedCaptionSettings.user),type:Ce.o.Settings_Updated};this.events.moduleNotification.dispatch({module:s.PO.Captions,category:s.SQ.Component_Event,result:t})}break;case s.GM.Send_Message_To_UI:const l=this._loadedAndSetupInitComponents.ui;l&&l.processCommand(e);break;case s.GM.Destroy:this._logger.warn("[processCommand] destroy command unsupported");break;default:this._passthroughCommand(e)}}updateConfig(e){this._replacer.setupConfigTokenReplacement(e),G(this._logger,this._configManager.validate(e));const t=this._configManager.merge(e);if(this._configManager.extend(t),!this.isRunning())return void this._logger.debug("[updateConfig] not propagating changes to controller - not available");const n=this._configManager.getImmediatelyUpdatableConfig(t),r=new s.sG(n),i=this._transformConfig(r).toData();this._transactionController?this._transactionController.updateConfig(i):this._logger.warn("[updateConfig] controller not available")}isRunning(){var e,t;return null!==(t=null===(e=this._transactionController)||void 0===e?void 0:e.isRunning())&&void 0!==t&&t}propagateNotification(e){this._analyticsMeasurer.handleModuleNotification(e),this._transactionController?this._transactionController.propagateNotification(e):this._logger.warn("[propagateNotification] could not pass through to controller")}completeNotification(e){this._transactionController?this._transactionController.completeNotification(e):this._logger.warn("[completeNotification] could not pass through to controller")}handlePlayerNotification(e){var t,n;this._analyticsMeasurer.handlePlayerNotification(e),(null===(t=this._transactionController)||void 0===t?void 0:t.isRunning())||(null===(n=this._transactionController)||void 0===n?void 0:n.isWaiting())?this._transactionController.handlePlayerNotification(e):this._logger.warn("[handlePlayerNotification] could not pass through to controller")}destroy(){var e,t;this._transactionController&&this._transactionController.stop(),this._transactionController=null,this._selectedCCProvider&&(this._selectedCCProvider.destroy(),this._selectedCCProvider=null),null===(e=this._loadedAndSetupInitComponents.ui)||void 0===e||e.moduleNotification.unlistenAll(),null===(t=this._loadedAndSetupInitComponents.ui)||void 0===t||t.destroy(),this._analyticsMeasurer.destroy()}getThumbnail(e){var t;(null===(t=this._components.modules.get(s.l0.Video_Engine))||void 0===t?void 0:t.controller).getThumbnail(e)}}(this._playerId),this._bindings.push(this._transactionManager.events.listen(this._onTransactionEvent));const t=Y.y.get(s.l0.PlatformHelper,Ve.S.Default,this._playerId);this._platformHelper=t.factory(),this._transactionManager.init({container:this._setupConfigData.getOrElse("container",null),config:this._setupConfigData.getOrElse("config",{}),model:this.model,hooks:this.hooks},this._platformHelper).fold((e=>{this._fsm.fireTransition(De.U.Error,[{error:e}])}),(()=>{this._fsm.fireTransition(De.U.Initialized)}));break;case Le.X.Error:this._fsm.fireTransition(De.U.Error,e.args)}}_onViewStateChanged(e){switch(this.model.handleViewStateChange(e),this._notifyViewStateChanged(e.previousState,e.currentState,e.args),e.currentState){case s.f7.Created:const t=this._queuedExtCommands.filter((e=>e.type===s.GM.Attach));this._queuedExtCommands=this._queuedExtCommands.filter((e=>e.type!==s.GM.Attach)),t.forEach((e=>{this._logger.verbose(`[_onFsmEvent:Initialized] processing external API Command: ${e.type}`),this.processCommand(e)}));break;case s.f7.Attaching:this._fsm.fireTransition(De.U.Attach);break;case s.f7.Attached:this.model.rootContainer&&this.model.subContainer?this._fsm.fireTransition(De.U.Attached):this._fsm.fireTransition(De.U.Error,[{description:"Missing root or sub container references"}]);break;case s.f7.Detaching:this._fsm.attemptTransition(De.U.Detach);break;case s.f7.Detached:this._fsm.attemptTransition(De.U.Detached);break;case s.f7.Destroyed:this._fsm.fireTransition(De.U.Destroyed);break;case s.f7.Error:this._fsm.fireTransition(De.U.Error,e.args)}}init(e){this._platformInfoTask.onResolved((()=>{this._fsm.init(c),this._bindings.push(this._fsm.events.listen(this._onFsmEvent)),this._initController=new class{constructor(e){this._onFsmEvent=(e,t)=>{const n=t.from,r=t.to;switch(e){case i.FsmEventType.State_Changed:if(this._notifyStateChanged(n,r),r===Le.X.Initializing){if(!this._hasRequiredComponents())return this._logger.warn("[_onFsmEvent] Component registry is missing required components"),void this._fsm.fireTransition(Le.W.Error,[{error:A.yw.playerInitFailure("Component registry is missing required components")}]);this._validateAndApplyConfig(this._rawConfig),this._fsm.fireTransition(Le.W.Initialized)}break;case i.FsmEventType.Error:this._notifyStateChanged(this._fsm.currentState(),Le.X.Error)}},this._playerId=e,this._logger=i.Log.getLogger(`InitController${this._playerId}`),this.events=(0,xe.MQ)(),this._rawConfig={},this._fsm=new i.Fsm,this._bindings=[],this._configManager=new C.DJ(C.Az,(0,Be.B_)(!0),j)}_notifyStateChanged(e,t,n){this._logger.info(`[_notifyStateChanged] ${e} -> ${t}`),this.events.stateChanged.dispatch({previousState:e,currentState:t,args:n})}_validateAndApplyConfig(e){return G(this._logger,this._configManager.validate(e)),this._configManager.apply(e)}_hasRequiredComponents(){const e=Ne.y.getAllByCategory(s.l0.Video_Engine,this._playerId),t=Ne.y.getAllByCategory(s.l0.PlatformHelper,this._playerId),n=e.length>0,r=t.length>0;return n&&r}init(e){this._rawConfig=e,this._fsm.init(Ue),this._bindings.push(this._fsm.events.listen(this._onFsmEvent)),this._fsm.fireTransition(Le.W.Initialize)}get config(){return this._configManager.createConfigInstance().toData()}destroy(){this._bindings.forEach((e=>e.detach())),this._bindings=[]}}(this._playerId),this._initController.events.listen(this._onInitEvent),this._initController.init(e)}))}processCommandWithResult(e){if(Ie.canProcess(e,this.model)&&this._transactionManager){const{playerState:t,contentState:n}=this.model;return this._logger.verbose(`[processCommand] processing: ${e.type} | player/content - ${t}/${n}`),this._transactionManager.processCommandWithResult(e)}return this.rejectMediaCommand(e),Promise.reject(`Command "${e.type}" rejected due to invalid state.`)}processCommand(e){const{playerState:t,contentState:n}=this.model;Ie.canProcess(e,this.model)?(this._logger.verbose(`[processCommand] type: ${e.type}, player: ${t}, content: ${n}`),this._opsManager.queueCommandOp(this._processCommandOp,e)):Ie.canFutureQueue(t)?(this._logger.verbose(`[processCommand] holding... type: ${e.type}, player: ${t}, content: ${n}`),this._queuedExtCommands.push(e)):this.rejectMediaCommand(e)}rejectMediaCommand(e){const{playerState:t,contentState:n}=this.model,{type:r}=e,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["type"]);this._logger.verbose(`[rejectMediaCommand] type: ${r}, player: ${t}, content: ${n}`),this.events.moduleNotification.dispatch({module:s.PO.Video_Engine,category:s.SQ.Component_Event,result:{type:s.n_.Media_Command_Rejected,command:r,args:i}})}destroy(){return this._platformInfoTask.running&&this._platformInfoTask.cancel(),this.processCommand({type:s.GM.Destroy}),this._destroyDeferred=(0,i.createDeferred)(),this._destroyDeferred.promise}getThumbnail(e){var t;null===(t=this._transactionManager)||void 0===t||t.getThumbnail(e)}}},38197:(e,t,n)=>{"use strict";var r,i;n.d(t,{A:()=>r,K:()=>i}),function(e){e.Init="init",e.View="view",e.Transaction="transaction",e.Player="player",e.Monitors="monitors"}(r||(r={})),function(e){e.State_Changed="stateChanged",e.Prune="prune"}(i||(i={}))},2844:(e,t,n)=>{"use strict";n.d(t,{M:()=>o,e:()=>a});var r=n(17306);const i=()=>({stateChanged:(0,r.createEvent)(a.State_Changed)});function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.State_Changed="stateChanged"}(a||(a={}))},53418:(e,t,n)=>{"use strict";n.d(t,{E:()=>r,e:()=>a});var r,i=n(17306);!function(e){e.Player_Error="playerError",e.Player_State_Changed="playerControllerStateChanged",e.View_State_Changed="viewStateChanged",e.Module_Notification="playerModuleNotification",e.Transaction_State_Changed="playerTransactionStateChanged",e.Transaction_Config_Updated="playerTransactionConfigUpdated"}(r||(r={}));const o=()=>({playerError:(0,i.createEvent)(r.Player_Error),playerStateChanged:(0,i.createEvent)(r.Player_State_Changed),viewStateChanged:(0,i.createEvent)(r.View_State_Changed),moduleNotification:(0,i.createEvent)(r.Module_Notification),transactionStateChanged:(0,i.createEvent)(r.Transaction_State_Changed),transactionConfigUpdated:(0,i.createEvent)(r.Transaction_Config_Updated)});function a(){return(0,i.createEventCollection)(o())}},23825:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(17306),i=n(85654);const o=()=>({moduleNotification:(0,r.createEvent)(i.iE.Module_Notification),stateChanged:(0,r.createEvent)(i.iE.State_Changed),configUpdated:(0,r.createEvent)(i.iE.Config_Updated)});function a(){return(0,r.createEventCollection)(o())}},2063:(e,t,n)=>{"use strict";n.d(t,{B0:()=>a,uW:()=>o});var r=n(17306);const i=()=>{return{stateChanged:(e=a.State_Changed,(0,r.createEvent)(e))};var e};function o(){return(0,r.createEventCollection)(i())}var a;!function(e){e.State_Changed="stateChanged"}(a||(a={}))},9027:(e,t,n)=>{"use strict";n.d(t,{MQ:()=>i.M,uW:()=>r.uW});var r=n(2063),i=(n(53418),n(23825),n(2844))},12550:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>l,O_:()=>o,Ye:()=>u,dB:()=>a,dq:()=>c,jr:()=>s});var r=n(17306),i=n(85654);function o(){return new r.CoreHook}function a(){return{[i.Jz.Check_Auto_Play]:o(),[i.Jz.Check_GDPR_Consent]:o(),[i.Jz.Add_Platform_Metadata]:o(),[i.Jz.Auth_Refresh]:o(),[i.Jz.Validate_Content_Resolution]:o(),[i.Jz.Validate_DRM_Token_Request]:o(),[i.Jz.Validate_DRM_Token_Response]:o()}}function s(e,t){Object.keys(t).forEach((n=>{const r=n,i=t[r];i&&i.forEach((t=>e.add(t,r)))}))}function u(e,t){return Object.keys(t).forEach((n=>{const r=n,i=e[r],o=t[r];o&&s(i,o)})),e}function c(e){Object.keys(e).forEach((t=>{e[t].clearAll()}))}function l(e){return{set:t=>e.set(t,r.HookHandlerType.Peripheral),clear:()=>e.clear(r.HookHandlerType.Peripheral)}}},79313:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>f.Ck,xw:()=>_,dq:()=>f.dq,O_:()=>f.O_,dB:()=>f.dB,jr:()=>f.jr,Ye:()=>f.Ye});var r,i,o,a,s,u,c,l=n(17306),d=n(85654);class _{constructor(){this[r]=l.BaseHook.createFor(d.Jz.Add_Platform_Metadata),this[i]=l.BaseHook.createFor(d.Jz.Auth_Refresh),this[o]=l.BaseHook.createFor(d.Jz.Check_Auto_Play),this[a]=l.BaseHook.createFor(d.Jz.Check_GDPR_Consent),this[s]=l.BaseHook.createFor(d.Jz.Validate_Content_Resolution),this[u]=l.BaseHook.createFor(d.Jz.Validate_DRM_Token_Request),this[c]=l.BaseHook.createFor(d.Jz.Validate_DRM_Token_Response)}handlers(){return{[d.Jz.Add_Platform_Metadata]:this[d.Jz.Add_Platform_Metadata].handlers,[d.Jz.Auth_Refresh]:this[d.Jz.Auth_Refresh].handlers,[d.Jz.Check_Auto_Play]:this[d.Jz.Check_Auto_Play].handlers,[d.Jz.Check_GDPR_Consent]:this[d.Jz.Check_GDPR_Consent].handlers,[d.Jz.Validate_Content_Resolution]:this[d.Jz.Validate_Content_Resolution].handlers,[d.Jz.Validate_DRM_Token_Request]:this[d.Jz.Validate_DRM_Token_Request].handlers,[d.Jz.Validate_DRM_Token_Response]:this[d.Jz.Validate_DRM_Token_Response].handlers}}}r=d.Jz.Add_Platform_Metadata,i=d.Jz.Auth_Refresh,o=d.Jz.Check_Auto_Play,a=d.Jz.Check_GDPR_Consent,s=d.Jz.Validate_Content_Resolution,u=d.Jz.Validate_DRM_Token_Request,c=d.Jz.Validate_DRM_Token_Response;var f=n(12550)},57813:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>r.Ck,Z$:()=>i.Z,xw:()=>r.xw,N5:()=>o.Z,dq:()=>r.dq,O_:()=>r.O_,dB:()=>r.dB,jr:()=>r.jr,Ye:()=>r.Ye});var r=n(79313),i=n(11278),o=n(26755)},50105:(e,t,n)=>{"use strict";n.d(t,{h:()=>i,x:()=>o});var r=n(17306);const i={device:{displayParameters:{longDimension:-1,shortDimension:-1,token:""}},application:{},nexus:{}};function o(e){"number"==typeof e.device.softwareVersion&&(e.device.softwareVersion=e.device.softwareVersion.toString()),r.ObjectUtils.extendDeep(i,e)}},26755:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(17306),i=n(70895),o=n(9027),a=n(85654);const s={initial:{name:i.c.Start,state:a.f7.Pending},events:[{name:i.c.Create,from:[a.f7.Pending],to:a.f7.Creating},{name:i.c.Created,from:[a.f7.Creating],to:a.f7.Created},{name:i.c.Attach,from:[a.f7.Created,a.f7.Detached],to:a.f7.Attaching},{name:i.c.Attached,from:[a.f7.Attaching,a.f7.Attached],to:a.f7.Attached},{name:i.c.Windowed,from:[a.f7.Attached,a.f7.Entering_Fullscreen,a.f7.Exiting_Fullscreen,a.f7.Exiting_Remote,a.f7.Exiting_Picture_In_Picture],to:a.f7.Windowed},{name:i.c.Enter_Fullscreen,from:[a.f7.Windowed,a.f7.Remote],to:a.f7.Entering_Fullscreen},{name:i.c.Fullscreen,from:[a.f7.Attached,a.f7.Entering_Fullscreen,a.f7.Exiting_Fullscreen,a.f7.Exiting_Remote,a.f7.Exiting_Picture_In_Picture],to:a.f7.Fullscreen},{name:i.c.Exit_Fullscreen,from:[a.f7.Fullscreen,a.f7.Remote],to:a.f7.Exiting_Fullscreen},{name:i.c.Enter_Remote,from:[a.f7.Windowed,a.f7.Fullscreen,a.f7.Attached],to:a.f7.Entering_Remote},{name:i.c.Remote,from:[a.f7.Entering_Remote,a.f7.Entering_Fullscreen,a.f7.Exiting_Fullscreen],to:a.f7.Remote},{name:i.c.Exit_Remote,from:[a.f7.Remote],to:a.f7.Exiting_Remote},{name:i.c.Enter_Picture_In_Picture,from:[a.f7.Windowed,a.f7.Fullscreen],to:a.f7.Entering_Picture_In_Picture},{name:i.c.Picture_In_Picture,from:[a.f7.Entering_Picture_In_Picture],to:a.f7.Picture_In_Picture},{name:i.c.Exit_Picture_In_Picture,from:[a.f7.Picture_In_Picture],to:a.f7.Exiting_Picture_In_Picture},{name:i.c.Detach,from:[a.f7.Windowed,a.f7.Fullscreen,a.f7.Remote],to:a.f7.Detaching},{name:i.c.Detached,from:[a.f7.Detaching],to:a.f7.Detached},{name:i.c.Destroy,to:a.f7.Destroying},{name:i.c.Destroyed,from:[a.f7.Destroying],to:a.f7.Destroyed},{name:i.c.Error,to:a.f7.Error}]};var u=n(41497),c=n(72720);const l=class{constructor(e,t){this._detachOpts={exitFullscreenOnDetach:!1},this._viewStateOnDetach=a.f7.Windowed,this._viewStateOnExitRemote=a.f7.Windowed,this._viewStateOnEnterFullscreen=a.f7.Fullscreen,this._viewStateOnExitFullscreen=a.f7.Windowed,this._viewStateOnExitPiP=a.f7.Fullscreen,this._onFsmEvent=(e,t)=>{const n=t.from,o=t.to,s=t.args;switch(e){case r.FsmEventType.State_Entered:switch(o){case a.f7.Attached:this._isAttached=!0;break;case a.f7.Detached:this._isAttached=!1;break;case a.f7.Entering_Fullscreen:this._viewStateOnExitRemote=a.f7.Fullscreen;break;case a.f7.Exiting_Fullscreen:this._viewStateOnExitRemote=a.f7.Windowed;break;case a.f7.Exiting_Remote:this._viewStateOnEnterFullscreen=a.f7.Fullscreen;break;case a.f7.Fullscreen:this._viewStateOnDetach=a.f7.Fullscreen,this._viewStateOnExitRemote=a.f7.Fullscreen,this._viewStateOnExitFullscreen=a.f7.Windowed,this._viewStateOnExitPiP=a.f7.Fullscreen;break;case a.f7.Remote:this._viewStateOnDetach=a.f7.Remote,this._viewStateOnEnterFullscreen=a.f7.Remote,this._viewStateOnExitFullscreen=a.f7.Remote;break;case a.f7.Windowed:this._viewStateOnDetach=a.f7.Windowed,this._viewStateOnExitRemote=a.f7.Windowed,this._viewStateOnEnterFullscreen=a.f7.Fullscreen,this._viewStateOnExitFullscreen=a.f7.Windowed,this._viewStateOnExitPiP=a.f7.Windowed}break;case r.FsmEventType.State_Changed:switch(this._notifyStateChanged(n,o,s),o){case a.f7.Creating:{const e=s[0];this._activeTask=this._platformHelper.createSubstructure().onCompleted((()=>{this._activeTask=null})).fold((e=>this._fsm.fireTransition(i.c.Error,[{error:e}])),(()=>this._fsm.fireTransition(i.c.Created,[e])));break}case a.f7.Created:{const e=s[0];(0,c.fromNullable)(e).getOrElse(!1)?this._fsm.fireTransition(i.c.Attach,[e]):this._logger.warn("[ViewController] A container must be provided before the player can be attached. Please provide one through configuration or call the attach API.");break}case a.f7.Attaching:{const e=s[0];this._activeTask=this._platformHelper.attachToContainer(e).onCompleted((()=>{this._activeTask=null})).fold((e=>this._fsm.fireTransition(i.c.Error,[{error:e}])),(e=>{const{root:t,sub:n}=e;this._fsm.fireTransition(i.c.Attached,[{root:t,sub:n}])}));break}case a.f7.Attached:if(this._detachOpts.exitFullscreenOnDetach)this._fsm.fireTransition(i.c.Windowed);else switch(this._viewStateOnDetach){case a.f7.Remote:this._fsm.fireTransition(i.c.Remote);break;case a.f7.Fullscreen:this._fsm.fireTransition(i.c.Fullscreen);break;case a.f7.Windowed:this._fsm.fireTransition(i.c.Windowed)}break;case a.f7.Entering_Fullscreen:this._platformHelper.enterFullscreen().fold((e=>{this._logger.warn(`Could not enter fullscreen: ${e}`),this._fsm.attemptTransition(i.c.Windowed)}),(()=>{switch(this._viewStateOnEnterFullscreen){case a.f7.Fullscreen:this._fsm.fireTransition(i.c.Fullscreen);break;case a.f7.Remote:this._fsm.fireTransition(i.c.Remote)}}));break;case a.f7.Exiting_Fullscreen:this._platformHelper.exitFullscreen().fold((e=>{this._logger.warn(`Could not exit fullscreen: ${e}`),this._fsm.attemptTransition(i.c.Fullscreen)}),(()=>{switch(this._viewStateOnExitFullscreen){case a.f7.Windowed:this._fsm.fireTransition(i.c.Windowed);break;case a.f7.Remote:this._fsm.fireTransition(i.c.Remote)}}));break;case a.f7.Entering_Remote:this._fsm.fireTransition(i.c.Remote);break;case a.f7.Exiting_Remote:switch(this._viewStateOnExitRemote){case a.f7.Windowed:this._fsm.fireTransition(i.c.Windowed);break;case a.f7.Fullscreen:this._fsm.fireTransition(i.c.Fullscreen)}break;case a.f7.Entering_Picture_In_Picture:this._fsm.fireTransition(i.c.Picture_In_Picture);break;case a.f7.Exiting_Picture_In_Picture:switch(this._viewStateOnExitPiP){case a.f7.Fullscreen:this._fsm.fireTransition(i.c.Fullscreen);break;case a.f7.Windowed:this._fsm.fireTransition(i.c.Windowed)}break;case a.f7.Detaching:{const e=s.length?s[0]:"";this._detachTask=this._platformHelper.releaseFromContainer().onCompleted((()=>{this._detachTask=null})).fold((e=>this._fsm.fireTransition(i.c.Error,[{error:e}])),(()=>{this._fsm.fireTransition(i.c.Detached,[e])}));break}case a.f7.Detached:"destroy"===(s.length?s[0]:"")&&this._fsm.fireTransition(i.c.Destroy);break;case a.f7.Destroying:this._activeTask&&(this._activeTask.cancel(),this._activeTask=null),this._detachTask?this._detachTask.onCompleted((()=>{this._fsm.fireTransition(i.c.Destroyed)})):this._fsm.fireTransition(i.c.Destroyed);break;case a.f7.Destroyed:this._bindings.forEach((e=>e.detach())),this._bindings=[],this._fsm=null}break;case r.FsmEventType.Error:this._notifyStateChanged(this._fsm.currentState(),a.f7.Error)}},this._onPlatformEvent=(e,t)=>{switch(e){case u.vX.Fullscreen_Entered:this._fsm.attemptTransition(i.c.Enter_Fullscreen);break;case u.vX.Fullscreen_Exited:this._fsm.attemptTransition(i.c.Exit_Fullscreen);break;default:throw new r.UnreachableCaseError(e)}},this._playerId=e,this._logger=r.Log.getLogger(`ViewController${this._playerId}`),this.events=(0,o.uW)(),this._fsm=new r.Fsm,this._isAttached=!1,this._activeTask=null,this._detachTask=null,this._platformHelper=t,this._bindings=[this._platformHelper.events.listen(this._onPlatformEvent)]}_notifyStateChanged(e,t,n){this._logger.info(`[_notifyStateChanged] ${e} -> ${t}`),this.events.stateChanged.dispatch({previousState:e,currentState:t,args:n})}init(e){this._fsm.init(s),this._bindings.push(this._fsm.events.listen(this._onFsmEvent)),this._fsm.fireTransition(i.c.Create,[e.container])}canAttach(){return this._fsm.canFireTransition(i.c.Attach)}attach(e){this._detachTask?this._detachTask.onCompleted((()=>{this._fsm.attemptTransition(i.c.Attach,[e])})):this._fsm.attemptTransition(i.c.Attach,[e])}isAttached(){return this._isAttached}isFullscreen(){return this._fsm.currentState()===a.f7.Fullscreen}enterFullscreen(){this._fsm.attemptTransition(i.c.Enter_Fullscreen)}exitFullscreen(){this._fsm.attemptTransition(i.c.Exit_Fullscreen)}enterRemotePlayback(){this._fsm.attemptTransition(i.c.Enter_Remote)}exitRemotePlayback(){this._fsm.attemptTransition(i.c.Exit_Remote)}pictureInPictureEntered(){this._fsm.attemptTransition(i.c.Enter_Picture_In_Picture)}pictureInPictureExited(){this._fsm.attemptTransition(i.c.Exit_Picture_In_Picture)}canDetach(){return this._fsm.canFireTransition(i.c.Detach)}detach(e){this._detachOpts=e,this._fsm.attemptTransition(i.c.Detach)}destroy(){this.isAttached()?this._fsm.attemptTransition(i.c.Detach,["destroy"]):this._fsm.attemptTransition(i.c.Destroy)}handleModuleNotification(e){const t=e.module,n=e.result;if(t===a.PO.Video_Engine)switch(n.type){case a.n_.Remote_Playback_Selected:this.enterRemotePlayback();break;case a.n_.Remote_Playback_Deselected:this.exitRemotePlayback()}}}},40908:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});const r={platformInfo:null,storedPromise:null,callback:()=>{},setup:e=>{if(r.platformInfo=[],e.config){const t=e.config.metadata;if(t)switch(t.platform){case"ios":r.platformInfo=["com.apple.fairplay","com.apple.fps.2_0","com.apple.fps.1_0"];break;case"android":r.platformInfo=["com.widevine.alpha"]}}r.storedPromise&&r.callback()},getSupportedDRMs:()=>(r.storedPromise=new Promise(((e,t)=>{if(r.platformInfo)return e(r.platformInfo);r.callback=()=>r.platformInfo?e(r.platformInfo):t("callback called without any stored platform data")})),r.storedPromise)}},6273:(e,t,n)=>{"use strict";n.r(t),n(6673);var r=n(29093),i={};for(const e in r)"default"!==e&&(i[e]=()=>r[e]);n.d(t,i)},91920:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AdBreakPosition:()=>a.RI,AdErrorType:()=>a.Ji,AdState:()=>a.M9,AnalyticsMarkName:()=>a.$x,AnalyticsMeasureName:()=>a.e1,AuthCdnTokenType:()=>a.Dt,AuthDrmTokenType:()=>a.de,CCChannel:()=>a.zt,CCLang:()=>a.gB,CCSettingsSource:()=>a.D,CCSource:()=>a.Jc,CCState:()=>a.IM,CategoryCode:()=>a.Vw,CategoryType:()=>a.a9,CmsProviderKey:()=>a.OS,Color:()=>a.Il,ComScoreMediaType:()=>a.Dn,ComponentCategory:()=>a.l0,ConfigInstance:()=>a.sG,ContentAssetType:()=>a.ct,ContentEntryBuilder:()=>a.Fb,ContentEntryDataBuilder:()=>a.cp,ContentEntryOptionsBuilder:()=>a.Qg,ContentProtectionType:()=>a.AR,CueEventType:()=>a.dN,CueHelpers:()=>a.TO,CueSource:()=>a.Cq,CueState:()=>a.uV,CueType:()=>a.tg,DRMDataSource:()=>a.JC,DeviceType:()=>a.Yi,Domain:()=>a.qp,Edge:()=>a.kS,EncryptionMode:()=>a.x,ErrorSeverity:()=>a.Wk,FontType:()=>a.Ky,GDPRConsentErrors:()=>a.xh,KeySystems:()=>a.CE,LifecycleAction:()=>a.Rg,LifecycleState:()=>a.um,MarkerEventType:()=>a.x4,MarkerType:()=>a.QZ,MediaDeliveryType:()=>a.cA,MediaFileType:()=>a.FO,MediaJSONPlatform:()=>a.k8,MediaState:()=>a.gC,MediumVersion:()=>a.Tf,MockMessageTriggerName:()=>a.lj,MockMessageType:()=>a.f9,MocksHelpers:()=>a.pv,ModelEvents:()=>a.SX,ModelKeys:()=>a.Yk,ModelUpdateMode:()=>a.S_,ModuleEventCategory:()=>a.SQ,ModuleType:()=>a.PO,Opacity:()=>a.Dd,PlatformErrorCode:()=>a.uR,PlayConfigBuilder:()=>a.vA,PlayModeOptions:()=>a.aD,Player:()=>r.J,PlayerCommandType:()=>a.GM,PlayerConfigBuilder:()=>a._,PlayerEventType:()=>a.sL,PlayerFriendlyObstructionPurpose:()=>a.Zi,PlayerHookName:()=>a.Jz,PlayerState:()=>a.fL,PlayerVersion:()=>a.tY,PlayerVersionHelper:()=>a.yK,SCTEDescriptorType:()=>a.Nu,SCTEMetadataHelpers:()=>a.Pr,SCTESegmentationProperties:()=>a.T_,SCTESegmentationType:()=>a.yq,SCTESpliceCommandType:()=>a.ZX,SSAIType:()=>a.Wu,SetupConfigBuilder:()=>a.Dq,Size:()=>a.$u,StandardExtend:()=>a.OJ,StandardExtendWithArrayAssignment:()=>a.yB,SubjectToGDPROptions:()=>a.th,TCFNativeKeys:()=>a.v8,TCFVersion:()=>a.QR,TCFVersionDefault:()=>a.Ew,TextTrackKind:()=>a.Hy,ToggleableSections:()=>a.ki,TransactionEventType:()=>a.iE,TransactionState:()=>a.g7,UIClickAction:()=>a.m5,UIComponentType:()=>a.PH,UIContainer:()=>a.d7,UIControlLocation:()=>a.Zv,UIControlName:()=>a.oz,UIControlSet:()=>a._v,UISlate:()=>a.FN,UITheme:()=>a.ZJ,VideoEngineCommandType:()=>a.rL,VideoEngineEventType:()=>a.n_,VideoEngineMetadataSourceType:()=>a.e,VideoEngineMetadataType:()=>a.u6,ViewMode:()=>a.wO,ViewState:()=>a.f7,libVersion:()=>a.Np}),n(14629),n(46168);var r=n(68475),i=n(6273),o={};for(const e in i)["default","Player"].indexOf(e)<0&&(o[e]=()=>i[e]);n.d(t,o);var a=n(85654)},68475:(e,t,n)=>{"use strict";n.d(t,{J:()=>Wt});var r,i=n(6273);class o{static determine(e){const t=o,n={isEdgium:t.isEdgium,isEdge:t.isEdge,isChrome:t.isChrome,isIE11:t.isIE11,isFirefox:t.isFirefox,isSafari:t.isSafari,isAndroid:t.isAndroid,isIOS:t.isIOS,isWindows:t.isWindows,isOSX:t.isOSX,isLinux:t.isLinux,isChromecast:t.isChromecast,isTizen:t.isTizen,isWebOS:t.isWebOS,isTopUI:t.isTopUI},r=Object.keys(n);return e=e.toLowerCase(),r.reduce(((t,r)=>{const i=n[r];return t[r]=i(e),t}),{})}static isEdgium(e){return!o.isEdge(e)&&/edg\//i.test(e)}static isEdge(e){return/edge/i.test(e)}static isChrome(e){const t=o.isEdge(e),n=o.isEdgium(e);return!t&&!n&&/chrome|crios/i.test(e)}static isIE11(e){return/trident.*rv:11/i.test(e)}static isSafari(e){const t=o.isChrome(e),n=o.isEdge(e),r=o.isEdgium(e);return!t&&!n&&!r&&/safari/i.test(e)}static isFirefox(e){return/firefox/i.test(e)}static isAndroid(e){return/android/i.test(e)}static isIOS(e){return/ipod|iphone|ipad/i.test(e)}static isWindows(e){return/windows/i.test(e)}static isOSX(e){return!o.isIOS(e)&&/mac os x/i.test(e)}static isLinux(e){return!o.isAndroid(e)&&/linux/i.test(e)}static isChromecast(e){return/crkey/i.test(e)}static isTopUI(e){return/topuiview/i.test(e)}static isTizen(e){return/tizen/i.test(e)}static isWebOS(e){return/web0s/i.test(e)}}function a(e){return"true"===e.dataset.primed}!function(e){e.AutoPlay="autoPlay",e.Consent="consent"}(r||(r={}));class s{constructor(e){this._audioSource="data:audio/mpeg;base64,/+MYxAAAAANIAUAAAASEEB/jwOFM/0MM/90b/+RhST//w4NFwOjf///PZu////9lns5GFDv//l9GlUIEEIAAAgIg8Ir/JGq3/+MYxDsLIj5QMYcoAP0dv9HIjUcH//yYSg+CIbkGP//8w0bLVjUP///3Z0x5QCAv/yLjwtGKTEFNRTMuOTeqqqqqqqqqqqqq/+MYxEkNmdJkUYc4AKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",this._videoSource="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",this._options=Object.assign({muted:!1,timeout:2e3},e)}_startPlayback(e,t){let n,r;return e.muted=this._options.muted,e.src=t,new Promise((t=>{const i=e=>{window.clearTimeout(r),t(e)};r=window.setTimeout((()=>{i({canAutoPlay:!1,error:new Error(`[Auto Play Check] Timeout of ${this._options.timeout}ms has been reached`)})}),this._options.timeout),n=e.play(),void 0!==n?n.then((()=>i({canAutoPlay:!0}))).catch((e=>i({canAutoPlay:!1,error:e}))):i({canAutoPlay:!0})}))}audio(){return this._startPlayback(this._options.element||document.createElement("audio"),this._options.source||this._audioSource)}video(){return this._startPlayback(this._options.element||document.createElement("video"),this._options.source||this._videoSource)}}const u=class{static audio(e){return new s(e).audio()}static video(e){return new s(e).video()}};var c=n(85654);function l(e){return new Promise(((t,n)=>{const r="function"==typeof window.__cmp,i="function"==typeof window.__tcfapi,o=null==e?void 0:e.consentFrameworkVersion;if(!r&&!i)return void n(c.xh.Provider_Does_Not_Exist);const a=o===c.QR.V1&&!r,s=o===c.QR.V2&&!i;a||s?n(c.xh.Mismatch_Error):(o&&o!==c.QR.V1||!r?o&&o!==c.QR.V2||!i||window.__tcfapi("getTCData",2,((e,n)=>{n&&function(e,t){let n=c.th.Unknown;"boolean"==typeof e.gdprApplies&&(n=e.gdprApplies?c.th.Yes:c.th.No),t({consentString:e.tcString,subjectToGDPR:n})}(e,t)}),null==e?void 0:e.vendorIds):window.__cmp("getConsentData",null,((e,n)=>{n&&function(e,t){let n=c.th.Unknown;"boolean"==typeof e.gdprApplies&&(n=e.gdprApplies?c.th.Yes:c.th.No),t({consentString:e.consentData,subjectToGDPR:n})}(e,t)})),n(c.xh.Request_Error))}))}const d=new class{constructor(){this._supportCache=new Map}autoPlay(e,t=!1){let n=this._supportCache.get(r.AutoPlay);return n&&!t||(n=new Promise((t=>{u.video(Object.assign({},e)).then((({canAutoPlay:e})=>t(e)))})),this._supportCache.set(r.AutoPlay,n)),n}gdprConsentWithOptions({config:e,timeout:t=1500,overrideCache:n=!1}){let o=this._supportCache.get(r.Consent);return o&&!n||(o=new Promise(((n,o)=>{const a=(0,i.Timer)(i.TimerMode.Timeout,(()=>o(c.xh.Request_Timeout)),t);a.start();const s=l(e);s.then((e=>{a.stop(),this._supportCache.set(r.Consent,s),n(e)})).catch((e=>{a.stop(),o(e)}))}))),o}};class _{constructor(){this._logger=i.Log.getLogger("LifecycleDetector").filter("lifecycle"),this._focused=!0,this._running=!1,this._suppressVisibilityChange=!1,this._viewStateBinding=null,this._onVisibilityChange=()=>{if(this._suppressVisibilityChange)return;const e=document[this._eventProp];e?this._player.setPlayerMode(c.um.Background):e||this._focused?this._player.setPlayerMode(c.um.Foreground):this._player.setPlayerMode(c.um.FocusLost)},this._onScroll=e=>{window.requestAnimationFrame((()=>{const e=this._inViewport(this._container);this._focused&&!e?(this._player.setPlayerMode(c.um.FocusLost),this._focused=!1):!this._focused&&e&&(this._player.setPlayerMode(c.um.Foreground),this._focused=!0)}))};const e=[{event:"msvisibilitychange",prop:"msHidden"},{event:"webkitvisibilitychange",prop:"webkitHidden"},{event:"mozvisibilitychange",prop:"mozHidden"},{event:"visibilitychange",prop:"hidden"}];let t=!1;for(let n=0;n<e.length;++n)if(e[n].prop in document){this._eventProp=e[n].prop,this._eventName=e[n].event,t=!0;break}if(!t)throw new Error("unable to find visibiltychange event for browser")}start(e,t){void 0!==document.addEventListener?"function"==typeof e.setPlayerMode?this._running?this._logger.warn("This lifecycle detector is already running."):(this._running=!0,this._player=e,this._container=t,document.addEventListener(this._eventName,this._onVisibilityChange,!1),document.addEventListener("scroll",this._onScroll,!1),this._viewStateBinding=this._player.events.viewStateChanged.listen((e=>{e.currentState!==c.f7.Entering_Fullscreen&&e.currentState!==c.f7.Exiting_Fullscreen||(this._suppressVisibilityChange=!0,setTimeout((()=>{this._suppressVisibilityChange=!1}),1e3))}))):this._logger.warn("The provided player instance does not implement setPlayerMode API."):this._logger.warn("No ability to add event listeners, document.addEventListener undefined")}stop(){void 0!==document.addEventListener?(document.removeEventListener(this._eventName,this._onVisibilityChange,!1),document.removeEventListener("scroll",this._onScroll,!1),this._viewStateBinding&&(this._viewStateBinding.detach(),this._viewStateBinding=null),this._running=!1):this._logger.warn("No ability to add event listeners, document.addEventListener undefined")}_inViewport(e){const t=e.getBoundingClientRect(),n=.75*e.clientHeight,r=.75*e.clientWidth;return t.top+n>=0&&t.left+r>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}}var f;function h(e){return(0,i.createEvent)(e)}function p(){return(0,i.createEventCollection)({entered:h(f.Entered),exited:h(f.Exited)})}!function(e){e.Entered="entered",e.Exited="exited"}(f||(f={}));var g=n(23716);const v={},m=i.Log.getLogger("PlatformHelper").filter("playback");class y{constructor(e){this._onFullscreenEvent=(e,t)=>{switch(e){case f.Entered:this.events.fullscreenEntered.dispatch();break;case f.Exited:this.events.fullscreenExited.dispatch();break;default:throw new i.UnreachableCaseError(e)}},this.events=(0,i.createPlatformEventCollection)(),this._fullscreenDelegate=null,this._uiManager=e,this._createVideoElements()}_createTopContainer(){this._topContainer=document.createElement("div"),this._topContainer.id=`top-container-${y._viewId}`,this._topContainer.classList.add("top-container"),this._topContainer.style.width="100%",this._topContainer.style.height="100%",this._topContainer.style.position="relative",this._topContainer.style.zIndex="0"}_createPlayerContainer(){this._playerContainer=document.createElement("div"),this._playerContainer.id=`top-player-container-${y._viewId}`,this._playerContainer.classList.add("top-player-container"),this._playerContainer.style.height="100%",this._playerContainer.style.width="100%",this._playerContainer.style.position="relative"}_createVideoElements(){this._videoEl=document.createElement("video"),this._videoEl.classList.add("top-player-video-element"),this._testVideoEl=document.createElement("video"),this._testVideoEl.setAttribute("playsinline","playsinline")}_primeVideoElement(e){a(e)?m.info(`[_primeVideoElement] Video element is already primed: ${e.id}`):(e.load(),e.dataset.primed="true")}createSubstructure(){y._viewId++,this._createTopContainer(),this._createPlayerContainer(),this._playerContainer.appendChild(this._videoEl),this._topContainer.appendChild(this._playerContainer)}attachToContainer(e){if(this._topContainer||this.createSubstructure(),this._rootContainer=e,!this._rootContainer)throw new Error("Root container passed to configuration does not exist");return this._rootContainer.appendChild(this._topContainer),{root:this._rootContainer,sub:this._topContainer}}releaseFromContainer(){this._rootContainer&&(this._rootContainer.removeChild(this._topContainer),this._rootContainer=void 0)}enterFullscreen(){return this._fullscreenDelegate?this._fullscreenDelegate.onFullscreenRequested().then((e=>e?(this.events.fullscreenEntered.dispatch(),Promise.resolve()):Promise.reject("Fullscreen request denied"))):Promise.reject("Fullscreen delegate not found")}exitFullscreen(){return this._fullscreenDelegate?this._fullscreenDelegate.onFullscreenExitRequested().then((e=>e?(this.events.fullscreenExited.dispatch(),Promise.resolve()):Promise.reject("Fullscreen exit request denied"))):Promise.reject("Fullscreen delegate not found")}attemptToPrimeVideoElements(){m.info("[attemptToPrimeVideoElements] Attempting to prime video elements"),this._videoEl.load(),this._testVideoEl.load()}primeVideoElements(){this._primeVideoElement(this._videoEl),this._primeVideoElement(this._testVideoEl)}checkAutoPlay(){if(a(this._videoEl))return m.info(`[checkAutoPlay] Video element is already primed: ${this._videoEl.id}`),Promise.resolve({canAutoPlay:!0,canAutoPlayMuted:!0});const e=this._testVideoEl,t=(0,i.createDeferred)();return d.autoPlay({element:e,muted:!1},!0).then((n=>{n?t.resolver({canAutoPlay:n,canAutoPlayMuted:!0}):d.autoPlay({element:e,muted:!0},!0).then((e=>t.resolver({canAutoPlay:n,canAutoPlayMuted:e}))).catch((e=>t.rejector(e)))})),t.promise.then((e=>{const{canAutoPlay:t,canAutoPlayMuted:n}=e;if(t&&n)return m.info("Un-muted auto-play is allowed, marking video elements"),void this.primeVideoElements();!n||t?m.info("Auto-play is not allowed in any form"):m.info("Only muted auto-play is allowed - note: not marking video elements")})).catch((e=>m.error(`An error occurred when attempting to detect auto-play capabilities: ${e}`))),t.promise}handleUserAction(e){if(!e)return m.warn("[handleUserAction] Event is undefined, event type is unknown"),void this.attemptToPrimeVideoElements();["click","mousedown","dblclick","keydown","keyup","keypress","auxclick","contextmenu","touchstart","touchend","touchmove","pointerdown","pointerup"].indexOf(e.type)>-1?(m.info("[handleUserAction] Event type is a known user action, priming video elements"),this.primeVideoElements()):(m.warn("[handleUserAction] Event type is not a known user action, attempting to prime video elements"),this.attemptToPrimeVideoElements())}setFullscreenDelegate(e){this._fullscreenDelegate&&(this._fullscreenDelegate.events.unlistenAll(),this._fullscreenDelegate.destroy(),this._fullscreenDelegate=null),e&&(this._fullscreenDelegate=e,this._fullscreenDelegate.events.listen(this._onFullscreenEvent))}loadJS(e,t){return new Promise(((n,r)=>{var i;const o=document.createElement("script");o.src=e,o.async=!0,o.onload=()=>{n()},o.onerror=e=>{if(!t)return g.error(e),void n();r(`Error loading ${e.target.src}`)},null===(i=document.querySelector("body"))||void 0===i||i.appendChild(o)}))}loadCSS(e,t){return new Promise(((n,r)=>{var i;const o=document.createElement("link");o.type="text/css",o.rel="stylesheet",o.onload=()=>{n()},o.onerror=e=>{if(!t)return g.error(e),void n();r(`Error loading ${e.target.href}`)},o.href=e,null===(i=document.querySelector("head"))||void 0===i||i.appendChild(o)}))}loadResource(e,t,n=!0){return v[e]||(v[e]="script"===t?this.loadJS(e,n):this.loadCSS(e,n)),v[e]}initializeUI(e,t,n){const r=[this.loadResource(t,"script"),this.loadResource(e,"link")];return n&&r.push(this.loadResource(n,"link",!1)),Promise.all(r).then((()=>this._uiManager.initializeUI()))}get rootContainer(){return this._topContainer}get topContainer(){return this._topContainer}get videoEl(){return this._videoEl}}y._viewId=0;class b{constructor(e){this._onFullscreenEntered=()=>{this.events.entered.dispatch()},this._onFullscreenExited=()=>{this.events.exited.dispatch()},this._element=e,this.events=p(),this._toggleFullscreenChangeListener(!0)}destroy(){this._toggleFullscreenChangeListener(!1),this.events.unlistenAll(),this.events.removeAllListeners()}_toggleFullscreenChangeListener(e){const t={webkitbeginfullscreen:this._onFullscreenEntered,webkitendfullscreen:this._onFullscreenExited};Object.keys(t).map((n=>{const r=t[n];e?this._element.addEventListener(n,r):this._element.removeEventListener(n,r)}))}}class S{get events(){return this.fullscreenChangeHandler.events}constructor(e){this._onFullscreenEvent=(e,t)=>{this._resolvePendingTransition()},this._element=e,this._activeTransition=null,this.fullscreenChangeHandler=new b(e)}_resolvePendingTransition(){this._activeTransition&&(this._activeTransition.resolver(),this._activeTransition=null)}_rejectPendingTransition(e){this._activeTransition&&(this._activeTransition.rejector(e),this._activeTransition=null)}init(){return this.fullscreenChangeHandler.events.listen(this._onFullscreenEvent),this}isAvailable(){return"webkitSupportsFullscreen"in this._element}isFullscreen(){return this._element.webkitDisplayingFullscreen}enterFullscreen(){if(this.isFullscreen())return Promise.resolve();if(this._activeTransition)return Promise.reject("A previous transition is still in progress");const e=(0,i.createDeferred)();this._activeTransition=e;try{this._element.webkitEnterFullscreen()}catch(e){this._rejectPendingTransition("An exception occured while entering fullscreen")}return e.promise}exitFullscreen(){if(!this.isFullscreen())return Promise.resolve();if(this._activeTransition)return Promise.reject("A previous transition is still in progress");const e=(0,i.createDeferred)();this._activeTransition=e;try{this._element.webkitExitFullScreen()}catch(e){this._rejectPendingTransition("An exception occured while exiting fullscreen")}return e.promise}destroy(){this.fullscreenChangeHandler.destroy()}}class E{constructor(e){this._onDocumentFullscreenChange=()=>{this.isFullscreen()?this.events.entered.dispatch():this.events.exited.dispatch()},this.events=p(),this.element=e,this._toggleFullscreenChangeListener(!0)}isFullscreen(){const e=[document.fullscreenElement,document.webkitFullscreenElement,document.mozFullScreenElement,document.msFullscreenElement].filter((e=>!!e))[0];return e instanceof Element&&e===this.element}destroy(){this._toggleFullscreenChangeListener(!1),this.events.unlistenAll(),this.events.removeAllListeners()}_toggleFullscreenChangeListener(e){["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","MSFullscreenChange"].forEach((t=>{e?document.addEventListener(t,this._onDocumentFullscreenChange):document.removeEventListener(t,this._onDocumentFullscreenChange)}))}}class ${get events(){return this.fullscreenChangeHandler.events}isFullscreen(){return this.fullscreenChangeHandler.isFullscreen()}constructor(e){this._onFullscreenEvent=(e,t)=>{this._resolvePendingTransition()},this._activeTransition=null,this._element=e,this.fullscreenChangeHandler=new E(e)}_getFullscreenRequestHandler(e){return[i.ObjectUtils.get(e,"requestFullscreen"),i.ObjectUtils.get(e,"webkitRequestFullscreen"),i.ObjectUtils.get(e,"mozRequestFullScreen"),i.ObjectUtils.get(e,"msRequestFullscreen")].find((e=>!!e))}_getFullscreenExitHandler(){return[i.ObjectUtils.get(document,"exitFullscreen"),i.ObjectUtils.get(document,"webkitCancelFullScreen"),i.ObjectUtils.get(document,"mozCancelFullScreen"),i.ObjectUtils.get(document,"msExitFullscreen")].find((e=>!!e))}_resolvePendingTransition(){this._activeTransition&&(this._activeTransition.resolver(),this._activeTransition=null)}_rejectPendingTransition(e){this._activeTransition&&(this._activeTransition.rejector(e),this._activeTransition=null)}init(){return this.fullscreenChangeHandler.events.listen(this._onFullscreenEvent),this}isAvailable(){return!0}enterFullscreen(){var e;if(this.isFullscreen())return Promise.resolve();if(this._activeTransition)return Promise.reject("A previous transition is already in progress");const t=(0,i.createDeferred)();this._activeTransition=t;const n=this._getFullscreenRequestHandler(this._element);if(!n)return this._rejectPendingTransition("Could not enter fullscreen, appropriate handler was not found"),t.promise;try{const t=n.call(this._element);null==t?this.fullscreenChangeHandler.isFullscreen()||this._rejectPendingTransition("Could not enter fullscreen, permission denied"):null===(e=null==t?void 0:t.catch)||void 0===e||e.call(t,(()=>{this._rejectPendingTransition("Could not enter fullscreen, permission denied")}))}catch(e){this._rejectPendingTransition("An exception occured when entering fullscreen")}return t.promise}exitFullscreen(){var e;if(!this.isFullscreen())return Promise.resolve();if(this._activeTransition)return Promise.reject("A previous transition is already in progress");const t=(0,i.createDeferred)();this._activeTransition=t;const n=this._getFullscreenExitHandler();if(!n)return this._rejectPendingTransition("Could not exit fullscreen, appropriate handler was not found"),t.promise;try{const t=n.call(document);null==t?this.fullscreenChangeHandler.isFullscreen()&&this._rejectPendingTransition("Could not exit fullscreen, permission denied"):null===(e=null==t?void 0:t.catch)||void 0===e||e.call(t,(()=>{this._rejectPendingTransition("Could not exit fullscreen, permission denied")}))}catch(e){this._rejectPendingTransition("An exception occured when exiting fullscreen")}return t.promise}destroy(){this.fullscreenChangeHandler.destroy()}}class T{constructor(e){this._container=e}init(e,t){const n=(()=>e?new S(t):new $(this._container))();this._impl=n,this.events=n.events,this._impl.init()}isFullscreen(){return this._impl.isFullscreen()}isAvailable(){return this._impl.isAvailable()}enterFullscreen(){return this._impl.enterFullscreen()}exitFullscreen(){return this._impl.exitFullscreen()}destroy(){this._impl.destroy()}onFullscreenRequested(){return this._impl.enterFullscreen().then((()=>Promise.resolve(!0))).catch((()=>Promise.resolve(!1)))}onFullscreenExitRequested(){return this._impl.exitFullscreen().then((()=>Promise.resolve(!0))).catch((()=>Promise.resolve(!1)))}}const A=function(e,t){return e===t||e!=e&&t!=t},C=function(e,t){for(var n=e.length;n--;)if(A(e[n][0],t))return n;return-1};var P=Array.prototype.splice;function I(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}I.prototype.clear=function(){this.__data__=[],this.size=0},I.prototype.delete=function(e){var t=this.__data__,n=C(t,e);return!(n<0||(n==t.length-1?t.pop():P.call(t,n,1),--this.size,0))},I.prototype.get=function(e){var t=this.__data__,n=C(t,e);return n<0?void 0:t[n][1]},I.prototype.has=function(e){return C(this.__data__,e)>-1},I.prototype.set=function(e,t){var n=this.__data__,r=C(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const w=I,M="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;var k="object"==typeof self&&self&&self.Object===Object&&self;const O=M||k||Function("return this")(),R=O.Symbol;var D=Object.prototype,L=D.hasOwnProperty,x=D.toString,N=R?R.toStringTag:void 0;var U=Object.prototype.toString;var B=R?R.toStringTag:void 0;const F=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=L.call(e,N),n=e[N];try{e[N]=void 0;var r=!0}catch(e){}var i=x.call(e);return r&&(t?e[N]=n:delete e[N]),i}(e):function(e){return U.call(e)}(e)},j=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},H=function(e){if(!j(e))return!1;var t=F(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},V=O["__core-js_shared__"];var W,q=(W=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var G=Function.prototype.toString;var Y=/^\[object .+?Constructor\]$/,K=Function.prototype,z=Object.prototype,X=K.toString,Q=z.hasOwnProperty,J=RegExp("^"+X.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(e){return!(!j(e)||(t=e,q&&q in t))&&(H(e)?J:Y).test(function(e){if(null!=e){try{return G.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t},ee=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Z(n)?n:void 0},te=ee(O,"Map"),ne=ee(Object,"create");var re=Object.prototype.hasOwnProperty;var ie=Object.prototype.hasOwnProperty;function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}oe.prototype.clear=function(){this.__data__=ne?ne(null):{},this.size=0},oe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oe.prototype.get=function(e){var t=this.__data__;if(ne){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return re.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return ne?void 0!==t[e]:ie.call(t,e)},oe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ne&&void 0===t?"__lodash_hash_undefined__":t,this};const ae=oe,se=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function ue(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ue.prototype.clear=function(){this.size=0,this.__data__={hash:new ae,map:new(te||w),string:new ae}},ue.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},ue.prototype.get=function(e){return se(this,e).get(e)},ue.prototype.has=function(e){return se(this,e).has(e)},ue.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const ce=ue;function le(e){var t=this.__data__=new w(e);this.size=t.size}le.prototype.clear=function(){this.__data__=new w,this.size=0},le.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof w){var r=n.__data__;if(!te||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ce(r)}return n.set(e,t),this.size=n.size,this};const de=le,_e=function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),fe=function(e,t,n){"__proto__"==t&&_e?_e(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},he=function(e,t,n){(void 0!==n&&!A(e[t],n)||void 0===n&&!(t in e))&&fe(e,t,n)},pe=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};var ge= true&&exports&&!exports.nodeType&&exports,ve=ge&&"object"=="object"&&module&&!module.nodeType&&module,me=ve&&ve.exports===ge?O.Buffer:void 0,ye=me?me.allocUnsafe:void 0;const be=O.Uint8Array,Se=function(e,t){var n,r,i=t?(n=e.buffer,r=new n.constructor(n.byteLength),new be(r).set(new be(n)),r):e.buffer;return new e.constructor(i,e.byteOffset,e.length)};var Ee=Object.create;const $e=function(){function e(){}return function(t){if(!j(t))return{};if(Ee)return Ee(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Te=(Ae=Object.getPrototypeOf,Ce=Object,function(e){return Ae(Ce(e))});var Ae,Ce,Pe=Object.prototype;const Ie=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)},we=function(e){return null!=e&&"object"==typeof e},Me=function(e){return we(e)&&"[object Arguments]"==F(e)};var ke=Object.prototype,Oe=ke.hasOwnProperty,Re=ke.propertyIsEnumerable;const De=Me(function(){return arguments}())?Me:function(e){return we(e)&&Oe.call(e,"callee")&&!Re.call(e,"callee")},Le=Array.isArray,xe=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ne=function(e){return null!=e&&xe(e.length)&&!H(e)};var Ue= true&&exports&&!exports.nodeType&&exports,Be=Ue&&"object"=="object"&&module&&!module.nodeType&&module,Fe=Be&&Be.exports===Ue?O.Buffer:void 0;const je=(Fe?Fe.isBuffer:void 0)||function(){return!1};var He=Function.prototype,Ve=Object.prototype,We=He.toString,qe=Ve.hasOwnProperty,Ge=We.call(Object);var Ye={};Ye["[object Float32Array]"]=Ye["[object Float64Array]"]=Ye["[object Int8Array]"]=Ye["[object Int16Array]"]=Ye["[object Int32Array]"]=Ye["[object Uint8Array]"]=Ye["[object Uint8ClampedArray]"]=Ye["[object Uint16Array]"]=Ye["[object Uint32Array]"]=!0,Ye["[object Arguments]"]=Ye["[object Array]"]=Ye["[object ArrayBuffer]"]=Ye["[object Boolean]"]=Ye["[object DataView]"]=Ye["[object Date]"]=Ye["[object Error]"]=Ye["[object Function]"]=Ye["[object Map]"]=Ye["[object Number]"]=Ye["[object Object]"]=Ye["[object RegExp]"]=Ye["[object Set]"]=Ye["[object String]"]=Ye["[object WeakMap]"]=!1;var Ke= true&&exports&&!exports.nodeType&&exports,ze=Ke&&"object"=="object"&&module&&!module.nodeType&&module,Xe=ze&&ze.exports===Ke&&M.process,Qe=function(){try{return ze&&ze.require&&ze.require("util").types||Xe&&Xe.binding&&Xe.binding("util")}catch(e){}}(),Je=Qe&&Qe.isTypedArray;const Ze=Je?function(e){return function(t){return e(t)}}(Je):function(e){return we(e)&&xe(e.length)&&!!Ye[F(e)]},et=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var tt=Object.prototype.hasOwnProperty;const nt=function(e,t,n){var r=e[t];tt.call(e,t)&&A(r,n)&&(void 0!==n||t in e)||fe(e,t,n)};var rt=/^(?:0|[1-9]\d*)$/;const it=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&rt.test(e))&&e>-1&&e%1==0&&e<t};var ot=Object.prototype.hasOwnProperty;const at=function(e,t){var n=Le(e),r=!n&&De(e),i=!n&&!r&&je(e),o=!n&&!r&&!i&&Ze(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var c in e)!t&&!ot.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||it(c,u))||s.push(c);return s};var st=Object.prototype.hasOwnProperty;const ut=function(e){if(!j(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ie(e),n=[];for(var r in e)("constructor"!=r||!t&&st.call(e,r))&&n.push(r);return n},ct=function(e){return Ne(e)?at(e,!0):ut(e)},lt=function(e){return function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?fe(n,s,u):nt(n,s,u)}return n}(e,ct(e))},dt=function(e,t,n,r,i,o,a){var s,u=et(e,n),c=et(t,n),l=a.get(c);if(l)he(e,n,l);else{var d=o?o(u,c,n+"",e,t,a):void 0,_=void 0===d;if(_){var f=Le(c),h=!f&&je(c),p=!f&&!h&&Ze(c);d=c,f||h||p?Le(u)?d=u:we(s=u)&&Ne(s)?d=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(u):h?(_=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=ye?ye(n):new e.constructor(n);return e.copy(r),r}(c,!0)):p?(_=!1,d=Se(c,!0)):d=[]:function(e){if(!we(e)||"[object Object]"!=F(e))return!1;var t=Te(e);if(null===t)return!0;var n=qe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&We.call(n)==Ge}(c)||De(c)?(d=u,De(u)?d=lt(u):j(u)&&!H(u)||(d=function(e){return"function"!=typeof e.constructor||Ie(e)?{}:$e(Te(e))}(c))):_=!1}_&&(a.set(c,d),i(d,c,r,o,a),a.delete(c)),he(e,n,d)}},_t=function e(t,n,r,i,o){t!==n&&pe(n,(function(a,s){if(o||(o=new de),j(a))dt(t,n,s,r,e,i,o);else{var u=i?i(et(t,s),a,s+"",t,n,o):void 0;void 0===u&&(u=a),he(t,s,u)}}),ct)},ft=function(e){return e};var ht=Math.max;const pt=_e?function(e,t){return _e(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ft;var gt=Date.now;const vt=function(e){var t=0,n=0;return function(){var r=gt(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pt),mt=function(e,t){return vt(function(e,t,n){return t=ht(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ht(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,ft),e+"")},yt=(bt=function(e,t,n){_t(e,t,n)},mt((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=bt.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!j(n))return!1;var r=typeof t;return!!("number"==r?Ne(n)&&it(t,n.length):"string"==r&&t in n)&&A(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&bt(e,a,n)}return e})));var bt,St;!function(e){e.Resumed="resumed",e.Paused="paused",e.Stopped="stopped",e.Volume_Changed="volumeChanged",e.Mute_Changed="muteChanged",e.Time_Changed="timeChanged",e.Media_Ready="mediaReady",e.Media_Loaded="mediaLoaded",e.Media_Timed_Metadata_Received="mediaTimedMetadataReceived",e.Media_Timed_Metadata_Parsed="mediaTimedMetadataParsed",e.Media_Error="mediaError",e.Media_Finished="mediaFinished",e.Media_Buffering_Finished="mediaBufferingFinished",e.Media_Buffering_Started="mediaBufferingStarted",e.Media_Seeking_Started="mediaSeekingStarted",e.Media_Seeking_Finished="mediaSeekingFinished",e.Media_Target_Profile_Changed="mediaTargetProfileChanged",e.Media_Profile_Changed="mediaProfileChanged",e.Media_Request_Profile_Changed="mediaRequestProfileChanged",e.Media_Audio_Track_Availability_Changed="mediaAudioTrackAvailabilityChanged",e.Media_Audio_Track_Selected="mediaAudioTrackSelected",e.Ad_Started="adStarted",e.Ad_Creative_Started="adCreativeStarted",e.Ad_Creative_Ended="adCreativeEnded",e.Ad_Finished="adFinished",e.Ad_Error="adError",e.Ad_Blocked="adBlocked",e.Yospace_Init_Error="yospaceInitError",e.Yospace_Session_Error="yospaceSessionError",e.Caption_Track_Added="captionTrackAdded",e.Caption_Track_Removed="captionTrackRemoved",e.Caption_Track_Selected="captionTrackSelected",e.Caption_Track_Deselected="captionTrackDeselected",e.Caption_Cue_Parsed="captionCueParsed",e.Caption_Cue_Entered="captionCueEntered",e.Caption_Cue_Exited="captionCueExited",e.Caption_Cue_Updated="captionCueUpdated"}(St||(St={}));var Et=n(38071);const $t=i.Log.getLogger("TubVideoEngine"),Tt={[Et.BitmovinEvents.Ready]:St.Media_Ready,[Et.BitmovinEvents.SourceLoaded]:St.Media_Loaded,[Et.BitmovinEvents.Playing]:St.Resumed,[Et.BitmovinEvents.Metadata]:St.Media_Timed_Metadata_Received,[Et.BitmovinEvents.MetadataParsed]:St.Media_Timed_Metadata_Parsed,[Et.BitmovinEvents.Paused]:St.Paused,[Et.BitmovinEvents.Error]:St.Media_Error,[Et.BitmovinEvents.SourceUnloaded]:St.Stopped,[Et.BitmovinEvents.PlaybackFinished]:St.Media_Finished,[Et.BitmovinEvents.VolumeChanged]:St.Volume_Changed,[Et.BitmovinEvents.Unmuted]:St.Mute_Changed,[Et.BitmovinEvents.Muted]:St.Mute_Changed,[Et.BitmovinEvents.TimeChanged]:St.Time_Changed,[Et.BitmovinEvents.StallEnded]:St.Media_Buffering_Finished,[Et.BitmovinEvents.StallStarted]:St.Media_Buffering_Started,[Et.BitmovinEvents.Seek]:St.Media_Seeking_Started,[Et.BitmovinEvents.Seeked]:St.Media_Seeking_Finished,[Et.BitmovinEvents.VideoQualityChanged]:St.Media_Target_Profile_Changed,[Et.BitmovinEvents.VideoPlaybackQualityChanged]:St.Media_Profile_Changed,[Et.BitmovinEvents.VideoDownloadQualityChanged]:St.Media_Request_Profile_Changed,[Et.BitmovinEvents.AudioAdded]:St.Media_Audio_Track_Availability_Changed,[Et.BitmovinEvents.AudioChanged]:St.Media_Audio_Track_Selected,[Et.BitmovinEvents.TimeShift]:St.Media_Seeking_Started,[Et.BitmovinEvents.TimeShifted]:St.Media_Seeking_Finished,[Et.BitmovinEvents.AdBreakStarted]:St.Ad_Started,[Et.BitmovinEvents.AdStarted]:St.Ad_Creative_Started,[Et.BitmovinEvents.AdFinished]:St.Ad_Creative_Ended,[Et.BitmovinEvents.AdBreakFinished]:St.Ad_Finished,[Et.BitmovinEvents.AdError]:St.Ad_Error,[Et.BitmovinEvents.SubtitleAdded]:St.Caption_Track_Added,[Et.BitmovinEvents.SubtitleEnabled]:St.Caption_Track_Selected,[Et.BitmovinEvents.SubtitleDisabled]:St.Caption_Track_Deselected,[Et.BitmovinEvents.SubtitleRemoved]:St.Caption_Track_Removed,[Et.BitmovinEvents.CueParsed]:St.Caption_Cue_Parsed,[Et.BitmovinEvents.CueEnter]:St.Caption_Cue_Entered,[Et.BitmovinEvents.CueExit]:St.Caption_Cue_Exited,[Et.BitmovinEvents.CueUpdate]:St.Caption_Cue_Updated},At={[Et.TubEvents.YospaceInitError]:St.Yospace_Init_Error,[Et.TubEvents.YospaceSessionError]:St.Yospace_Session_Error,[Et.TubEvents.AdBlocked]:St.Ad_Blocked},Ct=Object.assign(Object.assign({},Tt),At),Pt=e=>{const t=i.ObjectUtils.getOrElse(e,"id","unknown-cc-track-id"),n=i.ObjectUtils.getOrElse(e,"enabled",!1),r=(()=>{const t=e.url;if(t)return t.endsWith(".vtt")?c.Jc.WebVTT:t.endsWith(".srt")?c.Jc.SRT:t.endsWith(".ttml")?c.Jc.TTML:c.Jc.Unknown;switch(i.ObjectUtils.getOrElse(e,"kind","subtitle")){case"captions":return c.Jc.CEA_708;case"subtitle":return c.Jc.WebVTT;default:return c.Jc.Unknown}})(),o=(()=>{switch(r){case c.Jc.CEA_608:case c.Jc.CEA_708:switch(t){case"CC1":return c.zt.CC1;case"CC2":return c.zt.CC2;case"CC3":return c.zt.CC3;case"CC4":return c.zt.CC4;default:return c.zt.Unknown}case c.Jc.WebVTT:default:return c.zt.Unknown}})(),a=(()=>{switch(i.ObjectUtils.getOrElse(e,"lang","??")){case"en":case"en-ca":case"en-us":case"en-gb":case"eng":return c.gB.English;case"fr":return c.gB.French;case"es":case"spa":case"es-es":case"es-mx":return c.gB.Spanish;case"de":return c.gB.Deutsch;default:return c.gB.Unknown}})(),s=i.ObjectUtils.get(e,"label");return{id:t,active:n,source:r,channel:o,lang:a,label:s}},It=e=>({trackId:e.subtitleId||"unknown-cc-track-id",content:e.html||e.text,range:i.TimeRange.createWithEnd(e.start||0,e.end||0),metadata:{position:e.position||{row:0,column:0},region:e.region||""}});const wt=i.Log.getLogger("TubVideoEngine"),Mt=i.Log.getLogger("TubVideoEngine").filter("abr");const kt=i.Log.getLogger("WebServices"),Ot=function(e,t,n){return{createVideoEngine:()=>new class{constructor(e,t){this._delayedSafariCCTracks=[],this._adBreaks=[],this._handleTubEventMap=e=>{this._handleTubEvent(Ct[e.type],e)},this._handleTubEvent=(e,t)=>{switch(e){case St.Time_Changed:this._notifyTimeChanged(t);break;case St.Paused:this._notifyPaused();break;case St.Resumed:this._isStarted?this._notifyResumed():(this._notifyMediaStarted(),this._isStarted=!0);break;case St.Volume_Changed:this._notifyVolumeChanged(t);break;case St.Mute_Changed:this._notifyMuteChanged(t);break;case St.Media_Ready:this._isMediaReady||(this._isMediaReady=!0,this._isMediaLoaded&&this._notifyReadyForPlayback());break;case St.Media_Loaded:this._isMediaLoaded=!0,this._isMediaReady&&this._notifyReadyForPlayback();break;case St.Media_Buffering_Finished:this._notifyMediaBufferingFinished();break;case St.Media_Buffering_Started:this._notifyMediaBufferingStarted();break;case St.Media_Seeking_Started:this._engine.isLive()||(t.seekTarget=i.TimeHelper.VOD.convertContentTimeToMediaTime(t.seekTarget,this._adBreaks)),this._notifyMediaSeekingStarted(t);break;case St.Media_Seeking_Finished:this._notifyMediaSeekingFinished(t);break;case St.Media_Target_Profile_Changed:this._notifyMediaTargetProfileChanged(t);break;case St.Media_Profile_Changed:this._notifyMediaProfileChanged(t);break;case St.Media_Request_Profile_Changed:this._notifyMediaRequestProfileChanged(t);break;case St.Stopped:this._notifyStopped();break;case St.Media_Timed_Metadata_Received:this._notifyMediaTimedMetadataReceived(t);break;case St.Media_Timed_Metadata_Parsed:this._notifyMediaTimedMetadataParsed(t);break;case St.Media_Audio_Track_Availability_Changed:this._notifyMediaAudioTrackAvailabilityChanged(t);break;case St.Media_Audio_Track_Selected:this._notifyMediaAudioTrackSelected(t);break;case St.Media_Error:{const e=t;wt.info(`[Media Error]: ${e}`);let n="general";const r=e.code;switch(!0){case r<=1099:n="general";break;case r<=1199:n="content";break;case r<=1299:n="network",this._notifyMediaStalled(e);break;case r<=2199:n="drm"}this._notifyMediaError(Object.assign(Object.assign({},t),{domain:n}));break}case St.Media_Finished:this._notifyMediaFinished();break;case St.Ad_Started:this._notifyAdStarted(t);break;case St.Ad_Creative_Started:this._notifyAdCreativeStarted(t);break;case St.Ad_Creative_Ended:this._notifyAdCreativeEnded();break;case St.Ad_Finished:this._notifyAdFinished();break;case St.Ad_Error:this._notifyAdError(t);break;case St.Ad_Blocked:{const e=t;this._stateHandler.handleAdBlocked({reason:e.message,probability:e.probability});break}case St.Yospace_Init_Error:this._notifyYospaceInitError(t);break;case St.Yospace_Session_Error:this._notifyYospaceSessionError(t);break;case St.Caption_Track_Added:if(t.subtitle.id.match(/^sub\d+$/)&&void 0!==t.subtitle.textTrack&&""===t.subtitle.textTrack.language)break;if(!this._engine.subtitles){wt.debug(`Safari edge case encountered. Delaying notifyCCTrackAdded for ${t.subtitle.id} ${t.subtitle.lang}`),this._delayedSafariCCTracks.push(t);break}this._notifyCCTrackAdded(t);break;case St.Caption_Track_Selected:this._notifyCCTrackSelected(t);break;case St.Caption_Track_Deselected:this._notifyCCTrackDeselected(t);break;case St.Caption_Track_Removed:this._notifyCCTrackRemoved(t);break;case St.Caption_Cue_Parsed:this._notifyCCCueParsed(t);break;case St.Caption_Cue_Entered:this._notifyCCCueEntered(t);break;case St.Caption_Cue_Exited:this._notifyCCCueExited(t);break;case St.Caption_Cue_Updated:this._notifyCCCueUpdated(t);break;default:throw new i.UnreachableCaseError(e)}},this._handleTubSegmentPlayback=()=>{this._engine.isLive()&&this._propagateAdBreaks()},this._retries={},this.isNumeric=e=>Number.isFinite(e),this.convertToBps=e=>1e3*e,this.convertToKbps=e=>.001*e,this.getProfileDimensionDistance=(e,t)=>Math.abs(e.width-t.width)+Math.abs(e.height-t.height),this.padEnd=(e,t,n=" ")=>{const r=t-e.length;let i=e;for(let e=0;e<r;e++)i+=n;return i},this.findMinBitrate=(e,t)=>{const n=e.length-1,r=e[0],i=e[n];if(t<=r.bitrate)return r;if(t>=i.bitrate)return i;let o=i,a=i;for(let r=n-1;r>=0;r--){if(a=e[r],t===a.bitrate)return a;if(t>a.bitrate)return o;o=a}return a},this.findMaxBitrate=(e,t)=>{const n=e.length-1,r=e[0],i=e[n];if(t<=r.bitrate)return r;if(t>=i.bitrate)return i;let o=r,a=r;for(let r=1;r<=n;r++){if(a=e[r],t===a.bitrate)return a;if(t<a.bitrate)return o;o=a}return a},this.getClosestProfile=e=>{const t=e.length-1,n=this._getEffectiveMediaDimensions(this._getViewDimensions());let r=0;if(isNaN(n.width)||isNaN(n.height))return Mt.debug("[getClosestProfile] NaN dimensions, allow all..."),e[t];for(let i=1;i<=t&&!(this.getProfileDimensionDistance(e[i],n)>this.getProfileDimensionDistance(e[r],n));i++)r=i;const i=`${Math.floor(n.width)}x${Math.floor(n.height)}`,o=devicePixelRatio||1,a=e.map(((e,t)=>`${this.padEnd(Math.floor(this.convertToKbps(e.bitrate)).toString(),5)} (${this.padEnd(`${e.width}x${e.height})`,10)} → ${this.padEnd(Math.floor(this.getProfileDimensionDistance(e,n)).toString(),4)} ${t===r?"← best-fit":""}`)).join("\n\t");return Mt.debug(`[getClosestProfile] ○ effective-size: (${i}) ○ pixel-ratio: ${o}\n\t${a}`),e[r]},this.events=(0,i.createVideoEngineEventCollection)(),this._env=o.determine(navigator.userAgent),this._url="",this._container=e,this._userRequestedSeekTime=-1,this._isStarted=!1,this._isStopped=!0,this._isMediaReady=!1,this._isMediaLoaded=!1,this._requiresAdCreativesRefresh=!1,this._deferredDRMTokenPromises=new Map,this._disabledTimedMetadata=!1,this._stateHandler=new i.VideoEngineStateChangeHandler,this._engineContainer=null,this._videoEl=null,this._retrieveContainerElements(),this._mocks=t,this._applyMockHandlers()}_retrieveContainerElements(){this._engineContainer=this._container.querySelector(".top-player-container"),this._engineContainer?(this._videoEl=this._engineContainer.querySelector(".top-player-video-element"),this._videoEl||wt.error("[_retrieveContainerElements] Video element does not exist")):wt.error("[_retrieveContainerElements] Player container does not exist")}_isContentDynamic(){return this._engine.getAvailableVideoQualities().length>1}_getBufferedRange(){var e,t;const n=this._engine.buffer.getLevel(Et.BufferType.BackwardDuration,Et.MediaType.Video),r=this._engine.buffer.getLevel(Et.BufferType.ForwardDuration,Et.MediaType.Video),o=this._engine.getCurrentTime(),a=null!==(e=null==n?void 0:n.level)&&void 0!==e?e:0,s=null!==(t=null==r?void 0:r.level)&&void 0!==t?t:0;return i.TimeRange.createWithEnd(o-a,o+s)}_getSeekableRange(){const e=this._engine.getSeekableRange();return i.TimeRange.createWithEnd(e.start,e.end)}_getViewDimensions(){const e=devicePixelRatio||1;return{width:this._container.offsetWidth*e,height:this._container.offsetHeight*e}}_getMediaDimensions(){return this._videoEl?{width:this._videoEl.videoWidth,height:this._videoEl.videoHeight}:(wt.error("[_getMediaDimensions] Unable to retrieve, video element does not exist"),{width:-1,height:-1})}_getEffectiveMediaDimensions(e){const{width:t,height:n}=e,{width:r,height:i}=this._getMediaDimensions(),o=r/i;return{width:Math.min(t,n*o),height:Math.min(n,t/o)}}_addEngineListeners(){Object.keys(At).forEach((e=>{this._engine.on(e,this._handleTubEventMap)})),Object.keys(Tt).forEach((e=>{this._engine.on(e,this._handleTubEventMap)})),this._engine.on(Et.BitmovinEvents.SegmentPlayback,this._handleTubSegmentPlayback)}_removeEngineListeners(){this._engine&&(Object.keys(Ct).forEach((e=>{this._engine.off(e,this._handleTubEventMap)})),this._engine.off(Et.BitmovinEvents.SegmentPlayback,this._handleTubSegmentPlayback))}_propagateAdBreaks(){var e;const t=(null===(e=this._engine.ads)||void 0===e?void 0:e.list())||[];if(this._engine.isLive())this._adBreaks=t||[],this._stateHandler.handleAdBreakListChange(t);else{const e=[];let n=0;for(const r of t){const t=r.scheduleTime-n;e.push(Object.assign(Object.assign({},r),{scheduleTime:t})),n+=r.duration}this._adBreaks=e,this._stateHandler.handleAdBreakListChange(e)}}_notifyTimeChanged(e){this._stateHandler.handleTimeChanged({time:e.time,absoluteTime:e.absoluteTime,bufferedRange:this._getBufferedRange(),seekableRange:this._getSeekableRange(),duration:this._engine.getMediaDuration()})}_notifyPaused(){this._stateHandler.handlePaused()}_notifyResumed(){this._stateHandler.handleResumed()}_notifyMuteChanged(e){this._stateHandler.handleMuteChanged("muted"===e.type)}_notifyPlaybackSpeedChanged(e){const t=parseFloat(e);isNaN(t)?this._notifyMediaCommandRejected(i.VideoEngineCommand.Speed,[e]):(this._notifyMediaCommandReceived(i.VideoEngineCommand.Speed,[t]),this._stateHandler.handlePlaybackSpeedChanged(t))}_notifyStopped(){this._stateHandler.handleStopped()}_notifyMediaCommandReceived(e,t){this._stateHandler.handleMediaCommandReceived(e,t)}_notifyMediaCommandRejected(e,t){this._stateHandler.handleMediaCommandRejected(e,t)}_notifyReadyForPlayback(){for(;this._delayedSafariCCTracks.length>0;){const e=this._delayedSafariCCTracks.pop();wt.debug(`Media ready, notifying safari of CC track ${e.subtitle.id} ${e.subtitle.lang}`),this._notifyCCTrackAdded(e)}this._notifyMediaLoaded(),this._propagateAdBreaks(),this._notifyMediaReady()}_notifyMediaReady(){this._stateHandler.handleMediaReady()}_notifyMediaStarting(){this._delayedSafariCCTracks=[],this._stateHandler.handleMediaStarting(this._url||"",this._config.media)}_notifyMediaLoaded(){var e;const t=this._createMediaProfiles(this._engine.getAvailableVideoQualities());let n=(null===(e=this._engine.getVideoQuality())||void 0===e?void 0:e.id)||null;n&&"auto"!==n&&!t.find((e=>e.id===n))&&(n=null);const{width:r,height:i}=this._getViewDimensions();this._stateHandler.handleMediaLoaded({isLive:this._engine.isLive(),isProtected:!1,isDynamic:this._isContentDynamic(),viewWidth:r,viewHeight:i,profiles:t,currentProfileId:n,duration:this._engine.getMediaDuration(),appliedConfigData:this._config.media,bufferedRange:this._getBufferedRange(),seekableRange:this._getSeekableRange(),initialTimedMetadata:[]})}_notifyMediaStarted(){this._stateHandler.handleMediaStarted()}_notifyMediaBufferingStarted(){this._stateHandler.handleBufferingStarted()}_notifyMediaBufferingFinished(){this._stateHandler.handleBufferingFinished()}_notifyMediaSeekingStarted(e){this._stateHandler.handleMediaSeekingStarted({fromMediaTime:e.position,toMediaTime:this._userRequestedSeekTime})}_notifyMediaSeekingFinished(e){this._stateHandler.handleMediaSeekingFinished({userRequestedMediaTime:this._userRequestedSeekTime,seekResultMediaTime:e.time}),this._userRequestedSeekTime=-1}_createMediaProfiles(e){return e.map(this._videoQualityToMediaProfile).filter((e=>null!==e))}_videoQualityToMediaProfile(e){const{id:t,bitrate:n,width:r,height:i,label:o,frameRate:a}=e;return"number"!=typeof n?null:{id:t,url:"",bitrate:n/1e3,width:r,height:i,label:o,frameRate:a}}_notifyMediaTargetProfileChanged(e){const{targetQualityId:t}=e;wt.debug(`VideoQualityChanged to: ${t}`),this._stateHandler.handleMediaTargetProfileChanged(t)}_notifyMediaRequestProfileChanged(e){if(!e.targetQuality)return void wt.error("VideoDownloadQualityChangedEvent received without a targetQuality");const t=this._videoQualityToMediaProfile(e.targetQuality);if(!t)return void wt.error("_notifyMediaRequestProfileChanged failed to convert targetQuality to MediaProfile");const{width:n,height:r}=this._getEffectiveMediaDimensions(this._getViewDimensions());this._stateHandler.handleMediaRequestProfileChanged({profile:t,mediaWidth:n,mediaHeight:r})}_notifyMediaProfileChanged(e){if(!e.targetQuality)return void wt.error("VideoPlaybackQualityChangedEvent received without a targetQuality");const t=this._engine.getAvailableVideoQualities().find((t=>t.id===e.targetQuality.id));if(!t)return void wt.error(`Unable to find target quality id '${e.targetQuality.id}' in media profiles`);const n=this._videoQualityToMediaProfile(t);if(!n)return void wt.error("_notifyMediaProfileChanged failed to convert targetQuality to MediaProfile");const{width:r,height:i}=this._getEffectiveMediaDimensions(this._getViewDimensions());this._stateHandler.handleMediaProfileChanged({profile:n,mediaWidth:r,mediaHeight:i})}_notifyVolumeChanged(e){const t=e.targetVolume/100;this._stateHandler.handleVolumeChanged(t)}_notifyMediaTimedMetadataParsed(e){if(this._disabledTimedMetadata)return void wt.debug(`Suppressing metadata parsed event for: ${e.type}`);if(e.metadata&&Array.isArray(e.metadata)&&0===e.metadata.length&&e.data&&isNaN(e.data.presentationTime))return void wt.debug("Suppress metadata parsed because of empty metadata");const t=this._engine.getCurrentTime(),n=(r=e.metadataType,{[Et.MetadataType.SCTE]:c.u6.SCTE,[Et.MetadataType.ID3]:c.u6.ID3,[Et.MetadataType.EVENT_STREAM]:c.u6.EVENT_STREAM,[Et.MetadataType.EMSG]:c.u6.EMSG,[Et.MetadataType.DATERANGE]:c.u6.DATERANGE,[Et.MetadataType.CUSTOM]:c.u6.CUSTOM,[Et.MetadataType.CUETAG]:c.u6.CUETAG,[Et.MetadataType.CAST]:c.u6.CAST}[r]);var r;const o=(e=>{let t;switch(e){case Et.MetadataType.EMSG:case Et.MetadataType.ID3:t=c.e.EMBEDDED;break;case Et.MetadataType.CUETAG:case Et.MetadataType.DATERANGE:case Et.MetadataType.CUSTOM:case Et.MetadataType.SCTE:t=c.e.TAG;break;case Et.MetadataType.CAST:case Et.MetadataType.EVENT_STREAM:t=c.e.OTHER;break;default:throw new i.UnreachableCaseError(e)}return t})(e.metadataType),a=(()=>{if(Array.isArray(e.metadata)){const t=e.metadata[0];return i.ObjectUtils.isPlainObject(t)?t:{}}return e.metadata})(),s=a.type||(n===c.u6.EMSG&&(null===(d=a.schemeIdUri)||void 0===d?void 0:d.indexOf("id3"))>0?c.u6.ID3:c.u6.CUSTOM),u=Object.assign({subType:s},a),l={timeReceived:t,source:o,metadataType:n,metadata:u};var d;e.start&&(l.start=e.start),e.end&&(l.end=e.end),this._stateHandler.handleMediaTimedMetadataParsed(l)}_notifyMediaTimedMetadataReceived(e){}_notifyMediaAudioTrackAvailabilityChanged(e){this._stateHandler.handleMediaAudioTrackAvailabilityChanged({id:1,isDefault:!1,enabled:!1,kind:"",label:"",lang:""},!0)}_notifyMediaAudioTrackSelected(e){this._stateHandler.handleMediaAudioTrackSelected({id:1,isDefault:!1,enabled:!0,kind:"",label:"",lang:""})}_notifyMediaFinished(){this._stateHandler.handleMediaFinished()}_notifyMediaError(e){var t;this._stateHandler.handleMediaError({code:e.code,domain:e.domain,errorName:e.name,message:(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.message)||`${e.name} encountered, code: ${e.code}`,metadata:e.data})}_notifyTubLoadFailure(e){let t,n;if(e instanceof Et.BitmovinPlayerError)t=e.message,n=e;else if(e instanceof Error)t=e.message;else try{t=(0,i.stringify)(e)}catch(e){t=`Could not stringify error: ${e}`}const r={code:Et.ErrorCode.SOURCE_ERROR,domain:"content",errorName:"Play Session Error",message:t};n&&(r.metadata=n),this._stateHandler.handleMediaError(r)}_notifyMediaStalled(e){this._stateHandler.handleMediaStalled(e.name)}_notifyAdStarted(e){const t=e.adBreak;if(!t)return void wt.warn("[_notifyAdStarting] received a null value for eventAdBreak");const n=this._adBreaks.find((e=>e.id===t.id));n||wt.warn("[_notifyAdStarting] could not match AdBreak to corrected AdBreaks with proper ScheduleTime, using result of Event");const r=n||t;r.ads&&0!==r.ads.length||(wt.warn("Missing ad creatives list upon ad break started"),this._requiresAdCreativesRefresh=!0),this._stateHandler.handleAdStarting(r),this._stateHandler.handleAdLoaded(r.duration),this._stateHandler.handleAdStarted()}_notifyAdCreativeStarted(e){var t,n,r;if(this._requiresAdCreativesRefresh){const e=(null!==(r=null===(n=null===(t=this._engine.ads)||void 0===t?void 0:t.getActiveAdBreak())||void 0===n?void 0:n.ads)&&void 0!==r?r:[]).map((e=>i.AdsConverter.toAdCreative(e,this._config.ads.disableAdClickThrough)));wt.warn("Performing one-time update of ad creatives list"),this._stateHandler.handleAdCreativeListChange(e),this._requiresAdCreativesRefresh=!1}const o=i.AdsConverter.toAdCreative(e.ad,this._config.ads.disableAdClickThrough);this._stateHandler.handleAdCreativeStarted(o)}_notifyAdCreativeEnded(){this._stateHandler.handleAdCreativeEnded()}_notifyAdFinished(){this._stateHandler.handleAdFinished()}_notifyYospaceInitError(e){const{code:t,message:n}=e,r=Object.entries(Et.YospaceInitErrorCodes).find((e=>e[1]===t)),i=null==r?void 0:r[0],o={code:t,name:i,message:n,severity:t===Et.YospaceInitErrorCodes.FALLBACK_URL?c.Wk.Warn:c.Wk.Fatal,type:c.Ji.Yospace_Init_Error};this._stateHandler.handleAdError(o)}_notifyYospaceSessionError(e){const{code:t,message:n}=e,r=Object.entries(Et.YospaceSessionErrorCodes).find((e=>e[1]===t)),i=null==r?void 0:r[0],o={code:t,name:i,message:n,severity:c.Wk.Warn,type:c.Ji.Yospace_Session_Error};this._stateHandler.handleAdError(o)}_notifyAdError(e){const{code:t,message:n}=e;this._stateHandler.handleAdError({code:t,severity:c.Wk.Warn,message:n||"Advertising Error reported"})}_notifyCCTrackAdded(e){this._stateHandler.handleCaptionTrack(i.CaptionTrackAction.Added,Pt(e.subtitle))}_notifyCCTrackSelected(e){this._stateHandler.handleCaptionTrack(i.CaptionTrackAction.Selected,Pt(e.subtitle))}_notifyCCTrackDeselected(e){this._stateHandler.handleCaptionTrack(i.CaptionTrackAction.Deselected,Pt(e.subtitle))}_notifyCCTrackRemoved(e){this._stateHandler.handleCaptionTrack(i.CaptionTrackAction.Removed,Pt(e.subtitle))}_notifyCCCueParsed(e){const t=It(e);this._handleCCCueParsed(t)}_handleCCCueParsed(e){this._stateHandler.handleCaptionCue(i.CaptionCueAction.Parsed,e)}_notifyCCCueEntered(e){const t=It(e);this._env.isSafari&&this._handleCCCueParsed(t),this._stateHandler.handleCaptionCue(i.CaptionCueAction.Entered,t)}_notifyCCCueExited(e){this._stateHandler.handleCaptionCue(i.CaptionCueAction.Exited,It(e))}_notifyCCCueUpdated(e){this._stateHandler.handleCaptionCue(i.CaptionCueAction.Updated,It(e))}_applyPlayerValuesFromConfig(e){const{playback:{volume:t,muted:n,playbackSpeed:r}}=e;this._updateVolume(t,!1);const i=this._engine.isMuted();this._updateMuted(n),i&&n&&this._stateHandler.handleMuteChanged(n),this._updatePlaybackSpeed(r)}_updateVolume(e,t=!0){var n,r;const o=Math.min(Math.max(e,0),1),a=100*o;t&&(null===(r=null===(n=this._config)||void 0===n?void 0:n.playback)||void 0===r?void 0:r.muted)&&a>0&&this._updateMuted(!1),i.ObjectUtils.set(this._config,"playback.volume",o),this._engine&&this._engine.setVolume(a)}_updateMuted(e){i.ObjectUtils.set(this._config,"playback.muted",e),this._engine&&(e?this._engine.mute():this._engine.unmute())}_updatePlaybackSpeed(e){this._engine&&(this._engine.setPlaybackSpeed(e),this._notifyPlaybackSpeedChanged(e))}_applyMockHandlers(){this._mocks.updateConfig({handlers:{timedMetadata:this._stateHandler.handleMediaTimedMetadataParsed.bind(this._stateHandler)}})}_removeMockHandlers(){this._mocks.updateConfig({handlers:{timedMetadata:()=>{}}})}setup(e,t){var n,r,o,a;if(!this._engineContainer)return Promise.reject("[setup] Container element does not exist, unable to complete player setup");if(!this._videoEl)return Promise.reject("[setup] Video element does not exist, unable to complete player setup");this._stateHandler.init(this.events,{debug:e.debug.enabled,options:{disableAdClickThrough:e.ads.disableAdClickThrough}},e.monitors.adStartDetection),this._config=i.ObjectUtils.extendDeep({},e,this._config);const{logs:s,serviceWorkerPath:u}=this._config.metadata;let{httpRequestRetryDelay:l=1e3,httpRequestRetryMax:d=0}=this._config.metadata.tub||{};l=l<0?1e3:l,d=d<0?0:d,this._retries={};const _={removeAudioPlaylistMetadataTags:!0,openMeasurement:Object.assign({},this._config.analytics.openMeasurement),playerConfig:{network:{retryHttpRequest:(e,t)=>{var n;if(wt.debug(`[retryHttpRequest] retries: ${JSON.stringify(this._retries,null,2)}`),0===t.status)return t.statusText=`Halting retries, received 'response.status' of '${t.status}'. Check your internet connection.`,wt.debug(`[retryHttpRequest] ${t.statusText}`),Promise.reject(t.request);this._retries[t.url]=null!==(n=this._retries[t.url])&&void 0!==n?n:0;const r=this._retries[t.url];return wt.debug(`[retryHttpRequest] retry: ${r}, delay: ${l}, type: ${e}, response.url: ${t.url}`),new Promise(((e,n)=>{wt.debug(`[retryHttpRequest] Retry request ${r} of ${d}`),r<d?(wt.debug(`[retryHttpRequest] Calling request timeout with delay: ${l}`),setTimeout((()=>{wt.debug(`[retryHttpRequest] Timeout called, resolve: ${JSON.stringify(t.request,null,2)}`),this._retries[t.url]+=1,e(t.request)}),l)):(wt.debug(`[retryHttpRequest] ran out of retries, reject: ${JSON.stringify(t.request,null,2)}`),n(t.request))}))}},playback:{autoplay:!0,muted:e.playback.muted,playsInline:e.playback.playMode!==c.aD.Fullscreen},key:(null===(n=this._config.metadata)||void 0===n?void 0:n["tub.key"])||(null===(o=null===(r=this._config.metadata)||void 0===r?void 0:r.tub)||void 0===o?void 0:o.licenseKey)||"",logs:Object.assign({bitmovin:!1,level:this._config.debug.enabled?"log":"off"},s)},debug:null!==(a=e.debug.enabled)&&void 0!==a&&a,refreshDrmToken:e=>{const t=`${e.companyId}:${e.assetId}`,n=(0,i.createDeferred)();return this._deferredDRMTokenPromises.set(t,n),this._stateHandler.handleDRMTokenRequest({requestId:t,keyData:e}),n.promise}};this._env.isSafari&&(this._config.playback.forceServiceWorker||this._config.ads.enabled&&t.entry.isLive)?_.playerConfig=Object.assign(Object.assign({},_.playerConfig),{location:{serviceworker:u},tweaks:{native_hls_parsing:!0}}):_.disableServiceWorker=!0;let f=!0;const h=e=>{const t=this._engine.getAvailableVideoQualities(),n=e.suggested,r=t.find((e=>e.id===n));if(!r)return Mt.debug(`[onVideoAdaptation] suggested profile not found, use suggested: ${n}`),n;const{capBitrateToSize:i,startBitrate:o}=this._config.media;if(f&&(f=!1,o))return Mt.debug(`[onVideoAdaptation] first adaptation call, use suggested: ${this.convertToKbps(r.bitrate)}`),n;let{minBitrate:a,maxBitrate:s}=this._config.media;a=Number.parseFloat(a),s=Number.parseFloat(s);const u=this.isNumeric(a),c=this.isNumeric(s),l=t[0].bitrate,d=t[t.length-1].bitrate;a=this.convertToBps(a)||l,s=this.convertToBps(s)||d;const _=this.convertToKbps(r.bitrate);Mt.debug(`[onVideoAdaptation] suggested: ${_}`);const h=u||c;if(Mt.debug(`[onVideoAdaptation] controlled via  ○ range: ${h}  ○ size: ${i}`),!h&&!i)return Mt.debug(`[onVideoAdaptation] using suggested: ${_}`),n;const p=this.findMinBitrate(t,a).bitrate,g=this.findMaxBitrate(t,s).bitrate,v=this.getClosestProfile(t).bitrate;let m=u?p:l,y=d;if(c&&i?y=v>g?g:v<m?m:Math.max(v,m):c?y=g:i&&(y=Math.max(v,m)),y<m){const e=Math.min(y,m);m=e,y=e}const b=t.filter((e=>m<=e.bitrate&&e.bitrate<=y)),S=(e,t)=>{Mt.debug(`[onVideoAdaptation] ${e}, filtered:\n\t${b.map((e=>`${this.padEnd(Math.floor(this.convertToKbps(e.bitrate)).toString(),5)} (${this.padEnd(`${e.width}x${e.height})`,10)} ${e.bitrate===t?"← suggested":""}`)).join("\n\t")}`)},E=b[0];if(r.bitrate<(null==E?void 0:E.bitrate))return S("suggested is too low",E.bitrate),E.id;const $=b[b.length-1];return r.bitrate>(null==$?void 0:$.bitrate)?(S("suggested is too high",$.bitrate),$.id):(S("using suggested",r.bitrate),n)};_.playerConfig.adaptation=_.playerConfig.adaptation||{},_.playerConfig.adaptation.desktop=_.playerConfig.adaptation.desktop||{},_.playerConfig.adaptation.mobile=_.playerConfig.adaptation.mobile||{},_.playerConfig.adaptation.desktop.onVideoAdaptation=h,_.playerConfig.adaptation.mobile.onVideoAdaptation=h,null!==this._config.media.startBitrate&&(_.playerConfig.adaptation.desktop.startupBitrate=`${this._config.media.startBitrate}kbps`,_.playerConfig.adaptation.mobile.startupBitrate=`${this._config.media.startBitrate}kbps`);const p=this._config.metadata["tizen.appId"],g=this._config.metadata["webos.appId"];return void 0===p&&this._env.isTizen&&wt.warn("[setup] Tizen environment detected but not indicated via metadata. Add your appID for your Tizen app to the metadata object using tizen.appId"),void 0===g&&this._env.isWebOS&&wt.warn("[setup] WebOS environment detected but not indicated via metadata. Add your appID for your WebOS app to the metadata object using webos.appId"),void 0!==p&&(_.playerConfig=yt(_.playerConfig,{tweaks:{file_protocol:!0,app_id:p}}),_.removeAudioPlaylistMetadataTags=!0,_.disableServiceWorker=!0,_.useTizen=!0),void 0!==g&&(_.playerConfig=yt(_.playerConfig,{tweaks:{file_protocol:!0,app_id:g}}),_.removeAudioPlaylistMetadataTags=!0,_.disableServiceWorker=!0),this._tubConfig=_,this._engine=new Et.Tub(this._engineContainer,this._tubConfig),this._engine.setup().then((()=>{this._videoEl&&this._engine.setVideoElement(this._videoEl),this._addEngineListeners()}))}play(e,t,n){var r,o,a,s,u,l,d,_;return u=this,l=void 0,_=function*(){if(!e)return void this._notifyMediaCommandRejected(i.VideoEngineCommand.Play,[e,n]);this._notifyMediaCommandReceived(i.VideoEngineCommand.Play,[e,n]),(null===(o=null===(r=n.metadata)||void 0===r?void 0:r.tub)||void 0===o?void 0:o.licenseCustomData)&&this._engine.setAuthentication(n.metadata.tub.licenseCustomData);const u=function(e,t,n){var r,i,o,a,s,u,l,d;const _={};if((null===(r=null==n?void 0:n.ads)||void 0===r?void 0:r.enabled)?((null===(i=n.analytics)||void 0===i?void 0:i.suppressAdAnalytics)&&(_.suppressAnalytics=!0),(null===(o=t.entry.metadata)||void 0===o?void 0:o.ssaiType)!==c.Wu.Auditude&&(_.assetType=t.options.assetType),n.ads.companions&&Array.isArray(n.ads.companions.containers)&&n.ads.companions.containers.length>0&&(_.companionAdConfiguration={containers:n.ads.companions.containers,clearOnAdFinished:n.ads.companions.clearOnAdFinished})):(null===(a=n.ads)||void 0===a?void 0:a.profile)&&(_.metadata||(_.metadata={}),_.metadata.profile=n.ads.profile),_.brightline={enabled:null===(u=null===(s=n.ads)||void 0===s?void 0:s.brightline)||void 0===u||u},(null==n?void 0:n.media)&&n.media.offset&&(_.options={startOffset:n.media.offset}),(null==n?void 0:n.drm.enabled)&&function(e){switch(e.contentProtection){case c.AR.Unknown:case c.AR.BulkAES:case c.AR.Unprotected:case c.AR.Preview:return!1;default:return!0}}(e)&&(_.drm={},n.drm.fairplay.enabled&&(_.drm.fairplay={LA_URL:n.drm.fairplay.licenseServer,certificateURL:n.drm.fairplay.certificateURL,headers:Object.assign({},n.drm.fairplay.headers)}),n.drm.widevine.enabled&&(_.drm.widevine={LA_URL:n.drm.widevine.licenseServer,headers:Object.assign({},n.drm.widevine.headers)}),n.drm.playready.enabled&&(_.drm.playready={LA_URL:n.drm.playready.licenseServer,headers:Object.assign({},n.drm.playready.headers)}),(null===(l=null==n?void 0:n.metadata)||void 0===l?void 0:l.targetX1)&&(!(null===(d=null==n?void 0:n.ads)||void 0===d?void 0:d.enabled)||t.options.assetType!==Et.PlaybackMode.LIVE&&t.options.assetType!==Et.PlaybackMode.DVRLIVE||(_.drm.immediateLicenseRequest=!0))),n.analytics.enabled){const e=n.features.ccpa,t=n.analytics.comscore;if(null==t?void 0:t.enabled){const n={};e.enabled&&(e.doNotSell?n.userConsent=Et.ComScoreUserConsent.Denied:n.userConsent=Et.ComScoreUserConsent.Granted),_.comScoreConfiguration=Object.assign({applicationName:t.applicationName,applicationVersion:t.applicationVersion,debug:t.debug,isOTT:t.isOTT,publisherId:t.publisherId,childDirectedAppMode:t.childDirectedAppMode},n),_.comScoreMetadata={advertisementLoad:t.advertisementLoad,c3:t.c3,c4:t.c4,c6:t.c6,completeEpisode:t.completeEpisode,contentGenre:t.contentGenre,digitalAirdate:t.digitalAirdate,episodeId:t.episodeId,episodeNumber:t.episodeNumber,episodeSeasonNumber:t.episodeSeasonNumber,episodeTitle:t.episodeTitle,feedType:t.feedType,mediaType:t.mediaType,programId:t.programId,programTitle:t.programTitle,publisherBrandName:t.publisherBrandName,stationTitle:t.stationTitle,tvAirdate:t.tvAirdate,uniqueContentId:t.uniqueContentId}}}const f=n.features.tve;_.tubAdPolicy={trapDuration:f.enabled?f.trapDuration:0,skipWatchedAds:f.enabled};const h=Object.assign({},_);if(!e.url)return h;switch(e.type===c.FO.Unknown&&$t.warn("The media file type could not be automatically determined, falling back to expecting HLS content."),e.type){case c.FO.Unknown:case c.FO.M3U8:h.hls=e.url;break;case c.FO.MP3:case c.FO.MP4:h.progressive=e.url}if(t.entry.captions.enabled&&t.entry.captions.sources.length>0){const e=t.entry.captions.sources.filter((e=>"external"===e.type)).reduce(((e,t)=>e.concat(t.tracks)),[]);h.subtitleTracks=e.map((e=>({id:e.url,kind:e.kind,lang:e.lang,label:e.label,url:e.url})))}return h}(e,t,n);return this._url=u.hls||"",wt.info(`[play] sourceConfig: ${(0,i.stringify)(u)}`),c.pv.mocksEnabled(n)&&(null!==(s=null===(a=n.mocks.timedMetadata)||void 0===a?void 0:a.messages)&&void 0!==s?s:[]).length>0&&(this._disabledTimedMetadata=!0,wt.debug("Mocked timed metadata in use; real timed metadata will be suppressed.")),this._notifyMediaStarting(),this._isStopped=!1,this._applyPlayerValuesFromConfig(n),this._engine.load(u).then((()=>{wt.debug("[play] Content loaded"),this._isStopped&&this.stop()})).catch((e=>{this._notifyTubLoadFailure(e)}))},new((d=void 0)||(d=Promise))((function(e,t){function n(e){try{i(_.next(e))}catch(e){t(e)}}function r(e){try{i(_.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):(i=t.value,i instanceof d?i:new d((function(e){e(i)}))).then(n,r)}i((_=_.apply(u,l||[])).next())}))}updateConfig(e){var t,n;if(i.ObjectUtils.has(e,"playback.volume")){const t=i.ObjectUtils.get(e,"playback.volume");this._updateVolume(t),this._notifyMediaCommandReceived(i.VideoEngineCommand.Volume,[t])}if(i.ObjectUtils.has(e,"playback.muted")){const t=i.ObjectUtils.get(e,"playback.muted");this._updateMuted(t),this._notifyMediaCommandReceived(i.VideoEngineCommand.Muted,[t])}if(i.ObjectUtils.has(e,"playback.playbackSpeed")){const t=i.ObjectUtils.get(e,"playback.playbackSpeed");this._updatePlaybackSpeed(t)}if(i.ObjectUtils.has(e,"media.minBitrate")){const t=i.ObjectUtils.get(e,"media.minBitrate");i.ObjectUtils.set(this._config,"media.minBitrate",t)}if(i.ObjectUtils.has(e,"media.maxBitrate")){const t=i.ObjectUtils.get(e,"media.maxBitrate");i.ObjectUtils.set(this._config,"media.maxBitrate",t)}if(i.ObjectUtils.has(e,"media.capBitrateToSize")){const t=i.ObjectUtils.get(e,"media.capBitrateToSize");i.ObjectUtils.set(this._config,"media.capBitrateToSize",t)}if(i.ObjectUtils.has(e,c.ki.Feature_CCPA)){const t=i.ObjectUtils.get(e,c.ki.Feature_CCPA);if(t.enabled){if(!this._engine)return;t.doNotSell?this._engine.comScoreUserConsentDenied():this._engine.comScoreUserConsentGranted()}}if(i.ObjectUtils.has(e,"ads.companions")){wt.debug("[updateConfig] found ads.companions in config");const n=i.ObjectUtils.get(e,"ads.companions"),r=i.ObjectUtils.get(n,"containers");Array.isArray(r)&&r.length?(wt.debug("[updateConfig] updating companion config with TUB"),null===(t=this._engine)||void 0===t||t.updateCompanionConfig(n)):wt.debug("[updateConfig] no containers found in ads.companions")}if(i.ObjectUtils.has(e,"analytics.suppressAdAnalytics")){const t=i.ObjectUtils.get(e,"analytics.suppressAdAnalytics");"boolean"==typeof t&&(null===(n=this._engine)||void 0===n||n.analyticSuppression(t))}}pause(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Pause,[]),this._engine.pause()}resume(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Resume,[]),this._engine.play()}seek(e){this._userRequestedSeekTime=e,this._notifyMediaCommandReceived(i.VideoEngineCommand.Seek,[e]),this._engine.isLive()?this._engine.seek(e):this._engine.seek(i.TimeHelper.VOD.convertMediaTimeToContentTime(e,this._adBreaks))}seekToLive(){const e=this._engine.getSeekableRange().end;this._notifyMediaCommandReceived(i.VideoEngineCommand.Seek_To_Live,[e]),this._userRequestedSeekTime=e,this._engine.seek(e)}resize(e,t){this._notifyMediaCommandReceived(i.VideoEngineCommand.Resize,[]),wt.error("[resize] Resize not implemented."),this._notifyMediaCommandRejected(i.VideoEngineCommand.Resize,[])}selectCaptionTrack(e){const t=this._engine.subtitles.list().filter((t=>t.id===e))[0];if(!t)return wt.error(`[selectCaptionTrack] could not match trackId ${e} to a known caption track`),void this._notifyMediaCommandRejected(i.VideoEngineCommand.Select_Caption_Track,[e]);this._notifyMediaCommandReceived(i.VideoEngineCommand.Select_Caption_Track,[t.label]),this._engine.subtitles.enable(t.id)}deselectCaptionTrack(e){const t=this._engine.subtitles.list().filter((t=>t.id===e))[0];if(!t)return wt.error(`[deselectCaptionTrack] could not match trackId ${e} to a known caption track`),void this._notifyMediaCommandRejected(i.VideoEngineCommand.Deselect_Caption_Track,[e]);this._notifyMediaCommandReceived(i.VideoEngineCommand.Deselect_Caption_Track,[t.label]),this._engine.subtitles.disable(t.id)}updateCaptionSettings(e){this._notifyMediaCommandReceived(i.VideoEngineCommand.Update_Caption_Settings,[e])}stop(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Stop,[]),this._engine.unload(),this._isStopped=!0}destroy(){return this._notifyMediaCommandReceived(i.VideoEngineCommand.Destroy,[]),new Promise(((e,t)=>{this._engine&&(this._engine.unload(),this._isStopped=!0),this._removeEngineListeners(),this._removeMockHandlers(),e()}))}adClicked(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Ad_Click,[])}applyDRMToken(e,t){wt.debug(`Applying DRM token. contextId: ${e}, token: ${t}`),this._notifyMediaCommandReceived(i.VideoEngineCommand.Apply_DRM_Token,[e,t]);const n=this._deferredDRMTokenPromises.get(e);if(n)return n.resolver(t),void this._deferredDRMTokenPromises.delete(e);wt.debug("Failed to apply a DRM token - no active pending `Promise` to resolve")}enterPictureInPicture(){this._notifyMediaCommandRejected(i.VideoEngineCommand.Enter_Picture_In_Picture,["feature not implemented for web yet"])}exitPictureInPicture(){this._notifyMediaCommandRejected(i.VideoEngineCommand.Exit_Picture_In_Picture,["feature not implemented for web yet"])}requestAirplay(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Request_Airplay,[]),this._engine.showAirplayTargetPicker()}enterFullscreen(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Enter_Fullscreen,[]),this._engine.omReportViewModeChange("fullscreen")}exitFullscreen(){this._notifyMediaCommandReceived(i.VideoEngineCommand.Exit_Fullscreen,[]),this._engine.omReportViewModeChange("normal")}setMediaProfile(e){this._notifyMediaCommandReceived(i.VideoEngineCommand.Set_Media_Profile,[e]),this._engine.setVideoQuality(e)}setPlaybackSpeed(e){this._engine&&this._engine.setPlaybackSpeed(e)}getThumbnail(e){const t=this._engine.getThumbnail(e);this._stateHandler.handleThumbnail(t)}}(e.topContainer,n),createPlatformHelper:()=>({events:e.events,createSubstructure:()=>i.TaskFactory.create((t=>{e.createSubstructure(),t.resolve()})).execute(),attachToContainer:t=>i.TaskFactory.create((n=>{try{n.resolve(e.attachToContainer(t))}catch(e){n.reject(i.PlayerErrorFactory.viewAttachFailure(e.message))}})).execute(),releaseFromContainer:()=>i.TaskFactory.create((t=>{try{e.releaseFromContainer(),t.resolve()}catch(e){t.reject(i.PlayerErrorFactory.viewDetachFailure(e.message))}})).execute(),enterFullscreen:()=>i.TaskFactory.create((t=>{e.enterFullscreen().then((()=>{t.resolve()})).catch((e=>{t.reject(e)}))})).execute(),exitFullscreen:()=>i.TaskFactory.create((t=>{e.exitFullscreen().then((()=>{t.resolve()})).catch((e=>{t.reject(e)}))})).execute(),initializeUI:(t,n,r)=>i.TaskFactory.create((o=>{e.initializeUI(t,n,r).then(o.resolve).catch((e=>{o.reject(i.PlayerErrorFactory.networkError(`Initializing the UI failed: ${e}`,c.Wk.Error))}))}))}),getSupportedDRMs:()=>{return e=this,n=void 0,i=function*(){if(!window.navigator||!window.navigator.requestMediaKeySystemAccess)return Promise.reject();const e={"com.apple.fairplay":!1,"com.apple.fps.1_0":!1,"com.apple.fps.2_0":!1,"com.youtube.playready":!1,"com.microsoft.playready":!1,"com.microsoft.playready.recommendation":!1,"com.widevine.alpha":!1},n=t=>{e[t.keySystem]=!0},r=()=>{},i={initDataTypes:["cenc"]},o=(e,t)=>({initDataTypes:["cenc"],audioCapabilities:[{contentType:`audio/mp4;codecs="${e}"`}],videoCapabilities:[{contentType:`video/mp4;codecs="${t}"`}]}),a=[navigator.requestMediaKeySystemAccess("com.apple.fairplay",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.apple.fps.1_0",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.apple.fps.2_0",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.youtube.playready",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.microsoft.playready",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.microsoft.playready.recommendation",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.widevine.alpha",[o("mp4a.40.2","avc1.4d401e"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.widevine.alpha",[o("mp4a.40.2","avc1.42c00d"),i]).then(n).catch(r),navigator.requestMediaKeySystemAccess("com.widevine.alpha",[Object.assign(Object.assign({},o("mp4a.40.2","avc1.42c00d")),{persistentState:"optional",sessionTypes:["temporary"],distinctiveIdentifier:"optional"}),{initDataTypes:["cenc"],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]}]).then(n).catch(r)];yield Promise.all(a);const s=[];for(const t in e)e[t]&&s.push(t);return!s.length&&t.isSafari&&/Mac OS X 10_14.*Version\/14/i.test(navigator.userAgent)&&(kt.info("[getSupportedDRMs] Using Safari DRM detection fallback. No keySystems found, using fairplay."),s.push("com.apple.fairplay")),s},new((r=void 0)||(r=Promise))((function(t,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}u((i=i.apply(e,n||[])).next())}));var e,n,r,i}}};var Rt=n(91920),Dt=n(74240),Lt=n.n(Dt),xt=n(17306);c.tY.dependencyVersions=[{name:"Tub",version:Et.libVersions.tub},{name:"Bitmovin Player",version:Et.libVersions.bitmovin},{name:"Yospace",version:Et.libVersions.yospace},{name:"Conviva",version:Lt().Constants.version},{name:"Brightline",version:Et.libVersions.brightline},{name:"Open Measurement",version:Et.libVersions.openMeasurement},{name:"Comscore",version:Et.libVersions.comscore}];const Nt={PlayerState:c.fL,PlayerEventType:c.sL,PlayerCommandType:c.GM,PlayerHookName:c.Jz,PlayerConfigBuilder:c._,ContentEntryBuilder:c.Fb,ads:{AdBreakPosition:c.RI,AdState:c.M9},analytics:{AnalyticsErrorSeverity:c.Wk,AnalyticsMeasureName:c.e1,AnalyticsMarkName:c.$x,DeviceType:c.Yi},auth:{AuthCdnTokenType:c.Dt,AuthDrmTokenType:c.de,AuthTokenType:xt.AuthTokenType},captions:{CCLang:c.gB,CCSource:c.Jc,CCChannel:c.zt,CCState:c.IM,settings:{Color:c.Il,Edge:c.kS,FontType:c.Ky,Opacity:c.Dd,Size:c.$u}},cms:{CmsMediaFileType:c.FO,CmsMediaDeliveryType:c.cA,CmsContentProtectionType:c.AR,CmsProviderKey:c.OS},cues:{CueState:c.uV,CueType:c.tg,CueSource:c.Cq,CueHelpers:c.TO,SCTESegmentationType:c.yq,SCTESpliceCommandType:c.ZX,SCTEDescriptorType:c.Nu,SCTEMetadataHelpers:c.Pr},drm:{KeySystems:c.CE},error:{ErrorSeverity:c.Wk,CategoryErrorCode:c.Vw,CategoryErrorType:c.a9,PlatformErrorCode:c.uR,ErrorDomain:c.qp,AdErrorType:c.Ji},features:{gdpr:{GDPRConsentErrors:c.xh,SubjectToGDPROptions:c.th,TCFVersion:c.QR}},lifecycle:{LifecycleState:c.um,LifecycleAction:c.Rg},media:{MediaState:c.gC},model:{ModelKeys:c.Yk,ModelEventType:c.SX},mocks:{MockMessageType:c.f9,MocksHelpers:c.pv},playback:{ContentState:c.g7,PlayMode:c.aD,timeline:{MarkerType:c.QZ}},ui:{UIControlName:c.oz,UIControlLocation:c.Zv,UIControlSet:c._v,UIContainer:c.d7,UIComponentType:c.PH,UISlate:c.FN,UITheme:c.ZJ,UIClickAction:c.m5},view:{ViewState:c.f7,ViewMode:c.wO},Version:c.tY},Ut=o.determine(navigator.userAgent),Bt=Object.assign(Object.assign({},Nt),{create:()=>new Rt.Player,helpers:{FullscreenDelegate:T,FullscreenChangeHandler:E,FullscreenIOSChangeHandler:b},utils:{Support:d,Browser:{edge:()=>Ut.isEdge,ie:()=>Ut.isIE11,ios:()=>Ut.isIOS,topUI:()=>Ut.isTopUI}}});n.g.TOP||(n.g.TOP={}),n.g.TOP.Player||(n.g.TOP.Player={}),n.g.TOP.logging={Log:i.Log,LogTheme:i.LogTheme,LogLevelType:i.LogLevelType,LogLevelCompositeType:i.LogLevelCompositeType,LogCategoryCompositeType:i.LogCategoryCompositeType,LogEventType:i.LogEventType},Object.keys(Bt).forEach((e=>{n.g.TOP.Player[e]=Bt[e]}));class Ft{constructor(e,t){this._ui=null,this._container=null,this._bindings=null,this._onModelUpdated=e=>{e.changed.some((e=>[c.Yk.Config].includes(e.property)))&&this._onConfigUpdate()},this._onViewStateChanged=e=>{switch(e.currentState){case c.f7.Attached:this._initAndAttachUI();break;case c.f7.Detaching:this._detachUI()}},this._onAdCreativeStarted=e=>{const t=this._player.getCurrentAdCreative();(null==t?void 0:t.requiresUi)?this._detachUI():this._defaultUIEnabled()&&this._initAndAttachUI()},this._onAdFinished=e=>{this._defaultUIEnabled()&&this._initAndAttachUI()},this._player=e,this._uiConstructor=t}initializeUI(){this._initAndAttachUI();const{modelUpdated:e,adCreativeStarted:t,adFinished:n,viewStateChanged:r}=this._player.events;this._bindings=[e.listen(this._onModelUpdated),t.listen(this._onAdCreativeStarted),n.listen(this._onAdFinished),r.listen(this._onViewStateChanged)]}destroy(){var e;null===(e=this._bindings)||void 0===e||e.forEach((e=>e.detach())),this._bindings=null,this._detachUI(),this._ui=null}_initAndAttachUI(){const e=this._player.getCurrentAdCreative();(null==e?void 0:e.requiresUi)||(this._ui||this._initUI(this._getUIConfig()),this._attachUI())}_onConfigUpdate(){if(this._defaultUIEnabled())if(this._ui&&this._container){const e=this._getUIConfig();e&&this._updateUIConfig(e)}else this._initAndAttachUI();else this._detachUI()}_initUI(e){this._ui=this._uiConstructor(this._player,e)}_attachUI(){this._container||(this._container=this._getUIContainer(),this._container&&this._ui&&this._ui.attachToContainer(this._container))}_detachUI(){this._ui&&this._ui.detach(),this._container=null}_updateUIConfig(e){this._ui&&this._ui.updateConfig(e)}_getUIConfig(){try{return this._player.model.config.ui}catch(e){return null}}_getUIContainer(){return this._player.model.subContainer}_defaultUIEnabled(){const e=this._getUIConfig();return!!e&&e.enabled}}var jt=n(23716);class Ht{constructor(e,t){this._ui=new window.TOP.PlayerUI,this._ui.init(this._formatConfig(t)),this._ui.attachPlayer(e)}attachToContainer(e){e&&this._ui.attachToDom(e)}updateConfig(e){this._ui.updateConfig(this._formatConfig(e))}detach(){void 0!==this._ui.detach?this._ui.detach():jt.warn("TopUi detach not yet implemented")}_formatConfig(e){const t=Object.assign({},e);return delete t.enabled,t}}function Vt(e,t){return new Ht(e,t)}class Wt{constructor(){this._setupConfigData={},this._env=o.determine(navigator.userAgent),this._lifecycleDetector=new _,this._logger=i.Log.getLogger("WebPlayer"),this._videoElStyle=null,this._fullscreenDelegate=null,this._customFSDelegate=!1,this.handleContentBeginning=()=>{this.config.lifecycle.enabled?this._lifecycleDetector.start(this._player,this._platformHelper.topContainer):this._lifecycleDetector.stop()},this.handlePlayerDestroyed=e=>{e.currentState===c.fL.Destroyed&&(this._fullscreenDelegate&&(this._fullscreenDelegate.destroy(),this._fullscreenDelegate=null),this._uiManager&&(this._uiManager.destroy(),this._uiManager=null),this._lifecycleDetector.stop(),this._bindings.forEach((e=>e.detach())),this._bindings=[])},this.handleViewStateChanged=e=>{switch(e.currentState){case c.f7.Attached:this._customFSDelegate||(this._fullscreenDelegate&&(this._fullscreenDelegate.destroy(),this._fullscreenDelegate=null),this._fullscreenDelegate=new T(this._platformHelper.rootContainer),this._fullscreenDelegate.init(this._env.isIOS,this._platformHelper.videoEl),this._platformHelper.setFullscreenDelegate(this._fullscreenDelegate));break;case c.f7.Detached:!this._customFSDelegate&&this._fullscreenDelegate&&(this._fullscreenDelegate.destroy(),this._fullscreenDelegate=null)}},this.handleAdCreativeStarted=e=>{this._videoElStyle=this._platformHelper.videoEl.getAttribute("style")},this.handleAdCreativeEnded=e=>{this._platformHelper.videoEl.setAttribute("style",this._videoElStyle||"")},this._uiManager=new Ft(this,Vt),this._platformHelper=new y(this._uiManager),i.LogOverrideHelper.applyOverridesFromURL(document.location.href),this._mocks=new i.MockMessageDispatcher,this._player=(()=>{const e=Ot(this._platformHelper,this._env,this._mocks);return(0,i.createPlayer)(e,this)})(),this._mocks.attach(this._player),this._events=this._player.events,this._hooks=this._player.hooks,this._addDefaultHookHandlers(),this._bindings=[this._events.contentBeginning.listen(this.handleContentBeginning),this._events.playerStateChanged.listen(this.handlePlayerDestroyed),this._events.viewStateChanged.listen(this.handleViewStateChanged),this._events.adCreativeStarted.listen(this.handleAdCreativeStarted),this._events.adCreativeEnded.listen(this.handleAdCreativeEnded)]}_addDefaultHookHandlers(){this._hooks.checkAutoPlay.set((()=>this._platformHelper.checkAutoPlay().then((({canAutoPlay:e,canAutoPlayMuted:t})=>({canAutoPlay:e,canAutoPlayMuted:t}))))),this._hooks.checkGDPRConsent.set((e=>new Promise((t=>{d.gdprConsentWithOptions({config:this.config.features.gdpr}).then(t).catch((n=>t(Object.assign(Object.assign({},e),{error:n}))))}))))}_documentHasBeenUserActivated(){var e,t;return null===(t=null===(e=navigator.userActivation)||void 0===e?void 0:e.hasBeenActive)||void 0===t||t}get id(){return this._player.id}get events(){return this._events}get hooks(){const e=this._hooks;return{addPlatformMetadata:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Add_Platform_Metadata]),authRefresh:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Auth_Refresh]),checkAutoPlay:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Check_Auto_Play]),checkGDPRConsent:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Check_GDPR_Consent]),validateContentResolution:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Validate_Content_Resolution]),validateDRMTokenRequest:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Validate_DRM_Token_Request]),validateDRMTokenResponse:(0,i.EnforcePeripheralHookHandlers)(e[c.Jz.Validate_DRM_Token_Response])}}get model(){return this._player.model}get playerState(){return this._player.playerState}get contentState(){return this._player.contentState}get lifecycleState(){return this._player.lifecycleState}get config(){return this._player.config}get playlistItem(){return this._player.playlistItem}get volume(){return this._player.volume}get muted(){return this._player.muted}get analytics(){return this._player.analytics}get captions(){return this._player.captions}get cues(){return this._player.cues}get timeline(){return this._player.timeline}get mediaState(){return this._player.mediaState}get mediaDuration(){return this._player.mediaDuration}get mediaTime(){return this._player.mediaTime}get contentSeekableRange(){return this._player.contentSeekableRange}get mediaSeekableRange(){return this._player.mediaSeekableRange}get contentBufferedRange(){return this._player.contentBufferedRange}get isFullscreen(){return this._player.isFullscreen}get viewState(){return this._player.viewState}get contentIsLive(){return this._player.contentIsLive}get fullscreenDelegate(){return this._fullscreenDelegate}set fullscreenDelegate(e){var t,n;if(this._fullscreenDelegate&&(null===(t=this._fullscreenDelegate)||void 0===t||t.events.unlistenAll(),null===(n=this._fullscreenDelegate)||void 0===n||n.destroy(),this._fullscreenDelegate=null),this._fullscreenDelegate=e,e)this._customFSDelegate=!0,e.init(this._env.isIOS,this._platformHelper.videoEl);else switch(this._customFSDelegate=!1,this.viewState){case c.f7.Creating:case c.f7.Created:case c.f7.Attaching:case c.f7.Detaching:case c.f7.Detached:case c.f7.Error:case c.f7.Pending:case c.f7.Destroying:case c.f7.Destroyed:break;default:this._fullscreenDelegate=new T(this._platformHelper.rootContainer),this._fullscreenDelegate.init(this._env.isIOS,this._platformHelper.videoEl)}this._platformHelper.setFullscreenDelegate(this._fullscreenDelegate)}getCurrentAdBreak(){return this._player.getCurrentAdBreak()}getCurrentAdCreative(){return this._player.getCurrentAdCreative()}getAdBreaks(){return this._player.getAdBreaks()}requestAirplay(){this._player.requestAirplay()}setup(e){var t,n,r,o,a,s,u;(0,i.containsEnabledTOPDebug)(document.location.href)&&i.ObjectUtils.extendDeep(e,{config:{debug:!0}}),(null===(n=null===(t=e.config)||void 0===t?void 0:t.captions)||void 0===n?void 0:n.maxCues)||i.ObjectUtils.extendDeep(e,{config:{captions:{maxCues:null}}}),"object"==typeof(null===(r=null==e?void 0:e.config)||void 0===r?void 0:r.lifecycle)?(e.config.lifecycle.focusLost||(e.config.lifecycle.focusLost=c.Rg.Continue),e.config.lifecycle.background||(e.config.lifecycle.background=c.Rg.Continue)):"boolean"==typeof(null===(o=null==e?void 0:e.config)||void 0===o?void 0:o.lifecycle)?e.config.lifecycle={enabled:e.config.lifecycle,focusLost:c.Rg.Continue,background:c.Rg.Continue}:void 0===(null===(a=null==e?void 0:e.config)||void 0===a?void 0:a.lifecycle)&&i.ObjectUtils.extendDeep(e,{config:{lifecycle:{background:c.Rg.Continue,focusLost:c.Rg.Continue}}}),(null===(u=null===(s=null==e?void 0:e.config)||void 0===s?void 0:s.metadata)||void 0===u?void 0:u.targetX1)&&i.ObjectUtils.extendDeep(e,{config:{cms:{forceKeySystem:c.CE.Widevine},drm:{widevine:!0,fairplay:!1,playready:!1}}}),this._setupConfigData=e,this._player.setup(this._setupConfigData)}ready(e){throw new Error("Method not implemented.")}attach(e){this._player.attach(e)}detach(){this._player.detach({exitFullscreenOnDetach:!0})}updateConfig(e){this._player.updateConfig(e)}preloadContent(e,t){return this._player.preloadContent(e,t)}play(e,t){this._platformHelper.attemptToPrimeVideoElements(),this._player.play(e,t)}playByMediaJson(e,t){this._platformHelper.attemptToPrimeVideoElements(),this._player.playByMediaJson(e,t)}proceed(){this._platformHelper.primeVideoElements(),this._player.proceed()}pause(){this._player.pause()}resume(){this._player.resume()}seek(e){this._player.seek(e)}seekToLive(){this._player.seekToLive()}setVolume(e){this._player.setVolume(e)}mute(){this._player.mute()}unmute(){this._documentHasBeenUserActivated()?this._player.unmute():this._logger.warn("Unmute request rejected, currently in a state where it is not allowed.")}resize(e,t){this._player.resize(e,t)}selectCaptionTrack(e){this._player.selectCaptionTrack(e)}selectCaptionTrackByLang(e){this._player.selectCaptionTrackByLang(e)}setCaptionsEnabled(e){this._player.setCaptionsEnabled(e)}sendMessageToUI(e,t){this._player.sendMessageToUI(e,t)}updateCaptionSettings(e){this._player.updateCaptionSettings(c.D.User,e)}enterFullscreen(){this._player.enterFullscreen()}exitFullscreen(){this._player.exitFullscreen()}setMediaProfile(e){this._player.setMediaProfile(e)}userAction(e){this._platformHelper.handleUserAction(e)}stop(){this._player.stop()}replay(){this._player.replay()}setPlayerMode(e){this.config.lifecycle.enabled&&this._player.setPlayerMode(e)}reportEvent(e){this._player.reportEvent(e)}reportError(e){this._player.reportError(e)}destroy(){return this._mocks.destroy(),this._player.destroy()}getThumbnail(e){this._player.getThumbnail(e)}processCommand(e){this._player.processCommand(e)}}},94488:(e,t,n)=>{"use strict";var r=n(32094);e.exports=function(e){return!!r(e)}},10082:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},54895:(e,t,n)=>{"use strict";var r=n(52635),i=n(43138),o=n(32094),a=n(94488);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),d=s(Number.prototype.valueOf),_=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(c)var p=s(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===l(e)}function m(e){return"[object Set]"===l(e)}function y(e){return"[object WeakMap]"===l(e)}function b(e){return"[object WeakSet]"===l(e)}function S(e){return"[object ArrayBuffer]"===l(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(S.working?S(e):e instanceof ArrayBuffer)}function $(e){return"[object DataView]"===l(e)}function T(e){return"undefined"!=typeof DataView&&($.working?$(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||T(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(m.working?m(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),t.isWeakSet=function(e){return b(e)},S.working="undefined"!=typeof ArrayBuffer&&S(new ArrayBuffer),t.isArrayBuffer=E,$.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&$(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=T;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(e){return"[object SharedArrayBuffer]"===l(e)}function P(e){return void 0!==A&&(void 0===C.working&&(C.working=C(new A)),C.working?C(e):e instanceof A)}function I(e){return g(e,d)}function w(e){return g(e,_)}function M(e){return g(e,f)}function k(e){return u&&g(e,h)}function O(e){return c&&g(e,p)}t.isSharedArrayBuffer=P,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=I,t.isStringObject=w,t.isBooleanObject=M,t.isBigIntObject=k,t.isSymbolObject=O,t.isBoxedPrimitive=function(e){return I(e)||w(e)||M(e)||k(e)||O(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||P(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},43335:(e,t,n)=>{var r=n(34406),i=n(23716),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},a=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(a,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<i;s=r[++n])m(s)||!$(s)?o+=" "+s:o+=" "+l(s);return o},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?i.trace(n):i.error(n),o=!0}return e.apply(this,arguments)}};var s={},u=/^$/;if(r.env.NODE_DEBUG){var c=r.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+c+"$","i")}function l(e,n){var r={seen:[],stylize:_};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&t._extend(r,n),S(r.showHidden)&&(r.showHidden=!1),S(r.depth)&&(r.depth=2),S(r.colors)&&(r.colors=!1),S(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=d),f(r,e,r.depth)}function d(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function _(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=f(e,i,r)),i}var o=function(e,t){if(S(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):v(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),A(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(C(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(E(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(T(n))return e.stylize(Date.prototype.toString.call(n),"date");if(A(n))return h(n)}var c,l="",d=!1,_=["{","}"];return g(n)&&(d=!0,_=["[","]"]),C(n)&&(l=" [Function"+(n.name?": "+n.name:"")+"]"),E(n)&&(l=" "+RegExp.prototype.toString.call(n)),T(n)&&(l=" "+Date.prototype.toUTCString.call(n)),A(n)&&(l=" "+h(n)),0!==a.length||d&&0!=n.length?r<0?E(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=d?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)M(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,d)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,_)):_[0]+l+_[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),M(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),S(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function m(e){return null===e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function S(e){return void 0===e}function E(e){return $(e)&&"[object RegExp]"===P(e)}function $(e){return"object"==typeof e&&null!==e}function T(e){return $(e)&&"[object Date]"===P(e)}function A(e){return $(e)&&("[object Error]"===P(e)||e instanceof Error)}function C(e){return"function"==typeof e}function P(e){return Object.prototype.toString.call(e)}function I(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!s[e])if(u.test(e)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);i.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(54895),t.isArray=g,t.isBoolean=v,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=S,t.isRegExp=E,t.types.isRegExp=E,t.isObject=$,t.isDate=T,t.types.isDate=T,t.isError=A,t.types.isNativeError=A,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(10082);var w=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;i.log("%s - %s",(n=[I((e=new Date).getHours()),I(e.getMinutes()),I(e.getSeconds())].join(":"),[e.getDate(),w[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(91285),t._extend=function(e,t){if(!t||!$(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var k="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(k&&e[k]){var t;if("function"!=typeof(t=e[k]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),k&&Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=k,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(a.bind(null,null,e))}),(function(e){r.nextTick(O.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},46168:(e,t,n)=>{"use strict";var r="URLSearchParams"in self,i="Symbol"in self&&"iterator"in Symbol,o="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in self,s="ArrayBuffer"in self;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function _(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?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 h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):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):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(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)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=p(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(S)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=l(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[l(e)]},f.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},f.prototype.set=function(e,t){this.map[l(e)]=d(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),_(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),_(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),_(e)},i&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,i=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(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 f(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),y.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 new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function S(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 E(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 f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},m.call(b.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var $=[301,302,303,307,308];E.redirect=function(e,t){if(-1===$.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})};var T=self.DOMException;try{new T}catch(e){(T=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function A(e,t){return new Promise((function(n,r){var i=new b(e,t);if(i.signal&&i.signal.aborted)return r(new T("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new f,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)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;n(new E(i,r))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new T("Aborted","AbortError"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&o&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",s)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}A.polyfill=!0,self.fetch||(self.fetch=A,self.Headers=f,self.Request=b,self.Response=E)},32094:(e,t,n)=>{"use strict";var r=n(83243),i=n(62191),o=n(47909),a=n(73480),s=n(50326),u=a("Object.prototype.toString"),c=n(67226)(),l="undefined"==typeof globalThis?n.g:globalThis,d=i(),_=a("String.prototype.slice"),f=Object.getPrototypeOf,h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},p={__proto__:null};r(d,c&&s&&f?function(e){var t=new l[e];if(Symbol.toStringTag in t){var n=f(t),r=s(n,Symbol.toStringTag);if(!r){var i=f(n);r=s(i,Symbol.toStringTag)}p["$"+e]=o(r.get)}}:function(e){var t=new l[e],n=t.slice||t.set;n&&(p["$"+e]=o(n))}),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=_(u(e),8,-1);return h(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(p,(function(n,r){if(!t)try{n(e),t=_(r,1)}catch(e){}})),t}(e)}return s?function(e){var t=!1;return r(p,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=_(r,1))}catch(e){}})),t}(e):null}},73480:(e,t,n)=>{"use strict";var r=n(60590),i=n(47909),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},47909:(e,t,n)=>{"use strict";var r=n(43480),i=n(60590),o=n(47669),a=i("%TypeError%"),s=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(u,s),l=i("%Object.defineProperty%",!0),d=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=c(r,u,arguments);return o(t,1+d(0,e.length-(arguments.length-1)),!0)};var _=function(){return c(r,s,arguments)};l?l(e.exports,"apply",{value:_}):e.exports.apply=_},73107:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var n=[],r=1,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments),s=n(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,r(a,arguments));return Object(t)===t?t:this}return i.apply(e,r(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},43480:(e,t,n)=>{"use strict";var r=n(73107);e.exports=Function.prototype.bind||r},60590:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var c=function(){throw new a},l=u?function(){try{return c}catch(e){try{return u(arguments,"callee").get}catch(e){return c}}}():c,d=n(32636)(),_=n(18486)(),f=Object.getPrototypeOf||(_?function(e){return e.__proto__}:null),h={},p="undefined"!=typeof Uint8Array&&f?f(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&f?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&f?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&f?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&f?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&f?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(f)try{null.error}catch(e){var v=f(f(e));g["%Error.prototype%"]=v}var m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&f&&(n=f(i.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(43480),S=n(72196),E=b.call(Function.call,Array.prototype.concat),$=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),A=b.call(Function.call,String.prototype.slice),C=b.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,w=function(e,t){var n,r=e;if(S(y,r)&&(r="%"+(n=y[r])[0]+"%"),S(g,r)){var o=g[r];if(o===h&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,P,(function(e,t,n,i){r[r.length]=n?T(i,I,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=w("%"+r+"%",t),s=o.name,c=o.value,l=!1,d=o.alias;d&&(r=d[0],$(n,E([0,1],d)));for(var _=1,f=!0;_<n.length;_+=1){var h=n[_],p=A(h,0,1),v=A(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===v||"'"===v||"`"===v)&&p!==v)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&f||(l=!0),S(g,s="%"+(r+="."+h)+"%"))c=g[s];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&_+1>=n.length){var m=u(c,h);c=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:c[h]}else f=S(c,h),c=c[h];f&&!l&&(g[s]=c)}}return c}},62191:(e,t,n)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},21052:(e,t,n)=>{"use strict";var r=n(30688),i=n(3397),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},73755:(e,t,n)=>{"use strict";var r=n(51414),i=n(3397),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},29568:(e,t,n)=>{"use strict";var r=n(41167),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},60586:(e,t,n)=>{"use strict";var r=n(72032),i=n(38536),o=n(12131).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},36271:(e,t,n)=>{"use strict";var r=n(87048).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},69887:(e,t,n)=>{"use strict";var r=n(66148),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},89175:(e,t,n)=>{"use strict";var r=n(35309),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},82065:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},85321:(e,t,n)=>{"use strict";var r=n(64694);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},4317:(e,t,n)=>{"use strict";var r,i,o,a=n(82065),s=n(99924),u=n(52150),c=n(30688),l=n(35309),d=n(84678),_=n(51566),f=n(3397),h=n(22385),p=n(52470),g=n(29393),v=n(66148),m=n(17610),y=n(64584),b=n(72032),S=n(65736),E=n(67804),$=E.enforce,T=E.get,A=u.Int8Array,C=A&&A.prototype,P=u.Uint8ClampedArray,I=P&&P.prototype,w=A&&m(A),M=C&&m(C),k=Object.prototype,O=u.TypeError,R=b("toStringTag"),D=S("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",x=a&&!!y&&"Opera"!==_(u.opera),N=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=m(e);if(l(t)){var n=T(t);return n&&d(n,L)?n[L]:F(t)}},j=function(e){if(!l(e))return!1;var t=_(e);return d(U,t)||d(B,t)};for(r in U)(o=(i=u[r])&&i.prototype)?$(o)[L]=i:x=!1;for(r in B)(o=(i=u[r])&&i.prototype)&&($(o)[L]=i);if((!x||!c(w)||w===Function.prototype)&&(w=function(){throw new O("Incorrect invocation")},x))for(r in U)u[r]&&y(u[r],w);if((!x||!M||M===k)&&(M=w.prototype,x))for(r in U)u[r]&&y(u[r].prototype,M);if(x&&m(I)!==M&&y(I,M),s&&!d(M,R))for(r in N=!0,g(M,R,{configurable:!0,get:function(){return l(this)?this[D]:void 0}}),U)u[r]&&h(u[r],D,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:x,TYPED_ARRAY_TAG:N&&D,aTypedArray:function(e){if(j(e))return e;throw new O("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!y||v(w,e)))return e;throw new O(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var i in U){var o=u[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}M[e]&&!n||p(M,e,n?t:x&&C[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(y){if(n)for(r in U)if((i=u[r])&&d(i,e))try{delete i[e]}catch(e){}if(w[e]&&!n)return;try{return p(w,e,n?t:x&&w[e]||t)}catch(e){}}for(r in U)!(i=u[r])||i[e]&&!n||p(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!l(e))return!1;var t=_(e);return"DataView"===t||d(U,t)||d(B,t)},isTypedArray:j,TypedArray:w,TypedArrayPrototype:M}},27454:(e,t,n)=>{"use strict";var r=n(52150),i=n(9668),o=n(99924),a=n(82065),s=n(40453),u=n(22385),c=n(29393),l=n(99700),d=n(64694),_=n(69887),f=n(81680),h=n(27331),p=n(65992),g=n(10052),v=n(59481),m=n(17610),y=n(64584),b=n(98404),S=n(87686),E=n(75086),$=n(43891),T=n(87495),A=n(67804),C=s.PROPER,P=s.CONFIGURABLE,I="ArrayBuffer",w="DataView",M="prototype",k="Wrong index",O=A.getterFor(I),R=A.getterFor(w),D=A.set,L=r[I],x=L,N=x&&x[M],U=r[w],B=U&&U[M],F=Object.prototype,j=r.Array,H=r.RangeError,V=i(b),W=i([].reverse),q=v.pack,G=v.unpack,Y=function(e){return[255&e]},K=function(e){return[255&e,e>>8&255]},z=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},X=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Q=function(e){return q(g(e),23,4)},J=function(e){return q(e,52,8)},Z=function(e,t,n){c(e[M],t,{configurable:!0,get:function(){return n(this)[t]}})},ee=function(e,t,n,r){var i=R(e),o=p(n),a=!!r;if(o+t>i.byteLength)throw new H(k);var s=i.bytes,u=o+i.byteOffset,c=S(s,u,u+t);return a?c:W(c)},te=function(e,t,n,r,i,o){var a=R(e),s=p(n),u=r(+i),c=!!o;if(s+t>a.byteLength)throw new H(k);for(var l=a.bytes,d=s+a.byteOffset,_=0;_<t;_++)l[d+_]=u[c?_:t-_-1]};if(a){var ne=C&&L.name!==I;d((function(){L(1)}))&&d((function(){new L(-1)}))&&!d((function(){return new L,new L(1.5),new L(NaN),1!==L.length||ne&&!P}))?ne&&P&&u(L,"name",I):((x=function(e){return _(this,N),E(new L(p(e)),this,x)})[M]=N,N.constructor=x,$(x,L)),y&&m(B)!==F&&y(B,F);var re=new U(new x(2)),ie=i(B.setInt8);re.setInt8(0,2147483648),re.setInt8(1,2147483649),!re.getInt8(0)&&re.getInt8(1)||l(B,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else N=(x=function(e){_(this,N);var t=p(e);D(this,{type:I,bytes:V(j(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[M],B=(U=function(e,t,n){_(this,B),_(e,N);var r=O(e),i=r.byteLength,a=f(t);if(a<0||a>i)throw new H("Wrong offset");if(a+(n=void 0===n?i-a:h(n))>i)throw new H("Wrong length");D(this,{type:w,buffer:e,byteLength:n,byteOffset:a,bytes:r.bytes}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=a)})[M],o&&(Z(x,"byteLength",O),Z(U,"buffer",R),Z(U,"byteLength",R),Z(U,"byteOffset",R)),l(B,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return G(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return G(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,Y,t)},setUint8:function(e,t){te(this,1,e,Y,t)},setInt16:function(e,t){te(this,2,e,K,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,K,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,z,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,z,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,Q,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,J,t,arguments.length>2&&arguments[2])}});T(x,I),T(U,w),e.exports={ArrayBuffer:x,DataView:U}},72530:(e,t,n)=>{"use strict";var r=n(90298),i=n(37352),o=n(8344),a=n(40955),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),u=o(n),c=i(e,u),l=i(t,u),d=arguments.length>2?arguments[2]:void 0,_=s((void 0===d?u:i(d,u))-l,u-c),f=1;for(l<c&&c<l+_&&(f=-1,l+=_-1,c+=_-1);_-- >0;)l in n?n[c]=n[l]:a(n,c),c+=f,l+=f;return n}},98404:(e,t,n)=>{"use strict";var r=n(90298),i=n(37352),o=n(8344);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)t[s++]=e;return t}},18875:(e,t,n)=>{"use strict";var r=n(55909).forEach,i=n(567)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},77895:(e,t,n)=>{"use strict";var r=n(8344);e.exports=function(e,t,n){for(var i=0,o=arguments.length>2?n:r(t),a=new e(o);o>i;)a[i]=t[i++];return a}},44583:(e,t,n)=>{"use strict";var r=n(14162),i=n(68724),o=n(90298),a=n(64537),s=n(72407),u=n(51414),c=n(8344),l=n(93182),d=n(94406),_=n(88674),f=Array;e.exports=function(e){var t=o(e),n=u(this),h=arguments.length,p=h>1?arguments[1]:void 0,g=void 0!==p;g&&(p=r(p,h>2?arguments[2]:void 0));var v,m,y,b,S,E,$=_(t),T=0;if(!$||this===f&&s($))for(v=c(t),m=n?new this(v):f(v);v>T;T++)E=g?p(t[T],T):t[T],l(m,T,E);else for(S=(b=d(t,$)).next,m=n?new this:[];!(y=i(S,b)).done;T++)E=g?a(b,p,[y.value,T],!0):y.value,l(m,T,E);return m.length=T,m}},21138:(e,t,n)=>{"use strict";var r=n(36854),i=n(37352),o=n(8344),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},50563:(e,t,n)=>{"use strict";var r=n(14162),i=n(74347),o=n(90298),a=n(8344),s=function(e){var t=1===e;return function(n,s,u){for(var c,l=o(n),d=i(l),_=a(d),f=r(s,u);_-- >0;)if(f(c=d[_],_,l))switch(e){case 0:return c;case 1:return _}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},55909:(e,t,n)=>{"use strict";var r=n(14162),i=n(9668),o=n(74347),a=n(90298),s=n(8344),u=n(41699),c=i([].push),l=function(e){var t=1===e,n=2===e,i=3===e,l=4===e,d=6===e,_=7===e,f=5===e||d;return function(h,p,g,v){for(var m,y,b=a(h),S=o(b),E=s(S),$=r(p,g),T=0,A=v||u,C=t?A(h,E):n||_?A(h,0):void 0;E>T;T++)if((f||T in S)&&(y=$(m=S[T],T,b),e))if(t)C[T]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return T;case 2:c(C,m)}else switch(e){case 4:return!1;case 7:c(C,m)}return d?-1:i||l?l:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},18676:(e,t,n)=>{"use strict";var r=n(39659),i=n(36854),o=n(81680),a=n(8344),s=n(567),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),_=l||!d;e.exports=_?function(e){if(l)return r(c,this,arguments)||0;var t=i(this),n=a(t),s=n-1;for(arguments.length>1&&(s=u(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},22874:(e,t,n)=>{"use strict";var r=n(64694),i=n(72032),o=n(17067),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},567:(e,t,n)=>{"use strict";var r=n(64694);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},89309:(e,t,n)=>{"use strict";var r=n(21052),i=n(90298),o=n(74347),a=n(8344),s=TypeError,u=function(e){return function(t,n,u,c){var l=i(t),d=o(l),_=a(l);r(n);var f=e?_-1:0,h=e?-1:1;if(u<2)for(;;){if(f in d){c=d[f],f+=h;break}if(f+=h,e?f<0:_<=f)throw new s("Reduce of empty array with no initial value")}for(;e?f>=0:_>f;f+=h)f in d&&(c=n(c,d[f],f,l));return c}};e.exports={left:u(!1),right:u(!0)}},86207:(e,t,n)=>{"use strict";var r=n(99924),i=n(40256),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},87686:(e,t,n)=>{"use strict";var r=n(9668);e.exports=r([].slice)},3097:(e,t,n)=>{"use strict";var r=n(87686),i=Math.floor,o=function(e,t){var n=e.length;if(n<8)for(var a,s,u=1;u<n;){for(s=u,a=e[u];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==u++&&(e[s]=a)}else for(var c=i(n/2),l=o(r(e,0,c),t),d=o(r(e,c),t),_=l.length,f=d.length,h=0,p=0;h<_||p<f;)e[h+p]=h<_&&p<f?t(l[h],d[p])<=0?l[h++]:d[p++]:h<_?l[h++]:d[p++];return e};e.exports=o},39120:(e,t,n)=>{"use strict";var r=n(40256),i=n(51414),o=n(35309),a=n(72032)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},41699:(e,t,n)=>{"use strict";var r=n(39120);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},24501:(e,t,n)=>{"use strict";var r=n(8344);e.exports=function(e,t){for(var n=r(e),i=new t(n),o=0;o<n;o++)i[o]=e[n-o-1];return i}},27117:(e,t,n)=>{"use strict";var r=n(8344),i=n(81680),o=RangeError;e.exports=function(e,t,n,a){var s=r(e),u=i(n),c=u<0?s+u:u;if(c>=s||c<0)throw new o("Incorrect index");for(var l=new t(s),d=0;d<s;d++)l[d]=d===c?a:e[d];return l}},93799:e=>{"use strict";var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t+"+/",r=t+"-_",i=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};e.exports={i2c:n,c2i:i(n),i2cUrl:r,c2iUrl:i(r)}},64537:(e,t,n)=>{"use strict";var r=n(89175),i=n(4774);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},94418:(e,t,n)=>{"use strict";var r=n(72032)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},52177:(e,t,n)=>{"use strict";var r=n(9668),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},51566:(e,t,n)=>{"use strict";var r=n(52522),i=n(30688),o=n(52177),a=n(72032)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:u?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},7063:(e,t,n)=>{"use strict";var r=n(38536),i=n(29393),o=n(99700),a=n(14162),s=n(69887),u=n(5268),c=n(10914),l=n(18772),d=n(39374),_=n(7278),f=n(99924),h=n(14442).fastKey,p=n(67804),g=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,i){s(e,_),g(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),f||(e.size=0),u(i)||c(i,e[l],{that:e,AS_ENTRIES:n})})),_=d.prototype,p=v(t),m=function(e,t,n){var r,i,o=p(e),a=y(e,t);return a?a.value=n:(o.last=a={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var n,r=p(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===t)return n};return o(_,{clear:function(){for(var e=p(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=r(null),f?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===r&&(n.first=i),n.last===r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(_,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&i(_,"size",{configurable:!0,get:function(){return p(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=v(t),o=v(r);l(e,t,(function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),_(t)}}},17234:(e,t,n)=>{"use strict";var r=n(9668),i=n(99700),o=n(14442).getWeakData,a=n(69887),s=n(89175),u=n(5268),c=n(35309),l=n(10914),d=n(55909),_=n(84678),f=n(67804),h=f.set,p=f.getterFor,g=d.find,v=d.findIndex,m=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new S)},S=function(){this.entries=[]},E=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};S.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,i){a(e,f),h(e,{type:t,id:y++,frozen:void 0}),u(i)||l(i,e[r],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=p(t),v=function(e,t,n){var r=g(e),i=o(s(t),!0);return!0===i?b(r).set(t,n):i[r.id]=n,e};return i(f,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=o(e);return!0===n?b(t).delete(e):n&&_(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=o(e);return!0===n?b(t).has(e):n&&_(n,t.id)}}),i(f,n?{get:function(e){var t=g(this);if(c(e)){var n=o(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},68443:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(9668),a=n(51633),s=n(52470),u=n(14442),c=n(10914),l=n(69887),d=n(30688),_=n(5268),f=n(35309),h=n(64694),p=n(94418),g=n(87495),v=n(75086);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),b=m?"set":"add",S=i[e],E=S&&S.prototype,$=S,T={},A=function(e){var t=o(E[e]);s(E,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return y&&!f(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(y&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(S)||!(y||E.forEach&&!h((function(){(new S).entries().next()})))))$=n.getConstructor(t,e,m,b),u.enable();else if(a(e,!0)){var C=new $,P=C[b](y?{}:-0,1)!==C,I=h((function(){C.has(1)})),w=p((function(e){new S(e)})),M=!y&&h((function(){for(var e=new S,t=5;t--;)e[b](t,t);return!e.has(-0)}));w||(($=t((function(e,t){l(e,E);var n=v(new S,e,$);return _(t)||c(t,n[b],{that:n,AS_ENTRIES:m}),n}))).prototype=E,E.constructor=$),(I||M)&&(A("delete"),A("has"),m&&A("get")),(M||P)&&A(b),y&&E.clear&&delete E.clear}return T[e]=$,r({global:!0,constructor:!0,forced:$!==S},T),g($,e),y||n.setStrong($,e,m),$}},43891:(e,t,n)=>{"use strict";var r=n(84678),i=n(50990),o=n(37537),a=n(12131);e.exports=function(e,t,n){for(var s=i(t),u=a.f,c=o.f,l=0;l<s.length;l++){var d=s[l];r(e,d)||n&&r(n,d)||u(e,d,c(t,d))}}},6386:(e,t,n)=>{"use strict";var r=n(72032)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},88440:(e,t,n)=>{"use strict";var r=n(64694);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},31011:(e,t,n)=>{"use strict";var r=n(9668),i=n(11166),o=n(60599),a=/"/g,s=r("".replace);e.exports=function(e,t,n,r){var u=o(i(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+s(o(r),a,"&quot;")+'"'),c+">"+u+"</"+t+">"}},39374:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},22385:(e,t,n)=>{"use strict";var r=n(99924),i=n(12131),o=n(17781);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},17781:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},93182:(e,t,n)=>{"use strict";var r=n(2358),i=n(12131),o=n(17781);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},42617:(e,t,n)=>{"use strict";var r=n(9668),i=n(64694),o=n(37301).start,a=RangeError,s=isFinite,u=Math.abs,c=Date.prototype,l=c.toISOString,d=r(c.getTime),_=r(c.getUTCDate),f=r(c.getUTCFullYear),h=r(c.getUTCHours),p=r(c.getUTCMilliseconds),g=r(c.getUTCMinutes),v=r(c.getUTCMonth),m=r(c.getUTCSeconds);e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!==l.call(new Date(-50000000000001))}))||!i((function(){l.call(new Date(NaN))}))?function(){if(!s(d(this)))throw new a("Invalid time value");var e=this,t=f(e),n=p(e),r=t<0?"-":t>9999?"+":"";return r+o(u(t),r?6:4,0)+"-"+o(v(e)+1,2,0)+"-"+o(_(e),2,0)+"T"+o(h(e),2,0)+":"+o(g(e),2,0)+":"+o(m(e),2,0)+"."+o(n,3,0)+"Z"}:l},89690:(e,t,n)=>{"use strict";var r=n(89175),i=n(10110),o=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new o("Incorrect hint");return i(this,e)}},29393:(e,t,n)=>{"use strict";var r=n(41135),i=n(12131);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},52470:(e,t,n)=>{"use strict";var r=n(30688),i=n(12131),o=n(41135),a=n(11604);e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&o(n,c,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},99700:(e,t,n)=>{"use strict";var r=n(52470);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},11604:(e,t,n)=>{"use strict";var r=n(52150),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},40955:(e,t,n)=>{"use strict";var r=n(3397),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},99924:(e,t,n)=>{"use strict";var r=n(64694);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},70563:(e,t,n)=>{"use strict";var r,i,o,a,s=n(52150),u=n(2870),c=n(74133),l=s.structuredClone,d=s.ArrayBuffer,_=s.MessageChannel,f=!1;if(c)f=function(e){l(e,{transfer:[e]})};else if(d)try{_||(r=u("worker_threads"))&&(_=r.MessageChannel),_&&(i=new _,o=new d(2),a=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(a(o),0===o.byteLength&&(f=a)))}catch(e){}e.exports=f},21442:(e,t,n)=>{"use strict";var r=n(52150),i=n(35309),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},23433:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},83687:e=>{"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},47587:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},80026:(e,t,n)=>{"use strict";var r=n(21442)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},69016:(e,t,n)=>{"use strict";var r=n(1370).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},93765:(e,t,n)=>{"use strict";var r=n(29632),i=n(54748);e.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},76800:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},29632:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},70821:(e,t,n)=>{"use strict";var r=n(1370);e.exports=/MSIE|Trident/.test(r)},45590:(e,t,n)=>{"use strict";var r=n(1370);e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},33223:(e,t,n)=>{"use strict";var r=n(1370);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},54748:(e,t,n)=>{"use strict";var r=n(52150),i=n(52177);e.exports="process"===i(r.process)},78997:(e,t,n)=>{"use strict";var r=n(1370);e.exports=/web0s(?!.*chrome)/i.test(r)},1370:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},17067:(e,t,n)=>{"use strict";var r,i,o=n(52150),a=n(1370),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},64389:(e,t,n)=>{"use strict";var r=n(1370).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},92367:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},98009:(e,t,n)=>{"use strict";var r=n(9668),i=Error,o=r("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},73289:(e,t,n)=>{"use strict";var r=n(22385),i=n(98009),o=n(89128),a=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(a?a(e,t):r(e,"stack",i(n,s)))}},89128:(e,t,n)=>{"use strict";var r=n(64694),i=n(17781);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},37285:(e,t,n)=>{"use strict";var r=n(99924),i=n(64694),o=n(89175),a=n(33887),s=Error.prototype.toString,u=i((function(){if(r){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==s.call(e))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));e.exports=u?function(){var e=o(this),t=a(e.name,"Error"),n=a(e.message);return t?n?t+": "+n:t:n}:s},55532:(e,t,n)=>{"use strict";var r=n(52150),i=n(37537).f,o=n(22385),a=n(52470),s=n(11604),u=n(43891),c=n(51633);e.exports=function(e,t){var n,l,d,_,f,h=e.target,p=e.global,g=e.stat;if(n=p?r:g?r[h]||s(h,{}):r[h]&&r[h].prototype)for(l in t){if(_=t[l],d=e.dontCallGetSet?(f=i(n,l))&&f.value:n[l],!c(p?l:h+(g?".":"#")+l,e.forced)&&void 0!==d){if(typeof _==typeof d)continue;u(_,d)}(e.sham||d&&d.sham)&&o(_,"sham",!0),a(n,l,_,e)}}},64694:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},39526:(e,t,n)=>{"use strict";n(87246);var r=n(68724),i=n(52470),o=n(83346),a=n(64694),s=n(72032),u=n(22385),c=s("species"),l=RegExp.prototype;e.exports=function(e,t,n,d){var _=s(e),f=!a((function(){var t={};return t[_]=function(){return 7},7!==""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[_]=/./[_]),n.exec=function(){return t=!0,null},n[_](""),!t}));if(!f||!h||n){var p=/./[_],g=t(_,""[e],(function(e,t,n,i,a){var s=t.exec;return s===o||s===l.exec?f&&!a?{done:!0,value:r(p,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(l,_,g[1])}d&&u(l[_],"sham",!0)}},13857:(e,t,n)=>{"use strict";var r=n(40256),i=n(8344),o=n(23433),a=n(14162),s=function(e,t,n,u,c,l,d,_){for(var f,h,p=c,g=0,v=!!d&&a(d,_);g<u;)g in n&&(f=v?v(n[g],g,t):n[g],l>0&&r(f)?(h=i(f),p=s(e,t,f,h,p,l-1)-1):(o(p+1),e[p]=f),p++),g++;return p};e.exports=s},1989:(e,t,n)=>{"use strict";var r=n(64694);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},39659:(e,t,n)=>{"use strict";var r=n(26398),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},14162:(e,t,n)=>{"use strict";var r=n(5033),i=n(21052),o=n(26398),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},26398:(e,t,n)=>{"use strict";var r=n(64694);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},43559:(e,t,n)=>{"use strict";var r=n(9668),i=n(21052),o=n(35309),a=n(84678),s=n(87686),u=n(26398),c=Function,l=r([].concat),d=r([].join),_={};e.exports=u?c.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),u=function(){var n=l(r,s(arguments));return this instanceof u?function(e,t,n){if(!a(_,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";_[t]=c("C,a","return new C("+d(r,",")+")")}return _[t](e,n)}(t,n.length,n):t.apply(e,n)};return o(n)&&(u.prototype=n),u}},68724:(e,t,n)=>{"use strict";var r=n(26398),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},40453:(e,t,n)=>{"use strict";var r=n(99924),i=n(84678),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},81092:(e,t,n)=>{"use strict";var r=n(9668),i=n(21052);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},5033:(e,t,n)=>{"use strict";var r=n(52177),i=n(9668);e.exports=function(e){if("Function"===r(e))return i(e)}},9668:(e,t,n)=>{"use strict";var r=n(26398),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},81021:(e,t,n)=>{"use strict";var r=n(52150);e.exports=function(e,t){var n=r[e],i=n&&n.prototype;return i&&i[t]}},2160:(e,t,n)=>{"use strict";var r=n(52150),i=n(30688);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},88674:(e,t,n)=>{"use strict";var r=n(51566),i=n(75383),o=n(5268),a=n(18515),s=n(72032)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},94406:(e,t,n)=>{"use strict";var r=n(68724),i=n(21052),o=n(89175),a=n(3397),s=n(88674),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw new u(a(e)+" is not iterable")}},56331:(e,t,n)=>{"use strict";var r=n(9668),i=n(40256),o=n(30688),a=n(52177),s=n(60599),u=r([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;r<t;r++){var c=e[r];"string"==typeof c?u(n,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||u(n,s(c))}var l=n.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var r=0;r<l;r++)if(n[r]===e)return t}}}},75383:(e,t,n)=>{"use strict";var r=n(21052),i=n(5268);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},56889:(e,t,n)=>{"use strict";var r=n(9668),i=n(90298),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,_){var f=n+e.length,h=r.length,p=l;return void 0!==d&&(d=i(d),p=c),s(_,p,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,f);case"<":c=d[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>h){var _=o(l/10);return 0===_?i:_<=h?void 0===r[_-1]?a(s,1):r[_-1]+a(s,1):i}c=r[l-1]}return void 0===c?"":c}))}},52150:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},84678:(e,t,n)=>{"use strict";var r=n(9668),i=n(90298),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},37390:e=>{"use strict";e.exports={}},82346:(e,t,n)=>{"use strict";var r=n(23716);e.exports=function(e,t){try{1===arguments.length?r.error(e):r.error(e,t)}catch(e){}}},28651:(e,t,n)=>{"use strict";var r=n(2160);e.exports=r("document","documentElement")},17913:(e,t,n)=>{"use strict";var r=n(99924),i=n(64694),o=n(21442);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},59481:e=>{"use strict";var t=Array,n=Math.abs,r=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,s,u){var c,l,d,_=t(u),f=8*u-s-1,h=(1<<f)-1,p=h>>1,g=23===s?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,m=0;for((e=n(e))!=e||e===1/0?(l=e!=e?1:0,c=h):(c=i(o(e)/a),e*(d=r(2,-c))<1&&(c--,d*=2),(e+=c+p>=1?g/d:g*r(2,1-p))*d>=2&&(c++,d/=2),c+p>=h?(l=0,c=h):c+p>=1?(l=(e*d-1)*r(2,s),c+=p):(l=e*r(2,p-1)*r(2,s),c=0));s>=8;)_[m++]=255&l,l/=256,s-=8;for(c=c<<s|l,f+=s;f>0;)_[m++]=255&c,c/=256,f-=8;return _[--m]|=128*v,_},unpack:function(e,t){var n,i=e.length,o=8*i-t-1,a=(1<<o)-1,s=a>>1,u=o-7,c=i-1,l=e[c--],d=127&l;for(l>>=7;u>0;)d=256*d+e[c--],u-=8;for(n=d&(1<<-u)-1,d>>=-u,u+=t;u>0;)n=256*n+e[c--],u-=8;if(0===d)d=1-s;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),d-=s}return(l?-1:1)*n*r(2,d-t)}}},74347:(e,t,n)=>{"use strict";var r=n(9668),i=n(64694),o=n(52177),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},75086:(e,t,n)=>{"use strict";var r=n(30688),i=n(35309),o=n(64584);e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},1881:(e,t,n)=>{"use strict";var r=n(9668),i=n(30688),o=n(46762),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},99457:(e,t,n)=>{"use strict";var r=n(35309),i=n(22385);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},14442:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(37390),a=n(35309),s=n(84678),u=n(12131).f,c=n(6217),l=n(21356),d=n(85092),_=n(65736),f=n(1989),h=!1,p=_("meta"),g=0,v=function(e){u(e,p,{value:{objectID:"O"+g++,weakData:{}}})},m=e.exports={enable:function(){m.enable=function(){},h=!0;var e=c.f,t=i([].splice),n={};n[p]=1,e(n).length&&(c.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===p){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,p)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[p].objectID},getWeakData:function(e,t){if(!s(e,p)){if(!d(e))return!0;if(!t)return!1;v(e)}return e[p].weakData},onFreeze:function(e){return f&&h&&d(e)&&!s(e,p)&&v(e),e}};o[p]=!0},67804:(e,t,n)=>{"use strict";var r,i,o,a=n(34724),s=n(52150),u=n(35309),c=n(22385),l=n(84678),d=n(46762),_=n(41962),f=n(37390),h="Object already initialized",p=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new p(h);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var m=_("state");f[m]=!0,r=function(e,t){if(l(e,m))throw new p(h);return t.facade=e,c(e,m,t),t},i=function(e){return l(e,m)?e[m]:{}},o=function(e){return l(e,m)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return n}}}},72407:(e,t,n)=>{"use strict";var r=n(72032),i=n(18515),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},40256:(e,t,n)=>{"use strict";var r=n(52177);e.exports=Array.isArray||function(e){return"Array"===r(e)}},39232:(e,t,n)=>{"use strict";var r=n(51566);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},30688:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},51414:(e,t,n)=>{"use strict";var r=n(9668),i=n(64694),o=n(30688),a=n(51566),s=n(2160),u=n(1881),c=function(){},l=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,_=r(d.exec),f=!d.test(c),h=function(e){if(!o(e))return!1;try{return l(c,[],e),!0}catch(e){return!1}},p=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!_(d,u(e))}catch(e){return!0}};p.sham=!0,e.exports=!l||i((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?p:h},27302:(e,t,n)=>{"use strict";var r=n(84678);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},51633:(e,t,n)=>{"use strict";var r=n(64694),i=n(30688),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n===l||n!==c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},791:(e,t,n)=>{"use strict";var r=n(35309),i=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},5268:e=>{"use strict";e.exports=function(e){return null==e}},35309:(e,t,n)=>{"use strict";var r=n(30688);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},41167:(e,t,n)=>{"use strict";var r=n(35309);e.exports=function(e){return r(e)||null===e}},66555:e=>{"use strict";e.exports=!1},79710:(e,t,n)=>{"use strict";var r=n(35309),i=n(52177),o=n(72032)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},27935:(e,t,n)=>{"use strict";var r=n(2160),i=n(30688),o=n(66148),a=n(94866),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},29936:(e,t,n)=>{"use strict";var r=n(68724);e.exports=function(e,t,n){for(var i,o,a=n?e:e.iterator,s=e.next;!(i=r(s,a)).done;)if(void 0!==(o=t(i.value)))return o}},10914:(e,t,n)=>{"use strict";var r=n(14162),i=n(68724),o=n(89175),a=n(3397),s=n(72407),u=n(8344),c=n(66148),l=n(94406),d=n(88674),_=n(4774),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},p=h.prototype;e.exports=function(e,t,n){var g,v,m,y,b,S,E,$=n&&n.that,T=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),I=r(t,$),w=function(e){return g&&_(g,"normal",e),new h(!0,e)},M=function(e){return T?(o(e),P?I(e[0],e[1],w):I(e[0],e[1])):P?I(e,w):I(e)};if(A)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw new f(a(e)+" is not iterable");if(s(v)){for(m=0,y=u(e);y>m;m++)if((b=M(e[m]))&&c(p,b))return b;return new h(!1)}g=l(e,v)}for(S=A?e.next:g.next;!(E=i(S,g)).done;){try{b=M(E.value)}catch(e){_(g,"throw",e)}if("object"==typeof b&&b&&c(p,b))return b}return new h(!1)}},4774:(e,t,n)=>{"use strict";var r=n(68724),i=n(89175),o=n(75383);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},45848:(e,t,n)=>{"use strict";var r=n(86070).IteratorPrototype,i=n(38536),o=n(17781),a=n(87495),s=n(18515),u=function(){return this};e.exports=function(e,t,n,c){var l=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,l,!1,!0),s[l]=u,e}},18772:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(66555),a=n(40453),s=n(30688),u=n(45848),c=n(17610),l=n(64584),d=n(87495),_=n(22385),f=n(52470),h=n(72032),p=n(18515),g=n(86070),v=a.PROPER,m=a.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,S=h("iterator"),E="keys",$="values",T="entries",A=function(){return this};e.exports=function(e,t,n,a,h,g,C){u(n,t,a);var P,I,w,M=function(e){if(e===h&&L)return L;if(!b&&e&&e in R)return R[e];switch(e){case E:case $:case T:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",O=!1,R=e.prototype,D=R[S]||R["@@iterator"]||h&&R[h],L=!b&&D||M(h),x="Array"===t&&R.entries||D;if(x&&(P=c(x.call(new e)))!==Object.prototype&&P.next&&(o||c(P)===y||(l?l(P,y):s(P[S])||f(P,S,A)),d(P,k,!0,!0),o&&(p[k]=A)),v&&h===$&&D&&D.name!==$&&(!o&&m?_(R,"name",$):(O=!0,L=function(){return i(D,this)})),h)if(I={values:M($),keys:g?L:M(E),entries:M(T)},C)for(w in I)(b||O||!(w in R))&&f(R,w,I[w]);else r({target:t,proto:!0,forced:b||O},I);return o&&!C||R[S]===L||f(R,S,L,{name:h}),p[t]=L,I}},86070:(e,t,n)=>{"use strict";var r,i,o,a=n(64694),s=n(30688),u=n(35309),c=n(38536),l=n(17610),d=n(52470),_=n(72032),f=n(66555),h=_("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):p=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:f&&(r=c(r)),s(r[h])||d(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},18515:e=>{"use strict";e.exports={}},8344:(e,t,n)=>{"use strict";var r=n(27331);e.exports=function(e){return r(e.length)}},41135:(e,t,n)=>{"use strict";var r=n(9668),i=n(64694),o=n(30688),a=n(84678),s=n(99924),u=n(40453).CONFIGURABLE,c=n(1881),l=n(67804),d=l.enforce,_=l.get,f=String,h=Object.defineProperty,p=r("".slice),g=r("".replace),v=r([].join),m=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=e.exports=function(e,t,n){"Symbol("===p(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return o(this)&&_(this).source||c(this)}),"toString")},80560:(e,t,n)=>{"use strict";var r=n(9668),i=Map.prototype;e.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},70592:e=>{"use strict";var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!==t(-2e-17)?function(e){var t=+e;return 0===t?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:t},45584:(e,t,n)=>{"use strict";var r=n(81162),i=Math.abs,o=2220446049250313e-31,a=1/o;e.exports=function(e,t,n,s){var u=+e,c=i(u),l=r(u);if(c<s)return l*function(e){return e+a-a}(c/s/t)*s*t;var d=(1+t/o)*c,_=d-(d-c);return _>n||_!=_?l*(1/0):l*_}},10052:(e,t,n)=>{"use strict";var r=n(45584);e.exports=Math.fround||function(e){return r(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},25172:e=>{"use strict";var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},19850:e=>{"use strict";var t=Math.log;e.exports=Math.log1p||function(e){var n=+e;return n>-1e-8&&n<1e-8?n-n*n/2:t(1+n)}},81162:e=>{"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},41787:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},42652:(e,t,n)=>{"use strict";var r,i,o,a,s,u=n(52150),c=n(95725),l=n(14162),d=n(39891).set,_=n(39296),f=n(33223),h=n(45590),p=n(78997),g=n(54748),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,y=u.process,b=u.Promise,S=c("queueMicrotask");if(!S){var E=new _,$=function(){var e,t;for(g&&(e=y.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&r(),e}e&&e.enter()};f||g||p||!v||!m?!h&&b&&b.resolve?((a=b.resolve(void 0)).constructor=b,s=l(a.then,a),r=function(){s($)}):g?r=function(){y.nextTick($)}:(d=l(d,u),r=function(){d($)}):(i=!0,o=m.createTextNode(""),new v($).observe(o,{characterData:!0}),r=function(){o.data=i=!i}),S=function(e){E.head||r(),E.add(e)}}e.exports=S},13009:(e,t,n)=>{"use strict";var r=n(21052),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},33887:(e,t,n)=>{"use strict";var r=n(60599);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},10831:(e,t,n)=>{"use strict";var r=n(79710),i=TypeError;e.exports=function(e){if(r(e))throw new i("The method doesn't accept regular expressions");return e}},9178:(e,t,n)=>{"use strict";var r=n(52150).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},44847:(e,t,n)=>{"use strict";var r=n(52150),i=n(64694),o=n(9668),a=n(60599),s=n(4288).trim,u=n(38523),c=o("".charAt),l=r.parseFloat,d=r.Symbol,_=d&&d.iterator,f=1/l(u+"-0")!=-1/0||_&&!i((function(){l(Object(_))}));e.exports=f?function(e){var t=s(a(e)),n=l(t);return 0===n&&"-"===c(t,0)?-0:n}:l},87582:(e,t,n)=>{"use strict";var r=n(52150),i=n(64694),o=n(9668),a=n(60599),s=n(4288).trim,u=n(38523),c=r.parseInt,l=r.Symbol,d=l&&l.iterator,_=/^[+-]?0x/i,f=o(_.exec),h=8!==c(u+"08")||22!==c(u+"0x16")||d&&!i((function(){c(Object(d))}));e.exports=h?function(e,t){var n=s(a(e));return c(n,t>>>0||(f(_,n)?16:10))}:c},52717:(e,t,n)=>{"use strict";var r=n(99924),i=n(9668),o=n(68724),a=n(64694),s=n(41728),u=n(15168),c=n(98208),l=n(90298),d=n(74347),_=Object.assign,f=Object.defineProperty,h=i([].concat);e.exports=!_||a((function(){if(r&&1!==_({b:1},_(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!==_({},e)[n]||s(_({},t)).join("")!==i}))?function(e,t){for(var n=l(e),i=arguments.length,a=1,_=u.f,f=c.f;i>a;)for(var p,g=d(arguments[a++]),v=_?h(s(g),_(g)):s(g),m=v.length,y=0;m>y;)p=v[y++],r&&!o(f,g,p)||(n[p]=g[p]);return n}:_},38536:(e,t,n)=>{"use strict";var r,i=n(89175),o=n(50227),a=n(92367),s=n(37390),u=n(28651),c=n(21442),l=n(41962),d="prototype",_="script",f=l("IE_PROTO"),h=function(){},p=function(e){return"<"+_+">"+e+"</"+_+">"},g=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+_+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):g(r);for(var i=a.length;i--;)delete v[d][a[i]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=i(e),n=new h,h[d]=null,n[f]=e):n=v(),void 0===t?n:o.f(n,t)}},50227:(e,t,n)=>{"use strict";var r=n(99924),i=n(82666),o=n(12131),a=n(89175),s=n(36854),u=n(41728);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),c=i.length,l=0;c>l;)o.f(e,n=i[l++],r[n]);return e}},12131:(e,t,n)=>{"use strict";var r=n(99924),i=n(17913),o=n(82666),a=n(89175),s=n(2358),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",_="configurable",f="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:_ in n?n[_]:r[_],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},37537:(e,t,n)=>{"use strict";var r=n(99924),i=n(68724),o=n(98208),a=n(17781),s=n(36854),u=n(2358),c=n(84678),l=n(17913),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=u(t),l)try{return d(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},21356:(e,t,n)=>{"use strict";var r=n(52177),i=n(36854),o=n(6217).f,a=n(87686),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},6217:(e,t,n)=>{"use strict";var r=n(41528),i=n(92367).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},15168:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},17610:(e,t,n)=>{"use strict";var r=n(84678),i=n(30688),o=n(90298),a=n(41962),s=n(88440),u=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?l:null}},85092:(e,t,n)=>{"use strict";var r=n(64694),i=n(35309),o=n(52177),a=n(85321),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&(!a||"ArrayBuffer"!==o(e))&&(!s||s(e))}:s},66148:(e,t,n)=>{"use strict";var r=n(9668);e.exports=r({}.isPrototypeOf)},41528:(e,t,n)=>{"use strict";var r=n(9668),i=n(84678),o=n(36854),a=n(21138).indexOf,s=n(37390),u=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&u(l,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},41728:(e,t,n)=>{"use strict";var r=n(41528),i=n(92367);e.exports=Object.keys||function(e){return r(e,i)}},98208:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},43989:(e,t,n)=>{"use strict";var r=n(66555),i=n(52150),o=n(64694),a=n(64389);e.exports=r||!o((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete i[e]}}))},64584:(e,t,n)=>{"use strict";var r=n(81092),i=n(89175),o=n(29568);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},13206:(e,t,n)=>{"use strict";var r=n(99924),i=n(64694),o=n(9668),a=n(17610),s=n(41728),u=n(36854),c=o(n(98208).f),l=o([].push),d=r&&i((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),_=function(e){return function(t){for(var n,i=u(t),o=s(i),_=d&&null===a(i),f=o.length,h=0,p=[];f>h;)n=o[h++],r&&!(_?n in i:c(i,n))||l(p,e?[n,i[n]]:i[n]);return p}};e.exports={entries:_(!0),values:_(!1)}},30682:(e,t,n)=>{"use strict";var r=n(52522),i=n(51566);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},10110:(e,t,n)=>{"use strict";var r=n(68724),i=n(30688),o=n(35309),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},50990:(e,t,n)=>{"use strict";var r=n(2160),i=n(9668),o=n(6217),a=n(15168),s=n(89175),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},58588:(e,t,n)=>{"use strict";var r=n(52150);e.exports=r},27519:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},98923:(e,t,n)=>{"use strict";var r=n(52150),i=n(15519),o=n(30688),a=n(51633),s=n(1881),u=n(72032),c=n(93765),l=n(29632),d=n(66555),_=n(17067),f=i&&i.prototype,h=u("species"),p=!1,g=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===_)return!0;if(d&&(!f.catch||!f.finally))return!0;if(!_||_<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(p=n.then((function(){}))instanceof r))return!0}return!t&&(c||l)&&!g}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:p}},15519:(e,t,n)=>{"use strict";var r=n(52150);e.exports=r.Promise},84508:(e,t,n)=>{"use strict";var r=n(89175),i=n(35309),o=n(13009);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},4373:(e,t,n)=>{"use strict";var r=n(15519),i=n(94418),o=n(98923).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},49288:(e,t,n)=>{"use strict";var r=n(12131).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},39296:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},76802:(e,t,n)=>{"use strict";var r=n(68724),i=n(89175),o=n(30688),a=n(52177),s=n(83346),u=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===a(e))return r(s,e,t);throw new u("RegExp#exec called on incompatible receiver")}},83346:(e,t,n)=>{"use strict";var r,i,o=n(68724),a=n(9668),s=n(60599),u=n(97929),c=n(93047),l=n(72645),d=n(38536),_=n(67804).get,f=n(65030),h=n(36159),p=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,m=a("".charAt),y=a("".indexOf),b=a("".replace),S=a("".slice),E=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),$=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(E||T||$||f||h)&&(v=function(e){var t,n,r,i,a,c,l,f=this,h=_(f),A=s(e),C=h.raw;if(C)return C.lastIndex=f.lastIndex,t=o(v,C,A),f.lastIndex=C.lastIndex,t;var P=h.groups,I=$&&f.sticky,w=o(u,f),M=f.source,k=0,O=A;if(I&&(w=b(w,"y",""),-1===y(w,"g")&&(w+="g"),O=S(A,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==m(A,f.lastIndex-1))&&(M="(?: "+M+")",O=" "+O,k++),n=new RegExp("^(?:"+M+")",w)),T&&(n=new RegExp("^"+M+"$(?!\\s)",w)),E&&(r=f.lastIndex),i=o(g,I?n:f,O),I?i?(i.input=S(i.input,k),i[0]=S(i[0],k),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:E&&i&&(f.lastIndex=f.global?i.index+i[0].length:r),T&&i&&i.length>1&&o(p,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&P)for(i.groups=c=d(null),a=0;a<P.length;a++)c[(l=P[a])[0]]=i[l[1]];return i}),e.exports=v},97929:(e,t,n)=>{"use strict";var r=n(89175);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},80976:(e,t,n)=>{"use strict";var r=n(68724),i=n(84678),o=n(66148),a=n(97929),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(a,e)}},93047:(e,t,n)=>{"use strict";var r=n(64694),i=n(52150).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},65030:(e,t,n)=>{"use strict";var r=n(64694),i=n(52150).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},36159:(e,t,n)=>{"use strict";var r=n(64694),i=n(52150).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},11166:(e,t,n)=>{"use strict";var r=n(5268),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},95725:(e,t,n)=>{"use strict";var r=n(52150),i=n(99924),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return r[e];var t=o(r,e);return t&&t.value}},78662:e=>{"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},17994:(e,t,n)=>{"use strict";var r,i=n(52150),o=n(39659),a=n(30688),s=n(76800),u=n(1370),c=n(87686),l=n(34051),d=i.Function,_=/MSIE .\./.test(u)||s&&((r=i.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return _?function(r,i){var s=l(arguments.length,1)>n,u=a(r)?r:d(r),_=s?c(arguments,n):[],f=s?function(){o(u,this,_)}:u;return t?e(f,i):e(f)}:e}},52161:(e,t,n)=>{"use strict";var r=n(9668),i=Set.prototype;e.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},55896:(e,t,n)=>{"use strict";var r=n(9668),i=n(29936),o=n(52161),a=o.Set,s=o.proto,u=r(s.forEach),c=r(s.keys),l=c(new a).next;e.exports=function(e,t,n){return n?i({iterator:c(e),next:l},t):u(e,t)}},7278:(e,t,n)=>{"use strict";var r=n(2160),i=n(29393),o=n(72032),a=n(99924),s=o("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},87495:(e,t,n)=>{"use strict";var r=n(12131).f,i=n(84678),o=n(72032)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},41962:(e,t,n)=>{"use strict";var r=n(72645),i=n(65736),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},46762:(e,t,n)=>{"use strict";var r=n(52150),i=n(11604),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},72645:(e,t,n)=>{"use strict";var r=n(66555),i=n(46762);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},24041:(e,t,n)=>{"use strict";var r=n(89175),i=n(73755),o=n(5268),a=n(72032)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},16001:(e,t,n)=>{"use strict";var r=n(64694);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},87048:(e,t,n)=>{"use strict";var r=n(9668),i=n(81680),o=n(60599),a=n(11166),s=r("".charAt),u=r("".charCodeAt),c=r("".slice),l=function(e){return function(t,n){var r,l,d=o(a(t)),_=i(n),f=d.length;return _<0||_>=f?e?"":void 0:(r=u(d,_))<55296||r>56319||_+1===f||(l=u(d,_+1))<56320||l>57343?e?s(d,_):r:e?c(d,_,_+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},13375:(e,t,n)=>{"use strict";var r=n(1370);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},37301:(e,t,n)=>{"use strict";var r=n(9668),i=n(27331),o=n(60599),a=n(89265),s=n(11166),u=r(a),c=r("".slice),l=Math.ceil,d=function(e){return function(t,n,r){var a,d,_=o(s(t)),f=i(n),h=_.length,p=void 0===r?" ":o(r);return f<=h||""===p?_:((d=u(p,l((a=f-h)/p.length))).length>a&&(d=c(d,0,a)),e?_+d:d+_)}};e.exports={start:d(!1),end:d(!0)}},54797:(e,t,n)=>{"use strict";var r=n(9668),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=r(a.exec),l=Math.floor,d=String.fromCharCode,_=r("".charCodeAt),f=r([].join),h=r([].push),p=r("".replace),g=r("".split),v=r("".toLowerCase),m=function(e){return e+22+75*(e<26)},y=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),r+=36;return l(r+36*e/(e+38))},b=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=_(e,n++);if(i>=55296&&i<=56319&&n<r){var o=_(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,c=0,p=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,d(r));var g=t.length,v=g;for(g&&h(t,"-");v<o;){var b=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<b&&(b=r);var S=v+1;if(b-a>l((i-c)/S))throw new u(s);for(c+=(b-a)*S,a=b,n=0;n<e.length;n++){if((r=e[n])<a&&++c>i)throw new u(s);if(r===a){for(var E=c,$=36;;){var T=$<=p?1:$>=p+26?26:$-p;if(E<T)break;var A=E-T,C=36-T;h(t,d(m(T+A%C))),E=l(A/C),$+=36}h(t,d(m(E))),p=y(c,S,v===g),c=0,v++}}c++,a++}return f(t,"")};e.exports=function(e){var t,n,r=[],i=g(p(v(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,c(o,n)?"xn--"+b(n):n);return f(r,".")}},89265:(e,t,n)=>{"use strict";var r=n(81680),i=n(60599),o=n(11166),a=RangeError;e.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},79302:(e,t,n)=>{"use strict";var r=n(4288).end,i=n(12561);e.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},12561:(e,t,n)=>{"use strict";var r=n(40453).PROPER,i=n(64694),o=n(38523);e.exports=function(e){return i((function(){return!!o[e]()||"​᠎"!=="​᠎"[e]()||r&&o[e].name!==e}))}},3e3:(e,t,n)=>{"use strict";var r=n(4288).start,i=n(12561);e.exports=i("trimStart")?function(){return r(this)}:"".trimStart},4288:(e,t,n)=>{"use strict";var r=n(9668),i=n(11166),o=n(60599),a=n(38523),s=r("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,u,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},74133:(e,t,n)=>{"use strict";var r=n(52150),i=n(64694),o=n(17067),a=n(93765),s=n(29632),u=n(54748),c=r.structuredClone;e.exports=!!c&&!i((function(){if(s&&o>92||u&&o>94||a&&o>97)return!1;var e=new ArrayBuffer(8),t=c(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4112:(e,t,n)=>{"use strict";var r=n(17067),i=n(64694),o=n(52150).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},848:(e,t,n)=>{"use strict";var r=n(68724),i=n(2160),o=n(72032),a=n(52470);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},20814:(e,t,n)=>{"use strict";var r=n(4112);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},39891:(e,t,n)=>{"use strict";var r,i,o,a,s=n(52150),u=n(39659),c=n(14162),l=n(30688),d=n(84678),_=n(64694),f=n(28651),h=n(87686),p=n(21442),g=n(34051),v=n(33223),m=n(54748),y=s.setImmediate,b=s.clearImmediate,S=s.process,E=s.Dispatch,$=s.Function,T=s.MessageChannel,A=s.String,C=0,P={},I="onreadystatechange";_((function(){r=s.location}));var w=function(e){if(d(P,e)){var t=P[e];delete P[e],t()}},M=function(e){return function(){w(e)}},k=function(e){w(e.data)},O=function(e){s.postMessage(A(e),r.protocol+"//"+r.host)};y&&b||(y=function(e){g(arguments.length,1);var t=l(e)?e:$(e),n=h(arguments,1);return P[++C]=function(){u(t,void 0,n)},i(C),C},b=function(e){delete P[e]},m?i=function(e){S.nextTick(M(e))}:E&&E.now?i=function(e){E.now(M(e))}:T&&!v?(a=(o=new T).port2,o.port1.onmessage=k,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!_(O)?(i=O,s.addEventListener("message",k,!1)):i=I in p("script")?function(e){f.appendChild(p("script"))[I]=function(){f.removeChild(this),w(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:y,clear:b}},32432:(e,t,n)=>{"use strict";var r=n(9668);e.exports=r(1..valueOf)},37352:(e,t,n)=>{"use strict";var r=n(81680),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},66601:(e,t,n)=>{"use strict";var r=n(31272),i=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},65992:(e,t,n)=>{"use strict";var r=n(81680),i=n(27331),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw new o("Wrong length or index");return n}},36854:(e,t,n)=>{"use strict";var r=n(74347),i=n(11166);e.exports=function(e){return r(i(e))}},81680:(e,t,n)=>{"use strict";var r=n(41787);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},27331:(e,t,n)=>{"use strict";var r=n(81680),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},90298:(e,t,n)=>{"use strict";var r=n(11166),i=Object;e.exports=function(e){return i(r(e))}},52066:(e,t,n)=>{"use strict";var r=n(46949),i=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new i("Wrong offset");return n}},46949:(e,t,n)=>{"use strict";var r=n(81680),i=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new i("The argument can't be less than 0");return t}},31272:(e,t,n)=>{"use strict";var r=n(68724),i=n(35309),o=n(27935),a=n(75383),s=n(10110),u=n(72032),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,l);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},2358:(e,t,n)=>{"use strict";var r=n(31272),i=n(27935);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},52522:(e,t,n)=>{"use strict";var r={};r[n(72032)("toStringTag")]="z",e.exports="[object z]"===String(r)},60599:(e,t,n)=>{"use strict";var r=n(51566),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},3164:e=>{"use strict";var t=Math.round;e.exports=function(e){var n=t(e);return n<0?0:n>255?255:255&n}},2870:(e,t,n)=>{"use strict";var r=n(54748);e.exports=function(e){try{if(r)return Function('return require("'+e+'")')()}catch(e){}}},3397:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},69082:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(68724),a=n(99924),s=n(18087),u=n(4317),c=n(27454),l=n(69887),d=n(17781),_=n(22385),f=n(791),h=n(27331),p=n(65992),g=n(52066),v=n(3164),m=n(2358),y=n(84678),b=n(51566),S=n(35309),E=n(27935),$=n(38536),T=n(66148),A=n(64584),C=n(6217).f,P=n(16897),I=n(55909).forEach,w=n(7278),M=n(29393),k=n(12131),O=n(37537),R=n(77895),D=n(67804),L=n(75086),x=D.get,N=D.set,U=D.enforce,B=k.f,F=O.f,j=i.RangeError,H=c.ArrayBuffer,V=H.prototype,W=c.DataView,q=u.NATIVE_ARRAY_BUFFER_VIEWS,G=u.TYPED_ARRAY_TAG,Y=u.TypedArray,K=u.TypedArrayPrototype,z=u.isTypedArray,X="BYTES_PER_ELEMENT",Q="Wrong length",J=function(e,t){M(e,t,{configurable:!0,get:function(){return x(this)[t]}})},Z=function(e){var t;return T(V,e)||"ArrayBuffer"===(t=b(e))||"SharedArrayBuffer"===t},ee=function(e,t){return z(e)&&!E(t)&&t in e&&f(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?d(2,e[t]):F(e,t)},ne=function(e,t,n){return t=m(t),!(ee(e,t)&&S(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?B(e,t,n):(e[t]=n.value,e)};a?(q||(O.f=te,k.f=ne,J(K,"buffer"),J(K,"byteOffset"),J(K,"byteLength"),J(K,"length")),r({target:"Object",stat:!0,forced:!q},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+/)[0]/8,u=e+(n?"Clamped":"")+"Array",c="get"+e,d="set"+e,f=i[u],m=f,y=m&&m.prototype,b={},E=function(e,t){B(e,t,{get:function(){return function(e,t){var n=x(e);return n.view[c](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=x(e);i.view[d](t*a+i.byteOffset,n?v(r):r,!0)}(this,t,e)},enumerable:!0})};q?s&&(m=t((function(e,t,n,r){return l(e,y),L(S(t)?Z(t)?void 0!==r?new f(t,g(n,a),r):void 0!==n?new f(t,g(n,a)):new f(t):z(t)?R(m,t):o(P,m,t):new f(p(t)),e,m)})),A&&A(m,Y),I(C(f),(function(e){e in m||_(m,e,f[e])})),m.prototype=y):(m=t((function(e,t,n,r){l(e,y);var i,s,u,c=0,d=0;if(S(t)){if(!Z(t))return z(t)?R(m,t):o(P,m,t);i=t,d=g(n,a);var _=t.byteLength;if(void 0===r){if(_%a)throw new j(Q);if((s=_-d)<0)throw new j(Q)}else if((s=h(r)*a)+d>_)throw new j(Q);u=s/a}else u=p(t),i=new H(s=u*a);for(N(e,{buffer:i,byteOffset:d,byteLength:s,length:u,view:new W(i)});c<u;)E(e,c++)})),A&&A(m,Y),y=m.prototype=$(K)),y.constructor!==m&&_(y,"constructor",m),U(y).TypedArrayConstructor=m,G&&_(y,G,u);var T=m!==f;b[u]=m,r({global:!0,constructor:!0,forced:T,sham:!q},b),X in m||_(m,X,a),X in y||_(y,X,a),w(u)}):e.exports=function(){}},18087:(e,t,n)=>{"use strict";var r=n(52150),i=n(64694),o=n(94418),a=n(4317).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;e.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},29590:(e,t,n)=>{"use strict";var r=n(77895),i=n(62063);e.exports=function(e,t){return r(i(e),t)}},16897:(e,t,n)=>{"use strict";var r=n(14162),i=n(68724),o=n(73755),a=n(90298),s=n(8344),u=n(94406),c=n(88674),l=n(72407),d=n(39232),_=n(4317).aTypedArrayConstructor,f=n(66601);e.exports=function(e){var t,n,h,p,g,v,m,y,b=o(this),S=a(e),E=arguments.length,$=E>1?arguments[1]:void 0,T=void 0!==$,A=c(S);if(A&&!l(A))for(y=(m=u(S,A)).next,S=[];!(v=i(y,m)).done;)S.push(v.value);for(T&&E>2&&($=r($,arguments[2])),n=s(S),h=new(_(b))(n),p=d(h),t=0;n>t;t++)g=T?$(S[t],t):S[t],h[t]=p?f(g):+g;return h}},62063:(e,t,n)=>{"use strict";var r=n(4317),i=n(24041),o=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;e.exports=function(e){return o(i(e,a(e)))}},65736:(e,t,n)=>{"use strict";var r=n(9668),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},77973:(e,t,n)=>{"use strict";var r=n(64694),i=n(72032),o=n(99924),a=n(66555),s=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!o)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},94866:(e,t,n)=>{"use strict";var r=n(4112);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},82666:(e,t,n)=>{"use strict";var r=n(99924),i=n(64694);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},34051:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},34724:(e,t,n)=>{"use strict";var r=n(52150),i=n(30688),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1957:(e,t,n)=>{"use strict";var r=n(58588),i=n(84678),o=n(87747),a=n(12131).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},87747:(e,t,n)=>{"use strict";var r=n(72032);t.f=r},72032:(e,t,n)=>{"use strict";var r=n(52150),i=n(72645),o=n(84678),a=n(65736),s=n(4112),u=n(94866),c=r.Symbol,l=i("wks"),d=u?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return o(l,e)||(l[e]=s&&o(c,e)?c[e]:d("Symbol."+e)),l[e]}},38523:e=>{"use strict";e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},77009:(e,t,n)=>{"use strict";var r=n(2160),i=n(84678),o=n(22385),a=n(66148),s=n(64584),u=n(43891),c=n(49288),l=n(75086),d=n(33887),_=n(99457),f=n(73289),h=n(99924),p=n(66555);e.exports=function(e,t,n,g){var v="stackTraceLimit",m=g?2:1,y=e.split("."),b=y[y.length-1],S=r.apply(null,y);if(S){var E=S.prototype;if(!p&&i(E,"cause")&&delete E.cause,!n)return S;var $=r("Error"),T=t((function(e,t){var n=d(g?t:e,void 0),r=g?new S(e):new S;return void 0!==n&&o(r,"message",n),f(r,T,r.stack,2),this&&a(E,this)&&l(r,this,T),arguments.length>m&&_(r,arguments[m]),r}));if(T.prototype=E,"Error"!==b?s?s(T,$):u(T,$,{name:!0}):h&&v in S&&(c(T,S,v),c(T,S,"prepareStackTrace")),u(T,S),!p)try{E.name!==b&&o(E,"name",b),E.constructor=T}catch(e){}return T}}},18912:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(39659),a=n(64694),s=n(77009),u="AggregateError",c=i(u),l=!a((function(){return 1!==c([1]).errors[0]}))&&a((function(){return 7!==c([1],u,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:s(u,(function(e){return function(t,n){return o(e,this,arguments)}}),l,!0)})},46994:(e,t,n)=>{"use strict";var r=n(55532),i=n(66148),o=n(17610),a=n(64584),s=n(43891),u=n(38536),c=n(22385),l=n(17781),d=n(99457),_=n(73289),f=n(10914),h=n(33887),p=n(72032)("toStringTag"),g=Error,v=[].push,m=function(e,t){var n,r=i(y,this);a?n=a(new g,r?o(this):y):(n=r?this:u(y),c(n,p,"Error")),void 0!==t&&c(n,"message",h(t)),_(n,m,n.stack,1),arguments.length>2&&d(n,arguments[2]);var s=[];return f(e,v,{that:s}),c(n,"errors",s),n};a?a(m,g):s(m,g,{name:!0});var y=m.prototype=u(g.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:m})},4730:(e,t,n)=>{"use strict";n(46994)},51855:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(27454),a=n(7278),s="ArrayBuffer",u=o[s];r({global:!0,constructor:!0,forced:i[s]!==u},{ArrayBuffer:u}),a(s)},76913:(e,t,n)=>{"use strict";var r=n(55532),i=n(4317);r({target:"ArrayBuffer",stat:!0,forced:!i.NATIVE_ARRAY_BUFFER_VIEWS},{isView:i.isView})},81991:(e,t,n)=>{"use strict";var r=n(55532),i=n(5033),o=n(64694),a=n(27454),s=n(89175),u=n(37352),c=n(27331),l=n(24041),d=a.ArrayBuffer,_=a.DataView,f=_.prototype,h=i(d.prototype.slice),p=i(f.getUint8),g=i(f.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var n=s(this).byteLength,r=u(e,n),i=u(void 0===t?n:t,n),o=new(l(this,d))(c(i-r)),a=new _(this),f=new _(o),v=0;r<i;)g(f,v++,p(a,r++));return o}})},5600:(e,t,n)=>{"use strict";var r=n(55532),i=n(90298),o=n(8344),a=n(81680),s=n(60586);r({target:"Array",proto:!0},{at:function(e){var t=i(this),n=o(t),r=a(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}}),s("at")},69460:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(40256),a=n(35309),s=n(90298),u=n(8344),c=n(23433),l=n(93182),d=n(41699),_=n(22874),f=n(72032),h=n(17067),p=f("isConcatSpreadable"),g=h>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!_("concat")},{concat:function(e){var t,n,r,i,o,a=s(this),_=d(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(v(o=-1===t?a:arguments[t]))for(i=u(o),c(f+i),n=0;n<i;n++,f++)n in o&&l(_,f,o[n]);else c(f+1),l(_,f++,o);return _.length=f,_}})},54174:(e,t,n)=>{"use strict";var r=n(55532),i=n(72530),o=n(60586);r({target:"Array",proto:!0},{copyWithin:i}),o("copyWithin")},9320:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).every;r({target:"Array",proto:!0,forced:!n(567)("every")},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},36867:(e,t,n)=>{"use strict";var r=n(55532),i=n(98404),o=n(60586);r({target:"Array",proto:!0},{fill:i}),o("fill")},93801:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).filter;r({target:"Array",proto:!0,forced:!n(22874)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},12008:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).findIndex,o=n(60586),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},9180:(e,t,n)=>{"use strict";var r=n(55532),i=n(50563).findLastIndex,o=n(60586);r({target:"Array",proto:!0},{findLastIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},96565:(e,t,n)=>{"use strict";var r=n(55532),i=n(50563).findLast,o=n(60586);r({target:"Array",proto:!0},{findLast:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},45483:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).find,o=n(60586),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},71596:(e,t,n)=>{"use strict";var r=n(55532),i=n(13857),o=n(21052),a=n(90298),s=n(8344),u=n(41699);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=s(n);return o(e),(t=u(n,0)).length=i(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},68998:(e,t,n)=>{"use strict";var r=n(55532),i=n(13857),o=n(90298),a=n(8344),s=n(81680),u=n(41699);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=a(t),r=u(t,0);return r.length=i(r,t,t,n,0,void 0===e?1:s(e)),r}})},22761:(e,t,n)=>{"use strict";var r=n(55532),i=n(18875);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},65845:(e,t,n)=>{"use strict";var r=n(55532),i=n(44583);r({target:"Array",stat:!0,forced:!n(94418)((function(e){Array.from(e)}))},{from:i})},60452:(e,t,n)=>{"use strict";var r=n(55532),i=n(21138).includes,o=n(64694),a=n(60586);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},78529:(e,t,n)=>{"use strict";var r=n(55532),i=n(5033),o=n(21138).indexOf,a=n(567),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},74594:(e,t,n)=>{"use strict";n(55532)({target:"Array",stat:!0},{isArray:n(40256)})},91211:(e,t,n)=>{"use strict";var r=n(36854),i=n(60586),o=n(18515),a=n(67804),s=n(12131).f,u=n(18772),c=n(39374),l=n(66555),d=n(99924),_="Array Iterator",f=a.set,h=a.getterFor(_);e.exports=u(Array,"Array",(function(e,t){f(this,{type:_,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&d&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},37862:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(74347),a=n(36854),s=n(567),u=i([].join);r({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},16120:(e,t,n)=>{"use strict";var r=n(55532),i=n(18676);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91560:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).map;r({target:"Array",proto:!0,forced:!n(22874)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},8463:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(51414),a=n(93182),s=Array;r({target:"Array",stat:!0,forced:i((function(){function e(){}return!(s.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new(o(this)?this:s)(t);t>e;)a(n,e,arguments[e++]);return n.length=t,n}})},44936:(e,t,n)=>{"use strict";var r=n(55532),i=n(90298),o=n(8344),a=n(86207),s=n(23433);r({target:"Array",proto:!0,arity:1,forced:n(64694)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var u=0;u<r;u++)t[n]=arguments[u],n++;return a(t,n),n}})},18258:(e,t,n)=>{"use strict";var r=n(55532),i=n(89309).right,o=n(567),a=n(17067);r({target:"Array",proto:!0,forced:!n(54748)&&a>79&&a<83||!o("reduceRight")},{reduceRight:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},5127:(e,t,n)=>{"use strict";var r=n(55532),i=n(89309).left,o=n(567),a=n(17067);r({target:"Array",proto:!0,forced:!n(54748)&&a>79&&a<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},4555:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(40256),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},31002:(e,t,n)=>{"use strict";var r=n(55532),i=n(40256),o=n(51414),a=n(35309),s=n(37352),u=n(8344),c=n(36854),l=n(93182),d=n(72032),_=n(22874),f=n(87686),h=_("slice"),p=d("species"),g=Array,v=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,d,_=c(this),h=u(_),m=s(e,h),y=s(void 0===t?h:t,h);if(i(_)&&(n=_.constructor,(o(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[p]))&&(n=void 0),n===g||void 0===n))return f(_,m,y);for(r=new(void 0===n?g:n)(v(y-m,0)),d=0;m<y;m++,d++)m in _&&l(r,d,_[m]);return r.length=d,r}})},96200:(e,t,n)=>{"use strict";var r=n(55532),i=n(55909).some;r({target:"Array",proto:!0,forced:!n(567)("some")},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},17206:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(21052),a=n(90298),s=n(8344),u=n(40955),c=n(60599),l=n(64694),d=n(3097),_=n(567),f=n(69016),h=n(70821),p=n(17067),g=n(64389),v=[],m=i(v.sort),y=i(v.push),b=l((function(){v.sort(void 0)})),S=l((function(){v.sort(null)})),E=_("sort"),$=!l((function(){if(p)return p<70;if(!(f&&f>3)){if(h)return!0;if(g)return g<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:b||!S||!E||!$},{sort:function(e){void 0!==e&&o(e);var t=a(this);if($)return void 0===e?m(t):m(t,e);var n,r,i=[],l=s(t);for(r=0;r<l;r++)r in t&&y(i,t[r]);for(d(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<l;)u(t,r++);return t}})},6803:(e,t,n)=>{"use strict";n(7278)("Array")},25731:(e,t,n)=>{"use strict";var r=n(55532),i=n(90298),o=n(37352),a=n(81680),s=n(8344),u=n(86207),c=n(23433),l=n(41699),d=n(93182),_=n(40955),f=n(22874)("splice"),h=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,r,f,g,v,m,y=i(this),b=s(y),S=o(e,b),E=arguments.length;for(0===E?n=r=0:1===E?(n=0,r=b-S):(n=E-2,r=p(h(a(t),0),b-S)),c(b+n-r),f=l(y,r),g=0;g<r;g++)(v=S+g)in y&&d(f,g,y[v]);if(f.length=r,n<r){for(g=S;g<b-r;g++)m=g+n,(v=g+r)in y?y[m]=y[v]:_(y,m);for(g=b;g>b-r+n;g--)_(y,g-1)}else if(n>r)for(g=b-r;g>S;g--)m=g+n-1,(v=g+r-1)in y?y[m]=y[v]:_(y,m);for(g=0;g<n;g++)y[g+S]=arguments[g+2];return u(y,b-r+n),f}})},64e3:(e,t,n)=>{"use strict";var r=n(55532),i=n(24501),o=n(36854),a=n(60586),s=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(o(this),s)}}),a("toReversed")},15398:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(21052),a=n(36854),s=n(77895),u=n(81021),c=n(60586),l=Array,d=i(u("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(e){void 0!==e&&o(e);var t=a(this),n=s(l,t);return d(n,e)}}),c("toSorted")},72805:(e,t,n)=>{"use strict";var r=n(55532),i=n(60586),o=n(23433),a=n(8344),s=n(37352),u=n(36854),c=n(81680),l=Array,d=Math.max,_=Math.min;r({target:"Array",proto:!0},{toSpliced:function(e,t){var n,r,i,f,h=u(this),p=a(h),g=s(e,p),v=arguments.length,m=0;for(0===v?n=r=0:1===v?(n=0,r=p-g):(n=v-2,r=_(d(c(t),0),p-g)),i=o(p+n-r),f=l(i);m<g;m++)f[m]=h[m];for(;m<g+n;m++)f[m]=arguments[m-g+2];for(;m<i;m++)f[m]=h[m+r-n];return f}}),i("toSpliced")},71979:(e,t,n)=>{"use strict";n(60586)("flatMap")},66860:(e,t,n)=>{"use strict";n(60586)("flat")},62464:(e,t,n)=>{"use strict";var r=n(55532),i=n(90298),o=n(8344),a=n(86207),s=n(40955),u=n(23433);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=i(this),n=o(t),r=arguments.length;if(r){u(n+r);for(var c=n;c--;){var l=c+r;c in t?t[l]=t[c]:s(t,l)}for(var d=0;d<r;d++)t[d]=arguments[d]}return a(t,n+r)}})},70985:(e,t,n)=>{"use strict";var r=n(55532),i=n(27117),o=n(36854),a=Array;r({target:"Array",proto:!0},{with:function(e,t){return i(o(this),a,e,t)}})},75191:(e,t,n)=>{"use strict";var r=n(55532),i=n(27454);r({global:!0,constructor:!0,forced:!n(82065)},{DataView:i.DataView})},25154:(e,t,n)=>{"use strict";n(75191)},13642:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(64694)((function(){return 120!==new Date(16e11).getYear()})),a=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:o},{getYear:function(){return a(this)-1900}})},12923:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=Date,a=i(o.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new o)}})},79704:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(81680),a=Date.prototype,s=i(a.getTime),u=i(a.setFullYear);r({target:"Date",proto:!0},{setYear:function(e){s(this);var t=o(e);return u(this,t>=0&&t<=99?t+1900:t)}})},98370:(e,t,n)=>{"use strict";n(55532)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},89790:(e,t,n)=>{"use strict";var r=n(55532),i=n(42617);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},28233:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(90298),a=n(31272);r({target:"Date",proto:!0,arity:1,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=o(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},16571:(e,t,n)=>{"use strict";var r=n(84678),i=n(52470),o=n(89690),a=n(72032)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},40922:(e,t,n)=>{"use strict";var r=n(9668),i=n(52470),o=Date.prototype,a="Invalid Date",s="toString",u=r(o[s]),c=r(o.getTime);String(new Date(NaN))!==a&&i(o,s,(function(){var e=c(this);return e==e?u(this):a}))},80978:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(39659),a=n(77009),s="WebAssembly",u=i[s],c=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=a(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(u&&u[e]){var n={};n[e]=a(s+"."+e,t,c),r({target:s,stat:!0,constructor:!0,arity:1,forced:c},n)}};l("Error",(function(e){return function(t){return o(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),l("URIError",(function(e){return function(t){return o(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},11183:(e,t,n)=>{"use strict";var r=n(52470),i=n(37285),o=Error.prototype;o.toString!==i&&r(o,"toString",i)},3107:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(60599),a=i("".charAt),s=i("".charCodeAt),u=i(/./.exec),c=i(1..toString),l=i("".toUpperCase),d=/[\w*+\-./@]/,_=function(e,t){for(var n=c(e,16);n.length<t;)n="0"+n;return n};r({global:!0},{escape:function(e){for(var t,n,r=o(e),i="",c=r.length,f=0;f<c;)t=a(r,f++),u(d,t)?i+=t:i+=(n=s(t,0))<256?"%"+_(n,2):"%u"+l(_(n,4));return i}})},25309:(e,t,n)=>{"use strict";var r=n(55532),i=n(43559);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},51483:(e,t,n)=>{"use strict";var r=n(30688),i=n(35309),o=n(12131),a=n(66148),s=n(72032),u=n(41135),c=s("hasInstance"),l=Function.prototype;c in l||o.f(l,c,{value:u((function(e){if(!r(this)||!i(e))return!1;var t=this.prototype;return i(t)?a(t,e):e instanceof this}),c)})},11063:(e,t,n)=>{"use strict";var r=n(99924),i=n(40453).EXISTS,o=n(9668),a=n(29393),s=Function.prototype,u=o(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(c.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(e){return""}}})},50864:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},44718:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(39659),a=n(68724),s=n(9668),u=n(64694),c=n(30688),l=n(27935),d=n(87686),_=n(56331),f=n(4112),h=String,p=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),y=s("".replace),b=s(1..toString),S=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,$=/^[\uDC00-\uDFFF]$/,T=!f||u((function(){var e=i("Symbol")("stringify detection");return"[null]"!==p([e])||"{}"!==p({a:e})||"{}"!==p(Object(e))})),A=u((function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")})),C=function(e,t){var n=d(arguments),r=_(t);if(c(r)||void 0!==e&&!l(e))return n[1]=function(e,t){if(c(r)&&(t=a(r,this,h(e),t)),!l(t))return t},o(p,null,n)},P=function(e,t,n){var r=v(n,t-1),i=v(n,t+1);return g(E,e)&&!g($,i)||g($,e)&&!g(E,r)?"\\u"+b(m(e,0),16):e};p&&r({target:"JSON",stat:!0,arity:3,forced:T||A},{stringify:function(e,t,n){var r=d(arguments),i=o(T?C:p,null,r);return A&&"string"==typeof i?y(i,S,P):i}})},69079:(e,t,n)=>{"use strict";var r=n(52150);n(87495)(r.JSON,"JSON",!0)},50386:(e,t,n)=>{"use strict";n(68443)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(7063))},39369:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(21052),a=n(11166),s=n(10914),u=n(80560),c=n(66555),l=u.Map,d=u.has,_=u.get,f=u.set,h=i([].push);r({target:"Map",stat:!0,forced:c},{groupBy:function(e,t){a(e),o(t);var n=new l,r=0;return s(e,(function(e){var i=t(e,r++);d(n,i)?h(_(n,i),e):f(n,i,[e])})),n}})},44215:(e,t,n)=>{"use strict";n(50386)},53289:(e,t,n)=>{"use strict";var r=n(55532),i=n(19850),o=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!o||710!==Math.floor(o(Number.MAX_VALUE))||o(1/0)!==1/0},{acosh:function(e){var t=+e;return t<1?NaN:t>94906265.62425156?a(t)+u:i(t-1+s(t-1)*s(t+1))}})},12595:(e,t,n)=>{"use strict";var r=n(55532),i=Math.asinh,o=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(i&&1/i(0)>0)},{asinh:function e(t){var n=+t;return isFinite(n)&&0!==n?n<0?-e(-n):o(n+a(n*n+1)):n}})},84321:(e,t,n)=>{"use strict";var r=n(55532),i=Math.atanh,o=Math.log;r({target:"Math",stat:!0,forced:!(i&&1/i(-0)<0)},{atanh:function(e){var t=+e;return 0===t?t:o((1+t)/(1-t))/2}})},22635:(e,t,n)=>{"use strict";var r=n(55532),i=n(81162),o=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return i(t)*a(o(t),1/3)}})},19331:(e,t,n)=>{"use strict";var r=n(55532),i=Math.floor,o=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-i(o(t+.5)*a):32}})},79882:(e,t,n)=>{"use strict";var r=n(55532),i=n(70592),o=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(e){var t=i(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},9e3:(e,t,n)=>{"use strict";var r=n(55532),i=n(70592);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},53599:(e,t,n)=>{"use strict";n(55532)({target:"Math",stat:!0},{fround:n(10052)})},11231:(e,t,n)=>{"use strict";var r=n(55532),i=Math.hypot,o=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,i=0,s=0,u=arguments.length,c=0;s<u;)c<(n=o(arguments[s++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(i)}})},93360:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=Math.imul;r({target:"Math",stat:!0,forced:i((function(){return-5!==o(4294967295,5)||2!==o.length}))},{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},14867:(e,t,n)=>{"use strict";n(55532)({target:"Math",stat:!0},{log10:n(25172)})},49741:(e,t,n)=>{"use strict";n(55532)({target:"Math",stat:!0},{log1p:n(19850)})},88333:(e,t,n)=>{"use strict";var r=n(55532),i=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},61663:(e,t,n)=>{"use strict";n(55532)({target:"Math",stat:!0},{sign:n(81162)})},27990:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(70592),a=Math.abs,s=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:i((function(){return-2e-17!==Math.sinh(-2e-17)}))},{sinh:function(e){var t=+e;return a(t)<1?(o(t)-o(-t))/2:(s(t-1)-s(-t-1))*(u/2)}})},67347:(e,t,n)=>{"use strict";var r=n(55532),i=n(70592),o=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=+e,n=i(t),r=i(-t);return n===1/0?1:r===1/0?-1:(n-r)/(o(t)+o(-t))}})},54078:(e,t,n)=>{"use strict";n(87495)(Math,"Math",!0)},93647:(e,t,n)=>{"use strict";n(55532)({target:"Math",stat:!0},{trunc:n(41787)})},76464:(e,t,n)=>{"use strict";var r=n(55532),i=n(66555),o=n(99924),a=n(52150),s=n(58588),u=n(9668),c=n(51633),l=n(84678),d=n(75086),_=n(66148),f=n(27935),h=n(31272),p=n(64694),g=n(6217).f,v=n(37537).f,m=n(12131).f,y=n(32432),b=n(4288).trim,S="Number",E=a[S],$=s[S],T=E.prototype,A=a.TypeError,C=u("".slice),P=u("".charCodeAt),I=c(S,!E(" 0o1")||!E("0b1")||E("+0x1")),w=function(e){var t,n=arguments.length<1?0:E(function(e){var t=h(e,"number");return"bigint"==typeof t?t:function(e){var t,n,r,i,o,a,s,u,c=h(e,"number");if(f(c))throw new A("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=b(c),43===(t=P(c,0))||45===t){if(88===(n=P(c,2))||120===n)return NaN}else if(48===t){switch(P(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=C(c,2)).length,s=0;s<a;s++)if((u=P(o,s))<48||u>i)return NaN;return parseInt(o,r)}return+c}(t)}(e));return _(T,t=this)&&p((function(){y(t)}))?d(Object(n),this,w):n};w.prototype=T,I&&!i&&(T.constructor=w),r({global:!0,constructor:!0,wrap:!0,forced:I},{Number:w});var M=function(e,t){for(var n,r=o?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)l(t,n=r[i])&&!l(e,n)&&m(e,n,v(t,n))};i&&$&&M(s[S],$),(I||i)&&M(s[S],E)},67644:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},29163:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0},{isFinite:n(9178)})},86841:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0},{isInteger:n(791)})},12213:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},78897:(e,t,n)=>{"use strict";var r=n(55532),i=n(791),o=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},92273:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},93342:(e,t,n)=>{"use strict";n(55532)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},71251:(e,t,n)=>{"use strict";var r=n(55532),i=n(44847);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},33918:(e,t,n)=>{"use strict";var r=n(55532),i=n(87582);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},99250:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(81680),a=n(32432),s=n(89265),u=n(25172),c=n(64694),l=RangeError,d=String,_=isFinite,f=Math.abs,h=Math.floor,p=Math.pow,g=Math.round,v=i(1..toExponential),m=i(s),y=i("".slice),b="-6.9000e-11"===v(-69e-12,4)&&"1.25e+0"===v(1.255,2)&&"1.235e+4"===v(12345,3)&&"3e+1"===v(25,0);r({target:"Number",proto:!0,forced:!b||!(c((function(){v(1,1/0)}))&&c((function(){v(1,-1/0)})))||!!c((function(){v(1/0,1/0),v(NaN,1/0)}))},{toExponential:function(e){var t=a(this);if(void 0===e)return v(t);var n=o(e);if(!_(t))return String(t);if(n<0||n>20)throw new l("Incorrect fraction digits");if(b)return v(t,n);var r="",i="",s=0,c="",S="";if(t<0&&(r="-",t=-t),0===t)s=0,i=m("0",n+1);else{var E=u(t);s=h(E);var $=0,T=p(10,s-n);2*t>=(2*($=g(t/T))+1)*T&&($+=1),$>=p(10,n+1)&&($/=10,s+=1),i=d($)}return 0!==n&&(i=y(i,0,1)+"."+y(i,1)),0===s?(c="+",S="0"):(c=s>0?"+":"-",S=d(f(s))),r+(i+"e")+c+S}})},64976:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(81680),a=n(32432),s=n(89265),u=n(64694),c=RangeError,l=String,d=Math.floor,_=i(s),f=i("".slice),h=i(1..toFixed),p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)},g=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=d(i/1e7)},v=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=d(r/t),r=r%t*1e7},m=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=l(e[t]);n=""===n?r:n+_("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!u((function(){h({})}))},{toFixed:function(e){var t,n,r,i,s=a(this),u=o(e),d=[0,0,0,0,0,0],h="",y="0";if(u<0||u>20)throw new c("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return l(s);if(s<0&&(h="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*p(2,69,1))-69)<0?s*p(2,-t,1):s/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(g(d,0,n),r=u;r>=7;)g(d,1e7,0),r-=7;for(g(d,p(10,r,1),0),r=t-1;r>=23;)v(d,1<<23),r-=23;v(d,1<<r),g(d,1,1),v(d,2),y=m(d)}else g(d,0,n),g(d,1<<-t,0),y=m(d)+_("0",u);return u>0?h+((i=y.length)<=u?"0."+_("0",u-i)+y:f(y,0,i-u)+"."+f(y,i-u)):h+y}})},92712:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(64694),a=n(32432),s=i(1..toPrecision);r({target:"Number",proto:!0,forced:o((function(){return"1"!==s(1,void 0)}))||!o((function(){s({})}))},{toPrecision:function(e){return void 0===e?s(a(this)):s(a(this),e)}})},92374:(e,t,n)=>{"use strict";var r=n(55532),i=n(52717);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},25208:(e,t,n)=>{"use strict";n(55532)({target:"Object",stat:!0,sham:!n(99924)},{create:n(38536)})},53111:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(43989),a=n(21052),s=n(90298),u=n(12131);i&&r({target:"Object",proto:!0,forced:o},{__defineGetter__:function(e,t){u.f(s(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},71589:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(50227).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!i},{defineProperties:o})},95536:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(12131).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},24141:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(43989),a=n(21052),s=n(90298),u=n(12131);i&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(e,t){u.f(s(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},2778:(e,t,n)=>{"use strict";var r=n(55532),i=n(13206).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},24324:(e,t,n)=>{"use strict";var r=n(55532),i=n(1989),o=n(64694),a=n(35309),s=n(14442).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!i},{freeze:function(e){return u&&a(e)?u(s(e)):e}})},1697:(e,t,n)=>{"use strict";var r=n(55532),i=n(10914),o=n(93182);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,n){o(t,e,n)}),{AS_ENTRIES:!0}),t}})},18916:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(36854),a=n(37537).f,s=n(99924);r({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},43201:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(50990),a=n(36854),s=n(37537),u=n(93182);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,c=o(r),l={},d=0;c.length>d;)void 0!==(n=i(r,t=c[d++]))&&u(l,t,n);return l}})},28088:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(21356).f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},27226:(e,t,n)=>{"use strict";var r=n(55532),i=n(4112),o=n(64694),a=n(15168),s=n(90298);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},10754:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(90298),a=n(17610),s=n(88440);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},96357:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(9668),a=n(21052),s=n(11166),u=n(2358),c=n(10914),l=i("Object","create"),d=o([].push);r({target:"Object",stat:!0},{groupBy:function(e,t){s(e),a(t);var n=l(null),r=0;return c(e,(function(e){var i=u(t(e,r++));i in n?d(n[i],e):n[i]=[e]})),n}})},20110:(e,t,n)=>{"use strict";n(55532)({target:"Object",stat:!0},{hasOwn:n(84678)})},36889:(e,t,n)=>{"use strict";var r=n(55532),i=n(85092);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},17418:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(35309),a=n(52177),s=n(85321),u=Object.isFrozen;r({target:"Object",stat:!0,forced:s||i((function(){u(1)}))},{isFrozen:function(e){return!o(e)||!(!s||"ArrayBuffer"!==a(e))||!!u&&u(e)}})},15297:(e,t,n)=>{"use strict";var r=n(55532),i=n(64694),o=n(35309),a=n(52177),s=n(85321),u=Object.isSealed;r({target:"Object",stat:!0,forced:s||i((function(){u(1)}))},{isSealed:function(e){return!o(e)||!(!s||"ArrayBuffer"!==a(e))||!!u&&u(e)}})},29461:(e,t,n)=>{"use strict";n(55532)({target:"Object",stat:!0},{is:n(78662)})},69867:(e,t,n)=>{"use strict";var r=n(55532),i=n(90298),o=n(41728);r({target:"Object",stat:!0,forced:n(64694)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},16572:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(43989),a=n(90298),s=n(2358),u=n(17610),c=n(37537).f;i&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(e){var t,n=a(this),r=s(e);do{if(t=c(n,r))return t.get}while(n=u(n))}})},95692:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(43989),a=n(90298),s=n(2358),u=n(17610),c=n(37537).f;i&&r({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(e){var t,n=a(this),r=s(e);do{if(t=c(n,r))return t.set}while(n=u(n))}})},52123:(e,t,n)=>{"use strict";var r=n(55532),i=n(35309),o=n(14442).onFreeze,a=n(1989),s=n(64694),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{preventExtensions:function(e){return u&&i(e)?u(o(e)):e}})},67826:(e,t,n)=>{"use strict";var r=n(99924),i=n(29393),o=n(35309),a=n(41167),s=n(90298),u=n(11166),c=Object.getPrototypeOf,l=Object.setPrototypeOf,d=Object.prototype,_="__proto__";if(r&&c&&l&&!(_ in d))try{i(d,_,{configurable:!0,get:function(){return c(s(this))},set:function(e){var t=u(this);a(e)&&o(t)&&l(t,e)}})}catch(e){}},44123:(e,t,n)=>{"use strict";var r=n(55532),i=n(35309),o=n(14442).onFreeze,a=n(1989),s=n(64694),u=Object.seal;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{seal:function(e){return u&&i(e)?u(o(e)):e}})},2525:(e,t,n)=>{"use strict";n(55532)({target:"Object",stat:!0},{setPrototypeOf:n(64584)})},17385:(e,t,n)=>{"use strict";var r=n(52522),i=n(52470),o=n(30682);r||i(Object.prototype,"toString",o,{unsafe:!0})},38969:(e,t,n)=>{"use strict";var r=n(55532),i=n(13206).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},68164:(e,t,n)=>{"use strict";var r=n(55532),i=n(44847);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},65978:(e,t,n)=>{"use strict";var r=n(55532),i=n(87582);r({global:!0,forced:parseInt!==i},{parseInt:i})},40052:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(21052),a=n(13009),s=n(27519),u=n(10914);r({target:"Promise",stat:!0,forced:n(4373)},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--c||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return l.error&&c(l.value),n.promise}})},75207:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(21052),a=n(13009),s=n(27519),u=n(10914);r({target:"Promise",stat:!0,forced:n(4373)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=s((function(){var n=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},9565:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(21052),a=n(2160),s=n(13009),u=n(27519),c=n(10914),l=n(4373),d="No one promise resolved";r({target:"Promise",stat:!0,forced:l},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),l=r.resolve,_=r.reject,f=u((function(){var r=o(t.resolve),a=[],s=0,u=1,f=!1;c(e,(function(e){var o=s++,c=!1;u++,i(r,t,e).then((function(e){c||f||(f=!0,l(e))}),(function(e){c||f||(c=!0,a[o]=e,--u||_(new n(a,d)))}))})),--u||_(new n(a,d))}));return f.error&&_(f.value),r.promise}})},64412:(e,t,n)=>{"use strict";var r=n(55532),i=n(66555),o=n(98923).CONSTRUCTOR,a=n(15519),s=n(2160),u=n(30688),c=n(52470),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var d=s("Promise").prototype.catch;l.catch!==d&&c(l,"catch",d,{unsafe:!0})}},22959:(e,t,n)=>{"use strict";var r,i,o,a=n(55532),s=n(66555),u=n(54748),c=n(52150),l=n(68724),d=n(52470),_=n(64584),f=n(87495),h=n(7278),p=n(21052),g=n(30688),v=n(35309),m=n(69887),y=n(24041),b=n(39891).set,S=n(42652),E=n(82346),$=n(27519),T=n(39296),A=n(67804),C=n(15519),P=n(98923),I=n(13009),w="Promise",M=P.CONSTRUCTOR,k=P.REJECTION_EVENT,O=P.SUBCLASSING,R=A.getterFor(w),D=A.set,L=C&&C.prototype,x=C,N=L,U=c.TypeError,B=c.document,F=c.process,j=I.f,H=j,V=!!(B&&B.createEvent&&c.dispatchEvent),W="unhandledrejection",q=function(e){var t;return!(!v(e)||!g(t=e.then))&&t},G=function(e,t){var n,r,i,o=t.value,a=1===t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&Q(t),t.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===e.promise?c(new U("Promise-chain cycle")):(r=q(n))?l(r,n,u,c):u(n)):c(o)}catch(e){d&&!i&&d.exit(),c(e)}},Y=function(e,t){e.notified||(e.notified=!0,S((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&z(e)})))},K=function(e,t,n){var r,i;V?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!k&&(i=c["on"+e])?i(r):e===W&&E("Unhandled promise rejection",n)},z=function(e){l(b,c,(function(){var t,n=e.facade,r=e.value;if(X(e)&&(t=$((function(){u?F.emit("unhandledRejection",r,n):K(W,n,r)})),e.rejection=u||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){l(b,c,(function(){var t=e.facade;u?F.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},J=function(e,t,n){return function(r){e(t,r,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Y(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new U("Promise can't be resolved itself");var r=q(t);r?S((function(){var n={done:!1};try{l(r,t,J(ee,n,e),J(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,Y(e,!1))}catch(t){Z({done:!1},t,e)}}};if(M&&(N=(x=function(e){m(this,N),p(e),l(r,this);var t=R(this);try{e(J(ee,t),J(Z,t))}catch(e){Z(t,e)}}).prototype,(r=function(e){D(this,{type:w,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:void 0})}).prototype=d(N,"then",(function(e,t){var n=R(this),r=j(y(this,x));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=u?F.domain:void 0,0===n.state?n.reactions.add(r):S((function(){G(r,n)})),r.promise})),i=function(){var e=new r,t=R(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Z,t)},I.f=j=function(e){return e===x||void 0===e?new i(e):H(e)},!s&&g(C)&&L!==Object.prototype)){o=L.then,O||d(L,"then",(function(e,t){var n=this;return new x((function(e,t){l(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}_&&_(L,N)}a({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:x}),f(x,w,!1,!0),h(w)},25079:(e,t,n)=>{"use strict";var r=n(55532),i=n(66555),o=n(15519),a=n(64694),s=n(2160),u=n(30688),c=n(24041),l=n(84508),d=n(52470),_=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){_.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!i&&u(o)){var f=s("Promise").prototype.finally;_.finally!==f&&d(_,"finally",f,{unsafe:!0})}},4256:(e,t,n)=>{"use strict";n(22959),n(75207),n(64412),n(75633),n(25930),n(73041)},75633:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(21052),a=n(13009),s=n(27519),u=n(10914);r({target:"Promise",stat:!0,forced:n(4373)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},25930:(e,t,n)=>{"use strict";var r=n(55532),i=n(13009);r({target:"Promise",stat:!0,forced:n(98923).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},73041:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(66555),a=n(15519),s=n(98923).CONSTRUCTOR,u=n(84508),c=i("Promise"),l=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(l&&this===c?a:this,e)}})},70748:(e,t,n)=>{"use strict";var r=n(55532),i=n(13009);r({target:"Promise",stat:!0},{withResolvers:function(){var e=i.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},992:(e,t,n)=>{"use strict";var r=n(55532),i=n(39659),o=n(21052),a=n(89175);r({target:"Reflect",stat:!0,forced:!n(64694)((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return i(o(e),t,a(n))}})},21716:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(39659),a=n(43559),s=n(73755),u=n(89175),c=n(35309),l=n(38536),d=n(64694),_=i("Reflect","construct"),f=Object.prototype,h=[].push,p=d((function(){function e(){}return!(_((function(){}),[],e)instanceof e)})),g=!d((function(){_((function(){}))})),v=p||g;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(g&&!p)return _(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(h,r,t),new(o(a,e,r))}var i=n.prototype,d=l(c(i)?i:f),v=o(e,d,t);return c(v)?v:d}})},16111:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(89175),a=n(2358),s=n(12131);r({target:"Reflect",stat:!0,forced:n(64694)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!i},{defineProperty:function(e,t,n){o(e);var r=a(t);o(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},361:(e,t,n)=>{"use strict";var r=n(55532),i=n(89175),o=n(37537).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},43384:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(89175),a=n(37537);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(e,t){return a.f(o(e),t)}})},69811:(e,t,n)=>{"use strict";var r=n(55532),i=n(89175),o=n(17610);r({target:"Reflect",stat:!0,sham:!n(88440)},{getPrototypeOf:function(e){return o(i(e))}})},40185:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(35309),a=n(89175),s=n(27302),u=n(37537),c=n(17610);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,d=arguments.length<3?t:arguments[2];return a(t)===d?t[n]:(r=u.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,d):o(l=c(t))?e(l,n,d):void 0}})},35124:(e,t,n)=>{"use strict";n(55532)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},64447:(e,t,n)=>{"use strict";var r=n(55532),i=n(89175),o=n(85092);r({target:"Reflect",stat:!0},{isExtensible:function(e){return i(e),o(e)}})},21486:(e,t,n)=>{"use strict";n(55532)({target:"Reflect",stat:!0},{ownKeys:n(50990)})},36092:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(89175);r({target:"Reflect",stat:!0,sham:!n(1989)},{preventExtensions:function(e){o(e);try{var t=i("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},31555:(e,t,n)=>{"use strict";var r=n(55532),i=n(89175),o=n(29568),a=n(64584);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e),o(t);try{return a(e,t),!0}catch(e){return!1}}})},31491:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(89175),a=n(35309),s=n(27302),u=n(64694),c=n(12131),l=n(37537),d=n(17610),_=n(17781);r({target:"Reflect",stat:!0,forced:u((function(){var e=function(){},t=c.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function e(t,n,r){var u,f,h,p=arguments.length<4?t:arguments[3],g=l.f(o(t),n);if(!g){if(a(f=d(t)))return e(f,n,r,p);g=_(0)}if(s(g)){if(!1===g.writable||!a(p))return!1;if(u=l.f(p,n)){if(u.get||u.set||!1===u.writable)return!1;u.value=r,c.f(p,n,u)}else c.f(p,n,_(0,r))}else{if(void 0===(h=g.set))return!1;i(h,p,r)}return!0}})},73273:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(87495);r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},80417:(e,t,n)=>{"use strict";var r=n(99924),i=n(52150),o=n(9668),a=n(51633),s=n(75086),u=n(22385),c=n(38536),l=n(6217).f,d=n(66148),_=n(79710),f=n(60599),h=n(80976),p=n(93047),g=n(49288),v=n(52470),m=n(64694),y=n(84678),b=n(67804).enforce,S=n(7278),E=n(72032),$=n(65030),T=n(36159),A=E("match"),C=i.RegExp,P=C.prototype,I=i.SyntaxError,w=o(P.exec),M=o("".charAt),k=o("".replace),O=o("".indexOf),R=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,x=/a/g,N=new C(L)!==L,U=p.MISSED_STICKY,B=p.UNSUPPORTED_Y;if(a("RegExp",r&&(!N||U||$||T||m((function(){return x[A]=!1,C(L)!==L||C(x)===x||"/a/i"!==String(C(L,"i"))}))))){for(var F=function(e,t){var n,r,i,o,a,l,p=d(P,this),g=_(e),v=void 0===t,m=[],S=e;if(!p&&g&&v&&e.constructor===F)return e;if((g||d(P,e))&&(e=e.source,v&&(t=h(S))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),S=e,$&&"dotAll"in L&&(r=!!t&&O(t,"s")>-1)&&(t=k(t,/s/g,"")),n=t,U&&"sticky"in L&&(i=!!t&&O(t,"y")>-1)&&B&&(t=k(t,/y/g,"")),T&&(o=function(e){for(var t,n=e.length,r=0,i="",o=[],a=c(null),s=!1,u=!1,l=0,d="";r<=n;r++){if("\\"===(t=M(e,r)))t+=M(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:w(D,R(e,r+1))&&(r+=2,u=!0),i+=t,l++;continue;case">"===t&&u:if(""===d||y(a,d))throw new I("Invalid capture group name");a[d]=!0,o[o.length]=[d,l],u=!1,d="";continue}u?d+=t:i+=t}return[i,o]}(e),e=o[0],m=o[1]),a=s(C(e,t),p?this:P,F),(r||i||m.length)&&(l=b(a),r&&(l.dotAll=!0,l.raw=F(function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=M(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+M(e,++r);return i}(e),n)),i&&(l.sticky=!0),m.length&&(l.groups=m)),e!==S)try{u(a,"source",""===S?"(?:)":S)}catch(e){}return a},j=l(C),H=0;j.length>H;)g(F,C,j[H++]);P.constructor=F,F.prototype=P,v(i,"RegExp",F,{constructor:!0})}S("RegExp")},40812:(e,t,n)=>{"use strict";var r=n(99924),i=n(65030),o=n(52177),a=n(29393),s=n(67804).get,u=RegExp.prototype,c=TypeError;r&&i&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},87246:(e,t,n)=>{"use strict";var r=n(55532),i=n(83346);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},84171:(e,t,n)=>{"use strict";var r=n(52150),i=n(99924),o=n(29393),a=n(97929),s=n(64694),u=r.RegExp,c=u.prototype;i&&s((function(){var e=!0;try{u(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(o.hasIndices="d"),o)i(a,o[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&o(c,"flags",{configurable:!0,get:a})},21295:(e,t,n)=>{"use strict";var r=n(99924),i=n(93047).MISSED_STICKY,o=n(52177),a=n(29393),s=n(67804).get,u=RegExp.prototype,c=TypeError;r&&i&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},69632:(e,t,n)=>{"use strict";n(87246);var r,i,o=n(55532),a=n(68724),s=n(30688),u=n(89175),c=n(60599),l=(r=!1,(i=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&r),d=/./.test;o({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=u(this),n=c(e),r=t.exec;if(!s(r))return a(d,t,n);var i=a(r,t,n);return null!==i&&(u(i),!0)}})},60647:(e,t,n)=>{"use strict";var r=n(40453).PROPER,i=n(52470),o=n(89175),a=n(60599),s=n(64694),u=n(80976),c="toString",l=RegExp.prototype,d=l[c],_=s((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),f=r&&d.name!==c;(_||f)&&i(l,c,(function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},81547:(e,t,n)=>{"use strict";n(68443)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(7063))},22979:(e,t,n)=>{"use strict";n(81547)},22361:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},65150:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(11166),a=n(81680),s=n(60599),u=n(64694),c=i("".charAt);r({target:"String",proto:!0,forced:u((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=s(o(this)),n=t.length,r=a(e),i=r>=0?r:n+r;return i<0||i>=n?void 0:c(t,i)}})},92396:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("big")},{big:function(){return i(this,"big","","")}})},93669:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("blink")},{blink:function(){return i(this,"blink","","")}})},74631:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("bold")},{bold:function(){return i(this,"b","","")}})},51919:(e,t,n)=>{"use strict";var r=n(55532),i=n(87048).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},9564:(e,t,n)=>{"use strict";var r,i=n(55532),o=n(5033),a=n(37537).f,s=n(27331),u=n(60599),c=n(10831),l=n(11166),d=n(6386),_=n(66555),f=o("".slice),h=Math.min,p=d("endsWith");i({target:"String",proto:!0,forced:!(!_&&!p&&(r=a(String.prototype,"endsWith"),r&&!r.writable)||p)},{endsWith:function(e){var t=u(l(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:h(s(n),r),o=u(e);return f(t,i-o.length,i)===o}})},73543:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("fixed")},{fixed:function(){return i(this,"tt","","")}})},28397:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("fontcolor")},{fontcolor:function(e){return i(this,"font","color",e)}})},36308:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("fontsize")},{fontsize:function(e){return i(this,"font","size",e)}})},68043:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(37352),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=i([].join);r({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,i=0;r>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new a(t+" is not a valid code point");n[i]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},23395:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(10831),a=n(11166),s=n(60599),u=n(6386),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},25031:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(11166),a=n(60599),s=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var e=a(o(this)),t=e.length,n=0;n<t;n++){var r=s(e,n);if(55296==(63488&r)&&(r>=56320||++n>=t||56320!=(64512&s(e,n))))return!1}return!0}})},84925:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("italics")},{italics:function(){return i(this,"i","","")}})},99492:(e,t,n)=>{"use strict";var r=n(87048).charAt,i=n(60599),o=n(67804),a=n(18772),s=n(39374),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(e){c(this,{type:u,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},68995:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("link")},{link:function(e){return i(this,"a","href",e)}})},26911:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(5033),a=n(45848),s=n(39374),u=n(11166),c=n(27331),l=n(60599),d=n(89175),_=n(5268),f=n(52177),h=n(79710),p=n(80976),g=n(75383),v=n(52470),m=n(64694),y=n(72032),b=n(24041),S=n(36271),E=n(76802),$=n(67804),T=n(66555),A=y("matchAll"),C="RegExp String",P=C+" Iterator",I=$.set,w=$.getterFor(P),M=RegExp.prototype,k=TypeError,O=o("".indexOf),R=o("".matchAll),D=!!R&&!m((function(){R("a",/./)})),L=a((function(e,t,n,r){I(this,{type:P,regexp:e,string:t,global:n,unicode:r,done:!1})}),C,(function(){var e=w(this);if(e.done)return s(void 0,!0);var t=e.regexp,n=e.string,r=E(t,n);return null===r?(e.done=!0,s(void 0,!0)):e.global?(""===l(r[0])&&(t.lastIndex=S(n,c(t.lastIndex),e.unicode)),s(r,!1)):(e.done=!0,s(r,!1))})),x=function(e){var t,n,r,i=d(this),o=l(e),a=b(i,RegExp),s=l(p(i));return t=new a(a===RegExp?i.source:i,s),n=!!~O(s,"g"),r=!!~O(s,"u"),t.lastIndex=c(i.lastIndex),new L(t,o,n,r)};r({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,n,r,o,a=u(this);if(_(e)){if(D)return R(a,e)}else{if(h(e)&&(t=l(u(p(e))),!~O(t,"g")))throw new k("`.matchAll` does not allow non-global regexes");if(D)return R(a,e);if(void 0===(r=g(e,A))&&T&&"RegExp"===f(e)&&(r=x),r)return i(r,e,a)}return n=l(a),o=new RegExp(e,"g"),T?i(x,o,n):o[A](n)}}),T||A in M||v(M,A,x)},17125:(e,t,n)=>{"use strict";var r=n(68724),i=n(39526),o=n(89175),a=n(5268),s=n(27331),u=n(60599),c=n(11166),l=n(75383),d=n(36271),_=n(76802);i("match",(function(e,t,n){return[function(t){var n=c(this),i=a(t)?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](u(n))},function(e){var r=o(this),i=u(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return _(r,i);var c=r.unicode;r.lastIndex=0;for(var l,f=[],h=0;null!==(l=_(r,i));){var p=u(l[0]);f[h]=p,""===p&&(r.lastIndex=d(i,s(r.lastIndex),c)),h++}return 0===h?null:f}]}))},56428:(e,t,n)=>{"use strict";var r=n(55532),i=n(37301).end;r({target:"String",proto:!0,forced:n(13375)},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},69101:(e,t,n)=>{"use strict";var r=n(55532),i=n(37301).start;r({target:"String",proto:!0,forced:n(13375)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},40792:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(36854),a=n(90298),s=n(60599),u=n(8344),c=i([].push),l=i([].join);r({target:"String",stat:!0},{raw:function(e){var t=o(a(e).raw),n=u(t);if(!n)return"";for(var r=arguments.length,i=[],d=0;;){if(c(i,s(t[d++])),d===n)return l(i,"");d<r&&c(i,s(arguments[d]))}}})},10867:(e,t,n)=>{"use strict";n(55532)({target:"String",proto:!0},{repeat:n(89265)})},64597:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(9668),a=n(11166),s=n(30688),u=n(5268),c=n(79710),l=n(60599),d=n(75383),_=n(80976),f=n(56889),h=n(72032),p=n(66555),g=h("replace"),v=TypeError,m=o("".indexOf),y=o("".replace),b=o("".slice),S=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,h,E,$,T,A,C,P=a(this),I=0,w=0,M="";if(!u(e)){if((n=c(e))&&(r=l(a(_(e))),!~m(r,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(o=d(e,g))return i(o,e,P,t);if(p&&n)return y(l(P),e,t)}for(h=l(P),E=l(e),($=s(t))||(t=l(t)),T=E.length,A=S(1,T),I=m(h,E);-1!==I;)C=$?l(t(E,I,h)):f(E,h,I,[],void 0,t),M+=b(h,w,I)+C,w=I+T,I=I+A>h.length?-1:m(h,E,I+A);return w<h.length&&(M+=b(h,w)),M}})},21531:(e,t,n)=>{"use strict";var r=n(39659),i=n(68724),o=n(9668),a=n(39526),s=n(64694),u=n(89175),c=n(30688),l=n(5268),d=n(81680),_=n(27331),f=n(60599),h=n(11166),p=n(36271),g=n(75383),v=n(56889),m=n(76802),y=n(72032)("replace"),b=Math.max,S=Math.min,E=o([].concat),$=o([].push),T=o("".indexOf),A=o("".slice),C="$0"==="a".replace(/./,"$0"),P=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var o=P?"$":"$0";return[function(e,n){var r=h(this),o=l(e)?void 0:g(e,y);return o?i(o,e,r,n):i(t,f(r),e,n)},function(e,i){var a=u(this),s=f(e);if("string"==typeof i&&-1===T(i,o)&&-1===T(i,"$<")){var l=n(t,a,s,i);if(l.done)return l.value}var h=c(i);h||(i=f(i));var g,y=a.global;y&&(g=a.unicode,a.lastIndex=0);for(var C,P=[];null!==(C=m(a,s))&&($(P,C),y);)""===f(C[0])&&(a.lastIndex=p(s,_(a.lastIndex),g));for(var I,w="",M=0,k=0;k<P.length;k++){for(var O,R=f((C=P[k])[0]),D=b(S(d(C.index),s.length),0),L=[],x=1;x<C.length;x++)$(L,void 0===(I=C[x])?I:String(I));var N=C.groups;if(h){var U=E([R],L,D,s);void 0!==N&&$(U,N),O=f(r(i,void 0,U))}else O=v(R,s,D,L,N,i);D>=M&&(w+=A(s,M,D)+O,M=D+R.length)}return w+A(s,M)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!C||P)},96391:(e,t,n)=>{"use strict";var r=n(68724),i=n(39526),o=n(89175),a=n(5268),s=n(11166),u=n(78662),c=n(60599),l=n(75383),d=n(76802);i("search",(function(e,t,n){return[function(t){var n=s(this),i=a(t)?void 0:l(t,e);return i?r(i,t,n):new RegExp(t)[e](c(n))},function(e){var r=o(this),i=c(e),a=n(t,r,i);if(a.done)return a.value;var s=r.lastIndex;u(s,0)||(r.lastIndex=0);var l=d(r,i);return u(r.lastIndex,s)||(r.lastIndex=s),null===l?-1:l.index}]}))},17065:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("small")},{small:function(){return i(this,"small","","")}})},67904:(e,t,n)=>{"use strict";var r=n(68724),i=n(9668),o=n(39526),a=n(89175),s=n(5268),u=n(11166),c=n(24041),l=n(36271),d=n(27331),_=n(60599),f=n(75383),h=n(76802),p=n(93047),g=n(64694),v=p.UNSUPPORTED_Y,m=Math.min,y=i([].push),b=i("".slice),S=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),E="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",(function(e,t,n){var i="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t;return[function(t,n){var o=u(this),a=s(t)?void 0:f(t,e);return a?r(a,t,o,n):r(i,_(o),t,n)},function(e,r){var o=a(this),s=_(e);if(!E){var u=n(i,o,s,r,i!==t);if(u.done)return u.value}var f=c(o,RegExp),p=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(v?"g":"y"),S=new f(v?"^(?:"+o.source+")":o,g),$=void 0===r?4294967295:r>>>0;if(0===$)return[];if(0===s.length)return null===h(S,s)?[s]:[];for(var T=0,A=0,C=[];A<s.length;){S.lastIndex=v?0:A;var P,I=h(S,v?b(s,A):s);if(null===I||(P=m(d(S.lastIndex+(v?A:0)),s.length))===T)A=l(s,A,p);else{if(y(C,b(s,T,A)),C.length===$)return C;for(var w=1;w<=I.length-1;w++)if(y(C,I[w]),C.length===$)return C;A=T=P}}return y(C,b(s,T)),C}]}),E||!S,v)},1205:(e,t,n)=>{"use strict";var r,i=n(55532),o=n(5033),a=n(37537).f,s=n(27331),u=n(60599),c=n(10831),l=n(11166),d=n(6386),_=n(66555),f=o("".slice),h=Math.min,p=d("startsWith");i({target:"String",proto:!0,forced:!(!_&&!p&&(r=a(String.prototype,"startsWith"),r&&!r.writable)||p)},{startsWith:function(e){var t=u(l(this));c(e);var n=s(h(arguments.length>1?arguments[1]:void 0,t.length)),r=u(e);return f(t,n,n+r.length)===r}})},37375:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("strike")},{strike:function(){return i(this,"strike","","")}})},47363:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("sub")},{sub:function(){return i(this,"sub","","")}})},65461:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(11166),a=n(81680),s=n(60599),u=i("".slice),c=Math.max,l=Math.min;r({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(e,t){var n,r,i=s(o(this)),d=i.length,_=a(e);return _===1/0&&(_=0),_<0&&(_=c(d+_,0)),(n=void 0===t?d:a(t))<=0||n===1/0||_>=(r=l(_+n,d))?"":u(i,_,r)}})},35763:(e,t,n)=>{"use strict";var r=n(55532),i=n(31011);r({target:"String",proto:!0,forced:n(16001)("sup")},{sup:function(){return i(this,"sup","","")}})},2246:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724),o=n(9668),a=n(11166),s=n(60599),u=n(64694),c=Array,l=o("".charAt),d=o("".charCodeAt),_=o([].join),f="".toWellFormed,h=f&&u((function(){return"1"!==i(f,1)}));r({target:"String",proto:!0,forced:h},{toWellFormed:function(){var e=s(a(this));if(h)return i(f,e);for(var t=e.length,n=c(t),r=0;r<t;r++){var o=d(e,r);55296!=(63488&o)?n[r]=l(e,r):o>=56320||r+1>=t||56320!=(64512&d(e,r+1))?n[r]="�":(n[r]=l(e,r),n[++r]=l(e,r))}return _(n,"")}})},36156:(e,t,n)=>{"use strict";n(76948);var r=n(55532),i=n(79302);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},54422:(e,t,n)=>{"use strict";var r=n(55532),i=n(3e3);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},76948:(e,t,n)=>{"use strict";var r=n(55532),i=n(79302);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},97751:(e,t,n)=>{"use strict";n(54422);var r=n(55532),i=n(3e3);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},27635:(e,t,n)=>{"use strict";var r=n(55532),i=n(4288).trim;r({target:"String",proto:!0,forced:n(12561)("trim")},{trim:function(){return i(this)}})},88967:(e,t,n)=>{"use strict";n(1957)("asyncIterator")},54716:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(68724),a=n(9668),s=n(66555),u=n(99924),c=n(4112),l=n(64694),d=n(84678),_=n(66148),f=n(89175),h=n(36854),p=n(2358),g=n(60599),v=n(17781),m=n(38536),y=n(41728),b=n(6217),S=n(21356),E=n(15168),$=n(37537),T=n(12131),A=n(50227),C=n(98208),P=n(52470),I=n(29393),w=n(72645),M=n(41962),k=n(37390),O=n(65736),R=n(72032),D=n(87747),L=n(1957),x=n(848),N=n(87495),U=n(67804),B=n(55909).forEach,F=M("hidden"),j="Symbol",H="prototype",V=U.set,W=U.getterFor(j),q=Object[H],G=i.Symbol,Y=G&&G[H],K=i.RangeError,z=i.TypeError,X=i.QObject,Q=$.f,J=T.f,Z=S.f,ee=C.f,te=a([].push),ne=w("symbols"),re=w("op-symbols"),ie=w("wks"),oe=!X||!X[H]||!X[H].findChild,ae=function(e,t,n){var r=Q(q,t);r&&delete q[t],J(e,t,n),r&&e!==q&&J(q,t,r)},se=u&&l((function(){return 7!==m(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?ae:J,ue=function(e,t){var n=ne[e]=m(Y);return V(n,{type:j,tag:e,description:t}),u||(n.description=t),n},ce=function(e,t,n){e===q&&ce(re,t,n),f(e);var r=p(t);return f(n),d(ne,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=m(n,{enumerable:v(0,!1)})):(d(e,F)||J(e,F,v(1,m(null))),e[F][r]=!0),se(e,r,n)):J(e,r,n)},le=function(e,t){f(e);var n=h(t),r=y(n).concat(he(n));return B(r,(function(t){u&&!o(de,n,t)||ce(e,t,n[t])})),e},de=function(e){var t=p(e),n=o(ee,this,t);return!(this===q&&d(ne,t)&&!d(re,t))&&(!(n||!d(this,t)||!d(ne,t)||d(this,F)&&this[F][t])||n)},_e=function(e,t){var n=h(e),r=p(t);if(n!==q||!d(ne,r)||d(re,r)){var i=Q(n,r);return!i||!d(ne,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},fe=function(e){var t=Z(h(e)),n=[];return B(t,(function(e){d(ne,e)||d(k,e)||te(n,e)})),n},he=function(e){var t=e===q,n=Z(t?re:h(e)),r=[];return B(n,(function(e){!d(ne,e)||t&&!d(q,e)||te(r,ne[e])})),r};c||(P(Y=(G=function(){if(_(Y,this))throw new z("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=O(e),n=function(e){var r=void 0===this?i:this;r===q&&o(n,re,e),d(r,F)&&d(r[F],t)&&(r[F][t]=!1);var a=v(1,e);try{se(r,t,a)}catch(e){if(!(e instanceof K))throw e;ae(r,t,a)}};return u&&oe&&se(q,t,{configurable:!0,set:n}),ue(t,e)})[H],"toString",(function(){return W(this).tag})),P(G,"withoutSetter",(function(e){return ue(O(e),e)})),C.f=de,T.f=ce,A.f=le,$.f=_e,b.f=S.f=fe,E.f=he,D.f=function(e){return ue(R(e),e)},u&&(I(Y,"description",{configurable:!0,get:function(){return W(this).description}}),s||P(q,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:G}),B(y(ie),(function(e){L(e)})),r({target:j,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?m(e):le(m(e),t)},defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:_e}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe}),x(),N(G,j),k[F]=!0},90399:(e,t,n)=>{"use strict";var r=n(55532),i=n(99924),o=n(52150),a=n(9668),s=n(84678),u=n(30688),c=n(66148),l=n(60599),d=n(29393),_=n(43891),f=o.Symbol,h=f&&f.prototype;if(i&&u(f)&&(!("description"in h)||void 0!==f().description)){var p={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(p[t]=!0),t};_(g,f),g.prototype=h,h.constructor=g;var v="Symbol(description detection)"===String(f("description detection")),m=a(h.valueOf),y=a(h.toString),b=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),E=a("".slice);d(h,"description",{configurable:!0,get:function(){var e=m(this);if(s(p,e))return"";var t=y(e),n=v?E(t,7,-1):S(t,b,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},55552:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(84678),a=n(60599),s=n(72645),u=n(20814),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,l[n]=t,n}})},3478:(e,t,n)=>{"use strict";n(1957)("hasInstance")},50795:(e,t,n)=>{"use strict";n(1957)("isConcatSpreadable")},95696:(e,t,n)=>{"use strict";n(1957)("iterator")},66479:(e,t,n)=>{"use strict";n(54716),n(55552),n(6680),n(44718),n(27226)},6680:(e,t,n)=>{"use strict";var r=n(55532),i=n(84678),o=n(27935),a=n(3397),s=n(72645),u=n(20814),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(c,e))return c[e]}})},62056:(e,t,n)=>{"use strict";n(1957)("matchAll")},84487:(e,t,n)=>{"use strict";n(1957)("match")},48845:(e,t,n)=>{"use strict";n(1957)("replace")},8392:(e,t,n)=>{"use strict";n(1957)("search")},40149:(e,t,n)=>{"use strict";n(1957)("species")},73752:(e,t,n)=>{"use strict";n(1957)("split")},35427:(e,t,n)=>{"use strict";var r=n(1957),i=n(848);r("toPrimitive"),i()},14090:(e,t,n)=>{"use strict";var r=n(2160),i=n(1957),o=n(87495);i("toStringTag"),o(r("Symbol"),"Symbol")},29020:(e,t,n)=>{"use strict";n(1957)("unscopables")},97380:(e,t,n)=>{"use strict";var r=n(4317),i=n(8344),o=n(81680),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(e){var t=a(this),n=i(t),r=o(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}))},41990:(e,t,n)=>{"use strict";var r=n(9668),i=n(4317),o=r(n(72530)),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return o(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},41224:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},90527:(e,t,n)=>{"use strict";var r=n(4317),i=n(98404),o=n(66601),a=n(51566),s=n(68724),u=n(9668),c=n(64694),l=r.aTypedArray,d=r.exportTypedArrayMethod,_=u("".slice);d("fill",(function(e){var t=arguments.length;l(this);var n="Big"===_(a(this),0,3)?o(e):+e;return s(i,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},49834:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).filter,o=n(29590),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},145:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},9394:(e,t,n)=>{"use strict";var r=n(4317),i=n(50563).findLastIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLastIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},71697:(e,t,n)=>{"use strict";var r=n(4317),i=n(50563).findLast,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLast",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},58151:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33552:(e,t,n)=>{"use strict";n(69082)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},86787:(e,t,n)=>{"use strict";n(69082)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},91636:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},56926:(e,t,n)=>{"use strict";var r=n(18087);(0,n(4317).exportTypedArrayStaticMethod)("from",n(16897),r)},24319:(e,t,n)=>{"use strict";var r=n(4317),i=n(21138).includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},26848:(e,t,n)=>{"use strict";var r=n(4317),i=n(21138).indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},29905:(e,t,n)=>{"use strict";n(69082)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},77581:(e,t,n)=>{"use strict";n(69082)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},38031:(e,t,n)=>{"use strict";n(69082)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29226:(e,t,n)=>{"use strict";var r=n(52150),i=n(64694),o=n(9668),a=n(4317),s=n(91211),u=n(72032)("iterator"),c=r.Uint8Array,l=o(s.values),d=o(s.keys),_=o(s.entries),f=a.aTypedArray,h=a.exportTypedArrayMethod,p=c&&c.prototype,g=!i((function(){p[u].call([1])})),v=!!p&&p.values&&p[u]===p.values&&"values"===p.values.name,m=function(){return l(f(this))};h("entries",(function(){return _(f(this))}),g),h("keys",(function(){return d(f(this))}),g),h("values",m,g||!v,{name:"values"}),h(u,m,g||!v,{name:"values"})},34706:(e,t,n)=>{"use strict";var r=n(4317),i=n(9668),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=i([].join);a("join",(function(e){return s(o(this),e)}))},84385:(e,t,n)=>{"use strict";var r=n(4317),i=n(39659),o=n(18676),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(o,a(this),t>1?[e,arguments[1]]:[e])}))},99941:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).map,o=n(62063),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},2170:(e,t,n)=>{"use strict";var r=n(4317),i=n(18087),o=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(o(this))(t);t>e;)n[e]=arguments[e++];return n}),i)},28609:(e,t,n)=>{"use strict";var r=n(4317),i=n(89309).right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},3364:(e,t,n)=>{"use strict";var r=n(4317),i=n(89309).left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},16727:(e,t,n)=>{"use strict";var r=n(4317),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=this,n=i(t).length,r=a(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},13438:(e,t,n)=>{"use strict";var r=n(52150),i=n(68724),o=n(4317),a=n(8344),s=n(52066),u=n(90298),c=n(64694),l=r.RangeError,d=r.Int8Array,_=d&&d.prototype,f=_&&_.set,h=o.aTypedArray,p=o.exportTypedArrayMethod,g=!c((function(){var e=new Uint8ClampedArray(2);return i(f,e,{length:1,0:3},1),3!==e[1]})),v=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));p("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=u(e);if(g)return i(f,this,n,t);var r=this.length,o=a(n),c=0;if(o+t>r)throw new l("Wrong length");for(;c<o;)this[t+c]=n[c++]}),!g||v)},37028:(e,t,n)=>{"use strict";var r=n(4317),i=n(62063),o=n(64694),a=n(87686),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=i(this),o=0,u=n.length,c=new r(u);u>o;)c[o]=n[o++];return c}),o((function(){new Int8Array(1).slice()})))},25320:(e,t,n)=>{"use strict";var r=n(4317),i=n(55909).some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},53616:(e,t,n)=>{"use strict";var r=n(52150),i=n(5033),o=n(64694),a=n(21052),s=n(3097),u=n(4317),c=n(69016),l=n(70821),d=n(17067),_=n(64389),f=u.aTypedArray,h=u.exportTypedArrayMethod,p=r.Uint16Array,g=p&&i(p.prototype.sort),v=!(!g||o((function(){g(new p(2),null)}))&&o((function(){g(new p(2),{})}))),m=!!g&&!o((function(){if(d)return d<74;if(c)return c<67;if(l)return!0;if(_)return _<602;var e,t,n=new p(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),m?g(this,e):s(f(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!m||v)},79532:(e,t,n)=>{"use strict";var r=n(4317),i=n(27331),o=n(37352),a=n(62063),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,u=o(e,r);return new(a(n))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-u))}))},42423:(e,t,n)=>{"use strict";var r=n(52150),i=n(39659),o=n(4317),a=n(64694),s=n(87686),u=r.Int8Array,c=o.aTypedArray,l=o.exportTypedArrayMethod,d=[].toLocaleString,_=!!u&&a((function(){d.call(new u(1))}));l("toLocaleString",(function(){return i(d,_?s(c(this)):c(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])})))},35630:(e,t,n)=>{"use strict";var r=n(24501),i=n(4317),o=i.aTypedArray,a=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;a("toReversed",(function(){return r(o(this),s(this))}))},30896:(e,t,n)=>{"use strict";var r=n(4317),i=n(9668),o=n(21052),a=n(77895),s=r.aTypedArray,u=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,l=i(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&o(e);var t=s(this),n=a(u(t),t);return l(n,e)}))},6822:(e,t,n)=>{"use strict";var r=n(4317).exportTypedArrayMethod,i=n(64694),o=n(52150),a=n(9668),s=o.Uint8Array,u=s&&s.prototype||{},c=[].toString,l=a([].join);i((function(){c.call({})}))&&(c=function(){return l(this)});var d=u.toString!==c;r("toString",c,d)},74701:(e,t,n)=>{"use strict";n(69082)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29166:(e,t,n)=>{"use strict";n(69082)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},55984:(e,t,n)=>{"use strict";n(69082)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},88319:(e,t,n)=>{"use strict";n(69082)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},24139:(e,t,n)=>{"use strict";var r=n(27117),i=n(4317),o=n(39232),a=n(81680),s=n(66601),u=i.aTypedArray,c=i.getTypedArrayConstructor,l=i.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();l("with",{with:function(e,t){var n=u(this),i=a(e),l=o(n)?s(t):+t;return r(n,c(n),i,l)}}.with,!d)},95295:(e,t,n)=>{"use strict";var r=n(55532),i=n(9668),o=n(60599),a=String.fromCharCode,s=i("".charAt),u=i(/./.exec),c=i("".slice),l=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(e){for(var t,n,r=o(e),i="",_=r.length,f=0;f<_;){if("%"===(t=s(r,f++)))if("u"===s(r,f)){if(n=c(r,f+1,f+5),u(d,n)){i+=a(parseInt(n,16)),f+=5;continue}}else if(n=c(r,f,f+2),u(l,n)){i+=a(parseInt(n,16)),f+=2;continue}i+=t}return i}})},87065:(e,t,n)=>{"use strict";var r,i=n(1989),o=n(52150),a=n(9668),s=n(99700),u=n(14442),c=n(68443),l=n(17234),d=n(35309),_=n(67804).enforce,f=n(64694),h=n(34724),p=Object,g=Array.isArray,v=p.isExtensible,m=p.isFrozen,y=p.isSealed,b=p.freeze,S=p.seal,E=!o.ActiveXObject&&"ActiveXObject"in o,$=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},T=c("WeakMap",$,l),A=T.prototype,C=a(A.set);if(h)if(E){r=l.getConstructor($,"WeakMap",!0),u.enable();var P=a(A.delete),I=a(A.has),w=a(A.get);s(A,{delete:function(e){if(d(e)&&!v(e)){var t=_(this);return t.frozen||(t.frozen=new r),P(this,e)||t.frozen.delete(e)}return P(this,e)},has:function(e){if(d(e)&&!v(e)){var t=_(this);return t.frozen||(t.frozen=new r),I(this,e)||t.frozen.has(e)}return I(this,e)},get:function(e){if(d(e)&&!v(e)){var t=_(this);return t.frozen||(t.frozen=new r),I(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(d(e)&&!v(e)){var n=_(this);n.frozen||(n.frozen=new r),I(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else i&&f((function(){var e=b([]);return C(new T,e,1),!m(e)}))&&s(A,{set:function(e,t){var n;return g(e)&&(m(e)?n=b:y(e)&&(n=S)),C(this,e,t),n&&n(e),this}})},62401:(e,t,n)=>{"use strict";n(87065)},99077:(e,t,n)=>{"use strict";n(68443)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(17234))},88077:(e,t,n)=>{"use strict";n(99077)},53653:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(2160),a=n(9668),s=n(68724),u=n(64694),c=n(60599),l=n(34051),d=n(93799).c2i,_=/[^\d+/a-z]/i,f=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,p=o("atob"),g=String.fromCharCode,v=a("".charAt),m=a("".replace),y=a(_.exec),b=!!p&&!u((function(){return"hi"!==p("aGk=")})),S=b&&u((function(){return""!==p(" ")})),E=b&&!u((function(){p("a")})),$=b&&!u((function(){p()})),T=b&&1!==p.length;r({global:!0,bind:!0,enumerable:!0,forced:!b||S||E||$||T},{atob:function(e){if(l(arguments.length,1),b&&!S&&!E)return s(p,i,e);var t,n,r,a=m(c(e),f,""),u="",$=0,T=0;if(a.length%4==0&&(a=m(a,h,"")),(t=a.length)%4==1||y(_,a))throw new(o("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;$<t;)n=v(a,$++),r=T%4?64*r+d[n]:d[n],T++%4&&(u+=g(255&r>>(-2*T&6)));return u}})},85721:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(2160),a=n(9668),s=n(68724),u=n(64694),c=n(60599),l=n(34051),d=n(93799).i2c,_=o("btoa"),f=a("".charAt),h=a("".charCodeAt),p=!!_&&!u((function(){return"aGk="!==_("hi")})),g=p&&!u((function(){_()})),v=p&&u((function(){return"bnVsbA=="!==_(null)})),m=p&&1!==_.length;r({global:!0,bind:!0,enumerable:!0,forced:!p||g||v||m},{btoa:function(e){if(l(arguments.length,1),p)return s(_,i,c(e));for(var t,n,r=c(e),a="",u=0,g=d;f(r,u)||(g="=",u%1);){if((n=h(r,u+=3/4))>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=f(g,63&(t=t<<8|n)>>8-u%1*8)}return a}})},87356:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(39891).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},25955:(e,t,n)=>{"use strict";var r=n(52150),i=n(47587),o=n(80026),a=n(18875),s=n(22385),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in i)i[c]&&u(r[c]&&r[c].prototype);u(o)},70309:(e,t,n)=>{"use strict";var r=n(52150),i=n(47587),o=n(80026),a=n(91211),s=n(22385),u=n(87495),c=n(72032)("iterator"),l=a.values,d=function(e,t){if(e){if(e[c]!==l)try{s(e,c,l)}catch(t){e[c]=l}if(u(e,t,!0),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var _ in i)d(r[_]&&r[_].prototype,_);d(o,"DOMTokenList")},44750:(e,t,n)=>{"use strict";var r=n(55532),i=n(2870),o=n(2160),a=n(64694),s=n(38536),u=n(17781),c=n(12131).f,l=n(52470),d=n(29393),_=n(84678),f=n(69887),h=n(89175),p=n(37285),g=n(33887),v=n(83687),m=n(98009),y=n(67804),b=n(99924),S=n(66555),E="DOMException",$="DATA_CLONE_ERR",T=o("Error"),A=o(E)||function(){try{(new(o("MessageChannel")||i("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===$&&25===e.code)return e.constructor}}(),C=A&&A.prototype,P=T.prototype,I=y.set,w=y.getterFor(E),M="stack"in new T(E),k=function(e){return _(v,e)&&v[e].m?v[e].c:0},O=function(){f(this,R);var e=arguments.length,t=g(e<1?void 0:arguments[0]),n=g(e<2?void 0:arguments[1],"Error"),r=k(n);if(I(this,{type:E,name:n,message:t,code:r}),b||(this.name=n,this.message=t,this.code=r),M){var i=new T(t);i.name=E,c(this,"stack",u(1,m(i.stack,1)))}},R=O.prototype=s(P),D=function(e){return{enumerable:!0,configurable:!0,get:e}},L=function(e){return D((function(){return w(this)[e]}))};b&&(d(R,"code",L("code")),d(R,"message",L("message")),d(R,"name",L("name"))),c(R,"constructor",u(1,O));var x=a((function(){return!(new A instanceof T)})),N=x||a((function(){return P.toString!==p||"2: 1"!==String(new A(1,2))})),U=x||a((function(){return 25!==new A(1,"DataCloneError").code})),B=x||25!==A[$]||25!==C[$],F=S?N||U||B:x;r({global:!0,constructor:!0,forced:F},{DOMException:F?O:A});var j=o(E),H=j.prototype;for(var V in N&&(S||A===j)&&l(H,"toString",p),U&&b&&A===j&&d(H,"code",D((function(){return k(h(this).name)}))),v)if(_(v,V)){var W=v[V],q=W.s,G=u(6,W.c);_(j,q)||c(j,q,G),_(H,q)||c(H,q,G)}},70823:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(2160),a=n(17781),s=n(12131).f,u=n(84678),c=n(69887),l=n(75086),d=n(33887),_=n(83687),f=n(98009),h=n(99924),p=n(66555),g="DOMException",v=o("Error"),m=o(g),y=function(){c(this,b);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),r=new m(t,n),i=new v(t);return i.name=g,s(r,"stack",a(1,f(i.stack,1))),l(r,this,y),r},b=y.prototype=m.prototype,S="stack"in new v(g),E="stack"in new m(1,2),$=m&&h&&Object.getOwnPropertyDescriptor(i,g),T=!(!$||$.writable&&$.configurable),A=S&&!T&&!E;r({global:!0,constructor:!0,forced:p||A},{DOMException:A?y:m});var C=o(g),P=C.prototype;if(P.constructor!==C)for(var I in p||s(P,"constructor",a(1,C)),_)if(u(_,I)){var w=_[I],M=w.s;u(C,M)||s(C,M,a(6,w.c))}},1593:(e,t,n)=>{"use strict";var r=n(2160),i="DOMException";n(87495)(r(i),i)},36539:(e,t,n)=>{"use strict";n(87356),n(17052)},6944:(e,t,n)=>{"use strict";var r=n(55532),i=n(42652),o=n(21052),a=n(34051);r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){a(arguments.length,1),i(o(e))}})},5150:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(29393),a=n(99924),s=TypeError,u=Object.defineProperty,c=i.self!==i;try{if(a){var l=Object.getOwnPropertyDescriptor(i,"self");!c&&l&&l.get&&l.enumerable||o(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");u(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:c},{self:i})}catch(e){}},17052:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(39891).set,a=n(17994),s=i.setImmediate?a(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==s},{setImmediate:s})},67466:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(17994)(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==o},{setInterval:o})},35677:(e,t,n)=>{"use strict";var r=n(55532),i=n(52150),o=n(17994)(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==o},{setTimeout:o})},65791:(e,t,n)=>{"use strict";var r,i=n(66555),o=n(55532),a=n(52150),s=n(2160),u=n(9668),c=n(64694),l=n(65736),d=n(30688),_=n(51414),f=n(5268),h=n(35309),p=n(27935),g=n(10914),v=n(89175),m=n(51566),y=n(84678),b=n(93182),S=n(22385),E=n(8344),$=n(34051),T=n(80976),A=n(80560),C=n(52161),P=n(55896),I=n(70563),w=n(89128),M=n(74133),k=a.Object,O=a.Array,R=a.Date,D=a.Error,L=a.TypeError,x=a.PerformanceMark,N=s("DOMException"),U=A.Map,B=A.has,F=A.get,j=A.set,H=C.Set,V=C.add,W=C.has,q=s("Object","keys"),G=u([].push),Y=u((!0).valueOf),K=u(1..valueOf),z=u("".valueOf),X=u(R.prototype.getTime),Q=l("structuredClone"),J="DataCloneError",Z="Transferring",ee=function(e){return!c((function(){var t=new a.Set([7]),n=e(t),r=e(k(7));return n===t||!n.has(7)||!h(r)||7!=+r}))&&e},te=function(e,t){return!c((function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)}))},ne=a.structuredClone,re=i||!te(ne,D)||!te(ne,N)||(r=ne,!!c((function(){var e=r(new a.AggregateError([1],Q,{cause:3}));return"AggregateError"!==e.name||1!==e.errors[0]||e.message!==Q||3!==e.cause}))),ie=!ne&&ee((function(e){return new x(Q,{detail:e}).detail})),oe=ee(ne)||ie,ae=function(e){throw new N("Uncloneable type: "+e,J)},se=function(e,t){throw new N((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",J)},ue=function(e,t){return oe||se(t),oe(e)},ce=function(e,t,n){if(B(t,e))return F(t,e);var r,i,o,s,u,c;if("SharedArrayBuffer"===(n||m(e)))r=oe?oe(e):e;else{var l=a.DataView;l||d(e.slice)||se("ArrayBuffer");try{if(d(e.slice)&&!e.resizable)r=e.slice(0);else{i=e.byteLength,o="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,r=new ArrayBuffer(i,o),s=new l(e),u=new l(r);for(c=0;c<i;c++)u.setUint8(c,s.getUint8(c))}}catch(e){throw new N("ArrayBuffer is detached",J)}}return j(t,e,r),r},le=function(e,t){if(p(e)&&ae("Symbol"),!h(e))return e;if(t){if(B(t,e))return F(t,e)}else t=new U;var n,r,i,o,u,c,l,_,f=m(e);switch(f){case"Array":i=O(E(e));break;case"Object":i={};break;case"Map":i=new U;break;case"Set":i=new H;break;case"RegExp":i=new RegExp(e.source,T(e));break;case"Error":switch(r=e.name){case"AggregateError":i=new(s(r))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":i=new(s(r));break;case"CompileError":case"LinkError":case"RuntimeError":i=new(s("WebAssembly",r));break;default:i=new D}break;case"DOMException":i=new N(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":i=ce(e,t,f);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":c="DataView"===f?e.byteLength:e.length,i=function(e,t,n,r,i){var o=a[t];return h(o)||se(t),new o(ce(e.buffer,i),n,r)}(e,f,e.byteOffset,c,t);break;case"DOMQuad":try{i=new DOMQuad(le(e.p1,t),le(e.p2,t),le(e.p3,t),le(e.p4,t))}catch(t){i=ue(e,f)}break;case"File":if(oe)try{i=oe(e),m(i)!==f&&(i=void 0)}catch(e){}if(!i)try{i=new File([e],e.name,e)}catch(e){}i||se(f);break;case"FileList":if(o=function(){var e;try{e=new a.DataTransfer}catch(t){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(u=0,c=E(e);u<c;u++)o.items.add(le(e[u],t));i=o.files}else i=ue(e,f);break;case"ImageData":try{i=new ImageData(le(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){i=ue(e,f)}break;default:if(oe)i=oe(e);else switch(f){case"BigInt":i=k(e.valueOf());break;case"Boolean":i=k(Y(e));break;case"Number":i=k(K(e));break;case"String":i=k(z(e));break;case"Date":i=new R(X(e));break;case"Blob":try{i=e.slice(0,e.size,e.type)}catch(e){se(f)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[f];try{i=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){se(f)}break;case"DOMRect":case"DOMRectReadOnly":n=a[f];try{i=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){se(f)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[f];try{i=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){se(f)}break;case"AudioData":case"VideoFrame":d(e.clone)||se(f);try{i=e.clone()}catch(e){ae(f)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":se(f);default:ae(f)}}switch(j(t,e,i),f){case"Array":case"Object":for(l=q(e),u=0,c=E(l);u<c;u++)_=l[u],b(i,_,le(e[_],t));break;case"Map":e.forEach((function(e,n){j(i,le(n,t),le(e,t))}));break;case"Set":e.forEach((function(e){V(i,le(e,t))}));break;case"Error":S(i,"message",le(e.message,t)),y(e,"cause")&&S(i,"cause",le(e.cause,t)),"AggregateError"===r?i.errors=le(e.errors,t):"SuppressedError"===r&&(i.error=le(e.error,t),i.suppressed=le(e.suppressed,t));case"DOMException":w&&S(i,"stack",le(e.stack,t))}return i};o({global:!0,enumerable:!0,sham:!M,forced:re},{structuredClone:function(e){var t,n,r=$(arguments.length,1)>1&&!f(arguments[1])?v(arguments[1]):void 0,i=r?r.transfer:void 0;void 0!==i&&(n=function(e,t){if(!h(e))throw new L("Transfer option cannot be converted to a sequence");var n=[];g(e,(function(e){G(n,v(e))}));for(var r,i,o,s,u,c=0,l=E(n),f=new H;c<l;){if(r=n[c++],"ArrayBuffer"===(i=m(r))?W(f,r):B(t,r))throw new N("Duplicate transferable",J);if("ArrayBuffer"!==i){if(M)s=ne(r,{transfer:[r]});else switch(i){case"ImageBitmap":o=a.OffscreenCanvas,_(o)||se(i,Z);try{(u=new o(r.width,r.height)).getContext("bitmaprenderer").transferFromImageBitmap(r),s=u.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":d(r.clone)&&d(r.close)||se(i,Z);try{s=r.clone(),r.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":se(i,Z)}if(void 0===s)throw new N("This object cannot be transferred: "+i,J);j(t,r,s)}else V(f,r)}return f}(i,t=new U));var o=le(e,t);return n&&function(e){P(e,(function(e){M?oe(e,{transfer:[e]}):d(e.transfer)?e.transfer():I?I(e):se("ArrayBuffer",Z)}))}(n),o}})},67547:(e,t,n)=>{"use strict";n(67466),n(35677)},33164:(e,t,n)=>{"use strict";n(91211);var r=n(55532),i=n(52150),o=n(95725),a=n(68724),s=n(9668),u=n(99924),c=n(77973),l=n(52470),d=n(29393),_=n(99700),f=n(87495),h=n(45848),p=n(67804),g=n(69887),v=n(30688),m=n(84678),y=n(14162),b=n(51566),S=n(89175),E=n(35309),$=n(60599),T=n(38536),A=n(17781),C=n(94406),P=n(88674),I=n(39374),w=n(34051),M=n(72032),k=n(3097),O=M("iterator"),R="URLSearchParams",D=R+"Iterator",L=p.set,x=p.getterFor(R),N=p.getterFor(D),U=o("fetch"),B=o("Request"),F=o("Headers"),j=B&&B.prototype,H=F&&F.prototype,V=i.RegExp,W=i.TypeError,q=i.decodeURIComponent,G=i.encodeURIComponent,Y=s("".charAt),K=s([].join),z=s([].push),X=s("".replace),Q=s([].shift),J=s([].splice),Z=s("".split),ee=s("".slice),te=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},ie=function(e){try{return q(e)}catch(t){return e}},oe=function(e){var t=X(e,te," "),n=4;try{return q(t)}catch(e){for(;n;)t=X(t,re(n--),ie);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return se[e]},ce=function(e){return X(G(e),ae,ue)},le=h((function(e,t){L(this,{type:D,target:x(e).entries,index:0,kind:t})}),R,(function(){var e=N(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,I(void 0,!0);var r=t[n];switch(e.kind){case"keys":return I(r.key,!1);case"values":return I(r.value,!1)}return I([r.key,r.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Y(e,0)?ee(e,1):e:$(e)))};de.prototype={type:R,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,s,u,c=this.entries,l=P(e);if(l)for(n=(t=C(e,l)).next;!(r=a(n,t)).done;){if(o=(i=C(S(r.value))).next,(s=a(o,i)).done||(u=a(o,i)).done||!a(o,i).done)throw new W("Expected sequence with length 2");z(c,{key:$(s.value),value:$(u.value)})}else for(var d in e)m(e,d)&&z(c,{key:d,value:$(e[d])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,i=Z(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(n=Z(t,"="),z(r,{key:oe(Q(n)),value:oe(K(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],z(n,ce(e.key)+"="+ce(e.value));return K(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var _e=function(){g(this,fe);var e=L(this,new de(arguments.length>0?arguments[0]:void 0));u||(this.size=e.entries.length)},fe=_e.prototype;if(_(fe,{append:function(e,t){var n=x(this);w(arguments.length,2),z(n.entries,{key:$(e),value:$(t)}),u||this.length++,n.updateURL()},delete:function(e){for(var t=x(this),n=w(arguments.length,1),r=t.entries,i=$(e),o=n<2?void 0:arguments[1],a=void 0===o?o:$(o),s=0;s<r.length;){var c=r[s];if(c.key!==i||void 0!==a&&c.value!==a)s++;else if(J(r,s,1),void 0!==a)break}u||(this.size=r.length),t.updateURL()},get:function(e){var t=x(this).entries;w(arguments.length,1);for(var n=$(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=x(this).entries;w(arguments.length,1);for(var n=$(e),r=[],i=0;i<t.length;i++)t[i].key===n&&z(r,t[i].value);return r},has:function(e){for(var t=x(this).entries,n=w(arguments.length,1),r=$(e),i=n<2?void 0:arguments[1],o=void 0===i?i:$(i),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var n=x(this);w(arguments.length,1);for(var r,i=n.entries,o=!1,a=$(e),s=$(t),c=0;c<i.length;c++)(r=i[c]).key===a&&(o?J(i,c--,1):(o=!0,r.value=s));o||z(i,{key:a,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=x(this);k(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=x(this).entries,r=y(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(fe,O,fe.entries,{name:"entries"}),l(fe,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),u&&d(fe,"size",{get:function(){return x(this).entries.length},configurable:!0,enumerable:!0}),f(_e,R),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:_e}),!c&&v(F)){var he=s(H.has),pe=s(H.set),ge=function(e){if(E(e)){var t,n=e.body;if(b(n)===R)return t=e.headers?new F(e.headers):new F,he(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),T(e,{body:A(0,$(n)),headers:A(0,t)})}return e};if(v(U)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?ge(arguments[1]):{})}}),v(B)){var ve=function(e){return g(this,j),new B(e,arguments.length>1?ge(arguments[1]):{})};j.constructor=ve,ve.prototype=j,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:_e,getState:x}},95850:(e,t,n)=>{"use strict";var r=n(52470),i=n(9668),o=n(60599),a=n(34051),s=URLSearchParams,u=s.prototype,c=i(u.append),l=i(u.delete),d=i(u.forEach),_=i([].push),f=new s("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&r(u,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return l(this,e);var r=[];d(this,(function(e,t){_(r,{key:t,value:e})})),a(t,1);for(var i,s=o(e),u=o(n),f=0,h=0,p=!1,g=r.length;f<g;)i=r[f++],p||i.key===s?(p=!0,l(this,i.key)):h++;for(;h<g;)(i=r[h++]).key===s&&i.value===u||c(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},73631:(e,t,n)=>{"use strict";var r=n(52470),i=n(9668),o=n(60599),a=n(34051),s=URLSearchParams,u=s.prototype,c=i(u.getAll),l=i(u.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(u,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return l(this,e);var r=c(this,e);a(t,1);for(var i=o(n),s=0;s<r.length;)if(r[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},84163:(e,t,n)=>{"use strict";n(33164)},71399:(e,t,n)=>{"use strict";var r=n(99924),i=n(9668),o=n(29393),a=URLSearchParams.prototype,s=i(a.forEach);r&&!("size"in a)&&o(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},44541:(e,t,n)=>{"use strict";var r=n(55532),i=n(2160),o=n(64694),a=n(34051),s=n(60599),u=n(77973),c=i("URL");r({target:"URL",stat:!0,forced:!(u&&o((function(){c.canParse()})))},{canParse:function(e){var t=a(arguments.length,1),n=s(e),r=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return!!new c(n,r)}catch(e){return!1}}})},58755:(e,t,n)=>{"use strict";n(99492);var r,i=n(55532),o=n(99924),a=n(77973),s=n(52150),u=n(14162),c=n(9668),l=n(52470),d=n(29393),_=n(69887),f=n(84678),h=n(52717),p=n(44583),g=n(87686),v=n(87048).codeAt,m=n(54797),y=n(60599),b=n(87495),S=n(34051),E=n(33164),$=n(67804),T=$.set,A=$.getterFor("URL"),C=E.URLSearchParams,P=E.getState,I=s.URL,w=s.TypeError,M=s.parseInt,k=Math.floor,O=Math.pow,R=c("".charAt),D=c(/./.exec),L=c([].join),x=c(1..toString),N=c([].pop),U=c([].push),B=c("".replace),F=c([].shift),j=c("".split),H=c("".slice),V=c("".toLowerCase),W=c([].unshift),q="Invalid scheme",G="Invalid host",Y="Invalid port",K=/[a-z]/i,z=/[\d+-.a-z]/i,X=/\d/,Q=/^0x/i,J=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,oe=/[\t\n\r]/g,ae=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)W(t,e%256),e=k(e/256);return L(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=x(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},ue=h({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=h({},ue,{"#":1,"?":1,"{":1,"}":1}),le=h({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var n=v(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},_e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2===e.length&&D(K,R(e,0))&&(":"===(n=R(e,1))||!t&&"|"===n)},he=function(e){var t;return e.length>1&&fe(H(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},pe=function(e){return"."===e||"%2e"===V(e)},ge={},ve={},me={},ye={},be={},Se={},Ee={},$e={},Te={},Ae={},Ce={},Pe={},Ie={},we={},Me={},ke={},Oe={},Re={},De={},Le={},xe={},Ne=function(e,t,n){var r,i,o,a=y(e);if(t){if(i=this.parse(a))throw new w(i);this.searchParams=null}else{if(void 0!==n&&(r=new Ne(n,!0)),i=this.parse(a,null,r))throw new w(i);(o=P(new C)).bindURL(this),this.searchParams=o}};Ne.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,c=this,l=t||ge,d=0,_="",h=!1,v=!1,m=!1;for(e=y(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=B(e,re,""),e=B(e,ie,"$1")),e=B(e,oe,""),i=p(e);d<=i.length;){switch(o=i[d],l){case ge:if(!o||!D(K,o)){if(t)return q;l=me;continue}_+=V(o),l=ve;break;case ve:if(o&&(D(z,o)||"+"===o||"-"===o||"."===o))_+=V(o);else{if(":"!==o){if(t)return q;_="",l=me,d=0;continue}if(t&&(c.isSpecial()!==f(_e,_)||"file"===_&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=_,t)return void(c.isSpecial()&&_e[c.scheme]===c.port&&(c.port=null));_="","file"===c.scheme?l=we:c.isSpecial()&&n&&n.scheme===c.scheme?l=ye:c.isSpecial()?l=$e:"/"===i[d+1]?(l=be,d++):(c.cannotBeABaseURL=!0,U(c.path,""),l=De)}break;case me:if(!n||n.cannotBeABaseURL&&"#"!==o)return q;if(n.cannotBeABaseURL&&"#"===o){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=xe;break}l="file"===n.scheme?we:Se;continue;case ye:if("/"!==o||"/"!==i[d+1]){l=Se;continue}l=Te,d++;break;case be:if("/"===o){l=Ae;break}l=Re;continue;case Se:if(c.scheme=n.scheme,o===r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"===o||"\\"===o&&c.isSpecial())l=Ee;else if("?"===o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",l=Le;else{if("#"!==o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,l=Re;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",l=xe}break;case Ee:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Re;continue}l=Ae}else l=Te;break;case $e:if(l=Te,"/"!==o||"/"!==R(_,d+1))continue;d++;break;case Te:if("/"!==o&&"\\"!==o){l=Ae;continue}break;case Ae:if("@"===o){h&&(_="%40"+_),h=!0,a=p(_);for(var b=0;b<a.length;b++){var S=a[b];if(":"!==S||m){var E=de(S,le);m?c.password+=E:c.username+=E}else m=!0}_=""}else if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(h&&""===_)return"Invalid authority";d-=p(_).length+1,_="",l=Ce}else _+=o;break;case Ce:case Pe:if(t&&"file"===c.scheme){l=ke;continue}if(":"!==o||v){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(c.isSpecial()&&""===_)return G;if(t&&""===_&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(_))return s;if(_="",l=Oe,t)return;continue}"["===o?v=!0:"]"===o&&(v=!1),_+=o}else{if(""===_)return G;if(s=c.parseHost(_))return s;if(_="",l=Ie,t===Pe)return}break;case Ie:if(!D(X,o)){if(o===r||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()||t){if(""!==_){var $=M(_,10);if($>65535)return Y;c.port=c.isSpecial()&&$===_e[c.scheme]?null:$,_=""}if(t)return;l=Oe;continue}return Y}_+=o;break;case we:if(c.scheme="file","/"===o||"\\"===o)l=Me;else{if(!n||"file"!==n.scheme){l=Re;continue}switch(o){case r:c.host=n.host,c.path=g(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=g(n.path),c.query="",l=Le;break;case"#":c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",l=xe;break;default:he(L(g(i,d),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),l=Re;continue}}break;case Me:if("/"===o||"\\"===o){l=ke;break}n&&"file"===n.scheme&&!he(L(g(i,d),""))&&(fe(n.path[0],!0)?U(c.path,n.path[0]):c.host=n.host),l=Re;continue;case ke:if(o===r||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&fe(_))l=Re;else if(""===_){if(c.host="",t)return;l=Oe}else{if(s=c.parseHost(_))return s;if("localhost"===c.host&&(c.host=""),t)return;_="",l=Oe}continue}_+=o;break;case Oe:if(c.isSpecial()){if(l=Re,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==r&&(l=Re,"/"!==o))continue}else c.fragment="",l=xe;else c.query="",l=Le;break;case Re:if(o===r||"/"===o||"\\"===o&&c.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(u=V(u=_))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||U(c.path,"")):pe(_)?"/"===o||"\\"===o&&c.isSpecial()||U(c.path,""):("file"===c.scheme&&!c.path.length&&fe(_)&&(c.host&&(c.host=""),_=R(_,0)+":"),U(c.path,_)),_="","file"===c.scheme&&(o===r||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)F(c.path);"?"===o?(c.query="",l=Le):"#"===o&&(c.fragment="",l=xe)}else _+=de(o,ce);break;case De:"?"===o?(c.query="",l=Le):"#"===o?(c.fragment="",l=xe):o!==r&&(c.path[0]+=de(o,se));break;case Le:t||"#"!==o?o!==r&&("'"===o&&c.isSpecial()?c.query+="%27":c.query+="#"===o?"%23":de(o,se)):(c.fragment="",l=xe);break;case xe:o!==r&&(c.fragment+=de(o,ue))}d++}},parseHost:function(e){var t,n,r;if("["===R(e,0)){if("]"!==R(e,e.length-1))return G;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,d=0,_=function(){return R(e,d)};if(":"===_()){if(":"!==R(e,1))return;d+=2,l=++c}for(;_();){if(8===c)return;if(":"!==_()){for(t=n=0;n<4&&D(ee,_());)t=16*t+M(_(),16),d++,n++;if("."===_()){if(0===n)return;if(d-=n,c>6)return;for(r=0;_();){if(i=null,r>0){if(!("."===_()&&r<4))return;d++}if(!D(X,_()))return;for(;D(X,_());){if(o=M(_(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}u[c]=256*u[c]+i,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===_()){if(d++,!_())return}else if(_())return;u[c++]=t}else{if(null!==l)return;d++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!==c)return;return u}(H(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=m(e),D(te,e))return G;if(t=function(e){var t,n,r,i,o,a,s,u=j(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(i=u[r]))return e;if(o=10,i.length>1&&"0"===R(i,0)&&(o=D(Q,i)?16:8,i=H(i,8===o?1:2)),""===i)a=0;else{if(!D(10===o?Z:8===o?J:ee,i))return e;a=M(i,o)}U(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=O(256,5-t))return null}else if(a>255)return null;for(s=N(n),r=0;r<n.length;r++)s+=n[r]*O(256,3-r);return s}(e),null===t)return G;this.host=t}else{if(D(ne,e))return G;for(t="",n=p(e),r=0;r<n.length;r++)t+=de(n[r],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return f(_e,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ae(i),null!==o&&(c+=":"+o)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new w(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ue(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=p(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=de(t[n],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=p(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=de(t[n],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ce)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=y(e))?this.port=null:this.parse(e,Ie))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Oe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=y(e))?this.query=null:("?"===R(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=y(e))?("#"===R(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,xe)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=_(this,Be),n=S(arguments.length,1)>1?arguments[1]:void 0,r=T(t,new Ne(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=Ue.prototype,Fe=function(e,t){return{get:function(){return A(this)[e]()},set:t&&function(e){return A(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(Be,"href",Fe("serialize","setHref")),d(Be,"origin",Fe("getOrigin")),d(Be,"protocol",Fe("getProtocol","setProtocol")),d(Be,"username",Fe("getUsername","setUsername")),d(Be,"password",Fe("getPassword","setPassword")),d(Be,"host",Fe("getHost","setHost")),d(Be,"hostname",Fe("getHostname","setHostname")),d(Be,"port",Fe("getPort","setPort")),d(Be,"pathname",Fe("getPathname","setPathname")),d(Be,"search",Fe("getSearch","setSearch")),d(Be,"searchParams",Fe("getSearchParams")),d(Be,"hash",Fe("getHash","setHash"))),l(Be,"toJSON",(function(){return A(this).serialize()}),{enumerable:!0}),l(Be,"toString",(function(){return A(this).serialize()}),{enumerable:!0}),I){var je=I.createObjectURL,He=I.revokeObjectURL;je&&l(Ue,"createObjectURL",u(je,I)),He&&l(Ue,"revokeObjectURL",u(He,I))}b(Ue,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Ue})},31629:(e,t,n)=>{"use strict";n(58755)},15097:(e,t,n)=>{"use strict";var r=n(55532),i=n(68724);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},14629:(e,t,n)=>{"use strict";n(66479),n(90399),n(88967),n(3478),n(50795),n(95696),n(84487),n(62056),n(48845),n(8392),n(40149),n(73752),n(35427),n(14090),n(29020),n(80978),n(11183),n(4730),n(18912),n(5600),n(69460),n(54174),n(9320),n(36867),n(93801),n(45483),n(12008),n(96565),n(9180),n(68998),n(71596),n(22761),n(65845),n(60452),n(78529),n(74594),n(91211),n(37862),n(16120),n(91560),n(8463),n(44936),n(5127),n(18258),n(4555),n(31002),n(96200),n(17206),n(6803),n(25731),n(64e3),n(15398),n(72805),n(66860),n(71979),n(62464),n(70985),n(51855),n(76913),n(81991),n(25154),n(13642),n(12923),n(79704),n(98370),n(89790),n(28233),n(16571),n(40922),n(3107),n(25309),n(51483),n(11063),n(50864),n(44718),n(69079),n(44215),n(39369),n(53289),n(12595),n(84321),n(22635),n(19331),n(79882),n(9e3),n(53599),n(11231),n(93360),n(14867),n(49741),n(88333),n(61663),n(27990),n(67347),n(54078),n(93647),n(76464),n(67644),n(29163),n(86841),n(12213),n(78897),n(92273),n(93342),n(71251),n(33918),n(99250),n(64976),n(92712),n(92374),n(25208),n(53111),n(71589),n(95536),n(24141),n(2778),n(24324),n(1697),n(18916),n(43201),n(28088),n(10754),n(96357),n(20110),n(29461),n(36889),n(17418),n(15297),n(69867),n(16572),n(95692),n(52123),n(67826),n(44123),n(2525),n(17385),n(38969),n(68164),n(65978),n(4256),n(40052),n(9565),n(25079),n(70748),n(992),n(21716),n(16111),n(361),n(40185),n(43384),n(69811),n(35124),n(64447),n(21486),n(36092),n(31491),n(31555),n(73273),n(80417),n(40812),n(87246),n(84171),n(21295),n(69632),n(60647),n(22979),n(65150),n(51919),n(9564),n(68043),n(23395),n(25031),n(99492),n(17125),n(26911),n(56428),n(69101),n(40792),n(10867),n(21531),n(64597),n(96391),n(67904),n(1205),n(65461),n(2246),n(27635),n(36156),n(97751),n(22361),n(92396),n(93669),n(74631),n(73543),n(28397),n(36308),n(84925),n(68995),n(17065),n(37375),n(47363),n(35763),n(33552),n(86787),n(38031),n(29905),n(77581),n(55984),n(88319),n(74701),n(29166),n(97380),n(41990),n(41224),n(90527),n(49834),n(58151),n(145),n(71697),n(9394),n(91636),n(56926),n(24319),n(26848),n(29226),n(34706),n(84385),n(99941),n(2170),n(3364),n(28609),n(16727),n(13438),n(37028),n(25320),n(53616),n(79532),n(42423),n(35630),n(30896),n(6822),n(24139),n(95295),n(62401),n(88077),n(53653),n(85721),n(25955),n(70309),n(44750),n(70823),n(1593),n(36539),n(6944),n(5150),n(65791),n(67547),n(31629),n(44541),n(15097),n(84163),n(95850),n(73631),n(71399),n(58588)}},__webpack_module_cache__={};function __nested_webpack_require_3829220__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_3829220__),n.loaded=!0,n.exports}__nested_webpack_require_3829220__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __nested_webpack_require_3829220__.d(t,{a:t}),t},__nested_webpack_require_3829220__.d=(e,t)=>{for(var n in t)__nested_webpack_require_3829220__.o(t,n)&&!__nested_webpack_require_3829220__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_3829220__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_3829220__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__nested_webpack_require_3829220__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_3829220__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__=__nested_webpack_require_3829220__(91920);return __webpack_exports__})()));

/***/ })

}]);