const dateMin = '01/01/1990'; const translator = {"state":{"ready":"Ready","loading":"Loading"},"errors":{"unknownError":"Unknown error","temporaryError":"Temporary error","genericError":"Error"},"fullcalendar":{"view":{"daily":"Daily","weekly":"Weekly","monthly":"Monthly","yearly":"Yearly"}},"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"}},"wrapper":{"label":"{label}:"},"global":{"table":{"th":{"name":"Name"}},"text":{"yes":"Yes","no":"No","publisherCommission":{"short":"Pub. Comm."},"tdCommission":{"short":"TD Comm."},"startDate":"Start date","endDate":"End date","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"}},"slideForm":{"image":{"helper_1":"The size of the image need to be 750px of width and 230px of height.","helper_2":"The size of the image need to be 830px of width and 230px of height.","helper_3":"The size of the image need to be 1660px of width and 230px of height."}}}; const brandingSettings = {"body":{"bgColor":"#f5f5f5","textColor":"rgba(40, 60, 67, 1)"},"link":{"textColor":"rgba(62, 116, 255, 1)","textHoverColor":"rgba(40, 60, 67, 1)"},"navbar":{"bgColor":"#ffffff","textColor":"rgba(40, 60, 67, 1)","borderColor":"rgba(13, 13, 14, 0.125)","iconBgColor":"rgba(121, 222, 247, 0.56)","iconColor":"rgba(43, 115, 255, 1)","titleTextColor":"#0d0d0e","searchBgColor":"#ffffff","searchTextColor":"#808080","searchBorderColor":"#ffffff","searchBorderHighlightColor":"rgba(44, 200, 127, 1)","searchIconColor":"rgba(43, 115, 255, 1)","avatarBgColor":"rgba(43, 115, 255, 1)","avatarTextColor":"#ffffff"},"modal":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"rgba(40, 60, 67, 1)","titleTextColor":"#000000","headerBgColor":"#f5f5f5","footerBgColor":"#f5f5f5"},"card":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"rgba(40, 60, 67, 1)"},"input":{"bgColor":"#ffffff","textColor":"#0d0d0e","borderColor":"#e1e1e3","borderActiveColor":"rgba(62, 116, 255, 1)"},"checker":{"bgColor":"#ffffff","textColor":"#0d0d0e","borderColor":"#e1e1e3","bgActiveColor":"#0d0d0e","textActiveColor":"#ffffff","borderActiveColor":"#0d0d0e"},"breadcrumb":{"textColor":"#707592","textActiveColor":"rgba(62, 116, 255, 1)"},"chart":{"textColor":"rgba(40, 60, 67, 1)","borderColor":"rgba(255, 255, 255, 1)","gridColor":"rgba(13, 13, 14, 0.125)","currentColor":"rgba(62, 116, 255, 1)","previousColor":"rgba(210, 210, 210, 1)","projectionColor":"rgba(44, 200, 127, 1)","positiveTrend":"rgba(118, 222, 244, 1)","veryPositiveTrend":"rgba(44, 200, 127, 1)","negativeTrend":"rgba(255, 211, 50, 1)","veryNegativeTrend":"rgba(255, 71, 18, 1)","noTrend":"rgba(43, 115, 255, 1)"},"matrixReport":{"fromColor":"rgba(255, 255, 255, 1)","toColor":"rgba(62, 116, 255, 1)","linearRegressionFromColor":"rgba(255, 255, 255, 1)","linearRegressionToColor":"#ff6c41"},"button":{"primaryTextColor":"rgba(255, 255, 255, 1)","primaryBgColor":"rgba(62, 116, 255, 1)","primaryBgHoverColor":"#2e69ff","primaryBorderColor":"#325dcc","primaryBorderHoverColor":"#0047fe","secondaryTextColor":"#000000","secondaryBgColor":"#dbdbdb","secondaryBgHoverColor":"#c6c6c6","secondaryBorderColor":"#c0c0c0","secondaryBorderHoverColor":"#a8a8a8","lightTextColor":"rgba(40, 60, 67, 1)","lightBgColor":"rgba(255, 255, 255, 1)","lightBgHoverColor":"#f0f4f7","lightBorderColor":"#e1e1e3","lightBorderHoverColor":"#d1dfe7"},"badge":{"primaryTextColor":"rgba(43, 115, 255, 1)","primaryBgColor":"rgba(118, 222, 244, 1)","secondaryTextColor":"#65778c","secondaryBgColor":"rgba(224, 228, 232, 1)"},"sidebar":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"rgba(40, 60, 67, 1)","iconColor":"rgba(40, 60, 67, 1)","lineColor":"rgba(255, 255, 255, 1)","bgActiveColor":"rgba(62, 116, 255, 1)","textActiveColor":"rgba(255, 255, 255, 1)","iconActiveColor":"rgba(255, 255, 255, 1)","bgHoverColor":"rgba(118, 222, 244, 1)","textHoverColor":"rgba(62, 116, 255, 1)","iconHoverColor":"rgba(62, 116, 255, 1)"},"tabs":{"textColor":"rgba(40, 60, 67, 1)","borderColor":"#dbddec","textActiveColor":"rgba(62, 116, 255, 1)","borderActiveColor":"rgba(62, 116, 255, 1)"},"batchActionBar":{"bgColor":"#f5f5f5","textColor":"#0d0d0e","borderColor":"#dbddec"},"table":{"theadBgColor":"rgba(225, 225, 227, 1)","theadTextColor":"rgba(40, 60, 67, 1)","theadBorderColor":"rgba(225, 225, 227, 1)","textColor":"rgba(40, 60, 67, 1)","borderColor":"rgba(225, 225, 227, 1)","tbodyHoverTextColor":"#0d0d0e","tbodyBgColorEven":"#ffffff","tbodyBgColorOdd":"#f9fbfc","tbodyHoverBgColorEven":"#f5f5f5","tbodyHoverBgColorOdd":"#dcdcdc"},"dropdown":{"bgColor":"rgba(255, 255, 255, 1)","textColor":"rgba(40, 60, 67, 1)","iconColor":"rgba(40, 60, 67, 1)","dividerColor":"#dbddec","textHoverColor":"rgba(62, 116, 255, 1)","bgHoverColor":"rgba(248, 249, 255, 1)","iconHoverColor":"rgba(40, 60, 67, 1)"},"pill":{"groupBgColor":"#e9eff3","bgColor":"#00000000","bgHoverColor":"#00000000","textColor":"#416375","borderColor":"#dee7ed","textActiveColor":"#416375","borderActiveColor":"#00000000","bgActiveColor":"#ffffff"}}; 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"} } }