cortex-react-components 1.28.2 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-MBCAGZ76.mjs → chunk-2JZGT4F6.mjs} +1 -1
- package/dist/{chunk-EUIWQVMX.mjs → chunk-4KDRHMVB.mjs} +1 -1
- package/dist/{chunk-5WWSBG7F.mjs → chunk-5SC2DMOZ.mjs} +1 -1
- package/dist/{chunk-FIB3LSLI.mjs → chunk-7UWJMEZF.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-IMAQJ7N3.mjs → chunk-EMZQNDA7.mjs} +1 -1
- package/dist/{chunk-QT3NXKCH.mjs → chunk-FNFAQ72H.mjs} +1 -1
- package/dist/{chunk-PPSZJ5D7.mjs → chunk-G56GDDMR.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-5LAAQXXL.mjs → chunk-MWR4OP2Y.mjs} +1 -1
- package/dist/{chunk-6PXSMBJI.mjs → chunk-MWV2JJKP.mjs} +1 -1
- package/dist/{chunk-D2RPCCZO.mjs → chunk-NH74CS36.mjs} +1 -1
- package/dist/{chunk-SYVKYRZO.mjs → chunk-O5XLZ254.mjs} +1 -1
- package/dist/{chunk-2XVPLL7I.mjs → chunk-QAOWQ4NG.mjs} +1 -1
- package/dist/{chunk-X6N2L5MB.mjs → chunk-RMOHWP4H.mjs} +1 -1
- package/dist/chunk-SV3TTIPR.mjs +1 -0
- package/dist/chunk-WA7GWMFM.mjs +1 -0
- package/dist/{chunk-NFVFDBNV.mjs → chunk-XWNNVNOK.mjs} +1 -1
- package/dist/{chunk-FAGK5FEO.mjs → chunk-Y3XMLED3.mjs} +1 -1
- package/dist/{chunk-ZSC6OQH4.mjs → chunk-Z3ACMQN7.mjs} +1 -1
- package/dist/{chunk-LNOWPGBD.mjs → chunk-ZVP4BQYG.mjs} +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.js +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +9 -9
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +18 -18
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +16 -16
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +89 -89
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +29 -29
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.d.ts +0 -5
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/BlogDetail.d.ts +4 -0
- package/dist/sections/BlogDetail.js +4 -0
- package/dist/sections/BlogDetail.mjs +1 -0
- package/dist/sections/BlogDetail.stories.js +4 -0
- package/dist/sections/BlogDetail.stories.mjs +1 -0
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3U4TZZH4.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var m=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var n in r)m(o,n,{get:r[n],enumerable:!0})},b=(o,r,n,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of v(r))!P.call(o,t)&&t!==n&&m(o,t,{get:()=>r[t],enumerable:!(s=y(r,t))||s.enumerable});return o};var N=o=>b(m({},"__esModule",{value:!0}),o);var R={};I(R,{FontAwesomeIcons:()=>k,Images:()=>z,LinkOnly:()=>C,LotsOfItems:()=>D,NoIcons:()=>H,Primary:()=>M,default:()=>w});module.exports=N(R);var c=require("@heroicons/react/20/solid");var i=require("@headlessui/react");var l=require("react/jsx-runtime"),p=({type:o="solid",iconName:r="cloud",size:n="lg",className:s})=>{let t=o.includes("fa-")?o+" ":"fa-"+o+" ",g="fa-"+r,h=s!=null?s:"",x=t+g+" fa-"+n+" "+h;return(0,l.jsx)("i",{className:x})};var S=({name:o,items:r,actions:n=[],href:s})=>!r&&s?(0,l.jsx)("a",{href:s,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,l.jsxs)("span",{className:"relative",children:[o,(0,l.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,l.jsxs)(i.Popover,{children:[(0,l.jsxs)(i.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,l.jsxs)("span",{className:"relative",children:[o,(0,l.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,l.jsx)(c.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,l.jsxs)(i.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,l.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:r&&r.map(t=>(0,l.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,l.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:t.icon&&(0,l.jsx)(d,{icon:t.icon})}),(0,l.jsxs)("a",{href:t.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[t.name,(0,l.jsx)("span",{className:"absolute inset-0"})]}),(0,l.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:t.description})]},t.name))}),n.length>0&&(0,l.jsx)("div",{className:"bg-gray-50",children:(0,l.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,l.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:n.map(t=>(0,l.jsxs)("a",{href:t.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[t.icon&&(0,l.jsx)(d,{icon:t.icon,className:"h-5 w-5 flex-none text-gray-400"}),t.name]},t.name))})})})]})]}),d=({icon:o,className:r,size:n="lg"})=>{if(!o)return null;if("type"in o)return(0,l.jsx)(p,{...o,size:n});if("src"in o)return(0,l.jsx)("div",{className:r,style:{position:"relative",width:"100%",height:"100%"},children:o&&typeof o.src=="string"&&(0,l.jsx)("img",{src:o.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},f=S;var a=require("@heroicons/react/24/outline");var w={title:"Menus/HeaderMenu",component:f},M={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Engagement",description:"Interact with customers",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Security",description:"Protect your data",href:"#",icon:{src:"/assets/icons/geco_icon.svg",alt:"icon"}}],actions:[{name:"Watch demo",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Contact sales",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}},{name:"View all products",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}}]}},k={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:{type:"brands",iconName:"github"}},{name:"Products",description:"Products that we sell",href:"#",icon:{type:"kit",iconName:"development"}}]}},z={args:{name:"Product",items:[{name:"Platforms & Services",description:"Small image",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}},{name:"Solutions & Propositions",description:"Large image",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Products",description:"Products that we sell",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}}]}},H={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#"},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#"},{name:"Products",description:"Products that we sell",href:"#"}]}},C={args:{name:"Link Only",href:"#"}},D={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:a.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:a.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security2",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security3",description:"Protect your data",href:"#",icon:a.FingerPrintIcon},{name:"Security4",description:"Protect your data",href:"#",icon:a.FingerPrintIcon}],actions:[{name:"Watch demo",href:"#",icon:c.PlayCircleIcon},{name:"Contact sales",href:"#",icon:c.PhoneIcon},{name:"View all products",href:"#",icon:c.RectangleGroupIcon}]}};0&&(module.exports={FontAwesomeIcons,Images,LinkOnly,LotsOfItems,NoIcons,Primary});
|
|
4
|
+
"use strict";var U=Object.defineProperty;var be=Object.getOwnPropertyDescriptor;var he=Object.getOwnPropertyNames;var ye=Object.prototype.hasOwnProperty;var xe=(e,r)=>{for(var o in r)U(e,o,{get:r[o],enumerable:!0})},ve=(e,r,o,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of he(r))!ye.call(e,n)&&n!==o&&U(e,n,{get:()=>r[n],enumerable:!(t=be(r,n))||t.enumerable});return e};var we=e=>ve(U({},"__esModule",{value:!0}),e);var ir={};xe(ir,{FontAwesomeIcons:()=>or,Images:()=>tr,LinkOnly:()=>sr,LotsOfItems:()=>ar,NoIcons:()=>nr,Primary:()=>rr,default:()=>er});module.exports=we(ir);var G=require("@heroicons/react/20/solid");var R=require("@headlessui/react");var te=require("react/jsx-runtime"),oe=({type:e="solid",iconName:r="cloud",size:o="lg",className:t})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+r,l=t!=null?t:"",a=n+s+" fa-"+o+" "+l;return(0,te.jsx)("i",{className:a})};var ue=require("clsx");var D="-",Pe=e=>{let r=Se(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:l=>{let a=l.split(D);return a[0]===""&&a.length!==1&&a.shift(),ae(a,r)||ke(l)},getConflictingClassGroupIds:(l,a)=>{let m=o[l]||[];return a&&t[l]?[...m,...t[l]]:m}}},ae=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let o=e[0],t=r.nextPart.get(o),n=t?ae(e.slice(1),t):void 0;if(n)return n;if(r.validators.length===0)return;let s=e.join(D);return(l=r.validators.find(({validator:a})=>a(s)))==null?void 0:l.classGroupId},ne=/^\[(.+)\]$/,ke=e=>{if(ne.test(e)){let r=ne.exec(e)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},Se=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return ze(Object.entries(e.classGroups),o).forEach(([s,l])=>{q(l,t,s,r)}),t},q=(e,r,o,t)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?r:se(r,n);s.classGroupId=o;return}if(typeof n=="function"){if(Ce(n)){q(n(t),r,o,t);return}r.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,l])=>{q(l,se(r,s),o,t)})})},se=(e,r)=>{let o=e;return r.split(D).forEach(t=>{o.nextPart.has(t)||o.nextPart.set(t,{nextPart:new Map,validators:[]}),o=o.nextPart.get(t)}),o},Ce=e=>e.isThemeGetter,ze=(e,r)=>r?e.map(([o,t])=>{let n=t.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,a])=>[r+l,a])):s);return[o,n]}):e,Ie=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map,n=(s,l)=>{o.set(s,l),r++,r>e&&(r=0,t=o,o=new Map)};return{get(s){let l=o.get(s);if(l!==void 0)return l;if((l=t.get(s))!==void 0)return n(s,l),l},set(s,l){o.has(s)?o.set(s,l):n(s,l)}}},ie="!",Ne=e=>{let{separator:r,experimentalParseClassName:o}=e,t=r.length===1,n=r[0],s=r.length,l=a=>{let m=[],f=0,h=0,x;for(let u=0;u<a.length;u++){let b=a[u];if(f===0){if(b===n&&(t||a.slice(u,u+s)===r)){m.push(a.slice(h,u)),h=u+s;continue}if(b==="/"){x=u;continue}}b==="["?f++:b==="]"&&f--}let v=m.length===0?a:a.substring(h),k=v.startsWith(ie),w=k?v.substring(1):v,g=x&&x>h?x-h:void 0;return{modifiers:m,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return o?a=>o({className:a,parseClassName:l}):l},Me=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(t=>{t[0]==="["?(r.push(...o.sort(),t),o=[]):o.push(t)}),r.push(...o.sort()),r},Ae=e=>({cache:Ie(e.cacheSize),parseClassName:Ne(e),...Pe(e)}),Re=/\s+/,Ge=(e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,s=[],l=e.trim().split(Re),a="";for(let m=l.length-1;m>=0;m-=1){let f=l[m],{modifiers:h,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:k}=o(f),w=!!k,g=t(w?v.substring(0,k):v);if(!g){if(!w){a=f+(a.length>0?" "+a:a);continue}if(g=t(v),!g){a=f+(a.length>0?" "+a:a);continue}w=!1}let u=Me(h).join(":"),b=x?u+ie:u,y=b+g;if(s.includes(y))continue;s.push(y);let T=n(g,w);for(let N=0;N<T.length;++N){let W=T[N];s.push(b+W)}a=f+(a.length>0?" "+a:a)}return a};function Te(){let e=0,r,o,t="";for(;e<arguments.length;)(r=arguments[e++])&&(o=le(r))&&(t&&(t+=" "),t+=o);return t}var le=e=>{if(typeof e=="string")return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=le(e[t]))&&(o&&(o+=" "),o+=r);return o};function je(e,...r){let o,t,n,s=l;function l(m){let f=r.reduce((h,x)=>x(h),e());return o=Ae(f),t=o.cache.get,n=o.cache.set,s=a,a(m)}function a(m){let f=t(m);if(f)return f;let h=Ge(m,o);return n(m,h),h}return function(){return s(Te.apply(null,arguments))}}var d=e=>{let r=o=>o[e]||[];return r.isThemeGetter=!0,r},ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,Le=/^\d+\/\d+$/,Ee=new Set(["px","full","screen"]),We=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,He=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ve=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>M(e)||Ee.has(e)||Le.test(e),z=e=>A(e,"length",Ke),M=e=>!!e&&!Number.isNaN(Number(e)),$=e=>A(e,"number",M),L=e=>!!e&&Number.isInteger(Number(e)),Oe=e=>e.endsWith("%")&&M(e.slice(0,-1)),i=e=>ce.test(e),I=e=>We.test(e),Be=new Set(["length","size","percentage"]),Ue=e=>A(e,Be,de),$e=e=>A(e,"position",de),qe=new Set(["image","url"]),De=e=>A(e,qe,Ze),Je=e=>A(e,"",Xe),E=()=>!0,A=(e,r,o)=>{let t=ce.exec(e);return t?t[1]?typeof r=="string"?t[1]===r:r.has(t[1]):o(t[2]):!1},Ke=e=>He.test(e)&&!Ve.test(e),de=()=>!1,Xe=e=>_e.test(e),Ze=e=>Fe.test(e);var Qe=()=>{let e=d("colors"),r=d("spacing"),o=d("blur"),t=d("brightness"),n=d("borderColor"),s=d("borderRadius"),l=d("borderSpacing"),a=d("borderWidth"),m=d("contrast"),f=d("grayscale"),h=d("hueRotate"),x=d("invert"),v=d("gap"),k=d("gradientColorStops"),w=d("gradientColorStopPositions"),g=d("inset"),u=d("margin"),b=d("opacity"),y=d("padding"),T=d("saturate"),N=d("scale"),W=d("sepia"),K=d("skew"),X=d("space"),Z=d("translate"),_=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",i,r],p=()=>[i,r],Q=()=>["",C,z],H=()=>["auto",M,i],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],re=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[M,i];return{cacheSize:500,separator:":",theme:{colors:[E],spacing:[C,z],blur:["none","",I,i],brightness:S(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:p(),borderWidth:Q(),contrast:S(),grayscale:j(),hueRotate:S(),invert:j(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Oe,z],inset:O(),margin:O(),opacity:S(),padding:p(),saturate:S(),scale:S(),sepia:j(),skew:S(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":re()}],"break-before":[{"break-before":re()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,i]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[E]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[E]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[u]}],mx:[{mx:[u]}],my:[{my:[u]}],ms:[{ms:[u]}],me:[{me:[u]}],mt:[{mt:[u]}],mr:[{mr:[u]}],mb:[{mb:[u]}],ml:[{ml:[u]}],"space-x":[{"space-x":[X]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[X]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[E]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",M,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),$e]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ue]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},De]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:V()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[C,i]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,Je]}],"shadow-color":[{shadow:[E]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[x]}],saturate:[{saturate:[T]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var pe=je(Qe);function J(...e){return pe((0,ue.clsx)(e))}var Ye=({name:e,items:r,actions:o=[],href:t})=>!r&&t?(0,te.jsx)("a",{href:t,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,te.jsxs)("span",{className:"relative",children:[e,(0,te.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,te.jsxs)(R.Popover,{children:[(0,te.jsxs)(R.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,te.jsxs)("span",{className:"relative",children:[e,(0,te.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,te.jsx)(G.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,te.jsxs)(R.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,te.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:r&&r.map(n=>(0,te.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,te.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,te.jsx)(me,{icon:n.icon,size:"4x"})}),(0,te.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,te.jsx)("span",{className:"absolute inset-0"})]}),(0,te.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),o.length>0&&(0,te.jsx)("div",{className:"bg-gray-50",children:(0,te.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,te.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:o.map(n=>(0,te.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,te.jsx)(me,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),me=({icon:e,className:r,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,te.jsx)(oe,{...e,size:o});if("src"in e)return(0,te.jsx)("div",{className:J(r,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,te.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},fe=Ye;var P=require("@heroicons/react/24/outline");var er={title:"Menus/HeaderMenu",component:fe},rr={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Engagement",description:"Interact with customers",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Security",description:"Protect your data",href:"#",icon:{src:"/assets/icons/geco_icon.svg",alt:"icon"}}],actions:[{name:"Watch demo",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Contact sales",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}},{name:"View all products",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}}]}},or={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:{type:"brands",iconName:"github"}},{name:"Products",description:"Products that we sell",href:"#",icon:{type:"kit",iconName:"development"}}]}},tr={args:{name:"Product",items:[{name:"Platforms & Services",description:"Small image",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}},{name:"Solutions & Propositions",description:"Large image",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Products",description:"Products that we sell",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}}]}},nr={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#"},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#"},{name:"Products",description:"Products that we sell",href:"#"}]}},sr={args:{name:"Link Only",href:"#"}},ar={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:P.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:P.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:P.FingerPrintIcon},{name:"Security",description:"Protect your data",href:"#",icon:P.FingerPrintIcon},{name:"Security2",description:"Protect your data",href:"#",icon:P.FingerPrintIcon},{name:"Security3",description:"Protect your data",href:"#",icon:P.FingerPrintIcon},{name:"Security4",description:"Protect your data",href:"#",icon:P.FingerPrintIcon}],actions:[{name:"Watch demo",href:"#",icon:G.PlayCircleIcon},{name:"Contact sales",href:"#",icon:G.PhoneIcon},{name:"View all products",href:"#",icon:G.RectangleGroupIcon}]}};0&&(module.exports={FontAwesomeIcons,Images,LinkOnly,LotsOfItems,NoIcons,Primary});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-SV3TTIPR.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{PhoneIcon as t,PlayCircleIcon as n,RectangleGroupIcon as r}from"@heroicons/react/20/solid";import{ChartPieIcon as i,CursorArrowRaysIcon as c,FingerPrintIcon as e}from"@heroicons/react/24/outline";import{jsx as g}from"react/jsx-runtime";var d={title:"Menus/HeaderMenu",component:o},p={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Engagement",description:"Interact with customers",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Security",description:"Protect your data",href:"#",icon:{src:"/assets/icons/geco_icon.svg",alt:"icon"}}],actions:[{name:"Watch demo",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Contact sales",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}},{name:"View all products",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}}]}},u={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:{type:"thin",iconName:"cloud"}},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:{type:"brands",iconName:"github"}},{name:"Products",description:"Products that we sell",href:"#",icon:{type:"kit",iconName:"development"}}]}},l={args:{name:"Product",items:[{name:"Platforms & Services",description:"Small image",href:"#",icon:{src:"/avatar.jpg",alt:"icon"}},{name:"Solutions & Propositions",description:"Large image",href:"#",icon:{src:"/stock1.jpg",alt:"icon"}},{name:"Products",description:"Products that we sell",href:"#",icon:{src:"/assets/icons/software.svg",alt:"icon"}}]}},h={args:{name:"Product",items:[{name:"Platforms & Services",description:"Cloud services",href:"#"},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#"},{name:"Products",description:"Products that we sell",href:"#"}]}},y={args:{name:"Link Only",href:"#"}},f={args:{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:i},{name:"Engagement",description:"Interact with customers",href:"#",icon:c},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security",description:"Protect your data",href:"#",icon:e},{name:"Security2",description:"Protect your data",href:"#",icon:e},{name:"Security3",description:"Protect your data",href:"#",icon:e},{name:"Security4",description:"Protect your data",href:"#",icon:e}],actions:[{name:"Watch demo",href:"#",icon:n},{name:"Contact sales",href:"#",icon:t},{name:"View all products",href:"#",icon:r}]}};export{u as FontAwesomeIcons,l as Images,y as LinkOnly,f as LotsOfItems,h as NoIcons,p as Primary,d as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var v=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var $=Object.prototype.hasOwnProperty;var B=(a,t)=>{for(var r in t)v(a,r,{get:t[r],enumerable:!0})},S=(a,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of z(t))!$.call(a,s)&&s!==r&&v(a,s,{get:()=>t[s],enumerable:!(i=C(t,s))||i.enumerable});return a};var j=a=>S(v({},"__esModule",{value:!0}),a);var O={};B(O,{SimpleHeader:()=>L});module.exports=j(O);var c=require("react"),l=require("@headlessui/react"),f=require("@heroicons/react/24/outline"),d=require("@heroicons/react/20/solid");var I=require("react/jsx-runtime"),w=({type:a="solid",iconName:t="cloud",size:r="lg",className:i})=>{let s=a.includes("fa-")?a+" ":"fa-"+a+" ",y="fa-"+t,b=i!=null?i:"",p=s+y+" fa-"+r+" "+b;return(0,I.jsx)("i",{className:p})};var E=({name:a,items:t,actions:r=[],href:i})=>!t&&i?(0,I.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,I.jsxs)("span",{className:"relative",children:[a,(0,I.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,I.jsxs)(l.Popover,{children:[(0,I.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,I.jsxs)("span",{className:"relative",children:[a,(0,I.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,I.jsx)(d.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,I.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,I.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(s=>(0,I.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,I.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:s.icon&&(0,I.jsx)(D,{icon:s.icon})}),(0,I.jsxs)("a",{href:s.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[s.name,(0,I.jsx)("span",{className:"absolute inset-0"})]}),(0,I.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),r.length>0&&(0,I.jsx)("div",{className:"bg-gray-50",children:(0,I.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,I.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(s=>(0,I.jsxs)("a",{href:s.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,I.jsx)(D,{icon:s.icon,className:"h-5 w-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),D=({icon:a,className:t,size:r="lg"})=>{if(!a)return null;if("type"in a)return(0,I.jsx)(w,{...a,size:r});if("src"in a)return(0,I.jsx)("div",{className:t,style:{position:"relative",width:"100%",height:"100%"},children:a&&typeof a.src=="string"&&(0,I.jsx)("img",{src:a.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},M=E;var x=["light","dark","green"];function L({title:a,logo:t,menuItems:r}){let[i,s]=(0,c.useState)(!1),[y,b]=(0,c.useState)(!1),[p,N]=(0,c.useState)("light"),u=t==null?void 0:t.split(".")[0],g=t==null?void 0:t.split(".")[1],[H,h]=(0,c.useState)(`${u}.${g}`),P=n=>{x.includes(n)?h(n==="light"?`${u}.${g}`:`${u}-${n}.${g}`):h(`${u}.${g}`)};(0,c.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),N(n),document.documentElement.setAttribute("class",n),P(n)},[]);let T=()=>{let n=x[(x.indexOf(p)+1)%x.length];N(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),P(n)};return(0,I.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,I.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,I.jsx)("div",{className:"flex lg:flex-1",children:(0,I.jsxs)("a",{href:"#",className:"-l-1.5 p-1.5 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:a}),(0,I.jsx)("img",{alt:a,src:H,className:"h-9 w-auto"})]})}),(0,I.jsx)("div",{className:"flex lg:hidden",children:(0,I.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"-l-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,I.jsx)(f.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,I.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(n=>(0,I.jsx)(M,{...n},n.name))}),(0,I.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,I.jsx)("button",{onClick:T,className:"p-2 text-gray-700 outline-none",children:p==="dark"?(0,I.jsx)(d.SunIcon,{className:"h-6 w-6"}):p==="green"?(0,I.jsx)(d.MoonIcon,{className:"h-6 w-6"}):(0,I.jsx)(d.SunIcon,{className:"h-6 w-6"})})})]}),(0,I.jsxs)(l.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,I.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,I.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,I.jsxs)("div",{className:"flex items-center justify-between",children:[(0,I.jsxs)("a",{href:"#",className:"-l-1.5 p-1.5 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,I.jsx)("img",{alt:a,src:t,className:"h-8 w-auto"})]}),(0,I.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-l-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,I.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,I.jsx)(f.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,I.jsx)("div",{className:"mt-6 flow-root",children:(0,I.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,I.jsx)("div",{className:"space-y-2 py-6",children:r.map(n=>(0,I.jsx)(R,{...n},n.name))})})})]})]})]})}function R({name:a,items:t,actions:r,href:i}){return!t&&i?(0,I.jsx)("a",{href:i,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}):(0,I.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,I.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}),(0,I.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(s=>(0,I.jsx)(l.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:s.name},s.name))})]})}0&&(module.exports={SimpleHeader});
|
|
4
|
+
"use strict";"use client";var X=Object.defineProperty;var ve=Object.getOwnPropertyDescriptor;var we=Object.getOwnPropertyNames;var ke=Object.prototype.hasOwnProperty;var Ne=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Pe=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of we(r))!ke.call(e,n)&&n!==t&&X(e,n,{get:()=>r[n],enumerable:!(o=ve(r,n))||o.enumerable});return e};var Ce=e=>Pe(X({},"__esModule",{value:!0}),e);var ar={};Ne(ar,{SimpleHeader:()=>nr});module.exports=Ce(ar);var A=require("react"),w=require("@headlessui/react"),V=require("@heroicons/react/24/outline"),D=require("@heroicons/react/20/solid");var le=require("react/jsx-runtime"),ae=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+r,l=o!=null?o:"",s=n+a+" fa-"+t+" "+l;return(0,le.jsx)("i",{className:s})};var be=require("clsx");var Y="-",ze=e=>{let r=Ie(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let s=l.split(Y);return s[0]===""&&s.length!==1&&s.shift(),de(s,r)||Me(l)},getConflictingClassGroupIds:(l,s)=>{let g=t[l]||[];return s&&o[l]?[...g,...o[l]]:g}}},de=(e,r)=>{var l;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?de(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let a=e.join(Y);return(l=r.validators.find(({validator:s})=>s(a)))==null?void 0:l.classGroupId},ie=/^\[(.+)\]$/,Me=e=>{if(ie.test(e)){let r=ie.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ie=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([a,l])=>{K(l,o,a,r)}),o},K=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?r:ce(r,n);a.classGroupId=t;return}if(typeof n=="function"){if(Se(n)){K(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([a,l])=>{K(l,ce(r,a),t,o)})})},ce=(e,r)=>{let t=e;return r.split(Y).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Se=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let n=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,s])=>[r+l,s])):a);return[t,n]}):e,Ge=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(a,l)=>{t.set(a,l),r++,r>e&&(r=0,o=t,t=new Map)};return{get(a){let l=t.get(a);if(l!==void 0)return l;if((l=o.get(a))!==void 0)return n(a,l),l},set(a,l){t.has(a)?t.set(a,l):n(a,l)}}},pe="!",Re=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],a=r.length,l=s=>{let g=[],f=0,h=0,v;for(let b=0;b<s.length;b++){let x=s[b];if(f===0){if(x===n&&(o||s.slice(b,b+a)===r)){g.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){v=b;continue}}x==="["?f++:x==="]"&&f--}let y=g.length===0?s:s.substring(h),k=y.startsWith(pe),N=k?y.substring(1):y,d=v&&v>h?v-h:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:d}};return t?s=>t({className:s,parseClassName:l}):l},Te=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Ee=e=>({cache:Ge(e.cacheSize),parseClassName:Re(e),...ze(e)}),je=/\s+/,Le=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(je),s="";for(let g=l.length-1;g>=0;g-=1){let f=l[g],{modifiers:h,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=t(f),N=!!k,d=o(N?y.substring(0,k):y);if(!d){if(!N){s=f+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=f+(s.length>0?" "+s:s);continue}N=!1}let b=Te(h).join(":"),x=v?b+pe:b,P=x+d;if(a.includes(P))continue;a.push(P);let E=n(d,N);for(let S=0;S<E.length;++S){let H=E[S];a.push(x+H)}s=f+(s.length>0?" "+s:s)}return s};function $e(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ue(r))&&(o&&(o+=" "),o+=t);return o}var ue=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ue(e[o]))&&(t&&(t+=" "),t+=r);return t};function De(e,...r){let t,o,n,a=l;function l(g){let f=r.reduce((h,v)=>v(h),e());return t=Ee(f),o=t.cache.get,n=t.cache.set,a=s,s(g)}function s(g){let f=o(g);if(f)return f;let h=Le(g,t);return n(g,h),h}return function(){return a($e.apply(null,arguments))}}var u=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},me=/^\[(?:([a-z-]+):)?(.+)\]$/i,He=/^\d+\/\d+$/,Be=new Set(["px","full","screen"]),We=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_e=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ve=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>G(e)||Be.has(e)||He.test(e),M=e=>R(e,"length",Qe),G=e=>!!e&&!Number.isNaN(Number(e)),J=e=>R(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>me.test(e),I=e=>We.test(e),qe=new Set(["length","size","percentage"]),Xe=e=>R(e,qe,ge),Je=e=>R(e,"position",ge),Ke=new Set(["image","url"]),Ye=e=>R(e,Ke,rr),Ze=e=>R(e,"",er),$=()=>!0,R=(e,r,t)=>{let o=me.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>_e.test(e)&&!Ve.test(e),ge=()=>!1,er=e=>Oe.test(e),rr=e=>Fe.test(e);var tr=()=>{let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),n=u("borderColor"),a=u("borderRadius"),l=u("borderSpacing"),s=u("borderWidth"),g=u("contrast"),f=u("grayscale"),h=u("hueRotate"),v=u("invert"),y=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),d=u("inset"),b=u("margin"),x=u("opacity"),P=u("padding"),E=u("saturate"),S=u("scale"),H=u("sepia"),Q=u("skew"),ee=u("space"),re=u("translate"),O=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",i,r],m=()=>[i,r],te=()=>["",z,M],B=()=>["auto",G,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",i],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[z,M],blur:["none","",I,i],brightness:C(),borderColor:[e],borderRadius:["none","","full",I,i],borderSpacing:m(),borderWidth:te(),contrast:C(),grayscale:j(),hueRotate:C(),invert:j(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[Ue,M],inset:U(),margin:U(),opacity:C(),padding:m(),saturate:C(),scale:C(),sepia:j(),skew:C(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,i]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",L,i]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",L,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[L,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],le:[{le:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J]}],"font-family":[{font:[$]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",G,J]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,M]}],"underline-offset":[{"underline-offset":["auto",z,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Je]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ye]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:W()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[z,i]}],"outline-w":[{outline:[z,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[z,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,Ze]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",I,i]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[E]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[L,i]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-le":[{"scroll-le":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,M,J]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],le:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-le":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var fe=De(tr);function Z(...e){return fe((0,be.clsx)(e))}var or=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,le.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,le.jsxs)(w.Popover,{children:[(0,le.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,le.jsxs)("span",{className:"relative",children:[e,(0,le.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,le.jsx)(D.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,le.jsxs)(w.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,le.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:r&&r.map(n=>(0,le.jsxs)("div",{className:"group relative rounded-lg le-6 text-sm/6 box-border",children:[(0,le.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,le.jsx)(he,{icon:n.icon,size:"4x"})}),(0,le.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,le.jsx)("span",{className:"absolute inset-0"})]}),(0,le.jsx)("le",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,le.jsx)("div",{className:"bg-gray-50",children:(0,le.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,le.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,le.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 le-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,le.jsx)(he,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),he=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,le.jsx)(ae,{...e,size:t});if("src"in e)return(0,le.jsx)("div",{className:Z(r,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,le.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},ye=or;var _=["light","dark","green"];function nr({title:e,logo:r,menuItems:t}){let[o,n]=(0,A.useState)(!1),[a,l]=(0,A.useState)(!1),[s,g]=(0,A.useState)("light"),f=r==null?void 0:r.split(".")[0],h=r==null?void 0:r.split(".")[1],[v,y]=(0,A.useState)(`${f}.${h}`),k=d=>{_.includes(d)?y(d==="light"?`${f}.${h}`:`${f}-${d}.${h}`):y(`${f}.${h}`)};(0,A.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),g(d),document.documentElement.setAttribute("class",d),k(d)},[]);let N=()=>{let d=_[(_.indexOf(s)+1)%_.length];g(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),k(d)};return(0,le.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,le.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between le-3 lg:px-8",children:[(0,le.jsx)("div",{className:"flex lg:flex-1",children:(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:e}),(0,le.jsx)("img",{alt:e,src:v,className:"h-9 w-auto"})]})}),(0,le.jsx)("div",{className:"flex lg:hidden",children:(0,le.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,le.jsx)(V.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,le.jsx)(w.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:t.map(d=>(0,le.jsx)(ye,{...d},d.name))}),(0,le.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,le.jsx)("button",{onClick:N,className:"le-2 text-gray-700 outline-none",children:s==="dark"?(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,le.jsx)(D.MoonIcon,{className:"h-6 w-6"}):(0,le.jsx)(D.SunIcon,{className:"h-6 w-6"})})})]}),(0,le.jsxs)(w.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,le.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,le.jsxs)(w.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,le.jsxs)("div",{className:"flex items-center justify-between",children:[(0,le.jsxs)("a",{href:"#",className:"-m-1.5 le-1.5 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,le.jsx)("img",{alt:e,src:r,className:"h-8 w-auto"})]}),(0,le.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md le-2.5 text-gray-700 outline-none",children:[(0,le.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,le.jsx)(V.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,le.jsx)("div",{className:"mt-6 flow-root",children:(0,le.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,le.jsx)("div",{className:"space-y-2 py-6",children:t.map(d=>(0,le.jsx)(sr,{...d},d.name))})})})]})]})]})}function sr({name:e,items:r,actions:t,href:o}){return!r&&o?(0,le.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,le.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,le.jsx)(w.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,le.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(n=>(0,le.jsx)(w.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}0&&(module.exports={SimpleHeader});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-O5XLZ254.mjs";import"../../chunk-SV3TTIPR.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as SimpleHeader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var N=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var E=(a,t)=>{for(var s in t)N(a,s,{get:t[s],enumerable:!0})},G=(a,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B(t))!j.call(a,o)&&o!==s&&N(a,o,{get:()=>t[o],enumerable:!(i=$(t,o))||i.enumerable});return a};var O=a=>G(N({},"__esModule",{value:!0}),a);var U={};E(U,{Primary:()=>Y,default:()=>F});module.exports=O(U);var m=require("react"),l=require("@headlessui/react"),v=require("@heroicons/react/24/outline"),g=require("@heroicons/react/20/solid");var M=require("react/jsx-runtime"),y=({type:a="solid",iconName:t="cloud",size:s="lg",className:i})=>{let o=a.includes("fa-")?a+" ":"fa-"+a+" ",P="fa-"+t,I=i!=null?i:"",u=o+P+" fa-"+s+" "+I;return(0,M.jsx)("i",{className:u})};var A=({name:a,items:t,actions:s=[],href:i})=>!t&&i?(0,M.jsx)("a",{href:i,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,M.jsxs)("span",{className:"relative",children:[a,(0,M.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,M.jsxs)(l.Popover,{children:[(0,M.jsxs)(l.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,M.jsxs)("span",{className:"relative",children:[a,(0,M.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,M.jsx)(g.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,M.jsxs)(l.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,M.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,M.jsxs)("div",{className:"group relative rounded-lg l-6 text-sm/6 box-border",children:[(0,M.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:o.icon&&(0,M.jsx)(k,{icon:o.icon})}),(0,M.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,M.jsx)("span",{className:"absolute inset-0"})]}),(0,M.jsx)("l",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),s.length>0&&(0,M.jsx)("div",{className:"bg-gray-50",children:(0,M.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,M.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:s.map(o=>(0,M.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 l-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[o.icon&&(0,M.jsx)(k,{icon:o.icon,className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),k=({icon:a,className:t,size:s="lg"})=>{if(!a)return null;if("type"in a)return(0,M.jsx)(y,{...a,size:s});if("src"in a)return(0,M.jsx)("div",{className:t,style:{position:"relative",width:"100%",height:"100%"},children:a&&typeof a.src=="string"&&(0,M.jsx)("img",{src:a.src,style:{objectFit:"cover",width:"100%",height:"100%"}})})},C=A;var h=["light","dark","green"];function S({title:a,logo:t,menuItems:s}){let[i,o]=(0,m.useState)(!1),[P,I]=(0,m.useState)(!1),[u,w]=(0,m.useState)("light"),f=t==null?void 0:t.split(".")[0],x=t==null?void 0:t.split(".")[1],[R,b]=(0,m.useState)(`${f}.${x}`),D=n=>{h.includes(n)?b(n==="light"?`${f}.${x}`:`${f}-${n}.${x}`):b(`${f}.${x}`)};(0,m.useEffect)(()=>{let n=localStorage.getItem("theme")||"light";console.log("storedTheme",n),w(n),document.documentElement.setAttribute("class",n),D(n)},[]);let z=()=>{let n=h[(h.indexOf(u)+1)%h.length];w(n),document.documentElement.setAttribute("class",n),localStorage.setItem("theme",n),D(n)};return(0,M.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,M.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between l-3 lg:px-8",children:[(0,M.jsx)("div",{className:"flex lg:flex-1",children:(0,M.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:a}),(0,M.jsx)("img",{alt:a,src:R,className:"h-9 w-auto"})]})}),(0,M.jsx)("div",{className:"flex lg:hidden",children:(0,M.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md l-2.5 text-gray-700 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,M.jsx)(v.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,M.jsx)(l.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:s.map(n=>(0,M.jsx)(C,{...n},n.name))}),(0,M.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,M.jsx)("button",{onClick:z,className:"l-2 text-gray-700 outline-none",children:u==="dark"?(0,M.jsx)(g.SunIcon,{className:"h-6 w-6"}):u==="green"?(0,M.jsx)(g.MoonIcon,{className:"h-6 w-6"}):(0,M.jsx)(g.SunIcon,{className:"h-6 w-6"})})})]}),(0,M.jsxs)(l.Dialog,{open:i,onClose:o,className:"lg:hidden",children:[(0,M.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,M.jsxs)(l.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,M.jsxs)("div",{className:"flex items-center justify-between",children:[(0,M.jsxs)("a",{href:"#",className:"-m-1.5 l-1.5 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,M.jsx)("img",{alt:a,src:t,className:"h-8 w-auto"})]}),(0,M.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md l-2.5 text-gray-700 outline-none",children:[(0,M.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,M.jsx)(v.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,M.jsx)("div",{className:"mt-6 flow-root",children:(0,M.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,M.jsx)("div",{className:"space-y-2 py-6",children:s.map(n=>(0,M.jsx)(L,{...n},n.name))})})})]})]})]})}function L({name:a,items:t,actions:s,href:i}){return!t&&i?(0,M.jsx)("a",{href:i,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}):(0,M.jsxs)(l.Disclosure,{as:"div",className:"-mx-3",children:[(0,M.jsx)(l.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:a}),(0,M.jsx)(l.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,M.jsx)(l.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var F={title:"Header/SimpleHeader",component:S},W=a=>(0,M.jsx)(y,{iconName:"github",type:"brands",...a}),Y={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:v.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:v.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:v.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:v.ChartPieIcon},{name:"API Reference",href:"#",icon:v.CursorArrowRaysIcon},{name:"Github",href:"#",icon:W}],actions:[{name:"Watch demo",href:"#",icon:g.PlayCircleIcon},{name:"Contact sales",href:"#",icon:g.PhoneIcon},{name:"View all products",href:"#",icon:g.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
|
|
4
|
+
"use strict";var K=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Ie=Object.prototype.hasOwnProperty;var ze=(e,r)=>{for(var t in r)K(e,t,{get:r[t],enumerable:!0})},Me=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ce(r))!Ie.call(e,n)&&n!==t&&K(e,n,{get:()=>r[n],enumerable:!(o=Pe(r,n))||o.enumerable});return e};var Se=e=>Me(K({},"__esModule",{value:!0}),e);var ur={};ze(ur,{Primary:()=>pr,default:()=>cr});module.exports=Se(ur);var R=require("react"),w=require("@headlessui/react"),U=require("@heroicons/react/24/outline"),B=require("@heroicons/react/20/solid");var ce=require("react/jsx-runtime"),O=({type:e="solid",iconName:r="cloud",size:t="lg",className:o})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+r,i=o!=null?o:"",s=n+a+" fa-"+t+" "+i;return(0,ce.jsx)("i",{className:s})};var xe=require("clsx");var ee="-",Ae=e=>{let r=Ge(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(ee);return s[0]===""&&s.length!==1&&s.shift(),ue(s,r)||Re(i)},getConflictingClassGroupIds:(i,s)=>{let g=t[i]||[];return s&&o[i]?[...g,...o[i]]:g}}},ue=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),n=o?ue(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;let a=e.join(ee);return(i=r.validators.find(({validator:s})=>s(a)))==null?void 0:i.classGroupId},de=/^\[(.+)\]$/,Re=e=>{if(de.test(e)){let r=de.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ge=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ee(Object.entries(e.classGroups),t).forEach(([a,i])=>{Q(i,o,a,r)}),o},Q=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?r:pe(r,n);a.classGroupId=t;return}if(typeof n=="function"){if(Te(n)){Q(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([a,i])=>{Q(i,pe(r,a),t,o)})})},pe=(e,r)=>{let t=e;return r.split(ee).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Te=e=>e.isThemeGetter,Ee=(e,r)=>r?e.map(([t,o])=>{let n=o.map(a=>typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[r+i,s])):a);return[t,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,n=(a,i)=>{t.set(a,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(a){let i=t.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){t.has(a)?t.set(a,i):n(a,i)}}},me="!",je=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,n=r[0],a=r.length,i=s=>{let g=[],f=0,h=0,v;for(let b=0;b<s.length;b++){let x=s[b];if(f===0){if(x===n&&(o||s.slice(b,b+a)===r)){g.push(s.slice(h,b)),h=b+a;continue}if(x==="/"){v=b;continue}}x==="["?f++:x==="]"&&f--}let y=g.length===0?s:s.substring(h),k=y.startsWith(me),N=k?y.substring(1):y,d=v&&v>h?v-h:void 0;return{modifiers:g,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:d}};return t?s=>t({className:s,parseClassName:i}):i},De=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},Le=e=>({cache:He(e.cacheSize),parseClassName:je(e),...Ae(e)}),$e=/\s+/,Be=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],i=e.trim().split($e),s="";for(let g=i.length-1;g>=0;g-=1){let f=i[g],{modifiers:h,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}=t(f),N=!!k,d=o(N?y.substring(0,k):y);if(!d){if(!N){s=f+(s.length>0?" "+s:s);continue}if(d=o(y),!d){s=f+(s.length>0?" "+s:s);continue}N=!1}let b=De(h).join(":"),x=v?b+me:b,P=x+d;if(a.includes(P))continue;a.push(P);let j=n(d,N);for(let A=0;A<j.length;++A){let W=j[A];a.push(x+W)}s=f+(s.length>0?" "+s:s)}return s};function We(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ge(r))&&(o&&(o+=" "),o+=t);return o}var ge=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ge(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ve(e,...r){let t,o,n,a=i;function i(g){let f=r.reduce((h,v)=>v(h),e());return t=Le(f),o=t.cache.get,n=t.cache.set,a=s,s(g)}function s(g){let f=o(g);if(f)return f;let h=Be(g,t);return n(g,h),h}return function(){return a(We.apply(null,arguments))}}var u=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,_e=/^\d+\/\d+$/,Oe=new Set(["px","full","screen"]),Fe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ue=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ye=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>G(e)||Oe.has(e)||_e.test(e),z=e=>T(e,"length",or),G=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>T(e,"number",G),L=e=>!!e&&Number.isInteger(Number(e)),Je=e=>e.endsWith("%")&&G(e.slice(0,-1)),l=e=>fe.test(e),M=e=>Fe.test(e),Ke=new Set(["length","size","percentage"]),Ze=e=>T(e,Ke,be),Qe=e=>T(e,"position",be),er=new Set(["image","url"]),rr=e=>T(e,er,sr),tr=e=>T(e,"",nr),$=()=>!0,T=(e,r,t)=>{let o=fe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},or=e=>Ue.test(e)&&!qe.test(e),be=()=>!1,nr=e=>Xe.test(e),sr=e=>Ye.test(e);var ar=()=>{let e=u("colors"),r=u("spacing"),t=u("blur"),o=u("brightness"),n=u("borderColor"),a=u("borderRadius"),i=u("borderSpacing"),s=u("borderWidth"),g=u("contrast"),f=u("grayscale"),h=u("hueRotate"),v=u("invert"),y=u("gap"),k=u("gradientColorStops"),N=u("gradientColorStopPositions"),d=u("inset"),b=u("margin"),x=u("opacity"),P=u("padding"),j=u("saturate"),A=u("scale"),W=u("sepia"),te=u("skew"),oe=u("space"),ne=u("translate"),q=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",l,r],m=()=>[l,r],se=()=>["",I,z],V=()=>["auto",G,l],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",l],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>[G,l];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[I,z],blur:["none","",M,l],brightness:C(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:m(),borderWidth:se(),contrast:C(),grayscale:D(),hueRotate:C(),invert:D(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[Je,z],inset:Y(),margin:Y(),opacity:C(),padding:m(),saturate:C(),scale:C(),sepia:D(),skew:C(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ae(),l]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[d]}],"inset-x":[{"inset-x":[d]}],"inset-y":[{"inset-y":[d]}],start:[{start:[d]}],end:[{end:[d]}],top:[{top:[d]}],right:[{right:[d]}],bottom:[{bottom:[d]}],left:[{left:[d]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,l]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",L,l]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",L,l]},l]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[L,l]},l]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],ce:[{ce:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[oe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[oe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Z]}],"font-family":[{font:[$]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",G,Z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,z]}],"underline-offset":[{"underline-offset":["auto",I,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),Qe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ze]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:_()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[I,l]}],"outline-w":[{outline:[I,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[I,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,tr]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[v]}],saturate:[{saturate:[j]}],sepia:[{sepia:[W]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:C()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:C()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[L,l]}],"translate-x":[{"translate-x":[ne]}],"translate-y":[{"translate-y":[ne]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-ce":[{"scroll-ce":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[I,z,Z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],ce:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-ce":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var he=Ve(ar);function re(...e){return he((0,xe.clsx)(e))}var ir=({name:e,items:r,actions:t=[],href:o})=>!r&&o?(0,ce.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,ce.jsxs)("span",{className:"relative",children:[e,(0,ce.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,ce.jsxs)(w.Popover,{children:[(0,ce.jsxs)(w.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,ce.jsxs)("span",{className:"relative",children:[e,(0,ce.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,ce.jsx)(B.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,ce.jsxs)(w.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,ce.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:r&&r.map(n=>(0,ce.jsxs)("div",{className:"group relative rounded-lg ce-6 text-sm/6 box-border",children:[(0,ce.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,ce.jsx)(ye,{icon:n.icon,size:"4x"})}),(0,ce.jsxs)("a",{href:n.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,ce.jsx)("span",{className:"absolute inset-0"})]}),(0,ce.jsx)("ce",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),t.length>0&&(0,ce.jsx)("div",{className:"bg-gray-50",children:(0,ce.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,ce.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(n=>(0,ce.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 ce-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,ce.jsx)(ye,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),ye=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,ce.jsx)(O,{...e,size:t});if("src"in e)return(0,ce.jsx)("div",{className:re(r,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,ce.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},we=ir;var F=["light","dark","green"];function ke({title:e,logo:r,menuItems:t}){let[o,n]=(0,R.useState)(!1),[a,i]=(0,R.useState)(!1),[s,g]=(0,R.useState)("light"),f=r==null?void 0:r.split(".")[0],h=r==null?void 0:r.split(".")[1],[v,y]=(0,R.useState)(`${f}.${h}`),k=d=>{F.includes(d)?y(d==="light"?`${f}.${h}`:`${f}-${d}.${h}`):y(`${f}.${h}`)};(0,R.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),g(d),document.documentElement.setAttribute("class",d),k(d)},[]);let N=()=>{let d=F[(F.indexOf(s)+1)%F.length];g(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d),k(d)};return(0,ce.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,ce.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between ce-3 lg:px-8",children:[(0,ce.jsx)("div",{className:"flex lg:flex-1",children:(0,ce.jsxs)("a",{href:"#",className:"-m-1.5 ce-1.5 outline-none",children:[(0,ce.jsx)("span",{className:"sr-only",children:e}),(0,ce.jsx)("img",{alt:e,src:v,className:"h-9 w-auto"})]})}),(0,ce.jsx)("div",{className:"flex lg:hidden",children:(0,ce.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md ce-2.5 text-gray-700 outline-none",children:[(0,ce.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,ce.jsx)(U.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,ce.jsx)(w.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:t.map(d=>(0,ce.jsx)(we,{...d},d.name))}),(0,ce.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,ce.jsx)("button",{onClick:N,className:"ce-2 text-gray-700 outline-none",children:s==="dark"?(0,ce.jsx)(B.SunIcon,{className:"h-6 w-6"}):s==="green"?(0,ce.jsx)(B.MoonIcon,{className:"h-6 w-6"}):(0,ce.jsx)(B.SunIcon,{className:"h-6 w-6"})})})]}),(0,ce.jsxs)(w.Dialog,{open:o,onClose:n,className:"lg:hidden",children:[(0,ce.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,ce.jsxs)(w.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,ce.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ce.jsxs)("a",{href:"#",className:"-m-1.5 ce-1.5 outline-none",children:[(0,ce.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,ce.jsx)("img",{alt:e,src:r,className:"h-8 w-auto"})]}),(0,ce.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md ce-2.5 text-gray-700 outline-none",children:[(0,ce.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,ce.jsx)(U.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,ce.jsx)("div",{className:"mt-6 flow-root",children:(0,ce.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,ce.jsx)("div",{className:"space-y-2 py-6",children:t.map(d=>(0,ce.jsx)(lr,{...d},d.name))})})})]})]})]})}function lr({name:e,items:r,actions:t,href:o}){return!r&&o?(0,ce.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,ce.jsxs)(w.Disclosure,{as:"div",className:"-mx-3",children:[(0,ce.jsx)(w.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,ce.jsx)(w.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(n=>(0,ce.jsx)(w.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}var cr={title:"Header/SimpleHeader",component:ke},dr=e=>(0,ce.jsx)(O,{iconName:"github",type:"brands",...e}),pr={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:U.ChartPieIcon},{name:"Engagement",description:"Interact with customers",href:"#",icon:U.CursorArrowRaysIcon},{name:"Security",description:"Protect your data",href:"#",icon:U.FingerPrintIcon}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:U.ChartPieIcon},{name:"API Reference",href:"#",icon:U.CursorArrowRaysIcon},{name:"Github",href:"#",icon:dr}],actions:[{name:"Watch demo",href:"#",icon:B.PlayCircleIcon},{name:"Contact sales",href:"#",icon:B.PhoneIcon},{name:"View all products",href:"#",icon:B.RectangleGroupIcon}]},{name:"Company",href:"#"}]}};0&&(module.exports={Primary});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-O5XLZ254.mjs";import"../../chunk-SV3TTIPR.mjs";import{a as e}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{ChartPieIcon as r,CursorArrowRaysIcon as t,FingerPrintIcon as a}from"@heroicons/react/24/outline";import{PhoneIcon as i,PlayCircleIcon as c,RectangleGroupIcon as m}from"@heroicons/react/20/solid";import{jsx as s}from"react/jsx-runtime";var l={title:"Header/SimpleHeader",component:o},p=n=>s(e,{iconName:"github",type:"brands",...n}),u={args:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Product",items:[{name:"Analytics",description:"Understand your traffic",href:"#",icon:r},{name:"Engagement",description:"Interact with customers",href:"#",icon:t},{name:"Security",description:"Protect your data",href:"#",icon:a}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:r},{name:"API Reference",href:"#",icon:t},{name:"Github",href:"#",icon:p}],actions:[{name:"Watch demo",href:"#",icon:c},{name:"Contact sales",href:"#",icon:i},{name:"View all products",href:"#",icon:m}]},{name:"Company",href:"#"}]}};export{u as Primary,l as default};
|