/*! For license information please see ../LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[14],[function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return c})),n.d(t,"__rest",(function(){return l})),n.d(t,"__decorate",(function(){return f})),n.d(t,"__param",(function(){return h})),n.d(t,"__metadata",(function(){return d})),n.d(t,"__awaiter",(function(){return y})),n.d(t,"__generator",(function(){return v})),n.d(t,"__createBinding",(function(){return m})),n.d(t,"__exportStar",(function(){return _})),n.d(t,"__values",(function(){return O})),n.d(t,"__read",(function(){return w})),n.d(t,"__spread",(function(){return E})),n.d(t,"__spreadArrays",(function(){return S})),n.d(t,"__await",(function(){return T})),n.d(t,"__asyncGenerator",(function(){return x})),n.d(t,"__asyncDelegator",(function(){return j})),n.d(t,"__asyncValues",(function(){return k})),n.d(t,"__makeTemplateObject",(function(){return A})),n.d(t,"__importStar",(function(){return I})),n.d(t,"__importDefault",(function(){return D})),n.d(t,"__classPrivateFieldGet",(function(){return N})),n.d(t,"__classPrivateFieldSet",(function(){return C}));var r=function(e,b){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)};function o(e,b){function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}var c=function(){return(c=Object.assign||function(e){for(var s,i=1,t=arguments.length;i=0;i--)(r=e[i])&&(c=(o<3?r(c):o>3?r(t,n,c):r(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c}function h(e,t){return function(n,r){t(n,r,e)}}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function y(e,t,n,r){return new(n||(n=Promise))((function(o,c){function l(e){try{h(r.next(e))}catch(e){c(e)}}function f(e){try{h(r.throw(e))}catch(e){c(e)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,f)}h((r=r.apply(e,t||[])).next())}))}function v(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)c.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return c}function E(){for(var e=[],i=0;i1||o(e,t)}))})}function o(e,t){try{(n=g[e](t)).value instanceof T?Promise.resolve(n.value.v).then(c,l):f(q[0][2],n)}catch(e){f(q[0][3],e)}var n}function c(e){o("next",e)}function l(e){o("throw",e)}function f(e,t){e(t),q.shift(),q.length&&o(q[0][0],q[0][1])}}function j(e){var i,p;return i={},t("next"),t("throw",(function(e){throw e})),t("return"),i[Symbol.iterator]=function(){return this},i;function t(t,n){i[t]=e[t]?function(r){return(p=!p)?{value:T(e[t](r)),done:"return"===t}:n?n(r):r}:n}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,t=e[Symbol.asyncIterator];return t?t.call(e):(e=O(e),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(t){i[t]=e[t]&&function(n){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(n=e[t](n)).done,n.value)}))}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function D(e){return e&&e.__esModule?e:{default:e}}function N(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function C(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"addTypenameToDocument",(function(){return ie})),n.d(t,"argumentsObjectFromField",(function(){return w})),n.d(t,"assign",(function(){return $})),n.d(t,"buildQueryFromSelectionSet",(function(){return he})),n.d(t,"canUseWeakMap",(function(){return de})),n.d(t,"checkDocument",(function(){return V})),n.d(t,"cloneDeep",(function(){return ve})),n.d(t,"createFragmentMap",(function(){return J})),n.d(t,"getDefaultValues",(function(){return W})),n.d(t,"getDirectiveInfoFromField",(function(){return D})),n.d(t,"getDirectiveNames",(function(){return C})),n.d(t,"getDirectivesFromDocument",(function(){return ce})),n.d(t,"getEnv",(function(){return me})),n.d(t,"getFragmentDefinition",(function(){return K})),n.d(t,"getFragmentDefinitions",(function(){return Y})),n.d(t,"getFragmentQueryDocument",(function(){return F})),n.d(t,"getInclusionDirectives",(function(){return L})),n.d(t,"getMainDefinition",(function(){return H})),n.d(t,"getMutationDefinition",(function(){return Q})),n.d(t,"getOperationDefinition",(function(){return U})),n.d(t,"getOperationDefinitionOrDie",(function(){return B})),n.d(t,"getOperationName",(function(){return G})),n.d(t,"getQueryDefinition",(function(){return z})),n.d(t,"getStoreKeyName",(function(){return O})),n.d(t,"graphQLResultHasError",(function(){return Ee})),n.d(t,"hasClientExports",(function(){return P})),n.d(t,"hasDirectives",(function(){return R})),n.d(t,"isDevelopment",(function(){return _e})),n.d(t,"isEnv",(function(){return be})),n.d(t,"isField",(function(){return S})),n.d(t,"isIdValue",(function(){return x})),n.d(t,"isInlineFragment",(function(){return T})),n.d(t,"isJsonValue",(function(){return k})),n.d(t,"isNumberValue",(function(){return y})),n.d(t,"isProduction",(function(){return ge})),n.d(t,"isScalarValue",(function(){return d})),n.d(t,"isTest",(function(){return Oe})),n.d(t,"maybeDeepFreeze",(function(){return Se})),n.d(t,"mergeDeep",(function(){return xe})),n.d(t,"mergeDeepArray",(function(){return je})),n.d(t,"removeArgumentsFromDocument",(function(){return le})),n.d(t,"removeClientSetsFromDocument",(function(){return pe})),n.d(t,"removeConnectionDirectiveFromDocument",(function(){return ae})),n.d(t,"removeDirectivesFromDocument",(function(){return re})),n.d(t,"removeFragmentSpreadFromDocument",(function(){return fe})),n.d(t,"resultKeyNameFromField",(function(){return E})),n.d(t,"shouldInclude",(function(){return N})),n.d(t,"storeKeyNameFromField",(function(){return m})),n.d(t,"stripSymbols",(function(){return Ce})),n.d(t,"toIdValue",(function(){return j})),n.d(t,"tryFunctionOrLogError",(function(){return we})),n.d(t,"valueFromNode",(function(){return I})),n.d(t,"valueToObjectRepresentation",(function(){return v})),n.d(t,"variablesInOperation",(function(){return X})),n.d(t,"warnOnceInDevelopment",(function(){return Ne}));var r=n(39),o=n(3),c=n(0),l=n(167),f=n.n(l),h=n(37);function d(e){return["StringValue","BooleanValue","EnumValue"].indexOf(e.kind)>-1}function y(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function v(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var c={};n.fields.map((function(e){return v(c,e.name,e.value,r)})),e[t.value]=c}else if(function(e){return"Variable"===e.kind}(n)){var l=(r||{})[n.name.value];e[t.value]=l}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return v(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new o.a(17);e[t.value]=null}}function m(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,c=r.value;return v(n[e.name.value],o,c,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return v(r,n,o,t)}))),O(e.name.value,r,n)}n.d(t,"isEqual",(function(){return h.a}));var _=["connection","include","skip","client","rest","export"];function O(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o=t,c={};return r.forEach((function(e){c[e]=o[e]})),n.connection.key+"("+JSON.stringify(c)+")"}return n.connection.key}var l=e;if(t){var h=f()(t);l+="("+h+")"}return n&&Object.keys(n).forEach((function(e){-1===_.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?l+="@"+e+"("+JSON.stringify(n[e])+")":l+="@"+e)})),l}function w(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return v(n,r,o,t)})),n}return null}function E(e){return e.alias?e.alias.value:e.name.value}function S(e){return"Field"===e.kind}function T(e){return"InlineFragment"===e.kind}function x(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function j(e,t){return void 0===t&&(t=!1),Object(c.__assign)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function k(e){return null!=e&&"object"==typeof e&&"json"===e.type}function A(e){throw new o.a(18)}function I(e,t){switch(void 0===t&&(t=A),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map((function(e){return I(e,t)}));case"ObjectValue":for(var n={},r=0,o=e.fields;r-1}))}function P(e){return e&&R(["client"],e)&&R(["export"],e)}function M(e){var t=e.name.value;return"skip"===t||"include"===t}function L(e){return e?e.filter(M).map((function(e){var t=e.arguments;e.name.value;Object(o.b)(t&&1===t.length,14);var n=t[0];Object(o.b)(n.name&&"if"===n.name.value,15);var r=n.value;return Object(o.b)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]}function F(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new o.a(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(Object(o.b)(1===r.length,12),n=r[0].name.value),Object(c.__assign)(Object(c.__assign)({},e),{definitions:Object(c.__spreadArrays)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function $(e){for(var t=[],n=1;n1){var r=[];t=Ie(t,r);for(var i=1;i=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i1&&void 0!==arguments[1]?arguments[1]:[],r=e.$children||[],o=y(r);try{for(o.s();!(t=o.n()).done;){var c=t.value;c.$fetch?n.push(c):c.$children&&w(c,n)}}catch(e){o.e(e)}finally{o.f()}return n}function E(e,t){if(t||!e.options.__hasNuxtData){var n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),d(d({},data),t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function S(e){return e.options&&e._Ctor===e||(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=f.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file)),e}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((function(e,r){return Object.keys(e[n]).map((function(o){return t&&t.push(r),e[n][o]}))})))}function x(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return T(e,t,"instances")}function j(e,t){return Array.prototype.concat.apply([],e.matched.map((function(e,n){return Object.keys(e.components).reduce((function(r,o){return e.components[o]?r.push(t(e.components[o],e.instances[o],e,o,n)):delete e.components[o],r}),[])})))}function k(e,t){return Promise.all(j(e,function(){var e=Object(c.a)(regeneratorRuntime.mark((function e(n,r,o,c){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n||n.options){e.next=4;break}return e.next=3,n();case 3:n=e.sent;case 4:return o.components[c]=n=S(n),e.abrupt("return","function"==typeof t?t(n,r,o,c):n);case 6:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}()))}function A(e){return I.apply(this,arguments)}function I(){return(I=Object(c.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,k(t);case 4:return e.abrupt("return",d(d({},t),{},{meta:T(t).map((function(e,n){return d(d({},e.options.meta),(t.matched[n]||{}).meta)}))}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(e,t){return N.apply(this,arguments)}function N(){return(N=Object(c.a)(regeneratorRuntime.mark((function e(t,n){var c,l,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.context||(t.context={isStatic:!0,isDev:!1,isHMR:!1,app:t,store:t.store,payload:n.payload,error:n.error,base:"/",env:{baseUrl:"https://enechange.jp",graphql:"https://enechange.jp/articles/graphql",latestBuild:!1}},n.ssrContext&&(t.context.ssrContext=n.ssrContext),t.context.redirect=function(e,path,n){if(e){t.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof e||"undefined"!==r&&"object"!==r||(n=path||{},path=e,r=Object(o.a)(path),e=302),"object"===r&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=G(path,n),window.location.replace(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:n,status:e})}},t.context.nuxtState=window.__NUXT__),e.next=3,Promise.all([A(n.route),A(n.from)]);case 3:c=e.sent,l=Object(r.a)(c,2),f=l[0],h=l[1],n.route&&(t.context.route=f),n.from&&(t.context.from=h),t.context.next=n.next,t.context._redirected=!1,t.context._errored=!1,t.context.isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{};case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():R(e[0],t).then((function(){return C(e.slice(1),t)}))}function R(e,t){var n;return(n=2===e.length?new Promise((function(n){e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))})):e(t))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function P(base,e){var path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&(path.endsWith("/")?path:path+"/").startsWith(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function M(e,t){return function(e,t){for(var n=new Array(e.length),i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(O.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return c({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return _(this,e)}});var o=e.__decorators__;o&&(o.forEach((function(e){return e(t)})),delete e.__decorators__);var l=Object.getPrototypeOf(e.prototype),d=l instanceof r.default?l.constructor:r.default,y=d.extend(t);return S(y,e,d),f()&&h(y,e),y}var E={prototype:!0,arguments:!0,callee:!0,caller:!0};function S(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!E[r]){var c=Object.getOwnPropertyDescriptor(e,r);if(!c||c.configurable){var l,f,h=Object.getOwnPropertyDescriptor(t,r);if(!y){if("cid"===r)return;var d=Object.getOwnPropertyDescriptor(n,r);if(l=h.value,f=o(l),null!=l&&("object"===f||"function"===f)&&d&&d.value===h.value)return}0,Object.defineProperty(e,r,h)}}}))}function T(e){return"function"==typeof e?w(e):function(t){return w(t,e)}}T.registerHooks=function(e){O.push.apply(O,l(e))},t.default=T},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=Object.prototype,o=r.toString,c=r.hasOwnProperty,l=new Map;function f(a,b){try{return function e(a,b){if(a===b)return!0;var t=o.call(a),n=o.call(b);if(t!==n)return!1;switch(t){case"[object Array]":if(a.length!==b.length)return!1;case"[object Object]":if(h(a,b))return!0;var r=Object.keys(a),l=Object.keys(b),f=r.length;if(f!==l.length)return!1;for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:O,n=arguments.length>2?arguments[2]:void 0;return w.call(this,e,t,n)},c.default.use(m.a);var E={mode:"history",base:decodeURI("/"),linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,n){var r=!1,o=Object(_.g)(e);(o.some((function(e){return e.options.scrollToTop}))||o.length<2&&o.every((function(e){return!1!==e.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);var c=window.$nuxt;return(e.path===t.path&&e.hash!==t.hash||e===t)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(t){c.$once("triggerScroll",(function(){if(e.hash){var n=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{document.querySelector(n)&&(r={selector:n})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(r)}))}))},routes:[{path:"/404",component:function(){return Object(_.m)(n.e(8).then(n.bind(null,569)))},name:"404"},{path:"/articles/press-release",component:function(){return Object(_.m)(n.e(10).then(n.bind(null,584)))},name:"articles-press-release"},{path:"/articles/ranking",component:function(){return Object(_.m)(n.e(11).then(n.bind(null,570)))},name:"articles-ranking"},{path:"/articles/search",component:function(){return Object(_.m)(n.e(12).then(n.bind(null,571)))},name:"articles-search"},{path:"/articles/:id?",component:function(){return Object(_.m)(Promise.all([n.e(15),n.e(9)]).then(n.bind(null,582)))},name:"articles-id"}],fallback:!1};function S(){return new m.a(E)}var T={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(e,t){var n=t.parent,data=t.data,r=t.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var d=l[h]||f,y={};x.forEach((function(e){void 0!==d[e]&&(y[e]=d[e])}));var v={};j.forEach((function(e){"function"==typeof d[e]&&(v[e]=d[e].bind(c))}));var m=v.beforeEnter;if(v.beforeEnter=function(e){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),m)return m.call(c,e)},!1===d.css){var _=v.leave;(!_||_.length<2)&&(v.leave=function(e,t){_&&_.call(c,e),c.$nextTick(t)})}var O=o("routerView",data);return r.keepAlive&&(O=o("keep-alive",{props:r.keepAliveProps},[O])),o("transition",{props:y,on:v},[O])}},x=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],j=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],k=n(44),A=(n(20),n(21),n(73),n(70)),I={name:"Nuxt",components:{NuxtChild:T,NuxtError:k.a},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(_.c)(this.$route.matched[0].path)(this.$route.params);var e=Object(A.a)(this.$route.matched,1)[0];if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var n=t.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(e){var t=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return t.errorFromNuxtError=!1})),e("div",{},[e("h2","An error occurred while showing the error page"),e("p","Unfortunately an error occurred and while showing the error page another error occurred"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return t.displayingNuxtError=!1})),e(k.a,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}},D=(n(52),n(50),n(112),n(149),n(51),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var e=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return e.startTimer()}),this.throttle):this.startTimer(),this},set:function(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get:function(){return this.percent},increase:function(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease:function(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var e=this;return this.clear(),setTimeout((function(){e.show=!1,e.$nextTick((function(){e.percent=0,e.reversed=!1}))}),500),this},fail:function(e){return this.canSucceed=!1,this},startTimer:function(){var e=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){e.skipTimerCount>0?e.skipTimerCount--:(e.reversed?e.decrease(e._cut):e.increase(e._cut),e.continuous&&(e.percent>=100||e.percent<=0)&&(e.skipTimerCount=1,e.reversed=!e.reversed))}),100)}},render:function(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),N=(n(216),n(40)),C=Object(N.a)(D,void 0,void 0,!1,null,null,null).exports,R=n(172),P=n(173);function M(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=Object(_.h)(e.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return e.$loading.start(),r=n.map((function(t){var p=[];if(t.$options.fetch&&t.$options.fetch.length&&p.push(Object(_.p)(t.$options.fetch,e.context)),t.$fetch)p.push(t.$fetch());else{var n,r=M(Object(_.e)(t.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(e){r.e(e)}finally{r.f()}}return t.$options.asyncData&&p.push(Object(_.p)(t.$options.asyncData,e.context).then((function(e){for(var n in e)c.default.set(t.$data,n,e[n])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(r);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),e.$loading.fail(t.t0),Object(_.k)(t.t0),e.error(t.t0);case 15:e.$loading.finish();case 16:case"end":return t.stop()}}),t,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var e=(k.a.options||k.a).layout;"function"==typeof e&&(e=e(this.context)),this.setLayout(e)}},setLayout:function(e){return e&&F["_"+e]||(e="default"),this.layoutName=e,this.layout=F["_"+e],this.layout},loadLayout:function(e){return e&&F["_"+e]||(e="default"),Promise.resolve(F["_"+e])},setPagePayload:function(e){this._pagePayload=e,this._payloadFetchIndex=0},fetchPayload:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,base,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=window.__NUXT__.staticAssetsBase,(base=(t.$router.options.base||"").replace(/\/+$/,""))&&e.startsWith(base)&&(e=e.substr(base.length)),e=(e.replace(/\/+$/,"")||"/").split("?")[0].split("#")[0],o=Object(_.u)(base,r,e,"payload.js"),n.prev=5,n.next=8,window.__NUXT_IMPORT__(decodeURI(e),encodeURI(o));case 8:return c=n.sent,t.setPagePayload(c),n.abrupt("return",c);case 13:throw n.prev=13,n.t0=n.catch(5),t.setPagePayload(!1),n.t0;case 17:case"end":return n.stop()}}),n,null,[[5,13]])})))()}},components:{NuxtLoading:C}};n(74);function Q(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!t.length||o&&1===t.length)return e;var c=t.shift();return e.modules[c]=e.modules[c]||{},e.modules[c].namespaced=!0,e.modules[c].modules=e.modules[c].modules||{},K(e.modules[c],t,{isProperty:o})}function H(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}n(363);var J="dataLayer",W="GTM-PWNXFV8";var X=function(e,t){var n="GTM-PWNXFV8",r=(e.$config&&e.$config.gtm||{}).id,c=function(e,t){return{init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W;!t[e]&&window._gtm_inject&&(window._gtm_inject(e),t[e]=!0)},push:function(e){window[J]||(window[J]=[]),window[J].push(e)}}}(0,Object(o.a)({},n,!0));r&&r!==n&&c.init(r),e.$gtm=c,t("gtm",e.$gtm)},Z=n(67),ee=n.n(Z);n(367);ee.a.locale("ja");var te=function(e,t){e.$dayjs=ee.a,t("dayjs",ee.a)},ne=n(123),re=(n(368),n(93)),ie=n(59),oe=n.n(ie),ae=(n(397),n(120));function se(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}c.default.use(ne.a);var ue=function(e,t){var c,l={clients:{}},f=e.app,h=(e.beforeNuxtRender,e.req,{expires:7,path:"/",secure:!1}),d=h;"default"in(c=n(398))&&(c=c.default);(c=c(e)).validateToken||(c.validateToken=function(){return!0});var y=c.cache?c.cache:new ae.InMemoryCache(c.inMemoryCacheOptions?c.inMemoryCacheOptions:void 0);y.restore(window.__NUXT__?window.__NUXT__.apollo.defaultClient:null),c.getAuth||(c.getAuth=function(){var e;return(e=oe.a.get("apollo-token",d))&&c.validateToken(e)?"Bearer "+e:""}),c.ssr=!1,c.cache=y,c.tokenName="apollo-token",c.cookieAttributes=d;var v=Object(re.createApolloClient)(function(e){for(var i=1;i1&&void 0!==o[1]?o[1]:w.defaultClient,"number"==typeof(r=o.length>2&&void 0!==o[2]?o[2]:h)&&(r={expires:r}),t?oe.a.set("apollo-token",t,r):oe.a.remove("apollo-token",r),n.wsClient&&Object(re.restartWebsockets)(n.wsClient),e.prev=5,e.next=8,n.resetStore();case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),console.log("%cError on cache reset (setToken)","color: orange;",e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[5,10]])}))),function(e){return _.apply(this,arguments)}),onLogout:(m=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:w.defaultClient,oe.a.remove("apollo-token",h),t.wsClient&&Object(re.restartWebsockets)(t.wsClient),e.prev=3,e.next=6,t.resetStore();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),console.log("%cError on cache reset (logout)","color: orange;",e.t0.message);case 11:case"end":return e.stop()}}),e,null,[[3,8]])}))),function(){return m.apply(this,arguments)}),getToken:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"apollo-token";return oe.a.get(e,h)}})},ce=n(72),le=n.n(ce),fe=n(169),he=n.n(fe);function pe(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i2&&void 0!==arguments[2]?arguments[2]:"common",o=pe(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;if(!t)return void delete this.defaults.headers[c][e];this.defaults.headers[c][e]=t}}catch(e){o.e(e)}finally{o.f()}},setToken:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",r,n)},onRequest:function(e){this.interceptors.request.use((function(t){return e(t)||t}))},onResponse:function(e){this.interceptors.response.use((function(t){return e(t)||t}))},onRequestError:function(e){this.interceptors.request.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onResponseError:function(e){this.interceptors.response.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onError:function(e){this.onRequestError(e),this.onResponseError(e)},create:function(e){return ge(he()(e,this.defaults))}},ve=function(){var e=be[me];ye["$"+e]=function(){return this[e].apply(this,arguments).then((function(e){return e&&e.data}))}},me=0,be=["request","delete","get","head","options","post","put","patch"];me has been deprecated and will be removed in Nuxt 3, please use instead")),v.a.render(e,t)}})),c.default.component(T.name,T),c.default.component("NChild",T),c.default.component(I.name,I),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){return this.$root.$options.$nuxt},configurable:!0}),c.default.use(f.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var De={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},Ne=l.a.Store.prototype.registerModule,Ce={preserveState:!0};function Re(path,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ne.call(this,path,e,Ie(Ie({},Ce),t))}function Pe(e){return Me.apply(this,arguments)}function Me(){return(Me=Object(r.a)(regeneratorRuntime.mark((function e(t){var n,r,o,l,f,h,path,d,y=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject('".concat(e,"', value) has no value provided"));l[e="$"+e]=t,l.context[e]||(l.context[e]=t),o[e]=l[e];var n="__nuxt_"+e+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,e)||Object.defineProperty(c.default.prototype,e,{get:function(){return this.$root.$options[e]}})})))},n=y.length>1&&void 0!==y[1]?y[1]:{},e.next=4,S();case 4:return r=e.sent,(o=G(t)).$router=r,o.registerModule=Re,l=Ie({head:{htmlAttrs:{lang:"ja"},title:"",titleTemplate:"%s | 電力・ガス比較サイト エネチェンジ",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"descriptionが入ります。"},{hid:"og:site_name",property:"og:site_name",content:"電力・ガス比較サイト エネチェンジ"},{hid:"og:type",property:"og:type",content:"website"},{hid:"og:url",property:"og:url",content:"https://example.com"},{hid:"og:title",property:"og:title",content:"サイト名"},{hid:"twitter:card",name:"twitter:card",content:"summary_large_image"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"apple-touch-icon",href:"/apple-touch-icon.png"},{rel:"apple-touch-icon",sizes:"57x57",href:"/apple-touch-icon-57x57.png"},{rel:"apple-touch-icon",sizes:"72x72",href:"/apple-touch-icon-72x72.png"},{rel:"apple-touch-icon",sizes:"76x76",href:"/apple-touch-icon-76x76.png"},{rel:"apple-touch-icon",sizes:"114x114",href:"/apple-touch-icon-114x114.png"},{rel:"apple-touch-icon",sizes:"120x120",href:"/apple-touch-icon-120x120.png"},{rel:"apple-touch-icon",sizes:"144x144",href:"/apple-touch-icon-144x144.png"},{rel:"apple-touch-icon",sizes:"152x152",href:"/apple-touch-icon-152x152.png"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossorigin:!0},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap"}],script:[{src:"https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js",defer:!0},{src:"https://www.googletagservices.com/tag/js/gpt.js",async:!0},{hid:"gtm-script",innerHTML:"if(!window._gtm_init){window._gtm_init=1;(function (w,n,d,m,e,p){w[d]=(w[d]==1||n[d]=='yes'||n[d]==1||n[m]==1||(w[e]&&w[e][p]&&w[e][p]()))?1:0})(window,navigator,'doNotTrack','msDoNotTrack','external','msTrackingProtectionEnabled');(function(w,d,s,l,x,y){w[x]={};w._gtm_inject=function(i){if(w.doNotTrack||w[x][i])return;w[x][i]=1;w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);};w[y]('GTM-PWNXFV8')})(window,document,'script','dataLayer','_gtm_ids','_gtm_inject')}"}],bodyAttrs:{class:"body"},style:[],noscript:[{hid:"gtm-noscript",pbody:!0,innerHTML:''}],__dangerouslyDisableSanitizersByTagID:{"gtm-script":["innerHTML"],"gtm-noscript":["innerHTML"]}},store:o,router:r,nuxt:{defaultTransition:De,transitions:[De],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map((function(e){return e=e?"string"==typeof e?Object.assign({},De,{name:e}):Object.assign({},De,e):De})),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error:function(e){e=e||null,l.context._errored=Boolean(e),e=e?Object(_.o)(e):null;var n=l.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=e,t&&(t.nuxt.error=e),e}}},$),o.app=l,f=t?t.next:function(e){return l.router.push(e)},t?h=r.resolve(t.url).route:(path=Object(_.f)(r.options.base,r.options.mode),h=r.resolve(path).route),e.next=14,Object(_.s)(l,{store:o,route:h,next:f,error:l.nuxt.error.bind(l),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,ssrContext:t});case 14:return d("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),l.context.enablePreview=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.previewData=Object.assign({},e),d("preview",e)},e.next=20,X(l.context,d);case 20:return e.next=23,te(l.context,d);case 23:return e.next=26,ue(l.context,d);case 26:return e.next=29,Oe(l.context,d);case 29:if("function"!=typeof xe){e.next=32;break}return e.next=32,xe(l.context,d);case 32:if("function"!=typeof je.a){e.next=35;break}return e.next=35,Object(je.a)(l.context,d);case 35:if("function"!=typeof ke.default){e.next=38;break}return e.next=38,Object(ke.default)(l.context,d);case 38:l.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},e.next=42;break;case 42:return e.abrupt("return",{store:o,app:l,router:r});case 43:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return l(e,[])}function l(e,t){switch(o(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),o=function(object){var e=object[String(r)];if("function"==typeof e)return e;if("function"==typeof object.inspect)return object.inspect}(e);if(void 0!==o){var c=o.call(e);if(c!==e)return"string"==typeof c?c:l(c,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(object,e){var t=Object.keys(object);if(0===t.length)return"{}";if(e.length>2)return"["+function(object){var e=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof object.constructor){var t=object.constructor.name;if("string"==typeof t&&""!==t)return t}return e}(object)+"]";return"{ "+t.map((function(t){return t+": "+l(object[t],e)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var f={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},h=Object.freeze({});function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,r=void 0,o=Array.isArray(e),l=[e],d=-1,m=[],_=void 0,O=void 0,w=void 0,path=[],E=[],S=e;do{var T=++d===l.length,x=T&&0!==m.length;if(T){if(O=0===E.length?void 0:path[path.length-1],_=w,w=E.pop(),x){if(o)_=_.slice();else{for(var j={},k=0,A=Object.keys(_);k0?l.map((function(){return e(!1)})):e(!1))}};e.exports=r},,,,,,,,,function(e,t,n){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",s="week",u="month",a="quarter",o="year",c="date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},d=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:d,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+d(r,2,"0")+":"+d(i,2,"0")},m:function e(t,n){if(t.date()2&&void 0!==arguments[2]?arguments[2]:c,f=void 0,d=Array.isArray(e),y=[e],v=-1,m=[],_=void 0,O=void 0,w=void 0,path=[],E=[],S=e;do{var T=++v===y.length,x=T&&0!==m.length;if(T){if(O=0===E.length?void 0:path[path.length-1],_=w,w=E.pop(),x){if(d)_=_.slice();else{for(var j={},k=0,A=Object.keys(_);k2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(object,e){var t=Object.keys(object);if(0===t.length)return"{}";if(e.length>2)return"["+function(object){var e=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof object.constructor){var t=object.constructor.name;if("string"==typeof t&&""!==t)return t}return e}(object)+"]";return"{ "+t.map((function(t){return t+": "+l(object[t],e)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t=null,i=1;i0&&c(t[0]);)t.shift();for(;t.length>0&&c(t[t.length-1]);)t.pop();return t.join("\n")}function o(e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],c='"'===e[e.length-1],l="\\"===e[e.length-1],f=!r||c||l||n,h="";return!f||r&&o||(h+="\n"+t),h+=t?e.replace(/\n/g,"\n"+t):e,f&&(h+="\n"),'"""'+h.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return l}))},function(e,t,n){var r=n(427).parse;function o(e){return e.replace(/[\s,]+/g," ").trim()}var c={},l={};var f=!0;var h=!1;function d(e){var t=o(e);if(c[t])return c[t];var n=r(e,{experimentalFragmentVariables:h});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");return n=function e(t,n){var r=Object.prototype.toString.call(t);if("[object Array]"===r)return t.map((function(t){return e(t,n)}));if("[object Object]"!==r)throw new Error("Unexpected input.");n&&t.loc&&delete t.loc,t.loc&&(delete t.loc.startToken,delete t.loc.endToken);var o,c,l,f=Object.keys(t);for(o in f)f.hasOwnProperty(o)&&(c=t[f[o]],"[object Object]"!==(l=Object.prototype.toString.call(c))&&"[object Array]"!==l||(t[f[o]]=e(c,!0)));return t}(n=function(e){for(var t,n={},r=[],i=0;i=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,f=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){f=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);it.parts.length&&(n.parts.length=t.parts.length)}else{var o=[];for(r=0;r=e.length)&&56320==(64512&e.charCodeAt(i+1)))}function l(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function f(e){return 1===e.length?"0"+e:e}function h(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>6|192,n[p++]=63&r|128):c(e,i)?(r=65536+((1023&r)<<10)+(1023&e.charCodeAt(++i)),n[p++]=r>>18|240,n[p++]=r>>12&63|128,n[p++]=r>>6&63|128,n[p++]=63&r|128):(n[p++]=r>>12|224,n[p++]=r>>6&63|128,n[p++]=63&r|128)}else for(i=0;i>>0}return l},t.split32=function(e,t){for(var n=new Array(4*e.length),i=0,r=0;i>>24,n[r+1]=o>>>16&255,n[r+2]=o>>>8&255,n[r+3]=255&o):(n[r+3]=o>>>24,n[r+2]=o>>>16&255,n[r+1]=o>>>8&255,n[r]=255&o)}return n},t.rotr32=function(e,b){return e>>>b|e<<32-b},t.rotl32=function(e,b){return e<>>32-b},t.sum32=function(a,b){return a+b>>>0},t.sum32_3=function(a,b,e){return a+b+e>>>0},t.sum32_4=function(a,b,e,t){return a+b+e+t>>>0},t.sum32_5=function(a,b,e,t,n){return a+b+e+t+n>>>0},t.sum64=function(e,t,n,r){var o=e[t],c=r+e[t+1]>>>0,l=(c>>0,e[t+1]=c},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,c,l,dl){var f=0,h=t;return f+=(h=h+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,o,c,l,dl){return t+r+c+dl>>>0},t.sum64_5_hi=function(e,t,n,r,o,c,l,dl,f,h){var d=0,y=t;return d+=(y=y+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,o,c,l,dl,f,h){return t+r+c+dl+h>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},,,,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Jsonld=void 0;var o=r(n(415)),c=r(n(425));t.Jsonld=c.default,t.default={install:function(e,t){e.mixin(o.default(t))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"print",(function(){return v}));var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return l(e,[])}function l(e,t){switch(o(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),o=function(object){var e=object[String(r)];if("function"==typeof e)return e;if("function"==typeof object.inspect)return object.inspect}(e);if(void 0!==o){var c=o.call(e);if(c!==e)return"string"==typeof c?c:l(c,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(object,e){var t=Object.keys(object);if(0===t.length)return"{}";if(e.length>2)return"["+function(object){var e=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof object.constructor){var t=object.constructor.name;if("string"==typeof t&&""!==t)return t}return e}(object)+"]";return"{ "+t.map((function(t){return t+": "+l(object[t],e)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var f={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},h=Object.freeze({});function d(e){return Boolean(e&&"string"==typeof e.kind)}function y(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var o=n?r.leave:r.enter;if("function"==typeof o)return o}else{var c=n?e.leave:e.enter;if(c){if("function"==typeof c)return c;var l=c[t];if("function"==typeof l)return l}}}function v(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,r=void 0,o=Array.isArray(e),l=[e],v=-1,m=[],_=void 0,O=void 0,w=void 0,path=[],E=[],S=e;do{var T=++v===l.length,x=T&&0!==m.length;if(T){if(O=0===E.length?void 0:path[path.length-1],_=w,w=E.pop(),x){if(o)_=_.slice();else{for(var j={},k=0,A=Object.keys(_);k1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],c='"'===e[e.length-1],l=!r||c||n,f="";return!l||r&&o||(f+="\n"+t),f+=t?e.replace(/\n/g,"\n"+t):e,l&&(f+="\n"),'"""'+f.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+O(e.values,", ")+"]"},ObjectValue:function(e){return"{"+O(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+E("(",O(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return O(["schema",O(t," "),w(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:_((function(e){return O(["scalar",e.name,O(e.directives," ")]," ")})),ObjectTypeDefinition:_((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return O(["type",t,E("implements ",O(n," & ")),O(r," "),w(o)]," ")})),FieldDefinition:_((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(x(n)?E("(\n",S(O(n,"\n")),"\n)"):E("(",O(n,", "),")"))+": "+r+E(" ",O(o," "))})),InputValueDefinition:_((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return O([t+": "+n,E("= ",r),O(o," ")]," ")})),InterfaceTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.fields;return O(["interface",t,O(n," "),w(r)]," ")})),UnionTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.types;return O(["union",t,O(n," "),r&&0!==r.length?"= "+O(r," | "):""]," ")})),EnumTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.values;return O(["enum",t,O(n," "),w(r)]," ")})),EnumValueDefinition:_((function(e){return O([e.name,O(e.directives," ")]," ")})),InputObjectTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.fields;return O(["input",t,O(n," "),w(r)]," ")})),DirectiveDefinition:_((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(x(n)?E("(\n",S(O(n,"\n")),"\n)"):E("(",O(n,", "),")"))+(r?" repeatable":"")+" on "+O(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return O(["extend schema",O(t," "),w(n)]," ")},ScalarTypeExtension:function(e){return O(["extend scalar",e.name,O(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return O(["extend type",t,E("implements ",O(n," & ")),O(r," "),w(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return O(["extend interface",t,O(n," "),w(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return O(["extend union",t,O(n," "),r&&0!==r.length?"= "+O(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return O(["extend enum",t,O(n," "),w(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return O(["extend input",t,O(n," "),w(r)]," ")}};function _(e){return function(t){return O([t.description,e(t)],"\n")}}function O(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function w(e){return e&&0!==e.length?"{\n"+S(O(e,"\n"))+"\n}":""}function E(e,t,n){return t?e+t+(n||""):""}function S(e){return e&&" "+e.replace(/\n/g,"\n ")}function T(e){return-1!==e.indexOf("\n")}function x(e){return e&&e.some(T)}},function(e,t,n){"use strict";n.r(t),n.d(t,"HeuristicFragmentMatcher",(function(){return W})),n.d(t,"InMemoryCache",(function(){return me})),n.d(t,"IntrospectionFragmentMatcher",(function(){return X})),n.d(t,"ObjectCache",(function(){return ae})),n.d(t,"StoreReader",(function(){return ne})),n.d(t,"StoreWriter",(function(){return le})),n.d(t,"WriteError",(function(){return ue})),n.d(t,"assertIdValue",(function(){return oe})),n.d(t,"defaultDataIdFromObject",(function(){return de})),n.d(t,"defaultNormalizedCacheFactory",(function(){return se})),n.d(t,"enhanceErrorWithDocument",(function(){return ce}));var r=n(0),o=n(1);function c(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:l(e)}]}}function l(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return l(e[0]);var t=[];return Object.keys(e).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:l(e[n])||void 0};t.push(r)})),{kind:"SelectionSet",selections:t}}var f,h={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},d=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(o.getFragmentQueryDocument)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(o.getFragmentQueryDocument)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,data=e.data;if(void 0!==r){var o=null;try{o=this.read({rootId:r,optimistic:!1,query:h})}catch(e){}var f=o&&o.__typename||"__ClientData",d=Object.assign({__typename:f},data);this.writeFragment({id:r,fragment:(t=d,n=f,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:l(t)}]}),data:d})}else this.writeQuery({query:c(data),data:data})},e}();f||(f={});var y=n(37),v=null,m={},_=1,O=Array,w=O["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",_++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=v;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===m)break;return e!==v&&(v.slots[this.id]=t),!0}return v&&(v.slots[this.id]=m),!1},e.prototype.getValue=function(){if(this.hasValue())return v.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var o,c=((o={__proto__:null})[this.id]=e,o),l=v;v={parent:l,slots:c};try{return t.apply(r,n)}finally{v=l}},e.bind=function(e){var t=v;return function(){var n=v;try{return v=t,e.apply(this,arguments)}finally{v=n}}},e.noContext=function(e,t,n){if(!v)return e.apply(n,t);var r=v;try{return v=null,e.apply(n,t)}finally{v=r}},e}();try{Object.defineProperty(O,"@wry/context:Slot",{value:O["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();w.bind,w.noContext;function E(){}var S=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=E),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getEntry(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),T=new w,x=[],j=[];function k(e,t){if(!e)throw new Error(t||"assertion failure")}function A(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var I=function(){function e(t,n){this.fn=t,this.args=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(k(!this.recomputing,"already recomputing"),function(e){var t=T.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),N(e)?P(t,e):M(t,e),t}(this)||!F(this))return N(this)?function(e){var t=$(e);T.withValue(e,D,[e]),function(e){if("function"==typeof e.subscribe)try{V(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){if(e.dirty=!1,N(e))return;R(e)}(e);return t.forEach(F),A(e.value)}(this):A(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,C(this),V(this))},e.prototype.dispose=function(){var e=this;$(this).forEach(F),V(this),this.parents.forEach((function(t){t.setDirty(),Q(t,e)}))},e.count=0,e}();function D(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function N(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function C(e){e.parents.forEach((function(t){return P(t,e)}))}function R(e){e.parents.forEach((function(t){return M(t,e)}))}function P(e,t){if(k(e.childValues.has(t)),k(N(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=j.pop()||new Set;e.dirtyChildren.add(t),C(e)}function M(e,t){k(e.childValues.has(t)),k(!N(t));var a,b,n,r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):(a=r,b=t.value,(n=a.length)>0&&n===b.length&&a[n-1]===b[n-1]||e.setDirty()),L(e,t),N(e)||R(e)}function L(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(j.length<100&&j.push(n),e.dirtyChildren=null))}function F(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function $(e){var t=x;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(n,r){Q(e,r),t.push(r)}))),k(null===e.dirtyChildren),t}function Q(e,t){t.parents.delete(e),e.childValues.delete(t),L(e,t)}function V(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var U=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t},e}(),Z=Object.prototype.hasOwnProperty,ee=function(){function e(data){var e=this;void 0===data&&(data=Object.create(null)),this.data=data,this.depend=z((function(t){return e.data[t]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){Z.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){Z.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function te(e){return new ee(e)}var ne=function(){function e(e){var t=this,n=void 0===e?{}:e,r=n.cacheKeyRoot,c=void 0===r?new U(o.canUseWeakMap):r,l=n.freezeResults,f=void 0!==l&&l,h=this.executeStoreQuery,d=this.executeSelectionSet,y=this.executeSubSelectedArray;this.freezeResults=f,this.executeStoreQuery=z((function(e){return h.call(t,e)}),{makeCacheKey:function(e){var t=e.query,n=e.rootValue,r=e.contextValue,o=e.variableValues,l=e.fragmentMatcher;if(r.store instanceof ee)return c.lookup(r.store,t,l,JSON.stringify(o),n.id)}}),this.executeSelectionSet=z((function(e){return d.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,n=e.rootValue,r=e.execContext;if(r.contextValue.store instanceof ee)return c.lookup(r.contextValue.store,t,r.fragmentMatcher,JSON.stringify(r.variableValues),n.id)}}),this.executeSubSelectedArray=z((function(e){return y.call(t,e)}),{makeCacheKey:function(e){var t=e.field,n=e.array,r=e.execContext;if(r.contextValue.store instanceof ee)return c.lookup(r.contextValue.store,t,n,JSON.stringify(r.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(r.__assign)(Object(r.__assign)({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.variables,c=e.previousResult,l=e.returnPartialData,f=void 0===l||l,h=e.rootId,d=void 0===h?"ROOT_QUERY":h,v=e.fragmentMatcherFunction,m=e.config,_=Object(o.getQueryDefinition)(n);r=Object(o.assign)({},Object(o.getDefaultValues)(_),r);var O={store:t,dataIdFromObject:m&&m.dataIdFromObject,cacheRedirects:m&&m.cacheRedirects||{}},w=this.executeStoreQuery({query:n,rootValue:{type:"id",id:d,generated:!0,typename:"Query"},contextValue:O,variableValues:r,fragmentMatcher:v}),E=w.missing&&w.missing.length>0;return E&&!f&&w.missing.forEach((function(e){if(!e.tolerable)throw new K.a(8)})),c&&Object(y.a)(c,w.result)&&(w.result=c),{result:w.result,complete:!E}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,c=e.variableValues,l=e.fragmentMatcher,f=void 0===l?ie:l,h=Object(o.getMainDefinition)(t),d=Object(o.getFragmentDefinitions)(t),y={query:t,fragmentMap:Object(o.createFragmentMap)(d),contextValue:r,variableValues:c,fragmentMatcher:f};return this.executeSelectionSet({selectionSet:h.selectionSet,rootValue:n,execContext:y})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,c=e.rootValue,l=e.execContext,f=l.fragmentMap,h=l.contextValue,d=l.variableValues,y={result:null},v=[],object=h.store.get(c.id),m=object&&object.__typename||"ROOT_QUERY"===c.id&&"Query"||void 0;function _(e){var t;return e.missing&&(y.missing=y.missing||[],(t=y.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if(Object(o.shouldInclude)(e,d))if(Object(o.isField)(e)){var y=_(t.executeField(object,m,e,l));void 0!==y&&v.push(((n={})[Object(o.resultKeyNameFromField)(e)]=y,n))}else{var O=void 0;if(Object(o.isInlineFragment)(e))O=e;else if(!(O=f[e.name.value]))throw new K.a(9);var w=O.typeCondition&&O.typeCondition.name.value,E=!w||l.fragmentMatcher(c,w,h);if(E){var S=t.executeSelectionSet({selectionSet:O.selectionSet,rootValue:c,execContext:l});"heuristic"===E&&S.missing&&(S=Object(r.__assign)(Object(r.__assign)({},S),{missing:S.missing.map((function(e){return Object(r.__assign)(Object(r.__assign)({},e),{tolerable:!0})}))})),v.push(_(S))}}})),y.result=Object(o.mergeDeepArray)(v),this.freezeResults,y},e.prototype.executeField=function(object,e,t,n){var r=n.variableValues,c=n.contextValue,l=function(object,e,t,n,r,c){c.resultKey;var l=c.directives,f=t;(n||l)&&(f=Object(o.getStoreKeyName)(f,n,l));var h=void 0;if(object&&void 0===(h=object[f])&&r.cacheRedirects&&"string"==typeof e){var d=r.cacheRedirects[e];if(d){var y=d[t];y&&(h=y(object,n,{getCacheKey:function(e){var t=r.dataIdFromObject(e);return t&&Object(o.toIdValue)({id:t,typename:e.__typename})}}))}}if(void 0===h)return{result:h,missing:[{object:object,fieldName:f,tolerable:!1}]};Object(o.isJsonValue)(h)&&(h=h.json);return{result:h}}(object,e,t.name.value,Object(o.argumentsObjectFromField)(t,r),c,{resultKey:Object(o.resultKeyNameFromField)(t),directives:Object(o.getDirectiveInfoFromField)(t,r)});return Array.isArray(l.result)?this.combineExecResults(l,this.executeSubSelectedArray({field:t,array:l.result,execContext:n})):t.selectionSet?null==l.result?l:this.combineExecResults(l,this.executeSelectionSet({selectionSet:t.selectionSet,rootValue:l.result,execContext:n})):(re(t,l.result),this.freezeResults,l)},e.prototype.combineExecResults=function(){for(var e,t=[],n=0;n=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var pe={fragmentMatcher:new W,dataIdFromObject:de,addTypename:!0,resultCaching:!0,freezeResults:!1};function de(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null}var ye=Object.prototype.hasOwnProperty,ve=function(e){function t(t,n,r){var o=e.call(this,Object.create(null))||this;return o.optimisticId=t,o.parent=n,o.transaction=r,o}return Object(r.__extends)(t,e),t.prototype.toObject=function(){return Object(r.__assign)(Object(r.__assign)({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return ye.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(ae),me=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new U(o.canUseWeakMap),n.silenceBroadcast=!1,n.config=Object(r.__assign)(Object(r.__assign)({},pe),t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=!!n.config.addTypename,n.data=n.config.resultCaching?new ee:new ae,n.optimisticData=n.data,n.storeWriter=new le,n.storeReader=new ne({cacheKeyRoot:n.cacheKeyRoot,freezeResults:t.freezeResults});var c=n,l=c.maybeBroadcastWatch;return n.maybeBroadcastWatch=z((function(e){return l.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return c.data instanceof ee?c.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(r.__extends)(t,e),t.prototype.restore=function(data){return data&&this.data.replace(data),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:n,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:n}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:n,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new K.a(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof ve;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var o=t.pop();this.performTransaction(o.transaction,o.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var data=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new ve(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=data}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(o.addTypenameToDocument)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(d)},function(e,t,n){"use strict";t.a={}},function(e,t,n){"use strict";var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var n=t.parent,r=t.slots,o=t.props,c=r(),l=c.default;void 0===l&&(l=[]);var f=c.placeholder;return n._isMounted?l:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||f)?e(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||f):l.length>0?l.map((function(){return e(!1)})):e(!1))}};e.exports=r},function(e,t,n){"use strict";(function(e){var r=n(92),o=n.n(r);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var i=0;ie?v():!0!==t&&(o=setTimeout(r?m:v,void 0===r?e-d:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),h.cancel=function(){f(),c=!0},h}var k=Object.freeze({__proto__:null,throttle:j,debounce:function(e,t,n){return void 0===n?j(e,t,!1):j(e,n,!1!==t)}}),A=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){var n=t.Globals={};function r(e){return function(t,time){return e(time,t)}}t.throttle=r(k.throttle),t.debounce=r(k.debounce),t.getMergedDefinition=function(e){return n.Vue.util.mergeOptions({},e)},t.reapply=function(e,t){for(;"function"==typeof e;)e=e.call(t);return e},t.omit=function(e,t){return Object.entries(e).filter((function(e){var n=T(e,1)[0];return!t.includes(n)})).reduce((function(e,t){var n=T(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},t.addGqlError=function(e){e.graphQLErrors&&e.graphQLErrors.length&&(e.gqlError=e.graphQLErrors[0])},t.noop=function(){}})),I=A.Globals,D=A.throttle,N=A.debounce,C=(A.getMergedDefinition,A.reapply),R=A.omit,P=A.addGqlError,M=(A.noop,function(){function e(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];l(this,e),d(this,"type",null),d(this,"vueApolloSpecialKeys",[]),this.vm=t,this.key=n,this.initialOptions=r,this.options=Object.assign({},r),this._skip=!1,this._pollInterval=null,this._watchers=[],this._destroyed=!1,this.lastApolloOptions=null,o&&this.autostart()}return h(e,[{key:"autostart",value:function(){var e=this;"function"==typeof this.options.skip?this._skipWatcher=this.vm.$watch((function(){return e.options.skip.call(e.vm,e.vm,e.key)}),this.skipChanged.bind(this),{immediate:!0,deep:this.options.deep}):this.options.skip?this._skip=!0:this.start(),"function"==typeof this.options.pollInterval&&(this._pollWatcher=this.vm.$watch(this.options.pollInterval.bind(this.vm),this.pollIntervalChanged.bind(this),{immediate:!0}))}},{key:"pollIntervalChanged",value:function(e,t){e!==t&&(this.pollInterval=e,null==e?this.stopPolling():this.startPolling(e))}},{key:"skipChanged",value:function(e,t){e!==t&&(this.skip=e)}},{key:"refresh",value:function(){this._skip||(this.stop(),this.start())}},{key:"start",value:function(){var e=this;this.starting=!0;for(var t=function(t,n){var r=n[t];if("function"==typeof e.initialOptions[r]){var o=e.initialOptions[r].bind(e.vm);e.options[r]=o();var c=function(t){e.options[r]=t,e.refresh()};e.vm.$isServer||(c=e.options.throttle?D(c,e.options.throttle):c,c=e.options.debounce?N(c,e.options.debounce):c),e._watchers.push(e.vm.$watch(o,c,{deep:e.options.deep}))}},n=0,r=["query","document","context"];n1?n-1:0),o=1;o3&&void 0!==arguments[3])||arguments[3];return l(this,t),e.$data.$apolloData&&!e.$data.$apolloData.queries[n]&&e.$set(e.$data.$apolloData.queries,n,{loading:!1}),d(w(o=E(this,_(t).call(this,e,n,r,!1))),"type","query"),d(w(o),"vueApolloSpecialKeys",L),d(w(o),"_loading",!1),d(w(o),"_linkedSubscriptions",[]),e.$isServer&&(o.firstRun=new Promise((function(e,t){o._firstRunResolve=e,o._firstRunReject=t}))),o.vm.$isServer&&(o.options.fetchPolicy="network-only"),r.manual||(o.hasDataField=o.vm.$data.hasOwnProperty(n),o.hasDataField?Object.defineProperty(o.vm.$data.$apolloData.data,n,{get:function(){return o.vm.$data[n]},enumerable:!0,configurable:!0}):Object.defineProperty(o.vm.$data,n,{get:function(){return o.vm.$data.$apolloData.data[n]},enumerable:!0,configurable:!0})),c&&o.autostart(),o}return m(t,e),h(t,[{key:"stop",value:function(){S(_(t.prototype),"stop",this).call(this),this.loadingDone(),this.observer&&(this.observer.stopPolling(),this.observer=null)}},{key:"generateApolloOptions",value:function(e){var n=S(_(t.prototype),"generateApolloOptions",this).call(this,e);return this.vm.$isServer&&delete n.pollInterval,n}},{key:"executeApollo",value:function(e){var n=JSON.stringify(e);if(this.sub){if(n===this.previousVariablesJson)return;this.sub.unsubscribe();for(var r=0,o=this._linkedSubscriptions;r0&&void 0!==arguments[0]&&arguments[0],t=this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult();return(e||t.loading)&&(this.loading||this.applyLoadingModifier(1),this.loading=!0),t}},{key:"nextResult",value:function(e){S(_(t.prototype),"nextResult",this).call(this,e);var data=e.data,n=e.loading,r=e.error,o=e.errors,c=o&&o.length;if((r||c)&&this.firstRunReject(r),n||this.loadingDone(),c){var l=new Error("GraphQL error: ".concat(o.map((function(e){return e.message})).join(" | ")));Object.assign(l,{graphQLErrors:o,networkError:null}),S(_(t.prototype),"catchError",this).call(this,l)}if("none"!==this.observer.options.errorPolicy||!r&&!c){var f="function"==typeof this.options.result;null==data||(this.options.manual?f||console.error("".concat(this.key," query must have a 'result' hook in manual mode")):"function"==typeof this.options.update?this.setData(this.options.update.call(this.vm,data)):void 0===data[this.key]&&Object.keys(data).length?console.error("Missing ".concat(this.key," attribute on result"),data):this.setData(data[this.key])),f&&this.options.result.call(this.vm,e,this.key)}}},{key:"setData",value:function(e){this.vm.$set(this.hasDataField?this.vm.$data:this.vm.$data.$apolloData.data,this.key,e)}},{key:"catchError",value:function(e){S(_(t.prototype),"catchError",this).call(this,e),this.firstRunReject(e),this.loadingDone(e),this.nextResult(this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult()),this.resubscribeToQuery()}},{key:"resubscribeToQuery",value:function(){var e=this.observer.getLastError(),t=this.observer.getLastResult();this.observer.resetLastResults(),this.startQuerySubscription(),Object.assign(this.observer,{lastError:e,lastResult:t})}},{key:"watchLoading",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;this.loading&&this.applyLoadingModifier(-1),this.loading=!1,e||this.firstRunResolve()}},{key:"fetchMore",value:function(){var e,t=this;if(this.observer)return this.maySetLoading(!0),(e=this.observer).fetchMore.apply(e,arguments).then((function(e){return e.loading||t.loadingDone(),e}))}},{key:"subscribeToMore",value:function(){var e;if(this.observer)return{unsubscribe:(e=this.observer).subscribeToMore.apply(e,arguments)}}},{key:"refetch",value:function(e){var t=this;if(e&&(this.options.variables=e),this.observer){var n=this.observer.refetch(e).then((function(e){return e.loading||t.loadingDone(),e}));return this.maySetLoading(),n}}},{key:"setVariables",value:function(e,t){if(this.options.variables=e,this.observer){var n=this.observer.setVariables(e,t);return this.maySetLoading(),n}}},{key:"setOptions",value:function(e){if(Object.assign(this.options,e),this.observer){var t=this.observer.setOptions(e);return this.maySetLoading(),t}}},{key:"startPolling",value:function(){var e;if(this.observer)return(e=this.observer).startPolling.apply(e,arguments)}},{key:"stopPolling",value:function(){var e;if(this.observer)return(e=this.observer).stopPolling.apply(e,arguments)}},{key:"firstRunResolve",value:function(){this._firstRunResolve&&(this._firstRunResolve(),this._firstRunResolve=null)}},{key:"firstRunReject",value:function(e){this._firstRunReject&&(this._firstRunReject(e),this._firstRunReject=null)}},{key:"destroy",value:function(){S(_(t.prototype),"destroy",this).call(this),this.loading&&this.watchLoading(!1,-1),this.loading=!1}},{key:"client",get:function(){return this.vm.$apollo.getClient(this.options)}},{key:"loading",get:function(){return this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]?this.vm.$data.$apolloData.queries[this.key].loading:this._loading},set:function(e){this._loading!==e&&(this._loading=e,this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]&&(this.vm.$data.$apolloData.queries[this.key].loading=e,this.vm.$data.$apolloData.loading+=e?1:-1))}},{key:"loadingKey",get:function(){return this.options.loadingKey||this.vm.$apollo.loadingKey}}]),t}(M),$=function(e){function t(){var e,n;l(this,t);for(var r=arguments.length,o=new Array(r),c=0;c0&&void 0!==arguments[0]?arguments[0]:null;if(!e||!e.client){if("object"===c(this.client))return this.client;if(this.client){if(this.provider.clients){var t=this.provider.clients[this.client];if(!t)throw new Error("[vue-apollo] Missing client '".concat(this.client,"' in 'apolloProvider'"));return t}throw new Error("[vue-apollo] Missing 'clients' options in 'apolloProvider'")}return this.provider.defaultClient}var n=this.provider.clients[e.client];if(!n)throw new Error("[vue-apollo] Missing client '".concat(e.client,"' in 'apolloProvider'"));return n}},{key:"query",value:function(e){return this.getClient(e).query(e)}},{key:"watchQuery",value:function(e){var t=this,n=this.getClient(e).watchQuery(e),r=n.subscribe.bind(n);return n.subscribe=function(e){var sub=r(e);return t._apolloSubscriptions.push(sub),sub},n}},{key:"mutate",value:function(e){return this.getClient(e).mutate(e)}},{key:"subscribe",value:function(e){var t=this;if(!this.vm.$isServer){var n=this.getClient(e).subscribe(e),r=n.subscribe.bind(n);return n.subscribe=function(e){var sub=r(e);return t._apolloSubscriptions.push(sub),sub},n}}},{key:"addSmartQuery",value:function(e,t){var n=this,r=C(t,this.vm);r.query||(r={query:r});var o,c=this.vm.$options.apollo,l=this.provider.defaultOptions;if(l&&l.$query&&(o=l.$query),c&&c.$query&&(o=v({},o||{},{},c.$query)),o)for(var f in o)void 0===r[f]&&(r[f]=o[f]);var h=this.queries[e]=new F(this.vm,e,r,!1);if(this.vm.$isServer&&!1===r.prefetch||h.autostart(),!this.vm.$isServer){var d=r.subscribeToMore;d&&(Array.isArray(d)?d.forEach((function(sub,t){n.addSmartSubscription("".concat(e).concat(t),v({},sub,{linkedQuery:h}))})):this.addSmartSubscription(e,v({},d,{linkedQuery:h})))}return h}},{key:"addSmartSubscription",value:function(e,t){if(!this.vm.$isServer){t=C(t,this.vm);var n=this.subscriptions[e]=new $(this.vm,e,t,!1);return n.autostart(),t.linkedQuery&&t.linkedQuery._linkedSubscriptions.push(n),n}}},{key:"defineReactiveSetter",value:function(e,t,n){var r=this;this._watchers.push(this.vm.$watch(t,(function(t){r[e]=t}),{immediate:!0,deep:n}))}},{key:"destroy",value:function(){for(var e=0,t=this._watchers;e0&&void 0!==arguments[0]?arguments[0]:"$apolloProvider";return console.warn(".provide() is deprecated. Use the 'apolloProvider' option instead with the provider object directly."),d({},e,this)}}]),e}();var U={name:"ApolloQuery",provide:function(){return{getDollarApollo:this.getDollarApollo,getApolloQuery:this.getApolloQuery}},props:{query:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},fetchPolicy:{type:String,default:void 0},pollInterval:{type:Number,default:void 0},notifyOnNetworkStatusChange:{type:Boolean,default:void 0},context:{type:Object,default:void 0},update:{type:Function,default:function(data){return data}},skip:{type:Boolean,default:!1},debounce:{type:Number,default:0},throttle:{type:Number,default:0},clientId:{type:String,default:void 0},deep:{type:Boolean,default:void 0},tag:{type:String,default:"div"},prefetch:{type:Boolean,default:!0},options:{type:Object,default:function(){return{}}}},data:function(){return{result:{data:null,loading:!1,networkStatus:7,error:null},times:0}},watch:{fetchPolicy:function(e){this.$apollo.queries.query.setOptions({fetchPolicy:e})},pollInterval:function(e){this.$apollo.queries.query.setOptions({pollInterval:e})},notifyOnNetworkStatusChange:function(e){this.$apollo.queries.query.setOptions({notifyOnNetworkStatusChange:e})},"$data.$apolloData.loading":function(e){this.$emit("loading",!!e)}},apollo:{$client:function(){return this.clientId},query:function(){return v({query:function(){return"function"==typeof this.query?this.query(o.a):this.query},variables:function(){return this.variables},fetchPolicy:this.fetchPolicy,pollInterval:this.pollInterval,debounce:this.debounce,throttle:this.throttle,notifyOnNetworkStatusChange:this.notifyOnNetworkStatusChange,context:function(){return this.context},skip:function(){return this.skip},deep:this.deep,prefetch:this.prefetch},this.options,{manual:!0,result:function(e){var t=e,n=t.errors,r=t.loading,o=t.networkStatus,c=e.error;e=Object.assign({},e),n&&n.length&&((c=new Error("Apollo errors occurred (".concat(n.length,")"))).graphQLErrors=n);var data={};r?Object.assign(data,this.$_previousData,e.data):c?Object.assign(data,this.$apollo.queries.query.observer.getLastResult()||{},e.data):(data=e.data,this.$_previousData=e.data);var l=function(data){return Object.keys(data).length>0}(data);this.result={data:l?this.update(data):void 0,fullData:l?data:void 0,loading:r,error:c,networkStatus:o},this.times=++this.$_times,this.$emit("result",this.result)},error:function(e){this.result.loading=!1,this.result.error=e,this.$emit("error",e)}})}},created:function(){this.$_times=0},methods:{getDollarApollo:function(){return this.$apollo},getApolloQuery:function(){return this.$apollo.queries.query}},render:function(e){var t=this.$scopedSlots.default({result:this.result,times:this.times,query:this.$apollo.queries.query,isLoading:this.$apolloData.loading,gqlError:this.result&&this.result.error&&this.result.error.gqlError});return t=Array.isArray(t)?t.concat(this.$slots.default):[t].concat(this.$slots.default),this.tag?e(this.tag,t):t[0]}},B=0,G={name:"ApolloSubscribeToMore",inject:["getDollarApollo","getApolloQuery"],props:{document:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},updateQuery:{type:Function,default:void 0}},watch:{document:"refresh",variables:"refresh"},created:function(){this.$_key="sub_component_".concat(B++)},mounted:function(){this.refresh()},beforeDestroy:function(){this.destroy()},methods:{destroy:function(){this.$_sub&&this.$_sub.destroy()},refresh:function(){this.destroy();var e=this.document;"function"==typeof e&&(e=e(o.a)),this.$_sub=this.getDollarApollo().addSmartSubscription(this.$_key,{document:e,variables:this.variables,updateQuery:this.updateQuery,linkedQuery:this.getApolloQuery()})}},render:function(e){return null}},Y={props:{mutation:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},optimisticResponse:{type:Object,default:void 0},update:{type:Function,default:void 0},refetchQueries:{type:Function,default:void 0},clientId:{type:String,default:void 0},tag:{type:String,default:"div"},context:{type:Object,default:void 0}},data:function(){return{loading:!1,error:null}},watch:{loading:function(e){this.$emit("loading",e)}},methods:{mutate:function(e){var t=this;this.loading=!0,this.error=null;var n=this.mutation;return"function"==typeof n&&(n=n(o.a)),this.$apollo.mutate(v({mutation:n,client:this.clientId,variables:this.variables,optimisticResponse:this.optimisticResponse,update:this.update,refetchQueries:this.refetchQueries,context:this.context},e)).then((function(e){t.$emit("done",e),t.loading=!1})).catch((function(e){P(e),t.error=e,t.$emit("error",e),t.loading=!1}))}},render:function(e){var t=this.$scopedSlots.default({mutate:this.mutate,loading:this.loading,error:this.error,gqlError:this.error&&this.error.gqlError});return t=Array.isArray(t)?t.concat(this.$slots.default):[t].concat(this.$slots.default),this.tag?e(this.tag,t):t[0]}};function z(e,t){return void 0!==e&&Object.prototype.hasOwnProperty.call(e,t)}function K(){var e=this.$options,t=e.apolloProvider;if(t)this.$apolloProvider="function"==typeof t?t():t;else if(e.parent&&e.parent.$apolloProvider)this.$apolloProvider=e.parent.$apolloProvider;else if(e.provide){var n="function"==typeof e.provide?e.provide.call(this):e.provide;n&&n.$apolloProvider&&(this.$apolloProvider=n.$apolloProvider)}}function H(){var e=this;this.$_apolloInitData={};var t=this.$options.apollo;if(t){var n=function(n){"$"!==n.charAt(0)&&(t[n].manual||z(e.$options.props,n)||z(e.$options.computed,n)||z(e.$options.methods,n)||Object.defineProperty(e,n,{get:function(){return e.$data.$apolloData.data[n]},set:function(t){return e.$_apolloInitData[n]=t},enumerable:!0,configurable:!0}))};for(var r in t)n(r)}}function J(){var e=this,t=this.$apolloProvider;if(!this._apolloLaunched&&t){this._apolloLaunched=!0;var n=this.$options.apollo;if(n){for(var r in this.$_apolloPromises=[],n.$init||(n.$init=!0,t.defaultOptions&&(n=this.$options.apollo=Object.assign({},t.defaultOptions,n))),W(this.$apollo,"skipAll",n.$skipAll,n.$deep),W(this.$apollo,"skipAllQueries",n.$skipAllQueries,n.$deep),W(this.$apollo,"skipAllSubscriptions",n.$skipAllSubscriptions,n.$deep),W(this.$apollo,"client",n.$client,n.$deep),W(this.$apollo,"loadingKey",n.$loadingKey,n.$deep),W(this.$apollo,"error",n.$error,n.$deep),W(this.$apollo,"watchLoading",n.$watchLoading,n.$deep),Object.defineProperty(this,"$apolloData",{get:function(){return e.$data.$apolloData},enumerable:!0,configurable:!0}),n)if("$"!==r.charAt(0)){var o=n[r],c=this.$apollo.addSmartQuery(r,o);this.$isServer&&(o=C(o,this),!1===t.prefetch||!1===o.prefetch||!1===n.$prefetch||c.skip||this.$_apolloPromises.push(c.firstRun))}if(n.subscribe&&I.Vue.util.warn("vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead."),n.$subscribe)for(var l in n.$subscribe)this.$apollo.addSmartSubscription(l,n.$subscribe[l])}}}function W(e,t,n,r){void 0!==n&&("function"==typeof n?e.defineReactiveSetter(t,n,r):e[t]=n)}function X(){this.$_apollo&&this.$_apollo.destroy()}function Z(e,t){e.mixin(v({},"1"===t?{init:K}:{},{},"2"===t?{data:function(){return{$apolloData:{queries:{},loading:0,data:this.$_apolloInitData}}},beforeCreate:function(){K.call(this),H.call(this)},serverPrefetch:function(){var e=this;if(this.$_apolloPromises)return Promise.all(this.$_apolloPromises).then((function(){X.call(e)})).catch((function(t){return X.call(e),Promise.reject(t)}))}}:{},{created:J,destroyed:X}))}var ee=["$subscribe"];V.install=function e(t,n){if(!e.installed){e.installed=!0,I.Vue=t;var r=t.version.substr(0,t.version.indexOf(".")),o=t.config.optionMergeStrategies.methods;t.config.optionMergeStrategies.apollo=function(e,t,n){if(!e)return t;if(!t)return e;for(var r=Object.assign({},R(e,ee),e.data),c=Object.assign({},R(t,ee),t.data),map={},i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0){var l=o.shift();l&&l.applyMiddleware.apply(c,[e,f])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,T.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new d({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,o=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!v.default(n)&&!O.getOperationAST(n,o)||o&&!v.default(o)||r&&!m.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"==typeof n.query?n.query:_.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,T.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,l([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return o(t,void 0,void 0,(function(){var e,t;return c(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,T.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,T.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var data=e.data;t.processReceivedData(data)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[T.default.GQL_DATA,T.default.GQL_COMPLETE,T.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case T.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case T.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case T.default.GQL_COMPLETE:var o=this.operations[n].handler;delete this.operations[n],o.call(this,null,null);break;case T.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case T.default.GQL_DATA:var c=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,c);break;case T.default.GQL_CONNECTION_KEEP_ALIVE:var l=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,l&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,T.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=x}).call(this,n(24))},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){throw new Error("Static Class")}return e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_CONNECTION_TERMINATE="connection_terminate",e.GQL_START="start",e.GQL_DATA="data",e.GQL_ERROR="error",e.GQL_COMPLETE="complete",e.GQL_STOP="stop",e.SUBSCRIPTION_START="subscription_start",e.SUBSCRIPTION_DATA="subscription_data",e.SUBSCRIPTION_SUCCESS="subscription_success",e.SUBSCRIPTION_FAIL="subscription_fail",e.SUBSCRIPTION_END="subscription_end",e.INIT="init",e.INIT_SUCCESS="init_success",e.INIT_FAIL="init_fail",e.KEEP_ALIVE="keepalive",e}();t.default=r},,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(419),o=n(420),c=n(421);function l(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(e,t){if(l()=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|e}function O(e,t){if(h.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return K(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function E(b,e,t){var i=b[e];b[e]=b[t],b[t]=i}function S(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=h.from(t,r)),h.isBuffer(t))return 0===t.length?-1:T(e,t,n,r,o);if("number"==typeof t)return t&=255,h.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):T(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function T(e,t,n,r,o){var i,c=1,l=e.length,f=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;c=2,l/=2,f/=2,n/=2}function h(e,i){return 1===c?e[i]:e.readUInt16BE(i*c)}if(o){var d=-1;for(i=n;il&&(n=l-f),i=n;i>=0;i--){for(var y=!0,v=0;vo&&(r=o):r=o;var c=t.length;if(c%2!=0)throw new TypeError("Invalid hex string");r>c/2&&(r=c/2);for(var i=0;i>8,o=n%256,c.push(o),c.push(r);return c}(t,e.length-n),e,n,r)}function N(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:h>223?3:h>191?2:1;if(i+y<=n)switch(y){case 1:h<128&&(d=h);break;case 2:128==(192&(o=e[i+1]))&&(f=(31&h)<<6|63&o)>127&&(d=f);break;case 3:o=e[i+1],c=e[i+2],128==(192&o)&&128==(192&c)&&(f=(15&h)<<12|(63&o)<<6|63&c)>2047&&(f<55296||f>57343)&&(d=f);break;case 4:o=e[i+1],c=e[i+2],l=e[i+3],128==(192&o)&&128==(192&c)&&128==(192&l)&&(f=(15&h)<<18|(63&o)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(d=f)}null===d?(d=65533,y=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),i+=y}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",i=0;for(;i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},h.prototype.compare=function(e,t,n,r,o){if(!h.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var c=(o>>>=0)-(r>>>=0),l=(n>>>=0)-(t>>>=0),f=Math.min(c,l),d=this.slice(r,o),y=e.slice(t,n),i=0;io)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var c=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return j(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return I(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,n);default:if(c)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),c=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function $(e,t,n,r,o,c){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Q(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function V(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function U(e,t,n,r,o,c){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,c){return c||U(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,c){return c||U(e,0,n,8),o.write(e,t,n,r,52,8),n+8}h.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},h.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},h.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},h.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},h.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},h.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},h.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},h.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},h.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},h.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},h.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},h.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),o.read(this,e,!0,23,4)},h.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),o.read(this,e,!1,23,4)},h.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),o.read(this,e,!0,52,8)},h.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),o.read(this,e,!1,52,8)},h.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||$(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(o*=256);)this[t+i]=e/o&255;return t+n},h.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,1,255,0),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},h.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Q(this,e,t,!0),t+2},h.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Q(this,e,t,!1),t+2},h.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):V(this,e,t,!0),t+4},h.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},h.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$(this,e,t,n,o-1,-o)}var i=0,c=1,sub=0;for(this[t]=255&e;++i>0)-sub&255;return t+n},h.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$(this,e,t,n,o-1,-o)}var i=n-1,c=1,sub=0;for(this[t+i]=255&e;--i>=0&&(c*=256);)e<0&&0===sub&&0!==this[t+i+1]&&(sub=1),this[t+i]=(e/c>>0)-sub&255;return t+n},h.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,1,127,-128),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},h.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Q(this,e,t,!0),t+2},h.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Q(this,e,t,!1),t+2},h.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):V(this,e,t,!0),t+4},h.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},h.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},h.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},h.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},h.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},h.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!h.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&c.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&c.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&c.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&c.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;c.push(n)}else if(n<2048){if((t-=2)<0)break;c.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;c.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;c.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return c}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(24))},function(e,t,n){t.UINT32=n(422),t.UINT64=n(423)},function(e,t,n){"use strict";t.a=function(e,t){return t=t||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var c in s.open(t.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){o.push(t=t.toLowerCase()),u.push([t,n]),i[t]=i[t]?i[t]+","+n:n})),n(a())},s.onerror=r,s.withCredentials="include"==t.credentials,t.headers)s.setRequestHeader(c,t.headers[c]);s.send(t.body||null)}))}},,function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function l(e,source,t){return e.concat(source).map((function(element){return c(element,t)}))}function f(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(symbol){return e.propertyIsEnumerable(symbol)})):[]}(e))}function h(object,e){try{return e in object}catch(e){return!1}}function d(e,source,t){var n={};return t.isMergeableObject(e)&&f(e).forEach((function(r){n[r]=c(e[r],t)})),f(source).forEach((function(r){(function(e,t){return h(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(h(e,r)&&t.isMergeableObject(source[r])?n[r]=function(e,t){if(!t.customMerge)return y;var n=t.customMerge(e);return"function"==typeof n?n:y}(r,t)(e[r],source[r],t):n[r]=c(source[r],t))})),n}function y(e,source,t){(t=t||{}).arrayMerge=t.arrayMerge||l,t.isMergeableObject=t.isMergeableObject||r,t.cloneUnlessOtherwiseSpecified=c;var n=Array.isArray(source);return n===Array.isArray(e)?n?t.arrayMerge(e,source,t):d(e,source,t):c(source,t)}y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return y(e,n,t)}),{})};var v=y;e.exports=v},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(373).Observable},function(e,t,n){"use strict";e.exports=function(data,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var t,n="boolean"==typeof e.cycles&&e.cycles,r=e.cmp&&(t=e.cmp,function(e){return function(a,b){var n={key:a,value:e[a]},r={key:b,value:e[b]};return t(n,r)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var i,c;if(Array.isArray(t)){for(c="[",i=0;i1){var n=f(t);return"".concat(n,".").concat(e)}return e}var h,d=function(e){if(e.then)return e;if("function"==typeof e){var t=e();return t.then?t:Promise.resolve(t)}return Promise.resolve(e)};function g(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1?t-1:0),r=1;r0&&void 0!==arguments[0])||arguments[0];"undefined"!=typeof window&&o().forEach((function(t){window["ga-disable-".concat(t)]=e}))},A=function(){if("undefined"!=typeof document&&"undefined"!=typeof window){if(c.id){var e,t,n=[d(c.id),d(c.disabled)];if(e=c.checkDuplicatedScript,t=c.disableScriptLoader,[Boolean(window&&window.ga),e&&!(Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(e){return-1!==e.src.indexOf("analytics")||-1!==e.src.indexOf("gtag")})).length>0),!t].some(Boolean)){var r="https://www.google-analytics.com",h=c.debug.enabled?"analytics_debug":"analytics",i=c.customResourceURL?l(c.customResourceURL):l("".concat(r,"/").concat(h,".js"),r);n.push(i.catch((function(){p("An error occured! Please check your connection or disable your AD blocker")})))}return Promise.all(n).then((function(e){var t,n,r;u({id:e[0],disabled:e[1]}),k(c.disabled),function(){if(window.ga||!c.debug.enabled){if(window.ga){var e=o();c.debug.enabled&&(window.ga_debug={trace:c.debug.trace}),e.forEach((function(t){var n=f(t),r=c.customIdFields[t]||{},o=e.length>1?function(e){for(var t=1;t0&&(v("require","linker"),v("linker:autoLink",c.linkers)),c.debug.sendHitTask||_("sendHitTask",null)}}else p("Google Analytics has probably been blocked.")}(),function(){var e;c.set.forEach((function(e){var t=e.field,n=e.value;if(void 0===t||void 0===n)throw new Error('[vue-analytics] Wrong configuration in the plugin options.\nThe "set" array requires each item to have a "field" and a "value" property.');_(t,n)})),e=["ec","ecommerce"],c.require.forEach((function(t){if(-1!==e.indexOf(t)||-1!==e.indexOf(t.name))throw new Error("[vue-analytics] The ecommerce features are built-in in the plugin. \nFollow the ecommerce instructions available in the documentation.");if("string"!=typeof t&&"object"!==S(t))throw new Error('[vue-analytics] Wrong configuration in the plugin options. \nThe "require" array requires each item to be a string or to have a "name" and an "options" property.');var n=t.name||t;t.options?E(n,t.options):E(n)}))}(),c.untracked.forEach((function(e){v.apply(void 0,[e.m].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]&&arguments[1];v("send","exception",{exDescription:e,exFatal:t})},D=function(e){if(c.autoTracking.exception){window.addEventListener("error",(function(e){I(e.message)}));var t=e.config.errorHandler;e.config.errorHandler=function(e,n,r){I(e.message),c.autoTracking.exceptionLogs&&console.error(e),"function"==typeof t&&t.call(void 0,e,n,r)}}},N=I;function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){return"".concat(c.ecommerce.enhanced?"ec":"ecommerce",":").concat(e)},M=["addItem","addTransaction","addProduct","addImpression","setAction","addPromo","send"].reduce((function(e,t){return function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},{$vue:e})),e.directive("ga",F),e.prototype.$ga=e.$ga=L,D(e),A()}n.d(t,"default",(function(){return U})),n.d(t,"analyticsMiddleware",(function(){return B})),n.d(t,"onAnalyticsReady",(function(){return G})),n.d(t,"event",(function(){return Y})),n.d(t,"ecommerce",(function(){return z})),n.d(t,"set",(function(){return K})),n.d(t,"page",(function(){return H})),n.d(t,"query",(function(){return J})),n.d(t,"screenview",(function(){return W})),n.d(t,"time",(function(){return X})),n.d(t,"require",(function(){return Z})),n.d(t,"exception",(function(){return ee})),n.d(t,"social",(function(){return te}));var B=function(e){e.subscribe((function(e){var t=e.payload;if(t&&t.meta&&t.meta.analytics){var n=t.meta.analytics;if(!Array.isArray(n))throw new Error('The "analytics" property needs to be an array');n.forEach((function(e){var t,n,r=e.shift(),o=e;if(r.includes(":")){var i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r.split(":"),2);r=i[0],t=i[1]}if(!(r in L))throw new Error('[vue-analytics:vuex] The type "'.concat(r,"\" doesn't exist."));if(t&&!(t in L[r]))throw new Error('[vue-analytics:vuex] The type "'.concat(r,'" has not method "').concat(t,'".'));if("ecommerce"===r&&!t)throw new Error('[vue-analytics:vuex] The type "'.concat(r,'" needs to call a method. Check documentation.'));t?(n=L[r])[t].apply(n,$(o)):L[r].apply(L,$(o))}))}}))},G=function(){return new Promise((function(e,t){var n=setInterval((function(){"undefined"!=typeof window&&window.ga&&(e(),clearInterval(n))}),10)}))},Y=L.event,z=L.ecommerce,K=L.set,H=L.page,J=L.query,W=L.screenview,X=L.time,Z=L.require,ee=L.exception,te=L.social}])},function(e,t,n){"use strict";n(10),n(41);var r=n(7),o=n(2),c=n(4),l=window.__NUXT__;function f(){if(!this._hydrated)return this.$fetch()}function h(){if((e=this).$vnode&&e.$vnode.elm&&e.$vnode.elm.dataset&&e.$vnode.elm.dataset.fetchKey){var e;this._hydrated=!0,this._fetchKey=+this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var t in data)o.default.set(this.$data,t,data[t])}else d.call(this)}function d(){var e=!1!==this.$options.fetchOnServer;if("function"==typeof this.$options.fetchOnServer&&(e=!1!==this.$options.fetchOnServer.call(this)),e&&!this.$nuxt.isPreview&&this.$nuxt._pagePayload){this._hydrated=!0,this._fetchKey=this.$nuxt._payloadFetchIndex++;var data=this.$nuxt._pagePayload.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var t in data)o.default.set(this.$data,t,data[t])}}function y(){var e=this;return this._fetchPromise||(this._fetchPromise=v.call(this).then((function(){delete e._fetchPromise}))),this._fetchPromise}function v(){return m.apply(this,arguments)}function m(){return(m=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,t=null,n=Date.now(),e.prev=6,e.next=9,this.$options.fetch.call(this);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),t=Object(c.o)(e.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){e.next=19;break}return e.next=19,new Promise((function(e){return setTimeout(e,r)}));case 19:this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return e.stop()}}),e,this,[[6,11]])})))).apply(this,arguments)}t.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=y.bind(this),Object(c.a)(this,"created",h),Object(c.a)(this,"beforeMount",f))}}},,,,function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},,,function(e,t,n){"use strict";n.r(t),function(e){n(52),n(34),n(50),n(20),n(21),n(51);var t=n(11),r=(n(41),n(128),n(7)),o=(n(74),n(97),n(36),n(10),n(57),n(33),n(143),n(191),n(198),n(200),n(2)),c=n(162),l=n(121),f=n(4),h=n(38),d=n(171),y=n(94);n(426);function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i2?t-2:0),r=2;r0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]-1};function v(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function m(e){return"string"!=typeof e&&(e=String(e)),e}function _(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(t[Symbol.iterator]=function(){return t}),t}function O(e){this.map={},e instanceof O?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(header){this.append(header[0],header[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function w(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function E(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function S(e){var t=new FileReader,n=E(t);return t.readAsArrayBuffer(e),n}function T(e){if(e.slice)return e.slice(0);var view=new Uint8Array(e.byteLength);return view.set(new Uint8Array(e)),view.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(body){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=body,body?"string"==typeof body?this._bodyText=body:l&&Blob.prototype.isPrototypeOf(body)?this._bodyBlob=body:f&&FormData.prototype.isPrototypeOf(body)?this._bodyFormData=body:o&&URLSearchParams.prototype.isPrototypeOf(body)?this._bodyText=body.toString():h&&l&&((e=body)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=T(body.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h&&(ArrayBuffer.prototype.isPrototypeOf(body)||y(body))?this._bodyArrayBuffer=T(body):this._bodyText=body=Object.prototype.toString.call(body):this._bodyText="",this.headers.get("content-type")||("string"==typeof body?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},l&&(this.blob=function(){var e=w(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=w(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(S)}),this.text=function(){var e,t,n,r=w(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=E(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var view=new Uint8Array(e),t=new Array(view.length),i=0;i-1?n:t),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&body)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(body),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function A(body){var form=new FormData;return body.trim().split("&").forEach((function(e){if(e){var t=e.split("="),n=t.shift().replace(/\+/g," "),r=t.join("=").replace(/\+/g," ");form.append(decodeURIComponent(n),decodeURIComponent(r))}})),form}function I(e,t){if(!(this instanceof I))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new O(t.headers),this.url=t.url||"",this._initBody(e)}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})},x.call(k.prototype),x.call(I.prototype),I.prototype.clone=function(){return new I(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},I.error=function(){var e=new I(null,{status:0,statusText:""});return e.type="error",e};var D=[301,302,303,307,308];I.redirect=function(e,t){if(-1===D.indexOf(t))throw new RangeError("Invalid status code");return new I(null,{status:t,headers:{location:e}})};var N=r.DOMException;try{new N}catch(e){(N=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),N.prototype.constructor=N}function C(input,e){return new Promise((function(t,n){var o=new k(input,e);if(o.signal&&o.signal.aborted)return n(new N("Aborted","AbortError"));var c=new XMLHttpRequest;function f(){c.abort()}c.onload=function(){var e,n,r={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",n=new O,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(line){var e=line.split(":"),t=e.shift().trim();if(t){var r=e.join(":").trim();n.append(t,r)}})),n)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var body="response"in c?c.response:c.responseText;setTimeout((function(){t(new I(body,r))}),0)},c.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){n(new N("Aborted","AbortError"))}),0)},c.open(o.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(o.url),!0),"include"===o.credentials?c.withCredentials=!0:"omit"===o.credentials&&(c.withCredentials=!1),"responseType"in c&&(l?c.responseType="blob":h&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof O?o.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){c.setRequestHeader(t,m(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",f),c.onreadystatechange=function(){4===c.readyState&&o.signal.removeEventListener("abort",f)}),c.send(void 0===o._bodyInit?null:o._bodyInit)}))}C.polyfill=!0,r.fetch||(r.fetch=C,r.Headers=O,r.Request=k,r.Response=I)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApolloClient=function(e){var t,n,r,d=e.clientId,E=void 0===d?"defaultClient":d,T=e.httpEndpoint,j=e.wsEndpoint,k=void 0===j?null:j,A=e.tokenName,I=void 0===A?"apollo-token":A,D=e.persisting,N=void 0!==D&&D,C=e.ssr,R=void 0!==C&&C,P=e.websocketsOnly,M=void 0!==P&&P,L=e.link,link=void 0===L?null:L,F=e.defaultHttpLink,$=void 0===F||F,Q=e.httpLinkOptions,V=void 0===Q?{}:Q,U=e.cache,B=void 0===U?null:U,G=e.inMemoryCacheOptions,Y=void 0===G?{}:G,z=e.apollo,K=void 0===z?{}:z,H=e.clientState,J=void 0===H?null:H,W=e.getAuth,X=void 0===W?x:W,Z=e.typeDefs,ee=void 0===Z?void 0:Z,te=e.resolvers,ne=void 0===te?void 0:te,re=e.onCacheInit,ie=void 0===re?void 0:re,oe=M&&!R&&k;B||(B=new f.InMemoryCache(Y));if(!oe){var ae=(0,l.createUploadLink)(S({uri:T},V));link?$&&(link=(0,c.from)([link,ae])):link=ae,n=(0,_.setContext)((function(e,t){var n=t.headers,r=X(I);return{headers:S({},n,{},r?{authorization:r}:{})}})),link=n.concat(link)}if(!R){if("undefined"!=typeof window){var se=window.__APOLLO_STATE__;se&&se[E]&&B.restore(se[E])}if(!oe){var ue={};"object"===w(N)&&null!=N&&(ue=N,N=!0),!0===N&&(link=(0,m.createPersistedQueryLink)(ue).concat(link))}if(k){t=new h.SubscriptionClient(k,{reconnect:!0,connectionParams:function(){var e=X(I);return e?{authorization:e,headers:{authorization:e}}:{}}});var ce=new y.WebSocketLink(t);link=oe?ce:(0,c.split)((function(e){var t=e.query,n=(0,v.getMainDefinition)(t),r=n.kind,o=n.operation;return"OperationDefinition"===r&&"subscription"===o}),ce,link)}}J&&(console.warn("clientState is deprecated, see https://vue-cli-plugin-apollo.netlify.com/guide/client-state.html"),r=(0,O.withClientState)(S({cache:B},J)),link=(0,c.from)([r,link]));var le=new o.ApolloClient(S({link:link,cache:B},R?{ssrMode:!0}:{ssrForceFetchDelay:100,connectToDevTools:!1},{typeDefs:ee,resolvers:ne},K));r&&le.onResetStore(r.writeDefaults);ie&&(ie(B),le.onResetStore((function(){return ie(B)})));return{apolloClient:le,wsClient:t,stateLink:r}},t.restartWebsockets=function(e){var t=Object.assign({},e.operations);e.close(!0),e.connect(),Object.keys(t).forEach((function(n){e.sendMessage(n,d.default.GQL_START,t[n].options)}))};var r,o=n(371),c=n(16),l=n(374),f=n(120),h=n(377),d=(r=n(151))&&r.__esModule?r:{default:r},y=n(383),v=n(1),m=n(390),_=n(395),O=n(430);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function S(e){for(var i=1;i0}function w(e){return e.hasOwnProperty("graphQLErrors")}var E,S=function(e){function t(n){var r,o,c=n.graphQLErrors,l=n.networkError,f=n.errorMessage,h=n.extraInfo,d=e.call(this,f)||this;return d.graphQLErrors=c||[],d.networkError=l||null,d.message=f||(o="",O((r=d).graphQLErrors)&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";o+="GraphQL error: "+t+"\n"})),r.networkError&&(o+="Network error: "+r.networkError.message+"\n"),o=o.replace(/\n$/,"")),d.extraInfo=h,d.__proto__=t.prototype,d}return Object(o.__extends)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(E||(E={}));var T=function(e){function t(t){var n=t.queryManager,r=t.options,o=t.shouldSubscribe,l=void 0===o||o,f=e.call(this,(function(e){return f.onSubscribe(e)}))||this;f.observers=new Set,f.subscriptions=new Set,f.isTornDown=!1,f.options=r,f.variables=r.variables||{},f.queryId=n.generateQueryId(),f.shouldSubscribe=l;var h=Object(c.getOperationDefinition)(r.query);return f.queryName=h&&h.name&&h.name.value,f.queryManager=n,f}return Object(o.__extends)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:r.error}}var t,n,c,l=this.queryManager.getCurrentQueryResult(this),data=l.data,f=l.partial,h=this.queryManager.queryStore.get(this.queryId),d=this.options.fetchPolicy,y="network-only"===d||"no-cache"===d;if(h){var v=h.networkStatus;if(n=h,void 0===(c=this.options.errorPolicy)&&(c="none"),n&&(n.networkError||"none"===c&&O(n.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:v,error:new S({graphQLErrors:h.graphQLErrors,networkError:h.networkError})};h.variables&&(this.options.variables=Object(o.__assign)(Object(o.__assign)({},this.options.variables),h.variables),this.variables=this.options.variables),t={data:data,loading:m(v),networkStatus:v},h.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=h.graphQLErrors)}else{var _=y||f&&"cache-only"!==d;t={data:data,loading:_,networkStatus:_?r.loading:r.ready}}return f||this.updateLastResult(Object(o.__assign)(Object(o.__assign)({},t),{stale:!1})),Object(o.__assign)(Object(o.__assign)({},t),{partial:f})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(l.a)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new y.a(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),Object(l.a)(this.variables,e)||(this.variables=Object(o.__assign)(Object(o.__assign)({},this.variables),e)),Object(l.a)(this.options.variables,this.variables)||(this.options.variables=Object(o.__assign)(Object(o.__assign)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(o.__assign)(Object(o.__assign)({},this.options),{fetchPolicy:t}),E.refetch))},t.prototype.fetchMore=function(e){var t=this;Object(y.b)(e.updateQuery,2);var n=Object(o.__assign)(Object(o.__assign)({},e.query?e:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},this.options),e),{variables:Object(o.__assign)(Object(o.__assign)({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),r=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(r,n,E.normal,this.queryId).then((function(o){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:o.data,variables:n.variables})})),t.queryManager.stopQuery(r),o}),(function(e){throw t.queryManager.stopQuery(r),e}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=Object(o.__assign)(Object(o.__assign)({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n=e.fetchPolicy;return this.setVariables(this.options.variables,t!==n&&("cache-only"===t||"standby"===t||"network-only"===n),e.fetchResults)},t.prototype.setVariables=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1,e=e||this.variables,!t&&Object(l.a)(e,this.variables)?this.observers.size&&n?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.getQueryWithPreviousResult(this.queryId),r=n.previousResult,o=n.variables,l=n.document,f=Object(c.tryFunctionOrLogError)((function(){return e(r,{variables:o})}));f&&(t.dataStore.markUpdateQueryResult(l,o,f),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){k(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(c.cloneDeep)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var n=e._subscription._observer;n&&!n.error&&(n.error=x)}catch(e){}var r=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),r&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,n=this.queryId;this.shouldSubscribe&&t.addObservableQuery(n,this),this.options.pollInterval&&(k(this),t.startPollingQuery(this.options,n));var c=function(t){e.updateLastResult(Object(o.__assign)(Object(o.__assign)({},e.lastResult),{errors:t.graphQLErrors,networkStatus:r.error,loading:!1})),j(e.observers,"error",e.lastError=t)};t.observeQuery(n,this.options,{next:function(n){if(e.lastError||e.isDifferentFromLastResult(n)){var r=e.updateLastResult(n),o=e.options,c=o.query,f=o.variables,h=o.fetchPolicy;t.transform(c).hasClientExports?t.getLocalState().addExportedVariables(c,f).then((function(o){var f=e.variables;e.variables=e.options.variables=o,!n.loading&&r&&"cache-only"!==h&&t.transform(c).serverQuery&&!Object(l.a)(f,o)?e.refetch():j(e.observers,"next",n)})):j(e.observers,"next",n)}},error:c}).catch(c)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(sub){return sub.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(_);function x(e){}function j(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function k(e){var t=e.options.fetchPolicy;Object(y.b)("cache-first"!==t&&"cache-only"!==t,3)}var A=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),I=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];Object(y.b)(!t||t.document===e.document||Object(l.a)(t.document,e.document),19);var n,o=!1,c=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(l.a)(t.variables,e.variables)||(o=!0,c=t.variables)),n=o?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var f=[];t&&t.graphQLErrors&&(f=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:c,networkError:null,graphQLErrors:f,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=O(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){var n=this.store&&this.store[e];n&&(n.networkError=null,n.previousVariables=null,t&&(n.networkStatus=r.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(n){e.indexOf(n)<0?t.stopQuery(n):t.store[n].networkStatus=r.loading}))},e}();var D=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(c.mergeDeep)(t.resolvers,e)})):this.resolvers=Object(c.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,c=e.variables,l=e.onlyRunForcedResolvers,f=void 0!==l&&l;return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,c,this.fragmentMatcher,f).then((function(e){return Object(o.__assign)(Object(o.__assign)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(c.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(c.removeClientSetsFromDocument)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(o.__assign)(Object(o.__assign)({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(y.b)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(data){return Object(o.__assign)(Object(o.__assign)({},t),data.exportedVariables)}))]:[2,Object(o.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(v.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return v.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(c.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,l,f){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===l&&(l=function(){return!0}),void 0===f&&(f=!1),Object(o.__awaiter)(this,void 0,void 0,(function(){var h,d,y,v,m,_,O,w,E;return Object(o.__generator)(this,(function(S){var T;return h=Object(c.getMainDefinition)(e),d=Object(c.getFragmentDefinitions)(e),y=Object(c.createFragmentMap)(d),v=h.operation,m=v?(T=v).charAt(0).toUpperCase()+T.slice(1):"Query",O=(_=this).cache,w=_.client,E={fragmentMap:y,context:Object(o.__assign)(Object(o.__assign)({},n),{cache:O,client:w}),variables:r,fragmentMatcher:l,defaultOperationType:m,exportedVariables:{},onlyRunForcedResolvers:f},[2,this.resolveSelectionSet(h.selectionSet,t,E).then((function(e){return{result:e,exportedVariables:E.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var r,l,f,h,d,v=this;return Object(o.__generator)(this,(function(m){return r=n.fragmentMap,l=n.context,f=n.variables,h=[t],d=function(e){return Object(o.__awaiter)(v,void 0,void 0,(function(){var d,v;return Object(o.__generator)(this,(function(o){return Object(c.shouldInclude)(e,f)?Object(c.isField)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&h.push(((n={})[Object(c.resultKeyNameFromField)(e)]=t,n))}))]:(Object(c.isInlineFragment)(e)?d=e:(d=r[e.name.value],Object(y.b)(d,7)),d&&d.typeCondition&&(v=d.typeCondition.name.value,n.fragmentMatcher(t,v,l))?[2,this.resolveSelectionSet(d.selectionSet,t,n).then((function(e){h.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(d)).then((function(){return Object(c.mergeDeepArray)(h)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var r,l,f,h,d,y,v,m,_,O=this;return Object(o.__generator)(this,(function(o){return r=n.variables,l=e.name.value,f=Object(c.resultKeyNameFromField)(e),h=l!==f,d=t[f]||t[l],y=Promise.resolve(d),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(v=t.__typename||n.defaultOperationType,(m=this.resolvers&&this.resolvers[v])&&(_=m[h?l:f])&&(y=Promise.resolve(_(t,Object(c.argumentsObjectFromField)(e,r),n.context,{field:e,fragmentMap:n.fragmentMap})))),[2,y.then((function(t){return void 0===t&&(t=d),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?O.resolveSubSelectedArray(e,t,n):e.selectionSet?O.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}();function N(e){var t=new Set,sub=null;return new _((function(n){return t.add(n),sub=sub||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(n)&&!t.size&&sub&&(sub.unsubscribe(),sub=null)}}))}var C=Object.prototype.hasOwnProperty,R=function(){function e(e){var link=e.link,t=e.queryDeduplication,n=void 0!==t&&t,r=e.store,o=e.onBroadcast,l=void 0===o?function(){}:o,f=e.ssrMode,h=void 0!==f&&f,d=e.clientAwareness,y=void 0===d?{}:d,v=e.localState,m=e.assumeImmutableResults;this.mutationStore=new A,this.queryStore=new I,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(c.canUseWeakMap?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=link,this.queryDeduplication=n,this.dataStore=r,this.onBroadcast=l,this.clientAwareness=y,this.localState=v||new D({cache:r.getCache()}),this.ssrMode=h,this.assumeImmutableResults=!!m}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new y.a(8))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,l=e.updateQueries,f=e.refetchQueries,h=void 0===f?[]:f,d=e.awaitRefetchQueries,v=void 0!==d&&d,m=e.update,_=e.errorPolicy,w=void 0===_?"none":_,E=e.fetchPolicy,T=e.context,x=void 0===T?{}:T;return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,f,d,_=this;return Object(o.__generator)(this,(function(T){switch(T.label){case 0:return Object(y.b)(t,9),Object(y.b)(!E||"no-cache"===E,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,x)]:[3,2];case 1:n=T.sent(),T.label=2;case 2:return f=function(){var e={};return l&&_.queries.forEach((function(t,n){var r=t.observableQuery;if(r){var o=r.queryName;o&&C.call(l,o)&&(e[n]={updater:l[o],query:_.queryStore.get(n)})}})),e},this.mutationStore.initMutation(e,t,n),this.dataStore.markMutationInit({mutationId:e,document:t,variables:n,updateQueries:f(),update:m,optimisticResponse:r}),this.broadcastQueries(),d=this,[2,new Promise((function(l,y){var _,T;d.getObservableFromLink(t,Object(o.__assign)(Object(o.__assign)({},x),{optimisticResponse:r}),n,!1).subscribe({next:function(r){Object(c.graphQLResultHasError)(r)&&"none"===w?T=new S({graphQLErrors:r.errors}):(d.mutationStore.markMutationResult(e),"no-cache"!==E&&d.dataStore.markMutationResult({mutationId:e,result:r,document:t,variables:n,updateQueries:f(),update:m}),_=r)},error:function(t){d.mutationStore.markMutationError(e,t),d.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),d.broadcastQueries(),d.setQuery(e,(function(){return{document:null}})),y(new S({networkError:t}))},complete:function(){if(T&&d.mutationStore.markMutationError(e,T),d.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),d.broadcastQueries(),T)y(T);else{"function"==typeof h&&(h=h(_));var t=[];O(h)&&h.forEach((function(e){if("string"==typeof e)d.queries.forEach((function(n){var r=n.observableQuery;r&&r.queryName===e&&t.push(r.refetch())}));else{var n={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(n.context=e.context),t.push(d.query(n))}})),Promise.all(v?t:[]).then((function(){d.setQuery(e,(function(){return{document:null}})),"ignore"===w&&_&&Object(c.graphQLResultHasError)(_)&&delete _.errors,l(_)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(o.__awaiter)(this,void 0,void 0,(function(){var l,f,h,d,y,v,m,_,O,T,x,j,k,A,I,D,N,C,R=this;return Object(o.__generator)(this,(function(P){switch(P.label){case 0:return l=t.metadata,f=void 0===l?null:l,h=t.fetchPolicy,d=void 0===h?"cache-first":h,y=t.context,v=void 0===y?{}:y,m=this.transform(t.query).document,_=this.getVariables(m,t.variables),this.transform(m).hasClientExports?[4,this.localState.addExportedVariables(m,_,v)]:[3,2];case 1:_=P.sent(),P.label=2;case 2:if(t=Object(o.__assign)(Object(o.__assign)({},t),{variables:_}),x=T="network-only"===d||"no-cache"===d,T||(j=this.dataStore.getCache().diff({query:m,variables:_,returnPartialData:!0,optimistic:!1}),k=j.complete,A=j.result,x=!k||"cache-and-network"===d,O=A),I=x&&"cache-only"!==d&&"standby"!==d,Object(c.hasDirectives)(["live"],m)&&(I=!0),D=this.idCounter++,N="no-cache"!==d?this.updateQueryWatch(e,m,t):void 0,this.setQuery(e,(function(){return{document:m,lastRequestId:D,invalidated:!0,cancel:N}})),this.invalidate(r),this.queryStore.initQuery({queryId:e,document:m,storePreviousVariables:I,variables:_,isPoll:n===E.poll,isRefetch:n===E.refetch,metadata:f,fetchMoreForQueryId:r}),this.broadcastQueries(),I){if(C=this.fetchRequest({requestId:D,queryId:e,document:m,options:t,fetchMoreForQueryId:r}).catch((function(t){throw w(t)?t:(D>=R.getQuery(e).lastRequestId&&(R.queryStore.markQueryError(e,t,r),R.invalidate(e),R.invalidate(r),R.broadcastQueries()),new S({networkError:t}))})),"cache-and-network"!==d)return[2,C];C.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!I),this.invalidate(e),this.invalidate(r),this.transform(m).hasForcedResolvers?[2,this.localState.runResolvers({document:m,remoteResult:{data:O},context:v,variables:_,onlyRunForcedResolvers:!0}).then((function(n){return R.markQueryResult(e,n,t,r),R.broadcastQueries(),n}))]:(this.broadcastQueries(),[2,{data:O}])}}))}))},e.prototype.markQueryResult=function(e,t,n,r){var o=n.fetchPolicy,c=n.variables,l=n.errorPolicy;"no-cache"===o?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,c,r,"ignore"===l||"all"===l)},e.prototype.queryListenerForObserver=function(e,t,n){var r=this;function o(e,t){if(n[e])try{n[e](t)}catch(e){}}return function(n,c){if(r.invalidate(e,!1),n){var l=r.getQuery(e),f=l.observableQuery,h=l.document,d=f?f.options.fetchPolicy:t.fetchPolicy;if("standby"!==d){var y=m(n.networkStatus),v=f&&f.getLastResult(),_=!(!v||v.networkStatus===n.networkStatus),w=t.returnPartialData||!c&&n.previousVariables||_&&t.notifyOnNetworkStatusChange||"cache-only"===d||"cache-and-network"===d;if(!y||w){var E=O(n.graphQLErrors),T=f&&f.options.errorPolicy||t.errorPolicy||"none";if("none"===T&&E||n.networkError)return o("error",new S({graphQLErrors:n.graphQLErrors,networkError:n.networkError}));try{var data=void 0,x=void 0;if(c)"no-cache"!==d&&"network-only"!==d&&r.setQuery(e,(function(){return{newData:null}})),data=c.result,x=!c.complete;else{var j=f&&f.getLastError(),k="none"!==T&&(j&&j.graphQLErrors)!==n.graphQLErrors;if(v&&v.data&&!k)data=v.data,x=!1;else{var A=r.dataStore.getCache().diff({query:h,variables:n.previousVariables||n.variables,returnPartialData:!0,optimistic:!0});data=A.result,x=!A.complete}}var I=x&&!(t.returnPartialData||"cache-only"===d),D={data:I?v&&v.data:data,loading:y,networkStatus:n.networkStatus,stale:I};"all"===T&&E&&(D.errors=n.graphQLErrors),o("next",D)}catch(e){o("error",new S({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.dataStore.getCache(),r=n.transformDocument(e),o=Object(c.removeConnectionDirectiveFromDocument)(n.transformForLink(r)),l=this.localState.clientQuery(r),f=this.localState.serverQuery(o),h={document:r,hasClientExports:Object(c.hasClientExports)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:l,serverQuery:f,defaultVars:Object(c.getDefaultValues)(Object(c.getOperationDefinition)(r))},d=function(e){e&&!t.has(e)&&t.set(e,h)};d(e),d(r),d(l),d(f)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(o.__assign)(Object(o.__assign)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(y.b)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=Object(o.__assign)({},e);return new T({queryManager:this,options:n,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(y.b)(e.query,12),Object(y.b)("Document"===e.query.kind,13),Object(y.b)(!e.returnPartialData,14),Object(y.b)(!e.pollInterval,15),new Promise((function(n,r){var o=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+o.queryId,r),o.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+o.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,o=this.getQuery(e).cancel;o&&o();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var o=n.getLastResult();o&&(t=o.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new y.a(16))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.queries.forEach((function(r,o){var c=r.observableQuery;if(c){var l=c.options.fetchPolicy;c.resetLastResults(),"cache-only"===l||!e&&"standby"===l||n.push(c.refetch()),t.setQuery(o,(function(){return{newData:null}})),t.invalidate(o)}})),this.broadcastQueries(),Promise.all(n)},e.prototype.observeQuery=function(e,t,n){return this.addQueryListener(e,this.queryListenerForObserver(e,t,n)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.variables;n=this.transform(n).document,o=this.getVariables(n,o);var l=function(e){return t.getObservableFromLink(n,{},e,!1).map((function(o){if(r&&"no-cache"===r||(t.dataStore.markSubscriptionResult(o,n,e),t.broadcastQueries()),Object(c.graphQLResultHasError)(o))throw new S({graphQLErrors:o.errors});return o}))};if(this.transform(n).hasClientExports){var f=this.localState.addExportedVariables(n,o).then(l);return new _((function(e){var sub=null;return f.then((function(t){return sub=t.subscribe(e)}),e.error),function(){return sub&&sub.unsubscribe()}}))}return l(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,o=n.query,c=n.fetchPolicy,l=n.returnPartialData,f=e.getLastResult(),h=this.getQuery(e.queryId).newData;if(h&&h.complete)return{data:h.result,partial:!1};if("no-cache"===c||"network-only"===c)return{data:void 0,partial:!1};var d=this.dataStore.getCache().diff({query:o,variables:r,previousResult:f?f.data:void 0,returnPartialData:!0,optimistic:t}),y=d.result,v=d.complete;return{data:v||l?y:void 0,partial:!v}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(y.b)(n,17),t=n}else t=e;var r=t.options,o=r.variables,c=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:o,document:c}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,n){t.invalidated&&t.listeners.forEach((function(r){r&&r(e.queryStore.get(n),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var l,f=this;void 0===r&&(r=this.queryDeduplication);var d=this.transform(e).serverQuery;if(d){var y=this.inFlightLinkObservables,link=this.link,v={query:d,variables:n,operationName:Object(c.getOperationName)(d)||void 0,context:this.prepareContext(Object(o.__assign)(Object(o.__assign)({},t),{forceFetch:!r}))};if(t=v.context,r){var m=y.get(d)||new Map;y.set(d,m);var O=JSON.stringify(n);if(!(l=m.get(O))){m.set(O,l=N(Object(h.execute)(link,v)));var w=function(){m.delete(O),m.size||y.delete(d),E.unsubscribe()},E=l.subscribe({next:w,error:w,complete:w})}}else l=N(Object(h.execute)(link,v))}else l=_.of({data:{}}),t=this.prepareContext(t);var S=this.transform(e).clientQuery;return S&&(l=function(e,t){return new _((function(n){var r=n.next,o=n.error,c=n.complete,l=0,f=!1,h={next:function(e){++l,new Promise((function(n){n(t(e))})).then((function(e){--l,r&&r.call(n,e),f&&h.complete()}),(function(e){--l,o&&o.call(n,e)}))},error:function(e){o&&o.call(n,e)},complete:function(){f=!0,l||c&&c.call(n)}},sub=e.subscribe(h);return function(){return sub.unsubscribe()}}))}(l,(function(e){return f.localState.runResolvers({document:S,remoteResult:e,context:t,variables:n})}))),l},e.prototype.fetchRequest=function(e){var t,n,o=this,c=e.requestId,l=e.queryId,f=e.document,h=e.options,d=e.fetchMoreForQueryId,y=h.variables,v=h.errorPolicy,m=void 0===v?"none":v,_=h.fetchPolicy;return new Promise((function(e,v){var w=o.getObservableFromLink(f,h.context,y),E="fetchRequest:"+l;o.fetchQueryRejectFns.set(E,v);var T=function(){o.fetchQueryRejectFns.delete(E),o.setQuery(l,(function(e){e.subscriptions.delete(x)}))},x=w.map((function(e){if(c>=o.getQuery(l).lastRequestId&&(o.markQueryResult(l,e,h,d),o.queryStore.markQueryResult(l,e,d),o.invalidate(l),o.invalidate(d),o.broadcastQueries()),"none"===m&&O(e.errors))return v(new S({graphQLErrors:e.errors}));if("all"===m&&(n=e.errors),d||"no-cache"===_)t=e.data;else{var r=o.dataStore.getCache().diff({variables:y,query:f,optimistic:!1,returnPartialData:!0}),w=r.result;(r.complete||h.returnPartialData)&&(t=w)}})).subscribe({error:function(e){T(),v(e)},complete:function(){T(),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})}});o.setQuery(l,(function(e){e.subscriptions.add(x)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(o.__assign)(Object(o.__assign)({},n),t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(o.__assign)(Object(o.__assign)({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=this,c=e.pollInterval;if(Object(y.b)(c,18),!this.ssrMode){var l=this.pollingInfoByQueryId.get(t);l||this.pollingInfoByQueryId.set(t,l={}),l.interval=c,l.options=Object(o.__assign)(Object(o.__assign)({},e),{fetchPolicy:"network-only"});var f=function(){var e=r.pollingInfoByQueryId.get(t);e&&(r.checkInFlight(t)?h():r.fetchQuery(t,e.options,E.poll).then(h,h))},h=function(){var e=r.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(f,e.interval))};n&&this.addQueryListener(t,n),h()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),P=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var l=!Object(c.graphQLResultHasError)(e);o&&Object(c.graphQLResultHasError)(e)&&e.data&&(l=!0),!r&&l&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(c.graphQLResultHasError)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t,n=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(r){var o=n.cache;n.cache=r;try{n.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{n.cache=o}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!Object(c.graphQLResultHasError)(e.result)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],r=e.updateQueries;r&&Object.keys(r).forEach((function(o){var l=r[o],f=l.query,h=l.updater,d=t.cache.diff({query:f.document,variables:f.variables,returnPartialData:!0,optimistic:!1}),y=d.result;if(d.complete){var v=Object(c.tryFunctionOrLogError)((function(){return h(y,{mutationResult:e.result,queryName:Object(c.getOperationName)(f.document)||void 0,queryVariables:f.variables})}));v&&n.push({result:v,dataId:"ROOT_QUERY",query:f.document,variables:f.variables})}})),this.cache.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var r=e.update;r&&Object(c.tryFunctionOrLogError)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),M=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.cache,r=e.ssrMode,o=void 0!==r&&r,c=e.ssrForceFetchDelay,l=void 0===c?0:c,f=e.connectToDevTools,d=e.queryDeduplication,v=void 0===d||d,m=e.defaultOptions,_=e.assumeImmutableResults,O=void 0!==_&&_,w=e.resolvers,E=e.typeDefs,S=e.fragmentMatcher,T=e.name,x=e.version,link=e.link;if(!link&&w&&(link=h.ApolloLink.empty()),!link||!n)throw new y.a(4);this.link=link,this.cache=n,this.store=new P(n),this.disableNetworkFetches=o||l>0,this.queryDeduplication=v,this.defaultOptions=m||{},this.typeDefs=E,l&&setTimeout((function(){return t.disableNetworkFetches=!1}),l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==f&&(f&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new D({cache:n,client:this,resolvers:w,fragmentMatcher:S}),this.queryManager=new R({link:this.link,store:this.store,queryDeduplication:v,ssrMode:o,clientAwareness:{name:T,version:x},localState:this.localState,assumeImmutableResults:O,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(o.__assign)(Object(o.__assign)({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(o.__assign)(Object(o.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(o.__assign)(Object(o.__assign)({},this.defaultOptions.query),e)),Object(y.b)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(o.__assign)(Object(o.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(o.__assign)(Object(o.__assign)({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(h.execute)(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();t.default=M},,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var i=0;i1,o=!1,c=arguments[1],l=c;return new n((function(n){return t.subscribe({next:function(t){var c=!o;if(o=!0,!c||r)try{l=e(l,t)}catch(e){return n.error(e)}else l=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(l),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r=0&&o.splice(i,1),l()}});o.push(c)},error:function(e){r.error(e)},complete:function(){l()}});function l(){c.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(s){return s.unsubscribe()})),c.unsubscribe()}}))}},{key:y,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=m(t,y);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return O(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(f("iterator")&&(r=m(t,d)))return new n((function(e){E((function(){if(!e.closed){var n=!0,o=!1,c=void 0;try{for(var l,f=r.call(t)[Symbol.iterator]();!(n=(l=f.next()).done);n=!0){var h=l.value;if(e.next(h),e.closed)return}}catch(e){o=!0,c=e}finally{try{n||null==f.return||f.return()}finally{if(o)throw c}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){E((function(){if(!e.closed){for(var i=0;i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0){var l=o.shift();l&&l.applyMiddleware.apply(c,[e,f])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(e){return n(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,T.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new d({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,o=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!v.default(n)&&!O.getOperationAST(n,o)||o&&!v.default(o)||r&&!m.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"==typeof n.query?n.query:_.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,T.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,l([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return o(t,void 0,void 0,(function(){var e,t;return c(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,T.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,T.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var data=e.data;t.processReceivedData(data)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[T.default.GQL_DATA,T.default.GQL_COMPLETE,T.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case T.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case T.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case T.default.GQL_COMPLETE:var o=this.operations[n].handler;delete this.operations[n],o.call(this,null,null);break;case T.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case T.default.GQL_DATA:var c=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,c);break;case T.default.GQL_CONNECTION_KEEP_ALIVE:var l=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,l&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,T.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=x}).call(this,n(24))},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o="~";function c(){}function l(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function f(e,t,n,r,c){if("function"!=typeof n)throw new TypeError("The listener must be a function");var f=new l(n,r||e,c),h=o?o+t:t;return e._events[h]?e._events[h].fn?e._events[h]=[e._events[h],f]:e._events[h].push(f):(e._events[h]=f,e._eventsCount++),e}function h(e,t){0==--e._eventsCount?e._events=new c:delete e._events[t]}function d(){this._events=new c,this._eventsCount=0}Object.create&&(c.prototype=Object.create(null),(new c).__proto__||(o=!1)),d.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},d.prototype.listeners=function(e){var t=o?o+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,r=n.length,c=new Array(r);i=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){"use strict";n.r(t),n.d(t,"setContext",(function(){return l}));var r=n(0),o=n(16),c=n(9);function l(e){return new o.ApolloLink((function(t,n){var o=Object(r.__rest)(t,[]);return new c.a((function(r){var c;return Promise.resolve(o).then((function(n){return e(n,t.getContext())})).then(t.setContext).then((function(){c=n(t).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)})})).catch(r.error.bind(r)),function(){c&&c.unsubscribe()}}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);function o(e,t,n){var c=n.fragmentMap,f=n.contextValue,h=n.variableValues,d={};return e.selections.forEach((function(e){if(!h||r.shouldInclude(e,h))if(r.isField(e)){var y=function(e,t,n){var c=n.variableValues,l=n.contextValue,f=n.resolver,h=e.name.value,d=r.argumentsObjectFromField(e,c),y={isLeaf:!e.selectionSet,resultKey:r.resultKeyNameFromField(e),directives:r.getDirectiveInfoFromField(e,c),field:e},v=f(h,t,d,l,y);if(!e.selectionSet)return v;if(null==v)return v;if(Array.isArray(v))return function e(t,n,r){return n.map((function(n){return null===n?null:Array.isArray(n)?e(t,n,r):o(t.selectionSet,n,r)}))}(e,v,n);return o(e.selectionSet,v,n)}(e,t,n),v=r.resultKeyNameFromField(e);void 0!==y&&(void 0===d[v]?d[v]=y:l(d[v],y))}else{var m=void 0;if(r.isInlineFragment(e))m=e;else if(!(m=c[e.name.value]))throw new Error("No fragment named "+e.name.value);var _=m.typeCondition.name.value;if(n.fragmentMatcher(t,_,f)){var O=o(m.selectionSet,t,n);l(d,O)}}})),n.resultMapper?n.resultMapper(d,t):d}t.graphql=function(e,t,n,c,l,f){void 0===l&&(l={}),void 0===f&&(f={});var h=r.getMainDefinition(t),d=r.getFragmentDefinitions(t),y={fragmentMap:r.createFragmentMap(d),contextValue:c,variableValues:l,resultMapper:f.resultMapper,resolver:e,fragmentMatcher:f.fragmentMatcher||function(){return!0}};return o(h.selectionSet,n,y)};var c=Object.prototype.hasOwnProperty;function l(e,t){null!==t&&"object"==typeof t&&Object.keys(t).forEach((function(n){var r=t[n];c.call(e,n)?l(e[n],r):e[n]=r}))}t.merge=l},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var s,i=1,t=arguments.length;i>>16,n+=t*l,n&=65535,n+=e*f;var h=this._low+(65535&r),d=h>>>16,y=(d+=this._high+(65535&n))<<16|65535&h;d=(y=y<<13|y>>>19)>>>16,n=(r=(h=65535&y)*(l=o._low))>>>16,n+=d*l,n&=65535,n+=h*(f=o._high),this._low=65535&r,this._high=65535&n};var o=r("2654435761"),c=r("2246822519"),l=r("3266489917"),f=r("668265263"),h=r("374761393");function d(){return 2==arguments.length?new d(arguments[1]).update(arguments[0]).digest():this instanceof d?void y.call(this,arguments[0]):new d(arguments[0])}function y(e){return this.seed=e instanceof r?e.clone():r(e),this.v1=this.seed.clone().add(o).add(c),this.v2=this.seed.clone().add(c),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(o),this.total_len=0,this.memsize=0,this.memory=null,this}d.prototype.init=y,d.prototype.update=function(input){var e,n="string"==typeof input;n&&(input=function(e){for(var t=[],i=0,n=e.length;i>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(i++,r=65536+((1023&r)<<10|1023&e.charCodeAt(i)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return new Uint8Array(t)}(input),n=!1,e=!0),"undefined"!=typeof ArrayBuffer&&input instanceof ArrayBuffer&&(e=!0,input=new Uint8Array(input));var p=0,r=input.length,o=p+r;if(0==r)return this;if(this.total_len+=r,0==this.memsize&&(this.memory=n?"":e?new Uint8Array(16):new t(16)),this.memsize+r<16)return n?this.memory+=input:e?this.memory.set(input.subarray(0,r),this.memsize):input.copy(this.memory,this.memsize,0,r),this.memsize+=r,this;if(this.memsize>0){n?this.memory+=input.slice(0,16-this.memsize):e?this.memory.set(input.subarray(0,16-this.memsize),this.memsize):input.copy(this.memory,this.memsize,0,16-this.memsize);var c=0;n?(this.v1.xxh_update(this.memory.charCodeAt(c+1)<<8|this.memory.charCodeAt(c),this.memory.charCodeAt(c+3)<<8|this.memory.charCodeAt(c+2)),c+=4,this.v2.xxh_update(this.memory.charCodeAt(c+1)<<8|this.memory.charCodeAt(c),this.memory.charCodeAt(c+3)<<8|this.memory.charCodeAt(c+2)),c+=4,this.v3.xxh_update(this.memory.charCodeAt(c+1)<<8|this.memory.charCodeAt(c),this.memory.charCodeAt(c+3)<<8|this.memory.charCodeAt(c+2)),c+=4,this.v4.xxh_update(this.memory.charCodeAt(c+1)<<8|this.memory.charCodeAt(c),this.memory.charCodeAt(c+3)<<8|this.memory.charCodeAt(c+2))):(this.v1.xxh_update(this.memory[c+1]<<8|this.memory[c],this.memory[c+3]<<8|this.memory[c+2]),c+=4,this.v2.xxh_update(this.memory[c+1]<<8|this.memory[c],this.memory[c+3]<<8|this.memory[c+2]),c+=4,this.v3.xxh_update(this.memory[c+1]<<8|this.memory[c],this.memory[c+3]<<8|this.memory[c+2]),c+=4,this.v4.xxh_update(this.memory[c+1]<<8|this.memory[c],this.memory[c+3]<<8|this.memory[c+2])),p+=16-this.memsize,this.memsize=0,n&&(this.memory="")}if(p<=o-16){var l=o-16;do{n?(this.v1.xxh_update(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2)),p+=4,this.v2.xxh_update(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2)),p+=4,this.v3.xxh_update(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2)),p+=4,this.v4.xxh_update(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2))):(this.v1.xxh_update(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2]),p+=4,this.v2.xxh_update(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2]),p+=4,this.v3.xxh_update(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2]),p+=4,this.v4.xxh_update(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2])),p+=4}while(p<=l)}return p=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(h)).add(u.fromNumber(this.total_len));p<=d-4;)n?u.fromBits(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2)):u.fromBits(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2]),e.add(u.multiply(l)).rotl(17).multiply(f),p+=4;for(;p0?r-4:r;for(i=0;i>16&255,h[d++]=t>>8&255,h[d++]=255&t;2===l&&(t=o[e.charCodeAt(i)]<<2|o[e.charCodeAt(i+1)]>>4,h[d++]=255&t);1===l&&(t=o[e.charCodeAt(i)]<<10|o[e.charCodeAt(i+1)]<<4|o[e.charCodeAt(i+2)]>>2,h[d++]=t>>8&255,h[d++]=255&t);return h},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,c=[],i=0,l=n-o;il?l:i+16383));1===o?(t=e[n-1],c.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],c.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return c.join("")};for(var r=[],o=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,l=code.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function h(e,t,n){for(var o,c,output=[],i=t;i>18&63]+r[c>>12&63]+r[c>>6&63]+r[63&c]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var c,l,f=8*o-r-1,h=(1<>1,y=-7,i=n?o-1:0,v=n?-1:1,s=e[t+i];for(i+=v,c=s&(1<<-y)-1,s>>=-y,y+=f;y>0;c=256*c+e[t+i],i+=v,y-=8);for(l=c&(1<<-y)-1,c>>=-y,y+=r;y>0;l=256*l+e[t+i],i+=v,y-=8);if(0===c)c=1-d;else{if(c===h)return l?NaN:1/0*(s?-1:1);l+=Math.pow(2,r),c-=d}return(s?-1:1)*l*Math.pow(2,c-r)},t.write=function(e,t,n,r,o,c){var l,f,h,d=8*c-o-1,y=(1<>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=r?0:c-1,m=r?1:-1,s=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,l=y):(l=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-l))<1&&(l--,h*=2),(t+=l+v>=1?rt/h:rt*Math.pow(2,1-v))*h>=2&&(l++,h/=2),l+v>=y?(f=0,l=y):l+v>=1?(f=(t*h-1)*Math.pow(2,o),l+=v):(f=t*Math.pow(2,v-1)*Math.pow(2,o),l=0));o>=8;e[n+i]=255&f,i+=m,f/=256,o-=8);for(l=l<0;e[n+i]=255&l,i+=m,l/=256,d-=8);e[n+i-m]|=128*s}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r;!function(n){o(Math.pow(36,5)),o(Math.pow(16,7)),o(Math.pow(10,9)),o(Math.pow(2,30)),o(36),o(16),o(10),o(2);function o(e,t){return this instanceof o?(this._low=0,this._high=0,this.remainder=null,void 0===t?l.call(this,e):"string"==typeof e?f.call(this,e,t):void c.call(this,e,t)):new o(e,t)}function c(e,t){return this._low=0|e,this._high=0|t,this}function l(e){return this._low=65535&e,this._high=e>>>16,this}function f(s,e){var t=parseInt(s,e||10);return this._low=65535&t,this._high=t>>>16,this}o.prototype.fromBits=c,o.prototype.fromNumber=l,o.prototype.fromString=f,o.prototype.toNumber=function(){return 65536*this._high+this._low},o.prototype.toString=function(e){return this.toNumber().toString(e||10)},o.prototype.add=function(e){var t=this._low+e._low,n=t>>>16;return n+=this._high+e._high,this._low=65535&t,this._high=65535&n,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t,n,r=this._high,o=this._low,c=e._high,l=e._low;return t=(n=o*l)>>>16,t+=r*l,t&=65535,t+=o*c,this._low=65535&n,this._high=65535&t,this},o.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new o(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new o(0),this._low=1,this._high=0,this;for(var t=e.clone(),i=-1;!this.lt(t);)t.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._low=0,this._high=0;i>=0;i--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),i>=16?this._high|=1<>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},o.prototype.greaterThan=o.prototype.gt=function(e){return this._high>e._high||!(this._highe._low},o.prototype.lessThan=o.prototype.lt=function(e){return this._highe._high)&&this._low16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<>16-e,this._low=this._low<>>32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.clone=function(){return new o(this._low,this._high)},void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r;!function(n){var o={16:l(Math.pow(16,5)),10:l(Math.pow(10,5)),2:l(Math.pow(2,5))},c={16:l(16),10:l(10),2:l(2)};function l(e,t,n,r){return this instanceof l?(this.remainder=null,"string"==typeof e?d.call(this,e,t):void 0===t?h.call(this,e):void f.apply(this,arguments)):new l(e,t,n,r)}function f(e,t,n,r){return void 0===n?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|n,this._a48=0|r,this)}function h(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function d(s,e){e=e||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var t=o[e]||new l(Math.pow(e,5)),i=0,n=s.length;i=0&&(n.div(t),r[i]=n.remainder.toNumber().toString(e),n.gt(t));i--);return r[i-1]=n.toNumber().toString(e),r.join("")},l.prototype.add=function(e){var t=this._a00+e._a00,n=t>>>16,r=(n+=this._a16+e._a16)>>>16,o=(r+=this._a32+e._a32)>>>16;return o+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&n,this._a32=65535&r,this._a48=65535&o,this},l.prototype.subtract=function(e){return this.add(e.clone().negate())},l.prototype.multiply=function(e){var t=this._a00,n=this._a16,r=this._a32,o=this._a48,c=e._a00,l=e._a16,f=e._a32,h=t*c,d=h>>>16,y=(d+=t*l)>>>16;d&=65535,y+=(d+=n*c)>>>16;var v=(y+=t*f)>>>16;return y&=65535,v+=(y+=n*l)>>>16,y&=65535,v+=(y+=r*c)>>>16,v+=t*e._a48,v&=65535,v+=n*f,v&=65535,v+=r*l,v&=65535,v+=o*c,this._a00=65535&h,this._a16=65535&d,this._a32=65535&y,this._a48=65535&v,this},l.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new l(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new l(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),i=-1;!this.lt(t);)t.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;i>=0;i--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),i>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},l.prototype.equals=l.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},l.prototype.greaterThan=l.prototype.gt=function(e){return this._a48>e._a48||!(this._a48e._a32||!(this._a32e._a16||!(this._a16e._a00))},l.prototype.lessThan=l.prototype.lt=function(e){return this._a48e._a48)&&(this._a32e._a32)&&(this._a16e._a16)&&this._a00=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},l.prototype.shiftLeft=l.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<=32?(e-=32,this._a48=this._a16<>16-e,this._a32=this._a00<=16?(e-=16,this._a48=this._a32<>16-e,this._a32=65535&(this._a16<>16-e),this._a16=this._a00<>16-e,this._a32=65535&(this._a32<>16-e),this._a16=65535&(this._a16<>16-e),this._a00=this._a00<=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,r=this._a16<<16|this._a00,o=n<>>32-e,c=r<>>32-e;return this._a00=65535&c,this._a16=c>>>16,this._a32=65535&o,this._a48=o>>>16,this},l.prototype.rotateRight=l.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,r=this._a16<<16|this._a00,o=n>>>e|r<<32-e,c=r>>>e|n<<32-e;return this._a00=65535&c,this._a16=c>>>16,this._a32=65535&o,this._a48=o>>>16,this},l.prototype.clone=function(){return new l(this._a00,this._a16,this._a32,this._a48)},void 0===(r=function(){return l}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var r=n(161).UINT64,o=r("11400714785074694791"),c=r("14029467366897019727"),l=r("1609587929392839161"),f=r("9650029242287828579"),h=r("2870177450012600261");function d(){return 2==arguments.length?new d(arguments[1]).update(arguments[0]).digest():this instanceof d?void y.call(this,arguments[0]):new d(arguments[0])}function y(e){return this.seed=e instanceof r?e.clone():r(e),this.v1=this.seed.clone().add(o).add(c),this.v2=this.seed.clone().add(c),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(o),this.total_len=0,this.memsize=0,this.memory=null,this}d.prototype.init=y,d.prototype.update=function(input){var e,n="string"==typeof input;n&&(input=function(e){for(var t=[],i=0,n=e.length;i>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(i++,r=65536+((1023&r)<<10|1023&e.charCodeAt(i)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return new Uint8Array(t)}(input),n=!1,e=!0),"undefined"!=typeof ArrayBuffer&&input instanceof ArrayBuffer&&(e=!0,input=new Uint8Array(input));var p=0,l=input.length,f=p+l;if(0==l)return this;if(this.total_len+=l,0==this.memsize&&(this.memory=n?"":e?new Uint8Array(32):new t(32)),this.memsize+l<32)return n?this.memory+=input:e?this.memory.set(input.subarray(0,l),this.memsize):input.copy(this.memory,this.memsize,0,l),this.memsize+=l,this;if(this.memsize>0){n?this.memory+=input.slice(0,32-this.memsize):e?this.memory.set(input.subarray(0,32-this.memsize),this.memsize):input.copy(this.memory,this.memsize,0,32-this.memsize);var h=0;if(n)y=r(this.memory.charCodeAt(h+1)<<8|this.memory.charCodeAt(h),this.memory.charCodeAt(h+3)<<8|this.memory.charCodeAt(h+2),this.memory.charCodeAt(h+5)<<8|this.memory.charCodeAt(h+4),this.memory.charCodeAt(h+7)<<8|this.memory.charCodeAt(h+6)),this.v1.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory.charCodeAt(h+1)<<8|this.memory.charCodeAt(h),this.memory.charCodeAt(h+3)<<8|this.memory.charCodeAt(h+2),this.memory.charCodeAt(h+5)<<8|this.memory.charCodeAt(h+4),this.memory.charCodeAt(h+7)<<8|this.memory.charCodeAt(h+6)),this.v2.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory.charCodeAt(h+1)<<8|this.memory.charCodeAt(h),this.memory.charCodeAt(h+3)<<8|this.memory.charCodeAt(h+2),this.memory.charCodeAt(h+5)<<8|this.memory.charCodeAt(h+4),this.memory.charCodeAt(h+7)<<8|this.memory.charCodeAt(h+6)),this.v3.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory.charCodeAt(h+1)<<8|this.memory.charCodeAt(h),this.memory.charCodeAt(h+3)<<8|this.memory.charCodeAt(h+2),this.memory.charCodeAt(h+5)<<8|this.memory.charCodeAt(h+4),this.memory.charCodeAt(h+7)<<8|this.memory.charCodeAt(h+6)),this.v4.add(y.multiply(c)).rotl(31).multiply(o);else y=r(this.memory[h+1]<<8|this.memory[h],this.memory[h+3]<<8|this.memory[h+2],this.memory[h+5]<<8|this.memory[h+4],this.memory[h+7]<<8|this.memory[h+6]),this.v1.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory[h+1]<<8|this.memory[h],this.memory[h+3]<<8|this.memory[h+2],this.memory[h+5]<<8|this.memory[h+4],this.memory[h+7]<<8|this.memory[h+6]),this.v2.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory[h+1]<<8|this.memory[h],this.memory[h+3]<<8|this.memory[h+2],this.memory[h+5]<<8|this.memory[h+4],this.memory[h+7]<<8|this.memory[h+6]),this.v3.add(y.multiply(c)).rotl(31).multiply(o),h+=8,y=r(this.memory[h+1]<<8|this.memory[h],this.memory[h+3]<<8|this.memory[h+2],this.memory[h+5]<<8|this.memory[h+4],this.memory[h+7]<<8|this.memory[h+6]),this.v4.add(y.multiply(c)).rotl(31).multiply(o);p+=32-this.memsize,this.memsize=0,n&&(this.memory="")}if(p<=f-32){var d=f-32;do{var y;if(n)y=r(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),input.charCodeAt(p+5)<<8|input.charCodeAt(p+4),input.charCodeAt(p+7)<<8|input.charCodeAt(p+6)),this.v1.add(y.multiply(c)).rotl(31).multiply(o),p+=8,y=r(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),input.charCodeAt(p+5)<<8|input.charCodeAt(p+4),input.charCodeAt(p+7)<<8|input.charCodeAt(p+6)),this.v2.add(y.multiply(c)).rotl(31).multiply(o),p+=8,y=r(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),input.charCodeAt(p+5)<<8|input.charCodeAt(p+4),input.charCodeAt(p+7)<<8|input.charCodeAt(p+6)),this.v3.add(y.multiply(c)).rotl(31).multiply(o),p+=8,y=r(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),input.charCodeAt(p+5)<<8|input.charCodeAt(p+4),input.charCodeAt(p+7)<<8|input.charCodeAt(p+6)),this.v4.add(y.multiply(c)).rotl(31).multiply(o);else y=r(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2],input[p+5]<<8|input[p+4],input[p+7]<<8|input[p+6]),this.v1.add(y.multiply(c)).rotl(31).multiply(o),y=r(input[(p+=8)+1]<<8|input[p],input[p+3]<<8|input[p+2],input[p+5]<<8|input[p+4],input[p+7]<<8|input[p+6]),this.v2.add(y.multiply(c)).rotl(31).multiply(o),y=r(input[(p+=8)+1]<<8|input[p],input[p+3]<<8|input[p+2],input[p+5]<<8|input[p+4],input[p+7]<<8|input[p+6]),this.v3.add(y.multiply(c)).rotl(31).multiply(o),y=r(input[(p+=8)+1]<<8|input[p],input[p+3]<<8|input[p+2],input[p+5]<<8|input[p+4],input[p+7]<<8|input[p+6]),this.v4.add(y.multiply(c)).rotl(31).multiply(o);p+=8}while(p<=d)}return p=32?((e=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),e.add(this.v3.clone().rotl(12)),e.add(this.v4.clone().rotl(18)),e.xor(this.v1.multiply(c).rotl(31).multiply(o)),e.multiply(o).add(f),e.xor(this.v2.multiply(c).rotl(31).multiply(o)),e.multiply(o).add(f),e.xor(this.v3.multiply(c).rotl(31).multiply(o)),e.multiply(o).add(f),e.xor(this.v4.multiply(c).rotl(31).multiply(o)),e.multiply(o).add(f)):e=this.seed.clone().add(h),e.add(u.fromNumber(this.total_len));p<=d-8;)n?u.fromBits(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),input.charCodeAt(p+5)<<8|input.charCodeAt(p+4),input.charCodeAt(p+7)<<8|input.charCodeAt(p+6)):u.fromBits(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2],input[p+5]<<8|input[p+4],input[p+7]<<8|input[p+6]),u.multiply(c).rotl(31).multiply(o),e.xor(u).rotl(27).multiply(o).add(f),p+=8;for(p+4<=d&&(n?u.fromBits(input.charCodeAt(p+1)<<8|input.charCodeAt(p),input.charCodeAt(p+3)<<8|input.charCodeAt(p+2),0,0):u.fromBits(input[p+1]<<8|input[p],input[p+3]<<8|input[p+2],0,0),e.xor(u.multiply(o)).rotl(23).multiply(c).add(l),p+=4);p120){for(var m=Math.floor(l/80),_=l%80,O=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};this.body=body,this.name=e,this.locationOffset=t,this.locationOffset.line>0||o(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||o(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:l,get:function(){return"Source"}}])&&N(t.prototype,n),r&&N(t,r),e}(),R=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),P=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),M=n(91),L=function(){function e(source){var e=new D.b(R.SOF,0,0,0,0,null);this.source=source,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==R.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=$(this,e)}while(e.kind===R.COMMENT);return e},e}();function F(code){return isNaN(code)?R.EOF:code<127?JSON.stringify(String.fromCharCode(code)):'"\\u'.concat(("00"+code.toString(16).toUpperCase()).slice(-4),'"')}function $(e,t){var source=e.source,body=source.body,n=body.length,r=function(body,e,t){var n=body.length,r=e;for(;r=n)return new D.b(R.EOF,n,n,line,col,t);var code=body.charCodeAt(r);switch(code){case 33:return new D.b(R.BANG,r,r+1,line,col,t);case 35:return function(source,e,line,col,t){var code,body=source.body,n=e;do{code=body.charCodeAt(++n)}while(!isNaN(code)&&(code>31||9===code));return new D.b(R.COMMENT,e,n,line,col,t,body.slice(e+1,n))}(source,r,line,col,t);case 36:return new D.b(R.DOLLAR,r,r+1,line,col,t);case 38:return new D.b(R.AMP,r,r+1,line,col,t);case 40:return new D.b(R.PAREN_L,r,r+1,line,col,t);case 41:return new D.b(R.PAREN_R,r,r+1,line,col,t);case 46:if(46===body.charCodeAt(r+1)&&46===body.charCodeAt(r+2))return new D.b(R.SPREAD,r,r+3,line,col,t);break;case 58:return new D.b(R.COLON,r,r+1,line,col,t);case 61:return new D.b(R.EQUALS,r,r+1,line,col,t);case 64:return new D.b(R.AT,r,r+1,line,col,t);case 91:return new D.b(R.BRACKET_L,r,r+1,line,col,t);case 93:return new D.b(R.BRACKET_R,r,r+1,line,col,t);case 123:return new D.b(R.BRACE_L,r,r+1,line,col,t);case 124:return new D.b(R.PIPE,r,r+1,line,col,t);case 125:return new D.b(R.BRACE_R,r,r+1,line,col,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(source,e,line,col,t){var body=source.body,n=body.length,r=e+1,code=0;for(;r!==n&&!isNaN(code=body.charCodeAt(r))&&(95===code||code>=48&&code<=57||code>=65&&code<=90||code>=97&&code<=122);)++r;return new D.b(R.NAME,e,r,line,col,t,body.slice(e,r))}(source,r,line,col,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(source,e,t,line,col,n){var body=source.body,code=t,r=e,o=!1;45===code&&(code=body.charCodeAt(++r));if(48===code){if((code=body.charCodeAt(++r))>=48&&code<=57)throw A(source,r,"Invalid number, unexpected digit after 0: ".concat(F(code),"."))}else r=Q(source,r,code),code=body.charCodeAt(r);46===code&&(o=!0,code=body.charCodeAt(++r),r=Q(source,r,code),code=body.charCodeAt(r));69!==code&&101!==code||(o=!0,43!==(code=body.charCodeAt(++r))&&45!==code||(code=body.charCodeAt(++r)),r=Q(source,r,code),code=body.charCodeAt(r));if(46===code||function(code){return 95===code||code>=65&&code<=90||code>=97&&code<=122}(code))throw A(source,r,"Invalid number, expected digit but got: ".concat(F(code),"."));return new D.b(o?R.FLOAT:R.INT,e,r,line,col,n,body.slice(e,r))}(source,r,code,line,col,t);case 34:return 34===body.charCodeAt(r+1)&&34===body.charCodeAt(r+2)?function(source,e,line,col,t,n){var body=source.body,r=e+3,o=r,code=0,c="";for(;r=48&&code<=57){do{code=body.charCodeAt(++n)}while(code>=48&&code<=57);return n}throw A(source,n,"Invalid number, expected digit but got: ".concat(F(code),"."))}function V(a){return a>=48&&a<=57?a-48:a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:-1}function U(source,e){return new Y(source,e).parseDocument()}function B(source,e){var t=new Y(source,e);t.expectToken(R.SOF);var n=t.parseValueLiteral(!1);return t.expectToken(R.EOF),n}function G(source,e){var t=new Y(source,e);t.expectToken(R.SOF);var n=t.parseTypeReference();return t.expectToken(R.EOF),n}var Y=function(){function e(source,e){var t="string"==typeof source?new C(source):source;t instanceof C||o(0,"Must provide Source. Received: ".concat(Object(r.a)(t),".")),this._lexer=new L(t),this._options=e}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(R.NAME);return{kind:I.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:I.DOCUMENT,definitions:this.many(R.SOF,this.parseDefinition,R.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(R.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(R.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(R.BRACE_L))return{kind:I.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(R.NAME)&&(t=this.parseName()),{kind:I.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(R.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(R.PAREN_L,this.parseVariableDefinition,R.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:I.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(R.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(R.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(R.DOLLAR),{kind:I.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:I.SELECTION_SET,selections:this.many(R.BRACE_L,this.parseSelection,R.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(R.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(R.COLON)?(e=r,t=this.parseName()):t=r,{kind:I.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(R.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(R.PAREN_L,t,R.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(R.COLON),{kind:I.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:I.ARGUMENT,name:this.parseName(),value:(this.expectToken(R.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(R.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(R.NAME)?{kind:I.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:I.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:I.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:I.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case R.BRACKET_L:return this.parseList(e);case R.BRACE_L:return this.parseObject(e);case R.INT:return this._lexer.advance(),{kind:I.INT,value:t.value,loc:this.loc(t)};case R.FLOAT:return this._lexer.advance(),{kind:I.FLOAT,value:t.value,loc:this.loc(t)};case R.STRING:case R.BLOCK_STRING:return this.parseStringLiteral();case R.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:I.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:I.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:I.NULL,loc:this.loc(t)};default:return{kind:I.ENUM,value:t.value,loc:this.loc(t)}}case R.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:I.STRING,value:e.value,block:e.kind===R.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:I.LIST,values:this.any(R.BRACKET_L,(function(){return t.parseValueLiteral(e)}),R.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:I.OBJECT,fields:this.any(R.BRACE_L,(function(){return t.parseObjectField(e)}),R.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(R.COLON),{kind:I.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(R.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(R.AT),{kind:I.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(R.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(R.BRACKET_R),e={kind:I.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(R.BANG)?{kind:I.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:I.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===R.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(R.STRING)||this.peek(R.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);return{kind:I.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(R.COLON);var n=this.parseNamedType();return{kind:I.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:I.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),c=this.parseFieldsDefinition();return{kind:I.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:c,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(R.AMP);do{var t;e.push(this.parseNamedType())}while(this.expectOptionalToken(R.AMP)||!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)&&this.peek(R.NAME))}return e},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(R.BRACE_L)&&this._lexer.lookahead().kind===R.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(R.BRACE_L,this.parseFieldDefinition,R.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(R.COLON);var o=this.parseTypeReference(),c=this.parseDirectives(!0);return{kind:I.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:c,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(R.PAREN_L,this.parseInputValueDef,R.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(R.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(R.EQUALS)&&(r=this.parseValueLiteral(!0));var c=this.parseDirectives(!0);return{kind:I.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:c,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),c=this.parseFieldsDefinition();return{kind:I.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:c,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:I.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(R.EQUALS)){this.expectOptionalToken(R.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(R.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:I.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(R.BRACE_L,this.parseEnumValueDefinition,R.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:I.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:I.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(R.BRACE_L,this.parseInputValueDef,R.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===R.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:I.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:I.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:I.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:I.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:I.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:I.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:I.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(R.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var c=this.parseDirectiveLocations();return{kind:I.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:c,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(R.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(R.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==P[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new D.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw A(this._lexer.source,t.start,"Expected ".concat(K(e),", found ").concat(z(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==R.NAME||t.value!==e)throw A(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(z(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===R.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return A(this._lexer.source,t.start,"Unexpected ".concat(z(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function z(e){var t=e.value;return K(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function K(e){return function(e){return e===R.BANG||e===R.DOLLAR||e===R.AMP||e===R.PAREN_L||e===R.PAREN_R||e===R.SPREAD||e===R.COLON||e===R.EQUALS||e===R.AT||e===R.BRACKET_L||e===R.BRACKET_R||e===R.BRACE_L||e===R.PIPE||e===R.BRACE_R}(e)?'"'.concat(e,'"'):e}},function(e,t,n){"use strict";n.r(t),n.d(t,"checkFetcher",(function(){return N})),n.d(t,"createSignalIfSupported",(function(){return C})),n.d(t,"fallbackHttpConfig",(function(){return A})),n.d(t,"parseAndCheckHttpResponse",(function(){return D})),n.d(t,"selectHttpOptionsAndBody",(function(){return R})),n.d(t,"selectURI",(function(){return M})),n.d(t,"serializeFetchParameter",(function(){return P})),n.d(t,"throwServerError",(function(){return I}));var r=n(0),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){return f(e,[])}function f(e,t){switch(c(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(object){var e=object[String(o)];if("function"==typeof e)return e;if("function"==typeof object.inspect)return object.inspect}(e);if(void 0!==r){var c=r.call(e);if(c!==e)return"string"==typeof c?c:f(c,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(object,e){var t=Object.keys(object);if(0===t.length)return"{}";if(e.length>2)return"["+function(object){var e=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof object.constructor){var t=object.constructor.name;if("string"==typeof t&&""!==t)return t}return e}(object)+"]";return"{ "+t.map((function(t){return t+": "+f(object[t],e)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var h={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},d=Object.freeze({});function y(e){return Boolean(e&&"string"==typeof e.kind)}function v(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var o=n?r.leave:r.enter;if("function"==typeof o)return o}else{var c=n?e.leave:e.enter;if(c){if("function"==typeof c)return c;var l=c[t];if("function"==typeof l)return l}}}function m(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h,r=void 0,o=Array.isArray(e),c=[e],f=-1,m=[],_=void 0,O=void 0,w=void 0,path=[],E=[],S=e;do{var T=++f===c.length,x=T&&0!==m.length;if(T){if(O=0===E.length?void 0:path[path.length-1],_=w,w=E.pop(),x){if(o)_=_.slice();else{for(var j={},k=0,A=Object.keys(_);k1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],c='"'===e[e.length-1],l=!r||c||n,f="";return!l||r&&o||(f+="\n"+t),f+=t?e.replace(/\n/g,"\n"+t):e,l&&(f+="\n"),'"""'+f.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+w(e.values,", ")+"]"},ObjectValue:function(e){return"{"+w(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+S("(",w(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return w(["schema",w(t," "),E(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:O((function(e){return w(["scalar",e.name,w(e.directives," ")]," ")})),ObjectTypeDefinition:O((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return w(["type",t,S("implements ",w(n," & ")),w(r," "),E(o)]," ")})),FieldDefinition:O((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(j(n)?S("(\n",T(w(n,"\n")),"\n)"):S("(",w(n,", "),")"))+": "+r+S(" ",w(o," "))})),InputValueDefinition:O((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return w([t+": "+n,S("= ",r),w(o," ")]," ")})),InterfaceTypeDefinition:O((function(e){var t=e.name,n=e.directives,r=e.fields;return w(["interface",t,w(n," "),E(r)]," ")})),UnionTypeDefinition:O((function(e){var t=e.name,n=e.directives,r=e.types;return w(["union",t,w(n," "),r&&0!==r.length?"= "+w(r," | "):""]," ")})),EnumTypeDefinition:O((function(e){var t=e.name,n=e.directives,r=e.values;return w(["enum",t,w(n," "),E(r)]," ")})),EnumValueDefinition:O((function(e){return w([e.name,w(e.directives," ")]," ")})),InputObjectTypeDefinition:O((function(e){var t=e.name,n=e.directives,r=e.fields;return w(["input",t,w(n," "),E(r)]," ")})),DirectiveDefinition:O((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(j(n)?S("(\n",T(w(n,"\n")),"\n)"):S("(",w(n,", "),")"))+(r?" repeatable":"")+" on "+w(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return w(["extend schema",w(t," "),E(n)]," ")},ScalarTypeExtension:function(e){return w(["extend scalar",e.name,w(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return w(["extend type",t,S("implements ",w(n," & ")),w(r," "),E(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return w(["extend interface",t,w(n," "),E(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return w(["extend union",t,w(n," "),r&&0!==r.length?"= "+w(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return w(["extend enum",t,w(n," "),E(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return w(["extend input",t,w(n," "),E(r)]," ")}};function O(e){return function(t){return w([t.description,e(t)],"\n")}}function w(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function E(e){return e&&0!==e.length?"{\n"+T(w(e,"\n"))+"\n}":""}function S(e,t,n){return t?e+t+(n||""):""}function T(e){return e&&" "+e.replace(/\n/g,"\n ")}function x(e){return-1!==e.indexOf("\n")}function j(e){return e&&e.some(x)}var k=n(3),A={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},I=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},D=function(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;return n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,Promise.reject(n)}})).then((function(n){return t.status>=300&&I(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||n.hasOwnProperty("data")||n.hasOwnProperty("errors")||I(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}},N=function(e){if(!e&&"undefined"==typeof fetch){throw"undefined"==typeof window&&"node-fetch",new k.a(1)}},C=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},R=function(e,t){for(var n=[],o=2;o2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(object,e){var t=Object.keys(object);if(0===t.length)return"{}";if(e.length>2)return"["+function(object){var e=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if("Object"===e&&"function"==typeof object.constructor){var t=object.constructor.name;if("string"==typeof t&&""!==t)return t}return e}(object)+"]";return"{ "+t.map((function(t){return t+": "+l(object[t],e)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}var f={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},h=Object.freeze({});function d(e){return Boolean(e&&"string"==typeof e.kind)}function y(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var o=n?r.leave:r.enter;if("function"==typeof o)return o}else{var c=n?e.leave:e.enter;if(c){if("function"==typeof c)return c;var l=c[t];if("function"==typeof l)return l}}}function v(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,r=void 0,o=Array.isArray(e),l=[e],v=-1,m=[],_=void 0,O=void 0,w=void 0,path=[],E=[],S=e;do{var T=++v===l.length,x=T&&0!==m.length;if(T){if(O=0===E.length?void 0:path[path.length-1],_=w,w=E.pop(),x){if(o)_=_.slice();else{for(var j={},k=0,A=Object.keys(_);k1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],c='"'===e[e.length-1],l=!r||c||n,f="";return!l||r&&o||(f+="\n"+t),f+=t?e.replace(/\n/g,"\n"+t):e,l&&(f+="\n"),'"""'+f.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+O(e.values,", ")+"]"},ObjectValue:function(e){return"{"+O(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+E("(",O(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return O(["schema",O(t," "),w(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:_((function(e){return O(["scalar",e.name,O(e.directives," ")]," ")})),ObjectTypeDefinition:_((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return O(["type",t,E("implements ",O(n," & ")),O(r," "),w(o)]," ")})),FieldDefinition:_((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(x(n)?E("(\n",S(O(n,"\n")),"\n)"):E("(",O(n,", "),")"))+": "+r+E(" ",O(o," "))})),InputValueDefinition:_((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return O([t+": "+n,E("= ",r),O(o," ")]," ")})),InterfaceTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.fields;return O(["interface",t,O(n," "),w(r)]," ")})),UnionTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.types;return O(["union",t,O(n," "),r&&0!==r.length?"= "+O(r," | "):""]," ")})),EnumTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.values;return O(["enum",t,O(n," "),w(r)]," ")})),EnumValueDefinition:_((function(e){return O([e.name,O(e.directives," ")]," ")})),InputObjectTypeDefinition:_((function(e){var t=e.name,n=e.directives,r=e.fields;return O(["input",t,O(n," "),w(r)]," ")})),DirectiveDefinition:_((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(x(n)?E("(\n",S(O(n,"\n")),"\n)"):E("(",O(n,", "),")"))+(r?" repeatable":"")+" on "+O(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return O(["extend schema",O(t," "),w(n)]," ")},ScalarTypeExtension:function(e){return O(["extend scalar",e.name,O(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return O(["extend type",t,E("implements ",O(n," & ")),O(r," "),w(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return O(["extend interface",t,O(n," "),w(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return O(["extend union",t,O(n," "),r&&0!==r.length?"= "+O(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return O(["extend enum",t,O(n," "),w(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return O(["extend input",t,O(n," "),w(r)]," ")}};function _(e){return function(t){return O([t.description,e(t)],"\n")}}function O(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function w(e){return e&&0!==e.length?"{\n"+S(O(e,"\n"))+"\n}":""}function E(e,t,n){return t?e+t+(n||""):""}function S(e){return e&&" "+e.replace(/\n/g,"\n ")}function T(e){return-1!==e.indexOf("\n")}function x(e){return e&&e.some(T)}},function(e,t,n){"use strict";n.r(t),n.d(t,"withClientState",(function(){return I}));var r=n(9),o=n(16),c=n(1),l=n(168),f=n(69),h=n(91);var d={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return v(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=_("(",v(e.variableDefinitions,", "),")"),o=v(e.directives," "),c=e.selectionSet;return n||o||r||"query"!==t?v([t,v([n,r]),o,c]," "):c},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+_(" = ",r)+_(" ",v(o," "))},SelectionSet:function(e){return m(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,c=e.selectionSet;return v([_("",t,": ")+n+_("(",v(r,", "),")"),v(o," "),c]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+_(" ",v(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return v(["...",_("on ",t),v(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,c=e.selectionSet;return"fragment ".concat(t).concat(_("(",v(r,", "),")")," ")+"on ".concat(n," ").concat(_("",v(o," ")," "))+c},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(h.b)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+v(e.values,", ")+"]"},ObjectValue:function(e){return"{"+v(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+_("(",v(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:y((function(e){var t=e.directives,n=e.operationTypes;return v(["schema",v(t," "),m(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:y((function(e){return v(["scalar",e.name,v(e.directives," ")]," ")})),ObjectTypeDefinition:y((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return v(["type",t,_("implements ",v(n," & ")),v(r," "),m(o)]," ")})),FieldDefinition:y((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(E(n)?_("(\n",O(v(n,"\n")),"\n)"):_("(",v(n,", "),")"))+": "+r+_(" ",v(o," "))})),InputValueDefinition:y((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return v([t+": "+n,_("= ",r),v(o," ")]," ")})),InterfaceTypeDefinition:y((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return v(["interface",t,_("implements ",v(n," & ")),v(r," "),m(o)]," ")})),UnionTypeDefinition:y((function(e){var t=e.name,n=e.directives,r=e.types;return v(["union",t,v(n," "),r&&0!==r.length?"= "+v(r," | "):""]," ")})),EnumTypeDefinition:y((function(e){var t=e.name,n=e.directives,r=e.values;return v(["enum",t,v(n," "),m(r)]," ")})),EnumValueDefinition:y((function(e){return v([e.name,v(e.directives," ")]," ")})),InputObjectTypeDefinition:y((function(e){var t=e.name,n=e.directives,r=e.fields;return v(["input",t,v(n," "),m(r)]," ")})),DirectiveDefinition:y((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(E(n)?_("(\n",O(v(n,"\n")),"\n)"):_("(",v(n,", "),")"))+(r?" repeatable":"")+" on "+v(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return v(["extend schema",v(t," "),m(n)]," ")},ScalarTypeExtension:function(e){return v(["extend scalar",e.name,v(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return v(["extend type",t,_("implements ",v(n," & ")),v(r," "),m(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return v(["extend interface",t,_("implements ",v(n," & ")),v(r," "),m(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return v(["extend union",t,v(n," "),r&&0!==r.length?"= "+v(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return v(["extend enum",t,v(n," "),m(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return v(["extend input",t,v(n," "),m(r)]," ")}};function y(e){return function(t){return v([t.description,e(t)],"\n")}}function v(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function m(e){return e&&0!==e.length?"{\n"+O(v(e,"\n"))+"\n}":""}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t?e+t+n:""}function O(e){return e&&" "+e.replace(/\n/g,"\n ")}function w(e){return-1!==e.indexOf("\n")}function E(e){return e&&e.some(w)}var S={test:function(e){return"client"===e.name.value},remove:!0},T=new Map;function x(e){return(Array.isArray(e)?e:[e]).map((function(e){return"string"==typeof e?e:(t=e,Object(f.b)(t,{leave:d}));var t})).map((function(e){return e.trim()})).join("\n")}var j,k=(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])},function(e,b){function t(){this.constructor=e}j(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),A=l.graphql,I=function(e){void 0===e&&(e={resolvers:{},defaults:{}});var t=e.defaults,n=e.cache,l=e.typeDefs,f=e.fragmentMatcher;return n&&t&&n.writeData({data:t}),new(function(o){function h(){return null!==o&&o.apply(this,arguments)||this}return k(h,o),h.prototype.writeDefaults=function(){n&&t&&n.writeData({data:t})},h.prototype.request=function(n,o){if(void 0===o&&(o=function(){return r.a.of({data:{}})}),l){var h=x(l);n.setContext((function(e){var t=e.schemas;return{schemas:(void 0===t?[]:t).concat([{definition:h,directives:"directive @client on FIELD"}])}}))}if(!Object(c.hasDirectives)(["client"],n.query))return o(n);var d,y="function"==typeof e.resolvers?e.resolvers():e.resolvers,v=function(e){var t=T.get(e);if(t)return t;Object(c.checkDocument)(e);var n=Object(c.removeDirectivesFromDocument)([S],e);return T.set(e,n),n}(n.query),m=n.query,_=(d=(Object(c.getMainDefinition)(m)||{}).operation).charAt(0).toUpperCase()+d.slice(1)||"Query",O=function(e,n,r,o,c){void 0===n&&(n={});var l=c.resultKey,f=n[l],h=n[e],d=l!==e;if(void 0!==f||void 0!==h)return f||h;var v=y[n.__typename||_];if(v){var m=v[e];if(m)return m(n,r,o,c)}return(d?f:h)||(t||{})[e]};v&&(n.query=v);var w=v&&o?o(n):r.a.of({data:{}});return new r.a((function(e){var t=!1,r=!1;w.subscribe({next:function(o){var data=o.data,c=o.errors,l=e.error.bind(e),h=n.getContext();r=!0,A(O,m,data,h,n.variables,{fragmentMatcher:f}).then((function(n){e.next({data:n,errors:c}),t&&e.complete(),r=!1})).catch(l)},error:e.error.bind(e),complete:function(){r||e.complete(),t=!0}})}))},h}(o.ApolloLink))}},function(e,t,n){"use strict";n.r(t),n.d(t,"extractFiles",(function(){return o})),n.d(t,"ReactNativeFile",(function(){return r}));var r=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r};function o(e,path){var t;void 0===path&&(path="");var n=new Map;function c(e,t){var r=n.get(t);r?r.push.apply(r,e):n.set(t,e)}if("undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r)t=null,c([path],e);else{var l=path?path+".":"";if("undefined"!=typeof FileList&&e instanceof FileList)t=Array.prototype.map.call(e,(function(e,i){return c([""+l+i],e),null}));else if(Array.isArray(e))t=e.map((function(e,i){var t=o(e,""+l+i);return t.files.forEach(c),t.clone}));else if(e&&e.constructor===Object)for(var i in t={},e){var f=o(e[i],""+l+i);f.files.forEach(c),t[i]=f.clone}else t=e}return{clone:t,files:n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"State",(function(){return c})),n.d(t,"Getter",(function(){return l})),n.d(t,"Action",(function(){return f})),n.d(t,"Mutation",(function(){return h})),n.d(t,"namespace",(function(){return d}));var r=n(17),o=n(32),c=y("computed",o.e),l=y("computed",o.c),f=y("methods",o.b),h=y("methods",o.d);function d(e,t){function n(t){return function(a,b){if("string"==typeof b){var n=b,r=a;return t(n,{namespace:e})(r,n)}var o=a,c=function(a,b){var e={};return[a,b].forEach((function(t){Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}(b||{},{namespace:e});return t(o,c)}}return t?(console.warn("[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead."),n(t)):{State:n(c),Getter:n(l),Mutation:n(h),Action:n(f)}}function y(e,t){function n(map,n){return Object(r.createDecorator)((function(r,o){r[e]||(r[e]={});var c,l=((c={})[o]=map,c);r[e][o]=void 0!==n?t(n,l)[o]:t(l)[o]}))}return function(a,b){if("string"==typeof b){var e=b,t=a;return n(e,void 0)(t,e)}return n(a,function(e){var t=e&&e.namespace;if("string"!=typeof t)return;if("/"!==t[t.length-1])return t+"/";return t}(b))}}},function(e,t,n){"use strict";n.r(t),n.d(t,"getOperationAST",(function(){return o}));var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function o(e,t){for(var n=null,o=0,c=e.definitions;o