1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[428],{4383:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(85893),o=n(27484),i=n.n(o),a=n(9008),s=n.n(a),c=function(e){var t=e.title,n=e.keywords,o=e.description,a=void 0===o?"Awesome Screenshot & Recorder is a multi-platform and cloud-based screen capture & screen recorder tool. Join 3 million users to record screen, take screenshots, share videos and collaborate with teams effectively. No watermark!":o,c=e.cover,l=e.post_date,u=e.updated_at;return(0,r.jsxs)(s(),{children:[(0,r.jsx)("meta",{charSet:"UTF-8"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,r.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"ie=edge"}),(0,r.jsx)("meta",{name:"description",content:a}),(0,r.jsx)("meta",{name:"keywords",content:void 0===n?"":n}),(0,r.jsx)("link",{rel:"profile",href:"http://gmpg.org/xfn/11"}),(0,r.jsx)("meta",{name:"dc.title",content:t}),(0,r.jsx)("meta",{name:"dc.description",content:a}),(0,r.jsx)("meta",{name:"dc.source",content:"https://www.awesomescreenshot.com/blog/"}),(0,r.jsx)("meta",{name:"dc.language",content:"en_US"}),l&&(0,r.jsx)("meta",{property:"article:published_time",content:i().unix(l).format()}),u&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"article:modified_time",content:i().unix(u).format()}),(0,r.jsx)("meta",{property:"og:updated_time",content:i().unix(u).format()})]}),(0,r.jsx)("meta",{name:"robots",content:"index, follow"}),(0,r.jsx)("meta",{name:"googlebot",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),(0,r.jsx)("meta",{name:"bingbot",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{property:"article:author",content:"https://www.facebook.com/awesomescreen/"}),(0,r.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/awesomescreen/"}),(0,r.jsx)("meta",{property:"og:description",content:a}),(0,r.jsx)("meta",{property:"og:image:alt",content:t}),(0,r.jsx)("meta",{property:"twitter:site",content:"https://twitter.com/awe_screenshot"}),(0,r.jsx)("meta",{property:"twitter:creator",content:"https://twitter.com/awe_screenshot"}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:title",content:t}),(0,r.jsx)("meta",{property:"twitter:description",content:a}),c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"og:image",content:c}),(0,r.jsx)("meta",{property:"twitter:image",content:c})]}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/octopus/_next/static/media/favicon16.6b1c2df7.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/octopus/_next/static/media/favicon32.2c07f344.png"})]})}},26531:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(8100);function o(){var e=(0,r.ZP)("/blog/api/user"),t=e.data,n=e.mutate;return{user:null==t?void 0:t.data,mutateUser:n}}},80428:function(e,t,n){n.d(t,{Z:function(){return M}});var r=n(24043),o=n(85893),i=n(52924),a=n(27167),s=n(16373),c=n(84960),l=n(67294),u=n(9008),p=n.n(u),d=n(4298),m=n.n(d),x=n(20567),h=n(248),f=n(60077),j=n(46403),g=n(26401),y=n(48201),w=n(69590),v=n(12386),k=n(11163),b=n(20514),_=n(9977),Z=n(22458);function S(e){var t={};return e.forEach(function(e){e.children?t=(0,x._)({},t,S(e.children)):t[e.key]=e}),t}function C(e){return"".concat(b.KL,"/").concat(e)}var E=[{key:"Dashboard",icon:(0,o.jsx)(f.Z,{}),label:"Dashboard",link:C("dashboard")},{key:"Posts",icon:(0,o.jsx)(y.Z,{}),label:"Posts",link:C("posts")},{key:"Categories",icon:(0,o.jsx)(w.Z,{}),label:"Categories",link:C("categories")},{key:"Authors",icon:(0,o.jsx)(j.Z,{}),label:"Authors",link:C("authors")},{key:"Media",icon:(0,o.jsx)(g.Z,{}),label:"Media",link:C("media")}],N=E.map(function(e){return e.key}),K=function(){var e=(0,k.useRouter)(),t=(0,Z.TL)(),n=(0,Z.CG)(_.Uh),i=(0,Z.CG)(_.j2),a=(0,r._)((0,l.useState)([N[0]]),2),s=a[0],c=a[1],u=(0,r._)((0,l.useState)({}),2),p=u[0],d=u[1];return(0,l.useEffect)(function(){d(S(E))},[]),(0,l.useEffect)(function(){if(e.pathname in i){var n=i[e.pathname];t(_.hj.updateSelectedKeys([n]))}else t(_.hj.updateSelectedKeys([""]))},[e,t,i]),(0,l.useEffect)(function(){var e;t(_.hj.updateSelectedKeys(N.slice(0,1))),t(_.hj.updateKeysList(function e(t){if(!t||!t.length)return[];var n=[];return t.forEach(function(t){var r=e(t.children);if(r.length){var o=r.map(function(e){return[t.key].concat((0,h._)(e))});n.push.apply(n,(0,h._)(o))}else n.push([t.key])}),n}(E))),t(_.hj.updateRouteTokey((e={}
1,Object.values(S(E)).forEach(function(t){t.link&&(e[t.link]=t.key)}),e)))},[t]),(0,o.jsx)(v.default,{theme:"dark",mode:"inline",openKeys:s,onOpenChange:function(e){var t=e.find(function(e){return -1===s.indexOf(e)});-1===N.indexOf(t)?c(e):c(t?[t]:[])},selectedKeys:n,onSelect:function(n){if(t(_.hj.updateSelectedKeys(n.keyPath.reverse())),n.key in p){var r=p[n.key];!r.children&&r.link&&e.push(r.link)}},items:E})},U=n(68672),A=function(){var e=(0,Z.CG)(_.Uh);return(0,o.jsx)(U.Z,{children:e.map(function(e){return(0,o.jsx)(U.Z.Item,{className:"text-[#1a1a1a]",children:e},e)})})},R=n(4383),z=n(11010),F=n(70655),I=n(82891),L=n(78390),P={display:"flex",alignItems:"center",fontSize:"16px",padding:"2px 4px"},O=function(e){var t=e.children,n=(0,k.useRouter)();return(0,o.jsx)(I.default,{trigger:["hover"],menu:{items:[{key:"logout",label:(0,o.jsxs)("div",{style:P,onClick:(0,z._)(function(){return(0,F.Jh)(this,function(e){return n.replace("/blog/admin/login"),[2]})}),children:[(0,o.jsx)(L.Z,{style:{marginRight:"12px"}}),(0,o.jsx)("span",{children:"logout"})]})}]},children:t})},D=n(26531),G=s.Z.Header,T=s.Z.Sider,H=s.Z.Content,J=s.Z.Footer,M=function(e){var t=e.title,n=e.children,u=(0,D.Z)().user,d=(0,r._)((0,l.useState)(!1),2),x=d[0],h=d[1];return(0,o.jsxs)("div",{children:[(0,o.jsx)(R.Z,{title:t}),(0,o.jsx)(p(),{children:(0,o.jsx)("title",{children:t})}),(0,o.jsx)(m(),{defer:!0,src:"/blog/globalLib.js"}),(0,o.jsx)("main",{children:(0,o.jsxs)(s.Z,{className:"h-screen",children:[(0,o.jsxs)(T,{trigger:null,collapsible:!0,collapsed:x,className:"overflow-auto",children:[(0,o.jsx)("div",{className:"h-[32px] m-[16px] bg-[#505c69]"}),(0,o.jsx)(K,{})]}),(0,o.jsxs)(s.Z,{children:[(0,o.jsxs)(G,{style:{padding:"0 16px",backgroundColor:"#fff",display:"flex",alignItems:"center"},children:[l.createElement(x?a.Z:i.Z,{style:{marginRight:"16px",fontSize:"18px",lineHeight:"64px",cursor:"pointer",transition:"color 0.3s ease"},onClick:function(){return h(!x)}}),(0,o.jsx)(A,{}),(0,o.jsx)("div",{className:"flex-1 flex justify-end",children:(0,o.jsx)(O,{children:(0,o.jsx)(c.ZP,{size:"large",icon:null,style:{cursor:"pointer",backgroundColor:"#009999"},children:null==u?void 0:u.username})})})]}),(0,o.jsx)(H,{className:"bg-white mx-[16px] my-[14px] p-[24px] overflow-auto",children:n}),(0,o.jsxs)(J,{className:"text-center pt-0 pb-[14px]",children:["\xa9",new Date().getFullYear()," Awesome Screenshot, Inc. All rights reserved."]})]})]})})]})}},20514:function(e,t,n){n.d(t,{Eg:function(){return r},IV:function(){return a},KL:function(){return i},_j:function(){return o}});var r="https://www.awesomescreenshot.com",o="".concat(r,"/blog"),i="/blog/admin",a=30}}]);
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.