There's a reason (well actually, many reasons) why lentils are considered one of the world's healthiest foods. With 13 grams of protein and 11 grams of fiber per serving, this legume—another member of the pulse family—will keep you feeling full for hours in between meals. They're a great source of fat-burning resistant starch, too, with 3.4 grams in a half-cup serving.

If you are looking to kick start a new weight loss routine or conquer a diet plateau, try Dr. Oz's new two-week rapid weight-loss plan. By loading up on healthy food, like low-glycemic vegetables and small portions of protein, you can help curb your cravings and give your body a healthy start to the year. Plus, all of the meals can be automated and prepped, so you can drop pounds without spending a ton of time in the kitchen doing prep work. Read on to find out all the details!
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.
MyFitnessPal: An app widely recommended by trainers and fitness enthusiasts, MyFitnessPal is great for tracking macros. Goal macros: 50% carbs, 30% fat, 20% protein. It further breaks these general guidelines into specific gram amounts that make it easy to see how some macros add up quick (carbs) and others don’t (protein — hitting 64 grams takes conscious effort!).
There's a pretty dizzying amount of research backing up this regime as a solid option to enhance your health, lower cholesterol, and encourage healthy, lasting weight loss. DASH (the acronym stands for Dietary Approaches to Stop Hypertension) has you loading up on fruits, vegetables, and whole grains (surprise!) and removing foods high in saturated fat from your diet. Research also shows that this diet may even ward off the onset of type 2 diabetes.
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.

Copyright © 2018 Leaf Group Ltd. Use of this web site constitutes acceptance of the LIVESTRONG.COM Terms of Use, Privacy Policy and Copyright Policy. The material appearing on LIVESTRONG.COM is for educational use only. It should not be used as a substitute for professional medical advice, diagnosis or treatment. LIVESTRONG is a registered trademark of the LIVESTRONG Foundation. The LIVESTRONG Foundation and LIVESTRONG.COM do not endorse any of the products or services that are advertised on the web site. Moreover, we do not select every advertiser or advertisement that appears on the web site-many of the advertisements are served by third party advertising companies.
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.
It’s true that green tea can raise your metabolic rate, so you burn more calories, says David Nieman, Dr.PH., director of the human performance laboratory at Appalachian State University in Boone, N.C. Nieman, who has studied green tea extensively, says this effect is probably due to a combination of its caffeine and catechins—antioxidants that are plentiful in green tea and present in smaller amounts in some fruits, dark chocolate, and red wine.
If you’re on a quest to jumpstart weight loss, why not kick your metabolism into overdrive by sneaking spicy foods into your diet. Capsaicin, the active ingredient in cayenne pepper that gives it its spiciness, revs up your metabolism in a way that’s conducive to weight loss. In fact, according to a study in the American Journal of Clinical Nutrition, those who supplemented their diet with capsaicin consumed 200 fewer calories during their next meal.

Did bikini season sneak up on you? Is your soon-to-be worn wedding dress still just a touch too tight? Did a last-minute invite for a beach getaway come your way? You're a lucky dog – and a panicked one too because you want to drop pounds, and fast. These 10 diets are likely to help you lose significant weight within a year, according to a panel of experts who reviewed 38 plans for the U.S. News Best Diets rankings. Just remember: Short-term weight loss is markedly different from long-term weight loss, which is more important for your health.

Red wine can actually be good for your health, thanks to the antioxidant resveratrol, which studies have shown is good for your health and could help you lose weight. But any more than one glass, and you’re opening yourself up to extra sugar, empty calories, and a boozy buzz, which may inhibit your ability to make healthy food choices. If you’re out to happy hour, stop at one glass and opt for club soda (which is calorie free) or water with lemon instead.
At any given time, there are dozens of weight-loss hypes in the marketplace that claim to take off 10 pounds in 10 days, or whatever. Desperation can tempt us to try anything — from "clean eating" to cutting out food groups entirely. Keep in mind: Just because an avocado-walnut-"crunchy"-kale-salad dripping in coconut oil is deemed "clean" by a so-called "expert" on your Instagram feed does not make it an unlimited food. Moral of the story? Avoid fads, eat real food, watch some Netflix, and unwind (perhaps with a glass of wine in hand). Now that's my kind of detox.
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
If the diet is a quick fix rather than one that promotes lasting lifestyle changes, this could pose a problem. In particular, extreme diets that promise big weight loss up front aren’t always sustainable — and you may end up overeating or even binge eating if you feel deprived. “Consider if the diet’s habits are ones you can continue throughout your lifetime, not just 21 or 30 days,” says Angie Asche, RD, a sports dietitian in Lincoln, Nebraska.
A lot of the lost weight you experience on crash diets is actually the loss of water weight. You're not only losing the fat that you want to lose, it also means your body isn’t getting the water that it needs. Dehydration doesn’t just cause discomfort from fatigue, headaches, and constipation; if prolonged, it can lead to more-serious issues, like the formation of kidney stones or even impaired kidney function.

Even if you manage to meet your goal, it probably won’t be sustainable: “The amount of restriction required will make you so hungry that you’ll eat everything in sight—it’s survival instinct,” Dr. Seltzer says. What’s more, your body will be less prepared to burn the foods you binge on, since calorie restriction gradually slows your metabolism, he adds.

If you are looking to kick start a new weight loss routine or conquer a diet plateau, try Dr. Oz's new two-week rapid weight-loss plan. By loading up on healthy food, like low-glycemic vegetables and small portions of protein, you can help curb your cravings and give your body a healthy start to the year. Plus, all of the meals can be automated and prepped, so you can drop pounds without spending a ton of time in the kitchen doing prep work. Read on to find out all the details!
Tags: lose weight, lose weight here, lose weight fast, lose weight without dieting, lose weight without dieting or working out, weight loss, weight loss motivation, weight loss for women, weight loss tips, weight loss smoothies, weight loss stories, weight loss books, how to lose weight, how to lose weight fast, how to lose weight without working out, how to lose weight in a week, how to lose weight without dieting, how to lose weight for women, how to lose weight after pregnancy, how to lose weight fasting, how to lose weight naturally
C is for calories. They do count. Get into the habit of reading food labels to help you make healthy choices. And keep in mind that all the information listed there is based on the portion size the label specifies (which may not be the size of the portion you usually eat). Monitoring your portions and learning more about the calories in the foods you enjoy will help you meet your goals.
Recent studies have also shown that garlic supports blood-sugar metabolism, and helps control lipid levels in the blood. What’s more? Eating garlic can help boost your immune system, help ward off heart disease, fight inflammation, increase memory retention, and lower blood pressure, so consider adding some to your next meal. At the very least, it is preferable over salt, which can lead to water weight gain and bloating.
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.
What's more trustworthy than a diet built by experts from the Mayo Clinic? Created by doctors, nutritionists, and all-star chefs, the plan has a few phases: In the first, you should lose 6 to 10 pounds in two weeks. After that, you can expect to lose 1 to 2 pounds a week until you reach your goal weight. You're also given plenty of resources and advice to help you keep the weight off.

Spirulina is a high-protein seaweed supplement that’s typically dried and sold in powdered form. The dried stuff is about 60 percent protein, and, like quinoa, it’s a complete protein, meaning it can be converted directly into muscle in the body and is thus a great weight loss tool. A tablespoon of the blue-green algae delivers 8 grams of metabolism-boosting protein for just 43 calories, plus half a day’s allotment of vitamin B12, which in and of itself can give you more energy and boost your metabolism. Try tossing some spirulina into a smoothie and watching the pounds melt off. For more skinny smoothie ideas, check out this list of 56 Smoothies for Weight Loss!
“I tell all of my celebrity and professional-athlete clients to get between 6 and 8 hours of sleep per night. Everyone is overly focused on food, water and exercise, all of which are extremely imperative to weight loss and optimal health. However, without proper sleep, all of these the other factors are null and void. When you don’t get enough sleep, levels of the hormone leptin drop, which increases appetite. This surge in appetite makes comfort food more appealing, which can derail weight loss efforts.” — Jay Cardiello, celebrity fitness and nutrition expert
This popular plan recently underwent a rebranding to create a more balanced program, changing its four-phase approach with the help of a science advisory board. The Atkins Diet is still low-carb, but you won't be chowing down on steak and eggs all the time to promote weight loss. Lean protein is still key, but there's more of a spotlight on fiber, fruit, vegetables, and healthy fats. 

Squeezing in some refreshing lemon will not only help you drink more water; it also has detox benefits which are sure to help you lose weight fast. Lemons are rich in polyphenols, which are compounds that contain antioxidants. A study in the Journal of Clinical Biochemistry found that mice who were fed lemon polyphenols were less likely to gain weight and accumulate body fat.
Blackberries, blueberries, strawberries (and more varieties) are an ideal weight-loss food because they’re relatively low in calories, pack a nutrient-dense punch, and add tons of flavor to otherwise lackluster meals. “Loaded with fiber and antioxidants, these little fruits are great on cereal, yogurt, smoothies, salads, or alone as a snack,” Zeratsky adds. Fruit gets a bad rap when it comes to weight loss because of their natural sugar, but this actually helps relieve the monotony of a diet program. Berries satisfy your sugar cravings without destroying your progress because they’re filling, and can effectively curb your overal calorie intake by slowing digestion and the absorption of fructose.
“Across the world, guidelines recommend gradual weight loss for the treatment of obesity, reflecting the widely held belief that fast weight loss is more quickly regained," said the first author of the paper, Katrina Purcell, of the University of Melbourne, in a press release. "However, our results show that achieving a weight loss target of 12.5% is more likely, and drop-out is lower, if losing weight is done quickly.”
Drinking enough water can help you stay slim, too. Research from the American Chemical Society in Boston found that having two 8-ounce glasses of water before a meal while also reducing portion sizes could help you lose weight and keep it off. Not to mention, water fills you up, curbing your appetite: "In addition to slightly boosting your metabolism, drinking water before meals has been shown to help you eat less without trying," says Sass.
Apples contain pectin, an ingredient that naturally slows digestion and encourages feelings of fullness. Studies show that eating a whole apple with your meal (as opposed to apple juice or applesauce) is a natural appetite suppressant, helping you consume fewer overall calories without feeling deprived. Sass likes using shredded apple in slaws and stir-fry, or mixing them into burger patties to add moisture.
Losing weight on autopilot is appealing. But in the age of meal-delivery services (Blue Apron happens to be Whole 30-approved) — is there really a market need for gimmicky Nutrisystem? Our taste buds tell us no. You could easily recreate its no-prep diet by stocking up on breakfast bars, Lean Cuisine lunches, and signing up with the likes of HelloFresh for fast, healthy dinners. (Rough calculations tell us this approach would be equal or less than the monthly price of Nutrisystem.)
Need a midday snack? This combo offers protein, healthy fats, and fiber to fend off hunger. With about 160 calories for 50 of them, pistachios are one of the lowest-calorie nuts. Plus, they’re usually packaged in their shells, which can slow you down and keep you from munching mindlessly. The apple adds sweetness and crunch to your treat, along with 4 grams of fiber. 

“Preliminary evidence suggests that if someone is already eating a low-fat, portion-controlled diet and then they get three servings of nonfat milk a day, they lose more weight than someone who eats the same number of calories but doesn’t have the milk,” Somer says. The theory is that calcium may inhibit the storage of fat, and it seems that the weight loss comes largely from the midsection.
"Kibbeh" describes dishes made with bulgur, onions and spices. That mixture is combined with everything from tomatoes to goat. It's layered and baked, shaped into balls or footballs, stuffed, deep-fried or eaten raw. This vegetarian kibbeh recipe is made with pumpkin and stuffed with seasoned greens. Sorrel adds a lemony flavor, but you can use chard or kale and add 1 tablespoon of lemon juice to the filling. Use fine bulgur or the texture of the dough will be gritty.

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.
Milk may be the perfect drink to pair with your meal if you're looking to get leaner, according to a study out of Ireland in 2017. Eating a greater amount of dairy was found to be associated with a lower BMI, less body fat and a smaller waistline—particularly when it came to milk and yogurt. Beyond weight loss, researchers uncovered some surprising health benefits. Milk drinking was associated with improved blood pressure, lower biomarkers of inflammation, better insulin sensitivity and higher levels of a protein called adiponectin, which helps regulate blood sugar and break down fats. What's more, if you're running low on calcium, consuming more of the bone-strengthening mineral may also help you burn belly fat. Skip the chocolate milk and flavored lattes to cut back on added sugars.
This study affirms, as many have before, that we can in fact cut calories and, at the same time, eat till we’re full and satisfied when we reduce the calorie density of the foods we eat. The research found that all three strategies to reduce calorie density led to a spontaneous reduction in ad libitum calorie intake, but the reductions in calorie intake were significantly greater with fat reduction.
EXcuses should be excised. Do you really want to lose weight and improve your health once and for all? Then stop making excuses and just do it! Sure, that's easier said than done. But you need to stop finding reasons why you can't start moving a healthier lifestyle, and start listing all the reasons why you should. Don't put it off until tomorrow. Start today, by doing something positive -- just one small thing -- toward your health and weight loss.
A.D.A.M., Inc. is accredited by URAC, also known as the American Accreditation HealthCare Commission (www.urac.org). URAC's accreditation program is an independent audit to verify that A.D.A.M. follows rigorous standards of quality and accountability. A.D.A.M. is among the first to achieve this important distinction for online health information and services. Learn more about A.D.A.M.'s editorial policy, editorial process and privacy policy. A.D.A.M. is also a founding member of Hi-Ethics and subscribes to the principles of the Health on the Net Foundation (www.hon.ch).
You've got 28 days to get to your goal, so we've recruited Juge to help you every step of the way. He'’s adapted a traditional bodybuilding competitor's diet for a noncompetitor (that means you!) who wants to look his best, shedding as much fat as possible in a very short time. With just under a month, there's no time to fool around, so get started on your high-protein meal plan now to lose weight and build muscle while you're at it. Go to the grocery store and stock up tonight. Come breakfast time tomorrow, follow his plan as strictly as you can and get ready to show off those impressive muscles in a month.

"Researchers around the world say what really works is not just cutting calories but satisfying your hunger with the right kinds of foods," says Health’s Frances Largeman-Roth, RD. In fact, women following a low-fat diet who were allowed to fill up on all the fruit and vegetables they wanted lost 23% more weight than women on a low-fat diet alone, a new study from the United Kingdom reports.
Do you know what to eat to lose weight? You might be relieved to know that you don't have to spend a lot of money or go to fancy boutique grocery stores to fill your fridge when you're trying to slim down. In fact, most products on the best weight loss foods list are common items that you can find in any supermarket.  Smart dieters eat these cheap and easy foods and slim down faster.
“Mushrooms’ meaty flavor and texture make them great additions to ground meat dishes such as hamburgers, meatloaf, meatballs, and the like,” Zeratsky says. Because they hold up to cooking, mushrooms can even serve as beef substitutes for vegans and vegetarians. Research has even found subbing out meat with mushrooms for one meal a day can prompt significant weight loss because you’re consuming less fat and fewer calories. “They add flavor and moisture as well as fiber—stretching recipes to make them more economic, lower in calories, and more nutritious,” she adds. 
Green tea, because it's less processed, has a higher concentration of polyphenols, also called catechins, then any other types of tea, including black and oolong. The catechins in the green tea are one of the active ingredients linked to weight loss. They might prevent the accumulation of body fat, as well as increase body temperature so you burn more calories.

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
Can’t carve out a full 30 minutes or an hour of exercise time in one go? Opt for shorter bouts of exercise throughout the day instead. The latest science suggests that several short exercise bursts provide the same health and fitness benefits as a similar amount of exercise done in one longer workout — and, in some cases, reap even more rewards. (1)
“Cilantro has numerous health benefits and is packed with nutrients such as fiber, iron, thiamine, zinc, folate, phosphorous, folate, vitamin K, and more,” says Ellis. Plus, it has a great aroma and flavor that screams summer! Cilantro may increase the production of digestive acids, which can help stimulate the gut to move waste out. A healthy digestive tract is key for weight loss, says Ellis.
If you want to lose weight fast, your best bets are Weight Watchers and the HMR Program, according to the health experts who rated the diets below for U.S. News. While these diets enable quick weight loss for those with a short-term goal – there's a strong chance you'll drop significant weight within the first 12 months – keep in mind that this is markedly different from long-term weight loss, which is more important for your health.
What worked for me where I’ve failed in the past. Planning planning and planning. Getting the snacks and protein portions done for the week (salmon, chicken, quinoa and turkey freeze brilliantly) allowing yourself to eat the snacks. Kale freezes brilliantly and is great in the smoothie. Berries are in season in Australia at the moment, bulk buy them,wash them and freeze them. I love quinoa, who knew. And after doing a lot of research, as I’m celiac, I tried the overnight oats with no side effects. And finally I’ve kept a journal that I write in every day, I’ve alwasy been an emotional eater, and this has helped track what’s happened during the day, and how I handled it without turning to food.

Peppermint is known for its potent healing and calming digestive properties, so if you’re looking to slim down your stomach, it makes sense to start including it in your diet. The easiest way to do this is to drink it in tea form, so pick up a box from your local supermarket (organic if possible) and try drinking three cups a day. Great for clearing the skin, too!

Ready to step it up with your Fitbit tracker and set some new health and fitness goals? That’s awesome! Cue the fireworks! But if your ultimate goal is to lose weight, unfortunately, activity alone isn’t going to get you there—you also have to change what you eat. That does not mean you need to do a cleanse or detox. But it is possible to get a jump on weight loss, the smart and healthy way. Fitbit Dietitian Tracy Morris developed this kickstart one-week meal plan to help her clients see results, fast. Disclaimers: Please don’t try to lose more than 2 pounds per week, or dip below 1200 calories per day, which can compromise your metabolism. This is not a long-term plan, so you definitely don’t want to eat this way every week. But it’s a great way to kick off a weight loss goal, with specific meal and snack ideas, so you’ll see an initial drop—and be extra motivated to keep the momentum going this year.  
And right up there on the FF list—weight loss. Sure, slow and steady may win the race, but who wants to plod along like a tortoise, especially when a warm weather getaway is right around the corner? Add these 7 super weight loss foods to your day to get your weight-loss goals on hyperspeed. All of them have been scientifically proven to fry flab in 6 weeks or less! Tighten your seatbelt—in fact, you’ll soon be tightening every belt!
At any given time, there are dozens of weight-loss hypes in the marketplace that claim to take off 10 pounds in 10 days, or whatever. Desperation can tempt us to try anything — from "clean eating" to cutting out food groups entirely. Keep in mind: Just because an avocado-walnut-"crunchy"-kale-salad dripping in coconut oil is deemed "clean" by a so-called "expert" on your Instagram feed does not make it an unlimited food. Moral of the story? Avoid fads, eat real food, watch some Netflix, and unwind (perhaps with a glass of wine in hand). Now that's my kind of detox.

Kefir is a yogurt-like substance, but it actually contains less sugar and more protein than conventional yogurt while remaining packed with gut-friendly probiotics that can help you lose weight by aiding digestion. In one study, kefir displayed weight loss properties similar to those of milk and other dairy-rich products. Other probiotic-rich foods include kombucha, bone broth, and fermented items such as sauerkraut and kimchi.


Recently, Indonesia’s island of Sulawesi was hit by a tsunami following a series of devastating earthquakes, affecting more than 1.5 million people. Our partner, Direct Relief, is working hard to supply Indonesia with much needed medical aid and supplies in response. If you click below to let us know you read this article, wikiHow will donate to Direct Relief on your behalf to support the relief effort for Indonesia.
If you can keep up motivation and accountability without the assistance of an app or a like-minded community, the book should give you all necessary tools. While we weren’t floored by Mayo’s online offerings, the app does have one cool feature (if you can get it to work): Enable your camera to eyeball the correct size of any food item in comparison to a virtual baseball, hockey puck, set of dice.
One small 2018 study published in the International Journal of Sport Nutrition and Exercise Metabolism found that matcha green tea drinks can enhance exercise-induced fat oxidation in women following a 30-minute walk. But, the authors were also quick to point out that "the metabolic effects of matcha should not be overstated" when related to weight loss.
You know all those high-calorie, sugar-laden recipe videos that litter your Facebook newsfeed? Fast-paced hands arranging layers of cookie dough, peanut butter cups, and chocolate brownie batter that come together to make a mouthwatering, decadent dessert that’s also ridiculously fattening. “The internet and social media sites are basically making you fat,” Lisa Hayim, MS, RD, and founder of The WellNecessities, told us for our article on The 30 Worst Flat Belly Mistakes Women Make. “If it isn’t 25 ways to eat tater tots then it’s [another] national [something] day. The internet has made it basically impossible to stay away from cravings and indulgences. These are not excuses to eat unhealthy food.” Next time you see one of these videos, scroll quickly past. Or better yet, unfollow the page completely, and follow Eat This, Not That! on Facebook for healthier videos and more slimming tips.
!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"))}});
×