1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3458],{3458:function(e,a,t){t.d(a,{Z:function(){return u}});var r=t(85893),s=t(40645),i=t.n(s),n=t(67294),l=t(83392);function o(e,a){if("string"==typeof e)return a[e];if(Array.isArray(e)&&e.length){let t=1===e.length?a[e[0]]:e.reduce((e,a)=>e?e[a]:null,a);return void 0===t?null:t}return null}function d(e,a){return"string"==typeof e&&"string"==typeof a?e===a:!!(Array.isArray(e)&&Array.isArray(a))&&e.length===a.length&&e.every((e,t)=>e===a[t])}let c=e=>"string"==typeof e?e:"number"!=typeof e||isNaN(e)?"":String(e),p=e=>"number"!=typeof e||isNaN(e)?isNaN(Number(e))?0:Number(e):e;function x(e,a){let t=a.dataIndex;function r(e,r){let s=o(t,e),i=o(t,r);if(a.isString){let e=c(s),t=c(i);return -1===a.order?t.localeCompare(e):e.localeCompare(t)}let n=p(s),l=p(i);return -1===a.order?l-n:n-l}return"function"==typeof Array.prototype.toSorted?e.toSorted(r):[...e].sort(r)}let f=[5,10,25];function u(e){let{columns:a,dataSource:t,rowKey:s,pagination:o,small:c,sortable:p=!1,sortByDefault:u,keyLocalSort:b,comparar:h,expandable:j,sinSep:k}=e,[w,y]=(0,n.useState)(()=>{let e=p&&b?localStorage.getItem(b):null;return(e?JSON.parse(e):p?u:null)||null}),[v,N]=(0,n.useState)(null),[z,A]=(0,n.useState)(0),[S,I]=(0,n.useState)({rows:0,perPage:0,pages:[],curr:1}),[P,C]=(0,n.useState)([]),[F,E]=(0,n.useState)([]);function M(e){let{isExpanded:a,key:t}=e;E(e=>a?e.filter(e=>e!==t):[...e,t])}let D=(null==o?void 0:o.perPageOpts)||f;return(0,n.useEffect)(()=>{Array.isArray(t)&&(w?(N(x(t,w)),A(e=>e+1)):N(t))},[t,w]),(0,n.useEffect)(()=>{if((null==a?void 0:a.length)&&Array.isArray(v)){if(0===v.length)I(e=>({...e,rows:0,curr:1})),C([]);else{let e=S.perPage||(null==o?void 0:o.defaultPageSize)||10,a=Math.ceil(v.length/e),t=Math.min(a,S.curr),r=t===S.curr&&e===S.perPage&&v.length===S.rows?S.pages:a<10?Array.from({length:a},(e,a)=>a+1):[1,2,3,4,5,"sep-1",a];I({rows:v.length,perPage:e,pages:r,curr:t})}}},[a,v,z]),(0,n.useEffect)(()=>{S.rows&&C(v.slice(S.perPage*(S.curr-1),S.perPage*S.curr))},[S]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"jsx-18aed4793f9a7a0a center col w100 table-div",children:P.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("table",{className:"jsx-18aed4793f9a7a0a",children:[(0,r.jsxs)("colgroup",{className:"jsx-18aed4793f9a7a0a",children:[j&&(0,r.jsx)("col",{style:{width:40,minWidth:40},className:"jsx-18aed4793f9a7a0a"}),a.map(e=>(0,r.jsx)("col",{style:{width:e.width||"auto",minWidth:e.width||"auto"},className:"jsx-18aed4793f9a7a0a"},e.key))]}),(0,r.jsx)("thead",{className:"jsx-18aed4793f9a7a0a",children:(0,r.jsxs)("tr",{className:"jsx-18aed4793f9a7a0a",children:[j&&(0,r.jsx)("th",{className:"jsx-18aed4793f9a7a0a"}),a.map(e=>{let a=e.dataIndex&&d(null==w?void 0:w.dataIndex,e.dataIndex),t=(null==w?void 0:w.order)===-1;return(0,r.jsxs)("th",{style:{textAlign:e.align||"left"},onClick:()=>p&&e.title&&function(e){let a={dataIndex:e.dataIndex,order:w&&d(w.dataIndex,e.dataIndex)?-1*w.order:e.isString?1:-1,isString:e.isString};y(a),b&&localStorage.setItem(b,JSON.stringify(a))}(e),className:"jsx-18aed4793f9a7a0a "+((a?"bold":"regular")+(p&&e.title?" pointer":"")||""),children:[e.title||"",!!e.titleInfo&&(0,r.jsx)(m,{text:e.titleInfo})," ",p&&a&&(0,r.jsx)("span",{className:"jsx-18aed4793f9a7a0a",children:t?(0,r.jsx)(l._M,{color:"#888"}):(0,r.jsx)(l.Kh,{color:"#888"})})]},e.key)})]})}),(0,r.jsx)("tbody",{className:"jsx-18aed4793f9a7a0a",children:P.map(e=>{let t=s(e);return(0,r.jsx)(n.Fragment,{children:(0,r.jsx)(g,{r:e,k:t,rowKey:s,columns:a,sortBy:w,expandable:j,expanded:F,toggleExpanded:M,nivel:1,parentNombre:null,keyLocalSort:b})},t)})})]}),S.rows>5?(0,r.jsxs)("ul",{className:"jsx-18aed4793f9a7a0a "+((h||(null==o?void 0:o.position)==="left"?"pagination pagination-left w100":"pagination w100")||""),children:[!c&&(0,r.jsxs)("li",{className:"jsx-18aed4793f9a7a0a page-text",children:["mostrando resultados ",S.perPage*(S.curr-1)+1," a ",Math.min(S.perPage*S.curr,S.rows)," de ",S.rows]}),S.pages.map(e=>"sep-1"===e||"sep-2"===e?(0,r.jsx)("li",{className:"jsx-18aed4793f9a7a0a sep",children:"..."},e):(0,r.jsx)("li",{onClick:()=>(function(e){if(e===S.curr)return;let a=Math.ceil(S.rows/S.perPage),t=[1];if(a<10)t=Array.from({length:a},(e,a)=>a+1);else{let r=Array.from({length:5},(a,t)=>t-2+e).filter(e=>e>1&&e<=a);
1if(e<=3?t.push(2,3,4,5):4===e&&t.push(...r),t.push("sep-1"),e>=5&&e<=a-4)t.push(...r,"sep-2");else if(e===a-3)t.push(...r);else if(e>=a-2){let e=Array.from({length:4},(e,t)=>t-4+a);t.push(...e)}t.push(a)}I(a=>({...a,pages:t,curr:e}))})(e),className:"jsx-18aed4793f9a7a0a "+((S.curr===e?"page pointer page-curr":"page pointer")||""),children:e},e)),(0,r.jsx)("li",{className:"jsx-18aed4793f9a7a0a",children:(0,r.jsx)("select",{id:"perPage",name:"perPage",value:S.perPage,onChange:function(e){let a=Number(e.target.value);if(a===S.perPage)return;let t=Math.ceil(S.rows/a),r=t<10?Array.from({length:t},(e,a)=>a+1):[1,2,3,4,5,"sep-1",t];I(e=>({...e,perPage:a,pages:r,curr:1}))},className:"jsx-18aed4793f9a7a0a input select per-page pointer",children:D.map(e=>(0,r.jsx)("option",{value:e,className:"jsx-18aed4793f9a7a0a",children:"".concat(e," por p\xe1gina")},e))})})]}):k?null:(0,r.jsx)("div",{className:"jsx-18aed4793f9a7a0a w100 separador"})]}):(0,r.jsx)("div",{className:"jsx-18aed4793f9a7a0a w100 sin-datos",children:(0,r.jsx)("p",{className:"jsx-18aed4793f9a7a0a",children:"No hay datos para mostrar"})})}),(0,r.jsx)(i(),{id:"ea0f68c9385c2892",children:"th,td{border-bottom:1px solid#f0f0f0;padding:12px 8px;word-wrap:break-word;overflow-wrap:break-word}th{font-weight:500;position:-webkit-sticky;position:sticky;top:0;z-index:10}th,tbody>tr:hover,tbody .celeste{background-color:var(--celeste-1)}th:first-child{-webkit-border-top-left-radius:10px;-moz-border-radius-topleft:10px;border-top-left-radius:10px}th:last-child{-webkit-border-top-right-radius:10px;-moz-border-radius-topright:10px;border-top-right-radius:10px}.expand{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:24px;width:24px;background-color:var(--celeste-1)}.expand:hover{background-color:#fff}.ellipsis{overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;word-break:keep-all}.fila-cargando{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;gap:10px}"}),(0,r.jsx)(i(),{id:"52fc0888445bfb08",children:'.table-div.jsx-18aed4793f9a7a0a{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}table.jsx-18aed4793f9a7a0a{width:100%;border-spacing:0;background-color:#fff;border-collapse:collapse;table-layout:fixed}.pagination.jsx-18aed4793f9a7a0a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;font-size:16px;padding-left:15px;margin:16px 0;list-style:none}.page-text.jsx-18aed4793f9a7a0a{display:none;margin-right:10px;height:24px;line-height:24px}.page.jsx-18aed4793f9a7a0a{min-width:24px;height:24px;margin:0 2px;line-height:22px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:inline-block;border:1px solid transparent;text-align:center;padding:0 2px}.page-curr.jsx-18aed4793f9a7a0a{background-color:var(--celeste-1)}.sep.jsx-18aed4793f9a7a0a{color:rgba(0,0,0,.25);line-height:14px;min-width:26px;letter-spacing:2px;text-align:center;font-weight:600;font-size:20px}.per-page.jsx-18aed4793f9a7a0a{font-size:16px;margin-left:10px;border:1px solid#d9d9d9;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;height:24px;padding:0 7px;background-color:#fff;width:140px;color:var(--negro-1)}.page.jsx-18aed4793f9a7a0a:hover,.page-curr.jsx-18aed4793f9a7a0a,.per-page.jsx-18aed4793f9a7a0a:hover{border-color:var(--azul-1)}.sin-datos.jsx-18aed4793f9a7a0a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding-left:50px;color:#666}.separador.jsx-18aed4793f9a7a0a{height:1rem}select.jsx-18aed4793f9a7a0a{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%233f3f3f%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3
1E%3C%2Fsvg%3E");background-repeat:no-repeat,repeat;background-position:right.8rem top 55%,0 0;-webkit-background-size:.55rem auto,100%;-moz-background-size:.55rem auto,100%;-o-background-size:.55rem auto,100%;background-size:.55rem auto,100%;padding-right:2rem}@media(min-width:1200px){.page-text.jsx-18aed4793f9a7a0a{display:inline}.pagination.jsx-18aed4793f9a7a0a{-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.sin-datos.jsx-18aed4793f9a7a0a{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0}.pagination-left.jsx-18aed4793f9a7a0a{-webkit-box-pack:start;-webkit-justify-content:flex-start;-moz-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}'})]})}function g(e){let{r:a,k:t,rowKey:s,columns:i,sortBy:c,expandable:p,expanded:f,toggleExpanded:u,nivel:m=1,parentNombre:b,keyLocalSort:h}=e;if("object"!=typeof a)return null;let j=p&&f.includes(t),k=p&&Array.isArray(a.arrDataVars)&&a.arrDataVars.length>0,w=null==h?void 0:h.includes("meta"),y={mas:w&&1===m?"mostrar conjuntos de anuncios":w&&2===m?"mostrar anuncios":"mostrar variantes",menos:w&&1===m?"ocultar conjuntos de anuncios":w&&2===m?"ocultar anuncios":"ocultar variantes"};return(0,r.jsxs)(n.Fragment,{children:[(0,r.jsxs)("tr",{className:j&&k?"celeste":"",onClick:()=>!1,children:[p&&(0,r.jsx)("td",{className:m>1?"celeste":"",children:k&&(0,r.jsx)("div",{className:"center pointer expand",title:j?y.menos:y.mas,onClick:()=>u({isExpanded:j,key:t,r:a}),children:j?(0,r.jsx)(l.oy,{inline:!0,m:"0",size:16}):(0,r.jsx)(l.$v,{inline:!0,m:"0",size:16})})}),i.map(e=>{if("imagen"===e.key&&m>1)return(0,r.jsx)("td",{},e.key);let t=o(e.dataIndex,a),s=m>1&&"nombre"===e.dataIndex&&t.includes("(")&&b&&t!==b?t.slice(0,t.length-1).replace("".concat(b," ("),""):t;return(0,r.jsx)("td",{className:(e.dataIndex&&d(null==c?void 0:c.dataIndex,e.dataIndex)?"bold":"regular")+(e.ellipsis?" ellipsis":""),style:{textAlign:e.align||"left"},children:e.render?e.render(s,a):s},e.key)})]}),j&&k&&x(a.arrDataVars,c).map(e=>{let t=s(e);return(0,r.jsx)(n.Fragment,{children:(0,r.jsx)(g,{r:e,k:t,rowKey:s,columns:i,sortBy:c,expandable:p,expanded:f,toggleExpanded:u,nivel:m+1,parentNombre:a.nombre,keyLocalSort:h})},t)})]},t)}function m(e){let{text:a}=e,[t,s]=(0,n.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onClick:()=>s(e=>!e),className:"jsx-76b502921cf297d6 rel",children:[(0,r.jsx)(l.kI,{size:18,color:"#bbb",m:"0 0 -3px 3px"}),t&&(0,r.jsx)("div",{className:"jsx-76b502921cf297d6 info-text regular",children:a})]}),(0,r.jsx)(i(),{id:"76b502921cf297d6",children:".info-text.jsx-76b502921cf297d6{position:absolute;top:22px;right:0px;z-index:1;font-size:14px;color:var(--negro-1);background:#f3f3f3;padding:8px 12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:130px;border:1px solid#888;text-align:center}"})]})}}}]);
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.