@amazon-devices/kepler-subscription-entitlement 1.1.11 → 1.1.14-rn-83

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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/index.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/Errors.js","node_modules/@babel/runtime/helpers/getPrototypeOf.js","node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/assertThisInitialized.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/inherits.js","node_modules/@babel/runtime/helpers/setPrototypeOf.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/wrapNativeSuper.js","node_modules/@babel/runtime/helpers/isNativeFunction.js","node_modules/@babel/runtime/helpers/construct.js","node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/SubscriptionEntitlementEntry.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/Handlers.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/SubscriptionEntitlementServer.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/AmazonNativeSubscriptionEntitlement.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/PrivateHandlers.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"8056e488718fefc49eea\"]=\"c6fd05f434ca17a625cb\";\nglobal._majorVersionToNoVersionIdMap[\"5203f612bef379f296bc\"]=\"b76c9f97a24054abfbb8\";\nglobal._majorVersionToNoVersionIdMap[\"4e5cfcc581c7493363e1\"]=\"314094f4f2da5bb9023a\";\nglobal._majorVersionToNoVersionIdMap[\"678317e6b40a7f31f691\"]=\"2fa649627d103c1f21f0\";\nglobal._majorVersionToNoVersionIdMap[\"250c23355fec36ef0dcd\"]=\"fe080bdf6ac39009acbc\";\nglobal._majorVersionToNoVersionIdMap[\"16beeef2118d6649b424\"]=\"7b60f4df0d029e613ca1\";\nglobal._majorVersionToNoVersionIdMap[\"b32542540fa4fd12f5d3\"]=\"34fe1cb9e64ca54b811a\";\nglobal._majorVersionToNoVersionIdMap[\"0fd7f527473823c702eb\"]=\"574a02b98b354bdf8cb0\";\nglobal._majorVersionToNoVersionIdMap[\"0c294b0993b1e26a0eb1\"]=\"753386da48bc83c71166\";\nglobal._majorVersionToNoVersionIdMap[\"fa4f7962a78859045f50\"]=\"b003bf89a635ac987ac3\";\nglobal._majorVersionToNoVersionIdMap[\"d015dbdb9d85fa4da10e\"]=\"923f0717f8cde4cb9dba\";\nglobal._majorVersionToNoVersionIdMap[\"257f7de50334590bc014\"]=\"c4a5c8ff1fb030ff1203\";\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementServer = void 0;\n__exportStar(require(\"./turbo-modules/models/Errors\"), exports);\n__exportStar(require(\"./turbo-modules/models/SubscriptionEntitlementEntry\"), exports);\n__exportStar(require(\"./turbo-modules/Handlers\"), exports);\nvar SubscriptionEntitlementServer_1 = require(\"./turbo-modules/SubscriptionEntitlementServer\");\nObject.defineProperty(exports, \"SubscriptionEntitlementServer\", { enumerable: true, get: function () { return __importDefault(SubscriptionEntitlementServer_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InvalidArgumentError = exports.BaseError = void 0;\nclass BaseError extends Error {\n constructor(message) {\n super(message);\n }\n}\nexports.BaseError = BaseError;\n/**\n * Error thrown when invalid argument is passed to method.\n */\nclass InvalidArgumentError extends BaseError {\n}\nexports.InvalidArgumentError = InvalidArgumentError;\n","function _getPrototypeOf(t) {\n return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _getPrototypeOf(t);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(t, e) {\n return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _setPrototypeOf(t, e);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nvar isNativeFunction = require(\"./isNativeFunction.js\");\nvar construct = require(\"./construct.js\");\nfunction _wrapNativeSuper(t) {\n var r = \"function\" == typeof Map ? new Map() : void 0;\n return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) {\n if (null === t || !isNativeFunction(t)) return t;\n if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\");\n if (void 0 !== r) {\n if (r.has(t)) return r.get(t);\n r.set(t, Wrapper);\n }\n function Wrapper() {\n return construct(t, arguments, getPrototypeOf(this).constructor);\n }\n return Wrapper.prototype = Object.create(t.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), setPrototypeOf(Wrapper, t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _wrapNativeSuper(t);\n}\nmodule.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeFunction(t) {\n try {\n return -1 !== Function.toString.call(t).indexOf(\"[native code]\");\n } catch (n) {\n return \"function\" == typeof t;\n }\n}\nmodule.exports = _isNativeFunction, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _construct(t, e, r) {\n if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [null];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && setPrototypeOf(p, r.prototype), p;\n}\nmodule.exports = _construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n } catch (t) {}\n return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports)();\n}\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementEntryBuilder = void 0;\nconst Errors_1 = require(\"./Errors\");\n/**\n * Class representing a customer's entitlement to a subscription in the Amazon catalog. Created using `SubscriptionEntitlementEntryBuilder`.\n */\nclass SubscriptionEntitlementEntry {\n _acquisitionTimestampMs;\n _expirationTimestampMs;\n _subscriptionId;\n constructor(subscriptionId, acquisitionTimestamp, expirationTimestamp) {\n this._acquisitionTimestampMs = acquisitionTimestamp.getTime();\n this._expirationTimestampMs = expirationTimestamp.getTime();\n this._subscriptionId = subscriptionId;\n }\n /**\n * Gets the date when the subscription was acquired by the customer.\n *\n * @returns {Date} Acquisition date.\n */\n get acquisitionTimestamp() {\n return new Date(this._acquisitionTimestampMs);\n }\n /**\n * Gets the date of when the subscription expires for the customer.\n *\n * @returns {Date} Expiration date.\n */\n get expirationTimestamp() {\n return new Date(this._expirationTimestampMs);\n }\n /**\n * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.\n *\n * @returns {string} `SubscriptionId` as specified in Amazon catalog integration.\n */\n get subscriptionId() {\n return this._subscriptionId; //non-null assertion is safe due to check in builder for required field\n }\n}\n/**\n * Builder to create a `SubscriptionEntitlementEntry` object.\n */\nclass SubscriptionEntitlementEntryBuilder {\n mAcquisitionTimestamp;\n mExpirationTimestamp;\n mSubscriptionId;\n /**\n * Sets the date when the subscription was acquired by the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} acquisitionTimestamp - Acquisition date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n acquisitionTimestamp(acquisitionTimestamp) {\n this.mAcquisitionTimestamp = acquisitionTimestamp;\n return this;\n }\n /**\n * Sets the date of when the subscription expires for the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} expirationTimestamp - Expiration date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n expirationTimestamp(expirationTimestamp) {\n this.mExpirationTimestamp = expirationTimestamp;\n return this;\n }\n /**\n * Sets the `subscriptionId`, as specified in Amazon catalog integration the customer is entitled to.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {string} subscriptionId - SubscriptionId as specified in Amazon catalog integration.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n subscriptionId(subscriptionId) {\n this.mSubscriptionId = subscriptionId;\n return this;\n }\n /**\n * Builds a `SubscriptionEntitlementEntry` object with the fields set on the builder.\n *\n * @throws {InvalidArgumentError} if required fields are not set.\n * @returns {SubscriptionEntitlementEntry} The `SubscriptionEntitlementEntry` object created.\n */\n build() {\n if (!this.mSubscriptionId) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - subscriptionId is undefined');\n }\n if (!this.mAcquisitionTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - acquisitionTimestamp is undefined');\n }\n if (!this.mExpirationTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - expirationTimestamp is undefined');\n }\n const subscriptionEntitlementEntry = new SubscriptionEntitlementEntry(this.mSubscriptionId, this.mAcquisitionTimestamp, this.mExpirationTimestamp);\n return subscriptionEntitlementEntry;\n }\n}\nexports.SubscriptionEntitlementEntryBuilder = SubscriptionEntitlementEntryBuilder;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nconst PrivateHandlers_1 = require(\"./PrivateHandlers\");\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('SubscriptionEntitlementTurboModule is null.');\n}\nclass SubscriptionEntitlementServer {\n setSubscriptionEntitlementsHandler(_subscriptionEntitlementsHandler) {\n console.error('This method is deprecated, please use setSubscriptionEntitlementsHandlerForComponent instead.');\n }\n setSubscriptionEntitlementsHandlerForComponent(subscriptionEntitlementsHandler, component) {\n let privateGetAllSubscriptionEntitlementsCallback = (providerId) => {\n let provider = new PrivateHandlers_1.SubscriptionEntitlementsProvider(providerId);\n subscriptionEntitlementsHandler.getAllSubscriptionEntitlements(provider);\n };\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptionEntitlementsHandlerForComponent(privateGetAllSubscriptionEntitlementsCallback, component);\n }\n reportNewSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportNewSubscription(subscription);\n }\n reportRemovedSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportRemovedSubscription(subscription);\n }\n reportRefreshedSubscriptions() {\n AmazonNativeSubscriptionEntitlement_1.default.reportRefreshedSubscriptions();\n }\n setSubscriptions(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptions(subscriptions);\n }\n}\nexports.default = new SubscriptionEntitlementServer();\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//@ts-ignore\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\n// tslint:disable-next-line\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonNativeSubscriptionEntitlement');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementsProvider = void 0;\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('AmazonNativeSubscriptionEntitlement is null.');\n}\n/**\n * JS SubscriptionEntitlementsProvider class exist for short term work around while TM APIs do not have support\n * for passing in nativeObjects from native side of TM into JS callback. Eventually will not need JS implementation\n * of ISubscriptionEntitlementsProvider since a reference to a native SubscriptionEntitlementsProvider will be provided instead.\n *\n * Each new JS SubscriptionEntitlementsProvider has a providerId that is given from native side for TM that maps this\n * JS SubscriptionEntitlementsProvider to a native SubscriptionEntitlementsProvider.\n * JS SubscriptionEntitlementsProvideruses uses TM to pass calls through to the associated native SubscriptionEntitlementsProvider.\n */\nclass SubscriptionEntitlementsProvider {\n providerId;\n constructor(providerId) {\n this.providerId = providerId;\n }\n addSubscriptionEntitlementChunk(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.addSubscriptionEntitlementChunk(subscriptions, this.providerId);\n }\n commit() {\n AmazonNativeSubscriptionEntitlement_1.default.subscriptionEntitlementsProviderCommit(this.providerId);\n }\n}\nexports.SubscriptionEntitlementsProvider = SubscriptionEntitlementsProvider;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECC;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;yFGO,gFH"}],[{"names":["<global>","BaseError","BaseError#constructor","InvalidArgumentError"],"mappings":"AAA;ACS;ICC;KDE;CDC;AGK;CHC"}],[{"names":["_getPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_possibleConstructorReturn"],"mappings":"AAA;ACE;CDI"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["_assertThisInitialized","<global>"],"mappings":"AAA;CCG"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_inherits"],"mappings":"AAA;ACC;CDW"}],[{"names":["_setPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["<global>","_wrapNativeSuper","Wrapper"],"mappings":"AAA;ACI;ICS;KDE;CDU"}],[{"names":["_isNativeFunction","<global>"],"mappings":"AAA;CCM"}],[{"names":["<global>","_construct"],"mappings":"AAA;ACE;CDM"}],[{"names":["_isNativeReflectConstruct","Reflect.construct$argument_2","<global>"],"mappings":"AAA;2ECE,cD;CEK"}],[{"names":["<global>","SubscriptionEntitlementEntry","constructor","get__acquisitionTimestamp","get__expirationTimestamp","get__subscriptionId","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntryBuilder#acquisitionTimestamp","SubscriptionEntitlementEntryBuilder#expirationTimestamp","SubscriptionEntitlementEntryBuilder#subscriptionId","SubscriptionEntitlementEntryBuilder#build"],"mappings":"AAA;ACa;ICI;KDI;IEM;KFE;IGM;KHE;IIM;KJE;CDC;AMI;ICW;KDG;IEQ;KFG;IGQ;KHG;IIO;KJY;CNC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementServer","setSubscriptionEntitlementsHandler","setSubscriptionEntitlementsHandlerForComponent","privateGetAllSubscriptionEntitlementsCallback","reportNewSubscription","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions"],"mappings":"AAA;wDCO;CDE;AEO;ICC;KDE;IEC;4DCC;SDG;KFE;IIC;KJG;IKC;KLG;IMC;KNE;IOC;KPE;CFC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementsProvider","SubscriptionEntitlementsProvider#constructor","SubscriptionEntitlementsProvider#addSubscriptionEntitlementChunk","SubscriptionEntitlementsProvider#commit"],"mappings":"AAA;wDCO;CDE;AEgB;ICE;KDE;IEC;KFE;IGC;KHE;CFC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","__createBinding","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","__importDefault","mod","value","SubscriptionEntitlementServer","require","_dependencyMap","_$$_REQUIRE","default","_callSuper","t","e","_isNativeReflectConstruct","Reflect","construct","constructor","apply","Boolean","valueOf","InvalidArgumentError","BaseError","_Error","message","Error","_BaseError","arguments","_getPrototypeOf","module","setPrototypeOf","getPrototypeOf","bind","__proto__","_possibleConstructorReturn","TypeError","_typeof","Symbol","iterator","_assertThisInitialized","ReferenceError","_classCallCheck","a","n","_inherits","_setPrototypeOf","_defineProperties","r","length","key","_createClass","toPropertyKey","i","toPrimitive","String","Number","_wrapNativeSuper","Map","has","set","Wrapper","_isNativeFunction","Function","toString","indexOf","_construct","push","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntry","subscriptionId","acquisitionTimestamp","expirationTimestamp","_acquisitionTimestampMs","getTime","_expirationTimestampMs","_subscriptionId","Date","mAcquisitionTimestamp","mExpirationTimestamp","mSubscriptionId","build","subscriptionEntitlementEntry","AmazonNativeSubscriptionEntitlement_1","setSubscriptionEntitlementsHandler","_subscriptionEntitlementsHandler","console","error","setSubscriptionEntitlementsHandlerForComponent","subscriptionEntitlementsHandler","component","privateGetAllSubscriptionEntitlementsCallback","providerId","provider","SubscriptionEntitlementsProvider","getAllSubscriptionEntitlements","reportNewSubscription","subscription","warn","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions","subscriptions","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","NODE_ENV","invariant","condition","format","_len","extraArgs","Array","_key","argIndex","replace","framesToPop","addSubscriptionEntitlementChunk","commit","subscriptionEntitlementsProviderCommit"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,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;MAAA5C,GAAA;MAAA5C,KAAA,EACD,SAAAkH,+BAA+BA,CAAClB,aAAa,EAAE;QAC3CnB,qCAAqC,CAACxE,OAAO,CAAC6G,+BAA+B,CAAClB,aAAa,EAAE,IAAI,CAACV,UAAU,CAAC;MACjH;IAAC;MAAA1C,GAAA;MAAA5C,KAAA,EACD,SAAAmH,MAAMA,CAAA,EAAG;QACLtC,qCAAqC,CAACxE,OAAO,CAAC+G,sCAAsC,CAAC,IAAI,CAAC9B,UAAU,CAAC;MACzG;IAAC;EAAA;EAEL7F,OAAO,CAAC+F,gCAAgC,GAAGA,gCAAgC;AAAC","x_amazon_bundleId":"55fe69539b543c9467d7e5bd7378d43a999ced1cb277a814db0094a97cbdb94e"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/index.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/Errors.js","node_modules/@babel/runtime/helpers/getPrototypeOf.js","node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/assertThisInitialized.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/inherits.js","node_modules/@babel/runtime/helpers/setPrototypeOf.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/wrapNativeSuper.js","node_modules/@babel/runtime/helpers/isNativeFunction.js","node_modules/@babel/runtime/helpers/construct.js","node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/SubscriptionEntitlementEntry.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/Handlers.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/SubscriptionEntitlementServer.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/AmazonNativeSubscriptionEntitlement.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/PrivateHandlers.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"8056e488718fefc49eea\"]=\"c6fd05f434ca17a625cb\";\nglobal._majorVersionToNoVersionIdMap[\"5203f612bef379f296bc\"]=\"b76c9f97a24054abfbb8\";\nglobal._majorVersionToNoVersionIdMap[\"4e5cfcc581c7493363e1\"]=\"314094f4f2da5bb9023a\";\nglobal._majorVersionToNoVersionIdMap[\"678317e6b40a7f31f691\"]=\"2fa649627d103c1f21f0\";\nglobal._majorVersionToNoVersionIdMap[\"250c23355fec36ef0dcd\"]=\"fe080bdf6ac39009acbc\";\nglobal._majorVersionToNoVersionIdMap[\"16beeef2118d6649b424\"]=\"7b60f4df0d029e613ca1\";\nglobal._majorVersionToNoVersionIdMap[\"b32542540fa4fd12f5d3\"]=\"34fe1cb9e64ca54b811a\";\nglobal._majorVersionToNoVersionIdMap[\"0fd7f527473823c702eb\"]=\"574a02b98b354bdf8cb0\";\nglobal._majorVersionToNoVersionIdMap[\"0c294b0993b1e26a0eb1\"]=\"753386da48bc83c71166\";\nglobal._majorVersionToNoVersionIdMap[\"fa4f7962a78859045f50\"]=\"b003bf89a635ac987ac3\";\nglobal._majorVersionToNoVersionIdMap[\"d015dbdb9d85fa4da10e\"]=\"923f0717f8cde4cb9dba\";\nglobal._majorVersionToNoVersionIdMap[\"257f7de50334590bc014\"]=\"c4a5c8ff1fb030ff1203\";\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementServer = void 0;\n__exportStar(require(\"./turbo-modules/models/Errors\"), exports);\n__exportStar(require(\"./turbo-modules/models/SubscriptionEntitlementEntry\"), exports);\n__exportStar(require(\"./turbo-modules/Handlers\"), exports);\nvar SubscriptionEntitlementServer_1 = require(\"./turbo-modules/SubscriptionEntitlementServer\");\nObject.defineProperty(exports, \"SubscriptionEntitlementServer\", { enumerable: true, get: function () { return __importDefault(SubscriptionEntitlementServer_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InvalidArgumentError = exports.BaseError = void 0;\nclass BaseError extends Error {\n constructor(message) {\n super(message);\n }\n}\nexports.BaseError = BaseError;\n/**\n * Error thrown when invalid argument is passed to method.\n */\nclass InvalidArgumentError extends BaseError {\n}\nexports.InvalidArgumentError = InvalidArgumentError;\n","function _getPrototypeOf(t) {\n return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _getPrototypeOf(t);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(t, e) {\n return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _setPrototypeOf(t, e);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nvar isNativeFunction = require(\"./isNativeFunction.js\");\nvar construct = require(\"./construct.js\");\nfunction _wrapNativeSuper(t) {\n var r = \"function\" == typeof Map ? new Map() : void 0;\n return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) {\n if (null === t || !isNativeFunction(t)) return t;\n if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\");\n if (void 0 !== r) {\n if (r.has(t)) return r.get(t);\n r.set(t, Wrapper);\n }\n function Wrapper() {\n return construct(t, arguments, getPrototypeOf(this).constructor);\n }\n return Wrapper.prototype = Object.create(t.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), setPrototypeOf(Wrapper, t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _wrapNativeSuper(t);\n}\nmodule.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeFunction(t) {\n try {\n return -1 !== Function.toString.call(t).indexOf(\"[native code]\");\n } catch (n) {\n return \"function\" == typeof t;\n }\n}\nmodule.exports = _isNativeFunction, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _construct(t, e, r) {\n if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [null];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && setPrototypeOf(p, r.prototype), p;\n}\nmodule.exports = _construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n } catch (t) {}\n return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports)();\n}\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementEntryBuilder = void 0;\nconst Errors_1 = require(\"./Errors\");\n/**\n * Class representing a customer's entitlement to a subscription in the Amazon catalog. Created using `SubscriptionEntitlementEntryBuilder`.\n */\nclass SubscriptionEntitlementEntry {\n _acquisitionTimestampMs;\n _expirationTimestampMs;\n _subscriptionId;\n constructor(subscriptionId, acquisitionTimestamp, expirationTimestamp) {\n this._acquisitionTimestampMs = acquisitionTimestamp.getTime();\n this._expirationTimestampMs = expirationTimestamp.getTime();\n this._subscriptionId = subscriptionId;\n }\n /**\n * Gets the date when the subscription was acquired by the customer.\n *\n * @returns {Date} Acquisition date.\n */\n get acquisitionTimestamp() {\n return new Date(this._acquisitionTimestampMs);\n }\n /**\n * Gets the date of when the subscription expires for the customer.\n *\n * @returns {Date} Expiration date.\n */\n get expirationTimestamp() {\n return new Date(this._expirationTimestampMs);\n }\n /**\n * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.\n *\n * @returns {string} `SubscriptionId` as specified in Amazon catalog integration.\n */\n get subscriptionId() {\n return this._subscriptionId; //non-null assertion is safe due to check in builder for required field\n }\n}\n/**\n * Builder to create a `SubscriptionEntitlementEntry` object.\n */\nclass SubscriptionEntitlementEntryBuilder {\n mAcquisitionTimestamp;\n mExpirationTimestamp;\n mSubscriptionId;\n /**\n * Sets the date when the subscription was acquired by the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} acquisitionTimestamp - Acquisition date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n acquisitionTimestamp(acquisitionTimestamp) {\n this.mAcquisitionTimestamp = acquisitionTimestamp;\n return this;\n }\n /**\n * Sets the date of when the subscription expires for the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} expirationTimestamp - Expiration date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n expirationTimestamp(expirationTimestamp) {\n this.mExpirationTimestamp = expirationTimestamp;\n return this;\n }\n /**\n * Sets the `subscriptionId`, as specified in Amazon catalog integration the customer is entitled to.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {string} subscriptionId - SubscriptionId as specified in Amazon catalog integration.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n subscriptionId(subscriptionId) {\n this.mSubscriptionId = subscriptionId;\n return this;\n }\n /**\n * Builds a `SubscriptionEntitlementEntry` object with the fields set on the builder.\n *\n * @throws {InvalidArgumentError} if required fields are not set.\n * @returns {SubscriptionEntitlementEntry} The `SubscriptionEntitlementEntry` object created.\n */\n build() {\n if (!this.mSubscriptionId) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - subscriptionId is undefined');\n }\n if (!this.mAcquisitionTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - acquisitionTimestamp is undefined');\n }\n if (!this.mExpirationTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - expirationTimestamp is undefined');\n }\n const subscriptionEntitlementEntry = new SubscriptionEntitlementEntry(this.mSubscriptionId, this.mAcquisitionTimestamp, this.mExpirationTimestamp);\n return subscriptionEntitlementEntry;\n }\n}\nexports.SubscriptionEntitlementEntryBuilder = SubscriptionEntitlementEntryBuilder;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nconst PrivateHandlers_1 = require(\"./PrivateHandlers\");\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('SubscriptionEntitlementTurboModule is null.');\n}\nclass SubscriptionEntitlementServer {\n setSubscriptionEntitlementsHandler(_subscriptionEntitlementsHandler) {\n console.error('This method is deprecated, please use setSubscriptionEntitlementsHandlerForComponent instead.');\n }\n setSubscriptionEntitlementsHandlerForComponent(subscriptionEntitlementsHandler, component) {\n let privateGetAllSubscriptionEntitlementsCallback = (providerId) => {\n let provider = new PrivateHandlers_1.SubscriptionEntitlementsProvider(providerId);\n subscriptionEntitlementsHandler.getAllSubscriptionEntitlements(provider);\n };\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptionEntitlementsHandlerForComponent(privateGetAllSubscriptionEntitlementsCallback, component);\n }\n reportNewSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportNewSubscription(subscription);\n }\n reportRemovedSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportRemovedSubscription(subscription);\n }\n reportRefreshedSubscriptions() {\n AmazonNativeSubscriptionEntitlement_1.default.reportRefreshedSubscriptions();\n }\n setSubscriptions(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptions(subscriptions);\n }\n}\nexports.default = new SubscriptionEntitlementServer();\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//@ts-ignore\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\n// tslint:disable-next-line\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonNativeSubscriptionEntitlement');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementsProvider = void 0;\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('AmazonNativeSubscriptionEntitlement is null.');\n}\n/**\n * JS SubscriptionEntitlementsProvider class exist for short term work around while TM APIs do not have support\n * for passing in nativeObjects from native side of TM into JS callback. Eventually will not need JS implementation\n * of ISubscriptionEntitlementsProvider since a reference to a native SubscriptionEntitlementsProvider will be provided instead.\n *\n * Each new JS SubscriptionEntitlementsProvider has a providerId that is given from native side for TM that maps this\n * JS SubscriptionEntitlementsProvider to a native SubscriptionEntitlementsProvider.\n * JS SubscriptionEntitlementsProvideruses uses TM to pass calls through to the associated native SubscriptionEntitlementsProvider.\n */\nclass SubscriptionEntitlementsProvider {\n providerId;\n constructor(providerId) {\n this.providerId = providerId;\n }\n addSubscriptionEntitlementChunk(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.addSubscriptionEntitlementChunk(subscriptions, this.providerId);\n }\n commit() {\n AmazonNativeSubscriptionEntitlement_1.default.subscriptionEntitlementsProviderCommit(this.providerId);\n }\n}\nexports.SubscriptionEntitlementsProvider = SubscriptionEntitlementsProvider;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECC;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;yFGO,gFH"}],[{"names":["<global>","BaseError","BaseError#constructor","InvalidArgumentError"],"mappings":"AAA;ACS;ICC;KDE;CDC;AGK;CHC"}],[{"names":["_getPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_possibleConstructorReturn"],"mappings":"AAA;ACE;CDI"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["_assertThisInitialized","<global>"],"mappings":"AAA;CCG"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_inherits"],"mappings":"AAA;ACC;CDW"}],[{"names":["_setPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["<global>","_wrapNativeSuper","Wrapper"],"mappings":"AAA;ACI;ICS;KDE;CDU"}],[{"names":["_isNativeFunction","<global>"],"mappings":"AAA;CCM"}],[{"names":["<global>","_construct"],"mappings":"AAA;ACE;CDM"}],[{"names":["_isNativeReflectConstruct","Reflect.construct$argument_2","<global>"],"mappings":"AAA;2ECE,cD;CEK"}],[{"names":["<global>","SubscriptionEntitlementEntry","constructor","get__acquisitionTimestamp","get__expirationTimestamp","get__subscriptionId","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntryBuilder#acquisitionTimestamp","SubscriptionEntitlementEntryBuilder#expirationTimestamp","SubscriptionEntitlementEntryBuilder#subscriptionId","SubscriptionEntitlementEntryBuilder#build"],"mappings":"AAA;ACa;ICI;KDI;IEM;KFE;IGM;KHE;IIM;KJE;CDC;AMI;ICW;KDG;IEQ;KFG;IGQ;KHG;IIO;KJY;CNC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementServer","setSubscriptionEntitlementsHandler","setSubscriptionEntitlementsHandlerForComponent","privateGetAllSubscriptionEntitlementsCallback","reportNewSubscription","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions"],"mappings":"AAA;wDCO;CDE;AEO;ICC;KDE;IEC;4DCC;SDG;KFE;IIC;KJG;IKC;KLG;IMC;KNE;IOC;KPE;CFC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementsProvider","SubscriptionEntitlementsProvider#constructor","SubscriptionEntitlementsProvider#addSubscriptionEntitlementChunk","SubscriptionEntitlementsProvider#commit"],"mappings":"AAA;wDCO;CDE;AEgB;ICE;KDE;IEC;KFE;IGC;KHE;CFC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","__createBinding","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","__importDefault","mod","value","SubscriptionEntitlementServer","require","_dependencyMap","_$$_REQUIRE","default","_callSuper","t","e","_isNativeReflectConstruct","Reflect","construct","constructor","apply","Boolean","valueOf","InvalidArgumentError","BaseError","_Error","message","Error","_BaseError","arguments","_getPrototypeOf","module","setPrototypeOf","getPrototypeOf","bind","__proto__","_possibleConstructorReturn","TypeError","_typeof","Symbol","iterator","_assertThisInitialized","ReferenceError","_classCallCheck","a","n","_inherits","_setPrototypeOf","_defineProperties","r","length","key","_createClass","toPropertyKey","i","toPrimitive","String","Number","_wrapNativeSuper","Map","has","set","Wrapper","_isNativeFunction","Function","toString","indexOf","_construct","push","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntry","subscriptionId","acquisitionTimestamp","expirationTimestamp","_acquisitionTimestampMs","getTime","_expirationTimestampMs","_subscriptionId","Date","mAcquisitionTimestamp","mExpirationTimestamp","mSubscriptionId","build","subscriptionEntitlementEntry","AmazonNativeSubscriptionEntitlement_1","setSubscriptionEntitlementsHandler","_subscriptionEntitlementsHandler","console","error","setSubscriptionEntitlementsHandlerForComponent","subscriptionEntitlementsHandler","component","privateGetAllSubscriptionEntitlementsCallback","providerId","provider","SubscriptionEntitlementsProvider","getAllSubscriptionEntitlements","reportNewSubscription","subscription","warn","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions","subscriptions","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","NODE_ENV","invariant","condition","format","_len","extraArgs","Array","_key","argIndex","replace","framesToPop","addSubscriptionEntitlementChunk","commit","subscriptionEntitlementsProviderCommit"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAA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I,CAAC0E,qCAAqC,CAACxE,OAAO,EAAE;IAChD,MAAM,IAAIe,KAAK,CAAC,8CAA8C,CAAC;EACnE;EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EARA,IASMoE,gCAAgC;IAElC,SAAAA,iCAAYF,UAAU,EAAE;MAAAlF,WAAA,CAAAD,cAAA,WAAAqF,gCAAA;MACpB,IAAI,CAACF,UAAU,GAAGA,UAAU;IAChC;IAAC,OAAAlF,WAAA,CAAAD,cAAA,KAAAqF,gCAAA;MAAA5C,GAAA;MAAA5C,KAAA,EACD,SAAAkH,+BAA+BA,CAAClB,aAAa,EAAE;QAC3CnB,qCAAqC,CAACxE,OAAO,CAAC6G,+BAA+B,CAAClB,aAAa,EAAE,IAAI,CAACV,UAAU,CAAC;MACjH;IAAC;MAAA1C,GAAA;MAAA5C,KAAA,EACD,SAAAmH,MAAMA,CAAA,EAAG;QACLtC,qCAAqC,CAACxE,OAAO,CAAC+G,sCAAsC,CAAC,IAAI,CAAC9B,UAAU,CAAC;MACzG;IAAC;EAAA;EAEL7F,OAAO,CAAC+F,gCAAgC,GAAGA,gCAAgC;AAAC","x_amazon_bundleId":"55fe69539b543c9467d7e5bd7378d43a999ced1cb277a814db0094a97cbdb94e"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/index.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/Errors.js","node_modules/@babel/runtime/helpers/getPrototypeOf.js","node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","node_modules/@babel/runtime/helpers/typeof.js","node_modules/@babel/runtime/helpers/assertThisInitialized.js","node_modules/@babel/runtime/helpers/classCallCheck.js","node_modules/@babel/runtime/helpers/inherits.js","node_modules/@babel/runtime/helpers/setPrototypeOf.js","node_modules/@babel/runtime/helpers/createClass.js","node_modules/@babel/runtime/helpers/toPropertyKey.js","node_modules/@babel/runtime/helpers/toPrimitive.js","node_modules/@babel/runtime/helpers/wrapNativeSuper.js","node_modules/@babel/runtime/helpers/isNativeFunction.js","node_modules/@babel/runtime/helpers/construct.js","node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/models/SubscriptionEntitlementEntry.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/Handlers.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/SubscriptionEntitlementServer.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/AmazonNativeSubscriptionEntitlement.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/index.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/turbomodules/TurboModuleRegistry.js","node_modules/@amazon-devices/keplerscript-turbomodule-api/dist/invariant/invariant.js","node_modules/@amazon-devices/kepler-subscription-entitlement/dist/turbo-modules/PrivateHandlers.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","global._majorVersionToNoVersionIdMap[\"8056e488718fefc49eea\"]=\"c6fd05f434ca17a625cb\";\nglobal._majorVersionToNoVersionIdMap[\"5203f612bef379f296bc\"]=\"b76c9f97a24054abfbb8\";\nglobal._majorVersionToNoVersionIdMap[\"4e5cfcc581c7493363e1\"]=\"314094f4f2da5bb9023a\";\nglobal._majorVersionToNoVersionIdMap[\"678317e6b40a7f31f691\"]=\"2fa649627d103c1f21f0\";\nglobal._majorVersionToNoVersionIdMap[\"250c23355fec36ef0dcd\"]=\"fe080bdf6ac39009acbc\";\nglobal._majorVersionToNoVersionIdMap[\"16beeef2118d6649b424\"]=\"7b60f4df0d029e613ca1\";\nglobal._majorVersionToNoVersionIdMap[\"b32542540fa4fd12f5d3\"]=\"34fe1cb9e64ca54b811a\";\nglobal._majorVersionToNoVersionIdMap[\"0fd7f527473823c702eb\"]=\"574a02b98b354bdf8cb0\";\nglobal._majorVersionToNoVersionIdMap[\"0c294b0993b1e26a0eb1\"]=\"753386da48bc83c71166\";\nglobal._majorVersionToNoVersionIdMap[\"fa4f7962a78859045f50\"]=\"b003bf89a635ac987ac3\";\nglobal._majorVersionToNoVersionIdMap[\"d015dbdb9d85fa4da10e\"]=\"923f0717f8cde4cb9dba\";\nglobal._majorVersionToNoVersionIdMap[\"257f7de50334590bc014\"]=\"c4a5c8ff1fb030ff1203\";\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementServer = void 0;\n__exportStar(require(\"./turbo-modules/models/Errors\"), exports);\n__exportStar(require(\"./turbo-modules/models/SubscriptionEntitlementEntry\"), exports);\n__exportStar(require(\"./turbo-modules/Handlers\"), exports);\nvar SubscriptionEntitlementServer_1 = require(\"./turbo-modules/SubscriptionEntitlementServer\");\nObject.defineProperty(exports, \"SubscriptionEntitlementServer\", { enumerable: true, get: function () { return __importDefault(SubscriptionEntitlementServer_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.InvalidArgumentError = exports.BaseError = void 0;\nclass BaseError extends Error {\n constructor(message) {\n super(message);\n }\n}\nexports.BaseError = BaseError;\n/**\n * Error thrown when invalid argument is passed to method.\n */\nclass InvalidArgumentError extends BaseError {\n}\nexports.InvalidArgumentError = InvalidArgumentError;\n","function _getPrototypeOf(t) {\n return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _getPrototypeOf(t);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(t, e) {\n return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _setPrototypeOf(t, e);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nvar isNativeFunction = require(\"./isNativeFunction.js\");\nvar construct = require(\"./construct.js\");\nfunction _wrapNativeSuper(t) {\n var r = \"function\" == typeof Map ? new Map() : void 0;\n return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) {\n if (null === t || !isNativeFunction(t)) return t;\n if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\");\n if (void 0 !== r) {\n if (r.has(t)) return r.get(t);\n r.set(t, Wrapper);\n }\n function Wrapper() {\n return construct(t, arguments, getPrototypeOf(this).constructor);\n }\n return Wrapper.prototype = Object.create(t.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), setPrototypeOf(Wrapper, t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _wrapNativeSuper(t);\n}\nmodule.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeFunction(t) {\n try {\n return -1 !== Function.toString.call(t).indexOf(\"[native code]\");\n } catch (n) {\n return \"function\" == typeof t;\n }\n}\nmodule.exports = _isNativeFunction, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _construct(t, e, r) {\n if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [null];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && setPrototypeOf(p, r.prototype), p;\n}\nmodule.exports = _construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n } catch (t) {}\n return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports)();\n}\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementEntryBuilder = void 0;\nconst Errors_1 = require(\"./Errors\");\n/**\n * Class representing a customer's entitlement to a subscription in the Amazon catalog. Created using `SubscriptionEntitlementEntryBuilder`.\n */\nclass SubscriptionEntitlementEntry {\n _acquisitionTimestampMs;\n _expirationTimestampMs;\n _subscriptionId;\n constructor(subscriptionId, acquisitionTimestamp, expirationTimestamp) {\n this._acquisitionTimestampMs = acquisitionTimestamp.getTime();\n this._expirationTimestampMs = expirationTimestamp.getTime();\n this._subscriptionId = subscriptionId;\n }\n /**\n * Gets the date when the subscription was acquired by the customer.\n *\n * @returns {Date} Acquisition date.\n */\n get acquisitionTimestamp() {\n return new Date(this._acquisitionTimestampMs);\n }\n /**\n * Gets the date of when the subscription expires for the customer.\n *\n * @returns {Date} Expiration date.\n */\n get expirationTimestamp() {\n return new Date(this._expirationTimestampMs);\n }\n /**\n * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.\n *\n * @returns {string} `SubscriptionId` as specified in Amazon catalog integration.\n */\n get subscriptionId() {\n return this._subscriptionId; //non-null assertion is safe due to check in builder for required field\n }\n}\n/**\n * Builder to create a `SubscriptionEntitlementEntry` object.\n */\nclass SubscriptionEntitlementEntryBuilder {\n mAcquisitionTimestamp;\n mExpirationTimestamp;\n mSubscriptionId;\n /**\n * Sets the date when the subscription was acquired by the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} acquisitionTimestamp - Acquisition date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n acquisitionTimestamp(acquisitionTimestamp) {\n this.mAcquisitionTimestamp = acquisitionTimestamp;\n return this;\n }\n /**\n * Sets the date of when the subscription expires for the customer.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {Date} expirationTimestamp - Expiration date.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n expirationTimestamp(expirationTimestamp) {\n this.mExpirationTimestamp = expirationTimestamp;\n return this;\n }\n /**\n * Sets the `subscriptionId`, as specified in Amazon catalog integration the customer is entitled to.\n * This is a required field. `build()` will fail if this field is not set.\n *\n * @param {string} subscriptionId - SubscriptionId as specified in Amazon catalog integration.\n * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.\n */\n subscriptionId(subscriptionId) {\n this.mSubscriptionId = subscriptionId;\n return this;\n }\n /**\n * Builds a `SubscriptionEntitlementEntry` object with the fields set on the builder.\n *\n * @throws {InvalidArgumentError} if required fields are not set.\n * @returns {SubscriptionEntitlementEntry} The `SubscriptionEntitlementEntry` object created.\n */\n build() {\n if (!this.mSubscriptionId) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - subscriptionId is undefined');\n }\n if (!this.mAcquisitionTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - acquisitionTimestamp is undefined');\n }\n if (!this.mExpirationTimestamp) {\n throw new Errors_1.InvalidArgumentError('InvalidArgumentError - expirationTimestamp is undefined');\n }\n const subscriptionEntitlementEntry = new SubscriptionEntitlementEntry(this.mSubscriptionId, this.mAcquisitionTimestamp, this.mExpirationTimestamp);\n return subscriptionEntitlementEntry;\n }\n}\nexports.SubscriptionEntitlementEntryBuilder = SubscriptionEntitlementEntryBuilder;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nconst PrivateHandlers_1 = require(\"./PrivateHandlers\");\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('SubscriptionEntitlementTurboModule is null.');\n}\nclass SubscriptionEntitlementServer {\n setSubscriptionEntitlementsHandler(_subscriptionEntitlementsHandler) {\n console.error('This method is deprecated, please use setSubscriptionEntitlementsHandlerForComponent instead.');\n }\n setSubscriptionEntitlementsHandlerForComponent(subscriptionEntitlementsHandler, component) {\n let privateGetAllSubscriptionEntitlementsCallback = (providerId) => {\n let provider = new PrivateHandlers_1.SubscriptionEntitlementsProvider(providerId);\n subscriptionEntitlementsHandler.getAllSubscriptionEntitlements(provider);\n };\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptionEntitlementsHandlerForComponent(privateGetAllSubscriptionEntitlementsCallback, component);\n }\n reportNewSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportNewSubscription(subscription);\n }\n reportRemovedSubscription(subscription) {\n console.warn('This method is deprecated, please use setSubscriptions instead.');\n AmazonNativeSubscriptionEntitlement_1.default.reportRemovedSubscription(subscription);\n }\n reportRefreshedSubscriptions() {\n AmazonNativeSubscriptionEntitlement_1.default.reportRefreshedSubscriptions();\n }\n setSubscriptions(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.setSubscriptions(subscriptions);\n }\n}\nexports.default = new SubscriptionEntitlementServer();\n","\"use strict\";\n/*\n * Copyright (c) 2023 - 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//@ts-ignore\nconst keplerscript_turbomodule_api_1 = require(\"@amazon-devices/keplerscript-turbomodule-api\");\n// tslint:disable-next-line\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonNativeSubscriptionEntitlement');\n","\"use strict\";\n/**\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TurboModuleRegistry = void 0;\nexports.TurboModuleRegistry = require(\"./turbomodules/TurboModuleRegistry\");\n","\"use strict\";\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getEnforcing = exports.get = void 0;\nconst invariant_1 = require(\"../invariant/invariant\");\nconst turboModuleProxy = global.__turboModuleProxy;\nfunction requireModule(name) {\n if (turboModuleProxy != null) {\n return turboModuleProxy(name);\n }\n return null;\n}\nfunction get(name) {\n return requireModule(name);\n}\nexports.get = get;\nfunction getEnforcing(name) {\n const module = requireModule(name);\n (0, invariant_1.default)(module != null, `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` + 'Verify that a module by this name is registered in the native binary.');\n return module;\n}\nexports.getEnforcing = getEnforcing;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Portions of this file are copyright (c) 2023 Amazon.com, Inc. or its\n * affiliates. All rights reserved.\n *\n * PORTIONS OF THIS FILE ARE AMAZON PROPRIETARY/CONFIDENTIAL. USE IS SUBJECT TO\n * LICENSE TERMS.\n *\n * Amazon modifications are indicated by [amznmod_* comments].\n */\n/**\n * amznmod_tmapi: Migrated to typescript\n */\n'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\nconst NODE_ENV = process.env.NODE_ENV;\nconst invariant = (condition, format, ...extraArgs) => {\n if (NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.');\n }\n else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, () => (extraArgs[argIndex++])));\n error.name = 'Invariant Violation';\n }\n // @ts-ignore `framesToPop` is not part of Error type but something Meta (and maybe RN) uses.\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\nexports.default = invariant;\n","\"use strict\";\n/*\n * Copyright (c) 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n * Use is subject to license terms.\n */\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SubscriptionEntitlementsProvider = void 0;\nconst AmazonNativeSubscriptionEntitlement_1 = __importDefault(require(\"./AmazonNativeSubscriptionEntitlement\"));\nif (!AmazonNativeSubscriptionEntitlement_1.default) {\n throw new Error('AmazonNativeSubscriptionEntitlement is null.');\n}\n/**\n * JS SubscriptionEntitlementsProvider class exist for short term work around while TM APIs do not have support\n * for passing in nativeObjects from native side of TM into JS callback. Eventually will not need JS implementation\n * of ISubscriptionEntitlementsProvider since a reference to a native SubscriptionEntitlementsProvider will be provided instead.\n *\n * Each new JS SubscriptionEntitlementsProvider has a providerId that is given from native side for TM that maps this\n * JS SubscriptionEntitlementsProvider to a native SubscriptionEntitlementsProvider.\n * JS SubscriptionEntitlementsProvideruses uses TM to pass calls through to the associated native SubscriptionEntitlementsProvider.\n */\nclass SubscriptionEntitlementsProvider {\n providerId;\n constructor(providerId) {\n this.providerId = providerId;\n }\n addSubscriptionEntitlementChunk(subscriptions) {\n AmazonNativeSubscriptionEntitlement_1.default.addSubscriptionEntitlementChunk(subscriptions, this.providerId);\n }\n commit() {\n AmazonNativeSubscriptionEntitlement_1.default.subscriptionEntitlementsProviderCommit(this.providerId);\n }\n}\nexports.SubscriptionEntitlementsProvider = SubscriptionEntitlementsProvider;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECC;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;yFGO,gFH"}],[{"names":["<global>","BaseError","BaseError#constructor","InvalidArgumentError"],"mappings":"AAA;ACS;ICC;KDE;CDC;AGK;CHC"}],[{"names":["_getPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_possibleConstructorReturn"],"mappings":"AAA;ACE;CDI"}],[{"names":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["_assertThisInitialized","<global>"],"mappings":"AAA;CCG"}],[{"names":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"names":["<global>","_inherits"],"mappings":"AAA;ACC;CDW"}],[{"names":["_setPrototypeOf","<anonymous>","<global>"],"mappings":"AAA;mGCC;GDE;CEC"}],[{"names":["<global>","_defineProperties","_createClass"],"mappings":"AAA;ACC;CDK;AEC;CFI"}],[{"names":["<global>","toPropertyKey"],"mappings":"AAA;ACE;CDG"}],[{"names":["<global>","toPrimitive"],"mappings":"AAA;ACC;CDS"}],[{"names":["<global>","_wrapNativeSuper","Wrapper"],"mappings":"AAA;ACI;ICS;KDE;CDU"}],[{"names":["_isNativeFunction","<global>"],"mappings":"AAA;CCM"}],[{"names":["<global>","_construct"],"mappings":"AAA;ACE;CDM"}],[{"names":["_isNativeReflectConstruct","Reflect.construct$argument_2","<global>"],"mappings":"AAA;2ECE,cD;CEK"}],[{"names":["<global>","SubscriptionEntitlementEntry","constructor","get__acquisitionTimestamp","get__expirationTimestamp","get__subscriptionId","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntryBuilder#acquisitionTimestamp","SubscriptionEntitlementEntryBuilder#expirationTimestamp","SubscriptionEntitlementEntryBuilder#subscriptionId","SubscriptionEntitlementEntryBuilder#build"],"mappings":"AAA;ACa;ICI;KDI;IEM;KFE;IGM;KHE;IIM;KJE;CDC;AMI;ICW;KDG;IEQ;KFG;IGQ;KHG;IIO;KJY;CNC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementServer","setSubscriptionEntitlementsHandler","setSubscriptionEntitlementsHandlerForComponent","privateGetAllSubscriptionEntitlementsCallback","reportNewSubscription","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions"],"mappings":"AAA;wDCO;CDE;AEO;ICC;KDE;IEC;4DCC;SDG;KFE;IIC;KJG;IKC;KLG;IMC;KNE;IOC;KPE;CFC"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","requireModule","get","getEnforcing"],"mappings":"AAA;ACmB;CDK;AEC;CFE;AGE;CHI"}],[{"names":["<global>","invariant","format.replace$argument_1"],"mappings":"AAA;kBC8B;oDCc,6BD;CDO"}],[{"names":["<global>","<anonymous>","SubscriptionEntitlementsProvider","SubscriptionEntitlementsProvider#constructor","SubscriptionEntitlementsProvider#addSubscriptionEntitlementChunk","SubscriptionEntitlementsProvider#commit"],"mappings":"AAA;wDCO;CDE;AEgB;ICE;KDE;IEC;KFE;IGC;KHE;CFC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"names":["global","_majorVersionToNoVersionIdMap","globalThis","window","__createBinding","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","__importDefault","mod","value","SubscriptionEntitlementServer","require","_dependencyMap","_$$_REQUIRE","default","_callSuper","t","e","_isNativeReflectConstruct","Reflect","construct","constructor","apply","Boolean","valueOf","InvalidArgumentError","BaseError","_Error","message","Error","_BaseError","arguments","_getPrototypeOf","module","setPrototypeOf","getPrototypeOf","bind","__proto__","_possibleConstructorReturn","TypeError","_typeof","Symbol","iterator","_assertThisInitialized","ReferenceError","_classCallCheck","a","n","_inherits","_setPrototypeOf","_defineProperties","r","length","key","_createClass","toPropertyKey","i","toPrimitive","String","Number","_wrapNativeSuper","Map","has","set","Wrapper","_isNativeFunction","Function","toString","indexOf","_construct","push","SubscriptionEntitlementEntryBuilder","SubscriptionEntitlementEntry","subscriptionId","acquisitionTimestamp","expirationTimestamp","_acquisitionTimestampMs","getTime","_expirationTimestampMs","_subscriptionId","Date","mAcquisitionTimestamp","mExpirationTimestamp","mSubscriptionId","build","subscriptionEntitlementEntry","AmazonNativeSubscriptionEntitlement_1","setSubscriptionEntitlementsHandler","_subscriptionEntitlementsHandler","console","error","setSubscriptionEntitlementsHandlerForComponent","subscriptionEntitlementsHandler","component","privateGetAllSubscriptionEntitlementsCallback","providerId","provider","SubscriptionEntitlementsProvider","getAllSubscriptionEntitlements","reportNewSubscription","subscription","warn","reportRemovedSubscription","reportRefreshedSubscriptions","setSubscriptions","subscriptions","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","NODE_ENV","invariant","condition","format","_len","extraArgs","Array","_key","argIndex","replace","framesToPop","addSubscriptionEntitlementChunk","commit","subscriptionEntitlementsProviderCommit"],"mappings":";;ECAAA,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;EACnFD,MAAM,CAACC,6BAA6B,CAAC,sBAAsB,CAAC,GAAC,sBAAsB;AAAC,UAAAC,UAAA,mBAAAA,UAAA,UAAAF,MAAA,mBAAAA,MAAA,UAAAG,MAAA,mBAAAA,MAAA;;ECXpF,YAAY;;EACZ,IAAIC,eAAe,GAAI,IAAI,IAAI,IAAI,CAACA,eAAe,KAAMC,MAAM,CAACC,MAAM,GAAI,UAASC,CAAC,EAAEC,CAAC,EAAEC,CAAC,EAAEC,EAAE,EAAE;IAC5F,IAA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G,IAAIA,GAAG,CAACb,UAAU,GAAIa,GAAG,GAAG;MAAE,SAAS,EAAEA;IAAI,CAAC;EAC7D,CAAC;EACDtB,MAAM,CAACc,cAAc,CAACE,OAAO,EAAE,YAAY,EAAE;IAAEO,KAAK,EAAE;EAAK,CAAC,CAAC;EAC7DP,OAAO,CAAC+F,gCAAgC,GAAAzG,SAAS;EACjD,IAAM8F,qCAAqC,GAAG/E,eAAe,CAACI,WAAO,CAAAC,cAAA,GAAwC,CAAC,CAAC;EAC/G,IAAI,CAAC0E,qCAAqC,CAACxE,OAAO,EAAE;IAChD,MAAM,IAAIe,KAAK,CAAC,8CAA8C,CAAC;EACnE;EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EARA,IASMoE,gCAAgC;IAElC,SAAAA,iCAAYF,UAAU,EAAE;MAAAlF,WAAA,CAAAD,cAAA,WAAAqF,gCAAA;MACpB,IAAI,CAACF,UAAU,GAAGA,UAAU;IAChC;IAAC,OAAAlF,WAAA,CAAAD,cAAA,KAAAqF,gCAAA;MAAA5C,GAAA;MAAA5C,KAAA,EACD,SAAAkH,+BAA+BA,CAAClB,aAAa,EAAE;QAC3CnB,qCAAqC,CAACxE,OAAO,CAAC6G,+BAA+B,CAAClB,aAAa,EAAE,IAAI,CAACV,UAAU,CAAC;MACjH;IAAC;MAAA1C,GAAA;MAAA5C,KAAA,EACD,SAAAmH,MAAMA,CAAA,EAAG;QACLtC,qCAAqC,CAACxE,OAAO,CAAC+G,sCAAsC,CAAC,IAAI,CAAC9B,UAAU,CAAC;MACzG;IAAC;EAAA;EAEL7F,OAAO,CAAC+F,gCAAgC,GAAGA,gCAAgC;AAAC","x_amazon_bundleId":"55fe69539b543c9467d7e5bd7378d43a999ced1cb277a814db0094a97cbdb94e"}
@@ -1,20 +1,17 @@
1
- node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
2
- node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
3
- node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
4
- node_modules/@babel/runtime_7.28.4/helpers/getPrototypeOf.js:ba9efe5c53f1d07f5c9d
5
- node_modules/@babel/runtime_7.28.4/helpers/possibleConstructorReturn.js:aab42168bb4cb23540ec
6
- node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
7
- node_modules/@babel/runtime_7.28.4/helpers/assertThisInitialized.js:0716ce96f45f287fb302
8
- node_modules/@babel/runtime_7.28.4/helpers/classCallCheck.js:cb664999166f9660a878
9
- node_modules/@babel/runtime_7.28.4/helpers/inherits.js:9822a58ca7726d551fe0
10
- node_modules/@babel/runtime_7.28.4/helpers/setPrototypeOf.js:79c731bcf4b10abe8e4d
11
- node_modules/@babel/runtime_7.28.4/helpers/createClass.js:68819e29ebee24bb0e88
12
- node_modules/@babel/runtime_7.28.4/helpers/toPropertyKey.js:cbba112244d360ffda7a
13
- node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
14
- node_modules/@babel/runtime_7.28.4/helpers/wrapNativeSuper.js:66be7ef871ad04671969
15
- node_modules/@babel/runtime_7.28.4/helpers/isNativeFunction.js:9cf198b81404c8b483b0
16
- node_modules/@babel/runtime_7.28.4/helpers/construct.js:20524c8783215c6329fe
17
- node_modules/@babel/runtime_7.28.4/helpers/isNativeReflectConstruct.js:df21df9938c0adbd59f1
1
+ node_modules/@babel/runtime_7.29.2/helpers/getPrototypeOf.js:9c829ff5032996ffdc8e
2
+ node_modules/@babel/runtime_7.29.2/helpers/possibleConstructorReturn.js:80a4a0ee188e065108c9
3
+ node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
4
+ node_modules/@babel/runtime_7.29.2/helpers/assertThisInitialized.js:7a9699b26019ae7270f5
5
+ node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
6
+ node_modules/@babel/runtime_7.29.2/helpers/inherits.js:3ebfecb28bc5857801a2
7
+ node_modules/@babel/runtime_7.29.2/helpers/setPrototypeOf.js:ea37d1dec222e5845b2b
8
+ node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
9
+ node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
10
+ node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
11
+ node_modules/@babel/runtime_7.29.2/helpers/wrapNativeSuper.js:b510ad86a9e18c7a79b6
12
+ node_modules/@babel/runtime_7.29.2/helpers/isNativeFunction.js:74c2adc9de6e582a35f1
13
+ node_modules/@babel/runtime_7.29.2/helpers/construct.js:d66ad0c399283f558869
14
+ node_modules/@babel/runtime_7.29.2/helpers/isNativeReflectConstruct.js:22840e4117f5dbcb3b06
18
15
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
19
16
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
20
17
  node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
@@ -5,15 +5,15 @@ export interface ISubscriptionEntitlementEntry {
5
5
  /**
6
6
  * Gets the date when the subscription was acquired by the customer.
7
7
  *
8
- * @returns {Date | undefined} Acquisition date. Undefined if not set.
8
+ * @returns {Date} Acquisition date.
9
9
  */
10
- get acquisitionTimestamp(): Date | undefined;
10
+ get acquisitionTimestamp(): Date;
11
11
  /**
12
12
  * Gets the date of when the subscription expires for the customer.
13
13
  *
14
- * @returns {Date | undefined} Expiration date. Undefined if not set.
14
+ * @returns {Date} Expiration date.
15
15
  */
16
- get expirationTimestamp(): Date | undefined;
16
+ get expirationTimestamp(): Date;
17
17
  /**
18
18
  * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.
19
19
  *
@@ -25,22 +25,22 @@ export interface ISubscriptionEntitlementEntry {
25
25
  * Class representing a customer's entitlement to a subscription in the Amazon catalog. Created using `SubscriptionEntitlementEntryBuilder`.
26
26
  */
27
27
  declare class SubscriptionEntitlementEntry implements ISubscriptionEntitlementEntry {
28
- private readonly _acquisitionTimestampMs?;
29
- private readonly _expirationTimestampMs?;
28
+ private readonly _acquisitionTimestampMs;
29
+ private readonly _expirationTimestampMs;
30
30
  private readonly _subscriptionId;
31
- constructor(subscriptionId: string, acquisitionTimestamp?: Date, expirationTimestamp?: Date);
31
+ constructor(subscriptionId: string, acquisitionTimestamp: Date, expirationTimestamp: Date);
32
32
  /**
33
33
  * Gets the date when the subscription was acquired by the customer.
34
34
  *
35
- * @returns {Date | undefined} Acquisition date. Undefined if not set.
35
+ * @returns {Date} Acquisition date.
36
36
  */
37
- get acquisitionTimestamp(): Date | undefined;
37
+ get acquisitionTimestamp(): Date;
38
38
  /**
39
39
  * Gets the date of when the subscription expires for the customer.
40
40
  *
41
- * @returns {Date | undefined} Expiration date. Undefined if not set.
41
+ * @returns {Date} Expiration date.
42
42
  */
43
- get expirationTimestamp(): Date | undefined;
43
+ get expirationTimestamp(): Date;
44
44
  /**
45
45
  * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.
46
46
  *
@@ -57,6 +57,7 @@ export declare class SubscriptionEntitlementEntryBuilder {
57
57
  private mSubscriptionId?;
58
58
  /**
59
59
  * Sets the date when the subscription was acquired by the customer.
60
+ * This is a required field. `build()` will fail if this field is not set.
60
61
  *
61
62
  * @param {Date} acquisitionTimestamp - Acquisition date.
62
63
  * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.
@@ -64,8 +65,7 @@ export declare class SubscriptionEntitlementEntryBuilder {
64
65
  acquisitionTimestamp(acquisitionTimestamp: Date): SubscriptionEntitlementEntryBuilder;
65
66
  /**
66
67
  * Sets the date of when the subscription expires for the customer.
67
- * Note that this field should NOT be set for auto-recurring subscriptions.
68
- * Only set this if the subscription is going to expire unless the customer takes action.
68
+ * This is a required field. `build()` will fail if this field is not set.
69
69
  *
70
70
  * @param {Date} expirationTimestamp - Expiration date.
71
71
  * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.
@@ -16,35 +16,25 @@ class SubscriptionEntitlementEntry {
16
16
  _expirationTimestampMs;
17
17
  _subscriptionId;
18
18
  constructor(subscriptionId, acquisitionTimestamp, expirationTimestamp) {
19
- if (acquisitionTimestamp) {
20
- this._acquisitionTimestampMs = acquisitionTimestamp.getTime();
21
- }
22
- if (expirationTimestamp) {
23
- this._expirationTimestampMs = expirationTimestamp.getTime();
24
- }
19
+ this._acquisitionTimestampMs = acquisitionTimestamp.getTime();
20
+ this._expirationTimestampMs = expirationTimestamp.getTime();
25
21
  this._subscriptionId = subscriptionId;
26
22
  }
27
23
  /**
28
24
  * Gets the date when the subscription was acquired by the customer.
29
25
  *
30
- * @returns {Date | undefined} Acquisition date. Undefined if not set.
26
+ * @returns {Date} Acquisition date.
31
27
  */
32
28
  get acquisitionTimestamp() {
33
- if (this._acquisitionTimestampMs) {
34
- return new Date(this._acquisitionTimestampMs);
35
- }
36
- return undefined;
29
+ return new Date(this._acquisitionTimestampMs);
37
30
  }
38
31
  /**
39
32
  * Gets the date of when the subscription expires for the customer.
40
33
  *
41
- * @returns {Date | undefined} Expiration date. Undefined if not set.
34
+ * @returns {Date} Expiration date.
42
35
  */
43
36
  get expirationTimestamp() {
44
- if (this._expirationTimestampMs) {
45
- return new Date(this._expirationTimestampMs);
46
- }
47
- return undefined;
37
+ return new Date(this._expirationTimestampMs);
48
38
  }
49
39
  /**
50
40
  * Gets the `subscriptionId`, as specified in the Amazon catalog integration the customer is entitled to.
@@ -64,6 +54,7 @@ class SubscriptionEntitlementEntryBuilder {
64
54
  mSubscriptionId;
65
55
  /**
66
56
  * Sets the date when the subscription was acquired by the customer.
57
+ * This is a required field. `build()` will fail if this field is not set.
67
58
  *
68
59
  * @param {Date} acquisitionTimestamp - Acquisition date.
69
60
  * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.
@@ -74,8 +65,7 @@ class SubscriptionEntitlementEntryBuilder {
74
65
  }
75
66
  /**
76
67
  * Sets the date of when the subscription expires for the customer.
77
- * Note that this field should NOT be set for auto-recurring subscriptions.
78
- * Only set this if the subscription is going to expire unless the customer takes action.
68
+ * This is a required field. `build()` will fail if this field is not set.
79
69
  *
80
70
  * @param {Date} expirationTimestamp - Expiration date.
81
71
  * @returns {SubscriptionEntitlementEntryBuilder} The current `SubscriptionEntitlementEntryBuilder` object.
@@ -105,6 +95,12 @@ class SubscriptionEntitlementEntryBuilder {
105
95
  if (!this.mSubscriptionId) {
106
96
  throw new Errors_1.InvalidArgumentError('InvalidArgumentError - subscriptionId is undefined');
107
97
  }
98
+ if (!this.mAcquisitionTimestamp) {
99
+ throw new Errors_1.InvalidArgumentError('InvalidArgumentError - acquisitionTimestamp is undefined');
100
+ }
101
+ if (!this.mExpirationTimestamp) {
102
+ throw new Errors_1.InvalidArgumentError('InvalidArgumentError - expirationTimestamp is undefined');
103
+ }
108
104
  const subscriptionEntitlementEntry = new SubscriptionEntitlementEntry(this.mSubscriptionId, this.mAcquisitionTimestamp, this.mExpirationTimestamp);
109
105
  return subscriptionEntitlementEntry;
110
106
  }
@@ -10,6 +10,9 @@
10
10
  "1.1.8": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
11
11
  "1.1.9": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
12
12
  "1.1.10": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
13
- "1.1.11": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1"
13
+ "1.1.11": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
14
+ "1.1.12": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
15
+ "1.1.13": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1",
16
+ "1.1.14": "/com.amazon.kepler.kepler_subscription_entitlement_1@IKeplerSubscriptionEntitlement_1"
14
17
  }
15
18
  }