mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
2 lines
23 KiB
JavaScript
2 lines
23 KiB
JavaScript
/*! For license information please see 5751.65494dcf.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[5751],{4973:function(n,e,t){t.d(e,{Z:function(){return f},I:function(){return l}});var r=t(7294),o=/{\w+}/g,u="{}";function i(n,e){var t=[],i=n.replace(o,(function(n){var o=n.substr(1,n.length-2),i=null==e?void 0:e[o];if(void 0!==i){var a=r.isValidElement(i)?i:String(i);return t.push(a),u}return n}));return 0===t.length?n:t.every((function(n){return"string"==typeof n}))?i.split(u).reduce((function(n,e,r){var o;return n.concat(e).concat(null!==(o=t[r])&&void 0!==o?o:"")}),""):i.split(u).reduce((function(n,e,o){return[].concat(n,[r.createElement(r.Fragment,{key:o},e,t[o])])}),[])}function a(n){var e=n.children,t=n.values;if("string"!=typeof e)throw console.warn("Illegal <Interpolate> children",e),new Error("The Docusaurus <Interpolate> component only accept simple string values");return i(e,t)}var c=t(7529);function s(n){var e,t=n.id,r=n.message;return null!==(e=c[null!=t?t:r])&&void 0!==e?e:r}function l(n,e){var t,r=n.message;return i(null!==(t=s({message:r,id:n.id}))&&void 0!==t?t:r,e)}function f(n){var e,t=n.children,o=n.id,u=n.values;if("string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");var i=null!==(e=s({message:t,id:o}))&&void 0!==e?e:t;return r.createElement(a,{values:u},i)}},8143:function(n,e,t){t.r(e),t.d(e,{BrowserRouter:function(){return r.VK},HashRouter:function(){return r.UT},Link:function(){return r.rU},MemoryRouter:function(){return r.VA},NavLink:function(){return r.OL},Prompt:function(){return r.NL},Redirect:function(){return r.l_},Route:function(){return r.AW},Router:function(){return r.F0},StaticRouter:function(){return r.gx},Switch:function(){return r.rs},generatePath:function(){return r.Gn},matchPath:function(){return r.LX},useHistory:function(){return r.k6},useLocation:function(){return r.TH},useParams:function(){return r.UO},useRouteMatch:function(){return r.$B},withRouter:function(){return r.EN}});var r=t(3727)},8084:function(n,e,t){t.r(e),t.d(e,{default:function(){return o},useAllPluginInstancesData:function(){return u},usePluginData:function(){return i}});var r=t(2263);function o(){var n=(0,r.Z)().globalData;if(!n)throw new Error("Docusaurus global data not found.");return n}function u(n){var e=o()[n];if(!e)throw new Error('Docusaurus plugin global data not found for "'+n+'" plugin.');return e}function i(n,e){void 0===e&&(e="default");var t=u(n)[e];if(!t)throw new Error('Docusaurus plugin global data not found for "'+n+'" plugin with id "'+e+'".');return t}},8408:function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.getDocVersionSuggestions=e.getActiveDocContext=e.getActiveVersion=e.getLatestVersion=e.getActivePlugin=void 0;var r=t(8143);e.getActivePlugin=function(n,e,t){void 0===t&&(t={});var o=Object.entries(n).find((function(n){n[0];var t=n[1];return!!r.matchPath(e,{path:t.path,exact:!1,strict:!1})})),u=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!u&&t.failfast)throw new Error("Can't find active docs plugin for \""+e+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(n).map((function(n){return n.path})).join(", "));return u};e.getLatestVersion=function(n){return n.versions.find((function(n){return n.isLast}))};e.getActiveVersion=function(n,t){var o=e.getLatestVersion(n);return[].concat(n.versions.filter((function(n){return n!==o})),[o]).find((function(n){return!!r.matchPath(t,{path:n.path,exact:!1,strict:!1})}))};e.getActiveDocContext=function(n,t){var o,u,i=e.getActiveVersion(n,t),a=null==i?void 0:i.docs.find((function(n){return!!r.matchPath(t,{path:n.path,exact:!0,strict:!1})}));return{activeVersion:i,activeDoc:a,alternateDocVersions:a?(o=a.id,u={},n.versions.forEach((function(n){n.docs.forEach((function(e){e.id===o&&(u[n.name]=e)}))})),u):{}}};e.getDocVersionSuggestions=function(n,t){var r=e.getLatestVersion(n),o=e.getActiveDocContext(n,t);return{latestDocSuggestion:null==o?void 0:o.alternateDocVersions[r.name],latestVersionSuggestion:r}}},6730:function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.useDocVersionSuggestions=e.useActiveDocContext=e.useActiveVersion=e.useLatestVersion=e.useVersions=e.useActivePluginAndVersion=e.useActivePlugin=e.useDocsData=e.useAllDocsData=void 0;var r=t(655),o=t(8143),u=r.__importStar(t(8084)),i=t(8408),a={};e.useAllDocsData=function(){var n;return null!==(n=u.default()["docusaurus-plugin-content-docs"])&&void 0!==n?n:a};e.useDocsData=function(n){return u.usePluginData("docusaurus-plugin-content-docs",n)};e.useActivePlugin=function(n){void 0===n&&(n={});var t=e.useAllDocsData(),r=o.useLocation().pathname;return i.getActivePlugin(t,r,n)};e.useActivePluginAndVersion=function(n){void 0===n&&(n={});var t=e.useActivePlugin(n),r=o.useLocation().pathname;if(t)return{activePlugin:t,activeVersion:i.getActiveVersion(t.pluginData,r)}};e.useVersions=function(n){return e.useDocsData(n).versions};e.useLatestVersion=function(n){var t=e.useDocsData(n);return i.getLatestVersion(t)};e.useActiveVersion=function(n){var t=e.useDocsData(n),r=o.useLocation().pathname;return i.getActiveVersion(t,r)};e.useActiveDocContext=function(n){var t=e.useDocsData(n),r=o.useLocation().pathname;return i.getActiveDocContext(t,r)};e.useDocVersionSuggestions=function(n){var t=e.useDocsData(n),r=o.useLocation().pathname;return i.getDocVersionSuggestions(t,r)}},907:function(n,e,t){t.d(e,{Iw:function(){return r.useActiveDocContext},gA:function(){return r.useActivePlugin},zu:function(){return r.useActiveVersion},_r:function(){return r.useAllDocsData},Jo:function(){return r.useDocVersionSuggestions},zh:function(){return r.useDocsData},yW:function(){return r.useLatestVersion},gB:function(){return r.useVersions}});var r=t(6730)},3018:function(n,e,t){t.d(e,{pl:function(){return ln},zF:function(){return k},HX:function(){return g},PO:function(){return B},L5:function(){return nn},Cv:function(){return J},Cn:function(){return G},kM:function(){return rn},WA:function(){return s},os:function(){return h},Mg:function(){return b},_f:function(){return l},bc:function(){return p},l5:function(){return v},nT:function(){return fn},uR:function(){return V},J:function(){return tn},be:function(){return vn},SL:function(){return S},g8:function(){return q},D9:function(){return E},LU:function(){return o},pe:function(){return w}});var r=t(2263);function o(){return(0,r.Z)().siteConfig.themeConfig}var u="localStorage";function i(n){if(void 0===n&&(n=u),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===n)return null;try{return window[n]}catch(t){return e=t,a||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",e),a=!0),null}var e}var a=!1;var c={get:function(){return null},set:function(){},del:function(){}};var s=function(n,e){if("undefined"==typeof window)return function(n){function e(){throw new Error('Illegal storage API usage for storage key "'+n+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:e,set:e,del:e}}(n);var t=i(null==e?void 0:e.persistence);return null===t?c:{get:function(){return t.getItem(n)},set:function(e){return t.setItem(n,e)},del:function(){return t.removeItem(n)}}};function l(n){void 0===n&&(n=u);var e=i(n);if(!e)return[];for(var t=[],r=0;r<e.length;r+=1){var o=e.key(r);null!==o&&t.push(o)}return t}var f=t(5977);function v(){var n=(0,r.Z)(),e=n.siteConfig,t=e.baseUrl,o=e.url,u=n.i18n,i=u.defaultLocale,a=u.currentLocale,c=(0,f.TH)().pathname,s=a===i?t:t.replace("/"+a+"/","/"),l=c.replace(t,"");return{createUrl:function(n){var e=n.locale;return""+(n.fullyQualified?o:"")+function(n){return n===i?""+s:""+s+n+"/"}(e)+l}}}var d=/title=(["'])(.*?)\1/;function p(n){var e,t;return null!==(t=null===(e=null==n?void 0:n.match(d))||void 0===e?void 0:e[2])&&void 0!==t?t:""}var g="default";function h(n,e){return"docs-"+n+"-"+e}var y=t(907),m=!!y._r,b=function(n,e){var t=function(n){return!n||(null==n?void 0:n.endsWith("/"))?n:n+"/"};return t(n)===t(e)},w=function(n){var e=(0,r.Z)().siteConfig,t=void 0===e?{}:e,o=t.title,u=t.titleDelimiter,i=void 0===u?"|":u;return n&&n.trim().length?n.trim()+" "+i+" "+o:o},_=t(7294),P=["zero","one","two","few","many","other"];function D(n){return P.filter((function(e){return n.includes(e)}))}D(["one","other"]);function E(n){var e=(0,_.useRef)();return(0,_.useEffect)((function(){e.current=n})),e.current}function S(n){var e=(0,f.TH)(),t=E(e),r=(0,_.useRef)(!0);(0,_.useEffect)((function(){r.current?r.current=!1:n({location:e,previousLocation:t})}),[e])}var A=t(102),O=t(412);function V(n){var e=n.initialState,t=(0,_.useState)(null!=e&&e),r=t[0],o=t[1],u=(0,_.useCallback)((function(){o((function(n){return!n}))}),[]);return{collapsed:r,setCollapsed:o,toggleCollapsed:u}}var x={display:"none",overflow:"hidden",height:"0px"},C={display:"block",overflow:"visible",height:"auto"};function j(n,e){var t=e?x:C;n.style.display=t.display,n.style.overflow=t.overflow,n.style.height=t.height}function L(n){var e=n.collapsibleRef,t=n.collapsed,r=n.animation,o=(0,_.useRef)(!1);(0,_.useEffect)((function(){var n,u=e.current;function i(){var n,e,t=u.scrollHeight;return{transition:"height "+(null!==(n=null==r?void 0:r.duration)&&void 0!==n?n:function(n){var e=n/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}(t))+"ms "+(null!==(e=null==r?void 0:r.easing)&&void 0!==e?e:"ease-in-out"),height:t+"px"}}function a(){var n=i();u.style.transition=n.transition,u.style.height=n.height}if(!o.current)return j(u,t),void(o.current=!0);return u.style.willChange="height",n=requestAnimationFrame((function(){t?(a(),requestAnimationFrame((function(){u.style.height=x.height,u.style.overflow=x.overflow}))):(u.style.display="block",requestAnimationFrame((function(){a()})))})),function(){return cancelAnimationFrame(n)}}),[e,t,r])}function R(n){if(!O.Z.canUseDOM)return n?x:C}function I(n){var e=n.as,t=void 0===e?"div":e,r=n.collapsed,o=n.children,u=n.animation,i=n.onCollapseTransitionEnd,a=n.className,c=n.disableSSRStyle,s=(0,_.useRef)(null);return L({collapsibleRef:s,collapsed:r,animation:u}),_.createElement(t,{ref:s,style:c?void 0:R(r),onTransitionEnd:function(n){if("height"===n.propertyName){var e=s.current,t=e.style.height;r||parseInt(t,10)!==e.scrollHeight||(j(e,!1),null==i||i(!1)),t===x.height&&(j(e,!0),null==i||i(!0))}},className:a},o)}function T(n){var e=n.collapsed,t=(0,A.Z)(n,["collapsed"]),r=(0,_.useState)(!e),o=r[0],u=r[1];(0,_.useLayoutEffect)((function(){e||u(!0)}),[e]);var i=(0,_.useState)(e),a=i[0],c=i[1];return(0,_.useLayoutEffect)((function(){o&&c(e)}),[o,e]),o?_.createElement(I,Object.assign({},t,{collapsed:a})):null}function k(n){var e=n.lazy,t=(0,A.Z)(n,["lazy"]),r=e?T:I;return _.createElement(r,Object.assign({},t))}var M=t(6010),N="details_2Ziz",Z="isClient_1Fil",F="collapsibleContent_3OHp";function H(n){return!!n&&("SUMMARY"===n.tagName||H(n.parentElement))}function z(n,e){return!!n&&(n===e||z(n.parentElement,e))}var B=function(n){var e,t=n.summary,o=n.children,u=(0,A.Z)(n,["summary","children"]),i=(0,r.Z)().isClient,a=(0,_.useRef)(null),c=V({initialState:!u.open}),s=c.collapsed,l=c.setCollapsed,f=(0,_.useState)(u.open),v=f[0],d=f[1];return _.createElement("details",Object.assign({},u,{ref:a,open:v,"data-collapsed":s,className:(0,M.Z)(N,(e={},e[Z]=i,e),u.className),onMouseDown:function(n){H(n.target)&&n.detail>1&&n.preventDefault()},onClick:function(n){n.stopPropagation();var e=n.target;H(e)&&z(e,a.current)&&(n.preventDefault(),s?(l(!1),d(!0)):l(!0))}}),t,_.createElement(k,{lazy:!1,collapsed:s,disableSSRStyle:!0,onCollapseTransitionEnd:function(n){l(n),d(!n)}},_.createElement("div",{className:F},o)))};var U=(0,_.createContext)(null);function G(n){var e=n.children;return _.createElement(U.Provider,{value:(0,_.useState)(null)},e)}function W(){var n=(0,_.useContext)(U);if(null===n)throw new Error("MobileSecondaryMenuProvider was not used correctly, context value is null");return n}function q(){var n=W()[0];if(n){var e=n.component;return function(t){return _.createElement(e,Object.assign({},n.props,t))}}return function(){}}function J(n){var e,t=n.component,r=n.props,o=W()[1],u=(e=r,(0,_.useMemo)((function(){return e}),[].concat(Object.keys(e),Object.values(e))));return(0,_.useEffect)((function(){o({component:t,props:u})}),[o,t,u]),(0,_.useEffect)((function(){return function(){return o(null)}}),[o]),null}var X=function(n){return"docs-preferred-version-"+n},K={save:function(n,e,t){s(X(n),{persistence:e}).set(t)},read:function(n,e){return s(X(n),{persistence:e}).get()},clear:function(n,e){s(X(n),{persistence:e}).del()}};function Q(n){var e=n.pluginIds,t=n.versionPersistence,r=n.allDocsData;var o={};return e.forEach((function(n){o[n]=function(n){var e=K.read(n,t);return r[n].versions.some((function(n){return n.name===e}))?{preferredVersionName:e}:(K.clear(n,t),{preferredVersionName:null})}(n)})),o}function Y(){var n=(0,y._r)(),e=o().docs.versionPersistence,t=(0,_.useMemo)((function(){return Object.keys(n)}),[n]),r=(0,_.useState)((function(){return function(n){var e={};return n.forEach((function(n){e[n]={preferredVersionName:null}})),e}(t)})),u=r[0],i=r[1];return(0,_.useEffect)((function(){i(Q({allDocsData:n,versionPersistence:e,pluginIds:t}))}),[n,e,t]),[u,(0,_.useMemo)((function(){return{savePreferredVersion:function(n,t){K.save(n,e,t),i((function(e){var r;return Object.assign({},e,((r={})[n]={preferredVersionName:t},r))}))}}}),[i])]}var $=(0,_.createContext)(null);function nn(n){var e=n.children;return m?_.createElement(en,null,e):_.createElement(_.Fragment,null,e)}function en(n){var e=n.children,t=Y();return _.createElement($.Provider,{value:t},e)}function tn(n){void 0===n&&(n="default");var e=(0,y.zh)(n),t=function(){var n=(0,_.useContext)($);if(!n)throw new Error('Can\'t find docs preferred context, maybe you forgot to use the "DocsPreferredVersionContextProvider"?');return n}(),r=t[0],o=t[1],u=r[n].preferredVersionName;return{preferredVersion:u?e.versions.find((function(n){return n.name===u})):null,savePreferredVersionName:(0,_.useCallback)((function(e){o.savePreferredVersion(n,e)}),[o])}}var rn={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagsPostPage:"blog-tags-post-page",docPage:"doc-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docPages:"docs-wrapper",mdxPages:"mdx-wrapper"}},on=s("docusaurus.announcement.dismiss"),un=s("docusaurus.announcement.id"),an=function(){return"true"===on.get()},cn=function(n){return on.set(String(n))},sn=(0,_.createContext)(null),ln=function(n){var e=n.children,t=function(){var n=o().announcementBar,e=(0,r.Z)().isClient,t=(0,_.useState)((function(){return!!e&&an()})),u=t[0],i=t[1];(0,_.useEffect)((function(){i(an())}),[]);var a=(0,_.useCallback)((function(){cn(!0),i(!0)}),[]);return(0,_.useEffect)((function(){if(n){var e=n.id,t=un.get();"annoucement-bar"===t&&(t="announcement-bar");var r=e!==t;un.set(e),r&&cn(!1),!r&&an()||i(!1)}}),[]),(0,_.useMemo)((function(){return{isClosed:u,close:a}}),[u])}();return _.createElement(sn.Provider,{value:t},e)},fn=function(){var n=(0,_.useContext)(sn);if(!n)throw new Error("useAnnouncementBar(): AnnouncementBar not found in React context: make sure to use the AnnouncementBarProvider on top of the tree");return n};function vn(){var n=(0,r.Z)().siteConfig.baseUrl;return(0,f.TH)().pathname.replace(n,"/")}},6010:function(n,e,t){function r(n){var e,t,o="";if("string"==typeof n||"number"==typeof n)o+=n;else if("object"==typeof n)if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=r(n[e]))&&(o&&(o+=" "),o+=t);else for(e in n)n[e]&&(o&&(o+=" "),o+=e);return o}function o(){for(var n,e,t=0,o="";t<arguments.length;)(n=arguments[t++])&&(e=r(n))&&(o&&(o+=" "),o+=e);return o}t.d(e,{Z:function(){return o}})},655:function(n,e,t){t.r(e),t.d(e,{__extends:function(){return o},__assign:function(){return u},__rest:function(){return i},__decorate:function(){return a},__param:function(){return c},__metadata:function(){return s},__awaiter:function(){return l},__generator:function(){return f},__createBinding:function(){return v},__exportStar:function(){return d},__values:function(){return p},__read:function(){return g},__spread:function(){return h},__spreadArrays:function(){return y},__spreadArray:function(){return m},__await:function(){return b},__asyncGenerator:function(){return w},__asyncDelegator:function(){return _},__asyncValues:function(){return P},__makeTemplateObject:function(){return D},__importStar:function(){return S},__importDefault:function(){return A},__classPrivateFieldGet:function(){return O},__classPrivateFieldSet:function(){return V}});var r=function(n,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])})(n,e)};function o(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=n}r(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var u=function(){return(u=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)};function i(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(n);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(t[r[o]]=n[r[o]])}return t}function a(n,e,t,r){var o,u=arguments.length,i=u<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,e,t,r);else for(var a=n.length-1;a>=0;a--)(o=n[a])&&(i=(u<3?o(i):u>3?o(e,t,i):o(e,t))||i);return u>3&&i&&Object.defineProperty(e,t,i),i}function c(n,e){return function(t,r){e(t,r,n)}}function s(n,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,e)}function l(n,e,t,r){return new(t||(t=Promise))((function(o,u){function i(n){try{c(r.next(n))}catch(e){u(e)}}function a(n){try{c(r.throw(n))}catch(e){u(e)}}function c(n){var e;n.done?o(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(i,a)}c((r=r.apply(n,e||[])).next())}))}function f(n,e){var t,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(n,i)}catch(a){u=[6,a],r=0}finally{t=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}}var v=Object.create?function(n,e,t,r){void 0===r&&(r=t),Object.defineProperty(n,r,{enumerable:!0,get:function(){return e[t]}})}:function(n,e,t,r){void 0===r&&(r=t),n[r]=e[t]};function d(n,e){for(var t in n)"default"===t||Object.prototype.hasOwnProperty.call(e,t)||v(e,n,t)}function p(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var r,o,u=t.call(n),i=[];try{for(;(void 0===e||e-- >0)&&!(r=u.next()).done;)i.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(t=u.return)&&t.call(u)}finally{if(o)throw o.error}}return i}function h(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(g(arguments[e]));return n}function y(){for(var n=0,e=0,t=arguments.length;e<t;e++)n+=arguments[e].length;var r=Array(n),o=0;for(e=0;e<t;e++)for(var u=arguments[e],i=0,a=u.length;i<a;i++,o++)r[o]=u[i];return r}function m(n,e,t){if(t||2===arguments.length)for(var r,o=0,u=e.length;o<u;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return n.concat(r||e)}function b(n){return this instanceof b?(this.v=n,this):new b(n)}function w(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=t.apply(n,e||[]),u=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(n){o[n]&&(r[n]=function(e){return new Promise((function(t,r){u.push([n,e,t,r])>1||a(n,e)}))})}function a(n,e){try{(t=o[n](e)).value instanceof b?Promise.resolve(t.value.v).then(c,s):l(u[0][2],t)}catch(r){l(u[0][3],r)}var t}function c(n){a("next",n)}function s(n){a("throw",n)}function l(n,e){n(e),u.shift(),u.length&&a(u[0][0],u[0][1])}}function _(n){var e,t;return e={},r("next"),r("throw",(function(n){throw n})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=n[r]?function(e){return(t=!t)?{value:b(n[r](e)),done:"return"===r}:o?o(e):e}:o}}function P(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=p(n),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(t){e[t]=n[t]&&function(e){return new Promise((function(r,o){(function(n,e,t,r){Promise.resolve(r).then((function(e){n({value:e,done:t})}),e)})(r,o,(e=n[t](e)).done,e.value)}))}}}function D(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n}var E=Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e};function S(n){if(n&&n.__esModule)return n;var e={};if(null!=n)for(var t in n)"default"!==t&&Object.prototype.hasOwnProperty.call(n,t)&&v(e,n,t);return E(e,n),e}function A(n){return n&&n.__esModule?n:{default:n}}function O(n,e,t,r){if("a"===t&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?n!==e||!r:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(n):r?r.value:e.get(n)}function V(n,e,t,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?n!==e||!o:!e.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(n,t):o?o.value=t:e.set(n,t),t}}}]); |