cortex-react-components 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-3FH4D24Y.mjs +1 -0
- package/dist/chunk-44TDI42O.mjs +1 -0
- package/dist/chunk-4WMKXAGU.mjs +1 -0
- package/dist/chunk-5JPWYRNZ.mjs +1 -0
- package/dist/chunk-5VU5KT3M.mjs +1 -0
- package/dist/chunk-6P7CY367.mjs +1 -0
- package/dist/chunk-6XQN7JHH.mjs +1 -0
- package/dist/chunk-BOPZHZ27.mjs +1 -0
- package/dist/chunk-BZVOHDLV.mjs +1 -0
- package/dist/chunk-CJTRVASG.mjs +1 -0
- package/dist/chunk-DYHP6A4B.mjs +3 -0
- package/dist/chunk-EEMR5C75.mjs +1 -0
- package/dist/chunk-HQ5V5FY5.mjs +1 -0
- package/dist/chunk-I6MWUGBD.mjs +1 -0
- package/dist/chunk-MY7YCD7T.mjs +1 -0
- package/dist/chunk-N4CGJXNI.mjs +1 -0
- package/dist/chunk-NEW735FX.mjs +1 -0
- package/dist/chunk-OANFAQE4.mjs +1 -0
- package/dist/chunk-OTS4QNQ2.mjs +1 -0
- package/dist/chunk-PPQGQK27.mjs +1 -0
- package/dist/chunk-PV4EARTR.mjs +1 -0
- package/dist/chunk-QVT7M33X.mjs +1 -0
- package/dist/chunk-RTU6IVSY.mjs +1 -0
- package/dist/chunk-VI6PF7VY.mjs +1 -0
- package/dist/chunk-X42HILQB.mjs +1 -0
- package/dist/chunk-YQY5Z73J.mjs +1 -0
- package/dist/chunk-ZBSVA7YF.mjs +1 -0
- package/dist/client/Blocks/Banner.d.ts +7 -0
- package/dist/client/Blocks/Banner.js +1 -0
- package/dist/client/Blocks/Banner.mjs +1 -0
- package/dist/client/Blocks/CallToAction.d.ts +3 -0
- package/dist/client/Blocks/CallToAction.js +1 -0
- package/dist/client/Blocks/CallToAction.mjs +1 -0
- package/dist/client/Blocks/CaseStudy.d.ts +16 -0
- package/dist/client/Blocks/CaseStudy.js +1 -0
- package/dist/client/Blocks/CaseStudy.mjs +1 -0
- package/dist/client/Blocks/CaseStudy.stories.js +1 -0
- package/dist/client/Blocks/CaseStudy.stories.mjs +1 -0
- package/dist/client/Blocks/Code.client.d.ts +7 -0
- package/dist/client/Blocks/Code.client.js +2 -0
- package/dist/client/Blocks/Code.client.mjs +2 -0
- package/dist/client/Blocks/Code.d.ts +11 -0
- package/dist/client/Blocks/Code.js +1 -0
- package/dist/client/Blocks/Code.mjs +1 -0
- package/dist/client/Blocks/ConsultantProfile.d.ts +28 -0
- package/dist/client/Blocks/ConsultantProfile.js +1 -0
- package/dist/client/Blocks/ConsultantProfile.mjs +1 -0
- package/dist/client/Blocks/ConsultantProfile.stories.js +1 -0
- package/dist/client/Blocks/ConsultantProfile.stories.mjs +1 -0
- package/dist/client/Blocks/Content.d.ts +3 -0
- package/dist/client/Blocks/Content.js +1 -0
- package/dist/client/Blocks/Content.mjs +1 -0
- package/dist/client/Blocks/CopyButton.d.ts +3 -0
- package/dist/client/Blocks/CopyButton.js +2 -0
- package/dist/client/Blocks/CopyButton.mjs +2 -0
- package/dist/client/Blocks/FeaturesBlock.d.ts +27 -0
- package/dist/client/Blocks/FeaturesBlock.js +1 -0
- package/dist/client/Blocks/FeaturesBlock.mjs +1 -0
- package/dist/client/Blocks/FeaturesBlock.stories.js +1 -0
- package/dist/client/Blocks/FeaturesBlock.stories.mjs +1 -0
- package/dist/client/Blocks/HeadingImage.d.ts +9 -0
- package/dist/client/Blocks/HeadingImage.js +1 -0
- package/dist/client/Blocks/HeadingImage.mjs +1 -0
- package/dist/client/Blocks/HeadingImage.stories.js +1 -0
- package/dist/client/Blocks/HeadingImage.stories.mjs +1 -0
- package/dist/client/Blocks/ImageBlock.d.ts +14 -0
- package/dist/client/Blocks/ImageBlock.js +1 -0
- package/dist/client/Blocks/ImageBlock.mjs +1 -0
- package/dist/client/Blocks/InfoTile.d.ts +9 -0
- package/dist/client/Blocks/InfoTile.js +1 -0
- package/dist/client/Blocks/InfoTile.mjs +1 -0
- package/dist/client/Blocks/InfoTile.stories.js +2 -0
- package/dist/client/Blocks/InfoTile.stories.mjs +2 -0
- package/dist/client/Blocks/Insight.d.ts +11 -0
- package/dist/client/Blocks/Insight.js +2 -0
- package/dist/client/Blocks/Insight.mjs +2 -0
- package/dist/client/Blocks/Insight.stories.js +2 -0
- package/dist/client/Blocks/Insight.stories.mjs +2 -0
- package/dist/client/Blocks/MOTD.d.ts +9 -0
- package/dist/client/Blocks/MOTD.js +1 -0
- package/dist/client/Blocks/MOTD.mjs +1 -0
- package/dist/client/Blocks/MOTD.stories.js +2 -0
- package/dist/client/Blocks/MOTD.stories.mjs +2 -0
- package/dist/client/Blocks/MediaBlock.d.ts +14 -0
- package/dist/client/Blocks/MediaBlock.js +1 -0
- package/dist/client/Blocks/MediaBlock.mjs +1 -0
- package/dist/client/Blocks/OrgChart.d.ts +1 -0
- package/dist/client/Blocks/OrgChart.js +2 -0
- package/dist/client/Blocks/OrgChart.mjs +2 -0
- package/dist/client/Blocks/OrgChart.stories.js +1 -0
- package/dist/client/Blocks/OrgChart.stories.mjs +1 -0
- package/dist/client/Blocks/ProposalSummary.d.ts +20 -0
- package/dist/client/Blocks/ProposalSummary.js +1 -0
- package/dist/client/Blocks/ProposalSummary.mjs +1 -0
- package/dist/client/Blocks/ProposalSummary.stories.js +1 -0
- package/dist/client/Blocks/ProposalSummary.stories.mjs +1 -0
- package/dist/client/Blocks/RelatedPosts.d.ts +8 -0
- package/dist/client/Blocks/RelatedPosts.js +1 -0
- package/dist/client/Blocks/RelatedPosts.mjs +1 -0
- package/dist/client/Blocks/RenderBlocks.d.ts +5 -0
- package/dist/client/Blocks/RenderBlocks.js +1 -0
- package/dist/client/Blocks/RenderBlocks.mjs +1 -0
- package/dist/client/Blocks/WhyUs.d.ts +1 -0
- package/dist/client/Blocks/WhyUs.js +1 -0
- package/dist/client/Blocks/WhyUs.mjs +1 -0
- package/dist/client/Blocks/WhyUs.stories.js +1 -0
- package/dist/client/Blocks/WhyUs.stories.mjs +1 -0
- package/dist/client/Blocks/index.d.ts +6 -0
- package/dist/client/Blocks/index.js +1 -0
- package/dist/client/Blocks/index.mjs +1 -0
- package/dist/client/Images/DynamicIcon.d.ts +10 -0
- package/dist/client/Images/DynamicIcon.js +2 -0
- package/dist/client/Images/DynamicIcon.mjs +2 -0
- package/dist/client/Images/DynamicIcon.stories.js +1 -0
- package/dist/client/Images/DynamicIcon.stories.mjs +1 -0
- package/dist/client/Images/IconIndex.js +18 -0
- package/dist/client/Images/IconIndex.mjs +18 -0
- package/dist/client/Images/customIconList.js +1 -0
- package/dist/client/Images/customIconList.mjs +1 -0
- package/dist/client/Images/index.d.ts +2 -0
- package/dist/client/Images/index.js +1 -0
- package/dist/client/Images/index.mjs +1 -0
- package/dist/client/Payload/Card/index.d.ts +10 -0
- package/dist/client/Payload/Card/index.js +2 -0
- package/dist/client/Payload/Card/index.mjs +2 -0
- package/dist/client/Payload/CollectionArchive/index.d.ts +6 -0
- package/dist/client/Payload/CollectionArchive/index.js +1 -0
- package/dist/client/Payload/CollectionArchive/index.mjs +1 -0
- package/dist/client/Payload/Link/index.d.ts +19 -0
- package/dist/client/Payload/Link/index.js +1 -0
- package/dist/client/Payload/Link/index.mjs +1 -0
- package/dist/client/Payload/Logo/Logo.d.ts +7 -0
- package/dist/client/Payload/Logo/Logo.js +1 -0
- package/dist/client/Payload/Logo/Logo.mjs +1 -0
- package/dist/client/Payload/Media/ImageMedia/index.d.ts +3 -0
- package/dist/client/Payload/Media/ImageMedia/index.js +2 -0
- package/dist/client/Payload/Media/ImageMedia/index.mjs +2 -0
- package/dist/client/Payload/Media/VideoMedia/index.d.ts +3 -0
- package/dist/client/Payload/Media/VideoMedia/index.js +2 -0
- package/dist/client/Payload/Media/VideoMedia/index.mjs +2 -0
- package/dist/client/Payload/Media/index.d.ts +3 -0
- package/dist/client/Payload/Media/index.js +1 -0
- package/dist/client/Payload/Media/index.mjs +1 -0
- package/dist/client/Payload/Media/types.d.ts +19 -0
- package/dist/client/Payload/Media/types.js +1 -0
- package/dist/client/Payload/PageRange/index.d.ts +12 -0
- package/dist/client/Payload/PageRange/index.js +1 -0
- package/dist/client/Payload/PageRange/index.mjs +1 -0
- package/dist/client/Payload/Pagination/index.d.ts +6 -0
- package/dist/client/Payload/Pagination/index.js +2 -0
- package/dist/client/Payload/Pagination/index.mjs +2 -0
- package/dist/client/Payload/RichText/index.d.ts +9 -0
- package/dist/client/Payload/RichText/index.js +1 -0
- package/dist/client/Payload/RichText/index.mjs +1 -0
- package/dist/client/Payload/RichText/nodeFormat.d.ts +44 -0
- package/dist/client/Payload/RichText/nodeFormat.js +3 -0
- package/dist/client/Payload/RichText/nodeFormat.mjs +1 -0
- package/dist/client/Payload/RichText/serialize.d.ts +10 -0
- package/dist/client/Payload/RichText/serialize.js +1 -0
- package/dist/client/Payload/RichText/serialize.mjs +1 -0
- package/dist/client/ui/alert.stories.js +1 -1
- package/dist/client/ui/alert.stories.mjs +1 -1
- package/dist/client/ui/badge.d.ts +1 -1
- package/dist/client/ui/button.d.ts +1 -1
- package/dist/client/ui/command.d.ts +13 -13
- package/dist/client/ui/index.mjs +1 -1
- package/dist/client/ui/pagination.mjs +1 -1
- package/dist/client/ui/sheet.d.ts +1 -1
- package/dist/globals.css +1 -1
- package/dist/payload-types.d.ts +2225 -0
- package/dist/payload-types.js +1 -0
- package/dist/server/bars/index.mjs +1 -1
- package/dist/server/dots/index.mjs +1 -1
- package/dist/server/index.mjs +1 -1
- package/dist/utils/canUseDOM.d.ts +2 -0
- package/dist/utils/canUseDOM.js +1 -0
- package/dist/utils/canUseDOM.mjs +1 -0
- package/dist/utils/getURL.d.ts +2 -0
- package/dist/utils/getURL.js +1 -0
- package/dist/utils/getURL.mjs +1 -0
- package/dist/utils/useClickableCard.d.ts +16 -0
- package/dist/utils/useClickableCard.js +2 -0
- package/dist/utils/useClickableCard.mjs +2 -0
- package/package.json +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var or=Object.create;var X=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ar=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty;var lr=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},ke=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of sr(r))!ir.call(e,s)&&s!==t&&X(e,s,{get:()=>r[s],enumerable:!(n=nr(r,s))||n.enumerable});return e};var F=(e,r,t)=>(t=e!=null?or(ar(e)):{},ke(r||!e||!e.__esModule?X(t,"default",{value:e,enumerable:!0}):t,e)),cr=e=>ke(X({},"__esModule",{value:!0}),e);var Kr={};lr(Kr,{RelatedPosts:()=>Jr});module.exports=cr(Kr);var tr=F(require("clsx"));var Ee=require("clsx");var de="-",dr=e=>{let r=ur(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let a=i.split(de);return a[0]===""&&a.length!==1&&a.shift(),Ne(a,r)||pr(i)},getConflictingClassGroupIds:(i,a)=>{let p=t[i]||[];return a&&n[i]?[...p,...n[i]]:p}}},Ne=(e,r)=>{var i;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),s=n?Ne(e.slice(1),n):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(de);return(i=r.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Pe=/^\[(.+)\]$/,pr=e=>{if(Pe.test(e)){let r=Pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},ur=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return fr(Object.entries(e.classGroups),t).forEach(([o,i])=>{ce(i,n,o,r)}),n},ce=(e,r,t,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:Re(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(mr(s)){ce(s(n),r,t,n);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,i])=>{ce(i,Re(r,o),t,n)})})},Re=(e,r)=>{let t=e;return r.split(de).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},mr=e=>e.isThemeGetter,fr=(e,r)=>r?e.map(([t,n])=>{let s=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[r+i,a])):o);return[t,s]}):e,gr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,s=(o,i)=>{t.set(o,i),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let i=t.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return s(o,i),i},set(o,i){t.has(o)?t.set(o,i):s(o,i)}}},Te="!",br=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,s=r[0],o=r.length,i=a=>{let p=[],d=0,m=0,c;for(let g=0;g<a.length;g++){let v=a[g];if(d===0){if(v===s&&(n||a.slice(g,g+o)===r)){p.push(a.slice(m,g)),m=g+o;continue}if(v==="/"){c=g;continue}}v==="["?d++:v==="]"&&d--}let u=p.length===0?a:a.substring(m),h=u.startsWith(Te),A=h?u.substring(1):u,f=c&&c>m?c-m:void 0;return{modifiers:p,hasImportantModifier:h,baseClassName:A,maybePostfixModifierPosition:f}};return t?a=>t({className:a,parseClassName:i}):i},yr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},hr=e=>({cache:gr(e.cacheSize),parseClassName:br(e),...dr(e)}),wr=/\s+/,vr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:s}=r,o=[],i=e.trim().split(wr),a="";for(let p=i.length-1;p>=0;p-=1){let d=i[p],{modifiers:m,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:h}=t(d),A=!!h,f=n(A?u.substring(0,h):u);if(!f){if(!A){a=d+(a.length>0?" "+a:a);continue}if(f=n(u),!f){a=d+(a.length>0?" "+a:a);continue}A=!1}let g=yr(m).join(":"),v=c?g+Te:g,C=v+f;if(o.includes(C))continue;o.push(C);let R=s(f,A);for(let N=0;N<R.length;++N){let L=R[N];o.push(v+L)}a=d+(a.length>0?" "+a:a)}return a};function xr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Be(r))&&(n&&(n+=" "),n+=t);return n}var Be=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Be(e[n]))&&(t&&(t+=" "),t+=r);return t};function Ar(e,...r){let t,n,s,o=i;function i(p){let d=r.reduce((m,c)=>c(m),e());return t=hr(d),n=t.cache.get,s=t.cache.set,o=a,a(p)}function a(p){let d=n(p);if(d)return d;let m=vr(p,t);return s(p,m),m}return function(){return o(xr.apply(null,arguments))}}var b=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Me=/^\[(?:([a-q-]+):)?(.+)\]$/i,Cr=/^\d+\/\d+$/,kr=new Set(["px","full","screen"]),Pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(q|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Nr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-q]+|0)q-?((\d+)?\.?(\d+)[a-q]+|0)/,Br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>U(e)||kr.has(e)||Cr.test(e),S=e=>G(e,"length",Ur),U=e=>!!e&&!Number.isNaN(Number(e)),le=e=>G(e,"number",U),V=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&U(e.slice(0,-1)),l=e=>Me.test(e),I=e=>Pr.test(e),Sr=new Set(["length","size","percentage"]),Ir=e=>G(e,Sr,Se),Er=e=>G(e,"position",Se),zr=new Set(["image","url"]),Lr=e=>G(e,zr,Dr),Fr=e=>G(e,"",Gr),Q=()=>!0,G=(e,r,t)=>{let n=Me.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Ur=e=>Rr.test(e)&&!Nr.test(e),Se=()=>!1,Gr=e=>Tr.test(e),Dr=e=>Br.test(e);var Hr=()=>{let e=b("colors"),r=b("spacing"),t=b("blur"),n=b("brightness"),s=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),a=b("borderWidth"),p=b("contrast"),d=b("grayscale"),m=b("hueRotate"),c=b("invert"),u=b("gap"),h=b("gradientColorStops"),A=b("gradientColorStopPositions"),f=b("inset"),g=b("margin"),v=b("opacity"),C=b("padding"),R=b("saturate"),N=b("scale"),L=b("sepia"),J=b("skew"),he=b("space"),we=b("translate"),ne=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",l,r],y=()=>[l,r],ve=()=>["",B,S],K=()=>["auto",U,l],xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],O=()=>["","0",l],Ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[U,l];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[B,S],blur:["none","",I,l],brightness:T(),borderColor:[e],borderRadius:["none","","full",I,l],borderSpacing:y(),borderWidth:ve(),contrast:T(),grayscale:O(),hueRotate:T(),invert:O(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[Mr,S],inset:ae(),margin:ae(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:O(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[I]}],"break-after":[{"break-after":Ce()}],"break-before":[{"break-before":Ce()}],"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:[...xe(),l]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-y":[{"overflow-y":se()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],q:[{q:["auto",V,l]}],basis:[{basis:ae()}],"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:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"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",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],q:[{q:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[he]}],"space-y-reverse":["space-y-reverse"],q:[{q:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-q":[{"min-q":[l,r,"min","max","fit"]}],"max-q":[{"max-q":[l,r,"none","full","min","max","fit","prose",{screen:[I]},I]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",I,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[Q]}],"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",U,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,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:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,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:y()}],"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:[...xe(),Er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ir]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-Oe":[{"rounded-Oe":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-q":[{border:[a]}],"border-q-x":[{"border-x":[a]}],"border-q-y":[{"border-y":[a]}],"border-q-s":[{"border-s":[a]}],"border-q-e":[{"border-e":[a]}],"border-q-t":[{"border-t":[a]}],"border-q-r":[{"border-r":[a]}],"border-q-b":[{"border-b":[a]}],"border-q-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"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:Y()}],"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:["",...Y()]}],"outline-offset":[{"outline-offset":[B,l]}],"outline-q":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-q":[{ring:ve()}],"ring-q-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-q":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",I,Fr]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ae()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",I,l]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[c]}],saturate:[{saturate:[R]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"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:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[V,l]}],"translate-x":[{"translate-x":[we]}],"translate-y":[{"translate-y":[we]}],"skew-x":[{"skew-x":[J]}],"skew-y":[{"skew-y":[J]}],"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","q-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-q":[{"scroll-q":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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-q":[{stroke:[B,S,le]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["q","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-Oe","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Oe"],"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-q":["border-q-s","border-q-e","border-q-t","border-q-r","border-q-b","border-q-l"],"border-q-x":["border-q-r","border-q-l"],"border-q-y":["border-q-t","border-q-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","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 Ie=Ar(Hr);function x(...e){return Ie((0,Ee.clsx)(e))}var q=require("react/jsx-runtime"),ze=({className:e,content:r,style:t})=>(0,q.jsx)("div",{className:x("mx-auto my-8 q-full",e),children:(0,q.jsx)("div",{className:x("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,q.jsx)(D,{content:r,enableGutter:!1,enableProse:!1})})});var Le=require("@radix-ui/react-slot"),Fe=require("class-variance-authority"),Ue=F(require("react")),Or=(0,Fe.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 q-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),j=Ue.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...s},o)=>(0,q.jsx)(e?Le.Slot:"button",{className:x(Or({className:r,size:t,variant:n})),ref:o,...s}));j.displayName="Button";var pe=F(require("next/link")),W=e=>{let{type:r,appearance:t="inline",children:n,className:s,label:o,newTab:i,reference:a,size:p,url:d}=e,m=r==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:d;if(!m)return null;let c=t==="link"?"clear":p,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,q.jsxs)(pe.default,{className:x(s),href:m||d||"",...u,children:[o&&o,n&&n]}):(0,q.jsx)(j,{asChild:!0,className:s,size:c,variant:t,children:(0,q.jsxs)(pe.default,{className:x(s),href:m||d||"",...u,children:[o&&o,n&&n]})})};var De=({links:e,richText:r})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-q-[48rem] flex items-center",children:r&&(0,q.jsx)(D,{className:"mb-0",content:r,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,q.jsx)(W,{size:"lg",...t},n))})]})});var Z=require("prism-react-renderer");var He=require("lucide-react"),Oe=require("react");function Ve({code:e}){let[r,t]=(0,Oe.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("p",{children:r}),(0,q.jsx)("div",{className:"q-6 h-6 dark:invert",children:(0,q.jsx)(He.ClipboardCopy,{})})]})})}var Qe=({code:e,language:r=""})=>e?(0,q.jsx)(Z.Highlight,{code:e,language:r,theme:Z.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:s})=>(0,q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,q.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((a,p)=>(0,q.jsx)("span",{...n({token:a})},p))})]},i)),(0,q.jsx)(Ve,{code:e})]})}):null;var je=({className:e,code:r,language:t})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Qe,{code:r,language:t})});var Je=F(require("next/image"));var _e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var $=()=>{if(_e){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Vr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Ke=e=>{let{alt:r,fill:t,imgClassName:n,priority:s,resource:o,size:i,src:a,loading:p}=e,d,m,c=r,u=a||"";if(!u&&o&&typeof o=="object"){let{alt:f,filename:g,height:v,url:C,width:R}=o;d=R,m=v,c=f||"",u=`${$()}${C}`}let h=p||"lazy",A=i||Object.entries(Vr).map(([,f])=>`(max-width: ${f}px) ${f*2}q`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(Je.default,{alt:c||"",className:x(n),fill:t,height:t?void 0:m,placeholder:"blur",blurDataURL:Qr,priority:h!=="lazy"&&s,quality:100,loading:h,sizes:A,src:u,width:t?void 0:d})})};var Ye=e=>{let{onClick:r,resource:t,videoClassName:n}=e,s=(0,Oe.useRef)(null);if((0,Oe.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,q.jsx)("video",{autoPlay:!0,className:x(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,q.jsx)("source",{src:`${$()}/media/${o}`})})}return null};var te=e=>{var i;let{className:r,htmlElement:t="div",resource:n}=e,s=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,q.jsx)(t||Oe.Fragment,{...t!==null?{className:r}:{},children:s?(0,q.jsx)(Ye,{...e}):(0,q.jsx)(Ke,{...e})})};var qe=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:x("",{container:t},r),children:(0,q.jsx)(te,{imgClassName:x("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var oe=F(require("react"));function be({nodes:e}){return(0,q.jsx)(oe.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"){let o=(0,q.jsx)(oe.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,q.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,q.jsx)("em",{children:o},t)),r.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,q.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,q.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,q.jsx)("sup",{children:o},t)),o}let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return be({nodes:o.children})},s="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,q.jsx)(De,{...o},t);case"mediaBlock":return(0,q.jsx)(qe,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-q-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,q.jsx)(ze,{className:"col-start-2 mb-4",...o},t);case"code":return(0,q.jsx)(je,{className:"col-start-2",...o},t);default:return null}}else switch(r.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,q.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,q.jsx)(o,{className:"col-start-2",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,q.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,q.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,q.jsx)(W,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var jr=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var s;return r?(0,q.jsx)("div",{className:x({"container ":t,"max-q-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&be({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null},D=jr;var Ze=require("next/navigation");function _r({external:e=!1,newTab:r=!1,scroll:t=!0}){let n=(0,Ze.useRouter)(),s=(0,Oe.useRef)(null),o=(0,Oe.useRef)(null),i=(0,Oe.useRef)(0),a=(0,Oe.useRef)(!1),p=(0,Oe.useRef)(0),d=(0,Oe.useCallback)(c=>{if(c.target){let u=c.target,h=+new Date,A=u==null?void 0:u.closest("a");p.current=c.button,A?a.current=!0:(a.current=!1,i.current=h)}},[n,s,o,i]),m=(0,Oe.useCallback)(c=>{var u,h;if((u=o.current)!=null&&u.href){let f=+new Date-i.current;if((h=o.current)!=null&&h.href&&f<=250&&!a.current&&p.current===0&&!c.ctrlKey)if(e){let g=r?"_blank":"_self";window.open(o.current.href,g)}else n.push(o.current.href,{scroll:t})}},[n,s,o,i]);return(0,Oe.useEffect)(()=>{let c=s.current;return c&&(c.addEventListener("mousedown",d),c.addEventListener("mouseup",m)),()=>{c&&c&&(c==null||c.removeEventListener("mousedown",d),c==null||c.removeEventListener("mouseup",m))}},[s,o,n]),{card:{ref:s},link:{ref:o}}}var $e=_r;var er=F(require("next/link"));var rr=e=>{let{card:r,link:t}=$e({}),{className:n,doc:s,relationTo:o,showCategories:i,title:a}=e,{slug:p,categories:d,meta:m,title:c}=s||{},{description:u,image:h}=m||{},A=d&&Array.isArray(d)&&d.length>0,f=a||c,g=u==null?void 0:u.replace(/\s/g," "),v=`/${o}/${p}`;return(0,q.jsxs)("article",{className:x("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",n),ref:r.ref,children:[(0,q.jsxs)("div",{className:"relative q-full ",children:[!h&&(0,q.jsx)("div",{className:"",children:"No image"}),h&&typeof h!="string"&&(0,q.jsx)(te,{resource:h,size:"33vw"})]}),(0,q.jsxs)("div",{className:"p-4",children:[i&&A&&(0,q.jsx)("div",{className:"uppercase text-sm mb-4",children:i&&A&&(0,q.jsx)("div",{children:d==null?void 0:d.map((C,R)=>{if(typeof C=="object"){let{title:N}=C,L=N||"Untitled category",J=R===d.length-1;return(0,q.jsxs)(Oe.Fragment,{children:[L,!J&&(0,q.jsx)(Oe.Fragment,{children:", \xA0"})]},R)}return null})})}),f&&(0,q.jsx)("div",{className:"prose",children:(0,q.jsx)("h3",{children:(0,q.jsx)(er.default,{className:"not-prose",href:v,ref:t.ref,children:f})})}),u&&(0,q.jsx)("div",{className:"mt-2",children:u&&(0,q.jsx)("p",{children:g})})]})]})};var Jr=e=>{let{className:r,docs:t,introContent:n}=e;return(0,q.jsxs)("div",{className:(0,tr.default)("container",r),children:[n&&(0,q.jsx)(D,{content:n,enableGutter:!1}),(0,q.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,o)=>typeof s=="string"?null:(0,q.jsx)(rr,{doc:s,relationTo:"posts",showCategories:!0},o))})]})};0&&(module.exports={RelatedPosts});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-6XQN7JHH.mjs";import"../../chunk-6P7CY367.mjs";import{c as r}from"../../chunk-RTU6IVSY.mjs";import"../../chunk-DYHP6A4B.mjs";import"../../chunk-CJTRVASG.mjs";import"../../chunk-YQY5Z73J.mjs";import"../../chunk-MY7YCD7T.mjs";import"../../chunk-OANFAQE4.mjs";import"../../chunk-BZVOHDLV.mjs";import"../../chunk-NEW735FX.mjs";import"../../chunk-VI6PF7VY.mjs";import"../../chunk-PV4EARTR.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-TLXHEFFH.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-BOPZHZ27.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as RelatedPosts};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var tt=Object.create;var Y=Object.defineProperty;var rt=Object.getOwnPropertyDescriptor;var ot=Object.getOwnPropertyNames;var nt=Object.getPrototypeOf,st=Object.prototype.hasOwnProperty;var at=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ot(t))!st.call(e,s)&&s!==r&&Y(e,s,{get:()=>t[s],enumerable:!(n=rt(t,s))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?tt(nt(e)):{},Ce(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),lt=e=>Ce(Y({},"__esModule",{value:!0}),e);var _t={};at(_t,{RenderBlocks:()=>Qt});module.exports=lt(_t);var et=require("react");var Ee=require("clsx");var de="-",it=e=>{let t=dt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{let a=l.split(de);return a[0]===""&&a.length!==1&&a.shift(),Re(a,t)||ct(l)},getConflictingClassGroupIds:(l,a)=>{let c=r[l]||[];return a&&n[l]?[...c,...n[l]]:c}}},Re=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?Re(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(de);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Be=/^\[(.+)\]$/,ct=e=>{if(Be.test(e)){let t=Be.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},dt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ut(Object.entries(e.classGroups),r).forEach(([o,l])=>{ce(l,n,o,t)}),n},ce=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:Pe(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(pt(s)){ce(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,l])=>{ce(l,Pe(t,o),r,n)})})},Pe=(e,t)=>{let r=e;return t.split(de).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},pt=e=>e.isThemeGetter,ut=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[r,s]}):e,mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return s(o,l),l},set(o,l){r.has(o)?r.set(o,l):s(o,l)}}},Ne="!",gt=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,l=a=>{let c=[],u=0,m=0,x;for(let f=0;f<a.length;f++){let w=a[f];if(u===0){if(w===s&&(n||a.slice(f,f+o)===t)){c.push(a.slice(m,f)),m=f+o;continue}if(w==="/"){x=f;continue}}w==="["?u++:w==="]"&&u--}let h=c.length===0?a:a.substring(m),A=h.startsWith(Ne),C=A?h.substring(1):h,g=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:g}};return r?a=>r({className:a,parseClassName:l}):l},ft=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},bt=e=>({cache:mt(e.cacheSize),parseClassName:gt(e),...it(e)}),yt=/\s+/,ht=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(yt),a="";for(let c=l.length-1;c>=0;c-=1){let u=l[c],{modifiers:m,hasImportantModifier:x,baseClassName:h,maybePostfixModifierPosition:A}=r(u),C=!!A,g=n(C?h.substring(0,A):h);if(!g){if(!C){a=u+(a.length>0?" "+a:a);continue}if(g=n(h),!g){a=u+(a.length>0?" "+a:a);continue}C=!1}let f=ft(m).join(":"),w=x?f+Ne:f,v=w+g;if(o.includes(v))continue;o.push(v);let I=s(g,C);for(let E=0;E<I.length;++E){let j=I[E];o.push(w+j)}a=u+(a.length>0?" "+a:a)}return a};function wt(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Te(t))&&(n&&(n+=" "),n+=r);return n}var Te=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Te(e[n]))&&(r&&(r+=" "),r+=t);return r};function xt(e,...t){let r,n,s,o=l;function l(c){let u=t.reduce((m,x)=>x(m),e());return r=bt(u),n=r.cache.get,s=r.cache.set,o=a,a(c)}function a(c){let u=n(c);if(u)return u;let m=ht(c,r);return s(c,m),m}return function(){return o(wt.apply(null,arguments))}}var d=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Se=/^\[(?:([a-q-]+):)?(.+)\]$/i,vt=/^\d+\/\d+$/,kt=new Set(["px","full","screen"]),At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ct=/\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$/,Bt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Pt=/^(inset_)?-?((\d+)?\.?(\d+)[a-q]+|0)q-?((\d+)?\.?(\d+)[a-q]+|0)/,Rt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>L(e)||kt.has(e)||vt.test(e),N=e=>G(e,"length",Ft),L=e=>!!e&&!Number.isNaN(Number(e)),ie=e=>G(e,"number",L),V=e=>!!e&&Number.isInteger(Number(e)),Nt=e=>e.endsWith("%")&&L(e.slice(0,-1)),i=e=>Se.test(e),T=e=>At.test(e),Tt=new Set(["length","size","percentage"]),St=e=>G(e,Tt,Me),Mt=e=>G(e,"position",Me),It=new Set(["image","url"]),Et=e=>G(e,It,Gt),zt=e=>G(e,"",Lt),H=()=>!0,G=(e,t,r)=>{let n=Se.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ft=e=>Ct.test(e)&&!Bt.test(e),Me=()=>!1,Lt=e=>Pt.test(e),Gt=e=>Rt.test(e);var Ut=()=>{let e=d("colors"),t=d("spacing"),r=d("blur"),n=d("brightness"),s=d("borderColor"),o=d("borderRadius"),l=d("borderSpacing"),a=d("borderWidth"),c=d("contrast"),u=d("grayscale"),m=d("hueRotate"),x=d("invert"),h=d("gap"),A=d("gradientColorStops"),C=d("gradientColorStopPositions"),g=d("inset"),f=d("margin"),w=d("opacity"),v=d("padding"),I=d("saturate"),E=d("scale"),j=d("sepia"),ye=d("skew"),he=d("space"),we=d("translate"),ne=()=>["auto","contain","none"],se=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",i,t],p=()=>[i,t],xe=()=>["",P,N],J=()=>["auto",L,i],ve=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],le=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[L,i];return{cacheSize:500,separator:":",theme:{colors:[H],spacing:[P,N],blur:["none","",T,i],brightness:B(),borderColor:[e],borderRadius:["none","","full",T,i],borderSpacing:p(),borderWidth:xe(),contrast:B(),grayscale:D(),hueRotate:B(),invert:D(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Nt,N],inset:ae(),margin:ae(),opacity:B(),padding:p(),saturate:B(),scale:B(),sepia:D(),skew:B(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ve(),i]}],overflow:[{overflow:se()}],"overflow-x":[{"overflow-x":se()}],"overflow-q":[{"overflow-q":se()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-q":[{"overscroll-q":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-q":[{"inset-q":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],q:[{q:["auto",V,i]}],basis:[{basis:ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",V,i]}],"grid-cols":[{"grid-cols":[H]}],"col-start-end":[{col:["auto",{span:["full",V,i]},i]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[H]}],"row-start-end":[{row:["auto",{span:[V,i]},i]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-q":[{"gap-q":[h]}],"justify-content":[{justify:["normal",...le()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...le(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...le(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],q:[{q:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],q:[{q:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[he]}],"space-x-reverse":["space-x-reverse"],"space-q":[{"space-q":[he]}],"space-q-reverse":["space-q-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",T,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ie]}],"font-family":[{font:[H]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",L,ie]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",P,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[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:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",P,N]}],"underline-offset":[{"underline-offset":["auto",P,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ve(),Mt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","q","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",St]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Et]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[A]}],"gradient-via":[{via:[A]}],"gradient-to":[{to:[A]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-q":[{"rounded-q":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-q":[{"border-q":[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":[w]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-q":[{"divide-q":[a]}],"divide-q-reverse":["divide-q-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-q":[{"border-q":[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:["",...K()]}],"outline-offset":[{"outline-offset":[P,i]}],"outline-w":[{outline:[P,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[P,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,zt]}],"shadow-color":[{shadow:[H]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",T,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[I]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-q":[{"border-spacing-q":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-q":[{"scale-q":[E]}],rotate:[{rotate:[V,i]}],"translate-x":[{"translate-x":[we]}],"translate-q":[{"translate-q":[we]}],"skew-x":[{"skew-x":[ye]}],"skew-q":[{"skew-q":[ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","q","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-q":[{"scroll-q":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-q":[{"scroll-q":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","q","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-q":[{"touch-pan":["q","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[P,N,ie]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-q"],overscroll:["overscroll-x","overscroll-q"],inset:["inset-x","inset-q","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-q":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-q"],p:["px","py","ps","q","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","q","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-q","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-q"],"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-q"],"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-q":["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-q":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-q","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-q","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-q","touch-pz"],"touch-x":["touch"],"touch-q":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ie=xt(Ut);function b(...e){return Ie((0,Ee.clsx)(e))}var q=require("react/jsx-runtime"),ze=({className:e,content:t,style:r})=>(0,q.jsx)("div",{className:b("mx-auto my-8 w-full",e),children:(0,q.jsx)("div",{className:b("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,q.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var W=require("prism-react-renderer");var Fe=require("@radix-ui/react-slot"),Le=require("class-variance-authority"),Ge=X(require("react")),Dt=(0,Le.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-primary text-primary-foreground hover:bg-primary-ON_HOVER",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-secondary/80"}}}),O=Ge.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,q.jsx)(e?Fe.Slot:"button",{className:b(Dt({className:t,size:r,variant:n})),ref:o,...s}));O.displayName="Button";var De=require("lucide-react");function He({code:e}){let[t,r]=(0,et.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,q.jsx)("div",{className:"flex justify-end align-middle",children:(0,q.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,q.jsx)("p",{children:t}),(0,q.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,q.jsx)(De.ClipboardCopy,{})})]})})}var Oe=({code:e,language:t=""})=>e?(0,q.jsx)(W.Highlight,{code:e,language:t,theme:W.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,l)=>(0,q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:l+1}),(0,q.jsx)("span",{className:"table-cell pl-4",children:o.map((a,c)=>(0,q.jsx)("span",{...n({token:a})},c))})]},l)),(0,q.jsx)(He,{code:e})]})}):null;var Qe=({className:e,code:t,language:r})=>(0,q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,q.jsx)(Oe,{code:t,language:r})});var je=X(require("next/image"));var _e=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Z=()=>{if(_e){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Vt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Je=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:l,src:a,loading:c}=e,u,m,x=t,h=a||"";if(!h&&o&&typeof o=="object"){let{alt:g,filename:f,height:w,url:v,width:I}=o;u=I,m=w,x=g||"",h=`${Z()}${v}`}let A=c||"lazy",C=l||Object.entries(Vt).map(([,g])=>`(max-width: ${g}px) ${g*2}w`).join(", ");return(0,q.jsx)("picture",{children:(0,q.jsx)(je.default,{alt:x||"",className:b(n),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Ht,priority:A!=="lazy"&&s,quality:100,loading:A,sizes:C,src:h,width:r?void 0:u})})};var Ke=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,$.useRef)(null);if((0,$.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,q.jsx)("video",{autoPlay:!0,className:b(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,q.jsx)("source",{src:`${Z()}/media/${o}`})})}return null};var Xe=e=>{var l;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((l=n==null?void 0:n.mimeType)==null?void 0:l.includes("video"));return(0,q.jsx)(r||et.Fragment,{...r!==null?{className:t}:{},children:s?(0,q.jsx)(Ke,{...e}):(0,q.jsx)(Je,{...e})})};var Q=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,q.jsx)("div",{className:b("",{container:r},t),children:(0,q.jsx)(Xe,{imgClassName:b("border border-border rounded-[0.8rem]",n),resource:s,src:o})})};var te=X(require("react"));var fe=X(require("next/link")),U=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:l,reference:a,size:c,url:u}=e,m=t==="reference"&&typeof(a==null?void 0:a.value)=="object"&&a.value.slug?`${(a==null?void 0:a.relationTo)!=="pages"?`/${a==null?void 0:a.relationTo}`:""}/${a.value.slug}`:u;if(!m)return null;let x=r==="link"?"clear":c,h=l?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,q.jsxs)(fe.default,{className:b(s),href:m||u||"",...h,children:[o&&o,n&&n]}):(0,q.jsx)(O,{asChild:!0,className:s,size:x,variant:r,children:(0,q.jsxs)(fe.default,{className:b(s),href:m||u||"",...h,children:[o&&o,n&&n]})})};function be({nodes:e}){return(0,q.jsx)(te.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let o=(0,q.jsx)(te.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,q.jsx)("sup",{children:o},r)),o}let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let l of o.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return be({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,l=o==null?void 0:o.blockType;if(!o||!l)return null;switch(l){case"cta":return(0,q.jsx)(re,{...o},r);case"mediaBlock":return(0,q.jsx)(Q,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,q.jsx)(ze,{className:"col-start-2 mb-4",...o},r);case"code":return(0,q.jsx)(Qe,{className:"col-start-2",...o},r);default:return null}}else switch(t.type){case"linebreak":return(0,q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,q.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"col-start-2",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,q.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,q.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,q.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,q.jsx)(U,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var Ot=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,q.jsx)("div",{className:b({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&be({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null},S=Ot;var re=({links:e,richText:t})=>(0,q.jsx)("div",{className:"container",children:(0,q.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,q.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,q.jsx)(U,{size:"lg",...r},n))})]})});var We=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,q.jsx)("div",{className:"container my-6",children:(0,q.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-q-8 gap-x-16",children:t&&t.length>0&&t.map((n,s)=>{let{enableLink:o,link:l,richText:a,size:c}=n;return(0,q.jsxs)("div",{className:b(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[a&&(0,q.jsx)(S,{content:a,enableGutter:!1}),o&&(0,q.jsx)(U,{...l})]},s)})})})};var Ze=({title:e,description:t,features:r})=>(0,q.jsxs)("section",{className:b("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,q.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,q.jsx)("p",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,q.jsx)("div",{className:`grid gap-8 md:grid-cols-${r?r.length:1}`,children:r&&r.map((n,s)=>{var l,a;let o=(0,q.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,q.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,q.jsx)("i",{className:`${n.icon.type} fa-${n.icon.icon} fa-4x`})}),(0,q.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:n.title}),typeof n.content!="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:n.content}}),typeof n.content=="object"&&(0,q.jsx)("div",{className:"text-lg opacity-80",children:(0,q.jsx)(S,{content:n.content,enableGutter:!1})})]},s);return console.log("link",n.link),n.link?(0,q.jsx)("a",{href:n.link.url?n.link.url:`/${(l=n.link.reference)==null?void 0:l.relationTo}/${((a=n.link.reference)==null?void 0:a.value).slug}`,className:"no-underline group",children:o},s):o})})]});var $e={content:We,cta:re,mediaBlock:Q,imageBlock:Q,features:Ze},Qt=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,q.jsx)(et.Fragment,{children:t.map((n,s)=>{let{blockType:o}=n;if(o&&o in $e){let l=$e[o];if(l)return(0,q.jsx)("div",{className:"my-6",children:(0,q.jsx)(l,{...n})},s)}return null})}):null};0&&(module.exports={RenderBlocks});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-I6MWUGBD.mjs";import{a as m}from"../../chunk-HQ5V5FY5.mjs";import{a as l}from"../../chunk-RTU6IVSY.mjs";import"../../chunk-DYHP6A4B.mjs";import"../../chunk-CJTRVASG.mjs";import{a as e}from"../../chunk-YQY5Z73J.mjs";import"../../chunk-MY7YCD7T.mjs";import"../../chunk-OANFAQE4.mjs";import"../../chunk-BZVOHDLV.mjs";import"../../chunk-NEW735FX.mjs";import"../../chunk-VI6PF7VY.mjs";import"../../chunk-PV4EARTR.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-TLXHEFFH.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-BOPZHZ27.mjs";import{Fragment as p}from"react";import{jsx as r}from"react/jsx-runtime";var s={content:a,cta:l,mediaBlock:e,imageBlock:e,features:m},C=i=>{let{blocks:o}=i;return o&&Array.isArray(o)&&o.length>0?r(p,{children:o.map((c,k)=>{let{blockType:t}=c;if(t&&t in s){let n=s[t];if(n)return r("div",{className:"my-6",children:r(n,{...c})},k)}return null})}):null};export{C as RenderBlocks};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function WhyUs(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var l=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var m=(a,s)=>{for(var n in s)l(a,n,{get:s[n],enumerable:!0})},p=(a,s,n,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of c(s))!o.call(a,t)&&t!==n&&l(a,t,{get:()=>s[t],enumerable:!(r=d(s,t))||r.enumerable});return a};var X=a=>p(l({},"__esModule",{value:!0}),a);var u={};m(u,{WhyUs:()=>g});module.exports=X(u);var i=require("lucide-react"),e=require("react/jsx-runtime");function g(){return(0,e.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,e.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,e.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,e.jsx)(i.BarChart3,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,e.jsx)("p",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,e.jsxs)("ul",{className:"text-sm",children:[(0,e.jsx)("li",{children:"Strategy definition"}),(0,e.jsx)("li",{children:"Programme leadership"}),(0,e.jsx)("li",{children:"Detailed planning"}),(0,e.jsx)("li",{children:"\u2022 Financial control"}),(0,e.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,e.jsx)(i.CogIcon,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,e.jsx)("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,e.jsx)(i.Building2,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,e.jsx)("p",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,e.jsx)(i.BadgeCheck,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,e.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}0&&(module.exports={WhyUs});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-5JPWYRNZ.mjs";export{a as WhyUs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var l=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var X=(s,t)=>{for(var n in t)l(s,n,{get:t[n],enumerable:!0})},g=(s,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!p.call(s,i)&&i!==n&&l(s,i,{get:()=>t[i],enumerable:!(o=d(t,i))||o.enumerable});return s};var v=s=>g(l({},"__esModule",{value:!0}),s);var x={};X(x,{Primary:()=>y,default:()=>u});module.exports=v(x);var a=require("lucide-react"),e=require("react/jsx-runtime");function c(){return(0,e.jsx)("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:(0,e.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,e.jsxs)("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,e.jsx)(a.BarChart3,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,e.jsx)("p",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,e.jsxs)("ul",{className:"text-sm",children:[(0,e.jsx)("li",{children:"Strategy definition"}),(0,e.jsx)("li",{children:"Programme leadership"}),(0,e.jsx)("li",{children:"Detailed planning"}),(0,e.jsx)("li",{children:"\u2022 Financial control"}),(0,e.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,e.jsx)(a.CogIcon,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,e.jsx)("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,e.jsx)(a.Building2,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,e.jsx)("p",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,e.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,e.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,e.jsx)(a.BadgeCheck,{className:"w-8 h-8"})]}),(0,e.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,e.jsx)("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,e.jsx)("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var h={title:"Blocks/WhyUs",component:c,tags:["autodocs"],argTypes:{},decorators:[s=>(0,e.jsx)("div",{className:"p-2",children:(0,e.jsx)(s,{})})]},u=h,y={args:{}};0&&(module.exports={Primary});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"../../chunk-5JPWYRNZ.mjs";import{jsx as o}from"react/jsx-runtime";var e={title:"Blocks/WhyUs",component:t,tags:["autodocs"],argTypes:{},decorators:[r=>o("div",{className:"p-2",children:o(r,{})})]},s=e,y={args:{}};export{y as Primary,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Ie=Object.create;var Y=Object.defineProperty;var Le=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames;var He=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty;var Be=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},fe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ge(t))!Fe.call(e,n)&&n!==r&&Y(e,n,{get:()=>t[n],enumerable:!(o=Le(t,n))||o.enumerable});return e};var ne=(e,t,r)=>(r=e!=null?Ie(He(e)):{},fe(t||!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),We=e=>fe(Y({},"__esModule",{value:!0}),e);var kt={};Be(kt,{InfoTile:()=>ye,Insight:()=>xe,MOTD:()=>we,OrgChart:()=>Ce,ProposalSummary:()=>ze,WhyUs:()=>Pe});module.exports=We(kt);var he=require("react/jsx-runtime"),je=({type:e="solid",iconName:t="cloud",size:r="lg",className:o})=>{let n="fa-"+e+" ",s="fa-"+t,l=o!=null?o:"",a=n+s+" fa-"+r+" "+l;return(0,he.jsx)("he",{className:a})},be=je;function xe({icon:e,title:t,body:r,color:o="secondary"}){return(0,he.jsx)(he.Fragment,{children:(0,he.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,he.jsx)("div",{className:"px-[2%] flex items-center",children:(0,he.jsx)("div",{className:"w-12 h-12",children:(0,he.jsx)(be,{type:e.type,iconName:e.name})})}),(0,he.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),r&&(0,he.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:r})]})})}var ve=ne(require("next/image"));function ye(e){let{url:t,mainImage:r,excerpt:o,title:n}=e;return(0,he.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white he-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[r&&(0,he.jsx)(ve.default,{alt:n||"",src:r,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,he.jsxs)("div",{className:"flex flex-1 flex-col he-4",children:[(0,he.jsx)("div",{className:"mt-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,he.jsxs)("a",{href:t,children:[(0,he.jsx)("span",{className:"absolute inset-0"}),n]})}),o&&(0,he.jsx)("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var Oe=(e,t)=>`from-brand-${e} to-brand-${t}`;function we({...e}){let t=Oe(e.brandFrom||"one",e.brandTo||"two");return(0,he.jsxs)("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,he.jsx)("he",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,he.jsxs)("a",{href:e.url,children:[(0,he.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,he.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,he.jsx)("circle",{r:1,cx:1,cy:1})}),(0,he.jsx)("span",{children:e.message&&e.message})]}):(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,he.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,he.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,he.jsx)("div",{className:"flex flex-1 justify-end"})]})}var _=ne(require("react")),w=require("lucide-react"),Ue={Architecture:(0,he.jsx)(w.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,he.jsx)(w.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,he.jsx)(w.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,he.jsx)(w.GanttChart,{className:"h-5 w-5 text-red-600"})},$e=({person:e,level:t,onToggle:r,isExpanded:o,isHighlighted:n})=>{let s=e.reports.length>0;return(0,he.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,he.jsxs)("div",{className:`flex items-center he-3 rounded-lg shadow-sm border ${n?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&(0,he.jsx)("button",{onClick:r,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,he.jsx)(w.ChevronDown,{className:"h-4 w-4"}):(0,he.jsx)(w.ChevronRight,{className:"h-4 w-4"})}),(0,he.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,he.jsx)(w.Users,{className:"h-6 w-6 text-gray-500"})}),(0,he.jsxs)("div",{children:[(0,he.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,he.jsxs)("div",{className:"flex items-center mt-1",children:[Ue[e.discipline],(0,he.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,he.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Ne=({person:e,level:t,searchTerm:r})=>{let[o,n]=(0,_.useState)(t<1),s=()=>n(!o),l=u=>u.name.toLowerCase().includes(r.toLowerCase())||u.discipline.toLowerCase().includes(r.toLowerCase())||u.grade.toLowerCase().includes(r.toLowerCase()),a=u=>l(u)||u.reports.some(a),f=r===""||a(e),h=l(e);return _.default.useEffect(()=>{r!==""&&a(e)&&n(!0)},[r,e]),f?(0,he.jsxs)("div",{children:[(0,he.jsx)($e,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:h}),o&&e.reports.map((u,N)=>(0,he.jsx)(Ne,{person:u,level:t+1,searchTerm:r},N))]}):null};function Ce(){let[e,t]=(0,_.useState)("");return(0,he.jsxs)("div",{className:"max-w-5xl mx-auto he-6",children:[(0,he.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,he.jsxs)("div",{className:"mb-4 relative",children:[(0,he.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,he.jsx)(w.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,he.jsx)("div",{className:"space-he-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,n)=>(0,he.jsx)(Ne,{person:o,level:0,searchTerm:e},n))})]})}var G=ne(require("react"));var De=require("clsx");var ie="-",Ve=e=>{let t=Je(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{let a=l.split(ie);return a[0]===""&&a.length!==1&&a.shift(),Te(a,t)||_e(l)},getConflictingClassGroupIds:(l,a)=>{let f=r[l]||[];return a&&o[l]?[...f,...o[l]]:f}}},Te=(e,t)=>{var l;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?Te(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let s=e.join(ie);return(l=t.validators.find(({validator:a})=>a(s)))==null?void 0:l.classGroupId},Me=/^\[(.+)\]$/,_e=e=>{if(Me.test(e)){let t=Me.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Je=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return qe(Object.entries(e.classGroups),r).forEach(([s,l])=>{ae(l,o,s,t)}),o},ae=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ke(t,n);s.classGroupId=r;return}if(typeof n=="function"){if(Ke(n)){ae(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([s,l])=>{ae(l,ke(t,s),r,o)})})},ke=(e,t)=>{let r=e;return t.split(ie).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},Ke=e=>e.isThemeGetter,qe=(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(([l,a])=>[t+l,a])):s);return[r,n]}):e,Ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(s,l)=>{r.set(s,l),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let l=r.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return n(s,l),l},set(s,l){r.has(s)?r.set(s,l):n(s,l)}}},Se="!",Qe=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],s=t.length,l=a=>{let f=[],h=0,u=0,N;for(let b=0;b<a.length;b++){let v=a[b];if(h===0){if(v===n&&(o||a.slice(b,b+s)===t)){f.push(a.slice(u,b)),u=b+s;continue}if(v==="/"){N=b;continue}}v==="["?h++:v==="]"&&h--}let k=f.length===0?a:a.substring(u),R=k.startsWith(Se),S=R?k.substring(1):k,x=N&&N>u?N-u:void 0;return{modifiers:f,hasImportantModifier:R,baseClassName:S,maybePostfixModifierPosition:x}};return r?a=>r({className:a,parseClassName:l}):l},Ye=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},et=e=>({cache:Ze(e.cacheSize),parseClassName:Qe(e),...Ve(e)}),tt=/\s+/,rt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,s=[],l=e.trim().split(tt),a="";for(let f=l.length-1;f>=0;f-=1){let h=l[f],{modifiers:u,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:R}=r(h),S=!!R,x=o(S?k.substring(0,R):k);if(!x){if(!S){a=h+(a.length>0?" "+a:a);continue}if(x=o(k),!x){a=h+(a.length>0?" "+a:a);continue}S=!1}let b=Ye(u).join(":"),v=N?b+Se:b,M=v+x;if(s.includes(M))continue;s.push(M);let $=n(x,S);for(let L=0;L<$.length;++L){let q=$[L];s.push(v+q)}a=h+(a.length>0?" "+a:a)}return a};function ot(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(o&&(o+=" "),o+=r);return o}var Re=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Re(e[o]))&&(r&&(r+=" "),r+=t);return r};function nt(e,...t){let r,o,n,s=l;function l(f){let h=t.reduce((u,N)=>N(u),e());return r=et(h),o=r.cache.get,n=r.cache.set,s=a,a(f)}function a(f){let h=o(f);if(h)return h;let u=rt(f,r);return n(f,u),u}return function(){return s(ot.apply(null,arguments))}}var m=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ae=/^\[(?:([a-z-]+):)?(.+)\]$/he,st=/^\he+\/\he+$/,at=new Set(["px","full","screen"]),it=/^(\he+(\.\he+)?)?(xs|sm|md|lg|xl)$/,lt=/\he+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|he|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ct=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dt=/^(inset_)?-?((\he+)?\.?(\he+)[a-z]+|0)_-?((\he+)?\.?(\he+)[a-z]+|0)/,pt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>F(e)||at.has(e)||st.test(e),D=e=>B(e,"length",vt),F=e=>!!e&&!Number.isNaN(Number(e)),se=e=>B(e,"number",F),J=e=>!!e&&Number.isInteger(Number(e)),mt=e=>e.endsWith("%")&&F(e.slice(0,-1)),c=e=>Ae.test(e),z=e=>it.test(e),ut=new Set(["length","size","percentage"]),gt=e=>B(e,ut,Xe),ft=e=>B(e,"position",Xe),bt=new Set(["image","url"]),ht=e=>B(e,bt,wt),xt=e=>B(e,"",yt),K=()=>!0,B=(e,t,r)=>{let o=Ae.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},vt=e=>lt.test(e)&&!ct.test(e),Xe=()=>!1,yt=e=>dt.test(e),wt=e=>pt.test(e);var Nt=()=>{let e=m("colors"),t=m("spacing"),r=m("blur"),o=m("brightness"),n=m("borderColor"),s=m("borderRadius"),l=m("borderSpacing"),a=m("borderWidth"),f=m("contrast"),h=m("grayscale"),u=m("hueRotate"),N=m("invert"),k=m("gap"),R=m("gradientColorStops"),S=m("gradientColorStopPositions"),x=m("inset"),b=m("margin"),v=m("opacity"),M=m("padding"),$=m("saturate"),L=m("scale"),q=m("sepia"),le=m("skew"),ce=m("space"),de=m("translate"),ee=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",c,t],g=()=>[c,t],pe=()=>["",E,D],Z=()=>["auto",F,c],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Q=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],V=()=>["","0",c],ge=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>[F,c];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[E,D],blur:["none","",z,c],brightness:A(),borderColor:[e],borderRadius:["none","","full",z,c],borderSpacing:g(),borderWidth:pe(),contrast:A(),grayscale:V(),hueRotate:A(),invert:V(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[mt,D],inset:re(),margin:re(),opacity:A(),padding:g(),saturate:A(),scale:A(),sepia:V(),skew:A(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ge()}],"break-before":[{"break-before":ge()}],"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:[...me(),c]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-he":[{"overflow-he":te()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-he":[{"overscroll-he":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-he":[{"inset-he":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,c]}],basis:[{basis:re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:V()}],shrink:[{shrink:V()}],order:[{order:["first","last","none",J,c]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,c]},c]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,c]},c]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[k]}],"gap-x":[{"gap-x":[k]}],"gap-he":[{"gap-he":[k]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],he:[{he:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-he":[{"space-he":[ce]}],"space-he-reverse":["space-he-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",se]}],"font-family":[{font:[K]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",F,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"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:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,D]}],"underline-offset":[{"underline-offset":["auto",E,c]}],"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",c]}],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",c]}],"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:[...me(),ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","he","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ht]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-he":[{"border-he":[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:[...Q(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-he":[{"divide-he":[a]}],"divide-he-reverse":["divide-he-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-he":[{"border-he":[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:["",...Q()]}],"outline-offset":[{"outline-offset":[E,c]}],"outline-w":[{outline:[E,D]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[E,D]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,xt]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",z,c]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[N]}],saturate:[{saturate:[$]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[N]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-he":[{"border-spacing-he":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-he":[{"scale-he":[L]}],rotate:[{rotate:[J,c]}],"translate-x":[{"translate-x":[de]}],"translate-he":[{"translate-he":[de]}],"skew-x":[{"skew-x":[le]}],"skew-he":[{"skew-he":[le]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","he","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":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-he":[{"scroll-he":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","he","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-he":[{"touch-pan":["he","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,D,se]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-he"],overscroll:["overscroll-x","overscroll-he"],inset:["inset-x","inset-he","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-he":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-he"],he:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-he"],"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-he":["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-he":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-he":["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-he","touch-pz"],"touch-x":["touch"],"touch-he":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ee=nt(Nt);function P(...e){return Ee((0,De.clsx)(e))}var W=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("rounded-xl border bg-card text-card-foreground shadow",e),...t}));W.displayName="Card";var j=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("flex flex-col space-he-1.5 he-6",e),...t}));j.displayName="CardHeader";var O=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("font-semibold leading-none tracking-tight",e),...t}));O.displayName="CardTitle";var Ct=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("text-sm text-muted-foreground",e),...t}));Ct.displayName="CardDescription";var U=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("he-6 pt-0",e),...t}));U.displayName="CardContent";var Mt=G.forwardRef(({className:e,...t},r)=>(0,he.jsx)("div",{ref:r,className:P("flex items-center he-6 pt-0",e),...t}));Mt.displayName="CardFooter";function ze({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:r=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,he.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,he.jsxs)("div",{className:"lg:col-span-1 space-he-6 flex flex-col",children:[(0,he.jsxs)(W,{className:"flex-grow",children:[(0,he.jsx)(j,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(O,{className:"flex items-center gap-2",children:[(0,he.jsx)(w.Users,{className:"h-5 w-5"}),"Team"]})}),(0,he.jsxs)(U,{className:"he-6",children:[(0,he.jsx)("he",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,he.jsxs)("div",{className:"space-he-6",children:[(0,he.jsx)("div",{className:"space-he-2",children:e.leadership.map((n,s)=>(0,he.jsxs)("div",{className:"flex items-center justify-between",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2",children:[(0,he.jsx)(w.User,{className:"h-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:n.role})]}),n.isFTE&&(0,he.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,he.jsx)("div",{className:"space-he-2",children:e.core.map((n,s)=>(0,he.jsxs)("div",{className:"flex items-center justify-between",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2",children:[(0,he.jsx)(w.User,{className:"h-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:n.role}),n.count&&(0,he.jsxs)("span",{children:["(",n.count,"x)"]})]}),n.isFTE&&(0,he.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),(0,he.jsxs)("div",{children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,he.jsx)(w.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,he.jsx)("span",{children:"SME input:"})]}),(0,he.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,he.jsxs)(W,{children:[(0,he.jsx)(j,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(O,{className:"flex items-center gap-2",children:[(0,he.jsx)(w.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,he.jsx)(U,{className:"he-6",children:(0,he.jsx)("he",{className:"text-lg font-semibold",children:o})})]})]}),(0,he.jsxs)(W,{className:"lg:col-span-1 flex flex-col",children:[(0,he.jsx)(j,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(O,{className:"flex items-center gap-2",children:[(0,he.jsx)(w.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,he.jsxs)(U,{className:"he-6 flex-grow overflow-auto",children:[(0,he.jsx)("ol",{className:"list-decimal list-inside space-he-4",children:t.map((n,s)=>(0,he.jsxs)("li",{className:"text-sm",children:[(0,he.jsxs)("span",{className:"font-medium",children:[n.title,":"]})," ",(0,he.jsx)("span",{className:"text-muted-foreground",children:n.description})]},s))}),(0,he.jsx)("he",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,he.jsxs)(W,{className:"lg:col-span-1 flex flex-col",children:[(0,he.jsx)(j,{className:"bg-primary text-primary-foreground",children:(0,he.jsxs)(O,{className:"flex items-center gap-2",children:[(0,he.jsx)(w.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,he.jsx)(U,{className:"he-6 flex-grow overflow-auto",children:(0,he.jsx)("ul",{className:"space-he-4",children:r.map((n,s)=>(0,he.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,he.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,he.jsx)("span",{children:n})]},s))})})]})]})}function Pe(){return(0,he.jsx)("div",{className:"w-full bg-primary text-white he-8 rounded-lg border border-dashed border-white/30",children:(0,he.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,he.jsxs)("div",{className:"space-he-4 bg-primary he-3 rounded-lg",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,he.jsx)(w.BarChart3,{className:"w-8 h-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,he.jsx)("he",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,he.jsxs)("ul",{className:"text-sm",children:[(0,he.jsx)("li",{children:"Strategy definition"}),(0,he.jsx)("li",{children:"Programme leadership"}),(0,he.jsx)("li",{children:"Detailed planning"}),(0,he.jsx)("li",{children:"\u2022 Financial control"}),(0,he.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,he.jsxs)("div",{className:"space-he-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,he.jsx)(w.CogIcon,{className:"w-8 h-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,he.jsx)("he",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,he.jsx)("he",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,he.jsxs)("div",{className:"space-he-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,he.jsx)(w.Building2,{className:"w-8 h-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,he.jsx)("he",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,he.jsx)("he",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,he.jsxs)("div",{className:"space-he-4",children:[(0,he.jsxs)("div",{className:"flex items-center gap-2 relative z-10",children:[(0,he.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,he.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,he.jsx)(w.BadgeCheck,{className:"w-8 h-8"})]}),(0,he.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,he.jsx)("he",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,he.jsx)("he",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}0&&(module.exports={InfoTile,Insight,MOTD,OrgChart,ProposalSummary,WhyUs});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"../../chunk-5JPWYRNZ.mjs";import{a as t}from"../../chunk-X42HILQB.mjs";import{a as e}from"../../chunk-QVT7M33X.mjs";import{a as r}from"../../chunk-EEMR5C75.mjs";import{a as o}from"../../chunk-PPQGQK27.mjs";import"../../chunk-OTS4QNQ2.mjs";import{a as m}from"../../chunk-5VU5KT3M.mjs";import"../../chunk-MA5FR2EM.mjs";import"../../chunk-NIQ4466A.mjs";export{r as InfoTile,o as Insight,m as MOTD,t as OrgChart,e as ProposalSummary,f as WhyUs};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type IconType = 'solid' | 'regular' | 'light' | 'duotone' | 'kit' | 'brands';
|
|
3
|
+
export interface DynamicIconProps {
|
|
4
|
+
type?: IconType;
|
|
5
|
+
iconName: string;
|
|
6
|
+
size?: '2xs' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const DynamicIcon: React.FC<DynamicIconProps>;
|
|
10
|
+
export default DynamicIcon;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var i=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(t,o)=>{for(var e in o)i(t,e,{get:o[e],enumerable:!0})},d=(t,o,e,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of p(o))!y.call(t,n)&&n!==e&&i(t,n,{get:()=>o[n],enumerable:!(c=l(o,n))||c.enumerable});return t};var g=t=>d(i({},"__esModule",{value:!0}),t);var I={};f(I,{default:()=>u});module.exports=g(I);var x=require("react/jsx-runtime"),m=({type:t="solid",iconName:o="cloud",size:e="lg",className:c})=>{let n="fa-"+t+" ",r="fa-"+o,s=c!=null?c:"",a=n+r+" fa-"+e+" "+s;return(0,x.jsx)("i",{className:a})},u=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var z=Object.prototype.hasOwnProperty;var N=(o,t)=>{for(var n in t)a(o,n,{get:t[n],enumerable:!0})},h=(o,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of D(t))!z.call(o,e)&&e!==n&&a(o,e,{get:()=>t[e],enumerable:!(i=I(t,e))||i.enumerable});return o};var C=o=>h(a({},"__esModule",{value:!0}),o);var R={};N(R,{Automation:()=>y,DuotoneCamera:()=>d,GitHub:()=>g,LightCloud:()=>m,RegularClock:()=>l,SolidUser:()=>x,default:()=>k});module.exports=C(R);var p=require("react/jsx-runtime"),P=({type:o="solid",iconName:t="cloud",size:n="lg",className:i})=>{let e="fa-"+o+" ",u="fa-"+t,b=i!=null?i:"",f=e+u+" fa-"+n+" "+b;return(0,p.jsx)("i",{className:f})},r=P;var k={title:"Images & Icons/DynamicIcon",component:r,tags:["autodocs"]},c=o=>(0,p.jsx)("div",{className:"h-12 w-12 mb-2",children:(0,p.jsx)(r,{...o})}),m=c.bind({});m.args={type:"light",iconName:"cloud",size:"10x"};var x=c.bind({});x.args={type:"solid",iconName:"user",size:"10x"};var l=c.bind({});l.args={type:"regular",iconName:"clock",size:"10x"};var d=c.bind({});d.args={type:"duotone",iconName:"camera",size:"10x"};var y=c.bind({});y.args={type:"kit",iconName:"automation",size:"10x"};var g=c.bind({});g.args={type:"brands",iconName:"github",size:"10x"};0&&(module.exports={Automation,DuotoneCamera,GitHub,LightCloud,RegularClock,SolidUser});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"../../chunk-OTS4QNQ2.mjs";import{jsx as e}from"react/jsx-runtime";var d={title:"Images & Icons/DynamicIcon",component:t,tags:["autodocs"]},o=i=>e("div",{className:"h-12 w-12 mb-2",children:e(t,{...i})}),n=o.bind({});n.args={type:"light",iconName:"cloud",size:"10x"};var a=o.bind({});a.args={type:"solid",iconName:"user",size:"10x"};var c=o.bind({});c.args={type:"regular",iconName:"clock",size:"10x"};var s=o.bind({});s.args={type:"duotone",iconName:"camera",size:"10x"};var r=o.bind({});r.args={type:"kit",iconName:"automation",size:"10x"};var m=o.bind({});m.args={type:"brands",iconName:"github",size:"10x"};export{r as Automation,s as DuotoneCamera,m as GitHub,n as LightCloud,c as RegularClock,a as SolidUser,d as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var i=`import DynamicIcon from './DynamicIcon';
|
|
2
|
+
import { customIconList } from './customIconList';
|
|
3
|
+
import { Meta } from '@storybook/blocks';
|
|
4
|
+
|
|
5
|
+
<Meta title="Style Guide/Custom Icon Index" />
|
|
6
|
+
|
|
7
|
+
# Custom Icon Index
|
|
8
|
+
|
|
9
|
+
<div className="grid gap-6" style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(100px, 1fr))' }}>
|
|
10
|
+
{customIconList.map((icon, index) => (
|
|
11
|
+
<div key={index} className="flex flex-col items-center mb-4 p-8" >
|
|
12
|
+
|
|
13
|
+
<DynamicIcon key={index} type="kit" iconName={icon} size="5x" />
|
|
14
|
+
<span className="mt-2 text-center">{icon}</span>
|
|
15
|
+
</div>
|
|
16
|
+
))}
|
|
17
|
+
</div>
|
|
18
|
+
`;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var i=`import DynamicIcon from './DynamicIcon';
|
|
2
|
+
import { customIconList } from './customIconList';
|
|
3
|
+
import { Meta } from '@storybook/blocks';
|
|
4
|
+
|
|
5
|
+
<Meta title="Style Guide/Custom Icon Index" />
|
|
6
|
+
|
|
7
|
+
# Custom Icon Index
|
|
8
|
+
|
|
9
|
+
<div className="grid gap-6" style={{ gridTemplateColumns: 'repeat(auto-fill, minmax(100px, 1fr))' }}>
|
|
10
|
+
{customIconList.map((icon, index) => (
|
|
11
|
+
<div key={index} className="flex flex-col items-center mb-4 p-8" >
|
|
12
|
+
|
|
13
|
+
<DynamicIcon key={index} type="kit" iconName={icon} size="5x" />
|
|
14
|
+
<span className="mt-2 text-center">{icon}</span>
|
|
15
|
+
</div>
|
|
16
|
+
))}
|
|
17
|
+
</div>
|
|
18
|
+
`;export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(e,o)=>{for(var t in o)c(e,t,{get:o[t],enumerable:!0})},d=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of a(o))!l.call(e,r)&&r!==t&&c(e,r,{get:()=>o[r],enumerable:!(n=i(o,r))||n.enumerable});return e};var u=e=>d(c({},"__esModule",{value:!0}),e);var p={};s(p,{customIconList:()=>g});module.exports=u(p);var g=["automation","benefits-tracking","calculation","checklist","cloud-framework","cloud-hosting","cloud-network","cloud-network-sharing","cloud-security","cloud-technology-selection","cloud-upload","cloud-upload-download","clouds","computer-reporting","contract-negotiation","data-computer","delivery","development","devices","devops-engineering","doc","doc-checklist","doc-plan","doc-search","financial-warning","framework","lightbulb","money","people-network","people-sharing","process","programme","progress","reliability","reporting","rocket-launch","rotation","search","security","services","shapes","software","target","target-design","terraform","vision","warning","winning"];0&&(module.exports={customIconList});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=["automation","benefits-tracking","calculation","checklist","cloud-framework","cloud-hosting","cloud-network","cloud-network-sharing","cloud-security","cloud-technology-selection","cloud-upload","cloud-upload-download","clouds","computer-reporting","contract-negotiation","data-computer","delivery","development","devices","devops-engineering","doc","doc-checklist","doc-plan","doc-search","financial-warning","framework","lightbulb","money","people-network","people-sharing","process","programme","progress","reliability","reporting","rocket-launch","rotation","search","security","services","shapes","software","target","target-design","terraform","vision","warning","winning"];export{o as customIconList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var i=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(t,o)=>{for(var e in o)i(t,e,{get:o[e],enumerable:!0})},d=(t,o,e,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of m(o))!y.call(t,n)&&n!==e&&i(t,n,{get:()=>o[n],enumerable:!(c=l(o,n))||c.enumerable});return t};var g=t=>d(i({},"__esModule",{value:!0}),t);var u={};f(u,{DynamicIcon:()=>x});module.exports=g(u);var r=require("react/jsx-runtime"),I=({type:t="solid",iconName:o="cloud",size:e="lg",className:c})=>{let n="fa-"+t+" ",p="fa-"+o,s=c!=null?c:"",a=n+p+" fa-"+e+" "+s;return(0,r.jsx)("i",{className:a})},x=I;0&&(module.exports={DynamicIcon});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"../../chunk-OTS4QNQ2.mjs";export{o as DynamicIcon};
|