@feedmepos/mf-connect 0.1.128-dev → 0.1.128-prod
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/{App-CPSC0ccq.js → App-DFXou0ZK.js} +215 -223
- package/dist/{Bin-Cn7sCPql.js → Bin-ril4yEp7.js} +8 -8
- package/dist/{Broadcast-bR7HAyV2.js → Broadcast-CcseZmao.js} +21 -22
- package/dist/{CampaignAnalytic-Dnpw_Jwo.js → CampaignAnalytic-DaJ5a6G1.js} +6 -6
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-HaWMLA4s.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CsmgbhtH.js} +10 -9
- package/dist/{Card-BE3Y0KHF.js → Card-D7sTDXgf.js} +23 -23
- package/dist/{Collections-CLSp9Uah.js → Collections-C6d4vkox.js} +185 -197
- package/dist/{Credit-DgMyKROt.js → Credit-B9JCYQYi.js} +20 -21
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-D8eCQE4D.js → DateRangeChip.vue_vue_type_script_setup_true_lang-CwD5dRnJ.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Cteezb57.js +3638 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CXw7yS8N.js → EffectSheet.vue_vue_type_style_index_0_lang-BMxA26t5.js} +33 -33
- package/dist/{Experience-CCeRbvIe.js → Experience-pBNjY5aC.js} +31 -32
- package/dist/{FileSaver.min-D8Rw2VVN.js → FileSaver.min-BdA7jj3J.js} +1 -1
- package/dist/{Game-CYGg8vWQ.js → Game-Ba1LqaLj.js} +18 -19
- package/dist/{GiftCardSetup-rzea90xr.js → GiftCardSetup-DteySO0t.js} +31 -31
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-BFUBfL-S.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-DxFGFA_U.js} +128 -140
- package/dist/{Goals-BnZfK7a3.js → Goals-D4rLwe3y.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Cw2imjlQ.js → ImageInput.vue_vue_type_script_setup_true_lang-C-1uplPm.js} +1 -1
- package/dist/{Index-DjZi_lVg.js → Index-DZ9bEViq.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-B1q4NtuM.js → LocationPicker.vue_vue_type_script_setup_true_lang-DS3y4uib.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CUjzbMcb.js → LottieAnimation.vue_vue_type_script_setup_true_lang-BTHmofSe.js} +1 -1
- package/dist/{LoyaltyDashboard-C3TZSSQz.js → LoyaltyDashboard-CBMyLX7W.js} +14 -14
- package/dist/{MainLayout-uNGpBpJi.js → MainLayout-B3-DumYs.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-0PcswtGl.js → MainLayout.vue_vue_type_script_setup_true_lang-BWOWZMYx.js} +3 -3
- package/dist/{Marketing-SXmxcw3-.js → Marketing-CJiu6eP4.js} +4 -4
- package/dist/{MarketingMaterialEdit-DK0tjHpF.js → MarketingMaterialEdit-BuHpXGwZ.js} +211 -214
- package/dist/{Member-BFSwupq6.js → Member-AOxxLQ-x.js} +7 -7
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-cGglvqwB.js +1308 -0
- package/dist/{MemberImportHistory-z12l_IAQ.js → MemberImportHistory-o-ruPMEe.js} +7 -7
- package/dist/{MemberList-DfN7ur0J.js → MemberList-BkX_jgos.js} +105 -103
- package/dist/{MemberTransactions-Bntt4bRR.js → MemberTransactions-Bnc3BWr5.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-ComtYItw.js → MessageInput.vue_vue_type_script_setup_true_lang-DoUw4U88.js} +12 -12
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-_Imnj16x.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-BHprSEKu.js} +1 -1
- package/dist/{Mission-CvpeYVjB.js → Mission-D80DxR7z.js} +21 -22
- package/dist/{Overview-BtTkltlY.js → Overview-9gdETQLU.js} +144 -145
- package/dist/{Overview-BkaFC5La.js → Overview-jb3HWI09.js} +21 -21
- package/dist/{Point-CpNAFABM.js → Point-Pf_s2Ggb.js} +21 -22
- package/dist/{Promotion-B_vD_9UF.js → Promotion-BjjugEKH.js} +131 -137
- package/dist/{Queue-D5jDhI0f.js → Queue-CVWdBEvK.js} +46 -46
- package/dist/{Record-EsNXzy4D.js → Record-BS9lp0Cs.js} +9 -9
- package/dist/{Review-ByMrkymf.js → Review-1MRQGLAX.js} +2 -2
- package/dist/ReviewFacebookCallback-DuuQxEIK.js +238 -0
- package/dist/{ReviewGoogleCallback-BzU-hUy5.js → ReviewGoogleCallback-8kzG-TMh.js} +5 -5
- package/dist/{Reward-kxAuVGDE.js → Reward-UPonEShz.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-i9B1R3XP.js → RewardGroup.vue_vue_type_script_setup_true_lang-CW-EEgDZ.js} +14 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BmTEULNC.js +1884 -0
- package/dist/{Segment-C5SJs7al.js → Segment-BsNstBo-.js} +307 -304
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-RIerABcb.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-3uc5TjrH.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-D8jS4gee.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CKc0Q7pK.js} +4 -4
- package/dist/{Setting-zmlu3QcR.js → Setting-BD-fl3v8.js} +17 -17
- package/dist/{SettingAdvertisements-DewXGZoE.js → SettingAdvertisements-DG1btpAQ.js} +12 -12
- package/dist/Settings-LPdO0Djy.js +179 -0
- package/dist/{Store-CiTwDcgr.js → Store-CQe1YA-D.js} +29 -29
- package/dist/{StoreRewards-DaOJxsVm.js → StoreRewards-C7z5eJc4.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BTqxeKR4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CvX_M1KW.js} +25 -25
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DmeOGncB.js +142 -0
- package/dist/{Tier-lNI7GWMP.js → Tier-BBb_E8_V.js} +688 -2583
- package/dist/{Title-CDxDztnl.js → Title-CjJaca4P.js} +95 -96
- package/dist/{Transaction-CcsUvIns.js → Transaction-Dn-EPCom.js} +2 -2
- package/dist/{Upselling-BDirPkWX.js → Upselling-DB8HU6B_.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-hqzfBpop.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BG2o3Nip.js} +26 -26
- package/dist/{Voucher-CJDo5U_P.js → Voucher-Cwg3WelV.js} +19 -19
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-WjsLHh_E.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CRz0wdSO.js} +12 -12
- package/dist/{WhatsappAccount-CQBti7RJ.js → WhatsappAccount--SMCex1D.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-DVNZ774z.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-BpZ0_NtK.js} +1 -1
- package/dist/{WhatsappBot-91lIlikm.js → WhatsappBot-2BTZU0cI.js} +7 -7
- package/dist/{WhatsappBotLogs-PQTwT8e5.js → WhatsappBotLogs-nGIYzZCU.js} +5 -5
- package/dist/{WhatsappBotSettings-CUES9UL-.js → WhatsappBotSettings-DBx7ezqA.js} +5 -5
- package/dist/{WhatsappLayout-pZGYJj0J.js → WhatsappLayout-DK2idBeB.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-DAoonwsO.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-B-pAId0k.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-HEIeZYCP.js → ZodTextField.vue_vue_type_script_setup_true_lang-DYpCPJDx.js} +2 -2
- package/dist/{app--pRyBODF.js → app-DjtVpjOD.js} +3522 -4286
- package/dist/app.js +3 -4
- package/dist/{base.export-CSdCmt-6.js → base.export-Dc9I7xbt.js} +2 -2
- package/dist/business-C0Ej4JRP.js +82 -0
- package/dist/{campaign-CwQjWU63.js → campaign-BNgMmhg6.js} +94 -121
- package/dist/{campaign-t9ubUkjB.js → campaign-U8KBANd_.js} +25 -31
- package/dist/{campaign.enum-Damu7hgo.js → campaign.enum-mYG3oWwU.js} +2 -3
- package/dist/campaign.fn-BaBPV7He.js +776 -0
- package/dist/{collectible.enum-C8LbgIQ7.js → collectible.enum-BtBBkbIB.js} +1 -1
- package/dist/{collection.fn-BV7pDqa5.js → collection.fn-lFr9HoHC.js} +2 -2
- package/dist/{currency-pS0xeJA6.js → currency-B6GBpIWb.js} +1 -1
- package/dist/{effect-B532leFF.js → effect-DmzU8TpX.js} +1 -1
- package/dist/{email-addresses-CKkT_5O5.js → email-addresses-s_oiQY8W.js} +2 -2
- package/dist/{feature-flag-25oDCLLB.js → feature-flag-CRbNgxfa.js} +84 -84
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-DxOj04aq.js → helper-0o3cPptM.js} +1 -1
- package/dist/{index-BViMt33t.js → index-B6BmfoiZ.js} +1 -1
- package/dist/{index-BLRv_4gJ.js → index-BECZ4ORu.js} +1 -1
- package/dist/{index-uCkkfjE3.js → index-BMG5fllq.js} +4 -4
- package/dist/{index-ClD2-18P.js → index-BXi5bQbd.js} +6 -19
- package/dist/{index-DqQ1q8sX.js → index-Bql1JMH9.js} +19 -26
- package/dist/{index-DBT1f1M3.js → index-BvoYHJ0i.js} +2 -2
- package/dist/{index-CBYY3VEG.js → index-C9MKLJzw.js} +2614 -2700
- package/dist/{index-C_qmnOKQ.js → index-CPByCjHI.js} +9 -9
- package/dist/{index-DSAEs8u0.js → index-CZWCtODZ.js} +1 -1
- package/dist/{index-BCgTcZ7c.js → index-CigqpRCP.js} +252 -609
- package/dist/{index-BFJ2FmB4.js → index-Cnl3vaVR.js} +2 -2
- package/dist/{index-DVlo0TO9.js → index-CxxWGkQz.js} +23 -23
- package/dist/{index-BX6lcJDB.js → index-DLcl6mHQ.js} +1 -1
- package/dist/{index-DEENB4la.js → index-DMgSW1aH.js} +664 -664
- package/dist/{index-DBzCfWxW.js → index-DNx-iJd1.js} +2 -2
- package/dist/{index-ip2EqUEW.js → index-DQLDjCeb.js} +1 -1
- package/dist/{index-B3sR1LMa.js → index-DXV_Kdhp.js} +7 -7
- package/dist/{index-DiYuhtNS.js → index-Df5CnMjC.js} +4 -4
- package/dist/{index-Diw9710S.js → index-DphGTJkl.js} +4 -4
- package/dist/{index-BHnMLtU2.js → index-NOeUp1Wc.js} +235 -381
- package/dist/{index-C6pr4oIv.js → index-NhHbOATm.js} +1243 -1315
- package/dist/{index-C7wVaeC1.js → index-iEzy3892.js} +1 -1
- package/dist/{index.esm2017-DRrIFPLo.js → index.esm2017-DpKkF6uX.js} +57 -57
- package/dist/{loading--SZI7Tpo.js → loading-nQaPRntd.js} +1 -1
- package/dist/{lodash-BZqvXM_P.js → lodash-B6558zRv.js} +1 -1
- package/dist/{member-import-Bmt1OdRW.js → member-import-DWDpO4uU.js} +2 -2
- package/dist/{membership-BTFpH7Mg.js → membership-BY1-idAv.js} +3 -3
- package/dist/{money-BVtlYyxo.js → money-DE62jPYV.js} +1 -1
- package/dist/{number-DrOdGSrF.js → number-C9mUt-Ac.js} +1 -1
- package/dist/objectid-DyUyXFvt.js +145 -0
- package/dist/{onboarding-BjcSBC8v.js → onboarding-OTAVtlNj.js} +25 -25
- package/dist/{onboardingSetup-Dcv8i8qd.js → onboardingSetup-DhwhJk-r.js} +2 -2
- package/dist/{plugins-Iw52rJ1s.js → plugins-CpxP-Bn_.js} +3 -3
- package/dist/{reward-DF9tE7iA.js → reward-yx-Ttob3.js} +1 -1
- package/dist/{rule-rCPhlgAq.js → rule-C_T37PuL.js} +492 -572
- package/dist/rule-builder-WoEQdgK2.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-AnoXsK9Y.js +275 -0
- package/dist/{transaction.fn-Cp3ylqFD.js → transaction.fn-4IcKHgri.js} +2 -2
- package/dist/{trigger-O6JvCms4.js → trigger-8zSNA5H1.js} +9 -9
- package/dist/{useMarketingMaterialActions-Cnadk3AO.js → useMarketingMaterialActions-CXjA7dhm.js} +4 -4
- package/dist/{usePagination-C5lSxdqt.js → usePagination-BECgW_Yq.js} +1 -1
- package/dist/{user-B7iv0TRE.js → user-Czn9R1f-.js} +1 -1
- package/dist/vue-i18n-BJWf_QrH.js +2365 -0
- package/dist/{xlsx-DTJ6bUKL.js → xlsx-3kbv63FT.js} +440 -440
- package/dist/{zod-cIIx_Ng9.js → zod-DMdtnaR4.js} +1 -1
- package/package.json +3 -7
- package/dist/AuditLogs-CgrYStwa.js +0 -2016
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BB2gszsG.js +0 -4584
- package/dist/Grab-BRbn6ffm.js +0 -301
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-Dvcasf5O.js +0 -1322
- package/dist/ReviewFacebookCallback-BDl6NBkw.js +0 -225
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D3MZsh4A.js +0 -1923
- package/dist/Settings-5HU_uY6B.js +0 -286
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DlFCI1BT.js +0 -7007
- package/dist/business-BtEfH8Mt.js +0 -83
- package/dist/campaign.fn-D3_OzyyQ.js +0 -776
- package/dist/duplicateCampaign-19CDT2kM.js +0 -51
- package/dist/google-BQK68wbe.js +0 -5
- package/dist/objectid-DdJFC6TI.js +0 -145
- package/dist/template-v1F1rvUU.js +0 -227
- package/dist/vue-i18n-CYFvlTTS.js +0 -2365
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as U } from "./index-
|
|
2
|
-
import { d as _n, c as ve, b as qu } from "./app
|
|
1
|
+
import { z as U } from "./index-B6BmfoiZ.js";
|
|
2
|
+
import { d as _n, c as ve, b as qu } from "./app-DjtVpjOD.js";
|
|
3
3
|
var el = {}, fn = {}, Vt = {}, Yr;
|
|
4
4
|
const Xu = /* @__PURE__ */ new Map([
|
|
5
5
|
[0, 65533],
|
|
@@ -31,7 +31,7 @@ const Xu = /* @__PURE__ */ new Map([
|
|
|
31
31
|
[156, 339],
|
|
32
32
|
[158, 382],
|
|
33
33
|
[159, 376]
|
|
34
|
-
]),
|
|
34
|
+
]), mn = (
|
|
35
35
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
|
36
36
|
(Yr = String.fromCodePoint) !== null && Yr !== void 0 ? Yr : (t) => {
|
|
37
37
|
let e = "";
|
|
@@ -43,7 +43,7 @@ function ss(t) {
|
|
|
43
43
|
return t >= 55296 && t <= 57343 || t > 1114111 ? 65533 : (e = Xu.get(t)) !== null && e !== void 0 ? e : t;
|
|
44
44
|
}
|
|
45
45
|
function eh(t) {
|
|
46
|
-
return
|
|
46
|
+
return mn(ss(t));
|
|
47
47
|
}
|
|
48
48
|
function tl(t) {
|
|
49
49
|
const e = (
|
|
@@ -305,7 +305,7 @@ class ls {
|
|
|
305
305
|
}
|
|
306
306
|
function nl(t) {
|
|
307
307
|
let e = "";
|
|
308
|
-
const n = new ls(t, (r) => e +=
|
|
308
|
+
const n = new ls(t, (r) => e += mn(r));
|
|
309
309
|
return function(i, s) {
|
|
310
310
|
let o = 0, l = 0;
|
|
311
311
|
for (; (l = i.indexOf("&", l)) >= 0; ) {
|
|
@@ -371,7 +371,7 @@ const ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
371
371
|
decodeHTMLStrict: ah,
|
|
372
372
|
decodeXML: lh,
|
|
373
373
|
determineBranch: rl,
|
|
374
|
-
fromCodePoint:
|
|
374
|
+
fromCodePoint: mn,
|
|
375
375
|
htmlDecodeTree: os,
|
|
376
376
|
replaceCodePoint: ss,
|
|
377
377
|
xmlDecodeTree: as
|
|
@@ -848,7 +848,7 @@ const Nn = Ah(Vt), ro = il, Nt = /* @__PURE__ */ new Set([
|
|
|
848
848
|
["rp", oo],
|
|
849
849
|
["tbody", io],
|
|
850
850
|
["tfoot", io]
|
|
851
|
-
]),
|
|
851
|
+
]), mh = /* @__PURE__ */ new Set([
|
|
852
852
|
"area",
|
|
853
853
|
"base",
|
|
854
854
|
"basefont",
|
|
@@ -878,7 +878,7 @@ const Nn = Ah(Vt), ro = il, Nt = /* @__PURE__ */ new Set([
|
|
|
878
878
|
"foreignobject",
|
|
879
879
|
"desc",
|
|
880
880
|
"title"
|
|
881
|
-
]),
|
|
881
|
+
]), gh = /\s|\//;
|
|
882
882
|
let bh = class {
|
|
883
883
|
constructor(e, n = {}) {
|
|
884
884
|
var r, i, s, o, l, a;
|
|
@@ -901,7 +901,7 @@ let bh = class {
|
|
|
901
901
|
* to specify your own additional void elements.
|
|
902
902
|
*/
|
|
903
903
|
isVoidElement(e) {
|
|
904
|
-
return this.htmlMode &&
|
|
904
|
+
return this.htmlMode && mh.has(e);
|
|
905
905
|
}
|
|
906
906
|
/** @internal */
|
|
907
907
|
onopentagname(e, n) {
|
|
@@ -975,7 +975,7 @@ let bh = class {
|
|
|
975
975
|
this.endIndex = n, (i = (r = this.cbs).onattribute) === null || i === void 0 || i.call(r, this.attribname, this.attribvalue, e === Nn.QuoteType.Double ? '"' : e === Nn.QuoteType.Single ? "'" : e === Nn.QuoteType.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
|
|
976
976
|
}
|
|
977
977
|
getInstructionName(e) {
|
|
978
|
-
const n = e.search(
|
|
978
|
+
const n = e.search(gh);
|
|
979
979
|
let r = n < 0 ? e : e.substr(0, n);
|
|
980
980
|
return this.lowerCaseTagNames && (r = r.toLowerCase()), r;
|
|
981
981
|
}
|
|
@@ -1173,7 +1173,7 @@ let us = class {
|
|
|
1173
1173
|
* @returns A clone of the node.
|
|
1174
1174
|
*/
|
|
1175
1175
|
cloneNode(e = !1) {
|
|
1176
|
-
return
|
|
1176
|
+
return ms(this, e);
|
|
1177
1177
|
}
|
|
1178
1178
|
};
|
|
1179
1179
|
class Cr extends us {
|
|
@@ -1318,7 +1318,7 @@ function fs(t) {
|
|
|
1318
1318
|
function We(t) {
|
|
1319
1319
|
return Object.prototype.hasOwnProperty.call(t, "children");
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function ms(t, e = !1) {
|
|
1322
1322
|
let n;
|
|
1323
1323
|
if (kt(t))
|
|
1324
1324
|
n = new ar(t.data);
|
|
@@ -1341,7 +1341,7 @@ function gs(t, e = !1) {
|
|
|
1341
1341
|
return n.startIndex = t.startIndex, n.endIndex = t.endIndex, t.sourceCodeLocation != null && (n.sourceCodeLocation = t.sourceCodeLocation), n;
|
|
1342
1342
|
}
|
|
1343
1343
|
function jr(t) {
|
|
1344
|
-
const e = t.map((n) =>
|
|
1344
|
+
const e = t.map((n) => ms(n, !0));
|
|
1345
1345
|
for (let n = 1; n < e.length; n++)
|
|
1346
1346
|
e[n].prev = e[n - 1], e[n - 1].next = e[n];
|
|
1347
1347
|
return e;
|
|
@@ -1437,7 +1437,7 @@ const wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1437
1437
|
NodeWithChildren: Er,
|
|
1438
1438
|
ProcessingInstruction: ds,
|
|
1439
1439
|
Text: ar,
|
|
1440
|
-
cloneNode:
|
|
1440
|
+
cloneNode: ms,
|
|
1441
1441
|
default: uo,
|
|
1442
1442
|
hasChildren: We,
|
|
1443
1443
|
isCDATA: vn,
|
|
@@ -1459,7 +1459,7 @@ const wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1459
1459
|
(t, e) => (t.charCodeAt(e) & 64512) === 55296 ? (t.charCodeAt(e) - 55296) * 1024 + t.charCodeAt(e + 1) - 56320 + 65536 : t.charCodeAt(e)
|
|
1460
1460
|
)
|
|
1461
1461
|
);
|
|
1462
|
-
function
|
|
1462
|
+
function ml(t) {
|
|
1463
1463
|
let e = "", n = 0, r;
|
|
1464
1464
|
for (; (r = po.exec(t)) !== null; ) {
|
|
1465
1465
|
const i = r.index, s = t.charCodeAt(i), o = xh.get(s);
|
|
@@ -1467,7 +1467,7 @@ function gl(t) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
return e + t.substr(n);
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function gl(t, e) {
|
|
1471
1471
|
return function(r) {
|
|
1472
1472
|
let i, s = 0, o = "";
|
|
1473
1473
|
for (; i = t.exec(r); )
|
|
@@ -1475,11 +1475,11 @@ function ml(t, e) {
|
|
|
1475
1475
|
return o + r.substring(s);
|
|
1476
1476
|
};
|
|
1477
1477
|
}
|
|
1478
|
-
const Ih =
|
|
1478
|
+
const Ih = gl(/["&\u00A0]/g, /* @__PURE__ */ new Map([
|
|
1479
1479
|
[34, """],
|
|
1480
1480
|
[38, "&"],
|
|
1481
1481
|
[160, " "]
|
|
1482
|
-
])), _h =
|
|
1482
|
+
])), _h = gl(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
|
|
1483
1483
|
[38, "&"],
|
|
1484
1484
|
[60, "<"],
|
|
1485
1485
|
[62, ">"],
|
|
@@ -1599,7 +1599,7 @@ function Th(t, e) {
|
|
|
1599
1599
|
var n;
|
|
1600
1600
|
if (!t)
|
|
1601
1601
|
return;
|
|
1602
|
-
const r = ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) === !1 ? Bh : e.xmlMode || e.encodeEntities !== "utf8" ?
|
|
1602
|
+
const r = ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) === !1 ? Bh : e.xmlMode || e.encodeEntities !== "utf8" ? ml : Ih;
|
|
1603
1603
|
return Object.keys(t).map((i) => {
|
|
1604
1604
|
var s, o;
|
|
1605
1605
|
const l = (s = t[i]) !== null && s !== void 0 ? s : "";
|
|
@@ -1627,7 +1627,7 @@ const Ao = /* @__PURE__ */ new Set([
|
|
|
1627
1627
|
"track",
|
|
1628
1628
|
"wbr"
|
|
1629
1629
|
]);
|
|
1630
|
-
function
|
|
1630
|
+
function gs(t, e = {}) {
|
|
1631
1631
|
const n = "length" in t ? t : [t];
|
|
1632
1632
|
let r = "";
|
|
1633
1633
|
for (let i = 0; i < n.length; i++)
|
|
@@ -1637,7 +1637,7 @@ function ms(t, e = {}) {
|
|
|
1637
1637
|
function Dh(t, e) {
|
|
1638
1638
|
switch (t.type) {
|
|
1639
1639
|
case ol:
|
|
1640
|
-
return
|
|
1640
|
+
return gs(t.children, e);
|
|
1641
1641
|
case Al:
|
|
1642
1642
|
case ll:
|
|
1643
1643
|
return Fh(t);
|
|
@@ -1675,7 +1675,7 @@ function Rh(t, e) {
|
|
|
1675
1675
|
) : (
|
|
1676
1676
|
// User explicitly asked for self-closing tags, even in HTML mode
|
|
1677
1677
|
e.selfClosingTags && Ao.has(t.name)
|
|
1678
|
-
)) ? (e.xmlMode || (r += " "), r += "/>") : (r += ">", t.children.length > 0 && (r +=
|
|
1678
|
+
)) ? (e.xmlMode || (r += " "), r += "/>") : (r += ">", t.children.length > 0 && (r += gs(t.children, e)), (e.xmlMode || !Ao.has(t.name)) && (r += `</${t.name}>`)), r;
|
|
1679
1679
|
}
|
|
1680
1680
|
function Fh(t) {
|
|
1681
1681
|
return `<${t.data}>`;
|
|
@@ -1683,7 +1683,7 @@ function Fh(t) {
|
|
|
1683
1683
|
function Mh(t, e) {
|
|
1684
1684
|
var n;
|
|
1685
1685
|
let r = t.data || "";
|
|
1686
|
-
return ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) !== !1 && !(!e.xmlMode && t.parent && Eh.has(t.parent.name)) && (r = e.xmlMode || e.encodeEntities !== "utf8" ?
|
|
1686
|
+
return ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) !== !1 && !(!e.xmlMode && t.parent && Eh.has(t.parent.name)) && (r = e.xmlMode || e.encodeEntities !== "utf8" ? ml(r) : _h(r)), r;
|
|
1687
1687
|
}
|
|
1688
1688
|
function Lh(t) {
|
|
1689
1689
|
return `<![CDATA[${t.children[0].data}]]>`;
|
|
@@ -1692,7 +1692,7 @@ function Gh(t) {
|
|
|
1692
1692
|
return `<!--${t.data}-->`;
|
|
1693
1693
|
}
|
|
1694
1694
|
function bl(t, e) {
|
|
1695
|
-
return
|
|
1695
|
+
return gs(t, e);
|
|
1696
1696
|
}
|
|
1697
1697
|
function Uh(t, e) {
|
|
1698
1698
|
return We(t) ? t.children.map((n) => bl(n, e)).join("") : "";
|
|
@@ -1735,13 +1735,13 @@ function Hh(t, e) {
|
|
|
1735
1735
|
function Wh(t) {
|
|
1736
1736
|
return t.name;
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function Kh(t) {
|
|
1739
1739
|
let { next: e } = t;
|
|
1740
1740
|
for (; e !== null && !Fe(e); )
|
|
1741
1741
|
({ next: e } = e);
|
|
1742
1742
|
return e;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function zh(t) {
|
|
1745
1745
|
let { prev: e } = t;
|
|
1746
1746
|
for (; e !== null && !Fe(e); )
|
|
1747
1747
|
({ prev: e } = e);
|
|
@@ -2051,10 +2051,10 @@ const pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2051
2051
|
isDocument: fs,
|
|
2052
2052
|
isTag: Fe,
|
|
2053
2053
|
isText: kt,
|
|
2054
|
-
nextElementSibling:
|
|
2054
|
+
nextElementSibling: Kh,
|
|
2055
2055
|
prepend: Zh,
|
|
2056
2056
|
prependChild: Jh,
|
|
2057
|
-
prevElementSibling:
|
|
2057
|
+
prevElementSibling: zh,
|
|
2058
2058
|
removeElement: Cn,
|
|
2059
2059
|
removeSubsets: sd,
|
|
2060
2060
|
replaceElement: Yh,
|
|
@@ -2156,10 +2156,10 @@ function fd(t) {
|
|
|
2156
2156
|
return fo(t) === !1 ? !1 : (e = t.constructor, e === void 0 ? !0 : (n = e.prototype, !(fo(n) === !1 || n.hasOwnProperty("isPrototypeOf") === !1)));
|
|
2157
2157
|
}
|
|
2158
2158
|
vl.isPlainObject = fd;
|
|
2159
|
-
var
|
|
2160
|
-
return
|
|
2159
|
+
var md = function(e) {
|
|
2160
|
+
return gd(e) && !bd(e);
|
|
2161
2161
|
};
|
|
2162
|
-
function
|
|
2162
|
+
function gd(t) {
|
|
2163
2163
|
return !!t && typeof t == "object";
|
|
2164
2164
|
}
|
|
2165
2165
|
function bd(t) {
|
|
@@ -2173,26 +2173,26 @@ function kd(t) {
|
|
|
2173
2173
|
function xd(t) {
|
|
2174
2174
|
return Array.isArray(t) ? [] : {};
|
|
2175
2175
|
}
|
|
2176
|
-
function
|
|
2177
|
-
return e.clone !== !1 && e.isMergeableObject(t) ?
|
|
2176
|
+
function gn(t, e) {
|
|
2177
|
+
return e.clone !== !1 && e.isMergeableObject(t) ? zt(xd(t), t, e) : t;
|
|
2178
2178
|
}
|
|
2179
2179
|
function Sd(t, e, n) {
|
|
2180
2180
|
return t.concat(e).map(function(r) {
|
|
2181
|
-
return
|
|
2181
|
+
return gn(r, n);
|
|
2182
2182
|
});
|
|
2183
2183
|
}
|
|
2184
2184
|
function Id(t, e) {
|
|
2185
2185
|
if (!e.customMerge)
|
|
2186
|
-
return
|
|
2186
|
+
return zt;
|
|
2187
2187
|
var n = e.customMerge(t);
|
|
2188
|
-
return typeof n == "function" ? n :
|
|
2188
|
+
return typeof n == "function" ? n : zt;
|
|
2189
2189
|
}
|
|
2190
2190
|
function _d(t) {
|
|
2191
2191
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(e) {
|
|
2192
2192
|
return Object.propertyIsEnumerable.call(t, e);
|
|
2193
2193
|
}) : [];
|
|
2194
2194
|
}
|
|
2195
|
-
function
|
|
2195
|
+
function mo(t) {
|
|
2196
2196
|
return Object.keys(t).concat(_d(t));
|
|
2197
2197
|
}
|
|
2198
2198
|
function Cl(t, e) {
|
|
@@ -2207,25 +2207,25 @@ function vd(t, e) {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
function Cd(t, e, n) {
|
|
2209
2209
|
var r = {};
|
|
2210
|
-
return n.isMergeableObject(t) &&
|
|
2211
|
-
r[i] =
|
|
2212
|
-
}),
|
|
2213
|
-
vd(t, i) || (Cl(t, i) && n.isMergeableObject(e[i]) ? r[i] = Id(i, n)(t[i], e[i], n) : r[i] =
|
|
2210
|
+
return n.isMergeableObject(t) && mo(t).forEach(function(i) {
|
|
2211
|
+
r[i] = gn(t[i], n);
|
|
2212
|
+
}), mo(e).forEach(function(i) {
|
|
2213
|
+
vd(t, i) || (Cl(t, i) && n.isMergeableObject(e[i]) ? r[i] = Id(i, n)(t[i], e[i], n) : r[i] = gn(e[i], n));
|
|
2214
2214
|
}), r;
|
|
2215
2215
|
}
|
|
2216
|
-
function
|
|
2217
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || Sd, n.isMergeableObject = n.isMergeableObject ||
|
|
2216
|
+
function zt(t, e, n) {
|
|
2217
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Sd, n.isMergeableObject = n.isMergeableObject || md, n.cloneUnlessOtherwiseSpecified = gn;
|
|
2218
2218
|
var r = Array.isArray(e), i = Array.isArray(t), s = r === i;
|
|
2219
|
-
return s ? r ? n.arrayMerge(t, e, n) : Cd(t, e, n) :
|
|
2219
|
+
return s ? r ? n.arrayMerge(t, e, n) : Cd(t, e, n) : gn(e, n);
|
|
2220
2220
|
}
|
|
2221
|
-
|
|
2221
|
+
zt.all = function(e, n) {
|
|
2222
2222
|
if (!Array.isArray(e))
|
|
2223
2223
|
throw new Error("first argument should be an array");
|
|
2224
2224
|
return e.reduce(function(r, i) {
|
|
2225
|
-
return
|
|
2225
|
+
return zt(r, i, n);
|
|
2226
2226
|
}, {});
|
|
2227
2227
|
};
|
|
2228
|
-
var Ed =
|
|
2228
|
+
var Ed = zt, Bd = Ed, El = { exports: {} };
|
|
2229
2229
|
(function(t) {
|
|
2230
2230
|
(function(e, n) {
|
|
2231
2231
|
t.exports ? t.exports = n() : e.parseSrcset = n();
|
|
@@ -2290,8 +2290,8 @@ var Ed = Kt, Bd = Ed, El = { exports: {} };
|
|
|
2290
2290
|
};
|
|
2291
2291
|
});
|
|
2292
2292
|
})(El);
|
|
2293
|
-
var Td = El.exports, ws = { exports: {} },
|
|
2294
|
-
return { isColorSupported: !1, reset:
|
|
2293
|
+
var Td = El.exports, ws = { exports: {} }, z = String, Bl = function() {
|
|
2294
|
+
return { isColorSupported: !1, reset: z, bold: z, dim: z, italic: z, underline: z, inverse: z, hidden: z, strikethrough: z, black: z, red: z, green: z, yellow: z, blue: z, magenta: z, cyan: z, white: z, gray: z, bgBlack: z, bgRed: z, bgGreen: z, bgYellow: z, bgBlue: z, bgMagenta: z, bgCyan: z, bgWhite: z, blackBright: z, redBright: z, greenBright: z, yellowBright: z, blueBright: z, magentaBright: z, cyanBright: z, whiteBright: z, bgBlackBright: z, bgRedBright: z, bgGreenBright: z, bgYellowBright: z, bgBlueBright: z, bgMagentaBright: z, bgCyanBright: z, bgWhiteBright: z };
|
|
2295
2295
|
};
|
|
2296
2296
|
ws.exports = Bl();
|
|
2297
2297
|
ws.exports.createColors = Bl;
|
|
@@ -2300,7 +2300,7 @@ const Od = {}, Nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2300
2300
|
__proto__: null,
|
|
2301
2301
|
default: Od
|
|
2302
2302
|
}, Symbol.toStringTag, { value: "Module" })), et = /* @__PURE__ */ _n(Nd);
|
|
2303
|
-
let
|
|
2303
|
+
let go = Dd, bo = et, vi = class Tl extends Error {
|
|
2304
2304
|
constructor(e, n, r, i, s, o) {
|
|
2305
2305
|
super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof n < "u" && typeof r < "u" && (typeof n == "number" ? (this.line = n, this.column = r) : (this.line = n.line, this.column = n.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, Tl);
|
|
2306
2306
|
}
|
|
@@ -2310,10 +2310,10 @@ let mo = Dd, bo = et, vi = class Tl extends Error {
|
|
|
2310
2310
|
showSourceCode(e) {
|
|
2311
2311
|
if (!this.source) return "";
|
|
2312
2312
|
let n = this.source;
|
|
2313
|
-
e == null && (e =
|
|
2313
|
+
e == null && (e = go.isColorSupported);
|
|
2314
2314
|
let r = (u) => u, i = (u) => u, s = (u) => u;
|
|
2315
2315
|
if (e) {
|
|
2316
|
-
let { bold: u, gray: h, red: d } =
|
|
2316
|
+
let { bold: u, gray: h, red: d } = go.createColors(!0);
|
|
2317
2317
|
i = (A) => u(d(A)), r = (A) => h(A), bo && (s = (A) => bo(A));
|
|
2318
2318
|
}
|
|
2319
2319
|
let o = n.split(/\r?\n/), l = Math.max(this.line - 3, 0), a = Math.min(this.line + 2, o.length), c = String(a).length;
|
|
@@ -2588,7 +2588,7 @@ var Xt = {};
|
|
|
2588
2588
|
Xt.isClean = Symbol("isClean");
|
|
2589
2589
|
Xt.my = Symbol("my");
|
|
2590
2590
|
let Pd = ks, Qd = Nl, Hd = Tr, { isClean: en, my: Wd } = Xt;
|
|
2591
|
-
function
|
|
2591
|
+
function Kd(t, e) {
|
|
2592
2592
|
let n = new t.constructor(), r = [[t, n, e]];
|
|
2593
2593
|
for (; r.length > 0; ) {
|
|
2594
2594
|
let [i, s, o] = r.pop();
|
|
@@ -2671,7 +2671,7 @@ let Bi = class Ti {
|
|
|
2671
2671
|
delete this.raws.before, delete this.raws.after, e || delete this.raws.between;
|
|
2672
2672
|
}
|
|
2673
2673
|
clone(e = {}) {
|
|
2674
|
-
let n =
|
|
2674
|
+
let n = Kd(this);
|
|
2675
2675
|
for (let r in e)
|
|
2676
2676
|
n[r] = e[r];
|
|
2677
2677
|
return n;
|
|
@@ -2870,7 +2870,7 @@ let Bi = class Ti {
|
|
|
2870
2870
|
};
|
|
2871
2871
|
var Dr = Bi;
|
|
2872
2872
|
Bi.default = Bi;
|
|
2873
|
-
let
|
|
2873
|
+
let zd = Dr, Di = class extends zd {
|
|
2874
2874
|
constructor(e) {
|
|
2875
2875
|
super(e), this.type = "comment";
|
|
2876
2876
|
}
|
|
@@ -3430,7 +3430,7 @@ let pr = class {
|
|
|
3430
3430
|
var Rr = pr;
|
|
3431
3431
|
pr.default = pr;
|
|
3432
3432
|
Jr && Jr.registerInput && Jr.registerInput(pr);
|
|
3433
|
-
let
|
|
3433
|
+
let Kl = It, zl, Yl, Yt = class extends Kl {
|
|
3434
3434
|
constructor(e) {
|
|
3435
3435
|
super(e), this.type = "root", this.nodes || (this.nodes = []);
|
|
3436
3436
|
}
|
|
@@ -3453,18 +3453,18 @@ let zl = It, Kl, Yl, Yt = class extends zl {
|
|
|
3453
3453
|
return !n && r === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[r].raws.before), super.removeChild(e);
|
|
3454
3454
|
}
|
|
3455
3455
|
toResult(e = {}) {
|
|
3456
|
-
return new
|
|
3456
|
+
return new zl(new Yl(), this, e).stringify();
|
|
3457
3457
|
}
|
|
3458
3458
|
};
|
|
3459
3459
|
Yt.registerLazyResult = (t) => {
|
|
3460
|
-
|
|
3460
|
+
zl = t;
|
|
3461
3461
|
};
|
|
3462
3462
|
Yt.registerProcessor = (t) => {
|
|
3463
3463
|
Yl = t;
|
|
3464
3464
|
};
|
|
3465
3465
|
var Bn = Yt;
|
|
3466
3466
|
Yt.default = Yt;
|
|
3467
|
-
|
|
3467
|
+
Kl.registerRoot(Yt);
|
|
3468
3468
|
let yn = {
|
|
3469
3469
|
comma(t) {
|
|
3470
3470
|
return yn.split(t, [","], !0);
|
|
@@ -3504,10 +3504,10 @@ let $l = It, pp = jl, Ar = class extends $l {
|
|
|
3504
3504
|
var vs = Ar;
|
|
3505
3505
|
Ar.default = Ar;
|
|
3506
3506
|
$l.registerRule(Ar);
|
|
3507
|
-
let Ap = Is, fp = Or,
|
|
3507
|
+
let Ap = Is, fp = Or, mp = Nr, gp = Rr, bp = Wl, yp = Bn, wp = vs;
|
|
3508
3508
|
function To(t, e) {
|
|
3509
3509
|
return t.inputs ? t.inputs.map((n) => {
|
|
3510
|
-
let r = { ...n, __proto__:
|
|
3510
|
+
let r = { ...n, __proto__: gp.prototype };
|
|
3511
3511
|
return r.map && (r.map = {
|
|
3512
3512
|
...r.map,
|
|
3513
3513
|
__proto__: bp.prototype
|
|
@@ -3524,7 +3524,7 @@ function kp(t, e, n) {
|
|
|
3524
3524
|
if (r.type === "root")
|
|
3525
3525
|
i = new yp(r);
|
|
3526
3526
|
else if (r.type === "decl")
|
|
3527
|
-
i = new
|
|
3527
|
+
i = new mp(r);
|
|
3528
3528
|
else if (r.type === "rule")
|
|
3529
3529
|
i = new wp(r);
|
|
3530
3530
|
else if (r.type === "comment")
|
|
@@ -3849,7 +3849,7 @@ const Mo = {
|
|
|
3849
3849
|
empty: !0,
|
|
3850
3850
|
space: !0
|
|
3851
3851
|
};
|
|
3852
|
-
function
|
|
3852
|
+
function Kp(t) {
|
|
3853
3853
|
for (let e = t.length - 1; e >= 0; e--) {
|
|
3854
3854
|
let n = t[e], r = n[3] || n[2];
|
|
3855
3855
|
if (r) return r;
|
|
@@ -3860,7 +3860,7 @@ function qr(t, e, n) {
|
|
|
3860
3860
|
for (let i = e; i < n; i++) r += t[i][1];
|
|
3861
3861
|
return r;
|
|
3862
3862
|
}
|
|
3863
|
-
let
|
|
3863
|
+
let zp = class {
|
|
3864
3864
|
constructor(e) {
|
|
3865
3865
|
this.input = e, this.root = new Hp(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
|
|
3866
3866
|
}
|
|
@@ -3940,7 +3940,7 @@ let Kp = class {
|
|
|
3940
3940
|
this.init(r, e[0][2]);
|
|
3941
3941
|
let i = e[e.length - 1];
|
|
3942
3942
|
i[0] === ";" && (this.semicolon = !0, e.pop()), r.source.end = this.getPosition(
|
|
3943
|
-
i[3] || i[2] ||
|
|
3943
|
+
i[3] || i[2] || Kp(e)
|
|
3944
3944
|
), r.source.end.offset++;
|
|
3945
3945
|
let s = 0;
|
|
3946
3946
|
for (; e[s][0] !== "word"; )
|
|
@@ -4160,9 +4160,9 @@ let Kp = class {
|
|
|
4160
4160
|
);
|
|
4161
4161
|
}
|
|
4162
4162
|
};
|
|
4163
|
-
var Yp =
|
|
4163
|
+
var Yp = zp;
|
|
4164
4164
|
let jp = It, $p = Rr, Jp = Yp;
|
|
4165
|
-
function
|
|
4165
|
+
function mr(t, e) {
|
|
4166
4166
|
let n = new $p(t, e), r = new Jp(n);
|
|
4167
4167
|
try {
|
|
4168
4168
|
r.parse();
|
|
@@ -4171,9 +4171,9 @@ function gr(t, e) {
|
|
|
4171
4171
|
}
|
|
4172
4172
|
return r.root;
|
|
4173
4173
|
}
|
|
4174
|
-
var Cs =
|
|
4175
|
-
|
|
4176
|
-
jp.registerParse(
|
|
4174
|
+
var Cs = mr;
|
|
4175
|
+
mr.default = mr;
|
|
4176
|
+
jp.registerParse(mr);
|
|
4177
4177
|
let Zp = It, { my: Vp } = Xt, Li = class {
|
|
4178
4178
|
constructor(e, n = {}) {
|
|
4179
4179
|
if (this.type = "warning", this.text = e, n.node && n.node.source) {
|
|
@@ -4214,7 +4214,7 @@ let qp = ec, Gi = class {
|
|
|
4214
4214
|
};
|
|
4215
4215
|
var Es = Gi;
|
|
4216
4216
|
Gi.default = Gi;
|
|
4217
|
-
var Xp = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", npm_config__buxkaizhe_registry: "https://registry.npmjs.org", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1864", ACTIONS_ORCHESTRATION_ID: "079ebda5-be32-4cb3-8419-fe63f114096f.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:15212", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42777897468", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "73a4c71b6edf32592f0ac475d2a01745db809f68", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/release/upselling-ghp-dev-0128", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0edf73e0-ea80-418e-a3c1-8e94da9c0949", INVOCATION_ID: "355a3f0764384e4697ca7d3fa513414f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "126", GITHUB_TRIGGERING_ACTOR: "Tanwyhang", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000270383", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "release/upselling-ghp-dev-0128", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.128-dev", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "73a4c71b6edf32592f0ac475d2a01745db809f68", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/release/upselling-ghp-dev-0128", GITHUB_ACTOR: "Tanwyhang", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "72087988", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/", FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee" } };
|
|
4217
|
+
var Xp = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_401ae938-e76d-4ffa-b7ce-48a40522d7da", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_401ae938-e76d-4ffa-b7ce-48a40522d7da", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1865", ACTIONS_ORCHESTRATION_ID: "6d816d61-24ff-8c33-bfa3-bda263999e6b.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_401ae938-e76d-4ffa-b7ce-48a40522d7da", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:15881", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42740986210", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "db119026ddcb9c6349ffb1021541649c6269acaf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.128-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f367c550-7cc3-4be8-a00c-5e61f9f2e702", INVOCATION_ID: "a1d5a22efa934d5886d3d3ce2cd152c0", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "112", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000268760", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.128-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.128-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "https://registry.npmjs.org/@feedmepos/mf-upselling/-/mf-upselling-0.3.2.tgz", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "db119026ddcb9c6349ffb1021541649c6269acaf", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.128-prod", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_401ae938-e76d-4ffa-b7ce-48a40522d7da", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_401ae938-e76d-4ffa-b7ce-48a40522d7da", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_401ae938-e76d-4ffa-b7ce-48a40522d7da", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_401ae938-e76d-4ffa-b7ce-48a40522d7da", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4218
4218
|
let eA = It, tA = _s, nA = Xl, rA = Cs, Lo = Es, iA = Bn, sA = Tr, { isClean: $e, my: oA } = Xt;
|
|
4219
4219
|
const aA = {
|
|
4220
4220
|
atrule: "AtRule",
|
|
@@ -4655,7 +4655,7 @@ let uA = Xl, hA = Cs, dA = Es, pA = Tr, Qi = class {
|
|
|
4655
4655
|
};
|
|
4656
4656
|
var AA = Qi;
|
|
4657
4657
|
Qi.default = Qi;
|
|
4658
|
-
let fA = _s,
|
|
4658
|
+
let fA = _s, mA = nc, gA = AA, bA = Bn, wn = class {
|
|
4659
4659
|
constructor(e = []) {
|
|
4660
4660
|
this.version = "8.5.28", this.plugins = this.normalize(e);
|
|
4661
4661
|
}
|
|
@@ -4672,7 +4672,7 @@ let fA = _s, gA = nc, mA = AA, bA = Bn, wn = class {
|
|
|
4672
4672
|
return n;
|
|
4673
4673
|
}
|
|
4674
4674
|
process(e, n = {}) {
|
|
4675
|
-
return !this.plugins.length && !n.parser && !n.stringifier && !n.syntax ? new
|
|
4675
|
+
return !this.plugins.length && !n.parser && !n.stringifier && !n.syntax ? new gA(this, e, n) : new mA(this, e, n);
|
|
4676
4676
|
}
|
|
4677
4677
|
use(e) {
|
|
4678
4678
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
@@ -4682,7 +4682,7 @@ var yA = wn;
|
|
|
4682
4682
|
wn.default = wn;
|
|
4683
4683
|
bA.registerProcessor(wn);
|
|
4684
4684
|
fA.registerProcessor(wn);
|
|
4685
|
-
var wA = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", npm_config__buxkaizhe_registry: "https://registry.npmjs.org", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1864", ACTIONS_ORCHESTRATION_ID: "079ebda5-be32-4cb3-8419-fe63f114096f.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^14.1.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:15212", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42777897468", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "73a4c71b6edf32592f0ac475d2a01745db809f68", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/release/upselling-ghp-dev-0128", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0edf73e0-ea80-418e-a3c1-8e94da9c0949", INVOCATION_ID: "355a3f0764384e4697ca7d3fa513414f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "126", GITHUB_TRIGGERING_ACTOR: "Tanwyhang", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000270383", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "release/upselling-ghp-dev-0128", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.128-dev", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "73a4c71b6edf32592f0ac475d2a01745db809f68", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/release/upselling-ghp-dev-0128", GITHUB_ACTOR: "Tanwyhang", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "72087988", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9f4ab6bb-41ad-46ff-ae34-c40ca00dcf9d", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", IMPORT_FILES_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "feedmedev.vip", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/", VOUCHER_APP_URL: "https://voucher.feedmedev.cc/", FEATURE_FLAG_API_KEY: "MaGoXrEWuEJNpWgKTqseee" } };
|
|
4685
|
+
var wA = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_401ae938-e76d-4ffa-b7ce-48a40522d7da", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_401ae938-e76d-4ffa-b7ce-48a40522d7da", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1865", ACTIONS_ORCHESTRATION_ID: "6d816d61-24ff-8c33-bfa3-bda263999e6b.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_401ae938-e76d-4ffa-b7ce-48a40522d7da", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:15881", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42740986210", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "db119026ddcb9c6349ffb1021541649c6269acaf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.128-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f367c550-7cc3-4be8-a00c-5e61f9f2e702", INVOCATION_ID: "a1d5a22efa934d5886d3d3ce2cd152c0", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "112", GITHUB_TRIGGERING_ACTOR: "yyueniao", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000268760", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.128-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.128-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "https://registry.npmjs.org/@feedmepos/mf-upselling/-/mf-upselling-0.3.2.tgz", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "db119026ddcb9c6349ffb1021541649c6269acaf", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.128-prod", GITHUB_ACTOR: "yyueniao", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_401ae938-e76d-4ffa-b7ce-48a40522d7da", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "91043129", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_401ae938-e76d-4ffa-b7ce-48a40522d7da", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_401ae938-e76d-4ffa-b7ce-48a40522d7da", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_401ae938-e76d-4ffa-b7ce-48a40522d7da", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4686
4686
|
let rc = Is, ic = Or, kA = It, xA = ks, sc = Nr, oc = _s, SA = xp, IA = Rr, _A = nc, vA = jl, CA = Dr, EA = Cs, Bs = yA, BA = Es, ac = Bn, lc = vs, TA = Tr, DA = ec;
|
|
4687
4687
|
function ee(...t) {
|
|
4688
4688
|
return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new Bs(t);
|
|
@@ -4741,18 +4741,18 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4741
4741
|
t.exports = r();
|
|
4742
4742
|
})(ve, function() {
|
|
4743
4743
|
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", a = "hour", c = "day", u = "week", h = "month", d = "quarter", A = "year", w = "date", T = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
|
|
4744
|
-
var p = ["th", "st", "nd", "rd"],
|
|
4745
|
-
return "[" + N + (p[(
|
|
4746
|
-
} }, B = function(N, p,
|
|
4747
|
-
var
|
|
4748
|
-
return !
|
|
4744
|
+
var p = ["th", "st", "nd", "rd"], g = N % 100;
|
|
4745
|
+
return "[" + N + (p[(g - 20) % 10] || p[g] || p[0]) + "]";
|
|
4746
|
+
} }, B = function(N, p, g) {
|
|
4747
|
+
var m = String(N);
|
|
4748
|
+
return !m || m.length >= p ? N : "" + Array(p + 1 - m.length).join(g) + N;
|
|
4749
4749
|
}, v = { s: B, z: function(N) {
|
|
4750
|
-
var p = -N.utcOffset(),
|
|
4751
|
-
return (p <= 0 ? "+" : "-") + B(
|
|
4752
|
-
}, m: function N(p,
|
|
4753
|
-
if (p.date() <
|
|
4754
|
-
var
|
|
4755
|
-
return +(-(
|
|
4750
|
+
var p = -N.utcOffset(), g = Math.abs(p), m = Math.floor(g / 60), k = g % 60;
|
|
4751
|
+
return (p <= 0 ? "+" : "-") + B(m, 2, "0") + ":" + B(k, 2, "0");
|
|
4752
|
+
}, m: function N(p, g) {
|
|
4753
|
+
if (p.date() < g.date()) return -N(g, p);
|
|
4754
|
+
var m = 12 * (g.year() - p.year()) + (g.month() - p.month()), k = p.clone().add(m, h), R = g - k < 0, F = p.clone().add(m + (R ? -1 : 1), h);
|
|
4755
|
+
return +(-(m + (g - k) / (R ? k - F : F - k)) || 0);
|
|
4756
4756
|
}, a: function(N) {
|
|
4757
4757
|
return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
|
|
4758
4758
|
}, p: function(N) {
|
|
@@ -4763,35 +4763,35 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4763
4763
|
M[D] = E;
|
|
4764
4764
|
var Z = "$isDayjsObject", f = function(N) {
|
|
4765
4765
|
return N instanceof le || !(!N || !N[Z]);
|
|
4766
|
-
}, y = function N(p,
|
|
4766
|
+
}, y = function N(p, g, m) {
|
|
4767
4767
|
var k;
|
|
4768
4768
|
if (!p) return D;
|
|
4769
4769
|
if (typeof p == "string") {
|
|
4770
4770
|
var R = p.toLowerCase();
|
|
4771
|
-
M[R] && (k = R),
|
|
4771
|
+
M[R] && (k = R), g && (M[R] = g, k = R);
|
|
4772
4772
|
var F = p.split("-");
|
|
4773
4773
|
if (!k && F.length > 1) return N(F[0]);
|
|
4774
4774
|
} else {
|
|
4775
4775
|
var ie = p.name;
|
|
4776
4776
|
M[ie] = p, k = ie;
|
|
4777
4777
|
}
|
|
4778
|
-
return !
|
|
4778
|
+
return !m && k && (D = k), k || !m && D;
|
|
4779
4779
|
}, _ = function(N, p) {
|
|
4780
4780
|
if (f(N)) return N.clone();
|
|
4781
|
-
var
|
|
4782
|
-
return
|
|
4781
|
+
var g = typeof p == "object" ? p : {};
|
|
4782
|
+
return g.date = N, g.args = arguments, new le(g);
|
|
4783
4783
|
}, b = v;
|
|
4784
4784
|
b.l = y, b.i = f, b.w = function(N, p) {
|
|
4785
4785
|
return _(N, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
|
|
4786
4786
|
};
|
|
4787
4787
|
var le = function() {
|
|
4788
|
-
function N(
|
|
4789
|
-
this.$L = y(
|
|
4788
|
+
function N(g) {
|
|
4789
|
+
this.$L = y(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
|
|
4790
4790
|
}
|
|
4791
4791
|
var p = N.prototype;
|
|
4792
|
-
return p.parse = function(
|
|
4793
|
-
this.$d = function(
|
|
4794
|
-
var k =
|
|
4792
|
+
return p.parse = function(g) {
|
|
4793
|
+
this.$d = function(m) {
|
|
4794
|
+
var k = m.date, R = m.utc;
|
|
4795
4795
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
4796
4796
|
if (b.u(k)) return /* @__PURE__ */ new Date();
|
|
4797
4797
|
if (k instanceof Date) return new Date(k);
|
|
@@ -4803,29 +4803,29 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
4805
|
return new Date(k);
|
|
4806
|
-
}(
|
|
4806
|
+
}(g), this.init();
|
|
4807
4807
|
}, p.init = function() {
|
|
4808
|
-
var
|
|
4809
|
-
this.$y =
|
|
4808
|
+
var g = this.$d;
|
|
4809
|
+
this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
|
|
4810
4810
|
}, p.$utils = function() {
|
|
4811
4811
|
return b;
|
|
4812
4812
|
}, p.isValid = function() {
|
|
4813
4813
|
return this.$d.toString() !== T;
|
|
4814
|
-
}, p.isSame = function(
|
|
4815
|
-
var k = _(
|
|
4816
|
-
return this.startOf(
|
|
4817
|
-
}, p.isAfter = function(
|
|
4818
|
-
return _(
|
|
4819
|
-
}, p.isBefore = function(
|
|
4820
|
-
return this.endOf(
|
|
4821
|
-
}, p.$g = function(
|
|
4822
|
-
return b.u(
|
|
4814
|
+
}, p.isSame = function(g, m) {
|
|
4815
|
+
var k = _(g);
|
|
4816
|
+
return this.startOf(m) <= k && k <= this.endOf(m);
|
|
4817
|
+
}, p.isAfter = function(g, m) {
|
|
4818
|
+
return _(g) < this.startOf(m);
|
|
4819
|
+
}, p.isBefore = function(g, m) {
|
|
4820
|
+
return this.endOf(m) < _(g);
|
|
4821
|
+
}, p.$g = function(g, m, k) {
|
|
4822
|
+
return b.u(g) ? this[m] : this.set(k, g);
|
|
4823
4823
|
}, p.unix = function() {
|
|
4824
4824
|
return Math.floor(this.valueOf() / 1e3);
|
|
4825
4825
|
}, p.valueOf = function() {
|
|
4826
4826
|
return this.$d.getTime();
|
|
4827
|
-
}, p.startOf = function(
|
|
4828
|
-
var k = this, R = !!b.u(
|
|
4827
|
+
}, p.startOf = function(g, m) {
|
|
4828
|
+
var k = this, R = !!b.u(m) || m, F = b.p(g), ie = function(ke, se) {
|
|
4829
4829
|
var nt = b.w(k.$u ? Date.UTC(k.$y, se, ke) : new Date(k.$y, se, ke), k);
|
|
4830
4830
|
return R ? nt : nt.endOf(c);
|
|
4831
4831
|
}, pe = function(ke, se) {
|
|
@@ -4851,39 +4851,39 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4851
4851
|
default:
|
|
4852
4852
|
return this.clone();
|
|
4853
4853
|
}
|
|
4854
|
-
}, p.endOf = function(
|
|
4855
|
-
return this.startOf(
|
|
4856
|
-
}, p.$set = function(
|
|
4857
|
-
var k, R = b.p(
|
|
4854
|
+
}, p.endOf = function(g) {
|
|
4855
|
+
return this.startOf(g, !1);
|
|
4856
|
+
}, p.$set = function(g, m) {
|
|
4857
|
+
var k, R = b.p(g), F = "set" + (this.$u ? "UTC" : ""), ie = (k = {}, k[c] = F + "Date", k[w] = F + "Date", k[h] = F + "Month", k[A] = F + "FullYear", k[a] = F + "Hours", k[l] = F + "Minutes", k[o] = F + "Seconds", k[s] = F + "Milliseconds", k)[R], pe = R === c ? this.$D + (m - this.$W) : m;
|
|
4858
4858
|
if (R === h || R === A) {
|
|
4859
4859
|
var Q = this.clone().set(w, 1);
|
|
4860
4860
|
Q.$d[ie](pe), Q.init(), this.$d = Q.set(w, Math.min(this.$D, Q.daysInMonth())).$d;
|
|
4861
4861
|
} else ie && this.$d[ie](pe);
|
|
4862
4862
|
return this.init(), this;
|
|
4863
|
-
}, p.set = function(
|
|
4864
|
-
return this.clone().$set(
|
|
4865
|
-
}, p.get = function(
|
|
4866
|
-
return this[b.p(
|
|
4867
|
-
}, p.add = function(
|
|
4863
|
+
}, p.set = function(g, m) {
|
|
4864
|
+
return this.clone().$set(g, m);
|
|
4865
|
+
}, p.get = function(g) {
|
|
4866
|
+
return this[b.p(g)]();
|
|
4867
|
+
}, p.add = function(g, m) {
|
|
4868
4868
|
var k, R = this;
|
|
4869
|
-
|
|
4870
|
-
var F = b.p(
|
|
4869
|
+
g = Number(g);
|
|
4870
|
+
var F = b.p(m), ie = function(H) {
|
|
4871
4871
|
var Ie = _(R);
|
|
4872
|
-
return b.w(Ie.date(Ie.date() + Math.round(H *
|
|
4872
|
+
return b.w(Ie.date(Ie.date() + Math.round(H * g)), R);
|
|
4873
4873
|
};
|
|
4874
|
-
if (F === h) return this.set(h, this.$M +
|
|
4875
|
-
if (F === A) return this.set(A, this.$y +
|
|
4874
|
+
if (F === h) return this.set(h, this.$M + g);
|
|
4875
|
+
if (F === A) return this.set(A, this.$y + g);
|
|
4876
4876
|
if (F === c) return ie(1);
|
|
4877
4877
|
if (F === u) return ie(7);
|
|
4878
|
-
var pe = (k = {}, k[l] = r, k[a] = i, k[o] = n, k)[F] || 1, Q = this.$d.getTime() +
|
|
4878
|
+
var pe = (k = {}, k[l] = r, k[a] = i, k[o] = n, k)[F] || 1, Q = this.$d.getTime() + g * pe;
|
|
4879
4879
|
return b.w(Q, this);
|
|
4880
|
-
}, p.subtract = function(
|
|
4881
|
-
return this.add(-1 *
|
|
4882
|
-
}, p.format = function(
|
|
4883
|
-
var
|
|
4880
|
+
}, p.subtract = function(g, m) {
|
|
4881
|
+
return this.add(-1 * g, m);
|
|
4882
|
+
}, p.format = function(g) {
|
|
4883
|
+
var m = this, k = this.$locale();
|
|
4884
4884
|
if (!this.isValid()) return k.invalidDate || T;
|
|
4885
|
-
var R =
|
|
4886
|
-
return se && (se[nt] || se(
|
|
4885
|
+
var R = g || "YYYY-MM-DDTHH:mm:ssZ", F = b.z(this), ie = this.$H, pe = this.$m, Q = this.$M, H = k.weekdays, Ie = k.months, j = k.meridiem, Y = function(se, nt, At, Dt) {
|
|
4886
|
+
return se && (se[nt] || se(m, R)) || At[nt].slice(0, Dt);
|
|
4887
4887
|
}, Le = function(se) {
|
|
4888
4888
|
return b.s(ie % 12 || 12, se, "0");
|
|
4889
4889
|
}, ke = j || function(se, nt, At) {
|
|
@@ -4894,9 +4894,9 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4894
4894
|
return nt || function(At) {
|
|
4895
4895
|
switch (At) {
|
|
4896
4896
|
case "YY":
|
|
4897
|
-
return String(
|
|
4897
|
+
return String(m.$y).slice(-2);
|
|
4898
4898
|
case "YYYY":
|
|
4899
|
-
return b.s(
|
|
4899
|
+
return b.s(m.$y, 4, "0");
|
|
4900
4900
|
case "M":
|
|
4901
4901
|
return Q + 1;
|
|
4902
4902
|
case "MM":
|
|
@@ -4906,17 +4906,17 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4906
4906
|
case "MMMM":
|
|
4907
4907
|
return Y(Ie, Q);
|
|
4908
4908
|
case "D":
|
|
4909
|
-
return
|
|
4909
|
+
return m.$D;
|
|
4910
4910
|
case "DD":
|
|
4911
|
-
return b.s(
|
|
4911
|
+
return b.s(m.$D, 2, "0");
|
|
4912
4912
|
case "d":
|
|
4913
|
-
return String(
|
|
4913
|
+
return String(m.$W);
|
|
4914
4914
|
case "dd":
|
|
4915
|
-
return Y(k.weekdaysMin,
|
|
4915
|
+
return Y(k.weekdaysMin, m.$W, H, 2);
|
|
4916
4916
|
case "ddd":
|
|
4917
|
-
return Y(k.weekdaysShort,
|
|
4917
|
+
return Y(k.weekdaysShort, m.$W, H, 3);
|
|
4918
4918
|
case "dddd":
|
|
4919
|
-
return H[
|
|
4919
|
+
return H[m.$W];
|
|
4920
4920
|
case "H":
|
|
4921
4921
|
return String(ie);
|
|
4922
4922
|
case "HH":
|
|
@@ -4934,11 +4934,11 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4934
4934
|
case "mm":
|
|
4935
4935
|
return b.s(pe, 2, "0");
|
|
4936
4936
|
case "s":
|
|
4937
|
-
return String(
|
|
4937
|
+
return String(m.$s);
|
|
4938
4938
|
case "ss":
|
|
4939
|
-
return b.s(
|
|
4939
|
+
return b.s(m.$s, 2, "0");
|
|
4940
4940
|
case "SSS":
|
|
4941
|
-
return b.s(
|
|
4941
|
+
return b.s(m.$ms, 3, "0");
|
|
4942
4942
|
case "Z":
|
|
4943
4943
|
return F;
|
|
4944
4944
|
}
|
|
@@ -4947,8 +4947,8 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4947
4947
|
});
|
|
4948
4948
|
}, p.utcOffset = function() {
|
|
4949
4949
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4950
|
-
}, p.diff = function(
|
|
4951
|
-
var R, F = this, ie = b.p(
|
|
4950
|
+
}, p.diff = function(g, m, k) {
|
|
4951
|
+
var R, F = this, ie = b.p(m), pe = _(g), Q = (pe.utcOffset() - this.utcOffset()) * r, H = this - pe, Ie = function() {
|
|
4952
4952
|
return b.m(F, pe);
|
|
4953
4953
|
};
|
|
4954
4954
|
switch (ie) {
|
|
@@ -4984,9 +4984,9 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4984
4984
|
return this.endOf(h).$D;
|
|
4985
4985
|
}, p.$locale = function() {
|
|
4986
4986
|
return M[this.$L];
|
|
4987
|
-
}, p.locale = function(
|
|
4988
|
-
if (!
|
|
4989
|
-
var k = this.clone(), R = y(
|
|
4987
|
+
}, p.locale = function(g, m) {
|
|
4988
|
+
if (!g) return this.$L;
|
|
4989
|
+
var k = this.clone(), R = y(g, m, !0);
|
|
4990
4990
|
return R && (k.$L = R), k;
|
|
4991
4991
|
}, p.clone = function() {
|
|
4992
4992
|
return b.w(this.$d, this);
|
|
@@ -5187,19 +5187,19 @@ function WA(t) {
|
|
|
5187
5187
|
return e.url + (e.w ? ` ${e.w}w` : "") + (e.h ? ` ${e.h}h` : "") + (e.d ? ` ${e.d}x` : "");
|
|
5188
5188
|
}).join(", ");
|
|
5189
5189
|
}
|
|
5190
|
-
var
|
|
5191
|
-
const
|
|
5190
|
+
var KA = kn;
|
|
5191
|
+
const zA = /^[^\0\t\n\f\r /<=>]+$/;
|
|
5192
5192
|
function kn(t, e, n) {
|
|
5193
5193
|
if (t == null)
|
|
5194
5194
|
return "";
|
|
5195
5195
|
typeof t == "number" && (t = t.toString());
|
|
5196
5196
|
let r = "", i = "";
|
|
5197
|
-
function s(p,
|
|
5198
|
-
const
|
|
5199
|
-
this.tag = p, this.attribs =
|
|
5197
|
+
function s(p, g) {
|
|
5198
|
+
const m = this;
|
|
5199
|
+
this.tag = p, this.attribs = g || {}, this.tagPosition = r.length, this.text = "", this.openingTagLength = 0, this.mediaChildren = [], this.updateParentNodeText = function() {
|
|
5200
5200
|
if (x.length) {
|
|
5201
5201
|
const k = x[x.length - 1];
|
|
5202
|
-
k.text +=
|
|
5202
|
+
k.text += m.text;
|
|
5203
5203
|
}
|
|
5204
5204
|
}, this.updateParentNodeMediaChildren = function() {
|
|
5205
5205
|
x.length && PA.includes(this.tag) && x[x.length - 1].mediaChildren.push(this.tag);
|
|
@@ -5227,60 +5227,60 @@ and ensure you are accounting for this risk.
|
|
|
5227
5227
|
"xmp"
|
|
5228
5228
|
];
|
|
5229
5229
|
let a, c;
|
|
5230
|
-
e.allowedAttributes && (a = {}, c = {}, Pt(e.allowedAttributes, function(p,
|
|
5231
|
-
a[
|
|
5232
|
-
const
|
|
5230
|
+
e.allowedAttributes && (a = {}, c = {}, Pt(e.allowedAttributes, function(p, g) {
|
|
5231
|
+
a[g] = [];
|
|
5232
|
+
const m = [];
|
|
5233
5233
|
p.forEach(function(k) {
|
|
5234
|
-
typeof k == "string" && k.indexOf("*") >= 0 ?
|
|
5235
|
-
}),
|
|
5234
|
+
typeof k == "string" && k.indexOf("*") >= 0 ? m.push(Po(k).replace(/\\\*/g, ".*")) : a[g].push(k);
|
|
5235
|
+
}), m.length && (c[g] = new RegExp("^(" + m.join("|") + ")$"));
|
|
5236
5236
|
}));
|
|
5237
5237
|
const u = {}, h = {}, d = {};
|
|
5238
|
-
Pt(e.allowedClasses, function(p,
|
|
5239
|
-
if (a && (ut(a,
|
|
5240
|
-
const
|
|
5241
|
-
u[
|
|
5242
|
-
typeof k == "string" && k.indexOf("*") >= 0 ?
|
|
5243
|
-
}),
|
|
5238
|
+
Pt(e.allowedClasses, function(p, g) {
|
|
5239
|
+
if (a && (ut(a, g) || (a[g] = []), a[g].push("class")), u[g] = p, Array.isArray(p)) {
|
|
5240
|
+
const m = [];
|
|
5241
|
+
u[g] = [], d[g] = [], p.forEach(function(k) {
|
|
5242
|
+
typeof k == "string" && k.indexOf("*") >= 0 ? m.push(Po(k).replace(/\\\*/g, ".*")) : k instanceof RegExp ? d[g].push(k) : u[g].push(k);
|
|
5243
|
+
}), m.length && (h[g] = new RegExp("^(" + m.join("|") + ")$"));
|
|
5244
5244
|
}
|
|
5245
5245
|
});
|
|
5246
5246
|
const A = {};
|
|
5247
5247
|
let w;
|
|
5248
|
-
Pt(e.transformTags, function(p,
|
|
5249
|
-
let
|
|
5250
|
-
typeof p == "function" ?
|
|
5248
|
+
Pt(e.transformTags, function(p, g) {
|
|
5249
|
+
let m;
|
|
5250
|
+
typeof p == "function" ? m = p : typeof p == "string" && (m = kn.simpleTransform(p)), g === "*" ? w = m : A[g] = m;
|
|
5251
5251
|
});
|
|
5252
5252
|
let T, x, O, E, B, v, D = !1;
|
|
5253
5253
|
Z();
|
|
5254
5254
|
const M = new FA.Parser({
|
|
5255
|
-
onopentag: function(p,
|
|
5256
|
-
if (e.onOpenTag && e.onOpenTag(p,
|
|
5255
|
+
onopentag: function(p, g) {
|
|
5256
|
+
if (e.onOpenTag && e.onOpenTag(p, g), e.enforceHtmlBoundary && p === "html" && Z(), B) {
|
|
5257
5257
|
v++;
|
|
5258
5258
|
return;
|
|
5259
5259
|
}
|
|
5260
|
-
const
|
|
5261
|
-
x.push(
|
|
5260
|
+
const m = new s(p, g);
|
|
5261
|
+
x.push(m);
|
|
5262
5262
|
let k = !1;
|
|
5263
|
-
const R = !!
|
|
5263
|
+
const R = !!m.text;
|
|
5264
5264
|
let F;
|
|
5265
|
-
if (ut(A, p) && (F = A[p](p,
|
|
5265
|
+
if (ut(A, p) && (F = A[p](p, g), m.attribs = g = F.attribs, F.text !== void 0 && (m.innerText = F.text), p !== F.tagName && (m.name = p = F.tagName, E[T] = F.tagName)), w && (F = w(p, g), m.attribs = g = F.attribs, p !== F.tagName && (m.name = p = F.tagName, E[T] = F.tagName)), (!o(p) || e.disallowedTagsMode === "recursiveEscape" && !HA(O) || e.nestingLimit != null && T >= e.nestingLimit) && (k = !0, O[T] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && l.indexOf(p) !== -1 && (B = !0, v = 1)), T++, k) {
|
|
5266
5266
|
if (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
|
|
5267
|
-
if (
|
|
5268
|
-
const Q = f(
|
|
5267
|
+
if (m.innerText && !R) {
|
|
5268
|
+
const Q = f(m.innerText);
|
|
5269
5269
|
e.textFilter ? r += e.textFilter(Q, p) : r += Q, D = !0;
|
|
5270
5270
|
}
|
|
5271
5271
|
return;
|
|
5272
5272
|
}
|
|
5273
5273
|
i = r, r = "";
|
|
5274
5274
|
}
|
|
5275
|
-
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (
|
|
5275
|
+
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (m.innerText = ""), k && (e.disallowedTagsMode === "escape" || e.disallowedTagsMode === "recursiveEscape") && e.preserveEscapedAttributes ? Pt(g, function(Q, H) {
|
|
5276
5276
|
r += " " + H + '="' + f(Q || "", !0) + '"';
|
|
5277
|
-
}) : (!a || ut(a, p) || a["*"]) && Pt(
|
|
5278
|
-
if (!
|
|
5279
|
-
delete
|
|
5277
|
+
}) : (!a || ut(a, p) || a["*"]) && Pt(g, function(Q, H) {
|
|
5278
|
+
if (!zA.test(H)) {
|
|
5279
|
+
delete m.attribs[H];
|
|
5280
5280
|
return;
|
|
5281
5281
|
}
|
|
5282
5282
|
if (Q === "" && !e.allowedEmptyAttributes.includes(H) && (e.nonBooleanAttributes.includes(H) || e.nonBooleanAttributes.includes("*"))) {
|
|
5283
|
-
delete
|
|
5283
|
+
delete m.attribs[H];
|
|
5284
5284
|
return;
|
|
5285
5285
|
}
|
|
5286
5286
|
let Ie = !1;
|
|
@@ -5301,7 +5301,7 @@ and ensure you are accounting for this risk.
|
|
|
5301
5301
|
}
|
|
5302
5302
|
if (Ie) {
|
|
5303
5303
|
if (e.allowedSchemesAppliedToAttributes.indexOf(H) !== -1 && y(p, Q)) {
|
|
5304
|
-
delete
|
|
5304
|
+
delete m.attribs[H];
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
5307
|
if (p === "script" && H === "src") {
|
|
@@ -5320,7 +5320,7 @@ and ensure you are accounting for this risk.
|
|
|
5320
5320
|
j = !1;
|
|
5321
5321
|
}
|
|
5322
5322
|
if (!j) {
|
|
5323
|
-
delete
|
|
5323
|
+
delete m.attribs[H];
|
|
5324
5324
|
return;
|
|
5325
5325
|
}
|
|
5326
5326
|
}
|
|
@@ -5342,7 +5342,7 @@ and ensure you are accounting for this risk.
|
|
|
5342
5342
|
j = !1;
|
|
5343
5343
|
}
|
|
5344
5344
|
if (!j) {
|
|
5345
|
-
delete
|
|
5345
|
+
delete m.attribs[H];
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
}
|
|
@@ -5356,13 +5356,13 @@ and ensure you are accounting for this risk.
|
|
|
5356
5356
|
}), j.length)
|
|
5357
5357
|
Q = WA(Ho(j, function(Y) {
|
|
5358
5358
|
return !Y.evil;
|
|
5359
|
-
})),
|
|
5359
|
+
})), m.attribs[H] = Q;
|
|
5360
5360
|
else {
|
|
5361
|
-
delete
|
|
5361
|
+
delete m.attribs[H];
|
|
5362
5362
|
return;
|
|
5363
5363
|
}
|
|
5364
5364
|
} catch {
|
|
5365
|
-
delete
|
|
5365
|
+
delete m.attribs[H];
|
|
5366
5366
|
return;
|
|
5367
5367
|
}
|
|
5368
5368
|
if (H === "class") {
|
|
@@ -5381,7 +5381,7 @@ and ensure you are accounting for this risk.
|
|
|
5381
5381
|
j || Y,
|
|
5382
5382
|
At
|
|
5383
5383
|
), !Q.length) {
|
|
5384
|
-
delete
|
|
5384
|
+
delete m.attribs[H];
|
|
5385
5385
|
return;
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
@@ -5393,11 +5393,11 @@ and ensure you are accounting for this risk.
|
|
|
5393
5393
|
e.allowedStyles
|
|
5394
5394
|
);
|
|
5395
5395
|
if (Q = le(Y), Q.length === 0) {
|
|
5396
|
-
delete
|
|
5396
|
+
delete m.attribs[H];
|
|
5397
5397
|
return;
|
|
5398
5398
|
}
|
|
5399
5399
|
} catch {
|
|
5400
|
-
typeof window < "u" && console.warn('Failed to parse "' + p + " {" + Q + `}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`), delete
|
|
5400
|
+
typeof window < "u" && console.warn('Failed to parse "' + p + " {" + Q + `}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`), delete m.attribs[H];
|
|
5401
5401
|
return;
|
|
5402
5402
|
}
|
|
5403
5403
|
else if (e.allowedStyles)
|
|
@@ -5405,64 +5405,64 @@ and ensure you are accounting for this risk.
|
|
|
5405
5405
|
}
|
|
5406
5406
|
r += " " + H, Q && Q.length ? r += '="' + f(Q, !0) + '"' : e.allowedEmptyAttributes.includes(H) && (r += '=""');
|
|
5407
5407
|
} else
|
|
5408
|
-
delete
|
|
5409
|
-
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">",
|
|
5408
|
+
delete m.attribs[H];
|
|
5409
|
+
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">", m.innerText && !R && !e.textFilter && (r += f(m.innerText), D = !0)), k && (r = i + f(r), i = ""), m.openingTagLength = r.length - m.tagPosition;
|
|
5410
5410
|
},
|
|
5411
5411
|
ontext: function(p) {
|
|
5412
5412
|
if (B)
|
|
5413
5413
|
return;
|
|
5414
|
-
const
|
|
5415
|
-
let
|
|
5416
|
-
if (
|
|
5414
|
+
const g = x[x.length - 1];
|
|
5415
|
+
let m;
|
|
5416
|
+
if (g && (m = g.tag, p = g.innerText !== void 0 ? g.innerText : p), e.disallowedTagsMode === "completelyDiscard" && !o(m))
|
|
5417
5417
|
p = "";
|
|
5418
|
-
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (
|
|
5418
|
+
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (m === "script" || m === "style"))
|
|
5419
5419
|
r += p;
|
|
5420
|
-
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (
|
|
5420
|
+
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (m === "textarea" || m === "xmp"))
|
|
5421
5421
|
r += p;
|
|
5422
5422
|
else if (!D) {
|
|
5423
5423
|
const k = f(p, !1);
|
|
5424
|
-
e.textFilter ? r += e.textFilter(k,
|
|
5424
|
+
e.textFilter ? r += e.textFilter(k, m) : r += k;
|
|
5425
5425
|
}
|
|
5426
5426
|
if (x.length) {
|
|
5427
5427
|
const k = x[x.length - 1];
|
|
5428
5428
|
k.text += p;
|
|
5429
5429
|
}
|
|
5430
5430
|
},
|
|
5431
|
-
onclosetag: function(p,
|
|
5432
|
-
if (e.onCloseTag && e.onCloseTag(p,
|
|
5431
|
+
onclosetag: function(p, g) {
|
|
5432
|
+
if (e.onCloseTag && e.onCloseTag(p, g), B)
|
|
5433
5433
|
if (v--, !v)
|
|
5434
5434
|
B = !1;
|
|
5435
5435
|
else
|
|
5436
5436
|
return;
|
|
5437
|
-
const
|
|
5438
|
-
if (!
|
|
5437
|
+
const m = x.pop();
|
|
5438
|
+
if (!m)
|
|
5439
5439
|
return;
|
|
5440
|
-
if (
|
|
5441
|
-
x.push(
|
|
5440
|
+
if (m.tag !== p) {
|
|
5441
|
+
x.push(m);
|
|
5442
5442
|
return;
|
|
5443
5443
|
}
|
|
5444
5444
|
B = e.enforceHtmlBoundary ? p === "html" : !1, T--;
|
|
5445
5445
|
const k = O[T];
|
|
5446
5446
|
if (k) {
|
|
5447
5447
|
if (delete O[T], e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
|
|
5448
|
-
|
|
5448
|
+
m.updateParentNodeText();
|
|
5449
5449
|
return;
|
|
5450
5450
|
}
|
|
5451
5451
|
i = r, r = "";
|
|
5452
5452
|
}
|
|
5453
5453
|
if (E[T] && (p = E[T], delete E[T]), e.exclusiveFilter) {
|
|
5454
|
-
const R = e.exclusiveFilter(
|
|
5454
|
+
const R = e.exclusiveFilter(m);
|
|
5455
5455
|
if (R === "excludeTag") {
|
|
5456
|
-
k && (r = i, i = ""), r = r.substring(0,
|
|
5456
|
+
k && (r = i, i = ""), r = r.substring(0, m.tagPosition) + r.substring(m.tagPosition + m.openingTagLength);
|
|
5457
5457
|
return;
|
|
5458
5458
|
} else if (R) {
|
|
5459
|
-
r = r.substring(0,
|
|
5459
|
+
r = r.substring(0, m.tagPosition);
|
|
5460
5460
|
return;
|
|
5461
5461
|
}
|
|
5462
5462
|
}
|
|
5463
|
-
if (
|
|
5463
|
+
if (m.updateParentNodeMediaChildren(), m.updateParentNodeText(), // Already output />
|
|
5464
5464
|
e.selfClosing.indexOf(p) !== -1 || // Escaped tag, closing tag is implied
|
|
5465
|
-
|
|
5465
|
+
g && !o(p) && ["escape", "recursiveEscape"].indexOf(e.disallowedTagsMode) >= 0) {
|
|
5466
5466
|
k && (r = i, i = "");
|
|
5467
5467
|
return;
|
|
5468
5468
|
}
|
|
@@ -5472,63 +5472,63 @@ and ensure you are accounting for this risk.
|
|
|
5472
5472
|
if (M.write(t), M.end(), e.disallowedTagsMode === "escape" || e.disallowedTagsMode === "recursiveEscape") {
|
|
5473
5473
|
const p = M.endIndex;
|
|
5474
5474
|
if (p != null && p >= 0 && p < t.length) {
|
|
5475
|
-
const
|
|
5476
|
-
r += f(
|
|
5475
|
+
const g = t.substring(p);
|
|
5476
|
+
r += f(g);
|
|
5477
5477
|
} else (p == null || p < 0) && t.length > 0 && r === "" && (r = f(t));
|
|
5478
5478
|
}
|
|
5479
5479
|
return r;
|
|
5480
5480
|
function Z() {
|
|
5481
5481
|
r = "", T = 0, x = [], O = {}, E = {}, B = !1, v = 0;
|
|
5482
5482
|
}
|
|
5483
|
-
function f(p,
|
|
5484
|
-
return typeof p != "string" && (p = p + ""), e.parser.decodeEntities && (p = p.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"),
|
|
5483
|
+
function f(p, g) {
|
|
5484
|
+
return typeof p != "string" && (p = p + ""), e.parser.decodeEntities && (p = p.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), g && (p = p.replace(/"/g, """))), p = p.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/>/g, ">"), g && (p = p.replace(/"/g, """)), p;
|
|
5485
5485
|
}
|
|
5486
|
-
function y(p,
|
|
5487
|
-
const
|
|
5488
|
-
return UA(
|
|
5489
|
-
allowedSchemes:
|
|
5486
|
+
function y(p, g) {
|
|
5487
|
+
const m = ut(e.allowedSchemesByTag, p) ? e.allowedSchemesByTag[p] : e.allowedSchemes || [];
|
|
5488
|
+
return UA(g, {
|
|
5489
|
+
allowedSchemes: m,
|
|
5490
5490
|
allowProtocolRelative: e.allowProtocolRelative
|
|
5491
5491
|
});
|
|
5492
5492
|
}
|
|
5493
5493
|
function _(p) {
|
|
5494
5494
|
if (p = p.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/, "$1//"), p.startsWith("relative:"))
|
|
5495
5495
|
throw new Error("relative: exploit attempt");
|
|
5496
|
-
let
|
|
5496
|
+
let g = "relative://relative-site";
|
|
5497
5497
|
for (let R = 0; R < 100; R++)
|
|
5498
|
-
|
|
5499
|
-
const
|
|
5498
|
+
g += `/${R}`;
|
|
5499
|
+
const m = new URL(p, g);
|
|
5500
5500
|
return {
|
|
5501
|
-
isRelativeUrl:
|
|
5502
|
-
url:
|
|
5501
|
+
isRelativeUrl: m && m.hostname === "relative-site" && m.protocol === "relative:",
|
|
5502
|
+
url: m
|
|
5503
5503
|
};
|
|
5504
5504
|
}
|
|
5505
|
-
function b(p,
|
|
5506
|
-
if (!
|
|
5505
|
+
function b(p, g) {
|
|
5506
|
+
if (!g)
|
|
5507
5507
|
return p;
|
|
5508
|
-
const
|
|
5508
|
+
const m = p.nodes[0];
|
|
5509
5509
|
let k;
|
|
5510
|
-
return m
|
|
5511
|
-
m
|
|
5512
|
-
|
|
5513
|
-
) : k = m
|
|
5510
|
+
return g[m.selector] && g["*"] ? k = Qo(
|
|
5511
|
+
g[m.selector],
|
|
5512
|
+
g["*"]
|
|
5513
|
+
) : k = g[m.selector] || g["*"], k && (p.nodes[0].nodes = m.nodes.reduce(de(k), [])), p;
|
|
5514
5514
|
}
|
|
5515
5515
|
function le(p) {
|
|
5516
|
-
return p.nodes[0].nodes.reduce(function(
|
|
5517
|
-
return
|
|
5518
|
-
`${
|
|
5519
|
-
),
|
|
5516
|
+
return p.nodes[0].nodes.reduce(function(g, m) {
|
|
5517
|
+
return g.push(
|
|
5518
|
+
`${m.prop}:${m.value}${m.important ? " !important" : ""}`
|
|
5519
|
+
), g;
|
|
5520
5520
|
}, []).join(";");
|
|
5521
5521
|
}
|
|
5522
5522
|
function de(p) {
|
|
5523
|
-
return function(
|
|
5524
|
-
return ut(p,
|
|
5525
|
-
return R.test(
|
|
5526
|
-
}) &&
|
|
5523
|
+
return function(g, m) {
|
|
5524
|
+
return ut(p, m.prop) && p[m.prop].some(function(R) {
|
|
5525
|
+
return R.test(m.value);
|
|
5526
|
+
}) && g.push(m), g;
|
|
5527
5527
|
};
|
|
5528
5528
|
}
|
|
5529
|
-
function N(p,
|
|
5530
|
-
return
|
|
5531
|
-
return
|
|
5529
|
+
function N(p, g, m) {
|
|
5530
|
+
return g ? (p = p.split(/\s+/), p.filter(function(k) {
|
|
5531
|
+
return g.indexOf(k) !== -1 || m.some(function(R) {
|
|
5532
5532
|
return R.test(k);
|
|
5533
5533
|
});
|
|
5534
5534
|
}).join(" ")) : p;
|
|
@@ -5846,7 +5846,7 @@ kn.simpleTransform = function(t, e, n) {
|
|
|
5846
5846
|
};
|
|
5847
5847
|
};
|
|
5848
5848
|
};
|
|
5849
|
-
const Xr = /* @__PURE__ */ qu(
|
|
5849
|
+
const Xr = /* @__PURE__ */ qu(KA);
|
|
5850
5850
|
var G;
|
|
5851
5851
|
(function(t) {
|
|
5852
5852
|
t[t.Tab = 9] = "Tab", t[t.NewLine = 10] = "NewLine", t[t.FormFeed = 12] = "FormFeed", t[t.CarriageReturn = 13] = "CarriageReturn", t[t.Space = 32] = "Space", t[t.ExclamationMark = 33] = "ExclamationMark", t[t.Number = 35] = "Number", t[t.Amp = 38] = "Amp", t[t.SingleQuote = 39] = "SingleQuote", t[t.DoubleQuote = 34] = "DoubleQuote", t[t.Dash = 45] = "Dash", t[t.Slash = 47] = "Slash", t[t.Zero = 48] = "Zero", t[t.Nine = 57] = "Nine", t[t.Semi = 59] = "Semi", t[t.Lt = 60] = "Lt", t[t.Eq = 61] = "Eq", t[t.Gt = 62] = "Gt", t[t.Questionmark = 63] = "Questionmark", t[t.UpperA = 65] = "UpperA", t[t.LowerA = 97] = "LowerA", t[t.UpperF = 70] = "UpperF", t[t.LowerF = 102] = "LowerF", t[t.UpperZ = 90] = "UpperZ", t[t.LowerZ = 122] = "LowerZ", t[t.LowerX = 120] = "LowerX", t[t.OpeningSquareBracket = 91] = "OpeningSquareBracket";
|
|
@@ -5858,7 +5858,7 @@ var I;
|
|
|
5858
5858
|
function ht(t) {
|
|
5859
5859
|
return t === G.Space || t === G.NewLine || t === G.Tab || t === G.FormFeed || t === G.CarriageReturn;
|
|
5860
5860
|
}
|
|
5861
|
-
function
|
|
5861
|
+
function Kn(t) {
|
|
5862
5862
|
return t === G.Slash || t === G.Gt || ht(t);
|
|
5863
5863
|
}
|
|
5864
5864
|
function jA(t) {
|
|
@@ -5868,7 +5868,7 @@ var st;
|
|
|
5868
5868
|
(function(t) {
|
|
5869
5869
|
t[t.NoValue = 0] = "NoValue", t[t.Unquoted = 1] = "Unquoted", t[t.Single = 2] = "Single", t[t.Double = 3] = "Double";
|
|
5870
5870
|
})(st || (st = {}));
|
|
5871
|
-
const
|
|
5871
|
+
const me = {
|
|
5872
5872
|
Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
|
|
5873
5873
|
// CDATA[
|
|
5874
5874
|
CdataEnd: new Uint8Array([93, 93, 62]),
|
|
@@ -5923,7 +5923,7 @@ class $A {
|
|
|
5923
5923
|
const n = this.sequenceIndex === this.currentSequence.length;
|
|
5924
5924
|
if (!(n ? (
|
|
5925
5925
|
// If we are at the end of the sequence, make sure the tag name has ended
|
|
5926
|
-
|
|
5926
|
+
Kn(e)
|
|
5927
5927
|
) : (
|
|
5928
5928
|
// Otherwise, do a case-insensitive comparison
|
|
5929
5929
|
(e | 32) === this.currentSequence[this.sequenceIndex]
|
|
@@ -5949,10 +5949,10 @@ class $A {
|
|
|
5949
5949
|
}
|
|
5950
5950
|
this.sequenceIndex = 0;
|
|
5951
5951
|
}
|
|
5952
|
-
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence ===
|
|
5952
|
+
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === me.TitleEnd ? this.decodeEntities && e === G.Amp && this.startEntity() : this.fastForwardTo(G.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(e === G.Lt);
|
|
5953
5953
|
}
|
|
5954
5954
|
stateCDATASequence(e) {
|
|
5955
|
-
e ===
|
|
5955
|
+
e === me.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === me.Cdata.length && (this.state = I.InCommentLike, this.currentSequence = me.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = I.InDeclaration, this.stateInDeclaration(e));
|
|
5956
5956
|
}
|
|
5957
5957
|
/**
|
|
5958
5958
|
* When we wait for one specific character, we can speed things up
|
|
@@ -5975,7 +5975,7 @@ class $A {
|
|
|
5975
5975
|
* - All characters but the start character of the sequence can be skipped.
|
|
5976
5976
|
*/
|
|
5977
5977
|
stateInCommentLike(e) {
|
|
5978
|
-
e === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence ===
|
|
5978
|
+
e === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === me.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = I.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : e !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
|
|
5979
5979
|
}
|
|
5980
5980
|
/**
|
|
5981
5981
|
* HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
|
|
@@ -5984,7 +5984,7 @@ class $A {
|
|
|
5984
5984
|
* We allow anything that wouldn't end the tag.
|
|
5985
5985
|
*/
|
|
5986
5986
|
isTagStartChar(e) {
|
|
5987
|
-
return this.xmlMode ? !
|
|
5987
|
+
return this.xmlMode ? !Kn(e) : jA(e);
|
|
5988
5988
|
}
|
|
5989
5989
|
startSpecial(e, n) {
|
|
5990
5990
|
this.isSpecial = !0, this.currentSequence = e, this.sequenceIndex = n, this.state = I.SpecialStartSequence;
|
|
@@ -5996,11 +5996,11 @@ class $A {
|
|
|
5996
5996
|
this.state = I.InProcessingInstruction, this.sectionStart = this.index + 1;
|
|
5997
5997
|
else if (this.isTagStartChar(e)) {
|
|
5998
5998
|
const n = e | 32;
|
|
5999
|
-
this.sectionStart = this.index, this.xmlMode ? this.state = I.InTagName : n ===
|
|
5999
|
+
this.sectionStart = this.index, this.xmlMode ? this.state = I.InTagName : n === me.ScriptEnd[2] ? this.state = I.BeforeSpecialS : n === me.TitleEnd[2] || n === me.XmpEnd[2] ? this.state = I.BeforeSpecialT : this.state = I.InTagName;
|
|
6000
6000
|
} else e === G.Slash ? this.state = I.BeforeClosingTagName : (this.state = I.Text, this.stateText(e));
|
|
6001
6001
|
}
|
|
6002
6002
|
stateInTagName(e) {
|
|
6003
|
-
|
|
6003
|
+
Kn(e) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = I.BeforeAttributeName, this.stateBeforeAttributeName(e));
|
|
6004
6004
|
}
|
|
6005
6005
|
stateBeforeClosingTagName(e) {
|
|
6006
6006
|
ht(e) || (e === G.Gt ? this.state = I.Text : (this.state = this.isTagStartChar(e) ? I.InClosingTagName : I.InSpecialComment, this.sectionStart = this.index));
|
|
@@ -6018,7 +6018,7 @@ class $A {
|
|
|
6018
6018
|
e === G.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = I.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : ht(e) || (this.state = I.BeforeAttributeName, this.stateBeforeAttributeName(e));
|
|
6019
6019
|
}
|
|
6020
6020
|
stateInAttributeName(e) {
|
|
6021
|
-
(e === G.Eq ||
|
|
6021
|
+
(e === G.Eq || Kn(e)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = this.index, this.state = I.AfterAttributeName, this.stateAfterAttributeName(e));
|
|
6022
6022
|
}
|
|
6023
6023
|
stateAfterAttributeName(e) {
|
|
6024
6024
|
e === G.Eq ? this.state = I.BeforeAttributeValue : e === G.Slash || e === G.Gt ? (this.cbs.onattribend(st.NoValue, this.sectionStart), this.sectionStart = -1, this.state = I.BeforeAttributeName, this.stateBeforeAttributeName(e)) : ht(e) || (this.cbs.onattribend(st.NoValue, this.sectionStart), this.state = I.InAttributeName, this.sectionStart = this.index);
|
|
@@ -6048,27 +6048,27 @@ class $A {
|
|
|
6048
6048
|
(e === G.Gt || this.fastForwardTo(G.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = I.Text, this.sectionStart = this.index + 1);
|
|
6049
6049
|
}
|
|
6050
6050
|
stateBeforeComment(e) {
|
|
6051
|
-
e === G.Dash ? (this.state = I.InCommentLike, this.currentSequence =
|
|
6051
|
+
e === G.Dash ? (this.state = I.InCommentLike, this.currentSequence = me.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = I.InDeclaration;
|
|
6052
6052
|
}
|
|
6053
6053
|
stateInSpecialComment(e) {
|
|
6054
6054
|
(e === G.Gt || this.fastForwardTo(G.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = I.Text, this.sectionStart = this.index + 1);
|
|
6055
6055
|
}
|
|
6056
6056
|
stateBeforeSpecialS(e) {
|
|
6057
6057
|
const n = e | 32;
|
|
6058
|
-
n ===
|
|
6058
|
+
n === me.ScriptEnd[3] ? this.startSpecial(me.ScriptEnd, 4) : n === me.StyleEnd[3] ? this.startSpecial(me.StyleEnd, 4) : (this.state = I.InTagName, this.stateInTagName(e));
|
|
6059
6059
|
}
|
|
6060
6060
|
stateBeforeSpecialT(e) {
|
|
6061
6061
|
switch (e | 32) {
|
|
6062
|
-
case
|
|
6063
|
-
this.startSpecial(
|
|
6062
|
+
case me.TitleEnd[3]: {
|
|
6063
|
+
this.startSpecial(me.TitleEnd, 4);
|
|
6064
6064
|
break;
|
|
6065
6065
|
}
|
|
6066
|
-
case
|
|
6067
|
-
this.startSpecial(
|
|
6066
|
+
case me.TextareaEnd[3]: {
|
|
6067
|
+
this.startSpecial(me.TextareaEnd, 4);
|
|
6068
6068
|
break;
|
|
6069
6069
|
}
|
|
6070
|
-
case
|
|
6071
|
-
this.startSpecial(
|
|
6070
|
+
case me.XmpEnd[3]: {
|
|
6071
|
+
this.startSpecial(me.XmpEnd, 4);
|
|
6072
6072
|
break;
|
|
6073
6073
|
}
|
|
6074
6074
|
default:
|
|
@@ -6223,7 +6223,7 @@ class $A {
|
|
|
6223
6223
|
/** Handle any trailing data. */
|
|
6224
6224
|
handleTrailingData() {
|
|
6225
6225
|
const e = this.buffer.length + this.offset;
|
|
6226
|
-
this.sectionStart >= e || (this.state === I.InCommentLike ? this.currentSequence ===
|
|
6226
|
+
this.sectionStart >= e || (this.state === I.InCommentLike ? this.currentSequence === me.CdataEnd ? this.cbs.oncdata(this.sectionStart, e, 0) : this.cbs.oncomment(this.sectionStart, e, 0) : this.state === I.InTagName || this.state === I.BeforeAttributeName || this.state === I.BeforeAttributeValue || this.state === I.AfterAttributeName || this.state === I.InAttributeName || this.state === I.InAttributeValueSq || this.state === I.InAttributeValueDq || this.state === I.InAttributeValueNq || this.state === I.InClosingTagName || this.cbs.ontext(this.sectionStart, e));
|
|
6227
6227
|
}
|
|
6228
6228
|
emitCodePoint(e, n) {
|
|
6229
6229
|
this.baseState !== I.Text && this.baseState !== I.InSpecialTag ? (this.sectionStart < this.entityStart && this.cbs.onattribdata(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + n, this.index = this.sectionStart - 1, this.cbs.onattribentity(e)) : (this.sectionStart < this.entityStart && this.cbs.ontext(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + n, this.index = this.sectionStart - 1, this.cbs.ontextentity(e, this.sectionStart));
|
|
@@ -6237,7 +6237,7 @@ const Rt = /* @__PURE__ */ new Set([
|
|
|
6237
6237
|
"button",
|
|
6238
6238
|
"datalist",
|
|
6239
6239
|
"textarea"
|
|
6240
|
-
]), ne = /* @__PURE__ */ new Set(["p"]), Wo = /* @__PURE__ */ new Set(["thead", "tbody"]),
|
|
6240
|
+
]), ne = /* @__PURE__ */ new Set(["p"]), Wo = /* @__PURE__ */ new Set(["thead", "tbody"]), Ko = /* @__PURE__ */ new Set(["dd", "dt"]), zo = /* @__PURE__ */ new Set(["rt", "rp"]), JA = /* @__PURE__ */ new Map([
|
|
6241
6241
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
|
6242
6242
|
["th", /* @__PURE__ */ new Set(["th"])],
|
|
6243
6243
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
|
@@ -6258,8 +6258,8 @@ const Rt = /* @__PURE__ */ new Set([
|
|
|
6258
6258
|
["textarea", Rt],
|
|
6259
6259
|
["option", /* @__PURE__ */ new Set(["option"])],
|
|
6260
6260
|
["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
|
|
6261
|
-
["dd",
|
|
6262
|
-
["dt",
|
|
6261
|
+
["dd", Ko],
|
|
6262
|
+
["dt", Ko],
|
|
6263
6263
|
["address", ne],
|
|
6264
6264
|
["article", ne],
|
|
6265
6265
|
["aside", ne],
|
|
@@ -6281,8 +6281,8 @@ const Rt = /* @__PURE__ */ new Set([
|
|
|
6281
6281
|
["section", ne],
|
|
6282
6282
|
["table", ne],
|
|
6283
6283
|
["ul", ne],
|
|
6284
|
-
["rt",
|
|
6285
|
-
["rp",
|
|
6284
|
+
["rt", zo],
|
|
6285
|
+
["rp", zo],
|
|
6286
6286
|
["tbody", Wo],
|
|
6287
6287
|
["tfoot", Wo]
|
|
6288
6288
|
]), ZA = /* @__PURE__ */ new Set([
|
|
@@ -6331,7 +6331,7 @@ class qA {
|
|
|
6331
6331
|
/** @internal */
|
|
6332
6332
|
ontextentity(e, n) {
|
|
6333
6333
|
var r, i;
|
|
6334
|
-
this.endIndex = n - 1, (i = (r = this.cbs).ontext) === null || i === void 0 || i.call(r,
|
|
6334
|
+
this.endIndex = n - 1, (i = (r = this.cbs).ontext) === null || i === void 0 || i.call(r, mn(e)), this.startIndex = n;
|
|
6335
6335
|
}
|
|
6336
6336
|
/**
|
|
6337
6337
|
* Checks if the current tag is a void element. Override this if you want
|
|
@@ -6404,7 +6404,7 @@ class qA {
|
|
|
6404
6404
|
}
|
|
6405
6405
|
/** @internal */
|
|
6406
6406
|
onattribentity(e) {
|
|
6407
|
-
this.attribvalue +=
|
|
6407
|
+
this.attribvalue += mn(e);
|
|
6408
6408
|
}
|
|
6409
6409
|
/** @internal */
|
|
6410
6410
|
onattribend(e, n) {
|
|
@@ -6544,7 +6544,7 @@ class qA {
|
|
|
6544
6544
|
this.end(e);
|
|
6545
6545
|
}
|
|
6546
6546
|
}
|
|
6547
|
-
const bt = 0, C = 1,
|
|
6547
|
+
const bt = 0, C = 1, K = 2, ge = 3, ae = 4, tt = 5, Fr = 6, Ce = 7, Ne = 8, J = 9, W = 10, ue = 11, $ = 12, he = 13, Tn = 14, Re = 15, Ee = 16, Be = 17, Me = 18, Pe = 19, Ke = 20, q = 21, P = 22, we = 23, Ue = 24, Se = 25, XA = 0;
|
|
6548
6548
|
function xe(t) {
|
|
6549
6549
|
return t >= 48 && t <= 57;
|
|
6550
6550
|
}
|
|
@@ -6565,11 +6565,11 @@ function tf(t) {
|
|
|
6565
6565
|
function nf(t) {
|
|
6566
6566
|
return t >= 128;
|
|
6567
6567
|
}
|
|
6568
|
-
function
|
|
6568
|
+
function gr(t) {
|
|
6569
6569
|
return tf(t) || nf(t) || t === 95;
|
|
6570
6570
|
}
|
|
6571
6571
|
function hc(t) {
|
|
6572
|
-
return
|
|
6572
|
+
return gr(t) || xe(t) || t === 45;
|
|
6573
6573
|
}
|
|
6574
6574
|
function rf(t) {
|
|
6575
6575
|
return t >= 0 && t <= 8 || t === 11 || t >= 14 && t <= 31 || t === 127;
|
|
@@ -6584,7 +6584,7 @@ function Ve(t, e) {
|
|
|
6584
6584
|
return !(t !== 92 || br(e) || e === XA);
|
|
6585
6585
|
}
|
|
6586
6586
|
function nr(t, e, n) {
|
|
6587
|
-
return t === 45 ?
|
|
6587
|
+
return t === 45 ? gr(e) || e === 45 || Ve(e, n) : gr(t) ? !0 : t === 92 ? Ve(t, e) : !1;
|
|
6588
6588
|
}
|
|
6589
6589
|
function ei(t, e, n) {
|
|
6590
6590
|
return t === 43 || t === 45 ? xe(e) ? 2 : e === 46 && xe(n) ? 3 : 0 : t === 46 ? xe(e) ? 2 : 0 : xe(t) ? 1 : 0;
|
|
@@ -6594,17 +6594,17 @@ function dc(t) {
|
|
|
6594
6594
|
}
|
|
6595
6595
|
const Wi = new Array(128), sf = 128, rr = 130, pc = 131, Os = 132, Ac = 133;
|
|
6596
6596
|
for (let t = 0; t < Wi.length; t++)
|
|
6597
|
-
Wi[t] = Bt(t) && rr || xe(t) && pc ||
|
|
6597
|
+
Wi[t] = Bt(t) && rr || xe(t) && pc || gr(t) && Os || rf(t) && Ac || t || sf;
|
|
6598
6598
|
function ti(t) {
|
|
6599
6599
|
return t < 128 ? Wi[t] : Os;
|
|
6600
6600
|
}
|
|
6601
6601
|
function Wt(t, e) {
|
|
6602
6602
|
return e < t.length ? t.charCodeAt(e) : 0;
|
|
6603
6603
|
}
|
|
6604
|
-
function
|
|
6604
|
+
function Ki(t, e, n) {
|
|
6605
6605
|
return n === 13 && Wt(t, e + 1) === 10 ? 2 : 1;
|
|
6606
6606
|
}
|
|
6607
|
-
function
|
|
6607
|
+
function Kt(t, e, n) {
|
|
6608
6608
|
let r = t.charCodeAt(e);
|
|
6609
6609
|
return Ds(r) && (r = r | 32), r === n;
|
|
6610
6610
|
}
|
|
@@ -6624,7 +6624,7 @@ function of(t, e) {
|
|
|
6624
6624
|
;
|
|
6625
6625
|
return e + 1;
|
|
6626
6626
|
}
|
|
6627
|
-
function
|
|
6627
|
+
function zn(t, e) {
|
|
6628
6628
|
for (; e < t.length && Bt(t.charCodeAt(e)); e++)
|
|
6629
6629
|
;
|
|
6630
6630
|
return e;
|
|
@@ -6639,7 +6639,7 @@ function Tt(t, e) {
|
|
|
6639
6639
|
for (const r = Math.min(t.length, e + 5); e < r && St(Wt(t, e)); e++)
|
|
6640
6640
|
;
|
|
6641
6641
|
const n = Wt(t, e);
|
|
6642
|
-
Bt(n) && (e +=
|
|
6642
|
+
Bt(n) && (e += Ki(t, e, n));
|
|
6643
6643
|
}
|
|
6644
6644
|
return e;
|
|
6645
6645
|
}
|
|
@@ -6658,7 +6658,7 @@ function Yn(t, e) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
function Mr(t, e) {
|
|
6660
6660
|
let n = t.charCodeAt(e);
|
|
6661
|
-
if ((n === 43 || n === 45) && (n = t.charCodeAt(e += 1)), xe(n) && (e = ni(t, e + 1), n = t.charCodeAt(e)), n === 46 && xe(t.charCodeAt(e + 1)) && (e += 2, e = ni(t, e)),
|
|
6661
|
+
if ((n === 43 || n === 45) && (n = t.charCodeAt(e += 1)), xe(n) && (e = ni(t, e + 1), n = t.charCodeAt(e)), n === 46 && xe(t.charCodeAt(e + 1)) && (e += 2, e = ni(t, e)), Kt(
|
|
6662
6662
|
t,
|
|
6663
6663
|
e,
|
|
6664
6664
|
101
|
|
@@ -6688,7 +6688,7 @@ function Ns(t) {
|
|
|
6688
6688
|
e >= 55296 && e <= 57343 || // or is for a surrogate,
|
|
6689
6689
|
e > 1114111) && (e = 65533), String.fromCodePoint(e);
|
|
6690
6690
|
}
|
|
6691
|
-
const
|
|
6691
|
+
const zi = [
|
|
6692
6692
|
"EOF-token",
|
|
6693
6693
|
"ident-token",
|
|
6694
6694
|
"function-token",
|
|
@@ -6761,17 +6761,17 @@ class cf {
|
|
|
6761
6761
|
}
|
|
6762
6762
|
}
|
|
6763
6763
|
const Ye = 16777215, je = 24, Dn = 1, Lr = 2, wt = new Uint8Array(32);
|
|
6764
|
-
wt[
|
|
6764
|
+
wt[K] = P;
|
|
6765
6765
|
wt[q] = P;
|
|
6766
|
-
wt[Pe] =
|
|
6766
|
+
wt[Pe] = Ke;
|
|
6767
6767
|
wt[we] = Ue;
|
|
6768
6768
|
const qe = new Uint8Array(32);
|
|
6769
|
-
qe[
|
|
6769
|
+
qe[K] = Dn;
|
|
6770
6770
|
qe[q] = Dn;
|
|
6771
6771
|
qe[Pe] = Dn;
|
|
6772
6772
|
qe[we] = Dn;
|
|
6773
6773
|
qe[P] = Lr;
|
|
6774
|
-
qe[
|
|
6774
|
+
qe[Ke] = Lr;
|
|
6775
6775
|
qe[Ue] = Lr;
|
|
6776
6776
|
function Vo(t, e, n) {
|
|
6777
6777
|
return t < e ? e : t > n ? n : t;
|
|
@@ -6910,7 +6910,7 @@ class uf {
|
|
|
6910
6910
|
return this.forEachToken((n, r, i, s) => {
|
|
6911
6911
|
e[s] = {
|
|
6912
6912
|
idx: s,
|
|
6913
|
-
type:
|
|
6913
|
+
type: zi[n],
|
|
6914
6914
|
chunk: this.source.substring(r, i),
|
|
6915
6915
|
balance: this.balance[s]
|
|
6916
6916
|
};
|
|
@@ -6935,15 +6935,15 @@ function Gr(t, e) {
|
|
|
6935
6935
|
function i() {
|
|
6936
6936
|
const h = c;
|
|
6937
6937
|
if (c = Yn(t, c), xn(t, h, c, "url") && n(c) === 40) {
|
|
6938
|
-
if (c =
|
|
6939
|
-
u =
|
|
6938
|
+
if (c = zn(t, c + 1), n(c) === 34 || n(c) === 39) {
|
|
6939
|
+
u = K, c = h + 4;
|
|
6940
6940
|
return;
|
|
6941
6941
|
}
|
|
6942
6942
|
o();
|
|
6943
6943
|
return;
|
|
6944
6944
|
}
|
|
6945
6945
|
if (n(c) === 40) {
|
|
6946
|
-
u =
|
|
6946
|
+
u = K, c++;
|
|
6947
6947
|
return;
|
|
6948
6948
|
}
|
|
6949
6949
|
u = C;
|
|
@@ -6957,7 +6957,7 @@ function Gr(t, e) {
|
|
|
6957
6957
|
return;
|
|
6958
6958
|
case rr:
|
|
6959
6959
|
if (br(d)) {
|
|
6960
|
-
c +=
|
|
6960
|
+
c += Ki(t, c, d), u = Fr;
|
|
6961
6961
|
return;
|
|
6962
6962
|
}
|
|
6963
6963
|
break;
|
|
@@ -6965,20 +6965,20 @@ function Gr(t, e) {
|
|
|
6965
6965
|
if (c === t.length - 1)
|
|
6966
6966
|
break;
|
|
6967
6967
|
const A = n(c + 1);
|
|
6968
|
-
br(A) ? c +=
|
|
6968
|
+
br(A) ? c += Ki(t, c + 1, A) : Ve(d, A) && (c = Tt(t, c) - 1);
|
|
6969
6969
|
break;
|
|
6970
6970
|
}
|
|
6971
6971
|
}
|
|
6972
6972
|
}
|
|
6973
6973
|
function o() {
|
|
6974
|
-
for (u = Ce, c =
|
|
6974
|
+
for (u = Ce, c = zn(t, c); c < t.length; c++) {
|
|
6975
6975
|
const h = t.charCodeAt(c);
|
|
6976
6976
|
switch (ti(h)) {
|
|
6977
6977
|
case 41:
|
|
6978
6978
|
c++;
|
|
6979
6979
|
return;
|
|
6980
6980
|
case rr:
|
|
6981
|
-
if (c =
|
|
6981
|
+
if (c = zn(t, c), n(c) === 41 || c >= t.length) {
|
|
6982
6982
|
c < t.length && c++;
|
|
6983
6983
|
return;
|
|
6984
6984
|
}
|
|
@@ -7007,7 +7007,7 @@ function Gr(t, e) {
|
|
|
7007
7007
|
const h = t.charCodeAt(c);
|
|
7008
7008
|
switch (ti(h)) {
|
|
7009
7009
|
case rr:
|
|
7010
|
-
u = he, c =
|
|
7010
|
+
u = he, c = zn(t, c + 1);
|
|
7011
7011
|
break;
|
|
7012
7012
|
case 34:
|
|
7013
7013
|
s();
|
|
@@ -7049,7 +7049,7 @@ function Gr(t, e) {
|
|
|
7049
7049
|
n(c + 1) === 33 && n(c + 2) === 45 && n(c + 3) === 45 ? (u = Tn, c = c + 4) : (u = J, c++);
|
|
7050
7050
|
break;
|
|
7051
7051
|
case 64:
|
|
7052
|
-
nr(n(c + 1), n(c + 2), n(c + 3)) ? (u =
|
|
7052
|
+
nr(n(c + 1), n(c + 2), n(c + 3)) ? (u = ge, c = Yn(t, c + 1)) : (u = J, c++);
|
|
7053
7053
|
break;
|
|
7054
7054
|
case 91:
|
|
7055
7055
|
u = Pe, c++;
|
|
@@ -7058,7 +7058,7 @@ function Gr(t, e) {
|
|
|
7058
7058
|
Ve(h, n(c + 1)) ? i() : (u = J, c++);
|
|
7059
7059
|
break;
|
|
7060
7060
|
case 93:
|
|
7061
|
-
u =
|
|
7061
|
+
u = Ke, c++;
|
|
7062
7062
|
break;
|
|
7063
7063
|
case 123:
|
|
7064
7064
|
u = we, c++;
|
|
@@ -7392,7 +7392,7 @@ const Mt = () => {
|
|
|
7392
7392
|
return t && t.last;
|
|
7393
7393
|
}
|
|
7394
7394
|
};
|
|
7395
|
-
function
|
|
7395
|
+
function mf(t) {
|
|
7396
7396
|
return function() {
|
|
7397
7397
|
return this[t]();
|
|
7398
7398
|
};
|
|
@@ -7405,7 +7405,7 @@ function oi(t) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
return e;
|
|
7407
7407
|
}
|
|
7408
|
-
function
|
|
7408
|
+
function gf(t) {
|
|
7409
7409
|
const e = {
|
|
7410
7410
|
context: /* @__PURE__ */ Object.create(null),
|
|
7411
7411
|
features: Object.assign(/* @__PURE__ */ Object.create(null), t.features),
|
|
@@ -7420,7 +7420,7 @@ function mf(t) {
|
|
|
7420
7420
|
e.context[n] = r;
|
|
7421
7421
|
break;
|
|
7422
7422
|
case "string":
|
|
7423
|
-
e.context[n] =
|
|
7423
|
+
e.context[n] = mf(r);
|
|
7424
7424
|
break;
|
|
7425
7425
|
}
|
|
7426
7426
|
return {
|
|
@@ -7431,7 +7431,7 @@ function mf(t) {
|
|
|
7431
7431
|
}
|
|
7432
7432
|
function bf(t) {
|
|
7433
7433
|
let e = "", n = "<unknown>", r = !1, i = Mt, s = !1;
|
|
7434
|
-
const o = new cf(), l = Object.assign(new uf(),
|
|
7434
|
+
const o = new cf(), l = Object.assign(new uf(), gf(t || {}), {
|
|
7435
7435
|
parseAtrulePrelude: !0,
|
|
7436
7436
|
parseRulePrelude: !0,
|
|
7437
7437
|
parseValue: !0,
|
|
@@ -7484,7 +7484,7 @@ function bf(t) {
|
|
|
7484
7484
|
return this.source.substring(u, this.tokenStart);
|
|
7485
7485
|
},
|
|
7486
7486
|
cmpChar(u, h) {
|
|
7487
|
-
return
|
|
7487
|
+
return Kt(e, u, h);
|
|
7488
7488
|
},
|
|
7489
7489
|
cmpStr(u, h, d) {
|
|
7490
7490
|
return xn(e, u, h, d);
|
|
@@ -7495,7 +7495,7 @@ function bf(t) {
|
|
|
7495
7495
|
},
|
|
7496
7496
|
consumeFunctionName() {
|
|
7497
7497
|
const u = e.substring(this.tokenStart, this.tokenEnd - 1);
|
|
7498
|
-
return this.eat(
|
|
7498
|
+
return this.eat(K), u;
|
|
7499
7499
|
},
|
|
7500
7500
|
consumeNumber(u) {
|
|
7501
7501
|
const h = e.substring(this.tokenStart, Mr(e, this.tokenStart));
|
|
@@ -7503,11 +7503,11 @@ function bf(t) {
|
|
|
7503
7503
|
},
|
|
7504
7504
|
eat(u) {
|
|
7505
7505
|
if (this.tokenType !== u) {
|
|
7506
|
-
const h =
|
|
7506
|
+
const h = zi[u].slice(0, -6).replace(/-/g, " ").replace(/^./, (w) => w.toUpperCase());
|
|
7507
7507
|
let d = `${/[[\](){}]/.test(h) ? `"${h}"` : h} is expected`, A = this.tokenStart;
|
|
7508
7508
|
switch (u) {
|
|
7509
7509
|
case C:
|
|
7510
|
-
this.tokenType ===
|
|
7510
|
+
this.tokenType === K || this.tokenType === Ce ? (A = this.tokenEnd - 1, d = "Identifier is expected but function found") : d = "Identifier is expected";
|
|
7511
7511
|
break;
|
|
7512
7512
|
case ae:
|
|
7513
7513
|
this.isDelim(pf) && (this.next(), A++, d = "Name is expected");
|
|
@@ -7561,7 +7561,7 @@ function bf(t) {
|
|
|
7561
7561
|
source: e,
|
|
7562
7562
|
tokenCount: l.tokenCount,
|
|
7563
7563
|
getTokenType: (u) => l.getTokenType(u),
|
|
7564
|
-
getTokenTypeName: (u) =>
|
|
7564
|
+
getTokenTypeName: (u) => zi[l.getTokenType(u)],
|
|
7565
7565
|
getTokenStart: (u) => l.getTokenStart(u),
|
|
7566
7566
|
getTokenEnd: (u) => l.getTokenEnd(u),
|
|
7567
7567
|
getTokenValue: (u) => l.source.substring(l.getTokenStart(u), l.getTokenEnd(u)),
|
|
@@ -7608,7 +7608,7 @@ Fs.decode = function(t) {
|
|
|
7608
7608
|
var e = 65, n = 90, r = 97, i = 122, s = 48, o = 57, l = 43, a = 47, c = 26, u = 52;
|
|
7609
7609
|
return e <= t && t <= n ? t - e : r <= t && t <= i ? t - r + c : s <= t && t <= o ? t - s + u : t == l ? 62 : t == a ? 63 : -1;
|
|
7610
7610
|
};
|
|
7611
|
-
var fc = Fs, Ms = 5,
|
|
7611
|
+
var fc = Fs, Ms = 5, mc = 1 << Ms, gc = mc - 1, bc = mc;
|
|
7612
7612
|
function yf(t) {
|
|
7613
7613
|
return t < 0 ? (-t << 1) + 1 : (t << 1) + 0;
|
|
7614
7614
|
}
|
|
@@ -7619,7 +7619,7 @@ function wf(t) {
|
|
|
7619
7619
|
Rs.encode = function(e) {
|
|
7620
7620
|
var n = "", r, i = yf(e);
|
|
7621
7621
|
do
|
|
7622
|
-
r = i &
|
|
7622
|
+
r = i & gc, i >>>= Ms, i > 0 && (r |= bc), n += fc.encode(r);
|
|
7623
7623
|
while (i > 0);
|
|
7624
7624
|
return n;
|
|
7625
7625
|
};
|
|
@@ -7630,7 +7630,7 @@ Rs.decode = function(e, n, r) {
|
|
|
7630
7630
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
7631
7631
|
if (a = fc.decode(e.charCodeAt(n++)), a === -1)
|
|
7632
7632
|
throw new Error("Invalid base64 digit: " + e.charAt(n - 1));
|
|
7633
|
-
l = !!(a & bc), a &=
|
|
7633
|
+
l = !!(a & bc), a &= gc, s = s + (a << o), o += Ms;
|
|
7634
7634
|
} while (l);
|
|
7635
7635
|
r.value = wf(s), r.rest = n;
|
|
7636
7636
|
};
|
|
@@ -7691,8 +7691,8 @@ var Pr = {};
|
|
|
7691
7691
|
} else
|
|
7692
7692
|
for (de.push(_.slice(N, p)); p < _.length && _[p] === "/"; )
|
|
7693
7693
|
p++;
|
|
7694
|
-
for (var
|
|
7695
|
-
|
|
7694
|
+
for (var g, m = 0, p = de.length - 1; p >= 0; p--)
|
|
7695
|
+
g = de[p], g === "." ? de.splice(p, 1) : g === ".." ? m++ : m > 0 && (g === "" ? (de.splice(p + 1, m), m = 0) : (de.splice(p, 2), m--));
|
|
7696
7696
|
return _ = de.join("/"), _ === "" && (_ = le ? "/" : "."), b ? (b.path = _, s(b)) : _;
|
|
7697
7697
|
});
|
|
7698
7698
|
t.normalize = a;
|
|
@@ -7857,12 +7857,12 @@ Qr.prototype.toArray = function() {
|
|
|
7857
7857
|
};
|
|
7858
7858
|
wc.MappingList = Qr;
|
|
7859
7859
|
var rn = Rs, Ae = Pr, wr = yc.ArraySet, xf = wc.MappingList;
|
|
7860
|
-
function
|
|
7860
|
+
function ze(t) {
|
|
7861
7861
|
t || (t = {}), this._file = Ae.getArg(t, "file", null), this._sourceRoot = Ae.getArg(t, "sourceRoot", null), this._skipValidation = Ae.getArg(t, "skipValidation", !1), this._ignoreInvalidMapping = Ae.getArg(t, "ignoreInvalidMapping", !1), this._sources = new wr(), this._names = new wr(), this._mappings = new xf(), this._sourcesContents = null;
|
|
7862
7862
|
}
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
var r = e.sourceRoot, i = new
|
|
7863
|
+
ze.prototype._version = 3;
|
|
7864
|
+
ze.fromSourceMap = function(e, n) {
|
|
7865
|
+
var r = e.sourceRoot, i = new ze(Object.assign(n || {}, {
|
|
7866
7866
|
file: e.file,
|
|
7867
7867
|
sourceRoot: r
|
|
7868
7868
|
}));
|
|
@@ -7884,7 +7884,7 @@ Ke.fromSourceMap = function(e, n) {
|
|
|
7884
7884
|
l != null && i.setSourceContent(s, l);
|
|
7885
7885
|
}), i;
|
|
7886
7886
|
};
|
|
7887
|
-
|
|
7887
|
+
ze.prototype.addMapping = function(e) {
|
|
7888
7888
|
var n = Ae.getArg(e, "generated"), r = Ae.getArg(e, "original", null), i = Ae.getArg(e, "source", null), s = Ae.getArg(e, "name", null);
|
|
7889
7889
|
!this._skipValidation && this._validateMapping(n, r, i, s) === !1 || (i != null && (i = String(i), this._sources.has(i) || this._sources.add(i)), s != null && (s = String(s), this._names.has(s) || this._names.add(s)), this._mappings.add({
|
|
7890
7890
|
generatedLine: n.line,
|
|
@@ -7895,11 +7895,11 @@ Ke.prototype.addMapping = function(e) {
|
|
|
7895
7895
|
name: s
|
|
7896
7896
|
}));
|
|
7897
7897
|
};
|
|
7898
|
-
|
|
7898
|
+
ze.prototype.setSourceContent = function(e, n) {
|
|
7899
7899
|
var r = e;
|
|
7900
7900
|
this._sourceRoot != null && (r = Ae.relative(this._sourceRoot, r)), n != null ? (this._sourcesContents || (this._sourcesContents = /* @__PURE__ */ Object.create(null)), this._sourcesContents[Ae.toSetString(r)] = n) : this._sourcesContents && (delete this._sourcesContents[Ae.toSetString(r)], Object.keys(this._sourcesContents).length === 0 && (this._sourcesContents = null));
|
|
7901
7901
|
};
|
|
7902
|
-
|
|
7902
|
+
ze.prototype.applySourceMap = function(e, n, r) {
|
|
7903
7903
|
var i = n;
|
|
7904
7904
|
if (n == null) {
|
|
7905
7905
|
if (e.file == null)
|
|
@@ -7928,7 +7928,7 @@ Ke.prototype.applySourceMap = function(e, n, r) {
|
|
|
7928
7928
|
c != null && (r != null && (a = Ae.join(r, a)), s != null && (a = Ae.relative(s, a)), this.setSourceContent(a, c));
|
|
7929
7929
|
}, this);
|
|
7930
7930
|
};
|
|
7931
|
-
|
|
7931
|
+
ze.prototype._validateMapping = function(e, n, r, i) {
|
|
7932
7932
|
if (n && typeof n.line != "number" && typeof n.column != "number") {
|
|
7933
7933
|
var s = "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";
|
|
7934
7934
|
if (this._ignoreInvalidMapping)
|
|
@@ -7949,7 +7949,7 @@ Ke.prototype._validateMapping = function(e, n, r, i) {
|
|
|
7949
7949
|
throw new Error(s);
|
|
7950
7950
|
}
|
|
7951
7951
|
};
|
|
7952
|
-
|
|
7952
|
+
ze.prototype._serializeMappings = function() {
|
|
7953
7953
|
for (var e = 0, n = 1, r = 0, i = 0, s = 0, o = 0, l = "", a, c, u, h, d = this._mappings.toArray(), A = 0, w = d.length; A < w; A++) {
|
|
7954
7954
|
if (c = d[A], a = "", c.generatedLine !== n)
|
|
7955
7955
|
for (e = 0; c.generatedLine !== n; )
|
|
@@ -7963,7 +7963,7 @@ Ke.prototype._serializeMappings = function() {
|
|
|
7963
7963
|
}
|
|
7964
7964
|
return l;
|
|
7965
7965
|
};
|
|
7966
|
-
|
|
7966
|
+
ze.prototype._generateSourcesContent = function(e, n) {
|
|
7967
7967
|
return e.map(function(r) {
|
|
7968
7968
|
if (!this._sourcesContents)
|
|
7969
7969
|
return null;
|
|
@@ -7972,7 +7972,7 @@ Ke.prototype._generateSourcesContent = function(e, n) {
|
|
|
7972
7972
|
return Object.prototype.hasOwnProperty.call(this._sourcesContents, i) ? this._sourcesContents[i] : null;
|
|
7973
7973
|
}, this);
|
|
7974
7974
|
};
|
|
7975
|
-
|
|
7975
|
+
ze.prototype.toJSON = function() {
|
|
7976
7976
|
var e = {
|
|
7977
7977
|
version: this._version,
|
|
7978
7978
|
sources: this._sources.toArray(),
|
|
@@ -7981,10 +7981,10 @@ Ke.prototype.toJSON = function() {
|
|
|
7981
7981
|
};
|
|
7982
7982
|
return this._file != null && (e.file = this._file), this._sourceRoot != null && (e.sourceRoot = this._sourceRoot), this._sourcesContents && (e.sourcesContent = this._generateSourcesContent(e.sources, e.sourceRoot)), e;
|
|
7983
7983
|
};
|
|
7984
|
-
|
|
7984
|
+
ze.prototype.toString = function() {
|
|
7985
7985
|
return JSON.stringify(this.toJSON());
|
|
7986
7986
|
};
|
|
7987
|
-
var Sf =
|
|
7987
|
+
var Sf = ze;
|
|
7988
7988
|
const sa = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
|
|
7989
7989
|
function If(t) {
|
|
7990
7990
|
const e = new Sf(), n = {
|
|
@@ -8029,7 +8029,7 @@ function If(t) {
|
|
|
8029
8029
|
}
|
|
8030
8030
|
const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string" && (t = Math.min(t.charCodeAt(0), 128) << 6), t << 1), xc = [
|
|
8031
8031
|
[C, C],
|
|
8032
|
-
[C,
|
|
8032
|
+
[C, K],
|
|
8033
8033
|
[C, Ce],
|
|
8034
8034
|
[C, Ne],
|
|
8035
8035
|
[C, "-"],
|
|
@@ -8038,17 +8038,17 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8038
8038
|
[C, $],
|
|
8039
8039
|
[C, Re],
|
|
8040
8040
|
[C, q],
|
|
8041
|
-
[
|
|
8042
|
-
[
|
|
8043
|
-
[
|
|
8044
|
-
[
|
|
8045
|
-
[
|
|
8046
|
-
[
|
|
8047
|
-
[
|
|
8048
|
-
[
|
|
8049
|
-
[
|
|
8041
|
+
[ge, C],
|
|
8042
|
+
[ge, K],
|
|
8043
|
+
[ge, Ce],
|
|
8044
|
+
[ge, Ne],
|
|
8045
|
+
[ge, "-"],
|
|
8046
|
+
[ge, W],
|
|
8047
|
+
[ge, ue],
|
|
8048
|
+
[ge, $],
|
|
8049
|
+
[ge, Re],
|
|
8050
8050
|
[ae, C],
|
|
8051
|
-
[ae,
|
|
8051
|
+
[ae, K],
|
|
8052
8052
|
[ae, Ce],
|
|
8053
8053
|
[ae, Ne],
|
|
8054
8054
|
[ae, "-"],
|
|
@@ -8057,7 +8057,7 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8057
8057
|
[ae, $],
|
|
8058
8058
|
[ae, Re],
|
|
8059
8059
|
[$, C],
|
|
8060
|
-
[$,
|
|
8060
|
+
[$, K],
|
|
8061
8061
|
[$, Ce],
|
|
8062
8062
|
[$, Ne],
|
|
8063
8063
|
[$, "-"],
|
|
@@ -8066,7 +8066,7 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8066
8066
|
[$, $],
|
|
8067
8067
|
[$, Re],
|
|
8068
8068
|
["#", C],
|
|
8069
|
-
["#",
|
|
8069
|
+
["#", K],
|
|
8070
8070
|
["#", Ce],
|
|
8071
8071
|
["#", Ne],
|
|
8072
8072
|
["#", "-"],
|
|
@@ -8076,7 +8076,7 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8076
8076
|
["#", Re],
|
|
8077
8077
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
8078
8078
|
["-", C],
|
|
8079
|
-
["-",
|
|
8079
|
+
["-", K],
|
|
8080
8080
|
["-", Ce],
|
|
8081
8081
|
["-", Ne],
|
|
8082
8082
|
["-", "-"],
|
|
@@ -8086,7 +8086,7 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8086
8086
|
["-", Re],
|
|
8087
8087
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
8088
8088
|
[W, C],
|
|
8089
|
-
[W,
|
|
8089
|
+
[W, K],
|
|
8090
8090
|
[W, Ce],
|
|
8091
8091
|
[W, Ne],
|
|
8092
8092
|
[W, W],
|
|
@@ -8096,7 +8096,7 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8096
8096
|
[W, Re],
|
|
8097
8097
|
// https://github.com/w3c/csswg-drafts/pull/6874
|
|
8098
8098
|
["@", C],
|
|
8099
|
-
["@",
|
|
8099
|
+
["@", K],
|
|
8100
8100
|
["@", Ce],
|
|
8101
8101
|
["@", Ne],
|
|
8102
8102
|
["@", "-"],
|
|
@@ -8113,15 +8113,15 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8113
8113
|
[C, ae],
|
|
8114
8114
|
[$, ae],
|
|
8115
8115
|
[ae, ae],
|
|
8116
|
-
[
|
|
8117
|
-
[
|
|
8118
|
-
[
|
|
8116
|
+
[ge, q],
|
|
8117
|
+
[ge, tt],
|
|
8118
|
+
[ge, Ee],
|
|
8119
8119
|
[ue, ue],
|
|
8120
8120
|
[ue, $],
|
|
8121
|
-
[ue,
|
|
8121
|
+
[ue, K],
|
|
8122
8122
|
[ue, "-"],
|
|
8123
8123
|
[P, C],
|
|
8124
|
-
[P,
|
|
8124
|
+
[P, K],
|
|
8125
8125
|
[P, ue],
|
|
8126
8126
|
[P, $],
|
|
8127
8127
|
[P, ae],
|
|
@@ -8132,7 +8132,7 @@ function Sc(t) {
|
|
|
8132
8132
|
t.map(([n, r]) => ai(n) << 16 | ai(r))
|
|
8133
8133
|
);
|
|
8134
8134
|
return function(n, r, i) {
|
|
8135
|
-
const s = ai(r, i), o = i.charCodeAt(0), l = o === vf && r !== C && r !==
|
|
8135
|
+
const s = ai(r, i), o = i.charCodeAt(0), l = o === vf && r !== C && r !== K && r !== Re || o === _f ? e.has((n & 65534) << 16 | o << 7) : e.has((n & 65534) << 16 | s);
|
|
8136
8136
|
return s | l;
|
|
8137
8137
|
};
|
|
8138
8138
|
}
|
|
@@ -8527,7 +8527,7 @@ const Hs = [
|
|
|
8527
8527
|
"unset",
|
|
8528
8528
|
"revert",
|
|
8529
8529
|
"revert-layer"
|
|
8530
|
-
], Sn = 43, it = 45, ci = 110, Gt = !0,
|
|
8530
|
+
], Sn = 43, it = 45, ci = 110, Gt = !0, Kf = !1;
|
|
8531
8531
|
function Yi(t, e) {
|
|
8532
8532
|
return t !== null && t.type === J && t.value.charCodeAt(0) === e;
|
|
8533
8533
|
}
|
|
@@ -8536,7 +8536,7 @@ function dn(t, e, n) {
|
|
|
8536
8536
|
t = n(++e);
|
|
8537
8537
|
return e;
|
|
8538
8538
|
}
|
|
8539
|
-
function
|
|
8539
|
+
function gt(t, e, n, r) {
|
|
8540
8540
|
if (!t)
|
|
8541
8541
|
return 0;
|
|
8542
8542
|
const i = t.value.charCodeAt(e);
|
|
@@ -8565,41 +8565,41 @@ function ui(t, e, n) {
|
|
|
8565
8565
|
if (s !== Sn && s !== it)
|
|
8566
8566
|
return 0;
|
|
8567
8567
|
}
|
|
8568
|
-
return
|
|
8568
|
+
return gt(t, r ? 0 : 1, r, i);
|
|
8569
8569
|
}
|
|
8570
|
-
function
|
|
8570
|
+
function zf(t, e) {
|
|
8571
8571
|
let n = 0;
|
|
8572
8572
|
if (!t)
|
|
8573
8573
|
return 0;
|
|
8574
8574
|
if (t.type === W)
|
|
8575
|
-
return
|
|
8575
|
+
return gt(t, 0, Kf, n);
|
|
8576
8576
|
if (t.type === C && t.value.charCodeAt(0) === it) {
|
|
8577
|
-
if (!
|
|
8577
|
+
if (!Kt(t.value, 1, ci))
|
|
8578
8578
|
return 0;
|
|
8579
8579
|
switch (t.value.length) {
|
|
8580
8580
|
case 2:
|
|
8581
8581
|
return ui(e(++n), n, e);
|
|
8582
8582
|
case 3:
|
|
8583
|
-
return t.value.charCodeAt(2) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n),
|
|
8583
|
+
return t.value.charCodeAt(2) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n));
|
|
8584
8584
|
default:
|
|
8585
|
-
return t.value.charCodeAt(2) !== it ? 0 :
|
|
8585
|
+
return t.value.charCodeAt(2) !== it ? 0 : gt(t, 3, Gt, n);
|
|
8586
8586
|
}
|
|
8587
8587
|
} else if (t.type === C || Yi(t, Sn) && e(n + 1).type === C) {
|
|
8588
|
-
if (t.type !== C && (t = e(++n)), t === null || !
|
|
8588
|
+
if (t.type !== C && (t = e(++n)), t === null || !Kt(t.value, 0, ci))
|
|
8589
8589
|
return 0;
|
|
8590
8590
|
switch (t.value.length) {
|
|
8591
8591
|
case 1:
|
|
8592
8592
|
return ui(e(++n), n, e);
|
|
8593
8593
|
case 2:
|
|
8594
|
-
return t.value.charCodeAt(1) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n),
|
|
8594
|
+
return t.value.charCodeAt(1) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n));
|
|
8595
8595
|
default:
|
|
8596
|
-
return t.value.charCodeAt(1) !== it ? 0 :
|
|
8596
|
+
return t.value.charCodeAt(1) !== it ? 0 : gt(t, 2, Gt, n);
|
|
8597
8597
|
}
|
|
8598
8598
|
} else if (t.type === $) {
|
|
8599
8599
|
let r = t.value.charCodeAt(0), i = r === Sn || r === it ? 1 : 0, s = i;
|
|
8600
8600
|
for (; s < t.value.length && xe(t.value.charCodeAt(s)); s++)
|
|
8601
8601
|
;
|
|
8602
|
-
return s === i || !
|
|
8602
|
+
return s === i || !Kt(t.value, s, ci) ? 0 : s + 1 === t.value.length ? ui(e(++n), n, e) : t.value.charCodeAt(s + 1) !== it ? 0 : s + 2 === t.value.length ? (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n)) : gt(t, s + 2, Gt, n);
|
|
8603
8603
|
}
|
|
8604
8604
|
return 0;
|
|
8605
8605
|
}
|
|
@@ -8633,7 +8633,7 @@ function Jn(t, e, n) {
|
|
|
8633
8633
|
}
|
|
8634
8634
|
function Jf(t, e) {
|
|
8635
8635
|
let n = 0;
|
|
8636
|
-
if (t === null || t.type !== C || !
|
|
8636
|
+
if (t === null || t.type !== C || !Kt(t.value, 0, jf) || (t = e(++n), t === null))
|
|
8637
8637
|
return 0;
|
|
8638
8638
|
if (ji(t, Yf))
|
|
8639
8639
|
return t = e(++n), t === null ? 0 : t.type === C ? Jn(cn(t, 0, !0), ++n, e) : ji(t, Cc) ? Jn(1, ++n, e) : 0;
|
|
@@ -8647,11 +8647,11 @@ const Ws = [
|
|
|
8647
8647
|
"calc(",
|
|
8648
8648
|
"-moz-calc(",
|
|
8649
8649
|
"-webkit-calc("
|
|
8650
|
-
],
|
|
8650
|
+
], Ks = [
|
|
8651
8651
|
"min(",
|
|
8652
8652
|
"max(",
|
|
8653
8653
|
"clamp("
|
|
8654
|
-
],
|
|
8654
|
+
], zs = [
|
|
8655
8655
|
"round(",
|
|
8656
8656
|
"mod(",
|
|
8657
8657
|
"rem("
|
|
@@ -8676,29 +8676,29 @@ const Ws = [
|
|
|
8676
8676
|
"abs("
|
|
8677
8677
|
], pa = [
|
|
8678
8678
|
...Ws,
|
|
8679
|
-
...zs,
|
|
8680
8679
|
...Ks,
|
|
8680
|
+
...zs,
|
|
8681
8681
|
...Zf,
|
|
8682
8682
|
...qf,
|
|
8683
8683
|
...Ys,
|
|
8684
8684
|
...js
|
|
8685
8685
|
], Xf = [
|
|
8686
8686
|
...Ws,
|
|
8687
|
-
...zs,
|
|
8688
8687
|
...Ks,
|
|
8688
|
+
...zs,
|
|
8689
8689
|
...Ys,
|
|
8690
8690
|
...js
|
|
8691
8691
|
], at = [
|
|
8692
8692
|
...Ws,
|
|
8693
|
-
...zs,
|
|
8694
8693
|
...Ks,
|
|
8694
|
+
...zs,
|
|
8695
8695
|
...Vf,
|
|
8696
8696
|
...Ys,
|
|
8697
8697
|
...js
|
|
8698
8698
|
], $s = /* @__PURE__ */ new Map([
|
|
8699
|
-
[
|
|
8699
|
+
[K, P],
|
|
8700
8700
|
[q, P],
|
|
8701
|
-
[Pe,
|
|
8701
|
+
[Pe, Ke],
|
|
8702
8702
|
[we, Ue]
|
|
8703
8703
|
]);
|
|
8704
8704
|
function Xe(t, e) {
|
|
@@ -8727,14 +8727,14 @@ function Hr(t, e, n) {
|
|
|
8727
8727
|
}
|
|
8728
8728
|
return !1;
|
|
8729
8729
|
}
|
|
8730
|
-
function
|
|
8730
|
+
function em(t, e) {
|
|
8731
8731
|
let n = 0, r = [], i = 0;
|
|
8732
8732
|
e:
|
|
8733
8733
|
do {
|
|
8734
8734
|
switch (t.type) {
|
|
8735
8735
|
case Ue:
|
|
8736
8736
|
case P:
|
|
8737
|
-
case
|
|
8737
|
+
case Ke:
|
|
8738
8738
|
if (t.type !== n)
|
|
8739
8739
|
break e;
|
|
8740
8740
|
if (n = r.pop(), r.length === 0) {
|
|
@@ -8742,7 +8742,7 @@ function eg(t, e) {
|
|
|
8742
8742
|
break e;
|
|
8743
8743
|
}
|
|
8744
8744
|
break;
|
|
8745
|
-
case
|
|
8745
|
+
case K:
|
|
8746
8746
|
case q:
|
|
8747
8747
|
case Pe:
|
|
8748
8748
|
case we:
|
|
@@ -8755,7 +8755,7 @@ function eg(t, e) {
|
|
|
8755
8755
|
}
|
|
8756
8756
|
function Qe(t, e) {
|
|
8757
8757
|
return function(n, r, i) {
|
|
8758
|
-
return n === null ? 0 : n.type ===
|
|
8758
|
+
return n === null ? 0 : n.type === K && Bc(n.value, e) ? em(n, r) : t(n, r, i);
|
|
8759
8759
|
};
|
|
8760
8760
|
}
|
|
8761
8761
|
function oe(t) {
|
|
@@ -8763,7 +8763,7 @@ function oe(t) {
|
|
|
8763
8763
|
return e === null || e.type !== t ? 0 : 1;
|
|
8764
8764
|
};
|
|
8765
8765
|
}
|
|
8766
|
-
function
|
|
8766
|
+
function tm(t) {
|
|
8767
8767
|
if (t === null || t.type !== C)
|
|
8768
8768
|
return 0;
|
|
8769
8769
|
const e = t.value.toLowerCase();
|
|
@@ -8772,10 +8772,10 @@ function tg(t) {
|
|
|
8772
8772
|
function Dc(t) {
|
|
8773
8773
|
return t === null || t.type !== C || Xe(t.value, 0) !== 45 || Xe(t.value, 1) !== 45 ? 0 : 1;
|
|
8774
8774
|
}
|
|
8775
|
-
function
|
|
8775
|
+
function nm(t) {
|
|
8776
8776
|
return !Dc(t) || t.value === "--" ? 0 : 1;
|
|
8777
8777
|
}
|
|
8778
|
-
function
|
|
8778
|
+
function rm(t) {
|
|
8779
8779
|
if (t === null || t.type !== ae)
|
|
8780
8780
|
return 0;
|
|
8781
8781
|
const e = t.value.length;
|
|
@@ -8786,10 +8786,10 @@ function rg(t) {
|
|
|
8786
8786
|
return 0;
|
|
8787
8787
|
return 1;
|
|
8788
8788
|
}
|
|
8789
|
-
function
|
|
8789
|
+
function im(t) {
|
|
8790
8790
|
return t === null || t.type !== ae || !nr(Xe(t.value, 1), Xe(t.value, 2), Xe(t.value, 3)) ? 0 : 1;
|
|
8791
8791
|
}
|
|
8792
|
-
function
|
|
8792
|
+
function sm(t, e) {
|
|
8793
8793
|
if (!t)
|
|
8794
8794
|
return 0;
|
|
8795
8795
|
let n = 0, r = [], i = 0;
|
|
@@ -8801,7 +8801,7 @@ function sg(t, e) {
|
|
|
8801
8801
|
break e;
|
|
8802
8802
|
case Ue:
|
|
8803
8803
|
case P:
|
|
8804
|
-
case
|
|
8804
|
+
case Ke:
|
|
8805
8805
|
if (t.type !== n)
|
|
8806
8806
|
break e;
|
|
8807
8807
|
n = r.pop();
|
|
@@ -8814,7 +8814,7 @@ function sg(t, e) {
|
|
|
8814
8814
|
if (n === 0 && t.value === "!")
|
|
8815
8815
|
break e;
|
|
8816
8816
|
break;
|
|
8817
|
-
case
|
|
8817
|
+
case K:
|
|
8818
8818
|
case q:
|
|
8819
8819
|
case Pe:
|
|
8820
8820
|
case we:
|
|
@@ -8825,7 +8825,7 @@ function sg(t, e) {
|
|
|
8825
8825
|
} while (t = e(i));
|
|
8826
8826
|
return i;
|
|
8827
8827
|
}
|
|
8828
|
-
function
|
|
8828
|
+
function om(t, e) {
|
|
8829
8829
|
if (!t)
|
|
8830
8830
|
return 0;
|
|
8831
8831
|
let n = 0, r = [], i = 0;
|
|
@@ -8837,12 +8837,12 @@ function og(t, e) {
|
|
|
8837
8837
|
break e;
|
|
8838
8838
|
case Ue:
|
|
8839
8839
|
case P:
|
|
8840
|
-
case
|
|
8840
|
+
case Ke:
|
|
8841
8841
|
if (t.type !== n)
|
|
8842
8842
|
break e;
|
|
8843
8843
|
n = r.pop();
|
|
8844
8844
|
break;
|
|
8845
|
-
case
|
|
8845
|
+
case K:
|
|
8846
8846
|
case q:
|
|
8847
8847
|
case Pe:
|
|
8848
8848
|
case we:
|
|
@@ -8866,7 +8866,7 @@ function lt(t) {
|
|
|
8866
8866
|
return Hr(r, e.value, i) ? 0 : 1;
|
|
8867
8867
|
};
|
|
8868
8868
|
}
|
|
8869
|
-
function
|
|
8869
|
+
function am(t, e, n) {
|
|
8870
8870
|
return t === null || t.type !== ue || Hr(n, t.value, t.value.length - 1) ? 0 : 1;
|
|
8871
8871
|
}
|
|
8872
8872
|
function Oc(t) {
|
|
@@ -8876,13 +8876,13 @@ function Oc(t) {
|
|
|
8876
8876
|
return e !== null && e.type === W && Number(e.value) === 0 ? 1 : t(e, n, r);
|
|
8877
8877
|
};
|
|
8878
8878
|
}
|
|
8879
|
-
function
|
|
8879
|
+
function lm(t, e, n) {
|
|
8880
8880
|
if (t === null)
|
|
8881
8881
|
return 0;
|
|
8882
8882
|
const r = Mr(t.value, 0);
|
|
8883
8883
|
return !(r === t.value.length) && !Tc(t.value, r) || Hr(n, t.value, r) ? 0 : 1;
|
|
8884
8884
|
}
|
|
8885
|
-
function
|
|
8885
|
+
function cm(t, e, n) {
|
|
8886
8886
|
if (t === null || t.type !== W)
|
|
8887
8887
|
return 0;
|
|
8888
8888
|
let r = Xe(t.value, 0) === 43 || // U+002B PLUS SIGN (+)
|
|
@@ -8892,10 +8892,10 @@ function cg(t, e, n) {
|
|
|
8892
8892
|
return 0;
|
|
8893
8893
|
return Hr(n, t.value, r) ? 0 : 1;
|
|
8894
8894
|
}
|
|
8895
|
-
const
|
|
8895
|
+
const um = {
|
|
8896
8896
|
"ident-token": oe(C),
|
|
8897
|
-
"function-token": oe(
|
|
8898
|
-
"at-keyword-token": oe(
|
|
8897
|
+
"function-token": oe(K),
|
|
8898
|
+
"at-keyword-token": oe(ge),
|
|
8899
8899
|
"hash-token": oe(ae),
|
|
8900
8900
|
"string-token": oe(tt),
|
|
8901
8901
|
"bad-string-token": oe(Fr),
|
|
@@ -8912,33 +8912,33 @@ const ug = {
|
|
|
8912
8912
|
"semicolon-token": oe(Be),
|
|
8913
8913
|
"comma-token": oe(Me),
|
|
8914
8914
|
"[-token": oe(Pe),
|
|
8915
|
-
"]-token": oe(
|
|
8915
|
+
"]-token": oe(Ke),
|
|
8916
8916
|
"(-token": oe(q),
|
|
8917
8917
|
")-token": oe(P),
|
|
8918
8918
|
"{-token": oe(we),
|
|
8919
8919
|
"}-token": oe(Ue)
|
|
8920
|
-
},
|
|
8920
|
+
}, hm = {
|
|
8921
8921
|
// token type aliases
|
|
8922
8922
|
string: oe(tt),
|
|
8923
8923
|
ident: oe(C),
|
|
8924
8924
|
// percentage
|
|
8925
|
-
percentage: Qe(
|
|
8925
|
+
percentage: Qe(am, Xf),
|
|
8926
8926
|
// numeric
|
|
8927
8927
|
zero: Oc(),
|
|
8928
|
-
number: Qe(
|
|
8929
|
-
integer: Qe(
|
|
8928
|
+
number: Qe(lm, pa),
|
|
8929
|
+
integer: Qe(cm, pa),
|
|
8930
8930
|
// complex types
|
|
8931
|
-
"custom-ident":
|
|
8931
|
+
"custom-ident": tm,
|
|
8932
8932
|
"dashed-ident": Dc,
|
|
8933
|
-
"custom-property-name":
|
|
8934
|
-
"hex-color":
|
|
8935
|
-
"id-selector":
|
|
8933
|
+
"custom-property-name": nm,
|
|
8934
|
+
"hex-color": rm,
|
|
8935
|
+
"id-selector": im,
|
|
8936
8936
|
// element( <id-selector> )
|
|
8937
|
-
"an-plus-b":
|
|
8937
|
+
"an-plus-b": zf,
|
|
8938
8938
|
urange: Jf,
|
|
8939
|
-
"declaration-value":
|
|
8940
|
-
"any-value":
|
|
8941
|
-
},
|
|
8939
|
+
"declaration-value": sm,
|
|
8940
|
+
"any-value": om
|
|
8941
|
+
}, dm = [
|
|
8942
8942
|
"length",
|
|
8943
8943
|
"angle",
|
|
8944
8944
|
"time",
|
|
@@ -8948,7 +8948,7 @@ const ug = {
|
|
|
8948
8948
|
"decibel",
|
|
8949
8949
|
"semitones"
|
|
8950
8950
|
];
|
|
8951
|
-
function
|
|
8951
|
+
function pm(t) {
|
|
8952
8952
|
const {
|
|
8953
8953
|
angle: e,
|
|
8954
8954
|
decibel: n,
|
|
@@ -8971,9 +8971,9 @@ function pg(t) {
|
|
|
8971
8971
|
time: Qe(lt(a), at)
|
|
8972
8972
|
};
|
|
8973
8973
|
}
|
|
8974
|
-
function
|
|
8974
|
+
function Am(t) {
|
|
8975
8975
|
const e = /* @__PURE__ */ new Set();
|
|
8976
|
-
for (const n of
|
|
8976
|
+
for (const n of dm)
|
|
8977
8977
|
if (Array.isArray(t[n]))
|
|
8978
8978
|
for (const r of t[n])
|
|
8979
8979
|
e.add(r.toLowerCase());
|
|
@@ -8981,15 +8981,15 @@ function Ag(t) {
|
|
|
8981
8981
|
return r === null ? 0 : r.type === J && r.value === "%" || r.type === C && e.has(r.value.toLowerCase()) ? 1 : 0;
|
|
8982
8982
|
};
|
|
8983
8983
|
}
|
|
8984
|
-
function
|
|
8984
|
+
function fm(t) {
|
|
8985
8985
|
return {
|
|
8986
|
-
...
|
|
8987
|
-
...
|
|
8988
|
-
...
|
|
8989
|
-
"attr-unit":
|
|
8986
|
+
...um,
|
|
8987
|
+
...hm,
|
|
8988
|
+
...pm(t),
|
|
8989
|
+
"attr-unit": Am(t)
|
|
8990
8990
|
};
|
|
8991
8991
|
}
|
|
8992
|
-
const
|
|
8992
|
+
const mm = [
|
|
8993
8993
|
// absolute length units https://www.w3.org/TR/css-values-3/#lengths
|
|
8994
8994
|
"cm",
|
|
8995
8995
|
"mm",
|
|
@@ -9043,18 +9043,18 @@ const gg = [
|
|
|
9043
9043
|
"cqb",
|
|
9044
9044
|
"cqmin",
|
|
9045
9045
|
"cqmax"
|
|
9046
|
-
],
|
|
9046
|
+
], gm = ["deg", "grad", "rad", "turn"], bm = ["s", "ms"], ym = ["hz", "khz"], wm = ["dpi", "dpcm", "dppx", "x"], km = ["fr"], xm = ["db"], Sm = ["st"], Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9047
9047
|
__proto__: null,
|
|
9048
|
-
angle:
|
|
9049
|
-
decibel:
|
|
9050
|
-
flex:
|
|
9051
|
-
frequency:
|
|
9052
|
-
length:
|
|
9053
|
-
resolution:
|
|
9054
|
-
semitones:
|
|
9055
|
-
time:
|
|
9048
|
+
angle: gm,
|
|
9049
|
+
decibel: xm,
|
|
9050
|
+
flex: km,
|
|
9051
|
+
frequency: ym,
|
|
9052
|
+
length: mm,
|
|
9053
|
+
resolution: wm,
|
|
9054
|
+
semitones: Sm,
|
|
9055
|
+
time: bm
|
|
9056
9056
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9057
|
-
function
|
|
9057
|
+
function Im(t, e, n) {
|
|
9058
9058
|
return Object.assign(Ur("SyntaxError", t), {
|
|
9059
9059
|
input: e,
|
|
9060
9060
|
offset: n,
|
|
@@ -9064,10 +9064,10 @@ function Ig(t, e, n) {
|
|
|
9064
9064
|
--` + new Array((n || e.length) + 1).join("-") + "^"
|
|
9065
9065
|
});
|
|
9066
9066
|
}
|
|
9067
|
-
const
|
|
9067
|
+
const _m = 9, vm = 10, Cm = 12, Em = 13, Bm = 32, fa = new Uint8Array(128).map(
|
|
9068
9068
|
(t, e) => /[a-zA-Z0-9\-]/.test(String.fromCharCode(e)) ? 1 : 0
|
|
9069
9069
|
);
|
|
9070
|
-
class
|
|
9070
|
+
class Tm {
|
|
9071
9071
|
constructor(e) {
|
|
9072
9072
|
this.str = e, this.pos = 0;
|
|
9073
9073
|
}
|
|
@@ -9092,7 +9092,7 @@ class Tg {
|
|
|
9092
9092
|
findWsEnd(e) {
|
|
9093
9093
|
for (; e < this.str.length; e++) {
|
|
9094
9094
|
const n = this.str.charCodeAt(e);
|
|
9095
|
-
if (n !==
|
|
9095
|
+
if (n !== Em && n !== vm && n !== Cm && n !== Bm && n !== _m)
|
|
9096
9096
|
break;
|
|
9097
9097
|
}
|
|
9098
9098
|
return e;
|
|
@@ -9107,7 +9107,7 @@ class Tg {
|
|
|
9107
9107
|
return this.pos < this.str.length ? this.str.charAt(this.pos++) : "";
|
|
9108
9108
|
}
|
|
9109
9109
|
error(e) {
|
|
9110
|
-
throw new
|
|
9110
|
+
throw new Im(e, this.str, this.pos);
|
|
9111
9111
|
}
|
|
9112
9112
|
scanSpaces() {
|
|
9113
9113
|
return this.substringToPos(this.findWsEnd(this.pos));
|
|
@@ -9135,7 +9135,7 @@ class Tg {
|
|
|
9135
9135
|
return e === -1 && (this.pos = this.str.length, this.error("Expect an apostrophe")), this.substringToPos(e + 1);
|
|
9136
9136
|
}
|
|
9137
9137
|
}
|
|
9138
|
-
const
|
|
9138
|
+
const Dm = 9, Om = 10, Nm = 12, Rm = 13, Fm = 32, Nc = 33, Js = 35, ma = 38, Sr = 39, Rc = 40, Fc = 41, Mc = 42, Zs = 43, Vs = 44, ga = 45, qs = 60, $i = 62, Ir = 63, Mm = 64, In = 91, Jt = 93, _r = 123, ba = 124, Ji = 125, ya = 8734, wa = {
|
|
9139
9139
|
" ": 1,
|
|
9140
9140
|
"&&": 2,
|
|
9141
9141
|
"||": 3,
|
|
@@ -9148,7 +9148,7 @@ function ka(t) {
|
|
|
9148
9148
|
max: n ? Number(n) : 0
|
|
9149
9149
|
};
|
|
9150
9150
|
}
|
|
9151
|
-
function
|
|
9151
|
+
function Lm(t) {
|
|
9152
9152
|
let e = null, n = !1;
|
|
9153
9153
|
switch (t.charCode()) {
|
|
9154
9154
|
case Mc:
|
|
@@ -9193,7 +9193,7 @@ function Lg(t) {
|
|
|
9193
9193
|
};
|
|
9194
9194
|
}
|
|
9195
9195
|
function pt(t, e) {
|
|
9196
|
-
const n =
|
|
9196
|
+
const n = Lm(t);
|
|
9197
9197
|
return n !== null ? (n.term = e, t.charCode() === Js && t.charCodeAt(t.pos - 1) === Zs || t.charCode() === Ir && t.charCodeAt(t.pos - 1) === Ji ? pt(t, n) : n) : e;
|
|
9198
9198
|
}
|
|
9199
9199
|
function hi(t) {
|
|
@@ -9203,22 +9203,22 @@ function hi(t) {
|
|
|
9203
9203
|
value: e
|
|
9204
9204
|
});
|
|
9205
9205
|
}
|
|
9206
|
-
function
|
|
9206
|
+
function Gm(t) {
|
|
9207
9207
|
let e;
|
|
9208
9208
|
return t.eat(qs), t.eat(Sr), e = t.scanWord(), t.eat(Sr), t.eat($i), pt(t, {
|
|
9209
9209
|
type: "Property",
|
|
9210
9210
|
name: e
|
|
9211
9211
|
});
|
|
9212
9212
|
}
|
|
9213
|
-
function
|
|
9213
|
+
function Um(t) {
|
|
9214
9214
|
let e = null, n = null, r = 1;
|
|
9215
|
-
return t.eat(In), t.charCode() ===
|
|
9215
|
+
return t.eat(In), t.charCode() === ga && (t.peek(), r = -1), r == -1 && t.charCode() === ya ? t.peek() : (e = r * Number(t.scanNumber(t)), t.isNameCharCode() && (e += t.scanWord())), t.skipWs(), t.eat(Vs), t.skipWs(), t.charCode() === ya ? t.peek() : (r = 1, t.charCode() === ga && (t.peek(), r = -1), n = r * Number(t.scanNumber(t)), t.isNameCharCode() && (n += t.scanWord())), t.eat(Jt), {
|
|
9216
9216
|
type: "Range",
|
|
9217
9217
|
min: e,
|
|
9218
9218
|
max: n
|
|
9219
9219
|
};
|
|
9220
9220
|
}
|
|
9221
|
-
function
|
|
9221
|
+
function Pm(t) {
|
|
9222
9222
|
let e, n = null;
|
|
9223
9223
|
if (t.eat(qs), e = t.scanWord(), e === "boolean-expr") {
|
|
9224
9224
|
t.eat(In);
|
|
@@ -9228,13 +9228,13 @@ function Pg(t) {
|
|
|
9228
9228
|
term: r.terms.length === 1 ? r.terms[0] : r
|
|
9229
9229
|
});
|
|
9230
9230
|
}
|
|
9231
|
-
return t.charCode() === Rc && t.nextCharCode() === Fc && (t.pos += 2, e += "()"), t.charCodeAt(t.findWsEnd(t.pos)) === In && (t.skipWs(), n =
|
|
9231
|
+
return t.charCode() === Rc && t.nextCharCode() === Fc && (t.pos += 2, e += "()"), t.charCodeAt(t.findWsEnd(t.pos)) === In && (t.skipWs(), n = Um(t)), t.eat($i), pt(t, {
|
|
9232
9232
|
type: "Type",
|
|
9233
9233
|
name: e,
|
|
9234
9234
|
opts: n
|
|
9235
9235
|
});
|
|
9236
9236
|
}
|
|
9237
|
-
function
|
|
9237
|
+
function Qm(t) {
|
|
9238
9238
|
const e = t.scanWord();
|
|
9239
9239
|
return t.charCode() === Rc ? (t.pos++, {
|
|
9240
9240
|
type: "Function",
|
|
@@ -9244,7 +9244,7 @@ function Qg(t) {
|
|
|
9244
9244
|
name: e
|
|
9245
9245
|
});
|
|
9246
9246
|
}
|
|
9247
|
-
function
|
|
9247
|
+
function Hm(t, e) {
|
|
9248
9248
|
function n(i, s) {
|
|
9249
9249
|
return {
|
|
9250
9250
|
type: "Group",
|
|
@@ -9278,7 +9278,7 @@ function Wr(t, e = -1) {
|
|
|
9278
9278
|
const n = /* @__PURE__ */ Object.create(null), r = [];
|
|
9279
9279
|
let i = null, s = t.pos, o = !1;
|
|
9280
9280
|
for (; t.charCode() !== e; ) {
|
|
9281
|
-
let l = o ? Wr(t, Fc) :
|
|
9281
|
+
let l = o ? Wr(t, Fc) : Km(t);
|
|
9282
9282
|
if (!l)
|
|
9283
9283
|
break;
|
|
9284
9284
|
if (l.type !== "Spaces") {
|
|
@@ -9305,24 +9305,24 @@ function Wr(t, e = -1) {
|
|
|
9305
9305
|
return i !== null && i.type === "Combinator" && (t.pos -= s, t.error("Unexpected combinator")), {
|
|
9306
9306
|
type: "Group",
|
|
9307
9307
|
terms: r,
|
|
9308
|
-
combinator:
|
|
9308
|
+
combinator: Hm(r, n) || " ",
|
|
9309
9309
|
disallowEmpty: !1,
|
|
9310
9310
|
explicit: !1
|
|
9311
9311
|
};
|
|
9312
9312
|
}
|
|
9313
|
-
function
|
|
9313
|
+
function Wm(t) {
|
|
9314
9314
|
let e;
|
|
9315
9315
|
return t.eat(In), e = Wr(t, Jt), t.eat(Jt), e.explicit = !0, t.charCode() === Nc && (t.pos++, e.disallowEmpty = !0), e;
|
|
9316
9316
|
}
|
|
9317
|
-
function
|
|
9317
|
+
function Km(t) {
|
|
9318
9318
|
let e = t.charCode();
|
|
9319
9319
|
switch (e) {
|
|
9320
9320
|
case Jt:
|
|
9321
9321
|
break;
|
|
9322
9322
|
case In:
|
|
9323
|
-
return pt(t,
|
|
9323
|
+
return pt(t, Wm(t));
|
|
9324
9324
|
case qs:
|
|
9325
|
-
return t.nextCharCode() === Sr ?
|
|
9325
|
+
return t.nextCharCode() === Sr ? Gm(t) : Pm(t);
|
|
9326
9326
|
case ba:
|
|
9327
9327
|
return {
|
|
9328
9328
|
type: "Combinator",
|
|
@@ -9330,8 +9330,8 @@ function zg(t) {
|
|
|
9330
9330
|
t.pos + (t.nextCharCode() === ba ? 2 : 1)
|
|
9331
9331
|
)
|
|
9332
9332
|
};
|
|
9333
|
-
case
|
|
9334
|
-
return t.pos++, t.eat(
|
|
9333
|
+
case ma:
|
|
9334
|
+
return t.pos++, t.eat(ma), {
|
|
9335
9335
|
type: "Combinator",
|
|
9336
9336
|
value: "&&"
|
|
9337
9337
|
};
|
|
@@ -9344,16 +9344,16 @@ function zg(t) {
|
|
|
9344
9344
|
type: "String",
|
|
9345
9345
|
value: t.scanString()
|
|
9346
9346
|
});
|
|
9347
|
-
case
|
|
9348
|
-
case
|
|
9349
|
-
case
|
|
9350
|
-
case
|
|
9351
|
-
case
|
|
9347
|
+
case Fm:
|
|
9348
|
+
case Dm:
|
|
9349
|
+
case Om:
|
|
9350
|
+
case Rm:
|
|
9351
|
+
case Nm:
|
|
9352
9352
|
return {
|
|
9353
9353
|
type: "Spaces",
|
|
9354
9354
|
value: t.scanSpaces()
|
|
9355
9355
|
};
|
|
9356
|
-
case
|
|
9356
|
+
case Mm:
|
|
9357
9357
|
return e = t.nextCharCode(), t.isNameCharCode(e) ? (t.pos++, {
|
|
9358
9358
|
type: "AtKeyword",
|
|
9359
9359
|
name: t.scanWord()
|
|
@@ -9369,11 +9369,11 @@ function zg(t) {
|
|
|
9369
9369
|
return hi(t);
|
|
9370
9370
|
break;
|
|
9371
9371
|
default:
|
|
9372
|
-
return t.isNameCharCode(e) ?
|
|
9372
|
+
return t.isNameCharCode(e) ? Qm(t) : hi(t);
|
|
9373
9373
|
}
|
|
9374
9374
|
}
|
|
9375
9375
|
function Lc(t) {
|
|
9376
|
-
const e = new
|
|
9376
|
+
const e = new Tm(t), n = Wr(e);
|
|
9377
9377
|
return e.pos !== t.length && e.error("Unexpected input"), n.terms.length === 1 && n.terms[0].type === "Group" ? n.terms[0] : n;
|
|
9378
9378
|
}
|
|
9379
9379
|
const un = function() {
|
|
@@ -9381,7 +9381,7 @@ const un = function() {
|
|
|
9381
9381
|
function xa(t) {
|
|
9382
9382
|
return typeof t == "function" ? t : un;
|
|
9383
9383
|
}
|
|
9384
|
-
function
|
|
9384
|
+
function zm(t, e, n) {
|
|
9385
9385
|
function r(o) {
|
|
9386
9386
|
switch (i.call(n, o), o.type) {
|
|
9387
9387
|
case "Group":
|
|
@@ -9410,7 +9410,7 @@ function Kg(t, e, n) {
|
|
|
9410
9410
|
throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");
|
|
9411
9411
|
r(t);
|
|
9412
9412
|
}
|
|
9413
|
-
const
|
|
9413
|
+
const Ym = {
|
|
9414
9414
|
decorator(t) {
|
|
9415
9415
|
const e = [];
|
|
9416
9416
|
let n = null;
|
|
@@ -9433,7 +9433,7 @@ const Yg = {
|
|
|
9433
9433
|
};
|
|
9434
9434
|
}
|
|
9435
9435
|
};
|
|
9436
|
-
function
|
|
9436
|
+
function jm(t) {
|
|
9437
9437
|
const e = [];
|
|
9438
9438
|
return Gr(
|
|
9439
9439
|
t,
|
|
@@ -9444,10 +9444,10 @@ function jg(t) {
|
|
|
9444
9444
|
})
|
|
9445
9445
|
), e;
|
|
9446
9446
|
}
|
|
9447
|
-
function $
|
|
9448
|
-
return typeof t == "string" ?
|
|
9447
|
+
function $m(t, e) {
|
|
9448
|
+
return typeof t == "string" ? jm(t) : e.generate(t, Ym);
|
|
9449
9449
|
}
|
|
9450
|
-
const X = { type: "Match" }, re = { type: "Mismatch" }, Xs = { type: "DisallowEmpty" },
|
|
9450
|
+
const X = { type: "Match" }, re = { type: "Mismatch" }, Xs = { type: "DisallowEmpty" }, Jm = 40, Zm = 41;
|
|
9451
9451
|
function _e(t, e, n) {
|
|
9452
9452
|
return e === X && n === re || t === X && e === X && n === X ? t : (t.type === "If" && t.else === re && e === X && (e = t.then, t = t.match), {
|
|
9453
9453
|
type: "If",
|
|
@@ -9457,7 +9457,7 @@ function _e(t, e, n) {
|
|
|
9457
9457
|
});
|
|
9458
9458
|
}
|
|
9459
9459
|
function Gc(t) {
|
|
9460
|
-
return t.length > 2 && t.charCodeAt(t.length - 2) ===
|
|
9460
|
+
return t.length > 2 && t.charCodeAt(t.length - 2) === Jm && t.charCodeAt(t.length - 1) === Zm;
|
|
9461
9461
|
}
|
|
9462
9462
|
function Sa(t) {
|
|
9463
9463
|
return t.type === "Keyword" || t.type === "AtKeyword" || t.type === "Function" || t.type === "Type" && Gc(t.name);
|
|
@@ -9574,7 +9574,7 @@ function Zi(t, e, n) {
|
|
|
9574
9574
|
}
|
|
9575
9575
|
}
|
|
9576
9576
|
}
|
|
9577
|
-
function
|
|
9577
|
+
function Vm(t) {
|
|
9578
9578
|
let e = X, n = Qt(t.term);
|
|
9579
9579
|
if (t.max === 0)
|
|
9580
9580
|
n = _e(
|
|
@@ -9650,7 +9650,7 @@ function Qt(t) {
|
|
|
9650
9650
|
)), e;
|
|
9651
9651
|
}
|
|
9652
9652
|
case "Multiplier":
|
|
9653
|
-
return
|
|
9653
|
+
return Vm(t);
|
|
9654
9654
|
case "Boolean": {
|
|
9655
9655
|
const e = Qt(t.term), n = Qt(ft([
|
|
9656
9656
|
ft([
|
|
@@ -9741,8 +9741,8 @@ function Zn(t, e) {
|
|
|
9741
9741
|
source: t
|
|
9742
9742
|
};
|
|
9743
9743
|
}
|
|
9744
|
-
const { hasOwnProperty: Ia } = Object.prototype,
|
|
9745
|
-
function
|
|
9744
|
+
const { hasOwnProperty: Ia } = Object.prototype, qm = 0, Xm = 1, Vi = 2, Uc = 3, _a = "Match", eg = "Mismatch", tg = "Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)", va = 15e3;
|
|
9745
|
+
function ng(t) {
|
|
9746
9746
|
let e = null, n = null, r = t;
|
|
9747
9747
|
for (; r !== null; )
|
|
9748
9748
|
n = r.prev, r.prev = e, e = r, r = n;
|
|
@@ -9759,16 +9759,16 @@ function di(t, e) {
|
|
|
9759
9759
|
}
|
|
9760
9760
|
return !0;
|
|
9761
9761
|
}
|
|
9762
|
-
function
|
|
9762
|
+
function rg(t) {
|
|
9763
9763
|
return t.type !== J ? !1 : t.value !== "?";
|
|
9764
9764
|
}
|
|
9765
9765
|
function Ca(t) {
|
|
9766
|
-
return t === null ? !0 : t.type === Me || t.type ===
|
|
9766
|
+
return t === null ? !0 : t.type === Me || t.type === K || t.type === q || t.type === Pe || t.type === we || rg(t);
|
|
9767
9767
|
}
|
|
9768
9768
|
function Ea(t) {
|
|
9769
|
-
return t === null ? !0 : t.type === P || t.type ===
|
|
9769
|
+
return t === null ? !0 : t.type === P || t.type === Ke || t.type === Ue || t.type === J && t.value === "/";
|
|
9770
9770
|
}
|
|
9771
|
-
function
|
|
9771
|
+
function ig(t, e, n) {
|
|
9772
9772
|
function r() {
|
|
9773
9773
|
do
|
|
9774
9774
|
E++, O = E < t.length ? t[E] : null;
|
|
@@ -9801,7 +9801,7 @@ function im(t, e, n) {
|
|
|
9801
9801
|
}
|
|
9802
9802
|
function a() {
|
|
9803
9803
|
v = {
|
|
9804
|
-
type:
|
|
9804
|
+
type: Xm,
|
|
9805
9805
|
syntax: e.syntax,
|
|
9806
9806
|
token: O,
|
|
9807
9807
|
prev: v
|
|
@@ -9828,7 +9828,7 @@ function im(t, e, n) {
|
|
|
9828
9828
|
}, h = h.prev;
|
|
9829
9829
|
}
|
|
9830
9830
|
let h = null, d = null, A = null, w = null, T = 0, x = null, O = null, E = -1, B = 0, v = {
|
|
9831
|
-
type:
|
|
9831
|
+
type: qm,
|
|
9832
9832
|
syntax: null,
|
|
9833
9833
|
token: null,
|
|
9834
9834
|
prev: null
|
|
@@ -9858,7 +9858,7 @@ function im(t, e, n) {
|
|
|
9858
9858
|
if (w !== null && w !== !1)
|
|
9859
9859
|
(A === null || E > A.tokenIndex) && (A = w, w = !1);
|
|
9860
9860
|
else if (A === null) {
|
|
9861
|
-
x =
|
|
9861
|
+
x = eg;
|
|
9862
9862
|
break;
|
|
9863
9863
|
}
|
|
9864
9864
|
e = A.nextState, d = A.thenStack, h = A.syntaxStack, v = A.matchStack, E = A.tokenIndex, O = E < t.length ? t[E] : null, A = A.prev;
|
|
@@ -9998,7 +9998,7 @@ function im(t, e, n) {
|
|
|
9998
9998
|
}
|
|
9999
9999
|
switch (x) {
|
|
10000
10000
|
case null:
|
|
10001
|
-
console.warn("[csstree-match] BREAK after " + va + " iterations"), x =
|
|
10001
|
+
console.warn("[csstree-match] BREAK after " + va + " iterations"), x = tg, v = null;
|
|
10002
10002
|
break;
|
|
10003
10003
|
case _a:
|
|
10004
10004
|
for (; h !== null; )
|
|
@@ -10016,7 +10016,7 @@ function im(t, e, n) {
|
|
|
10016
10016
|
};
|
|
10017
10017
|
}
|
|
10018
10018
|
function Ba(t, e, n) {
|
|
10019
|
-
const r =
|
|
10019
|
+
const r = ig(t, e, n || {});
|
|
10020
10020
|
if (r.match === null)
|
|
10021
10021
|
return r;
|
|
10022
10022
|
let i = r.match, s = r.match = {
|
|
@@ -10024,7 +10024,7 @@ function Ba(t, e, n) {
|
|
|
10024
10024
|
match: []
|
|
10025
10025
|
};
|
|
10026
10026
|
const o = [s];
|
|
10027
|
-
for (i =
|
|
10027
|
+
for (i = ng(i).prev; i !== null; ) {
|
|
10028
10028
|
switch (i.type) {
|
|
10029
10029
|
case Vi:
|
|
10030
10030
|
s.match.push(s = {
|
|
@@ -10062,25 +10062,25 @@ function Pc(t) {
|
|
|
10062
10062
|
let r = null;
|
|
10063
10063
|
return this.matched !== null && n(this.matched), r;
|
|
10064
10064
|
}
|
|
10065
|
-
function
|
|
10065
|
+
function sg(t, e) {
|
|
10066
10066
|
return eo(this, t, (n) => n.type === "Type" && n.name === e);
|
|
10067
10067
|
}
|
|
10068
|
-
function
|
|
10068
|
+
function og(t, e) {
|
|
10069
10069
|
return eo(this, t, (n) => n.type === "Property" && n.name === e);
|
|
10070
10070
|
}
|
|
10071
|
-
function
|
|
10071
|
+
function ag(t) {
|
|
10072
10072
|
return eo(this, t, (e) => e.type === "Keyword");
|
|
10073
10073
|
}
|
|
10074
10074
|
function eo(t, e, n) {
|
|
10075
10075
|
const r = Pc.call(t, e);
|
|
10076
10076
|
return r === null ? !1 : r.some(n);
|
|
10077
10077
|
}
|
|
10078
|
-
const
|
|
10078
|
+
const lg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10079
10079
|
__proto__: null,
|
|
10080
10080
|
getTrace: Pc,
|
|
10081
|
-
isKeyword:
|
|
10082
|
-
isProperty:
|
|
10083
|
-
isType:
|
|
10081
|
+
isKeyword: ag,
|
|
10082
|
+
isProperty: og,
|
|
10083
|
+
isType: sg
|
|
10084
10084
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10085
10085
|
function Qc(t) {
|
|
10086
10086
|
return "node" in t ? t.node : Qc(t.match[0]);
|
|
@@ -10119,7 +10119,7 @@ function pi(t) {
|
|
|
10119
10119
|
function Da(t) {
|
|
10120
10120
|
return !!t && pi(t.offset) && pi(t.line) && pi(t.column);
|
|
10121
10121
|
}
|
|
10122
|
-
function
|
|
10122
|
+
function cg(t, e) {
|
|
10123
10123
|
return function(r, i) {
|
|
10124
10124
|
if (!r || r.constructor !== Object)
|
|
10125
10125
|
return i(r, "Type of node should be an Object");
|
|
@@ -10185,7 +10185,7 @@ function Wc(t, e) {
|
|
|
10185
10185
|
}
|
|
10186
10186
|
return n.join(" | ");
|
|
10187
10187
|
}
|
|
10188
|
-
function
|
|
10188
|
+
function ug(t, e) {
|
|
10189
10189
|
const n = e.structure, r = {
|
|
10190
10190
|
type: String,
|
|
10191
10191
|
loc: !0
|
|
@@ -10200,17 +10200,17 @@ function um(t, e) {
|
|
|
10200
10200
|
}
|
|
10201
10201
|
return {
|
|
10202
10202
|
docs: i,
|
|
10203
|
-
check:
|
|
10203
|
+
check: cg(t, r)
|
|
10204
10204
|
};
|
|
10205
10205
|
}
|
|
10206
|
-
function
|
|
10206
|
+
function hg(t) {
|
|
10207
10207
|
const e = {};
|
|
10208
10208
|
if (t.node) {
|
|
10209
10209
|
for (const n in t.node)
|
|
10210
10210
|
if (An.call(t.node, n)) {
|
|
10211
10211
|
const r = t.node[n];
|
|
10212
10212
|
if (r.structure)
|
|
10213
|
-
e[n] =
|
|
10213
|
+
e[n] = ug(n, r);
|
|
10214
10214
|
else
|
|
10215
10215
|
throw new Error("Missed `structure` field in `" + n + "` node type definition");
|
|
10216
10216
|
}
|
|
@@ -10223,7 +10223,7 @@ function qi(t, e, n) {
|
|
|
10223
10223
|
t[i].syntax && (r[i] = n ? t[i].syntax : Ps(t[i].syntax, { compact: e }));
|
|
10224
10224
|
return r;
|
|
10225
10225
|
}
|
|
10226
|
-
function
|
|
10226
|
+
function dg(t, e, n) {
|
|
10227
10227
|
const r = {};
|
|
10228
10228
|
for (const [i, s] of Object.entries(t))
|
|
10229
10229
|
r[i] = {
|
|
@@ -10232,13 +10232,13 @@ function dm(t, e, n) {
|
|
|
10232
10232
|
};
|
|
10233
10233
|
return r;
|
|
10234
10234
|
}
|
|
10235
|
-
function
|
|
10235
|
+
function pg(t) {
|
|
10236
10236
|
for (let e = 0; e < t.length; e++)
|
|
10237
10237
|
if (t[e].value.toLowerCase() === "var(")
|
|
10238
10238
|
return !0;
|
|
10239
10239
|
return !1;
|
|
10240
10240
|
}
|
|
10241
|
-
function
|
|
10241
|
+
function Ag(t) {
|
|
10242
10242
|
const e = t.terms[0];
|
|
10243
10243
|
return t.explicit === !1 && t.terms.length === 1 && e.type === "Multiplier" && e.comma === !0;
|
|
10244
10244
|
}
|
|
@@ -10247,13 +10247,13 @@ function Ze(t, e, n) {
|
|
|
10247
10247
|
matched: t,
|
|
10248
10248
|
iterations: n,
|
|
10249
10249
|
error: e,
|
|
10250
|
-
...
|
|
10250
|
+
...lg
|
|
10251
10251
|
};
|
|
10252
10252
|
}
|
|
10253
10253
|
function Ut(t, e, n, r) {
|
|
10254
|
-
const i = $
|
|
10254
|
+
const i = $m(n, t.syntax);
|
|
10255
10255
|
let s;
|
|
10256
|
-
return
|
|
10256
|
+
return pg(i) ? Ze(null, new Error("Matching for a tree with var() is not supported")) : (r && (s = Ba(i, t.cssWideKeywordsSyntax, t)), (!r || !s.match) && (s = Ba(i, e.match, t), !s.match) ? Ze(
|
|
10257
10257
|
null,
|
|
10258
10258
|
new Qf(s.reason, e.syntax, n, s),
|
|
10259
10259
|
s.iterations
|
|
@@ -10261,7 +10261,7 @@ function Ut(t, e, n, r) {
|
|
|
10261
10261
|
}
|
|
10262
10262
|
class Oa {
|
|
10263
10263
|
constructor(e, n, r) {
|
|
10264
|
-
if (this.cssWideKeywords = Hs, this.syntax = n, this.generic = !1, this.units = { ...Aa }, this.atrules = /* @__PURE__ */ Object.create(null), this.properties = /* @__PURE__ */ Object.create(null), this.types = /* @__PURE__ */ Object.create(null), this.structure = r ||
|
|
10264
|
+
if (this.cssWideKeywords = Hs, this.syntax = n, this.generic = !1, this.units = { ...Aa }, this.atrules = /* @__PURE__ */ Object.create(null), this.properties = /* @__PURE__ */ Object.create(null), this.types = /* @__PURE__ */ Object.create(null), this.structure = r || hg(e), e) {
|
|
10265
10265
|
if (e.cssWideKeywords && (this.cssWideKeywords = e.cssWideKeywords), e.units)
|
|
10266
10266
|
for (const i of Object.keys(Aa))
|
|
10267
10267
|
Array.isArray(e.units[i]) && (this.units[i] = e.units[i]);
|
|
@@ -10270,7 +10270,7 @@ class Oa {
|
|
|
10270
10270
|
this.addType_(i, s);
|
|
10271
10271
|
if (e.generic) {
|
|
10272
10272
|
this.generic = !0;
|
|
10273
|
-
for (const [i, s] of Object.entries(
|
|
10273
|
+
for (const [i, s] of Object.entries(fm(this.units)))
|
|
10274
10274
|
this.addType_(i, s);
|
|
10275
10275
|
}
|
|
10276
10276
|
if (e.atrules)
|
|
@@ -10319,7 +10319,7 @@ class Oa {
|
|
|
10319
10319
|
}
|
|
10320
10320
|
}), n === "Property" && Object.defineProperty(o, "matchRef", {
|
|
10321
10321
|
get() {
|
|
10322
|
-
const l = o.syntax, a =
|
|
10322
|
+
const l = o.syntax, a = Ag(l) ? Zn({
|
|
10323
10323
|
...l,
|
|
10324
10324
|
terms: [l.terms[0].term]
|
|
10325
10325
|
}, s) : null;
|
|
@@ -10444,7 +10444,7 @@ class Oa {
|
|
|
10444
10444
|
function n(a, c, u, h) {
|
|
10445
10445
|
if (u.has(c))
|
|
10446
10446
|
return u.get(c);
|
|
10447
|
-
u.set(c, !1), h.syntax !== null &&
|
|
10447
|
+
u.set(c, !1), h.syntax !== null && zm(h.syntax, function(d) {
|
|
10448
10448
|
if (d.type !== "Type" && d.type !== "Property")
|
|
10449
10449
|
return;
|
|
10450
10450
|
const A = d.type === "Type" ? a.types : a.properties, w = d.type === "Type" ? i : s;
|
|
@@ -10471,7 +10471,7 @@ class Oa {
|
|
|
10471
10471
|
units: this.units,
|
|
10472
10472
|
types: qi(this.types, !n, e),
|
|
10473
10473
|
properties: qi(this.properties, !n, e),
|
|
10474
|
-
atrules:
|
|
10474
|
+
atrules: dg(this.atrules, !n, e)
|
|
10475
10475
|
};
|
|
10476
10476
|
}
|
|
10477
10477
|
toString() {
|
|
@@ -10481,7 +10481,7 @@ class Oa {
|
|
|
10481
10481
|
function Ai(t, e) {
|
|
10482
10482
|
return typeof e == "string" && /^\s*\|/.test(e) ? typeof t == "string" ? t + e : e.replace(/^\s*\|\s*/, "") : e || null;
|
|
10483
10483
|
}
|
|
10484
|
-
function
|
|
10484
|
+
function fg(t, e) {
|
|
10485
10485
|
const n = /* @__PURE__ */ Object.create(null);
|
|
10486
10486
|
for (const r of Object.keys(t))
|
|
10487
10487
|
e.includes(r) && (n[r] = t[r]);
|
|
@@ -10492,7 +10492,7 @@ function fi(t, e, n) {
|
|
|
10492
10492
|
for (const [i, s] of Object.entries(e))
|
|
10493
10493
|
r[i] = {
|
|
10494
10494
|
...r[i],
|
|
10495
|
-
...n ?
|
|
10495
|
+
...n ? fg(s, n) : s
|
|
10496
10496
|
};
|
|
10497
10497
|
return r;
|
|
10498
10498
|
}
|
|
@@ -10554,7 +10554,7 @@ function Xi(t, e) {
|
|
|
10554
10554
|
}
|
|
10555
10555
|
return n;
|
|
10556
10556
|
}
|
|
10557
|
-
function
|
|
10557
|
+
function Kc(t) {
|
|
10558
10558
|
const e = bf(t), n = Ff(t), r = Df(t), { fromPlainObject: i, toPlainObject: s } = Of(n), o = {
|
|
10559
10559
|
lexer: null,
|
|
10560
10560
|
createLexer: (l) => new Oa(l, o, o.lexer.structure),
|
|
@@ -10569,7 +10569,7 @@ function zc(t) {
|
|
|
10569
10569
|
toPlainObject: s,
|
|
10570
10570
|
fork(l) {
|
|
10571
10571
|
const a = Xi({}, t);
|
|
10572
|
-
return
|
|
10572
|
+
return Kc(
|
|
10573
10573
|
typeof l == "function" ? l(a) : Xi(a, l)
|
|
10574
10574
|
);
|
|
10575
10575
|
}
|
|
@@ -10584,7 +10584,7 @@ function zc(t) {
|
|
|
10584
10584
|
node: t.node
|
|
10585
10585
|
}, o), o;
|
|
10586
10586
|
}
|
|
10587
|
-
const
|
|
10587
|
+
const mg = (t) => Kc(Xi({}, t)), gg = {
|
|
10588
10588
|
generic: !0,
|
|
10589
10589
|
cssWideKeywords: [
|
|
10590
10590
|
"initial",
|
|
@@ -11995,7 +11995,7 @@ const gm = (t) => zc(Xi({}, t)), mm = {
|
|
|
11995
11995
|
}
|
|
11996
11996
|
}
|
|
11997
11997
|
}
|
|
11998
|
-
}, ot = 43, Ge = 45, ir = 110, vt = !0,
|
|
11998
|
+
}, ot = 43, Ge = 45, ir = 110, vt = !0, bg = !1;
|
|
11999
11999
|
function sr(t, e) {
|
|
12000
12000
|
let n = this.tokenStart + t;
|
|
12001
12001
|
const r = this.charCodeAt(n);
|
|
@@ -12005,7 +12005,7 @@ function sr(t, e) {
|
|
|
12005
12005
|
function Ht(t) {
|
|
12006
12006
|
return sr.call(this, 0, t);
|
|
12007
12007
|
}
|
|
12008
|
-
function
|
|
12008
|
+
function mt(t, e) {
|
|
12009
12009
|
if (!this.cmpChar(this.tokenStart + t, e)) {
|
|
12010
12010
|
let n = "";
|
|
12011
12011
|
switch (e) {
|
|
@@ -12019,7 +12019,7 @@ function gt(t, e) {
|
|
|
12019
12019
|
this.error(n, this.tokenStart + t);
|
|
12020
12020
|
}
|
|
12021
12021
|
}
|
|
12022
|
-
function
|
|
12022
|
+
function mi() {
|
|
12023
12023
|
let t = 0, e = 0, n = this.tokenType;
|
|
12024
12024
|
for (; n === he || n === Se; )
|
|
12025
12025
|
n = this.lookupType(++t);
|
|
@@ -12034,44 +12034,44 @@ function gi() {
|
|
|
12034
12034
|
return null;
|
|
12035
12035
|
return t > 0 && this.skip(t), e === 0 && (n = this.charCodeAt(this.tokenStart), n !== ot && n !== Ge && this.error("Number sign is expected")), Ht.call(this, e !== 0), e === Ge ? "-" + this.consume(W) : this.consume(W);
|
|
12036
12036
|
}
|
|
12037
|
-
const
|
|
12037
|
+
const yg = "AnPlusB", wg = {
|
|
12038
12038
|
a: [String, null],
|
|
12039
12039
|
b: [String, null]
|
|
12040
12040
|
};
|
|
12041
|
-
function
|
|
12041
|
+
function zc() {
|
|
12042
12042
|
const t = this.tokenStart;
|
|
12043
12043
|
let e = null, n = null;
|
|
12044
12044
|
if (this.tokenType === W)
|
|
12045
|
-
Ht.call(this,
|
|
12045
|
+
Ht.call(this, bg), n = this.consume(W);
|
|
12046
12046
|
else if (this.tokenType === C && this.cmpChar(this.tokenStart, Ge))
|
|
12047
|
-
switch (e = "-1",
|
|
12047
|
+
switch (e = "-1", mt.call(this, 1, ir), this.tokenEnd - this.tokenStart) {
|
|
12048
12048
|
case 2:
|
|
12049
|
-
this.next(), n =
|
|
12049
|
+
this.next(), n = mi.call(this);
|
|
12050
12050
|
break;
|
|
12051
12051
|
case 3:
|
|
12052
|
-
|
|
12052
|
+
mt.call(this, 2, Ge), this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W);
|
|
12053
12053
|
break;
|
|
12054
12054
|
default:
|
|
12055
|
-
|
|
12055
|
+
mt.call(this, 2, Ge), sr.call(this, 3, vt), this.next(), n = this.substrToCursor(t + 2);
|
|
12056
12056
|
}
|
|
12057
12057
|
else if (this.tokenType === C || this.isDelim(ot) && this.lookupType(1) === C) {
|
|
12058
12058
|
let r = 0;
|
|
12059
|
-
switch (e = "1", this.isDelim(ot) && (r = 1, this.next()),
|
|
12059
|
+
switch (e = "1", this.isDelim(ot) && (r = 1, this.next()), mt.call(this, 0, ir), this.tokenEnd - this.tokenStart) {
|
|
12060
12060
|
case 1:
|
|
12061
|
-
this.next(), n =
|
|
12061
|
+
this.next(), n = mi.call(this);
|
|
12062
12062
|
break;
|
|
12063
12063
|
case 2:
|
|
12064
|
-
|
|
12064
|
+
mt.call(this, 1, Ge), this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W);
|
|
12065
12065
|
break;
|
|
12066
12066
|
default:
|
|
12067
|
-
|
|
12067
|
+
mt.call(this, 1, Ge), sr.call(this, 2, vt), this.next(), n = this.substrToCursor(t + r + 1);
|
|
12068
12068
|
}
|
|
12069
12069
|
} else if (this.tokenType === $) {
|
|
12070
12070
|
const r = this.charCodeAt(this.tokenStart), i = r === ot || r === Ge;
|
|
12071
12071
|
let s = this.tokenStart + i;
|
|
12072
12072
|
for (; s < this.tokenEnd && xe(this.charCodeAt(s)); s++)
|
|
12073
12073
|
;
|
|
12074
|
-
s === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i),
|
|
12074
|
+
s === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i), mt.call(this, s - this.tokenStart, ir), e = this.substring(t, s), s + 1 === this.tokenEnd ? (this.next(), n = mi.call(this)) : (mt.call(this, s - this.tokenStart + 1, Ge), s + 2 === this.tokenEnd ? (this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W)) : (sr.call(this, s - this.tokenStart + 2, vt), this.next(), n = this.substrToCursor(s + 1)));
|
|
12075
12075
|
} else
|
|
12076
12076
|
this.error();
|
|
12077
12077
|
return e !== null && e.charCodeAt(0) === ot && (e = e.substr(1)), n !== null && n.charCodeAt(0) === ot && (n = n.substr(1)), {
|
|
@@ -12081,7 +12081,7 @@ function Kc() {
|
|
|
12081
12081
|
b: n
|
|
12082
12082
|
};
|
|
12083
12083
|
}
|
|
12084
|
-
function
|
|
12084
|
+
function kg(t) {
|
|
12085
12085
|
if (t.a) {
|
|
12086
12086
|
const e = t.a === "+1" && "n" || t.a === "1" && "n" || t.a === "-1" && "-n" || t.a + "n";
|
|
12087
12087
|
if (t.b) {
|
|
@@ -12092,26 +12092,26 @@ function km(t) {
|
|
|
12092
12092
|
} else
|
|
12093
12093
|
this.tokenize(t.b);
|
|
12094
12094
|
}
|
|
12095
|
-
const
|
|
12095
|
+
const xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12096
12096
|
__proto__: null,
|
|
12097
|
-
generate:
|
|
12098
|
-
name:
|
|
12099
|
-
parse:
|
|
12100
|
-
structure:
|
|
12097
|
+
generate: kg,
|
|
12098
|
+
name: yg,
|
|
12099
|
+
parse: zc,
|
|
12100
|
+
structure: wg
|
|
12101
12101
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12102
12102
|
function Na() {
|
|
12103
12103
|
return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon, !0);
|
|
12104
12104
|
}
|
|
12105
|
-
function
|
|
12105
|
+
function Sg() {
|
|
12106
12106
|
for (let t = 1, e; e = this.lookupType(t); t++) {
|
|
12107
12107
|
if (e === Ue)
|
|
12108
12108
|
return !0;
|
|
12109
|
-
if (e === we || e ===
|
|
12109
|
+
if (e === we || e === ge)
|
|
12110
12110
|
return !1;
|
|
12111
12111
|
}
|
|
12112
12112
|
return !1;
|
|
12113
12113
|
}
|
|
12114
|
-
const
|
|
12114
|
+
const Ig = "Atrule", _g = "atrule", vg = {
|
|
12115
12115
|
name: String,
|
|
12116
12116
|
prelude: ["AtrulePrelude", "Raw", null],
|
|
12117
12117
|
block: ["Block", null]
|
|
@@ -12119,12 +12119,12 @@ const Im = "Atrule", _m = "atrule", vm = {
|
|
|
12119
12119
|
function Yc(t = !1) {
|
|
12120
12120
|
const e = this.tokenStart;
|
|
12121
12121
|
let n, r, i = null, s = null;
|
|
12122
|
-
switch (this.eat(
|
|
12122
|
+
switch (this.eat(ge), n = this.substrToCursor(e + 1), r = n.toLowerCase(), this.skipSC(), this.eof === !1 && this.tokenType !== we && this.tokenType !== Be && (this.parseAtrulePrelude ? i = this.parseWithFallback(this.AtrulePrelude.bind(this, n, t), Na) : i = Na.call(this, this.tokenIndex), this.skipSC()), this.tokenType) {
|
|
12123
12123
|
case Be:
|
|
12124
12124
|
this.next();
|
|
12125
12125
|
break;
|
|
12126
12126
|
case we:
|
|
12127
|
-
hasOwnProperty.call(this.atrule, r) && typeof this.atrule[r].block == "function" ? s = this.atrule[r].block.call(this, t) : s = this.Block(
|
|
12127
|
+
hasOwnProperty.call(this.atrule, r) && typeof this.atrule[r].block == "function" ? s = this.atrule[r].block.call(this, t) : s = this.Block(Sg.call(this));
|
|
12128
12128
|
break;
|
|
12129
12129
|
}
|
|
12130
12130
|
return {
|
|
@@ -12135,17 +12135,17 @@ function Yc(t = !1) {
|
|
|
12135
12135
|
block: s
|
|
12136
12136
|
};
|
|
12137
12137
|
}
|
|
12138
|
-
function
|
|
12139
|
-
this.token(
|
|
12138
|
+
function Cg(t) {
|
|
12139
|
+
this.token(ge, "@" + t.name), t.prelude !== null && this.node(t.prelude), t.block ? this.node(t.block) : this.token(Be, ";");
|
|
12140
12140
|
}
|
|
12141
|
-
const
|
|
12141
|
+
const Eg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12142
12142
|
__proto__: null,
|
|
12143
|
-
generate:
|
|
12144
|
-
name:
|
|
12143
|
+
generate: Cg,
|
|
12144
|
+
name: Ig,
|
|
12145
12145
|
parse: Yc,
|
|
12146
|
-
structure:
|
|
12147
|
-
walkContext:
|
|
12148
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12146
|
+
structure: vg,
|
|
12147
|
+
walkContext: _g
|
|
12148
|
+
}, Symbol.toStringTag, { value: "Module" })), Bg = "AtrulePrelude", Tg = "atrulePrelude", Dg = {
|
|
12149
12149
|
children: [[]]
|
|
12150
12150
|
};
|
|
12151
12151
|
function jc(t) {
|
|
@@ -12156,18 +12156,18 @@ function jc(t) {
|
|
|
12156
12156
|
children: e
|
|
12157
12157
|
};
|
|
12158
12158
|
}
|
|
12159
|
-
function
|
|
12159
|
+
function Og(t) {
|
|
12160
12160
|
this.children(t);
|
|
12161
12161
|
}
|
|
12162
|
-
const
|
|
12162
|
+
const Ng = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12163
12163
|
__proto__: null,
|
|
12164
|
-
generate:
|
|
12165
|
-
name:
|
|
12164
|
+
generate: Og,
|
|
12165
|
+
name: Bg,
|
|
12166
12166
|
parse: jc,
|
|
12167
|
-
structure:
|
|
12168
|
-
walkContext:
|
|
12169
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12170
|
-
function
|
|
12167
|
+
structure: Dg,
|
|
12168
|
+
walkContext: Tg
|
|
12169
|
+
}, Symbol.toStringTag, { value: "Module" })), Rg = 36, $c = 42, or = 61, Fg = 94, es = 124, Mg = 126;
|
|
12170
|
+
function Lg() {
|
|
12171
12171
|
this.eof && this.error("Unexpected end of input");
|
|
12172
12172
|
const t = this.tokenStart;
|
|
12173
12173
|
let e = !1;
|
|
@@ -12177,16 +12177,16 @@ function Lm() {
|
|
|
12177
12177
|
name: this.substrToCursor(t)
|
|
12178
12178
|
};
|
|
12179
12179
|
}
|
|
12180
|
-
function
|
|
12180
|
+
function Gg() {
|
|
12181
12181
|
const t = this.tokenStart, e = this.charCodeAt(t);
|
|
12182
12182
|
return e !== or && // =
|
|
12183
|
-
e !==
|
|
12184
|
-
e !==
|
|
12185
|
-
e !==
|
|
12183
|
+
e !== Mg && // ~=
|
|
12184
|
+
e !== Fg && // ^=
|
|
12185
|
+
e !== Rg && // $=
|
|
12186
12186
|
e !== $c && // *=
|
|
12187
12187
|
e !== es && this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"), this.next(), e !== or && (this.isDelim(or) || this.error("Equal sign is expected"), this.next()), this.substrToCursor(t);
|
|
12188
12188
|
}
|
|
12189
|
-
const
|
|
12189
|
+
const Ug = "AttributeSelector", Pg = {
|
|
12190
12190
|
name: "Identifier",
|
|
12191
12191
|
matcher: [String, null],
|
|
12192
12192
|
value: ["String", "Identifier", null],
|
|
@@ -12195,7 +12195,7 @@ const Um = "AttributeSelector", Pm = {
|
|
|
12195
12195
|
function Jc() {
|
|
12196
12196
|
const t = this.tokenStart;
|
|
12197
12197
|
let e, n = null, r = null, i = null;
|
|
12198
|
-
return this.eat(Pe), this.skipSC(), e =
|
|
12198
|
+
return this.eat(Pe), this.skipSC(), e = Lg.call(this), this.skipSC(), this.tokenType !== Ke && (this.tokenType !== C && (n = Gg.call(this), this.skipSC(), r = this.tokenType === tt ? this.String() : this.Identifier(), this.skipSC()), this.tokenType === C && (i = this.consume(C), this.skipSC())), this.eat(Ke), {
|
|
12199
12199
|
type: "AttributeSelector",
|
|
12200
12200
|
loc: this.getLocation(t, this.tokenStart),
|
|
12201
12201
|
name: e,
|
|
@@ -12204,16 +12204,16 @@ function Jc() {
|
|
|
12204
12204
|
flags: i
|
|
12205
12205
|
};
|
|
12206
12206
|
}
|
|
12207
|
-
function
|
|
12207
|
+
function Qg(t) {
|
|
12208
12208
|
this.token(J, "["), this.node(t.name), t.matcher !== null && (this.tokenize(t.matcher), this.node(t.value)), t.flags !== null && this.token(C, t.flags), this.token(J, "]");
|
|
12209
12209
|
}
|
|
12210
|
-
const
|
|
12210
|
+
const Hg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12211
12211
|
__proto__: null,
|
|
12212
|
-
generate:
|
|
12213
|
-
name:
|
|
12212
|
+
generate: Qg,
|
|
12213
|
+
name: Ug,
|
|
12214
12214
|
parse: Jc,
|
|
12215
|
-
structure:
|
|
12216
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12215
|
+
structure: Pg
|
|
12216
|
+
}, Symbol.toStringTag, { value: "Module" })), Wg = 38;
|
|
12217
12217
|
function Zc() {
|
|
12218
12218
|
return this.Raw(null, !0);
|
|
12219
12219
|
}
|
|
@@ -12223,13 +12223,13 @@ function Ra() {
|
|
|
12223
12223
|
function Fa() {
|
|
12224
12224
|
return this.Raw(this.consumeUntilSemicolonIncluded, !0);
|
|
12225
12225
|
}
|
|
12226
|
-
function
|
|
12226
|
+
function Kg() {
|
|
12227
12227
|
if (this.tokenType === Be)
|
|
12228
12228
|
return Fa.call(this, this.tokenIndex);
|
|
12229
12229
|
const t = this.parseWithFallback(this.Declaration, Fa);
|
|
12230
12230
|
return this.tokenType === Be && this.next(), t;
|
|
12231
12231
|
}
|
|
12232
|
-
const
|
|
12232
|
+
const zg = "Block", Yg = "block", jg = {
|
|
12233
12233
|
children: [[
|
|
12234
12234
|
"Atrule",
|
|
12235
12235
|
"Rule",
|
|
@@ -12237,7 +12237,7 @@ const Km = "Block", Ym = "block", jm = {
|
|
|
12237
12237
|
]]
|
|
12238
12238
|
};
|
|
12239
12239
|
function Vc(t) {
|
|
12240
|
-
const e = t ?
|
|
12240
|
+
const e = t ? Kg : Ra, n = this.tokenStart;
|
|
12241
12241
|
let r = this.createList();
|
|
12242
12242
|
this.eat(we);
|
|
12243
12243
|
e:
|
|
@@ -12249,11 +12249,11 @@ function Vc(t) {
|
|
|
12249
12249
|
case Se:
|
|
12250
12250
|
this.next();
|
|
12251
12251
|
break;
|
|
12252
|
-
case
|
|
12252
|
+
case ge:
|
|
12253
12253
|
r.push(this.parseWithFallback(this.Atrule.bind(this, t), Zc));
|
|
12254
12254
|
break;
|
|
12255
12255
|
default:
|
|
12256
|
-
t && this.isDelim(
|
|
12256
|
+
t && this.isDelim(Wg) ? r.push(Ra.call(this)) : r.push(e.call(this));
|
|
12257
12257
|
}
|
|
12258
12258
|
return this.eof || this.eat(Ue), {
|
|
12259
12259
|
type: "Block",
|
|
@@ -12261,39 +12261,39 @@ function Vc(t) {
|
|
|
12261
12261
|
children: r
|
|
12262
12262
|
};
|
|
12263
12263
|
}
|
|
12264
|
-
function $
|
|
12264
|
+
function $g(t) {
|
|
12265
12265
|
this.token(we, "{"), this.children(t, (e) => {
|
|
12266
12266
|
e.type === "Declaration" && this.token(Be, ";");
|
|
12267
12267
|
}), this.token(Ue, "}");
|
|
12268
12268
|
}
|
|
12269
|
-
const
|
|
12269
|
+
const Jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12270
12270
|
__proto__: null,
|
|
12271
|
-
generate: $
|
|
12272
|
-
name:
|
|
12271
|
+
generate: $g,
|
|
12272
|
+
name: zg,
|
|
12273
12273
|
parse: Vc,
|
|
12274
|
-
structure:
|
|
12275
|
-
walkContext:
|
|
12276
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12274
|
+
structure: jg,
|
|
12275
|
+
walkContext: Yg
|
|
12276
|
+
}, Symbol.toStringTag, { value: "Module" })), Zg = "Brackets", Vg = {
|
|
12277
12277
|
children: [[]]
|
|
12278
12278
|
};
|
|
12279
12279
|
function qc(t, e) {
|
|
12280
12280
|
const n = this.tokenStart;
|
|
12281
12281
|
let r = null;
|
|
12282
|
-
return this.eat(Pe), r = t.call(this, e), this.eof || this.eat(
|
|
12282
|
+
return this.eat(Pe), r = t.call(this, e), this.eof || this.eat(Ke), {
|
|
12283
12283
|
type: "Brackets",
|
|
12284
12284
|
loc: this.getLocation(n, this.tokenStart),
|
|
12285
12285
|
children: r
|
|
12286
12286
|
};
|
|
12287
12287
|
}
|
|
12288
|
-
function
|
|
12288
|
+
function qg(t) {
|
|
12289
12289
|
this.token(J, "["), this.children(t), this.token(J, "]");
|
|
12290
12290
|
}
|
|
12291
|
-
const
|
|
12291
|
+
const Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12292
12292
|
__proto__: null,
|
|
12293
|
-
generate:
|
|
12294
|
-
name:
|
|
12293
|
+
generate: qg,
|
|
12294
|
+
name: Zg,
|
|
12295
12295
|
parse: qc,
|
|
12296
|
-
structure:
|
|
12296
|
+
structure: Vg
|
|
12297
12297
|
}, Symbol.toStringTag, { value: "Module" })), eb = "CDC", tb = [];
|
|
12298
12298
|
function Xc() {
|
|
12299
12299
|
const t = this.tokenStart;
|
|
@@ -12347,7 +12347,7 @@ const db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12347
12347
|
name: cb,
|
|
12348
12348
|
parse: tu,
|
|
12349
12349
|
structure: ub
|
|
12350
|
-
}, Symbol.toStringTag, { value: "Module" })), pb = 43, Ma = 47, Ab = 62, fb = 126,
|
|
12350
|
+
}, Symbol.toStringTag, { value: "Module" })), pb = 43, Ma = 47, Ab = 62, fb = 126, mb = "Combinator", gb = {
|
|
12351
12351
|
name: String
|
|
12352
12352
|
};
|
|
12353
12353
|
function nu() {
|
|
@@ -12385,9 +12385,9 @@ function bb(t) {
|
|
|
12385
12385
|
const yb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12386
12386
|
__proto__: null,
|
|
12387
12387
|
generate: bb,
|
|
12388
|
-
name:
|
|
12388
|
+
name: mb,
|
|
12389
12389
|
parse: nu,
|
|
12390
|
-
structure:
|
|
12390
|
+
structure: gb
|
|
12391
12391
|
}, Symbol.toStringTag, { value: "Module" })), wb = 42, kb = 47, xb = "Comment", Sb = {
|
|
12392
12392
|
value: String
|
|
12393
12393
|
};
|
|
@@ -12455,7 +12455,7 @@ function iu(t = "media") {
|
|
|
12455
12455
|
)), e.push(n);
|
|
12456
12456
|
break;
|
|
12457
12457
|
}
|
|
12458
|
-
case
|
|
12458
|
+
case K: {
|
|
12459
12459
|
let n = this.parseWithFallback(
|
|
12460
12460
|
() => this.FeatureFunction(t),
|
|
12461
12461
|
() => null
|
|
@@ -12501,7 +12501,7 @@ const Pb = "Declaration", Qb = "declaration", Hb = {
|
|
|
12501
12501
|
value: ["Value", "Raw"]
|
|
12502
12502
|
};
|
|
12503
12503
|
function ou() {
|
|
12504
|
-
const t = this.tokenStart, e = this.tokenIndex, n =
|
|
12504
|
+
const t = this.tokenStart, e = this.tokenIndex, n = Kb.call(this), r = Qs(n), i = r ? this.parseCustomProperty : this.parseValue, s = r ? Gb : Lb;
|
|
12505
12505
|
let o = !1, l;
|
|
12506
12506
|
this.skipSC(), this.eat(Ee);
|
|
12507
12507
|
const a = this.tokenIndex;
|
|
@@ -12516,7 +12516,7 @@ function ou() {
|
|
|
12516
12516
|
break;
|
|
12517
12517
|
}
|
|
12518
12518
|
}
|
|
12519
|
-
return this.isDelim(su) && (o =
|
|
12519
|
+
return this.isDelim(su) && (o = zb.call(this), this.skipSC()), this.eof === !1 && this.tokenType !== Be && this.isBalanceEdge(e) === !1 && this.error(), {
|
|
12520
12520
|
type: "Declaration",
|
|
12521
12521
|
loc: this.getLocation(t, this.tokenStart),
|
|
12522
12522
|
important: o,
|
|
@@ -12527,7 +12527,7 @@ function ou() {
|
|
|
12527
12527
|
function Wb(t) {
|
|
12528
12528
|
this.token(C, t.property), this.token(Ee, ":"), this.node(t.value), t.important && (this.token(J, "!"), this.token(C, t.important === !0 ? "important" : t.important));
|
|
12529
12529
|
}
|
|
12530
|
-
function
|
|
12530
|
+
function Kb() {
|
|
12531
12531
|
const t = this.tokenStart;
|
|
12532
12532
|
if (this.tokenType === J)
|
|
12533
12533
|
switch (this.charCodeAt(this.tokenStart)) {
|
|
@@ -12544,7 +12544,7 @@ function zb() {
|
|
|
12544
12544
|
}
|
|
12545
12545
|
return this.tokenType === ae ? this.eat(ae) : this.eat(C), this.substrToCursor(t);
|
|
12546
12546
|
}
|
|
12547
|
-
function
|
|
12547
|
+
function zb() {
|
|
12548
12548
|
this.eat(J), this.skipSC();
|
|
12549
12549
|
const t = this.consume(C);
|
|
12550
12550
|
return t === "important" ? !0 : t;
|
|
@@ -12557,7 +12557,7 @@ const Yb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12557
12557
|
structure: Hb,
|
|
12558
12558
|
walkContext: Qb
|
|
12559
12559
|
}, Symbol.toStringTag, { value: "Module" })), jb = 38;
|
|
12560
|
-
function
|
|
12560
|
+
function gi() {
|
|
12561
12561
|
return this.Raw(this.consumeUntilSemicolonIncluded, !0);
|
|
12562
12562
|
}
|
|
12563
12563
|
const $b = "DeclarationList", Jb = {
|
|
@@ -12576,11 +12576,11 @@ function au() {
|
|
|
12576
12576
|
case Be:
|
|
12577
12577
|
this.next();
|
|
12578
12578
|
break;
|
|
12579
|
-
case
|
|
12580
|
-
t.push(this.parseWithFallback(this.Atrule.bind(this, !0),
|
|
12579
|
+
case ge:
|
|
12580
|
+
t.push(this.parseWithFallback(this.Atrule.bind(this, !0), gi));
|
|
12581
12581
|
break;
|
|
12582
12582
|
default:
|
|
12583
|
-
this.isDelim(jb) ? t.push(this.parseWithFallback(this.Rule,
|
|
12583
|
+
this.isDelim(jb) ? t.push(this.parseWithFallback(this.Rule, gi)) : t.push(this.parseWithFallback(this.Declaration, gi));
|
|
12584
12584
|
}
|
|
12585
12585
|
return {
|
|
12586
12586
|
type: "DeclarationList",
|
|
@@ -12640,7 +12640,7 @@ function cu(t) {
|
|
|
12640
12640
|
case C:
|
|
12641
12641
|
r = this.Identifier();
|
|
12642
12642
|
break;
|
|
12643
|
-
case
|
|
12643
|
+
case K:
|
|
12644
12644
|
r = this.parseWithFallback(
|
|
12645
12645
|
() => {
|
|
12646
12646
|
const i = this.Function(this.readSequence, this.scope.Value);
|
|
@@ -12699,7 +12699,7 @@ function uu(t = "unknown") {
|
|
|
12699
12699
|
};
|
|
12700
12700
|
}
|
|
12701
12701
|
function uy(t) {
|
|
12702
|
-
this.token(
|
|
12702
|
+
this.token(K, t.feature + "("), this.node(t.value), this.token(P, ")");
|
|
12703
12703
|
}
|
|
12704
12704
|
const hy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12705
12705
|
__proto__: null,
|
|
@@ -12723,7 +12723,7 @@ function bi() {
|
|
|
12723
12723
|
return this.Dimension();
|
|
12724
12724
|
case C:
|
|
12725
12725
|
return this.Identifier();
|
|
12726
|
-
case
|
|
12726
|
+
case K:
|
|
12727
12727
|
return this.parseWithFallback(
|
|
12728
12728
|
() => {
|
|
12729
12729
|
const t = this.Function(this.readSequence, this.scope.Value);
|
|
@@ -12760,12 +12760,12 @@ function hu(t = "unknown") {
|
|
|
12760
12760
|
right: o
|
|
12761
12761
|
};
|
|
12762
12762
|
}
|
|
12763
|
-
function
|
|
12763
|
+
function my(t) {
|
|
12764
12764
|
this.token(q, "("), this.node(t.left), this.tokenize(t.leftComparison), this.node(t.middle), t.right && (this.tokenize(t.rightComparison), this.node(t.right)), this.token(P, ")");
|
|
12765
12765
|
}
|
|
12766
|
-
const
|
|
12766
|
+
const gy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12767
12767
|
__proto__: null,
|
|
12768
|
-
generate:
|
|
12768
|
+
generate: my,
|
|
12769
12769
|
name: Ay,
|
|
12770
12770
|
parse: hu,
|
|
12771
12771
|
structure: fy
|
|
@@ -12784,7 +12784,7 @@ function du(t, e) {
|
|
|
12784
12784
|
};
|
|
12785
12785
|
}
|
|
12786
12786
|
function ky(t) {
|
|
12787
|
-
this.token(
|
|
12787
|
+
this.token(K, t.name + "("), this.children(t), this.token(P, ")");
|
|
12788
12788
|
}
|
|
12789
12789
|
const xy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12790
12790
|
__proto__: null,
|
|
@@ -12801,7 +12801,7 @@ const xy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12801
12801
|
function pu(t) {
|
|
12802
12802
|
const e = this.tokenStart;
|
|
12803
12803
|
let n = null;
|
|
12804
|
-
this.tokenType ===
|
|
12804
|
+
this.tokenType === K ? n = this.consumeFunctionName() : this.eat(q);
|
|
12805
12805
|
const r = this.parseWithFallback(
|
|
12806
12806
|
() => {
|
|
12807
12807
|
const i = this.tokenIndex, s = this.readSequence(this.scope.Value);
|
|
@@ -12820,7 +12820,7 @@ function pu(t) {
|
|
|
12820
12820
|
};
|
|
12821
12821
|
}
|
|
12822
12822
|
function _y(t) {
|
|
12823
|
-
t.function ? this.token(
|
|
12823
|
+
t.function ? this.token(K, t.function + "(") : this.token(q, "("), this.children(t), this.token(P, ")");
|
|
12824
12824
|
}
|
|
12825
12825
|
const vy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12826
12826
|
__proto__: null,
|
|
@@ -12871,7 +12871,7 @@ const Fy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12871
12871
|
}, Symbol.toStringTag, { value: "Module" })), My = "IdSelector", Ly = {
|
|
12872
12872
|
name: String
|
|
12873
12873
|
};
|
|
12874
|
-
function
|
|
12874
|
+
function mu() {
|
|
12875
12875
|
const t = this.tokenStart;
|
|
12876
12876
|
return this.eat(ae), {
|
|
12877
12877
|
type: "IdSelector",
|
|
@@ -12886,12 +12886,12 @@ const Uy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12886
12886
|
__proto__: null,
|
|
12887
12887
|
generate: Gy,
|
|
12888
12888
|
name: My,
|
|
12889
|
-
parse:
|
|
12889
|
+
parse: mu,
|
|
12890
12890
|
structure: Ly
|
|
12891
12891
|
}, Symbol.toStringTag, { value: "Module" })), Py = 46, Qy = "Layer", Hy = {
|
|
12892
12892
|
name: String
|
|
12893
12893
|
};
|
|
12894
|
-
function
|
|
12894
|
+
function gu() {
|
|
12895
12895
|
let t = this.tokenStart, e = this.consume(C);
|
|
12896
12896
|
for (; this.isDelim(Py); )
|
|
12897
12897
|
this.eat(J), e += "." + this.consume(C);
|
|
@@ -12904,13 +12904,13 @@ function mu() {
|
|
|
12904
12904
|
function Wy(t) {
|
|
12905
12905
|
this.tokenize(t.name);
|
|
12906
12906
|
}
|
|
12907
|
-
const
|
|
12907
|
+
const Ky = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12908
12908
|
__proto__: null,
|
|
12909
12909
|
generate: Wy,
|
|
12910
12910
|
name: Qy,
|
|
12911
|
-
parse:
|
|
12911
|
+
parse: gu,
|
|
12912
12912
|
structure: Hy
|
|
12913
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12913
|
+
}, Symbol.toStringTag, { value: "Module" })), zy = "LayerList", Yy = {
|
|
12914
12914
|
children: [[
|
|
12915
12915
|
"Layer"
|
|
12916
12916
|
]]
|
|
@@ -12931,7 +12931,7 @@ function jy(t) {
|
|
|
12931
12931
|
const $y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12932
12932
|
__proto__: null,
|
|
12933
12933
|
generate: jy,
|
|
12934
|
-
name:
|
|
12934
|
+
name: zy,
|
|
12935
12935
|
parse: bu,
|
|
12936
12936
|
structure: Yy
|
|
12937
12937
|
}, Symbol.toStringTag, { value: "Module" })), Jy = "MediaQuery", Zy = {
|
|
@@ -12961,7 +12961,7 @@ function yu() {
|
|
|
12961
12961
|
switch (this.tokenType) {
|
|
12962
12962
|
case C:
|
|
12963
12963
|
case q:
|
|
12964
|
-
case
|
|
12964
|
+
case K: {
|
|
12965
12965
|
r = this.Condition("media");
|
|
12966
12966
|
break;
|
|
12967
12967
|
}
|
|
@@ -13073,7 +13073,7 @@ const fw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13073
13073
|
name: dw,
|
|
13074
13074
|
parse: Su,
|
|
13075
13075
|
structure: pw
|
|
13076
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13076
|
+
}, Symbol.toStringTag, { value: "Module" })), mw = "Operator", gw = {
|
|
13077
13077
|
value: String
|
|
13078
13078
|
};
|
|
13079
13079
|
function Iu() {
|
|
@@ -13090,9 +13090,9 @@ function bw(t) {
|
|
|
13090
13090
|
const yw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13091
13091
|
__proto__: null,
|
|
13092
13092
|
generate: bw,
|
|
13093
|
-
name:
|
|
13093
|
+
name: mw,
|
|
13094
13094
|
parse: Iu,
|
|
13095
|
-
structure:
|
|
13095
|
+
structure: gw
|
|
13096
13096
|
}, Symbol.toStringTag, { value: "Module" })), ww = "Parentheses", kw = {
|
|
13097
13097
|
children: [[]]
|
|
13098
13098
|
};
|
|
@@ -13140,7 +13140,7 @@ const Cw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13140
13140
|
function Cu() {
|
|
13141
13141
|
const t = this.tokenStart;
|
|
13142
13142
|
let e = null, n, r;
|
|
13143
|
-
return this.eat(Ee), this.tokenType ===
|
|
13143
|
+
return this.eat(Ee), this.tokenType === K ? (n = this.consumeFunctionName(), r = n.toLowerCase(), this.lookupNonWSType(0) == P ? e = this.createList() : hasOwnProperty.call(this.pseudo, r) ? (this.skipSC(), e = this.pseudo[r].call(this), this.skipSC()) : (e = this.createList(), e.push(
|
|
13144
13144
|
this.Raw(null, !1)
|
|
13145
13145
|
)), this.eat(P)) : n = this.consume(C), {
|
|
13146
13146
|
type: "PseudoClassSelector",
|
|
@@ -13150,7 +13150,7 @@ function Cu() {
|
|
|
13150
13150
|
};
|
|
13151
13151
|
}
|
|
13152
13152
|
function Dw(t) {
|
|
13153
|
-
this.token(Ee, ":"), t.children === null ? this.token(C, t.name) : (this.token(
|
|
13153
|
+
this.token(Ee, ":"), t.children === null ? this.token(C, t.name) : (this.token(K, t.name + "("), this.children(t), this.token(P, ")"));
|
|
13154
13154
|
}
|
|
13155
13155
|
const Ow = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13156
13156
|
__proto__: null,
|
|
@@ -13166,7 +13166,7 @@ const Ow = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13166
13166
|
function Eu() {
|
|
13167
13167
|
const t = this.tokenStart;
|
|
13168
13168
|
let e = null, n, r;
|
|
13169
|
-
return this.eat(Ee), this.eat(Ee), this.tokenType ===
|
|
13169
|
+
return this.eat(Ee), this.eat(Ee), this.tokenType === K ? (n = this.consumeFunctionName(), r = n.toLowerCase(), this.lookupNonWSType(0) == P ? e = this.createList() : hasOwnProperty.call(this.pseudo, r) ? (this.skipSC(), e = this.pseudo[r].call(this), this.skipSC()) : (e = this.createList(), e.push(
|
|
13170
13170
|
this.Raw(null, !1)
|
|
13171
13171
|
)), this.eat(P)) : n = this.consume(C), {
|
|
13172
13172
|
type: "PseudoElementSelector",
|
|
@@ -13176,7 +13176,7 @@ function Eu() {
|
|
|
13176
13176
|
};
|
|
13177
13177
|
}
|
|
13178
13178
|
function Mw(t) {
|
|
13179
|
-
this.token(Ee, ":"), this.token(Ee, ":"), t.children === null ? this.token(C, t.name) : (this.token(
|
|
13179
|
+
this.token(Ee, ":"), this.token(Ee, ":"), t.children === null ? this.token(C, t.name) : (this.token(K, t.name + "("), this.children(t), this.token(P, ")"));
|
|
13180
13180
|
}
|
|
13181
13181
|
const Lw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13182
13182
|
__proto__: null,
|
|
@@ -13190,7 +13190,7 @@ function Wa() {
|
|
|
13190
13190
|
switch (this.skipSC(), this.tokenType) {
|
|
13191
13191
|
case W:
|
|
13192
13192
|
return this.Number();
|
|
13193
|
-
case
|
|
13193
|
+
case K:
|
|
13194
13194
|
return this.Function(this.readSequence, this.scope.Value);
|
|
13195
13195
|
default:
|
|
13196
13196
|
this.error("Number of function is expected");
|
|
@@ -13223,7 +13223,7 @@ const Qw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13223
13223
|
function Hw() {
|
|
13224
13224
|
return this.tokenIndex > 0 && this.lookupType(-1) === he ? this.tokenIndex > 1 ? this.getTokenStart(this.tokenIndex - 1) : this.firstCharOffset : this.tokenStart;
|
|
13225
13225
|
}
|
|
13226
|
-
const Ww = "Raw",
|
|
13226
|
+
const Ww = "Raw", Kw = {
|
|
13227
13227
|
value: String
|
|
13228
13228
|
};
|
|
13229
13229
|
function Tu(t, e) {
|
|
@@ -13235,17 +13235,17 @@ function Tu(t, e) {
|
|
|
13235
13235
|
value: this.substring(n, r)
|
|
13236
13236
|
};
|
|
13237
13237
|
}
|
|
13238
|
-
function
|
|
13238
|
+
function zw(t) {
|
|
13239
13239
|
this.tokenize(t.value);
|
|
13240
13240
|
}
|
|
13241
13241
|
const Yw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13242
13242
|
__proto__: null,
|
|
13243
|
-
generate:
|
|
13243
|
+
generate: zw,
|
|
13244
13244
|
name: Ww,
|
|
13245
13245
|
parse: Tu,
|
|
13246
|
-
structure:
|
|
13246
|
+
structure: Kw
|
|
13247
13247
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13248
|
-
function
|
|
13248
|
+
function Ka() {
|
|
13249
13249
|
return this.Raw(this.consumeUntilLeftCurlyBracket, !0);
|
|
13250
13250
|
}
|
|
13251
13251
|
function jw() {
|
|
@@ -13259,7 +13259,7 @@ const $w = "Rule", Jw = "rule", Zw = {
|
|
|
13259
13259
|
function Du() {
|
|
13260
13260
|
const t = this.tokenIndex, e = this.tokenStart;
|
|
13261
13261
|
let n, r;
|
|
13262
|
-
return this.parseRulePrelude ? n = this.parseWithFallback(jw,
|
|
13262
|
+
return this.parseRulePrelude ? n = this.parseWithFallback(jw, Ka) : n = Ka.call(this, t), r = this.Block(!0), {
|
|
13263
13263
|
type: "Rule",
|
|
13264
13264
|
loc: this.getLocation(e, this.tokenStart),
|
|
13265
13265
|
prelude: n,
|
|
@@ -13413,17 +13413,17 @@ function Lu() {
|
|
|
13413
13413
|
value: Mu(this.consume(tt))
|
|
13414
13414
|
};
|
|
13415
13415
|
}
|
|
13416
|
-
function
|
|
13416
|
+
function mk(t) {
|
|
13417
13417
|
this.token(tt, pk(t.value));
|
|
13418
13418
|
}
|
|
13419
|
-
const
|
|
13419
|
+
const gk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13420
13420
|
__proto__: null,
|
|
13421
|
-
generate:
|
|
13421
|
+
generate: mk,
|
|
13422
13422
|
name: Ak,
|
|
13423
13423
|
parse: Lu,
|
|
13424
13424
|
structure: fk
|
|
13425
13425
|
}, Symbol.toStringTag, { value: "Module" })), bk = 33;
|
|
13426
|
-
function
|
|
13426
|
+
function za() {
|
|
13427
13427
|
return this.Raw(null, !1);
|
|
13428
13428
|
}
|
|
13429
13429
|
const yk = "StyleSheet", wk = "stylesheet", kk = {
|
|
@@ -13457,11 +13457,11 @@ function Gu() {
|
|
|
13457
13457
|
case Re:
|
|
13458
13458
|
n = this.CDC();
|
|
13459
13459
|
break;
|
|
13460
|
-
case
|
|
13461
|
-
n = this.parseWithFallback(this.Atrule,
|
|
13460
|
+
case ge:
|
|
13461
|
+
n = this.parseWithFallback(this.Atrule, za);
|
|
13462
13462
|
break;
|
|
13463
13463
|
default:
|
|
13464
|
-
n = this.parseWithFallback(this.Rule,
|
|
13464
|
+
n = this.parseWithFallback(this.Rule, za);
|
|
13465
13465
|
}
|
|
13466
13466
|
e.push(n);
|
|
13467
13467
|
}
|
|
@@ -13597,10 +13597,10 @@ const Gk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13597
13597
|
name: Fk,
|
|
13598
13598
|
parse: Wu,
|
|
13599
13599
|
structure: Mk
|
|
13600
|
-
}, Symbol.toStringTag, { value: "Module" })), Uk = 32, rs = 92, Pk = 34, Qk = 39, Hk = 40,
|
|
13600
|
+
}, Symbol.toStringTag, { value: "Module" })), Uk = 32, rs = 92, Pk = 34, Qk = 39, Hk = 40, Ku = 41;
|
|
13601
13601
|
function Wk(t) {
|
|
13602
13602
|
const e = t.length;
|
|
13603
|
-
let n = 4, r = t.charCodeAt(e - 1) ===
|
|
13603
|
+
let n = 4, r = t.charCodeAt(e - 1) === Ku ? e - 2 : e - 1, i = "";
|
|
13604
13604
|
for (; n < r && Bt(t.charCodeAt(n)); )
|
|
13605
13605
|
n++;
|
|
13606
13606
|
for (; n < r && Bt(t.charCodeAt(r)); )
|
|
@@ -13622,7 +13622,7 @@ function Wk(t) {
|
|
|
13622
13622
|
}
|
|
13623
13623
|
return i;
|
|
13624
13624
|
}
|
|
13625
|
-
function
|
|
13625
|
+
function Kk(t) {
|
|
13626
13626
|
let e = "", n = !1;
|
|
13627
13627
|
for (let r = 0; r < t.length; r++) {
|
|
13628
13628
|
const i = t.charCodeAt(r);
|
|
@@ -13634,22 +13634,22 @@ function zk(t) {
|
|
|
13634
13634
|
e += "\\" + i.toString(16), n = !0;
|
|
13635
13635
|
continue;
|
|
13636
13636
|
}
|
|
13637
|
-
i === Uk || i === rs || i === Pk || i === Qk || i === Hk || i ===
|
|
13637
|
+
i === Uk || i === rs || i === Pk || i === Qk || i === Hk || i === Ku ? (e += "\\" + t.charAt(r), n = !1) : (n && St(i) && (e += " "), e += t.charAt(r), n = !1);
|
|
13638
13638
|
}
|
|
13639
13639
|
return "url(" + e + ")";
|
|
13640
13640
|
}
|
|
13641
|
-
const
|
|
13641
|
+
const zk = "Url", Yk = {
|
|
13642
13642
|
value: String
|
|
13643
13643
|
};
|
|
13644
|
-
function
|
|
13644
|
+
function zu() {
|
|
13645
13645
|
const t = this.tokenStart;
|
|
13646
13646
|
let e;
|
|
13647
13647
|
switch (this.tokenType) {
|
|
13648
13648
|
case Ce:
|
|
13649
13649
|
e = Wk(this.consume(Ce));
|
|
13650
13650
|
break;
|
|
13651
|
-
case
|
|
13652
|
-
this.cmpStr(this.tokenStart, this.tokenEnd, "url(") || this.error("Function name must be `url`"), this.eat(
|
|
13651
|
+
case K:
|
|
13652
|
+
this.cmpStr(this.tokenStart, this.tokenEnd, "url(") || this.error("Function name must be `url`"), this.eat(K), this.skipSC(), e = Mu(this.consume(tt)), this.skipSC(), this.eof || this.eat(P);
|
|
13653
13653
|
break;
|
|
13654
13654
|
default:
|
|
13655
13655
|
this.error("Url or Function is expected");
|
|
@@ -13661,13 +13661,13 @@ function Ku() {
|
|
|
13661
13661
|
};
|
|
13662
13662
|
}
|
|
13663
13663
|
function jk(t) {
|
|
13664
|
-
this.token(Ce,
|
|
13664
|
+
this.token(Ce, Kk(t.value));
|
|
13665
13665
|
}
|
|
13666
13666
|
const $k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13667
13667
|
__proto__: null,
|
|
13668
13668
|
generate: jk,
|
|
13669
|
-
name:
|
|
13670
|
-
parse:
|
|
13669
|
+
name: zk,
|
|
13670
|
+
parse: zu,
|
|
13671
13671
|
structure: Yk
|
|
13672
13672
|
}, Symbol.toStringTag, { value: "Module" })), Jk = "Value", Zk = {
|
|
13673
13673
|
children: [[]]
|
|
@@ -13710,12 +13710,12 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13710
13710
|
structure: tx
|
|
13711
13711
|
}, Symbol.toStringTag, { value: "Module" })), $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13712
13712
|
__proto__: null,
|
|
13713
|
-
AnPlusB:
|
|
13714
|
-
Atrule:
|
|
13715
|
-
AtrulePrelude:
|
|
13716
|
-
AttributeSelector:
|
|
13717
|
-
Block:
|
|
13718
|
-
Brackets:
|
|
13713
|
+
AnPlusB: xg,
|
|
13714
|
+
Atrule: Eg,
|
|
13715
|
+
AtrulePrelude: Ng,
|
|
13716
|
+
AttributeSelector: Hg,
|
|
13717
|
+
Block: Jg,
|
|
13718
|
+
Brackets: Xg,
|
|
13719
13719
|
CDC: rb,
|
|
13720
13720
|
CDO: ab,
|
|
13721
13721
|
ClassSelector: db,
|
|
@@ -13727,13 +13727,13 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13727
13727
|
Dimension: ty,
|
|
13728
13728
|
Feature: oy,
|
|
13729
13729
|
FeatureFunction: hy,
|
|
13730
|
-
FeatureRange:
|
|
13730
|
+
FeatureRange: gy,
|
|
13731
13731
|
Function: xy,
|
|
13732
13732
|
GeneralEnclosed: vy,
|
|
13733
13733
|
Hash: Dy,
|
|
13734
13734
|
IdSelector: Uy,
|
|
13735
13735
|
Identifier: Fy,
|
|
13736
|
-
Layer:
|
|
13736
|
+
Layer: Ky,
|
|
13737
13737
|
LayerList: $y,
|
|
13738
13738
|
MediaQuery: qy,
|
|
13739
13739
|
MediaQueryList: nw,
|
|
@@ -13751,7 +13751,7 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13751
13751
|
Scope: nk,
|
|
13752
13752
|
Selector: ok,
|
|
13753
13753
|
SelectorList: hk,
|
|
13754
|
-
String:
|
|
13754
|
+
String: gk,
|
|
13755
13755
|
StyleSheet: Sk,
|
|
13756
13756
|
SupportsDeclaration: Ck,
|
|
13757
13757
|
TypeSelector: Ok,
|
|
@@ -13762,7 +13762,7 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13762
13762
|
}, Symbol.toStringTag, { value: "Module" })), ix = {
|
|
13763
13763
|
generic: !0,
|
|
13764
13764
|
cssWideKeywords: Hs,
|
|
13765
|
-
...
|
|
13765
|
+
...gg,
|
|
13766
13766
|
node: $u
|
|
13767
13767
|
}, sx = 35, ox = 42, ja = 43, ax = 45, lx = 47, cx = 117;
|
|
13768
13768
|
function Ju(t) {
|
|
@@ -13783,7 +13783,7 @@ function Ju(t) {
|
|
|
13783
13783
|
return this.Percentage();
|
|
13784
13784
|
case W:
|
|
13785
13785
|
return this.Number();
|
|
13786
|
-
case
|
|
13786
|
+
case K:
|
|
13787
13787
|
return this.cmpStr(this.tokenStart, this.tokenEnd, "url(") ? this.Url() : this.Function(this.readSequence, t.recognizer);
|
|
13788
13788
|
case Ce:
|
|
13789
13789
|
return this.Url();
|
|
@@ -13800,7 +13800,7 @@ function Ju(t) {
|
|
|
13800
13800
|
}
|
|
13801
13801
|
const ux = {
|
|
13802
13802
|
getNode: Ju
|
|
13803
|
-
}, hx = 35, dx = 38, px = 42, Ax = 43, fx = 47, $a = 46,
|
|
13803
|
+
}, hx = 35, dx = 38, px = 42, Ax = 43, fx = 47, $a = 46, mx = 62, gx = 124, bx = 126;
|
|
13804
13804
|
function yx(t, e) {
|
|
13805
13805
|
e.last !== null && e.last.type !== "Combinator" && t !== null && t.type !== "Combinator" && e.push({
|
|
13806
13806
|
// FIXME: this.Combinator() should be used instead
|
|
@@ -13828,14 +13828,14 @@ function wx() {
|
|
|
13828
13828
|
case J: {
|
|
13829
13829
|
switch (this.charCodeAt(this.tokenStart)) {
|
|
13830
13830
|
case Ax:
|
|
13831
|
-
case
|
|
13831
|
+
case mx:
|
|
13832
13832
|
case bx:
|
|
13833
13833
|
case fx:
|
|
13834
13834
|
return this.Combinator();
|
|
13835
13835
|
case $a:
|
|
13836
13836
|
return this.ClassSelector();
|
|
13837
13837
|
case px:
|
|
13838
|
-
case
|
|
13838
|
+
case gx:
|
|
13839
13839
|
return this.TypeSelector();
|
|
13840
13840
|
case hx:
|
|
13841
13841
|
return this.IdSelector();
|
|
@@ -13948,13 +13948,13 @@ const Za = {
|
|
|
13948
13948
|
t.push(this.String());
|
|
13949
13949
|
break;
|
|
13950
13950
|
case Ce:
|
|
13951
|
-
case
|
|
13951
|
+
case K:
|
|
13952
13952
|
t.push(this.Url());
|
|
13953
13953
|
break;
|
|
13954
13954
|
default:
|
|
13955
13955
|
this.error("String or url() is expected");
|
|
13956
13956
|
}
|
|
13957
|
-
return this.skipSC(), this.tokenType === C && this.cmpStr(this.tokenStart, this.tokenEnd, "layer") ? t.push(this.Identifier()) : this.tokenType ===
|
|
13957
|
+
return this.skipSC(), this.tokenType === C && this.cmpStr(this.tokenStart, this.tokenEnd, "layer") ? t.push(this.Identifier()) : this.tokenType === K && this.cmpStr(this.tokenStart, this.tokenEnd, "layer(") && t.push(this.Function(null, Za)), this.skipSC(), this.tokenType === K && this.cmpStr(this.tokenStart, this.tokenEnd, "supports(") && t.push(this.Function(null, Za)), (this.lookupNonWSType(0) === C || this.lookupNonWSType(0) === q) && t.push(this.MediaQueryList()), t;
|
|
13958
13958
|
},
|
|
13959
13959
|
block: null
|
|
13960
13960
|
}
|
|
@@ -14111,7 +14111,7 @@ const _t = {
|
|
|
14111
14111
|
"host-context": ki
|
|
14112
14112
|
}, Hx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14113
14113
|
__proto__: null,
|
|
14114
|
-
AnPlusB:
|
|
14114
|
+
AnPlusB: zc,
|
|
14115
14115
|
Atrule: Yc,
|
|
14116
14116
|
AtrulePrelude: jc,
|
|
14117
14117
|
AttributeSelector: Jc,
|
|
@@ -14132,9 +14132,9 @@ const _t = {
|
|
|
14132
14132
|
Function: du,
|
|
14133
14133
|
GeneralEnclosed: pu,
|
|
14134
14134
|
Hash: Au,
|
|
14135
|
-
IdSelector:
|
|
14135
|
+
IdSelector: mu,
|
|
14136
14136
|
Identifier: fu,
|
|
14137
|
-
Layer:
|
|
14137
|
+
Layer: gu,
|
|
14138
14138
|
LayerList: bu,
|
|
14139
14139
|
MediaQuery: yu,
|
|
14140
14140
|
MediaQueryList: wu,
|
|
@@ -14157,7 +14157,7 @@ const _t = {
|
|
|
14157
14157
|
SupportsDeclaration: Uu,
|
|
14158
14158
|
TypeSelector: Pu,
|
|
14159
14159
|
UnicodeRange: Wu,
|
|
14160
|
-
Url:
|
|
14160
|
+
Url: zu,
|
|
14161
14161
|
Value: Yu,
|
|
14162
14162
|
WhiteSpace: ju
|
|
14163
14163
|
}, Symbol.toStringTag, { value: "Module" })), Wx = {
|
|
@@ -14199,12 +14199,12 @@ const _t = {
|
|
|
14199
14199
|
atrule: Lx,
|
|
14200
14200
|
pseudo: Qx,
|
|
14201
14201
|
node: Hx
|
|
14202
|
-
},
|
|
14202
|
+
}, Kx = {
|
|
14203
14203
|
node: $u
|
|
14204
|
-
},
|
|
14204
|
+
}, zx = mg({
|
|
14205
14205
|
...ix,
|
|
14206
14206
|
...Wx,
|
|
14207
|
-
...
|
|
14207
|
+
...Kx
|
|
14208
14208
|
}), Va = 92;
|
|
14209
14209
|
function xi(t) {
|
|
14210
14210
|
const e = t.length - 1;
|
|
@@ -14237,7 +14237,7 @@ const {
|
|
|
14237
14237
|
toPlainObject: O0,
|
|
14238
14238
|
fromPlainObject: N0,
|
|
14239
14239
|
fork: R0
|
|
14240
|
-
} =
|
|
14240
|
+
} = zx;
|
|
14241
14241
|
function Zt(t) {
|
|
14242
14242
|
try {
|
|
14243
14243
|
const e = new URL(t);
|
|
@@ -14255,7 +14255,7 @@ function Zu(t) {
|
|
|
14255
14255
|
return t.startsWith("#");
|
|
14256
14256
|
}
|
|
14257
14257
|
}
|
|
14258
|
-
const
|
|
14258
|
+
const Kr = U.string().refine(Zt, {
|
|
14259
14259
|
message: "Use an HTTP or HTTPS URL. Embedded images and unsafe URLs are not allowed."
|
|
14260
14260
|
});
|
|
14261
14261
|
function qa(t, e) {
|
|
@@ -14318,13 +14318,13 @@ function to(t) {
|
|
|
14318
14318
|
}
|
|
14319
14319
|
return !0;
|
|
14320
14320
|
}
|
|
14321
|
-
function
|
|
14321
|
+
function zr(t, e = 0) {
|
|
14322
14322
|
if (e > 20 || !to(t)) return !1;
|
|
14323
14323
|
let n = !0;
|
|
14324
14324
|
new qA({
|
|
14325
14325
|
oncomment: (o) => {
|
|
14326
14326
|
const l = o.replace(/\[if[^\]]*\]>/gi, "").replace(/<!\[endif\]/gi, "");
|
|
14327
|
-
|
|
14327
|
+
zr(l, e + 1) || (n = !1);
|
|
14328
14328
|
}
|
|
14329
14329
|
}).end(t);
|
|
14330
14330
|
const r = {
|
|
@@ -14405,14 +14405,14 @@ function Kr(t, e = 0) {
|
|
|
14405
14405
|
return n && i === s;
|
|
14406
14406
|
}
|
|
14407
14407
|
function is(t, e, n) {
|
|
14408
|
-
return n > 50 ? !1 : typeof t == "string" ? to(t) ? /^(?:html|text|content)$/i.test(e) ?
|
|
14408
|
+
return n > 50 ? !1 : typeof t == "string" ? to(t) ? /^(?:html|text|content)$/i.test(e) ? zr(t) : /^(?:url|src|imageUrl|mediaUrl|videoUrl)$/i.test(e) ? !t || Zt(t) : /^href$/i.test(e) ? !t || Zu(t) : !0 : !1 : Array.isArray(t) ? t.every(
|
|
14409
14409
|
(r) => is(r, e, n + 1)
|
|
14410
14410
|
) : t && typeof t == "object" ? Object.entries(t).every(([r, i]) => ["__proto__", "constructor", "prototype"].includes(r) ? !1 : is(i, r, n + 1)) : !0;
|
|
14411
14411
|
}
|
|
14412
14412
|
function $x(t) {
|
|
14413
14413
|
return is(t, "", 0);
|
|
14414
14414
|
}
|
|
14415
|
-
const Jx = U.string().refine(
|
|
14415
|
+
const Jx = U.string().refine(zr, {
|
|
14416
14416
|
message: "Unsafe HTML or embedded images are not allowed. Upload images and use their HTTP or HTTPS URLs."
|
|
14417
14417
|
}), Zx = U.enum([
|
|
14418
14418
|
"SMS",
|
|
@@ -14451,9 +14451,9 @@ const Jx = U.string().refine(Kr, {
|
|
|
14451
14451
|
}),
|
|
14452
14452
|
content: U.string(),
|
|
14453
14453
|
language: U.string(),
|
|
14454
|
-
imageUrl:
|
|
14454
|
+
imageUrl: Kr.nullish()
|
|
14455
14455
|
}).superRefine((t, e) => {
|
|
14456
|
-
(t.channel === "EMAIL" ?
|
|
14456
|
+
(t.channel === "EMAIL" ? zr(t.content) : to(t.content)) || e.addIssue({
|
|
14457
14457
|
code: U.ZodIssueCode.custom,
|
|
14458
14458
|
path: ["content"],
|
|
14459
14459
|
message: "Unsafe HTML or embedded images are not allowed. Use hosted image URLs."
|
|
@@ -14468,12 +14468,12 @@ const Jx = U.string().refine(Kr, {
|
|
|
14468
14468
|
});
|
|
14469
14469
|
}), qx = U.object({
|
|
14470
14470
|
label: U.string().min(1).max(20),
|
|
14471
|
-
url:
|
|
14471
|
+
url: Kr
|
|
14472
14472
|
}), Xx = U.enum(["NONE", "EXTERNAL"]), e0 = U.object({
|
|
14473
14473
|
title: U.string().max(40),
|
|
14474
14474
|
body: U.string().max(120),
|
|
14475
14475
|
destination: Xx.nullish(),
|
|
14476
|
-
url:
|
|
14476
|
+
url: Kr.nullish(),
|
|
14477
14477
|
variables: U.array(U.string()).default([])
|
|
14478
14478
|
}).superRefine((t, e) => {
|
|
14479
14479
|
t.destination === "EXTERNAL" && !t.url && e.addIssue({
|
|
@@ -14488,7 +14488,7 @@ const Jx = U.string().refine(Kr, {
|
|
|
14488
14488
|
(t) => t.length <= Xa,
|
|
14489
14489
|
{ message: `Content must be at most ${Xa} characters` }
|
|
14490
14490
|
),
|
|
14491
|
-
imageUrl:
|
|
14491
|
+
imageUrl: Kr.nullish(),
|
|
14492
14492
|
buttons: U.array(qx).max(2).default([]),
|
|
14493
14493
|
variables: U.array(U.string()).default([])
|
|
14494
14494
|
}), n0 = U.object({
|
|
@@ -14558,13 +14558,13 @@ export {
|
|
|
14558
14558
|
M0 as a,
|
|
14559
14559
|
Zx as b,
|
|
14560
14560
|
Si as c,
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14561
|
+
L0 as d,
|
|
14562
|
+
Vx as e,
|
|
14563
|
+
on as f,
|
|
14564
|
+
Kr as g,
|
|
14565
14565
|
Xx as h,
|
|
14566
14566
|
U0 as i,
|
|
14567
|
-
|
|
14567
|
+
zr as j,
|
|
14568
14568
|
$x as k,
|
|
14569
14569
|
P0 as r,
|
|
14570
14570
|
G0 as t
|