@nylas/web-elements 0.0.0-canary-20250120165013 → 0.0.0-canary-20250122221254
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/checkbox-component/checkbox-component.es.js +14 -18
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +275 -278
- package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +2 -1
- package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +2 -1
- package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +3 -7
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +301 -296
- package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +2 -1
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -18
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +18 -13
- package/dist/cdn/textarea-component/textarea-component.es.js +147 -146
- package/dist/cjs/checkbox-component_3.cjs.entry.js +2 -3
- package/dist/cjs/checkbox-component_3.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +12 -4
- package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +10 -2
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +2 -1
- package/dist/cjs/textarea-component.cjs.entry.js.map +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.css +4 -0
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -2
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
- package/dist/collection/components/design-system/textarea-component/textarea-component.js +2 -1
- package/dist/collection/components/design-system/textarea-component/textarea-component.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +25 -1
- package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +10 -2
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +12 -4
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/components/checkbox-component2.js +2 -3
- package/dist/components/checkbox-component2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +12 -4
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-scheduling.js +10 -2
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/textarea-component2.js +2 -1
- package/dist/components/textarea-component2.js.map +1 -1
- package/dist/esm/checkbox-component_3.entry.js +2 -3
- package/dist/esm/checkbox-component_3.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +12 -4
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +10 -2
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/textarea-component.entry.js +2 -1
- package/dist/esm/textarea-component.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-a4b25253.entry.js → p-1d12e7e7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a4b25253.entry.js.map → p-1d12e7e7.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-748f9af9.entry.js +2 -0
- package/dist/nylas-web-elements/p-748f9af9.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-ea91e5b3.entry.js +2 -0
- package/dist/nylas-web-elements/p-ea91e5b3.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-dd830dcc.entry.js → p-f7bd80de.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-dd830dcc.entry.js.map → p-f7bd80de.entry.js.map} +1 -1
- package/package.json +3 -3
- package/dist/nylas-web-elements/p-02488442.entry.js +0 -2
- package/dist/nylas-web-elements/p-02488442.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-b61dfe09.entry.js +0 -2
- package/dist/nylas-web-elements/p-b61dfe09.entry.js.map +0 -1
|
@@ -11874,7 +11874,7 @@ function J4(n) {
|
|
|
11874
11874
|
}), n;
|
|
11875
11875
|
}
|
|
11876
11876
|
function zi(n) {
|
|
11877
|
-
const e = mn(
|
|
11877
|
+
const e = mn(n8, n);
|
|
11878
11878
|
return e ? e.name === "feed" ? Q4(e) : X4(e) : null;
|
|
11879
11879
|
}
|
|
11880
11880
|
function Q4(n) {
|
|
@@ -11915,7 +11915,7 @@ function X4(n) {
|
|
|
11915
11915
|
const a = Ge("lastBuildDate", i);
|
|
11916
11916
|
return a && (r.updated = new Date(a)), fe(r, "author", "managingEditor", i, !0), r;
|
|
11917
11917
|
}
|
|
11918
|
-
const
|
|
11918
|
+
const e8 = ["url", "type", "lang"], t8 = [
|
|
11919
11919
|
"fileSize",
|
|
11920
11920
|
"bitrate",
|
|
11921
11921
|
"framerate",
|
|
@@ -11931,9 +11931,9 @@ function fE(n) {
|
|
|
11931
11931
|
medium: t.medium,
|
|
11932
11932
|
isDefault: !!t.isDefault
|
|
11933
11933
|
};
|
|
11934
|
-
for (const r of
|
|
11934
|
+
for (const r of e8)
|
|
11935
11935
|
t[r] && (i[r] = t[r]);
|
|
11936
|
-
for (const r of
|
|
11936
|
+
for (const r of t8)
|
|
11937
11937
|
t[r] && (i[r] = parseInt(t[r], 10));
|
|
11938
11938
|
return t.expression && (i.expression = t.expression), i;
|
|
11939
11939
|
});
|
|
@@ -11948,10 +11948,10 @@ function fe(n, e, t, i, r = !1) {
|
|
|
11948
11948
|
const a = Ge(t, i, r);
|
|
11949
11949
|
a && (n[e] = a);
|
|
11950
11950
|
}
|
|
11951
|
-
function
|
|
11951
|
+
function n8(n) {
|
|
11952
11952
|
return n === "rss" || n === "feed" || n === "rdf:RDF";
|
|
11953
11953
|
}
|
|
11954
|
-
const
|
|
11954
|
+
const i8 = /* @__PURE__ */ Object.freeze({
|
|
11955
11955
|
__proto__: null,
|
|
11956
11956
|
isTag: ye,
|
|
11957
11957
|
isCDATA: Cn,
|
|
@@ -12004,29 +12004,29 @@ function hE(n, e) {
|
|
|
12004
12004
|
function gE(n, e) {
|
|
12005
12005
|
return hE(n, e).children;
|
|
12006
12006
|
}
|
|
12007
|
-
function
|
|
12007
|
+
function r8(n, e, t) {
|
|
12008
12008
|
const i = new hn(n, e, t);
|
|
12009
12009
|
return new Ri(i, e);
|
|
12010
12010
|
}
|
|
12011
|
-
const
|
|
12012
|
-
function
|
|
12011
|
+
const a8 = { xmlMode: !0 };
|
|
12012
|
+
function o8(n, e = a8) {
|
|
12013
12013
|
return zi(gE(n, e));
|
|
12014
12014
|
}
|
|
12015
|
-
const
|
|
12015
|
+
const s8 = /* @__PURE__ */ Object.freeze({
|
|
12016
12016
|
__proto__: null,
|
|
12017
12017
|
parseDocument: hE,
|
|
12018
12018
|
parseDOM: gE,
|
|
12019
|
-
createDomStream:
|
|
12020
|
-
parseFeed:
|
|
12019
|
+
createDomStream: r8,
|
|
12020
|
+
parseFeed: o8,
|
|
12021
12021
|
Parser: Ri,
|
|
12022
12022
|
DomHandler: hn,
|
|
12023
12023
|
DefaultHandler: hn,
|
|
12024
12024
|
Tokenizer: _6,
|
|
12025
12025
|
ElementType: f4,
|
|
12026
12026
|
getFeed: zi,
|
|
12027
|
-
DomUtils:
|
|
12028
|
-
}),
|
|
12029
|
-
var
|
|
12027
|
+
DomUtils: i8
|
|
12028
|
+
}), u8 = /* @__PURE__ */ $n(s8);
|
|
12029
|
+
var l8 = (n) => {
|
|
12030
12030
|
if (typeof n != "string")
|
|
12031
12031
|
throw new TypeError("Expected a string");
|
|
12032
12032
|
return n.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
@@ -12040,52 +12040,52 @@ var lB = (n) => {
|
|
|
12040
12040
|
function Qr(n) {
|
|
12041
12041
|
return Object.prototype.toString.call(n) === "[object Object]";
|
|
12042
12042
|
}
|
|
12043
|
-
function
|
|
12043
|
+
function c8(n) {
|
|
12044
12044
|
var e, t;
|
|
12045
12045
|
return Qr(n) === !1 ? !1 : (e = n.constructor, e === void 0 ? !0 : (t = e.prototype, !(Qr(t) === !1 || t.hasOwnProperty("isPrototypeOf") === !1)));
|
|
12046
12046
|
}
|
|
12047
|
-
const
|
|
12047
|
+
const d8 = /* @__PURE__ */ Object.freeze({
|
|
12048
12048
|
__proto__: null,
|
|
12049
|
-
isPlainObject:
|
|
12050
|
-
}),
|
|
12051
|
-
var
|
|
12052
|
-
return
|
|
12049
|
+
isPlainObject: c8
|
|
12050
|
+
}), f8 = /* @__PURE__ */ $n(d8);
|
|
12051
|
+
var h8 = function(e) {
|
|
12052
|
+
return g8(e) && !p8(e);
|
|
12053
12053
|
};
|
|
12054
|
-
function
|
|
12054
|
+
function g8(n) {
|
|
12055
12055
|
return !!n && typeof n == "object";
|
|
12056
12056
|
}
|
|
12057
|
-
function
|
|
12057
|
+
function p8(n) {
|
|
12058
12058
|
var e = Object.prototype.toString.call(n);
|
|
12059
|
-
return e === "[object RegExp]" || e === "[object Date]" ||
|
|
12059
|
+
return e === "[object RegExp]" || e === "[object Date]" || y8(n);
|
|
12060
12060
|
}
|
|
12061
|
-
var
|
|
12062
|
-
function
|
|
12063
|
-
return n.$$typeof ===
|
|
12061
|
+
var m8 = typeof Symbol == "function" && Symbol.for, b8 = m8 ? Symbol.for("react.element") : 60103;
|
|
12062
|
+
function y8(n) {
|
|
12063
|
+
return n.$$typeof === b8;
|
|
12064
12064
|
}
|
|
12065
|
-
function
|
|
12065
|
+
function v8(n) {
|
|
12066
12066
|
return Array.isArray(n) ? [] : {};
|
|
12067
12067
|
}
|
|
12068
12068
|
function wt(n, e) {
|
|
12069
|
-
return e.clone !== !1 && e.isMergeableObject(n) ? lt(
|
|
12069
|
+
return e.clone !== !1 && e.isMergeableObject(n) ? lt(v8(n), n, e) : n;
|
|
12070
12070
|
}
|
|
12071
|
-
function
|
|
12071
|
+
function T8(n, e, t) {
|
|
12072
12072
|
return n.concat(e).map(function(i) {
|
|
12073
12073
|
return wt(i, t);
|
|
12074
12074
|
});
|
|
12075
12075
|
}
|
|
12076
|
-
function
|
|
12076
|
+
function k8(n, e) {
|
|
12077
12077
|
if (!e.customMerge)
|
|
12078
12078
|
return lt;
|
|
12079
12079
|
var t = e.customMerge(n);
|
|
12080
12080
|
return typeof t == "function" ? t : lt;
|
|
12081
12081
|
}
|
|
12082
|
-
function
|
|
12082
|
+
function x8(n) {
|
|
12083
12083
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(n).filter(function(e) {
|
|
12084
12084
|
return Object.propertyIsEnumerable.call(n, e);
|
|
12085
12085
|
}) : [];
|
|
12086
12086
|
}
|
|
12087
12087
|
function Xr(n) {
|
|
12088
|
-
return Object.keys(n).concat(
|
|
12088
|
+
return Object.keys(n).concat(x8(n));
|
|
12089
12089
|
}
|
|
12090
12090
|
function pE(n, e) {
|
|
12091
12091
|
try {
|
|
@@ -12094,21 +12094,21 @@ function pE(n, e) {
|
|
|
12094
12094
|
return !1;
|
|
12095
12095
|
}
|
|
12096
12096
|
}
|
|
12097
|
-
function
|
|
12097
|
+
function E8(n, e) {
|
|
12098
12098
|
return pE(n, e) && !(Object.hasOwnProperty.call(n, e) && Object.propertyIsEnumerable.call(n, e));
|
|
12099
12099
|
}
|
|
12100
|
-
function
|
|
12100
|
+
function S8(n, e, t) {
|
|
12101
12101
|
var i = {};
|
|
12102
12102
|
return t.isMergeableObject(n) && Xr(n).forEach(function(r) {
|
|
12103
12103
|
i[r] = wt(n[r], t);
|
|
12104
12104
|
}), Xr(e).forEach(function(r) {
|
|
12105
|
-
|
|
12105
|
+
E8(n, r) || (pE(n, r) && t.isMergeableObject(e[r]) ? i[r] = k8(r, t)(n[r], e[r], t) : i[r] = wt(e[r], t));
|
|
12106
12106
|
}), i;
|
|
12107
12107
|
}
|
|
12108
12108
|
function lt(n, e, t) {
|
|
12109
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
12109
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || T8, t.isMergeableObject = t.isMergeableObject || h8, t.cloneUnlessOtherwiseSpecified = wt;
|
|
12110
12110
|
var i = Array.isArray(e), r = Array.isArray(n), a = i === r;
|
|
12111
|
-
return a ? i ? t.arrayMerge(n, e, t) :
|
|
12111
|
+
return a ? i ? t.arrayMerge(n, e, t) : S8(n, e, t) : wt(e, t);
|
|
12112
12112
|
}
|
|
12113
12113
|
lt.all = function(e, t) {
|
|
12114
12114
|
if (!Array.isArray(e))
|
|
@@ -12117,7 +12117,7 @@ lt.all = function(e, t) {
|
|
|
12117
12117
|
return lt(i, r, t);
|
|
12118
12118
|
}, {});
|
|
12119
12119
|
};
|
|
12120
|
-
var
|
|
12120
|
+
var w8 = lt, $8 = w8, mE = { exports: {} };
|
|
12121
12121
|
(function(n) {
|
|
12122
12122
|
(function(e, t) {
|
|
12123
12123
|
n.exports ? n.exports = t() : e.parseSrcset = t();
|
|
@@ -12187,10 +12187,10 @@ var ea = me.process, ji = { exports: {} }, Q = String, bE = function() {
|
|
|
12187
12187
|
};
|
|
12188
12188
|
ji.exports = bE();
|
|
12189
12189
|
ji.exports.createColors = bE;
|
|
12190
|
-
const
|
|
12190
|
+
const B8 = {}, C8 = /* @__PURE__ */ Object.freeze({
|
|
12191
12191
|
__proto__: null,
|
|
12192
|
-
default:
|
|
12193
|
-
}), $e = /* @__PURE__ */ $n(
|
|
12192
|
+
default: B8
|
|
12193
|
+
}), $e = /* @__PURE__ */ $n(C8);
|
|
12194
12194
|
let ta = ji.exports, na = $e;
|
|
12195
12195
|
class $t extends Error {
|
|
12196
12196
|
constructor(e, t, i, r, a, o) {
|
|
@@ -12252,7 +12252,7 @@ const ia = {
|
|
|
12252
12252
|
commentRight: " ",
|
|
12253
12253
|
semicolon: !1
|
|
12254
12254
|
};
|
|
12255
|
-
function
|
|
12255
|
+
function P8(n) {
|
|
12256
12256
|
return n[0].toUpperCase() + n.slice(1);
|
|
12257
12257
|
}
|
|
12258
12258
|
class oi {
|
|
@@ -12322,7 +12322,7 @@ class oi {
|
|
|
12322
12322
|
if (i === "before" || i === "after")
|
|
12323
12323
|
return this.beforeAfter(e, i);
|
|
12324
12324
|
{
|
|
12325
|
-
let u = "raw" +
|
|
12325
|
+
let u = "raw" + P8(i);
|
|
12326
12326
|
this[u] ? r = this[u](o, e) : o.walk((s) => {
|
|
12327
12327
|
if (r = s.raws[t], typeof r < "u") return !1;
|
|
12328
12328
|
});
|
|
@@ -12422,13 +12422,13 @@ class oi {
|
|
|
12422
12422
|
}
|
|
12423
12423
|
var yE = oi;
|
|
12424
12424
|
oi.default = oi;
|
|
12425
|
-
let
|
|
12425
|
+
let A8 = yE;
|
|
12426
12426
|
function si(n, e) {
|
|
12427
|
-
new
|
|
12427
|
+
new A8(e).stringify(n);
|
|
12428
12428
|
}
|
|
12429
12429
|
var An = si;
|
|
12430
12430
|
si.default = si;
|
|
12431
|
-
let { isClean: zt, my:
|
|
12431
|
+
let { isClean: zt, my: D8 } = Rt, M8 = qi, O8 = yE, I8 = An;
|
|
12432
12432
|
function ui(n, e) {
|
|
12433
12433
|
let t = new n.constructor();
|
|
12434
12434
|
for (let i in n) {
|
|
@@ -12440,7 +12440,7 @@ function ui(n, e) {
|
|
|
12440
12440
|
}
|
|
12441
12441
|
class li {
|
|
12442
12442
|
constructor(e = {}) {
|
|
12443
|
-
this.raws = {}, this[zt] = !1, this[
|
|
12443
|
+
this.raws = {}, this[zt] = !1, this[D8] = !0;
|
|
12444
12444
|
for (let t in e)
|
|
12445
12445
|
if (t === "nodes") {
|
|
12446
12446
|
this.nodes = [];
|
|
@@ -12459,7 +12459,7 @@ class li {
|
|
|
12459
12459
|
t
|
|
12460
12460
|
);
|
|
12461
12461
|
}
|
|
12462
|
-
return new
|
|
12462
|
+
return new M8(e);
|
|
12463
12463
|
}
|
|
12464
12464
|
warn(e, t, i) {
|
|
12465
12465
|
let r = { node: this };
|
|
@@ -12469,7 +12469,7 @@ class li {
|
|
|
12469
12469
|
remove() {
|
|
12470
12470
|
return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
|
|
12471
12471
|
}
|
|
12472
|
-
toString(e =
|
|
12472
|
+
toString(e = I8) {
|
|
12473
12473
|
e.stringify && (e = e.stringify);
|
|
12474
12474
|
let t = "";
|
|
12475
12475
|
return e(this, (i) => {
|
|
@@ -12527,7 +12527,7 @@ class li {
|
|
|
12527
12527
|
return e;
|
|
12528
12528
|
}
|
|
12529
12529
|
raw(e, t) {
|
|
12530
|
-
return new
|
|
12530
|
+
return new O8().raw(this, e, t);
|
|
12531
12531
|
}
|
|
12532
12532
|
cleanRaws(e) {
|
|
12533
12533
|
delete this.raws.before, delete this.raws.after, e || delete this.raws.between;
|
|
@@ -12634,8 +12634,8 @@ class li {
|
|
|
12634
12634
|
}
|
|
12635
12635
|
var Dn = li;
|
|
12636
12636
|
li.default = li;
|
|
12637
|
-
let
|
|
12638
|
-
class ci extends
|
|
12637
|
+
let R8 = Dn;
|
|
12638
|
+
class ci extends R8 {
|
|
12639
12639
|
constructor(e) {
|
|
12640
12640
|
e && typeof e.value < "u" && typeof e.value != "string" && (e = { ...e, value: String(e.value) }), super(e), this.type = "decl";
|
|
12641
12641
|
}
|
|
@@ -12645,24 +12645,24 @@ class ci extends RB {
|
|
|
12645
12645
|
}
|
|
12646
12646
|
var Mn = ci;
|
|
12647
12647
|
ci.default = ci;
|
|
12648
|
-
let
|
|
12648
|
+
let N8 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", L8 = (n, e = 21) => (t = e) => {
|
|
12649
12649
|
let i = "", r = t;
|
|
12650
12650
|
for (; r--; )
|
|
12651
12651
|
i += n[Math.random() * n.length | 0];
|
|
12652
12652
|
return i;
|
|
12653
|
-
},
|
|
12653
|
+
}, _8 = (n = 21) => {
|
|
12654
12654
|
let e = "", t = n;
|
|
12655
12655
|
for (; t--; )
|
|
12656
|
-
e +=
|
|
12656
|
+
e += N8[Math.random() * 64 | 0];
|
|
12657
12657
|
return e;
|
|
12658
12658
|
};
|
|
12659
|
-
const
|
|
12659
|
+
const F8 = /* @__PURE__ */ Object.freeze({
|
|
12660
12660
|
__proto__: null,
|
|
12661
|
-
nanoid:
|
|
12662
|
-
customAlphabet:
|
|
12663
|
-
}),
|
|
12664
|
-
let { SourceMapConsumer: ra, SourceMapGenerator: aa } = $e, { existsSync:
|
|
12665
|
-
function
|
|
12661
|
+
nanoid: _8,
|
|
12662
|
+
customAlphabet: L8
|
|
12663
|
+
}), U8 = /* @__PURE__ */ $n(F8);
|
|
12664
|
+
let { SourceMapConsumer: ra, SourceMapGenerator: aa } = $e, { existsSync: z8, readFileSync: j8 } = $e, { dirname: Un, join: q8 } = $e;
|
|
12665
|
+
function H8(n) {
|
|
12666
12666
|
return w ? w.from(n, "base64").toString() : window.atob(n);
|
|
12667
12667
|
}
|
|
12668
12668
|
class di {
|
|
@@ -12695,13 +12695,13 @@ class di {
|
|
|
12695
12695
|
if (r.test(e) || a.test(e))
|
|
12696
12696
|
return decodeURIComponent(e.substr(RegExp.lastMatch.length));
|
|
12697
12697
|
if (t.test(e) || i.test(e))
|
|
12698
|
-
return
|
|
12698
|
+
return H8(e.substr(RegExp.lastMatch.length));
|
|
12699
12699
|
let o = e.match(/data:application\/json;([^,]+),/)[1];
|
|
12700
12700
|
throw new Error("Unsupported source map encoding " + o);
|
|
12701
12701
|
}
|
|
12702
12702
|
loadFile(e) {
|
|
12703
|
-
if (this.root = Un(e),
|
|
12704
|
-
return this.mapFile = e,
|
|
12703
|
+
if (this.root = Un(e), z8(e))
|
|
12704
|
+
return this.mapFile = e, j8(e, "utf-8").toString().trim();
|
|
12705
12705
|
}
|
|
12706
12706
|
loadMap(e, t) {
|
|
12707
12707
|
if (t === !1) return !1;
|
|
@@ -12734,7 +12734,7 @@ class di {
|
|
|
12734
12734
|
return this.decodeInline(this.annotation);
|
|
12735
12735
|
if (this.annotation) {
|
|
12736
12736
|
let i = this.annotation;
|
|
12737
|
-
return e && (i =
|
|
12737
|
+
return e && (i = q8(Un(e), i)), this.loadFile(i);
|
|
12738
12738
|
}
|
|
12739
12739
|
}
|
|
12740
12740
|
}
|
|
@@ -12744,20 +12744,20 @@ class di {
|
|
|
12744
12744
|
}
|
|
12745
12745
|
var vE = di;
|
|
12746
12746
|
di.default = di;
|
|
12747
|
-
let { SourceMapConsumer:
|
|
12747
|
+
let { SourceMapConsumer: Y8, SourceMapGenerator: G8 } = $e, { fileURLToPath: oa, pathToFileURL: jt } = $e, { resolve: fi, isAbsolute: hi } = $e, { nanoid: V8 } = U8, zn = $e, sa = qi, W8 = vE, jn = Symbol("fromOffsetCache"), K8 = !!(Y8 && G8), ua = !!(fi && hi);
|
|
12748
12748
|
class bn {
|
|
12749
12749
|
constructor(e, t = {}) {
|
|
12750
12750
|
if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
|
|
12751
12751
|
throw new Error(`PostCSS received ${e} instead of CSS string`);
|
|
12752
|
-
if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, t.from && (!ua || /^\w+:\/\//.test(t.from) || hi(t.from) ? this.file = t.from : this.file = fi(t.from)), ua &&
|
|
12753
|
-
let i = new
|
|
12752
|
+
if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, t.from && (!ua || /^\w+:\/\//.test(t.from) || hi(t.from) ? this.file = t.from : this.file = fi(t.from)), ua && K8) {
|
|
12753
|
+
let i = new W8(this.css, t);
|
|
12754
12754
|
if (i.text) {
|
|
12755
12755
|
this.map = i;
|
|
12756
12756
|
let r = i.consumer().file;
|
|
12757
12757
|
!this.file && r && (this.file = this.mapResolve(r));
|
|
12758
12758
|
}
|
|
12759
12759
|
}
|
|
12760
|
-
this.file || (this.id = "<input css " +
|
|
12760
|
+
this.file || (this.id = "<input css " + V8(6) + ">"), this.map && (this.map.file = this.from);
|
|
12761
12761
|
}
|
|
12762
12762
|
fromOffset(e) {
|
|
12763
12763
|
let t, i;
|
|
@@ -12870,8 +12870,8 @@ class bn {
|
|
|
12870
12870
|
var On = bn;
|
|
12871
12871
|
bn.default = bn;
|
|
12872
12872
|
zn && zn.registerInput && zn.registerInput(bn);
|
|
12873
|
-
let { SourceMapConsumer: TE, SourceMapGenerator: Jt } = $e, { dirname: Qt, resolve: kE, relative: xE, sep: EE } = $e, { pathToFileURL: la } = $e,
|
|
12874
|
-
class
|
|
12873
|
+
let { SourceMapConsumer: TE, SourceMapGenerator: Jt } = $e, { dirname: Qt, resolve: kE, relative: xE, sep: EE } = $e, { pathToFileURL: la } = $e, Z8 = On, J8 = !!(TE && Jt), Q8 = !!(Qt && kE && xE && EE);
|
|
12874
|
+
class X8 {
|
|
12875
12875
|
constructor(e, t, i, r) {
|
|
12876
12876
|
this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = r, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute;
|
|
12877
12877
|
}
|
|
@@ -12888,7 +12888,7 @@ class XB {
|
|
|
12888
12888
|
}
|
|
12889
12889
|
});
|
|
12890
12890
|
else {
|
|
12891
|
-
let e = new
|
|
12891
|
+
let e = new Z8(this.css, this.opts);
|
|
12892
12892
|
e.map && this.previousMaps.push(e.map);
|
|
12893
12893
|
}
|
|
12894
12894
|
return this.previousMaps;
|
|
@@ -13000,7 +13000,7 @@ class XB {
|
|
|
13000
13000
|
});
|
|
13001
13001
|
}
|
|
13002
13002
|
generate() {
|
|
13003
|
-
if (this.clearAnnotation(),
|
|
13003
|
+
if (this.clearAnnotation(), Q8 && J8 && this.isMap())
|
|
13004
13004
|
return this.generateMap();
|
|
13005
13005
|
{
|
|
13006
13006
|
let e = "";
|
|
@@ -13010,16 +13010,16 @@ class XB {
|
|
|
13010
13010
|
}
|
|
13011
13011
|
}
|
|
13012
13012
|
}
|
|
13013
|
-
var SE =
|
|
13014
|
-
let
|
|
13015
|
-
class gi extends
|
|
13013
|
+
var SE = X8;
|
|
13014
|
+
let eB = Dn;
|
|
13015
|
+
class gi extends eB {
|
|
13016
13016
|
constructor(e) {
|
|
13017
13017
|
super(e), this.type = "comment";
|
|
13018
13018
|
}
|
|
13019
13019
|
}
|
|
13020
13020
|
var In = gi;
|
|
13021
13021
|
gi.default = gi;
|
|
13022
|
-
let { isClean: wE, my: $E } = Rt, BE = Mn, CE = In,
|
|
13022
|
+
let { isClean: wE, my: $E } = Rt, BE = Mn, CE = In, tB = Dn, PE, Hi, Yi, AE;
|
|
13023
13023
|
function DE(n) {
|
|
13024
13024
|
return n.map((e) => (e.nodes && (e.nodes = DE(e.nodes)), delete e.source, e));
|
|
13025
13025
|
}
|
|
@@ -13028,7 +13028,7 @@ function ME(n) {
|
|
|
13028
13028
|
for (let e of n.proxyOf.nodes)
|
|
13029
13029
|
ME(e);
|
|
13030
13030
|
}
|
|
13031
|
-
class we extends
|
|
13031
|
+
class we extends tB {
|
|
13032
13032
|
push(e) {
|
|
13033
13033
|
return e.parent = this, this.proxyOf.nodes.push(e), this;
|
|
13034
13034
|
}
|
|
@@ -13230,8 +13230,8 @@ we.rebuild = (n) => {
|
|
|
13230
13230
|
we.rebuild(e);
|
|
13231
13231
|
});
|
|
13232
13232
|
};
|
|
13233
|
-
let
|
|
13234
|
-
class Bt extends
|
|
13233
|
+
let nB = Xe, OE, IE;
|
|
13234
|
+
class Bt extends nB {
|
|
13235
13235
|
constructor(e) {
|
|
13236
13236
|
super({ type: "document", ...e }), this.nodes || (this.nodes = []);
|
|
13237
13237
|
}
|
|
@@ -13265,7 +13265,7 @@ class pi {
|
|
|
13265
13265
|
}
|
|
13266
13266
|
var RE = pi;
|
|
13267
13267
|
pi.default = pi;
|
|
13268
|
-
let
|
|
13268
|
+
let iB = RE;
|
|
13269
13269
|
class mi {
|
|
13270
13270
|
constructor(e, t, i) {
|
|
13271
13271
|
this.processor = e, this.messages = [], this.root = t, this.opts = i, this.css = void 0, this.map = void 0;
|
|
@@ -13275,7 +13275,7 @@ class mi {
|
|
|
13275
13275
|
}
|
|
13276
13276
|
warn(e, t = {}) {
|
|
13277
13277
|
t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin);
|
|
13278
|
-
let i = new
|
|
13278
|
+
let i = new iB(e, t);
|
|
13279
13279
|
return this.messages.push(i), i;
|
|
13280
13280
|
}
|
|
13281
13281
|
warnings() {
|
|
@@ -13287,8 +13287,8 @@ class mi {
|
|
|
13287
13287
|
}
|
|
13288
13288
|
var Vi = mi;
|
|
13289
13289
|
mi.default = mi;
|
|
13290
|
-
const qn = 39, ca = 34, qt = 92, da = 47, Ht = 10, pt = 32, Yt = 12, Gt = 9, Vt = 13,
|
|
13291
|
-
var
|
|
13290
|
+
const qn = 39, ca = 34, qt = 92, da = 47, Ht = 10, pt = 32, Yt = 12, Gt = 9, Vt = 13, rB = 91, aB = 93, oB = 40, sB = 41, uB = 123, lB = 125, cB = 59, dB = 42, fB = 58, hB = 64, Wt = /[\t\n\f\r "#'()/;[\\\]{}]/g, Kt = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, gB = /.[\n"'(/\\]/, fa = /[\da-f]/i;
|
|
13291
|
+
var pB = function(e, t = {}) {
|
|
13292
13292
|
let i = e.css.valueOf(), r = t.ignoreErrors, a, o, u, s, l, d, f, c, h, m, b = i.length, p = 0, $ = [], C = [];
|
|
13293
13293
|
function R() {
|
|
13294
13294
|
return p;
|
|
@@ -13316,18 +13316,18 @@ var p8 = function(e, t = {}) {
|
|
|
13316
13316
|
m = ["space", i.slice(p, o)], p = o - 1;
|
|
13317
13317
|
break;
|
|
13318
13318
|
}
|
|
13319
|
-
case
|
|
13320
|
-
case
|
|
13321
|
-
case
|
|
13322
|
-
case
|
|
13323
|
-
case
|
|
13324
|
-
case
|
|
13325
|
-
case
|
|
13319
|
+
case rB:
|
|
13320
|
+
case aB:
|
|
13321
|
+
case uB:
|
|
13322
|
+
case lB:
|
|
13323
|
+
case fB:
|
|
13324
|
+
case cB:
|
|
13325
|
+
case sB: {
|
|
13326
13326
|
let L = String.fromCharCode(a);
|
|
13327
13327
|
m = [L, L, p];
|
|
13328
13328
|
break;
|
|
13329
13329
|
}
|
|
13330
|
-
case
|
|
13330
|
+
case oB: {
|
|
13331
13331
|
if (c = $.length ? $.pop()[1] : "", h = i.charCodeAt(p + 1), c === "url" && h !== qn && h !== ca && h !== pt && h !== Ht && h !== Gt && h !== Yt && h !== Vt) {
|
|
13332
13332
|
o = p;
|
|
13333
13333
|
do {
|
|
@@ -13342,7 +13342,7 @@ var p8 = function(e, t = {}) {
|
|
|
13342
13342
|
} while (d);
|
|
13343
13343
|
m = ["brackets", i.slice(p, o + 1), p, o], p = o;
|
|
13344
13344
|
} else
|
|
13345
|
-
o = i.indexOf(")", p + 1), s = i.slice(p, o + 1), o === -1 ||
|
|
13345
|
+
o = i.indexOf(")", p + 1), s = i.slice(p, o + 1), o === -1 || gB.test(s) ? m = ["(", "(", p] : (m = ["brackets", s, p, o], p = o);
|
|
13346
13346
|
break;
|
|
13347
13347
|
}
|
|
13348
13348
|
case qn:
|
|
@@ -13361,7 +13361,7 @@ var p8 = function(e, t = {}) {
|
|
|
13361
13361
|
m = ["string", i.slice(p, o + 1), p, o], p = o;
|
|
13362
13362
|
break;
|
|
13363
13363
|
}
|
|
13364
|
-
case
|
|
13364
|
+
case hB: {
|
|
13365
13365
|
Wt.lastIndex = p + 1, Wt.test(i), Wt.lastIndex === 0 ? o = i.length - 1 : o = Wt.lastIndex - 2, m = ["at-word", i.slice(p, o + 1), p, o], p = o;
|
|
13366
13366
|
break;
|
|
13367
13367
|
}
|
|
@@ -13377,7 +13377,7 @@ var p8 = function(e, t = {}) {
|
|
|
13377
13377
|
break;
|
|
13378
13378
|
}
|
|
13379
13379
|
default: {
|
|
13380
|
-
a === da && i.charCodeAt(p + 1) ===
|
|
13380
|
+
a === da && i.charCodeAt(p + 1) === dB ? (o = i.indexOf("*/", p + 2) + 1, o === 0 && (r || j ? o = i.length : D("comment")), m = ["comment", i.slice(p, o + 1), p, o], p = o) : (Kt.lastIndex = p + 1, Kt.test(i), Kt.lastIndex === 0 ? o = i.length - 1 : o = Kt.lastIndex - 2, m = ["word", i.slice(p, o + 1), p, o], $.push(m), p = o);
|
|
13381
13381
|
break;
|
|
13382
13382
|
}
|
|
13383
13383
|
}
|
|
@@ -13459,13 +13459,13 @@ let Ct = {
|
|
|
13459
13459
|
};
|
|
13460
13460
|
var UE = Ct;
|
|
13461
13461
|
Ct.default = Ct;
|
|
13462
|
-
let zE = Xe,
|
|
13462
|
+
let zE = Xe, mB = UE;
|
|
13463
13463
|
class vn extends zE {
|
|
13464
13464
|
constructor(e) {
|
|
13465
13465
|
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
13466
13466
|
}
|
|
13467
13467
|
get selectors() {
|
|
13468
|
-
return
|
|
13468
|
+
return mB.comma(this.selector);
|
|
13469
13469
|
}
|
|
13470
13470
|
set selectors(e) {
|
|
13471
13471
|
let t = this.selector ? this.selector.match(/,\s*/) : null, i = t ? t[0] : "," + this.raw("between", "beforeOpen");
|
|
@@ -13475,23 +13475,23 @@ class vn extends zE {
|
|
|
13475
13475
|
var Ki = vn;
|
|
13476
13476
|
vn.default = vn;
|
|
13477
13477
|
zE.registerRule(vn);
|
|
13478
|
-
let
|
|
13478
|
+
let bB = Mn, yB = pB, vB = In, TB = Wi, kB = Nt, ha = Ki;
|
|
13479
13479
|
const ga = {
|
|
13480
13480
|
empty: !0,
|
|
13481
13481
|
space: !0
|
|
13482
13482
|
};
|
|
13483
|
-
function
|
|
13483
|
+
function xB(n) {
|
|
13484
13484
|
for (let e = n.length - 1; e >= 0; e--) {
|
|
13485
13485
|
let t = n[e], i = t[3] || t[2];
|
|
13486
13486
|
if (i) return i;
|
|
13487
13487
|
}
|
|
13488
13488
|
}
|
|
13489
|
-
class
|
|
13489
|
+
class EB {
|
|
13490
13490
|
constructor(e) {
|
|
13491
|
-
this.input = e, this.root = new
|
|
13491
|
+
this.input = e, this.root = new kB(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.customProperty = !1, this.createTokenizer(), this.root.source = { input: e, start: { offset: 0, line: 1, column: 1 } };
|
|
13492
13492
|
}
|
|
13493
13493
|
createTokenizer() {
|
|
13494
|
-
this.tokenizer =
|
|
13494
|
+
this.tokenizer = yB(this.input);
|
|
13495
13495
|
}
|
|
13496
13496
|
parse() {
|
|
13497
13497
|
let e;
|
|
@@ -13522,7 +13522,7 @@ class E8 {
|
|
|
13522
13522
|
this.endFile();
|
|
13523
13523
|
}
|
|
13524
13524
|
comment(e) {
|
|
13525
|
-
let t = new
|
|
13525
|
+
let t = new vB();
|
|
13526
13526
|
this.init(t, e[2]), t.source.end = this.getPosition(e[3] || e[2]);
|
|
13527
13527
|
let i = e[1].slice(2, -2);
|
|
13528
13528
|
if (/^\s*$/.test(i))
|
|
@@ -13574,11 +13574,11 @@ class E8 {
|
|
|
13574
13574
|
this.init(t, e[0][2]), t.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(t, "selector", e), this.current = t;
|
|
13575
13575
|
}
|
|
13576
13576
|
decl(e, t) {
|
|
13577
|
-
let i = new
|
|
13577
|
+
let i = new bB();
|
|
13578
13578
|
this.init(i, e[0][2]);
|
|
13579
13579
|
let r = e[e.length - 1];
|
|
13580
13580
|
for (r[0] === ";" && (this.semicolon = !0, e.pop()), i.source.end = this.getPosition(
|
|
13581
|
-
r[3] || r[2] ||
|
|
13581
|
+
r[3] || r[2] || xB(e)
|
|
13582
13582
|
); e[0][0] !== "word"; )
|
|
13583
13583
|
e.length === 1 && this.unknownWord(e), i.raws.before += e.shift()[1];
|
|
13584
13584
|
for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
|
|
@@ -13622,7 +13622,7 @@ class E8 {
|
|
|
13622
13622
|
e.some((l) => l[0] !== "space" && l[0] !== "comment") && (i.raws.between += o.map((l) => l[1]).join(""), o = []), this.raw(i, "value", o.concat(e), t), i.value.includes(":") && !t && this.checkMissedSemicolon(e);
|
|
13623
13623
|
}
|
|
13624
13624
|
atrule(e) {
|
|
13625
|
-
let t = new
|
|
13625
|
+
let t = new TB();
|
|
13626
13626
|
t.name = e[1].slice(1), t.name === "" && this.unnamedAtrule(t, e), this.init(t, e[2]);
|
|
13627
13627
|
let i, r, a, o = !1, u = !1, s = [], l = [];
|
|
13628
13628
|
for (; !this.tokenizer.endOfFile(); ) {
|
|
@@ -13782,10 +13782,10 @@ class E8 {
|
|
|
13782
13782
|
);
|
|
13783
13783
|
}
|
|
13784
13784
|
}
|
|
13785
|
-
var
|
|
13786
|
-
let
|
|
13785
|
+
var SB = EB;
|
|
13786
|
+
let wB = Xe, $B = SB, BB = On;
|
|
13787
13787
|
function Tn(n, e) {
|
|
13788
|
-
let t = new
|
|
13788
|
+
let t = new BB(n, e), i = new $B(t);
|
|
13789
13789
|
try {
|
|
13790
13790
|
i.parse();
|
|
13791
13791
|
} catch (r) {
|
|
@@ -13795,16 +13795,16 @@ function Tn(n, e) {
|
|
|
13795
13795
|
}
|
|
13796
13796
|
var Zi = Tn;
|
|
13797
13797
|
Tn.default = Tn;
|
|
13798
|
-
|
|
13799
|
-
let { isClean: Ce, my:
|
|
13800
|
-
const
|
|
13798
|
+
wB.registerParse(Tn);
|
|
13799
|
+
let { isClean: Ce, my: CB } = Rt, PB = SE, AB = An, DB = Xe, MB = Gi, pa = Vi, OB = Zi, IB = Nt;
|
|
13800
|
+
const RB = {
|
|
13801
13801
|
document: "Document",
|
|
13802
13802
|
root: "Root",
|
|
13803
13803
|
atrule: "AtRule",
|
|
13804
13804
|
rule: "Rule",
|
|
13805
13805
|
decl: "Declaration",
|
|
13806
13806
|
comment: "Comment"
|
|
13807
|
-
},
|
|
13807
|
+
}, NB = {
|
|
13808
13808
|
postcssPlugin: !0,
|
|
13809
13809
|
prepare: !0,
|
|
13810
13810
|
Once: !0,
|
|
@@ -13821,7 +13821,7 @@ const R8 = {
|
|
|
13821
13821
|
RootExit: !0,
|
|
13822
13822
|
DocumentExit: !0,
|
|
13823
13823
|
OnceExit: !0
|
|
13824
|
-
},
|
|
13824
|
+
}, LB = {
|
|
13825
13825
|
postcssPlugin: !0,
|
|
13826
13826
|
prepare: !0,
|
|
13827
13827
|
Once: !0
|
|
@@ -13830,7 +13830,7 @@ function mt(n) {
|
|
|
13830
13830
|
return typeof n == "object" && typeof n.then == "function";
|
|
13831
13831
|
}
|
|
13832
13832
|
function jE(n) {
|
|
13833
|
-
let e = !1, t =
|
|
13833
|
+
let e = !1, t = RB[n.type];
|
|
13834
13834
|
return n.type === "decl" ? e = n.prop.toLowerCase() : n.type === "atrule" && (e = n.name.toLowerCase()), e && n.append ? [
|
|
13835
13835
|
t,
|
|
13836
13836
|
t + "-" + e,
|
|
@@ -13863,14 +13863,14 @@ class We {
|
|
|
13863
13863
|
else if (t instanceof We || t instanceof pa)
|
|
13864
13864
|
r = bi(t.root), t.map && (typeof i.map > "u" && (i.map = {}), i.map.inline || (i.map.inline = !1), i.map.prev = t.map);
|
|
13865
13865
|
else {
|
|
13866
|
-
let a =
|
|
13866
|
+
let a = OB;
|
|
13867
13867
|
i.syntax && (a = i.syntax.parse), i.parser && (a = i.parser), a.parse && (a = a.parse);
|
|
13868
13868
|
try {
|
|
13869
13869
|
r = a(t, i);
|
|
13870
13870
|
} catch (o) {
|
|
13871
13871
|
this.processed = !0, this.error = o;
|
|
13872
13872
|
}
|
|
13873
|
-
r && !r[
|
|
13873
|
+
r && !r[CB] && DB.rebuild(r);
|
|
13874
13874
|
}
|
|
13875
13875
|
this.result = new pa(e, r, i), this.helpers = { ...yi, result: this.result, postcss: yi }, this.plugins = this.processor.plugins.map((a) => typeof a == "object" && a.prepare ? { ...a, ...a.prepare(this.result) } : a);
|
|
13876
13876
|
}
|
|
@@ -13943,9 +13943,9 @@ class We {
|
|
|
13943
13943
|
if (this.error) throw this.error;
|
|
13944
13944
|
if (this.stringified) return this.result;
|
|
13945
13945
|
this.stringified = !0, this.sync();
|
|
13946
|
-
let e = this.result.opts, t =
|
|
13946
|
+
let e = this.result.opts, t = AB;
|
|
13947
13947
|
e.syntax && (t = e.syntax.stringify), e.stringifier && (t = e.stringifier), t.stringify && (t = t.stringify);
|
|
13948
|
-
let r = new
|
|
13948
|
+
let r = new PB(t, this.result.root, this.result.opts).generate();
|
|
13949
13949
|
return this.result.css = r[0], this.result.map = r[1], this.result;
|
|
13950
13950
|
}
|
|
13951
13951
|
walkSync(e) {
|
|
@@ -14059,11 +14059,11 @@ class We {
|
|
|
14059
14059
|
for (let t of this.plugins)
|
|
14060
14060
|
if (typeof t == "object")
|
|
14061
14061
|
for (let i in t) {
|
|
14062
|
-
if (!
|
|
14062
|
+
if (!NB[i] && /^[A-Z]/.test(i))
|
|
14063
14063
|
throw new Error(
|
|
14064
14064
|
`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`
|
|
14065
14065
|
);
|
|
14066
|
-
if (!
|
|
14066
|
+
if (!LB[i])
|
|
14067
14067
|
if (typeof t[i] == "object")
|
|
14068
14068
|
for (let r in t[i])
|
|
14069
14069
|
r === "*" ? e(t, i, t[i][r]) : e(
|
|
@@ -14118,22 +14118,22 @@ We.registerPostcss = (n) => {
|
|
|
14118
14118
|
};
|
|
14119
14119
|
var qE = We;
|
|
14120
14120
|
We.default = We;
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
let
|
|
14124
|
-
const
|
|
14121
|
+
IB.registerLazyResult(We);
|
|
14122
|
+
MB.registerLazyResult(We);
|
|
14123
|
+
let _B = SE, FB = An, UB = Zi;
|
|
14124
|
+
const zB = Vi;
|
|
14125
14125
|
class vi {
|
|
14126
14126
|
constructor(e, t, i) {
|
|
14127
14127
|
t = t.toString(), this.stringified = !1, this._processor = e, this._css = t, this._opts = i, this._map = void 0;
|
|
14128
|
-
let r, a =
|
|
14129
|
-
this.result = new
|
|
14128
|
+
let r, a = FB;
|
|
14129
|
+
this.result = new zB(this._processor, r, this._opts), this.result.css = t;
|
|
14130
14130
|
let o = this;
|
|
14131
14131
|
Object.defineProperty(this.result, "root", {
|
|
14132
14132
|
get() {
|
|
14133
14133
|
return o.root;
|
|
14134
14134
|
}
|
|
14135
14135
|
});
|
|
14136
|
-
let u = new
|
|
14136
|
+
let u = new _B(a, r, this._opts, t);
|
|
14137
14137
|
if (u.isMap()) {
|
|
14138
14138
|
let [s, l] = u.generate();
|
|
14139
14139
|
s && (this.result.css = s), l && (this.result.map = l);
|
|
@@ -14160,7 +14160,7 @@ class vi {
|
|
|
14160
14160
|
get root() {
|
|
14161
14161
|
if (this._root)
|
|
14162
14162
|
return this._root;
|
|
14163
|
-
let e, t =
|
|
14163
|
+
let e, t = UB;
|
|
14164
14164
|
try {
|
|
14165
14165
|
e = t(this._css, this._opts);
|
|
14166
14166
|
} catch (i) {
|
|
@@ -14196,9 +14196,9 @@ class vi {
|
|
|
14196
14196
|
return this.result;
|
|
14197
14197
|
}
|
|
14198
14198
|
}
|
|
14199
|
-
var
|
|
14199
|
+
var jB = vi;
|
|
14200
14200
|
vi.default = vi;
|
|
14201
|
-
let
|
|
14201
|
+
let qB = jB, HB = qE, YB = Gi, GB = Nt;
|
|
14202
14202
|
class Pt {
|
|
14203
14203
|
constructor(e = []) {
|
|
14204
14204
|
this.version = "8.4.21", this.plugins = this.normalize(e);
|
|
@@ -14207,7 +14207,7 @@ class Pt {
|
|
|
14207
14207
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
14208
14208
|
}
|
|
14209
14209
|
process(e, t = {}) {
|
|
14210
|
-
return this.plugins.length === 0 && typeof t.parser > "u" && typeof t.stringifier > "u" && typeof t.syntax > "u" ? new
|
|
14210
|
+
return this.plugins.length === 0 && typeof t.parser > "u" && typeof t.stringifier > "u" && typeof t.syntax > "u" ? new qB(this, e, t) : new HB(this, e, t);
|
|
14211
14211
|
}
|
|
14212
14212
|
normalize(e) {
|
|
14213
14213
|
let t = [];
|
|
@@ -14222,21 +14222,21 @@ class Pt {
|
|
|
14222
14222
|
return t;
|
|
14223
14223
|
}
|
|
14224
14224
|
}
|
|
14225
|
-
var
|
|
14225
|
+
var VB = Pt;
|
|
14226
14226
|
Pt.default = Pt;
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
let
|
|
14227
|
+
GB.registerProcessor(Pt);
|
|
14228
|
+
YB.registerProcessor(Pt);
|
|
14229
|
+
let WB = Mn, KB = vE, ZB = In, JB = Wi, QB = On, XB = Nt, eC = Ki;
|
|
14230
14230
|
function At(n, e) {
|
|
14231
14231
|
if (Array.isArray(n)) return n.map((r) => At(r));
|
|
14232
14232
|
let { inputs: t, ...i } = n;
|
|
14233
14233
|
if (t) {
|
|
14234
14234
|
e = [];
|
|
14235
14235
|
for (let r of t) {
|
|
14236
|
-
let a = { ...r, __proto__:
|
|
14236
|
+
let a = { ...r, __proto__: QB.prototype };
|
|
14237
14237
|
a.map && (a.map = {
|
|
14238
14238
|
...a.map,
|
|
14239
|
-
__proto__:
|
|
14239
|
+
__proto__: KB.prototype
|
|
14240
14240
|
}), e.push(a);
|
|
14241
14241
|
}
|
|
14242
14242
|
}
|
|
@@ -14245,20 +14245,20 @@ function At(n, e) {
|
|
|
14245
14245
|
i.source = a, r != null && (i.source.input = e[r]);
|
|
14246
14246
|
}
|
|
14247
14247
|
if (i.type === "root")
|
|
14248
|
-
return new
|
|
14248
|
+
return new XB(i);
|
|
14249
14249
|
if (i.type === "decl")
|
|
14250
|
-
return new
|
|
14250
|
+
return new WB(i);
|
|
14251
14251
|
if (i.type === "rule")
|
|
14252
14252
|
return new eC(i);
|
|
14253
14253
|
if (i.type === "comment")
|
|
14254
|
-
return new
|
|
14254
|
+
return new ZB(i);
|
|
14255
14255
|
if (i.type === "atrule")
|
|
14256
|
-
return new
|
|
14256
|
+
return new JB(i);
|
|
14257
14257
|
throw new Error("Unknown node type: " + n.type);
|
|
14258
14258
|
}
|
|
14259
14259
|
var tC = At;
|
|
14260
14260
|
At.default = At;
|
|
14261
|
-
let nC = qi, HE = Mn, iC = qE, rC = Xe, Ji =
|
|
14261
|
+
let nC = qi, HE = Mn, iC = qE, rC = Xe, Ji = VB, aC = An, oC = tC, YE = Gi, sC = RE, GE = In, VE = Wi, uC = Vi, lC = On, cC = Zi, dC = UE, WE = Ki, KE = Nt, fC = Dn;
|
|
14262
14262
|
function K(...n) {
|
|
14263
14263
|
return n.length === 1 && Array.isArray(n[0]) && (n = n[0]), new Ji(n);
|
|
14264
14264
|
}
|
|
@@ -14310,7 +14310,7 @@ K.Node = fC;
|
|
|
14310
14310
|
iC.registerPostcss(K);
|
|
14311
14311
|
var hC = K;
|
|
14312
14312
|
K.default = K;
|
|
14313
|
-
const gC =
|
|
14313
|
+
const gC = u8, ba = l8, { isPlainObject: pC } = f8, ya = $8, mC = mE.exports, { parse: bC } = hC, yC = [
|
|
14314
14314
|
"img",
|
|
14315
14315
|
"audio",
|
|
14316
14316
|
"video",
|
|
@@ -15200,6 +15200,7 @@ const LC = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
|
|
|
15200
15200
|
this.validate(this.value), this.error && e.preventDefault();
|
|
15201
15201
|
}
|
|
15202
15202
|
handleInput(e) {
|
|
15203
|
+
this.error = "";
|
|
15203
15204
|
const t = e.target;
|
|
15204
15205
|
this.value = Ta(t.value), this.nylasFormInputChanged.emit({
|
|
15205
15206
|
value: this.value,
|
|
@@ -15213,7 +15214,7 @@ const LC = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
|
|
|
15213
15214
|
this.required && !e ? this.error = `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
|
|
15214
15215
|
}
|
|
15215
15216
|
render() {
|
|
15216
|
-
return ne("label", { key: "
|
|
15217
|
+
return ne("label", { key: "3b3dd5b1c594e2c3b3594826b1f0379925dd14e9", part: "tc__label", class: { error: !!this.error } }, ne("p", { key: "0a544d90a3b087c3479412078b1a454261bf20db" }, ne("span", { key: "c37a9e870a3ebe502b2db7fbf0968178fc7cc519", class: "label" }, this.label), this.required && ne("span", { class: "required" }, "*"), this.tooltip && ne("tooltip-component", null, ne("info-icon", { slot: "tooltip-icon" }), ne("span", { slot: "tooltip-content" }, this.tooltip))), ne("textarea", { key: "1be0e90961ebd6110bffd347a930884768429037", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && ne("span", { class: "error help-text" }, this.error));
|
|
15217
15218
|
}
|
|
15218
15219
|
static get style() {
|
|
15219
15220
|
return _C;
|