PageSourceSearch

https://partners.meridianbet.pe/build/assets/ClicksPerCampaign-DxyPql8S.js

js meridianbet.pe collected 2026-10-02 06:58:28 UTC 3,297 bytes, 1 lines download raw bytes

1import{p as j,j as r,L as F}from"./main-CMViuH_f.js";import{a as l,L as D}from"./vendor-react-Bjxsyr_G.js";import{C as N}from"./vendor-redux-CkTbKByD.js";import{B as G}from"./Button-DzyKh4DA.js";import{u as Q,L as q,R as v,S as U,b as K}from"./useReportState-Cj499_cn.js";import{C as $,D as z}from"./reportsApi-goWev4o7.js";import{C as V}from"./marketing_clicks-0QPDqwfw.js";import{b as w}from"./reportDateHelpers-Bu333Bbj.js";import{i as H}from"./reportRoleHelpers-C5rdXZf7.js";import{b as g}from"./reportApiHelpers-Cv5qnHgV.js";import{u as J}from"./betshopsApi-ZzE3BURa.js";import{u as W}from"./useMarketContext-DOut5Zsj.js";import{u as X}from"./vendor-i18n-CmmgQqfv.js";import"./vendor-forms-Chlqk9RW.js";import"./TableData-rsaJzmAi.js";import"./useMediaQuery-Bzu3CIqR.js";import"./PaginationControls-BTJ-3hRF.js";import"./Filters-B_zORFkG.js";import"./Checkbox-103DDomz.js";import"./filterStyles-Dc9vUaM-.js";import"./DateTimePicker-DzJlOK33.js";import"./dateUtils-Cn8z919x.js";import"./formatDate-C6Vg3jtv.js";import"./reportFormatters-B4n4--ce.js";import"./filterOptions-BFwkiKTT.js";import"./permissions-CCOu_b7F.js";import"./downloadBlob-B7c8Dpai.js";function Y({t:e,managerOptions:n=[],selectedRole:a=null,betshopOptions:s=[],selectedBetshop:c=null,isMarket2:u=!1,isReferralUser:i=!1}){return K({t:e,canView:!0,managerOptions:n,selectedRole:a,betshopOptions:s,isMarket2:u,options:{includeRoleSelect:!i,useTypeInsteadOfRole:!0,includeManagerSelect:!0,includeCashierType:!1,includeReferralType:!i,includeSuspendedCheckbox:!0,includeBetshopIfCashier:!0,addAllToRole:!0,includeReferralInTypeSelect:!0,includeCashierInRoleSelect:!0,useDateTime:!0}})}const ye=()=>{const{t:e}=X(),n=N(t=>{var o;return(o=t.auth)==null?void 0:o.user}),a=H(n),{isMarket2:s}=W(),c=l.useCallback(t=>g(t),[]),u=l.useCallback(t=>g(t),[]),{loading:i,isTableLoading:h,isFetching:R,isExporting:b,items:x,totalPages:L,page:d,sortBy:P,sortDesc:T,selectedRole:p,roles:m,betshop:f,pendingFilters:E,handleFiltersChanged:y,handleSubmit:B,handlePageChange:_,handleSort:A,handleExport:I}=Q({fetchQuery:$,exportMutation:z,reportPath:"reports",requiredSubmit:!0,roleUrlKey:"type",requestArgBuilder:c,exportArgBuilder:u}),{data:C}=j({role:p||(m==null?void 0:m.affiliate)}),{data:S}=J(),M=l.useMemo(()=>w({t:e,labelsMap:V,includeCount:!0,includeActions:!1,customRenderers:{affiliate_name:{render:t=>r.jsx(D,{to:`/account-details/${t.affiliate_id}`,className:"text-[var(--mdn-primary)] underline",children:t.affiliate_name})}}}),[e]),{filtersConfig:k,secConfig:O}=l.useMemo(()=>Y({t:e,managerOptions:C||[],selectedRole:p,betshopOptions:S||[],selectedBetshop:f,isMarket2:s,isReferralUser:a}),[e,C,p,S,f,s,a]);return i?r.jsx("div",{className:q,children:r.jsx(F,{})}):r.jsx("div",{children:r.jsx(v,{title:`${e("REPORTS.REPORTS")} - ${e("REPORTS.CLICKS_PER_CAMPAIGN")}`,onExport:I,exportDisabled:b,loading:h||R,filtersConfig:k,secConfig:O,onFiltersChanged:y,requiredSubmit:!0,filtersRightSlotSecondary:r.jsx(G,{onClick:B,disabled:Object.keys(E||{}).length===0,className:U,children:e("REPORTS.SUBMIT_FILTERS")}),tableSection:{title:e("REPORTS.DETAIL_TABLE"),columns:M,items:x||[],autoIndex:!0,activePage:d,sortBy:P,sortDesc:T,onSort:({key:t,nextDesc:o})=>A(t,o)},pagination:{page:d,totalPages:L,onPageChange:_}})})};export{ye 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.