From 6d10388a57e9a21f3d4538db1b09d7d2bcad21c9 Mon Sep 17 00:00:00 2001 From: AppVeyor Doc Generation Date: Mon, 21 Oct 2019 08:40:43 +0000 Subject: [PATCH] Built docs | AppVeyor Build 496 --- 404.html | 4 ++-- assets/js/{21.700cbb77.js => 21.401b13b4.js} | 2 +- assets/js/{22.312dbfd1.js => 22.cfa8f8db.js} | 2 +- assets/js/{23.d5043e4d.js => 23.0dd8fbde.js} | 2 +- assets/js/{24.07659c28.js => 24.0e78cfc0.js} | 2 +- assets/js/{25.81029a65.js => 25.aae27f67.js} | 2 +- assets/js/{app.40d84aa2.js => app.b3b376a4.js} | 6 +++--- auth/authorization_code.html | 6 +++--- auth/client_credentials.html | 6 +++--- auth/getting_started.html | 6 +++--- auth/implicit_grant.html | 6 +++--- auth/token_swap.html | 6 +++--- index.html | 6 +++--- web/albums.html | 6 +++--- web/artists.html | 6 +++--- web/browse.html | 6 +++--- web/examples.html | 6 +++--- web/follow.html | 6 +++--- web/getting_started.html | 6 +++--- web/library.html | 6 +++--- web/personalization.html | 6 +++--- web/player.html | 6 +++--- web/playlists.html | 6 +++--- web/profiles.html | 6 +++--- web/proxy.html | 6 +++--- web/search.html | 6 +++--- web/tracks.html | 6 +++--- web/utils.html | 6 +++--- 28 files changed, 73 insertions(+), 73 deletions(-) rename assets/js/{21.700cbb77.js => 21.401b13b4.js} (98%) rename assets/js/{22.312dbfd1.js => 22.cfa8f8db.js} (97%) rename assets/js/{23.d5043e4d.js => 23.0dd8fbde.js} (98%) rename assets/js/{24.07659c28.js => 24.0e78cfc0.js} (99%) rename assets/js/{25.81029a65.js => 25.aae27f67.js} (98%) rename assets/js/{app.40d84aa2.js => app.b3b376a4.js} (90%) diff --git a/404.html b/404.html index 6eee7210..be24efb4 100644 --- a/404.html +++ b/404.html @@ -7,11 +7,11 @@ - +

404

That's a Four-Oh-Four.
Take me home.
- + diff --git a/assets/js/21.700cbb77.js b/assets/js/21.401b13b4.js similarity index 98% rename from assets/js/21.700cbb77.js rename to assets/js/21.401b13b4.js index 620aa347..dad82a5e 100644 --- a/assets/js/21.700cbb77.js +++ b/assets/js/21.401b13b4.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{201:function(t,e,a){"use strict";a.r(e);var r=a(0),s=Object(r.a)({},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"profiles"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#profiles","aria-hidden":"true"}},[t._v("#")]),t._v(" Profiles")]),t._v(" "),a("h2",{attrs:{id:"getprivateprofile"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#getprivateprofile","aria-hidden":"true"}},[t._v("#")]),t._v(" GetPrivateProfile")]),t._v(" "),a("blockquote",[a("p",[t._v("Get detailed profile information about the current user (including the current userโ€™s username).")])]),t._v(" "),a("p",[a("strong",[t._v("Parameters")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Description")]),t._v(" "),a("th",[t._v("Example")])])]),t._v(" "),a("tbody")]),t._v(" "),a("p",[t._v("Returns a "),a("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#user-object-private",target:"_blank",rel:"noopener noreferrer"}},[t._v("PrivateProfile"),a("OutboundLink")],1)]),t._v(" "),a("p",[a("strong",[t._v("Usage")])]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("PrivateUser")]),t._v(" user "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetPrivateProfile")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("user"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("DisplayName"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("hr"),t._v(" "),a("h2",{attrs:{id:"getpublicprofile"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#getpublicprofile","aria-hidden":"true"}},[t._v("#")]),t._v(" GetPublicProfile")]),t._v(" "),a("blockquote",[a("p",[t._v("Get public profile information about a Spotify user.")])]),t._v(" "),a("p",[a("strong",[t._v("Parameters")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Description")]),t._v(" "),a("th",[t._v("Example")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("userId")]),t._v(" "),a("td",[t._v("The user's Spotify user ID.")]),t._v(" "),a("td",[t._v("EXAMPLE")])])])]),t._v(" "),a("p",[t._v("Returns a "),a("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#user-object-public",target:"_blank",rel:"noopener noreferrer"}},[t._v("PublicProfile"),a("OutboundLink")],1)]),t._v(" "),a("p",[a("strong",[t._v("Usage")])]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code")])]),a("hr")])},[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{202:function(t,e,a){"use strict";a.r(e);var r=a(0),s=Object(r.a)({},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"profiles"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#profiles","aria-hidden":"true"}},[t._v("#")]),t._v(" Profiles")]),t._v(" "),a("h2",{attrs:{id:"getprivateprofile"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#getprivateprofile","aria-hidden":"true"}},[t._v("#")]),t._v(" GetPrivateProfile")]),t._v(" "),a("blockquote",[a("p",[t._v("Get detailed profile information about the current user (including the current userโ€™s username).")])]),t._v(" "),a("p",[a("strong",[t._v("Parameters")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Description")]),t._v(" "),a("th",[t._v("Example")])])]),t._v(" "),a("tbody")]),t._v(" "),a("p",[t._v("Returns a "),a("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#user-object-private",target:"_blank",rel:"noopener noreferrer"}},[t._v("PrivateProfile"),a("OutboundLink")],1)]),t._v(" "),a("p",[a("strong",[t._v("Usage")])]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("PrivateUser")]),t._v(" user "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetPrivateProfile")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("user"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("DisplayName"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("hr"),t._v(" "),a("h2",{attrs:{id:"getpublicprofile"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#getpublicprofile","aria-hidden":"true"}},[t._v("#")]),t._v(" GetPublicProfile")]),t._v(" "),a("blockquote",[a("p",[t._v("Get public profile information about a Spotify user.")])]),t._v(" "),a("p",[a("strong",[t._v("Parameters")])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Description")]),t._v(" "),a("th",[t._v("Example")])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("userId")]),t._v(" "),a("td",[t._v("The user's Spotify user ID.")]),t._v(" "),a("td",[t._v("EXAMPLE")])])])]),t._v(" "),a("p",[t._v("Returns a "),a("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#user-object-public",target:"_blank",rel:"noopener noreferrer"}},[t._v("PublicProfile"),a("OutboundLink")],1)]),t._v(" "),a("p",[a("strong",[t._v("Usage")])]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code")])]),a("hr")])},[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/22.312dbfd1.js b/assets/js/22.cfa8f8db.js similarity index 97% rename from assets/js/22.312dbfd1.js rename to assets/js/22.cfa8f8db.js index bd3be4f9..67a4d92e 100644 --- a/assets/js/22.312dbfd1.js +++ b/assets/js/22.cfa8f8db.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{202:function(t,s,a){"use strict";a.r(s);var n=a(0),e=Object(n.a)({},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"proxy-settings"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#proxy-settings","aria-hidden":"true"}},[t._v("#")]),t._v(" Proxy Settings")]),t._v(" "),a("p",[t._v("You can forward your proxy settings to the web api by using a field in the "),a("code",[t._v("SpotifyLocalAPIConfig")]),t._v(".")]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ProxyConfig")]),t._v(" proxyConfig "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ProxyConfig")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n Host "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"127.0.0.1"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n Port "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8080")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Additional values like Username and Password are available")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SpotifyWebAPI")]),t._v(" api "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SpotifyWebAPI")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("proxyConfig"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])},[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{201:function(t,s,a){"use strict";a.r(s);var n=a(0),e=Object(n.a)({},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"proxy-settings"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#proxy-settings","aria-hidden":"true"}},[t._v("#")]),t._v(" Proxy Settings")]),t._v(" "),a("p",[t._v("You can forward your proxy settings to the web api by using a field in the "),a("code",[t._v("SpotifyLocalAPIConfig")]),t._v(".")]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ProxyConfig")]),t._v(" proxyConfig "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ProxyConfig")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n Host "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"127.0.0.1"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n Port "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("8080")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Additional values like Username and Password are available")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SpotifyWebAPI")]),t._v(" api "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SpotifyWebAPI")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("proxyConfig"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])},[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/23.d5043e4d.js b/assets/js/23.0dd8fbde.js similarity index 98% rename from assets/js/23.d5043e4d.js rename to assets/js/23.0dd8fbde.js index beb17699..26047d28 100644 --- a/assets/js/23.d5043e4d.js +++ b/assets/js/23.0dd8fbde.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{203:function(t,a,s){"use strict";s.r(a);var e=s(0),r=Object(e.a)({},function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"search"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#search","aria-hidden":"true"}},[t._v("#")]),t._v(" Search")]),t._v(" "),s("h2",{attrs:{id:"searchitems"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#searchitems","aria-hidden":"true"}},[t._v("#")]),t._v(" SearchItems")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.")])]),t._v(" "),s("div",{staticClass:"warning custom-block"},[s("p",[t._v("You may want to use "),s("code",[t._v("SearchItemsEscaped")]),t._v(" if you're processing user-input without validation")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("q")]),t._v(" "),s("td",[t._v("The search query's keywords (and optional field filters and operators), for example q=roadhouse+blues.")]),t._v(" "),s("td",[s("code",[t._v('"roadhouse+blues"')])])]),t._v(" "),s("tr",[s("td",[t._v("type")]),t._v(" "),s("td",[t._v("A list of item types to search across.")]),t._v(" "),s("td",[s("code",[t._v("SearchType.Album")])])]),t._v(" "),s("tr",[s("td",[t._v("[limit]")]),t._v(" "),s("td",[t._v("The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.")]),t._v(" "),s("td",[s("code",[t._v("20")])])]),t._v(" "),s("tr",[s("td",[t._v("[offset]")]),t._v(" "),s("td",[t._v("The index of the first result to return. Default: 0")]),t._v(" "),s("td",[s("code",[t._v("0")])])]),t._v(" "),s("tr",[s("td",[t._v("[market]")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code or the string from_token.")]),t._v(" "),s("td",[s("code",[t._v('"de"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("code",[t._v("SearchItem")]),t._v(" which contains the properties "),s("code",[t._v("Paging Artists")]),t._v(","),s("code",[t._v("Paging Tracks")]),t._v(", "),s("code",[t._v("Paging Albums")]),t._v(", "),s("code",[t._v("Paging Playlists")]),t._v(". They are filled based on your search-type.")]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SearchItem")]),t._v(" item "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("SearchItems")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"roadhouse+blues"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" SearchType"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Album "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("|")]),t._v(" SearchType"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Playlist"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("item"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Albums"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Total"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("//How many results are there in total? NOTE: item.Tracks = item.Artists = null")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"searchitemsescaped"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#searchitemsescaped","aria-hidden":"true"}},[t._v("#")]),t._v(" SearchItemsEscaped")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.")])]),t._v(" "),s("p",[t._v("Works like "),s("code",[t._v("SearchItems")]),t._v(", but URL escapes all characters")])])},[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{205:function(t,a,s){"use strict";s.r(a);var e=s(0),r=Object(e.a)({},function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"search"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#search","aria-hidden":"true"}},[t._v("#")]),t._v(" Search")]),t._v(" "),s("h2",{attrs:{id:"searchitems"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#searchitems","aria-hidden":"true"}},[t._v("#")]),t._v(" SearchItems")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.")])]),t._v(" "),s("div",{staticClass:"warning custom-block"},[s("p",[t._v("You may want to use "),s("code",[t._v("SearchItemsEscaped")]),t._v(" if you're processing user-input without validation")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("q")]),t._v(" "),s("td",[t._v("The search query's keywords (and optional field filters and operators), for example q=roadhouse+blues.")]),t._v(" "),s("td",[s("code",[t._v('"roadhouse+blues"')])])]),t._v(" "),s("tr",[s("td",[t._v("type")]),t._v(" "),s("td",[t._v("A list of item types to search across.")]),t._v(" "),s("td",[s("code",[t._v("SearchType.Album")])])]),t._v(" "),s("tr",[s("td",[t._v("[limit]")]),t._v(" "),s("td",[t._v("The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.")]),t._v(" "),s("td",[s("code",[t._v("20")])])]),t._v(" "),s("tr",[s("td",[t._v("[offset]")]),t._v(" "),s("td",[t._v("The index of the first result to return. Default: 0")]),t._v(" "),s("td",[s("code",[t._v("0")])])]),t._v(" "),s("tr",[s("td",[t._v("[market]")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code or the string from_token.")]),t._v(" "),s("td",[s("code",[t._v('"de"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("code",[t._v("SearchItem")]),t._v(" which contains the properties "),s("code",[t._v("Paging Artists")]),t._v(","),s("code",[t._v("Paging Tracks")]),t._v(", "),s("code",[t._v("Paging Albums")]),t._v(", "),s("code",[t._v("Paging Playlists")]),t._v(". They are filled based on your search-type.")]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SearchItem")]),t._v(" item "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("SearchItems")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"roadhouse+blues"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" SearchType"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Album "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("|")]),t._v(" SearchType"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Playlist"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("item"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Albums"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Total"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("//How many results are there in total? NOTE: item.Tracks = item.Artists = null")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"searchitemsescaped"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#searchitemsescaped","aria-hidden":"true"}},[t._v("#")]),t._v(" SearchItemsEscaped")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.")])]),t._v(" "),s("p",[t._v("Works like "),s("code",[t._v("SearchItems")]),t._v(", but URL escapes all characters")])])},[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/24.07659c28.js b/assets/js/24.0e78cfc0.js similarity index 99% rename from assets/js/24.07659c28.js rename to assets/js/24.0e78cfc0.js index f62f24c8..e2d2f6ae 100644 --- a/assets/js/24.07659c28.js +++ b/assets/js/24.0e78cfc0.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{204:function(t,a,s){"use strict";s.r(a);var e=s(0),n=Object(e.a)({},function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"tracks"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#tracks","aria-hidden":"true"}},[t._v("#")]),t._v(" Tracks")]),t._v(" "),s("h2",{attrs:{id:"getseveraltracks"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getseveraltracks","aria-hidden":"true"}},[t._v("#")]),t._v(" GetSeveralTracks")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information for multiple tracks based on their Spotify IDs.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("ids")]),t._v(" "),s("td",[t._v("A list of the Spotify IDs for the tracks. Maximum: 50 IDs.")]),t._v(" "),s("td",[s("code",[t._v('new List {"6Y1CLPwYe7zvI8PJiWVz6T"}')])])]),t._v(" "),s("tr",[s("td",[t._v("market")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking.")]),t._v(" "),s("td",[s("code",[t._v('"DE"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("code",[t._v("SeveralTracks")]),t._v(" object which has one property, "),s("code",[t._v("List Tracks")])]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SeveralTracks")]),t._v(" severalTracks "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetSeveralTracks")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("List")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("String"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nseveralTracks"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Tracks"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("ForEach")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" Console"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Name"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"gettrack"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#gettrack","aria-hidden":"true"}},[t._v("#")]),t._v(" GetTrack")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information for a single track identified by its unique Spotify ID.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("id")]),t._v(" "),s("td",[t._v("The Spotify ID for the track.")]),t._v(" "),s("td",[s("code",[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')])])]),t._v(" "),s("tr",[s("td",[t._v("market")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking.")]),t._v(" "),s("td",[s("code",[t._v('"DE"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#track-object-full",target:"_blank",rel:"noopener noreferrer"}},[t._v("FullTrack"),s("OutboundLink")],1)]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("FullTrack")]),t._v(" track "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetTrack")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Name"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"getaudioanalysis"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getaudioanalysis","aria-hidden":"true"}},[t._v("#")]),t._v(" GetAudioAnalysis")]),t._v(" "),s("blockquote",[s("p",[t._v("Get a detailed audio analysis for a single track identified by its unique Spotify ID.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("id")]),t._v(" "),s("td",[t._v("The Spotify ID for the track.")]),t._v(" "),s("td",[s("code",[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')])])])])]),t._v(" "),s("p",[t._v("Returns a AudioAnalysis. This object is currently lacking Spotify documentation but archived "),s("a",{attrs:{href:"https://web.archive.org/web/20160528174915/http://developer.echonest.com/docs/v4/_static/AnalyzeDocumentation.pdf",target:"_blank",rel:"noopener noreferrer"}},[t._v("EchoNest documentation"),s("OutboundLink")],1),t._v(" is relevant.")]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("AudioAnalysis")]),t._v(" analysis "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetAudioAnalysis")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("analysis"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Meta"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("DetailedStatus"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])},[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{203:function(t,a,s){"use strict";s.r(a);var e=s(0),n=Object(e.a)({},function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"tracks"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#tracks","aria-hidden":"true"}},[t._v("#")]),t._v(" Tracks")]),t._v(" "),s("h2",{attrs:{id:"getseveraltracks"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getseveraltracks","aria-hidden":"true"}},[t._v("#")]),t._v(" GetSeveralTracks")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information for multiple tracks based on their Spotify IDs.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("ids")]),t._v(" "),s("td",[t._v("A list of the Spotify IDs for the tracks. Maximum: 50 IDs.")]),t._v(" "),s("td",[s("code",[t._v('new List {"6Y1CLPwYe7zvI8PJiWVz6T"}')])])]),t._v(" "),s("tr",[s("td",[t._v("market")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking.")]),t._v(" "),s("td",[s("code",[t._v('"DE"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("code",[t._v("SeveralTracks")]),t._v(" object which has one property, "),s("code",[t._v("List Tracks")])]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SeveralTracks")]),t._v(" severalTracks "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetSeveralTracks")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("List")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("String"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nseveralTracks"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Tracks"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("ForEach")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" Console"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Name"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"gettrack"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#gettrack","aria-hidden":"true"}},[t._v("#")]),t._v(" GetTrack")]),t._v(" "),s("blockquote",[s("p",[t._v("Get Spotify catalog information for a single track identified by its unique Spotify ID.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("id")]),t._v(" "),s("td",[t._v("The Spotify ID for the track.")]),t._v(" "),s("td",[s("code",[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')])])]),t._v(" "),s("tr",[s("td",[t._v("market")]),t._v(" "),s("td",[t._v("An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking.")]),t._v(" "),s("td",[s("code",[t._v('"DE"')])])])])]),t._v(" "),s("p",[t._v("Returns a "),s("a",{attrs:{href:"https://developer.spotify.com/web-api/object-model/#track-object-full",target:"_blank",rel:"noopener noreferrer"}},[t._v("FullTrack"),s("OutboundLink")],1)]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("FullTrack")]),t._v(" track "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetTrack")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("track"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Name"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("hr"),t._v(" "),s("h2",{attrs:{id:"getaudioanalysis"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#getaudioanalysis","aria-hidden":"true"}},[t._v("#")]),t._v(" GetAudioAnalysis")]),t._v(" "),s("blockquote",[s("p",[t._v("Get a detailed audio analysis for a single track identified by its unique Spotify ID.")])]),t._v(" "),s("p",[s("strong",[t._v("Parameters")])]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Description")]),t._v(" "),s("th",[t._v("Example")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[t._v("id")]),t._v(" "),s("td",[t._v("The Spotify ID for the track.")]),t._v(" "),s("td",[s("code",[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')])])])])]),t._v(" "),s("p",[t._v("Returns a AudioAnalysis. This object is currently lacking Spotify documentation but archived "),s("a",{attrs:{href:"https://web.archive.org/web/20160528174915/http://developer.echonest.com/docs/v4/_static/AnalyzeDocumentation.pdf",target:"_blank",rel:"noopener noreferrer"}},[t._v("EchoNest documentation"),s("OutboundLink")],1),t._v(" is relevant.")]),t._v(" "),s("p",[s("strong",[t._v("Usage")])]),t._v(" "),s("div",{staticClass:"language-csharp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-csharp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("AudioAnalysis")]),t._v(" analysis "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetAudioAnalysis")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token string"}},[t._v('"6Y1CLPwYe7zvI8PJiWVz6T"')]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nConsole"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("analysis"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Meta"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("DetailedStatus"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])},[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/25.81029a65.js b/assets/js/25.aae27f67.js similarity index 98% rename from assets/js/25.81029a65.js rename to assets/js/25.aae27f67.js index 5d03af08..bcfa3b38 100644 --- a/assets/js/25.81029a65.js +++ b/assets/js/25.aae27f67.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{205:function(t,s,a){"use strict";a.r(s);var n=a(0),e=Object(n.a)({},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"utilities"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#utilities","aria-hidden":"true"}},[t._v("#")]),t._v(" Utilities")]),t._v(" "),a("h2",{attrs:{id:"paging-methods"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#paging-methods","aria-hidden":"true"}},[t._v("#")]),t._v(" Paging-Methods")]),t._v(" "),a("p",[t._v("The "),a("code",[t._v("SpotifyWebAPI")]),t._v(" features two paging-helper Methods, "),a("code",[t._v("GetNextPage(Paging page)")]),t._v(" and "),a("code",[t._v("GetPreviousPage(Paging page)")]),t._v(".\nBoth are an easy way to receive the next/previous page of a Paging-Object.")]),t._v(" "),a("p",[t._v("Sample:")]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("var")]),t._v(" playlistTracks "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetPlaylistTracks")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"1122095781"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"4EcNf2l8rXInbJOf3tQdgU"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('""')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("50")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("while")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n Console"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Items"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Count"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("!")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("HasNextPage")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("break")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n playlistTracks "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetNextPage")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])])},[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{204:function(t,s,a){"use strict";a.r(s);var n=a(0),e=Object(n.a)({},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"utilities"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#utilities","aria-hidden":"true"}},[t._v("#")]),t._v(" Utilities")]),t._v(" "),a("h2",{attrs:{id:"paging-methods"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#paging-methods","aria-hidden":"true"}},[t._v("#")]),t._v(" Paging-Methods")]),t._v(" "),a("p",[t._v("The "),a("code",[t._v("SpotifyWebAPI")]),t._v(" features two paging-helper Methods, "),a("code",[t._v("GetNextPage(Paging page)")]),t._v(" and "),a("code",[t._v("GetPreviousPage(Paging page)")]),t._v(".\nBoth are an easy way to receive the next/previous page of a Paging-Object.")]),t._v(" "),a("p",[t._v("Sample:")]),t._v(" "),a("div",{staticClass:"language-csharp extra-class"},[a("pre",{pre:!0,attrs:{class:"language-csharp"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("var")]),t._v(" playlistTracks "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetPlaylistTracks")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"1122095781"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"4EcNf2l8rXInbJOf3tQdgU"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('""')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("50")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("while")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n Console"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("WriteLine")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Items"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("Count"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("!")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("HasNextPage")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("break")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n playlistTracks "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" _spotify"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("GetNextPage")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("playlistTracks"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])])},[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/app.40d84aa2.js b/assets/js/app.b3b376a4.js similarity index 90% rename from assets/js/app.40d84aa2.js rename to assets/js/app.b3b376a4.js index c92e6e59..12b41e44 100644 --- a/assets/js/app.40d84aa2.js +++ b/assets/js/app.b3b376a4.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],l=e[1],c=e[2],f=0,p=[];f
'};function o(t,e,n){return tn?n:t}function i(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,r.minimum,1),n.status=1===t?null:t;var l=n.render(!e),c=l.querySelector(r.barSelector),u=r.speed,f=r.easing;return l.offsetWidth,a(function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,function(t,e,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(t)+"%,0)"}:{"margin-left":i(t)+"%"}).transition="all "+e+"ms "+n,o}(t,u,f)),1===t?(s(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout(function(){s(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){n.remove(),e()},u)},u)):setTimeout(e,u)}),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout(function(){n.status&&(n.trickle(),t())},r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always(function(){0==--e?(t=0,n.done()):n.set((t-e)/t)}),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var o,a=e.querySelector(r.barSelector),l=t?"-100":i(n.status||0),u=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=e.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(e),e},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()}),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,i=arguments;if(2==i.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,i[1],i[2])}}();function l(t,e){return("string"==typeof t?t:f(t)).indexOf(" "+e+" ")>=0}function c(t,e){var n=f(t),r=n+e;l(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=f(t);l(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function f(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e){var n="Expected a function",r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,p=u||f||Function("return this")(),d=Object.prototype.toString,h=Math.max,v=Math.min,m=function(){return p.Date.now()};function y(t,e,r){var o,i,a,s,l,c,u=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new TypeError(n);function y(e){var n=o,r=i;return o=i=void 0,u=e,s=t.apply(r,n)}function _(t){var n=t-c;return void 0===c||n>=e||n<0||p&&t-u>=a}function w(){var t=m();if(_(t))return k(t);l=setTimeout(w,function(t){var n=e-(t-c);return p?v(n,a-(t-u)):n}(t))}function k(t){return l=void 0,d&&o?y(t):(o=i=void 0,s)}function $(){var t=m(),n=_(t);if(o=arguments,i=this,c=t,n){if(void 0===l)return function(t){return u=t,l=setTimeout(w,e),f?y(t):s}(c);if(p)return l=setTimeout(w,e),y(c)}return void 0===l&&(l=setTimeout(w,e)),s}return e=b(e)||0,g(r)&&(f=!!r.leading,a=(p="maxWait"in r)?h(b(r.maxWait)||0,e):a,d="trailing"in r?!!r.trailing:d),$.cancel=function(){void 0!==l&&clearTimeout(l),u=0,o=c=i=l=void 0},$.flush=function(){return void 0===l?s:k(m())},$}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&d.call(t)==o}(t))return r;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=s.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):a.test(t)?r:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return g(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),y(t,e,{leading:o,maxWait:e,trailing:i})}},function(t,e,n){t.exports=n(8)},function(t,e,n){Promise.all([n.e(0),n.e(26)]).then(n.t.bind(null,9,7))},function(t,e,n){},function(t,e,n){"use strict";var r=n(1);n.n(r).a},function(t,e,n){"use strict";n.r(e); /*! @@ -6,9 +6,9 @@ * (c) 2014-2019 Evan You * Released under the MIT License. */ -var r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function f(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,$=w(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),x=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,A=w(function(t){return t.replace(C,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function O(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n0,Z=X&&X.indexOf("edge/")>0,Q=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===K),tt=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(q)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var ot=function(){return void 0===G&&(G=!q&&!W&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),G},it=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,lt="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=T,ut=0,ft=function(){this.id=ut++,this.subs=[]};ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){g(this.subs,t)},ft.prototype.depend=function(){ft.target&&ft.target.addDep(this)},ft.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===A(t)){var l=zt(String,o.type);(l<0||s0&&(ue((c=t(c,(n||"")+"_"+l))[0])&&ue(f)&&(r[u]=gt(f.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?ue(f)?r[u]=gt(f.text+c):""!==c&&r.push(gt(c)):ue(c)&&ue(f)?r[u]=gt(f.text+c.text):(a(e._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+l+"__"),r.push(c)));return r}(t):void 0}function ue(t){return i(t)&&i(t.text)&&!1===t.isComment}function fe(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var l in o={},t)t[l]&&"$"!==l[0]&&(o[l]=ve(e,l,t[l]))}else o={};for(var c in e)c in o||(o[c]=me(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function ve(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function me(t,e){return function(){return t[e]}}function ye(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return fn.now()})}function pn(){var t,e;for(cn=un(),sn=!0,nn.sort(function(t,e){return t.id-e.id}),ln=0;lnln&&nn[n].id>t.id;)n--;nn.splice(n+1,0,t)}else nn.push(t);an||(an=!0,ee(pn))}}(this)},hn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Bt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var vn={enumerable:!0,configurable:!0,get:T,set:T};function mn(t,e,n){vn.get=function(){return this[e][n]},vn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,vn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&xt(!1);var i=function(i){o.push(i);var a=Dt(i,e,n,t);St(r,i,a),i in t||mn(t,"_props",i)};for(var a in e)i(a);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?T:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Bt(t,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&_(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&mn(t,"_data",i))}var a;At(e,!0)}(t):At(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new hn(t,a||T,T,gn)),o in t||bn(t,o,i)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Pn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Sn(a.componentOptions);s&&!e(s)&&En(n,i,r,o)}}}function En(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,g(n,e)}Cn.prototype._init=function(t){var e=this;e._uid=$n++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Mt(xn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=pe(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return ze(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return ze(t,e,n,r,o,!0)};var i=n&&n.data;St(t,"$attrs",i&&i.attrs||r,null,!0),St(t,"$listeners",e._parentListeners||r,null,!0)}(e),en(e,"beforeCreate"),function(t){var e=fe(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach(function(n){St(t,n,e[n])}),xt(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),en(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Pt,t.prototype.$watch=function(t,e,n){if(u(e))return kn(this,t,e,n);(n=n||{}).user=!0;var r=new hn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Bt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Cn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?O(n):n;for(var r=O(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;iparseInt(this.max)&&En(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return F}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:P,mergeOptions:Mt,defineReactive:St},t.set=Ot,t.delete=Pt,t.nextTick=ee,t.observable=function(t){return At(t),t},t.options=Object.create(null),D.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,P(t.options.components,jn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Mt(this.options,t),this}}(t),An(t),function(t){D.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Cn),Object.defineProperty(Cn.prototype,"$isServer",{get:ot}),Object.defineProperty(Cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cn,"FunctionalRenderContext",{value:je}),Cn.version="2.6.10";var Ln=m("style,class"),Rn=m("input,textarea,option,select,progress"),In=m("contenteditable,draggable,spellcheck"),Mn=m("events,caret,typing,plaintext-only"),Un=function(t,e){return Bn(e)||"false"===e?"false":"contenteditable"===t&&Mn(e)?e:"true"},Dn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Fn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zn=function(t){return Fn(t)?t.slice(6,t.length):""},Bn=function(t){return null==t||!1===t};function Vn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Gn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Gn(e,n.data));return function(t,e){if(i(t)||i(e))return Hn(t,qn(e));return""}(e.staticClass,e.class)}function Gn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?vr(t,e,n):Dn(e)?Bn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,Un(e,n)):Fn(e)?Bn(n)?t.removeAttributeNS(Nn,zn(e)):t.setAttributeNS(Nn,e,n):vr(t,e,n)}function vr(t,e,n){if(Bn(n))t.removeAttribute(e);else{if(J&&!Y&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var mr={create:dr,update:dr};function yr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Vn(e),l=n._transitionClasses;i(l)&&(s=Hn(s,qn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gr,br={create:yr,update:yr},_r="__r",wr="__c";function kr(t,e,n){var r=gr;return function o(){var i=e.apply(null,arguments);null!==i&&Cr(t,o,n,r)}}var $r=Wt&&!(tt&&Number(tt[1])<=53);function xr(t,e,n,r){if($r){var o=cn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}gr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Cr(t,e,n,r){(r||gr).removeEventListener(t,e._wrapper||e,n)}function Ar(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};gr=e.elm,function(t){if(i(t[_r])){var e=J?"change":"input";t[e]=[].concat(t[_r],t[e]||[]),delete t[_r]}i(t[wr])&&(t.change=[].concat(t[wr],t.change||[]),delete t[wr])}(n),ae(n,r,xr,Cr,kr,e.context),gr=void 0}}var Sr,Or={create:Ar,update:Ar};function Pr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in i(l.__ob__)&&(l=e.data.domProps=P({},l)),s)n in l||(a[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var c=o(r)?"":String(r);Er(a,c)&&(a.value=c)}else if("innerHTML"===n&&Xn(a.tagName)&&o(a.innerHTML)){(Sr=Sr||document.createElement("div")).innerHTML=""+r+"";for(var u=Sr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function Er(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Tr={create:Pr,update:Pr},jr=w(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Lr(t){var e=Rr(t.style);return t.staticStyle?P(t.staticStyle,e):e}function Rr(t){return Array.isArray(t)?E(t):"string"==typeof t?jr(t):t}var Ir,Mr=/^--/,Ur=/\s*!important$/,Dr=function(t,e,n){if(Mr.test(e))t.style.setProperty(e,n);else if(Ur.test(n))t.style.setProperty(A(e),n.replace(Ur,""),"important");else{var r=Fr(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Vr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Vr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function qr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&P(e,Wr(t.name||"v")),P(e,t),e}return"string"==typeof t?Wr(t):void 0}}var Wr=w(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Kr=q&&!Y,Xr="transition",Jr="animation",Yr="transition",Zr="transitionend",Qr="animation",to="animationend";Kr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Yr="WebkitTransition",Zr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Qr="WebkitAnimation",to="webkitAnimationEnd"));var eo=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function no(t){eo(function(){eo(t)})}function ro(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Gr(t,e))}function oo(t,e){t._transitionClasses&&g(t._transitionClasses,e),Hr(t,e)}function io(t,e,n){var r=so(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Xr?Zr:to,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l0&&(n=Xr,u=a,f=i.length):e===Jr?c>0&&(n=Jr,u=c,f=l.length):f=(n=(u=Math.max(a,c))>0?a>c?Xr:Jr:null)?n===Xr?i.length:l.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Xr&&ao.test(r[Yr+"Property"])}}function lo(t,e){for(;t.length1}function vo(t,e){!0!==e.data.show&&uo(e)}var mo=function(t){var e,n,r={},l=t.modules,c=t.nodeOps;for(e=0;eh?b(t,o(n[y+1])?null:n[y+1].elm,n,d,y,r):d>y&&w(0,e,p,h)}(p,m,y,n,u):i(y)?(i(t.text)&&c.setTextContent(p,""),b(p,null,y,0,y.length-1,n)):i(m)?w(0,m,0,m.length-1):i(t.text)&&c.setTextContent(p,""):t.text!==e.text&&c.setTextContent(p,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function C(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(R(wo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function _o(t,e){return e.every(function(e){return!R(e,t)})}function wo(t){return"_value"in t?t._value:t.value}function ko(t){t.target.composing=!0}function $o(t){t.target.composing&&(t.target.composing=!1,xo(t.target,"input"))}function xo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Co(t){return!t.componentInstance||t.data&&t.data.transition?t:Co(t.componentInstance._vnode)}var Ao={model:yo,show:{bind:function(t,e,n){var r=e.value,o=(n=Co(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,uo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Co(n)).data&&n.data.transition?(n.data.show=!0,r?uo(n,function(){t.style.display=t.__vOriginalDisplay}):fo(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},So={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Oo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Oo(qe(e.children)):t}function Po(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[$(i)]=o[i];return e}function Eo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var To=function(t){return t.tag||He(t)},jo=function(t){return"show"===t.name},Lo={name:"transition",props:So,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(To)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Oo(o);if(!i)return o;if(this._leaving)return Eo(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=Po(this),c=this._vnode,u=Oo(c);if(i.data.directives&&i.data.directives.some(jo)&&(i.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,u)&&!He(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=P({},l);if("out-in"===r)return this._leaving=!0,se(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Eo(t,o);if("in-out"===r){if(He(i))return c;var p,d=function(){p()};se(l,"afterEnter",d),se(l,"enterCancelled",d),se(f,"delayLeave",function(t){p=t})}}return o}}},Ro=P({tag:String,moveClass:String},So);function Io(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Mo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Uo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete Ro.mode;var Do={Transition:Lo,TransitionGroup:{props:Ro,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ze(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Po(this),s=0;s-1?Yn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Yn[t]=/HTMLUnknownElement/.test(e.toString())},P(Cn.options.directives,Ao),P(Cn.options.components,Do),Cn.prototype.__patch__=q?mo:T,Cn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),en(t,"beforeMount"),r=function(){t._update(t._render(),n)},new hn(t,r,T,{before:function(){t._isMounted&&!t._isDestroyed&&en(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,en(t,"mounted")),t}(this,t=t&&q?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},q&&setTimeout(function(){F.devtools&&it&&it.emit("init",Cn)},0);var No=Cn; +var r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function f(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,$=w(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),x=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),A=/\B([A-Z])/g,C=w(function(t){return t.replace(A,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function O(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function E(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n0,Z=X&&X.indexOf("edge/")>0,Q=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===K),tt=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(q)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var ot=function(){return void 0===G&&(G=!q&&!W&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),G},it=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,lt="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=T,ut=0,ft=function(){this.id=ut++,this.subs=[]};ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){g(this.subs,t)},ft.prototype.depend=function(){ft.target&&ft.target.addDep(this)},ft.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===C(t)){var l=zt(String,o.type);(l<0||s0&&(ue((c=t(c,(n||"")+"_"+l))[0])&&ue(f)&&(r[u]=gt(f.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?ue(f)?r[u]=gt(f.text+c):""!==c&&r.push(gt(c)):ue(c)&&ue(f)?r[u]=gt(f.text+c.text):(a(e._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+l+"__"),r.push(c)));return r}(t):void 0}function ue(t){return i(t)&&i(t.text)&&!1===t.isComment}function fe(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var l in o={},t)t[l]&&"$"!==l[0]&&(o[l]=ve(e,l,t[l]))}else o={};for(var c in e)c in o||(o[c]=me(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function ve(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function me(t,e){return function(){return t[e]}}function ye(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return fn.now()})}function pn(){var t,e;for(cn=un(),sn=!0,nn.sort(function(t,e){return t.id-e.id}),ln=0;lnln&&nn[n].id>t.id;)n--;nn.splice(n+1,0,t)}else nn.push(t);an||(an=!0,ee(pn))}}(this)},hn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Bt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var vn={enumerable:!0,configurable:!0,get:T,set:T};function mn(t,e,n){vn.get=function(){return this[e][n]},vn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,vn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&xt(!1);var i=function(i){o.push(i);var a=Dt(i,e,n,t);St(r,i,a),i in t||mn(t,"_props",i)};for(var a in e)i(a);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?T:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Bt(t,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&_(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&mn(t,"_data",i))}var a;Ct(e,!0)}(t):Ct(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new hn(t,a||T,T,gn)),o in t||bn(t,o,i)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function En(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Sn(a.componentOptions);s&&!e(s)&&Pn(n,i,r,o)}}}function Pn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,g(n,e)}An.prototype._init=function(t){var e=this;e._uid=$n++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Mt(xn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=pe(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return ze(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return ze(t,e,n,r,o,!0)};var i=n&&n.data;St(t,"$attrs",i&&i.attrs||r,null,!0),St(t,"$listeners",e._parentListeners||r,null,!0)}(e),en(e,"beforeCreate"),function(t){var e=fe(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach(function(n){St(t,n,e[n])}),xt(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),en(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Et,t.prototype.$watch=function(t,e,n){if(u(e))return kn(this,t,e,n);(n=n||{}).user=!0;var r=new hn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Bt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(An),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?O(n):n;for(var r=O(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;iparseInt(this.max)&&Pn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return F}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:E,mergeOptions:Mt,defineReactive:St},t.set=Ot,t.delete=Et,t.nextTick=ee,t.observable=function(t){return Ct(t),t},t.options=Object.create(null),D.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,E(t.options.components,jn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Mt(this.options,t),this}}(t),Cn(t),function(t){D.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(An),Object.defineProperty(An.prototype,"$isServer",{get:ot}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:je}),An.version="2.6.10";var Ln=m("style,class"),Rn=m("input,textarea,option,select,progress"),In=m("contenteditable,draggable,spellcheck"),Mn=m("events,caret,typing,plaintext-only"),Un=function(t,e){return Bn(e)||"false"===e?"false":"contenteditable"===t&&Mn(e)?e:"true"},Dn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Fn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zn=function(t){return Fn(t)?t.slice(6,t.length):""},Bn=function(t){return null==t||!1===t};function Vn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Gn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Gn(e,n.data));return function(t,e){if(i(t)||i(e))return Hn(t,qn(e));return""}(e.staticClass,e.class)}function Gn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?vr(t,e,n):Dn(e)?Bn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,Un(e,n)):Fn(e)?Bn(n)?t.removeAttributeNS(Nn,zn(e)):t.setAttributeNS(Nn,e,n):vr(t,e,n)}function vr(t,e,n){if(Bn(n))t.removeAttribute(e);else{if(J&&!Y&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var mr={create:dr,update:dr};function yr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Vn(e),l=n._transitionClasses;i(l)&&(s=Hn(s,qn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gr,br={create:yr,update:yr},_r="__r",wr="__c";function kr(t,e,n){var r=gr;return function o(){var i=e.apply(null,arguments);null!==i&&Ar(t,o,n,r)}}var $r=Wt&&!(tt&&Number(tt[1])<=53);function xr(t,e,n,r){if($r){var o=cn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}gr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Ar(t,e,n,r){(r||gr).removeEventListener(t,e._wrapper||e,n)}function Cr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};gr=e.elm,function(t){if(i(t[_r])){var e=J?"change":"input";t[e]=[].concat(t[_r],t[e]||[]),delete t[_r]}i(t[wr])&&(t.change=[].concat(t[wr],t.change||[]),delete t[wr])}(n),ae(n,r,xr,Ar,kr,e.context),gr=void 0}}var Sr,Or={create:Cr,update:Cr};function Er(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in i(l.__ob__)&&(l=e.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var c=o(r)?"":String(r);Pr(a,c)&&(a.value=c)}else if("innerHTML"===n&&Xn(a.tagName)&&o(a.innerHTML)){(Sr=Sr||document.createElement("div")).innerHTML=""+r+"";for(var u=Sr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function Pr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return v(n)!==v(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Tr={create:Er,update:Er},jr=w(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Lr(t){var e=Rr(t.style);return t.staticStyle?E(t.staticStyle,e):e}function Rr(t){return Array.isArray(t)?P(t):"string"==typeof t?jr(t):t}var Ir,Mr=/^--/,Ur=/\s*!important$/,Dr=function(t,e,n){if(Mr.test(e))t.style.setProperty(e,n);else if(Ur.test(n))t.style.setProperty(C(e),n.replace(Ur,""),"important");else{var r=Fr(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Vr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Vr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function qr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,Wr(t.name||"v")),E(e,t),e}return"string"==typeof t?Wr(t):void 0}}var Wr=w(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Kr=q&&!Y,Xr="transition",Jr="animation",Yr="transition",Zr="transitionend",Qr="animation",to="animationend";Kr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Yr="WebkitTransition",Zr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Qr="WebkitAnimation",to="webkitAnimationEnd"));var eo=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function no(t){eo(function(){eo(t)})}function ro(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Gr(t,e))}function oo(t,e){t._transitionClasses&&g(t._transitionClasses,e),Hr(t,e)}function io(t,e,n){var r=so(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Xr?Zr:to,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l0&&(n=Xr,u=a,f=i.length):e===Jr?c>0&&(n=Jr,u=c,f=l.length):f=(n=(u=Math.max(a,c))>0?a>c?Xr:Jr:null)?n===Xr?i.length:l.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Xr&&ao.test(r[Yr+"Property"])}}function lo(t,e){for(;t.length1}function vo(t,e){!0!==e.data.show&&uo(e)}var mo=function(t){var e,n,r={},l=t.modules,c=t.nodeOps;for(e=0;eh?b(t,o(n[y+1])?null:n[y+1].elm,n,d,y,r):d>y&&w(0,e,p,h)}(p,m,y,n,u):i(y)?(i(t.text)&&c.setTextContent(p,""),b(p,null,y,0,y.length-1,n)):i(m)?w(0,m,0,m.length-1):i(t.text)&&c.setTextContent(p,""):t.text!==e.text&&c.setTextContent(p,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function A(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(R(wo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function _o(t,e){return e.every(function(e){return!R(e,t)})}function wo(t){return"_value"in t?t._value:t.value}function ko(t){t.target.composing=!0}function $o(t){t.target.composing&&(t.target.composing=!1,xo(t.target,"input"))}function xo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ao(t){return!t.componentInstance||t.data&&t.data.transition?t:Ao(t.componentInstance._vnode)}var Co={model:yo,show:{bind:function(t,e,n){var r=e.value,o=(n=Ao(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,uo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Ao(n)).data&&n.data.transition?(n.data.show=!0,r?uo(n,function(){t.style.display=t.__vOriginalDisplay}):fo(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},So={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Oo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Oo(qe(e.children)):t}function Eo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[$(i)]=o[i];return e}function Po(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var To=function(t){return t.tag||He(t)},jo=function(t){return"show"===t.name},Lo={name:"transition",props:So,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(To)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Oo(o);if(!i)return o;if(this._leaving)return Po(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var l=(i.data||(i.data={})).transition=Eo(this),c=this._vnode,u=Oo(c);if(i.data.directives&&i.data.directives.some(jo)&&(i.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,u)&&!He(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=E({},l);if("out-in"===r)return this._leaving=!0,se(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Po(t,o);if("in-out"===r){if(He(i))return c;var p,d=function(){p()};se(l,"afterEnter",d),se(l,"enterCancelled",d),se(f,"delayLeave",function(t){p=t})}}return o}}},Ro=E({tag:String,moveClass:String},So);function Io(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Mo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Uo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete Ro.mode;var Do={Transition:Lo,TransitionGroup:{props:Ro,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ze(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Eo(this),s=0;s-1?Yn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Yn[t]=/HTMLUnknownElement/.test(e.toString())},E(An.options.directives,Co),E(An.options.components,Do),An.prototype.__patch__=q?mo:T,An.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),en(t,"beforeMount"),r=function(){t._update(t._render(),n)},new hn(t,r,T,{before:function(){t._isMounted&&!t._isDestroyed&&en(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,en(t,"mounted")),t}(this,t=t&&q?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},q&&setTimeout(function(){F.devtools&&it&&it.emit("init",An)},0);var No=An; /*! * vue-router v3.1.2 * (c) 2019 Evan You * @license MIT - */function Fo(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function zo(t,e){return e instanceof t||e&&(e.name===t.name||e._name===t._name)}function Bo(t,e){for(var n in e)t[n]=e[n];return t}var Vo={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,l=o.$route,c=o._routerViewCache||(o._routerViewCache={}),u=0,f=!1;o&&o._routerRoot!==o;){var p=o.$vnode&&o.$vnode.data;p&&(p.routerView&&u++,p.keepAlive&&o._inactive&&(f=!0)),o=o.$parent}if(i.routerViewDepth=u,f)return a(c[s],i,r);var d=l.matched[u];if(!d)return c[s]=null,a();var h=c[s]=d.components[s];i.registerRouteInstance=function(t,e){var n=d.instances[s];(e&&n!==t||!e&&n===t)&&(d.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){d.instances[s]=e.componentInstance},i.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==d.instances[s]&&(d.instances[s]=t.componentInstance)};var v=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(l,d.props&&d.props[s]);if(v){v=i.props=Bo({},v);var m=i.attrs=i.attrs||{};for(var y in v)h.props&&y in h.props||(m[y]=v[y],delete v[y])}return a(h,i,r)}};var Go=/[!'()*]/g,Ho=function(t){return"%"+t.charCodeAt(0).toString(16)},qo=/%2C/g,Wo=function(t){return encodeURIComponent(t).replace(Go,Ho).replace(qo,",")},Ko=decodeURIComponent;function Xo(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Ko(n.shift()),o=n.length>0?Ko(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function Jo(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Wo(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Wo(e)):r.push(Wo(e)+"="+Wo(t)))}),r.join("&")}return Wo(e)+"="+Wo(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var Yo=/\/?$/;function Zo(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=Qo(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:ni(e,o),matched:t?ei(t):[]};return n&&(a.redirectedFrom=ni(n,o)),Object.freeze(a)}function Qo(t){if(Array.isArray(t))return t.map(Qo);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=Qo(t[n]);return e}return t}var ti=Zo(null,{path:"/"});function ei(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function ni(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||Jo)(r)+o}function ri(t,e){return e===ti?t===e:!!e&&(t.path&&e.path?t.path.replace(Yo,"")===e.path.replace(Yo,"")&&t.hash===e.hash&&oi(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&oi(t.query,e.query)&&oi(t.params,e.params)))}function oi(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?oi(r,o):String(r)===String(o)})}function ii(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),l=e&&e.path||"/",c=s.path?ii(s.path,l,n||o.append):l,u=function(t,e,n){void 0===e&&(e={});var r,o=n||Xo;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),f=o.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:c,query:u,hash:f}}var Ai,Si=[String,Object],Oi=[String,Array],Pi=function(){},Ei={name:"RouterLink",props:{to:{type:Si,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Oi,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,f=null==c?"router-link-active":c,p=null==u?"router-link-exact-active":u,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=a.redirectedFrom?Zo(null,Ci(a.redirectedFrom),null,n):a;l[h]=ri(r,v),l[d]=this.exact?l[h]:function(t,e){return 0===t.path.replace(Yo,"/").indexOf(e.path.replace(Yo,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=function(t){Ti(t)&&(e.replace?n.replace(i,Pi):n.push(i,Pi))},y={click:Ti};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var g={class:l},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:a,navigate:m,isActive:l[d],isExactActive:l[h]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?t():t("span",{},b)}if("a"===this.tag)g.on=y,g.attrs={href:s};else{var _=function t(e){if(e)for(var n,r=0;r-1&&(s.params[p]=n.params[p]);return s.path=xi(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function ea(t){return function(e,n,r){var o=!1,i=0,a=null;na(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var l,c=ia(function(e){var o;((o=e).__esModule||oa&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Ai.extend(e),n.components[s]=e,--i<=0&&r()}),u=ia(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Fo(t)?t:new Error(e),r(a))});try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var f=l.component;f&&"function"==typeof f.then&&f.then(c,u)}}}),o||r()}}function na(t,e){return ra(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function ra(t){return Array.prototype.concat.apply([],t)}var oa="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ia(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var aa=function(t){function e(){t.call(this,"Navigating to current location is not allowed"),this.name=this._name="NavigationDuplicated"}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error);aa._name="NavigationDuplicated";var sa=function(t,e){this.router=t,this.base=function(t){if(!t)if(ji){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=ti,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function la(t,e,n,r){var o=na(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=Ai.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return ra(r?o.reverse():o)}function ca(t,e){if(e)return function(){return t.apply(e,arguments)}}sa.prototype.listen=function(t){this.cb=t},sa.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},sa.prototype.onError=function(t){this.errorCbs.push(t)},sa.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},sa.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(t){!zo(aa,t)&&Fo(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)};if(ri(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i(new aa(t));var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function va(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function ma(t){Wi?Zi(va(t)):window.location.hash=t}function ya(t){Wi?Qi(va(t)):window.location.replace(va(t))}var ga=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)},function(t){zo(aa,t)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(sa),ba=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ii(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Wi&&!1!==t.fallback,this.fallback&&(e="hash"),ji||(e="abstract"),this.mode=e,e){case"history":this.history=new ua(this,t.base);break;case"hash":this.history=new pa(this,t.base,this.fallback);break;case"abstract":this.history=new ga(this,t.base);break;default:0}},_a={currentRoute:{configurable:!0}};function wa(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}ba.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},_a.currentRoute.get=function(){return this.history&&this.history.current},ba.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)}),!this.app){this.app=t;var n=this.history;if(n instanceof ua)n.transitionTo(n.getCurrentLocation());else if(n instanceof pa){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ba.prototype.beforeEach=function(t){return wa(this.beforeHooks,t)},ba.prototype.beforeResolve=function(t){return wa(this.resolveHooks,t)},ba.prototype.afterEach=function(t){return wa(this.afterHooks,t)},ba.prototype.onReady=function(t,e){this.history.onReady(t,e)},ba.prototype.onError=function(t){this.history.onError(t)},ba.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.push(t,e,n)});this.history.push(t,e,n)},ba.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.replace(t,e,n)});this.history.replace(t,e,n)},ba.prototype.go=function(t){this.history.go(t)},ba.prototype.back=function(){this.go(-1)},ba.prototype.forward=function(){this.go(1)},ba.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ba.prototype.resolve=function(t,e,n){var r=Ci(t,e=e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?ai(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},ba.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==ti&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ba.prototype,_a),ba.install=function t(e){if(!t.installed||Ai!==e){t.installed=!0,Ai=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Vo),e.component("RouterLink",Ei);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},ba.version="3.1.2",ji&&window.Vue&&window.Vue.use(ba);var ka=ba;var $a={NotFound:()=>n.e(4).then(n.bind(null,185)),Layout:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,184))},xa={"v-f88195a6":()=>n.e(5).then(n.bind(null,186)),"v-0f125dbb":()=>n.e(6).then(n.bind(null,187)),"v-5127c24a":()=>n.e(7).then(n.bind(null,188)),"v-79c557ae":()=>n.e(8).then(n.bind(null,189)),"v-bc26f6ca":()=>n.e(9).then(n.bind(null,190)),"v-15ae477b":()=>n.e(10).then(n.bind(null,191)),"v-e2943322":()=>n.e(11).then(n.bind(null,192)),"v-9b504b3e":()=>n.e(12).then(n.bind(null,193)),"v-3896b323":()=>n.e(13).then(n.bind(null,194)),"v-ae731ab6":()=>n.e(14).then(n.bind(null,195)),"v-545731d5":()=>n.e(15).then(n.bind(null,196)),"v-5cda54a1":()=>n.e(16).then(n.bind(null,197)),"v-24570241":()=>n.e(17).then(n.bind(null,198)),"v-7499233e":()=>n.e(18).then(n.bind(null,199)),"v-26737916":()=>n.e(19).then(n.bind(null,200)),"v-86daa2ba":()=>n.e(21).then(n.bind(null,201)),"v-700fa4e1":()=>n.e(22).then(n.bind(null,202)),"v-fe729232":()=>n.e(23).then(n.bind(null,203)),"v-2f539db2":()=>n.e(24).then(n.bind(null,204)),"v-1edba7fe":()=>n.e(25).then(n.bind(null,205)),"v-1e493801":()=>n.e(20).then(n.bind(null,206))};function Ca(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Aa=/-(\w)/g,Sa=Ca(t=>t.replace(Aa,(t,e)=>e?e.toUpperCase():"")),Oa=/\B([A-Z])/g,Pa=Ca(t=>t.replace(Oa,"-$1").toLowerCase()),Ea=Ca(t=>t.charAt(0).toUpperCase()+t.slice(1));function Ta(t,e){if(!e)return;if(t(e))return t(e);return e.includes("-")?t(Ea(Sa(e))):t(Ea(e))||t(Pa(e))}const ja=Object.assign({},$a,xa),La=t=>ja[t],Ra=t=>xa[t],Ia=t=>$a[t],Ma=t=>No.component(t);function Ua(t){return Ta(Ra,t)}function Da(t){return Ta(Ia,t)}function Na(t){return Ta(La,t)}function Fa(t){return Ta(Ma,t)}function za(...t){return Promise.all(t.filter(t=>t).map(async t=>{if(!Fa(t)&&Na(t)){const e=await Na(t)();No.component(t,e.default)}}))}function Ba(t,e){"undefined"!=typeof window&&window.__VUEPRESS__&&(window.__VUEPRESS__[t]=e)}var Va={created(){this.$ssrContext&&(this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.description=this.$page.description||this.$description)},mounted(){this.currentMetaTags=new Set,this.updateMeta()},methods:{updateMeta(){document.title=this.$title,document.documentElement.lang=this.$lang;const t=this.$page.frontmatter.meta||[],e=t.slice(0);0===t.filter(t=>"description"===t.name).length&&e.push({name:"description",content:this.$description});const n=document.querySelectorAll('meta[name="description"]');n.length&&n.forEach(t=>this.currentMetaTags.add(t)),this.currentMetaTags=new Set(Ga(e,this.currentMetaTags))}},watch:{$page(){this.updateMeta()}},beforeDestroy(){Ga(null,this.currentMetaTags)}};function Ga(t,e){if(e&&[...e].forEach(t=>{document.head.removeChild(t)}),t)return t.map(t=>{const e=document.createElement("meta");return Object.keys(t).forEach(n=>{e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}var Ha=n(3),qa={mounted(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(Ha)()(function(){this.setActiveHash()},300),setActiveHash(){const t=[].slice.call(document.querySelectorAll(".sidebar-link")),e=[].slice.call(document.querySelectorAll(".header-anchor")).filter(e=>t.some(t=>t.hash===e.hash)),n=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),o=window.innerHeight+n;for(let t=0;t=i.parentElement.offsetTop+10&&(!a||n{this.$nextTick(()=>{this.$vuepress.$set("disableScrollBehavior",!1)})})}}}},beforeDestroy(){window.removeEventListener("scroll",this.onScroll)}},Wa=n(2),Ka=n.n(Wa),Xa=[Va,qa,{mounted(){Ka.a.configure({showSpinner:!1}),this.$router.beforeEach((t,e,n)=>{t.path===e.path||No.component(t.name)||Ka.a.start(),n()}),this.$router.afterEach(()=>{Ka.a.done(),this.isSidebarOpen=!1})}}],Ja={methods:{getLayout:function(){if(this.$page.path){var t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}},computed:{layout:function(){var t=this.getLayout();return Ba("layout",t),No.component(t)}}},Ya=n(0),Za=Object(Ya.a)(Ja,function(){var t=this.$createElement;return(this._self._c||t)(this.layout,{tag:"component"})},[],!1,null,null,null).exports;!function(t,e,n){switch(e){case"components":t[e]||(t[e]={}),Object.assign(t[e],n);break;case"mixins":t[e]||(t[e]=[]),t[e].push(...n);break;default:throw new Error("Unknown option name.")}}(Za,"mixins",Xa);const Qa=[{name:"v-f88195a6",path:"/",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-f88195a6").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-0f125dbb",path:"/auth/authorization_code.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-0f125dbb").then(n)}},{name:"v-5127c24a",path:"/auth/client_credentials.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-5127c24a").then(n)}},{name:"v-79c557ae",path:"/auth/getting_started.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-79c557ae").then(n)}},{name:"v-bc26f6ca",path:"/auth/implicit_grant.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-bc26f6ca").then(n)}},{name:"v-15ae477b",path:"/auth/token_swap.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-15ae477b").then(n)}},{name:"v-e2943322",path:"/web/albums.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-e2943322").then(n)}},{name:"v-9b504b3e",path:"/web/artists.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-9b504b3e").then(n)}},{name:"v-3896b323",path:"/web/browse.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-3896b323").then(n)}},{name:"v-ae731ab6",path:"/web/examples.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-ae731ab6").then(n)}},{name:"v-545731d5",path:"/web/follow.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-545731d5").then(n)}},{name:"v-5cda54a1",path:"/web/getting_started.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-5cda54a1").then(n)}},{name:"v-24570241",path:"/web/library.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-24570241").then(n)}},{name:"v-7499233e",path:"/web/personalization.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-7499233e").then(n)}},{name:"v-26737916",path:"/web/player.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-26737916").then(n)}},{name:"v-86daa2ba",path:"/web/profiles.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-86daa2ba").then(n)}},{name:"v-700fa4e1",path:"/web/proxy.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-700fa4e1").then(n)}},{name:"v-fe729232",path:"/web/search.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-fe729232").then(n)}},{name:"v-2f539db2",path:"/web/tracks.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-2f539db2").then(n)}},{name:"v-1edba7fe",path:"/web/utils.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-1edba7fe").then(n)}},{name:"v-1e493801",path:"/web/playlists.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-1e493801").then(n)}},{path:"*",component:Za}],ts={title:"SpotifyAPI-NET",description:"๐Ÿ”‰ An API for the Spotify-Client and the Spotify Web API, written in C#/.NET",base:"/SpotifyAPI-NET/",pages:[{title:"SpotifyAPI-NET Docs",frontmatter:{},regularPath:"/",relativePath:"README.md",key:"v-f88195a6",path:"/",headers:[{level:2,title:"About",slug:"about"},{level:2,title:"Installing",slug:"installing"},{level:2,title:"Getting Started",slug:"getting-started"},{level:2,title:"Projects",slug:"projects"},{level:3,title:"audio-band](https://github.com/dsafa/audio-band) by [@dsafa",slug:"audio-band-by-dsafa"},{level:3,title:"rocksmith-custom-song-toolkit](https://github.com/catara/rocksmith-custom-song-toolkit) by [@catara",slug:"rocksmith-custom-song-toolkit-by-catara"},{level:3,title:"Spofy](https://github.com/eltoncezar/Spofy) by [@eltoncezar",slug:"spofy-by-eltoncezar"},{level:3,title:"Toastify](https://github.com/aleab/toastify) by [@aleab",slug:"toastify-by-aleab"},{level:3,title:"Spotify Oculus](https://github.com/CaptainMorgs/spotify-oculus-release) by [@CaptainMorgs",slug:"spotify-oculus-by-captainmorgs"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"AutorizationCodeAuth",frontmatter:{sidebar:!1},regularPath:"/auth/authorization_code.html",relativePath:"auth/authorization_code.md",key:"v-0f125dbb",path:"/auth/authorization_code.html",lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"ClientCredentialsAuth",frontmatter:{sidebar:!1},regularPath:"/auth/client_credentials.html",relativePath:"auth/client_credentials.md",key:"v-5127c24a",path:"/auth/client_credentials.html",lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Getting Started",frontmatter:{},regularPath:"/auth/getting_started.html",relativePath:"auth/getting_started.md",key:"v-79c557ae",path:"/auth/getting_started.html",headers:[{level:2,title:"Auth-Methods",slug:"auth-methods"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"ImplicitGrantAuth",frontmatter:{sidebar:!1},regularPath:"/auth/implicit_grant.html",relativePath:"auth/implicit_grant.md",key:"v-bc26f6ca",path:"/auth/implicit_grant.html",lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"TokenSwapAuth",frontmatter:{},regularPath:"/auth/token_swap.html",relativePath:"auth/token_swap.md",key:"v-15ae477b",path:"/auth/token_swap.html",headers:[{level:2,title:"Using TokenSwapWebAPIFactory",slug:"using-tokenswapwebapifactory"},{level:2,title:"Using TokenSwapAuth",slug:"using-tokenswapauth"},{level:2,title:"Token Swap Endpoint",slug:"token-swap-endpoint"},{level:2,title:"Remarks",slug:"remarks"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Albums",frontmatter:{},regularPath:"/web/albums.html",relativePath:"web/albums.md",key:"v-e2943322",path:"/web/albums.html",headers:[{level:2,title:"GetAlbumTracks",slug:"getalbumtracks"},{level:2,title:"GetAlbum",slug:"getalbum"},{level:2,title:"GetSeveralAlbums",slug:"getseveralalbums"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Artists",frontmatter:{},regularPath:"/web/artists.html",relativePath:"web/artists.md",key:"v-9b504b3e",path:"/web/artists.html",headers:[{level:2,title:"GetArtist",slug:"getartist"},{level:2,title:"GetRelatedArtists",slug:"getrelatedartists"},{level:2,title:"GetArtistsTopTracks",slug:"getartiststoptracks"},{level:2,title:"GetArtistsAlbums",slug:"getartistsalbums"},{level:2,title:"GetSeveralArtists",slug:"getseveralartists"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Browse",frontmatter:{},regularPath:"/web/browse.html",relativePath:"web/browse.md",key:"v-3896b323",path:"/web/browse.html",headers:[{level:2,title:"GetFeaturedPlaylists",slug:"getfeaturedplaylists"},{level:2,title:"GetNewAlbumReleases",slug:"getnewalbumreleases"},{level:2,title:"GetCategories",slug:"getcategories"},{level:2,title:"GetCategory",slug:"getcategory"},{level:2,title:"GetCategoryPlaylists",slug:"getcategoryplaylists"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Examples",frontmatter:{sidebar:!1},regularPath:"/web/examples.html",relativePath:"web/examples.md",key:"v-ae731ab6",path:"/web/examples.html",lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Follow",frontmatter:{},regularPath:"/web/follow.html",relativePath:"web/follow.md",key:"v-545731d5",path:"/web/follow.html",headers:[{level:2,title:"Follow",slug:"follow-2"},{level:2,title:"Unfollow",slug:"unfollow"},{level:2,title:"IsFollowing",slug:"isfollowing"},{level:2,title:"FollowPlaylist",slug:"followplaylist"},{level:2,title:"UnfollowPlaylist",slug:"unfollowplaylist"},{level:2,title:"IsFollowingPlaylist",slug:"isfollowingplaylist"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Getting Started",frontmatter:{sidebarDepth:2},regularPath:"/web/getting_started.html",relativePath:"web/getting_started.md",key:"v-5cda54a1",path:"/web/getting_started.html",headers:[{level:2,title:"First steps",slug:"first-steps"},{level:3,title:"Imports",slug:"imports"},{level:3,title:"Basic-Usage",slug:"basic-usage"},{level:2,title:"Examples",slug:"examples"},{level:2,title:"Error-Handling",slug:"error-handling"},{level:2,title:"Sync vs Asynchronous",slug:"sync-vs-asynchronous"},{level:2,title:"API-Reference",slug:"api-reference"},{level:3,title:"Albums",slug:"albums"},{level:3,title:"Artists",slug:"artists"},{level:3,title:"Browse",slug:"browse"},{level:3,title:"Follow",slug:"follow"},{level:3,title:"Library",slug:"library"},{level:3,title:"Personalization",slug:"personalization"},{level:3,title:"Player",slug:"player"},{level:3,title:"Playlists",slug:"playlists"},{level:3,title:"Profiles",slug:"profiles"},{level:3,title:"Search",slug:"search"},{level:3,title:"Tracks",slug:"tracks"},{level:3,title:"Util",slug:"util"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Library",frontmatter:{},regularPath:"/web/library.html",relativePath:"web/library.md",key:"v-24570241",path:"/web/library.html",headers:[{level:2,title:"SaveTracks",slug:"savetracks"},{level:2,title:"SaveTrack",slug:"savetrack"},{level:2,title:"GetSavedTracks",slug:"getsavedtracks"},{level:2,title:"RemoveSavedTracks",slug:"removesavedtracks"},{level:2,title:"CheckSavedTracks",slug:"checksavedtracks"},{level:2,title:"SaveAlbums",slug:"savealbums"},{level:2,title:"SaveAlbum",slug:"savealbum"},{level:2,title:"GetSavedAlbums",slug:"getsavedalbums"},{level:2,title:"RemoveSavedAlbums",slug:"removesavedalbums"},{level:2,title:"CheckSavedAlbums",slug:"checksavedalbums"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Personalization",frontmatter:{},regularPath:"/web/personalization.html",relativePath:"web/personalization.md",key:"v-7499233e",path:"/web/personalization.html",headers:[{level:2,title:"GetUsersTopTracks",slug:"getuserstoptracks"},{level:2,title:"GetUsersTopArtists",slug:"getuserstopartists"},{level:2,title:"GetUsersRecentlyPlayedTracks",slug:"getusersrecentlyplayedtracks"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Player",frontmatter:{},regularPath:"/web/player.html",relativePath:"web/player.md",key:"v-26737916",path:"/web/player.html",headers:[{level:2,title:"GetDevices",slug:"getdevices"},{level:2,title:"GetPlayback",slug:"getplayback"},{level:2,title:"GetPlayingTrack",slug:"getplayingtrack"},{level:2,title:"TransferPlayback",slug:"transferplayback"},{level:2,title:"ResumePlayback",slug:"resumeplayback"},{level:2,title:"PausePlayback",slug:"pauseplayback"},{level:2,title:"SkipPlaybackToNext",slug:"skipplaybacktonext"},{level:2,title:"SkipPlaybackToPrevious",slug:"skipplaybacktoprevious"},{level:2,title:"SeekPlayback",slug:"seekplayback"},{level:2,title:"SetRepeatMode",slug:"setrepeatmode"},{level:2,title:"SetVolume",slug:"setvolume"},{level:2,title:"SetShuffle",slug:"setshuffle"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Profiles",frontmatter:{},regularPath:"/web/profiles.html",relativePath:"web/profiles.md",key:"v-86daa2ba",path:"/web/profiles.html",headers:[{level:2,title:"GetPrivateProfile",slug:"getprivateprofile"},{level:2,title:"GetPublicProfile",slug:"getpublicprofile"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Proxy Settings",frontmatter:{sidebar:!1},regularPath:"/web/proxy.html",relativePath:"web/proxy.md",key:"v-700fa4e1",path:"/web/proxy.html",lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Search",frontmatter:{},regularPath:"/web/search.html",relativePath:"web/search.md",key:"v-fe729232",path:"/web/search.html",headers:[{level:2,title:"SearchItems",slug:"searchitems"},{level:2,title:"SearchItemsEscaped",slug:"searchitemsescaped"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Tracks",frontmatter:{},regularPath:"/web/tracks.html",relativePath:"web/tracks.md",key:"v-2f539db2",path:"/web/tracks.html",headers:[{level:2,title:"GetSeveralTracks",slug:"getseveraltracks"},{level:2,title:"GetTrack",slug:"gettrack"},{level:2,title:"GetAudioAnalysis",slug:"getaudioanalysis"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Utilities",frontmatter:{},regularPath:"/web/utils.html",relativePath:"web/utils.md",key:"v-1edba7fe",path:"/web/utils.html",headers:[{level:2,title:"Paging-Methods",slug:"paging-methods"}],lastUpdated:"10/15/2019, 7:41:41 PM"},{title:"Playlists",frontmatter:{},regularPath:"/web/playlists.html",relativePath:"web/playlists.md",key:"v-1e493801",path:"/web/playlists.html",headers:[{level:2,title:"GetUserPlaylists",slug:"getuserplaylists"},{level:2,title:"GetPlaylist",slug:"getplaylist"},{level:2,title:"GetPlaylistTracks",slug:"getplaylisttracks"},{level:2,title:"CreatePlaylist",slug:"createplaylist"},{level:2,title:"UpdatePlaylist",slug:"updateplaylist"},{level:2,title:"ReplacePlaylistTracks",slug:"replaceplaylisttracks"},{level:2,title:"RemovePlaylistTracks",slug:"removeplaylisttracks"},{level:2,title:"RemovePlaylistTrack",slug:"removeplaylisttrack"},{level:2,title:"AddPlaylistTracks",slug:"addplaylisttracks"},{level:2,title:"AddPlaylistTrack",slug:"addplaylisttrack"},{level:2,title:"ReorderPlaylist",slug:"reorderplaylist"}],lastUpdated:"10/15/2019, 7:41:41 PM"}],themeConfig:{repo:"JohnnyCrazy/SpotifyAPI-NET",repoLabel:"๐Ÿš€ GitHub",docsDir:"SpotifyAPI.Docs/docs",editLinks:!0,editLinkText:"Help us improve this page!",sidebar:"auto",sidebarDepth:0,lastUpdated:"Last Updated",serviceWorker:{updatePopup:!0},nav:[{text:"Home",link:"/"},{text:"SpotifyAPI.Web",items:[{text:"Getting Started",link:"/web/getting_started"},{text:"Examples",link:"/web/examples"},{text:"Proxy",link:"/web/proxy"},{text:"- Albums",link:"/web/albums"},{text:"- Artists",link:"/web/artists"},{text:"- Browse",link:"/web/browse"},{text:"- Follow",link:"/web/follow"},{text:"- Library",link:"/web/library"},{text:"- Personalization",link:"/web/personalization"},{text:"- Player",link:"/web/player"},{text:"- Playlists",link:"/web/playlists"},{text:"- Profiles",link:"/web/profiles"},{text:"- Search",link:"/web/search"},{text:"- Tracks",link:"/web/tracks"},{text:"Utilities",link:"/web/utils"}]},{text:"SpotifyAPI.Auth",items:[{text:"Getting Started",link:"/auth/getting_started"},{text:"- ImplicitGrantAuth",link:"/auth/implicit_grant"},{text:"- TokenSwapAuth",link:"/auth/token_swap"},{text:"- AutorizationCodeAuth",link:"/auth/authorization_code"},{text:"- ClientCredentialsAuth",link:"/auth/client_credentials"}]}]}};n(5);No.component("Badge",()=>Promise.all([n.e(0),n.e(3)]).then(n.bind(null,207)));n(6);var es=[{},({Vue:t})=>{t.mixin({computed:{$dataBlock(){return this.$options.__data__block__}}})},{},{}],ns=[];class rs{constructor(){this.store=new No({data:{state:{}}})}$get(t){return this.store.state[t]}$set(t,e){No.set(this.store.state,t,e)}$emit(...t){this.store.$emit(...t)}$on(...t){this.store.$on(...t)}}class os extends rs{}Object.assign(os.prototype,{getPageAsyncComponent:Ua,getLayoutAsyncComponent:Da,getAsyncComponent:Na,getVueComponent:Fa});var is={install(t){const e=new os;t.$vuepress=e,t.prototype.$vuepress=e}};function as(t,e){return t.options.routes.filter(t=>t.path.toLowerCase()===e.toLowerCase()).length>0}var ss={props:{pageKey:String,slotKey:{type:String,default:"default"}},render(t){const e=this.pageKey||this.$parent.$page.key;return Ba("pageKey",e),No.component(e)||No.component(e,Ua(e)),No.component(e)?t(e):t("")}},ls={functional:!0,props:{slotKey:String,required:!0},render:(t,{props:e,slots:n})=>t("div",{class:[`content__${e.slotKey}`]},n()[e.slotKey])},cs=(n(7),Object(Ya.a)({},function(t,e){var n=e._c;return n("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[n("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),e._v(" "),n("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})])},[],!0,null,null,null).exports),us={functional:!0,render(t,{parent:e,children:n}){if(e._isMounted)return n;e.$once("hook:mounted",()=>{e.$forceUpdate()})}};No.config.productionTip=!1,No.use(ka),No.use(is),No.mixin(function(t,e,n=No){!function(t){t.locales&&Object.keys(t.locales).forEach(e=>{t.locales[e].path=e});Object.freeze(t)}(e),n.$vuepress.$set("siteData",e);const r=new(t(n.$vuepress.$get("siteData"))),o=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(r)),i={};return Object.keys(o).reduce((t,e)=>(e.startsWith("$")&&(t[e]=o[e].get),t),i),{computed:i}}(t=>(class{setPage(t){this.__page=t}get $site(){return t}get $themeConfig(){return this.$site.themeConfig}get $frontmatter(){return this.$page.frontmatter}get $localeConfig(){const{locales:t={}}=this.$site;let e,n;for(const r in t)"/"===r?n=t[r]:0===this.$page.path.indexOf(r)&&(e=t[r]);return e||n||{}}get $siteTitle(){return this.$localeConfig.title||this.$site.title||""}get $title(){const t=this.$page,{metaTitle:e}=this.$page.frontmatter;if("string"==typeof e)return e;const n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}get $description(){const t=function(t){if(t){const e=t.filter(t=>"description"===t.name)[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}get $lang(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}get $localePath(){return this.$localeConfig.path||"/"}get $themeLocaleConfig(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}get $page(){return this.__page?this.__page:function(t,e){for(let n=0;nn||(t.hash?!No.$vuepress.$get("disableScrollBehavior")&&{selector:t.hash}:{x:0,y:0})});!function(t){t.beforeEach((e,n,r)=>{if(as(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){const n=e.path.replace(/\/$/,"")+".html";as(t,n)?r(n):r()}else r();else{const n=e.path+"/",o=e.path+".html";as(t,o)?r(o):as(t,n)?r(n):r()}})}(n);const r={};try{es.forEach(e=>{"function"==typeof e&&e({Vue:No,options:r,router:n,siteData:ts,isServer:t})})}catch(t){console.error(t)}return{app:new No(Object.assign(r,{router:n,render:t=>t("div",{attrs:{id:"app"}},[t("router-view",{ref:"layout"}),t("div",{class:"global-ui"},ns.map(e=>t(e)))])})),router:n}}(!1);window.__VUEPRESS__={version:"1.0.3",hash:"e5092ba"},ps.onReady(()=>{fs.$mount("#app")})}]); \ No newline at end of file + */function Fo(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function zo(t,e){return e instanceof t||e&&(e.name===t.name||e._name===t._name)}function Bo(t,e){for(var n in e)t[n]=e[n];return t}var Vo={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,l=o.$route,c=o._routerViewCache||(o._routerViewCache={}),u=0,f=!1;o&&o._routerRoot!==o;){var p=o.$vnode&&o.$vnode.data;p&&(p.routerView&&u++,p.keepAlive&&o._inactive&&(f=!0)),o=o.$parent}if(i.routerViewDepth=u,f)return a(c[s],i,r);var d=l.matched[u];if(!d)return c[s]=null,a();var h=c[s]=d.components[s];i.registerRouteInstance=function(t,e){var n=d.instances[s];(e&&n!==t||!e&&n===t)&&(d.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){d.instances[s]=e.componentInstance},i.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==d.instances[s]&&(d.instances[s]=t.componentInstance)};var v=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(l,d.props&&d.props[s]);if(v){v=i.props=Bo({},v);var m=i.attrs=i.attrs||{};for(var y in v)h.props&&y in h.props||(m[y]=v[y],delete v[y])}return a(h,i,r)}};var Go=/[!'()*]/g,Ho=function(t){return"%"+t.charCodeAt(0).toString(16)},qo=/%2C/g,Wo=function(t){return encodeURIComponent(t).replace(Go,Ho).replace(qo,",")},Ko=decodeURIComponent;function Xo(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Ko(n.shift()),o=n.length>0?Ko(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function Jo(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Wo(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Wo(e)):r.push(Wo(e)+"="+Wo(t)))}),r.join("&")}return Wo(e)+"="+Wo(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var Yo=/\/?$/;function Zo(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=Qo(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:ni(e,o),matched:t?ei(t):[]};return n&&(a.redirectedFrom=ni(n,o)),Object.freeze(a)}function Qo(t){if(Array.isArray(t))return t.map(Qo);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=Qo(t[n]);return e}return t}var ti=Zo(null,{path:"/"});function ei(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function ni(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||Jo)(r)+o}function ri(t,e){return e===ti?t===e:!!e&&(t.path&&e.path?t.path.replace(Yo,"")===e.path.replace(Yo,"")&&t.hash===e.hash&&oi(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&oi(t.query,e.query)&&oi(t.params,e.params)))}function oi(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?oi(r,o):String(r)===String(o)})}function ii(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),l=e&&e.path||"/",c=s.path?ii(s.path,l,n||o.append):l,u=function(t,e,n){void 0===e&&(e={});var r,o=n||Xo;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),f=o.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:c,query:u,hash:f}}var Ci,Si=[String,Object],Oi=[String,Array],Ei=function(){},Pi={name:"RouterLink",props:{to:{type:Si,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Oi,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,f=null==c?"router-link-active":c,p=null==u?"router-link-exact-active":u,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=a.redirectedFrom?Zo(null,Ai(a.redirectedFrom),null,n):a;l[h]=ri(r,v),l[d]=this.exact?l[h]:function(t,e){return 0===t.path.replace(Yo,"/").indexOf(e.path.replace(Yo,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=function(t){Ti(t)&&(e.replace?n.replace(i,Ei):n.push(i,Ei))},y={click:Ti};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var g={class:l},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:a,navigate:m,isActive:l[d],isExactActive:l[h]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?t():t("span",{},b)}if("a"===this.tag)g.on=y,g.attrs={href:s};else{var _=function t(e){if(e)for(var n,r=0;r-1&&(s.params[p]=n.params[p]);return s.path=xi(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function ea(t){return function(e,n,r){var o=!1,i=0,a=null;na(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var l,c=ia(function(e){var o;((o=e).__esModule||oa&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Ci.extend(e),n.components[s]=e,--i<=0&&r()}),u=ia(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Fo(t)?t:new Error(e),r(a))});try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var f=l.component;f&&"function"==typeof f.then&&f.then(c,u)}}}),o||r()}}function na(t,e){return ra(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function ra(t){return Array.prototype.concat.apply([],t)}var oa="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ia(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var aa=function(t){function e(){t.call(this,"Navigating to current location is not allowed"),this.name=this._name="NavigationDuplicated"}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error);aa._name="NavigationDuplicated";var sa=function(t,e){this.router=t,this.base=function(t){if(!t)if(ji){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=ti,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function la(t,e,n,r){var o=na(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=Ci.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return ra(r?o.reverse():o)}function ca(t,e){if(e)return function(){return t.apply(e,arguments)}}sa.prototype.listen=function(t){this.cb=t},sa.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},sa.prototype.onError=function(t){this.errorCbs.push(t)},sa.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},sa.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(t){!zo(aa,t)&&Fo(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)};if(ri(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i(new aa(t));var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function va(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function ma(t){Wi?Zi(va(t)):window.location.hash=t}function ya(t){Wi?Qi(va(t)):window.location.replace(va(t))}var ga=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)},function(t){zo(aa,t)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(sa),ba=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ii(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Wi&&!1!==t.fallback,this.fallback&&(e="hash"),ji||(e="abstract"),this.mode=e,e){case"history":this.history=new ua(this,t.base);break;case"hash":this.history=new pa(this,t.base,this.fallback);break;case"abstract":this.history=new ga(this,t.base);break;default:0}},_a={currentRoute:{configurable:!0}};function wa(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}ba.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},_a.currentRoute.get=function(){return this.history&&this.history.current},ba.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)}),!this.app){this.app=t;var n=this.history;if(n instanceof ua)n.transitionTo(n.getCurrentLocation());else if(n instanceof pa){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ba.prototype.beforeEach=function(t){return wa(this.beforeHooks,t)},ba.prototype.beforeResolve=function(t){return wa(this.resolveHooks,t)},ba.prototype.afterEach=function(t){return wa(this.afterHooks,t)},ba.prototype.onReady=function(t,e){this.history.onReady(t,e)},ba.prototype.onError=function(t){this.history.onError(t)},ba.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.push(t,e,n)});this.history.push(t,e,n)},ba.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.replace(t,e,n)});this.history.replace(t,e,n)},ba.prototype.go=function(t){this.history.go(t)},ba.prototype.back=function(){this.go(-1)},ba.prototype.forward=function(){this.go(1)},ba.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ba.prototype.resolve=function(t,e,n){var r=Ai(t,e=e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?ai(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},ba.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==ti&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ba.prototype,_a),ba.install=function t(e){if(!t.installed||Ci!==e){t.installed=!0,Ci=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Vo),e.component("RouterLink",Pi);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},ba.version="3.1.2",ji&&window.Vue&&window.Vue.use(ba);var ka=ba;var $a={NotFound:()=>n.e(4).then(n.bind(null,185)),Layout:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,184))},xa={"v-f88195a6":()=>n.e(5).then(n.bind(null,186)),"v-0f125dbb":()=>n.e(6).then(n.bind(null,187)),"v-5127c24a":()=>n.e(7).then(n.bind(null,188)),"v-79c557ae":()=>n.e(8).then(n.bind(null,189)),"v-bc26f6ca":()=>n.e(9).then(n.bind(null,190)),"v-15ae477b":()=>n.e(10).then(n.bind(null,191)),"v-e2943322":()=>n.e(11).then(n.bind(null,192)),"v-9b504b3e":()=>n.e(12).then(n.bind(null,193)),"v-3896b323":()=>n.e(13).then(n.bind(null,194)),"v-ae731ab6":()=>n.e(14).then(n.bind(null,195)),"v-545731d5":()=>n.e(15).then(n.bind(null,196)),"v-5cda54a1":()=>n.e(16).then(n.bind(null,197)),"v-24570241":()=>n.e(17).then(n.bind(null,198)),"v-7499233e":()=>n.e(18).then(n.bind(null,199)),"v-26737916":()=>n.e(19).then(n.bind(null,200)),"v-700fa4e1":()=>n.e(22).then(n.bind(null,201)),"v-86daa2ba":()=>n.e(21).then(n.bind(null,202)),"v-2f539db2":()=>n.e(24).then(n.bind(null,203)),"v-1edba7fe":()=>n.e(25).then(n.bind(null,204)),"v-fe729232":()=>n.e(23).then(n.bind(null,205)),"v-1e493801":()=>n.e(20).then(n.bind(null,206))};function Aa(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Ca=/-(\w)/g,Sa=Aa(t=>t.replace(Ca,(t,e)=>e?e.toUpperCase():"")),Oa=/\B([A-Z])/g,Ea=Aa(t=>t.replace(Oa,"-$1").toLowerCase()),Pa=Aa(t=>t.charAt(0).toUpperCase()+t.slice(1));function Ta(t,e){if(!e)return;if(t(e))return t(e);return e.includes("-")?t(Pa(Sa(e))):t(Pa(e))||t(Ea(e))}const ja=Object.assign({},$a,xa),La=t=>ja[t],Ra=t=>xa[t],Ia=t=>$a[t],Ma=t=>No.component(t);function Ua(t){return Ta(Ra,t)}function Da(t){return Ta(Ia,t)}function Na(t){return Ta(La,t)}function Fa(t){return Ta(Ma,t)}function za(...t){return Promise.all(t.filter(t=>t).map(async t=>{if(!Fa(t)&&Na(t)){const e=await Na(t)();No.component(t,e.default)}}))}function Ba(t,e){"undefined"!=typeof window&&window.__VUEPRESS__&&(window.__VUEPRESS__[t]=e)}var Va={created(){this.$ssrContext&&(this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.description=this.$page.description||this.$description)},mounted(){this.currentMetaTags=new Set,this.updateMeta()},methods:{updateMeta(){document.title=this.$title,document.documentElement.lang=this.$lang;const t=this.$page.frontmatter.meta||[],e=t.slice(0);0===t.filter(t=>"description"===t.name).length&&e.push({name:"description",content:this.$description});const n=document.querySelectorAll('meta[name="description"]');n.length&&n.forEach(t=>this.currentMetaTags.add(t)),this.currentMetaTags=new Set(Ga(e,this.currentMetaTags))}},watch:{$page(){this.updateMeta()}},beforeDestroy(){Ga(null,this.currentMetaTags)}};function Ga(t,e){if(e&&[...e].forEach(t=>{document.head.removeChild(t)}),t)return t.map(t=>{const e=document.createElement("meta");return Object.keys(t).forEach(n=>{e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}var Ha=n(3),qa={mounted(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(Ha)()(function(){this.setActiveHash()},300),setActiveHash(){const t=[].slice.call(document.querySelectorAll(".sidebar-link")),e=[].slice.call(document.querySelectorAll(".header-anchor")).filter(e=>t.some(t=>t.hash===e.hash)),n=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),o=window.innerHeight+n;for(let t=0;t=i.parentElement.offsetTop+10&&(!a||n{this.$nextTick(()=>{this.$vuepress.$set("disableScrollBehavior",!1)})})}}}},beforeDestroy(){window.removeEventListener("scroll",this.onScroll)}},Wa=n(2),Ka=n.n(Wa),Xa=[Va,qa,{mounted(){Ka.a.configure({showSpinner:!1}),this.$router.beforeEach((t,e,n)=>{t.path===e.path||No.component(t.name)||Ka.a.start(),n()}),this.$router.afterEach(()=>{Ka.a.done(),this.isSidebarOpen=!1})}}],Ja={methods:{getLayout:function(){if(this.$page.path){var t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}},computed:{layout:function(){var t=this.getLayout();return Ba("layout",t),No.component(t)}}},Ya=n(0),Za=Object(Ya.a)(Ja,function(){var t=this.$createElement;return(this._self._c||t)(this.layout,{tag:"component"})},[],!1,null,null,null).exports;!function(t,e,n){switch(e){case"components":t[e]||(t[e]={}),Object.assign(t[e],n);break;case"mixins":t[e]||(t[e]=[]),t[e].push(...n);break;default:throw new Error("Unknown option name.")}}(Za,"mixins",Xa);const Qa=[{name:"v-f88195a6",path:"/",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-f88195a6").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-0f125dbb",path:"/auth/authorization_code.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-0f125dbb").then(n)}},{name:"v-5127c24a",path:"/auth/client_credentials.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-5127c24a").then(n)}},{name:"v-79c557ae",path:"/auth/getting_started.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-79c557ae").then(n)}},{name:"v-bc26f6ca",path:"/auth/implicit_grant.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-bc26f6ca").then(n)}},{name:"v-15ae477b",path:"/auth/token_swap.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-15ae477b").then(n)}},{name:"v-e2943322",path:"/web/albums.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-e2943322").then(n)}},{name:"v-9b504b3e",path:"/web/artists.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-9b504b3e").then(n)}},{name:"v-3896b323",path:"/web/browse.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-3896b323").then(n)}},{name:"v-ae731ab6",path:"/web/examples.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-ae731ab6").then(n)}},{name:"v-545731d5",path:"/web/follow.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-545731d5").then(n)}},{name:"v-5cda54a1",path:"/web/getting_started.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-5cda54a1").then(n)}},{name:"v-24570241",path:"/web/library.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-24570241").then(n)}},{name:"v-7499233e",path:"/web/personalization.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-7499233e").then(n)}},{name:"v-26737916",path:"/web/player.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-26737916").then(n)}},{name:"v-700fa4e1",path:"/web/proxy.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-700fa4e1").then(n)}},{name:"v-86daa2ba",path:"/web/profiles.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-86daa2ba").then(n)}},{name:"v-2f539db2",path:"/web/tracks.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-2f539db2").then(n)}},{name:"v-1edba7fe",path:"/web/utils.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-1edba7fe").then(n)}},{name:"v-fe729232",path:"/web/search.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-fe729232").then(n)}},{name:"v-1e493801",path:"/web/playlists.html",component:Za,beforeEnter:(t,e,n)=>{za("Layout","v-1e493801").then(n)}},{path:"*",component:Za}],ts={title:"SpotifyAPI-NET",description:"๐Ÿ”‰ An API for the Spotify-Client and the Spotify Web API, written in C#/.NET",base:"/SpotifyAPI-NET/",pages:[{title:"SpotifyAPI-NET Docs",frontmatter:{},regularPath:"/",relativePath:"README.md",key:"v-f88195a6",path:"/",headers:[{level:2,title:"About",slug:"about"},{level:2,title:"Installing",slug:"installing"},{level:2,title:"Getting Started",slug:"getting-started"},{level:2,title:"Projects",slug:"projects"},{level:3,title:"audio-band](https://github.com/dsafa/audio-band) by [@dsafa",slug:"audio-band-by-dsafa"},{level:3,title:"rocksmith-custom-song-toolkit](https://github.com/catara/rocksmith-custom-song-toolkit) by [@catara",slug:"rocksmith-custom-song-toolkit-by-catara"},{level:3,title:"Spofy](https://github.com/eltoncezar/Spofy) by [@eltoncezar",slug:"spofy-by-eltoncezar"},{level:3,title:"Toastify](https://github.com/aleab/toastify) by [@aleab",slug:"toastify-by-aleab"},{level:3,title:"Spotify Oculus](https://github.com/CaptainMorgs/spotify-oculus-release) by [@CaptainMorgs",slug:"spotify-oculus-by-captainmorgs"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"AutorizationCodeAuth",frontmatter:{sidebar:!1},regularPath:"/auth/authorization_code.html",relativePath:"auth/authorization_code.md",key:"v-0f125dbb",path:"/auth/authorization_code.html",lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"ClientCredentialsAuth",frontmatter:{sidebar:!1},regularPath:"/auth/client_credentials.html",relativePath:"auth/client_credentials.md",key:"v-5127c24a",path:"/auth/client_credentials.html",lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Getting Started",frontmatter:{},regularPath:"/auth/getting_started.html",relativePath:"auth/getting_started.md",key:"v-79c557ae",path:"/auth/getting_started.html",headers:[{level:2,title:"Auth-Methods",slug:"auth-methods"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"ImplicitGrantAuth",frontmatter:{sidebar:!1},regularPath:"/auth/implicit_grant.html",relativePath:"auth/implicit_grant.md",key:"v-bc26f6ca",path:"/auth/implicit_grant.html",lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"TokenSwapAuth",frontmatter:{},regularPath:"/auth/token_swap.html",relativePath:"auth/token_swap.md",key:"v-15ae477b",path:"/auth/token_swap.html",headers:[{level:2,title:"Using TokenSwapWebAPIFactory",slug:"using-tokenswapwebapifactory"},{level:2,title:"Using TokenSwapAuth",slug:"using-tokenswapauth"},{level:2,title:"Token Swap Endpoint",slug:"token-swap-endpoint"},{level:2,title:"Remarks",slug:"remarks"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Albums",frontmatter:{},regularPath:"/web/albums.html",relativePath:"web/albums.md",key:"v-e2943322",path:"/web/albums.html",headers:[{level:2,title:"GetAlbumTracks",slug:"getalbumtracks"},{level:2,title:"GetAlbum",slug:"getalbum"},{level:2,title:"GetSeveralAlbums",slug:"getseveralalbums"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Artists",frontmatter:{},regularPath:"/web/artists.html",relativePath:"web/artists.md",key:"v-9b504b3e",path:"/web/artists.html",headers:[{level:2,title:"GetArtist",slug:"getartist"},{level:2,title:"GetRelatedArtists",slug:"getrelatedartists"},{level:2,title:"GetArtistsTopTracks",slug:"getartiststoptracks"},{level:2,title:"GetArtistsAlbums",slug:"getartistsalbums"},{level:2,title:"GetSeveralArtists",slug:"getseveralartists"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Browse",frontmatter:{},regularPath:"/web/browse.html",relativePath:"web/browse.md",key:"v-3896b323",path:"/web/browse.html",headers:[{level:2,title:"GetFeaturedPlaylists",slug:"getfeaturedplaylists"},{level:2,title:"GetNewAlbumReleases",slug:"getnewalbumreleases"},{level:2,title:"GetCategories",slug:"getcategories"},{level:2,title:"GetCategory",slug:"getcategory"},{level:2,title:"GetCategoryPlaylists",slug:"getcategoryplaylists"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Examples",frontmatter:{sidebar:!1},regularPath:"/web/examples.html",relativePath:"web/examples.md",key:"v-ae731ab6",path:"/web/examples.html",lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Follow",frontmatter:{},regularPath:"/web/follow.html",relativePath:"web/follow.md",key:"v-545731d5",path:"/web/follow.html",headers:[{level:2,title:"Follow",slug:"follow-2"},{level:2,title:"Unfollow",slug:"unfollow"},{level:2,title:"IsFollowing",slug:"isfollowing"},{level:2,title:"FollowPlaylist",slug:"followplaylist"},{level:2,title:"UnfollowPlaylist",slug:"unfollowplaylist"},{level:2,title:"IsFollowingPlaylist",slug:"isfollowingplaylist"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Getting Started",frontmatter:{sidebarDepth:2},regularPath:"/web/getting_started.html",relativePath:"web/getting_started.md",key:"v-5cda54a1",path:"/web/getting_started.html",headers:[{level:2,title:"First steps",slug:"first-steps"},{level:3,title:"Imports",slug:"imports"},{level:3,title:"Basic-Usage",slug:"basic-usage"},{level:2,title:"Examples",slug:"examples"},{level:2,title:"Error-Handling",slug:"error-handling"},{level:2,title:"Sync vs Asynchronous",slug:"sync-vs-asynchronous"},{level:2,title:"API-Reference",slug:"api-reference"},{level:3,title:"Albums",slug:"albums"},{level:3,title:"Artists",slug:"artists"},{level:3,title:"Browse",slug:"browse"},{level:3,title:"Follow",slug:"follow"},{level:3,title:"Library",slug:"library"},{level:3,title:"Personalization",slug:"personalization"},{level:3,title:"Player",slug:"player"},{level:3,title:"Playlists",slug:"playlists"},{level:3,title:"Profiles",slug:"profiles"},{level:3,title:"Search",slug:"search"},{level:3,title:"Tracks",slug:"tracks"},{level:3,title:"Util",slug:"util"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Library",frontmatter:{},regularPath:"/web/library.html",relativePath:"web/library.md",key:"v-24570241",path:"/web/library.html",headers:[{level:2,title:"SaveTracks",slug:"savetracks"},{level:2,title:"SaveTrack",slug:"savetrack"},{level:2,title:"GetSavedTracks",slug:"getsavedtracks"},{level:2,title:"RemoveSavedTracks",slug:"removesavedtracks"},{level:2,title:"CheckSavedTracks",slug:"checksavedtracks"},{level:2,title:"SaveAlbums",slug:"savealbums"},{level:2,title:"SaveAlbum",slug:"savealbum"},{level:2,title:"GetSavedAlbums",slug:"getsavedalbums"},{level:2,title:"RemoveSavedAlbums",slug:"removesavedalbums"},{level:2,title:"CheckSavedAlbums",slug:"checksavedalbums"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Personalization",frontmatter:{},regularPath:"/web/personalization.html",relativePath:"web/personalization.md",key:"v-7499233e",path:"/web/personalization.html",headers:[{level:2,title:"GetUsersTopTracks",slug:"getuserstoptracks"},{level:2,title:"GetUsersTopArtists",slug:"getuserstopartists"},{level:2,title:"GetUsersRecentlyPlayedTracks",slug:"getusersrecentlyplayedtracks"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Player",frontmatter:{},regularPath:"/web/player.html",relativePath:"web/player.md",key:"v-26737916",path:"/web/player.html",headers:[{level:2,title:"GetDevices",slug:"getdevices"},{level:2,title:"GetPlayback",slug:"getplayback"},{level:2,title:"GetPlayingTrack",slug:"getplayingtrack"},{level:2,title:"TransferPlayback",slug:"transferplayback"},{level:2,title:"ResumePlayback",slug:"resumeplayback"},{level:2,title:"PausePlayback",slug:"pauseplayback"},{level:2,title:"SkipPlaybackToNext",slug:"skipplaybacktonext"},{level:2,title:"SkipPlaybackToPrevious",slug:"skipplaybacktoprevious"},{level:2,title:"SeekPlayback",slug:"seekplayback"},{level:2,title:"SetRepeatMode",slug:"setrepeatmode"},{level:2,title:"SetVolume",slug:"setvolume"},{level:2,title:"SetShuffle",slug:"setshuffle"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Proxy Settings",frontmatter:{sidebar:!1},regularPath:"/web/proxy.html",relativePath:"web/proxy.md",key:"v-700fa4e1",path:"/web/proxy.html",lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Profiles",frontmatter:{},regularPath:"/web/profiles.html",relativePath:"web/profiles.md",key:"v-86daa2ba",path:"/web/profiles.html",headers:[{level:2,title:"GetPrivateProfile",slug:"getprivateprofile"},{level:2,title:"GetPublicProfile",slug:"getpublicprofile"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Tracks",frontmatter:{},regularPath:"/web/tracks.html",relativePath:"web/tracks.md",key:"v-2f539db2",path:"/web/tracks.html",headers:[{level:2,title:"GetSeveralTracks",slug:"getseveraltracks"},{level:2,title:"GetTrack",slug:"gettrack"},{level:2,title:"GetAudioAnalysis",slug:"getaudioanalysis"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Utilities",frontmatter:{},regularPath:"/web/utils.html",relativePath:"web/utils.md",key:"v-1edba7fe",path:"/web/utils.html",headers:[{level:2,title:"Paging-Methods",slug:"paging-methods"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Search",frontmatter:{},regularPath:"/web/search.html",relativePath:"web/search.md",key:"v-fe729232",path:"/web/search.html",headers:[{level:2,title:"SearchItems",slug:"searchitems"},{level:2,title:"SearchItemsEscaped",slug:"searchitemsescaped"}],lastUpdated:"10/21/2019, 8:39:03 AM"},{title:"Playlists",frontmatter:{},regularPath:"/web/playlists.html",relativePath:"web/playlists.md",key:"v-1e493801",path:"/web/playlists.html",headers:[{level:2,title:"GetUserPlaylists",slug:"getuserplaylists"},{level:2,title:"GetPlaylist",slug:"getplaylist"},{level:2,title:"GetPlaylistTracks",slug:"getplaylisttracks"},{level:2,title:"CreatePlaylist",slug:"createplaylist"},{level:2,title:"UpdatePlaylist",slug:"updateplaylist"},{level:2,title:"ReplacePlaylistTracks",slug:"replaceplaylisttracks"},{level:2,title:"RemovePlaylistTracks",slug:"removeplaylisttracks"},{level:2,title:"RemovePlaylistTrack",slug:"removeplaylisttrack"},{level:2,title:"AddPlaylistTracks",slug:"addplaylisttracks"},{level:2,title:"AddPlaylistTrack",slug:"addplaylisttrack"},{level:2,title:"ReorderPlaylist",slug:"reorderplaylist"}],lastUpdated:"10/21/2019, 8:39:03 AM"}],themeConfig:{repo:"JohnnyCrazy/SpotifyAPI-NET",repoLabel:"๐Ÿš€ GitHub",docsDir:"SpotifyAPI.Docs/docs",editLinks:!0,editLinkText:"Help us improve this page!",sidebar:"auto",sidebarDepth:0,lastUpdated:"Last Updated",serviceWorker:{updatePopup:!0},nav:[{text:"Home",link:"/"},{text:"SpotifyAPI.Web",items:[{text:"Getting Started",link:"/web/getting_started"},{text:"Examples",link:"/web/examples"},{text:"Proxy",link:"/web/proxy"},{text:"- Albums",link:"/web/albums"},{text:"- Artists",link:"/web/artists"},{text:"- Browse",link:"/web/browse"},{text:"- Follow",link:"/web/follow"},{text:"- Library",link:"/web/library"},{text:"- Personalization",link:"/web/personalization"},{text:"- Player",link:"/web/player"},{text:"- Playlists",link:"/web/playlists"},{text:"- Profiles",link:"/web/profiles"},{text:"- Search",link:"/web/search"},{text:"- Tracks",link:"/web/tracks"},{text:"Utilities",link:"/web/utils"}]},{text:"SpotifyAPI.Auth",items:[{text:"Getting Started",link:"/auth/getting_started"},{text:"- ImplicitGrantAuth",link:"/auth/implicit_grant"},{text:"- TokenSwapAuth",link:"/auth/token_swap"},{text:"- AutorizationCodeAuth",link:"/auth/authorization_code"},{text:"- ClientCredentialsAuth",link:"/auth/client_credentials"}]}]}};n(5);No.component("Badge",()=>Promise.all([n.e(0),n.e(3)]).then(n.bind(null,207)));n(6);var es=[{},({Vue:t})=>{t.mixin({computed:{$dataBlock(){return this.$options.__data__block__}}})},{},{}],ns=[];class rs{constructor(){this.store=new No({data:{state:{}}})}$get(t){return this.store.state[t]}$set(t,e){No.set(this.store.state,t,e)}$emit(...t){this.store.$emit(...t)}$on(...t){this.store.$on(...t)}}class os extends rs{}Object.assign(os.prototype,{getPageAsyncComponent:Ua,getLayoutAsyncComponent:Da,getAsyncComponent:Na,getVueComponent:Fa});var is={install(t){const e=new os;t.$vuepress=e,t.prototype.$vuepress=e}};function as(t,e){return t.options.routes.filter(t=>t.path.toLowerCase()===e.toLowerCase()).length>0}var ss={props:{pageKey:String,slotKey:{type:String,default:"default"}},render(t){const e=this.pageKey||this.$parent.$page.key;return Ba("pageKey",e),No.component(e)||No.component(e,Ua(e)),No.component(e)?t(e):t("")}},ls={functional:!0,props:{slotKey:String,required:!0},render:(t,{props:e,slots:n})=>t("div",{class:[`content__${e.slotKey}`]},n()[e.slotKey])},cs=(n(7),Object(Ya.a)({},function(t,e){var n=e._c;return n("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[n("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),e._v(" "),n("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})])},[],!0,null,null,null).exports),us={functional:!0,render(t,{parent:e,children:n}){if(e._isMounted)return n;e.$once("hook:mounted",()=>{e.$forceUpdate()})}};No.config.productionTip=!1,No.use(ka),No.use(is),No.mixin(function(t,e,n=No){!function(t){t.locales&&Object.keys(t.locales).forEach(e=>{t.locales[e].path=e});Object.freeze(t)}(e),n.$vuepress.$set("siteData",e);const r=new(t(n.$vuepress.$get("siteData"))),o=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(r)),i={};return Object.keys(o).reduce((t,e)=>(e.startsWith("$")&&(t[e]=o[e].get),t),i),{computed:i}}(t=>(class{setPage(t){this.__page=t}get $site(){return t}get $themeConfig(){return this.$site.themeConfig}get $frontmatter(){return this.$page.frontmatter}get $localeConfig(){const{locales:t={}}=this.$site;let e,n;for(const r in t)"/"===r?n=t[r]:0===this.$page.path.indexOf(r)&&(e=t[r]);return e||n||{}}get $siteTitle(){return this.$localeConfig.title||this.$site.title||""}get $title(){const t=this.$page,{metaTitle:e}=this.$page.frontmatter;if("string"==typeof e)return e;const n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}get $description(){const t=function(t){if(t){const e=t.filter(t=>"description"===t.name)[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}get $lang(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}get $localePath(){return this.$localeConfig.path||"/"}get $themeLocaleConfig(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}get $page(){return this.__page?this.__page:function(t,e){for(let n=0;nn||(t.hash?!No.$vuepress.$get("disableScrollBehavior")&&{selector:t.hash}:{x:0,y:0})});!function(t){t.beforeEach((e,n,r)=>{if(as(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){const n=e.path.replace(/\/$/,"")+".html";as(t,n)?r(n):r()}else r();else{const n=e.path+"/",o=e.path+".html";as(t,o)?r(o):as(t,n)?r(n):r()}})}(n);const r={};try{es.forEach(e=>{"function"==typeof e&&e({Vue:No,options:r,router:n,siteData:ts,isServer:t})})}catch(t){console.error(t)}return{app:new No(Object.assign(r,{router:n,render:t=>t("div",{attrs:{id:"app"}},[t("router-view",{ref:"layout"}),t("div",{class:"global-ui"},ns.map(e=>t(e)))])})),router:n}}(!1);window.__VUEPRESS__={version:"1.0.3",hash:"7b08f7c"},ps.onReady(()=>{fs.$mount("#app")})}]); \ No newline at end of file diff --git a/auth/authorization_code.html b/auth/authorization_code.html index c7f84416..43978543 100644 --- a/auth/authorization_code.html +++ b/auth/authorization_code.html @@ -7,7 +7,7 @@ - + @@ -42,7 +42,7 @@ A good thing about this method: You can always refresh your token, without havin auth.Start(); // Starts an internal HTTP Server auth.OpenBrowser(); } -
- +
+ diff --git a/auth/client_credentials.html b/auth/client_credentials.html index d132113a..c3a509c1 100644 --- a/auth/client_credentials.html +++ b/auth/client_credentials.html @@ -7,7 +7,7 @@ - + @@ -24,7 +24,7 @@ If you want to use it securely, you would need to do it all server-side. TokenType = token.TokenType, AccessToken = token.AccessToken }; -
- +
+ diff --git a/auth/getting_started.html b/auth/getting_started.html index acc6c128..62a03ff4 100644 --- a/auth/getting_started.html +++ b/auth/getting_started.html @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ ๐Ÿš€ GitHub

Getting Started

Auth-Methods

Before you can use the Web API full functional, you need the user to authenticate your Application. If you want to know more, you can read to the whole auth-process here.

Before you start, install SpotifyAPI.Web.Auth and create an application at Spotify: Your Applications

After you created your Application, you will have following important values:

Name Description
Client_Id This is your client_id, you don't have to hide it
Client_Secret Never use this in one of your client-side apps! Keep it secret!
Redirect URIs Some of auth flows require that you set the correct redirect URI

Now you can start with the user-authentication, Spotify provides 3 ways (4 if you consider different implementations):

Overview: -Overview

- +Overview

+ diff --git a/auth/implicit_grant.html b/auth/implicit_grant.html index d7371115..215c7237 100644 --- a/auth/implicit_grant.html +++ b/auth/implicit_grant.html @@ -7,7 +7,7 @@ - + @@ -37,7 +37,7 @@ You won't be able to refresh the token. If you want to use the internal Http ser auth.Start(); // Starts an internal HTTP Server auth.OpenBrowser(); } -
- +
+ diff --git a/auth/token_swap.html b/auth/token_swap.html index 07fd3f30..8aaf71df 100644 --- a/auth/token_swap.html +++ b/auth/token_swap.html @@ -7,7 +7,7 @@ - + @@ -67,7 +67,7 @@ auth.AuthReceived .OnAccessTokenExpired += async (sender, e) => spotify.AccessToken = (await auth.RefreshAuthAsync(lastToken.RefreshToken)).AccessToken; auth.Start(); auth.OpenBrowser(); -

Token Swap Endpoint

To keep your client secret completely secure and your client ID and redirect URI as secure as possible, use of a web server (such as a php website) is required.

To use this method, an external HTTP Server (that you may need to create) needs to be able to supply the following HTTP Endpoints to your application:

/swap - Swaps out an authorization_code with an access_token and refresh_token - The following parameters are required in the JSON POST Body:

  • grant_type (set to "authorization_code")
  • code (the authorization_code)
  • redirect_uri
    • Important The page that the redirect URI links to must return the authorization code json to your serverUri (default is 'http://localhost:4002') but to the folder 'auth', like this: 'http://localhost:4002/auth'.

/refresh - Refreshes an access_token - The following parameters are required in the JSON POST Body:

  • grant_type (set to "refresh_token")
  • refresh_token

The following open-source token swap endpoint code can be used for your website:

Remarks

It should be noted that GitHub Pages does not support hosting php scripts. Hosting php scripts through it will cause the php to render as plain HTML, potentially compromising your client secret while doing absolutely nothing.

Be sure you have whitelisted your redirect uri in the Spotify Developer Dashboard otherwise the authorization will always fail.

If you did not use the WebAPIFactory or you provided a serverUri different from its default, you must make sure your redirect uri's script at your endpoint will properly redirect to your serverUri (such as changing the areas which refer to localhost:4002 if you had changed serverUri from its default), otherwise it will never reach your new serverUri.

- +

Token Swap Endpoint

To keep your client secret completely secure and your client ID and redirect URI as secure as possible, use of a web server (such as a php website) is required.

To use this method, an external HTTP Server (that you may need to create) needs to be able to supply the following HTTP Endpoints to your application:

/swap - Swaps out an authorization_code with an access_token and refresh_token - The following parameters are required in the JSON POST Body:

  • grant_type (set to "authorization_code")
  • code (the authorization_code)
  • redirect_uri
    • Important The page that the redirect URI links to must return the authorization code json to your serverUri (default is 'http://localhost:4002') but to the folder 'auth', like this: 'http://localhost:4002/auth'.

/refresh - Refreshes an access_token - The following parameters are required in the JSON POST Body:

  • grant_type (set to "refresh_token")
  • refresh_token

The following open-source token swap endpoint code can be used for your website:

Remarks

It should be noted that GitHub Pages does not support hosting php scripts. Hosting php scripts through it will cause the php to render as plain HTML, potentially compromising your client secret while doing absolutely nothing.

Be sure you have whitelisted your redirect uri in the Spotify Developer Dashboard otherwise the authorization will always fail.

If you did not use the WebAPIFactory or you provided a serverUri different from its default, you must make sure your redirect uri's script at your endpoint will properly redirect to your serverUri (such as changing the areas which refer to localhost:4002 if you had changed serverUri from its default), otherwise it will never reach your new serverUri.

+ diff --git a/index.html b/index.html index c0c507a6..900d7de0 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + @@ -18,7 +18,7 @@

SpotifyAPI-NET Docs

About

This project, written in C#/.NET, provides 2 libraries for an easier usage of the Spotify Web API

Spotify's Web API (link)

Based on simple REST principles, our Web API endpoints return metadata in JSON format about artists, albums, and tracks directly from the Spotify catalogue. The API also provides access to user-related data such as playlists and music saved in a โ€œYour Musicโ€ library, subject to userโ€™s authorization.

SpotifyAPI.Web

A wrapper around Spotify's Web API, providing sync and async methods to query all possible endpoints. Results are returned as typed class instances, allowing property-based access.

SpotifyAPI.Web.Auth

A library providing C# implementations of the 3 supported Authentication modes, including ImplicitGrantAuth, AuthorizationCodeAuth and CredentialsAuth


Installing

  • Via NuGet Package:
Install-Package SpotifyAPI.Web
 Install-Package SpotifyAPI.Web.Auth
-
  • Download the latest binaries on the GitHub Release Page and add it to your Project
  • Clone the Repo and build the project yourself.

Getting Started

Projects

audio-band by @dsafa

Display and control songs from the Windows taskbar

rocksmith-custom-song-toolkit by @catara

MASS Manipulation of Rocksmith DLC Library

Spofy by @eltoncezar

A Spotify mini player and notifier for Windows

Toastify by @aleab

Toastify adds global hotkeys and toast notifications to Spotify

Forked from nachmore/toastify

Spotify Oculus by @CaptainMorgs

Unity project for interacting with Spotify in virtual reality for the Oculus Rift.

- +
  • Download the latest binaries on the GitHub Release Page and add it to your Project
  • Clone the Repo and build the project yourself.

Getting Started

Projects

audio-band by @dsafa

Display and control songs from the Windows taskbar

rocksmith-custom-song-toolkit by @catara

MASS Manipulation of Rocksmith DLC Library

Spofy by @eltoncezar

A Spotify mini player and notifier for Windows

Toastify by @aleab

Toastify adds global hotkeys and toast notifications to Spotify

Forked from nachmore/toastify

Spotify Oculus by @CaptainMorgs

Unity project for interacting with Spotify in virtual reality for the Oculus Rift.

+ diff --git a/web/albums.html b/web/albums.html index e25ff77e..dc2f9f12 100644 --- a/web/albums.html +++ b/web/albums.html @@ -7,7 +7,7 @@ - + @@ -22,7 +22,7 @@ Console.Writ Console.WriteLine(album.Name + "| Popularity: " + album.Popularity); //Display name and Popularity

GetSeveralAlbums

Get Spotify catalog information for multiple albums identified by their Spotify IDs.

Parameters

Name Description Example
ids A list of the Spotify IDs for the albums. Maximum: 20 IDs. new List<String>() { "5O7V8l4SeXTymVp3IesT9C" }
[market] An ISO 3166-1 alpha-2 country code. Provide this parameter if you want to apply Track Relinking. "DE"

Returns a SeveralAlbums which Property "Albums" contains a list of FullAlbum

Usage

SeveralAlbums albums = _spotify.GetSeveralAlbums(new List<String>() { "5O7V8l4SeXTymVp3IesT9C" });
 Console.WriteLine(albums.Albums[0].Name);
-

- +
+ diff --git a/web/artists.html b/web/artists.html index ddd9c799..8d45a084 100644 --- a/web/artists.html +++ b/web/artists.html @@ -7,7 +7,7 @@ - + @@ -25,7 +25,7 @@ Console.Writ albums.Items.ForEach(album => Console.WriteLine(album.Name));

GetSeveralArtists

Get Spotify catalog information for several artists based on their Spotify IDs.

Parameters

Name Description Example
ids A list of the Spotify IDs for the artists. Maximum: 50 IDs. new List<String>() { "1KpCi9BOfviCVhmpI4G2sY" }

Returns a SeveralArtists object which contains the property List<FullArtist> Artists (FullArtist)

Usage

SeveralArtists artists = _spotify.GetSeveralArtists(new List<String>() {"1KpCi9BOfviCVhmpI4G2sY"});
 artists.Artists.ForEach(artist => Console.WriteLine(artist.Name));
-

- +
+ diff --git a/web/browse.html b/web/browse.html index 53dc44e2..abe44d98 100644 --- a/web/browse.html +++ b/web/browse.html @@ -7,7 +7,7 @@ - + @@ -26,7 +26,7 @@ categoryList.Categories.WriteLine(cat.Name);

GetCategoryPlaylists

Get a list of Spotify playlists tagged with a particular category.

Parameters

Name Description Example
categoryId The Spotify category ID for the category. "party"
[country] A country: an ISO 3166-1 alpha-2 country code. "DE"
[limit] The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. 20
[offset] The index of the first item to return. Default: 0 0

Returns a CategoryPlaylist object, which has the property Paging<SimplePlaylist> Playlists

Usage

CategoryPlaylist playlists = _spotify.GetCategoryPlaylists("party");
 playlists.Playlists.Items.ForEach(playlist => Console.WriteLine(playlist.Name));
-

- +
+ diff --git a/web/examples.html b/web/examples.html index 1ffbcb04..a03f9461 100644 --- a/web/examples.html +++ b/web/examples.html @@ -7,7 +7,7 @@ - + @@ -15,7 +15,7 @@ ๐Ÿš€ GitHub

Examples

This page is currently empty. Do you have useful examples? Please open a PR

- +

Examples

This page is currently empty. Do you have useful examples? Please open a PR

+ diff --git a/web/follow.html b/web/follow.html index 728e5887..e5685205 100644 --- a/web/follow.html +++ b/web/follow.html @@ -7,7 +7,7 @@ - + @@ -33,7 +33,7 @@ Console.Writ

IsFollowingPlaylist

Check to see if one or more Spotify users are following a specified playlist.

Parameters

Name Description Example
ownerId The Spotify user ID of the person who owns the playlist. "maxloermans"
playlistId The Spotify ID of the playlist. "3SIp2VAsKI03mReF0dFBmI"
ids or id A list of the artist or the user Spotify IDs or just a Spotify ID new List<String> { "1KpCi9BOfviCVhmpI4G2sY" } or "1KpCi9BOfviCVhmpI4G2sY"

Returns a ListResponse<Boolean> which contains the property List<Boolean> List

Usage

//Am I following the playlist?
 ListResponse<Boolean> response = _spotify.IsFollowing("maxloermans", "3SIp2VAsKI03mReF0dFBmI", "1122095781");
 Console.WriteLine(response.List[0] ? "Yis!" : "No :(");
-

- +
+ diff --git a/web/getting_started.html b/web/getting_started.html index 9fc10a74..ce026b7d 100644 --- a/web/getting_started.html +++ b/web/getting_started.html @@ -7,7 +7,7 @@ - + @@ -50,7 +50,7 @@ _spotify = newvar asyncProfile = await _spotify.GetPrivateProfileAsync(); var syncProfile = _spotify.GetPrivateProfile(); } -

Note that the synchronous call will block the current Thread!


API-Reference

Albums

Artists

Browse

Follow

Library

Personalization

Player

Playlists

Profiles

Tracks

Util

- +

Note that the synchronous call will block the current Thread!


API-Reference

Albums

Artists

Browse

Follow

Library

Personalization

Player

Playlists

Profiles

Tracks

Util

+ diff --git a/web/library.html b/web/library.html index a4e788bc..bf2244eb 100644 --- a/web/library.html +++ b/web/library.html @@ -7,7 +7,7 @@ - + @@ -43,7 +43,7 @@ savedAlbums.Items CheckSavedAlbums

Check if one or more albums is already saved in the current Spotify userโ€™s โ€œYour Musicโ€ library.

Parameters

Name Description Example
ids A list of the Spotify IDs. new List<String> { "1cq06d0kTUnFmJHixz1RaF" }

Returns a ListResponse<bool> which contains a property, List<bool> List

Usage

ListResponse<bool> albumsSaved = _spotify.CheckSavedAlbums(new List<String> { "1cq06d0kTUnFmJHixz1RaF" });
 if(albumsSaved.List[0])
     Console.WriteLine("The album is in your library!");
-

- +
+ diff --git a/web/personalization.html b/web/personalization.html index 4c5a4818..5287f743 100644 --- a/web/personalization.html +++ b/web/personalization.html @@ -7,7 +7,7 @@ - + @@ -22,7 +22,7 @@ Console.WriteLine(tracks.Total.ToString()) //Display total album track count artists.Items.ForEach(item => Console.WriteLine(item.Name)); //Display all fetched Artist-Names (max 20)

GetUsersRecentlyPlayedTracks

Get tracks from the current userโ€™s recent play history.

Parameters

Name Description Example
[limit] The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. 20
[after] Returns all items after (but not including) this cursor position. DateTime.Now.AddDays(-1)
[before] Returns all items before (but not including) this cursor position. DateTime.Now.AddDays(-1)

Returns a PlayHistory wrapped inside a CursorPaging-object

Usage

CursorPaging<PlayHistory> histories = _spotify.GetUsersRecentlyPlayedTracks();
 histories.Items.ForEach(item => Console.WriteLine(item.Track.Name));
-

- +
+ diff --git a/web/player.html b/web/player.html index 825695f8..032d2eee 100644 --- a/web/player.html +++ b/web/player.html @@ -7,7 +7,7 @@ - + @@ -34,7 +34,7 @@ Returning to the start of the current track should be performed using the https:

SetRepeatMode

Set the repeat mode for the userโ€™s playback. Options are repeat-track, repeat-context, and off.

Parameters

Name Description Example
state track, context or off. RepeatState.Track
[deviceId] The id of the device this command is targeting. If not supplied, the user's currently active device is the target. "XXXX-XXXX-XXXX-XXXX"

Usage

ErrorResponse error = _spotify.SetRepeatMode(RepeatState.Track);
 

SetVolume

Set the volume for the userโ€™s current playback device.

Parameters

Name Description Example
volumePercent Integer. The volume to set. Must be a value from 0 to 100 inclusive. 50
[deviceId] The id of the device this command is targeting. If not supplied, the user's currently active device is the target. "XXXX-XXXX-XXXX-XXXX"

Usage

ErrorResponse error = _spotify.SetVolume(50);
 

SetShuffle

Toggle shuffle on or off for userโ€™s playback.

Parameters

Name Description Example
shuffle True or False false
[deviceId] The id of the device this command is targeting. If not supplied, the user's currently active device is the target. "XXXX-XXXX-XXXX-XXXX"

Usage

ErrorResponse error = _spotify.SetShuffle(false);
-
- +
+ diff --git a/web/playlists.html b/web/playlists.html index e01d058d..e662895a 100644 --- a/web/playlists.html +++ b/web/playlists.html @@ -7,7 +7,7 @@ - + @@ -55,7 +55,7 @@ playlist.Items ReorderPlaylist

Reorder a track or a group of tracks in a playlist. More Info: Reorder-Playlist

Parameters

Name Description Example
userId The user's Spotify user ID. "1122095781"
playlistId The Spotify ID for the playlist. "1TtEejT1y4D1WmcOnLfha2"
rangeStart The position of the first track to be reordered. 2
insertBefore The position where the tracks should be inserted. 0
[rangeLength] The amount of tracks to be reordered. Defaults to 1 if not set. 2
[snapshotId] The playlist's snapshot ID against which you want to make the changes. ``

Returns a Snapshot-Object which contains the property String SnapshotId

Usage

Snapshot snapshot = _spotify.ReorderPlaylist("1122095781", "1TtEejT1y4D1WmcOnLfha2", 2, 0, 2);
 Console.WriteLine("New SnapshotId: " + snapshot.SnapshotId);
-

- +
+ diff --git a/web/profiles.html b/web/profiles.html index 6a1631f2..284e17be 100644 --- a/web/profiles.html +++ b/web/profiles.html @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ ๐Ÿš€ GitHub

Profiles

GetPrivateProfile

Get detailed profile information about the current user (including the current userโ€™s username).

Parameters

Name Description Example

Returns a PrivateProfile

Usage

PrivateUser user = _spotify.GetPrivateProfile();
 Console.WriteLine(user.DisplayName);
-

GetPublicProfile

Get public profile information about a Spotify user.

Parameters

Name Description Example
userId The user's Spotify user ID. EXAMPLE

Returns a PublicProfile

Usage


- +

GetPublicProfile

Get public profile information about a Spotify user.

Parameters

Name Description Example
userId The user's Spotify user ID. EXAMPLE

Returns a PublicProfile

Usage


+ diff --git a/web/proxy.html b/web/proxy.html index 16567784..a6b5ba4e 100644 --- a/web/proxy.html +++ b/web/proxy.html @@ -7,7 +7,7 @@ - + @@ -23,7 +23,7 @@ }; SpotifyWebAPI api = new SpotifyWebAPI(proxyConfig); -
- +
+ diff --git a/web/search.html b/web/search.html index c638cce0..77b594ce 100644 --- a/web/search.html +++ b/web/search.html @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ ๐Ÿš€ GitHub

Search

SearchItems

Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.

You may want to use SearchItemsEscaped if you're processing user-input without validation

Parameters

Name Description Example
q The search query's keywords (and optional field filters and operators), for example q=roadhouse+blues. "roadhouse+blues"
type A list of item types to search across. SearchType.Album
[limit] The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50. 20
[offset] The index of the first result to return. Default: 0 0
[market] An ISO 3166-1 alpha-2 country code or the string from_token. "de"

Returns a SearchItem which contains the properties Paging<FullArtist> Artists,Paging<FullTrack> Tracks, Paging<SimpleAlbum> Albums, Paging<SimplePlaylist> Playlists. They are filled based on your search-type.

Usage

SearchItem item = _spotify.SearchItems("roadhouse+blues", SearchType.Album | SearchType.Playlist);
 Console.WriteLine(item.Albums.Total); //How many results are there in total? NOTE: item.Tracks = item.Artists = null
-

SearchItemsEscaped

Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.

Works like SearchItems, but URL escapes all characters

- +

SearchItemsEscaped

Get Spotify catalog information about artists, albums, tracks or playlists that match a keyword string.

Works like SearchItems, but URL escapes all characters

+ diff --git a/web/tracks.html b/web/tracks.html index b3bb4c72..eeea04bf 100644 --- a/web/tracks.html +++ b/web/tracks.html @@ -7,7 +7,7 @@ - + @@ -21,7 +21,7 @@ severalTracks.Tracks.WriteLine(track.Name);

GetAudioAnalysis

Get a detailed audio analysis for a single track identified by its unique Spotify ID.

Parameters

Name Description Example
id The Spotify ID for the track. "6Y1CLPwYe7zvI8PJiWVz6T"

Returns a AudioAnalysis. This object is currently lacking Spotify documentation but archived EchoNest documentation is relevant.

Usage

AudioAnalysis analysis = _spotify.GetAudioAnalysis("6Y1CLPwYe7zvI8PJiWVz6T");
 Console.WriteLine(analysis.Meta.DetailedStatus);
-
- +
+ diff --git a/web/utils.html b/web/utils.html index f885c5d4..09846af9 100644 --- a/web/utils.html +++ b/web/utils.html @@ -7,7 +7,7 @@ - + @@ -24,7 +24,7 @@ Both are an easy way to receive the next/previous page of a Paging-Object.

< break; playlistTracks = _spotify.GetNextPage(playlistTracks); } -
- +
+