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