From dd3fbba5a0bfcd51d20621545a36250e6e0f7e76 Mon Sep 17 00:00:00 2001 From: John Shaver Date: Thu, 20 Jul 2017 15:44:22 -0700 Subject: [PATCH] Added build to this branch for demo. --- .gitignore | 2 +- build/asset-manifest.json | 6 ++++++ build/favicon.ico | Bin 0 -> 24838 bytes build/index.html | 1 + build/manifest.json | 15 +++++++++++++++ build/service-worker.js | 1 + build/static/css/main.65027555.css | 2 ++ build/static/css/main.65027555.css.map | 1 + build/static/js/main.203dad56.js | 2 ++ build/static/js/main.203dad56.js.map | 1 + 10 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 build/asset-manifest.json create mode 100644 build/favicon.ico create mode 100644 build/index.html create mode 100644 build/manifest.json create mode 100644 build/service-worker.js create mode 100644 build/static/css/main.65027555.css create mode 100644 build/static/css/main.65027555.css.map create mode 100644 build/static/js/main.203dad56.js create mode 100644 build/static/js/main.203dad56.js.map diff --git a/.gitignore b/.gitignore index d30f40e..81d86ee 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ /coverage # production -/build +#/build # misc .DS_Store diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..6c11cba --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,6 @@ +{ + "main.css": "static/css/main.65027555.css", + "main.css.map": "static/css/main.65027555.css.map", + "main.js": "static/js/main.203dad56.js", + "main.js.map": "static/js/main.203dad56.js.map" +} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..5c125de5d897c1ff5692a656485b3216123dcd89 GIT binary patch literal 24838 zcmeI4X^>UL6@VY56)S&I{`6Nu0RscWCdj@GJHx(%?6_-;yKy1n;EEf9f}pr1CW5HA zYt$%U#C=}?jWH&%G@BaHBxsWAoUb3}&6%Ei@4Ii_JRa1`RQ23*yU)_wJ$?H0>6gj0 z${d_I^w5kvTW3xYEc?FvyP3>p$!py@`@T`|dVepIsjbbvR}af%KKy7YuQ%S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>U_>mbPTXxkC*!?*zefr#2vF|qr8{|4|u^7-pD|f z&OPc->UKu)=iHgIpysp;Lsbyj}GJWoBkufOA={CRTUjr%af zc5pUH9{pg?M5%+)oN`q9yBbBt@+3xHV)qGm8b)Cp-w7~CwEhtBUk0rbjrqM zTb|tQ3-5-pw^cul`T+X&s?O;?V(FD!(Q9Qg@(LTCNz{0-vBM^SX5lti3|GpxFn4;Ax6pGc~t)R!Bo${lYH(* z!F&5X*?S&}YoDCyzwv1H+XI(+rL`;RN9}iLxlfr-r&vGG8OQa@=>+a)+Ij)sd_{wu z1Am(+3-RFr4&N8N6+hqo19S#;SA1-hG>07p3}&*j4CR+rqdV)^6n; z_vFr!(a%-=#=kb{pYmNL@6|DWkw~%E2V2jYl*e1}c{e$fib?(O+hs}eoBLRo&9(;J}YV}0Mi;LZAe{U$(s= zT<-IaV$Z+q-P!~3{HxN>Kbw30jXzM&I(S<6Ksx^}HvU2Vntb!etSsm0>)j}Me^+L5{2yz--)?W`Q?az z!WLG4UNP}+#C+NKH+ZG-Q=E>IPp%LuKLx$$8NAOGr(#~P>!EA zDYlpXDR=xM?Xv5(-qp74Cw3LzBeASHSBY`OezkbOyjP!G%WSymju_C$VBl--zReact App
\ No newline at end of file diff --git a/build/manifest.json b/build/manifest.json new file mode 100644 index 0000000..be607e4 --- /dev/null +++ b/build/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "192x192", + "type": "image/png" + } + ], + "start_url": "./index.html", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/build/service-worker.js b/build/service-worker.js new file mode 100644 index 0000000..baab8d2 --- /dev/null +++ b/build/service-worker.js @@ -0,0 +1 @@ +"use strict";function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}var precacheConfig=[["/index.html","ba0ec0d0bc0f56cd7345d5577233e89d"],["/static/css/main.65027555.css","41e5e45b9b5d9ecaa09b72c11eed3386"],["/static/js/main.203dad56.js","05bbfa4a758377209a9ecdca3d47924d"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(e){return e.redirected?("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status,statusText:e.statusText})}):Promise.resolve(e)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,t){var n=new URL(e);return n.hash="",n.search=n.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(e){return t.every(function(t){return!t.test(e[0])})}).map(function(e){return e.join("=")}).join("&"),n.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(e){return setOfCachedUrls(e).then(function(t){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(n){if(!t.has(n)){var r=new Request(n,{credentials:"same-origin"});return fetch(r).then(function(t){if(!t.ok)throw new Error("Request for "+n+" returned a response with status "+t.status);return cleanResponse(t).then(function(t){return e.put(n,t)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var t=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(e){return e.keys().then(function(n){return Promise.all(n.map(function(n){if(!t.has(n.url))return e.delete(n)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(e){if("GET"===e.request.method){var t,n=stripIgnoredUrlParameters(e.request.url,ignoreUrlParametersMatching);(t=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,"index.html"),t=urlsToCacheKeys.has(n));!t&&"navigate"===e.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],e.request.url)&&(n=new URL("/index.html",self.location).toString(),t=urlsToCacheKeys.has(n)),t&&e.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(t){return console.warn('Couldn\'t serve response for "%s" from cache: %O',e.request.url,t),fetch(e.request)}))}}); \ No newline at end of file diff --git a/build/static/css/main.65027555.css b/build/static/css/main.65027555.css new file mode 100644 index 0000000..a36e109 --- /dev/null +++ b/build/static/css/main.65027555.css @@ -0,0 +1,2 @@ +body{margin:0;padding:0;font-family:sans-serif} +/*# sourceMappingURL=main.65027555.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.65027555.css.map b/build/static/css/main.65027555.css.map new file mode 100644 index 0000000..a22ceae --- /dev/null +++ b/build/static/css/main.65027555.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.css"],"names":[],"mappings":"AAAA,KACE,SACA,UACA,sBAAwB","file":"static/css/main.65027555.css","sourcesContent":["body {\n margin: 0;\n padding: 0;\n font-family: sans-serif;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.css"],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/main.203dad56.js b/build/static/js/main.203dad56.js new file mode 100644 index 0000000..defc379 --- /dev/null +++ b/build/static/js/main.203dad56.js @@ -0,0 +1,2 @@ +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=493)}([function(e,t,n){"use strict";function r(e,t,n,r,i,a,u,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,u,s],f=0;l=new Error(t.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";e.exports=n(48)},function(e,t,n){"use strict";var r=n(17),o=r;e.exports=o},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){var r=n(92)("wks"),o=n(67),i=n(26).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";function r(){O.ReactReconcileTransaction&&w||c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),w.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;t!==y.length&&c("124",t,y.length),y.sort(a),g++;for(var n=0;n-1},!0)&&n.reduce(function(n,r){return n&&s(e[r],t.previousResult[r])},!0))return t.previousResult}return Object.defineProperty(e,v,{enumerable:!1,configurable:!1,writable:!1,value:t.id}),e}function s(e,t){return e===t||!(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)&&e.reduce(function(e,n,r){return e&&s(n,t[r])},!0)}t.a=r,t.b=o;var l=n(301),c=n.n(l),f=n(21),p=n(24),d=n(65),h=n(34),m=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n'),n.store=n.client.store,n.type=w.type,n}return b(s,r),s.prototype.componentWillMount=function(){this.shouldSkip(this.props)||this.setInitialProps()},s.prototype.componentDidMount=function(){this.hasMounted=!0,this.type!==y.Mutation&&(this.shouldSkip(this.props)||this.subscribeToQuery())},s.prototype.componentWillReceiveProps=function(e,t){if(!u(this.props,e)||this.client!==t.client){if(this.shouldRerender=!0,this.client!==t.client)return this.client=t.client,this.unsubscribeFromQuery(),this.queryObservable=null,this.previousData={},this.updateQuery(e),void(this.shouldSkip(e)||this.subscribeToQuery());if(this.type!==y.Mutation){if(this.type===y.Subscription&&n.shouldResubscribe&&n.shouldResubscribe(this.props,e))return this.unsubscribeFromQuery(),delete this.queryObservable,this.updateQuery(e),void this.subscribeToQuery();if(this.shouldSkip(e))return void(this.shouldSkip(this.props)||this.unsubscribeFromQuery());this.updateQuery(e),this.subscribeToQuery()}}},s.prototype.componentWillUnmount=function(){this.type===y.Query&&(this.queryObservable&&(a.recycle(this.queryObservable),delete this.queryObservable),this.unsubscribeFromQuery()),this.type===y.Subscription&&this.unsubscribeFromQuery(),this.hasMounted=!1},s.prototype.calculateOptions=function(e,t){void 0===e&&(e=this.props);var n=m(e);if(t&&t.variables&&(t.variables=C({},n.variables,t.variables)),t&&(n=C({},n,t)),n.variables||!w.variables.length)return n;for(var r={},a=0,u=w.variables;a'),n}return P(i,r),i.prototype.getWrappedInstance=function(){return M(n.withRef,"To access the wrapped instance, you need to specify { withRef: true } in the options"),this.refs.wrappedInstance},i.prototype.render=function(){var r=A({},this.props);return r.client=this.client,n.withRef&&(r.ref="wrappedInstance"),t.createElement(e,r)},i}(t.Component);return i.displayName=o,i.WrappedComponent=e,i.contextTypes={client:r.object.isRequired},R(i,e,{})}a="default"in a?a.default:a;var h=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=n(70),v=function(e){function n(t,n){var r=e.call(this,t,n)||this;return m(t.client,'ApolloClient was not passed a client instance. Make sure you pass in your client via the "client" prop.'),t.store||t.client.initStore(),r}return h(n,e),n.prototype.componentWillReceiveProps=function(e){e.client===this.props.client||e.store||e.client.initStore()},n.prototype.getChildContext=function(){return{store:this.props.store||this.context.store,client:this.props.client}},n.prototype.render=function(){return t.Children.only(this.props.children)},n}(t.Component);v.propTypes={store:r.shape({subscribe:r.func.isRequired,dispatch:r.func.isRequired,getState:r.func.isRequired}),client:r.object.isRequired,children:r.element.isRequired},v.childContextTypes={store:r.object,client:r.object.isRequired},v.contextTypes={store:r.object};var y,g=n(70);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(y||(y={}));var b=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1){for(var h=Array(d),m=0;m1){for(var y=Array(v),g=0;g1)for(var n=1;n]/;e.exports=o},function(e,t,n){"use strict";var r,o=n(15),i=n(105),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(113),l=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&u.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(126),o=n(80),i=n(78),a=n(127),u=n(65),s=n(128),l=n(53),c=n(24),f=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n0||i.networkError)){var a=new o.a({graphQLErrors:i.graphQLErrors,networkError:i.networkError});return{data:{},loading:!1,networkStatus:i.networkStatus,error:a}}var u,s=!i||i.networkStatus===l.a.loading,c="network-only"===this.options.fetchPolicy&&s||r&&"cache-only"!==this.options.fetchPolicy;return u=i?i.networkStatus:c?l.a.loading:l.a.ready,{data:t,loading:n.i(l.b)(u),networkStatus:u,partial:r}},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.refetch=function(e){if(this.variables=p({},this.variables,e),"cache-only"===this.options.fetchPolicy)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));this.options.variables=p({},this.options.variables,this.variables);var t=p({},this.options,{fetchPolicy:"network-only"});return this.queryManager.fetchQuery(this.queryId,t,i.a.refetch).then(function(e){return n.i(s.a)(e)})},t.prototype.fetchMore=function(e){var t=this;if(!e.updateQuery)throw new Error("updateQuery option is required. This function defines how to update the query data with the new results.");return Promise.resolve().then(function(){var n=t.queryManager.generateQueryId(),r=null;if(e.query)r=e;else{var o=p({},t.variables,e.variables);r=p({},t.options,e,{variables:o})}return r=p({},r,{query:r.query,fetchPolicy:"network-only"}),t.queryManager.fetchQuery(n,r,i.a.normal,t.queryId)}).then(function(n){var r=n.data,o=e.updateQuery,i=function(e,t){var n=t.variables;return o(e,{fetchMoreResult:r,queryVariables:n})};return t.updateQuery(i),n})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}),r=n.subscribe({next:function(n){if(e.updateQuery){var r=e.updateQuery,o=function(e,t){var o=t.variables;return r(e,{subscriptionData:{data:n},variables:o})};t.updateQuery(o)}},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(r),function(){var e=t.subscriptionHandles.indexOf(r);e>=0&&(t.subscriptionHandles.splice(e,1),r.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=p({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0);var o=p({},this.variables,e);return n.i(u.a)(o,this.variables)&&!t?0!==this.observers.length&&r?this.result():new Promise(function(e){return e()}):(this.variables=o,this.options.variables=o,0===this.observers.length?new Promise(function(e){return e()}):this.queryManager.fetchQuery(this.queryId,p({},this.options,{variables:this.variables})).then(function(e){return n.i(s.a)(e)}))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),r=t.previousResult,o=t.variables,i=t.document,u=n.i(a.a)(function(){return e(r,{variables:o})});u&&this.queryManager.store.dispatch({type:"APOLLO_UPDATE_QUERY_RESULT",newResult:u,variables:o,document:i,operationName:n.i(c.f)(i)})},t.prototype.stopPolling=function(){this.isCurrentlyPolling&&(this.scheduler.stopPollingQuery(this.queryId),this.options.pollInterval=void 0,this.isCurrentlyPolling=!1)},t.prototype.startPolling=function(e){if("cache-first"===this.options.fetchPolicy||"cache-only"===this.options.fetchPolicy)throw new Error("Queries that specify the cache-first and cache-only fetchPolicies cannot also be polling queries.");this.isCurrentlyPolling&&(this.scheduler.stopPollingQuery(this.queryId),this.isCurrentlyPolling=!1),this.options.pollInterval=e,this.isCurrentlyPolling=!0,this.scheduler.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),{unsubscribe:function(){t.observers.some(function(t){return t===e})&&(t.observers=t.observers.filter(function(t){return t!==e}),0===t.observers.length&&t.tearDownQuery())}}},t.prototype.setUpQuery=function(){var e=this;if(this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval){if("cache-first"===this.options.fetchPolicy||"cache-only"===this.options.fetchPolicy)throw new Error("Queries that specify the cache-first and cache-only fetchPolicies cannot also be polling queries.");this.isCurrentlyPolling=!0,this.scheduler.startPollingQuery(this.options,this.queryId)}var t={next:function(t){e.lastResult=t,e.observers.forEach(function(e){e.next&&e.next(t)})},error:function(t){e.observers.forEach(function(e){e.error?e.error(t):console.error("Unhandled error",t.message,t.stack)}),e.lastError=t}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isCurrentlyPolling&&(this.scheduler.stopPollingQuery(this.queryId),this.isCurrentlyPolling=!1),this.subscriptionHandles.forEach(function(e){return e.unsubscribe()}),this.subscriptionHandles=[],this.queryManager.stopQuery(this.queryId),this.shouldSubscribe&&this.queryManager.removeObservableQuery(this.queryId),this.observers=[]},t}(r.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r;!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(35),o=n(217),i=function(){function e(e){e&&e.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(e.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}return e.prototype.match=function(e,t,n){if(!this.isReady)throw new Error("FragmentMatcher.match() was called before FragmentMatcher.init()");var r=n.store[e.id];if(!r)return!1;if(!r.__typename)throw new Error("Cannot match fragment because __typename property is missing: "+JSON.stringify(r));if(r.__typename===t)return!0;var o=this.possibleTypesMap[t];return!!(o&&o.indexOf(r.__typename)>-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}(),a=!1,u=function(){function e(){}return e.prototype.ensureReady=function(){return Promise.resolve()},e.prototype.canBypassInit=function(){return!0},e.prototype.match=function(e,t,i){var u=i.store[e.id];return!!u&&(u.__typename?u.__typename===t||(n.i(o.a)("You are using the simple (heuristic) fragment matcher, but your queries contain union or interface types.\n Apollo Client will not be able to able to accurately map fragments.To make this error go away, use the IntrospectionFragmentMatcher as described in the docs: http://dev.apollodata.com/react/initialization.html#fragment-matcher","error"),i.returnPartialData=!0,!0):(a||(console.warn("You're using fragments in your queries, but either don't have the addTypename:\n true option set in Apollo Client, or you are trying to write a fragment to the store without the __typename.\n Please turn on the addTypename option and include __typename when writing fragments so that Apollo Client\n can accurately match fragments."),console.warn("Could not find __typename on Fragment ",t,u),console.warn("DEPRECATION WARNING: using fragments without __typename is unsupported behavior and will be removed in future versions of Apollo client. You should fix this and set addTypename to true now."),n.i(r.c)()||(a=!0)),i.returnPartialData=!0,!0))},e}()},function(e,t,n){"use strict";function r(e){return e.hasOwnProperty("graphQLErrors")}t.b=r,n.d(t,"a",function(){return a});var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){var t="";return Array.isArray(e.graphQLErrors)&&0!==e.graphQLErrors.length&&e.graphQLErrors.forEach(function(e){var n=e?e.message:"Error message not found.";t+="GraphQL error: "+n+"\n"}),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")},a=function(e){function t(t){var n=t.graphQLErrors,r=t.networkError,o=t.errorMessage,a=t.extraInfo,u=e.call(this,o)||this;return u.graphQLErrors=n||[],u.networkError=r||null,u.message=o||i(u),u.extraInfo=a,u}return o(t,e),t}(Error)},function(e,t,n){"use strict";function r(e){return function(t,r){void 0===t&&(t={});try{var o={queries:n.i(u.a)(t.queries,r),mutations:n.i(s.a)(t.mutations,r),data:n.i(a.a)(t.data,r,t.queries,t.mutations,e),optimistic:[],reducerError:null};return o.optimistic=n.i(l.b)(t.optimistic,r,o,e),t.data===o.data&&t.mutations===o.mutations&&t.queries===o.queries&&t.optimistic===o.optimistic&&t.reducerError===o.reducerError?t:o}catch(e){return f({},t,{reducerError:d(e,r)})}}}function o(e){var t=void 0===e?{}:e,o=t.reduxRootKey,a=void 0===o?"apollo":o,u=t.initialState,s=t.config,l=void 0===s?{}:s,c=t.reportCrashes,f=void 0===c||c,d=t.logger,h=[],m=[];if(f&&m.push(p),d&&m.push(d),m.length>0&&h.push(i.applyMiddleware.apply(void 0,m)),"undefined"!==typeof window){var v=window;v.devToolsExtension&&h.push(v.devToolsExtension())}var y=i.compose;if(u&&u[a]&&u[a].queries)throw new Error("Apollo initial state may not contain queries, only data");if(u&&u[a]&&u[a].mutations)throw new Error("Apollo initial state may not contain mutations, only data");return n.i(i.createStore)(n.i(i.combineReducers)((g={},g[a]=r(l),g)),u,y.apply(void 0,h));var g}t.b=r,t.a=o;var i=n(198),a=n(124),u=n(211),s=n(209),l=n(125);n.d(t,"c",function(){return l.a});var c=n(51),f=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var a=e.shift();a&&a.applyMiddleware.apply(t,[{request:o,options:i},r])}else n({request:o,options:i})};r()}(t._middlewares.slice(),t)})},t.prototype.applyAfterwares=function(e){var t=this,n=e.response,r=e.options;return new Promise(function(e,o){var i={response:n,options:r};!function(t,n){var r=function(){if(t.length>0){var o=t.shift();o&&o.applyAfterware.apply(n,[i,r])}else e(i)};r()}(t._afterwares.slice(),t)})},t.prototype.fetchFromRemoteEndpoint=function(e){var t=e.request,n=e.options;return fetch(this._uri,l({},this._opts,{body:JSON.stringify(r(t)),method:"POST"},n,{headers:l({Accept:"*/*","Content-Type":"application/json"},n.headers)}))},t.prototype.query=function(e){var t=this,r=l({},this._opts);return this.applyMiddlewares({request:e,options:r}).then(function(e){return e.request.query&&(e.request.query=n.i(u.b)(e.request.query)),e}).then(function(e){return t.fetchFromRemoteEndpoint.call(t,e)}).then(function(e){return t.applyAfterwares({response:e,options:r})}).then(function(e){var t=e.response,n=t;return n.json().catch(function(e){var r=new Error("Network request failed with status "+t.status+' - "'+t.statusText+'"');throw r.response=n,r.parseError=e,r})}).then(function(t){if(t.hasOwnProperty("data")||t.hasOwnProperty("errors"))return t;throw new Error("Server response was missing for query '"+e.debugName+"'.")})},t.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},t.prototype.useAfter=function(e){var t=this;return e.map(function(e){if("function"!==typeof e.applyAfterware)throw new Error("Afterware must implement the applyAfterware function");t._afterwares.push(e)}),this},t}(c)},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(246);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=!0},function(e,t,n){var r=n(36),o=n(262),i=n(86),a=n(91)("IE_PROTO"),u=function(){},s=function(){var e,t=n(134)("iframe"),r=i.length;for(t.style.display="none",n(252).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("