1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`1.141.5`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`530e97d6-fb47-4481-8396-d6e3a5a79ebe`,e._sentryDebugIdIdentifier=`sentry-dbid-530e97d6-fb47-4481-8396-d6e3a5a79ebe`)}catch{}})();import{n as e}from"./DVxm0iIO.js";import{ct as t,lt as n,rs as r}from"./sdMpotc1.js";import{Bt as i,t as a}from"./CwcG1ssT.js";import{O as o,c as s,f as c}from"./OPiOTCoO.js";import{Ur as l,mr as u,r as d}from"./CT1CL1ga.js";import{i as f,o as p,r as m,u as h}from"./D8A-IX_r.js";import{Dt as g,ct as _,dt as v,n as y}from"./CceByRE7.js";import{t as b}from"./9z9MAU_y.js";import{d as x,t as S}from"./B3zFwEUl2.js";var C,w,T=e((()=>{n(),{useAffiliateTranslation:C,affiliateTranslation:w}=t(`affiliate`)})),E,D=e((()=>{E=({id:e,username:t})=>t?`${e} - ${t}`:String(e)})),O=e((()=>{D()})),k,A,j=e((()=>{h(),S(),k=m().of(p().required()).default([]).when(`$canFilterByAffiliates`,{is:!1,then:e=>e.strip()}),A=()=>{let{canViewList:e}=x();return{affiliateIdsSchema:e?f({affiliateIds:k}):void 0}}}));function M({title:e,name:t=`affiliateIds`,filter:n,searchPlaceholder:r,additionalOptions:i={labelKey:e=>E(e)},...a}){let{t:s}=C(),{withPartnerId:l}=o(),{canViewList:d}=x(),f=_({queryKeysFunc:c.list,query:u,dto:{filter:l(n)},additionalOptions:i});return d?(0,N.jsx)(g,{title:e??s(`fields.affiliate.label`),name:t,as:v,searchPlaceholder:r??s(`fields.masterAffiliates.searchPlaceholder`),...f,...a}):null}var N,P=e((()=>{s(),S(),d(),y(),b(),O(),T(),N=r()}));function F({title:e,name:t=`affiliateIds`,filter:n,searchPlaceholder:r,additionalOptions:a={labelKey:e=>E(e)},...s}){let{t:l}=C(),{withPartnerId:d}=o(),{canViewList:f}=x(),p=_({queryKeysFunc:c.list,query:u,dto:{filter:d(n)},additionalOptions:a});return f?(0,I.jsx)(g,{title:e??l(`fields.affiliate.label`),name:t,as:i,showSearch:!0,searchPlaceholder:r??l(`fields.masterAffiliates.searchPlaceholder`),...p,...s}):null}var I,L=e((()=>{s(),S(),d(),a(),y(),b(),O(),T(),I=r()})),R,z=e((()=>{S(),R=()=>{let{canViewList:e}=x();return{canFilterByAffiliates:e}}})),B=e((()=>{j(),P(),L(),z()}));function V(e){let{t}=C(),{withPartnerId:n}=o(),{canViewList:r}=x(),i=_({queryKeysFunc:c.list,query:u,dto:{filter:n({displayMasterAffiliateInfo:!0,statuses:[l.ACTIVE],master:!0})},additionalOptions:{labelKey:e=>E(e)}});return r?(0,H.jsx)(g,{title:t(`fields.masterAffiliates.title`),name:`affiliateIds`,as:v,searchPlaceholder:t(`fields.masterAffiliates.searchPlaceholder`),...i,...e}):null}var H,U=e((()=>{d(),s(),S(),y(),b(),O(),T(),H=r()})),W=e((()=>{B(),U()})),G=e((()=>{W()}));export{w as _,z as a,L as c,k as d,j as f,D as g,E as h,U as i,M as l,O as m,W as n,R as o,A as p,V as r,F as s,G as t,P as u,T as v,C as y}; 2//# sourceMappingURL=CdsIvsMC2.js.map
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.