let getFlexDirection=e=>{let{styles:t,setting:l}=e,o={desktop:t?.position?.desktop,tablet:t?.position?.tablet===void 0?t?.position?.desktop:t?.position?.tablet,mobile:t?.position?.mobile===void 0?t?.position?.tablet===void 0?t?.position?.desktop:t?.position?.tablet:t?.position?.mobile},i={desktop:l?.galleryVisible?.desktop,tablet:l?.galleryVisible?.tablet===void 0?l?.galleryVisible?.desktop:l?.galleryVisible?.tablet,mobile:l?.galleryVisible?.mobile===void 0?l?.galleryVisible?.tablet===void 0?l?.galleryVisible?.desktop:l?.galleryVisible?.tablet:l?.galleryVisible?.mobile},b={desktop:l?.featureImageVisible?.desktop,tablet:l?.featureImageVisible?.tablet===void 0?l?.featureImageVisible?.desktop:l?.featureImageVisible?.tablet,mobile:l?.featureImageVisible?.mobile===void 0?l?.featureImageVisible?.tablet===void 0?l?.featureImageVisible?.desktop:l?.featureImageVisible?.tablet:l?.featureImageVisible?.mobile};return{"gp-flex-col":"bottom-left"==o.desktop||"bottom-center"==o.desktop||!1===i.desktop||!1===b.desktop,"tablet:gp-flex-col":"bottom-left"==o.tablet||"bottom-center"==o.tablet||!1===i.tablet||!1===b.tablet,"mobile:gp-flex-col":"bottom-left"==o.mobile||"bottom-center"==o.mobile||!1===i.mobile||!1===b.mobile,"gp-flex-row":"right"==o.desktop&&!1!==i.desktop&&!1!==b.desktop,"tablet:gp-flex-row":"right"==o.tablet&&!1!==i.tablet&&!1!==b.tablet,"mobile:gp-flex-row":"right"==o.mobile&&!1!==i.mobile&&!1!==b.mobile,"gp-flex-row-reverse":"left"==o.desktop&&!1!==i.desktop&&!1!==b.desktop,"tablet:gp-flex-row-reverse":"left"==o.tablet&&!1!==i.tablet&&!1!==b.tablet,"mobile:gp-flex-row-reverse":"left"==o.mobile&&!1!==i.mobile&&!1!==b.mobile}};export{getFlexDirection};
