1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[407],{6903:(e,n,t)=>{t.d(n,{A:()=>s});t(6540);var i=t(1176),r=t(4848);function s(){return(0,r.jsx)(i.A.Google,{style:{display:"block",textAlign:"center"},layout:"in-article",format:"fluid",client:"ca-pub-7015533392136941",slot:"7527831842"})}},4976:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>a});const i=JSON.parse('{"id":"services/chatgpt","title":"OpenAI\uff08ChatGPT\uff09","description":"\u5728\u5212\u8bcd\u7ffb\u8bd1\u5167\u4f7f\u7528 OpenAI \u7684\u65b9\u5f0f\u6709\u4e24\u79cd\u3002","source":"@site/docs/services/chatgpt.mdx","sourceDirName":"services","slug":"/services/chatgpt","permalink":"/docs/services/chatgpt","draft":false,"unlisted":false,"editUrl":"/docs/edit-note?docs%2Fservices%2Fchatgpt.mdx","tags":[],"version":"current","lastUpdatedAt":1762083386000,"frontMatter":{},"sidebar":"servicesSidebar","previous":{"title":"\u81ea\u5b9a\u4e49\u7ffb\u8bd1\u6e90","permalink":"/docs/services/custom-api"},"next":{"title":"Claude","permalink":"/docs/services/claude"}}');var r=t(4848),s=t(8453);t(6903);const o={},l="OpenAI\uff08ChatGPT\uff09",c={},a=[{value:"\u7b2c\u4e00\u79cd\uff1a\u8d2d\u4e70\u3010\u5957\u9910\u5305\u3011\u76f4\u63a5\u4f7f\u7528",id:"\u7b2c\u4e00\u79cd\u8d2d\u4e70\u5957\u9910\u5305\u76f4\u63a5\u4f7f\u7528",level:2},{value:"\u7b2c\u4e8c\u79cd\uff1a\u81ea\u884c\u7533\u8bf7 OpenAI \u670d\u52a1",id:"\u7b2c\u4e8c\u79cd\u81ea\u884c\u7533\u8bf7-openai-\u670d\u52a1",level:2},{value:"OpenAI \u63a5\u53e3\u517c\u5bb9\u6027",id:"openai-compatibility",level:3},{value:"\u6a21\u578b\u4e0e\u4ef7\u683c",id:"prices",level:3},{value:"\u7533\u8bf7\u6b65\u9aa4",id:"steps",level:3},{value:"\u7b2c\u4e00\u6b65\uff1a\u51c6\u5907\u4e00\u4e2a ChatGPT \u8d26\u53f7",id:"\u7b2c\u4e00\u6b65\u51c6\u5907\u4e00\u4e2a-chatgpt-\u8d26\u53f7",level:4},{value:"\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa Secret Key",id:"\u7b2c\u4e8c\u6b65\u521b\u5efa-secret-key",level:4},{value:"\u7b2c\u4e09\u6b65\uff1a\u5728\u5212\u8bcd\u7ffb\u8bd1\u4e2d\u586b\u5199 OpenAI \u7684 Secret Key",id:"\u7b2c\u4e09\u6b65\u5728\u5212\u8bcd\u7ffb\u8bd1\u4e2d\u586b\u5199-openai-\u7684-secret-key",level:4},{value:"\u9519\u8bef\u6392\u67e5",id:"troubleshooting",level:3},{value:"\u5e38\u89c1\u95ee\u9898",id:"\u5e38\u89c1\u95ee\u9898",level:3},{value:"\u4e00\u76f4\u5904\u4e8e\u52a0\u8f7d\u4e2d\uff0c\u4e0d\u51fa\u7ed3\u679c",id:"\u4e00\u76f4\u5904\u4e8e\u52a0\u8f7d\u4e2d\u4e0d\u51fa\u7ed3\u679c",level:4},{value:"\u663e\u793a 404 \u9519\u8bef",id:"404",level:4},{value:"\u663e\u793a 429 \u9519\u8bef",id:"\u663e\u793a-429-\u9519\u8bef",level:4},{value:"\u5207\u6362\u6a21\u578b",id:"switch-model",level:2}];function d(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"openaichatgpt",children:"OpenAI\uff08ChatGPT\uff09"})}),"\n",(0,r.jsx)(n.p,{children:"\u5728\u5212\u8bcd\u7ffb\u8bd1\u5167\u4f7f\u7528 OpenAI \u7684\u65b9\u5f0f\u6709\u4e24\u79cd\u3002"}),"\n",(0,r.jsx)(n.h2,{id:"\u7b2c\u4e00\u79cd\u8d2d\u4e70\u5957\u9910\u5305\u76f4\u63a5\u4f7f\u7528",children:"\u7b2c\u4e00\u79cd\uff1a\u8d2d\u4e70\u3010\u5957\u9910\u5305\u3011\u76f4\u63a5\u4f7f\u7528"}),"\n",(0,r.jsxs)(n.p,{children:["\u53ea\u9700\u8d2d\u4e70\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u5957\u9910\u5305\u3011\uff0c\u5373\u53ef\u76f4\u63a5\u4f7f\u7528\u5305\u62ec OpenAI \u5728\u5167\u7684\u6240\u6709\u670d\u52a1\u3002\u5957\u9910\u5305\u5167 OpenAI \u7684\u5355\u4ef7\u4e3a\u5b98\u65b9\u7684 ",(0,r.jsx)(n.strong,{children:"4 \u6298"}),"\u3002"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"/docs/pricing/package",children:"\u70b9\u51fb\u67e5\u770b\u5957\u9910\u5305\u7684\u8be6\u7ec6\u8bf4\u660e"})}),"\n",(0,r.jsx)(n.h2,{id:"\u7b2c\u4e8c\u79cd\u81ea\u884c\u7533\u8bf7-openai-\u670d\u52a1",children:"\u7b2c\u4e8c\u79cd\uff1a\u81ea\u884c\u7533\u8bf7 OpenAI \u670d\u52a1"}
1),"\n",(0,r.jsxs)(n.admonition,{title:"\u4e0d\u5efa\u8bae\u81ea\u884c\u7533\u8bf7 OpenAI \u670d\u52a1",type:"caution",children:[(0,r.jsx)(n.p,{children:"\u81ea\u884c\u7533\u8bf7 OpenAI \u670d\u52a1\u6709\u4ee5\u4e0b\u7f3a\u70b9\uff1a"}),(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"\u4f60\u9700\u8981\u81ea\u884c\u914d\u7f6e\u80fd\u8bbf\u95ee ChatGPT \u7684\u7f51\u7edc\u73af\u5883"}),"\n",(0,r.jsx)(n.li,{children:"\u4f60\u9700\u8981\u6709\u4e00\u5f20\u56fd\u5916\u7684\u4fe1\u7528\u5361"}),"\n",(0,r.jsx)(n.li,{children:"\u5355\u4ef7\u6bd4\u5957\u9910\u5305\u8d35"}),"\n",(0,r.jsx)(n.li,{children:"\u9700\u8981\u6ee1\u8db3\u4e00\u5b9a\u7684\u6d88\u8d39\u6761\u4ef6\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\uff0c\u5426\u5219\u4e00\u5206\u949f\u5185\u53ea\u80fd\u4f7f\u7528 3 \u6b21"}),"\n",(0,r.jsx)(n.li,{children:"\u6709\u5c01\u53f7\u98ce\u9669"}),"\n"]})]}),"\n",(0,r.jsxs)(n.admonition,{type:"tip",children:[(0,r.jsx)(n.p,{children:"\u6587\u6863\u5185\u5bb9\u53ef\u80fd\u4f1a\u8fc7\u65f6\uff0c\u8bf7\u4ee5 OpenAI \u5b98\u7f51\u8bf4\u660e\u4e3a\u51c6\u3002"}),(0,r.jsxs)(n.p,{children:["\u76f8\u5173\u94fe\u63a5\uff1a",(0,r.jsx)(n.a,{href:"https://platform.openai.com/",children:"OpenAI \u5f00\u653e\u5e73\u53f0"})," ",(0,r.jsx)(n.a,{href:"https://openai.com/api/pricing/",children:"OpenAI API \u5b9a\u4ef7\u6587\u6863"})]})]}),"\n",(0,r.jsx)(n.h3,{id:"openai-compatibility",children:"OpenAI \u63a5\u53e3\u517c\u5bb9\u6027"}),"\n",(0,r.jsxs)(n.p,{children:["\u6b64\u670d\u52a1\u517c\u5bb9 OpenAI \u63a5\u53e3\u3002\u67e5\u770b\u8bf4\u660e\uff1a",(0,r.jsx)(n.a,{href:"/docs/faqs/openai-compatibilty",children:"\u4ec0\u4e48\u662f\u201c\u517c\u5bb9 OpenAI \u63a5\u53e3\u7684\u670d\u52a1\u201d\uff1f\u6709\u4ec0\u4e48\u7528\uff1f"})]}),"\n",(0,r.jsx)(n.h3,{id:"prices",children:"\u6a21\u578b\u4e0e\u4ef7\u683c"}),"\n",(0,r.jsxs)(n.p,{children:["\u5212\u8bcd\u7ffb\u8bd1\u652f\u6301",(0,r.jsx)(n.a,{href:"https://platform.openai.com/docs/models/model-endpoint-compatibility",children:"\u8fd9\u7bc7 ChatGPT \u5b98\u65b9\u6587\u6863"}),"\u91cc ENDPOINT \u4e3a ",(0,r.jsx)(n.code,{children:"/v1/chat/completions"})," \u7684\u6240\u6709\u6a21\u578b\u3002"]}),"\n",(0,r.jsxs)(n.p,{children:["\u5404\u4e2a\u6a21\u578b\u7684\u4ecb\u7ecd\u53ef\u4ee5\u67e5\u770b ",(0,r.jsx)(n.a,{href:"https://openai.com/api/pricing/",children:"OpenAI API \u5b9a\u4ef7\u6587\u6863"}),"\u91cc\u7684\u8bf4\u660e\u3002"]}),"\n",(0,r.jsx)(n.p,{children:"\u63a8\u8350\u4f7f\u7528\u4ee5\u4e0b\u6a21\u578b\u6765\u7ffb\u8bd1\uff1a"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"gpt-4o-mini"}),"\uff1a\u6bcf\u767e\u4e07 token \u7684\u8f93\u5165\u4ef7\u683c\u4e3a 0.15 \u7f8e\u5143\uff0c\u8f93\u51fa\u4ef7\u683c\u4e3a 0.6 \u7f8e\u5143"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"gpt-4o"}),"\uff1a\u6bcf\u767e\u4e07 token \u7684\u8f93\u5165\u4ef7\u683c\u4e3a 2.5 \u7f8e\u5143\uff0c\u8f93\u51fa\u4ef7\u683c\u4e3a 10 \u7f8e\u5143"]}),"\n"]}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"OpenAI \u65e0\u514d\u8d39\u989d\u5ea6\u3002"}),"\n",(0,r.jsxs)(n.li,{children:["\u6ce8\u610f\uff1a\u4f7f\u7528 GPT-4 \u7cfb\u5217\u7684\u6a21\u578b\u9700\u8981\u8fbe\u5230\u4e00\u5b9a\u7684\u8981\u6c42\uff0c\u89c1\u5e38\u89c1\u95ee\u9898\u4e2d\u7684",(0,r.jsx)(n.a,{href:"#404",children:"\u663e\u793a 404 \u9519\u8bef"}),"\u3002"]}),"\n",(0,r.jsx)(n.li,{children:"\u201c\u8f93\u5165\u201d\u5373\u4f60\u53d1\u9001\u7ed9\u6a21\u578b\u7684\u5f85\u7ffb\u8bd1\u6587\u672c\uff0c\u201c\u8f93\u51fa\u201d\u5373\u6a21\u578b\u63d0\u4f9b\u7684\u7ffb\u8bd1\u7ed3\u679c\uff0c\u7ffb\u8bd1\u4e00\u6b21\u7684\u6700\u7ec8\u82b1\u8d39 = \u8f93\u5165 token \u6570\u91cf * \u8f93\u5165\u4ef7\u683c + \u8f93\u51fa token \u6570\u91cf * \u8f93\u51fa\u4ef7\u683c\u3002"}),"\n",(0,r.jsx)(n.li,{children:"1 \u4e2a token \u5927\u7ea6\u5bf9\u5e94 1 \u4e2a\u6c49\u5b57\u6216 3 \u81f3 4 \u4e2a\u5b57\u6bcd\u3002"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["\u4f60\u53ef\u4ee5\u7533\u8bf7\u4e00\u5f20\u56fd\u5916\u7684\u865a\u62df\u4fe1\u7528\u5361\u4ed8\u8d39\u4f7f\u7528 OpenAI\u3002",(0,r.jsx)(n.a,{href:"/docs/guides/card",children:"\u70b9\u51fb\u67e5\u7
170b\u56fd\u5916\u865a\u62df\u4fe1\u7528\u5361\u7684\u7533\u8bf7 / \u5145\u503c / \u6d88\u8d39\u6559\u7a0b"})]}),"\n",(0,r.jsx)(n.admonition,{title:"\u5168\u6587\u7ffb\u8bd1\u529f\u80fd\u53ef\u80fd\u4f1a\u6d88\u8017\u5927\u91cf\u5b57\u7b26\uff01",type:"caution",children:(0,r.jsxs)(n.p,{children:["\u5728\u7f51\u9875\u5168\u6587\u7ffb\u8bd1\u529f\u80fd\u4e2d\u4f7f\u7528 OpenAI \u65f6\uff0c\u8bf7\u7559\u610f\u5b57\u7b26\u6570\u6d88\u8017\u60c5\u51b5\uff01",(0,r.jsx)(n.a,{href:"/docs/guides/page",children:"\u70b9\u51fb\u67e5\u770b\u8bf4\u660e"})]})}),"\n",(0,r.jsx)(n.h3,{id:"steps",children:"\u7533\u8bf7\u6b65\u9aa4"}),"\n",(0,r.jsx)(n.h4,{id:"\u7b2c\u4e00\u6b65\u51c6\u5907\u4e00\u4e2a-chatgpt-\u8d26\u53f7",children:"\u7b2c\u4e00\u6b65\uff1a\u51c6\u5907\u4e00\u4e2a ChatGPT \u8d26\u53f7"}),"\n",(0,r.jsxs)(n.p,{children:["\u8bf7\u81ea\u884c\u51c6\u5907\u4e00\u4e2a ChatGPT \u8d26\u53f7\uff0c\u786e\u4fdd\u4f60\u80fd\u6b63\u5e38\u6253\u5f00 ",(0,r.jsx)(n.a,{href:"https://chat.openai.com",children:"https://chat.openai.com"})," \u4e14\u80fd\u6b63\u5e38\u5bf9\u8bdd\u3002"]}),"\n",(0,r.jsx)(n.h4,{id:"\u7b2c\u4e8c\u6b65\u521b\u5efa-secret-key",children:"\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa Secret Key"}),"\n",(0,r.jsxs)(n.ol,{children:["\n",(0,r.jsxs)(n.li,{children:["\u6253\u5f00 ",(0,r.jsx)(n.a,{href:"https://platform.openai.com/account/api-keys",children:"https://platform.openai.com/account/api-keys"}),"\uff0c\u5982\u679c\u6ca1\u767b\u5f55\u7684\u8bdd\u4f1a\u8ba9\u4f60\u767b\u5f55"]}),"\n",(0,r.jsx)(n.li,{children:"\u70b9\u51fb\u3010Create new secret key\u3011\u6309\u94ae\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u5f39\u7a97\uff0c\u91cc\u9762\u663e\u793a\u4e86 Secret Key"}),"\n",(0,r.jsx)(n.li,{children:"\u590d\u5236 Secret Key"}),"\n"]}),"\n",(0,r.jsx)(n.h4,{id:"\u7b2c\u4e09\u6b65\u5728\u5212\u8bcd\u7ffb\u8bd1\u4e2d\u586b\u5199-openai-\u7684-secret-key",children:"\u7b2c\u4e09\u6b65\uff1a\u5728\u5212\u8bcd\u7ffb\u8bd1\u4e2d\u586b\u5199 OpenAI \u7684 Secret Key"}),"\n",(0,r.jsx)(n.p,{children:"\u5c06 Secret Key \u586b\u5199\u8fdb\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u8bbe\u7f6e\u9875\u3011-\u3010\u670d\u52a1\u7533\u8bf7\u3011-\u3010ChatGPT\u3011\u4e2d\u3002"}),"\n",(0,r.jsx)(n.h3,{id:"troubleshooting",children:"\u9519\u8bef\u6392\u67e5"}),"\n",(0,r.jsx)(n.p,{children:"\u4f60\u53ef\u4ee5\u70b9\u51fb\u4ee5\u4e0b\u94fe\u63a5\uff0c\u7136\u540e\u627e\u5230\u3010API errors\u3011\u4e00\u8282\u67e5\u770b\u62a5\u9519\u7684\u5177\u4f53\u539f\u56e0\u3002"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://platform.openai.com/docs/guides/error-codes",children:"https://platform.openai.com/docs/guides/error-codes"})}),"\n",(0,r.jsx)(n.h3,{id:"\u5e38\u89c1\u95ee\u9898",children:"\u5e38\u89c1\u95ee\u9898"}),"\n",(0,r.jsx)(n.h4,{id:"\u4e00\u76f4\u5904\u4e8e\u52a0\u8f7d\u4e2d\u4e0d\u51fa\u7ed3\u679c",children:"\u4e00\u76f4\u5904\u4e8e\u52a0\u8f7d\u4e2d\uff0c\u4e0d\u51fa\u7ed3\u679c"}),"\n",(0,r.jsx)(n.p,{children:"OpenAI \u65e0\u6cd5\u4ece\u56fd\u5185\u76f4\u63a5\u8fde\u901a\uff0c\u4e14\u5bf9 IP \u7684\u5c01\u9501\u8303\u56f4\u5f88\u5e7f\uff0c\u4f60\u9700\u8981\u53c2\u8003\u7f51\u4e0a\u7684\u4e00\u4e9b\u6559\u7a0b\u6765\u4e86\u89e3\u5982\u4f55\u8fde\u63a5\u5230 OpenAI\u3002"}),"\n",(0,r.jsx)(n.h4,{id:"404",children:"\u663e\u793a 404 \u9519\u8bef"}),"\n",(0,r.jsxs)(n.p,{children:["\u6839\u636e",(0,r.jsx)(n.a,{href:"https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-free",children:"\u8fd9\u7bc7\u5b98\u65b9\u6587\u6863"}),"\uff0c\u4f60\u9700\u8981\u901a\u8fc7\u8c03\u7528\u63a5\u53e3\u6d88\u8d39\u6ee1 5 \u7f8e\u5143\u624d\u80fd\u4f7f\u7528 GPT-4 \u7cfb\u5217\u7684\u6a21\u578b\uff0c\u5426\u5219\u4f1a\u663e\u793a 404 \u9519\u8bef\u3002"]}),"\n",(0,r.jsxs)(n.p,{children:["\u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u9700\u8981\u7ed1\u5b9a\u4fe1\u7528\u5361\uff0c\u7136\u540e\u4f7f\u7528 ",(0,r.jsx)(n.code,{children:"gpt-3.5-turbo"})," \u6a21\u578b\uff0c\u6d88\u8d39\u6ee1 5 \u7f8e\u5143\u4e4b\u540e\uff0c\u624d\u80fd\u4f7f\u7528 ",(0,r.jsx)(n.code,{children:"gpt-4o"})," \u6a21\u578b\u3002"]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"/docs/guides/card",children:"\u70b9\u51fb\u67e5\u7
170b\u56fd\u5916\u865a\u62df\u4fe1\u7528\u5361\u7684\u7533\u8bf7 / \u5145\u503c / \u6d88\u8d39\u6559\u7a0b"})}),"\n",(0,r.jsx)(n.h4,{id:"\u663e\u793a-429-\u9519\u8bef",children:"\u663e\u793a 429 \u9519\u8bef"}),"\n",(0,r.jsxs)(n.p,{children:["\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u8bf4\u660e\u4f60\u7684\u4f7f\u7528\u9891\u7387\u8d85\u51fa\u4e86\u4f7f\u7528\u9891\u7387\u9650\u5236\uff0c\u8fc7\u4e00\u4f1a\u513f\u5c31\u4f1a\u6062\u590d\u3002\u8fd9\u662f ChatGPT \u81ea\u8eab\u7684\u9650\u5236\uff0c\u89c1 ",(0,r.jsx)(n.a,{href:"https://platform.openai.com/docs/guides/rate-limits",children:"Rate limits - OpenAI API"}),"\u3002"]}),"\n",(0,r.jsx)(n.h2,{id:"switch-model",children:"\u5207\u6362\u6a21\u578b"}),"\n",(0,r.jsxs)(n.p,{children:["\u5212\u8bcd\u7ffb\u8bd1\u9ed8\u8ba4\u4f7f\u7528 ",(0,r.jsx)(n.code,{children:"gpt-3.5-turbo"})," \u6a21\u578b\uff0c\u4f60\u53ef\u4ee5\u524d\u5f80\u5212\u8bcd\u7ffb\u8bd1\u7684\u3010\u8bbe\u7f6e\u9875\u3011-\u3010\u7b2c\u4e09\u65b9\u670d\u52a1\u3011-\u3010ChatGPT\u3011\u91cc\u5207\u6362\u6a21\u578b\u6216\u8c03\u6574\u7ffb\u8bd1\u547d\u4ee4\u3002"]})]})}function p(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},2115:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0});var i,r=function(){function e(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(n,t,i){return t&&e(n.prototype,t),i&&e(n,i),n}}(),s=t(6540),o=(i=s)&&i.__esModule?i:{default:i};var l=function(e){function n(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,e),r(n,[{key:"render",value:function(){return o.default.createElement("div",{className:"adsbybaidu"},"TODO")}}]),n}(o.default.Component);n.default=l},8265:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(n,t,i){return t&&e(n.prototype,t),i&&e(n,i),n}}(),r=o(t(6540)),s=o(t(5556));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function n(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,e),i(n,[{key:"componentDidMount",value:function(){window&&(window.adsbygoogle=window.adsbygoogle||[]).push({})}},{key:"render",value:function(){return r.default.createElement("ins",{className:this.props.className+" adsbygoogle",style:this.props.style,"data-ad-client":this.props.client,"data-ad-slot":this.props.slot,"data-ad-layout":this.props.layout,"data-ad-layout-key":this.props.layoutKey,"data-ad-format":this.props.format,"data-full-width-responsive":this.props.responsive})}}]),n}(r.default.Component);n.default=l,l.propTypes={className:s.default.string,style:s.default.object,client:s.default.string.isRequired,slot:s.default.string.isRequired,layout:s.default.string,layoutKey:s.default.string,format:s.default.string,responsive:s.default.string},l.defaultProps={className:"",style:{display:"block"},format:"auto",layout:"",layoutKey:"",responsive:"false"}},1176:(e,n,t)=>
1{var i=s(t(8265)),r=s(t(2115));function s(e){return e&&e.__esModule?e:{default:e}}var o={Google:i.default,Baidu:r.default};n.A=o},8453:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>l});var i=t(6540);const r={},s=i.createContext(r);function o(e){const n=i.useContext(s);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]);
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.