There were approximately 25,000 Star Destroyers (mostly Imperial-class and Victory-class) in service of the Empire at one time. Only about 50 of them participated in the Empire's two biggest defeats (the Battle of Endor and the Battle of Jakku), so the vast majority of them were still operational when the Empire capitulated and signed the Galactic Concordance. Indeed, under the terms of the Empire's surrender the Imperial Navy was allowed to continue operating within the borders of the territory controlled by the Imperial remnant. In the ensuing cold war between the Imperial remnant and the New Republic, hard-line Imperials retreated from the Imperial territory in the Core and Inner Rim and retreated into the Unknown Regions to form the First Order.
What happened to the tens of the thousands of Imperial Star Destroyers of the old Imperial Navy during the cold war and rise of the First Order? I would imagine that many of them would remain in the Core and Inner Rim with the part of the Imperial remnant that complied with the Galactic Concordance, but the hard-liners who formed the First Order probably took quite a few of them as well. The First Order seems to mostly use Resurgent-class Star Destroyers, which are designed from but considerably larger than the Imperial-class Star Destroyer. Did the First Order construct Resurgent-class Star Destroyers out of the hulls of their Imperial-class Star Destroyers or do they still have all the Imperial-class Star Destroyers they took with them when they retreated to the Unknown Regions?
I'm looking for rough percentages of each of the possible fates of the Star Destroyers backed by canon sources: x% were destroyed, y% remained with the compliant Imperial remnant in the Core and Inner Rim, z% were taken by the First Order, etc.