PageSourceSearch

https://www.ford.com.cn/_nuxt/BhjIlxUn.js

js ford.com.cn collected 2026-09-25 02:35:25 UTC 4,266 bytes, 1 lines download raw bytes

1import{$ as c}from"./C1kS4EZ_.js";function v(e,s){window.aplus_queue&&window.aplus_queue.push({action:"aplus.record",arguments:["page_clk","CLK",{forward_source:e||"",backward_movement:s||""}]})}function x(e){if(typeof e!="string"||e.trim()==="")return"";try{return e.replace(/<a\s*([^>]*)>([\s\S]*?)<\/a>/gi,(s,a,t)=>{const n=(a.match(/\bhref\s*=\s*(?:"([^"]*)"|'([^']*)'|([^>\s]+))/i)||[]).slice(1).find(o=>o!==void 0)||"";return`<a ${a.replace(/\bclass\s*=\s*(?:"([^"]*)"|'([^']*)'|([^>\s]+))|$/i,(o,i,l,u)=>o?`class="${(i||l||u).trim()} autoclk-component-css"`:'class="autoclk-component-css"')} forward_source="${t.trim().replace(/"/g,"&quot;")}" backward_movement="${n.replace(/"/g,"&quot;")}">${t}</a>`})}catch{return e}}const w=e=>{var t,n;let s=null,a=null;return e.forEach((r,o)=>{r.componentPath==="Header"&&(s=r,a=e[o+1])}),s===null||a===null?!1:(n=(t=s.content)==null?void 0:t.value)!=null&&n.makes_header_trans_next_component?!s.content.value.makes_header_trans_next_component.includes(a.componentPath):!1};function I(e){return(Array(2).join("0")+e).slice(-2)}function _(e){return["/cmsportaledit/cms-page-edit","/cmsportaledit/cms-template-edit","/cmsportaledit/cms-component-edit","/cmsportaledit/cms-page-edit/","/cmsportaledit/cms-template-edit/","/cmsportaledit/cms-component-edit/"].includes(e)}function S(e){return e.includes("cmsportaledit")}function P(e){return["/cmsportaledit/cms-template-edit","/cmsportaledit/cms-template-edit/"].includes(e)}function k(e){if(typeof e!="string")return!1;try{return JSON.parse(e),!0}catch{return!1}}function C(e){return JSON.parse(JSON.stringify(e))}function E(e){if(!e||typeof e!="string")return"other";const s=e.toLowerCase(),a=[".jpeg",".jpg",".png",".gif"],t=[".mp4"];try{const n=e.startsWith("/")?"http://dummy.com":void 0,o=new URL(s,n).pathname.replace(/\/+/g,"/"),i=o.lastIndexOf(".");if(i===-1||i===o.length-1)return"other";const l=o.slice(i);if(a.includes(l))return"image";if(t.includes(l))return"video"}catch{const n=s.lastIndexOf(".");if(n>0){const r=s.slice(n);if(a.includes(r))return"image";if(t.includes(r))return"video"}}return"other"}function T(e,s){if(typeof e!="number"||e<=0)throw new Error("秒数必须是大于0的数字");if(typeof s!="function")throw new Error("回调函数必须是一个函数");let a=e,t=e,n=null,r=!1,o,i=null,l=0;function u(){return r&&i?i-o-l:Date.now()-o-l}function d(){const p=u();if(t=Math.max(0,a-Math.floor(p/1e3)),s(t),t<=0){f();return}const y=1e3-p%1e3;n=setTimeout(d,y)}function f(){n&&(clearTimeout(n),n=null)}function g(){r||(r=!0,i=Date.now(),f())}function h(){r&&i&&(l+=Date.now()-i,r=!1,i=null,d())}return o=Date.now(),d(),{clear:f,pause:g,resume:h,getRemaining:()=>t,isPaused:()=>r}}function $(e,s){const a=new Map;return s.forEach((t,n)=>a.set(t,n)),[...e].sort((t,n)=>{const r=a.has(t),o=a.has(n);return r&&o?a.get(t)-a.get(n):r?-1:o?1:0})}function A(e,s,a){if(e&&s&&a){let t=e;return s.split(",").forEach(r=>{t=t.replaceAll(r,`<span style="color: var(${a});">${r}</span>`)}),t}return e}const O=e=>c("div",{class:"select-color-item"},[e.value?c("span",{class:"select-color-box",style:{backgroundColor:`var(${e.value})`}}):null,c("span",{},e.label)]),N=e=>c("div",{class:"select-button-item"},[e.value?c("div",{class:"select-button-box"},c("button",{class:[e.value,"select-button"]},"按钮文本")):null,c("button",{},e.label)]);function L(e,s){var l;const a=(l=e.value)==null?void 0:l.$el;if(!a)return;const t=a.querySelector(".v-x-scroll");if(!t)return;const n=a.querySelectorAll(".n-tabs-tab__label")[s];if(!n)return;const r=t.clientWidth,o=n.offsetWidth,i=n.offsetLeft-(r-o)/2;t.scrollTo({left:Math.max(0,i),behavior:"smooth"})}function m(e){const s=e.subCategoryOrder;if(s==null)return{type:"none"};const a=Number(s);return isNaN(a)?{type:"none"}:{type:"number",value:a}}function W(e){return e.map((t,n)=>({...t,originalIndex:n})).sort((t,n)=>{const r=m(t),o=m(n);return r.type!==o.type?r.type==="number"?-1:1:r.type==="number"&&r.value!==o.value?r.value-o.value:r.originalIndex-o.originalIndex}).map(({originalIndex:t,...n})=>n)}function q(){const e=navigator.userAgent;return/iPad|iPhone|iPod/.test(e)}export{k as a,N as b,W as c,C as d,S as e,w as f,P as g,A as h,q as i,x as j,T as k,E as l,v as m,_ as n,I as p,O as r,$ as s,L 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.