@designliquido/delegua 0.37.1 → 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 +30 -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 +6 -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 +6 -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 +461 -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,10 +621,13 @@ 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() {
|
|
624
|
+
// Se há decoradores a serem adicionados aqui, obtemo-los agora,
|
|
625
|
+
// para evitar que outros passos recursivos peguem-los antes.
|
|
626
|
+
const decoradores = Array.from(this.pilhaDecoradores);
|
|
627
|
+
this.pilhaDecoradores = [];
|
|
614
628
|
const expressao = this.expressao();
|
|
615
629
|
// Ponto-e-vírgula é opcional aqui.
|
|
616
630
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
617
|
-
const decoradores = Array.from(this.pilhaDecoradores);
|
|
618
631
|
return new declaracoes_1.Expressao(expressao, decoradores);
|
|
619
632
|
}
|
|
620
633
|
declaracaoComentarioMultilinha() {
|
|
@@ -1111,15 +1124,12 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1111
1124
|
}
|
|
1112
1125
|
parametro.nome = this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome do parâmetro.');
|
|
1113
1126
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1114
|
-
|
|
1127
|
+
const valorPadrao = this.primario();
|
|
1128
|
+
parametro.valorPadrao = valorPadrao;
|
|
1115
1129
|
}
|
|
1116
1130
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1117
1131
|
let tipoDadoParametro = this.verificarDefinicaoTipoAtual();
|
|
1118
|
-
parametro.tipoDado =
|
|
1119
|
-
nome: this.simbolos[this.atual - 2].lexema,
|
|
1120
|
-
tipo: tipoDadoParametro,
|
|
1121
|
-
tipoInvalido: !tipoDadoParametro ? this.simbolos[this.atual].lexema : null,
|
|
1122
|
-
};
|
|
1132
|
+
parametro.tipoDado = tipoDadoParametro;
|
|
1123
1133
|
this.avancarEDevolverAnterior();
|
|
1124
1134
|
}
|
|
1125
1135
|
parametros.push(parametro);
|
|
@@ -1185,7 +1195,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1185
1195
|
}
|
|
1186
1196
|
}
|
|
1187
1197
|
this.consumir(delegua_2.default.CHAVE_DIREITA, "Esperado '}' após o escopo da classe.");
|
|
1188
|
-
|
|
1198
|
+
const definicaoClasse = new declaracoes_1.Classe(simbolo, superClasse, metodos, propriedades, pilhaDecoradoresClasse);
|
|
1199
|
+
this.tiposDefinidosEmCodigo[definicaoClasse.simbolo.lexema] = definicaoClasse;
|
|
1200
|
+
return definicaoClasse;
|
|
1189
1201
|
}
|
|
1190
1202
|
/**
|
|
1191
1203
|
* Declarações fora de bloco precisam ser verificadas primeiro por
|
|
@@ -1276,7 +1288,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1276
1288
|
}
|
|
1277
1289
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1278
1290
|
|
|
1279
|
-
},{"../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){
|
|
1280
1292
|
"use strict";
|
|
1281
1293
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1282
1294
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2698,7 +2710,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2698
2710
|
}
|
|
2699
2711
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2700
2712
|
|
|
2701
|
-
},{"../../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){
|
|
2702
2714
|
"use strict";
|
|
2703
2715
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2704
2716
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -4373,10 +4385,11 @@ exports.Isto = Isto;
|
|
|
4373
4385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4374
4386
|
exports.Literal = void 0;
|
|
4375
4387
|
class Literal {
|
|
4376
|
-
constructor(hashArquivo, linha, valor) {
|
|
4388
|
+
constructor(hashArquivo, linha, valor, tipo = 'qualquer') {
|
|
4377
4389
|
this.linha = linha;
|
|
4378
4390
|
this.hashArquivo = hashArquivo;
|
|
4379
4391
|
this.valor = valor;
|
|
4392
|
+
this.tipo = tipo;
|
|
4380
4393
|
}
|
|
4381
4394
|
async aceitar(visitante) {
|
|
4382
4395
|
return await visitante.visitarExpressaoLiteral(this);
|
|
@@ -5535,7 +5548,7 @@ exports.DeleguaFuncao = void 0;
|
|
|
5535
5548
|
const chamavel_1 = require("./chamavel");
|
|
5536
5549
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
5537
5550
|
const quebras_1 = require("../quebras");
|
|
5538
|
-
const inferenciador_1 = require("../
|
|
5551
|
+
const inferenciador_1 = require("../inferenciador");
|
|
5539
5552
|
const declaracoes_1 = require("../declaracoes");
|
|
5540
5553
|
/**
|
|
5541
5554
|
* Qualquer função declarada em código é uma DeleguaFuncao.
|
|
@@ -5564,7 +5577,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5564
5577
|
let parametros = '';
|
|
5565
5578
|
let retorno = '';
|
|
5566
5579
|
for (let parametro of this.declaracao.parametros) {
|
|
5567
|
-
parametros += `${parametro.nome.lexema}
|
|
5580
|
+
parametros += `${parametro.nome.lexema}: ${parametro.tipoDado || 'qualquer'}, `;
|
|
5568
5581
|
}
|
|
5569
5582
|
if (this.declaracao.parametros.length > 0) {
|
|
5570
5583
|
parametros = `argumentos=<${parametros.slice(0, -2)}>`;
|
|
@@ -5670,7 +5683,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5670
5683
|
}
|
|
5671
5684
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5672
5685
|
|
|
5673
|
-
},{"../declaracoes":77,"../espaco-variaveis":94,"../
|
|
5686
|
+
},{"../declaracoes":77,"../espaco-variaveis":94,"../inferenciador":111,"../quebras":153,"./chamavel":95}],98:[function(require,module,exports){
|
|
5674
5687
|
"use strict";
|
|
5675
5688
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5676
5689
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6438,7 +6451,7 @@ class FormatadorDelegua {
|
|
|
6438
6451
|
visitarExpressaoFuncaoConstruto(expressao) {
|
|
6439
6452
|
this.codigoFormatado += `(`;
|
|
6440
6453
|
for (let argumento of expressao.parametros) {
|
|
6441
|
-
this.codigoFormatado += `${argumento.nome.lexema}
|
|
6454
|
+
this.codigoFormatado += `${argumento.nome.lexema}: ${argumento.tipoDado || 'qualquer'}, `;
|
|
6442
6455
|
}
|
|
6443
6456
|
if (expressao.parametros.length > 0) {
|
|
6444
6457
|
this.codigoFormatado = this.codigoFormatado.slice(0, -2);
|
|
@@ -6755,17 +6768,124 @@ __exportStar(require("./interpretador"), exports);
|
|
|
6755
6768
|
__exportStar(require("./lexador"), exports);
|
|
6756
6769
|
__exportStar(require("./tradutores"), exports);
|
|
6757
6770
|
|
|
6758
|
-
},{"./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){
|
|
6759
6772
|
"use strict";
|
|
6773
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6774
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6775
|
+
};
|
|
6760
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
|
+
}
|
|
6761
6877
|
|
|
6762
|
-
},{}],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){
|
|
6763
6879
|
"use strict";
|
|
6764
6880
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6765
6881
|
|
|
6766
6882
|
},{}],113:[function(require,module,exports){
|
|
6767
6883
|
"use strict";
|
|
6768
6884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6885
|
+
|
|
6886
|
+
},{}],114:[function(require,module,exports){
|
|
6887
|
+
"use strict";
|
|
6888
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6769
6889
|
exports.DiagnosticoSeveridade = void 0;
|
|
6770
6890
|
var DiagnosticoSeveridade;
|
|
6771
6891
|
(function (DiagnosticoSeveridade) {
|
|
@@ -6775,7 +6895,7 @@ var DiagnosticoSeveridade;
|
|
|
6775
6895
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
6776
6896
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
6777
6897
|
|
|
6778
|
-
},{}],
|
|
6898
|
+
},{}],115:[function(require,module,exports){
|
|
6779
6899
|
"use strict";
|
|
6780
6900
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6781
6901
|
if (k2 === undefined) k2 = k;
|
|
@@ -6794,11 +6914,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6794
6914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6795
6915
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
6796
6916
|
|
|
6797
|
-
},{"./diagnostico-analisador-semantico":
|
|
6917
|
+
},{"./diagnostico-analisador-semantico":114}],116:[function(require,module,exports){
|
|
6798
6918
|
"use strict";
|
|
6799
6919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6800
6920
|
|
|
6801
|
-
},{}],
|
|
6921
|
+
},{}],117:[function(require,module,exports){
|
|
6802
6922
|
"use strict";
|
|
6803
6923
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6804
6924
|
if (k2 === undefined) k2 = k;
|
|
@@ -6832,11 +6952,7 @@ __exportStar(require("./construtos"), exports);
|
|
|
6832
6952
|
__exportStar(require("./erros"), exports);
|
|
6833
6953
|
__exportStar(require("./retornos"), exports);
|
|
6834
6954
|
|
|
6835
|
-
},{"./avaliador-sintatico-interface":
|
|
6836
|
-
"use strict";
|
|
6837
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6838
|
-
|
|
6839
|
-
},{}],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){
|
|
6840
6956
|
"use strict";
|
|
6841
6957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6842
6958
|
|
|
@@ -6858,6 +6974,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6858
6974
|
|
|
6859
6975
|
},{}],123:[function(require,module,exports){
|
|
6860
6976
|
"use strict";
|
|
6977
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6978
|
+
|
|
6979
|
+
},{}],124:[function(require,module,exports){
|
|
6980
|
+
"use strict";
|
|
6861
6981
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6862
6982
|
if (k2 === undefined) k2 = k;
|
|
6863
6983
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -6878,11 +6998,7 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
6878
6998
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
6879
6999
|
__exportStar(require("./retorno-lexador"), exports);
|
|
6880
7000
|
|
|
6881
|
-
},{"./retorno-avaliador-sintatico":
|
|
6882
|
-
"use strict";
|
|
6883
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6884
|
-
|
|
6885
|
-
},{}],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){
|
|
6886
7002
|
"use strict";
|
|
6887
7003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6888
7004
|
|
|
@@ -6912,6 +7028,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6912
7028
|
|
|
6913
7029
|
},{}],132:[function(require,module,exports){
|
|
6914
7030
|
"use strict";
|
|
7031
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7032
|
+
|
|
7033
|
+
},{}],133:[function(require,module,exports){
|
|
7034
|
+
"use strict";
|
|
6915
7035
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6916
7036
|
if (k2 === undefined) k2 = k;
|
|
6917
7037
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -6963,7 +7083,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
6963
7083
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
6964
7084
|
}
|
|
6965
7085
|
|
|
6966
|
-
},{"../bibliotecas/biblioteca-global":15,"../estruturas/funcao-padrao":99}],
|
|
7086
|
+
},{"../bibliotecas/biblioteca-global":15,"../estruturas/funcao-padrao":99}],134:[function(require,module,exports){
|
|
6967
7087
|
"use strict";
|
|
6968
7088
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6969
7089
|
if (k2 === undefined) k2 = k;
|
|
@@ -6980,93 +7100,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6980
7100
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6981
7101
|
};
|
|
6982
7102
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6983
|
-
__exportStar(require("./inferenciador"), exports);
|
|
6984
7103
|
__exportStar(require("./interpretador-base"), exports);
|
|
6985
7104
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
6986
7105
|
|
|
6987
|
-
},{"./
|
|
6988
|
-
"use strict";
|
|
6989
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6990
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6991
|
-
};
|
|
6992
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6993
|
-
exports.TIPO_NATIVO = void 0;
|
|
6994
|
-
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6995
|
-
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
6996
|
-
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
6997
|
-
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
6998
|
-
var TIPO_NATIVO;
|
|
6999
|
-
(function (TIPO_NATIVO) {
|
|
7000
|
-
TIPO_NATIVO["ESCREVA"] = "<palavra reservada escreva ajuda=\"palavra reservada usada para apresentar informa\u00E7\u00F5es\">";
|
|
7001
|
-
TIPO_NATIVO["LEIA"] = "<palavra reservada leia ajuda=\"palavra reservada usada para entrada de dados\">";
|
|
7002
|
-
TIPO_NATIVO["FUNCAO"] = "<palavra reservada funcao ajuda=\"palavra reservada usada para criar fun\u00E7\u00F5es\">";
|
|
7003
|
-
TIPO_NATIVO["SE"] = "<palavra reservada se ajuda=\"palavra reservada usada para estruturas condicionais\">";
|
|
7004
|
-
TIPO_NATIVO["ENQUANTO"] = "<palavra reservada enquanto ajuda=\"palavra reservada usada para loops enquanto\">";
|
|
7005
|
-
TIPO_NATIVO["PARA"] = "<palavra reservada para ajuda=\"palavra reservada usada para loops para\">";
|
|
7006
|
-
TIPO_NATIVO["RETORNA"] = "<palavra reservada retornar ajuda=\"palavra reservada usada para retornar valores em fun\u00E7\u00F5es\">";
|
|
7007
|
-
TIPO_NATIVO["INTEIRO"] = "<palavra reservada inteiro ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo inteiro\">";
|
|
7008
|
-
TIPO_NATIVO["TEXTO"] = "<palavra reservada texto ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo texto\">";
|
|
7009
|
-
TIPO_NATIVO["BOOLEANO"] = "<palavra reservada booleano ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo booleano\">";
|
|
7010
|
-
TIPO_NATIVO["VAZIO"] = "<palavra reservada vazio ajuda=\"palavra reservada usada para definir fun\u00E7\u00F5es que n\u00E3o retornam valores\">";
|
|
7011
|
-
})(TIPO_NATIVO || (exports.TIPO_NATIVO = TIPO_NATIVO = {}));
|
|
7012
|
-
function inferirTipoVariavel(variavel) {
|
|
7013
|
-
const tipo = typeof variavel;
|
|
7014
|
-
switch (tipo) {
|
|
7015
|
-
case 'string':
|
|
7016
|
-
return 'texto';
|
|
7017
|
-
case 'number':
|
|
7018
|
-
return 'número';
|
|
7019
|
-
case 'bigint':
|
|
7020
|
-
return 'longo';
|
|
7021
|
-
case 'boolean':
|
|
7022
|
-
return 'lógico';
|
|
7023
|
-
case 'undefined':
|
|
7024
|
-
return 'nulo';
|
|
7025
|
-
case 'object':
|
|
7026
|
-
if (Array.isArray(variavel))
|
|
7027
|
-
return 'vetor';
|
|
7028
|
-
if (variavel === null)
|
|
7029
|
-
return 'nulo';
|
|
7030
|
-
if (variavel.constructor.name === 'DeleguaFuncao')
|
|
7031
|
-
return 'função';
|
|
7032
|
-
if (variavel.constructor.name === 'DeleguaModulo')
|
|
7033
|
-
return 'módulo';
|
|
7034
|
-
if (variavel.constructor.name === 'Classe')
|
|
7035
|
-
return 'objeto';
|
|
7036
|
-
if (variavel.constructor.name === 'Simbolo') {
|
|
7037
|
-
if (typeof variavel === 'object') {
|
|
7038
|
-
const simbolo = variavel;
|
|
7039
|
-
if (simbolo.tipo === delegua_2.default.ESCREVA)
|
|
7040
|
-
return TIPO_NATIVO.ESCREVA;
|
|
7041
|
-
if (simbolo.tipo === delegua_2.default.FUNCAO || simbolo.tipo === delegua_2.default.FUNÇÃO)
|
|
7042
|
-
return TIPO_NATIVO.FUNCAO;
|
|
7043
|
-
if (simbolo.tipo === delegua_2.default.LEIA)
|
|
7044
|
-
return TIPO_NATIVO.LEIA;
|
|
7045
|
-
if (simbolo.tipo === delegua_2.default.SE)
|
|
7046
|
-
return TIPO_NATIVO.SE;
|
|
7047
|
-
if (simbolo.tipo === delegua_2.default.ENQUANTO)
|
|
7048
|
-
return TIPO_NATIVO.ENQUANTO;
|
|
7049
|
-
if (simbolo.tipo === delegua_2.default.PARA)
|
|
7050
|
-
return TIPO_NATIVO.PARA;
|
|
7051
|
-
if (simbolo.tipo === delegua_2.default.RETORNA)
|
|
7052
|
-
return TIPO_NATIVO.RETORNA;
|
|
7053
|
-
if (simbolo.tipo === primitivos_1.default.TEXTO)
|
|
7054
|
-
return TIPO_NATIVO.TEXTO;
|
|
7055
|
-
if (simbolo.tipo === primitivos_1.default.BOOLEANO)
|
|
7056
|
-
return TIPO_NATIVO.BOOLEANO;
|
|
7057
|
-
if (simbolo.tipo === delegua_1.default.VAZIO)
|
|
7058
|
-
return TIPO_NATIVO.VAZIO;
|
|
7059
|
-
}
|
|
7060
|
-
}
|
|
7061
|
-
return 'dicionário';
|
|
7062
|
-
case 'function':
|
|
7063
|
-
return 'função';
|
|
7064
|
-
case 'symbol':
|
|
7065
|
-
return 'símbolo';
|
|
7066
|
-
}
|
|
7067
|
-
}
|
|
7068
|
-
|
|
7069
|
-
},{"../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){
|
|
7070
7107
|
(function (process){(function (){
|
|
7071
7108
|
"use strict";
|
|
7072
7109
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7079,7 +7116,7 @@ const estruturas_1 = require("../estruturas");
|
|
|
7079
7116
|
const construtos_1 = require("../construtos");
|
|
7080
7117
|
const pilha_escopos_execucao_1 = require("./pilha-escopos-execucao");
|
|
7081
7118
|
const quebras_1 = require("../quebras");
|
|
7082
|
-
const inferenciador_1 = require("
|
|
7119
|
+
const inferenciador_1 = require("../inferenciador");
|
|
7083
7120
|
const metodo_primitiva_1 = require("../estruturas/metodo-primitiva");
|
|
7084
7121
|
const lexador_1 = require("../lexador");
|
|
7085
7122
|
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
@@ -8466,7 +8503,7 @@ class InterpretadorBase {
|
|
|
8466
8503
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8467
8504
|
|
|
8468
8505
|
}).call(this)}).call(this,require('_process'))
|
|
8469
|
-
},{"../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){
|
|
8470
8507
|
"use strict";
|
|
8471
8508
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8472
8509
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8477,7 +8514,7 @@ const lodash_1 = __importDefault(require("lodash"));
|
|
|
8477
8514
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
8478
8515
|
const declaracoes_1 = require("../declaracoes");
|
|
8479
8516
|
const quebras_1 = require("../quebras");
|
|
8480
|
-
const inferenciador_1 = require("
|
|
8517
|
+
const inferenciador_1 = require("../inferenciador");
|
|
8481
8518
|
const interpretador_base_1 = require("./interpretador-base");
|
|
8482
8519
|
/**
|
|
8483
8520
|
* Implementação do Interpretador com suporte a depuração.
|
|
@@ -9038,7 +9075,7 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9038
9075
|
}
|
|
9039
9076
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9040
9077
|
|
|
9041
|
-
},{"../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){
|
|
9042
9079
|
"use strict";
|
|
9043
9080
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9044
9081
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9048,7 +9085,7 @@ exports.PilhaEscoposExecucao = void 0;
|
|
|
9048
9085
|
const estruturas_1 = require("../estruturas");
|
|
9049
9086
|
const excecoes_1 = require("../excecoes");
|
|
9050
9087
|
const lexador_1 = require("../lexador");
|
|
9051
|
-
const inferenciador_1 = require("
|
|
9088
|
+
const inferenciador_1 = require("../inferenciador");
|
|
9052
9089
|
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
9053
9090
|
class PilhaEscoposExecucao {
|
|
9054
9091
|
constructor() {
|
|
@@ -9283,7 +9320,7 @@ class PilhaEscoposExecucao {
|
|
|
9283
9320
|
}
|
|
9284
9321
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9285
9322
|
|
|
9286
|
-
},{"../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){
|
|
9287
9324
|
"use strict";
|
|
9288
9325
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9289
9326
|
if (k2 === undefined) k2 = k;
|
|
@@ -10108,7 +10145,7 @@ class LexadorPitugues {
|
|
|
10108
10145
|
}
|
|
10109
10146
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10110
10147
|
|
|
10111
|
-
},{"../../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){
|
|
10112
10149
|
"use strict";
|
|
10113
10150
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10114
10151
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11084,7 +11121,7 @@ class Lexador {
|
|
|
11084
11121
|
}
|
|
11085
11122
|
exports.Lexador = Lexador;
|
|
11086
11123
|
|
|
11087
|
-
},{"../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){
|
|
11088
11125
|
"use strict";
|
|
11089
11126
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11090
11127
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -24774,7 +24811,7 @@ class TradutorAssemblyScript {
|
|
|
24774
24811
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
24775
24812
|
let resultado = 'function(';
|
|
24776
24813
|
for (const parametro of funcaoConstruto.parametros) {
|
|
24777
|
-
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado
|
|
24814
|
+
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado);
|
|
24778
24815
|
resultado += `${parametro.nome.lexema}${tipoParametro}, `;
|
|
24779
24816
|
}
|
|
24780
24817
|
if (funcaoConstruto.parametros.length > 0) {
|
|
@@ -25931,11 +25968,14 @@ class TradutorPython {
|
|
|
25931
25968
|
if (declaracaoPara.inicializador) {
|
|
25932
25969
|
if (Array.isArray(declaracaoPara.inicializador)) {
|
|
25933
25970
|
for (const declaracaoInicializador of declaracaoPara.inicializador) {
|
|
25934
|
-
resultado +=
|
|
25971
|
+
resultado +=
|
|
25972
|
+
this.dicionarioDeclaracoes[declaracaoInicializador.constructor.name](declaracaoInicializador) +
|
|
25973
|
+
`\n`;
|
|
25935
25974
|
}
|
|
25936
25975
|
}
|
|
25937
25976
|
else {
|
|
25938
|
-
resultado +=
|
|
25977
|
+
resultado +=
|
|
25978
|
+
this.dicionarioDeclaracoes[declaracaoPara.inicializador.constructor.name](declaracaoPara.inicializador) + `\n`;
|
|
25939
25979
|
}
|
|
25940
25980
|
}
|
|
25941
25981
|
const condicao = this.dicionarioConstrutos[declaracaoPara.condicao.constructor.name](declaracaoPara.condicao);
|
|
@@ -31075,7 +31115,7 @@ __decorate([
|
|
|
31075
31115
|
exports.Parser = Parser;
|
|
31076
31116
|
|
|
31077
31117
|
}).call(this)}).call(this,require('_process'))
|
|
31078
|
-
},{"./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){
|
|
31079
31119
|
"use strict";
|
|
31080
31120
|
/*!
|
|
31081
31121
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43022,7 +43062,7 @@ __decorate([
|
|
|
43022
43062
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43023
43063
|
|
|
43024
43064
|
}).call(this)}).call(this,require('_process'))
|
|
43025
|
-
},{"../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){
|
|
43026
43066
|
"use strict";
|
|
43027
43067
|
/*!
|
|
43028
43068
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46014,7 +46054,7 @@ class BitSetIterator {
|
|
|
46014
46054
|
[Symbol.iterator]() { return this; }
|
|
46015
46055
|
}
|
|
46016
46056
|
|
|
46017
|
-
},{"./MurmurHash":300,"util":
|
|
46057
|
+
},{"./MurmurHash":300,"util":381}],293:[function(require,module,exports){
|
|
46018
46058
|
"use strict";
|
|
46019
46059
|
/*!
|
|
46020
46060
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50933,7 +50973,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
50933
50973
|
};
|
|
50934
50974
|
|
|
50935
50975
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
50936
|
-
},{"object.assign/polyfill":
|
|
50976
|
+
},{"object.assign/polyfill":374,"util/":331}],329:[function(require,module,exports){
|
|
50937
50977
|
if (typeof Object.create === 'function') {
|
|
50938
50978
|
// implementation from standard node.js 'util' module
|
|
50939
50979
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51555,7 +51595,28 @@ function hasOwnProperty(obj, prop) {
|
|
|
51555
51595
|
}
|
|
51556
51596
|
|
|
51557
51597
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51558
|
-
},{"./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){
|
|
51559
51620
|
(function (process,global){(function (){
|
|
51560
51621
|
module.exports = process.hrtime || hrtime
|
|
51561
51622
|
|
|
@@ -51586,7 +51647,7 @@ function hrtime(previousTimestamp){
|
|
|
51586
51647
|
return [seconds,nanoseconds]
|
|
51587
51648
|
}
|
|
51588
51649
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51589
|
-
},{"_process":
|
|
51650
|
+
},{"_process":376}],334:[function(require,module,exports){
|
|
51590
51651
|
'use strict';
|
|
51591
51652
|
|
|
51592
51653
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51603,7 +51664,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
51603
51664
|
return intrinsic;
|
|
51604
51665
|
};
|
|
51605
51666
|
|
|
51606
|
-
},{"./":
|
|
51667
|
+
},{"./":335,"get-intrinsic":338}],335:[function(require,module,exports){
|
|
51607
51668
|
'use strict';
|
|
51608
51669
|
|
|
51609
51670
|
var bind = require('function-bind');
|
|
@@ -51652,157 +51713,49 @@ if ($defineProperty) {
|
|
|
51652
51713
|
module.exports.apply = applyBind;
|
|
51653
51714
|
}
|
|
51654
51715
|
|
|
51655
|
-
},{"function-bind":
|
|
51656
|
-
'use strict';
|
|
51657
|
-
|
|
51658
|
-
var $defineProperty = require('es-define-property');
|
|
51659
|
-
|
|
51660
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51661
|
-
var $TypeError = require('es-errors/type');
|
|
51662
|
-
|
|
51663
|
-
var gopd = require('gopd');
|
|
51664
|
-
|
|
51665
|
-
/** @type {import('.')} */
|
|
51666
|
-
module.exports = function defineDataProperty(
|
|
51667
|
-
obj,
|
|
51668
|
-
property,
|
|
51669
|
-
value
|
|
51670
|
-
) {
|
|
51671
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
51672
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
51673
|
-
}
|
|
51674
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
51675
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
51676
|
-
}
|
|
51677
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
51678
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
51679
|
-
}
|
|
51680
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
51681
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
51682
|
-
}
|
|
51683
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
51684
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
51685
|
-
}
|
|
51686
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
51687
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
51688
|
-
}
|
|
51689
|
-
|
|
51690
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
51691
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
51692
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
51693
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
51694
|
-
|
|
51695
|
-
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
51696
|
-
var desc = !!gopd && gopd(obj, property);
|
|
51697
|
-
|
|
51698
|
-
if ($defineProperty) {
|
|
51699
|
-
$defineProperty(obj, property, {
|
|
51700
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
51701
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
51702
|
-
value: value,
|
|
51703
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
51704
|
-
});
|
|
51705
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
51706
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
51707
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
51708
|
-
} else {
|
|
51709
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
51710
|
-
}
|
|
51711
|
-
};
|
|
51712
|
-
|
|
51713
|
-
},{"es-define-property":336,"es-errors/syntax":344,"es-errors/type":345,"gopd":351}],336:[function(require,module,exports){
|
|
51714
|
-
'use strict';
|
|
51715
|
-
|
|
51716
|
-
var GetIntrinsic = require('get-intrinsic');
|
|
51717
|
-
|
|
51718
|
-
/** @type {import('.')} */
|
|
51719
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
51720
|
-
if ($defineProperty) {
|
|
51721
|
-
try {
|
|
51722
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
51723
|
-
} catch (e) {
|
|
51724
|
-
// IE 8 has a broken defineProperty
|
|
51725
|
-
$defineProperty = false;
|
|
51726
|
-
}
|
|
51727
|
-
}
|
|
51728
|
-
|
|
51729
|
-
module.exports = $defineProperty;
|
|
51730
|
-
|
|
51731
|
-
},{"get-intrinsic":339}],337:[function(require,module,exports){
|
|
51716
|
+
},{"function-bind":337,"get-intrinsic":338}],336:[function(require,module,exports){
|
|
51732
51717
|
'use strict';
|
|
51733
51718
|
|
|
51734
51719
|
/* eslint no-invalid-this: 1 */
|
|
51735
51720
|
|
|
51736
51721
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
51722
|
+
var slice = Array.prototype.slice;
|
|
51737
51723
|
var toStr = Object.prototype.toString;
|
|
51738
|
-
var max = Math.max;
|
|
51739
51724
|
var funcType = '[object Function]';
|
|
51740
51725
|
|
|
51741
|
-
var concatty = function concatty(a, b) {
|
|
51742
|
-
var arr = [];
|
|
51743
|
-
|
|
51744
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
51745
|
-
arr[i] = a[i];
|
|
51746
|
-
}
|
|
51747
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
51748
|
-
arr[j + a.length] = b[j];
|
|
51749
|
-
}
|
|
51750
|
-
|
|
51751
|
-
return arr;
|
|
51752
|
-
};
|
|
51753
|
-
|
|
51754
|
-
var slicy = function slicy(arrLike, offset) {
|
|
51755
|
-
var arr = [];
|
|
51756
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
51757
|
-
arr[j] = arrLike[i];
|
|
51758
|
-
}
|
|
51759
|
-
return arr;
|
|
51760
|
-
};
|
|
51761
|
-
|
|
51762
|
-
var joiny = function (arr, joiner) {
|
|
51763
|
-
var str = '';
|
|
51764
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
51765
|
-
str += arr[i];
|
|
51766
|
-
if (i + 1 < arr.length) {
|
|
51767
|
-
str += joiner;
|
|
51768
|
-
}
|
|
51769
|
-
}
|
|
51770
|
-
return str;
|
|
51771
|
-
};
|
|
51772
|
-
|
|
51773
51726
|
module.exports = function bind(that) {
|
|
51774
51727
|
var target = this;
|
|
51775
|
-
if (typeof target !== 'function' || toStr.
|
|
51728
|
+
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
|
|
51776
51729
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
51777
51730
|
}
|
|
51778
|
-
var args =
|
|
51731
|
+
var args = slice.call(arguments, 1);
|
|
51779
51732
|
|
|
51780
51733
|
var bound;
|
|
51781
51734
|
var binder = function () {
|
|
51782
51735
|
if (this instanceof bound) {
|
|
51783
51736
|
var result = target.apply(
|
|
51784
51737
|
this,
|
|
51785
|
-
|
|
51738
|
+
args.concat(slice.call(arguments))
|
|
51786
51739
|
);
|
|
51787
51740
|
if (Object(result) === result) {
|
|
51788
51741
|
return result;
|
|
51789
51742
|
}
|
|
51790
51743
|
return this;
|
|
51744
|
+
} else {
|
|
51745
|
+
return target.apply(
|
|
51746
|
+
that,
|
|
51747
|
+
args.concat(slice.call(arguments))
|
|
51748
|
+
);
|
|
51791
51749
|
}
|
|
51792
|
-
return target.apply(
|
|
51793
|
-
that,
|
|
51794
|
-
concatty(args, arguments)
|
|
51795
|
-
);
|
|
51796
|
-
|
|
51797
51750
|
};
|
|
51798
51751
|
|
|
51799
|
-
var boundLength = max(0, target.length - args.length);
|
|
51752
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
51800
51753
|
var boundArgs = [];
|
|
51801
51754
|
for (var i = 0; i < boundLength; i++) {
|
|
51802
|
-
boundArgs
|
|
51755
|
+
boundArgs.push('$' + i);
|
|
51803
51756
|
}
|
|
51804
51757
|
|
|
51805
|
-
bound = Function('binder', 'return function (' +
|
|
51758
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
51806
51759
|
|
|
51807
51760
|
if (target.prototype) {
|
|
51808
51761
|
var Empty = function Empty() {};
|
|
@@ -51814,27 +51767,21 @@ module.exports = function bind(that) {
|
|
|
51814
51767
|
return bound;
|
|
51815
51768
|
};
|
|
51816
51769
|
|
|
51817
|
-
},{}],
|
|
51770
|
+
},{}],337:[function(require,module,exports){
|
|
51818
51771
|
'use strict';
|
|
51819
51772
|
|
|
51820
51773
|
var implementation = require('./implementation');
|
|
51821
51774
|
|
|
51822
51775
|
module.exports = Function.prototype.bind || implementation;
|
|
51823
51776
|
|
|
51824
|
-
},{"./implementation":
|
|
51777
|
+
},{"./implementation":336}],338:[function(require,module,exports){
|
|
51825
51778
|
'use strict';
|
|
51826
51779
|
|
|
51827
51780
|
var undefined;
|
|
51828
51781
|
|
|
51829
|
-
var $
|
|
51830
|
-
var $EvalError = require('es-errors/eval');
|
|
51831
|
-
var $RangeError = require('es-errors/range');
|
|
51832
|
-
var $ReferenceError = require('es-errors/ref');
|
|
51833
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51834
|
-
var $TypeError = require('es-errors/type');
|
|
51835
|
-
var $URIError = require('es-errors/uri');
|
|
51836
|
-
|
|
51782
|
+
var $SyntaxError = SyntaxError;
|
|
51837
51783
|
var $Function = Function;
|
|
51784
|
+
var $TypeError = TypeError;
|
|
51838
51785
|
|
|
51839
51786
|
// eslint-disable-next-line consistent-return
|
|
51840
51787
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -51873,24 +51820,18 @@ var ThrowTypeError = $gOPD
|
|
|
51873
51820
|
: throwTypeError;
|
|
51874
51821
|
|
|
51875
51822
|
var hasSymbols = require('has-symbols')();
|
|
51876
|
-
var hasProto = require('has-proto')();
|
|
51877
51823
|
|
|
51878
|
-
var getProto = Object.getPrototypeOf || (
|
|
51879
|
-
hasProto
|
|
51880
|
-
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
51881
|
-
: null
|
|
51882
|
-
);
|
|
51824
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
51883
51825
|
|
|
51884
51826
|
var needsEval = {};
|
|
51885
51827
|
|
|
51886
|
-
var TypedArray = typeof Uint8Array === 'undefined'
|
|
51828
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
51887
51829
|
|
|
51888
51830
|
var INTRINSICS = {
|
|
51889
|
-
__proto__: null,
|
|
51890
51831
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
51891
51832
|
'%Array%': Array,
|
|
51892
51833
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
51893
|
-
'%ArrayIteratorPrototype%': hasSymbols
|
|
51834
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
51894
51835
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
51895
51836
|
'%AsyncFunction%': needsEval,
|
|
51896
51837
|
'%AsyncGenerator%': needsEval,
|
|
@@ -51907,9 +51848,9 @@ var INTRINSICS = {
|
|
|
51907
51848
|
'%decodeURIComponent%': decodeURIComponent,
|
|
51908
51849
|
'%encodeURI%': encodeURI,
|
|
51909
51850
|
'%encodeURIComponent%': encodeURIComponent,
|
|
51910
|
-
'%Error%':
|
|
51851
|
+
'%Error%': Error,
|
|
51911
51852
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
51912
|
-
'%EvalError%':
|
|
51853
|
+
'%EvalError%': EvalError,
|
|
51913
51854
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
51914
51855
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
51915
51856
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -51920,10 +51861,10 @@ var INTRINSICS = {
|
|
|
51920
51861
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
51921
51862
|
'%isFinite%': isFinite,
|
|
51922
51863
|
'%isNaN%': isNaN,
|
|
51923
|
-
'%IteratorPrototype%': hasSymbols
|
|
51864
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
51924
51865
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
51925
51866
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
51926
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols
|
|
51867
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
51927
51868
|
'%Math%': Math,
|
|
51928
51869
|
'%Number%': Number,
|
|
51929
51870
|
'%Object%': Object,
|
|
@@ -51931,15 +51872,15 @@ var INTRINSICS = {
|
|
|
51931
51872
|
'%parseInt%': parseInt,
|
|
51932
51873
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
51933
51874
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
51934
|
-
'%RangeError%':
|
|
51935
|
-
'%ReferenceError%':
|
|
51875
|
+
'%RangeError%': RangeError,
|
|
51876
|
+
'%ReferenceError%': ReferenceError,
|
|
51936
51877
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
51937
51878
|
'%RegExp%': RegExp,
|
|
51938
51879
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
51939
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols
|
|
51880
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
51940
51881
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
51941
51882
|
'%String%': String,
|
|
51942
|
-
'%StringIteratorPrototype%': hasSymbols
|
|
51883
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
51943
51884
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
51944
51885
|
'%SyntaxError%': $SyntaxError,
|
|
51945
51886
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -51949,20 +51890,18 @@ var INTRINSICS = {
|
|
|
51949
51890
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
51950
51891
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
51951
51892
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
51952
|
-
'%URIError%':
|
|
51893
|
+
'%URIError%': URIError,
|
|
51953
51894
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
51954
51895
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
51955
51896
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
51956
51897
|
};
|
|
51957
51898
|
|
|
51958
|
-
|
|
51959
|
-
|
|
51960
|
-
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
51965
|
-
}
|
|
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;
|
|
51966
51905
|
}
|
|
51967
51906
|
|
|
51968
51907
|
var doEval = function doEval(name) {
|
|
@@ -51980,7 +51919,7 @@ var doEval = function doEval(name) {
|
|
|
51980
51919
|
}
|
|
51981
51920
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
51982
51921
|
var gen = doEval('%AsyncGenerator%');
|
|
51983
|
-
if (gen
|
|
51922
|
+
if (gen) {
|
|
51984
51923
|
value = getProto(gen.prototype);
|
|
51985
51924
|
}
|
|
51986
51925
|
}
|
|
@@ -51991,7 +51930,6 @@ var doEval = function doEval(name) {
|
|
|
51991
51930
|
};
|
|
51992
51931
|
|
|
51993
51932
|
var LEGACY_ALIASES = {
|
|
51994
|
-
__proto__: null,
|
|
51995
51933
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
51996
51934
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
51997
51935
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52046,7 +51984,7 @@ var LEGACY_ALIASES = {
|
|
|
52046
51984
|
};
|
|
52047
51985
|
|
|
52048
51986
|
var bind = require('function-bind');
|
|
52049
|
-
var hasOwn = require('
|
|
51987
|
+
var hasOwn = require('has');
|
|
52050
51988
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52051
51989
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52052
51990
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52182,49 +52120,125 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52182
52120
|
return value;
|
|
52183
52121
|
};
|
|
52184
52122
|
|
|
52185
|
-
},{"
|
|
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){
|
|
52186
52200
|
'use strict';
|
|
52187
52201
|
|
|
52188
52202
|
/** @type {import('./eval')} */
|
|
52189
52203
|
module.exports = EvalError;
|
|
52190
52204
|
|
|
52191
|
-
},{}],
|
|
52205
|
+
},{}],342:[function(require,module,exports){
|
|
52192
52206
|
'use strict';
|
|
52193
52207
|
|
|
52194
52208
|
/** @type {import('.')} */
|
|
52195
52209
|
module.exports = Error;
|
|
52196
52210
|
|
|
52197
|
-
},{}],
|
|
52211
|
+
},{}],343:[function(require,module,exports){
|
|
52198
52212
|
'use strict';
|
|
52199
52213
|
|
|
52200
52214
|
/** @type {import('./range')} */
|
|
52201
52215
|
module.exports = RangeError;
|
|
52202
52216
|
|
|
52203
|
-
},{}],
|
|
52217
|
+
},{}],344:[function(require,module,exports){
|
|
52204
52218
|
'use strict';
|
|
52205
52219
|
|
|
52206
52220
|
/** @type {import('./ref')} */
|
|
52207
52221
|
module.exports = ReferenceError;
|
|
52208
52222
|
|
|
52209
|
-
},{}],
|
|
52223
|
+
},{}],345:[function(require,module,exports){
|
|
52210
52224
|
'use strict';
|
|
52211
52225
|
|
|
52212
52226
|
/** @type {import('./syntax')} */
|
|
52213
52227
|
module.exports = SyntaxError;
|
|
52214
52228
|
|
|
52215
|
-
},{}],
|
|
52229
|
+
},{}],346:[function(require,module,exports){
|
|
52216
52230
|
'use strict';
|
|
52217
52231
|
|
|
52218
52232
|
/** @type {import('./type')} */
|
|
52219
52233
|
module.exports = TypeError;
|
|
52220
52234
|
|
|
52221
|
-
},{}],
|
|
52235
|
+
},{}],347:[function(require,module,exports){
|
|
52222
52236
|
'use strict';
|
|
52223
52237
|
|
|
52224
52238
|
/** @type {import('./uri')} */
|
|
52225
52239
|
module.exports = URIError;
|
|
52226
52240
|
|
|
52227
|
-
},{}],
|
|
52241
|
+
},{}],348:[function(require,module,exports){
|
|
52228
52242
|
'use strict';
|
|
52229
52243
|
|
|
52230
52244
|
var isCallable = require('is-callable');
|
|
@@ -52288,49 +52302,81 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52288
52302
|
|
|
52289
52303
|
module.exports = forEach;
|
|
52290
52304
|
|
|
52291
|
-
},{"is-callable":
|
|
52305
|
+
},{"is-callable":366}],349:[function(require,module,exports){
|
|
52292
52306
|
'use strict';
|
|
52293
52307
|
|
|
52294
52308
|
/* eslint no-invalid-this: 1 */
|
|
52295
52309
|
|
|
52296
52310
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
52297
|
-
var slice = Array.prototype.slice;
|
|
52298
52311
|
var toStr = Object.prototype.toString;
|
|
52312
|
+
var max = Math.max;
|
|
52299
52313
|
var funcType = '[object Function]';
|
|
52300
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
|
+
|
|
52301
52347
|
module.exports = function bind(that) {
|
|
52302
52348
|
var target = this;
|
|
52303
|
-
if (typeof target !== 'function' || toStr.
|
|
52349
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
52304
52350
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
52305
52351
|
}
|
|
52306
|
-
var args =
|
|
52352
|
+
var args = slicy(arguments, 1);
|
|
52307
52353
|
|
|
52308
52354
|
var bound;
|
|
52309
52355
|
var binder = function () {
|
|
52310
52356
|
if (this instanceof bound) {
|
|
52311
52357
|
var result = target.apply(
|
|
52312
52358
|
this,
|
|
52313
|
-
args
|
|
52359
|
+
concatty(args, arguments)
|
|
52314
52360
|
);
|
|
52315
52361
|
if (Object(result) === result) {
|
|
52316
52362
|
return result;
|
|
52317
52363
|
}
|
|
52318
52364
|
return this;
|
|
52319
|
-
} else {
|
|
52320
|
-
return target.apply(
|
|
52321
|
-
that,
|
|
52322
|
-
args.concat(slice.call(arguments))
|
|
52323
|
-
);
|
|
52324
52365
|
}
|
|
52366
|
+
return target.apply(
|
|
52367
|
+
that,
|
|
52368
|
+
concatty(args, arguments)
|
|
52369
|
+
);
|
|
52370
|
+
|
|
52325
52371
|
};
|
|
52326
52372
|
|
|
52327
|
-
var boundLength =
|
|
52373
|
+
var boundLength = max(0, target.length - args.length);
|
|
52328
52374
|
var boundArgs = [];
|
|
52329
52375
|
for (var i = 0; i < boundLength; i++) {
|
|
52330
|
-
boundArgs
|
|
52376
|
+
boundArgs[i] = '$' + i;
|
|
52331
52377
|
}
|
|
52332
52378
|
|
|
52333
|
-
bound = Function('binder', 'return function (' + boundArgs
|
|
52379
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
52334
52380
|
|
|
52335
52381
|
if (target.prototype) {
|
|
52336
52382
|
var Empty = function Empty() {};
|
|
@@ -52342,16 +52388,22 @@ module.exports = function bind(that) {
|
|
|
52342
52388
|
return bound;
|
|
52343
52389
|
};
|
|
52344
52390
|
|
|
52345
|
-
},{}],
|
|
52346
|
-
arguments[4][
|
|
52347
|
-
},{"./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){
|
|
52348
52394
|
'use strict';
|
|
52349
52395
|
|
|
52350
52396
|
var undefined;
|
|
52351
52397
|
|
|
52352
|
-
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
|
+
|
|
52353
52406
|
var $Function = Function;
|
|
52354
|
-
var $TypeError = TypeError;
|
|
52355
52407
|
|
|
52356
52408
|
// eslint-disable-next-line consistent-return
|
|
52357
52409
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -52390,18 +52442,24 @@ var ThrowTypeError = $gOPD
|
|
|
52390
52442
|
: throwTypeError;
|
|
52391
52443
|
|
|
52392
52444
|
var hasSymbols = require('has-symbols')();
|
|
52445
|
+
var hasProto = require('has-proto')();
|
|
52393
52446
|
|
|
52394
|
-
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
|
+
);
|
|
52395
52452
|
|
|
52396
52453
|
var needsEval = {};
|
|
52397
52454
|
|
|
52398
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
52455
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
52399
52456
|
|
|
52400
52457
|
var INTRINSICS = {
|
|
52458
|
+
__proto__: null,
|
|
52401
52459
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
52402
52460
|
'%Array%': Array,
|
|
52403
52461
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
52404
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
52462
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
52405
52463
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
52406
52464
|
'%AsyncFunction%': needsEval,
|
|
52407
52465
|
'%AsyncGenerator%': needsEval,
|
|
@@ -52418,9 +52476,9 @@ var INTRINSICS = {
|
|
|
52418
52476
|
'%decodeURIComponent%': decodeURIComponent,
|
|
52419
52477
|
'%encodeURI%': encodeURI,
|
|
52420
52478
|
'%encodeURIComponent%': encodeURIComponent,
|
|
52421
|
-
'%Error%': Error,
|
|
52479
|
+
'%Error%': $Error,
|
|
52422
52480
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
52423
|
-
'%EvalError%': EvalError,
|
|
52481
|
+
'%EvalError%': $EvalError,
|
|
52424
52482
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
52425
52483
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
52426
52484
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -52431,10 +52489,10 @@ var INTRINSICS = {
|
|
|
52431
52489
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
52432
52490
|
'%isFinite%': isFinite,
|
|
52433
52491
|
'%isNaN%': isNaN,
|
|
52434
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52492
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52435
52493
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
52436
52494
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
52437
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52495
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52438
52496
|
'%Math%': Math,
|
|
52439
52497
|
'%Number%': Number,
|
|
52440
52498
|
'%Object%': Object,
|
|
@@ -52442,15 +52500,15 @@ var INTRINSICS = {
|
|
|
52442
52500
|
'%parseInt%': parseInt,
|
|
52443
52501
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
52444
52502
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
52445
|
-
'%RangeError%': RangeError,
|
|
52446
|
-
'%ReferenceError%': ReferenceError,
|
|
52503
|
+
'%RangeError%': $RangeError,
|
|
52504
|
+
'%ReferenceError%': $ReferenceError,
|
|
52447
52505
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
52448
52506
|
'%RegExp%': RegExp,
|
|
52449
52507
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
52450
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52508
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52451
52509
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
52452
52510
|
'%String%': String,
|
|
52453
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52511
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52454
52512
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
52455
52513
|
'%SyntaxError%': $SyntaxError,
|
|
52456
52514
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -52460,18 +52518,20 @@ var INTRINSICS = {
|
|
|
52460
52518
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
52461
52519
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
52462
52520
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
52463
|
-
'%URIError%': URIError,
|
|
52521
|
+
'%URIError%': $URIError,
|
|
52464
52522
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
52465
52523
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
52466
52524
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
52467
52525
|
};
|
|
52468
52526
|
|
|
52469
|
-
|
|
52470
|
-
|
|
52471
|
-
|
|
52472
|
-
|
|
52473
|
-
|
|
52474
|
-
|
|
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
|
+
}
|
|
52475
52535
|
}
|
|
52476
52536
|
|
|
52477
52537
|
var doEval = function doEval(name) {
|
|
@@ -52489,7 +52549,7 @@ var doEval = function doEval(name) {
|
|
|
52489
52549
|
}
|
|
52490
52550
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
52491
52551
|
var gen = doEval('%AsyncGenerator%');
|
|
52492
|
-
if (gen) {
|
|
52552
|
+
if (gen && getProto) {
|
|
52493
52553
|
value = getProto(gen.prototype);
|
|
52494
52554
|
}
|
|
52495
52555
|
}
|
|
@@ -52500,6 +52560,7 @@ var doEval = function doEval(name) {
|
|
|
52500
52560
|
};
|
|
52501
52561
|
|
|
52502
52562
|
var LEGACY_ALIASES = {
|
|
52563
|
+
__proto__: null,
|
|
52503
52564
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
52504
52565
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
52505
52566
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52554,7 +52615,7 @@ var LEGACY_ALIASES = {
|
|
|
52554
52615
|
};
|
|
52555
52616
|
|
|
52556
52617
|
var bind = require('function-bind');
|
|
52557
|
-
var hasOwn = require('
|
|
52618
|
+
var hasOwn = require('hasown');
|
|
52558
52619
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52559
52620
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52560
52621
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52690,7 +52751,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52690
52751
|
return value;
|
|
52691
52752
|
};
|
|
52692
52753
|
|
|
52693
|
-
},{"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){
|
|
52694
52755
|
'use strict';
|
|
52695
52756
|
|
|
52696
52757
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52708,7 +52769,13 @@ if ($gOPD) {
|
|
|
52708
52769
|
|
|
52709
52770
|
module.exports = $gOPD;
|
|
52710
52771
|
|
|
52711
|
-
},{"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){
|
|
52712
52779
|
'use strict';
|
|
52713
52780
|
|
|
52714
52781
|
var test = {
|
|
@@ -52721,7 +52788,7 @@ module.exports = function hasProto() {
|
|
|
52721
52788
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
52722
52789
|
};
|
|
52723
52790
|
|
|
52724
|
-
},{}],
|
|
52791
|
+
},{}],357:[function(require,module,exports){
|
|
52725
52792
|
'use strict';
|
|
52726
52793
|
|
|
52727
52794
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -52736,7 +52803,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
52736
52803
|
return hasSymbolSham();
|
|
52737
52804
|
};
|
|
52738
52805
|
|
|
52739
|
-
},{"./shams":
|
|
52806
|
+
},{"./shams":358}],358:[function(require,module,exports){
|
|
52740
52807
|
'use strict';
|
|
52741
52808
|
|
|
52742
52809
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -52780,7 +52847,7 @@ module.exports = function hasSymbols() {
|
|
|
52780
52847
|
return true;
|
|
52781
52848
|
};
|
|
52782
52849
|
|
|
52783
|
-
},{}],
|
|
52850
|
+
},{}],359:[function(require,module,exports){
|
|
52784
52851
|
'use strict';
|
|
52785
52852
|
|
|
52786
52853
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -52789,14 +52856,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
52789
52856
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
52790
52857
|
};
|
|
52791
52858
|
|
|
52792
|
-
},{"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){
|
|
52793
52864
|
'use strict';
|
|
52794
52865
|
|
|
52795
52866
|
var bind = require('function-bind');
|
|
52796
52867
|
|
|
52797
52868
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
52798
52869
|
|
|
52799
|
-
},{"function-bind":
|
|
52870
|
+
},{"function-bind":361}],363:[function(require,module,exports){
|
|
52800
52871
|
'use strict';
|
|
52801
52872
|
|
|
52802
52873
|
var call = Function.prototype.call;
|
|
@@ -52806,11 +52877,7 @@ var bind = require('function-bind');
|
|
|
52806
52877
|
/** @type {import('.')} */
|
|
52807
52878
|
module.exports = bind.call(call, $hasOwn);
|
|
52808
52879
|
|
|
52809
|
-
},{"function-bind":
|
|
52810
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
52811
|
-
},{"dup":337}],359:[function(require,module,exports){
|
|
52812
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
52813
|
-
},{"./implementation":358,"dup":338}],360:[function(require,module,exports){
|
|
52880
|
+
},{"function-bind":350}],364:[function(require,module,exports){
|
|
52814
52881
|
if (typeof Object.create === 'function') {
|
|
52815
52882
|
// implementation from standard node.js 'util' module
|
|
52816
52883
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -52839,7 +52906,7 @@ if (typeof Object.create === 'function') {
|
|
|
52839
52906
|
}
|
|
52840
52907
|
}
|
|
52841
52908
|
|
|
52842
|
-
},{}],
|
|
52909
|
+
},{}],365:[function(require,module,exports){
|
|
52843
52910
|
'use strict';
|
|
52844
52911
|
|
|
52845
52912
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -52874,7 +52941,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
52874
52941
|
|
|
52875
52942
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
52876
52943
|
|
|
52877
|
-
},{"call-bind/callBound":
|
|
52944
|
+
},{"call-bind/callBound":334,"has-tostringtag/shams":359}],366:[function(require,module,exports){
|
|
52878
52945
|
'use strict';
|
|
52879
52946
|
|
|
52880
52947
|
var fnToStr = Function.prototype.toString;
|
|
@@ -52977,7 +53044,7 @@ module.exports = reflectApply
|
|
|
52977
53044
|
return tryFunctionObject(value);
|
|
52978
53045
|
};
|
|
52979
53046
|
|
|
52980
|
-
},{}],
|
|
53047
|
+
},{}],367:[function(require,module,exports){
|
|
52981
53048
|
'use strict';
|
|
52982
53049
|
|
|
52983
53050
|
var toStr = Object.prototype.toString;
|
|
@@ -53017,7 +53084,17 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53017
53084
|
return getProto(fn) === GeneratorFunction;
|
|
53018
53085
|
};
|
|
53019
53086
|
|
|
53020
|
-
},{"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){
|
|
53021
53098
|
(function (global){(function (){
|
|
53022
53099
|
/**
|
|
53023
53100
|
* @license
|
|
@@ -70230,7 +70307,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
70230
70307
|
}.call(this));
|
|
70231
70308
|
|
|
70232
70309
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70233
|
-
},{}],
|
|
70310
|
+
},{}],370:[function(require,module,exports){
|
|
70234
70311
|
'use strict';
|
|
70235
70312
|
|
|
70236
70313
|
var keysShim;
|
|
@@ -70354,7 +70431,7 @@ if (!Object.keys) {
|
|
|
70354
70431
|
}
|
|
70355
70432
|
module.exports = keysShim;
|
|
70356
70433
|
|
|
70357
|
-
},{"./isArguments":
|
|
70434
|
+
},{"./isArguments":372}],371:[function(require,module,exports){
|
|
70358
70435
|
'use strict';
|
|
70359
70436
|
|
|
70360
70437
|
var slice = Array.prototype.slice;
|
|
@@ -70388,7 +70465,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70388
70465
|
|
|
70389
70466
|
module.exports = keysShim;
|
|
70390
70467
|
|
|
70391
|
-
},{"./implementation":
|
|
70468
|
+
},{"./implementation":370,"./isArguments":372}],372:[function(require,module,exports){
|
|
70392
70469
|
'use strict';
|
|
70393
70470
|
|
|
70394
70471
|
var toStr = Object.prototype.toString;
|
|
@@ -70407,7 +70484,7 @@ module.exports = function isArguments(value) {
|
|
|
70407
70484
|
return isArgs;
|
|
70408
70485
|
};
|
|
70409
70486
|
|
|
70410
|
-
},{}],
|
|
70487
|
+
},{}],373:[function(require,module,exports){
|
|
70411
70488
|
'use strict';
|
|
70412
70489
|
|
|
70413
70490
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70455,7 +70532,7 @@ module.exports = function assign(target, source1) {
|
|
|
70455
70532
|
return to; // step 4
|
|
70456
70533
|
};
|
|
70457
70534
|
|
|
70458
|
-
},{"call-bind/callBound":
|
|
70535
|
+
},{"call-bind/callBound":334,"has-symbols/shams":358,"object-keys":371}],374:[function(require,module,exports){
|
|
70459
70536
|
'use strict';
|
|
70460
70537
|
|
|
70461
70538
|
var implementation = require('./implementation');
|
|
@@ -70512,7 +70589,7 @@ module.exports = function getPolyfill() {
|
|
|
70512
70589
|
return Object.assign;
|
|
70513
70590
|
};
|
|
70514
70591
|
|
|
70515
|
-
},{"./implementation":
|
|
70592
|
+
},{"./implementation":373}],375:[function(require,module,exports){
|
|
70516
70593
|
'use strict';
|
|
70517
70594
|
|
|
70518
70595
|
/** @type {import('.')} */
|
|
@@ -70530,7 +70607,7 @@ module.exports = [
|
|
|
70530
70607
|
'BigUint64Array'
|
|
70531
70608
|
];
|
|
70532
70609
|
|
|
70533
|
-
},{}],
|
|
70610
|
+
},{}],376:[function(require,module,exports){
|
|
70534
70611
|
// shim for using process in browser
|
|
70535
70612
|
var process = module.exports = {};
|
|
70536
70613
|
|
|
@@ -70716,7 +70793,7 @@ process.chdir = function (dir) {
|
|
|
70716
70793
|
};
|
|
70717
70794
|
process.umask = function() { return 0; };
|
|
70718
70795
|
|
|
70719
|
-
},{}],
|
|
70796
|
+
},{}],377:[function(require,module,exports){
|
|
70720
70797
|
'use strict';
|
|
70721
70798
|
|
|
70722
70799
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -70760,13 +70837,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
70760
70837
|
return fn;
|
|
70761
70838
|
};
|
|
70762
70839
|
|
|
70763
|
-
},{"define-data-property":
|
|
70764
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
70765
|
-
},{"dup":337}],374:[function(require,module,exports){
|
|
70766
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
70767
|
-
},{"./implementation":373,"dup":338}],375:[function(require,module,exports){
|
|
70768
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
70769
|
-
},{"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){
|
|
70770
70841
|
'use strict';
|
|
70771
70842
|
|
|
70772
70843
|
var $defineProperty = require('es-define-property');
|
|
@@ -70790,19 +70861,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
70790
70861
|
|
|
70791
70862
|
module.exports = hasPropertyDescriptors;
|
|
70792
70863
|
|
|
70793
|
-
},{"es-define-property":
|
|
70794
|
-
'use strict';
|
|
70795
|
-
|
|
70796
|
-
var whichTypedArray = require('which-typed-array');
|
|
70797
|
-
|
|
70798
|
-
/** @type {import('.')} */
|
|
70799
|
-
module.exports = function isTypedArray(value) {
|
|
70800
|
-
return !!whichTypedArray(value);
|
|
70801
|
-
};
|
|
70802
|
-
|
|
70803
|
-
},{"which-typed-array":381}],378:[function(require,module,exports){
|
|
70864
|
+
},{"es-define-property":340}],379:[function(require,module,exports){
|
|
70804
70865
|
arguments[4][330][0].apply(exports,arguments)
|
|
70805
|
-
},{"dup":330}],
|
|
70866
|
+
},{"dup":330}],380:[function(require,module,exports){
|
|
70806
70867
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
70807
70868
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
70808
70869
|
|
|
@@ -71138,7 +71199,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71138
71199
|
});
|
|
71139
71200
|
});
|
|
71140
71201
|
|
|
71141
|
-
},{"is-arguments":
|
|
71202
|
+
},{"is-arguments":365,"is-generator-function":367,"is-typed-array":368,"which-typed-array":382}],381:[function(require,module,exports){
|
|
71142
71203
|
(function (process){(function (){
|
|
71143
71204
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71144
71205
|
//
|
|
@@ -71857,7 +71918,7 @@ function callbackify(original) {
|
|
|
71857
71918
|
exports.callbackify = callbackify;
|
|
71858
71919
|
|
|
71859
71920
|
}).call(this)}).call(this,require('_process'))
|
|
71860
|
-
},{"./support/isBuffer":
|
|
71921
|
+
},{"./support/isBuffer":379,"./support/types":380,"_process":376,"inherits":364}],382:[function(require,module,exports){
|
|
71861
71922
|
(function (global){(function (){
|
|
71862
71923
|
'use strict';
|
|
71863
71924
|
|
|
@@ -71977,30 +72038,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
71977
72038
|
};
|
|
71978
72039
|
|
|
71979
72040
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71980
|
-
},{"available-typed-arrays":
|
|
71981
|
-
(
|
|
71982
|
-
|
|
71983
|
-
|
|
71984
|
-
var possibleNames = require('possible-typed-array-names');
|
|
71985
|
-
|
|
71986
|
-
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
71987
|
-
|
|
71988
|
-
/** @type {import('.')} */
|
|
71989
|
-
module.exports = function availableTypedArrays() {
|
|
71990
|
-
var /** @type {ReturnType<typeof availableTypedArrays>} */ out = [];
|
|
71991
|
-
for (var i = 0; i < possibleNames.length; i++) {
|
|
71992
|
-
if (typeof g[possibleNames[i]] === 'function') {
|
|
71993
|
-
// @ts-expect-error
|
|
71994
|
-
out[out.length] = possibleNames[i];
|
|
71995
|
-
}
|
|
71996
|
-
}
|
|
71997
|
-
return out;
|
|
71998
|
-
};
|
|
71999
|
-
|
|
72000
|
-
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72001
|
-
},{"possible-typed-array-names":370}],383:[function(require,module,exports){
|
|
72002
|
-
arguments[4][333][0].apply(exports,arguments)
|
|
72003
|
-
},{"./":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){
|
|
72004
72044
|
'use strict';
|
|
72005
72045
|
|
|
72006
72046
|
var bind = require('function-bind');
|
|
@@ -72037,13 +72077,7 @@ if ($defineProperty) {
|
|
|
72037
72077
|
module.exports.apply = applyBind;
|
|
72038
72078
|
}
|
|
72039
72079
|
|
|
72040
|
-
},{"es-define-property":
|
|
72041
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
72042
|
-
},{"dup":337}],386:[function(require,module,exports){
|
|
72043
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
72044
|
-
},{"./implementation":385,"dup":338}],387:[function(require,module,exports){
|
|
72045
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
72046
|
-
},{"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){
|
|
72047
72081
|
'use strict';
|
|
72048
72082
|
|
|
72049
72083
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72053,5 +72087,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72053
72087
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72054
72088
|
};
|
|
72055
72089
|
|
|
72056
|
-
},{"has-symbols/shams":
|
|
72090
|
+
},{"has-symbols/shams":358}]},{},[110])(110)
|
|
72057
72091
|
});
|