mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-10-29 17:34:15 +08:00
1 line
5.6 KiB
JavaScript
1 line
5.6 KiB
JavaScript
"use strict";(self.webpackChunkdeveloper_zsc=self.webpackChunkdeveloper_zsc||[]).push([[8613],{3514:(e,t,n)=>{n.d(t,{A:()=>j});n(96540);var r=n(34164),i=n(26972),s=n(28774),o=n(53465),c=n(16654),l=n(21312),a=n(51107);const d={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var u=n(74848);function m({href:e,children:t}){return(0,u.jsx)(s.A,{href:e,className:(0,r.A)("card padding--lg",d.cardContainer),children:t})}function p({href:e,icon:t,title:n,description:i}){return(0,u.jsxs)(m,{href:e,children:[(0,u.jsxs)(a.A,{as:"h2",className:(0,r.A)("text--truncate",d.cardTitle),title:n,children:[t," ",n]}),i&&(0,u.jsx)("p",{className:(0,r.A)("text--truncate",d.cardDescription),title:i,children:i})]})}function h({item:e}){const t=(0,i.Nr)(e),n=function(){const{selectMessage:e}=(0,o.W)();return t=>e(t,(0,l.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return t?(0,u.jsx)(p,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:e.description??n(e.items.length)}):null}function f({item:e}){const t=(0,c.A)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",n=(0,i.cC)(e.docId??void 0);return(0,u.jsx)(p,{href:e.href,icon:t,title:e.label,description:e.description??n?.description})}function x({item:e}){switch(e.type){case"link":return(0,u.jsx)(f,{item:e});case"category":return(0,u.jsx)(h,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function g({className:e}){const t=(0,i.$S)();return(0,u.jsx)(j,{items:t.items,className:e})}function j(e){const{items:t,className:n}=e;if(!t)return(0,u.jsx)(g,{...e});const s=(0,i.d1)(t);return(0,u.jsx)("section",{className:(0,r.A)("row",n),children:s.map(((e,t)=>(0,u.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,u.jsx)(x,{item:e})},t)))})}},28453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>c});var r=n(96540);const i={},s=r.createContext(i);function o(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(s.Provider,{value:t},e.children)}},44361:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>m,frontMatter:()=>c,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"wiki/\u6545\u969c/\u8054\u901a\u7279\u5b9a/index","title":"\u8054\u901a\u7279\u5b9a","description":"\u5728\u7ef4\u4fee\u8054\u901a\u95ee\u9898\u4e4b\u524d\uff0c\u63a8\u8350\u9605\u8bfb\u8fd9\u7bc7\u6587\u7ae0","source":"@site/docs/wiki/08-\u6545\u969c/03-\u8054\u901a\u7279\u5b9a/index.md","sourceDirName":"wiki/08-\u6545\u969c/03-\u8054\u901a\u7279\u5b9a","slug":"/wiki/\u6545\u969c/\u8054\u901a\u7279\u5b9a/","permalink":"/docs/wiki/\u6545\u969c/\u8054\u901a\u7279\u5b9a/","draft":false,"unlisted":false,"editUrl":"https://github.com/ZSCNetSupportDept/website/tree/master/docs/wiki/08-\u6545\u969c/03-\u8054\u901a\u7279\u5b9a/index.md","tags":[],"version":"current","lastUpdatedAt":1761060872000,"frontMatter":{},"sidebar":"wiki","previous":{"title":"\u7535\u4fe1114\u9519\u8bef\u4ee3\u7801","permalink":"/docs/wiki/\u6545\u969c/\u7535\u4fe1\u7279\u5b9a/114"},"next":{"title":"\u8d26\u53f7\u4e0d\u6b63\u786e","permalink":"/docs/wiki/\u6545\u969c/\u8054\u901a\u7279\u5b9a/\u8d26\u53f7\u4e0d\u6b63\u786e"}}');var i=n(74848),s=n(28453),o=n(3514);const c={},l="\u8054\u901a\u7279\u5b9a",a={},d=[];function u(e){const t={a:"a",admonition:"admonition",h1:"h1",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"\u8054\u901a\u7279\u5b9a",children:"\u8054\u901a\u7279\u5b9a"})}),"\n",(0,i.jsx)(t.admonition,{title:"\u4fe1\u606f",type:"info",children:(0,i.jsxs)(t.p,{children:["\u5728\u7ef4\u4fee\u8054\u901a\u95ee\u9898\u4e4b\u524d\uff0c\u63a8\u8350\u9605\u8bfb",(0,i.jsx)(t.a,{href:"/docs/wiki/%E6%9D%82%E9%A1%B9/%E8%81%94%E9%80%9A%E6%8B%A8%E5%8F%B7%E5%AF%BC%E8%AE%BA%E5%92%8C%E5%B8%B8%E8%A7%84%E6%8E%92%E9%9A%9C",children:"\u8fd9\u7bc7\u6587\u7ae0"})]})}),"\n",(0,i.jsx)(t.admonition,{title:"\u63d0\u793a",type:"tip",children:(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"\u5728\u7ef4\u4fee\u4e0e\u9519\u8bef\u7801\u76f8\u5173\u7684\u95ee\u9898\u65f6\uff0c\u8bf7\u5584\u7528AI\u548c\u4e92\u8054\u7f51"})})}),"\n","\n",(0,i.jsx)(o.A,{className:"docs-card"})]})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},53465:(e,t,n)=>{n.d(t,{W:()=>a});var r=n(96540),i=n(44586);const s=["zero","one","two","few","many","other"];function o(e){return s.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function l(){const{i18n:{currentLocale:e}}=(0,i.A)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function a(){const e=l();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const i=n.select(t),s=n.pluralForms.indexOf(i);return r[Math.min(s,r.length-1)]}(n,t,e)}}}}]); |