-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path368.05569cef.chunk.js
More file actions
1 lines (1 loc) · 26.7 KB
/
368.05569cef.chunk.js
File metadata and controls
1 lines (1 loc) · 26.7 KB
1
"use strict";(self.webpackChunkfezcodex=self.webpackChunkfezcodex||[]).push([[368],{3356(e,a,t){t.d(a,{Q:()=>c,X:()=>i});var l=t(89379),r=t(9950),n=t(35507),s=t(71508);const c=r.forwardRef((e,a)=>r.createElement(n.A,(0,l.A)((0,l.A)({ref:a},e),{},{weights:s.A})));c.displayName="TaxiIcon";const i=c},10368(e,a,t){t.r(a),t.d(a,{default:()=>b});var l=t(9950),r=t(18905),n=t(3356),s=t(4422),c=t(33629),i=t(88763),m=t(20949),o=t(99903),d=t(61700),h=t(49849),x=t(41563),p=t(44374),g=t(89837),u=t(80797);const H=function(e){const a=e.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>e.replace(/^\||\|$/g,"").split("|").map(e=>e.trim()));if(0===a.length)return"";const t=a[0].length,l=new Array(t).fill(0);return a.forEach(e=>{e.forEach((e,a)=>{a<t&&(l[a]=Math.max(l[a],e.length,3))})}),a.map((e,a)=>{const r=1===a&&/^[:\s-]*$/.test(e.join("")),n=e.map((e,a)=>{if(a>=t)return null;const n=l[a];if(r){const a=e.startsWith(":"),t=e.endsWith(":")?":":"-";return(a?":":"-")+"-".repeat(n-2)+t}return e.padEnd(n," ")}).filter(e=>null!==e);return"| ".concat(n.join(" | ")," |")}).join("\n")};var f=t(96081),A=t(35951),Z=t(44414);const b=()=>{const[e,a]=(0,l.useState)(""),[t,b]=(0,l.useState)(""),{addToast:j}=(0,p.d)(),{openSidePanel:w}=(0,f.p)(),v=()=>(0,Z.jsxs)("div",{className:"space-y-8 font-mono",children:[(0,Z.jsxs)("div",{className:"flex items-center justify-center gap-4 py-8 border-y border-white/10",children:[(0,Z.jsx)(n.Q,{size:32,weight:"fill",className:"text-yellow-500"}),(0,Z.jsx)("h2",{className:"text-white text-xl font-black uppercase tracking-widest text-center",children:"Origins // Taxi Driver"}),(0,Z.jsx)(n.Q,{size:32,weight:"fill",className:"text-yellow-500"})]}),(0,Z.jsxs)("div",{className:"space-y-6",children:[(0,Z.jsx)("p",{className:"text-sm text-gray-400 leading-relaxed uppercase tracking-wider",children:"Created after watching Taxi Driver (1976). While writing a review, I realized that manual Markdown Table creation is an exercise in futility."}),(0,Z.jsx)("div",{className:"p-4 bg-emerald-500/5 border border-emerald-500/20 rounded-sm",children:(0,Z.jsx)("p",{className:"text-[10px] text-emerald-500 font-bold uppercase tracking-[0.2em]",children:"System Log: 05:00 AM // Development Complete"})}),(0,Z.jsx)("p",{className:"text-sm text-gray-400 leading-relaxed uppercase tracking-wider",children:"This tool ensures perfectly aligned pipes and consistent spacing, so you can focus on the content, not the syntax."})]})]});return(0,Z.jsxs)("div",{className:"min-h-screen bg-[#050505] text-white selection:bg-emerald-500/30 font-sans",children:[(0,Z.jsx)(g.A,{title:"Markdown Table Formatter | Fezcodex",description:"Format your markdown tables into clean, readable structures.",keywords:["Fezcodex","md","markdown","table","formatter"]}),(0,Z.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-24 md:px-12",children:[(0,Z.jsxs)("header",{className:"mb-24",children:[(0,Z.jsxs)(r.N_,{to:"/apps",className:"group mb-12 inline-flex items-center gap-2 text-xs font-mono text-gray-500 hover:text-white transition-colors uppercase tracking-[0.3em]",children:[(0,Z.jsx)(s.A,{weight:"bold",className:"transition-transform group-hover:-translate-x-1"}),(0,Z.jsx)("span",{children:"Applications"})]}),(0,Z.jsx)("div",{className:"flex flex-col md:flex-row md:items-end justify-between gap-12",children:(0,Z.jsxs)("div",{className:"space-y-4",children:[(0,Z.jsx)(u.A,{title:"Markdown Table Formatter",slug:"mtf",variant:"brutalist"}),(0,Z.jsx)("p",{className:"text-xl text-gray-400 max-w-2xl font-light leading-relaxed",children:"Structural integrity for your documentation. Transform messy table syntax into perfectly aligned blocks."})]})})]}),(0,Z.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12",children:[(0,Z.jsxs)("div",{className:"lg:col-span-4 space-y-8",children:[(0,Z.jsxs)("div",{className:"border border-white/10 bg-white/[0.02] p-8 rounded-sm space-y-10",children:[(0,Z.jsxs)("h3",{className:"font-mono text-[10px] font-bold text-emerald-500 uppercase tracking-widest flex items-center gap-2",children:[(0,Z.jsx)(c.b,{weight:"fill"}),"Actions"]}),(0,Z.jsxs)("div",{className:"space-y-4",children:[(0,Z.jsxs)("button",{onClick:()=>{try{if(!e.trim())return void b("");let a=H(e);b(a),j({title:"Success",message:"Table formatted successfully.",duration:2e3})}catch(a){j({title:"Error",message:"Failed to format given markdown table text.",duration:3e3}),b("")}},className:"w-full py-4 bg-white text-black hover:bg-emerald-500 hover:text-black transition-all text-xs font-black uppercase tracking-widest flex items-center justify-center gap-2",children:[(0,Z.jsx)(i.f,{size:20,weight:"bold"}),"Format Table"]}),(0,Z.jsxs)("button",{onClick:()=>{a(""),b("")},className:"w-full py-3 border border-white/10 hover:border-red-500 hover:text-red-500 text-gray-500 transition-all text-xs font-black uppercase tracking-widest flex items-center justify-center gap-2",children:[(0,Z.jsx)(m.t,{size:16,weight:"bold"}),"Clear Data"]})]}),(0,Z.jsx)("div",{className:"pt-8 border-t border-white/5",children:(0,Z.jsxs)("button",{onClick:()=>w("WHY_THIS_TOOL?",(0,Z.jsx)(v,{}),400),className:"w-full text-left font-mono text-[10px] text-gray-500 hover:text-white uppercase tracking-widest flex items-center justify-between group",children:[(0,Z.jsxs)("span",{className:"flex items-center gap-2",children:[(0,Z.jsx)(o.R,{weight:"fill"}),"View Documentation / History"]}),(0,Z.jsx)("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:"->"})]})})]}),(0,Z.jsxs)("div",{className:"p-8 border border-white/10 bg-white/[0.01] rounded-sm flex items-start gap-4",children:[(0,Z.jsx)(d.m,{size:24,className:"text-gray-700 shrink-0"}),(0,Z.jsx)("p",{className:"text-[10px] font-mono uppercase tracking-[0.2em] leading-relaxed text-gray-500",children:"The algorithm aligns columns by calculating the maximum character width of each cell across all rows."})]})]}),(0,Z.jsxs)("div",{className:"lg:col-span-8 space-y-12",children:[(0,Z.jsxs)("div",{className:"relative border border-white/10 bg-white/[0.02] p-8 md:p-12 rounded-sm overflow-hidden group",children:[(0,Z.jsx)("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none grayscale",children:(0,Z.jsx)(A.A,{seed:"md-formatter",className:"w-full h-full"})}),(0,Z.jsxs)("div",{className:"relative z-10 space-y-12",children:[(0,Z.jsxs)("div",{className:"space-y-4",children:[(0,Z.jsxs)("label",{className:"font-mono text-[10px] text-gray-500 uppercase tracking-widest flex items-center gap-2",children:[(0,Z.jsx)("span",{className:"h-px w-4 bg-gray-800"})," Input Markdown"]}),(0,Z.jsx)("textarea",{value:e,onChange:e=>a(e.target.value),placeholder:"Paste your unformatted markdown table here...",className:"w-full h-48 p-8 bg-black/40 border border-white/5 rounded-sm font-mono text-sm leading-relaxed focus:border-emerald-500/50 focus:ring-0 transition-all resize-none shadow-inner"})]}),(0,Z.jsxs)("div",{className:"relative group/output",children:[(0,Z.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,Z.jsxs)("label",{className:"font-mono text-[10px] text-emerald-500 uppercase tracking-widest font-black flex items-center gap-2",children:[(0,Z.jsx)("span",{className:"h-px w-4 bg-emerald-500/20"})," Result"]}),(0,Z.jsx)("button",{onClick:()=>{var e;(e=t)&&navigator.clipboard.writeText(e).then(()=>{j({title:"Success",message:"Copied to clipboard!",duration:2e3})})},disabled:!t,className:"text-emerald-500 hover:text-white transition-colors disabled:opacity-0",children:(0,Z.jsx)(h.t,{size:24,weight:"bold"})})]}),(0,Z.jsx)("textarea",{readOnly:!0,value:t,placeholder:"Waiting for input...",className:"w-full h-64 p-8 border border-emerald-500/20 bg-emerald-500/[0.02] rounded-sm font-mono text-xs whitespace-pre overflow-x-auto resize-none transition-colors duration-500 focus:outline-none ".concat(t?"text-white":"text-gray-800")})]})]})]}),(0,Z.jsx)("div",{className:"p-8 border border-white/10 bg-white/[0.01] rounded-sm flex items-center justify-between gap-6",children:(0,Z.jsxs)("div",{className:"flex items-center gap-4",children:[(0,Z.jsx)(x.Z,{size:32,className:"text-emerald-500/50"}),(0,Z.jsx)("span",{className:"text-[10px] font-mono text-gray-500 uppercase tracking-widest",children:"Formatting Engine: v2.4.0-STABLE"})]})})]})]}),(0,Z.jsxs)("footer",{className:"mt-32 pt-12 border-t border-white/10 flex flex-col md:flex-row justify-between items-center gap-6 text-gray-600 font-mono text-[10px] uppercase tracking-[0.3em]",children:[(0,Z.jsx)("span",{children:"Fezcodex_MD_Table_Formatter_v1.2.4"}),(0,Z.jsx)("span",{className:"text-gray-800",children:"PIPES // ALIGNED"})]})]})]})}},20949(e,a,t){t.d(a,{K:()=>i,t:()=>c});var l=t(89379),r=t(9950),n=t(35507),s=t(92269);const c=r.forwardRef((e,a)=>r.createElement(n.A,(0,l.A)((0,l.A)({ref:a},e),{},{weights:s.A})));c.displayName="BroomIcon";const i=c},33629(e,a,t){t.d(a,{G:()=>i,b:()=>c});var l=t(89379),r=t(9950),n=t(35507),s=t(41413);const c=r.forwardRef((e,a)=>r.createElement(n.A,(0,l.A)((0,l.A)({ref:a},e),{},{weights:s.A})));c.displayName="FileCodeIcon";const i=c},41413(e,a,t){t.d(a,{A:()=>r});var l=t(9950);const r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),l.createElement("path",{d:"M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z"}))]])},60867(e,a,t){t.d(a,{A:()=>r});var l=t(9950);const r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M120,156a32,32,0,1,0-32,32A32,32,0,0,0,120,156Zm-40,0a8,8,0,1,1,8,8A8,8,0,0,1,80,156Zm164-40H227.34A108,108,0,0,0,12,128v24a76.08,76.08,0,0,0,76,76h40a76.08,76.08,0,0,0,76-76V140h40a12,12,0,0,0,0-24ZM36,152V128a84,84,0,0,1,167.15-12H152a12,12,0,0,0-12,12v24a52,52,0,0,1-104,0Zm144,0a52.07,52.07,0,0,1-33.67,48.65A75.63,75.63,0,0,0,164,152V140h16Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M88,176a20,20,0,1,1,20-20A20,20,0,0,1,88,176Zm64-48v24a64,64,0,0,1-64,64h40a64,64,0,0,0,64-64V128Z",opacity:"0.2"}),l.createElement("path",{d:"M88,128a28,28,0,1,0,28,28A28,28,0,0,0,88,128Zm0,40a12,12,0,1,1,12-12A12,12,0,0,1,88,168Zm160-48H223.7A104,104,0,0,0,16,128v24a72.08,72.08,0,0,0,72,72h40a72.08,72.08,0,0,0,72-72V136h48a8,8,0,0,0,0-16Zm-64,32a56.06,56.06,0,0,1-50.46,55.72A71.87,71.87,0,0,0,160,152V136h24Zm-32-32a8,8,0,0,0-8,8v24a56,56,0,0,1-112,0V128a88,88,0,0,1,175.64-8Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M248,120H223.7A104,104,0,0,0,16,128v24a72.08,72.08,0,0,0,72,72h40a72.08,72.08,0,0,0,72-72V136h48a8,8,0,0,0,0-16ZM88,180a24,24,0,1,1,24-24A24,24,0,0,1,88,180Zm96-28a56.06,56.06,0,0,1-50.46,55.72A71.87,71.87,0,0,0,160,152V136h24Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M88,130a26,26,0,1,0,26,26A26,26,0,0,0,88,130Zm0,40a14,14,0,1,1,14-14A14,14,0,0,1,88,170Zm160-48H221.83A102,102,0,0,0,18,128v24a70.08,70.08,0,0,0,70,70h40a70.08,70.08,0,0,0,70-70V134h50a6,6,0,0,0,0-12Zm-62,30a58.07,58.07,0,0,1-58,58h-.85A70,70,0,0,0,158,152V134h28Zm-34-30a6,6,0,0,0-6,6v24a58,58,0,0,1-116,0V128a90,90,0,0,1,179.8-6Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M88,128a28,28,0,1,0,28,28A28,28,0,0,0,88,128Zm0,40a12,12,0,1,1,12-12A12,12,0,0,1,88,168Zm160-48H223.7A104,104,0,0,0,16,128v24a72.08,72.08,0,0,0,72,72h40a72.08,72.08,0,0,0,72-72V136h48a8,8,0,0,0,0-16Zm-64,32a56.06,56.06,0,0,1-50.46,55.72A71.87,71.87,0,0,0,160,152V136h24Zm-32-32a8,8,0,0,0-8,8v24a56,56,0,0,1-112,0V128a88,88,0,0,1,175.64-8Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M88,132a24,24,0,1,0,24,24A24,24,0,0,0,88,132Zm0,40a16,16,0,1,1,16-16A16,16,0,0,1,88,172Zm160-48H219.92A100,100,0,0,0,20,128v24a68.07,68.07,0,0,0,68,68h40a68.07,68.07,0,0,0,68-68V132h52a4,4,0,0,0,0-8Zm-60,28a60.07,60.07,0,0,1-60,60h-8a68.07,68.07,0,0,0,36-60V132h32Zm-36-28a4,4,0,0,0-4,4v24a60,60,0,0,1-120,0V128a92,92,0,0,1,183.91-4Z"}))]])},71508(e,a,t){t.d(a,{A:()=>r});var l=t(9950);const r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,100h-9L204.72,54.08A20,20,0,0,0,187.36,44H168.12l-11-27.43A19.9,19.9,0,0,0,138.58,4H117.42A19.9,19.9,0,0,0,98.85,16.57L87.88,44H68.64A20,20,0,0,0,51.28,54.08L25,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM120.12,28h15.76l6.4,16H113.72ZM71,68H185l18.28,32H52.68ZM64,196H44V180H64Zm148,0H192V180h20Zm0-40H44V124H212Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M184,176h40v24a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8ZM32,200a8,8,0,0,0,8,8H64a8,8,0,0,0,8-8V176H32ZM194.3,60a8,8,0,0,0-6.94-4H68.64a8,8,0,0,0-6.94,4L32,112H224Z",opacity:"0.2"}),l.createElement("path",{d:"M240,104H228.64L201.25,56.06A16,16,0,0,0,187.36,48H165.42l-12-29.94A15.93,15.93,0,0,0,138.58,8H117.42a15.93,15.93,0,0,0-14.86,10.06L90.58,48H68.64a16,16,0,0,0-13.89,8.06L27.36,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM117.42,24h21.16l9.6,24H107.82ZM68.64,64H187.36l22.85,40H45.79ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,104H228.64L201.25,56.06A16,16,0,0,0,187.36,48H165.42l-12-29.94A15.93,15.93,0,0,0,138.58,8H117.42a15.93,15.93,0,0,0-14.86,10.06L90.58,48H68.64a16,16,0,0,0-13.89,8.06L27.36,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM45.79,104,68.64,64H187.36l22.85,40Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,106H227.48l-28-48.95a14,14,0,0,0-12.15-7h-23.3L151.58,18.8a13.93,13.93,0,0,0-13-8.8H117.42a13.93,13.93,0,0,0-13,8.8L91.94,50H68.64a14,14,0,0,0-12.15,7l-28,49H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM115.56,23.26A2,2,0,0,1,117.42,22h21.16a2,2,0,0,1,1.86,1.26L151.14,50H104.86ZM66.91,63a2,2,0,0,1,1.73-1H187.36a2,2,0,0,1,1.73,1l24.57,43H42.34ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,104H228.64L201.25,56.06A16,16,0,0,0,187.36,48H165.42l-12-29.94A15.93,15.93,0,0,0,138.58,8H117.42a15.93,15.93,0,0,0-14.86,10.06L90.58,48H68.64a16,16,0,0,0-13.89,8.06L27.36,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM117.42,24h21.16l9.6,24H107.82ZM68.64,64H187.36l22.85,40H45.79ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,108H226.32L197.78,58.05a12,12,0,0,0-10.42-6H162.71l-13-32.46A12,12,0,0,0,138.58,12H117.42a12,12,0,0,0-11.15,7.54L93.29,52H68.64a12,12,0,0,0-10.42,6L29.68,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM113.7,22.51A4,4,0,0,1,117.42,20h21.16a4,4,0,0,1,3.72,2.51L154.09,52H101.91ZM65.17,62a4,4,0,0,1,3.47-2H187.36a4,4,0,0,1,3.47,2l26.28,46H38.89ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z"}))]])},80797(e,a,t){t.d(a,{A:()=>n});var l=t(9950),r=t(44414);const n=e=>{let{title:a,slug:t,breadcrumbs:n,gradient:s=!0,sansFont:c=!1,lightStyle:i=!0,variant:m="default"}=e;const o=n||(t?["fc","apps",t]:[]);return"brutalist"===m?(0,r.jsxs)("div",{className:"flex flex-col gap-2 mb-8",children:[(0,r.jsx)("div",{className:"flex items-center gap-2 font-mono text-[10px] uppercase tracking-[0.3em] text-gray-400",children:o.map((e,a)=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)("span",{className:a===o.length-1?"text-emerald-500 font-bold":"",children:e}),a<o.length-1&&(0,r.jsxs)("span",{className:"text-gray-600 font-bold ",children:[" ","//"]})]},a))}),(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-black tracking-tighter text-white uppercase leading-none",children:a})]}):(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center mb-4 ".concat(c?"font-playfairDisplay":"font-mono"," "),children:[(0,r.jsx)("span",{className:"min-[1376px]:absolute min-[1376px]:left-0 min-[1376px]:top-1/2 min-[1376px]:-translate-y-1/2 text-xl md:text-2xl font-mono font-normal text-gray-500 tracking-tight mb-2 min-[1376px]:mb-0 opacity-75",children:o.map((e,a)=>(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)("span",{className:a===o.length-1?i?"text-primary-400":"text-rose-800":"",children:e}),a<o.length-1&&(0,r.jsx)("span",{className:"text-gray-700",children:"::"})]},a))}),(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-black tracking-tighter text-center",children:(0,r.jsx)("span",{className:s?i?"bg-clip-text text-transparent bg-gradient-to-r from-primary-400 to-secondary-400":"bg-clip-text text-transparent bg-gradient-to-r from-pink-800 to-teal-800":"text-white",children:a})})]})}},88763(e,a,t){t.d(a,{f:()=>c,q:()=>i});var l=t(89379),r=t(9950),n=t(35507),s=t(60867);const c=r.forwardRef((e,a)=>r.createElement(n.A,(0,l.A)((0,l.A)({ref:a},e),{},{weights:s.A})));c.displayName="BaseballHelmetIcon";const i=c},89837(e,a,t){t.d(a,{A:()=>s});t(9950);var l=t(18905),r=t(44414);const n="https://fezcode.com",s=e=>{let{title:a,description:t,image:s,keywords:c,ogImage:i,twitterImage:m,type:o}=e;const d=(0,l.zy)();if(!a||"Fezcodex"===a||"fezcodex"===a)return null;const h=n+d.pathname,x=d.pathname.startsWith("/apps"),p=s||i||m||(x?"/images/asset/ogtitle-apps.png":"/images/asset/ogtitle.png"),g=p.startsWith("http")?p:n+(p.startsWith("/")?"":"/")+p,u=Array.isArray(c)?c.join(", "):c,H=o||(d.pathname.startsWith("/blog")?"article":"website");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:a}),(0,r.jsx)("meta",{name:"description",content:t}),u&&(0,r.jsx)("meta",{name:"keywords",content:u}),(0,r.jsx)("meta",{property:"og:title",content:a}),(0,r.jsx)("meta",{property:"og:description",content:t}),(0,r.jsx)("meta",{property:"og:image",content:g}),(0,r.jsx)("meta",{property:"og:url",content:h}),(0,r.jsx)("meta",{property:"og:type",content:H}),(0,r.jsx)("meta",{property:"og:site_name",content:"Fezcodex"}),g.startsWith("https")&&(0,r.jsx)("meta",{property:"og:image:secure_url",content:g}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:a}),(0,r.jsx)("meta",{name:"twitter:description",content:t}),(0,r.jsx)("meta",{name:"twitter:image",content:g}),(0,r.jsx)("meta",{name:"twitter:url",content:h}),(0,r.jsx)("link",{rel:"canonical",href:h})]})}},92269(e,a,t){t.d(a,{A:()=>r});var l=t(9950);const r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M237.24,213.21C216.12,203,204,180.64,204,152V134.73a19.94,19.94,0,0,0-12.62-18.59l-24.86-9.81a4,4,0,0,1-2.26-5.14l21.33-53A32,32,0,0,0,167.17,6,32.13,32.13,0,0,0,126.25,24.2l-.07.18-21,53.09a3.94,3.94,0,0,1-2.14,2.2,3.89,3.89,0,0,1-3,.06L74.6,69.43A19.89,19.89,0,0,0,52.87,74C31.06,96.43,20,122.68,20,152a115.46,115.46,0,0,0,32.29,80.3A12,12,0,0,0,61,236H232a12,12,0,0,0,5.24-22.79ZM68.19,92.73,91.06,102A28,28,0,0,0,127.5,86.31l20.95-53a8.32,8.32,0,0,1,10.33-4.81,8,8,0,0,1,4.61,10.57,1.17,1.17,0,0,0,0,.11L142,92.29a28.05,28.05,0,0,0,15.68,36.33L180,137.45V152c0,1,0,2.07.05,3.1l-122.44-49A101.91,101.91,0,0,1,68.19,92.73ZM116.74,212a83.73,83.73,0,0,1-22.09-39,12,12,0,0,0-23.25,6,110.27,110.27,0,0,0,14.49,33H66.25A91.53,91.53,0,0,1,44,152a84,84,0,0,1,3.41-24.11l136.67,54.66A86.58,86.58,0,0,0,198.66,212Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M192.8,165.12,43.93,105.57A110.88,110.88,0,0,1,61.47,82.38a8,8,0,0,1,8.67-1.81L95.52,90.85a16,16,0,0,0,20.82-9l21-53.1c4.15-10,15.47-15.33,25.63-11.53a20,20,0,0,1,11.51,26.39L153.13,96.71a16,16,0,0,0,8.93,20.75L187,127.3a8,8,0,0,1,5,7.43V152A104.58,104.58,0,0,0,192.8,165.12Z",opacity:"0.2"}),l.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M234.62,218.6C211.35,207.29,198,183,198,152V134.7a14,14,0,0,0-8.82-13l-24.89-9.83a10,10,0,0,1-5.59-13L180,45.9a26,26,0,0,0-15-34.33c-12.95-4.83-27.88,1.84-33.31,15l-21,53.11a10,10,0,0,1-13,5.61L72.37,75a13.9,13.9,0,0,0-15.2,3.19C36.49,99.42,26,124.26,26,152a109.53,109.53,0,0,0,30.62,76.16A6,6,0,0,0,61,230H232a6,6,0,0,0,2.62-11.4ZM65.77,86.52a2,2,0,0,1,2.12-.43l25.4,10.29a22,22,0,0,0,28.63-12.32l21-53c3-7.13,11-10.81,18-8.21a14,14,0,0,1,8,18.54l-21.36,53.1A22.05,22.05,0,0,0,159.86,123l24.88,9.83A2,2,0,0,1,186,134.7V152c0,1.34,0,2.65.08,4L52.74,102.61A110.07,110.07,0,0,1,65.77,86.52ZM114.33,218a89.6,89.6,0,0,1-25.5-43.5,6,6,0,1,0-11.62,3A102.87,102.87,0,0,0,97.81,218H63.56A97.56,97.56,0,0,1,38,152a87.42,87.42,0,0,1,8.71-38.86L187.35,169.4c3.15,19.92,11.77,36.66,25,48.6Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.5,216.81c-22.56-11-35.5-34.58-35.5-64.8V134.73a15.94,15.94,0,0,0-10.09-14.87L165,110a8,8,0,0,1-4.48-10.34l21.32-53a28,28,0,0,0-16.1-37,28.14,28.14,0,0,0-35.82,16,.61.61,0,0,0,0,.12L108.9,79a8,8,0,0,1-10.37,4.49L73.11,73.14A15.89,15.89,0,0,0,55.74,76.8C34.68,98.45,24,123.75,24,152a111.45,111.45,0,0,0,31.18,77.53A8,8,0,0,0,61,232H232a8,8,0,0,0,3.5-15.19ZM67.14,88l25.41,10.3a24,24,0,0,0,31.23-13.45l21-53c2.56-6.11,9.47-9.27,15.43-7a12,12,0,0,1,6.88,15.92L145.69,93.76a24,24,0,0,0,13.43,31.14L184,134.73V152c0,.33,0,.66,0,1L55.77,101.71A108.84,108.84,0,0,1,67.14,88Zm48,128a87.53,87.53,0,0,1-24.34-42,8,8,0,0,0-15.49,4,105.16,105.16,0,0,0,18.36,38H64.44A95.54,95.54,0,0,1,40,152a85.9,85.9,0,0,1,7.73-36.29l137.8,55.12c3,18,10.56,33.48,21.89,45.16Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M233.75,220.4C209.76,208.75,196,183.82,196,152V134.72a12,12,0,0,0-7.56-11.15l-24.89-9.83a12,12,0,0,1-6.71-15.55l21.33-53a23.88,23.88,0,0,0-31.93-31A24.72,24.72,0,0,0,133.62,27.3l-21,53.1A12,12,0,0,1,97,87.13L71.63,76.84a12,12,0,0,0-13,2.73C38.3,100.45,28,124.82,28,152a107.5,107.5,0,0,0,30.07,74.77A4,4,0,0,0,61,228H232a4,4,0,0,0,1.75-7.6ZM64.34,85.15a3.94,3.94,0,0,1,4.3-.89L94,94.55a20,20,0,0,0,26-11.2l21-53C144.39,22.19,153.61,18,161.58,21a16,16,0,0,1,9.19,21.16L149.41,95.22a20,20,0,0,0,11.18,26l24.9,9.83a4,4,0,0,1,2.51,3.72V152c0,2.36.08,4.69.22,7l-138.5-55.4A110.84,110.84,0,0,1,64.34,85.15ZM113.56,220A91.35,91.35,0,0,1,86.9,175a4,4,0,0,0-7.75,2,100.21,100.21,0,0,0,23.09,43H62.68A99.5,99.5,0,0,1,36,152a89.37,89.37,0,0,1,9.73-41.4L189.13,168c3.22,22,13.23,40.09,28.8,52Z"}))]])}}]);