{"version":3,"file":"easeFullscreenTransition.cjs","names":["easeFullscreenTransition","progress","exports"],"sources":["../../../src/fullscreen/easeFullscreenTransition.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\n/** Returns how far along a fullscreen transition is, from 0 to 1, for a linear progress from 0 to 1. It follows `fullscreenTransitionTokens.easing`, for animation done one frame at a time instead of in CSS. */\nexport const easeFullscreenTransition = (progress: number) =>\n  progress < 0.5 ? 4 * progress ** 3 : 1 - (-2 * progress + 2) ** 3 / 2;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAGO,MAAMA,wBAAwB,GAAIC,QAAgB,IACvDA,QAAQ,GAAG,GAAG,GAAG,CAAC,GAAGA,QAAQ,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAGA,QAAQ,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC;AAACC,OAAA,CAAAF,wBAAA,GAAAA,wBAAA","ignoreList":[]}