@teleporthq/teleport-shared 0.43.67 → 0.43.69
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__/_helpers/embed-runtime-emitter.ts +197 -0
- package/__tests__/utils/discount-engine.ts +1548 -0
- package/__tests__/utils/product-options.ts +2458 -0
- package/__tests__/utils/rich-text-embeds-runtime-module.ts +34 -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/rich-text-embeds-codegen.d.ts +13 -0
- package/dist/cjs/utils/rich-text-embeds-codegen.d.ts.map +1 -1
- package/dist/cjs/utils/rich-text-embeds-codegen.js +15 -104
- package/dist/cjs/utils/rich-text-embeds-codegen.js.map +1 -1
- package/dist/cjs/utils/rich-text-embeds-runtime-source.d.ts +2 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.js +409 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.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/rich-text-embeds-codegen.d.ts +13 -0
- package/dist/esm/utils/rich-text-embeds-codegen.d.ts.map +1 -1
- package/dist/esm/utils/rich-text-embeds-codegen.js +16 -105
- package/dist/esm/utils/rich-text-embeds-codegen.js.map +1 -1
- package/dist/esm/utils/rich-text-embeds-runtime-source.d.ts +2 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.js +406 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.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/rich-text-embeds-codegen.ts +16 -183
- package/src/utils/rich-text-embeds-runtime-source.ts +405 -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,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The names the published app's service worker, its push routes and the
|
|
3
|
+
* workflow nodes that use them have to agree on. The node handlers are
|
|
4
|
+
* serialized into the generated app as source text, so they interpolate these
|
|
5
|
+
* values at generation time rather than importing them.
|
|
6
|
+
*/
|
|
7
|
+
/** The browsers that agreed to receive the app's push notifications, in the project database. */
|
|
8
|
+
export declare const SUBSCRIPTIONS_TABLE = "teleport_push_subscriptions";
|
|
9
|
+
/** Public: a browser saves (POST) or forgets (DELETE) its own subscription here. */
|
|
10
|
+
export declare const SUBSCRIPTIONS_ROUTE = "/api/push/subscriptions";
|
|
11
|
+
/** Internal: only the app's own server code may send a notification through it. */
|
|
12
|
+
export declare const SEND_ROUTE = "/api/push/send";
|
|
13
|
+
/** What a visitor-facing push step reports when the project has no push keys or no worker. */
|
|
14
|
+
export declare const NOT_CONFIGURED_MESSAGE = "Push notifications are not set up for this site.";
|
|
15
|
+
export declare const PUBLIC_KEY_ENV = "WEB_PUSH_VAPID_PUBLIC_KEY";
|
|
16
|
+
/** Filled at deploy from the project secret of the same name. */
|
|
17
|
+
export declare const PRIVATE_KEY_ENV = "WEB_PUSH_VAPID_PRIVATE_KEY";
|
|
18
|
+
/**
|
|
19
|
+
* The send route accepts a request only when this header carries an HMAC of
|
|
20
|
+
* `SEND_TOKEN_PURPOSE` keyed with the VAPID private key — a value only the
|
|
21
|
+
* app's own server holds, so no extra secret has to be provisioned.
|
|
22
|
+
*/
|
|
23
|
+
export declare const SEND_TOKEN_HEADER = "x-teleport-push-token";
|
|
24
|
+
export declare const SEND_TOKEN_PURPOSE = "teleport-web-push-send";
|
|
25
|
+
/**
|
|
26
|
+
* The page-side API the generated service-worker module publishes on `window`.
|
|
27
|
+
* A workflow node handler has no module scope, so a global is the only way it
|
|
28
|
+
* can reach the worker registration.
|
|
29
|
+
*/
|
|
30
|
+
export declare const SERVICE_WORKER_GLOBAL = "__teleportServiceWorker";
|
|
31
|
+
export declare const SUBSCRIBE_NODE_TYPE = "browser-subscribe-to-push";
|
|
32
|
+
export declare const UNSUBSCRIBE_NODE_TYPE = "browser-unsubscribe-from-push";
|
|
33
|
+
export declare const GET_SUBSCRIPTION_NODE_TYPE = "browser-get-push-subscription";
|
|
34
|
+
export declare const SHOW_NOTIFICATION_NODE_TYPE = "browser-show-notification";
|
|
35
|
+
export declare const SEND_NODE_TYPE = "push-send-notification";
|
|
36
|
+
/** Nodes that manage the visitor's push subscription and therefore need the push routes. */
|
|
37
|
+
export declare const PUSH_NODE_TYPES: ReadonlyArray<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Nodes that need a service worker on the page: push itself, and on-page
|
|
40
|
+
* notifications, which Chrome on Android only shows through a worker.
|
|
41
|
+
*/
|
|
42
|
+
export declare const SERVICE_WORKER_NODE_TYPES: ReadonlyArray<string>;
|
|
43
|
+
//# sourceMappingURL=web-push.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-push.d.ts","sourceRoot":"","sources":["../../../src/utils/web-push.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,iGAAiG;AACjG,eAAO,MAAM,mBAAmB,gCAAgC,CAAA;AAEhE,oFAAoF;AACpF,eAAO,MAAM,mBAAmB,4BAA4B,CAAA;AAE5D,mFAAmF;AACnF,eAAO,MAAM,UAAU,mBAAmB,CAAA;AAE1C,8FAA8F;AAC9F,eAAO,MAAM,sBAAsB,qDAAqD,CAAA;AAExF,eAAO,MAAM,cAAc,8BAA8B,CAAA;AAEzD,iEAAiE;AACjE,eAAO,MAAM,eAAe,+BAA+B,CAAA;AAE3D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0BAA0B,CAAA;AACxD,eAAO,MAAM,kBAAkB,2BAA2B,CAAA;AAE1D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAA4B,CAAA;AAE9D,eAAO,MAAM,mBAAmB,8BAA8B,CAAA;AAC9D,eAAO,MAAM,qBAAqB,kCAAkC,CAAA;AACpE,eAAO,MAAM,0BAA0B,kCAAkC,CAAA;AACzE,eAAO,MAAM,2BAA2B,8BAA8B,CAAA;AACtE,eAAO,MAAM,cAAc,2BAA2B,CAAA;AAEtD,4FAA4F;AAC5F,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,MAAM,CAKjD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,aAAa,CAAC,MAAM,CAG3D,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The names the published app's service worker, its push routes and the
|
|
4
|
+
* workflow nodes that use them have to agree on. The node handlers are
|
|
5
|
+
* serialized into the generated app as source text, so they interpolate these
|
|
6
|
+
* values at generation time rather than importing them.
|
|
7
|
+
*/
|
|
8
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
9
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
10
|
+
if (ar || !(i in from)) {
|
|
11
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
12
|
+
ar[i] = from[i];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SERVICE_WORKER_NODE_TYPES = exports.PUSH_NODE_TYPES = exports.SEND_NODE_TYPE = exports.SHOW_NOTIFICATION_NODE_TYPE = exports.GET_SUBSCRIPTION_NODE_TYPE = exports.UNSUBSCRIBE_NODE_TYPE = exports.SUBSCRIBE_NODE_TYPE = exports.SERVICE_WORKER_GLOBAL = exports.SEND_TOKEN_PURPOSE = exports.SEND_TOKEN_HEADER = exports.PRIVATE_KEY_ENV = exports.PUBLIC_KEY_ENV = exports.NOT_CONFIGURED_MESSAGE = exports.SEND_ROUTE = exports.SUBSCRIPTIONS_ROUTE = exports.SUBSCRIPTIONS_TABLE = void 0;
|
|
19
|
+
/** The browsers that agreed to receive the app's push notifications, in the project database. */
|
|
20
|
+
exports.SUBSCRIPTIONS_TABLE = 'teleport_push_subscriptions';
|
|
21
|
+
/** Public: a browser saves (POST) or forgets (DELETE) its own subscription here. */
|
|
22
|
+
exports.SUBSCRIPTIONS_ROUTE = '/api/push/subscriptions';
|
|
23
|
+
/** Internal: only the app's own server code may send a notification through it. */
|
|
24
|
+
exports.SEND_ROUTE = '/api/push/send';
|
|
25
|
+
/** What a visitor-facing push step reports when the project has no push keys or no worker. */
|
|
26
|
+
exports.NOT_CONFIGURED_MESSAGE = 'Push notifications are not set up for this site.';
|
|
27
|
+
exports.PUBLIC_KEY_ENV = 'WEB_PUSH_VAPID_PUBLIC_KEY';
|
|
28
|
+
/** Filled at deploy from the project secret of the same name. */
|
|
29
|
+
exports.PRIVATE_KEY_ENV = 'WEB_PUSH_VAPID_PRIVATE_KEY';
|
|
30
|
+
/**
|
|
31
|
+
* The send route accepts a request only when this header carries an HMAC of
|
|
32
|
+
* `SEND_TOKEN_PURPOSE` keyed with the VAPID private key — a value only the
|
|
33
|
+
* app's own server holds, so no extra secret has to be provisioned.
|
|
34
|
+
*/
|
|
35
|
+
exports.SEND_TOKEN_HEADER = 'x-teleport-push-token';
|
|
36
|
+
exports.SEND_TOKEN_PURPOSE = 'teleport-web-push-send';
|
|
37
|
+
/**
|
|
38
|
+
* The page-side API the generated service-worker module publishes on `window`.
|
|
39
|
+
* A workflow node handler has no module scope, so a global is the only way it
|
|
40
|
+
* can reach the worker registration.
|
|
41
|
+
*/
|
|
42
|
+
exports.SERVICE_WORKER_GLOBAL = '__teleportServiceWorker';
|
|
43
|
+
exports.SUBSCRIBE_NODE_TYPE = 'browser-subscribe-to-push';
|
|
44
|
+
exports.UNSUBSCRIBE_NODE_TYPE = 'browser-unsubscribe-from-push';
|
|
45
|
+
exports.GET_SUBSCRIPTION_NODE_TYPE = 'browser-get-push-subscription';
|
|
46
|
+
exports.SHOW_NOTIFICATION_NODE_TYPE = 'browser-show-notification';
|
|
47
|
+
exports.SEND_NODE_TYPE = 'push-send-notification';
|
|
48
|
+
/** Nodes that manage the visitor's push subscription and therefore need the push routes. */
|
|
49
|
+
exports.PUSH_NODE_TYPES = [
|
|
50
|
+
exports.SUBSCRIBE_NODE_TYPE,
|
|
51
|
+
exports.UNSUBSCRIBE_NODE_TYPE,
|
|
52
|
+
exports.GET_SUBSCRIPTION_NODE_TYPE,
|
|
53
|
+
exports.SEND_NODE_TYPE,
|
|
54
|
+
];
|
|
55
|
+
/**
|
|
56
|
+
* Nodes that need a service worker on the page: push itself, and on-page
|
|
57
|
+
* notifications, which Chrome on Android only shows through a worker.
|
|
58
|
+
*/
|
|
59
|
+
exports.SERVICE_WORKER_NODE_TYPES = __spreadArray(__spreadArray([], exports.PUSH_NODE_TYPES, true), [
|
|
60
|
+
exports.SHOW_NOTIFICATION_NODE_TYPE,
|
|
61
|
+
], false);
|
|
62
|
+
//# sourceMappingURL=web-push.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-push.js","sourceRoot":"","sources":["../../../src/utils/web-push.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;AAEH,iGAAiG;AACpF,QAAA,mBAAmB,GAAG,6BAA6B,CAAA;AAEhE,oFAAoF;AACvE,QAAA,mBAAmB,GAAG,yBAAyB,CAAA;AAE5D,mFAAmF;AACtE,QAAA,UAAU,GAAG,gBAAgB,CAAA;AAE1C,8FAA8F;AACjF,QAAA,sBAAsB,GAAG,kDAAkD,CAAA;AAE3E,QAAA,cAAc,GAAG,2BAA2B,CAAA;AAEzD,iEAAiE;AACpD,QAAA,eAAe,GAAG,4BAA4B,CAAA;AAE3D;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,uBAAuB,CAAA;AAC3C,QAAA,kBAAkB,GAAG,wBAAwB,CAAA;AAE1D;;;;GAIG;AACU,QAAA,qBAAqB,GAAG,yBAAyB,CAAA;AAEjD,QAAA,mBAAmB,GAAG,2BAA2B,CAAA;AACjD,QAAA,qBAAqB,GAAG,+BAA+B,CAAA;AACvD,QAAA,0BAA0B,GAAG,+BAA+B,CAAA;AAC5D,QAAA,2BAA2B,GAAG,2BAA2B,CAAA;AACzD,QAAA,cAAc,GAAG,wBAAwB,CAAA;AAEtD,4FAA4F;AAC/E,QAAA,eAAe,GAA0B;IACpD,2BAAmB;IACnB,6BAAqB;IACrB,kCAA0B;IAC1B,sBAAc;CACf,CAAA;AAED;;;GAGG;AACU,QAAA,yBAAyB,mCACjC,uBAAe;IAClB,mCAA2B;UAC5B"}
|
package/dist/esm/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/esm/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/esm/index.js
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.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","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.js","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"}
|
|
@@ -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":99,"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-runtime-source.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":"93f9044b313f5a2d34aaa4d31d8938a1deb519bb3e233767b092b7600094bbe0","signature":"d1fd641d1c2929ed0c1ad0854de651e14779fd42a658c603cfa714951e8f0335"},{"version":"04c9f60256025cb4f36a952b52afeb72a0779a7a916040486f1d53175359df3a","signature":"936144c05c1256e19d0ae2435e09d4e36e550c4085962ff407effb02ee6b5ab6"},{"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":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[181,183],[177,178],[177,178,179,180],[182],[184],[90],[126],[127,132,160],[128,139,140,147,157,168],[128,129,139,147],[130,169],[131,132,140,148],[132,157,165],[133,135,139,147],[126,134],[135,136],[139],[137,139],[126,139],[139,140,141,157,168],[139,140,141,154,157,160],[124,173],[135,139,142,147,157,168],[139,140,142,143,147,157,165,168],[142,144,157,165,168],[90,91,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,175],[139,145],[146,168,173],[135,139,147,157],[148],[149],[126,150],[151,167,173],[152],[153],[139,154,155],[154,156,169,171],[127,139,157,158,159,160],[127,157,159],[157,158],[160],[161],[126,157],[139,163,164],[163,164],[132,147,157,165],[166],[147,167],[127,142,153,168],[132,169],[157,170],[146,171],[172],[127,132,139,141,150,157,168,171,173],[157,174],[101,105,168],[101,157,168],[96],[98,101,165,168],[147,165],[176],[96,176],[98,101,147,168],[93,94,97,100,127,139,157,168],[93,99],[97,101,127,160,168,176],[127,176],[117,127,176],[95,96,176],[101],[95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,118,119,120,121,122,123],[101,108,109],[99,101,109,110],[100],[93,96,101],[101,105,109,110],[105],[99,101,104,168],[93,98,99,101,105,108],[127,157],[96,101,117,127,173,176],[79],[79,80,81,82,83],[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,78,84,87,88],[79,85],[85,86],[45,56],[45],[49,149],[76,77],[51],[49,52,89,149],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[184,1],[179,2],[181,3],[180,2],[183,4],[185,5],[90,6],[91,6],[126,7],[127,8],[128,9],[129,10],[130,11],[131,12],[132,13],[133,14],[134,15],[135,16],[136,16],[138,17],[137,18],[139,19],[140,20],[141,21],[125,22],[142,23],[143,24],[144,25],[176,26],[145,27],[146,28],[147,29],[148,30],[149,31],[150,32],[151,33],[152,34],[153,35],[154,36],[155,36],[156,37],[157,38],[159,39],[158,40],[160,41],[161,42],[162,43],[163,44],[164,45],[165,46],[166,47],[167,48],[168,49],[169,50],[170,51],[171,52],[172,53],[173,54],[174,55],[108,56],[115,57],[107,56],[122,58],[99,59],[98,60],[121,61],[116,62],[119,63],[101,64],[100,65],[96,66],[95,67],[118,68],[97,69],[102,70],[106,70],[124,71],[123,70],[110,72],[111,73],[113,74],[109,75],[112,76],[117,61],[104,77],[105,78],[114,79],[94,80],[120,81],[83,82],[80,82],[84,83],[81,82],[82,82],[50,84],[89,85],[86,86],[87,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[78,91],[63,84],[52,92],[62,84],[71,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[184,1],[179,2],[181,3],[180,2],[183,4],[185,5],[90,6],[91,6],[126,7],[127,8],[128,9],[129,10],[130,11],[131,12],[132,13],[133,14],[134,15],[135,16],[136,16],[138,17],[137,18],[139,19],[140,20],[141,21],[125,22],[142,23],[143,24],[144,25],[176,26],[145,27],[146,28],[147,29],[148,30],[149,31],[150,32],[151,33],[152,34],[153,35],[154,36],[155,36],[156,37],[157,38],[159,39],[158,40],[160,41],[161,42],[162,43],[163,44],[164,45],[165,46],[166,47],[167,48],[168,49],[169,50],[170,51],[171,52],[172,53],[173,54],[174,55],[108,56],[115,57],[107,56],[122,58],[99,59],[98,60],[121,61],[116,62],[119,63],[101,64],[100,65],[96,66],[95,67],[118,68],[97,69],[102,70],[106,70],[124,71],[123,70],[110,72],[111,73],[113,74],[109,75],[112,76],[117,61],[104,77],[105,78],[114,79],[94,80],[120,81],[84,83],[50,84],[89,85],[87,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,184,177,179,181,180,178,183,182,185,90,91,126,127,128,129,130,131,132,133,134,135,136,138,137,139,140,141,125,175,142,143,144,176,145,146,147,148,149,150,151,152,153,154,155,156,157,159,158,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,92,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,108,115,107,122,99,98,121,116,119,101,100,96,95,118,97,102,103,106,93,124,123,110,111,113,109,112,117,104,105,114,94,120,83,80,79,84,81,82,50,89,86,85,87,58,56,57,70,69,67,75,74,54,61,51,60,55,64,68,65,66,78,77,76,59,72,63,52,62,73,71,53,88,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,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 var MIXED_CURRENCY_REASON = 'mixed-currency';
|
|
26
|
+
export 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(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"); };
|
|
27
|
+
//# 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;AAChF,MAAM,CAAC,IAAM,qBAAqB,GAAG,gBAAgB,CAAA;AAErD,MAAM,CAAC,IAAM,8BAA8B,GAAG,cAAc,OAAA,suDAqC7C,qBAAqB,kqBAWnC,EAhD2D,CAgD3D,CAAA"}
|
|
@@ -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,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 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"; };
|
|
25
|
+
//# 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;AACH,MAAM,CAAC,IAAM,iCAAiC,GAAG,cAAc,OAAA,grMA+H9D,EA/H8D,CA+H9D,CAAA"}
|
|
@@ -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"}
|