PageSourceSearch

https://www.lmt.lv/_nuxt_www/CmXeDZHp.js

js lmt.lv collected 2026-09-24 08:41:44 UTC 14,062 bytes, 1 lines download raw bytes

1import{B as e,D as t,H as n,R as r,V as i}from"./CVCOaioA.js";import{En as a,H as o,J as s,L as ee,Ut as te,an as ne,it as re,nt as c,ot as l,un as u,vn as d}from"./CrzdsfCC.js";var f=n({docsBase:e,reporters:i});function p(e,t){return t&&typeof e==`function`&&(e.key=t),e}var ie=new Set([`link`,`style`,`script`,`noscript`]),ae=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),m=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),oe=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),se=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),h=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),ce=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),g=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),le={critical:-8,high:-1,low:2},_=e=>typeof e==`number`?Number.isFinite(e):e;function v(e){return e===`__proto__`||e===`constructor`||e===`prototype`}var ue=[`twitter`,`fediverse`],y=[`og`,`book`,`article`,`profile`,`fb`,`payment`],de=[`ogImage`,`ogVideo`,`ogAudio`,`twitterImage`],b=[`contentType`,`defaultStyle`,`xUaCompatible`],fe={articleExpirationTime:`article:expiration_time`,articleModifiedTime:`article:modified_time`,articlePublishedTime:`article:published_time`,bookReleaseDate:`book:release_date`,fbAppId:`fb:app_id`,ogAudioSecureUrl:`og:audio:secure_url`,ogAudioUrl:`og:audio`,ogImageSecureUrl:`og:image:secure_url`,ogImageUrl:`og:image`,ogSiteName:`og:site_name`,ogVideoSecureUrl:`og:video:secure_url`,ogVideoUrl:`og:video`,paymentExpiresAt:`payment:expires_at`,paymentSuccessUrl:`payment:success_url`,profileFirstName:`profile:first_name`,profileLastName:`profile:last_name`,profileUsername:`profile:username`,msapplicationConfig:`msapplication-Config`,msapplicationTileColor:`msapplication-TileColor`,msapplicationTileImage:`msapplication-TileImage`},x=/([A-Z])/g,pe=/^(?:og|twitter)/,S={appleItunesApp:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>`${C(e)}=${t}`}},refresh:{metaKey:`http-equiv`,unpack:{entrySeparator:`;`,resolve:({key:e,value:t})=>e===`seconds`?`${t}`:void 0}},robots:{unpack:{entrySeparator:`, `,resolve:({key:e,value:t})=>typeof t==`boolean`?C(e):`${C(e)}:${t}`}},contentSecurityPolicy:{metaKey:`http-equiv`,unpack:{entrySeparator:`; `,resolve:({key:e,value:t})=>`${C(e)} ${t}`}},charset:{}};function C(e){let t=e.replace(x,`-$1`).toLowerCase(),n=t.indexOf(`-`);return n===-1?t:ue.includes(t.slice(0,n))||y.includes(t.slice(0,n))?e.replace(x,`:$1`).toLowerCase():t}function w(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>String(t)!==`false`&&e))}function T(e){return Array.isArray(e)?e.map(T):!e||typeof e!=`object`?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[C(e),T(t)]))}function E(e,t={}){let{entrySeparator:n=``,keyValueSeparator:r=``,wrapValue:i,resolve:a}=t;return Object.entries(e).map(([e,n])=>{if(a){let t=a({key:e,value:n});if(t!==void 0)return t}let o=typeof n==`object`?E(n,t):typeof n==`number`?n.toString():typeof n==`string`&&i?`${i}${n.replace(new RegExp(i,`g`),`\\${i}`)}${i}`:n;return`${e}${r}${o}`}).join(n)}function D(e,t){let n=w(t),r=C(e),i=O(r);return g.has(r)?j(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${t===`url`?``:`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0)):[{[i]:r,...n}]}function O(e){if(S[e]?.metaKey===`http-equiv`||b.includes(e))return`http-equiv`;let t=C(e),n=t.indexOf(`:`);return n===-1?`name`:y.includes(t.slice(0,n))?`property`:`name`}function k(e){return fe[e]||C(e)}function A(e,t){return t===`refresh`?`${e.seconds};url=${e.url}`:E(T(e),{keyValueSeparator:`=`,entrySeparator:`, `,resolve:({value:e,key:t})=>e===null?``:typeof e==`boolean`?t:void 0,...S[t]?.unpack})}function j(e){let t=[],n={};for(let[r,i]of Object.entries(e)){if(Array.isArray(i)){if(r===`themeColor`){i.forEach(e=>{typeof e==`object`&&e&&t.push({name:`theme-color`,...e})});continue}for(let e of i)if(typeof e==`object`&&e){let n=[],i=[];for(let[t,a]of Object.entries(e)){let e=j({[`${r}${t===`url`?``:`:${t}`}`]:a});(t===`url`?n:i).push(...e)}t.push(...n,...i)}else t.push(...typeof e==`string`?j({[r]:e}):D(r,e));continue}if(typeof i==`object`&&i){if(de.includes(r)){let e=r.startsWith(`twitter`)?`twitter`:`og`,n=r.replace(pe,``).toLowerCase(),a=e===`twitter`?`name`:`property`;i.url&&t.push({[a]:`${e}:${n}`,content:i.url}),i.secureUrl&&t.push({[a]:`${e}:${n}:secure_url`,content:i.secureUrl});for(let[r,o]of Object.entries(i))r!==`url`&&r!==`secureUrl`&&t.push({[a]:`${e}:${n}:${r}`,content:o})}else g.has(C(r))?t.push(...D(r,i)):n[r]=w(i)}else n[r]=i}let r=Object.entries(n).map(([e,t])=>
1{if(e===`charset`)return{charset:t===null?`_null`:t};let n=O(e),r=k(e),i=t===null?`_null`:typeof t==`object`?A(t,e):typeof t==`number`?t.toString():t;return n===`http-equiv`?{"http-equiv":r,content:i}:{[n]:r,content:i}});return[...t,...r].map(e=>`content`in e&&e.content===`_null`?{...e,content:null}:e)}var M=p({key:`flatMeta`,hooks:{"entries:normalize":e=>{let t=!1,n=[],r=[];for(let i of e.tags){if(i.tag!==`_flatMeta`){n.push(i);continue}t=!0;for(let e of j(i.props))r.push({...i,tag:`meta`,props:e})}if(t){for(let e of r)n.push(e);e.tags=n}}}});function N(e){let t=new r;for(let n in e||{})t.hook(n,e[n]);return t}function P(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var F=/^(?:viewport|description|keywords|robots)$/,I=[`name`,`property`,`http-equiv`];function L(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return g.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function R(e){let{props:t,tag:n,key:r}=e;if(se.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of I){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!F.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:ae.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function z(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function B(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=B(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=v(n),a=i?void 0:B(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var me=/[\s"'<>/=\x00-\x1F\x7F]/;function he(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function V(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=m.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(v(r))continue;let i=r.startsWith(`data-`),a=n&&!h.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||me.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=he(r,s);else if(h.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function ge(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),B(e,n)}function H(e,t){let n=V({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&ie.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function U(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function _e(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=ge(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)U(n,H(t,e));else U(n,H(t,r))}}return n}var ve=/</g,ye=/<\/script/g,W=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,be=()=>100;function G(e){for(let t in e)return!1;return!0}var xe=/^tags:|:render/;function K(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function Se(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function Ce(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(W)}function we(e){let t=!1;for(let n of e.tags.sort(W)){let r=n._d||z(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(ce.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&L(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Te(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function Ee(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(oe.has(i)&&(!G(a)||_(r)||_(n.textContent))&&(i!==`meta`||_(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(ve,`\\u003C`):typeof e==`string`?e.replace(ye,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=R(n)}e[t++]=n}}return e.length=t,e}function De(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??be,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};K(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&P(e,`entries:resolve`,{entr
1ies:a,...r})),K(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||G(t.options)))a=t._precomputedTags;else{if(a=_e(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!G(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};P(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=R(r),r._d||(r._h=z(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&xe.test(e)){Se(r.tags);break}let o=we(r);return Te(r,e),Ce(r,o),P(e,`tags:beforeResolve`,r),P(e,`tags:resolve`,r),P(e,`tags:afterResolve`,r),Ee(r.tags)}var Oe=Object.prototype.hasOwnProperty;function q(e,t){return Oe.call(e,t)}var J=`usehead`;function Y(){if(o()){let e=s(J);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function ke(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(J,e)}}.install}var Ae=Object.assign((e,t)=>u(t)?a(t):t,{_static:!0});function X(e,t={}){let n=t.head||Y();return n.ssr?n.push(e||{},t):je(n,e,t)}function je(e,t,n={}){let r=ne();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=d(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return te(()=>{let r=i.value?{}:B(t,Ae);a?a.patch(r):a=e.push(r,n)}),ee()&&(re(()=>{a.dispose()}),l(()=>{i.value=!0}),c(()=>{i.value=!1})),a}function Z(e){if(e._flatMeta)return e;let t={};for(let n in e)q(e,n)&&n!==`title`&&n!==`titleTemplate`&&(t[n]=e[n]);return{title:e.title,titleTemplate:e.titleTemplate,_flatMeta:t}}function Q(e={},t={}){(t.head||Y()).use(M);let n=X(Z(e),t),r=n.patch;return n.__patched||=(n.patch=e=>r(Z(e)),!0),n}function $(e){let n=e||t();return n.ssrContext?.head||n.runWithContext(()=>{if(o()){let e=s(`usehead`);if(!e)throw f.NUXT_E6001();return e}})}function Me(e,t={}){return X(e,{head:t.head||$(t.nuxt),...t})}function Ne(e,t={}){return Q(e,{head:t.head||$(t.nuxt),...t})}export{ke as a,z as c,De as d,P as f,p as g,le as h,Y as i,L as l,m,Me as n,q as o,N as p,Ne as r,R as s,$ as t,V as u};

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.