PageSourceSearch

https://app.waitry.net/common/services/stateColor.js?v=675259943

js waitry.net collected 2026-09-24 11:35:55 UTC 1,056 bytes, 31 lines download raw bytes

1waitryApp.factory('stateColor', [function(){
2	return {
3		getColor : function (input, style) {
4			var col = ''
5			var styleName = style || 'color';
6			switch (input){
7				case 'new' : col='#CC3F35'; break;
8				case 'placed' : col='#e6b71e'; break;
9				case 'rejected' : col='#FFFF99'; break;
10				case 'accepted' : col='#0099E6'; break;
11				case 'progress' : col='#3385FF'; break;
12				case 'ready' : col='#8fdd00'; break;
13				case 'delivered' : col='#81AE39'; break;
14				case 'attached' : col='#CC3F35'; break;
15				case 'modified' : col='#CC3F38'; break;
16				case 'checkout' : col='#F15A29'; break;
17				case 'paid' : col='#F7941E'; break;
18				case 'closed' : col='#999999'; break;
19				case 'canceled' : col='#A6A6A6'; break;
20				case 'queued' : col='#BE1E2D'; break;
21				case 'in_progress' : col='#FFB300'; break;
22				case 'prepaired' : col='#241FC0'; break;
23				case 'packaging' : col='#b09d7d'; break;
24				case 'shipping' : col='#b891f5'; break;
25			}
26			var styleOb = new Object();
27			styleOb[styleName] = col;
28			return col!=''? styleOb : {};
29		}
30	}
31}]);

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.