PageSourceSearch

https://teamchile.cl/wp-content/plugins/ncmaz-frontend/dist/assets/FactoryBlockWidgetUsers-7f90a98c.js

js teamchile.cl collected 2026-10-04 01:37:44 UTC 3,138 bytes, 1 lines download raw bytes

1import{j as e,b as g}from"./main-ddd0c633.js";import{A as h}from"./Avatar-143135aa.js";import{S as x}from"./index-65fcb3fb.js";import{W as j}from"./WidgetHeading1-43ca1d9d.js";import{D as N}from"./DataStatementBlockV2-e47fdeac.js";import{u as b}from"./useGqlQuerySection-6e7ddb05.js";import{u as k}from"./useGutenbergSectionWithGQLGetUsers-2b661a2e.js";import"./contants-3c5f400b.js";import"./contantsCommon-3b0e63b7.js";import"./getImageSizesBySizeName-22c25ac1.js";import"./EmptyState-0dd73f46.js";import"./useIntersectionObserver-6996c7ec.js";import"./useQuery-d137cf01.js";import"./useLazyQuery-cf7c38cc.js";const v=({className:a="",author:l})=>{var d,u,i;const{name:s,username:o,uri:n,avatar:t,ncUserMeta:r}=l;return e.jsxs("a",{href:frontendObject.homeURL+n,className:`nc-CardAuthor flex items-center ${a}`,"data-nc-id":"CardAuthor",children:[e.jsx(h,{sizeClass:"h-10 w-10 text-base",containerClassName:"flex-shrink-0 mr-4",radius:"rounded-full",imgUrl:((d=r==null?void 0:r.featuredImage)==null?void 0:d.sourceUrl)||(t==null?void 0:t.url),srcSet:(u=r==null?void 0:r.featuredImage)!=null&&u.sourceUrl?(i=r==null?void 0:r.featuredImage)==null?void 0:i.srcSet:void 0,userName:o}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-base text-neutral-900 dark:text-neutral-100 font-semibold",children:s}),e.jsx("span",{className:"block mt-[2px] text-xs text-neutral-500 dark:text-neutral-400",children:r.ncBio})]})]})},S=({className:a=""})=>e.jsxs("div",{className:`nc-CardAuthorSkeleton flex items-center ${a}`,"data-nc-id":"CardAuthorSkeleton",children:[e.jsx(h,{sizeClass:"h-10 w-10 text-base",containerClassName:"flex-shrink-0 mr-4",radius:"rounded-full",userName:"d"}),e.jsxs("div",{className:"flex-grow",children:[e.jsx("h4",{className:"text-base text-neutral-900 dark:text-neutral-100 font-semibold",children:e.jsx(x,{width:"70%"})}),e.jsx("span",{className:"block mt-[2px] text-xs text-neutral-500 dark:text-neutral-400",children:e.jsx(x,{width:"40%"})})]})]}),A=({className:a="bg-neutral-100 dark:bg-neutral-800",authors:l,heading:s,isLoading:o,authorsLoading:n=[1,1,1,1]})=>e.jsxs("div",{className:`nc-WidgetAuthors rounded-3xl overflow-hidden ${a}`,"data-nc-id":"WidgetAuthors",children:[s&&e.jsx(j,{title:s}),e.jsx("div",{className:"flow-root",children:e.jsx("div",{className:"flex flex-col divide-y divide-neutral-200 dark:divide-neutral-700",children:o?n.map((t,r)=>e.jsx(S,{className:"p-4 xl:p-5 hover:bg-neutral-200 dark:hover:bg-neutral-700"},r)):l.map((t,r)=>e.jsx(v,{className:"p-4 xl:p-5 hover:bg-neutral-200 dark:hover:bg-neutral-700",author:t.node},r))})})]}),_=({className:a="",domNode:l,apiSettings:s,sectionIndex:o})=>{const{graphQLvariables:n,graphQLData:t,settings:r,hasSSrInitData:d}=s,{funcGqlQueryGetUsers:u,IS_SKELETON:i,LISTS_DATA:m,error:f}=k({graphQLvariables:n,graphQLData:t,hasSSrInitData:d});let c=null;c=b(u,o).ref;const p=()=>e.jsxs("div",{ref:c,children:[e.jsx(A,{authors:m,heading:r.heading,isLoading:i,authorsLoading:Array.from(Array(Number(r.expectedNumberResults||8)||8).keys())}),e.jsx(N,{className:"my-5",data:m,error:f,isSkeleton:i})]});return g.createPortal(p(),l)};export{_ as default};

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.