├── .browserslistrc
├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .github
├── ISSUE_TEMPLATE.md
└── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── .npmignore
├── .postcssrc.js
├── .prettierrc
├── README.md
├── babel.config.js
├── dist
├── StaticMap.common.js
├── StaticMap.common.js.map
├── StaticMap.umd.js
├── StaticMap.umd.js.map
├── StaticMap.umd.min.js
├── StaticMap.umd.min.js.map
└── demo.html
├── index.html
├── jest.config.js
├── package-lock.json
├── package.json
├── postcss.config.js
├── public
├── favicon.ico
├── img
│ └── icons
│ │ ├── android-chrome-192x192.png
│ │ ├── android-chrome-512x512.png
│ │ ├── apple-touch-icon-120x120.png
│ │ ├── apple-touch-icon-152x152.png
│ │ ├── apple-touch-icon-180x180.png
│ │ ├── apple-touch-icon-60x60.png
│ │ ├── apple-touch-icon-76x76.png
│ │ ├── apple-touch-icon.png
│ │ ├── favicon-16x16.png
│ │ ├── favicon-32x32.png
│ │ ├── msapplication-icon-144x144.png
│ │ ├── mstile-150x150.png
│ │ └── safari-pinned-tab.svg
├── index.html
├── manifest.json
└── robots.txt
├── src
├── App.vue
├── components
│ └── static-map.vue
├── main.js
└── registerServiceWorker.js
└── tests
└── unit
├── .eslintrc.js
└── StaticMap.spec.js
/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 | not ie <= 11
4 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = tabs
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | config/*.js
3 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | node: true,
5 | },
6 | extends: ['plugin:vue/essential', '@vue/airbnb'],
7 | rules: {
8 | 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
9 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
10 | 'no-tabs': 0,
11 | indent: ['error', 'tab'],
12 | },
13 | parserOptions: {
14 | parser: 'babel-eslint',
15 | },
16 | };
17 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
5 |
6 | **I'm submitting a ...**
7 |
8 | - [ ] bug report
9 | - [ ] feature request
10 | - [ ] other (Please do not submit support requests here (see above))
11 |
12 | **Current behavior:**
13 |
14 |
15 | **Expected / new behavior:**
16 |
17 |
18 | **Minimal reproduction of the problem with instructions:**
19 |
24 |
25 | **Vue version:** 2.x.y
26 |
27 |
28 | **Browser:** [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
29 |
30 |
31 | **Anything else:**
32 |
33 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 |
5 |
6 | **What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**
7 |
8 |
9 |
10 | **What is the current behavior? (You can also link to an open issue here)**
11 |
12 |
13 |
14 | **What is the new behavior (if this is a feature change)?**
15 |
16 |
17 |
18 | **Does this PR introduce a breaking change?**
19 |
20 |
21 |
22 | **Please check if the PR fulfills these requirements**
23 | - [ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
24 | - [ ] Tests for the changes have been added (for bug fixes / features)
25 | - [ ] Docs have been added / updated (for bug fixes / features)
26 |
27 | **Other information**:
28 |
29 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 |
4 | # local env files
5 | .env.local
6 | .env.*.local
7 |
8 | # Log files
9 | npm-debug.log*
10 | yarn-debug.log*
11 | yarn-error.log*
12 |
13 | # Editor directories and files
14 | .idea
15 | .vscode
16 | *.suo
17 | *.ntvs*
18 | *.njsproj
19 | *.sln
20 | *.sw*
21 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 | static
3 | config
4 | build
5 | public
6 | tests
7 | .github
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | // to edit target browsers: use "browserlist" field in package.json
6 | "autoprefixer": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "tabWidth": 2,
3 | "semi": true,
4 | "printWidth": 80,
5 | "useTabs": true,
6 | "singleQuote": true,
7 | "trailingComma": "all",
8 | "bracketSpacing": true
9 | }
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue-static-map
2 |
3 | > a simple component to generate an static google map
4 |
5 | 
6 |
7 | [Google Documentation](https://developers.google.com/maps/documentation/static-maps/intro)
8 |
9 | ## Demo
10 |
11 | - [SandBox](https://codesandbox.io/s/9o8yqq527p)
12 | - [JSBin example](https://jsbin.com/ganoxoyopo/1/edit?html,js,output)
13 |
14 | ## Requirements
15 |
16 | 1. Vue 2.X.X
17 |
18 | ## Usage
19 |
20 | 1. Install from npm
21 |
22 | npm install vue-static-map
23 |
24 | Or include in your html using the script tag
25 |
26 | ```html
27 |
28 | ```
29 |
30 | 2. Add component in your app
31 |
32 | ```javascript
33 | import StaticMap from 'vue-static-map';
34 | // or require('vue-static-map')
35 | // or window.StaticMap if you are including in a script tag
36 |
37 | export default {
38 | components: {
39 | StaticMap,
40 | },
41 | };
42 | ```
43 |
44 | 3. Create some parameters in your data object
45 |
46 | ```javascript
47 | export default {
48 | data: {
49 | apiKey: 'YOUR_GOOGLE_API_KEY', // required
50 | zoom: 13, // required
51 | center: 'Brooklyn+Bridge,New+York,NY',
52 | format: 'gif',
53 | language: 'ja',
54 | markers: [
55 | {
56 | label: 'B',
57 | color: 'blue',
58 | lat: 40.702147,
59 | lng: -74.015794,
60 | size: 'normal',
61 | },
62 | {
63 | label: 'Y',
64 | color: 'yellow',
65 | lat: 40.711614,
66 | lng: -74.012318,
67 | size: 'tiny',
68 | },
69 | {
70 | label: 'G',
71 | color: 'green',
72 | lat: 40.718217,
73 | lng: -74.015794,
74 | size: 'small',
75 | icon: 'http://www.airsoftmap.net/images/pin_map.png',
76 | },
77 | ],
78 | paths: [
79 | {
80 | color: 'blue',
81 | weight: 8,
82 | geodesic: false,
83 | fillcolor: '0xFFFF0033',
84 | locations: [
85 | { startLat: 40.737102, endLng: -73.990318 },
86 | { startLat: 40.749825, endLng: -73.987963 },
87 | { startLat: 40.752946, endLng: -73.987384 },
88 | { startLat: 40.762946, endLng: -73.997399 },
89 | ],
90 | },
91 | ],
92 | type: 'roadmap',
93 | size: [800, 400],
94 | },
95 | components: {
96 | StaticMap,
97 | },
98 | };
99 | ```
100 |
101 | 4. In your template just call the static map component
102 |
103 | ```html
104 |
105 | ```
106 |
107 | ## Events
108 |
109 | 1. What about if you want the URL of the map, you can easily do that using the **getUrl** event
110 |
111 | ```javascript
112 | function getUrl(url) {
113 | this.url = url;
114 | }
115 |
116 | export default {
117 | data: () => {
118 | const dataValues = {
119 | apiKey: 'YOUR_API_KEY',
120 | center: 'Empire State Building',
121 | url: '',
122 | zoom: 13,
123 | };
124 | return dataValues;
125 | },
126 | name: 'app',
127 | components: {
128 | StaticMap,
129 | },
130 | methods: {
131 | getUrl,
132 | },
133 | };
134 | ```
135 |
136 | 2. Add the event on your template
137 |
138 | ```html
139 |
140 | ```
141 |
142 | ## Build Setup
143 |
144 | ```bash
145 | # install dependencies
146 | npm install
147 |
148 | # serve with hot reload at localhost:8080
149 | npm run serve
150 |
151 | # build for production with minification
152 | npm run component
153 | ```
154 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ['@vue/app'],
3 | };
4 |
--------------------------------------------------------------------------------
/dist/StaticMap.common.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | /******/ (function(modules) { // webpackBootstrap
3 | /******/ // The module cache
4 | /******/ var installedModules = {};
5 | /******/
6 | /******/ // The require function
7 | /******/ function __webpack_require__(moduleId) {
8 | /******/
9 | /******/ // Check if module is in cache
10 | /******/ if(installedModules[moduleId]) {
11 | /******/ return installedModules[moduleId].exports;
12 | /******/ }
13 | /******/ // Create a new module (and put it into the cache)
14 | /******/ var module = installedModules[moduleId] = {
15 | /******/ i: moduleId,
16 | /******/ l: false,
17 | /******/ exports: {}
18 | /******/ };
19 | /******/
20 | /******/ // Execute the module function
21 | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22 | /******/
23 | /******/ // Flag the module as loaded
24 | /******/ module.l = true;
25 | /******/
26 | /******/ // Return the exports of the module
27 | /******/ return module.exports;
28 | /******/ }
29 | /******/
30 | /******/
31 | /******/ // expose the modules object (__webpack_modules__)
32 | /******/ __webpack_require__.m = modules;
33 | /******/
34 | /******/ // expose the module cache
35 | /******/ __webpack_require__.c = installedModules;
36 | /******/
37 | /******/ // define getter function for harmony exports
38 | /******/ __webpack_require__.d = function(exports, name, getter) {
39 | /******/ if(!__webpack_require__.o(exports, name)) {
40 | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41 | /******/ }
42 | /******/ };
43 | /******/
44 | /******/ // define __esModule on exports
45 | /******/ __webpack_require__.r = function(exports) {
46 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48 | /******/ }
49 | /******/ Object.defineProperty(exports, '__esModule', { value: true });
50 | /******/ };
51 | /******/
52 | /******/ // create a fake namespace object
53 | /******/ // mode & 1: value is a module id, require it
54 | /******/ // mode & 2: merge all properties of value into the ns
55 | /******/ // mode & 4: return value when already ns object
56 | /******/ // mode & 8|1: behave like require
57 | /******/ __webpack_require__.t = function(value, mode) {
58 | /******/ if(mode & 1) value = __webpack_require__(value);
59 | /******/ if(mode & 8) return value;
60 | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61 | /******/ var ns = Object.create(null);
62 | /******/ __webpack_require__.r(ns);
63 | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64 | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65 | /******/ return ns;
66 | /******/ };
67 | /******/
68 | /******/ // getDefaultExport function for compatibility with non-harmony modules
69 | /******/ __webpack_require__.n = function(module) {
70 | /******/ var getter = module && module.__esModule ?
71 | /******/ function getDefault() { return module['default']; } :
72 | /******/ function getModuleExports() { return module; };
73 | /******/ __webpack_require__.d(getter, 'a', getter);
74 | /******/ return getter;
75 | /******/ };
76 | /******/
77 | /******/ // Object.prototype.hasOwnProperty.call
78 | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79 | /******/
80 | /******/ // __webpack_public_path__
81 | /******/ __webpack_require__.p = "";
82 | /******/
83 | /******/
84 | /******/ // Load entry module and return exports
85 | /******/ return __webpack_require__(__webpack_require__.s = "fb15");
86 | /******/ })
87 | /************************************************************************/
88 | /******/ ({
89 |
90 | /***/ "0d58":
91 | /***/ (function(module, exports, __webpack_require__) {
92 |
93 | // 19.1.2.14 / 15.2.3.14 Object.keys(O)
94 | var $keys = __webpack_require__("ce10");
95 | var enumBugKeys = __webpack_require__("e11e");
96 |
97 | module.exports = Object.keys || function keys(O) {
98 | return $keys(O, enumBugKeys);
99 | };
100 |
101 |
102 | /***/ }),
103 |
104 | /***/ "11e9":
105 | /***/ (function(module, exports, __webpack_require__) {
106 |
107 | var pIE = __webpack_require__("52a7");
108 | var createDesc = __webpack_require__("4630");
109 | var toIObject = __webpack_require__("6821");
110 | var toPrimitive = __webpack_require__("6a99");
111 | var has = __webpack_require__("69a8");
112 | var IE8_DOM_DEFINE = __webpack_require__("c69a");
113 | var gOPD = Object.getOwnPropertyDescriptor;
114 |
115 | exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescriptor(O, P) {
116 | O = toIObject(O);
117 | P = toPrimitive(P, true);
118 | if (IE8_DOM_DEFINE) try {
119 | return gOPD(O, P);
120 | } catch (e) { /* empty */ }
121 | if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
122 | };
123 |
124 |
125 | /***/ }),
126 |
127 | /***/ "1495":
128 | /***/ (function(module, exports, __webpack_require__) {
129 |
130 | var dP = __webpack_require__("86cc");
131 | var anObject = __webpack_require__("cb7c");
132 | var getKeys = __webpack_require__("0d58");
133 |
134 | module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) {
135 | anObject(O);
136 | var keys = getKeys(Properties);
137 | var length = keys.length;
138 | var i = 0;
139 | var P;
140 | while (length > i) dP.f(O, P = keys[i++], Properties[P]);
141 | return O;
142 | };
143 |
144 |
145 | /***/ }),
146 |
147 | /***/ "1eb2":
148 | /***/ (function(module, exports, __webpack_require__) {
149 |
150 | // This file is imported into lib/wc client bundles.
151 |
152 | if (typeof window !== 'undefined') {
153 | var i
154 | if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js$/))) {
155 | __webpack_require__.p = i[1] // eslint-disable-line
156 | }
157 | }
158 |
159 |
160 | /***/ }),
161 |
162 | /***/ "230e":
163 | /***/ (function(module, exports, __webpack_require__) {
164 |
165 | var isObject = __webpack_require__("d3f4");
166 | var document = __webpack_require__("7726").document;
167 | // typeof document.createElement is 'object' in old IE
168 | var is = isObject(document) && isObject(document.createElement);
169 | module.exports = function (it) {
170 | return is ? document.createElement(it) : {};
171 | };
172 |
173 |
174 | /***/ }),
175 |
176 | /***/ "2aba":
177 | /***/ (function(module, exports, __webpack_require__) {
178 |
179 | var global = __webpack_require__("7726");
180 | var hide = __webpack_require__("32e9");
181 | var has = __webpack_require__("69a8");
182 | var SRC = __webpack_require__("ca5a")('src');
183 | var TO_STRING = 'toString';
184 | var $toString = Function[TO_STRING];
185 | var TPL = ('' + $toString).split(TO_STRING);
186 |
187 | __webpack_require__("8378").inspectSource = function (it) {
188 | return $toString.call(it);
189 | };
190 |
191 | (module.exports = function (O, key, val, safe) {
192 | var isFunction = typeof val == 'function';
193 | if (isFunction) has(val, 'name') || hide(val, 'name', key);
194 | if (O[key] === val) return;
195 | if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
196 | if (O === global) {
197 | O[key] = val;
198 | } else if (!safe) {
199 | delete O[key];
200 | hide(O, key, val);
201 | } else if (O[key]) {
202 | O[key] = val;
203 | } else {
204 | hide(O, key, val);
205 | }
206 | // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
207 | })(Function.prototype, TO_STRING, function toString() {
208 | return typeof this == 'function' && this[SRC] || $toString.call(this);
209 | });
210 |
211 |
212 | /***/ }),
213 |
214 | /***/ "2aeb":
215 | /***/ (function(module, exports, __webpack_require__) {
216 |
217 | // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
218 | var anObject = __webpack_require__("cb7c");
219 | var dPs = __webpack_require__("1495");
220 | var enumBugKeys = __webpack_require__("e11e");
221 | var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
222 | var Empty = function () { /* empty */ };
223 | var PROTOTYPE = 'prototype';
224 |
225 | // Create object with fake `null` prototype: use iframe Object with cleared prototype
226 | var createDict = function () {
227 | // Thrash, waste and sodomy: IE GC bug
228 | var iframe = __webpack_require__("230e")('iframe');
229 | var i = enumBugKeys.length;
230 | var lt = '<';
231 | var gt = '>';
232 | var iframeDocument;
233 | iframe.style.display = 'none';
234 | __webpack_require__("fab2").appendChild(iframe);
235 | iframe.src = 'javascript:'; // eslint-disable-line no-script-url
236 | // createDict = iframe.contentWindow.Object;
237 | // html.removeChild(iframe);
238 | iframeDocument = iframe.contentWindow.document;
239 | iframeDocument.open();
240 | iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
241 | iframeDocument.close();
242 | createDict = iframeDocument.F;
243 | while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
244 | return createDict();
245 | };
246 |
247 | module.exports = Object.create || function create(O, Properties) {
248 | var result;
249 | if (O !== null) {
250 | Empty[PROTOTYPE] = anObject(O);
251 | result = new Empty();
252 | Empty[PROTOTYPE] = null;
253 | // add "__proto__" for Object.getPrototypeOf polyfill
254 | result[IE_PROTO] = O;
255 | } else result = createDict();
256 | return Properties === undefined ? result : dPs(result, Properties);
257 | };
258 |
259 |
260 | /***/ }),
261 |
262 | /***/ "2d00":
263 | /***/ (function(module, exports) {
264 |
265 | module.exports = false;
266 |
267 |
268 | /***/ }),
269 |
270 | /***/ "2d95":
271 | /***/ (function(module, exports) {
272 |
273 | var toString = {}.toString;
274 |
275 | module.exports = function (it) {
276 | return toString.call(it).slice(8, -1);
277 | };
278 |
279 |
280 | /***/ }),
281 |
282 | /***/ "32e9":
283 | /***/ (function(module, exports, __webpack_require__) {
284 |
285 | var dP = __webpack_require__("86cc");
286 | var createDesc = __webpack_require__("4630");
287 | module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
288 | return dP.f(object, key, createDesc(1, value));
289 | } : function (object, key, value) {
290 | object[key] = value;
291 | return object;
292 | };
293 |
294 |
295 | /***/ }),
296 |
297 | /***/ "4588":
298 | /***/ (function(module, exports) {
299 |
300 | // 7.1.4 ToInteger
301 | var ceil = Math.ceil;
302 | var floor = Math.floor;
303 | module.exports = function (it) {
304 | return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
305 | };
306 |
307 |
308 | /***/ }),
309 |
310 | /***/ "4630":
311 | /***/ (function(module, exports) {
312 |
313 | module.exports = function (bitmap, value) {
314 | return {
315 | enumerable: !(bitmap & 1),
316 | configurable: !(bitmap & 2),
317 | writable: !(bitmap & 4),
318 | value: value
319 | };
320 | };
321 |
322 |
323 | /***/ }),
324 |
325 | /***/ "52a7":
326 | /***/ (function(module, exports) {
327 |
328 | exports.f = {}.propertyIsEnumerable;
329 |
330 |
331 | /***/ }),
332 |
333 | /***/ "5537":
334 | /***/ (function(module, exports, __webpack_require__) {
335 |
336 | var core = __webpack_require__("8378");
337 | var global = __webpack_require__("7726");
338 | var SHARED = '__core-js_shared__';
339 | var store = global[SHARED] || (global[SHARED] = {});
340 |
341 | (module.exports = function (key, value) {
342 | return store[key] || (store[key] = value !== undefined ? value : {});
343 | })('versions', []).push({
344 | version: core.version,
345 | mode: __webpack_require__("2d00") ? 'pure' : 'global',
346 | copyright: '© 2018 Denis Pushkarev (zloirock.ru)'
347 | });
348 |
349 |
350 | /***/ }),
351 |
352 | /***/ "5ca1":
353 | /***/ (function(module, exports, __webpack_require__) {
354 |
355 | var global = __webpack_require__("7726");
356 | var core = __webpack_require__("8378");
357 | var hide = __webpack_require__("32e9");
358 | var redefine = __webpack_require__("2aba");
359 | var ctx = __webpack_require__("9b43");
360 | var PROTOTYPE = 'prototype';
361 |
362 | var $export = function (type, name, source) {
363 | var IS_FORCED = type & $export.F;
364 | var IS_GLOBAL = type & $export.G;
365 | var IS_STATIC = type & $export.S;
366 | var IS_PROTO = type & $export.P;
367 | var IS_BIND = type & $export.B;
368 | var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
369 | var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
370 | var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
371 | var key, own, out, exp;
372 | if (IS_GLOBAL) source = name;
373 | for (key in source) {
374 | // contains in native
375 | own = !IS_FORCED && target && target[key] !== undefined;
376 | // export native or passed
377 | out = (own ? target : source)[key];
378 | // bind timers to global for call from export context
379 | exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
380 | // extend global
381 | if (target) redefine(target, key, out, type & $export.U);
382 | // export
383 | if (exports[key] != out) hide(exports, key, exp);
384 | if (IS_PROTO && expProto[key] != out) expProto[key] = out;
385 | }
386 | };
387 | global.core = core;
388 | // type bitmap
389 | $export.F = 1; // forced
390 | $export.G = 2; // global
391 | $export.S = 4; // static
392 | $export.P = 8; // proto
393 | $export.B = 16; // bind
394 | $export.W = 32; // wrap
395 | $export.U = 64; // safe
396 | $export.R = 128; // real proto method for `library`
397 | module.exports = $export;
398 |
399 |
400 | /***/ }),
401 |
402 | /***/ "5dbc":
403 | /***/ (function(module, exports, __webpack_require__) {
404 |
405 | var isObject = __webpack_require__("d3f4");
406 | var setPrototypeOf = __webpack_require__("8b97").set;
407 | module.exports = function (that, target, C) {
408 | var S = target.constructor;
409 | var P;
410 | if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
411 | setPrototypeOf(that, P);
412 | } return that;
413 | };
414 |
415 |
416 | /***/ }),
417 |
418 | /***/ "613b":
419 | /***/ (function(module, exports, __webpack_require__) {
420 |
421 | var shared = __webpack_require__("5537")('keys');
422 | var uid = __webpack_require__("ca5a");
423 | module.exports = function (key) {
424 | return shared[key] || (shared[key] = uid(key));
425 | };
426 |
427 |
428 | /***/ }),
429 |
430 | /***/ "626a":
431 | /***/ (function(module, exports, __webpack_require__) {
432 |
433 | // fallback for non-array-like ES3 and non-enumerable old V8 strings
434 | var cof = __webpack_require__("2d95");
435 | // eslint-disable-next-line no-prototype-builtins
436 | module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
437 | return cof(it) == 'String' ? it.split('') : Object(it);
438 | };
439 |
440 |
441 | /***/ }),
442 |
443 | /***/ "6821":
444 | /***/ (function(module, exports, __webpack_require__) {
445 |
446 | // to indexed object, toObject with fallback for non-array-like ES3 strings
447 | var IObject = __webpack_require__("626a");
448 | var defined = __webpack_require__("be13");
449 | module.exports = function (it) {
450 | return IObject(defined(it));
451 | };
452 |
453 |
454 | /***/ }),
455 |
456 | /***/ "69a8":
457 | /***/ (function(module, exports) {
458 |
459 | var hasOwnProperty = {}.hasOwnProperty;
460 | module.exports = function (it, key) {
461 | return hasOwnProperty.call(it, key);
462 | };
463 |
464 |
465 | /***/ }),
466 |
467 | /***/ "6a99":
468 | /***/ (function(module, exports, __webpack_require__) {
469 |
470 | // 7.1.1 ToPrimitive(input [, PreferredType])
471 | var isObject = __webpack_require__("d3f4");
472 | // instead of the ES6 spec version, we didn't implement @@toPrimitive case
473 | // and the second argument - flag - preferred type is a string
474 | module.exports = function (it, S) {
475 | if (!isObject(it)) return it;
476 | var fn, val;
477 | if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
478 | if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
479 | if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
480 | throw TypeError("Can't convert object to primitive value");
481 | };
482 |
483 |
484 | /***/ }),
485 |
486 | /***/ "7726":
487 | /***/ (function(module, exports) {
488 |
489 | // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
490 | var global = module.exports = typeof window != 'undefined' && window.Math == Math
491 | ? window : typeof self != 'undefined' && self.Math == Math ? self
492 | // eslint-disable-next-line no-new-func
493 | : Function('return this')();
494 | if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
495 |
496 |
497 | /***/ }),
498 |
499 | /***/ "77f1":
500 | /***/ (function(module, exports, __webpack_require__) {
501 |
502 | var toInteger = __webpack_require__("4588");
503 | var max = Math.max;
504 | var min = Math.min;
505 | module.exports = function (index, length) {
506 | index = toInteger(index);
507 | return index < 0 ? max(index + length, 0) : min(index, length);
508 | };
509 |
510 |
511 | /***/ }),
512 |
513 | /***/ "79e5":
514 | /***/ (function(module, exports) {
515 |
516 | module.exports = function (exec) {
517 | try {
518 | return !!exec();
519 | } catch (e) {
520 | return true;
521 | }
522 | };
523 |
524 |
525 | /***/ }),
526 |
527 | /***/ "8378":
528 | /***/ (function(module, exports) {
529 |
530 | var core = module.exports = { version: '2.5.7' };
531 | if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
532 |
533 |
534 | /***/ }),
535 |
536 | /***/ "86cc":
537 | /***/ (function(module, exports, __webpack_require__) {
538 |
539 | var anObject = __webpack_require__("cb7c");
540 | var IE8_DOM_DEFINE = __webpack_require__("c69a");
541 | var toPrimitive = __webpack_require__("6a99");
542 | var dP = Object.defineProperty;
543 |
544 | exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
545 | anObject(O);
546 | P = toPrimitive(P, true);
547 | anObject(Attributes);
548 | if (IE8_DOM_DEFINE) try {
549 | return dP(O, P, Attributes);
550 | } catch (e) { /* empty */ }
551 | if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
552 | if ('value' in Attributes) O[P] = Attributes.value;
553 | return O;
554 | };
555 |
556 |
557 | /***/ }),
558 |
559 | /***/ "8b97":
560 | /***/ (function(module, exports, __webpack_require__) {
561 |
562 | // Works with __proto__ only. Old v8 can't work with null proto objects.
563 | /* eslint-disable no-proto */
564 | var isObject = __webpack_require__("d3f4");
565 | var anObject = __webpack_require__("cb7c");
566 | var check = function (O, proto) {
567 | anObject(O);
568 | if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
569 | };
570 | module.exports = {
571 | set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
572 | function (test, buggy, set) {
573 | try {
574 | set = __webpack_require__("9b43")(Function.call, __webpack_require__("11e9").f(Object.prototype, '__proto__').set, 2);
575 | set(test, []);
576 | buggy = !(test instanceof Array);
577 | } catch (e) { buggy = true; }
578 | return function setPrototypeOf(O, proto) {
579 | check(O, proto);
580 | if (buggy) O.__proto__ = proto;
581 | else set(O, proto);
582 | return O;
583 | };
584 | }({}, false) : undefined),
585 | check: check
586 | };
587 |
588 |
589 | /***/ }),
590 |
591 | /***/ "9093":
592 | /***/ (function(module, exports, __webpack_require__) {
593 |
594 | // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
595 | var $keys = __webpack_require__("ce10");
596 | var hiddenKeys = __webpack_require__("e11e").concat('length', 'prototype');
597 |
598 | exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
599 | return $keys(O, hiddenKeys);
600 | };
601 |
602 |
603 | /***/ }),
604 |
605 | /***/ "9b43":
606 | /***/ (function(module, exports, __webpack_require__) {
607 |
608 | // optional / simple context binding
609 | var aFunction = __webpack_require__("d8e8");
610 | module.exports = function (fn, that, length) {
611 | aFunction(fn);
612 | if (that === undefined) return fn;
613 | switch (length) {
614 | case 1: return function (a) {
615 | return fn.call(that, a);
616 | };
617 | case 2: return function (a, b) {
618 | return fn.call(that, a, b);
619 | };
620 | case 3: return function (a, b, c) {
621 | return fn.call(that, a, b, c);
622 | };
623 | }
624 | return function (/* ...args */) {
625 | return fn.apply(that, arguments);
626 | };
627 | };
628 |
629 |
630 | /***/ }),
631 |
632 | /***/ "9def":
633 | /***/ (function(module, exports, __webpack_require__) {
634 |
635 | // 7.1.15 ToLength
636 | var toInteger = __webpack_require__("4588");
637 | var min = Math.min;
638 | module.exports = function (it) {
639 | return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
640 | };
641 |
642 |
643 | /***/ }),
644 |
645 | /***/ "9e1e":
646 | /***/ (function(module, exports, __webpack_require__) {
647 |
648 | // Thank's IE8 for his funny defineProperty
649 | module.exports = !__webpack_require__("79e5")(function () {
650 | return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
651 | });
652 |
653 |
654 | /***/ }),
655 |
656 | /***/ "aa77":
657 | /***/ (function(module, exports, __webpack_require__) {
658 |
659 | var $export = __webpack_require__("5ca1");
660 | var defined = __webpack_require__("be13");
661 | var fails = __webpack_require__("79e5");
662 | var spaces = __webpack_require__("fdef");
663 | var space = '[' + spaces + ']';
664 | var non = '\u200b\u0085';
665 | var ltrim = RegExp('^' + space + space + '*');
666 | var rtrim = RegExp(space + space + '*$');
667 |
668 | var exporter = function (KEY, exec, ALIAS) {
669 | var exp = {};
670 | var FORCE = fails(function () {
671 | return !!spaces[KEY]() || non[KEY]() != non;
672 | });
673 | var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
674 | if (ALIAS) exp[ALIAS] = fn;
675 | $export($export.P + $export.F * FORCE, 'String', exp);
676 | };
677 |
678 | // 1 -> String#trimLeft
679 | // 2 -> String#trimRight
680 | // 3 -> String#trim
681 | var trim = exporter.trim = function (string, TYPE) {
682 | string = String(defined(string));
683 | if (TYPE & 1) string = string.replace(ltrim, '');
684 | if (TYPE & 2) string = string.replace(rtrim, '');
685 | return string;
686 | };
687 |
688 | module.exports = exporter;
689 |
690 |
691 | /***/ }),
692 |
693 | /***/ "be13":
694 | /***/ (function(module, exports) {
695 |
696 | // 7.2.1 RequireObjectCoercible(argument)
697 | module.exports = function (it) {
698 | if (it == undefined) throw TypeError("Can't call method on " + it);
699 | return it;
700 | };
701 |
702 |
703 | /***/ }),
704 |
705 | /***/ "c366":
706 | /***/ (function(module, exports, __webpack_require__) {
707 |
708 | // false -> Array#indexOf
709 | // true -> Array#includes
710 | var toIObject = __webpack_require__("6821");
711 | var toLength = __webpack_require__("9def");
712 | var toAbsoluteIndex = __webpack_require__("77f1");
713 | module.exports = function (IS_INCLUDES) {
714 | return function ($this, el, fromIndex) {
715 | var O = toIObject($this);
716 | var length = toLength(O.length);
717 | var index = toAbsoluteIndex(fromIndex, length);
718 | var value;
719 | // Array#includes uses SameValueZero equality algorithm
720 | // eslint-disable-next-line no-self-compare
721 | if (IS_INCLUDES && el != el) while (length > index) {
722 | value = O[index++];
723 | // eslint-disable-next-line no-self-compare
724 | if (value != value) return true;
725 | // Array#indexOf ignores holes, Array#includes - not
726 | } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
727 | if (O[index] === el) return IS_INCLUDES || index || 0;
728 | } return !IS_INCLUDES && -1;
729 | };
730 | };
731 |
732 |
733 | /***/ }),
734 |
735 | /***/ "c5f6":
736 | /***/ (function(module, exports, __webpack_require__) {
737 |
738 | "use strict";
739 |
740 | var global = __webpack_require__("7726");
741 | var has = __webpack_require__("69a8");
742 | var cof = __webpack_require__("2d95");
743 | var inheritIfRequired = __webpack_require__("5dbc");
744 | var toPrimitive = __webpack_require__("6a99");
745 | var fails = __webpack_require__("79e5");
746 | var gOPN = __webpack_require__("9093").f;
747 | var gOPD = __webpack_require__("11e9").f;
748 | var dP = __webpack_require__("86cc").f;
749 | var $trim = __webpack_require__("aa77").trim;
750 | var NUMBER = 'Number';
751 | var $Number = global[NUMBER];
752 | var Base = $Number;
753 | var proto = $Number.prototype;
754 | // Opera ~12 has broken Object#toString
755 | var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
756 | var TRIM = 'trim' in String.prototype;
757 |
758 | // 7.1.3 ToNumber(argument)
759 | var toNumber = function (argument) {
760 | var it = toPrimitive(argument, false);
761 | if (typeof it == 'string' && it.length > 2) {
762 | it = TRIM ? it.trim() : $trim(it, 3);
763 | var first = it.charCodeAt(0);
764 | var third, radix, maxCode;
765 | if (first === 43 || first === 45) {
766 | third = it.charCodeAt(2);
767 | if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
768 | } else if (first === 48) {
769 | switch (it.charCodeAt(1)) {
770 | case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
771 | case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
772 | default: return +it;
773 | }
774 | for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
775 | code = digits.charCodeAt(i);
776 | // parseInt parses a string to a first unavailable symbol
777 | // but ToNumber should return NaN if a string contains unavailable symbols
778 | if (code < 48 || code > maxCode) return NaN;
779 | } return parseInt(digits, radix);
780 | }
781 | } return +it;
782 | };
783 |
784 | if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
785 | $Number = function Number(value) {
786 | var it = arguments.length < 1 ? 0 : value;
787 | var that = this;
788 | return that instanceof $Number
789 | // check on 1..constructor(foo) case
790 | && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
791 | ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
792 | };
793 | for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
794 | // ES3:
795 | 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
796 | // ES6 (in case, if modules with ES6 Number statics required before):
797 | 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
798 | 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
799 | ).split(','), j = 0, key; keys.length > j; j++) {
800 | if (has(Base, key = keys[j]) && !has($Number, key)) {
801 | dP($Number, key, gOPD(Base, key));
802 | }
803 | }
804 | $Number.prototype = proto;
805 | proto.constructor = $Number;
806 | __webpack_require__("2aba")(global, NUMBER, $Number);
807 | }
808 |
809 |
810 | /***/ }),
811 |
812 | /***/ "c69a":
813 | /***/ (function(module, exports, __webpack_require__) {
814 |
815 | module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
816 | return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
817 | });
818 |
819 |
820 | /***/ }),
821 |
822 | /***/ "ca5a":
823 | /***/ (function(module, exports) {
824 |
825 | var id = 0;
826 | var px = Math.random();
827 | module.exports = function (key) {
828 | return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
829 | };
830 |
831 |
832 | /***/ }),
833 |
834 | /***/ "cb7c":
835 | /***/ (function(module, exports, __webpack_require__) {
836 |
837 | var isObject = __webpack_require__("d3f4");
838 | module.exports = function (it) {
839 | if (!isObject(it)) throw TypeError(it + ' is not an object!');
840 | return it;
841 | };
842 |
843 |
844 | /***/ }),
845 |
846 | /***/ "ce10":
847 | /***/ (function(module, exports, __webpack_require__) {
848 |
849 | var has = __webpack_require__("69a8");
850 | var toIObject = __webpack_require__("6821");
851 | var arrayIndexOf = __webpack_require__("c366")(false);
852 | var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
853 |
854 | module.exports = function (object, names) {
855 | var O = toIObject(object);
856 | var i = 0;
857 | var result = [];
858 | var key;
859 | for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
860 | // Don't enum bug & hidden keys
861 | while (names.length > i) if (has(O, key = names[i++])) {
862 | ~arrayIndexOf(result, key) || result.push(key);
863 | }
864 | return result;
865 | };
866 |
867 |
868 | /***/ }),
869 |
870 | /***/ "d3f4":
871 | /***/ (function(module, exports) {
872 |
873 | module.exports = function (it) {
874 | return typeof it === 'object' ? it !== null : typeof it === 'function';
875 | };
876 |
877 |
878 | /***/ }),
879 |
880 | /***/ "d8e8":
881 | /***/ (function(module, exports) {
882 |
883 | module.exports = function (it) {
884 | if (typeof it != 'function') throw TypeError(it + ' is not a function!');
885 | return it;
886 | };
887 |
888 |
889 | /***/ }),
890 |
891 | /***/ "e11e":
892 | /***/ (function(module, exports) {
893 |
894 | // IE 8- don't enum bug keys
895 | module.exports = (
896 | 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
897 | ).split(',');
898 |
899 |
900 | /***/ }),
901 |
902 | /***/ "fab2":
903 | /***/ (function(module, exports, __webpack_require__) {
904 |
905 | var document = __webpack_require__("7726").document;
906 | module.exports = document && document.documentElement;
907 |
908 |
909 | /***/ }),
910 |
911 | /***/ "fb15":
912 | /***/ (function(module, __webpack_exports__, __webpack_require__) {
913 |
914 | "use strict";
915 | __webpack_require__.r(__webpack_exports__);
916 |
917 | // EXTERNAL MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
918 | var setPublicPath = __webpack_require__("1eb2");
919 |
920 | // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0595ba96-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/static-map.vue?vue&type=template&id=89561ac4&
921 | var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{"src":_vm.mapUrl}})}
922 | var staticRenderFns = []
923 |
924 |
925 | // CONCATENATED MODULE: ./src/components/static-map.vue?vue&type=template&id=89561ac4&
926 |
927 | // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
928 | var es6_number_constructor = __webpack_require__("c5f6");
929 |
930 | // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/static-map.vue?vue&type=script&lang=js&
931 |
932 | //
933 | //
934 | //
935 | //
936 | var BASE_URL_MAP = 'https://maps.googleapis.com/maps/api/staticmap?';
937 |
938 | function generateFormatMap() {
939 | return this.format.toLowerCase();
940 | }
941 |
942 | function generateMapType() {
943 | var types = ['roadmap', 'satellite', 'hybrid', 'terrain'];
944 | var currenType = this.type;
945 |
946 | if (types.indexOf(currenType) > -1) {
947 | return currenType;
948 | }
949 |
950 | var upperTypes = types.join(', ').toUpperCase();
951 | throw Error("Type must be one of the following values ".concat(upperTypes));
952 | }
953 |
954 | function generateMapUrl() {
955 | var mapUrl = "".concat(BASE_URL_MAP, "center=").concat(this.center, "&zoom=").concat(this.zoom, "&size=").concat(this.sizeMap, "&maptype=").concat(this.mapTypeMap, "&format=").concat(this.formatMap, "&key=").concat(this.googleApiKey, "&scale=").concat(this.scaleMap, "&language=").concat(this.language).concat(this.markersMap).concat(this.pathsMap);
956 | this.$emit('get-url', mapUrl);
957 | return mapUrl;
958 | }
959 | /* eslint-disable arrow-parens */
960 |
961 |
962 | function generateMarkers() {
963 | var markers = this.markers.map(function (marker) {
964 | var color = "color:".concat(marker.color, "|");
965 | var size = "size:".concat(marker.size, "|");
966 | var label = "label:".concat(marker.label, "|");
967 | var icon = "icon:".concat(marker.icon, "|");
968 | var latLng = "".concat(marker.lat, ",").concat(marker.lng);
969 | var markerUrl = '&markers=';
970 |
971 | if (marker.color) {
972 | markerUrl += color;
973 | }
974 |
975 | if (marker.size) {
976 | markerUrl += size;
977 | }
978 |
979 | if (marker.label) {
980 | markerUrl += label;
981 | }
982 |
983 | if (marker.icon) {
984 | markerUrl += icon;
985 | }
986 |
987 | if (marker.lat && marker.lng) {
988 | markerUrl += latLng;
989 | }
990 |
991 | return markerUrl;
992 | });
993 | return markers.join('');
994 | }
995 | /* eslint-disable arrow-parens */
996 |
997 |
998 | function generatePaths() {
999 | var paths = this.paths.map(function (path) {
1000 | var color = "color:".concat(path.color);
1001 | var weight = "weight:".concat(path.weight);
1002 | var geodesic = "geodesic:".concat(path.geodesic);
1003 | var fillcolor = "fillcolor:".concat(path.fillcolor);
1004 | var latLng = path.locations.map(function (location) {
1005 | if (location.startLat && location.endLng) {
1006 | return "|".concat(location.startLat, ",").concat(location.endLng);
1007 | }
1008 |
1009 | throw Error('The path object must have startLat and endLng properties');
1010 | });
1011 | var joinLatLng = latLng.join('');
1012 | var pathUrl = "&path=".concat(color, "|").concat(fillcolor, "|").concat(geodesic, "|").concat(weight).concat(joinLatLng);
1013 | return pathUrl;
1014 | });
1015 | return paths.length > 0 ? paths[0] : '';
1016 | }
1017 |
1018 | function generateScaleMap() {
1019 | var allowedScales = ['1', '2', '4'];
1020 |
1021 | if (allowedScales.indexOf(this.scale) > -1) {
1022 | return this.scale;
1023 | }
1024 |
1025 | throw Error("Scale only can have the values ".concat(allowedScales.join(', ')));
1026 | }
1027 |
1028 | function generateSizeMap() {
1029 | if (this.size.length > 0) {
1030 | var size = this.size;
1031 | return "".concat(size[0], "x").concat(size[1]);
1032 | }
1033 |
1034 | throw Error('Size must have 2 values: WIDTH AND HEIGHT');
1035 | }
1036 |
1037 | /* harmony default export */ var static_mapvue_type_script_lang_js_ = ({
1038 | name: 'static-map',
1039 | computed: {
1040 | formatMap: generateFormatMap,
1041 | mapTypeMap: generateMapType,
1042 | mapUrl: generateMapUrl,
1043 | markersMap: generateMarkers,
1044 | pathsMap: generatePaths,
1045 | scaleMap: generateScaleMap,
1046 | sizeMap: generateSizeMap
1047 | },
1048 | props: {
1049 | center: {
1050 | type: String,
1051 | required: true
1052 | },
1053 | format: {
1054 | type: String,
1055 | default: 'png'
1056 | },
1057 | getUrl: {
1058 | type: Function
1059 | },
1060 | googleApiKey: {
1061 | type: String,
1062 | required: true
1063 | },
1064 | language: {
1065 | type: String,
1066 | default: 'en'
1067 | },
1068 | markers: {
1069 | type: Array,
1070 | default: function _default() {
1071 | return [];
1072 | }
1073 | },
1074 | paths: {
1075 | type: Array,
1076 | default: function _default() {
1077 | return [];
1078 | }
1079 | },
1080 | type: {
1081 | type: String,
1082 | default: 'roadmap'
1083 | },
1084 | scale: {
1085 | type: String,
1086 | default: '1'
1087 | },
1088 | size: {
1089 | type: Array,
1090 | default: function _default() {
1091 | return [500, 400];
1092 | }
1093 | },
1094 | zoom: {
1095 | type: Number,
1096 | required: true
1097 | }
1098 | }
1099 | });
1100 | // CONCATENATED MODULE: ./src/components/static-map.vue?vue&type=script&lang=js&
1101 | /* harmony default export */ var components_static_mapvue_type_script_lang_js_ = (static_mapvue_type_script_lang_js_);
1102 | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1103 | /* globals __VUE_SSR_CONTEXT__ */
1104 |
1105 | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
1106 | // This module is a runtime utility for cleaner component module output and will
1107 | // be included in the final webpack user bundle.
1108 |
1109 | function normalizeComponent (
1110 | scriptExports,
1111 | render,
1112 | staticRenderFns,
1113 | functionalTemplate,
1114 | injectStyles,
1115 | scopeId,
1116 | moduleIdentifier, /* server only */
1117 | shadowMode /* vue-cli only */
1118 | ) {
1119 | // Vue.extend constructor export interop
1120 | var options = typeof scriptExports === 'function'
1121 | ? scriptExports.options
1122 | : scriptExports
1123 |
1124 | // render functions
1125 | if (render) {
1126 | options.render = render
1127 | options.staticRenderFns = staticRenderFns
1128 | options._compiled = true
1129 | }
1130 |
1131 | // functional template
1132 | if (functionalTemplate) {
1133 | options.functional = true
1134 | }
1135 |
1136 | // scopedId
1137 | if (scopeId) {
1138 | options._scopeId = 'data-v-' + scopeId
1139 | }
1140 |
1141 | var hook
1142 | if (moduleIdentifier) { // server build
1143 | hook = function (context) {
1144 | // 2.3 injection
1145 | context =
1146 | context || // cached call
1147 | (this.$vnode && this.$vnode.ssrContext) || // stateful
1148 | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
1149 | // 2.2 with runInNewContext: true
1150 | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1151 | context = __VUE_SSR_CONTEXT__
1152 | }
1153 | // inject component styles
1154 | if (injectStyles) {
1155 | injectStyles.call(this, context)
1156 | }
1157 | // register component module identifier for async chunk inferrence
1158 | if (context && context._registeredComponents) {
1159 | context._registeredComponents.add(moduleIdentifier)
1160 | }
1161 | }
1162 | // used by ssr in case component is cached and beforeCreate
1163 | // never gets called
1164 | options._ssrRegister = hook
1165 | } else if (injectStyles) {
1166 | hook = shadowMode
1167 | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
1168 | : injectStyles
1169 | }
1170 |
1171 | if (hook) {
1172 | if (options.functional) {
1173 | // for template-only hot-reload because in that case the render fn doesn't
1174 | // go through the normalizer
1175 | options._injectStyles = hook
1176 | // register for functioal component in vue file
1177 | var originalRender = options.render
1178 | options.render = function renderWithStyleInjection (h, context) {
1179 | hook.call(context)
1180 | return originalRender(h, context)
1181 | }
1182 | } else {
1183 | // inject component registration as beforeCreate hook
1184 | var existing = options.beforeCreate
1185 | options.beforeCreate = existing
1186 | ? [].concat(existing, hook)
1187 | : [hook]
1188 | }
1189 | }
1190 |
1191 | return {
1192 | exports: scriptExports,
1193 | options: options
1194 | }
1195 | }
1196 |
1197 | // CONCATENATED MODULE: ./src/components/static-map.vue
1198 |
1199 |
1200 |
1201 |
1202 |
1203 | /* normalize component */
1204 |
1205 | var component = normalizeComponent(
1206 | components_static_mapvue_type_script_lang_js_,
1207 | render,
1208 | staticRenderFns,
1209 | false,
1210 | null,
1211 | null,
1212 | null
1213 |
1214 | )
1215 |
1216 | component.options.__file = "static-map.vue"
1217 | /* harmony default export */ var static_map = (component.exports);
1218 | // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1219 |
1220 |
1221 | /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (static_map);
1222 |
1223 |
1224 |
1225 | /***/ }),
1226 |
1227 | /***/ "fdef":
1228 | /***/ (function(module, exports) {
1229 |
1230 | module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1231 | '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1232 |
1233 |
1234 | /***/ })
1235 |
1236 | /******/ })["default"];
1237 | //# sourceMappingURL=StaticMap.common.js.map
--------------------------------------------------------------------------------
/dist/StaticMap.common.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack://StaticMap/webpack/bootstrap","webpack://StaticMap/./node_modules/core-js/modules/_object-keys.js","webpack://StaticMap/./node_modules/core-js/modules/_object-gopd.js","webpack://StaticMap/./node_modules/core-js/modules/_object-dps.js","webpack://StaticMap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://StaticMap/./node_modules/core-js/modules/_dom-create.js","webpack://StaticMap/./node_modules/core-js/modules/_redefine.js","webpack://StaticMap/./node_modules/core-js/modules/_object-create.js","webpack://StaticMap/./node_modules/core-js/modules/_library.js","webpack://StaticMap/./node_modules/core-js/modules/_cof.js","webpack://StaticMap/./node_modules/core-js/modules/_hide.js","webpack://StaticMap/./node_modules/core-js/modules/_to-integer.js","webpack://StaticMap/./node_modules/core-js/modules/_property-desc.js","webpack://StaticMap/./node_modules/core-js/modules/_object-pie.js","webpack://StaticMap/./node_modules/core-js/modules/_shared.js","webpack://StaticMap/./node_modules/core-js/modules/_export.js","webpack://StaticMap/./node_modules/core-js/modules/_inherit-if-required.js","webpack://StaticMap/./node_modules/core-js/modules/_shared-key.js","webpack://StaticMap/./node_modules/core-js/modules/_iobject.js","webpack://StaticMap/./node_modules/core-js/modules/_to-iobject.js","webpack://StaticMap/./node_modules/core-js/modules/_has.js","webpack://StaticMap/./node_modules/core-js/modules/_to-primitive.js","webpack://StaticMap/./node_modules/core-js/modules/_global.js","webpack://StaticMap/./node_modules/core-js/modules/_to-absolute-index.js","webpack://StaticMap/./node_modules/core-js/modules/_fails.js","webpack://StaticMap/./node_modules/core-js/modules/_core.js","webpack://StaticMap/./node_modules/core-js/modules/_object-dp.js","webpack://StaticMap/./node_modules/core-js/modules/_set-proto.js","webpack://StaticMap/./node_modules/core-js/modules/_object-gopn.js","webpack://StaticMap/./node_modules/core-js/modules/_ctx.js","webpack://StaticMap/./node_modules/core-js/modules/_to-length.js","webpack://StaticMap/./node_modules/core-js/modules/_descriptors.js","webpack://StaticMap/./node_modules/core-js/modules/_string-trim.js","webpack://StaticMap/./node_modules/core-js/modules/_defined.js","webpack://StaticMap/./node_modules/core-js/modules/_array-includes.js","webpack://StaticMap/./node_modules/core-js/modules/es6.number.constructor.js","webpack://StaticMap/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://StaticMap/./node_modules/core-js/modules/_uid.js","webpack://StaticMap/./node_modules/core-js/modules/_an-object.js","webpack://StaticMap/./node_modules/core-js/modules/_object-keys-internal.js","webpack://StaticMap/./node_modules/core-js/modules/_is-object.js","webpack://StaticMap/./node_modules/core-js/modules/_a-function.js","webpack://StaticMap/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://StaticMap/./node_modules/core-js/modules/_html.js","webpack://StaticMap/./src/components/static-map.vue?e419","webpack://StaticMap/src/components/static-map.vue","webpack://StaticMap/./src/components/static-map.vue?1ba1","webpack://StaticMap/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://StaticMap/./src/components/static-map.vue","webpack://StaticMap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://StaticMap/./node_modules/core-js/modules/_string-ws.js"],"names":[],"mappings":"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,cAFA,kBAGA,iBAHA,oBAIA,aAJA,uBAIA,aAJA,SAIA,eAJA,SAKA,aALA;AAOA;AACA;AACA;AAEA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA,GAvBA;AAwBA;AACA;AAEA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA,KALA;AAMA;AACA;AACA;AACA,GAdA;AAeA;AACA;;AAEA;AACA;;AACA;AACA;AACA;;AACA;AACA;;AAEA;AACA;AAAA,QACA,IADA,GACA,IADA,CACA,IADA;AAEA;AACA;;AACA;AACA;;AAEA;AACA,oBADA;AAEA;AACA,gCADA;AAEA,+BAFA;AAGA,0BAHA;AAIA,+BAJA;AAKA,2BALA;AAMA,8BANA;AAOA;AAPA,GAFA;AAWA;AACA;AACA,kBADA;AAEA;AAFA,KADA;AAKA;AACA,kBADA;AAEA;AAFA,KALA;AASA;AACA;AADA,KATA;AAYA;AACA,kBADA;AAEA;AAFA,KAZA;AAgBA;AACA,kBADA;AAEA;AAFA,KAhBA;AAoBA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KApBA;AAwBA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KAxBA;AA4BA;AACA,kBADA;AAEA;AAFA,KA5BA;AAgCA;AACA,kBADA;AAEA;AAFA,KAhCA;AAoCA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KApCA;AAwCA;AACA,kBADA;AAEA;AAFA;AAxCA;AAXA,G;;AClG8Q,CAAgB,oHAAG,EAAC,C;;ACAlS;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC5FyF;AAC3B;AACL;;;AAGzD;AAC0F;AAC1F,gBAAgB,kBAAU;AAC1B,EAAE,6CAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACe,gE;;ACnBS;AACA;AACxB,+EAAe,UAAG;AACI;;;;;;;;ACHtB;AACA","file":"StaticMap.common.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","module.exports = false;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","exports.f = {}.propertyIsEnumerable;\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{\"src\":_vm.mapUrl}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t
\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./static-map.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./static-map.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./static-map.vue?vue&type=template&id=89561ac4&\"\nimport script from \"./static-map.vue?vue&type=script&lang=js&\"\nexport * from \"./static-map.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"static-map.vue\"\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/StaticMap.umd.js:
--------------------------------------------------------------------------------
1 | (function webpackUniversalModuleDefinition(root, factory) {
2 | if(typeof exports === 'object' && typeof module === 'object')
3 | module.exports = factory();
4 | else if(typeof define === 'function' && define.amd)
5 | define([], factory);
6 | else if(typeof exports === 'object')
7 | exports["StaticMap"] = factory();
8 | else
9 | root["StaticMap"] = factory();
10 | })((typeof self !== 'undefined' ? self : this), function() {
11 | return /******/ (function(modules) { // webpackBootstrap
12 | /******/ // The module cache
13 | /******/ var installedModules = {};
14 | /******/
15 | /******/ // The require function
16 | /******/ function __webpack_require__(moduleId) {
17 | /******/
18 | /******/ // Check if module is in cache
19 | /******/ if(installedModules[moduleId]) {
20 | /******/ return installedModules[moduleId].exports;
21 | /******/ }
22 | /******/ // Create a new module (and put it into the cache)
23 | /******/ var module = installedModules[moduleId] = {
24 | /******/ i: moduleId,
25 | /******/ l: false,
26 | /******/ exports: {}
27 | /******/ };
28 | /******/
29 | /******/ // Execute the module function
30 | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31 | /******/
32 | /******/ // Flag the module as loaded
33 | /******/ module.l = true;
34 | /******/
35 | /******/ // Return the exports of the module
36 | /******/ return module.exports;
37 | /******/ }
38 | /******/
39 | /******/
40 | /******/ // expose the modules object (__webpack_modules__)
41 | /******/ __webpack_require__.m = modules;
42 | /******/
43 | /******/ // expose the module cache
44 | /******/ __webpack_require__.c = installedModules;
45 | /******/
46 | /******/ // define getter function for harmony exports
47 | /******/ __webpack_require__.d = function(exports, name, getter) {
48 | /******/ if(!__webpack_require__.o(exports, name)) {
49 | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50 | /******/ }
51 | /******/ };
52 | /******/
53 | /******/ // define __esModule on exports
54 | /******/ __webpack_require__.r = function(exports) {
55 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57 | /******/ }
58 | /******/ Object.defineProperty(exports, '__esModule', { value: true });
59 | /******/ };
60 | /******/
61 | /******/ // create a fake namespace object
62 | /******/ // mode & 1: value is a module id, require it
63 | /******/ // mode & 2: merge all properties of value into the ns
64 | /******/ // mode & 4: return value when already ns object
65 | /******/ // mode & 8|1: behave like require
66 | /******/ __webpack_require__.t = function(value, mode) {
67 | /******/ if(mode & 1) value = __webpack_require__(value);
68 | /******/ if(mode & 8) return value;
69 | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70 | /******/ var ns = Object.create(null);
71 | /******/ __webpack_require__.r(ns);
72 | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73 | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74 | /******/ return ns;
75 | /******/ };
76 | /******/
77 | /******/ // getDefaultExport function for compatibility with non-harmony modules
78 | /******/ __webpack_require__.n = function(module) {
79 | /******/ var getter = module && module.__esModule ?
80 | /******/ function getDefault() { return module['default']; } :
81 | /******/ function getModuleExports() { return module; };
82 | /******/ __webpack_require__.d(getter, 'a', getter);
83 | /******/ return getter;
84 | /******/ };
85 | /******/
86 | /******/ // Object.prototype.hasOwnProperty.call
87 | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88 | /******/
89 | /******/ // __webpack_public_path__
90 | /******/ __webpack_require__.p = "";
91 | /******/
92 | /******/
93 | /******/ // Load entry module and return exports
94 | /******/ return __webpack_require__(__webpack_require__.s = "fb15");
95 | /******/ })
96 | /************************************************************************/
97 | /******/ ({
98 |
99 | /***/ "0d58":
100 | /***/ (function(module, exports, __webpack_require__) {
101 |
102 | // 19.1.2.14 / 15.2.3.14 Object.keys(O)
103 | var $keys = __webpack_require__("ce10");
104 | var enumBugKeys = __webpack_require__("e11e");
105 |
106 | module.exports = Object.keys || function keys(O) {
107 | return $keys(O, enumBugKeys);
108 | };
109 |
110 |
111 | /***/ }),
112 |
113 | /***/ "11e9":
114 | /***/ (function(module, exports, __webpack_require__) {
115 |
116 | var pIE = __webpack_require__("52a7");
117 | var createDesc = __webpack_require__("4630");
118 | var toIObject = __webpack_require__("6821");
119 | var toPrimitive = __webpack_require__("6a99");
120 | var has = __webpack_require__("69a8");
121 | var IE8_DOM_DEFINE = __webpack_require__("c69a");
122 | var gOPD = Object.getOwnPropertyDescriptor;
123 |
124 | exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescriptor(O, P) {
125 | O = toIObject(O);
126 | P = toPrimitive(P, true);
127 | if (IE8_DOM_DEFINE) try {
128 | return gOPD(O, P);
129 | } catch (e) { /* empty */ }
130 | if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
131 | };
132 |
133 |
134 | /***/ }),
135 |
136 | /***/ "1495":
137 | /***/ (function(module, exports, __webpack_require__) {
138 |
139 | var dP = __webpack_require__("86cc");
140 | var anObject = __webpack_require__("cb7c");
141 | var getKeys = __webpack_require__("0d58");
142 |
143 | module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) {
144 | anObject(O);
145 | var keys = getKeys(Properties);
146 | var length = keys.length;
147 | var i = 0;
148 | var P;
149 | while (length > i) dP.f(O, P = keys[i++], Properties[P]);
150 | return O;
151 | };
152 |
153 |
154 | /***/ }),
155 |
156 | /***/ "1eb2":
157 | /***/ (function(module, exports, __webpack_require__) {
158 |
159 | // This file is imported into lib/wc client bundles.
160 |
161 | if (typeof window !== 'undefined') {
162 | var i
163 | if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js$/))) {
164 | __webpack_require__.p = i[1] // eslint-disable-line
165 | }
166 | }
167 |
168 |
169 | /***/ }),
170 |
171 | /***/ "230e":
172 | /***/ (function(module, exports, __webpack_require__) {
173 |
174 | var isObject = __webpack_require__("d3f4");
175 | var document = __webpack_require__("7726").document;
176 | // typeof document.createElement is 'object' in old IE
177 | var is = isObject(document) && isObject(document.createElement);
178 | module.exports = function (it) {
179 | return is ? document.createElement(it) : {};
180 | };
181 |
182 |
183 | /***/ }),
184 |
185 | /***/ "2aba":
186 | /***/ (function(module, exports, __webpack_require__) {
187 |
188 | var global = __webpack_require__("7726");
189 | var hide = __webpack_require__("32e9");
190 | var has = __webpack_require__("69a8");
191 | var SRC = __webpack_require__("ca5a")('src');
192 | var TO_STRING = 'toString';
193 | var $toString = Function[TO_STRING];
194 | var TPL = ('' + $toString).split(TO_STRING);
195 |
196 | __webpack_require__("8378").inspectSource = function (it) {
197 | return $toString.call(it);
198 | };
199 |
200 | (module.exports = function (O, key, val, safe) {
201 | var isFunction = typeof val == 'function';
202 | if (isFunction) has(val, 'name') || hide(val, 'name', key);
203 | if (O[key] === val) return;
204 | if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
205 | if (O === global) {
206 | O[key] = val;
207 | } else if (!safe) {
208 | delete O[key];
209 | hide(O, key, val);
210 | } else if (O[key]) {
211 | O[key] = val;
212 | } else {
213 | hide(O, key, val);
214 | }
215 | // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
216 | })(Function.prototype, TO_STRING, function toString() {
217 | return typeof this == 'function' && this[SRC] || $toString.call(this);
218 | });
219 |
220 |
221 | /***/ }),
222 |
223 | /***/ "2aeb":
224 | /***/ (function(module, exports, __webpack_require__) {
225 |
226 | // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
227 | var anObject = __webpack_require__("cb7c");
228 | var dPs = __webpack_require__("1495");
229 | var enumBugKeys = __webpack_require__("e11e");
230 | var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
231 | var Empty = function () { /* empty */ };
232 | var PROTOTYPE = 'prototype';
233 |
234 | // Create object with fake `null` prototype: use iframe Object with cleared prototype
235 | var createDict = function () {
236 | // Thrash, waste and sodomy: IE GC bug
237 | var iframe = __webpack_require__("230e")('iframe');
238 | var i = enumBugKeys.length;
239 | var lt = '<';
240 | var gt = '>';
241 | var iframeDocument;
242 | iframe.style.display = 'none';
243 | __webpack_require__("fab2").appendChild(iframe);
244 | iframe.src = 'javascript:'; // eslint-disable-line no-script-url
245 | // createDict = iframe.contentWindow.Object;
246 | // html.removeChild(iframe);
247 | iframeDocument = iframe.contentWindow.document;
248 | iframeDocument.open();
249 | iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
250 | iframeDocument.close();
251 | createDict = iframeDocument.F;
252 | while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
253 | return createDict();
254 | };
255 |
256 | module.exports = Object.create || function create(O, Properties) {
257 | var result;
258 | if (O !== null) {
259 | Empty[PROTOTYPE] = anObject(O);
260 | result = new Empty();
261 | Empty[PROTOTYPE] = null;
262 | // add "__proto__" for Object.getPrototypeOf polyfill
263 | result[IE_PROTO] = O;
264 | } else result = createDict();
265 | return Properties === undefined ? result : dPs(result, Properties);
266 | };
267 |
268 |
269 | /***/ }),
270 |
271 | /***/ "2d00":
272 | /***/ (function(module, exports) {
273 |
274 | module.exports = false;
275 |
276 |
277 | /***/ }),
278 |
279 | /***/ "2d95":
280 | /***/ (function(module, exports) {
281 |
282 | var toString = {}.toString;
283 |
284 | module.exports = function (it) {
285 | return toString.call(it).slice(8, -1);
286 | };
287 |
288 |
289 | /***/ }),
290 |
291 | /***/ "32e9":
292 | /***/ (function(module, exports, __webpack_require__) {
293 |
294 | var dP = __webpack_require__("86cc");
295 | var createDesc = __webpack_require__("4630");
296 | module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
297 | return dP.f(object, key, createDesc(1, value));
298 | } : function (object, key, value) {
299 | object[key] = value;
300 | return object;
301 | };
302 |
303 |
304 | /***/ }),
305 |
306 | /***/ "4588":
307 | /***/ (function(module, exports) {
308 |
309 | // 7.1.4 ToInteger
310 | var ceil = Math.ceil;
311 | var floor = Math.floor;
312 | module.exports = function (it) {
313 | return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
314 | };
315 |
316 |
317 | /***/ }),
318 |
319 | /***/ "4630":
320 | /***/ (function(module, exports) {
321 |
322 | module.exports = function (bitmap, value) {
323 | return {
324 | enumerable: !(bitmap & 1),
325 | configurable: !(bitmap & 2),
326 | writable: !(bitmap & 4),
327 | value: value
328 | };
329 | };
330 |
331 |
332 | /***/ }),
333 |
334 | /***/ "52a7":
335 | /***/ (function(module, exports) {
336 |
337 | exports.f = {}.propertyIsEnumerable;
338 |
339 |
340 | /***/ }),
341 |
342 | /***/ "5537":
343 | /***/ (function(module, exports, __webpack_require__) {
344 |
345 | var core = __webpack_require__("8378");
346 | var global = __webpack_require__("7726");
347 | var SHARED = '__core-js_shared__';
348 | var store = global[SHARED] || (global[SHARED] = {});
349 |
350 | (module.exports = function (key, value) {
351 | return store[key] || (store[key] = value !== undefined ? value : {});
352 | })('versions', []).push({
353 | version: core.version,
354 | mode: __webpack_require__("2d00") ? 'pure' : 'global',
355 | copyright: '© 2018 Denis Pushkarev (zloirock.ru)'
356 | });
357 |
358 |
359 | /***/ }),
360 |
361 | /***/ "5ca1":
362 | /***/ (function(module, exports, __webpack_require__) {
363 |
364 | var global = __webpack_require__("7726");
365 | var core = __webpack_require__("8378");
366 | var hide = __webpack_require__("32e9");
367 | var redefine = __webpack_require__("2aba");
368 | var ctx = __webpack_require__("9b43");
369 | var PROTOTYPE = 'prototype';
370 |
371 | var $export = function (type, name, source) {
372 | var IS_FORCED = type & $export.F;
373 | var IS_GLOBAL = type & $export.G;
374 | var IS_STATIC = type & $export.S;
375 | var IS_PROTO = type & $export.P;
376 | var IS_BIND = type & $export.B;
377 | var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
378 | var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
379 | var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
380 | var key, own, out, exp;
381 | if (IS_GLOBAL) source = name;
382 | for (key in source) {
383 | // contains in native
384 | own = !IS_FORCED && target && target[key] !== undefined;
385 | // export native or passed
386 | out = (own ? target : source)[key];
387 | // bind timers to global for call from export context
388 | exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
389 | // extend global
390 | if (target) redefine(target, key, out, type & $export.U);
391 | // export
392 | if (exports[key] != out) hide(exports, key, exp);
393 | if (IS_PROTO && expProto[key] != out) expProto[key] = out;
394 | }
395 | };
396 | global.core = core;
397 | // type bitmap
398 | $export.F = 1; // forced
399 | $export.G = 2; // global
400 | $export.S = 4; // static
401 | $export.P = 8; // proto
402 | $export.B = 16; // bind
403 | $export.W = 32; // wrap
404 | $export.U = 64; // safe
405 | $export.R = 128; // real proto method for `library`
406 | module.exports = $export;
407 |
408 |
409 | /***/ }),
410 |
411 | /***/ "5dbc":
412 | /***/ (function(module, exports, __webpack_require__) {
413 |
414 | var isObject = __webpack_require__("d3f4");
415 | var setPrototypeOf = __webpack_require__("8b97").set;
416 | module.exports = function (that, target, C) {
417 | var S = target.constructor;
418 | var P;
419 | if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
420 | setPrototypeOf(that, P);
421 | } return that;
422 | };
423 |
424 |
425 | /***/ }),
426 |
427 | /***/ "613b":
428 | /***/ (function(module, exports, __webpack_require__) {
429 |
430 | var shared = __webpack_require__("5537")('keys');
431 | var uid = __webpack_require__("ca5a");
432 | module.exports = function (key) {
433 | return shared[key] || (shared[key] = uid(key));
434 | };
435 |
436 |
437 | /***/ }),
438 |
439 | /***/ "626a":
440 | /***/ (function(module, exports, __webpack_require__) {
441 |
442 | // fallback for non-array-like ES3 and non-enumerable old V8 strings
443 | var cof = __webpack_require__("2d95");
444 | // eslint-disable-next-line no-prototype-builtins
445 | module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
446 | return cof(it) == 'String' ? it.split('') : Object(it);
447 | };
448 |
449 |
450 | /***/ }),
451 |
452 | /***/ "6821":
453 | /***/ (function(module, exports, __webpack_require__) {
454 |
455 | // to indexed object, toObject with fallback for non-array-like ES3 strings
456 | var IObject = __webpack_require__("626a");
457 | var defined = __webpack_require__("be13");
458 | module.exports = function (it) {
459 | return IObject(defined(it));
460 | };
461 |
462 |
463 | /***/ }),
464 |
465 | /***/ "69a8":
466 | /***/ (function(module, exports) {
467 |
468 | var hasOwnProperty = {}.hasOwnProperty;
469 | module.exports = function (it, key) {
470 | return hasOwnProperty.call(it, key);
471 | };
472 |
473 |
474 | /***/ }),
475 |
476 | /***/ "6a99":
477 | /***/ (function(module, exports, __webpack_require__) {
478 |
479 | // 7.1.1 ToPrimitive(input [, PreferredType])
480 | var isObject = __webpack_require__("d3f4");
481 | // instead of the ES6 spec version, we didn't implement @@toPrimitive case
482 | // and the second argument - flag - preferred type is a string
483 | module.exports = function (it, S) {
484 | if (!isObject(it)) return it;
485 | var fn, val;
486 | if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
487 | if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
488 | if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
489 | throw TypeError("Can't convert object to primitive value");
490 | };
491 |
492 |
493 | /***/ }),
494 |
495 | /***/ "7726":
496 | /***/ (function(module, exports) {
497 |
498 | // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
499 | var global = module.exports = typeof window != 'undefined' && window.Math == Math
500 | ? window : typeof self != 'undefined' && self.Math == Math ? self
501 | // eslint-disable-next-line no-new-func
502 | : Function('return this')();
503 | if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
504 |
505 |
506 | /***/ }),
507 |
508 | /***/ "77f1":
509 | /***/ (function(module, exports, __webpack_require__) {
510 |
511 | var toInteger = __webpack_require__("4588");
512 | var max = Math.max;
513 | var min = Math.min;
514 | module.exports = function (index, length) {
515 | index = toInteger(index);
516 | return index < 0 ? max(index + length, 0) : min(index, length);
517 | };
518 |
519 |
520 | /***/ }),
521 |
522 | /***/ "79e5":
523 | /***/ (function(module, exports) {
524 |
525 | module.exports = function (exec) {
526 | try {
527 | return !!exec();
528 | } catch (e) {
529 | return true;
530 | }
531 | };
532 |
533 |
534 | /***/ }),
535 |
536 | /***/ "8378":
537 | /***/ (function(module, exports) {
538 |
539 | var core = module.exports = { version: '2.5.7' };
540 | if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
541 |
542 |
543 | /***/ }),
544 |
545 | /***/ "86cc":
546 | /***/ (function(module, exports, __webpack_require__) {
547 |
548 | var anObject = __webpack_require__("cb7c");
549 | var IE8_DOM_DEFINE = __webpack_require__("c69a");
550 | var toPrimitive = __webpack_require__("6a99");
551 | var dP = Object.defineProperty;
552 |
553 | exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
554 | anObject(O);
555 | P = toPrimitive(P, true);
556 | anObject(Attributes);
557 | if (IE8_DOM_DEFINE) try {
558 | return dP(O, P, Attributes);
559 | } catch (e) { /* empty */ }
560 | if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
561 | if ('value' in Attributes) O[P] = Attributes.value;
562 | return O;
563 | };
564 |
565 |
566 | /***/ }),
567 |
568 | /***/ "8b97":
569 | /***/ (function(module, exports, __webpack_require__) {
570 |
571 | // Works with __proto__ only. Old v8 can't work with null proto objects.
572 | /* eslint-disable no-proto */
573 | var isObject = __webpack_require__("d3f4");
574 | var anObject = __webpack_require__("cb7c");
575 | var check = function (O, proto) {
576 | anObject(O);
577 | if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
578 | };
579 | module.exports = {
580 | set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
581 | function (test, buggy, set) {
582 | try {
583 | set = __webpack_require__("9b43")(Function.call, __webpack_require__("11e9").f(Object.prototype, '__proto__').set, 2);
584 | set(test, []);
585 | buggy = !(test instanceof Array);
586 | } catch (e) { buggy = true; }
587 | return function setPrototypeOf(O, proto) {
588 | check(O, proto);
589 | if (buggy) O.__proto__ = proto;
590 | else set(O, proto);
591 | return O;
592 | };
593 | }({}, false) : undefined),
594 | check: check
595 | };
596 |
597 |
598 | /***/ }),
599 |
600 | /***/ "9093":
601 | /***/ (function(module, exports, __webpack_require__) {
602 |
603 | // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
604 | var $keys = __webpack_require__("ce10");
605 | var hiddenKeys = __webpack_require__("e11e").concat('length', 'prototype');
606 |
607 | exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
608 | return $keys(O, hiddenKeys);
609 | };
610 |
611 |
612 | /***/ }),
613 |
614 | /***/ "9b43":
615 | /***/ (function(module, exports, __webpack_require__) {
616 |
617 | // optional / simple context binding
618 | var aFunction = __webpack_require__("d8e8");
619 | module.exports = function (fn, that, length) {
620 | aFunction(fn);
621 | if (that === undefined) return fn;
622 | switch (length) {
623 | case 1: return function (a) {
624 | return fn.call(that, a);
625 | };
626 | case 2: return function (a, b) {
627 | return fn.call(that, a, b);
628 | };
629 | case 3: return function (a, b, c) {
630 | return fn.call(that, a, b, c);
631 | };
632 | }
633 | return function (/* ...args */) {
634 | return fn.apply(that, arguments);
635 | };
636 | };
637 |
638 |
639 | /***/ }),
640 |
641 | /***/ "9def":
642 | /***/ (function(module, exports, __webpack_require__) {
643 |
644 | // 7.1.15 ToLength
645 | var toInteger = __webpack_require__("4588");
646 | var min = Math.min;
647 | module.exports = function (it) {
648 | return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
649 | };
650 |
651 |
652 | /***/ }),
653 |
654 | /***/ "9e1e":
655 | /***/ (function(module, exports, __webpack_require__) {
656 |
657 | // Thank's IE8 for his funny defineProperty
658 | module.exports = !__webpack_require__("79e5")(function () {
659 | return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
660 | });
661 |
662 |
663 | /***/ }),
664 |
665 | /***/ "aa77":
666 | /***/ (function(module, exports, __webpack_require__) {
667 |
668 | var $export = __webpack_require__("5ca1");
669 | var defined = __webpack_require__("be13");
670 | var fails = __webpack_require__("79e5");
671 | var spaces = __webpack_require__("fdef");
672 | var space = '[' + spaces + ']';
673 | var non = '\u200b\u0085';
674 | var ltrim = RegExp('^' + space + space + '*');
675 | var rtrim = RegExp(space + space + '*$');
676 |
677 | var exporter = function (KEY, exec, ALIAS) {
678 | var exp = {};
679 | var FORCE = fails(function () {
680 | return !!spaces[KEY]() || non[KEY]() != non;
681 | });
682 | var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
683 | if (ALIAS) exp[ALIAS] = fn;
684 | $export($export.P + $export.F * FORCE, 'String', exp);
685 | };
686 |
687 | // 1 -> String#trimLeft
688 | // 2 -> String#trimRight
689 | // 3 -> String#trim
690 | var trim = exporter.trim = function (string, TYPE) {
691 | string = String(defined(string));
692 | if (TYPE & 1) string = string.replace(ltrim, '');
693 | if (TYPE & 2) string = string.replace(rtrim, '');
694 | return string;
695 | };
696 |
697 | module.exports = exporter;
698 |
699 |
700 | /***/ }),
701 |
702 | /***/ "be13":
703 | /***/ (function(module, exports) {
704 |
705 | // 7.2.1 RequireObjectCoercible(argument)
706 | module.exports = function (it) {
707 | if (it == undefined) throw TypeError("Can't call method on " + it);
708 | return it;
709 | };
710 |
711 |
712 | /***/ }),
713 |
714 | /***/ "c366":
715 | /***/ (function(module, exports, __webpack_require__) {
716 |
717 | // false -> Array#indexOf
718 | // true -> Array#includes
719 | var toIObject = __webpack_require__("6821");
720 | var toLength = __webpack_require__("9def");
721 | var toAbsoluteIndex = __webpack_require__("77f1");
722 | module.exports = function (IS_INCLUDES) {
723 | return function ($this, el, fromIndex) {
724 | var O = toIObject($this);
725 | var length = toLength(O.length);
726 | var index = toAbsoluteIndex(fromIndex, length);
727 | var value;
728 | // Array#includes uses SameValueZero equality algorithm
729 | // eslint-disable-next-line no-self-compare
730 | if (IS_INCLUDES && el != el) while (length > index) {
731 | value = O[index++];
732 | // eslint-disable-next-line no-self-compare
733 | if (value != value) return true;
734 | // Array#indexOf ignores holes, Array#includes - not
735 | } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
736 | if (O[index] === el) return IS_INCLUDES || index || 0;
737 | } return !IS_INCLUDES && -1;
738 | };
739 | };
740 |
741 |
742 | /***/ }),
743 |
744 | /***/ "c5f6":
745 | /***/ (function(module, exports, __webpack_require__) {
746 |
747 | "use strict";
748 |
749 | var global = __webpack_require__("7726");
750 | var has = __webpack_require__("69a8");
751 | var cof = __webpack_require__("2d95");
752 | var inheritIfRequired = __webpack_require__("5dbc");
753 | var toPrimitive = __webpack_require__("6a99");
754 | var fails = __webpack_require__("79e5");
755 | var gOPN = __webpack_require__("9093").f;
756 | var gOPD = __webpack_require__("11e9").f;
757 | var dP = __webpack_require__("86cc").f;
758 | var $trim = __webpack_require__("aa77").trim;
759 | var NUMBER = 'Number';
760 | var $Number = global[NUMBER];
761 | var Base = $Number;
762 | var proto = $Number.prototype;
763 | // Opera ~12 has broken Object#toString
764 | var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
765 | var TRIM = 'trim' in String.prototype;
766 |
767 | // 7.1.3 ToNumber(argument)
768 | var toNumber = function (argument) {
769 | var it = toPrimitive(argument, false);
770 | if (typeof it == 'string' && it.length > 2) {
771 | it = TRIM ? it.trim() : $trim(it, 3);
772 | var first = it.charCodeAt(0);
773 | var third, radix, maxCode;
774 | if (first === 43 || first === 45) {
775 | third = it.charCodeAt(2);
776 | if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
777 | } else if (first === 48) {
778 | switch (it.charCodeAt(1)) {
779 | case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
780 | case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
781 | default: return +it;
782 | }
783 | for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
784 | code = digits.charCodeAt(i);
785 | // parseInt parses a string to a first unavailable symbol
786 | // but ToNumber should return NaN if a string contains unavailable symbols
787 | if (code < 48 || code > maxCode) return NaN;
788 | } return parseInt(digits, radix);
789 | }
790 | } return +it;
791 | };
792 |
793 | if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
794 | $Number = function Number(value) {
795 | var it = arguments.length < 1 ? 0 : value;
796 | var that = this;
797 | return that instanceof $Number
798 | // check on 1..constructor(foo) case
799 | && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
800 | ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
801 | };
802 | for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
803 | // ES3:
804 | 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
805 | // ES6 (in case, if modules with ES6 Number statics required before):
806 | 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
807 | 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
808 | ).split(','), j = 0, key; keys.length > j; j++) {
809 | if (has(Base, key = keys[j]) && !has($Number, key)) {
810 | dP($Number, key, gOPD(Base, key));
811 | }
812 | }
813 | $Number.prototype = proto;
814 | proto.constructor = $Number;
815 | __webpack_require__("2aba")(global, NUMBER, $Number);
816 | }
817 |
818 |
819 | /***/ }),
820 |
821 | /***/ "c69a":
822 | /***/ (function(module, exports, __webpack_require__) {
823 |
824 | module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
825 | return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
826 | });
827 |
828 |
829 | /***/ }),
830 |
831 | /***/ "ca5a":
832 | /***/ (function(module, exports) {
833 |
834 | var id = 0;
835 | var px = Math.random();
836 | module.exports = function (key) {
837 | return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
838 | };
839 |
840 |
841 | /***/ }),
842 |
843 | /***/ "cb7c":
844 | /***/ (function(module, exports, __webpack_require__) {
845 |
846 | var isObject = __webpack_require__("d3f4");
847 | module.exports = function (it) {
848 | if (!isObject(it)) throw TypeError(it + ' is not an object!');
849 | return it;
850 | };
851 |
852 |
853 | /***/ }),
854 |
855 | /***/ "ce10":
856 | /***/ (function(module, exports, __webpack_require__) {
857 |
858 | var has = __webpack_require__("69a8");
859 | var toIObject = __webpack_require__("6821");
860 | var arrayIndexOf = __webpack_require__("c366")(false);
861 | var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
862 |
863 | module.exports = function (object, names) {
864 | var O = toIObject(object);
865 | var i = 0;
866 | var result = [];
867 | var key;
868 | for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
869 | // Don't enum bug & hidden keys
870 | while (names.length > i) if (has(O, key = names[i++])) {
871 | ~arrayIndexOf(result, key) || result.push(key);
872 | }
873 | return result;
874 | };
875 |
876 |
877 | /***/ }),
878 |
879 | /***/ "d3f4":
880 | /***/ (function(module, exports) {
881 |
882 | module.exports = function (it) {
883 | return typeof it === 'object' ? it !== null : typeof it === 'function';
884 | };
885 |
886 |
887 | /***/ }),
888 |
889 | /***/ "d8e8":
890 | /***/ (function(module, exports) {
891 |
892 | module.exports = function (it) {
893 | if (typeof it != 'function') throw TypeError(it + ' is not a function!');
894 | return it;
895 | };
896 |
897 |
898 | /***/ }),
899 |
900 | /***/ "e11e":
901 | /***/ (function(module, exports) {
902 |
903 | // IE 8- don't enum bug keys
904 | module.exports = (
905 | 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
906 | ).split(',');
907 |
908 |
909 | /***/ }),
910 |
911 | /***/ "fab2":
912 | /***/ (function(module, exports, __webpack_require__) {
913 |
914 | var document = __webpack_require__("7726").document;
915 | module.exports = document && document.documentElement;
916 |
917 |
918 | /***/ }),
919 |
920 | /***/ "fb15":
921 | /***/ (function(module, __webpack_exports__, __webpack_require__) {
922 |
923 | "use strict";
924 | __webpack_require__.r(__webpack_exports__);
925 |
926 | // EXTERNAL MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
927 | var setPublicPath = __webpack_require__("1eb2");
928 |
929 | // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0595ba96-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/static-map.vue?vue&type=template&id=89561ac4&
930 | var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{"src":_vm.mapUrl}})}
931 | var staticRenderFns = []
932 |
933 |
934 | // CONCATENATED MODULE: ./src/components/static-map.vue?vue&type=template&id=89561ac4&
935 |
936 | // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
937 | var es6_number_constructor = __webpack_require__("c5f6");
938 |
939 | // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/static-map.vue?vue&type=script&lang=js&
940 |
941 | //
942 | //
943 | //
944 | //
945 | var BASE_URL_MAP = 'https://maps.googleapis.com/maps/api/staticmap?';
946 |
947 | function generateFormatMap() {
948 | return this.format.toLowerCase();
949 | }
950 |
951 | function generateMapType() {
952 | var types = ['roadmap', 'satellite', 'hybrid', 'terrain'];
953 | var currenType = this.type;
954 |
955 | if (types.indexOf(currenType) > -1) {
956 | return currenType;
957 | }
958 |
959 | var upperTypes = types.join(', ').toUpperCase();
960 | throw Error("Type must be one of the following values ".concat(upperTypes));
961 | }
962 |
963 | function generateMapUrl() {
964 | var mapUrl = "".concat(BASE_URL_MAP, "center=").concat(this.center, "&zoom=").concat(this.zoom, "&size=").concat(this.sizeMap, "&maptype=").concat(this.mapTypeMap, "&format=").concat(this.formatMap, "&key=").concat(this.googleApiKey, "&scale=").concat(this.scaleMap, "&language=").concat(this.language).concat(this.markersMap).concat(this.pathsMap);
965 | this.$emit('get-url', mapUrl);
966 | return mapUrl;
967 | }
968 | /* eslint-disable arrow-parens */
969 |
970 |
971 | function generateMarkers() {
972 | var markers = this.markers.map(function (marker) {
973 | var color = "color:".concat(marker.color, "|");
974 | var size = "size:".concat(marker.size, "|");
975 | var label = "label:".concat(marker.label, "|");
976 | var icon = "icon:".concat(marker.icon, "|");
977 | var latLng = "".concat(marker.lat, ",").concat(marker.lng);
978 | var markerUrl = '&markers=';
979 |
980 | if (marker.color) {
981 | markerUrl += color;
982 | }
983 |
984 | if (marker.size) {
985 | markerUrl += size;
986 | }
987 |
988 | if (marker.label) {
989 | markerUrl += label;
990 | }
991 |
992 | if (marker.icon) {
993 | markerUrl += icon;
994 | }
995 |
996 | if (marker.lat && marker.lng) {
997 | markerUrl += latLng;
998 | }
999 |
1000 | return markerUrl;
1001 | });
1002 | return markers.join('');
1003 | }
1004 | /* eslint-disable arrow-parens */
1005 |
1006 |
1007 | function generatePaths() {
1008 | var paths = this.paths.map(function (path) {
1009 | var color = "color:".concat(path.color);
1010 | var weight = "weight:".concat(path.weight);
1011 | var geodesic = "geodesic:".concat(path.geodesic);
1012 | var fillcolor = "fillcolor:".concat(path.fillcolor);
1013 | var latLng = path.locations.map(function (location) {
1014 | if (location.startLat && location.endLng) {
1015 | return "|".concat(location.startLat, ",").concat(location.endLng);
1016 | }
1017 |
1018 | throw Error('The path object must have startLat and endLng properties');
1019 | });
1020 | var joinLatLng = latLng.join('');
1021 | var pathUrl = "&path=".concat(color, "|").concat(fillcolor, "|").concat(geodesic, "|").concat(weight).concat(joinLatLng);
1022 | return pathUrl;
1023 | });
1024 | return paths.length > 0 ? paths[0] : '';
1025 | }
1026 |
1027 | function generateScaleMap() {
1028 | var allowedScales = ['1', '2', '4'];
1029 |
1030 | if (allowedScales.indexOf(this.scale) > -1) {
1031 | return this.scale;
1032 | }
1033 |
1034 | throw Error("Scale only can have the values ".concat(allowedScales.join(', ')));
1035 | }
1036 |
1037 | function generateSizeMap() {
1038 | if (this.size.length > 0) {
1039 | var size = this.size;
1040 | return "".concat(size[0], "x").concat(size[1]);
1041 | }
1042 |
1043 | throw Error('Size must have 2 values: WIDTH AND HEIGHT');
1044 | }
1045 |
1046 | /* harmony default export */ var static_mapvue_type_script_lang_js_ = ({
1047 | name: 'static-map',
1048 | computed: {
1049 | formatMap: generateFormatMap,
1050 | mapTypeMap: generateMapType,
1051 | mapUrl: generateMapUrl,
1052 | markersMap: generateMarkers,
1053 | pathsMap: generatePaths,
1054 | scaleMap: generateScaleMap,
1055 | sizeMap: generateSizeMap
1056 | },
1057 | props: {
1058 | center: {
1059 | type: String,
1060 | required: true
1061 | },
1062 | format: {
1063 | type: String,
1064 | default: 'png'
1065 | },
1066 | getUrl: {
1067 | type: Function
1068 | },
1069 | googleApiKey: {
1070 | type: String,
1071 | required: true
1072 | },
1073 | language: {
1074 | type: String,
1075 | default: 'en'
1076 | },
1077 | markers: {
1078 | type: Array,
1079 | default: function _default() {
1080 | return [];
1081 | }
1082 | },
1083 | paths: {
1084 | type: Array,
1085 | default: function _default() {
1086 | return [];
1087 | }
1088 | },
1089 | type: {
1090 | type: String,
1091 | default: 'roadmap'
1092 | },
1093 | scale: {
1094 | type: String,
1095 | default: '1'
1096 | },
1097 | size: {
1098 | type: Array,
1099 | default: function _default() {
1100 | return [500, 400];
1101 | }
1102 | },
1103 | zoom: {
1104 | type: Number,
1105 | required: true
1106 | }
1107 | }
1108 | });
1109 | // CONCATENATED MODULE: ./src/components/static-map.vue?vue&type=script&lang=js&
1110 | /* harmony default export */ var components_static_mapvue_type_script_lang_js_ = (static_mapvue_type_script_lang_js_);
1111 | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1112 | /* globals __VUE_SSR_CONTEXT__ */
1113 |
1114 | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
1115 | // This module is a runtime utility for cleaner component module output and will
1116 | // be included in the final webpack user bundle.
1117 |
1118 | function normalizeComponent (
1119 | scriptExports,
1120 | render,
1121 | staticRenderFns,
1122 | functionalTemplate,
1123 | injectStyles,
1124 | scopeId,
1125 | moduleIdentifier, /* server only */
1126 | shadowMode /* vue-cli only */
1127 | ) {
1128 | // Vue.extend constructor export interop
1129 | var options = typeof scriptExports === 'function'
1130 | ? scriptExports.options
1131 | : scriptExports
1132 |
1133 | // render functions
1134 | if (render) {
1135 | options.render = render
1136 | options.staticRenderFns = staticRenderFns
1137 | options._compiled = true
1138 | }
1139 |
1140 | // functional template
1141 | if (functionalTemplate) {
1142 | options.functional = true
1143 | }
1144 |
1145 | // scopedId
1146 | if (scopeId) {
1147 | options._scopeId = 'data-v-' + scopeId
1148 | }
1149 |
1150 | var hook
1151 | if (moduleIdentifier) { // server build
1152 | hook = function (context) {
1153 | // 2.3 injection
1154 | context =
1155 | context || // cached call
1156 | (this.$vnode && this.$vnode.ssrContext) || // stateful
1157 | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
1158 | // 2.2 with runInNewContext: true
1159 | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
1160 | context = __VUE_SSR_CONTEXT__
1161 | }
1162 | // inject component styles
1163 | if (injectStyles) {
1164 | injectStyles.call(this, context)
1165 | }
1166 | // register component module identifier for async chunk inferrence
1167 | if (context && context._registeredComponents) {
1168 | context._registeredComponents.add(moduleIdentifier)
1169 | }
1170 | }
1171 | // used by ssr in case component is cached and beforeCreate
1172 | // never gets called
1173 | options._ssrRegister = hook
1174 | } else if (injectStyles) {
1175 | hook = shadowMode
1176 | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
1177 | : injectStyles
1178 | }
1179 |
1180 | if (hook) {
1181 | if (options.functional) {
1182 | // for template-only hot-reload because in that case the render fn doesn't
1183 | // go through the normalizer
1184 | options._injectStyles = hook
1185 | // register for functioal component in vue file
1186 | var originalRender = options.render
1187 | options.render = function renderWithStyleInjection (h, context) {
1188 | hook.call(context)
1189 | return originalRender(h, context)
1190 | }
1191 | } else {
1192 | // inject component registration as beforeCreate hook
1193 | var existing = options.beforeCreate
1194 | options.beforeCreate = existing
1195 | ? [].concat(existing, hook)
1196 | : [hook]
1197 | }
1198 | }
1199 |
1200 | return {
1201 | exports: scriptExports,
1202 | options: options
1203 | }
1204 | }
1205 |
1206 | // CONCATENATED MODULE: ./src/components/static-map.vue
1207 |
1208 |
1209 |
1210 |
1211 |
1212 | /* normalize component */
1213 |
1214 | var component = normalizeComponent(
1215 | components_static_mapvue_type_script_lang_js_,
1216 | render,
1217 | staticRenderFns,
1218 | false,
1219 | null,
1220 | null,
1221 | null
1222 |
1223 | )
1224 |
1225 | component.options.__file = "static-map.vue"
1226 | /* harmony default export */ var static_map = (component.exports);
1227 | // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
1228 |
1229 |
1230 | /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (static_map);
1231 |
1232 |
1233 |
1234 | /***/ }),
1235 |
1236 | /***/ "fdef":
1237 | /***/ (function(module, exports) {
1238 |
1239 | module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1240 | '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1241 |
1242 |
1243 | /***/ })
1244 |
1245 | /******/ })["default"];
1246 | });
1247 | //# sourceMappingURL=StaticMap.umd.js.map
--------------------------------------------------------------------------------
/dist/StaticMap.umd.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack://StaticMap/webpack/universalModuleDefinition","webpack://StaticMap/webpack/bootstrap","webpack://StaticMap/./node_modules/core-js/modules/_object-keys.js","webpack://StaticMap/./node_modules/core-js/modules/_object-gopd.js","webpack://StaticMap/./node_modules/core-js/modules/_object-dps.js","webpack://StaticMap/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://StaticMap/./node_modules/core-js/modules/_dom-create.js","webpack://StaticMap/./node_modules/core-js/modules/_redefine.js","webpack://StaticMap/./node_modules/core-js/modules/_object-create.js","webpack://StaticMap/./node_modules/core-js/modules/_library.js","webpack://StaticMap/./node_modules/core-js/modules/_cof.js","webpack://StaticMap/./node_modules/core-js/modules/_hide.js","webpack://StaticMap/./node_modules/core-js/modules/_to-integer.js","webpack://StaticMap/./node_modules/core-js/modules/_property-desc.js","webpack://StaticMap/./node_modules/core-js/modules/_object-pie.js","webpack://StaticMap/./node_modules/core-js/modules/_shared.js","webpack://StaticMap/./node_modules/core-js/modules/_export.js","webpack://StaticMap/./node_modules/core-js/modules/_inherit-if-required.js","webpack://StaticMap/./node_modules/core-js/modules/_shared-key.js","webpack://StaticMap/./node_modules/core-js/modules/_iobject.js","webpack://StaticMap/./node_modules/core-js/modules/_to-iobject.js","webpack://StaticMap/./node_modules/core-js/modules/_has.js","webpack://StaticMap/./node_modules/core-js/modules/_to-primitive.js","webpack://StaticMap/./node_modules/core-js/modules/_global.js","webpack://StaticMap/./node_modules/core-js/modules/_to-absolute-index.js","webpack://StaticMap/./node_modules/core-js/modules/_fails.js","webpack://StaticMap/./node_modules/core-js/modules/_core.js","webpack://StaticMap/./node_modules/core-js/modules/_object-dp.js","webpack://StaticMap/./node_modules/core-js/modules/_set-proto.js","webpack://StaticMap/./node_modules/core-js/modules/_object-gopn.js","webpack://StaticMap/./node_modules/core-js/modules/_ctx.js","webpack://StaticMap/./node_modules/core-js/modules/_to-length.js","webpack://StaticMap/./node_modules/core-js/modules/_descriptors.js","webpack://StaticMap/./node_modules/core-js/modules/_string-trim.js","webpack://StaticMap/./node_modules/core-js/modules/_defined.js","webpack://StaticMap/./node_modules/core-js/modules/_array-includes.js","webpack://StaticMap/./node_modules/core-js/modules/es6.number.constructor.js","webpack://StaticMap/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://StaticMap/./node_modules/core-js/modules/_uid.js","webpack://StaticMap/./node_modules/core-js/modules/_an-object.js","webpack://StaticMap/./node_modules/core-js/modules/_object-keys-internal.js","webpack://StaticMap/./node_modules/core-js/modules/_is-object.js","webpack://StaticMap/./node_modules/core-js/modules/_a-function.js","webpack://StaticMap/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://StaticMap/./node_modules/core-js/modules/_html.js","webpack://StaticMap/./src/components/static-map.vue?e419","webpack://StaticMap/src/components/static-map.vue","webpack://StaticMap/./src/components/static-map.vue?1ba1","webpack://StaticMap/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://StaticMap/./src/components/static-map.vue","webpack://StaticMap/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js","webpack://StaticMap/./node_modules/core-js/modules/_string-ws.js"],"names":[],"mappings":"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;AACA;;AACA;AACA;AACA;;AAEA;AACA,mHACA,YADA,sBAEA,eAFA,qBAEA,cAFA,kBAGA,iBAHA,oBAIA,aAJA,uBAIA,aAJA,SAIA,eAJA,SAKA,aALA;AAOA;AACA;AACA;AAEA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA;AACA;;AACA;AACA,GAvBA;AAwBA;AACA;AAEA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA,KALA;AAMA;AACA;AACA;AACA,GAdA;AAeA;AACA;;AAEA;AACA;;AACA;AACA;AACA;;AACA;AACA;;AAEA;AACA;AAAA,QACA,IADA,GACA,IADA,CACA,IADA;AAEA;AACA;;AACA;AACA;;AAEA;AACA,oBADA;AAEA;AACA,gCADA;AAEA,+BAFA;AAGA,0BAHA;AAIA,+BAJA;AAKA,2BALA;AAMA,8BANA;AAOA;AAPA,GAFA;AAWA;AACA;AACA,kBADA;AAEA;AAFA,KADA;AAKA;AACA,kBADA;AAEA;AAFA,KALA;AASA;AACA;AADA,KATA;AAYA;AACA,kBADA;AAEA;AAFA,KAZA;AAgBA;AACA,kBADA;AAEA;AAFA,KAhBA;AAoBA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KApBA;AAwBA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KAxBA;AA4BA;AACA,kBADA;AAEA;AAFA,KA5BA;AAgCA;AACA,kBADA;AAEA;AAFA,KAhCA;AAoCA;AACA,iBADA;AAEA;AAAA;AAAA;AAFA,KApCA;AAwCA;AACA,kBADA;AAEA;AAFA;AAxCA;AAXA,G;;AClG8Q,CAAgB,oHAAG,EAAC,C;;ACAlS;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC5FyF;AAC3B;AACL;;;AAGzD;AAC0F;AAC1F,gBAAgB,kBAAU;AAC1B,EAAE,6CAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACe,gE;;ACnBS;AACA;AACxB,+EAAe,UAAG;AACI;;;;;;;;ACHtB;AACA","file":"StaticMap.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"StaticMap\"] = factory();\n\telse\n\t\troot[\"StaticMap\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","module.exports = false;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","exports.f = {}.propertyIsEnumerable;\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('img',{attrs:{\"src\":_vm.mapUrl}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t
\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./static-map.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./static-map.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./static-map.vue?vue&type=template&id=89561ac4&\"\nimport script from \"./static-map.vue?vue&type=script&lang=js&\"\nexport * from \"./static-map.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"static-map.vue\"\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/StaticMap.umd.min.js:
--------------------------------------------------------------------------------
1 | (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["StaticMap"]=e():t["StaticMap"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0d58":function(t,e,n){var r=n("ce10"),o=n("e11e");t.exports=Object.keys||function(t){return r(t,o)}},"11e9":function(t,e,n){var r=n("52a7"),o=n("4630"),c=n("6821"),i=n("6a99"),a=n("69a8"),u=n("c69a"),f=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?f:function(t,e){if(t=c(t),e=i(e,!0),u)try{return f(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),o=n("cb7c"),c=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){o(t);var n,i=c(e),a=i.length,u=0;while(a>u)r.f(t,n=i[u++],e[n]);return t}},"1eb2":function(t,e,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),c=n("69a8"),i=n("ca5a")("src"),a="toString",u=Function[a],f=(""+u).split(a);n("8378").inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(c(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(c(n,i)||o(n,i,t[e]?""+t[e]:f.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||u.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),o=n("1495"),c=n("e11e"),i=n("613b")("IE_PROTO"),a=function(){},u="prototype",f=function(){var t,e=n("230e")("iframe"),r=c.length,o="<",i=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+i+"document.F=Object"+o+"/script"+i),t.close(),f=t.F;while(r--)delete f[u][c[r]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[i]=t):n=f(),void 0===e?n:o(n,e)}},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),o=n("7726"),c="__core-js_shared__",i=o[c]||(o[c]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),c=n("32e9"),i=n("2aba"),a=n("9b43"),u="prototype",f=function(t,e,n){var s,p,l,d,h=t&f.F,v=t&f.G,y=t&f.S,b=t&f.P,m=t&f.B,g=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],_=v?o:o[e]||(o[e]={}),x=_[u]||(_[u]={});for(s in v&&(n=e),n)p=!h&&g&&void 0!==g[s],l=(p?g:n)[s],d=m&&p?a(l,r):b&&"function"==typeof l?a(Function.call,l):l,g&&i(g,s,l,t&f.U),_[s]!=l&&c(_,s,d),b&&x[s]!=l&&(x[s]=l)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"5dbc":function(t,e,n){var r=n("d3f4"),o=n("8b97").set;t.exports=function(t,e,n){var c,i=e.constructor;return i!==n&&"function"==typeof i&&(c=i.prototype)!==n.prototype&&r(c)&&o&&o(t,c),t}},"613b":function(t,e,n){var r=n("5537")("keys"),o=n("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,c=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):c(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),c=n("6a99"),i=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=c(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),o=n("cb7c"),c=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return c(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:c}},9093:function(t,e,n){var r=n("ce10"),o=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},aa77:function(t,e,n){var r=n("5ca1"),o=n("be13"),c=n("79e5"),i=n("fdef"),a="["+i+"]",u="
",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),p=function(t,e,n){var o={},a=c(function(){return!!i[t]()||u[t]()!=u}),f=o[t]=a?e(l):i[t];n&&(o[n]=f),r(r.P+r.F*a,"String",o)},l=p.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(f,"")),2&e&&(t=t.replace(s,"")),t};t.exports=p},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),o=n("9def"),c=n("77f1");t.exports=function(t){return function(e,n,i){var a,u=r(e),f=o(u.length),s=c(i,f);if(t&&n!=n){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),o=n("69a8"),c=n("2d95"),i=n("5dbc"),a=n("6a99"),u=n("79e5"),f=n("9093").f,s=n("11e9").f,p=n("86cc").f,l=n("aa77").trim,d="Number",h=r[d],v=h,y=h.prototype,b=c(n("2aeb")(y))==d,m="trim"in String.prototype,g=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():l(e,3);var n,r,o,c=e.charCodeAt(0);if(43===c||45===c){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===c){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var i,u=e.slice(2),f=0,s=u.length;fo)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(b?u(function(){y.valueOf.call(n)}):c(n)!=d)?i(new v(g(e)),n,h):g(e)};for(var _,x=n("9e1e")?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;x.length>S;S++)o(v,_=x[S])&&!o(h,_)&&p(h,_,s(v,_));h.prototype=y,y.constructor=h,n("2aba")(r,d,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),o=n("6821"),c=n("c366")(!1),i=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)n!=i&&r(a,n)&&f.push(n);while(e.length>u)r(a,n=e[u++])&&(~c(f,n)||f.push(n));return f}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";n.r(e);n("1eb2");var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("img",{attrs:{src:t.mapUrl}})},o=[],c=(n("c5f6"),"https://maps.googleapis.com/maps/api/staticmap?");function i(){return this.format.toLowerCase()}function a(){var t=["roadmap","satellite","hybrid","terrain"],e=this.type;if(t.indexOf(e)>-1)return e;var n=t.join(", ").toUpperCase();throw Error("Type must be one of the following values ".concat(n))}function u(){var t="".concat(c,"center=").concat(this.center,"&zoom=").concat(this.zoom,"&size=").concat(this.sizeMap,"&maptype=").concat(this.mapTypeMap,"&format=").concat(this.formatMap,"&key=").concat(this.googleApiKey,"&scale=").concat(this.scaleMap,"&language=").concat(this.language).concat(this.markersMap).concat(this.pathsMap);return this.$emit("get-url",t),t}function f(){var t=this.markers.map(function(t){var e="color:".concat(t.color,"|"),n="size:".concat(t.size,"|"),r="label:".concat(t.label,"|"),o="icon:".concat(t.icon,"|"),c="".concat(t.lat,",").concat(t.lng),i="&markers=";return t.color&&(i+=e),t.size&&(i+=n),t.label&&(i+=r),t.icon&&(i+=o),t.lat&&t.lng&&(i+=c),i});return t.join("")}function s(){var t=this.paths.map(function(t){var e="color:".concat(t.color),n="weight:".concat(t.weight),r="geodesic:".concat(t.geodesic),o="fillcolor:".concat(t.fillcolor),c=t.locations.map(function(t){if(t.startLat&&t.endLng)return"|".concat(t.startLat,",").concat(t.endLng);throw Error("The path object must have startLat and endLng properties")}),i=c.join(""),a="&path=".concat(e,"|").concat(o,"|").concat(r,"|").concat(n).concat(i);return a});return t.length>0?t[0]:""}function p(){var t=["1","2","4"];if(t.indexOf(this.scale)>-1)return this.scale;throw Error("Scale only can have the values ".concat(t.join(", ")))}function l(){if(this.size.length>0){var t=this.size;return"".concat(t[0],"x").concat(t[1])}throw Error("Size must have 2 values: WIDTH AND HEIGHT")}var d={name:"static-map",computed:{formatMap:i,mapTypeMap:a,mapUrl:u,markersMap:f,pathsMap:s,scaleMap:p,sizeMap:l},props:{center:{type:String,required:!0},format:{type:String,default:"png"},getUrl:{type:Function},googleApiKey:{type:String,required:!0},language:{type:String,default:"en"},markers:{type:Array,default:function(){return[]}},paths:{type:Array,default:function(){return[]}},type:{type:String,default:"roadmap"},scale:{type:String,default:"1"},size:{type:Array,default:function(){return[500,400]}},zoom:{type:Number,required:!0}}},h=d;function v(t,e,n,r,o,c,i,a){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),c&&(f._scopeId="data-v-"+c),i?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,e){return u.call(e),s(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:f}}var y=v(h,r,o,!1,null,null,null);y.options.__file="static-map.vue";var b=y.exports;e["default"]=b},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})["default"]});
2 | //# sourceMappingURL=StaticMap.umd.min.js.map
--------------------------------------------------------------------------------
/dist/demo.html:
--------------------------------------------------------------------------------
1 |
2 | StaticMap demo
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
18 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Vue Static Map
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/jest.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | moduleFileExtensions: [
3 | 'js',
4 | 'jsx',
5 | 'json',
6 | 'vue',
7 | ],
8 | transform: {
9 | '^.+\\.vue$': 'vue-jest',
10 | '.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
11 | '^.+\\.jsx?$': 'babel-jest',
12 | },
13 | moduleNameMapper: {
14 | '^@/(.*)$': '/src/$1',
15 | },
16 | snapshotSerializers: [
17 | 'jest-serializer-vue',
18 | ],
19 | testMatch: [
20 | '**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)',
21 | ],
22 | testURL: 'http://localhost/',
23 | };
24 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-static-map",
3 | "version": "3.0.2",
4 | "main": "dist/StaticMap.common.js",
5 | "scripts": {
6 | "component": "vue-cli-service build --target lib --name StaticMap src/components/static-map.vue",
7 | "serve": "vue-cli-service serve",
8 | "build": "vue-cli-service build",
9 | "lint": "vue-cli-service lint",
10 | "test:unit": "vue-cli-service test:unit"
11 | },
12 | "devDependencies": {
13 | "@vue/cli-plugin-babel": "^3.0.1",
14 | "@vue/cli-plugin-eslint": "^3.0.1",
15 | "@vue/cli-plugin-pwa": "^3.0.1",
16 | "@vue/cli-plugin-unit-jest": "^3.0.1",
17 | "@vue/cli-service": "^3.0.1",
18 | "@vue/eslint-config-airbnb": "^3.0.1",
19 | "@vue/test-utils": "^1.0.0-beta.20",
20 | "babel-core": "7.0.0-bridge.0",
21 | "babel-jest": "^23.0.1",
22 | "lint-staged": "^7.2.2",
23 | "vue-template-compiler": "^2.5.17",
24 | "register-service-worker": "^1.0.0",
25 | "vue": "^2.5.17"
26 | },
27 | "gitHooks": {
28 | "pre-commit": "lint-staged"
29 | },
30 | "lint-staged": {
31 | "*.js": [
32 | "vue-cli-service lint",
33 | "git add"
34 | ],
35 | "*.vue": [
36 | "vue-cli-service lint",
37 | "git add"
38 | ]
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | autoprefixer: {},
4 | },
5 | };
6 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/favicon.ico
--------------------------------------------------------------------------------
/public/img/icons/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/android-chrome-192x192.png
--------------------------------------------------------------------------------
/public/img/icons/android-chrome-512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/android-chrome-512x512.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon-180x180.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/public/img/icons/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/apple-touch-icon.png
--------------------------------------------------------------------------------
/public/img/icons/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/favicon-16x16.png
--------------------------------------------------------------------------------
/public/img/icons/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/favicon-32x32.png
--------------------------------------------------------------------------------
/public/img/icons/msapplication-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/msapplication-icon-144x144.png
--------------------------------------------------------------------------------
/public/img/icons/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/eperedo/vue-static-map/1ed07bb4076386403ba6070cc0e77dc5369f50c6/public/img/icons/mstile-150x150.png
--------------------------------------------------------------------------------
/public/img/icons/safari-pinned-tab.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
150 |
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | vue-static-map
9 |
10 |
11 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-static-map",
3 | "short_name": "vue-static-map",
4 | "icons": [
5 | {
6 | "src": "/img/icons/android-chrome-192x192.png",
7 | "sizes": "192x192",
8 | "type": "image/png"
9 | },
10 | {
11 | "src": "/img/icons/android-chrome-512x512.png",
12 | "sizes": "512x512",
13 | "type": "image/png"
14 | }
15 | ],
16 | "start_url": "/index.html",
17 | "display": "standalone",
18 | "background_color": "#000000",
19 | "theme_color": "#4DBA87"
20 | }
21 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Vue Static Map
4 |
9 |
12 |
13 |
14 |
15 |
84 |
85 |
99 |
--------------------------------------------------------------------------------
/src/components/static-map.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
157 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue';
2 | import App from './App.vue';
3 | import './registerServiceWorker';
4 |
5 | Vue.config.productionTip = false;
6 |
7 | new Vue({
8 | render: h => h(App),
9 | }).$mount('#app');
10 |
--------------------------------------------------------------------------------
/src/registerServiceWorker.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable no-console */
2 |
3 | import { register } from 'register-service-worker';
4 |
5 | if (process.env.NODE_ENV === 'production') {
6 | register(`${process.env.BASE_URL}service-worker.js`, {
7 | ready() {
8 | console.log('App is being served from cache');
9 | },
10 | cached() {
11 | console.log('Content has been cached for offline use.');
12 | },
13 | updated() {
14 | console.log('New content is available; please refresh.');
15 | },
16 | offline() {
17 | console.log('App is running in offline mode.');
18 | },
19 | error(error) {
20 | console.error('Error during service worker registration:', error);
21 | },
22 | });
23 | }
24 |
--------------------------------------------------------------------------------
/tests/unit/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | env: {
3 | jest: true
4 | },
5 | rules: {
6 | 'import/no-extraneous-dependencies': 'off'
7 | }
8 | }
--------------------------------------------------------------------------------
/tests/unit/StaticMap.spec.js:
--------------------------------------------------------------------------------
1 | import { shallowMount } from '@vue/test-utils';
2 | import StaticMap from '@/components/static-map.vue';
3 |
4 | describe('StaticMap.vue', () => {
5 | it('renders props.msg when passed', () => {
6 | const msg = 'new message';
7 | const wrapper = shallowMount(StaticMap, {
8 | propsData: { msg },
9 | });
10 | expect(wrapper.text()).toMatch(msg);
11 | });
12 | });
13 |
--------------------------------------------------------------------------------