@amazon-devices/kepler-graphics 2.3.3 → 2.4.0-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.
Files changed (23) hide show
  1. package/SystemBundles/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
  2. package/SystemBundles/hermes-072/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
  3. package/SystemBundles/hermes-072/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
  4. package/SystemBundles/hermes-083/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
  5. package/SystemBundles/hermes-083/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
  6. package/SystemBundles/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
  7. package/SystemModules/amzn__kepler-graphics-2.private.modules.txt +5 -8
  8. package/THIRD_PARTY_NOTICES.txt +35 -0
  9. package/dist/turbo-modules/AmazonGraphicsTurboModule.d.ts +5 -0
  10. package/dist/turbo-modules/Display.d.ts +26 -1
  11. package/dist/turbo-modules/Display.js +34 -0
  12. package/dist/turbo-modules/DisplayManager.d.ts +10 -1
  13. package/dist/turbo-modules/DisplayManager.js +11 -0
  14. package/dist/turbo-modules/__mocks__/AmazonGraphicsTurboModule.d.ts +5 -1
  15. package/dist/turbo-modules/__mocks__/AmazonGraphicsTurboModule.js +4 -0
  16. package/dist/types/GraphicsTypes.d.ts +22 -0
  17. package/dist/types/GraphicsTypes.js +20 -1
  18. package/dist/types/index.d.ts +2 -2
  19. package/dist/types/index.js +2 -1
  20. package/kepler-compatibility.json +3 -0
  21. package/package.json +61 -1
  22. package/SystemBundles/e1224d435abddb7360ba588396252be76566b2cdc8373c285491d1711dc251d0.bundle +0 -1742
  23. package/SystemBundles/e1224d435abddb7360ba588396252be76566b2cdc8373c285491d1711dc251d0.bundle.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-graphics/dist/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/GraphicsTypes.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayManager.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/AmazonGraphicsTurboModule.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/@babel/runtime/helpers/classCallCheck.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/typeof.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/Display.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayController.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[\"7821c1f7acc3acb6da4f\"]=\"e76085e8020c2ced9334\";\nglobal._majorVersionToNoVersionIdMap[\"c9cdad84ce0869693b7e\"]=\"b5e3bbe47a303f40b136\";\nglobal._majorVersionToNoVersionIdMap[\"3e5595d7eebf5472db10\"]=\"f84bdb8ae984165fe9e0\";\nglobal._majorVersionToNoVersionIdMap[\"ac675029e949aab3f4ec\"]=\"c8003c727f4d8d796e77\";\nglobal._majorVersionToNoVersionIdMap[\"80ca0e817a58b3f128e0\"]=\"0e68a657d111314c2bcc\";\nglobal._majorVersionToNoVersionIdMap[\"1abcf9d7f48516798bb3\"]=\"f247ae5b96ba8bb09807\";\nglobal._majorVersionToNoVersionIdMap[\"07df663e2ee57ec3fc0f\"]=\"af8dffe58288c2dc643e\";\nglobal._majorVersionToNoVersionIdMap[\"4cc680f1586dfc15e935\"]=\"2a8c54532577524923a1\";\nglobal._majorVersionToNoVersionIdMap[\"b8567ef2eb3c077dadc8\"]=\"82f88f35433ec448fb83\";\nglobal._majorVersionToNoVersionIdMap[\"6543637b6554b0ffcb64\"]=\"a0411eab090ff524e4ec\";\nglobal._majorVersionToNoVersionIdMap[\"4024800514080268b7ab\"]=\"7f28d40aea46bc3a4e6f\";\nglobal._majorVersionToNoVersionIdMap[\"1cfdfa688e0b0b8a6eab\"]=\"c7f7efbb77dd9d9e1517\";\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\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.DisplayController = exports.Display = exports.DisplayManager = void 0;\n__exportStar(require(\"./types\"), exports);\nvar DisplayManager_1 = require(\"./turbo-modules/DisplayManager\");\nObject.defineProperty(exports, \"DisplayManager\", { enumerable: true, get: function () { return __importDefault(DisplayManager_1).default; } });\nvar Display_1 = require(\"./turbo-modules/Display\");\nObject.defineProperty(exports, \"Display\", { enumerable: true, get: function () { return __importDefault(Display_1).default; } });\nvar DisplayController_1 = require(\"./turbo-modules/DisplayController\");\nObject.defineProperty(exports, \"DisplayController\", { enumerable: true, get: function () { return __importDefault(DisplayController_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = exports.AisrState = void 0;\nconst GraphicsTypes_1 = require(\"./GraphicsTypes\");\nObject.defineProperty(exports, \"AisrState\", { enumerable: true, get: function () { return GraphicsTypes_1.AisrState; } });\nObject.defineProperty(exports, \"ColorSpace\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });\nObject.defineProperty(exports, \"ColorDepth\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });\nObject.defineProperty(exports, \"HdrMode\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });\nObject.defineProperty(exports, \"HdrType\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });\nObject.defineProperty(exports, \"LlmState\", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });\nObject.defineProperty(exports, \"HdcpLevel\", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });\nObject.defineProperty(exports, \"BufferPixelFormat\", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });\nObject.defineProperty(exports, \"ColorGamut\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });\nObject.defineProperty(exports, \"TransferFunction\", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.AisrState = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;\n/**\n * Defines Different color space types in a display.\n */\nvar ColorSpace;\n(function (ColorSpace) {\n /**\n * Invalid color space type\n */\n ColorSpace[ColorSpace[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * Color space type is automatic i.e display server is free to choose any color space. This is default.\n */\n ColorSpace[ColorSpace[\"AUTO\"] = 2] = \"AUTO\";\n /**\n * display server is requested to use RGB color space\n */\n ColorSpace[ColorSpace[\"RGB\"] = 3] = \"RGB\";\n /**\n * display server is requested to use YCbCr color space\n */\n ColorSpace[ColorSpace[\"YCBCR\"] = 4] = \"YCBCR\";\n})(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));\n;\n/**\n * Defines all possible color depths in a display.\n */\nvar ColorDepth;\n(function (ColorDepth) {\n /**\n * Unknown color depth type\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_UNKNOWN\"] = 1] = \"COLORDEPTH_UNKNOWN\";\n /**\n * Color depth type is automatic i.e display server is free to choose any. This is default.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_AUTO\"] = 2] = \"COLORDEPTH_AUTO\";\n /**\n * Display server is free to choose any color depth up to 8 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_8\"] = 3] = \"COLORDEPTH_8\";\n /**\n * Display server is free to choose any color depth up to 10 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_10\"] = 4] = \"COLORDEPTH_10\";\n /**\n * Display server is free to choose any color depth up to 12 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_12\"] = 5] = \"COLORDEPTH_12\";\n})(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));\n;\n/**\n * Defines values for High dynamic range mode for display\n */\nvar HdrMode;\n(function (HdrMode) {\n /**\n * High dynamic range is disabled\n */\n HdrMode[HdrMode[\"DISABLED\"] = 0] = \"DISABLED\";\n /**\n * High dynamic range mode usage depends on current settings.\n */\n HdrMode[HdrMode[\"ADAPTIVE\"] = 1] = \"ADAPTIVE\";\n /**\n * always use high dynamic range mode\n */\n HdrMode[HdrMode[\"ALWAYS\"] = 2] = \"ALWAYS\";\n})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));\n;\n/**\n * Defines values for AI Super Resolution state for display.\n */\nvar AisrState;\n(function (AisrState) {\n /**\n * AI Super Resolution is disabled\n */\n AisrState[AisrState[\"OFF\"] = 0] = \"OFF\";\n /**\n * AI Super Resolution upscales to native resolution\n */\n AisrState[AisrState[\"NATIVE\"] = 1] = \"NATIVE\";\n /**\n * AI Super Resolution upscales to 4K target resolution\n */\n AisrState[AisrState[\"TARGET_4K\"] = 2] = \"TARGET_4K\";\n})(AisrState = exports.AisrState || (exports.AisrState = {}));\n;\n/**\n * Defines list of supported underlying HDR technologies\n */\nvar HdrType;\n(function (HdrType) {\n /**\n * No HDR is supported\n */\n HdrType[HdrType[\"NONE\"] = 1] = \"NONE\";\n /**\n * HDR10 Display\n */\n HdrType[HdrType[\"HDR10\"] = 2] = \"HDR10\";\n /**\n * HDR10+ Display\n */\n HdrType[HdrType[\"HDR10_PLUS\"] = 3] = \"HDR10_PLUS\";\n /**\n * Hybrid Log-Gamma HDR display.\n */\n HdrType[HdrType[\"HLG\"] = 4] = \"HLG\";\n /**\n * Dolby Vision high dynamic range (HDR) display.\n */\n HdrType[HdrType[\"DOLBY_VISION\"] = 5] = \"DOLBY_VISION\";\n})(HdrType = exports.HdrType || (exports.HdrType = {}));\n;\n/**\n * Defines list of Color gamut types.\n */\nvar ColorGamut;\n(function (ColorGamut) {\n /**\n * sRGB standard which has same color primaries of REC.709 or BT.709 standard\n */\n ColorGamut[\"SRGB\"] = \"srgb\";\n /**\n * DCI P3 Color Space color gamut\n */\n ColorGamut[\"P3\"] = \"p3\";\n /**\n * ITU-R Recommendation BT.2020 (REC.2020) color gamut.\n */\n ColorGamut[\"REC_2020\"] = \"rec2020\";\n})(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));\n;\n/**\n * Defines list of display Transfer Functions\n */\nvar TransferFunction;\n(function (TransferFunction) {\n /**\n * sRGB standard transfer function.\n */\n TransferFunction[\"SRGB\"] = \"srgb\";\n /**\n * Perceptual Quantizer transfer function.\n */\n TransferFunction[\"PQ\"] = \"pq\";\n /**\n * Hybrid Log Gamma transfer function.\n */\n TransferFunction[\"HLG\"] = \"hlg\";\n})(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));\n;\n/**\n * Defines all possible low latency mode (LLM) states that could be supported by a display.\n */\nvar LlmState;\n(function (LlmState) {\n /**\n * LLM state Auto - display subsystem is free to choose any LLM state.\n */\n LlmState[LlmState[\"LLM_AUTO\"] = 1] = \"LLM_AUTO\";\n /**\n * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable\n * one of the supported low latency modes.\n */\n LlmState[LlmState[\"LLM_ON\"] = 2] = \"LLM_ON\";\n /**\n * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.\n */\n LlmState[LlmState[\"LLM_OFF\"] = 3] = \"LLM_OFF\";\n})(LlmState = exports.LlmState || (exports.LlmState = {}));\n;\n/**\n * Defines all possible HDCP levels that could be supported by a display.\n */\nvar HdcpLevel;\n(function (HdcpLevel) {\n /**\n * Invalid HDCP level\n */\n HdcpLevel[HdcpLevel[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * HDCP level Version 1.0\n */\n HdcpLevel[HdcpLevel[\"V_1_0\"] = 2] = \"V_1_0\";\n /**\n * HDCP level Version 2.0\n */\n HdcpLevel[HdcpLevel[\"V_2_0\"] = 3] = \"V_2_0\";\n /**\n * HDCP level Version 2.1\n */\n HdcpLevel[HdcpLevel[\"V_2_1\"] = 4] = \"V_2_1\";\n /**\n * HDCP level Version 2.2\n */\n HdcpLevel[HdcpLevel[\"V_2_2\"] = 5] = \"V_2_2\";\n /**\n * HDCP level Version 2.3\n */\n HdcpLevel[HdcpLevel[\"V_2_3\"] = 6] = \"V_2_3\";\n /**\n * HDCP level Version 2.4\n */\n HdcpLevel[HdcpLevel[\"V_2_4\"] = 7] = \"V_2_4\";\n})(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));\n;\n/**\n * Buffer Pixel Format specifies the memory layout and bits used to store the\n * data within the buffer.\n */\nvar BufferPixelFormat;\n(function (BufferPixelFormat) {\n /**\n * Buffer format is unknown or customized format.\n */\n BufferPixelFormat[\"UNKNOWN\"] = \"UNKNOWN\";\n BufferPixelFormat[\"YUYV\"] = \"YUYV\";\n BufferPixelFormat[\"YVU420\"] = \"YV12\";\n BufferPixelFormat[\"NV12\"] = \"NV12\";\n BufferPixelFormat[\"YUV420\"] = \"YU12\";\n BufferPixelFormat[\"FLEX_YCbCr_420_888\"] = \"9999\";\n BufferPixelFormat[\"FLEX_YCbCr_420_101010\"] = \"8888\";\n BufferPixelFormat[\"UYVY\"] = \"UYVY\";\n BufferPixelFormat[\"RGB888\"] = \"RG24\";\n BufferPixelFormat[\"ARGB8888\"] = \"AR24\";\n})(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));\n;\n;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayManager = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Manager Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayManagerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayManagerListener(this.token);\n }\n}\n/**\n * DisplayManager provides APIs to change the display configuration/settings.\n * Clients require the application privilege \"com.amazon.graphics.privilege.display.manager\"\n * to invoke APIs of this class.\n */\nclass DisplayManager {\n constructor() { }\n /**\n * Request Display Server to switch to a certain color depth.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorDepth Requested new color depth.\n */\n static setColorDepth(colorDepth) {\n AmazonGraphicsTurboModule_1.default.setColorDepth(colorDepth);\n }\n /**\n * Requests Display Server to switch to the supplied color space e.g. RGB or YUV etc.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorSpace Requested new color space.\n */\n static setColorSpace(colorSpace) {\n AmazonGraphicsTurboModule_1.default.setColorSpace(colorSpace);\n }\n /**\n * Enable or disable HDR mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param mode Requested HDR mode.\n */\n static setHdrMode(hdrMode) {\n AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);\n }\n /**\n * Set the system-level AISR state for this display.\n * The change is applied immediately and persisted across reboots.\n * This does NOT require {@link DisplayManager.commitStates}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested AISR state.\n */\n static setAisrState(aisrState) {\n AmazonGraphicsTurboModule_1.default.setAisrState(aisrState);\n }\n /**\n * Enable or disable Low latency mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested latency mode.\n */\n static setLowLatencyModeState(llmState) {\n AmazonGraphicsTurboModule_1.default.setLowLatencyModeState(llmState);\n }\n /**\n * Set the MRR state of the display. MRR is a feature which allows clients to request\n * alternate refresh rate which might be more appropriate for their content.\n * This is a global MRR state for a display and controls if applications can request display server\n * to switch to one of the other supported refresh rates which closely matches original content frame rate.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state MRR state being requested to be used for this display.\n */\n static setMultipleRefreshRateState(mrrState) {\n AmazonGraphicsTurboModule_1.default.setMultipleRefreshRateState(mrrState);\n }\n /**\n * Request the display to switch to a new config.\n * {@link IDisplayListener.onConfigChange} will be called upon successful completion.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param displayConfig The new requested display config.\n */\n static requestConfigChange(displayConfig, refreshRateInMillihertz) {\n return AmazonGraphicsTurboModule_1.default.requestConfigChange(displayConfig, refreshRateInMillihertz);\n }\n /**\n * Request the display to switch to a new config automatically. In this mode, display server selects\n * the most appropriate config dynamically based on various factors. IDisplayListener.onConfigChange\n * will still be called upon a successful config switch. Please note, calling enableAutoConfigSwitch(true)\n * would override previous requestConfigChange() call.\n * The default state is \"true\".\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @param enable If true, display subsystem would choose appropriate config automatically.\n */\n static enableAutoConfigSwitch(enable) {\n AmazonGraphicsTurboModule_1.default.enableAutoConfigSwitch(enable);\n }\n /**\n * Requests display server to adjust the visible area of the display to\n * ensure content is not lost beyond the screen's physical borders. The API takes the\n * widths of the four borders or margins as a percentage of width or height.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param leftBorderAsPercentageWidth The left border as percentage of width.\n * @param topBorderAsPercentageOfHeight The top border as percentage of\n * height.\n * @param rightBorderAsPercentageOfWidth The right border as percentage of\n * width.\n * @param bottomBorderAsPercentageOfHeight The bottom border as percentage of\n * height.\n */\n static setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight) {\n return AmazonGraphicsTurboModule_1.default.setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight);\n }\n /**\n * Adds display manager listener object {@link IDisplayManagerListener} to receive\n * callbacks when display manager properties change.\n * It returns a {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayManagerListener interface\n * @return ISubscription object related to this listener @see DisplayManagerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayManagerListener(listener.onCommitSuccess, listener.onCommitFailure);\n return new DisplayManagerListenerSubscription(token);\n }\n /**\n * Request the display manager to commit all pending states.\n * Please note, this function has to be called for any changes to be applied.\n * This API will only update the pending states and it will actually try to apply all the pending\n * states change requests made since last commitStates() call.\n * The benefit of having a single commit call is that fact that clients can apply multiple dependent states\n * together on display hardware.\n * Client can know the result of the commit request through {@link IDisplayManagerListener}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @return commit id which can be used to track the commit status.\n */\n static commitStates() {\n return AmazonGraphicsTurboModule_1.default.commitStates();\n }\n}\nexports.DisplayManager = DisplayManager;\nexports.default = DisplayManager;\n","\"use strict\";\n/*\n* Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* PROPRIETARY/CONFIDENTIAL\n*\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// prettier-ignore\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonGraphicsTurboModule');\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","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 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;","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;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Display = void 0;\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nconst types_1 = require(\"../types\");\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Listener callback cancellation is handled through\n * Subscription object returned after calling\n * {@link DisplayController.addListener}.\n */\nclass DisplayListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayListener(this.token);\n }\n}\n/**\n * Class that retrieves properties of the primary display.\n * Note only primary display is supported by this turbomodule.\n */\nclass Display {\n constructor() { }\n /**\n * Query the display connector name.\n * @return The name of the display connector (not the panel name).\n */\n static getName() {\n return AmazonGraphicsTurboModule_1.default.getName();\n }\n /**\n * Get current color depth.\n * @return color depth.\n */\n static getColorDepth() {\n return AmazonGraphicsTurboModule_1.default.getColorDepth();\n }\n /**\n * Get current color space.\n * @return color space.\n */\n static getColorSpace() {\n return AmazonGraphicsTurboModule_1.default.getColorSpace();\n }\n /**\n * Get current HDR mode.\n * @return HDR mode.\n */\n static getHdrMode() {\n return AmazonGraphicsTurboModule_1.default.getHdrMode();\n }\n /**\n * Query the current Low latency mode state of the display.\n * @return Low latency mode state being used for the display.\n */\n static getLowLatencyModeState() {\n return AmazonGraphicsTurboModule_1.default.getLowLatencyModeState();\n }\n /**\n * Query if any kind of display low latency mode is supported for this display.\n * @return true if supported otherwise false\n */\n static isLowLatencyModeSupported() {\n return AmazonGraphicsTurboModule_1.default.isLowLatencyModeSupported();\n }\n /**\n * Query the Multiple Refresh Rate (MRR) state for this display.\n * It allows clients to request alternate refresh rate which might be more\n * appropriate for their content.\n * @return MRR state being used for the display.\n */\n static isMultipleRefreshRateEnabled() {\n return AmazonGraphicsTurboModule_1.default.isMultipleRefreshRateEnabled();\n }\n /**\n * Query the current vertical refresh rate in mHz (millihertz) for this display\n * @return Returns current refresh rate for this display in mHz.\n * If the current refresh rate changes, {@link IDisplayListener.onRefreshRateChange}\n * will be called.\n */\n static getCurrentRefreshRateInMillihertz() {\n return AmazonGraphicsTurboModule_1.default.getCurrentRefreshRateInMillihertz();\n }\n /**\n * Query the current HDCP (High-bandwidth Digital Content Protection) level for this display.\n * @return Returns current HDCP level for this display\n * @see HdcpLevel\n */\n static getCurrentHdcpLevel() {\n return AmazonGraphicsTurboModule_1.default.getCurrentHdcpLevel();\n }\n /**\n * Query the list of all supported configs for this display.\n * @return Returns list of all supported configs for this display.\n */\n static getAllSupportedConfigs() {\n return AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n }\n /**\n * Query the current config for this display.\n * @return Returns current config\n * @see IDisplayConfig\n */\n static getCurrentConfig() {\n return AmazonGraphicsTurboModule_1.default.getCurrentConfig();\n }\n /**\n * Query if auto config switch is enabled.\n * @return true, if auto config switch is enabled, false otherwise\n * @see IDisplayConfig\n */\n static isAutoConfigSwitchEnabled() {\n return AmazonGraphicsTurboModule_1.default.isAutoConfigSwitchEnabled();\n }\n /**\n * Query for allowed color spaces which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color spaces.\n * @returns {ColorSpace[]} An array of ColorSpace values representing the allowed color spaces\n * {@link DisplayManager.setColorSpace()}\n */\n static getAllowedColorSpaces() {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorSpaces();\n }\n /**\n * Query for allowed color depths for given color space, which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color depth.\n * @param {ColorSpace} colorSpace - the color space for which allowed color depths are queried.\n * @returns {ColorDepth[]} An array of ColorDepth values available for the specified color space\n * {@link DisplayManager.setColorDepth()}\n */\n static getAllowedColorDepths(colorSpace) {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorDepths(colorSpace);\n }\n /**\n * Returns the current overscan border values of the display.\n * The border value (left, top, right and bottom) represent the fraction of\n * the width or height of the display that acts like a margin for the visible\n * region on the display.\n * @return The current overscan border configuration.\n * @throws DeviceError if the display device is not in active state\n * @see IOverscanBorder\n */\n static getOverscanBorder() {\n return AmazonGraphicsTurboModule_1.default.getOverscanBorder();\n }\n /**\n * Check if the display sink port where this display source device is connected is active or not.\n * A display sink (e.g. TV or monitor) may have multiple display ports. The port where this source\n * device is connected may be inactive even if display source (this device) is powered ON.\n * @return Returns true if display sink is active.\n */\n static isSinkActive() {\n return AmazonGraphicsTurboModule_1.default.isSinkActive();\n }\n /**\n * Query the current system-level AISR state for this display.\n * @return Current AISR state.\n */\n static getAisrState() {\n return AmazonGraphicsTurboModule_1.default.getAisrState();\n }\n /**\n * Query if AI Super Resolution is supported on this display.\n * @return true if AISR is supported, false otherwise.\n */\n static isAisrSupported() {\n return AmazonGraphicsTurboModule_1.default.isAisrSupported();\n }\n /**\n * Query for supported HDR modes which are determined based on\n * the connected display/TV capabilities and the device capabilities.\n * @returns {HdrMode[]} An array of HdrMode values representing the supported HDR modes\n */\n static getSupportedHdrSettings() {\n return AmazonGraphicsTurboModule_1.default.getSupportedHdrSettings();\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange);\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener2(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change, including AISR state changes.\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener3(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener3(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { }), listener.onAisrStateChange || (() => { }));\n return new DisplayListenerSubscription(token);\n }\n /**\n * Below APIs are just wrapper APIs and does not have direct 1:1 mapping\n * with native APIs.\n */\n /**\n * Check if display supports HDR (High Definition Range) or not.\n */\n static isHDRSupported() {\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType !== types_1.HdrType.NONE) {\n // Found a HDR type which is either HDR10, HDR10+, Dolby Vision or HLG\n // and all these HDR types support BT.2020 color gamut.\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Check if the display supports BT.2020 / Rec.2020 colorimetry standard.\n */\n static isBT2020ColorimetrySupported() {\n // Any of the HDR types (HDR10, HDR10+, Dolby Vision, HLG) support BT.2020 color gamut.\n return this.isHDRSupported();\n }\n /**\n * Query the supported transfer functions by the display.\n */\n static getTransferFunctions() {\n let transferFunctionList = [types_1.TransferFunction.SRGB];\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType === types_1.HdrType.HLG) {\n transferFunctionList.push(types_1.TransferFunction.HLG);\n }\n else if (hdrType !== types_1.HdrType.NONE) {\n // HDR10 / HDR10+ / Dolby Vision\n transferFunctionList.push(types_1.TransferFunction.PQ);\n }\n }\n }\n return transferFunctionList;\n }\n}\nexports.Display = Display;\nexports.default = Display;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Controller Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayControllerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayControllerListener(this.token);\n }\n}\n/**\n * DisplayController specific operations are done through this\n * class abstraction.\n */\nclass DisplayController {\n constructor() { }\n /**\n * Adds display controller listener object {@link IDisplayControllerListener}\n * to receive callbacks when primary display is added (connected) or removed (disconnected).\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving the events through {@link ISubscription.unsubscribe}.\n *\n * @param listener IDisplayControllerListener object to listen for display\n * controller events.\n * @return ISubscription object corresponding to the listener @see DisplayControllerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayControllerListener(listener.onAddDisplay, listener.onRemoveDisplay);\n return new DisplayControllerListenerSubscription(token);\n }\n /**\n * Check if primary display is connected to the device and ready to use.\n * @return return true if display is connected, false otherwise.\n */\n static isPrimaryDisplayConnected() {\n return AmazonGraphicsTurboModule_1.default.isPrimaryDisplayConnected();\n }\n}\nexports.DisplayController = DisplayController;\nexports.default = DisplayController;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECQ;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;0EGK,iEH;mEGE,0DH;6EGE,oEH"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;qECW,iDD;sECC,kDD;sECC,kDD;mECC,+CD;mECC,+CD;oECC,gDD;qECC,iDD;6ECC,yDD;sECC,kDD;4ECC,wDD"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCc;CDiB;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDc;CCM;CD6B;CCO;CDc"}],[{"names":["<global>","<anonymous>","DisplayManagerListenerSubscription","DisplayManagerListenerSubscription#constructor","DisplayManagerListenerSubscription#unsubscribe","DisplayManager","constructor","setColorDepth","setColorSpace","setHdrMode","setAisrState","setLowLatencyModeState","setMultipleRefreshRateState","requestConfigChange","enableAutoConfigSwitch","setOverscanBorder","addListener","commitStates"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKM;ICC,iBD;IEO;KFE;IGO;KHE;IIO;KJE;IKS;KLE;IMO;KNE;IOU;KPE;IQQ;KRE;ISU;KTE;IUe;KVE;IWS;KXG;IYY;KZE;CLC"}],[{"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":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"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":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","<anonymous>","DisplayListenerSubscription","DisplayListenerSubscription#constructor","DisplayListenerSubscription#unsubscribe","Display","constructor","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","addDisplayListener2","addDisplayListener3","isHDRSupported","isBT2020ColorimetrySupported","getTransferFunctions"],"mappings":"AAA;wDCC;CDE;AEoB;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEK;KFE;IGK;KHE;IIK;KJE;IKK;KLE;IMK;KNE;IOK;KPE;IQO;KRE;ISO;KTE;IUM;KVE;IWK;KXE;IYM;KZE;IaM;KbE;IcS;KdE;IeU;KfE;IgBU;KhBE;IiBO;KjBE;IkBK;KlBE;ImBK;KnBE;IoBM;KpBE;IqBS;KrBG;IsBS;2Y1BC,S0B;KtBE;IuBS;2Y3BC,S2B,kC3B,S2B;KvBE;IwBQ;KxBY;IyBI;KzBG;I0BI;K1Be;CLC"}],[{"names":["<global>","<anonymous>","DisplayControllerListenerSubscription","DisplayControllerListenerSubscription#constructor","DisplayControllerListenerSubscription#unsubscribe","DisplayController","constructor","addListener","isPrimaryDisplayConnected"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEW;KFG;IGK;KHE;CLC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"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","DisplayController","Display","DisplayManager","require","_dependencyMap","_$$_REQUIRE","default","TransferFunction","ColorGamut","BufferPixelFormat","HdcpLevel","LlmState","HdrType","HdrMode","ColorSpace","ColorDepth","AisrState","AmazonGraphicsTurboModule_1","Error","DisplayManagerListenerSubscription","token","key","unsubscribe","removeDisplayManagerListener","setColorDepth","colorDepth","setColorSpace","colorSpace","setHdrMode","hdrMode","setAisrState","aisrState","setLowLatencyModeState","llmState","setMultipleRefreshRateState","mrrState","requestConfigChange","displayConfig","refreshRateInMillihertz","enableAutoConfigSwitch","enable","setOverscanBorder","leftBorderAsPercentageOfWidth","topBorderAsPercentageOfHeight","rightBorderAsPercentageOfWidth","bottomBorderAsPercentageOfHeight","addListener","listener","addDisplayManagerListener","onCommitSuccess","onCommitFailure","commitStates","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","_createClass","toPropertyKey","i","toPrimitive","Symbol","String","Number","_typeof","iterator","constructor","DisplayListenerSubscription","removeDisplayListener","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","onConfigChange","onRefreshRateChange","onColorDepthChange","onColorSpaceChange","onHdcpLevelChange","onAutoConfigSwitchStateChange","onMultipleRefreshRateStateChange","onLowLatencyModeStateChange","onHdrModeChange","addDisplayListener2","onSinkStateChange","addDisplayListener3","onAisrStateChange","isHDRSupported","displayConfigList","hdrType","supportedHdrType","NONE","isBT2020ColorimetrySupported","getTransferFunctions","transferFunctionList","SRGB","HLG","push","PQ","DisplayControllerListenerSubscription","removeDisplayControllerListener","addDisplayControllerListener","onAddDisplay","onRemoveDisplay","isPrimaryDisplayConnected"],"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,6BAA6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elude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-graphics/dist/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/GraphicsTypes.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayManager.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/AmazonGraphicsTurboModule.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/@babel/runtime/helpers/classCallCheck.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/typeof.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/Display.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayController.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[\"7821c1f7acc3acb6da4f\"]=\"e76085e8020c2ced9334\";\nglobal._majorVersionToNoVersionIdMap[\"c9cdad84ce0869693b7e\"]=\"b5e3bbe47a303f40b136\";\nglobal._majorVersionToNoVersionIdMap[\"3e5595d7eebf5472db10\"]=\"f84bdb8ae984165fe9e0\";\nglobal._majorVersionToNoVersionIdMap[\"ac675029e949aab3f4ec\"]=\"c8003c727f4d8d796e77\";\nglobal._majorVersionToNoVersionIdMap[\"80ca0e817a58b3f128e0\"]=\"0e68a657d111314c2bcc\";\nglobal._majorVersionToNoVersionIdMap[\"1abcf9d7f48516798bb3\"]=\"f247ae5b96ba8bb09807\";\nglobal._majorVersionToNoVersionIdMap[\"07df663e2ee57ec3fc0f\"]=\"af8dffe58288c2dc643e\";\nglobal._majorVersionToNoVersionIdMap[\"4cc680f1586dfc15e935\"]=\"2a8c54532577524923a1\";\nglobal._majorVersionToNoVersionIdMap[\"b8567ef2eb3c077dadc8\"]=\"82f88f35433ec448fb83\";\nglobal._majorVersionToNoVersionIdMap[\"6543637b6554b0ffcb64\"]=\"a0411eab090ff524e4ec\";\nglobal._majorVersionToNoVersionIdMap[\"4024800514080268b7ab\"]=\"7f28d40aea46bc3a4e6f\";\nglobal._majorVersionToNoVersionIdMap[\"1cfdfa688e0b0b8a6eab\"]=\"c7f7efbb77dd9d9e1517\";\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\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.DisplayController = exports.Display = exports.DisplayManager = void 0;\n__exportStar(require(\"./types\"), exports);\nvar DisplayManager_1 = require(\"./turbo-modules/DisplayManager\");\nObject.defineProperty(exports, \"DisplayManager\", { enumerable: true, get: function () { return __importDefault(DisplayManager_1).default; } });\nvar Display_1 = require(\"./turbo-modules/Display\");\nObject.defineProperty(exports, \"Display\", { enumerable: true, get: function () { return __importDefault(Display_1).default; } });\nvar DisplayController_1 = require(\"./turbo-modules/DisplayController\");\nObject.defineProperty(exports, \"DisplayController\", { enumerable: true, get: function () { return __importDefault(DisplayController_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = exports.AisrState = void 0;\nconst GraphicsTypes_1 = require(\"./GraphicsTypes\");\nObject.defineProperty(exports, \"AisrState\", { enumerable: true, get: function () { return GraphicsTypes_1.AisrState; } });\nObject.defineProperty(exports, \"ColorSpace\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });\nObject.defineProperty(exports, \"ColorDepth\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });\nObject.defineProperty(exports, \"HdrMode\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });\nObject.defineProperty(exports, \"HdrType\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });\nObject.defineProperty(exports, \"LlmState\", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });\nObject.defineProperty(exports, \"HdcpLevel\", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });\nObject.defineProperty(exports, \"BufferPixelFormat\", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });\nObject.defineProperty(exports, \"ColorGamut\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });\nObject.defineProperty(exports, \"TransferFunction\", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.AisrState = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;\n/**\n * Defines Different color space types in a display.\n */\nvar ColorSpace;\n(function (ColorSpace) {\n /**\n * Invalid color space type\n */\n ColorSpace[ColorSpace[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * Color space type is automatic i.e display server is free to choose any color space. This is default.\n */\n ColorSpace[ColorSpace[\"AUTO\"] = 2] = \"AUTO\";\n /**\n * display server is requested to use RGB color space\n */\n ColorSpace[ColorSpace[\"RGB\"] = 3] = \"RGB\";\n /**\n * display server is requested to use YCbCr color space\n */\n ColorSpace[ColorSpace[\"YCBCR\"] = 4] = \"YCBCR\";\n})(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));\n;\n/**\n * Defines all possible color depths in a display.\n */\nvar ColorDepth;\n(function (ColorDepth) {\n /**\n * Unknown color depth type\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_UNKNOWN\"] = 1] = \"COLORDEPTH_UNKNOWN\";\n /**\n * Color depth type is automatic i.e display server is free to choose any. This is default.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_AUTO\"] = 2] = \"COLORDEPTH_AUTO\";\n /**\n * Display server is free to choose any color depth up to 8 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_8\"] = 3] = \"COLORDEPTH_8\";\n /**\n * Display server is free to choose any color depth up to 10 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_10\"] = 4] = \"COLORDEPTH_10\";\n /**\n * Display server is free to choose any color depth up to 12 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_12\"] = 5] = \"COLORDEPTH_12\";\n})(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));\n;\n/**\n * Defines values for High dynamic range mode for display\n */\nvar HdrMode;\n(function (HdrMode) {\n /**\n * High dynamic range is disabled\n */\n HdrMode[HdrMode[\"DISABLED\"] = 0] = \"DISABLED\";\n /**\n * High dynamic range mode usage depends on current settings.\n */\n HdrMode[HdrMode[\"ADAPTIVE\"] = 1] = \"ADAPTIVE\";\n /**\n * always use high dynamic range mode\n */\n HdrMode[HdrMode[\"ALWAYS\"] = 2] = \"ALWAYS\";\n})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));\n;\n/**\n * Defines values for AI Super Resolution state for display.\n */\nvar AisrState;\n(function (AisrState) {\n /**\n * AI Super Resolution is disabled\n */\n AisrState[AisrState[\"OFF\"] = 0] = \"OFF\";\n /**\n * AI Super Resolution upscales to native resolution\n */\n AisrState[AisrState[\"NATIVE\"] = 1] = \"NATIVE\";\n /**\n * AI Super Resolution upscales to 4K target resolution\n */\n AisrState[AisrState[\"TARGET_4K\"] = 2] = \"TARGET_4K\";\n})(AisrState = exports.AisrState || (exports.AisrState = {}));\n;\n/**\n * Defines list of supported underlying HDR technologies\n */\nvar HdrType;\n(function (HdrType) {\n /**\n * No HDR is supported\n */\n HdrType[HdrType[\"NONE\"] = 1] = \"NONE\";\n /**\n * HDR10 Display\n */\n HdrType[HdrType[\"HDR10\"] = 2] = \"HDR10\";\n /**\n * HDR10+ Display\n */\n HdrType[HdrType[\"HDR10_PLUS\"] = 3] = \"HDR10_PLUS\";\n /**\n * Hybrid Log-Gamma HDR display.\n */\n HdrType[HdrType[\"HLG\"] = 4] = \"HLG\";\n /**\n * Dolby Vision high dynamic range (HDR) display.\n */\n HdrType[HdrType[\"DOLBY_VISION\"] = 5] = \"DOLBY_VISION\";\n})(HdrType = exports.HdrType || (exports.HdrType = {}));\n;\n/**\n * Defines list of Color gamut types.\n */\nvar ColorGamut;\n(function (ColorGamut) {\n /**\n * sRGB standard which has same color primaries of REC.709 or BT.709 standard\n */\n ColorGamut[\"SRGB\"] = \"srgb\";\n /**\n * DCI P3 Color Space color gamut\n */\n ColorGamut[\"P3\"] = \"p3\";\n /**\n * ITU-R Recommendation BT.2020 (REC.2020) color gamut.\n */\n ColorGamut[\"REC_2020\"] = \"rec2020\";\n})(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));\n;\n/**\n * Defines list of display Transfer Functions\n */\nvar TransferFunction;\n(function (TransferFunction) {\n /**\n * sRGB standard transfer function.\n */\n TransferFunction[\"SRGB\"] = \"srgb\";\n /**\n * Perceptual Quantizer transfer function.\n */\n TransferFunction[\"PQ\"] = \"pq\";\n /**\n * Hybrid Log Gamma transfer function.\n */\n TransferFunction[\"HLG\"] = \"hlg\";\n})(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));\n;\n/**\n * Defines all possible low latency mode (LLM) states that could be supported by a display.\n */\nvar LlmState;\n(function (LlmState) {\n /**\n * LLM state Auto - display subsystem is free to choose any LLM state.\n */\n LlmState[LlmState[\"LLM_AUTO\"] = 1] = \"LLM_AUTO\";\n /**\n * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable\n * one of the supported low latency modes.\n */\n LlmState[LlmState[\"LLM_ON\"] = 2] = \"LLM_ON\";\n /**\n * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.\n */\n LlmState[LlmState[\"LLM_OFF\"] = 3] = \"LLM_OFF\";\n})(LlmState = exports.LlmState || (exports.LlmState = {}));\n;\n/**\n * Defines all possible HDCP levels that could be supported by a display.\n */\nvar HdcpLevel;\n(function (HdcpLevel) {\n /**\n * Invalid HDCP level\n */\n HdcpLevel[HdcpLevel[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * HDCP level Version 1.0\n */\n HdcpLevel[HdcpLevel[\"V_1_0\"] = 2] = \"V_1_0\";\n /**\n * HDCP level Version 2.0\n */\n HdcpLevel[HdcpLevel[\"V_2_0\"] = 3] = \"V_2_0\";\n /**\n * HDCP level Version 2.1\n */\n HdcpLevel[HdcpLevel[\"V_2_1\"] = 4] = \"V_2_1\";\n /**\n * HDCP level Version 2.2\n */\n HdcpLevel[HdcpLevel[\"V_2_2\"] = 5] = \"V_2_2\";\n /**\n * HDCP level Version 2.3\n */\n HdcpLevel[HdcpLevel[\"V_2_3\"] = 6] = \"V_2_3\";\n /**\n * HDCP level Version 2.4\n */\n HdcpLevel[HdcpLevel[\"V_2_4\"] = 7] = \"V_2_4\";\n})(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));\n;\n/**\n * Buffer Pixel Format specifies the memory layout and bits used to store the\n * data within the buffer.\n */\nvar BufferPixelFormat;\n(function (BufferPixelFormat) {\n /**\n * Buffer format is unknown or customized format.\n */\n BufferPixelFormat[\"UNKNOWN\"] = \"UNKNOWN\";\n BufferPixelFormat[\"YUYV\"] = \"YUYV\";\n BufferPixelFormat[\"YVU420\"] = \"YV12\";\n BufferPixelFormat[\"NV12\"] = \"NV12\";\n BufferPixelFormat[\"YUV420\"] = \"YU12\";\n BufferPixelFormat[\"FLEX_YCbCr_420_888\"] = \"9999\";\n BufferPixelFormat[\"FLEX_YCbCr_420_101010\"] = \"8888\";\n BufferPixelFormat[\"UYVY\"] = \"UYVY\";\n BufferPixelFormat[\"RGB888\"] = \"RG24\";\n BufferPixelFormat[\"ARGB8888\"] = \"AR24\";\n})(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));\n;\n;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayManager = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Manager Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayManagerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayManagerListener(this.token);\n }\n}\n/**\n * DisplayManager provides APIs to change the display configuration/settings.\n * Clients require the application privilege \"com.amazon.graphics.privilege.display.manager\"\n * to invoke APIs of this class.\n */\nclass DisplayManager {\n constructor() { }\n /**\n * Request Display Server to switch to a certain color depth.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorDepth Requested new color depth.\n */\n static setColorDepth(colorDepth) {\n AmazonGraphicsTurboModule_1.default.setColorDepth(colorDepth);\n }\n /**\n * Requests Display Server to switch to the supplied color space e.g. RGB or YUV etc.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorSpace Requested new color space.\n */\n static setColorSpace(colorSpace) {\n AmazonGraphicsTurboModule_1.default.setColorSpace(colorSpace);\n }\n /**\n * Enable or disable HDR mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param mode Requested HDR mode.\n */\n static setHdrMode(hdrMode) {\n AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);\n }\n /**\n * Set the system-level AISR state for this display.\n * The change is applied immediately and persisted across reboots.\n * This does NOT require {@link DisplayManager.commitStates}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested AISR state.\n */\n static setAisrState(aisrState) {\n AmazonGraphicsTurboModule_1.default.setAisrState(aisrState);\n }\n /**\n * Enable or disable Low latency mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested latency mode.\n */\n static setLowLatencyModeState(llmState) {\n AmazonGraphicsTurboModule_1.default.setLowLatencyModeState(llmState);\n }\n /**\n * Set the MRR state of the display. MRR is a feature which allows clients to request\n * alternate refresh rate which might be more appropriate for their content.\n * This is a global MRR state for a display and controls if applications can request display server\n * to switch to one of the other supported refresh rates which closely matches original content frame rate.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state MRR state being requested to be used for this display.\n */\n static setMultipleRefreshRateState(mrrState) {\n AmazonGraphicsTurboModule_1.default.setMultipleRefreshRateState(mrrState);\n }\n /**\n * Request the display to switch to a new config.\n * {@link IDisplayListener.onConfigChange} will be called upon successful completion.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param displayConfig The new requested display config.\n */\n static requestConfigChange(displayConfig, refreshRateInMillihertz) {\n return AmazonGraphicsTurboModule_1.default.requestConfigChange(displayConfig, refreshRateInMillihertz);\n }\n /**\n * Request the display to switch to a new config automatically. In this mode, display server selects\n * the most appropriate config dynamically based on various factors. IDisplayListener.onConfigChange\n * will still be called upon a successful config switch. Please note, calling enableAutoConfigSwitch(true)\n * would override previous requestConfigChange() call.\n * The default state is \"true\".\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @param enable If true, display subsystem would choose appropriate config automatically.\n */\n static enableAutoConfigSwitch(enable) {\n AmazonGraphicsTurboModule_1.default.enableAutoConfigSwitch(enable);\n }\n /**\n * Requests display server to adjust the visible area of the display to\n * ensure content is not lost beyond the screen's physical borders. The API takes the\n * widths of the four borders or margins as a percentage of width or height.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param leftBorderAsPercentageWidth The left border as percentage of width.\n * @param topBorderAsPercentageOfHeight The top border as percentage of\n * height.\n * @param rightBorderAsPercentageOfWidth The right border as percentage of\n * width.\n * @param bottomBorderAsPercentageOfHeight The bottom border as percentage of\n * height.\n */\n static setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight) {\n return AmazonGraphicsTurboModule_1.default.setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight);\n }\n /**\n * Adds display manager listener object {@link IDisplayManagerListener} to receive\n * callbacks when display manager properties change.\n * It returns a {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayManagerListener interface\n * @return ISubscription object related to this listener @see DisplayManagerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayManagerListener(listener.onCommitSuccess, listener.onCommitFailure);\n return new DisplayManagerListenerSubscription(token);\n }\n /**\n * Request the display manager to commit all pending states.\n * Please note, this function has to be called for any changes to be applied.\n * This API will only update the pending states and it will actually try to apply all the pending\n * states change requests made since last commitStates() call.\n * The benefit of having a single commit call is that fact that clients can apply multiple dependent states\n * together on display hardware.\n * Client can know the result of the commit request through {@link IDisplayManagerListener}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @return commit id which can be used to track the commit status.\n */\n static commitStates() {\n return AmazonGraphicsTurboModule_1.default.commitStates();\n }\n}\nexports.DisplayManager = DisplayManager;\nexports.default = DisplayManager;\n","\"use strict\";\n/*\n* Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* PROPRIETARY/CONFIDENTIAL\n*\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// prettier-ignore\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonGraphicsTurboModule');\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","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 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;","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;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Display = void 0;\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nconst types_1 = require(\"../types\");\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Listener callback cancellation is handled through\n * Subscription object returned after calling\n * {@link DisplayController.addListener}.\n */\nclass DisplayListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayListener(this.token);\n }\n}\n/**\n * Class that retrieves properties of the primary display.\n * Note only primary display is supported by this turbomodule.\n */\nclass Display {\n constructor() { }\n /**\n * Query the display connector name.\n * @return The name of the display connector (not the panel name).\n */\n static getName() {\n return AmazonGraphicsTurboModule_1.default.getName();\n }\n /**\n * Get current color depth.\n * @return color depth.\n */\n static getColorDepth() {\n return AmazonGraphicsTurboModule_1.default.getColorDepth();\n }\n /**\n * Get current color space.\n * @return color space.\n */\n static getColorSpace() {\n return AmazonGraphicsTurboModule_1.default.getColorSpace();\n }\n /**\n * Get current HDR mode.\n * @return HDR mode.\n */\n static getHdrMode() {\n return AmazonGraphicsTurboModule_1.default.getHdrMode();\n }\n /**\n * Query the current Low latency mode state of the display.\n * @return Low latency mode state being used for the display.\n */\n static getLowLatencyModeState() {\n return AmazonGraphicsTurboModule_1.default.getLowLatencyModeState();\n }\n /**\n * Query if any kind of display low latency mode is supported for this display.\n * @return true if supported otherwise false\n */\n static isLowLatencyModeSupported() {\n return AmazonGraphicsTurboModule_1.default.isLowLatencyModeSupported();\n }\n /**\n * Query the Multiple Refresh Rate (MRR) state for this display.\n * It allows clients to request alternate refresh rate which might be more\n * appropriate for their content.\n * @return MRR state being used for the display.\n */\n static isMultipleRefreshRateEnabled() {\n return AmazonGraphicsTurboModule_1.default.isMultipleRefreshRateEnabled();\n }\n /**\n * Query the current vertical refresh rate in mHz (millihertz) for this display\n * @return Returns current refresh rate for this display in mHz.\n * If the current refresh rate changes, {@link IDisplayListener.onRefreshRateChange}\n * will be called.\n */\n static getCurrentRefreshRateInMillihertz() {\n return AmazonGraphicsTurboModule_1.default.getCurrentRefreshRateInMillihertz();\n }\n /**\n * Query the current HDCP (High-bandwidth Digital Content Protection) level for this display.\n * @return Returns current HDCP level for this display\n * @see HdcpLevel\n */\n static getCurrentHdcpLevel() {\n return AmazonGraphicsTurboModule_1.default.getCurrentHdcpLevel();\n }\n /**\n * Query the list of all supported configs for this display.\n * @return Returns list of all supported configs for this display.\n */\n static getAllSupportedConfigs() {\n return AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n }\n /**\n * Query the current config for this display.\n * @return Returns current config\n * @see IDisplayConfig\n */\n static getCurrentConfig() {\n return AmazonGraphicsTurboModule_1.default.getCurrentConfig();\n }\n /**\n * Query if auto config switch is enabled.\n * @return true, if auto config switch is enabled, false otherwise\n * @see IDisplayConfig\n */\n static isAutoConfigSwitchEnabled() {\n return AmazonGraphicsTurboModule_1.default.isAutoConfigSwitchEnabled();\n }\n /**\n * Query for allowed color spaces which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color spaces.\n * @returns {ColorSpace[]} An array of ColorSpace values representing the allowed color spaces\n * {@link DisplayManager.setColorSpace()}\n */\n static getAllowedColorSpaces() {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorSpaces();\n }\n /**\n * Query for allowed color depths for given color space, which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color depth.\n * @param {ColorSpace} colorSpace - the color space for which allowed color depths are queried.\n * @returns {ColorDepth[]} An array of ColorDepth values available for the specified color space\n * {@link DisplayManager.setColorDepth()}\n */\n static getAllowedColorDepths(colorSpace) {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorDepths(colorSpace);\n }\n /**\n * Returns the current overscan border values of the display.\n * The border value (left, top, right and bottom) represent the fraction of\n * the width or height of the display that acts like a margin for the visible\n * region on the display.\n * @return The current overscan border configuration.\n * @throws DeviceError if the display device is not in active state\n * @see IOverscanBorder\n */\n static getOverscanBorder() {\n return AmazonGraphicsTurboModule_1.default.getOverscanBorder();\n }\n /**\n * Check if the display sink port where this display source device is connected is active or not.\n * A display sink (e.g. TV or monitor) may have multiple display ports. The port where this source\n * device is connected may be inactive even if display source (this device) is powered ON.\n * @return Returns true if display sink is active.\n */\n static isSinkActive() {\n return AmazonGraphicsTurboModule_1.default.isSinkActive();\n }\n /**\n * Query the current system-level AISR state for this display.\n * @return Current AISR state.\n */\n static getAisrState() {\n return AmazonGraphicsTurboModule_1.default.getAisrState();\n }\n /**\n * Query if AI Super Resolution is supported on this display.\n * @return true if AISR is supported, false otherwise.\n */\n static isAisrSupported() {\n return AmazonGraphicsTurboModule_1.default.isAisrSupported();\n }\n /**\n * Query for supported HDR modes which are determined based on\n * the connected display/TV capabilities and the device capabilities.\n * @returns {HdrMode[]} An array of HdrMode values representing the supported HDR modes\n */\n static getSupportedHdrSettings() {\n return AmazonGraphicsTurboModule_1.default.getSupportedHdrSettings();\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange);\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener2(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change, including AISR state changes.\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener3(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener3(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { }), listener.onAisrStateChange || (() => { }));\n return new DisplayListenerSubscription(token);\n }\n /**\n * Below APIs are just wrapper APIs and does not have direct 1:1 mapping\n * with native APIs.\n */\n /**\n * Check if display supports HDR (High Definition Range) or not.\n */\n static isHDRSupported() {\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType !== types_1.HdrType.NONE) {\n // Found a HDR type which is either HDR10, HDR10+, Dolby Vision or HLG\n // and all these HDR types support BT.2020 color gamut.\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Check if the display supports BT.2020 / Rec.2020 colorimetry standard.\n */\n static isBT2020ColorimetrySupported() {\n // Any of the HDR types (HDR10, HDR10+, Dolby Vision, HLG) support BT.2020 color gamut.\n return this.isHDRSupported();\n }\n /**\n * Query the supported transfer functions by the display.\n */\n static getTransferFunctions() {\n let transferFunctionList = [types_1.TransferFunction.SRGB];\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType === types_1.HdrType.HLG) {\n transferFunctionList.push(types_1.TransferFunction.HLG);\n }\n else if (hdrType !== types_1.HdrType.NONE) {\n // HDR10 / HDR10+ / Dolby Vision\n transferFunctionList.push(types_1.TransferFunction.PQ);\n }\n }\n }\n return transferFunctionList;\n }\n}\nexports.Display = Display;\nexports.default = Display;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Controller Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayControllerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayControllerListener(this.token);\n }\n}\n/**\n * DisplayController specific operations are done through this\n * class abstraction.\n */\nclass DisplayController {\n constructor() { }\n /**\n * Adds display controller listener object {@link IDisplayControllerListener}\n * to receive callbacks when primary display is added (connected) or removed (disconnected).\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving the events through {@link ISubscription.unsubscribe}.\n *\n * @param listener IDisplayControllerListener object to listen for display\n * controller events.\n * @return ISubscription object corresponding to the listener @see DisplayControllerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayControllerListener(listener.onAddDisplay, listener.onRemoveDisplay);\n return new DisplayControllerListenerSubscription(token);\n }\n /**\n * Check if primary display is connected to the device and ready to use.\n * @return return true if display is connected, false otherwise.\n */\n static isPrimaryDisplayConnected() {\n return AmazonGraphicsTurboModule_1.default.isPrimaryDisplayConnected();\n }\n}\nexports.DisplayController = DisplayController;\nexports.default = DisplayController;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECQ;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;0EGK,iEH;mEGE,0DH;6EGE,oEH"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;qECW,iDD;sECC,kDD;sECC,kDD;mECC,+CD;mECC,+CD;oECC,gDD;qECC,iDD;6ECC,yDD;sECC,kDD;4ECC,wDD"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCc;CDiB;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDc;CCM;CD6B;CCO;CDc"}],[{"names":["<global>","<anonymous>","DisplayManagerListenerSubscription","DisplayManagerListenerSubscription#constructor","DisplayManagerListenerSubscription#unsubscribe","DisplayManager","constructor","setColorDepth","setColorSpace","setHdrMode","setAisrState","setLowLatencyModeState","setMultipleRefreshRateState","requestConfigChange","enableAutoConfigSwitch","setOverscanBorder","addListener","commitStates"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKM;ICC,iBD;IEO;KFE;IGO;KHE;IIO;KJE;IKS;KLE;IMO;KNE;IOU;KPE;IQQ;KRE;ISU;KTE;IUe;KVE;IWS;KXG;IYY;KZE;CLC"}],[{"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":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"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":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","<anonymous>","DisplayListenerSubscription","DisplayListenerSubscription#constructor","DisplayListenerSubscription#unsubscribe","Display","constructor","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","addDisplayListener2","addDisplayListener3","isHDRSupported","isBT2020ColorimetrySupported","getTransferFunctions"],"mappings":"AAA;wDCC;CDE;AEoB;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEK;KFE;IGK;KHE;IIK;KJE;IKK;KLE;IMK;KNE;IOK;KPE;IQO;KRE;ISO;KTE;IUM;KVE;IWK;KXE;IYM;KZE;IaM;KbE;IcS;KdE;IeU;KfE;IgBU;KhBE;IiBO;KjBE;IkBK;KlBE;ImBK;KnBE;IoBM;KpBE;IqBS;KrBG;IsBS;2Y1BC,S0B;KtBE;IuBS;2Y3BC,S2B,kC3B,S2B;KvBE;IwBQ;KxBY;IyBI;KzBG;I0BI;K1Be;CLC"}],[{"names":["<global>","<anonymous>","DisplayControllerListenerSubscription","DisplayControllerListenerSubscription#constructor","DisplayControllerListenerSubscription#unsubscribe","DisplayController","constructor","addListener","isPrimaryDisplayConnected"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEW;KFG;IGK;KHE;CLC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"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","DisplayController","Display","DisplayManager","require","_dependencyMap","_$$_REQUIRE","default","TransferFunction","ColorGamut","BufferPixelFormat","HdcpLevel","LlmState","HdrType","HdrMode","ColorSpace","ColorDepth","AisrState","AmazonGraphicsTurboModule_1","Error","DisplayManagerListenerSubscription","token","key","unsubscribe","removeDisplayManagerListener","setColorDepth","colorDepth","setColorSpace","colorSpace","setHdrMode","hdrMode","setAisrState","aisrState","setLowLatencyModeState","llmState","setMultipleRefreshRateState","mrrState","requestConfigChange","displayConfig","refreshRateInMillihertz","enableAutoConfigSwitch","enable","setOverscanBorder","leftBorderAsPercentageOfWidth","topBorderAsPercentageOfHeight","rightBorderAsPercentageOfWidth","bottomBorderAsPercentageOfHeight","addListener","listener","addDisplayManagerListener","onCommitSuccess","onCommitFailure","commitStates","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","_createClass","toPropertyKey","i","toPrimitive","Symbol","String","Number","_typeof","iterator","constructor","DisplayListenerSubscription","removeDisplayListener","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","onConfigChange","onRefreshRateChange","onColorDepthChange","onColorSpaceChange","onHdcpLevelChange","onAutoConfigSwitchStateChange","onMultipleRefreshRateStateChange","onLowLatencyModeStateChange","onHdrModeChange","addDisplayListener2","onSinkStateChange","addDisplayListener3","onAisrStateChange","isHDRSupported","displayConfigList","hdrType","supportedHdrType","NONE","isBT2020ColorimetrySupported","getTransferFunctions","transferFunctionList","SRGB","HLG","push","PQ","DisplayControllerListenerSubscription","removeDisplayControllerListener","addDisplayControllerListener","onAddDisplay","onRemoveDisplay","isPrimaryDisplayConnected"],"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;EAC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AAqC;IAEvC,SAAAA,sCAAYtH,KAAK,EAAE;MAAAf,WAAA,CAAAD,cAAA,WAAAsI,qCAAA;MACf,IAAI,CAACtH,KAAK,GAAGA,KAAK;IACtB;IACA;AACJ;AACA;IAFI,OAAAf,WAAA,CAAAD,cAAA,KAAAsI,qCAAA;MAAArH,GAAA;MAAAtB,KAAA,EAGA,SAAAuB,WAAWA,CAAA,EAAG;QACVL,2BAA2B,CAACX,OAAO,CAACqI,+BAA+B,CAAC,IAAI,CAACvH,KAAK,CAAC;MACnF;IAAC;EAAA;EAEL;AACA;AACA;AACA;EAHA,IAIMpB,iBAAiB;IACnB,SAAAA,kBAAA,EAAc;MAAAK,WAAA,CAAAD,cAAA,WAAAJ,iBAAA;IAAE;IAChB;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IATI,OAAAK,WAAA,CAAAD,cAAA,KAAAJ,iBAAA;MAAAqB,GAAA;MAAAtB,KAAA,EAUA,SAAO+C,WAAWA,CAACC,QAAQ,EAAE;QACzB,IAAI3B,KAAK,GAAGH,2BAA2B,CAACX,OAAO,CAACsI,4BAA4B,CAAC7F,QAAQ,CAAC8F,YAAY,EAAE9F,QAAQ,CAAC+F,eAAe,CAAC;QAC7H,OAAO,IAAIJ,qCAAqC,CAACtH,KAAK,CAAC;MAC3D;MACA;AACJ;AACA;AACA;IAHI;MAAAC,GAAA;MAAAtB,KAAA,EAIA,SAAOgJ,yBAAyBA,CAAA,EAAG;QAC/B,OAAO9H,2BAA2B,CAACX,OAAO,CAACyI,yBAAyB,CAAC,CAAC;MAC1E;IAAC;EAAA;EAELvJ,OAAO,CAACQ,iBAAiB,GAAGA,iBAAiB;EAC7CR,OAAO,CAACc,OAAO,GAAGN,iBAAiB;AAAC","x_amazon_bundleId":"dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["__prelude__","majorVersionMapPolyfill.js","node_modules/@amazon-devices/kepler-graphics/dist/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/index.js","node_modules/@amazon-devices/kepler-graphics/dist/types/GraphicsTypes.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayManager.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/AmazonGraphicsTurboModule.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/@babel/runtime/helpers/classCallCheck.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/typeof.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/Display.js","node_modules/@amazon-devices/kepler-graphics/dist/turbo-modules/DisplayController.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[\"7821c1f7acc3acb6da4f\"]=\"e76085e8020c2ced9334\";\nglobal._majorVersionToNoVersionIdMap[\"c9cdad84ce0869693b7e\"]=\"b5e3bbe47a303f40b136\";\nglobal._majorVersionToNoVersionIdMap[\"3e5595d7eebf5472db10\"]=\"f84bdb8ae984165fe9e0\";\nglobal._majorVersionToNoVersionIdMap[\"ac675029e949aab3f4ec\"]=\"c8003c727f4d8d796e77\";\nglobal._majorVersionToNoVersionIdMap[\"80ca0e817a58b3f128e0\"]=\"0e68a657d111314c2bcc\";\nglobal._majorVersionToNoVersionIdMap[\"1abcf9d7f48516798bb3\"]=\"f247ae5b96ba8bb09807\";\nglobal._majorVersionToNoVersionIdMap[\"07df663e2ee57ec3fc0f\"]=\"af8dffe58288c2dc643e\";\nglobal._majorVersionToNoVersionIdMap[\"4cc680f1586dfc15e935\"]=\"2a8c54532577524923a1\";\nglobal._majorVersionToNoVersionIdMap[\"b8567ef2eb3c077dadc8\"]=\"82f88f35433ec448fb83\";\nglobal._majorVersionToNoVersionIdMap[\"6543637b6554b0ffcb64\"]=\"a0411eab090ff524e4ec\";\nglobal._majorVersionToNoVersionIdMap[\"4024800514080268b7ab\"]=\"7f28d40aea46bc3a4e6f\";\nglobal._majorVersionToNoVersionIdMap[\"1cfdfa688e0b0b8a6eab\"]=\"c7f7efbb77dd9d9e1517\";\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\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.DisplayController = exports.Display = exports.DisplayManager = void 0;\n__exportStar(require(\"./types\"), exports);\nvar DisplayManager_1 = require(\"./turbo-modules/DisplayManager\");\nObject.defineProperty(exports, \"DisplayManager\", { enumerable: true, get: function () { return __importDefault(DisplayManager_1).default; } });\nvar Display_1 = require(\"./turbo-modules/Display\");\nObject.defineProperty(exports, \"Display\", { enumerable: true, get: function () { return __importDefault(Display_1).default; } });\nvar DisplayController_1 = require(\"./turbo-modules/DisplayController\");\nObject.defineProperty(exports, \"DisplayController\", { enumerable: true, get: function () { return __importDefault(DisplayController_1).default; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = exports.AisrState = void 0;\nconst GraphicsTypes_1 = require(\"./GraphicsTypes\");\nObject.defineProperty(exports, \"AisrState\", { enumerable: true, get: function () { return GraphicsTypes_1.AisrState; } });\nObject.defineProperty(exports, \"ColorSpace\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });\nObject.defineProperty(exports, \"ColorDepth\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });\nObject.defineProperty(exports, \"HdrMode\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });\nObject.defineProperty(exports, \"HdrType\", { enumerable: true, get: function () { return GraphicsTypes_1.HdrType; } });\nObject.defineProperty(exports, \"LlmState\", { enumerable: true, get: function () { return GraphicsTypes_1.LlmState; } });\nObject.defineProperty(exports, \"HdcpLevel\", { enumerable: true, get: function () { return GraphicsTypes_1.HdcpLevel; } });\nObject.defineProperty(exports, \"BufferPixelFormat\", { enumerable: true, get: function () { return GraphicsTypes_1.BufferPixelFormat; } });\nObject.defineProperty(exports, \"ColorGamut\", { enumerable: true, get: function () { return GraphicsTypes_1.ColorGamut; } });\nObject.defineProperty(exports, \"TransferFunction\", { enumerable: true, get: function () { return GraphicsTypes_1.TransferFunction; } });\n","\"use strict\";\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.AisrState = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;\n/**\n * Defines Different color space types in a display.\n */\nvar ColorSpace;\n(function (ColorSpace) {\n /**\n * Invalid color space type\n */\n ColorSpace[ColorSpace[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * Color space type is automatic i.e display server is free to choose any color space. This is default.\n */\n ColorSpace[ColorSpace[\"AUTO\"] = 2] = \"AUTO\";\n /**\n * display server is requested to use RGB color space\n */\n ColorSpace[ColorSpace[\"RGB\"] = 3] = \"RGB\";\n /**\n * display server is requested to use YCbCr color space\n */\n ColorSpace[ColorSpace[\"YCBCR\"] = 4] = \"YCBCR\";\n})(ColorSpace = exports.ColorSpace || (exports.ColorSpace = {}));\n;\n/**\n * Defines all possible color depths in a display.\n */\nvar ColorDepth;\n(function (ColorDepth) {\n /**\n * Unknown color depth type\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_UNKNOWN\"] = 1] = \"COLORDEPTH_UNKNOWN\";\n /**\n * Color depth type is automatic i.e display server is free to choose any. This is default.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_AUTO\"] = 2] = \"COLORDEPTH_AUTO\";\n /**\n * Display server is free to choose any color depth up to 8 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_8\"] = 3] = \"COLORDEPTH_8\";\n /**\n * Display server is free to choose any color depth up to 10 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_10\"] = 4] = \"COLORDEPTH_10\";\n /**\n * Display server is free to choose any color depth up to 12 bits per channel.\n */\n ColorDepth[ColorDepth[\"COLORDEPTH_12\"] = 5] = \"COLORDEPTH_12\";\n})(ColorDepth = exports.ColorDepth || (exports.ColorDepth = {}));\n;\n/**\n * Defines values for High dynamic range mode for display\n */\nvar HdrMode;\n(function (HdrMode) {\n /**\n * High dynamic range is disabled\n */\n HdrMode[HdrMode[\"DISABLED\"] = 0] = \"DISABLED\";\n /**\n * High dynamic range mode usage depends on current settings.\n */\n HdrMode[HdrMode[\"ADAPTIVE\"] = 1] = \"ADAPTIVE\";\n /**\n * always use high dynamic range mode\n */\n HdrMode[HdrMode[\"ALWAYS\"] = 2] = \"ALWAYS\";\n})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));\n;\n/**\n * Defines values for AI Super Resolution state for display.\n */\nvar AisrState;\n(function (AisrState) {\n /**\n * AI Super Resolution is disabled\n */\n AisrState[AisrState[\"OFF\"] = 0] = \"OFF\";\n /**\n * AI Super Resolution upscales to native resolution\n */\n AisrState[AisrState[\"NATIVE\"] = 1] = \"NATIVE\";\n /**\n * AI Super Resolution upscales to 4K target resolution\n */\n AisrState[AisrState[\"TARGET_4K\"] = 2] = \"TARGET_4K\";\n})(AisrState = exports.AisrState || (exports.AisrState = {}));\n;\n/**\n * Defines list of supported underlying HDR technologies\n */\nvar HdrType;\n(function (HdrType) {\n /**\n * No HDR is supported\n */\n HdrType[HdrType[\"NONE\"] = 1] = \"NONE\";\n /**\n * HDR10 Display\n */\n HdrType[HdrType[\"HDR10\"] = 2] = \"HDR10\";\n /**\n * HDR10+ Display\n */\n HdrType[HdrType[\"HDR10_PLUS\"] = 3] = \"HDR10_PLUS\";\n /**\n * Hybrid Log-Gamma HDR display.\n */\n HdrType[HdrType[\"HLG\"] = 4] = \"HLG\";\n /**\n * Dolby Vision high dynamic range (HDR) display.\n */\n HdrType[HdrType[\"DOLBY_VISION\"] = 5] = \"DOLBY_VISION\";\n})(HdrType = exports.HdrType || (exports.HdrType = {}));\n;\n/**\n * Defines list of Color gamut types.\n */\nvar ColorGamut;\n(function (ColorGamut) {\n /**\n * sRGB standard which has same color primaries of REC.709 or BT.709 standard\n */\n ColorGamut[\"SRGB\"] = \"srgb\";\n /**\n * DCI P3 Color Space color gamut\n */\n ColorGamut[\"P3\"] = \"p3\";\n /**\n * ITU-R Recommendation BT.2020 (REC.2020) color gamut.\n */\n ColorGamut[\"REC_2020\"] = \"rec2020\";\n})(ColorGamut = exports.ColorGamut || (exports.ColorGamut = {}));\n;\n/**\n * Defines list of display Transfer Functions\n */\nvar TransferFunction;\n(function (TransferFunction) {\n /**\n * sRGB standard transfer function.\n */\n TransferFunction[\"SRGB\"] = \"srgb\";\n /**\n * Perceptual Quantizer transfer function.\n */\n TransferFunction[\"PQ\"] = \"pq\";\n /**\n * Hybrid Log Gamma transfer function.\n */\n TransferFunction[\"HLG\"] = \"hlg\";\n})(TransferFunction = exports.TransferFunction || (exports.TransferFunction = {}));\n;\n/**\n * Defines all possible low latency mode (LLM) states that could be supported by a display.\n */\nvar LlmState;\n(function (LlmState) {\n /**\n * LLM state Auto - display subsystem is free to choose any LLM state.\n */\n LlmState[LlmState[\"LLM_AUTO\"] = 1] = \"LLM_AUTO\";\n /**\n * LLM state ON - display subsystem is instructed to enable LLM unconditionally and allows it to enable\n * one of the supported low latency modes.\n */\n LlmState[LlmState[\"LLM_ON\"] = 2] = \"LLM_ON\";\n /**\n * LLM state OFF - display subsystem is instructed to disable LLM unconditionally.\n */\n LlmState[LlmState[\"LLM_OFF\"] = 3] = \"LLM_OFF\";\n})(LlmState = exports.LlmState || (exports.LlmState = {}));\n;\n/**\n * Defines all possible HDCP levels that could be supported by a display.\n */\nvar HdcpLevel;\n(function (HdcpLevel) {\n /**\n * Invalid HDCP level\n */\n HdcpLevel[HdcpLevel[\"INVALID\"] = 1] = \"INVALID\";\n /**\n * HDCP level Version 1.0\n */\n HdcpLevel[HdcpLevel[\"V_1_0\"] = 2] = \"V_1_0\";\n /**\n * HDCP level Version 2.0\n */\n HdcpLevel[HdcpLevel[\"V_2_0\"] = 3] = \"V_2_0\";\n /**\n * HDCP level Version 2.1\n */\n HdcpLevel[HdcpLevel[\"V_2_1\"] = 4] = \"V_2_1\";\n /**\n * HDCP level Version 2.2\n */\n HdcpLevel[HdcpLevel[\"V_2_2\"] = 5] = \"V_2_2\";\n /**\n * HDCP level Version 2.3\n */\n HdcpLevel[HdcpLevel[\"V_2_3\"] = 6] = \"V_2_3\";\n /**\n * HDCP level Version 2.4\n */\n HdcpLevel[HdcpLevel[\"V_2_4\"] = 7] = \"V_2_4\";\n})(HdcpLevel = exports.HdcpLevel || (exports.HdcpLevel = {}));\n;\n/**\n * Buffer Pixel Format specifies the memory layout and bits used to store the\n * data within the buffer.\n */\nvar BufferPixelFormat;\n(function (BufferPixelFormat) {\n /**\n * Buffer format is unknown or customized format.\n */\n BufferPixelFormat[\"UNKNOWN\"] = \"UNKNOWN\";\n BufferPixelFormat[\"YUYV\"] = \"YUYV\";\n BufferPixelFormat[\"YVU420\"] = \"YV12\";\n BufferPixelFormat[\"NV12\"] = \"NV12\";\n BufferPixelFormat[\"YUV420\"] = \"YU12\";\n BufferPixelFormat[\"FLEX_YCbCr_420_888\"] = \"9999\";\n BufferPixelFormat[\"FLEX_YCbCr_420_101010\"] = \"8888\";\n BufferPixelFormat[\"UYVY\"] = \"UYVY\";\n BufferPixelFormat[\"RGB888\"] = \"RG24\";\n BufferPixelFormat[\"ARGB8888\"] = \"AR24\";\n})(BufferPixelFormat = exports.BufferPixelFormat || (exports.BufferPixelFormat = {}));\n;\n;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayManager = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Manager Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayManagerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayManagerListener(this.token);\n }\n}\n/**\n * DisplayManager provides APIs to change the display configuration/settings.\n * Clients require the application privilege \"com.amazon.graphics.privilege.display.manager\"\n * to invoke APIs of this class.\n */\nclass DisplayManager {\n constructor() { }\n /**\n * Request Display Server to switch to a certain color depth.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorDepth Requested new color depth.\n */\n static setColorDepth(colorDepth) {\n AmazonGraphicsTurboModule_1.default.setColorDepth(colorDepth);\n }\n /**\n * Requests Display Server to switch to the supplied color space e.g. RGB or YUV etc.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param colorSpace Requested new color space.\n */\n static setColorSpace(colorSpace) {\n AmazonGraphicsTurboModule_1.default.setColorSpace(colorSpace);\n }\n /**\n * Enable or disable HDR mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param mode Requested HDR mode.\n */\n static setHdrMode(hdrMode) {\n AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);\n }\n /**\n * Set the system-level AISR state for this display.\n * The change is applied immediately and persisted across reboots.\n * This does NOT require {@link DisplayManager.commitStates}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested AISR state.\n */\n static setAisrState(aisrState) {\n AmazonGraphicsTurboModule_1.default.setAisrState(aisrState);\n }\n /**\n * Enable or disable Low latency mode.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state Requested latency mode.\n */\n static setLowLatencyModeState(llmState) {\n AmazonGraphicsTurboModule_1.default.setLowLatencyModeState(llmState);\n }\n /**\n * Set the MRR state of the display. MRR is a feature which allows clients to request\n * alternate refresh rate which might be more appropriate for their content.\n * This is a global MRR state for a display and controls if applications can request display server\n * to switch to one of the other supported refresh rates which closely matches original content frame rate.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param state MRR state being requested to be used for this display.\n */\n static setMultipleRefreshRateState(mrrState) {\n AmazonGraphicsTurboModule_1.default.setMultipleRefreshRateState(mrrState);\n }\n /**\n * Request the display to switch to a new config.\n * {@link IDisplayListener.onConfigChange} will be called upon successful completion.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param displayConfig The new requested display config.\n */\n static requestConfigChange(displayConfig, refreshRateInMillihertz) {\n return AmazonGraphicsTurboModule_1.default.requestConfigChange(displayConfig, refreshRateInMillihertz);\n }\n /**\n * Request the display to switch to a new config automatically. In this mode, display server selects\n * the most appropriate config dynamically based on various factors. IDisplayListener.onConfigChange\n * will still be called upon a successful config switch. Please note, calling enableAutoConfigSwitch(true)\n * would override previous requestConfigChange() call.\n * The default state is \"true\".\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @param enable If true, display subsystem would choose appropriate config automatically.\n */\n static enableAutoConfigSwitch(enable) {\n AmazonGraphicsTurboModule_1.default.enableAutoConfigSwitch(enable);\n }\n /**\n * Requests display server to adjust the visible area of the display to\n * ensure content is not lost beyond the screen's physical borders. The API takes the\n * widths of the four borders or margins as a percentage of width or height.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\"\n * application privilege.\n * @param leftBorderAsPercentageWidth The left border as percentage of width.\n * @param topBorderAsPercentageOfHeight The top border as percentage of\n * height.\n * @param rightBorderAsPercentageOfWidth The right border as percentage of\n * width.\n * @param bottomBorderAsPercentageOfHeight The bottom border as percentage of\n * height.\n */\n static setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight) {\n return AmazonGraphicsTurboModule_1.default.setOverscanBorder(leftBorderAsPercentageOfWidth, topBorderAsPercentageOfHeight, rightBorderAsPercentageOfWidth, bottomBorderAsPercentageOfHeight);\n }\n /**\n * Adds display manager listener object {@link IDisplayManagerListener} to receive\n * callbacks when display manager properties change.\n * It returns a {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayManagerListener interface\n * @return ISubscription object related to this listener @see DisplayManagerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayManagerListener(listener.onCommitSuccess, listener.onCommitFailure);\n return new DisplayManagerListenerSubscription(token);\n }\n /**\n * Request the display manager to commit all pending states.\n * Please note, this function has to be called for any changes to be applied.\n * This API will only update the pending states and it will actually try to apply all the pending\n * states change requests made since last commitStates() call.\n * The benefit of having a single commit call is that fact that clients can apply multiple dependent states\n * together on display hardware.\n * Client can know the result of the commit request through {@link IDisplayManagerListener}.\n * This API requires the client to have \"com.amazon.graphics.privilege.display.manager\" application privilege.\n * @return commit id which can be used to track the commit status.\n */\n static commitStates() {\n return AmazonGraphicsTurboModule_1.default.commitStates();\n }\n}\nexports.DisplayManager = DisplayManager;\nexports.default = DisplayManager;\n","\"use strict\";\n/*\n* Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* PROPRIETARY/CONFIDENTIAL\n*\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// prettier-ignore\nexports.default = keplerscript_turbomodule_api_1.TurboModuleRegistry.getEnforcing('AmazonGraphicsTurboModule');\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","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 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;","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;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Display = void 0;\n/*\n * Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * PROPRIETARY/CONFIDENTIAL\n *\n * Use is subject to license terms.\n */\nconst types_1 = require(\"../types\");\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Listener callback cancellation is handled through\n * Subscription object returned after calling\n * {@link DisplayController.addListener}.\n */\nclass DisplayListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayListener(this.token);\n }\n}\n/**\n * Class that retrieves properties of the primary display.\n * Note only primary display is supported by this turbomodule.\n */\nclass Display {\n constructor() { }\n /**\n * Query the display connector name.\n * @return The name of the display connector (not the panel name).\n */\n static getName() {\n return AmazonGraphicsTurboModule_1.default.getName();\n }\n /**\n * Get current color depth.\n * @return color depth.\n */\n static getColorDepth() {\n return AmazonGraphicsTurboModule_1.default.getColorDepth();\n }\n /**\n * Get current color space.\n * @return color space.\n */\n static getColorSpace() {\n return AmazonGraphicsTurboModule_1.default.getColorSpace();\n }\n /**\n * Get current HDR mode.\n * @return HDR mode.\n */\n static getHdrMode() {\n return AmazonGraphicsTurboModule_1.default.getHdrMode();\n }\n /**\n * Query the current Low latency mode state of the display.\n * @return Low latency mode state being used for the display.\n */\n static getLowLatencyModeState() {\n return AmazonGraphicsTurboModule_1.default.getLowLatencyModeState();\n }\n /**\n * Query if any kind of display low latency mode is supported for this display.\n * @return true if supported otherwise false\n */\n static isLowLatencyModeSupported() {\n return AmazonGraphicsTurboModule_1.default.isLowLatencyModeSupported();\n }\n /**\n * Query the Multiple Refresh Rate (MRR) state for this display.\n * It allows clients to request alternate refresh rate which might be more\n * appropriate for their content.\n * @return MRR state being used for the display.\n */\n static isMultipleRefreshRateEnabled() {\n return AmazonGraphicsTurboModule_1.default.isMultipleRefreshRateEnabled();\n }\n /**\n * Query the current vertical refresh rate in mHz (millihertz) for this display\n * @return Returns current refresh rate for this display in mHz.\n * If the current refresh rate changes, {@link IDisplayListener.onRefreshRateChange}\n * will be called.\n */\n static getCurrentRefreshRateInMillihertz() {\n return AmazonGraphicsTurboModule_1.default.getCurrentRefreshRateInMillihertz();\n }\n /**\n * Query the current HDCP (High-bandwidth Digital Content Protection) level for this display.\n * @return Returns current HDCP level for this display\n * @see HdcpLevel\n */\n static getCurrentHdcpLevel() {\n return AmazonGraphicsTurboModule_1.default.getCurrentHdcpLevel();\n }\n /**\n * Query the list of all supported configs for this display.\n * @return Returns list of all supported configs for this display.\n */\n static getAllSupportedConfigs() {\n return AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n }\n /**\n * Query the current config for this display.\n * @return Returns current config\n * @see IDisplayConfig\n */\n static getCurrentConfig() {\n return AmazonGraphicsTurboModule_1.default.getCurrentConfig();\n }\n /**\n * Query if auto config switch is enabled.\n * @return true, if auto config switch is enabled, false otherwise\n * @see IDisplayConfig\n */\n static isAutoConfigSwitchEnabled() {\n return AmazonGraphicsTurboModule_1.default.isAutoConfigSwitchEnabled();\n }\n /**\n * Query for allowed color spaces which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color spaces.\n * @returns {ColorSpace[]} An array of ColorSpace values representing the allowed color spaces\n * {@link DisplayManager.setColorSpace()}\n */\n static getAllowedColorSpaces() {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorSpaces();\n }\n /**\n * Query for allowed color depths for given color space, which are obtained based on\n * the connected display/TV capabilities and the device capabilities.\n * If the resolution, the refresh rate or the HDR setting changes then\n * clients are expected to query this API again to get updated allowed color depth.\n * @param {ColorSpace} colorSpace - the color space for which allowed color depths are queried.\n * @returns {ColorDepth[]} An array of ColorDepth values available for the specified color space\n * {@link DisplayManager.setColorDepth()}\n */\n static getAllowedColorDepths(colorSpace) {\n return AmazonGraphicsTurboModule_1.default.getAllowedColorDepths(colorSpace);\n }\n /**\n * Returns the current overscan border values of the display.\n * The border value (left, top, right and bottom) represent the fraction of\n * the width or height of the display that acts like a margin for the visible\n * region on the display.\n * @return The current overscan border configuration.\n * @throws DeviceError if the display device is not in active state\n * @see IOverscanBorder\n */\n static getOverscanBorder() {\n return AmazonGraphicsTurboModule_1.default.getOverscanBorder();\n }\n /**\n * Check if the display sink port where this display source device is connected is active or not.\n * A display sink (e.g. TV or monitor) may have multiple display ports. The port where this source\n * device is connected may be inactive even if display source (this device) is powered ON.\n * @return Returns true if display sink is active.\n */\n static isSinkActive() {\n return AmazonGraphicsTurboModule_1.default.isSinkActive();\n }\n /**\n * Query the current system-level AISR state for this display.\n * @return Current AISR state.\n */\n static getAisrState() {\n return AmazonGraphicsTurboModule_1.default.getAisrState();\n }\n /**\n * Query if AI Super Resolution is supported on this display.\n * @return true if AISR is supported, false otherwise.\n */\n static isAisrSupported() {\n return AmazonGraphicsTurboModule_1.default.isAisrSupported();\n }\n /**\n * Query for supported HDR modes which are determined based on\n * the connected display/TV capabilities and the device capabilities.\n * @returns {HdrMode[]} An array of HdrMode values representing the supported HDR modes\n */\n static getSupportedHdrSettings() {\n return AmazonGraphicsTurboModule_1.default.getSupportedHdrSettings();\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange);\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change. It returns a\n * {@link ISubscription} object, which is used to unsubscribe the listener\n * from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener2(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined\n return new DisplayListenerSubscription(token);\n }\n /**\n * Adds display listener object {@link IDisplayListener} to receive\n * callbacks when display properties change, including AISR state changes.\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving events through {@link ISubscription.unsubscribe()}.\n * @param listener IDisplayListener interface\n * @return ISubscription object related to this listener @see DisplayListenerSubscription\n */\n static addDisplayListener3(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayListener3(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { }), listener.onAisrStateChange || (() => { }));\n return new DisplayListenerSubscription(token);\n }\n /**\n * Below APIs are just wrapper APIs and does not have direct 1:1 mapping\n * with native APIs.\n */\n /**\n * Check if display supports HDR (High Definition Range) or not.\n */\n static isHDRSupported() {\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType !== types_1.HdrType.NONE) {\n // Found a HDR type which is either HDR10, HDR10+, Dolby Vision or HLG\n // and all these HDR types support BT.2020 color gamut.\n return true;\n }\n }\n }\n return false;\n }\n /**\n * Check if the display supports BT.2020 / Rec.2020 colorimetry standard.\n */\n static isBT2020ColorimetrySupported() {\n // Any of the HDR types (HDR10, HDR10+, Dolby Vision, HLG) support BT.2020 color gamut.\n return this.isHDRSupported();\n }\n /**\n * Query the supported transfer functions by the display.\n */\n static getTransferFunctions() {\n let transferFunctionList = [types_1.TransferFunction.SRGB];\n const displayConfigList = AmazonGraphicsTurboModule_1.default.getAllSupportedConfigs();\n for (const displayConfig of displayConfigList) {\n for (const hdrType of displayConfig.supportedHdrType) {\n if (hdrType === types_1.HdrType.HLG) {\n transferFunctionList.push(types_1.TransferFunction.HLG);\n }\n else if (hdrType !== types_1.HdrType.NONE) {\n // HDR10 / HDR10+ / Dolby Vision\n transferFunctionList.push(types_1.TransferFunction.PQ);\n }\n }\n }\n return transferFunctionList;\n }\n}\nexports.Display = Display;\nexports.default = Display;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DisplayController = void 0;\nconst AmazonGraphicsTurboModule_1 = __importDefault(require(\"./AmazonGraphicsTurboModule\"));\nif (!AmazonGraphicsTurboModule_1.default) {\n throw new Error(`AmazonGraphicsTurboModule turbo-module is null.`);\n}\n/**\n * Display Controller Listener callback cancellation is handled through\n * this Subscription object retuned after calling {@link DisplayController#addListener}\n */\nclass DisplayControllerListenerSubscription {\n token;\n constructor(token) {\n this.token = token;\n }\n /**\n * Unsubscribes the listener.\n */\n unsubscribe() {\n AmazonGraphicsTurboModule_1.default.removeDisplayControllerListener(this.token);\n }\n}\n/**\n * DisplayController specific operations are done through this\n * class abstraction.\n */\nclass DisplayController {\n constructor() { }\n /**\n * Adds display controller listener object {@link IDisplayControllerListener}\n * to receive callbacks when primary display is added (connected) or removed (disconnected).\n * It returns a {@link ISubscription} object, which is used to unsubscribe\n * the listener from receiving the events through {@link ISubscription.unsubscribe}.\n *\n * @param listener IDisplayControllerListener object to listen for display\n * controller events.\n * @return ISubscription object corresponding to the listener @see DisplayControllerListenerSubscription\n */\n static addListener(listener) {\n let token = AmazonGraphicsTurboModule_1.default.addDisplayControllerListener(listener.onAddDisplay, listener.onRemoveDisplay);\n return new DisplayControllerListenerSubscription(token);\n }\n /**\n * Check if primary display is connected to the device and ready to use.\n * @return return true if display is connected, false otherwise.\n */\n static isPrimaryDisplayConnected() {\n return AmazonGraphicsTurboModule_1.default.isPrimaryDisplayConnected();\n }\n}\nexports.DisplayController = DisplayController;\nexports.default = DisplayController;\n"],"x_facebook_sources":[null,[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","<anonymous>","desc.get","Object.defineProperty$argument_2.get"],"mappings":"AAA;0ECQ;sCCI,2BD;CDG,KC;CDG;kDCC;CDE;wDCC;CDE;0EGK,iEH;mEGE,0DH;6EGE,oEH"}],[{"names":["<global>","Object.defineProperty$argument_2.get"],"mappings":"AAA;qECW,iDD;sECC,kDD;sECC,kDD;mECC,+CD;mECC,+CD;oECC,gDD;qECC,iDD;6ECC,yDD;sECC,kDD;4ECC,wDD"}],[{"names":["<global>","<anonymous>"],"mappings":"AAA;CCc;CDiB;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDqB;CCM;CDa;CCM;CDa;CCM;CDc;CCM;CD6B;CCO;CDc"}],[{"names":["<global>","<anonymous>","DisplayManagerListenerSubscription","DisplayManagerListenerSubscription#constructor","DisplayManagerListenerSubscription#unsubscribe","DisplayManager","constructor","setColorDepth","setColorSpace","setHdrMode","setAisrState","setLowLatencyModeState","setMultipleRefreshRateState","requestConfigChange","enableAutoConfigSwitch","setOverscanBorder","addListener","commitStates"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKM;ICC,iBD;IEO;KFE;IGO;KHE;IIO;KJE;IKS;KLE;IMO;KNE;IOU;KPE;IQQ;KRE;ISU;KTE;IUe;KVE;IWS;KXG;IYY;KZE;CLC"}],[{"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":["_classCallCheck","<global>"],"mappings":"AAA;CCE"}],[{"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":["_typeof","<anonymous>","<global>"],"mappings":"AAA;wGCG;GDE,GC;GDE;CEC"}],[{"names":["<global>","<anonymous>","DisplayListenerSubscription","DisplayListenerSubscription#constructor","DisplayListenerSubscription#unsubscribe","Display","constructor","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","addDisplayListener2","addDisplayListener3","isHDRSupported","isBT2020ColorimetrySupported","getTransferFunctions"],"mappings":"AAA;wDCC;CDE;AEoB;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEK;KFE;IGK;KHE;IIK;KJE;IKK;KLE;IMK;KNE;IOK;KPE;IQO;KRE;ISO;KTE;IUM;KVE;IWK;KXE;IYM;KZE;IaM;KbE;IcS;KdE;IeU;KfE;IgBU;KhBE;IiBO;KjBE;IkBK;KlBE;ImBK;KnBE;IoBM;KpBE;IqBS;KrBG;IsBS;2Y1BC,S0B;KtBE;IuBS;2Y3BC,S2B,kC3B,S2B;KvBE;IwBQ;KxBY;IyBI;KzBG;I0BI;K1Be;CLC"}],[{"names":["<global>","<anonymous>","DisplayControllerListenerSubscription","DisplayControllerListenerSubscription#constructor","DisplayControllerListenerSubscription#unsubscribe","DisplayController","constructor","addListener","isPrimaryDisplayConnected"],"mappings":"AAA;wDCC;CDE;AEW;ICE;KDE;IEI;KFE;CFC;AKK;ICC,iBD;IEW;KFG;IGK;KHE;CLC"}]],"x_google_ignoreList":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"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","DisplayController","Display","DisplayManager","require","_dependencyMap","_$$_REQUIRE","default","TransferFunction","ColorGamut","BufferPixelFormat","HdcpLevel","LlmState","HdrType","HdrMode","ColorSpace","ColorDepth","AisrState","AmazonGraphicsTurboModule_1","Error","DisplayManagerListenerSubscription","token","key","unsubscribe","removeDisplayManagerListener","setColorDepth","colorDepth","setColorSpace","colorSpace","setHdrMode","hdrMode","setAisrState","aisrState","setLowLatencyModeState","llmState","setMultipleRefreshRateState","mrrState","requestConfigChange","displayConfig","refreshRateInMillihertz","enableAutoConfigSwitch","enable","setOverscanBorder","leftBorderAsPercentageOfWidth","topBorderAsPercentageOfHeight","rightBorderAsPercentageOfWidth","bottomBorderAsPercentageOfHeight","addListener","listener","addDisplayManagerListener","onCommitSuccess","onCommitFailure","commitStates","TurboModuleRegistry","getEnforcing","turboModuleProxy","__turboModuleProxy","requireModule","name","module","NODE_ENV","invariant","condition","format","_len","arguments","length","extraArgs","Array","_key","error","argIndex","replace","framesToPop","_classCallCheck","a","n","TypeError","_defineProperties","e","r","t","_createClass","toPropertyKey","i","toPrimitive","Symbol","String","Number","_typeof","iterator","constructor","DisplayListenerSubscription","removeDisplayListener","getName","getColorDepth","getColorSpace","getHdrMode","getLowLatencyModeState","isLowLatencyModeSupported","isMultipleRefreshRateEnabled","getCurrentRefreshRateInMillihertz","getCurrentHdcpLevel","getAllSupportedConfigs","getCurrentConfig","isAutoConfigSwitchEnabled","getAllowedColorSpaces","getAllowedColorDepths","getOverscanBorder","isSinkActive","getAisrState","isAisrSupported","getSupportedHdrSettings","addDisplayListener","onConfigChange","onRefreshRateChange","onColorDepthChange","onColorSpaceChange","onHdcpLevelChange","onAutoConfigSwitchStateChange","onMultipleRefreshRateStateChange","onLowLatencyModeStateChange","onHdrModeChange","addDisplayListener2","onSinkStateChange","addDisplayListener3","onAisrStateChange","isHDRSupported","displayConfigList","hdrType","supportedHdrType","NONE","isBT2020ColorimetrySupported","getTransferFunctions","transferFunctionList","SRGB","HLG","push","PQ","DisplayControllerListenerSubscription","removeDisplayControllerListener","addDisplayControllerListener","onAddDisplay","onRemoveDisplay","isPrimaryDisplayConnected"],"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,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