1"use strict";(self.webpackChunk_deepseek_docs=self.webpackChunk_deepseek_docs||[]).push([[9048],{11778:(e,t,a)=>{a.r(t),a.d(t,{default:()=>be});var n=a(26166),o=a(20027),s=a(81448),i=a(88544),r=a(28965),l=a(39337),c=a(63160),d=a(74598);const u={backToTopButton:"backToTopButton_XdUj",backToTopButtonShow:"backToTopButtonShow_zu9P"};var m=a(80678);function b(){const{shown:e,scrollToTop:t}=(0,d.H)({threshold:300});return(0,m.jsx)("button",{"aria-label":(0,c.translate)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.A)("clean-btn",i.G.common.backToTopButton,u.backToTopButton,e&&u.backToTopButtonShow),type:"button",onClick:t})}var h=a(96152),p=a(35261),x=a(61798),f=a(64311),j=a(41276);function _(e){return(0,m.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,m.jsxs)("g",{fill:"#7a7a7a",children:[(0,m.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,m.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const g="collapseSidebarButton_s023",v="collapseSidebarButtonIcon_C2T5";function C({onClick:e}){return(0,m.jsx)("button",{type:"button",title:(0,c.translate)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.A)("button button--secondary button--outline",g),onClick:e,children:(0,m.jsx)(_,{className:v})})}var k=a(31072),A=a(92287),S=a(19186),N=a(35909),I=a(82851),T=a(81666),y=a(31907),B=a(87170);function w({collapsed:e,categoryLabel:t,onClick:a}){return(0,m.jsx)("button",{"aria-label":e?(0,c.translate)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:t}):(0,c.translate)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:a})}function L({item:e,onItemClick:t,activePath:a,level:s,index:l,...c}){const{items:d,label:u,collapsible:b,className:h,href:p}=e,{docs:{sidebar:{autoCollapseCategories:x}}}=(0,f.p)(),j=function(e){const t=(0,B.default)();return(0,n.useMemo)(()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,r.Nr)(e):void 0,[e,t])}(e),_=(0,r.w8)(e,a),g=(0,T.ys)(p,a),{collapsed:v,setCollapsed:C}=(0,I.u)({initialState:()=>!!b&&(!_&&e.collapsed)}),{expandedItem:k,setExpandedItem:A}=(0,S.G)(),L=(e=!v)=>{A(e?null:l),C(e)};return function({isActive:e,collapsed:t,updateCollapsed:a}){const o=(0,N.ZC)(e);(0,n.useEffect)(()=>{e&&!o&&t&&a(!1)},[e,o,t,a])}({isActive:_,collapsed:v,updateCollapsed:L}),(0,n.useEffect)(()=>{b&&null!=k&&k!==l&&x&&C(!0)},[b,k,l,C,x]),(0,m.jsxs)("li",{className:(0,o.A)(i.G.docs.docSidebarItemCategory,i.G.docs.docSidebarItemCategoryLevel(s),"menu__list-item",{"menu__list-item--collapsed":v},h),children:[(0,m.jsxs)("div",{className:(0,o.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":g}),children:[(0,m.jsx)(y.default,{className:(0,o.A)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!p&&b,"menu__link--active":_}),onClick:b?a=>{t?.(e),p?L(!1):(a.preventDefault(),L())}:()=>{t?.(e)},"aria-current":g?"page":void 0,"aria-expanded":b?!v:void 0,href:b?j??"#":j,...c,children:u}),p&&b&&(0,m.jsx)(w,{collapsed:v,categoryLabel:u,onClick:e=>{e.preventDefault(),L()}})]}),(0,m.jsx)(I.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:v,children:(0,m.jsx)(F,{items:d,tabIndex:v?-1:0,onItemClick:t,activePath:a,level:s+1})})]})}var E=a(51281),H=a(93380);const M="menuExternalLink_kqFC";function G({item:e,onItemClick:t,activePath:a,level:n,index:s,...l}){const{href:c,label:d,className:u,autoAddBaseUrl:b}=e,h=(0,r.w8)(e,a),p=(0,E.A)(c);return(0,m.jsx)("li",{className:(0,o.A)(i.G.docs.docSidebarItemLink,i.G.docs.docSidebarItemLinkLevel(n),"menu__list-item",u),children:(0,m.jsxs)(y.default,{className:(0,o.A)("menu__link",!p&&M,{"menu__link--active":h}),autoAddBaseUrl:b,"aria-current":h?"page":void 0,to:c,...p&&{onClick:t?()=>t(e):void 0},...l,children:[d,!p&&(0,m.jsx)(H.A,{})]})},d)}const P="menuHtmlItem_Pm2H";function D({item:e,level:t,index:a}){const{value:n,defaultStyle:s,className:r}=e;return(0,m.jsx)("li",{className:(0,o.A)(i.G.docs.docSidebarItemLink,i.G.docs.docSidebarItemLinkLevel(t),s&&[P,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:n}},a)}function R({item:e,...t}){switch(e.type){case"category":return(0,m.jsx)(L,{item:e,...t});case"html":return(0,m.jsx)(D,{item:e,...t});default:return(0,m.jsx)(G,{item:e,...t})}}function W({items:e,...t}){const a=(0,r.Y)(e,t.activePath);return(0,m.jsx)(S.A,{children:a.map((e,a)=>(0,m.jsx)(R,{item:e,index:a,...t},a))})}const F=(0,n.memo)(W),V="menu_r8D2",U="menuWithAnnouncementBar_d3mA";function z({path:e,sidebar:t,className:a}){const s=function(){const{isActive:e}
1=(0,k.Mj)(),[t,a]=(0,n.useState)(e);return(0,A.Mq)(({scrollY:t})=>{e&&a(0===t)},[e]),e&&t}();return(0,m.jsx)("nav",{"aria-label":(0,c.translate)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.A)("menu thin-scrollbar",V,s&&U,a),children:(0,m.jsx)("ul",{className:(0,o.A)(i.G.docs.docSidebarMenu,"menu__list"),children:(0,m.jsx)(F,{items:t,activePath:e,level:1})})})}const q="sidebar_pcuX",X="sidebarWithHideableNavbar_UW4y",Y="sidebarHidden_mNMF",J="sidebarLogo_FJtj";function O({path:e,sidebar:t,onCollapse:a,isHidden:n}){const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:i}}}=(0,f.p)();return(0,m.jsxs)("div",{className:(0,o.A)(q,s&&X,n&&Y),children:[s&&(0,m.jsx)(j.A,{tabIndex:-1,className:J}),(0,m.jsx)(z,{path:e,sidebar:t}),i&&(0,m.jsx)(C,{onClick:a})]})}const K=n.memo(O);var Z=a(46157),$=a(56372);const Q=({sidebar:e,path:t})=>{const a=(0,$.M)();return(0,m.jsx)("ul",{className:(0,o.A)(i.G.docs.docSidebarMenu,"menu__list"),children:(0,m.jsx)(F,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,m.jsx)(Z.GX,{component:Q,props:e})}const te=n.memo(ee);function ae(e){const t=(0,x.l)(),a="desktop"===t||"ssr"===t,n="mobile"===t;return(0,m.jsxs)(m.Fragment,{children:[a&&(0,m.jsx)(K,{...e}),n&&(0,m.jsx)(te,{...e})]})}const ne={expandButton:"expandButton_Wf_I",expandButtonIcon:"expandButtonIcon_x3D4"};function oe({toggleSidebar:e}){return(0,m.jsx)("div",{className:ne.expandButton,title:(0,c.translate)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.translate)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e,children:(0,m.jsx)(_,{className:ne.expandButtonIcon})})}const se={docSidebarContainer:"docSidebarContainer_baRN",docSidebarContainerHidden:"docSidebarContainerHidden_SU1U",sidebarViewport:"sidebarViewport_VhFV"};function ie({children:e}){const t=(0,l.t)();return(0,m.jsx)(n.Fragment,{children:e},t?.name??"noSidebar")}function re({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:a}){const{pathname:s}=(0,p.zy)(),[r,l]=(0,n.useState)(!1),c=(0,n.useCallback)(()=>{r&&l(!1),!r&&(0,h.O)()&&l(!0),a(e=>!e)},[a,r]);return(0,m.jsx)("aside",{className:(0,o.A)(i.G.docs.docSidebarContainer,se.docSidebarContainer,t&&se.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(se.docSidebarContainer)&&t&&l(!0)},children:(0,m.jsx)(ie,{children:(0,m.jsxs)("div",{className:(0,o.A)(se.sidebarViewport,r&&se.sidebarViewportHidden),children:[(0,m.jsx)(ae,{sidebar:e,path:s,onCollapse:c,isHidden:r}),r&&(0,m.jsx)(oe,{toggleSidebar:c})]})})})}const le={docMainContainer:"docMainContainer_SNqp",docMainContainerEnhanced:"docMainContainerEnhanced_EVLJ",docItemWrapperEnhanced:"docItemWrapperEnhanced_DBXg"};function ce({hiddenSidebarContainer:e,children:t}){const a=(0,l.t)();return(0,m.jsx)("main",{className:(0,o.A)(le.docMainContainer,(e||!a)&&le.docMainContainerEnhanced),children:(0,m.jsx)("div",{className:(0,o.A)("container padding-top--md padding-bottom--lg",le.docItemWrapper,e&&le.docItemWrapperEnhanced),children:t})})}const de={docRoot:"docRoot_Dr47",docsWrapper:"docsWrapper_mcSy"};function ue({children:e}){const t=(0,l.t)(),[a,o]=(0,n.useState)(!1);return(0,m.jsxs)("div",{className:de.docsWrapper,children:[(0,m.jsx)(b,{}),(0,m.jsxs)("div",{className:de.docRoot,children:[t&&(0,m.jsx)(re,{sidebar:t.items,hiddenSidebarContainer:a,setHiddenSidebarContainer:o}),(0,m.jsx)(ce,{hiddenSidebarContainer:a,children:e})]})]})}var me=a(25518);function be(e){const t=(0,r.B5)(e);if(!t)return(0,m.jsx)(me.A,{});const{docElement:a,sidebarName:n,sidebarItems:c}=t;return(0,m.jsx)(s.e3,{className:(0,o.A)(i.G.page.docsDocPage),children:(0,m.jsx)(l.V,{name:n,items:c,children:(0,m.jsx)(ue,{children:a})})})}},25518:(e,t,a)=>{a.d(t,{A:()=>r});a(26166);var n=a(20027),o=a(63160),s=a(44843),i=a(80678);function r({className:e}){return(0,i.jsx)("main",{className:(0,n.A)("container margin-vert--xl",e),children:(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,i.jsx)(s.default,{as:"h1",className:"hero__title",children:(0,i.jsx)(o.default,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,i.jsx)("p",{children:(0,i.jsx)(o.default,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},19186:(e,t,a)=>{a.d(t,{A:()=>l,G:()=>c});var n=a(26166),o=a(35909),s=a(80678);const i=Symbol("EmptyContext"),r=n.createContext(i);function l({children:e}
1){const[t,a]=(0,n.useState)(null),o=(0,n.useMemo)(()=>({expandedItem:t,setExpandedItem:a}),[t]);return(0,s.jsx)(r.Provider,{value:o,children:e})}function c(){const e=(0,n.useContext)(r);if(e===i)throw new o.dV("DocSidebarItemsExpandedStateProvider");return e}},74598:(e,t,a)=>{a.d(t,{H:()=>i});var n=a(26166),o=a(92287),s=a(17753);function i({threshold:e}){const[t,a]=(0,n.useState)(!1),i=(0,n.useRef)(!1),{startScroll:r,cancelScroll:l}=(0,o.gk)();return(0,o.Mq)(({scrollY:t},n)=>{const o=n?.scrollY;o&&(i.current?i.current=!1:t>=o?(l(),a(!1)):t<e?a(!1):t+window.innerHeight<document.documentElement.scrollHeight&&a(!0))}),(0,s.$)(e=>{e.location.hash&&(i.current=!0,a(!1))}),{shown:t,scrollToTop:()=>r(0)}}}}]);
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.