PageSourceSearch

https://seomaker.ai/_nuxt-v2/C9RHQ56M.js

js seomaker.ai collected 2026-10-05 12:36:58 UTC 1,859 bytes, 1 lines download raw bytes

1import{t as e}from"./B_dfef22.js";var t=[`ai_words`,`analyse_competition`,`position_tracking`,`health_score_audits`,`search_new_keywords`],n={ai_words:5e3,analyse_competition:1,position_tracking:155,health_score_audits:1,search_new_keywords:1};function r(e){let n={};for(let r of t)n[r]=a(e,r);return n}var i=31;function a(e,t){if(!e)return null;let r=o(e.limits,t);if(r!==null)return r;if(e.is_free_tier)return n[t];if(e.product_id===0)return null;let a=o(e.product,t);return t===`position_tracking`&&a!==null?a*i:a}function o(e,t){let n=e?.[t];return typeof n==`number`&&Number.isFinite(n)&&n>=0?n:null}function s(e){let t=e?.words_remaining,n=(e?.packs??[]).reduce((e,t)=>e+Math.max(0,t.words_total),0);return{remaining:typeof t==`number`&&Number.isFinite(t)?Math.max(0,t):0,total:n}}function c(e,n=null){let i=r(e),a=s(n);return t.map(t=>{let n=t===`ai_words`,r=Math.max(0,o(e,t)??0)+(n?a.remaining:0),s=i[t],c=s===null?null:s+(n?a.total:0);return{field:t,remaining:r,total:c,used:c===null?null:Math.max(0,c-r),percent:l(r,c)}})}function l(e,t){return t===null||t<=0?null:Math.min(100,Math.max(0,e/t*100))}function u(e){return e===null?`brand`:e<=10?`error`:e<=25?`warning`:`brand`}function d(e,t=new Date){if(!e)return!1;if(!e.valid_till)return!0;let n=f(e.valid_till);return n!==null&&p(n)>=p(t)}function f(e){if(!e)return null;let t=new Date(e.includes(`T`)?e:e.replace(` `,`T`));return Number.isNaN(t.getTime())?null:t}function p(e){return e.toISOString().slice(0,10)}function m(e){let t=e?.scheduled_product_id;return typeof t==`number`?{productId:t,name:e?.scheduled_product_name??null,at:e?.scheduled_at??null}:null}function h(t,n){let r=f(t);return r===null?null:e(r.toISOString(),n)}function g(e){return e!==null&&e.product_id===0}function _(e){return e.trim()===``?`required`:null}export{f as a,_ as c,u as i,g as n,c as o,d as r,m as s,h as t};

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.