@designliquido/delegua 0.37.2 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analisador-semantico/analisador-semantico.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico.js +18 -11
- package/analisador-semantico/analisador-semantico.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +4 -2
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +27 -18
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.js.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/bin/package.json +2 -2
- package/construtos/chamada.d.ts.map +1 -1
- package/construtos/chamada.js.map +1 -1
- package/construtos/decorador.d.ts.map +1 -1
- package/construtos/decorador.js.map +1 -1
- package/construtos/literal.d.ts +3 -1
- package/construtos/literal.d.ts.map +1 -1
- package/construtos/literal.js +2 -1
- package/construtos/literal.js.map +1 -1
- package/declaracoes/declaracao.d.ts.map +1 -1
- package/declaracoes/declaracao.js.map +1 -1
- package/declaracoes/expressao.d.ts.map +1 -1
- package/declaracoes/expressao.js.map +1 -1
- package/estruturas/delegua-funcao.d.ts.map +1 -1
- package/estruturas/delegua-funcao.js +2 -2
- package/estruturas/delegua-funcao.js.map +1 -1
- package/formatadores/formatador-delegua.d.ts.map +1 -1
- package/formatadores/formatador-delegua.js +1 -1
- package/formatadores/formatador-delegua.js.map +1 -1
- package/{interpretador/inferenciador.d.ts → inferenciador.d.ts} +5 -3
- package/inferenciador.d.ts.map +1 -0
- package/inferenciador.js +106 -0
- package/inferenciador.js.map +1 -0
- package/interfaces/parametro-interface.d.ts +1 -8
- package/interfaces/parametro-interface.d.ts.map +1 -1
- package/interfaces/variavel-interface.d.ts +2 -2
- package/interfaces/variavel-interface.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/interpretador/index.d.ts +0 -1
- package/interpretador/index.d.ts.map +1 -1
- package/interpretador/index.js +0 -1
- package/interpretador/index.js.map +1 -1
- package/interpretador/interpretador-base.js +1 -1
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador-com-depuracao.js +1 -1
- package/interpretador/interpretador-com-depuracao.js.map +1 -1
- package/interpretador/pilha-escopos-execucao.js +1 -1
- package/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/package.json +2 -2
- package/tipo-dados-elementar.d.ts +1 -1
- package/tipo-dados-elementar.d.ts.map +1 -1
- package/tradutores/tradutor-assemblyscript.js +1 -1
- package/tradutores/tradutor-assemblyscript.js.map +1 -1
- package/tradutores/tradutor-javascript.d.ts.map +1 -1
- package/tradutores/tradutor-javascript.js.map +1 -1
- package/tradutores/tradutor-python.d.ts.map +1 -1
- package/tradutores/tradutor-python.js +5 -2
- package/tradutores/tradutor-python.js.map +1 -1
- package/umd/delegua.js +458 -427
- package/interpretador/inferenciador.d.ts.map +0 -1
- package/interpretador/inferenciador.js +0 -81
- package/interpretador/inferenciador.js.map +0 -1
package/umd/delegua.js
CHANGED
|
@@ -44,7 +44,7 @@ class AvaliadorSintaticoBase {
|
|
|
44
44
|
this.atual += 1;
|
|
45
45
|
return this.simbolos[this.atual - 1];
|
|
46
46
|
}
|
|
47
|
-
// TODO: Verificar possibilidade de remoção.
|
|
47
|
+
// TODO: Verificar possibilidade de remoção.
|
|
48
48
|
// Regressão de símbolo é uma roubada por N razões.
|
|
49
49
|
regredirEDevolverAtual() {
|
|
50
50
|
if (this.atual > 0)
|
|
@@ -248,6 +248,7 @@ const tuplas_1 = require("../construtos/tuplas");
|
|
|
248
248
|
const declaracoes_1 = require("../declaracoes");
|
|
249
249
|
const lexador_1 = require("../lexador");
|
|
250
250
|
const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
251
|
+
const inferenciador_1 = require("../inferenciador");
|
|
251
252
|
/**
|
|
252
253
|
* O avaliador sintático (_Parser_) é responsável por transformar os símbolos do Lexador em estruturas de alto nível.
|
|
253
254
|
* Essas estruturas de alto nível são as partes que executam lógica de programação de fato.
|
|
@@ -261,22 +262,29 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
261
262
|
this.blocos = 0;
|
|
262
263
|
this.erros = [];
|
|
263
264
|
this.performance = performance;
|
|
265
|
+
this.tiposDefinidosEmCodigo = {};
|
|
264
266
|
}
|
|
265
267
|
verificarDefinicaoTipoAtual() {
|
|
266
268
|
const tipos = [...Object.values(delegua_1.default)];
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
if (this.simbolos[this.atual].lexema in this.tiposDefinidosEmCodigo) {
|
|
270
|
+
return this.simbolos[this.atual].lexema;
|
|
271
|
+
}
|
|
272
|
+
const lexemaElementar = this.simbolos[this.atual].lexema.toLowerCase();
|
|
273
|
+
const tipoElementarResolvido = tipos.find((tipo) => tipo === lexemaElementar);
|
|
274
|
+
if (!tipoElementarResolvido) {
|
|
275
|
+
throw this.erro(this.simbolos[this.atual], `Tipo de dados desconhecido: '${this.simbolos[this.atual].lexema}'.`);
|
|
276
|
+
}
|
|
277
|
+
if (this.verificarTipoProximoSimbolo(delegua_2.default.COLCHETE_ESQUERDO)) {
|
|
270
278
|
const tiposVetores = ['inteiro[]', 'numero[]', 'número[]', 'qualquer[]', 'real[]', 'texto[]'];
|
|
271
279
|
this.avancarEDevolverAnterior();
|
|
272
280
|
if (!this.verificarTipoProximoSimbolo(delegua_2.default.COLCHETE_DIREITO)) {
|
|
273
|
-
throw this.erro(this.simbolos[this.atual],
|
|
281
|
+
throw this.erro(this.simbolos[this.atual], `Esperado símbolo de fechamento do vetor: ']'. Atual: ${this.simbolos[this.atual].lexema}`);
|
|
274
282
|
}
|
|
275
|
-
const
|
|
283
|
+
const tipoVetor = tiposVetores.find((tipo) => tipo === `${lexemaElementar}[]`);
|
|
276
284
|
this.avancarEDevolverAnterior();
|
|
277
|
-
return
|
|
285
|
+
return tipoVetor;
|
|
278
286
|
}
|
|
279
|
-
return
|
|
287
|
+
return tipoElementarResolvido;
|
|
280
288
|
}
|
|
281
289
|
primario() {
|
|
282
290
|
const simboloAtual = this.simbolos[this.atual];
|
|
@@ -328,7 +336,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
328
336
|
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), valores);
|
|
329
337
|
case delegua_2.default.FALSO:
|
|
330
338
|
this.avancarEDevolverAnterior();
|
|
331
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), false);
|
|
339
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), false, 'lógico');
|
|
332
340
|
case delegua_2.default.FUNCAO:
|
|
333
341
|
case delegua_2.default.FUNÇÃO:
|
|
334
342
|
const simboloFuncao = this.avancarEDevolverAnterior();
|
|
@@ -356,7 +364,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
356
364
|
case delegua_2.default.NUMERO:
|
|
357
365
|
case delegua_2.default.TEXTO:
|
|
358
366
|
const simboloNumeroTexto = this.avancarEDevolverAnterior();
|
|
359
|
-
|
|
367
|
+
const tipoInferido = (0, inferenciador_1.inferirTipoVariavel)(simboloNumeroTexto.literal);
|
|
368
|
+
const tipoDadosElementar = (0, inferenciador_1.tipoInferenciaParaTipoDadosElementar)(tipoInferido);
|
|
369
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloNumeroTexto.linha), simboloNumeroTexto.literal, tipoDadosElementar);
|
|
360
370
|
case delegua_2.default.PARENTESE_ESQUERDO:
|
|
361
371
|
this.avancarEDevolverAnterior();
|
|
362
372
|
const expressao = this.expressao();
|
|
@@ -378,7 +388,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
378
388
|
}
|
|
379
389
|
case delegua_2.default.VERDADEIRO:
|
|
380
390
|
this.avancarEDevolverAnterior();
|
|
381
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), true);
|
|
391
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), true, 'lógico');
|
|
382
392
|
case delegua_2.default.TIPO:
|
|
383
393
|
this.avancarEDevolverAnterior();
|
|
384
394
|
this.consumir(delegua_2.default.DE, "Esperado 'de' após 'tipo'.");
|
|
@@ -611,7 +621,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
611
621
|
return new declaracoes_1.Escreva(Number(simboloAtual.linha), simboloAtual.hashArquivo, argumentos);
|
|
612
622
|
}
|
|
613
623
|
declaracaoExpressao() {
|
|
614
|
-
// Se há decoradores a serem adicionados aqui, obtemo-los agora,
|
|
624
|
+
// Se há decoradores a serem adicionados aqui, obtemo-los agora,
|
|
615
625
|
// para evitar que outros passos recursivos peguem-los antes.
|
|
616
626
|
const decoradores = Array.from(this.pilhaDecoradores);
|
|
617
627
|
this.pilhaDecoradores = [];
|
|
@@ -1114,15 +1124,12 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1114
1124
|
}
|
|
1115
1125
|
parametro.nome = this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome do parâmetro.');
|
|
1116
1126
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1117
|
-
|
|
1127
|
+
const valorPadrao = this.primario();
|
|
1128
|
+
parametro.valorPadrao = valorPadrao;
|
|
1118
1129
|
}
|
|
1119
1130
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1120
1131
|
let tipoDadoParametro = this.verificarDefinicaoTipoAtual();
|
|
1121
|
-
parametro.tipoDado =
|
|
1122
|
-
nome: this.simbolos[this.atual - 2].lexema,
|
|
1123
|
-
tipo: tipoDadoParametro,
|
|
1124
|
-
tipoInvalido: !tipoDadoParametro ? this.simbolos[this.atual].lexema : null,
|
|
1125
|
-
};
|
|
1132
|
+
parametro.tipoDado = tipoDadoParametro;
|
|
1126
1133
|
this.avancarEDevolverAnterior();
|
|
1127
1134
|
}
|
|
1128
1135
|
parametros.push(parametro);
|
|
@@ -1188,7 +1195,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1188
1195
|
}
|
|
1189
1196
|
}
|
|
1190
1197
|
this.consumir(delegua_2.default.CHAVE_DIREITA, "Esperado '}' após o escopo da classe.");
|
|
1191
|
-
|
|
1198
|
+
const definicaoClasse = new declaracoes_1.Classe(simbolo, superClasse, metodos, propriedades, pilhaDecoradoresClasse);
|
|
1199
|
+
this.tiposDefinidosEmCodigo[definicaoClasse.simbolo.lexema] = definicaoClasse;
|
|
1200
|
+
return definicaoClasse;
|
|
1192
1201
|
}
|
|
1193
1202
|
/**
|
|
1194
1203
|
* Declarações fora de bloco precisam ser verificadas primeiro por
|
|
@@ -1279,7 +1288,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1279
1288
|
}
|
|
1280
1289
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1281
1290
|
|
|
1282
|
-
},{"../construtos":39,"../construtos/tuplas":48,"../declaracoes":77,"../lexador":146,"../tipos-de-dados/delegua":154,"../tipos-de-simbolos/delegua":157,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"browser-process-hrtime":
|
|
1291
|
+
},{"../construtos":39,"../construtos/tuplas":48,"../declaracoes":77,"../inferenciador":111,"../lexador":146,"../tipos-de-dados/delegua":154,"../tipos-de-simbolos/delegua":157,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"browser-process-hrtime":333}],3:[function(require,module,exports){
|
|
1283
1292
|
"use strict";
|
|
1284
1293
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1285
1294
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2701,7 +2710,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2701
2710
|
}
|
|
2702
2711
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2703
2712
|
|
|
2704
|
-
},{"../../construtos":39,"../../declaracoes":77,"../../lexador":146,"../../tipos-de-simbolos/pitugues":161,"../erro-avaliador-sintatico":7,"browser-process-hrtime":
|
|
2713
|
+
},{"../../construtos":39,"../../declaracoes":77,"../../lexador":146,"../../tipos-de-simbolos/pitugues":161,"../erro-avaliador-sintatico":7,"browser-process-hrtime":333}],5:[function(require,module,exports){
|
|
2705
2714
|
"use strict";
|
|
2706
2715
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2707
2716
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -4376,10 +4385,11 @@ exports.Isto = Isto;
|
|
|
4376
4385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4377
4386
|
exports.Literal = void 0;
|
|
4378
4387
|
class Literal {
|
|
4379
|
-
constructor(hashArquivo, linha, valor) {
|
|
4388
|
+
constructor(hashArquivo, linha, valor, tipo = 'qualquer') {
|
|
4380
4389
|
this.linha = linha;
|
|
4381
4390
|
this.hashArquivo = hashArquivo;
|
|
4382
4391
|
this.valor = valor;
|
|
4392
|
+
this.tipo = tipo;
|
|
4383
4393
|
}
|
|
4384
4394
|
async aceitar(visitante) {
|
|
4385
4395
|
return await visitante.visitarExpressaoLiteral(this);
|
|
@@ -5538,7 +5548,7 @@ exports.DeleguaFuncao = void 0;
|
|
|
5538
5548
|
const chamavel_1 = require("./chamavel");
|
|
5539
5549
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
5540
5550
|
const quebras_1 = require("../quebras");
|
|
5541
|
-
const inferenciador_1 = require("../
|
|
5551
|
+
const inferenciador_1 = require("../inferenciador");
|
|
5542
5552
|
const declaracoes_1 = require("../declaracoes");
|
|
5543
5553
|
/**
|
|
5544
5554
|
* Qualquer função declarada em código é uma DeleguaFuncao.
|
|
@@ -5567,7 +5577,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5567
5577
|
let parametros = '';
|
|
5568
5578
|
let retorno = '';
|
|
5569
5579
|
for (let parametro of this.declaracao.parametros) {
|
|
5570
|
-
parametros += `${parametro.nome.lexema}
|
|
5580
|
+
parametros += `${parametro.nome.lexema}: ${parametro.tipoDado || 'qualquer'}, `;
|
|
5571
5581
|
}
|
|
5572
5582
|
if (this.declaracao.parametros.length > 0) {
|
|
5573
5583
|
parametros = `argumentos=<${parametros.slice(0, -2)}>`;
|
|
@@ -5673,7 +5683,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5673
5683
|
}
|
|
5674
5684
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5675
5685
|
|
|
5676
|
-
},{"../declaracoes":77,"../espaco-variaveis":94,"../
|
|
5686
|
+
},{"../declaracoes":77,"../espaco-variaveis":94,"../inferenciador":111,"../quebras":153,"./chamavel":95}],98:[function(require,module,exports){
|
|
5677
5687
|
"use strict";
|
|
5678
5688
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5679
5689
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6441,7 +6451,7 @@ class FormatadorDelegua {
|
|
|
6441
6451
|
visitarExpressaoFuncaoConstruto(expressao) {
|
|
6442
6452
|
this.codigoFormatado += `(`;
|
|
6443
6453
|
for (let argumento of expressao.parametros) {
|
|
6444
|
-
this.codigoFormatado += `${argumento.nome.lexema}
|
|
6454
|
+
this.codigoFormatado += `${argumento.nome.lexema}: ${argumento.tipoDado || 'qualquer'}, `;
|
|
6445
6455
|
}
|
|
6446
6456
|
if (expressao.parametros.length > 0) {
|
|
6447
6457
|
this.codigoFormatado = this.codigoFormatado.slice(0, -2);
|
|
@@ -6758,17 +6768,124 @@ __exportStar(require("./interpretador"), exports);
|
|
|
6758
6768
|
__exportStar(require("./lexador"), exports);
|
|
6759
6769
|
__exportStar(require("./tradutores"), exports);
|
|
6760
6770
|
|
|
6761
|
-
},{"./avaliador-sintatico":8,"./construtos":39,"./declaracoes":77,"./depuracao":92,"./formatadores":108,"./interfaces":
|
|
6771
|
+
},{"./avaliador-sintatico":8,"./construtos":39,"./declaracoes":77,"./depuracao":92,"./formatadores":108,"./interfaces":117,"./interpretador":134,"./lexador":146,"./tradutores":163}],111:[function(require,module,exports){
|
|
6762
6772
|
"use strict";
|
|
6773
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6774
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6775
|
+
};
|
|
6763
6776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6777
|
+
exports.TipoNativoSimbolo = void 0;
|
|
6778
|
+
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6779
|
+
exports.tipoInferenciaParaTipoDadosElementar = tipoInferenciaParaTipoDadosElementar;
|
|
6780
|
+
const primitivos_1 = __importDefault(require("./tipos-de-dados/primitivos"));
|
|
6781
|
+
const delegua_1 = __importDefault(require("./tipos-de-dados/delegua"));
|
|
6782
|
+
const delegua_2 = __importDefault(require("./tipos-de-simbolos/delegua"));
|
|
6783
|
+
var TipoNativoSimbolo;
|
|
6784
|
+
(function (TipoNativoSimbolo) {
|
|
6785
|
+
TipoNativoSimbolo["ESCREVA"] = "<palavra reservada escreva ajuda=\"palavra reservada usada para apresentar informa\u00E7\u00F5es\">";
|
|
6786
|
+
TipoNativoSimbolo["LEIA"] = "<palavra reservada leia ajuda=\"palavra reservada usada para entrada de dados\">";
|
|
6787
|
+
TipoNativoSimbolo["FUNCAO"] = "<palavra reservada funcao ajuda=\"palavra reservada usada para criar fun\u00E7\u00F5es\">";
|
|
6788
|
+
TipoNativoSimbolo["SE"] = "<palavra reservada se ajuda=\"palavra reservada usada para estruturas condicionais\">";
|
|
6789
|
+
TipoNativoSimbolo["ENQUANTO"] = "<palavra reservada enquanto ajuda=\"palavra reservada usada para loops enquanto\">";
|
|
6790
|
+
TipoNativoSimbolo["PARA"] = "<palavra reservada para ajuda=\"palavra reservada usada para loops para\">";
|
|
6791
|
+
TipoNativoSimbolo["RETORNA"] = "<palavra reservada retornar ajuda=\"palavra reservada usada para retornar valores em fun\u00E7\u00F5es\">";
|
|
6792
|
+
TipoNativoSimbolo["INTEIRO"] = "<palavra reservada inteiro ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo inteiro\">";
|
|
6793
|
+
TipoNativoSimbolo["TEXTO"] = "<palavra reservada texto ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo texto\">";
|
|
6794
|
+
TipoNativoSimbolo["BOOLEANO"] = "<palavra reservada booleano ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo booleano\">";
|
|
6795
|
+
TipoNativoSimbolo["VAZIO"] = "<palavra reservada vazio ajuda=\"palavra reservada usada para definir fun\u00E7\u00F5es que n\u00E3o retornam valores\">";
|
|
6796
|
+
})(TipoNativoSimbolo || (exports.TipoNativoSimbolo = TipoNativoSimbolo = {}));
|
|
6797
|
+
function inferirTipoVariavel(variavel) {
|
|
6798
|
+
const tipo = typeof variavel;
|
|
6799
|
+
switch (tipo) {
|
|
6800
|
+
case 'string':
|
|
6801
|
+
return 'texto';
|
|
6802
|
+
case 'number':
|
|
6803
|
+
return 'número';
|
|
6804
|
+
case 'bigint':
|
|
6805
|
+
return 'longo';
|
|
6806
|
+
case 'boolean':
|
|
6807
|
+
return 'lógico';
|
|
6808
|
+
case 'undefined':
|
|
6809
|
+
return 'nulo';
|
|
6810
|
+
case 'object':
|
|
6811
|
+
if (Array.isArray(variavel)) {
|
|
6812
|
+
const tiposEmVetor = new Set(variavel.map((elemento) => typeof elemento));
|
|
6813
|
+
if (tiposEmVetor.size > 1) {
|
|
6814
|
+
return 'vetor';
|
|
6815
|
+
}
|
|
6816
|
+
const tipoVetor = tiposEmVetor[0];
|
|
6817
|
+
switch (tipoVetor) {
|
|
6818
|
+
case 'bigint':
|
|
6819
|
+
return 'longo[]';
|
|
6820
|
+
case 'boolean':
|
|
6821
|
+
return 'lógico[]';
|
|
6822
|
+
case 'number':
|
|
6823
|
+
return 'número[]';
|
|
6824
|
+
case 'string':
|
|
6825
|
+
return 'texto[]';
|
|
6826
|
+
default:
|
|
6827
|
+
return 'vetor';
|
|
6828
|
+
}
|
|
6829
|
+
}
|
|
6830
|
+
if (variavel === null)
|
|
6831
|
+
return 'nulo';
|
|
6832
|
+
if (variavel.constructor.name === 'DeleguaFuncao')
|
|
6833
|
+
return 'função';
|
|
6834
|
+
if (variavel.constructor.name === 'DeleguaModulo')
|
|
6835
|
+
return 'módulo';
|
|
6836
|
+
if (variavel.constructor.name === 'Classe')
|
|
6837
|
+
return 'objeto';
|
|
6838
|
+
if (variavel.constructor.name === 'Simbolo') {
|
|
6839
|
+
if (typeof variavel === 'object') {
|
|
6840
|
+
const simbolo = variavel;
|
|
6841
|
+
if (simbolo.tipo === delegua_2.default.ESCREVA)
|
|
6842
|
+
return TipoNativoSimbolo.ESCREVA;
|
|
6843
|
+
if (simbolo.tipo === delegua_2.default.FUNCAO || simbolo.tipo === delegua_2.default.FUNÇÃO)
|
|
6844
|
+
return TipoNativoSimbolo.FUNCAO;
|
|
6845
|
+
if (simbolo.tipo === delegua_2.default.LEIA)
|
|
6846
|
+
return TipoNativoSimbolo.LEIA;
|
|
6847
|
+
if (simbolo.tipo === delegua_2.default.SE)
|
|
6848
|
+
return TipoNativoSimbolo.SE;
|
|
6849
|
+
if (simbolo.tipo === delegua_2.default.ENQUANTO)
|
|
6850
|
+
return TipoNativoSimbolo.ENQUANTO;
|
|
6851
|
+
if (simbolo.tipo === delegua_2.default.PARA)
|
|
6852
|
+
return TipoNativoSimbolo.PARA;
|
|
6853
|
+
if (simbolo.tipo === delegua_2.default.RETORNA)
|
|
6854
|
+
return TipoNativoSimbolo.RETORNA;
|
|
6855
|
+
if (simbolo.tipo === primitivos_1.default.TEXTO)
|
|
6856
|
+
return TipoNativoSimbolo.TEXTO;
|
|
6857
|
+
if (simbolo.tipo === primitivos_1.default.BOOLEANO)
|
|
6858
|
+
return TipoNativoSimbolo.BOOLEANO;
|
|
6859
|
+
if (simbolo.tipo === delegua_1.default.VAZIO)
|
|
6860
|
+
return TipoNativoSimbolo.VAZIO;
|
|
6861
|
+
}
|
|
6862
|
+
}
|
|
6863
|
+
return 'dicionário';
|
|
6864
|
+
case 'function':
|
|
6865
|
+
return 'função';
|
|
6866
|
+
case 'symbol':
|
|
6867
|
+
return 'símbolo';
|
|
6868
|
+
}
|
|
6869
|
+
}
|
|
6870
|
+
function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
6871
|
+
switch (tipoInferencia) {
|
|
6872
|
+
// TODO: Colocar exceções aqui.
|
|
6873
|
+
default:
|
|
6874
|
+
return tipoInferencia;
|
|
6875
|
+
}
|
|
6876
|
+
}
|
|
6764
6877
|
|
|
6765
|
-
},{}],112:[function(require,module,exports){
|
|
6878
|
+
},{"./tipos-de-dados/delegua":154,"./tipos-de-dados/primitivos":155,"./tipos-de-simbolos/delegua":157}],112:[function(require,module,exports){
|
|
6766
6879
|
"use strict";
|
|
6767
6880
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6768
6881
|
|
|
6769
6882
|
},{}],113:[function(require,module,exports){
|
|
6770
6883
|
"use strict";
|
|
6771
6884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6885
|
+
|
|
6886
|
+
},{}],114:[function(require,module,exports){
|
|
6887
|
+
"use strict";
|
|
6888
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6772
6889
|
exports.DiagnosticoSeveridade = void 0;
|
|
6773
6890
|
var DiagnosticoSeveridade;
|
|
6774
6891
|
(function (DiagnosticoSeveridade) {
|
|
@@ -6778,7 +6895,7 @@ var DiagnosticoSeveridade;
|
|
|
6778
6895
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
6779
6896
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
6780
6897
|
|
|
6781
|
-
},{}],
|
|
6898
|
+
},{}],115:[function(require,module,exports){
|
|
6782
6899
|
"use strict";
|
|
6783
6900
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6784
6901
|
if (k2 === undefined) k2 = k;
|
|
@@ -6797,11 +6914,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6797
6914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6798
6915
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
6799
6916
|
|
|
6800
|
-
},{"./diagnostico-analisador-semantico":
|
|
6917
|
+
},{"./diagnostico-analisador-semantico":114}],116:[function(require,module,exports){
|
|
6801
6918
|
"use strict";
|
|
6802
6919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6803
6920
|
|
|
6804
|
-
},{}],
|
|
6921
|
+
},{}],117:[function(require,module,exports){
|
|
6805
6922
|
"use strict";
|
|
6806
6923
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6807
6924
|
if (k2 === undefined) k2 = k;
|
|
@@ -6835,11 +6952,7 @@ __exportStar(require("./construtos"), exports);
|
|
|
6835
6952
|
__exportStar(require("./erros"), exports);
|
|
6836
6953
|
__exportStar(require("./retornos"), exports);
|
|
6837
6954
|
|
|
6838
|
-
},{"./avaliador-sintatico-interface":
|
|
6839
|
-
"use strict";
|
|
6840
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6841
|
-
|
|
6842
|
-
},{}],118:[function(require,module,exports){
|
|
6955
|
+
},{"./avaliador-sintatico-interface":112,"./construtos":113,"./erros":115,"./formatador-comum-interface":116,"./interpretador-com-depuracao-interface":118,"./interpretador-interface":119,"./lexador-interface":120,"./parametro-interface":121,"./pilha-interface":122,"./resolvedor-interface":123,"./retornos":124,"./retornos/retorno-execucao-interface":126,"./simbolo-interface":129,"./tradutor-interface":130,"./variavel-interface":131,"./visitante-comum-interface":132}],118:[function(require,module,exports){
|
|
6843
6956
|
"use strict";
|
|
6844
6957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6845
6958
|
|
|
@@ -6861,6 +6974,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6861
6974
|
|
|
6862
6975
|
},{}],123:[function(require,module,exports){
|
|
6863
6976
|
"use strict";
|
|
6977
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6978
|
+
|
|
6979
|
+
},{}],124:[function(require,module,exports){
|
|
6980
|
+
"use strict";
|
|
6864
6981
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6865
6982
|
if (k2 === undefined) k2 = k;
|
|
6866
6983
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -6881,11 +6998,7 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
6881
6998
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
6882
6999
|
__exportStar(require("./retorno-lexador"), exports);
|
|
6883
7000
|
|
|
6884
|
-
},{"./retorno-avaliador-sintatico":
|
|
6885
|
-
"use strict";
|
|
6886
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6887
|
-
|
|
6888
|
-
},{}],125:[function(require,module,exports){
|
|
7001
|
+
},{"./retorno-avaliador-sintatico":125,"./retorno-execucao-interface":126,"./retorno-interpretador":127,"./retorno-lexador":128}],125:[function(require,module,exports){
|
|
6889
7002
|
"use strict";
|
|
6890
7003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6891
7004
|
|
|
@@ -6915,6 +7028,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6915
7028
|
|
|
6916
7029
|
},{}],132:[function(require,module,exports){
|
|
6917
7030
|
"use strict";
|
|
7031
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7032
|
+
|
|
7033
|
+
},{}],133:[function(require,module,exports){
|
|
7034
|
+
"use strict";
|
|
6918
7035
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6919
7036
|
if (k2 === undefined) k2 = k;
|
|
6920
7037
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -6966,7 +7083,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
6966
7083
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
6967
7084
|
}
|
|
6968
7085
|
|
|
6969
|
-
},{"../bibliotecas/biblioteca-global":15,"../estruturas/funcao-padrao":99}],
|
|
7086
|
+
},{"../bibliotecas/biblioteca-global":15,"../estruturas/funcao-padrao":99}],134:[function(require,module,exports){
|
|
6970
7087
|
"use strict";
|
|
6971
7088
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6972
7089
|
if (k2 === undefined) k2 = k;
|
|
@@ -6983,93 +7100,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6983
7100
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6984
7101
|
};
|
|
6985
7102
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6986
|
-
__exportStar(require("./inferenciador"), exports);
|
|
6987
7103
|
__exportStar(require("./interpretador-base"), exports);
|
|
6988
7104
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
6989
7105
|
|
|
6990
|
-
},{"./
|
|
6991
|
-
"use strict";
|
|
6992
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6993
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6994
|
-
};
|
|
6995
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6996
|
-
exports.TIPO_NATIVO = void 0;
|
|
6997
|
-
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6998
|
-
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
6999
|
-
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
7000
|
-
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
7001
|
-
var TIPO_NATIVO;
|
|
7002
|
-
(function (TIPO_NATIVO) {
|
|
7003
|
-
TIPO_NATIVO["ESCREVA"] = "<palavra reservada escreva ajuda=\"palavra reservada usada para apresentar informa\u00E7\u00F5es\">";
|
|
7004
|
-
TIPO_NATIVO["LEIA"] = "<palavra reservada leia ajuda=\"palavra reservada usada para entrada de dados\">";
|
|
7005
|
-
TIPO_NATIVO["FUNCAO"] = "<palavra reservada funcao ajuda=\"palavra reservada usada para criar fun\u00E7\u00F5es\">";
|
|
7006
|
-
TIPO_NATIVO["SE"] = "<palavra reservada se ajuda=\"palavra reservada usada para estruturas condicionais\">";
|
|
7007
|
-
TIPO_NATIVO["ENQUANTO"] = "<palavra reservada enquanto ajuda=\"palavra reservada usada para loops enquanto\">";
|
|
7008
|
-
TIPO_NATIVO["PARA"] = "<palavra reservada para ajuda=\"palavra reservada usada para loops para\">";
|
|
7009
|
-
TIPO_NATIVO["RETORNA"] = "<palavra reservada retornar ajuda=\"palavra reservada usada para retornar valores em fun\u00E7\u00F5es\">";
|
|
7010
|
-
TIPO_NATIVO["INTEIRO"] = "<palavra reservada inteiro ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo inteiro\">";
|
|
7011
|
-
TIPO_NATIVO["TEXTO"] = "<palavra reservada texto ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo texto\">";
|
|
7012
|
-
TIPO_NATIVO["BOOLEANO"] = "<palavra reservada booleano ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo booleano\">";
|
|
7013
|
-
TIPO_NATIVO["VAZIO"] = "<palavra reservada vazio ajuda=\"palavra reservada usada para definir fun\u00E7\u00F5es que n\u00E3o retornam valores\">";
|
|
7014
|
-
})(TIPO_NATIVO || (exports.TIPO_NATIVO = TIPO_NATIVO = {}));
|
|
7015
|
-
function inferirTipoVariavel(variavel) {
|
|
7016
|
-
const tipo = typeof variavel;
|
|
7017
|
-
switch (tipo) {
|
|
7018
|
-
case 'string':
|
|
7019
|
-
return 'texto';
|
|
7020
|
-
case 'number':
|
|
7021
|
-
return 'número';
|
|
7022
|
-
case 'bigint':
|
|
7023
|
-
return 'longo';
|
|
7024
|
-
case 'boolean':
|
|
7025
|
-
return 'lógico';
|
|
7026
|
-
case 'undefined':
|
|
7027
|
-
return 'nulo';
|
|
7028
|
-
case 'object':
|
|
7029
|
-
if (Array.isArray(variavel))
|
|
7030
|
-
return 'vetor';
|
|
7031
|
-
if (variavel === null)
|
|
7032
|
-
return 'nulo';
|
|
7033
|
-
if (variavel.constructor.name === 'DeleguaFuncao')
|
|
7034
|
-
return 'função';
|
|
7035
|
-
if (variavel.constructor.name === 'DeleguaModulo')
|
|
7036
|
-
return 'módulo';
|
|
7037
|
-
if (variavel.constructor.name === 'Classe')
|
|
7038
|
-
return 'objeto';
|
|
7039
|
-
if (variavel.constructor.name === 'Simbolo') {
|
|
7040
|
-
if (typeof variavel === 'object') {
|
|
7041
|
-
const simbolo = variavel;
|
|
7042
|
-
if (simbolo.tipo === delegua_2.default.ESCREVA)
|
|
7043
|
-
return TIPO_NATIVO.ESCREVA;
|
|
7044
|
-
if (simbolo.tipo === delegua_2.default.FUNCAO || simbolo.tipo === delegua_2.default.FUNÇÃO)
|
|
7045
|
-
return TIPO_NATIVO.FUNCAO;
|
|
7046
|
-
if (simbolo.tipo === delegua_2.default.LEIA)
|
|
7047
|
-
return TIPO_NATIVO.LEIA;
|
|
7048
|
-
if (simbolo.tipo === delegua_2.default.SE)
|
|
7049
|
-
return TIPO_NATIVO.SE;
|
|
7050
|
-
if (simbolo.tipo === delegua_2.default.ENQUANTO)
|
|
7051
|
-
return TIPO_NATIVO.ENQUANTO;
|
|
7052
|
-
if (simbolo.tipo === delegua_2.default.PARA)
|
|
7053
|
-
return TIPO_NATIVO.PARA;
|
|
7054
|
-
if (simbolo.tipo === delegua_2.default.RETORNA)
|
|
7055
|
-
return TIPO_NATIVO.RETORNA;
|
|
7056
|
-
if (simbolo.tipo === primitivos_1.default.TEXTO)
|
|
7057
|
-
return TIPO_NATIVO.TEXTO;
|
|
7058
|
-
if (simbolo.tipo === primitivos_1.default.BOOLEANO)
|
|
7059
|
-
return TIPO_NATIVO.BOOLEANO;
|
|
7060
|
-
if (simbolo.tipo === delegua_1.default.VAZIO)
|
|
7061
|
-
return TIPO_NATIVO.VAZIO;
|
|
7062
|
-
}
|
|
7063
|
-
}
|
|
7064
|
-
return 'dicionário';
|
|
7065
|
-
case 'function':
|
|
7066
|
-
return 'função';
|
|
7067
|
-
case 'symbol':
|
|
7068
|
-
return 'símbolo';
|
|
7069
|
-
}
|
|
7070
|
-
}
|
|
7071
|
-
|
|
7072
|
-
},{"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157}],135:[function(require,module,exports){
|
|
7106
|
+
},{"./interpretador-base":135,"./interpretador-com-depuracao":136}],135:[function(require,module,exports){
|
|
7073
7107
|
(function (process){(function (){
|
|
7074
7108
|
"use strict";
|
|
7075
7109
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7082,7 +7116,7 @@ const estruturas_1 = require("../estruturas");
|
|
|
7082
7116
|
const construtos_1 = require("../construtos");
|
|
7083
7117
|
const pilha_escopos_execucao_1 = require("./pilha-escopos-execucao");
|
|
7084
7118
|
const quebras_1 = require("../quebras");
|
|
7085
|
-
const inferenciador_1 = require("
|
|
7119
|
+
const inferenciador_1 = require("../inferenciador");
|
|
7086
7120
|
const metodo_primitiva_1 = require("../estruturas/metodo-primitiva");
|
|
7087
7121
|
const lexador_1 = require("../lexador");
|
|
7088
7122
|
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
@@ -8469,7 +8503,7 @@ class InterpretadorBase {
|
|
|
8469
8503
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8470
8504
|
|
|
8471
8505
|
}).call(this)}).call(this,require('_process'))
|
|
8472
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../construtos":39,"../espaco-variaveis":94,"../estruturas":100,"../estruturas/metodo-primitiva":101,"../excecoes":106,"../lexador":146,"../quebras":153,"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157,"./comum":
|
|
8506
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../construtos":39,"../espaco-variaveis":94,"../estruturas":100,"../estruturas/metodo-primitiva":101,"../excecoes":106,"../inferenciador":111,"../lexador":146,"../quebras":153,"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157,"./comum":133,"./pilha-escopos-execucao":137,"_process":376,"browser-process-hrtime":333}],136:[function(require,module,exports){
|
|
8473
8507
|
"use strict";
|
|
8474
8508
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8475
8509
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8480,7 +8514,7 @@ const lodash_1 = __importDefault(require("lodash"));
|
|
|
8480
8514
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
8481
8515
|
const declaracoes_1 = require("../declaracoes");
|
|
8482
8516
|
const quebras_1 = require("../quebras");
|
|
8483
|
-
const inferenciador_1 = require("
|
|
8517
|
+
const inferenciador_1 = require("../inferenciador");
|
|
8484
8518
|
const interpretador_base_1 = require("./interpretador-base");
|
|
8485
8519
|
/**
|
|
8486
8520
|
* Implementação do Interpretador com suporte a depuração.
|
|
@@ -9041,7 +9075,7 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9041
9075
|
}
|
|
9042
9076
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9043
9077
|
|
|
9044
|
-
},{"../declaracoes":77,"../espaco-variaveis":94,"../
|
|
9078
|
+
},{"../declaracoes":77,"../espaco-variaveis":94,"../inferenciador":111,"../quebras":153,"./interpretador-base":135,"lodash":369}],137:[function(require,module,exports){
|
|
9045
9079
|
"use strict";
|
|
9046
9080
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9047
9081
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9051,7 +9085,7 @@ exports.PilhaEscoposExecucao = void 0;
|
|
|
9051
9085
|
const estruturas_1 = require("../estruturas");
|
|
9052
9086
|
const excecoes_1 = require("../excecoes");
|
|
9053
9087
|
const lexador_1 = require("../lexador");
|
|
9054
|
-
const inferenciador_1 = require("
|
|
9088
|
+
const inferenciador_1 = require("../inferenciador");
|
|
9055
9089
|
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
9056
9090
|
class PilhaEscoposExecucao {
|
|
9057
9091
|
constructor() {
|
|
@@ -9286,7 +9320,7 @@ class PilhaEscoposExecucao {
|
|
|
9286
9320
|
}
|
|
9287
9321
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9288
9322
|
|
|
9289
|
-
},{"../estruturas":100,"../excecoes":106,"../lexador":146,"../tipos-de-dados/delegua":154
|
|
9323
|
+
},{"../estruturas":100,"../excecoes":106,"../inferenciador":111,"../lexador":146,"../tipos-de-dados/delegua":154}],138:[function(require,module,exports){
|
|
9290
9324
|
"use strict";
|
|
9291
9325
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9292
9326
|
if (k2 === undefined) k2 = k;
|
|
@@ -10111,7 +10145,7 @@ class LexadorPitugues {
|
|
|
10111
10145
|
}
|
|
10112
10146
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10113
10147
|
|
|
10114
|
-
},{"../../tipos-de-simbolos/pitugues":161,"../palavras-reservadas":151,"../simbolo":152,"browser-process-hrtime":
|
|
10148
|
+
},{"../../tipos-de-simbolos/pitugues":161,"../palavras-reservadas":151,"../simbolo":152,"browser-process-hrtime":333}],142:[function(require,module,exports){
|
|
10115
10149
|
"use strict";
|
|
10116
10150
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10117
10151
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11087,7 +11121,7 @@ class Lexador {
|
|
|
11087
11121
|
}
|
|
11088
11122
|
exports.Lexador = Lexador;
|
|
11089
11123
|
|
|
11090
|
-
},{"../tipos-de-simbolos/delegua":157,"./palavras-reservadas":151,"./simbolo":152,"browser-process-hrtime":
|
|
11124
|
+
},{"../tipos-de-simbolos/delegua":157,"./palavras-reservadas":151,"./simbolo":152,"browser-process-hrtime":333}],150:[function(require,module,exports){
|
|
11091
11125
|
"use strict";
|
|
11092
11126
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11093
11127
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -24777,7 +24811,7 @@ class TradutorAssemblyScript {
|
|
|
24777
24811
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
24778
24812
|
let resultado = 'function(';
|
|
24779
24813
|
for (const parametro of funcaoConstruto.parametros) {
|
|
24780
|
-
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado
|
|
24814
|
+
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado);
|
|
24781
24815
|
resultado += `${parametro.nome.lexema}${tipoParametro}, `;
|
|
24782
24816
|
}
|
|
24783
24817
|
if (funcaoConstruto.parametros.length > 0) {
|
|
@@ -25934,11 +25968,14 @@ class TradutorPython {
|
|
|
25934
25968
|
if (declaracaoPara.inicializador) {
|
|
25935
25969
|
if (Array.isArray(declaracaoPara.inicializador)) {
|
|
25936
25970
|
for (const declaracaoInicializador of declaracaoPara.inicializador) {
|
|
25937
|
-
resultado +=
|
|
25971
|
+
resultado +=
|
|
25972
|
+
this.dicionarioDeclaracoes[declaracaoInicializador.constructor.name](declaracaoInicializador) +
|
|
25973
|
+
`\n`;
|
|
25938
25974
|
}
|
|
25939
25975
|
}
|
|
25940
25976
|
else {
|
|
25941
|
-
resultado +=
|
|
25977
|
+
resultado +=
|
|
25978
|
+
this.dicionarioDeclaracoes[declaracaoPara.inicializador.constructor.name](declaracaoPara.inicializador) + `\n`;
|
|
25942
25979
|
}
|
|
25943
25980
|
}
|
|
25944
25981
|
const condicao = this.dicionarioConstrutos[declaracaoPara.condicao.constructor.name](declaracaoPara.condicao);
|
|
@@ -31078,7 +31115,7 @@ __decorate([
|
|
|
31078
31115
|
exports.Parser = Parser;
|
|
31079
31116
|
|
|
31080
31117
|
}).call(this)}).call(this,require('_process'))
|
|
31081
|
-
},{"./Decorators":185,"./DefaultErrorStrategy":186,"./Lexer":193,"./ProxyParserErrorListener":203,"./Recognizer":205,"./Token":210,"./atn/ATNDeserializationOptions":221,"./atn/ATNDeserializer":222,"./atn/ParseInfo":258,"./atn/ParserATNSimulator":259,"./atn/ProfilingATNSimulator":268,"./misc/IntegerStack":296,"./misc/Utils":304,"./tree/ErrorNode":305,"./tree/TerminalNode":308,"./tree/pattern/ParseTreePatternMatcher":313,"_process":
|
|
31118
|
+
},{"./Decorators":185,"./DefaultErrorStrategy":186,"./Lexer":193,"./ProxyParserErrorListener":203,"./Recognizer":205,"./Token":210,"./atn/ATNDeserializationOptions":221,"./atn/ATNDeserializer":222,"./atn/ParseInfo":258,"./atn/ParserATNSimulator":259,"./atn/ProfilingATNSimulator":268,"./misc/IntegerStack":296,"./misc/Utils":304,"./tree/ErrorNode":305,"./tree/TerminalNode":308,"./tree/pattern/ParseTreePatternMatcher":313,"_process":376}],199:[function(require,module,exports){
|
|
31082
31119
|
"use strict";
|
|
31083
31120
|
/*!
|
|
31084
31121
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43025,7 +43062,7 @@ __decorate([
|
|
|
43025
43062
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43026
43063
|
|
|
43027
43064
|
}).call(this)}).call(this,require('_process'))
|
|
43028
|
-
},{"../Decorators":185,"./ATN":218,"./ATNSimulator":223,"./AmbiguityInfo":228,"./ContextSensitivityInfo":235,"./DecisionInfo":237,"./ErrorInfo":240,"./LookaheadEventInfo":254,"./ParserATNSimulator":259,"./PredicateEvalInfo":263,"./SemanticContext":273,"./SimulatorState":275,"_process":
|
|
43065
|
+
},{"../Decorators":185,"./ATN":218,"./ATNSimulator":223,"./AmbiguityInfo":228,"./ContextSensitivityInfo":235,"./DecisionInfo":237,"./ErrorInfo":240,"./LookaheadEventInfo":254,"./ParserATNSimulator":259,"./PredicateEvalInfo":263,"./SemanticContext":273,"./SimulatorState":275,"_process":376}],269:[function(require,module,exports){
|
|
43029
43066
|
"use strict";
|
|
43030
43067
|
/*!
|
|
43031
43068
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46017,7 +46054,7 @@ class BitSetIterator {
|
|
|
46017
46054
|
[Symbol.iterator]() { return this; }
|
|
46018
46055
|
}
|
|
46019
46056
|
|
|
46020
|
-
},{"./MurmurHash":300,"util":
|
|
46057
|
+
},{"./MurmurHash":300,"util":381}],293:[function(require,module,exports){
|
|
46021
46058
|
"use strict";
|
|
46022
46059
|
/*!
|
|
46023
46060
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50936,7 +50973,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
50936
50973
|
};
|
|
50937
50974
|
|
|
50938
50975
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
50939
|
-
},{"object.assign/polyfill":
|
|
50976
|
+
},{"object.assign/polyfill":374,"util/":331}],329:[function(require,module,exports){
|
|
50940
50977
|
if (typeof Object.create === 'function') {
|
|
50941
50978
|
// implementation from standard node.js 'util' module
|
|
50942
50979
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51558,7 +51595,28 @@ function hasOwnProperty(obj, prop) {
|
|
|
51558
51595
|
}
|
|
51559
51596
|
|
|
51560
51597
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51561
|
-
},{"./support/isBuffer":330,"_process":
|
|
51598
|
+
},{"./support/isBuffer":330,"_process":376,"inherits":329}],332:[function(require,module,exports){
|
|
51599
|
+
(function (global){(function (){
|
|
51600
|
+
'use strict';
|
|
51601
|
+
|
|
51602
|
+
var possibleNames = require('possible-typed-array-names');
|
|
51603
|
+
|
|
51604
|
+
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
51605
|
+
|
|
51606
|
+
/** @type {import('.')} */
|
|
51607
|
+
module.exports = function availableTypedArrays() {
|
|
51608
|
+
var /** @type {ReturnType<typeof availableTypedArrays>} */ out = [];
|
|
51609
|
+
for (var i = 0; i < possibleNames.length; i++) {
|
|
51610
|
+
if (typeof g[possibleNames[i]] === 'function') {
|
|
51611
|
+
// @ts-expect-error
|
|
51612
|
+
out[out.length] = possibleNames[i];
|
|
51613
|
+
}
|
|
51614
|
+
}
|
|
51615
|
+
return out;
|
|
51616
|
+
};
|
|
51617
|
+
|
|
51618
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51619
|
+
},{"possible-typed-array-names":375}],333:[function(require,module,exports){
|
|
51562
51620
|
(function (process,global){(function (){
|
|
51563
51621
|
module.exports = process.hrtime || hrtime
|
|
51564
51622
|
|
|
@@ -51589,7 +51647,7 @@ function hrtime(previousTimestamp){
|
|
|
51589
51647
|
return [seconds,nanoseconds]
|
|
51590
51648
|
}
|
|
51591
51649
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51592
|
-
},{"_process":
|
|
51650
|
+
},{"_process":376}],334:[function(require,module,exports){
|
|
51593
51651
|
'use strict';
|
|
51594
51652
|
|
|
51595
51653
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51606,7 +51664,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
51606
51664
|
return intrinsic;
|
|
51607
51665
|
};
|
|
51608
51666
|
|
|
51609
|
-
},{"./":
|
|
51667
|
+
},{"./":335,"get-intrinsic":338}],335:[function(require,module,exports){
|
|
51610
51668
|
'use strict';
|
|
51611
51669
|
|
|
51612
51670
|
var bind = require('function-bind');
|
|
@@ -51655,157 +51713,49 @@ if ($defineProperty) {
|
|
|
51655
51713
|
module.exports.apply = applyBind;
|
|
51656
51714
|
}
|
|
51657
51715
|
|
|
51658
|
-
},{"function-bind":
|
|
51659
|
-
'use strict';
|
|
51660
|
-
|
|
51661
|
-
var $defineProperty = require('es-define-property');
|
|
51662
|
-
|
|
51663
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51664
|
-
var $TypeError = require('es-errors/type');
|
|
51665
|
-
|
|
51666
|
-
var gopd = require('gopd');
|
|
51667
|
-
|
|
51668
|
-
/** @type {import('.')} */
|
|
51669
|
-
module.exports = function defineDataProperty(
|
|
51670
|
-
obj,
|
|
51671
|
-
property,
|
|
51672
|
-
value
|
|
51673
|
-
) {
|
|
51674
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
51675
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
51676
|
-
}
|
|
51677
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
51678
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
51679
|
-
}
|
|
51680
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
51681
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
51682
|
-
}
|
|
51683
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
51684
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
51685
|
-
}
|
|
51686
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
51687
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
51688
|
-
}
|
|
51689
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
51690
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
51691
|
-
}
|
|
51692
|
-
|
|
51693
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
51694
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
51695
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
51696
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
51697
|
-
|
|
51698
|
-
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
51699
|
-
var desc = !!gopd && gopd(obj, property);
|
|
51700
|
-
|
|
51701
|
-
if ($defineProperty) {
|
|
51702
|
-
$defineProperty(obj, property, {
|
|
51703
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
51704
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
51705
|
-
value: value,
|
|
51706
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
51707
|
-
});
|
|
51708
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
51709
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
51710
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
51711
|
-
} else {
|
|
51712
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
51713
|
-
}
|
|
51714
|
-
};
|
|
51715
|
-
|
|
51716
|
-
},{"es-define-property":336,"es-errors/syntax":344,"es-errors/type":345,"gopd":351}],336:[function(require,module,exports){
|
|
51717
|
-
'use strict';
|
|
51718
|
-
|
|
51719
|
-
var GetIntrinsic = require('get-intrinsic');
|
|
51720
|
-
|
|
51721
|
-
/** @type {import('.')} */
|
|
51722
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
51723
|
-
if ($defineProperty) {
|
|
51724
|
-
try {
|
|
51725
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
51726
|
-
} catch (e) {
|
|
51727
|
-
// IE 8 has a broken defineProperty
|
|
51728
|
-
$defineProperty = false;
|
|
51729
|
-
}
|
|
51730
|
-
}
|
|
51731
|
-
|
|
51732
|
-
module.exports = $defineProperty;
|
|
51733
|
-
|
|
51734
|
-
},{"get-intrinsic":339}],337:[function(require,module,exports){
|
|
51716
|
+
},{"function-bind":337,"get-intrinsic":338}],336:[function(require,module,exports){
|
|
51735
51717
|
'use strict';
|
|
51736
51718
|
|
|
51737
51719
|
/* eslint no-invalid-this: 1 */
|
|
51738
51720
|
|
|
51739
51721
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
51722
|
+
var slice = Array.prototype.slice;
|
|
51740
51723
|
var toStr = Object.prototype.toString;
|
|
51741
|
-
var max = Math.max;
|
|
51742
51724
|
var funcType = '[object Function]';
|
|
51743
51725
|
|
|
51744
|
-
var concatty = function concatty(a, b) {
|
|
51745
|
-
var arr = [];
|
|
51746
|
-
|
|
51747
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
51748
|
-
arr[i] = a[i];
|
|
51749
|
-
}
|
|
51750
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
51751
|
-
arr[j + a.length] = b[j];
|
|
51752
|
-
}
|
|
51753
|
-
|
|
51754
|
-
return arr;
|
|
51755
|
-
};
|
|
51756
|
-
|
|
51757
|
-
var slicy = function slicy(arrLike, offset) {
|
|
51758
|
-
var arr = [];
|
|
51759
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
51760
|
-
arr[j] = arrLike[i];
|
|
51761
|
-
}
|
|
51762
|
-
return arr;
|
|
51763
|
-
};
|
|
51764
|
-
|
|
51765
|
-
var joiny = function (arr, joiner) {
|
|
51766
|
-
var str = '';
|
|
51767
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
51768
|
-
str += arr[i];
|
|
51769
|
-
if (i + 1 < arr.length) {
|
|
51770
|
-
str += joiner;
|
|
51771
|
-
}
|
|
51772
|
-
}
|
|
51773
|
-
return str;
|
|
51774
|
-
};
|
|
51775
|
-
|
|
51776
51726
|
module.exports = function bind(that) {
|
|
51777
51727
|
var target = this;
|
|
51778
|
-
if (typeof target !== 'function' || toStr.
|
|
51728
|
+
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
|
|
51779
51729
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
51780
51730
|
}
|
|
51781
|
-
var args =
|
|
51731
|
+
var args = slice.call(arguments, 1);
|
|
51782
51732
|
|
|
51783
51733
|
var bound;
|
|
51784
51734
|
var binder = function () {
|
|
51785
51735
|
if (this instanceof bound) {
|
|
51786
51736
|
var result = target.apply(
|
|
51787
51737
|
this,
|
|
51788
|
-
|
|
51738
|
+
args.concat(slice.call(arguments))
|
|
51789
51739
|
);
|
|
51790
51740
|
if (Object(result) === result) {
|
|
51791
51741
|
return result;
|
|
51792
51742
|
}
|
|
51793
51743
|
return this;
|
|
51744
|
+
} else {
|
|
51745
|
+
return target.apply(
|
|
51746
|
+
that,
|
|
51747
|
+
args.concat(slice.call(arguments))
|
|
51748
|
+
);
|
|
51794
51749
|
}
|
|
51795
|
-
return target.apply(
|
|
51796
|
-
that,
|
|
51797
|
-
concatty(args, arguments)
|
|
51798
|
-
);
|
|
51799
|
-
|
|
51800
51750
|
};
|
|
51801
51751
|
|
|
51802
|
-
var boundLength = max(0, target.length - args.length);
|
|
51752
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
51803
51753
|
var boundArgs = [];
|
|
51804
51754
|
for (var i = 0; i < boundLength; i++) {
|
|
51805
|
-
boundArgs
|
|
51755
|
+
boundArgs.push('$' + i);
|
|
51806
51756
|
}
|
|
51807
51757
|
|
|
51808
|
-
bound = Function('binder', 'return function (' +
|
|
51758
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
51809
51759
|
|
|
51810
51760
|
if (target.prototype) {
|
|
51811
51761
|
var Empty = function Empty() {};
|
|
@@ -51817,27 +51767,21 @@ module.exports = function bind(that) {
|
|
|
51817
51767
|
return bound;
|
|
51818
51768
|
};
|
|
51819
51769
|
|
|
51820
|
-
},{}],
|
|
51770
|
+
},{}],337:[function(require,module,exports){
|
|
51821
51771
|
'use strict';
|
|
51822
51772
|
|
|
51823
51773
|
var implementation = require('./implementation');
|
|
51824
51774
|
|
|
51825
51775
|
module.exports = Function.prototype.bind || implementation;
|
|
51826
51776
|
|
|
51827
|
-
},{"./implementation":
|
|
51777
|
+
},{"./implementation":336}],338:[function(require,module,exports){
|
|
51828
51778
|
'use strict';
|
|
51829
51779
|
|
|
51830
51780
|
var undefined;
|
|
51831
51781
|
|
|
51832
|
-
var $
|
|
51833
|
-
var $EvalError = require('es-errors/eval');
|
|
51834
|
-
var $RangeError = require('es-errors/range');
|
|
51835
|
-
var $ReferenceError = require('es-errors/ref');
|
|
51836
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51837
|
-
var $TypeError = require('es-errors/type');
|
|
51838
|
-
var $URIError = require('es-errors/uri');
|
|
51839
|
-
|
|
51782
|
+
var $SyntaxError = SyntaxError;
|
|
51840
51783
|
var $Function = Function;
|
|
51784
|
+
var $TypeError = TypeError;
|
|
51841
51785
|
|
|
51842
51786
|
// eslint-disable-next-line consistent-return
|
|
51843
51787
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -51876,24 +51820,18 @@ var ThrowTypeError = $gOPD
|
|
|
51876
51820
|
: throwTypeError;
|
|
51877
51821
|
|
|
51878
51822
|
var hasSymbols = require('has-symbols')();
|
|
51879
|
-
var hasProto = require('has-proto')();
|
|
51880
51823
|
|
|
51881
|
-
var getProto = Object.getPrototypeOf || (
|
|
51882
|
-
hasProto
|
|
51883
|
-
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
51884
|
-
: null
|
|
51885
|
-
);
|
|
51824
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
51886
51825
|
|
|
51887
51826
|
var needsEval = {};
|
|
51888
51827
|
|
|
51889
|
-
var TypedArray = typeof Uint8Array === 'undefined'
|
|
51828
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
51890
51829
|
|
|
51891
51830
|
var INTRINSICS = {
|
|
51892
|
-
__proto__: null,
|
|
51893
51831
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
51894
51832
|
'%Array%': Array,
|
|
51895
51833
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
51896
|
-
'%ArrayIteratorPrototype%': hasSymbols
|
|
51834
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
51897
51835
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
51898
51836
|
'%AsyncFunction%': needsEval,
|
|
51899
51837
|
'%AsyncGenerator%': needsEval,
|
|
@@ -51910,9 +51848,9 @@ var INTRINSICS = {
|
|
|
51910
51848
|
'%decodeURIComponent%': decodeURIComponent,
|
|
51911
51849
|
'%encodeURI%': encodeURI,
|
|
51912
51850
|
'%encodeURIComponent%': encodeURIComponent,
|
|
51913
|
-
'%Error%':
|
|
51851
|
+
'%Error%': Error,
|
|
51914
51852
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
51915
|
-
'%EvalError%':
|
|
51853
|
+
'%EvalError%': EvalError,
|
|
51916
51854
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
51917
51855
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
51918
51856
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -51923,10 +51861,10 @@ var INTRINSICS = {
|
|
|
51923
51861
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
51924
51862
|
'%isFinite%': isFinite,
|
|
51925
51863
|
'%isNaN%': isNaN,
|
|
51926
|
-
'%IteratorPrototype%': hasSymbols
|
|
51864
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
51927
51865
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
51928
51866
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
51929
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols
|
|
51867
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
51930
51868
|
'%Math%': Math,
|
|
51931
51869
|
'%Number%': Number,
|
|
51932
51870
|
'%Object%': Object,
|
|
@@ -51934,15 +51872,15 @@ var INTRINSICS = {
|
|
|
51934
51872
|
'%parseInt%': parseInt,
|
|
51935
51873
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
51936
51874
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
51937
|
-
'%RangeError%':
|
|
51938
|
-
'%ReferenceError%':
|
|
51875
|
+
'%RangeError%': RangeError,
|
|
51876
|
+
'%ReferenceError%': ReferenceError,
|
|
51939
51877
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
51940
51878
|
'%RegExp%': RegExp,
|
|
51941
51879
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
51942
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols
|
|
51880
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
51943
51881
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
51944
51882
|
'%String%': String,
|
|
51945
|
-
'%StringIteratorPrototype%': hasSymbols
|
|
51883
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
51946
51884
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
51947
51885
|
'%SyntaxError%': $SyntaxError,
|
|
51948
51886
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -51952,20 +51890,18 @@ var INTRINSICS = {
|
|
|
51952
51890
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
51953
51891
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
51954
51892
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
51955
|
-
'%URIError%':
|
|
51893
|
+
'%URIError%': URIError,
|
|
51956
51894
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
51957
51895
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
51958
51896
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
51959
51897
|
};
|
|
51960
51898
|
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
|
|
51965
|
-
|
|
51966
|
-
|
|
51967
|
-
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
51968
|
-
}
|
|
51899
|
+
try {
|
|
51900
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
51901
|
+
} catch (e) {
|
|
51902
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
51903
|
+
var errorProto = getProto(getProto(e));
|
|
51904
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
51969
51905
|
}
|
|
51970
51906
|
|
|
51971
51907
|
var doEval = function doEval(name) {
|
|
@@ -51983,7 +51919,7 @@ var doEval = function doEval(name) {
|
|
|
51983
51919
|
}
|
|
51984
51920
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
51985
51921
|
var gen = doEval('%AsyncGenerator%');
|
|
51986
|
-
if (gen
|
|
51922
|
+
if (gen) {
|
|
51987
51923
|
value = getProto(gen.prototype);
|
|
51988
51924
|
}
|
|
51989
51925
|
}
|
|
@@ -51994,7 +51930,6 @@ var doEval = function doEval(name) {
|
|
|
51994
51930
|
};
|
|
51995
51931
|
|
|
51996
51932
|
var LEGACY_ALIASES = {
|
|
51997
|
-
__proto__: null,
|
|
51998
51933
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
51999
51934
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
52000
51935
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52049,7 +51984,7 @@ var LEGACY_ALIASES = {
|
|
|
52049
51984
|
};
|
|
52050
51985
|
|
|
52051
51986
|
var bind = require('function-bind');
|
|
52052
|
-
var hasOwn = require('
|
|
51987
|
+
var hasOwn = require('has');
|
|
52053
51988
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52054
51989
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52055
51990
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52185,49 +52120,125 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52185
52120
|
return value;
|
|
52186
52121
|
};
|
|
52187
52122
|
|
|
52188
|
-
},{"
|
|
52123
|
+
},{"function-bind":337,"has":362,"has-symbols":357}],339:[function(require,module,exports){
|
|
52124
|
+
'use strict';
|
|
52125
|
+
|
|
52126
|
+
var $defineProperty = require('es-define-property');
|
|
52127
|
+
|
|
52128
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
52129
|
+
var $TypeError = require('es-errors/type');
|
|
52130
|
+
|
|
52131
|
+
var gopd = require('gopd');
|
|
52132
|
+
|
|
52133
|
+
/** @type {import('.')} */
|
|
52134
|
+
module.exports = function defineDataProperty(
|
|
52135
|
+
obj,
|
|
52136
|
+
property,
|
|
52137
|
+
value
|
|
52138
|
+
) {
|
|
52139
|
+
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
52140
|
+
throw new $TypeError('`obj` must be an object or a function`');
|
|
52141
|
+
}
|
|
52142
|
+
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
52143
|
+
throw new $TypeError('`property` must be a string or a symbol`');
|
|
52144
|
+
}
|
|
52145
|
+
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
52146
|
+
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
52147
|
+
}
|
|
52148
|
+
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
52149
|
+
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
52150
|
+
}
|
|
52151
|
+
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
52152
|
+
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
52153
|
+
}
|
|
52154
|
+
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
52155
|
+
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
52156
|
+
}
|
|
52157
|
+
|
|
52158
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
52159
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
52160
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
52161
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
52162
|
+
|
|
52163
|
+
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
52164
|
+
var desc = !!gopd && gopd(obj, property);
|
|
52165
|
+
|
|
52166
|
+
if ($defineProperty) {
|
|
52167
|
+
$defineProperty(obj, property, {
|
|
52168
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
52169
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
52170
|
+
value: value,
|
|
52171
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
52172
|
+
});
|
|
52173
|
+
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
52174
|
+
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
52175
|
+
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
52176
|
+
} else {
|
|
52177
|
+
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
52178
|
+
}
|
|
52179
|
+
};
|
|
52180
|
+
|
|
52181
|
+
},{"es-define-property":340,"es-errors/syntax":345,"es-errors/type":346,"gopd":352}],340:[function(require,module,exports){
|
|
52182
|
+
'use strict';
|
|
52183
|
+
|
|
52184
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
52185
|
+
|
|
52186
|
+
/** @type {import('.')} */
|
|
52187
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
52188
|
+
if ($defineProperty) {
|
|
52189
|
+
try {
|
|
52190
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
52191
|
+
} catch (e) {
|
|
52192
|
+
// IE 8 has a broken defineProperty
|
|
52193
|
+
$defineProperty = false;
|
|
52194
|
+
}
|
|
52195
|
+
}
|
|
52196
|
+
|
|
52197
|
+
module.exports = $defineProperty;
|
|
52198
|
+
|
|
52199
|
+
},{"get-intrinsic":351}],341:[function(require,module,exports){
|
|
52189
52200
|
'use strict';
|
|
52190
52201
|
|
|
52191
52202
|
/** @type {import('./eval')} */
|
|
52192
52203
|
module.exports = EvalError;
|
|
52193
52204
|
|
|
52194
|
-
},{}],
|
|
52205
|
+
},{}],342:[function(require,module,exports){
|
|
52195
52206
|
'use strict';
|
|
52196
52207
|
|
|
52197
52208
|
/** @type {import('.')} */
|
|
52198
52209
|
module.exports = Error;
|
|
52199
52210
|
|
|
52200
|
-
},{}],
|
|
52211
|
+
},{}],343:[function(require,module,exports){
|
|
52201
52212
|
'use strict';
|
|
52202
52213
|
|
|
52203
52214
|
/** @type {import('./range')} */
|
|
52204
52215
|
module.exports = RangeError;
|
|
52205
52216
|
|
|
52206
|
-
},{}],
|
|
52217
|
+
},{}],344:[function(require,module,exports){
|
|
52207
52218
|
'use strict';
|
|
52208
52219
|
|
|
52209
52220
|
/** @type {import('./ref')} */
|
|
52210
52221
|
module.exports = ReferenceError;
|
|
52211
52222
|
|
|
52212
|
-
},{}],
|
|
52223
|
+
},{}],345:[function(require,module,exports){
|
|
52213
52224
|
'use strict';
|
|
52214
52225
|
|
|
52215
52226
|
/** @type {import('./syntax')} */
|
|
52216
52227
|
module.exports = SyntaxError;
|
|
52217
52228
|
|
|
52218
|
-
},{}],
|
|
52229
|
+
},{}],346:[function(require,module,exports){
|
|
52219
52230
|
'use strict';
|
|
52220
52231
|
|
|
52221
52232
|
/** @type {import('./type')} */
|
|
52222
52233
|
module.exports = TypeError;
|
|
52223
52234
|
|
|
52224
|
-
},{}],
|
|
52235
|
+
},{}],347:[function(require,module,exports){
|
|
52225
52236
|
'use strict';
|
|
52226
52237
|
|
|
52227
52238
|
/** @type {import('./uri')} */
|
|
52228
52239
|
module.exports = URIError;
|
|
52229
52240
|
|
|
52230
|
-
},{}],
|
|
52241
|
+
},{}],348:[function(require,module,exports){
|
|
52231
52242
|
'use strict';
|
|
52232
52243
|
|
|
52233
52244
|
var isCallable = require('is-callable');
|
|
@@ -52291,49 +52302,81 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52291
52302
|
|
|
52292
52303
|
module.exports = forEach;
|
|
52293
52304
|
|
|
52294
|
-
},{"is-callable":
|
|
52305
|
+
},{"is-callable":366}],349:[function(require,module,exports){
|
|
52295
52306
|
'use strict';
|
|
52296
52307
|
|
|
52297
52308
|
/* eslint no-invalid-this: 1 */
|
|
52298
52309
|
|
|
52299
52310
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
52300
|
-
var slice = Array.prototype.slice;
|
|
52301
52311
|
var toStr = Object.prototype.toString;
|
|
52312
|
+
var max = Math.max;
|
|
52302
52313
|
var funcType = '[object Function]';
|
|
52303
52314
|
|
|
52315
|
+
var concatty = function concatty(a, b) {
|
|
52316
|
+
var arr = [];
|
|
52317
|
+
|
|
52318
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
52319
|
+
arr[i] = a[i];
|
|
52320
|
+
}
|
|
52321
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
52322
|
+
arr[j + a.length] = b[j];
|
|
52323
|
+
}
|
|
52324
|
+
|
|
52325
|
+
return arr;
|
|
52326
|
+
};
|
|
52327
|
+
|
|
52328
|
+
var slicy = function slicy(arrLike, offset) {
|
|
52329
|
+
var arr = [];
|
|
52330
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
52331
|
+
arr[j] = arrLike[i];
|
|
52332
|
+
}
|
|
52333
|
+
return arr;
|
|
52334
|
+
};
|
|
52335
|
+
|
|
52336
|
+
var joiny = function (arr, joiner) {
|
|
52337
|
+
var str = '';
|
|
52338
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
52339
|
+
str += arr[i];
|
|
52340
|
+
if (i + 1 < arr.length) {
|
|
52341
|
+
str += joiner;
|
|
52342
|
+
}
|
|
52343
|
+
}
|
|
52344
|
+
return str;
|
|
52345
|
+
};
|
|
52346
|
+
|
|
52304
52347
|
module.exports = function bind(that) {
|
|
52305
52348
|
var target = this;
|
|
52306
|
-
if (typeof target !== 'function' || toStr.
|
|
52349
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
52307
52350
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
52308
52351
|
}
|
|
52309
|
-
var args =
|
|
52352
|
+
var args = slicy(arguments, 1);
|
|
52310
52353
|
|
|
52311
52354
|
var bound;
|
|
52312
52355
|
var binder = function () {
|
|
52313
52356
|
if (this instanceof bound) {
|
|
52314
52357
|
var result = target.apply(
|
|
52315
52358
|
this,
|
|
52316
|
-
args
|
|
52359
|
+
concatty(args, arguments)
|
|
52317
52360
|
);
|
|
52318
52361
|
if (Object(result) === result) {
|
|
52319
52362
|
return result;
|
|
52320
52363
|
}
|
|
52321
52364
|
return this;
|
|
52322
|
-
} else {
|
|
52323
|
-
return target.apply(
|
|
52324
|
-
that,
|
|
52325
|
-
args.concat(slice.call(arguments))
|
|
52326
|
-
);
|
|
52327
52365
|
}
|
|
52366
|
+
return target.apply(
|
|
52367
|
+
that,
|
|
52368
|
+
concatty(args, arguments)
|
|
52369
|
+
);
|
|
52370
|
+
|
|
52328
52371
|
};
|
|
52329
52372
|
|
|
52330
|
-
var boundLength =
|
|
52373
|
+
var boundLength = max(0, target.length - args.length);
|
|
52331
52374
|
var boundArgs = [];
|
|
52332
52375
|
for (var i = 0; i < boundLength; i++) {
|
|
52333
|
-
boundArgs
|
|
52376
|
+
boundArgs[i] = '$' + i;
|
|
52334
52377
|
}
|
|
52335
52378
|
|
|
52336
|
-
bound = Function('binder', 'return function (' + boundArgs
|
|
52379
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
52337
52380
|
|
|
52338
52381
|
if (target.prototype) {
|
|
52339
52382
|
var Empty = function Empty() {};
|
|
@@ -52345,16 +52388,22 @@ module.exports = function bind(that) {
|
|
|
52345
52388
|
return bound;
|
|
52346
52389
|
};
|
|
52347
52390
|
|
|
52348
|
-
},{}],
|
|
52349
|
-
arguments[4][
|
|
52350
|
-
},{"./implementation":
|
|
52391
|
+
},{}],350:[function(require,module,exports){
|
|
52392
|
+
arguments[4][337][0].apply(exports,arguments)
|
|
52393
|
+
},{"./implementation":349,"dup":337}],351:[function(require,module,exports){
|
|
52351
52394
|
'use strict';
|
|
52352
52395
|
|
|
52353
52396
|
var undefined;
|
|
52354
52397
|
|
|
52355
|
-
var $
|
|
52398
|
+
var $Error = require('es-errors');
|
|
52399
|
+
var $EvalError = require('es-errors/eval');
|
|
52400
|
+
var $RangeError = require('es-errors/range');
|
|
52401
|
+
var $ReferenceError = require('es-errors/ref');
|
|
52402
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
52403
|
+
var $TypeError = require('es-errors/type');
|
|
52404
|
+
var $URIError = require('es-errors/uri');
|
|
52405
|
+
|
|
52356
52406
|
var $Function = Function;
|
|
52357
|
-
var $TypeError = TypeError;
|
|
52358
52407
|
|
|
52359
52408
|
// eslint-disable-next-line consistent-return
|
|
52360
52409
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -52393,18 +52442,24 @@ var ThrowTypeError = $gOPD
|
|
|
52393
52442
|
: throwTypeError;
|
|
52394
52443
|
|
|
52395
52444
|
var hasSymbols = require('has-symbols')();
|
|
52445
|
+
var hasProto = require('has-proto')();
|
|
52396
52446
|
|
|
52397
|
-
var getProto = Object.getPrototypeOf ||
|
|
52447
|
+
var getProto = Object.getPrototypeOf || (
|
|
52448
|
+
hasProto
|
|
52449
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
52450
|
+
: null
|
|
52451
|
+
);
|
|
52398
52452
|
|
|
52399
52453
|
var needsEval = {};
|
|
52400
52454
|
|
|
52401
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
52455
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
52402
52456
|
|
|
52403
52457
|
var INTRINSICS = {
|
|
52458
|
+
__proto__: null,
|
|
52404
52459
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
52405
52460
|
'%Array%': Array,
|
|
52406
52461
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
52407
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
52462
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
52408
52463
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
52409
52464
|
'%AsyncFunction%': needsEval,
|
|
52410
52465
|
'%AsyncGenerator%': needsEval,
|
|
@@ -52421,9 +52476,9 @@ var INTRINSICS = {
|
|
|
52421
52476
|
'%decodeURIComponent%': decodeURIComponent,
|
|
52422
52477
|
'%encodeURI%': encodeURI,
|
|
52423
52478
|
'%encodeURIComponent%': encodeURIComponent,
|
|
52424
|
-
'%Error%': Error,
|
|
52479
|
+
'%Error%': $Error,
|
|
52425
52480
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
52426
|
-
'%EvalError%': EvalError,
|
|
52481
|
+
'%EvalError%': $EvalError,
|
|
52427
52482
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
52428
52483
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
52429
52484
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -52434,10 +52489,10 @@ var INTRINSICS = {
|
|
|
52434
52489
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
52435
52490
|
'%isFinite%': isFinite,
|
|
52436
52491
|
'%isNaN%': isNaN,
|
|
52437
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52492
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52438
52493
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
52439
52494
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
52440
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52495
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52441
52496
|
'%Math%': Math,
|
|
52442
52497
|
'%Number%': Number,
|
|
52443
52498
|
'%Object%': Object,
|
|
@@ -52445,15 +52500,15 @@ var INTRINSICS = {
|
|
|
52445
52500
|
'%parseInt%': parseInt,
|
|
52446
52501
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
52447
52502
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
52448
|
-
'%RangeError%': RangeError,
|
|
52449
|
-
'%ReferenceError%': ReferenceError,
|
|
52503
|
+
'%RangeError%': $RangeError,
|
|
52504
|
+
'%ReferenceError%': $ReferenceError,
|
|
52450
52505
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
52451
52506
|
'%RegExp%': RegExp,
|
|
52452
52507
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
52453
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52508
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52454
52509
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
52455
52510
|
'%String%': String,
|
|
52456
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52511
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52457
52512
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
52458
52513
|
'%SyntaxError%': $SyntaxError,
|
|
52459
52514
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -52463,18 +52518,20 @@ var INTRINSICS = {
|
|
|
52463
52518
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
52464
52519
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
52465
52520
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
52466
|
-
'%URIError%': URIError,
|
|
52521
|
+
'%URIError%': $URIError,
|
|
52467
52522
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
52468
52523
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
52469
52524
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
52470
52525
|
};
|
|
52471
52526
|
|
|
52472
|
-
|
|
52473
|
-
|
|
52474
|
-
|
|
52475
|
-
|
|
52476
|
-
|
|
52477
|
-
|
|
52527
|
+
if (getProto) {
|
|
52528
|
+
try {
|
|
52529
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
52530
|
+
} catch (e) {
|
|
52531
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
52532
|
+
var errorProto = getProto(getProto(e));
|
|
52533
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
52534
|
+
}
|
|
52478
52535
|
}
|
|
52479
52536
|
|
|
52480
52537
|
var doEval = function doEval(name) {
|
|
@@ -52492,7 +52549,7 @@ var doEval = function doEval(name) {
|
|
|
52492
52549
|
}
|
|
52493
52550
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
52494
52551
|
var gen = doEval('%AsyncGenerator%');
|
|
52495
|
-
if (gen) {
|
|
52552
|
+
if (gen && getProto) {
|
|
52496
52553
|
value = getProto(gen.prototype);
|
|
52497
52554
|
}
|
|
52498
52555
|
}
|
|
@@ -52503,6 +52560,7 @@ var doEval = function doEval(name) {
|
|
|
52503
52560
|
};
|
|
52504
52561
|
|
|
52505
52562
|
var LEGACY_ALIASES = {
|
|
52563
|
+
__proto__: null,
|
|
52506
52564
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
52507
52565
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
52508
52566
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52557,7 +52615,7 @@ var LEGACY_ALIASES = {
|
|
|
52557
52615
|
};
|
|
52558
52616
|
|
|
52559
52617
|
var bind = require('function-bind');
|
|
52560
|
-
var hasOwn = require('
|
|
52618
|
+
var hasOwn = require('hasown');
|
|
52561
52619
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52562
52620
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52563
52621
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52693,7 +52751,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52693
52751
|
return value;
|
|
52694
52752
|
};
|
|
52695
52753
|
|
|
52696
|
-
},{"function-bind":
|
|
52754
|
+
},{"es-errors":342,"es-errors/eval":341,"es-errors/range":343,"es-errors/ref":344,"es-errors/syntax":345,"es-errors/type":346,"es-errors/uri":347,"function-bind":350,"has-proto":356,"has-symbols":357,"hasown":363}],352:[function(require,module,exports){
|
|
52697
52755
|
'use strict';
|
|
52698
52756
|
|
|
52699
52757
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52711,7 +52769,13 @@ if ($gOPD) {
|
|
|
52711
52769
|
|
|
52712
52770
|
module.exports = $gOPD;
|
|
52713
52771
|
|
|
52714
|
-
},{"get-intrinsic":
|
|
52772
|
+
},{"get-intrinsic":355}],353:[function(require,module,exports){
|
|
52773
|
+
arguments[4][336][0].apply(exports,arguments)
|
|
52774
|
+
},{"dup":336}],354:[function(require,module,exports){
|
|
52775
|
+
arguments[4][337][0].apply(exports,arguments)
|
|
52776
|
+
},{"./implementation":353,"dup":337}],355:[function(require,module,exports){
|
|
52777
|
+
arguments[4][338][0].apply(exports,arguments)
|
|
52778
|
+
},{"dup":338,"function-bind":354,"has":362,"has-symbols":357}],356:[function(require,module,exports){
|
|
52715
52779
|
'use strict';
|
|
52716
52780
|
|
|
52717
52781
|
var test = {
|
|
@@ -52724,7 +52788,7 @@ module.exports = function hasProto() {
|
|
|
52724
52788
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
52725
52789
|
};
|
|
52726
52790
|
|
|
52727
|
-
},{}],
|
|
52791
|
+
},{}],357:[function(require,module,exports){
|
|
52728
52792
|
'use strict';
|
|
52729
52793
|
|
|
52730
52794
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -52739,7 +52803,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
52739
52803
|
return hasSymbolSham();
|
|
52740
52804
|
};
|
|
52741
52805
|
|
|
52742
|
-
},{"./shams":
|
|
52806
|
+
},{"./shams":358}],358:[function(require,module,exports){
|
|
52743
52807
|
'use strict';
|
|
52744
52808
|
|
|
52745
52809
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -52783,7 +52847,7 @@ module.exports = function hasSymbols() {
|
|
|
52783
52847
|
return true;
|
|
52784
52848
|
};
|
|
52785
52849
|
|
|
52786
|
-
},{}],
|
|
52850
|
+
},{}],359:[function(require,module,exports){
|
|
52787
52851
|
'use strict';
|
|
52788
52852
|
|
|
52789
52853
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -52792,14 +52856,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
52792
52856
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
52793
52857
|
};
|
|
52794
52858
|
|
|
52795
|
-
},{"has-symbols/shams":
|
|
52859
|
+
},{"has-symbols/shams":358}],360:[function(require,module,exports){
|
|
52860
|
+
arguments[4][336][0].apply(exports,arguments)
|
|
52861
|
+
},{"dup":336}],361:[function(require,module,exports){
|
|
52862
|
+
arguments[4][337][0].apply(exports,arguments)
|
|
52863
|
+
},{"./implementation":360,"dup":337}],362:[function(require,module,exports){
|
|
52796
52864
|
'use strict';
|
|
52797
52865
|
|
|
52798
52866
|
var bind = require('function-bind');
|
|
52799
52867
|
|
|
52800
52868
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
52801
52869
|
|
|
52802
|
-
},{"function-bind":
|
|
52870
|
+
},{"function-bind":361}],363:[function(require,module,exports){
|
|
52803
52871
|
'use strict';
|
|
52804
52872
|
|
|
52805
52873
|
var call = Function.prototype.call;
|
|
@@ -52809,11 +52877,7 @@ var bind = require('function-bind');
|
|
|
52809
52877
|
/** @type {import('.')} */
|
|
52810
52878
|
module.exports = bind.call(call, $hasOwn);
|
|
52811
52879
|
|
|
52812
|
-
},{"function-bind":
|
|
52813
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
52814
|
-
},{"dup":337}],359:[function(require,module,exports){
|
|
52815
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
52816
|
-
},{"./implementation":358,"dup":338}],360:[function(require,module,exports){
|
|
52880
|
+
},{"function-bind":350}],364:[function(require,module,exports){
|
|
52817
52881
|
if (typeof Object.create === 'function') {
|
|
52818
52882
|
// implementation from standard node.js 'util' module
|
|
52819
52883
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -52842,7 +52906,7 @@ if (typeof Object.create === 'function') {
|
|
|
52842
52906
|
}
|
|
52843
52907
|
}
|
|
52844
52908
|
|
|
52845
|
-
},{}],
|
|
52909
|
+
},{}],365:[function(require,module,exports){
|
|
52846
52910
|
'use strict';
|
|
52847
52911
|
|
|
52848
52912
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -52877,7 +52941,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
52877
52941
|
|
|
52878
52942
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
52879
52943
|
|
|
52880
|
-
},{"call-bind/callBound":
|
|
52944
|
+
},{"call-bind/callBound":334,"has-tostringtag/shams":359}],366:[function(require,module,exports){
|
|
52881
52945
|
'use strict';
|
|
52882
52946
|
|
|
52883
52947
|
var fnToStr = Function.prototype.toString;
|
|
@@ -52980,7 +53044,7 @@ module.exports = reflectApply
|
|
|
52980
53044
|
return tryFunctionObject(value);
|
|
52981
53045
|
};
|
|
52982
53046
|
|
|
52983
|
-
},{}],
|
|
53047
|
+
},{}],367:[function(require,module,exports){
|
|
52984
53048
|
'use strict';
|
|
52985
53049
|
|
|
52986
53050
|
var toStr = Object.prototype.toString;
|
|
@@ -53020,7 +53084,17 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53020
53084
|
return getProto(fn) === GeneratorFunction;
|
|
53021
53085
|
};
|
|
53022
53086
|
|
|
53023
|
-
},{"has-tostringtag/shams":
|
|
53087
|
+
},{"has-tostringtag/shams":359}],368:[function(require,module,exports){
|
|
53088
|
+
'use strict';
|
|
53089
|
+
|
|
53090
|
+
var whichTypedArray = require('which-typed-array');
|
|
53091
|
+
|
|
53092
|
+
/** @type {import('.')} */
|
|
53093
|
+
module.exports = function isTypedArray(value) {
|
|
53094
|
+
return !!whichTypedArray(value);
|
|
53095
|
+
};
|
|
53096
|
+
|
|
53097
|
+
},{"which-typed-array":382}],369:[function(require,module,exports){
|
|
53024
53098
|
(function (global){(function (){
|
|
53025
53099
|
/**
|
|
53026
53100
|
* @license
|
|
@@ -70233,7 +70307,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
70233
70307
|
}.call(this));
|
|
70234
70308
|
|
|
70235
70309
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70236
|
-
},{}],
|
|
70310
|
+
},{}],370:[function(require,module,exports){
|
|
70237
70311
|
'use strict';
|
|
70238
70312
|
|
|
70239
70313
|
var keysShim;
|
|
@@ -70357,7 +70431,7 @@ if (!Object.keys) {
|
|
|
70357
70431
|
}
|
|
70358
70432
|
module.exports = keysShim;
|
|
70359
70433
|
|
|
70360
|
-
},{"./isArguments":
|
|
70434
|
+
},{"./isArguments":372}],371:[function(require,module,exports){
|
|
70361
70435
|
'use strict';
|
|
70362
70436
|
|
|
70363
70437
|
var slice = Array.prototype.slice;
|
|
@@ -70391,7 +70465,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70391
70465
|
|
|
70392
70466
|
module.exports = keysShim;
|
|
70393
70467
|
|
|
70394
|
-
},{"./implementation":
|
|
70468
|
+
},{"./implementation":370,"./isArguments":372}],372:[function(require,module,exports){
|
|
70395
70469
|
'use strict';
|
|
70396
70470
|
|
|
70397
70471
|
var toStr = Object.prototype.toString;
|
|
@@ -70410,7 +70484,7 @@ module.exports = function isArguments(value) {
|
|
|
70410
70484
|
return isArgs;
|
|
70411
70485
|
};
|
|
70412
70486
|
|
|
70413
|
-
},{}],
|
|
70487
|
+
},{}],373:[function(require,module,exports){
|
|
70414
70488
|
'use strict';
|
|
70415
70489
|
|
|
70416
70490
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70458,7 +70532,7 @@ module.exports = function assign(target, source1) {
|
|
|
70458
70532
|
return to; // step 4
|
|
70459
70533
|
};
|
|
70460
70534
|
|
|
70461
|
-
},{"call-bind/callBound":
|
|
70535
|
+
},{"call-bind/callBound":334,"has-symbols/shams":358,"object-keys":371}],374:[function(require,module,exports){
|
|
70462
70536
|
'use strict';
|
|
70463
70537
|
|
|
70464
70538
|
var implementation = require('./implementation');
|
|
@@ -70515,7 +70589,7 @@ module.exports = function getPolyfill() {
|
|
|
70515
70589
|
return Object.assign;
|
|
70516
70590
|
};
|
|
70517
70591
|
|
|
70518
|
-
},{"./implementation":
|
|
70592
|
+
},{"./implementation":373}],375:[function(require,module,exports){
|
|
70519
70593
|
'use strict';
|
|
70520
70594
|
|
|
70521
70595
|
/** @type {import('.')} */
|
|
@@ -70533,7 +70607,7 @@ module.exports = [
|
|
|
70533
70607
|
'BigUint64Array'
|
|
70534
70608
|
];
|
|
70535
70609
|
|
|
70536
|
-
},{}],
|
|
70610
|
+
},{}],376:[function(require,module,exports){
|
|
70537
70611
|
// shim for using process in browser
|
|
70538
70612
|
var process = module.exports = {};
|
|
70539
70613
|
|
|
@@ -70719,7 +70793,7 @@ process.chdir = function (dir) {
|
|
|
70719
70793
|
};
|
|
70720
70794
|
process.umask = function() { return 0; };
|
|
70721
70795
|
|
|
70722
|
-
},{}],
|
|
70796
|
+
},{}],377:[function(require,module,exports){
|
|
70723
70797
|
'use strict';
|
|
70724
70798
|
|
|
70725
70799
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -70763,13 +70837,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
70763
70837
|
return fn;
|
|
70764
70838
|
};
|
|
70765
70839
|
|
|
70766
|
-
},{"define-data-property":
|
|
70767
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
70768
|
-
},{"dup":337}],374:[function(require,module,exports){
|
|
70769
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
70770
|
-
},{"./implementation":373,"dup":338}],375:[function(require,module,exports){
|
|
70771
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
70772
|
-
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":374,"has-proto":352,"has-symbols":353,"hasown":357}],376:[function(require,module,exports){
|
|
70840
|
+
},{"define-data-property":339,"es-errors/type":346,"get-intrinsic":351,"gopd":352,"has-property-descriptors":378}],378:[function(require,module,exports){
|
|
70773
70841
|
'use strict';
|
|
70774
70842
|
|
|
70775
70843
|
var $defineProperty = require('es-define-property');
|
|
@@ -70793,19 +70861,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
70793
70861
|
|
|
70794
70862
|
module.exports = hasPropertyDescriptors;
|
|
70795
70863
|
|
|
70796
|
-
},{"es-define-property":
|
|
70797
|
-
'use strict';
|
|
70798
|
-
|
|
70799
|
-
var whichTypedArray = require('which-typed-array');
|
|
70800
|
-
|
|
70801
|
-
/** @type {import('.')} */
|
|
70802
|
-
module.exports = function isTypedArray(value) {
|
|
70803
|
-
return !!whichTypedArray(value);
|
|
70804
|
-
};
|
|
70805
|
-
|
|
70806
|
-
},{"which-typed-array":381}],378:[function(require,module,exports){
|
|
70864
|
+
},{"es-define-property":340}],379:[function(require,module,exports){
|
|
70807
70865
|
arguments[4][330][0].apply(exports,arguments)
|
|
70808
|
-
},{"dup":330}],
|
|
70866
|
+
},{"dup":330}],380:[function(require,module,exports){
|
|
70809
70867
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
70810
70868
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
70811
70869
|
|
|
@@ -71141,7 +71199,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71141
71199
|
});
|
|
71142
71200
|
});
|
|
71143
71201
|
|
|
71144
|
-
},{"is-arguments":
|
|
71202
|
+
},{"is-arguments":365,"is-generator-function":367,"is-typed-array":368,"which-typed-array":382}],381:[function(require,module,exports){
|
|
71145
71203
|
(function (process){(function (){
|
|
71146
71204
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71147
71205
|
//
|
|
@@ -71860,7 +71918,7 @@ function callbackify(original) {
|
|
|
71860
71918
|
exports.callbackify = callbackify;
|
|
71861
71919
|
|
|
71862
71920
|
}).call(this)}).call(this,require('_process'))
|
|
71863
|
-
},{"./support/isBuffer":
|
|
71921
|
+
},{"./support/isBuffer":379,"./support/types":380,"_process":376,"inherits":364}],382:[function(require,module,exports){
|
|
71864
71922
|
(function (global){(function (){
|
|
71865
71923
|
'use strict';
|
|
71866
71924
|
|
|
@@ -71980,30 +72038,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
71980
72038
|
};
|
|
71981
72039
|
|
|
71982
72040
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71983
|
-
},{"available-typed-arrays":
|
|
71984
|
-
(
|
|
71985
|
-
|
|
71986
|
-
|
|
71987
|
-
var possibleNames = require('possible-typed-array-names');
|
|
71988
|
-
|
|
71989
|
-
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
71990
|
-
|
|
71991
|
-
/** @type {import('.')} */
|
|
71992
|
-
module.exports = function availableTypedArrays() {
|
|
71993
|
-
var /** @type {ReturnType<typeof availableTypedArrays>} */ out = [];
|
|
71994
|
-
for (var i = 0; i < possibleNames.length; i++) {
|
|
71995
|
-
if (typeof g[possibleNames[i]] === 'function') {
|
|
71996
|
-
// @ts-expect-error
|
|
71997
|
-
out[out.length] = possibleNames[i];
|
|
71998
|
-
}
|
|
71999
|
-
}
|
|
72000
|
-
return out;
|
|
72001
|
-
};
|
|
72002
|
-
|
|
72003
|
-
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72004
|
-
},{"possible-typed-array-names":370}],383:[function(require,module,exports){
|
|
72005
|
-
arguments[4][333][0].apply(exports,arguments)
|
|
72006
|
-
},{"./":384,"dup":333,"get-intrinsic":387}],384:[function(require,module,exports){
|
|
72041
|
+
},{"available-typed-arrays":332,"call-bind":384,"call-bind/callBound":383,"for-each":348,"gopd":352,"has-tostringtag/shams":385}],383:[function(require,module,exports){
|
|
72042
|
+
arguments[4][334][0].apply(exports,arguments)
|
|
72043
|
+
},{"./":384,"dup":334,"get-intrinsic":351}],384:[function(require,module,exports){
|
|
72007
72044
|
'use strict';
|
|
72008
72045
|
|
|
72009
72046
|
var bind = require('function-bind');
|
|
@@ -72040,13 +72077,7 @@ if ($defineProperty) {
|
|
|
72040
72077
|
module.exports.apply = applyBind;
|
|
72041
72078
|
}
|
|
72042
72079
|
|
|
72043
|
-
},{"es-define-property":
|
|
72044
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
72045
|
-
},{"dup":337}],386:[function(require,module,exports){
|
|
72046
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
72047
|
-
},{"./implementation":385,"dup":338}],387:[function(require,module,exports){
|
|
72048
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
72049
|
-
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":386,"has-proto":352,"has-symbols":353,"hasown":357}],388:[function(require,module,exports){
|
|
72080
|
+
},{"es-define-property":340,"es-errors/type":346,"function-bind":350,"get-intrinsic":351,"set-function-length":377}],385:[function(require,module,exports){
|
|
72050
72081
|
'use strict';
|
|
72051
72082
|
|
|
72052
72083
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72056,5 +72087,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72056
72087
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72057
72088
|
};
|
|
72058
72089
|
|
|
72059
|
-
},{"has-symbols/shams":
|
|
72090
|
+
},{"has-symbols/shams":358}]},{},[110])(110)
|
|
72060
72091
|
});
|