MADISON, S.D. – When Josh Anderson took over the Dakota State Trojan football team two decades ago they were among the worst programs in all of NAIA.
Things wouldn’t improve much over his first five years as he won just five games.
By his own admission that’s more than the number of coaches he had on staff (four).
Slowly but surely Anderson built a winning culture in Madison around primarily South Dakota prep talent.
And as that happened the facilities around him, which largely hadn’t been improved upon since the 1960s, began to see dramatic upgrades.
Complete with a new weight room and locker room, Brian Kern Family Stadium opened in 2023 and gave DSU one of the finest facilities in the NAIA.
A new indoor facility is currently under construction next to the stadium and will be done in time for the 2027 season.
Success has also followed with the Trojans going 8-2 last season in their first year in the Frontier Conference. Dakota State opened this season with a national ranked and is 1-1 with their lone loss a tightly contest affair at NCAA Division Two Black Hills State.
With facilities better than many D2 programs it has some wondering if the Trojans might be eyeing a move up.
Zach Borg takes a look at that question and more as he goes inside the rising Trojan football program in the story you can watch below.
`),d=e.get(“width”),h=e.get(“height”),p=(0,n.n)(c);return(0,i.iF)(p,{width:d.toString().indexOf(“%”)>0?d:`${d}px`,height:h.toString().indexOf(“%”)>0?h:`${h}px`}),p}},6622(e,t,r){“use strict”;var n=r(6147),i=r(5291),s=r(7316);let a=[],l=-1,o=()=>{(0,n.u)(l),l=(0,n.x)(()=>{a.forEach(e=>{e.view.updateBounds();let t=e.view.model.get(“containerWidth”);e.resized=e.width!==t,e.width=t}),a.forEach(e=>{e.contractElement.scrollLeft=2*e.width}),a.forEach(e=>{(0,s.iF)(e.expandChild,{width:e.width+1}),e.resized&&e.view.model.get(“visibility”)&&e.view.updateStyles()}),a.forEach(e=>{e.expandElement.scrollLeft=e.width+1}),a.forEach(e=>{e.resized&&e.view.checkResized()})})};class u{destroy(){if(this.view){let e=a.indexOf(this);-1!==e&&a.splice(e,1),this.element.removeEventListener(“scroll”,o,!0),this.element.removeChild(this.hiddenElement),this.view=this.model=null}}constructor(e,t,r){const n={display:”block”,position:”absolute”,top:0,left:0},l={width:”100%”,height:”100%”},u=(0,i.n)(”),c=u.firstChild,d=c.firstChild,h=c.nextSibling;(0,s.iF)([c,h],Object.assign({overflow:”auto”},n,l)),(0,s.iF)(u,Object.assign({},n,l)),this.expandElement=c,this.expandChild=d,this.contractElement=h,this.hiddenElement=u,this.element=e,this.view=t,this.model=r,this.width=0,this.resized=!1,e.firstChild?e.insertBefore(u,e.firstChild):e.appendChild(u),e.addEventListener(“scroll”,o,!0),a.push(this),o()}}r.d(t,{A:()=>u})},8089(e,t,r){“use strict”;let n;var i=r(2329);let s=[],a=[],l=[],o=[],u={},c=!1,d=!1,h=!1,p=(e,t)=>{for(let r=t.length;r–;){let n=t[r];if(e.target===n.getContainer()){n.setIntersection(e);break}}},f=()=>{s.forEach(e=>{e.model.set(“activeTab”,(0,i.A)())})},g=(e,t)=>{let r=t.indexOf(e);-1!==r&&t.splice(r,1)},m=e=>{l.forEach(t=>{t(e)})},y=e=>{for(let t of o)t(e)};r.d(t,{},{A:{add(e){s.push(e),h||(h=!0,document.addEventListener(“visibilitychange”,f),document.addEventListener(“webkitvisibilitychange”,f))},remove(e){g(e,s),h&&!(s.length>0)&&(h=!1,document.removeEventListener(“visibilitychange”,f),document.removeEventListener(“webkitvisibilitychange”,f))},addScrollHandler(e){c||(c=!0,window.addEventListener(“scroll”,m)),l.push(e)},removeScrollHandler(e){g(e,l),c&&0===l.length&&(c=!1,window.removeEventListener(“scroll”,m))},addResizeHandler(e){d||(d=!0,window.addEventListener(“resize”,y),window.addEventListener(“orientationchange”,y)),o.push(e)},removeResizeHandler(e){g(e,o),d&&0===o.length&&(d=!1,window.removeEventListener(“resize”,y),window.removeEventListener(“orientationchange”,y))},addWidget(e){a.push(e)},removeWidget(e){g(e,a)},size:()=>s.length,observe(e){let t;t=window.IntersectionObserver,n||(n=new t(e=>{if(null==e?void 0:e.length)for(let t=e.length;t–;){let r=e[t];p(r,s),p(r,a)}},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})),u[e.id]||(u[e.id]=!0,n.observe(e))},unobserve(e){n&&u[e.id]&&(delete u[e.id],n.unobserve(e))}}})},7230(e,t,r){“use strict”;let n=”__JWP____ePBPK____”,i={};window[n]?i=window[n]:window[n]=i;let s={},a={},l=(e,t)=>{let r=i[t];return r||(i[t]=new Promise((r,n)=>{let i=new e.key(t);if(“unlimited”===i.edition())return n();let s=i.token();e.ajax([“https://”,”entitlements.jwplayer.com”,”/”,s,”.json”].join(“”),function(e){let t=null==e?void 0:e.response;t?r(t):n()},function(){n()},{timeout:1e4,responseType:”json”})}))};r.d(t,{},{fY:(e,t)=>{let r=a[t];return r||(a[t]=l(e,t).catch(()=>{throw Error(“Override Ad Config Disallowed Due to Entitlement Request Error”)}).then(e=>{if(!0!==e.overrideAdConfig)throw Error(“Override Ad Config Disallowed Due to Missing Entitlement”);return{message:”Override Ad Config Allowed”}}))},uT:(e,t)=>{let r=s[t];return r||(s[t]=l(e,t).catch(()=>{throw Error(“Identity Script Disallowed Due to Entitlement Request Error”)}).then(e=>{if(!0!==e.canUseIdentityScript)throw Error(“Identity Script Disallowed Due to Missing Entitlement”);return{message:”Identity Script Allowed”}}))}})},5595(e,t,r){“use strict”;r.d(t,{default:()=>J}),r(3930);var n=r(5483),i=r(9608),s=r(9063),a=r(8888);let l={availableProviders:s.M,registerProvider:a.A};var o=r(442);l.registerPlugin=function(e,t,r){“jwpsrv”!==e&&(0,o.F3)(e,t,r)};var u=r(4403),c=r(9220),d=r(2460),h=r(9613),p=r(1860),f=r(8317),g=r(5001),m=r(1893),y=r(9621);let v=[[“vastxml”,”adtag”,”schedules”]],w={googima:v,vast:v,cnx:v,jwx:v},b=(e,t)=>{let r=e.getPlugin(t),n=Object.keys(w);if(-1===n.indexOf(t))throw Error(`destroyDynamicPlugin must be called with plugins with one of the following plugins: ${n.toString()}`);if(!r)return;if(r.resize&&e.off(“resize”,r.resizeHandler),delete e.plugins[t],r.destroy)try{r.destroy()}catch(t){e.utils.logger.debug(“jwplayer/plugins/dynamic-plugins: “,t)}let i=r.div;(null==i?void 0:i.parentElement)&&i.parentElement.removeChild(i),e.trigger(“pluginDestroyed”,{type:”pluginDestroyed”,name:t})};var A=r(986),k=r(9555),C=r(5637);let S=0,j=function(e,t){let r=new h.Ay(t);return r.on(“ready”,t=>{e._qoe.tick(“ready”),t.setupTime=e._qoe.between(“setup”,”ready”)}),r.on(“all”,(t,r)=>{e.trigger(t,r)}),r},E=function(e,t){let r=e.plugins,n=Object.keys(r).map(e=>{let t=r[e];return delete r[e],t}),i=e.utils.logger.child(“jwplayer/api/api”);t.get(“setupConfig”)&&e.trigger(“remove”),e.off(),t.playerDestroy(),n.forEach(e=>{if(e.reset)try{e.reset()}catch(e){i.debug(e)}else if(e.destroy)try{e.destroy()}catch(e){i.debug(e)}}),t.getContainer().removeAttribute(“data-jwplayer-id”)},O=function(e){for(let t=i.A.length;t–;)if(i.A[t].uniqueId===e.uniqueId){i.A.splice(t,1);break}};function P(e){let t=++S,r=e.id||`player-${t}`,n=new f.A,i={},s=new C.A(`JWPlayer[${r}]`),a=j(this,e);n.tick(“init”),e.setAttribute(“data-jwplayer-id”,r),Object.defineProperties(this,{id:{enumerable:!0,get:()=>r},uniqueId:{enumerable:!0,get:()=>t},plugins:{enumerable:!0,get:()=>i},_qoe:{enumerable:!0,get:()=>n},version:{enumerable:!0,get:()=>u.r},Events:{enumerable:!0,get:()=>g.Ay},utils:{enumerable:!0,get:()=>Object.assign({},A.A,{logger:s})},_:{enumerable:!0,get:()=>k.Ay}}),Object.assign(this,{_events:{},setup(t){return n.clear(“ready”),n.tick(“setup”),(null==t?void 0:t.debug)!==void 0&&(c.A.debug=t.debug),a&&E(this,a),(a=j(this,e)).init(t,this),this.on(t.events,null,this)},remove(){return this.getPip()&&this.setPip(!1),O(this),a&&E(this,a),Object.keys(i).forEach(e=>{delete i[e]}),this},qoe(){let e=a.getItemQoe();return{setupTime:this._qoe.between(“setup”,”ready”),firstFrame:e.getFirstFrame?e.getFirstFrame():null,player:this._qoe.dump(),item:e.dump()}},addCues(e){return Array.isArray(e)&&a.addCues(e),this},getAudioTracks:()=>a.getAudioTracks(),getBuffer:()=>a.get(“buffer”),getCaptions:()=>a.get(“captions”),getCaptionsList:()=>a.getCaptionsList(),getConfig:()=>a.getConfig(),getContainer:()=>a.getContainer(),getControls:()=>a.get(“controls”),getCues:()=>a.getCues(),getCurrentAudioTrack:()=>a.getCurrentAudioTrack(),getCurrentCaptions:()=>a.getCurrentCaptions(),getCurrentQuality:()=>a.getCurrentQuality(),getCurrentTime:()=>a.get(“currentTime”),getAbsolutePosition:()=>a.getAbsolutePosition(),getDuration:()=>a.get(“duration”),getEnvironment:()=>d,getFullscreen:()=>a.get(“fullscreen”),getHeight:()=>a.getHeight(),getItemMeta:()=>a.get(“itemMeta”)||{},getMute:()=>a.getMute(),getContainerPercentViewable:()=>a.get(“intersectionRatio”),getPercentViewable:()=>a.get(“visibility”),getPip:()=>a.get(“pip”),getPlaybackRate:()=>a.get(“playbackRate”),getPlaylist:()=>a.get(“playlist”),getPlaylistIndex:()=>a.get(“item”),getPlaylistItem(e){if(!A.A.exists(e))return a.get(“playlistItem”);let t=this.getPlaylist();return t?t[e]:null},getPosition:()=>a.get(“position”),getProvider:()=>a.getProvider(),getQualityLevels:()=>a.getQualityLevels(),getSafeRegion:(e=!0)=>a.getSafeRegion(e),getState:()=>a.getState(),getStretching:()=>a.get(“stretching”),getContainerViewable:()=>a.get(“containerViewable”),getViewable:()=>a.get(“viewable”),getVisualQuality:()=>a.getVisualQuality(),getVolume:()=>a.get(“volume”),getWidth:()=>a.getWidth(),isReady:()=>a.isReady(),setCaptions(e){return a.setCaptions(e),this},setConfig(e){return a.setConfig(e),this},getConsent:()=>a.getConsent(),setConsent(e){return a.setConsent(e),this},setControls(e){return a.setControls(e),this},setCurrentAudioTrack(e){a.setCurrentAudioTrack(e)},setCurrentCaptions(e){a.setCurrentCaptions(e)},setCurrentQuality(e){a.setCurrentQuality(e)},setFullscreen(e){return a.setFullscreen(e),this},setAllowFullscreen(e){return a.setAllowFullscreen(e),this},setMute(e){return a.setMute(e),this},setPip(e){return a.setPip(e),this},setPlaybackRate(e){return a.setPlaybackRate(e),this},setPlaylistItem(e,t){return a.setPlaylistItem(e,t),this},setCues(e){return Array.isArray(e)&&a.setCues(e),this},setVolume(e){return a.setVolume(e),this},load(e,t){return a.load(e,t),this},preload(e){return a.preload(e),this},play(e){return a.play(e),this},pause(e){return a.pause(e),this},playToggle(e){switch(this.getState()){case p.v8:case p.zM:return this.pause(e);default:return this.play(e)}},seek(e,t){return a.seek(e,t),this},getFrameRate:()=>a.getFrameRate(),playlistItem(e,t){return a.playlistItem(e,t),this},playlistNext(e){return a.playlistNext(e),this},playlistPrev(e){return a.playlistPrev(e),this},next(e){return a.next(e),this},requestPip(e){return a.requestPip(e),this},castToggle(){return a.castToggle(),this},stopCasting(){return a.stopCasting(),this},requestCast(e){return a.requestCast(e),this},createInstream:()=>a.createInstream(),stop(){return a.stop(),this},resize(e,t){return a.resize(e,t),this},addButton(e,t,r,n,i){return a.addButton(e,t,r,n,i),this},removeButton(e){return a.removeButton(e),this},getMediaElement:()=>a.getMediaElement(),attachMedia(){return a.attachMedia(),this},detachMedia(){return a.detachMedia(),this},isBeforeComplete:()=>a.isBeforeComplete(),isBeforePlay:()=>a.isBeforePlay(),setPlaylistItemCallback(e,t){a.setItemCallback(e,t)},removePlaylistItemCallback(){a.setItemCallback(null)},getPlaylistItemPromise:e=>a.getItemPromise(e),getFloating:()=>!!a.get(“isFloating”),setFloating(e){a.setConfig({floating:{mode:e?”always”:”never”}})},getChapters:()=>a.getChapters(),getCurrentChapter:()=>a.getCurrentChapter(),setChapter:e=>a.setChapter(e),setupDynamicPlugin(e,t){return e?((e,t,r,n)=>{var i;let s,a,l,u=(0,y.dB)(t),c=Object.keys(w),d=((e,t)=>{if(t[e])return t[e];let r=(0,y.Gv)(e);if(t[r])return t[r];let n=(0,y.dB)(e);return t[n]?t[n]:{}})(t,n);if(-1===c.indexOf(u))throw Error(`setupDynamicPlugin must be called with plugins with one of the following plugins: ${c.toString()}`);b(e,u);let h=(i=w[u],s=(0,m._)({},d),(l=Object.keys(a=(0,m._)({},r)).filter(e=>null===e)).forEach(e=>delete s[e]),l.forEach(e=>delete a[e]),i.forEach(e=>{e.some(e=>a[e])&&e.forEach(e=>delete s[e])}),(0,m._)({},s,a));return(0,o.fL)(t,h,e)})(this,e,t,a.get(“plugins”)):Promise.resolve()},destroyDynamicPlugin(e){if(e)return b(this,e)}})}Object.assign(P.prototype,{on(e,t,r){return g.on.call(this,e,t,r)},once(e,t,r){return g.Oo.call(this,e,t,r)},off(e,t,r){return g.AU.call(this,e,t,r)},trigger(e,t){return((t=k.Ay.isObject(t)?Object.assign({},t):{}).type=e,c.A.debug)?g.hZ.call(this,e,t):g.CD.call(this,e,t)},getPlugin(e){return this.plugins[e]},addPlugin(e,t){this.plugins[e]=t,”function”==typeof t.addToPlayer&&(this.isReady()?t.addToPlayer.call(this,!0):this.on(“ready”,function(){t.addToPlayer.call(this,!1)})),t.resize&&this.on(“resize”,t.resizeHandler)},registerPlugin(e,t,r){(0,o.F3)(e,t,r)},getAdBlock:()=>!1,playAd(e){},pauseAd(e){},skipAd(){},loadAdTag(e){},loadAdXml(e){},loadAdBreak(e){},adBreakForecast:e=>Promise.resolve(),setAdMacros(e){},getAdMacros(){},updateQueryJSAdTargeting(e){},getQueryJSAdTargeting(){}}),r.p=(0,n.loadFrom)();let _=e=>{for(let t=0;t
{Object.defineProperties(e,{api:{get:()=>l,set(){}},version:{get:()=>u.r,set(){}},debug:{get:()=>c.A.debug,set(e){c.A.debug=!!e}}})};T(F);var x=r(2885),D=r(7069),I=r(1535),M=r(9616),L=r(2432),$=r(3078);let R=k.Ay.extend,N={};N._=k.Ay,N.utils=Object.assign(A.A,{key:D.A,extend:R,scriptloader:I.Ay,rssparser:{parse:L.A},tea:M.Y,UI:x.Ay}),N.utils.css.style=N.utils.style,N.vid=$.A;var B=r(2078);let U=A.A.logger.child(“api/api-public”),z=/^(?:on(?:ce)?|off|trigger)$/,V=e=>{U.warn(`The API method jwplayer().${e}() is disabled in the free edition of JW Player.`)},q=(e,t)=>{if(t.length){let r=e.getPlugin(“jwpsrv”);(null==r?void 0:r.trackExternalAPIUsage)&&(t.forEach(e=>{((e,t,r)=>{try{let n=((e,t)=>{switch(e){case”setup”:return!!t;case”getSafeRegion”:case”pauseAd”:case”setControls”:case”setFullscreen”:case”setMute”:return!!t===t?t:void 0;case”setPlaylistItem”:case”getPlaylistItem”:return(0|t)===t?t:void 0;case”setPlaybackRate”:case”setVolume”:return Number(t);case”setConfig”:return Object.keys(Object(t)).join(“,”);case”on”:case”once”:case”off”:case”trigger”:case”getPlugin”:case”addPlugin”:case”registerPlugin”:return`${t}`}return null})(t,r);e.trackExternalAPIUsage(t,n)}catch(e){c.A.debug&&U.warn(e)}})(r,e[0],e[1])}),t.length=0)}},H=(e,t,r,n,i)=>function(…s){var a;let l,o=s[0],u=t._trackCallQueue||(t._trackCallQueue=[]),c=z.test(r),d=c&&s[1]&&s[1]._callback;if(“free”===(i.edition||(a=”edition”,l=t.getConfig()[a],i[a]=l,l))){if([“addButton”,”addCues”,”detachMedia”,”load”,”next”,”pause”,”play”,”playlistItem”,”playlistNext”,”playlistPrev”,”playToggle”,”resize”,”seek”,”setCaptions”,”setConfig”,”setControls”,”setCues”,”setFullscreen”,”setMute”,”setPlaybackRate”,”setPlaylistItem”,”setVolume”,”stop”].indexOf(r)>-1)return V(r),e;if([“createInstream”,”setCurrentAudioTrack”,”setCurrentCaptions”,”setCurrentQuality”].indexOf(r)>-1)return V(r),null}if(d||u.push([r,o]),c)return q(t,u),t[r].apply(e,s);let h={reason:”play”!==r&&”seek”!==r&&”pause”!==r&&(0,B.c)()?”interaction”:”external”};switch(r){case”play”:case”pause”:case”playToggle”:case”playlistNext”:case”playlistPrev”:case”next”:s[0]=h;break;case”seek”:case”playlistItem”:s[1]=h}let p=t[r](…s);return(“remove”===r?t.off.call(e):”setup”===r&&(t.off.call(e),t.off(o.events,null,t),t.on.call(e,o.events,null,e),t.on(“all”,(r,s)=>{if(“ready”===r){let r=Object.keys(t).filter(e=>”_”!==e[0]&&-1===n.indexOf(e)&&”function”==typeof t[e]),s=n.concat(r);r.forEach(r=>{e[r]=H(e,t,r,s,i)})}t.trigger.call(e,r,s),q(t,u)})),q(t,u),p===t)?e:p},Q=[“getMediaElement”],W=(e,t,r,n)=>{let i=Object.keys(r);i.forEach(s=>{let a=r[s];-1===Q.indexOf(s)&&(“function”==typeof a&&”Events”!==s?e[s]=H(e,t,s,i,n):”_events”===s?e._events={}:Object.defineProperty(e,s,{enumerable:!0,get:()=>r[s]}))})},G=function(e){let t={};W(this,e,e,t),W(this,e,P.prototype,t)},K=window;Object.assign(F,N);let Y=function(e){let t=F(e);return t.uniqueId?t._publicApi||(t._publicApi=new G(t)):t};Object.assign(Y,N),T(Y),”function”==typeof K.define&&K.define.amd&&K.define([],function(){return Y});let X=Y;K.jwplayer&&(X=K.jwplayer);let J=X},442(e,t,r){“use strict”;r.d(t,{Ay:()=>d,F3:()=>u,fL:()=>c});var n=r(8253),i=r(9621);let s=function(){this.load=function(e,t,r,s){return r&&”object”==typeof r?Promise.all(Object.keys(r).filter(e=>e).map(a=>{let l=r[a];return t.setupPlugin(a).then(t=>{if(!s.attributes._destroyed)return(0,i.ot)(t,l,e)}).catch(e=>(t.removePlugin(a),e.code)?e:new n.Mk(null,(0,i.rE)(a),e))})):Promise.resolve()}};var a=r(1051);let l={},o=new class{setupPlugin(e){let t=this.getPlugin(e);return t?t.promise:this.addPlugin(e).load()}addPlugin(e){let t=(0,i.dB)(e),r=l[t];return r||(r=new a.A(e),l[t]=r),r}getPlugin(e){return l[(0,i.dB)(e)]}removePlugin(e){delete l[(0,i.dB)(e)]}getPlugins(){return l}},u=function(e,t,r){let n=o.addPlugin(e);n.js||n.registerPlugin(e,t,r)},c=async(e,t,r)=>{let n=(0,i.dB)(e),s=o.getPlugin(n);if(s)return r.utils.logger.warn(`’jwplayer/plugins/model JW Plugin “${n}” already loaded from “${s.url}”. Ignoring “${e}.”`),(0,i.ot)(s,t,r);let a=e;return n===e&&(a=(0,i.Gv)(e)||e),o.setupPlugin(a).then(e=>(0,i.ot)(e,t,r))};function d(e,t){let r=e.get(“plugins”);return window.jwplayerPluginJsonp=u,(e.pluginLoader=e.pluginLoader||new s).load(t,o,r,e).then(t=>{if(!e.attributes._destroyed)return delete window.jwplayerPluginJsonp,t})}},3930(){Object.hasOwn||Object.defineProperty(Object,”hasOwn”,{value:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},writable:!0,enumerable:!1,configurable:!0})},357(e,t,r){“use strict”;r.d(t,{jA:()=>s,B7:()=>i,Vd:()=>a,lZ:()=>l,cI:()=>o});let n=[40,120,320,480,640,720,1280,1920],i=e=>{if(null==e?void 0:e.length){let t=e.filter(e=>{var t,r;return null==e||null==(r=e.type)||null==(t=r.match)?void 0:t.call(r,/video/)});if(null==t?void 0:t.length)return t}return!1},s=e=>{let t=0,r=n[0];for(;r!!(e&&t&&RegExp(`jwplayer.com/v2/media/${e}`).test(t)),l=({mediaid:e,image:t},r)=>e||t?a(e,t)?`https://cdn.jwplayer.com/v2/media/${e}/poster.jpg?width=${r}`:t:””,o=(e,t,r)=>{if(!e)return;let n=r&&r.mediaid===e.mediaid&&a(e.mediaid,e.image)?r.width:0;if(!t)return n?l(e,n):e.image;let i=s(t);return l(e,n>=i?n:i)}},5445(e,t,r){“use strict”;var n=r(8586);function i(){var e,t;return e=window,t=document.location.search,e.location!==e.parent.location&&(0,n.SM)(t,”isAMP”)}r.d(t,{A:()=>i})},3849(e,t,r){“use strict”;let n=()=>n._iframe;n.mock=e=>{n._iframe=e},n.unmock=()=>{n._iframe=n._original},n._iframe=window.top!==window.self,n._original=n._iframe,r.d(t,{},{A:n})},7069(e,t,r){“use strict”;var n=r(9616),i=r(5293),s=r(4916),a=r(8253);let l=”invalid”,o=e=>{let t,r,a;try{let o=(0,n.Y)(e||””,(0,s.l)(“NDh2aU1Cb0NHRG5hcDFRZQ==”)).split(“/”);if(t=o[0],”pro”===t&&(t=”premium”),(0,i.A)(t)(“setup”)||(t=l),o.length>2){r=o[1];let e=parseInt(o[2],10);e>0&&(a=new Date).setTime(e)}}catch(e){t=l}return{edition:t,token:r,expiration:a}},u=class{static getAnalyticsId(e){if(e)return o(e).token}constructor(e){this.keyData=o(e),this.edition=function(){return this.keyData.edition},this.token=function(){return this.keyData.token},this.analyticsId=function(){return this.keyData.token},this.expiration=function(){return this.keyData.expiration},this.duration=function(){return this.keyData.expiration?this.keyData.expiration.getTime()-new Date().getTime():0},this.error=function(){let t;return void 0===e?t=100011:this.keyData.edition!==l&&this.keyData.token?0>this.duration()&&(t=100013):t=100012,t?new a.Mk(a.kM,t):null}}};r.d(t,{},{A:u})},6068(e,t,r){“use strict”;var n=r(3849);r.d(t,{},{E:()=>{let e=window.location.host;if((0,n.A)()){var t;let r;e=(document.referrer?(t=document.referrer,(r=document.createElement(“a”)).href=t,r):{}).host;try{e=e||window.top.location.host}catch(e){}}return e}})},9616(e,t,r){“use strict”;var n=r(4916);let i=e=>{let t=Array(Math.ceil(e.length/4));for(let r=0;r>>2&3;for(let e=o-1;e>=0;e–)r=((u=a[e>0?e-1:o-1])>>>5^c>>3^u{let t=Array(e.length);for(let r=0;r>>8&255,e[r]>>>16&255,e[r]>>>24&255);return t.join(“”)})(a).replace(/ +$/,””);try{return decodeURIComponent(escape(h))}catch(e){return h}}})},5018(e,t,r){“use strict”;let n={vendorId:1046,purposes:[1,7,8]},i=e=>{let t=window[e];return”function”==typeof t?t:null},s=(e,t,r)=>{let n=((e,t)=>{let r=(e=>{let t=window;for(;t;){try{if(t.frames[e])return t}catch(e){}t=t===window.top?null:t.parent}return null})(`${e}Locator`);if(!r)return null;let n=new Set;return{send(i,s,a){let l=`${e}-${Date.now()}-${Math.random()}`,o=r=>{let s=((e,t,r)=>{let n=null==e?void 0:e.data;if(“string”==typeof n)try{n=JSON.parse(n)}catch(e){return null}if(“object”!=typeof n||null===n)return null;let i=n[t];return”object”!=typeof i||null===i?null:i.callId===r?i:null})(r,`${e}Return`,l);if(s){“addEventListener”!==i&&(window.removeEventListener(“message”,o),n.delete(o));try{a(s)}catch(e){null==t||t(`a cross-frame CMP reply was malformed: ${String(e)}`)}}};window.addEventListener(“message”,o,!1),n.add(o),s.callId=l,r.postMessage(JSON.stringify({[`${e}Call`]:s}),”*”)},removeSubscriptions(){n.forEach(e=>window.removeEventListener(“message”,e)),n.clear()}}})(e,r);if(!n)return null;let i=(…e)=>{let{call:r,callback:i}=t(e);void 0===r.parameter&&delete r.parameter,n.send(String(r.command),r,e=>i(e.returnValue,e.success))};return i.removeSubscriptions=n.removeSubscriptions,i},a=(e,t)=>s(e,([e,t,r,n])=>({call:{command:e,version:t,parameter:n},callback:r}),t),l=e=>”number”==typeof(null==e?void 0:e.vendorId)&&Array.isArray(e.purposes),o=(e,t,r,n)=>!e||!!l(n)&&!!r[n.vendorId]&&n.purposes.every(e=>!!t[e]);class u{on(e,t){let r=this.listeners.get(e);r||(r=new Set,this.listeners.set(e,r)),r.add(t)}off(e,t){var r;null==(r=this.listeners.get(e))||r.delete(t)}trigger(e,t){let r=this.listeners.get(e);if(r)for(let n of r)try{n(t)}catch(t){“warning”===e?console.warn(“[consent-tools] a ‘warning’ listener threw:”,t):this.trigger(“warning”,`a ‘${String(e)}’ listener threw: ${String(t)}`)}}clearListeners(){this.listeners.forEach(e=>e.clear())}constructor(){this.listeners=new Map}}let c=e=>”denied”===e||”unanswered”===e,d=e=>”absent”!==e&&”notApplicable”!==e,h=(e,t)=>{let r={};return e.forEach(e=>{let n=t(e),i=r[e.framework];(void 0===i||!c(i)&&c(n))&&(r[e.framework]=n)}),r},p=(e,t)=>h(e,e=>e.getStatus(t).status);class f extends u{getConsentData(){return this.getStatus().data}isOptedOut(e){return c(this.getStatus(e).status)}read(e=1e3){let t=this.getStatus();if(this.destroyed||”unanswered”!==t.status)return Promise.resolve(t);let r=()=>void 0;return new Promise(t=>{let n=e=>{“unanswered”!==e.status&&t(e)},i=()=>t(this.getStatus()),s=setTimeout(()=>{this.warn(`read() timed out after ${e}ms; answering from the last snapshot`),t(this.getStatus())},e);r=()=>{clearTimeout(s),this.off(“change”,n),this.off(“destroy”,i)},this.on(“change”,n),this.on(“destroy”,i)}).then(e=>(r(),e))}on(e,t){this.destroyed?console.warn(`[consent-tools] on(‘${e}’) called on a destroyed reader; the listener was dropped.`):super.on(e,t)}warnLater(e){Promise.resolve().then(()=>this.trigger(“warning”,e))}get isDestroyed(){return this.destroyed}destroy(){this.destroyed||(this.destroyed=!0,this.trigger(“destroy”,void 0),this.clearListeners())}constructor(…e){super(…e),this.destroyed=!1,this.warn=e=>this.trigger(“warning”,e)}}function g(){return(g=Object.assign||function(e){for(var t=1;t{let r=Object.keys(e);return r.length===Object.keys(t).length&&r.every(r=>e[Number(r)]===t[Number(r)])},w=(e,t)=>e.cmpDetected===t.cmpDetected&&e.gdprApplies===t.gdprApplies&&e.tcString===t.tcString&&e.addtlConsent===t.addtlConsent&&e.ready===t.ready&&v(e.purposeConsents,t.purposeConsents)&&v(e.vendorConsents,t.vendorConsents);class b extends m{markCmpDetected(){this.cmpFound=!0,this.settle(y({},this.consentData,{cmpDetected:!0,ready:!1}),w)}onConsentResolved(e,t={},r={}){this.settle(y({},e,{cmpDetected:this.consentData.cmpDetected,purposeConsents:t,vendorConsents:r}),w)}callCmp(e,t){if(!this.destroyed)try{t()}catch(t){this.warn(`the ${e} call threw: ${String(t)}`)}}detect(){var e,t;let r=null!=(e=i(“__tcfapi”))?e:this.rememberPostMessageApi(a(“__tcfapi”,this.warn));if(r){this.markCmpDetected(),this.callCmp(“__tcfapi”,()=>r(“addEventListener”,2,(e,t)=>{if(!t||!e)return;null===this.tcfListenerId&&void 0!==e.listenerId&&(this.tcfListenerId=e.listenerId);let r=e.eventStatus;if(“tcloaded”===r||”useractioncomplete”===r){let t=(e=>{var t,r;let n=!!e.gdprApplies,i={},s={};if(null==(t=e.purpose)?void 0:t.consents)for(let[t,r]of Object.entries(e.purpose.consents))i[Number(t)]=!!r;if(null==(r=e.vendor)?void 0:r.consents)for(let[t,r]of Object.entries(e.vendor.consents))s[Number(t)]=!!r;return{gdprApplies:n,tcString:e.tcString||””,addtlConsent:e.addtlConsent||””,purposeConsents:i,vendorConsents:s}})(e);this.onConsentResolved({gdprApplies:t.gdprApplies,tcString:t.tcString,addtlConsent:t.addtlConsent,ready:!0},t.purposeConsents,t.vendorConsents)}}));return}let n=null!=(t=i(“__cmp”))?t:this.rememberCrossFrame(a(“__cmp”,this.warn));if(n){this.markCmpDetected(),this.callCmp(“__cmp”,()=>n(“getConsentData”,null,(e,t)=>{if(!1===t||!e)return void this.warn(“the __cmp getConsentData reply was unreadable”);let r=!!(e.gdprApplies||e.isUserInEu);this.onConsentResolved({gdprApplies:r,tcString:e.consentData||””,addtlConsent:””,ready:!0})}));return}let s=(e=>{try{let t=null!=e?e:document.location.search;if(!t||!t.includes(“isAMP”))return null;let r=new URLSearchParams(t),n=r.get(“consentValue”)||””,i=r.get(“consentGdpr”)||””;if(!n&&!i)return null;return{gdprApplies:”1″===i,tcString:n,addtlConsent:””,ready:!0}}catch(e){return null}})(this.searchString);if(s){this.markCmpDetected(),this.onConsentResolved(s);return}this.onConsentResolved({gdprApplies:!1,tcString:””,addtlConsent:””,ready:!0})}rememberPostMessageApi(e){return this.postMessageApi=e,this.rememberCrossFrame(e)}rememberCrossFrame(e){return(null==e?void 0:e.removeSubscriptions)&&this.crossFrame.push(e),e}computeStatus(e){let{cmpDetected:t,ready:r,gdprApplies:n,purposeConsents:i,vendorConsents:s}=this.consentData;return t?r?n?o(n,i,s,null!=e?e:this.defaults)?”granted”:”denied”:”notApplicable”:”unanswered”:”absent”}destroy(){super.destroy();let e=this.tcfListenerId;if(null!==e){var t;let r=null!=(t=i(“__tcfapi”))?t:this.postMessageApi;try{null==r||r(“removeEventListener”,2,()=>void 0,e)}catch(e){}this.tcfListenerId=null}this.crossFrame.forEach(e=>null==e.removeSubscriptions?void 0:e.removeSubscriptions.call(e)),this.crossFrame.length=0,this.postMessageApi=null}constructor(e=n,t){super(),this.framework=”tcf”,this.consentData={cmpDetected:!1,gdprApplies:!1,tcString:””,addtlConsent:””,ready:!1,purposeConsents:{},vendorConsents:{}},this.tcfListenerId=null,this.postMessageApi=null,this.crossFrame=[];let r=l(e);r||this.warnLater(“the consent requirements were not honored: vendorId MUST be a number and purposes an array”),this.defaults=r?e:n,this.searchString=null==t?void 0:t.searchString}}let A=/^1[YN-]{3}$/,k=e=>{if(4!==e.length)return”unanswered”;let t=e.toUpperCase();if(!A.test(t))return”unanswered”;let r=t.charAt(2);return”-“===r?”notApplicable”:”N”===r?”granted”:”Y”===r?”denied”:”unanswered”},C=e=>c(k(e)),S=[“SaleOptOut”,”SharingOptOut”,”TargetedAdvertisingOptOut”],j=[0,2],E=[“tcfeuv1″,”tcfeuv2″,”tcfcav1”],O=e=>e.startsWith(“us”),P=e=>{let t={};return Array.isArray(e)&&e.forEach(e=>{let r=String(e).split(“:”),[n,i]=r,s=parseInt(n,10);2===r.length&&!Number.isNaN(s)&&i&&(t[s]=i)}),t},_=P([“1:tcfeuv1″,”2:tcfeuv2″,”5:tcfcav1″,”6:uspv1″,”7:usnat”,”8:usca”,”9:usva”,”10:usco”,”11:usut”,”12:usct”,”13:usfl”,”14:usmt”,”15:usor”,”16:ustx”,”17:usde”,”18:usia”,”19:usne”,”20:usnh”,”21:usnj”,”22:ustn”,”23:usmn”,”24:usmd”,”25:usin”,”26:usky”,”27:usri”]),F=e=>null==e?[]:Array.isArray(e)?e:[e],T=e=>{if(!Array.isArray(e)||!e.length)return null;let t={};return e.forEach((e,r)=>{t[r+1]=!0===e||1===e}),t},x=e=>{if(!Array.isArray(e))return null;let t={};return e.forEach(e=>{“number”==typeof e&&(t[e]=!0)}),t},D=(e,t,r)=>{if(E.indexOf(e)>=0)return r();if(“uspv1″===e){let e=F(t);for(let t=0;t{let t=F(e),r=!0;for(let e=0;ej.indexOf(t))return!0;r=!1}}}}return r})(t)};function I(){return(I=Object.assign||function(e){for(var t=1;t{if(!t||”object”!=typeof t||Array.isArray(t))return t;let r={};return Object.keys(t).sort().forEach(e=>{r[e]=t[e]}),r},L=(e,t)=>{try{return JSON.stringify(e,M)===JSON.stringify(t,M)}catch(e){return!1}},$=(e,t)=>{Object.keys(e).forEach(r=>{((e,t)=>{if(!e.startsWith(“us”))return!1;let r=F(t);return”uspv1″===e?!r.some(e=>”string”==typeof e):!r.length||r.some(e=>!e||”string”==typeof e)})(r,e[r])&&t(`the GPP section ‘${r}’ answered in a shape the reader cannot read`)})};class R extends m{settle(e,t){super.settle(e,t),this.lastStatus=this.computeStatus()}detect(){if(!i(“__gpp”)){var e;if(this.postMessageApi=null!=(e=this.postMessageApi)?e:s(“__gpp”,([e,t,r])=>({call:{command:e,version:”1.1″,parameter:r},callback:t}),this.warn),!this.postMessageApi)return void this.settle(I({},this.consentData,{cmpDetected:!1,ready:!0}),L)}this.cmpFound=!0,this.settle(I({},this.consentData,{cmpDetected:!0,ready:!1}),L);let t=e=>{(null==e?void 0:e.signalStatus)===”ready”&&this.collectSections(e)};this.call(“addEventListener”,(e,r)=>{var n;!1!==r&&e&&(null===this.listenerId&&”number”==typeof e.listenerId&&(this.listenerId=e.listenerId),t(null!=(n=e.pingData)?n:e))}),this.call(“ping”,(e,r)=>{if(!1!==r&&e){var n;t(null!=(n=e.pingData)?n:e)}})}call(e,t,r){var n;if(this.destroyed)return!1;let s=null!=(n=i(“__gpp”))?n:this.postMessageApi;if(!s)return!1;try{return s(e,t,r),!0}catch(e){return this.warn(`the __gpp call threw: ${String(e)}`),!1}}collectSections(e){var t,r;let n,i,s,a=e.applicableSections,l=Array.isArray(a)&&1===a.length&&-1===a[0],o=Array.isArray(a)?a.filter(e=>”number”==typeof e&&e>0):[];if(!Array.isArray(a)||a.indexOf(0)>=0||!l&&!o.length)return void this.warn(`the GPP applicableSections reply is malformed: ${JSON.stringify(a)}`);let u=++this.latestRun,c=()=>u===this.latestRun,{prefixes:d,unresolved:h}=(n=P(e.supportedAPIs),i=[],s=[],o.forEach(e=>{var t;let r=null!=(t=n[e])?t:_[e];r?i.push(r):s.push(e)}),{prefixes:i,unresolved:s}),p={cmpDetected:!0,ready:!0,applicableSections:o,unresolvedSections:h,gppString:null!=(t=e.gppString)?t:””},f={},g=null!=(r=e.parsedSections)?r:{},m=d.filter(e=>void 0===g[e]||(f[e]=g[e],!1));if(!m.length){$(f,this.warn),this.settle(I({},p,{sections:f}),L);return}let y=m.length;m.forEach(e=>{this.getSection(e,t=>{f[e]=t,0==(y-=1)&&c()&&($(f,this.warn),this.settle(I({},p,{sections:f}),L))})})}getSection(e,t){let r=!1,n=e=>{r||(r=!0,t(e))};this.call(“getSection”,(e,t)=>{n(!1===t?null:null!=e?e:null)},e)||n(null)}isTcfSectionOptedOut(e,t,r){var i;let s=(null==(i=this.tcf)?void 0:i.isDestroyed)?null:this.tcf;if(s){let{cmpDetected:e,ready:t}=s.getStatus().data;if(e&&t)return s.isOptedOut(r)}let a=((e,t)=>{if(“tcfeuv2”!==e)return null;let r=F(t);for(let e=0;ethis.isTcfSectionOptedOut(i,t.sections[i],r)))return”denied”}return”granted”}destroy(){var e,t,r,n;if(super.destroy(),null==(e=this.tcf)||e.off(“change”,this.onTcfChange),null!==this.listenerId){let e=null!=(n=i(“__gpp”))?n:this.postMessageApi;try{null==e||e(“removeEventListener”,()=>void 0,this.listenerId)}catch(e){}this.listenerId=null}null==(r=this.postMessageApi)||null==(t=r.removeSubscriptions)||t.call(r),this.postMessageApi=null}constructor(e,t){var r;super(),this.framework=”gpp”,this.consentData={cmpDetected:!1,ready:!1,applicableSections:[],sections:{},unresolvedSections:[],gppString:””},this.postMessageApi=null,this.listenerId=null,this.lastStatus=”absent”,this.onTcfChange=()=>{if(this.destroyed)return;let e=this.computeStatus();e!==this.lastStatus&&(this.lastStatus=e,this.trigger(“change”,this.getStatus()))},this.latestRun=0,(null==e?void 0:e.isDestroyed)&&this.warnLater(`constructed with a destroyed ${e.framework} reader; TCF-family sections fall back to their GPP data`),this.tcf=(null==e?void 0:e.isDestroyed)?null:e,this.defaults=t,null==(r=this.tcf)||r.on(“change”,this.onTcfChange)}}function N(){return(N=Object.assign||function(e){for(var t=1;te.cmpDetected===t.cmpDetected&&e.ready===t.ready&&e.uspString===t.uspString;class U extends m{detect(){let e=i(“__uspapi”);if(e||(this.postMessageApi||(this.postMessageApi=a(“__uspapi”,this.warn)),e=this.postMessageApi),!e){this.consentData.cmpDetected||this.settle({cmpDetected:!1,ready:!0,uspString:””},B);return}if(this.consentData.cmpDetected||this.settle(N({},this.consentData,{cmpDetected:!0,ready:!1}),B),e===this.pendingApi)return;this.pendingApi=e;let t=++this.requestGeneration;try{e(“getUSPData”,1,(e,r)=>{if(t===this.requestGeneration)try{this.applyAnswer(e,r)}finally{this.pendingApi=null}})}catch(e){this.pendingApi=null,this.warn(`the __uspapi call threw: ${String(e)}`)}}applyAnswer(e,t){if(!1===t||!e)return void this.warn(“the __uspapi getUSPData reply was unreadable”);let{uspString:r}=e;if(null==r){this.consentData.ready||this.settle({cmpDetected:!0,ready:!0,uspString:”1—“},B);return}”string”!=typeof r?this.warn(`the __uspapi getUSPData reply carried a ${typeof r} uspString`):this.settle({cmpDetected:!0,ready:!0,uspString:r},B)}computeStatus(){let{cmpDetected:e,ready:t,uspString:r}=this.consentData;return e?t?k(r):”unanswered”:”absent”}destroy(){var e,t;super.destroy(),null==(t=this.postMessageApi)||null==(e=t.removeSubscriptions)||e.call(t),this.postMessageApi=null,this.pendingApi=null}constructor(…e){super(…e),this.framework=”usp”,this.consentData={cmpDetected:!1,ready:!1,uspString:””},this.postMessageApi=null,this.pendingApi=null,this.requestGeneration=0}}let z=()=>{if(“u”({status:e,data:{signalSent:t}});class q extends f{getStatus(){return this.evaluate()}destroy(){super.destroy(),this.scopeReaders.forEach(e=>e.off(“change”,this.onScopeChange))}computeStatus(e){return e?!this.scope||(({gpp:e,usp:t})=>{if(t&&d(t.getStatus().status))return!0;if(!e)return!1;let r=e.getConsentData();return!!r.cmpDetected&&(!r.ready||r.unresolvedSections.length>0||Object.keys(r.sections).some(O))})(this.scope)?”denied”:this.scope.gpp||this.scope.usp||(e=>{if(!e)return!1;let{cmpDetected:t,ready:r,gdprApplies:n}=e.getConsentData();return t&&r&&n})(this.scope.tcf)?”notApplicable”:”denied”:”absent”}evaluate(){if(this.destroyed)return this.last;let e=z(),t=this.computeStatus(e);if((t!==this.last.status||e!==this.last.data.signalSent)&&(this.last=V(t,e),!this.notifying)){this.notifying=!0;try{this.trigger(“change”,this.last)}finally{this.notifying=!1}}return this.last}constructor(e){super(),this.framework=”gpc”,this.last=V(“absent”,!1),this.notifying=!1,this.onScopeChange=()=>{this.getStatus()};let t=[null==e?void 0:e.gpp,null==e?void 0:e.usp,null==e?void 0:e.tcf];this.scopeReaders=t.filter(e=>!!e),this.scope=e&&this.scopeReaders.length?e:null,this.scopeReaders.forEach(e=>e.on(“change”,this.onScopeChange))}}let H=e=>”manual”===e||”denied”===e;class Q extends f{snapshot(){return{manualApplies:null!==this.state,ready:”manual”!==this.state,state:this.state}}setConsent(e){if(!this.destroyed){if(!(“granted”===e||”denied”===e||H(e)))return void this.warn(`the consent answer was not honored: ${String(e)}`);this.state!==e&&(this.state=e,this.trigger(“change”,this.getStatus()))}}computeStatus(){return null===this.state?”absent”:”manual”===this.state?”unanswered”:this.state}getStatus(){return{status:this.computeStatus(),data:this.snapshot()}}constructor(e){super(),this.framework=”manual”,this.state=H(e)?e:null,null===this.state&&null!=e&&this.warnLater(`the configured consent value was not honored: ${String(e)}`)}}let W=(e,t,r)=>{switch(e){case”tcf”:return new b(r);case”gpp”:var n;return new R(null!=(n=t(“tcf”))?n:null,r);case”usp”:return new U;case”gpc”:return new q({gpp:t(“gpp”),usp:t(“usp”),tcf:t(“tcf”)});case”manual”:return new Q;default:throw Error(`unknown consent framework ‘${String(e)}’`)}},G=new Map,K=e=>{let t=G.get(e);return t||(t=W(e,e=>K(e)),G.set(e,t)),t},Y=e=>”string”==typeof e;class X{on(e,t){this.events.on(e,t)}off(e,t){this.events.off(e,t)}warn(e){this.events.trigger(“warning”,e)}reader(e){let t=this.readers.find(t=>t.framework===e);return null!=t?t:null}start(){let e;if(this.ready)return this.ready;let t=()=>void 0;this.ready=new Promise(e=>{t=e}),this.deadlineAt=Date.now()+this.timeoutMs,this.settleNow=()=>{clearTimeout(e),this.settleNow=null,this.resolved=!0,t(),this.notifyIfMoved()};try{this.subscribe(),this.destroyed||this.everyReaderAnswered()?null==this.settleNow||this.settleNow.call(this):this.settleNow&&(e=setTimeout(()=>{this.warn(`the consent verdict timed out after ${this.timeoutMs}ms`),null==this.settleNow||this.settleNow.call(this)},this.timeoutMs))}catch(e){this.warn(`starting the consent verdict threw: ${String(e)}`),null==this.settleNow||this.settleNow.call(this)}return this.ready}subscribe(){this.destroyed||this.readers.forEach(e=>{e.on(“change”,this.onReaderChange),e.on(“destroy”,this.onReaderChange)})}unsubscribe(){this.readers.forEach(e=>{e.off(“change”,this.onReaderChange),e.off(“destroy”,this.onReaderChange)})}notifyIfMoved(){var e,t;let r;if(this.destroyed&&!this.resolved)return;if(!this.resolved){this.everyReaderAnswered()&&(null==this.settleNow||this.settleNow.call(this));return}let n={status:this.currentStatus(),statuses:this.report()};this.lastChange&&this.lastChange.status===n.status&&(e=this.lastChange.statuses,t=n.statuses,(r=Object.keys(e)).length===Object.keys(t).length&&r.every(r=>e[r]===t[r]))||(this.lastChange=n,this.events.trigger(“change”,n))}everyReaderAnswered(){let e=this.readers.map(e=>this.statusOf(e));return!!this.readers.some(e=>e.isDestroyed||this.failedReaders.has(e))||e.every(e=>”unanswered”!==e)}statusOf(e,t=!0){try{return e.getStatus(this.requirements).status}catch(r){return t&&(this.failedReaders.add(e),this.warn(`the ${e.framework} reader’s getStatus() threw: ${String(r)}`)),null}}reportedStatus(e,t=!0){var r;return this.failedReaders.has(e)||e.isDestroyed?”denied”:null!=(r=this.statusOf(e,t))?r:”denied”}withholding(){return this.readers.filter(e=>c(this.reportedStatus(e)))}currentStatus(){return this.resolved?this.withholding().length?”withheld”:”permitted”:”pending”}report(e=!0){return h(this.readers,t=>this.reportedStatus(t,e))}get isResolved(){return this.start(),this.resolved}whenResolved(){return this.start()}remainingMs(){return this.destroyed?0:null===this.deadlineAt?this.timeoutMs:Math.max(0,this.deadlineAt-Date.now())}get status(){return this.start(),this.currentStatus()}isPermitted(){return this.start(),0===this.withholding().length}withholdingFrameworks(){return this.start(),this.withholding().map(e=>e.framework)}statuses(){return this.start(),this.report()}peekStatuses(){return this.report(!1)}destroy(){this.destroyed||(this.destroyed=!0,null==this.settleNow||this.settleNow.call(this),this.unsubscribe(),this.warningForwarders.forEach((e,t)=>t.off(“warning”,e)),this.warningForwarders.clear(),this.owned.forEach(e=>e.destroy()))}constructor(e,t={}){this.events=new u,this.ready=null,this.deadlineAt=null,this.resolved=!1,this.failedReaders=new Set,this.settleNow=null,this.lastChange=null,this.warningForwarders=new Map,this.destroyed=!1,this.onReaderChange=()=>{this.notifyIfMoved()};let{timeoutMs:r=1e4,requirements:n}=t,{readers:i,owned:s}=((e,t)=>{let r=new Map,n=[];e.forEach(e=>{Y(e)||r.set(e.framework,e)});let i=e=>{let i;return r.get(e)||(t.shared?i=K(e):(i=W(e,e=>r.get(e),t.requirements),n.push(i)),r.set(e,i),i)},s=e.filter(Y);return[“tcf”,”gpp”,”usp”,”gpc”,”manual”].filter(e=>s.indexOf(e)>=0).forEach(i),{readers:e.map(e=>Y(e)?i(e):e),owned:n}})(e,t);this.readers=i,this.owned=s,this.requirements=n,this.timeoutMs=r,this.readers.forEach(e=>{if(e.isDestroyed||this.warningForwarders.has(e))return;let t=t=>this.warn(`the ${e.framework} reader: ${t}`);this.warningForwarders.set(e,t),e.on(“warning”,t)})}}class J{on(e,t){this.events.on(e,t)}off(e,t){this.events.off(e,t)}warn(e){this.events.trigger(“warning”,e)}get settled(){return null===this.native||this.gate.isResolved}flush(){if(!this.flushing&&null!==this.buffer&&null!==this.native){if(!this.gate.isResolved){this.flushOnResolve||(this.flushOnResolve=!0,this.gate.whenResolved().then(()=>{this.flushOnResolve=!1,this.flush()}));return}this.flushing=!0;try{this.flushBuffer()}finally{this.flushing=!1}}}flushBuffer(){if(!this.gate.isPermitted())return;let e=this.buffer;this.buffer=null;try{for(let[t,r]of e)this.native.setItem(t,r)}catch(e){this.warn(`flushing buffered writes to localStorage failed: ${String(e)}`)}}get verdict(){return(this.flush(),this.settled)?null===this.buffer?”permitted”:”withheld”:”pending”}getItem(e){if(this.flush(),null!==this.buffer){var t;return null!=(t=this.buffer.get(e))?t:null}return this.native.getItem(e)}setItem(e,t){(this.flush(),null!==this.buffer)?this.buffer.size>=1e3&&!this.buffer.has(e)?this.warn(`the write buffer is full; dropped key ‘${e}’`):this.buffer.set(e,t):this.native.setItem(e,t)}removeItem(e){if(this.flush(),null!==this.buffer){var t;this.buffer.delete(e),null==(t=this.native)||t.removeItem(e);return}this.native.removeItem(e)}destroy(){this.gate.off(“warning”,this.forwardWarning),this.ownsVerdict&&this.gate.destroy(),this.flush()}constructor(e,t={}){this.buffer=new Map,this.native=null,this.flushing=!1,this.flushOnResolve=!1,this.events=new u,this.forwardWarning=e=>this.warn(e);try{this.native=window.localStorage}catch(e){this.native=null}this.ownsVerdict=!(e=>!Array.isArray(e))(e),this.gate=(e=>!Array.isArray(e))(e)?e:new X(e,t),this.gate.on(“warning”,this.forwardWarning)}}r.d(t,{AX:()=>d,Ao:()=>n,Ex:()=>R,Kb:()=>X,Pm:()=>Q,UL:()=>c,V$:()=>z,X0:()=>U,dZ:()=>p,iJ:()=>J,jK:()=>q,ll:()=>K,o9:()=>b})},467(e,t,r){“use strict”;function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},1893(e,t,r){“use strict”;var n=r(467);function i(e){for(var t=1;ti})},5456(e,t,r){“use strict”;function n(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r.d(t,{_:()=>n})}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={id:e,exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.m=a,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n||”object”==typeof r&&r&&(4&n&&r.__esModule||16&n&&”function”==typeof r.then))return r;var i=Object.create(null);o.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;(“object”==typeof a||”function”==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{s[e]=()=>r[e]});return s.default=()=>r,o.d(i,s),i},o.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,”get”),n(r,”value”)},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>””+({114:”jwplayer.controls.tizen”,157:”provider.airplay”,217:”provider.hlsjs”,300:”jwplayer.controls”,305:”jwplayer.core.controls.polyfills.html5″,430:”polyfills.webvtt”,463:”vttparser”,517:”jwplayer.core.controls”,547:”provider.html5″,588:”provider.cast”,59:”jwplayer.core.controls.html5″,605:”provider.shaka”,663:”jwplayer.core.controls.polyfills”,666:”polyfills.intersection-observer”,738:”jwplayer.amp”,761:”related”,895:”jwplayer.stats”,905:”jwplayer.core”})[e]+”.js”,o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o.l=function(e,t,n,i){if(r[e])return void r[e].push(t);if(void 0!==n)for(var s,a,l=document.getElementsByTagName(“script”),u=0;u{“u”>typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.nc=void 0,o.p=””,o.j=”470″,n={470:0},o.f.j=function(e,t){var r=o.o(n,e)?n[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((t,i)=>r=n[e]=[t,i]);t.push(r[2]=i);var s=o.p+o.u(e),a=Error();o.l(s,function(t){if(o.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){var i=t&&(“load”===t.type?”missing”:t.type),s=t&&t.target&&t.target.src;a.message=”Loading chunk “+e+” failed.n(“+i+”: “+s+”)”,a.name=”ChunkLoadError”,a.type=i,a.request=s,r[1](a)}},”chunk-“+e,e)}},i=(e,t)=>{var r,i,s=t[0],a=t[1],l=t[2],u=0;if(s.some(e=>0!==n[e])){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);l&&l(o)}for(e&&e(t);u
You must be logged in to post a comment Login