1(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ 2(function (global){(function (){ 3!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).MarkerWithLabel=t()}(this,(function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?a(e):t}function l(e){var t=function(){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(e){return!1}}();return function(){var n,r=i(e);if(t){var o=i(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var g,v,h=function(e){return e&&e.Math==Math&&e},p=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof u&&u)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},b=!d((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),y={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,L={f:m&&!y.call({1:2},1)?function(e){var t=m(this,e);return!!t&&t.enumerable}:y},D=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},O={}.toString,S=function(e){return O.call(e).slice(8,-1)},w="".split,j=d((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==S(e)?w.call(e,""):Object(e)}:Object,P=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return j(P(e))},k=function(e){return"function"==typeof e},M=function(e){return"object"==typeof e?null!==e:k(e)},C=function(e){return k(e)?e:void 0},I=function(e,t){return arguments.length<2?C(p[e]):p[e]&&p[e][t]},E=I("navigator","userAgent")||"",x=p.process,_=p.Deno,A=x&&x.versions||_&&_.version,R=A&&A.v8;R?v=(g=R.split("."))[0]<4?1:g[0]+g[1]:E&&(!(g=E.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=E.match(/Chrome\/(\d+)/))&&(v=g[1]);var N=v&&+v,z=!!Object.getOwnPropertySymbols&&!d((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&N&&N<41})),F=z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=F?function(e){return"symbol"==typeof e}:function(e){var t=I("Symbol");return k(t)&&Object(e)instanceof t},V=function(e){if(k(e))return e;throw TypeError(function(e){try{return String(e)}catch(e){return"Object"}}(e)+" is not a function")},H=function(e,t){try{Object.defineProperty(p,e,{value:t,configurable:!0,writable:!0})}catch(n){p[e]=t}return t},B="__core-js_shared__",q=p[B]||H(B,{}),Z=f((function(e){(e.exports=function(e,t){return q[e]||(q[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),U=function(e){return Object(P(e))},W={}.hasOwnProperty,K=Object.hasOwn||function(e,t){return W.call(U(e),t)},X=0,Y=Math.random(),$=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++X+Y).toString(36)},J=Z("wks"),Q=p.Symbol,ee=F?Q:Q&&Q.withoutSetter||$,te=function(e){return K(J,e)&&(z||"string"==typeof J[e])||(z&&K(Q,e)?J[e]=Q[e]:J[e]=ee("Symbol."+e)),J[e]},ne=te("toPrimitive"),re=function(e,t){if(!M(e)||G(e))return e;var n,r,i=null==(n=e[ne])?void 0:V(n);if(i){if(void 0===t&&(t="default"),r=i.call(e,t),!M(r)||G(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&k(n=e.toString)&&!M(r=n.call(e)))return r;if(k(n=e.valueOf)&&!M(r=n.call(e)))return r;if("string"!==t&&k(n=e.toString)&&!M(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t)},ie=function(e){var t=re(e,"string");return G(t)?t:String(t)},oe=p.document,ae=M(oe)&&M(oe.createElement),se=function(e){return ae?oe.createElement(e):{}},le=!b&&!d((function(){return 7!=Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a})),ce=Object.getOwnPropertyDescriptor,ue={f:b?ce:function(e,t){if(e=T(e),t=ie(t),le)try{return ce(e,t)}catch(e){}if(K(e,t))return D(!L.f.call(e,t),e[t])}},fe=function(e){if(M(e))return e;throw TypeError(String(e)+" is not an object")},ge=Object.defineProperty,ve={f:b?ge:function(e,t,n){if(fe(e),t=ie(t),fe(n),le)try{return ge(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},he=b?function(e,t,n){return ve.f(e,t,D(1,n))}:function(e,t,n){return e[t]=n,e},pe=Function.toString;k(q.inspectSource)||(q.inspectSource=function(e){return pe.call(e)});var de,be,ye,me,Le=q.inspectSource,De=p.WeakMap,Oe=k(De)&&/native code/.test(Le(De)),Se=Z("
3keys"),we={},je="Object already initialized",Pe=p.WeakMap;if(Oe||q.state){var Te=q.state||(q.state=new Pe),ke=Te.get,Me=Te.has,Ce=Te.set;de=function(e,t){if(Me.call(Te,e))throw new TypeError(je);return t.facade=e,Ce.call(Te,e,t),t},be=function(e){return ke.call(Te,e)||{}},ye=function(e){return Me.call(Te,e)}}else{var Ie=Se[me="state"]||(Se[me]=$(me));we[Ie]=!0,de=function(e,t){if(K(e,Ie))throw new TypeError(je);return t.facade=e,he(e,Ie,t),t},be=function(e){return K(e,Ie)?e[Ie]:{}},ye=function(e){return K(e,Ie)}}var Ee={set:de,get:be,has:ye,enforce:function(e){return ye(e)?be(e):de(e,{})},getterFor:function(e){return function(t){var n;if(!M(t)||(n=be(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},xe=Function.prototype,_e=b&&Object.getOwnPropertyDescriptor,Ae=K(xe,"name"),Re={EXISTS:Ae,PROPER:Ae&&"something"===function(){}.name,CONFIGURABLE:Ae&&(!b||b&&_e(xe,"name").configurable)},Ne=f((function(e){var t=Re.CONFIGURABLE,n=Ee.get,r=Ee.enforce,i=String(String).split("String");(e.exports=function(e,n,o,a){var s,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;k(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!K(o,"name")||t&&o.name!==f)&&he(o,"name",f),(s=r(o)).source||(s.source=i.join("string"==typeof f?f:""))),e!==p?(l?!u&&e[n]&&(c=!0):delete e[n],c?e[n]=o:he(e,n,o)):c?e[n]=o:H(n,o)})(Function.prototype,"toString",(function(){return k(this)&&n(this).source||Le(this)}))})),ze=Math.ceil,Fe=Math.floor,Ge=function(e){var t=+e;return t!=t||0===t?0:(t>0?Fe:ze)(t)},Ve=Math.max,He=Math.min,Be=Math.min,qe=function(e){return(t=e.length)>0?Be(Ge(t),9007199254740991):0;var t},Ze=function(e){return function(t,n,r){var i,o=T(t),a=qe(o),s=function(e,t){var n=Ge(e);return n<0?Ve(n+t,0):He(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Ue={includes:Ze(!0),indexOf:Ze(!1)}.indexOf,We=function(e,t){var n,r=T(e),i=0,o=[];for(n in r)!K(we,n)&&K(r,n)&&o.push(n);for(;t.length>i;)K(r,n=t[i++])&&(~Ue(o,n)||o.push(n));return o},Ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Xe=Ke.concat("length","prototype"),Ye={f:Object.getOwnPropertyNames||function(e){return We(e,Xe)}},$e={f:Object.getOwnPropertySymbols},Je=I("Reflect","ownKeys")||function(e){var t=Ye.f(fe(e)),n=$e.f;return n?t.concat(n(e)):t},Qe=function(e,t){for(var n=Je(t),r=ve.f,i=ue.f,o=0;o<n.length;o++){var a=n[o];K(e,a)||r(e,a,i(t,a))}},et=/#|\.prototype\./,tt=function(e,t){var n=rt[nt(e)];return n==ot||n!=it&&(k(t)?d(t):!!t)},nt=tt.normalize=function(e){return String(e).replace(et,".").toLowerCase()},rt=tt.data={},it=tt.NATIVE="N",ot=tt.POLYFILL="P",at=tt,st=ue.f,lt=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?p:c?p[s]||H(s,{}):(p[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=st(n,r))&&a.value:n[r],!at(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Qe(o,i)}(e.sham||i&&i.sham)&&he(o,"sham",!0),Ne(n,r,o,e)}},ct=Object.keys||function(e){return We(e,Ke)},ut=Object.assign,ft=Object.defineProperty,gt=!ut||d((function(){if(b&&1!==ut({b:1},ut(ft({},"a",{enumerable:!0,get:function(){ft(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=ut({},e)[n]||ct(ut({},t)).join("")!=r}))?function(e,t){for(var n=U(e),r=arguments.length,i=1,o=$e.f,a=L.f;r>i;)for(var s,l=j(arguments[i++]),c=o?ct(l).concat(o(l)):ct(l),u=c.length,f=0;u>f;)s=c[f++],b&&!a.call(l,s)||(n[s]=l[s]);return n}:ut;lt({target:"Object",stat:!0,forced:Object.assign!==gt},{assign:gt});var vt={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},ht=se("span").classList,pt=ht&&ht.constructor&&ht.constructor.prototype,dt=pt===Object.prototype?void 0:pt,bt=Array.isArray||function(e){return"Array"==S(e)},yt={};yt[te("toStringTag")]="z";var mt,Lt,Dt="[object z]"===String(yt),Ot=te("toStringTag"),St="Arguments"==S(function(){return arguments}()),wt=Dt?S:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Ot))?n:St?S(t):"Object"==(r=S(t))&&k(t.callee)?"Arguments":r},jt=[],Pt=I("Reflect","construct"),Tt=/^\s*(?:class|function)\b/,kt=Tt.exec,Mt=!Tt.exec((function(){})),Ct=function(e){if(!k(e))return!1;try{return Pt(Object,jt,e),!0}catch(e){return!1}},It=!Pt||d((function(){var e;return Ct(Ct.call)||!Ct(Object)||!Ct((function(){e=!0}))||e}))?function(e){if(!k(e))return!1;switch(wt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Mt||!!kt.call(Tt,Le(e))}:Ct,Et=te("species"),xt=function(e,t){return new(function(e){var t;return bt(e)&&(t=e.constructor,(It(t)&&(t===Array||bt(t.prototype))||M(t)&&null===(t=t[Et]))&&(t=void 0)),void 0===t?Array:t}(e))(0===t?0:t)},_t=[].push,At=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,f){for(var g,v,h=U(l),p=j(h),d=function(e,t,n){if(V(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}(c,u,3),b=qe(p),y=0,m=f||xt,L=t?m(l,b):n||a?m(l,0):void 0;b>y;y++)if((s||y in p)&&(v=d(g=p[y],y,h),e))if(t)L[y]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return y;case 2:_t.call(L,g)}else switch(e){case 4:return!1;case 7:_t.call(L,g)}return o?-1:r||i?i:L}},Rt={forEach:At(0),map:At(1),filter:At(2),some:At(3),every:At(4),find:At(5),findIndex:At(6),filterReject:At(7)},Nt=Rt.forEach,zt=!!(Lt=[]["forEach"])&&d((function(){Lt.call(null,mt||function(){throw 1},1)}))?[].forEach:function(e){return Nt(this,e,arguments.length>1?arguments[1]:void 0)},Ft=function(e){if(e&&e.forEach!==zt)try{he(e,"forEach",zt)}catch(t){e.forEach=zt}};for(var Gt in vt)vt[Gt]&&Ft(p[Gt]&&p[Gt].prototype);function Vt(e,t){for(var n in t.prototype)e.prototype[n]=t.prototype[n]}function Ht(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1}function Bt(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0}Ft(dt);var qt=te("species"),Zt=Rt.map;lt({target:"Array",proto:!0,forced:!function(e){return N>=51||!d((function(){var t=[];return(t.constructor={})[qt]=function(){return{foo:1}
3},1!==t[e](Boolean).foo}))}("map")},{map:function(e){return Zt(this,e,arguments.length>1?arguments[1]:void 0)}});var Ut=function(e){if("Symbol"===wt(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},Wt=/"/g;lt({target:"String",proto:!0,forced:function(e){return d((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("anchor")},{anchor:function(e){return t="a",n="name",r=e,i=Ut(P(this)),o="<"+t,""!==n&&(o+=" "+n+'="'+Ut(r).replace(Wt,""")+'"'),o+">"+i+"</"+t+">";var t,n,r,i,o}});var Kt="block",Xt="none",Yt="absolute",$t="marker-label",Jt="marker-label-event",Qt=function(t){r(o,t);var i=l(o);function o(t){var n,r=t.clickable,a=void 0===r||r,s=t.cursor,l=void 0===s?"pointer":s,c=t.draggable,u=void 0===c||c,f=t.labelAnchor,g=void 0===f?new google.maps.Point(0,0):f,v=t.labelClass,h=void 0===v?$t:v,p=t.labelContent,d=t.position,b=t.opacity,y=void 0===b?1:b,m=t.map,L=t.labelZIndexOffset,D=void 0===L?1:L,O=t.visible,S=void 0===O||O,w=t.zIndex,j=void 0===w?0:w;return e(this,o),(n=i.call(this)).createElements(),n.anchor=g,n.content=p,n.className=h,n.clickable=a,n.cursor=l,n.draggable=u,d instanceof google.maps.LatLng?n.position=d:n.position=new google.maps.LatLng(d),n.opacity=y,n.visible=S,n.zIndex=j,n.zIndexOffset=D,m&&n.setMap(m),n}return n(o,[{key:"content",get:function(){return this.labelDiv.innerHTML},set:function(e){"string"==typeof e?(this.labelDiv.innerHTML=e,this.eventDiv.innerHTML=e):(this.labelDiv.innerHTML="",this.labelDiv.appendChild(e),this.eventDiv.innerHTML="",this.eventDiv.appendChild(e.cloneNode(!0)))}},{key:"className",get:function(){return this.labelDiv.className},set:function(e){this.labelDiv.className=e,this.labelDiv.classList.add($t),this.eventDiv.className=e,this.eventDiv.classList.add(Jt)}},{key:"cursor",get:function(){return this.isInteractive?this.hoverCursor:"inherit"},set:function(e){this.hoverCursor=e,this.isInteractive&&(this.eventDiv.style.cursor=e)}},{key:"isInteractive",get:function(){return this.draggable||this.clickable}},{key:"opacity",set:function(e){this.labelDiv.style.opacity=String(e)}},{key:"title",set:function(e){this.eventDiv.title=e}},{key:"visible",set:function(e){e?(this.labelDiv.style.display=Kt,this.eventDiv.style.display=Kt):(this.labelDiv.style.display=Xt,this.eventDiv.style.display=Xt)}},{key:"onAdd",value:function(){this.getPanes().markerLayer.appendChild(this.labelDiv),this.getPanes().overlayMouseTarget.appendChild(this.eventDiv)}},{key:"draw",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.position),t=Math.round(e.x+this.anchor.x),n=Math.round(e.y+this.anchor.y);this.labelDiv.style.left="".concat(t,"px"),this.labelDiv.style.top="".concat(n,"px"),this.eventDiv.style.left=this.labelDiv.style.left,this.eventDiv.style.top=this.labelDiv.style.top;var r=(this.zIndex||Math.ceil(e.y))+this.zIndexOffset;this.labelDiv.style.zIndex=String(r),this.eventDiv.style.zIndex=String(r),this.eventDiv.style.display=this.isInteractive?this.eventDiv.style.display:Xt,this.eventDiv.style.cursor=this.cursor}},{key:"addDomListener",value:function(e,t){return google.maps.event.addDomListener(this.eventDiv,e,t)}},{key:"onRemove",value:function(){this.labelDiv.parentNode.removeChild(this.labelDiv),this.eventDiv.parentNode.removeChild(this.eventDiv)}},{key:"createElements",value:function(){this.labelDiv=document.createElement("div"),this.eventDiv=document.createElement("div"),this.labelDiv.classList.add($t),this.labelDiv.classList.add(Jt),this.labelDiv.style.position=Yt,this.eventDiv.style.position=Yt,this.eventDiv.style.opacity="0.01"}}]),o}((function t(){e(this,t),Vt(t,google.maps.OverlayView)})),en="click",tn="dblclick",nn="drag",rn="dragend",on="dragstart",an="mousedown",sn="mouseover",ln="mouseout",cn="mouseup";return function(t){r(s,t);var o=l(s);function s(t){var n;return e(this,s),(n=o.call(this,function(e,t){var n=Object.assign({},e);return t.forEach((function(e){return delete n[e]})),n}(t,["labelAnchor","labelZIndexOffset","labelClass","labelContent"]))).isTouchScreen=!1,n.isDraggingLabel=!1,n.isMouseDownOnLabel=!1,n.shouldIgnoreClick=!1,n.label=new Qt(Object.assign({},t)),n.propertyListeners=[google.maps.event.addListener(a(n),"clickable_changed",n.handleClickableOrDraggableChange),google.maps.event.addListener(a(n),"curs
3or_changed",(function(){n.label.cursor=n.getCursor()})),google.maps.event.addListener(a(n),"draggable_changed",n.handleClickableOrDraggableChange),google.maps.event.addListener(a(n),"position_changed",(function(){n.label.position=n.getPosition()})),google.maps.event.addListener(a(n),"opacity_changed",(function(){n.label.opacity=n.getOpacity()})),google.maps.event.addListener(a(n),"title_changed",(function(){n.label.title=n.getTitle()})),google.maps.event.addListener(a(n),"visible_changed",(function(){n.label.visible=n.getVisible()})),google.maps.event.addListener(a(n),"zindex_changed",(function(){n.label.zIndex=n.getZIndex(),n.label.draw()}))],n}return n(s,[{key:"isInteractive",get:function(){return this.getClickable()||this.getDraggable()}},{key:"labelContent",get:function(){return this.label.content},set:function(e){this.label.content=e}},{key:"labelClass",get:function(){return this.label.className},set:function(e){this.label.className=e}},{key:"setMap",value:function(e){var t=this;c(i(s.prototype),"setMap",this).call(this,e),setTimeout((function(){t.label.setMap(e),t.removeInteractiveListeners(),e&&t.addInteractiveListeners()}))}},{key:"handleClickableOrDraggableChange",value:function(){this.label.clickable=this.getClickable(),this.label.draggable=this.getDraggable(),this.isInteractive?this.addInteractiveListeners():this.removeInteractiveListeners()}},{key:"removeInteractiveListeners",value:function(){this.interactiveListeners&&(this.interactiveListeners.forEach((function(e){return google.maps.event.removeListener(e)})),this.interactiveListeners=null)}},{key:"addInteractiveListeners",value:function(){var e=this;if(!this.interactiveListeners){if(!this.getMap())return;this.interactiveListeners=[this.label.addDomListener(sn,(function(t){e.isTouchScreen||(google.maps.event.trigger(e,sn,{latLng:e.getPosition()}),Ht(t))})),this.label.addDomListener(ln,(function(t){e.isTouchScreen||(e.mouseOutTimeout&&clearTimeout(e.mouseOutTimeout),e.isMouseDownOnLabel?e.mouseOutTimeout=setTimeout((function(){e.isMouseDownOnLabel&&(e.isMouseDownOnLabel=!1,google.maps.event.trigger(e,cn,{latLng:e.getPosition()}),e.isDraggingLabel&&(e.isDraggingLabel=!1,e.shouldIgnoreClick=!0,google.maps.event.trigger(e,rn,{latLng:e.getPosition()}))),google.maps.event.trigger(e,ln,{latLng:e.getPosition()})}),200):google.maps.event.trigger(e,ln,{latLng:e.getPosition()}),Ht(t))})),this.label.addDomListener(an,(function(t){e.isDraggingLabel=!1,e.isMouseDownOnLabel=!0,google.maps.event.trigger(e,an,{latLng:e.getPosition()}),e.isTouchScreen||Ht(t)})),this.label.addDomListener(cn,(function(t){var n={latLng:e.getPosition()};e.isMouseDownOnLabel&&(e.isMouseDownOnLabel=!1,google.maps.event.trigger(e,cn,n),e.isDraggingLabel&&(e.isDraggingLabel=!1,e.shouldIgnoreClick=!0,google.maps.event.trigger(e,rn,n)),e.getDraggable()||Ht(t))})),this.label.addDomListener(en,(function(t){e.shouldIgnoreClick?e.shouldIgnoreClick=!1:google.maps.event.trigger(e,en,{latLng:e.getPosition()}),Ht(t)})),this.label.addDomListener(tn,(function(t){google.maps.event.trigger(e,tn,{latLng:e.getPosition()}),Ht(t)})),google.maps.event.addListener(this.getMap(),"mousemove",(function(t){if(e.isMouseDownOnLabel&&e.getDraggable())if(e.isDraggingLabel){var n=new google.maps.LatLng(t.latLng.lat()-e.eventOffset.y,t.latLng.lng()-e.eventOffset.x);google.maps.event.trigger(e,nn,Object.assign(Object.assign({},t),{latLng:n}))}else e.isDraggingLabel=!0,e.eventOffset=new google.maps.Point(t.latLng.lng()-e.getPosition().lng(),t.latLng.lat()-e.getPosition().lat()),google.maps.event.trigger(e,on,Object.assign(Object.assign({},t),{latLng:e.getPosition()}))})),google.maps.event.addListener(this,on,(function(){e.label.zIndex=1e6})),google.maps.event.addListener(this,nn,(function(t){var n=t.latLng;e.setPosition(n)})),google.maps.event.addListener(this,rn,(function(){e.label.zIndex=e.getZIndex(),e.label.draw()})),this.label.addDomListener("touchstart",(function(t){e.isTouchScreen=!0,Bt(t)})),this.label.addDomListener("touchmove",(function(e){Bt(e)})),this.label.addDomListener("touchend",(function(e){Bt(e)}))]}}}]),s}((function t(n){e(this,t),Vt(t,google.maps.Marker),google.maps.Marker.call(this,n)}))})); 4 5 6}
6).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) 7},{}],2:[function(require,module,exports){ 8(function (global){(function (){ 9!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("query-string")):"function"==typeof define&&define.amd?define(["exports","query-string"],n):n(((t="undefined"!=typeof globalThis?globalThis:t||self).google=t.google||{},t.google.maps=t.google.maps||{},t.google.maps.plugins=t.google.maps.plugins||{},t.google.maps.plugins.ogc={}),t.queryString)}(this,(function(t,n){"use strict";var e=function(t){try{return!!t()}catch(t){return!0}},r=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},i=function(t){return Object(o(t))},u={}.hasOwnProperty,c=Object.hasOwn||function(t,n){return u.call(i(t),n)},a=Function.prototype,f=r&&Object.getOwnPropertyDescriptor,l=c(a,"name"),s={EXISTS:l,PROPER:l&&"something"===function(){}.name,CONFIGURABLE:l&&(!r||r&&f(a,"name").configurable)},p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(t,n){return t(n={exports:{}},n.exports),n.exports}var y,b,v=function(t){return t&&t.Math==Math&&t},m=v("object"==typeof globalThis&&globalThis)||v("object"==typeof window&&window)||v("object"==typeof self&&self)||v("object"==typeof p&&p)||function(){return this}()||Function("return this")(),h=function(t){return"function"==typeof t},d=function(t){return"object"==typeof t?null!==t:h(t)},S=m.document,j=d(S)&&d(S.createElement),O=!r&&!e((function(){return 7!=Object.defineProperty((t="div",j?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),w=function(t){if(d(t))return t;throw TypeError(String(t)+" is not an object")},T=function(t){return h(t)?t:void 0},E=function(t,n){return arguments.length<2?T(m[t]):m[t]&&m[t][n]},P=E("navigator","userAgent")||"",x=m.process,F=m.Deno,A=x&&x.versions||F&&F.version,M=A&&A.v8;M?b=(y=M.split("."))[0]<4?1:y[0]+y[1]:P&&(!(y=P.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=P.match(/Chrome\/(\d+)/))&&(b=y[1]);var I=b&&+b,z=!!Object.getOwnPropertySymbols&&!e((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&I&&I<41})),k=z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,G=k?function(t){return"symbol"==typeof t}:function(t){var n=E("Symbol");return h(n)&&Object(t)instanceof n},_=function(t){if(h(t))return t;throw TypeError(function(t){try{return String(t)}catch(t){return"Object"}}(t)+" is not a function")},q=function(t,n){try{Object.defineProperty(m,t,{value:n,configurable:!0,writable:!0})}catch(e){m[t]=n}return n},C="__core-js_shared__",L=m[C]||q(C,{}),N=g((function(t){(t.exports=function(t,n){return L[t]||(L[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.18.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),R=0,D=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++R+D).toString(36)},U=N("wks"),W=m.Symbol,Z=k?W:W&&W.withoutSetter||B,X=function(t){return c(U,t)&&(z||"string"==typeof U[t])||(z&&c(W,t)?U[t]=W[t]:U[t]=Z("Symbol."+t)),U[t]},K=X("toPrimitive"),V=function(t,n){if(!d(t)||G(t))return t;var e,r,o=null==(e=t[K])?void 0:_(e);if(o){if(void 0===n&&(n="default"),r=o.call(t,n),!d(r)||G(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),function(t,n){var e,r;if("string"===n&&h(e=t.toString)&&!d(r=e.call(t)))return r;if(h(e=t.valueOf)&&!d(r=e.call(t)))return r;if("string"!==n&&h(e=t.toString)&&!d(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}(t,n)},Y=function(t){var n=V(t,"string");return G(n)?n:String(n)},$=Object.defineProperty,H={f:r?$:function(t,n,e){if(w(t),n=Y(n),w(e),O)try{return $(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},J=s.EXISTS,Q=H.f,tt=Function.prototype,nt=tt.toString,et=/^\s*function ([^ (]*)/;r&&!J&&Q(tt,"name",{configurable:!0,get:function(){try{return nt.call(this).match(et)[1]}catch(t){return""}}});var rt={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,it={f:ot&&!rt.call({1:2},1)?function(t){var n=ot(this,t);return!!n&&n.enumerable}:rt},ut=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},ct={}.toString,at=function(t){return ct.call(t).slice(8,-1)},ft="".split,lt=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==at(t)?ft.call(t,""):Object(t)}:Object,st=function(t){return lt(o(t))},pt=Object.getOwnPropertyDescriptor,gt={f:r?pt:function(t,n){if(t=st(t),n=Y(n),O)try{return pt(t,n)}catch(t){}if(c(t,n))return ut(!it.f.call(t,n),t[n])}},yt=r?function(t,n,e){return H.f(t,n,ut(1,e))}:function(t,n,e){return t[n]=e,t},bt=Function.toString;h(L.inspectSource)||(L.inspectSource=function(t){return bt.call(t)});var vt,mt,ht,dt,St=L.inspectSource,jt=m.WeakMap,Ot=h(jt)&&/native code/.test(St(jt)),wt=N("keys"),Tt={},Et="Object already initialized",Pt=m.WeakMap;if(Ot||L.state){var xt=L.state||(L.state=new Pt),Ft=xt.get,At=xt.has,Mt=xt.set;vt=function(t,n){if(At.call(xt,t))throw new TypeError(Et);return n.facade=t,Mt.call(xt,t,n),n},mt=function(t){return Ft.call(xt,t)||{}},ht=function(t){return At.call(xt,t)}}else{var It=wt[dt="state"]||(wt[dt]=B(dt));Tt[It]=!0,vt=function(t,n){if(c(t,It))throw new TypeError(Et);return n.facade=t,yt(t,It,n),n},mt=function(t){return c(t,It)?t[It]:{}},ht=function(t){return c(t,It)}}var zt={set:vt,get:mt,has:ht,enforce:function(t){return ht(t)?mt(t):vt(t,{})},getterFor:function(t){return function(n){var e;if(!d(n)||(e=mt(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},kt=g((function(t){var n=s.CONFIGURABLE,e=zt.get,r=zt.enforce,o=String(String).split("String");
9(t.exports=function(t,e,i,u){var a,f=!!u&&!!u.unsafe,l=!!u&&!!u.enumerable,s=!!u&&!!u.noTargetGet,p=u&&void 0!==u.name?u.name:e;h(i)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!c(i,"name")||n&&i.name!==p)&&yt(i,"name",p),(a=r(i)).source||(a.source=o.join("string"==typeof p?p:""))),t!==m?(f?!s&&t[e]&&(l=!0):delete t[e],l?t[e]=i:yt(t,e,i)):l?t[e]=i:q(e,i)})(Function.prototype,"toString",(function(){return h(this)&&e(this).source||St(this)}))})),Gt=Math.ceil,_t=Math.floor,qt=function(t){var n=+t;return n!=n||0===n?0:(n>0?_t:Gt)(n)},Ct=Math.max,Lt=Math.min,Nt=function(t,n){var e=qt(t);return e<0?Ct(e+n,0):Lt(e,n)},Rt=Math.min,Dt=function(t){return(n=t.length)>0?Rt(qt(n),9007199254740991):0;var n},Bt=function(t){return function(n,e,r){var o,i=st(n),u=Dt(i),c=Nt(r,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},Ut={includes:Bt(!0),indexOf:Bt(!1)}.indexOf,Wt=function(t,n){var e,r=st(t),o=0,i=[];for(e in r)!c(Tt,e)&&c(r,e)&&i.push(e);for(;n.length>o;)c(r,e=n[o++])&&(~Ut(i,e)||i.push(e));return i},Zt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Xt=Zt.concat("length","prototype"),Kt={f:Object.getOwnPropertyNames||function(t){return Wt(t,Xt)}},Vt={f:Object.getOwnPropertySymbols},Yt=E("Reflect","ownKeys")||function(t){var n=Kt.f(w(t)),e=Vt.f;return e?n.concat(e(t)):n},$t=function(t,n){for(var e=Yt(n),r=H.f,o=gt.f,i=0;i<e.length;i++){var u=e[i];c(t,u)||r(t,u,o(n,u))}},Ht=/#|\.prototype\./,Jt=function(t,n){var r=tn[Qt(t)];return r==en||r!=nn&&(h(n)?e(n):!!n)},Qt=Jt.normalize=function(t){return String(t).replace(Ht,".").toLowerCase()},tn=Jt.data={},nn=Jt.NATIVE="N",en=Jt.POLYFILL="P",rn=Jt,on=gt.f,un=function(t,n){var e,r,o,i,u,c=t.target,a=t.global,f=t.stat;if(e=a?m:f?m[c]||q(c,{}):(m[c]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=on(e,r))&&u.value:e[r],!rn(a?r:c+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;$t(i,o)}(t.sham||o&&o.sham)&&yt(i,"sham",!0),kt(e,r,i,t)}},cn=Object.keys||function(t){return Wt(t,Zt)},an=Object.assign,fn=Object.defineProperty,ln=!an||e((function(){if(r&&1!==an({b:1},an(fn({},"a",{enumerable:!0,get:function(){fn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},n={},e=Symbol(),o="abcdefghijklmnopqrst";return t[e]=7,o.split("").forEach((function(t){n[t]=t})),7!=an({},t)[e]||cn(an({},n)).join("")!=o}))?function(t,n){for(var e=i(t),o=arguments.length,u=1,c=Vt.f,a=it.f;o>u;)for(var f,l=lt(arguments[u++]),s=c?cn(l).concat(c(l)):cn(l),p=s.length,g=0;p>g;)f=s[g++],r&&!a.call(l,f)||(e[f]=l[f]);return e}:an;un({target:"Object",stat:!0,forced:Object.assign!==ln},{assign:ln});var sn=Array.isArray||function(t){return"Array"==at(t)},pn={};pn[X("toStringTag")]="z";var gn,yn="[object z]"===String(pn),bn=X("toStringTag"),vn="Arguments"==at(function(){return arguments}()),mn=yn?at:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),bn))?e:vn?at(n):"Object"==(r=at(n))&&h(n.callee)?"Arguments":r},hn=[],dn=E("Reflect","construct"),Sn=/^\s*(?:class|function)\b/,jn=Sn.exec,On=!Sn.exec((function(){})),wn=function(t){if(!h(t))return!1;try{return dn(Object,hn,t),!0}catch(t){return!1}},Tn=!dn||e((function(){var t;return wn(wn.call)||!wn(Object)||!wn((function(){t=!0}))||t}))?function(t){if(!h(t))return!1;switch(mn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return On||!!jn.call(Sn,St(t))}:wn,En=function(t,n,e){var r=Y(n);r in t?H.f(t,r,ut(0,e)):t[r]=e},Pn=X("species"),xn=(gn="slice",I>=51||!e((function(){var t=[];return(t.constructor={})[Pn]=function(){return{foo:1}},1!==t[gn](Boolean).foo}))),Fn=X("species"),An=[].slice,Mn=Math.max;un({target:"Array",proto:!0,forced:!xn},{slice:function(t,n){var e,r,o,i=st(this),u=Dt(i),c=Nt(t,u),a=Nt(void 0===n?u:n,u);if(sn(i)&&(e=i.constructor,(Tn(e)&&(e===Array||sn(e.prototype))||d(e)&&null===(e=e[Fn]))&&(e=void 0),e===Array||void 0===e))return An.call(i,c,a);
9for(r=new(void 0===e?Array:e)(Mn(a-c,0)),o=0;c<a;c++,o++)c in i&&En(r,o,i[c]);return r.length=o,r}});var In=[].join,zn=lt!=Object,kn=function(t,n){var r=[][t];return!!r&&e((function(){r.call(null,n||function(){throw 1},1)}))}("join",",");un({target:"Array",proto:!0,forced:zn||!kn},{join:function(t){return In.call(st(this),void 0===t?",":t)}});var Gn={request:"GetMap",service:"WMS",srs:"EPSG:3857"},_n=20037508.34789244,qn=-_n,Cn=_n;function Ln(t,n,e){var r=40075016.69578488/Math.pow(2,e);return[qn+t*r,Cn-(n+1)*r,qn+(t+1)*r,Cn-n*r]}t.WmsMapType=function(t){var e=t.url,r=t.layers,o=t.styles,i=void 0===o?"":o,u=t.bgcolor,c=void 0===u?"0xFFFFFF":u,a=t.version,f=void 0===a?"1.1.1":a,l=t.transparent,s=void 0===l||l,p=t.format,g=void 0===p?"image/png":p,y=t.outline,b=void 0!==y&&y,v=t.name,m=t.alt,h=t.maxZoom,d=t.minZoom,S=t.opacity,j=new google.maps.Size(256,256),O=Object.assign({layers:r,styles:i,version:f,transparent:s,bgcolor:c,format:g,outline:b,width:j.width,height:j.height},Gn);"?"!==e.slice(-1)&&(e+="?");return new google.maps.ImageMapType({getTileUrl:function(t,r){return e+n.stringify(Object.assign({bbox:Ln(t.x,t.y,r).join(",")},O))},name:v,alt:m,opacity:S,maxZoom:h,minZoom:d,tileSize:j})},t.xyzToBounds=Ln,Object.defineProperty(t,"__esModule",{value:!0})})); 10 11}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) 12},{"query-string":5}],3:[function(require,module,exports){ 13'use strict'; 14var token = '%[a-f0-9]{2}'; 15var singleMatcher = new RegExp(token, 'gi'); 16var multiMatcher = new RegExp('(' + token + ')+', 'gi'); 17 18function decodeComponents(components, split) { 19 try { 20 // Try to decode the entire string first 21 return decodeURIComponent(components.join('')); 22 } catch (err) { 23 // Do nothing 24 } 25 26 if (components.length === 1) { 27 return components; 28 } 29 30 split = split || 1; 31 32 // Split the array in 2 parts 33 var left = components.slice(0, split); 34 var right = components.slice(split); 35 36 return Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right)); 37} 38 39function decode(input) { 40 try { 41 return decodeURIComponent(input); 42 } catch (err) { 43 var tokens = input.match(singleMatcher); 44 45 for (var i = 1; i < tokens.length; i++) { 46 input = decodeComponents(tokens, i).join(''); 47 48 tokens = input.match(singleMatcher); 49 } 50 51 return input; 52 } 53} 54 55function customDecodeURIComponent(input) { 56 // Keep track of all the replacements and prefill the map with the `BOM` 57 var replaceMap = { 58 '%FE%FF': '\uFFFD\uFFFD', 59 '%FF%FE': '\uFFFD\uFFFD' 60 }; 61 62 var match = multiMatcher.exec(input); 63 while (match) { 64 try { 65 // Decode as big chunks as possible 66 replaceMap[match[0]] = decodeURIComponent(match[0]); 67 } catch (err) { 68 var result = decode(match[0]); 69 70 if (result !== match[0]) { 71 replaceMap[match[0]] = result; 72 } 73 } 74 75 match = multiMatcher.exec(input); 76 } 77 78 // Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else 79 replaceMap['%C2'] = '\uFFFD'; 80 81 var entries = Object.keys(replaceMap); 82 83 for (var i = 0; i < entries.length; i++) { 84 // Replace all decoded components 85 var key = entries[i]; 86 input = input.replace(new RegExp(key, 'g'), replaceMap[key]); 87 } 88 89 return input; 90} 91 92module.exports = function (encodedURI) { 93 if (typeof encodedURI !== 'string') { 94 throw new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`'); 95 } 96 97 try { 98 encodedURI = encodedURI.replace(/\+/g, ' '); 99 100 // Try the built in decoder first 101 return decodeURIComponent(encodedURI); 102 } catch (err) { 103 // Fallback to a more advanced decoder 104 return customDecodeURIComponent(encodedURI); 105 } 106}; 107 108},{}],4:[function(require,module,exports){ 109'use strict'; 110module.exports = function (obj, predicate) { 111 var ret = {}; 112 var keys = Object.keys(obj); 113 var isArr = Array.isArray(predicate); 114 115 for (var i = 0; i < keys.length; i++) { 116 var key = keys[i]; 117 var val = obj[key]; 118 119 if (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) { 120 ret[key] = val; 121 } 122 } 123 124 return ret; 125}; 126 127},{}],5:[function(require,module,exports){ 128'use strict'; 129const strictUriEncode = require('strict-uri-encode'); 130const decodeComponent = require('decode-uri-component'); 131const splitOnFirst = require('split-on-first'); 132const filterObject = require('filter-obj'); 133 134const isNullOrUndefined = value => value === null || value === undefined; 135 136const encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier'); 137 138function encoderForArrayFormat(options) { 139 switch (options.arrayFormat) { 140 case 'index': 141 return key => (result, value) => { 142 const index = result.length; 143 144 if ( 145 value === undefined || 146 (options.skipNull && value === null) || 147 (options.skipEmptyString && value === '') 148 ) { 149 return result; 150 } 151 152 if (value === null) { 153 return [...result, [encode(key, options), '[', index, ']'].join('')]; 154 } 155 156 return [ 157 ...result, 158 [encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('') 159 ]; 160 }; 161 162 case 'bracket': 163 return key => (result, value) => { 164 if ( 165 value === undefined || 166 (options.skipNull && value === null) || 167 (options.skipEmptyString && value === '') 168 ) { 169 return result; 170 } 171 172 if (value === null) { 173 return [...result, [encode(key, options), '[]'].join('')]; 174 } 175 176 return [...result, [encode(key, options), '[]=', encode(value, options)].join('')]; 177 }; 178 179 case 'comma': 180 case 'separator': 181 case 'bracket-separator': {
182 const keyValueSep = options.arrayFormat === 'bracket-separator' ? 183 '[]=' : 184 '='; 185 186 return key => (result, value) => { 187 if ( 188 value === undefined || 189 (options.skipNull && value === null) || 190 (options.skipEmptyString && value === '') 191 ) { 192 return result; 193 } 194 195 // Translate null to an empty string so that it doesn't serialize as 'null' 196 value = value === null ? '' : value; 197 198 if (result.length === 0) { 199 return [[encode(key, options), keyValueSep, encode(value, options)].join('')]; 200 } 201 202 return [[result, encode(value, options)].join(options.arrayFormatSeparator)]; 203 }; 204 } 205 206 default: 207 return key => (result, value) => { 208 if ( 209 value === undefined || 210 (options.skipNull && value === null) || 211 (options.skipEmptyString && value === '') 212 ) { 213 return result; 214 } 215 216 if (value === null) { 217 return [...result, encode(key, options)]; 218 } 219 220 return [...result, [encode(key, options), '=', encode(value, options)].join('')]; 221 }; 222 } 223} 224 225function parserForArrayFormat(options) { 226 let result; 227 228 switch (options.arrayFormat) { 229 case 'index': 230 return (key, value, accumulator) => { 231 result = /\[(\d*)\]$/.exec(key); 232 233 key = key.replace(/\[\d*\]$/, ''); 234 235 if (!result) { 236 accumulator[key] = value; 237 return; 238 } 239 240 if (accumulator[key] === undefined) { 241 accumulator[key] = {}; 242 } 243 244 accumulator[key][result[1]] = value; 245 }; 246 247 case 'bracket': 248 return (key, value, accumulator) => { 249 result = /(\[\])$/.exec(key); 250 key = key.replace(/\[\]$/, ''); 251 252 if (!result) { 253 accumulator[key] = value; 254 return; 255 } 256 257 if (accumulator[key] === undefined) { 258 accumulator[key] = [value]; 259 return; 260 } 261 262 accumulator[key] = [].concat(accumulator[key], value); 263 }; 264 265 case 'comma': 266 case 'separator': 267 return (key, value, accumulator) => { 268 const isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator); 269 const isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator)); 270 value = isEncodedArray ? decode(value, options) : value; 271 const newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options); 272 accumulator[key] = newValue; 273 }; 274 275 case 'bracket-separator': 276 return (key, value, accumulator) => { 277 const isArray = /(\[\])$/.test(key); 278 key = key.replace(/\[\]$/, ''); 279 280 if (!isArray) { 281 accumulator[key] = value ? decode(value, options) : value; 282 return; 283 } 284 285 const arrayValue = value === null ? 286 [] : 287 value.split(options.arrayFormatSeparator).map(item => decode(item, options)); 288 289 if (accumulator[key] === undefined) { 290 accumulator[key] = arrayValue; 291 return; 292 } 293 294 accumulator[key] = [].concat(accumulator[key], arrayValue); 295 }; 296 297 default: 298 return (key, value, accumulator) => { 299 if (accumulator[key] === undefined) { 300 accumulator[key] = value; 301 return; 302 } 303 304 accumulator[key] = [].concat(accumulator[key], value); 305 }; 306 } 307} 308 309function validateArrayFormatSeparator(value) { 310 if (typeof value !== 'string' || value.length !== 1) { 311 throw new TypeError('arrayFormatSeparator must be single character string'); 312 } 313} 314 315function encode(value, options) { 316 if (options.encode) { 317 return options.strict ? strictUriEncode(value) : encodeURIComponent(value); 318 } 319 320 return value; 321} 322 323function decode(value, options) { 324 if (options.decode) { 325 return decodeComponent(value); 326 } 327 328 return value; 329} 330 331function keysSorter(input) { 332 if (Array.isArray(input)) { 333 return input.sort(); 334 } 335 336 if (typeof input === 'object') { 337 return keysSorter(Object.keys(input)) 338 .sort((a, b) => Number(a) - Number(b)) 339 .map(key => input[key]); 340 } 341 342 return input; 343} 344 345function removeHash(input) { 346 const hashStart = input.indexOf('#'); 347 if (hashStart !== -1) { 348 input = input.slice(0, hashStart); 349 } 350 351 return input; 352} 353 354function getHash(url) { 355 let hash = ''; 356 const hashStart = url.indexOf('#'); 357 if (hashStart !== -1) { 358 hash = url.slice(hashStart); 359 } 360 361 return hash; 362} 363 364function extract(input) { 365 input = removeHash(input); 366 const queryStart = input.indexOf('?'); 367 if (queryStart === -1) { 368 return ''; 369 } 370 371 return input.slice(queryStart + 1); 372} 373 374function parseValue(value, options) { 375 if (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) { 376 value = Number(value); 377 } else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) { 378 value = value.toLowerCase() === 'true'; 379 } 380 381 return value; 382} 383 384function parse(query, options) { 385 options = Object.assign({ 386 decode: true, 387 sort: true, 388 arrayFormat: 'none', 389 arrayFormatSeparator: ',', 390 parseNumbers: false,
391 parseBooleans: false 392 }, options); 393 394 validateArrayFormatSeparator(options.arrayFormatSeparator); 395 396 const formatter = parserForArrayFormat(options); 397 398 // Create an object with no prototype 399 const ret = Object.create(null); 400 401 if (typeof query !== 'string') { 402 return ret; 403 } 404 405 query = query.trim().replace(/^[?#&]/, ''); 406 407 if (!query) { 408 return ret; 409 } 410 411 for (const param of query.split('&')) { 412 if (param === '') { 413 continue; 414 } 415 416 let [key, value] = splitOnFirst(options.decode ? param.replace(/\+/g, ' ') : param, '='); 417 418 // Missing `=` should be `null`: 419 // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters 420 value = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options); 421 formatter(decode(key, options), value, ret); 422 } 423 424 for (const key of Object.keys(ret)) { 425 const value = ret[key]; 426 if (typeof value === 'object' && value !== null) { 427 for (const k of Object.keys(value)) { 428 value[k] = parseValue(value[k], options); 429 } 430 } else { 431 ret[key] = parseValue(value, options); 432 } 433 } 434 435 if (options.sort === false) { 436 return ret; 437 } 438 439 return (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => { 440 const value = ret[key]; 441 if (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) { 442 // Sort object keys, not values 443 result[key] = keysSorter(value); 444 } else { 445 result[key] = value; 446 } 447 448 return result; 449 }, Object.create(null)); 450} 451 452exports.extract = extract; 453exports.parse = parse; 454 455exports.stringify = (object, options) => { 456 if (!object) { 457 return ''; 458 } 459 460 options = Object.assign({ 461 encode: true, 462 strict: true, 463 arrayFormat: 'none', 464 arrayFormatSeparator: ',' 465 }, options); 466 467 validateArrayFormatSeparator(options.arrayFormatSeparator); 468 469 const shouldFilter = key => ( 470 (options.skipNull && isNullOrUndefined(object[key])) || 471 (options.skipEmptyString && object[key] === '') 472 ); 473 474 const formatter = encoderForArrayFormat(options); 475 476 const objectCopy = {}; 477 478 for (const key of Object.keys(object)) { 479 if (!shouldFilter(key)) { 480 objectCopy[key] = object[key]; 481 } 482 } 483 484 const keys = Object.keys(objectCopy); 485 486 if (options.sort !== false) { 487 keys.sort(options.sort); 488 } 489 490 return keys.map(key => { 491 const value = object[key]; 492 493 if (value === undefined) { 494 return ''; 495 } 496 497 if (value === null) { 498 return encode(key, options); 499 } 500 501 if (Array.isArray(value)) { 502 if (value.length === 0 && options.arrayFormat === 'bracket-separator') { 503 return encode(key, options) + '[]'; 504 } 505 506 return value 507 .reduce(formatter(key), []) 508 .join('&'); 509 } 510 511 return encode(key, options) + '=' + encode(value, options); 512 }).filter(x => x.length > 0).join('&'); 513}; 514 515exports.parseUrl = (url, options) => { 516 options = Object.assign({ 517 decode: true 518 }, options); 519 520 const [url_, hash] = splitOnFirst(url, '#'); 521 522 return Object.assign( 523 { 524 url: url_.split('?')[0] || '', 525 query: parse(extract(url), options) 526 }, 527 options && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {} 528 ); 529}; 530 531exports.stringifyUrl = (object, options) => { 532 options = Object.assign({ 533 encode: true, 534 strict: true, 535 [encodeFragmentIdentifier]: true 536 }, options); 537 538 const url = removeHash(object.url).split('?')[0] || ''; 539 const queryFromUrl = exports.extract(object.url); 540 const parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false}); 541 542 const query = Object.assign(parsedQueryFromUrl, object.query); 543 let queryString = exports.stringify(query, options); 544 if (queryString) { 545 queryString = `?${queryString}`; 546 } 547 548 let hash = getHash(object.url); 549 if (object.fragmentIdentifier) { 550 hash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`; 551 } 552 553 return `${url}${queryString}${hash}`; 554}; 555 556exports.pick = (input, filter, options) => { 557 options = Object.assign({ 558 parseFragmentIdentifier: true, 559 [encodeFragmentIdentifier]: false 560 }, options); 561 562 const {url, query, fragmentIdentifier} = exports.parseUrl(input, options); 563 return exports.stringifyUrl({ 564 url, 565 query: filterObject(query, filter), 566 fragmentIdentifier 567 }, options); 568}; 569 570exports.exclude = (input, filter, options) => { 571 const exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value); 572 573 return exports.pick(input, exclusionFilter, options); 574}; 575 576},{"decode-uri-component":3,"filter-obj":4,"split-on-first":6,"strict-uri-encode":7}],6:[function(require,module,exports){ 577'use strict'; 578 579module.exports = (string, separator) => { 580 if (!(typeof string === 'string' && typeof separator === 'string')) { 581 throw new TypeError('Expected the arguments to be of type `string`'); 582 } 583 584 if (separator === '') { 585 return [string]; 586 } 587 588 const separatorIndex = string.indexOf(separator); 589 590 if (separatorIndex === -1) { 591 return [string]; 592 } 593 594 return [ 595 string.slice(0, separatorIndex), 596 string.slice(separatorIndex + separator.length) 597 ]; 598}; 599 600},{}],7:[function(require,module,exports){ 601'use strict'; 602module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`); 603 604},{}],8:[function(require,module,exports){ 605/* 606 607Paul W 2021 10 19 608 609Makkelijker om NPM te gebruiken voor packages 610 611Benodigdheden: 612- NPM https://www.npmjs.com/ 613- Browserify https://browserify.org/#install 614 615Om te bouwen: 616browserify packages.js -o bundle.js 617 618bundle.js wordt geinclude in application_class.inc 619 620*/ 621 622 623 624var gmapsOgc = require('@googlemaps/ogc'); 625var MarkerWithLabel = require('@googlemaps/markerwithlabel'); 626 627window.xyzToBounds = gmapsOgc.xyzToBounds; 628window.WmsMapType = gmapsOgc.WmsMapType; 629window.MarkerWithLabel = MarkerWithLabel; 630},{"@googlemaps/markerwithlabel":1,"@googlemaps/ogc":2}]},{},[8]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.