(self.webpackChunk=self.webpackChunk||[]).push([[2303],{52310:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},18299:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},42922:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},25877:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},55304:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},63237:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},99569:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},17663:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},72395:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},87922:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},53978:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},54262:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return L}});var l=c(87462),Te=c(67294),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},ue=z,U=c(74643),P=function(p,o){return Te.createElement(U.Z,(0,l.Z)({},p,{ref:o,icon:ue}))},L=Te.forwardRef(P)},60580:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return S}});var l=c(71577),Te=c(67294),z=Object.defineProperty,ue=Object.defineProperties,U=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,p=(R,E,w)=>E in R?z(R,E,{enumerable:!0,configurable:!0,writable:!0,value:w}):R[E]=w,o=(R,E)=>{for(var w in E||(E={}))L.call(E,w)&&p(R,w,E[w]);if(P)for(var w of P(E))g.call(E,w)&&p(R,w,E[w]);return R},j=(R,E)=>ue(R,U(E)),O=(R,E)=>{var w={};for(var b in R)L.call(R,b)&&E.indexOf(b)<0&&(w[b]=R[b]);if(R!=null&&P)for(var b of P(R))E.indexOf(b)<0&&g.call(R,b)&&(w[b]=R[b]);return w},F=(R,E,w)=>new Promise((b,$)=>{var V=N=>{try{x(w.next(N))}catch(te){$(te)}},q=N=>{try{x(w.throw(N))}catch(te){$(te)}},x=N=>N.done?b(N.value):Promise.resolve(N.value).then(V,q);x((w=w.apply(R,E)).next())});const S=R=>{var E=R,{children:w}=E,b=O(E,["children"]);const[$,V]=(0,Te.useState)(!1);return Te.createElement(l.ZP,j(o({},b),{loading:$,onClick:q=>F(void 0,null,function*(){try{V(!0),yield b.onClick(q),V(!1)}catch(x){console.error(x),V(!1)}})}),w)}},56243:function(Bn,Xt,c){"use strict";var l=c(17187),Te=c.n(l),z=Object.defineProperty,ue=(g,p,o)=>p in g?z(g,p,{enumerable:!0,configurable:!0,writable:!0,value:o}):g[p]=o,U=(g,p,o)=>ue(g,typeof p!="symbol"?p+"":p,o),P=(g,p,o)=>new Promise((j,O)=>{var F=E=>{try{R(o.next(E))}catch(w){O(w)}},S=E=>{try{R(o.throw(E))}catch(w){O(w)}},R=E=>E.done?j(E.value):Promise.resolve(E.value).then(F,S);R((o=o.apply(g,p)).next())});class L extends l.EventEmitter{constructor(p,o){super(),U(this,"url"),U(this,"body"),U(this,"fullContent",""),U(this,"controller",null),U(this,"buffer",""),this.url=p,this.body=o}startStream(){return P(this,null,function*(){this.controller=new AbortController;const{signal:p}=this.controller;try{const o=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:p});if(!o.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${o.status}`);const j=o.headers.get("content-type");if(!j)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(j.includes("application/json")){const S=yield o.json();this.emit("error",S);return}if(!j.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const O=o.body.getReader(),F=new TextDecoder("utf-8");for(;;){const{done:S,value:R}=yield O.read();if(S)break;const E=F.decode(R,{stream:!0});this.buffer+=E;const w=this.buffer.split(` `);this.buffer=w.pop()||"";for(const b of w)if(b.startsWith("data:")){const $=b.slice(5).trim();if($==="[DONE]")break;try{const V=JSON.parse($);V.data&&this.handleData(V.data)}catch(V){this.buffer=b+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",V)}}}this.emit("done",this.fullContent)}catch(o){o.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",o.message)}})}handleData(p){p.content&&(this.fullContent+=p.content,this.emit("data",{chunk:p,full:this.fullContent}))}cancelRequest(){var p;(p=this.controller)==null||p.abort()}}Xt.Z=L},21826:function(Bn,Xt,c){"use strict";c.d(Xt,{Z:function(){return he}});var l=c(67294),Te=c(94668),z=c(91733),ue=c(17274),U=c(86032),P=c(74855),L={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},g=c(2453),p=c(99398),o=c(36576),j=c(41807),O=c(67127),F=c(81897),S=c(72565),R=c(71230),E=c(15746),w={smartWrp:"smartWrp___NjRcB"},b=c(36295),$=c(80150),V=c(60580),q=c(67294),x=(Z,ne,Ke)=>new Promise((Ue,Pe)=>{var Mt=Ot=>{try{Rt(Ke.next(Ot))}catch(Ut){Pe(Ut)}},wt=Ot=>{try{Rt(Ke.throw(Ot))}catch(Ut){Pe(Ut)}},Rt=Ot=>Ot.done?Ue(Ot.value):Promise.resolve(Ot.value).then(Mt,wt);Rt((Ke=Ke.apply(Z,ne)).next())});const N=` \u5FEB\u901F\u6392\u5E8F\u6F14\u793A

\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A