This commit is contained in:
HarelM committed 2024-03-09 21:04:29 +00:00
1 parent 49f91a69f1
commit 3303a25737
3 files changed
+5 -5

No files matched your search

@@ -643,7 +643,7 @@ uniform ${ue} ${fe} u_${Ee};
#endif
`}),staticAttributes:_,staticUniforms:R}}class il{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(u,p,_,M,I,R,j,G,te){this.context=u;let ue=this.boundPaintVertexBuffers.length!==M.length;for(let fe=0;!ue&&fe<M.length;fe++)this.boundPaintVertexBuffers[fe]!==M[fe]&&(ue=!0);!this.vao||this.boundProgram!==p||this.boundLayoutVertexBuffer!==_||ue||this.boundIndexBuffer!==I||this.boundVertexOffset!==R||this.boundDynamicVertexBuffer!==j||this.boundDynamicVertexBuffer2!==G||this.boundDynamicVertexBuffer3!==te?this.freshBind(p,_,M,I,R,j,G,te):(u.bindVertexArray.set(this.vao),j&&j.bind(),I&&I.dynamicDraw&&I.bind(),G&&G.bind(),te&&te.bind())}freshBind(u,p,_,M,I,R,j,G){const te=u.numAttributes,ue=this.context,fe=ue.gl;this.vao&&this.destroy(),this.vao=ue.createVertexArray(),ue.bindVertexArray.set(this.vao),this.boundProgram=u,this.boundLayoutVertexBuffer=p,this.boundPaintVertexBuffers=_,this.boundIndexBuffer=M,this.boundVertexOffset=I,this.boundDynamicVertexBuffer=R,this.boundDynamicVertexBuffer2=j,this.boundDynamicVertexBuffer3=G,p.enableAttributes(fe,u);for(const Ee of _)Ee.enableAttributes(fe,u);R&&R.enableAttributes(fe,u),j&&j.enableAttributes(fe,u),G&&G.enableAttributes(fe,u),p.bind(),p.setVertexAttribPointers(fe,u,I);for(const Ee of _)Ee.bind(),Ee.setVertexAttribPointers(fe,u,I);R&&(R.bind(),R.setVertexAttribPointers(fe,u,I)),M&&M.bind(),j&&(j.bind(),j.setVertexAttribPointers(fe,u,I)),G&&(G.bind(),G.setVertexAttribPointers(fe,u,I)),ue.currentNumAttributes=te}destroy(){this.vao&&(this.context.deleteVertexArray(this.vao),this.vao=null)}}function Va(O){const u=[];for(let p=0;p<O.length;p++){if(O[p]===null)continue;const _=O[p].split(" ");u.push(_.pop())}return u}class xa{constructor(u,p,_,M,I,R){const j=u.gl;this.program=j.createProgram();const G=Va(p.staticAttributes),te=_?_.getBinderAttributes():[],ue=G.concat(te),fe=Br.prelude.staticUniforms?Va(Br.prelude.staticUniforms):[],Ee=p.staticUniforms?Va(p.staticUniforms):[],ze=_?_.getBinderUniforms():[],Fe=fe.concat(Ee).concat(ze),Ge=[];for(const It of Fe)Ge.indexOf(It)<0&&Ge.push(It);const je=_?_.defines():[];I&&je.push("#define OVERDRAW_INSPECTOR;"),R&&je.push("#define TERRAIN3D;");const ct=je.concat(Br.prelude.fragmentSource,p.fragmentSource).join(`
`),Ot=je.concat(Br.prelude.vertexSource,p.vertexSource).join(`
`),Ye=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(Ye,ct),j.compileShader(Ye),!j.getShaderParameter(Ye,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(Ye)}`);j.attachShader(this.program,Ye);const _t=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(_t,Ot),j.compileShader(_t),!j.getShaderParameter(_t,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(_t)}`);j.attachShader(this.program,_t),this.attributes={};const Gt={};this.numAttributes=ue.length;for(let It=0;It<this.numAttributes;It++)ue[It]&&(j.bindAttribLocation(this.program,It,ue[It]),this.attributes[ue[It]]=It);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(_t),j.deleteShader(Ye);for(let It=0;It<Ge.length;It++){const en=Ge[It];if(en&&!Gt[en]){const cn=j.getUniformLocation(this.program,en);cn&&(Gt[en]=cn)}}this.fixedUniforms=M(u,Gt),this.terrainUniforms=((It,en)=>({u_depth:new a.aG(It,en.u_depth),u_terrain:new a.aG(It,en.u_terrain),u_terrain_dim:new a.aH(It,en.u_terrain_dim),u_terrain_matrix:new a.aI(It,en.u_terrain_matrix),u_terrain_unpack:new a.aJ(It,en.u_terrain_unpack),u_terrain_exaggeration:new a.aH(It,en.u_terrain_exaggeration)}))(u,Gt),this.binderUniforms=_?_.getUniforms(u,Gt):[]}draw(u,p,_,M,I,R,j,G,te,ue,fe,Ee,ze,Fe,Ge,je,ct,Ot){const Ye=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(R),G){u.activeTexture.set(Ye.TEXTURE2),Ye.bindTexture(Ye.TEXTURE_2D,G.depthTexture),u.activeTexture.set(Ye.TEXTURE3),Ye.bindTexture(Ye.TEXTURE_2D,G.texture);for(const Gt in this.terrainUniforms)this.terrainUniforms[Gt].set(G[Gt])}for(const Gt in this.fixedUniforms)this.fixedUniforms[Gt].set(j[Gt]);Ge&&Ge.setUniforms(u,this.binderUniforms,ze,{zoom:Fe});let _t=0;switch(p){case Ye.LINES:_t=2;break;case Ye.TRIANGLES:_t=3;break;case Ye.LINE_STRIP:_t=1}for(const Gt of Ee.get()){const It=Gt.vaos||(Gt.vaos={});(It[te]||(It[te]=new il)).bind(u,this,ue,Ge?Ge.getPaintVertexBuffers():[],fe,Gt.vertexOffset,je,ct,Ot),Ye.drawElements(p,Gt.primitiveLength*_t,Ye.UNSIGNED_SHORT,Gt.primitiveOffset*_t*2)}}}function Bu(O,u,p){const _=1/or(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,R=I*(p.tileID.canonical.x+p.tileID.wrap*M),j=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const Ns=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),R=[I.x,I.y,I.z],j=function(){var te=new a.A(9);return a.A!=Float32Array&&(te[1]=0,te[2]=0,te[3]=0,te[5]=0,te[6]=0,te[7]=0),te[0]=1,te[4]=1,te[8]=1,te}();M.properties.get("anchor")==="viewport"&&function(te,ue){var fe=Math.sin(ue),Ee=Math.cos(ue);te[0]=Ee,te[1]=fe,te[2]=0,te[3]=-fe,te[4]=Ee,te[5]=0,te[6]=0,te[7]=0,te[8]=1}(j,-u.transform.angle),function(te,ue,fe){var Ee=ue[0],ze=ue[1],Fe=ue[2];te[0]=Ee*fe[0]+ze*fe[3]+Fe*fe[6],te[1]=Ee*fe[1]+ze*fe[4]+Fe*fe[7],te[2]=Ee*fe[2]+ze*fe[5]+Fe*fe[8]}(R,R,j);const G=M.properties.get("color");return{u_matrix:O,u_lightpos:R,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[G.r,G.g,G.b],u_vertical_gradient:+p,u_opacity:_}},Ha=(O,u,p,_,M,I,R)=>a.e(Ns(O,u,p,_),Bu(I,u,R),{u_height_factor:-Math.pow(2,M.overscaledZ)/R.tileSize/8}),Za=O=>({u_matrix:O}),Gs=(O,u,p,_)=>a.e(Za(O),Bu(p,u,_)),xA=(O,u)=>({u_matrix:O,u_world:u}),pl=(O,u,p,_,M)=>a.e(Gs(O,u,p,_),{u_world:M}),ic=(O,u,p,_)=>{const M=O.transform;let I,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=or(p,1,M.zoom);I=!0,R=[j,j]}else I=!1,R=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:R}},wA=(O,u,p)=>{const _=or(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},MA=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),tA=O=>({u_matrix:O}),oc=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:or(u,1,p),u_intensity:_});function Xa(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Es=(O,u,p,_)=>{const M=O.transform;return{u_matrix:nA(O,u,p,_),u_ratio:1/or(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
`),Ye=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(Ye,ct),j.compileShader(Ye),!j.getShaderParameter(Ye,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(Ye)}`);j.attachShader(this.program,Ye);const _t=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(_t,Ot),j.compileShader(_t),!j.getShaderParameter(_t,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(_t)}`);j.attachShader(this.program,_t),this.attributes={};const Gt={};this.numAttributes=ue.length;for(let It=0;It<this.numAttributes;It++)ue[It]&&(j.bindAttribLocation(this.program,It,ue[It]),this.attributes[ue[It]]=It);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(_t),j.deleteShader(Ye);for(let It=0;It<Ge.length;It++){const en=Ge[It];if(en&&!Gt[en]){const cn=j.getUniformLocation(this.program,en);cn&&(Gt[en]=cn)}}this.fixedUniforms=M(u,Gt),this.terrainUniforms=((It,en)=>({u_depth:new a.aG(It,en.u_depth),u_terrain:new a.aG(It,en.u_terrain),u_terrain_dim:new a.aH(It,en.u_terrain_dim),u_terrain_matrix:new a.aI(It,en.u_terrain_matrix),u_terrain_unpack:new a.aJ(It,en.u_terrain_unpack),u_terrain_exaggeration:new a.aH(It,en.u_terrain_exaggeration)}))(u,Gt),this.binderUniforms=_?_.getUniforms(u,Gt):[]}draw(u,p,_,M,I,R,j,G,te,ue,fe,Ee,ze,Fe,Ge,je,ct,Ot){const Ye=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(R),G){u.activeTexture.set(Ye.TEXTURE2),Ye.bindTexture(Ye.TEXTURE_2D,G.depthTexture),u.activeTexture.set(Ye.TEXTURE3),Ye.bindTexture(Ye.TEXTURE_2D,G.texture);for(const Gt in this.terrainUniforms)this.terrainUniforms[Gt].set(G[Gt])}for(const Gt in this.fixedUniforms)this.fixedUniforms[Gt].set(j[Gt]);Ge&&Ge.setUniforms(u,this.binderUniforms,ze,{zoom:Fe});let _t=0;switch(p){case Ye.LINES:_t=2;break;case Ye.TRIANGLES:_t=3;break;case Ye.LINE_STRIP:_t=1}for(const Gt of Ee.get()){const It=Gt.vaos||(Gt.vaos={});(It[te]||(It[te]=new il)).bind(u,this,ue,Ge?Ge.getPaintVertexBuffers():[],fe,Gt.vertexOffset,je,ct,Ot),Ye.drawElements(p,Gt.primitiveLength*_t,Ye.UNSIGNED_SHORT,Gt.primitiveOffset*_t*2)}}}function Bu(O,u,p){const _=1/or(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,R=I*(p.tileID.canonical.x+p.tileID.wrap*M),j=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const Ns=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),R=[I.x,I.y,I.z],j=function(){var te=new a.A(9);return a.A!=Float32Array&&(te[1]=0,te[2]=0,te[3]=0,te[5]=0,te[6]=0,te[7]=0),te[0]=1,te[4]=1,te[8]=1,te}();M.properties.get("anchor")==="viewport"&&function(te,ue){var fe=Math.sin(ue),Ee=Math.cos(ue);te[0]=Ee,te[1]=fe,te[2]=0,te[3]=-fe,te[4]=Ee,te[5]=0,te[6]=0,te[7]=0,te[8]=1}(j,-u.transform.angle),function(te,ue,fe){var Ee=ue[0],ze=ue[1],Fe=ue[2];te[0]=Ee*fe[0]+ze*fe[3]+Fe*fe[6],te[1]=Ee*fe[1]+ze*fe[4]+Fe*fe[7],te[2]=Ee*fe[2]+ze*fe[5]+Fe*fe[8]}(R,R,j);const G=M.properties.get("color");return{u_matrix:O,u_lightpos:R,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[G.r,G.g,G.b],u_vertical_gradient:+p,u_opacity:_}},Ha=(O,u,p,_,M,I,R)=>a.e(Ns(O,u,p,_),Bu(I,u,R),{u_height_factor:-Math.pow(2,M.overscaledZ)/R.tileSize/8}),Za=O=>({u_matrix:O}),Gs=(O,u,p,_)=>a.e(Za(O),Bu(p,u,_)),xA=(O,u)=>({u_matrix:O,u_world:u}),pl=(O,u,p,_,M)=>a.e(Gs(O,u,p,_),{u_world:M}),ic=(O,u,p,_)=>{const M=O.transform;let I,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=or(p,1,M.zoom);I=!0,R=[j,j]}else I=!1,R=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:R}},wA=(O,u,p)=>{const _=or(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},MA=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),tA=O=>({u_matrix:O}),oc=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:or(u,1,p),u_intensity:_});function Xa(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Es=(O,u,p,_)=>{const M=O.transform;return{u_matrix:nA(O,u,p,_),u_ratio:1/or(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
Zoom: <span></span>
`,da().s[8]++,this._textEl=this._container.querySelector("span"),da().s[9]++,this.addEventListeners(),da().s[10]++,this._container}updateZoomLevel(){da().f[1]++,da().s[11]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){da().f[2]++,da().s[12]++,this._map.on("render",()=>(da().f[3]++,da().s[13]++,this.updateZoomLevel())),da().s[14]++,this._map.on("zoomIn",()=>(da().f[4]++,da().s[15]++,this.updateZoomLevel())),da().s[16]++,this._map.on("zoomOut",()=>(da().f[5]++,da().s[17]++,this.updateZoomLevel()))}onRemove(){da().f[6]++,da().s[18]++,this._container.parentNode.removeChild(this._container),da().s[19]++,this._map=void 0}}function wi(){var e="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",n="a1afd3a6454022c4d7be658acdbd4aecf51f38d3",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:32,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20},6:{loc:{start:{line:22,column:2},end:{line:24,column:3}},type:"if",locations:[{start:{line:22,column:2},end:{line:24,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:22},7:{loc:{start:{line:22,column:6},end:{line:22,column:62}},type:"binary-expr",locations:[{start:{line:22,column:6},end:{line:22,column:27}},{start:{line:22,column:31},end:{line:22,column:62}}],line:22},8:{loc:{start:{line:25,column:2},end:{line:27,column:3}},type:"if",locations:[{start:{line:25,column:2},end:{line:27,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:25},9:{loc:{start:{line:25,column:6},end:{line:25,column:56}},type:"binary-expr",locations:[{start:{line:25,column:6},end:{line:25,column:29}},{start:{line:25,column:33},end:{line:25,column:56}}],line:25},10:{loc:{start:{line:28,column:2},end:{line:30,column:3}},type:"if",locations:[{start:{line:28,column:2},end:{line:30,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:28}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0},f:{0:0,1:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0,0],5:[0,0],6:[0,0],7:[0,0],8:[0,0],9:[0,0],10:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/libs/highlight.ts"],names:[],mappings:"AACA,OAAO,cAAc;AAErB,OAAO,YAAY;AAKnB,SAAS,YAAY,GAAqB,OAA2B;AACnE,MAAG,EAAE,SAAS,UAAU;AACtB,MAAE,MAAO,eAAe,IAAI;AAAA,EAC9B,WAAU,EAAE,SAAS,QAAQ;AAC3B,MAAE,MAA Line truncated
`))?($C(AE),Sg=null,uE=void 0,sp.set(P,e)):(sp.set(P,sp.get(P)+1,!0),g=!1))}g&&(clearInterval(o),o=void 0)}return function(g){var C=_z(g);if(C)for(var B=C.families,k=0,P=B.length;k<P;++k){var U=B[k],Z=C.style+`
@@ -770,7 +770,7 @@ Expecting `+Ke.join(", ")+", got '"+this.terminals_[re]+"'":rt="Parse error on l
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),w0.default.createElement("div",{style:C.white,className:"saturation-white"},w0.default.createElement("div",{style:C.black,className:"saturation-black"}),w0.default.createElement("div",{style:C.pointer},this.props.pointer?w0.default.createElement(this.props.pointer,this.props):w0.default.createElement("div",{style:C.circle}))))}}]),n}(lO.PureComponent||lO.Component);yb.default=JSe;var vb={},gA={},e6e=jN,t6e=zN,n6e=_N,r6e=jc;function i6e(e,n){var t=r6e(e)?e6e:t6e;return t(e,n6e(n))}var o6e=i6e,a6e=o6e,cG={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){function t(Me){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he},t(Me)}var r=/^\s+/,i=/\s+$/;function o(Me,he){if(Me=Me||"",he=he||{},Me instanceof o)return Me;if(!(this instanceof o))return new o(Me,he);var be=s(Me);this._originalInput=Me,this._r=be.r,this._g=be.g,this._b=be.b,this._a=be.a,this._roundA=Math.round(100*this._a)/100,this._format=he.format||be.format,this._gradientType=he.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=be.ok}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var he=this.toRgb();return(he.r*299+he.g*587+he.b*114)/1e3},getLuminance:function(){var he=this.toRgb(),be,Pe,Ze,nt,xt,Ft;return be=he.r/255,Pe=he.g/255,Ze=he.b/255,be<=.03928?nt=be/12.92:nt=Math.pow((be+.055)/1.055,2.4),Pe<=.03928?xt=Pe/12.92:xt=Math.pow((Pe+.055)/1.055,2.4),Ze<=.03928?Ft=Ze/12.92:Ft=Math.pow((Ze+.055)/1.055,2.4),.2126*nt+.7152*xt+.0722*Ft},setAlpha:function(he){return this._a=rt(he),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var he=C(this._r,this._g,this._b);return{h:he.h*360,s:he.s,v:he.v,a:this._a}},toHsvString:function(){var he=C(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.v*100);return this._a==1?"hsv("+be+", "+Pe+"%, "+Ze+"%)":"hsva("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var he=h(this._r,this._g,this._b);return{h:he.h*360,s:he.s,l:he.l,a:this._a}},toHslString:function(){var he=h(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.l*100);return this._a==1?"hsl("+be+", "+Pe+"%, "+Ze+"%)":"hsla("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(he){return k(this._r,this._g,this._b,he)},toHexString:function(he){return"#"+this.toHex(he)},toHex8:function(he){return P(this._r,this._g,this._b,this._a,he)},toHex8String:function(he){return"#"+this.toHex8(he)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(_e(this._r,255)*100)+"%",g:Math.round(_e(this._g,255)*100)+"%",b:Math.round(_e(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%)":"rgba("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:ft[k(this._r,this._g,this._b,!0)]||!1},toFilter:function(he){var be="#"+U(this._r,this._g,this._b,this._a),Pe=be,Ze=this._gradientType?"GradientType = 1, ":"";if(he){var nt=o(he);Pe="#"+U(nt._r,nt._g,nt._b,nt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+be+",endColorstr="+Pe+")"},toString:function(he){var be=!!he;he=he||this._format;var Pe=!1,Ze=this._a<1&&this._a>=0,nt=!be&&Ze&&(he==="hex"||he==="hex6"||he==="hex3"||he==="hex4"||he==="hex8"||he==="name");return nt?he==="name"&&this._a===0?this.toName():this.toRgbString():(he==="rgb"&&(Pe=this.toRgbString()),he==="prgb"&&(Pe=this.toPercentageRgbString()),(he==="hex"||he==="hex6")&&(Pe=this.toHexString()),he==="hex3"&&(Pe=this.toHexString(!0)),he==="hex4"&&(Pe=this.toHex8String(!0)),he==="hex8"&&(Pe=this.toHex8String()),he==="name"&&(Pe=this.toName()),he==="hsl"&&(Pe=this.toHslString()),he==="hsv"&&(Pe=this.toHsvString()),Pe||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(he,be){var Pe=he.apply(null,[this].concat([].slice.call(be)));return this._r=Pe._r,this._g=Pe._g,this._b=Pe._b,this.setAlpha(Pe._a),this},lighten:function(){return this._ Line truncated
`),w0.default.createElement("div",{style:C.white,className:"saturation-white"},w0.default.createElement("div",{style:C.black,className:"saturation-black"}),w0.default.createElement("div",{style:C.pointer},this.props.pointer?w0.default.createElement(this.props.pointer,this.props):w0.default.createElement("div",{style:C.circle}))))}}]),n}(lO.PureComponent||lO.Component);yb.default=JSe;var vb={},gA={},e6e=jN,t6e=zN,n6e=_N,r6e=jc;function i6e(e,n){var t=r6e(e)?e6e:t6e;return t(e,n6e(n))}var o6e=i6e,a6e=o6e,cG={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){function t(Me){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(he){return typeof he}:function(he){return he&&typeof Symbol=="function"&&he.constructor===Symbol&&he!==Symbol.prototype?"symbol":typeof he},t(Me)}var r=/^\s+/,i=/\s+$/;function o(Me,he){if(Me=Me||"",he=he||{},Me instanceof o)return Me;if(!(this instanceof o))return new o(Me,he);var be=s(Me);this._originalInput=Me,this._r=be.r,this._g=be.g,this._b=be.b,this._a=be.a,this._roundA=Math.round(100*this._a)/100,this._format=he.format||be.format,this._gradientType=he.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=be.ok}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var he=this.toRgb();return(he.r*299+he.g*587+he.b*114)/1e3},getLuminance:function(){var he=this.toRgb(),be,Pe,Ze,nt,xt,Ft;return be=he.r/255,Pe=he.g/255,Ze=he.b/255,be<=.03928?nt=be/12.92:nt=Math.pow((be+.055)/1.055,2.4),Pe<=.03928?xt=Pe/12.92:xt=Math.pow((Pe+.055)/1.055,2.4),Ze<=.03928?Ft=Ze/12.92:Ft=Math.pow((Ze+.055)/1.055,2.4),.2126*nt+.7152*xt+.0722*Ft},setAlpha:function(he){return this._a=rt(he),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var he=C(this._r,this._g,this._b);return{h:he.h*360,s:he.s,v:he.v,a:this._a}},toHsvString:function(){var he=C(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.v*100);return this._a==1?"hsv("+be+", "+Pe+"%, "+Ze+"%)":"hsva("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var he=h(this._r,this._g,this._b);return{h:he.h*360,s:he.s,l:he.l,a:this._a}},toHslString:function(){var he=h(this._r,this._g,this._b),be=Math.round(he.h*360),Pe=Math.round(he.s*100),Ze=Math.round(he.l*100);return this._a==1?"hsl("+be+", "+Pe+"%, "+Ze+"%)":"hsla("+be+", "+Pe+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(he){return k(this._r,this._g,this._b,he)},toHexString:function(he){return"#"+this.toHex(he)},toHex8:function(he){return P(this._r,this._g,this._b,this._a,he)},toHex8String:function(he){return"#"+this.toHex8(he)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(_e(this._r,255)*100)+"%",g:Math.round(_e(this._g,255)*100)+"%",b:Math.round(_e(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%)":"rgba("+Math.round(_e(this._r,255)*100)+"%, "+Math.round(_e(this._g,255)*100)+"%, "+Math.round(_e(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:ft[k(this._r,this._g,this._b,!0)]||!1},toFilter:function(he){var be="#"+U(this._r,this._g,this._b,this._a),Pe=be,Ze=this._gradientType?"GradientType = 1, ":"";if(he){var nt=o(he);Pe="#"+U(nt._r,nt._g,nt._b,nt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+be+",endColorstr="+Pe+")"},toString:function(he){var be=!!he;he=he||this._format;var Pe=!1,Ze=this._a<1&&this._a>=0,nt=!be&&Ze&&(he==="hex"||he==="hex6"||he==="hex3"||he==="hex4"||he==="hex8"||he==="name");return nt?he==="name"&&this._a===0?this.toName():this.toRgbString():(he==="rgb"&&(Pe=this.toRgbString()),he==="prgb"&&(Pe=this.toPercentageRgbString()),(he==="hex"||he==="hex6")&&(Pe=this.toHexString()),he==="hex3"&&(Pe=this.toHexString(!0)),he==="hex4"&&(Pe=this.toHex8String(!0)),he==="hex8"&&(Pe=this.toHex8String()),he==="name"&&(Pe=this.toName()),he==="hsl"&&(Pe=this.toHslString()),he==="hsv"&&(Pe=this.toHsvString()),Pe||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(he,be){var Pe=he.apply(null,[this].concat([].slice.call(be)));return this._r=Pe._r,this._g=Pe._g,this._b=Pe._b,this.setAlpha(Pe._a),this},lighten:function(){return this._ Line truncated
<html>
<head>
<meta charset="utf-8" />
@@ -817,4 +817,4 @@ and limitations under the License.
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var cke=function(){if(typeof WebSocket<"u")return WebSocket},dke=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},M0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},hke=function(){function e(n,t,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 s=i._options.minUptime,a=s===void 0?M0.minUptime:s;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},a),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(s){return i._callEventListener(o,s)})},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(s){return i._callEventListener(o,s)}),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(s){return i._callEventListener(o,s)})},this._url=n,this._protocols=t,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(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)},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 n=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return n+(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(n,t){if(n===void 0&&(n=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(n,t)},e.prototype.reconnect=function(n,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,t),this._connect())},e.prototype.send=function(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?M0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}},e.prototype.addEventListener=function(n,t){this._listeners[n]&&this._listeners[n].push(t)},e.prototype.dispatchEvent=function(n){var t,r,i=this._listeners[n.type];if(i)try{for(var o=ake(i),s=o.next();!s.done;s=o.next()){var a=s.value;this._callEventListener(n,a)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-D0rMkTMa.js.map
//# sourceMappingURL=index-Qq7nMHrp.js.map
@@ -1 +1 @@
{"version":3,"file":"index-D0rMkTMa.js","sources":["../../node_modules/object-assign/index.js","../../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/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../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-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/mapbox-gl-inspect/lib/stylegen.js","../../node_modules/mapbox-gl-inspect/lib/InspectButton.js","../../node_modules/lodash.isequal/index.js","../../node_modules/mapbox-gl-inspect/lib/renderPopup.js","../../node_modules/randomcolor/randomColor.js","../../node_modules/mapbox-gl-inspect/lib/colors.js","../../node_modules/mapbox-gl-inspect/lib/MapboxInspect.js","../../node_modules/mapbox-gl-inspect/index.js","../../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.esm.js","../../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/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.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/fLine truncated
{"version":3,"file":"index-Qq7nMHrp.js","sources":["../../node_modules/object-assign/index.js","../../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/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../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-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/mapbox-gl-inspect/lib/stylegen.js","../../node_modules/mapbox-gl-inspect/lib/InspectButton.js","../../node_modules/lodash.isequal/index.js","../../node_modules/mapbox-gl-inspect/lib/renderPopup.js","../../node_modules/randomcolor/randomColor.js","../../node_modules/mapbox-gl-inspect/lib/colors.js","../../node_modules/mapbox-gl-inspect/lib/MapboxInspect.js","../../node_modules/mapbox-gl-inspect/index.js","../../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.esm.js","../../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/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.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/fLine truncated
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-D0rMkTMa.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-Qq7nMHrp.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-622uVfVo.css">
</head>
<body>