cortex-react-components 1.53.12 → 1.53.14

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.
Files changed (157) hide show
  1. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  2. package/dist/{chunk-JGFNFHZM.mjs → chunk-4AZETAFM.mjs} +1 -1
  3. package/dist/{chunk-ZARUYNTS.mjs → chunk-4HHJDVW4.mjs} +1 -1
  4. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  5. package/dist/{chunk-Q3MPLEUO.mjs → chunk-5IJXIGOD.mjs} +1 -1
  6. package/dist/{chunk-5AAERLK4.mjs → chunk-5UXQDLO3.mjs} +1 -1
  7. package/dist/chunk-63USUVEH.mjs +1 -0
  8. package/dist/{chunk-WP5GREDV.mjs → chunk-6MQT5DPQ.mjs} +1 -1
  9. package/dist/{chunk-UELQEYEC.mjs → chunk-CJNVJYUE.mjs} +1 -1
  10. package/dist/chunk-DPZBRGJ3.mjs +1 -0
  11. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  12. package/dist/{chunk-R7CSR27B.mjs → chunk-FJGFNXYG.mjs} +1 -1
  13. package/dist/chunk-G3XMLLE4.mjs +1 -0
  14. package/dist/{chunk-LCBC4XAC.mjs → chunk-GFGZH4RJ.mjs} +1 -1
  15. package/dist/{chunk-TCIVDDHE.mjs → chunk-GMBPMUQQ.mjs} +1 -1
  16. package/dist/{chunk-T5H436I7.mjs → chunk-HQRZM7KW.mjs} +1 -1
  17. package/dist/{chunk-FGGYIUGW.mjs → chunk-IG4JCLBN.mjs} +1 -1
  18. package/dist/{chunk-WZLEEZ5C.mjs → chunk-IT7DSLCX.mjs} +1 -1
  19. package/dist/{chunk-CF7XDPTT.mjs → chunk-J4IAKATI.mjs} +1 -1
  20. package/dist/{chunk-S7I4XJS6.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  21. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  22. package/dist/{chunk-7H5RA3LZ.mjs → chunk-NVHXLA3F.mjs} +1 -1
  23. package/dist/{chunk-7XB4Y3U2.mjs → chunk-OGKJF5LR.mjs} +1 -1
  24. package/dist/{chunk-UBPBLCZE.mjs → chunk-QPX7LU4K.mjs} +1 -1
  25. package/dist/{chunk-UOXUFOIU.mjs → chunk-SFJOK6GO.mjs} +1 -1
  26. package/dist/{chunk-MGGXJ6E5.mjs → chunk-TC2FT75Z.mjs} +1 -1
  27. package/dist/{chunk-F572VPA4.mjs → chunk-TIQZZL2R.mjs} +1 -1
  28. package/dist/chunk-TXB5Y6PG.mjs +4 -0
  29. package/dist/{chunk-LI37GQGD.mjs → chunk-U6KDWQ65.mjs} +1 -1
  30. package/dist/{chunk-ZMTWB7GE.mjs → chunk-UKFELWQL.mjs} +1 -1
  31. package/dist/{chunk-SQTEG7N4.mjs → chunk-UVMDKG6E.mjs} +1 -1
  32. package/dist/{chunk-NMVLT3F5.mjs → chunk-UWCJNBSM.mjs} +1 -1
  33. package/dist/{chunk-GSKQEJUW.mjs → chunk-VSNDROOR.mjs} +1 -1
  34. package/dist/{chunk-SYRLP2F4.mjs → chunk-WX6QASHL.mjs} +1 -1
  35. package/dist/{chunk-RMSUXBP2.mjs → chunk-XHIXSMLB.mjs} +1 -1
  36. package/dist/{chunk-Y2SNB25S.mjs → chunk-Y4KHZRYM.mjs} +1 -1
  37. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  38. package/dist/components/Blocks/Banner.mjs +1 -1
  39. package/dist/components/Blocks/CallToAction.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  41. package/dist/components/Blocks/Content.mjs +1 -1
  42. package/dist/components/Blocks/Content.stories.mjs +1 -1
  43. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  44. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  45. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  46. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  47. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  48. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  49. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  50. package/dist/components/Blocks/index.mjs +1 -1
  51. package/dist/components/Cards/ContentCard.mjs +1 -1
  52. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  53. package/dist/components/Cards/FeatureCard.mjs +1 -1
  54. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  55. package/dist/components/Cards/index.mjs +1 -1
  56. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  57. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  58. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  59. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  60. package/dist/components/HeaderFooter/index.mjs +1 -1
  61. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  62. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  63. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  64. package/dist/components/Heros/RenderHero.mjs +1 -1
  65. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  66. package/dist/components/Heros/index.mjs +1 -1
  67. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  68. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  69. package/dist/components/Holidays/index.mjs +1 -1
  70. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  71. package/dist/components/Layouts/NewsList.js +1 -1
  72. package/dist/components/Layouts/NewsList.mjs +1 -1
  73. package/dist/components/Layouts/NewsList.stories.js +1 -1
  74. package/dist/components/Layouts/NewsList.stories.mjs +1 -1
  75. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  76. package/dist/components/Layouts/Print.mjs +1 -1
  77. package/dist/components/Layouts/Print.stories.mjs +1 -1
  78. package/dist/components/Layouts/SlideShow.mjs +1 -1
  79. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  80. package/dist/components/Layouts/index.mjs +1 -1
  81. package/dist/components/Menus/Filter.js +1 -1
  82. package/dist/components/Menus/Filter.mjs +1 -1
  83. package/dist/components/Menus/Filter.stories.js +1 -1
  84. package/dist/components/Menus/Filter.stories.mjs +1 -1
  85. package/dist/components/Menus/Pagination.js +1 -1
  86. package/dist/components/Menus/Pagination.mjs +1 -1
  87. package/dist/components/Menus/Pagination.stories.js +1 -1
  88. package/dist/components/Menus/Pagination.stories.mjs +1 -1
  89. package/dist/components/Menus/index.js +1 -1
  90. package/dist/components/Menus/index.mjs +1 -1
  91. package/dist/components/Other/index.mjs +1 -1
  92. package/dist/components/Payload/Card/index.mjs +1 -1
  93. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  94. package/dist/components/Payload/Media/index.mjs +1 -1
  95. package/dist/components/Payload/RichText/index.mjs +1 -1
  96. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  97. package/dist/components/Payload/RichText.stories.mjs +1 -1
  98. package/dist/components/Payload/index.mjs +1 -1
  99. package/dist/components/index.js +1 -1
  100. package/dist/components/index.mjs +1 -1
  101. package/dist/globals.css +1 -1
  102. package/dist/index.js +8 -8
  103. package/dist/index.mjs +1 -1
  104. package/dist/metafile-cjs.json +1 -1
  105. package/dist/metafile-esm.json +1 -1
  106. package/dist/pages/Blog.mjs +1 -1
  107. package/dist/pages/Blog.stories.mjs +1 -1
  108. package/dist/pages/Documentation.mjs +1 -1
  109. package/dist/pages/Documentation.stories.mjs +1 -1
  110. package/dist/pages/IndexPage.mjs +1 -1
  111. package/dist/pages/IndexPage.stories.mjs +1 -1
  112. package/dist/pages/Intranet.mjs +1 -1
  113. package/dist/pages/Intranet.stories.mjs +1 -1
  114. package/dist/pages/LandingPage.js +1 -1
  115. package/dist/pages/LandingPage.mjs +1 -1
  116. package/dist/pages/LandingPage.stories.js +3 -3
  117. package/dist/pages/LandingPage.stories.mjs +1 -1
  118. package/dist/pages/Page.mjs +1 -1
  119. package/dist/pages/Page.stories.mjs +1 -1
  120. package/dist/pages/Printable.stories.mjs +1 -1
  121. package/dist/pages/Publish.mjs +1 -1
  122. package/dist/pages/Publish.stories.mjs +1 -1
  123. package/dist/pages/Website.mjs +1 -1
  124. package/dist/pages/Website.stories.mjs +1 -1
  125. package/dist/sections/AboutSection.mjs +1 -1
  126. package/dist/sections/AboutSection.stories.mjs +1 -1
  127. package/dist/sections/BlogDetail.mjs +1 -1
  128. package/dist/sections/BlogDetail.stories.mjs +1 -1
  129. package/dist/sections/BlogList.mjs +1 -1
  130. package/dist/sections/BlogList.stories.mjs +1 -1
  131. package/dist/sections/BlogListSection.js +1 -1
  132. package/dist/sections/BlogListSection.mjs +1 -1
  133. package/dist/sections/BlogListSection.stories.js +1 -1
  134. package/dist/sections/BlogListSection.stories.mjs +1 -1
  135. package/dist/sections/ContactSection.mjs +1 -1
  136. package/dist/sections/ContactSection.stories.mjs +1 -1
  137. package/dist/sections/ImageSection.stories.mjs +1 -1
  138. package/dist/sections/PageSections.js +1 -1
  139. package/dist/sections/PageSections.mjs +1 -1
  140. package/dist/sections/PageSections.stories.js +3 -3
  141. package/dist/sections/PageSections.stories.mjs +1 -1
  142. package/dist/sections/PricingSection.mjs +1 -1
  143. package/dist/sections/PricingSection.stories.mjs +1 -1
  144. package/dist/sections/ServiceDetailSection.mjs +1 -1
  145. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  146. package/dist/sections/ServiceSection.js +1 -1
  147. package/dist/sections/ServiceSection.mjs +1 -1
  148. package/dist/sections/ServiceSection.stories.js +1 -1
  149. package/dist/sections/ServiceSection.stories.mjs +1 -1
  150. package/dist/sections/form/index.mjs +1 -1
  151. package/dist/sections/index.js +3 -3
  152. package/dist/sections/index.mjs +1 -1
  153. package/package.json +1 -1
  154. package/dist/chunk-3ILIKZIF.mjs +0 -1
  155. package/dist/chunk-KJ2C7CBU.mjs +0 -4
  156. package/dist/chunk-VV7TUGRV.mjs +0 -1
  157. package/dist/chunk-XYLYPBZO.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Ye=Object.create;var j=Object.defineProperty;var qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty;var Xe=(e,t)=>{for(var r in t)j(e,r,{get:t[r],enumerable:!0})},ve=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ze(t))!Ke.call(e,s)&&s!==r&&j(e,s,{get:()=>t[s],enumerable:!(o=qe(t,s))||o.enumerable});return e};var Q=(e,t,r)=>(r=e!=null?Ye(Je(e)):{},ve(t||!e||!e.__esModule?j(r,"default",{value:e,enumerable:!0}):r,e)),Qe=e=>ve(j({},"__esModule",{value:!0}),e);var Et={};Xe(Et,{Default:()=>q,LoadsOfBlogs:()=>_e,NoCategories:()=>je,default:()=>$t});module.exports=Qe(Et);var Re=require("clsx");var re="-",et=e=>{let t=rt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let n=i.split(re);return n[0]===""&&n.length!==1&&n.shift(),Pe(n,t)||tt(i)},getConflictingClassGroupIds:(i,n)=>{let c=r[i]||[];return n&&o[i]?[...c,...o[i]]:c}}},Pe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),s=o?Pe(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;let a=e.join(re);return(i=t.validators.find(({validator:n})=>n(a)))==null?void 0:i.classGroupId},we=/^\[(.+)\]$/,tt=e=>{if(we.test(e)){let t=we.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},rt=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return nt(Object.entries(e.classGroups),r).forEach(([a,i])=>{te(i,o,a,t)}),o},te=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){let a=s===""?t:Ce(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(ot(s)){te(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,i])=>{te(i,Ce(t,a),r,o)})})},Ce=(e,t)=>{let r=e;return t.split(re).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},ot=e=>e.isThemeGetter,nt=(e,t)=>t?e.map(([r,o])=>{let s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,n])=>[t+i,n])):a);return[r,s]}):e,st=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,s=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return s(a,i),i},set(a,i){r.has(a)?r.set(a,i):s(a,i)}}},ke="!",at=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,i=n=>{let c=[],f=0,b=0,d;for(let h=0;h<n.length;h++){let w=n[h];if(f===0){if(w===s&&(o||n.slice(h,h+a)===t)){c.push(n.slice(b,h)),b=h+a;continue}if(w==="/"){d=h;continue}}w==="["?f++:w==="]"&&f--}let p=c.length===0?n:n.substring(b),v=p.startsWith(ke),C=v?p.substring(1):p,y=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:C,maybePostfixModifierPosition:y}};return r?n=>r({className:n,parseClassName:i}):i},it=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},lt=e=>({cache:st(e.cacheSize),parseClassName:at(e),...et(e)}),ct=/\s+/,dt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(ct),n="";for(let c=i.length-1;c>=0;c-=1){let f=i[c],{modifiers:b,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:v}=r(f),C=!!v,y=o(C?p.substring(0,v):p);if(!y){if(!C){n=f+(n.length>0?" "+n:n);continue}if(y=o(p),!y){n=f+(n.length>0?" "+n:n);continue}C=!1}let h=it(b).join(":"),w=d?h+ke:h,P=w+y;if(a.includes(P))continue;a.push(P);let F=s(y,C);for(let L=0;L<F.length;++L){let V=F[L];a.push(w+V)}n=f+(n.length>0?" "+n:n)}return n};function pt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Se(t))&&(o&&(o+=" "),o+=r);return o}var Se=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Se(e[o]))&&(r&&(r+=" "),r+=t);return r};function ut(e,...t){let r,o,s,a=i;function i(c){let f=t.reduce((b,d)=>d(b),e());return r=lt(f),o=r.cache.get,s=r.cache.set,a=n,n(c)}function n(c){let f=o(c);if(f)return f;let b=dt(c,r);return s(c,b),b}return function(){return a(pt.apply(null,arguments))}}var u=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,gt=/^\d+\/\d+$/,mt=new Set(["px","full","screen"]),ft=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>D(e)||mt.has(e)||gt.test(e),R=e=>$(e,"length",Tt),D=e=>!!e&&!Number.isNaN(Number(e)),ee=e=>$(e,"number",D),U=e=>!!e&&Number.isInteger(Number(e)),vt=e=>e.endsWith("%")&&D(e.slice(0,-1)),l=e=>Ne.test(e),A=e=>ft.test(e),wt=new Set(["length","size","percentage"]),Ct=e=>$(e,wt,Te),Pt=e=>$(e,"position",Te),kt=new Set(["image","url"]),St=e=>$(e,kt,Rt),Nt=e=>$(e,"",Mt),O=()=>!0,$=(e,t,r)=>{let o=Ne.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Tt=e=>bt.test(e)&&!ht.test(e),Te=()=>!1,Mt=e=>xt.test(e),Rt=e=>yt.test(e);var At=()=>{let e=u("colors"),t=u("spacing"),r=u("blur"),o=u("brightness"),s=u("borderColor"),a=u("borderRadius"),i=u("borderSpacing"),n=u("borderWidth"),c=u("contrast"),f=u("grayscale"),b=u("hueRotate"),d=u("invert"),p=u("gap"),v=u("gradientColorStops"),C=u("gradientColorStopPositions"),y=u("inset"),h=u("margin"),w=u("opacity"),P=u("padding"),F=u("saturate"),L=u("scale"),V=u("sepia"),ge=u("skew"),me=u("space"),fe=u("translate"),Z=()=>["auto","contain","none"],J=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",l,t],g=()=>[l,t],be=()=>["",M,R],W=()=>["auto",D,l],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",l],ye=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[D,l];return{cacheSize:500,separator:":",theme:{colors:[O],spacing:[M,R],blur:["none","",A,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",A,l],borderSpacing:g(),borderWidth:be(),contrast:T(),grayscale:H(),hueRotate:T(),invert:H(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[vt,R],inset:K(),margin:K(),opacity:T(),padding:g(),saturate:T(),scale:T(),sepia:H(),skew:T(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":ye()}],"break-before":[{"break-before":ye()}],"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:[...he(),l]}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",U,l]}],basis:[{basis:K()}],"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",U,l]}],"grid-cols":[{"grid-cols":[O]}],"col-start-end":[{col:["auto",{span:["full",U,l]},l]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[O]}],"row-start-end":[{row:["auto",{span:[U,l]},l]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"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:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],Le:[{Le:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[me]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[me]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",A,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ee]}],"font-family":[{font:[O]}],"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",D,ee]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,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":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,R]}],"underline-offset":[{"underline-offset":["auto",M,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:g()}],"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":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),Pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ct]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},St]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[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":[w]}],"border-style":[{border:[..._(),"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":[w]}],"divide-style":[{divide:_()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[M,l]}],"outline-w":[{outline:[M,R]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[M,R]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,Nt]}],"shadow-color":[{shadow:[O]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",A,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[F]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"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:T()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[U,l]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[ge]}],"skew-y":[{"skew-y":[ge]}],"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-Le":[{"scroll-Le":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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:[M,R,ee]}],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"],Le:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-Le":["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 Me=ut(At);function x(...e){return Me((0,Re.clsx)(e))}var Le=require("react/jsx-runtime");function Ae({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let s=x("container",t&&"full-width",r&&"no-padding",o);return(0,Le.jsx)("div",{className:s,children:e})}var Ie=Q(require("next/image"));var ze=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${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}`};function De({blogs:e,base:t}){return(0,Le.jsx)("div",{children:e&&e.length>0&&(0,Le.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((r,o)=>(0,Le.jsx)(Lt,{post:r,id:o,base:t},o))})})}var Lt=({post:e,id:t,base:r})=>{var f,b,d,p;let{slug:o,meta:s,authors:a,categories:i,title:n,publishedAt:c}=e;return(0,Le.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Le.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,Le.jsx)(Ie.default,{src:((f=s==null?void 0:s.image)==null?void 0:f.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((b=s==null?void 0:s.image)==null?void 0:b.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Le.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Le.jsxs)("div",{children:[(0,Le.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,Le.jsx)("time",{dateTime:(d=e.publishedAt)!=null?d:void 0,className:"text-foreground",children:ze((p=e.publishedAt)!=null?p:"")}),e.categories&&e.categories.map((v,C)=>(0,Le.jsx)("a",{href:`#${v}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:v.title},C))]}),(0,Le.jsx)("div",{className:"group relative max-w-xl",children:(0,Le.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Le.jsxs)("a",{href:`/${r}/${e.slug}`||"#",children:[(0,Le.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,Le.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:a&&a.map((v,C)=>{var y;return(0,Le.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[v.profilePicture?(0,Le.jsx)("img",{alt:v.name||"Author",src:((y=v.profilePicture)==null?void 0:y.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,Le.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Le.jsx)("div",{className:"text-sm/6",children:(0,Le.jsxs)("p",{className:"text-foreground pr-6",children:[(0,Le.jsx)("span",{className:"absolute inset-0"}),v.name]})})]},C)})})]})]},t)};var E=require("next/navigation");var z=Q(require("react"));var oe=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("rounded-xl border bg-card text-card-foreground shadow",e),...t}));oe.displayName="Card";var ne=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("flex flex-col space-y-1.5 p-6",e),...t}));ne.displayName="CardHeader";var se=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("font-semibold leading-none tracking-tight",e),...t}));se.displayName="CardTitle";var zt=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("text-sm text-muted-foreground",e),...t}));zt.displayName="CardDescription";var ae=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("p-6 pt-0",e),...t}));ae.displayName="CardContent";var It=z.forwardRef(({className:e,...t},r)=>(0,Le.jsx)("div",{ref:r,className:x("flex items-center p-6 pt-0",e),...t}));It.displayName="CardFooter";var $e=require("lucide-react"),er=x("transition-colors duration-400 hover:text-primary ease-in-out");function Ee({title:e,links:t}){let r=(0,E.useSearchParams)(),o=(0,E.usePathname)(),{replace:s}=(0,E.useRouter)();function a(i){let n=new URLSearchParams(r);i?n.set("category",i):n.delete("category"),s(`${o}?${n.toString()}`)}return(0,Le.jsxs)(oe,{children:[(0,Le.jsx)(ne,{children:(0,Le.jsx)(se,{className:"text-accent",children:e&&e})}),(0,Le.jsx)(ae,{children:t&&t.length>0&&(0,Le.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Le.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,n)=>(0,Le.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),a(i.href)},children:[i.label,(0,Le.jsx)($e.ExternalLink,{className:"ml-1 h-3 w-3"})]},n))})})})]})}var Be=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Fe=Q(require("react")),Dt=(0,Ge.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),ie=Fe.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...s},a)=>(0,Le.jsx)(e?Be.Slot:"button",{className:x(Dt({className:t,size:r,variant:o})),ref:a,...s}));ie.displayName="Button";var Y=require("react-icons/fa6"),Ue=require("react"),le=x("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Oe({pages:e}){let t=(0,E.useSearchParams)(),r=(0,E.usePathname)(),{replace:o}=(0,E.useRouter)(),{totalPages:s,page:a}=e,[i,n]=(0,Ue.useState)({start:a>3?a-3:1,end:a+2}),c=d=>{d==="left"&&i.start>1?n(p=>({start:p.start-1,end:p.end-1})):d==="right"&&i.end<s&&n(p=>({start:p.start+1,end:p.end+1}))};function f(d){let p=new URLSearchParams(t);d?p.set("page",d):p.delete("page"),o(`${r}?${p.toString()}`)}if(s<=1)return null;let b=[];for(let d=i.start;d<=i.end;d++)b.push(d);return(0,Le.jsx)("div",{className:"mt-12",children:(0,Le.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[i.start>1&&(0,Le.jsx)("li",{children:(0,Le.jsx)("button",{className:x(le,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,Le.jsx)(Y.FaArrowLeft,{})})}),b.map((d,p)=>(0,Le.jsx)("li",{children:(0,Le.jsx)("a",{className:x(le,d===a?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:v=>{v.preventDefault(),f(d.toString())},children:d})},p)),i.end<s&&(0,Le.jsx)("li",{children:(0,Le.jsx)("button",{className:x(le,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,Le.jsx)(Y.FaArrowRight,{})})})]})})}function We({types:e}){let[t,r]=(0,Ue.useState)(e&&e[0].href),o=(0,E.useSearchParams)(),s=(0,E.usePathname)(),{replace:a}=(0,E.useRouter)();function i(n){let c=new URLSearchParams(o);n?c.set("type",n):c.delete("type"),r(n),a(`${s}?${c.toString()}`)}return(0,Le.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,Le.jsx)(ie,{variant:n.href===t?"default":"ghost",className:x("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(n.href),children:n.label},c))})}function de({blogs:e,pages:t,categories:r,types:o,base:s}){return(0,Le.jsx)("section",{children:(0,Le.jsx)(Ae,{children:(0,Le.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Le.jsxs)("div",{children:[o&&(0,Le.jsx)(We,{types:o}),(0,Le.jsx)(De,{blogs:e,base:s}),(0,Le.jsx)(Oe,{pages:t})]}),(0,Le.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Le.jsx)("div",{className:"lg:-mt-24 w-full",children:r&&r.links&&(0,Le.jsx)(Ee,{links:r.links,title:r.title})})})]})})})}var $t={title:"Website Components/BlogListSection",component:de,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},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,Le.jsx)(e,{})]},pe=e=>(0,Le.jsx)(de,{...e}),q=pe.bind({});q.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},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 _e=pe.bind({});_e.args={...q.args,pages:{totalPages:40,page:20}};var je=pe.bind({});je.args={...q.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
4
+ "use strict";var De=Object.create;var V=Object.defineProperty;var Fe=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty;var Ve=(e,t)=>{for(var r in t)V(e,r,{get:t[r],enumerable:!0})},ue=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Oe(t))!Ee.call(e,n)&&n!==r&&V(e,n,{get:()=>t[n],enumerable:!(o=Fe(t,n))||o.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?De(Ue(e)):{},ue(t||!e||!e.__esModule?V(r,"default",{value:e,enumerable:!0}):r,e)),We=e=>ue(V({},"__esModule",{value:!0}),e);var Ct={};Ve(Ct,{Default:()=>j,LoadsOfBlogs:()=>Be,NoCategories:()=>Ge,default:()=>kt});module.exports=We(Ct);var we=require("clsx");var K="-",je=e=>{let t=Ye(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let a=i.split(K);return a[0]===""&&a.length!==1&&a.shift(),fe(a,t)||_e(i)},getConflictingClassGroupIds:(i,a)=>{let c=r[i]||[];return a&&o[i]?[...c,...o[i]]:c}}},fe=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?fe(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(K);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},ge=/^\[(.+)\]$/,_e=e=>{if(ge.test(e)){let t=ge.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ye=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Ze(Object.entries(e.classGroups),r).forEach(([s,i])=>{J(i,o,s,t)}),o},J=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:me(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(qe(n)){J(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,i])=>{J(i,me(t,s),r,o)})})},me=(e,t)=>{let r=e;return t.split(K).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},qe=e=>e.isThemeGetter,Ze=(e,t)=>t?e.map(([r,o])=>{let n=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[r,n]}):e,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return n(s,i),i},set(s,i){r.has(s)?r.set(s,i):n(s,i)}}},be="!",Je=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],s=t.length,i=a=>{let c=[],f=0,b=0,d;for(let h=0;h<a.length;h++){let v=a[h];if(f===0){if(v===n&&(o||a.slice(h,h+s)===t)){c.push(a.slice(b,h)),b=h+s;continue}if(v==="/"){d=h;continue}}v==="["?f++:v==="]"&&f--}let u=c.length===0?a:a.substring(b),y=u.startsWith(be),w=y?u.substring(1):u,x=d&&d>b?d-b:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:x}};return r?a=>r({className:a,parseClassName:i}):i},Ke=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},Xe=e=>({cache:He(e.cacheSize),parseClassName:Je(e),...je(e)}),Qe=/\s+/,et=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=[],i=e.trim().split(Qe),a="";for(let c=i.length-1;c>=0;c-=1){let f=i[c],{modifiers:b,hasImportantModifier:d,baseClassName:u,maybePostfixModifierPosition:y}=r(f),w=!!y,x=o(w?u.substring(0,y):u);if(!x){if(!w){a=f+(a.length>0?" "+a:a);continue}if(x=o(u),!x){a=f+(a.length>0?" "+a:a);continue}w=!1}let h=Ke(b).join(":"),v=d?h+be:h,P=v+x;if(s.includes(P))continue;s.push(P);let B=n(x,w);for(let T=0;T<B.length;++T){let O=B[T];s.push(v+O)}a=f+(a.length>0?" "+a:a)}return a};function tt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=he(t))&&(o&&(o+=" "),o+=r);return o}var he=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=he(e[o]))&&(r&&(r+=" "),r+=t);return r};function rt(e,...t){let r,o,n,s=i;function i(c){let f=t.reduce((b,d)=>d(b),e());return r=Xe(f),o=r.cache.get,n=r.cache.set,s=a,a(c)}function a(c){let f=o(c);if(f)return f;let b=et(c,r);return n(c,b),b}return function(){return s(tt.apply(null,arguments))}}var p=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},xe=/^\[(?:([a-ke-]+):)?(.+)\]$/i,ot=/^\d+\/\d+$/,nt=new Set(["px","full","screen"]),st=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lt=/^(inset_)?-?((\d+)?\.?(\d+)[a-ke]+|0)_-?((\d+)?\.?(\d+)[a-ke]+|0)/,ct=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>I(e)||nt.has(e)||ot.test(e),A=e=>R(e,"length",ht),I=e=>!!e&&!Number.isNaN(Number(e)),H=e=>R(e,"number",I),D=e=>!!e&&Number.isInteger(Number(e)),dt=e=>e.endsWith("%")&&I(e.slice(0,-1)),l=e=>xe.test(e),M=e=>st.test(e),ut=new Set(["length","size","percentage"]),pt=e=>R(e,ut,ye),gt=e=>R(e,"position",ye),mt=new Set(["image","url"]),ft=e=>R(e,mt,yt),bt=e=>R(e,"",xt),F=()=>!0,R=(e,t,r)=>{let o=xe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},ht=e=>at.test(e)&&!it.test(e),ye=()=>!1,xt=e=>lt.test(e),yt=e=>ct.test(e);var vt=()=>{let e=p("colors"),t=p("spacing"),r=p("blur"),o=p("brightness"),n=p("borderColor"),s=p("borderRadius"),i=p("borderSpacing"),a=p("borderWidth"),c=p("contrast"),f=p("grayscale"),b=p("hueRotate"),d=p("invert"),u=p("gap"),y=p("gradientColorStops"),w=p("gradientColorStopPositions"),x=p("inset"),h=p("margin"),v=p("opacity"),P=p("padding"),B=p("saturate"),T=p("scale"),O=p("sepia"),ne=p("skew"),se=p("space"),ae=p("translate"),_=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",l,t],g=()=>[l,t],ie=()=>["",N,A],U=()=>["auto",I,l],le=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[I,l];return{cacheSize:500,separator:":",theme:{colors:[F],spacing:[N,A],blur:["none","",M,l],brightness:S(),borderColor:[e],borderRadius:["none","","full",M,l],borderSpacing:g(),borderWidth:ie(),contrast:S(),grayscale:G(),hueRotate:S(),invert:G(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[dt,A],inset:q(),margin:q(),opacity:S(),padding:g(),saturate:S(),scale:S(),sepia:G(),skew:S(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"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:[...le(),l]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],ke:[{ke:["auto",D,l]}],basis:[{basis:q()}],"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:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",D,l]}],"grid-cols":[{"grid-cols":[F]}],"col-start-end":[{col:["auto",{span:["full",D,l]},l]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[F]}],"row-start-end":[{row:["auto",{span:[D,l]},l]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],ke:[{ke:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",H]}],"font-family":[{font:[F]}],"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",I,H]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,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":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,A]}],"underline-offset":[{"underline-offset":["auto",N,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:g()}],"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":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...le(),gt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ft]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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-ke":[{"rounded-ke":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:E()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[N,l]}],"outline-w":[{outline:[N,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[N,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,bt]}],"shadow-color":[{shadow:[F]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ce()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",M,l]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[d]}],saturate:[{saturate:[B]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"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:S()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:S()}],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:[D,l]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[ne]}],"skew-y":[{"skew-y":[ne]}],"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-ke":[{"scroll-ke":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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:[N,A,H]}],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"],ke:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ke","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ke"],"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-ke":["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 ve=rt(vt);function k(...e){return ve((0,we.clsx)(e))}var ke=require("react/jsx-runtime");function Pe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:o=""}){let n=k("container",t&&"full-width",r&&"no-padding",o);return(0,ke.jsx)("div",{className:n,children:e})}var Se=pe(require("next/image"));var Ce=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),n=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${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)} ${n}`};function Ne({blogs:e,base:t}){return(0,ke.jsx)("div",{children:e&&e.length>0&&(0,ke.jsx)("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:e.map((r,o)=>(0,ke.jsx)(wt,{post:r,id:o,base:t},o))})})}var wt=({post:e,id:t,base:r})=>{var f,b,d,u;let{slug:o,meta:n,authors:s,categories:i,title:a,publishedAt:c}=e;return(0,ke.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,ke.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,ke.jsx)(Se.default,{src:((f=n==null?void 0:n.image)==null?void 0:f.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((b=n==null?void 0:n.image)==null?void 0:b.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,ke.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,ke.jsxs)("div",{children:[(0,ke.jsxs)("div",{className:"flex items-center gap-x-4 text-xs",children:[(0,ke.jsx)("time",{dateTime:(d=e.publishedAt)!=null?d:void 0,className:"text-foreground",children:Ce((u=e.publishedAt)!=null?u:"")}),e.categories&&e.categories.map((y,w)=>(0,ke.jsx)("a",{href:`#${y}`,className:"relative ke-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:y.title},w))]}),(0,ke.jsx)("div",{className:"group relative max-w-xl",children:(0,ke.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,ke.jsxs)("a",{href:`/${r}/${e.slug}`||"#",children:[(0,ke.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,ke.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((y,w)=>{var x;return(0,ke.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[y.profilePicture?(0,ke.jsx)("img",{alt:y.name||"Author",src:((x=y.profilePicture)==null?void 0:x.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,ke.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,ke.jsx)("div",{className:"text-sm/6",children:(0,ke.jsxs)("p",{className:"text-foreground pr-6",children:[(0,ke.jsx)("span",{className:"absolute inset-0"}),y.name]})})]},w)})})]})]},t)};var ze=require("@radix-ui/react-slot"),Ae=require("class-variance-authority"),Me=pe(require("react")),Pt=(0,Ae.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),X=Me.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...n},s)=>(0,ke.jsx)(e?ze.Slot:"button",{className:k(Pt({className:t,size:r,variant:o})),ref:s,...n}));X.displayName="Button";var L=require("next/navigation"),W=require("react-icons/fa6"),Ie=require("react"),Q=k("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function Re({pages:e}){let t=(0,L.useSearchParams)(),r=(0,L.usePathname)(),{replace:o}=(0,L.useRouter)(),{totalPages:n,page:s}=e,[i,a]=(0,Ie.useState)({start:s>3?s-3:1,end:s+2}),c=d=>{d==="left"&&i.start>1?a(u=>({start:u.start-1,end:u.end-1})):d==="right"&&i.end<n&&a(u=>({start:u.start+1,end:u.end+1}))};function f(d){let u=new URLSearchParams(t);d?u.set("page",d):u.delete("page"),o(`${r}?${u.toString()}`)}if(n<=1)return null;let b=[];for(let d=i.start;d<=i.end;d++)b.push(d);return(0,ke.jsx)("div",{className:"mt-12",children:(0,ke.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[i.start>1&&(0,ke.jsx)("li",{children:(0,ke.jsx)("button",{className:k(Q,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,ke.jsx)(W.FaArrowLeft,{})})}),b.map((d,u)=>(0,ke.jsx)("li",{children:(0,ke.jsx)("a",{className:k(Q,d===s?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:y=>{y.preventDefault(),f(d.toString())},children:d})},u)),i.end<n&&(0,ke.jsx)("li",{children:(0,ke.jsx)("button",{className:k(Q,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,ke.jsx)(W.FaArrowRight,{})})})]})})}function $e({types:e}){let[t,r]=(0,Ie.useState)(e&&e[0].href),o=(0,$.useSearchParams)(),n=(0,$.usePathname)(),{replace:s}=(0,$.useRouter)();function i(a){let c=new URLSearchParams(o);a?c.set("type",a):c.delete("type"),r(a),s(`${n}?${c.toString()}`)}return(0,ke.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((a,c)=>(0,ke.jsx)(X,{variant:a.href===t?"default":"ghost",className:k("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",a.href===t&&"bg-accent text-accent-foreground"),onClick:()=>i(a.href),children:a.label},c))})}function te({blogs:e,pages:t,categories:r,types:o,base:n}){return(0,ke.jsx)("section",{children:(0,ke.jsx)(Pe,{children:(0,ke.jsx)("div",{className:"grid",children:(0,ke.jsxs)("div",{children:[o&&(0,ke.jsx)($e,{types:o}),(0,ke.jsx)(Ne,{blogs:e,base:n}),(0,ke.jsx)(Re,{pages:t})]})})})})}var kt={title:"Website Components/BlogListSection",component:te,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},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,ke.jsx)(e,{})]},re=e=>(0,ke.jsx)(te,{...e}),j=re.bind({});j.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},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 Be=re.bind({});Be.args={...j.args,pages:{totalPages:40,page:20}};var Ge=re.bind({});Ge.args={...j.args,categories:{title:"Categories"}};0&&(module.exports={Default,LoadsOfBlogs,NoCategories});
@@ -1 +1 @@
1
- import{a as t}from"../chunk-XYLYPBZO.mjs";import"../chunk-VV7TUGRV.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as a}from"react/jsx-runtime";var l={title:"Website Components/BlogListSection",component:t,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},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=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},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 r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,l as default};
1
+ import{a as t}from"../chunk-G3XMLLE4.mjs";import"../chunk-DPZBRGJ3.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as a}from"react/jsx-runtime";var l={title:"Website Components/BlogListSection",component:t,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},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=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},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 r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,l as default};
@@ -1 +1 @@
1
- import{a,b}from"../chunk-LCBC4XAC.mjs";import"../chunk-GSKQEJUW.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-R7CSR27B.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-NMVLT3F5.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";export{a as ContactSection,b as LocationsSection};
1
+ import{a,b}from"../chunk-GFGZH4RJ.mjs";import"../chunk-VSNDROOR.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-FJGFNXYG.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UWCJNBSM.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";export{a as ContactSection,b as LocationsSection};
@@ -1 +1 @@
1
- import{a as o}from"../chunk-LCBC4XAC.mjs";import"../chunk-GSKQEJUW.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-R7CSR27B.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-NMVLT3F5.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Website Components/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
1
+ import{a as o}from"../chunk-GFGZH4RJ.mjs";import"../chunk-VSNDROOR.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-FJGFNXYG.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-UWCJNBSM.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";import{Toaster as a}from"sonner";import{Fragment as c,jsx as e,jsxs as s}from"react/jsx-runtime";var l={title:"Website Components/ContactSection",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{},decorators:[t=>s(c,{children:[e(t,{}),e(a,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9})]})]},n=t=>e(o,{...t}),i=n.bind({});i.args={sectionHeading:{title:"Get in Touch",subtitle:"We would love to hear from you"},image:{src:"/assets/images/contact.png",alt:"Contact Us",blurDataURL:"data:image/jpeg;base64,..."},contactInfo:{sectionHeading:{title:"Contact Information",subtitle:"Reach out to us through any of the following methods"},location:"123 Main Street, Anytown, AT 12345",mail:"info@example.com",phone:"+1 (555) 123-4567"},locations:[{title:"Head Office",location:"123 Main Street, Anytown, AT 12345",mails:["headoffice@example.com"],phoneNumbers:["+1 (555) 123-4567"],embedUrl:"https://www.google.com/maps/embed?..."},{title:"Branch Office",location:"456 Elm Street, Othertown, OT 67890",mails:["branchoffice@example.com"],phoneNumbers:["+1 (555) 987-6543"],embedUrl:"https://www.google.com/maps/embed?..."}]};export{i as Default,l as default};
@@ -1 +1 @@
1
- import{a}from"../chunk-X76XZNRS.mjs";import{g as t}from"../chunk-NMVLT3F5.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};
1
+ import{a}from"../chunk-X76XZNRS.mjs";import{g as t}from"../chunk-UWCJNBSM.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as e}from"react/jsx-runtime";var o={title:"Reusable Blocks/ImageSection",component:a,parameters:{layout:"fullscreen"},tags:["autodocs"],argTypes:{image:{control:"text",description:"URL of the background image. Defaults to a professional stock photo."},imageAlt:{control:"text",description:"Alt text for the background image"},imagePosition:{control:"radio",options:["left","right"],description:"Position of the content relative to the image"},overlay:{control:"boolean",description:"Whether to show the gradient overlay on the image"}}},l=o,p={args:{imagePosition:"left",children:e(t,{variant:"gradient",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},c={args:{imagePosition:"right",children:e(t,{variant:"gradient",heading:"Results",statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]}]}}})}},r={args:{imagePosition:"left",children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}},u={args:{...r.args,overlay:!1}},d={args:{...r.args,children:e(t,{variant:"radial",heading:"Duis aute irure dolor",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}})}};export{d as LoadsOfText,u as NoOverlay,p as WithGradientCard,r as WithRadialCard,c as WithStatsCard,l as default};