letclosure_3={code:"function dispatchCommandFabric_Pnpm_dispatchCommandTs1(animatedRef,commandName,args=[]){const{logger}=this.__closure;if(!_WORKLET){return;}const shadowNodeWrapper=animatedRef();if(!shadowNodeWrapper){logger.warn(\"Tried to dispatch command \\\"\"+commandName+\"\\\" with an uninitialized ref. Make sure to pass the animated ref to the component before using it.\");return;}global._dispatchCommandFabric(shadowNodeWrapper,commandName,args);}"};
letclosure_4={code:"function dispatchCommandPaper_Pnpm_dispatchCommandTs2(animatedRef,commandName,args=[]){const{logger}=this.__closure;if(!_WORKLET){return;}const viewTag=animatedRef();if(viewTag<0){logger.warn(\"Tried to dispatch command \\\"\"+commandName+\"\\\" with an uninitialized ref. Make sure to pass the animated ref to the component before using it.\");return;}global._dispatchCommandPaper(viewTag,commandName,args);}"};
lettmp3=()=>{
functiondispatchCommandPaper(arg0,arg1){
if(arguments.length>2){
if(globalThis._WORKLET){
consttmp4=arg0();
if(tmp4<0){
constlogger=callback(closure_2[0]).logger;
const_HermesInternal=HermesInternal;
logger.warn("Tried to dispatch command \""+arg1+"\" with an uninitialized ref. Make sure to pass the animated ref to the component before using it.");