/* Copyright © 2024 Melbet - All Rights Reserved */ import{createSharedComposable as d,useGameVideoAvailabilityService as v}from"./entry-Bl6dkD65.js";import{shallowRef as u,computed as m,unref as o,onMounted as b}from"../../../../shared-assets/__shared_vue_deps_SRT2KB67.js";const h=d(()=>{const l=v(),a=u(),c=m(()=>o(a)),n=async()=>{await l.loadConfig(),a.value=l},r=i=>{var e;return!!((e=o(a))!=null&&e.isAvailable(o(i)))},t=i=>{var e;return!!((e=o(a))!=null&&e.isCheckVideoAccess(o(i)))},s=i=>{var e;return!!((e=o(a))!=null&&e.isCheckVideoEnabled(o(i)))};return b(()=>{n()}),{isVideoAvailabilityServiceReady:c,checkGameVideoAvailable:r,checkGameVideoAccess:t,checkVideoEnabled:s}});export{h as useGameVideoAvailability};