-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1009.495f73fc.chunk.js
More file actions
1 lines (1 loc) · 8.11 KB
/
1009.495f73fc.chunk.js
File metadata and controls
1 lines (1 loc) · 8.11 KB
1
"use strict";(self.webpackChunkfezcodex=self.webpackChunkfezcodex||[]).push([[1009],{61009(e,t,s){s.r(t),s.d(t,{default:()=>g});var a=s(9950),r=s(18905),n=s(4422),l=s(49849),i=s(86944),o=s(44374),c=s(89837),x=s(35951),d=s(80797),m=s(44414);const p={A:"\ud803\udc00",E:"\ud803\udc00",I:"\ud803\udc03","\u0130":"\ud803\udc03",O:"\ud803\udc06",U:"\ud803\udc06","\xd6":"\ud803\udc07","\xdc":"\ud803\udc07",B:"\ud803\udc09",C:"\ud803\udc32","\xc7":"\ud803\udc32",D:"\ud803\udc11",F:"\ud803\udc2f",G:"\ud803\udc0d","\u011e":"\ud803\udc0d",H:"\ud803\udc34",J:"\ud803\udc32",K:"\ud803\udc34",L:"\ud803\udc1e",M:"\ud803\udc22",N:"\ud803\udc23",P:"\ud803\udc2f",R:"\ud803\udc3a",S:"\ud803\udc3d","\u015e":"\ud803\udc41",T:"\ud803\udc43",V:"\ud803\udc09",Y:"\ud803\udc16",Z:"\ud803\udc15"," ":":",".":"",",":""},h=Object.entries(p).reduce((e,t)=>{let[s,a]=t;return e[a]||"."===s||","===s||(e[a]=s),e},{});h[":"]=" ";const g=function(){const[e,t]=(0,a.useState)(""),[s,g]=(0,a.useState)(""),{addToast:u}=(0,o.d)();return(0,m.jsxs)("div",{className:"min-h-screen bg-[#050505] text-white selection:bg-emerald-500/30 font-sans",children:[(0,m.jsx)(c.A,{title:"G\xf6kt\xfcrk Converter | Fezcodex",description:"Convert text between Latin and G\xf6kt\xfcrk (Orkhon) script.",keywords:["Fezcodex","G\xf6kt\xfcrk converter","Orkhon script","Old Turkic","Turkish converter"]}),(0,m.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-24 md:px-12",children:[(0,m.jsxs)("header",{className:"mb-20",children:[(0,m.jsxs)(r.N_,{to:"/apps",className:"mb-8 inline-flex items-center gap-2 text-xs font-mono text-gray-500 hover:text-white transition-colors uppercase tracking-widest",children:[(0,m.jsx)(n.A,{weight:"bold"}),(0,m.jsx)("span",{children:"Applications"})]}),(0,m.jsx)("div",{className:"flex flex-col md:flex-row md:items-end justify-between gap-12",children:(0,m.jsxs)("div",{className:"space-y-4",children:[(0,m.jsx)(d.A,{title:"G\xf6kt\xfcrk Converter",slug:"gokturk",variant:"brutalist"}),(0,m.jsx)("p",{className:"text-xl text-gray-400 max-w-2xl font-light leading-relaxed",children:"Ancient script protocol. Translate modern text into the runic alphabet of the G\xf6kt\xfcrks."})]})})]}),(0,m.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12",children:[(0,m.jsx)("div",{className:"lg:col-span-5 space-y-8",children:(0,m.jsxs)("div",{className:"relative border border-white/10 bg-white/[0.02] p-8 rounded-sm group overflow-hidden",children:[(0,m.jsx)("div",{className:"absolute inset-0 opacity-5 pointer-events-none",children:(0,m.jsx)(x.A,{seed:"GOKTURK_INPUT",className:"w-full h-full"})}),(0,m.jsx)("div",{className:"absolute top-0 left-0 w-1 h-0 group-hover:h-full bg-emerald-500 transition-all duration-500"}),(0,m.jsxs)("h3",{className:"font-mono text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-6 flex items-center gap-2",children:[(0,m.jsx)(i.S,{weight:"fill",className:"text-emerald-500"}),"Input_Buffer"]}),(0,m.jsx)("textarea",{value:e,onChange:e=>t(e.target.value),className:"w-full h-64 bg-black/40 border border-white/5 p-6 font-mono text-sm text-gray-300 focus:border-emerald-500 focus:outline-none transition-all rounded-sm resize-none scrollbar-hide",placeholder:"Insert text..."}),(0,m.jsxs)("div",{className:"grid grid-cols-2 gap-4 mt-8",children:[(0,m.jsx)("button",{onClick:()=>{try{const t=e.toUpperCase().split("").map(e=>p[e]||e).join("");g(t),u({title:"Success",message:"Text converted to G\xf6kt\xfcrk script.",type:"success"})}catch(t){u({title:"Error",message:"Failed to convert.",type:"error"})}},className:"py-3 bg-white text-black font-black uppercase text-[10px] tracking-widest hover:bg-emerald-400 transition-all",children:"To G\xf6kt\xfcrk"}),(0,m.jsx)("button",{onClick:()=>{try{const t=e.split("").map(e=>h[e]||e).join("");g(t),u({title:"Success",message:"G\xf6kt\xfcrk script converted to Latin.",type:"success"})}catch(t){u({title:"Error",message:"Failed to convert.",type:"error"})}},className:"py-3 border border-white/20 text-white font-black uppercase text-[10px] tracking-widest hover:bg-white/10 transition-all",children:"To Latin"})]})]})}),(0,m.jsx)("div",{className:"lg:col-span-7 space-y-8",children:(0,m.jsxs)("div",{className:"relative border border-white/10 bg-white/[0.02] p-8 rounded-sm group overflow-hidden flex flex-col h-full",children:[(0,m.jsxs)("h3",{className:"font-mono text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-6 flex items-center gap-2",children:[(0,m.jsx)(i.S,{weight:"fill",className:"text-emerald-500"}),"Output_Sequence"]}),(0,m.jsxs)("div",{className:"relative flex-grow",children:[(0,m.jsx)("textarea",{value:s,readOnly:!0,className:"w-full h-full min-h-[300px] bg-black/40 border border-white/5 p-4 font-mono text-lg text-emerald-400 focus:outline-none transition-all rounded-sm resize-none scrollbar-hide",placeholder:"Output...",style:{fontFamily:"sans-serif"}}),(0,m.jsx)("button",{onClick:()=>{var e;(e=s)&&navigator.clipboard.writeText(e).then(()=>{u({title:"Copied",message:"Text stored in clipboard.",duration:2e3})})},className:"absolute top-2 right-2 text-gray-600 hover:text-white transition-colors",children:(0,m.jsx)(l.t,{size:16})})]})]})})]})]})]})}},80797(e,t,s){s.d(t,{A:()=>n});var a=s(9950),r=s(44414);const n=e=>{let{title:t,slug:s,breadcrumbs:n,gradient:l=!0,sansFont:i=!1,lightStyle:o=!0,variant:c="default"}=e;const x=n||(s?["fc","apps",s]:[]);return"brutalist"===c?(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:x.map((e,t)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("span",{className:t===x.length-1?"text-emerald-500 font-bold":"",children:e}),t<x.length-1&&(0,r.jsxs)("span",{className:"text-gray-600 font-bold ",children:[" ","//"]})]},t))}),(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-black tracking-tighter text-white uppercase leading-none",children:t})]}):(0,r.jsxs)("div",{className:"relative flex flex-col items-center justify-center mb-4 ".concat(i?"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:x.map((e,t)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("span",{className:t===x.length-1?o?"text-primary-400":"text-rose-800":"",children:e}),t<x.length-1&&(0,r.jsx)("span",{className:"text-gray-700",children:"::"})]},t))}),(0,r.jsx)("h1",{className:"text-4xl md:text-6xl font-black tracking-tighter text-center",children:(0,r.jsx)("span",{className:l?o?"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:t})})]})}},89837(e,t,s){s.d(t,{A:()=>l});s(9950);var a=s(18905),r=s(44414);const n="https://fezcode.com",l=e=>{let{title:t,description:s,image:l,keywords:i,ogImage:o,twitterImage:c,type:x}=e;const d=(0,a.zy)();if(!t||"Fezcodex"===t||"fezcodex"===t)return null;const m=n+d.pathname,p=d.pathname.startsWith("/apps"),h=l||o||c||(p?"/images/asset/ogtitle-apps.png":"/images/asset/ogtitle.png"),g=h.startsWith("http")?h:n+(h.startsWith("/")?"":"/")+h,u=Array.isArray(i)?i.join(", "):i,f=x||(d.pathname.startsWith("/blog")?"article":"website");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{name:"description",content:s}),u&&(0,r.jsx)("meta",{name:"keywords",content:u}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{property:"og:description",content:s}),(0,r.jsx)("meta",{property:"og:image",content:g}),(0,r.jsx)("meta",{property:"og:url",content:m}),(0,r.jsx)("meta",{property:"og:type",content:f}),(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:t}),(0,r.jsx)("meta",{name:"twitter:description",content:s}),(0,r.jsx)("meta",{name:"twitter:image",content:g}),(0,r.jsx)("meta",{name:"twitter:url",content:m}),(0,r.jsx)("link",{rel:"canonical",href:m})]})}}}]);