mirror of
https://github.com/maputnik/editor.git
synced 2026-12-06 00:34:22 +00:00
deploy: 41cd7dfad1
This commit is contained in:
1 parent
87c7c7ff93
commit
43a7c058fd
3 files changed
+4
-4
No files matched your search
@@ -801,7 +801,7 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[ue]+"'":qe="Parse error on l
|
||||
<\/script>
|
||||
</body>
|
||||
</html>
|
||||
`),i=(Ro().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(Ro().s[9]++,this.exportName());Ro().s[10]++,IF.saveAs(i,o+".html")}downloadStyle(){Ro().f[3]++;const t=(Ro().s[11]++,this.tokenizedStyle()),n=(Ro().s[12]++,new Blob([t],{type:"application/json;charset=utf-8"})),r=(Ro().s[13]++,this.exportName());Ro().s[14]++,IF.saveAs(n,r+".json")}changeMetadataProperty(t,n){Ro().f[4]++;const r=(Ro().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[t]:n}});Ro().s[16]++,this.props.onStyleChanged(r)}render(){return Ro().f[5]++,Ro().s[17]++,G.jsx(Gf,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:"Export Style",className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:"Download Style"}),G.jsx("p",{children:"Download a JSON style to your computer."}),G.jsxs("div",{children:[G.jsx(Fm,{label:xf.maputnik.maptiler_access_token.label,fieldSpec:xf.maputnik.maptiler_access_token,value:(Ro().b[2][0]++,this.props.mapStyle.metadata||(Ro().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(Fm,{label:xf.maputnik.thunderforest_access_token.label,fieldSpec:xf.maputnik.thunderforest_access_token,value:(Ro().b[3][0]++,this.props.mapStyle.metadata||(Ro().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(za,{onClick:this.downloadStyle.bind(this),children:[G.jsx(FE,{}),"Download Style"]}),G.jsxs(za,{onClick:this.downloadHtml.bind(this),children:[G.jsx(FE,{}),"Download HTML"]})]})]})})}}function r5(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",t="950dd35e62562a3439b74678b95f406e749c6958",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=n[r]||(n[r]={});(!o[e]||o[e].hash!==t)&&(o[e]=i);var a=o[e];return r5=function(){return a},a}r5();class PQ extends Mn.Component{render(){return r5().f[0]++,r5().s[0]++,G.jsx(sb,{label:this.props.label,children:G.jsx(gQ,{...this.props})})}}function i5(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",t="a27c35e986d22656fa80c276efb67df518853ac2",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=n[r]||(n[r]={});(!o[e]||o[e].hash!==t)&&(o[e]=i);var a=o[e];return i5=function(){return a},a}i5();class A7e extends Mn.Component{render(){return i5().f[0]++,i5().s[0]++,G.jsx(aa,{label:this.props.label,children:G.jsx(qk,{...this.props})})}}function Xn(){var e="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",t="bd3e4d09ce7131c28fb23a5fc0245fe57c891028",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:14,column:4},end:{line:28,column:9}},1:{start:{line:21,column:29},end:{line:24,column:12}},2:{start:{line:33,column:4},end:{line:36,column:7}},3:{start:{line:39,column:18},end:{line:39,column:47}},4:{start:{line:40,column:4},end:{line:49,column:6}},5:{start:{line:52,column:4},end:{line:79,column:9}},6:{start:{line:60,column:33},end:{line:63,column:12}},7:{start:{line:72,column:33},end:{line:75,column:12}},8:{start:{line:84,column:24},end:{line:91,column:5}},9:{start:{line:85,column:26},end:{line:85,column:64}},10:{start:{line:86,column:6},end:{line:8
Line truncated
|
||||
`),i=(Ro().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(Ro().s[9]++,this.exportName());Ro().s[10]++,IF.saveAs(i,o+".html")}downloadStyle(){Ro().f[3]++;const t=(Ro().s[11]++,this.tokenizedStyle()),n=(Ro().s[12]++,new Blob([t],{type:"application/json;charset=utf-8"})),r=(Ro().s[13]++,this.exportName());Ro().s[14]++,IF.saveAs(n,r+".json")}changeMetadataProperty(t,n){Ro().f[4]++;const r=(Ro().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[t]:n}});Ro().s[16]++,this.props.onStyleChanged(r)}render(){return Ro().f[5]++,Ro().s[17]++,G.jsx(Gf,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:"Export Style",className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:"Download Style"}),G.jsx("p",{children:"Download a JSON style to your computer."}),G.jsxs("div",{children:[G.jsx(Fm,{label:xf.maputnik.maptiler_access_token.label,fieldSpec:xf.maputnik.maptiler_access_token,value:(Ro().b[2][0]++,this.props.mapStyle.metadata||(Ro().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(Fm,{label:xf.maputnik.thunderforest_access_token.label,fieldSpec:xf.maputnik.thunderforest_access_token,value:(Ro().b[3][0]++,this.props.mapStyle.metadata||(Ro().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(za,{onClick:this.downloadStyle.bind(this),children:[G.jsx(FE,{}),"Download Style"]}),G.jsxs(za,{onClick:this.downloadHtml.bind(this),children:[G.jsx(FE,{}),"Download HTML"]})]})]})})}}function r5(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",t="950dd35e62562a3439b74678b95f406e749c6958",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=n[r]||(n[r]={});(!o[e]||o[e].hash!==t)&&(o[e]=i);var a=o[e];return r5=function(){return a},a}r5();class PQ extends Mn.Component{render(){return r5().f[0]++,r5().s[0]++,G.jsx(sb,{label:this.props.label,children:G.jsx(gQ,{...this.props})})}}function i5(){var e="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",t="a27c35e986d22656fa80c276efb67df518853ac2",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=n[r]||(n[r]={});(!o[e]||o[e].hash!==t)&&(o[e]=i);var a=o[e];return i5=function(){return a},a}i5();class A7e extends Mn.Component{render(){return i5().f[0]++,i5().s[0]++,G.jsx(aa,{label:this.props.label,children:G.jsx(qk,{...this.props})})}}function Xn(){var e="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",t="bd3e4d09ce7131c28fb23a5fc0245fe57c891028",n=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:14,column:4},end:{line:28,column:9}},1:{start:{line:21,column:29},end:{line:24,column:12}},2:{start:{line:33,column:4},end:{line:36,column:7}},3:{start:{line:39,column:18},end:{line:39,column:47}},4:{start:{line:40,column:4},end:{line:49,column:6}},5:{start:{line:52,column:4},end:{line:79,column:9}},6:{start:{line:60,column:33},end:{line:63,column:12}},7:{start:{line:72,column:33},end:{line:75,column:12}},8:{start:{line:84,column:24},end:{line:91,column:5}},9:{start:{line:85,column:26},end:{line:85,column:64}},10:{start:{line:86,column:6},end:{line:8
Line truncated
|
||||
`)>=0)return!1;return!0}function vke(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=wf.call(Array(e.indent+1)," ");else return null;return{base:n,prev:wf.call(Array(t+1),n)}}function dB(e,t){if(e.length===0)return"";var n=`
|
||||
`+t.prev+t.base;return n+wf.call(e,","+n)+`
|
||||
`+t.prev}function P2(e,t){var n=cB(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Im(e,i)?t(e[i],e):""}var o=typeof m6=="function"?m6(e):[],a;if(sv){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var h in e)Im(e,h)&&(n&&String(Number(h))===h&&h<e.length||sv&&a["$"+h]instanceof Symbol||($Q.call(/[^\w$]/,h)?r.push(t(h,e)+": "+t(e[h],e)):r.push(h+": "+t(e[h],e))));if(typeof m6=="function")for(var g=0;g<o.length;g++)YQ.call(e,o[g])&&r.push("["+t(o[g])+"]: "+t(e[o[g]],e));return r}var XQ=kv,Iv=W8e,_ke=tke,Cke=Xb,F2=XQ("%WeakMap%",!0),D2=XQ("%Map%",!0),bke=Iv("WeakMap.prototype.get",!0),xke=Iv("WeakMap.prototype.set",!0),wke=Iv("WeakMap.prototype.has",!0),Mke=Iv("Map.prototype.get",!0),Ske=Iv("Map.prototype.set",!0),Eke=Iv("Map.prototype.has",!0),aI=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},Oke=function(e,t){var n=aI(e,t);return n&&n.value},Bke=function(e,t,n){var r=aI(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},kke=function(e,t){return!!aI(e,t)},Ike=function(){var t,n,r,i={assert:function(o){if(!i.has(o))throw new Cke("Side channel does not contain "+_ke(o))},get:function(o){if(F2&&o&&(typeof o=="object"||typeof o=="function")){if(t)return bke(t,o)}else if(D2){if(n)return Mke(n,o)}else if(r)return Oke(r,o)},has:function(o){if(F2&&o&&(typeof o=="object"||typeof o=="function")){if(t)return wke(t,o)}else if(D2){if(n)return Eke(n,o)}else if(r)return kke(r,o);return!1},set:function(o,a){F2&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new F2),xke(t,o,a)):D2?(n||(n=new D2),Ske(n,o,a)):(r||(r={key:{},next:null}),Bke(r,o,a))}};return i},Tke=String.prototype.replace,Kke=/%20/g,y6={RFC1738:"RFC1738",RFC3986:"RFC3986"},sI={default:y6.RFC3986,formatters:{RFC1738:function(e){return Tke.call(e,Kke,"+")},RFC3986:function(e){return String(e)}},RFC1738:y6.RFC1738,RFC3986:y6.RFC3986},Pke=sI,v6=Object.prototype.hasOwnProperty,r1=Array.isArray,mf=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Fke=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(r1(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);n.obj[n.prop]=i}}},JQ=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},Dke=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(r1(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!v6.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return r1(t)&&!r1(n)&&(i=JQ(t,r)),r1(t)&&r1(n)?(n.forEach(function(o,a){if(v6.call(t,a)){var s=t[a];s&&typeof s=="object"&&o&&typeof o=="object"?t[a]=e(s,o,r):t.push(o)}else t[a]=o}),t):Object.keys(n).reduce(function(o,a){var s=n[a];return v6.call(o,a)?o[a]=e(o[a],s,r):o[a]=s,o},i)},Lke=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},Uke=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},Rke=function(t,n,r,i,o){if(t.length===0)return t;var a=t;if(typeof t=="symbol"?a=Symbol.prototype.toString.call(t):typeof t!="string"&&(a=String(t)),r==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(_){return"%26%23"+parseInt(_.slice(2),16)+"%3B"});for(var s="",h=0;h<a.length;++h){var g=a.charCodeAt(h);if(g===45||g===46||g===95||g===126||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||o===Pke.RFC1738&&(g===40||g===41)){s+=a.charAt(h);continue}if(g<128){s=s+mf[g];continue}if(g<2048){s=s+(mf[192|g>>6]+mf[128|g&63]);continue}if(g<55296||g>=57344){s=s+(mf[224|g>>12]+mf[128|g>>6&63]+mf[128|g&63]);continue}h+=1,g=65536+((g&1023)<<10|a.charCodeAt(h)&1023),s+=mf[240|g>>18]+mf[128|g>>12&63]+mf[128|g>>6&63]+mf[128|g&63]}return s},zke=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var o=n[i],a=o.obj[o.prop],s=Object.keys(a),h=0;h<s.length;++h){var g=s[h],_=a[g];typeof _=="object"&&_!==null&&r.indexOf(_)===-1&&(n.push({obj:a,prop:g}),r.push(_))}return Fke(n),t},jke=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Wke=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Nke=function(t,n){return[].concat(t,n)},Gke=function(t,n){if(r1(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},e$={arrayToObject:JQ,assign:Lke,combine:Nke,compact:zke,decode:Uke,encode:Rke,isBuffer:Wke,isRegExp:jke,maybeMap:Gke,merge:Dke},t$=Ike,u3=e$,mC=sI,Qke=Object.prototype.hasOwnProperty,n$={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},bf=Array.isArray,$ke=Array.prototype.push,r$=function(e,t){$ke.apply(e,bf(t)?t:[t])},Yke=Date.prototype.toISOString,rD=mC.default,$l={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"in
Line truncated
|
||||
@@ -824,4 +824,4 @@ and limitations under the License.
|
||||
* https://github.com/pladaria/reconnecting-websocket
|
||||
* License MIT
|
||||
*/var DIe=function(){if(typeof WebSocket<"u")return WebSocket},LIe=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},G0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},UIe=function(){function e(t,n,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(o){i._debug("open event");var a=i._options.minUptime,s=a===void 0?G0.minUptime:a;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},s),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(h){return i._ws.send(h)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(h){return i._callEventListener(o,h)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(a){return i._callEventListener(o,a)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(a){return i._callEventListener(o,a)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(a){return i._callEventListener(o,a)})},this._url=t,this._protocols=n,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(t){this._binaryType=t,this._ws&&(this._ws.binaryType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var t=this._messageQueue.reduce(function(n,r){return typeof r=="string"?n+=r.length:r instanceof Blob?n+=r.size:n+=r.byteLength,n},0);return t+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(t,n){if(t===void 0&&(t=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(t,n)},e.prototype.reconnect=function(t,n){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(t,n),this._connect())},e.prototype.send=function(t){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",t),this._ws.send(t);else{var n=this._options.maxEnqueuedMessages,r=n===void 0?G0.maxEnqueuedMessages:n;this._messageQueue.length<r&&(this._debug("enqueue",t),this._messageQueue.push(t))}},e.prototype.addEventListener=function(t,n){this._listeners[t]&&this._listeners[t].push(n)},e.prototype.dispatchEvent=function(t){var n,r,i=this._listeners[t.type];if(i)try{for(var o=IIe(i),a=o.next();!a.done;a=o.next()){var s=a.value;this._callEventListener(t,s)}}catch(h){n={error:h}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!0},e.prototype.removeEventListeneLine truncated
|
||||
//# sourceMappingURL=index-CucBiHO0.js.map
|
||||
//# sourceMappingURL=index-B55Kfzol.js.map
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"index-CucBiHO0.js","sources":["../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/iconContext.mjs","../../node_modules/react-icons/lib/iconBase.mjs","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-dom/client.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/@maplibre/maplibre-gl-inspect/dist/maplibre-gl-inspect.mjs","../../node_modules/randomcolor/randomColor.js","../../node_modules/@maplibre/maplibre-gl-inspect/lib/colors.ts","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.mjs","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color-convert/conversions.js","../../node_modules/color-convert/route.js","../../node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../node_modules/@maplibre/maplibre-gl-inspect/lib/stylegen.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_modules/ol/geom/flat/contains.js","../../node_modules/ol/geom/flat/intersectsextent.js","../../node_modules/ol/geom/flat/length.js","../../node_modules/ol/geom/LineString.jsLine truncated
|
||||
{"version":3,"file":"index-B55Kfzol.js","sources":["../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/iconContext.mjs","../../node_modules/react-icons/lib/iconBase.mjs","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-dom/client.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/@maplibre/maplibre-gl-inspect/dist/maplibre-gl-inspect.mjs","../../node_modules/randomcolor/randomColor.js","../../node_modules/@maplibre/maplibre-gl-inspect/lib/colors.ts","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.mjs","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color-convert/conversions.js","../../node_modules/color-convert/route.js","../../node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../node_modules/@maplibre/maplibre-gl-inspect/lib/stylegen.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_modules/ol/geom/flat/contains.js","../../node_modules/ol/geom/flat/intersectsextent.js","../../node_modules/ol/geom/flat/length.js","../../node_modules/ol/geom/LineString.jsLine truncated
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="module" crossorigin src="/maputnik/assets/index-CucBiHO0.js"></script>
|
||||
<script type="module" crossorigin src="/maputnik/assets/index-B55Kfzol.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-vOMA9Lgt.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user