PageSourceSearch

https://cdn.clima.com/dist/js/modules-flumap-Index.23354bbba2016a4a.js

js clima.com collected 2026-10-02 15:00:38 UTC 2,637 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkeltiempo=self.webpackChunkeltiempo||[]).push([[1871],{5031(e,t,r){function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}r.r(t),r.d(t,{Flumap:()=>f});var a={"ES-CEU":{latLng:[35.889,-5.321],name:"Ceuta"},"ES-MEL":{latLng:[35.292,-2.938],name:"Melilla"}},l=null,f=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"Init",value:function(){var e=this,t=document.mapConf;t&&(l||(l=jQuery.ajax({type:"GET",url:t.route,dataType:"script",cache:!0})),l.done(function(){return e._render(t)}))}},{key:"_getTooltipHtml",value:function(e,t,r){var o=t?'<p class="flu_map">Nivel '.concat(t," - ").concat(r,"/100.000</p>"):"No hay datos";return'<h1 class="beach_map-title">'.concat(e,"</h1>").concat(o)}},{key:"_render",value:function(e){var t=this,r=$("#map");if(r.length){var o=e.dataMap||{},n=e.types||{},i=e.numCases||{},l=Object.keys(a).map(function(e){return{name:a[e].name,latLng:a[e].latLng,code:e}}),f=new jvm.Map({container:r,zoomOnScroll:!1,zoomButtons:!1,map:e.map,backgroundColor:"#fff",series:{regions:[{attribute:"fill"}],markers:[{attribute:"fill"}]},regionStyle:{initial:{fill:"#EFEFEF","fill-opacity":1,stroke:"#ffffff","stroke-width":1,"stroke-opacity":1},hover:{"fill-opacity":1,cursor:"default"}},markerStyle:{initial:{r:8,"stroke-width":2,stroke:"#ffffff"},hover:{stroke:"#ffffff"}},markers:l,markerLabelStyle:{initial:{"font-size":"12","font-weight":"bold",cursor:"default",fill:"#0E1B30"}},onRegionTipShow:function(e,r,n){void 0!==o[n]&&r.html(t._getTooltipHtml(r.html(),o[n],i[n]))},onMarkerTipShow:function(e,r,n){var a=l[n];a&&void 0!==o[a.code]&&r.html(t._getTooltipHtml(a.name,o[a.code],i[a.code]))}});f.series.regions[0].setValues(n);var u=l.reduce(function(e,t,r){return e[r]=n[t.code]||"#c1c7d0",e},{});f.series.markers[0].setValues(u)}}}])&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.