PageSourceSearch

https://videscentrs.lvgmc.lv/scripts/8924.index.f5f0a973.js

js lvgmc.lv collected 2026-09-24 09:26:58 UTC 10,732 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[8924],{9831:(t,e,n)=>{n.d(e,{Z:()=>y});var r=n(52439),o=n(3443),i=n(67294),c=n(37974);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,i=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===u(i)?i:String(i)),r)}var o,i}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(f,t);var e,n,c,u=s(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=u.call(this,t)).state={nedelas_prognoze:null},e}return e=f,(n=[{key:"componentDidMount",value:function(){var t=this;(0,r.ZF)("/data/sinopt_nedelas_prognoze").then((function(e){e.length>0&&t.setState({nedelas_prognoze:e[0]})}))}},{key:"render",value:function(){var t=this.state.nedelas_prognoze;return t?i.createElement("div",{className:"v --s2"},i.createElement("h1",null,t.virsraksts),i.createElement("div",{className:"news__time"},"Nedēļas prognoze no ",(0,o.ux)(t.prognoze_no)," līdz ",(0,o.ux)(t.prognoze_lidz),!!t.modifikacijas_laiks&&i.createElement("span",null,", ",this.props.dict.prognoze_aktualizeta," ",(0,o.uN)(t.modifikacijas_laiks))),i.createElement("div",{className:"limit-width-80ch",dangerouslySetInnerHTML:{__html:t.teksts}})):null}}])&&a(e.prototype,n),c&&a(e,c),Object.defineProperty(e,"prototype",{writable:!1}),f}(i.PureComponent);const y=(0,c.connect)((function(t){return{dict:t.dict}}))(p)},22209:(t,e,n)=>{n.r(e),n.d(e,{default:()=>y});var r=n(24682),o=n(9831),i=n(67294),c=n(37974);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,i=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===u(i)?i:String(i)),r)}var o,i}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(f,t);var e,n,c,u=s(f);function f(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return e=f,(n=[{key:"render",value:function(){var t=this.props.dict;return i.createElement(i.Fragment,null,i.createElement("h1",{className:"page-title"},t.loc_prognozes),i.createElement(r.Z,null),i.createElement("div",{className:"weather-notification"},i.createElement(o.Z,null)))}}])&&a(e.prototype,n),c&&a(e,c),Object.defineProperty(e,"prototype",{writable:!1}),f}(i.PureComponent);const y=(0,c.connect)((function(t){return{dict:t.dict}}))(p)},24682:(t,e,n)=>{n.d(e,{Z:()=>_});n(52439);var r=n(3443),o=n(9831),i=n(80008),c=n.n(i),u=n(67294),a=n(37974),l=n(25616);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(){return f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f.apply(this,arguments)}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,i=function(t,e){if("object"!==s(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===s(i)?i:String(i)),r)}var o,i}
1function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}var b=function(t){var e,n,o={"Latvija kom. tek. d.":t.dict.sinopt_kom_tek_d,"Latvija kom. nak. d.":t.dict.sinopt_kom_nak_d,"Latvija kom. nak. n.":t.dict.sinopt_kom_nak_n},i=t.teksti,a=t.kods,l=t.virsraksts,s=l||(o[a]?o[a]:a);return t.datums?(e=(0,r.p6)({date:c()(t.datums+" "+t.laiks_no).toDate()}),n=t.laiks_lidz>t.laiks_no?t.laiks_lidz.substr(0,5):(0,r.p6)({date:c()(t.datums+" "+t.laiks_lidz).add(1,"days").toDate()})):(e=t.no_teksts,n=t.lidz_teksts),u.createElement("div",{className:"v --s1 limit-width-80ch"},u.createElement("h2",null,s),u.createElement("div",{className:"news__time"},e," — ",n),i.teksts_html?u.createElement("div",{dangerouslySetInnerHTML:{__html:i.teksts_html}}
1):(0,r.An)(i.teksts))},v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(c,t);var e,n,r,i=d(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=i.call(this,t)).state={mode:"day"},e}return e=c,(n=[{key:"setMode",value:function(t){this.setState({mode:t})}},{key:"render",value:function(){var t=this;return u.createElement("div",{className:"weather-notification v --s2"},"day"===this.state.mode&&this.props.sinopt_prognozes.map((function(e){return u.createElement(b,f({dict:t.props.dict,key:e.kods},e))})),"day"===this.state.mode&&0==this.props.sinopt_prognozes.length&&u.createElement("p",null,"Šobrīd sistēmā nav aktuālu sinoptiķu prognožu, ko attēlot."),"week"===this.state.mode&&u.createElement(o.Z,null),this.props.show_toggle&&"week"==this.state.mode&&u.createElement("button",{type:"button",className:"pull-right marginBottom paddingLeft paddingRight",onClick:function(){return t.setMode("day")}},"Dienas prognoze"),this.props.show_toggle&&"day"==this.state.mode&&u.createElement("button",{type:"button",className:"pull-right marginBottom paddingLeft paddingRight",onClick:function(){return t.setMode("week")}},"Nedēļas prognoze"))}}])&&p(e.prototype,n),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(u.PureComponent),h=function(t){return{sinopt_prognozes:t.weather.notifications,dict:t.dict}};const _=(0,a.connect)(h)(v);(0,a.connect)(h)((function(t){var e=t.sinopt_prognozes;if(!e.length)return null;var n=e[0];return u.createElement("article",{className:"weather-notification-banner clickable-card"},u.createElement(l.ZP,{to:{type:"loc_prognozes"}}),u.createElement("div",{className:"limit-width-80ch"},n.teksti.teksts_html?u.createElement("div",{dangerouslySetInnerHTML:{__html:n.teksti.teksts_html}}):(0,r.An)(n.teksti.teksts)))}))}}]);

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.