Invariant curves and integrability of planar Cr differential systems