nl_tokens: Extract stylesheets hrefs from dom
pl_tokens: function getStylesheets ( window , options ) { if ( Array . isArray ( options . media ) === false ) { options . media = [ options . media ] ; } const media = _ . union ( [ '' , 'all' , 'screen' ] , options . media ) ; const elements = window . document . querySelectorAll ( 'link[rel="stylesheet"]' ) ; return Array . prototype . map . call ( elements , ( link ) => ( { href : link . getAttribute ( 'href' ) , media : link . getAttribute ( 'media' ) || '' } ) ) . filter ( ( sheet ) => media . indexOf ( sheet . media ) !== - 1 ) . <mask> ( ( sheet ) => sheet . href ) ; }