From 8f8ea8cab01a684e626b1d8a705460977f951280 Mon Sep 17 00:00:00 2001 From: Jerome Cukier Date: Tue, 28 Nov 2017 11:58:15 -0800 Subject: [PATCH] Testing revisions (#44) * revisions on testing, update on images * rebuilding docs * typo on cname * found typo on a link * merge with wrong build --- docs/appcache/manifest.appcache | 17 ++++++------ docs/bundle-6893a97fc02b8c6fad0a.js | 41 ---------------------------- docs/styles-6893a97fc02b8c6fad0a.css | 1 - docs/sw.js | 2 +- 4 files changed, 10 insertions(+), 51 deletions(-) delete mode 100644 docs/bundle-6893a97fc02b8c6fad0a.js delete mode 100644 docs/styles-6893a97fc02b8c6fad0a.css diff --git a/docs/appcache/manifest.appcache b/docs/appcache/manifest.appcache index 7f98c24b..9e749e92 100644 --- a/docs/appcache/manifest.appcache +++ b/docs/appcache/manifest.appcache @@ -1,43 +1,43 @@ CACHE MANIFEST -#ver:11/28/2017, 11:43:04 AM +#ver:11/28/2017, 11:54:30 AM #plugin:4.8.4 CACHE: ../bundle-ba4d88ac2f873f0f4a04.js ../styles-ba4d88ac2f873f0f4a04.css ../ -../favicon.ico +../fonts/uber.svg ../fonts/uber.ttf ../fonts/uber.woff ../fonts/uber.svg ../images/icon-chart.svg ../images/footer-pattern.gif +../favicon.ico ../images/icon-custom.svg ../images/icon-high-precision.svg ../images/icon-react.svg ../images/icon-layers.svg ../images/uber-logo.png - -../images/hero.jpg -../images/uber-logo.png ../images/icon-react.svg ../images/logo.svg +../images/hero.jpg ../images/custom-layers/cover.png ../images/graph-vis/architecture-basic.png +../images/geospatial-app/geospatial-app.png ../images/graph-vis/architecture-graph-render.png ../images/graph-vis/architecture-with-layout-engine.png -../images/geospatial-app/geospatial-app.png -../images/graph-vis/no-position-update-trigger.png ../images/graph-vis/cover.png +../images/graph-vis/no-position-update-trigger.png ../images/graph-vis/random-graph.png ../images/mg_arc_2.png ../images/mg_arc_1.png ../images/mg_hex_1.png ../images/mg_choropleth.png +../images/mg_hex_1.png ../images/mg_hex_2.png -../images/mg_hex_3d.png ../images/mg_hex_3.png ../images/mg_hex_4.png +../images/mg_hex_3d.png ../images/mg_hex_5.png ../images/mg_hex_6.png ../images/mg_path.png @@ -49,5 +49,6 @@ CACHE: ../images/mg_scatterplot_2.png ../images/setup/testing.png ../images/setup/setup.png + NETWORK: * \ No newline at end of file diff --git a/docs/bundle-6893a97fc02b8c6fad0a.js b/docs/bundle-6893a97fc02b8c6fad0a.js deleted file mode 100644 index f671ed00..00000000 --- a/docs/bundle-6893a97fc02b8c6fad0a.js +++ /dev/null @@ -1,41 +0,0 @@ -!function(e){function a(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}var t={};a.m=e,a.c=t,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},a.p="",a(a.s=687)}([function(e,a,t){"use strict";e.exports=t(122)},function(e,a,t){var i=t(7),n=t(58),r=t(40),o=t(41),c=t(52),l=function(e,a,t){var s,u,p,m,_=e&l.F,g=e&l.G,d=e&l.S,v=e&l.P,y=e&l.B,f=g?i:d?i[a]||(i[a]={}):(i[a]||{}).prototype,h=g?n:n[a]||(n[a]={}),b=h.prototype||(h.prototype={});g&&(t=a);for(s in t)u=!_&&f&&void 0!==f[s],p=(u?f:t)[s],m=y&&u?c(p,i):v&&"function"==typeof p?c(Function.call,p):p,f&&o(f,s,p,e&l.U),h[s]!=p&&r(h,s,m),v&&b[s]!=p&&(b[s]=p)};i.core=n,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,a,t){e.exports=t(989)()},function(e,a,t){"use strict";(function(a){/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -function i(e,a){if(e===a)return 0;for(var t=e.length,i=a.length,n=0,r=Math.min(t,i);n=0;c--)if(l[c]!==s[c])return!1;for(c=l.length-1;c>=0;c--)if(o=l[c],!_(e[o],a[o],t,i))return!1;return!0}function v(e,a,t){_(e,a,!0)&&p(e,a,t,"notDeepStrictEqual",v)}function y(e,a){if(!e||!a)return!1;if("[object RegExp]"==Object.prototype.toString.call(a))return a.test(e);try{if(e instanceof a)return!0}catch(e){}return!Error.isPrototypeOf(a)&&!0===a.call({},e)}function f(e){var a;try{e()}catch(e){a=e}return a}function h(e,a,t,i){var n;if("function"!=typeof a)throw new TypeError('"block" argument must be a function');"string"==typeof t&&(i=t,t=null),n=f(a),i=(t&&t.name?" ("+t.name+").":".")+(i?" "+i:"."),e&&!n&&p(n,t,"Missing expected exception"+i);var r="string"==typeof i,o=!e&&b.isError(n),c=!e&&n&&!t;if((o&&r&&y(n,t)||c)&&p(n,t,"Got unwanted exception"+i),e&&n&&t&&!y(n,t)||!e&&n)throw n}var b=t(1168),N=Object.prototype.hasOwnProperty,E=Array.prototype.slice,A=function(){return"foo"===function(){}.name}(),O=e.exports=m,S=/\s*function\s+([^\(\s]*)\s*/;O.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var a=e.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,a);else{var t=new Error;if(t.stack){var i=t.stack,n=c(a),r=i.indexOf("\n"+n);if(r>=0){var o=i.indexOf("\n",r+1);i=i.substring(o+1)}this.stack=i}}},b.inherits(O.AssertionError,Error),O.fail=p,O.ok=m,O.equal=function(e,a,t){e!=a&&p(e,a,t,"==",O.equal)},O.notEqual=function(e,a,t){e==a&&p(e,a,t,"!=",O.notEqual)},O.deepEqual=function(e,a,t){_(e,a,!1)||p(e,a,t,"deepEqual",O.deepEqual)},O.deepStrictEqual=function(e,a,t){_(e,a,!0)||p(e,a,t,"deepStrictEqual",O.deepStrictEqual)},O.notDeepEqual=function(e,a,t){_(e,a,!1)&&p(e,a,t,"notDeepEqual",O.notDeepEqual)},O.notDeepStrictEqual=v,O.strictEqual=function(e,a,t){e!==a&&p(e,a,t,"===",O.strictEqual)},O.notStrictEqual=function(e,a,t){e===a&&p(e,a,t,"!==",O.notStrictEqual)},O.throws=function(e,a,t){h(!0,e,a,t)},O.doesNotThrow=function(e,a,t){h(!1,e,a,t)},O.ifError=function(e){if(e)throw e};var T=Object.keys||function(e){var a=[];for(var t in e)N.call(e,t)&&a.push(t);return a}}).call(a,t(31))},function(e,a,t){"use strict";function i(e,a,t,i,r,o,c,l){if(n(a),!e){var s;if(void 0===a)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,i,r,o,c,l],p=0;s=new Error(a.replace(/%s/g,function(){return u[p++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var n=function(e){};e.exports=i},function(e,a,t){"use strict";function i(e){return e>1?0:e<-1?l:Math.acos(e)}function n(e){return e>1?s:e<-1?-s:Math.asin(e)}function r(e){return(e=E(e/2))*e}t.d(a,"i",function(){return o}),t.d(a,"j",function(){return c}),t.d(a,"o",function(){return l}),t.d(a,"l",function(){return s}),t.d(a,"q",function(){return u}),t.d(a,"w",function(){return p}),t.d(a,"h",function(){return m}),t.d(a,"r",function(){return _}),t.d(a,"a",function(){return g}),t.d(a,"d",function(){return d}),t.d(a,"e",function(){return v}),t.d(a,"g",function(){return y}),t.d(a,"f",function(){return f}),t.d(a,"k",function(){return h}),t.d(a,"n",function(){return b}),t.d(a,"p",function(){return N}),t.d(a,"t",function(){return E}),t.d(a,"s",function(){return A}),t.d(a,"u",function(){return O}),t.d(a,"v",function(){return S}),a.b=i,a.c=n,a.m=r;var o=1e-6,c=1e-12,l=Math.PI,s=l/2,u=l/4,p=2*l,m=180/l,_=l/180,g=Math.abs,d=Math.atan,v=Math.atan2,y=Math.cos,f=Math.ceil,h=Math.exp,b=(Math.floor,Math.log),N=Math.pow,E=Math.sin,A=Math.sign||function(e){return e>0?1:e<0?-1:0},O=Math.sqrt,S=Math.tan},function(e,a,t){var i=t(9);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,a){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,a){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,a){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,a,t){"use strict";var i=t(49),n=i;e.exports=n},function(e,a,t){"use strict";function i(e){for(var a=arguments.length-1,t="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,i=0;i=0||Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.presets.noWobble;if("string"==typeof e)return g.presets[e]||g.presets.noWobble;var a=e.damping,t=e.stiffness;return v({damping:a||g.presets.noWobble.damping,stiffness:t||g.presets.noWobble.stiffness},e)}function l(e){var a=e.animatedProps,t=o(e,["animatedProps"]);return a.reduce(function(e,a){return t.hasOwnProperty(a)&&(e[a]=t[a]),e},{})}a.c=l,t.d(a,"a",function(){return b});var s=t(0),u=t.n(s),p=t(2),m=t.n(p),_=t(112),g=t(1413),d=(t.n(g),function(){function e(e,a){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{};a=Object.assign({},I,a);var t=a,i=t.canvas,n=t.width,r=t.height,o=t.throwOnError,c=t.manageState,l=t.debug,p=void 0;if(v.isBrowser){var d=void 0;d=i?"string"==typeof i?Object(_.c)({id:i}):i:Object(_.a)({id:"lumagl-canvas",width:n,height:r,onError:e}),p=Object(_.b)({canvas:d,opts:a})}else p=u({width:n,height:r,opts:a,onError:e});return p?(c&&Object(m.a)(p,{copyState:!1,log:function(){for(var e=arguments.length,a=Array(e),t=0;t0?n(i(e),9007199254740991):0}},function(e,a,t){"use strict";function i(e,a){return 1===e.nodeType&&e.getAttribute(g)===String(a)||8===e.nodeType&&e.nodeValue===" react-text: "+a+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+a+" "}function n(e){for(var a;a=e._renderedComponent;)e=a;return e}function r(e,a){var t=n(e);t._hostNode=a,a[v]=t}function o(e){var a=e._hostNode;a&&(delete a[v],e._hostNode=null)}function c(e,a){if(!(e._flags&d.hasCachedChildNodes)){var t=e._renderedChildren,o=a.firstChild;e:for(var c in t)if(t.hasOwnProperty(c)){var l=t[c],s=n(l)._domID;if(0!==s){for(;null!==o;o=o.nextSibling)if(i(o,s)){r(l,o);continue e}p("32",s)}}e._flags|=d.hasCachedChildNodes}}function l(e){if(e[v])return e[v];for(var a=[];!e[v];){if(a.push(e),!e.parentNode)return null;e=e.parentNode}for(var t,i;e&&(i=e[v]);e=a.pop())t=i,a.length&&c(i,e);return t}function s(e){var a=l(e);return null!=a&&a._hostNode===e?a:null}function u(e){if(void 0===e._hostNode&&p("33"),e._hostNode)return e._hostNode;for(var a=[];!e._hostNode;)a.push(e),e._hostParent||p("34"),e=e._hostParent;for(;a.length;e=a.pop())c(e,e._hostNode);return e._hostNode}var p=t(11),m=t(124),_=t(435),g=(t(4),m.ID_ATTRIBUTE_NAME),d=_,v="__reactInternalInstance$"+Math.random().toString(36).slice(2),y={getClosestInstanceFromNode:l,getInstanceFromNode:s,getNodeFromInstance:u,precacheChildNodes:c,precacheNode:r,uncacheNode:o};e.exports=y},function(e,a,t){"use strict";t.d(a,"e",function(){return i}),t.d(a,"f",function(){return n}),t.d(a,"a",function(){return r}),t.d(a,"h",function(){return o}),t.d(a,"g",function(){return c}),t.d(a,"c",function(){return l}),t.d(a,"d",function(){return s}),t.d(a,"b",function(){return u});var i=["#12939A","#79C7E3","#1A3177","#FF9833","#EF5D28"],n=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],r=["#EF5D28","#FF9833"],o=[1,10],c="literal",l=1,s=5,u=i[0]},function(e,a,t){var i=t(60);e.exports=function(e){return Object(i(e))}},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),t.d(a,"experimental",function(){return L});var i=t(12);t.d(a,"Layer",function(){return i.d}),t.d(a,"CompositeLayer",function(){return i.c}),t.d(a,"LayerManager",function(){return i.e}),t.d(a,"AttributeManager",function(){return i.a}),t.d(a,"COORDINATE_SYSTEM",function(){return i.b});var n=t(137);t.d(a,"Viewport",function(){return n.b});var r=t(579);t.d(a,"PerspectiveViewport",function(){return r.a});var o=t(580);t.d(a,"OrthographicViewport",function(){return o.a});var c=t(581);t.d(a,"WebMercatorViewport",function(){return c.a});var l=t(1325);t.d(a,"ArcLayer",function(){return l.a});var s=t(1329);t.d(a,"IconLayer",function(){return s.a});var u=t(1333);t.d(a,"LineLayer",function(){return u.a});var p=t(1337);t.d(a,"PointCloudLayer",function(){return p.a});var m=t(582);t.d(a,"ScatterplotLayer",function(){return m.a});var _=t(1344);t.d(a,"ScreenGridLayer",function(){return _.a});var g=t(1347);t.d(a,"GridLayer",function(){return g.a});var d=t(583);t.d(a,"GridCellLayer",function(){return d.a});var v=t(1352);t.d(a,"HexagonLayer",function(){return v.a});var y=t(587);t.d(a,"HexagonCellLayer",function(){return y.a});var f=t(346);t.d(a,"PathLayer",function(){return f.a});var h=t(1362);t.d(a,"PolygonLayer",function(){return h.a});var b=t(1368);t.d(a,"GeoJsonLayer",function(){return b.a});var N=t(590);t.d(a,"DeckGL",function(){return N.a}),t.d(a,"default",function(){return N.a});var E=t(344),A=t(577),O=t(348),S=t(592),T=t(593);t.d(a,"ChoroplethLayer",function(){return T.a});var x=t(1384);t.d(a,"ChoroplethLayer64",function(){return x.a});var I=t(1386);t.d(a,"ExtrudedChoroplethLayer64",function(){return I.a});var w=t(17);t.d(a,"assembleShaders",function(){return w.i});var L={get:E.a,count:A.a,EffectManager:O.b,Effect:O.a,ReflectionEffect:S.a}},function(e,a,t){"use strict";var i=t(608);t.d(a,"b",function(){return i.a});var n=t(139);t.d(a,"a",function(){return n.a});var r=t(609);t.d(a,"c",function(){return r.a});var o=(t(1421),t(1422),t(611),t(613));t.d(a,"d",function(){return o.a});var c=(t(1423),t(1426),t(1427),t(617));t.d(a,"k",function(){return c.a});var l=t(1428);t.d(a,"e",function(){return l.a});var s=(t(1429),t(1430),t(1431));t.d(a,"f",function(){return s.a});var u=t(618);t.d(a,"g",function(){return u.a});var p=(t(610),t(1432),t(361));t.d(a,"h",function(){return p.a});var m=t(615);t.d(a,"i",function(){return m.a});var _=(t(1433),t(1434),t(1435));t.d(a,"j",function(){return _.a});var g=t(616);t.d(a,"n",function(){return g.a}),t.d(a,"l",function(){return g.b}),t.d(a,"m",function(){return g.c});t(619),t(612),t(1436)},function(e,a,t){"use strict";function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function n(e){return e.type.prototype instanceof d.a}function r(e){return g.a.Children.toArray(e).filter(function(e){return e&&n(e)})}function o(e){var a={};return e.filter(n).forEach(function(e){var t=e.type.displayName,i=e.props.cluster;a[t]||(a[t]={sameTypeTotal:0,sameTypeIndex:0,clusters:new Set}),a[t].clusters.add(i),a[t].sameTypeTotal++}),a}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!e&&e.some(function(e){return e.radius&&e.angle})}function l(e){return c(e)?e.map(function(e){return y({},e,{x:e.radius*Math.cos(e.angle),y:e.radius*Math.sin(e.angle)})}):e}function s(e,a){return e.reduce(function(e,t,n){if(!t)return e.result.push(null),e;var r=t.props,o=r.data,c=r.cluster,s=void 0===c?"default":c,u=l(o,a);if(!a||!u||!u.length)return e.result.push(u),e;var p=a+"0";return e.result.push(u.map(function(t,n){var r;if(!e.seriesPointers[s])return y({},t);var o=e.seriesPointers[s].slice().pop(),c=e.result[o][n];return y({},t,(r={},i(r,p,c[a]),i(r,a,c[a]+t[a]-(t[p]||0)),r))})),e.seriesPointers[s]=(e.seriesPointers[s]||[]).concat([n]),e},{result:[],seriesPointers:{}}).result}function u(e){var a=[],t=o(e),i=0,r=v.c;return e.forEach(function(e){var o=void 0;if(n(e)){var c=t[e.type.displayName],l=v.e[i%v.e.length];o=y({},c,{seriesIndex:i,ref:"series"+i,_colorValue:l,_opacityValue:r}),c.sameTypeIndex++,i++,e.props.cluster&&(o.cluster=e.props.cluster,o.clusters=Array.from(c.clusters),o.sameTypeTotal=o.clusters.length,o.sameTypeIndex=o.clusters.indexOf(e.props.cluster))}a.push(o)}),a}function p(e){return e.reduce(function(e,a){return Math.max(a.radius,e)},0)}function m(e){var a=e._stackBy,t=e.valuePosAttr,i=e.cluster,n=e.sameTypeTotal,r=void 0===n?1:n,o=e.sameTypeIndex,c=void 0===o?0:o;return a!==t||i||(r=1,c=0),{sameTypeTotal:r,sameTypeIndex:c}}a.c=r,a.f=s,a.d=u,a.b=p,t.d(a,"a",function(){return f}),a.e=m;var _=t(0),g=t.n(_),d=t(13),v=t(24),y=Object.assign||function(e){for(var a=1;a1?(e[1]-e[0])/2:1===e.length?e[0]-.5:0}function m(e){return e.length>1?(e[e.length-1]-e[e.length-2])/2:1===e.length?e[0]-.5:0}function _(e,a,t,i){if(e.length>1){var n=Math.max(t,1);return Math.abs(i(e[n])-i(e[n-1]))}return 1===e.length?Math.abs(i(a[1])-i(a[0])):0}function g(e,a,t,n){if(n===Z&&1===a.length){return[e[0][t+"0"]].concat(i(a))}return a}function d(e,a){var t=a.attr,i=a.domain,n=a.type,c=Object(U.b)(e,t),l=g(e,c,t,n),s=r(l,a),u=[].concat(i);u[0]-=p(l),u[i.length-1]+=m(l),n===X&&i[0]<=0&&(u[0]=Math.min(i[1]/10,1));var d=o(W({},a,{domain:u})),v=_(l,u,s,d);return{domain0:u[0],domainN:u[u.length-1],distance:v}}function v(e,a){var t=a.attr,i=e._adjustBy,n=void 0===i?[]:i,r=e._adjustWhat;return(void 0===r?[]:r).length&&n.length&&-1!==n.indexOf(t)}function y(e,a){var t=e._allData,n=e._adjustWhat,r=void 0===n?[]:n,o=a.domain.length,c=a.domain,l=c[0],s=c[o-1],u=a.distance;return t.forEach(function(e,t){if(-1!==r.indexOf(t)&&e&&e.length){var i=d(e,a),n=i.domain0,o=i.domainN,c=i.distance;l=Math.min(l,n),s=Math.max(s,o),u=Math.max(u,c)}}),a.domain=[l].concat(i(c.slice(1,-1)),[s]),a.distance=u,a}function f(e){var a=o(e),t=e.domain,i=e.range;return t.length>1?e.distance=Math.abs(a(t[1])-a(t[0])):e.distance=Math.abs(i[1]-i[0]),e}function h(e,a){var t=u(e,a);if(!t)return null;if(!v(e,t))return t;var i=t.type;return i===Y||i===z?f(t):y(e,t)}function b(e,a){return o(h(e,a))}function N(e,a){return e.data?e.data[a]:e[a]}function E(e){return void 0!==e}function A(e,a){if(!e)return e;if(isNaN(parseFloat(e[0]))||isNaN(parseFloat(e[1])))return e;var t=j(e,2),i=t[0],n=t[1],r=.01*a*(n-i);return[i-r,n+r]}function O(e,a){var t=h(e,a);if(t){var i=o(t);return function(e){return i(N(e,a))}}return null}function S(e,a){var t=h(e,a);if(t){var i=a+"0",n=t.domain,r=t.baseValue,c=void 0===r?n[0]:r,l=o(t);return function(e){var a=N(e,i);return l(E(a)?a:c)}}return null}function T(e,a){var t=h(e,a);return t?(t.isValue||void 0!==e["_"+a+"Value"]||Object(k.c)("[React-vis] Cannot use data defined "+a+" for this series type. Using fallback value instead."),e["_"+a+"Value"]||t.range[0]):null}function x(e){var a;return a={},n(a,"_"+e+"Value",H.a.any),n(a,e+"Domain",H.a.array),n(a,e+"Range",H.a.array),n(a,e+"Type",H.a.oneOf(Object.keys(q))),n(a,e+"Distance",H.a.number),n(a,e+"BaseValue",H.a.any),a}function I(e,a){var t={};return Object.keys(e).forEach(function(i){a.find(function(e){return 0===i.indexOf(e)||0===i.indexOf("_"+e)})&&(t[i]=e[i])}),t}function w(e,a,t){var i={};return t.forEach(function(t){e[t+"Domain"]||(i[t+"Domain"]=c(a,t,e[t+"Type"]),e[t+"Padding"]&&(i[t+"Domain"]=A(i[t+"Domain"],e[t+"Padding"])))}),i}function L(e){function a(a){return void 0===a?e:a}function t(){return a}return a.domain=t,a.range=t,a.unknown=t,a.copy=t,a}function R(e){return e?Object(B.hsl)(e).l>.57?"#222":"#fff":null}function C(e,a){var t=Q.reduce(function(a,t){var i=e[t+"Domain"],r=e[t+"Range"],o=e[t+"Type"];return i&&r&&o?W({},a,n({},t,q[o]().domain(i).range(r))):a},{});return a.map(function(e){return Q.reduce(function(a,i){if(e.props&&void 0!==e.props[i]){var r=e.props[i],o=t[i],c=o?o(r):r;return W({},a,n({},"_"+i+"Value",c))}return a},{})})}a.i=h,a.e=b,a.d=O,a.c=S,a.f=T,a.j=x,a.b=I,a.h=w,a.g=R,a.k=C;var D,M=t(138),P=t(27),F=t(170),B=t(38),G=t(2),H=t.n(G),k=t(367),U=t(1482),j=function(){function e(e,a){var t=[],i=!0,n=!1,r=void 0;try{for(var o,c=e[Symbol.iterator]();!(i=(o=c.next()).done)&&(t.push(o.value),!a||t.length!==a);i=!0);}catch(e){n=!0,r=e}finally{try{!i&&c.return&&c.return()}finally{if(n)throw r}}return t}return function(a,t){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return e(a,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),W=Object.assign||function(e){for(var a=1;a0))return r;do{r.push(new Date(+t))}while(a(t,n),e(t),t=a)for(;e(a),!t(a);)a.setTime(a-1)},function(e,i){if(e>=e)if(i<0)for(;++i<=0;)for(;a(e,-1),!t(e););else for(;--i>=0;)for(;a(e,1),!t(e););})},t&&(c.count=function(a,i){return n.setTime(+a),r.setTime(+i),e(n),e(r),Math.floor(t(n,r))},c.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?c.filter(o?function(a){return o(a)%e==0}:function(a){return c.count(0,a)%e==0}):c:null}),c}a.a=i;var n=new Date,r=new Date},function(e,a,t){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};e.exports=n},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(353);t.d(a,"color",function(){return i.e}),t.d(a,"rgb",function(){return i.g}),t.d(a,"hsl",function(){return i.f});var n=t(1401);t.d(a,"lab",function(){return n.a}),t.d(a,"hcl",function(){return n.b});var r=t(1402);t.d(a,"cubehelix",function(){return r.a})},function(e,a){var t={}.hasOwnProperty;e.exports=function(e,a){return t.call(e,a)}},function(e,a,t){var i=t(21),n=t(91);e.exports=t(20)?function(e,a,t){return i.f(e,a,n(1,t))}:function(e,a,t){return e[a]=t,e}},function(e,a,t){var i=t(7),n=t(40),r=t(39),o=t(92)("src"),c=Function.toString,l=(""+c).split("toString");t(58).inspectSource=function(e){return c.call(e)},(e.exports=function(e,a,t,c){var s="function"==typeof t;s&&(r(t,"name")||n(t,"name",a)),e[a]!==t&&(s&&(r(t,o)||n(t,o,e[a]?""+e[a]:l.join(String(a)))),e===i?e[a]=t:c?e[a]?e[a]=t:n(e,a,t):(delete e[a],n(e,a,t)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||c.call(this)})},function(e,a,t){var i=t(1),n=t(8),r=t(60),o=/"/g,c=function(e,a,t,i){var n=String(r(e)),c="<"+a;return""!==t&&(c+=" "+t+'="'+String(i).replace(o,""")+'"'),c+">"+n+""};e.exports=function(e,a){var t={};t[e]=a(c),i(i.P+i.F*n(function(){var a=""[e]('"');return a!==a.toLowerCase()||a.split('"').length>3}),"String",t)}},function(e,a,t){"use strict";a.__esModule=!0,a.default=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},function(e,a,t){"use strict";a.__esModule=!0;var i=t(1141),n=function(e){return e&&e.__esModule?e:{default:e}}(i);a.default=function(){function e(e,a){for(var t=0;t300?10:5:20}function n(e,a,t){return t||(e.ticks?e.ticks(a):e.domain())}function r(e,a){if(e.x===a.x)return{left:e.y,right:a.y,slope:0,offset:e.x};var t=(e.y-a.y)/(e.x-a.x);return{left:e.x,right:a.x,slope:t,offset:e.y-t*e.x}}function o(e){var a=e.axisStart,t=e.axisEnd,i=e.numberOfTicks,n=e.axisDomain,o=r(a,t),c=o.left,u=o.right,p=o.slope,m=o.offset,_=(u-c)/i,g=Object(s.a)().domain([c,u]).range(n),d=a.x===t.x;return{slope:d?1/0:p,points:Object(l.i)(c,u+_,_).map(function(e){return d?{y:e,x:p*e+m,text:g(e)}:{x:e,y:p*e+m,text:g(e)}})}}function c(e,a){return e.x===a.x?a.y>e.y?Math.PI/2:3*Math.PI/2:Math.atan((a.y-e.y)/(a.x-e.x))}t.d(a,"b",function(){return u}),t.d(a,"a",function(){return p}),a.g=i,a.f=n,a.d=o,a.e=c;var l=t(27),s=t(138),u={TOP:"top",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",VERTICAL:"vertical",HORIZONTAL:"horizontal"},p={VERTICAL:"vertical",HORIZONTAL:"horizontal"};a.c={DIRECTION:p,ORIENTATION:u,getTicksTotalFromSize:i,getTickValues:n}},function(e,a,t){var i=t(35);e.exports=function(e,a,t){if(i(e),void 0===a)return e;switch(t){case 1:return function(t){return e.call(a,t)};case 2:return function(t,i){return e.call(a,t,i)};case 3:return function(t,i,n){return e.call(a,t,i,n)}}return function(){return e.apply(a,arguments)}}},function(e,a){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,a,t){"use strict";var i=t(8);e.exports=function(e,a){return!!e&&i(function(){a?e.call(null,function(){},1):e.call(null)})}},function(e,a,t){"use strict";var i=null;e.exports={debugTool:i}},function(e,a,t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0}),a.experimental=a.SVGOverlay=a.HTMLOverlay=a.CanvasOverlay=a.NavigationControl=a.Popup=a.Marker=a.StaticMap=a.InteractiveMap=a.default=void 0;var n=t(1116);Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i(n).default}}),Object.defineProperty(a,"InteractiveMap",{enumerable:!0,get:function(){return i(n).default}});var r=t(516);Object.defineProperty(a,"StaticMap",{enumerable:!0,get:function(){return i(r).default}});var o=t(1196);Object.defineProperty(a,"Marker",{enumerable:!0,get:function(){return i(o).default}});var c=t(1197);Object.defineProperty(a,"Popup",{enumerable:!0,get:function(){return i(c).default}});var l=t(1199);Object.defineProperty(a,"NavigationControl",{enumerable:!0,get:function(){return i(l).default}});var s=t(1200);Object.defineProperty(a,"CanvasOverlay",{enumerable:!0,get:function(){return i(s).default}});var u=t(1201);Object.defineProperty(a,"HTMLOverlay",{enumerable:!0,get:function(){return i(u).default}});var p=t(1202);Object.defineProperty(a,"SVGOverlay",{enumerable:!0,get:function(){return i(p).default}});var m=t(531),_=i(m),g=t(530),d=i(g),v=t(133),y=i(v);a.experimental={EventManager:d.default,MapControls:_.default,autobind:y.default}},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}var n=t(219),r=t(16),o=t(50),c=t(19),l=t(3),s=t.n(l),u=t(108),p=function(){function e(e,a){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),Object(r.d)(a);var n=t.id,o=t.userData,l=void 0===o?{}:o;this.gl=a,this.ext=Object(u.g)(a),this.id=n||Object(c.uid)(this.constructor.name),this.userData=l,this.opts=t,this._handle=t.handle,void 0===this._handle&&(this._handle=this._createHandle()),this._addStats()}return p(e,[{key:"toString",value:function(){return this.constructor.name+"("+this.id+")"}},{key:"delete",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.deleteChildren,t=void 0!==a&&a,i=this._handle&&this._deleteHandle(this._handle);return this._handle=null,i&&t&&i.filter(Boolean).forEach(function(e){e.delete()}),this}},{key:"unbind",value:function(){this.bind(null)}},{key:"getParameter",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(o.c)(e),s()(e);var t=this.constructor.PARAMETERS||{},i=t[e];if(i){var n=Object(r.h)(this.gl);if(!((!("webgl2"in i)||n)&&(!("extension"in i)||this.gl.getExtension(i.extension)))){var c=i.webgl1,l="webgl2"in i?i.webgl2:i.webgl1;return n?l:c}}return this._getParameter(e,a)}},{key:"getParameters",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a={},t=a.parameters,i=a.keys,n=this.constructor.PARAMETERS||{},c=Object(r.h)(this.gl),l={},s=t||Object.keys(n),u=!0,p=!1,m=void 0;try{for(var _,g=s[Symbol.iterator]();!(u=(_=g.next()).done);u=!0){var d=_.value,v=n[d];if(v&&(!("webgl2"in v)||c)&&(!("extension"in v)||this.gl.getExtension(v.extension))){var y=i?Object(o.d)(d):d;l[y]=this.getParameter(d,e),i&&"GLenum"===v.type&&(l[y]=Object(o.d)(l[y]))}}}catch(e){p=!0,m=e}finally{try{!u&&g.return&&g.return()}finally{if(p)throw m}}return l}},{key:"setParameter",value:function(e,a){e=Object(o.c)(e),s()(e);var t=this.constructor.PARAMETERS||{},i=t[e];if(i){var n=Object(r.h)(this.gl);if(!((!("webgl2"in i)||n)&&(!("extension"in i)||this.gl.getExtension(i.extension))))throw new Error("Parameter not available on this platform");"GLenum"===i.type&&(a=Object(o.c)(a))}return this._setParameter(e,a),this}},{key:"setParameters",value:function(e){for(var a in e)this.setParameter(a,e[a]);return this}},{key:"initialize",value:function(e){}},{key:"_createHandle",value:function(){throw new Error(m)}},{key:"_deleteHandle",value:function(){throw new Error(m)}},{key:"_getOptsFromHandle",value:function(){throw new Error(m)}},{key:"_getParameter",value:function(e,a){throw new Error(m)}},{key:"_setParameter",value:function(e,a){throw new Error(m)}},{key:"_context",value:function(){return this.gl.luma=this.gl.luma||{},this.gl.luma}},{key:"_addStats",value:function(){var e=this.constructor.name,a=n.default.stats;a.resourceCount=a.resourceCount||0,a.resourceMap=a.resourceMap||{},a.resourceCount++,a.resourceMap[e]=a.resourceMap[e]||{count:0},a.resourceMap[e].count++}},{key:"handle",get:function(){return this._handle}}]),e}();a.a=_},function(e,a){var t=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=t)},function(e,a,t){var i=t(9);e.exports=function(e,a){if(!i(e))return e;var t,n;if(a&&"function"==typeof(t=e.toString)&&!i(n=t.call(e)))return n;if("function"==typeof(t=e.valueOf)&&!i(n=t.call(e)))return n;if(!a&&"function"==typeof(t=e.toString)&&!i(n=t.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},function(e,a){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,a){var t=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:t)(e)}},function(e,a,t){var i=t(1),n=t(58),r=t(8);e.exports=function(e,a){var t=(n.Object||{})[e]||Object[e],o={};o[e]=a(t),i(i.S+i.F*r(function(){t(1)}),"Object",o)}},function(e,a,t){var i=t(52),n=t(142),r=t(25),o=t(22),c=t(260);e.exports=function(e,a){var t=1==e,l=2==e,s=3==e,u=4==e,p=6==e,m=5==e||p,_=a||c;return function(a,c,g){for(var d,v,y=r(a),f=n(y),h=i(c,g,3),b=o(f.length),N=0,E=t?_(a,b):l?_(a,0):void 0;b>N;N++)if((m||N in f)&&(d=f[N],v=h(d,N,y),e))if(t)E[N]=v;else if(v)switch(e){case 3:return!0;case 5:return d;case 6:return N;case 2:E.push(d)}else if(u)return!1;return p?-1:s||u?u:E}}},function(e,a,t){"use strict";function i(){I.ReactReconcileTransaction&&E||u("123")}function n(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=m.getPooled(),this.reconcileTransaction=I.ReactReconcileTransaction.getPooled(!0)}function r(e,a,t,n,r,o){return i(),E.batchedUpdates(e,a,t,n,r,o)}function o(e,a){return e._mountOrder-a._mountOrder}function c(e){var a=e.dirtyComponentsLength;a!==f.length&&u("124",a,f.length),f.sort(o),h++;for(var t=0;t2?e[2]%360*p.r:0,r()):[C*p.h,D*p.h,M*p.h]},a.precision=function(e){return arguments.length?(k=Object(d.a)(n,H=e*e),_()):Object(p.u)(H)},a.fitExtent=function(e,t){return Object(g.a)(a,e,t)},a.fitSize=function(e,t){return Object(g.c)(a,e,t)},a.fitWidth=function(e,t){return Object(g.d)(a,e,t)},a.fitHeight=function(e,t){return Object(g.b)(a,e,t)},function(){return y=e.apply(this,arguments),a.invert=y.invert&&t,r()}}a.a=n,a.b=r;var o=t(656),c=t(662),l=t(238),s=t(655),u=t(377),p=t(5),m=t(237),_=t(239),g=t(380),d=t(1540),v=Object(_.a)({point:function(e,a){this.stream.point(e*p.r,a*p.r)}})},function(e,a,t){"use strict";if(t(20)){var i=t(93),n=t(7),r=t(8),o=t(1),c=t(192),l=t(266),s=t(52),u=t(99),p=t(91),m=t(40),_=t(101),g=t(61),d=t(22),v=t(420),y=t(95),f=t(59),h=t(39),b=t(144),N=t(9),E=t(25),A=t(257),O=t(96),S=t(48),T=t(97).f,x=t(259),I=t(92),w=t(15),L=t(63),R=t(183),C=t(190),D=t(262),M=t(120),P=t(187),F=t(98),B=t(261),G=t(410),H=t(21),k=t(47),U=H.f,j=k.f,W=n.RangeError,V=n.TypeError,Y=n.Uint8Array,z=Array.prototype,K=l.ArrayBuffer,X=l.DataView,Z=L(0),q=L(2),Q=L(3),J=L(4),$=L(5),ee=L(6),ae=R(!0),te=R(!1),ie=D.values,ne=D.keys,re=D.entries,oe=z.lastIndexOf,ce=z.reduce,le=z.reduceRight,se=z.join,ue=z.sort,pe=z.slice,me=z.toString,_e=z.toLocaleString,ge=w("iterator"),de=w("toStringTag"),ve=I("typed_constructor"),ye=I("def_constructor"),fe=c.CONSTR,he=c.TYPED,be=c.VIEW,Ne=L(1,function(e,a){return Te(C(e,e[ye]),a)}),Ee=r(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),Ae=!!Y&&!!Y.prototype.set&&r(function(){new Y(1).set({})}),Oe=function(e,a){var t=g(e);if(t<0||t%a)throw W("Wrong offset!");return t},Se=function(e){if(N(e)&&he in e)return e;throw V(e+" is not a typed array!")},Te=function(e,a){if(!(N(e)&&ve in e))throw V("It is not a typed array constructor!");return new e(a)},xe=function(e,a){return Ie(C(e,e[ye]),a)},Ie=function(e,a){for(var t=0,i=a.length,n=Te(e,i);i>t;)n[t]=a[t++];return n},we=function(e,a,t){U(e,a,{get:function(){return this._d[t]}})},Le=function(e){var a,t,i,n,r,o,c=E(e),l=arguments.length,u=l>1?arguments[1]:void 0,p=void 0!==u,m=x(c);if(void 0!=m&&!A(m)){for(o=m.call(c),i=[],a=0;!(r=o.next()).done;a++)i.push(r.value);c=i}for(p&&l>2&&(u=s(u,arguments[2],2)),a=0,t=d(c.length),n=Te(this,t);t>a;a++)n[a]=p?u(c[a],a):c[a];return n},Re=function(){for(var e=0,a=arguments.length,t=Te(this,a);a>e;)t[e]=arguments[e++];return t},Ce=!!Y&&r(function(){_e.call(new Y(1))}),De=function(){return _e.apply(Ce?pe.call(Se(this)):Se(this),arguments)},Me={copyWithin:function(e,a){return G.call(Se(this),e,a,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(Se(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return B.apply(Se(this),arguments)},filter:function(e){return xe(this,q(Se(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return $(Se(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Se(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Se(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return te(Se(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ae(Se(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return se.apply(Se(this),arguments)},lastIndexOf:function(e){return oe.apply(Se(this),arguments)},map:function(e){return Ne(Se(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ce.apply(Se(this),arguments)},reduceRight:function(e){return le.apply(Se(this),arguments)},reverse:function(){for(var e,a=this,t=Se(a).length,i=Math.floor(t/2),n=0;n1?arguments[1]:void 0)},sort:function(e){return ue.call(Se(this),e)},subarray:function(e,a){var t=Se(this),i=t.length,n=y(e,i);return new(C(t,t[ye]))(t.buffer,t.byteOffset+n*t.BYTES_PER_ELEMENT,d((void 0===a?i:y(a,i))-n))}},Pe=function(e,a){return xe(this,pe.call(Se(this),e,a))},Fe=function(e){Se(this);var a=Oe(arguments[1],1),t=this.length,i=E(e),n=d(i.length),r=0;if(n+a>t)throw W("Wrong length!");for(;r255?255:255&i),n.v[_](t*a+n.o,i,Ee)},w=function(e,a){U(e,a,{get:function(){return x(this,a)},set:function(e){return I(this,a,e)},enumerable:!0})};h?(g=t(function(e,t,i,n){u(e,g,s,"_d");var r,o,c,l,p=0,_=0;if(N(t)){if(!(t instanceof K||"ArrayBuffer"==(l=b(t))||"SharedArrayBuffer"==l))return he in t?Ie(g,t):Le.call(g,t);r=t,_=Oe(i,a);var y=t.byteLength;if(void 0===n){if(y%a)throw W("Wrong length!");if((o=y-_)<0)throw W("Wrong length!")}else if((o=d(n)*a)+_>y)throw W("Wrong length!");c=o/a}else c=v(t),o=c*a,r=new K(o);for(m(e,"_d",{b:r,o:_,l:o,e:c,v:new X(r)});p1)for(var t=1;t=0&&a<=s.TRIANGLE_FAN,"Illegal drawMode"),a}a.b=n;var r=t(19),o=t(3),c=t.n(o),l=function(){function e(e,a){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{};i(this,e);var t=a.id,o=a.drawMode,c=void 0===o?s.TRIANGLES:o,l=a.vertexCount,u=void 0===l?void 0:l,p=a.attributes;this.id=t||Object(r.uid)(this.constructor.name),this.drawMode=n(c),this.vertexCount=u,this.attributes={},this.needsRedraw=!0,this.userData={},Object.seal(this),p?this.setAttributes(p):(r.log.deprecated("inline attributes","attributes parameter"),delete a.id,delete a.drawMode,delete a.vertexCount,delete a.attributes,this.setAttributes(a))}return l(e,[{key:"setNeedsRedraw",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.needsRedraw=e,this}},{key:"getNeedsRedraw",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.clearRedrawFlags,t=void 0!==a&&a,i=!1;return i=i||this.needsRedraw,this.needsRedraw=this.needsRedraw&&!t,i}},{key:"setVertexCount",value:function(e){this.vertexCount=e}},{key:"getVertexCount",value:function(){return void 0!==this.vertexCount?this.vertexCount:this.attributes.indices?this.attributes.indices.value.length:this.attributes.vertices?this.attributes.vertices.value.length/3:!!this.attributes.positions&&this.attributes.positions.value.length/3}},{key:"hasAttribute",value:function(e){return Boolean(this.attributes[e])}},{key:"getAttribute",value:function(e){var a=this.attributes[e];return c()(a),a.value}},{key:"getArray",value:function(e){var a=this.attributes[e];return c()(a),a.value}},{key:"getAttributes",value:function(){return this.attributes}},{key:"setAttributes",value:function(e){for(var a in e){var t=e[a];t=ArrayBuffer.isView(t)?{value:t}:t,c()(ArrayBuffer.isView(t.value),this._print(a)+": must be typed array or object with value as typed array"),this._autoDetectAttribute(a,t),this.attributes[a]=Object.assign({},t,{instanced:t.instanced||0})}return this.setNeedsRedraw(),this}},{key:"_autoDetectAttribute",value:function(e,a){var t=void 0;switch(e){case"indices":t=t||"indices";break;case"texCoords":case"texCoord1":case"texCoord2":case"texCoord3":t="uvs";break;case"vertices":case"positions":case"normals":case"pickingColors":t="vectors"}switch(t){case"vectors":a.size=a.size||3;break;case"uvs":a.size=a.size||2;break;case"indices":a.size=a.size||1,a.isIndexed=a.isIndexed||!0,c()(a.value instanceof Uint16Array||a.value instanceof Uint32Array,'attribute array for "indices" must be of integer type')}c()(a.size,"attribute "+e+" needs size")}},{key:"_print",value:function(e){return"Geometry "+this.id+" attribute "+e}}]),e}();a.a=u},function(e,a,t){"use strict";function i(e){"epsilon"in e&&(h.EPSILON=e.epsilon),"debug"in e&&(h.debug=e.debug)}function n(e){if(!Number.isFinite(e))throw new Error("Invalid number "+e);return e}function r(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.precision||4;return parseFloat(e.toPrecision(a))}function o(e){return Array.isArray(e)||ArrayBuffer.isView(e)&&void 0!==e.length}function c(e){return e.clone?e.clone():new Array(e)}function l(e,a){if(o(e)){for(var t=c(e),i=0;idocument.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[r[i]];return l()};e.exports=Object.create||function(e,a){var t;return null!==e?(c.prototype=i(e),t=new c,c.prototype=null,t[o]=e):t=l(),void 0===a?t:n(t,a)}},function(e,a,t){var i=t(396),n=t(244).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(e){return i(e,n)}},function(e,a,t){"use strict";var i=t(7),n=t(21),r=t(20),o=t(15)("species");e.exports=function(e){var a=i[e];r&&a&&!a[o]&&n.f(a,o,{configurable:!0,get:function(){return this}})}},function(e,a){e.exports=function(e,a,t,i){if(!(e instanceof a)||void 0!==i&&i in e)throw TypeError(t+": incorrect invocation!");return e}},function(e,a,t){var i=t(52),n=t(408),r=t(257),o=t(6),c=t(22),l=t(259),s={},u={},a=e.exports=function(e,a,t,p,m){var _,g,d,v,y=m?function(){return e}:l(e),f=i(t,p,a?2:1),h=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(_=c(e.length);_>h;h++)if((v=a?f(o(g=e[h])[0],g[1]):f(e[h]))===s||v===u)return v}else for(d=y.call(e);!(g=d.next()).done;)if((v=n(d,f,g.value,a))===s||v===u)return v};a.BREAK=s,a.RETURN=u},function(e,a,t){var i=t(41);e.exports=function(e,a,t){for(var n in a)i(e,n,a[n],t);return e}},function(e,a,t){"use strict";var i=t(11),n=(t(4),function(e){var a=this;if(a.instancePool.length){var t=a.instancePool.pop();return a.call(t,e),t}return new a(e)}),r=function(e,a){var t=this;if(t.instancePool.length){var i=t.instancePool.pop();return t.call(i,e,a),i}return new t(e,a)},o=function(e,a,t){var i=this;if(i.instancePool.length){var n=i.instancePool.pop();return i.call(n,e,a,t),n}return new i(e,a,t)},c=function(e,a,t,i){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,a,t,i),r}return new n(e,a,t,i)},l=function(e){var a=this;e instanceof a||i("25"),e.destructor(),a.instancePool.length1&&void 0!==arguments[1]?arguments[1]:{},t=a.format,i=a.linearFiltering;f()(Object(m.g)(e),m.a);var n=!0;return t&&(n=n&&c(e,t),n=n&&(!i||l(e,t))),n}}]),h(a,[{key:"toString",value:function(){return"Texture("+this.id+","+this.width+"x"+this.height+")"}},{key:"initialize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.data,t=e.pixels,i=void 0===t?null:t,n=e.format,r=void 0===n?u.b.RGBA:n,c=e.type,l=void 0===c?u.b.UNSIGNED_BYTE:c,s=e.border,p=void 0===s?0:s,m=e.recreate,_=void 0!==m&&m,g=e.parameters,d=void 0===g?{}:g,y=e.pixelStore,f=void 0===y?{}:y,h=e.unpackFlipY,b=void 0===h||h,N=e.generateMipmaps,E=e.mipmaps,A=void 0===E||E;void 0!==N&&(v.log.deprecated("generateMipmaps","mipmaps"),A=N),a||(v.log.deprecated("data","pixels"),a=i);var O=e.width,S=e.height,T=e.dataFormat,x=this._deduceParameters({format:r,type:l,dataFormat:T,compressed:!1,data:a,width:O,height:S});O=x.width,S=x.height,T=x.dataFormat,this.width=O,this.height=S,this.format=r,this.type=l,this.dataFormat=T,this.border=p,this.mipmaps=A;var I=o({},u.b.UNPACK_FLIP_Y_WEBGL,b),w=Object.assign({},I,f);this._isNPOT()&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, disabling mipmaping"),A=!1,this._updateForNPOT(d)),this.setImageData({data:a,width:O,height:S,format:r,type:l,dataFormat:T,border:p,mipmaps:A,parameters:w}),A&&this.generateMipmap();var L=this._applyV3Options(d,e);this.setParameters(L),_&&(this.data=a)}},{key:"resize",value:function(e){var a=e.width,t=e.height;return a!==this.width||t!==this.height?this.initialize({width:a,height:t,format:this.format,type:this.type,dataFormat:this.dataFormat,border:this.border,mipmaps:!1}):this}},{key:"generateMipmap",value:function(){var e=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.gl.bindTexture(this.target,this.handle),Object(_.c)(this.gl,a,function(){e.gl.generateMipmap(e.target)}),this.gl.bindTexture(this.target,null),this}},{key:"setImageData",value:function(e){var a=this,t=e.target,i=void 0===t?this.target:t,n=e.pixels,r=void 0===n?null:n,o=e.data,c=void 0===o?null:o,l=e.width,s=e.height,p=e.level,g=void 0===p?0:p,d=e.format,v=void 0===d?u.b.RGBA:d,y=e.type,h=e.dataFormat,b=e.offset,N=void 0===b?0:b,E=e.border,A=void 0===E?0:E,O=e.compressed,S=void 0!==O&&O,T=e.parameters,x=void 0===T?{}:T;c||(c=r);var I=this._deduceParameters({format:v,type:y,dataFormat:h,compressed:S,data:c,width:l,height:s});y=I.type,h=I.dataFormat,S=I.compressed,l=I.width,s=I.height;var w=this.gl;w.bindTexture(this.target,this.handle);var L=null,R=this._getDataType({data:c,compressed:S});c=R.data,L=R.dataType,Object(_.c)(this.gl,x,function(){switch(L){case"null":w.texImage2D(i,g,v,l,s,A,h,y,c);break;case"typed-array":w.texImage2D(i,g,v,l,s,A,h,y,c,N);break;case"buffer":f()(Object(m.h)(w),m.b),w.bindBuffer(u.b.PIXEL_UNPACK_BUFFER,c.handle||c),w.texImage2D(i,g,v,l,s,A,v,y,N);break;case"browser-object":w.texImage2D(i,g,v,v,y,c);break;case"compressed":w.compressedTexImage2D(a.target,g,v,l,s,A,c);break;default:f()(!1,"Unknown image data type")}})}},{key:"setSubImageData",value:function(e){var a=this,t=e.target,i=void 0===t?this.target:t,n=e.pixels,r=void 0===n?null:n,o=e.data,c=void 0===o?null:o,l=e.x,s=void 0===l?0:l,g=e.y,v=void 0===g?0:g,y=e.width,h=e.height,b=e.level,N=void 0===b?0:b,E=e.format,A=void 0===E?u.b.RGBA:E,O=e.type,S=e.dataFormat,T=e.compressed,x=void 0!==T&&T,I=e.offset,w=void 0===I?0:I,L=e.border,R=void 0===L?0:L,C=e.parameters,D=void 0===C?{}:C,M=this._deduceParameters({format:A,type:O,dataFormat:S,compressed:x,data:c,width:y,height:h});if(O=M.type,S=M.dataFormat,x=M.compressed,y=M.width,h=M.height,c||(c=r),c&&c.data){var P=c;c=P.data,y=P.shape[0],h=P.shape[1]}c instanceof d.a&&(c=c.handle),this.gl.bindTexture(this.target,this.handle),Object(_.c)(this.gl,D,function(){x?a.gl.compressedTexSubImage2D(i,N,s,v,y,h,A,c):null===c?a.gl.texSubImage2D(i,N,A,y,h,R,S,O,null):ArrayBuffer.isView(c)?a.gl.texSubImage2D(i,N,s,v,y,h,A,O,c,w):c instanceof p.c?(f()(Object(m.h)(a.gl),m.b),a.gl.bindBuffer(u.b.PIXEL_UNPACK_BUFFER,c),a.gl.texSubImage2D(i,N,A,y,h,R,A,O,w),a.gl.bindBuffer(u.b.GL_PIXEL_UNPACK_BUFFER,null)):a.gl.texSubImage2D(i,N,s,v,A,O,c)}),this.gl.bindTexture(this.target,null)}},{key:"copyFramebuffer",value:function(e){var a=e.target,t=(void 0===a&&this.target,e.framebuffer),i=(e.offset,e.x),n=void 0===i?0:i,r=e.y,o=void 0===r?0:r,c=e.width,l=e.height,s=e.level,p=void 0===s?0:s,m=e.internalFormat,_=void 0===m?u.b.RGBA:m,g=e.border,d=void 0===g?0:g;t&&t.bind(),this.bind(),this.gl.copyTexImage2D(this.target,p,_,n,o,c,l,d),this.unbind(),t&&t.unbind()}},{key:"getActiveUnit",value:function(){return this.gl.getParameter(u.b.ACTIVE_TEXTURE)-u.b.TEXTURE0}},{key:"bind",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.textureUnit;if(void 0===e)throw new Error("Texture.bind: must specify texture unit");return this.textureUnit=e,this.gl.activeTexture(u.b.TEXTURE0+e),this.gl.bindTexture(this.target,this.handle),e}},{key:"unbind",value:function(){if(void 0===this.textureUnit)throw new Error("Texture.unbind: texture unit not specified");return this.gl.activeTexture(u.b.TEXTURE0+this.textureUnit),this.gl.bindTexture(this.target,null),this.textureUnit}},{key:"_getDataType",value:function(e){var a=e.data,t=e.compressed;return void 0!==t&&t?{data:a,dataType:"compressed"}:null===a?{data:a,dataType:"null"}:ArrayBuffer.isView(a)?{data:a,dataType:"typed-array"}:a instanceof d.a?{data:a.handle,dataType:"buffer"}:a instanceof p.c?{data:a,dataType:"buffer"}:{data:a,dataType:"browser-object"}}},{key:"setImage3D",value:function(e){var a=e.level,t=void 0===a?0:a,i=e.internalformat,n=void 0===i?u.b.RGBA:i,r=e.width,o=e.height,c=e.depth,l=void 0===c?1:c,s=e.border,p=void 0===s?0:s,m=e.format,_=e.type,g=void 0===_?u.b.UNSIGNED_BYTE:_,v=e.offset,y=void 0===v?0:v,f=e.pixels;return ArrayBuffer.isView(f)?(this.gl.texImage3D(this.target,t,n,r,o,l,p,m,g,f),this):(f instanceof d.a&&(this.gl.bindBuffer(u.b.PIXEL_UNPACK_BUFFER,f.handle),this.gl.texImage3D(this.target,t,n,r,o,l,p,m,g,y)),this)}},{key:"_deduceParameters",value:function(e){var a=e.format,t=e.data,i=e.width,n=e.height,r=e.dataFormat,o=e.type,c=e.compressed,l=N[a];r=r||l&&l.dataFormat,o=o||l&&l.types[0],c=c||l&&l.compressed;var s=this._deduceImageSize({data:t,width:i,height:n});return i=s.width,n=s.height,{dataFormat:r,type:o,compressed:c,width:i,height:n,format:a,data:t}}},{key:"_applyV3Options",value:function(e,a){var t=Object.assign({},e);return"magFilter"in a&&(t[u.b.TEXTURE_MAG_FILTER]=a.magFilter,v.log.deprecated("magFilter","TEXTURE_MAG_FILTER")),"minFilter"in a&&(t[u.b.TEXTURE_MIN_FILTER]=a.minFilter,v.log.deprecated("minFilter","TEXTURE_MIN_FILTER")),"wrapS"in a&&(t[u.b.TEXTURE_WRAP_S]=a.wrapS,v.log.deprecated("wrapS","TEXTURE_WRAP_S")),"wrapT"in a&&(t[u.b.TEXTURE_WRAP_T]=a.wrapT,v.log.deprecated("wrapT","TEXTURE_WRAP_T")),t}},{key:"_deduceImageSize",value:function(e){var a=e.data,t=e.width,i=e.height,n=void 0;return n="undefined"!=typeof ImageData&&a instanceof ImageData?{width:a.width,height:a.height}:"undefined"!=typeof HTMLImageElement&&a instanceof HTMLImageElement?{width:a.naturalWidth,height:a.naturalHeight}:"undefined"!=typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement?{width:a.width,height:a.height}:"undefined"!=typeof HTMLVideoElement&&a instanceof HTMLVideoElement?{width:a.videoWidth,height:a.videoHeight}:a?{width:t,height:i}:{width:t>=0?t:1,height:i>=0?i:1},f()(n,"Could not deduced texture size"),f()(void 0===t||n.width===t,"Deduced texture width does not match supplied width"),f()(void 0===i||n.height===i,"Deduced texture height does not match supplied height"),n}},{key:"_createHandle",value:function(){return this.gl.createTexture()}},{key:"_deleteHandle",value:function(){this.gl.deleteTexture(this.handle)}},{key:"_getParameter",value:function(e){switch(e){case u.b.TEXTURE_WIDTH:return this.width;case u.b.TEXTURE_HEIGHT:return this.height;default:this.gl.bindTexture(this.target,this.handle);var a=this.gl.getTexParameter(this.target,e);return this.gl.bindTexture(this.target,null),a}}},{key:"_setParameter",value:function(e,a){switch(this.gl.bindTexture(this.target,this.handle),a=this._getNPOTParam(e,a),e){case u.b.TEXTURE_MIN_LOD:case u.b.TEXTURE_MAX_LOD:this.gl.texParameterf(this.handle,e,a);break;case u.b.TEXTURE_WIDTH:case u.b.TEXTURE_HEIGHT:throw new Error("Cannot set emulated parameter");default:this.gl.texParameteri(this.target,e,a)}return this.gl.bindTexture(this.target,null),this}},{key:"_isNPOT",value:function(){return!(Object(m.h)(this.gl)||Object(v.isPowerOfTwo)(this.width)&&Object(v.isPowerOfTwo)(this.height))}},{key:"_updateForNPOT",value:function(e){void 0===e[this.gl.TEXTURE_MIN_FILTER]&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, forcing TEXTURE_MIN_FILTER to LINEAR"),e[this.gl.TEXTURE_MIN_FILTER]=this.gl.LINEAR),void 0===e[this.gl.TEXTURE_WRAP_S]&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, forcing TEXTURE_WRAP_S to CLAMP_TO_EDGE"),e[this.gl.TEXTURE_WRAP_S]=this.gl.CLAMP_TO_EDGE),void 0===e[this.gl.TEXTURE_WRAP_T]&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, forcing TEXTURE_WRAP_T to CLAMP_TO_EDGE"),e[this.gl.TEXTURE_WRAP_T]=this.gl.CLAMP_TO_EDGE)}},{key:"_getNPOTParam",value:function(e,a){if(this._isNPOT())switch(e){case u.b.TEXTURE_MIN_FILTER:-1===b.indexOf(a)&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, forcing TEXTURE_MIN_FILTER to LINEAR"),a=u.b.LINEAR);break;case u.b.TEXTURE_WRAP_S:case u.b.TEXTURE_WRAP_T:a!==u.b.CLAMP_TO_EDGE&&(v.log.warn(0,"texture: "+this+" is Non-Power-Of-Two, "+Object(u.d)(e)+" to CLAMP_TO_EDGE"),a=u.b.CLAMP_TO_EDGE)}return a}}]),a}(g.a);a.a=E},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(50);t.d(a,"GL",function(){return i.a}),t.d(a,"default",function(){return i.a});var n=t(537);t.d(a,"Image",function(){return n.a}),t.d(a,"WebGLRenderingContext",function(){return n.h}),t.d(a,"WebGLProgram",function(){return n.f}),t.d(a,"WebGLShader",function(){return n.i}),t.d(a,"WebGLBuffer",function(){return n.d}),t.d(a,"WebGLFramebuffer",function(){return n.e}),t.d(a,"WebGLRenderbuffer",function(){return n.g}),t.d(a,"WebGLTexture",function(){return n.k}),t.d(a,"WebGLUniformLocation",function(){return n.l}),t.d(a,"WebGLActiveInfo",function(){return n.c}),t.d(a,"WebGLShaderPrecisionFormat",function(){return n.j}),t.d(a,"WebGL2RenderingContext",function(){return n.b}),t.d(a,"webGLTypesAvailable",function(){return n.m});var r=t(16);t.d(a,"isWebGL",function(){return r.g}),t.d(a,"isWebGL2",function(){return r.h}),t.d(a,"createGLContext",function(){return r.e}),t.d(a,"deleteGLContext",function(){return r.f});var o=t(135);t.d(a,"withParameters",function(){return o.c}),t.d(a,"resetParameters",function(){return o.a});var c=t(334);t.d(a,"getContextInfo",function(){return c.a});var l=t(162);t.d(a,"Buffer",function(){return l.a});var s=t(224);t.d(a,"Shader",function(){return s.default}),t.d(a,"VertexShader",function(){return s.b}),t.d(a,"FragmentShader",function(){return s.a});var u=t(331);t.d(a,"Program",function(){return u.a});var p=t(220);t.d(a,"Framebuffer",function(){return p.a});var m=t(223);t.d(a,"Renderbuffer",function(){return m.a});var _=t(330);t.d(a,"Texture2D",function(){return _.a});var g=t(544);t.d(a,"TextureCube",function(){return g.a});var d=t(545);t.d(a,"draw",function(){return d.a});var v=t(221);t.d(a,"clear",function(){return v.a});var y=t(547);t.d(a,"readPixels",function(){return y.a}),t.d(a,"readPixelsFromBuffer",function(){return y.readPixelsFromBuffer});var f=t(333);t.d(a,"parseUniformName",function(){return f.d}),t.d(a,"getUniformSetter",function(){return f.b}),t.d(a,"checkUniformValues",function(){return f.a});var h=t(332);t.d(a,"VertexArray",function(){return h.a})},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(563);t.d(a,"AnimationLoop",function(){return i.b}),t.d(a,"requestAnimationFrame",function(){return i.c}),t.d(a,"cancelAnimationFrame",function(){return i.a});var n=t(225);t.d(a,"Model",function(){return n.a})},function(e,a,t){"use strict";var i=t(352);t.d(a,"a",function(){return i.a});var n=(t(603),t(355),t(601),t(604),t(228));t.d(a,"c",function(){return n.a});var r=(t(605),t(1403));t.d(a,"d",function(){return r.a});var o=(t(606),t(1404),t(1407),t(600),t(1408),t(1409),t(1410),t(1411));t.d(a,"b",function(){return o.a});t(1412)},function(e,a,t){"use strict";t.d(a,"a",function(){return n}),t.d(a,"b",function(){return r});var i=Array.prototype,n=i.map,r=i.slice},function(e,a,t){"use strict";a.a=function(e){return function(){return e}}},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function n(e,a){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?e:a}function r(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}var o=t(0),c=t.n(o),l=t(2),s=t.n(l),u=t(13),p=t(14),m=t(28),_=Object.assign||function(e){for(var a=1;a1){for(var g=Array(_),d=0;d<_;d++)g[d]=arguments[d+2];l.children=g}if(e&&e.defaultProps){var v=e.defaultProps;for(r in v)void 0===l[r]&&(l[r]=v[r])}return u(e,p,m,0,0,o.current,l)},u.createFactory=function(e){var a=u.createElement.bind(null,e);return a.type=e,a},u.cloneAndReplaceKey=function(e,a){return u(e.type,a,e.ref,e._self,e._source,e._owner,e.props)},u.cloneElement=function(e,a,t){var l,p=r({},e.props),m=e.key,_=e.ref,g=(e._self,e._source,e._owner);if(null!=a){i(a)&&(_=a.ref,g=o.current),n(a)&&(m=""+a.key);var d;e.type&&e.type.defaultProps&&(d=e.type.defaultProps);for(l in a)c.call(a,l)&&!s.hasOwnProperty(l)&&(void 0===a[l]&&void 0!==d?p[l]=d[l]:p[l]=a[l])}var v=arguments.length-2;if(1===v)p.children=t;else if(v>1){for(var y=Array(v),f=0;f0&&void 0!==arguments[0]?arguments[0]:{},t=a.width,n=void 0===t?1:t,r=a.height,o=void 0===r?1:r,c=a.viewMatrix,l=void 0===c?O:c,s=a.projectionMatrix,u=void 0===s?O:s,p=a.distanceScales,m=void 0===p?S:p;i(this,e),this.width=n||1,this.height=o||1,this.scale=1,this.viewMatrix=l,this.projectionMatrix=u,this.distanceScales=m,this._initMatrices(),this.equals=this.equals.bind(this),this.project=this.project.bind(this),this.unproject=this.unproject.bind(this),this.projectFlat=this.projectFlat.bind(this),this.unprojectFlat=this.unprojectFlat.bind(this),this.getMatrices=this.getMatrices.bind(this)}return A(e,[{key:"equals",value:function(a){return a instanceof e&&(a.width===this.width&&a.height===this.height&&Object(r.a)(a.projectionMatrix,this.projectionMatrix)&&Object(r.a)(a.viewMatrix,this.viewMatrix))}},{key:"project",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.topLeft,i=void 0!==t&&t,n=E(e,3),r=n[0],o=n[1],c=n[2],l=void 0===c?0:c;N()(Number.isFinite(r)&&Number.isFinite(o)&&Number.isFinite(l),"Illegal argument to Viewport");var s=this.projectFlat([r,o]),u=E(s,2),p=u[0],m=u[1],_=this.transformVector(this.pixelProjectionMatrix,[p,m,l,1]),g=E(_,2),d=g[0],v=g[1],y=i?this.height-v:v;return 2===e.length?[d,y]:[d,y,0]}},{key:"unproject",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.topLeft,i=void 0!==t&&t,n=E(e,3),r=n[0],o=n[1],c=n[2],l=void 0===c?0:c,s=i?this.height-o:o,u=this.transformVector(this.pixelUnprojectionMatrix,[r,s,0,1]),p=this.transformVector(this.pixelUnprojectionMatrix,[r,s,1,1]),m=u[2],_=p[2],g=m===_?0:(l-m)/(_-m),d=h()([],u,p,g),v=this.unprojectFlat(d);return 2===e.length?v:[v[0],v[1],0]}},{key:"transformVector",value:function(e,a){var t=y()([0,0,0,0],a,e),i=1/t[3];return d()(t,t,[i,i,i,i]),t}},{key:"projectFlat",value:function(e){var a=E(e,2);a[0],a[1],arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return this._projectFlat.apply(this,arguments)}},{key:"unprojectFlat",value:function(e){arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return this._unprojectFlat.apply(this,arguments)}},{key:"getMatrices",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.modelMatrix,t=void 0===a?null:a,i=this.viewProjectionMatrix,n=this.pixelProjectionMatrix,r=this.pixelUnprojectionMatrix;return t&&(i=p()([],this.viewProjectionMatrix,t),n=p()([],this.pixelProjectionMatrix,t),r=_()([],n)),Object.assign({modelViewProjectionMatrix:i,viewProjectionMatrix:this.viewProjectionMatrix,viewMatrix:this.viewMatrix,projectionMatrix:this.projectionMatrix,pixelProjectionMatrix:n,pixelUnprojectionMatrix:r,width:this.width,height:this.height,scale:this.scale})}},{key:"getDistanceScales",value:function(){return this.distanceScales}},{key:"getCameraPosition",value:function(){return this.cameraPosition}},{key:"_initMatrices",value:function(){var e=n();p()(e,e,this.projectionMatrix),p()(e,e,this.viewMatrix),this.viewProjectionMatrix=e,this.viewMatrixInverse=_()([],this.viewMatrix)||this.viewMatrix,this.cameraPosition=[this.viewMatrixInverse[12],this.viewMatrixInverse[13],this.viewMatrixInverse[14]],this.cameraDirection=[this.viewMatrix[2],this.viewMatrix[6],this.viewMatrix[10]],this.cameraUp=[this.viewMatrix[1],this.viewMatrix[5],this.viewMatrix[9]];var a=n();if(c()(a,a,[this.width/2,-this.height/2,1]),s()(a,a,[1,-1,0]),p()(a,a,this.viewProjectionMatrix),this.pixelProjectionMatrix=a,this.pixelUnprojectionMatrix=_()(n(),this.pixelProjectionMatrix),!this.pixelUnprojectionMatrix)throw new Error("Pixel project matrix not invertible")}},{key:"_projectFlat",value:function(e){arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return e}},{key:"_unprojectFlat",value:function(e){arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return e}}]),e}();a.b=T},function(e,a,t){"use strict";var i=t(1420);t.d(a,"d",function(){return i.a});var n=(t(1442),t(171));t.d(a,"a",function(){return n.a});var r=t(1453);t.d(a,"b",function(){return r.a});var o=t(620);t.d(a,"c",function(){return o.a});var c=t(1454);t.d(a,"e",function(){return c.a});var l=(t(1455),t(1456),t(1457),t(627));t.d(a,"f",function(){return l.b});var s=t(1473);t.d(a,"g",function(){return s.a});t(1474),t(1475),t(1476),t(1477),t(1478),t(1479),t(1480),t(1481)},function(e,a,t){"use strict";a.a=function(e,a){return ea?1:e>=a?0:NaN}},function(e,a,t){"use strict";function i(){this.reset()}function n(e,a,t){var i=e.s=a+t,n=i-a,r=i-n;e.t=a-r+(t-n)}a.a=function(){return new i},i.prototype={constructor:i,reset:function(){this.s=this.t=0},add:function(e){n(r,e,this.t),n(this,r.s,this.s),this.s?this.t+=r.t:this.s=r.t},valueOf:function(){return this.s}};var r=new i},function(e,a,t){"use strict";a.a=function(e){return function(){return e}}},function(e,a,t){var i=t(53);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,a){a.f={}.propertyIsEnumerable},function(e,a,t){var i=t(53),n=t(15)("toStringTag"),r="Arguments"==i(function(){return arguments}()),o=function(e,a){try{return e[a]}catch(e){}};e.exports=function(e){var a,t,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=o(a=Object(e),n))?t:r?i(a):"Object"==(c=i(a))&&"function"==typeof a.callee?"Arguments":c}},function(e,a,t){"use strict";function i(e){for(var a=arguments.length-1,t="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=a.type,i=a.size,n=void 0===i?1:i,o=a.offset,c=void 0===o?0:o,l=a.stride,s=void 0===l?0:l,u=a.normalized,p=void 0!==u&&u,m=a.integer,_=void 0!==m&&m,g=a.instanced,d=void 0===g?0:g;r(this,e),this.type=t,this.size=n,this.offset=c,this.stride=s,this.normalized=p,this.integer=_,this.instanced=d},v=function(e){function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,a);var n=i(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,t));return n.target=t.target||(n.gl.webgl2?g:o.e.ARRAY_BUFFER),n.index=null,n.setData(t),Object.seal(n),n}return n(a,e),m(a,[{key:"setDataLayout",value:function(e){var a=e.layout,t=e.type,i=e.size,n=void 0===i?1:i,r=e.offset,o=void 0===r?0:r,c=e.stride,l=void 0===c?0:c,s=e.normalized,u=void 0!==s&&s,p=e.integer,m=void 0!==p&&p,_=e.instanced,g=void 0===_?0:_;return this.layout=a||new d({type:t||this.type,size:n,offset:o,stride:l,normalized:u,integer:m,instanced:g}),this}},{key:"initialize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.data,t=e.bytes,i=e.usage,n=void 0===i?o.e.STATIC_DRAW:i,r=(e.layout,e.type),c=(e.size,e.offset,e.stride,e.normalized,e.integer,e.instanced,arguments[0]);a?(r=r||Object(l.a)(a),t=a.byteLength,p()(r,_)):(r=r||o.e.FLOAT,t&&0!==t||(t=0,a=new Float32Array(0))),this.bytes=t,this.bytesUsed=t,this.data=a,this.type=r,this.usage=n,this.setDataLayout(Object.assign(c));var s=this.gl.webgl2?36663:this.target;return this.gl.bindBuffer(s,this.handle),this.gl.bufferData(s,a||t,n),this.gl.bindBuffer(s,null),this}},{key:"setData",value:function(e){return this.initialize(e)}},{key:"subData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.data,t=e.offset,i=void 0===t?0:t,n=e.srcOffset,r=void 0===n?0:n,o=e.length;p()(a,_);var l=this.gl.webgl2?36663:this.target;return this.gl.bindBuffer(l,this.handle),0!==r||void 0!==o?(Object(c.c)(this.gl),this.gl.bufferSubData(this.target,i,a,r,o||0)):this.gl.bufferSubData(l,i,a),this.gl.bindBuffer(l,null),this}},{key:"copyData",value:function(e){var a=e.sourceBuffer,t=e.readOffset,i=void 0===t?0:t,n=e.writeOffset,r=void 0===n?0:n,o=e.size;return Object(c.c)(this.gl),this.gl.bindBuffer(g,a.handle),this.gl.bindBuffer(36663,this.handle),this.gl.copyBufferSubData(g,36663,i,r,o),this.gl.bindBuffer(g,null),this.gl.bindBuffer(36663,null),this}},{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.dstData,t=void 0===a?null:a,i=e.srcByteOffset,n=void 0===i?0:i,r=e.dstOffset,o=void 0===r?0:r,s=e.length,u=void 0===s?0:s;Object(c.c)(this.gl);var m=Object(l.b)(this.type,{clamped:!1}),_=this._getAvailableElementCount(n),d=void 0,v=void 0,y=o;t?(v=t.length,d=v-y):(d=Math.min(_,u||_),v=y+d);var f=Math.min(_,d);return u=u||f,p()(u<=f,"Invalid srcByteOffset, dstOffset and length combination"),t=t||new m(v),this.gl.bindBuffer(g,this.handle),this.gl.getBufferSubData(g,n,t,o,u),this.gl.bindBuffer(g,null),t}},{key:"bind",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.target,t=void 0===a?this.target:a,i=e.index,n=void 0===i?this.index:i,r=e.offset,l=void 0===r?0:r,s=e.size;switch(t===o.e.UNIFORM_BUFFER||35982===t?void 0!==s?"ranged":" indexed":"non-indexed"){case"non-indexed":this.gl.bindBuffer(t,this.handle);break;case"indexed":Object(c.c)(this.gl),p()(0===l,_),this.gl.bindBufferBase(t,n,this.handle);break;case"ranged":Object(c.c)(this.gl),this.gl.bindBufferRange(t,n,this.handle,l,s);break;default:throw new Error(_)}return this}},{key:"unbind",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.target,t=void 0===a?this.target:a,i=e.index,n=void 0===i?this.index:i;return t===o.e.UNIFORM_BUFFER||35982===t?this.gl.bindBufferBase(t,n,null):this.gl.bindBuffer(t,null),this}},{key:"getIndexedParameter",value:function(e,a){var t=this.gl.webgl2?g:this.target;return this.gl.bindBuffer(t,a),this.gl.getIndexedParameter(e,a)}},{key:"_createHandle",value:function(){return this.gl.createBuffer()}},{key:"_deleteHandle",value:function(){this.gl.deleteBuffer(this.handle)}},{key:"_getParameter",value:function(e){this.gl.bindBuffer(this.target,this.handle);var a=this.gl.getBufferParameter(this.target,e);return this.gl.bindBuffer(this.target,null),a}},{key:"_getAvailableElementCount",value:function(e){var a=Object(l.b)(this.type,{clamped:!1});return this.bytes/a.BYTES_PER_ELEMENT-e/a.BYTES_PER_ELEMENT}}]),a}(s.a);a.a=v},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function n(e,a){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?e:a}function r(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}var o=t(88),c=function(){function e(e,a){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:0,t=0;t0?", ":"")+Object(o.l)(this[a]);return this.constructor.name+"("+e+")"}},{key:"toArray",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=0;t0&&void 0!==arguments[0]?arguments[0]:this,a=e&&e.length===this.ELEMENTS,t=0;t0&&void 0!==arguments[0]?arguments[0]:this;if(o.g.debug&&!this.validate(e))throw new Error("Invalid "+this.constructor.name)}},{key:"normalize",value:function(){var e=this.len();if(0!==e)for(var a=0;a0&&(r=1/Math.sqrt(r),e[0]=a[0]*r,e[1]=a[1]*r,e[2]=a[2]*r),e}e.exports=t},function(e,a,t){"use strict";t.d(a,"a",function(){return i}),t.d(a,"b",function(){return n});var i={LNGLAT:1,LNGLAT_OFFSETS:3,METER_OFFSETS:2,METERS:2,IDENTITY:0},n={NO_STATE:"Awaiting state",MATCHED:"Matched. State transferred from previous layer",INITIALIZED:"Intialized",AWAITING_GC:"Discarded. Awaiting garbage collection",AWAITING_FINALIZATION:"No longer matched. Awaiting garbage collection",FINALIZED:"Finalized! Awaiting garbage collection"}},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(13);t.d(a,"AbstractSeries",function(){return i.a});var n=t(368);t.d(a,"LineSeries",function(){return n.a});var r=t(645);t.d(a,"LineSeriesCanvas",function(){return r.a});var o=t(1508);t.d(a,"HorizontalBarSeries",function(){return o.a});var c=t(1509);t.d(a,"HorizontalBarSeriesCanvas",function(){return c.a});var l=t(1510);t.d(a,"VerticalBarSeries",function(){return l.a});var s=t(1511);t.d(a,"VerticalBarSeriesCanvas",function(){return s.a});var u=t(648);t.d(a,"VerticalRectSeries",function(){return u.a});var p=t(1512);t.d(a,"VerticalRectSeriesCanvas",function(){return p.a});var m=t(1513);t.d(a,"HorizontalRectSeries",function(){return m.a});var _=t(1514);t.d(a,"HorizontalRectSeriesCanvas",function(){return _.a});var g=t(115);t.d(a,"LabelSeries",function(){return g.a});var d=t(375);t.d(a,"PolygonSeries",function(){return d.a});var v=t(373);t.d(a,"RectSeries",function(){return v.a});var y=t(374);t.d(a,"RectSeriesCanvas",function(){return y.a});var f=t(376);t.d(a,"MarkSeries",function(){return f.a});var h=t(649);t.d(a,"MarkSeriesCanvas",function(){return h.a});var b=t(1515);t.d(a,"WhiskerSeries",function(){return b.a});var N=t(1516);t.d(a,"HeatmapSeries",function(){return N.a});var E=t(1517);t.d(a,"ContourSeries",function(){return E.a});var A=t(1553);t.d(a,"CustomSVGSeries",function(){return A.a});var O=t(1554);t.d(a,"AreaSeries",function(){return O.a});var S=t(382);t.d(a,"ArcSeries",function(){return S.a});var T=t(668);t.d(a,"LineMarkSeries",function(){return T.a});var x=t(1555);t.d(a,"LineMarkSeriesCanvas",function(){return x.a});var I=t(1556);t.d(a,"Hint",function(){return I.a});var w=t(1557);t.d(a,"Borders",function(){return w.a});var L=t(1558);t.d(a,"Crosshair",function(){return L.a});var R=t(90);t.d(a,"XYPlot",function(){return R.a});var C=t(383);t.d(a,"DecorativeAxis",function(){return C.a});var D=t(1564);t.d(a,"XAxis",function(){return D.a});var M=t(1568);t.d(a,"YAxis",function(){return M.a});var P=t(1569);t.d(a,"CircularGridLines",function(){return P.a});var F=t(384);t.d(a,"GridLines",function(){return F.a});var B=t(1570);t.d(a,"GradientDefs",function(){return B.a});var G=t(1571);t.d(a,"VerticalGridLines",function(){return G.a});var H=t(1572);t.d(a,"HorizontalGridLines",function(){return H.a});var k=t(670);t.d(a,"Voronoi",function(){return k.a});var U=t(671);t.d(a,"DiscreteColorLegend",function(){return U.a});var j=t(1574);t.d(a,"SearchableDiscreteColorLegend",function(){return j.a});var W=t(1575);t.d(a,"ContinuousColorLegend",function(){return W.a});var V=t(1576);t.d(a,"ContinuousSizeLegend",function(){return V.a});var Y=t(1577);t.d(a,"Treemap",function(){return Y.a});var z=t(1602);t.d(a,"RadialChart",function(){return z.a});var K=t(1603);t.d(a,"RadarChart",function(){return K.a});var X=t(1604);t.d(a,"ParallelCoordinates",function(){return X.a});var Z=t(1605);t.d(a,"Sankey",function(){return Z.a});var q=t(1611);t.d(a,"Sunburst",function(){return q.a});var Q=t(1612);t.d(a,"makeHeightFlexible",function(){return Q.d}),t.d(a,"makeVisFlexible",function(){return Q.e}),t.d(a,"makeWidthFlexible",function(){return Q.f}),t.d(a,"FlexibleXYPlot",function(){return Q.c}),t.d(a,"FlexibleWidthXYPlot",function(){return Q.b}),t.d(a,"FlexibleHeightXYPlot",function(){return Q.a});var J=t(51);t.d(a,"AxisUtils",function(){return J.c});var $=t(34);t.d(a,"ScaleUtils",function(){return $.a})},function(e,a,t){"use strict";function i(e,a,t){return(e[0]-t[0])*(a[1]-e[1])-(e[0]-a[0])*(t[1]-e[1])}function n(e,a){return a[1]-e[1]||a[0]-e[0]}function r(e,a){var t,i,r,d=e.sort(n).pop();for(s=[],c=new Array(e.length),o=new g.b,l=new g.b;;)if(r=m.c,d&&(!r||d[1]=c)return null;var l=e-n.site[0],s=a-n.site[1],u=l*l+s*s;do{n=r.cells[i=o],o=null,n.halfedges.forEach(function(t){var i=r.edges[t],c=i.left;if(c!==n.site&&c||(c=i.right)){var l=e-c[0],s=a-c[1],p=l*l+s*s;p180||t<-180?t-360*Math.round(t/360):t):Object(l.a)(isNaN(e)?a:e)}function o(e){return 1==(e=+e)?c:function(a,t){return t-a?n(a,t,e):Object(l.a)(isNaN(a)?t:a)}}function c(e,a){var t=a-e;return t?i(e,t):Object(l.a)(isNaN(e)?a:e)}a.c=r,a.b=o,a.a=c;var l=t(602)},function(e,a,t){"use strict";a.a=function(e){return null===e?NaN:+e}},function(e,a,t){"use strict";var i=t(1437);t.d(a,"b",function(){return i.a});var n=t(1438);t.d(a,"c",function(){return n.a});var r=t(362);t.d(a,"a",function(){return r.a});t(1439),t(1440),t(1441)},function(e,a,t){"use strict";function i(e){var a=e.domain;return e.ticks=function(e){var t=a();return Object(r.n)(t[0],t[t.length-1],null==e?10:e)},e.tickFormat=function(e,t){return Object(l.a)(a(),e,t)},e.nice=function(t){null==t&&(t=10);var i,n=a(),o=0,c=n.length-1,l=n[o],s=n[c];return s0?(l=Math.floor(l/i)*i,s=Math.ceil(s/i)*i,i=Object(r.l)(l,s,t)):i<0&&(l=Math.ceil(l*i)/i,s=Math.floor(s*i)/i,i=Object(r.l)(l,s,t)),i>0?(n[o]=Math.floor(l/i)*i,n[c]=Math.ceil(s/i)*i,a(n)):i<0&&(n[o]=Math.ceil(l*i)/i,n[c]=Math.floor(s*i)/i,a(n)),e},e}function n(){var e=Object(c.b)(c.c,o.c);return e.copy=function(){return Object(c.a)(e,n())},i(e)}a.b=i,a.a=n;var r=t(27),o=t(112),c=t(231),l=t(1443)},function(e,a,t){"use strict";var i=t(1444);t.d(a,"a",function(){return i.a}),t.d(a,"b",function(){return i.b});var n=(t(622),t(623));t.d(a,"c",function(){return n.a});var r=t(1450);t.d(a,"d",function(){return r.a});var o=t(1451);t.d(a,"e",function(){return o.a});var c=t(1452);t.d(a,"f",function(){return c.a})},function(e,a,t){"use strict";a.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(1483);t.d(a,"arc",function(){return i.a});var n=t(631);t.d(a,"area",function(){return n.a});var r=t(369);t.d(a,"line",function(){return r.a});var o=t(1485);t.d(a,"pie",function(){return o.a});var c=t(1488);t.d(a,"areaRadial",function(){return c.a}),t.d(a,"radialArea",function(){return c.a});var l=t(633);t.d(a,"lineRadial",function(){return l.a}),t.d(a,"radialLine",function(){return l.a});var s=t(634);t.d(a,"pointRadial",function(){return s.a});var u=t(1489);t.d(a,"linkHorizontal",function(){return u.a}),t.d(a,"linkVertical",function(){return u.c}),t.d(a,"linkRadial",function(){return u.b});var p=t(1490);t.d(a,"symbol",function(){return p.a}),t.d(a,"symbols",function(){return p.b});var m=t(636);t.d(a,"symbolCircle",function(){return m.a});var _=t(637);t.d(a,"symbolCross",function(){return _.a});var g=t(638);t.d(a,"symbolDiamond",function(){return g.a});var d=t(640);t.d(a,"symbolSquare",function(){return d.a});var v=t(639);t.d(a,"symbolStar",function(){return v.a});var y=t(641);t.d(a,"symbolTriangle",function(){return y.a});var f=t(642);t.d(a,"symbolWye",function(){return f.a});var h=t(1491);t.d(a,"curveBasisClosed",function(){return h.a});var b=t(1492);t.d(a,"curveBasisOpen",function(){return b.a});var N=t(235);t.d(a,"curveBasis",function(){return N.b});var E=t(1493);t.d(a,"curveBundle",function(){return E.a});var A=t(643);t.d(a,"curveCardinalClosed",function(){return A.b});var O=t(644);t.d(a,"curveCardinalOpen",function(){return O.b});var S=t(236);t.d(a,"curveCardinal",function(){return S.b});var T=t(1494);t.d(a,"curveCatmullRomClosed",function(){return T.a});var x=t(1495);t.d(a,"curveCatmullRomOpen",function(){return x.a});var I=t(371);t.d(a,"curveCatmullRom",function(){return I.a});var w=t(1496);t.d(a,"curveLinearClosed",function(){return w.a});var L=t(233);t.d(a,"curveLinear",function(){return L.a});var R=t(1497);t.d(a,"curveMonotoneX",function(){return R.a}),t.d(a,"curveMonotoneY",function(){return R.b});var C=t(1498);t.d(a,"curveNatural",function(){return C.a});var D=t(1499);t.d(a,"curveStep",function(){return D.a}),t.d(a,"curveStepAfter",function(){return D.b}),t.d(a,"curveStepBefore",function(){return D.c});var M=t(1500);t.d(a,"stack",function(){return M.a});var P=t(1501);t.d(a,"stackOffsetExpand",function(){return P.a});var F=t(1502);t.d(a,"stackOffsetDiverging",function(){return F.a});var B=t(177);t.d(a,"stackOffsetNone",function(){return B.a});var G=t(1503);t.d(a,"stackOffsetSilhouette",function(){return G.a});var H=t(1504);t.d(a,"stackOffsetWiggle",function(){return H.a});var k=t(372);t.d(a,"stackOrderAscending",function(){return k.a});var U=t(1505);t.d(a,"stackOrderDescending",function(){return U.a});var j=t(1506);t.d(a,"stackOrderInsideOut",function(){return j.a});var W=t(178);t.d(a,"stackOrderNone",function(){return W.a});var V=t(1507);t.d(a,"stackOrderReverse",function(){return V.a})},function(e,a,t){"use strict";var i=t(1484);t.d(a,"a",function(){return i.a})},function(e,a,t){"use strict";function i(e){return e>1?0:e<-1?_:Math.acos(e)}function n(e){return e>=1?g:e<=-1?-g:Math.asin(e)}t.d(a,"a",function(){return r}),t.d(a,"d",function(){return o}),t.d(a,"e",function(){return c}),t.d(a,"h",function(){return l}),t.d(a,"i",function(){return s}),t.d(a,"k",function(){return u}),t.d(a,"l",function(){return p}),t.d(a,"f",function(){return m}),t.d(a,"j",function(){return _}),t.d(a,"g",function(){return g}),t.d(a,"m",function(){return d}),a.b=i,a.c=n;var r=Math.abs,o=Math.atan2,c=Math.cos,l=Math.max,s=Math.min,u=Math.sin,p=Math.sqrt,m=1e-12,_=Math.PI,g=_/2,d=2*_},function(e,a,t){"use strict";a.a=function(e,a){if((n=e.length)>1)for(var t,i,n,r=1,o=e[a[0]],c=o.length;r=0;)t[a]=a;return t}},function(e,a,t){"use strict";function i(e){return[Object(u.e)(e[1],e[0]),Object(u.c)(e[2])]}function n(e){var a=e[0],t=e[1],i=Object(u.g)(t);return[i*Object(u.g)(a),i*Object(u.t)(a),Object(u.t)(t)]}function r(e,a){return e[0]*a[0]+e[1]*a[1]+e[2]*a[2]}function o(e,a){return[e[1]*a[2]-e[2]*a[1],e[2]*a[0]-e[0]*a[2],e[0]*a[1]-e[1]*a[0]]}function c(e,a){e[0]+=a[0],e[1]+=a[1],e[2]+=a[2]}function l(e,a){return[e[0]*a,e[1]*a,e[2]*a]}function s(e){var a=Object(u.u)(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=a,e[1]/=a,e[2]/=a}a.g=i,a.a=n,a.d=r,a.c=o,a.b=c,a.f=l,a.e=s;var u=t(5)},function(e,a,t){"use strict";function i(e){return function(a,t){var i=Object(r.g)(a),n=Object(r.g)(t),o=e(i*n);return[o*n*Object(r.t)(a),o*Object(r.t)(t)]}}function n(e){return function(a,t){var i=Object(r.u)(a*a+t*t),n=e(i),o=Object(r.t)(n),c=Object(r.g)(n);return[Object(r.e)(a*o,i*c),Object(r.c)(i&&t*o/i)]}}a.b=i,a.a=n;var r=t(5)},function(e,a,t){"use strict";a.a=function(e,a,t,i,n){for(var r,o=e.children,c=-1,l=o.length,s=e.value&&(i-a)/e.value;++cu;)if((c=l[u++])!=c)return!0}else for(;s>u;u++)if((e||u in l)&&l[u]===t)return e||u||0;return!e&&-1}}},function(e,a){a.f=Object.getOwnPropertySymbols},function(e,a,t){var i=t(53);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,a,t){var i=t(9),n=t(53),r=t(15)("match");e.exports=function(e){var a;return i(e)&&(void 0!==(a=e[r])?!!a:"RegExp"==n(e))}},function(e,a,t){var i=t(15)("iterator"),n=!1;try{var r=[7][i]();r.return=function(){n=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,a){if(!a&&!n)return!1;var t=!1;try{var r=[7],o=r[i]();o.next=function(){return{done:t=!0}},r[i]=function(){return o},e(r)}catch(e){}return t}},function(e,a,t){"use strict";var i=t(6);e.exports=function(){var e=i(this),a="";return e.global&&(a+="g"),e.ignoreCase&&(a+="i"),e.multiline&&(a+="m"),e.unicode&&(a+="u"),e.sticky&&(a+="y"),a}},function(e,a,t){"use strict";var i=t(40),n=t(41),r=t(8),o=t(60),c=t(15);e.exports=function(e,a,t){var l=c(e),s=t(o,l,""[e]),u=s[0],p=s[1];r(function(){var a={};return a[l]=function(){return 7},7!=""[e](a)})&&(n(String.prototype,e,u),i(RegExp.prototype,l,2==a?function(e,a){return p.call(e,this,a)}:function(e){return p.call(e,this)}))}},function(e,a,t){var i=t(6),n=t(35),r=t(15)("species");e.exports=function(e,a){var t,o=i(e).constructor;return void 0===o||void 0==(t=i(o)[r])?a:n(t)}},function(e,a,t){"use strict";var i=t(7),n=t(1),r=t(41),o=t(101),c=t(80),l=t(100),s=t(99),u=t(9),p=t(8),m=t(187),_=t(118),g=t(248);e.exports=function(e,a,t,d,v,y){var f=i[e],h=f,b=v?"set":"add",N=h&&h.prototype,E={},A=function(e){var a=N[e];r(N,e,"delete"==e?function(e){return!(y&&!u(e))&&a.call(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!u(e))&&a.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!u(e)?void 0:a.call(this,0===e?0:e)}:"add"==e?function(e){return a.call(this,0===e?0:e),this}:function(e,t){return a.call(this,0===e?0:e,t),this})};if("function"==typeof h&&(y||N.forEach&&!p(function(){(new h).entries().next()}))){var O=new h,S=O[b](y?{}:-0,1)!=O,T=p(function(){O.has(1)}),x=m(function(e){new h(e)}),I=!y&&p(function(){for(var e=new h,a=5;a--;)e[b](a,a);return!e.has(-0)});x||(h=a(function(a,t){s(a,h,e);var i=g(new f,a,h);return void 0!=t&&l(t,v,i[b],i),i}),h.prototype=N,N.constructor=h),(T||I)&&(A("delete"),A("has"),v&&A("get")),(I||S)&&A(b),y&&N.clear&&delete N.clear}else h=d.getConstructor(a,e,v,b),o(h.prototype,t),c.NEED=!0;return _(h,e),E[e]=h,n(n.G+n.W+n.F*(h!=f),E),y||d.setStrong(h,e,v),h}},function(e,a,t){for(var i,n=t(7),r=t(40),o=t(92),c=o("typed_array"),l=o("view"),s=!(!n.ArrayBuffer||!n.DataView),u=s,p=0,m="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(i=n[m[p++]])?(r(i.prototype,c,!0),r(i.prototype,l,!0)):u=!1;e.exports={ABV:s,CONSTR:u,TYPED:c,VIEW:l}},function(e,a,t){"use strict";e.exports=t(93)||!t(8)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete t(7)[e]})},function(e,a,t){"use strict";var i=t(1);e.exports=function(e){i(i.S,e,{of:function(){for(var e=arguments.length,a=Array(e);e--;)a[e]=arguments[e];return new this(a)}})}},function(e,a,t){"use strict";var i=t(1),n=t(35),r=t(52),o=t(100);e.exports=function(e){i(i.S,e,{from:function(e){var a,t,i,c,l=arguments[1];return n(this),a=void 0!==l,a&&n(l),void 0==e?new this:(t=[],a?(i=0,c=r(l,arguments[2],2),o(e,!1,function(e){t.push(c(e,i++))})):o(e,!1,t.push,t),new this(t))}})}},function(e,a,t){"use strict";var i={};e.exports=i},function(e,a,t){"use strict";var i=t(11),n=(t(4),{}),r={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,a,t,n,r,o,c,l){this.isInTransaction()&&i("27");var s,u;try{this._isInTransaction=!0,s=!0,this.initializeAll(0),u=e.call(a,t,n,r,o,c,l),s=!1}finally{try{if(s)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return u},initializeAll:function(e){for(var a=this.transactionWrappers,t=e;t]/,l=t(275),s=l(function(e,a){if(e.namespaceURI!==r.svg||"innerHTML"in e)e.innerHTML=a;else{i=i||document.createElement("div"),i.innerHTML=""+a+"";for(var t=i.firstChild;t.firstChild;)e.appendChild(t.firstChild)}});if(n.canUseDOM){var u=document.createElement("div");u.innerHTML=" ",""===u.innerHTML&&(s=function(e,a){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(a)||"<"===a[0]&&c.test(a)){e.innerHTML=String.fromCharCode(65279)+a;var t=e.firstChild;1===t.data.length?e.removeChild(t):t.deleteData(0,1)}else e.innerHTML=a}),u=null}e.exports=s},function(e,a,t){"use strict";function i(e){var a=""+e,t=r.exec(a);if(!t)return a;var i,n="",o=0,c=0;for(o=t.index;o]/;e.exports=n},function(e,a,t){"use strict";function i(e){return Object.prototype.hasOwnProperty.call(e,d)||(e[d]=_++,p[e[d]]={}),p[e[d]]}var n,r=t(18),o=t(267),c=t(935),l=t(443),s=t(936),u=t(271),p={},m=!1,_=0,g={topAbort:"abort",topAnimationEnd:s("animationend")||"animationend",topAnimationIteration:s("animationiteration")||"animationiteration",topAnimationStart:s("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:s("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},d="_reactListenersID"+String(Math.random()).slice(2),v=r({},c,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,a){for(var t=a,n=i(t),r=o.registrationNameDependencies[e],c=0;c may have only one child element"),this.unlisten=i.listen(function(){e.setState({match:e.computeMatch(i.location.pathname)})})},a.prototype.componentWillReceiveProps=function(e){c()(this.props.history===e.history,"You cannot change ")},a.prototype.componentWillUnmount=function(){this.unlisten()},a.prototype.render=function(){var e=this.props.children;return e?p.a.Children.only(e):null},a}(p.a.Component);d.propTypes={history:_.a.object.isRequired,children:_.a.node},d.contextTypes={router:_.a.object},d.childContextTypes={router:_.a.object.isRequired},a.a=d},function(e,a,t){"use strict";t.d(a,"a",function(){return c}),t.d(a,"b",function(){return l});var i=t(462),n=t(463),r=t(151),o=Object.assign||function(e){for(var a=1;a1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof a&&(a={path:a});var t=a,i=t.path,n=void 0===i?"/":i,r=t.exact,o=void 0!==r&&r,l=t.strict,s=void 0!==l&&l,u=t.sensitive,p=void 0!==u&&u,m=c(n,{end:o,strict:s,sensitive:p}),_=m.re,g=m.keys,d=_.exec(e);if(!d)return null;var v=d[0],y=d.slice(1),f=e===v;return o&&!f?null:{path:n,url:"/"===n&&""===v?"/":v,isExact:f,params:g.reduce(function(e,a,t){return e[a.name]=y[t],e},{})}};a.a=l},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(997);t.d(a,"BrowserRouter",function(){return i.a});var n=t(998);t.d(a,"HashRouter",function(){return n.a});var r=t(474);t.d(a,"Link",function(){return r.a});var o=t(999);t.d(a,"MemoryRouter",function(){return o.a});var c=t(1e3);t.d(a,"NavLink",function(){return c.a});var l=t(1001);t.d(a,"Prompt",function(){return l.a});var s=t(1002);t.d(a,"Redirect",function(){return s.a});var u=t(475);t.d(a,"Route",function(){return u.a});var p=t(288);t.d(a,"Router",function(){return p.a});var m=t(1003);t.d(a,"StaticRouter",function(){return m.a});var _=t(1004);t.d(a,"Switch",function(){return _.a});var g=t(1005);t.d(a,"matchPath",function(){return g.a});var d=t(1006);t.d(a,"withRouter",function(){return d.a})},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(1007),n=t(477),r=t(1009);t.d(a,"Provider",function(){return i.b}),t.d(a,"createProvider",function(){return i.a}),t.d(a,"connectAdvanced",function(){return n.a}),t.d(a,"connect",function(){return r.a})},function(e,a,t){var i=t(302);e.exports=function(e){return Object(i(e))}},function(e,a){var t=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+i).toString(36))}},function(e,a){e.exports=function(e,a){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:a}}},function(e,a){a.f={}.propertyIsEnumerable},function(e,a,t){e.exports={default:t(1154),__esModule:!0}},function(e,a,t){e.exports={default:t(1160),__esModule:!0}},function(e,a){function t(e,a,t){var i=a[0],n=a[1],r=a[2],o=a[3];return e[0]=t[0]*i+t[4]*n+t[8]*r+t[12]*o,e[1]=t[1]*i+t[5]*n+t[9]*r+t[13]*o,e[2]=t[2]*i+t[6]*n+t[10]*r+t[14]*o,e[3]=t[3]*i+t[7]*n+t[11]*r+t[15]*o,e}e.exports=t},function(e,a){function t(e,a,t){var i=Math.sin(t),n=Math.cos(t),r=a[0],o=a[1],c=a[2],l=a[3],s=a[4],u=a[5],p=a[6],m=a[7];return a!==e&&(e[8]=a[8],e[9]=a[9],e[10]=a[10],e[11]=a[11],e[12]=a[12],e[13]=a[13],e[14]=a[14],e[15]=a[15]),e[0]=r*n+s*i,e[1]=o*n+u*i,e[2]=c*n+p*i,e[3]=l*n+m*i,e[4]=s*n-r*i,e[5]=u*n-o*i,e[6]=p*n-c*i,e[7]=m*n-l*i,e}e.exports=t},function(e,a){function t(e,a,t,i,n){var r=1/Math.tan(a/2),o=1/(i-n);return e[0]=r/t,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(n+i)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*n*i*o,e[15]=0,e}e.exports=t},function(e,a,t){function i(e,a,t,i){var r,o,c,l,s,u,p,m,_,g,d=a[0],v=a[1],y=a[2],f=i[0],h=i[1],b=i[2],N=t[0],E=t[1],A=t[2];return Math.abs(d-N)<1e-6&&Math.abs(v-E)<1e-6&&Math.abs(y-A)<1e-6?n(e):(p=d-N,m=v-E,_=y-A,g=1/Math.sqrt(p*p+m*m+_*_),p*=g,m*=g,_*=g,r=h*_-b*m,o=b*p-f*_,c=f*m-h*p,g=Math.sqrt(r*r+o*o+c*c),g?(g=1/g,r*=g,o*=g,c*=g):(r=0,o=0,c=0),l=m*c-_*o,s=_*r-p*c,u=p*o-m*r,g=Math.sqrt(l*l+s*s+u*u),g?(g=1/g,l*=g,s*=g,u*=g):(l=0,s=0,u=0),e[0]=r,e[1]=l,e[2]=p,e[3]=0,e[4]=o,e[5]=s,e[6]=m,e[7]=0,e[8]=c,e[9]=u,e[10]=_,e[11]=0,e[12]=-(r*d+o*v+c*y),e[13]=-(l*d+s*v+u*y),e[14]=-(p*d+m*v+_*y),e[15]=1,e)}var n=t(521);e.exports=i},function(e,a,t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}a.__esModule=!0;var n=t(1184),r=i(n),o=t(211),c=i(o);a.default=function(){function e(e,a){var t=[],i=!0,n=!1,r=void 0;try{for(var o,l=(0,c.default)(e);!(i=(o=l.next()).done)&&(t.push(o.value),!a||t.length!==a);i=!0);}catch(e){n=!0,r=e}finally{try{!i&&l.return&&l.return()}finally{if(n)throw r}}return t}return function(a,t){if(Array.isArray(a))return a;if((0,r.default)(Object(a)))return e(a,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,a,t){var i;/*! Hammer.JS - v2.0.7 - 2016-04-22 - * http://hammerjs.github.io/ - * - * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */ -!function(n,r,o,c){"use strict";function l(e,a,t){return setTimeout(_(e,t),a)}function s(e,a,t){return!!Array.isArray(e)&&(u(e,t[a],t),!0)}function u(e,a,t){var i;if(e)if(e.forEach)e.forEach(a,t);else if(e.length!==c)for(i=0;i\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=n.console&&(n.console.warn||n.console.log);return r&&r.call(n.console,i,t),e.apply(this,arguments)}}function m(e,a,t){var i,n=a.prototype;i=e.prototype=Object.create(n),i.constructor=e,i._super=n,t&&ge(i,t)}function _(e,a){return function(){return e.apply(a,arguments)}}function g(e,a){return typeof e==ye?e.apply(a?a[0]||c:c,a):e}function d(e,a){return e===c?a:e}function v(e,a,t){u(b(a),function(a){e.addEventListener(a,t,!1)})}function y(e,a,t){u(b(a),function(a){e.removeEventListener(a,t,!1)})}function f(e,a){for(;e;){if(e==a)return!0;e=e.parentNode}return!1}function h(e,a){return e.indexOf(a)>-1}function b(e){return e.trim().split(/\s+/g)}function N(e,a,t){if(e.indexOf&&!t)return e.indexOf(a);for(var i=0;it[a]}):i.sort()),i}function O(e,a){for(var t,i,n=a[0].toUpperCase()+a.slice(1),r=0;r1&&!t.firstMultiple?t.firstMultiple=D(a):1===n&&(t.firstMultiple=!1);var r=t.firstInput,o=t.firstMultiple,c=o?o.center:r.center,l=a.center=M(i);a.timeStamp=be(),a.deltaTime=a.timeStamp-r.timeStamp,a.angle=G(c,l),a.distance=B(c,l),R(t,a),a.offsetDirection=F(a.deltaX,a.deltaY);var s=P(a.deltaTime,a.deltaX,a.deltaY);a.overallVelocityX=s.x,a.overallVelocityY=s.y,a.overallVelocity=he(s.x)>he(s.y)?s.x:s.y,a.scale=o?k(o.pointers,i):1,a.rotation=o?H(o.pointers,i):0,a.maxPointers=t.prevInput?a.pointers.length>t.prevInput.maxPointers?a.pointers.length:t.prevInput.maxPointers:a.pointers.length,C(t,a);var u=e.element;f(a.srcEvent.target,u)&&(u=a.srcEvent.target),a.target=u}function R(e,a){var t=a.center,i=e.offsetDelta||{},n=e.prevDelta||{},r=e.prevInput||{};a.eventType!==we&&r.eventType!==Re||(n=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:t.x,y:t.y}),a.deltaX=n.x+(t.x-i.x),a.deltaY=n.y+(t.y-i.y)}function C(e,a){var t,i,n,r,o=e.lastInterval||a,l=a.timeStamp-o.timeStamp;if(a.eventType!=Ce&&(l>Ie||o.velocity===c)){var s=a.deltaX-o.deltaX,u=a.deltaY-o.deltaY,p=P(l,s,u);i=p.x,n=p.y,t=he(p.x)>he(p.y)?p.x:p.y,r=F(s,u),e.lastInterval=a}else t=o.velocity,i=o.velocityX,n=o.velocityY,r=o.direction;a.velocity=t,a.velocityX=i,a.velocityY=n,a.direction=r}function D(e){for(var a=[],t=0;t=he(a)?e<0?Me:Pe:a<0?Fe:Be}function B(e,a,t){t||(t=Ue);var i=a[t[0]]-e[t[0]],n=a[t[1]]-e[t[1]];return Math.sqrt(i*i+n*n)}function G(e,a,t){t||(t=Ue);var i=a[t[0]]-e[t[0]],n=a[t[1]]-e[t[1]];return 180*Math.atan2(n,i)/Math.PI}function H(e,a){return G(a[1],a[0],je)+G(e[1],e[0],je)}function k(e,a){return B(a[0],a[1],je)/B(e[0],e[1],je)}function U(){this.evEl=Ve,this.evWin=Ye,this.pressed=!1,x.apply(this,arguments)}function j(){this.evEl=Xe,this.evWin=Ze,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function W(){this.evTarget=Qe,this.evWin=Je,this.started=!1,x.apply(this,arguments)}function V(e,a){var t=E(e.touches),i=E(e.changedTouches);return a&(Re|Ce)&&(t=A(t.concat(i),"identifier",!0)),[t,i]}function Y(){this.evTarget=ea,this.targetIds={},x.apply(this,arguments)}function z(e,a){var t=E(e.touches),i=this.targetIds;if(a&(we|Le)&&1===t.length)return i[t[0].identifier]=!0,[t,t];var n,r,o=E(e.changedTouches),c=[],l=this.target;if(r=t.filter(function(e){return f(e.target,l)}),a===we)for(n=0;n-1&&i.splice(e,1)};setTimeout(n,aa)}}function q(e){for(var a=e.srcEvent.clientX,t=e.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(a,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function a(a){t.manager.emit(a,e)}var t=this,i=this.state;i=ga&&a(t.options.event+ee(i))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;ea.threshold&&n&a.direction},attrTest:function(e){return ie.prototype.attrTest.call(this,e)&&(this.state&ma||!(this.state&ma)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var a=ae(e.direction);a&&(e.additionalEvent=this.options.event+a),this._super.emit.call(this,e)}}),m(re,ie,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ca]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&ma)},emit:function(e){if(1!==e.scale){var a=e.scale<1?"in":"out";e.additionalEvent=this.options.event+a}this._super.emit.call(this,e)}}),m(oe,$,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[ra]},process:function(e){var a=this.options,t=e.pointers.length===a.pointers,i=e.distancea.time;if(this._input=e,!i||!t||e.eventType&(Re|Ce)&&!n)this.reset();else if(e.eventType&we)this.reset(),this._timer=l(function(){this.state=da,this.tryEmit()},a.time,this);else if(e.eventType&Re)return da;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===da&&(e&&e.eventType&Re?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=be(),this.manager.emit(this.options.event,this._input)))}}),m(ce,ie,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ca]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&ma)}}),m(le,ie,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ge|He,pointers:1},getTouchAction:function(){return ne.prototype.getTouchAction.call(this)},attrTest:function(e){var a,t=this.options.direction;return t&(Ge|He)?a=e.overallVelocity:t&Ge?a=e.overallVelocityX:t&He&&(a=e.overallVelocityY),this._super.attrTest.call(this,e)&&t&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&he(a)>this.options.velocity&&e.eventType&Re},emit:function(e){var a=ae(e.offsetDirection);a&&this.manager.emit(this.options.event+a,e),this.manager.emit(this.options.event,e)}}),m(se,$,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[oa]},process:function(e){var a=this.options,t=e.pointers.length===a.pointers,i=e.distance1&&void 0!==arguments[1]?arguments[1]:{};n(this,a);var i=r(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,t));return i.width=null,i.height=null,i.attachments={},i.readBuffer=A,i.drawBuffers=[A],i.initialize(t),Object.seal(i),i}return o(a,e),E(a,null,[{key:"isSupported",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.colorBufferFloat,i=a.colorBufferHalfFloat;return t&&e.getExtension(Object(p.h)(e)?"EXT_color_buffer_float":"WEBGL_color_buffer_float"),i&&e.getExtension(Object(p.h)(e)?"EXT_color_buffer_float":"EXT_color_buffer_half_float")}}]),E(a,[{key:"initialize",value:function(e){var a=e.width,t=void 0===a?1:a,i=e.height,n=void 0===i?1:i,r=e.attachments,o=void 0===r?null:r,c=e.color,l=void 0===c||c,s=e.depth,u=void 0===s||s,p=e.stencil,m=void 0!==p&&p,_=e.check,g=void 0===_||_,d=e.readBuffer,v=e.drawBuffers;if(b()(t>=0&&n>=0,"Width and height need to be integers"),this.width=t,this.height=n,o)for(var y in o){var f=o[y],h=Array.isArray(f)?f[0]:f;h.resize({width:t,height:n})}else o=this._createDefaultAttachments({color:l,depth:u,stencil:m,width:t,height:n});this.update({clearAttachments:!0,attachments:o,readBuffer:d,drawBuffers:v}),o&&g&&this.checkStatus()}},{key:"update",value:function(e){var a=e.attachments,t=void 0===a?{}:a,i=e.readBuffer,n=e.drawBuffers,r=e.clearAttachments,o=void 0!==r&&r;this.attach(t,{clearAttachments:o});var c=this.gl;return c.bindFramebuffer(36160,this.handle),i&&this._setReadBuffer(i),n&&this._setDrawBuffers(n),c.bindFramebuffer(36160,null),this}},{key:"resize",value:function(e){var a=e.width,t=e.height;f.log.log(2,"Resizing framebuffer "+this.id+" to "+a+"x"+t);for(var i in this.attachments)this.attachments[i].resize({width:a,height:t});return this.width=a,this.height=t,this}},{key:"attach",value:function(e){var a=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.clearAttachments,n=void 0!==i&&i,r={};n&&Object.keys(this.attachments).forEach(function(e){r[e]=null}),Object.assign(r,e),this.gl.bindFramebuffer(36160,this.handle);for(var o in r){b()("undefined"!==o,"Misspelled framebuffer binding point?");var c=r[o],l=c;if(l)if(l instanceof v.a)this._attachRenderbuffer({attachment:o,renderbuffer:l});else if(Array.isArray(c)){var s=N(c,3),u=s[0],p=s[1],m=void 0===p?0:p,_=s[2],g=void 0===_?0:_;l=u,this._attachTexture({attachment:o,texture:u,layer:m,level:g})}else this._attachTexture({attachment:o,texture:l,layer:0,level:0});else this._unattach({attachment:o});l&&l.resize({width:this.width,height:this.height})}this.gl.bindFramebuffer(36160,null),Object.assign(this.attachments,e),Object.keys(this.attachments).filter(function(e){return!a.attachments[e]}).forEach(function(e){delete a.attachments[e]})}},{key:"checkStatus",value:function(){var e=this.gl;e.bindFramebuffer(36160,this.handle);var a=e.checkFramebufferStatus(36160);if(e.bindFramebuffer(36160,null),a!==e.FRAMEBUFFER_COMPLETE)throw new Error(s(a));return this}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.color,t=e.depth,i=e.stencil,n=e.drawBuffers,r=void 0===n?[]:n;return this.gl.bindFramebuffer(36160,this.handle),(a||t||i)&&Object(m.a)(this.gl,{color:a,depth:t,stencil:i}),r.forEach(function(e,a){Object(m.b)({drawBuffer:a,value:e})}),this.gl.bindFramebuffer(36160,null),this}},{key:"readPixels",value:function(e){var a=e.x,t=void 0===a?0:a,i=e.y,n=void 0===i?0:i,r=e.width,o=e.height,c=e.format,s=void 0===c?u.e.RGBA:c,p=e.type,m=e.pixelArray,_=void 0===m?null:m,g=this.gl;if(!_){p=p||g.UNSIGNED_BYTE;var d=Object(y.b)(p,{clamped:!1}),v=l(s);_=_||new d(r*o*v)}return p=p||Object(y.a)(_),this.bind(),this.gl.readPixels(t,n,r,o,s,p,_),this.unbind(),_}},{key:"copyToTexture",value:function(e){var a=e.srcFramebuffer,t=e.x,i=e.y,n=(e.width,e.height,e.texture),r=(e.xoffset,e.yoffset,e.zoffset,e.mipmapLevel),o=void 0===r?0:r,c=e.internalFormat,l=void 0===c?u.e.RGBA:c,s=(e.border,this.gl);switch(s.bindFramebuffer(36160,a.handle),n.target){case 3553:case 34067:s.copyTexSubImage2D(n.target,o,l,t,i,n.width,n.height);break;case 35866:case 32879:s.copyTexSubImage3D(n.target,o,l,t,i,n.width,n.height)}return s.bindFramebuffer(36160,null),this}},{key:"blit",value:function(e){var a=e.srcFramebuffer,t=e.srcX0,i=e.srcY0,n=e.srcX1,r=e.srcY1,o=e.dstX0,c=e.dstY0,l=e.dstX1,s=e.dstY1,m=e.color,_=e.depth,g=e.stencil,d=e.mask,v=void 0===d?0:d,y=e.filter,f=void 0===y?u.e.NEAREST:y,h=this.gl;return b()(Object(p.h)(h),p.b),m&&(v|=16384),_&&(v|=256),g&&(v|=1024),h.bindFramebuffer(36009,a.handle),h.bindFramebuffer(36008,this.handle),h.blitFramebuffer(t,i,n,r,o,c,l,s,v,f),h.bindFramebuffer(36008,null),h.bindFramebuffer(36009,null),this}},{key:"invalidate",value:function(e){var a=e.attachments,t=void 0===a?[]:a,i=e.x,n=void 0===i?0:i,r=e.y,o=void 0===r?0:r,c=e.width,l=e.height,s=this.gl;return b()(Object(p.h)(s,p.b)),s.bindFramebuffer(36009,this.handle),0===n&&0===o&&void 0===c&&void 0===l?s.invalidateFramebuffer(36009,t):s.invalidateFramebuffer(36009,t,n,o,c,l),s.bindFramebuffer(36009,null),this}},{key:"getAttachmentParameter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.target,t=void 0===a?this.target:a,i=e.attachment,n=void 0===i?A:i,r=e.pname,o=this._getAttachmentParameterFallback(r);return null!==o?o:this.gl.getFramebufferAttachmentParameter(t,n,r)}},{key:"getAttachmentParameters",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.ATTACHMENT_PARAMETERS||{}),a={};for(var t in e)a[t]=this.getParameter(t);return this}},{key:"bind",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.target,t=void 0===a?36160:a;return this.gl.bindFramebuffer(t,this.handle),this}},{key:"unbind",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.target,t=void 0===a?36160:a;return this.gl.bindFramebuffer(t,null),this}},{key:"_createDefaultAttachments",value:function(e){var a=e.color,t=e.depth,n=(e.stencil,e.width),r=e.height,o=null;if(a){var c;o=o||{},o[A]=new d.a(this.gl,{data:null,format:u.e.RGBA,type:u.e.UNSIGNED_BYTE,width:n,height:r,mipmaps:!1,parameters:(c={},i(c,u.e.TEXTURE_MIN_FILTER,u.e.NEAREST),i(c,u.e.TEXTURE_MAG_FILTER,u.e.NEAREST),i(c,u.e.TEXTURE_WRAP_S,u.e.CLAMP_TO_EDGE),i(c,u.e.TEXTURE_WRAP_T,u.e.CLAMP_TO_EDGE),c)})}return t&&(o=o||{},o[36096]=new v.a(this.gl,{format:u.e.DEPTH_COMPONENT16,width:n,height:r})),o}},{key:"_unattach",value:function(e){var a=e.attachment;this.gl.bindRenderbuffer(36161,this.handle),this.gl.framebufferRenderbuffer(36160,a,36161,null),delete this.attachments[a]}},{key:"_attachRenderbuffer",value:function(e){var a=e.attachment,t=void 0===a?A:a,i=e.renderbuffer;this.gl.framebufferRenderbuffer(36160,t,36161,i.handle),this.attachments[t]=i}},{key:"_attachTexture",value:function(e){var a=e.attachment,t=void 0===a?A:a,i=e.texture,n=e.layer,r=e.level,o=this.gl;switch(o.bindTexture(i.target,i.handle),i.target){case 35866:case 32879:o.framebufferTextureLayer(36160,t,i.target,r,n);break;case 34067:var l=c(n);o.framebufferTexture2D(36160,t,l,i.handle,r);break;case 3553:o.framebufferTexture2D(36160,t,3553,i.handle,r);break;default:b()(!1,"Illegal texture type")}o.bindTexture(i.target,null),this.attachments[t]=i}},{key:"_setReadBuffer",value:function(e,a){Object(p.h)(e)?e.readBuffer(a):b()(a===A||a===u.e.BACK,"Multiple render targets not supported"),this.readBuffer=a}},{key:"_setDrawBuffers",value:function(e,a){if(Object(p.h)(e))e.drawBuffers(a);else{var t=e.getExtension("WEBGL_draw_buffers");t?t.drawBuffersWEBGL(a):b()(1===a.length&&(a[0]===A||a[0]===u.e.BACK),"Multiple render targets not supported")}this.drawBuffers=a}},{key:"_getAttachmentParameterFallback",value:function(e){var a=Object(_.b)(this.gl);switch(e){case u.e.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:return a.webgl2?null:0;case u.e.FRAMEBUFFER_ATTACHMENT_RED_SIZE:case u.e.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:case u.e.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:case u.e.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:case u.e.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:case u.e.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:return a.webgl2?null:8;case u.e.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:return a.webgl2?null:u.e.UNSIGNED_INT;case u.e.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:return a.webgl2||a.EXT_sRGB?null:u.e.LINEAR;default:return null}}},{key:"_createHandle",value:function(){return this.gl.createFramebuffer()}},{key:"_deleteHandle",value:function(){this.gl.deleteFramebuffer(this.handle)}},{key:"color",get:function(){return this.attachments[A]||null}},{key:"texture",get:function(){return this.attachments[A]||null}},{key:"depth",get:function(){return this.attachments[36096]||null}},{key:"stencil",get:function(){return this.attachments[36128]||null}}]),a}(g.a);a.a=S},function(e,a,t){"use strict";function i(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.framebuffer,i=void 0===t?null:t,n=a.color,r=void 0===n?null:n,c=a.depth,s=void 0===c?null:c,_=a.stencil,g=void 0===_?null:_,d={nocatch:!1,framebuffer:i},v=0;r&&(v|=m,!0!==r&&(d.clearColor=r)),s&&(v|=u,!0!==s&&(d.clearDepth=s)),g&&(v|=p,!0!==s&&(d.clearStencil=s)),l()(0!==v,y),Object(o.c)(e,d,function(){e.clear(v)})}function n(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.framebuffer,i=void 0===t?null:t,n=a.buffer,c=void 0===n?_:n,u=a.drawBuffer,p=void 0===u?0:u,m=a.value,f=void 0===m?[0,0,0,0]:m;l()(Object(r.h)(e),r.b),Object(o.c)(e,{framebuffer:i},function(){switch(c){case _:switch(f.constructor){case Int32Array:e.clearBufferiv(c,p,f);break;case Uint32Array:e.clearBufferuiv(c,p,f);break;case Float32Array:default:e.clearBufferfv(c,p,f)}break;case g:e.clearBufferfv(g,0,[f]);break;case d:e.clearBufferiv(d,0,[f]);break;case v:var a=s(f,2),t=a[0],i=a[1];e.clearBufferfi(v,0,t,i);break;default:l()(!1,y)}})}a.a=i,a.b=n;var r=t(16),o=t(135),c=t(3),l=t.n(c),s=function(){function e(e,a){var t=[],i=!0,n=!1,r=void 0;try{for(var o,c=e[Symbol.iterator]();!(i=(o=c.next()).done)&&(t.push(o.value),!a||t.length!==a);i=!0);}catch(e){n=!0,r=e}finally{try{!i&&c.return&&c.return()}finally{if(n)throw r}}return t}return function(a,t){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return e(a,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=256,p=1024,m=16384,_=6144,g=6145,d=6146,v=34041,y="clear: bad arguments"},function(e,a,t){"use strict";function i(e,a){var t=u[a];s()(t,a);var i=Object(c.h)(e)?t[1]||t[0]:t[0],n="string"==typeof i?Boolean(e.getExtension(i)):i;return s()(!1===n||!0===n),n}function n(e,a){return r(e,a)}function r(e,a){return a=Array.isArray(a)?a:[a],a.every(function(a){return i(e,a)})}function o(e){if(e.luma=e.luma||{},!e.luma.caps){e.luma.caps={},e.luma.caps.webgl2=Object(c.h)(e);for(var a in u)e.luma.caps[a]=i(e,a)}return e.luma.caps}t.d(a,"a",function(){return p}),a.c=n,a.d=r,a.b=o;var c=t(16),l=t(3),s=t.n(l),u={VERTEX_ARRAY_OBJECT:["OES_vertex_array_object",!0],TIMER_QUERY:["EXT_disjoint_timer_query","EXT_disjoint_timer_query_webgl2"],INSTANCED_RENDERING:["ANGLE_instanced_arrays",!0],MULTIPLE_RENDER_TARGETS:["WEBGL_draw_buffers",!0],ELEMENT_INDEX_UINT32:["OES_element_index_uint",!0],BLEND_EQUATION_MINMAX:["EXT_blend_minmax",!0],COLOR_ENCODING_SRGB:["EXT_sRGB",!0],TEXTURE_DEPTH:["WEBGL_depth_texture",!0],TEXTURE_FLOAT:["OES_texture_float",!0],TEXTURE_HALF_FLOAT:["OES_texture_half_float",!0],TEXTURE_FILTER_LINEAR_FLOAT:["OES_texture_float_linear"],TEXTURE_FILTER_LINEAR_HALF_FLOAT:["OES_texture_half_float_linear"],TEXTURE_FILTER_ANISOTROPIC:["EXT_texture_filter_anisotropic"],COLOR_ATTACHMENT_RGBA32F:["WEBGL_color_buffer_float","EXT_color_buffer_float"],COLOR_ATTACHMENT_FLOAT:[!1,"EXT_color_buffer_float"],COLOR_ATTACHMENT_HALF_FLOAT:[!1,"EXT_color_buffer_half_float"],GLSL_FRAG_DATA:["WEBGL_draw_buffers",!0],GLSL_FRAG_DEPTH:["EXT_frag_depth",!0],GLSL_DERIVATIVES:["OES_standard_derivatives",!0],GLSL_TEXTURE_LOD:["EXT_shader_texture_lod",!0]},p={};Object.keys(u).forEach(function(e){p[e]=e})},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function n(e,a){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?e:a}function r(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}function o(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function c(e,a,t){var i=t[a];if(!i)return!1;var n=Object(u.h)(e)?i.gl2||i.gl1:i.gl1;return"string"==typeof n?e.getExtension(n):n}var l,s=t(50),u=t(16),p=t(57),m=t(3),_=t.n(m),g=function(){function e(e,a){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{};i(this,a);var r=n(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e,t));return r.initialize(t),Object.seal(r),r}return r(a,e),g(a,null,[{key:"isSupported",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=a.format;return!t||c(e,t,v)}},{key:"getSamplesForFormat",value:function(e,a){var t=a.format;return e.getInternalformatParameter(36161,t,32937)}}]),g(a,[{key:"initialize",value:function(e){var a=e.format,t=e.width,i=void 0===t?1:t,n=e.height,r=void 0===n?1:n,o=e.samples,c=void 0===o?0:o;return _()(a,"Needs format"),this.gl.bindRenderbuffer(36161,this.handle),0!==c&&Object(u.h)(this.gl)?this.gl.renderbufferStorageMultisample(36161,c,a,i,r):this.gl.renderbufferStorage(36161,a,i,r),this.format=a,this.width=i,this.height=r,this.samples=c,this}},{key:"resize",value:function(e){var a=e.width,t=e.height;return a!==this.width||t!==this.height?this.initialize({width:a,height:t,format:this.format,samples:this.samples}):this}},{key:"_createHandle",value:function(){return this.gl.createRenderbuffer()}},{key:"_deleteHandle",value:function(){this.gl.deleteRenderbuffer(this.handle)}},{key:"_syncHandle",value:function(e){this.format=this.getParameter(36164),this.width=this.getParameter(36162),this.height=this.getParameter(36163),this.samples=this.getParameter(36011)}},{key:"_getParameter",value:function(e){return this.gl.bindRenderbuffer(36161,this.handle),this.gl.getRenderbufferParameter(36161,e)}}]),a}(p.a);a.a=y},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function n(e,a){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?e:a}function r(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}t.d(a,"b",function(){return y}),t.d(a,"a",function(){return f});var o=t(108),c=t(16),l=t(57),s=t(19),u=t(3),p=t.n(u),m=function(){function e(e,a){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{};n(this,a);var i=r(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t));return Object(c.isWebGL)(e)?i.gl=e:(p.log.deprecated("Model({gl, ...opts})","Model(gl, {...opts}"),t=Object.assign(e,t),i.gl=t.gl||t.program&&t.program.gl,y()(Object(c.isWebGL)(i.gl),"Not a WebGL context")),i.init(t),i}return o(a,e),f(a,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.vs,t=void 0===a?null:a,i=e.fs,n=void 0===i?null:i,r=e.modules,o=void 0===r?null:r,c=e.defines,l=void 0===c?{}:c,u=e.moduleSettings,p=void 0===u?{}:u,m=e.defaultUniforms,_=e.program,g=void 0===_?null:_,v=e.shaderCache,f=void 0===v?null:v,h=e.isInstanced,b=void 0!==h&&h,N=e.instanced,E=e.vertexCount,A=void 0===E?void 0:E,O=e.instanceCount,S=void 0===O?0:O,T=e.drawMode,x=e.uniforms,I=void 0===x?{}:x,w=e.attributes,L=void 0===w?{}:w,R=e.geometry,C=void 0===R?null:R,D=e.pickable,M=void 0===D||D,P=e.pick,F=void 0===P?null:P,B=(e.render,e.onBeforeRender),G=void 0===B?function(){}:B,H=e.onAfterRender,k=void 0===H?function(){}:H,U=e.timerQueryEnabled,j=void 0!==U&&U;this._initializeProgram({vs:t,fs:n,modules:o,defines:l,moduleSettings:p,defaultUniforms:m,program:g,shaderCache:f}),this.uniforms={},I=Object.assign({},this.program.defaultUniforms,I),this.setUniforms(I),this.setUniforms(this.getModuleUniforms()),this.setUniforms(this.getModuleUniforms(p)),N&&(console.warn('Warning: Model constructor: parameter "instanced" renamed to "isInstanced".\nThis will become a hard error in a future version of luma.gl.'),b=b||N),this.buffers={},this.userData={},this.drawParams={},this.dynamic=!1,this.needsRedraw=!0,this.setGeometry(C),this.attributes={},this.setAttributes(L),void 0!==T&&(this.drawMode=Object(s.b)(T)),void 0!==A&&(this.vertexCount=A),this.isInstanced=b,this.instanceCount=S,this.pickable=Boolean(M),this.pick=F||function(){return!1},this.onBeforeRender=G,this.onAfterRender=k,y()(void 0!==this.drawMode&&Number.isFinite(this.vertexCount),"Model needs drawMode and vertexCount"),this.timerQueryEnabled=j&&d.a.isSupported(this.gl,{timer:!0}),this.timeElapsedQuery=void 0,this.lastQueryReturned=!0,this.stats={accumulatedFrameTime:0,averageFrameTime:0,profileFrameCount:0}}},{key:"_initializeProgram",value:function(e){var a=e.vs,t=e.fs,i=e.modules,n=e.defines,r=(e.moduleSettings,e.defaultUniforms),o=e.program,l=e.shaderCache;if(this.getModuleUniforms=function(e){},!o){a||(a=m.a.vs),t||(t=m.a.fs),a!==m.b.vs&&t!==m.b.fs||(p.log.warn(0,"luma.gl: default shaders are deprecated and will be removed in a future version. Use shader modules instead."),r=r||m.b.defaultUniforms);var s=Object(_.a)(this.gl,{vs:a,fs:t,modules:i,defines:n});a=s.vs,t=s.fs,l&&(a=l.getVertexShader(this.gl,a),t=l.getFragmentShader(this.gl,t));var u=s.getUniforms;this.getModuleUniforms=u||function(e){},o=new c.Program(this.gl,{vs:a,fs:t})}this.program=o,y()(this.program instanceof c.Program,"Model needs a program")}},{key:"destroy",value:function(){this.delete()}},{key:"delete",value:function(){this.program.delete(),Object(g.d)(this.id)}},{key:"setNeedsRedraw",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.needsRedraw=e,this}},{key:"getNeedsRedraw",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.clearRedrawFlags,t=void 0!==a&&a,i=!1;return i=i||this.needsRedraw,this.needsRedraw=this.needsRedraw&&!t,i=i||this.geometry.getNeedsRedraw({clearRedrawFlags:t})}},{key:"setDrawMode",value:function(e){return this.drawMode=Object(s.b)(e),this}},{key:"getDrawMode",value:function(){return this.drawMode}},{key:"setVertexCount",value:function(e){return y()(Number.isFinite(e)),this.vertexCount=e,this}},{key:"getVertexCount",value:function(){return this.vertexCount}},{key:"setInstanceCount",value:function(e){return y()(Number.isFinite(e)),this.instanceCount=e,this}},{key:"getInstanceCount",value:function(){return this.instanceCount}},{key:"getProgram",value:function(){return this.program}},{key:"setGeometry",value:function(e){return this.geometry=e,this.vertexCount=e.getVertexCount(),this.drawMode=e.drawMode,this._createBuffersFromAttributeDescriptors(this.geometry.getAttributes()),this.setNeedsRedraw(),this}},{key:"getAttributes",value:function(){return this.attributes}},{key:"setAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(this.attributes,e),this._createBuffersFromAttributeDescriptors(e),this.setNeedsRedraw(),this}},{key:"getUniforms",value:function(){return this.uniforms}},{key:"setUniforms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(c.checkUniformValues)(e,this.id),Object.assign(this.uniforms,e),this.setNeedsRedraw(),this}},{key:"updateModuleSettings",value:function(e){var a=this.getModuleUniforms(e);return this.setUniforms(a)}},{key:"addViewUniforms",value:function(e){var a=e.camera,t=e.viewMatrix,i=e.modelMatrix,n=a?a.getUniforms():{},r=t?this.getCoordinateUniforms(t,i):{};return Object.assign({},e,n,r)}},{key:"draw",value:function(){var e=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.uniforms,i=void 0===t?{}:t,n=a.attributes,r=void 0===n?{}:n,o=a.samplers,l=void 0===o?{}:o,s=a.parameters,u=void 0===s?{}:s,m=a.settings,_=a.framebuffer,g=void 0===_?null:_;m&&(p.log.deprecated("settings","parameters"),u=m);var d=this.program.gl;return g&&(u=Object.assign(u,{framebuffer:g})),Object(c.withParameters)(d,u,function(){return e.render(i,r,l)})}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object(g.a)(this);var a=this.addViewUniforms(e);Object(g.b)(this.id,a),this.setUniforms(a),p.log.log(2,">>> RENDERING MODEL "+this.id,this),this.setProgramState(),this._logAttributesAndUniforms(3,a),this.onBeforeRender();var t=this.drawParams;t.isInstanced&&!this.isInstanced&&p.log.warn(0,"Found instanced attributes on non-instanced model");var i=t.isIndexed,n=t.indexType,r=this.isInstanced,o=this.instanceCount;return this._timerQueryStart(),this.program.draw({drawMode:this.getDrawMode(),vertexCount:this.getVertexCount(),isIndexed:i,indexType:n,isInstanced:r,instanceCount:o}),this._timerQueryEnd(),this.onAfterRender(),this.unsetProgramState(),this.setNeedsRedraw(!1),p.log.log(2,"<<< RENDERING MODEL "+this.id+" - complete"),this}},{key:"setProgramState",value:function(){var e=this.program;return e.use(),this.drawParams={},e.setBuffers(this.buffers,{drawParams:this.drawParams}),e.setUniforms(this.uniforms,this.samplers),this}},{key:"unsetProgramState",value:function(){return this.program.unsetBuffers(),this}},{key:"_timerQueryStart",value:function(){!0===this.timerQueryEnabled&&(this.timeElapsedQuery||(this.timeElapsedQuery=new d.a(this.gl)),this.lastQueryReturned&&(this.lastQueryReturned=!1,this.timeElapsedQuery.beginTimeElapsedQuery()))}},{key:"_timerQueryEnd",value:function(){if(!0===this.timerQueryEnabled&&(this.timeElapsedQuery.end(),this.timeElapsedQuery.isResultAvailable())){this.lastQueryReturned=!0;var e=this.timeElapsedQuery.getResult();this.stats.lastFrameTime=e,this.stats.accumulatedFrameTime+=e,this.stats.profileFrameCount++,this.stats.averageFrameTime=this.stats.accumulatedFrameTime/this.stats.profileFrameCount,p.log.log(2,"program.id: ",this.program.id),p.log.log(2,"last frame time: "+this.stats.lastFrameTime+"ms"),p.log.log(2,"average frame time "+this.stats.averageFrameTime+"ms"),p.log.log(2,"accumulated frame time: "+this.stats.accumulatedFrameTime+"ms"),p.log.log(2,"profile frame count: "+this.stats.profileFrameCount)}}},{key:"_createBuffersFromAttributeDescriptors",value:function(e){var a=this.program.gl;for(var t in e){var i=e[t];if(i instanceof c.Buffer)this.buffers[t]=i;else{this.buffers[t]=this.buffers[t]||new c.Buffer(a,{target:i.isIndexed?c.GL.ELEMENT_ARRAY_BUFFER:c.GL.ARRAY_BUFFER});this.buffers[t].setData({data:i.value}).setDataLayout(i)}}return this}},{key:"_logAttributesAndUniforms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(p.log.priority>=e){var t=this._getAttributesTable({header:"Attributes "+this.id,program:this.program,attributes:Object.assign({},this.geometry.attributes,this.attributes)});p.log.table(e,t);var i=Object(l.c)({header:"Uniforms "+this.id,program:this.program,uniforms:Object.assign({},this.uniforms,a)}),n=i.table,r=i.unusedTable,o=i.unusedCount;p.log.table(e,n),p.log.log(e,(o||"No")+" unused uniforms ",r)}Object(g.c)(this,a)}},{key:"_getAttributesTable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.attributes,t=e.header,n=void 0===t?"Attributes":t,r=(e.instanced,e.program);y()(r);var o=r._attributeLocations,c=i({},n,{});for(var l in o){var s=a[l],u=o[l];c[l]=this._getAttributeEntry(s,u)}for(var p in a){var m=a[p];c[p]||(c[p]=this._getAttributeEntry(m,null))}return c}},{key:"_getAttributeEntry",value:function(e,a){var t=function(e){return Math.round(10*e)/10},i="NOT PROVIDED",n=0,r="N/A",o="N/A",l="N/A",s="N/A";if(e&&null===a&&(a=e.isIndexed?"ELEMENT_ARRAY_BUFFER":"NOT USED"),e instanceof c.Buffer){var u=e;i=u.layout.type,n=u.layout.instanced,r=u.layout.size,o=t(u.data.length/u.layout.size),l=u.data.length*u.data.BYTES_PER_ELEMENT}else e&&(i=e.value.constructor.name,n=e.instanced,r=e.size,o=t(e.value.length/e.size),l=e.value.length*e.value.BYTES_PER_ELEMENT,s=e.value);i=String(i).replace("Array","");var m=-1!==i.indexOf("nt");return{Location:a+(n?" [instanced]":""),"Type Size x Verts = Bytes":i+" "+r+" x "+o+" = "+l,Value:Object(p.formatValue)(s,{size:r,isInteger:m})}}},{key:"isPickable",value:function(){return this.pickable}},{key:"setPickable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.pickable=Boolean(e),this}},{key:"getGeometry",value:function(){return this.geometry}}]),a}(u.a);a.a=h},function(e,a,t){"use strict";function i(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function n(e,a){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!=typeof a&&"function"!=typeof a?e:a}function r(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a)}var o=t(87),c=function(e){function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,a);for(var t=e.bottomRadius,r=void 0===t?0:t,o=e.topRadius,c=void 0===o?0:o,l=e.height,s=void 0===l?1:l,u=e.nradial,p=void 0===u?10:u,m=e.nvertical,_=void 0===m?10:m,g=e.topCap,d=void 0!==g&&g,v=e.bottomCap,y=void 0!==v&&v,f=(d?2:0)+(y?2:0),h=(p+1)*(_+1+f),b=Math.atan2(r-c,s),N=Math.sin,E=Math.cos,A=Math.PI,O=E(b),S=N(b),T=d?-2:0,x=_+(y?2:0),I=p+1,w=new Float32Array(3*h),L=new Float32Array(3*h),R=new Float32Array(2*h),C=new Uint16Array(p*(_+f)*6),D=0,M=0,P=T;P<=x;P++){var F=P/_,B=s*F,G=void 0;P<0?(B=0,F=1,G=r):P>_?(B=s,F=1,G=c):G=r+P/_*(c-r),-2!==P&&P!==_+2||(G=0,F=0),B-=s/2;for(var H=0;H_?0:k*O,L[D+1]=P<0?-1:P>_?1:S,L[D+2]=P<0||P>_?0:U*O,R[M+0]=H/p,R[M+1]=F,M+=2,D+=3}}for(var j=0;j<_+f;j++)for(var W=0;W80*t){s=m=e[0],u=_=e[1];for(var y=t;ym&&(m=g),d>_&&(_=d);v=Math.max(m-s,_-u)}return o(c,l,t,s,u,v),l}function n(e,a,t,i,n){var r,o;if(n===R(e,a,t,i)>0)for(r=a;r=a;r-=i)o=I(r,e[r],e[r+1],o);return o&&E(o,o.next)&&(w(o),o=o.next),o}function r(e,a){if(!e)return e;a||(a=e);var t,i=e;do{if(t=!1,i.steiner||!E(i,i.next)&&0!==N(i.prev,i,i.next))i=i.next;else{if(w(i),(i=a=i.prev)===i.next)return null;t=!0}}while(t||i!==a);return a}function o(e,a,t,i,n,p,m){if(e){!m&&p&&d(e,i,n,p);for(var _,g,v=e;e.prev!==e.next;)if(_=e.prev,g=e.next,p?l(e,i,n,p):c(e))a.push(_.i/t),a.push(e.i/t),a.push(g.i/t),w(e),e=g.next,v=g.next;else if((e=g)===v){m?1===m?(e=s(e,a,t),o(e,a,t,i,n,p,2)):2===m&&u(e,a,t,i,n,p):o(r(e),a,t,i,n,p,1);break}}}function c(e){var a=e.prev,t=e,i=e.next;if(N(a,t,i)>=0)return!1;for(var n=e.next.next;n!==e.prev;){if(h(a.x,a.y,t.x,t.y,i.x,i.y,n.x,n.y)&&N(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function l(e,a,t,i){var n=e.prev,r=e,o=e.next;if(N(n,r,o)>=0)return!1;for(var c=n.xr.x?n.x>o.x?n.x:o.x:r.x>o.x?r.x:o.x,u=n.y>r.y?n.y>o.y?n.y:o.y:r.y>o.y?r.y:o.y,p=y(c,l,a,t,i),m=y(s,u,a,t,i),_=e.nextZ;_&&_.z<=m;){if(_!==e.prev&&_!==e.next&&h(n.x,n.y,r.x,r.y,o.x,o.y,_.x,_.y)&&N(_.prev,_,_.next)>=0)return!1;_=_.nextZ}for(_=e.prevZ;_&&_.z>=p;){if(_!==e.prev&&_!==e.next&&h(n.x,n.y,r.x,r.y,o.x,o.y,_.x,_.y)&&N(_.prev,_,_.next)>=0)return!1;_=_.prevZ}return!0}function s(e,a,t){var i=e;do{var n=i.prev,r=i.next.next;!E(n,r)&&A(n,i,i.next,r)&&S(n,r)&&S(r,n)&&(a.push(n.i/t),a.push(i.i/t),a.push(r.i/t),w(i),w(i.next),i=e=r),i=i.next}while(i!==e);return i}function u(e,a,t,i,n,c){var l=e;do{for(var s=l.next.next;s!==l.prev;){if(l.i!==s.i&&b(l,s)){var u=x(l,s);return l=r(l,l.next),u=r(u,u.next),o(l,a,t,i,n,c),void o(u,a,t,i,n,c)}s=s.next}l=l.next}while(l!==e)}function p(e,a,t,i){var o,c,l,s,u,p=[];for(o=0,c=a.length;o=i.next.y){var c=i.x+(r-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(c<=n&&c>o){if(o=c,c===n){if(r===i.y)return i;if(r===i.next.y)return i.next}t=i.x=i.x&&i.x>=u&&h(rt.x)&&S(i,e)&&(t=i,m=l),i=i.next;return t}function d(e,a,t,i){var n=e;do{null===n.z&&(n.z=y(n.x,n.y,a,t,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==e);n.prevZ.nextZ=null,n.prevZ=null,v(n)}function v(e){var a,t,i,n,r,o,c,l,s=1;do{for(t=e,e=null,r=null,o=0;t;){for(o++,i=t,c=0,a=0;a0||l>0&&i;)0===c?(n=i,i=i.nextZ,l--):0!==l&&i?t.z<=i.z?(n=t,t=t.nextZ,c--):(n=i,i=i.nextZ,l--):(n=t,t=t.nextZ,c--),r?r.nextZ=n:e=n,n.prevZ=r,r=n;t=i}r.nextZ=null,s*=2}while(o>1);return e}function y(e,a,t,i,n){return e=32767*(e-t)/n,a=32767*(a-i)/n,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),a=16711935&(a|a<<8),a=252645135&(a|a<<4),a=858993459&(a|a<<2),a=1431655765&(a|a<<1),e|a<<1}function f(e){var a=e,t=e;do{a.x=0&&(e-o)*(i-c)-(t-o)*(a-c)>=0&&(t-o)*(r-c)-(n-o)*(i-c)>=0}function b(e,a){return e.next.i!==a.i&&e.prev.i!==a.i&&!O(e,a)&&S(e,a)&&S(a,e)&&T(e,a)}function N(e,a,t){return(a.y-e.y)*(t.x-a.x)-(a.x-e.x)*(t.y-a.y)}function E(e,a){return e.x===a.x&&e.y===a.y}function A(e,a,t,i){return!!(E(e,a)&&E(t,i)||E(e,i)&&E(t,a))||N(e,a,t)>0!=N(e,a,i)>0&&N(t,i,e)>0!=N(t,i,a)>0}function O(e,a){var t=e;do{if(t.i!==e.i&&t.next.i!==e.i&&t.i!==a.i&&t.next.i!==a.i&&A(t,t.next,e,a))return!0;t=t.next}while(t!==e);return!1}function S(e,a){return N(e.prev,e,e.next)<0?N(e,a,e.next)>=0&&N(e,e.prev,a)>=0:N(e,a,e.prev)<0||N(e,e.next,a)<0}function T(e,a){var t=e,i=!1,n=(e.x+a.x)/2,r=(e.y+a.y)/2;do{t.y>r!=t.next.y>r&&n<(t.next.x-t.x)*(r-t.y)/(t.next.y-t.y)+t.x&&(i=!i),t=t.next}while(t!==e);return i}function x(e,a){var t=new L(e.i,e.x,e.y),i=new L(a.i,a.x,a.y),n=e.next,r=a.prev;return e.next=a,a.prev=e,t.next=n,n.prev=t,i.next=t,t.prev=i,r.next=i,i.prev=r,i}function I(e,a,t,i){var n=new L(e,a,t);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function w(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function L(e,a,t){this.i=e,this.x=a,this.y=t,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function R(e,a,t,i){for(var n=0,r=a,o=t-i;r0&&(i+=e[n-1].length,t.holes.push(i))}return t}},function(e,a,t){"use strict";a.a=function(e,a){return e=+e,a-=e,function(t){return e+a*t}}},function(e,a,t){"use strict";function i(e){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]="number"==typeof e[t]?e[t]:e[t].val);return a}a.__esModule=!0,a.default=i,e.exports=a.default},function(e,a,t){(function(a){(function(){var t,i,n;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==a&&null!==a&&a.hrtime?(e.exports=function(){return(t()-n)/1e6},i=a.hrtime,t=function(){var e;return e=i(),1e9*e[0]+e[1]},n=t()):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)}).call(a,t(82))},function(e,a,t){"use strict";function i(e,a){return(a-=e=+e)?function(t){return(t-e)/a}:Object(_.a)(a)}function n(e){return function(a,t){var i=e(a=+a,t=+t);return function(e){return e<=a?0:e>=t?1:i(e)}}}function r(e){return function(a,t){var i=e(a=+a,t=+t);return function(e){return e<=0?a:e>=1?t:i(e)}}}function o(e,a,t,i){var n=e[0],r=e[1],o=a[0],c=a[1];return r2?c:o,u=_=null,l}function l(a){return(u||(u=s(v,y,h?n(e):e,f)))(+a)}var s,u,_,v=d,y=d,f=p.a,h=!1;return l.invert=function(e){return(_||(_=s(y,v,i,h?r(a):a)))(+e)},l.domain=function(e){return arguments.length?(v=m.a.call(e,g.a),t()):v.slice()},l.range=function(e){return arguments.length?(y=m.b.call(e),t()):y.slice()},l.rangeRound=function(e){return y=m.b.call(e),f=p.d,t()},l.clamp=function(e){return arguments.length?(h=!!e,t()):h},l.interpolate=function(e){return arguments.length?(f=e,t()):f},t()}a.c=i,a.a=l,a.b=s;var u=t(27),p=t(112),m=t(113),_=t(363),g=t(621),d=[0,1]},function(e,a,t){"use strict";var i=t(364);a.a=function(e){return e=Object(i.a)(Math.abs(e)),e?e[1]:NaN}},function(e,a,t){"use strict";function i(e){this._context=e}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,a){switch(e=+e,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,a):this._context.moveTo(e,a);break;case 1:this._point=2;default:this._context.lineTo(e,a)}}},a.a=function(e){return new i(e)}},function(e,a,t){"use strict";a.a=function(){}},function(e,a,t){"use strict";function i(e,a,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+a)/6,(e._y0+4*e._y1+t)/6)}function n(e){this._context=e}a.c=i,a.a=n,n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,a){switch(e=+e,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,a):this._context.moveTo(e,a);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,e,a)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=a}},a.b=function(e){return new n(e)}},function(e,a,t){"use strict";function i(e,a,t){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-a),e._y2+e._k*(e._y1-t),e._x2,e._y2)}function n(e,a){this._context=e,this._k=(1-a)/6}a.c=i,a.a=n,n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,a){switch(e=+e,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,a):this._context.moveTo(e,a);break;case 1:this._point=2,this._x1=e,this._y1=a;break;case 2:this._point=3;default:i(this,e,a)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=a}},a.b=function e(a){function t(e){return new n(e,a)}return t.tension=function(a){return e(+a)},t}(0)},function(e,a,t){"use strict";function i(e,a){return[e>s.o?e-s.w:e<-s.o?e+s.w:e,a]}function n(e,a,t){return(e%=s.w)?a||t?Object(l.a)(o(e),c(a,t)):o(e):a||t?c(a,t):i}function r(e){return function(a,t){return a+=e,[a>s.o?a-s.w:a<-s.o?a+s.w:a,t]}}function o(e){var a=r(e);return a.invert=r(-e),a}function c(e,a){function t(e,a){var t=Object(s.g)(a),c=Object(s.g)(e)*t,l=Object(s.t)(e)*t,u=Object(s.t)(a),p=u*i+c*n;return[Object(s.e)(l*r-p*o,c*i-u*n),Object(s.c)(p*r+l*o)]}var i=Object(s.g)(e),n=Object(s.t)(e),r=Object(s.g)(a),o=Object(s.t)(a);return t.invert=function(e,a){var t=Object(s.g)(a),c=Object(s.g)(e)*t,l=Object(s.t)(e)*t,u=Object(s.t)(a),p=u*r-l*o;return[Object(s.e)(l*r+u*o,c*i+p*n),Object(s.c)(p*i-c*n)]},t}a.b=n;var l=t(655),s=t(5);i.invert=i,a.a=function(e){function a(a){return a=e(a[0]*s.r,a[1]*s.r),a[0]*=s.h,a[1]*=s.h,a}return e=n(e[0]*s.r,e[1]*s.r,e.length>2?e[2]*s.r:0),a.invert=function(a){return a=e.invert(a[0]*s.r,a[1]*s.r),a[0]*=s.h,a[1]*=s.h,a},a}},function(e,a,t){"use strict";function i(e,a,t,i){function p(n,r){return e<=n&&n<=t&&a<=r&&r<=i}function m(n,r,o,c){var l=0,s=0;if(null==n||(l=_(n,o))!==(s=_(r,o))||d(n,r)<0^o>0)do{c.point(0===l||3===l?e:t,l>1?i:a)}while((l=(l+o+4)%4)!==s);else c.point(r[0],r[1])}function _(i,r){return Object(n.a)(i[0]-e)0?0:3:Object(n.a)(i[0]-t)0?2:1:Object(n.a)(i[1]-a)0?1:0:r>0?3:2}function g(e,a){return d(e.x,a.x)}function d(e,a){var t=_(e,1),i=_(a,1);return t!==i?t-i:0===t?a[1]-e[1]:1===t?e[0]-a[0]:2===t?e[1]-a[1]:a[0]-e[0]}return function(n){function _(e,a){p(e,a)&&C.point(e,a)}function d(){for(var a=0,t=0,n=E.length;ti&&(p-r)*(i-o)>(m-o)*(e-r)&&++a:m<=i&&(p-r)*(i-o)<(m-o)*(e-r)&&--a;return a}function v(){C=D,N=[],E=[],R=!0}function y(){var e=d(),a=R&&e,t=(N=Object(l.f)(N)).length;(a||t)&&(n.polygonStart(),a&&(n.lineStart(),m(null,null,1,n),n.lineEnd()),t&&Object(c.a)(N,g,e,m,n),n.polygonEnd()),C=n,N=E=A=null}function f(){M.point=b,E&&E.push(A=[]),L=!0,w=!1,x=I=NaN}function h(){N&&(b(O,S),T&&w&&D.rejoin(),N.push(D.result())),M.point=_,w&&C.lineEnd()}function b(n,r){var c=p(n,r);if(E&&A.push([n,r]),L)O=n,S=r,T=c,L=!1,c&&(C.lineStart(),C.point(n,r));else if(c&&w)C.point(n,r);else{var l=[x=Math.max(u,Math.min(s,x)),I=Math.max(u,Math.min(s,I))],m=[n=Math.max(u,Math.min(s,n)),r=Math.max(u,Math.min(s,r))];Object(o.a)(l,m,e,a,t,i)?(w||(C.lineStart(),C.point(l[0],l[1])),C.point(m[0],m[1]),c||C.lineEnd(),R=!1):c&&(C.lineStart(),C.point(n,r),R=!1)}x=n,I=r,w=c}var N,E,A,O,S,T,x,I,w,L,R,C=n,D=Object(r.a)(),M={point:_,lineStart:f,lineEnd:h,polygonStart:v,polygonEnd:y};return M}}a.a=i;var n=t(5),r=t(658),o=t(1530),c=t(659),l=t(27),s=1e9,u=-s},function(e,a,t){"use strict";function i(e){return function(a){var t=new n;for(var i in e)t[i]=e[i];return t.stream=a,t}}function n(){}a.a=i;n.prototype={constructor:n,point:function(e,a){this.stream.point(e,a)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(e,a,t){"use strict";a.a=function(e,a,t,i,n){for(var r,o=e.children,c=-1,l=o.length,s=e.value&&(n-t)/e.value;++c0;(r>>>=1)&&(a+=a))1&r&&(t+=a);return t}},function(e,a){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,a){var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},function(e,a,t){var i=t(61),n=t(60);e.exports=function(e){return function(a,t){var r,o,c=String(n(a)),l=i(t),s=c.length;return l<0||l>=s?e?"":void 0:(r=c.charCodeAt(l),r<55296||r>56319||l+1===s||(o=c.charCodeAt(l+1))<56320||o>57343?e?c.charAt(l):r:e?c.slice(l,l+2):o-56320+(r-55296<<10)+65536)}}},function(e,a,t){"use strict";var i=t(93),n=t(1),r=t(41),o=t(40),c=t(39),l=t(120),s=t(254),u=t(118),p=t(48),m=t(15)("iterator"),_=!([].keys&&"next"in[].keys()),g=function(){return this};e.exports=function(e,a,t,d,v,y,f){s(t,a,d);var h,b,N,E=function(e){if(!_&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new t(this,e)}}return function(){return new t(this,e)}},A=a+" Iterator",O="values"==v,S=!1,T=e.prototype,x=T[m]||T["@@iterator"]||v&&T[v],I=x||E(v),w=v?O?E("entries"):I:void 0,L="Array"==a?T.entries||x:x;if(L&&(N=p(L.call(new e)))!==Object.prototype&&N.next&&(u(N,A,!0),i||c(N,m)||o(N,m,g)),O&&x&&"values"!==x.name&&(S=!0,I=function(){return x.call(this)}),i&&!f||!_&&!S&&T[m]||o(T,m,I),l[a]=I,l[A]=g,v)if(h={values:O?I:E("values"),keys:y?I:E("keys"),entries:w},f)for(b in h)b in T||r(T,b,h[b]);else n(n.P+n.F*(_||S),a,h);return h}},function(e,a,t){"use strict";var i=t(96),n=t(91),r=t(118),o={};t(40)(o,t(15)("iterator"),function(){return this}),e.exports=function(e,a,t){e.prototype=i(o,{next:n(1,t)}),r(e,a+" Iterator")}},function(e,a,t){var i=t(186),n=t(60);e.exports=function(e,a,t){if(i(a))throw TypeError("String#"+t+" doesn't accept regex!");return String(n(e))}},function(e,a,t){var i=t(15)("match");e.exports=function(e){var a=/./;try{"/./"[e](a)}catch(t){try{return a[i]=!1,!"/./"[e](a)}catch(e){}}return!0}},function(e,a,t){var i=t(120),n=t(15)("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||r[n]===e)}},function(e,a,t){"use strict";var i=t(21),n=t(91);e.exports=function(e,a,t){a in e?i.f(e,a,n(0,t)):e[a]=t}},function(e,a,t){var i=t(144),n=t(15)("iterator"),r=t(120);e.exports=t(58).getIteratorMethod=function(e){if(void 0!=e)return e[n]||e["@@iterator"]||r[i(e)]}},function(e,a,t){var i=t(780);e.exports=function(e,a){return new(i(e))(a)}},function(e,a,t){"use strict";var i=t(25),n=t(95),r=t(22);e.exports=function(e){for(var a=i(this),t=r(a.length),o=arguments.length,c=n(o>1?arguments[1]:void 0,t),l=o>2?arguments[2]:void 0,s=void 0===l?t:n(l,t);s>c;)a[c++]=e;return a}},function(e,a,t){"use strict";var i=t(81),n=t(411),r=t(120),o=t(46);e.exports=t(253)(Array,"Array",function(e,a){this._t=o(e),this._i=0,this._k=a},function(){var e=this._t,a=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,n(1)):"keys"==a?n(0,t):"values"==a?n(0,e[t]):n(0,[t,e[t]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(e,a,t){var i,n,r,o=t(52),c=t(401),l=t(245),s=t(241),u=t(7),p=u.process,m=u.setImmediate,_=u.clearImmediate,g=u.MessageChannel,d=u.Dispatch,v=0,y={},f=function(){var e=+this;if(y.hasOwnProperty(e)){var a=y[e];delete y[e],a()}},h=function(e){f.call(e.data)};m&&_||(m=function(e){for(var a=[],t=1;arguments.length>t;)a.push(arguments[t++]);return y[++v]=function(){c("function"==typeof e?e:Function(e),a)},i(v),v},_=function(e){delete y[e]},"process"==t(53)(p)?i=function(e){p.nextTick(o(f,e,1))}:d&&d.now?i=function(e){d.now(o(f,e,1))}:g?(n=new g,r=n.port2,n.port1.onmessage=h,i=o(r.postMessage,r,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",h,!1)):i="onreadystatechange"in s("script")?function(e){l.appendChild(s("script")).onreadystatechange=function(){l.removeChild(this),f.call(e)}}:function(e){setTimeout(o(f,e,1),0)}),e.exports={set:m,clear:_}},function(e,a,t){var i=t(7),n=t(263).set,r=i.MutationObserver||i.WebKitMutationObserver,o=i.process,c=i.Promise,l="process"==t(53)(o);e.exports=function(){var e,a,t,s=function(){var i,n;for(l&&(i=o.domain)&&i.exit();e;){n=e.fn,e=e.next;try{n()}catch(i){throw e?t():a=void 0,i}}a=void 0,i&&i.enter()};if(l)t=function(){o.nextTick(s)};else if(r){var u=!0,p=document.createTextNode("");new r(s).observe(p,{characterData:!0}),t=function(){p.data=u=!u}}else if(c&&c.resolve){var m=c.resolve();t=function(){m.then(s)}}else t=function(){n.call(i,s)};return function(i){var n={fn:i,next:void 0};a&&(a.next=n),e||(e=n,t()),a=n}}},function(e,a,t){"use strict";function i(e){var a,t;this.promise=new e(function(e,i){if(void 0!==a||void 0!==t)throw TypeError("Bad Promise constructor");a=e,t=i}),this.resolve=n(a),this.reject=n(t)}var n=t(35);e.exports.f=function(e){return new i(e)}},function(e,a,t){"use strict";function i(e,a,t){var i,n,r,o=Array(t),c=8*t-a-1,l=(1<>1,u=23===a?G(2,-24)-G(2,-77):0,p=0,m=e<0||0===e&&1/e<0?1:0;for(e=B(e),e!=e||e===P?(n=e!=e?1:0,i=l):(i=H(k(e)/U),e*(r=G(2,-i))<1&&(i--,r*=2),e+=i+s>=1?u/r:u*G(2,1-s),e*r>=2&&(i++,r/=2),i+s>=l?(n=0,i=l):i+s>=1?(n=(e*r-1)*G(2,a),i+=s):(n=e*G(2,s-1)*G(2,a),i=0));a>=8;o[p++]=255&n,n/=256,a-=8);for(i=i<0;o[p++]=255&i,i/=256,c-=8);return o[--p]|=128*m,o}function n(e,a,t){var i,n=8*t-a-1,r=(1<>1,c=n-7,l=t-1,s=e[l--],u=127&s;for(s>>=7;c>0;u=256*u+e[l],l--,c-=8);for(i=u&(1<<-c)-1,u>>=-c,c+=a;c>0;i=256*i+e[l],l--,c-=8);if(0===u)u=1-o;else{if(u===r)return i?NaN:s?-P:P;i+=G(2,a),u-=o}return(s?-1:1)*i*G(2,u-a)}function r(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function o(e){return[255&e]}function c(e){return[255&e,e>>8&255]}function l(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function s(e){return i(e,52,8)}function u(e){return i(e,23,4)}function p(e,a,t){T(e[w],a,{get:function(){return this[t]}})}function m(e,a,t,i){var n=+t,r=O(n);if(r+a>e[W])throw M(L);var o=e[j]._b,c=r+e[V],l=o.slice(c,c+a);return i?l:l.reverse()}function _(e,a,t,i,n,r){var o=+t,c=O(o);if(c+a>e[W])throw M(L);for(var l=e[j]._b,s=c+e[V],u=i(+n),p=0;pX;)(Y=K[X++])in R||f(R,Y,F[Y]);v||(z.constructor=R)}var Z=new C(new R(2)),q=C[w].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||h(C[w],{setInt8:function(e,a){q.call(this,e,a<<24>>24)},setUint8:function(e,a){q.call(this,e,a<<24>>24)}},!0)}else R=function(e){N(this,R,"ArrayBuffer");var a=O(e);this._b=x.call(Array(a),0),this[W]=a},C=function(e,a,t){N(this,C,"DataView"),N(e,R,"DataView");var i=e[W],n=E(a);if(n<0||n>i)throw M("Wrong offset!");if(t=void 0===t?i-n:A(t),n+t>i)throw M("Wrong length!");this[j]=e,this[V]=n,this[W]=t},d&&(p(R,"byteLength","_l"),p(C,"buffer","_b"),p(C,"byteLength","_l"),p(C,"byteOffset","_o")),h(C[w],{getInt8:function(e){return m(this,1,e)[0]<<24>>24},getUint8:function(e){return m(this,1,e)[0]},getInt16:function(e){var a=m(this,2,e,arguments[1]);return(a[1]<<8|a[0])<<16>>16},getUint16:function(e){var a=m(this,2,e,arguments[1]);return a[1]<<8|a[0]},getInt32:function(e){return r(m(this,4,e,arguments[1]))},getUint32:function(e){return r(m(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return n(m(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return n(m(this,8,e,arguments[1]),52,8)},setInt8:function(e,a){_(this,1,e,o,a)},setUint8:function(e,a){_(this,1,e,o,a)},setInt16:function(e,a){_(this,2,e,c,a,arguments[2])},setUint16:function(e,a){_(this,2,e,c,a,arguments[2])},setInt32:function(e,a){_(this,4,e,l,a,arguments[2])},setUint32:function(e,a){_(this,4,e,l,a,arguments[2])},setFloat32:function(e,a){_(this,4,e,u,a,arguments[2])},setFloat64:function(e,a){_(this,8,e,s,a,arguments[2])}});I(R,"ArrayBuffer"),I(C,"DataView"),f(C[w],y.VIEW,!0),a.ArrayBuffer=R,a.DataView=C},function(e,a,t){"use strict";function i(){if(c)for(var e in l){var a=l[e],t=c.indexOf(e);if(t>-1||o("96",e),!s.plugins[t]){a.extractEvents||o("97",e),s.plugins[t]=a;var i=a.eventTypes;for(var r in i)n(i[r],a,r)||o("98",r,e)}}}function n(e,a,t){s.eventNameDispatchConfigs.hasOwnProperty(t)&&o("99",t),s.eventNameDispatchConfigs[t]=e;var i=e.phasedRegistrationNames;if(i){for(var n in i)if(i.hasOwnProperty(n)){var c=i[n];r(c,a,t)}return!0}return!!e.registrationName&&(r(e.registrationName,a,t),!0)}function r(e,a,t){s.registrationNameModules[e]&&o("100",e),s.registrationNameModules[e]=a,s.registrationNameDependencies[e]=a.eventTypes[t].dependencies}var o=t(11),c=(t(4),null),l={},s={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){c&&o("101"),c=Array.prototype.slice.call(e),i()},injectEventPluginsByName:function(e){var a=!1;for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];l.hasOwnProperty(t)&&l[t]===n||(l[t]&&o("102",t),l[t]=n,a=!0)}a&&i()},getPluginModuleForEvent:function(e){var a=e.dispatchConfig;if(a.registrationName)return s.registrationNameModules[a.registrationName]||null;if(void 0!==a.phasedRegistrationNames){var t=a.phasedRegistrationNames;for(var i in t)if(t.hasOwnProperty(i)){var n=s.registrationNameModules[t[i]];if(n)return n}}return null},_resetEventPlugins:function(){c=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];s.plugins.length=0;var a=s.eventNameDispatchConfigs;for(var t in a)a.hasOwnProperty(t)&&delete a[t];var i=s.registrationNameModules;for(var n in i)i.hasOwnProperty(n)&&delete i[n]}};e.exports=s},function(e,a,t){"use strict";function i(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function n(e){return"topMouseMove"===e||"topTouchMove"===e}function r(e){return"topMouseDown"===e||"topTouchStart"===e}function o(e,a,t,i){var n=e.type||"unknown-event";e.currentTarget=y.getNodeFromInstance(i),a?d.invokeGuardedCallbackWithCatch(n,t,e):d.invokeGuardedCallback(n,t,e),e.currentTarget=null}function c(e,a){var t=e._dispatchListeners,i=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n0&&i.length<20?t+" (keys: "+i.join(", ")+")":t}function r(e,a){var t=c.get(e);if(!t){return null}return t}var o=t(11),c=(t(71),t(149)),l=(t(55),t(64)),s=(t(4),t(10),{isMounted:function(e){var a=c.get(e);return!!a&&!!a._renderedComponent},enqueueCallback:function(e,a,t){s.validateCallback(a,t);var n=r(e);if(!n)return null;n._pendingCallbacks?n._pendingCallbacks.push(a):n._pendingCallbacks=[a],i(n)},enqueueCallbackInternal:function(e,a){e._pendingCallbacks?e._pendingCallbacks.push(a):e._pendingCallbacks=[a],i(e)},enqueueForceUpdate:function(e){var a=r(e,"forceUpdate");a&&(a._pendingForceUpdate=!0,i(a))},enqueueReplaceState:function(e,a,t){var n=r(e,"replaceState");n&&(n._pendingStateQueue=[a],n._pendingReplaceState=!0,void 0!==t&&null!==t&&(s.validateCallback(t,"replaceState"),n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t]),i(n))},enqueueSetState:function(e,a){var t=r(e,"setState");if(t){(t._pendingStateQueue||(t._pendingStateQueue=[])).push(a),i(t)}},enqueueElementInternal:function(e,a,t){e._pendingElement=a,e._context=t,i(e)},validateCallback:function(e,a){e&&"function"!=typeof e&&o("122",a,n(e))}});e.exports=s},function(e,a,t){"use strict";var i=(t(18),t(49)),n=(t(10),i);e.exports=n},function(e,a,t){"use strict";function i(e){var a,t=e.keyCode;return"charCode"in e?0===(a=e.charCode)&&13===t&&(a=13):a=t,a>=32||13===a?a:0}e.exports=i},function(e,a,t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}a.__esModule=!0,a.locationsAreEqual=a.createLocation=void 0;var n=Object.assign||function(e){for(var a=1;a or withRouter() outside a ");var l=a.route,u=(i||l.location).pathname;return n?Object(g.a)(u,{path:n,strict:r,exact:o,sensitive:c}):l.match},a.prototype.componentWillMount=function(){c()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),c()(!(this.props.component&&this.props.children&&!v(this.props.children)),"You should not use and in the same route; will be ignored"),c()(!(this.props.render&&this.props.children&&!v(this.props.children)),"You should not use and in the same route; will be ignored")},a.prototype.componentWillReceiveProps=function(e,a){c()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,a.router)})},a.prototype.render=function(){var e=this.state.match,a=this.props,t=a.children,i=a.component,n=a.render,r=this.context.router,o=r.history,c=r.route,l=r.staticContext,s=this.props.location||c.location,u={match:e,location:s,history:o,staticContext:l};return i?e?p.a.createElement(i,u):null:n?e?n(u):null:t?"function"==typeof t?t(u):v(t)?null:p.a.Children.only(t):null},a}(p.a.Component);y.propTypes={computedMatch:_.a.object,path:_.a.string,exact:_.a.bool,strict:_.a.bool,sensitive:_.a.bool,component:_.a.func,render:_.a.func,children:_.a.oneOfType([_.a.func,_.a.node]),location:_.a.object},y.contextTypes={router:_.a.shape({history:_.a.object.isRequired,route:_.a.object.isRequired,staticContext:_.a.object})},y.childContextTypes={router:_.a.object.isRequired},a.a=y},function(e,a,t){"use strict";var i=t(202);a.a=i.a},function(e,a,t){"use strict";function i(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(478),n=t(1019),r=t(1020),o=t(1021),c=t(482);t(481);t.d(a,"createStore",function(){return i.b}),t.d(a,"combineReducers",function(){return n.a}),t.d(a,"bindActionCreators",function(){return r.a}),t.d(a,"applyMiddleware",function(){return o.a}),t.d(a,"compose",function(){return c.a})},function(e,a,t){"use strict";var i=t(83),n=i.a.Symbol;a.a=n},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=t(1026);t.d(a,"ConnectedRouter",function(){return i.a});var n=t(485);t.d(a,"LOCATION_CHANGE",function(){return n.a}),t.d(a,"routerReducer",function(){return n.b});var r=t(486);t.d(a,"CALL_HISTORY_METHOD",function(){return r.a}),t.d(a,"push",function(){return r.e}),t.d(a,"replace",function(){return r.f}),t.d(a,"go",function(){return r.b}),t.d(a,"goBack",function(){return r.c}),t.d(a,"goForward",function(){return r.d}),t.d(a,"routerActions",function(){return r.g});var o=t(1027);t.d(a,"routerMiddleware",function(){return o.a})},function(e,a,t){var i,n;/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ -!function(){"use strict";function t(){for(var e=[],a=0;a=a.length?{value:void 0,done:!0}:(e=i(a,t),this._i+=e.length,{value:e,done:!1})})},function(e,a){var t=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:t)(e)}},function(e,a){e.exports=!0},function(e,a,t){var i=t(130),n=t(1124),r=t(313),o=t(303)("IE_PROTO"),c=function(){},l=function(){var e,a=t(507)("iframe"),i=r.length;for(a.style.display="none",t(1128).appendChild(a),a.src="javascript:",e=a.contentWindow.document,e.open(),e.write("