PageSourceSearch

https://praveenmp.github.io/angular-components/styles.bundle.js

js praveenmp.github.io collected 2026-10-03 09:47:06 UTC 12,100 bytes, 390 lines download raw bytes

1webpackJsonp([2],{
2
3/***/ "../../../../../src/styles.css":
4/***/ (function(module, exports, __webpack_require__) {
5
6// style-loader: Adds some css to the DOM by adding a <style> tag
7
8// load the styles
9var content = __webpack_require__("../../../../css-loader/index.js?{\"sourceMap\":false,\"importLoaders\":1}!../../../../postcss-loader/index.js?{\"ident\":\"postcss\"}!../../../../../src/styles.css");
10if(typeof content === 'string') content = [[module.i, content, '']];
11// add the styles to the DOM
12var update = __webpack_require__("../../../../style-loader/addStyles.js")(content, {});
13if(content.locals) module.exports = content.locals;
14// Hot Module Replacement
15if(false) {
16	// When the styles change, update the <style> tags
17	if(!content.locals) {
18		module.hot.accept("!!../node_modules/css-loader/index.js??ref--9-1!../node_modules/postcss-loader/index.js??postcss!./styles.css", function() {
19			var newContent = require("!!../node_modules/css-loader/index.js??ref--9-1!../node_modules/postcss-loader/index.js??postcss!./styles.css");
20			if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
21			update(newContent);
22		});
23	}
24	// When the module is disposed, remove the <style> tags
25	module.hot.dispose(function() { update(); });
26}
27
28/***/ }),
29
30/***/ "../../../../css-loader/index.js?{\"sourceMap\":false,\"importLoaders\":1}!../../../../postcss-loader/index.js?{\"ident\":\"postcss\"}!../../../../../src/styles.css":
31/***/ (function(module, exports, __webpack_require__) {
32
33exports = module.exports = __webpack_require__("../../../../css-loader/lib/css-base.js")(false);
34// imports
35
36
37// module
38exports.push([module.i, "/* You can add global styles to this file, and also import other style files */\nbody {\n  margin:0px 0px 15px 0px;\n  background-color: #e53935;\n  font-family: Roboto,Helvetica Neue,sans-serif;\n}\n\npre {\n  background: black;\n  padding: 20px;\n  color: #fff;\n}\n.hljs-comment, .hljs-deletion, .hljs-meta {\n  color: #f1ce27 !important;\n}\n.list-group-item.active,.card-header {\n  background-color: #c62828;\n  color: #fff;\n  letter-spacing: 1px;\n  border-radius: 0px !important;\n  border-color:transparent;\n}\n.card {\n  border-radius: 0px;\n  border: none;\n}\n.header {\n  background: #c62828;\n  color: #fff;\n  padding: 15px;\n  margin-bottom: 10px;\n}\n.github-logo {\n  text-align: right;\n}\n.github-logo > a {\n  color:#fff;\n  text-decoration: none;\n}\n.github-logo > a > img {\n  height: 38px;\n  width: 38px;\n  margin-right: 7px;\n}\n", ""]);
39
40// exports
41
42
43/***/ }),
44
vendor: 2,357 bytes, lines 45-127
45/***/ "../../../../css-loader/lib/css-base.js":
46/***/ (function(module, exports) {
47
48/*
49	MIT License http://www.opensource.org/licenses/mit-license.php
50	Author Tobias Koppers @sokra
51*/
52// css base code, injected by the css-loader
53module.exports = function(useSourceMap) {
54	var list = [];
55
56	// return the list of modules as css string
57	list.toString = function toString() {
58		return this.map(function (item) {
59			var content = cssWithMappingToString(item, useSourceMap);
60			if(item[2]) {
61				return "@media " + item[2] + "{" + content + "}";
62			} else {
63				return content;
64			}
65		}).join("");
66	};
67
68	// import a list of modules into the list
69	list.i = function(modules, mediaQuery) {
70		if(typeof modules === "string")
71			modules = [[null, modules, ""]];
72		var alreadyImportedModules = {};
73		for(var i = 0; i < this.length; i++) {
74			var id = this[i][0];
75			if(typeof id === "number")
76				alreadyImportedModules[id] = true;
77		}
78		for(i = 0; i < modules.length; i++) {
79			var item = modules[i];
80			// skip already imported module
81			// this implementation is not 100% perfect for weird media query combinations
82			//  when a module is imported multiple times with different media queries.
83			//  I hope this will never occur (Hey this way we have smaller bundles)
84			if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
85				if(mediaQuery && !item[2]) {
86					item[2] = mediaQuery;
87				} else if(mediaQuery) {
88					item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
89				}
90				list.push(item);
91			}
92		}
93	};
94	return list;
95};
96
97function cssWithMappingToString(item, useSourceMap) {
98	var content = item[1] || '';
99	var cssMapping = item[3];
100	if (!cssMapping) {
101		return content;
102	}
103
104	if (useSourceMap && typeof btoa === 'function') {
105		var sourceMapping = toComment(cssMapping);
106		var sourceURLs = cssMapping.sources.map(function (source) {
107			return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
108		});
109
110		return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
111	}
112
113	return [content].join('\n');
114}
115
116// Adapted from convert-source-map (MIT)
117function toComment(sourceMap) {
118	// eslint-disable-next-line no-undef
119	var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
120	var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
121
122	return '/*# ' + data + ' */';
123}
124
125
126/***/ }),
127
vendor: 6,999 bytes, lines 128-379
128/***/ "../../../../style-loader/addStyles.js":
129/***/ (function(module, exports) {
130
131/*
132	MIT License http://www.opensource.org/licenses/mit-license.php
133	Author Tobias Koppers @sokra
134*/
135var stylesInDom = {},
136	memoize = function(fn) {
137		var memo;
138		return function () {
139			if (typeof memo === "undefined") memo = fn.apply(this, arguments);
140			return memo;
141		};
142	},
143	isOldIE = memoize(function() {
144		return /msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase());
145	}),
146	getHeadElement = memoize(function () {
147		return document.head || document.getElementsByTagName("head")[0];
148	}),
149	singletonElement = null,
150	singletonCounter = 0,
151	styleElementsInsertedAtTop = [];
152
153module.exports = function(list, options) {
154	if(typeof DEBUG !== "undefined" && DEBUG) {
155		if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
156	}
157
158	options = options || {};
159	// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
160	// tags it will allow on a page
161	if (typeof options.singleton === "undefined") options.singleton = isOldIE();
162
163	// By default, add <style> tags to the bottom of <head>.
164	if (typeof options.insertAt === "undefined") options.insertAt = "bottom";
165
166	var styles = listToStyles(list);
167	addStylesToDom(styles, options);
168
169	return function update(newList) {
170		var mayRemove = [];
171		for(var i = 0; i < styles.length; i++) {
172			var item = styles[i];
173			var domStyle = stylesInDom[item.id];
174			domStyle.refs--;
175			mayRemove.push(domStyle);
176		}
177		if(newList) {
178			var newStyles = listToStyles(newList);
179			addStylesToDom(newStyles, options);
180		}
181		for(var i = 0; i < mayRemove.length; i++) {
182			var domStyle = mayRemove[i];
183			if(domStyle.refs === 0) {
184				for(var j = 0; j < domStyle.parts.length; j++)
185					domStyle.parts[j]();
186				delete stylesInDom[domStyle.id];
187			}
188		}
189	};
190}
191
192function addStylesToDom(styles, options) {
193	for(var i = 0; i < styles.length; i++) {
194		var item = styles[i];
195		var domStyle = stylesInDom[item.id];
196		if(domStyle) {
197			domStyle.refs++;
198			for(var j = 0; j < domStyle.parts.length; j++) {
199				domStyle.parts[j](item.parts[j]);
200			}
201			for(; j < item.parts.length; j++) {
202				domStyle.parts.push(addStyle(item.parts[j], options));
203			}
204		} else {
205			var parts = [];
206			for(var j = 0; j < item.parts.length; j++) {
207				parts.push(addStyle(item.parts[j], options));
208			}
209			stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
210		}
211	}
212}
213
214function listToStyles(list) {
215	var styles = [];
216	var newStyles = {};
217	for(var i = 0; i < list.length; i++) {
218		var item = list[i];
219		var id = item[0];
220		var css = item[1];
221		var media = item[2];
222		var sourceMap = item[3];
223		var part = {css: css, media: media, sourceMap: sourceMap};
224		if(!newStyles[id])
225			styles.push(newStyles[id] = {id: id, parts: [part]});
226		else
227			newStyles[id].parts.push(part);
228	}
229	return styles;
230}
231
232function insertStyleElement(options, styleElement) {
233	var head = getHeadElement();
234	var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];
235	if (options.insertAt === "top") {
236		if(!lastStyleElementInsertedAtTop) {
237			head.insertBefore(styleElement, head.firstChild);
238		} else if(lastStyleElementInsertedAtTop.nextSibling) {
239			head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);
240		} else {
241			head.appendChild(styleElement);
242		}
243		styleElementsInsertedAtTop.push(styleElement);
244	} else if (options.insertAt === "bottom") {
245		head.appendChild(styleElement);
246	} else {
247		throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
248	}
249}
250
251function removeStyleElement(styleElement) {
252	styleElement.parentNode.removeChild(styleElement);
253	var idx = styleElementsInsertedAtTop.indexOf(styleElement);
254	if(idx >= 0) {
255		styleElementsInsertedAtTop.splice(idx, 1);
256	}
257}
258
259function createStyleElement(options) {
260	var styleElement = document.createElement("style");
261	styleElement.type = "text/css";
262	insertStyleElement(options, styleElement);
263	return styleElement;
264}
265
266function createLinkElement(options) {
267	var linkElement = document.createElement("link");
268	linkElement.rel = "stylesheet";
269	insertStyleElement(options, linkElement);
270	return linkElement;
271}
272
273function addStyle(obj, options) {
274	var styleElement, update, remove;
275
276	if (options.singleton) {
277		var styleIndex = singletonCounter++;
278		styleElement = singletonElement || (singletonElement = createStyleElement(options));
279		update = applyToSingletonTag.bind(null, styleElement, styleIndex, false);
280		remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);
281	} else if(obj.sourceMap &&
282		typeof URL === "function" &&
283		typeof URL.createObjectURL === "function" &&
284		typeof URL.revokeObjectURL === "function" &&
285		typeof Blob === "function" &&
286		typeof btoa === "function") {
287		styleElement = createLinkElement(options);
288		update = updateLink.bind(null, styleElement);
289		remove = function() {
290			removeStyleElement(styleElement);
291			if(styleElement.href)
292				URL.revokeObjectURL(styleElement.href);
293		};
294	} else {
295		styleElement = createStyleElement(options);
296		update = applyToTag.bind(null, styleElement);
297		remove = function() {
298			removeStyleElement(styleElement);
299		};
300	}
301
302	update(obj);
303
304	return function updateStyle(newObj) {
305		if(newObj) {
306			if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)
307				return;
308			update(obj = newObj);
309		} else {
310			remove();
311		}
312	};
313}
314
315var replaceText = (function () {
316	var textStore = [];
317
318	return function (index, replacement) {
319		textStore[index] = replacement;
320		return textStore.filter(Boolean).join('\n');
321	};
322})();
323
324function applyToSingletonTag(styleElement, index, remove, obj) {
325	var css = remove ? "" : obj.css;
326
327	if (styleElement.styleSheet) {
328		styleElement.styleSheet.cssText = replaceText(index, css);
329	} else {
330		var cssNode = document.createTextNode(css);
331		var childNodes = styleElement.childNodes;
332		if (childNodes[index]) styleElement.removeChild(childNodes[index]);
333		if (childNodes.length) {
334			styleElement.insertBefore(cssNode, childNodes[index]);
335		} else {
336			styleElement.appendChild(cssNode);
337		}
338	}
339}
340
341function applyToTag(styleElement, obj) {
342	var css = obj.css;
343	var media = obj.media;
344
345	if(media) {
346		styleElement.setAttribute("media", media)
347	}
348
349	if(styleElement.styleSheet) {
350		styleElement.styleSheet.cssText = css;
351	} else {
352		while(styleElement.firstChild) {
353			styleElement.removeChild(styleElement.firstChild);
354		}
355		styleElement.appendChild(document.createTextNode(css));
356	}
357}
358
359function updateLink(linkElement, obj) {
360	var css = obj.css;
361	var sourceMap = obj.sourceMap;
362
363	if(sourceMap) {
364		// http://stackoverflow.com/a/26603875
365		css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
366	}
367
368	var blob = new Blob([css], { type: "text/css" });
369
370	var oldSrc = linkElement.href;
371
372	linkElement.href = URL.createObjectURL(blob);
373
374	if(oldSrc)
375		URL.revokeObjectURL(oldSrc);
376}
377
378
379/***/ })
379,
380
381/***/ 2:
382/***/ (function(module, exports, __webpack_require__) {
383
384module.exports = __webpack_require__("../../../../../src/styles.css");
385
386
387/***/ })
388
389},[2]);
390//# sourceMappingURL=styles.bundle.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.