{"version":3,"file":"useFullscreenId.cjs","names":["_react","require","_index","useFullscreenId","useState","createFullscreenId","exports"],"sources":["../../../src/fullscreen/useFullscreenId.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { useState } from \"react\";\n\nimport { createFullscreenId } from \"../message-bus/index.js\";\n\n/**\n * Create a fullscreen id once and keep it for the life of the component. Pass it to a `FullscreenRegion` and to every `FullscreenButton` that controls it.\n *\n * @experimental The fullscreen API is in alpha and may change in a future release.\n */\nexport const useFullscreenId = () => useState(createFullscreenId)[0];\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAWO,MAAME,eAAe,GAAGA,CAAA,KAAM,IAAAC,eAAQ,EAACC,yBAAkB,CAAC,CAAC,CAAC,CAAC;AAACC,OAAA,CAAAH,eAAA,GAAAA,eAAA","ignoreList":[]}