(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[289],{5968:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tools",function(){return n(4163)}])},3248:function(e,t,n){"use strict";var r=n(4637);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}t.Z=function(e){var t=i({},e);return(0,r.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}({alt:"image"},t))}},4329:function(e,t,n){"use strict";n.d(t,{TQ:function(){return d},$t:function(){return m},Uy:function(){return u}});var r=n(4637),a=n(3437),i=n(5036),o=n(2507),s=n.n(o),c=n(6484),l=function(e){var t=e.title,n=e.description,o=e.ogType,c=e.ogImage,l=e.twImage,d=(0,i.useRouter)();return(0,r.jsxs)(a.default,{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{name:"robots",content:"follow, index"}),(0,r.jsx)("meta",{name:"description",content:n}),(0,r.jsx)("meta",{property:"og:url",content:"".concat(s().siteUrl).concat(d.asPath)}),(0,r.jsx)("meta",{property:"og:type",content:o}),(0,r.jsx)("meta",{property:"og:site_name",content:s().title}),(0,r.jsx)("meta",{property:"og:description",content:n}),(0,r.jsx)("meta",{property:"og:title",content:t}),Array.isArray(c)?c.map((function(e){var t=e.url;return(0,r.jsx)("meta",{property:"og:image",content:t},t)})):(0,r.jsx)("meta",{property:"og:image",content:c},c),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:site",content:s().twitter}),(0,r.jsx)("meta",{name:"twitter:title",content:t}),(0,r.jsx)("meta",{name:"twitter:description",content:n}),(0,r.jsx)("meta",{name:"twitter:image",content:l})]})},d=function(e){var t=e.title,n=e.description,a=s().siteUrl+s().socialBanner,i=s().siteUrl+s().socialBanner;return(0,r.jsx)(l,{title:t,description:n,ogType:"website",ogImage:a,twImage:i})},m=function(e){var t=e.title,n=e.description,o=s().siteUrl+s().socialBanner,c=s().siteUrl+s().socialBanner,d=(0,i.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l,{title:t,description:n,ogType:"website",ogImage:o,twImage:c}),(0,r.jsx)(a.default,{children:(0,r.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"".concat(n," - RSS feed"),href:"".concat(s().siteUrl).concat(d.asPath,"/feed.xml")})})]})},u=function(e){var t=e.authorDetails,n=e.title,i=e.summary,o=e.date,d=e.lastmod,m=e.url,u=e.images,p=void 0===u?[]:u,h=new Date(o).toISOString(),g=new Date(d||o).toISOString(),x=(0===p.length?[s().socialBanner]:"string"===typeof p?[p]:p).map((function(e){return{"@type":"ImageObject",url:e.indexOf("http")>-1?e:"".concat(s().siteUrl).concat(e)}})),f={"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":m},headline:n,image:x,datePublished:h,dateModified:g,author:t?t.map((function(e){return{"@type":"Person",name:e.name}})):{"@type":"Person",name:s().author},publisher:{"@type":"Organization",name:s().author,logo:{"@type":"ImageObject",url:"".concat(s().siteUrl).concat(s().siteLogo)}},description:i},y=x[0].url;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l,{title:n,description:i,ogType:"article",ogImage:x,twImage:y}),(0,r.jsxs)(a.default,{children:[o&&(0,r.jsx)("meta",{property:"article:published_time",content:h}),d&&(0,r.jsx)("meta",{property:"article:modified_time",content:g}),(0,r.jsx)(c.default,{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(f,null,2)}})]})]})}},4163:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(4637),a=n(2507),i=n.n(a),o=JSON.parse('[{"name":"Chinese Word Segmentation","description":"Easily segment Chinese words into single characters and analyze their meanings","link":"/segment"},{"name":"Split Chinese Characters","description":"Split Chinese characters into their components and learn how they are formed","link":"/split"},{"name":"Chinese Name Generator","description":"Easily Generate Chinese Names by enter your English Name","link":"/name"},{"name":"Daily Chinese Phrases Practice","description":"Learn how to say common phrases in Chinese with their pinyin and translation. Click on a phrase to hear its pronunciation!","link":"/speek"},{"name":"Fun Chinese Chengyu Test","description":"Challenge yourself with our Chinese idiom quiz! Guess the correct idiom based on  description, and learn the meaning and usage of each idiom after each question.","link":"/chengyu"}]'),s=n(3248),c=n(7287),l=function(e){var t=e.title,n=e.description,a=e.imgSrc,i=e.href;return(0,r.jsx)("div",{className:"md p-4 md:w-1/2 flex flex-col",style:{maxWidth:"544px"},children:(0,r.jsxs)("div",{className:"h-full overflow-hidden rounded-lg border-2 border-gray-200 border-opacity-60 dark:border-gray-700 flex flex-col bg-gray-200 dark:bg-gray-800",children:[a&&(0,r.jsx)("div",{className:"h-48 lg:h-64",children:i?(0,r.jsx)(c.Z,{href:i,"aria-label":"Link to ".concat(t),children:(0,r.jsx)(s.Z,{alt:t,src:a,className:"object-cover object-center w-full h-full rounded-t-lg",width:544,height:306})}):(0,r.jsx)(s.Z,{alt:t,src:a,className:"object-cover object-center w-full h-full rounded-t-lg",width:544,height:306})}),(0,r.jsxs)("div",{className:"p-6 flex-grow flex flex-col justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"mb-3 text-2xl font-bold leading-8 tracking-tight text-gray-900 dark:text-gray-100",children:i?(0,r.jsx)(c.Z,{href:i,"aria-label":"Link to ".concat(t),children:t}):t}),(0,r.jsx)("p",{className:"prose mb-3 max-w-none text-gray-700 dark:text-gray-400",children:n})]}),i&&(0,r.jsx)(c.Z,{href:i,className:"text-base font-medium leading-6 text-primary-500 hover:text-primary-600 dark:hover:text-primary-400 mt-auto","aria-label":"Link to ".concat(t),children:"Try it now \u2192"})]})]})})},d=n(4329);function m(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.TQ,{title:"Tools - ".concat(i().author),description:i().description}),(0,r.jsxs)("div",{className:"space-y-1 pt-6 pb-4 md:space-y-2",children:[(0,r.jsx)("h1",{className:"text-2xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-3xl sm:leading-10 md:text-4xl md:leading-14",children:"All - Free Tools"}),(0,r.jsx)("p",{className:"text-lg leading-7 text-gray-500 dark:text-gray-400",children:"Free tools for everyone to learn Chinese language"}),(0,r.jsx)("div",{className:"container py-8",children:(0,r.jsx)("div",{className:"-m-4 flex flex-wrap",children:o.map((function(e){return(0,r.jsx)(l,{title:e.name,description:e.description,imgSrc:e.imgSrc,href:e.link})}))})})]})]})}}},function(e){e.O(0,[774,888,179],(function(){return t=5968,e(e.s=t);var t}));var t=e.O();_N_E=t}]);