UNPKG

google-maps-vue-library

Version:

This library is use to render google maps in your application. you will have to pass 'latLong' as a input to display google maps in your application. in case you want to add markers of your map neary by locations you will have to pass markers data as per

22 lines (20 loc) 36.7 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["google-maps-vue-library"]=e(require("vue")):t["google-maps-vue-library"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){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")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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)}}},"0538":function(t,e,n){"use strict";var r=n("1c0b"),o=n("861d"),i=[].slice,c={},u=function(t,e,n){if(!(e in c)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";c[e]=Function("C,a","return new C("+r.join(",")+")")}return c[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),c=function(){var r=n.concat(i.call(arguments));return this instanceof c?u(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(c.prototype=e.prototype),c}},"057f":function(t,e,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?u(t):o(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),c=n("fc6a"),u=n("c04e"),f=n("5135"),a=n("0cfb"),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=u(e,!0),a)try{return s(t,e)}catch(n){}if(f(t,e))return i(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"23cb":function(t,e,n){var r=n("a691"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),c=n("6eeb"),u=n("ce4e"),f=n("e893"),a=n("94ca");t.exports=function(t,e){var n,s,l,p,d,y,b=t.target,v=t.global,h=t.stat;if(s=v?r:h?r[b]||u(b,{}):(r[b]||{}).prototype,s)for(l in e){if(d=e[l],t.noTargetGet?(y=o(s,l),p=y&&y.value):p=s[l],n=a(v?l:b+(h?".":"#")+l,t.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;f(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(s,l,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),o=n("825a"),i=n("d039"),c=n("ad6d"),u="toString",f=RegExp.prototype,a=f[u],s=i((function(){return"/a/b"!=a.call({source:"a",flags:"b"})})),l=a.name!=u;(s||l)&&r(RegExp.prototype,u,(function(){var t=o(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in f)?c.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},3410:function(t,e,n){var r=n("23e7"),o=n("d039"),i=n("7b0b"),c=n("e163"),u=n("e177"),f=o((function(){c(1)}));r({target:"Object",stat:!0,forced:f,sham:!u},{getPrototypeOf:function(t){return c(i(t))}})},"37e8":function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),c=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=c(e),u=r.length,f=0;while(u>f)o.f(t,n=r[f++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),c="String Iterator",u=o.set,f=o.getterFor(c);i(String,"String",(function(t){u(this,{type:c,string:String(t),index:0})}),(function(){var t,e=f(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),o=n("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),c=r("unscopables"),u=Array.prototype;void 0==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4ae1":function(t,e,n){var r=n("23e7"),o=n("d066"),i=n("1c0b"),c=n("825a"),u=n("861d"),f=n("7c73"),a=n("0538"),s=n("d039"),l=o("Reflect","construct"),p=s((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!s((function(){l((function(){}))})),y=p||d;r({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(t,e){i(t),c(e);var n=arguments.length<3?t:i(arguments[2]);if(d&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(a.apply(t,r))}var o=n.prototype,s=f(u(o)?o:Object.prototype),y=Function.apply.call(t,s,e);return u(y)?y:s}})},"4d64":function(t,e,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),c=function(t){return function(e,n,c){var u,f=r(e),a=o(f.length),s=i(c,a);if(t&&n!=n){while(a>s)if(u=f[s++],u!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,e,n){var r=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),o=n("241c"),i=n("7418"),c=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,n){var r=n("a691"),o=n("1d80"),i=function(t){return function(e,n){var i,c,u=String(o(e)),f=r(n),a=u.length;return f<0||f>=a?t?"":void 0:(i=u.charCodeAt(f),i<55296||i>56319||f+1===a||(c=u.charCodeAt(f+1))<56320||c>57343?t?u.charAt(f):i:t?u.slice(f,f+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(t,e,n){var r=n("861d"),o=n("e8b5"),i=n("b622"),c=i("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[c],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,o,i,c=n("7f9a"),u=n("da84"),f=n("861d"),a=n("9112"),s=n("5135"),l=n("c6cd"),p=n("f772"),d=n("d012"),y=u.WeakMap,b=function(t){return i(t)?o(t):r(t,{})},v=function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c){var h=l.state||(l.state=new y),g=h.get,m=h.has,O=h.set;r=function(t,e){return e.facade=t,O.call(h,t,e),e},o=function(t){return g.call(h,t)||{}},i=function(t){return m.call(h,t)}}else{var S=p("state");d[S]=!0,r=function(t,e){return e.facade=t,a(t,S,e),e},o=function(t){return s(t,S)?t[S]:{}},i=function(t){return s(t,S)}}t.exports={set:r,get:o,has:i,enforce:b,getterFor:v}},"6eeb":function(t,e,n){var r=n("da84"),o=n("9112"),i=n("5135"),c=n("ce4e"),u=n("8925"),f=n("69f3"),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,e,n,u){var f,a=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f=s(n),f.source||(f.source=l.join("string"==typeof e?e:""))),t!==r?(a?!d&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),o=n("5135"),i=n("e538"),c=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,o=n("825a"),i=n("37e8"),c=n("7839"),u=n("d012"),f=n("1be4"),a=n("cc12"),s=n("f772"),l=">",p="<",d="prototype",y="script",b=s("IE_PROTO"),v=function(){},h=function(t){return p+y+l+t+p+"/"+y+l},g=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=a("iframe"),n="java"+y+":";return e.style.display="none",f.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(h("document.F=Object")),t.close(),t.F},O=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}O=r?g(r):m();var t=c.length;while(t--)delete O[d][c[t]];return O()};u[b]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[d]=o(t),n=new v,v[d]=null,n[b]=t):n=O(),void 0===e?n:i(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),o=n("9ed3"),i=n("e163"),c=n("d2bb"),u=n("d44e"),f=n("9112"),a=n("6eeb"),s=n("b622"),l=n("c430"),p=n("3f8c"),d=n("ae93"),y=d.IteratorPrototype,b=d.BUGGY_SAFARI_ITERATORS,v=s("iterator"),h="keys",g="values",m="entries",O=function(){return this};t.exports=function(t,e,n,s,d,S,w){o(n,e,s);var j,x,_,P=function(t){if(t===d&&L)return L;if(!b&&t in E)return E[t];switch(t){case h:return function(){return new n(this,t)};case g:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+" Iterator",k=!1,E=t.prototype,A=E[v]||E["@@iterator"]||d&&E[d],L=!b&&A||P(d),M="Array"==e&&E.entries||A;if(M&&(j=i(M.call(new t)),y!==Object.prototype&&j.next&&(l||i(j)===y||(c?c(j,y):"function"!=typeof j[v]&&f(j,v,O)),u(j,T,!0,!0),l&&(p[T]=O))),d==g&&A&&A.name!==g&&(k=!0,L=function(){return A.call(this)}),l&&!w||E[v]===L||f(E,v,L),p[e]=L,d)if(x={values:P(g),keys:S?L:P(h),entries:P(m)},w)for(_ in x)(b||k||!(_ in E))&&a(E,_,x[_]);else r({target:e,proto:!0,forced:b||k},x);return x}},"7f9a":function(t,e,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,o,i;(function(n,c){o=[],r=c,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(d.stack)||c.exec(d.stack),f=u&&u[1]||!1,a=u&&u[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");f===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===f)return l[p];if(f===s&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"8bbf":function(e,n){e.exports=t},"8d1d":function(t,e,n){"use strict";n("9763")},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==a||n!=f&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},9763:function(t,e,n){},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),c=n("c04e"),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),c=n("d44e"),u=n("3f8c"),f=function(){return this};t.exports=function(t,e,n){var a=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,a,!1,!0),u[a]=f,t}},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),c=n("c430"),u=n("83ab"),f=n("4930"),a=n("fdbf"),s=n("d039"),l=n("5135"),p=n("e8b5"),d=n("861d"),y=n("825a"),b=n("7b0b"),v=n("fc6a"),h=n("c04e"),g=n("5c6c"),m=n("7c73"),O=n("df75"),S=n("241c"),w=n("057f"),j=n("7418"),x=n("06cf"),_=n("9bf2"),P=n("d1e7"),T=n("9112"),k=n("6eeb"),E=n("5692"),A=n("f772"),L=n("d012"),M=n("90e3"),I=n("b622"),R=n("e538"),C=n("746f"),D=n("d44e"),F=n("69f3"),N=n("b727").forEach,G=A("hidden"),V="Symbol",$="prototype",H=I("toPrimitive"),z=F.set,B=F.getterFor(V),U=Object[$],W=o.Symbol,q=i("JSON","stringify"),K=x.f,Y=_.f,J=w.f,Q=P.f,X=E("symbols"),Z=E("op-symbols"),tt=E("string-to-symbol-registry"),et=E("symbol-to-string-registry"),nt=E("wks"),rt=o.QObject,ot=!rt||!rt[$]||!rt[$].findChild,it=u&&s((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=K(U,e);r&&delete U[e],Y(t,e,n),r&&t!==U&&Y(U,e,r)}:Y,ct=function(t,e){var n=X[t]=m(W[$]);return z(n,{type:V,tag:t,description:e}),u||(n.description=e),n},ut=a?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},ft=function(t,e,n){t===U&&ft(Z,e,n),y(t);var r=h(e,!0);return y(n),l(X,r)?(n.enumerable?(l(t,G)&&t[G][r]&&(t[G][r]=!1),n=m(n,{enumerable:g(0,!1)})):(l(t,G)||Y(t,G,g(1,{})),t[G][r]=!0),it(t,r,n)):Y(t,r,n)},at=function(t,e){y(t);var n=v(e),r=O(n).concat(yt(n));return N(r,(function(e){u&&!lt.call(n,e)||ft(t,e,n[e])})),t},st=function(t,e){return void 0===e?m(t):at(m(t),e)},lt=function(t){var e=h(t,!0),n=Q.call(this,e);return!(this===U&&l(X,e)&&!l(Z,e))&&(!(n||!l(this,e)||!l(X,e)||l(this,G)&&this[G][e])||n)},pt=function(t,e){var n=v(t),r=h(e,!0);if(n!==U||!l(X,r)||l(Z,r)){var o=K(n,r);return!o||!l(X,r)||l(n,G)&&n[G][r]||(o.enumerable=!0),o}},dt=function(t){var e=J(v(t)),n=[];return N(e,(function(t){l(X,t)||l(L,t)||n.push(t)})),n},yt=function(t){var e=t===U,n=J(e?Z:v(t)),r=[];return N(n,(function(t){!l(X,t)||e&&!l(U,t)||r.push(X[t])})),r};if(f||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=M(t),n=function(t){this===U&&n.call(Z,t),l(this,G)&&l(this[G],e)&&(this[G][e]=!1),it(this,e,g(1,t))};return u&&ot&&it(U,e,{configurable:!0,set:n}),ct(e,t)},k(W[$],"toString",(function(){return B(this).tag})),k(W,"withoutSetter",(function(t){return ct(M(t),t)})),P.f=lt,_.f=ft,x.f=pt,S.f=w.f=dt,j.f=yt,R.f=function(t){return ct(I(t),t)},u&&(Y(W[$],"description",{configurable:!0,get:function(){return B(this).description}}),c||k(U,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:W}),N(O(nt),(function(t){C(t)})),r({target:V,stat:!0,forced:!f},{for:function(t){var e=String(t);if(l(tt,e))return tt[e];var n=W(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!ut(t))throw TypeError(t+" is not a symbol");if(l(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!f,sham:!u},{create:st,defineProperty:ft,defineProperties:at,getOwnPropertyDescriptor:pt}),r({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:dt,getOwnPropertySymbols:yt}),r({target:"Object",stat:!0,forced:s((function(){j.f(1)}))},{getOwnPropertySymbols:function(t){return j.f(b(t))}}),q){var bt=!f||s((function(){var t=W();return"[null]"!=q([t])||"{}"!=q({a:t})||"{}"!=q(Object(t))}));r({target:"JSON",stat:!0,forced:bt},{stringify:function(t,e,n){var r,o=[t],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=e,(d(e)||void 0!==t)&&!ut(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ut(e))return e}),o[1]=e,q.apply(null,o)}})}W[$][H]||T(W[$],H,W[$].valueOf),D(W,V),L[G]=!0},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var r,o,i,c=n("e163"),u=n("9112"),f=n("5135"),a=n("b622"),s=n("c430"),l=a("iterator"),p=!1,d=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=c(c(i)),o!==Object.prototype&&(r=o)):p=!0),void 0==r&&(r={}),s||f(r,l)||u(r,l,d),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),c=n("90e3"),u=n("4930"),f=n("fdbf"),a=o("wks"),s=r.Symbol,l=f?s:s&&s.withoutSetter||c;t.exports=function(t){return i(a,t)||(u&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[t]}},b727:function(t,e,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),c=n("50c4"),u=n("65f0"),f=[].push,a=function(t){var e=1==t,n=2==t,a=3==t,s=4==t,l=6==t,p=7==t,d=5==t||l;return function(y,b,v,h){for(var g,m,O=i(y),S=o(O),w=r(b,v,3),j=c(S.length),x=0,_=h||u,P=e?_(y,j):n||p?_(y,0):void 0;j>x;x++)if((d||x in S)&&(g=S[x],m=w(g,x,O),t))if(e)P[x]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:f.call(P,g)}else switch(t){case 4:return!1;case 7:f.call(P,g)}return l?-1:a||s?s:P}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterOut:a(7)}},c04e:function(t,e,n){var r=n("861d");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")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,c=n("d012");t.exports=function(t,e){var n,u=o(t),f=0,a=[];for(n in u)!r(c,n)&&r(u,n)&&a.push(n);while(e.length>f)r(u,n=e[f++])&&(~i(a,n)||a.push(n));return a}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),o=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,o=n("5135"),i=n("b622"),c=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),c=n("9112"),u=n("b622"),f=u("iterator"),a=u("toStringTag"),s=i.values;for(var l in o){var p=r[l],d=p&&p.prototype;if(d){if(d[f]!==s)try{c(d,f,s)}catch(b){d[f]=s}if(d[a]||c(d,a,l),o[l])for(var y in i)if(d[y]!==i[y])try{c(d,y,i[y])}catch(b){d[y]=i[y]}}}},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),c=n("5135"),u=n("861d"),f=n("9bf2").f,a=n("e893"),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[e]=!0),e};a(p,s);var d=p.prototype=s.prototype;d.constructor=p;var y=d.toString,b="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;f(d,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=y.call(t);if(c(l,t))return"";var n=b?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},e163:function(t,e,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),c=n("e177"),u=i("IE_PROTO"),f=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),c=n("69f3"),u=n("7dd0"),f="Array Iterator",a=c.set,s=c.getterFor(f);t.exports=u(Array,"Array",(function(t,e){a(this,{type:f,target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e538:function(t,e,n){var r=n("b622");e.f=r},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),c=n("9bf2");t.exports=function(t,e){for(var n=o(e),u=c.f,f=i.f,a=0;a<n.length;a++){var s=n[a];r(t,s)||u(t,s,f(e,s))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f5df:function(t,e,n){var r=n("00ee"),o=n("c6b6"),i=n("b622"),c=i("toStringTag"),u="Arguments"==o(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=f(e=Object(t),c))?n:u?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var c=n("8bbf"),u=Object(c["withScopeId"])("data-v-4e0071b9");Object(c["pushScopeId"])("data-v-4e0071b9");var f={class:"hello"};Object(c["popScopeId"])();var a=u((function(t,e,n,r,o,i){return Object(c["openBlock"])(),Object(c["createBlock"])("div",f,[Object(c["createVNode"])("div",{id:t.divId,class:"ashish-google-maps"},"maps",8,["id"])])}));function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},l(t,e)}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}n("4ae1"),n("3410");function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}n("d3b7"),n("25f0");function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("3ca3"),n("ddb0");function b(t){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,e){return!e||"object"!==b(e)&&"function"!==typeof e?v(t):e}function g(t){var e=y();return function(){var n,r=d(t);if(e){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function m(t,e,n,r){var o,i=arguments.length,c=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(c=(i<3?o(c):i>3?o(e,n,c):o(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c} /** * vue-class-component v8.0.0-rc.1 * (c) 2015-present Evan You * @license MIT */ function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e,n){return e&&S(t.prototype,e),n&&S(t,n),t}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){j(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function P(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}function T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}function k(t,e){return k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},k(t,e)}function E(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?A(t):e}function M(t){var e=E();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L(this,n)}}function I(t){return R(t)||C(t)||D(t)||N()}function R(t){if(Array.isArray(t))return F(t)}function C(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function D(t,e){if(t){if("string"===typeof t)return F(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(t,e):void 0}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function G(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1,configurable:!0})}function V(t,e,n){Object.defineProperty(t,e,{get:function(){return n[e].value},set:function(t){n[e].value=t},enumerable:!0,configurable:!0})}function $(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function H(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var z=function(){function t(e,n){var r=this;O(this,t),G(this,"$props",(function(){return e})),G(this,"$attrs",(function(){return n.attrs})),G(this,"$slots",(function(){return n.slots})),G(this,"$emit",(function(){return n.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return w(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,I(t))}},{key:"with",value:function(t){var e=new t,n={};Object.keys(e).forEach((function(t){var r=e[t];n[t]=null!==r&&void 0!==r?r:null}));var r=function(t){P(n,t);var e=M(n);function n(){return O(this,n),e.apply(this,arguments)}return n}(this);return r.__b={props:n},r}},{key:"__vccOpts",get:function(){if(this===B)return{};var t=this,e=H(t,"__c");if(e)return e;var n=_({},H(t,"__o"));t.__c=n;var r=$(t);r&&(n["extends"]=r.__vccOpts);var o=H(t,"__b");o&&(n.mixins=n.mixins||[],n.mixins.unshift(o)),n.methods=_({},n.methods),n.computed=_({},n.computed);var i=t.prototype;Object.getOwnPropertyNames(i).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)n[e]=i[e];else{var r=Object.getOwnPropertyDescriptor(i,e);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[e]={get:r.get,set:r.set}):n.methods[e]=r.value}})),n.setup=function(e,n){var r,o=new t(e,n),i=Object.keys(o),u={},f=null;return i.forEach((function(t){void 0===o[t]||o[t]&&o[t].__s||(u[t]=Object(c["ref"])(o[t]),V(o,t,u))})),i.forEach((function(t){if(o[t]&&o[t].__s){var e=o[t].__s();e instanceof Promise?(f||(f=Promise.resolve(u)),f=f.then((function(){return e.then((function(e){return u[t]=Object(c["proxyRefs"])(e),u}))}))):u[t]=Object(c["proxyRefs"])(e)}})),null!==(r=f)&&void 0!==r?r:u};var u=H(t,"__d");u&&u.forEach((function(t){return t(n)}));var f=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return f.forEach((function(e){t[e]&&(n[e]=t[e])})),n}}]),t}();z.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var B=z;function U(t){return function(e){return e.__o=t,e}}var W=function(t){p(n,t);var e=g(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(B);W=m([U({data:function(){return{divId:"",customMarkers:[]}},props:{markers:[],latLong:{},apiKey:""},created:function(){var t=this,e=document.createElement("SCRIPT");e.setAttribute("src","https://maps.googleapis.com/maps/api/js?key=".concat(this.apiKey,"&**callback=initMap")),e.setAttribute("defer",""),e.setAttribute("async",""),document.head.appendChild(e),this.divId=this.generateDynamicString(8),setTimeout((function(){t.loadMap()}),2e3)},methods:{loadMap:function(){var t=this.getGoogleInitData(this.latLong.lat,this.latLong.long);this.nMap=new google.maps.Map(document.getElementById(this.divId),t),this.renderMarkers(this.latLong)},getGoogleInitData:function(t,e){return{zoom:16,center:new google.maps.LatLng(t,e),styles:[{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"},{hue:"#ff0000"}]}]}},renderMarkers:function(t){for(var e=this,n=(t.long,t.long,this.radius,0);n<this.markers.length;n++){var r=this.markers[n].lat,o=this.markers[n].long,i=this.markers[n].type,c=new google.maps.Marker({position:new google.maps.LatLng(r,o),map:this.nMap,label:{text:i,fontWeight:"normal",fontSize:"14px",color:"white"}});c.setValues({id:n,type:i}),function(t,n){google.maps.event.addListener(t,"click",(function(){e.$emit("markerClicked",{rowClicked:n})}))}(c,n),this.customMarkers.push(c)}},generateDynamicString:function(t){for(var e="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,o=0;o<t;o++)e+=n.charAt(Math.floor(Math.random()*r));return e}}})],W);var q=W;n("8d1d");q.render=a,q.__scopeId="data-v-4e0071b9";var K=q,Y=K;e["default"]=Y},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})})); //# sourceMappingURL=google-maps-vue-library.umd.min.js.map