const dateMin = '01/01/1990'; const translator = {"state":{"ready":"Ready","loading":"Loading"},"errors":{"unknownError":"Unknown error","temporaryError":"Temporary error","genericError":"Error"},"daterangepicker":{"apply":"Apply","cancel":"Cancel","placeholder":"Select a Period","now":"Now","today":"Today","yesterday":"Yesterday","last7Days":"Last 7 days","last30Days":"Last 30 days","currentMonth":"Current month","lastMonth":"Last month","last6Months":"Last 6 months","currentYear":"Current year","lastYear":"Last year","currentQuarter":"Current quarter","lastQuarter":"Last quarter","startLabel":"Start date","endLabel":"End date","customRangeLabel":"Custom range"},"progressbar":{"notFound":"Not found","errorRowLabel":"Line error:","ready":"Ready.","done":"Done!"},"form":{"button":{"tableDisplay":" Manage columns"}},"global":{"table":{"th":{"name":"Name"}},"text":{"dateRange":"{dateStart} to {dateEnd}","nbOthers":{"one":"+1 other","other":"+{nb} others"}}},"dataTable":{"empty":{"program":"No matching program found"}},"select2":{"errorLoading":"The results could not be loaded.","loadingMore":"Loading more results...","noResults":"No results found","searching":"Searching...","inputTooShort":"Please enter {nb} or more characters","inputTooLong":{"singular":"Please delete one character","plural":"Please delete {nb} characters"},"maximumSelected":{"singular":"You can only select one item","plural":"You can only select {nb} items"}},"multiselect":{"buttonText":{"allSelected":"All selected ({nb})","nbSelected":"{nb} selected","selectAll":"Selected all","search":"Search"}},"voucher":{"trackingLink":{"publisherPersonalLink":"[Publisher personal link]"},"type":{"label_1":"Voucher","label_2":"Discount","label_3":"Free article","label_4":"Free shipping","label_5":"Raffle","label_6":"Promotion"}}}; const brandingSettings = {"body":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"rgba(7, 55, 99, 1)"},"link":{"textColor":"rgba(7, 55, 99, 1)","textHoverColor":"rgba(7, 55, 99, 1)"},"navbar":{"bgColor":"rgba(255, 255, 255, 0.87)","textColor":"rgba(7, 55, 99, 1)","borderColor":"rgba(213, 213, 215, 0.12)"},"dropdownUser":{"bgColor":"rgba(213, 213, 215, 0.15)","textColor":"#0d0d0e"},"modal":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"#0d0d0e"},"card":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"#0d0d0e"},"kpi":{"bgColor":"rgba(9, 19, 71, 0.15)","iconColor":"#0d0d0e"},"input":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"#0d0d0e","borderColor":"rgba(250, 250, 255, 1)","borderActiveColor":"#0d0d0e"},"checker":{"bgColor":"#ffffff","textColor":"#0d0d0e","borderColor":"rgba(213, 213, 215, 1)","bgActiveColor":"#0d0d0e","textActiveColor":"rgba(255, 255, 255, 1)","borderActiveColor":"#0d0d0e"},"breadcrumb":{"textColor":"#707592","textActiveColor":"#707592"},"chart":{"textColor":"#0d0d0e","borderColor":"rgba(255, 255, 255, 1)","gridColor":"rgba(13, 13, 14, 0.125)","currentColor":"#0d0d0e","previousColor":"rgba(213, 213, 215, 1)","color1":"rgba(34, 53, 60, 1)","color2":"rgba(34, 53, 60, 0.7)"},"matrixReport":{"fromColor":"rgba(255, 255, 255, 1)","toColor":"#0d0d0e","linearRegressionFromColor":"rgba(255, 255, 255, 1)","linearRegressionToColor":"rgba(240, 7, 111, 1)"},"button":{"primaryBgColor":"rgba(7, 55, 99, 1)","primaryTextColor":"rgba(193, 205, 216, 1)","lightBgColor":"rgba(193, 205, 216, 1)","lightTextColor":"rgba(7, 55, 99, 1)","lightBorderColor":"rgba(213, 213, 215, 1)"},"sidebar":{"bgColor":"rgba(250, 250, 255, 1)","textColor":"rgba(7, 55, 99, 1)","iconColor":"rgba(7, 55, 99, 1)","bgActiveColor":"rgba(193, 205, 216, 1)","textActiveColor":"rgba(240, 7, 111, 1)","iconActiveColor":"rgba(240, 7, 111, 1)","lineActiveColor":"rgba(240, 7, 111, 1)","textHoverColor":"rgba(7, 55, 99, 1)","iconHoverColor":"rgba(7, 55, 99, 1)"},"sidebarXs":{"bgActiveColor":"rgba(255, 255, 255, 1)","iconActiveColor":"#0d0d0e","iconHoverColor":"#0d0d0e"},"tabs":{"textColor":"#0d0d0e","borderColor":"rgba(213, 213, 215, 1)","textActiveColor":"#0d0d0e","borderActiveColor":"#0d0d0e"},"batchActionBar":{"bgColor":"#f5f5f5","textColor":"#0d0d0e","borderColor":"rgba(213, 213, 215, 1)"},"table":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"#0d0d0e","borderColor":"rgba(213, 213, 215, 1)","theadBgColor":"rgba(213, 213, 215, 1)","theadTextColor":"#0d0d0e","theadBorderColor":"rgba(213, 213, 215, 1)","tbodyHoverBgColor":"#f8f9ff","tbodyHoverTextColor":"#0d0d0e"},"dropdown":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"#0d0d0e","iconColor":"#0d0d0e","dividerColor":"rgba(213, 213, 215, 1)","textHoverColor":"#0d0d0e","bgHoverColor":"#f8f9ff","iconHoverColor":"#0d0d0e"}}; const AppConfig = { 'parameters': { 'locale': { 'languageCode': 'en', 'dateFormat': 'DD/MM/YYYY', 'datetimeFormat': 'DD/MM/YYYY HH:mm', 'timezone': 'Europe/Stockholm', 'daysOfWeek': ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], 'daysOfWeekShort': ["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."], 'monthNames': ["January","February","March","April","May","June","July","August","September","October","November","December"], 'monthNamesShort': ["Jan.","Feb.","Mar.","Apr.","May","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."], 'firstDay': 1 }, 'trackingDomains': {"imp":"imp.tradedoubler.com","clk":"clk.tradedoubler.com","swrap":"swrap.tradedoubler.com","tbs":"tbs.tradedoubler.com","tbl":"tbl.tradedoubler.com","svht":"svht.tradedoubler.com"} } }