JQuerry error when clicked on a button in bubble

Hi All

We are getting this error can you please help to resolve

Bug in custom code TypeError: Cannot read properties of null (reading ‘1’)
at formatDuration (:93:36)
at Object.success (:83:21)
at c (https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js:2:28327)
at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js:2:29072)
at l (https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js:2:79901)
at XMLHttpRequest. (https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js:2:82355)
at root