1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2417],{81808:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(67294),o=n(84836),l=n(2238),i=n(86076),a=r.createElement,s=(a=r.createElement,function(){return a(i.Z,null,a(l.h,null),a(o.uT,null,a(o.Zh,{all:"2rem"},a(o.gb,null))))})},28079:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var r=n(19521).ZP.p.withConfig({displayName:"PageDescription",componentId:"sc-2c36nq-0"})(["font-size:var(--font-size-body2);display:flex;align-items:center;gap:1rem;padding:0 3rem 0 4rem;@media (max-width:900px){padding:0 2rem 0 2.5rem;}"])},67488:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r=n(19521).ZP.h1.withConfig({displayName:"PageTitle",componentId:"sc-uwhat8-0"})(["font-size:var(--font-size-headline5);font-weight:800;display:flex;align-items:center;gap:1rem;padding-left:4rem;margin:0;@media (max-width:900px){padding-left:2.5rem;}"])},86812:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(67294),o=n(4325),l=n(84836),i=n(70088),a=n(81808),s=n(28079),u=n(67488),c=n(24313),d=n(41664),p=n.n(d),m=n(11163),f=n(30080),g=n(19521),h=n(8100),y=n(68683),b=n(40873),v=n(90609),_=n(97208),k=r.createElement,w=(k=r.createElement,{stats:["{0} accepted / {1} tried","{0} accepted / {1} tried","{0}\u901a\u8fc7 / {1}\u6267\u884c"]});function x(){var e,t=(0,m.useRouter)(),n=(0,b.NT)(w),d=(0,v.p)().handleError,g=(0,h.ZP)("/open_problem/mine",(function(){return y.api.get("/open_problem/mine")})),x=g.data,C=g.error,T=!x&&!C,z=(0,_.F)();if(T)return k(a.h,null);var N=null!==(e=null===x||void 0===x?void 0:x.items)&&void 0!==e?e:[];return k(l.T3,null,k(l.h4,null),"desktop"!==z?k(l.Zh,{all:"2rem"},k(o.x,{type:"body2"},"Please open this page on desktop browser.")):k(l.uT,null,k("div",null,k(u.V,{style:{marginTop:"2rem"}},"Create your own question."),k(s.H,null,"Create coding questions and have people try them out on BFE.dev or your blog."),k(l.Zh,{left:"4rem"},k(l.zx,{link:!0,style:{borderRadius:"2rem",padding:"0.8rem 1.5rem",alignSelf:"center",fontWeight:500,backgroundColor:"var(--color-bg-deemp
1hasized)",fontSize:"1.6rem"},onClick:function(){y.api.post("/open_problem/create").then((function(e){console.log(e),t.push("/open_problem/edit/"+e.uid)})).catch(d)}},"create JavaScript Coding Question"),k(c.Z,{style:{marginTop:"2rem"}}),0===N.length?k(o.x,{type:"body2",color:"sub",style:{display:"block",marginTop:"2rem"}},"You haven't created any questions."):k(r.Fragment,null,k(o.x,{type:"body2",color:"sub",style:{display:"block",margin:"2rem 0"}},"Questions created by you."),k(E,null,k("tbody",null,N.map((function(e){return k("tr",{key:e.id},k("td",{style:{fontWeight:600}},e.title),k("td",null,k(o.x,{type:"caption",color:"sub"},n("stats",[e.stats.accepted||"-",e.stats.tried||"-"]))),k("td",{style:{verticalAlign:"center"}},k(p(),{href:"/open_problem/edit/".concat(e.uid)},k("a",{style:{color:"var(--color-link-sub)",marginLeft:"1rem"}},"Edit")),e.hasUnpublishedChanges&&k(i.h,{tooltip:"has unpublished changes",noBg:!0,style:{color:"var(--color-console-error)",marginLeft:"0.5rem"}},k(f.eJU,null))),k("td",{style:{textAlign:"center"}},e.published?k(p(),{href:"/open_problem/".concat(e.uid)},k("a",{style:{color:"var(--color-link-sub)",marginLeft:"1rem",display:"inline-flex",alignItems:"center",columnGap:5}},"view ",k(f.jhj,null))):k(o.x,{type:"body2",color:"sub"},"still draft")))})))))))))}var E=g.ZP.table.withConfig({displayName:"create__Table",componentId:"sc-lyosnk-0"})(["font-size:1.4rem;border-collapse:collapse;td{padding:1rem 1rem;}
1tr:hover{background-color:var(--color-bg-deemphasized);}"])},59782:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/create",function(){return n(86812)}])}},function(e){e.O(0,[2888,9774,179],(function(){return t=59782,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.