From 3f07f8a8acfeb30292064aee077af48af7c2cda5 Mon Sep 17 00:00:00 2001 From: Boyan Tabakov Date: Mon, 20 Sep 2021 12:54:43 +0300 Subject: [PATCH] Build --- build/sharetribe-flex-sdk-web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/sharetribe-flex-sdk-web.js b/build/sharetribe-flex-sdk-web.js index e7b9f05..b2e0b52 100644 --- a/build/sharetribe-flex-sdk-web.js +++ b/build/sharetribe-flex-sdk-web.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.sharetribeSdk=e():t.sharetribeSdk=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=80)}([function(t,e,r){"use strict";function n(t){return"[object Array]"===T.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function a(t){return"[object ArrayBuffer]"===T.call(t)}function c(t){return"undefined"!=typeof FormData&&t instanceof FormData}function s(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function g(t){return"number"==typeof t}function p(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==T.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Date]"===T.call(t)}function h(t){return"[object File]"===T.call(t)}function m(t){return"[object Blob]"===T.call(t)}function d(t){return"[object Function]"===T.call(t)}function y(t){return p(t)&&d(t.pipe)}function b(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function v(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function _(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),n(t))for(var r=0,o=t.length;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function o(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function i(t,e){return s(t)||c(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function c(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}function s(t){if(Array.isArray(t))return t}function u(t){return l(t)||p(t)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{},{enterQueue:u(arguments.length>1?arguments[1]:void 0).reverse(),leaveStack:[]})},b=function(t,e,r){return d(t).then(e[r]||d).catch(function(n){var o=n.ctx||t;return Promise.resolve(h({},o,{error:n,errorMiddleware:e.constructor.name,errorStage:r}))})},v=function(t){var e,r,n=u(t.leaveStack),o=u(t.enterQueue);return t.error?(e=n.shift(),r="error"):o.length?(e=o.pop(),n.unshift(e),r="enter"):(e=n.shift(),r="leave"),[h({},t,{enterQueue:o,leaveStack:n}),e,r]},w=function t(e){var r=v(e),o=i(r,3),a=o[0],c=o[1],s=o[2];if(c)return b(a,c,s).then(t);if(a.error){var u=a.error,g=n(a,["error"]);return u.ctx=g,Promise.reject(u)}return Promise.resolve(a)},_=function(t){return function(e){return w(y(e,t))}};e.a=_},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r-1&&t%1==0&&t-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e,r){function n(t,e,r){var n=s(t)?o:c,u=arguments.length<3;return n(t,a(e,4),r,u,i)}var o=r(185),i=r(73),a=r(10),c=r(187),s=r(1);t.exports=n},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"UUID",function(){return o}),r.d(e,"LatLng",function(){return i}),r.d(e,"LatLngBounds",function(){return a}),r.d(e,"Money",function(){return c}),r.d(e,"BigDecimal",function(){return s}),r.d(e,"toType",function(){return u}),r.d(e,"replacer",function(){return g}),r.d(e,"reviver",function(){return p});var o=function t(e){n(this,t),this._sdkType=this.constructor._sdkType,this.uuid=e};o._sdkType="UUID";var i=function t(e,r){n(this,t),this._sdkType=this.constructor._sdkType,this.lat=e,this.lng=r};i._sdkType="LatLng";var a=function t(e,r){n(this,t),this._sdkType=this.constructor._sdkType,this.ne=e,this.sw=r};a._sdkType="LatLngBounds";var c=function t(e,r){n(this,t),this._sdkType=this.constructor._sdkType,this.amount=e,this.currency=r};c._sdkType="Money";var s=function t(e){n(this,t),this._sdkType=this.constructor._sdkType,this.value=e};s._sdkType="BigDecimal";var u=function(t){switch(t&&t._sdkType){case"LatLng":return new i(t.lat,t.lng);case"LatLngBounds":return new a(t.ne,t.sw);case"UUID":return new o(t.uuid);case"Money":return new c(t.amount,t.currency);case"BigDecimal":return new s(t.value);default:return t}},g=function(t,e){return e},p=function(t,e){return u(e)}},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return c(t)||a(t)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function a(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:[],e=M(t);return C.a.reader("json",{handlers:u({},e,{":":function(t){return t},set:function(t){return t},list:function(t){return t}}),mapBuilder:U})},B=[Object,C.a.makeWriteHandler({tag:function(){return"map"},rep:function(t){return b()(t,function(t,e,r){return t.set(C.a.keyword(r),e),t},C.a.map())}})],H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.verbose,i=r?"json-verbose":"json";return C.a.writer(i,{handlers:C.a.map([].concat(o(R),B)),transform:function(e){if(d()(e)){if(e._sdkType)return Object(L.toType)(e);var r=O()(t,function(t){return t.appType&&e instanceof t.appType||t.canHandle&&t.canHandle(e)});if(r)return r.writer(e)}return e},handlerForForeign:function(t,e){return Array.isArray(t)?e.get("array"):"object"===n(t)?e.get("map"):null}})},$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=t.reduce(function(t,e){var r={sdkType:e.sdkType||e.type,reader:e.reader},n={sdkType:e.sdkType||e.type,appType:e.appType||e.customType,canHandle:e.canHandle,writer:e.writer};return t.readers.push(r),t.writers.push(n),t},{readers:[],writers:[]}),n=r.readers,o=r.writers;return{reader:q(n),writer:H(o,e)}},F=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers;return $(void 0===r?[]:r).reader.read(t)},V=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.typeHandlers,n=void 0===r?[]:r,o=e.verbose;return $(n,{verbose:void 0!==o&&o}).writer.write(t)}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(e,r(37))},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){function n(t){if(!i(t))return!1;var e=o(t);return e==c||e==s||e==a||e==u}var o=r(5),i=r(6),a="[object AsyncFunction]",c="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=n},function(t,e){function r(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var n=Function.prototype,o=n.toString;t.exports=r},function(t,e,r){function n(t){return null==t?"":o(t)}var o=r(41);t.exports=n},function(t,e,r){function n(t){if("string"==typeof t)return t;if(a(t))return i(t,n)+"";if(c(t))return g?g.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}var o=r(7),i=r(28),a=r(1),c=r(14),s=1/0,u=o?o.prototype:void 0,g=u?u.toString:void 0;t.exports=n},function(t,e,r){function n(t,e,r){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var o=r(43);t.exports=n},function(t,e,r){var n=r(4),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,r){function n(t,e){return t&&o(t,e,i)}var o=r(111),i=r(19);t.exports=n},function(t,e,r){(function(t){var n=r(2),o=r(116),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=a&&a.exports===i,s=c?n.Buffer:void 0,u=s?s.isBuffer:void 0,g=u||o;t.exports=g}).call(e,r(46)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){var n=r(117),o=r(48),i=r(118),a=i&&i.isTypedArray,c=a?o(a):n;t.exports=c},function(t,e){function r(t){return function(e){return t(e)}}t.exports=r},function(t,e){function r(t,e){return function(r){return t(e(r))}}t.exports=r},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(16),i=r(124),a=r(125),c=r(126),s=r(127),u=r(128);n.prototype.clear=i,n.prototype.delete=a,n.prototype.get=c,n.prototype.has=s,n.prototype.set=u,t.exports=n},function(t,e,r){function n(t,e,r,a,c){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,r,a,n,c))}var o=r(129),i=r(3);t.exports=n},function(t,e,r){function n(t,e,r,n,u,g){var p=r&c,l=t.length,f=e.length;if(l!=f&&!(p&&f>l))return!1;var h=g.get(t),m=g.get(e);if(h&&m)return h==e&&m==t;var d=-1,y=!0,b=r&s?new o:void 0;for(g.set(t,e),g.set(e,t);++d=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(a)}),t.exports=c}).call(e,r(171))},function(t,e,r){"use strict";var n=r(0),o=r(173),i=r(175),a=r(64),c=r(176),s=r(179),u=r(180),g=r(68);t.exports=function(t){return new Promise(function(e,r){var p=t.data,l=t.headers;n.isFormData(p)&&delete l["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(h+":"+m)}var d=c(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),a(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?f.response:f.responseText,a={data:i,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};o(e,r,a),f=null}},f.onabort=function(){f&&(r(g("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){r(g("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(g(e,t,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var y=(t.withCredentials||u(d))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;y&&(l[t.xsrfHeaderName]=y)}if("setRequestHeader"in f&&n.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:f.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){f&&(f.abort(),r(t),f=null)}),p||(p=null),f.send(p)})}},function(t,e,r){"use strict";var n=r(174);t.exports=function(t,e,r,o,i){var a=new Error(t);return n(a,e,r,o,i)}},function(t,e,r){"use strict";var n=r(0);t.exports=function(t,e){function r(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function o(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=r(void 0,t[o])):i[o]=r(t[o],e[o])}e=e||{};var i={},a=["url","method","data"],c=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];n.forEach(a,function(t){n.isUndefined(e[t])||(i[t]=r(void 0,e[t]))}),n.forEach(c,o),n.forEach(s,function(o){n.isUndefined(e[o])?n.isUndefined(t[o])||(i[o]=r(void 0,t[o])):i[o]=r(void 0,e[o])}),n.forEach(u,function(n){n in e?i[n]=r(t[n],e[n]):n in t&&(i[n]=r(void 0,t[n]))});var g=a.concat(c).concat(s).concat(u),p=Object.keys(t).concat(Object.keys(e)).filter(function(t){return-1===g.indexOf(t)});return n.forEach(p,o),i}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,r){"use strict";function n(t,e){return a(t)||i(t,e)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}function a(t){if(Array.isArray(t))return t}r.d(e,"d",function(){return m}),r.d(e,"a",function(){return d}),r.d(e,"b",function(){return y}),r.d(e,"c",function(){return v});var c=r(72),s=r.n(c),u=r(33),g=r.n(u),p=r(188),l=r.n(p),f=r(196),h=r.n(f),m=function(t){return h()(t,"/")},d=function(t){return l()(t.split("/"),"").map(function(t){return t.replace(/_\w/g,function(t){return t[1].toUpperCase()})})},y=function(t){return g()(t,function(t,e,r){return t.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(e))),t},[]).join("&")},b=function(t){if(s()(t))throw new Error("Nested object in query parameter.");return Array.isArray(t)?t.join(","):t},v=function(t){if(!s()(t))throw new Error("Parameter not an object.");return Object.entries(t).filter(function(t){var e=n(t,2),r=e[1];return null!==r&&void 0!==r}).map(function(t){var e=n(t,2),r=e[0],o=e[1];return"".concat(r,":").concat(b(o))}).join(";")}},function(t,e,r){function n(t){if(!a(t)||o(t)!=c)return!1;var e=i(t);if(null===e)return!0;var r=p.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&g.call(r)==l}var o=r(5),i=r(184),a=r(3),c="[object Object]",s=Function.prototype,u=Object.prototype,g=s.toString,p=u.hasOwnProperty,l=g.call(Object);t.exports=n},function(t,e,r){var n=r(44),o=r(186),i=o(n);t.exports=i},function(t,e,r){function n(t,e,r){return e===e?a(t,e,r):o(t,i,r)}var o=r(75),i=r(191),a=r(192);t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function i(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function c(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ft(c({params:e,queryParams:r,perRequestOpts:lt(n)},t))}},mt=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ft(c({params:e},t))}},dt=function(t){var e=t.method,r=o(t,["method"]);return e&&"post"===e.toLowerCase()?ht(r):mt(r)},yt=function(t){var e=t.baseUrl,r=t.tokenStore,n=o(t,["baseUrl","tokenStore"]);return c({},n,{baseUrl:Object(j.d)(e),tokenStore:r||Object(Y.a)(r,n.clientId,!!n.secure)})},bt=function(t){if(!t.clientId)throw new Error("clientId must be provided");if(!t.baseUrl)throw new Error("baseUrl must be provided");return"undefined"!=typeof window&&void 0!==window.document&&t.clientSecret&&!t.dangerouslyAllowClientSecretInBrowser&&(console.warn("Security warning! You are using client secret in a browser. This may expose the client secret to the public."),console.warn("If you know what you are doing and you have secured the website by other means (e.g. HTTP basic auth), you should set the SDK configuration `dangerouslyAllowClientSecretInBrowser` to `true` to dismiss this warning."),console.warn("In the future SDK versions, we may change this warning to an error causing the site not to work properly, unless `dangerouslyAllowClientSecretInBrowser` is set")),t},vt=function t(e){var r=this;n(this,t);var o=bt(yt(c({},X,{},e))),i=b()(J,function(t){return t(o)}),a=[].concat(tt).map(function(t){var e=t.path,r=t.apiName,n=t.method,o=t.interceptors,a=void 0===o?[]:o,s=Object(j.a)(e),g=[r].concat(u(s)),p=[r,e].join("/"),l=i[r];return c({},t,{fnPath:s,fullFnPath:g,endpointInterceptors:[].concat(u(a),[gt({method:n,url:p,httpOpts:l})])})}),s=a.reduce(function(t,e){var r=e.fullFnPath,n=e.endpointInterceptors;return d()(t,r,n)},{}),g={tokenStore:o.tokenStore,endpointInterceptors:s,clientId:o.clientId,clientSecret:o.clientSecret,typeHandlers:o.typeHandlers,transitVerbose:o.transitVerbose};[].concat(u(at),ct).map(function(t){var e=t.path,r=t.method,n=t.endpointInterceptorPath,o=t.interceptors;return{path:e,fn:dt({method:r,ctx:g,endpointInterceptors:h()(s,n)||[],interceptors:o})}}).forEach(function(t){var e=t.path,n=t.fn;return d()(r,e,n)})}},function(t,e,r){function n(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=c.call(t);return n&&(e?t[s]=r:delete t[s]),o}var o=r(7),i=Object.prototype,a=i.hasOwnProperty,c=i.toString,s=o?o.toStringTag:void 0;t.exports=n},function(t,e){function r(t){return o.call(t)}var n=Object.prototype,o=n.toString;t.exports=r},function(t,e,r){var n=r(85),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},function(t,e,r){function n(t){var e=o(t,function(t){return r.size===i&&r.clear(),t}),r=e.cache;return e}var o=r(86),i=500;t.exports=n},function(t,e,r){function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(n.Cache||o),r}var o=r(25),i="Expected a function";n.Cache=o,t.exports=n},function(t,e,r){function n(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=r(88),i=r(16),a=r(27);t.exports=n},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1}var o=r(17);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(17);t.exports=n},function(t,e,r){function n(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=r(18);t.exports=n},function(t,e){function r(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=r},function(t,e,r){function n(t){return o(this,t).get(t)}var o=r(18);t.exports=n},function(t,e,r){function n(t){return o(this,t).has(t)}var o=r(18);t.exports=n},function(t,e,r){function n(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}var o=r(18);t.exports=n},function(t,e,r){function n(t,e,r){return null==t?t:o(t,e,r)}var o=r(29);t.exports=n},function(t,e,r){function n(t,e,r){var n=t[e];c.call(t,e)&&i(n,r)&&(void 0!==r||e in t)||o(t,e,r)}var o=r(42),i=r(26),a=Object.prototype,c=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){var r={};return e=a(e,3),i(t,function(t,n,i){o(r,n,e(t,n,i))}),r}var o=r(42),i=r(44),a=r(10);t.exports=n},function(t,e,r){var n=r(112),o=n();t.exports=o},function(t,e){function r(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var s=a[t?c:++o];if(!1===r(i[s],s,i))break}return e}}t.exports=r},function(t,e,r){function n(t,e){var r=a(t),n=!r&&i(t),g=!r&&!n&&c(t),l=!r&&!n&&!g&&u(t),f=r||n||g||l,h=f?o(t.length,String):[],m=h.length;for(var d in t)!e&&!p.call(t,d)||f&&("length"==d||g&&("offset"==d||"parent"==d)||l&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||s(d,m))||h.push(d);return h}var o=r(114),i=r(31),a=r(1),c=r(45),s=r(30),u=r(47),g=Object.prototype,p=g.hasOwnProperty;t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r0&&r(g)?e>1?n(g,e-1,r,a,c):o(c,g):a||(c[c.length]=g)}return c}var o=r(55),i=r(160);t.exports=n},function(t,e,r){function n(t){return a(t)||i(t)||!!(c&&t&&t[c])}var o=r(7),i=r(31),a=r(1),c=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e){function r(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}t.exports=r},function(t,e,r){var n=r(163),o=r(43),i=r(11),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e){function r(t){return function(){return t}}t.exports=r},function(t,e){function r(t){var e=0,r=0;return function(){var a=i(),c=o-(a-r);if(r=a,c>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var n=800,o=16,i=Date.now;t.exports=r},function(t,e,r){t.exports=r(166)},function(t,e,r){"use strict";function n(t){var e=new a(t),r=i(a.prototype.request,e);return o.extend(r,a.prototype,e),o.extend(r,e),r}var o=r(0),i=r(63),a=r(167),c=r(69),s=r(66),u=n(s);u.Axios=a,u.create=function(t){return n(c(u.defaults,t))},u.Cancel=r(70),u.CancelToken=r(181),u.isCancel=r(65),u.all=function(t){return Promise.all(t)},u.spread=r(182),u.isAxiosError=r(183),t.exports=u,t.exports.default=u},function(t,e,r){"use strict";function n(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=r(0),i=r(64),a=r(168),c=r(169),s=r(69);n.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[c,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)r=r.then(e.shift(),e.shift());return r},n.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){n.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}}),o.forEach(["post","put","patch"],function(t){n.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}}),t.exports=n},function(t,e,r){"use strict";function n(){this.handlers=[]}var o=r(0);n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=n},function(t,e,r){"use strict";function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(0),i=r(170),a=r(65),c=r(66);t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||c.adapter)(t).then(function(e){return n(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(n(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,r){"use strict";var n=r(0);t.exports=function(t,e,r){return n.forEach(r,function(r){t=r(t,e)}),t}},function(t,e){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(t){if(g===setTimeout)return setTimeout(t,0);if((g===r||!g)&&setTimeout)return g=setTimeout,setTimeout(t,0);try{return g(t,0)}catch(e){try{return g.call(null,t,0)}catch(e){return g.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===n||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):d=-1,h.length&&c())}function c(){if(!m){var t=o(a);m=!0;for(var e=h.length;e;){for(f=h,h=[];++d1)for(var r=1;r=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}}),a):a}},function(t,e,r){"use strict";var n=r(0);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,r){"use strict";function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;t(function(t){r.reason||(r.reason=new o(t),e(r.reason))})}var o=r(70);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},t.exports=n},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,r){var n=r(49),o=n(Object.getPrototypeOf,Object);t.exports=o},function(t,e){function r(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o=g&&(l=u,f=!1,e=new o(e));t:for(;++p-1}var o=r(74);t.exports=n},function(t,e){function r(t){return t!==t}t.exports=r},function(t,e){function r(t,e,r){for(var n=r-1,o=t.length;++n=n?t:o(t,e,r)}var o=r(198);t.exports=n},function(t,e){function r(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n-1;);return r}var o=r(74);t.exports=n},function(t,e,r){function n(t){return i(t)?a(t):o(t)}var o=r(201),i=r(202),a=r(203);t.exports=n},function(t,e){function r(t){return t.split("")}t.exports=r},function(t,e){function r(t){return n.test(t)}var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=r},function(t,e){function r(t){return t.match(p)||[]}var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",s="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*",u="[\\ufe0e\\ufe0f]?"+c+s,g="(?:"+["[^\\ud800-\\udfff]"+n+"?",n,i,a,"[\\ud800-\\udfff]"].join("|")+")",p=RegExp(o+"(?="+o+")|"+g+u,"g");t.exports=r},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(77),i=r.n(o),a=r(59),c=r.n(a),s=r(34),u=function(t){return encodeURIComponent(t).replace(/%2C/gi,",")},g=function(t,e){var r;if(e instanceof s.UUID)r=e.uuid;else if(e instanceof s.LatLng)r="".concat(e.lat,",").concat(e.lng);else if(e instanceof s.LatLngBounds)r="".concat(e.ne.lat,",").concat(e.ne.lng,",").concat(e.sw.lat,",").concat(e.sw.lng);else if(Array.isArray(e))r=e;else if(e instanceof Date)r=e.toISOString();else if(null==e)r=e;else{if("object"===n(e))throw new Error("Don't know how to serialize query parameter '".concat(t,"': ").concat(e));r=e}return null==r?null:[t,u(r)]},p=function(t){return c()(i()(t,function(t,e){var r=g(e,t);return r?r.join("="):null})).join("&")};e.a=p},function(t,e,r){function n(t,e){var r=-1,n=i(t)?Array(t.length):[];return o(t,function(t,o,i){n[++r]=e(t,o,i)}),n}var o=r(73),i=r(9);t.exports=n},function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e1?t:t.res&&401===t.res.status&&e.refresh_token?Object(f.a)([new h.a,new m.a].concat(n(i.auth.token)))({params:{client_id:r,grant_type:"refresh_token",refresh_token:e.refresh_token},tokenStore:o}).then(function(e){var r=e.authToken;return s({},t,{authToken:r,enterQueue:c,error:null})}).catch(function(e){return s({},t,{refreshTokenRetry:{retryQueue:c,attempts:u,res:e.response}})}):t}}]),t}()},function(t,e,r){"use strict";function n(t){return a(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e1?t:t.res&&401===t.res.status?Object(f.a)([new h.a,new m.a].concat(n(o.auth.token)))({params:{client_id:e,grant_type:"client_credentials",scope:"public-read"},tokenStore:r}).then(function(e){var r=e.authToken;return s({},t,{authToken:r,enterQueue:a,error:null})}):t}}]),t}()},function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;e=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function c(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r-1?c[s?e[u]:u]:void 0}}var o=r(10),i=r(9),a=r(19);t.exports=n},function(t,e,r){function n(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var s=null==r?0:a(r);return s<0&&(s=c(n+s,0)),o(t,i(e,3),s)}var o=r(75),i=r(10),a=r(228),c=Math.max;t.exports=n},function(t,e,r){function n(t){var e=o(t),r=e%1;return e===e?r?e-r:e:0}var o=r(229);t.exports=n},function(t,e,r){function n(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*a}return t===t?t:0}var o=r(230),i=1/0,a=1.7976931348623157e308;t.exports=n},function(t,e,r){function n(t){if("number"==typeof t)return t;if(a(t))return c;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var r=u.test(t);return r||g.test(t)?p(t.slice(2),r?2:8):s.test(t)?c:+t}var o=r(231),i=r(6),a=r(14),c=NaN,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,g=/^0o[0-7]+$/i,p=parseInt;t.exports=n},function(t,e,r){function n(t){return t?t.slice(0,o(t)+1).replace(i,""):t}var o=r(76),i=/^\s+/;t.exports=n},function(t,e){function r(t){for(var e=-1,r=null==t?0:t.length,n={};++et||1342177279>>=1)&&(e+=e);return r}},"es6-impl","es3"),$jscomp.SYMBOL_PREFIX="jscomp_symbol_",$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){},$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)},$jscomp.symbolCounter_=0,$jscomp.Symbol=function(t){return $jscomp.SYMBOL_PREFIX+(t||"")+$jscomp.symbolCounter_++},$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var t=$jscomp.global.Symbol.iterator;t||(t=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&$jscomp.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}}),$jscomp.initSymbolIterator=function(){}},$jscomp.arrayIterator=function(t){var e=0;return $jscomp.iteratorPrototype(function(){return e<\/script>')},goog.appendScriptSrcNode_=function(t){var e=goog.global.document,r=e.createElement("script");r.type="text/javascript",r.src=t,r.defer=!1,r.async=!1,e.head.appendChild(r)},goog.writeScriptTag_=function(t,e){if(goog.inHtmlDocument_()){var r=goog.global.document;if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&"complete"==r.readyState){if(/\bdeps.js$/.test(t))return!1;throw Error('Cannot write "'+t+'" after document load')}if(void 0===e)if(goog.IS_OLD_IE_){goog.oldIeWaiting_=!0;var n=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' ";r.write('