vue-geojson-view-ts 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3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7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd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I7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:rgba(255,255,255,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.fullscreen-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjYgNTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwLjYgMzYuN0gxNmEuOS45IDAgMCAxLS44LS44di00LjVjMC0uMi4yLS40LjQtLjRoMS40Yy4zIDAgLjUuMi41LjR2M2gzYy4yIDAgLjQuMi40LjV2MS40YzAgLjItLjIuNC0uNC40em0tOS45LS44di00LjVjMC0uMi0uMi0uNC0uNC0uNEg4LjljLS4zIDAtLjUuMi0uNS40djNoLTNjLS4yIDAtLjQuMi0uNC41djEuNGMwIC4yLjIuNC40LjRIMTBjLjQgMCAuOC0uNC44LS44em0wIDEwLjdWNDJjMC0uNC0uNC0uOC0uOC0uOEg1LjRjLS4yIDAtLjQuMi0uNC40djEuNGMwIC4zLjIuNS40LjVoM3YzYzAgLjIuMi40LjUuNGgxLjRjLjIgMCAuNC0uMi40LS40em02LjkgMHYtM2gzYy4yIDAgLjQtLjIuNC0uNXYtMS40YzAtLjItLjItLjQtLjQtLjRIMTZjLS40IDAtLjguNC0uOC44djQuNWMwIC4yLjIuNC40LjRoMS40Yy4zIDAgLjUtLjIuNS0uNHpNNSAxMC4zVjUuOWMwLS41LjQtLjkuOS0uOWg0LjRjLjIgMCAuNC4yLjQuNFY3YzAgLjItLjIuNC0uNC40aC0zdjNjMCAuMi0uMi40LS40LjRINS40YS40LjQgMCAwIDEtLjQtLjR6bTEwLjMtNC45VjdjMCAuMi4yLjQuNC40aDN2M2MwIC4yLjIuNC40LjRoMS41Yy4yIDAgLjQtLjIuNC0uNFY1LjljMC0uNS0uNC0uOS0uOS0uOWgtNC40Yy0uMiAwLS40LjItLjQuNHptNS4zIDkuOUgxOWMtLjIgMC0uNC4yLS40LjR2M2gtM2MtLjIgMC0uNC4yLS40LjR2MS41YzAgLjIuMi40LjQuNGg0LjRjLjUgMCAuOS0uNC45LS45di00LjRjMC0uMi0uMi0uNC0uNC0uNHptLTkuOSA1LjNWMTljMC0uMi0uMi0uNC0uNC0uNGgtM3YtM2MwLS4yLS4yLS40LS40LS40SDUuNGMtLjIgMC0uNC4yLS40LjR2NC40YzAgLjUuNC45LjkuOWg0LjRjLjIgMCAuNC0uMi40LS40eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);background-size:26px 52px}.fullscreen-icon.leaflet-fullscreen-on{background-position:0 -26px}.leaflet-touch .fullscreen-icon{background-position:2px 2px}.leaflet-touch .fullscreen-icon.leaflet-fullscreen-on{background-position:2px -24px}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}#maps{height:500px}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAeCAYAAACWuCNnAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAG7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAbvSURBVHic7dtdbBxXFQfw/9nZ3SRKwAP7UFFUQOoHqGnUoEAoNghX9tyxVcpD1X0J+WgiUQmpfUB5ACSgG1qJIKASqBIUIauqAbWseIlqb+bOWHVR6y0FKZBEqdIUQROIREGRx3FFvR/38ODZst3a3nE8Ywfv+T2t7hzdM3fle/bOnWtACCGEEEIIIYQQQgghhBBCCCGEEEIIIcRa0EbfgBDdFItFKwzDAa3175LuWylVAvBIR/MxrXUp6Vxx9dp4VyObVEdKKW591lonXgiVUg6AHzPzk9ls9meVSmUh6RzXkz179uQKhcIgM+8CACI6U6vVnp+enm6knXt4ePiuTCbzWQAwxlSDIHg57ZwroDAMnwKwz3XdBzzPG08hxzsTNprQG2lTjtd13WFmfghAP4A+AJcATFiW9YNKpfL3uP0kUliiX4SG1pqUUpx0wXJd9/PMXAGwPWq6yMyPz8/P/7xarf4nyVwt7QV4JWkU52i8YwBu6bh0wRhzJAiCF5POCQCDg4N2Pp//NYDRjkuTxph9QRCESeYrFov5ubm5R5n5AIAPtV1aYOb7BgYGTpZKJeO67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+AoBbu4Ser9fra37d3YEBfBvAkq+XmfmbpVIp9grwWnie9zSAp9PMcT3Z7OPNZrO/aTQaf1BKfbd9X7RTGIaHmPlcnPNYsVZYSikOw7AB4CAzj/f19e1fjwOMnueVEeMxJJfLbYqCNT093TDGHAGw0qHYBQBH0vj+Pc+bYOb3HFRk5nHf9yeTzgfgMhF9uEvMTQD+71/vR3pqvJOTk28AeBJAeXR09P1LxbiuuxfA9wB8LU6fsVdYrUOhtm0fTusxcAlMRN+KziUt5SqAM3v37r00OZnGfFp/QRC86DjOUCaTGWPm2zoun8fiIbuZtPLX6/UH8/n8rQDuippertfrD6aRKyqOR5VS81ji8Z+IbmfmgwB+mEb+9dZr4wWA/v7+R6rV6k+azeYpx3EezeVyJ7dv335lfn7+lkajcZCZDzPzYd/3/xSnv9gFq3UuaR2LFQDA87xAKVUB8BEAZ6N9nrNEdEZr/TcArLVOPG8aJ9jj8n3/pcHBwZ1btmx5519zmPl0vV5/Ie2V7fT09Nujo6Nus9kcA4CtW7ce1lq/nUYu27a/Mzs7CyI6gMVX/u/CzJeZ+Ue2bcc9pb1aXc8lJZms18YLANE2wkOu694N4OFGo3E8DMMPAHiDiCaY+ZOb4YCsEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhEjYfwGO+b5dFNs4OgAAAABJRU5ErkJggg==);background-image:linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvM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AgICB4bGluazpocmVmPSIjcmVtb3ZlIgogICAgICAgaWQ9InJlbW92ZS1kaXNhYmxlZCIKICAgICAgIHg9IjAiCiAgICAgICB5PSIwIgogICAgICAgd2lkdGg9IjEwMCUiCiAgICAgICBoZWlnaHQ9IjEwMCUiIC8+CiAgPC9nPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGlkPSJjaXJjbGUtMyIKICAgICBkPSJtIDU4MS42NTcyNSwzMCBjIDAsNi4wNzggLTQuOTI2LDExIC0xMSwxMSAtNi4wNzQsMCAtMTEsLTQuOTIyIC0xMSwtMTEgMCwtNi4wNzQgNC45MjYsLTExIDExLC0xMSA2LjA3NCwwIDExLDQuOTI2IDExLDExIHoiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAA8CAYAAAC6nMS5AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA16SURBVHic7d1/jBxneQfw7zNzvotdn+9sVQkxoRKoammBqqpbk6uT5mLfvHPn42yn1VFRVCEhoFH5IYpoSaUCKi1NcGkcfrbCVRFKEwG2aHLn83pmLvY2CTqT1AmCOBE0EOT4B0nBPw/snb2dp3/sLr6s77i923dud/a+H8ny7tzMo8f3eud99p133gGIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIi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bGU9ImZpbGw6IzQ2NDY0NjtmaWxsLW9wYWNpdHk6MSIgLz4KICAgIDwvZz4KICA8L2c+CiAgPGcKICAgICBpZD0iZGlzYWJsZWQiCiAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLDApIgogICAgIHN0eWxlPSJmaWxsOiNiYmJiYmIiPgogICAgPHVzZQogICAgICAgeGxpbms6aHJlZj0iI2VkaXQiCiAgICAgICBpZD0iZWRpdC1kaXNhYmxlZCIKICAgICAgIHg9IjAiCiAgICAgICB5PSIwIgogICAgICAgd2lkdGg9IjEwMCUiCiAgICAgICBoZWlnaHQ9IjEwMCUiIC8+CiAgICA8dXNlCiAgICAgICB4bGluazpocmVmPSIjcmVtb3ZlIgogICAgICAgaWQ9InJlbW92ZS1kaXNhYmxlZCIKICAgICAgIHg9IjAiCiAgICAgICB5PSIwIgogICAgICAgd2lkdGg9IjEwMCUiCiAgICAgICBoZWlnaHQ9IjEwMCUiIC8+CiAgPC9nPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGlkPSJjaXJjbGUtMyIKICAgICBkPSJtIDU4MS42NTcyNSwzMCBjIDAsNi4wNzggLTQuOTI2LDExIC0xMSwxMSAtNi4wNzQsMCAtMTEsLTQuOTIyIC0xMSwtMTEgMCwtNi4wNzQgNC45MjYsLTExIDExLC0xMSA2LjA3NCwwIDExLDQuOTI2IDExLDExIHoiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KPC9zdmc+Cg==)}.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.leaflet-draw-actions{display:none;list-style:none;margin:0;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-touch .leaflet-right .leaflet-draw-actions{right:32px;left:auto}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#fff;font:11px/19px Helvetica Neue,Arial,Helvetica,sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px}.leaflet-touch .leaflet-draw-actions a{font-size:12px;line-height:30px;height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0,0,0,.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px Helvetica Neue,Arial,Helvetica,sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:#00000080;border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{background-color:#f2dede;border:1px solid #e6b6bd;color:#b94a48}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background-color:#fe57a11a;border:4px dashed rgba(254,87,161,.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.text-cantidad[data-v-82f96ae5]{color:#000!important;margin:0;font-size:16px;padding:0 1rem}.cant-casos[data-v-82f96ae5]{position:absolute;right:0;bottom:24px;z-index:10}.map-container[data-v-82f96ae5]{flex:1}@media only screen and (max-width: 600px){.map-container[data-v-82f96ae5]{flex:none;height:65%}}.btn-settings[data-v-82f96ae5]{z-index:10;bottom:.5em;left:.5em}.btn-icon[data-v-82f96ae5]{font-size:12px}.btn-zoom-container[data-v-82f96ae5]{z-index:10;top:4.5em;left:.5em}.type-map-container[data-v-82f96ae5]{z-index:10;top:7em;left:.5em}.control-container[data-v-82f96ae5]{color:#fff;position:absolute;bottom:0;z-index:1;left:0;background:rgba(0,0,0,.4);padding:16px}.control-container .map-flex[data-v-82f96ae5]{display:flex;flex-direction:column}.control-container .map-flex label[data-v-82f96ae5]{font-family:Roboto;font-weight:600;font-size:12px}.control-container .map-flex input[type=range][data-v-82f96ae5]{accent-color:var(--primary-color, #f28b0c)}button.jl2-button-map{background-color:#f29512}button.jl2-button-map svg{width:12px;height:12px;fill:#fff}button.jl2-button-map:hover{background:#f28b0c;border:none!important;outline:none}button.jl2-button-map-select svg{fill:#4e5358}.ol-control button{color:#fff;background-color:var(--primary-light-color, #f29512)}.ol-control button:focus,.ol-control button:hover{background-color:var(--primary-color, #f28b0c);cursor:pointer;border:none!important;outline:none;color:#fff}.align-img{text-align:center}.rotate-north{top:65px;left:.5em}.ol-touch .rotate-north{top:80px}.ol-popup{font-size:12px;position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0,0,0,.2));filter:drop-shadow(0 1px 4px rgba(0,0,0,.2));padding:0 10px;border-radius:10px;border:1px solid #cccccc;bottom:12px;left:-50px;min-width:190px;font-family:Roboto}.ol-popup .ol-title{letter-spacing:1px;font-size:14px;font-weight:700;margin-bottom:5px;text-align:center;color:#4e5358!important}.ol-popup .ol-bold{font-weight:600}.ol-popup .ol-text{font-weight:300;color:#4e5358!important;margin:6px 0}.ol-popup:after,.ol-popup:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}.ol-popup-closer{text-decoration:none;position:absolute;top:-8px;right:-8px;padding:3px 4px;border-radius:1rem;background-color:var(--primary-light-color, #f29512)}.ol-popup-closer:after{display:flex;align-content:center;font-size:12px;content:"✖";color:#fff}.ol-popup-closer:hover:after{content:"✖";background-color:var(--primary-color, #f28b0c)}.map-copyright-text{font-size:12px;font-weight:600px}
1
+ @charset "UTF-8";.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5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57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW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7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:rgba(255,255,255,.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.fullscreen-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjYgNTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwLjYgMzYuN0gxNmEuOS45IDAgMCAxLS44LS44di00LjVjMC0uMi4yLS40LjQtLjRoMS40Yy4zIDAgLjUuMi41LjR2M2gzYy4yIDAgLjQuMi40LjV2MS40YzAgLjItLjIuNC0uNC40em0tOS45LS44di00LjVjMC0uMi0uMi0uNC0uNC0uNEg4LjljLS4zIDAtLjUuMi0uNS40djNoLTNjLS4yIDAtLjQuMi0uNC41djEuNGMwIC4yLjIuNC40LjRIMTBjLjQgMCAuOC0uNC44LS44em0wIDEwLjdWNDJjMC0uNC0uNC0uOC0uOC0uOEg1LjRjLS4yIDAtLjQuMi0uNC40djEuNGMwIC4zLjIuNS40LjVoM3YzYzAgLjIuMi40LjUuNGgxLjRjLjIgMCAuNC0uMi40LS40em02LjkgMHYtM2gzYy4yIDAgLjQtLjIuNC0uNXYtMS40YzAtLjItLjItLjQtLjQtLjRIMTZjLS40IDAtLjguNC0uOC44djQuNWMwIC4yLjIuNC40LjRoMS40Yy4zIDAgLjUtLjIuNS0uNHpNNSAxMC4zVjUuOWMwLS41LjQtLjkuOS0uOWg0LjRjLjIgMCAuNC4yLjQuNFY3YzAgLjItLjIuNC0uNC40aC0zdjNjMCAuMi0uMi40LS40LjRINS40YS40LjQgMCAwIDEtLjQtLjR6bTEwLjMtNC45VjdjMCAuMi4yLjQuNC40aDN2M2MwIC4yLjIuNC40LjRoMS41Yy4yIDAgLjQtLjIuNC0uNFY1LjljMC0uNS0uNC0uOS0uOS0uOWgtNC40Yy0uMiAwLS40LjItLjQuNHptNS4zIDkuOUgxOWMtLjIgMC0uNC4yLS40LjR2M2gtM2MtLjIgMC0uNC4yLS40LjR2MS41YzAgLjIuMi40LjQuNGg0LjRjLjUgMCAuOS0uNC45LS45di00LjRjMC0uMi0uMi0uNC0uNC0uNHptLTkuOSA1LjNWMTljMC0uMi0uMi0uNC0uNC0uNGgtM3YtM2MwLS4yLS4yLS40LS40LS40SDUuNGMtLjIgMC0uNC4yLS40LjR2NC40YzAgLjUuNC45LjkuOWg0LjRjLjIgMCAuNC0uMi40LS40eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);background-size:26px 52px}.fullscreen-icon.leaflet-fullscreen-on{background-position:0 -26px}.leaflet-touch .fullscreen-icon{background-position:2px 2px}.leaflet-touch .fullscreen-icon.leaflet-fullscreen-on{background-position:2px -24px}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}#maps{height:500px}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAAeCAYAAACWuCNnAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAG7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAbvSURBVHic7dtdbBxXFQfw/9nZ3SRKwAP7UFFUQOoHqGnUoEAoNghX9tyxVcpD1X0J+WgiUQmpfUB5ACSgG1qJIKASqBIUIauqAbWseIlqb+bOWHVR6y0FKZBEqdIUQROIREGRx3FFvR/38ODZst3a3nE8Ywfv+T2t7hzdM3fle/bOnWtACCGEEEIIIYQQQgghhBBCCCGEEEIIIcRa0EbfgBDdFItFKwzDAa3175LuWylVAvBIR/MxrXUp6Vxx9dp4VyObVEdKKW591lonXgiVUg6AHzPzk9ls9meVSmUh6RzXkz179uQKhcIgM+8CACI6U6vVnp+enm6knXt4ePiuTCbzWQAwxlSDIHg57ZwroDAMnwKwz3XdBzzPG08hxzsTNprQG2lTjtd13WFmfghAP4A+AJcATFiW9YNKpfL3uP0kUliiX4SG1pqUUpx0wXJd9/PMXAGwPWq6yMyPz8/P/7xarf4nyVwt7QV4JWkU52i8YwBu6bh0wRhzJAiCF5POCQCDg4N2Pp//NYDRjkuTxph9QRCESeYrFov5ubm5R5n5AIAPtV1aYOb7BgYGTpZKJeO67lFmPsbM9/i+/8Ja8y6zylhOYquPXhsvAJRKpczMzMwTAIaJ6LFGo+HNzs5eKRQKNxPRAWb+CoAjWuvn4vS35skWFasxAAdbbUlOYqVUPwAPwI4lLr8J4KeWZT1eqVTmksoZ5d2QghUVKx/AlmVCFph5yPf9l5LMCwBKqUksFqszRHQcAJj5GwB2MfOE7/tfTDKf4zjHiejrAE4CuNhqZ+bf2rY9FYbhGBH92/O8o47j3Oj7/uUk86+3XhsvACilHmPmgW3bt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N+KziUt5SqAM3v37r00OZnGfFp/QRC86DjOUCaTGWPm2zoun8fiIbuZtPLX6/UH8/n8rQDuippertfrD6aRKyqOR5VS81ji8Z+IbmfmgwB+mEb+9dZr4wWA/v7+R6rV6k+azeYpx3EezeVyJ7dv335lfn7+lkajcZCZDzPzYd/3/xSnv9gFq3UuaR2LFQDA87xAKVUB8BEAZ6N9nrNEdEZr/TcArLVOPG8aJ9jj8n3/pcHBwZ1btmx5519zmPl0vV5/Ie2V7fT09Nujo6Nus9kcA4CtW7ce1lq/nUYu27a/Mzs7CyI6gMVX/u/CzJeZ+Ue2bcc9pb1aXc8lJZms18YLANE2wkOu694N4OFGo3E8DMMPAHiDiCaY+ZOb4YCsEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhEjYfwGO+b5dFNs4OgAAAABJRU5ErkJggg==);background-image:linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiCiAgIHhtbG5zOnNvZGlwb2RpPSJodHRwOi8vc29kaXBvZGkuc291cmNlZm9yZ2UubmV0L0RURC9zb2RpcG9kaS0wLmR0ZCIKICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5r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JsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGlkPSJjaXJjbGUtMyIKICAgICBkPSJtIDU4MS42NTcyNSwzMCBjIDAsNi4wNzggLTQuOTI2LDExIC0xMSwxMSAtNi4wNzQsMCAtMTEsLTQuOTIyIC0xMSwtMTEgMCwtNi4wNzQgNC45MjYsLTExIDExLC0xMSA2LjA3NCwwIDExLDQuOTI2IDExLDExIHoiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAA8CAYAAAC6nMS5AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA16SURBVHic7d1/jBxneQfw7zNzvotdn+9sVQkxoRKoammBqqpbk6uT5mLfvHPn42yn1VFRVCEhoFH5IYpoSaUCKi1NcGkcfrbCVRFKEwG2aHLn83pmLvY2CTqT1AmCOBE0EOT4B0nBPw/snb2dp3/sLr6s77i923dud/a+H8ny7tzMo8f3eud99p133gGIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiFYGaXYCRETUPMYYrWe/MAzZX2QQ27d5OpqdABFROxgZGVlz5cqVrzuOc18QBJPNzofsYvvSYrVcgTVftZ2l6npgYODXHMc5oKoHHcfZHQTB2WbnRETpGRkZWVMoFA6IyO2qutX3/R1Z64TnO8fWOwLSzti+mSKDg4M3l0qlnSJyG4CbAFwP4ByAlwE8paoPX3fddcH4+PjP00yk5QqsrDPGvAZAHsBrReRNqvpeY8x/iMg9QRCcaX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AgICAgIHg9IjAiCiAgICAgICB5PSIwIgogICAgICAgd2lkdGg9IjEwMCUiCiAgICAgICBoZWlnaHQ9IjEwMCUiIC8+CiAgICA8dXNlCiAgICAgICB4bGluazpocmVmPSIjcmVtb3ZlIgogICAgICAgaWQ9InJlbW92ZS1kaXNhYmxlZCIKICAgICAgIHg9IjAiCiAgICAgICB5PSIwIgogICAgICAgd2lkdGg9IjEwMCUiCiAgICAgICBoZWlnaHQ9IjEwMCUiIC8+CiAgPC9nPgogIDxwYXRoCiAgICAgc3R5bGU9ImZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgIGlkPSJjaXJjbGUtMyIKICAgICBkPSJtIDU4MS42NTcyNSwzMCBjIDAsNi4wNzggLTQuOTI2LDExIC0xMSwxMSAtNi4wNzQsMCAtMTEsLTQuOTIyIC0xMSwtMTEgMCwtNi4wNzQgNC45MjYsLTExIDExLC0xMSA2LjA3NCwwIDExLDQuOTI2IDExLDExIHoiCiAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KPC9zdmc+Cg==)}.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.leaflet-draw-actions{display:none;list-style:none;margin:0;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-touch .leaflet-right .leaflet-draw-actions{right:32px;left:auto}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#fff;font:11px/19px Helvetica Neue,Arial,Helvetica,sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px}.leaflet-touch .leaflet-draw-actions a{font-size:12px;line-height:30px;height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0,0,0,.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px Helvetica Neue,Arial,Helvetica,sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:#00000080;border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{background-color:#f2dede;border:1px solid #e6b6bd;color:#b94a48}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background-color:#fe57a11a;border:4px dashed rgba(254,87,161,.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.text-cantidad[data-v-443bbca9]{color:#000!important;margin:0;font-size:16px;padding:0 1rem}.cant-casos[data-v-443bbca9]{position:absolute;right:0;bottom:24px;z-index:10}.map-container[data-v-443bbca9]{flex:1}@media only screen and (max-width: 600px){.map-container[data-v-443bbca9]{flex:none;height:65%}}.btn-settings[data-v-443bbca9]{z-index:10;bottom:.5em;left:.5em}.btn-icon[data-v-443bbca9]{font-size:12px}.btn-zoom-container[data-v-443bbca9]{z-index:10;top:4.5em;left:.5em}.type-map-container[data-v-443bbca9]{z-index:10;top:7em;left:.5em}.control-container[data-v-443bbca9]{color:#fff;position:absolute;bottom:0;z-index:1;left:0;background:rgba(0,0,0,.4);padding:16px}.control-container .map-flex[data-v-443bbca9]{display:flex;flex-direction:column}.control-container .map-flex label[data-v-443bbca9]{font-family:Roboto;font-weight:600;font-size:12px}.control-container .map-flex input[type=range][data-v-443bbca9]{accent-color:var(--primary-light-color, #f28b0c)}button.jl2-button-map{background-color:var(--primary-color, #f29512)}button.jl2-button-map svg{width:12px;height:12px;fill:#fff}button.jl2-button-map:hover{background:#f28b0c;border:none!important;outline:none}button.jl2-button-map-select svg{fill:#4e5358}.ol-control button{color:#fff;background-color:var(--primary-color, #f29512)}.ol-control button:focus,.ol-control button:hover{background-color:var(--primary-light-color, #f28b0c);cursor:pointer;border:none!important;outline:none;color:#fff}.align-img{text-align:center}.rotate-north{top:65px;left:.5em}.ol-touch .rotate-north{top:80px}.ol-popup{font-size:12px;position:absolute;background-color:#fff;-webkit-filter:drop-shadow(0 1px 4px rgba(0,0,0,.2));filter:drop-shadow(0 1px 4px rgba(0,0,0,.2));padding:0 10px;border-radius:10px;border:1px solid #cccccc;bottom:12px;left:-50px;min-width:190px;font-family:Roboto}.ol-popup .ol-title{letter-spacing:1px;font-size:14px;font-weight:700;margin-bottom:5px;text-align:center;color:#4e5358!important}.ol-popup .ol-bold{font-weight:600}.ol-popup .ol-text{font-weight:300;color:#4e5358!important;margin:6px 0}.ol-popup:after,.ol-popup:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ol-popup:after{border-top-color:#fff;border-width:10px;left:48px;margin-left:-10px}.ol-popup:before{border-top-color:#ccc;border-width:11px;left:48px;margin-left:-11px}.ol-popup-closer{text-decoration:none;position:absolute;top:-8px;right:-8px;padding:3px 4px;border-radius:1rem;background-color:var(--primary-color, #f29512)}.ol-popup-closer:after{display:flex;align-content:center;font-size:12px;content:"✖";color:#fff}.ol-popup-closer:hover:after{content:"✖";background-color:var(--primary-light-color, #f28b0c)}.map-copyright-text{font-size:12px;font-weight:600px}
@@ -34585,7 +34585,7 @@ const mL = gL, yL = wo({
34585
34585
  this.countryLayer.removeEventListener("change", this.countryFunction), this.olMap.removeEventListener("click", this.onClickListener);
34586
34586
  }
34587
34587
  });
34588
- const mi = (r) => (f_("data-v-82f96ae5"), r = r(), g_(), r), vL = {
34588
+ const mi = (r) => (f_("data-v-443bbca9"), r = r(), g_(), r), vL = {
34589
34589
  ref: "map-root",
34590
34590
  style: { width: "100%", height: "100%", position: "relative" }
34591
34591
  }, xL = { class: "btn-zoom-container ol-control" }, EL = /* @__PURE__ */ mi(() => /* @__PURE__ */ mt("svg", {
@@ -34709,7 +34709,7 @@ function jL(r, t, e, i, n, o) {
34709
34709
  ])
34710
34710
  ], 4);
34711
34711
  }
34712
- const JL = /* @__PURE__ */ Sl(yL, [["render", jL], ["__scopeId", "data-v-82f96ae5"]]);
34712
+ const JL = /* @__PURE__ */ Sl(yL, [["render", jL], ["__scopeId", "data-v-443bbca9"]]);
34713
34713
  export {
34714
34714
  KL as CoordinatesVerifyPolygon,
34715
34715
  JL as MapHeatComponent,
@@ -445,4 +445,4 @@ void main(void) {
445
445
  `);this.generateTileUrlFunction_?this.setTileUrlFunction(f0(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}useTile(t,e,i){const n=po(t,e,i);this.tileCache.containsKey(n)&&this.tileCache.get(n)}}const p0=Al;class m0 extends p0{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:y0,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate!==void 0?t.interpolate:!0,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,this.tileClass=t.tileClass!==void 0?t.tileClass:vd,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const n in this.tileCacheForProjection){const o=this.tileCacheForProjection[n];o.expireCache(o==i?e:{})}}getGutterForProjection(t){return this.getProjection()&&t&&!Ji(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getOpaque(t){return this.getProjection()&&t&&!Ji(this.getProjection(),t)?!1:super.getOpaque(t)}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||Ji(e,t)))return this.tileGrid;const i=at(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Pd(t)),this.tileGridForProjection[i]}getTileCacheForProjection(t){const e=this.getProjection();if(!e||Ji(e,t))return this.tileCache;const i=at(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new bd(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]}createTile_(t,e,i,n,o,a){const h=[t,e,i],c=this.getTileCoordForTileUrlFunction(h,o),d=c?this.tileUrlFunction(c,n,o):void 0,f=new this.tileClass(h,d!==void 0?$.IDLE:$.EMPTY,d!==void 0?d:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return f.key=a,f.addEventListener(rt.CHANGE,this.handleTileChange.bind(this)),f}getTile(t,e,i,n,o){const a=this.getProjection();if(!a||!o||Ji(a,o))return this.getTileInternal(t,e,i,n,a||o);const h=this.getTileCacheForProjection(o),c=[t,e,i];let d;const f=Ld(c);h.containsKey(f)&&(d=h.get(f));const _=this.getKey();if(d&&d.key==_)return d;const m=this.getTileGridForProjection(a),v=this.getTileGridForProjection(o),y=this.getTileCoordForTileUrlFunction(c,o),E=new Pl(a,m,o,v,c,y,this.getTilePixelRatio(n),this.getGutter(),(b,S,w,T)=>this.getTileInternal(b,S,w,T,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return E.key=_,d?(E.interimTile=d,E.refreshInterimChain(),h.replace(f,E)):h.set(f,E),E}getTileInternal(t,e,i,n,o){let a=null;const h=po(t,e,i),c=this.getKey();if(!this.tileCache.containsKey(h))a=this.createTile_(t,e,i,n,o,c),this.tileCache.set(h,a);else if(a=this.tileCache.get(h),a.key!=c){const d=a;a=this.createTile_(t,e,i,n,o,c),d.getState()==$.IDLE?a.interimTile=d.interimTile:a.interimTile=d,a.refreshInterimChain(),this.tileCache.replace(h,a)}return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}}setTileGridForProjection(t,e){const i=Gt(t);if(i){const n=at(i);n in this.tileGridForProjection||(this.tileGridForProjection[n]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function y0(r,t){r.getImage().src=t}const v0=m0;class x0 extends v0{constructor(t){t=t||{};const e=t.projection!==void 0?t.projection:"EPSG:3857",i=t.tileGrid!==void 0?t.tileGrid:a0({extent:Il(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const E0=x0,w0='&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.';class L0 extends E0{constructor(t){t=t||{};let e;t.attributions!==void 0?e=t.attributions:e=[w0];const i=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",n=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,opaque:t.opaque!==void 0?t.opaque:!0,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}}const b0=L0,mo={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class T0 extends Ys{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getPreload(){return this.get(mo.PRELOAD)}setPreload(t){this.set(mo.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(mo.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(mo.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const C0=T0,Rd=[];let Hn=null;function S0(){Hn=$t(1,1,void 0,{willReadFrequently:!0})}class P0 extends hd{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=Vt(),this.pixelTransform=Vt(),this.inversePixelTransform=Vt(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,i){Hn||S0(),Hn.clearRect(0,0,1,1);let n;try{Hn.drawImage(t,e,i,1,1,0,0,1,1),n=Hn.getImageData(0,0,1,1).data}catch{return Hn=null,null}return n}getBackground(t){let i=this.getLayer().getBackground();return typeof i=="function"&&(i=i(t.viewState.resolution)),i||void 0}useContainer(t,e,i){const n=this.getLayer().getClassName();let o,a;if(t&&t.className===n&&(!i||t&&t.style.backgroundColor&&ei(Lr(t.style.backgroundColor),Lr(i)))){const h=t.firstElementChild;h instanceof HTMLCanvasElement&&(a=h.getContext("2d"))}if(a&&a.canvas.style.transform===e?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){o=document.createElement("div"),o.className=n;let h=o.style;h.position="absolute",h.width="100%",h.height="100%",a=$t();const c=a.canvas;o.appendChild(c),h=c.style,h.position="absolute",h.left="0",h.transformOrigin="top left",this.container=o,this.context=a}!this.containerReused&&i&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const n=qi(i),o=Is(i),a=Ms(i),h=Rs(i);Ot(e.coordinateToPixelTransform,n),Ot(e.coordinateToPixelTransform,o),Ot(e.coordinateToPixelTransform,a),Ot(e.coordinateToPixelTransform,h);const c=this.inversePixelTransform;Ot(c,n),Ot(c,o),Ot(c,a),Ot(c,h),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(h[0]),Math.round(h[1])),t.clip()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){const o=new br(t,this.inversePixelTransform,i,e);n.dispatchEvent(o)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_(qt.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_(qt.POSTRENDER,t,e)}getRenderTransform(t,e,i,n,o,a,h){const c=o/2,d=a/2,f=n/e,_=-f,m=-t[0]+h,v=-t[1];return ze(this.tempTransform,c,d,f,_,-i,m,v)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const Md=P0;class k0 extends Md{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=ge(),this.tmpTileRange_=new Ed(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==$.LOADED||i==$.EMPTY||i==$.ERROR&&!n}getTile(t,e,i,n){const o=n.pixelRatio,a=n.viewState.projection,h=this.getLayer();let d=h.getSource().getTile(t,e,i,o,a);return d.getState()==$.ERROR&&h.getUseInterimTilesOnError()&&h.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(d)||(d=d.getInterimTile()),d}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Ot(e.pixelToCoordinateTransform,t.slice()),o=i.getExtent();if(o&&!ks(o,n))return null;const a=e.pixelRatio,h=e.viewState.projection,c=e.viewState,d=i.getRenderSource(),f=d.getTileGridForProjection(c.projection),_=d.getTilePixelRatio(e.pixelRatio);for(let m=f.getZForResolution(c.resolution);m>=f.getMinZoom();--m){const v=f.getTileCoordForCoordAndZ(n,m),y=d.getTile(m,v[1],v[2],a,h);if(!(y instanceof vd||y instanceof Pl)||y instanceof Pl&&y.getState()===$.EMPTY)return null;if(y.getState()!==$.LOADED)continue;const E=f.getOrigin(m),b=pe(f.getTileSize(m)),S=f.getResolution(m),w=Math.floor(_*((n[0]-E[0])/S-v[1]*b[0])),T=Math.floor(_*((E[1]-n[1])/S-v[2]*b[1])),P=Math.round(_*d.getGutterForProjection(c.projection));return this.getImageData(y.getImage(),w+P,T+P)}return null}loadedTileCallback(t,e,i){return this.isDrawableTile(i)?super.loadedTileCallback(t,e,i):!1}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,o=n.projection,a=n.resolution,h=n.center,c=n.rotation,d=t.pixelRatio,f=this.getLayer(),_=f.getSource(),m=_.getRevision(),v=_.getTileGridForProjection(o),y=v.getZForResolution(a,_.zDirection),E=v.getResolution(y);let b=t.extent;const S=t.viewState.resolution,w=_.getTilePixelRatio(d),T=Math.round(Tt(b)/S*d),P=Math.round(Fe(b)/S*d),M=i.extent&&Qi(i.extent);M&&(b=xr(b,Qi(i.extent)));const I=E*T/2/w,D=E*P/2/w,z=[h[0]-I,h[1]-D,h[0]+I,h[1]+D],W=v.getTileRangeForExtentAndZ(b,y),K={};K[y]={};const Q=this.createLoadedTileFinder(_,o,K),q=this.tmpExtent,ct=this.tmpTileRange_;this.newTiles_=!1;const Et=c?Sa(n.center,S,c,t.size):void 0;for(let Lt=W.minX;Lt<=W.maxX;++Lt)for(let J=W.minY;J<=W.maxY;++J){if(c&&!v.tileCoordIntersectsViewport([y,Lt,J],Et))continue;const Y=this.getTile(y,Lt,J,t);if(this.isDrawableTile(Y)){const St=at(this);if(Y.getState()==$.LOADED){K[y][Y.tileCoord.toString()]=Y;let ve=Y.inTransition(St);ve&&i.opacity!==1&&(Y.endTransition(St),ve=!1),!this.newTiles_&&(ve||!this.renderedTiles.includes(Y))&&(this.newTiles_=!0)}if(Y.getAlpha(St,t.time)===1)continue}const nt=v.getTileCoordChildTileRange(Y.tileCoord,ct,q);let Ft=!1;nt&&(Ft=Q(y+1,nt)),Ft||v.forEachTileCoordParentTileRange(Y.tileCoord,Q,ct,q)}const V=E/a*d/w;ze(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/d,1/d,c,-T/2,-P/2);const H=Qc(this.pixelTransform);this.useContainer(e,H,this.getBackground(t));const Z=this.context,B=Z.canvas;Bs(this.inversePixelTransform,this.pixelTransform),ze(this.tempTransform,T/2,P/2,V,V,0,-T/2,-P/2),B.width!=T||B.height!=P?(B.width=T,B.height=P):this.containerReused||Z.clearRect(0,0,T,P),M&&this.clipUnrotated(Z,t,M),_.getInterpolate()||(Z.imageSmoothingEnabled=!1),this.preRender(Z,t),this.renderedTiles.length=0;let yt=Object.keys(K).map(Number);yt.sort(xi);let U,st,F;i.opacity===1&&(!this.containerReused||_.getOpaque(t.viewState.projection))?yt=yt.reverse():(U=[],st=[]);for(let Lt=yt.length-1;Lt>=0;--Lt){const J=yt[Lt],Y=_.getTilePixelSize(J,d,o),Ft=v.getResolution(J)/E,St=Y[0]*Ft*V,ve=Y[1]*Ft*V,je=v.getTileCoordForCoordAndZ(qi(z),J),Di=v.getTileCoordExtent(je),xe=Ot(this.tempTransform,[w*(Di[0]-z[0])/E,w*(z[3]-Di[3])/E]),Oi=w*_.getGutterForProjection(o),We=K[J];for(const Fi in We){const Pe=We[Fi],zi=Pe.tileCoord,di=je[1]-zi[1],Xn=Math.round(xe[0]-(di-1)*St),fi=je[2]-zi[2],hn=Math.round(xe[1]-(fi-1)*ve),Xt=Math.round(xe[0]-di*St),ie=Math.round(xe[1]-fi*ve),me=Xn-Xt,ke=hn-ie,He=y===J,Ve=He&&Pe.getAlpha(at(this),t.time)!==1;let Re=!1;if(!Ve)if(U){F=[Xt,ie,Xt+me,ie,Xt+me,ie+ke,Xt,ie+ke];for(let Ni=0,cn=U.length;Ni<cn;++Ni)if(y!==J&&J<st[Ni]){const Wt=U[Ni];se([Xt,ie,Xt+me,ie+ke],[Wt[0],Wt[3],Wt[4],Wt[7]])&&(Re||(Z.save(),Re=!0),Z.beginPath(),Z.moveTo(F[0],F[1]),Z.lineTo(F[2],F[3]),Z.lineTo(F[4],F[5]),Z.lineTo(F[6],F[7]),Z.moveTo(Wt[6],Wt[7]),Z.lineTo(Wt[4],Wt[5]),Z.lineTo(Wt[2],Wt[3]),Z.lineTo(Wt[0],Wt[1]),Z.clip())}U.push(F),st.push(J)}else Z.clearRect(Xt,ie,me,ke);this.drawTileImage(Pe,t,Xt,ie,me,ke,Oi,He),U&&!Ve?(Re&&Z.restore(),this.renderedTiles.unshift(Pe)):this.renderedTiles.push(Pe),this.updateUsedTiles(t.usedTiles,_,Pe)}}return this.renderedRevision=m,this.renderedResolution=E,this.extentChanged=!this.renderedExtent_||!Pn(this.renderedExtent_,z),this.renderedExtent_=z,this.renderedPixelRatio=d,this.renderedProjection=o,this.manageTilePyramid(t,_,v,d,o,b,y,f.getPreload()),this.scheduleExpireCache(t,_),this.postRender(Z,t),i.extent&&Z.restore(),Z.imageSmoothingEnabled=!0,H!==B.style.transform&&(B.style.transform=H),this.container}drawTileImage(t,e,i,n,o,a,h,c){const d=this.getTileImage(t);if(!d)return;const f=at(this),_=e.layerStatesArray[e.layerIndex],m=_.opacity*(c?t.getAlpha(f,e.time):1),v=m!==this.context.globalAlpha;v&&(this.context.save(),this.context.globalAlpha=m),this.context.drawImage(d,h,h,d.width-2*h,d.height-2*h,i,n,o,a),v&&this.context.restore(),m!==_.opacity?e.animate=!0:c&&t.endTransition(f)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}scheduleExpireCache(t,e){if(e.canExpireCache()){const i=(function(n,o,a){const h=at(n);h in a.usedTiles&&n.expireCache(a.viewState.projection,a.usedTiles[h])}).bind(null,e);t.postRenderFunctions.push(i)}}updateUsedTiles(t,e,i){const n=at(e);n in t||(t[n]={}),t[n][i.getKey()]=!0}manageTilePyramid(t,e,i,n,o,a,h,c,d){const f=at(e);f in t.wantedTiles||(t.wantedTiles[f]={});const _=t.wantedTiles[f],m=t.tileQueue,v=i.getMinZoom(),y=t.viewState.rotation,E=y?Sa(t.viewState.center,t.viewState.resolution,y,t.size):void 0;let b=0,S,w,T,P,M,I;for(I=v;I<=h;++I)for(w=i.getTileRangeForExtentAndZ(a,I,w),T=i.getResolution(I),P=w.minX;P<=w.maxX;++P)for(M=w.minY;M<=w.maxY;++M)y&&!i.tileCoordIntersectsViewport([I,P,M],E)||(h-I<=c?(++b,S=e.getTile(I,P,M,n,o),S.getState()==$.IDLE&&(_[S.getKey()]=!0,m.isKeyQueued(S.getKey())||m.enqueue([S,f,i.getTileCoordCenter(S.tileCoord),T])),d!==void 0&&d(S)):e.useTile(I,P,M,o));e.updateCacheSize(b,o)}}const R0=k0;class M0 extends C0{constructor(t){super(t)}createRenderer(){return new R0(this)}}const I0=M0;class A0{constructor(t){this.rbush_=new kh(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[at(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,o=e.length;n<o;n++){const a=t[n],h=e[n],c={minX:a[0],minY:a[1],maxX:a[2],maxY:a[3],value:h};i[n]=c,this.items_[at(h)]=c}this.rbush_.load(i)}remove(t){const e=at(t),i=this.items_[e];return delete this.items_[e],this.rbush_.remove(i)!==null}update(t,e){const i=this.items_[at(e)],n=[i.minX,i.minY,i.maxX,i.maxY];Pn(n,t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map(function(e){return e.value})}getInExtent(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this.rbush_.search(e).map(function(n){return n.value})}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let n=0,o=t.length;n<o;n++)if(i=e(t[n]),i)return i;return i}isEmpty(){return bn(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return Ei(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}}const Id=A0;function D0(r,t){return[[-1/0,-1/0,1/0,1/0]]}let O0=!1;function F0(r,t,e,i,n,o,a){const h=new XMLHttpRequest;h.open("GET",typeof r=="function"?r(e,i,n):r,!0),t.getType()=="arraybuffer"&&(h.responseType="arraybuffer"),h.withCredentials=O0,h.onload=function(c){if(!h.status||h.status>=200&&h.status<300){const d=t.getType();let f;d=="json"||d=="text"?f=h.responseText:d=="xml"?(f=h.responseXML,f||(f=new DOMParser().parseFromString(h.responseText,"application/xml"))):d=="arraybuffer"&&(f=h.response),f?o(t.readFeatures(f,{extent:e,featureProjection:n}),t.readProjection(f)):a()}else a()},h.onerror=a,h.send()}function Ad(r,t){return function(e,i,n,o,a){const h=this;F0(r,t,e,i,n,function(c,d){h.addFeatures(c),o!==void 0&&o(c)},a||wn)}}class Ri extends Qe{constructor(t,e,i){super(t),this.feature=e,this.features=i}}class z0 extends Cd{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:t.wrapX!==void 0?t.wrapX:!0}),this.on,this.once,this.un,this.loader_=wn,this.format_=t.format,this.overlaps_=t.overlaps===void 0?!0:t.overlaps,this.url_=t.url,t.loader!==void 0?this.loader_=t.loader:this.url_!==void 0&&(ft(this.format_,"`format` must be set when `url` is set"),this.loader_=Ad(this.url_,this.format_)),this.strategy_=t.strategy!==void 0?t.strategy:D0;const e=t.useSpatialIndex!==void 0?t.useSpatialIndex:!0;this.featuresRtree_=e?new Id:null,this.loadedExtentsRtree_=new Id,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let i,n;Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),!e&&i===void 0&&(i=new Be(n)),n!==void 0&&this.addFeaturesInternal(n),i!==void 0&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=at(t);if(!this.addToIndex_(e,t)){this.featuresCollection_&&this.featuresCollection_.remove(t);return}this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const n=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(n,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Ri(ee.ADDFEATURE,t))}setupChangeEvents_(t,e){this.featureChangeKeys_[t]=[ht(e,rt.CHANGE,this.handleFeatureChange_,this),ht(e,En.PROPERTYCHANGE,this.handleFeatureChange_,this)]}addToIndex_(t,e){let i=!0;const n=e.getId();return n!==void 0&&(n.toString()in this.idIndex_?i=!1:this.idIndex_[n.toString()]=e),i&&(ft(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let o=0,a=t.length;o<a;o++){const h=t[o],c=at(h);this.addToIndex_(c,h)&&i.push(h)}for(let o=0,a=i.length;o<a;o++){const h=i[o],c=at(h);this.setupChangeEvents_(c,h);const d=h.getGeometry();if(d){const f=d.getExtent();e.push(f),n.push(h)}else this.nullGeometryFeatures_[c]=h}if(this.featuresRtree_&&this.featuresRtree_.load(e,n),this.hasListener(ee.ADDFEATURE))for(let o=0,a=i.length;o<a;o++)this.dispatchEvent(new Ri(ee.ADDFEATURE,i[o]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener(ee.ADDFEATURE,function(i){e||(e=!0,t.push(i.feature),e=!1)}),this.addEventListener(ee.REMOVEFEATURE,function(i){e||(e=!0,t.remove(i.feature),e=!1)}),t.addEventListener(oe.ADD,i=>{e||(e=!0,this.addFeature(i.element),e=!1)}),t.addEventListener(oe.REMOVE,i=>{e||(e=!0,this.removeFeature(i.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(wt);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const i=n=>{this.removeFeatureInternal(n)};this.featuresRtree_.forEach(i);for(const n in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Ri(ee.CLEAR);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,function(n){if(n.getGeometry().intersectsCoordinate(t))return e(n)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){if(i.getGeometry().intersectsExtent(t)){const o=e(i);if(o)return o}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),bn(this.nullGeometryFeatures_)||ti(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(i){e.push(i)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const n=Jp(t,e);return[].concat(...n.map(o=>this.featuresRtree_.getInExtent(o)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let o=null;const a=[NaN,NaN];let h=1/0;const c=[-1/0,-1/0,1/0,1/0];return e=e||_r,this.featuresRtree_.forEachInExtent(c,function(d){if(e(d)){const f=d.getGeometry(),_=h;if(h=f.closestPointXY(i,n,a,h),h<_){o=d;const m=Math.sqrt(h);c[0]=i-m,c[1]=n-m,c[2]=i+m,c[3]=n+m}}}),o}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return e!==void 0?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return e!==void 0?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=at(e),n=e.getGeometry();if(!n)i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);else{const a=n.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(a,e)):this.featuresRtree_&&this.featuresRtree_.update(a,e)}const o=e.getId();if(o!==void 0){const a=o.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new Ri(ee.CHANGEFEATURE,e))}hasFeature(t){const e=t.getId();return e!==void 0?e in this.idIndex_:at(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&bn(this.nullGeometryFeatures_):this.featuresCollection_?this.featuresCollection_.getLength()===0:!0}loadFeatures(t,e,i){const n=this.loadedExtentsRtree_,o=this.strategy_(t,e,i);for(let a=0,h=o.length;a<h;++a){const c=o[a];n.forEachInExtent(c,function(f){return Yi(f.extent,c)})||(++this.loadingExtentsCount_,this.dispatchEvent(new Ri(ee.FEATURESLOADSTART)),this.loader_.call(this,c,e,i,f=>{--this.loadingExtentsCount_,this.dispatchEvent(new Ri(ee.FEATURESLOADEND,void 0,f))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Ri(ee.FEATURESLOADERROR))}),n.insert(c,{extent:c.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,function(n){if(Pn(n.extent,t))return i=n,!0}),i&&e.remove(i)}removeFeature(t){if(!t)return;const e=at(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=at(t),i=this.featureChangeKeys_[e];if(!i)return;i.forEach(wt),delete this.featureChangeKeys_[e];const n=t.getId();return n!==void 0&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Ri(ee.REMOVEFEATURE,t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_)if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}return e}setLoader(t){this.loader_=t}setUrl(t){ft(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(Ad(t,this.format_))}}const yo=z0;class Dl extends be{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if(typeof t.getSimplifiedGeometry=="function"){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new Dl(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(wt(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=ht(t,rt.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?N0(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function N0(r){if(typeof r=="function")return r;let t;return Array.isArray(r)?t=r:(ft(typeof r.getZIndex=="function","Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),t=[r]),function(){return t}}const B0=Dl;class vo extends iu{constructor(t){super(),this.geometries_=t||null,this.changeEventsKeys_=[],this.listenGeometriesChange_()}unlistenGeometriesChange_(){this.changeEventsKeys_.forEach(wt),this.changeEventsKeys_.length=0}listenGeometriesChange_(){if(this.geometries_)for(let t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(ht(this.geometries_[t],rt.CHANGE,this.changed,this))}clone(){const t=new vo(null);return t.setGeometries(this.geometries_),t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<Xi(this.getExtent(),t,e))return n;const o=this.geometries_;for(let a=0,h=o.length;a<h;++a)n=o[a].closestPointXY(t,e,i,n);return n}containsXY(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)if(i[n].containsXY(t,e))return!0;return!1}computeExtent(t){yr(t);const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)Sc(t,e[i].getExtent());return t}getGeometries(){return Dd(this.geometries_)}getGeometriesArray(){return this.geometries_}getGeometriesArrayRecursive(){let t=[];const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].getType()===this.getType()?t=t.concat(e[i].getGeometriesArrayRecursive()):t.push(e[i]);return t}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=[],i=this.geometries_;let n=!1;for(let o=0,a=i.length;o<a;++o){const h=i[o],c=h.getSimplifiedGeometry(t);e.push(c),c!==h&&(n=!0)}if(n){const o=new vo(null);return o.setGeometriesArray(e),o}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this}getType(){return"GeometryCollection"}intersectsExtent(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)if(e[i].intersectsExtent(t))return!0;return!1}isEmpty(){return this.geometries_.length===0}rotate(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)i[n].rotate(t,e);this.changed()}scale(t,e,i){i||(i=Ki(this.getExtent()));const n=this.geometries_;for(let o=0,a=n.length;o<a;++o)n[o].scale(t,e,i);this.changed()}setGeometries(t){this.setGeometriesArray(Dd(t))}setGeometriesArray(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()}applyTransform(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].applyTransform(t);this.changed()}translate(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)i[n].translate(t,e);this.changed()}disposeInternal(){this.unlistenGeometriesChange_(),super.disposeInternal()}}function Dd(r){const t=[];for(let e=0,i=r.length;e<i;++e)t.push(r[e].clone());return t}const G0=vo;class U0{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.supportedMediaTypes=null}getReadOptions(t,e){if(e){let i=e.dataProjection?Gt(e.dataProjection):this.readProjection(t);e.extent&&i&&i.getUnits()==="tile-pixels"&&(i=Gt(i),i.setWorldExtent(e.extent)),e={dataProjection:i,featureProjection:e.featureProjection}}return this.adaptOptions(e)}adaptOptions(t){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)}getType(){return it()}readFeature(t,e){return it()}readFeatures(t,e){return it()}readGeometry(t,e){return it()}readProjection(t){return it()}writeFeature(t,e){return it()}writeFeatures(t,e){return it()}writeGeometry(t,e){return it()}}function Od(r,t,e){const i=e?Gt(e.featureProjection):null,n=e?Gt(e.dataProjection):null;let o;if(i&&n&&!Ji(i,n)?o=(t?r.clone():r).transform(t?i:n,t?n:i):o=r,t&&e&&e.decimals!==void 0){const a=Math.pow(10,e.decimals),h=function(c){for(let d=0,f=c.length;d<f;++d)c[d]=Math.round(c[d]*a)/a;return c};o===r&&(o=r.clone()),o.applyTransform(h)}return o}class Z0 extends U0{constructor(){super()}getType(){return"json"}readFeature(t,e){return this.readFeatureFromObject(xo(t),this.getReadOptions(t,e))}readFeatures(t,e){return this.readFeaturesFromObject(xo(t),this.getReadOptions(t,e))}readFeatureFromObject(t,e){return it()}readFeaturesFromObject(t,e){return it()}readGeometry(t,e){return this.readGeometryFromObject(xo(t),this.getReadOptions(t,e))}readGeometryFromObject(t,e){return it()}readProjection(t){return this.readProjectionFromObject(xo(t))}readProjectionFromObject(t){return it()}writeFeature(t,e){return JSON.stringify(this.writeFeatureObject(t,e))}writeFeatureObject(t,e){return it()}writeFeatures(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))}writeFeaturesObject(t,e){return it()}writeGeometry(t,e){return JSON.stringify(this.writeGeometryObject(t,e))}writeGeometryObject(t,e){return it()}}function xo(r){if(typeof r=="string"){const t=JSON.parse(r);return t||null}return r!==null?r:null}const j0=Z0;function Fd(r,t,e,i,n,o,a){let h,c;const d=(e-t)/i;if(d===1)h=t;else if(d===2)h=t,c=n;else if(d!==0){let f=r[t],_=r[t+1],m=0;const v=[0];for(let b=t+i;b<e;b+=i){const S=r[b],w=r[b+1];m+=Math.sqrt((S-f)*(S-f)+(w-_)*(w-_)),v.push(m),f=S,_=w}const y=n*m,E=Pp(v,y);E<0?(c=(y-v[-E-2])/(v[-E-1]-v[-E-2]),h=t+(-E-2)*i):h=t+E*i}a=a>1?a:2,o=o||new Array(a);for(let f=0;f<a;++f)o[f]=h===void 0?NaN:c===void 0?r[h+f]:_e(r[h+f],r[h+i+f],c);return o}function Ol(r,t,e,i,n,o){if(e==t)return null;let a;if(n<r[t+i-1])return o?(a=r.slice(t,t+i),a[i-1]=n,a):null;if(r[e-1]<n)return o?(a=r.slice(e-i,e),a[i-1]=n,a):null;if(n==r[t+i-1])return r.slice(t,t+i);let h=t/i,c=e/i;for(;h<c;){const m=h+c>>1;n<r[(m+1)*i-1]?c=m:h=m+1}const d=r[h*i-1];if(n==d)return r.slice((h-1)*i,(h-1)*i+i);const f=r[(h+1)*i-1],_=(n-d)/(f-d);a=[];for(let m=0;m<i-1;++m)a.push(_e(r[(h-1)*i+m],r[h*i+m],_));return a.push(n),a}function W0(r,t,e,i,n,o,a){if(a)return Ol(r,t,e[e.length-1],i,n,o);let h;if(n<r[i-1])return o?(h=r.slice(0,i),h[i-1]=n,h):null;if(r[r.length-1]<n)return o?(h=r.slice(r.length-i),h[i-1]=n,h):null;for(let c=0,d=e.length;c<d;++c){const f=e[c];if(t!=f){if(n<r[t+i-1])return null;if(n<=r[f-1])return Ol(r,t,f,i,n,!1);t=f}}return null}function zd(r,t,e,i){let n=r[t],o=r[t+1],a=0;for(let h=t+i;h<e;h+=i){const c=r[h],d=r[h+1];a+=Math.sqrt((c-n)*(c-n)+(d-o)*(d-o)),n=c,o=d}return a}class Eo extends en{constructor(t,e){super(),this.flatMidpoint_=null,this.flatMidpointRevision_=-1,this.maxDelta_=-1,this.maxDeltaRevision_=-1,e!==void 0&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendCoordinate(t){this.flatCoordinates?ti(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()}clone(){const t=new Eo(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<Xi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Ba(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Ua(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,i,n))}forEachSegment(t){return cu(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinateAtM(t,e){return this.layout!="XYM"&&this.layout!="XYZM"?null:(e=e!==void 0?e:!1,Ol(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e))}getCoordinates(){return Li(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinateAt(t,e){return Fd(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,this.stride)}getLength(){return zd(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getFlatMidpoint(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_}getSimplifiedGeometryInternal(t){const e=[];return e.length=Wa(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new Eo(e,"XY")}getType(){return"LineString"}intersectsExtent(t){return js(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Gs(this.flatCoordinates,0,t,this.stride),this.changed()}}const Fl=Eo;class wo extends en{constructor(t,e,i){if(super(),this.ends_=[],this.maxDelta_=-1,this.maxDeltaRevision_=-1,Array.isArray(t[0]))this.setCoordinates(t,e);else if(e!==void 0&&i)this.setFlatCoordinates(e,t),this.ends_=i;else{let n=this.getLayout();const o=t,a=[],h=[];for(let c=0,d=o.length;c<d;++c){const f=o[c];c===0&&(n=f.getLayout()),ti(a,f.getFlatCoordinates()),h.push(a.length)}this.setFlatCoordinates(n,a),this.ends_=h}}appendLineString(t){this.flatCoordinates?ti(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new wo(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<Xi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Ga(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Za(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,i,n))}getCoordinateAtM(t,e,i){return this.layout!="XYM"&&this.layout!="XYZM"||this.flatCoordinates.length===0?null:(e=e!==void 0?e:!1,i=i!==void 0?i:!1,W0(this.flatCoordinates,0,this.ends_,this.stride,t,e,i))}getCoordinates(){return Er(this.flatCoordinates,0,this.ends_,this.stride)}getEnds(){return this.ends_}getLineString(t){return t<0||this.ends_.length<=t?null:new Fl(this.flatCoordinates.slice(t===0?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLineStrings(){const t=this.flatCoordinates,e=this.ends_,i=this.layout,n=[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=e[a],d=new Fl(t.slice(o,c),i);n.push(d),o=c}return n}getFlatMidpoints(){const t=[],e=this.flatCoordinates;let i=0;const n=this.ends_,o=this.stride;for(let a=0,h=n.length;a<h;++a){const c=n[a],d=Fd(e,i,c,o,.5);ti(t,d),i=c}return t}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=Om(this.flatCoordinates,0,this.ends_,this.stride,t,e,0,i),new wo(e,"XY",i)}getType(){return"MultiLineString"}intersectsExtent(t){return Zm(this.flatCoordinates,0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=ja(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=i.length===0?0:i[i.length-1],this.changed()}}const H0=wo;class zl extends en{constructor(t,e){super(),e&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendPoint(t){this.flatCoordinates?ti(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()}clone(){const t=new zl(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<Xi(this.getExtent(),t,e))return n;const o=this.flatCoordinates,a=this.stride;for(let h=0,c=o.length;h<c;h+=a){const d=$i(t,e,o[h],o[h+1]);if(d<n){n=d;for(let f=0;f<a;++f)i[f]=o[h+f];i.length=a}}return n}getCoordinates(){return Li(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getPoint(t){const e=this.flatCoordinates?this.flatCoordinates.length/this.stride:0;return t<0||e<=t?null:new Zs(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)}getPoints(){const t=this.flatCoordinates,e=this.layout,i=this.stride,n=[];for(let o=0,a=t.length;o<a;o+=i){const h=new Zs(t.slice(o,o+i),e);n.push(h)}return n}getType(){return"MultiPoint"}intersectsExtent(t){const e=this.flatCoordinates,i=this.stride;for(let n=0,o=e.length;n<o;n+=i){const a=e[n],h=e[n+1];if(La(t,a,h))return!0}return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Gs(this.flatCoordinates,0,t,this.stride),this.changed()}}const Nd=zl;function V0(r,t,e,i){const n=[];let o=ge();for(let a=0,h=e.length;a<h;++a){const c=e[a];o=Cc(r,t,c[0],i),n.push((o[0]+o[2])/2,(o[1]+o[3])/2),t=c[c.length-1]}return n}class Lo extends en{constructor(t,e,i){if(super(),this.endss_=[],this.flatInteriorPointsRevision_=-1,this.flatInteriorPoints_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,!i&&!Array.isArray(t[0])){let n=this.getLayout();const o=t,a=[],h=[];for(let c=0,d=o.length;c<d;++c){const f=o[c];c===0&&(n=f.getLayout());const _=a.length,m=f.getEnds();for(let v=0,y=m.length;v<y;++v)m[v]+=_;ti(a,f.getFlatCoordinates()),h.push(m)}e=n,t=a,i=h}e!==void 0&&i?(this.setFlatCoordinates(e,t),this.endss_=i):this.setCoordinates(t,e)}appendPolygon(t){let e;if(!this.flatCoordinates)this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();else{const i=this.flatCoordinates.length;ti(this.flatCoordinates,t.getFlatCoordinates()),e=t.getEnds().slice();for(let n=0,o=e.length;n<o;++n)e[n]+=i}this.endss_.push(e),this.changed()}clone(){const t=this.endss_.length,e=new Array(t);for(let n=0;n<t;++n)e[n]=this.endss_[n].slice();const i=new Lo(this.flatCoordinates.slice(),this.layout,e);return i.applyProperties(this),i}closestPointXY(t,e,i,n){return n<Xi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Mm(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Im(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return Gm(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)}getArea(){return Nm(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)}getCoordinates(t){let e;return t!==void 0?(e=this.getOrientedFlatCoordinates().slice(),_u(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,Ha(e,0,this.endss_,this.stride)}getEndss(){return this.endss_}getFlatInteriorPoints(){if(this.flatInteriorPointsRevision_!=this.getRevision()){const t=V0(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Um(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_}getInteriorPoints(){return new Nd(this.getFlatInteriorPoints().slice(),"XYM")}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;Hm(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=_u(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=zm(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),e,0,i),new Lo(e,"XY",i)}getPolygon(t){if(t<0||this.endss_.length<=t)return null;let e;if(t===0)e=0;else{const o=this.endss_[t-1];e=o[o.length-1]}const i=this.endss_[t].slice(),n=i[i.length-1];if(e!==0)for(let o=0,a=i.length;o<a;++o)i[o]-=e;return new Ws(this.flatCoordinates.slice(e,n),this.layout,i)}getPolygons(){const t=this.layout,e=this.flatCoordinates,i=this.endss_,n=[];let o=0;for(let a=0,h=i.length;a<h;++a){const c=i[a].slice(),d=c[c.length-1];if(o!==0)for(let _=0,m=c.length;_<m;++_)c[_]-=o;const f=new Ws(e.slice(o,d),t,c);n.push(f),o=d}return n}getType(){return"MultiPolygon"}intersectsExtent(t){return jm(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);const i=Dm(this.flatCoordinates,0,t,this.stride,this.endss_);if(i.length===0)this.flatCoordinates.length=0;else{const n=i[i.length-1];this.flatCoordinates.length=n.length===0?0:n[n.length-1]}this.changed()}}const X0=Lo;class Y0 extends j0{constructor(t){t=t||{},super(),this.dataProjection=Gt(t.dataProjection?t.dataProjection:"EPSG:4326"),t.featureProjection&&(this.defaultFeatureProjection=Gt(t.featureProjection)),this.geometryName_=t.geometryName,this.extractGeometryName_=t.extractGeometryName,this.supportedMediaTypes=["application/geo+json","application/vnd.geo+json"]}readFeatureFromObject(t,e){let i=null;t.type==="Feature"?i=t:i={type:"Feature",geometry:t,properties:null};const n=Nl(i.geometry,e),o=new B0;return this.geometryName_?o.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in i!==void 0&&o.setGeometryName(i.geometry_name),o.setGeometry(n),"id"in i&&o.setId(i.id),i.properties&&o.setProperties(i.properties,!0),o}readFeaturesFromObject(t,e){const i=t;let n=null;if(i.type==="FeatureCollection"){const o=t;n=[];const a=o.features;for(let h=0,c=a.length;h<c;++h)n.push(this.readFeatureFromObject(a[h],e))}else n=[this.readFeatureFromObject(t,e)];return n}readGeometryFromObject(t,e){return Nl(t,e)}readProjectionFromObject(t){const e=t.crs;let i;if(e)if(e.type=="name")i=Gt(e.properties.name);else if(e.type==="EPSG")i=Gt("EPSG:"+e.properties.code);else throw new Error("Unknown SRS type");else i=this.dataProjection;return i}writeFeatureObject(t,e){e=this.adaptOptions(e);const i={type:"Feature",geometry:null,properties:null},n=t.getId();if(n!==void 0&&(i.id=n),!t.hasProperties())return i;const o=t.getProperties(),a=t.getGeometry();return a&&(i.geometry=Bl(a,e),delete o[t.getGeometryName()]),bn(o)||(i.properties=o),i}writeFeaturesObject(t,e){e=this.adaptOptions(e);const i=[];for(let n=0,o=t.length;n<o;++n)i.push(this.writeFeatureObject(t[n],e));return{type:"FeatureCollection",features:i}}writeGeometryObject(t,e){return Bl(t,this.adaptOptions(e))}}function Nl(r,t){if(!r)return null;let e;switch(r.type){case"Point":{e=q0(r);break}case"LineString":{e=$0(r);break}case"Polygon":{e=eE(r);break}case"MultiPoint":{e=Q0(r);break}case"MultiLineString":{e=J0(r);break}case"MultiPolygon":{e=tE(r);break}case"GeometryCollection":{e=K0(r);break}default:throw new Error("Unsupported GeoJSON type: "+r.type)}return Od(e,!1,t)}function K0(r,t){const e=r.geometries.map(function(i){return Nl(i,t)});return new G0(e)}function q0(r){return new Zs(r.coordinates)}function $0(r){return new Fl(r.coordinates)}function J0(r){return new H0(r.coordinates)}function Q0(r){return new Nd(r.coordinates)}function tE(r){return new X0(r.coordinates)}function eE(r){return new Ws(r.coordinates)}function Bl(r,t){r=Od(r,!0,t);const e=r.getType();let i;switch(e){case"Point":{i=aE(r);break}case"LineString":{i=nE(r);break}case"Polygon":{i=lE(r,t);break}case"MultiPoint":{i=sE(r);break}case"MultiLineString":{i=rE(r);break}case"MultiPolygon":{i=oE(r,t);break}case"GeometryCollection":{i=iE(r,t);break}case"Circle":{i={type:"GeometryCollection",geometries:[]};break}default:throw new Error("Unsupported geometry type: "+e)}return i}function iE(r,t){return t=Object.assign({},t),delete t.featureProjection,{type:"GeometryCollection",geometries:r.getGeometriesArray().map(function(i){return Bl(i,t)})}}function nE(r,t){return{type:"LineString",coordinates:r.getCoordinates()}}function rE(r,t){return{type:"MultiLineString",coordinates:r.getCoordinates()}}function sE(r,t){return{type:"MultiPoint",coordinates:r.getCoordinates()}}function oE(r,t){let e;return t&&(e=t.rightHanded),{type:"MultiPolygon",coordinates:r.getCoordinates(e)}}function aE(r,t){return{type:"Point",coordinates:r.getCoordinates()}}function lE(r,t){let e;return t&&(e=t.rightHanded),{type:"Polygon",coordinates:r.getCoordinates(e)}}const bo=Y0,Br={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},To=[Br.FILL],Mi=[Br.STROKE],ln=[Br.BEGIN_PATH],Bd=[Br.CLOSE_PATH],tt=Br;class hE{drawCustom(t,e,i,n){}drawGeometry(t){}setStyle(t){}drawCircle(t,e){}drawFeature(t,e){}drawGeometryCollection(t,e){}drawLineString(t,e){}drawMultiLineString(t,e){}drawMultiPoint(t,e){}drawMultiPolygon(t,e){}drawPoint(t,e){}drawPolygon(t,e){}drawText(t,e){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}}const Gd=hE;class cE extends Gd{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return e==1?t:t.map(function(i){return i*e})}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,o=this.coordinates;let a=o.length;for(let h=0,c=t.length;h<c;h+=e)n[0]=t[h],n[1]=t[h+1],ks(i,n)&&(o[a++]=n[0],o[a++]=n[1]);return a}appendFlatLineCoordinates(t,e,i,n,o,a){const h=this.coordinates;let c=h.length;const d=this.getBufferedMaxExtent();a&&(e+=n);let f=t[e],_=t[e+1];const m=this.tmpCoordinate_;let v=!0,y,E,b;for(y=e+n;y<i;y+=n)m[0]=t[y],m[1]=t[y+1],b=ba(d,m),b!==E?(v&&(h[c++]=f,h[c++]=_,v=!1),h[c++]=m[0],h[c++]=m[1]):b===Zt.INTERSECTING?(h[c++]=m[0],h[c++]=m[1],v=!1):v=!0,f=m[0],_=m[1],E=b;return(o&&v||y===e+n)&&(h[c++]=f,h[c++]=_),c}drawCustomCoordinates_(t,e,i,n,o){for(let a=0,h=i.length;a<h;++a){const c=i[a],d=this.appendFlatLineCoordinates(t,e,c,n,!1,!1);o.push(d),e=c}return e}drawCustom(t,e,i,n){this.beginGeometry(t,e);const o=t.getType(),a=t.getStride(),h=this.coordinates.length;let c,d,f,_,m;switch(o){case"MultiPolygon":c=t.getOrientedFlatCoordinates(),_=[];const v=t.getEndss();m=0;for(let y=0,E=v.length;y<E;++y){const b=[];m=this.drawCustomCoordinates_(c,m,v[y],a,b),_.push(b)}this.instructions.push([tt.CUSTOM,h,_,t,i,Ha]),this.hitDetectionInstructions.push([tt.CUSTOM,h,_,t,n||i,Ha]);break;case"Polygon":case"MultiLineString":f=[],c=o=="Polygon"?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),m=this.drawCustomCoordinates_(c,0,t.getEnds(),a,f),this.instructions.push([tt.CUSTOM,h,f,t,i,Er]),this.hitDetectionInstructions.push([tt.CUSTOM,h,f,t,n||i,Er]);break;case"LineString":case"Circle":c=t.getFlatCoordinates(),d=this.appendFlatLineCoordinates(c,0,c.length,a,!1,!1),this.instructions.push([tt.CUSTOM,h,d,t,i,Li]),this.hitDetectionInstructions.push([tt.CUSTOM,h,d,t,n||i,Li]);break;case"MultiPoint":c=t.getFlatCoordinates(),d=this.appendFlatPointCoordinates(c,a),d>h&&(this.instructions.push([tt.CUSTOM,h,d,t,i,Li]),this.hitDetectionInstructions.push([tt.CUSTOM,h,d,t,n||i,Li]));break;case"Point":c=t.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),d=this.coordinates.length,this.instructions.push([tt.CUSTOM,h,d,t,i]),this.hitDetectionInstructions.push([tt.CUSTOM,h,d,t,n||i]);break}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[tt.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[tt.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;t.reverse();let e;const i=t.length;let n,o,a=-1;for(e=0;e<i;++e)n=t[e],o=n[0],o==tt.END_GEOMETRY?a=e:o==tt.BEGIN_GEOMETRY&&(n[2]=e,kp(this.hitDetectionInstructions,a,e),a=-1)}setFillStrokeStyle(t,e){const i=this.state;if(t){const n=t.getColor();i.fillStyle=Ge(n||ae)}else i.fillStyle=void 0;if(e){const n=e.getColor();i.strokeStyle=Ge(n||Sr);const o=e.getLineCap();i.lineCap=o!==void 0?o:Mn;const a=e.getLineDash();i.lineDash=a?a.slice():ni;const h=e.getLineDashOffset();i.lineDashOffset=h||ri;const c=e.getLineJoin();i.lineJoin=c!==void 0?c:In;const d=e.getWidth();i.lineWidth=d!==void 0?d:kr;const f=e.getMiterLimit();i.miterLimit=f!==void 0?f:Cr,i.lineWidth>this.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[tt.SET_FILL_STYLE,e];return typeof e!="string"&&i.push(!0),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[tt.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;(typeof i!="string"||t.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,o=t.lineDash,a=t.lineDashOffset,h=t.lineJoin,c=t.lineWidth,d=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||o!=t.currentLineDash&&!ei(t.currentLineDash,o)||t.currentLineDashOffset!=a||t.currentLineJoin!=h||t.currentLineWidth!=c||t.currentMiterLimit!=d)&&(i!==void 0&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=o,t.currentLineDashOffset=a,t.currentLineJoin=h,t.currentLineWidth=c,t.currentMiterLimit=d)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[tt.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Tc(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;Ps(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const Gr=cE;class uE extends Gr{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([tt.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([tt.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([tt.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([tt.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),n=t.getSize(),o=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}}const dE=uE;class fE extends Gr{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinates_(t,e,i,n){const o=this.coordinates.length,a=this.appendFlatLineCoordinates(t,e,i,n,!1,!1),h=[tt.MOVE_TO_LINE_TO,o,a];return this.instructions.push(h),this.hitDetectionInstructions.push(h),i}drawLineString(t,e){const i=this.state,n=i.strokeStyle,o=i.lineWidth;if(n===void 0||o===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([tt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri],ln);const a=t.getFlatCoordinates(),h=t.getStride();this.drawFlatCoordinates_(a,0,a.length,h),this.hitDetectionInstructions.push(Mi),this.endGeometry(e)}drawMultiLineString(t,e){const i=this.state,n=i.strokeStyle,o=i.lineWidth;if(n===void 0||o===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([tt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri],ln);const a=t.getEnds(),h=t.getFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,_=a.length;f<_;++f)d=this.drawFlatCoordinates_(h,d,a[f],c);this.hitDetectionInstructions.push(Mi),this.endGeometry(e)}finish(){const t=this.state;return t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&this.instructions.push(Mi),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(Mi),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(ln)}}const gE=fE;class _E extends Gr{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinatess_(t,e,i,n){const o=this.state,a=o.fillStyle!==void 0,h=o.strokeStyle!==void 0,c=i.length;this.instructions.push(ln),this.hitDetectionInstructions.push(ln);for(let d=0;d<c;++d){const f=i[d],_=this.coordinates.length,m=this.appendFlatLineCoordinates(t,e,f,n,!0,!h),v=[tt.MOVE_TO_LINE_TO,_,m];this.instructions.push(v),this.hitDetectionInstructions.push(v),h&&(this.instructions.push(Bd),this.hitDetectionInstructions.push(Bd)),e=f}return a&&(this.instructions.push(To),this.hitDetectionInstructions.push(To)),h&&(this.instructions.push(Mi),this.hitDetectionInstructions.push(Mi)),e}drawCircle(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getFlatCoordinates(),h=t.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,h,!1,!1);const d=[tt.CIRCLE,c];this.instructions.push(ln,d),this.hitDetectionInstructions.push(ln,d),i.fillStyle!==void 0&&(this.instructions.push(To),this.hitDetectionInstructions.push(To)),i.strokeStyle!==void 0&&(this.instructions.push(Mi),this.hitDetectionInstructions.push(Mi)),this.endGeometry(e)}drawPolygon(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getEnds(),h=t.getOrientedFlatCoordinates(),c=t.getStride();this.drawFlatCoordinatess_(h,0,a,c),this.endGeometry(e)}drawMultiPolygon(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([tt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getEndss(),h=t.getOrientedFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,_=a.length;f<_;++f)d=this.drawFlatCoordinatess_(h,d,a[f],c);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(t!==0){const e=this.coordinates;for(let i=0,n=e.length;i<n;++i)e[i]=nn(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;t.fillStyle!==void 0&&this.updateFillStyle(t,this.createFill),t.strokeStyle!==void 0&&this.updateStrokeStyle(t,this.applyStroke)}}const Ud=_E;function pE(r,t,e,i,n){const o=[];let a=e,h=0,c=t.slice(e,2);for(;h<r&&a+n<i;){const[d,f]=c.slice(-2),_=t[a+n],m=t[a+n+1],v=Math.sqrt((_-d)*(_-d)+(m-f)*(m-f));if(h+=v,h>=r){const y=(r-h+v)/v,E=_e(d,_,y),b=_e(f,m,y);c.push(E,b),o.push(c),c=[E,b],h==r&&(a+=n),h=0}else if(h<r)c.push(t[a+n],t[a+n+1]),a+=n;else{const y=v-h,E=_e(d,_,y/v),b=_e(f,m,y/v);c.push(E,b),o.push(c),c=[E,b],h=0,a+=n}}return h>0&&o.push(c),o}function mE(r,t,e,i,n){let o=e,a=e,h=0,c=0,d=e,f,_,m,v,y,E,b,S,w,T;for(_=e;_<i;_+=n){const P=t[_],M=t[_+1];y!==void 0&&(w=P-y,T=M-E,v=Math.sqrt(w*w+T*T),b!==void 0&&(c+=m,f=Math.acos((b*w+S*T)/(m*v)),f>r&&(c>h&&(h=c,o=d,a=_),c=0,d=_-n)),m=v,b=w,S=T),y=P,E=M}return c+=v,c>h?[d,_]:[o,a]}const Co={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class yE extends Gr{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[ae]={fillStyle:ae},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const i=this.textFillState_,n=this.textStrokeState_,o=this.textState_;if(this.text_===""||!o||!i&&!n)return;const a=this.coordinates;let h=a.length;const c=t.getType();let d=null,f=t.getStride();if(o.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!se(this.getBufferedMaxExtent(),t.getExtent()))return;let _;if(d=t.getFlatCoordinates(),c=="LineString")_=[d.length];else if(c=="MultiLineString")_=t.getEnds();else if(c=="Polygon")_=t.getEnds().slice(0,1);else if(c=="MultiPolygon"){const E=t.getEndss();_=[];for(let b=0,S=E.length;b<S;++b)_.push(E[b][0])}this.beginGeometry(t,e);const m=o.repeat,v=m?void 0:o.textAlign;let y=0;for(let E=0,b=_.length;E<b;++E){let S;m?S=pE(m*this.resolution,d,y,_[E],f):S=[d.slice(y,_[E])];for(let w=0,T=S.length;w<T;++w){const P=S[w];let M=0,I=P.length;if(v==null){const z=mE(o.maxAngle,P,0,P.length,2);M=z[0],I=z[1]}for(let z=M;z<I;z+=f)a.push(P[z],P[z+1]);const D=a.length;y=_[E],this.drawChars_(h,D),h=D}}this.endGeometry(e)}else{let _=o.overflow?null:[];switch(c){case"Point":case"MultiPoint":d=t.getFlatCoordinates();break;case"LineString":d=t.getFlatMidpoint();break;case"Circle":d=t.getCenter();break;case"MultiLineString":d=t.getFlatMidpoints(),f=2;break;case"Polygon":d=t.getFlatInteriorPoint(),o.overflow||_.push(d[2]/this.resolution),f=3;break;case"MultiPolygon":const S=t.getFlatInteriorPoints();d=[];for(let w=0,T=S.length;w<T;w+=3)o.overflow||_.push(S[w+2]/this.resolution),d.push(S[w],S[w+1]);if(d.length===0)return;f=2;break}const m=this.appendFlatPointCoordinates(d,f);if(m===h)return;if(_&&(m-h)/2!==d.length/f){let S=h/2;_=_.filter((w,T)=>{const P=a[(S+T)*2]===d[T*f]&&a[(S+T)*2+1]===d[T*f+1];return P||--S,P})}this.saveTextStates_(),(o.backgroundFill||o.backgroundStroke)&&(this.setFillStrokeStyle(o.backgroundFill,o.backgroundStroke),o.backgroundFill&&this.updateFillStyle(this.state,this.createFill),o.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let v=o.padding;if(v!=sn&&(o.scale[0]<0||o.scale[1]<0)){let S=o.padding[0],w=o.padding[1],T=o.padding[2],P=o.padding[3];o.scale[0]<0&&(w=-w,P=-P),o.scale[1]<0&&(S=-S,T=-T),v=[S,w,T,P]}const y=this.pixelRatio;this.instructions.push([tt.DRAW_IMAGE,h,m,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,v==sn?sn:v.map(function(S){return S*y}),!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,_]);const E=1/y,b=this.state.fillStyle;o.backgroundFill&&(this.state.fillStyle=ae,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([tt.DRAW_IMAGE,h,m,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[E,E],NaN,void 0,this.declutterImageWithText_,v,!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?ae:this.fillKey_,this.textOffsetX_,this.textOffsetY_,_]),o.backgroundFill&&(this.state.fillStyle=b,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,n=this.strokeKey_;t&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const o=this.textKey_;o in this.textStates||(this.textStates[o]={font:e.font,textAlign:e.textAlign||Pr,justify:e.justify,textBaseline:e.textBaseline||to,scale:e.scale});const a=this.fillKey_;i&&(a in this.fillStates||(this.fillStates[a]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,n=this.textState_,o=this.strokeKey_,a=this.textKey_,h=this.fillKey_;this.saveTextStates_();const c=this.pixelRatio,d=Co[n.textBaseline],f=this.textOffsetY_*c,_=this.text_,m=i?i.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([tt.DRAW_CHARS,t,e,d,n.overflow,h,n.maxAngle,c,f,o,m*c,_,a,1]),this.hitDetectionInstructions.push([tt.DRAW_CHARS,t,e,d,n.overflow,h&&ae,n.maxAngle,c,f,o,m*c,_,a,1/c])}setTextStyle(t,e){let i,n,o;if(!t)this.text_="";else{const a=t.getFill();a?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=Ge(a.getColor()||ae)):(n=null,this.textFillState_=n);const h=t.getStroke();if(!h)o=null,this.textStrokeState_=o;else{o=this.textStrokeState_,o||(o={},this.textStrokeState_=o);const y=h.getLineDash(),E=h.getLineDashOffset(),b=h.getWidth(),S=h.getMiterLimit();o.lineCap=h.getLineCap()||Mn,o.lineDash=y?y.slice():ni,o.lineDashOffset=E===void 0?ri:E,o.lineJoin=h.getLineJoin()||In,o.lineWidth=b===void 0?kr:b,o.miterLimit=S===void 0?Cr:S,o.strokeStyle=Ge(h.getColor()||Sr)}i=this.textState_;const c=t.getFont()||Pu;_y(c);const d=t.getScaleArray();i.overflow=t.getOverflow(),i.font=c,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||to,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||sn,i.scale=d===void 0?[1,1]:d;const f=t.getOffsetX(),_=t.getOffsetY(),m=t.getRotateWithView(),v=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=f===void 0?0:f,this.textOffsetY_=_===void 0?0:_,this.textRotateWithView_=m===void 0?!1:m,this.textRotation_=v===void 0?0:v,this.strokeKey_=o?(typeof o.strokeStyle=="string"?o.strokeStyle:at(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=n?typeof n.fillStyle=="string"?n.fillStyle:"|"+at(n.fillStyle):""}this.declutterImageWithText_=e}}const vE={Circle:Ud,Default:Gr,Image:dE,LineString:gE,Polygon:Ud,Text:yE};class xE{constructor(t,e,i,n){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=n,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const n in i){const o=i[n].finish();t[e][n]=o}}return t}getBuilder(t,e){const i=t!==void 0?t.toString():"0";let n=this.buildersByZIndex_[i];n===void 0&&(n={},this.buildersByZIndex_[i]=n);let o=n[e];if(o===void 0){const a=vE[e];o=new a(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[e]=o}return o}}const Zd=xE;function EE(r,t,e,i,n,o,a,h,c,d,f,_){let m=r[t],v=r[t+1],y=0,E=0,b=0,S=0;function w(){y=m,E=v,t+=i,m=r[t],v=r[t+1],S+=b,b=Math.sqrt((m-y)*(m-y)+(v-E)*(v-E))}do w();while(t<e-i&&S+b<o);let T=b===0?0:(o-S)/b;const P=_e(y,m,T),M=_e(E,v,T),I=t-i,D=S,z=o+h*c(d,n,f);for(;t<e-i&&S+b<z;)w();T=b===0?0:(z-S)/b;const W=_e(y,m,T),K=_e(E,v,T);let Q;if(_){const H=[P,M,W,K];tu(H,0,4,2,_,H,H),Q=H[0]>H[2]}else Q=P>W;const q=Math.PI,ct=[],Et=I+i===t;t=I,b=0,S=D,m=r[t],v=r[t+1];let V;if(Et){w(),V=Math.atan2(v-E,m-y),Q&&(V+=V>0?-q:q);const H=(W+P)/2,Z=(K+M)/2;return ct[0]=[H,Z,(z-o)/2,V,n],ct}n=n.replace(/\n/g," ");for(let H=0,Z=n.length;H<Z;){w();let B=Math.atan2(v-E,m-y);if(Q&&(B+=B>0?-q:q),V!==void 0){let J=B-V;if(J+=J>q?-2*q:J<-q?2*q:0,Math.abs(J)>a)return null}V=B;const yt=H;let U=0;for(;H<Z;++H){const J=Q?Z-H-1:H,Y=h*c(d,n[J],f);if(t+i<e&&S+b<o+U+Y/2)break;U+=Y}if(H===yt)continue;const st=Q?n.substring(Z-yt,Z-H):n.substring(yt,H);T=b===0?0:(o+U/2-S)/b;const F=_e(y,m,T),Lt=_e(E,v,T);ct.push([F,Lt,U/2,B,st]),o+=U}return ct}const Vn=ge(),Ii=[],hi=[],ci=[],Ai=[];function jd(r){return r[3].declutterBox}const Wd=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function Gl(r,t){return t==="start"?t=Wd.test(r)?"right":"left":t==="end"&&(t=Wd.test(r)?"left":"right"),Co[t]}function wE(r,t,e){return e>0&&r.push(`
446
446
  `,""),r.push(t,""),r}class LE{constructor(t,e,i,n){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=Vt(),this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,i,n){const o=t+e+i+n;if(this.labels_[o])return this.labels_[o];const a=n?this.strokeStates[n]:null,h=i?this.fillStates[i]:null,c=this.textStates[e],d=this.pixelRatio,f=[c.scale[0]*d,c.scale[1]*d],_=Array.isArray(t),m=c.justify?Co[c.justify]:Gl(Array.isArray(t)?t[0]:t,c.textAlign||Pr),v=n&&a.lineWidth?a.lineWidth:0,y=_?t:t.split(`
447
447
  `).reduce(wE,[]),{width:E,height:b,widths:S,heights:w,lineWidths:T}=my(c,y),P=E+v,M=[],I=(P+2)*f[0],D=(b+v)*f[1],z={width:I<0?Math.floor(I):Math.ceil(I),height:D<0?Math.floor(D):Math.ceil(D),contextInstructions:M};(f[0]!=1||f[1]!=1)&&M.push("scale",f),n&&(M.push("strokeStyle",a.strokeStyle),M.push("lineWidth",v),M.push("lineCap",a.lineCap),M.push("lineJoin",a.lineJoin),M.push("miterLimit",a.miterLimit),M.push("setLineDash",[a.lineDash]),M.push("lineDashOffset",a.lineDashOffset)),i&&M.push("fillStyle",h.fillStyle),M.push("textBaseline","middle"),M.push("textAlign","center");const W=.5-m;let K=m*P+W*v;const Q=[],q=[];let ct=0,Et=0,V=0,H=0,Z;for(let B=0,yt=y.length;B<yt;B+=2){const U=y[B];if(U===`
448
- `){Et+=ct,ct=0,K=m*P+W*v,++H;continue}const st=y[B+1]||c.font;st!==Z&&(n&&Q.push("font",st),i&&q.push("font",st),Z=st),ct=Math.max(ct,w[V]);const F=[U,K+W*S[V]+m*(S[V]-T[H]),.5*(v+ct)+Et];K+=S[V],n&&Q.push("strokeText",F),i&&q.push("fillText",F),++V}return Array.prototype.push.apply(M,Q),Array.prototype.push.apply(M,q),this.labels_[o]=z,z}replayTextBackground_(t,e,i,n,o,a,h){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,o),t.lineTo.apply(t,e),a&&(this.alignFill_=a[2],this.fill_(t)),h&&(this.setStrokeStyle_(t,h),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,o,a,h,c,d,f,_,m,v,y,E,b){h*=m[0],c*=m[1];let S=i-h,w=n-c;const T=o+d>t?t-d:o,P=a+f>e?e-f:a,M=y[3]+T*m[0]+y[1],I=y[0]+P*m[1]+y[2],D=S-y[3],z=w-y[0];(E||_!==0)&&(Ii[0]=D,Ai[0]=D,Ii[1]=z,hi[1]=z,hi[0]=D+M,ci[0]=hi[0],ci[1]=z+I,Ai[1]=ci[1]);let W;return _!==0?(W=ze(Vt(),i,n,1,1,_,-i,-n),Ot(W,Ii),Ot(W,hi),Ot(W,ci),Ot(W,Ai),Ei(Math.min(Ii[0],hi[0],ci[0],Ai[0]),Math.min(Ii[1],hi[1],ci[1],Ai[1]),Math.max(Ii[0],hi[0],ci[0],Ai[0]),Math.max(Ii[1],hi[1],ci[1],Ai[1]),Vn)):Ei(Math.min(D,D+M),Math.min(z,z+I),Math.max(D,D+M),Math.max(z,z+I),Vn),v&&(S=Math.round(S),w=Math.round(w)),{drawImageX:S,drawImageY:w,drawImageW:T,drawImageH:P,originX:d,originY:f,declutterBox:{minX:Vn[0],minY:Vn[1],maxX:Vn[2],maxY:Vn[3],value:b},canvasTransform:W,scale:m}}replayImageOrLabel_(t,e,i,n,o,a,h){const c=!!(a||h),d=n.declutterBox,f=t.canvas,_=h?h[2]*n.scale[0]/2:0;return d.minX-_<=f.width/e&&d.maxX+_>=0&&d.minY-_<=f.height/e&&d.maxY+_>=0&&(c&&this.replayTextBackground_(t,Ii,hi,ci,Ai,a,h),yy(t,n.canvasTransform,o,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){if(this.alignFill_){const e=Ot(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const o=this.textStates[e],a=this.createLabel(t,e,n,i),h=this.strokeStates[i],c=this.pixelRatio,d=Gl(Array.isArray(t)?t[0]:t,o.textAlign||Pr),f=Co[o.textBaseline||to],_=h&&h.lineWidth?h.lineWidth:0,m=a.width/c-2*o.scale[0],v=d*m+2*(.5-d)*_,y=f*a.height/c+2*(.5-f)*_;return{label:a,anchorX:v,anchorY:y}}execute_(t,e,i,n,o,a,h,c){let d;this.pixelCoordinates_&&ei(i,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=tn(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),Em(this.renderedTransform_,i));let f=0;const _=n.length;let m=0,v,y,E,b,S,w,T,P,M,I,D,z,W=0,K=0,Q=null,q=null;const ct=this.coordinateCache_,Et=this.viewRotation_,V=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,H={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:Et},Z=this.instructions!=n||this.overlaps?0:200;let B,yt,U,st;for(;f<_;){const F=n[f];switch(F[0]){case tt.BEGIN_GEOMETRY:B=F[1],st=F[3],B.getGeometry()?h!==void 0&&!se(h,st.getExtent())?f=F[2]+1:++f:f=F[2];break;case tt.BEGIN_PATH:W>Z&&(this.fill_(t),W=0),K>Z&&(t.stroke(),K=0),!W&&!K&&(t.beginPath(),b=NaN,S=NaN),++f;break;case tt.CIRCLE:m=F[1];const J=d[m],Y=d[m+1],nt=d[m+2],Ft=d[m+3],St=nt-J,ve=Ft-Y,je=Math.sqrt(St*St+ve*ve);t.moveTo(J+je,Y),t.arc(J,Y,je,0,2*Math.PI,!0),++f;break;case tt.CLOSE_PATH:t.closePath(),++f;break;case tt.CUSTOM:m=F[1],v=F[2];const Di=F[3],xe=F[4],Oi=F.length==6?F[5]:void 0;H.geometry=Di,H.feature=B,f in ct||(ct[f]=[]);const We=ct[f];Oi?Oi(d,m,v,2,We):(We[0]=d[m],We[1]=d[m+1],We.length=2),xe(We,H),++f;break;case tt.DRAW_IMAGE:m=F[1],v=F[2],P=F[3],y=F[4],E=F[5];let Fi=F[6];const Pe=F[7],zi=F[8],di=F[9],Xn=F[10];let fi=F[11];const hn=F[12];let Xt=F[13];const ie=F[14],me=F[15];if(!P&&F.length>=20){M=F[19],I=F[20],D=F[21],z=F[22];const ne=this.drawLabelWithPointPlacement_(M,I,D,z);P=ne.label,F[3]=P;const Zi=F[23];y=(ne.anchorX-Zi)*this.pixelRatio,F[4]=y;const he=F[24];E=(ne.anchorY-he)*this.pixelRatio,F[5]=E,Fi=P.height,F[6]=Fi,Xt=P.width,F[13]=Xt}let ke;F.length>25&&(ke=F[25]);let He,Ve,Re;F.length>17?(He=F[16],Ve=F[17],Re=F[18]):(He=sn,Ve=!1,Re=!1),Xn&&V?fi+=Et:!Xn&&!V&&(fi-=Et);let Ni=0;for(;m<v;m+=2){if(ke&&ke[Ni++]<Xt/this.pixelRatio)continue;const ne=this.calculateImageOrLabelDimensions_(P.width,P.height,d[m],d[m+1],Xt,Fi,y,E,zi,di,fi,hn,o,He,Ve||Re,B),Zi=[t,e,P,ne,Pe,Ve?Q:null,Re?q:null];if(c){if(ie==="none")continue;if(ie==="obstacle"){c.insert(ne.declutterBox);continue}else{let he,Me;if(me){const Yt=v-m;if(!me[Yt]){me[Yt]=Zi;continue}if(he=me[Yt],delete me[Yt],Me=jd(he),c.collides(Me))continue}if(c.collides(ne.declutterBox))continue;he&&(c.insert(Me),this.replayImageOrLabel_.apply(this,he)),c.insert(ne.declutterBox)}}this.replayImageOrLabel_.apply(this,Zi)}++f;break;case tt.DRAW_CHARS:const cn=F[1],Wt=F[2],Ur=F[3],So=F[4];z=F[5];const Zr=F[6],jr=F[7],Po=F[8];D=F[9];const gi=F[10];M=F[11],I=F[12];const ko=[F[13],F[13]],Wr=this.textStates[I],Bi=Wr.font,Gi=[Wr.scale[0]*jr,Wr.scale[1]*jr];let Ui;Bi in this.widths_?Ui=this.widths_[Bi]:(Ui={},this.widths_[Bi]=Ui);const Ro=zd(d,cn,Wt,2),Mo=Math.abs(Gi[0])*Ru(Bi,M,Ui);if(So||Mo<=Ro){const ne=this.textStates[I].textAlign,Zi=(Ro-Mo)*Gl(M,ne),he=EE(d,cn,Wt,2,M,Zi,Zr,Math.abs(Gi[0]),Ru,Bi,Ui,V?0:this.viewRotation_);t:if(he){const Me=[];let Yt,Yn,Kn,te,ce;if(D)for(Yt=0,Yn=he.length;Yt<Yn;++Yt){ce=he[Yt],Kn=ce[4],te=this.createLabel(Kn,I,"",D),y=ce[2]+(Gi[0]<0?-gi:gi),E=Ur*te.height+(.5-Ur)*2*gi*Gi[1]/Gi[0]-Po;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,y,E,0,0,ce[3],ko,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Me.push([t,e,te,zt,1,null,null])}if(z)for(Yt=0,Yn=he.length;Yt<Yn;++Yt){ce=he[Yt],Kn=ce[4],te=this.createLabel(Kn,I,z,""),y=ce[2],E=Ur*te.height-Po;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,y,E,0,0,ce[3],ko,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Me.push([t,e,te,zt,1,null,null])}c&&c.load(Me.map(jd));for(let zt=0,X=Me.length;zt<X;++zt)this.replayImageOrLabel_.apply(this,Me[zt])}}++f;break;case tt.END_GEOMETRY:if(a!==void 0){B=F[1];const ne=a(B,st);if(ne)return ne}++f;break;case tt.FILL:Z?W++:this.fill_(t),++f;break;case tt.MOVE_TO_LINE_TO:for(m=F[1],v=F[2],yt=d[m],U=d[m+1],w=yt+.5|0,T=U+.5|0,(w!==b||T!==S)&&(t.moveTo(yt,U),b=w,S=T),m+=2;m<v;m+=2)yt=d[m],U=d[m+1],w=yt+.5|0,T=U+.5|0,(m==v-2||w!==b||T!==S)&&(t.lineTo(yt,U),b=w,S=T);++f;break;case tt.SET_FILL_STYLE:Q=F,this.alignFill_=F[2],W&&(this.fill_(t),W=0,K&&(t.stroke(),K=0)),t.fillStyle=F[1],++f;break;case tt.SET_STROKE_STYLE:q=F,K&&(t.stroke(),K=0),this.setStrokeStyle_(t,F),++f;break;case tt.STROKE:Z?K++:t.stroke(),++f;break;default:++f;break}}W&&this.fill_(t),K&&t.stroke()}execute(t,e,i,n,o,a){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,o,void 0,void 0,a)}executeHitDetection(t,e,i,n,o){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,n,o)}}const bE=LE,Ul=["Polygon","Circle","LineString","Image","Text","Default"];class TE{constructor(t,e,i,n,o,a){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=a,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Vt(),this.createExecutors_(o)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];i===void 0&&(i={},this.executorsByZIndex_[e]=i);const n=t[e];for(const o in n){const a=n[o];i[o]=new bE(this.resolution_,this.pixelRatio_,this.overlaps_,a)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let n=0,o=t.length;n<o;++n)if(t[n]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,o,a){n=Math.round(n);const h=n*2+1,c=ze(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=$t(h,h,void 0,{willReadFrequently:!0}));const f=this.hitDetectionContext_;f.canvas.width!==h||f.canvas.height!==h?(f.canvas.width=h,f.canvas.height=h):d||f.clearRect(0,0,h,h);let _;this.renderBuffer_!==void 0&&(_=ge(),vr(_,t),Ps(_,e*(this.renderBuffer_+n),_));const m=CE(n);let v;function y(M,I){const D=f.getImageData(0,0,h,h).data;for(let z=0,W=m.length;z<W;z++)if(D[m[z]]>0){if(!a||v!=="Image"&&v!=="Text"||a.includes(M)){const K=(m[z]-3)/4,Q=n-K%h,q=n-(K/h|0),ct=o(M,I,Q*Q+q*q);if(ct)return ct}f.clearRect(0,0,h,h);break}}const E=Object.keys(this.executorsByZIndex_).map(Number);E.sort(xi);let b,S,w,T,P;for(b=E.length-1;b>=0;--b){const M=E[b].toString();for(w=this.executorsByZIndex_[M],S=Ul.length-1;S>=0;--S)if(v=Ul[S],T=w[v],T!==void 0&&(P=T.executeHitDetection(f,c,i,y,_),P))return P}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],o=e[2],a=e[3],h=[i,n,i,a,o,a,o,n];return tn(h,0,8,2,t,h),h}isEmpty(){return bn(this.executorsByZIndex_)}execute(t,e,i,n,o,a,h){const c=Object.keys(this.executorsByZIndex_).map(Number);c.sort(xi),this.maxExtent_&&(t.save(),this.clip(t,i)),a=a||Ul;let d,f,_,m,v,y;for(h&&c.reverse(),d=0,f=c.length;d<f;++d){const E=c[d].toString();for(v=this.executorsByZIndex_[E],_=0,m=a.length;_<m;++_){const b=a[_];y=v[b],y!==void 0&&y.execute(t,e,i,n,o,h)}}this.maxExtent_&&t.restore()}}const Zl={};function CE(r){if(Zl[r]!==void 0)return Zl[r];const t=r*2+1,e=r*r,i=new Array(e+1);for(let o=0;o<=r;++o)for(let a=0;a<=r;++a){const h=o*o+a*a;if(h>e)break;let c=i[h];c||(c=[],i[h]=c),c.push(((r+o)*t+(r+a))*4+3),o>0&&c.push(((r-o)*t+(r+a))*4+3),a>0&&(c.push(((r+o)*t+(r-a))*4+3),o>0&&c.push(((r-o)*t+(r-a))*4+3))}const n=[];for(let o=0,a=i.length;o<a;++o)i[o]&&n.push(...i[o]);return Zl[r]=n,n}const Hd=TE;class SE extends Gd{constructor(t,e,i,n,o,a,h){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?Pa(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=o,this.squaredTolerance_=a,this.userTransform_=h,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=Vt()}drawImages_(t,e,i,n){if(!this.image_)return;const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_,h=this.tmpLocalTransform_,c=a.globalAlpha;this.imageOpacity_!=1&&(a.globalAlpha=c*this.imageOpacity_);let d=this.imageRotation_;this.transformRotation_===0&&(d-=this.viewRotation_),this.imageRotateWithView_&&(d+=this.viewRotation_);for(let f=0,_=o.length;f<_;f+=2){const m=o[f]-this.imageAnchorX_,v=o[f+1]-this.imageAnchorY_;if(d!==0||this.imageScale_[0]!=1||this.imageScale_[1]!=1){const y=m+this.imageAnchorX_,E=v+this.imageAnchorY_;ze(h,y,E,1,1,d,-y,-E),a.save(),a.transform.apply(a,h),a.translate(y,E),a.scale(this.imageScale_[0],this.imageScale_[1]),a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),a.restore()}else a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,m,v,this.imageWidth_,this.imageHeight_)}this.imageOpacity_!=1&&(a.globalAlpha=c)}drawText_(t,e,i,n){if(!this.textState_||this.text_==="")return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_;let h=this.textRotation_;for(this.transformRotation_===0&&(h-=this.viewRotation_),this.textRotateWithView_&&(h+=this.viewRotation_);e<i;e+=n){const c=o[e]+this.textOffsetX_,d=o[e+1]+this.textOffsetY_;h!==0||this.textScale_[0]!=1||this.textScale_[1]!=1?(a.save(),a.translate(c-this.textOffsetX_,d-this.textOffsetY_),a.rotate(h),a.translate(this.textOffsetX_,this.textOffsetY_),a.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&a.strokeText(this.text_,0,0),this.textFillState_&&a.fillText(this.text_,0,0),a.restore()):(this.textStrokeState_&&a.strokeText(this.text_,c,d),this.textFillState_&&a.fillText(this.text_,c,d))}}moveToLineTo_(t,e,i,n,o){const a=this.context_,h=tn(t,e,i,n,this.transform_,this.pixelCoordinates_);a.moveTo(h[0],h[1]);let c=h.length;o&&(c-=2);for(let d=2;d<c;d+=2)a.lineTo(h[d],h[d+1]);return o&&a.closePath(),i}drawRings_(t,e,i,n){for(let o=0,a=i.length;o<a;++o)e=this.moveToLineTo_(t,e,i[o],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=Rm(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],o=Math.sqrt(i*i+n*n),a=this.context_;a.beginPath(),a.arc(e[0],e[1],o,0,2*Math.PI),this.fillState_&&a.fill(),this.strokeState_&&a.stroke()}this.text_!==""&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t);break}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let i=0,n=e.length;i<n;++i)this.drawGeometry(e[i])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(this.text_!==""){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(se(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=t.getFlatCoordinates();let o=0;const a=t.getEnds(),h=t.getStride();i.beginPath();for(let c=0,d=a.length;c<d;++c)o=this.moveToLineTo_(n,o,a[c],h,!1);i.stroke()}if(this.text_!==""){const i=t.getFlatMidpoints();this.drawText_(i,0,i.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const o=t.getEndss(),a=t.getStride();e.beginPath();for(let h=0,c=o.length;h<c;++h){const d=o[h];n=this.drawRings_(i,n,d,a)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),ei(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:Pr;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(!t)this.fillState_=null;else{const i=t.getColor();this.fillState_={fillStyle:Ge(i||ae)}}if(!e)this.strokeState_=null;else{const i=e.getColor(),n=e.getLineCap(),o=e.getLineDash(),a=e.getLineDashOffset(),h=e.getLineJoin(),c=e.getWidth(),d=e.getMiterLimit(),f=o||ni;this.strokeState_={lineCap:n!==void 0?n:Mn,lineDash:this.pixelRatio_===1?f:f.map(_=>_*this.pixelRatio_),lineDashOffset:(a||ri)*this.pixelRatio_,lineJoin:h!==void 0?h:In,lineWidth:(c!==void 0?c:kr)*this.pixelRatio_,miterLimit:d!==void 0?d:Cr,strokeStyle:Ge(i||Sr)}}}setImageStyle(t){let e;if(!t||!(e=t.getSize())){this.image_=null;return}const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),o=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=o[0],this.imageOriginY_=o[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const a=t.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/i,a[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(!t)this.text_="";else{const e=t.getFill();if(!e)this.textFillState_=null;else{const v=e.getColor();this.textFillState_={fillStyle:Ge(v||ae)}}const i=t.getStroke();if(!i)this.textStrokeState_=null;else{const v=i.getColor(),y=i.getLineCap(),E=i.getLineDash(),b=i.getLineDashOffset(),S=i.getLineJoin(),w=i.getWidth(),T=i.getMiterLimit();this.textStrokeState_={lineCap:y!==void 0?y:Mn,lineDash:E||ni,lineDashOffset:b||ri,lineJoin:S!==void 0?S:In,lineWidth:w!==void 0?w:kr,miterLimit:T!==void 0?T:Cr,strokeStyle:Ge(v||Sr)}}const n=t.getFont(),o=t.getOffsetX(),a=t.getOffsetY(),h=t.getRotateWithView(),c=t.getRotation(),d=t.getScaleArray(),f=t.getText(),_=t.getTextAlign(),m=t.getTextBaseline();this.textState_={font:n!==void 0?n:Pu,textAlign:_!==void 0?_:Pr,textBaseline:m!==void 0?m:to},this.text_=f!==void 0?Array.isArray(f)?f.reduce((v,y,E)=>v+=E%2?" ":y,""):f:"",this.textOffsetX_=o!==void 0?this.pixelRatio_*o:0,this.textOffsetY_=a!==void 0?this.pixelRatio_*a:0,this.textRotateWithView_=h!==void 0?h:!1,this.textRotation_=c!==void 0?c:0,this.textScale_=[this.pixelRatio_*d[0],this.pixelRatio_*d[1]]}}}const PE=SE,Ze=.5;function kE(r,t,e,i,n,o,a){const h=r[0]*Ze,c=r[1]*Ze,d=$t(h,c);d.imageSmoothingEnabled=!1;const f=d.canvas,_=new PE(d,Ze,n,null,a),m=e.length,v=Math.floor((256*256*256-1)/m),y={};for(let b=1;b<=m;++b){const S=e[b-1],w=S.getStyleFunction()||i;if(!w)continue;let T=w(S,o);if(!T)continue;Array.isArray(T)||(T=[T]);const M=(b*v).toString(16).padStart(7,"#00000");for(let I=0,D=T.length;I<D;++I){const z=T[I],W=z.getGeometryFunction()(S);if(!W||!se(n,W.getExtent()))continue;const K=z.clone(),Q=K.getFill();Q&&Q.setColor(M);const q=K.getStroke();q&&(q.setColor(M),q.setLineDash(null)),K.setText(void 0);const ct=z.getImage();if(ct){const Z=ct.getImageSize();if(!Z)continue;const B=$t(Z[0],Z[1],void 0,{alpha:!1}),yt=B.canvas;B.fillStyle=M,B.fillRect(0,0,yt.width,yt.height),K.setImage(new _l({img:yt,anchor:ct.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:ct.getOrigin(),opacity:1,size:ct.getSize(),scale:ct.getScale(),rotation:ct.getRotation(),rotateWithView:ct.getRotateWithView()}))}const Et=K.getZIndex()||0;let V=y[Et];V||(V={},y[Et]=V,V.Polygon=[],V.Circle=[],V.LineString=[],V.Point=[]);const H=W.getType();if(H==="GeometryCollection"){const Z=W.getGeometriesArrayRecursive();for(let B=0,yt=Z.length;B<yt;++B){const U=Z[B];V[U.getType().replace("Multi","")].push(U,K)}}else V[H.replace("Multi","")].push(W,K)}}const E=Object.keys(y).map(Number).sort(xi);for(let b=0,S=E.length;b<S;++b){const w=y[E[b]];for(const T in w){const P=w[T];for(let M=0,I=P.length;M<I;M+=2){_.setStyle(P[M+1]);for(let D=0,z=t.length;D<z;++D)_.setTransform(t[D]),_.drawGeometry(P[M])}}}return d.getImageData(0,0,f.width,f.height)}function RE(r,t,e){const i=[];if(e){const n=Math.floor(Math.round(r[0])*Ze),o=Math.floor(Math.round(r[1])*Ze),a=(It(n,0,e.width-1)+It(o,0,e.height-1)*e.width)*4,h=e.data[a],c=e.data[a+1],f=e.data[a+2]+256*(c+256*h),_=Math.floor((256*256*256-1)/t.length);f&&f%_===0&&i.push(t[f/_-1])}return i}const ME=.5,Vd={Point:GE,LineString:zE,Polygon:ZE,MultiPoint:UE,MultiLineString:NE,MultiPolygon:BE,GeometryCollection:FE,Circle:DE};function IE(r,t){return parseInt(at(r),10)-parseInt(at(t),10)}function AE(r,t){const e=jl(r,t);return e*e}function jl(r,t){return ME*r/t}function DE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Circle");c.setFillStrokeStyle(o,a),c.drawCircle(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Xd(r,t,e,i,n,o,a){let h=!1;const c=e.getImage();if(c){const d=c.getImageState();d==Ct.LOADED||d==Ct.ERROR?c.unlistenImageChange(n):(d==Ct.IDLE&&c.load(),c.listenImageChange(n),h=!0)}return OE(r,t,e,i,o,a),h}function OE(r,t,e,i,n,o){const a=e.getGeometryFunction()(t);if(!a)return;const h=a.simplifyTransformed(i,n);if(e.getRenderer())Yd(r,h,e,t);else{const d=Vd[h.getType()];d(r,h,e,t,o)}}function Yd(r,t,e,i){if(t.getType()=="GeometryCollection"){const o=t.getGeometries();for(let a=0,h=o.length;a<h;++a)Yd(r,o[a],e,i);return}r.getBuilder(e.getZIndex(),"Default").drawCustom(t,i,e.getRenderer(),e.getHitDetectionRenderer())}function FE(r,t,e,i,n){const o=t.getGeometriesArray();let a,h;for(a=0,h=o.length;a<h;++a){const c=Vd[o[a].getType()];c(r,o[a],e,i,n)}}function zE(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function NE(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawMultiLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function BE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(a||o){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawMultiPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function GE(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=Ct.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const _=r.getBuilder(e.getZIndex(),"Image");_.setImageStyle(o,h),_.drawPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function UE(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=Ct.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const _=r.getBuilder(e.getZIndex(),"Image");_.setImageStyle(o,h),_.drawMultiPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawMultiPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function ZE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}class jE extends Md{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=ge(),this.wrappedRenderedExtent_=ge(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,o=e.viewState,a=o.center,h=o.resolution,c=o.projection,d=o.rotation,f=c.getExtent(),_=this.getLayer().getSource(),m=e.pixelRatio,v=e.viewHints,y=!(v[Ut.ANIMATING]||v[Ut.INTERACTING]),E=this.compositionContext_,b=Math.round(e.size[0]*m),S=Math.round(e.size[1]*m),w=_.getWrapX()&&c.canWrapX(),T=w?Tt(f):null,P=w?Math.ceil((n[2]-f[2])/T)+1:1;let M=w?Math.floor((n[0]-f[0])/T):0;do{const I=this.getRenderTransform(a,h,d,m,b,S,M*T);t.execute(E,1,I,d,y,void 0,i)}while(++M<P)}setupCompositionContext_(){if(this.opacity_!==1){const t=$t(this.context.canvas.width,this.context.canvas.height,Rd);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(this.opacity_!==1){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,$s(this.compositionContext_),Rd.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,n=t.layerStatesArray[t.layerIndex];wm(this.pixelTransform,1/i,1/i),Bs(this.inversePixelTransform,this.pixelTransform);const o=Qc(this.pixelTransform);this.useContainer(e,o,this.getBackground(t));const a=this.context,h=a.canvas,c=this.replayGroup_,d=this.declutterExecutorGroup;let f=c&&!c.isEmpty()||d&&!d.isEmpty();if(!f&&!(this.getLayer().hasListener(qt.PRERENDER)||this.getLayer().hasListener(qt.POSTRENDER)))return null;const _=Math.round(t.size[0]*i),m=Math.round(t.size[1]*i);h.width!=_||h.height!=m?(h.width=_,h.height=m,h.style.transform!==o&&(h.style.transform=o)):this.containerReused||a.clearRect(0,0,_,m),this.preRender(a,t);const v=t.viewState;v.projection,this.opacity_=n.opacity,this.setupCompositionContext_();let y=!1;if(f&&n.extent&&this.clipping){const E=Qi(n.extent);f=se(E,t.extent),y=f&&!Yi(E,t.extent),y&&this.clipUnrotated(this.compositionContext_,t,E)}return f&&this.renderWorlds(c,t),y&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(a,t),this.renderedRotation_!==v.rotation&&(this.renderedRotation_=v.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise(e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=[this.context.canvas.width,this.context.canvas.height];Ot(this.pixelTransform,i);const n=this.renderedCenter_,o=this.renderedResolution_,a=this.renderedRotation_,h=this.renderedProjection_,c=this.wrappedRenderedExtent_,d=this.getLayer(),f=[],_=i[0]*Ze,m=i[1]*Ze;f.push(this.getRenderTransform(n,o,a,Ze,_,m,0).slice());const v=d.getSource(),y=h.getExtent();if(v.getWrapX()&&h.canWrapX()&&!Yi(y,c)){let E=c[0];const b=Tt(y);let S=0,w;for(;E<y[0];)--S,w=b*S,f.push(this.getRenderTransform(n,o,a,Ze,_,m,w).slice()),E+=b;for(S=0,E=c[2];E>y[2];)++S,w=b*S,f.push(this.getRenderTransform(n,o,a,Ze,_,m,w).slice()),E-=b}this.hitDetectionImageData_=kE(i,f,this.renderedFeatures_,d.getStyleFunction(),c,o,a)}e(RE(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,n,o){if(!this.replayGroup_)return;const a=e.viewState.resolution,h=e.viewState.rotation,c=this.getLayer(),d={},f=function(v,y,E){const b=at(v),S=d[b];if(S){if(S!==!0&&E<S.distanceSq){if(E===0)return d[b]=!0,o.splice(o.lastIndexOf(S),1),n(v,c,y);S.geometry=y,S.distanceSq=E}}else{if(E===0)return d[b]=!0,n(v,c,y);o.push(d[b]={feature:v,layer:c,geometry:y,distanceSq:E,callback:n})}};let _;const m=[this.replayGroup_];return this.declutterExecutorGroup&&m.push(this.declutterExecutorGroup),m.some(v=>_=v.forEachFeatureAtCoordinate(t,a,h,i,f,v===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(y=>y.value):null)),_}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[Ut.ANIMATING],o=t.viewHints[Ut.INTERACTING],a=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(this.ready&&!a&&n||!h&&o)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const c=t.extent,d=t.viewState,f=d.projection,_=d.resolution,m=t.pixelRatio,v=e.getRevision(),y=e.getRenderBuffer();let E=e.getRenderOrder();E===void 0&&(E=IE);const b=d.center.slice(),S=Ps(c,y*_),w=S.slice(),T=[S.slice()],P=f.getExtent();if(i.getWrapX()&&f.canWrapX()&&!Yi(P,t.extent)){const V=Tt(P),H=Math.max(Tt(S)/2,V);S[0]=P[0]-H,S[2]=P[2]+H,Mc(b,f);const Z=Rc(T[0],f);Z[0]<P[0]&&Z[2]<P[2]?T.push([Z[0]+V,Z[1],Z[2]+V,Z[3]]):Z[0]>P[0]&&Z[2]>P[2]&&T.push([Z[0]-V,Z[1],Z[2]-V,Z[3]])}if(this.ready&&this.renderedResolution_==_&&this.renderedRevision_==v&&this.renderedRenderOrder_==E&&Yi(this.wrappedRenderedExtent_,S))return ei(this.renderedExtent_,w)||(this.hitDetectionImageData_=null,this.renderedExtent_=w),this.renderedCenter_=b,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const M=new Zd(jl(_,m),S,_,m);let I;this.getLayer().getDeclutter()&&(I=new Zd(jl(_,m),S,_,m));let D;for(let V=0,H=T.length;V<H;++V)i.loadFeatures(T[V],_,f);const z=AE(_,m);let W=!0;const K=V=>{let H;const Z=V.getStyleFunction()||e.getStyleFunction();if(Z&&(H=Z(V,_)),H){const B=this.renderFeature(V,z,H,M,D,I);W=W&&!B}},Q=Uc(S),q=i.getFeaturesInExtent(Q);E&&q.sort(E);for(let V=0,H=q.length;V<H;++V)K(q[V]);this.renderedFeatures_=q,this.ready=W;const ct=M.finish(),Et=new Hd(S,_,m,i.getOverlaps(),ct,e.getRenderBuffer());return I&&(this.declutterExecutorGroup=new Hd(S,_,m,i.getOverlaps(),I.finish(),e.getRenderBuffer())),this.renderedResolution_=_,this.renderedRevision_=v,this.renderedRenderOrder_=E,this.renderedExtent_=w,this.wrappedRenderedExtent_=S,this.renderedCenter_=b,this.renderedProjection_=f,this.replayGroup_=Et,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,o,a){if(!i)return!1;let h=!1;if(Array.isArray(i))for(let c=0,d=i.length;c<d;++c)h=Xd(n,t,i[c],e,this.boundHandleStyleImageChange_,o,a)||h;else h=Xd(n,t,i,e,this.boundHandleStyleImageChange_,o,a);return h}}const WE=jE;class HE extends xl{constructor(t){super(t)}createRenderer(){return new WE(this)}}const Kd=HE,Qt={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"};class VE extends be{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=t.insertFirst!==void 0?t.insertFirst:!0,this.stopEvent=t.stopEvent!==void 0?t.stopEvent:!0,this.element=document.createElement("div"),this.element.className=t.className!==void 0?t.className:"ol-overlay-container "+cy,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=t.autoPan===!0?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener(Qt.ELEMENT,this.handleElementChanged),this.addChangeListener(Qt.MAP,this.handleMapChanged),this.addChangeListener(Qt.OFFSET,this.handleOffsetChanged),this.addChangeListener(Qt.POSITION,this.handlePositionChanged),this.addChangeListener(Qt.POSITIONING,this.handlePositioningChanged),t.element!==void 0&&this.setElement(t.element),this.setOffset(t.offset!==void 0?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),t.position!==void 0&&this.setPosition(t.position)}getElement(){return this.get(Qt.ELEMENT)}getId(){return this.id}getMap(){return this.get(Qt.MAP)||null}getOffset(){return this.get(Qt.OFFSET)}getPosition(){return this.get(Qt.POSITION)}getPositioning(){return this.get(Qt.POSITIONING)}handleElementChanged(){Su(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(Qs(this.element),wt(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=ht(t,oi.POSTRENDER,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set(Qt.ELEMENT,t)}setMap(t){this.set(Qt.MAP,t)}setOffset(t){this.set(Qt.OFFSET,t)}setPosition(t){this.set(Qt.POSITION,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get(Qt.POSITION))return;const i=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),o=this.getRect(n,[dy(n),fy(n)]);t=t||{};const a=t.margin===void 0?20:t.margin;if(!Yi(i,o)){const h=o[0]-i[0],c=i[2]-o[2],d=o[1]-i[1],f=i[3]-o[3],_=[0,0];if(h<0?_[0]=h-a:c<0&&(_[0]=Math.abs(c)+a),d<0?_[1]=d-a:f<0&&(_[1]=Math.abs(f)+a),_[0]!==0||_[1]!==0){const m=e.getView().getCenterInternal(),v=e.getPixelFromCoordinateInternal(m);if(!v)return;const y=[v[0]+_[0],v[1]+_[1]],E=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(y),duration:E.duration,easing:E.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),n=i.left+window.pageXOffset,o=i.top+window.pageYOffset;return[n,o,n+e[0],o+e[1]]}setPositioning(t){this.set(Qt.POSITIONING,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e){this.setVisible(!1);return}const i=t.getPixelFromCoordinate(e),n=t.getSize();this.updateRenderedPosition(i,n)}updateRenderedPosition(t,e){const i=this.element.style,n=this.getOffset(),o=this.getPositioning();this.setVisible(!0);const a=Math.round(t[0]+n[0])+"px",h=Math.round(t[1]+n[1])+"px";let c="0%",d="0%";o=="bottom-right"||o=="center-right"||o=="top-right"?c="-100%":(o=="bottom-center"||o=="center-center"||o=="top-center")&&(c="-50%"),o=="bottom-left"||o=="bottom-center"||o=="bottom-right"?d="-100%":(o=="center-left"||o=="center-center"||o=="center-right")&&(d="-50%");const f=`translate(${c}, ${d}) translate(${a}, ${h})`;this.rendered.transform_!=f&&(this.rendered.transform_=f,i.transform=f)}getOptions(){return this.options}}const XE=VE,qd=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],$d={ENTERFULLSCREEN:"enterfullscreen",LEAVEFULLSCREEN:"leavefullscreen"};class YE extends ro{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target}),this.on,this.once,this.un,this.keys_=t.keys!==void 0?t.keys:!1,this.source_=t.source,this.isInFullscreen_=!1,this.boundHandleMapTargetChange_=this.handleMapTargetChange_.bind(this),this.cssClassName_=t.className!==void 0?t.className:"ol-full-screen",this.documentListeners_=[],this.activeClassName_=t.activeClassName!==void 0?t.activeClassName.split(" "):[this.cssClassName_+"-true"],this.inactiveClassName_=t.inactiveClassName!==void 0?t.inactiveClassName.split(" "):[this.cssClassName_+"-false"];const e=t.label!==void 0?t.label:"⤢";this.labelNode_=typeof e=="string"?document.createTextNode(e):e;const i=t.labelActive!==void 0?t.labelActive:"×";this.labelActiveNode_=typeof i=="string"?document.createTextNode(i):i;const n=t.tipLabel?t.tipLabel:"Toggle full-screen";this.button_=document.createElement("button"),this.button_.title=n,this.button_.setAttribute("type","button"),this.button_.appendChild(this.labelNode_),this.button_.addEventListener(rt.CLICK,this.handleClick_.bind(this),!1),this.setClassName_(this.button_,this.isInFullscreen_),this.element.className=`${this.cssClassName_} ${Tr} ${qs}`,this.element.appendChild(this.button_)}handleClick_(t){t.preventDefault(),this.handleFullScreen_()}handleFullScreen_(){const t=this.getMap();if(!t)return;const e=t.getOwnerDocument();if(Jd(e))if(Qd(e))qE(e);else{let i;this.source_?i=typeof this.source_=="string"?e.getElementById(this.source_):this.source_:i=t.getTargetElement(),this.keys_?KE(i):tf(i)}}handleFullScreenChange_(){const t=this.getMap();if(!t)return;const e=this.isInFullscreen_;this.isInFullscreen_=Qd(t.getOwnerDocument()),e!==this.isInFullscreen_&&(this.setClassName_(this.button_,this.isInFullscreen_),this.isInFullscreen_?(Js(this.labelActiveNode_,this.labelNode_),this.dispatchEvent($d.ENTERFULLSCREEN)):(Js(this.labelNode_,this.labelActiveNode_),this.dispatchEvent($d.LEAVEFULLSCREEN)),t.updateSize())}setClassName_(t,e){e?(t.classList.remove(...this.inactiveClassName_),t.classList.add(...this.activeClassName_)):(t.classList.remove(...this.activeClassName_),t.classList.add(...this.inactiveClassName_))}setMap(t){const e=this.getMap();e&&e.removeChangeListener(jt.TARGET,this.boundHandleMapTargetChange_),super.setMap(t),this.handleMapTargetChange_(),t&&t.addChangeListener(jt.TARGET,this.boundHandleMapTargetChange_)}handleMapTargetChange_(){const t=this.documentListeners_;for(let i=0,n=t.length;i<n;++i)wt(t[i]);t.length=0;const e=this.getMap();if(e){const i=e.getOwnerDocument();Jd(i)?this.element.classList.remove(Lu):this.element.classList.add(Lu);for(let n=0,o=qd.length;n<o;++n)t.push(ht(i,qd[n],this.handleFullScreenChange_,this));this.handleFullScreenChange_()}}}function Jd(r){const t=r.body;return!!(t.webkitRequestFullscreen||t.requestFullscreen&&r.fullscreenEnabled)}function Qd(r){return!!(r.webkitIsFullScreen||r.fullscreenElement)}function tf(r){r.requestFullscreen?r.requestFullscreen():r.webkitRequestFullscreen&&r.webkitRequestFullscreen()}function KE(r){r.webkitRequestFullscreen?r.webkitRequestFullscreen():tf(r)}function qE(r){r.exitFullscreen?r.exitFullscreen():r.webkitExitFullscreen&&r.webkitExitFullscreen()}const $E=YE,JE=G.defineComponent({name:"MapHeat",props:{coords:Object,loadMapa:Object,typeMap:String,abrirCerrarLoader:Function,onClickMarket:Function,configurationMap:{default:()=>({strokeColor:"#f47521",copyright:"&copy; 2021 Desarrollado por UTIC - Ministerio Público",height:"250px",maxZoom:20,iconMarker:{iconUrl:"/image/gmap01.png",iconSize:[25,41],iconAnchor:[12,41],class:"",type:"image"},dragMarker:!0})}},data:()=>({radius:10,blur:20,zoom:5,type:"0",olMap:null,heatLayer:null,pointLayer:null,countryLayer:null,overlay:null,showSetting:!1,cantidad:0}),watch:{radius(r){this.setRadius(r)},blur(r){this.setBlur(r)},coords(r){this.cantidad=r.features.length,this.updateSource(r),this.updatePointSource(r)},loadMapa(r){this.changeCountryLayer(r)},typeMap(r){this.changeTypeMap(r)},type(r){this.changeTypeMap(r)}},methods:{changeTypeMap(r){r==="0"?(this.heatLayer.setVisible(!0),this.pointLayer.setVisible(!1),this.olMap.removeEventListener("click",this.onClickListener)):(this.heatLayer.setVisible(!1),this.pointLayer.setVisible(!0),this.initClick())},initMap(){const r=`<span class='map-copyright-text' >${this.configurationMap.copyright}</span>`,t=new On({stroke:new ao({color:this.configurationMap.strokeColor,width:3}),text:new Vu({font:"12px Roboto",fill:new oo({color:"#000"}),stroke:new ao({color:"#fff",width:1})})});this.countryLayer=new Kd({source:new yo({url:`${this.loadMapa.data}`,format:new bo}),style:function(i){return t.getText().setText(i.get("name")),t}}),this.heatLayer=new e0({source:new yo({features:[]}),visible:!1,radius:10,blur:25});try{this.pointLayer=this.configurationMap?new Kd({source:new yo({features:[]}),visible:!1,style:i=>{var a,h;return new On({image:new _l({opacity:1,src:(h=(a=this.configurationMap)==null?void 0:a.iconMarker)==null?void 0:h.iconUrl,scale:.45}),zIndex:1})}}):void 0}catch(i){console.log(i)}this.olMap=new xv({controls:Iu({attribution:!1}).extend([new $E({tipLabel:"Pantalla completa"})]).extend([new Mu({collapsible:!1})]),layers:[new I0({source:new b0({attributions:r})}),this.countryLayer,this.heatLayer,this.pointLayer],target:this.$refs["map-root"],view:new Ne({center:[0,0],zoom:this.zoom})});const e=Bc([this.loadMapa.lng,this.loadMapa.lat]);this.olMap.getView().adjustCenter(e),this.fitMap()},initClick(){const r=document.getElementById("popup"),t=document.getElementById("popup-closer");this.overlay=new XE({element:r,autoPan:!0}),this.olMap.addOverlay(this.overlay),t.onclick=()=>this.closeOverlay(),this.olMap.addEventListener("click",this.onClickListener)},closeOverlay(){const r=document.getElementById("popup-closer");return this.overlay.setPosition(void 0),r.blur(),!1},async onClickListener(r){const t=document.getElementById("popup-content"),e=document.getElementById("popup-closer");if(this.olMap.hasFeatureAtPixel(r.pixel)===!0){const i=this.olMap.getFeaturesAtPixel(r.pixel)[0];if(i.getGeometry().getType()==="Point"){const o=this.olMap.getFeaturesAtPixel(r.pixel)[0].getProperties(),a=r.coordinate;this.abrirCerrarLoader&&this.abrirCerrarLoader(!0);try{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1);let h="";this.onClickMarket&&(h=await this.onClickMarket(o)),t.innerHTML=h;const c=this.olMap.getView(),d=i.getGeometry().getExtent(),f=c.getCenter(),_=c.getZoom();c.fit(d,{padding:[325,75,0,75],maxZoom:_});const m=c.getCenter();c.setCenter(f),c.animate({center:m})}catch{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1)}this.overlay.setPosition(a)}}else this.overlay.setPosition(void 0),e.blur()},updateSource(r){if(r&&r.features.length===0){this.heatLayer.getSource().clear();return}if(r){const t=this.heatLayer.getSource(),e=new bo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},updatePointSource(r){if(r&&r.features.length===0){this.pointLayer.getSource().clear();return}if(r){const t=this.pointLayer.getSource(),e=new bo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},async changeCountryLayer(r){if(this.countryLayer){const e=new yo({url:`${r.data}`,format:new bo});await this.countryLayer.setSource(e)}},fitMap(){this.countryLayer.addEventListener("change",this.countryFunction)},countryFunction(r){const t=this.olMap.getView();if(r.target.getSource().getFeatures()[0]){const i=r.target.getSource().getExtent(),n=t.getZoom(),o=t.getCenter();t.fit(i,{padding:[75,75,75,75],maxZoom:6});const a=t.getZoom(),h=t.getCenter();t.setCenter(o),t.setZoom(n),t.animate({center:h}),t.animate({zoom:a})}},setRadius(r){this.heatLayer.setRadius(parseInt(r,10))},setBlur(r){this.heatLayer.setBlur(parseInt(r,10))},irACiudad(){if(this.loadMapa&&this.loadMapa.country!=="Bolivia"){const r=this.olMap.getView(),t=r.getZoom(),e=r.getCenter();r.setCenter(Bc([this.loadMapa.lng,this.loadMapa.lat]));const i=13,n=r.getCenter();r.setCenter(e),r.setZoom(t),r.animate({center:n}),r.animate({zoom:i})}},toggleSettings(){this.showSetting=!this.showSetting}},mounted(){this.countryLayer=this.loadMapa,this.initMap()},beforeDestroy(){this.countryLayer.removeEventListener("change",this.countryFunction),this.olMap.removeEventListener("click",this.onClickListener)}}),zL="",NL="",ui=r=>(G.pushScopeId("data-v-82f96ae5"),r=r(),G.popScopeId(),r),QE={ref:"map-root",style:{width:"100%",height:"100%",position:"relative"}},tw={class:"btn-zoom-container ol-control"},ew=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[G.createElementVNode("path",{d:"M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4V224H109.3l9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4H224v114.8l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4V288h114.8l-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4H288V109.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"})],-1))],iw={class:"type-map-container ol-control"},nw=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[G.createElementVNode("path",{d:"M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"})],-1))],rw=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[G.createElementVNode("path",{d:"m153.6 29.9 16-21.3c4-5.4 10.4-8.6 17.1-8.6C198.4 0 208 9.6 208 21.3v22.2c0 13.1 5.4 25.7 14.9 34.7l84.7 80.8c48.8 46.6 76.4 111.2 76.4 178.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6 12.5 0 22.6 10.1 22.6 22.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7 0-27.7 9-54.8 25.6-76.9z"})],-1))],sw={class:"btn-settings ol-control"},ow=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[G.createElementVNode("path",{d:"M495.9 166.6c3.2 8.7.5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4l-55.6 17.8c-8.8 2.8-18.6.3-24.5-6.8-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4c-1.1-8.4-1.7-16.9-1.7-25.5s.6-17.1 1.7-25.4l-43.3-39.4c-6.9-6.2-9.6-15.9-6.4-24.6 4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2 5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8 8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"})],-1))],aw={class:"control-container"},lw={class:"map-flex"},hw=ui(()=>G.createElementVNode("label",null,"Tamaño del radio",-1)),cw={class:"map-flex"},uw=ui(()=>G.createElementVNode("label",null,"Difuminado",-1)),dw={class:"cant-casos ol-attribution ol-unselectable ol-control ol-uncollapsible"},fw={class:"text-cantidad"},gw=ui(()=>G.createElementVNode("span",{class:"ol-bold"},"Casos: ",-1)),_w={id:"popup",class:"ol-popup"},pw=[ui(()=>G.createElementVNode("a",{id:"popup-closer",class:"ol-popup-closer"},null,-1)),ui(()=>G.createElementVNode("div",{id:"popup-content"},null,-1))];function mw(r,t,e,i,n,o){var a;return G.openBlock(),G.createElementBlock("div",{class:"map-container",style:G.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[G.createElementVNode("div",QE,[G.withDirectives(G.createElementVNode("div",tw,[G.createElementVNode("button",{title:"Ir a la ciudad",class:"jl2-button-map",onClick:t[0]||(t[0]=(...h)=>r.irACiudad&&r.irACiudad(...h))},ew)],512),[[G.vShow,r.loadMapa.country!=="Bolivia"]]),G.createElementVNode("div",iw,[G.createElementVNode("button",{title:"Mapa con Marcador",class:G.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="1"}]),onClick:t[1]||(t[1]=()=>r.type="1")},nw,2),G.createElementVNode("button",{title:"Mapa de Calor",class:G.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="0"}]),onClick:t[2]||(t[2]=()=>r.type="0")},rw,2)]),G.withDirectives(G.createElementVNode("div",sw,[G.createElementVNode("button",{title:"Ver Opciones",class:"jl2-button-map",onClick:t[3]||(t[3]=(...h)=>r.toggleSettings&&r.toggleSettings(...h))},ow)],512),[[G.vShow,!r.showSetting&&r.type==="0"]]),G.withDirectives(G.createElementVNode("div",aw,[G.createElementVNode("a",{onClick:t[4]||(t[4]=(...h)=>r.toggleSettings&&r.toggleSettings(...h)),class:"ol-popup-closer"}),G.createElementVNode("div",lw,[hw,G.withDirectives(G.createElementVNode("input",{id:"radius",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[5]||(t[5]=h=>r.radius=h)},null,512),[[G.vModelText,r.radius]])]),G.createElementVNode("div",cw,[uw,G.withDirectives(G.createElementVNode("input",{id:"blur",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[6]||(t[6]=h=>r.blur=h)},null,512),[[G.vModelText,r.blur]])])],512),[[G.vShow,r.type==="0"&&r.showSetting]]),G.createElementVNode("div",dw,[G.createElementVNode("p",fw,[gw,G.createTextVNode(G.toDisplayString(r.cantidad),1)])])],512),G.withDirectives(G.createElementVNode("div",_w,pw,512),[[G.vShow,r.type==="1"]])],4)}const yw=ra(JE,[["render",mw],["__scopeId","data-v-82f96ae5"]]);de.CoordinatesVerifyPolygon=Gg,de.MapHeatComponent=yw,de.MapSearchAddress=Tp,de.MapView=Lp,de.listenServiceGoogleMaps=rg,de.searchAutomaticGoogleMaps=og,de.searchManualGoogleMaps=sg,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"})});
448
+ `){Et+=ct,ct=0,K=m*P+W*v,++H;continue}const st=y[B+1]||c.font;st!==Z&&(n&&Q.push("font",st),i&&q.push("font",st),Z=st),ct=Math.max(ct,w[V]);const F=[U,K+W*S[V]+m*(S[V]-T[H]),.5*(v+ct)+Et];K+=S[V],n&&Q.push("strokeText",F),i&&q.push("fillText",F),++V}return Array.prototype.push.apply(M,Q),Array.prototype.push.apply(M,q),this.labels_[o]=z,z}replayTextBackground_(t,e,i,n,o,a,h){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,o),t.lineTo.apply(t,e),a&&(this.alignFill_=a[2],this.fill_(t)),h&&(this.setStrokeStyle_(t,h),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,o,a,h,c,d,f,_,m,v,y,E,b){h*=m[0],c*=m[1];let S=i-h,w=n-c;const T=o+d>t?t-d:o,P=a+f>e?e-f:a,M=y[3]+T*m[0]+y[1],I=y[0]+P*m[1]+y[2],D=S-y[3],z=w-y[0];(E||_!==0)&&(Ii[0]=D,Ai[0]=D,Ii[1]=z,hi[1]=z,hi[0]=D+M,ci[0]=hi[0],ci[1]=z+I,Ai[1]=ci[1]);let W;return _!==0?(W=ze(Vt(),i,n,1,1,_,-i,-n),Ot(W,Ii),Ot(W,hi),Ot(W,ci),Ot(W,Ai),Ei(Math.min(Ii[0],hi[0],ci[0],Ai[0]),Math.min(Ii[1],hi[1],ci[1],Ai[1]),Math.max(Ii[0],hi[0],ci[0],Ai[0]),Math.max(Ii[1],hi[1],ci[1],Ai[1]),Vn)):Ei(Math.min(D,D+M),Math.min(z,z+I),Math.max(D,D+M),Math.max(z,z+I),Vn),v&&(S=Math.round(S),w=Math.round(w)),{drawImageX:S,drawImageY:w,drawImageW:T,drawImageH:P,originX:d,originY:f,declutterBox:{minX:Vn[0],minY:Vn[1],maxX:Vn[2],maxY:Vn[3],value:b},canvasTransform:W,scale:m}}replayImageOrLabel_(t,e,i,n,o,a,h){const c=!!(a||h),d=n.declutterBox,f=t.canvas,_=h?h[2]*n.scale[0]/2:0;return d.minX-_<=f.width/e&&d.maxX+_>=0&&d.minY-_<=f.height/e&&d.maxY+_>=0&&(c&&this.replayTextBackground_(t,Ii,hi,ci,Ai,a,h),yy(t,n.canvasTransform,o,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){if(this.alignFill_){const e=Ot(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const o=this.textStates[e],a=this.createLabel(t,e,n,i),h=this.strokeStates[i],c=this.pixelRatio,d=Gl(Array.isArray(t)?t[0]:t,o.textAlign||Pr),f=Co[o.textBaseline||to],_=h&&h.lineWidth?h.lineWidth:0,m=a.width/c-2*o.scale[0],v=d*m+2*(.5-d)*_,y=f*a.height/c+2*(.5-f)*_;return{label:a,anchorX:v,anchorY:y}}execute_(t,e,i,n,o,a,h,c){let d;this.pixelCoordinates_&&ei(i,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=tn(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),Em(this.renderedTransform_,i));let f=0;const _=n.length;let m=0,v,y,E,b,S,w,T,P,M,I,D,z,W=0,K=0,Q=null,q=null;const ct=this.coordinateCache_,Et=this.viewRotation_,V=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,H={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:Et},Z=this.instructions!=n||this.overlaps?0:200;let B,yt,U,st;for(;f<_;){const F=n[f];switch(F[0]){case tt.BEGIN_GEOMETRY:B=F[1],st=F[3],B.getGeometry()?h!==void 0&&!se(h,st.getExtent())?f=F[2]+1:++f:f=F[2];break;case tt.BEGIN_PATH:W>Z&&(this.fill_(t),W=0),K>Z&&(t.stroke(),K=0),!W&&!K&&(t.beginPath(),b=NaN,S=NaN),++f;break;case tt.CIRCLE:m=F[1];const J=d[m],Y=d[m+1],nt=d[m+2],Ft=d[m+3],St=nt-J,ve=Ft-Y,je=Math.sqrt(St*St+ve*ve);t.moveTo(J+je,Y),t.arc(J,Y,je,0,2*Math.PI,!0),++f;break;case tt.CLOSE_PATH:t.closePath(),++f;break;case tt.CUSTOM:m=F[1],v=F[2];const Di=F[3],xe=F[4],Oi=F.length==6?F[5]:void 0;H.geometry=Di,H.feature=B,f in ct||(ct[f]=[]);const We=ct[f];Oi?Oi(d,m,v,2,We):(We[0]=d[m],We[1]=d[m+1],We.length=2),xe(We,H),++f;break;case tt.DRAW_IMAGE:m=F[1],v=F[2],P=F[3],y=F[4],E=F[5];let Fi=F[6];const Pe=F[7],zi=F[8],di=F[9],Xn=F[10];let fi=F[11];const hn=F[12];let Xt=F[13];const ie=F[14],me=F[15];if(!P&&F.length>=20){M=F[19],I=F[20],D=F[21],z=F[22];const ne=this.drawLabelWithPointPlacement_(M,I,D,z);P=ne.label,F[3]=P;const Zi=F[23];y=(ne.anchorX-Zi)*this.pixelRatio,F[4]=y;const he=F[24];E=(ne.anchorY-he)*this.pixelRatio,F[5]=E,Fi=P.height,F[6]=Fi,Xt=P.width,F[13]=Xt}let ke;F.length>25&&(ke=F[25]);let He,Ve,Re;F.length>17?(He=F[16],Ve=F[17],Re=F[18]):(He=sn,Ve=!1,Re=!1),Xn&&V?fi+=Et:!Xn&&!V&&(fi-=Et);let Ni=0;for(;m<v;m+=2){if(ke&&ke[Ni++]<Xt/this.pixelRatio)continue;const ne=this.calculateImageOrLabelDimensions_(P.width,P.height,d[m],d[m+1],Xt,Fi,y,E,zi,di,fi,hn,o,He,Ve||Re,B),Zi=[t,e,P,ne,Pe,Ve?Q:null,Re?q:null];if(c){if(ie==="none")continue;if(ie==="obstacle"){c.insert(ne.declutterBox);continue}else{let he,Me;if(me){const Yt=v-m;if(!me[Yt]){me[Yt]=Zi;continue}if(he=me[Yt],delete me[Yt],Me=jd(he),c.collides(Me))continue}if(c.collides(ne.declutterBox))continue;he&&(c.insert(Me),this.replayImageOrLabel_.apply(this,he)),c.insert(ne.declutterBox)}}this.replayImageOrLabel_.apply(this,Zi)}++f;break;case tt.DRAW_CHARS:const cn=F[1],Wt=F[2],Ur=F[3],So=F[4];z=F[5];const Zr=F[6],jr=F[7],Po=F[8];D=F[9];const gi=F[10];M=F[11],I=F[12];const ko=[F[13],F[13]],Wr=this.textStates[I],Bi=Wr.font,Gi=[Wr.scale[0]*jr,Wr.scale[1]*jr];let Ui;Bi in this.widths_?Ui=this.widths_[Bi]:(Ui={},this.widths_[Bi]=Ui);const Ro=zd(d,cn,Wt,2),Mo=Math.abs(Gi[0])*Ru(Bi,M,Ui);if(So||Mo<=Ro){const ne=this.textStates[I].textAlign,Zi=(Ro-Mo)*Gl(M,ne),he=EE(d,cn,Wt,2,M,Zi,Zr,Math.abs(Gi[0]),Ru,Bi,Ui,V?0:this.viewRotation_);t:if(he){const Me=[];let Yt,Yn,Kn,te,ce;if(D)for(Yt=0,Yn=he.length;Yt<Yn;++Yt){ce=he[Yt],Kn=ce[4],te=this.createLabel(Kn,I,"",D),y=ce[2]+(Gi[0]<0?-gi:gi),E=Ur*te.height+(.5-Ur)*2*gi*Gi[1]/Gi[0]-Po;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,y,E,0,0,ce[3],ko,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Me.push([t,e,te,zt,1,null,null])}if(z)for(Yt=0,Yn=he.length;Yt<Yn;++Yt){ce=he[Yt],Kn=ce[4],te=this.createLabel(Kn,I,z,""),y=ce[2],E=Ur*te.height-Po;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,y,E,0,0,ce[3],ko,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Me.push([t,e,te,zt,1,null,null])}c&&c.load(Me.map(jd));for(let zt=0,X=Me.length;zt<X;++zt)this.replayImageOrLabel_.apply(this,Me[zt])}}++f;break;case tt.END_GEOMETRY:if(a!==void 0){B=F[1];const ne=a(B,st);if(ne)return ne}++f;break;case tt.FILL:Z?W++:this.fill_(t),++f;break;case tt.MOVE_TO_LINE_TO:for(m=F[1],v=F[2],yt=d[m],U=d[m+1],w=yt+.5|0,T=U+.5|0,(w!==b||T!==S)&&(t.moveTo(yt,U),b=w,S=T),m+=2;m<v;m+=2)yt=d[m],U=d[m+1],w=yt+.5|0,T=U+.5|0,(m==v-2||w!==b||T!==S)&&(t.lineTo(yt,U),b=w,S=T);++f;break;case tt.SET_FILL_STYLE:Q=F,this.alignFill_=F[2],W&&(this.fill_(t),W=0,K&&(t.stroke(),K=0)),t.fillStyle=F[1],++f;break;case tt.SET_STROKE_STYLE:q=F,K&&(t.stroke(),K=0),this.setStrokeStyle_(t,F),++f;break;case tt.STROKE:Z?K++:t.stroke(),++f;break;default:++f;break}}W&&this.fill_(t),K&&t.stroke()}execute(t,e,i,n,o,a){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,o,void 0,void 0,a)}executeHitDetection(t,e,i,n,o){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,n,o)}}const bE=LE,Ul=["Polygon","Circle","LineString","Image","Text","Default"];class TE{constructor(t,e,i,n,o,a){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=a,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Vt(),this.createExecutors_(o)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];i===void 0&&(i={},this.executorsByZIndex_[e]=i);const n=t[e];for(const o in n){const a=n[o];i[o]=new bE(this.resolution_,this.pixelRatio_,this.overlaps_,a)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let n=0,o=t.length;n<o;++n)if(t[n]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,o,a){n=Math.round(n);const h=n*2+1,c=ze(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=$t(h,h,void 0,{willReadFrequently:!0}));const f=this.hitDetectionContext_;f.canvas.width!==h||f.canvas.height!==h?(f.canvas.width=h,f.canvas.height=h):d||f.clearRect(0,0,h,h);let _;this.renderBuffer_!==void 0&&(_=ge(),vr(_,t),Ps(_,e*(this.renderBuffer_+n),_));const m=CE(n);let v;function y(M,I){const D=f.getImageData(0,0,h,h).data;for(let z=0,W=m.length;z<W;z++)if(D[m[z]]>0){if(!a||v!=="Image"&&v!=="Text"||a.includes(M)){const K=(m[z]-3)/4,Q=n-K%h,q=n-(K/h|0),ct=o(M,I,Q*Q+q*q);if(ct)return ct}f.clearRect(0,0,h,h);break}}const E=Object.keys(this.executorsByZIndex_).map(Number);E.sort(xi);let b,S,w,T,P;for(b=E.length-1;b>=0;--b){const M=E[b].toString();for(w=this.executorsByZIndex_[M],S=Ul.length-1;S>=0;--S)if(v=Ul[S],T=w[v],T!==void 0&&(P=T.executeHitDetection(f,c,i,y,_),P))return P}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],o=e[2],a=e[3],h=[i,n,i,a,o,a,o,n];return tn(h,0,8,2,t,h),h}isEmpty(){return bn(this.executorsByZIndex_)}execute(t,e,i,n,o,a,h){const c=Object.keys(this.executorsByZIndex_).map(Number);c.sort(xi),this.maxExtent_&&(t.save(),this.clip(t,i)),a=a||Ul;let d,f,_,m,v,y;for(h&&c.reverse(),d=0,f=c.length;d<f;++d){const E=c[d].toString();for(v=this.executorsByZIndex_[E],_=0,m=a.length;_<m;++_){const b=a[_];y=v[b],y!==void 0&&y.execute(t,e,i,n,o,h)}}this.maxExtent_&&t.restore()}}const Zl={};function CE(r){if(Zl[r]!==void 0)return Zl[r];const t=r*2+1,e=r*r,i=new Array(e+1);for(let o=0;o<=r;++o)for(let a=0;a<=r;++a){const h=o*o+a*a;if(h>e)break;let c=i[h];c||(c=[],i[h]=c),c.push(((r+o)*t+(r+a))*4+3),o>0&&c.push(((r-o)*t+(r+a))*4+3),a>0&&(c.push(((r+o)*t+(r-a))*4+3),o>0&&c.push(((r-o)*t+(r-a))*4+3))}const n=[];for(let o=0,a=i.length;o<a;++o)i[o]&&n.push(...i[o]);return Zl[r]=n,n}const Hd=TE;class SE extends Gd{constructor(t,e,i,n,o,a,h){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?Pa(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=o,this.squaredTolerance_=a,this.userTransform_=h,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=Vt()}drawImages_(t,e,i,n){if(!this.image_)return;const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_,h=this.tmpLocalTransform_,c=a.globalAlpha;this.imageOpacity_!=1&&(a.globalAlpha=c*this.imageOpacity_);let d=this.imageRotation_;this.transformRotation_===0&&(d-=this.viewRotation_),this.imageRotateWithView_&&(d+=this.viewRotation_);for(let f=0,_=o.length;f<_;f+=2){const m=o[f]-this.imageAnchorX_,v=o[f+1]-this.imageAnchorY_;if(d!==0||this.imageScale_[0]!=1||this.imageScale_[1]!=1){const y=m+this.imageAnchorX_,E=v+this.imageAnchorY_;ze(h,y,E,1,1,d,-y,-E),a.save(),a.transform.apply(a,h),a.translate(y,E),a.scale(this.imageScale_[0],this.imageScale_[1]),a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),a.restore()}else a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,m,v,this.imageWidth_,this.imageHeight_)}this.imageOpacity_!=1&&(a.globalAlpha=c)}drawText_(t,e,i,n){if(!this.textState_||this.text_==="")return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_;let h=this.textRotation_;for(this.transformRotation_===0&&(h-=this.viewRotation_),this.textRotateWithView_&&(h+=this.viewRotation_);e<i;e+=n){const c=o[e]+this.textOffsetX_,d=o[e+1]+this.textOffsetY_;h!==0||this.textScale_[0]!=1||this.textScale_[1]!=1?(a.save(),a.translate(c-this.textOffsetX_,d-this.textOffsetY_),a.rotate(h),a.translate(this.textOffsetX_,this.textOffsetY_),a.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&a.strokeText(this.text_,0,0),this.textFillState_&&a.fillText(this.text_,0,0),a.restore()):(this.textStrokeState_&&a.strokeText(this.text_,c,d),this.textFillState_&&a.fillText(this.text_,c,d))}}moveToLineTo_(t,e,i,n,o){const a=this.context_,h=tn(t,e,i,n,this.transform_,this.pixelCoordinates_);a.moveTo(h[0],h[1]);let c=h.length;o&&(c-=2);for(let d=2;d<c;d+=2)a.lineTo(h[d],h[d+1]);return o&&a.closePath(),i}drawRings_(t,e,i,n){for(let o=0,a=i.length;o<a;++o)e=this.moveToLineTo_(t,e,i[o],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=Rm(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],o=Math.sqrt(i*i+n*n),a=this.context_;a.beginPath(),a.arc(e[0],e[1],o,0,2*Math.PI),this.fillState_&&a.fill(),this.strokeState_&&a.stroke()}this.text_!==""&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t);break}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let i=0,n=e.length;i<n;++i)this.drawGeometry(e[i])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(this.text_!==""){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(se(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=t.getFlatCoordinates();let o=0;const a=t.getEnds(),h=t.getStride();i.beginPath();for(let c=0,d=a.length;c<d;++c)o=this.moveToLineTo_(n,o,a[c],h,!1);i.stroke()}if(this.text_!==""){const i=t.getFlatMidpoints();this.drawText_(i,0,i.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const o=t.getEndss(),a=t.getStride();e.beginPath();for(let h=0,c=o.length;h<c;++h){const d=o[h];n=this.drawRings_(i,n,d,a)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),ei(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:Pr;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(!t)this.fillState_=null;else{const i=t.getColor();this.fillState_={fillStyle:Ge(i||ae)}}if(!e)this.strokeState_=null;else{const i=e.getColor(),n=e.getLineCap(),o=e.getLineDash(),a=e.getLineDashOffset(),h=e.getLineJoin(),c=e.getWidth(),d=e.getMiterLimit(),f=o||ni;this.strokeState_={lineCap:n!==void 0?n:Mn,lineDash:this.pixelRatio_===1?f:f.map(_=>_*this.pixelRatio_),lineDashOffset:(a||ri)*this.pixelRatio_,lineJoin:h!==void 0?h:In,lineWidth:(c!==void 0?c:kr)*this.pixelRatio_,miterLimit:d!==void 0?d:Cr,strokeStyle:Ge(i||Sr)}}}setImageStyle(t){let e;if(!t||!(e=t.getSize())){this.image_=null;return}const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),o=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=o[0],this.imageOriginY_=o[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const a=t.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/i,a[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(!t)this.text_="";else{const e=t.getFill();if(!e)this.textFillState_=null;else{const v=e.getColor();this.textFillState_={fillStyle:Ge(v||ae)}}const i=t.getStroke();if(!i)this.textStrokeState_=null;else{const v=i.getColor(),y=i.getLineCap(),E=i.getLineDash(),b=i.getLineDashOffset(),S=i.getLineJoin(),w=i.getWidth(),T=i.getMiterLimit();this.textStrokeState_={lineCap:y!==void 0?y:Mn,lineDash:E||ni,lineDashOffset:b||ri,lineJoin:S!==void 0?S:In,lineWidth:w!==void 0?w:kr,miterLimit:T!==void 0?T:Cr,strokeStyle:Ge(v||Sr)}}const n=t.getFont(),o=t.getOffsetX(),a=t.getOffsetY(),h=t.getRotateWithView(),c=t.getRotation(),d=t.getScaleArray(),f=t.getText(),_=t.getTextAlign(),m=t.getTextBaseline();this.textState_={font:n!==void 0?n:Pu,textAlign:_!==void 0?_:Pr,textBaseline:m!==void 0?m:to},this.text_=f!==void 0?Array.isArray(f)?f.reduce((v,y,E)=>v+=E%2?" ":y,""):f:"",this.textOffsetX_=o!==void 0?this.pixelRatio_*o:0,this.textOffsetY_=a!==void 0?this.pixelRatio_*a:0,this.textRotateWithView_=h!==void 0?h:!1,this.textRotation_=c!==void 0?c:0,this.textScale_=[this.pixelRatio_*d[0],this.pixelRatio_*d[1]]}}}const PE=SE,Ze=.5;function kE(r,t,e,i,n,o,a){const h=r[0]*Ze,c=r[1]*Ze,d=$t(h,c);d.imageSmoothingEnabled=!1;const f=d.canvas,_=new PE(d,Ze,n,null,a),m=e.length,v=Math.floor((256*256*256-1)/m),y={};for(let b=1;b<=m;++b){const S=e[b-1],w=S.getStyleFunction()||i;if(!w)continue;let T=w(S,o);if(!T)continue;Array.isArray(T)||(T=[T]);const M=(b*v).toString(16).padStart(7,"#00000");for(let I=0,D=T.length;I<D;++I){const z=T[I],W=z.getGeometryFunction()(S);if(!W||!se(n,W.getExtent()))continue;const K=z.clone(),Q=K.getFill();Q&&Q.setColor(M);const q=K.getStroke();q&&(q.setColor(M),q.setLineDash(null)),K.setText(void 0);const ct=z.getImage();if(ct){const Z=ct.getImageSize();if(!Z)continue;const B=$t(Z[0],Z[1],void 0,{alpha:!1}),yt=B.canvas;B.fillStyle=M,B.fillRect(0,0,yt.width,yt.height),K.setImage(new _l({img:yt,anchor:ct.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:ct.getOrigin(),opacity:1,size:ct.getSize(),scale:ct.getScale(),rotation:ct.getRotation(),rotateWithView:ct.getRotateWithView()}))}const Et=K.getZIndex()||0;let V=y[Et];V||(V={},y[Et]=V,V.Polygon=[],V.Circle=[],V.LineString=[],V.Point=[]);const H=W.getType();if(H==="GeometryCollection"){const Z=W.getGeometriesArrayRecursive();for(let B=0,yt=Z.length;B<yt;++B){const U=Z[B];V[U.getType().replace("Multi","")].push(U,K)}}else V[H.replace("Multi","")].push(W,K)}}const E=Object.keys(y).map(Number).sort(xi);for(let b=0,S=E.length;b<S;++b){const w=y[E[b]];for(const T in w){const P=w[T];for(let M=0,I=P.length;M<I;M+=2){_.setStyle(P[M+1]);for(let D=0,z=t.length;D<z;++D)_.setTransform(t[D]),_.drawGeometry(P[M])}}}return d.getImageData(0,0,f.width,f.height)}function RE(r,t,e){const i=[];if(e){const n=Math.floor(Math.round(r[0])*Ze),o=Math.floor(Math.round(r[1])*Ze),a=(It(n,0,e.width-1)+It(o,0,e.height-1)*e.width)*4,h=e.data[a],c=e.data[a+1],f=e.data[a+2]+256*(c+256*h),_=Math.floor((256*256*256-1)/t.length);f&&f%_===0&&i.push(t[f/_-1])}return i}const ME=.5,Vd={Point:GE,LineString:zE,Polygon:ZE,MultiPoint:UE,MultiLineString:NE,MultiPolygon:BE,GeometryCollection:FE,Circle:DE};function IE(r,t){return parseInt(at(r),10)-parseInt(at(t),10)}function AE(r,t){const e=jl(r,t);return e*e}function jl(r,t){return ME*r/t}function DE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Circle");c.setFillStrokeStyle(o,a),c.drawCircle(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Xd(r,t,e,i,n,o,a){let h=!1;const c=e.getImage();if(c){const d=c.getImageState();d==Ct.LOADED||d==Ct.ERROR?c.unlistenImageChange(n):(d==Ct.IDLE&&c.load(),c.listenImageChange(n),h=!0)}return OE(r,t,e,i,o,a),h}function OE(r,t,e,i,n,o){const a=e.getGeometryFunction()(t);if(!a)return;const h=a.simplifyTransformed(i,n);if(e.getRenderer())Yd(r,h,e,t);else{const d=Vd[h.getType()];d(r,h,e,t,o)}}function Yd(r,t,e,i){if(t.getType()=="GeometryCollection"){const o=t.getGeometries();for(let a=0,h=o.length;a<h;++a)Yd(r,o[a],e,i);return}r.getBuilder(e.getZIndex(),"Default").drawCustom(t,i,e.getRenderer(),e.getHitDetectionRenderer())}function FE(r,t,e,i,n){const o=t.getGeometriesArray();let a,h;for(a=0,h=o.length;a<h;++a){const c=Vd[o[a].getType()];c(r,o[a],e,i,n)}}function zE(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function NE(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawMultiLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function BE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(a||o){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawMultiPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function GE(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=Ct.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const _=r.getBuilder(e.getZIndex(),"Image");_.setImageStyle(o,h),_.drawPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function UE(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=Ct.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const _=r.getBuilder(e.getZIndex(),"Image");_.setImageStyle(o,h),_.drawMultiPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawMultiPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function ZE(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}class jE extends Md{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=ge(),this.wrappedRenderedExtent_=ge(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,o=e.viewState,a=o.center,h=o.resolution,c=o.projection,d=o.rotation,f=c.getExtent(),_=this.getLayer().getSource(),m=e.pixelRatio,v=e.viewHints,y=!(v[Ut.ANIMATING]||v[Ut.INTERACTING]),E=this.compositionContext_,b=Math.round(e.size[0]*m),S=Math.round(e.size[1]*m),w=_.getWrapX()&&c.canWrapX(),T=w?Tt(f):null,P=w?Math.ceil((n[2]-f[2])/T)+1:1;let M=w?Math.floor((n[0]-f[0])/T):0;do{const I=this.getRenderTransform(a,h,d,m,b,S,M*T);t.execute(E,1,I,d,y,void 0,i)}while(++M<P)}setupCompositionContext_(){if(this.opacity_!==1){const t=$t(this.context.canvas.width,this.context.canvas.height,Rd);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(this.opacity_!==1){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,$s(this.compositionContext_),Rd.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,n=t.layerStatesArray[t.layerIndex];wm(this.pixelTransform,1/i,1/i),Bs(this.inversePixelTransform,this.pixelTransform);const o=Qc(this.pixelTransform);this.useContainer(e,o,this.getBackground(t));const a=this.context,h=a.canvas,c=this.replayGroup_,d=this.declutterExecutorGroup;let f=c&&!c.isEmpty()||d&&!d.isEmpty();if(!f&&!(this.getLayer().hasListener(qt.PRERENDER)||this.getLayer().hasListener(qt.POSTRENDER)))return null;const _=Math.round(t.size[0]*i),m=Math.round(t.size[1]*i);h.width!=_||h.height!=m?(h.width=_,h.height=m,h.style.transform!==o&&(h.style.transform=o)):this.containerReused||a.clearRect(0,0,_,m),this.preRender(a,t);const v=t.viewState;v.projection,this.opacity_=n.opacity,this.setupCompositionContext_();let y=!1;if(f&&n.extent&&this.clipping){const E=Qi(n.extent);f=se(E,t.extent),y=f&&!Yi(E,t.extent),y&&this.clipUnrotated(this.compositionContext_,t,E)}return f&&this.renderWorlds(c,t),y&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(a,t),this.renderedRotation_!==v.rotation&&(this.renderedRotation_=v.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise(e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=[this.context.canvas.width,this.context.canvas.height];Ot(this.pixelTransform,i);const n=this.renderedCenter_,o=this.renderedResolution_,a=this.renderedRotation_,h=this.renderedProjection_,c=this.wrappedRenderedExtent_,d=this.getLayer(),f=[],_=i[0]*Ze,m=i[1]*Ze;f.push(this.getRenderTransform(n,o,a,Ze,_,m,0).slice());const v=d.getSource(),y=h.getExtent();if(v.getWrapX()&&h.canWrapX()&&!Yi(y,c)){let E=c[0];const b=Tt(y);let S=0,w;for(;E<y[0];)--S,w=b*S,f.push(this.getRenderTransform(n,o,a,Ze,_,m,w).slice()),E+=b;for(S=0,E=c[2];E>y[2];)++S,w=b*S,f.push(this.getRenderTransform(n,o,a,Ze,_,m,w).slice()),E-=b}this.hitDetectionImageData_=kE(i,f,this.renderedFeatures_,d.getStyleFunction(),c,o,a)}e(RE(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,n,o){if(!this.replayGroup_)return;const a=e.viewState.resolution,h=e.viewState.rotation,c=this.getLayer(),d={},f=function(v,y,E){const b=at(v),S=d[b];if(S){if(S!==!0&&E<S.distanceSq){if(E===0)return d[b]=!0,o.splice(o.lastIndexOf(S),1),n(v,c,y);S.geometry=y,S.distanceSq=E}}else{if(E===0)return d[b]=!0,n(v,c,y);o.push(d[b]={feature:v,layer:c,geometry:y,distanceSq:E,callback:n})}};let _;const m=[this.replayGroup_];return this.declutterExecutorGroup&&m.push(this.declutterExecutorGroup),m.some(v=>_=v.forEachFeatureAtCoordinate(t,a,h,i,f,v===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(y=>y.value):null)),_}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[Ut.ANIMATING],o=t.viewHints[Ut.INTERACTING],a=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(this.ready&&!a&&n||!h&&o)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const c=t.extent,d=t.viewState,f=d.projection,_=d.resolution,m=t.pixelRatio,v=e.getRevision(),y=e.getRenderBuffer();let E=e.getRenderOrder();E===void 0&&(E=IE);const b=d.center.slice(),S=Ps(c,y*_),w=S.slice(),T=[S.slice()],P=f.getExtent();if(i.getWrapX()&&f.canWrapX()&&!Yi(P,t.extent)){const V=Tt(P),H=Math.max(Tt(S)/2,V);S[0]=P[0]-H,S[2]=P[2]+H,Mc(b,f);const Z=Rc(T[0],f);Z[0]<P[0]&&Z[2]<P[2]?T.push([Z[0]+V,Z[1],Z[2]+V,Z[3]]):Z[0]>P[0]&&Z[2]>P[2]&&T.push([Z[0]-V,Z[1],Z[2]-V,Z[3]])}if(this.ready&&this.renderedResolution_==_&&this.renderedRevision_==v&&this.renderedRenderOrder_==E&&Yi(this.wrappedRenderedExtent_,S))return ei(this.renderedExtent_,w)||(this.hitDetectionImageData_=null,this.renderedExtent_=w),this.renderedCenter_=b,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const M=new Zd(jl(_,m),S,_,m);let I;this.getLayer().getDeclutter()&&(I=new Zd(jl(_,m),S,_,m));let D;for(let V=0,H=T.length;V<H;++V)i.loadFeatures(T[V],_,f);const z=AE(_,m);let W=!0;const K=V=>{let H;const Z=V.getStyleFunction()||e.getStyleFunction();if(Z&&(H=Z(V,_)),H){const B=this.renderFeature(V,z,H,M,D,I);W=W&&!B}},Q=Uc(S),q=i.getFeaturesInExtent(Q);E&&q.sort(E);for(let V=0,H=q.length;V<H;++V)K(q[V]);this.renderedFeatures_=q,this.ready=W;const ct=M.finish(),Et=new Hd(S,_,m,i.getOverlaps(),ct,e.getRenderBuffer());return I&&(this.declutterExecutorGroup=new Hd(S,_,m,i.getOverlaps(),I.finish(),e.getRenderBuffer())),this.renderedResolution_=_,this.renderedRevision_=v,this.renderedRenderOrder_=E,this.renderedExtent_=w,this.wrappedRenderedExtent_=S,this.renderedCenter_=b,this.renderedProjection_=f,this.replayGroup_=Et,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,o,a){if(!i)return!1;let h=!1;if(Array.isArray(i))for(let c=0,d=i.length;c<d;++c)h=Xd(n,t,i[c],e,this.boundHandleStyleImageChange_,o,a)||h;else h=Xd(n,t,i,e,this.boundHandleStyleImageChange_,o,a);return h}}const WE=jE;class HE extends xl{constructor(t){super(t)}createRenderer(){return new WE(this)}}const Kd=HE,Qt={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"};class VE extends be{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=t.insertFirst!==void 0?t.insertFirst:!0,this.stopEvent=t.stopEvent!==void 0?t.stopEvent:!0,this.element=document.createElement("div"),this.element.className=t.className!==void 0?t.className:"ol-overlay-container "+cy,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=t.autoPan===!0?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener(Qt.ELEMENT,this.handleElementChanged),this.addChangeListener(Qt.MAP,this.handleMapChanged),this.addChangeListener(Qt.OFFSET,this.handleOffsetChanged),this.addChangeListener(Qt.POSITION,this.handlePositionChanged),this.addChangeListener(Qt.POSITIONING,this.handlePositioningChanged),t.element!==void 0&&this.setElement(t.element),this.setOffset(t.offset!==void 0?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),t.position!==void 0&&this.setPosition(t.position)}getElement(){return this.get(Qt.ELEMENT)}getId(){return this.id}getMap(){return this.get(Qt.MAP)||null}getOffset(){return this.get(Qt.OFFSET)}getPosition(){return this.get(Qt.POSITION)}getPositioning(){return this.get(Qt.POSITIONING)}handleElementChanged(){Su(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(Qs(this.element),wt(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=ht(t,oi.POSTRENDER,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set(Qt.ELEMENT,t)}setMap(t){this.set(Qt.MAP,t)}setOffset(t){this.set(Qt.OFFSET,t)}setPosition(t){this.set(Qt.POSITION,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get(Qt.POSITION))return;const i=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),o=this.getRect(n,[dy(n),fy(n)]);t=t||{};const a=t.margin===void 0?20:t.margin;if(!Yi(i,o)){const h=o[0]-i[0],c=i[2]-o[2],d=o[1]-i[1],f=i[3]-o[3],_=[0,0];if(h<0?_[0]=h-a:c<0&&(_[0]=Math.abs(c)+a),d<0?_[1]=d-a:f<0&&(_[1]=Math.abs(f)+a),_[0]!==0||_[1]!==0){const m=e.getView().getCenterInternal(),v=e.getPixelFromCoordinateInternal(m);if(!v)return;const y=[v[0]+_[0],v[1]+_[1]],E=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(y),duration:E.duration,easing:E.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),n=i.left+window.pageXOffset,o=i.top+window.pageYOffset;return[n,o,n+e[0],o+e[1]]}setPositioning(t){this.set(Qt.POSITIONING,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e){this.setVisible(!1);return}const i=t.getPixelFromCoordinate(e),n=t.getSize();this.updateRenderedPosition(i,n)}updateRenderedPosition(t,e){const i=this.element.style,n=this.getOffset(),o=this.getPositioning();this.setVisible(!0);const a=Math.round(t[0]+n[0])+"px",h=Math.round(t[1]+n[1])+"px";let c="0%",d="0%";o=="bottom-right"||o=="center-right"||o=="top-right"?c="-100%":(o=="bottom-center"||o=="center-center"||o=="top-center")&&(c="-50%"),o=="bottom-left"||o=="bottom-center"||o=="bottom-right"?d="-100%":(o=="center-left"||o=="center-center"||o=="center-right")&&(d="-50%");const f=`translate(${c}, ${d}) translate(${a}, ${h})`;this.rendered.transform_!=f&&(this.rendered.transform_=f,i.transform=f)}getOptions(){return this.options}}const XE=VE,qd=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],$d={ENTERFULLSCREEN:"enterfullscreen",LEAVEFULLSCREEN:"leavefullscreen"};class YE extends ro{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target}),this.on,this.once,this.un,this.keys_=t.keys!==void 0?t.keys:!1,this.source_=t.source,this.isInFullscreen_=!1,this.boundHandleMapTargetChange_=this.handleMapTargetChange_.bind(this),this.cssClassName_=t.className!==void 0?t.className:"ol-full-screen",this.documentListeners_=[],this.activeClassName_=t.activeClassName!==void 0?t.activeClassName.split(" "):[this.cssClassName_+"-true"],this.inactiveClassName_=t.inactiveClassName!==void 0?t.inactiveClassName.split(" "):[this.cssClassName_+"-false"];const e=t.label!==void 0?t.label:"⤢";this.labelNode_=typeof e=="string"?document.createTextNode(e):e;const i=t.labelActive!==void 0?t.labelActive:"×";this.labelActiveNode_=typeof i=="string"?document.createTextNode(i):i;const n=t.tipLabel?t.tipLabel:"Toggle full-screen";this.button_=document.createElement("button"),this.button_.title=n,this.button_.setAttribute("type","button"),this.button_.appendChild(this.labelNode_),this.button_.addEventListener(rt.CLICK,this.handleClick_.bind(this),!1),this.setClassName_(this.button_,this.isInFullscreen_),this.element.className=`${this.cssClassName_} ${Tr} ${qs}`,this.element.appendChild(this.button_)}handleClick_(t){t.preventDefault(),this.handleFullScreen_()}handleFullScreen_(){const t=this.getMap();if(!t)return;const e=t.getOwnerDocument();if(Jd(e))if(Qd(e))qE(e);else{let i;this.source_?i=typeof this.source_=="string"?e.getElementById(this.source_):this.source_:i=t.getTargetElement(),this.keys_?KE(i):tf(i)}}handleFullScreenChange_(){const t=this.getMap();if(!t)return;const e=this.isInFullscreen_;this.isInFullscreen_=Qd(t.getOwnerDocument()),e!==this.isInFullscreen_&&(this.setClassName_(this.button_,this.isInFullscreen_),this.isInFullscreen_?(Js(this.labelActiveNode_,this.labelNode_),this.dispatchEvent($d.ENTERFULLSCREEN)):(Js(this.labelNode_,this.labelActiveNode_),this.dispatchEvent($d.LEAVEFULLSCREEN)),t.updateSize())}setClassName_(t,e){e?(t.classList.remove(...this.inactiveClassName_),t.classList.add(...this.activeClassName_)):(t.classList.remove(...this.activeClassName_),t.classList.add(...this.inactiveClassName_))}setMap(t){const e=this.getMap();e&&e.removeChangeListener(jt.TARGET,this.boundHandleMapTargetChange_),super.setMap(t),this.handleMapTargetChange_(),t&&t.addChangeListener(jt.TARGET,this.boundHandleMapTargetChange_)}handleMapTargetChange_(){const t=this.documentListeners_;for(let i=0,n=t.length;i<n;++i)wt(t[i]);t.length=0;const e=this.getMap();if(e){const i=e.getOwnerDocument();Jd(i)?this.element.classList.remove(Lu):this.element.classList.add(Lu);for(let n=0,o=qd.length;n<o;++n)t.push(ht(i,qd[n],this.handleFullScreenChange_,this));this.handleFullScreenChange_()}}}function Jd(r){const t=r.body;return!!(t.webkitRequestFullscreen||t.requestFullscreen&&r.fullscreenEnabled)}function Qd(r){return!!(r.webkitIsFullScreen||r.fullscreenElement)}function tf(r){r.requestFullscreen?r.requestFullscreen():r.webkitRequestFullscreen&&r.webkitRequestFullscreen()}function KE(r){r.webkitRequestFullscreen?r.webkitRequestFullscreen():tf(r)}function qE(r){r.exitFullscreen?r.exitFullscreen():r.webkitExitFullscreen&&r.webkitExitFullscreen()}const $E=YE,JE=G.defineComponent({name:"MapHeat",props:{coords:Object,loadMapa:Object,typeMap:String,abrirCerrarLoader:Function,onClickMarket:Function,configurationMap:{default:()=>({strokeColor:"#f47521",copyright:"&copy; 2021 Desarrollado por UTIC - Ministerio Público",height:"250px",maxZoom:20,iconMarker:{iconUrl:"/image/gmap01.png",iconSize:[25,41],iconAnchor:[12,41],class:"",type:"image"},dragMarker:!0})}},data:()=>({radius:10,blur:20,zoom:5,type:"0",olMap:null,heatLayer:null,pointLayer:null,countryLayer:null,overlay:null,showSetting:!1,cantidad:0}),watch:{radius(r){this.setRadius(r)},blur(r){this.setBlur(r)},coords(r){this.cantidad=r.features.length,this.updateSource(r),this.updatePointSource(r)},loadMapa(r){this.changeCountryLayer(r)},typeMap(r){this.changeTypeMap(r)},type(r){this.changeTypeMap(r)}},methods:{changeTypeMap(r){r==="0"?(this.heatLayer.setVisible(!0),this.pointLayer.setVisible(!1),this.olMap.removeEventListener("click",this.onClickListener)):(this.heatLayer.setVisible(!1),this.pointLayer.setVisible(!0),this.initClick())},initMap(){const r=`<span class='map-copyright-text' >${this.configurationMap.copyright}</span>`,t=new On({stroke:new ao({color:this.configurationMap.strokeColor,width:3}),text:new Vu({font:"12px Roboto",fill:new oo({color:"#000"}),stroke:new ao({color:"#fff",width:1})})});this.countryLayer=new Kd({source:new yo({url:`${this.loadMapa.data}`,format:new bo}),style:function(i){return t.getText().setText(i.get("name")),t}}),this.heatLayer=new e0({source:new yo({features:[]}),visible:!1,radius:10,blur:25});try{this.pointLayer=this.configurationMap?new Kd({source:new yo({features:[]}),visible:!1,style:i=>{var a,h;return new On({image:new _l({opacity:1,src:(h=(a=this.configurationMap)==null?void 0:a.iconMarker)==null?void 0:h.iconUrl,scale:.45}),zIndex:1})}}):void 0}catch(i){console.log(i)}this.olMap=new xv({controls:Iu({attribution:!1}).extend([new $E({tipLabel:"Pantalla completa"})]).extend([new Mu({collapsible:!1})]),layers:[new I0({source:new b0({attributions:r})}),this.countryLayer,this.heatLayer,this.pointLayer],target:this.$refs["map-root"],view:new Ne({center:[0,0],zoom:this.zoom})});const e=Bc([this.loadMapa.lng,this.loadMapa.lat]);this.olMap.getView().adjustCenter(e),this.fitMap()},initClick(){const r=document.getElementById("popup"),t=document.getElementById("popup-closer");this.overlay=new XE({element:r,autoPan:!0}),this.olMap.addOverlay(this.overlay),t.onclick=()=>this.closeOverlay(),this.olMap.addEventListener("click",this.onClickListener)},closeOverlay(){const r=document.getElementById("popup-closer");return this.overlay.setPosition(void 0),r.blur(),!1},async onClickListener(r){const t=document.getElementById("popup-content"),e=document.getElementById("popup-closer");if(this.olMap.hasFeatureAtPixel(r.pixel)===!0){const i=this.olMap.getFeaturesAtPixel(r.pixel)[0];if(i.getGeometry().getType()==="Point"){const o=this.olMap.getFeaturesAtPixel(r.pixel)[0].getProperties(),a=r.coordinate;this.abrirCerrarLoader&&this.abrirCerrarLoader(!0);try{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1);let h="";this.onClickMarket&&(h=await this.onClickMarket(o)),t.innerHTML=h;const c=this.olMap.getView(),d=i.getGeometry().getExtent(),f=c.getCenter(),_=c.getZoom();c.fit(d,{padding:[325,75,0,75],maxZoom:_});const m=c.getCenter();c.setCenter(f),c.animate({center:m})}catch{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1)}this.overlay.setPosition(a)}}else this.overlay.setPosition(void 0),e.blur()},updateSource(r){if(r&&r.features.length===0){this.heatLayer.getSource().clear();return}if(r){const t=this.heatLayer.getSource(),e=new bo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},updatePointSource(r){if(r&&r.features.length===0){this.pointLayer.getSource().clear();return}if(r){const t=this.pointLayer.getSource(),e=new bo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},async changeCountryLayer(r){if(this.countryLayer){const e=new yo({url:`${r.data}`,format:new bo});await this.countryLayer.setSource(e)}},fitMap(){this.countryLayer.addEventListener("change",this.countryFunction)},countryFunction(r){const t=this.olMap.getView();if(r.target.getSource().getFeatures()[0]){const i=r.target.getSource().getExtent(),n=t.getZoom(),o=t.getCenter();t.fit(i,{padding:[75,75,75,75],maxZoom:6});const a=t.getZoom(),h=t.getCenter();t.setCenter(o),t.setZoom(n),t.animate({center:h}),t.animate({zoom:a})}},setRadius(r){this.heatLayer.setRadius(parseInt(r,10))},setBlur(r){this.heatLayer.setBlur(parseInt(r,10))},irACiudad(){if(this.loadMapa&&this.loadMapa.country!=="Bolivia"){const r=this.olMap.getView(),t=r.getZoom(),e=r.getCenter();r.setCenter(Bc([this.loadMapa.lng,this.loadMapa.lat]));const i=13,n=r.getCenter();r.setCenter(e),r.setZoom(t),r.animate({center:n}),r.animate({zoom:i})}},toggleSettings(){this.showSetting=!this.showSetting}},mounted(){this.countryLayer=this.loadMapa,this.initMap()},beforeDestroy(){this.countryLayer.removeEventListener("change",this.countryFunction),this.olMap.removeEventListener("click",this.onClickListener)}}),zL="",NL="",ui=r=>(G.pushScopeId("data-v-443bbca9"),r=r(),G.popScopeId(),r),QE={ref:"map-root",style:{width:"100%",height:"100%",position:"relative"}},tw={class:"btn-zoom-container ol-control"},ew=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[G.createElementVNode("path",{d:"M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4V224H109.3l9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4H224v114.8l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4V288h114.8l-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4H288V109.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"})],-1))],iw={class:"type-map-container ol-control"},nw=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[G.createElementVNode("path",{d:"M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"})],-1))],rw=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[G.createElementVNode("path",{d:"m153.6 29.9 16-21.3c4-5.4 10.4-8.6 17.1-8.6C198.4 0 208 9.6 208 21.3v22.2c0 13.1 5.4 25.7 14.9 34.7l84.7 80.8c48.8 46.6 76.4 111.2 76.4 178.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6 12.5 0 22.6 10.1 22.6 22.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7 0-27.7 9-54.8 25.6-76.9z"})],-1))],sw={class:"btn-settings ol-control"},ow=[ui(()=>G.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[G.createElementVNode("path",{d:"M495.9 166.6c3.2 8.7.5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4l-55.6 17.8c-8.8 2.8-18.6.3-24.5-6.8-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4c-1.1-8.4-1.7-16.9-1.7-25.5s.6-17.1 1.7-25.4l-43.3-39.4c-6.9-6.2-9.6-15.9-6.4-24.6 4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2 5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8 8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"})],-1))],aw={class:"control-container"},lw={class:"map-flex"},hw=ui(()=>G.createElementVNode("label",null,"Tamaño del radio",-1)),cw={class:"map-flex"},uw=ui(()=>G.createElementVNode("label",null,"Difuminado",-1)),dw={class:"cant-casos ol-attribution ol-unselectable ol-control ol-uncollapsible"},fw={class:"text-cantidad"},gw=ui(()=>G.createElementVNode("span",{class:"ol-bold"},"Casos: ",-1)),_w={id:"popup",class:"ol-popup"},pw=[ui(()=>G.createElementVNode("a",{id:"popup-closer",class:"ol-popup-closer"},null,-1)),ui(()=>G.createElementVNode("div",{id:"popup-content"},null,-1))];function mw(r,t,e,i,n,o){var a;return G.openBlock(),G.createElementBlock("div",{class:"map-container",style:G.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[G.createElementVNode("div",QE,[G.withDirectives(G.createElementVNode("div",tw,[G.createElementVNode("button",{title:"Ir a la ciudad",class:"jl2-button-map",onClick:t[0]||(t[0]=(...h)=>r.irACiudad&&r.irACiudad(...h))},ew)],512),[[G.vShow,r.loadMapa.country!=="Bolivia"]]),G.createElementVNode("div",iw,[G.createElementVNode("button",{title:"Mapa con Marcador",class:G.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="1"}]),onClick:t[1]||(t[1]=()=>r.type="1")},nw,2),G.createElementVNode("button",{title:"Mapa de Calor",class:G.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="0"}]),onClick:t[2]||(t[2]=()=>r.type="0")},rw,2)]),G.withDirectives(G.createElementVNode("div",sw,[G.createElementVNode("button",{title:"Ver Opciones",class:"jl2-button-map",onClick:t[3]||(t[3]=(...h)=>r.toggleSettings&&r.toggleSettings(...h))},ow)],512),[[G.vShow,!r.showSetting&&r.type==="0"]]),G.withDirectives(G.createElementVNode("div",aw,[G.createElementVNode("a",{onClick:t[4]||(t[4]=(...h)=>r.toggleSettings&&r.toggleSettings(...h)),class:"ol-popup-closer"}),G.createElementVNode("div",lw,[hw,G.withDirectives(G.createElementVNode("input",{id:"radius",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[5]||(t[5]=h=>r.radius=h)},null,512),[[G.vModelText,r.radius]])]),G.createElementVNode("div",cw,[uw,G.withDirectives(G.createElementVNode("input",{id:"blur",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[6]||(t[6]=h=>r.blur=h)},null,512),[[G.vModelText,r.blur]])])],512),[[G.vShow,r.type==="0"&&r.showSetting]]),G.createElementVNode("div",dw,[G.createElementVNode("p",fw,[gw,G.createTextVNode(G.toDisplayString(r.cantidad),1)])])],512),G.withDirectives(G.createElementVNode("div",_w,pw,512),[[G.vShow,r.type==="1"]])],4)}const yw=ra(JE,[["render",mw],["__scopeId","data-v-443bbca9"]]);de.CoordinatesVerifyPolygon=Gg,de.MapHeatComponent=yw,de.MapSearchAddress=Tp,de.MapView=Lp,de.listenServiceGoogleMaps=rg,de.searchAutomaticGoogleMaps=og,de.searchManualGoogleMaps=sg,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-geojson-view-ts",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -122,13 +122,14 @@ import Text from "ol/style/Text";
122
122
  import VectorLayer from "ol/layer/Vector";
123
123
  import Overlay from "ol/Overlay";
124
124
  import { Icon, Style } from "ol/style";
125
- import * as L from "leaflet";
125
+
126
126
  import {
127
127
  Attribution,
128
128
  FullScreen,
129
129
  defaults as defaultControls,
130
130
  } from "ol/control";
131
131
  import { defineComponent } from "vue";
132
+ import { markerDefault } from "../helpers/imgBase64";
132
133
 
133
134
  export default defineComponent({
134
135
  name: "MapHeat",
@@ -146,6 +147,8 @@ export default defineComponent({
146
147
  height: "250px",
147
148
  maxZoom: 20,
148
149
  iconMarker: {
150
+ image: markerDefault,
151
+ color: "#f47521",
149
152
  iconUrl: "/image/gmap01.png",
150
153
  iconSize: [25, 41],
151
154
  iconAnchor: [12, 41],
@@ -256,8 +259,10 @@ export default defineComponent({
256
259
  image: new Icon({
257
260
  opacity: 1,
258
261
  src: this.configurationMap?.iconMarker?.iconUrl,
259
- scale: 0.45,
260
- // zIndex: zIndex,
262
+ color: this.configurationMap.iconMarker?.color,
263
+ // img: this.configurationMap.iconMarker.image,
264
+ width: this.configurationMap?.iconMarker.iconSize[0],
265
+ height: this.configurationMap?.iconMarker.iconSize[1],
261
266
  }),
262
267
  zIndex: zIndex,
263
268
  });
@@ -516,7 +521,7 @@ export default defineComponent({
516
521
  font-size: 12px;
517
522
  }
518
523
  & input[type="range"] {
519
- accent-color: var(--primary-color, #f28b0c);
524
+ accent-color: var(--primary-light-color, #f28b0c);
520
525
  // color: red;
521
526
  }
522
527
  }
@@ -525,7 +530,7 @@ export default defineComponent({
525
530
 
526
531
  <style lang="scss">
527
532
  button.jl2-button-map {
528
- background-color: #f29512;
533
+ background-color: var(--primary-color, #f29512);
529
534
  /* padding: 1rem; */
530
535
  & svg {
531
536
  width: 12px;
@@ -547,11 +552,12 @@ button.jl2-button-map-select {
547
552
 
548
553
  .ol-control button {
549
554
  color: white;
550
- background-color: var(--primary-light-color, #f29512);
555
+ background-color: var(--primary-color, #f29512);
551
556
  }
552
557
  .ol-control button:focus,
553
558
  .ol-control button:hover {
554
- background-color: var(--primary-color, #f28b0c);
559
+ // background-color: var(--pssrimary-color, #f28b0c);
560
+ background-color: var(--primary-light-color, #f28b0c);
555
561
  cursor: pointer;
556
562
  border: none !important;
557
563
  outline: none;
@@ -632,7 +638,7 @@ button.jl2-button-map-select {
632
638
  right: -8px;
633
639
  padding: 3px 4px;
634
640
  border-radius: 1rem;
635
- background-color: var(--primary-light-color, #f29512);
641
+ background-color: var(--primary-color, #f29512);
636
642
  }
637
643
  .ol-popup-closer:after {
638
644
  display: flex;
@@ -643,7 +649,7 @@ button.jl2-button-map-select {
643
649
  }
644
650
  .ol-popup-closer:hover::after {
645
651
  content: "✖";
646
- background-color: var(--primary-color, #f28b0c);
652
+ background-color: var(--primary-light-color, #f28b0c);
647
653
  }
648
654
  .map-copyright-text {
649
655
  font-size: 12px;