You may not think of them as a weight-loss food, but eggs are packed with protein, which helps curb your appetite. One study found that overweight women who ate eggs for breakfast were able to lose twice as much weight as women who started their days with bagels. And egg whites in particular are a good source of branched-chain amino acids, which help keep your metabolism running smoothly.
Invest in a pedometer and track your steps each day. The goal is to walk at least 10,000 steps -- the equivalent of 5 miles -- daily to thwart weight gain (and promote weight loss). Challenge yourself to increase your steps each day, even if you can't get up to 10,000. Every step counts; remember that your goal is simply to improve your fitness level.
Not much of a coffee drinker? Tea is also a natural diuretic, and types of herbal tea such as dandelion or fennel root can also lend a hand. In fact: When a recent study compared the metabolic effect of green tea (in extract) with that of a placebo, researchers found that the green-tea drinkers burned about 70 additional calories in a 24-hour period.
“Use a VersaClimber or take a VersaClimber class. These machines are still not that common, but in my opinion they are far more effective for weight loss than other forms of cardio. They require you to use a large portion of your muscles and it’s functionally better for you than other forms of cardio like spinning. Everyone is talking about Rise Nation in LA at the moment as they are the first dedicated VersaClimbing studio. There’s no harder cardio workout I have tried. To lose fat you have to put in the work. — Dan Roberts, celebrity trainer and creator of Methodology X
The information provided herein should not be used during any medical emergency or for the diagnosis or treatment of any medical condition. A licensed physician should be consulted for diagnosis and treatment of any and all medical conditions. Call 911 for all medical emergencies. Links to other sites are provided for information only -- they do not constitute endorsements of those other sites. Copyright 1997-2018, A.D.A.M., Inc. Duplication for commercial use must be authorized in writing by ADAM Health Solutions.
A new player in the weight loss program space, Noom packs a lot of behavioral psychology into one sophisticated app. It aims to help you identify and break bad habits, and have some fun doing it. The powerful app echoes Weight Watchers’ successful community approach, but outleagues that program in terms of learning resources. While it’s the more expensive of our two favorite programs, it’s the richer when it comes to virtual experience — with personalized lessons, tasks, and support that made us look forward to opening up the app.
This creamy treat may help turn up the fat burn. Research suggests that people who get more calcium and vitamin D as part of a weight loss plan shed more fat than those who don’t. So, look for a vitamin D-fortified yogurt, which serves up about 35% of all the calcium you need in a day. Top it with half a cup of raspberries for sweetness and 4 grams of fiber.
While they may not be the most appetizing item on the list, if you can stomach them, pop open a can of sardines this summer! Sardines are full of fat-fighting compounds that help stabilize blood sugar. They’re rich sources of CO enzyme Q10, vitamin B12, selenium, omega-3 oils, calcium, phosphorus, and vitamin D. Plus, sardines are satiating and packed with protein, says Richter.
The efficacy of Nutrisystem boils down to portion control. A tiny tray of frozen tuna casserole doesn’t provide a lot of nutrients or satisfaction, but if that’s all you have for dinner, you’re keeping calorie count low. We entered in a couple Nutrisystem meals and found their point count to be mid-high, between 7 and 9. Ultimately, tiny amounts of not-wholesome foods doesn’t teach you to eat well.

Also known as yam or yambean, this Mexican turnip is a great source of fiber, says Dr. Jaime Schehr, a registered dietitian in New York City. “This plant is great for weight loss due to its high fiber to sugar ratio (a whopping 32g of fiber per medium jimaca—that’s almost an entire day’s worth). They are also a good source of potassium, an essential mineral in maintaining water balance in our body.”
If you want to make a simple switch that can make all the difference in weight-loss success, trade out refined grains (white bread) for whole grains (100% whole-wheat bread) on your sandwich. Choosing whole over refined grains can help turn up your resting metabolism and prompt your body to absorb fewer calories, helping you burn nearly 100 extra calories per day, suggests a new study in The American Journal of Clinical Nutrition. It may be the fiber in whole grains that affects digestion and metabolism, researchers point out. Other great sources of whole grain include oatmeal, brown rice, barley, farro and even popcorn. Try grain bowls for an easy, packable work lunch.
Lipton green tea is simple, pure, light, and delicious. It is made from the finest leaves in the world. There are many variants of Lipton green tea, such as 100% natural green tea (basic green tea), cranberry pomegranate, lemon ginseng, mint, decaffeinated honey lemon, passionfruit, and jasmine. Recently, Lipton has come out with flavored tea bags such as Lemon Zest, Mint Burst, Honey Lemon, and Tulsi Natural. These are available in packs of 100, 25, and 10 tea bags.
Before you start the meal plan, make a pot of the Veggie Soup. Make 2 servings of Overnight Oats, so they can soak in the fridge. It’s also super helpful to prep your veggie snacks—make 4 bags filled with baby carrots and sugar snap peas, and 3 bags filled with broccoli and cauliflower, for alternate days. And if you really want to get ahead, you could also grill the chicken breasts and cook the quinoa and brown rice in advance.
Of course, ladies also lose abdominal weight quickly -- they just tend to have less of it. "Women with excess fat around the middle will lose it more or less as readily as men," says upwave review-board member David Katz, MD, MPH, the founding director of the Yale-Griffin Prevention Research Center at the Yale University School of Medicine. "Men are more prone to gain weight around the middle."
Salmon boasts significant anti-inflammatory properties thanks to its rich omega-3 fatty acid content, meaning it’s an excellent source of protein for those looking to jumpstart their weight loss. In fact, one study that examined the effects of weight loss and seafood consumption showed wild salmon to be the most effective at reducing inflammation—better than lean white fish and a fish-free diet. According to a study published in The Journal of Nutritional Biochemistry, fishy fatty acids may also signal thyroid cells in the liver to burn more fat.
The latest nutritional research proves what you eat AND when you eat both contribute to weight loss. †† We created Rapid Results based on this revolutionary research. With Rapid Results we provide you with a plan that takes maximum advantage of your body’s natural fat-burning ability, so you lose weight faster, plus our consultants have completed new comprehensive training to deliver excellent weight loss guidance for results.
Going gluten-free may be a popular trend, but unless you're actually gluten-intolerant or have celiac disease, plenty of reasons exist to continue eating whole grains. They're a tasty way to fill up on both soluble and insoluble fiber, which help you feel full for longer and keep bowel movements regular (oats, barley, and bulgur are especially high sources). Whole grains can also help prevent weight gain: in one study, women who ate whole grains like wheat germ and dark bread had a 49% lower risk of "major" weight gain over time.
“It’s far more difficult to eat a healthier diet and fit in exercise if you don’t plan ahead. Plan out your meals for the week ahead and go grocery shopping over the weekend to ensure you have the ingredients you need on hand. If you can, do some meal prep in your down time—cut fresh veggies, marinate your protein, cook up a batch of whole grains in advance. When you’re prepared you’re far less likely to order takeout. — Jessica Fishman Levinson, MS, RDN, CDN, culinary-nutrition consultant and founder of Nutritioulicious
Sure, nuts aren’t known for being low in calories, but they have an array of other properties—namely a high protein and fiber content—that makes them ideal for weight loss. A study published in the Journal of the American Heart Association, Circulation, found that consuming 1.5 ounces of almonds daily (as opposed to a carb-dense muffin) along with a heart-healthy diet, helped to improve cholesterol and lipid profiles among the research participants. The study also found that eating almonds reduces belly fat, too.
Now the book is talking about how being overweight perpetuates even more weight gain because your perception of what you should be gets skewed the more weight you gain. Um, I'd like to see the research that supports this statement. I'm not saying it's not true, but it almost seems like the author's opinion rather than research. I could be wrong, just requesting some supporting documentation, which I haven't found in this book yet on any of the claims.
There was also weight loss supplements that wouldn’t kill you, but didn’t really work either. Green coffee, raspberry ketones and grapefruit extract all come to mind. They sound great, but they all turned out to be pure hype. One substance, though seems to have stood the test of time — green tea, with traditional Asian medicine touting the weight loss effects for thousands of years.
Rise and shine—literally! Researchers from Northwest University found that people who were exposed to bright daylight earlier in the day tended to weigh less than those who didn’t get sunlight until later. So right after you wake up, open the blinds and let the sunshine in. Or better yet, step outside and enjoy your morning cup of coffee on the front porch
Many diet plans cut out entire food groups, which can create nutrient deficiencies as well as health problems. For instance, if the diet is very low in carbohydrates and you have type 1 diabetes or type 2 diabetes, it’s probably not a good fit. And if it’s too restrictive and you’re pregnant or breastfeeding, then it’s not a good idea, either. Keep in mind that pregnancy is not a time for weight loss. Speak with your doctor before making any changes to your diet if you are pregnant or breast-feeding.

Notes: Chop the sweet potatoes and halve the Brussels sprouts, and place on a sheet pan. Drizzle with 2 teaspoons olive oil, season with salt and pepper, and toss to coat. Roast at 450°F (230°C) until tender, about 15 minutes. Brush the chicken with 1 teaspoon olive oil and season with salt and pepper. Grill over medium-high heat until marked and no longer pink in the center, about 5 minutes per side.
B is for breakfast. It really is the most important meal of the day. Don't leave home without eating something nutritious to get your metabolism perking and give you energy for the day ahead. It can be a banana, low-fat yogurt, cereal, last night's leftovers, etc. A small meal that contains both fiber and protein can keep you feeling satisfied until lunchtime.
Still, when it comes to losing weight, working a few cups of brewed green tea into your diet isn’t necessarily a bad idea. “Like coffee, green tea may give you a mild boost, and if you don’t add sugar, it has no calories,” notes Consumer Reports’ chief medical adviser, Marvin M. Lipman, M.D. “So drinking it in place of sugary drinks such as soda can help you cut calories.” 
See no evil, eat no evil. It’s hard to resist temptation when it comes to foods — so eliminate it instead! Keep your cabinets and refrigerator stocked with fresh, healthy snacks so they’re front and center. One trick I love is washing fresh fruits and veggies as soon as I get home from the store and storing them in glass or nice bowls on the counter or refrigerator shelf. It keeps them visible so you remember to eat them!
Before you start the meal plan, make a pot of the Veggie Soup. Make 2 servings of Overnight Oats, so they can soak in the fridge. It’s also super helpful to prep your veggie snacks—make 4 bags filled with baby carrots and sugar snap peas, and 3 bags filled with broccoli and cauliflower, for alternate days. And if you really want to get ahead, you could also grill the chicken breasts and cook the quinoa and brown rice in advance.

Health.com is part of the Meredith Health Group. All rights reserved. The material in this site is intended to be of general informational use and is not intended to constitute medical advice, probable diagnosis, or recommended treatments. All products and services featured are selected by our editors. Health.com may receive compensation for some links to products and services on this website. Offers may be subject to change without notice. See the Terms of Service and Privacy Policy (Your California Rights)for more information. Ad Choices | EU Data Subject Requests


Preheat oven to 400°. Slice 1 small potato into fry shapes; toss with 1 teaspoon olive oil and 1 teaspoon chili powder. Roast on baking sheet until golden (about 30 minutes). Grill 1 (3-ounce) sirloin steak until desired degree of doneness; slice into thin strips. Fill 6 Romaine lettuce leaves with steak. Top with 1/2 cup thinly sliced red bell pepper; drizzle with 1 tablespoon balsamic vinaigrette.
Know your stuff. According to a study by Abdul Dulloo, from the Institute of Physiology at the University of Fribourg in Switzerland, the plant compound EGCG found in green tea, plus caffeine, increases thermogenesis by 84 percent. Thermogenesis is the generation of body heat that occurs as a result of normal digestion, absorption, and metabolization of food. Green tea also increases your levels of norepinephrine, which prepares your body to burn fat for the "fight or flight" response. Knowledge is power, people! It's also motivation![10]
A great source of calcium and important cancer-fighting compounds, broccoli also has loads of filling fiber and will set you back only 30 calories per serving. If eating this cruciferous veggie makes you bloat, try steaming it first, which makes it easier to digest while still preserving the cancer-fighting ingredients that could be lost when you boil or cook it in the microwave.
Similarly, lemons are a rich source of vitamin C and other nutrients good for weight loss. The health benefits of lemons also include lowering the risk of stroke, preventing asthma, combating cancer. Studies have also suggested that daily consumption of plant foods like lemons reduces your chances of developing diabetes, obesity, heart disease, etc. So, replace your aerated drinks with this delicious detox drink to stay healthy and slim down your waistline.

Spoon Guru nutritionist Isabel Butler (MSc, ANutr) recommends that “the best way to reduce weight and maintain the weight loss is by simply eating a balanced and healthy diet, without refusing yourself particular foods… If you do cut out foods, you need to make sure your diet is still balanced and you are getting the nutrients your body needs from other sources.”  
In what is perhaps the biggest buzzkill of all time, sex doesn’t quite count as cardio or burn a significant amount of calories: Women burn about 3.6 per minute. “It’s still a good idea,” Dr. Seltzer says, citing the activity’s other benefits, like increasing the output of the neurotransmitters serotonin and dopamine, which naturally reduce food cravings.
“Stop focusing on calories and start focusing on the quality of the foods you eat. High-quality diet options are natural, whole, minimally processed foods, like vegetables, fruits, nuts or seeds that offer a lot more nutritional value in the form of vitamins, minerals, healthy fats and fiber. These foods help tame hunger naturally and nourish our cells at the deepest level so that we aren’t left with constant cravings. — Michelle Loy, MPH, MS, CSSD, Registered Dietitian Nutritionist and owner of Go Wellness in Orange County, California
Of the forty-two participants assigned to the trial, thirty-six subjects completed the study (n = 18 in slow WL group and n = 18 in rapid WL group). During the study, 3 individuals in the rapid WL group (medication consumption and discontinued) and 3 in the slow WL group (disinclination, medication consumption, and migration) were excluded (Figure 1). No significant side effect in the two study groups was detected.
HIIT stands for high intensity interval training, and it’s a great way to build muscle without spending hours in the gym. The idea is to go all out for a short period of time, followed by a slower pace that allows you to recover. Think of jogging or sprinting all out for 30 seconds, followed by a minute or two of rest, then repeat. Short bursts of high-intensity exercises keep your heart rate up while adding lean muscle. More muscle mass equals calories burned on a daily basis. Also, the more lean muscle you have, the higher your metabolism is.
Delicious, full of antioxidants, AND they help you to lose weight? Tomatoes are definitely among our favourite fat-fighting foods. Tomatoes have been found to reduce inflammation and water retention in the body, as well as reversing leptin resistance. Leptin is a type of protein which helps to regulate metabolic rate and appetite, so our bodies rely on it to shed those extra pounds.
What if we told you that you could make 20 percent of your belly disappear this year—poof, just gone? Penn State University researchers compared those who consumed avocado oil with those who consumed a flax-safflower oil blend. Those on the avocado oil diet—just three tablespoons daily did the trick—lost nearly 2 percent of their belly fat in just one month. For more ways to enjoy big, bold flavors, burn flab with these 8 Fatty Foods That Make You Skinny.
“Use a VersaClimber or take a VersaClimber class. These machines are still not that common, but in my opinion they are far more effective for weight loss than other forms of cardio. They require you to use a large portion of your muscles and it’s functionally better for you than other forms of cardio like spinning. Everyone is talking about Rise Nation in LA at the moment as they are the first dedicated VersaClimbing studio. There’s no harder cardio workout I have tried. To lose fat you have to put in the work. — Dan Roberts, celebrity trainer and creator of Methodology X
Weight Watchers, which not only champions a sustainable diet but has sustained itself for over fifty years, is a favorite amongst nutritionists. Its practical, flexible philosophy of saving and splurging SmartPoints boils down to balancing out food choices. You can get tips, tools, and motivation by attending the traditional weekly meetings, or get the same resources through its user-friendly app. Either way, research proves that Weight Watchers’ social element supports weight loss. At about $4 a week, OnlinePlus costs about half as much as Meetings+OnlinePlus, which runs around $8 (your fees vary depending on the length of your commitment).
Maintain a consistent exercise program. Even though intense exercise is effective for weight loss, hard workouts put your body at a higher risk for injury and burnout. And you're not likely to burn enough calories for weight loss while you're recovering on the couch. Easy workouts are usually safer for your body and may allow you to be more consistent, week to week and month to month.
Giancoli also recommends finding a diet that fits in with how you really live. She notes that if you enjoy going out to eat but try to commit to a diet that forbids you from ever going to a restaurant, you’re just going to cheat. “It’s not sustainable… You’re most likely going to have a healthier meal if you’re going to cook yourself, but you’re depriving yourself of that social interaction if you never go out.” To put it another way: Your eating practices shouldn’t isolate you or keep you from having fun.
Green tea is widely consumed and associated with a number of health benefits, including decreasing risk of heart disease and certain types of cancer. It's also used to help reduce inflammation for those with inflammatory bowel disease and may aid in blood sugar control in people who suffer from diabetes. And when consumed as a beverage, green tea is considered safe.

The customized support and abundant resources come at a price. This varies based on the intensity of your weight loss goals; we paid $60 per month. (We made an account before purchasing and received a 50% off offer by email to incentivize our membership. Tease them in the same way and see if you get the same deal.) If you want to get a look at all these perks before you purchase, you can try Noom free for 14 days.

If you’re trying to shed excess weight, use all three calorie-density-reduction strategies. While this study showed that cutting the amount of fat added to foods was the single most effective way to reduce ad libitum calorie intake, it is clear that all three methods were effective. Furthermore, they are not mutually exclusive, so it is likely that using all three in combination would work even better than each one used alone.

The prevalence of obesity is increasing and according to the latest statistics of the world health organization, 13% of adults worldwide are obese and 39% are overweight (1). Obesity increases the risk of metabolic diseases, cancer, and cataract (2, 3). Statistics have shown that obesity and its consequences have high costs for communities (4). There is a positive association between body mass index (BMI) and direct and indirect (due to premature deaths) health care costs. Indirect costs of obesity (54% to 59%) have been reported more than the direct costs (5). In the last century, due to the increasing prevalence of obesity and its hidden costs, control and treatment of obesity requires more attention.
Listen up: Skipping meals will not make you lose weight faster. If a hectic day makes a sit-down meal impossible, stash an energy bar or a piece of fruit in your car or tote, keep snacks in your office desk drawer, and make a point of getting up to grab a nosh — anything that will keep you from going hungry! Going long periods of time without food does double-duty harm on our healthy eating efforts by both slowing down your metabolism, and priming you for another binge later in the day. (Think: You've skipped breakfast and lunch, so you're ready to takedown a whole turkey by dinner!) Make it your mission to eat three meals and two snacks every day, and don't wait longer than three to four hours without eating. Set a "snack alarm" on your phone if needed.
This workout plan is between 4 and 12 weeks long, depending on how much weight you want to lose. Follow this workout plan and practice healthy eating and portion control, which means eating the right food in the right quantities at the right times, and you’ll be able to burn off at least a pound or two of body fat each week. But remember, you’ll also be doing resistance training to gain muscle in all the right places, so you’ll want to keep track of your progress with body measurements and, if you can, body fat percentage.
Although many studies recommended gradual WL diets for obese patients, many people would like to lose their excess weight in the shortest time (12). A significant number of people believe that rapid WL has side effects and cannot have beneficial clinical effects similar to slow WL. However, a systematic review found that people, who follow severe calorie-restricted diets will not have an eating disorder and will be able to maintain their lost weight (13). Several studies have shown that rapid WL with high calorie-restriction could cause an improvement of clinical state in obese individuals (14, 15).
While Matcha originates from Japan, the first of its kind attempt has been made to manufacture it in Assam, India. Matcha specific clones are grown with great care, and then manufactured in a fully automated plant under the supervision of Japanese brewmasters. A bold step taken by the Chota Tingri estate in Upper Assam, it sure looks like the gamble has paid off. For we now have our own Indian Matcha.
Once again, a popular weight loss myth has been exploded. It has been widely believed that weight loss, which is nearly always difficult to maintain, is even less likely to stay lost if it is the product of a rapid weight loss. The belief is even enshrined in current guidelines. Now a study published in The Lancet Diabetes & Endocrinology provides no support for this belief. Instead, the study suggests that although long-term weight loss remains elusive regardless of the diet, short-term weight loss is actually more likely with rapid weight loss.
Purchase an electric teakettle. Electric teakettles are readily available at many bath and kitchen stores, ranging in price and are extremely easy to use. All you have to do is fill it with water and push a button or lever to bring it to a boil. You can brew tea by the cup or add several tea bags to the entire pot once the water has boiled. Keep a thermos as well for the additional boiled water. Fill with water, add the green tea and keep by the kettle or your desk for ease of pouring a tea when needed.
“A study published in Nutrition Journal found that participants who ate foods high in monounsaturated fats for lunch (in this case, half an avocado) reported a 40 percent decreased desire to eat for hours afterward. Monounsaturated fats from sources like olive oil, nuts and avocados can reduce cholesterol, promote weight loss, even boost memory.” — David Zinczenko, author of the  Zero Belly Cookbook

For breakfast, for example, dress up your oatmeal with berries, leave off the butter and margarine, and maybe even increase the amount of water you use to cook it. Yet another strategy not used in this study but validated in others would be to replace calorie-dense brown sugar or maple syrup with Splenda or sugar-free maple syrup, which would further reduce the calorie density of this breakfast entrée.


Consistent with the current study, recent findings indicate that slow weight loss, as recommended by current guidelines, worldwide, is not a priority over rapid weight loss. Purcell et al. in a clinical trial studied the effect of weight loss rate and weight management. Their results showed that in the long-term, with rapid weight loss (450 to 800 Kcal/day) than gradual weight loss (500 kcal less than the daily requirement), the weight loss is faster and more stable. The researchers suggested that the limited carbohydrate intake of very-low-calorie diets might promote greater satiety and less food intake by inducing ketosis. Losing weight quickly may also motivate participants to persist with their diet and achieve better results (29).


Another win for your morning cup of joe: Caffeinated coffee keeps things moving through the digestive tract. Since staying regular is key to a tighter-looking tummy, drinking about 8 to 16 ounces of java at the same time every day can help you stay on schedule. Remember: Sugary drinks can lead to weight gain, so skip fancy flavorings and synthetic sweeteners containing sugar alcohols, which can cause bloating.
Studies on green tea’s impact on cancer have been mixed. But green tea is known to aid healthy cells in all stages of growth. There are some clues that green tea may help destroy cancer cells, but that research is still in its early stages, so you shouldn’t count on green tea to prevent cancer. In fact, the National Cancer Institute's web site says it "does not recommend for or against the use of tea to reduce the risk of any type of cancer."
Good news for java lovers: The caffeine in coffee could speed up your metabolism and help your body burn slightly more calories (about 26 per cup). A study in Physiology & Behavior found that the average metabolic rate of people who drank caffeinated coffee was 16% higher than those who drank only decaf. Just be mindful of how much cream and sugar you add to your cup, which could offset any health benefits the beverage provides.
Italiano: Perdere Peso Bevendo il Tè, Español: bajar de peso tomando té, Deutsch: Mit Teetrinken Gewicht verlieren, Português: Perder Peso Tomando Chá, Français: perdre du poids en buvant du thé, Nederlands: Afvallen door thee te drinken, 中文: 喝茶减肥, Русский: пить чай, чтобы похудеть, Bahasa Indonesia: Meminum Teh untuk Menurunkan Berat Badan, Čeština: Jak zhubnout pitím čaje, हिन्दी: वज़न कम करने के लिए चाय पियें, ไทย: ดื่มชาเพื่อลดน้ำหนัก, Tiếng Việt: Uống Trà Giảm Cân, العربية: خسارة الوزن من خلال شرب الشاي, 한국어: 차를 마셔 체중 감량하기
When I was in the sixth grade, I first realized that I was heavier than the other girls. I thought, "Oh, I'm going into junior high school—I should try to lose weight so boys will like me, like me." From then on, my mom and I tried pretty much any popular diet from the early 2000s you could think of. She was always encouraging me to lose weight whenever she did. I would usually lose between 30 and 40 pounds on those diets, but I always put it back on—and then some.
!function(n,t){function r(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function i(e){return void 0===e}if(n){var o={},s=n.TraceKit,a=[].slice,l="?";o.noConflict=function(){return n.TraceKit=s,o},o.wrap=function(e){function n(){try{return e.apply(this,arguments)}catch(e){throw o.report(e),e}}return n},o.report=function(){function e(e){l(),h.push(e)}function t(e){for(var n=h.length-1;n>=0;--n)h[n]===e&&h.splice(n,1)}function i(e,n){var t=null;if(!n||o.collectWindowErrors){for(var i in h)if(r(h,i))try{h[i].apply(null,[e].concat(a.call(arguments,2)))}catch(e){t=e}if(t)throw t}}function s(e,n,t,r,s){var a=null;if(w)o.computeStackTrace.augmentStackTraceWithInitialElement(w,n,t,e),u();else if(s)a=o.computeStackTrace(s),i(a,!0);else{var l={url:n,line:t,column:r};l.func=o.computeStackTrace.guessFunctionName(l.url,l.line),l.context=o.computeStackTrace.gatherContext(l.url,l.line),a={mode:"onerror",message:e,stack:[l]},i(a,!0)}return!!f&&f.apply(this,arguments)}function l(){!0!==d&&(f=n.onerror,n.onerror=s,d=!0)}function u(){var e=w,n=p;p=null,w=null,m=null,i.apply(null,[e,!1].concat(n))}function c(e){if(w){if(m===e)return;u()}var t=o.computeStackTrace(e);throw w=t,m=e,p=a.call(arguments,1),n.setTimeout(function(){m===e&&u()},t.incomplete?2e3:0),e}var f,d,h=[],p=null,m=null,w=null;return c.subscribe=e,c.unsubscribe=t,c}(),o.computeStackTrace=function(){function e(e){if(!o.remoteFetching)return"";try{var t=function(){try{return new n.XMLHttpRequest}catch(e){return new n.ActiveXObject("Microsoft.XMLHTTP")}},r=t();return r.open("GET",e,!1),r.send(""),r.responseText}catch(e){return""}}function t(t){if("string"!=typeof t)return[];if(!r(j,t)){var i="",o="";try{o=n.document.domain}catch(e){}var s=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);s&&s[2]===o&&(i=e(t)),j[t]=i?i.split("\n"):[]}return j[t]}function s(e,n){var r,o=/function ([^(]*)\(([^)]*)\)/,s=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",u=10,c=t(e);if(!c.length)return l;for(var f=0;f0?s:null}function u(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return u(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function f(e,n){for(var r,i,o=0,s=n.length;or&&(i=s.exec(o[r]))?i.index:null}function h(e){if(!i(n&&n.document)){for(var t,r,o,s,a=[n.location.href],l=n.document.getElementsByTagName("script"),d=""+e,h=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,p=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,m=0;m]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=n.split("\n"),l=[],u=0;u=0&&(g.line=v+x.substring(0,j).split("\n").length)}}}else if(o=d.exec(i[y])){var _=n.location.href.replace(/#.*$/,""),T=new RegExp(c(i[y+1])),E=f(T,[_]);g={url:_,func:"",args:[],line:E?E.line:o[1],column:null}}if(g){g.func||(g.func=s(g.url,g.line));var k=a(g.url,g.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===i[y+1].replace(/^\s*/,"")?g.context=k:g.context=[i[y+1]],h.push(g)}}return h.length?{mode:"multiline",name:e.name,message:i[0],stack:h}:null}function y(e,n,t,r){var i={url:n,line:t};if(i.url&&i.line){e.incomplete=!1,i.func||(i.func=s(i.url,i.line)),i.context||(i.context=a(i.url,i.line));var o=/ '([^']+)' /.exec(r);if(o&&(i.column=d(o[1],i.url,i.line)),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,e.stack[0].context=i.context,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function g(e,n){for(var t,r,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,u=[],c={},f=!1,p=g.caller;p&&!f;p=p.caller)if(p!==v&&p!==o.report){if(r={url:null,func:l,args:[],line:null,column:null},p.name?r.func=p.name:(t=a.exec(p.toString()))&&(r.func=t[1]),"undefined"==typeof r.func)try{r.func=t.input.substring(0,t.input.indexOf("{"))}catch(e){}if(i=h(p)){r.url=i.url,r.line=i.line,r.func===l&&(r.func=s(r.url,r.line));var m=/ '([^']+)' /.exec(e.message||e.description);m&&(r.column=d(m[1],i.url,i.line))}c[""+p]?f=!0:c[""+p]=!0,u.push(r)}n&&u.splice(0,n);var w={mode:"callers",name:e.name,message:e.message,stack:u};return y(w,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),w}function v(e,n){var t=null;n=null==n?0:+n;try{if(t=m(e))return t}catch(e){if(x)throw e}try{if(t=p(e))return t}catch(e){if(x)throw e}try{if(t=w(e))return t}catch(e){if(x)throw e}try{if(t=g(e,n+1))return t}catch(e){if(x)throw e}return{mode:"failed"}}function b(e){e=1+(null==e?0:+e);try{throw new Error}catch(n){return v(n,e+1)}}var x=!1,j={};return v.augmentStackTraceWithInitialElement=y,v.guessFunctionName=s,v.gatherContext=a,v.ofCaller=b,v.getSource=t,v}(),o.extendToAsynchronousCallbacks=function(){var e=function(e){var t=n[e];n[e]=function(){var e=a.call(arguments),n=e[0];return"function"==typeof n&&(e[0]=o.wrap(n)),t.apply?t.apply(this,e):t(e[0],e[1])}};e("setTimeout"),e("setInterval")},o.remoteFetching||(o.remoteFetching=!0),o.collectWindowErrors||(o.collectWindowErrors=!0),(!o.linesOfContext||o.linesOfContext<1)&&(o.linesOfContext=11),void 0!==e&&e.exports&&n.module!==e?e.exports=o:"function"==typeof define&&define.amd?define("TraceKit",[],o):n.TraceKit=o}}("undefined"!=typeof window?window:global)},"./webpack-loaders/expose-loader/index.js?require!./shared/require-global.js":function(e,n,t){(function(n){e.exports=n.require=t("./shared/require-global.js")}).call(n,t("../../../lib/node_modules/webpack/buildin/global.js"))}});
×