PageSourceSearch

https://lifehacker.ru/_nuxt/v7.12-CIEAyONz.js

js lifehacker.ru collected 2026-09-24 08:29:03 UTC 2,423 bytes, 2 lines download raw bytes

1import{dB as g,dC as d,dD as E,dE as w,dF as p,dG as u,dH as m,dI as f,dJ as _,bW as R,dK as v,dL as x}from"./v7.12-_pfsIBSO.js";const o=d(p(),w(),E("SEO field is empty")),h=p(),l={title:o,description:h,canonical:o,robots:o,og_image:o,schema_recipe:h,schema_howto:h,schema_faq:h},j=g({title:o,robots:o}),y=g({...l,schema:h}),M=g({...l,schema:o,schema_recipe:o}),O=g({...l,schema:o});function b(e,t={}){const s=n([c(e,"og_image"),c(e,"ogImage"),c(e,"og.image"),c(e,"site_icon"),u]);return{title:r(e,"title"),description:r(e,"description"),canonical:r(e,"canonical"),robots:r(e,"robots"),og_image:s,schema:i(C(e)),schema_recipe:i(n([c(e,"schema_recipe"),c(e,"recipeSchema")])),schema_howto:i(n([c(e,"schema_howto")])),schema_faq:i(n([c(e,"schema_faq")])),...t}}function I(e){return b(e,{schema_recipe:i(n([c(e,"recipeSchema"),c(e,"schema_recipe")]))})}function q(e){const t=n([c(e,"schema")]);return{title:r(e,"title"),description:r(e,"description"),canonical:r(e,"canonical"),robots:r(e,"robots"),og_image:n([c(e,"image"),u]),schema:t,schema_recipe:"",schema_howto:"",schema_faq:""}}function r(e,t){return i(c(e,t))}function c(e,t){if(!(!e||typeof e!="object"))return t.split(".").reduce((s,a)=>{if(!(!s||typeof s!="object"))return s[a]},e)}function n(e){const t=e.find(s=>i(s).trim().length>0);return i(t)}function C(e){return n([c(e,"schema"),c(e,"schema_graph"),c(e,"schemaGraph")])}function i(e){return typeof e=="string"?e:e==null?"":JSON.stringify(e)}function F(e){return e.toLowerCase().includes("noindex")}const k=d(f(),m(e=>b(e)),m(e=>S(e,y))),A=d(f(),m(e=>I(e)),m(e=>S(e,M))),B=d(f(),m(e=>I(e)),m(e=>S(e,O))),D=d(f(),m(e=>q(e)),m(e=>S(e,y)));function S(e,t){const s=F(e.robots)?j:t;return _(s,e),e}function G(e,t){try{return _(e,t)}catch(s){const a=$(s);throw R({statusCode:503,message:a.message,data:a})}}function $(e){if(!v(e))return{message:"Invalid SEO data",error:e};const t=e.issues.map(a=>({field:N(a),message:a.message,type:a.type,expected:a.expected,received:a.received,input:P(a.input)}));return{message:`Invalid SEO data: ${t.map(a=>`${a.field}: ${a.message}`).join("; ")}`,name:e.name,summary:x(e.issues),issues:t}}function N(e){var s;return((s=e.path)==null?void 0:s.map(a=>String(a.key??"")).filter(a=>a.length>0).join("."))||"root"}function P(e){return typeof e!="string"||e.length<=200?e:`${e.slice(0,200)}...`}export{D as M,k as P,B as R,A as a,G as p};
2//# sourceMappingURL=v7.12-CIEAyONz.js.map

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.