1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20357,65533],{77171:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(1413),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},s=n(13401),r=function(e,t){return l.createElement(s.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};r.displayName="ArrowDownOutlined";var i=l.forwardRef(r)},1912:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(1413),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"},s=n(13401),r=function(e,t){return l.createElement(s.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};r.displayName="ArrowUpOutlined";var i=l.forwardRef(r)},59544:function(e,t,n){"use strict";var a=n(95318).default,l=n(20862).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n(67294)),s=a(n(23854)),r=n(47419),i=a(n(43207)),d=n(52353);let c=1e3/30,u=e=>{let{value:t,format:n="HH:mm:ss",onChange:a,onFinish:l}=e,u=(0,s.default)(),m=o.useRef(null),f=()=>{null==l||l(),m.current&&(clearInterval(m.current),m.current=null)},p=()=>{let e=new Date(t).getTime();e>=Date.now()&&(m.current=setInterval(()=>{u(),null==a||a(e-Date.now()),e<Date.now()&&f()},c))};o.useEffect(()=>(p(),()=>{m.current&&(clearInterval(m.current),m.current=null)}),[t]);let h=(e,t)=>(0,d.formatCountdown)(e,Object.assign(Object.assign({},t),{format:n})),x=e=>(0,r.cloneElement)(e,{title:void 0});return o.createElement(i.default,Object.assign({},e,{valueRender:x,formatter:h}))};var m=o.memo(u);t.default=m},95293:function(e,t,n){"use strict";var a=n(20862).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(67294));let o=e=>{let t;let{value:n,formatter:a,precision:o,decimalSeparator:s,groupSeparator:r="",prefixCls:i}=e;if("function"==typeof a)t=a(n);else{let d=String(n),c=d.match(/^(-?)(\d*)(\.(\d+))?$/);if(c&&"-"!==d){let u=c[1],m=c[2]||"0",f=c[4]||"";m=m.replace(/\B(?=(\d{3})+(?!\d))/g,r),"number"==typeof o&&(f=f.padEnd(o,"0").slice(0,o>0?o:0)),f&&(f=`${s}${f}`),t=[l.createElement("span",{key:"int",className:`${i}-content-value-int`},u,m),f&&l.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},f)]}else t=d}return l.createElement("span",{className:`${i}-content-value`},t)};t.default=o},43207:function(e,t,n){"use strict";var a=n(20862).default,l=n(95318).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n(94184)),s=a(n(67294)),r=n(31929),i=l(n(10149)),d=l(n(95293)),c=l(n(12418)),u=l(n(59544));let m=e=>{let{prefixCls:t,className:n,style:a,valueStyle:l,value:u=0,title:m,valueRender:f,prefix:p,suffix:h,loading:x=!1,onMouseEnter:v,onMouseLeave:g,decimalSeparator:j=".",groupSeparator:y=","}=e,{getPrefixCls:w,direction:b}=s.useContext(r.ConfigContext),E=w("statistic",t),[S,Z]=(0,c.default)(E),_=s.createElement(d.default,Object.assign({decimalSeparator:j,groupSeparator:y,prefixCls:E},e,{value:u})),I=(0,o.default)(E,{[`${E}-rtl`]:"rtl"===b},n,Z);return S(s.createElement("div",{className:I,style:a,onMouseEnter:v,onMouseLeave:g},m&&s.createElement("div",{className:`${E}-title`},m),s.createElement(i.default,{paragraph:!1,loading:x,className:`${E}-skeleton`},s.createElement("div",{style:l,className:`${E}-content`},p&&s.createElement("span",{className:`${E}-content-prefix`},p),f?f(_):_,h&&s.createElement("span",{className:`${E}-content-suffix`},h)))))};m.Countdown=u.default,t.default=m},26289:function(e,t,n){"use strict";var a=n(95318).default;t.Z=void 0;var l=a(n(43207)).default;t.Z=l},12418:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(3184),l=n(98078);let o=e=>{let{componentCls:t,marginXXS:n,padding:a,colorTextDescription:o,statisticTitleFontSize:s,colorTextHeading:r,statisticContentFontSize:i,statisticFontFamily:d}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,l.resetComponent)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:s},[`${t}-skeleton`]:{paddingTop:a},[`${t}-content`]:{color:r,fontSize:i,fontFamily:d,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var s=(0,a.genComponentStyleHook)("Statistic",e=>{let{fontSizeHeading3:t,fontSize:n,fontFamily:l}=e,s=(0,a.mergeToken)(e,{statisticTitleFontSize:n,statisticContentFontSize:t,statisticFontFamily:l});return[o(s)]});t.default=s},52353:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatCountdown=function(e,t){let{format:n=""}=t,l=new Date(e).getTime(),o=Date.now();return a(Math.max(l-o,0),n)},t.formatTimeStr=a;let n=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function a(e,t){let a=e,l=/\[[^\]]*]/g,o=(t.match(l)||[]).map(e=>e.slice(1,-1)),s=t.replace(l,"[]"),r=n.reduce((e,t)=>{let[n,l]=t;if(e.includes(n)){let o=Math.floor(a/l);return a-=o*l,e.replace(RegExp(`${n}+`,"g"),e=>{let t=e.length;return o.toString().padStart(t,"0")})}return e},s),i=0;return r.replace(l,()=>{let e=o[i];return i+=1,e})}},66607:function(e){e.exports=function(e,t,n){t.prototype.isBetween=function(e,t,a,l){var o=n(e),s=n(t),r="("===(l=l||"()")[0],i=")"===l[1];return(r?this.isAfter(o,a):!this.isBefore(o,a))&&(i?this.isBefore(s,a):!this.isAfter(s,a))||(r?this.isBefore(o,a):!this.isAfter(o,a))&&(i?this.isAfter(s,a):!this.isBefore(s,a))}}},56846:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sanchezcms/contatos",function(){return n(55940)}])},47446:function(e,t,n){"use strict";var a=n(85893),l=n(68795),o=n(65400),s=n(51024),r=n(74048),i=n(37763),d=n.n(i),c=n(65533);let u=null,m=(e,t)=>({filterDropdown:n=>{let{setSelectedKeys:i,selectedKeys:d,confirm:m,clearFilters:f}=n;return(0,a.jsxs)("div",{style:{padding:8},children:[(0,a.jsx)(s.default,{ref:e=>{u=e},value:d[0],onChange:e=>i(e.target.value?[e.target.value]:[]),onPressEnter:()=>{m(),window.sessionStorage.setItem("".concat(t,"-search-text"),d[0]),window.sessionStorage.setItem("".concat(t,"-search-dataIndex"),e)},style:{width:"100%",marginBottom:8,display:"block"}}),(0,a.jsxs)(r.default,{children:[(0,a.jsx)(o.default,{onClick:()=>{m(),window.sessionStorage.setItem("".concat(t,"-search-text"),d[0]),window.sessionStorage.setItem("".concat(t,"-search-dataIndex"),e)},icon:(0,a.jsx)(l.Z,{}),size:"small",style:{width:90},children:(0,a.jsx)(c.default,{namespace:"common.Admin",path:"SEARCH"})}),(0,a.jsx)(o.default,{onClick:()=>{f(),window.sessionStorage.setItem("".concat(t,"-search-text"),"")},size:"small",style:{width:90},children:(0,a.jsx)(c.default,{namespace:"common.Admin",path:"CLEAR"})})]})]})},filterIcon:e=>(0,a.jsx)(l.Z,{style:{color:e?"#1890ff":void 0}}),onFilter:(t,n)=>n[e]?n[e].toString().toLowerCase().includes(t.toLowerCase()):"",onFilterDropdownVisibleChange:e=>{e&&setTimeout(()=>u.select(),100)},render:n=>window.sessionStorage.getItem("".concat(t,"-search-dataIndex"))===e?(0,a.jsx)(d(),{highlightStyle:{backgroundColor:"#ffc069",padding:0},searchWords:[window.sessionStorage.getItem("".concat(t,"-search-text"))],autoEscape:!0,textToHighlight:n?n.toString():""}):n});t.Z=m},65533:function(e,t,n){"use strict";n.r(t);var a=n(85893),l=n(67294),o=n(21296);t.default=(0,l.memo)(e=>{let{namespace:t,path:n}=e,l=(0,o.Z)(t);return(0,a.jsx)(a.Fragment,{children:l(n)})})},60642:function(e,t,n){"use strict";n.r(t),n.d(t,{Line:function(){return d},ListSkeleton:function(){return f},ListSkeletonItem:function(){return m},ListToolbarSkeleton:function(){return h},MediaQueryKeyEnum:function(){return c},PageHeaderSkeleton:function(){return p}});var a=n(85893),l=n(70302),o=n(74253),s=n(10149),r=n(74048),i=n(59209);let d=e=>{let{padding:t}=e;return(0,a.jsx)("div",{style:{padding:t||"0 24px"},children:(0,a.jsx)(o.Z,{style:{margin:0}})})},c={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},u=e=>{let{size:t,active:n}=e,o=(0,i.ZP)(),r=void 0===t?c[o]||6:t,d=e=>0===e?0:r>2?42:16;return(0,a.jsx)(l.Z,{bordered:!1,style:{marginBlockEnd:16},children:(0,a.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:Array(r).fill(null).map((e,t)=>(0,a.jsxs)("div",{style:{borderInlineStart:r>2&&1===t?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:d(t),flex:1,marginInlineEnd:0===t?16:0},children:[(0,a.jsx)(s.default,{active:n,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,a.jsx)(s.default.Button,{active:n,style:{height:48}})]},t))})})},m=e=>{let{active:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Z,{bordered:!1,style:{borderRadius:0},bodyStyle:{padding:24},children:(0,a.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,a.jsx)("div",{style:{maxWidth:"100%",flex:1}
1,children:(0,a.jsx)(s.default,{active:t,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,a.jsx)(s.default.Button,{active:t,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,a.jsx)(d,{})]})},f=e=>{let{size:t,active:n=!0,actionButton:o}=e;return(0,a.jsxs)(l.Z,{bordered:!1,bodyStyle:{padding:0},children:[Array(t).fill(null).map((e,t)=>(0,a.jsx)(m,{active:!!n},t)),!1!==o&&(0,a.jsx)(l.Z,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},bodyStyle:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(s.default.Button,{style:{width:102},active:n,size:"small"})})]})},p=e=>{let{active:t}=e;return(0,a.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,a.jsx)(s.default,{paragraph:!1,title:{width:185}}),(0,a.jsx)(s.default.Button,{active:t,size:"small"})]})},h=e=>{let{active:t}=e;return(0,a.jsx)(l.Z,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},bodyStyle:{paddingBlockEnd:8},children:(0,a.jsxs)(r.default,{style:{width:"100%",justifyContent:"space-between"},children:[(0,a.jsx)(s.default.Button,{active:t,style:{width:200},size:"small"}),(0,a.jsxs)(r.default,{children:[(0,a.jsx)(s.default.Button,{active:t,size:"small",style:{width:120}}),(0,a.jsx)(s.default.Button,{active:t,size:"small",style:{width:80}})]})]})})},x=e=>{let{active:t=!0,statistic:n=!1,actionButton:o,toolbar:s,pageHeader:r,list:i=5}=e;return(0,a.jsxs)("div",{style:{width:"100%"},children:[!1!==r&&(0,a.jsx)(p,{active:t}),!1!==n&&(0,a.jsx)(u,{size:n,active:t}),(!1!==s||!1!==i)&&(0,a.jsxs)(l.Z,{bordered:!1,bodyStyle:{padding:0},children:[!1!==s&&(0,a.jsx)(h,{active:t}),!1!==i&&(0,a.jsx)(f,{size:i,active:t,actionButton:o})]})]})};t.default=x},94639:function(e,t,n){"use strict";var a=n(85893),l=n(74048),o=n(59361),s=n(5152),r=n.n(s),i=n(47446);let d=r()(()=>n.e(44332).then(n.bind(n,44332)),{loadableGenerated:{webpack:()=>[44332]}}),c=r()(()=>Promise.resolve().then(n.bind(n,65533)),{loadableGenerated:{webpack:()=>[65533]}}),u=r()(()=>n.e(11205).then(n.bind(n,11205)),{loadableGenerated:{webpack:()=>[11205]}}),m=r()(()=>Promise.all([n.e(38191),n.e(97172)]).then(n.bind(n,97172)),{loadableGenerated:{webpack:()=>[97172]}}),f="contatos",p={path:f,full_path:"'/gerenciamento'/".concat(f,"/"),title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"MODULE"}),db:f,buttons:(0,a.jsx)(u,{}),fields:[{name:"id",label:"ID",type:"id"},{name:"name",label:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_02"}),type:"text",validations:{required:!0}},{name:"email",label:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_03"}),type:"text",validations:{required:!0}},{name:"phone",label:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_04"}),type:"text",validations:{required:!0}},{name:"message",label:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_05"}),type:"text",validations:{required:!0}}],columns:[{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_02"}),dataIndex:"name",key:"name",ellipsis:!0,...(0,i.Z)("name",f,"FIELDS_02")},{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"FIELDS_03"}),dataIndex:"email",key:"email",ellipsis:!0,...(0,i.Z)("email",f,"FIELDS_02")},{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"DATE"}),key:"createdAt",render:(e,t)=>(0,a.jsx)(d,{data:t.createdAt,format:"MMM D, YYYY"})},{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"HOUR"}),key:"updatedAt",render:(e,t)=>(0,a.jsx)(d,{data:t.createdAt,format:"h:mm A"})},{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"STATUS"}),key:"opened",width:100,dataIndex:"opened",filters:[{text:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"OPEN"}),value:!0},{text:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"CLOSED"}),value:!1}],onFilter:(e,t)=>t.opened==e,render:e=>(0,a.jsx)(a.Fragment,{children:e?(0,a.jsx)(o.Z,{color:"yellow",children:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"OPEN"})}):(0,a.jsx)(o.Z,{color:"green",children:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"CLOSED"})})})},{title:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"OPTIONS"}),key:"action",render:(e,t)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(l.default,{size:"middle",children:(0,a.jsx)(m,{record:t,children:(0,a.jsx)("a",{href:e=>e.stopPropagation(),children:(0,a.jsx)(c,{namespace:"common.Modules.contatos",path:"VIEW"})})})})})}]};t.Z=p},55940:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return T},default:function(){return B}});var a=n(85893),l=n(67294),o=n(74048),s=n(8100),r=n(20469),i=n(60642),d=n(1912),c=n(77171),u=n(1832),m=n(70302),f=n(5789),p=n(55673),h=n(26289),x=n(63105),v=n.n(x),g=n(5152),j=n.n(g),y=n(13075);let w=j()(()=>Promise.resolve().then(n.bind(n,65533)),{loadableGenerated:{webpack:()=>[65533]}}),b=n(66607);
1function E(e){let{contatos:t,locale:n}=e,l=(0,y.Z)();l.extend(b);let o=v()(t,e=>l(e.createdAt).isAfter(l().add(30,"days"))),s=v()(t,e=>l(e.createdAt).isBetween(l().add(30,"days"),l().add(60,"days"))),r=v()(t,e=>e.opened),i=v()(t,e=>!e.opened),x=v()(o,e=>e.opened),g=v()(o,e=>!e.opened),j=v()(s,e=>e.opened),E=v()(s,e=>!e.opened);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(p.Z,{gutter:16,children:[(0,a.jsx)(f.Z,{span:6,children:(0,a.jsx)(m.Z,{children:(0,a.jsx)(h.Z,{title:(0,a.jsx)(w,{namespace:"common.Modules.contatos",path:"LEADS_ACTIVE_TITLE"}),value:null==r?void 0:r.length,precision:0,valueStyle:{color:(null==x?void 0:x.length)>(null==j?void 0:j.length)?"#3f8600":"#cf1322"},prefix:(null==x?void 0:x.length)>(null==j?void 0:j.length)?(0,a.jsx)(d.Z,{}):(0,a.jsx)(c.Z,{}),suffix:"/ ".concat((null==r?void 0:r.length)+(null==i?void 0:i.length))})})}),(0,a.jsx)(f.Z,{span:6,children:(0,a.jsx)(m.Z,{children:(0,a.jsx)(h.Z,{title:(0,a.jsx)(w,{namespace:"common.Modules.contatos",path:"LEADS_CLOSED_TITLE"}),value:null==i?void 0:i.length,precision:0,valueStyle:{color:(null==g?void 0:g.length)>(null==E?void 0:E.length)?"#3f8600":"#cf1322"},prefix:(null==g?void 0:g.length)>(null==E?void 0:E.length)?(0,a.jsx)(d.Z,{}):(0,a.jsx)(c.Z,{}),suffix:"/ ".concat((null==r?void 0:r.length)+(null==i?void 0:i.length))})})}),(0,a.jsx)(f.Z,{span:6,children:(0,a.jsx)(m.Z,{children:(0,a.jsx)(h.Z,{title:(0,a.jsx)(w,{namespace:"common.Modules.contatos",path:"LEADS_LAST30_TITLE"}),value:null==o?void 0:o.length,precision:0,valueStyle:{color:(null==o?void 0:o.length)>(null==s?void 0:s.length)?"#3f8600":"#cf1322"},prefix:(null==o?void 0:o.length)>(null==s?void 0:s.length)?(0,a.jsx)(d.Z,{}):(0,a.jsx)(c.Z,{}),suffix:"lead(s)"})})}),(0,a.jsx)(f.Z,{span:6,children:(0,a.jsx)(m.Z,{children:(0,a.jsx)(h.Z,{title:(0,a.jsx)(w,{namespace:"common.Modules.contatos",path:"LEADS_RECEIVED_TITLE"}),value:null==t?void 0:t.length,precision:0,valueStyle:{color:" #3498db "},prefix:(0,a.jsx)(u.Z,{}),suffix:"lead(s)"})})})]})})}var S=n(97578),Z=n(17977),_=n(57605),I=n(2307),L=n(62748),k=n(21296),M=n(43443),A=n(38681);function C(e){let{contatos:t,locale:l}=e,{message:s}=_.Z.useApp(),r=n(94639).Z,i=(0,k.Z)("common.Admin"),[d,c]=(0,S.Z)("active-page-".concat(l,"-").concat(r.db),{defaultValue:1}),[u,m]=(0,S.Z)("size-page-".concat(l,"-").concat(r.db),{defaultValue:10}),[,f]=(0,S.Z)("filtered-info-".concat(l,"-").concat(r.db)),[,p]=(0,S.Z)("sorted-info-".concat(l,"-").concat(r.db)),h=(e,t,n)=>{f(t),p(n)},x=(0,M.gU)(e=>(0,a.jsx)("tr",{...e})),v=(0,M.hv)(e=>(0,a.jsx)("tbody",{...e})),g=e=>{let{oldIndex:n,newIndex:a}=e;if(n!==a){let l=(0,L.q)(t,n,a).filter(e=>!!e);l.map(async(e,t)=>{}),s.success(i("TABLE_REORDERED"))}},j=e=>(0,a.jsx)(v,{useDragHandle:!0,disableAutoscroll:!0,helperClass:"row-dragging",onSortEnd:g,...e}),y=e=>{let{className:n,style:l,...o}=e,s=t.findIndex(e=>e.order===o["data-row-key"]);return(0,a.jsx)(x,{index:s,...o})};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(A.Z.Consumer,{children:e=>{var n;let{master:l,permissions:s}=e;return(null==s?void 0:null===(n=s.contatos)||void 0===n?void 0:n.includes("index"))||l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{style:{marginBottom:16},children:void 0!==r.buttons&&r.buttons}),(0,a.jsx)(I.Z,{rowKey:void 0!==r.disable_order?"id":"order",columns:r.columns,dataSource:t||[],onChange:h,components:{body:{wrapper:j,row:y}},pagination:{current:d,pageSize:u,onChange:(e,t)=>
1{c(e),m(t)},showSizeChanger:!0,showTotal:(e,t)=>i("NAV_RANGE",{range_1:t[0],range_2:t[1],total:e})}})]}):(0,a.jsx)(Z.Z,{message:"A\xe7\xe3o n\xe3o permitida.",type:"warning",closable:!0})}},"button")})}function D(e,t){let n=new Date(e.createdAt).getTime(),a=new Date(t.createdAt).getTime();return n>a?1:-1}var T=!0;function B(e){let{locale:t}=e,n=(0,l.useRef)(),{data:r}=(0,s.ZP)("/api/backend/contacts");return r?(0,a.jsx)("div",{ref:n,children:(0,a.jsxs)(o.default,{direction:"vertical",size:30,children:[(0,a.jsx)(E,{contatos:null==r?void 0:r.result,locale:t}),(0,a.jsx)(C,{contatos:null==r?void 0:r.result.sort(D).reverse(),locale:t})]})}):(0,a.jsx)(i.default,{})}B.getLayout=function(e,t){var n,l,o;let{messages:s}=t;return(0,a.jsx)(r.Z,{title:null==s?void 0:null===(n=s.common)||void 0===n?void 0:null===(l=n.Modules)||void 0===l?void 0:null===(o=l.contatos)||void 0===o?void 0:o.MODULE,children:e})}}},function(e){e.O(0,[28473,44321,7377,21296,39258,71260,82435,52350,79464,22278,70302,31059,64713,96624,2307,91618,17977,20469,49774,92888,40179],function(){return e(e.s=56846)}),_N_E=e.O()}]);
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.