mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[7918],{3905:function(e,t,n){n.d(t,{Zo:function(){return m},kt:function(){return v}});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=a.createContext({}),s=function(e){var t=a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=s(e.components);return a.createElement(o.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,m=c(e,["components","mdxType","originalType","parentName"]),u=s(n),v=r,p=u["".concat(o,".").concat(v)]||u[v]||d[v]||l;return n?a.createElement(p,i(i({ref:t},m),{},{components:n})):a.createElement(p,i({ref:t},m))}));function v(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,i=new Array(l);i[0]=u;var c={};for(var o in t)hasOwnProperty.call(t,o)&&(c[o]=t[o]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var s=2;s<l;s++)i[s]=n[s];return a.createElement.apply(null,i)}return a.createElement.apply(null,n)}u.displayName="MDXCreateElement"},1988:function(e,t,n){n.r(t),n.d(t,{default:function(){return Qe}});var a=n(7294),r=n(6010),l=n(7462),i=n(5999),c=n(9960);function o(e){var t=e.permalink,n=e.title,l=e.subLabel,i=e.isNext;return a.createElement(c.Z,{className:(0,r.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},l&&a.createElement("div",{className:"pagination-nav__sublabel"},l),a.createElement("div",{className:"pagination-nav__label"},n))}function s(e){var t=e.previous,n=e.next;return a.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&a.createElement(o,(0,l.Z)({},t,{subLabel:a.createElement(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&a.createElement(o,(0,l.Z)({},n,{subLabel:a.createElement(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}var m=n(2263),d=n(5551),u=n(373),v=n(5281),p=n(4477);var f={unreleased:function(e){var t=e.siteTitle,n=e.versionMetadata;return a.createElement(i.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){var t=e.siteTitle,n=e.versionMetadata;return a.createElement(i.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function h(e){var t=f[e.versionMetadata.banner];return a.createElement(t,e)}function b(e){var t=e.versionLabel,n=e.to,r=e.onClick;return a.createElement(i.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:a.createElement("b",null,a.createElement(c.Z,{to:n,onClick:r},a.createElement(i.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function g(e){var t,n=e.className,l=e.versionMetadata,i=(0,m.Z)().siteConfig.title,c=(0,d.gA)({failfast:!0}).pluginId,o=(0,u.J)(c).savePreferredVersionName,s=(0,d.Jo)(c),p=s.latestDocSuggestion,f=s.latestVersionSuggestion,g=null!=p?p:(t=f).docs.find((function(e){return e.id===t.mainDocId}));return a.createElement("div",{className:(0,r.Z)(n,v.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},a.createElement("div",null,a.createElement(h,{siteTitle:i,versionMetadata:l})),a.createElement("div",{className:"margin-top--md"},a.createElement(b,{versionLabel:f.label,to:g.path,onClick:function(){return o(f.name)}})))}function E(e){var t=e.className,n=(0,p.E)();return n.banner?a.createElement(g,{className:t,versionMetadata:n}):null}function N(e){var t=e.className,n=(0,p.E)();return n.badge?a.createElement("span",{className:(0,r.Z)(t,v.k.docs.docVersionBadge,"badge badge--secondary")},a.createElement(i.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}function y(e){var t=e.lastUpdatedAt,n=e.formattedLastUpdatedAt;return a.createElement(i.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:a.createElement("b",null,a.createElement("time",{dateTime:new Date(1e3*t).toISOString()},n))}}," on {date}")}function L(e){var t=e.lastUpdatedBy;return a.createElement(i.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:a.createElement("b",null,t)}}," by {user}")}function Z(e){var t=e.lastUpdatedAt,n=e.formattedLastUpdatedAt,r=e.lastUpdatedBy;return a.createElement("span",{className:v.k.common.lastUpdated},a.createElement(i.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?a.createElement(y,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:r?a.createElement(L,{lastUpdatedBy:r}):""}},"Last updated{atDate}{byUser}"),!1)}var _=n(3366),k="iconEdit_dcUD",T=["className"];function C(e){var t=e.className,n=(0,_.Z)(e,T);return a.createElement("svg",(0,l.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,r.Z)(k,t),"aria-hidden":"true"},n),a.createElement("g",null,a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function x(e){var t=e.editUrl;return a.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:v.k.common.editThisPage},a.createElement(C,null),a.createElement(i.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var O="tag_hD8n",w="tagRegular_D6E_",H="tagWithCount_i0QQ";function A(e){var t=e.permalink,n=e.label,l=e.count;return a.createElement(c.Z,{href:t,className:(0,r.Z)(O,l?H:w)},n,l&&a.createElement("span",null,l))}var U="tags_XVD_",M="tag_JSN8";function S(e){var t=e.tags;return a.createElement(a.Fragment,null,a.createElement("b",null,a.createElement(i.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),a.createElement("ul",{className:(0,r.Z)(U,"padding--none","margin-left--sm")},t.map((function(e){var t=e.label,n=e.permalink;return a.createElement("li",{key:n,className:M},a.createElement(A,{label:t,permalink:n}))}))))}var I="lastUpdated_foO9";function B(e){return a.createElement("div",{className:(0,r.Z)(v.k.docs.docFooterTagsRow,"row margin-bottom--sm")},a.createElement("div",{className:"col"},a.createElement(S,e)))}function P(e){var t=e.editUrl,n=e.lastUpdatedAt,l=e.lastUpdatedBy,i=e.formattedLastUpdatedAt;return a.createElement("div",{className:(0,r.Z)(v.k.docs.docFooterEditMetaRow,"row")},a.createElement("div",{className:"col"},t&&a.createElement(x,{editUrl:t})),a.createElement("div",{className:(0,r.Z)("col",I)},(n||l)&&a.createElement(Z,{lastUpdatedAt:n,formattedLastUpdatedAt:i,lastUpdatedBy:l})))}function D(e){var t=e.content.metadata,n=t.editUrl,l=t.lastUpdatedAt,i=t.formattedLastUpdatedAt,c=t.lastUpdatedBy,o=t.tags,s=o.length>0,m=!!(n||l||c);return s||m?a.createElement("footer",{className:(0,r.Z)(v.k.docs.docFooter,"docusaurus-mt-lg")},s&&a.createElement(B,{tags:o}),m&&a.createElement(P,{editUrl:n,lastUpdatedAt:l,lastUpdatedBy:c,formattedLastUpdatedAt:i})):null}function j(e){var t=e.toc,n=e.className,r=e.linkClassName,l=e.isChild;return t.length?a.createElement("ul",{className:l?void 0:n},t.map((function(e){return a.createElement("li",{key:e.id},a.createElement("a",{href:"#"+e.id,className:null!=r?r:void 0,dangerouslySetInnerHTML:{__html:e.value}}),a.createElement(j,{isChild:!0,toc:e.children,className:n,linkClassName:r}))}))):null}var V=a.memo(j),R=n(6668),z=["parentIndex"];function F(e){var t=e.map((function(e){return Object.assign({},e,{parentIndex:-1,children:[]})})),n=Array(7).fill(-1);t.forEach((function(e,t){var a=n.slice(2,e.level);e.parentIndex=Math.max.apply(Math,a),n[e.level]=t}));var a=[];return t.forEach((function(e){var n=e.parentIndex,r=(0,_.Z)(e,z);n>=0?t[n].children.push(r):a.push(r)})),a}function q(e){var t=e.toc,n=e.minHeadingLevel,a=e.maxHeadingLevel;return t.flatMap((function(e){var t=q({toc:e.children,minHeadingLevel:n,maxHeadingLevel:a});return function(e){return e.level>=n&&e.level<=a}(e)?[Object.assign({},e,{children:t})]:t}))}function X(e){var t=e.getBoundingClientRect();return t.top===t.bottom?X(e.parentNode):t}function J(e,t){var n,a,r=t.anchorTopOffset,l=e.find((function(e){return X(e).top>=r}));return l?function(e){return e.top>0&&e.bottom<window.innerHeight/2}(X(l))?l:null!=(a=e[e.indexOf(l)-1])?a:null:null!=(n=e[e.length-1])?n:null}function Q(){var e=(0,a.useRef)(0),t=(0,R.L)().navbar.hideOnScroll;return(0,a.useEffect)((function(){e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function W(e){var t=(0,a.useRef)(void 0),n=Q();(0,a.useEffect)((function(){if(!e)return function(){};var a=e.linkClassName,r=e.linkActiveClassName,l=e.minHeadingLevel,i=e.maxHeadingLevel;function c(){var e=function(e){return Array.from(document.getElementsByClassName(e))}(a),c=function(e){for(var t=e.minHeadingLevel,n=e.maxHeadingLevel,a=[],r=t;r<=n;r+=1)a.push("h"+r+".anchor");return Array.from(document.querySelectorAll(a.join()))}({minHeadingLevel:l,maxHeadingLevel:i}),o=J(c,{anchorTopOffset:n.current}),s=e.find((function(e){return o&&o.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)}));e.forEach((function(e){!function(e,n){if(n){var a;t.current&&t.current!==e&&(null==(a=t.current)||a.classList.remove(r)),e.classList.add(r),t.current=e}else e.classList.remove(r)}(e,e===s)}))}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),function(){document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}),[e,n])}var G=["toc","className","linkClassName","linkActiveClassName","minHeadingLevel","maxHeadingLevel"];function K(e){var t=e.toc,n=e.className,r=void 0===n?"table-of-contents table-of-contents__left-border":n,i=e.linkClassName,c=void 0===i?"table-of-contents__link":i,o=e.linkActiveClassName,s=void 0===o?void 0:o,m=e.minHeadingLevel,d=e.maxHeadingLevel,u=(0,_.Z)(e,G),v=(0,R.L)(),p=null!=m?m:v.tableOfContents.minHeadingLevel,f=null!=d?d:v.tableOfContents.maxHeadingLevel,h=function(e){var t=e.toc,n=e.minHeadingLevel,r=e.maxHeadingLevel;return(0,a.useMemo)((function(){return q({toc:F(t),minHeadingLevel:n,maxHeadingLevel:r})}),[t,n,r])}({toc:t,minHeadingLevel:p,maxHeadingLevel:f});return W((0,a.useMemo)((function(){if(c&&s)return{linkClassName:c,linkActiveClassName:s,minHeadingLevel:p,maxHeadingLevel:f}}),[c,s,p,f])),a.createElement(V,(0,l.Z)({toc:h,className:r,linkClassName:c},u))}var Y="tableOfContents_cNA8",$=["className"];function ee(e){var t=e.className,n=(0,_.Z)(e,$);return a.createElement("div",{className:(0,r.Z)(Y,"thin-scrollbar",t)},a.createElement(K,(0,l.Z)({},n,{linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})))}var te=n(6043),ne="tocCollapsible_bZGK",ae="tocCollapsibleContent_NNA8",re="tocCollapsibleExpanded_IqtF",le="tocCollapsibleButton_l22C",ie="tocCollapsibleButtonExpanded_KeTX",ce=["collapsed"];function oe(e){var t=e.collapsed,n=(0,_.Z)(e,ce);return a.createElement("button",(0,l.Z)({type:"button"},n,{className:(0,r.Z)("clean-btn",le,!t&&ie,n.className)}),a.createElement(i.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}function se(e){var t=e.toc,n=e.className,l=e.minHeadingLevel,i=e.maxHeadingLevel,c=(0,te.u)({initialState:!0}),o=c.collapsed,s=c.toggleCollapsed;return a.createElement("div",{className:(0,r.Z)(ne,!o&&re,n)},a.createElement(oe,{collapsed:o,onClick:s}),a.createElement(te.z,{lazy:!0,className:ae,collapsed:o},a.createElement(K,{toc:t,minHeadingLevel:l,maxHeadingLevel:i})))}var me="anchorWithStickyNavbar_mojV",de="anchorWithHideOnScrollNavbar_R0VQ",ue=["as","id"];function ve(e){var t=e.as,n=e.id,c=(0,_.Z)(e,ue),o=(0,R.L)().navbar.hideOnScroll;return"h1"!==t&&n?a.createElement(t,(0,l.Z)({},c,{className:(0,r.Z)("anchor",o?de:me),id:n}),c.children,a.createElement("a",{className:"hash-link",href:"#"+n,title:(0,i.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):a.createElement(t,(0,l.Z)({},c,{id:void 0}))}var pe="docItemContainer_vinB",fe="docItemCol_DM6M",he="tocMobile_TmEX",be=n(1944),ge=n(7524),Ee=n(3791),Ne=n(8596),ye={breadcrumbsContainer:"breadcrumbsContainer_Xlws",breadcrumbHomeIcon:"breadcrumbHomeIcon_kU5B"},Le=n(4996);function Ze(e){return a.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}function _e(e){var t=e.children,n=e.href,r="breadcrumbs__link";return e.isLast?a.createElement("span",{className:r,itemProp:"name"},t):n?a.createElement(c.Z,{className:r,href:n,itemProp:"item"},a.createElement("span",{itemProp:"name"},t)):a.createElement("span",{className:r},t)}function ke(e){var t=e.children,n=e.active,i=e.index,c=e.addMicrodata;return a.createElement("li",(0,l.Z)({},c&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,r.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,a.createElement("meta",{itemProp:"position",content:String(i+1)}))}function Te(){var e=(0,Le.Z)("/");return a.createElement("li",{className:"breadcrumbs__item"},a.createElement(c.Z,{"aria-label":(0,i.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,r.Z)("breadcrumbs__link",ye.breadcrumbsItemLink),href:e},a.createElement(Ze,{className:ye.breadcrumbHomeIcon})))}function Ce(){var e=(0,Ee.s1)(),t=(0,Ne.Ns)();return e?a.createElement("nav",{className:(0,r.Z)(v.k.docs.docBreadcrumbs,ye.breadcrumbsContainer),"aria-label":(0,i.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},a.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&a.createElement(Te,null),e.map((function(t,n){var r=n===e.length-1;return a.createElement(ke,{key:n,active:r,index:n,addMicrodata:!!t.href},a.createElement(_e,{href:t.href,isLast:r},t.label))})))):null}var xe=n(3905),Oe=n(5742),we=["mdxType","originalType"];var He=n(5710);var Ae=n(2389),Ue="details_lb9f",Me="isBrowser_bmU9",Se="collapsibleContent_i85q",Ie=["summary","children"];function Be(e){return!!e&&("SUMMARY"===e.tagName||Be(e.parentElement))}function Pe(e,t){return!!e&&(e===t||Pe(e.parentElement,t))}function De(e){var t=e.summary,n=e.children,l=(0,_.Z)(e,Ie),i=(0,Ae.Z)(),c=(0,a.useRef)(null),o=(0,te.u)({initialState:!l.open}),s=o.collapsed,m=o.setCollapsed,d=(0,a.useState)(l.open),u=d[0],v=d[1];return a.createElement("details",Object.assign({},l,{ref:c,open:u,"data-collapsed":s,className:(0,r.Z)(Ue,i&&Me,l.className),onMouseDown:function(e){Be(e.target)&&e.detail>1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;Be(t)&&Pe(t,c.current)&&(e.preventDefault(),s?(m(!1),v(!0)):m(!0))}}),t||a.createElement("summary",null,"Details"),a.createElement(te.z,{lazy:!1,collapsed:s,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){m(e),v(!e)}},a.createElement("div",{className:Se},n)))}var je="details_BAp3";function Ve(e){var t=Object.assign({},e);return a.createElement(De,(0,l.Z)({},t,{className:(0,r.Z)("alert alert--info",je,t.className)}))}function Re(e){return a.createElement(ve,e)}var ze="img_E7b_";var Fe={head:function(e){var t=a.Children.map(e.children,(function(e){return function(e){var t,n;if(null!=e&&null!=(t=e.props)&&t.mdxType&&null!=e&&null!=(n=e.props)&&n.originalType){var r=e.props,l=(r.mdxType,r.originalType,(0,_.Z)(r,we));return a.createElement(e.props.originalType,l)}return e}(e)}));return a.createElement(Oe.Z,e,t)},code:function(e){var t=["a","b","big","i","span","em","strong","sup","sub","small"];return a.Children.toArray(e.children).every((function(e){return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(e.props.mdxType)}))?a.createElement("code",e):a.createElement(He.Z,e)},a:function(e){return a.createElement(c.Z,e)},pre:function(e){var t;return a.createElement(He.Z,(0,a.isValidElement)(e.children)&&"code"===e.children.props.originalType?null==(t=e.children)?void 0:t.props:Object.assign({},e))},details:function(e){var t=a.Children.toArray(e.children),n=t.find((function(e){var t;return"summary"===(null==e||null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return a.createElement(Ve,(0,l.Z)({},e,{summary:n}),r)},ul:function(e){return a.createElement("ul",(0,l.Z)({},e,{className:(t=e.className,(0,r.Z)(t,(null==t?void 0:t.includes("contains-task-list"))&&"clean-list"))}));var t},img:function(e){return a.createElement("img",(0,l.Z)({loading:"lazy"},e,{className:(t=e.className,(0,r.Z)(t,ze))}));var t},h1:function(e){return a.createElement(Re,(0,l.Z)({as:"h1"},e))},h2:function(e){return a.createElement(Re,(0,l.Z)({as:"h2"},e))},h3:function(e){return a.createElement(Re,(0,l.Z)({as:"h3"},e))},h4:function(e){return a.createElement(Re,(0,l.Z)({as:"h4"},e))},h5:function(e){return a.createElement(Re,(0,l.Z)({as:"h5"},e))},h6:function(e){return a.createElement(Re,(0,l.Z)({as:"h6"},e))}};function qe(e){var t=e.children;return a.createElement(xe.Zo,{components:Fe},t)}function Xe(e){var t,n=e.content,r=n.metadata,l=n.frontMatter,i=n.assets,c=l.keywords,o=r.description,s=r.title,m=null!=(t=i.image)?t:l.image;return a.createElement(be.d,{title:s,description:o,keywords:c,image:m})}function Je(e){var t=e.content,n=t.metadata,l=t.frontMatter,i=l.hide_title,c=l.hide_table_of_contents,o=l.toc_min_heading_level,m=l.toc_max_heading_level,d=n.title,u=!i&&void 0===t.contentTitle,p=(0,ge.i)(),f=!c&&t.toc&&t.toc.length>0,h=f&&("desktop"===p||"ssr"===p);return a.createElement("div",{className:"row"},a.createElement("div",{className:(0,r.Z)("col",!c&&fe)},a.createElement(E,null),a.createElement("div",{className:pe},a.createElement("article",null,a.createElement(Ce,null),a.createElement(N,null),f&&a.createElement(se,{toc:t.toc,minHeadingLevel:o,maxHeadingLevel:m,className:(0,r.Z)(v.k.docs.docTocMobile,he)}),a.createElement("div",{className:(0,r.Z)(v.k.docs.docMarkdown,"markdown")},u&&a.createElement("header",null,a.createElement(ve,{as:"h1"},d)),a.createElement(qe,null,a.createElement(t,null))),a.createElement(D,e)),a.createElement(s,{previous:n.previous,next:n.next}))),h&&a.createElement("div",{className:"col col--3"},a.createElement(ee,{toc:t.toc,minHeadingLevel:o,maxHeadingLevel:m,className:v.k.docs.docTocDesktop})))}function Qe(e){var t="docs-doc-id-"+e.content.metadata.unversionedId;return a.createElement(be.FG,{className:t},a.createElement(Xe,e),a.createElement(Je,e))}},4477:function(e,t,n){n.d(t,{E:function(){return c},q:function(){return i}});var a=n(7294),r=n(9688),l=a.createContext(null);function i(e){var t=e.children,n=e.version;return a.createElement(l.Provider,{value:n},t)}function c(){var e=(0,a.useContext)(l);if(null===e)throw new r.i6("DocsVersionProvider");return e}}}]); |