how to get the data of the item in the player's cursor

basically what i want is this: /data modify storage redacted:class-table page6-item_data-ability_name set from entity @s player.cursor
Continue to help post