Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/utils/getPreviousResponsiveStyle",["module","exports","require","../../app/config/constants/viewportSizes"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,o,n){if(n===i.VIEWPORT_SIZES.desktop)return null;const s=(o,n)=>{var r;if(n===i.VIEWPORT_SIZES.desktop||n===i.VIEWPORT_SIZES.tablet)return i.VIEWPORT_SIZES.desktop;const a=e.indexOf(n),l=e[a-1];return(null===(r=o[l])||void 0===r?void 0:r.styles[t])?l:s(o,l)},r=s(o,n);return o[r]?o[r].styles[t]:o.styles[t]};var i=o("../../app/config/constants/viewportSizes");const e=[i.VIEWPORT_SIZES.desktop,i.VIEWPORT_SIZES.tablet,i.VIEWPORT_SIZES.landscapeMobile,i.VIEWPORT_SIZES.portraitMobile]}}));
//# sourceMappingURL=getPreviousResponsiveStyle.js.map