PageSourceSearch

https://www.lexus.am/headless-assets/preload-helper-2naFOvCL.js

js lexus.am collected 2026-09-25 08:29:18 UTC 3,089 bytes, 1 lines download raw bytes

1import{S as e,b as t,c as n,i as r,j as i,n as a,r as o,z as s}from"./makeAEMComponent-CP3Nn0nC.js";import{p as c}from"./scheduleTask-Bc3kHZvA.js";import{n as l}from"./js-dom-CBv-ENOJ.js";var u=s(t(),1),d=n();function f({model:e,cqPath:t,columnProps:n,context:r}){let a=(0,u.useMemo)(()=>e?.[`:itemsOrder`]??[],[e]);return!e||!a.length?null:(0,d.jsx)(d.Fragment,{children:a.map(a=>(0,d.jsx)(c,{item:a,cqPath:i(`/`,t,a),model:e[`:items`][a],context:r,...n?.[a]??{}},a))})}var p=r(f,{componentName:`ootb-container`,resourceType:`adobe/container`}),m=r(()=>null,{isEmpty(e){return!0},resourceType:`wcm/msm/components/ghost`,componentName:`Ghost component`,placeholder:{emptyTextAppend:`Placeholder for a deleted inherited Component`}}),h={resourceType:`aem-native/newpar`,componentName:`newpar`,decorationClasses:`new newpar section aem-Grid-newComponent`};function g(e){let{context:t,cqPath:n}=e;return t.WCMMode===`DISABLED`?null:(0,d.jsx)(o,{definition:h,properties:e,children:(0,d.jsx)(a,{path:n,resourceType:void 0,skipIfNotFound:!0})})}function _(e){let{allowedComponents:t}=e;return(0,d.jsxs)(`div`,{className:`aem-AllowedComponent--list new section`,children:[(0,d.jsx)(`div`,{className:`aem-AllowedComponent--title`,"data-text":`Allowed components`}),t.components.length>0?t.components.map(({path:e,title:t})=>(0,d.jsx)(`div`,{className:`placeholder aem-AllowedComponent--component cq-Editable-dom`,children:(0,d.jsx)(`div`,{className:`aem-AllowedComponent--component cq-placeholder placeholder`,"data-cq-data-path":e,"data-emptytext":t})},e)):null]})}function v(t){let n=e();return(0,d.jsx)(d.Fragment,{children:v.renderLink({...t,"x-cq-linkchecker":n===`author`&&l()?`valid`:void 0})})}v.renderLink=function(e){let{children:t,...n}=e;return(0,d.jsx)(`a`,{...n,children:t})};var y={[m.resourceType]:m,[p.resourceType]:p},b=`modulepreload`,x=function(e,t){return new URL(e,t).href},S={},C=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=x(t,n),t=s(t),t in S)return;S[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:b,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};export{p as a,y as i,_ as n,g as r,C 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.