{"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm-es5/ios.transition-504cdd09.js"],"names":["addSafeArea","val","side","getClonedElement","tagName","document","querySelector","shadow","el","shadowRoot","getLargeTitle","refEl","getBackButton","backDirection","_i","buttonsList_1","querySelectorAll","length","buttons","parentHeader","closest","activeHeader","classList","contains","backButton","buttonsCollapse","animateBackButton","rootAnimation","rtl","backButtonEl","backButtonBounds","getBoundingClientRect","BACK_BUTTON_START_OFFSET","right","left","START_TEXT_TRANSLATE","END_TEXT_TRANSLATE","ICON_TRANSLATE","TEXT_ORIGIN_X","ICON_ORIGIN_X","FORWARD_TEXT_KEYFRAMES","offset","opacity","transform","BACKWARD_TEXT_KEYFRAMES","TEXT_KEYFRAMES","FORWARD_ICON_KEYFRAMES","BACKWARD_ICON_KEYFRAMES","ICON_KEYFRAMES","enteringBackButtonTextAnimation","enteringBackButtonIconAnimation","clonedBackButtonEl","backButtonTextEl","backButtonIconEl","text","mode","icon","color","disabled","style","setProperty","addElement","beforeStyles","beforeAddWrite","afterAddWrite","removeProperty","keyframes","addAnimation","animateLargeTitle","largeTitleEl","largeTitleBounds","TITLE_START_OFFSET","START_TRANSLATE","ORIGIN_X","BACKWARDS_KEYFRAMES","FORWARDS_KEYFRAMES","KEYFRAMES","clonedTitleEl","clonedLargeTitleAnimation","innerText","size","_a","iosTransitionAnimation","navEl","opts","navDecorAnimation","enteringTransitionEffectEl","enteringTransitionCoverEl","enteringTransitionShadowEl","enteringTransitionEffect","enteringTransitionCover","enteringTransitionShadow","leavingContent","leavingContentEl","leavingPage_1","leavingTransitionEffectEl","leavingTransitionCoverEl","leavingTransitionShadowEl","leavingTransitionEffect","leavingTransitionCover","leavingTransitionShadow","OPACITY_1","TRANSFORM_1","isRTL_1","ownerDocument","dir","OFF_RIGHT_1","OFF_LEFT_1","enteringEl","leavingEl","backDirection_1","direction","contentEl","headerEls","enteringToolBarEls","rootAnimation_1","enteringContentAnimation","enteringContentHasLargeTitle_1","duration","easing","fill","beforeRemoveClass","beforeClearStyles","fromTo","afterStyles","enteringBackButton","leavingLargeTitle","enteringLargeTitle","leavingBackButton","shouldAnimationBackward","shouldAnimationForward","forward","backward","forward_1","backward_1","forEach","enteringToolBarEl","enteringToolBar","enteringTitle","enteringToolBarButtons","Array","from","inactiveHeader","buttonsToAnimate","filter","button","isCollapseButton","enteringToolBarItems","enteringToolBarBg","enteringBackBtnText","getDirection","leavingToolBarEl","leavingToolBar","leavingTitle","leavingToolBarButtons","leavingToolBarItems","leavingToolBarItemEls","leavingToolBarBg","leavingBackBtnText","afterClearStyles","err"],"mappings":"6FAAA,uKAOIA,EAAc,SAAUC,EAAKC,GAE7B,MAAO,QAAUD,EAAM,6BADAC,EAAV,SAATA,EAA0B,MACuBA,GAAO,IAChE,EACIC,EAAmB,SAAUC,GAC7B,OAAOC,SAASC,cAAcF,EAAU,qBAAqB,CACjE,EACIG,EAAS,SAAUC,GACnB,OAAOA,EAAGC,YAAcD,CAC5B,EACIE,EAAgB,SAAUC,GAC1B,OAAOA,EAAML,cAAc,0EAA0E,CACzG,EACIM,EAAgB,SAAUD,EAAOE,GAEjC,IADA,IACSC,EAAK,EAAGC,EADCJ,EAAMK,iBAAiB,aAAa,EACRF,EAAKC,EAAcE,OAAQH,CAAE,GAAI,CAC3E,IAAII,EAAUH,EAAcD,GACxBK,EAAeD,EAAQE,QAAQ,YAAY,EAC3CC,EAAeF,GAAgB,CAACA,EAAaG,UAAUC,SAAS,mCAAmC,EACnGC,EAAaN,EAAQZ,cAAc,iBAAiB,EACpDmB,EAAkBP,EAAQI,UAAUC,SAAS,kBAAkB,EACnE,GAAmB,OAAfC,IAAyBC,GAAmBJ,GAAgBR,GAAkB,CAACY,GAC/E,OAAOD,CAEf,CACA,OAAO,IACX,EAqBIE,EAAoB,SAAUC,EAAeC,EAAKf,EAAegB,GACjE,IAAIC,EAAmBD,EAAaE,sBAAsB,EACtDC,EAA2B,EAAQ,gBAAkBF,EAAiBG,MAAQ,GAAK,MAAQH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CAAC,EAC/CsD,EAAoBhC,OAAOtB,EAAW,IAAM,CAAC,EACzCS,GACKgC,GAEDW,EACK9B,OAAO,YAAa,iBAAiCpB,EAAU,oBAAsB,kBAAmB,EACxGoB,OAAOtB,EAAW,IAAM,CAAC,EAElCsD,EAAoBhC,OAAO,YAAa,iBAAiCpB,EAAU,oBAAsB,kBAAmB,EAG5HsD,EACKnC,kBAAkB,CAACrB,EAAU,EAC7BsB,OAAOtB,EAAW,EAAG,GAAI,EAC1BxE,GAAgB,CAACyG,KACbwB,EAAqB,YAAgB,GAEpCjG,WAAWtD,EAAOsB,CAAY,EAAEvB,cAAc,cAAc,CAAC,EAC7DqH,OAAO,YAAa,iBAAgC,eAAkBpB,EAAU,CAAC,IAAM,KAAe,KAAG,EAC9GiD,EAAerF,aAAa2F,CAAkB,KAK7ChB,GACDW,EACK9B,OAAO,YAAa,iBAAgC,cAAgBhB,EAAa,GAAG,EACpFgB,OAAOtB,EAAW,IAAM,CAAC,EACzB0D,iBAAiB,CAACzD,EAAaD,EAAU,EAElDsD,EACKhC,OAAO,YAAa,iBAAgC,cAAgBhB,EAAa,GAAG,EACpFoD,iBAAiB,CAACzD,EAAaD,EAAU,EAC9C2B,EAAkB+B,iBAAiB,CAAC1D,EAAU,EAC9CoD,EAAaM,iBAAiB,CAAC1D,EAAU,EACzCqD,EAAsBK,iBAAiB,CAAC1D,EAAU,EAE1D,CAAC,GAEEc,CAIX,CAFA,MAAO6C,GACH,MAAMA,CACV,CAvY6B,IAAUrI,EAAeC,EAAKf,EAAe+F,EAAYC,EAClFgB,EACAC,EAGAI,EACAD,CAkYR,C","file":"js/chunk-2d0b3840.9ab554d4.js","sourcesContent":["import './core-feeeff0d.js';\nimport './config-3c7f3790.js';\nimport './helpers-46f4a262.js';\nimport { c as createAnimation } from './animation-af478fe9.js';\nimport './constants-3c3e1099.js';\nimport { g as getIonPageElement } from './index-4d91f03a.js';\nvar DURATION = 540;\nvar addSafeArea = function (val, side) {\n    if (side === void 0) { side = 'top'; }\n    return \"calc(\" + val + \"px + var(--ion-safe-area-\" + side + \"))\";\n};\nvar getClonedElement = function (tagName) {\n    return document.querySelector(tagName + \".ion-cloned-element\");\n};\nvar shadow = function (el) {\n    return el.shadowRoot || el;\n};\nvar getLargeTitle = function (refEl) {\n    return refEl.querySelector('ion-header:not(.header-collapse-condense-inactive) ion-title[size=large]');\n};\nvar getBackButton = function (refEl, backDirection) {\n    var buttonsList = refEl.querySelectorAll('ion-buttons');\n    for (var _i = 0, buttonsList_1 = buttonsList; _i < buttonsList_1.length; _i++) {\n        var buttons = buttonsList_1[_i];\n        var parentHeader = buttons.closest('ion-header');\n        var activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');\n        var backButton = buttons.querySelector('ion-back-button');\n        var buttonsCollapse = buttons.classList.contains('buttons-collapse');\n        if (backButton !== null && ((buttonsCollapse && activeHeader && backDirection) || !buttonsCollapse)) {\n            return backButton;\n        }\n    }\n    return null;\n};\nvar createLargeTitleTransition = function (rootAnimation, rtl, backDirection, enteringEl, leavingEl) {\n    var enteringBackButton = getBackButton(enteringEl, backDirection);\n    var leavingLargeTitle = getLargeTitle(leavingEl);\n    var enteringLargeTitle = getLargeTitle(enteringEl);\n    var leavingBackButton = getBackButton(leavingEl, backDirection);\n    var shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;\n    var shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;\n    if (shouldAnimationForward) {\n        animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle);\n        animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton);\n    }\n    else if (shouldAnimationBackward) {\n        animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle);\n        animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton);\n    }\n    return {\n        forward: shouldAnimationForward,\n        backward: shouldAnimationBackward\n    };\n};\nvar animateBackButton = function (rootAnimation, rtl, backDirection, backButtonEl) {\n    var backButtonBounds = backButtonEl.getBoundingClientRect();\n    var BACK_BUTTON_START_OFFSET = (rtl) ? \"calc(100% - \" + (backButtonBounds.right + 4) + \"px)\" : backButtonBounds.left - 4 + \"px\";\n    var START_TEXT_TRANSLATE = (rtl) ? '7px' : '-7px';\n    var END_TEXT_TRANSLATE = (rtl) ? '-4px' : '4px';\n    var ICON_TRANSLATE = (rtl) ? '-4px' : '4px';\n    var TEXT_ORIGIN_X = (rtl) ? 'right' : 'left';\n    var ICON_ORIGIN_X = (rtl) ? 'left' : 'right';\n    var FORWARD_TEXT_KEYFRAMES = [\n        { offset: 0, opacity: 0, transform: \"translate(\" + START_TEXT_TRANSLATE + \", \" + addSafeArea(8) + \") scale(2.1)\" },\n        { offset: 1, opacity: 1, transform: \"translate(\" + END_TEXT_TRANSLATE + \", \" + addSafeArea(-40) + \") scale(1)\" }\n    ];\n    var BACKWARD_TEXT_KEYFRAMES = [\n        { offset: 0, opacity: 1, transform: \"translate(\" + END_TEXT_TRANSLATE + \", \" + addSafeArea(-40) + \") scale(1)\" },\n        { offset: 0.6, opacity: 0 },\n        { offset: 1, opacity: 0, transform: \"translate(\" + START_TEXT_TRANSLATE + \", \" + addSafeArea(8) + \") scale(2.1)\" }\n    ];\n    var TEXT_KEYFRAMES = (backDirection) ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;\n    var FORWARD_ICON_KEYFRAMES = [\n        { offset: 0, opacity: 0, transform: \"translate3d(\" + ICON_TRANSLATE + \", \" + addSafeArea(-35) + \", 0) scale(0.6)\" },\n        { offset: 1, opacity: 1, transform: \"translate3d(\" + ICON_TRANSLATE + \", \" + addSafeArea(-40) + \", 0) scale(1)\" }\n    ];\n    var BACKWARD_ICON_KEYFRAMES = [\n        { offset: 0, opacity: 1, transform: \"translate(\" + ICON_TRANSLATE + \", \" + addSafeArea(-40) + \") scale(1)\" },\n        { offset: 0.2, opacity: 0, transform: \"translate(\" + ICON_TRANSLATE + \", \" + addSafeArea(-35) + \") scale(0.6)\" },\n        { offset: 1, opacity: 0, transform: \"translate(\" + ICON_TRANSLATE + \", \" + addSafeArea(-35) + \") scale(0.6)\" }\n    ];\n    var ICON_KEYFRAMES = (backDirection) ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;\n    var enteringBackButtonTextAnimation = createAnimation();\n    var enteringBackButtonIconAnimation = createAnimation();\n    var clonedBackButtonEl = getClonedElement('ion-back-button');\n    var backButtonTextEl = clonedBackButtonEl.querySelector('.button-text');\n    var backButtonIconEl = clonedBackButtonEl.querySelector('ion-icon');\n    clonedBackButtonEl.text = backButtonEl.text;\n    clonedBackButtonEl.mode = backButtonEl.mode;\n    clonedBackButtonEl.icon = backButtonEl.icon;\n    clonedBackButtonEl.color = backButtonEl.color;\n    clonedBackButtonEl.disabled = backButtonEl.disabled;\n    clonedBackButtonEl.style.setProperty('display', 'block');\n    clonedBackButtonEl.style.setProperty('position', 'fixed');\n    enteringBackButtonIconAnimation.addElement(backButtonIconEl);\n    enteringBackButtonTextAnimation.addElement(backButtonTextEl);\n    enteringBackButtonTextAnimation\n        .beforeStyles({\n        'transform-origin': TEXT_ORIGIN_X + \" center\"\n    })\n        .beforeAddWrite(function () {\n        backButtonEl.style.setProperty('display', 'none');\n        clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);\n    })\n        .afterAddWrite(function () {\n        backButtonEl.style.setProperty('display', '');\n        clonedBackButtonEl.style.setProperty('display', 'none');\n        clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);\n    })\n        .keyframes(TEXT_KEYFRAMES);\n    enteringBackButtonIconAnimation\n        .beforeStyles({\n        'transform-origin': ICON_ORIGIN_X + \" center\"\n    })\n        .keyframes(ICON_KEYFRAMES);\n    rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);\n};\nvar animateLargeTitle = function (rootAnimation, rtl, backDirection, largeTitleEl) {\n    var _a;\n    var largeTitleBounds = largeTitleEl.getBoundingClientRect();\n    var TITLE_START_OFFSET = (rtl) ? \"calc(100% - \" + largeTitleBounds.right + \"px)\" : largeTitleBounds.left + \"px\";\n    var START_TRANSLATE = (rtl) ? '-18px' : '18px';\n    var ORIGIN_X = (rtl) ? 'right' : 'left';\n    var BACKWARDS_KEYFRAMES = [\n        { offset: 0, opacity: 0, transform: \"translate(\" + START_TRANSLATE + \", \" + addSafeArea(0) + \") scale(0.49)\" },\n        { offset: 0.1, opacity: 0 },\n        { offset: 1, opacity: 1, transform: \"translate(0, \" + addSafeArea(49) + \") scale(1)\" }\n    ];\n    var FORWARDS_KEYFRAMES = [\n        { offset: 0, opacity: 0.99, transform: \"translate(0, \" + addSafeArea(49) + \") scale(1)\" },\n        { offset: 0.6, opacity: 0 },\n        { offset: 1, opacity: 0, transform: \"translate(\" + START_TRANSLATE + \", \" + addSafeArea(0) + \") scale(0.5)\" }\n    ];\n    var KEYFRAMES = (backDirection) ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;\n    var clonedTitleEl = getClonedElement('ion-title');\n    var clonedLargeTitleAnimation = createAnimation();\n    clonedTitleEl.innerText = largeTitleEl.innerText;\n    clonedTitleEl.size = largeTitleEl.size;\n    clonedTitleEl.color = largeTitleEl.color;\n    clonedLargeTitleAnimation.addElement(clonedTitleEl);\n    clonedLargeTitleAnimation\n        .beforeStyles((_a = {\n            'transform-origin': ORIGIN_X + \" center\",\n            'height': '46px',\n            'display': '',\n            'position': 'relative'\n        },\n        _a[ORIGIN_X] = TITLE_START_OFFSET,\n        _a))\n        .beforeAddWrite(function () {\n        largeTitleEl.style.setProperty('display', 'none');\n    })\n        .afterAddWrite(function () {\n        largeTitleEl.style.setProperty('display', '');\n        clonedTitleEl.style.setProperty('display', 'none');\n    })\n        .keyframes(KEYFRAMES);\n    rootAnimation.addAnimation(clonedLargeTitleAnimation);\n};\nvar iosTransitionAnimation = function (navEl, opts) {\n    try {\n        var EASING = 'cubic-bezier(0.32,0.72,0,1)';\n        var OPACITY_1 = 'opacity';\n        var TRANSFORM_1 = 'transform';\n        var CENTER_1 = '0%';\n        var OFF_OPACITY = 0.8;\n        var isRTL_1 = navEl.ownerDocument.dir === 'rtl';\n        var OFF_RIGHT_1 = isRTL_1 ? '-99.5%' : '99.5%';\n        var OFF_LEFT_1 = isRTL_1 ? '33%' : '-33%';\n        var enteringEl = opts.enteringEl;\n        var leavingEl = opts.leavingEl;\n        var backDirection_1 = (opts.direction === 'back');\n        var contentEl = enteringEl.querySelector(':scope > ion-content');\n        var headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n        var enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n        var rootAnimation_1 = createAnimation();\n        var enteringContentAnimation = createAnimation();\n        rootAnimation_1\n            .addElement(enteringEl)\n            .duration(opts.duration || DURATION)\n            .easing(opts.easing || EASING)\n            .fill('both')\n            .beforeRemoveClass('ion-page-invisible');\n        if (leavingEl && navEl) {\n            var navDecorAnimation = createAnimation();\n            navDecorAnimation.addElement(navEl);\n            rootAnimation_1.addAnimation(navDecorAnimation);\n        }\n        if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {\n            enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n        }\n        else {\n            enteringContentAnimation.addElement(contentEl); // REVIEW\n            enteringContentAnimation.addElement(headerEls);\n        }\n        rootAnimation_1.addAnimation(enteringContentAnimation);\n        if (backDirection_1) {\n            enteringContentAnimation\n                .beforeClearStyles([OPACITY_1])\n                .fromTo('transform', \"translateX(\" + OFF_LEFT_1 + \")\", \"translateX(\" + CENTER_1 + \")\")\n                .fromTo(OPACITY_1, OFF_OPACITY, 1);\n        }\n        else {\n            // entering content, forward direction\n            enteringContentAnimation\n                .beforeClearStyles([OPACITY_1])\n                .fromTo('transform', \"translateX(\" + OFF_RIGHT_1 + \")\", \"translateX(\" + CENTER_1 + \")\");\n        }\n        if (contentEl) {\n            var enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');\n            if (enteringTransitionEffectEl) {\n                var enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');\n                var enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');\n                var enteringTransitionEffect = createAnimation();\n                var enteringTransitionCover = createAnimation();\n                var enteringTransitionShadow = createAnimation();\n                enteringTransitionEffect\n                    .addElement(enteringTransitionEffectEl)\n                    .beforeStyles({ opacity: '1' })\n                    .afterStyles({ opacity: '' });\n                enteringTransitionCover\n                    .addElement(enteringTransitionCoverEl) // REVIEW\n                    .beforeClearStyles([OPACITY_1])\n                    .fromTo(OPACITY_1, 0, 0.1);\n                enteringTransitionShadow\n                    .addElement(enteringTransitionShadowEl) // REVIEW\n                    .beforeClearStyles([OPACITY_1])\n                    .fromTo(OPACITY_1, 0.03, 0.70);\n                enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);\n                enteringContentAnimation.addAnimation([enteringTransitionEffect]);\n            }\n        }\n        var enteringContentHasLargeTitle_1 = enteringEl.querySelector('ion-header.header-collapse-condense');\n        var _a = createLargeTitleTransition(rootAnimation_1, isRTL_1, backDirection_1, enteringEl, leavingEl), forward_1 = _a.forward, backward_1 = _a.backward;\n        enteringToolBarEls.forEach(function (enteringToolBarEl) {\n            var enteringToolBar = createAnimation();\n            enteringToolBar.addElement(enteringToolBarEl);\n            rootAnimation_1.addAnimation(enteringToolBar);\n            var enteringTitle = createAnimation();\n            enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW\n            var enteringToolBarButtons = createAnimation();\n            var buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));\n            var parentHeader = enteringToolBarEl.closest('ion-header');\n            var inactiveHeader = parentHeader && parentHeader.classList.contains('header-collapse-condense-inactive');\n            var buttonsToAnimate;\n            if (backDirection_1) {\n                buttonsToAnimate = buttons.filter(function (button) {\n                    var isCollapseButton = button.classList.contains('buttons-collapse');\n                    return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n                });\n            }\n            else {\n                buttonsToAnimate = buttons.filter(function (button) { return !button.classList.contains('buttons-collapse'); });\n            }\n            enteringToolBarButtons.addElement(buttonsToAnimate);\n            var enteringToolBarItems = createAnimation();\n            enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));\n            var enteringToolBarBg = createAnimation();\n            enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW\n            var enteringBackButton = createAnimation();\n            var backButtonEl = enteringToolBarEl.querySelector('ion-back-button');\n            if (backButtonEl) {\n                enteringBackButton.addElement(backButtonEl);\n            }\n            enteringToolBar.addAnimation([enteringTitle, enteringToolBarButtons, enteringToolBarItems, enteringToolBarBg, enteringBackButton]);\n            enteringToolBarButtons.fromTo(OPACITY_1, 0.01, 1);\n            enteringToolBarItems.fromTo(OPACITY_1, 0.01, 1);\n            if (backDirection_1) {\n                if (!inactiveHeader) {\n                    enteringTitle\n                        .fromTo('transform', \"translateX(\" + OFF_LEFT_1 + \")\", \"translateX(\" + CENTER_1 + \")\")\n                        .fromTo(OPACITY_1, 0.01, 1);\n                }\n                enteringToolBarItems.fromTo('transform', \"translateX(\" + OFF_LEFT_1 + \")\", \"translateX(\" + CENTER_1 + \")\");\n                // back direction, entering page has a back button\n                enteringBackButton.fromTo(OPACITY_1, 0.01, 1);\n            }\n            else {\n                // entering toolbar, forward direction\n                if (!enteringContentHasLargeTitle_1) {\n                    enteringTitle\n                        .fromTo('transform', \"translateX(\" + OFF_RIGHT_1 + \")\", \"translateX(\" + CENTER_1 + \")\")\n                        .fromTo(OPACITY_1, 0.01, 1);\n                }\n                enteringToolBarItems.fromTo('transform', \"translateX(\" + OFF_RIGHT_1 + \")\", \"translateX(\" + CENTER_1 + \")\");\n                enteringToolBarBg\n                    .beforeClearStyles([OPACITY_1])\n                    .fromTo(OPACITY_1, 0.01, 1);\n                // forward direction, entering page has a back button\n                if (!forward_1) {\n                    enteringBackButton.fromTo(OPACITY_1, 0.01, 1);\n                }\n                if (backButtonEl && !forward_1) {\n                    var enteringBackBtnText = createAnimation();\n                    enteringBackBtnText\n                        .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n                        .fromTo(\"transform\", (isRTL_1 ? 'translateX(-100px)' : 'translateX(100px)'), 'translateX(0px)');\n                    enteringToolBar.addAnimation(enteringBackBtnText);\n                }\n            }\n        });\n        // setup leaving view\n        if (leavingEl) {\n            var leavingContent = createAnimation();\n            var leavingContentEl = leavingEl.querySelector(':scope > ion-content');\n            leavingContent.addElement(leavingContentEl); // REVIEW\n            leavingContent.addElement(leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *'));\n            rootAnimation_1.addAnimation(leavingContent);\n            if (backDirection_1) {\n                // leaving content, back direction\n                leavingContent\n                    .beforeClearStyles([OPACITY_1])\n                    .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", (isRTL_1 ? 'translateX(-100%)' : 'translateX(100%)'));\n                var leavingPage_1 = getIonPageElement(leavingEl);\n                rootAnimation_1.afterAddWrite(function () {\n                    if (rootAnimation_1.getDirection() === 'normal') {\n                        leavingPage_1.style.setProperty('display', 'none');\n                    }\n                });\n            }\n            else {\n                // leaving content, forward direction\n                leavingContent\n                    .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", \"translateX(\" + OFF_LEFT_1 + \")\")\n                    .fromTo(OPACITY_1, 1, OFF_OPACITY);\n            }\n            if (leavingContentEl) {\n                var leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');\n                if (leavingTransitionEffectEl) {\n                    var leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');\n                    var leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');\n                    var leavingTransitionEffect = createAnimation();\n                    var leavingTransitionCover = createAnimation();\n                    var leavingTransitionShadow = createAnimation();\n                    leavingTransitionEffect\n                        .addElement(leavingTransitionEffectEl)\n                        .beforeStyles({ opacity: '1' })\n                        .afterStyles({ opacity: '' });\n                    leavingTransitionCover\n                        .addElement(leavingTransitionCoverEl) // REVIEW\n                        .beforeClearStyles([OPACITY_1])\n                        .fromTo(OPACITY_1, 0.1, 0);\n                    leavingTransitionShadow\n                        .addElement(leavingTransitionShadowEl) // REVIEW\n                        .beforeClearStyles([OPACITY_1])\n                        .fromTo(OPACITY_1, 0.70, 0.03);\n                    leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);\n                    leavingContent.addAnimation([leavingTransitionEffect]);\n                }\n            }\n            var leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n            leavingToolBarEls.forEach(function (leavingToolBarEl) {\n                var leavingToolBar = createAnimation();\n                leavingToolBar.addElement(leavingToolBarEl);\n                var leavingTitle = createAnimation();\n                leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW\n                var leavingToolBarButtons = createAnimation();\n                var buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');\n                var parentHeader = leavingToolBarEl.closest('ion-header');\n                var inactiveHeader = parentHeader && parentHeader.classList.contains('header-collapse-condense-inactive');\n                var buttonsToAnimate = Array.from(buttons).filter(function (button) {\n                    var isCollapseButton = button.classList.contains('buttons-collapse');\n                    return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n                });\n                leavingToolBarButtons.addElement(buttonsToAnimate);\n                var leavingToolBarItems = createAnimation();\n                var leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');\n                if (leavingToolBarItemEls.length > 0) {\n                    leavingToolBarItems.addElement(leavingToolBarItemEls);\n                }\n                var leavingToolBarBg = createAnimation();\n                leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW\n                var leavingBackButton = createAnimation();\n                var backButtonEl = leavingToolBarEl.querySelector('ion-back-button');\n                if (backButtonEl) {\n                    leavingBackButton.addElement(backButtonEl);\n                }\n                leavingToolBar.addAnimation([leavingTitle, leavingToolBarButtons, leavingToolBarItems, leavingBackButton, leavingToolBarBg]);\n                rootAnimation_1.addAnimation(leavingToolBar);\n                // fade out leaving toolbar items\n                leavingBackButton.fromTo(OPACITY_1, 0.99, 0);\n                leavingToolBarButtons.fromTo(OPACITY_1, 0.99, 0);\n                leavingToolBarItems.fromTo(OPACITY_1, 0.99, 0);\n                if (backDirection_1) {\n                    if (!inactiveHeader) {\n                        // leaving toolbar, back direction\n                        leavingTitle\n                            .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", (isRTL_1 ? 'translateX(-100%)' : 'translateX(100%)'))\n                            .fromTo(OPACITY_1, 0.99, 0);\n                    }\n                    leavingToolBarItems.fromTo('transform', \"translateX(\" + CENTER_1 + \")\", (isRTL_1 ? 'translateX(-100%)' : 'translateX(100%)'));\n                    // leaving toolbar, back direction, and there's no entering toolbar\n                    // should just slide out, no fading out\n                    leavingToolBarBg\n                        .beforeClearStyles([OPACITY_1])\n                        .fromTo(OPACITY_1, 1, 0.01);\n                    if (backButtonEl && !backward_1) {\n                        var leavingBackBtnText = createAnimation();\n                        leavingBackBtnText\n                            .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n                            .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", \"translateX(\" + ((isRTL_1 ? -124 : 124) + 'px') + \")\");\n                        leavingToolBar.addAnimation(leavingBackBtnText);\n                    }\n                }\n                else {\n                    // leaving toolbar, forward direction\n                    if (!inactiveHeader) {\n                        leavingTitle\n                            .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", \"translateX(\" + OFF_LEFT_1 + \")\")\n                            .fromTo(OPACITY_1, 0.99, 0)\n                            .afterClearStyles([TRANSFORM_1, OPACITY_1]);\n                    }\n                    leavingToolBarItems\n                        .fromTo('transform', \"translateX(\" + CENTER_1 + \")\", \"translateX(\" + OFF_LEFT_1 + \")\")\n                        .afterClearStyles([TRANSFORM_1, OPACITY_1]);\n                    leavingBackButton.afterClearStyles([OPACITY_1]);\n                    leavingTitle.afterClearStyles([OPACITY_1]);\n                    leavingToolBarButtons.afterClearStyles([OPACITY_1]);\n                }\n            });\n        }\n        return rootAnimation_1;\n    }\n    catch (err) {\n        throw err;\n    }\n};\nexport { iosTransitionAnimation, shadow };\n"],"sourceRoot":""}