PageSourceSearch

https://doanhnhanhomaivietnam.vn/themes/introduce/w3ni911_v1/js/site51/fontawesome.js

js doanhnhanhomaivietnam.vn collected 2026-10-03 19:00:03 UTC 17,618 bytes, 479 lines download raw bytes

1window.FontAwesomeKitConfig = {
2    "asyncLoading": {
3        "enabled": true
4    },
5    "autoA11y": {
6        "enabled": true
7    },
8    "baseUrl": "https://ka-f.fontawesome.com",
9    "baseUrlKit": "https://kit.fontawesome.com",
10    "detectConflictsUntil": null,
11    "iconUploads": {},
12    "id": 6743296,
13    "license": "free",
14    "method": "css",
15    "minify": {
16        "enabled": true
17    },
18    "token": "a076d05399",
19    "v4FontFaceShim": {
20        "enabled": false
21    },
22    "v4shim": {
23        "enabled": false
24    },
25    "version": "5.15.4"
26};
27! function (t) {
28    "function" == typeof define && define.amd ? define("kit-loader", t) : t()
29}((function () {
30    "use strict";
31
32    function t(e) {
33        return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
34            return typeof t
35        } : function (t) {
36            return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
37        })(e)
38    }
39
40    function e(t, e, n) {
41        return e in t ? Object.defineProperty(t, e, {
42            value: n,
43            enumerable: !0,
44            configurable: !0,
45            writable: !0
46        }) : t[e] = n, t
47    }
48
49    function n(t, e) {
50        var n = Object.keys(t);
51        if (Object.getOwnPropertySymbols) {
52            var r = Object.getOwnPropertySymbols(t);
53            e && (r = r.filter((function (e) {
54                return Object.getOwnPropertyDescriptor(t, e).enumerable
55            }))), n.push.apply(n, r)
56        }
57        return n
58    }
59
60    function r(t) {
61        for (var r = 1; r < arguments.length; r++) {
62            var o = null != arguments[r] ? arguments[r] : {};
63            r % 2 ? n(Object(o), !0).forEach((function (n) {
64                e(t, n, o[n])
65            })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(o)) : n(Object(o)).forEach((function (e) {
66                Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(o, e))
67            }))
68        }
69        return t
70    }
71
72    function o(t, e) {
73        return function (t) {
74            if (Array.isArray(t)) return t
75        }(t) || function (t, e) {
76            if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(t))) return;
77            var n = [],
78                r = !0,
79                o = !1,
80                i = void 0;
81            try {
82                for (var c, a = t[Symbol.iterator](); !(r = (c = a.next()).done) && (n.push(c.value), !e || n.length !== e); r = !0);
83            } catch (t) {
84                o = !0, i = t
85            } finally {
86                try {
87                    r || null == a.return || a.return()
88                } finally {
89                    if (o) throw i
90                }
91            }
92            return n
93        }(t, e) || function (t, e) {
94            if (!t) return;
95            if ("string" == typeof t) return i(t, e);
96            var n = Object.prototype.toString.call(t).slice(8, -1);
97            "Object" === n && t.constructor && (n = t.constructor.name);
98            if ("Map" === n || "Set" === n) return Array.from(t);
99            if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e)
100        }(t, e) || function () {
101            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
102        }()
103    }
104
105    function i(t, e) {
106        (null == e || e > t.length) && (e = t.length);
107        for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
108        return r
109    }
110
111    function c(t, e) {
112        var n = e && e.addOn || "",
113            r = e && e.baseFilename || t.license + n,
114            o = e && e.minify ? ".min" : "",
115            i = e && e.fileSuffix || t.method,
116            c = e && e.subdir || t.method;
117        return t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/" + c + "/" + r + o + "." + i
118    }
119
120    function a(t) {
121        return t.baseUrlKit + "/" + t.token + "/" + t.id + "/kit-upload.css"
122    }
123
124    function u(t, e) {
125        var n = e || ["fa"],
126            r = "." + Array.prototype.join.call(n, ",."),
127            o = t.querySelectorAll(r);
128        Array.prototype.forEach.call(o, (function (e) {
129            var n = e.getAttribute("title");
130            e.setAttribute("aria-hidden", "true");
131            var r = !e.nextElementSibling || !e.nextElementSibling.classList.contains("sr-only");
132            if (n && r) {
133                var o = t.createElement("span");
134                o.innerHTML = n, o.classList.add("sr-only"), e.parentNode.insertBefore(o, e.nextSibling)
135            }
136        }))
137    }
138    var f, s = function () {},
139        d = "undefined" != typeof global && void 0 !== global.process && "function" == typeof global.process.emit,
140        l = "undefined" == typeof setImmediate ? setTimeout : setImmediate,
141        h = [];
142
143    function m() {
144        for (var t = 0; t < h.length; t++) h[t][0](h[t][1]);
145        h = [], f = !1
146    }
147
148    function p(t, e) {
149        h.push([t, e]), f || (f = !0, l(m, 0))
150    }
151
152    function y(t) {
153        var e = t.owner,
154            n = e._state,
155            r = e._data,
156            o = t[n],
157            i = t.then;
158        if ("function" == typeof o) {
159            n = "fulfilled";
160            try {
161                r = o(r)
162            } catch (t) {
163                w(i, t)
164            }
165        }
166        b(i, r) || ("fulfilled" === n && v(i, r), "rejected" === n && w(i, r))
167    }
168
169    function b(e, n) {
170        var r;
171        try {
172            if (e === n) throw new TypeError("A promises callback cannot return that same promise.");
173            if (n && ("function" == typeof n || "object" === t(n))) {
174                var o = n.then;
175                if ("function" == typeof o) return o.call(n, (function (t) {
176                    r || (r = !0, n === t ? g(e, t) : v(e, t))
177                }), (function (t) {
178                    r || (r = !0, w(e, t))
179                })), !0
180            }
181        } catch (t) {
182            return r || w(e, t), !0
183        }
184        return !1
185    }
186
187    function v(t, e) {
188        t !== e && b(t, e) || g(t, e)
189    }
190
191    function g(t, e) {
192        "pending" === t._state && (t._state = "settled", t._data = e, p(S, t))
193    }
194
195    function w(t, e) {
196        "pending" === t._state && (t._state = "settled", t._data = e, p(O, t))
197    }
198
199    function A(t) {
200        t._then = t._then.forEach(y)
201    }
202
203    function S(t) {
204        t._state = "fulfilled", A(t)
205    }
206
207    function O(t) {
208        t._state = "rejected", A(t), !t._handled && d && global.process.emit("unhandledRejection", t._data, t)
209    }
210
211    function j(t) {
212        global.process.emit("rejectionHandled", t)
213    }
214
215    function E(t) {
216        if ("function" != typeof t) throw new TypeError("Promise resolver " + t + " is not a function");
217        if (this instanceof E == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
218        this._then = [],
219            function (t, e) {
220                function n(t) {
221                    w(e, t)
222                }
223                try {
224                    t((function (t) {
225                        v(e, t)
226                    }), n)
227                } catch (t) {
228                    n(t)
229                }
230            }(t, this)
231    }
232    E.prototype = {
233        constructor: E,
234        _state: "pending",
235        _then: null,
236        _data: void 0,
237        _handled: !1,
238        then: function (t, e) {
239            var n = {
240                owner: this,
241                then: new this.constructor(s),
242                fulfilled: t,
243                rejected: e
244            };
245            return !e && !t || this._handled || (this._handled = !0, "rejected" === this._state && d && p(j, this)), "fulfilled" === this._state || "rejected" === this._state ? p(y, n) : this._then.push(n), n.then
246        },
247        catch: function (t) {
248            return this.then(null, t)
249        }
250    }, E.all = function (t) {
251        if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.all().");
252        return new E((function (e, n) {
253            var r = [],
254                o = 0;
255
256            function i(t) {
257                return o++,
258                    function (n) {
259                        r[t] = n, --o || e(r)
260                    }
261            }
262            for (var c, a = 0; a < t.length; a++)(c = t[a]) && "function" == typeof c.then ? c.then(i(a), n) : r[a] = c;
263            o || e(r)
264        }))
265    }, E.race = function (t) {
266        if (!Array.isArray(t)) throw new TypeError("You must pass an array to Promise.race().");
267        return new E((function (e, n) {
268            for (var r, o = 0; o < t.length; o++)(r = t[o]) && "function" == typeof r.then ? r.then(e, n) : e(r)
269        }))
270    }, E.resolve = function (e) {
271        return e && "object" === t(e) && e.constructor === E ? e : new E((function (t) {
272            t(e)
273        }))
274    }, E.reject = function (t) {
275        return new E((function (e, n) {
276            n(t)
277        }))
278    };
279    var _ = "function" == typeof Promise ? Promise : E;
280
281    function P(t, e) {
282        var n = e.fetch,
283            r = e.XMLHttpRequest,
284            o = e.token,
285            i = t;
286        return "URLSearchParams" in window ? (i = new URL(t)).searchParams.set("token", o) : i = i + "?token=" + encodeURIComponent(o), i = i.toString(), new _((function (t, e) {
287            if ("function" == typeof n) n(i, {
288                mode: "cors",
289                cache: "default"
290            }).then((function (t) {
291                if (t.ok) return t.text();
292                throw new Error("")
293            })).then((function (e) {
294                t(e)
295            })).catch(e);
296            else if ("function" == typeof r) {
297                var o = new r;
298                o.addEventListener("loadend", (function () {
299                    this.responseText ? t(this.responseText) : e(new Error(""))
300                }));
301                ["abort", "error", "timeout"].map((function (t) {
302                    o.addEventListener(t, (function () {
303                        e(new Error(""))
304                    }))
305                })), o.open("GET", i), o.send()
306            } else {
307                e(new Error(""))
308            }
309        }))
310    }
311
312    function C(t, e, n) {
313        var r = t;
314        return [
315            [/(url\("?)\.\.\/\.\.\/\.\./g, function (t, n) {
316                return "".concat(n).concat(e)
317            }],
318            [/(url\("?)\.\.\/webfonts/g, function (t, r) {
319                return "".concat(r).concat(e, "/releases/v").concat(n, "/webfonts")
320            }],
321            [/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g, function (t, n) {
322                return "".concat(n).concat(e)
323            }]
324        ].forEach((function (t) {
325            var e = o(t, 2),
326                n = e[0],
327                i = e[1];
328            r = r.replace(n, i)
329        })), r
330    }
331
332    function F(t, e) {
333        var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function () {},
334            o = e.document || o,
335            i = u.bind(u, o, ["fa", "fab", "fas", "far", "fal", "fad", "fak"]),
336            f = Object.keys(t.iconUploads || {}).length > 0;
337        t.autoA11y.enabled && n(i);
338        var s = [{
339            id: "fa-main",
340            addOn: void 0
341        }];
342        t.v4shim.enabled && s.push({
343            id: "fa-v4-shims",
344            addOn: "-v4-shims"
345        }), t.v4FontFaceShim.enabled && s.push({
346            id: "fa-v4-font-face",
347            addOn: "-v4-font-face"
348        }), f && s.push({
349            id: "fa-kit-upload",
350            customCss: !0
351        });
352        var d = s.map((function (n) {
353            return new _((function (o, i) {
354                P(n.customCss ? a(t) : c(t, {
355                    addOn: n.addOn,
356                    minify: t.minify.enabled
357                }), e).then((function (i) {
358                    o(U(i, r(r({}, e), {}, {
359                        baseUrl: t.baseUrl,
360                        version: t.version,
361                        id: n.id,
362                        contentFilter: function (t, e) {
363                            return C(t, e.baseUrl, e.version)
364                        }
365                    })))
366                })).catch(i)
367            }))
368        }));
369        return _.all(d)
370    }
371
372    function U(t, e) {
373        var n = e.contentFilter || function (t, e) {
374                return t
375            },
376            r = document.createElement("style"),
377            o = document.createTextNode(n(t, e));
378        return r.appendChild(o), r.media = "all", e.id && r.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r
379    }
380
381    function k(t, e) {
382        e.autoA11y = t.autoA11y.enabled, "pro" === t.license && (e.autoFetchSvg = !0, e.fetchSvgFrom = t.baseUrl + "/releases/" + ("latest" === t.version ? "latest" : "v".concat(t.version)) + "/svgs", e.fetchUploadedSvgFrom = t.uploadsUrl);
383        var n = [];
384        return t.v4shim.enabled && n.push(new _((function (n, o) {
385            P(c(t, {
386                addOn: "-v4-shims",
387                minify: t.minify.enabled
388            }), e).then((function (t) {
389                n(I(t, r(r({}, e), {}, {
390                    id: "fa-v4-shims"
391                })))
392            })).catch(o)
393        }))), n.push(new _((function (n, o) {
394            P(c(t, {
395                minify: t.minify.enabled
396            }), e).then((function (t) {
397                var o = I(t, r(r({}, e), {}, {
398                    id: "fa-main"
399                }));
400                n(function (t, e) {
401                    var n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0,
402                        r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0;
403                    void 0 !== r && t.setAttribute("data-auto-a11y", r ? "true" : "false");
404                    n && (t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")), t.setAttribute("data-fetch-svg-from", e.fetchSvgFrom), t.setAttribute("data-fetch-uploaded-svg-from", e.fetchUploadedSvgFrom));
405                    return t
406                }(o, e))
407            })).catch(o)
408        }))), _.all(n)
409    }
410
411    function I(t, e) {
412        var n = document.createElement("SCRIPT"),
413            r = document.createTextNode(t);
414        return n.appendChild(r), n.referrerPolicy = "strict-origin", e.id && n.setAttribute("id", e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n
415    }
416
417    function L(t) {
418        var e, n = [],
419            r = document,
420            o = r.documentElement.doScroll,
421            i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState);
422        i || r.addEventListener("DOMContentLoaded", e = function () {
423            for (r.removeEventListener("DOMContentLoaded", e), i = 1; e = n.shift();) e()
424        }), i ? setTimeout(t, 0) : n.push(t)
425    }
426
427    function T(t) {
428        "undefined" != typeof MutationObserver && new MutationObserver(t).observe(document, {
429            childList: !0,
430            subtree: !0
431        })
432    }
433    try {
434        if (window.FontAwesomeKitConfig) {
435            var x = window.FontAwesomeKitConfig,
436                M = {
437                    detectingConflicts: x.detectConflictsUntil && new Date <= new Date(x.detectConflictsUntil),
438                    detectionIgnoreAttr: "data-fa-detection-ignore",
439                    fetch: window.fetch,
440                    token: x.token,
441                    XMLHttpRequest: window.XMLHttpRequest,
442                    document: document
443                },
444                D = document.currentScript,
445                N = D ? D.parentElement : document.head;
446            (function () {
447                var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
448                    e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
449                return "js" === t.method ? k(t, e) : "css" === t.method ? F(t, e, (function (t) {
450                    L(t), T(t)
451                })) : void 0
452            })(x, M).then((function (t) {
453                t.map((function (t) {
454                    try {
455                        N.insertBefore(t, D ? D.nextSibling : null)
456                    } catch (e) {
457                        N.appendChild(t)
458                    }
459                })), M.detectingConflicts && D && L((function () {
460                    D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr));
461                    var t = function (t, e) {
462                        var n = document.createElement("script");
463                        return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, {
464                            baseFilename: "conflict-detection",
465                            fileSuffix: "js",
466                            subdir: "js",
467                            minify: t.minify.enabled
468                        }), n
469                    }(x, M);
470                    document.body.appendChild(t)
471                }))
472            })).catch((function (t) {
473                console.error("".concat("Font Awesome Kit:", " ").concat(t))
474            }))
475        }
476    } catch (t) {
477        console.error("".concat("Font Awesome Kit:", " ").concat(t))
478    }
479}));

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.