PageSourceSearch

https://www.corbinrusswin.com/etc.clientlibs/aeh/clientlibs/depend…/chunks/AEHDynamicDataEmbedGrid.k9fsLoEd.js

js corbinrusswin.com collected 2026-09-25 00:51:12 UTC 4,316 bytes, 1 lines download raw bytes

1import{j as a,A as G,d as R,B as F,b as I,_ as e}from"../js/app.DBQURsxG.js";import{E as _}from"./ElasticSearchProvider.BA8OK1W1.js";import{E as w}from"./EmptyState.CTCoYbam.js";import{P as B}from"./ProductCard.DUyHgb0p.js";import{E as L}from"./ErrorBoundary.C3jFYOOM.js";import{m as O}from"./metaToSlots.C1hVHQ2m.js";import{G as k}from"./elastic.CDqqVJuy.js";import{F as v}from"./FetchModel.ZlcilBl9.js";import{e as p}from"./error.BZboM8T-.js";import{m as z,n as H}from"./button.ByCG42iX.js";import{d as T,e as Q,i as V,j as N,h as $,f as Z,A as q,a as J,g as K}from"./productObjectTable.BmziY019.js";import{A as U}from"./appearance.DL5Lofdn.js";import{A as c}from"./facet.CFEJUabM.js";import{f as W,z as r}from"./index.Cs3sfIVF.js";import{G as X}from"./Grid.48PEhE0D.js";import"./vendor.CLXKpVbq.js";import"./lodash.B7ss2v9R.js";import"./CardContent.CX2wWBFh.js";import"./listItemTextClasses.CfqtyItM.js";import"./ListItem.Ba6UNdu8.js";import"./ListItemIcon.BTnlXCKC.js";import"./listItemIconClasses.Dkcvo0jL.js";import"./Clear.DQy1976u.js";import"./OutlinedInput.DkWhq0El.js";import"./ListItemText.B1FPLW1l.js";import"./Chip.BbxjqlfK.js";import"./Layout.BgzCuBfP.js";import"./CardHeader.CZLKg_l0.js";import"./TextField.DRTXmqVo.js";import"./dividerClasses.CxYsqIl5.js";import"./Grow.C_Nwg4wO.js";import"./ListItemButton.B7Ftilu-.js";import"./Button.C6UKXuNC.js";import"./Divider.CN5hCrpC.js";import"./Search.bMT3ZdlC.js";import"./Search.kb56HE1B.js";import"./LoadingButton.BldJMeql.js";import"./extends.Ba-yMveS.js";import"./ListItemAvatar.DN6gqFc2.js";import"./Avatar.Dl8oVM6p.js";import"./ChevronRight.Dhme45SY.js";import"./ElasticSorting.5M7bP1oh.js";import"./LinearProgress.dYi3bjFt.js";import"./Card.UTGcflFe.js";import"./Button.BkhlNZuL.js";import"./RichText.De7IQ3AH.js";import"./Markdown.QdxFBtpr.js";import"./CardMedia.BE1_NLK-.js";import"./CardActions.Be_7oteF.js";import"./Cover.DGf7R4Bg.js";import"./colorVariableContrast.DtYi-E8s.js";import"./ZoomIn.CuHA41Ps.js";import"./Tooltip.DI4zxA0S.js";import"./dynamicContentURL.JHC_RG-q.js";const C="AEHDynamicDataEmbedGrid",j=new I({name:C,prefix:"o-"}),Y=T.extend({dataIndex:r.string().optional(),layout:H,link:Z.optional(),facets:r.array(c),sort:r.array(c),defaultFilter:r.array(c),appearance:U.optional(),content:$.optional(),table:N.optional(),object:V.optional(),splitBy:r.string(),maxItems:r.number(),isSlider:r.boolean().optional(),imagekitChainQuery:r.string(),cardLayout:z.optional(),configuration:Q.extend({table:J.nullish(),color:q.nullish()})}).merge(K),tt=({componentModel:n})=>{var l,d,u,g,f,h,E,x;const o=Y.safeParse(n);if(!o.success){const{error:m}=o;return console.error(`${C}: ${W(m).toString()}`),a.jsx(w,{illustration:a.jsx(p.illustration,{}),title:p.title,description:p.description})}const{data:t}=o;if(!t.dataIndex)return null;const[s,D,P]=R(t.defaultFilter,t.sort,t.facets,t.dataIndex,(l=t.configuration)==null?void 0:l.card),M=({result:m})=>{var y,b,A,S;const i=O(t,m);return a.jsx(X,{item:!0,xs:12,md:(b=(y=t.configuration)==null?void 0:y.card)!=null&&b.size?parseInt(t.configuration.card.size,10):6,...j("result",void 0,"m-elasticLayout__result"),children:a.jsx(B,{title:e.get(i,"title"),text:e.get(i,"content"),eyebrow:e.get(i,"eyebrow"),media:i.image,link:i.link,layout:e.get(t,"cardLayout","text_with_image"),configuration:{zoom:(S=(A=t.configuration)==null?void 0:A.card)==null?void 0:S.zoom}})})};return a.jsxs("div",{children:[a.jsx(k,{styles:{".o-aehDynamicDataGrid .m-elasticLayout__resultsContainer":{justifyContent:(u=(d=t.configuration)==null?void 0:d.card)!=null&&u.alignment?t.configuration.card.alignment:"space-between"}}}),a.jsx(F,{...j(),children:a.jsx(_,{hasSearchBox:(g=t.appearance)==null?void 0:g.searchBar,hasSorting:!1,hasFacet:!1,hasPagingInfo:(f=t.appearance)==null?void 0:f.paging,hasResultsPerPage:(h=t.appearance)==null?void 0:h.paging,resultsPerPage:P,hasPaging:(E=t.appearance)==null?void 0:E.paging,resultView:M,sortOptions:D,config:s,autoFocus:(x=t.appearance)==null?void 0:x.autoFocus})})]})},aa=({pathModelHTLAttribute:n,componentModelHTLAttribute:o})=>a.jsx(L,{children:a.jsx(G,{componentName:"aeh-dynamic-data-embed-grid",children:a.jsx(v,{pathModelHTLAttribute:n,componentModelHTLAttribute:o,children:(t,s)=>a.jsx(tt,{pathModel:t,componentModel:s})})})});export{aa as AEHDynamicDataEmbedGrid};

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.