PageSourceSearch

https://app.inventapalabras.com/assets/InventaPalabrasApp/src/app-690698993a344a6b6ee6067ec23e3ac9.js

js inventapalabras.com collected 2026-10-04 12:29:15 UTC 4,011 bytes, 91 lines download raw bytes

1function _array_like_to_array(arr, len) {
2    if (len == null || len > arr.length) len = arr.length;
3    for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4    return arr2;
5}
6function _array_without_holes(arr) {
7    if (Array.isArray(arr)) return _array_like_to_array(arr);
8}
9function _class_call_check(instance, Constructor) {
10    if (!(instance instanceof Constructor)) {
11        throw new TypeError("Cannot call a class as a function");
12    }
13}
14function _define_property(obj, key, value) {
15    if (key in obj) {
16        Object.defineProperty(obj, key, {
17            value: value,
18            enumerable: true,
19            configurable: true,
20            writable: true
21        });
22    } else {
23        obj[key] = value;
24    }
25    return obj;
26}
27function _iterable_to_array(iter) {
28    if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
29}
30function _non_iterable_spread() {
31    throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
32}
33function _to_consumable_array(arr) {
34    return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
35}
36function _unsupported_iterable_to_array(o, minLen) {
37    if (!o) return;
38    if (typeof o === "string") return _array_like_to_array(o, minLen);
39    var n = Object.prototype.toString.call(o).slice(8, -1);
40    if (n === "Object" && o.constructor) n = o.constructor.name;
41    if (n === "Map" || n === "Set") return Array.from(n);
42    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
43}
44import $ from "jquery";
45import { Tooltip } from "bootstrap";
46import { registerReactControllerComponents } from "@symfony/ux-react";
47import "bootstrap/dist/css/bootstrap.min.css";
48import "@fortawesome/fontawesome-free/css/all.css";
49import "@fortawesome/fontawesome-free/css/v4-shims.css";
50import "../styles/styles.css";
51import "../styles/fab.css";
52import StateManager from "./StateManager.js";
53import TogglePin from "./TogglePin.js";
54import ModoEdicion from "./ModoEdicion.js";
55import ListadoTextos from "./ListadoTextos.js";
56import Pizarra from "./Pizarra.js";
57import AnalizadorTextos from "./AnalizadorTextos.js";
58import { HistoryManager } from "./HistoryManager.js";
59import { Menu } from "./Menu.js";
60import Sonidos from "./Sonidos.js";
61import ModoEvaluacion from "./ModoEvaluacion.js";
62var InventaPalabrasApp = function InventaPalabrasApp() {
63    "use strict";
64    _class_call_check(this, InventaPalabrasApp);
65    _define_property(this, "state", new StateManager());
66    _define_property(this, "togglePin", new TogglePin(this.state));
67    _define_property(this, "modoEdicion", new ModoEdicion(this.state));
68    _define_property(this, "listadoTextos", new ListadoTextos(this.state));
69    _define_property(this, "pizarra", new Pizarra(this.state, this.listadoTextos));
70    _define_property(this, "analizador", new AnalizadorTextos("es"));
71    _define_property(this, "history", new HistoryManager(this.state));
72    _define_property(this, "sonidos", new Sonidos());
73    _define_property(this, "menu", new Menu(this.state));
74    _define_property(this, "evaluacion", new ModoEvaluacion(this.pizarra, this.modoEdicion));
75    document.getElementById("InventaPalabrasMain").hidden = false;
76    this.state.loadLocalStorage();
77    var tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
78    var tooltipList = _to_consumable_array(tooltipTriggerList).map(function(tooltipTriggerEl) {
79        return new Tooltip(tooltipTriggerEl);
80    });
81    this.listadoTextos.empezar();
82    this.pizarra.empezar();
83    this.history.empezar();
84};
85export { InventaPalabrasApp as default };
86$(function() {
87    registerReactControllerComponents();
88    var inventaApp = new InventaPalabrasApp();
89    window["inventaApp"] = inventaApp;
90}) // alert("Hola desde TS");
91;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.