PageSourceSearch

https://minhaescola.app/js/chunk-vendors~ca31a762.47c6263a.js

js minhaescola.app collected 2026-10-02 01:16:49 UTC 18,247 bytes, 528 lines download raw bytes

1(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-vendors~ca31a762"],{
2
3/***/ "1789":
4/***/ (function(module, __webpack_exports__, __webpack_require__) {
5
6"use strict";
7__webpack_require__.r(__webpack_exports__);
8/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "assign", function() { return assign; });
9/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "format", function() { return format; });
10/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
11/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "defaultI18n", function() { return defaultI18n; });
12/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setGlobalDateI18n", function() { return setGlobalDateI18n; });
13/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setGlobalDateMasks", function() { return setGlobalDateMasks; });
14var token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
15var twoDigitsOptional = "\\d\\d?";
16var twoDigits = "\\d\\d";
17var threeDigits = "\\d{3}";
18var fourDigits = "\\d{4}";
19var word = "[^\\s]+";
20var literal = /\[([^]*?)\]/gm;
21function shorten(arr, sLen) {
22    var newArr = [];
23    for (var i = 0, len = arr.length; i < len; i++) {
24        newArr.push(arr[i].substr(0, sLen));
25    }
26    return newArr;
27}
28var monthUpdate = function (arrName) { return function (v, i18n) {
29    var lowerCaseArr = i18n[arrName].map(function (v) { return v.toLowerCase(); });
30    var index = lowerCaseArr.indexOf(v.toLowerCase());
31    if (index > -1) {
32        return index;
33    }
34    return null;
35}; };
36function assign(origObj) {
37    var args = [];
38    for (var _i = 1; _i < arguments.length; _i++) {
39        args[_i - 1] = arguments[_i];
40    }
41    for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {
42        var obj = args_1[_a];
43        for (var key in obj) {
44            // @ts-ignore ex
45            origObj[key] = obj[key];
46        }
47    }
48    return origObj;
49}
50var dayNames = [
51    "Sunday",
52    "Monday",
53    "Tuesday",
54    "Wednesday",
55    "Thursday",
56    "Friday",
57    "Saturday"
58];
59var monthNames = [
60    "January",
61    "February",
62    "March",
63    "April",
64    "May",
65    "June",
66    "July",
67    "August",
68    "September",
69    "October",
70    "November",
71    "December"
72];
73var monthNamesShort = shorten(monthNames, 3);
74var dayNamesShort = shorten(dayNames, 3);
75var defaultI18n = {
76    dayNamesShort: dayNamesShort,
77    dayNames: dayNames,
78    monthNamesShort: monthNamesShort,
79    monthNames: monthNames,
80    amPm: ["am", "pm"],
81    DoFn: function (dayOfMonth) {
82        return (dayOfMonth +
83            ["th", "st", "nd", "rd"][dayOfMonth % 10 > 3
84                ? 0
85                : ((dayOfMonth - (dayOfMonth % 10) !== 10 ? 1 : 0) * dayOfMonth) % 10]);
86    }
87};
88var globalI18n = assign({}, defaultI18n);
89var setGlobalDateI18n = function (i18n) {
90    return (globalI18n = assign(globalI18n, i18n));
91};
92var regexEscape = function (str) {
93    return str.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
94};
95var pad = function (val, len) {
96    if (len === void 0) { len = 2; }
97    val = String(val);
98    while (val.length < len) {
99        val = "0" + val;
100    }
101    return val;
102};
103var formatFlags = {
104    D: function (dateObj) { return String(dateObj.getDate()); },
105    DD: function (dateObj) { return pad(dateObj.getDate()); },
106    Do: function (dateObj, i18n) {
107        return i18n.DoFn(dateObj.getDate());
108    },
109    d: function (dateObj) { return String(dateObj.getDay()); },
110    dd: function (dateObj) { return pad(dateObj.getDay()); },
111    ddd: function (dateObj, i18n) {
112        return i18n.dayNamesShort[dateObj.getDay()];
113    },
114    dddd: function (dateObj, i18n) {
115        return i18n.dayNames[dateObj.getDay()];
116    },
117    M: function (dateObj) { return String(dateObj.getMonth() + 1); },
118    MM: function (dateObj) { return pad(dateObj.getMonth() + 1); },
119    MMM: function (dateObj, i18n) {
120        return i18n.monthNamesShort[dateObj.getMonth()];
121    },
122    MMMM: function (dateObj, i18n) {
123        return i18n.monthNames[dateObj.getMonth()];
124    },
125    YY: function (dateObj) {
126        return pad(String(dateObj.getFullYear()), 4).substr(2);
127    },
128    YYYY: function (dateObj) { return pad(dateObj.getFullYear(), 4); },
129    h: function (dateObj) { return String(dateObj.getHours() % 12 || 12); },
130    hh: function (dateObj) { return pad(dateObj.getHours() % 12 || 12); },
131    H: function (dateObj) { return String(dateObj.getHours()); },
132    HH: function (dateObj) { return pad(dateObj.getHours()); },
133    m: function (dateObj) { return String(dateObj.getMinutes()); },
134    mm: function (dateObj) { return pad(dateObj.getMinutes()); },
135    s: function (dateObj) { return String(dateObj.getSeconds()); },
136    ss: function (dateObj) { return pad(dateObj.getSeconds()); },
137    S: function (dateObj) {
138        return String(Math.round(dateObj.getMilliseconds() / 100));
139    },
140    SS: function (dateObj) {
141        return pad(Math.round(dateObj.getMilliseconds() / 10), 2);
142    },
143    SSS: function (dateObj) { return pad(dateObj.getMilliseconds(), 3); },
144    a: function (dateObj, i18n) {
145        return dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1];
146    },
147    A: function (dateObj, i18n) {
148        return dateObj.getHours() < 12
149            ? i18n.amPm[0].toUpperCase()
150            : i18n.amPm[1].toUpperCase();
151    },
152    ZZ: function (dateObj) {
153        var offset = dateObj.getTimezoneOffset();
154        return ((offset > 0 ? "-" : "+") +
155            pad(Math.floor(Math.abs(offset) / 60) * 100 + (Math.abs(offset) % 60), 4));
156    },
157    Z: function (dateObj) {
158        var offset = dateObj.getTimezoneOffset();
159        return ((offset > 0 ? "-" : "+") +
160            pad(Math.floor(Math.abs(offset) / 60), 2) +
161            ":" +
162            pad(Math.abs(offset) % 60, 2));
163    }
164};
165var monthParse = function (v) { return +v - 1; };
166var emptyDigits = [null, twoDigitsOptional];
167var emptyWord = [null, word];
168var amPm = [
169    "isPm",
170    word,
171    function (v, i18n) {
172        var val = v.toLowerCase();
173        if (val === i18n.amPm[0]) {
174            return 0;
175        }
176        else if (val === i18n.amPm[1]) {
177            return 1;
178        }
179        return null;
180    }
181];
182var timezoneOffset = [
183    "timezoneOffset",
184    "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
185    function (v) {
186        var parts = (v + "").match(/([+-]|\d\d)/gi);
187        if (parts) {
188            var minutes = +parts[1] * 60 + parseInt(parts[2], 10);
189            return parts[0] === "+" ? minutes : -minutes;
190        }
191        return 0;
192    }
193];
194var parseFlags = {
195    D: ["day", twoDigitsOptional],
196    DD: ["day", twoDigits],
197    Do: ["day", twoDigitsOptional + word, function (v) { return parseInt(v, 10); }],
198    M: ["month", twoDigitsOptional, monthParse],
199    MM: ["month", twoDigits, monthParse],
200    YY: [
201        "year",
202        twoDigits,
203        function (v) {
204            var now = new Date();
205            var cent = +("" + now.getFullYear()).substr(0, 2);
206            return +("" + (+v > 68 ? cent - 1 : cent) + v);
207        }
208    ],
209    h: ["hour", twoDigitsOptional, undefined, "isPm"],
210    hh: ["hour", twoDigits, undefined, "isPm"],
211    H: ["hour", twoDigitsOptional],
212    HH: ["hour", twoDigits],
213    m: ["minute", twoDigitsOptional],
214    mm: ["minute", twoDigits],
215    s: ["second", twoDigitsOptional],
216    ss: ["second", twoDigits],
217    YYYY: ["year", fourDigits],
218    S: ["millisecond", "\\d", function (v) { return +v * 100; }],
219    SS: ["millisecond", twoDigits, function (v) { return +v * 10; }],
220    SSS: ["millisecond", threeDigits],
221    d: emptyDigits,
222    dd: emptyDigits,
223    ddd: emptyWord,
224    dddd: emptyWord,
225    MMM: ["month", word, monthUpdate("monthNamesShort")],
226    MMMM: ["month", word, monthUpdate("monthNames")],
227    a: amPm,
228    A: amPm,
229    ZZ: timezoneOffset,
230    Z: timezoneOffset
231};
232// Some common format strings
233var globalMasks = {
234    default: "ddd MMM DD YYYY HH:mm:ss",
235    shortDate: "M/D/YY",
236    mediumDate: "MMM D, YYYY",
237    longDate: "MMMM D, YYYY",
238    fullDate: "dddd, MMMM D, YYYY",
239    isoDate: "YYYY-MM-DD",
240    isoDateTime: "YYYY-MM-DDTHH:mm:ssZ",
241    shortTime: "HH:mm",
242    mediumTime: "HH:mm:ss",
243    longTime: "HH:mm:ss.SSS"
244};
245var setGlobalDateMasks = function (masks) { return assign(globalMasks, masks); };
246/***
247 * Format a date
248 * @method format
249 * @param {Date|number} dateObj
250 * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
251 * @returns {string} Formatted date string
252 */
253var format = function (dateObj, mask, i18n) {
254    if (mask === void 0) { mask = globalMasks["default"]; }
255    if (i18n === void 0) { i18n = {}; }
256    if (typeof dateObj === "number") {
257        dateObj = new Date(dateObj);
258    }
259    if (Object.prototype.toString.call(dateObj) !== "[object Date]" ||
260        isNaN(dateObj.getTime())) {
261        throw new Error("Invalid Date pass to format");
262    }
263    mask = globalMasks[mask] || mask;
264    var literals = [];
265    // Make literals inactive by replacing them with @@@
266    mask = mask.replace(literal, function ($0, $1) {
267        literals.push($1);
268        return "@@@";
269    });
270    var combinedI18nSettings = assign(assign({}, globalI18n), i18n);
271    // Apply formatting rules
272    mask = mask.replace(token, function ($0) {
273        return formatFlags[$0](dateObj, combinedI18nSettings);
274    });
275    // Inline literal values back into the formatted value
276    return mask.replace(/@@@/g, function () { return literals.shift(); });
277};
278/**
279 * Parse a date string into a Javascript Date object /
280 * @method parse
281 * @param {string} dateStr Date string
282 * @param {string} format Date parse format
283 * @param {i18n} I18nSettingsOptional Full or subset of I18N settings
284 * @returns {Date|null}
284 Returns Date object. Returns null what date string is invalid or doesn't match format
285 */
286function parse(dateStr, format, i18n) {
287    if (i18n === void 0) { i18n = {}; }
288    if (typeof format !== "string") {
289        throw new Error("Invalid format in fecha parse");
290    }
291    // Check to see if the format is actually a mask
292    format = globalMasks[format] || format;
293    // Avoid regular expression denial of service, fail early for really long strings
294    // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
295    if (dateStr.length > 1000) {
296        return null;
297    }
298    // Default to the beginning of the year.
299    var today = new Date();
300    var dateInfo = {
301        year: today.getFullYear(),
302        month: 0,
303        day: 1,
304        hour: 0,
305        minute: 0,
306        second: 0,
307        millisecond: 0,
308        isPm: null,
309        timezoneOffset: null
310    };
311    var parseInfo = [];
312    var literals = [];
313    // Replace all the literals with @@@. Hopefully a string that won't exist in the format
314    var newFormat = format.replace(literal, function ($0, $1) {
315        literals.push(regexEscape($1));
316        return "@@@";
317    });
318    var specifiedFields = {};
319    var requiredFields = {};
320    // Change every token that we find into the correct regex
321    newFormat = regexEscape(newFormat).replace(token, function ($0) {
322        var info = parseFlags[$0];
323        var field = info[0], regex = info[1], requiredField = info[3];
324        // Check if the person has specified the same field twice. This will lead to confusing results.
325        if (specifiedFields[field]) {
326            throw new Error("Invalid format. " + field + " specified twice in format");
327        }
328        specifiedFields[field] = true;
329        // Check if there are any required fields. For instance, 12 hour time requires AM/PM specified
330        if (requiredField) {
331            requiredFields[requiredField] = true;
332        }
333        parseInfo.push(info);
334        return "(" + regex + ")";
335    });
336    // Check all the required fields are present
337    Object.keys(requiredFields).forEach(function (field) {
338        if (!specifiedFields[field]) {
339            throw new Error("Invalid format. " + field + " is required in specified format");
340        }
341    });
342    // Add back all the literals after
343    newFormat = newFormat.replace(/@@@/g, function () { return literals.shift(); });
344    // Check if the date string matches the format. If it doesn't return null
345    var matches = dateStr.match(new RegExp(newFormat, "i"));
346    if (!matches) {
347        return null;
348    }
349    var combinedI18nSettings = assign(assign({}, globalI18n), i18n);
350    // For each match, call the parser function for that date part
351    for (var i = 1; i < matches.length; i++) {
352        var _a = parseInfo[i - 1], field = _a[0], parser = _a[2];
353        var value = parser
354            ? parser(matches[i], combinedI18nSettings)
355            : +matches[i];
356        // If the parser can't make sense of the value, return null
357        if (value == null) {
358            return null;
359        }
360        dateInfo[field] = value;
361    }
362    if (dateInfo.isPm === 1 && dateInfo.hour != null && +dateInfo.hour !== 12) {
363        dateInfo.hour = +dateInfo.hour + 12;
364    }
365    else if (dateInfo.isPm === 0 && +dateInfo.hour === 12) {
366        dateInfo.hour = 0;
367    }
368    var dateTZ;
369    if (dateInfo.timezoneOffset == null) {
370        dateTZ = new Date(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute, dateInfo.second, dateInfo.millisecond);
371        var validateFields = [
372            ["month", "getMonth"],
373            ["day", "getDate"],
374            ["hour", "getHours"],
375            ["minute", "getMinutes"],
376            ["second", "getSeconds"]
377        ];
378        for (var i = 0, len = validateFields.length; i < len; i++) {
379            // Check to make sure the date field is within the allowed range. Javascript dates allows values
380            // outside the allowed range. If the values don't match the value was invalid
381            if (specifiedFields[validateFields[i][0]] &&
382                dateInfo[validateFields[i][0]] !== dateTZ[validateFields[i][1]]()) {
383                return null;
384            }
385        }
386    }
387    else {
388        dateTZ = new Date(Date.UTC(dateInfo.year, dateInfo.month, dateInfo.day, dateInfo.hour, dateInfo.minute - dateInfo.timezoneOffset, dateInfo.second, dateInfo.millisecond));
389        // We can't validate dates in another timezone unfortunately. Do a basic check instead
390        if (dateInfo.month > 11 ||
391            dateInfo.month < 0 ||
392            dateInfo.day > 31 ||
393            dateInfo.day < 1 ||
394            dateInfo.hour > 23 ||
395            dateInfo.hour < 0 ||
396            dateInfo.minute > 59 ||
397            dateInfo.minute < 0 ||
398            dateInfo.second > 59 ||
399            dateInfo.second < 0) {
400            return null;
401        }
402    }
403    // Don't allow invalid dates
404    return dateTZ;
405}
406var fecha = {
407    format: format,
408    parse: parse,
409    defaultI18n: defaultI18n,
410    setGlobalDateI18n: setGlobalDateI18n,
411    setGlobalDateMasks: setGlobalDateMasks
412};
413
414/* harmony default export */ __webpack_exports__["default"] = (fecha);
415
416//# sourceMappingURL=fecha.js.map
417
418
419/***/ }),
420
421/***/ "17a2":
422/***/ (function(module, __webpack_exports__, __webpack_require__) {
423
424"use strict";
425/* harmony import */ var _firebase_messaging_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("50be");
426
427//# sourceMappingURL=index.esm.js.map
428
429
430/***/ }),
431
432/***/ "31dc":
433/***/ (function(module, __webpack_exports__, __webpack_require__) {
434
435"use strict";
436/* harmony import */ var _firebase_storage_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0a90");
437
438//# sourceMappingURL=index.esm.js.map
439
440
441/***/ }),
442
443/***/ "5cb3":
444/***/ (function(module, __webpack_exports__, __webpack_require__) {
445
446"use strict";
447/* harmony import */ var _firebase_firestore_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1a43");
448
449//# sourceMappingURL=index.esm.js.map
450
451
452/***/ }),
453
454/***/ "5f48":
455/***/ (function(module, __webpack_exports__, __webpack_require__) {
456
457"use strict";
458/* harmony import */ var _firebase_analytics_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4816");
459
460//# sourceMappingURL=index.esm.js.map
461
462
463/***/ }),
464
465/***/ "aedf":
466/***/ (function(module, __webpack_exports__, __webpack_require__) {
467
468"use strict";
469/* harmony import */ var _firebase_app_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7ded");
470/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _firebase_app_compat__WEBPACK_IMPORTED_MODULE_0__["a"]; });
471
472
473
474
475var name = "firebase";
476var version = "9.23.0";
477
478/**
479 * @license
480 * Copyright 2020 Google LLC
481 *
482 * Licensed under the Apache License, Version 2.0 (the "License");
483 * you may not use this file except in compliance with the License.
484 * You may obtain a copy of the License at
485 *
486 *   http://www.apache.org/licenses/LICENSE-2.0
487 *
488 * Unless required by applicable law or agreed to in writing, software
489 * distributed under the License is distributed on an "AS IS" BASIS,
490 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
491 * See the License for the specific language governing permissions and
492 * limitations under the License.
493 */
494_firebase_app_compat__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].registerVersion(name, version, 'app-compat');
495//# sourceMappingURL=index.esm.js.map
496
497
498/***/ }),
499
500/***/ "be8c":
501/***/ (function(module, __webpack_exports__, __webpack_require__) {
502
503"use strict";
504/* harmony import */ var _firebase_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6a7c");
505/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _firebase_auth__WEBPACK_IMPORTED_MODULE_0__["a"]; });
506
507/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _firebase_auth__WEBPACK_IMPORTED_MODULE_0__["b"]; });
508
509/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _firebase_auth__WEBPACK_IMPORTED_MODULE_0__["c"]; });
510
511
512//# sourceMappingURL=index.esm.js.map
513
514
515/***/ }),
516
517/***/ "e9f8":
518/***/ (function(module, __webpack_exports__, __webpack_require__) {
519
520"use strict";
521/* harmony import */ var _firebase_auth_compat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5994");
522
523//# sourceMappingURL=index.esm.js.map
524
525
526/***/ })
527
528}]);

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.