1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6524],{26549:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/post/[cid]",function(){return t(57789)}])},62267:function(e,n,t){"use strict";var r=t(14924),o=t(85893),a=t(67294),i=t(32427),s=t(16204),c=t(57308),l=(0,i.Z)((function(e){return{root:(0,r.Z)({minWidth:"60px",margin:"4px"},e.breakpoints.down("xs"),{height:"24px"}),label:(0,r.Z)({},e.breakpoints.down("xs"),{padding:"0 8px"})}})),u=function(e){var n=e.tag,t=l(),r=a.useMemo((function(){return"/search/".concat(encodeURIComponent(n.Name))}),[n.Name]);return(0,o.jsx)(c.Z,{href:r,children:(0,o.jsx)(s.Z,{label:n.Name,classes:t,clickable:!0})},n.Name)};n.Z=function(e){var n=e.tags;return(0,o.jsx)(o.Fragment,{children:n.map((function(e){return(0,o.jsx)(u,{tag:e},e.Name)}))})}},18900:function(e,n,t){"use strict";var r=t(26042),o=t(69396),a=t(99534),i=t(85893),s=t(67294),c=t(86002),l=t(4662),u=t(33758),d=t(71344),f=s.forwardRef((function(e,n){var t=e.color,f=(0,a.Z)(e,["color"]),h=(0,l.Z)(),p=s.useMemo((function(){switch(t){case"default":case"inherit":case"primary":case"secondary":case void 0:return h;case"error":return(0,o.Z)((0,r.Z)({},h),{palette:(0,o.Z)((0,r.Z)({},h.palette),{primary:(0,r.Z)({},h.palette.error)})});default:return(0,c.default)((0,o.Z)((0,r.Z)({},h),{palette:{primary:{main:t}}}))}}),[t,h]);return"default"===t||"inherit"===t||"primary"===t||"secondary"===t||void 0===t?(0,i.jsx)(u.Z,(0,r.Z)({ref:n,color:t},f)):(0,i.jsx)(d.Z,{theme:p,children:(0,i.jsx)(u.Z,(0,r.Z)({ref:n,color:"primary"},f))})}));n.Z=f},35250:function(e,n,t){"use strict";var r=t(828),o=t(85893),a=t(60357),i=t.n(a),s=t(67294),c=t(60253),l=t(95477),u=t(12098);n.Z=function(e){var n=e.content,t=(0,c.$G)().t,a=(0,r.Z)(s.useState(!0),2),d=a[0],f=a[1],h=n.Title||t("untitled"),p="";return p=n.Img?"".concat("https://api.baskadia.com","/static/").concat(n.SmallImg||n.Img):"/baskadia_gray.png",s.useEffect((function(){var e=new Image;return e.src=p,e.onload=function(){f(!1)},function(){e.onload=null}}),[p]),(0,o.jsxs)("div",{className:"jsx-6112d5aaf7476cd6 "+i().dynamic([["f482d54167ed8967",[d?1:0]]])+" container",children:[(0,o.jsx)("img",{src:p,alt:h,className:"jsx-6112d5aaf7476cd6 "+i().dynamic([["f482d54167ed8967",[d?1:0]]])}),(0,o.jsx)("div",{className:"jsx-6112d5aaf7476cd6 "+i().dynamic([["f482d54167ed8967",[d?1:0]]])+" placeholder",children:(0,o.jsx)("div",{className:"jsx-6112d5aaf7476cd6 "+i().dynamic([["f482d54167ed8967",[d?1:0]]]),children:d&&(0,o.jsx)(l.Z,{})})}),!d&&"image"===(null===n||void 0===n?void 0:n.Type)&&n.Paid&&(0,o.jsx)("div",{className:"jsx-6112d5aaf7476cd6 "+i().dynamic([["f482d54167ed8967",[d?1:0]]])+" lock",children:(0,o.jsx)(u.Z,{style:{width:"40px",height:"40px"}})}),(0,o.jsx)(i(),{id:"f482d54167ed8967",dynamic:[d?1:0],children:".placeholder.__jsx-style-dynamic-selector{opacity:".concat(d?1:0,"}")}),(0,o.jsx)(i(),{id:"6112d5aaf7476cd6",children:".container.jsx-6112d5aaf7476cd6{position:relative;height:200px;overflow:hidden;background-color:#f5f5f5}img.jsx-6112d5aaf7476cd6{position:absolute;top:50%;left:50%;-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);width:auto;height:100%}.aspect-ratio.jsx-6112d5aaf7476cd6{padding-top:50%}.placeholder.jsx-6112d5aaf7476cd6{position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(/loading.jpg);background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-repeat:no-repeat;background-color:#f5f5f5;-webkit-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;-moz-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;-o-transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms;transition:opacity 225ms cubic-bezier(.4,0,.2,1)0ms}.placeholder.jsx-6112d5aaf7476cd6>div.jsx-6112d5aaf7476cd6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.lock.jsx-6112d5aaf7476cd6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;width:100%;height:100%}"})]})}},27157:function(e,n,t){"use strict";var r=t(85893),o=t(60357),a=t.n(o),i=(t(67294),t(60253)),s=t(22318),c=t(13637),l=t(62081);n.Z=function(e){var n,t=e.content,o=(0,i.$G)().t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"jsx-42bf697bfa03ca4f container",children:[(0,r.jsx)(s.Z,{component:"p",noWrap:!0,variant:"caption",style:{opacity:.7,marginBottom:"2px"},children:(null===(n=t.User)||void 0===n?void 0:n.Name)||o("guest")}),(0,r.jsx)(l.Z,{content:t,showStatus:!0}),(0,r.jsx)(s.Z,{component:"p",variant:"body1",style:{marginTop:"4px",fontWeight:"bold"},children:(0,r.jsx)(c.Z,{lineHeight:24,lines:1,children:t.Title||o("untitled")})})]}),(0,r.jsx)(a(),{id:"42bf697bfa03ca4f",children:".container.jsx-42bf697bfa03ca4f{min-height:72px;padding:16px 16px 16px 72px;border:solid 1px#bdbdbd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}"})]})}},28457:function(e,n,t){"use strict";var r=t(85893),o=t(60357),a=t.n(o),i=t(67294),s=t(11163),c=t(60253),l=t(72091),u=t(18463),d=t(79912),f=t(64436),h=t(7397),p=t(74061),x=t(22318),m=t(85233),v=t(39606),b=t(57568),j=t(88143),g=t(97663),Z=t(40570),y=t(18900);n.Z=function(e){var n,t=e.content,o=(0,s.useRouter)(),k=o.defaultLocale,w=o.locale,I=(0,c.$G)().t,C=(0,l.Ds)().enqueueSnackbar,D=i.useMemo((function(){var e="https://baskadia.com";return w&&w!==k&&(e+="/".concat(w)),(null===t||void 0===t?void 0:t.ID)&&(e+="/post/".concat(t.ID.toString(36))),e}),[null===t||void 0===t?void 0:t.ID,k,w]),_=i.useMemo((function(){return"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(D))}),[D]),T=i.useMemo((function(){var e,n=(null===t||void 0===t?void 0:t.Title)||I("untitled")||"",r=(null===t||void 0===t||null===(e=t.User)||void 0===e?void 0:e.Name)||I("guest")||"",o=encodeURIComponent("".concat(n," by ").concat(r,"\n").concat(D,"\n\n").concat(I("$default-hashtags")));return"https://twitter.com/intent/tweet?text=".concat(o)}),[null===t||void 0===t?void 0:t.Title,null===t||void 0===t||null===(n=t.User)||void 0===n?void 0:n.Name,I,D]),N=i.useMemo((function(){var e="https://www.pinterest.com/pin/create/button/?url=".concat(encodeURIComponent(D));if(null===t||void 0===t?void 0:t.Img){var n="".concat("https://api.baskadia.com","/static/").concat(t.Img);e+="&media=".concat(encodeURIComponent(n))}else{var r="https://baskadia.com";if("ja"===w)r+="/baskadia_ja_pin.png";else r+="/baskadia_en_pin.png";e+="&media=".concat(encodeURIComponent(r))}var o="";if("ja"===w)o="\u3053\u306e\u30d4\u30f3\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u30ea\u30f3\u30af\u304b\u3089\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002";else o="For details about this pin, visit the link.";return e="".concat(e,"&description=").concat(encodeURIComponent(o))}),[w,null===t||void 0===t?void 0:t.Img,D]),S=i.useMemo((function(){return"https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(D))}),[D]),U=i.useCallback((function(){(null===t||void 0===t?void 0:t.ID)&&!t.Type&&g.B("share",{method:"Facebook",content_type:t.Type,item_id:"C_".concat(t.ID)})}),[null===t||void 0===t?void 0:t.ID,null===t||void 0===t?void 0:t.Type]),z=i.useCallback((function(){(null===t||void 0===t?void 0:t.ID)&&!t.Type&&g.B("share",{method:"Twitter",content_type:t.Type,item_id:"C_".concat(t.ID)})}),[null===t||void 0===t?void 0:t.ID,null===t||void 0===t?void 0:t.Type]),P=i.useCallback((function(){(null===t||void 0===t?void 0:t.ID)&&!t.Type&&g.B("share",{method:"Pinterest",content_type:t.Type,item_id:"C_".concat(t.ID)})}),[null===t||void 0===t?void 0:t.ID,null===t||void 0===t?void 0:t.Type]),R=i.useCallback((function(){(null===t||void 0===t?void 0:t.ID)&&!t.Type&&g.B("share",{method:"Linkedin",content_type:t.Type,item_id:"C_".concat(t.ID)})}),[null===t||void 0===t?void 0:t.ID,null===t||void 0===t?void 0:t.Type]),M=i.useCallback((function(){var e=document.querySelector("#url");e?(e.select(),document.execCommand("copy")?C(I("url-has-been-copied"),{variant:"success"}):C(I("failed-to-copy-url"),{variant:"error"}),(null===t||void 0===t?void 0:t.ID)&&!t.Type&&g.B("share",{method:"Copy",content_type:t.Type,item_id:"C_".concat(t.ID)})):C(I("failed-to-copy-url"),{variant:"error"})}),[null===t||void 0===t?void 0:t.ID,null===t||void 0===t?void 0:t.Type,C,I]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{children:(0,r.jsxs)(d.Z,{style:{paddingBottom:"16
1px"},children:[(0,r.jsxs)(x.Z,{component:"h2",noWrap:!0,variant:"body1",style:{fontWeight:"bold",lineHeight:"24px"},children:[I("share")," - ",t.Title||I("untitled")]}),(0,r.jsxs)("div",{className:"jsx-fcfa682eeac3e4f6 container",children:[(0,r.jsx)("div",{className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)("a",{href:_,target:"_blank",rel:"noopener noreferrer",className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)(y.Z,{color:"#fff",size:"small",style:{overflow:"hidden",color:"#3b5998",boxShadow:"none"},onClick:U,children:(0,r.jsx)(m.Z,{style:{width:"48px",height:"48px"}})})})}),(0,r.jsx)("div",{className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)("a",{href:T,target:"_blank",rel:"noopener noreferrer",className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)(y.Z,{color:"#00b0ed",size:"small",style:{color:"#fff",boxShadow:"none"},onClick:z,children:(0,r.jsx)(j.Z,{})})})}),(0,r.jsx)("div",{className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)("a",{href:N,target:"_blank",rel:"noopener noreferrer",className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)(y.Z,{color:"#e60023",size:"small",style:{color:"#fff",boxShadow:"none"},onClick:P,children:(0,r.jsx)(b.Z,{style:{width:"32px",height:"32px"}})})})}),(0,r.jsx)("div",{className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)("a",{href:S,target:"_blank",rel:"noopener noreferrer",className:"jsx-fcfa682eeac3e4f6",children:(0,r.jsx)(y.Z,{color:"#0072b1",size:"small",style:{color:"#fff",boxShadow:"none"},onClick:R,children:(0,r.jsx)(v.Z,{style:{width:"32px",height:"32px"}})})})})]}),(0,r.jsx)(f.Z,{variant:"outlined",fullWidth:!0,children:(0,r.jsx)(p.Z,{id:"url",value:D,endAdornment:(0,r.jsx)(h.Z,{position:"end",children:(0,r.jsx)(Z.Z,{color:"primary",variant:"contained",onClick:M,children:I("copy")})}),multiline:!0})})]})}),(0,r.jsx)(a(),{id:"fcfa682eeac3e4f6",children:".container.jsx-fcfa682eeac3e4f6{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:16px 0}.container.jsx-fcfa682eeac3e4f6>div.jsx-fcfa682eeac3e4f6{padding:0 8px}a.jsx-fcfa682eeac3e4f6{display:block;width:100%;text-decoration:none}"})]})}},57789:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return Xe},default:function(){return Ve}});var r=t(47568),o=t(828),a=t(20414),i=t(85893),s=t(67294),c=t(5152),l=t.n(c),u=t(11163),d=t(60253),f=t(8936),h=t(98530),p=t(49384),x=t(61164),m=t(13048),v=t(25875),b=t(26042),j=t(69396),g=t(18463),Z=t(79912),y=t(22318),k=t(78538),w=t(57308),I=function(e){var n,t,r=e.content,o=e.onContentUpdate,a=(0,u.useRouter)().locale,c=(0,d.$G)().t,l=s.useMemo((function(){var e,n,t=((null===(e=r.User)||void 0===e?void 0:e.ID)||0).toString(36),o=(null===(n=r.User)||void 0===n?void 0:n.Name)||c("guest")||"";return"ja"===a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w.Z,{href:"/user/".concat(t),textLink:!0,children:o}),"\u3055\u3093\u3092\u30d5\u30a9\u30ed\u30fc\u3057\u3066\u6700\u65b0\u306e\u6295\u7a3f\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3088\u3046\uff01"]}):(0,i.jsxs)(i.Fragment,{children:["Follow"," ",(0,i.jsx)(w.Z,{href:"/user/".concat(t),textLink:!0,children:o})," ","to stay updated on their latest posts!"]})}),[null===(n=r.User)||void 0===n?void 0:n.ID,null===(t=r.User)||void 0===t?void 0:t.Name,a,c]),f=s.useCallback((function(e){o((0,j.Z)((0,b.Z)({},r),{User:(0,b.Z)({},e)}))}),[r,o]);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(g.Z,{style:{backgroundColor:"#fce4ec"},children:(0,i.jsxs)(Z.Z,{style:{paddingBottom:"16px"},children:[(0,i.jsx)(y.Z,{component:"p",variant:"body2",style:{fontWeight:"bold",overflowWrap:"break-word"},children:l}),(0,i.jsx)(k.Z,{user:r.User,onUserUpdate:f,style:{marginTop:"16px",border:"1px solid #bdbdbd",borderRadius:"4px",backgroundColor:"#fff"}})]})})})},C=t(60357),D=t.n(C),_=t(89738),T=t(90227),N=t(27157),S=function(e){var n=e.collabo,t=(0,d.$G)().t,r=null===n||void 0===n?void 0:n.Original,o=!(null===r||void 0===r?void 0:r.DeletedAt)&&(null===r||void 0===r?void 0:r.Published),a=s.useMemo((function(){return(null===r||void 0===r?void 0:r.ID)?"/post/".concat(r.ID.toString(36)):""}),[null===r||void 0===r?void 0:r.ID]);return r?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.Z,{children:(0,i.jsxs)("div",{className:"jsx-6e0ff12b5fb5ed2d content",children:[(0,i.jsx)(y.Z,{component:"h3",variant:"h6",style:{marginBottom:"8px"},children:t("collaborating-with")}),o&&(0,i.jsx)(w.Z,{href:a,children:(0,i.jsx)(_.Z,{component:"div",children:(0,i.jsx)(N.Z,{content:r})})}),!o&&(0,i.jsx)(N.Z,{content:r}),(0,i.jsx)(T.Z,{user:r.User,style:{position:"absolute",top:"72px",left:"32px"}})]})}),(0,i.jsx)(D(),{id:"6e0ff12b5fb5ed2d",children:".content.jsx-6e0ff12b5fb5ed2d{position:relative;padding:16px}"})]}):null},U=t(28457),z=t(85470),P=t(51907),R=t(55517),M=t(868),E=t(16801),F=t(22284),G=t(40570),W=t(36808),B=t.n(W),$=t(72091),A=t(29096),O=t(54889),L=t(92674),q=function(e){var n=e.content,t=e.page,c=(0,o.Z)((0,x.o)(),1)[0].auth,l=(0,m.Z)(c&&n.ID?"/auth/content/".concat(n.ID,"/bookmark"):null),f=l.data,h=l.mutate,v=(0,u.useRouter)(),b=(0,d.$G)().t,j=(0,$.Ds)().enqueueSnackbar,g=(0,L.Z)(),Z=(0,o.Z)(s.useState(!1),2),y=Z[0],k=Z[1],w=null===f||void 0===f?void 0:f[0],I=!(!c||!(null===f||void 0===f?void 0:f.length)),C=s.useCallback((0,r.Z)((function(){var e,r,o,i;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:k(!0),a.label=1;case 1:return a.trys.push([1,6,,7]),c?[3,3]:(B().set("return_to",v.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,v.push("/signup")]);case 2:return a.sent(),[2];case 3:return c.Unconfirmed?(B().set("return_to",v.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,v.push("/auth/unconfirmed")]):[3,5];case 4:return a.sent(),[2];case 5:return[3,7];case 6:return e=a.sent(),(0,p.kg)(e),j(b("failed-to-bookmark"),{variant:"error"}),k(!1),[2];case 7:if(a.trys.push([7,10,,11]),!n.ID)throw new Error("content.ID is undefined");return r=JSON.stringify({content_id:n.ID,page_id:(null===t||void 0===t?void 0:t.ID)||0}),[4,g("/auth/bookmark",{method:"POST",body:r})];case 8:if(null===(o=a.sent()))throw new Error("newBookmark is null");return[4,h([o],!1)];case 9:return a.sent(),[3,11];case 10:return i=a.sent(),(0,p.kg)(i),j(b("failed-to-bookmark"),{variant:"error"}),k(!1),[2];case 11:return k(!1),[2]}}))})),[c,n.ID,j,g,h,null===t||void 0===t?void 0:t.ID,v,b]),D=s.useCallback((0,r.Z)((function(){var e;return(0,a.__generator)(this,(function(n){switch(n.label){case 0:k(!0),n.label=1;case 1:if(n.trys.push([1,4,,5]),!(null===w||void 0===w?void 0:w.ID))throw new Error("bookmark.ID is undefined");return[4,g("/auth/bookmark/".concat(w.ID),{method:"DELETE"})];case 2:return n.sent(),[4,h([],!1)];case 3:return n.sent(),[3,5];case 4:return e=n.sent(),(0,p.kg)(e),j(b("failed-to-delete-bookmark"),{variant:"error"}),k(!1),[2];case 5:return k(!1),[2]}}))})),[null===w||void 0===w?void 0:w.ID,j,g,h,b]),_=s.useCallback((0,r.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return I?[4,D()]:[3,2];case 1:return e.sent(),[3,4];case 2:return[4,C()];case 3:e.sent(),e.label=4;case 4:return[2]}}
1))})),[C,I,D]);return(0,i.jsx)(G.Z,{color:I?"primary":"default",disabled:y,startIcon:I?(0,i.jsx)(A.Z,{}):(0,i.jsx)(O.Z,{}),onClick:_,children:b(I?"saved":"save")})},H=t(93365),J=t(31056),X=function(e){var n,t=e.content,c=e.size,l=e.onContentUpdate,f=(0,o.Z)((0,x.o)(),1)[0].auth,h=(0,m.Z)(f&&t.ID?"/auth/content/".concat(t.ID,"/rating"):null),v=h.data,g=h.mutate,Z=(0,u.useRouter)(),y=(0,d.$G)().t,k=(0,$.Ds)().enqueueSnackbar,w=(0,L.Z)(),I=(0,o.Z)(s.useState(!1),2),C=I[0],D=I[1],_=f&&(null===v||void 0===v||null===(n=v[0])||void 0===n?void 0:n.Value),T=s.useMemo((function(){return _?(0,i.jsx)(M.ZP,{title:y("like")||"-",children:(0,i.jsx)(H.Z,{color:C?"disabled":"secondary"})}):(0,i.jsx)(M.ZP,{title:y("like")||"-",children:(0,i.jsx)(J.Z,{style:{color:"rgba(0, 0, 0, 0.54)"}})})}),[C,_,y]),N=s.useMemo((function(){return t.RatingCount?t.RatingCount.toLocaleString():"-"}),[t.RatingCount]),S=s.useCallback((0,r.Z)((function(){var e,n;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:D(!0),r.label=1;case 1:if(r.trys.push([1,4,,5]),!t.ID)throw new Error("content.ID is undefined");return[4,w("/auth/content/".concat(t.ID,"/rating:unlike"),{method:"PUT"})];case 2:if(null===(e=r.sent()))throw new Error("newRating is null");return[4,g([e],!1)];case 3:return r.sent(),l((0,j.Z)((0,b.Z)({},t),{RatingCount:(t.RatingCount||1)-1})),[3,5];case 4:return n=r.sent(),(0,p.kg)(n),k(y("failed-to-unlike"),{variant:"error"}),D(!1),[2];case 5:return D(!1),[2]}}))})),[t,k,w,g,l,y]),U=s.useCallback((0,r.Z)((function(){var e,n,r;return(0,a.__generator)(this,(function(o){switch(o.label){case 0:D(!0),o.label=1;case 1:return o.trys.push([1,6,,7]),f?[3,3]:(B().set("return_to",Z.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,Z.push("/signup")]);case 2:return o.sent(),[2];case 3:return f.Unconfirmed?(B().set("return_to",Z.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,Z.push("/auth/unconfirmed")]):[3,5];case 4:return o.sent(),[2];case 5:return[3,7];case 6:return e=o.sent(),(0,p.kg)(e),k(y("failed-to-like"),{variant:"error"}),D(!1),[2];case 7:if(o.trys.push([7,10,,11]),!t.ID)throw new Error("content.ID is undefined");return[4,w("/auth/content/".concat(t.ID,"/rating:like"),{method:"PUT"})];case 8:if(null===(n=o.sent()))throw new Error("newRating is null");return[4,g([n],!1)];case 9:return o.sent(),l((0,j.Z)((0,b.Z)({},t),{RatingCount:(t.RatingCount||0)+1})),[3,11];case 10:return r=o.sent(),(0,p.kg)(r),k(y("failed-to-like"),{variant:"error"}),D(!1),[2];case 11:return D(!1),[2]}}))})),[f,t,k,w,g,l,Z,y]),z=s.useCallback((0,r.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return _?[4,S()]:[3,2];case 1:return e.sent(),[3,4];case 2:return[4,U()];case 3:e.sent(),e.label=4;case 4:return[2]}}
1))})),[_,U,S]);return(0,i.jsx)(G.Z,{disabled:C,size:c,startIcon:T,onClick:z,children:N})},V=t(52663),K=t(66856),Q=t(29525),Y=t(66083),ee=t(17812),ne=t(95757),te=t(24794),re=t(85639),oe=t(39803),ae=t(46160),ie=function(e){var n=e.content,t=e.style,c=(0,u.useRouter)(),l=(0,d.$G)().t,f=(0,$.Ds)().enqueueSnackbar,h=(0,o.Z)((0,x.o)(),1)[0].auth,m=(0,L.Z)(),v=s.useRef(null),b=(0,o.Z)(s.useState(null),2),j=b[0],g=b[1],Z=(0,o.Z)(s.useState(!1),2),k=Z[0],w=Z[1],I=(0,o.Z)(s.useState(!1),2),C=I[0],D=I[1],_=(0,o.Z)(s.useState(""),2),T=_[0],N=_[1],S=(0,o.Z)(s.useState(""),2),U=S[0],z=S[1],P=(0,o.Z)(s.useState(!1),2),R=P[0],M=P[1],E=s.useCallback((function(e){return g(e.currentTarget)}),[]),F=s.useCallback((function(){return g(null)}),[]),W=s.useCallback((0,r.Z)((function(){var e;return(0,a.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),h?[3,2]:(B().set("return_to",c.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,c.push("/signup")]);case 1:case 3:return n.sent(),[2];case 2:return h.Unconfirmed?(B().set("return_to",c.asPath,{expires:1,secure:!0,sameSite:"lax"}),[4,c.push("/auth/unconfirmed")]):[3,4];case 4:return[3,6];case 5:return e=n.sent(),(0,p.kg)(e),[2];case 6:return D(!0),g(null),[2]}}))})),[h,c]),A=s.useCallback((function(){D(!1),N(""),z(""),M(!1)}),[]),O=s.useCallback((function(e){return e.length>1e3?l("reason-must-be-1000-characters-or-less"):""}),[l]),q=s.useCallback((function(){R||(M(!0),z(O(T)))}),[T,R,O]),H=s.useCallback((function(e){N(e.target.value),z(O(e.target.value))}),[O]),J=s.useCallback((0,r.Z)((function(){var e,t,r;return(0,a.__generator)(this,(function(o){switch(o.label){case 0:if(e=O(T),z(e),M(!0),U)return[2];w(!0),D(!1),o.label=1;case 1:if(o.trys.push([1,3,,4]),!n.ID)throw new Error("content.ID is undefined");return t=JSON.stringify({report:T.trim()}),[4,m("/auth/content/".concat(n.ID,"/report"),{method:"POST",body:t})];case 2:return o.sent(),[3,4];case 3:return r=o.sent(),(0,p.kg)(r),f(l("failed-to-submit-your-report"),{variant:"error"}),w(!1),[2];case 4:return f(l("your-report-has-been-submitted"),{variant:"success"}),N(""),z(""),M(!1),w(!1),[2]}}))})),[n.ID,f,m,T,U,l,O]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ee.Z,{ref:v,style:t,onClick:E,children:(0,i.jsx)(ae.Z,{})}),(0,i.jsx)(te.Z,{open:!!j,anchorEl:v.current,keepMounted:!0,onClose:F,children:(0,i.jsx)(re.Z,{disabled:k,onClick:W,children:(0,i.jsx)(ne.Z,{primary:l("report")})})}),(0,i.jsxs)(V.Z,{open:C,fullWidth:!0,maxWidth:"xs",onClose:A,children:[(0,i.jsx)(Y.Z,{children:l("write-reason-to-delete-this-post")}),(0,i.jsxs)(Q.Z,{children:[(0,i.jsx)(oe.Z,{name:"report",value:T,label:l("reason"),helperText:R&&U,error:R&&!!U,autoComplete:"off",autoFocus:!0,disabled:k,fullWidth:!0,multiline:!0,required:!0,type:"text",variant:"outlined",onBlur:q,onChange:H}),(0,i.jsx)(y.Z,{align:"right",color:T.length>1e3?"error":"inherit",display:"block",variant:"caption",children:"".concat(T.length," / 1000")})]}),(0,i.jsxs)(K.Z,{children:[(0,i.jsx)(G.Z,{disabled:k,onClick:A,children:l("cancel")}),(0,i.jsx)(G.Z,{disabled:!T.trim()||k,onClick:J,children:l("submit")})]})]})]})},se=t(43931),ce=s.forwardRef((function(e,n){var t=e.content,r=e.style,o=(0,d.$G)().t,a=s.useMemo((function(){return t.ID?"/post/".concat(t.ID.toString(36),"/share"):""}),[t.ID]);return(0,i.jsx)(w.Z,{href:a,children:(0,i.jsx)(G.Z,{ref:n,color:"primary",startIcon:(0,i.jsx)(se.Z,{}),style:r,children:o("share")})})})),le=ce,ue=t(63733),de=t(59940),fe=function(e){var n,t=e.content,r=e.onContentUpdate,a=(0,d.$G)().t,c=(0,o.Z)((0,x.o)(),1)[0].auth,l=s.useMemo((function(){return t.ID?"/post/".concat(t.ID.toString(36),"/comment"):""}),[t.ID]),u=s.useMemo((function(){var e;return(null===c||void 0===c?void 0:c.ID)&&c.ID===(null===(e=t.User)||void 0===e?void 0:e.ID)}),[null===c||void 0===c?void 0:c.ID,null===(n=t.User)||void 0===n?void 0:n.ID]),f=s.useMemo((function(){return t.Type&&t.ID?"/auth/upload/".concat(t.Type,"?id=").concat(t.ID):""}),[t.ID,t.Type]),h=s.useCallback((function(e){r((0,j.Z)((0,b.Z)({},t),{User:e}))}),[t,r]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g.Z,{children:[(0,i.jsx)(Z.Z,{style:{paddingBottom:"8px"},children:(0,i.jsx)(y.Z,{component:"h2",variant:"h5",style:{fontWeight:"bold",overflowWrap:"break-word"},children:t.Title||a("untitled")})}),(0,i.jsxs)("div",{className:"jsx-d9bcefb55c2c865f container",children:[(0,i.jsx)(X,{content:t,onContentUpdate:r}),(0,i.jsx)(w.Z,{href:l,children:(0,i.jsx)(G.Z,{startIcon:(0,i.jsx)(M.ZP,{title:a("comment")||"-",children:(0,i.jsx)(E.Z,{style:{color:"rgba(0, 0, 0, 0.54)"}})}
1),children:t.CommentCount?t.CommentCount.toLocaleString():"-"})}),(0,i.jsx)(q,{content:t}),(0,i.jsx)(ie,{content:t,style:{marginLeft:"auto"}})]}),(0,i.jsx)(R.Z,{}),(0,i.jsx)(k.Z,{user:t.User,subheader:(0,i.jsx)(de.Z,{timestamp:t.PublishedAt}),onUserUpdate:h}),t.Description&&(0,i.jsx)(ue.Z,{autoLink:!0,text:t.Description,style:{paddingTop:"0"}}),(0,i.jsxs)(P.Z,{children:[(0,i.jsx)(le,{content:t,style:{marginRight:"8px"}}),u&&(0,i.jsx)(w.Z,{href:f,children:(0,i.jsx)(G.Z,{color:"primary",startIcon:(0,i.jsx)(F.Z,{}),children:a("edit")})})]})]}),(0,i.jsx)(D(),{id:"d9bcefb55c2c865f",children:".container.jsx-d9bcefb55c2c865f{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:8px}"})]})},he=t(62267),pe=t(62284),xe=t(32427),me=t(62822),ve=t(50998),be=t(46869),je=t(96837),ge=t(46515),Ze=t(5391),ye=t(94827),ke=t(35250),we=function(e){var n=e.page,t=(0,u.useRouter)(),r=t.locale,o=t.pathname,a=t.query,c=s.useMemo((function(){var e="string"===typeof a.cid?a.cid:"0";return n.ID?"".concat(o,"/page/").concat(n.ID).replace("[cid]",e):""}),[n.ID,o,a.cid]),l=s.useMemo((function(){var e="";if(n.Header){if("ja"===r)e+="\u7b2c".concat(n.Number||0,"\u7ae0");else e+="Chapter ".concat(n.Number||0);return n.Title&&(e+=" - ".concat(n.Title)),e}if("ja"===r)e+="\u7b2c".concat(n.Number||0,"\u8a71");else e+="Chapter ".concat(n.Number||0);return n.Title&&(e+=" - ".concat(n.Title)),e}),[r,n.Header,n.Title,n.Number]);return n.Header?(0,i.jsx)(je.Z,{component:"div",children:l}):(0,i.jsx)(w.Z,{href:c,children:(0,i.jsxs)(ve.Z,{button:!0,children:[(0,i.jsx)(be.Z,{children:(0,i.jsx)(ge.Z,{})}),(0,i.jsx)(ne.Z,{primary:l,primaryTypographyProps:{noWrap:!0,style:{fontWeight:"bold"}},secondary:(0,i.jsx)(de.Z,{timestamp:n.SavedAt})})]})})},Ie=function(e){var n=e.content,t=(0,d.$G)().t,r=(0,o.Z)(s.useState(!1),2),a=r[0],c=r[1],l=s.useMemo((function(){var e=0,t=0,r=(n.Pages||[]).map((function(n){return n.Header?(e+=1,(0,j.Z)((0,b.Z)({},n),{Number:e})):(t+=1,(0,j.Z)((0,b.Z)({},n),{Number:t}))}));return a&&(r=r.reverse()),r}
1),[n.Pages,a]),u=s.useCallback((function(e,n){null!==n&&c(n)}),[]);return(0,i.jsxs)(g.Z,{children:[n.Img&&(0,i.jsx)(ke.Z,{content:n}),(0,i.jsx)(Z.Z,{children:(0,i.jsxs)(ye.Z,{value:a,exclusive:!0,size:"small",onChange:u,children:[(0,i.jsx)(Ze.Z,{value:!1,children:t("oldest-page-first")}),(0,i.jsx)(Ze.Z,{value:!0,children:t("newest-page-first")})]})}),(0,i.jsx)(me.Z,{component:"nav",subheader:(0,i.jsx)(je.Z,{component:"div",children:t("table-of-contents")}),children:l.map((function(e){return(0,i.jsx)(we,{page:e},e.ID)}))})]})},Ce=t(73844),De=t(59746),_e=(0,xe.Z)((function(){return{root:{marginBottom:"16px",fontWeight:"bold",fontSize:"22px","@media (min-width: 728px)":{fontSize:"30px"}}}})),Te=function(e){var n=e.content,t=(0,d.$G)().t,r=_e(),o=n.Pages,a=null===o||void 0===o?void 0:o[0],s='{"type":"doc","content":[{"type":"paragraph"}]}',c=(null===a||void 0===a?void 0:a.Body)||s,l=!(null===o||void 0===o?void 0:o.length)||1===o.length&&c===s;return(0,i.jsxs)(i.Fragment,{children:[l&&(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(f.Z,{severity:"error",variant:"filled",children:t("content-is-empty")})}),!l&&1===o.length&&(0,i.jsx)(Ce.Z,{className:n.Paid?"paywall":"",children:(0,i.jsxs)(g.Z,{children:[n.Img&&(0,i.jsx)(ke.Z,{content:n}),(0,i.jsxs)(Z.Z,{children:[(null===a||void 0===a?void 0:a.Title)&&(0,i.jsx)(y.Z,{classes:r,component:"h3",variant:"h5",children:a.Title}),(0,i.jsx)(De.Z,{body:c})]})]})}),o&&(null===o||void 0===o?void 0:o.length)>1&&(0,i.jsx)(Ce.Z,{className:n.Paid?"paywall":"",children:(0,i.jsx)(Ie,{content:n})})]})},Ne=t(29815),Se=t(11173),Ue=t(21036),ze=function(e){var n,t=e.content,c=e.onContentUpdate,l=(0,o.Z)((0,x.o)(),1)[0].auth,u=(0,Se.Z)((function(e,n){if(!t.ID)return null;if(!e)return h.Z.getCommentsFromContent({contentId:t.ID,lastId:0,auth:!!l});if(!(null===n||void 0===n?void 0:n.length))return null;var r=n[n.length-1].ID;return r?h.Z.getCommentsFromContent({contentId:t.ID,lastId:r,auth:!!l}):null})),d=u.data,f=u.mutate,m=u.size,v=u.setSize,g=((null===d||void 0===d?void 0:d.length)||0)<m,Z=0===(null===d||void 0===d||null===(n=d[0])||void 0===n?void 0:n.length),y=null===d||void 0===d?void 0:d[(null===d||void 0===d?void 0:d.length)-1],k=Z||y&&y.length<20,w=s.useMemo((function(){var e;if(!d)return[];var n=d.filter((function(e){return!!e}));return(e=[]).concat.apply(e,(0,Ne.Z)(n))}),[d]),I=s.useCallback(function(){var e=(0,r.Z)((function(e){var n;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,f((function(n){return n?[[e].concat((0,Ne.Z)(n[0]||[]))].concat((0,Ne.Z)(n.slice(1))):[[e]]}),!1)];case 1:return r.sent(),c((0,j.Z)((0,b.Z)({},t),{CommentCount:(t.CommentCount||0)+1})),[3,3];case 2:return n=r.sent(),(0,p.kg)(n),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[t,f,c]),C=s.useCallback(function(){var e=(0,r.Z)((function(e){var n;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,f((function(n){if(!n)return n;for(var t=(0,Ne.Z)(n),r=0;r<t.length;r+=1)for(var o=(0,Ne.Z)(t[r]||[]),a=0;a<o.length;a+=1)if(o[a].ID===e.ID){o.splice(a,1),t.splice(r,1,o);break}return t}),!1)];case 1:return r.sent(),c((0,j.Z)((0,b.Z)({},t),{CommentCount:(t.CommentCount||1)-1})),[3,3];case 2:return n=r.sent(),(0,p.kg)(n),[3,3];case 3:return[2]}}))}));return function(n){return e.apply(this,arguments)}}(),[t,f,c]),D=s.useCallback((function(){return v((function(e){return e+1}))}),[v]),_=s.useCallback(function(){var e=(0,r.Z)((function(e){var n;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,f((function(n){if(!n)return n;for(var t=(0,Ne.Z)(n),r=0;r<t.length;r+=1)for(var o=(0,Ne.Z)(t[r]||[]),a=0;a<o.length;a+=1)if(o[a].ID===e.ID){o.splice(a,1,e),t.splice(r,1,o);break}return t}),!1)];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),(0,p.kg)(n),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[f]);return(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(Ue.Z,{comments:w,completed:!!k,content:t,loading:g,onCommentAdd:I,onCommentDelete:C,onCommentLoad:D,onCommentUpdate:_})})},Pe=t(86263),Re=t(57206),Me=function(e){var n=e.content,t=(0,d.$G)().t,r=n.Pages,o=null===r||void 0===r?void 0:r[0],a=(null===o||void 0===o?void 0:o.Body)||"[]",c=!(null===r||void 0===r?void 0:r.length)||1===r.length&&"[]"===a,l=n.Title||t("untitled")||"",u=s.useMemo((function(){var e=[];try{1===(null===r||void 0===r?void 0:r.length)&&(e=JSON.parse(a))}catch(n){(0,p.kg)(n)}return e}),[a,null===r||void 0===r?void 0:r.length]);return(0,i.jsxs)(i.Fragment,{children:[c&&(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(f.Z,{severity:"error",variant:"filled",children:t("content-is-empty")})}),(0,i.jsx)(Re.Z,{items:u,paywall:n.Paid,title:l}),r&&r.length>1&&(0,i.jsx)(Ce.Z,{className:n.Paid?"paywall":"",children:(0,i.jsx)(Ie,{content:n})})]})},Ee=t(79895),Fe=t(3825),Ge=function(e){var n,t,o,c,l=e.content,f=(0,m.Z)((null===(n=l.User)||void 0===n?void 0:n.ID)?"/user/".concat(l.User.ID,"/sponsor"):null),h=f.data,x=f.mutate,v=(0,u.useRouter)().locale,b=(0,d.$G)().t;"ja"===v?t="".concat((null===(o=l.User)||void 0===o?void 0:o.Name)||b("guest")||"","\u3055\u3093\u306e\u30b9\u30dd\u30f3\u30b5\u30fc"):t="".concat((null===(c=l.User)||void 0===c?void 0:c.Name)||b("guest")||"","'s sponsors");var j=s.useCallback(function(){var e=(0,r.Z)((function(e){var n;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,x((function(n){if(!n)return n;for(var t=(0,Ne.Z)(n),r=0;r<t.length;r+=1)if(t[r].ID===e.ID){t.splice(r,1,e);break}return t}),!1)];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),(0,p.kg)(n),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[x]);return(null===h||void 0===h?void 0:h.length)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(Ee.Z,{children:(0,i.jsx)(me.Z,{component:"nav",subheader:(0,i.jsx)(je.Z,{component:"div",children:(0,i.jsx)(y.Z,{noWrap:!0,style:{fontSize:"inherit",lineHeight:"inherit"},children:t})}),children:h.map((function(e){return(0,i.jsx)(Fe.Z,{user:e,onUserUpdate:j},e.ID)}))})})})}):null},We=t(4785),Be=t(9008),$e=t.n(Be),Ae=function(){return(0,i.jsx)($e(),{children:(0,i.jsx)("title",{children:"Baskadia"})})},Oe=t(35762),Le=t(17674),qe=function(){return(0,i.jsx)(Ae,{})},He=l()((function(){return t.e(6565).then(t.bind(t,96565))}),{loadableGenerated:{webpack:function(){return[96565]}},loading:qe}),Je=l()((function(){return t.e(952).then(t.bind(t,70952))}),{loadableGenerated:{webpack:function(){return[70952]}},loading:qe}),Xe=!0,Ve=function(e){var n,t,c=e.data,l=(0,u.useRouter)().query,b=(0,o.Z)((0,x.o)(),1)[0],j=b.auth,g=b.isIntersectionObserverEnabled,Z=s.useMemo((function(){return"string"===typeof l.cid?parseInt(l.cid,36):0}),[l.cid]),y=(0,m.Z)(Z?h.Z.getPublicContent({id:Z,auth:!!j}):null,{fallbackData:c}),k=y.data,w=y.mutate,C=(0,d.$G)().t;(0,v.Z)();var D=s.useRef(null),_=(0,o.Z)(s.useState(!1),2),T=_[0],N=_[1],P=null===k||void 0===k||null===(n=k.Collabo)||void 0===n?void 0:n.Original,R=!(null===k||void 0===k?void 0:k.Paid)||k.Paid&&k.Subscribed,M=s.useMemo((function(){switch(null===k||void 0===k?void 0:k.Type){case"blog":return(0,i.jsx)(He,{content:k});case"image":return(0,i.jsx)(Je,{content:k});default:return(0,i.jsx)(Ae,{})}}),[k]),E=s.useMemo((function(){switch(null===k||void 0===k?void 0:k.Type){case"blog":return(0,i.jsx)(Te,{content:k});case"image":return(0,i.jsx)(Me,{content:k});default:return null}}),[k]);s.useEffect((function(){if(g){var e=D.current;if(e){var n=new IntersectionObserver((function(e){e.forEach((function(e){return N(e.isIntersecting)}))}),{root:null,rootMargin:"0px",threshold:0});return n.observe(e),function(){n.unobserve(e)}}}}),[g]);var F=s.useCallback(function(){var e=(0,r.Z)((function(e){var n;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,w(e,!1)];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),(0,p.kg)(n),[3,3];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[w]);return(0,i.jsxs)(i.Fragment,{children:[M,(0,i.jsxs)(pe.Z,{component:"main",style:{margin:"16px auto",overflowAnchor:"none"},children:[!k&&(0,i.jsx)(Pe.Z,{children:Array.from(Array(20).keys()).map((function(e){return(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(Le.Z,{})},e)}))}),(null===k||void 0===k?void 0:k.DeletedAt)&&(0,i.jsx)(Pe.Z,{children:(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(f.Z,{severity:"error",variant:"filled",children:C("this-post-was-deleted")})})}),k&&!k.DeletedAt&&!k.Published&&(0,i.jsx)(Pe.Z,{children:(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(f.Z,{severity:"warning",variant:"filled",children:C("this-post-is-unpublished")})})}),!(null===k||void 0===k?void 0:k.DeletedAt)&&(null===k||void 0===k?void 0:k.Published)&&(0,i.jsxs)(Pe.Z,{ref:D,children:[(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(fe,{content:k,onContentUpdate:F})}),(null===P||void 0===P?void 0:P.ID)&&P.ID!==k.ID&&!P.DeletedAt&&(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(S,{collabo:k.Collabo})}),!R&&(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(z.Z,{content:k})}),R&&E,!!(null===(t=k.Tags)||void 0===t?void 0:t.length)&&(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(he.Z,{tags:k.Tags})}),(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(U.Z,{content:k})}),(0,i.jsx)(Ce.Z,{children:(0,i.jsx)(I,{content:k,onContentUpdate:F})}),(0,i.jsx)(Ge,{content:k}),(0,i.jsx)(ze,{content:k,onContentUpdate:F})]}),k&&(0,i.jsx)(We.Z,{content:k,style:{marginTop:"16px"}})]}),(0,i.jsx)(Oe.Z,{content:k,show:T,onContentUpdate:F})]})}}},function(e){e.O(0,[8652,3576,868,4116,3138,2387,4794,9803,3322,596,7555,8265,3821,6405,1208,6267,1122,3825,6308,4346,9774,2888,179],(function(){return n=26549,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.