function i(){try{const t=localStorage.getItem("shooter_config");if(!t)return"";const e=JSON.parse(t);if(e&&typeof e=="object"){const r=e;if(typeof r.apiKey=="string")return r.apiKey}}catch{}return""}function o(t){if(!t||typeof t!="object")return!1;const e=t;return typeof e.apiKey!="string"||e.apiKey.length===0||e.deviceToken!==void 0&&e.deviceToken!==null&&typeof e.deviceToken!="string"||e.serverUrl!==void 0&&e.serverUrl!==null&&typeof e.serverUrl!="string"||e.lastUpdated!==void 0&&e.lastUpdated!==null&&typeof e.lastUpdated!="number"?!1:(e.deviceToken===void 0&&(e.deviceToken=null),e.serverUrl===void 0&&(e.serverUrl=null),e.lastUpdated===void 0&&(e.lastUpdated=null),!0)}export{i as g,o as i};
