import{O as n,n as o,o as t,q as r,r as a,s,y as c,z as e,g as u,b as i,N as f}from"./vendor.js";import{useContext as v,useState as p,useEffect as l}from"react";import{A as m,E as b}from"./contexts.js";var h=["components","content"];function d(n,o){var t=c(n);if(e){var r=e(n);o&&(r=u(r).call(r,(function(o){return s(n,o).enumerable}))),t.push.apply(t,r)}return t}var j=function(){return v(m).options||{}},g=function(){var c=v(m),e=c.components,u=void 0===e?[]:e,i=c.content;return function(n){for(var c=1;c<arguments.length;c++){var e=null!=arguments[c]?arguments[c]:{};c%2?d(Object(e),!0).forEach((function(t){o(n,t,e[t])})):t?r(n,t(e)):d(Object(e)).forEach((function(o){a(n,o,s(e,o))}))}return n}({components:u,content:void 0===i?[]:i},n(c,h))},E=function(){return v(b)},O=function(n){var o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=p(!1),a=i(r,2),s=a[0],c=a[1];l((function(){s?n():c(!0)}),f(o=[s]).call(o,t))};export{j as a,O as b,E as c,g as u};
//# sourceMappingURL=hooks.js.map
