nl_tokens: this . options create - component mix - in creates prototype chain so that options given in constructor argument wins over the one defined in static options property Flatpickr wants flat structure of object instead
pl_tokens: function flattenOptions ( options ) { const o = { } ; // eslint-disable-next-line guard-for-in, no-restricted-syntax for ( const key <mask> options ) { o [ key ] = options [ key ] ; } return o ; }