2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								/ *  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									MIT  License  http : //www.opensource.org/licenses/mit-license.php
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									Author  Tobias  Koppers  @ sokra 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								* /  
						 
					
						
							
								
									
										
										
										
											2015-12-30 00:44:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								var  SourceMapConsumer  =  require ( "source-map" ) . SourceMapConsumer ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								var  SourceMapSource  =  require ( "webpack-sources" ) . SourceMapSource ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								var  RawSource  =  require ( "webpack-sources" ) . RawSource ;  
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								var  RequestShortener  =  require ( "../RequestShortener" ) ;  
						 
					
						
							
								
									
										
										
										
											2015-03-21 02:00:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								var  ModuleFilenameHelpers  =  require ( "../ModuleFilenameHelpers" ) ;  
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								var  uglify  =  require ( "uglify-js" ) ;  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-12-18 06:21:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								function  UglifyJsPlugin ( options )  {  
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									if ( typeof  options  !==  "object" )  options  =  { } ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									if ( typeof  options . compressor  !==  "undefined" )  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										options . compress  =  options . compressor ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									this . options  =  options ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								module . exports  =  UglifyJsPlugin ;  
						 
					
						
							
								
									
										
										
										
											2014-10-30 18:29:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								UglifyJsPlugin . prototype . apply  =  function ( compiler )  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									var  options  =  this . options ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-30 18:29:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									options . test  =  options . test  ||  /\.js($|\?)/i ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-12-18 06:21:49 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									var  requestShortener  =  new  RequestShortener ( compiler . context ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
									compiler . plugin ( "compilation" ,  function ( compilation )  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-05-29 18:17:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
										if ( options . sourceMap )  { 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											compilation . plugin ( "build-module" ,  function ( module )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												// to get detailed location info about errors
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												module . useSourceMap  =  true ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											} ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										} 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
										compilation . plugin ( "optimize-chunk-assets" ,  function ( chunks ,  callback )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											var  files  =  [ ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											chunks . forEach ( function ( chunk )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												chunk . files . forEach ( function ( file )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													files . push ( file ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												} ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-01 19:59:02 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											compilation . additionalChunkAssets . forEach ( function ( file )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												files . push ( file ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-03-21 02:00:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
											files  =  files . filter ( ModuleFilenameHelpers . matchObject . bind ( undefined ,  options ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
											files . forEach ( function ( file )  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												var  oldWarnFunction  =  uglify . AST _Node . warn _function ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
												var  warnings  =  [ ] ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
												try  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-04 17:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													var  asset  =  compilation . assets [ file ] ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( asset . _ _UglifyJsPlugin )  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-07-04 17:55:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														compilation . assets [ file ]  =  asset . _ _UglifyJsPlugin ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														return ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-19 08:52:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													var  input ; 
							 
						 
					
						
							
								
									
										
										
										
											2016-05-29 18:17:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( options . sourceMap )  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-19 08:52:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														var  inputSourceMap ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														if ( asset . sourceAndMap )  { 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-03 18:38:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															var  sourceAndMap  =  asset . sourceAndMap ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-19 08:52:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															inputSourceMap  =  sourceAndMap . map ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															input  =  sourceAndMap . source ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-03 18:38:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														}  else  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-19 08:52:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															inputSourceMap  =  asset . map ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															input  =  asset . source ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-03 18:38:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														} 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														var  sourceMap  =  new  SourceMapConsumer ( inputSourceMap ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														uglify . AST _Node . warn _function  =  function ( warning )  {  // eslint-disable-line camelcase
 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															var  match  =  /\[.+:([0-9]+),([0-9]+)\]/ . exec ( warning ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															var  line  =  + match [ 1 ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															var  column  =  + match [ 2 ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															var  original  =  sourceMap . originalPositionFor ( { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																line :  line , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																column :  column 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															if ( ! original  ||  ! original . source  ||  original . source  ===  file )  return ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															warnings . push ( warning . replace ( /\[.+:([0-9]+),([0-9]+)\]/ ,  "" )  + 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																"["  +  requestShortener . shorten ( original . source )  +  ":"  +  original . line  +  ","  +  original . column  +  "]" ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													}  else  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-19 08:52:28 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														input  =  asset . source ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														uglify . AST _Node . warn _function  =  function ( warning )  {  // eslint-disable-line camelcase
 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															warnings . push ( warning ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2015-10-13 09:34:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													uglify . base54 . reset ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
													var  ast  =  uglify . parse ( input ,  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														filename :  file 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( options . compress  !==  false )  { 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														ast . figure _out _scope ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2016-06-16 06:52:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														var  compress  =  uglify . Compressor ( options . compress  ||  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															warnings :  false 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} ) ;  // eslint-disable-line new-cap
 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														ast  =  ast . transform ( compress ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( options . mangle  !==  false )  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
														ast . figure _out _scope ( ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														ast . compute _char _frequency ( options . mangle  ||  { } ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														ast . mangle _names ( options . mangle  ||  { } ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2016-02-08 16:54:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														if ( options . mangle  &&  options . mangle . props )  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-02-06 17:06:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															uglify . mangle _properties ( ast ,  options . mangle . props ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2014-05-14 05:04:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													var  output  =  { } ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-25 15:24:00 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													output . comments  =  Object . prototype . hasOwnProperty . call ( options ,  "comments" )  ?  options . comments  :  /^\**!|@preserve|@license/ ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-05-14 05:04:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													output . beautify  =  options . beautify ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													for ( var  k  in  options . output )  { 
							 
						 
					
						
							
								
									
										
										
										
											2014-05-14 05:04:42 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														output [ k ]  =  options . output [ k ] ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2016-05-29 18:17:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( options . sourceMap )  { 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														var  map  =  uglify . SourceMap ( {  // eslint-disable-line new-cap
 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															file :  file , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															root :  "" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														output . source _map  =  map ;  // eslint-disable-line camelcase
 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													var  stream  =  uglify . OutputStream ( output ) ;  // eslint-disable-line new-cap
 
							 
						 
					
						
							
								
									
										
										
										
											2013-03-26 23:54:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													ast . print ( stream ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( map )  map  =  map  +  "" ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-03-26 23:54:41 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													stream  =  stream  +  "" ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													asset . _ _UglifyJsPlugin  =  compilation . assets [ file ]  =  ( map  ? 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-03 18:38:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														new  SourceMapSource ( stream ,  file ,  JSON . parse ( map ) ,  input ,  inputSourceMap )  : 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														new  RawSource ( stream ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													if ( warnings . length  >  0 )  { 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														compilation . warnings . push ( new  Error ( file  +  " from UglifyJs\n"  +  warnings . join ( "\n" ) ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													} 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												}  catch ( err )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
													if ( err . line )  { 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-31 19:46:18 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														var  original  =  sourceMap  &&  sourceMap . originalPositionFor ( { 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-17 07:53:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															line :  err . line , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															column :  err . col 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														if ( original  &&  original . source )  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-08-04 10:35:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
															compilation . errors . push ( new  Error ( file  +  " from UglifyJs\n"  +  err . message  +  " ["  +  requestShortener . shorten ( original . source )  +  ":"  +  original . line  +  ","  +  original . column  +  "]["  +  file  +  ":"  +  err . line  +  ","  +  err . col  +  "]" ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-17 07:53:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														}  else  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
															compilation . errors . push ( new  Error ( file  +  " from UglifyJs\n"  +  err . message  +  " ["  +  file  +  ":"  +  err . line  +  ","  +  err . col  +  "]" ) ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
														} 
							 
						 
					
						
							
								
									
										
										
										
											2015-07-16 06:19:23 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													}  else  if ( err . msg )  { 
							 
						 
					
						
							
								
									
										
										
										
											2015-02-21 17:29:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														compilation . errors . push ( new  Error ( file  +  " from UglifyJs\n"  +  err . msg ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-12-17 07:53:22 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													}  else 
							 
						 
					
						
							
								
									
										
										
										
											2014-07-26 19:59:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
														compilation . errors . push ( new  Error ( file  +  " from UglifyJs\n"  +  err . stack ) ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2013-09-14 17:50:39 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
												}  finally  { 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-24 05:55:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
													uglify . AST _Node . warn _function  =  oldWarnFunction ;  // eslint-disable-line camelcase
 
							 
						 
					
						
							
								
									
										
										
										
											2013-01-31 01:49:25 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
												} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											} ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
											callback ( ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										} ) ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									} ) ; 
							 
						 
					
						
							
								
									
										
										
										
											2014-10-30 18:29:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								} ;