PageSourceSearch

https://cdn.eltiempo.es/dist/js/utils-windUnitConversion.6f6cc0c6e0f5b9c2.js

js eltiempo.es collected 2026-09-24 08:37:07 UTC 1,404 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkeltiempo=self.webpackChunkeltiempo||[]).push([[2443],{1921(e,t,r){r.r(t),r.d(t,{windUnitConversion:()=>a});var n=r(5236);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 i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(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+""}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,o=[{key:"convert",value:function(e){switch(e){case"kmh":e="km/h";break;case"ms":e="m/s"}return e}}],(r=[{key:"Init",value:function(){var t=n.A.get("windspeed_unit");return t??(t="kmh",n.A.set("windspeed_unit","kmh",{expires:365,domain:window.SITECOOKIE,SameSite:"Strict",secure:!0})),e.convert(t)}}])&&i(t.prototype,r),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,o}()}}]);

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.