Spotify.NET/1be78505.0943205c.js

1 line
14 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[11,8],{124:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a.n(n),l=a(201),i=a(190),c=a(186),o=a(188),s=a(189);var m=function(e){var t=e.metadata;return r.a.createElement("nav",{className:"pagination-nav"},r.a.createElement("div",{className:"pagination-nav__item"},t.previous&&r.a.createElement(s.a,{className:"pagination-nav__link",to:t.previous.permalink},r.a.createElement("div",{className:"pagination-nav__sublabel"},"Previous"),r.a.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),r.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&r.a.createElement(s.a,{className:"pagination-nav__link",to:t.next.permalink},r.a.createElement("div",{className:"pagination-nav__sublabel"},"Next"),r.a.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var u=function(e,t,a){var r=Object(n.useState)(void 0),l=r[0],i=r[1];Object(n.useEffect)((function(){var n=[],r=[];function c(){var c=function(){var e=0,t=null;for(n=document.getElementsByClassName("anchor");e<n.length&&!t;){var r=n[e],l=r.getBoundingClientRect().top;l>=0&&l<=a&&(t=r),e+=1}return t}();if(c){var o=0,s=!1;for(r=document.getElementsByClassName(e);o<r.length&&!s;){var m=r[o],u=m.href,d=decodeURIComponent(u.substring(u.indexOf("#")+1));c.id===d&&(l&&l.classList.remove(t),m.classList.add(t),i(m),s=!0),o+=1}}}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),function(){document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}))},d=a(187),f=a.n(d),v=a(125),p=a.n(v);function b(e){var t=e.headings;return u("table-of-contents__link","table-of-contents__link--active",100),r.a.createElement("div",{className:"col col--3"},r.a.createElement("div",{className:p.a.tableOfContents},r.a.createElement(h,{headings:t})))}function h(e){var t=e.headings,a=e.isChild;return t.length?r.a.createElement("ul",{className:a?"":"table-of-contents table-of-contents__left-border"},t.map((function(e){return r.a.createElement("li",{key:e.id},r.a.createElement("a",{href:"#"+e.id,className:"table-of-contents__link",dangerouslySetInnerHTML:{__html:e.value}}),r.a.createElement(h,{isChild:!0,headings:e.children}))}))):null}t.default=function(e){var t,a=Object(c.a)().siteConfig,n=void 0===a?{}:a,s=n.url,u=n.title,d=e.content,v=d.metadata,h=v.description,g=v.title,E=v.permalink,y=v.editUrl,O=v.lastUpdatedAt,N=v.lastUpdatedBy,_=v.version,k=d.frontMatter,w=k.image,j=k.keywords,C=k.hide_title,x=k.hide_table_of_contents,P=g?g+" | "+u:u,I=s+Object(o.a)(w);return Object(i.a)(w)||(I=w),r.a.createElement(r.a.Fragment,null,r.a.createElement(l.a,null,r.a.createElement("title",null,P),r.a.createElement("meta",{property:"og:title",content:P}),h&&r.a.createElement("meta",{name:"description",content:h}),h&&r.a.createElement("meta",{property:"og:description",content:h}),j&&j.length&&r.a.createElement("meta",{name:"keywords",content:j.join(",")}),w&&r.a.createElement("meta",{property:"og:image",content:I}),w&&r.a.createElement("meta",{property:"twitter:image",content:I}),w&&r.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+g}),E&&r.a.createElement("meta",{property:"og:url",content:s+E}),E&&r.a.createElement("link",{rel:"canonical",href:s+E})),r.a.createElement("div",{className:f()("container padding-vert--lg",p.a.docItemWrapper)},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:f()("col",(t={},t[p.a.docItemCol]=!x,t))},r.a.createElement("div",{className:p.a.docItemContainer},r.a.createElement("article",null,_&&r.a.createElement("div",null,r.a.createElement("span",{className:"badge badge--secondary"},"Version: ",_)),!C&&r.a.createElement("header",null,r.a.createElement("h1",{className:p.a.docTitle},g)),r.a.createElement("div",{className:"markdown"},r.a.createElement(d,null))),(y||O||N)&&r.a.createElement("div",{className:"margin-vert--xl"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col"},y&&r.a.createElement("a",{href:y,target:"_blan