@feedmepos/mf-inventory-portal 1.7.3-dev.1 → 1.7.3-dev.3
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-DK0-LWWu.js → App-DTSHPe7R.js} +4 -4
- package/dist/{ApprovalView-BxV4_keX.js → ApprovalView-D9_aR4Gc.js} +8 -8
- package/dist/{BindingsDialog-DYVL00NY.js → BindingsDialog-BHc7_slb.js} +2 -2
- package/dist/{BindingsPicker-Bi1EcW62.js → BindingsPicker-CGNcEj-T.js} +2 -2
- package/dist/{BindingsTable-CvtOCAkc.js → BindingsTable-DYAjFrj9.js} +3 -3
- package/dist/{BulkReceiveRequestView-Dgp3EWOn.js → BulkReceiveRequestView-BdoBdivs.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DX3Ug_dN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BVdOmc9o.js} +1 -1
- package/dist/{ClosingDraftView-D2uvIKY5.js → ClosingDraftView-9MiT_M-0.js} +19 -19
- package/dist/{ClosingHistoryView-CIb7Ch4L.js → ClosingHistoryView-CjBa2BzF.js} +5 -5
- package/dist/{ClosingTemplateView-XVSVYB2y.js → ClosingTemplateView-BOb7SGLT.js} +16 -16
- package/dist/{DefaultView-BJets42n.js → DefaultView-DcdJGkAV.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DaQHEkqA.js → DeliveryOrderPrintPreview-BW4pojyp.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CBL0xqFW.js → EmailDialog.vue_vue_type_script_setup_true_lang-V5cDqhjU.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DbQxJtrd.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BiyuV5X5.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BgCS24jN.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-veiKt15n.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Dc6xTcD8.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CIKci_6i.js} +2 -2
- package/dist/{FmMultiselectDialog-Bq_Na17d.js → FmMultiselectDialog-CgReOKCd.js} +2 -2
- package/dist/{FmMultiselectDialog-CxsksooH.js → FmMultiselectDialog-DAA4aXFE.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DkftHtJN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B0vFWAH4.js} +5 -5
- package/dist/{ImportView-BzNfHFEx.js → ImportView-CS1NNkxZ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Hat27Ar4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-MMyJ2tKF.js} +1 -1
- package/dist/{IngredientGroupView-ClG1OM4D.js → IngredientGroupView-C2Ccf4FN.js} +5 -5
- package/dist/{IngredientsView-BYE1xoOE.js → IngredientsView-TJpTyEMi.js} +15 -15
- package/dist/{IntegrationExplorerView-DwvsbHfd.js → IntegrationExplorerView-BtUEy2uB.js} +4 -4
- package/dist/{IntegrationView-ikLaCdnl.js → IntegrationView-Dax9wE_j.js} +14 -14
- package/dist/{InventoryBindingForm-C6P0ZuXJ.js → InventoryBindingForm-B9iPCkLW.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DzLxq3uM.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Jcqfmwjl.js} +5 -5
- package/dist/{InventoryBindingSummary-CMSSSTdo.js → InventoryBindingSummary-c_pV1aUt.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-COXmn2a8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BOXkjtlt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BvrpIpql.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CMi2HvoB.js} +1 -1
- package/dist/{ProductionView-DI3JxiFg.js → ProductionView-CnMwB0cr.js} +7 -7
- package/dist/{PublishView-BoyEuUAu.js → PublishView-mV8GiWWV.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D60kdiQU.js → PurchaseOrderPrintPreview-C8E8kTJB.js} +2 -2
- package/dist/{ReceiveRequestView-DhpS9JLx.js → ReceiveRequestView-DqWsJomV.js} +13 -13
- package/dist/{RecipeView-Cz-Q0aio.js → RecipeView-8Tn3wFCh.js} +17 -17
- package/dist/{SettingsView-BNDr4ez-.js → SettingsView-L-PHMTVl.js} +226 -224
- package/dist/{StockView-bpRLYtw0.js → StockView-CiTBHN4t.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B0wulwNM.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-9hZlLVKY.js} +1 -1
- package/dist/{SupplierView-CDHpZdob.js → SupplierView-vmcRtoMe.js} +12 -12
- package/dist/{SurchargeView-BQ1O-fAr.js → SurchargeView-8WJLtTDS.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DicFDlas.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-tOAJk0Yn.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D0NGjAyr.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DJEei40Q.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-SHMiHC5F.js → TransferDetails.vue_vue_type_script_setup_true_lang-CSojIFxl.js} +1167 -1164
- package/dist/{TransferTemplateView-BRYAJdlG.js → TransferTemplateView-DhVdmctb.js} +20 -20
- package/dist/{UnitCostHistoryView-DLLPBU9n.js → UnitCostHistoryView-D6zny1qn.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DTJBsfEj.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CwoOdhIQ.js} +4 -4
- package/dist/{UnitView-DwZMbt4A.js → UnitView-lSWCtFxU.js} +7 -7
- package/dist/{WarehouseView-DyKR9b4c.js → WarehouseView-DuKMtpa9.js} +5 -5
- package/dist/{WastageTemplateView-CZhQ7MKe.js → WastageTemplateView-DkzEsxrb.js} +14 -14
- package/dist/{app-CPHh8dJ8.js → app-aIP2UbvN.js} +166 -166
- package/dist/app.js +1 -1
- package/dist/{closing-template-DV8hM9mR.js → closing-template-B4Tpx2nj.js} +1 -1
- package/dist/{date2-CMYcYkVI.js → date2-BpbxE1Eo.js} +1 -1
- package/dist/{dayjs.min-Crreg1xX.js → dayjs.min-DgLvkzcD.js} +1 -1
- package/dist/{decimal-DhFDmEjW.js → decimal-BdE7S58-.js} +2 -2
- package/dist/{defineDeepModel-DSzyuBIx.js → defineDeepModel-6dDsBDHe.js} +1 -1
- package/dist/{duplicate-template-qbIou3kX.js → duplicate-template-CXn3uV3i.js} +1 -1
- package/dist/{feature-Do5dZj8x.js → feature-BRuxXaMB.js} +2 -2
- package/dist/{format-time-from-id-BbguyEMG.js → format-time-from-id-CUhpprBp.js} +1 -1
- package/dist/{format-unit-display-C-RAKWPU.js → format-unit-display-D0Fe82Xq.js} +12 -12
- package/dist/{import-export.helper-Duq-vfeY.js → import-export.helper-BM1I0w4C.js} +6 -6
- package/dist/{index-Ctrxj7cE.js → index-Bl0BjWlp.js} +3 -3
- package/dist/{index-D73SJ6zk.js → index-CPh_vQjz.js} +1 -1
- package/dist/{index-75GfRz2O.js → index-Cntwf793.js} +1 -1
- package/dist/{inventory-core-dart.default-toC4Oswn.js → inventory-core-dart.default-BVYkK23F.js} +1 -1
- package/dist/{jszip.min-DCDx15Lo.js → jszip.min-Zg6nNRyW.js} +251 -251
- package/dist/{lz-string-DIrw_osP.js → lz-string-CAwtHrl1.js} +1 -1
- package/dist/modules/print-template/types/print-data.d.ts +1 -0
- package/dist/{netsuite-BCPPfv5q.js → netsuite-Cj5hGWVo.js} +2 -2
- package/dist/{number-Dj-zUn93.js → number-Ag0jiudJ.js} +3 -3
- package/dist/{predefined-templates-CkZwybVN.js → predefined-templates-0-uK95OE.js} +568 -562
- package/dist/{purchase-order-template-B96No_lH.js → purchase-order-template-CGklkwjs.js} +1 -1
- package/dist/{recalculationUtils-lkExVizR.js → recalculationUtils-BQavWB78.js} +1 -1
- package/dist/{rules-DjI-FPha.js → rules-WMDnNsKC.js} +2 -2
- package/dist/{stock-BLL3aLEQ.js → stock-BZtet5o7.js} +3 -3
- package/dist/{stock-KNrrUQF1.js → stock-zFx52kW4.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CosSdx6_.js → supplier-uNx8pvm1.js} +2 -2
- package/dist/{surcharge-DFnSG3ka.js → surcharge-BGXYO9Kr.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-MbRvuo5s.js → uom-rules-D5ZBpKpo.js} +1 -1
- package/dist/{use-ingredient-select-dialog-HqatzFkQ.js → use-ingredient-select-dialog-GLFy_JG1.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CHIrX4O3.js → use-inventory-binding-dialog-CkspO-Wl.js} +2 -2
- package/dist/{use-template-enabled-locations-CZDQcsEJ.js → use-template-enabled-locations-4_yOf4ny.js} +2 -2
- package/dist/{use-transfer-locations-BRCrX_-r.js → use-transfer-locations-DetFoV1n.js} +2 -2
- package/dist/{useHrmPermission-B9vfKTf-.js → useHrmPermission-DjEdsSdx.js} +1 -1
- package/dist/{useNavigationMenu-DPD_pWDz.js → useNavigationMenu-COLkYSvV.js} +2 -2
- package/dist/{useSseClient-CuljyleL.js → useSseClient-BuU-0097.js} +1 -1
- package/dist/{vue-i18n-CyoeLXfI.js → vue-i18n-BcKaPPRq.js} +1 -1
- package/dist/{xlsx.util-C6g7kacG.js → xlsx.util-BK4xpOMq.js} +2 -2
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as qn, i as Wn, y as zn } from "./app-
|
|
1
|
+
import { m as qn, i as Wn, y as zn } from "./app-aIP2UbvN.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
|
@@ -44,7 +44,7 @@ const Jn = qn((t, e) => {
|
|
|
44
44
|
function Br(t) {
|
|
45
45
|
return Object.fromEntries(t.map((e) => [e.key, e.value]));
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const ar = {
|
|
48
48
|
header: {
|
|
49
49
|
tag: "header",
|
|
50
50
|
label: "Header",
|
|
@@ -173,7 +173,9 @@ const sr = {
|
|
|
173
173
|
{ key: "showUnitCost", label: "Show Unit Cost Column", type: "toggle", value: !0 },
|
|
174
174
|
{ key: "unitCostLabel", label: "Unit Cost Column Label", type: "text", value: "Unit Cost" },
|
|
175
175
|
{ key: "showCost", label: "Show Cost Column", type: "toggle", value: !0 },
|
|
176
|
-
{ key: "costLabel", label: "Cost Column Label", type: "text", value: "Cost" }
|
|
176
|
+
{ key: "costLabel", label: "Cost Column Label", type: "text", value: "Cost" },
|
|
177
|
+
{ key: "showGrandTotal", label: "Show Grand Total Row", type: "toggle", value: !1 },
|
|
178
|
+
{ key: "grandTotalLabel", label: "Grand Total Label", type: "text", value: "Grand Total" }
|
|
177
179
|
],
|
|
178
180
|
template: `
|
|
179
181
|
<div style="margin-top:30px;">
|
|
@@ -201,6 +203,9 @@ const sr = {
|
|
|
201
203
|
{{/each}}
|
|
202
204
|
</tbody>
|
|
203
205
|
</table>
|
|
206
|
+
{{#if config.showGrandTotal}}
|
|
207
|
+
<div style="text-align:right;padding:6px 5px;font-weight:600;color:#333;border-top:2px solid #ccc;">{{config.grandTotalLabel}}: {{costOrNA grandTotal}}</div>
|
|
208
|
+
{{/if}}
|
|
204
209
|
</div>`
|
|
205
210
|
},
|
|
206
211
|
deliveryHistory: {
|
|
@@ -287,11 +292,11 @@ const sr = {
|
|
|
287
292
|
}
|
|
288
293
|
};
|
|
289
294
|
function Qn(t, e) {
|
|
290
|
-
const i =
|
|
295
|
+
const i = ar[t];
|
|
291
296
|
return i ? i.template : "";
|
|
292
297
|
}
|
|
293
298
|
function pe(t) {
|
|
294
|
-
const i =
|
|
299
|
+
const i = ar[t].initialConfigFields(), c = Qn(t);
|
|
295
300
|
return { configFields: i, templateHtml: c };
|
|
296
301
|
}
|
|
297
302
|
function Ke() {
|
|
@@ -305,10 +310,10 @@ function Ke() {
|
|
|
305
310
|
{ id: "block_7", tag: "deliveryHistory", config: pe("deliveryHistory") }
|
|
306
311
|
];
|
|
307
312
|
}
|
|
308
|
-
function
|
|
313
|
+
function xa() {
|
|
309
314
|
return `block_${Date.now()}_${Math.random().toString(36).substring(2, 7)}`;
|
|
310
315
|
}
|
|
311
|
-
function
|
|
316
|
+
function Pa(t) {
|
|
312
317
|
return {
|
|
313
318
|
title: {
|
|
314
319
|
purchaseOrder: "Purchase Order",
|
|
@@ -361,6 +366,7 @@ function Ps(t) {
|
|
|
361
366
|
},
|
|
362
367
|
{ code: "SKU003", description: "Salt (1kg)", quantity: "20", unit: "pkt", received: "0" }
|
|
363
368
|
],
|
|
369
|
+
grandTotal: "MYR 225.00",
|
|
364
370
|
status: "RECEIVING",
|
|
365
371
|
deliveryOrders: [
|
|
366
372
|
{
|
|
@@ -464,7 +470,7 @@ function xe(t, e) {
|
|
|
464
470
|
}
|
|
465
471
|
return i;
|
|
466
472
|
}
|
|
467
|
-
const Ur = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), yt = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), St = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]),
|
|
473
|
+
const Ur = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), yt = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), St = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ai = W(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), bt = W(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), si = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Gr = W(["#text"]), qr = W(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Et = W(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wr = W(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Xe = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), li = K(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ui = K(/<%[\w\W]*|[\w\W]*%>/gm), ci = K(/\$\{[\w\W]*/gm), pi = K(/^data-[\-\w.\u00B7-\uFFFF]+$/), hi = K(/^aria-[\-\w]+$/), pn = K(
|
|
468
474
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
469
475
|
// eslint-disable-line no-useless-escape
|
|
470
476
|
), fi = K(/^(?:\w+script|data):/i), di = K(
|
|
@@ -539,10 +545,10 @@ function fn() {
|
|
|
539
545
|
Node: l,
|
|
540
546
|
Element: o,
|
|
541
547
|
NodeFilter: u,
|
|
542
|
-
NamedNodeMap:
|
|
548
|
+
NamedNodeMap: a = t.NamedNodeMap || t.MozNamedAttrMap,
|
|
543
549
|
HTMLFormElement: d,
|
|
544
550
|
DOMParser: r,
|
|
545
|
-
trustedTypes:
|
|
551
|
+
trustedTypes: s
|
|
546
552
|
} = t, n = o.prototype, v = xe(n, "cloneNode"), _ = xe(n, "remove"), b = xe(n, "nextSibling"), y = xe(n, "childNodes"), E = xe(n, "parentNode");
|
|
547
553
|
if (typeof p == "function") {
|
|
548
554
|
const L = i.createElement("template");
|
|
@@ -609,7 +615,7 @@ function fn() {
|
|
|
609
615
|
value: null
|
|
610
616
|
}
|
|
611
617
|
}));
|
|
612
|
-
let vr = !0, ot = !0, _r = !1, yr = !0, ge = !1, Fe = !0, ue = !1,
|
|
618
|
+
let vr = !0, ot = !0, _r = !1, yr = !0, ge = !1, Fe = !0, ue = !1, at = !1, st = !1, me = !1, Ue = !1, Ge = !1, Sr = !0, br = !1;
|
|
613
619
|
const Rn = "user-content-";
|
|
614
620
|
let lt = !0, ke = !1, ve = {}, $ = null;
|
|
615
621
|
const ut = P({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -630,17 +636,17 @@ function fn() {
|
|
|
630
636
|
let m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
631
637
|
if (!(ye && ye === m)) {
|
|
632
638
|
if ((!m || typeof m != "object") && (m = {}), m = te(m), Ce = // eslint-disable-next-line unicorn/prefer-includes
|
|
633
|
-
Bn.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Hn : m.PARSER_MEDIA_TYPE, B = Ce === "application/xhtml+xml" ? vt : Ze, H = J(m, "ALLOWED_TAGS") ? P({}, m.ALLOWED_TAGS, B) : gr, F = J(m, "ALLOWED_ATTR") ? P({}, m.ALLOWED_ATTR, B) : mr, ht = J(m, "ALLOWED_NAMESPACES") ? P({}, m.ALLOWED_NAMESPACES, vt) : In, ct = J(m, "ADD_URI_SAFE_ATTR") ? P(te(Cr), m.ADD_URI_SAFE_ATTR, B) : Cr, Er = J(m, "ADD_DATA_URI_TAGS") ? P(te(kr), m.ADD_DATA_URI_TAGS, B) : kr, $ = J(m, "FORBID_CONTENTS") ? P({}, m.FORBID_CONTENTS, B) : ut, Ee = J(m, "FORBID_TAGS") ? P({}, m.FORBID_TAGS, B) : te({}), it = J(m, "FORBID_ATTR") ? P({}, m.FORBID_ATTR, B) : te({}), ve = J(m, "USE_PROFILES") ? m.USE_PROFILES : !1, vr = m.ALLOW_ARIA_ATTR !== !1, ot = m.ALLOW_DATA_ATTR !== !1, _r = m.ALLOW_UNKNOWN_PROTOCOLS || !1, yr = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = m.SAFE_FOR_TEMPLATES || !1, Fe = m.SAFE_FOR_XML !== !1, ue = m.WHOLE_DOCUMENT || !1, me = m.RETURN_DOM || !1, Ue = m.RETURN_DOM_FRAGMENT || !1, Ge = m.RETURN_TRUSTED_TYPE || !1,
|
|
639
|
+
Bn.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Hn : m.PARSER_MEDIA_TYPE, B = Ce === "application/xhtml+xml" ? vt : Ze, H = J(m, "ALLOWED_TAGS") ? P({}, m.ALLOWED_TAGS, B) : gr, F = J(m, "ALLOWED_ATTR") ? P({}, m.ALLOWED_ATTR, B) : mr, ht = J(m, "ALLOWED_NAMESPACES") ? P({}, m.ALLOWED_NAMESPACES, vt) : In, ct = J(m, "ADD_URI_SAFE_ATTR") ? P(te(Cr), m.ADD_URI_SAFE_ATTR, B) : Cr, Er = J(m, "ADD_DATA_URI_TAGS") ? P(te(kr), m.ADD_DATA_URI_TAGS, B) : kr, $ = J(m, "FORBID_CONTENTS") ? P({}, m.FORBID_CONTENTS, B) : ut, Ee = J(m, "FORBID_TAGS") ? P({}, m.FORBID_TAGS, B) : te({}), it = J(m, "FORBID_ATTR") ? P({}, m.FORBID_ATTR, B) : te({}), ve = J(m, "USE_PROFILES") ? m.USE_PROFILES : !1, vr = m.ALLOW_ARIA_ATTR !== !1, ot = m.ALLOW_DATA_ATTR !== !1, _r = m.ALLOW_UNKNOWN_PROTOCOLS || !1, yr = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = m.SAFE_FOR_TEMPLATES || !1, Fe = m.SAFE_FOR_XML !== !1, ue = m.WHOLE_DOCUMENT || !1, me = m.RETURN_DOM || !1, Ue = m.RETURN_DOM_FRAGMENT || !1, Ge = m.RETURN_TRUSTED_TYPE || !1, st = m.FORCE_BODY || !1, Sr = m.SANITIZE_DOM !== !1, br = m.SANITIZE_NAMED_PROPS || !1, lt = m.KEEP_CONTENT !== !1, ke = m.IN_PLACE || !1, dr = m.ALLOWED_URI_REGEXP || pn, _e = m.NAMESPACE || re, ze = m.MATHML_TEXT_INTEGRATION_POINTS || ze, Ve = m.HTML_INTEGRATION_POINTS || Ve, I = m.CUSTOM_ELEMENT_HANDLING || {}, m.CUSTOM_ELEMENT_HANDLING && Ar(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = m.CUSTOM_ELEMENT_HANDLING.tagNameCheck), m.CUSTOM_ELEMENT_HANDLING && Ar(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), m.CUSTOM_ELEMENT_HANDLING && typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (ot = !1), Ue && (me = !0), ve && (H = P({}, Gr), F = [], ve.html === !0 && (P(H, Ur), P(F, qr)), ve.svg === !0 && (P(H, yt), P(F, Et), P(F, Xe)), ve.svgFilters === !0 && (P(H, St), P(F, Et), P(F, Xe)), ve.mathMl === !0 && (P(H, bt), P(F, Wr), P(F, Xe))), m.ADD_TAGS && (typeof m.ADD_TAGS == "function" ? de.tagCheck = m.ADD_TAGS : (H === gr && (H = te(H)), P(H, m.ADD_TAGS, B))), m.ADD_ATTR && (typeof m.ADD_ATTR == "function" ? de.attributeCheck = m.ADD_ATTR : (F === mr && (F = te(F)), P(F, m.ADD_ATTR, B))), m.ADD_URI_SAFE_ATTR && P(ct, m.ADD_URI_SAFE_ATTR, B), m.FORBID_CONTENTS && ($ === ut && ($ = te($)), P($, m.FORBID_CONTENTS, B)), m.ADD_FORBID_CONTENTS && ($ === ut && ($ = te($)), P($, m.ADD_FORBID_CONTENTS, B)), lt && (H["#text"] = !0), ue && P(H, ["html", "head", "body"]), H.table && (P(H, ["tbody"]), delete Ee.tbody), m.TRUSTED_TYPES_POLICY) {
|
|
634
640
|
if (typeof m.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
635
641
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
636
642
|
if (typeof m.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
637
643
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
638
644
|
g = m.TRUSTED_TYPES_POLICY, S = g.createHTML("");
|
|
639
645
|
} else
|
|
640
|
-
g === void 0 && (g = vi(
|
|
646
|
+
g === void 0 && (g = vi(s, h)), g !== null && typeof S == "string" && (S = g.createHTML(""));
|
|
641
647
|
W && W(m), ye = m;
|
|
642
648
|
}
|
|
643
|
-
}, wr = P({}, [...yt, ...St, ...
|
|
649
|
+
}, wr = P({}, [...yt, ...St, ...ai]), Lr = P({}, [...bt, ...si]), Un = function(m) {
|
|
644
650
|
let C = E(m);
|
|
645
651
|
(!C || !C.tagName) && (C = {
|
|
646
652
|
namespaceURI: _e,
|
|
@@ -682,7 +688,7 @@ function fn() {
|
|
|
682
688
|
}
|
|
683
689
|
}, xr = function(m) {
|
|
684
690
|
let C = null, w = null;
|
|
685
|
-
if (
|
|
691
|
+
if (st)
|
|
686
692
|
m = "<remove></remove>" + m;
|
|
687
693
|
else {
|
|
688
694
|
const D = _t(m, /^[\r\n\t ]+/);
|
|
@@ -713,7 +719,7 @@ function fn() {
|
|
|
713
719
|
null
|
|
714
720
|
);
|
|
715
721
|
}, dt = function(m) {
|
|
716
|
-
return m instanceof d && (typeof m.nodeName != "string" || typeof m.textContent != "string" || typeof m.removeChild != "function" || !(m.attributes instanceof
|
|
722
|
+
return m instanceof d && (typeof m.nodeName != "string" || typeof m.textContent != "string" || typeof m.removeChild != "function" || !(m.attributes instanceof a) || typeof m.removeAttribute != "function" || typeof m.setAttribute != "function" || typeof m.namespaceURI != "string" || typeof m.insertBefore != "function" || typeof m.hasChildNodes != "function");
|
|
717
723
|
}, Tr = function(m) {
|
|
718
724
|
return typeof l == "function" && m instanceof l;
|
|
719
725
|
};
|
|
@@ -831,8 +837,8 @@ function fn() {
|
|
|
831
837
|
ce(D, m);
|
|
832
838
|
continue;
|
|
833
839
|
}
|
|
834
|
-
if (g && typeof
|
|
835
|
-
switch (
|
|
840
|
+
if (g && typeof s == "object" && typeof s.getAttributeType == "function" && !V)
|
|
841
|
+
switch (s.getAttributeType(Ir, Se)) {
|
|
836
842
|
case "TrustedHTML": {
|
|
837
843
|
U = g.createHTML(U);
|
|
838
844
|
break;
|
|
@@ -867,7 +873,7 @@ function fn() {
|
|
|
867
873
|
throw Le("toString is not a function");
|
|
868
874
|
if (!e.isSupported)
|
|
869
875
|
return L;
|
|
870
|
-
if (
|
|
876
|
+
if (at || ft(m), e.removed = [], typeof L == "string" && (ke = !1), ke) {
|
|
871
877
|
if (L.nodeName) {
|
|
872
878
|
const ie = B(L.nodeName);
|
|
873
879
|
if (!H[ie] || Ee[ie])
|
|
@@ -882,7 +888,7 @@ function fn() {
|
|
|
882
888
|
if (C = xr(L), !C)
|
|
883
889
|
return me ? null : Ge ? S : "";
|
|
884
890
|
}
|
|
885
|
-
C &&
|
|
891
|
+
C && st && ee(C.firstChild);
|
|
886
892
|
const D = Pr(ke ? L : C);
|
|
887
893
|
for (; R = D.nextNode(); )
|
|
888
894
|
Or(R), Rr(R), R.content instanceof f && Gn(R.content);
|
|
@@ -903,9 +909,9 @@ function fn() {
|
|
|
903
909
|
}), g && Ge ? g.createHTML(V) : V;
|
|
904
910
|
}, e.setConfig = function() {
|
|
905
911
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
906
|
-
ft(L),
|
|
912
|
+
ft(L), at = !0;
|
|
907
913
|
}, e.clearConfig = function() {
|
|
908
|
-
ye = null,
|
|
914
|
+
ye = null, at = !1;
|
|
909
915
|
}, e.isValidAttribute = function(L, m, C) {
|
|
910
916
|
ye || ft({});
|
|
911
917
|
const w = B(L), R = B(m);
|
|
@@ -1026,7 +1032,7 @@ function yi(t, e) {
|
|
|
1026
1032
|
value: je(i.value)
|
|
1027
1033
|
} : i);
|
|
1028
1034
|
}
|
|
1029
|
-
function
|
|
1035
|
+
function Ta(t) {
|
|
1030
1036
|
return t.map((e) => e.config ? {
|
|
1031
1037
|
...e,
|
|
1032
1038
|
config: {
|
|
@@ -1063,17 +1069,17 @@ function dn(t) {
|
|
|
1063
1069
|
Object.prototype.hasOwnProperty.call(arguments[e], i) && (t[i] = arguments[e][i]);
|
|
1064
1070
|
return t;
|
|
1065
1071
|
}
|
|
1066
|
-
var
|
|
1067
|
-
M.toString =
|
|
1072
|
+
var sr = Object.prototype.toString;
|
|
1073
|
+
M.toString = sr;
|
|
1068
1074
|
var Bt = function(e) {
|
|
1069
1075
|
return typeof e == "function";
|
|
1070
1076
|
};
|
|
1071
1077
|
Bt(/x/) && (M.isFunction = Bt = function(t) {
|
|
1072
|
-
return typeof t == "function" &&
|
|
1078
|
+
return typeof t == "function" && sr.call(t) === "[object Function]";
|
|
1073
1079
|
});
|
|
1074
1080
|
M.isFunction = Bt;
|
|
1075
1081
|
var gn = Array.isArray || function(t) {
|
|
1076
|
-
return t && typeof t == "object" ?
|
|
1082
|
+
return t && typeof t == "object" ? sr.call(t) === "[object Array]" : !1;
|
|
1077
1083
|
};
|
|
1078
1084
|
M.isArray = gn;
|
|
1079
1085
|
function Ci(t, e) {
|
|
@@ -1112,8 +1118,8 @@ var Ht = { exports: {} };
|
|
|
1112
1118
|
e.__esModule = !0;
|
|
1113
1119
|
var i = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
1114
1120
|
function c(h, f) {
|
|
1115
|
-
var p = f && f.loc, l = void 0, o = void 0, u = void 0,
|
|
1116
|
-
p && (l = p.start.line, o = p.end.line, u = p.start.column,
|
|
1121
|
+
var p = f && f.loc, l = void 0, o = void 0, u = void 0, a = void 0;
|
|
1122
|
+
p && (l = p.start.line, o = p.end.line, u = p.start.column, a = p.end.column, h += " - " + l + ":" + u);
|
|
1117
1123
|
for (var d = Error.prototype.constructor.call(this, h), r = 0; r < i.length; r++)
|
|
1118
1124
|
this[i[r]] = d[i[r]];
|
|
1119
1125
|
Error.captureStackTrace && Error.captureStackTrace(this, c);
|
|
@@ -1122,9 +1128,9 @@ var Ht = { exports: {} };
|
|
|
1122
1128
|
value: u,
|
|
1123
1129
|
enumerable: !0
|
|
1124
1130
|
}), Object.defineProperty(this, "endColumn", {
|
|
1125
|
-
value:
|
|
1131
|
+
value: a,
|
|
1126
1132
|
enumerable: !0
|
|
1127
|
-
})) : (this.column = u, this.endColumn =
|
|
1133
|
+
})) : (this.column = u, this.endColumn = a));
|
|
1128
1134
|
} catch {
|
|
1129
1135
|
}
|
|
1130
1136
|
}
|
|
@@ -1162,11 +1168,11 @@ var Ti = Ft.exports, Ut = { exports: {} };
|
|
|
1162
1168
|
p.registerHelper("each", function(l, o) {
|
|
1163
1169
|
if (!o)
|
|
1164
1170
|
throw new f.default("Must pass iterator to #each");
|
|
1165
|
-
var u = o.fn,
|
|
1166
|
-
o.data && o.ids && (n = c.appendContextPath(o.data.contextPath, o.ids[0]) + "."), c.isFunction(l) && (l = l.call(this)), o.data && (
|
|
1171
|
+
var u = o.fn, a = o.inverse, d = 0, r = "", s = void 0, n = void 0;
|
|
1172
|
+
o.data && o.ids && (n = c.appendContextPath(o.data.contextPath, o.ids[0]) + "."), c.isFunction(l) && (l = l.call(this)), o.data && (s = c.createFrame(o.data));
|
|
1167
1173
|
function v(g, S, A) {
|
|
1168
|
-
|
|
1169
|
-
data:
|
|
1174
|
+
s && (s.key = g, s.index = S, s.first = S === 0, s.last = !!A, n && (s.contextPath = n + g)), r = r + u(l[g], {
|
|
1175
|
+
data: s,
|
|
1170
1176
|
blockParams: c.blockParams([l[g], g], [n + g, null])
|
|
1171
1177
|
});
|
|
1172
1178
|
}
|
|
@@ -1187,7 +1193,7 @@ var Ti = Ft.exports, Ut = { exports: {} };
|
|
|
1187
1193
|
g !== void 0 && v(g, d - 1), g = S, d++;
|
|
1188
1194
|
}), g !== void 0 && v(g, d - 1, !0);
|
|
1189
1195
|
})();
|
|
1190
|
-
return d === 0 && (r =
|
|
1196
|
+
return d === 0 && (r = a(this)), r;
|
|
1191
1197
|
});
|
|
1192
1198
|
}, t.exports = e.default;
|
|
1193
1199
|
})(Ut, Ut.exports);
|
|
@@ -1262,10 +1268,10 @@ var Ii = zt.exports, Vt = { exports: {} };
|
|
|
1262
1268
|
var u = o.fn;
|
|
1263
1269
|
if (c.isEmpty(l))
|
|
1264
1270
|
return o.inverse(this);
|
|
1265
|
-
var
|
|
1266
|
-
return o.data && o.ids && (
|
|
1267
|
-
data:
|
|
1268
|
-
blockParams: c.blockParams([l], [
|
|
1271
|
+
var a = o.data;
|
|
1272
|
+
return o.data && o.ids && (a = c.createFrame(o.data), a.contextPath = c.appendContextPath(o.data.contextPath, o.ids[0])), u(l, {
|
|
1273
|
+
data: a,
|
|
1274
|
+
blockParams: c.blockParams([l], [a && a.contextPath])
|
|
1269
1275
|
});
|
|
1270
1276
|
});
|
|
1271
1277
|
}, t.exports = e.default;
|
|
@@ -1291,10 +1297,10 @@ var lr = {}, Kt = { exports: {} };
|
|
|
1291
1297
|
e.default = function(c) {
|
|
1292
1298
|
c.registerDecorator("inline", function(h, f, p, l) {
|
|
1293
1299
|
var o = h;
|
|
1294
|
-
return f.partials || (f.partials = {}, o = function(u,
|
|
1300
|
+
return f.partials || (f.partials = {}, o = function(u, a) {
|
|
1295
1301
|
var d = p.partials;
|
|
1296
1302
|
p.partials = i.extend({}, d, f.partials);
|
|
1297
|
-
var r = h(u,
|
|
1303
|
+
var r = h(u, a);
|
|
1298
1304
|
return p.partials = d, r;
|
|
1299
1305
|
}), f.partials[l.args[0]] = l.fn, o;
|
|
1300
1306
|
});
|
|
@@ -1350,10 +1356,10 @@ be.__esModule = !0;
|
|
|
1350
1356
|
be.createProtoAccessControl = uo;
|
|
1351
1357
|
be.resultIsAllowed = co;
|
|
1352
1358
|
be.resetLoggedProperties = ho;
|
|
1353
|
-
function
|
|
1359
|
+
function ao(t) {
|
|
1354
1360
|
return t && t.__esModule ? t : { default: t };
|
|
1355
1361
|
}
|
|
1356
|
-
var Kr = ur,
|
|
1362
|
+
var Kr = ur, so = mn, lo = ao(so), tt = /* @__PURE__ */ Object.create(null);
|
|
1357
1363
|
function uo(t) {
|
|
1358
1364
|
var e = /* @__PURE__ */ Object.create(null);
|
|
1359
1365
|
e.constructor = !1, e.__defineGetter__ = !1, e.__defineSetter__ = !1, e.__lookupGetter__ = !1;
|
|
@@ -1503,21 +1509,21 @@ function Lo(t) {
|
|
|
1503
1509
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
1504
1510
|
return e.default = t, e;
|
|
1505
1511
|
}
|
|
1506
|
-
var xo = M, oe = Lo(xo), Po = Q,
|
|
1512
|
+
var xo = M, oe = Lo(xo), Po = Q, ae = wo(Po), se = Y, Xr = Ie, To = cr, Jr = be;
|
|
1507
1513
|
function Oo(t) {
|
|
1508
|
-
var e = t && t[0] || 1, i =
|
|
1509
|
-
if (!(e >=
|
|
1510
|
-
if (e <
|
|
1511
|
-
var c =
|
|
1512
|
-
throw new
|
|
1514
|
+
var e = t && t[0] || 1, i = se.COMPILER_REVISION;
|
|
1515
|
+
if (!(e >= se.LAST_COMPATIBLE_COMPILER_REVISION && e <= se.COMPILER_REVISION))
|
|
1516
|
+
if (e < se.LAST_COMPATIBLE_COMPILER_REVISION) {
|
|
1517
|
+
var c = se.REVISION_CHANGES[i], h = se.REVISION_CHANGES[e];
|
|
1518
|
+
throw new ae.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (" + c + ") or downgrade your runtime to an older version (" + h + ").");
|
|
1513
1519
|
} else
|
|
1514
|
-
throw new
|
|
1520
|
+
throw new ae.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + t[1] + ").");
|
|
1515
1521
|
}
|
|
1516
1522
|
function Mo(t, e) {
|
|
1517
1523
|
if (!e)
|
|
1518
|
-
throw new
|
|
1524
|
+
throw new ae.default("No environment passed to template");
|
|
1519
1525
|
if (!t || !t.main)
|
|
1520
|
-
throw new
|
|
1526
|
+
throw new ae.default("Unknown template object: " + typeof t);
|
|
1521
1527
|
t.main.decorator = t.main_d, e.VM.checkRevision(t.compiler);
|
|
1522
1528
|
var i = t.compiler && t.compiler[0] === 7;
|
|
1523
1529
|
function c(p, l, o) {
|
|
@@ -1525,23 +1531,23 @@ function Mo(t, e) {
|
|
|
1525
1531
|
var u = oe.extend({}, o, {
|
|
1526
1532
|
hooks: this.hooks,
|
|
1527
1533
|
protoAccessControl: this.protoAccessControl
|
|
1528
|
-
}),
|
|
1529
|
-
if (
|
|
1534
|
+
}), a = e.VM.invokePartial.call(this, p, l, u);
|
|
1535
|
+
if (a == null && e.compile && (o.partials[o.name] = e.compile(p, t.compilerOptions, e), a = o.partials[o.name](l, u)), a != null) {
|
|
1530
1536
|
if (o.indent) {
|
|
1531
|
-
for (var d =
|
|
1532
|
-
`), r = 0,
|
|
1537
|
+
for (var d = a.split(`
|
|
1538
|
+
`), r = 0, s = d.length; r < s && !(!d[r] && r + 1 === s); r++)
|
|
1533
1539
|
d[r] = o.indent + d[r];
|
|
1534
|
-
|
|
1540
|
+
a = d.join(`
|
|
1535
1541
|
`);
|
|
1536
1542
|
}
|
|
1537
|
-
return
|
|
1543
|
+
return a;
|
|
1538
1544
|
} else
|
|
1539
|
-
throw new
|
|
1545
|
+
throw new ae.default("The partial " + o.name + " could not be compiled when running in runtime-only mode");
|
|
1540
1546
|
}
|
|
1541
1547
|
var h = {
|
|
1542
1548
|
strict: function(l, o, u) {
|
|
1543
1549
|
if (!l || !(o in l))
|
|
1544
|
-
throw new
|
|
1550
|
+
throw new ae.default('"' + o + '" not defined in ' + l, {
|
|
1545
1551
|
loc: u
|
|
1546
1552
|
});
|
|
1547
1553
|
return h.lookupProperty(l, o);
|
|
@@ -1552,10 +1558,10 @@ function Mo(t, e) {
|
|
|
1552
1558
|
return u;
|
|
1553
1559
|
},
|
|
1554
1560
|
lookup: function(l, o) {
|
|
1555
|
-
for (var u = l.length,
|
|
1556
|
-
var d = l[
|
|
1561
|
+
for (var u = l.length, a = 0; a < u; a++) {
|
|
1562
|
+
var d = l[a] && h.lookupProperty(l[a], o);
|
|
1557
1563
|
if (d != null)
|
|
1558
|
-
return l[
|
|
1564
|
+
return l[a][o];
|
|
1559
1565
|
}
|
|
1560
1566
|
},
|
|
1561
1567
|
lambda: function(l, o) {
|
|
@@ -1568,9 +1574,9 @@ function Mo(t, e) {
|
|
|
1568
1574
|
return o.decorator = t[l + "_d"], o;
|
|
1569
1575
|
},
|
|
1570
1576
|
programs: [],
|
|
1571
|
-
program: function(l, o, u,
|
|
1572
|
-
var r = this.programs[l],
|
|
1573
|
-
return o || d ||
|
|
1577
|
+
program: function(l, o, u, a, d) {
|
|
1578
|
+
var r = this.programs[l], s = this.fn(l);
|
|
1579
|
+
return o || d || a || u ? r = $e(this, l, s, o, u, a, d) : r || (r = this.programs[l] = $e(this, l, s)), r;
|
|
1574
1580
|
},
|
|
1575
1581
|
data: function(l, o) {
|
|
1576
1582
|
for (; l && o--; )
|
|
@@ -1589,12 +1595,12 @@ function Mo(t, e) {
|
|
|
1589
1595
|
function f(p) {
|
|
1590
1596
|
var l = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], o = l.data;
|
|
1591
1597
|
f._setup(l), !l.partial && t.useData && (o = Io(p, o));
|
|
1592
|
-
var u = void 0,
|
|
1598
|
+
var u = void 0, a = t.useBlockParams ? [] : void 0;
|
|
1593
1599
|
t.useDepths && (l.depths ? u = p != l.depths[0] ? [p].concat(l.depths) : l.depths : u = [p]);
|
|
1594
1600
|
function d(r) {
|
|
1595
|
-
return "" + t.main(h, r, h.helpers, h.partials, o,
|
|
1601
|
+
return "" + t.main(h, r, h.helpers, h.partials, o, a, u);
|
|
1596
1602
|
}
|
|
1597
|
-
return d = yn(t.main, d, h, l.depths || [], o,
|
|
1603
|
+
return d = yn(t.main, d, h, l.depths || [], o, a), d(p, l);
|
|
1598
1604
|
}
|
|
1599
1605
|
return f.isTop = !0, f._setup = function(p) {
|
|
1600
1606
|
if (p.partial)
|
|
@@ -1607,16 +1613,16 @@ function Mo(t, e) {
|
|
|
1607
1613
|
}
|
|
1608
1614
|
}, f._child = function(p, l, o, u) {
|
|
1609
1615
|
if (t.useBlockParams && !o)
|
|
1610
|
-
throw new
|
|
1616
|
+
throw new ae.default("must pass block params");
|
|
1611
1617
|
if (t.useDepths && !u)
|
|
1612
|
-
throw new
|
|
1618
|
+
throw new ae.default("must pass parent depths");
|
|
1613
1619
|
return $e(h, p, t[p], l, 0, o, u);
|
|
1614
1620
|
}, f;
|
|
1615
1621
|
}
|
|
1616
1622
|
function $e(t, e, i, c, h, f, p) {
|
|
1617
1623
|
function l(o) {
|
|
1618
|
-
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1],
|
|
1619
|
-
return p && o != p[0] && !(o === t.nullContext && p[0] === null) && (
|
|
1624
|
+
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], a = p;
|
|
1625
|
+
return p && o != p[0] && !(o === t.nullContext && p[0] === null) && (a = [o].concat(p)), i(t, o, t.helpers, t.partials, u.data || c, f && [u.blockParams].concat(f), a);
|
|
1620
1626
|
}
|
|
1621
1627
|
return l = yn(i, l, t, p, c, f), l.program = e, l.depth = p ? p.length : 0, l.blockParams = h || 0, l;
|
|
1622
1628
|
}
|
|
@@ -1628,14 +1634,14 @@ function Ro(t, e, i) {
|
|
|
1628
1634
|
i.partial = !0, i.ids && (i.data.contextPath = i.ids[0] || i.data.contextPath);
|
|
1629
1635
|
var h = void 0;
|
|
1630
1636
|
if (i.fn && i.fn !== _n && function() {
|
|
1631
|
-
i.data =
|
|
1637
|
+
i.data = se.createFrame(i.data);
|
|
1632
1638
|
var f = i.fn;
|
|
1633
1639
|
h = i.data["partial-block"] = function(l) {
|
|
1634
1640
|
var o = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
|
|
1635
|
-
return o.data =
|
|
1641
|
+
return o.data = se.createFrame(o.data), o.data["partial-block"] = c, f(l, o);
|
|
1636
1642
|
}, f.partials && (i.partials = oe.extend({}, i.partials, f.partials));
|
|
1637
1643
|
}(), t === void 0 && h && (t = h), t === void 0)
|
|
1638
|
-
throw new
|
|
1644
|
+
throw new ae.default("The partial " + i.name + " could not be found");
|
|
1639
1645
|
if (t instanceof Function)
|
|
1640
1646
|
return t(e, i);
|
|
1641
1647
|
}
|
|
@@ -1643,7 +1649,7 @@ function _n() {
|
|
|
1643
1649
|
return "";
|
|
1644
1650
|
}
|
|
1645
1651
|
function Io(t, e) {
|
|
1646
|
-
return (!e || !("root" in e)) && (e = e ?
|
|
1652
|
+
return (!e || !("root" in e)) && (e = e ? se.createFrame(e) : {}, e.root = t), e;
|
|
1647
1653
|
}
|
|
1648
1654
|
function yn(t, e, i, c, h, f) {
|
|
1649
1655
|
if (t.decorator) {
|
|
@@ -1693,11 +1699,11 @@ var Sn = Qt.exports;
|
|
|
1693
1699
|
Object.prototype.hasOwnProperty.call(y, g) && (E[g] = y[g]);
|
|
1694
1700
|
return E.default = y, E;
|
|
1695
1701
|
}
|
|
1696
|
-
var h = Y, f = c(h), p = Co, l = i(p), o = Q, u = i(o),
|
|
1702
|
+
var h = Y, f = c(h), p = Co, l = i(p), o = Q, u = i(o), a = M, d = c(a), r = le, s = c(r), n = Sn, v = i(n);
|
|
1697
1703
|
function _() {
|
|
1698
1704
|
var y = new f.HandlebarsEnvironment();
|
|
1699
|
-
return d.extend(y, f), y.SafeString = l.default, y.Exception = u.default, y.Utils = d, y.escapeExpression = d.escapeExpression, y.VM =
|
|
1700
|
-
return
|
|
1705
|
+
return d.extend(y, f), y.SafeString = l.default, y.Exception = u.default, y.Utils = d, y.escapeExpression = d.escapeExpression, y.VM = s, y.template = function(E) {
|
|
1706
|
+
return s.template(E, y);
|
|
1701
1707
|
}, y;
|
|
1702
1708
|
}
|
|
1703
1709
|
var b = _();
|
|
@@ -1738,13 +1744,13 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1738
1744
|
symbols_: { error: 2, root: 3, program: 4, EOF: 5, program_repetition0: 6, statement: 7, mustache: 8, block: 9, rawBlock: 10, partial: 11, partialBlock: 12, content: 13, COMMENT: 14, CONTENT: 15, openRawBlock: 16, rawBlock_repetition0: 17, END_RAW_BLOCK: 18, OPEN_RAW_BLOCK: 19, helperName: 20, openRawBlock_repetition0: 21, openRawBlock_option0: 22, CLOSE_RAW_BLOCK: 23, openBlock: 24, block_option0: 25, closeBlock: 26, openInverse: 27, block_option1: 28, OPEN_BLOCK: 29, openBlock_repetition0: 30, openBlock_option0: 31, openBlock_option1: 32, CLOSE: 33, OPEN_INVERSE: 34, openInverse_repetition0: 35, openInverse_option0: 36, openInverse_option1: 37, openInverseChain: 38, OPEN_INVERSE_CHAIN: 39, openInverseChain_repetition0: 40, openInverseChain_option0: 41, openInverseChain_option1: 42, inverseAndProgram: 43, INVERSE: 44, inverseChain: 45, inverseChain_option0: 46, OPEN_ENDBLOCK: 47, OPEN: 48, mustache_repetition0: 49, mustache_option0: 50, OPEN_UNESCAPED: 51, mustache_repetition1: 52, mustache_option1: 53, CLOSE_UNESCAPED: 54, OPEN_PARTIAL: 55, partialName: 56, partial_repetition0: 57, partial_option0: 58, openPartialBlock: 59, OPEN_PARTIAL_BLOCK: 60, openPartialBlock_repetition0: 61, openPartialBlock_option0: 62, param: 63, sexpr: 64, OPEN_SEXPR: 65, sexpr_repetition0: 66, sexpr_option0: 67, CLOSE_SEXPR: 68, hash: 69, hash_repetition_plus0: 70, hashSegment: 71, ID: 72, EQUALS: 73, blockParams: 74, OPEN_BLOCK_PARAMS: 75, blockParams_repetition_plus0: 76, CLOSE_BLOCK_PARAMS: 77, path: 78, dataName: 79, STRING: 80, NUMBER: 81, BOOLEAN: 82, UNDEFINED: 83, NULL: 84, DATA: 85, pathSegments: 86, SEP: 87, $accept: 0, $end: 1 },
|
|
1739
1745
|
terminals_: { 2: "error", 5: "EOF", 14: "COMMENT", 15: "CONTENT", 18: "END_RAW_BLOCK", 19: "OPEN_RAW_BLOCK", 23: "CLOSE_RAW_BLOCK", 29: "OPEN_BLOCK", 33: "CLOSE", 34: "OPEN_INVERSE", 39: "OPEN_INVERSE_CHAIN", 44: "INVERSE", 47: "OPEN_ENDBLOCK", 48: "OPEN", 51: "OPEN_UNESCAPED", 54: "CLOSE_UNESCAPED", 55: "OPEN_PARTIAL", 60: "OPEN_PARTIAL_BLOCK", 65: "OPEN_SEXPR", 68: "CLOSE_SEXPR", 72: "ID", 73: "EQUALS", 75: "OPEN_BLOCK_PARAMS", 77: "CLOSE_BLOCK_PARAMS", 80: "STRING", 81: "NUMBER", 82: "BOOLEAN", 83: "UNDEFINED", 84: "NULL", 85: "DATA", 87: "SEP" },
|
|
1740
1746
|
productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 0], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],
|
|
1741
|
-
performAction: function(l, o, u,
|
|
1747
|
+
performAction: function(l, o, u, a, d, r, s) {
|
|
1742
1748
|
var n = r.length - 1;
|
|
1743
1749
|
switch (d) {
|
|
1744
1750
|
case 1:
|
|
1745
1751
|
return r[n - 1];
|
|
1746
1752
|
case 2:
|
|
1747
|
-
this.$ =
|
|
1753
|
+
this.$ = a.prepareProgram(r[n]);
|
|
1748
1754
|
break;
|
|
1749
1755
|
case 3:
|
|
1750
1756
|
this.$ = r[n];
|
|
@@ -1767,9 +1773,9 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1767
1773
|
case 9:
|
|
1768
1774
|
this.$ = {
|
|
1769
1775
|
type: "CommentStatement",
|
|
1770
|
-
value:
|
|
1771
|
-
strip:
|
|
1772
|
-
loc:
|
|
1776
|
+
value: a.stripComment(r[n]),
|
|
1777
|
+
strip: a.stripFlags(r[n], r[n]),
|
|
1778
|
+
loc: a.locInfo(this._$)
|
|
1773
1779
|
};
|
|
1774
1780
|
break;
|
|
1775
1781
|
case 10:
|
|
@@ -1777,48 +1783,48 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1777
1783
|
type: "ContentStatement",
|
|
1778
1784
|
original: r[n],
|
|
1779
1785
|
value: r[n],
|
|
1780
|
-
loc:
|
|
1786
|
+
loc: a.locInfo(this._$)
|
|
1781
1787
|
};
|
|
1782
1788
|
break;
|
|
1783
1789
|
case 11:
|
|
1784
|
-
this.$ =
|
|
1790
|
+
this.$ = a.prepareRawBlock(r[n - 2], r[n - 1], r[n], this._$);
|
|
1785
1791
|
break;
|
|
1786
1792
|
case 12:
|
|
1787
1793
|
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1] };
|
|
1788
1794
|
break;
|
|
1789
1795
|
case 13:
|
|
1790
|
-
this.$ =
|
|
1796
|
+
this.$ = a.prepareBlock(r[n - 3], r[n - 2], r[n - 1], r[n], !1, this._$);
|
|
1791
1797
|
break;
|
|
1792
1798
|
case 14:
|
|
1793
|
-
this.$ =
|
|
1799
|
+
this.$ = a.prepareBlock(r[n - 3], r[n - 2], r[n - 1], r[n], !0, this._$);
|
|
1794
1800
|
break;
|
|
1795
1801
|
case 15:
|
|
1796
|
-
this.$ = { open: r[n - 5], path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1802
|
+
this.$ = { open: r[n - 5], path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1797
1803
|
break;
|
|
1798
1804
|
case 16:
|
|
1799
|
-
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1805
|
+
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1800
1806
|
break;
|
|
1801
1807
|
case 17:
|
|
1802
|
-
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1808
|
+
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1803
1809
|
break;
|
|
1804
1810
|
case 18:
|
|
1805
|
-
this.$ = { strip:
|
|
1811
|
+
this.$ = { strip: a.stripFlags(r[n - 1], r[n - 1]), program: r[n] };
|
|
1806
1812
|
break;
|
|
1807
1813
|
case 19:
|
|
1808
|
-
var v =
|
|
1814
|
+
var v = a.prepareBlock(r[n - 2], r[n - 1], r[n], r[n], !1, this._$), _ = a.prepareProgram([v], r[n - 1].loc);
|
|
1809
1815
|
_.chained = !0, this.$ = { strip: r[n - 2].strip, program: _, chain: !0 };
|
|
1810
1816
|
break;
|
|
1811
1817
|
case 20:
|
|
1812
1818
|
this.$ = r[n];
|
|
1813
1819
|
break;
|
|
1814
1820
|
case 21:
|
|
1815
|
-
this.$ = { path: r[n - 1], strip:
|
|
1821
|
+
this.$ = { path: r[n - 1], strip: a.stripFlags(r[n - 2], r[n]) };
|
|
1816
1822
|
break;
|
|
1817
1823
|
case 22:
|
|
1818
|
-
this.$ =
|
|
1824
|
+
this.$ = a.prepareMustache(r[n - 3], r[n - 2], r[n - 1], r[n - 4], a.stripFlags(r[n - 4], r[n]), this._$);
|
|
1819
1825
|
break;
|
|
1820
1826
|
case 23:
|
|
1821
|
-
this.$ =
|
|
1827
|
+
this.$ = a.prepareMustache(r[n - 3], r[n - 2], r[n - 1], r[n - 4], a.stripFlags(r[n - 4], r[n]), this._$);
|
|
1822
1828
|
break;
|
|
1823
1829
|
case 24:
|
|
1824
1830
|
this.$ = {
|
|
@@ -1827,15 +1833,15 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1827
1833
|
params: r[n - 2],
|
|
1828
1834
|
hash: r[n - 1],
|
|
1829
1835
|
indent: "",
|
|
1830
|
-
strip:
|
|
1831
|
-
loc:
|
|
1836
|
+
strip: a.stripFlags(r[n - 4], r[n]),
|
|
1837
|
+
loc: a.locInfo(this._$)
|
|
1832
1838
|
};
|
|
1833
1839
|
break;
|
|
1834
1840
|
case 25:
|
|
1835
|
-
this.$ =
|
|
1841
|
+
this.$ = a.preparePartialBlock(r[n - 2], r[n - 1], r[n], this._$);
|
|
1836
1842
|
break;
|
|
1837
1843
|
case 26:
|
|
1838
|
-
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1], strip:
|
|
1844
|
+
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1], strip: a.stripFlags(r[n - 4], r[n]) };
|
|
1839
1845
|
break;
|
|
1840
1846
|
case 27:
|
|
1841
1847
|
this.$ = r[n];
|
|
@@ -1849,17 +1855,17 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1849
1855
|
path: r[n - 3],
|
|
1850
1856
|
params: r[n - 2],
|
|
1851
1857
|
hash: r[n - 1],
|
|
1852
|
-
loc:
|
|
1858
|
+
loc: a.locInfo(this._$)
|
|
1853
1859
|
};
|
|
1854
1860
|
break;
|
|
1855
1861
|
case 30:
|
|
1856
|
-
this.$ = { type: "Hash", pairs: r[n], loc:
|
|
1862
|
+
this.$ = { type: "Hash", pairs: r[n], loc: a.locInfo(this._$) };
|
|
1857
1863
|
break;
|
|
1858
1864
|
case 31:
|
|
1859
|
-
this.$ = { type: "HashPair", key:
|
|
1865
|
+
this.$ = { type: "HashPair", key: a.id(r[n - 2]), value: r[n], loc: a.locInfo(this._$) };
|
|
1860
1866
|
break;
|
|
1861
1867
|
case 32:
|
|
1862
|
-
this.$ =
|
|
1868
|
+
this.$ = a.id(r[n - 1]);
|
|
1863
1869
|
break;
|
|
1864
1870
|
case 33:
|
|
1865
1871
|
this.$ = r[n];
|
|
@@ -1868,19 +1874,19 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1868
1874
|
this.$ = r[n];
|
|
1869
1875
|
break;
|
|
1870
1876
|
case 35:
|
|
1871
|
-
this.$ = { type: "StringLiteral", value: r[n], original: r[n], loc:
|
|
1877
|
+
this.$ = { type: "StringLiteral", value: r[n], original: r[n], loc: a.locInfo(this._$) };
|
|
1872
1878
|
break;
|
|
1873
1879
|
case 36:
|
|
1874
|
-
this.$ = { type: "NumberLiteral", value: Number(r[n]), original: Number(r[n]), loc:
|
|
1880
|
+
this.$ = { type: "NumberLiteral", value: Number(r[n]), original: Number(r[n]), loc: a.locInfo(this._$) };
|
|
1875
1881
|
break;
|
|
1876
1882
|
case 37:
|
|
1877
|
-
this.$ = { type: "BooleanLiteral", value: r[n] === "true", original: r[n] === "true", loc:
|
|
1883
|
+
this.$ = { type: "BooleanLiteral", value: r[n] === "true", original: r[n] === "true", loc: a.locInfo(this._$) };
|
|
1878
1884
|
break;
|
|
1879
1885
|
case 38:
|
|
1880
|
-
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc:
|
|
1886
|
+
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc: a.locInfo(this._$) };
|
|
1881
1887
|
break;
|
|
1882
1888
|
case 39:
|
|
1883
|
-
this.$ = { type: "NullLiteral", original: null, value: null, loc:
|
|
1889
|
+
this.$ = { type: "NullLiteral", original: null, value: null, loc: a.locInfo(this._$) };
|
|
1884
1890
|
break;
|
|
1885
1891
|
case 40:
|
|
1886
1892
|
this.$ = r[n];
|
|
@@ -1889,16 +1895,16 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1889
1895
|
this.$ = r[n];
|
|
1890
1896
|
break;
|
|
1891
1897
|
case 42:
|
|
1892
|
-
this.$ =
|
|
1898
|
+
this.$ = a.preparePath(!0, r[n], this._$);
|
|
1893
1899
|
break;
|
|
1894
1900
|
case 43:
|
|
1895
|
-
this.$ =
|
|
1901
|
+
this.$ = a.preparePath(!1, r[n], this._$);
|
|
1896
1902
|
break;
|
|
1897
1903
|
case 44:
|
|
1898
|
-
r[n - 2].push({ part:
|
|
1904
|
+
r[n - 2].push({ part: a.id(r[n]), original: r[n], separator: r[n - 1] }), this.$ = r[n - 2];
|
|
1899
1905
|
break;
|
|
1900
1906
|
case 45:
|
|
1901
|
-
this.$ = [{ part:
|
|
1907
|
+
this.$ = [{ part: a.id(r[n]), original: r[n] }];
|
|
1902
1908
|
break;
|
|
1903
1909
|
case 46:
|
|
1904
1910
|
this.$ = [];
|
|
@@ -1986,7 +1992,7 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1986
1992
|
throw new Error(l);
|
|
1987
1993
|
},
|
|
1988
1994
|
parse: function(l) {
|
|
1989
|
-
var o = this, u = [0],
|
|
1995
|
+
var o = this, u = [0], a = [null], d = [], r = this.table, s = "", n = 0, v = 0;
|
|
1990
1996
|
this.lexer.setInput(l), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
|
|
1991
1997
|
var _ = this.lexer.yylloc;
|
|
1992
1998
|
d.push(_);
|
|
@@ -2011,12 +2017,12 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2011
2017
|
throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + E);
|
|
2012
2018
|
switch (S[0]) {
|
|
2013
2019
|
case 1:
|
|
2014
|
-
u.push(E),
|
|
2020
|
+
u.push(E), a.push(this.lexer.yytext), d.push(this.lexer.yylloc), u.push(S[1]), E = null, v = this.lexer.yyleng, s = this.lexer.yytext, n = this.lexer.yylineno, _ = this.lexer.yylloc;
|
|
2015
2021
|
break;
|
|
2016
2022
|
case 2:
|
|
2017
|
-
if (N = this.productions_[S[1]][1], k.$ =
|
|
2023
|
+
if (N = this.productions_[S[1]][1], k.$ = a[a.length - N], k._$ = { first_line: d[d.length - (N || 1)].first_line, last_line: d[d.length - 1].last_line, first_column: d[d.length - (N || 1)].first_column, last_column: d[d.length - 1].last_column }, b && (k._$.range = [d[d.length - (N || 1)].range[0], d[d.length - 1].range[1]]), A = this.performAction.call(k, s, v, n, this.yy, S[1], a, d), typeof A < "u")
|
|
2018
2024
|
return A;
|
|
2019
|
-
N && (u = u.slice(0, -1 * N * 2),
|
|
2025
|
+
N && (u = u.slice(0, -1 * N * 2), a = a.slice(0, -1 * N), d = d.slice(0, -1 * N)), u.push(this.productions_[S[1]][0]), a.push(k.$), d.push(k._$), O = r[u[u.length - 2]][u[u.length - 1]], u.push(O);
|
|
2020
2026
|
break;
|
|
2021
2027
|
case 3:
|
|
2022
2028
|
return !0;
|
|
@@ -2043,16 +2049,16 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2043
2049
|
return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
|
|
2044
2050
|
},
|
|
2045
2051
|
unput: function(o) {
|
|
2046
|
-
var u = o.length,
|
|
2052
|
+
var u = o.length, a = o.split(/(?:\r\n?|\n)/g);
|
|
2047
2053
|
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u - 1), this.offset -= u;
|
|
2048
2054
|
var d = this.match.split(/(?:\r\n?|\n)/g);
|
|
2049
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
2055
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
|
|
2050
2056
|
var r = this.yylloc.range;
|
|
2051
2057
|
return this.yylloc = {
|
|
2052
2058
|
first_line: this.yylloc.first_line,
|
|
2053
2059
|
last_line: this.yylineno + 1,
|
|
2054
2060
|
first_column: this.yylloc.first_column,
|
|
2055
|
-
last_column:
|
|
2061
|
+
last_column: a ? (a.length === d.length ? this.yylloc.first_column : 0) + d[d.length - a.length].length - a[0].length : this.yylloc.first_column - u
|
|
2056
2062
|
}, this.options.ranges && (this.yylloc.range = [r[0], r[0] + this.yyleng - u]), this;
|
|
2057
2063
|
},
|
|
2058
2064
|
more: function() {
|
|
@@ -2078,16 +2084,16 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2078
2084
|
if (this.done)
|
|
2079
2085
|
return this.EOF;
|
|
2080
2086
|
this._input || (this.done = !0);
|
|
2081
|
-
var o, u,
|
|
2087
|
+
var o, u, a, d, r;
|
|
2082
2088
|
this._more || (this.yytext = "", this.match = "");
|
|
2083
|
-
for (var
|
|
2089
|
+
for (var s = this._currentRules(), n = 0; n < s.length && (a = this._input.match(this.rules[s[n]]), !(a && (!u || a[0].length > u[0].length) && (u = a, d = n, !this.options.flex))); n++)
|
|
2084
2090
|
;
|
|
2085
2091
|
return u ? (r = u[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
2086
2092
|
first_line: this.yylloc.last_line,
|
|
2087
2093
|
last_line: this.yylineno + 1,
|
|
2088
2094
|
first_column: this.yylloc.last_column,
|
|
2089
2095
|
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
|
|
2090
|
-
}, this.yytext += u[0], this.match += u[0], this.matches = u, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(u[0].length), this.matched += u[0], o = this.performAction.call(this, this.yy, this,
|
|
2096
|
+
}, this.yytext += u[0], this.match += u[0], this.matches = u, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(u[0].length), this.matched += u[0], o = this.performAction.call(this, this.yy, this, s[d], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o || void 0) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
2091
2097
|
` + this.showPosition(), { text: "", token: null, line: this.yylineno });
|
|
2092
2098
|
},
|
|
2093
2099
|
lex: function() {
|
|
@@ -2110,11 +2116,11 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2110
2116
|
this.begin(o);
|
|
2111
2117
|
}
|
|
2112
2118
|
};
|
|
2113
|
-
return p.options = {}, p.performAction = function(o, u,
|
|
2114
|
-
function r(
|
|
2115
|
-
return u.yytext = u.yytext.substring(
|
|
2119
|
+
return p.options = {}, p.performAction = function(o, u, a, d) {
|
|
2120
|
+
function r(s, n) {
|
|
2121
|
+
return u.yytext = u.yytext.substring(s, u.yyleng - n + s);
|
|
2116
2122
|
}
|
|
2117
|
-
switch (
|
|
2123
|
+
switch (a) {
|
|
2118
2124
|
case 0:
|
|
2119
2125
|
if (u.yytext.slice(-2) === "\\\\" ? (r(0, 1), this.begin("mu")) : u.yytext.slice(-1) === "\\" ? (r(0, 1), this.begin("emu")) : this.begin("mu"), u.yytext) return 15;
|
|
2120
2126
|
break;
|
|
@@ -2232,48 +2238,48 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2232
2238
|
constructor: f,
|
|
2233
2239
|
mutating: !1,
|
|
2234
2240
|
// Visits a given value. If mutating, will replace the value if necessary.
|
|
2235
|
-
acceptKey: function(
|
|
2236
|
-
var r = this.accept(
|
|
2241
|
+
acceptKey: function(a, d) {
|
|
2242
|
+
var r = this.accept(a[d]);
|
|
2237
2243
|
if (this.mutating) {
|
|
2238
2244
|
if (r && !f.prototype[r.type])
|
|
2239
|
-
throw new h.default('Unexpected node type "' + r.type + '" found when accepting ' + d + " on " +
|
|
2240
|
-
|
|
2245
|
+
throw new h.default('Unexpected node type "' + r.type + '" found when accepting ' + d + " on " + a.type);
|
|
2246
|
+
a[d] = r;
|
|
2241
2247
|
}
|
|
2242
2248
|
},
|
|
2243
2249
|
// Performs an accept operation with added sanity check to ensure
|
|
2244
2250
|
// required keys are not removed.
|
|
2245
|
-
acceptRequired: function(
|
|
2246
|
-
if (this.acceptKey(
|
|
2247
|
-
throw new h.default(
|
|
2251
|
+
acceptRequired: function(a, d) {
|
|
2252
|
+
if (this.acceptKey(a, d), !a[d])
|
|
2253
|
+
throw new h.default(a.type + " requires " + d);
|
|
2248
2254
|
},
|
|
2249
2255
|
// Traverses a given array. If mutating, empty respnses will be removed
|
|
2250
2256
|
// for child elements.
|
|
2251
|
-
acceptArray: function(
|
|
2252
|
-
for (var d = 0, r =
|
|
2253
|
-
this.acceptKey(
|
|
2257
|
+
acceptArray: function(a) {
|
|
2258
|
+
for (var d = 0, r = a.length; d < r; d++)
|
|
2259
|
+
this.acceptKey(a, d), a[d] || (a.splice(d, 1), d--, r--);
|
|
2254
2260
|
},
|
|
2255
|
-
accept: function(
|
|
2256
|
-
if (
|
|
2257
|
-
if (!this[
|
|
2258
|
-
throw new h.default("Unknown type: " +
|
|
2259
|
-
this.current && this.parents.unshift(this.current), this.current =
|
|
2260
|
-
var d = this[
|
|
2261
|
+
accept: function(a) {
|
|
2262
|
+
if (a) {
|
|
2263
|
+
if (!this[a.type])
|
|
2264
|
+
throw new h.default("Unknown type: " + a.type, a);
|
|
2265
|
+
this.current && this.parents.unshift(this.current), this.current = a;
|
|
2266
|
+
var d = this[a.type](a);
|
|
2261
2267
|
if (this.current = this.parents.shift(), !this.mutating || d)
|
|
2262
2268
|
return d;
|
|
2263
2269
|
if (d !== !1)
|
|
2264
|
-
return
|
|
2270
|
+
return a;
|
|
2265
2271
|
}
|
|
2266
2272
|
},
|
|
2267
|
-
Program: function(
|
|
2268
|
-
this.acceptArray(
|
|
2273
|
+
Program: function(a) {
|
|
2274
|
+
this.acceptArray(a.body);
|
|
2269
2275
|
},
|
|
2270
2276
|
MustacheStatement: p,
|
|
2271
2277
|
Decorator: p,
|
|
2272
2278
|
BlockStatement: l,
|
|
2273
2279
|
DecoratorBlock: l,
|
|
2274
2280
|
PartialStatement: o,
|
|
2275
|
-
PartialBlockStatement: function(
|
|
2276
|
-
o.call(this,
|
|
2281
|
+
PartialBlockStatement: function(a) {
|
|
2282
|
+
o.call(this, a), this.acceptKey(a, "program");
|
|
2277
2283
|
},
|
|
2278
2284
|
ContentStatement: function() {
|
|
2279
2285
|
},
|
|
@@ -2292,11 +2298,11 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2292
2298
|
},
|
|
2293
2299
|
NullLiteral: function() {
|
|
2294
2300
|
},
|
|
2295
|
-
Hash: function(
|
|
2296
|
-
this.acceptArray(
|
|
2301
|
+
Hash: function(a) {
|
|
2302
|
+
this.acceptArray(a.pairs);
|
|
2297
2303
|
},
|
|
2298
|
-
HashPair: function(
|
|
2299
|
-
this.acceptRequired(
|
|
2304
|
+
HashPair: function(a) {
|
|
2305
|
+
this.acceptRequired(a, "value");
|
|
2300
2306
|
}
|
|
2301
2307
|
};
|
|
2302
2308
|
function p(u) {
|
|
@@ -2313,82 +2319,82 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2313
2319
|
var En = er.exports;
|
|
2314
2320
|
(function(t, e) {
|
|
2315
2321
|
e.__esModule = !0;
|
|
2316
|
-
function i(
|
|
2317
|
-
return
|
|
2322
|
+
function i(a) {
|
|
2323
|
+
return a && a.__esModule ? a : { default: a };
|
|
2318
2324
|
}
|
|
2319
2325
|
var c = En, h = i(c);
|
|
2320
2326
|
function f() {
|
|
2321
|
-
var
|
|
2322
|
-
this.options =
|
|
2327
|
+
var a = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
|
|
2328
|
+
this.options = a;
|
|
2323
2329
|
}
|
|
2324
|
-
f.prototype = new h.default(), f.prototype.Program = function(
|
|
2330
|
+
f.prototype = new h.default(), f.prototype.Program = function(a) {
|
|
2325
2331
|
var d = !this.options.ignoreStandalone, r = !this.isRootSeen;
|
|
2326
2332
|
this.isRootSeen = !0;
|
|
2327
|
-
for (var
|
|
2328
|
-
var _ =
|
|
2333
|
+
for (var s = a.body, n = 0, v = s.length; n < v; n++) {
|
|
2334
|
+
var _ = s[n], b = this.accept(_);
|
|
2329
2335
|
if (b) {
|
|
2330
|
-
var y = p(
|
|
2331
|
-
b.close && o(
|
|
2336
|
+
var y = p(s, n, r), E = l(s, n, r), g = b.openStandalone && y, S = b.closeStandalone && E, A = b.inlineStandalone && y && E;
|
|
2337
|
+
b.close && o(s, n, !0), b.open && u(s, n, !0), d && A && (o(s, n), u(s, n) && _.type === "PartialStatement" && (_.indent = /([ \t]+$)/.exec(s[n - 1].original)[1])), d && g && (o((_.program || _.inverse).body), u(s, n)), d && S && (o(s, n), u((_.inverse || _.program).body));
|
|
2332
2338
|
}
|
|
2333
2339
|
}
|
|
2334
|
-
return
|
|
2335
|
-
}, f.prototype.BlockStatement = f.prototype.DecoratorBlock = f.prototype.PartialBlockStatement = function(
|
|
2336
|
-
this.accept(
|
|
2337
|
-
var d =
|
|
2340
|
+
return a;
|
|
2341
|
+
}, f.prototype.BlockStatement = f.prototype.DecoratorBlock = f.prototype.PartialBlockStatement = function(a) {
|
|
2342
|
+
this.accept(a.program), this.accept(a.inverse);
|
|
2343
|
+
var d = a.program || a.inverse, r = a.program && a.inverse, s = r, n = r;
|
|
2338
2344
|
if (r && r.chained)
|
|
2339
|
-
for (
|
|
2345
|
+
for (s = r.body[0].program; n.chained; )
|
|
2340
2346
|
n = n.body[n.body.length - 1].program;
|
|
2341
2347
|
var v = {
|
|
2342
|
-
open:
|
|
2343
|
-
close:
|
|
2348
|
+
open: a.openStrip.open,
|
|
2349
|
+
close: a.closeStrip.close,
|
|
2344
2350
|
// Determine the standalone candiacy. Basically flag our content as being possibly standalone
|
|
2345
2351
|
// so our parent can determine if we actually are standalone
|
|
2346
2352
|
openStandalone: l(d.body),
|
|
2347
|
-
closeStandalone: p((
|
|
2353
|
+
closeStandalone: p((s || d).body)
|
|
2348
2354
|
};
|
|
2349
|
-
if (
|
|
2350
|
-
var _ =
|
|
2351
|
-
_.open && u(d.body, null, !0), _.close && o(
|
|
2352
|
-
} else
|
|
2355
|
+
if (a.openStrip.close && o(d.body, null, !0), r) {
|
|
2356
|
+
var _ = a.inverseStrip;
|
|
2357
|
+
_.open && u(d.body, null, !0), _.close && o(s.body, null, !0), a.closeStrip.open && u(n.body, null, !0), !this.options.ignoreStandalone && p(d.body) && l(s.body) && (u(d.body), o(s.body));
|
|
2358
|
+
} else a.closeStrip.open && u(d.body, null, !0);
|
|
2353
2359
|
return v;
|
|
2354
|
-
}, f.prototype.Decorator = f.prototype.MustacheStatement = function(
|
|
2355
|
-
return
|
|
2356
|
-
}, f.prototype.PartialStatement = f.prototype.CommentStatement = function(
|
|
2357
|
-
var d =
|
|
2360
|
+
}, f.prototype.Decorator = f.prototype.MustacheStatement = function(a) {
|
|
2361
|
+
return a.strip;
|
|
2362
|
+
}, f.prototype.PartialStatement = f.prototype.CommentStatement = function(a) {
|
|
2363
|
+
var d = a.strip || {};
|
|
2358
2364
|
return {
|
|
2359
2365
|
inlineStandalone: !0,
|
|
2360
2366
|
open: d.open,
|
|
2361
2367
|
close: d.close
|
|
2362
2368
|
};
|
|
2363
2369
|
};
|
|
2364
|
-
function p(
|
|
2365
|
-
d === void 0 && (d =
|
|
2366
|
-
var
|
|
2367
|
-
if (!
|
|
2370
|
+
function p(a, d, r) {
|
|
2371
|
+
d === void 0 && (d = a.length);
|
|
2372
|
+
var s = a[d - 1], n = a[d - 2];
|
|
2373
|
+
if (!s)
|
|
2368
2374
|
return r;
|
|
2369
|
-
if (
|
|
2370
|
-
return (n || !r ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(
|
|
2375
|
+
if (s.type === "ContentStatement")
|
|
2376
|
+
return (n || !r ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(s.original);
|
|
2371
2377
|
}
|
|
2372
|
-
function l(
|
|
2378
|
+
function l(a, d, r) {
|
|
2373
2379
|
d === void 0 && (d = -1);
|
|
2374
|
-
var
|
|
2375
|
-
if (!
|
|
2380
|
+
var s = a[d + 1], n = a[d + 2];
|
|
2381
|
+
if (!s)
|
|
2376
2382
|
return r;
|
|
2377
|
-
if (
|
|
2378
|
-
return (n || !r ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(
|
|
2383
|
+
if (s.type === "ContentStatement")
|
|
2384
|
+
return (n || !r ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(s.original);
|
|
2379
2385
|
}
|
|
2380
|
-
function o(
|
|
2381
|
-
var
|
|
2382
|
-
if (!(!
|
|
2383
|
-
var n =
|
|
2384
|
-
|
|
2386
|
+
function o(a, d, r) {
|
|
2387
|
+
var s = a[d == null ? 0 : d + 1];
|
|
2388
|
+
if (!(!s || s.type !== "ContentStatement" || !r && s.rightStripped)) {
|
|
2389
|
+
var n = s.value;
|
|
2390
|
+
s.value = s.value.replace(r ? /^\s+/ : /^[ \t]*\r?\n?/, ""), s.rightStripped = s.value !== n;
|
|
2385
2391
|
}
|
|
2386
2392
|
}
|
|
2387
|
-
function u(
|
|
2388
|
-
var
|
|
2389
|
-
if (!(!
|
|
2390
|
-
var n =
|
|
2391
|
-
return
|
|
2393
|
+
function u(a, d, r) {
|
|
2394
|
+
var s = a[d == null ? a.length - 1 : d - 1];
|
|
2395
|
+
if (!(!s || s.type !== "ContentStatement" || !r && s.leftStripped)) {
|
|
2396
|
+
var n = s.value;
|
|
2397
|
+
return s.value = s.value.replace(r ? /\s+$/ : /[ \t]+$/, ""), s.leftStripped = s.value !== n, s.leftStripped;
|
|
2392
2398
|
}
|
|
2393
2399
|
}
|
|
2394
2400
|
e.default = f, t.exports = e.default;
|
|
@@ -2547,7 +2553,7 @@ function jo(t, e, i, c) {
|
|
|
2547
2553
|
}
|
|
2548
2554
|
De.__esModule = !0;
|
|
2549
2555
|
De.parseWithoutProcessing = Cn;
|
|
2550
|
-
De.parse =
|
|
2556
|
+
De.parse = aa;
|
|
2551
2557
|
function $o(t) {
|
|
2552
2558
|
if (t && t.__esModule)
|
|
2553
2559
|
return t;
|
|
@@ -2560,10 +2566,10 @@ function $o(t) {
|
|
|
2560
2566
|
function kn(t) {
|
|
2561
2567
|
return t && t.__esModule ? t : { default: t };
|
|
2562
2568
|
}
|
|
2563
|
-
var
|
|
2569
|
+
var ea = Fo, tr = kn(ea), ta = Uo, ra = kn(ta), na = X, ia = $o(na), oa = M;
|
|
2564
2570
|
De.parser = tr.default;
|
|
2565
2571
|
var et = {};
|
|
2566
|
-
|
|
2572
|
+
oa.extend(et, ia);
|
|
2567
2573
|
function Cn(t, e) {
|
|
2568
2574
|
if (t.type === "Program")
|
|
2569
2575
|
return t;
|
|
@@ -2573,19 +2579,19 @@ function Cn(t, e) {
|
|
|
2573
2579
|
var i = tr.default.parse(t);
|
|
2574
2580
|
return i;
|
|
2575
2581
|
}
|
|
2576
|
-
function
|
|
2577
|
-
var i = Cn(t, e), c = new
|
|
2582
|
+
function aa(t, e) {
|
|
2583
|
+
var i = Cn(t, e), c = new ra.default(e);
|
|
2578
2584
|
return c.accept(i);
|
|
2579
2585
|
}
|
|
2580
2586
|
var Be = {};
|
|
2581
2587
|
Be.__esModule = !0;
|
|
2582
2588
|
Be.Compiler = rr;
|
|
2583
|
-
Be.precompile =
|
|
2584
|
-
Be.compile =
|
|
2589
|
+
Be.precompile = ca;
|
|
2590
|
+
Be.compile = pa;
|
|
2585
2591
|
function An(t) {
|
|
2586
2592
|
return t && t.__esModule ? t : { default: t };
|
|
2587
2593
|
}
|
|
2588
|
-
var
|
|
2594
|
+
var sa = Q, Ne = An(sa), Re = M, la = bn, Te = An(la), ua = [].slice;
|
|
2589
2595
|
function rr() {
|
|
2590
2596
|
}
|
|
2591
2597
|
rr.prototype = {
|
|
@@ -2728,7 +2734,7 @@ rr.prototype = {
|
|
|
2728
2734
|
opcode: function(e) {
|
|
2729
2735
|
this.opcodes.push({
|
|
2730
2736
|
opcode: e,
|
|
2731
|
-
args:
|
|
2737
|
+
args: ua.call(arguments, 1),
|
|
2732
2738
|
loc: this.sourceNode[0].loc
|
|
2733
2739
|
});
|
|
2734
2740
|
},
|
|
@@ -2775,14 +2781,14 @@ rr.prototype = {
|
|
|
2775
2781
|
}
|
|
2776
2782
|
}
|
|
2777
2783
|
};
|
|
2778
|
-
function
|
|
2784
|
+
function ca(t, e, i) {
|
|
2779
2785
|
if (t == null || typeof t != "string" && t.type !== "Program")
|
|
2780
2786
|
throw new Ne.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + t);
|
|
2781
2787
|
e = e || {}, "data" in e || (e.data = !0), e.compat && (e.useDepths = !0);
|
|
2782
2788
|
var c = i.parse(t, e), h = new i.Compiler().compile(c, e);
|
|
2783
2789
|
return new i.JavaScriptCompiler().compile(h, e);
|
|
2784
2790
|
}
|
|
2785
|
-
function
|
|
2791
|
+
function pa(t, e, i) {
|
|
2786
2792
|
if (e === void 0 && (e = {}), t == null || typeof t != "string" && t.type !== "Program")
|
|
2787
2793
|
throw new Ne.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + t);
|
|
2788
2794
|
e = Re.extend({}, e), "data" in e || (e.data = !0), e.compat && (e.useDepths = !0);
|
|
@@ -2824,7 +2830,7 @@ function Qr(t) {
|
|
|
2824
2830
|
}
|
|
2825
2831
|
}
|
|
2826
2832
|
var nr = { exports: {} }, ir = { exports: {} }, Oe = {}, At = {}, Je = {}, Qe = {}, Zr;
|
|
2827
|
-
function
|
|
2833
|
+
function ha() {
|
|
2828
2834
|
if (Zr) return Qe;
|
|
2829
2835
|
Zr = 1;
|
|
2830
2836
|
var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
@@ -2833,15 +2839,15 @@ function hs() {
|
|
|
2833
2839
|
return t[e];
|
|
2834
2840
|
throw new TypeError("Must be between 0 and 63: " + e);
|
|
2835
2841
|
}, Qe.decode = function(e) {
|
|
2836
|
-
var i = 65, c = 90, h = 97, f = 122, p = 48, l = 57, o = 43, u = 47,
|
|
2837
|
-
return i <= e && e <= c ? e - i : h <= e && e <= f ? e - h +
|
|
2842
|
+
var i = 65, c = 90, h = 97, f = 122, p = 48, l = 57, o = 43, u = 47, a = 26, d = 52;
|
|
2843
|
+
return i <= e && e <= c ? e - i : h <= e && e <= f ? e - h + a : p <= e && e <= l ? e - p + d : e == o ? 62 : e == u ? 63 : -1;
|
|
2838
2844
|
}, Qe;
|
|
2839
2845
|
}
|
|
2840
2846
|
var jr;
|
|
2841
2847
|
function Ln() {
|
|
2842
2848
|
if (jr) return Je;
|
|
2843
2849
|
jr = 1;
|
|
2844
|
-
var t =
|
|
2850
|
+
var t = ha(), e = 5, i = 1 << e, c = i - 1, h = i;
|
|
2845
2851
|
function f(l) {
|
|
2846
2852
|
return l < 0 ? (-l << 1) + 1 : (l << 1) + 0;
|
|
2847
2853
|
}
|
|
@@ -2850,21 +2856,21 @@ function Ln() {
|
|
|
2850
2856
|
return o ? -u : u;
|
|
2851
2857
|
}
|
|
2852
2858
|
return Je.encode = function(o) {
|
|
2853
|
-
var u = "",
|
|
2859
|
+
var u = "", a, d = f(o);
|
|
2854
2860
|
do
|
|
2855
|
-
|
|
2861
|
+
a = d & c, d >>>= e, d > 0 && (a |= h), u += t.encode(a);
|
|
2856
2862
|
while (d > 0);
|
|
2857
2863
|
return u;
|
|
2858
|
-
}, Je.decode = function(o, u,
|
|
2859
|
-
var d = o.length, r = 0,
|
|
2864
|
+
}, Je.decode = function(o, u, a) {
|
|
2865
|
+
var d = o.length, r = 0, s = 0, n, v;
|
|
2860
2866
|
do {
|
|
2861
2867
|
if (u >= d)
|
|
2862
2868
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
2863
2869
|
if (v = t.decode(o.charCodeAt(u++)), v === -1)
|
|
2864
2870
|
throw new Error("Invalid base64 digit: " + o.charAt(u - 1));
|
|
2865
|
-
n = !!(v & h), v &= c, r = r + (v <<
|
|
2871
|
+
n = !!(v & h), v &= c, r = r + (v << s), s += e;
|
|
2866
2872
|
} while (n);
|
|
2867
|
-
|
|
2873
|
+
a.value = p(r), a.rest = u;
|
|
2868
2874
|
}, Je;
|
|
2869
2875
|
}
|
|
2870
2876
|
var wt = {}, $r;
|
|
@@ -2937,18 +2943,18 @@ function He() {
|
|
|
2937
2943
|
var g = /* @__PURE__ */ Object.create(null);
|
|
2938
2944
|
return !("__proto__" in g);
|
|
2939
2945
|
}();
|
|
2940
|
-
function
|
|
2946
|
+
function a(g) {
|
|
2941
2947
|
return g;
|
|
2942
2948
|
}
|
|
2943
2949
|
function d(g) {
|
|
2944
|
-
return
|
|
2950
|
+
return s(g) ? "$" + g : g;
|
|
2945
2951
|
}
|
|
2946
|
-
t.toSetString = u ?
|
|
2952
|
+
t.toSetString = u ? a : d;
|
|
2947
2953
|
function r(g) {
|
|
2948
|
-
return
|
|
2954
|
+
return s(g) ? g.slice(1) : g;
|
|
2949
2955
|
}
|
|
2950
|
-
t.fromSetString = u ?
|
|
2951
|
-
function
|
|
2956
|
+
t.fromSetString = u ? a : r;
|
|
2957
|
+
function s(g) {
|
|
2952
2958
|
if (!g)
|
|
2953
2959
|
return !1;
|
|
2954
2960
|
var S = g.length;
|
|
@@ -3039,7 +3045,7 @@ function xn() {
|
|
|
3039
3045
|
}, Lt.ArraySet = c, Lt;
|
|
3040
3046
|
}
|
|
3041
3047
|
var xt = {}, tn;
|
|
3042
|
-
function
|
|
3048
|
+
function fa() {
|
|
3043
3049
|
if (tn) return xt;
|
|
3044
3050
|
tn = 1;
|
|
3045
3051
|
var t = He();
|
|
@@ -3062,7 +3068,7 @@ var rn;
|
|
|
3062
3068
|
function Pn() {
|
|
3063
3069
|
if (rn) return At;
|
|
3064
3070
|
rn = 1;
|
|
3065
|
-
var t = Ln(), e = He(), i = xn().ArraySet, c =
|
|
3071
|
+
var t = Ln(), e = He(), i = xn().ArraySet, c = fa().MappingList;
|
|
3066
3072
|
function h(f) {
|
|
3067
3073
|
f || (f = {}), this._file = e.getArg(f, "file", null), this._sourceRoot = e.getArg(f, "sourceRoot", null), this._skipValidation = e.getArg(f, "skipValidation", !1), this._sources = new i(), this._names = new i(), this._mappings = new c(), this._sourcesContents = null;
|
|
3068
3074
|
}
|
|
@@ -3072,31 +3078,31 @@ function Pn() {
|
|
|
3072
3078
|
sourceRoot: l
|
|
3073
3079
|
});
|
|
3074
3080
|
return p.eachMapping(function(u) {
|
|
3075
|
-
var
|
|
3081
|
+
var a = {
|
|
3076
3082
|
generated: {
|
|
3077
3083
|
line: u.generatedLine,
|
|
3078
3084
|
column: u.generatedColumn
|
|
3079
3085
|
}
|
|
3080
3086
|
};
|
|
3081
|
-
u.source != null && (
|
|
3087
|
+
u.source != null && (a.source = u.source, l != null && (a.source = e.relative(l, a.source)), a.original = {
|
|
3082
3088
|
line: u.originalLine,
|
|
3083
3089
|
column: u.originalColumn
|
|
3084
|
-
}, u.name != null && (
|
|
3090
|
+
}, u.name != null && (a.name = u.name)), o.addMapping(a);
|
|
3085
3091
|
}), p.sources.forEach(function(u) {
|
|
3086
|
-
var
|
|
3087
|
-
l !== null && (
|
|
3092
|
+
var a = u;
|
|
3093
|
+
l !== null && (a = e.relative(l, u)), o._sources.has(a) || o._sources.add(a);
|
|
3088
3094
|
var d = p.sourceContentFor(u);
|
|
3089
3095
|
d != null && o.setSourceContent(u, d);
|
|
3090
3096
|
}), o;
|
|
3091
3097
|
}, h.prototype.addMapping = function(p) {
|
|
3092
|
-
var l = e.getArg(p, "generated"), o = e.getArg(p, "original", null), u = e.getArg(p, "source", null),
|
|
3093
|
-
this._skipValidation || this._validateMapping(l, o, u,
|
|
3098
|
+
var l = e.getArg(p, "generated"), o = e.getArg(p, "original", null), u = e.getArg(p, "source", null), a = e.getArg(p, "name", null);
|
|
3099
|
+
this._skipValidation || this._validateMapping(l, o, u, a), u != null && (u = String(u), this._sources.has(u) || this._sources.add(u)), a != null && (a = String(a), this._names.has(a) || this._names.add(a)), this._mappings.add({
|
|
3094
3100
|
generatedLine: l.line,
|
|
3095
3101
|
generatedColumn: l.column,
|
|
3096
3102
|
originalLine: o != null && o.line,
|
|
3097
3103
|
originalColumn: o != null && o.column,
|
|
3098
3104
|
source: u,
|
|
3099
|
-
name:
|
|
3105
|
+
name: a
|
|
3100
3106
|
});
|
|
3101
3107
|
}, h.prototype.setSourceContent = function(p, l) {
|
|
3102
3108
|
var o = p;
|
|
@@ -3110,24 +3116,24 @@ function Pn() {
|
|
|
3110
3116
|
);
|
|
3111
3117
|
u = p.file;
|
|
3112
3118
|
}
|
|
3113
|
-
var
|
|
3114
|
-
|
|
3119
|
+
var a = this._sourceRoot;
|
|
3120
|
+
a != null && (u = e.relative(a, u));
|
|
3115
3121
|
var d = new i(), r = new i();
|
|
3116
|
-
this._mappings.unsortedForEach(function(
|
|
3117
|
-
if (
|
|
3122
|
+
this._mappings.unsortedForEach(function(s) {
|
|
3123
|
+
if (s.source === u && s.originalLine != null) {
|
|
3118
3124
|
var n = p.originalPositionFor({
|
|
3119
|
-
line:
|
|
3120
|
-
column:
|
|
3125
|
+
line: s.originalLine,
|
|
3126
|
+
column: s.originalColumn
|
|
3121
3127
|
});
|
|
3122
|
-
n.source != null && (
|
|
3128
|
+
n.source != null && (s.source = n.source, o != null && (s.source = e.join(o, s.source)), a != null && (s.source = e.relative(a, s.source)), s.originalLine = n.line, s.originalColumn = n.column, n.name != null && (s.name = n.name));
|
|
3123
3129
|
}
|
|
3124
|
-
var v =
|
|
3130
|
+
var v = s.source;
|
|
3125
3131
|
v != null && !d.has(v) && d.add(v);
|
|
3126
|
-
var _ =
|
|
3132
|
+
var _ = s.name;
|
|
3127
3133
|
_ != null && !r.has(_) && r.add(_);
|
|
3128
|
-
}, this), this._sources = d, this._names = r, p.sources.forEach(function(
|
|
3129
|
-
var n = p.sourceContentFor(
|
|
3130
|
-
n != null && (o != null && (
|
|
3134
|
+
}, this), this._sources = d, this._names = r, p.sources.forEach(function(s) {
|
|
3135
|
+
var n = p.sourceContentFor(s);
|
|
3136
|
+
n != null && (o != null && (s = e.join(o, s)), a != null && (s = e.relative(a, s)), this.setSourceContent(s, n));
|
|
3131
3137
|
}, this);
|
|
3132
3138
|
}, h.prototype._validateMapping = function(p, l, o, u) {
|
|
3133
3139
|
if (l && typeof l.line != "number" && typeof l.column != "number")
|
|
@@ -3145,16 +3151,16 @@ function Pn() {
|
|
|
3145
3151
|
}));
|
|
3146
3152
|
}
|
|
3147
3153
|
}, h.prototype._serializeMappings = function() {
|
|
3148
|
-
for (var p = 0, l = 1, o = 0, u = 0,
|
|
3149
|
-
if (n = b[y],
|
|
3154
|
+
for (var p = 0, l = 1, o = 0, u = 0, a = 0, d = 0, r = "", s, n, v, _, b = this._mappings.toArray(), y = 0, E = b.length; y < E; y++) {
|
|
3155
|
+
if (n = b[y], s = "", n.generatedLine !== l)
|
|
3150
3156
|
for (p = 0; n.generatedLine !== l; )
|
|
3151
|
-
|
|
3157
|
+
s += ";", l++;
|
|
3152
3158
|
else if (y > 0) {
|
|
3153
3159
|
if (!e.compareByGeneratedPositionsInflated(n, b[y - 1]))
|
|
3154
3160
|
continue;
|
|
3155
|
-
|
|
3161
|
+
s += ",";
|
|
3156
3162
|
}
|
|
3157
|
-
|
|
3163
|
+
s += t.encode(n.generatedColumn - p), p = n.generatedColumn, n.source != null && (_ = this._sources.indexOf(n.source), s += t.encode(_ - d), d = _, s += t.encode(n.originalLine - 1 - u), u = n.originalLine - 1, s += t.encode(n.originalColumn - o), o = n.originalColumn, n.name != null && (v = this._names.indexOf(n.name), s += t.encode(v - a), a = v)), r += s;
|
|
3158
3164
|
}
|
|
3159
3165
|
return r;
|
|
3160
3166
|
}, h.prototype._generateSourcesContent = function(p, l) {
|
|
@@ -3178,7 +3184,7 @@ function Pn() {
|
|
|
3178
3184
|
}, At.SourceMapGenerator = h, At;
|
|
3179
3185
|
}
|
|
3180
3186
|
var Me = {}, Pt = {}, nn;
|
|
3181
|
-
function
|
|
3187
|
+
function da() {
|
|
3182
3188
|
return nn || (nn = 1, function(t) {
|
|
3183
3189
|
t.GREATEST_LOWER_BOUND = 1, t.LEAST_UPPER_BOUND = 2;
|
|
3184
3190
|
function e(i, c, h, f, p, l) {
|
|
@@ -3205,7 +3211,7 @@ function ds() {
|
|
|
3205
3211
|
}(Pt)), Pt;
|
|
3206
3212
|
}
|
|
3207
3213
|
var Tt = {}, on;
|
|
3208
|
-
function
|
|
3214
|
+
function ga() {
|
|
3209
3215
|
if (on) return Tt;
|
|
3210
3216
|
on = 1;
|
|
3211
3217
|
function t(c, h, f) {
|
|
@@ -3219,9 +3225,9 @@ function gs() {
|
|
|
3219
3225
|
if (f < p) {
|
|
3220
3226
|
var l = e(f, p), o = f - 1;
|
|
3221
3227
|
t(c, l, p);
|
|
3222
|
-
for (var u = c[p],
|
|
3223
|
-
h(c[
|
|
3224
|
-
t(c, o + 1,
|
|
3228
|
+
for (var u = c[p], a = f; a < p; a++)
|
|
3229
|
+
h(c[a], u) <= 0 && (o += 1, t(c, o, a));
|
|
3230
|
+
t(c, o + 1, a);
|
|
3225
3231
|
var d = o + 1;
|
|
3226
3232
|
i(c, h, f, d - 1), i(c, h, d + 1, p);
|
|
3227
3233
|
}
|
|
@@ -3230,17 +3236,17 @@ function gs() {
|
|
|
3230
3236
|
i(c, h, 0, c.length - 1);
|
|
3231
3237
|
}, Tt;
|
|
3232
3238
|
}
|
|
3233
|
-
var
|
|
3234
|
-
function
|
|
3235
|
-
if (
|
|
3236
|
-
|
|
3237
|
-
var t = He(), e =
|
|
3238
|
-
function f(u,
|
|
3239
|
+
var an;
|
|
3240
|
+
function ma() {
|
|
3241
|
+
if (an) return Me;
|
|
3242
|
+
an = 1;
|
|
3243
|
+
var t = He(), e = da(), i = xn().ArraySet, c = Ln(), h = ga().quickSort;
|
|
3244
|
+
function f(u, a) {
|
|
3239
3245
|
var d = u;
|
|
3240
|
-
return typeof u == "string" && (d = t.parseSourceMapInput(u)), d.sections != null ? new o(d,
|
|
3246
|
+
return typeof u == "string" && (d = t.parseSourceMapInput(u)), d.sections != null ? new o(d, a) : new p(d, a);
|
|
3241
3247
|
}
|
|
3242
|
-
f.fromSourceMap = function(u,
|
|
3243
|
-
return p.fromSourceMap(u,
|
|
3248
|
+
f.fromSourceMap = function(u, a) {
|
|
3249
|
+
return p.fromSourceMap(u, a);
|
|
3244
3250
|
}, f.prototype._version = 3, f.prototype.__generatedMappings = null, Object.defineProperty(f.prototype, "_generatedMappings", {
|
|
3245
3251
|
configurable: !0,
|
|
3246
3252
|
enumerable: !0,
|
|
@@ -3253,13 +3259,13 @@ function ms() {
|
|
|
3253
3259
|
get: function() {
|
|
3254
3260
|
return this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__originalMappings;
|
|
3255
3261
|
}
|
|
3256
|
-
}), f.prototype._charIsMappingSeparator = function(
|
|
3257
|
-
var r =
|
|
3262
|
+
}), f.prototype._charIsMappingSeparator = function(a, d) {
|
|
3263
|
+
var r = a.charAt(d);
|
|
3258
3264
|
return r === ";" || r === ",";
|
|
3259
|
-
}, f.prototype._parseMappings = function(
|
|
3265
|
+
}, f.prototype._parseMappings = function(a, d) {
|
|
3260
3266
|
throw new Error("Subclasses must implement _parseMappings");
|
|
3261
|
-
}, f.GENERATED_ORDER = 1, f.ORIGINAL_ORDER = 2, f.GREATEST_LOWER_BOUND = 1, f.LEAST_UPPER_BOUND = 2, f.prototype.eachMapping = function(
|
|
3262
|
-
var
|
|
3267
|
+
}, f.GENERATED_ORDER = 1, f.ORIGINAL_ORDER = 2, f.GREATEST_LOWER_BOUND = 1, f.LEAST_UPPER_BOUND = 2, f.prototype.eachMapping = function(a, d, r) {
|
|
3268
|
+
var s = d || null, n = r || f.GENERATED_ORDER, v;
|
|
3263
3269
|
switch (n) {
|
|
3264
3270
|
case f.GENERATED_ORDER:
|
|
3265
3271
|
v = this._generatedMappings;
|
|
@@ -3281,16 +3287,16 @@ function ms() {
|
|
|
3281
3287
|
originalColumn: b.originalColumn,
|
|
3282
3288
|
name: b.name === null ? null : this._names.at(b.name)
|
|
3283
3289
|
};
|
|
3284
|
-
}, this).forEach(
|
|
3285
|
-
}, f.prototype.allGeneratedPositionsFor = function(
|
|
3286
|
-
var d = t.getArg(
|
|
3287
|
-
source: t.getArg(
|
|
3290
|
+
}, this).forEach(a, s);
|
|
3291
|
+
}, f.prototype.allGeneratedPositionsFor = function(a) {
|
|
3292
|
+
var d = t.getArg(a, "line"), r = {
|
|
3293
|
+
source: t.getArg(a, "source"),
|
|
3288
3294
|
originalLine: d,
|
|
3289
|
-
originalColumn: t.getArg(
|
|
3295
|
+
originalColumn: t.getArg(a, "column", 0)
|
|
3290
3296
|
};
|
|
3291
3297
|
if (r.source = this._findSourceIndex(r.source), r.source < 0)
|
|
3292
3298
|
return [];
|
|
3293
|
-
var
|
|
3299
|
+
var s = [], n = this._findMapping(
|
|
3294
3300
|
r,
|
|
3295
3301
|
this._originalMappings,
|
|
3296
3302
|
"originalLine",
|
|
@@ -3300,55 +3306,55 @@ function ms() {
|
|
|
3300
3306
|
);
|
|
3301
3307
|
if (n >= 0) {
|
|
3302
3308
|
var v = this._originalMappings[n];
|
|
3303
|
-
if (
|
|
3309
|
+
if (a.column === void 0)
|
|
3304
3310
|
for (var _ = v.originalLine; v && v.originalLine === _; )
|
|
3305
|
-
|
|
3311
|
+
s.push({
|
|
3306
3312
|
line: t.getArg(v, "generatedLine", null),
|
|
3307
3313
|
column: t.getArg(v, "generatedColumn", null),
|
|
3308
3314
|
lastColumn: t.getArg(v, "lastGeneratedColumn", null)
|
|
3309
3315
|
}), v = this._originalMappings[++n];
|
|
3310
3316
|
else
|
|
3311
3317
|
for (var b = v.originalColumn; v && v.originalLine === d && v.originalColumn == b; )
|
|
3312
|
-
|
|
3318
|
+
s.push({
|
|
3313
3319
|
line: t.getArg(v, "generatedLine", null),
|
|
3314
3320
|
column: t.getArg(v, "generatedColumn", null),
|
|
3315
3321
|
lastColumn: t.getArg(v, "lastGeneratedColumn", null)
|
|
3316
3322
|
}), v = this._originalMappings[++n];
|
|
3317
3323
|
}
|
|
3318
|
-
return
|
|
3324
|
+
return s;
|
|
3319
3325
|
}, Me.SourceMapConsumer = f;
|
|
3320
|
-
function p(u,
|
|
3326
|
+
function p(u, a) {
|
|
3321
3327
|
var d = u;
|
|
3322
3328
|
typeof u == "string" && (d = t.parseSourceMapInput(u));
|
|
3323
|
-
var r = t.getArg(d, "version"),
|
|
3329
|
+
var r = t.getArg(d, "version"), s = t.getArg(d, "sources"), n = t.getArg(d, "names", []), v = t.getArg(d, "sourceRoot", null), _ = t.getArg(d, "sourcesContent", null), b = t.getArg(d, "mappings"), y = t.getArg(d, "file", null);
|
|
3324
3330
|
if (r != this._version)
|
|
3325
3331
|
throw new Error("Unsupported version: " + r);
|
|
3326
|
-
v && (v = t.normalize(v)),
|
|
3332
|
+
v && (v = t.normalize(v)), s = s.map(String).map(t.normalize).map(function(E) {
|
|
3327
3333
|
return v && t.isAbsolute(v) && t.isAbsolute(E) ? t.relative(v, E) : E;
|
|
3328
|
-
}), this._names = i.fromArray(n.map(String), !0), this._sources = i.fromArray(
|
|
3329
|
-
return t.computeSourceURL(v, E,
|
|
3330
|
-
}), this.sourceRoot = v, this.sourcesContent = _, this._mappings = b, this._sourceMapURL =
|
|
3334
|
+
}), this._names = i.fromArray(n.map(String), !0), this._sources = i.fromArray(s, !0), this._absoluteSources = this._sources.toArray().map(function(E) {
|
|
3335
|
+
return t.computeSourceURL(v, E, a);
|
|
3336
|
+
}), this.sourceRoot = v, this.sourcesContent = _, this._mappings = b, this._sourceMapURL = a, this.file = y;
|
|
3331
3337
|
}
|
|
3332
3338
|
p.prototype = Object.create(f.prototype), p.prototype.consumer = f, p.prototype._findSourceIndex = function(u) {
|
|
3333
|
-
var
|
|
3334
|
-
if (this.sourceRoot != null && (
|
|
3335
|
-
return this._sources.indexOf(
|
|
3339
|
+
var a = u;
|
|
3340
|
+
if (this.sourceRoot != null && (a = t.relative(this.sourceRoot, a)), this._sources.has(a))
|
|
3341
|
+
return this._sources.indexOf(a);
|
|
3336
3342
|
var d;
|
|
3337
3343
|
for (d = 0; d < this._absoluteSources.length; ++d)
|
|
3338
3344
|
if (this._absoluteSources[d] == u)
|
|
3339
3345
|
return d;
|
|
3340
3346
|
return -1;
|
|
3341
|
-
}, p.fromSourceMap = function(
|
|
3342
|
-
var r = Object.create(p.prototype),
|
|
3343
|
-
r.sourceRoot =
|
|
3347
|
+
}, p.fromSourceMap = function(a, d) {
|
|
3348
|
+
var r = Object.create(p.prototype), s = r._names = i.fromArray(a._names.toArray(), !0), n = r._sources = i.fromArray(a._sources.toArray(), !0);
|
|
3349
|
+
r.sourceRoot = a._sourceRoot, r.sourcesContent = a._generateSourcesContent(
|
|
3344
3350
|
r._sources.toArray(),
|
|
3345
3351
|
r.sourceRoot
|
|
3346
|
-
), r.file =
|
|
3352
|
+
), r.file = a._file, r._sourceMapURL = d, r._absoluteSources = r._sources.toArray().map(function(A) {
|
|
3347
3353
|
return t.computeSourceURL(r.sourceRoot, A, d);
|
|
3348
3354
|
});
|
|
3349
|
-
for (var v =
|
|
3355
|
+
for (var v = a._mappings.toArray().slice(), _ = r.__generatedMappings = [], b = r.__originalMappings = [], y = 0, E = v.length; y < E; y++) {
|
|
3350
3356
|
var g = v[y], S = new l();
|
|
3351
|
-
S.generatedLine = g.generatedLine, S.generatedColumn = g.generatedColumn, g.source && (S.source = n.indexOf(g.source), S.originalLine = g.originalLine, S.originalColumn = g.originalColumn, g.name && (S.name =
|
|
3357
|
+
S.generatedLine = g.generatedLine, S.generatedColumn = g.generatedColumn, g.source && (S.source = n.indexOf(g.source), S.originalLine = g.originalLine, S.originalColumn = g.originalColumn, g.name && (S.name = s.indexOf(g.name)), b.push(S)), _.push(S);
|
|
3352
3358
|
}
|
|
3353
3359
|
return h(r.__originalMappings, t.compareByOriginalPositions), r;
|
|
3354
3360
|
}, p.prototype._version = 3, Object.defineProperty(p.prototype, "sources", {
|
|
@@ -3359,40 +3365,40 @@ function ms() {
|
|
|
3359
3365
|
function l() {
|
|
3360
3366
|
this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null;
|
|
3361
3367
|
}
|
|
3362
|
-
p.prototype._parseMappings = function(
|
|
3363
|
-
for (var r = 1,
|
|
3364
|
-
if (
|
|
3365
|
-
r++, E++,
|
|
3366
|
-
else if (
|
|
3368
|
+
p.prototype._parseMappings = function(a, d) {
|
|
3369
|
+
for (var r = 1, s = 0, n = 0, v = 0, _ = 0, b = 0, y = a.length, E = 0, g = {}, S = {}, A = [], k = [], x, N, O, T, Z; E < y; )
|
|
3370
|
+
if (a.charAt(E) === ";")
|
|
3371
|
+
r++, E++, s = 0;
|
|
3372
|
+
else if (a.charAt(E) === ",")
|
|
3367
3373
|
E++;
|
|
3368
3374
|
else {
|
|
3369
|
-
for (x = new l(), x.generatedLine = r, T = E; T < y && !this._charIsMappingSeparator(
|
|
3375
|
+
for (x = new l(), x.generatedLine = r, T = E; T < y && !this._charIsMappingSeparator(a, T); T++)
|
|
3370
3376
|
;
|
|
3371
|
-
if (N =
|
|
3377
|
+
if (N = a.slice(E, T), O = g[N], O)
|
|
3372
3378
|
E += N.length;
|
|
3373
3379
|
else {
|
|
3374
3380
|
for (O = []; E < T; )
|
|
3375
|
-
c.decode(
|
|
3381
|
+
c.decode(a, E, S), Z = S.value, E = S.rest, O.push(Z);
|
|
3376
3382
|
if (O.length === 2)
|
|
3377
3383
|
throw new Error("Found a source, but no line and column");
|
|
3378
3384
|
if (O.length === 3)
|
|
3379
3385
|
throw new Error("Found a source and line, but no column");
|
|
3380
3386
|
g[N] = O;
|
|
3381
3387
|
}
|
|
3382
|
-
x.generatedColumn =
|
|
3388
|
+
x.generatedColumn = s + O[0], s = x.generatedColumn, O.length > 1 && (x.source = _ + O[1], _ += O[1], x.originalLine = n + O[2], n = x.originalLine, x.originalLine += 1, x.originalColumn = v + O[3], v = x.originalColumn, O.length > 4 && (x.name = b + O[4], b += O[4])), k.push(x), typeof x.originalLine == "number" && A.push(x);
|
|
3383
3389
|
}
|
|
3384
3390
|
h(k, t.compareByGeneratedPositionsDeflated), this.__generatedMappings = k, h(A, t.compareByOriginalPositions), this.__originalMappings = A;
|
|
3385
|
-
}, p.prototype._findMapping = function(
|
|
3386
|
-
if (
|
|
3387
|
-
throw new TypeError("Line must be greater than or equal to 1, got " +
|
|
3388
|
-
if (s
|
|
3389
|
-
throw new TypeError("Column must be greater than or equal to 0, got " + s
|
|
3390
|
-
return e.search(
|
|
3391
|
+
}, p.prototype._findMapping = function(a, d, r, s, n, v) {
|
|
3392
|
+
if (a[r] <= 0)
|
|
3393
|
+
throw new TypeError("Line must be greater than or equal to 1, got " + a[r]);
|
|
3394
|
+
if (a[s] < 0)
|
|
3395
|
+
throw new TypeError("Column must be greater than or equal to 0, got " + a[s]);
|
|
3396
|
+
return e.search(a, d, n, v);
|
|
3391
3397
|
}, p.prototype.computeColumnSpans = function() {
|
|
3392
|
-
for (var
|
|
3393
|
-
var d = this._generatedMappings[
|
|
3394
|
-
if (
|
|
3395
|
-
var r = this._generatedMappings[
|
|
3398
|
+
for (var a = 0; a < this._generatedMappings.length; ++a) {
|
|
3399
|
+
var d = this._generatedMappings[a];
|
|
3400
|
+
if (a + 1 < this._generatedMappings.length) {
|
|
3401
|
+
var r = this._generatedMappings[a + 1];
|
|
3396
3402
|
if (d.generatedLine === r.generatedLine) {
|
|
3397
3403
|
d.lastGeneratedColumn = r.generatedColumn - 1;
|
|
3398
3404
|
continue;
|
|
@@ -3400,28 +3406,28 @@ function ms() {
|
|
|
3400
3406
|
}
|
|
3401
3407
|
d.lastGeneratedColumn = 1 / 0;
|
|
3402
3408
|
}
|
|
3403
|
-
}, p.prototype.originalPositionFor = function(
|
|
3409
|
+
}, p.prototype.originalPositionFor = function(a) {
|
|
3404
3410
|
var d = {
|
|
3405
|
-
generatedLine: t.getArg(
|
|
3406
|
-
generatedColumn: t.getArg(
|
|
3411
|
+
generatedLine: t.getArg(a, "line"),
|
|
3412
|
+
generatedColumn: t.getArg(a, "column")
|
|
3407
3413
|
}, r = this._findMapping(
|
|
3408
3414
|
d,
|
|
3409
3415
|
this._generatedMappings,
|
|
3410
3416
|
"generatedLine",
|
|
3411
3417
|
"generatedColumn",
|
|
3412
3418
|
t.compareByGeneratedPositionsDeflated,
|
|
3413
|
-
t.getArg(
|
|
3419
|
+
t.getArg(a, "bias", f.GREATEST_LOWER_BOUND)
|
|
3414
3420
|
);
|
|
3415
3421
|
if (r >= 0) {
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
var n = t.getArg(
|
|
3422
|
+
var s = this._generatedMappings[r];
|
|
3423
|
+
if (s.generatedLine === d.generatedLine) {
|
|
3424
|
+
var n = t.getArg(s, "source", null);
|
|
3419
3425
|
n !== null && (n = this._sources.at(n), n = t.computeSourceURL(this.sourceRoot, n, this._sourceMapURL));
|
|
3420
|
-
var v = t.getArg(
|
|
3426
|
+
var v = t.getArg(s, "name", null);
|
|
3421
3427
|
return v !== null && (v = this._names.at(v)), {
|
|
3422
3428
|
source: n,
|
|
3423
|
-
line: t.getArg(
|
|
3424
|
-
column: t.getArg(
|
|
3429
|
+
line: t.getArg(s, "originalLine", null),
|
|
3430
|
+
column: t.getArg(s, "originalColumn", null),
|
|
3425
3431
|
name: v
|
|
3426
3432
|
};
|
|
3427
3433
|
}
|
|
@@ -3433,30 +3439,30 @@ function ms() {
|
|
|
3433
3439
|
name: null
|
|
3434
3440
|
};
|
|
3435
3441
|
}, p.prototype.hasContentsOfAllSources = function() {
|
|
3436
|
-
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(
|
|
3437
|
-
return
|
|
3442
|
+
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(a) {
|
|
3443
|
+
return a == null;
|
|
3438
3444
|
}) : !1;
|
|
3439
|
-
}, p.prototype.sourceContentFor = function(
|
|
3445
|
+
}, p.prototype.sourceContentFor = function(a, d) {
|
|
3440
3446
|
if (!this.sourcesContent)
|
|
3441
3447
|
return null;
|
|
3442
|
-
var r = this._findSourceIndex(
|
|
3448
|
+
var r = this._findSourceIndex(a);
|
|
3443
3449
|
if (r >= 0)
|
|
3444
3450
|
return this.sourcesContent[r];
|
|
3445
|
-
var
|
|
3446
|
-
this.sourceRoot != null && (
|
|
3451
|
+
var s = a;
|
|
3452
|
+
this.sourceRoot != null && (s = t.relative(this.sourceRoot, s));
|
|
3447
3453
|
var n;
|
|
3448
3454
|
if (this.sourceRoot != null && (n = t.urlParse(this.sourceRoot))) {
|
|
3449
|
-
var v =
|
|
3455
|
+
var v = s.replace(/^file:\/\//, "");
|
|
3450
3456
|
if (n.scheme == "file" && this._sources.has(v))
|
|
3451
3457
|
return this.sourcesContent[this._sources.indexOf(v)];
|
|
3452
|
-
if ((!n.path || n.path == "/") && this._sources.has("/" +
|
|
3453
|
-
return this.sourcesContent[this._sources.indexOf("/" +
|
|
3458
|
+
if ((!n.path || n.path == "/") && this._sources.has("/" + s))
|
|
3459
|
+
return this.sourcesContent[this._sources.indexOf("/" + s)];
|
|
3454
3460
|
}
|
|
3455
3461
|
if (d)
|
|
3456
3462
|
return null;
|
|
3457
|
-
throw new Error('"' +
|
|
3458
|
-
}, p.prototype.generatedPositionFor = function(
|
|
3459
|
-
var d = t.getArg(
|
|
3463
|
+
throw new Error('"' + s + '" is not in the SourceMap.');
|
|
3464
|
+
}, p.prototype.generatedPositionFor = function(a) {
|
|
3465
|
+
var d = t.getArg(a, "source");
|
|
3460
3466
|
if (d = this._findSourceIndex(d), d < 0)
|
|
3461
3467
|
return {
|
|
3462
3468
|
line: null,
|
|
@@ -3465,18 +3471,18 @@ function ms() {
|
|
|
3465
3471
|
};
|
|
3466
3472
|
var r = {
|
|
3467
3473
|
source: d,
|
|
3468
|
-
originalLine: t.getArg(
|
|
3469
|
-
originalColumn: t.getArg(
|
|
3470
|
-
},
|
|
3474
|
+
originalLine: t.getArg(a, "line"),
|
|
3475
|
+
originalColumn: t.getArg(a, "column")
|
|
3476
|
+
}, s = this._findMapping(
|
|
3471
3477
|
r,
|
|
3472
3478
|
this._originalMappings,
|
|
3473
3479
|
"originalLine",
|
|
3474
3480
|
"originalColumn",
|
|
3475
3481
|
t.compareByOriginalPositions,
|
|
3476
|
-
t.getArg(
|
|
3482
|
+
t.getArg(a, "bias", f.GREATEST_LOWER_BOUND)
|
|
3477
3483
|
);
|
|
3478
|
-
if (
|
|
3479
|
-
var n = this._originalMappings[
|
|
3484
|
+
if (s >= 0) {
|
|
3485
|
+
var n = this._originalMappings[s];
|
|
3480
3486
|
if (n.source === r.source)
|
|
3481
3487
|
return {
|
|
3482
3488
|
line: t.getArg(n, "generatedLine", null),
|
|
@@ -3490,10 +3496,10 @@ function ms() {
|
|
|
3490
3496
|
lastColumn: null
|
|
3491
3497
|
};
|
|
3492
3498
|
}, Me.BasicSourceMapConsumer = p;
|
|
3493
|
-
function o(u,
|
|
3499
|
+
function o(u, a) {
|
|
3494
3500
|
var d = u;
|
|
3495
3501
|
typeof u == "string" && (d = t.parseSourceMapInput(u));
|
|
3496
|
-
var r = t.getArg(d, "version"),
|
|
3502
|
+
var r = t.getArg(d, "version"), s = t.getArg(d, "sections");
|
|
3497
3503
|
if (r != this._version)
|
|
3498
3504
|
throw new Error("Unsupported version: " + r);
|
|
3499
3505
|
this._sources = new i(), this._names = new i();
|
|
@@ -3501,7 +3507,7 @@ function ms() {
|
|
|
3501
3507
|
line: -1,
|
|
3502
3508
|
column: 0
|
|
3503
3509
|
};
|
|
3504
|
-
this._sections =
|
|
3510
|
+
this._sections = s.map(function(v) {
|
|
3505
3511
|
if (v.url)
|
|
3506
3512
|
throw new Error("Support for url field in sections not implemented.");
|
|
3507
3513
|
var _ = t.getArg(v, "offset"), b = t.getArg(_, "line"), y = t.getArg(_, "column");
|
|
@@ -3514,21 +3520,21 @@ function ms() {
|
|
|
3514
3520
|
generatedLine: b + 1,
|
|
3515
3521
|
generatedColumn: y + 1
|
|
3516
3522
|
},
|
|
3517
|
-
consumer: new f(t.getArg(v, "map"),
|
|
3523
|
+
consumer: new f(t.getArg(v, "map"), a)
|
|
3518
3524
|
};
|
|
3519
3525
|
});
|
|
3520
3526
|
}
|
|
3521
3527
|
return o.prototype = Object.create(f.prototype), o.prototype.constructor = f, o.prototype._version = 3, Object.defineProperty(o.prototype, "sources", {
|
|
3522
3528
|
get: function() {
|
|
3523
|
-
for (var u = [],
|
|
3524
|
-
for (var d = 0; d < this._sections[
|
|
3525
|
-
u.push(this._sections[
|
|
3529
|
+
for (var u = [], a = 0; a < this._sections.length; a++)
|
|
3530
|
+
for (var d = 0; d < this._sections[a].consumer.sources.length; d++)
|
|
3531
|
+
u.push(this._sections[a].consumer.sources[d]);
|
|
3526
3532
|
return u;
|
|
3527
3533
|
}
|
|
3528
|
-
}), o.prototype.originalPositionFor = function(
|
|
3534
|
+
}), o.prototype.originalPositionFor = function(a) {
|
|
3529
3535
|
var d = {
|
|
3530
|
-
generatedLine: t.getArg(
|
|
3531
|
-
generatedColumn: t.getArg(
|
|
3536
|
+
generatedLine: t.getArg(a, "line"),
|
|
3537
|
+
generatedColumn: t.getArg(a, "column")
|
|
3532
3538
|
}, r = e.search(
|
|
3533
3539
|
d,
|
|
3534
3540
|
this._sections,
|
|
@@ -3536,11 +3542,11 @@ function ms() {
|
|
|
3536
3542
|
var _ = n.generatedLine - v.generatedOffset.generatedLine;
|
|
3537
3543
|
return _ || n.generatedColumn - v.generatedOffset.generatedColumn;
|
|
3538
3544
|
}
|
|
3539
|
-
),
|
|
3540
|
-
return
|
|
3541
|
-
line: d.generatedLine - (
|
|
3542
|
-
column: d.generatedColumn - (
|
|
3543
|
-
bias:
|
|
3545
|
+
), s = this._sections[r];
|
|
3546
|
+
return s ? s.consumer.originalPositionFor({
|
|
3547
|
+
line: d.generatedLine - (s.generatedOffset.generatedLine - 1),
|
|
3548
|
+
column: d.generatedColumn - (s.generatedOffset.generatedLine === d.generatedLine ? s.generatedOffset.generatedColumn - 1 : 0),
|
|
3549
|
+
bias: a.bias
|
|
3544
3550
|
}) : {
|
|
3545
3551
|
source: null,
|
|
3546
3552
|
line: null,
|
|
@@ -3548,27 +3554,27 @@ function ms() {
|
|
|
3548
3554
|
name: null
|
|
3549
3555
|
};
|
|
3550
3556
|
}, o.prototype.hasContentsOfAllSources = function() {
|
|
3551
|
-
return this._sections.every(function(
|
|
3552
|
-
return
|
|
3557
|
+
return this._sections.every(function(a) {
|
|
3558
|
+
return a.consumer.hasContentsOfAllSources();
|
|
3553
3559
|
});
|
|
3554
|
-
}, o.prototype.sourceContentFor = function(
|
|
3560
|
+
}, o.prototype.sourceContentFor = function(a, d) {
|
|
3555
3561
|
for (var r = 0; r < this._sections.length; r++) {
|
|
3556
|
-
var
|
|
3562
|
+
var s = this._sections[r], n = s.consumer.sourceContentFor(a, !0);
|
|
3557
3563
|
if (n)
|
|
3558
3564
|
return n;
|
|
3559
3565
|
}
|
|
3560
3566
|
if (d)
|
|
3561
3567
|
return null;
|
|
3562
|
-
throw new Error('"' +
|
|
3563
|
-
}, o.prototype.generatedPositionFor = function(
|
|
3568
|
+
throw new Error('"' + a + '" is not in the SourceMap.');
|
|
3569
|
+
}, o.prototype.generatedPositionFor = function(a) {
|
|
3564
3570
|
for (var d = 0; d < this._sections.length; d++) {
|
|
3565
3571
|
var r = this._sections[d];
|
|
3566
|
-
if (r.consumer._findSourceIndex(t.getArg(
|
|
3567
|
-
var
|
|
3568
|
-
if (
|
|
3572
|
+
if (r.consumer._findSourceIndex(t.getArg(a, "source")) !== -1) {
|
|
3573
|
+
var s = r.consumer.generatedPositionFor(a);
|
|
3574
|
+
if (s) {
|
|
3569
3575
|
var n = {
|
|
3570
|
-
line:
|
|
3571
|
-
column:
|
|
3576
|
+
line: s.line + (r.generatedOffset.generatedLine - 1),
|
|
3577
|
+
column: s.column + (r.generatedOffset.generatedLine === s.line ? r.generatedOffset.generatedColumn - 1 : 0)
|
|
3572
3578
|
};
|
|
3573
3579
|
return n;
|
|
3574
3580
|
}
|
|
@@ -3578,18 +3584,18 @@ function ms() {
|
|
|
3578
3584
|
line: null,
|
|
3579
3585
|
column: null
|
|
3580
3586
|
};
|
|
3581
|
-
}, o.prototype._parseMappings = function(
|
|
3587
|
+
}, o.prototype._parseMappings = function(a, d) {
|
|
3582
3588
|
this.__generatedMappings = [], this.__originalMappings = [];
|
|
3583
3589
|
for (var r = 0; r < this._sections.length; r++)
|
|
3584
|
-
for (var
|
|
3585
|
-
var _ = n[v], b =
|
|
3586
|
-
b = t.computeSourceURL(
|
|
3590
|
+
for (var s = this._sections[r], n = s.consumer._generatedMappings, v = 0; v < n.length; v++) {
|
|
3591
|
+
var _ = n[v], b = s.consumer._sources.at(_.source);
|
|
3592
|
+
b = t.computeSourceURL(s.consumer.sourceRoot, b, this._sourceMapURL), this._sources.add(b), b = this._sources.indexOf(b);
|
|
3587
3593
|
var y = null;
|
|
3588
|
-
_.name && (y =
|
|
3594
|
+
_.name && (y = s.consumer._names.at(_.name), this._names.add(y), y = this._names.indexOf(y));
|
|
3589
3595
|
var E = {
|
|
3590
3596
|
source: b,
|
|
3591
|
-
generatedLine: _.generatedLine + (
|
|
3592
|
-
generatedColumn: _.generatedColumn + (
|
|
3597
|
+
generatedLine: _.generatedLine + (s.generatedOffset.generatedLine - 1),
|
|
3598
|
+
generatedColumn: _.generatedColumn + (s.generatedOffset.generatedLine === _.generatedLine ? s.generatedOffset.generatedColumn - 1 : 0),
|
|
3593
3599
|
originalLine: _.originalLine,
|
|
3594
3600
|
originalColumn: _.originalColumn,
|
|
3595
3601
|
name: y
|
|
@@ -3599,16 +3605,16 @@ function ms() {
|
|
|
3599
3605
|
h(this.__generatedMappings, t.compareByGeneratedPositionsDeflated), h(this.__originalMappings, t.compareByOriginalPositions);
|
|
3600
3606
|
}, Me.IndexedSourceMapConsumer = o, Me;
|
|
3601
3607
|
}
|
|
3602
|
-
var Ot = {},
|
|
3603
|
-
function
|
|
3604
|
-
if (
|
|
3605
|
-
|
|
3608
|
+
var Ot = {}, sn;
|
|
3609
|
+
function va() {
|
|
3610
|
+
if (sn) return Ot;
|
|
3611
|
+
sn = 1;
|
|
3606
3612
|
var t = Pn().SourceMapGenerator, e = He(), i = /(\r?\n)/, c = 10, h = "$$$isSourceNode$$$";
|
|
3607
|
-
function f(p, l, o, u,
|
|
3608
|
-
this.children = [], this.sourceContents = {}, this.line = p ?? null, this.column = l ?? null, this.source = o ?? null, this.name =
|
|
3613
|
+
function f(p, l, o, u, a) {
|
|
3614
|
+
this.children = [], this.sourceContents = {}, this.line = p ?? null, this.column = l ?? null, this.source = o ?? null, this.name = a ?? null, this[h] = !0, u != null && this.add(u);
|
|
3609
3615
|
}
|
|
3610
3616
|
return f.fromStringWithSourceMap = function(l, o, u) {
|
|
3611
|
-
var
|
|
3617
|
+
var a = new f(), d = l.split(i), r = 0, s = function() {
|
|
3612
3618
|
var y = g(), E = g() || "";
|
|
3613
3619
|
return y + E;
|
|
3614
3620
|
function g() {
|
|
@@ -3618,29 +3624,29 @@ function vs() {
|
|
|
3618
3624
|
return o.eachMapping(function(y) {
|
|
3619
3625
|
if (_ !== null)
|
|
3620
3626
|
if (n < y.generatedLine)
|
|
3621
|
-
b(_,
|
|
3627
|
+
b(_, s()), n++, v = 0;
|
|
3622
3628
|
else {
|
|
3623
3629
|
var E = d[r] || "", g = E.substr(0, y.generatedColumn - v);
|
|
3624
3630
|
d[r] = E.substr(y.generatedColumn - v), v = y.generatedColumn, b(_, g), _ = y;
|
|
3625
3631
|
return;
|
|
3626
3632
|
}
|
|
3627
3633
|
for (; n < y.generatedLine; )
|
|
3628
|
-
|
|
3634
|
+
a.add(s()), n++;
|
|
3629
3635
|
if (v < y.generatedColumn) {
|
|
3630
3636
|
var E = d[r] || "";
|
|
3631
|
-
|
|
3637
|
+
a.add(E.substr(0, y.generatedColumn)), d[r] = E.substr(y.generatedColumn), v = y.generatedColumn;
|
|
3632
3638
|
}
|
|
3633
3639
|
_ = y;
|
|
3634
|
-
}, this), r < d.length && (_ && b(_,
|
|
3640
|
+
}, this), r < d.length && (_ && b(_, s()), a.add(d.splice(r).join(""))), o.sources.forEach(function(y) {
|
|
3635
3641
|
var E = o.sourceContentFor(y);
|
|
3636
|
-
E != null && (u != null && (y = e.join(u, y)),
|
|
3637
|
-
}),
|
|
3642
|
+
E != null && (u != null && (y = e.join(u, y)), a.setSourceContent(y, E));
|
|
3643
|
+
}), a;
|
|
3638
3644
|
function b(y, E) {
|
|
3639
3645
|
if (y === null || y.source === void 0)
|
|
3640
|
-
|
|
3646
|
+
a.add(E);
|
|
3641
3647
|
else {
|
|
3642
3648
|
var g = u ? e.join(u, y.source) : y.source;
|
|
3643
|
-
|
|
3649
|
+
a.add(new f(
|
|
3644
3650
|
y.originalLine,
|
|
3645
3651
|
y.originalColumn,
|
|
3646
3652
|
g,
|
|
@@ -3673,7 +3679,7 @@ function vs() {
|
|
|
3673
3679
|
);
|
|
3674
3680
|
return this;
|
|
3675
3681
|
}, f.prototype.walk = function(l) {
|
|
3676
|
-
for (var o, u = 0,
|
|
3682
|
+
for (var o, u = 0, a = this.children.length; u < a; u++)
|
|
3677
3683
|
o = this.children[u], o[h] ? o.walk(l) : o !== "" && l(o, {
|
|
3678
3684
|
source: this.source,
|
|
3679
3685
|
line: this.line,
|
|
@@ -3681,9 +3687,9 @@ function vs() {
|
|
|
3681
3687
|
name: this.name
|
|
3682
3688
|
});
|
|
3683
3689
|
}, f.prototype.join = function(l) {
|
|
3684
|
-
var o, u,
|
|
3685
|
-
if (
|
|
3686
|
-
for (o = [], u = 0; u <
|
|
3690
|
+
var o, u, a = this.children.length;
|
|
3691
|
+
if (a > 0) {
|
|
3692
|
+
for (o = [], u = 0; u < a - 1; u++)
|
|
3687
3693
|
o.push(this.children[u]), o.push(l);
|
|
3688
3694
|
o.push(this.children[u]), this.children = o;
|
|
3689
3695
|
}
|
|
@@ -3696,8 +3702,8 @@ function vs() {
|
|
|
3696
3702
|
}, f.prototype.walkSourceContents = function(l) {
|
|
3697
3703
|
for (var o = 0, u = this.children.length; o < u; o++)
|
|
3698
3704
|
this.children[o][h] && this.children[o].walkSourceContents(l);
|
|
3699
|
-
for (var
|
|
3700
|
-
l(e.fromSetString(
|
|
3705
|
+
for (var a = Object.keys(this.sourceContents), o = 0, u = a.length; o < u; o++)
|
|
3706
|
+
l(e.fromSetString(a[o]), this.sourceContents[a[o]]);
|
|
3701
3707
|
}, f.prototype.toString = function() {
|
|
3702
3708
|
var l = "";
|
|
3703
3709
|
return this.walk(function(o) {
|
|
@@ -3708,9 +3714,9 @@ function vs() {
|
|
|
3708
3714
|
code: "",
|
|
3709
3715
|
line: 1,
|
|
3710
3716
|
column: 0
|
|
3711
|
-
}, u = new t(l),
|
|
3717
|
+
}, u = new t(l), a = !1, d = null, r = null, s = null, n = null;
|
|
3712
3718
|
return this.walk(function(v, _) {
|
|
3713
|
-
o.code += v, _.source !== null && _.line !== null && _.column !== null ? ((d !== _.source || r !== _.line ||
|
|
3719
|
+
o.code += v, _.source !== null && _.line !== null && _.column !== null ? ((d !== _.source || r !== _.line || s !== _.column || n !== _.name) && u.addMapping({
|
|
3714
3720
|
source: _.source,
|
|
3715
3721
|
original: {
|
|
3716
3722
|
line: _.line,
|
|
@@ -3721,14 +3727,14 @@ function vs() {
|
|
|
3721
3727
|
column: o.column
|
|
3722
3728
|
},
|
|
3723
3729
|
name: _.name
|
|
3724
|
-
}), d = _.source, r = _.line,
|
|
3730
|
+
}), d = _.source, r = _.line, s = _.column, n = _.name, a = !0) : a && (u.addMapping({
|
|
3725
3731
|
generated: {
|
|
3726
3732
|
line: o.line,
|
|
3727
3733
|
column: o.column
|
|
3728
3734
|
}
|
|
3729
|
-
}), d = null,
|
|
3735
|
+
}), d = null, a = !1);
|
|
3730
3736
|
for (var b = 0, y = v.length; b < y; b++)
|
|
3731
|
-
v.charCodeAt(b) === c ? (o.line++, o.column = 0, b + 1 === y ? (d = null,
|
|
3737
|
+
v.charCodeAt(b) === c ? (o.line++, o.column = 0, b + 1 === y ? (d = null, a = !1) : a && u.addMapping({
|
|
3732
3738
|
source: _.source,
|
|
3733
3739
|
original: {
|
|
3734
3740
|
line: _.line,
|
|
@@ -3746,19 +3752,19 @@ function vs() {
|
|
|
3746
3752
|
}, Ot.SourceNode = f, Ot;
|
|
3747
3753
|
}
|
|
3748
3754
|
var ln;
|
|
3749
|
-
function
|
|
3750
|
-
return ln || (ln = 1, Oe.SourceMapGenerator = Pn().SourceMapGenerator, Oe.SourceMapConsumer =
|
|
3755
|
+
function _a() {
|
|
3756
|
+
return ln || (ln = 1, Oe.SourceMapGenerator = Pn().SourceMapGenerator, Oe.SourceMapConsumer = ma().SourceMapConsumer, Oe.SourceNode = va().SourceNode), Oe;
|
|
3751
3757
|
}
|
|
3752
3758
|
(function(t, e) {
|
|
3753
3759
|
e.__esModule = !0;
|
|
3754
3760
|
var i = M, c = void 0;
|
|
3755
3761
|
try {
|
|
3756
|
-
var h =
|
|
3762
|
+
var h = _a();
|
|
3757
3763
|
c = h.SourceNode;
|
|
3758
3764
|
} catch {
|
|
3759
3765
|
}
|
|
3760
|
-
c || (c = function(l, o, u,
|
|
3761
|
-
this.src = "",
|
|
3766
|
+
c || (c = function(l, o, u, a) {
|
|
3767
|
+
this.src = "", a && this.add(a);
|
|
3762
3768
|
}, c.prototype = {
|
|
3763
3769
|
add: function(o) {
|
|
3764
3770
|
i.isArray(o) && (o = o.join("")), this.src += o;
|
|
@@ -3775,9 +3781,9 @@ function _s() {
|
|
|
3775
3781
|
});
|
|
3776
3782
|
function f(l, o, u) {
|
|
3777
3783
|
if (i.isArray(l)) {
|
|
3778
|
-
for (var
|
|
3779
|
-
|
|
3780
|
-
return
|
|
3784
|
+
for (var a = [], d = 0, r = l.length; d < r; d++)
|
|
3785
|
+
a.push(o.wrap(l[d], u));
|
|
3786
|
+
return a;
|
|
3781
3787
|
} else if (typeof l == "boolean" || typeof l == "number")
|
|
3782
3788
|
return l + "";
|
|
3783
3789
|
return l;
|
|
@@ -3803,7 +3809,7 @@ function _s() {
|
|
|
3803
3809
|
}), o;
|
|
3804
3810
|
},
|
|
3805
3811
|
each: function(o) {
|
|
3806
|
-
for (var u = 0,
|
|
3812
|
+
for (var u = 0, a = this.source.length; u < a; u++)
|
|
3807
3813
|
o(this.source[u]);
|
|
3808
3814
|
},
|
|
3809
3815
|
empty: function() {
|
|
@@ -3814,24 +3820,24 @@ function _s() {
|
|
|
3814
3820
|
var u = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
|
|
3815
3821
|
return o instanceof c ? o : (o = f(o, this, u), new c(u.start.line, u.start.column, this.srcFile, o));
|
|
3816
3822
|
},
|
|
3817
|
-
functionCall: function(o, u,
|
|
3818
|
-
return
|
|
3823
|
+
functionCall: function(o, u, a) {
|
|
3824
|
+
return a = this.generateList(a), this.wrap([o, u ? "." + u + "(" : "(", a, ")"]);
|
|
3819
3825
|
},
|
|
3820
3826
|
quotedString: function(o) {
|
|
3821
3827
|
return '"' + (o + "").replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + '"';
|
|
3822
3828
|
},
|
|
3823
3829
|
objectLiteral: function(o) {
|
|
3824
|
-
var u = this,
|
|
3830
|
+
var u = this, a = [];
|
|
3825
3831
|
Object.keys(o).forEach(function(r) {
|
|
3826
|
-
var
|
|
3827
|
-
|
|
3832
|
+
var s = f(o[r], u);
|
|
3833
|
+
s !== "undefined" && a.push([u.quotedString(r), ":", s]);
|
|
3828
3834
|
});
|
|
3829
|
-
var d = this.generateList(
|
|
3835
|
+
var d = this.generateList(a);
|
|
3830
3836
|
return d.prepend("{"), d.add("}"), d;
|
|
3831
3837
|
},
|
|
3832
3838
|
generateList: function(o) {
|
|
3833
|
-
for (var u = this.empty(),
|
|
3834
|
-
|
|
3839
|
+
for (var u = this.empty(), a = 0, d = o.length; a < d; a++)
|
|
3840
|
+
a && u.add(","), u.add(f(o[a], this));
|
|
3835
3841
|
return u;
|
|
3836
3842
|
},
|
|
3837
3843
|
generateArray: function(o) {
|
|
@@ -3840,49 +3846,49 @@ function _s() {
|
|
|
3840
3846
|
}
|
|
3841
3847
|
}, e.default = p, t.exports = e.default;
|
|
3842
3848
|
})(ir, ir.exports);
|
|
3843
|
-
var
|
|
3849
|
+
var ya = ir.exports;
|
|
3844
3850
|
(function(t, e) {
|
|
3845
3851
|
e.__esModule = !0;
|
|
3846
3852
|
function i(r) {
|
|
3847
3853
|
return r && r.__esModule ? r : { default: r };
|
|
3848
3854
|
}
|
|
3849
|
-
var c = Y, h = Q, f = i(h), p = M, l =
|
|
3855
|
+
var c = Y, h = Q, f = i(h), p = M, l = ya, o = i(l);
|
|
3850
3856
|
function u(r) {
|
|
3851
3857
|
this.value = r;
|
|
3852
3858
|
}
|
|
3853
|
-
function
|
|
3859
|
+
function a() {
|
|
3854
3860
|
}
|
|
3855
|
-
|
|
3861
|
+
a.prototype = {
|
|
3856
3862
|
// PUBLIC API: You can override these methods in a subclass to provide
|
|
3857
3863
|
// alternative compiled forms for name lookup and buffering semantics
|
|
3858
|
-
nameLookup: function(
|
|
3859
|
-
return this.internalNameLookup(
|
|
3864
|
+
nameLookup: function(s, n) {
|
|
3865
|
+
return this.internalNameLookup(s, n);
|
|
3860
3866
|
},
|
|
3861
|
-
depthedLookup: function(
|
|
3862
|
-
return [this.aliasable("container.lookup"), "(depths, ", JSON.stringify(
|
|
3867
|
+
depthedLookup: function(s) {
|
|
3868
|
+
return [this.aliasable("container.lookup"), "(depths, ", JSON.stringify(s), ")"];
|
|
3863
3869
|
},
|
|
3864
3870
|
compilerInfo: function() {
|
|
3865
|
-
var
|
|
3866
|
-
return [
|
|
3871
|
+
var s = c.COMPILER_REVISION, n = c.REVISION_CHANGES[s];
|
|
3872
|
+
return [s, n];
|
|
3867
3873
|
},
|
|
3868
|
-
appendToBuffer: function(
|
|
3869
|
-
return p.isArray(
|
|
3874
|
+
appendToBuffer: function(s, n, v) {
|
|
3875
|
+
return p.isArray(s) || (s = [s]), s = this.source.wrap(s, n), this.environment.isSimple ? ["return ", s, ";"] : v ? ["buffer += ", s, ";"] : (s.appendToBuffer = !0, s);
|
|
3870
3876
|
},
|
|
3871
3877
|
initializeBuffer: function() {
|
|
3872
3878
|
return this.quotedString("");
|
|
3873
3879
|
},
|
|
3874
3880
|
// END PUBLIC API
|
|
3875
|
-
internalNameLookup: function(
|
|
3876
|
-
return this.lookupPropertyFunctionIsUsed = !0, ["lookupProperty(",
|
|
3881
|
+
internalNameLookup: function(s, n) {
|
|
3882
|
+
return this.lookupPropertyFunctionIsUsed = !0, ["lookupProperty(", s, ",", JSON.stringify(n), ")"];
|
|
3877
3883
|
},
|
|
3878
3884
|
lookupPropertyFunctionIsUsed: !1,
|
|
3879
|
-
compile: function(
|
|
3880
|
-
this.environment =
|
|
3885
|
+
compile: function(s, n, v, _) {
|
|
3886
|
+
this.environment = s, this.options = n, this.stringParams = this.options.stringParams, this.trackIds = this.options.trackIds, this.precompile = !_, this.name = this.environment.name, this.isChild = !!v, this.context = v || {
|
|
3881
3887
|
decorators: [],
|
|
3882
3888
|
programs: [],
|
|
3883
3889
|
environments: []
|
|
3884
|
-
}, this.preamble(), this.stackSlot = 0, this.stackVars = [], this.aliases = {}, this.registers = { list: [] }, this.hashes = [], this.compileStack = [], this.inlineStack = [], this.blockParams = [], this.compileChildren(
|
|
3885
|
-
var b =
|
|
3890
|
+
}, this.preamble(), this.stackSlot = 0, this.stackVars = [], this.aliases = {}, this.registers = { list: [] }, this.hashes = [], this.compileStack = [], this.inlineStack = [], this.blockParams = [], this.compileChildren(s, n), this.useDepths = this.useDepths || s.useDepths || s.useDecorators || this.options.compat, this.useBlockParams = this.useBlockParams || s.useBlockParams;
|
|
3891
|
+
var b = s.opcodes, y = void 0, E = void 0, g = void 0, S = void 0;
|
|
3886
3892
|
for (g = 0, S = b.length; g < S; g++)
|
|
3887
3893
|
y = b[g], this.source.currentLocation = y.loc, E = E || y.loc, this[y.opcode].apply(this, y.args);
|
|
3888
3894
|
if (this.source.currentLocation = E, this.pushSource(""), this.stackSlot || this.inlineStack.length || this.compileStack.length)
|
|
@@ -3907,7 +3913,7 @@ var ys = ir.exports;
|
|
|
3907
3913
|
preamble: function() {
|
|
3908
3914
|
this.lastContext = 0, this.source = new o.default(this.options.srcName), this.decorators = new o.default(this.options.srcName);
|
|
3909
3915
|
},
|
|
3910
|
-
createFunctionContext: function(
|
|
3916
|
+
createFunctionContext: function(s) {
|
|
3911
3917
|
var n = this, v = "", _ = this.stackVars.concat(this.registers.list);
|
|
3912
3918
|
_.length > 0 && (v += ", " + _.join(", "));
|
|
3913
3919
|
var b = 0;
|
|
@@ -3918,14 +3924,14 @@ var ys = ir.exports;
|
|
|
3918
3924
|
var y = ["container", "depth0", "helpers", "partials", "data"];
|
|
3919
3925
|
(this.useBlockParams || this.useDepths) && y.push("blockParams"), this.useDepths && y.push("depths");
|
|
3920
3926
|
var E = this.mergeSource(v);
|
|
3921
|
-
return
|
|
3927
|
+
return s ? (y.push(E), Function.apply(this, y)) : this.source.wrap(["function(", y.join(","), `) {
|
|
3922
3928
|
`, E, "}"]);
|
|
3923
3929
|
},
|
|
3924
|
-
mergeSource: function(
|
|
3930
|
+
mergeSource: function(s) {
|
|
3925
3931
|
var n = this.environment.isSimple, v = !this.forceBuffer, _ = void 0, b = void 0, y = void 0, E = void 0;
|
|
3926
3932
|
return this.source.each(function(g) {
|
|
3927
3933
|
g.appendToBuffer ? (y ? g.prepend(" + ") : y = g, E = g) : (y && (b ? y.prepend("buffer += ") : _ = !0, E.add(";"), y = E = void 0), b = !0, n || (v = !1));
|
|
3928
|
-
}), v ? y ? (y.prepend("return "), E.add(";")) : b || this.source.push('return "";') : (
|
|
3934
|
+
}), v ? y ? (y.prepend("return "), E.add(";")) : b || this.source.push('return "";') : (s += ", buffer = " + (_ ? "" : this.initializeBuffer()), y ? (y.prepend("return buffer + "), E.add(";")) : this.source.push("return buffer;")), s && this.source.prepend("var " + s.substring(2) + (_ ? "" : `;
|
|
3929
3935
|
`)), this.source.merge();
|
|
3930
3936
|
},
|
|
3931
3937
|
lookupPropertyFunctionVarDeclaration: function() {
|
|
@@ -3947,9 +3953,9 @@ var ys = ir.exports;
|
|
|
3947
3953
|
// `{{#this.foo}}...{{/this.foo}}`, resolve the value of `foo`, and
|
|
3948
3954
|
// replace it on the stack with the result of properly
|
|
3949
3955
|
// invoking blockHelperMissing.
|
|
3950
|
-
blockValue: function(
|
|
3956
|
+
blockValue: function(s) {
|
|
3951
3957
|
var n = this.aliasable("container.hooks.blockHelperMissing"), v = [this.contextName(0)];
|
|
3952
|
-
this.setupHelperArgs(
|
|
3958
|
+
this.setupHelperArgs(s, 0, v);
|
|
3953
3959
|
var _ = this.popStack();
|
|
3954
3960
|
v.splice(1, 0, _), this.push(this.source.functionCall(n, "call", v));
|
|
3955
3961
|
},
|
|
@@ -3960,10 +3966,10 @@ var ys = ir.exports;
|
|
|
3960
3966
|
// On stack, after, if no lastHelper: same as [blockValue]
|
|
3961
3967
|
// On stack, after, if lastHelper: value
|
|
3962
3968
|
ambiguousBlockValue: function() {
|
|
3963
|
-
var
|
|
3969
|
+
var s = this.aliasable("container.hooks.blockHelperMissing"), n = [this.contextName(0)];
|
|
3964
3970
|
this.setupHelperArgs("", 0, n, !0), this.flushInline();
|
|
3965
3971
|
var v = this.topStack();
|
|
3966
|
-
n.splice(1, 0, v), this.pushSource(["if (!", this.lastHelper, ") { ", v, " = ", this.source.functionCall(
|
|
3972
|
+
n.splice(1, 0, v), this.pushSource(["if (!", this.lastHelper, ") { ", v, " = ", this.source.functionCall(s, "call", n), "}"]);
|
|
3967
3973
|
},
|
|
3968
3974
|
// [appendContent]
|
|
3969
3975
|
//
|
|
@@ -3971,8 +3977,8 @@ var ys = ir.exports;
|
|
|
3971
3977
|
// On stack, after: ...
|
|
3972
3978
|
//
|
|
3973
3979
|
// Appends the string value of `content` to the current buffer
|
|
3974
|
-
appendContent: function(
|
|
3975
|
-
this.pendingContent ?
|
|
3980
|
+
appendContent: function(s) {
|
|
3981
|
+
this.pendingContent ? s = this.pendingContent + s : this.pendingLocation = this.source.currentLocation, this.pendingContent = s;
|
|
3976
3982
|
},
|
|
3977
3983
|
// [append]
|
|
3978
3984
|
//
|
|
@@ -3989,8 +3995,8 @@ var ys = ir.exports;
|
|
|
3989
3995
|
return [" != null ? ", n, ' : ""'];
|
|
3990
3996
|
}), this.pushSource(this.appendToBuffer(this.popStack()));
|
|
3991
3997
|
else {
|
|
3992
|
-
var
|
|
3993
|
-
this.pushSource(["if (",
|
|
3998
|
+
var s = this.popStack();
|
|
3999
|
+
this.pushSource(["if (", s, " != null) { ", this.appendToBuffer(s, void 0, !0), " }"]), this.environment.isSimple && this.pushSource(["else { ", this.appendToBuffer("''", void 0, !0), " }"]);
|
|
3994
4000
|
}
|
|
3995
4001
|
},
|
|
3996
4002
|
// [appendEscaped]
|
|
@@ -4009,8 +4015,8 @@ var ys = ir.exports;
|
|
|
4009
4015
|
// Compiler value, after: lastContext=depth
|
|
4010
4016
|
//
|
|
4011
4017
|
// Set the value of the `lastContext` compiler value to the depth
|
|
4012
|
-
getContext: function(
|
|
4013
|
-
this.lastContext =
|
|
4018
|
+
getContext: function(s) {
|
|
4019
|
+
this.lastContext = s;
|
|
4014
4020
|
},
|
|
4015
4021
|
// [pushContext]
|
|
4016
4022
|
//
|
|
@@ -4028,9 +4034,9 @@ var ys = ir.exports;
|
|
|
4028
4034
|
//
|
|
4029
4035
|
// Looks up the value of `name` on the current context and pushes
|
|
4030
4036
|
// it onto the stack.
|
|
4031
|
-
lookupOnContext: function(
|
|
4037
|
+
lookupOnContext: function(s, n, v, _) {
|
|
4032
4038
|
var b = 0;
|
|
4033
|
-
!_ && this.options.compat && !this.lastContext ? this.push(this.depthedLookup(
|
|
4039
|
+
!_ && this.options.compat && !this.lastContext ? this.push(this.depthedLookup(s[b++])) : this.pushContext(), this.resolvePath("context", s, b, n, v);
|
|
4034
4040
|
},
|
|
4035
4041
|
// [lookupBlockParam]
|
|
4036
4042
|
//
|
|
@@ -4039,8 +4045,8 @@ var ys = ir.exports;
|
|
|
4039
4045
|
//
|
|
4040
4046
|
// Looks up the value of `parts` on the given block param and pushes
|
|
4041
4047
|
// it onto the stack.
|
|
4042
|
-
lookupBlockParam: function(
|
|
4043
|
-
this.useBlockParams = !0, this.push(["blockParams[",
|
|
4048
|
+
lookupBlockParam: function(s, n) {
|
|
4049
|
+
this.useBlockParams = !0, this.push(["blockParams[", s[0], "][", s[1], "]"]), this.resolvePath("context", n, 1);
|
|
4044
4050
|
},
|
|
4045
4051
|
// [lookupData]
|
|
4046
4052
|
//
|
|
@@ -4048,18 +4054,18 @@ var ys = ir.exports;
|
|
|
4048
4054
|
// On stack, after: data, ...
|
|
4049
4055
|
//
|
|
4050
4056
|
// Push the data lookup operator
|
|
4051
|
-
lookupData: function(
|
|
4052
|
-
|
|
4057
|
+
lookupData: function(s, n, v) {
|
|
4058
|
+
s ? this.pushStackLiteral("container.data(data, " + s + ")") : this.pushStackLiteral("data"), this.resolvePath("data", n, 0, !0, v);
|
|
4053
4059
|
},
|
|
4054
|
-
resolvePath: function(
|
|
4060
|
+
resolvePath: function(s, n, v, _, b) {
|
|
4055
4061
|
var y = this;
|
|
4056
4062
|
if (this.options.strict || this.options.assumeObjects) {
|
|
4057
|
-
this.push(d(this.options.strict && b, this, n, v,
|
|
4063
|
+
this.push(d(this.options.strict && b, this, n, v, s));
|
|
4058
4064
|
return;
|
|
4059
4065
|
}
|
|
4060
4066
|
for (var E = n.length; v < E; v++)
|
|
4061
4067
|
this.replaceStack(function(g) {
|
|
4062
|
-
var S = y.nameLookup(g, n[v],
|
|
4068
|
+
var S = y.nameLookup(g, n[v], s);
|
|
4063
4069
|
return _ ? [" && ", S] : [" != null ? ", S, " : ", g];
|
|
4064
4070
|
});
|
|
4065
4071
|
},
|
|
@@ -4081,18 +4087,18 @@ var ys = ir.exports;
|
|
|
4081
4087
|
// This opcode is designed for use in string mode, which
|
|
4082
4088
|
// provides the string value of a parameter along with its
|
|
4083
4089
|
// depth rather than resolving it immediately.
|
|
4084
|
-
pushStringParam: function(
|
|
4085
|
-
this.pushContext(), this.pushString(n), n !== "SubExpression" && (typeof
|
|
4090
|
+
pushStringParam: function(s, n) {
|
|
4091
|
+
this.pushContext(), this.pushString(n), n !== "SubExpression" && (typeof s == "string" ? this.pushString(s) : this.pushStackLiteral(s));
|
|
4086
4092
|
},
|
|
4087
|
-
emptyHash: function(
|
|
4088
|
-
this.trackIds && this.push("{}"), this.stringParams && (this.push("{}"), this.push("{}")), this.pushStackLiteral(
|
|
4093
|
+
emptyHash: function(s) {
|
|
4094
|
+
this.trackIds && this.push("{}"), this.stringParams && (this.push("{}"), this.push("{}")), this.pushStackLiteral(s ? "undefined" : "{}");
|
|
4089
4095
|
},
|
|
4090
4096
|
pushHash: function() {
|
|
4091
4097
|
this.hash && this.hashes.push(this.hash), this.hash = { values: {}, types: [], contexts: [], ids: [] };
|
|
4092
4098
|
},
|
|
4093
4099
|
popHash: function() {
|
|
4094
|
-
var
|
|
4095
|
-
this.hash = this.hashes.pop(), this.trackIds && this.push(this.objectLiteral(
|
|
4100
|
+
var s = this.hash;
|
|
4101
|
+
this.hash = this.hashes.pop(), this.trackIds && this.push(this.objectLiteral(s.ids)), this.stringParams && (this.push(this.objectLiteral(s.contexts)), this.push(this.objectLiteral(s.types))), this.push(this.objectLiteral(s.values));
|
|
4096
4102
|
},
|
|
4097
4103
|
// [pushString]
|
|
4098
4104
|
//
|
|
@@ -4100,8 +4106,8 @@ var ys = ir.exports;
|
|
|
4100
4106
|
// On stack, after: quotedString(string), ...
|
|
4101
4107
|
//
|
|
4102
4108
|
// Push a quoted version of `string` onto the stack
|
|
4103
|
-
pushString: function(
|
|
4104
|
-
this.pushStackLiteral(this.quotedString(
|
|
4109
|
+
pushString: function(s) {
|
|
4110
|
+
this.pushStackLiteral(this.quotedString(s));
|
|
4105
4111
|
},
|
|
4106
4112
|
// [pushLiteral]
|
|
4107
4113
|
//
|
|
@@ -4111,8 +4117,8 @@ var ys = ir.exports;
|
|
|
4111
4117
|
// Pushes a value onto the stack. This operation prevents
|
|
4112
4118
|
// the compiler from creating a temporary variable to hold
|
|
4113
4119
|
// it.
|
|
4114
|
-
pushLiteral: function(
|
|
4115
|
-
this.pushStackLiteral(
|
|
4120
|
+
pushLiteral: function(s) {
|
|
4121
|
+
this.pushStackLiteral(s);
|
|
4116
4122
|
},
|
|
4117
4123
|
// [pushProgram]
|
|
4118
4124
|
//
|
|
@@ -4122,8 +4128,8 @@ var ys = ir.exports;
|
|
|
4122
4128
|
// Push a program expression onto the stack. This takes
|
|
4123
4129
|
// a compile-time guid and converts it into a runtime-accessible
|
|
4124
4130
|
// expression.
|
|
4125
|
-
pushProgram: function(
|
|
4126
|
-
|
|
4131
|
+
pushProgram: function(s) {
|
|
4132
|
+
s != null ? this.pushStackLiteral(this.programExpression(s)) : this.pushStackLiteral(null);
|
|
4127
4133
|
},
|
|
4128
4134
|
// [registerDecorator]
|
|
4129
4135
|
//
|
|
@@ -4132,8 +4138,8 @@ var ys = ir.exports;
|
|
|
4132
4138
|
//
|
|
4133
4139
|
// Pops off the decorator's parameters, invokes the decorator,
|
|
4134
4140
|
// and inserts the decorator into the decorators list.
|
|
4135
|
-
registerDecorator: function(
|
|
4136
|
-
var v = this.nameLookup("decorators", n, "decorator"), _ = this.setupHelperArgs(n,
|
|
4141
|
+
registerDecorator: function(s, n) {
|
|
4142
|
+
var v = this.nameLookup("decorators", n, "decorator"), _ = this.setupHelperArgs(n, s);
|
|
4137
4143
|
this.decorators.push(["fn = ", this.decorators.functionCall(v, "", ["fn", "props", "container", _]), " || fn;"]);
|
|
4138
4144
|
},
|
|
4139
4145
|
// [invokeHelper]
|
|
@@ -4145,17 +4151,17 @@ var ys = ir.exports;
|
|
|
4145
4151
|
// and pushes the helper's return value onto the stack.
|
|
4146
4152
|
//
|
|
4147
4153
|
// If the helper is not found, `helperMissing` is called.
|
|
4148
|
-
invokeHelper: function(
|
|
4149
|
-
var _ = this.popStack(), b = this.setupHelper(
|
|
4154
|
+
invokeHelper: function(s, n, v) {
|
|
4155
|
+
var _ = this.popStack(), b = this.setupHelper(s, n), y = [];
|
|
4150
4156
|
v && y.push(b.name), y.push(_), this.options.strict || y.push(this.aliasable("container.hooks.helperMissing"));
|
|
4151
4157
|
var E = ["(", this.itemsSeparatedBy(y, "||"), ")"], g = this.source.functionCall(E, "call", b.callParams);
|
|
4152
4158
|
this.push(g);
|
|
4153
4159
|
},
|
|
4154
|
-
itemsSeparatedBy: function(
|
|
4160
|
+
itemsSeparatedBy: function(s, n) {
|
|
4155
4161
|
var v = [];
|
|
4156
|
-
v.push(
|
|
4157
|
-
for (var _ = 1; _ <
|
|
4158
|
-
v.push(n,
|
|
4162
|
+
v.push(s[0]);
|
|
4163
|
+
for (var _ = 1; _ < s.length; _++)
|
|
4164
|
+
v.push(n, s[_]);
|
|
4159
4165
|
return v;
|
|
4160
4166
|
},
|
|
4161
4167
|
// [invokeKnownHelper]
|
|
@@ -4165,8 +4171,8 @@ var ys = ir.exports;
|
|
|
4165
4171
|
//
|
|
4166
4172
|
// This operation is used when the helper is known to exist,
|
|
4167
4173
|
// so a `helperMissing` fallback is not required.
|
|
4168
|
-
invokeKnownHelper: function(
|
|
4169
|
-
var v = this.setupHelper(
|
|
4174
|
+
invokeKnownHelper: function(s, n) {
|
|
4175
|
+
var v = this.setupHelper(s, n);
|
|
4170
4176
|
this.push(this.source.functionCall(v.name, "call", v.callParams));
|
|
4171
4177
|
},
|
|
4172
4178
|
// [invokeAmbiguous]
|
|
@@ -4181,11 +4187,11 @@ var ys = ir.exports;
|
|
|
4181
4187
|
// This operation emits more code than the other options,
|
|
4182
4188
|
// and can be avoided by passing the `knownHelpers` and
|
|
4183
4189
|
// `knownHelpersOnly` flags at compile-time.
|
|
4184
|
-
invokeAmbiguous: function(
|
|
4190
|
+
invokeAmbiguous: function(s, n) {
|
|
4185
4191
|
this.useRegister("helper");
|
|
4186
4192
|
var v = this.popStack();
|
|
4187
4193
|
this.emptyHash();
|
|
4188
|
-
var _ = this.setupHelper(0,
|
|
4194
|
+
var _ = this.setupHelper(0, s, n), b = this.lastHelper = this.nameLookup("helpers", s, "helper"), y = ["(", "(helper = ", b, " || ", v, ")"];
|
|
4189
4195
|
this.options.strict || (y[0] = "(helper = ", y.push(" != null ? helper : ", this.aliasable("container.hooks.helperMissing"))), this.push(["(", y, _.paramsInit ? ["),(", _.paramsInit] : [], "),", "(typeof helper === ", this.aliasable('"function"'), " ? ", this.source.functionCall("helper", "call", _.callParams), " : helper))"]);
|
|
4190
4196
|
},
|
|
4191
4197
|
// [invokePartial]
|
|
@@ -4195,9 +4201,9 @@ var ys = ir.exports;
|
|
|
4195
4201
|
//
|
|
4196
4202
|
// This operation pops off a context, invokes a partial with that context,
|
|
4197
4203
|
// and pushes the result of the invocation back.
|
|
4198
|
-
invokePartial: function(
|
|
4204
|
+
invokePartial: function(s, n, v) {
|
|
4199
4205
|
var _ = [], b = this.setupParams(n, 1, _);
|
|
4200
|
-
|
|
4206
|
+
s && (n = this.popStack(), delete b.name), v && (b.indent = JSON.stringify(v)), b.helpers = "helpers", b.partials = "partials", b.decorators = "container.decorators", s ? _.unshift(n) : _.unshift(this.nameLookup("partials", n, "partial")), this.options.compat && (b.depths = "depths"), b = this.objectLiteral(b), _.push(b), this.push(this.source.functionCall("container.invokePartial", "", _));
|
|
4201
4207
|
},
|
|
4202
4208
|
// [assignToHash]
|
|
4203
4209
|
//
|
|
@@ -4205,19 +4211,19 @@ var ys = ir.exports;
|
|
|
4205
4211
|
// On stack, after: ..., hash, ...
|
|
4206
4212
|
//
|
|
4207
4213
|
// Pops a value off the stack and assigns it to the current hash
|
|
4208
|
-
assignToHash: function(
|
|
4214
|
+
assignToHash: function(s) {
|
|
4209
4215
|
var n = this.popStack(), v = void 0, _ = void 0, b = void 0;
|
|
4210
4216
|
this.trackIds && (b = this.popStack()), this.stringParams && (_ = this.popStack(), v = this.popStack());
|
|
4211
4217
|
var y = this.hash;
|
|
4212
|
-
v && (y.contexts[
|
|
4218
|
+
v && (y.contexts[s] = v), _ && (y.types[s] = _), b && (y.ids[s] = b), y.values[s] = n;
|
|
4213
4219
|
},
|
|
4214
|
-
pushId: function(
|
|
4215
|
-
|
|
4220
|
+
pushId: function(s, n, v) {
|
|
4221
|
+
s === "BlockParam" ? this.pushStackLiteral("blockParams[" + n[0] + "].path[" + n[1] + "]" + (v ? " + " + JSON.stringify("." + v) : "")) : s === "PathExpression" ? this.pushString(n) : s === "SubExpression" ? this.pushStackLiteral("true") : this.pushStackLiteral("null");
|
|
4216
4222
|
},
|
|
4217
4223
|
// HELPERS
|
|
4218
|
-
compiler:
|
|
4219
|
-
compileChildren: function(
|
|
4220
|
-
for (var v =
|
|
4224
|
+
compiler: a,
|
|
4225
|
+
compileChildren: function(s, n) {
|
|
4226
|
+
for (var v = s.children, _ = void 0, b = void 0, y = 0, E = v.length; y < E; y++) {
|
|
4221
4227
|
_ = v[y], b = new this.compiler();
|
|
4222
4228
|
var g = this.matchExistingProgram(_);
|
|
4223
4229
|
if (g == null) {
|
|
@@ -4228,30 +4234,30 @@ var ys = ir.exports;
|
|
|
4228
4234
|
_.index = g.index, _.name = "program" + g.index, this.useDepths = this.useDepths || g.useDepths, this.useBlockParams = this.useBlockParams || g.useBlockParams;
|
|
4229
4235
|
}
|
|
4230
4236
|
},
|
|
4231
|
-
matchExistingProgram: function(
|
|
4237
|
+
matchExistingProgram: function(s) {
|
|
4232
4238
|
for (var n = 0, v = this.context.environments.length; n < v; n++) {
|
|
4233
4239
|
var _ = this.context.environments[n];
|
|
4234
|
-
if (_ && _.equals(
|
|
4240
|
+
if (_ && _.equals(s))
|
|
4235
4241
|
return _;
|
|
4236
4242
|
}
|
|
4237
4243
|
},
|
|
4238
|
-
programExpression: function(
|
|
4239
|
-
var n = this.environment.children[
|
|
4244
|
+
programExpression: function(s) {
|
|
4245
|
+
var n = this.environment.children[s], v = [n.index, "data", n.blockParams];
|
|
4240
4246
|
return (this.useBlockParams || this.useDepths) && v.push("blockParams"), this.useDepths && v.push("depths"), "container.program(" + v.join(", ") + ")";
|
|
4241
4247
|
},
|
|
4242
|
-
useRegister: function(
|
|
4243
|
-
this.registers[
|
|
4248
|
+
useRegister: function(s) {
|
|
4249
|
+
this.registers[s] || (this.registers[s] = !0, this.registers.list.push(s));
|
|
4244
4250
|
},
|
|
4245
|
-
push: function(
|
|
4246
|
-
return
|
|
4251
|
+
push: function(s) {
|
|
4252
|
+
return s instanceof u || (s = this.source.wrap(s)), this.inlineStack.push(s), s;
|
|
4247
4253
|
},
|
|
4248
|
-
pushStackLiteral: function(
|
|
4249
|
-
this.push(new u(
|
|
4254
|
+
pushStackLiteral: function(s) {
|
|
4255
|
+
this.push(new u(s));
|
|
4250
4256
|
},
|
|
4251
|
-
pushSource: function(
|
|
4252
|
-
this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0),
|
|
4257
|
+
pushSource: function(s) {
|
|
4258
|
+
this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0), s && this.source.push(s);
|
|
4253
4259
|
},
|
|
4254
|
-
replaceStack: function(
|
|
4260
|
+
replaceStack: function(s) {
|
|
4255
4261
|
var n = ["("], v = void 0, _ = void 0, b = void 0;
|
|
4256
4262
|
if (!this.isInline())
|
|
4257
4263
|
throw new f.default("replaceStack on non-inline");
|
|
@@ -4263,7 +4269,7 @@ var ys = ir.exports;
|
|
|
4263
4269
|
var E = this.incrStack();
|
|
4264
4270
|
n = ["((", this.push(E), " = ", y, ")"], v = this.topStack();
|
|
4265
4271
|
}
|
|
4266
|
-
var g =
|
|
4272
|
+
var g = s.call(this, v);
|
|
4267
4273
|
b || this.popStack(), _ && this.stackSlot--, this.push(n.concat(g, ")"));
|
|
4268
4274
|
},
|
|
4269
4275
|
incrStack: function() {
|
|
@@ -4273,10 +4279,10 @@ var ys = ir.exports;
|
|
|
4273
4279
|
return "stack" + this.stackSlot;
|
|
4274
4280
|
},
|
|
4275
4281
|
flushInline: function() {
|
|
4276
|
-
var
|
|
4282
|
+
var s = this.inlineStack;
|
|
4277
4283
|
this.inlineStack = [];
|
|
4278
|
-
for (var n = 0, v =
|
|
4279
|
-
var _ =
|
|
4284
|
+
for (var n = 0, v = s.length; n < v; n++) {
|
|
4285
|
+
var _ = s[n];
|
|
4280
4286
|
if (_ instanceof u)
|
|
4281
4287
|
this.compileStack.push(_);
|
|
4282
4288
|
else {
|
|
@@ -4288,9 +4294,9 @@ var ys = ir.exports;
|
|
|
4288
4294
|
isInline: function() {
|
|
4289
4295
|
return this.inlineStack.length;
|
|
4290
4296
|
},
|
|
4291
|
-
popStack: function(
|
|
4297
|
+
popStack: function(s) {
|
|
4292
4298
|
var n = this.isInline(), v = (n ? this.inlineStack : this.compileStack).pop();
|
|
4293
|
-
if (!
|
|
4299
|
+
if (!s && v instanceof u)
|
|
4294
4300
|
return v.value;
|
|
4295
4301
|
if (!n) {
|
|
4296
4302
|
if (!this.stackSlot)
|
|
@@ -4300,24 +4306,24 @@ var ys = ir.exports;
|
|
|
4300
4306
|
return v;
|
|
4301
4307
|
},
|
|
4302
4308
|
topStack: function() {
|
|
4303
|
-
var
|
|
4309
|
+
var s = this.isInline() ? this.inlineStack : this.compileStack, n = s[s.length - 1];
|
|
4304
4310
|
return n instanceof u ? n.value : n;
|
|
4305
4311
|
},
|
|
4306
|
-
contextName: function(
|
|
4307
|
-
return this.useDepths &&
|
|
4312
|
+
contextName: function(s) {
|
|
4313
|
+
return this.useDepths && s ? "depths[" + s + "]" : "depth" + s;
|
|
4308
4314
|
},
|
|
4309
|
-
quotedString: function(
|
|
4310
|
-
return this.source.quotedString(
|
|
4315
|
+
quotedString: function(s) {
|
|
4316
|
+
return this.source.quotedString(s);
|
|
4311
4317
|
},
|
|
4312
|
-
objectLiteral: function(
|
|
4313
|
-
return this.source.objectLiteral(
|
|
4318
|
+
objectLiteral: function(s) {
|
|
4319
|
+
return this.source.objectLiteral(s);
|
|
4314
4320
|
},
|
|
4315
|
-
aliasable: function(
|
|
4316
|
-
var n = this.aliases[
|
|
4317
|
-
return n ? (n.referenceCount++, n) : (n = this.aliases[
|
|
4321
|
+
aliasable: function(s) {
|
|
4322
|
+
var n = this.aliases[s];
|
|
4323
|
+
return n ? (n.referenceCount++, n) : (n = this.aliases[s] = this.source.wrap(s), n.aliasable = !0, n.referenceCount = 1, n);
|
|
4318
4324
|
},
|
|
4319
|
-
setupHelper: function(
|
|
4320
|
-
var _ = [], b = this.setupHelperArgs(n,
|
|
4325
|
+
setupHelper: function(s, n, v) {
|
|
4326
|
+
var _ = [], b = this.setupHelperArgs(n, s, _, v), y = this.nameLookup("helpers", n, "helper"), E = this.aliasable(this.contextName(0) + " != null ? " + this.contextName(0) + " : (container.nullContext || {})");
|
|
4321
4327
|
return {
|
|
4322
4328
|
params: _,
|
|
4323
4329
|
paramsInit: b,
|
|
@@ -4325,53 +4331,53 @@ var ys = ir.exports;
|
|
|
4325
4331
|
callParams: [E].concat(_)
|
|
4326
4332
|
};
|
|
4327
4333
|
},
|
|
4328
|
-
setupParams: function(
|
|
4334
|
+
setupParams: function(s, n, v) {
|
|
4329
4335
|
var _ = {}, b = [], y = [], E = [], g = !v, S = void 0;
|
|
4330
|
-
g && (v = []), _.name = this.quotedString(
|
|
4336
|
+
g && (v = []), _.name = this.quotedString(s), _.hash = this.popStack(), this.trackIds && (_.hashIds = this.popStack()), this.stringParams && (_.hashTypes = this.popStack(), _.hashContexts = this.popStack());
|
|
4331
4337
|
var A = this.popStack(), k = this.popStack();
|
|
4332
4338
|
(k || A) && (_.fn = k || "container.noop", _.inverse = A || "container.noop");
|
|
4333
4339
|
for (var x = n; x--; )
|
|
4334
4340
|
S = this.popStack(), v[x] = S, this.trackIds && (E[x] = this.popStack()), this.stringParams && (y[x] = this.popStack(), b[x] = this.popStack());
|
|
4335
4341
|
return g && (_.args = this.source.generateArray(v)), this.trackIds && (_.ids = this.source.generateArray(E)), this.stringParams && (_.types = this.source.generateArray(y), _.contexts = this.source.generateArray(b)), this.options.data && (_.data = "data"), this.useBlockParams && (_.blockParams = "blockParams"), _;
|
|
4336
4342
|
},
|
|
4337
|
-
setupHelperArgs: function(
|
|
4338
|
-
var b = this.setupParams(
|
|
4343
|
+
setupHelperArgs: function(s, n, v, _) {
|
|
4344
|
+
var b = this.setupParams(s, n, v);
|
|
4339
4345
|
return b.loc = JSON.stringify(this.source.currentLocation), b = this.objectLiteral(b), _ ? (this.useRegister("options"), v.push("options"), ["options=", b]) : v ? (v.push(b), "") : b;
|
|
4340
4346
|
}
|
|
4341
4347
|
}, function() {
|
|
4342
|
-
for (var r = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),
|
|
4343
|
-
|
|
4344
|
-
}(),
|
|
4345
|
-
return !
|
|
4348
|
+
for (var r = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "), s = a.RESERVED_WORDS = {}, n = 0, v = r.length; n < v; n++)
|
|
4349
|
+
s[r[n]] = !0;
|
|
4350
|
+
}(), a.isValidJavaScriptVariableName = function(r) {
|
|
4351
|
+
return !a.RESERVED_WORDS[r] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(r);
|
|
4346
4352
|
};
|
|
4347
|
-
function d(r,
|
|
4348
|
-
var b =
|
|
4353
|
+
function d(r, s, n, v, _) {
|
|
4354
|
+
var b = s.popStack(), y = n.length;
|
|
4349
4355
|
for (r && y--; v < y; v++)
|
|
4350
|
-
b =
|
|
4351
|
-
return r ? [
|
|
4356
|
+
b = s.nameLookup(b, n[v], _);
|
|
4357
|
+
return r ? [s.aliasable("container.strict"), "(", b, ", ", s.quotedString(n[v]), ", ", JSON.stringify(s.source.currentLocation), " )"] : b;
|
|
4352
4358
|
}
|
|
4353
|
-
e.default =
|
|
4359
|
+
e.default = a, t.exports = e.default;
|
|
4354
4360
|
})(nr, nr.exports);
|
|
4355
|
-
var
|
|
4361
|
+
var Sa = nr.exports;
|
|
4356
4362
|
(function(t, e) {
|
|
4357
4363
|
e.__esModule = !0;
|
|
4358
4364
|
function i(y) {
|
|
4359
4365
|
return y && y.__esModule ? y : { default: y };
|
|
4360
4366
|
}
|
|
4361
|
-
var c = Ho, h = i(c), f = bn, p = i(f), l = De, o = Be, u =
|
|
4367
|
+
var c = Ho, h = i(c), f = bn, p = i(f), l = De, o = Be, u = Sa, a = i(u), d = En, r = i(d), s = Sn, n = i(s), v = h.default.create;
|
|
4362
4368
|
function _() {
|
|
4363
4369
|
var y = v();
|
|
4364
4370
|
return y.compile = function(E, g) {
|
|
4365
4371
|
return o.compile(E, g, y);
|
|
4366
4372
|
}, y.precompile = function(E, g) {
|
|
4367
4373
|
return o.precompile(E, g, y);
|
|
4368
|
-
}, y.AST = p.default, y.Compiler = o.Compiler, y.JavaScriptCompiler =
|
|
4374
|
+
}, y.AST = p.default, y.Compiler = o.Compiler, y.JavaScriptCompiler = a.default, y.Parser = l.parser, y.parse = l.parse, y.parseWithoutProcessing = l.parseWithoutProcessing, y;
|
|
4369
4375
|
}
|
|
4370
4376
|
var b = _();
|
|
4371
4377
|
b.create = _, n.default(b), b.Visitor = r.default, b.default = b, e.default = b, t.exports = e.default;
|
|
4372
4378
|
})(It, It.exports);
|
|
4373
|
-
var
|
|
4374
|
-
const or = /* @__PURE__ */ zn(
|
|
4379
|
+
var ba = It.exports;
|
|
4380
|
+
const or = /* @__PURE__ */ zn(ba);
|
|
4375
4381
|
or.registerHelper("costOrNA", (t) => t || "N/A");
|
|
4376
4382
|
function un(t) {
|
|
4377
4383
|
switch (t) {
|
|
@@ -4383,20 +4389,20 @@ function un(t) {
|
|
|
4383
4389
|
return "#7A7A7A";
|
|
4384
4390
|
}
|
|
4385
4391
|
}
|
|
4386
|
-
function
|
|
4392
|
+
function Oa(t, e) {
|
|
4387
4393
|
const i = t.map((h) => {
|
|
4388
4394
|
var f;
|
|
4389
4395
|
try {
|
|
4390
4396
|
let p, l;
|
|
4391
4397
|
if ((f = h.config) != null && f.templateHtml) {
|
|
4392
4398
|
p = h.config.templateHtml;
|
|
4393
|
-
const
|
|
4394
|
-
l = Br(
|
|
4399
|
+
const a = h.config.configFields || [];
|
|
4400
|
+
l = Br(a);
|
|
4395
4401
|
} else {
|
|
4396
|
-
const
|
|
4397
|
-
if (!
|
|
4398
|
-
p =
|
|
4399
|
-
const d =
|
|
4402
|
+
const a = ar[h.tag];
|
|
4403
|
+
if (!a) return "";
|
|
4404
|
+
p = a.template;
|
|
4405
|
+
const d = a.initialConfigFields();
|
|
4400
4406
|
l = { ...Br(d), ...h.config || {} };
|
|
4401
4407
|
}
|
|
4402
4408
|
if (h.tag === "customText" && l.content)
|
|
@@ -4445,7 +4451,7 @@ function Os(t, e) {
|
|
|
4445
4451
|
}
|
|
4446
4452
|
</style>`;
|
|
4447
4453
|
}
|
|
4448
|
-
const
|
|
4454
|
+
const Ma = Vn("printTemplate", () => {
|
|
4449
4455
|
const t = mt([]), e = mt(!1), i = mt(!1), c = Kn(() => {
|
|
4450
4456
|
const l = {};
|
|
4451
4457
|
for (const o of t.value)
|
|
@@ -4480,7 +4486,7 @@ const Ms = Vn("printTemplate", () => {
|
|
|
4480
4486
|
getTemplateByType: f,
|
|
4481
4487
|
invalidate: p
|
|
4482
4488
|
};
|
|
4483
|
-
}),
|
|
4489
|
+
}), Ea = {
|
|
4484
4490
|
purchaseOrder: [
|
|
4485
4491
|
{
|
|
4486
4492
|
id: "standard-po",
|
|
@@ -4514,20 +4520,20 @@ const Ms = Vn("printTemplate", () => {
|
|
|
4514
4520
|
}
|
|
4515
4521
|
]
|
|
4516
4522
|
};
|
|
4517
|
-
function
|
|
4518
|
-
return
|
|
4523
|
+
function Na(t) {
|
|
4524
|
+
return Ea[t][0];
|
|
4519
4525
|
}
|
|
4520
4526
|
export {
|
|
4521
|
-
|
|
4527
|
+
ar as B,
|
|
4522
4528
|
Ke as a,
|
|
4523
4529
|
pe as b,
|
|
4524
|
-
|
|
4530
|
+
xa as c,
|
|
4525
4531
|
Qn as d,
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4532
|
+
Ta as e,
|
|
4533
|
+
Ma as f,
|
|
4534
|
+
Pa as g,
|
|
4535
|
+
Na as h,
|
|
4536
|
+
Oa as r,
|
|
4531
4537
|
je as s,
|
|
4532
4538
|
Jn as u
|
|
4533
4539
|
};
|