The stakes are high as Islamabad says it is prepared to mediate negotiations, with the prospect of a protracted regional war threatening Pakistan's economy and security.