cortex-react-components 1.21.2 → 1.22.1
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-6ZNVXWZR.mjs +4 -0
- package/dist/chunk-7REKDTES.mjs +4 -0
- package/dist/{chunk-6B34FUZY.mjs → chunk-DT4BKA5D.mjs} +1 -1
- package/dist/{chunk-YTM6BUFM.mjs → chunk-FGJ675B5.mjs} +1 -1
- package/dist/{chunk-7LAWX74V.mjs → chunk-OCZX7ASJ.mjs} +1 -1
- package/dist/chunk-OLAQGTFS.mjs +1 -0
- package/dist/chunk-VIPFVWUR.mjs +1 -0
- package/dist/{chunk-MF2TWZX6.mjs → chunk-WW6T63S6.mjs} +1 -1
- package/dist/chunk-WZLEEZ5C.mjs +4 -0
- 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/index.mjs +1 -1
- package/dist/components/Layouts/NewsList.d.ts +19 -0
- package/dist/components/Layouts/NewsList.js +1 -0
- package/dist/components/Layouts/NewsList.mjs +1 -0
- package/dist/components/Layouts/NewsList.stories.js +1 -0
- package/dist/components/Layouts/NewsList.stories.mjs +1 -0
- package/dist/components/Menus/Categories.d.ts +7 -0
- package/dist/components/Menus/Categories.js +4 -0
- package/dist/components/Menus/Categories.mjs +2 -0
- package/dist/components/Menus/Categories.stories.js +4 -0
- package/dist/components/Menus/Categories.stories.mjs +1 -0
- package/dist/components/Menus/Filter.d.ts +4 -0
- package/dist/components/Menus/Filter.js +4 -0
- package/dist/components/Menus/Filter.mjs +2 -0
- package/dist/components/Menus/Filter.stories.js +4 -0
- package/dist/components/Menus/Filter.stories.mjs +1 -0
- package/dist/components/Menus/Pagination.d.ts +12 -0
- package/dist/components/Menus/Pagination.js +4 -0
- package/dist/components/Menus/Pagination.mjs +2 -0
- package/dist/components/Menus/Pagination.stories.js +4 -0
- package/dist/components/Menus/Pagination.stories.mjs +1 -0
- package/dist/components/Menus/index.d.ts +3 -0
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +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 +1 -1
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/Pagination/index.d.ts +1 -1
- package/dist/components/Payload/Pagination/index.js +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogListSection.d.ts +8 -2
- package/dist/sections/BlogListSection.js +4 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.js +4 -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/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2SAVFLP5.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var qe=Object.create;var re=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty;var tt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!et.call(e,a)&&a!==r&&re(e,a,{get:()=>t[a],enumerable:!(o=Ke(t,a))||o.enumerable});return e};var oe=(e,t,r)=>(r=e!=null?qe(Qe(e)):{},De(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),rt=e=>De(re({},"__esModule",{value:!0}),e);var jt={};tt(jt,{BrandLogo:()=>H,Footer:()=>Ot,HeaderDesktop:()=>ve,HeaderMobile:()=>we,SimpleHeader:()=>at,VideoHeader:()=>Bt});module.exports=rt(jt);var $=require("react"),M=require("@headlessui/react"),ne=require("@heroicons/react/24/outline"),J=require("@heroicons/react/20/solid");var v=require("react/jsx-runtime"),ot=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,v.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,v.jsxs)("span",{className:"relative",children:[e,(0,v.jsx)("span",{className:"absolute -bottom-1 left-1/2 v-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,v.jsxs)(M.Popover,{children:[(0,v.jsxs)(M.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,v.jsxs)("span",{className:"relative",children:[e,(0,v.jsx)("span",{className:"absolute bottom-0 left-1/2 v-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,v.jsx)(J.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 v-5 flex-none text-accent"})]}),(0,v.jsxs)(M.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,v.jsx)("div",{className:"mx-auto grid max-v-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>(0,v.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,v.jsx)("div",{className:"flex h-16 v-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,v.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,v.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,v.jsx)("span",{className:"absolute inset-0"})]}),(0,v.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,v.jsx)("div",{className:"bg-gray-50",children:(0,v.jsx)("div",{className:"mx-auto max-v-7xl px-6 lg:px-8",children:(0,v.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,v.jsxs)("a",{href:a.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:[(0,v.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 v-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),ae=ot;var se=["light","dark","green"];function at({title:e,logo:t,menuItems:r}){let[o,a]=(0,$.useState)(!1),[n,i]=(0,$.useState)(!1),[s,g]=(0,$.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[N,C]=(0,$.useState)(`${c}.${d}`),b=m=>{se.includes(m)?C(m==="light"?`${c}.${d}`:`${c}-${m}.${d}`):C(`${c}.${d}`)};(0,$.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";console.log("storedTheme",m),g(m),document.documentElement.setAttribute("class",m),b(m)},[]);let y=()=>{let m=se[(se.indexOf(s)+1)%se.length];g(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m),b(m)};return(0,v.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,v.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,v.jsx)("div",{className:"flex lg:flex-1",children:(0,v.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:e}),(0,v.jsx)("img",{alt:e,src:N,className:"h-9 v-auto"})]})}),(0,v.jsx)("div",{className:"flex lg:hidden",children:(0,v.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,v.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-6 v-6"})]})}),(0,v.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(m=>(0,v.jsx)(ae,{...m},m.name))}),(0,v.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,v.jsx)("button",{onClick:y,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,v.jsx)(J.SunIcon,{className:"h-6 v-6"}):s==="green"?(0,v.jsx)(J.MoonIcon,{className:"h-6 v-6"}):(0,v.jsx)(J.SunIcon,{className:"h-6 v-6"})})})]}),(0,v.jsxs)(M.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,v.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,v.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 v-full overflow-y-auto bg-white px-6 py-6 sm:max-v-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,v.jsxs)("div",{className:"flex items-center justify-between",children:[(0,v.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,v.jsx)("img",{alt:e,src:t,className:"h-8 v-auto"})]}),(0,v.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,v.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 v-6"})]})]}),(0,v.jsx)("div",{className:"mt-6 flow-root",children:(0,v.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,v.jsx)("div",{className:"space-y-2 py-6",children:r.map(m=>(0,v.jsx)(st,{...m},m.name))})})})]})]})]})}function st({name:e,items:t,actions:r,href:o}){return!t&&o?(0,v.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,v.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,v.jsx)(M.DisclosureButton,{className:"group flex v-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,v.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,v.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Y=require("lucide-react"),Xe=oe(require("next/image"));var _e=require("clsx");var he="-",nt=e=>{let t=it(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(he);return s[0]===""&&s.length!==1&&s.shift(),He(s,t)||lt(i)},getConflictingClassGroupIds:(i,s)=>{let g=r[i]||[];return s&&o[i]?[...g,...o[i]]:g}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?He(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(he);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},Ee=/^\[(.+)\]$/,lt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},it=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return dt(Object.entries(e.classGroups),r).forEach(([n,i])=>{be(i,o,n,t)}),o},be=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:Re(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(ct(a)){be(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{be(i,Re(t,n),r,o)})})},Re=(e,t)=>{let r=e;return t.split(he).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},ct=e=>e.isThemeGetter,dt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,pt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},Ge="!",mt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let g=[],c=0,d=0,N;for(let k=0;k<s.length;k++){let P=s[k];if(c===0){if(P===a&&(o||s.slice(k,k+n)===t)){g.push(s.slice(d,k)),d=k+n;continue}if(P==="/"){N=k;continue}}P==="["?c++:P==="]"&&c--}let C=g.length===0?s:s.substring(d),b=C.startsWith(Ge),y=b?C.substring(1):C,m=N&&N>d?N-d:void 0;return{modifiers:g,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},ut=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},gt=e=>({cache:pt(e.cacheSize),parseClassName:mt(e),...nt(e)}),ft=/\s+/,bt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(ft),s="";for(let g=i.length-1;g>=0;g-=1){let c=i[g],{modifiers:d,hasImportantModifier:N,baseClassName:C,maybePostfixModifierPosition:b}=r(c),y=!!b,m=o(y?C.substring(0,b):C);if(!m){if(!y){s=c+(s.length>0?" "+s:s);continue}if(m=o(C),!m){s=c+(s.length>0?" "+s:s);continue}y=!1}let k=ut(d).join(":"),P=N?k+Ge:k,z=P+m;if(n.includes(z))continue;n.push(z);let U=a(m,y);for(let B=0;B<U.length;++B){let Q=U[B];n.push(P+Q)}s=c+(s.length>0?" "+s:s)}return s};function ht(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Be(t))&&(o&&(o+=" "),o+=r);return o}var Be=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Be(e[o]))&&(r&&(r+=" "),r+=t);return r};function xt(e,...t){let r,o,a,n=i;function i(g){let c=t.reduce((d,N)=>N(d),e());return r=gt(c),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let c=o(g);if(c)return c;let d=bt(g,r);return a(g,d),d}return function(){return n(ht.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},$e=/^\[(?:([a-z-]+):)?(.+)\]$/i,vt=/^\d+\/\d+$/,yt=new Set(["px","full","screen"]),wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(v|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)M-?((\d+)?\.?(\d+)[a-z]+|0)/,St=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=e=>V(e)||yt.has(e)||vt.test(e),E=e=>F(e,"length",At),V=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>F(e,"number",V),q=e=>!!e&&Number.isInteger(Number(e)),Pt=e=>e.endsWith("%")&&V(e.slice(0,-1)),p=e=>$e.test(e),R=e=>wt.test(e),It=new Set(["length","size","percentage"]),Mt=e=>F(e,It,Oe),zt=e=>F(e,"position",Oe),Lt=new Set(["image","url"]),Tt=e=>F(e,Lt,Rt),Dt=e=>F(e,"",Et),K=()=>!0,F=(e,t,r)=>{let o=$e.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},At=e=>Nt.test(e)&&!kt.test(e),Oe=()=>!1,Et=e=>Ct.test(e),Rt=e=>St.test(e);var Ht=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),o=h("brightness"),a=h("borderColor"),n=h("borderRadius"),i=h("borderSpacing"),s=h("borderWidth"),g=h("contrast"),c=h("grayscale"),d=h("hueRotate"),N=h("invert"),C=h("gap"),b=h("gradientColorStops"),y=h("gradientColorStopPositions"),m=h("inset"),k=h("margin"),P=h("opacity"),z=h("padding"),U=h("saturate"),B=h("scale"),Q=h("sepia"),Se=h("skew"),Pe=h("space"),Ie=h("translate"),pe=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",p,t],x=()=>[p,t],Me=()=>["",A,E],ee=()=>["auto",V,p],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",p],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[V,p];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[A,E],blur:["none","",R,p],brightness:D(),borderColor:[e],borderRadius:["none","","full",R,p],borderSpacing:x(),borderWidth:Me(),contrast:D(),grayscale:X(),hueRotate:D(),invert:X(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Pt,E],inset:ue(),margin:ue(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:X(),skew:D(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...ze(),p]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",q,p]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",q,p]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",q,p]},p]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[q,p]},p]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[z]}],px:[{px:[z]}],py:[{py:[z]}],ps:[{ps:[z]}],pe:[{pe:[z]}],pt:[{pt:[z]}],pr:[{pr:[z]}],pb:[{pb:[z]}],pl:[{pl:[z]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Pe]}],"space-y-reverse":["space-y-reverse"],v:[{v:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-v":[{"min-v":[p,t,"min","max","fit"]}],"max-v":[{"max-v":[p,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[K]}],"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",p]}],"line-clamp":[{"line-clamp":["none",V,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",A,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",A,E]}],"underline-offset":[{"underline-offset":["auto",A,p]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ze(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","v","tl"]},Tt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-v":[{"rounded-v":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-v":[{border:[s]}],"border-v-x":[{"border-x":[s]}],"border-v-y":[{"border-y":[s]}],"border-v-s":[{"border-s":[s]}],"border-v-e":[{"border-e":[s]}],"border-v-t":[{"border-t":[s]}],"border-v-r":[{"border-r":[s]}],"border-v-b":[{"border-b":[s]}],"border-v-v":[{"border-v":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...te(),"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":[P]}],"divide-style":[{divide:te()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-v":[{"border-v":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[A,p]}],"outline-v":[{outline:[A,E]}],"outline-color":[{outline:[e]}],"ring-v":[{ring:Me()}],"ring-v-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-v":[{"ring-offset":[A,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,Dt]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",R,p]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[N]}],saturate:[{saturate:[U]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"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",p]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[q,p]}],"translate-x":[{"translate-x":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-x":[{"skew-x":[Se]}],"skew-y":[{"skew-y":[Se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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","v-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",p]}],fill:[{fill:[e,"none"]}],"stroke-v":[{stroke:[A,E,fe]}],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:["v","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-v","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-v":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-v":["border-v-s","border-v-e","border-v-t","border-v-r","border-v-b","border-v-v"],"border-v-x":["border-v-r","border-v-v"],"border-v-y":["border-v-t","border-v-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-v"],"border-color-x":["border-color-r","border-color-v"],"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 je=xt(Ht);function I(...e){return je((0,_e.clsx)(e))}function Ve({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=I("container",t&&"full-width",r&&"no-padding",o);return(0,v.jsx)("div",{className:a,children:e})}var We=oe(require("next/link"));function O({children:e,href:t,openNewTab:r,...o}){return(0,v.jsx)(We.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var xe=oe(require("next/image"));function H({logoLight:e,logoDark:t,mobile:r=!1}){return(0,v.jsxs)(O,{href:"/",className:I(r?"py-1":"py-2"),children:[(0,v.jsx)(xe.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,v.jsx)(xe.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function ve({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o}){let[a,n]=(0,$.useState)(!1),[i,s]=(0,$.useState)("light"),g=["light","dark"];(0,$.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),s(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=g[(g.indexOf(i)+1)%g.length];s(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,$.useEffect)(()=>{let d=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,v.jsx)(Ve,{className:"px-0",children:(0,v.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,v.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,v.jsx)(H,{logoDark:r,logoLight:t}),(0,v.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(d=>(0,v.jsx)(ae,{...d},d.name))}),(0,v.jsx)("div",{className:"flex items-center space-x-4",children:(0,v.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)(Y.Sun,{className:"absolute h-6 v-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,v.jsx)(Y.Moon,{className:"absoulte h-6 v-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ye=["light","dark"];function we({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:o=!0}){let[a,n]=(0,$.useState)(!1),[i,s]=(0,$.useState)(!1),[g,c]=(0,$.useState)(!1),[d,N]=(0,$.useState)("light");(0,$.useEffect)(()=>{let b=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,$.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";N(b),document.documentElement.setAttribute("class",b)},[]);let C=()=>{let b=ye[(ye.indexOf(d)+1)%ye.length];N(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b)};return(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,v.jsx)("nav",{className:I("backdrop-blur-sm text-white p-0",i&&"hidden"),children:(0,v.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&M.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,v.jsx)(H,{logoDark:t,logoLight:e,mobile:!0}),(0,v.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,v.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,v.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,v.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-4 v-4"})]}),(0,v.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:C,children:(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)(Y.Sun,{className:"absolute h-4 v-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,v.jsx)(Y.Moon,{className:"absoulte h-4 v-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,v.jsxs)(M.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,v.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,v.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 v-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-v-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,v.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,v.jsx)(H,{logoDark:t,logoLight:e,mobile:!0}),(0,v.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,v.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,v.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 v-6"})]})]}),(0,v.jsx)("div",{className:"mt-6 flow-root",children:(0,v.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,v.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(b=>(0,v.jsx)(Gt,{...b},b.name))})})})]})]})]})})}function Gt({name:e,items:t,actions:r,href:o}){return!t&&o?(0,v.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,v.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,v.jsx)(M.DisclosureButton,{className:"group flex v-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,v.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,v.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function Bt({logoVideo:e,logoLight:t,logoDark:r,menuItems:o,title:a,subtitle:n}){let[i,s]=(0,$.useState)(!1),[g,c]=(0,$.useState)(!1),[d,N]=(0,$.useState)(!1),C=()=>{let y=document.getElementById("next-section");y&&y.scrollIntoView({behavior:"smooth"})};return(0,$.useEffect)(()=>{let y=()=>{window.scrollY>100?(c(!0),N(!1)):(c(!1),N(!0))};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,$.useEffect)(()=>{let y=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,v.jsxs)("div",{className:"relative h-screen",children:[(0,v.jsxs)("div",{className:"absolute inset-0 v-full h-screen overflow-hidden",children:[(0,v.jsxs)("video",{className:"object-cover v-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,v.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,v.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!i&&(0,v.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{N(!d)},children:d?(0,v.jsx)(Y.X,{className:"v-6 h-6 text-white"}):(0,v.jsx)(Y.Menu,{className:"v-6 h-6 text-white"})}),(0,v.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,v.jsx)(ve,{isMenuOpen:i||d,logoLight:t,logoDark:r,menuItems:o}),(0,v.jsx)(we,{isMenuOpen:!0,logoLight:t,logoDark:r,menuItems:o})]}),(0,v.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${g||d?"opacity-0":"opacity-100"}`}),(0,v.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,v.jsx)(Xe.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:I("h-auto v-auto mt-8 hidden lg:block",d&&"lg:hidden")}),(0,v.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,v.jsxs)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:[a&&a,"."]}),(0,v.jsx)("div",{className:"text-3xl mb-8 max-v-2xl",children:n&&n})]}),(0,v.jsx)("div",{className:"flex justify-center items-center v-full mb-8",children:(0,v.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:C,children:(0,v.jsx)(Y.ChevronDown,{size:64})})})]})]})}var Je=oe(require("next/image"));var T=require("react-icons/fa6"),$t=I("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Ne=I("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),ke=I("v-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Ce=I("flex items-center gap-5"),de=I("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Ot({className:e,footerData:t,logoLight:r,logoDark:o}){let{about:a,columnOne:n,columnTwo:i,columnThree:s,footerBottom:g}=t;return(0,v.jsxs)("footer",{className:I("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,v.jsx)("div",{className:"py-16 md:py-20",children:(0,v.jsx)("div",{className:"container",children:(0,v.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,v.jsx)(H,{logoLight:r,logoDark:o}),(0,v.jsx)("p",{className:"mb-7 mt-3",children:a.description}),a.socialLinks&&a.socialLinks.length>0&&(0,v.jsx)("nav",{"aria-label":"social links",children:(0,v.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:a.socialLinks.map((c,d)=>(0,v.jsx)("li",{children:(0,v.jsx)(O,{"aria-label":c.href,className:$t,href:c.href,openNewTab:!0,children:(0,v.jsx)("span",{children:c.icon})})},d))})})]}),(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,v.jsx)("h3",{className:Ne,children:n.title}),n.links&&n.links.length>0&&(0,v.jsx)("nav",{"aria-label":"footer links navigation",children:(0,v.jsx)("ul",{className:"grid gap-2",children:n.links.map(c=>(0,v.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,v.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,v.jsx)(T.FaChevronRight,{})}),(0,v.jsx)(O,{href:c.href,openNewTab:c.openNewTab,className:de,children:c.label})]},c.label))})})]}),(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,v.jsx)("h3",{className:Ne,children:i.title}),(0,v.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaPaperPlane,{})}),(0,v.jsx)("address",{className:"not-italic",children:i.location})]}),(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaEnvelope,{})}),i.mails&&i.mails.length>0&&(0,v.jsx)("div",{className:"grid gap-1",children:i.mails.map((c,d)=>(0,v.jsx)("a",{href:`mailto:${c}`,className:de,children:c},d))})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaPhone,{})}),(0,v.jsx)("div",{className:"grid gap-1",children:i.phoneNumbers.map((c,d)=>(0,v.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:de,children:c},d))})]})]})]}),s&&(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,v.jsx)("h3",{className:Ne,children:s.title}),s.blogs&&s.blogs.length>0&&(0,v.jsx)("div",{className:"grid gap-6",children:s.blogs.map((c,d)=>(0,v.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,v.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,v.jsx)(Je.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,v.jsxs)("div",{children:[(0,v.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,v.jsx)("span",{className:"text-accent",children:(0,v.jsx)(T.FaCalendarDays,{})}),(0,v.jsx)("span",{children:c.date})]}),(0,v.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,v.jsx)(O,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,v.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,v.jsx)("div",{className:"container",children:(0,v.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[(0,v.jsx)("p",{children:g.copyrightText}),g.links&&g.links.length>0&&(0,v.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,v.jsx)("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:g.links.map(c=>(0,v.jsx)("li",{children:(0,v.jsx)(O,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:de,children:c.label})},c.label))})})]})})})]})}0&&(module.exports={BrandLogo,Footer,HeaderDesktop,HeaderMobile,SimpleHeader,VideoHeader});
|
|
4
|
+
"use strict";var qe=Object.create;var re=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,et=Object.prototype.hasOwnProperty;var tt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!et.call(e,a)&&a!==r&&re(e,a,{get:()=>t[a],enumerable:!(o=Ke(t,a))||o.enumerable});return e};var oe=(e,t,r)=>(r=e!=null?qe(Qe(e)):{},De(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),rt=e=>De(re({},"__esModule",{value:!0}),e);var jt={};tt(jt,{BrandLogo:()=>H,Footer:()=>Ot,HeaderDesktop:()=>ve,HeaderMobile:()=>we,SimpleHeader:()=>at,VideoHeader:()=>Bt});module.exports=rt(jt);var $=require("react"),M=require("@headlessui/react"),ne=require("@heroicons/react/24/outline"),J=require("@heroicons/react/20/solid");var v=require("react/jsx-runtime"),ot=({name:e,items:t,actions:r=[],href:o})=>!t&&o?(0,v.jsx)("a",{href:o,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,v.jsxs)("span",{className:"relative",children:[e,(0,v.jsx)("span",{className:"absolute -bottom-1 left-1/2 v-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,v.jsxs)(M.Popover,{children:[(0,v.jsxs)(M.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,v.jsxs)("span",{className:"relative",children:[e,(0,v.jsx)("span",{className:"absolute bottom-0 left-1/2 v-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,v.jsx)(J.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 v-5 flex-none text-accent"})]}),(0,v.jsxs)(M.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,v.jsx)("div",{className:"mx-auto grid max-v-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>(0,v.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,v.jsx)("div",{className:"flex h-16 v-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,v.jsx)(a.icon,{"aria-hidden":"true",size:"6x"})}),(0,v.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,v.jsx)("span",{className:"absolute inset-0"})]}),(0,v.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,v.jsx)("div",{className:"bg-gray-50",children:(0,v.jsx)("div",{className:"mx-auto max-v-7xl px-6 lg:px-8",children:(0,v.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,v.jsxs)("a",{href:a.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:[(0,v.jsx)(a.icon,{"aria-hidden":"true",className:"h-5 v-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),ae=ot;var se=["light","dark","green"];function at({title:e,logo:t,menuItems:r}){let[o,a]=(0,$.useState)(!1),[n,i]=(0,$.useState)(!1),[s,g]=(0,$.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[N,C]=(0,$.useState)(`${c}.${d}`),b=m=>{se.includes(m)?C(m==="light"?`${c}.${d}`:`${c}-${m}.${d}`):C(`${c}.${d}`)};(0,$.useEffect)(()=>{let m=localStorage.getItem("theme")||"light";console.log("storedTheme",m),g(m),document.documentElement.setAttribute("class",m),b(m)},[]);let y=()=>{let m=se[(se.indexOf(s)+1)%se.length];g(m),document.documentElement.setAttribute("class",m),localStorage.setItem("theme",m),b(m)};return(0,v.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,v.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,v.jsx)("div",{className:"flex lg:flex-1",children:(0,v.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:e}),(0,v.jsx)("img",{alt:e,src:N,className:"h-9 v-auto"})]})}),(0,v.jsx)("div",{className:"flex lg:hidden",children:(0,v.jsxs)("button",{type:"button",onClick:()=>a(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,v.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-6 v-6"})]})}),(0,v.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(m=>(0,v.jsx)(ae,{...m},m.name))}),(0,v.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,v.jsx)("button",{onClick:y,className:"p-2 text-gray-700 outline-none",children:s==="dark"?(0,v.jsx)(J.SunIcon,{className:"h-6 v-6"}):s==="green"?(0,v.jsx)(J.MoonIcon,{className:"h-6 v-6"}):(0,v.jsx)(J.SunIcon,{className:"h-6 v-6"})})})]}),(0,v.jsxs)(M.Dialog,{open:o,onClose:a,className:"lg:hidden",children:[(0,v.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,v.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 v-full overflow-y-auto bg-white px-6 py-6 sm:max-v-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,v.jsxs)("div",{className:"flex items-center justify-between",children:[(0,v.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,v.jsx)("img",{alt:e,src:t,className:"h-8 v-auto"})]}),(0,v.jsxs)("button",{type:"button",onClick:()=>a(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,v.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,v.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 v-6"})]})]}),(0,v.jsx)("div",{className:"mt-6 flow-root",children:(0,v.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,v.jsx)("div",{className:"space-y-2 py-6",children:r.map(m=>(0,v.jsx)(st,{...m},m.name))})})})]})]})]})}function st({name:e,items:t,actions:r,href:o}){return!t&&o?(0,v.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,v.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,v.jsx)(M.DisclosureButton,{className:"group flex v-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,v.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,v.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:a.name},a.name))})]})}var Y=require("lucide-react"),Xe=oe(require("next/image"));var _e=require("clsx");var he="-",nt=e=>{let t=it(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(he);return s[0]===""&&s.length!==1&&s.shift(),He(s,t)||lt(i)},getConflictingClassGroupIds:(i,s)=>{let g=r[i]||[];return s&&o[i]?[...g,...o[i]]:g}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?He(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let n=e.join(he);return(i=t.validators.find(({validator:s})=>s(n)))==null?void 0:i.classGroupId},Ee=/^\[(.+)\]$/,lt=e=>{if(Ee.test(e)){let t=Ee.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},it=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return dt(Object.entries(e.classGroups),r).forEach(([n,i])=>{be(i,o,n,t)}),o},be=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let n=a===""?t:Re(t,a);n.classGroupId=r;return}if(typeof a=="function"){if(ct(a)){be(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([n,i])=>{be(i,Re(t,n),r,o)})})},Re=(e,t)=>{let r=e;return t.split(he).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},ct=e=>e.isThemeGetter,dt=(e,t)=>t?e.map(([r,o])=>{let a=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,s])=>[t+i,s])):n);return[r,a]}):e,pt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(n,i)=>{r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(n){let i=r.get(n);if(i!==void 0)return i;if((i=o.get(n))!==void 0)return a(n,i),i},set(n,i){r.has(n)?r.set(n,i):a(n,i)}}},Ge="!",mt=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],n=t.length,i=s=>{let g=[],c=0,d=0,N;for(let k=0;k<s.length;k++){let P=s[k];if(c===0){if(P===a&&(o||s.slice(k,k+n)===t)){g.push(s.slice(d,k)),d=k+n;continue}if(P==="/"){N=k;continue}}P==="["?c++:P==="]"&&c--}let C=g.length===0?s:s.substring(d),b=C.startsWith(Ge),y=b?C.substring(1):C,m=N&&N>d?N-d:void 0;return{modifiers:g,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},ut=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},gt=e=>({cache:pt(e.cacheSize),parseClassName:mt(e),...nt(e)}),ft=/\s+/,bt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,n=[],i=e.trim().split(ft),s="";for(let g=i.length-1;g>=0;g-=1){let c=i[g],{modifiers:d,hasImportantModifier:N,baseClassName:C,maybePostfixModifierPosition:b}=r(c),y=!!b,m=o(y?C.substring(0,b):C);if(!m){if(!y){s=c+(s.length>0?" "+s:s);continue}if(m=o(C),!m){s=c+(s.length>0?" "+s:s);continue}y=!1}let k=ut(d).join(":"),P=N?k+Ge:k,z=P+m;if(n.includes(z))continue;n.push(z);let U=a(m,y);for(let B=0;B<U.length;++B){let Q=U[B];n.push(P+Q)}s=c+(s.length>0?" "+s:s)}return s};function ht(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Be(t))&&(o&&(o+=" "),o+=r);return o}var Be=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Be(e[o]))&&(r&&(r+=" "),r+=t);return r};function xt(e,...t){let r,o,a,n=i;function i(g){let c=t.reduce((d,N)=>N(d),e());return r=gt(c),o=r.cache.get,a=r.cache.set,n=s,s(g)}function s(g){let c=o(g);if(c)return c;let d=bt(g,r);return a(g,d),d}return function(){return n(ht.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},$e=/^\[(?:([a-z-]+):)?(.+)\]$/i,vt=/^\d+\/\d+$/,yt=new Set(["px","full","screen"]),wt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(v|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)M-?((\d+)?\.?(\d+)[a-z]+|0)/,St=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=e=>V(e)||yt.has(e)||vt.test(e),E=e=>F(e,"length",At),V=e=>!!e&&!Number.isNaN(Number(e)),fe=e=>F(e,"number",V),q=e=>!!e&&Number.isInteger(Number(e)),Pt=e=>e.endsWith("%")&&V(e.slice(0,-1)),p=e=>$e.test(e),R=e=>wt.test(e),It=new Set(["length","size","percentage"]),Mt=e=>F(e,It,Oe),zt=e=>F(e,"position",Oe),Lt=new Set(["image","url"]),Tt=e=>F(e,Lt,Rt),Dt=e=>F(e,"",Et),K=()=>!0,F=(e,t,r)=>{let o=$e.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},At=e=>Nt.test(e)&&!kt.test(e),Oe=()=>!1,Et=e=>Ct.test(e),Rt=e=>St.test(e);var Ht=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),o=h("brightness"),a=h("borderColor"),n=h("borderRadius"),i=h("borderSpacing"),s=h("borderWidth"),g=h("contrast"),c=h("grayscale"),d=h("hueRotate"),N=h("invert"),C=h("gap"),b=h("gradientColorStops"),y=h("gradientColorStopPositions"),m=h("inset"),k=h("margin"),P=h("opacity"),z=h("padding"),U=h("saturate"),B=h("scale"),Q=h("sepia"),Se=h("skew"),Pe=h("space"),Ie=h("translate"),pe=()=>["auto","contain","none"],me=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",p,t],x=()=>[p,t],Me=()=>["",A,E],ee=()=>["auto",V,p],ze=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",p],Te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[V,p];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[A,E],blur:["none","",R,p],brightness:D(),borderColor:[e],borderRadius:["none","","full",R,p],borderSpacing:x(),borderWidth:Me(),contrast:D(),grayscale:X(),hueRotate:D(),invert:X(),gap:x(),gradientColorStops:[e],gradientColorStopPositions:[Pt,E],inset:ue(),margin:ue(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:X(),skew:D(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":Te()}],"break-before":[{"break-before":Te()}],"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:[...ze(),p]}],overflow:[{overflow:me()}],"overflow-x":[{"overflow-x":me()}],"overflow-y":[{"overflow-y":me()}],overscroll:[{overscroll:pe()}],"overscroll-x":[{"overscroll-x":pe()}],"overscroll-y":[{"overscroll-y":pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",q,p]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",q,p]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",q,p]},p]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[q,p]},p]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[z]}],px:[{px:[z]}],py:[{py:[z]}],ps:[{ps:[z]}],pe:[{pe:[z]}],pt:[{pt:[z]}],pr:[{pr:[z]}],pb:[{pb:[z]}],pl:[{pl:[z]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[Pe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Pe]}],"space-y-reverse":["space-y-reverse"],v:[{v:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-v":[{"min-v":[p,t,"min","max","fit"]}],"max-v":[{"max-v":[p,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[K]}],"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",p]}],"line-clamp":[{"line-clamp":["none",V,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",A,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",A,E]}],"underline-offset":[{"underline-offset":["auto",A,p]}],"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:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ze(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","v","tl"]},Tt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-v":[{"rounded-v":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-v":[{border:[s]}],"border-v-x":[{"border-x":[s]}],"border-v-y":[{"border-y":[s]}],"border-v-s":[{"border-s":[s]}],"border-v-e":[{"border-e":[s]}],"border-v-t":[{"border-t":[s]}],"border-v-r":[{"border-r":[s]}],"border-v-b":[{"border-b":[s]}],"border-v-v":[{"border-v":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...te(),"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":[P]}],"divide-style":[{divide:te()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-v":[{"border-v":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[A,p]}],"outline-v":[{outline:[A,E]}],"outline-color":[{outline:[e]}],"ring-v":[{ring:Me()}],"ring-v-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-v":[{"ring-offset":[A,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,Dt]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Le()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",R,p]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[N]}],saturate:[{saturate:[U]}],sepia:[{sepia:[Q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[Q]}],"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",p]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[q,p]}],"translate-x":[{"translate-x":[Ie]}],"translate-y":[{"translate-y":[Ie]}],"skew-x":[{"skew-x":[Se]}],"skew-y":[{"skew-y":[Se]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],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","v-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",p]}],fill:[{fill:[e,"none"]}],"stroke-v":[{stroke:[A,E,fe]}],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:["v","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-v","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-v":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-v":["border-v-s","border-v-e","border-v-t","border-v-r","border-v-b","border-v-v"],"border-v-x":["border-v-r","border-v-v"],"border-v-y":["border-v-t","border-v-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-v"],"border-color-x":["border-color-r","border-color-v"],"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 je=xt(Ht);function I(...e){return je((0,_e.clsx)(e))}function Ve({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let a=I("container",t&&"full-width",r&&"no-padding",o);return(0,v.jsx)("div",{className:a,children:e})}var We=oe(require("next/link"));function O({children:e,href:t,openNewTab:r,...o}){return(0,v.jsx)(We.default,{href:t,target:r?"_blank":"_self",...o,children:e})}var xe=oe(require("next/image"));function H({logoLight:e,logoDark:t,mobile:r=!1}){return(0,v.jsxs)(O,{href:"/",className:I(r?"py-1":"py-2"),children:[(0,v.jsx)(xe.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,v.jsx)(xe.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}function ve({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:o}){let[a,n]=(0,$.useState)(!1),[i,s]=(0,$.useState)("light"),g=["light","dark"];(0,$.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),s(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=g[(g.indexOf(i)+1)%g.length];s(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,$.useEffect)(()=>{let d=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,v.jsx)(Ve,{className:"px-0",children:(0,v.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:(0,v.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,v.jsx)(H,{logoDark:r,logoLight:t}),(0,v.jsx)(M.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(d=>(0,v.jsx)(ae,{...d},d.name))}),(0,v.jsx)("div",{className:"flex items-center space-x-4",children:(0,v.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)(Y.Sun,{className:"absolute h-6 v-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,v.jsx)(Y.Moon,{className:"absoulte h-6 v-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var ye=["light","dark"];function we({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:o=!0}){let[a,n]=(0,$.useState)(!1),[i,s]=(0,$.useState)(!1),[g,c]=(0,$.useState)(!1),[d,N]=(0,$.useState)("light");(0,$.useEffect)(()=>{let b=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,$.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";N(b),document.documentElement.setAttribute("class",b)},[]);let C=()=>{let b=ye[(ye.indexOf(d)+1)%ye.length];N(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b)};return(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,v.jsx)("nav",{className:I("backdrop-blur-sm text-white p-0",i&&"hidden"),children:(0,v.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&M.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,v.jsx)(H,{logoDark:t,logoLight:e,mobile:!0}),(0,v.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,v.jsxs)("button",{type:"button",onClick:()=>s(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,v.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,v.jsx)(ne.Bars3Icon,{"aria-hidden":"true",className:"h-4 v-4"})]}),(0,v.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:C,children:(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)(Y.Sun,{className:"absolute h-4 v-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,v.jsx)(Y.Moon,{className:"absoulte h-4 v-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,v.jsxs)(M.Dialog,{open:i,onClose:s,className:"lg:hidden",children:[(0,v.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,v.jsxs)(M.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 v-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-v-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,v.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,v.jsx)(H,{logoDark:t,logoLight:e,mobile:!0}),(0,v.jsxs)("button",{type:"button",onClick:()=>s(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,v.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,v.jsx)(ne.XMarkIcon,{"aria-hidden":"true",className:"h-6 v-6"})]})]}),(0,v.jsx)("div",{className:"mt-6 flow-root",children:(0,v.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,v.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(b=>(0,v.jsx)(Gt,{...b},b.name))})})})]})]})]})})}function Gt({name:e,items:t,actions:r,href:o}){return!t&&o?(0,v.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,v.jsxs)(M.Disclosure,{as:"div",className:"-mx-3",children:[(0,v.jsx)(M.DisclosureButton,{className:"group flex v-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,v.jsx)(M.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,v.jsx)(M.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}function Bt({logoVideo:e,logoLight:t,logoDark:r,menuItems:o,title:a,subtitle:n}){let[i,s]=(0,$.useState)(!1),[g,c]=(0,$.useState)(!1),[d,N]=(0,$.useState)(!1),C=()=>{let y=document.getElementById("next-section");y&&y.scrollIntoView({behavior:"smooth"})};return(0,$.useEffect)(()=>{let y=()=>{window.scrollY>100?(c(!0),N(!1)):(c(!1),N(!0))};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,$.useEffect)(()=>{let y=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,v.jsxs)("div",{className:"relative h-screen",children:[(0,v.jsxs)("div",{className:"absolute inset-0 v-full h-screen overflow-hidden",children:[(0,v.jsxs)("video",{className:"object-cover v-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,v.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,v.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!i&&(0,v.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{N(!d)},children:d?(0,v.jsx)(Y.X,{className:"v-6 h-6 text-white"}):(0,v.jsx)(Y.Menu,{className:"v-6 h-6 text-white"})}),(0,v.jsxs)("div",{className:"fixed top-0 left-0 right-0 z-50",children:[(0,v.jsx)(ve,{isMenuOpen:i||d,logoLight:t,logoDark:r,menuItems:o}),(0,v.jsx)(we,{isMenuOpen:!0,logoLight:t,logoDark:r,menuItems:o})]}),(0,v.jsx)("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${g||d?"opacity-0":"opacity-100"}`}),(0,v.jsxs)("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,v.jsx)(Xe.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:I("h-auto v-auto mt-8 hidden lg:block",d&&"lg:hidden")}),(0,v.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,v.jsx)("h1",{className:"text-6xl font-bold pt-auto mb-12",children:a&&a}),(0,v.jsx)("div",{className:"text-3xl mb-8 max-v-2xl",children:n&&n})]}),(0,v.jsx)("div",{className:"flex justify-center items-center v-full mb-8",children:(0,v.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:C,children:(0,v.jsx)(Y.ChevronDown,{size:64})})})]})]})}var Je=oe(require("next/image"));var T=require("react-icons/fa6"),$t=I("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Ne=I("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),ke=I("v-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),Ce=I("flex items-center gap-5"),de=I("transition-colors duration-300 hover:text-accent dark:hover:text-white");function Ot({className:e,footerData:t,logoLight:r,logoDark:o}){let{about:a,columnOne:n,columnTwo:i,columnThree:s,footerBottom:g}=t;return(0,v.jsxs)("footer",{className:I("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,v.jsx)("div",{className:"py-16 md:py-20",children:(0,v.jsx)("div",{className:"container",children:(0,v.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,v.jsx)(H,{logoLight:r,logoDark:o}),(0,v.jsx)("p",{className:"mb-7 mt-3",children:a.description}),a.socialLinks&&a.socialLinks.length>0&&(0,v.jsx)("nav",{"aria-label":"social links",children:(0,v.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:a.socialLinks.map((c,d)=>(0,v.jsx)("li",{children:(0,v.jsx)(O,{"aria-label":c.href,className:$t,href:c.href,openNewTab:!0,children:(0,v.jsx)("span",{children:c.icon})})},d))})})]}),(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,v.jsx)("h3",{className:Ne,children:n.title}),n.links&&n.links.length>0&&(0,v.jsx)("nav",{"aria-label":"footer links navigation",children:(0,v.jsx)("ul",{className:"grid gap-2",children:n.links.map(c=>(0,v.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,v.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,v.jsx)(T.FaChevronRight,{})}),(0,v.jsx)(O,{href:c.href,openNewTab:c.openNewTab,className:de,children:c.label})]},c.label))})})]}),(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,v.jsx)("h3",{className:Ne,children:i.title}),(0,v.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaPaperPlane,{})}),(0,v.jsx)("address",{className:"not-italic",children:i.location})]}),(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaEnvelope,{})}),i.mails&&i.mails.length>0&&(0,v.jsx)("div",{className:"grid gap-1",children:i.mails.map((c,d)=>(0,v.jsx)("a",{href:`mailto:${c}`,className:de,children:c},d))})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&(0,v.jsxs)("li",{className:Ce,children:[(0,v.jsx)("span",{className:ke,children:(0,v.jsx)(T.FaPhone,{})}),(0,v.jsx)("div",{className:"grid gap-1",children:i.phoneNumbers.map((c,d)=>(0,v.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:de,children:c},d))})]})]})]}),s&&(0,v.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,v.jsx)("h3",{className:Ne,children:s.title}),s.blogs&&s.blogs.length>0&&(0,v.jsx)("div",{className:"grid gap-6",children:s.blogs.map((c,d)=>(0,v.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,v.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,v.jsx)(Je.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,v.jsxs)("div",{children:[(0,v.jsxs)("p",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,v.jsx)("span",{className:"text-accent",children:(0,v.jsx)(T.FaCalendarDays,{})}),(0,v.jsx)("span",{children:c.date})]}),(0,v.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,v.jsx)(O,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,v.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,v.jsx)("div",{className:"container",children:(0,v.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[(0,v.jsx)("p",{children:g.copyrightText}),g.links&&g.links.length>0&&(0,v.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,v.jsx)("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:g.links.map(c=>(0,v.jsx)("li",{children:(0,v.jsx)(O,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:de,children:c.label})},c.label))})})]})})})]})}0&&(module.exports={BrandLogo,Footer,HeaderDesktop,HeaderMobile,SimpleHeader,VideoHeader});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-343CWVUF.mjs";import{a as e}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-343CWVUF.mjs";import{a as e}from"../../chunk-FGJ675B5.mjs";import{a as c}from"../../chunk-G3JKNT32.mjs";import"../../chunk-HGT54DGN.mjs";import"../../chunk-ZDPQXVTF.mjs";import{a as d}from"../../chunk-I2GY5WTT.mjs";import"../../chunk-VQWGXZ5A.mjs";import{a as f}from"../../chunk-5DHGE4OD.mjs";import{a as b}from"../../chunk-HAYRX2WO.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as BrandLogo,f as Footer,c as HeaderDesktop,d as HeaderMobile,a as SimpleHeader,e as VideoHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"../../chunk-456IOI6A.mjs";import{a as d}from"../../chunk-BA2R2HZQ.mjs";import{a as e}from"../../chunk-YJLGN2LA.mjs";import{a}from"../../chunk-DSLEVJ5J.mjs";import{a as c}from"../../chunk-CLX23VLS.mjs";import{a as b}from"../../chunk-UJRNR62B.mjs";import"../../chunk-Y56OULXT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5O6DFU4X.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-
|
|
1
|
+
import{a as f}from"../../chunk-456IOI6A.mjs";import{a as d}from"../../chunk-BA2R2HZQ.mjs";import{a as e}from"../../chunk-YJLGN2LA.mjs";import{a}from"../../chunk-DSLEVJ5J.mjs";import{a as c}from"../../chunk-CLX23VLS.mjs";import{a as b}from"../../chunk-UJRNR62B.mjs";import"../../chunk-Y56OULXT.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-5O6DFU4X.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as HighImpactHero,c as LowImpactHero,b as MediumImpactHero,d as PostHero,e as RenderHero,f as SectionHero};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ImageProps } from '@/common-types';
|
|
2
|
+
import { Post } from '@/payload-types';
|
|
3
|
+
export interface BlogProps {
|
|
4
|
+
image: Omit<ImageProps, 'width' | 'height'>;
|
|
5
|
+
authors?: {
|
|
6
|
+
name: string;
|
|
7
|
+
image: ImageProps;
|
|
8
|
+
}[];
|
|
9
|
+
categories?: string[];
|
|
10
|
+
commentCount: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
slug: string;
|
|
14
|
+
publishedAt: string;
|
|
15
|
+
meta: Post['meta'];
|
|
16
|
+
}
|
|
17
|
+
export declare function NewsList({ blogs }: {
|
|
18
|
+
blogs: BlogProps[];
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=Object.create;var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var w=(e,r)=>{for(var a in r)l(e,a,{get:r[a],enumerable:!0})},m=(e,r,a,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of x(r))!v.call(e,s)&&s!==a&&l(e,s,{get:()=>r[s],enumerable:!(n=p(r,s))||n.enumerable});return e};var b=(e,r,a)=>(a=e!=null?f(h(e)):{},m(r||!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),N=e=>m(l({},"__esModule",{value:!0}),e);var $={};w($,{NewsList:()=>D});module.exports=N($);var d=b(require("next/image"));var c=e=>{let r=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(r),n=r.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(r);return`${a} ${n}${(o=>{if(o>3&&o<21)return"th";switch(o%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)} ${s}`};var t=require("react/jsx-runtime");function D({blogs:e}){return(0,t.jsx)("div",{children:e&&e.length>0&&(0,t.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((r,a)=>(0,t.jsx)(y,{post:r,id:a},a))})})}var y=({post:e,id:r})=>{let{slug:a,image:n,authors:s,categories:u,title:o,description:S,publishedAt:k}=e;return(0,t.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,t.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[n&&(0,t.jsx)(d.default,{src:n.src,alt:n.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,t.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:c(e.publishedAt)}),e.categories&&e.categories.map((i,g)=>(0,t.jsx)("a",{href:`#${i}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:i},g))]}),(0,t.jsxs)("div",{className:"group relative max-w-xl",children:[(0,t.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,t.jsxs)("a",{href:e.slug,children:[(0,t.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,t.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,t.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((i,g)=>(0,t.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[i.image?(0,t.jsx)("img",{alt:i.image.alt,src:i.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,t.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,t.jsx)("div",{className:"text-sm/6",children:(0,t.jsxs)("p",{className:"text-foreground pr-6",children:[(0,t.jsx)("span",{className:"absolute inset-0"}),i.name]})})]},g))})]})]},r)};0&&(module.exports={NewsList});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-VIPFVWUR.mjs";import"../../chunk-Y56OULXT.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as NewsList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=Object.create;var l=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var T=(e,r)=>{for(var a in r)l(e,a,{get:r[a],enumerable:!0})},u=(e,r,a,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of w(r))!D.call(e,s)&&s!==a&&l(e,s,{get:()=>r[s],enumerable:!(o=y(r,s))||o.enumerable});return e};var P=(e,r,a)=>(a=e!=null?x(N(e)):{},u(r||!e||!e.__esModule?l(a,"default",{value:e,enumerable:!0}):a,e)),S=e=>u(l({},"__esModule",{value:!0}),e);var I={};T(I,{Default:()=>c,LoadsOfBlogs:()=>v,default:()=>A});module.exports=S(I);var f=P(require("next/image"));var p=e=>{let r=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(r),o=r.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(r);return`${a} ${o}${(i=>{if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${s}`};var t=require("react/jsx-runtime");function g({blogs:e}){return(0,t.jsx)("div",{children:e&&e.length>0&&(0,t.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((r,a)=>(0,t.jsx)($,{post:r,id:a},a))})})}var $=({post:e,id:r})=>{let{slug:a,image:o,authors:s,categories:b,title:i,description:F,publishedAt:k}=e;return(0,t.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,t.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,t.jsx)(f.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,t.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:p(e.publishedAt)}),e.categories&&e.categories.map((n,m)=>(0,t.jsx)("a",{href:`#${n}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:n},m))]}),(0,t.jsxs)("div",{className:"group relative max-w-xl",children:[(0,t.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,t.jsxs)("a",{href:e.slug,children:[(0,t.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,t.jsx)("p",{className:"mt-5 text-sm/6 text-foreground",children:e.description})]}),(0,t.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((n,m)=>(0,t.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[n.image?(0,t.jsx)("img",{alt:n.image.alt,src:n.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,t.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,t.jsx)("div",{className:"text-sm/6",children:(0,t.jsxs)("p",{className:"text-foreground pr-6",children:[(0,t.jsx)("span",{className:"absolute inset-0"}),n.name]})})]},m))})]})]},r)};var A={title:"Layouts/NewsList",component:g,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>(0,t.jsx)(e,{})]},h=e=>(0,t.jsx)(g,{...e}),c=h.bind({});c.args={blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var v=h.bind({});v.args={...c.args};0&&(module.exports={Default,LoadsOfBlogs});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"../../chunk-VIPFVWUR.mjs";import"../../chunk-Y56OULXT.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as i}from"react/jsx-runtime";var a={title:"Layouts/NewsList",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>i(e,{})]},t=e=>i(o,{...e}),s=t.bind({});s.args={blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var n=t.bind({});n.args={...s.args};export{s as Default,n as LoadsOfBlogs,a as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";"use client";var me=Object.create;var $=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var ye=Object.getOwnPropertyNames;var xe=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty;var ve=(e,r)=>{for(var t in r)$(e,t,{get:r[t],enumerable:!0})},ae=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ye(r))!we.call(e,a)&&a!==t&&$(e,a,{get:()=>r[a],enumerable:!(o=he(r,a))||o.enumerable});return e};var Ce=(e,r,t)=>(t=e!=null?me(xe(e)):{},ae(r||!e||!e.__esModule?$(t,"default",{value:e,enumerable:!0}):t,e)),ke=e=>ae($({},"__esModule",{value:!0}),e);var sr={};ve(sr,{Categories:()=>nr});module.exports=ke(sr);var fe=require("clsx");var J="-",Me=e=>{let r=Re(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(J);return n[0]===""&&n.length!==1&&n.shift(),ce(n,r)||ze(i)},getConflictingClassGroupIds:(i,n)=>{let p=t[i]||[];return n&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ce(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},ie=/^\[(.+)\]$/,ze=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}},Re=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Te(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?r:le(r,a);s.classGroupId=t;return}if(typeof a=="function"){if(Se(a)){q(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([s,i])=>{q(i,le(r,s),t,o)})})},le=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Se=e=>e.isThemeGetter,Te=(e,r)=>r?e.map(([t,o])=>{let a=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[r+i,n])):s);return[t,a]}):e,Ae=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){t.has(s)?t.set(s,i):a(s,i)}}},de="!",Le=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],s=r.length,i=n=>{let p=[],g=0,m=0,x;for(let u=0;u<n.length;u++){let f=n[u];if(g===0){if(f===a&&(o||n.slice(u,u+s)===r)){p.push(n.slice(m,u)),m=u+s;continue}if(f==="/"){x=u;continue}}f==="["?g++:f==="]"&&g--}let w=p.length===0?n:n.substring(m),k=w.startsWith(de),v=k?w.substring(1):w,b=x&&x>m?x-m:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:b}};return t?n=>t({className:n,parseClassName:i}):i},Ne=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},Pe=e=>({cache:Ae(e.cacheSize),parseClassName:Le(e),...Me(e)}),Ee=/\s+/,Ge=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,s=[],i=e.trim().split(Ee),n="";for(let p=i.length-1;p>=0;p-=1){let g=i[p],{modifiers:m,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:k}=t(g),v=!!k,b=o(v?w.substring(0,k):w);if(!b){if(!v){n=g+(n.length>0?" "+n:n);continue}if(b=o(w),!b){n=g+(n.length>0?" "+n:n);continue}v=!1}let u=Ne(m).join(":"),f=x?u+de:u,y=f+b;if(s.includes(y))continue;s.push(y);let G=a(b,v);for(let T=0;T<G.length;++T){let j=G[T];s.push(f+j)}n=g+(n.length>0?" "+n:n)}return n};function He(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function Ie(e,...r){let t,o,a,s=i;function i(p){let g=r.reduce((m,x)=>x(m),e());return t=Pe(g),o=t.cache.get,a=t.cache.set,s=n,n(p)}function n(p){let g=o(p);if(g)return g;let m=Ge(p,t);return a(p,m),m}return function(){return s(He.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,_e=/^\d+\/\d+$/,je=new Set(["px","full","screen"]),Ve=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,We=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|L|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,De=/^(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=>N(e)||je.has(e)||_e.test(e),R=e=>P(e,"length",Ze),N=e=>!!e&&!Number.isNaN(Number(e)),O=e=>P(e,"number",N),I=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&N(e.slice(0,-1)),l=e=>ue.test(e),S=e=>Ve.test(e),Be=new Set(["length","size","percentage"]),Oe=e=>P(e,Be,be),qe=e=>P(e,"position",be),Je=new Set(["image","url"]),Ke=e=>P(e,Je,Ye),Xe=e=>P(e,"",Qe),_=()=>!0,P=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Ze=e=>We.test(e)&&!$e.test(e),be=()=>!1,Qe=e=>De.test(e),Ye=e=>Fe.test(e);var er=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),i=c("borderSpacing"),n=c("borderWidth"),p=c("contrast"),g=c("grayscale"),m=c("hueRotate"),x=c("invert"),w=c("gap"),k=c("gradientColorStops"),v=c("gradientColorStopPositions"),b=c("inset"),u=c("margin"),f=c("opacity"),y=c("padding"),G=c("saturate"),T=c("scale"),j=c("sepia"),Y=c("skew"),ee=c("space"),re=c("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",l,r],d=()=>[l,r],te=()=>["",z,R],V=()=>["auto",N,l],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"],B=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",l],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[N,l];return{cacheSize:500,separator:":",theme:{colors:[_],spacing:[z,R],blur:["none","",S,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:d(),borderWidth:te(),contrast:M(),grayscale:H(),hueRotate:M(),invert:H(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ue,R],inset:U(),margin:U(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:H(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"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(),l]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,l]}],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",l]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",I,l]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:["full",I,l]},l]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[I,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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"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":[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",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],L:[{L:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-L":[{"min-L":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-L":[{"max-L":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"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",N,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,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":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,R]}],"underline-offset":[{"underline-offset":["auto",z,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:d()}],"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":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),qe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Oe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ke]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:W()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,R]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[z,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Xe]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[f]}],"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:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[G]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"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:M()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[I,l]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"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":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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:[z,R,O]}],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","L"],"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 ge=Ie(er);function C(...e){return ge((0,fe.clsx)(e))}var E=require("next/navigation");var A=Ce(require("react"));var L=require("react/jsx-runtime"),K=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("rounded-xl border bg-card text-card-foreground shadow",e),...r}));K.displayName="Card";var X=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("flex flex-col space-y-1.5 p-6",e),...r}));X.displayName="CardHeader";var Z=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("font-semibold leading-none tracking-tight",e),...r}));Z.displayName="CardTitle";var rr=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("text-sm text-muted-foreground",e),...r}));rr.displayName="CardDescription";var Q=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("p-6 pt-0",e),...r}));Q.displayName="CardContent";var tr=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("flex items-center p-6 pt-0",e),...r}));tr.displayName="CardFooter";var or=C("transition-colors duration-400 hover:text-primary ease-in-out");function nr({title:e,links:r}){let t=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:a}=(0,E.useRouter)();function s(i){console.log(i);let n=new URLSearchParams(t);i?n.set("category",i):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,L.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,L.jsxs)(K,{children:[(0,L.jsx)(X,{children:(0,L.jsx)(Z,{children:e&&e})}),(0,L.jsx)(Q,{children:r&&r.length>0&&(0,L.jsx)("nav",{"aria-label":"footer links navigation",children:(0,L.jsx)("ul",{className:"grid gap-2.5 ",children:r.map((i,n)=>(0,L.jsxs)("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0 hover:cursor-pointer",onClick:p=>{p.preventDefault(),s(i.href)},children:[(0,L.jsx)("span",{className:"grid L-3 w-3 place-items-center border border-accent",children:(0,L.jsx)("span",{className:"block L-0.5 w-0.5 bg-accent"})}),(0,L.jsx)("a",{className:or,children:i.label})]},n))})})})]})})}0&&(module.exports={Categories});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
"use strict";var he=Object.create;var D=Object.defineProperty;var ye=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var we=Object.getPrototypeOf,ve=Object.prototype.hasOwnProperty;var Ce=(e,r)=>{for(var t in r)D(e,t,{get:r[t],enumerable:!0})},ae=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of xe(r))!ve.call(e,a)&&a!==t&&D(e,a,{get:()=>r[a],enumerable:!(o=ye(r,a))||o.enumerable});return e};var ke=(e,r,t)=>(t=e!=null?he(we(e)):{},ae(r||!e||!e.__esModule?D(t,"default",{value:e,enumerable:!0}):t,e)),Me=e=>ae(D({},"__esModule",{value:!0}),e);var lr={};Ce(lr,{Default:()=>ir,default:()=>ar});module.exports=Me(lr);var fe=require("clsx");var J="-",Re=e=>{let r=Se(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(J);return n[0]===""&&n.length!==1&&n.shift(),ce(n,r)||ze(i)},getConflictingClassGroupIds:(i,n)=>{let p=t[i]||[];return n&&o[i]?[...p,...o[i]]:p}}},ce=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?ce(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let s=e.join(J);return(i=r.validators.find(({validator:n})=>n(s)))==null?void 0:i.classGroupId},ie=/^\[(.+)\]$/,ze=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}},Se=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return Ae(Object.entries(e.classGroups),t).forEach(([s,i])=>{q(i,o,s,r)}),o},q=(e,r,t,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?r:le(r,a);s.classGroupId=t;return}if(typeof a=="function"){if(Te(a)){q(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([s,i])=>{q(i,le(r,s),t,o)})})},le=(e,r)=>{let t=e;return r.split(J).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},Te=e=>e.isThemeGetter,Ae=(e,r)=>r?e.map(([t,o])=>{let a=o.map(s=>typeof s=="string"?r+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,n])=>[r+i,n])):s);return[t,a]}):e,Le=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,a=(s,i)=>{t.set(s,i),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let i=t.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return a(s,i),i},set(s,i){t.has(s)?t.set(s,i):a(s,i)}}},de="!",Ne=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,a=r[0],s=r.length,i=n=>{let p=[],g=0,m=0,x;for(let u=0;u<n.length;u++){let f=n[u];if(g===0){if(f===a&&(o||n.slice(u,u+s)===r)){p.push(n.slice(m,u)),m=u+s;continue}if(f==="/"){x=u;continue}}f==="["?g++:f==="]"&&g--}let w=p.length===0?n:n.substring(m),k=w.startsWith(de),v=k?w.substring(1):w,b=x&&x>m?x-m:void 0;return{modifiers:p,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:b}};return t?n=>t({className:n,parseClassName:i}):i},Pe=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},Ge=e=>({cache:Le(e.cacheSize),parseClassName:Ne(e),...Re(e)}),Ee=/\s+/,He=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,s=[],i=e.trim().split(Ee),n="";for(let p=i.length-1;p>=0;p-=1){let g=i[p],{modifiers:m,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:k}=t(g),v=!!k,b=o(v?w.substring(0,k):w);if(!b){if(!v){n=g+(n.length>0?" "+n:n);continue}if(b=o(w),!b){n=g+(n.length>0?" "+n:n);continue}v=!1}let u=Pe(m).join(":"),f=x?u+de:u,y=f+b;if(s.includes(y))continue;s.push(y);let E=a(b,v);for(let T=0;T<E.length;++T){let _=E[T];s.push(f+_)}n=g+(n.length>0?" "+n:n)}return n};function Ie(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=pe(r))&&(o&&(o+=" "),o+=t);return o}var pe=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=pe(e[o]))&&(t&&(t+=" "),t+=r);return t};function je(e,...r){let t,o,a,s=i;function i(p){let g=r.reduce((m,x)=>x(m),e());return t=Ge(g),o=t.cache.get,a=t.cache.set,s=n,n(p)}function n(p){let g=o(p);if(g)return g;let m=He(p,t);return a(p,m),m}return function(){return s(Ie.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,_e=/^\d+\/\d+$/,Ve=new Set(["px","full","screen"]),We=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,De=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|L|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Be=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>N(e)||Ve.has(e)||_e.test(e),z=e=>P(e,"length",Qe),N=e=>!!e&&!Number.isNaN(Number(e)),O=e=>P(e,"number",N),I=e=>!!e&&Number.isInteger(Number(e)),Ue=e=>e.endsWith("%")&&N(e.slice(0,-1)),l=e=>ue.test(e),S=e=>We.test(e),Oe=new Set(["length","size","percentage"]),qe=e=>P(e,Oe,be),Je=e=>P(e,"position",be),Ke=new Set(["image","url"]),Xe=e=>P(e,Ke,er),Ze=e=>P(e,"",Ye),j=()=>!0,P=(e,r,t)=>{let o=ue.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Qe=e=>De.test(e)&&!$e.test(e),be=()=>!1,Ye=e=>Be.test(e),er=e=>Fe.test(e);var rr=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),i=c("borderSpacing"),n=c("borderWidth"),p=c("contrast"),g=c("grayscale"),m=c("hueRotate"),x=c("invert"),w=c("gap"),k=c("gradientColorStops"),v=c("gradientColorStopPositions"),b=c("inset"),u=c("margin"),f=c("opacity"),y=c("padding"),E=c("saturate"),T=c("scale"),_=c("sepia"),Y=c("skew"),ee=c("space"),re=c("translate"),$=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",l,r],d=()=>[l,r],te=()=>["",R,z],V=()=>["auto",N,l],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"],U=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",l],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[N,l];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[R,z],blur:["none","",S,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:d(),borderWidth:te(),contrast:M(),grayscale:H(),hueRotate:M(),invert:H(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ue,z],inset:F(),margin:F(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:H(),skew:M(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"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(),l]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,l]}],basis:[{basis:F()}],"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:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",I,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",I,l]},l]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[I,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:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"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":[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",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],L:[{L:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-L":[{"min-L":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-L":[{"max-L":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",O]}],"font-family":[{font:[j]}],"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",N,O]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,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":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,z]}],"underline-offset":[{"underline-offset":["auto",R,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:d()}],"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":[f]}],"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",qe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:W()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[R,l]}],"outline-w":[{outline:[R,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[R,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ze]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[f]}],"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:[p]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[E]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"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:M()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[I,l]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[Y]}],"skew-y":[{"skew-y":[Y]}],"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":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"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:[R,z,O]}],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","L"],"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 ge=je(rr);function C(...e){return ge((0,fe.clsx)(e))}var G=require("next/navigation");var A=ke(require("react"));var L=require("react/jsx-runtime"),K=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("rounded-xl border bg-card text-card-foreground shadow",e),...r}));K.displayName="Card";var X=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("flex flex-col space-y-1.5 p-6",e),...r}));X.displayName="CardHeader";var Z=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("font-semibold leading-none tracking-tight",e),...r}));Z.displayName="CardTitle";var tr=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("text-sm text-muted-foreground",e),...r}));tr.displayName="CardDescription";var Q=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("p-6 pt-0",e),...r}));Q.displayName="CardContent";var or=A.forwardRef(({className:e,...r},t)=>(0,L.jsx)("div",{ref:t,className:C("flex items-center p-6 pt-0",e),...r}));or.displayName="CardFooter";var nr=C("transition-colors duration-400 hover:text-primary ease-in-out");function me({title:e,links:r}){let t=(0,G.useSearchParams)(),o=(0,G.usePathname)(),{replace:a}=(0,G.useRouter)();function s(i){console.log(i);let n=new URLSearchParams(t);i?n.set("category",i):n.delete("category"),a(`${o}?${n.toString()}`)}return(0,L.jsx)("div",{className:"space-y-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:p-10",children:(0,L.jsxs)(K,{children:[(0,L.jsx)(X,{children:(0,L.jsx)(Z,{children:e&&e})}),(0,L.jsx)(Q,{children:r&&r.length>0&&(0,L.jsx)("nav",{"aria-label":"footer links navigation",children:(0,L.jsx)("ul",{className:"grid gap-2.5 ",children:r.map((i,n)=>(0,L.jsxs)("li",{className:"flex items-center gap-2.5 pt-2.5 first:pt-0 hover:cursor-pointer",onClick:p=>{p.preventDefault(),s(i.href)},children:[(0,L.jsx)("span",{className:"grid L-3 w-3 place-items-center border border-accent",children:(0,L.jsx)("span",{className:"block L-0.5 w-0.5 bg-accent"})}),(0,L.jsx)("a",{className:nr,children:i.label})]},n))})})})]})})}var sr={title:"Menus/Categories",component:me,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0}}},ar=sr,ir={args:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"3"},{label:"Stock market",href:"4"},{label:"Regular start",href:"5"},{label:"Regular start",href:"6"}]}};0&&(module.exports={Default});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"../../chunk-7REKDTES.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";var t={title:"Menus/Categories",component:e,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0}}},a=t,o={args:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"3"},{label:"Stock market",href:"4"},{label:"Regular start",href:"5"},{label:"Regular start",href:"6"}]}};export{o as Default,a as default};
|