1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2054],{24606:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/learning-center/openresty/[slug]",function(){return i(97604)}])},97604:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return l}});var n=i(85893),a=i(9008),r=i.n(a),s=i(2962),c=i(72807),o=i(25204),p=i(28965),l=!0;t.default=e=>{let{post:t,relatedPosts:i,toc:a}=e,{cover_url:l,title:u,description:m}=t,g=(0,o.Z)(t.slug),h=(0,p.l)(t,g);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.PB,{title:u,description:m,canonical:g,twitter:{handle:"@api7_ai",site:"@api7_ai",cardType:"summary_large_image"},openGraph:{type:"article",url:g,site_name:"API7.ai",description:m,images:[{url:l}],article:{publishedTime:t.published_at_iso}}}),(0,n.jsx)(r(),{children:h.map((e,t)=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e).replace(/</g,"\\u003c")}},"jsonld-".concat(t)))}),(0,n.jsx)(c.Z,{toc:a,post:t,relatedPosts:i})]})}},28965:function(e,t,i){"use strict";i.d(t,{l:function(){return c}});var n=i(27484),a=i.n(n);let r=["API 101","API Gateway Guide","API Management Guide","API Governance Guide","OpenResty (NGINX + Lua)"],s={"API 101":"/learning-center/api-101","API Gateway Guide":"/learning-center/api-gateway-guide","API Management Guide":"/learning-center/api-management-guide","API Governance Guide":"/learning-center/api-governance-guide","OpenResty (NGINX + Lua)":"/learning-center/openresty"};function c(e,t){var i,n;let c=t||"https://api7.ai".concat(e.slug),o=[],p={"@context":"https://schema.org","@type":r.includes(e.category||"")?"TechArticle":"BlogPosting",headline:e.title,description:e.description,url:c,datePublished:a()(e.published_at).toISOString(),author:e.author_name&&"API7.ai"!==e.author_name?{"@type":"Person",name:e.author_name}:{"@type":"Organization",name:"API7.ai",url:"https://api7.ai"},publisher:{"@type":"Organization",name:"API7.ai",url:"https://api7.ai",logo:{"@type":"ImageObject",url:"https://static.api7.ai/uploads/2023/03/28/hnmYHcii_api7.ai.webp"}},mainEntityOfPage:{"@type":"WebPage","@id":c}};if(e.cover_url&&(p.image=e.cover_url),e.tags&&e.tags.length>0&&(p.keywords=e.tags.join(", ")),o.push(p),i=e.title,/^What\s+(Is|Are|Does)\b/i.test(i.trim())){let t=function(e){let t=e.replace(/\?.*$/,"").trim(),i=t.match(/^What\s+(?:Is|Are)\s+the\s+Difference\s+Between\s+(.+?)\s+[Aa]nd\s+(.+)$/i);if(i)return"".concat(i[1].trim()," vs ").concat(i[2].trim());let n=t.match(/^What\s+(?:Is|Are)\s+the\s+Purpose\s+of\s+(?:an?\s+)?(.+)$/i);if(n)return n[1].trim();let a=t.match(/^What\s+Does\s+(.+?)\s+Mean/i);return a?a[1].trim():(t=(t=t.replace(/^What\s+(?:Is|Are)\s+/i,"")).replace(/^(?:an?\s+|the\s+)/i,"")).trim()}(e.title);if(t){let i={"@context":"https://schema.org","@type":"DefinedTerm",name:t,description:e.description,url:c},n=s[e.category||""];n&&(i.inDefinedTermSet={"@type":"DefinedTermSet",name:e.category,url:"https://api7.ai".concat(n)}),o.push(i)}}let l=[{"@type":"ListItem",position:1,name:"Home",item:"https://api7.ai"}];if("/learning-center"===e.slug||e.slug.startsWith("/learning-center/")){let t=s[e.category||""],i=null===(n=e.slug.match(/^\/learning-center\/([^/]+)/))||void 0===n?void 0:n[1],a=t||(i?"/learning-center/".concat(i):void 0),r=t&&e.category?e.category:null==i?void 0:i.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");a&&r&&l.push({"@type":"ListItem",position:l.length+1,name:r,item:"https://api7.ai".concat(a)})}else l.push({"@type":"ListItem",position:2,name:"Blog",item:"https://api7.ai/blog"});return l.push({"@type":"ListItem",position:l.length+1,name:e.title,item:c}),o.push({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:l}),o}}},function(e){e.O(0,[2876,5356,7037,3814,8202,7104,2807,2888,9774,179],function(){return e(e.s=24606)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.