Convert the `BasePreferences` class to use private fields
Convert the `BasePreferences` class to use private fields

Given that none of these fields were ever intended to be accessed directly from the *outside*, since that will lead to inconsistent/broken state, we can use modern ECMAScript features to ensure that they are indeed private.

Shoobx/pdf.js,Snuffleupagus/pdf.js,Snuffleupagus/pdf.js,Shoobx/pdf.js,showpad/mozilla-pdf.js,mozilla/pdf.js,nawawi/pdf.js,showpad/mozilla-pdf.js,Shoobx/pdf.js,timvandermeij/pdf.js,timvandermeij/pdf.js,macroplant/pdf.js,macroplant/pdf.js,nawawi/pdf.js,mozilla/pdf.js,macroplant/pdf.js,showpad/mozilla-pdf.js,timvandermeij/pdf.js,nawawi/pdf.js,Snuffleupagus/pdf.js,mozilla/pdf.js