@teleporthq/teleport-shared 0.43.67 → 0.43.68
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/__tests__/utils/discount-engine.ts +1548 -0
- package/__tests__/utils/product-options.ts +2458 -0
- package/__tests__/utils/subscription-access.ts +37 -0
- package/dist/cjs/index.d.ts +9 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +17 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/cjs/utils/cart-currency.d.ts +27 -0
- package/dist/cjs/utils/cart-currency.d.ts.map +1 -0
- package/dist/cjs/utils/cart-currency.js +31 -0
- package/dist/cjs/utils/cart-currency.js.map +1 -0
- package/dist/cjs/utils/cart-line-pricing.d.ts +25 -0
- package/dist/cjs/utils/cart-line-pricing.d.ts.map +1 -0
- package/dist/cjs/utils/cart-line-pricing.js +29 -0
- package/dist/cjs/utils/cart-line-pricing.js.map +1 -0
- package/dist/cjs/utils/discount-engine.d.ts +74 -0
- package/dist/cjs/utils/discount-engine.d.ts.map +1 -0
- package/dist/cjs/utils/discount-engine.js +435 -0
- package/dist/cjs/utils/discount-engine.js.map +1 -0
- package/dist/cjs/utils/product-options.d.ts +25 -0
- package/dist/cjs/utils/product-options.d.ts.map +1 -0
- package/dist/cjs/utils/product-options.js +1155 -0
- package/dist/cjs/utils/product-options.js.map +1 -0
- package/dist/cjs/utils/session-cookie-resolver.d.ts +85 -0
- package/dist/cjs/utils/session-cookie-resolver.d.ts.map +1 -0
- package/dist/cjs/utils/session-cookie-resolver.js +108 -0
- package/dist/cjs/utils/session-cookie-resolver.js.map +1 -0
- package/dist/cjs/utils/subscription-access.d.ts +36 -0
- package/dist/cjs/utils/subscription-access.d.ts.map +1 -0
- package/dist/cjs/utils/subscription-access.js +61 -0
- package/dist/cjs/utils/subscription-access.js.map +1 -0
- package/dist/cjs/utils/table-access.d.ts +114 -0
- package/dist/cjs/utils/table-access.d.ts.map +1 -0
- package/dist/cjs/utils/table-access.js +238 -0
- package/dist/cjs/utils/table-access.js.map +1 -0
- package/dist/cjs/utils/web-push.d.ts +43 -0
- package/dist/cjs/utils/web-push.d.ts.map +1 -0
- package/dist/cjs/utils/web-push.js +62 -0
- package/dist/cjs/utils/web-push.js.map +1 -0
- package/dist/esm/index.d.ts +9 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +9 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/utils/cart-currency.d.ts +27 -0
- package/dist/esm/utils/cart-currency.d.ts.map +1 -0
- package/dist/esm/utils/cart-currency.js +27 -0
- package/dist/esm/utils/cart-currency.js.map +1 -0
- package/dist/esm/utils/cart-line-pricing.d.ts +25 -0
- package/dist/esm/utils/cart-line-pricing.d.ts.map +1 -0
- package/dist/esm/utils/cart-line-pricing.js +25 -0
- package/dist/esm/utils/cart-line-pricing.js.map +1 -0
- package/dist/esm/utils/discount-engine.d.ts +74 -0
- package/dist/esm/utils/discount-engine.d.ts.map +1 -0
- package/dist/esm/utils/discount-engine.js +431 -0
- package/dist/esm/utils/discount-engine.js.map +1 -0
- package/dist/esm/utils/product-options.d.ts +25 -0
- package/dist/esm/utils/product-options.d.ts.map +1 -0
- package/dist/esm/utils/product-options.js +1151 -0
- package/dist/esm/utils/product-options.js.map +1 -0
- package/dist/esm/utils/session-cookie-resolver.d.ts +85 -0
- package/dist/esm/utils/session-cookie-resolver.d.ts.map +1 -0
- package/dist/esm/utils/session-cookie-resolver.js +103 -0
- package/dist/esm/utils/session-cookie-resolver.js.map +1 -0
- package/dist/esm/utils/subscription-access.d.ts +36 -0
- package/dist/esm/utils/subscription-access.d.ts.map +1 -0
- package/dist/esm/utils/subscription-access.js +57 -0
- package/dist/esm/utils/subscription-access.js.map +1 -0
- package/dist/esm/utils/table-access.d.ts +114 -0
- package/dist/esm/utils/table-access.d.ts.map +1 -0
- package/dist/esm/utils/table-access.js +233 -0
- package/dist/esm/utils/table-access.js.map +1 -0
- package/dist/esm/utils/web-push.d.ts +43 -0
- package/dist/esm/utils/web-push.d.ts.map +1 -0
- package/dist/esm/utils/web-push.js +59 -0
- package/dist/esm/utils/web-push.js.map +1 -0
- package/package.json +3 -3
- package/src/index.ts +16 -0
- package/src/utils/cart-currency.ts +76 -0
- package/src/utils/cart-line-pricing.ts +151 -0
- package/src/utils/discount-engine.ts +437 -0
- package/src/utils/product-options.ts +1150 -0
- package/src/utils/session-cookie-resolver.ts +305 -0
- package/src/utils/subscription-access.ts +59 -0
- package/src/utils/table-access.ts +516 -0
- package/src/utils/web-push.ts +61 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SUBSCRIPTION_ENTITLED_STATUSES,
|
|
3
|
+
SUBSCRIPTION_ENTITLEMENT_SQL,
|
|
4
|
+
normalizeSubscriptionProductIds,
|
|
5
|
+
} from '../../src/utils/subscription-access'
|
|
6
|
+
|
|
7
|
+
describe('subscription access', () => {
|
|
8
|
+
it('entitles a trial, an active period and the retry window of a failed charge — nothing else', () => {
|
|
9
|
+
expect(SUBSCRIPTION_ENTITLED_STATUSES).toEqual(['trialing', 'active', 'past_due'])
|
|
10
|
+
for (const status of ['pending', 'paused', 'cancelled', 'expired']) {
|
|
11
|
+
expect(SUBSCRIPTION_ENTITLED_STATUSES).not.toContain(status)
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
it('is one parameterised statement: user, statuses, products (empty = any)', () => {
|
|
16
|
+
expect(SUBSCRIPTION_ENTITLEMENT_SQL).toBe(
|
|
17
|
+
'SELECT 1 FROM teleport_subscriptions s WHERE s.user_id::text = $1 AND s.status = ANY($2::text[]) ' +
|
|
18
|
+
'AND (cardinality($3::text[]) = 0 OR s.product_id::text = ANY($3::text[])) ' +
|
|
19
|
+
"AND ((to_jsonb(s) ->> 'access_until') IS NULL " +
|
|
20
|
+
"OR (to_jsonb(s) ->> 'access_until')::timestamp > NOW()) LIMIT 1"
|
|
21
|
+
)
|
|
22
|
+
expect(SUBSCRIPTION_ENTITLEMENT_SQL).not.toMatch(/\$[4-9]/)
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
it('ends a store-billed row at its access date, read so an older table without the column still answers', () => {
|
|
26
|
+
// `to_jsonb` of a row without the column has no key: NULL, never a limit.
|
|
27
|
+
expect(SUBSCRIPTION_ENTITLEMENT_SQL).not.toMatch(/\baccess_until\s*[<>=]/)
|
|
28
|
+
expect(SUBSCRIPTION_ENTITLEMENT_SQL).toContain("(to_jsonb(s) ->> 'access_until') IS NULL")
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it('normalises ids from an array or a comma list', () => {
|
|
32
|
+
expect(normalizeSubscriptionProductIds(['a', ' b ', 'a', '', null])).toEqual(['a', 'b'])
|
|
33
|
+
expect(normalizeSubscriptionProductIds('a, b,,a')).toEqual(['a', 'b'])
|
|
34
|
+
expect(normalizeSubscriptionProductIds(undefined)).toEqual([])
|
|
35
|
+
expect(normalizeSubscriptionProductIds(42)).toEqual([])
|
|
36
|
+
})
|
|
37
|
+
})
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -15,11 +15,19 @@ import * as StorefrontTax from './utils/storefront-tax';
|
|
|
15
15
|
import * as ProductDiscounts from './utils/product-discounts';
|
|
16
16
|
import * as ProductRatings from './utils/product-ratings';
|
|
17
17
|
import * as RegionalPricing from './utils/regional-pricing';
|
|
18
|
+
import * as DiscountEngine from './utils/discount-engine';
|
|
19
|
+
import * as ProductOptions from './utils/product-options';
|
|
20
|
+
import * as CartLinePricing from './utils/cart-line-pricing';
|
|
21
|
+
import * as CartCurrency from './utils/cart-currency';
|
|
22
|
+
import * as TableAccess from './utils/table-access';
|
|
23
|
+
import * as SessionCookieResolver from './utils/session-cookie-resolver';
|
|
24
|
+
import * as SubscriptionAccess from './utils/subscription-access';
|
|
18
25
|
import * as FontPreconnect from './utils/font-preconnect';
|
|
19
26
|
import * as EmailDate from './utils/email-date';
|
|
20
27
|
import * as RichTextEmbeds from './utils/rich-text-embeds';
|
|
21
28
|
import * as RichTextEmbedsCodegen from './utils/rich-text-embeds-codegen';
|
|
22
29
|
import * as DataCache from './cache';
|
|
23
30
|
import * as PageRevalidate from './page-revalidate';
|
|
24
|
-
|
|
31
|
+
import * as WebPush from './utils/web-push';
|
|
32
|
+
export { Constants, StringUtils, UIDLUtils, GenericUtils, LocalImports, JSIdentifiers, ASTScope, ASTStatementOrder, ASTEffectCleanup, RoutePaths, LayoutTopology, HtmlContentModel, StyleDeclarations, StorefrontTax, ProductDiscounts, ProductRatings, RegionalPricing, DiscountEngine, ProductOptions, CartLinePricing, CartCurrency, TableAccess, SessionCookieResolver, SubscriptionAccess, FontPreconnect, EmailDate, RichTextEmbeds, RichTextEmbedsCodegen, DataCache, PageRevalidate, WebPush, };
|
|
25
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,iBAAiB,MAAM,6BAA6B,CAAA;AAChE,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,iBAAiB,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAA;AAC3D,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAC1D,OAAO,KAAK,qBAAqB,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,SAAS,MAAM,SAAS,CAAA;AACpC,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,iBAAiB,MAAM,6BAA6B,CAAA;AAChE,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAA;AAC9D,OAAO,KAAK,iBAAiB,MAAM,4BAA4B,CAAA;AAC/D,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAA;AACvD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAA;AAC3D,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,eAAe,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,kBAAkB,MAAM,6BAA6B,CAAA;AACjE,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAA;AACzD,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAC1D,OAAO,KAAK,qBAAqB,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,SAAS,MAAM,SAAS,CAAA;AACpC,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA;AAE3C,OAAO,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY,EACZ,WAAW,EACX,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,OAAO,GACR,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.PageRevalidate = exports.DataCache = exports.RichTextEmbedsCodegen = exports.RichTextEmbeds = exports.EmailDate = exports.FontPreconnect = exports.RegionalPricing = exports.ProductRatings = exports.ProductDiscounts = exports.StorefrontTax = exports.StyleDeclarations = exports.HtmlContentModel = exports.LayoutTopology = exports.RoutePaths = exports.ASTEffectCleanup = exports.ASTStatementOrder = exports.ASTScope = exports.JSIdentifiers = exports.LocalImports = exports.GenericUtils = exports.UIDLUtils = exports.StringUtils = exports.Constants = void 0;
|
|
26
|
+
exports.WebPush = exports.PageRevalidate = exports.DataCache = exports.RichTextEmbedsCodegen = exports.RichTextEmbeds = exports.EmailDate = exports.FontPreconnect = exports.SubscriptionAccess = exports.SessionCookieResolver = exports.TableAccess = exports.CartCurrency = exports.CartLinePricing = exports.ProductOptions = exports.DiscountEngine = exports.RegionalPricing = exports.ProductRatings = exports.ProductDiscounts = exports.StorefrontTax = exports.StyleDeclarations = exports.HtmlContentModel = exports.LayoutTopology = exports.RoutePaths = exports.ASTEffectCleanup = exports.ASTStatementOrder = exports.ASTScope = exports.JSIdentifiers = exports.LocalImports = exports.GenericUtils = exports.UIDLUtils = exports.StringUtils = exports.Constants = void 0;
|
|
27
27
|
var Constants = __importStar(require("./constants"));
|
|
28
28
|
exports.Constants = Constants;
|
|
29
29
|
var StringUtils = __importStar(require("./utils/string-utils"));
|
|
@@ -58,6 +58,20 @@ var ProductRatings = __importStar(require("./utils/product-ratings"));
|
|
|
58
58
|
exports.ProductRatings = ProductRatings;
|
|
59
59
|
var RegionalPricing = __importStar(require("./utils/regional-pricing"));
|
|
60
60
|
exports.RegionalPricing = RegionalPricing;
|
|
61
|
+
var DiscountEngine = __importStar(require("./utils/discount-engine"));
|
|
62
|
+
exports.DiscountEngine = DiscountEngine;
|
|
63
|
+
var ProductOptions = __importStar(require("./utils/product-options"));
|
|
64
|
+
exports.ProductOptions = ProductOptions;
|
|
65
|
+
var CartLinePricing = __importStar(require("./utils/cart-line-pricing"));
|
|
66
|
+
exports.CartLinePricing = CartLinePricing;
|
|
67
|
+
var CartCurrency = __importStar(require("./utils/cart-currency"));
|
|
68
|
+
exports.CartCurrency = CartCurrency;
|
|
69
|
+
var TableAccess = __importStar(require("./utils/table-access"));
|
|
70
|
+
exports.TableAccess = TableAccess;
|
|
71
|
+
var SessionCookieResolver = __importStar(require("./utils/session-cookie-resolver"));
|
|
72
|
+
exports.SessionCookieResolver = SessionCookieResolver;
|
|
73
|
+
var SubscriptionAccess = __importStar(require("./utils/subscription-access"));
|
|
74
|
+
exports.SubscriptionAccess = SubscriptionAccess;
|
|
61
75
|
var FontPreconnect = __importStar(require("./utils/font-preconnect"));
|
|
62
76
|
exports.FontPreconnect = FontPreconnect;
|
|
63
77
|
var EmailDate = __importStar(require("./utils/email-date"));
|
|
@@ -70,4 +84,6 @@ var DataCache = __importStar(require("./cache"));
|
|
|
70
84
|
exports.DataCache = DataCache;
|
|
71
85
|
var PageRevalidate = __importStar(require("./page-revalidate"));
|
|
72
86
|
exports.PageRevalidate = PageRevalidate;
|
|
87
|
+
var WebPush = __importStar(require("./utils/web-push"));
|
|
88
|
+
exports.WebPush = WebPush;
|
|
73
89
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAwC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAwC;AAiCtC,8BAAS;AAhCX,gEAAmD;AAiCjD,kCAAW;AAhCb,4DAA+C;AAiC7C,8BAAS;AAhCX,4DAA+C;AAiC7C,oCAAY;AAhCd,kEAAqD;AAiCnD,oCAAY;AAhCd,oEAAuD;AAiCrD,sCAAa;AAhCf,0DAA6C;AAiC3C,4BAAQ;AAhCV,6EAAgE;AAiC9D,8CAAiB;AAhCnB,2EAA8D;AAiC5D,4CAAgB;AAhClB,8DAAiD;AAiC/C,gCAAU;AAhCZ,sEAAyD;AAiCvD,wCAAc;AAhChB,2EAA8D;AAiC5D,4CAAgB;AAhClB,4EAA+D;AAiC7D,8CAAiB;AAhCnB,oEAAuD;AAiCrD,sCAAa;AAhCf,0EAA6D;AAiC3D,4CAAgB;AAhClB,sEAAyD;AAiCvD,wCAAc;AAhChB,wEAA2D;AAiCzD,0CAAe;AAhCjB,sEAAyD;AAiCvD,wCAAc;AAhChB,sEAAyD;AAiCvD,wCAAc;AAhChB,yEAA4D;AAiC1D,0CAAe;AAhCjB,kEAAqD;AAiCnD,oCAAY;AAhCd,gEAAmD;AAiCjD,kCAAW;AAhCb,qFAAwE;AAiCtE,sDAAqB;AAhCvB,8EAAiE;AAiC/D,gDAAkB;AAhCpB,sEAAyD;AAiCvD,wCAAc;AAhChB,4DAA+C;AAiC7C,8BAAS;AAhCX,uEAA0D;AAiCxD,wCAAc;AAhChB,sFAAyE;AAiCvE,sDAAqB;AAhCvB,iDAAoC;AAiClC,8BAAS;AAhCX,gEAAmD;AAiCjD,wCAAc;AAhChB,wDAA2C;AAiCzC,0BAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/product-ratings.ts","../../src/utils/regional-pricing.ts","../../src/utils/font-preconnect.ts","../../src/utils/email-date.ts","../../src/utils/rich-text-embeds.ts","../../src/utils/rich-text-embeds-codegen.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/page-revalidate/constants.ts","../../src/page-revalidate/api-route.ts","../../src/page-revalidate/index.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","1a1c37f998c76073e7c6aedddbaf0a795b9d33660c61d105d0d79d7b086743a0","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","1adf52df4f197a19525caa1722d6bfd30a883dba759598a24d75c4239c84619f","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"286a93be613b3b6f8d5c27fdd8368068f402baacff253acd778a6683503603bd","signature":"bebc04315048e5968472215e80fe8f76c87402e8415af425e72a1043625bc0fd"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"090ba4e2664a99dbaf82f5ba836e35839c087cec2a2ec29650f200ecdb9ea01b","signature":"67fe33e0cdd82175d9c9dc8a6a91c12588cb4f102b55396fa369b19c2b328239"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"a5152661651e56d7de6157afbe27b1ce3715b3d9409953a9e297ab12023b6aff","signature":"ea13b757647c1a972e5e2c8fe2d1127c7964a2a304d41b28f611024faba50836"},{"version":"fcc132c7a28d8ca781fdddc882035cb04035e8fd0cfa0818796eff945a859f13","signature":"eef9bb3440842cc184023d54460a4e3c45efb9bf13c8613b70a8216ce1d39ef8"},{"version":"07ef3048fe039893ec7001370abfb9725fd76dbade6ed3a0c6596f402e352df3","signature":"4e1c5b37b16c856d27e2ad000ecc24644d868a279e2c6910d56b9d5a81da2fe6"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"4bd6366f8de24dde2e31a494273232cc32d7c0ea564592ea8b7610901cf9478b","signature":"51634cb824ba91140770f4ac7311304479e33f151134f3521e088e14cd235dc5"},{"version":"071ad09f6345127de75e27f8379f30c56d02c72e6ab42819dae454e6b47d388f","signature":"7597acbd22e33e358945a8acf664f517c3dac69d9689bceed60cb13716771f95"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"5e95fcbdce633bfd470930f0ab735ee050caa10b2ec17309c2f0525774997c36","signature":"5b3d935d994f5f1e5c16fbe3f5f58dec6747b79ba28db27a1df2d5e7dec42d1d"},{"version":"2ae95932d3dd08cd2cd5a576ac7791317152b430934bdf611717343055eb701f","signature":"c910ef78eae5387ab1df8977cb62753621a62e266c6526752a9b88cee0100248"},{"version":"8e009708e9b57945cd2395a3858a5d79e2234e1559ce2ee349fe584a66c50e00","signature":"5df60b82d73860d9bb138a4c57a390e725c768a52bd69fa1a3001d99466ca99b"},{"version":"9d28db03e2fb8e16cab9154802057054f9c4c80309c4453ae3311c8784e48350","signature":"116497d910837f0bf0936df7c30a592581007929e693216d7c6ee9c787002f3a"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[172,174],[168,169],[168,169,170,171],[173],[175],[81],[117],[118,123,151],[119,130,131,138,148,159],[119,120,130,138],[121,160],[122,123,131,139],[123,148,156],[124,126,130,138],[117,125],[126,127],[130],[128,130],[117,130],[130,131,132,148,159],[130,131,132,145,148,151],[115,164],[126,130,133,138,148,159],[130,131,133,134,138,148,156,159],[133,135,148,156,159],[81,82,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[130,136],[137,159,164],[126,130,138,148],[139],[140],[117,141],[142,158,164],[143],[144],[130,145,146],[145,147,160,162],[118,130,148,149,150,151],[118,148,150],[148,149],[151],[152],[117,148],[130,154,155],[154,155],[123,138,148,156],[157],[138,158],[118,133,144,159],[123,160],[148,161],[137,162],[163],[118,123,130,132,141,148,159,162,164],[148,165],[92,96,159],[92,148,159],[87],[89,92,156,159],[138,156],[167],[87,167],[89,92,138,159],[84,85,88,91,118,130,148,159],[84,90],[88,92,118,151,159,167],[118,167],[108,118,167],[86,87,167],[92],[86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113,114],[92,99,100],[90,92,100,101],[91],[84,87,92],[92,96,100,101],[96],[90,92,95,159],[84,89,90,92,96,99],[118,148],[87,92,108,118,164,167],[71],[71,72,73,74,75],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,76,79],[71,77],[77,78],[45,56],[45],[49,140],[69],[51],[49,52,80,140],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[175,1],[170,2],[172,3],[171,2],[174,4],[176,5],[81,6],[82,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,12],[123,13],[124,14],[125,15],[126,16],[127,16],[129,17],[128,18],[130,19],[131,20],[132,21],[116,22],[133,23],[134,24],[135,25],[167,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,33],[143,34],[144,35],[145,36],[146,36],[147,37],[148,38],[150,39],[149,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[161,51],[162,52],[163,53],[164,54],[165,55],[99,56],[106,57],[98,56],[113,58],[90,59],[89,60],[112,61],[107,62],[110,63],[92,64],[91,65],[87,66],[86,67],[109,68],[88,69],[93,70],[97,70],[115,71],[114,70],[101,72],[102,73],[104,74],[100,75],[103,76],[108,61],[95,77],[96,78],[105,79],[85,80],[111,81],[75,82],[72,82],[76,83],[73,82],[74,82],[50,84],[80,85],[78,86],[79,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[70,91],[63,84],[52,92],[62,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[175,1],[170,2],[172,3],[171,2],[174,4],[176,5],[81,6],[82,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,12],[123,13],[124,14],[125,15],[126,16],[127,16],[129,17],[128,18],[130,19],[131,20],[132,21],[116,22],[133,23],[134,24],[135,25],[167,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,33],[143,34],[144,35],[145,36],[146,36],[147,37],[148,38],[150,39],[149,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[161,51],[162,52],[163,53],[164,54],[165,55],[99,56],[106,57],[98,56],[113,58],[90,59],[89,60],[112,61],[107,62],[110,63],[92,64],[91,65],[87,66],[86,67],[109,68],[88,69],[93,70],[97,70],[115,71],[114,70],[101,72],[102,73],[104,74],[100,75],[103,76],[108,61],[95,77],[96,78],[105,79],[85,80],[111,81],[76,83],[50,84],[80,85],[79,87],[58,89],[56,89],[57,89],[54,84],[60,84],[55,84],[63,84],[62,84],[53,84],[46,94],[49,95],[44,96],[48,97]],"semanticDiagnosticsPerFile":[45,175,168,170,172,171,169,174,173,176,81,82,117,118,119,120,121,122,123,124,125,126,127,129,128,130,131,132,116,166,133,134,135,167,136,137,138,139,140,141,142,143,144,145,146,147,148,150,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,83,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,99,106,98,113,90,89,112,107,110,92,91,87,86,109,88,93,94,97,84,115,114,101,102,104,100,103,108,95,96,105,85,111,75,72,71,76,73,74,50,80,78,77,79,58,56,57,68,67,54,61,51,60,55,64,65,66,70,69,59,63,52,62,53,47,46,43,49,44,48]},"version":"4.9.5"}
|
|
1
|
+
{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/product-ratings.ts","../../src/utils/regional-pricing.ts","../../src/utils/discount-engine.ts","../../src/utils/product-options.ts","../../src/utils/cart-line-pricing.ts","../../src/utils/cart-currency.ts","../../src/utils/table-access.ts","../../src/utils/session-cookie-resolver.ts","../../src/utils/subscription-access.ts","../../src/utils/font-preconnect.ts","../../src/utils/email-date.ts","../../src/utils/rich-text-embeds.ts","../../src/utils/rich-text-embeds-codegen.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/page-revalidate/constants.ts","../../src/page-revalidate/api-route.ts","../../src/page-revalidate/index.ts","../../src/utils/web-push.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","a5783eff75c2dd7b4fb242acd1bf3c6363b43632d64143ecc1c743549c18fbc7","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","1adf52df4f197a19525caa1722d6bfd30a883dba759598a24d75c4239c84619f","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","ea15aa0f31b82087b000902760cc275080f3461d7b54f4690c47e833c5c7c72c","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"286a93be613b3b6f8d5c27fdd8368068f402baacff253acd778a6683503603bd","signature":"bebc04315048e5968472215e80fe8f76c87402e8415af425e72a1043625bc0fd"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"090ba4e2664a99dbaf82f5ba836e35839c087cec2a2ec29650f200ecdb9ea01b","signature":"67fe33e0cdd82175d9c9dc8a6a91c12588cb4f102b55396fa369b19c2b328239"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"a5152661651e56d7de6157afbe27b1ce3715b3d9409953a9e297ab12023b6aff","signature":"ea13b757647c1a972e5e2c8fe2d1127c7964a2a304d41b28f611024faba50836"},{"version":"fcc132c7a28d8ca781fdddc882035cb04035e8fd0cfa0818796eff945a859f13","signature":"eef9bb3440842cc184023d54460a4e3c45efb9bf13c8613b70a8216ce1d39ef8"},{"version":"017033c88aa2dd4cfb5105e30760a66d32cbba20bca38cc77517fe80e35b10af","signature":"bfd2bd2aadb4df434c4c6d17a094ed78b5490b2e050a7d3f06b63f5dfd9d737c"},{"version":"866c7eb70229d679d4ee3f48ab0405592099d9ca2b3f2bdce53c0b40d533e6d6","signature":"7c8e8a14a300fdca119d2d513514c235d0c166d8bb732593a7ca07cc4d868cba"},{"version":"698098b6e20da7e172eb928cce0242d1954499db1b82c4ebc5add6fc3cad41ca","signature":"c26085abe148812570762657d673afa7908e5f3ede9552cbbe1117a1bf6b04f8"},{"version":"e3338e7c60629faaea4900cbff41c0a601f7569934940fe5106ba62e192f6beb","signature":"a05c4aeaa779fa478813649dbdb5662f12008c067386817b88cc5833949a889f"},{"version":"b1c7fc0c137b8c649d5c3ba74a279d860d4a3c2ff844ba571af7971d0c7fd918","signature":"f2edbf6194a7511ee90909aabe940465da74bbe7ed2a5b47942251a0f6a523c5"},{"version":"8a0ed637a248b312dbcb7fb8cbdd5dded4c4b82d453627b0fdae65ea68b29ec1","signature":"0182674c107b1f787796b05af6480725232e295bd927e55a04ac9568a8238fb9"},{"version":"a442a7977e0422d4deac5d9c2363cdc64e4553bfcb9913f12f9eb2bc73327309","signature":"e989c1a96e3de1015bbda3b0d379e21c82509ab1c52d7e80a1ae2862bdf915e2"},{"version":"07ef3048fe039893ec7001370abfb9725fd76dbade6ed3a0c6596f402e352df3","signature":"4e1c5b37b16c856d27e2ad000ecc24644d868a279e2c6910d56b9d5a81da2fe6"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"4bd6366f8de24dde2e31a494273232cc32d7c0ea564592ea8b7610901cf9478b","signature":"51634cb824ba91140770f4ac7311304479e33f151134f3521e088e14cd235dc5"},{"version":"071ad09f6345127de75e27f8379f30c56d02c72e6ab42819dae454e6b47d388f","signature":"7597acbd22e33e358945a8acf664f517c3dac69d9689bceed60cb13716771f95"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"5e95fcbdce633bfd470930f0ab735ee050caa10b2ec17309c2f0525774997c36","signature":"5b3d935d994f5f1e5c16fbe3f5f58dec6747b79ba28db27a1df2d5e7dec42d1d"},{"version":"2ae95932d3dd08cd2cd5a576ac7791317152b430934bdf611717343055eb701f","signature":"c910ef78eae5387ab1df8977cb62753621a62e266c6526752a9b88cee0100248"},{"version":"8e009708e9b57945cd2395a3858a5d79e2234e1559ce2ee349fe584a66c50e00","signature":"5df60b82d73860d9bb138a4c57a390e725c768a52bd69fa1a3001d99466ca99b"},{"version":"6a4e5e728c172e6e7e1ee5fac1dfaf1da36c45dea5fe80cf83eced2851639bf0","signature":"1d25891e81ca8dcba94615d39cd89f09f2017163bf1af8fc20737fe75841b8c8"},{"version":"15d12a699c6fe95518b37ef2b635e4db8a3ef4599273cbc8615609072864248a","signature":"119d058883b25d4335f0a10a5fcea9130dc1afb77c581111266e184df2c56770"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[180,182],[176,177],[176,177,178,179],[181],[183],[89],[125],[126,131,159],[127,138,139,146,156,167],[127,128,138,146],[129,168],[130,131,139,147],[131,156,164],[132,134,138,146],[125,133],[134,135],[138],[136,138],[125,138],[138,139,140,156,167],[138,139,140,153,156,159],[123,172],[134,138,141,146,156,167],[138,139,141,142,146,156,164,167],[141,143,156,164,167],[89,90,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174],[138,144],[145,167,172],[134,138,146,156],[147],[148],[125,149],[150,166,172],[151],[152],[138,153,154],[153,155,168,170],[126,138,156,157,158,159],[126,156,158],[156,157],[159],[160],[125,156],[138,162,163],[162,163],[131,146,156,164],[165],[146,166],[126,141,152,167],[131,168],[156,169],[145,170],[171],[126,131,138,140,149,156,167,170,172],[156,173],[100,104,167],[100,156,167],[95],[97,100,164,167],[146,164],[175],[95,175],[97,100,146,167],[92,93,96,99,126,138,156,167],[92,98],[96,100,126,159,167,175],[126,175],[116,126,175],[94,95,175],[100],[94,95,96,97,98,99,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122],[100,107,108],[98,100,108,109],[99],[92,95,100],[100,104,108,109],[104],[98,100,103,167],[92,97,98,100,104,107],[126,156],[95,100,116,126,172,175],[78],[78,79,80,81,82],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,83,86,87],[78,84],[84,85],[45,56],[45],[49,148],[76],[51],[49,52,88,148],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[183,1],[178,2],[180,3],[179,2],[182,4],[184,5],[89,6],[90,6],[125,7],[126,8],[127,9],[128,10],[129,11],[130,12],[131,13],[132,14],[133,15],[134,16],[135,16],[137,17],[136,18],[138,19],[139,20],[140,21],[124,22],[141,23],[142,24],[143,25],[175,26],[144,27],[145,28],[146,29],[147,30],[148,31],[149,32],[150,33],[151,34],[152,35],[153,36],[154,36],[155,37],[156,38],[158,39],[157,40],[159,41],[160,42],[161,43],[162,44],[163,45],[164,46],[165,47],[166,48],[167,49],[168,50],[169,51],[170,52],[171,53],[172,54],[173,55],[107,56],[114,57],[106,56],[121,58],[98,59],[97,60],[120,61],[115,62],[118,63],[100,64],[99,65],[95,66],[94,67],[117,68],[96,69],[101,70],[105,70],[123,71],[122,70],[109,72],[110,73],[112,74],[108,75],[111,76],[116,61],[103,77],[104,78],[113,79],[93,80],[119,81],[82,82],[79,82],[83,83],[80,82],[81,82],[50,84],[88,85],[85,86],[86,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[77,91],[63,84],[52,92],[62,84],[71,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[183,1],[178,2],[180,3],[179,2],[182,4],[184,5],[89,6],[90,6],[125,7],[126,8],[127,9],[128,10],[129,11],[130,12],[131,13],[132,14],[133,15],[134,16],[135,16],[137,17],[136,18],[138,19],[139,20],[140,21],[124,22],[141,23],[142,24],[143,25],[175,26],[144,27],[145,28],[146,29],[147,30],[148,31],[149,32],[150,33],[151,34],[152,35],[153,36],[154,36],[155,37],[156,38],[158,39],[157,40],[159,41],[160,42],[161,43],[162,44],[163,45],[164,46],[165,47],[166,48],[167,49],[168,50],[169,51],[170,52],[171,53],[172,54],[173,55],[107,56],[114,57],[106,56],[121,58],[98,59],[97,60],[120,61],[115,62],[118,63],[100,64],[99,65],[95,66],[94,67],[117,68],[96,69],[101,70],[105,70],[123,71],[122,70],[109,72],[110,73],[112,74],[108,75],[111,76],[116,61],[103,77],[104,78],[113,79],[93,80],[119,81],[83,83],[50,84],[88,85],[86,87],[58,89],[56,89],[57,89],[54,84],[60,84],[55,84],[63,84],[62,84],[71,84],[53,84],[46,94],[49,95],[44,96],[48,97]],"semanticDiagnosticsPerFile":[45,183,176,178,180,179,177,182,181,184,89,90,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,124,174,141,142,143,175,144,145,146,147,148,149,150,151,152,153,154,155,156,158,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,91,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,107,114,106,121,98,97,120,115,118,100,99,95,94,117,96,101,102,105,92,123,122,109,110,112,108,111,116,103,104,113,93,119,82,79,78,83,80,81,50,88,85,84,86,58,56,57,70,69,67,75,74,54,61,51,60,55,64,68,65,66,77,76,59,72,63,52,62,73,71,53,87,47,46,43,49,44,48]},"version":"4.9.5"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The currency a cart is priced in, as ES5 source for generated runtime code
|
|
3
|
+
* (the add-to-cart node, the storefront cart provider, the cart total and the
|
|
4
|
+
* checkout's server pricing step) that cannot import from this package.
|
|
5
|
+
*
|
|
6
|
+
* Every product carries its own currency, and nothing converts between them:
|
|
7
|
+
* an order is recorded and charged in ONE currency, so a cart holds products
|
|
8
|
+
* of one currency only — the same way it holds one kind of line (see the kind
|
|
9
|
+
* rule beside it in `cart-add-item`). The cart's currency is the currency of
|
|
10
|
+
* its lines; a line that names none (a cart saved before lines carried it)
|
|
11
|
+
* takes no part in the rule.
|
|
12
|
+
*
|
|
13
|
+
* ⚠️ PAIRED with teleport-gui's cart simulator
|
|
14
|
+
* (`features/e-commerce/utils/cart-kinds.ts`): the refusal reason and message
|
|
15
|
+
* must stay byte-identical to what the published store toasts.
|
|
16
|
+
*
|
|
17
|
+
* ⛔ Every helper takes ONE parameter. The block is appended to a serialized
|
|
18
|
+
* handler whose entry point a minified build finds by arity (a 2-param
|
|
19
|
+
* declaration wins — see `resolveHandlerEntryName`), so a 2-param helper would
|
|
20
|
+
* be called in place of the handler. Everything is prefixed `__cc` so the block
|
|
21
|
+
* can be concatenated into any generated module without colliding with its
|
|
22
|
+
* locals.
|
|
23
|
+
*/
|
|
24
|
+
/** The reason an add-to-cart refusal answers for a line of another currency. */
|
|
25
|
+
export declare const MIXED_CURRENCY_REASON = "mixed-currency";
|
|
26
|
+
export declare const generateCartCurrencyHelperCode: () => string;
|
|
27
|
+
//# sourceMappingURL=cart-currency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-currency.d.ts","sourceRoot":"","sources":["../../../src/utils/cart-currency.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,mBAAmB,CAAA;AAErD,eAAO,MAAM,8BAA8B,QAAO,MAgDjD,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The currency a cart is priced in, as ES5 source for generated runtime code
|
|
4
|
+
* (the add-to-cart node, the storefront cart provider, the cart total and the
|
|
5
|
+
* checkout's server pricing step) that cannot import from this package.
|
|
6
|
+
*
|
|
7
|
+
* Every product carries its own currency, and nothing converts between them:
|
|
8
|
+
* an order is recorded and charged in ONE currency, so a cart holds products
|
|
9
|
+
* of one currency only — the same way it holds one kind of line (see the kind
|
|
10
|
+
* rule beside it in `cart-add-item`). The cart's currency is the currency of
|
|
11
|
+
* its lines; a line that names none (a cart saved before lines carried it)
|
|
12
|
+
* takes no part in the rule.
|
|
13
|
+
*
|
|
14
|
+
* ⚠️ PAIRED with teleport-gui's cart simulator
|
|
15
|
+
* (`features/e-commerce/utils/cart-kinds.ts`): the refusal reason and message
|
|
16
|
+
* must stay byte-identical to what the published store toasts.
|
|
17
|
+
*
|
|
18
|
+
* ⛔ Every helper takes ONE parameter. The block is appended to a serialized
|
|
19
|
+
* handler whose entry point a minified build finds by arity (a 2-param
|
|
20
|
+
* declaration wins — see `resolveHandlerEntryName`), so a 2-param helper would
|
|
21
|
+
* be called in place of the handler. Everything is prefixed `__cc` so the block
|
|
22
|
+
* can be concatenated into any generated module without colliding with its
|
|
23
|
+
* locals.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.generateCartCurrencyHelperCode = exports.MIXED_CURRENCY_REASON = void 0;
|
|
27
|
+
/** The reason an add-to-cart refusal answers for a line of another currency. */
|
|
28
|
+
exports.MIXED_CURRENCY_REASON = 'mixed-currency';
|
|
29
|
+
var generateCartCurrencyHelperCode = function () { return "\n// \u2500\u2500 Cart currency \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// A three-letter ISO code, upper-cased, or '' for anything else.\nfunction __ccCode(value) {\n var code = String(value == null ? '' : value).trim().toUpperCase();\n return /^[A-Z]{3}$/.test(code) ? code : '';\n}\n\n// The currency of the cart: the first line that names one, or ''.\nfunction __ccCartCurrency(lines) {\n if (!lines || typeof lines.length !== 'number') { return ''; }\n for (var i = 0; i < lines.length; i++) {\n var code = __ccCode(lines[i] ? lines[i].currency : '');\n if (code) { return code; }\n }\n return '';\n}\n\n// Every currency the lines name, in the order they first appear.\nfunction __ccCurrencies(lines) {\n var codes = [];\n if (!lines || typeof lines.length !== 'number') { return codes; }\n for (var i = 0; i < lines.length; i++) {\n var code = __ccCode(lines[i] ? lines[i].currency : '');\n if (code && codes.indexOf(code) === -1) { codes.push(code); }\n }\n return codes;\n}\n\n// Why a line priced in `input.currency` cannot join `input.lines` (the OTHER\n// lines of the cart), or null when it can.\nfunction __ccCurrencyRefusal(input) {\n var lineCurrency = __ccCode(input ? input.currency : '');\n var cartCurrency = __ccCartCurrency(input ? input.lines : null);\n if (!lineCurrency || !cartCurrency || lineCurrency === cartCurrency) { return null; }\n return {\n added: false,\n reason: '".concat(exports.MIXED_CURRENCY_REASON, "',\n message: 'Products priced in ' + lineCurrency + ' need a separate order. Complete your current order or remove the items priced in ' + cartCurrency + ' from your cart first.'\n };\n}\n\n// What the checkout says when a cart still holds several currencies (a cart\n// merged at sign-in, or a product whose currency changed after it was added).\nfunction __ccMixedCartMessage(codes) {\n var named = codes.length > 1 ? codes.slice(0, -1).join(', ') + ' and ' + codes[codes.length - 1] : codes.join('');\n return 'Your cart holds products priced in ' + named + '. Each currency needs its own order: remove the products priced in one of them and try again.';\n}\n"); };
|
|
30
|
+
exports.generateCartCurrencyHelperCode = generateCartCurrencyHelperCode;
|
|
31
|
+
//# sourceMappingURL=cart-currency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-currency.js","sourceRoot":"","sources":["../../../src/utils/cart-currency.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;AAEH,gFAAgF;AACnE,QAAA,qBAAqB,GAAG,gBAAgB,CAAA;AAE9C,IAAM,8BAA8B,GAAG,cAAc,OAAA,suDAqC7C,6BAAqB,kqBAWnC,EAhD2D,CAgD3D,CAAA;AAhDY,QAAA,8BAA8B,kCAgD1C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What one cart line costs, read off its product (and variant) row, as ES5
|
|
3
|
+
* source for generated runtime code that cannot import from this package.
|
|
4
|
+
*
|
|
5
|
+
* TWO READERS, ONE RULE. The storefront provider re-prices every line with it
|
|
6
|
+
* when it hydrates the cart (`enrichCartItems` in the e-commerce context), and
|
|
7
|
+
* the checkout's server step prices the order with it (`cart-price-order` in
|
|
8
|
+
* the workflows plugin) — so what the buyer is shown and what the order is
|
|
9
|
+
* charged come from the same arithmetic over the same row. A price the
|
|
10
|
+
* browser holds is never an input: the line keeps only what the buyer chose
|
|
11
|
+
* (product, variant, options, quantity).
|
|
12
|
+
*
|
|
13
|
+
* The rule: the variant's price overrides the product's; the per-product
|
|
14
|
+
* markdown live at `nowMs` comes off that NET price; the chosen options'
|
|
15
|
+
* surcharge is added on top of the charged base (options are never marked
|
|
16
|
+
* down). A subscription is one unit.
|
|
17
|
+
*
|
|
18
|
+
* Needs, in the same scope: the per-product discount helpers (`__pd*`,
|
|
19
|
+
* `ProductDiscounts.generateProductDiscountHelperCode`), the product-option
|
|
20
|
+
* helpers (`__po*`, `ProductOptions.generateProductOptionsHelperCode`) and the
|
|
21
|
+
* discount engine's row readers (`__deStringArray`, `__deBool`,
|
|
22
|
+
* `DiscountEngine.generateDiscountEngineHelperCode`).
|
|
23
|
+
*/
|
|
24
|
+
export declare const generateCartLinePricingHelperCode: () => string;
|
|
25
|
+
//# sourceMappingURL=cart-line-pricing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-line-pricing.d.ts","sourceRoot":"","sources":["../../../src/utils/cart-line-pricing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,iCAAiC,QAAO,MA+HpD,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generateCartLinePricingHelperCode = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* What one cart line costs, read off its product (and variant) row, as ES5
|
|
6
|
+
* source for generated runtime code that cannot import from this package.
|
|
7
|
+
*
|
|
8
|
+
* TWO READERS, ONE RULE. The storefront provider re-prices every line with it
|
|
9
|
+
* when it hydrates the cart (`enrichCartItems` in the e-commerce context), and
|
|
10
|
+
* the checkout's server step prices the order with it (`cart-price-order` in
|
|
11
|
+
* the workflows plugin) — so what the buyer is shown and what the order is
|
|
12
|
+
* charged come from the same arithmetic over the same row. A price the
|
|
13
|
+
* browser holds is never an input: the line keeps only what the buyer chose
|
|
14
|
+
* (product, variant, options, quantity).
|
|
15
|
+
*
|
|
16
|
+
* The rule: the variant's price overrides the product's; the per-product
|
|
17
|
+
* markdown live at `nowMs` comes off that NET price; the chosen options'
|
|
18
|
+
* surcharge is added on top of the charged base (options are never marked
|
|
19
|
+
* down). A subscription is one unit.
|
|
20
|
+
*
|
|
21
|
+
* Needs, in the same scope: the per-product discount helpers (`__pd*`,
|
|
22
|
+
* `ProductDiscounts.generateProductDiscountHelperCode`), the product-option
|
|
23
|
+
* helpers (`__po*`, `ProductOptions.generateProductOptionsHelperCode`) and the
|
|
24
|
+
* discount engine's row readers (`__deStringArray`, `__deBool`,
|
|
25
|
+
* `DiscountEngine.generateDiscountEngineHelperCode`).
|
|
26
|
+
*/
|
|
27
|
+
var generateCartLinePricingHelperCode = function () { return "\n// \u2500\u2500 Cart line pricing \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nvar __CL_BILLING_INTERVALS = ['day', 'week', 'month', 'year'];\n\nfunction __clIsRecurring(product) {\n return String((product && product.payment_type) || '').trim().toLowerCase() === 'recurring';\n}\n\nfunction __clBillingInterval(value) {\n var normalized = String(value == null ? '' : value).trim().toLowerCase();\n return __CL_BILLING_INTERVALS.indexOf(normalized) !== -1 ? normalized : 'month';\n}\n\nfunction __clBillingIntervalCount(value) {\n var parsed = Math.floor(Number(value));\n return isFinite(parsed) && parsed >= 1 ? parsed : 1;\n}\n\nfunction __clPositiveCount(value) {\n if (value === null || value === undefined || value === '') { return null; }\n var parsed = Math.floor(Number(value));\n return isFinite(parsed) && parsed > 0 ? parsed : null;\n}\n\n// The chosen options re-priced from the product's CURRENT definitions on the\n// charged base, and whether the answers still fit (`configurationStale`, which\n// the checkout refuses). Null for a line with no answers of a product with no\n// options, which is priced exactly as before; cleared fields for a line that\n// carried options its product no longer has.\nfunction __clPriceLineOptions(item, product, basePrice) {\n var entries = __poParseEntries(item.configuration);\n if (entries.length === 0 && __poParseGroups(product.option_groups).length === 0) {\n if (item.basePrice == null && item.configurationLabel == null && item.configurationPriceDelta == null && item.configurationStale == null) { return null; }\n return { basePrice: null, configurationLabel: null, configurationPriceDelta: null, configurationStale: null };\n }\n var resolved = __poResolveForRow(product, basePrice, entries);\n return {\n basePrice: basePrice,\n configurationLabel: resolved.label,\n configurationPriceDelta: resolved.delta,\n configurationStale: !resolved.valid\n };\n}\n\n// \"Red / XL\" \u2014 the variant's value labels along the product's (language-\n// resolved) option axes.\nfunction __clVariantLabel(variantOptionsRaw, optionsMap) {\n var axes = variantOptionsRaw;\n if (typeof axes === 'string') { try { axes = JSON.parse(axes); } catch (e) { axes = []; } }\n if (!Array.isArray(axes)) { return ''; }\n var opts = optionsMap;\n if (typeof opts === 'string') { try { opts = JSON.parse(opts); } catch (e) { opts = {}; } }\n if (!opts) { opts = {}; }\n var parts = [];\n for (var a = 0; a < axes.length; a++) {\n var axis = axes[a];\n if (!axis || !axis.key) { continue; }\n var valueKey = opts[axis.key];\n if (valueKey == null) { continue; }\n var label = valueKey;\n var values = Array.isArray(axis.values) ? axis.values : [];\n for (var v = 0; v < values.length; v++) { if (values[v] && values[v].value === valueKey) { label = values[v].label || valueKey; break; } }\n parts.push(label);\n }\n return parts.join(' / ');\n}\n\n// The colour(s) of the variant's value on every COLOUR axis, for the swatch\n// shown beside the label.\nfunction __clVariantSwatches(variantOptionsRaw, optionsMap) {\n var axes = variantOptionsRaw;\n if (typeof axes === 'string') { try { axes = JSON.parse(axes); } catch (e) { axes = []; } }\n if (!Array.isArray(axes)) { return []; }\n var opts = optionsMap;\n if (typeof opts === 'string') { try { opts = JSON.parse(opts); } catch (e) { opts = {}; } }\n if (!opts) { opts = {}; }\n var swatches = [];\n for (var a = 0; a < axes.length; a++) {\n var axis = axes[a];\n if (!axis || !axis.key || axis.type !== 'color') { continue; }\n var valueKey = opts[axis.key];\n if (valueKey == null) { continue; }\n var values = Array.isArray(axis.values) ? axis.values : [];\n for (var v = 0; v < values.length; v++) { if (values[v] && values[v].value === valueKey && values[v].color) { swatches.push({ color: values[v].color }); break; } }\n }\n return swatches;\n}\n\n// The line's price and everything the totals read off its product, for the\n// row as it is at `nowMs`. `withWeight` adds the weight the regional\n// shipping rates price by.\nfunction __clPriceLine(item, product, variant, nowMs, withWeight) {\n var price = product.price != null ? Number(product.price) : 0;\n if (variant && variant.price != null) { price = Number(variant.price); }\n var discount = __pdResolveActive(product.discounts, nowMs);\n var listPrice = price;\n price = __pdDiscountedPrice(listPrice, discount);\n var options = __clPriceLineOptions(item, product, price);\n var optionsDelta = options ? options.configurationPriceDelta : null;\n var recurring = __clIsRecurring(product);\n var priced = {\n price: optionsDelta != null ? __poRound2(price + optionsDelta) : price,\n originalPrice: discount ? (optionsDelta != null ? __poRound2(listPrice + optionsDelta) : listPrice) : null,\n discountType: discount ? discount.type : null,\n discountValue: discount ? discount.value : null,\n discountAmount: discount ? __pdDiscountAmount(listPrice, discount) : 0,\n categoryIds: __deStringArray(product.category_filter_ids || product.category_ids),\n isGiftCard: __deBool(product.is_gift_card, false),\n isRecurring: recurring,\n recurringInterval: recurring ? __clBillingInterval(product.recurring_interval) : null,\n recurringIntervalCount: recurring ? __clBillingIntervalCount(product.recurring_interval_count) : null,\n trialDays: recurring ? __clPositiveCount(product.trial_days) : null,\n isDigital: __deBool(product.is_digital, false),\n quantity: recurring ? 1 : item.quantity\n };\n if (withWeight) {\n priced.weight = product.weight != null ? Number(product.weight) : null;\n priced.weightUnit = product.weight_unit || null;\n }\n if (options) {\n priced.basePrice = options.basePrice;\n priced.configurationLabel = options.configurationLabel;\n priced.configurationPriceDelta = options.configurationPriceDelta;\n priced.configurationStale = options.configurationStale;\n }\n return priced;\n}\n"; };
|
|
28
|
+
exports.generateCartLinePricingHelperCode = generateCartLinePricingHelperCode;
|
|
29
|
+
//# sourceMappingURL=cart-line-pricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-line-pricing.js","sourceRoot":"","sources":["../../../src/utils/cart-line-pricing.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,IAAM,iCAAiC,GAAG,cAAc,OAAA,grMA+H9D,EA/H8D,CA+H9D,CAAA;AA/HY,QAAA,iCAAiC,qCA+H7C"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The discount engine — vouchers and automatic (code-less) discounts on a cart
|
|
3
|
+
* — as ES5 source for embedding into generated runtime code (the storefront
|
|
4
|
+
* provider, the `cart-get-total` workflow handler) that cannot import from
|
|
5
|
+
* this package.
|
|
6
|
+
*
|
|
7
|
+
* ⚠️ THIRD MIRROR. The same arithmetic exists in teleport-gui as
|
|
8
|
+
* `features/e-commerce/utils/discount-engine/discount-engine.ts` (the
|
|
9
|
+
* editor/canvas copy) and
|
|
10
|
+
* `features/workflows/templates/builders/ecommerce/discount-engine-script.ts`
|
|
11
|
+
* (the copy baked into the checkout workflows, whose text this file carries
|
|
12
|
+
* verbatim). All three must agree to the cent, or the discount the shopper
|
|
13
|
+
* sees, the discount the payment provider charges and the discount stored on
|
|
14
|
+
* the order will differ. `__tests__/utils/discount-engine.ts` runs this copy
|
|
15
|
+
* over a fixture table that is byte-identical with the GUI's parity spec.
|
|
16
|
+
*
|
|
17
|
+
* The rules, in one place:
|
|
18
|
+
* - discounts are taken on the GROSS eligible subtotal, gross unit price
|
|
19
|
+
* rounded per unit before multiplying;
|
|
20
|
+
* - rules stack sequentially on what is left of their eligible lines, each
|
|
21
|
+
* rounding once, clamped to that remainder;
|
|
22
|
+
* - combinable rules price together by priority, a combinable voucher last;
|
|
23
|
+
* an exclusive discount (`stackable: false`, a rule or the voucher) is
|
|
24
|
+
* priced on its own; when several sets save something the shopper's
|
|
25
|
+
* `choice` picks one and every one comes back as `options`, otherwise the
|
|
26
|
+
* set that saves the most wins — a tie going to an exclusive voucher, then
|
|
27
|
+
* exclusive rules by priority, then the combination; a voucher left out is
|
|
28
|
+
* rejected `not-stackable` when it would have applied alone, else for its
|
|
29
|
+
* own reason;
|
|
30
|
+
* - free shipping waives the fee once; a gift-card line is never eligible;
|
|
31
|
+
* - `legacy` reproduces the pre-engine voucher rule for an older checkout.
|
|
32
|
+
*
|
|
33
|
+
* Everything is prefixed `__de` and declared as `var … = function` EXPRESSIONS
|
|
34
|
+
* so the block can be spliced INTO a serialized handler body — the entry-point
|
|
35
|
+
* resolver would otherwise mistake a declared 2-argument function for the
|
|
36
|
+
* handler itself.
|
|
37
|
+
*/
|
|
38
|
+
export declare const generateDiscountEngineHelperCode: () => string;
|
|
39
|
+
/** The automatic-discount rules table the storefront reads. */
|
|
40
|
+
export declare const DISCOUNTS_TABLE = "teleport_discounts";
|
|
41
|
+
/**
|
|
42
|
+
* How many live automatic rules any reader loads — the storefront feed, the
|
|
43
|
+
* place-order workflow and the editor — each ordered the way the engine
|
|
44
|
+
* applies them (priority, name, id), so all three price the same set. The
|
|
45
|
+
* editor refuses a live rule past it.
|
|
46
|
+
*/
|
|
47
|
+
export declare const DISCOUNT_RULES_LIMIT = 500;
|
|
48
|
+
/**
|
|
49
|
+
* The applied gift card the checkout keeps beside the cart — display data
|
|
50
|
+
* returned by the Apply Gift Card workflow (`{ id, last4, balance, currency,
|
|
51
|
+
* checkedAt }`), never the full code, never trusted for money. ⚠️
|
|
52
|
+
* `cart-get-total` and `cart-clear` spell the same key out as a literal — a
|
|
53
|
+
* serialized handler has no module scope to import it from.
|
|
54
|
+
*/
|
|
55
|
+
export declare const GIFT_CARD_STORAGE_KEY = "workflow_gift_card";
|
|
56
|
+
/** Broadcast when the applied gift card changes. */
|
|
57
|
+
export declare const GIFT_CARD_CHANGED_EVENT = "teleport:gift-card-changed";
|
|
58
|
+
/**
|
|
59
|
+
* Broadcast by the place-order workflow when the server priced the order
|
|
60
|
+
* differently from the summary, so the provider re-reads rules and customer.
|
|
61
|
+
*/
|
|
62
|
+
export declare const DISCOUNTS_REFRESH_EVENT = "teleport:discounts-refresh";
|
|
63
|
+
/** Broadcast once the checkout page-load workflow has written `customer`. */
|
|
64
|
+
export declare const CUSTOMER_CHANGED_EVENT = "teleport:customer-changed";
|
|
65
|
+
/**
|
|
66
|
+
* The localStorage key holding the set of discounts the shopper chose when
|
|
67
|
+
* several could apply but not together (a `DiscountOption.key`: an exclusive
|
|
68
|
+
* rule's id, `voucher`, or `combination`). ⚠️ `cart-get-total` and `cart-clear`
|
|
69
|
+
* spell the key out as a literal — a serialized handler has no module scope.
|
|
70
|
+
*/
|
|
71
|
+
export declare const DISCOUNT_CHOICE_STORAGE_KEY = "workflow_discount_choice";
|
|
72
|
+
/** Broadcast when the shopper's discount choice changes. */
|
|
73
|
+
export declare const DISCOUNT_CHOICE_CHANGED_EVENT = "teleport:discount-choice-changed";
|
|
74
|
+
//# sourceMappingURL=discount-engine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discount-engine.d.ts","sourceRoot":"","sources":["../../../src/utils/discount-engine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,gCAAgC,QAAO,MAoWtC,CAAA;AAEd,+DAA+D;AAC/D,eAAO,MAAM,eAAe,uBAAuB,CAAA;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,MAAM,CAAA;AAEvC;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,uBAAuB,CAAA;AAEzD,oDAAoD;AACpD,eAAO,MAAM,uBAAuB,+BAA+B,CAAA;AAEnE;;;GAGG;AACH,eAAO,MAAM,uBAAuB,+BAA+B,CAAA;AAEnE,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,8BAA8B,CAAA;AAEjE;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,6BAA6B,CAAA;AAErE,4DAA4D;AAC5D,eAAO,MAAM,6BAA6B,qCAAqC,CAAA"}
|