382 ? ((t.zoomedHd = t.zoomed.cloneNode()),
383 t.zoomedHd.removeAttribute("sizes"),
384 t.zoomedHd.removeAttribute("loading"),
385 (g = t.zoomedHd.addEventListener("load", function () { 386 t.zoomedHd.removeEventListener("load", g), 387 t.zoomedHd.classList.add("medium-zoom-image--opened"), 388 t.zoomedHd.addEventListener("click", r), 389 document.body.appendChild(t.zoomedHd), 390 u(); 391 }))) 392 : u();
393 });
394 },
4196 i.default(this._element).on(
4197 "click.dismiss.bs.toast",
4198 '[data-dismiss="toast"]',
4199 function () {4200 return t.hide();4201 },4202 );
4203 }),
4204 (e._close = function () {
4146 t._element.classList.add("show"),
4147 i.default(t._element).trigger("shown.bs.toast"),
4148 t._config.autohide &&
4149 (t._timeout = setTimeout(function () {4150 t.hide();4151 }, t._config.delay));4152 };
4153 if (
4154 (this._element.classList.remove("hide"),
3971 t
3972 );
3973 })();
3974 i.default(window).on("load.bs.scrollspy.data-api", function () {3975 for (3976 var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')),3977 e = t.length;3978 e--;39793980 ) {3981 var n = i.default(t[e]);3982 ce._jQueryInterface.call(n, n.data());3983 }3984 }),3985 (i.default.fn[le] = ce._jQueryInterface),
3986 (i.default.fn[le].Constructor = ce),
3987 (i.default.fn[le].noConflict = function () {
3935 .filter(function (t) {
3936 return t.classList.contains("active");
3937 })
3938 .forEach(function (t) {3939 return t.classList.remove("active");3940 });3941 }),
3942 (t._jQueryInterface = function (e) {
3943 return this.each(function () {
It is recommended to use arrow functions as callbacks.
Arrow functions can be an attractive alternative to function expressions for callbacks or function arguments.
For example, arrow functions are automatically bound to their surrounding scope/context. This provides an alternative to the pre-ES6 standard of explicitly binding function expressions to achieve similar behavior.
Additionally, arrow functions are:
less verbose, and easier to reason about.
bound lexically regardless of where or when they are invoked.
func(function(a) { return a; }); // ERROR
// prefer: func(a => a)
func(function() { return this.a; }.bind(this)); // ERROR
// prefer: func(() => this.a)
// arrow function callback
func(a => a); // OK
// generator as callback
func(function*() { yield; }); // OK
// function expression not used as callback or function argument
var funcVar = function func(a) { return a; }; // OK
// unbound function expression callback
func(function() { return this.a; }); // OK
// recursive named function callback
func(function recursiveFunc(n) { return n && n + recursiveFunc(n - 1); }); // OK