"use strict";var c=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var l=(o,t)=>{for(var n in t)c(o,n,{get:t[n],enumerable:!0})},m=(o,t,n,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of a(t))!f.call(o,e)&&e!==n&&c(o,e,{get:()=>t[e],enumerable:!(u=r(t,e))||u.enumerable});return o};var d=o=>m(c({},"__esModule",{value:!0}),o);var h={};l(h,{useMoon:()=>M});module.exports=d(h);var i=require("@moonup/moon-sdk"),s=require("react"),M=()=>{let[o,t]=(0,s.useState)(null),[n,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=new i.MoonSDK;t(e),u(e.isAuthenticated)},[]),{moon:o,isAuthenticated:n}};0&&(module.exports={useMoon});
//# sourceMappingURL=useMoon.js.map