var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
import { memoizeGetStyles } from '../../lib/theming/Emotion.js';
import { resetButton } from '../../lib/styles/Mixins.js';
export var getStyles = memoizeGetStyles(function (_a) {
    var css = _a.css;
    return ({
        root: function () {
            return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n      height: 100%;\n      position: fixed;\n      top: 0;\n    "], ["\n      height: 100%;\n      position: fixed;\n      top: 0;\n    "])));
        },
        overlay: function () {
            return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n      position: fixed;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n    "], ["\n      position: fixed;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n    "])));
        },
        body: function (t) {
            return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n      flex: 1 0 auto;\n      z-index: 0;\n      color: ", ";\n    "], ["\n      flex: 1 0 auto;\n      z-index: 0;\n      color: ", ";\n    "])), t.modalBodyTextColor);
        },
        mobileBody: function () {
            return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n      font-size: 16px;\n      line-height: 22px;\n    "], ["\n      font-size: 16px;\n      line-height: 22px;\n    "])));
        },
        container: function (t) {
            return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n      padding-left: ", ";\n      padding-right: ", ";\n    "], ["\n      padding-left: ", ";\n      padding-right: ", ";\n    "])), t.sidePagePaddingLeft, t.sidePagePaddingRight);
        },
        mobileContainer: function (t) {
            return css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n      padding-left: ", ";\n      padding-right: ", ";\n      padding-bottom: ", ";\n    "], ["\n      padding-left: ", ";\n      padding-right: ", ";\n      padding-bottom: ", ";\n    "])), t.mobileSidePagePaddingLeft, t.mobileSidePagePaddingRight, t.mobileSidePagePaddingBottom);
        },
        containerWithoutHeader: function (t) {
            return css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n      padding-top: ", ";\n    "], ["\n      padding-top: ", ";\n    "])), t.sidePagePaddingTop);
        },
        mobileContainerWithoutHeader: function (t) {
            return css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n      padding-top: ", ";\n    "], ["\n      padding-top: ", ";\n    "])), t.mobileSidePagePaddingTop);
        },
        containerWithoutFooter: function (t) {
            return css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n      padding-bottom: ", ";\n    "], ["\n      padding-bottom: ", ";\n    "])), t.sidePagePaddingBottom);
        },
        containerWithPanel: function (t) {
            return css(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n      padding-bottom: ", ";\n    "], ["\n      padding-bottom: ", ";\n    "])), t.sidePagePaddingBottom);
        },
        focusLock: function () {
            return css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n      height: 100%;\n    "], ["\n      height: 100%;\n    "])));
        },
        wrapper: function (t) {
            return css(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n      background: ", ";\n      float: right;\n      height: 100%;\n      width: 100%;\n      overflow-y: auto;\n      position: relative;\n      white-space: normal;\n      align-items: stretch;\n      display: flex;\n      flex-direction: column;\n    "], ["\n      background: ", ";\n      float: right;\n      height: 100%;\n      width: 100%;\n      overflow-y: auto;\n      position: relative;\n      white-space: normal;\n      align-items: stretch;\n      display: flex;\n      flex-direction: column;\n    "])), t.sidePageBgDefault);
        },
        wrapperLeft: function () {
            return css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n      float: left;\n    "], ["\n      float: left;\n    "])));
        },
        wrapperMarginLeft: function () {
            return css(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n      margin-left: 20px;\n    "], ["\n      margin-left: 20px;\n    "])));
        },
        wrapperMarginRight: function () {
            return css(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n      margin-right: 20px;\n    "], ["\n      margin-right: 20px;\n    "])));
        },
        headerWrapper: function () {
            return css(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n      flex: 0 0 auto;\n    "], ["\n      flex: 0 0 auto;\n    "])));
        },
        header: function (t) {
            return css(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      width: 100%;\n      position: relative;\n      color: ", ";\n      font-weight: ", ";\n    "], ["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      width: 100%;\n      position: relative;\n      color: ", ";\n      font-weight: ", ";\n    "])), t.sidePageHeaderFontSize, t.sidePageHeaderLineHeight, t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom, t.sidePageHeaderTextColor, t.sidePageHeaderFontWeight);
        },
        mobileHeader: function (t) {
            return css(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n    "], ["\n      font-size: ", ";\n      line-height: ", ";\n      padding: ", " 0 ", ";\n    "])), t.mobileSidePageHeaderFontSize, t.mobileSidePageHeaderLineHeight, t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom);
        },
        headerFixed: function (t) {
            return css(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n      background: ", ";\n\n      &:after {\n        bottom: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "], ["\n      background: ", ";\n\n      &:after {\n        bottom: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "])), t.sidePageBgDefault, t.sidePageFixedHeaderShadow);
        },
        headerNativeStuck: function (t) {
            return css(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n      position: sticky;\n      top: 0;\n      z-index: 16000;\n      background: linear-gradient(to top, transparent ", ", ", " 0px);\n    "], ["\n      position: sticky;\n      top: 0;\n      z-index: 16000;\n      background: linear-gradient(to top, transparent ", ", ", " 0px);\n    "])), t.sidePageHeaderPaddingBottom, t.sidePageBgDefault);
        },
        title: function (t) {
            var paddingRight = parseInt(t.sidePageCloseButtonClickAreaLeft) +
                parseInt(t.sidePageCloseIconSize) +
                parseInt(t.sidePageCloseButtonClickAreaRight);
            return css(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "], ["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "])), t.sidePagePaddingLeft, paddingRight);
        },
        mobileTitle: function (t) {
            var paddingRight = parseInt(t.mobileSidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);
            return css(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "], ["\n      padding-left: ", ";\n      padding-right: ", "px;\n    "])), t.mobileSidePagePaddingLeft, paddingRight);
        },
        titleCut: function () {
            return css(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n      overflow: hidden;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n    "], ["\n      overflow: hidden;\n      text-overflow: ellipsis;\n      white-space: nowrap;\n    "])));
        },
        background: function () {
            return css(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n      height: 100%;\n      position: absolute;\n      width: 100%;\n    "], ["\n      height: 100%;\n      position: absolute;\n      width: 100%;\n    "])));
        },
        backgroundGray: function (t) {
            return css(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n      background: ", ";\n      opacity: ", ";\n    "], ["\n      background: ", ";\n      opacity: ", ";\n    "])), t.sidePageBackingBg, t.sidePageBackingBgOpacity);
        },
        shadow: function (t) {
            return css(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n      box-shadow: ", ";\n    "], ["\n      box-shadow: ", ";\n    "])), t.sidePageContainerShadow);
        },
        close: function (t) {
            return css(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n      ", ";\n      cursor: pointer;\n      color: ", ";\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-right: ", ";\n      margin-right: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n      padding-left: ", ";\n      margin-left: -", ";\n      font-size: 0;\n\n      &:focus,\n      &:hover {\n        color: ", ";\n      }\n\n      & > svg {\n        width: ", ";\n        height: ", ";\n        box-sizing: content-box;\n      }\n    "], ["\n      ", ";\n      cursor: pointer;\n      color: ", ";\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-right: ", ";\n      margin-right: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n      padding-left: ", ";\n      margin-left: -", ";\n      font-size: 0;\n\n      &:focus,\n      &:hover {\n        color: ", ";\n      }\n\n      & > svg {\n        width: ", ";\n        height: ", ";\n        box-sizing: content-box;\n      }\n    "])), resetButton(), t.sidePageCloseButtonColor, t.sidePageCloseButtonClickAreaTop, t.sidePageCloseButtonClickAreaTop, t.sidePageCloseButtonClickAreaRight, t.sidePageCloseButtonClickAreaRight, t.sidePageCloseButtonClickAreaBottom, t.sidePageCloseButtonClickAreaBottom, t.sidePageCloseButtonClickAreaLeft, t.sidePageCloseButtonClickAreaLeft, t.sidePageCloseButtonHoverColor, t.sidePageCloseIconSize, t.sidePageCloseIconSize);
        },
        closeSticky: function (t) {
            return css(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n    "], ["\n      padding-top: ", ";\n      margin-top: -", ";\n      padding-bottom: ", ";\n      margin-bottom: -", ";\n    "])), t.sidePageCloseButtonFixedClickAreaTop, t.sidePageCloseButtonFixedClickAreaTop, t.sidePageCloseButtonFixedClickAreaBottom, t.sidePageCloseButtonFixedClickAreaBottom);
        },
        closeMobile: function (t) {
            return css(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n      padding: ", ";\n      margin: -", ";\n      font-size: 0;\n    "], ["\n      padding: ", ";\n      margin: -", ";\n      font-size: 0;\n    "])), t.mobileSidePageCloseButtonClickArea, t.mobileSidePageCloseButtonClickArea);
        },
        closeFocus: function (t) {
            return css(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n      box-shadow: inset 0 0 0 2px ", ";\n      border-radius: 4px;\n    "], ["\n      box-shadow: inset 0 0 0 2px ", ";\n      border-radius: 4px;\n    "])), t.borderColorFocus);
        },
        wrapperClose: function (t) {
            return css(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n      box-sizing: border-box;\n      height: 100%;\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      position: absolute;\n      right: ", ";\n      top: ", ";\n    "], ["\n      box-sizing: border-box;\n      height: 100%;\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      position: absolute;\n      right: ", ";\n      top: ", ";\n    "])), t.sidePageHeaderLineHeight, t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom, t.sidePageCloseButtonClickAreaRight, t.sidePageCloseButtonWrapperOffsetTop);
        },
        mobileWrapperClose: function (t) {
            return css(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      right: ", ";\n    "], ["\n      line-height: ", ";\n      padding: ", " 0 ", ";\n      right: ", ";\n    "])), t.mobileSidePageHeaderLineHeight, t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom, t.mobileSidePageCloseButtonPadding);
        },
        panel: function (t) {
            return css(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n      background: ", ";\n      padding: ", " ", " ", "\n        ", ";\n    "], ["\n      background: ", ";\n      padding: ", " ", " ", "\n        ", ";\n    "])), t.sidePageFooterPanelBg, t.sidePageFooterPanelPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPanelPaddingBottom, t.sidePagePaddingLeft);
        },
        wrapperCloseFixed: function (t) {
            return css(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n      top: ", ";\n    "], ["\n      top: ", ";\n    "])), t.sidePageCloseButtonWrapperFixedOffsetTop);
        },
        footerWrapper: function () {
            return css(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n      flex: 0 0 auto;\n    "], ["\n      flex: 0 0 auto;\n    "])));
        },
        footer: function (t) {
            return css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n      bottom: 0;\n      position: fixed;\n      z-index: 10;\n      color: ", ";\n    "], ["\n      bottom: 0;\n      position: fixed;\n      z-index: 10;\n      color: ", ";\n    "])), t.sidePageFooterTextColor);
        },
        positionStatic: function () {
            return css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["\n      position: static;\n    "], ["\n      position: static;\n    "])));
        },
        footerContent: function (t) {
            return css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["\n      padding: ", " ", " ", "\n        ", ";\n    "], ["\n      padding: ", " ", " ", "\n        ", ";\n    "])), t.sidePageFooterPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPaddingBottom, t.sidePagePaddingLeft);
        },
        mobileFooterContent: function (t) {
            return css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["\n      display: flex;\n      flex-flow: column nowrap;\n      padding: ", ";\n    "], ["\n      display: flex;\n      flex-flow: column nowrap;\n      padding: ", ";\n    "])), t.mobileSidePageFooterPadding);
        },
        footerFixed: function (t) {
            return css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["\n      background: ", ";\n\n      &:before {\n        top: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "], ["\n      background: ", ";\n\n      &:before {\n        top: 0px;\n        content: '';\n        position: absolute;\n        height: 1px;\n        width: 100%;\n        left: 0;\n        z-index: -1;\n        box-shadow: ", ";\n      }\n    "])), t.sidePageBgDefault, t.sidePageFixedFooterShadow);
        },
        panelFixed: function (t) {
            return css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["\n      &:before {\n        box-shadow: ", ";\n      }\n    "], ["\n      &:before {\n        box-shadow: ", ";\n      }\n    "])), t.sidePageFixedPanelShadow);
        },
        transitionLeft: function () {
            return css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["\n      transform: translateX(100px);\n    "], ["\n      transform: translateX(100px);\n    "])));
        },
        transitionRight: function () {
            return css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["\n      transform: translateX(-100px);\n    "], ["\n      transform: translateX(-100px);\n    "])));
        },
        transitionActive: function () {
            return css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["\n      transition:\n        transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n        opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n      opacity: 1 !important;\n      transform: translate(0, 0) !important;\n    "], ["\n      transition:\n        transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n        opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n      opacity: 1 !important;\n      transform: translate(0, 0) !important;\n    "])));
        },
        transitionLeave: function () {
            return css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n      opacity: 1;\n    "], ["\n      opacity: 1;\n    "])));
        },
        transitionLeaveActive: function () {
            return css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["\n      opacity: 0.01 !important;\n      transition: opacity 0.15s ease-out;\n    "], ["\n      opacity: 0.01 !important;\n      transition: opacity 0.15s ease-out;\n    "])));
        },
    });
});
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46;
//# sourceMappingURL=SidePage.styles.js.map