import{aj as k,x as t,w as x,ah as S,ak as T}from"./BRMnbBOX.js";function h(r,i){return r===i||(r==null?void 0:r[T])===i}function q(r={},i,a,c){return k(()=>{var f,s;return t(()=>{f=s,s=[],x(()=>{r!==a(...s)&&(i(r,...s),f&&h(a(...f),r)&&i(null,...f))})}),()=>{S(()=>{s&&h(a(...s),r)&&i(null,...s)})}}),r}export{q as b};
