Grid-Primarily based Technique RPG Prelude Darkish Ache Launches on Steam in Early Entry – Gamezebo`;i&&(a=`

${a}

`),e.insertAdjacentHTML(n,a)}return doc.getElementById(t)}_repeatDynamicAds(t){let n=[],r=t.location===e.Recipe?99:this.locationMaxLazySequence.get(t.location),i=t.lazy?okay(r,0):0,a=t.max,o=t.lazyMax,s=i===0&&t.lazy?a+o:Math.min(Math.max(i-t.sequence+1,0),a+o),c=Math.max(a,s);for(let e=0;e=a,o=r;t.identify===`Recipe_1`&&r>=5&&(o=r+1),n.push({…t,sequence:o,lazy:i})}return n}_locationEnabled(e)doc.physique.classList.comprises(`adthrive-disable-all`),r=!doc.physique.classList.comprises(`adthrive-disable-content`)&&!this._clsOptions.disableAds.causes.has(`content_plugin`);return t&&!n&&r},Et=class{constructor(){s(this,`_map`,[])}add(e,t,n,r=doc){this._map.push({el:e,coords:t,dynamicAd:n,goal:r})}addSorted(e,t,n,r=doc){let i=this._upperBoundIndex(t);this._map.splice(i,0,{el:e,coords:t,dynamicAd:n,goal:r})}get map(){return this._map}type(){this._map.type(({coords:e},{coords:t})=>e-t)}filterUsed(){this._map=this._map.filter(({dynamicAd:e})=>!e.used)}findNeighborIndices(e){let t=this._upperBoundIndex(e);return[t-1>=0?t-1:null,t>>1;this._map[r].coords<=e?t=r+1:n=r}return t}reset(){this._map=[]}},Dt=class extends Et{};let Ot=e=>{let t=ne(),n=T(),r=e.siteAdsProfiles,i=null;if(r&&r.size)for(let e of r){let r=e.concentrating on.machine,a=e.concentrating on.browserEngine,o=r&&r.size&&r.contains(n),s=a&&a.size&&a.contains(t);o&&s&&(i=e)}return i},kt=e=>{let t=Ot(e);if(t){let e=t.profileId;doc.physique.classList.add(`raptive-profile-${e}`)}},$={Video_Collapse_Autoplay_SoundOff:`Video_Collapse_Autoplay_SoundOff`,Video_Individual_Autoplay_SOff:`Video_Individual_Autoplay_SOff`,Video_Coll_SOff_Smartphone:`Video_Coll_SOff_Smartphone`,Video_In_Post_ClicktoPlay_SoundOn:`Video_In-Post_ClicktoPlay_SoundOn`,Video_Collapse_Autoplay_SoundOff_15s:`Video_Collapse_Autoplay_SoundOff_15s`,Video_Individual_Autoplay_SOff_15s:`Video_Individual_Autoplay_SOff_15s`,Video_Coll_SOff_Smartphone_15s:`Video_Coll_SOff_Smartphone_15s`,Video_In_Post_ClicktoPlay_SoundOn_15s:`Video_In-Post_ClicktoPlay_SoundOn_15s`};var At=class{get enabled(){throw Error(`Enablement should be outlined at manufacturing facility creation time.`)}};let jt=(e=navigator.userAgent)=>E(e)===`desktop`;var Mt=class extends At{constructor(e,t,n){tremendous(),this._videoConfig=e,this._component=t,this._context=n,s(this,`_potentialPlayerMap`,void 0),s(this,`_device`,void 0),s(this,`_stickyRelatedOnPage`,!1),s(this,`_relatedMediaIds`,[]),this._device=jt()?`desktop`:`cellular`,this._potentialPlayerMap=this.setPotentialPlayersMap()}setPotentialPlayersMap()_getPotentialStationaryPlayers(e,t){let n=new Set(t);return e.forEach(e=>e.sort===`stationaryRelated`&&e.enabled&&n.add(e)),[…n]}_filterPlayerMap(){let e=this._videoConfig.gamers,t={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return e&&e.size?e.filter(e=>{var t;return(t=e.units)==null?void 0:t.contains(this._device)}).cut back((e,t)=>{if(e[t.type]||(P.occasion(this._component,`constructor`,`Unknown Video Participant Sort detected`,t.sort),e[t.type]=[]),t.enabled){let n=t.sort;this._videoConfig.shouldDisableStickyRelated&&t.sort===`stickyRelated`&&(n=`stationaryRelated`),e[n].push(t)}return e},t):t}_checkPlayerSelectorOnPage(e){for(let t of this._potentialPlayerMap[e]){let e=this._getPlacementElement(t);if(e)return{participant:t,playerElement:e}}return{participant:null,playerElement:null}}_getOverrideElement(e,t,n){if(e&&t){let r=doc.createElement(`div`);t.insertAdjacentElement(e.place,r),n=r}else{let{participant:e,playerElement:t}=this._checkPlayerSelectorOnPage(`stickyPlaylist`);if(e&&t){let r=doc.createElement(`div`);t.insertAdjacentElement(e.place,r),n=r}}return n}_shouldOverrideElement(e)t===`false`?t===`true`:this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.overrideEmbedLocation:!1_checkPageSelector(e,t,n=[]){return e&&t&&n.size===0?(window.location.pathname!==`/`&&P.occasion(`VideoUtils`,`getPlacementElement`,Error(`PSNF: ${e} doesn’t exist on the web page`)),!1):!0}_getElementSelector(e,t,n){return t&&t.size>n?t[n]:(P.occasion(`VideoUtils`,`getPlacementElement`,Error(`ESNF: ${e} doesn’t exist on the web page`)),null)}_getPlacementElement(e){let{pageSelector:t,elementSelector:n,skip:r}=e,{legitimate:i,components:a,…o}=N(t),{legitimate:s,components:c,…l}=M(n);return t!==“&&!i?(P.error(`VideoUtils`,`getPlacementElement`,Error(`${t} just isn’t a sound selector`),o),null):s?this._checkPageSelector(t,i,a)&&this._getElementSelector(n,c,r)||null:(P.error(`VideoUtils`,`getPlacementElement`,Error(`${n} just isn’t a sound selector`),l),null)}_getEmbeddedPlayerType(e)_getMediaId(e){let t=e.getAttribute(`data-video-id`);return t?(this._relatedMediaIds.push(t),t):!1}_getOrientation(e){return e.getAttribute(`orientation`)===`vertical`?`vertical`:`horizontal`}_createRelatedPlayer(e,t,n,r,i){t===`collapse`?this._createCollapsePlayer(e,n):t===`static`&&this._createStaticPlayer(e,n,r,i)}_createCollapsePlayer(e,t){let{participant:n,playerElement:r}=this._checkPlayerSelectorOnPage(`stickyRelated`),i=n||this._potentialPlayerMap.stationaryRelated[0];i&&i.playerId&&!this._videoConfig.shouldDisableStickyRelated?(this._shouldOverrideElement(t)&&(t=this._getOverrideElement(n,r,t)),t=doc.querySelector(`#cls-video-container-${e} > div`)||t,this._createStickyRelatedPlayer({…i,mediaId:e},t)):P.error(this._component,`_createCollapsePlayer`,`No video participant discovered`)}_createStaticPlayer(e,t,n,r){if(this._potentialPlayerMap.stationaryRelated.size&&this._potentialPlayerMap.stationaryRelated[0].playerId){let i=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer({…i,mediaOrPlaylistId:e,orientation:r},t,n)}else P.error(this._component,`_createStaticPlayer`,`No video participant discovered`)}_shouldRunAutoplayPlayers()_setPlaylistMediaIdWhenStationaryOnPage(e,t){if(this._potentialPlayerMap.stationaryRelated.size&&this._potentialPlayerMap.stationaryRelated[0].playerId&&e&&e.size){let n=e[0].getAttribute(`data-video-id`);return n?{…t,mediaId:n}:t}return t}_determineAutoplayPlayers(e){let t=this._component,n=t===`VideoManagerComponent`,r=this._context;if(this._stickyRelatedOnPage){P.occasion(t,`stickyRelatedOnPage`,n&&{machine:r&&r.machine,isDesktop:this._device}||{});return}let{playerElement:i}=this._checkPlayerSelectorOnPage(`stickyPlaylist`),{participant:a}=this._checkPlayerSelectorOnPage(`stickyPlaylist`);a&&a.playerId&&i?(a=this._setPlaylistMediaIdWhenStationaryOnPage(e,a),this._createPlaylistPlayer(a,i)):Math.random()<.01&&setTimeout(()=>{P.occasion(t,`noStickyPlaylist`,n&&{vendor:`none`,machine:r&&r.machine,isDesktop:this._device}||{})},1e3)}_initializeRelatedPlayers(e){let t=new Map;for(let n=0;n)()}catch(e){P.error(`CLS`,`pluginsertion-iife`,e),window.adthriveCLS&&(window.adthriveCLS.injectedFromPlugin=!1)}})();