1/*! For license information please see 452980066e171a5651e27936141c7bdc04432f00-3f5560c90aaab43157fd.js.LICENSE.txt */ 2(self.webpackChunkhammarby=self.webpackChunkhammarby||[]).push([[7199],{65258:function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(c){a=!0,o=c}finally{try{s||null==r.return||r.return()}finally{if(a)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(24852),s=r(15092),a=s.map,c=s.filter,u=r(93202),f=r(42947);function l(t){this.client=t}function p(t,e){return"undefined"!=typeof window&&e instanceof window.File?i({filename:!1===t.preserveFilename?void 0:e.name,contentType:e.type},t):t}i(l.prototype,{upload:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};f.validateAssetType(t);var n=r.extract||void 0;n&&!n.length&&(n=["none"]);var o=f.hasDataset(this.client.clientConfig),i="image"===t?"images":"files",s=p(r,e),u=s.tag,l=s.label,h=s.title,d=s.description,y=s.creditLine,b=s.filename,v=s.source,g={label:l,title:h,description:d,filename:b,meta:n,creditLine:y};v&&(g.sourceId=v.id,g.sourceName=v.name,g.sourceUrl=v.url);var m=this.client._requestObservable({tag:u,method:"POST",timeout:s.timeout||0,uri:"/assets/".concat(i,"/").concat(o),headers:s.contentType?{"Content-Type":s.contentType}:{},query:g,body:e});return this.client.isPromiseAPI()?m.pipe(c((function(t){return"response"===t.type})),a((function(t){return t.body.document}))).toPromise():m},delete:function(t,e){console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");var r=e||"";return/^(image|file)-/.test(r)?t._id&&(r=t._id):r="".concat(t,"-").concat(r),f.hasDataset(this.client.clientConfig),this.client.delete(r)},getImageUrl:function(t,e){var r=t._ref||t;if("string"!=typeof r)throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(r))throw new Error('Unsupported asset ID "'.concat(r,'". URL generation only works for auto-generated IDs.'));var o=n(r.split("-"),4),i=o[1],s=o[2],a=o[3];f.hasDataset(this.client.clientConfig);var c=this.client.clientConfig,l=c.projectId,p=c.dataset,h=e?u(e):"";return"https://cdn.sanity.io/images/".concat(l,"/").concat(p,"/").concat(i,"-").concat(s,".").concat(a).concat(h)}}),t.exports=l},76586:function(t,e,r){"use strict";function n(t){this.client=t}r(24852)(n.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}}),t.exports=n},79895:function(t,e,r){"use strict";var n=r(24852),o=r(2913),i=r(42947),s=r(1356),a={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},c=["localhost","127.0.0.1","0.0.0.0"];e.defaultConfig=a,e.initConfig=function(t,r){var u=n({},r,t);u.apiVersion||s.printNoApiVersionSpecifiedWarning();var f=n({},a,u),l=f.useProjectHostname;if("undefined"==typeof Promise){var p=o("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(p))}if(l&&!f.projectId)throw new Error("Configuration must contain `projectId`");var h="undefined"!=typeof window&&window.location&&window.location.hostname,d=h&&function(t){return-1!==c.indexOf(t)}(window.location.hostname);h&&d&&f.token&&!0!==f.ignoreBrowserTokenWarning?s.printBrowserTokenWarning():void 0===f.useCdn&&s.printCdnWarning(),l&&i.projectId(f.projectId),f.dataset&&i.dataset(f.dataset),"requestTagPrefix"in f&&(f.requestTagPrefix=f.requestTagPrefix?i.requestTag(f.requestTagPrefix).replace(/\.+$/,""):void 0),f.apiVersion="".concat(f.apiVersion).replace(/^v/,""),f.isDefaultApi=f.apiHost===a.apiH
2ost,f.useCdn=Boolean(f.useCdn)&&!f.withCredentials,e.validateApiVersion(f.apiVersion);var y=f.apiHost.split("://",2),b=y[0],v=y[1],g=f.isDefaultApi?"apicdn.sanity.io":v;return f.useProjectHostname?(f.url="".concat(b,"://").concat(f.projectId,".").concat(v,"/v").concat(f.apiVersion),f.cdnUrl="".concat(b,"://").concat(f.projectId,".").concat(g,"/v").concat(f.apiVersion)):(f.url="".concat(f.apiHost,"/v").concat(f.apiVersion),f.cdnUrl=f.url),f},e.validateApiVersion=function(t){if("1"!==t&&"X"!==t){var e=new Date(t);if(!(/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}},51078:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(24852),i=r(15092),s=i.map,a=i.filter,c=r(42947),u=r(47054),f=r(46102),l=r(70485),p=r(95770),h=r(5420),d=function(t,e){return!1===t?void 0:void 0===t?e:t},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:d(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},b=function(t){return"response"===t.type},v=function(t){return t.body},g=function(t,e){return t.reduce((function(t,r){return t[e(r)]=r,t}),Object.create(null))},m=function(t){return t.toPromise()};t.exports={listen:h,getDataUrl:function(t,e){var r=this.clientConfig,n=c.hasDataset(r),o="/".concat(t,"/").concat(n),i=e?"".concat(o,"/").concat(e):o;return"/data".concat(i).replace(/\/($|\?)/,"$1")},fetch:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!1===r.filterResponse?function(t){return t}:function(t){return t.result},o=this._dataRequest("query",{query:t,params:e},r).pipe(s(n));return this.isPromiseAPI()?m(o):o},getDocument:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={uri:this.getDataUrl("doc",t),json:!0,tag:e.tag},n=this._requestObservable(r).pipe(a(b),s((function(t){return t.body.documents&&t.body.documents[0]})));return this.isPromiseAPI()?m(n):n},getDocuments:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:e.tag},n=this._requestObservable(r).pipe(a(b),s((function(e){var r=g(e.body.documents||[],(function(t){return t._id}));return t.map((function(t){return r[t]||null}))})));return this.isPromiseAPI()?m(n):n},create:function(t,e){return this._create(t,"create",e)},createIfNotExists:function(t,e){return c.requireDocumentId("createIfNotExists",t),this._create(t,"createIfNotExists",e)},createOrReplace:function(t,e){return c.requireDocumentId("createOrReplace",t),this._create(t,"createOrReplace",e)},patch:function(t,e){return new p(t,e,this)},delete:function(t,e){return this.dataRequest("mutate",{mutations:[{delete:u(t)}]},e)},mutate:function(t,e){var r=t instanceof p||t instanceof l?t.serialize():t,n=Array.isArray(r)?r:[r],o=e&&e.transactionId;return this.dataRequest("mutate",{mutations:n,transactionId:o},e)},transaction:function(t){return new l(t,this)},dataRequest:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this._dataRequest(t,e,r);return this.isPromiseAPI()?m(n):n},_dataRequest:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="mutate"===t,i="query"===t,c=!o&&f(e),u=!o&&c.length<11264,l=u?c:"",p=r.returnFirst,h=r.timeout,d=r.token,g=r.tag,m=r.headers,w=this.getDataUrl(t,l),_={method:u?"GET":"POST",uri:w,json:!0,body:u?void 0:e,query:o&&y(r),timeout:h,headers:m,token:d,tag:g,canUseCdn:i};return this._requestObservable(_).pipe(a(b),s(v),s((function(t){if(!o)return t;var e=t.results||[];if(r.returnDocuments)return p?e[0]&&e[0].document:e.map((function(t){return t.document}));var i=p?"documentId":"documentIds",s=p?e[0]&&e[0].id:e.map((function(t){return t.id}));return n({transactionId:t.transactionId,results:e},i,s)})))},_create:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n({},e,t),s=o({returnFirst:!0,returnDocuments:!0},r);return this.dataRequest("mutate",{mutations:[i]},s)}}},46102:function(t){"use strict";var e=["tag"];function r(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var n=encodeURIComponent;t.exports=function(t){var o=t.query,i=t.params,s=void 0===i?{}:i,a=t.options,c=void 0===a?{}
2:a,u=c.tag,f=r(c,e),l="query=".concat(n(o)),p=u?"?tag=".concat(n(u),"&").concat(l):"?".concat(l),h=Object.keys(s).reduce((function(t,e){return"".concat(t,"&").concat(n("$".concat(e)),"=").concat(n(JSON.stringify(s[e])))}),p);return Object.keys(f).reduce((function(t,e){return c[e]?"".concat(t,"&").concat(n(e),"=").concat(n(c[e])):t}),h)}},5420: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<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(24852),a=r(15092).Observable,c=r(21982),u=r(88201),f=r(9119),l=r(46102),p=c,h=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],d={includeResult:!0};function y(t){try{var e=t.data&&JSON.parse(t.data)||{};return s({type:t.type},e)}catch(r){return r}}function b(t){if(t instanceof Error)return t;var e=y(t);return e instanceof Error?e:new Error(function(t){if(!t.error)return t.message||"Unknown listener error";if(t.error.description)return t.error.description;return"string"==typeof t.error?t.error:JSON.stringify(t.error,null,2)}(e))}t.exports=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.clientConfig,i=n.url,s=n.token,c=n.withCredentials,v=n.requestTagPrefix,g=r.tag&&v?[v,r.tag].join("."):r.tag,m=o(o({},f(r,d)),{},{tag:g}),w=u(m,h),_=l({query:t,params:e,options:w,tag:g}),E="".concat(i).concat(this.getDataUrl("listen",_));if(E.length>14800)return new a((function(t){return t.error(new Error("Query too large for listener"))}));var O=m.events?m.events:["mutation"],x=-1!==O.indexOf("reconnect"),S={};return(s||c)&&(S.withCredentials=!0),s&&(S.headers={Authorization:"Bearer ".concat(s)}),new a((function(t){var e,r=u(),n=!1;function o(){n||(x&&t.next({type:"reconnect"}),n||r.readyState===p.CLOSED&&(c(),clearTimeout(e),e=setTimeout(f,100)))}function i(e){t.error(b(e))}function s(e){var r=y(e);return r instanceof Error?t.error(r):t.next(r)}function a(e){n=!0,c(),t.complete()}function c(){r.removeEventListener("error",o,!1),r.removeEventListener("channelError",i,!1),r.removeEventListener("disconnect",a,!1),O.forEach((function(t){return r.removeEventListener(t,s,!1)})),r.close()}function u(){var t=new p(E,S);return t.addEventListener("error",o,!1),t.addEventListener("channelError",i,!1),t.addEventListener("disconnect",a,!1),O.forEach((function(e){return t.addEventListener(e,s,!1)})),t}function f(){r=u()}return function(){n=!0,c()}}))}},95770:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(24852),i=r(47054),s=r(42947),a=s.validateObject,c=s.validateInsert;function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.selection=t,this.operations=o({},e),this.client=r}o(u.prototype,{clone:function(){return new u(this.selection,o({},this.operations),this.client)},set:function(t){return this._assign("set",t)},diffMatchPatch:function(t){return a("diffMatchPatch",t),this._assign("diffMatchPatch",t)},unset:function(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=o({},this.operations,{unset:t}),this},setIfMissing:function(t){return this._assign("setIfMissing",t)},replace:function(t){return a("replace",t),this._set("set",{$:t})},inc:function(t){return this._assign("inc",t)},dec:function(t){return this._assign("dec",t)},insert:function(t,e,r){var o;return c(t,e,r),this._assign("insert",(n(o={},t,e),n(o,"items",r),o))},append:function(t,e){return this.insert("after","".concat(t,"[-1]"),e)},prepend:function(t,e){return this.insert("before","".concat(t,"[0]"),e)},splice:function(t,e,r,n){var o=e<0?e-1:e,i=void 0===r||-1===r?-1:Math.max(0,e+r),s=o<0&&i>=0?"":i,a="".concat(t,"[").concat(o,":").concat(s,"]");return this.insert("replace",a,n||[])},ifRevisionId:function(t){return this.operations.ifRevisionID=t,this},serialize:function(){return o(i(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var e="string"==typeof this.selection,r=o({returnFirst:e,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},r)},reset:function(){return this.operations={},this},_set:function(t,e){return this._assign(t,e,!1)},_assign:function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a(t,e),this.operations=o({},this.operations,n({},t,o({},r&&this.operations[t]||{},e))),this}}),t.exports=u},70485:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(24852),i=r(42947),s=r(95770),a={returnDocuments:!1};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;this.trxId=r,this.operations=t,this.client=e}o(c.prototype,{clone:function(){return new c(this.operations.slice(0),this.client,this.trxId)},create:function(t){return i.validateObject("create",t),this._add({create:t})},createIfNotExists:function(t){var e="createIfNotExists";return i.validateObject(e,t),i.requireDocumentId(e,t),this._add(n({},e,t))},createOrReplace:function(t){var e="createOrReplace";return i.validateObject(e,t),i.requireDocumentId(e,t),this._add(n({},e,t))},delete:function(t){return i.validateDocumentId("delete",t),this._add({delete:{id:t}})},patch:function(t,e){var r="function"==typeof e;if(t instanceof s)return this._add({patch:t.serialize()});if(r){var n=e(new s(t,{},this.client));if(!(n instanceof s))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:o({id:t},e)})},transactionId:function(t){return t?(this.trxId=t,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(t){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),o({transactionId:this.trxId},a,t||{}))},reset:function(){return this.operations=[],this},_add:function(t){return this.operations.push(t),this}}),t.exports=c},38288:function(t,e,r){"use strict";var n=r(24852),o=r(42947);function i(t){this.request=t.request.bind(t)}n(i.prototype,{create:function(t,e){return this._modify("PUT",t,e)},edit:function(t,e){return this._modify("PATCH",t,e)},delete:function(t){return this._modify("DELETE",t)},list:function(){return this.request({uri:"/datasets"})},_modify:function(t,e,r){return o.dataset(e),this.request({method:t,uri:"/datasets/".concat(e),body:r})}}),t.exports=i},2913:function(t){"use strict";
2t.exports=function(t){return"https://docs.sanity.io/help/"+t}},61708:function(t){"use strict";t.exports=[]},52288:function(t,e,r){"use strict";var n=r(81432),o=r(24852);function i(t){var e=a(t);i.super.call(this,e.message),o(this,e)}function s(t){var e=a(t);s.super.call(this,e.message),o(this,e)}function a(t){var e=t.body,r={response:t,statusCode:t.statusCode,responseBody:c(e,t)};return e.error&&e.message?(r.message="".concat(e.error," - ").concat(e.message),r):e.error&&e.error.description?(r.message=e.error.description,r.details=e.error,r):(r.message=e.error||e.message||function(t){var e=t.statusMessage?" ".concat(t.statusMessage):"";return"".concat(t.method,"-request to ").concat(t.url," resulted in HTTP ").concat(t.statusCode).concat(e)}(t),r)}function c(t,e){return-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(t,null,2):t}n(i),n(s),e.ClientError=i,e.ServerError=s},93202:function(t){"use strict";t.exports=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push("".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t[r])));return e.length>0?"?".concat(e.join("&")):""}},67343:function(t,e,r){"use strict";var n=r(46258),o=r(24852),i=r(6890),s=r(63366),a=r(68362),c=r(95018),u=r(15092).Observable,f=r(52288),l=f.ClientError,p=f.ServerError,h={onResponse:function(t){if(t.statusCode>=500)throw new p(t);if(t.statusCode>=400)throw new l(t);return t}},d={onResponse:function(t){var e=t.headers["x-sanity-warning"];return(Array.isArray(e)?e:[e]).filter(Boolean).forEach((function(t){return console.warn(t)})),t}},y=n(r(61708).concat([d,s(),a(),c(),h,i({implementation:u})]));function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;return e(o({maxRedirects:0},t))}b.defaultRequester=y,b.ClientError=l,b.ServerError=p,t.exports=b},93914:function(t,e,r){"use strict";var n=r(24852),o="X-Sanity-Project-ID";t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},i=e.token||t.token;i&&(r.Authorization="Bearer ".concat(i)),e.useGlobalApi||t.useProjectHostname||!t.projectId||(r[o]=t.projectId);var s=Boolean(void 0===e.withCredentials?t.token||t.withCredentials:e.withCredentials),a=void 0===e.timeout?t.timeout:e.timeout;return n({},e,{headers:n({},r,e.headers||{}),timeout:void 0===a?3e5:a,proxy:e.proxy||t.proxy,json:!0,withCredentials:s})}},17015:function(t,e,r){"use strict";function n(t){this.client=t}r(24852)(n.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(t){return this.client.request({uri:"/projects/".concat(t)})}}),t.exports=n},59729: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<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(24852),a=r(15092),c=a.Observable,u=a.map,f=a.filter,l=r(95770),p=r(70485),h=r(51078),d=r(38288),y=r(17015),b=r(65258),v=r(91102),g=r(76586),m=r(67343),w=r(93914),_=r(79895),E=_.defaultConfig,O=_.initConfig,x=r(42947);function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E;if(!(this instanceof S))return new S(t);if(this.config(t),this.assets=new b(this),this.datasets=new d(this),this.projects=new y(this),this.users=new v(this),this.auth=new g(this),this.clientConfig.isPromiseAPI){var e=s({},this.clientConfig,{isPromiseAPI:!1});this.observable=new S(e)}}s(S.prototype,h),s(S.prototype,{clone:function(){return new S(this.config())},config:function(t){if(void 0===t)return s({},this.clientConfig);if(this.clientConfig&&!1===this.clientConfig.allowReconfigure)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){var e=s({},t,{isPromiseAPI:!1});this.observable.config(e)}return this.clientConfig=O(t,this.clientConfig||{}),this},withConfig:function(t){return new S(o(o({},this.config()),t))},getUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(r,"/").concat(t.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(t){var e=this,r=t.url||t.uri,n=void 0===t.canUseCdn?["GET","HEAD"].indexOf(t.method||"GET")>=0&&0===r.indexOf("/data/"):t.canUseCdn,i=this.clientConfig.useCdn&&n,a=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;a&&(t.query=o({tag:x.requestTag(a)},t.query));var u=w(this.clientConfig,s({},t,{url:this.getUrl(r,i)}));return new c((function(t){return m(u,e.clientConfig.requester).subscribe(t)}))},request:function(t){var e=this._requestObservable(t).pipe(f((function(t){return"response"===t.type})),u((function(t){return t.body})));return this.isPromiseAPI()?function(t){return t.toPromise()}(e):e}}),S.Patch=l,S.Transaction=p,S.ClientError=m.ClientError,S.ServerError=m.ServerError,S.requester=m.defaultRequester,t.exports=S},91102:function(t,e,r){"use strict";function n(t){this.client=t}r(24852)(n.prototype,{getById:function(t){return this.client.request({uri:"/users/".concat(t)})}}),t.exports=n},9119:function(t){"use strict";
2t.exports=function(t,e){return Object.keys(e).concat(Object.keys(t)).reduce((function(r,n){return r[n]=void 0===t[n]?e[n]:t[n],r}),{})}},47054:function(t){"use strict";t.exports=function(t){if("string"==typeof t||Array.isArray(t))return{id:t};if(t&&t.query)return"params"in t?{query:t.query,params:t.params}:{query:t.query};var e=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join("\n");throw new Error("Unknown selection - must be one of:\n\n".concat(e))}},15092:function(t,e,r){"use strict";var n=r(12837).Observable,o=r(57224).filter,i=r(48359).map;t.exports={Observable:n,filter:o,map:i}},27826:function(t){"use strict";t.exports=function(t){var e,r=!1;return function(){return r||(e=t.apply(void 0,arguments),r=!0),e}}},88201:function(t){"use strict";t.exports=function(t,e){return e.reduce((function(e,r){return void 0===t[r]||(e[r]=t[r]),e}),{})}},42947:function(t,e){"use strict";function r(t){return r="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},r(t)}var n=["image","file"],o=["before","after","replace"];e.dataset=function(t){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e.projectId=function(t){if(!/^[-a-z0-9]+$/i.test(t))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},e.validateAssetType=function(t){if(-1===n.indexOf(t))throw new Error("Invalid asset type: ".concat(t,". Must be one of ").concat(n.join(", ")))},e.validateObject=function(t,e){if(null===e||"object"!==r(e)||Array.isArray(e))throw new Error("".concat(t,"() takes an object of properties"))},e.requireDocumentId=function(t,r){if(!r._id)throw new Error("".concat(t,'() requires that the document contains an ID ("_id" property)'));e.validateDocumentId(t,r._id)},e.validateDocumentId=function(t,e){if("string"!=typeof e||!/^[a-z0-9_.-]+$/i.test(e))throw new Error("".concat(t,'(): "').concat(e,'" is not a valid document ID'))},e.validateInsert=function(t,e,r){var n="insert(at, selector, items)";if(-1===o.indexOf(t)){var i=o.map((function(t){return'"'.concat(t,'"')})).join(", ");throw new Error("".concat(n,' takes an "at"-argument which is one of: ').concat(i))}if("string"!=typeof e)throw new Error("".concat(n,' takes a "selector"-argument which must be a string'));if(!Array.isArray(r))throw new Error("".concat(n,' takes an "items"-argument which must be an array'))},e.hasDataset=function(t){if(!t.dataset)throw new Error("`dataset` must be provided to perform queries");return t.dataset||""},e.requestTag=function(t){if("string"!=typeof t||!/^[a-z0-9._-]{1,75}$/i.test(t))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t}},1356:function(t,e,r){"use strict";var n=r(2913),o=r(27826),i=function(t){return o((function(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=console).warn.apply(e,[t.join(" ")].concat(n))}))};e.printCdnWarning=i(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and","cheaper. Think about it! For more info, see ".concat(n("js-client-cdn-configuration"),"."),"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),e.printBrowserTokenWarning=i(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(n("js-client-browser-token")," for more information and how to hide this warning.")]),e.printNoApiVersionSpecifiedWarning=i(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(n("js-client-api-version"))])},21982:function(t,e,r){var n=r(88541);t.exports=n.EventSourcePolyfill},88541:function(t,e){var r,n,o;!function(i){"use strict";var s=i.setTimeout,a=i.clearTimeout,c=i.XMLHttpRequest,u=i.XDomainRequest,f=i.ActiveXObject,l=i.EventSource,p=i.document,h=i.Promise,d=i.fetch,y=i.Response,b=i.TextDecoder,v=i.TextEncoder,g=i.AbortController;if("undefined"==typeof window||void 0===p||"readyState"in p||null!=p.body||(p.readyState="loading",window.addEventListener("load",(function(t){p.readyState="complete"}),!1)),null==c&&null!=f&&(c=function(){return new f("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==g){var m=d;d=function(t,e){var r=e.signal;return m(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then((function(t){var e=t.body.getReader();return r._reader=e,r._aborted&&r._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}}))},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function w(){this.bitsNeeded=0,this.codePoint=0}w.prototype.decode=function(t){function e(t,e,r){if(1===r)return t>=128>>e&&t<<e<=2047;if(2===r)return t>=2048>>e&&t<<e<=55295||t>=57344>>e&&t<<e<=65535;if(3===r)return t>=65536>>e&&t<<e<=1114111;throw new Error}function r(t,e){if(6===t)return e>>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var n=65533,o="",i=this.bitsNeeded,s=this.codePoint,a=0;a<t.length;a+=1){var c=t[a];0!==i&&(c<128||c>191||!e(s<<6|63&c,i-6,r(i,s)))&&(i=0,s=n,o+=String.fromCharCode(s)),0===i?(c>=0&&c<=127?(i=0,s=c):c>=192&&c<=223?(i=6,s=31&c):c>=224&&c<=239?(i=12,s=15&c):c>=240&&c<=247?(i=18,s=7&c):(i=0,s=n),0===i||e(s,i,r(i,s))||(i=0,s=n)):(i-=6,s=s<<6|63&c),0===i&&(s<=65535?o+=String.fromCharCode(s):(o+=String.fromCharCode(55296+(s-65535-1>>10)),o+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=s,o};null!=b&&null!=v&&function(){try{return"test"===(new b).decode((new v).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(b=w);var _=function(){};function E(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=_,this.onload=_,this.onerror=_,this.onreadystatechange=_,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=_}function O(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function x(t){for(var e=Object.create(null),r=t.split("\r\n"),n=0;n<r.length;n+=1){var o=r[n].split(": "),i=o.shift(),s=o.join(": ");e[O(i)]=s}this._map=e}function S(){}function C(t){this._headers=t}function j(){}function T(){this._listeners=Object.create(null)}function P(t){s((function(){throw t}),0)}function A(t){this.type=t,this.target=void 0}function I(t,e){A.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function R(t,e){A.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function q(t,e){A.call(this,t),this.error=e.error}E.prototype.open=function(t,e){this._abort(!0);var r=this,n=this._xhr,o=1,i=0;this._abort=function(t){0!==r._sendTimeout&&(a(r._sendTimeout),r._sendTimeout=0),1!==o&&2!==o&&3!==o||(o=4,n.onload=_,n.onerror=_,n.onabort=_,n.onprogress=_,n.onreadystatechange=_,n.abort(),0!==i&&(a(i),i=0),t||(r.readyState=4,r.onabort(null),r.onreadystatechange())),o=0};var u=function(){if(1===o){var t=0,e="",i=void 0;if("contentType"in n)t=200,e="OK",i=n.contentType;else try{t=n.status,e=n.statusText,i=n.getResponseHeader("Content-Type")}catch(s){t=0,e="",i=void 0}0!==t&&(o=2,r.readyState=2,r.status=t,r.statusText=e,r._contentType=i,r.onreadystatechange())}},f=function(){if(u(),2===o||3===o){o=3;var t="";try{t=n.responseText}catch(e){}r.readyState=3,r.responseText=t,r.onprogress()}},l=function(t,e){if(null!=e&&null!=e.preventDefault||(e={preventDefault:_}),f(),1===o||2===o||3===o){if(o=4,0!==i&&(a(i),i=0),r.readyState=4,"load"===t)r.onload(e);else if("error"===t)r.onerror(e);else{if("abort"!==t)throw new TypeError;r.onabort(e)}r.onreadystatechange()}},p=function(){i=s((function(){p()}),500),3===n.readyState&&f()};
2"onload"in n&&(n.onload=function(t){l("load",t)}),"onerror"in n&&(n.onerror=function(t){l("error",t)}),"onabort"in n&&(n.onabort=function(t){l("abort",t)}),"onprogress"in n&&(n.onprogress=f),"onreadystatechange"in n&&(n.onreadystatechange=function(t){!function(t){null!=n&&(4===n.readyState?"onload"in n&&"onerror"in n&&"onabort"in n||l(""===n.responseText?"error":"load",t):3===n.readyState?"onprogress"in n||f():2===n.readyState&&u())}(t)}),!("contentType"in n)&&"ontimeout"in c.prototype||(e+=(-1===e.indexOf("?")?"?":"&")+"padding=true"),n.open(t,e,!0),"readyState"in n&&(i=s((function(){p()}),0))},E.prototype.abort=function(){this._abort(!1)},E.prototype.getResponseHeader=function(t){return this._contentType},E.prototype.setRequestHeader=function(t,e){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(t,e)},E.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},E.prototype.send=function(){if("ontimeout"in c.prototype&&("sendAsBinary"in c.prototype||"mozAnon"in c.prototype)||null==p||null==p.readyState||"complete"===p.readyState){var t=this._xhr;"withCredentials"in t&&(t.withCredentials=this.withCredentials);try{t.send(void 0)}catch(r){throw r}}else{var e=this;e._sendTimeout=s((function(){e._sendTimeout=0,e.send()}),4)}},x.prototype.get=function(t){return this._map[O(t)]},null!=c&&null==c.HEADERS_RECEIVED&&(c.HEADERS_RECEIVED=2),S.prototype.open=function(t,e,r,n,o,i,s){t.open("GET",o);var a=0;for(var u in t.onprogress=function(){var e=t.responseText.slice(a);a+=e.length,r(e)},t.onerror=function(t){t.preventDefault(),n(new Error("NetworkError"))},t.onload=function(){n(null)},t.onabort=function(){n(null)},t.onreadystatechange=function(){if(t.readyState===c.HEADERS_RECEIVED){var r=t.status,n=t.statusText,o=t.getResponseHeader("Content-Type"),i=t.getAllResponseHeaders();e(r,n,o,new x(i))}},t.withCredentials=i,s)Object.prototype.hasOwnProperty.call(s,u)&&t.setRequestHeader(u,s[u]);return t.send(),t},C.prototype.get=function(t){return this._headers.get(t)},j.prototype.open=function(t,e,r,n,o,i,s){var a=null,c=new g,u=c.signal,f=new b;return d(o,{headers:s,credentials:i?"include":"same-origin",signal:u,cache:"no-store"}).then((function(t){return a=t.body.getReader(),e(t.status,t.statusText,t.headers.get("Content-Type"),new C(t.headers)),new h((function(t,e){var n=function(){a.read().then((function(e){if(e.done)t(void 0);else{var o=f.decode(e.value,{stream:!0});r(o),n()}})).catch((function(t){e(t)}))};n()}))})).catch((function(t){return"AbortError"===t.name?void 0:t})).then((function(t){n(t)})),{abort:function(){null!=a&&a.cancel(),c.abort()}}},T.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(null!=e)for(var r=e.length,n=0;n<r;n+=1){var o=e[n];try{"function"==typeof o.handleEvent?o.handleEvent(t):o.call(this,t)}catch(i){P(i)}}},T.prototype.addEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];null==n&&(n=[],r[t]=n);for(var o=!1,i=0;i<n.length;i+=1)n[i]===e&&(o=!0);o||n.push(e)},T.prototype.removeEventListener=function(t,e){t=String(t);var r=this._listeners,n=r[t];if(null!=n){for(var o=[],i=0;i<n.length;i+=1)n[i]!==e&&o.push(n[i]);0===o.length?delete r[t]:r[t]=o}},I.prototype=Object.create(A.prototype),R.prototype=Object.create(A.prototype),q.prototype=Object.create(A.prototype);var D=-1,k=-1,U=/^text\/event\-stream(;.*)?$/i,N=function(t,e){var r=null==t?e:parseInt(t,10);return r!=r&&(r=e),H(r)},H=function(t){return Math.min(Math.max(t,1e3),18e6)},M=function(t,e,r){try{"function"==typeof e&&e.call(t,r)}catch(n){P(n)}};function L(t,e){T.call(this),e=e||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(t,e,r){e=String(e);var n=Boolean(r.withCredentials),o=r.lastEventIdQueryParameterName||"lastEventId",i=H(1e3),f=N(r.heartbeatTimeout,45e3),l="",p=i,h=!1,d=0,y=r.headers||{},b=r.Transport,v=z&&null==b?void 0:new E(null!=b?new b:null!=c&&"withCredentials"in c.prototype||null==u?new c:new u),g=null!=b&&"string"!=typeof b?new b:null==v?new j:new S,m=void 0,w=0,_=D,O="",x="",C="",T="",P=0,A=0,L=0,V=function(e,r,n,o){if(0===_)if(200===e&&null!=n&&U.test(n)){_=1,h=Date.now(),p=i,t.readyState=1;var s=new R("open",{status:e,statusText:r,headers:o});t.dispatchEvent(s),M(t,t.onopen,s)}else{var a="";200!==e?(r&&(r=r.replace(/\s+/g," ")),a="EventSource's response has a status "+e+" "+r+" that is not 200. Aborting the connection."):a="EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",F();s=new R("error",{status:e,statusText:r,headers:o});t.dispatchEvent(s),M(t,t.onerror,s),console.error(a)}},B=function(e){if(1===_){for(var r=-1,n=0;n<e.length;n+=1){(u=e.charCodeAt(n))!=="\n".charCodeAt(0)&&u!=="\r".charCodeAt(0)||(r=n)}var o=(-1!==r?T:"")+e.slice(0,r+1);T=(-1===r?T:"")+e.slice(r+1),""!==e&&(h=Date.now(),d+=e.length);for(var c=0;c<o.length;
2c+=1){var u=o.charCodeAt(c);if(P===k&&u==="\n".charCodeAt(0))P=0;else if(P===k&&(P=0),u==="\r".charCodeAt(0)||u==="\n".charCodeAt(0)){if(0!==P){1===P&&(L=c+1);var y=o.slice(A,L-1),b=o.slice(L+(L<c&&o.charCodeAt(L)===" ".charCodeAt(0)?1:0),c);"data"===y?(O+="\n",O+=b):"id"===y?x=b:"event"===y?C=b:"retry"===y?(i=N(b,i),p=i):"heartbeatTimeout"===y&&(f=N(b,f),0!==w&&(a(w),w=s((function(){X()}),f)))}if(0===P){if(""!==O){l=x,""===C&&(C="message");var v=new I(C,{data:O.slice(1),lastEventId:x});if(t.dispatchEvent(v),"open"===C?M(t,t.onopen,v):"message"===C?M(t,t.onmessage,v):"error"===C&&M(t,t.onerror,v),2===_)return}O="",C=""}P=u==="\r".charCodeAt(0)?k:0}else 0===P&&(A=c,P=1),1===P?u===":".charCodeAt(0)&&(L=c+1,P=2):2===P&&(P=3)}}},$=function(e){if(1===_||0===_){_=D,0!==w&&(a(w),w=0),w=s((function(){X()}),p),p=H(Math.min(16*i,2*p)),t.readyState=0;var r=new q("error",{error:e});t.dispatchEvent(r),M(t,t.onerror,r),null!=e&&console.error(e)}},F=function(){_=2,null!=m&&(m.abort(),m=void 0),0!==w&&(a(w),w=0),t.readyState=2},X=function(){if(w=0,_===D){h=!1,d=0,w=s((function(){X()}),f),_=0,O="",C="",x=l,T="",A=0,L=0,P=0;var r=e;if("data:"!==e.slice(0,5)&&"blob:"!==e.slice(0,5)&&""!==l){var n=e.indexOf("?");r=-1===n?e:e.slice(0,n+1)+e.slice(n+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(t,e){return e===o?"":t})),r+=(-1===e.indexOf("?")?"?":"&")+o+"="+encodeURIComponent(l)}var i=t.withCredentials,a={Accept:"text/event-stream"},c=t.headers;if(null!=c)for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&&(a[u]=c[u]);try{m=g.open(v,V,B,$,r,i,a)}catch(y){throw F(),y}}else if(h||null==m){var p=Math.max((h||Date.now())+f-Date.now(),1);h=!1,w=s((function(){X()}),p)}else $(new Error("No activity within "+f+" milliseconds. "+(0===_?"No response received.":d+" chars received.")+" Reconnecting.")),null!=m&&(m.abort(),m=void 0)};t.url=e,t.readyState=0,t.withCredentials=n,t.headers=y,t._close=F,X()}(this,t,e)}var z=null!=d&&null!=y&&"body"in y.prototype;L.prototype=Object.create(T.prototype),L.prototype.CONNECTING=0,L.prototype.OPEN=1,L.prototype.CLOSED=2,L.prototype.close=function(){this._close()},L.CONNECTING=0,L.OPEN=1,L.CLOSED=2,L.prototype.withCredentials=void 0;var V=l;null==c||null!=l&&"withCredentials"in l.prototype||(V=L),function(i){if("object"==typeof t.exports){var s=i(e);void 0!==s&&(t.exports=s)}else n=[e],void 0===(o="function"==typeof(r=i)?r.apply(e,n):r)||(t.exports=o)}((function(t){t.EventSourcePolyfill=L,t.NativeEventSource=l,t.EventSource=V}))}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:this:globalThis)},72997:function(t,e,r){"use strict";const n=r(59729)({projectId:"8k2hu6rb",dataset:"production",apiVersion:"2021-03-25",token:"skmMVF6J85pkc7qOp33D33rmZRpp34lIDE6UV2B86Dzsj8NdaRKDjITNNpp5wHPIqinexRyQnSoynDGdJqvzqIGMrqWR1pa0d4uSAl9ENej23CqhlxyzfU6zcLMoI722N6ENsNh2Sj2mKAEnVZQcWGphCXG5TkkvlnyBnwxmkcB7KdSHKgjl",useCdn:!1});e.Z=n},46258:function(t,e,r){t.exports=r(28763)},28763:function(t,e,r){"use strict";var n=r(38749),o=r(46604),i=r(65734),s=r(15139),a=r(39825),c=["request","response","progress","error","abort"],u=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];t.exports=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,f=[],l=u.reduce((function(t,e){return t[e]=t[e]||[],t}),{processOptions:[i],validateOptions:[s]});function p(t){var e=c.reduce((function(t,e){return t[e]=n(),t}),{}),i=o(l),s=i("processOptions",t);i("validateOptions",s);var a={options:s,channels:e,applyMiddleware:i},u=null,f=e.request.subscribe((function(t){u=r(t,(function(r,n){return function(t,n,o){var s=t,a=n;if(!s)try{a=i("onResponse",n,o)}catch(r){a=null,s=r}s=s&&i("onError",s,o),s?e.error.publish(s):a&&e.response.publish(a)}(r,n,t)}))}));e.abort.subscribe((function(){f(),u&&u.abort()}));var p=i("onReturn",e,a);return p===e&&e.request.publish(a),p}return p.use=function(t){if(!t)throw new Error("Tried to add middleware that resolved to fal
2sey value");if("function"==typeof t)throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(t.onReturn&&l.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return u.forEach((function(e){t[e]&&l[e].push(t[e])})),f.push(t),p},p.clone=function(){return t(f)},e.forEach(p.use),p}},65734:function(t,e,r){"use strict";var n=r(24852),o=r(84564),i="undefined"!=typeof navigator&&"ReactNative"===navigator.product,s=Object.prototype.hasOwnProperty,a={timeout:i?6e4:12e4};function c(t){var e=[];for(var r in t)s.call(t,r)&&n(r,t[r]);return e.length?e.join("&"):"";function n(t,r){Array.isArray(r)?r.forEach((function(e){return n(t,e)})):e.push([t,r].map(encodeURIComponent).join("="))}}function u(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;var e=Number(t);return isNaN(e)?u(a.timeout):{connect:e,socket:e}}t.exports=function(t){var e="string"==typeof t?n({url:t},a):n({},a,t),r=o(e.url,{},!0);return e.timeout=u(e.timeout),e.query&&(r.query=n({},r.query,function(t){var e={};for(var r in t)void 0!==t[r]&&(e[r]=t[r]);return e}(e.query))),e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e.url=r.toString(c),e}},15139:function(t){"use strict";var e=/^https?:\/\//i;t.exports=function(t){if(!e.test(t.url))throw new Error('"'.concat(t.url,'" is not a valid URL'))}},63366: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},n(t)}var o=r(24852),i=r(55299),s=["boolean","string","number"];t.exports=function(){return{processOptions:function(t){var e,r=t.body;return r&&!("function"==typeof r.pipe)&&!((e=r).constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))&&(-1!==s.indexOf(n(r))||Array.isArray(r)||i(r))?o({},t,{body:JSON.stringify(t.body),headers:o({},t.headers,{"Content-Type":"application/json"})}):t}}}},68362:function(t,e,r){"use strict";var n=r(24852);function o(t){try{return JSON.parse(t)}catch(e){throw e.message="Failed to parsed response body as JSON: ".concat(e.message),e}}t.exports=function(t){return{onResponse:function(e){var r=e.headers["content-type"]||"",i=t&&t.force||-1!==r.indexOf("application/json");return e.body&&r&&i?n({},e,{body:o(e.body)}):e},processOptions:function(t){return n({},t,{headers:n({Accept:"application/json"},t.headers)})}}}},6890:function(t,e,r){"use strict";var n=r(53366),o=r(24852);t.exports=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.implementation||n.Observable;if(!e)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(t,r){return new e((function(e){return t.error.subscribe((function(t){return e.error(t)})),t.progress.subscribe((function(t){return e.next(o({type:"progress"},t))})),t.response.subscribe((function(t){e.next(o({type:"response"},t)),e.complete()})),t.request.publish(r),function(){return t.abort.publish()}}))}}}},54393:function(t){"use strict";t.exports=function(){return{onRequest:function(t){if("xhr"===t.adapter){var e=t.request,r=t.context;"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=n("upload")),"onprogress"in e&&(e.onprogress=n("download"))}function n(t){return function(e){var n=e.lengthComputable?e.loaded/e.total*100:-1;r.channels.progress.publish({stage:t,percent:n,total:e.total,loaded:e.loaded,lengthComputable:e.lengthComputable})}}}}}},95018:function(t,e,r){"use strict";t.exports=r(54393)},47288:function(t,e,r){"use strict";var n=r(47215),o=r(4947),i=r(56377),s="undefined"==typeof window?void 0:window,a=s?"xhr":"fetch",c="function"==typeof XMLHttpRequest?XMLHttpRequest:function(){},u="withCredentials"in new c,f="undefined"==typeof XDomainRequest?void 0:XDomainRequest,l=u?c:f;s||(c=i,l=i),t.exports=function(t,e){var r=t.options,i=t.applyMiddleware("finalizeOptions",r),u={},f=s&&s.location&&!n(s.location.href,i.url),p=t.applyMiddleware("interceptRequest",void 0,{adapter:a,context:t});if(p){var h=setTimeout(e,0,null,p);return{abort:function(){return clearTimeout(h)}}}var d=f?new l:new c,y=s&&s.XDomainRequest&&d instanceof s.XDomainRequest,b=i.headers,v=i.timeout,g=!1,m=!1,w=!1;if(d.onerror=x,d.ontimeout=x,d.onabort=function(){O(!0),g=!0},d.onprogress=function(){},d[y?"onload":"onreadystatechange"]=function(){!function(){if(!v)return;O(),u.socket=setTimeout((function(){return E("ESOCKETTIMEDOUT")}),v.socket)}(),g||4!==d.readyState&&!y||0!==d.status&&function(){if(g||m||w)return;if(0===d.status)return void x(new Error("Unknown XHR error"));O(),m=!0,e(null,function(){var t=d.status,e=d.statusText;if(y&&void 0===t)t=200;else{if(t>12e3&&t<12156)return x();t=1223===d.status?204:d.status,e=1223===d.status?"No Content":e}return{body:d.response||d.responseText,url:i.url,method:i.method,headers:y?{}:o(d.getAllResponseHeaders()),statusCode:t,statusMessage:e}}())}()},d.open(i.method,i.url,!0),d.withCredentials=!!i.withCredentials,b&&d.setRequestHeader)for(var _ in b)b.hasOwnProperty(_)&&d.setRequestHeader(_,b[_]);else if(b&&y)throw new Error("Headers cannot be set on an XDomainRequest object");return i.rawBody&&(d.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:i,adapter:a,request:d,c
2ontext:t}),d.send(i.body||null),v&&(u.connect=setTimeout((function(){return E("ETIMEDOUT")}),v.connect)),{abort:function(){g=!0,d&&d.abort()}};function E(e){w=!0,d.abort();var r=new Error("ESOCKETTIMEDOUT"===e?"Socket timed out on request to ".concat(i.url):"Connection timed out on request to ".concat(i.url));r.code=e,t.channels.error.publish(r)}function O(t){(t||g||d.readyState>=2&&u.connect)&&clearTimeout(u.connect),u.socket&&clearTimeout(u.socket)}function x(t){if(!m){O(!0),m=!0,d=null;var r=t||new Error("Network error while attempting to reach ".concat(i.url));r.isNetworkError=!0,r.request=i,e(r)}}}},56377:function(t){"use strict";function e(){this.readyState=0}e.prototype.open=function(t,e){this._method=t,this._url=e,this._resHeaders="",this.readyState=1,this.onreadystatechange()},e.prototype.abort=function(){this._controller&&this._controller.abort()},e.prototype.getAllResponseHeaders=function(){return this._resHeaders},e.prototype.setRequestHeader=function(t,e){this._headers=this._headers||{},this._headers[t]=e},e.prototype.send=function(t){var e=this,r=this._controller="function"==typeof AbortController&&new AbortController,n="arraybuffer"!==this.responseType,o={method:this._method,headers:this._headers,signal:r&&r.signal,body:t};"undefined"!=typeof window&&(o.credentials=this.withCredentials?"include":"omit"),fetch(this._url,o).then((function(t){return t.headers.forEach((function(t,r){e._resHeaders+="".concat(r,": ").concat(t,"\r\n")})),e.status=t.status,e.statusText=t.statusText,e.readyState=3,n?t.text():t.arrayBuffer()})).then((function(t){n?e.responseText=t:e.response=t,e.readyState=4,e.onreadystatechange()})).catch((function(t){"AbortError"!==t.name?e.onerror(t):e.onabort()}))},t.exports=e},39825:function(t,e,r){"use strict";t.exports=r(47288)},53366:function(t,e,r){"use strict";"undefined"!=typeof globalThis?t.exports=globalThis:"undefined"!=typeof window?t.exports=window:void 0!==r.g?t.exports=r.g:"undefined"!=typeof self?t.exports=self:t.exports={}},46604:function(t){"use strict";t.exports=function(t){return function(e,r){for(var n="onError"===e,o=r,i=arguments.length,s=new Array(i>2?i-2:0),a=2;a<i;a++)s[a-2]=arguments[a];for(var c=0;c<t[e].length;c++){var u=t[e][c];if(o=u.apply(void 0,[o].concat(s)),n&&!o)break}return o}}},55299:function(t,e,r){"use strict";var n=r(47798);function o(t){return!0===n(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,r;return!1!==o(t)&&("function"==typeof(e=t.constructor)&&(!1!==o(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")))}},47798:function(t){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},81432:function(t,e){"use strict";var r="undefined"!=typeof Reflect?Reflect.construct:void 0,n=Object.defineProperty,o=Error.captureStackTrace;function i(t){void 0!==t&&n(this,"message",{configurable:!0,value:t,writable:!0});var e=this.constructor.name;void 0!==e&&e!==this.name&&n(this,"name",{configurable:!0,value:e,writable:!0}),o(this,this.constructor)}void 0===o&&(o=function(t){var e=new Error;n(t,"stack",{configurable:!0,get:function(){var t=e.stack;return n(this,"stack",{configurable:!0,value:t,writable:!0}),t},set:function(e){n(t,"stack",{configurable:!0,value:e,writable:!0})}})}),i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var s=function(){function t(t,e){return n(t,"name",{configurable:!0,value:e})}try{var e=function(){};if(t(e,"foo"),"foo"===e.name)return t}catch(r){}}();e=t.exports=function(t,e){if(null==e||e===Error)e=i;else if("function"!=typeof e)throw new TypeError("super_ should be a function");var n;if("string"==typeof t)n=t,t=void 0!==r?function(){return r(e,arguments,this.constructor)}:function(){e.apply(this,arguments)},void 0!==s&&(s(t,n),n=void 0);else if("function"!=typeof t)throw new TypeError("constructor should be either a string or a function");t.super_=t.super=e;var o={constructor:{configurable:!0,value:t,writable:!0}};return void 0!==n&&(o.name={configurable:!0,value:n,writable:!0}),t.prototype=Object.create(e.prototype,o),t},e.BaseError=i},38749:function(t){t.exports=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}},publish:function(){for(var e=0;e<t.length;e++)t[e].apply(null,arguments)}}}},4947:function(t){var e=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var r,n={},o=e(t).split("\n"),i=0;i<o.length;i++){var s=o[i],a=s.indexOf(":"),c=e(s.slice(0,a)).toLowerCase(),u=e(s.slice(a+1));void 0===n[c]?n[c]=u:(r=n[c],"[object Array]"===Object.prototype.toString.call(r)?n[c].push(u):n[c]=[n[c],u])}return n}},57129:function(t,e){"use strict";var r=Object.prototype.hasOwnProperty;function n(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function o(t){try{return encodeURIComponent(t)}catch(e){return null}}e.stringify=function(t,e){e=e||"";var n,i,s=[];for(i in"string"!=typeof e&&(e="?"),t)if(r.call(t,i)){if((n=t[i])||null!=n&&!isNaN(n)||(n=""),i=o(i),n=o(n),null===i||null===n)continue;s.push(i+"="+n)}return s.length?e+s.join("&"):""},e.parse=function(t){for(var e,r=/([^=?#&]+)=?([^&]*)/g,o={};e=r.exec(t);){var i=n(e[1]),s=n(e[2]);null===i||null===s||i in o||(o[i]=s)}return o}},47418:function(t){"use strict";
2t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},12837:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(87481),o=r(73123),i=r(36079),s=r(28105),a=r(49079),c=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=o.toSubscriber(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.config.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),n.canReportError(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=u(e))((function(e,n){var o;o=r.subscribe((function(e){try{t(e)}catch(r){n(r),o&&o.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:s.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=u(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function u(t){if(t||(t=a.config.Promise||Promise),!t)throw new Error("no Promise impl found");return t}e.Observable=c},24556:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(49079),o=r(59219);e.empty={closed:!0,next:function(t){},error:function(t){if(n.config.useDeprecatedSynchronousErrorHandling)throw t;o.hostReportError(t)},complete:function(){}}},49454:function(t,e,r){"use strict";
2var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(71517),s=r(24556),a=r(30598),c=r(93188),u=r(49079),f=r(59219),l=function(t){function e(r,n,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=s.empty;break;case 1:if(!r){i.destination=s.empty;break}if("object"==typeof r){r instanceof e?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new p(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new p(i,r,n,o)}return i}return o(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,r,n){var o=new e(t,r,n);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(a.Subscription);e.Subscriber=l;var p=function(t){function e(e,r,n,o){var a,c=t.call(this)||this;c._parentSubscriber=e;var u=c;return i.isFunction(r)?a=r:r&&(a=r.next,n=r.error,o=r.complete,r!==s.empty&&(u=Object.create(r),i.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=o,c}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):f.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;f.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};u.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw r;f.hostReportError(r)}},e.prototype.__tryOrSetError=function(t,e,r){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(n){return u.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(f.hostReportError(n),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l);e.SafeSubscriber=p},30598:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(26835),o=r(57399),i=r(71517),s=r(33305),a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,f=r._unsubscribe,l=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof t)a.remove(this);else if(null!==a)for(var p=0;p<a.length;++p){a[p].remove(this)}if(i.isFunction(f)){u&&(this._unsubscribe=void 0);try{f.call(this)}catch(y){e=y instanceof s.UnsubscriptionError?c(y.errors):[y]}}if(n.isArray(l)){p=-1;for(var h=l.length;++p<h;){var d=l[p];if(o.isObject(d))try{d.unsubscribe()}catch(y){e=e||[],y instanceof s.UnsubscriptionError?e=e.concat(c(y.errors)):e.push(y)}}}if(e)throw new s.UnsubscriptionError(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof t){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)}),[])}e.Subscription=a},49079:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0});var r=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},57224:function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(49454);e.filter=function(t,e){return function(r){return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.predicate=r,o.thisArg=n,o.count=0,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}e&&this.destination.next(t)},e}(i.Subscriber)},48359:function(t,e,r){"use strict";
2var n,o=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(49454);e.map=function(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new s(t,e))}};var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}();e.MapOperator=s;var a=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.project=r,o.count=0,o.thisArg=n||o,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(i.Subscriber)},36079:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},93188:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),e.$$rxSubscriber=e.rxSubscriber},33305:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();e.UnsubscriptionError=r},87481:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(49454);e.canReportError=function(t){for(;t;){var e=t,r=e.closed,o=e.destination,i=e.isStopped;if(r||i)return!1;t=o&&o instanceof n.Subscriber?o:null}return!0}},59219:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hostReportError=function(t){setTimeout((function(){throw t}),0)}},80141:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.identity=function(t){return t}},26835:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},71517:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return"function"==typeof t}},57399:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return null!==t&&"object"==typeof t}},28105:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(80141);function o(t){return 0===t.length?n.identity:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}e.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)},e.pipeFromArray=o},73123:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(49454),o=r(93188),i=r(24556);e.toSubscriber=function(t,e,r){if(t){if(t instanceof n.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new n.Subscriber(t,e,r):new n.Subscriber(i.empty)}},47215:function(t,e,r){"use strict";var n=r(51471);t.exports=function(t,e,r){if(t===e)return!0;var o=n.parse(t,!1,!0),i=n.parse(e,!1,!0),s=0|o.port||("https"===o.protocol?443:80),a=0|i.port||("https"===i.protocol?443:80),c={proto:o.protocol===i.protocol,hostname:o.hostname===i.hostname,port:s===a};return c.proto&&c.hostname&&(c.port||r)}},51471:function(t){"use strict";var e=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/;t.exports={regex:e,parse:function(t){var r=e.exec(t);return r?{protocol:(r[1]||"").toLowerCase()||void 0,hostname:(r[5]||"").toLowerCase()||void 0,port:r[6]||void 0}:{}}}},84564:function(t,e,r){"use strict";var n=r(47418),o=r(57129),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,f=/^[a-zA-Z]:/;function l(t){return(t||"").toString().replace(i,"")}var p=[["#","hash"],["?","query"],function(t,e){return y(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],h={hash:1,query:1};function d(t){"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?r.g=self:r.g={};var e,n=r.g.location||{},o={},i=typeof(t=t||n);if("blob:"===t.protocol)o=new v(unescape(t.pathname),{});else if("string"===i)for(e in o=new v(t,{}),h)delete o[e];else if("object"===i){for(e in t)e in h||(o[e]=t[e]);void 0===o.slashes&&(o.slashes=a.test(t.href))}return o}function y(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function b(t,e){t=(t=l(t)).replace(s,""),e=e||{};var r,n=u.exec(t),o=n[1]?n[1].toLowerCase():"",i=!!n[2],a=!!n[3],c=0;return i?a?(r=n[2]+n[3]+n[4],c=n[2].length+n[3].length):(r=n[2]+n[4],c=n[2].length):a?(r=n[3]+n[4],c=n[3].length):r=n[4],"file:"===o?c>=2&&(r=r.slice(2)):y(o)?r=n[4]:o?i&&(r=r.slice(2)):c>=2&&y(e.protocol)&&(r=n[4]),{protocol:o,slashes:i||y(o),slashesCount:c,rest:r}}function v(t,e,r){if(t=(t=l(t)).replace(s,""),!(this instanceof v))return new v(t,e,r);var i,a,c,u,h,g,m=p.slice(),w=typeof e,_=this,E=0;for("object"!==w&&"string"!==w&&(r=e,e=null),r&&"function"!=typeof r&&(r=o.parse),i=!(a=b(t||"",e=d(e))).protocol&&!a.slashes,_.slashes=a.slashes||i&&e.slashes,_.protocol=a.protocol||e.protocol||"",t=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||f.test(t))||!a.slashes&&(a.protocol||a.slashesCount<2||!y(_.protocol)))&&(m[3]=[/(.*)/,"pathname"]);E<m.length;E++)"function"!=typeof(u=m[E])?(c=u[0],g=u[1],c!=c?_[g]=t:"string"==typeof c?~(h="@"===c?t.lastIndexOf(c):t.indexOf(c))&&("number"==typeof u[2]?(_[g]=t.slice(0,h),t=t.slice(h+u[2])):(_[g]=t.slice(h),t=t.slice(0,h))):(h=c.exec(t))&&(_[g]=h[1],t=t.slice(0,h.index)),_[g]=_[g]||i&&u[3]&&e[g]||"",u[4]&&(_[g]=_[g].toLowerCase())):t=u(t,_);r&&(_.query=r(_.query)),i&&e.slashes&&"/"!==_.pathname.charAt(0)&&(""!==_.pathname||""!==e.pathname)&&(_.pathname=function(t,e){if(""===t)return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,o=r[n-1],i=!1,s=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),s++):s&&(0===n&&(i=!0),r.splice(n,1),s--);return i&&r.unshift(""),"."!==o&&".."!==o||r.push(""),r.join("/")}(_.pathname,e.pathname)),"/"!==_.pathname.charAt(0)&&y(_.protocol)&&(_.pathname="/"+_.pathname),n(_.port,_.protocol)||(_.host=_.hostname,_.port=""),_.username=_.password="",_.auth&&(~(h=_.auth.indexOf(":"))?(_.username=_.auth.slice(0,h),_.username=encodeURIComponent(decodeURIComponent(_.username)),_.password=_.auth.slice(h+1),_.password=encodeURIComponent(decodeURIComponent(_.password))):_.username=encodeURIComponent(decodeURIComponent(_.auth)),_.auth=_.password?_.username+":"+_.password:_.username),_.origin="file:"!==_.protocol&&y(_.protocol)&&_.host?_.protocol+"//"+_.host:"null",_.href=_.toString()}v.prototype={set:function(t,e,r){var i=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(r||o.parse)(e)),i[t]=e;break;case"port":i[t]=e,n(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[t]="");break;case"hostname":i[t]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[t]=e,c.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!r;break;case"pathname":case"hash":if(e){var s="pathname"===t?"/":"#";i[t]=e.charAt(0)!==s?s+e:e}else i[t]=e;break;case"username":case"password":i[t]=encodeURIComponent(e);break;case"auth":var a=e.indexOf(":");~a?(i.username=e.slice(0,a),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(a+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var u=0;u<p.length;u++){var f=p[u];f[4]&&(i[f[1]]=i[f[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&y(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(t){t&&"function"==typeof t||(t=o.stringify);var e,r=this,n=r.host,i=r.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var s=i+(r.protocol&&r.slashes||y(r.protocol)?"//":"");return r.username?(s+=r.username,r.password&&(s+=":"+r.password),s+="@"):r.password?(s+=":"+r.password,s+="@"):"file:"!==r.protocol&&y(r.protocol)&&!n&&"/"!==r.pathname&&(s+="@"),(":"===n[n.length-1]||c.test(r.hostname)&&!r.port)&&(n+=":"),s+=n+r.pathname,(e="object"==typeof r.query?t(r.query):r.query)&&(s+="?"!==e.charAt(0)?"?"+e:e),r.hash&&(s+=r.hash),s}},v.extractProtocol=b,v.location=d,v.trimLeft=l,v.qs=o,t.exports=v}}]); 3//# sourceMappingURL=452980066e171a5651e27936141c7bdc04432f00-3f5560c90aaab43157fd.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.