Weighted Directed $\hbar$-Index and Its Application