forked from Gitlink/build
5 lines
18 KiB
JavaScript
5 lines
18 KiB
JavaScript
(self.webpackChunk=self.webpackChunk||[]).push([[854],{89299:function(S,f,e){"use strict";e.d(f,{Z:function(){return ie}});var y=e(62435),I=e(81897),h=e(5574),L=e.n(h),Z=e(47084),C=e.n(Z),O=e(90621);function V(n,t){var a=n.match(/^(\s+)(?:```)/);if(a===null)return t;var d=a[1];return t.split(`
|
|
`).map(function(l){var x=l.match(/^\s+/);if(x===null)return l;var j=L()(x,1),$=j[0];return $.length>=d.length?l.slice(d.length):l}).join(`
|
|
`)}var z=[],E=["<ul>"],r=new(C()).Renderer,G=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function i(){z=[],E=["<ul>"]}function o(n,t,a,d){if(t>=n.length||n[t].level<=a)return t;var l=n[t];d.push("<li><a href='#"+l.anchor+"'>"+l.text+"</a>"),t++;var x=[];return t=o(n,t,l.level,x),x.length>0&&(d.push("<ul>"),x.forEach(function(j){d.push(j)}),d.push("</ul>")),d.push("</li>"),t=o(n,t,a,d),t}function g(){return o(z,0,0,E),E.push("</ul>"),E.join("")}var s={heading:function(t){var a=G.exec(t);if(a)return{type:"heading",raw:a[0],depth:a[1].length,text:a[2]}},fences:function(t){var a=this.rules.block.fences.exec(t);if(a){var d=a[0],l=V(d,a[3]||""),x=a[2]?a[2].trim():a[2];if(["latex","katex","math"].indexOf(x)>=0){var j=b(),$=l;l=j,m[j]={type:"block",expression:$}}return{type:"code",raw:d,lang:x,text:l}}}},c=/(?:\${2})([^\n`]+?)(?:\${2})/gi,B=0,b=function(){return"__special_katext_id_".concat(B++,"__")},m={};function F(){return m}function T(){B=0,m={}}function A(n){var t=n.replace(c,function(a,d){var l=b();return m[l]={type:"inline",expression:d},l});return t}var M=r.listitem;r.listitem=function(n,t,a){return M(A(n),t,a)};var N=r.paragraph;r.paragraph=function(n){return N(A(n))};var K=r.tablecell;r.tablecell=function(n,t){return K(A(n),t)},r.code=function(n,t,a){var d=(t||"").match(/\S*/)[0];return d?["latex","katex","math"].indexOf(d)>=0?"<p class='editormd-tex'>".concat(n,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(t,'">').concat(a?n:(0,O.escape)(n,!0),`</code></pre>
|
|
`):'<pre class="prettyprint linenums"><code>'+(a?n:(0,O.escape)(n,!0))+"</code></pre>"},r.heading=function(n,t,a){var d=this.options.headerPrefix+a.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");z.push({anchor:d,level:t,text:n});var l=d.replace(/[.,/#!$%^&*;:{}=\-_`~():,。¥;「」|?》《~·【】‘、!]/g,"");return"<h"+t+' id="'+l+'" class="markdown_anchors"><a name="#'+l+'" class="anchors"><i class="iconfont icon-lianjieicon font-14"></i></a>'+n+"</h"+t+">"},C().setOptions({silent:!0,smartypants:!0,gfm:!0,pedantic:!1}),C().use({tokenizer:s,renderer:r});var Q=C(),p=e(11771),R=e(27856),J=e.n(R),Y=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art"},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire"},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug"},{emoji:"\u{1F691}",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo"},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket"},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada"},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add or update tests.",name:"white-check-mark"},{emoji:"\u{1F34E}",entity:"",code:":apple:",description:"apple",name:"apple"},{emoji:"\u{1F433}",entity:"",code:":whale:",description:"whale",name:"whale"},{emoji:"\u{1F512}",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock"},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark"},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light"},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction"},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart"},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker"},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle"},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer"},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2"},{emoji:"\u{1F4DD}",entity:"📝",code:":pencil:",description:"Add or update documentation.",name:"pencil"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop"},{emoji:"\u23EA",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows"},{emoji:"\u{1F4E6}",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package"},{emoji:"\u{1F47D}",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck"},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up"},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb"},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers"},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon"},{emoji:"\u{1F5C3}",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound"},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute"},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette"},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing"},{emoji:"\u{1F3D7}",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction"},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face"},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil"},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash"},{emoji:"\u2697",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic"},{emoji:"\u{1F50D}",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling"},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation"},{emoji:"\u{1F5D1}",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage"}];function w(n){var t=Y.filter(function(a){return a.code===n});return t.length>0?t[0].emoji:n}var H=e(41008),X=e(55423),k=e(86074),q=/<pre[^>]*>/g,_=/:([a-zA-Z_]+):/g;function ne(n){var t=document.createElement("div");return t.innerHTML=n,t.childNodes.length===0?"":t.childNodes[0].nodeValue}var ie=function(n){var t=n.value,a=t===void 0?"":t,d=n.className,l=n.style,x=l===void 0?{}:l,j=n.url,$=String(a),W=(0,y.useMemo)(function(){var u=Q($),U=F();$.match(/\[TOC\]/)&&(u=u.replace("<p>[TOC]</p>",g()),i());var v=$.match(_);if(v&&v.length>0)for(var D=0;D<v.length;D++)u=u.replace(v[D],w(v[D]));return u=u.replace(/(__special_katext_id_\d+__)/g,function(se,re){var te=U[re],ae=te.type,oe=te.expression;return H.Z.renderToString(ne(oe)||"",{displayMode:ae==="block",throwOnError:!1,output:"html"})}),u=u.replace(/▁/g,"\u2581\u2581\u2581"),T(),J().sanitize(u)},[$]);(0,y.useEffect)(function(){if(j&&j.hash&&W){var u=j.hash;if(u){var U=decodeURIComponent(u.split("#")[1]),v=document.getElementById(U);v&&window.scrollTo(0,v.offsetTop)}}},[j,W]);var P=(0,y.useRef)();function ee(u){var U=u.target;if(U.tagName.toUpperCase()==="A"){var v=U.getAttribute("href");if(v&&v.startsWith("#")){u.preventDefault();var D=document.getElementById(v.replace("#",""));D&&D.scrollIntoView(!0)}}}return(0,y.useEffect)(function(){if(P.current&&W&&W.match(q)&&window.PR.prettyPrint(),P.current){var u=P.current;return P.current.addEventListener("click",ee),function(){u.removeEventListener("click",ee),T(),i(),u=null}}},[W,P.current,ee]),(0,k.jsx)("div",{ref:P,style:x,className:"".concat(d||""," markdown-body"),dangerouslySetInnerHTML:{__html:W}})}},70199:function(S,f,e){"use strict";e.r(f),e.d(f,{default:function(){return i}});var y=e(5574),I=e.n(y),h=e(62435),L=e(89299),Z=e(50942),C=e(50194),O=e(8193),V=e(52300),z=e(96074),E=e(599),r=e(86074);function G(o){var g=(0,h.useState)(0),s=I()(g,2),c=s[0],B=s[1],b=(0,h.useState)(void 0),m=I()(b,2),F=m[0],T=m[1],A=(0,h.useState)({}),M=I()(A,2),N=M[0],K=M[1],Q=(0,h.useState)(void 0),p=I()(Q,2),R=p[0],J=p[1],Y=(0,Z.UO)(),w=Y.id;(0,h.useEffect)(function(){w&&(B(w),H())},[w]);var H=function(){(0,O.Nl)(w).then(function(k){K(k.data),J(k.data.cmsDir),T(V.DS.decode(k.data.content))})};return(0,r.jsxs)("div",{className:"track",children:[(0,r.jsx)("div",{className:"header",children:(0,r.jsx)("img",{src:C})}),(0,r.jsxs)("div",{className:"tab",children:[(0,r.jsx)("a",{href:"/track/633",className:"tab-item ".concat(c==="633"?"active":""),children:"\u5F00\u6E90\u9879\u76EE\u8D21\u732E\u8D5B\u9053"},633),(0,r.jsx)("a",{href:"/track/634",className:"tab-item ".concat(c==="634"?"active":""),children:"\u5F00\u6E90\u4EFB\u52A1\u6311\u6218\u8D5B\u9053"},634),(0,r.jsx)("a",{href:"/track/635",className:"tab-item ".concat(c==="635"?"active":""),children:"\u5F00\u6E90\u6848\u4F8B\u6559\u5B66\u8D5B\u9053"},635),(0,r.jsx)("a",{href:"/track/636",className:"tab-item ".concat(c==="636"?"active":""),children:"\u5F00\u6E90\u4EE3\u7801\u8BC4\u6CE8\u8D5B\u9053"},636)]}),(0,r.jsxs)("div",{className:"detail-info",children:[(0,r.jsxs)("div",{className:"info-text-main",children:[(0,r.jsx)("p",{className:"info-name",children:N.name}),(0,r.jsxs)("ul",{className:"info-ul-value",children:[R&&(0,r.jsxs)("li",{children:["\u53D1\u5E03\u4E8E",R.createdAt]}),N&&N.visits&&(0,r.jsxs)("li",{children:[(0,r.jsx)("img",{src:E,alt:"",className:"mr5"}),N.visits]})]})]}),(0,r.jsx)(z.Z,{dashed:!0}),F?(0,r.jsx)(L.Z,{className:"informations_detail imageLayerParent",value:F,url:location}):(0,r.jsx)("span",{children:"\u6682\u65E0\u8BE6\u60C5~"})]})]})}var i=G},96074:function(S,f,e){"use strict";e.d(f,{Z:function(){return G}});var y=e(94184),I=e.n(y),h=e(62435),L=e(53124),Z=e(14747),C=e(67968),O=e(45503);const V=i=>{const{componentCls:o,sizePaddingEdgeHorizontal:g,colorSplit:s,lineWidth:c}=i;return{[o]:Object.assign(Object.assign({},(0,Z.Wf)(i)),{borderBlockStart:`${c}px solid ${s}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${i.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${c}px solid ${s}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${i.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${o}-with-text`]:{display:"flex",alignItems:"center",margin:`${i.dividerHorizontalWithTextGutterMargin}px 0`,color:i.colorTextHeading,fontWeight:500,fontSize:i.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${s}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${c}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${o}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${o}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${o}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:s,borderStyle:"dashed",borderWidth:`${c}px 0 0`},[`&-horizontal${o}-with-text${o}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${o}-dashed`]:{borderInlineStartWidth:c,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${o}-with-text`]:{color:i.colorText,fontWeight:"normal",fontSize:i.fontSize},[`&-horizontal${o}-with-text-left${o}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${o}-inner-text`]:{paddingInlineStart:g}},[`&-horizontal${o}-with-text-right${o}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${o}-inner-text`]:{paddingInlineEnd:g}}})}};var z=(0,C.Z)("Divider",i=>{const o=(0,O.TS)(i,{dividerVerticalGutterMargin:i.marginXS,dividerHorizontalWithTextGutterMargin:i.margin,dividerHorizontalGutterMargin:i.marginLG});return[V(o)]},{sizePaddingEdgeHorizontal:0}),E=function(i,o){var g={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&o.indexOf(s)<0&&(g[s]=i[s]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,s=Object.getOwnPropertySymbols(i);c<s.length;c++)o.indexOf(s[c])<0&&Object.prototype.propertyIsEnumerable.call(i,s[c])&&(g[s[c]]=i[s[c]]);return g},G=i=>{const{getPrefixCls:o,direction:g,divider:s}=h.useContext(L.E_),{prefixCls:c,type:B="horizontal",orientation:b="center",orientationMargin:m,className:F,rootClassName:T,children:A,dashed:M,plain:N,style:K}=i,Q=E(i,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),p=o("divider",c),[R,J]=z(p),Y=b.length>0?`-${b}`:b,w=!!A,H=b==="left"&&m!=null,X=b==="right"&&m!=null,k=I()(p,s==null?void 0:s.className,J,`${p}-${B}`,{[`${p}-with-text`]:w,[`${p}-with-text${Y}`]:w,[`${p}-dashed`]:!!M,[`${p}-plain`]:!!N,[`${p}-rtl`]:g==="rtl",[`${p}-no-default-orientation-margin-left`]:H,[`${p}-no-default-orientation-margin-right`]:X},F,T),q=h.useMemo(()=>typeof m=="number"?m:/^\d+$/.test(m)?Number(m):m,[m]),_=Object.assign(Object.assign({},H&&{marginLeft:q}),X&&{marginRight:q});return R(h.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},s==null?void 0:s.style),K)},Q,{role:"separator"}),A&&B!=="vertical"&&h.createElement("span",{className:`${p}-inner-text`,style:_},A)))}},13411:function(S){function f(e){var y=new Error("Cannot find module '"+e+"'");throw y.code="MODULE_NOT_FOUND",y}f.keys=function(){return[]},f.resolve=f,f.id=13411,S.exports=f},599:function(S){"use strict";S.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAABHNCSVQICAgIfAhkiAAAAUVJREFUKFOlUTFuwkAQ3D0cap7AE/hB+AFEwXWcNhAJBKnjB2BBYSvtpbYjyA+cH/AEfhDq4LvN7qEjRxeJa3ze3ZnZmUO44mCIXa02HXNjBoAwBIKO7yHCngjqxWT0Hs6fwVnxkRBRikjaWqhfnuNaBoWwiZoeKhwiQZ8UpIun0VZ6DrzMK82gjvqJktns7iC1LC+nBDjgq/aKQmTbDQOVno/vNS6Lai0r8kDiV5IaAh2UirQxhrfBWobPfSeGNbLqnoHd0EtWlDwc993ab5uutQ0rnf79yfJqJ2DHcsHslHEnNSZKBcBg9/U22fDhzzPQ93wSz5yapN7mdYF67Hu3GI+mvm7bZsXJo9gM0i5TIhTfr61j69MHF5A9cNqPAKRZZC31y3c++RMC9oe38rb8xnynLw51q46RDkkvwGEg/7lfBf4FAFWjNrMSjaoAAAAASUVORK5CYII="},50194:function(S,f,e){"use strict";S.exports=e.p+"static/subBanner.14db46f7.png"},62183:function(){},13024:function(){},62715:function(){},13611:function(){},28353:function(){},1210:function(){},43454:function(){}}]);
|