'use strict';

/**
* Typed array constructor which returns a typed array representing an array of 32-bit unsigned integers in the platform byte order.
*
* @module @stdlib/array/uint32
*
* @example
* var ctor = require( '@stdlib/array/uint32' );
*
* var arr = new ctor( 10 );
* // returns <Uint32Array>
*/

// MODULES //

var hasUint32ArraySupport = require( '@stdlib/utils/detect-uint32array-support' );


// MAIN //

var ctor;
if ( hasUint32ArraySupport() ) {
	ctor = require( './uint32array.js' );
} else {
	ctor = require( './polyfill.js' );
}


// EXPORTS //

module.exports = ctor;

@@ -397,16 +397,104 @@
 ort' );%0A
+var builtin = require( './uint32array.js' );%0Avar polyfill = require( './polyfill.js' );%0A
 %0A%0A// MAI
@@ -554,37 +554,15 @@
 r = 
-require( './uint32array.js' )
+builtin
 ;%0A%7D 
@@ -576,36 +576,24 @@
 %09ctor = 
-require( './
 polyfill
 .js' );%0A
@@ -584,22 +584,16 @@
 polyfill
-.js' )
 ;%0A%7D%0A%0A%0A//

Refactor to avoid dynamic module resolution