Greatest Horror Video games On Itch.io – June 2026 – Gamezebo`;e.insertAdjacentHTML(n,i)}return doc.getElementById(t)}_repeatDynamicAds(e){let t=[],n=e.location===D.Recipe?99:this.locationMaxLazySequence.get(e.location),r=e.lazy?L(n,0):0,i=e.max,a=e.lazyMax,o=r===0&&e.lazy?i+a:Math.min(Math.max(r-e.sequence+1,0),i+a),s=Math.max(i,o);for(let n=0;n=i,o=r;e.title===`Recipe_1`&&r>=5&&(o=r+1),t.push(R(R({},e),{},{sequence:o,lazy:a}))}return t}_locationEnabled(e)doc.physique.classList.accommodates(`adthrive-disable-all`),r=!doc.physique.classList.accommodates(`adthrive-disable-content`)&&!this._clsOptions.disableAds.causes.has(`content_plugin`);return t&&!n&&r},Hn=class{constructor(){ok(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}kind(){this._map.kind(({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=[]}},Un=class extends Hn{};let Wn=e=>{let t=st(),n=ft(),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},Gn=e=>{let t=Wn(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 Kn=class{get enabled(){throw Error(`Enablement have to be outlined at manufacturing facility creation time.`)}};let qn=(e=navigator.userAgent)=>_t(e)===`desktop`;perform Jn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.name(e,r)){if(t.contains(r))proceed;n[r]=e[r]}return n}perform Yn(e,t){if(e==null)return{};var n,r,i=Jn(e,t);if(Object.getOwnPropertySymbols)[],t=this._filterPlayerMap();return” t.stationaryrelated=”this._getPotentialStationaryPlayers(e,t.stationaryRelated),this._potentialPlayerMap=t,this._potentialPlayerMap_getPotentialStationaryPlayers(e,t){let” n=”new” set=”” e.foreach=””>e.kind===`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]||(B.occasion(this._component,`constructor`,`Unknown Video Participant Kind detected`,t.kind),e[t.type]=[]),t.enabled){let n=t.kind;this._videoConfig.shouldDisableStickyRelated&&t.kind===`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!==`/`&&B.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]:(B.occasion(`VideoUtils`,`getPlacementElement`,Error(`ESNF: ${e} doesn’t exist on the web page`)),null)}_getPlacementElement(e){let{pageSelector:t,elementSelector:n,skip:r}=e,i=Et(t),{legitimate:a,components:o}=i,s=Yn(i,Xn),c=Tt(n),{legitimate:l,components:u}=c,d=Yn(c,Zn);return t!==“&&!a?(B.error(`VideoUtils`,`getPlacementElement`,Error(`${t} isn’t a legitimate selector`),s),null):l?this._checkPageSelector(t,a,o)&&this._getElementSelector(n,u,r)||null:(B.error(`VideoUtils`,`getPlacementElement`,Error(`${n} isn’t a legitimate selector`),d),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(R(R({},i),{},{mediaId:e}),t)):B.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(R(R({},i),{},{mediaOrPlaylistId:e,orientation:r}),t,n)}else B.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?R(R({},t),{},{mediaId:n}):t}return t}_determineAutoplayPlayers(e){let t=this._component,n=t===`VideoManagerComponent`,r=this._context;if(this._stickyRelatedOnPage){B.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(()=>{B.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(e.siteAds&&Gn(e.siteAds),new Vn(e,new Un).begin(),new $n(new bt(e),e).init()))()}catch(e){B.error(`CLS`,`pluginsertion-iife`,e),window.adthriveCLS&&(window.adthriveCLS.injectedFromPlugin=!1)}})();