1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4924],{65330:function(e,t,l){var a,n,r,c,i,s,o,d,E,f,S,u,p,h,m,C,R,x,I,L,F,T,B,M,v,U,k,O,g=l(67294);function P(){return(P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(null,arguments)}t.Z=function(e){return g.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:220,height:201,fill:"none"},e),a||(a=g.createElement("path",{stroke:"#E0E0E0",strokeMiterlimit:10,d:"M103.996 172.413c47.169 0 85.405-38.281 85.405-85.503 0-47.221-38.236-85.502-85.405-85.502S18.589 39.69 18.589 86.91c0 47.222 38.238 85.503 85.407 85.503Z"})),n||(n=g.createElement("path",{fill:"#C5CAE9",d:"M34.516 39.718a3.01 3.01 0 0 0 3.008-3.012 3.01 3.01 0 0 0-3.008-3.011 3.01 3.01 0 0 0-3.008 3.011 3.01 3.01 0 0 0 3.008 3.012"})),r||(r=g.createElement("path",{fill:"#3F51B5",d:"M189.401 93.178a3.01 3.01 0 0 0 0-6.023 3.01 3.01 0 0 0-3.007 3.012 3.01 3.01 0 0 0 3.007 3.011M107.499 175.424a3.01 3.01 0 0 0 3.008-3.011 3.01 3.01 0 0 0-3.008-3.012 3.01 3.01 0 0 0-3.008 3.012 3.01 3.01 0 0 0 3.008 3.011"})),c||(c=g.createElement("path",{stroke:"#E0E0E0",strokeMiterlimit:10,d:"M105.974 151.256c35.187 0 63.711-28.556 63.711-63.782S141.161 23.69 105.974 23.69s-63.71 28.557-63.71 63.783 28.524 63.782 63.71 63.782Z"})),i||(i=g.createElement("path",{fill:"#FF7081",d:"M168.593 102.568a2.245 2.245 0 0 0 2.244-2.246 2.245 2.245 0 1 0-4.488 0 2.245 2.245 0 0 0 2.244 2.246"})),s||(s=g.createElement("path",{fill:"#3F51B5",d:"M46.884 113.69a2.246 2.246 0 0 0 2.244-2.247 2.245 2.245 0 0 0-2.244-2.246 2.245 2.245 0 0 0-2.244 2.246 2.245 2.245 0 0 0 2.244 2.247M77.436 32.634a2.245 2.245 0 0 0 2.244-2.246 2.245 2.245 0 1 0-4.488 0 2.245 2.245 0 0 0 2.244 2.246"})),o||(o=g.createElement("path",{fill:"#C5CAE9",d:"M148.042 142.79h-34.039c-1.477 0-2.559-1.353-2.417-3.023l5.811-68.339c.142-1.67 1.454-3.023 2.931-3.023h34.039c1.477 0 2.559 1.354 2.417 3.023l-5.811 68.339c-.142 1.67-1.454 3.023-2.931 3.023"})),d||(d=g.createElement("path",{fill:"#fff",d:"M146.512 140.677H115.51c-1.365 0-2.366-1.26-2.234-2.814l5.449-64.53c.132-1.555 1.345-2.815 2.71-2.815h31.002c1.365 0 2.366 1.26 2.234 2.815l-5.449 64.53c-.131 1.554-1.345 2.814-2.71 2.814"})),E||(E=g.createElement("path",{fill:"#FF7081",d:"M146.704 127.998h-15.709a.7.7 0 0 1-.337-.079.8.8 0 0 1-.279-.239 1 1 0 0 1-.171-.355 1.1 1.1 0 0 1-.032-.407l1.907-23.622c.028-.293.144-.564.326-.762a.94.94 0 0 1 .668-.317h15.709a.7.7 0 0 1 .337.079.8.8 0 0 1 .279.238q.118.155.172.355c.035.131.046.27.031.407l-1.907 23.622a1.3 1.3 0 0 1-.326.762.94.94 0 0 1-.668.318"})),f||(f=g.createElement("path",{fill:"#3F51B5",d:"M141.763 89.96h-21.856a2.2 2.2 0 0 1-.469-.045 1.5 1.5 0 0 1-.389-.137.65.65 0 0 1-.238-.204.29.29 0 0 1-.044-.233l1.254-13.525c.038-.168.199-.323.454-.437.254-.114.584-.179.928-.182h21.856c.161-.002.321.014.469.045s.281.078.389.137a.65.65 0 0 1 .238.203.3.3 0 0 1 .045.234l-1.254 13.525c-.039.168-.2.323-.454.437a2.4 2.4 0 0 1-.929.182"})),S||(S=g.createElement("path",{stroke:"#FF7081",strokeMiterlimit:10,strokeWidth:11.69,d:"M89.776 101.293c3.434-3.277 3.807-8.465.834-11.588s-8.168-2.999-11.602.278-3.808 8.465-.834 11.588c2.973 3.124 8.167 2.999 11.601-.278Z"})),u||(u=g.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:11.69,d:"M92.58 95.638c-.436 4.527-4.453 8.196-8.975 8.196s-7.835-3.669-7.4-8.196 4.452-8.196 8.974-8.196"})),p||(p=g.createElement("path",{fill:"#FFCCB3",d:"m70.332 69.388 3.815 5.983a1.215 1.215 0 0 1-.362 1.671l-.616.401a5.076 5.076 0 0 1-6.624-.953l-5.062-5.91z"})),h||(h=g.createElement("path",{fill:"#FFBE9D",d:"M67.421 71.69s1.413 4.856 4.25 6.414a12.4 12.4 0 0 0 2.114-1.062l-3.182-5.352"})),m||(m=g.createElement("path",{fill:"#FFCCB3",d:"m2.158 93.526 14.984-7.188a8.37 8.37 0 0 0 3.446-3.06L35.063 60.48a8.37 8.37 0 0 1 3.751-3.2l20.85-8.992L55.2 82.083l-.079 1.248s-5.514 14.298-19.03 19.492l-21.609 13.232z"})),C||(C=g.createElement("path",{fill:"#FFBE9D",d:"M59.636 56.543s-8.4 1.942-11.272 11.918l9.444-.378z"})),R||(R=g.createElement("path",{fill:"#FFCCB3",d:"m74.954 69.388 3.815 5.983a1.216 1.216 0 0 1-.362 1.671l-.617.401a5.076 5.076 0 0 1-6.623-.953l-5.062-5.91z"})),x||(x=g.createElement("path",{fill:"#C5CAE9",d:"m102.792 108.798-44.353-.113c-.181.014-.361-.084-.528-.286-.167-.203-.317-.506-.44-.889a7 7 0 0 1-.275-1.333 10 10 0 0 1-.059-1.54l2.391-76.536c.044-1.105.226-2.125.512-2.87.287-.743.657-1.16 1.043-1.17l44.352.114c.181-.015.362.083.529.285.167.203.317.506.44.889s.217.837.274 1.333c.058.495.078 1.02.059 1.54l-2.391 76.536c-.043 1.104-.225 2.125-.512 2.869-.286.744-.657 1.161-1.042 1.171"})),I||(I=g.createElement("path",{fill:"#fff",d:"m99.839 104.408-38.073-.096c-.155.012-.31-.071-.453-.242s-.272-.427-.378-.75a6 6 0 0 1-.236-1.126 8.6 8.6 0 0 1-.05-1.301L62.7 36.254c.038-.933.194-1.795.44-2.423.245-.629.564-.98.895-.99l38.072.097q.236-.017.454.241c.143.171.272.427.378.75.106.324.186.708.235 1.126.049.419.067.862.051 1.301l-2.053 64.639c-.037.933-.193 1.795-.439 2.424-.246.628-.564.98-.895.989"})),L||(L=g.createElement("path",{fill:"#3F51B5",d:"M96.666 99.139H66.154a.45.45 0 0 1-.278-.09.8.8 0 0 1-.23-.271 1.4 1.4 0 0 1-.142-.404 1.8 1.8 0 0 1-.026-.464l.91-15.543c.023-.333.119-.642.27-.868.15-.226.346-.354.551-.361H97.72a.45.45 0 0 1 .279.09.8.8 0 0 1 .23.271c.064.117.113.255.142.404s.038.308.026.464l-.91 15.543a1.8 1.8 0 0 1-.27.868c-.15.226-.347.354-.551.36"})),F||(F=g.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M63.277 28.451c0 1.212 1.18 2.195 2.635 2.195h1.317c1.455 0 2.634-.983 2.634-2.195s-1.18-2.195-2.634-2.195h-1.317c-1.455 0-2.635.983-2.635 2.195",clipRule:"evenodd"})),T||(T=g.createElement("path",{fill:"#FFCCB3",d:"m42.698 71.533 9.242-4.076 9.452-6.459c2.486-1.698 7.677-2.463 9.546-.102 1.901 2.402-.234 7.154-2.54 9.17l-8.735 7.636-4.542 5.628z"})),B||(B=g.createElement("path",{fill:"#3F51B5",d:"M17.712 85.742S15.92 98.566 31.508 105.91c0 0-11.197 10.283-15.514 12.012-4.317 1.728-20.537-15.941-14.768-25.97 1.618-2.812 16.486-6.21 16.486-6.21"})),M||(M=g.createElement("path",{fill:"#FFCCB3",d:"M152.619 133.275s5.218-1.416 7.995 1.627c0 0 4.992-.922 7.022 1.904 0 0 4.425.261 5.707 2.097a6.04 6.04 0 0 1 2.921 1.259 6.2 6.2 0 0 1 1.902 2.583c1.211 2.902.184 19.681-1.019 25.693a8.7 8.7 0 0 0 .299 4.512l3.059 8.947-21.169 9.005-5.026-13.339s-6.118-10.004-6.992-11.783.607-16.537-2.376-25.756z"})),v||(v=g.createElement("path",{fill:"#FF324B",d:"M156.806 184.576s13.493 1.231 21.681-9.041c0 0 3.023 1.587 7.665 13.205 1.425 3.569-22.382
116.274-26.231 10.993 0 0-3.323-7.039-3.115-15.157"})),U||(U=g.createElement("path",{fill:"#FFCCB3",d:"M146.02 145.788s-.464 2.476-2.655 2.476c-1.429 0-7.626-1.885-11.762-3.196a5.73 5.73 0 0 0-6.292 1.994l-.251.329a1.525 1.525 0 0 0 .331 2.176c3.501 2.461 12.956 9.142 14.166 10.36 1.488 1.499 9.775 9.9 9.775 9.9zM144.747 139.971l-7.404-22.799a6.238 6.238 0 0 1 .388-4.778 6.15 6.15 0 0 1 1.522-1.897 6 6 0 0 1 2.13-1.146 2.7 2.7 0 0 1 1.924.145 2.75 2.75 0 0 1 1.346 1.401l10.387 24.212z"})),k||(k=g.createElement("path",{fill:"#FFBE9D",d:"m200.962 31.904-13.99 7.589s-14.45 26.262-19.779 29.366-20.666 4.54-24.685-.735c0 0-15.245 21.014-18.46 17.532-3.444-3.467 26.172-44.748 26.172-44.748s-22.228 5.33-23.397-2.2a78.3 78.3 0 0 0 24.186-10.752c12.147-8.146 23.127-9.304 23.127-9.304l17.807-9.657z"})),O||(O=g.createElement("path",{fill:"#FF324B",d:"M198.539 33.33s2.589-12.43-13.921-20.479c0 0 12.647-9.418 17.41-10.866 4.762-1.447 21.434 16.726 14.679 26.2-1.894 2.658-18.168 5.144-18.168 5.144"})))}},22257:function(e,t,l){l.d(t,{M:function(){return F}});var a=l(85893),n=l(79328),r=l(34530),c=l(89587),i=l(93692),s=l(62803),o=l(95639),d=l(34279),E=l(80483),f=l(77527),S=l(7276),u=l(42042),p=l(67294);let{ERROR:h}=n.C.SNACKBAR.TYPE,{VALIDATION_ERRORS:{ERROR_NAME:m,ERROR_LENGTH:C}}=n.T,R=RegExp("[|@#$]"),x={noMarginBottom:!0,textvariant:"h5",sx:{wordBreak:"break-word",WebkitLineClamp:"2",textOverflow:"ellipsis",display:"-webkit-box",alignItems:"center",WebkitBoxOrient:"vertical"}},I=(0,f.ZP)(c.Z)(e=>{let{theme:t}=e;return{marginLeft:t.spacing(.5)}}),L={text:"test-title-text",input:"test-title-input",cancel:"test-title-cancel",save:"test-title-save",edit:"test-title-edit"};var F=e=>{let{name:t,onUpdateName:l,PrefixComponent:n,SuffixComponent:c,isEditable:f}=e,[F,T]=(0,p.useState)(!1),[B,M]=(0,p.useState)(t),v=(0,S.kP)(),U=null!=f?f:(0,r.J5)(v),k=(0,u.D)(),O=e=>{M(e)},g=async e=>{""===e.trim()?(k.error({message:C}),M(t)):R.test(e)?(k.open({variant:h,message:m}),M(t)):(await l(e),T(!1),M(e))};return F?(0,a.jsxs)(a.Fragment,{children:[n&&n,(0,a.jsx)(i.II,{type:"text",value:B,onChange:e=>O(e.target.value),"data-testid":L.input}),c&&c,(0,a.jsx)(I,{onClick:()=>T(!1),color:"default","data-testid":L.cancel,children:(0,a.jsx)(o.Z,{})}),(0,a.jsx)(I,{onClick:()=>g(B),color:"default","data-testid":L.save,children:(0,a.jsx)(E.Z,{})})]}):(0,a.jsxs)(a.Fragment,{children:[n&&n,(0,a.jsx)(s.ZP,{...x,"data-testid":L.text,overflow:"hidden",children:t}),c&&c,U&&(0,a.jsx)(I,{onClick:()=>T(!0),color:"default","data-testid":L.edit,children:(0,a.jsx)(d.Z,{})})]})}},84924:function(e,t,l){l.d(t,{YG:function(){return c},W8:function(){return m},QC:function(){return H},s8:function(){return Z}});var a=l(85893),n=l(77745),r=l(95639),c=e=>{let{value:t}=e;return!0===t?(0,a.jsx)(n.Z,{color:"success"}):(0,a.jsx)(r.Z,{color:"error"})},i=l(76258),s=l(19663),o=l(65389),d=l(85940),E=l(65330);let{PUBLISHERS_LISTS:{NO_PUBLISHERS_LISTS_VIEW:{ACTION:f,DESCRIPTION:S,TITLE:u}}}=s.default,{DIALOGS:p}=i.default,h=()=>{o.default.openDialog(p.NEW_PUBLISHER_LIST)};var m=()=>(0,a.jsx)(d.Z,{image:(0,a.jsx)(E.Z,{}),title:u,description:S,buttonOnClick:h,buttonText:f}),C=l(67294),R=l(11163),x=l(15549),I=l(38189),L=l(38042),F=l(86005),T=l(66310),B=l(84682),M=l(10053),v=l(69667),U=l(87792),k=l(68498),O=l(22257);let{PUBLISHER_LIST:{ACTIONS_HEADER:g},SECTIONS:P}=i.default.RESOURCES;var Z=e=>{let{publisherId:t}=e,[l,n]=(0,C.useState)(!1),r=(0,B.D)(),c=(0,R.useRouter)(),{data:o,mutate:d}=F.Z.usePublisherList({id:t});if(!o)return null;let E=[{text:i.default.RESOURCES.TITLE,href:x.default.RESOURCES.SECTION(i.default.RESOURCES.SECTIONS.PUBLISHERS)},{text:i.default.RESOURCES.TABS_TITLE.PUBLISHERS_LISTS,href:x.default.RESOURCES.SECTION(i.default.RESOURCES.SECTIONS.PUBLISHERS)},{text:(null==o?void 0:o.name)||""}],f=async e=>{try{await F.Z.update({name:e,id:o.id}),d(),r.success({message:s.default.PUBLISHERS_LISTS.SUCCESS_UPDATE})}catch(e){r.error({error:e})}},S=async()=>{try{await F.Z.remove(o.id),d(),n(!1),r.success({message:s.default.PUBLISHERS_LISTS.REMOVE.SUCCESS}),c.push(x.default.RESOURCES.SECTION(P.PUBLISHERS))}catch(e){r.error({error:e})}},u=async()=>{try{let e=await F.Z.duplicate(o.id);r.success({message:s.default.PUBLISHERS_LISTS.DUPLICATE.SUCCESS}),c.push(x.default.RESOURCES.PUBLISHER(e.id))}catch(e){r.error({error:e}),I.ZP.error(e)}},p=[{Component:v.c,propsComponent:{label:g.DUPLICATE,onClick:u,key:g.DUPLICATE}},{Component:v.c,propsComponent:{label:g.EXPORT,onClick:()=>{L.Z.downloadAsFile({data:o.publishers,filename:"".concat(o.id,"_publisher_data"),filetype:"txt"})},key:g.EXPORT,hidden:T.Z.isDemoActive()}},{Component:v.c,propsComponent:{label:g.DELETE,onClick:()=>{n(!0)},key:g.DELETE}}],h=[{Component:k.Z,propsComponent:{key:"dropdown",options:p}}],m=(0,a.jsx)(O.M,{onUpdateName:f,name:o.name});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(U.NC,{title:m,breadcrumbs:E,actions:h,subtitle:"ID: ".concat(o.id)}),(0,a.jsx)(()=>(0,a.jsx)(M.Z,{title:s.default.PUBLISHERS_LISTS.REMOVE.TITLE_DIALOG,onConfirm:S,onClose:()=>n(!1),open:l}),{})]})},j=l(97365),_=l(52137),w=l(9374),b=l(62803);let A={display:"flex",displayDirection:"row",width:"100%",gap:e=>e.spacing(.5)},D={flexGrow:1,margin:0,alignSelf:"center"};var H=e=>{let{id:t,value:l}=e,n=l||i.default.DATA_GRID.DEFAULT_VALUE,r=x.default.RESOURCES.PUBLISHER("".concat(t)),c=[_.templates.viewAction({path:r})];return(0,a.jsxs)(j.Z,{sx:A,children:[(0,a.jsx)(b.ZP,{noWrap:!0,sx:D,tooltipTitle:l||null,children:n}),(0,a.jsx)(w.zL,{actions:c})]})}},80483:function(e,t,l){var a=l(64836);t.Z=void 0;var n=a(l(33651)),r=l(85893);t.Z=(0,n.default)((0,r.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")}}]);
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.