RuntimeGlobals.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. /**
  7. * the AMD define function
  8. */
  9. module.exports.amdDefine = "__webpack_require__.amdD";
  10. /**
  11. * the AMD options
  12. */
  13. module.exports.amdOptions = "__webpack_require__.amdO";
  14. /**
  15. * Creates an async module. The body function must be a async function.
  16. * "module.exports" will be decorated with an AsyncModulePromise.
  17. * The body function will be called.
  18. * To handle async dependencies correctly do this: "([a, b, c] = await handleDependencies([a, b, c]));".
  19. * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
  20. * Signature: function(
  21. * module: Module,
  22. * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
  23. * hasAwaitAfterDependencies?: boolean
  24. * ) => void
  25. */
  26. module.exports.asyncModule = "__webpack_require__.a";
  27. /**
  28. * The internal symbol that asyncModule is using.
  29. */
  30. module.exports.asyncModuleDoneSymbol = "__webpack_require__.aD";
  31. /**
  32. * The internal symbol that asyncModule is using.
  33. */
  34. module.exports.asyncModuleExportSymbol = "__webpack_require__.aE";
  35. /**
  36. * the baseURI of current document
  37. */
  38. module.exports.baseURI = "__webpack_require__.b";
  39. /**
  40. * global callback functions for installing chunks
  41. */
  42. module.exports.chunkCallback = "webpackChunk";
  43. /**
  44. * the chunk name of the chunk with the runtime
  45. */
  46. module.exports.chunkName = "__webpack_require__.cn";
  47. /**
  48. * compatibility get default export
  49. */
  50. module.exports.compatGetDefaultExport = "__webpack_require__.n";
  51. /**
  52. * create a fake namespace object
  53. */
  54. module.exports.createFakeNamespaceObject = "__webpack_require__.t";
  55. /**
  56. * function to promote a string to a TrustedScript using webpack's Trusted
  57. * Types policy
  58. * Arguments: (script: string) => TrustedScript
  59. */
  60. module.exports.createScript = "__webpack_require__.ts";
  61. /**
  62. * function to promote a string to a TrustedScriptURL using webpack's Trusted
  63. * Types policy
  64. * Arguments: (url: string) => TrustedScriptURL
  65. */
  66. module.exports.createScriptUrl = "__webpack_require__.tu";
  67. /**
  68. * The current scope when getting a module from a remote
  69. */
  70. module.exports.currentRemoteGetScope = "__webpack_require__.R";
  71. /**
  72. * the exported property define getters function
  73. */
  74. module.exports.definePropertyGetters = "__webpack_require__.d";
  75. /**
  76. * the chunk ensure function
  77. */
  78. module.exports.ensureChunk = "__webpack_require__.e";
  79. /**
  80. * an object with handlers to ensure a chunk
  81. */
  82. module.exports.ensureChunkHandlers = "__webpack_require__.f";
  83. /**
  84. * a runtime requirement if ensureChunkHandlers should include loading of chunk needed for entries
  85. */
  86. module.exports.ensureChunkIncludeEntries =
  87. "__webpack_require__.f (include entries)";
  88. /**
  89. * the module id of the entry point
  90. */
  91. module.exports.entryModuleId = "__webpack_require__.s";
  92. /**
  93. * the internal exports object
  94. */
  95. module.exports.exports = "__webpack_exports__";
  96. /**
  97. * method to install a chunk that was loaded somehow
  98. * Signature: ({ id, ids, modules, runtime }) => void
  99. */
  100. module.exports.externalInstallChunk = "__webpack_require__.C";
  101. /**
  102. * the filename of the css part of the chunk
  103. */
  104. module.exports.getChunkCssFilename = "__webpack_require__.k";
  105. /**
  106. * the filename of the script part of the chunk
  107. */
  108. module.exports.getChunkScriptFilename = "__webpack_require__.u";
  109. /**
  110. * the filename of the css part of the hot update chunk
  111. */
  112. module.exports.getChunkUpdateCssFilename = "__webpack_require__.hk";
  113. /**
  114. * the filename of the script part of the hot update chunk
  115. */
  116. module.exports.getChunkUpdateScriptFilename = "__webpack_require__.hu";
  117. /**
  118. * the webpack hash
  119. */
  120. module.exports.getFullHash = "__webpack_require__.h";
  121. /**
  122. * function to return webpack's Trusted Types policy
  123. * Arguments: () => TrustedTypePolicy
  124. */
  125. module.exports.getTrustedTypesPolicy = "__webpack_require__.tt";
  126. /**
  127. * the filename of the HMR manifest
  128. */
  129. module.exports.getUpdateManifestFilename = "__webpack_require__.hmrF";
  130. /**
  131. * the global object
  132. */
  133. module.exports.global = "__webpack_require__.g";
  134. /**
  135. * harmony module decorator
  136. */
  137. module.exports.harmonyModuleDecorator = "__webpack_require__.hmd";
  138. /**
  139. * a flag when a module/chunk/tree has css modules
  140. */
  141. module.exports.hasCssModules = "has css modules";
  142. /**
  143. * a flag when a chunk has a fetch priority
  144. */
  145. module.exports.hasFetchPriority = "has fetch priority";
  146. /**
  147. * the shorthand for Object.prototype.hasOwnProperty
  148. * using of it decreases the compiled bundle size
  149. */
  150. module.exports.hasOwnProperty = "__webpack_require__.o";
  151. /**
  152. * function downloading the update manifest
  153. */
  154. module.exports.hmrDownloadManifest = "__webpack_require__.hmrM";
  155. /**
  156. * array with handler functions to download chunk updates
  157. */
  158. module.exports.hmrDownloadUpdateHandlers = "__webpack_require__.hmrC";
  159. /**
  160. * array with handler functions when a module should be invalidated
  161. */
  162. module.exports.hmrInvalidateModuleHandlers = "__webpack_require__.hmrI";
  163. /**
  164. * object with all hmr module data for all modules
  165. */
  166. module.exports.hmrModuleData = "__webpack_require__.hmrD";
  167. /**
  168. * the prefix for storing state of runtime modules when hmr is enabled
  169. */
  170. module.exports.hmrRuntimeStatePrefix = "__webpack_require__.hmrS";
  171. /**
  172. * The sharing init sequence function (only runs once per share scope).
  173. * Has one argument, the name of the share scope.
  174. * Creates a share scope if not existing
  175. */
  176. module.exports.initializeSharing = "__webpack_require__.I";
  177. /**
  178. * instantiate a wasm instance from module exports object, id, hash and importsObject
  179. */
  180. module.exports.instantiateWasm = "__webpack_require__.v";
  181. /**
  182. * interceptor for module executions
  183. */
  184. module.exports.interceptModuleExecution = "__webpack_require__.i";
  185. /**
  186. * function to load a script tag.
  187. * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
  188. * done function is called when loading has finished or timeout occurred.
  189. * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
  190. */
  191. module.exports.loadScript = "__webpack_require__.l";
  192. /**
  193. * make a deferred namespace object
  194. */
  195. module.exports.makeDeferredNamespaceObject = "__webpack_require__.z";
  196. /**
  197. * the internal symbol that makeDeferredNamespaceObject is using.
  198. */
  199. module.exports.makeDeferredNamespaceObjectSymbol = "__webpack_require__.zS";
  200. /**
  201. * define compatibility on export
  202. */
  203. module.exports.makeNamespaceObject = "__webpack_require__.r";
  204. /**
  205. * the internal module object
  206. */
  207. module.exports.module = "module";
  208. /**
  209. * the module cache
  210. */
  211. module.exports.moduleCache = "__webpack_require__.c";
  212. /**
  213. * the module functions
  214. */
  215. module.exports.moduleFactories = "__webpack_require__.m";
  216. /**
  217. * the module functions, with only write access
  218. */
  219. module.exports.moduleFactoriesAddOnly = "__webpack_require__.m (add only)";
  220. /**
  221. * the internal module object
  222. */
  223. module.exports.moduleId = "module.id";
  224. /**
  225. * the internal module object
  226. */
  227. module.exports.moduleLoaded = "module.loaded";
  228. /**
  229. * node.js module decorator
  230. */
  231. module.exports.nodeModuleDecorator = "__webpack_require__.nmd";
  232. /**
  233. * register deferred code, which will run when certain
  234. * chunks are loaded.
  235. * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
  236. * Returned value will be returned directly when all chunks are already loaded
  237. * When (priority & 1) it will wait for all other handlers with lower priority to
  238. * be executed before itself is executed
  239. */
  240. module.exports.onChunksLoaded = "__webpack_require__.O";
  241. /**
  242. * the chunk prefetch function
  243. */
  244. module.exports.prefetchChunk = "__webpack_require__.E";
  245. /**
  246. * an object with handlers to prefetch a chunk
  247. */
  248. module.exports.prefetchChunkHandlers = "__webpack_require__.F";
  249. /**
  250. * the chunk preload function
  251. */
  252. module.exports.preloadChunk = "__webpack_require__.G";
  253. /**
  254. * an object with handlers to preload a chunk
  255. */
  256. module.exports.preloadChunkHandlers = "__webpack_require__.H";
  257. /**
  258. * the bundle public path
  259. */
  260. module.exports.publicPath = "__webpack_require__.p";
  261. /**
  262. * a RelativeURL class when relative URLs are used
  263. */
  264. module.exports.relativeUrl = "__webpack_require__.U";
  265. /**
  266. * the internal require function
  267. */
  268. module.exports.require = "__webpack_require__";
  269. /**
  270. * access to properties of the internal require function/object
  271. */
  272. module.exports.requireScope = "__webpack_require__.*";
  273. /**
  274. * runtime need to return the exports of the last entry module
  275. */
  276. module.exports.returnExportsFromRuntime = "return-exports-from-runtime";
  277. /**
  278. * the runtime id of the current runtime
  279. */
  280. module.exports.runtimeId = "__webpack_require__.j";
  281. /**
  282. * the script nonce
  283. */
  284. module.exports.scriptNonce = "__webpack_require__.nc";
  285. /**
  286. * an object with all share scopes
  287. */
  288. module.exports.shareScopeMap = "__webpack_require__.S";
  289. /**
  290. * startup signal from runtime
  291. * This will be called when the runtime chunk has been loaded.
  292. */
  293. module.exports.startup = "__webpack_require__.x";
  294. /**
  295. * method to startup an entrypoint with needed chunks.
  296. * Signature: (moduleId: Id, chunkIds: Id[]) => any.
  297. * Returns the exports of the module or a Promise
  298. */
  299. module.exports.startupEntrypoint = "__webpack_require__.X";
  300. /**
  301. * @deprecated
  302. * creating a default startup function with the entry modules
  303. */
  304. module.exports.startupNoDefault = "__webpack_require__.x (no default handler)";
  305. /**
  306. * startup signal from runtime but only used to add logic after the startup
  307. */
  308. module.exports.startupOnlyAfter = "__webpack_require__.x (only after)";
  309. /**
  310. * startup signal from runtime but only used to add sync logic before the startup
  311. */
  312. module.exports.startupOnlyBefore = "__webpack_require__.x (only before)";
  313. /**
  314. * the System polyfill object
  315. */
  316. module.exports.system = "__webpack_require__.System";
  317. /**
  318. * the System.register context object
  319. */
  320. module.exports.systemContext = "__webpack_require__.y";
  321. /**
  322. * top-level this need to be the exports object
  323. */
  324. module.exports.thisAsExports = "top-level-this-exports";
  325. /**
  326. * the uncaught error handler for the webpack runtime
  327. */
  328. module.exports.uncaughtErrorHandler = "__webpack_require__.oe";
  329. /**
  330. * an object containing all installed WebAssembly.Instance export objects keyed by module id
  331. */
  332. module.exports.wasmInstances = "__webpack_require__.w";