'use client';
import{jsxs as e,jsx as r}from"react/jsx-runtime";import{usePageType as i,makeStyleResponsive as t,getGlobalColorResponsiveStyle as m,cls as a}from"@gem-sdk/core";import d from"next/dynamic";import{useMemo as o}from"react";import n from"./SalePageHeaderWarning.js";let s=d(()=>import("./kind/basic/index.js")),p=d(()=>import("./kind/modern/index.js")),l=({builderAttrs:d,builderProps:l,style:c,setting:g,styles:f,children:h})=>{let{kind:u,...x}=g??{},j="morden"===u?p:s,P=i(),k=o(()=>"GP_FUNNEL_PAGE"===P,[P]);return l?.isPreview&&k?null:e("nav",{"data-id":l?.uid,className:a("gp-z-10 hover:gp-z-50",l?.uid),...d,style:{...c,...m("bgc",f?.headerBg),...t("h",f?.height)},children:[k&&r(n,{}),r(j,{...x,...f}),h]})};export{l as default};
