@performant-software/geospatial 2.1.0-beta.4 → 2.1.0-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -9
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +1 -19
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +9 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +19 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.es.js +8 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +39 -2102
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es11.js +2102 -19
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es110.js +2 -2
- package/dist/index.es111.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es12.js +19 -12
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es13.js +12 -6
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +6 -5
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +6 -28
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es150.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es16.js +6 -8
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es17.js +5 -5
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es18.js +28 -10
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +8 -17
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +5 -5
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +2 -2
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +9 -4
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es216.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es22.js +17 -5
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es221.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es228.js +3 -8
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +8 -3
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +5 -7
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es238.js +1 -1
- package/dist/index.es24.js +5 -7
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es243.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es25.js +5 -4
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es250.js +15 -4
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +4 -15
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es26.js +7 -4
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +6 -6
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +4 -15
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +4 -12
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +22 -63
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +7 -15
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +14 -6
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +12 -5
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +15 -4
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +6 -17
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +5 -18
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +4 -14
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +17 -5
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +17 -6
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -8
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +8 -8
- package/dist/index.es40.js +6 -4
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +6 -18
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +10 -6
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +4 -6
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +21 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +1 -39
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es5.js +27 -19
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es52.js +6 -2
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +2 -30
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +2 -602
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +29 -5
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +602 -2
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +2 -2
- package/dist/index.es6.js +6 -6
- package/dist/index.es62.js +26 -26
- package/dist/index.es63.js +2 -2
- package/dist/index.es68.js +1 -1
- package/dist/index.es7.js +7 -7
- package/dist/index.es77.js +2 -2
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es84.js +4 -4
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es9.js +18 -10
- package/dist/index.es9.js.map +1 -1
- package/dist/index.es91.js +1 -1
- package/package.json +2 -2
- package/src/components/GeoJsonLayer.js +10 -66
- package/src/components/LocationMarkers.js +51 -8
- package/src/index.js +1 -0
- package/src/utils/Map.js +29 -1
- package/src/utils/MapStyles.js +9 -3
- package/types/components/GeoJsonLayer.js.flow +10 -66
- package/types/components/LocationMarkers.js.flow +51 -8
- package/types/index.js.flow +1 -0
- package/types/utils/Map.js.flow +29 -1
- package/types/utils/MapStyles.js.flow +9 -3
package/dist/index.cjs163.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("./index.
|
|
1
|
+
"use strict";const u=require("./index.cjs18.js");function i(r,e){if(e==null||e<1)return[];for(var t=[],l=0,s=r.length;l<s;)t.push(u.slice.call(r,l,l+=e));return t}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs163.js.map
|
package/dist/index.cjs168.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("react"),i=require("./index.cjs195.js"),r=require("./index.
|
|
1
|
+
"use strict";const e=require("react"),i=require("./index.cjs195.js"),r=require("./index.cjs13.js");function c(t){const n=r(({mapLib:o})=>new o.AttributionControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(c);
|
|
2
2
|
//# sourceMappingURL=index.cjs168.js.map
|
package/dist/index.cjs169.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("react"),c=require("./index.cjs195.js"),l=require("./index.
|
|
1
|
+
"use strict";const t=require("react"),c=require("./index.cjs195.js"),l=require("./index.cjs13.js");function r(e){const n=l(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{c.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}t.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs169.js.map
|
package/dist/index.cjs17.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const r=require("./index.cjs62.js"),i=require("./index.cjs63.js");var e=i(r);e._=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs17.js.map
|
package/dist/index.cjs17.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs17.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs17.js","sources":["../../../node_modules/underscore/modules/index-default.js"],"sourcesContent":["// Default Export\n// ==============\n// In this module, we mix our bundled exports into the `_` object and export\n// the result. This is analogous to setting `module.exports = _` in CommonJS.\n// Hence, this module is also the entry point of our UMD bundle and the package\n// entry point for CommonJS and AMD users. In other words, this is (the source\n// of) the module you are interfacing with when you do any of the following:\n//\n// ```js\n// // CommonJS\n// var _ = require('underscore');\n//\n// // AMD\n// define(['underscore'], function(_) {...});\n//\n// // UMD in the browser\n// // _ is available as a global variable\n// ```\nimport * as allExports from './index.js';\nimport { mixin } from './index.js';\n\n// Add all of the Underscore functions to the wrapper object.\nvar _ = mixin(allExports);\n// Legacy Node.js API.\n_._ = _;\n// Export the Underscore API.\nexport default _;\n"],"names":["_","mixin","allExports"],"mappings":"+EAsBI,IAAAA,EAAIC,EAAMC,CAAU,EAExBF,EAAE,EAAIA","x_google_ignoreList":[0]}
|
package/dist/index.cjs170.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("react"),d=require("./index.cjs195.js"),v=require("./index.
|
|
1
|
+
"use strict";const c=require("react"),d=require("./index.cjs195.js"),v=require("./index.cjs13.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
|
|
2
2
|
//# sourceMappingURL=index.cjs170.js.map
|
package/dist/index.cjs171.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("react"),i=require("./index.cjs195.js"),c=require("./index.
|
|
1
|
+
"use strict";const e=require("react"),i=require("./index.cjs195.js"),c=require("./index.cjs13.js");function l(t){const n=c(({mapLib:o})=>new o.NavigationControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(l);
|
|
2
2
|
//# sourceMappingURL=index.cjs171.js.map
|
package/dist/index.cjs172.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("react"),a=require("./index.cjs195.js"),l=require("./index.
|
|
1
|
+
"use strict";const n=require("react"),a=require("./index.cjs195.js"),l=require("./index.cjs13.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs172.js.map
|
package/dist/index.cjs18.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o="1.13.6",a=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},r=Array.prototype,e=Object.prototype,s=typeof Symbol<"u"?Symbol.prototype:null,i=r.push,n=r.slice,l=e.toString,p=e.hasOwnProperty,t=typeof ArrayBuffer<"u",y=typeof DataView<"u",u=Array.isArray,f=Object.keys,b=Object.create,v=t&&ArrayBuffer.isView,A=isNaN,g=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],P=Math.pow(2,53)-1;exports.ArrayProto=r;exports.MAX_ARRAY_INDEX=P;exports.ObjProto=e;exports.SymbolProto=s;exports.VERSION=o;exports._isFinite=g;exports._isNaN=A;exports.hasEnumBug=S;exports.hasOwnProperty=p;exports.nativeCreate=b;exports.nativeIsArray=u;exports.nativeIsView=v;exports.nativeKeys=f;exports.nonEnumerableProps=O;exports.push=i;exports.root=a;exports.slice=n;exports.supportsArrayBuffer=t;exports.supportsDataView=y;exports.toString=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs18.js.map
|
package/dist/index.cjs18.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs18.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs18.js","sources":["../../../node_modules/underscore/modules/_setup.js"],"sourcesContent":["// Current version.\nexport var VERSION = '1.13.6';\n\n// Establish the root object, `window` (`self`) in the browser, `global`\n// on the server, or `this` in some virtual machines. We use `self`\n// instead of `window` for `WebWorker` support.\nexport var root = (typeof self == 'object' && self.self === self && self) ||\n (typeof global == 'object' && global.global === global && global) ||\n Function('return this')() ||\n {};\n\n// Save bytes in the minified (but not gzipped) version:\nexport var ArrayProto = Array.prototype, ObjProto = Object.prototype;\nexport var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;\n\n// Create quick reference variables for speed access to core prototypes.\nexport var push = ArrayProto.push,\n slice = ArrayProto.slice,\n toString = ObjProto.toString,\n hasOwnProperty = ObjProto.hasOwnProperty;\n\n// Modern feature detection.\nexport var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined',\n supportsDataView = typeof DataView !== 'undefined';\n\n// All **ECMAScript 5+** native function implementations that we hope to use\n// are declared here.\nexport var nativeIsArray = Array.isArray,\n nativeKeys = Object.keys,\n nativeCreate = Object.create,\n nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;\n\n// Create references to these builtin functions because we override them.\nexport var _isNaN = isNaN,\n _isFinite = isFinite;\n\n// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\nexport var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');\nexport var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',\n 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\n// The largest integer that can be represented exactly.\nexport var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n"],"names":["VERSION","root","ArrayProto","ObjProto","SymbolProto","push","slice","toString","hasOwnProperty","supportsArrayBuffer","supportsDataView","nativeIsArray","nativeKeys","nativeCreate","nativeIsView","_isNaN","_isFinite","hasEnumBug","nonEnumerableProps","MAX_ARRAY_INDEX"],"mappings":"gFACO,IAAIA,EAAU,SAKVC,EAAQ,OAAO,MAAQ,UAAY,KAAK,OAAS,MAAQ,MACzD,OAAO,QAAU,UAAY,OAAO,SAAW,QAAU,QAC1D,SAAS,aAAa,EAAA,GACtB,CAAC,EAGAC,EAAa,MAAM,UAAWC,EAAW,OAAO,UAChDC,EAAc,OAAO,OAAW,IAAc,OAAO,UAAY,KAGjEC,EAAOH,EAAW,KACzBI,EAAQJ,EAAW,MACnBK,EAAWJ,EAAS,SACpBK,EAAiBL,EAAS,eAGnBM,EAAsB,OAAO,YAAgB,IACpDC,EAAmB,OAAO,SAAa,IAIhCC,EAAgB,MAAM,QAC7BC,EAAa,OAAO,KACpBC,EAAe,OAAO,OACtBC,EAAeL,GAAuB,YAAY,OAG3CM,EAAS,MAChBC,EAAY,SAGLC,EAAa,CAAC,CAAC,SAAU,IAAI,EAAE,qBAAqB,UAAU,EAC9DC,EAAqB,CAAC,UAAW,gBAAiB,WAC3D,uBAAwB,iBAAkB,gBAAgB,EAGjDC,EAAkB,KAAK,IAAI,EAAG,EAAE,EAAI","x_google_ignoreList":[0]}
|
package/dist/index.cjs19.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs199.js"),t=require("./index.cjs18.js");var o=e("Function"),c=t.root.document&&t.root.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof c!="function"&&(o=function(n){return typeof n=="function"||!1});const i=o;module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs19.js.map
|
package/dist/index.cjs19.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs19.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs19.js","sources":["../../../node_modules/underscore/modules/isFunction.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { root } from './_setup.js';\n\nvar isFunction = tagTester('Function');\n\n// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old\n// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).\nvar nodelist = root.document && root.document.childNodes;\nif (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {\n isFunction = function(obj) {\n return typeof obj == 'function' || false;\n };\n}\n\nexport default isFunction;\n"],"names":["isFunction","tagTester","nodelist","root","obj","isFunction$1"],"mappings":"gFAGA,IAAIA,EAAaC,EAAU,UAAU,EAIjCC,EAAWC,EAAAA,KAAK,UAAYA,EAAAA,KAAK,SAAS,WAC1C,MAAO,KAAO,YAAc,OAAO,WAAa,UAAY,OAAOD,GAAY,aACjFF,EAAa,SAASI,EAAK,CAClB,OAAA,OAAOA,GAAO,YAAc,EAAA,GAIvC,MAAAC,EAAeL","x_google_ignoreList":[0]}
|
package/dist/index.cjs199.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs18.js");function u(t){var r="[object "+t+"]";return function(e){return n.toString.call(e)===r}}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs199.js.map
|
package/dist/index.cjs2.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs11.js"),n=require("react");require("./index.cjs12.js");const d=require("./index.cjs13.js"),u=n.forwardRef((e,o)=>{const r=d(()=>new a(e),({map:t})=>{t.on("draw.create",e.onCreate),t.on("draw.update",e.onUpdate),t.on("draw.delete",e.onDelete)},({map:t})=>{t.off("draw.create",e.onCreate),t.off("draw.update",e.onUpdate),t.off("draw.delete",e.onDelete)},{position:e.position});return n.useImperativeHandle(o,()=>r,[r]),null});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs2.js.map
|
package/dist/index.cjs20.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs18.js"),e=require("./index.cjs228.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs20.js.map
|
package/dist/index.cjs20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs20.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs20.js","sources":["../../../node_modules/underscore/modules/_stringTagBug.js"],"sourcesContent":["import { supportsDataView } from './_setup.js';\nimport hasObjectTag from './_hasObjectTag.js';\n\n// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.\n// In IE 11, the most common among them, this problem also applies to\n// `Map`, `WeakMap` and `Set`.\nexport var hasStringTagBug = (\n supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8)))\n ),\n isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map));\n"],"names":["hasStringTagBug","supportsDataView","hasObjectTag","isIE11"],"mappings":"mJAMO,IAAIA,EACLC,EAAoB,kBAAAC,EAAa,IAAI,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,EAEnEC,EAAU,OAAO,IAAQ,KAAeD,MAAiB,GAAG","x_google_ignoreList":[0]}
|
package/dist/index.cjs200.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs18.js");function s(r,t){return r!=null&&e.hasOwnProperty.call(r,t)}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs200.js.map
|
package/dist/index.cjs201.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs229.js"),t=require("./index.cjs203.js"),r=e(t);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs201.js.map
|
package/dist/index.cjs205.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs202.js"),i=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs202.js"),i=require("./index.cjs19.js"),h=require("./index.cjs87.js");function d(t){var f=s(t);return function(e){if(e==null)return!1;var l=h(e);if(s(l))return!1;for(var r=0;r<f;r++)if(!i(e[t[r]]))return!1;return t!==u||!i(e[a])}}var a="forEach",o="has",n=["clear","delete"],c=["get",o,"set"],M=n.concat(a,c),u=n.concat(c),g=["add"].concat(n,a,o);exports.ie11fingerprint=d;exports.mapMethods=M;exports.setMethods=g;exports.weakMapMethods=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs205.js.map
|
package/dist/index.cjs206.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs18.js"),s=require("./index.cjs19.js"),i=require("./index.cjs200.js");function a(t){for(var n={},c=t.length,o=0;o<c;++o)n[t[o]]=!0;return{contains:function(u){return n[u]===!0},push:function(u){return n[u]=!0,t.push(u)}}}function p(t,n){n=a(n);var c=e.nonEnumerableProps.length,o=t.constructor,u=s(o)&&o.prototype||e.ObjProto,r="constructor";for(i(t,r)&&!n.contains(r)&&n.push(r);c--;)r=e.nonEnumerableProps[c],r in t&&t[r]!==u[r]&&!n.contains(r)&&n.push(r)}module.exports=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs206.js.map
|
package/dist/index.cjs208.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("./index.cjs65.js"),t=require("./index.
|
|
1
|
+
"use strict";const u=require("./index.cjs65.js"),t=require("./index.cjs18.js");function i(){return function(){}}function s(e){if(!u(e))return{};if(t.nativeCreate)return t.nativeCreate(e);var r=i();r.prototype=e;var n=new r;return r.prototype=null,n}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs208.js.map
|
package/dist/index.cjs209.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs22.js");require("./index.cjs26.js");function e(r){return t.toPath(r)}module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs209.js.map
|
package/dist/index.cjs21.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.cjs199.js"),
|
|
1
|
+
"use strict";const r=require("./index.cjs199.js"),s=require("./index.cjs200.js");var e=r("Arguments");(function(){e(arguments)||(e=function(t){return s(t,"callee")})})();const n=e;module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs21.js.map
|
package/dist/index.cjs21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs21.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs21.js","sources":["../../../node_modules/underscore/modules/isArguments.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport has from './_has.js';\n\nvar isArguments = tagTester('Arguments');\n\n// Define a fallback version of the method in browsers (ahem, IE < 9), where\n// there isn't any inspectable \"Arguments\" type.\n(function() {\n if (!isArguments(arguments)) {\n isArguments = function(obj) {\n return has(obj, 'callee');\n };\n }\n}());\n\nexport default isArguments;\n"],"names":["isArguments","tagTester","obj","has","isArguments$1"],"mappings":"iFAGA,IAAIA,EAAcC,EAAU,WAAW,GAItC,UAAW,CACLD,EAAY,SAAS,IACxBA,EAAc,SAASE,EAAK,CACnB,OAAAC,EAAID,EAAK,QAAQ,CAAA,EAG9B,KAEA,MAAAE,EAAeJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs211.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs22.js"),s=require("./index.cjs216.js"),n=require("./index.cjs27.js");function u(e,r,i){return t.iteratee!==n?t.iteratee(e,r):s(e,r,i)}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs211.js.map
|
package/dist/index.cjs216.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.cjs101.js"),n=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs101.js"),n=require("./index.cjs19.js"),s=require("./index.cjs65.js"),c=require("./index.cjs78.js"),o=require("./index.cjs106.js"),u=require("./index.cjs104.js"),q=require("./index.cjs212.js");function f(r,t,e){return r==null?i:n(r)?q(r,t,e):s(r)&&!c(r)?o(r):u(r)}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs216.js.map
|
package/dist/index.cjs218.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.cjs202.js"),l=require("./index.cjs221.js"),x=require("./index.cjs78.js"),L=require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs202.js"),l=require("./index.cjs221.js"),x=require("./index.cjs78.js"),L=require("./index.cjs21.js");function q(i,n,c,r){if(r=r||[],!n&&n!==0)n=1/0;else if(n<=0)return r.concat(i);for(var s=r.length,f=0,y=a(i);f<y;f++){var e=i[f];if(l(e)&&(x(e)||L(e)))if(n>1)q(e,n-1,c,r),s=r.length;else for(var g=0,A=e.length;g<A;)r[s++]=e[g++];else c||(r[s++]=e)}return r}module.exports=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs218.js.map
|
package/dist/index.cjs22.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs18.js");function t(e){if(e instanceof t)return e;if(!(this instanceof t))return new t(e);this._wrapped=e}t.VERSION=r.VERSION;t.prototype.value=function(){return this._wrapped};t.prototype.valueOf=t.prototype.toJSON=t.prototype.value;t.prototype.toString=function(){return String(this._wrapped)};module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs22.js.map
|
package/dist/index.cjs22.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs22.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs22.js","sources":["../../../node_modules/underscore/modules/underscore.js"],"sourcesContent":["import { VERSION } from './_setup.js';\n\n// If Underscore is called as a function, it returns a wrapped object that can\n// be used OO-style. This wrapper holds altered versions of all functions added\n// through `_.mixin`. Wrapped objects may be chained.\nexport default function _(obj) {\n if (obj instanceof _) return obj;\n if (!(this instanceof _)) return new _(obj);\n this._wrapped = obj;\n}\n\n_.VERSION = VERSION;\n\n// Extracts the result from a wrapped and chained object.\n_.prototype.value = function() {\n return this._wrapped;\n};\n\n// Provide unwrapping proxies for some methods used in engine operations\n// such as arithmetic and JSON stringification.\n_.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n_.prototype.toString = function() {\n return String(this._wrapped);\n};\n"],"names":["_","obj","VERSION"],"mappings":"iDAKA,SAAwBA,EAAEC,EAAK,CAC7B,GAAIA,aAAeD,EAAU,OAAAC,EAC7B,GAAI,EAAE,gBAAgBD,GAAW,OAAA,IAAIA,EAAEC,CAAG,EAC1C,KAAK,SAAWA,CAClB,CAEAD,EAAE,QAAUE,EAAAA,QAGZF,EAAE,UAAU,MAAQ,UAAW,CAC7B,OAAO,KAAK,QACd,EAIAA,EAAE,UAAU,QAAUA,EAAE,UAAU,OAASA,EAAE,UAAU,MAEvDA,EAAE,UAAU,SAAW,UAAW,CACzB,OAAA,OAAO,KAAK,QAAQ,CAC7B","x_google_ignoreList":[0]}
|
package/dist/index.cjs220.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.cjs202.js"),l=require("./index.
|
|
1
|
+
"use strict";const o=require("./index.cjs202.js"),l=require("./index.cjs18.js"),h=require("./index.cjs80.js");function g(s,f,c){return function(t,u,e){var r=0,n=o(t);if(typeof e=="number")s>0?r=e>=0?e:Math.max(e+n,r):n=e>=0?Math.min(e+1,n):e+n+1;else if(c&&e&&n)return e=c(t,u),t[e]===u?e:-1;if(u!==u)return e=f(l.slice.call(t,r,n),h),e>=0?e+r:-1;for(e=s>0?r:n-1;e>=0&&e<n;e+=s)if(t[e]===u)return e;return-1}}module.exports=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs220.js.map
|
package/dist/index.cjs221.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs229.js"),r=require("./index.cjs202.js"),t=e(r);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs221.js.map
|
package/dist/index.cjs225.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs22.js");function c(n,e){return n._chain?r(e).chain():e}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs225.js.map
|
package/dist/index.cjs228.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs199.js"),e=t("Object");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs228.js.map
|
package/dist/index.cjs228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
|
package/dist/index.cjs229.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("./index.cjs18.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CACtB,IAAAC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,iBAAA,CAEnF","x_google_ignoreList":[0]}
|
package/dist/index.cjs23.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs199.js"),t=require("./index.cjs20.js"),e=require("./index.cjs205.js"),i=t.isIE11?e.ie11fingerprint(e.mapMethods):r("Map");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs23.js.map
|
package/dist/index.cjs23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs23.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs23.js","sources":["../../../node_modules/underscore/modules/isMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n"],"names":["isIE11","ie11fingerprint","mapMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,UAAU,EAAIC,EAAU,KAAK","x_google_ignoreList":[0]}
|
package/dist/index.cjs238.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const A=require("./index.
|
|
1
|
+
"use strict";const A=require("./index.cjs251.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
|
|
2
2
|
//# sourceMappingURL=index.cjs238.js.map
|
package/dist/index.cjs24.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs199.js"),t=require("./index.cjs20.js"),e=require("./index.cjs205.js"),i=t.isIE11?e.ie11fingerprint(e.weakMapMethods):r("WeakMap");module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
package/dist/index.cjs24.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs24.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs24.js","sources":["../../../node_modules/underscore/modules/isWeakMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n"],"names":["isIE11","ie11fingerprint","weakMapMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,cAAc,EAAIC,EAAU,SAAS","x_google_ignoreList":[0]}
|
package/dist/index.cjs243.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.cjs233.js"),Q=require("./index.cjs232.js"),e=require("./index.cjs234.js"),j=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs233.js"),Q=require("./index.cjs232.js"),e=require("./index.cjs234.js"),j=require("./index.cjs251.js"),T=require("./index.cjs252.js");function U(d,G){var D=e.cos(d),x=D>0,J=e.abs(D)>e.epsilon;function K(n,i,o,r){Q.circleStream(r,d,G,o,n,i)}function L(n,i){return e.cos(n)*e.cos(i)>D}function M(n){var i,o,r,C,u;return{lineStart:function(){C=r=!1,u=1},point:function(s,v){var c=[s,v],a,l=L(s,v),z=x?l?0:k(s,v):l?k(s+(s<0?e.pi:-e.pi),v):0;if(!i&&(C=r=l)&&n.lineStart(),l!==r&&(a=h(i,c),(!a||j(i,a)||j(c,a))&&(c[0]+=e.epsilon,c[1]+=e.epsilon,l=L(c[0],c[1]))),l!==r)u=0,l?(n.lineStart(),a=h(c,i),n.point(a[0],a[1])):(a=h(i,c),n.point(a[0],a[1]),n.lineEnd()),i=a;else if(J&&i&&x^l){var p;!(z&o)&&(p=h(c,i,!0))&&(u=0,x?(n.lineStart(),n.point(p[0][0],p[0][1]),n.point(p[1][0],p[1][1]),n.lineEnd()):(n.point(p[1][0],p[1][1]),n.lineEnd(),n.lineStart(),n.point(p[0][0],p[0][1])))}l&&(!i||!j(i,c))&&n.point(c[0],c[1]),i=c,r=l,o=z},lineEnd:function(){r&&n.lineEnd(),i=null},clean:function(){return u|(C&&r)<<1}}}function h(n,i,o){var r=t.cartesian(n),C=t.cartesian(i),u=[1,0,0],s=t.cartesianCross(r,C),v=t.cartesianDot(s,s),c=s[0],a=v-c*c;if(!a)return!o&&n;var l=D*v/a,z=-D*c/a,p=t.cartesianCross(u,s),S=t.cartesianScale(u,l),N=t.cartesianScale(s,z);t.cartesianAddInPlace(S,N);var I=p,B=t.cartesianDot(S,I),R=t.cartesianDot(I,I),w=B*B-R*(t.cartesianDot(S,S)-1);if(!(w<0)){var y=e.sqrt(w),f=t.cartesianScale(I,(-B-y)/R);if(t.cartesianAddInPlace(f,S),f=t.spherical(f),!o)return f;var q=n[0],P=i[0],E=n[1],A=i[1],H;P<q&&(H=q,q=P,P=H);var b=P-q,g=e.abs(b-e.pi)<e.epsilon,O=g||b<e.epsilon;if(!g&&A<E&&(H=E,E=A,A=H),O?g?E+A>0^f[1]<(e.abs(f[0]-q)<e.epsilon?E:A):E<=f[1]&&f[1]<=A:b>e.pi^(q<=f[0]&&f[0]<=P)){var F=t.cartesianScale(I,(-B+y)/R);return t.cartesianAddInPlace(F,S),[f,t.spherical(F)]}}}function k(n,i){var o=x?d:e.pi-d,r=0;return n<-o?r|=1:n>o&&(r|=2),i<-o?r|=4:i>o&&(r|=8),r}return T(L,M,K,x?[0,-d]:[-e.pi,d-e.pi])}module.exports=U;
|
|
2
2
|
//# sourceMappingURL=index.cjs243.js.map
|
package/dist/index.cjs246.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs248.js"),s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs248.js"),s=require("./index.cjs250.js");function f(t,l,u){var e=l[1][0]-l[0][0],n=l[1][1]-l[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),a!=null&&t.clipExtent(null),b(u,t.stream(s));var i=s.result(),r=Math.min(e/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),c=+l[0][0]+(e-r*(i[1][0]+i[0][0]))/2,E=+l[0][1]+(n-r*(i[1][1]+i[0][1]))/2;return a!=null&&t.clipExtent(a),t.scale(r*150).translate([c,E])}function m(t,l,u){return f(t,[[0,0],l],u)}exports.fitExtent=f;exports.fitSize=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs246.js.map
|
package/dist/index.cjs25.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs199.js"),r=require("./index.cjs20.js"),e=require("./index.cjs205.js"),s=r.isIE11?e.ie11fingerprint(e.setMethods):t("Set");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs25.js.map
|
package/dist/index.cjs25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs25.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs25.js","sources":["../../../node_modules/underscore/modules/isSet.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n"],"names":["isIE11","ie11fingerprint","setMethods","tagTester"],"mappings":"+GAIeA,EAAAA,EAAAA,OAASC,EAAAA,gBAAgBC,EAAAA,UAAU,EAAIC,EAAU,KAAK","x_google_ignoreList":[0]}
|
package/dist/index.cjs250.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./index.cjs249.js");var t=1/0,e=t,i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs250.js.map
|
package/dist/index.cjs250.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs250.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs250.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACb,IAAAC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAC3B,OAAAD,EAAAC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,GACbC,EAAIR,IAASA,EAAAQ,GACbA,EAAIN,IAASA,EAAAM,EACnB","x_google_ignoreList":[0]}
|
package/dist/index.cjs251.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("./index.cjs234.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs251.js.map
|
package/dist/index.cjs251.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs251.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.cjs251.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,SAC1D","x_google_ignoreList":[0]}
|
package/dist/index.cjs26.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("./index.cjs22.js"),o=require("./index.cjs78.js");function e(r){return o(r)?r:[r]}t.toPath=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs26.js.map
|
package/dist/index.cjs26.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs26.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs26.js","sources":["../../../node_modules/underscore/modules/toPath.js"],"sourcesContent":["import _ from './underscore.js';\nimport isArray from './isArray.js';\n\n// Normalize a (deep) property `path` to array.\n// Like `_.iteratee`, this function can be customized.\nexport default function toPath(path) {\n return isArray(path) ? path : [path];\n}\n_.toPath = toPath;\n"],"names":["toPath","path","isArray","_"],"mappings":"+EAKA,SAAwBA,EAAOC,EAAM,CACnC,OAAOC,EAAQD,CAAI,EAAIA,EAAO,CAACA,CAAI,CACrC,CACAE,EAAE,OAASH","x_google_ignoreList":[0]}
|
package/dist/index.cjs27.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs22.js"),n=require("./index.cjs216.js");function e(t,r){return n(t,r,1/0)}i.iteratee=e;module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs27.js.map
|
package/dist/index.cjs27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs27.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs27.js","sources":["../../../node_modules/underscore/modules/iteratee.js"],"sourcesContent":["import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\n\n// External wrapper for our callback generator. Users may customize\n// `_.iteratee` if they want additional predicate/iteratee shorthand styles.\n// This abstraction hides the internal-only `argCount` argument.\nexport default function iteratee(value, context) {\n return baseIteratee(value, context, Infinity);\n}\n_.iteratee = iteratee;\n"],"names":["iteratee","value","context","baseIteratee","_"],"mappings":"gFAMwB,SAAAA,EAASC,EAAOC,EAAS,CACxC,OAAAC,EAAaF,EAAOC,EAAS,GAAQ,CAC9C,CACAE,EAAE,SAAWJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs28.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs213.js"),s=require("./index.cjs214.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs28.js.map
|
package/dist/index.cjs28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs28.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs28.js","sources":["../../../node_modules/underscore/modules/escape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport escapeMap from './_escapeMap.js';\n\n// Function for escaping strings to HTML interpolation.\nexport default createEscaper(escapeMap);\n"],"names":["createEscaper","escapeMap"],"mappings":"iFAIeA,EAAAA,EAAcC,CAAS","x_google_ignoreList":[0]}
|
package/dist/index.cjs29.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs213.js"),s=require("./index.cjs215.js"),c=e(s);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs29.js.map
|
package/dist/index.cjs29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs29.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs29.js","sources":["../../../node_modules/underscore/modules/unescape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport unescapeMap from './_unescapeMap.js';\n\n// Function for unescaping strings from HTML interpolation.\nexport default createEscaper(unescapeMap);\n"],"names":["createEscaper","unescapeMap"],"mappings":"iFAIeA,EAAAA,EAAcC,CAAW","x_google_ignoreList":[0]}
|
package/dist/index.cjs3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs14.js"),r=require("react"),i=require("./index.cjs12.js"),s=require("./index.cjs10.js"),l=t=>{const[o,a]=r.useState(t.data);return r.useEffect(()=>{t.url&&fetch(t.url).then(n=>n.json()).then(n=>a(n))},[t.url]),e.jsxRuntimeExports.jsxs(i.Source,{data:o,type:"geojson",children:[e.jsxRuntimeExports.jsx(i.Layer,{filter:["!=","$type","Point"],paint:t.fillStyle,type:"fill"}),e.jsxRuntimeExports.jsx(i.Layer,{filter:["!=","$type","Point"],paint:t.lineStyle,type:"line"}),e.jsxRuntimeExports.jsx(i.Layer,{filter:["==","$type","Point"],paint:t.pointStyle,type:"circle"})]})};l.defaultProps={fillStyle:s.fill,pointStyle:s.point,strokeStyle:s.stroke};module.exports=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs3.js.map
|
package/dist/index.cjs3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n
|
|
1
|
+
{"version":3,"file":"index.cjs3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n useEffect,\n useState\n} from 'react';\nimport { Layer, Source } from 'react-map-gl';\nimport MapStyles from '../utils/MapStyles';\n\ntype Props = {\n data?: { [key: string]: any },\n fillStyle?: { [key: string]: any },\n lineStyle?: { [key: string]: any },\n pointStyle?: { [key: string]: any },\n url?: string\n};\n\nconst GeoJsonLayer = (props: Props) => {\n const [data, setData] = useState(props.data);\n\n /**\n * If the data is passed as a URL, fetches the passed URL and sets the response on the state.\n */\n useEffect(() => {\n if (props.url) {\n fetch(props.url)\n .then((response) => response.json())\n .then((json) => setData(json));\n }\n }, [props.url]);\n\n return (\n <Source\n data={data}\n type='geojson'\n >\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.fillStyle}\n type='fill'\n />\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.lineStyle}\n type='line'\n />\n <Layer\n filter={['==', '$type', 'Point']}\n paint={props.pointStyle}\n type='circle'\n />\n </Source>\n );\n};\n\nGeoJsonLayer.defaultProps = {\n fillStyle: MapStyles.fill,\n pointStyle: MapStyles.point,\n strokeStyle: MapStyles.stroke\n};\n\nexport default GeoJsonLayer;\n"],"names":["GeoJsonLayer","props","data","setData","useState","useEffect","response","json","jsxs","Source","jsx","Layer","MapStyles"],"mappings":"gIAiBMA,EAAgBC,GAAiB,CACrC,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAAA,SAASH,EAAM,IAAI,EAK3CI,OAAAA,EAAAA,UAAU,IAAM,CACVJ,EAAM,KACR,MAAMA,EAAM,GAAG,EACZ,KAAMK,GAAaA,EAAS,KAAK,CAAC,EAClC,KAAMC,GAASJ,EAAQI,CAAI,CAAC,CACjC,EACC,CAACN,EAAM,GAAG,CAAC,EAGZO,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAAP,EACA,KAAK,UAEL,SAAA,CAAAQ,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,UACb,KAAK,MAAA,CACP,EACAS,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,UACb,KAAK,MAAA,CACP,EACAS,EAAA,kBAAA,IAACC,EAAA,MAAA,CACC,OAAQ,CAAC,KAAM,QAAS,OAAO,EAC/B,MAAOV,EAAM,WACb,KAAK,QAAA,CACP,CAAA,CAAA,CAAA,CAGN,EAEAD,EAAa,aAAe,CAC1B,UAAWY,EAAU,KACrB,WAAYA,EAAU,MACtB,YAAaA,EAAU,MACzB"}
|
package/dist/index.cjs30.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./index.cjs22.js"),t=e.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs30.js.map
|
package/dist/index.cjs30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs30.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs30.js","sources":["../../../node_modules/underscore/modules/templateSettings.js"],"sourcesContent":["import _ from './underscore.js';\n\n// By default, Underscore uses ERB-style template delimiters. Change the\n// following template settings to use alternative delimiters.\nexport default _.templateSettings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n};\n"],"names":["_"],"mappings":"iDAIeA,EAAAA,EAAE,iBAAmB,CAClC,SAAU,kBACV,YAAa,mBACb,OAAQ,kBACV","x_google_ignoreList":[0]}
|
package/dist/index.cjs31.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const l=require("./index.cjs64.js"),h=require("./index.cjs217.js"),i=require("./index.cjs22.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs31.js.map
|
package/dist/index.cjs31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs31.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs31.js","sources":["../../../node_modules/underscore/modules/partial.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport executeBound from './_executeBound.js';\nimport _ from './underscore.js';\n\n// Partially apply a function by creating a version that has had some of its\n// arguments pre-filled, without changing its dynamic `this` context. `_` acts\n// as a placeholder by default, allowing any combination of arguments to be\n// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument.\nvar partial = restArguments(function(func, boundArgs) {\n var placeholder = partial.placeholder;\n var bound = function() {\n var position = 0, length = boundArgs.length;\n var args = Array(length);\n for (var i = 0; i < length; i++) {\n args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i];\n }\n while (position < arguments.length) args.push(arguments[position++]);\n return executeBound(func, bound, this, this, args);\n };\n return bound;\n});\n\npartial.placeholder = _;\nexport default partial;\n"],"names":["partial","restArguments","func","boundArgs","placeholder","bound","position","length","args","i","executeBound","_"],"mappings":"8GAQA,IAAIA,EAAUC,EAAc,SAASC,EAAMC,EAAW,CACpD,IAAIC,EAAcJ,EAAQ,YACtBK,EAAQ,UAAW,CAGrB,QAFIC,EAAW,EAAGC,EAASJ,EAAU,OACjCK,EAAO,MAAMD,CAAM,EACdE,EAAI,EAAGA,EAAIF,EAAQE,IACrBD,EAAAC,CAAC,EAAIN,EAAUM,CAAC,IAAML,EAAc,UAAUE,GAAU,EAAIH,EAAUM,CAAC,EAE9E,KAAOH,EAAW,UAAU,QAAaE,EAAA,KAAK,UAAUF,GAAU,CAAC,EACnE,OAAOI,EAAaR,EAAMG,EAAO,KAAM,KAAMG,CAAI,CAAA,EAE5C,OAAAH,CACT,CAAC,EAEDL,EAAQ,YAAcW","x_google_ignoreList":[0]}
|
package/dist/index.cjs32.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs64.js"),i=require("./index.cjs19.js"),c=require("./index.cjs217.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs32.js.map
|
package/dist/index.cjs32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs32.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs32.js","sources":["../../../node_modules/underscore/modules/bind.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n"],"names":["bind","restArguments","func","context","args","isFunction","bound","callArgs","executeBound"],"mappings":"8GAMeA,EAAAC,EAAc,SAASC,EAAMC,EAASC,EAAM,CACrD,GAAA,CAACC,EAAWH,CAAI,EAAS,MAAA,IAAI,UAAU,mCAAmC,EAC1E,IAAAI,EAAQL,EAAc,SAASM,EAAU,CACpC,OAAAC,EAAaN,EAAMI,EAAOH,EAAS,KAAMC,EAAK,OAAOG,CAAQ,CAAC,CAAA,CACtE,EACM,OAAAD,CACT,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs33.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./index.cjs64.js"),s=require("./index.cjs218.js"),l=require("./index.cjs32.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs33.js.map
|
package/dist/index.cjs33.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs33.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.cjs33.js","sources":["../../../node_modules/underscore/modules/bindAll.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n"],"names":["bindAll","restArguments","obj","keys","flatten","index","key","bind"],"mappings":"8GAOAA,EAAeC,EAAc,SAASC,EAAKC,EAAM,CACxCA,EAAAC,EAAQD,EAAM,GAAO,EAAK,EACjC,IAAIE,EAAQF,EAAK,OACjB,GAAIE,EAAQ,EAAS,MAAA,IAAI,MAAM,uCAAuC,EACtE,KAAOA,KAAS,CACV,IAAAC,EAAMH,EAAKE,CAAK,EACpBH,EAAII,CAAG,EAAIC,EAAKL,EAAII,CAAG,EAAGJ,CAAG,CAC/B,CACO,OAAAA,CACT,CAAC","x_google_ignoreList":[0]}
|