2023-01-27 08:36:12 +03:00
|
|
|
function n(n, e, t, r, o, i, u) {
|
2023-01-03 12:45:03 +03:00
|
|
|
try {
|
2023-01-27 08:36:12 +03:00
|
|
|
var a = n[i](u);
|
2023-01-03 12:45:03 +03:00
|
|
|
var c = a.value;
|
2023-01-06 06:14:10 +03:00
|
|
|
} catch (n) {
|
|
|
|
t(n);
|
2023-01-03 12:45:03 +03:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (a.done) e(c);
|
|
|
|
else Promise.resolve(c).then(r, o);
|
|
|
|
}
|
|
|
|
function e(e) {
|
|
|
|
return function() {
|
|
|
|
var t = this, r = arguments;
|
2023-01-27 08:36:12 +03:00
|
|
|
return new Promise(function(o, i) {
|
|
|
|
var u = e.apply(t, r);
|
2023-01-03 12:45:03 +03:00
|
|
|
function a(e) {
|
2023-01-27 08:36:12 +03:00
|
|
|
n(u, o, i, a, c, "next", e);
|
2023-01-03 12:45:03 +03:00
|
|
|
}
|
|
|
|
function c(e) {
|
2023-01-27 08:36:12 +03:00
|
|
|
n(u, o, i, a, c, "throw", e);
|
2023-01-03 12:45:03 +03:00
|
|
|
}
|
|
|
|
a(void 0);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|
2023-01-27 08:36:12 +03:00
|
|
|
export const styleLoader = ()=>({
|
2023-01-03 12:45:03 +03:00
|
|
|
name: 'style-loader',
|
|
|
|
setup (n) {
|
|
|
|
n.onLoad({
|
|
|
|
filter: /.*/,
|
|
|
|
namespace: 'less'
|
|
|
|
}, function() {
|
|
|
|
var n = e(function*(n) {});
|
|
|
|
return function(e) {
|
|
|
|
return n.apply(this, arguments);
|
|
|
|
};
|
|
|
|
}());
|
|
|
|
}
|
2023-01-27 08:36:12 +03:00
|
|
|
});
|