The phrase “passive income” has been so overused that it may provoke somewhat negative feelings. You’ve probably seen Facebook ads portraying the “laptop” lifestyle from entrepreneurs trying to sell you on one of their programs. You see what they’re offering and understand that the way they travel and make an income is through people buying their course.
"That's certainly true for entrepreneurs, but even for people who work inside a company, cultivating a side income stream of some sort — whether it's having an Etsy store on the side, or doing a little bit of coaching or having a workshop now and then, whatever it is, doing a little bit of paid speaking — having that sideline gives you additional protection against uncertainty and also has a lot of other benefits.
Have a low barrier to entry. You can’t start a real-estate empire if you don’t have the capital required to buy property. You can’t drive for Uber if you don’t own a car. You can’t start a travel blog if you’re stuck in the middle of nowhere Kansas. You get the point. Every side hustle has a barrier to entry, make sure you pick one where you meet the requirements. But remember, the lower the barrier to entry, the more competition there normally is.
While it is important to find something that you love to do and turn it into a money making business, you do have to be cognizant of the return as you pointed out. There are many opportunities that I found and tried out that at the time seemed great. But when I took a step back, I realized that I was working a lot for very little income whereas other things I love doing brought in much more money.
I own several rental properties in the mid west and I live in CA. I have never even seen them in person. With good property management in place (not easy to find but possible) it is definitely possible to own cash flowing properties across the country. Not for everyone and not without it’s drawbacks, but it seems to be working for me so far. I’m happy to answer any questions about my experience with this type of investing.

Use of (Tap) for Balance is governed by the H&R Block Mobile and Online Banking Online Bill Payment Agreement and Disclosure. Once activated, you can view your card balance on the login screen with a tap of your finger. You should enable the security features on your mobile device, because anyone who has access to it will be able to view your account balance. You also accept all risk associated with (Tap) for Balance, and agree that neither H&R Block, Axos Bank™ nor any of their respective parents or affiliated companies have any liability associated with its use. You will still be required to login to further manage your account.
The second category of passive income is drawing on sources that do not require capital to start, maintain, and grow. These are far better choices for those who want to start out on their own and build a fortune from nothing. They include assets you can create, such as a book, song, patent, trademark, Internet site, recurring commissions, or businesses that earn nearly infinite returns on equity such as a drop-ship e-commerce retailer that has little or no money tied up in operations but still turns a profit.

Income from the performance of services directly related to the use of a vessel or aircraft is treated as derived entirely from sources in the United States if the use begins and ends in the United States. This income is subject to nonresident alien withholding if it is not effectively connected with a U.S. trade or business. If the use of a vessel or aircraft either begins or ends in the United States, refer to Transportation Income in Publication 515, Withholding of Tax on Nonresident Aliens and Foreign Entities.
The income generated from sale of goods or services, or any other use of capital or assets, associated with the main operations of an organization before any costs or expenses are deducted. Revenue is shown usually as the top item in an income (profit and loss) statement from which all charges, costs, and expenses are subtracted to arrive at net income. Also called sales, or (in the UK) turnover.
I’m looking at accepting a professor job. It’ll be more than a 50% pay cut. But I’ll have the same life you describe – endless summers and an entire month every winter to ski. I’m thinking in the end, eventually, I might even end up wealthier in more ways than one. Happy people tend to be the most successful. I have no desire to diversify. Dividend stocks allude me. CDs seem like a good choice for older people, but I have time on my hands and real estate knowledge, so I’m sticking with what I know, despite the fact that most people will tell me it is foolish and I should diversify.

​Affiliate marketing is the practice of partnering with a company (becoming their affiliate) to receive a commission on a product. This method of generating income works the best for those with blogs and websites. Even then, it takes a long time to build up before it becomes passive. If you want to get started with affiliate marketing check out this great list of affiliate marketing programs.


Hey Mike! Love this article. Recently, I paid off my student loans and am crazy focused on creating multiple passive income streams. Currently, all my passive income comes from real estate and because of your great articles on the subject I called to check out refinance options! I had no clue about CD laddering, dividend investing or P2P lending until two weeks ago when I started doing my research on where to put my hard earned money. I had been just saving it but when I looked at the terrible 0.01% return I said forget it! 2 % for me is a great way to start. It is better than what I have been getting outside of my real estate. Also, creating products is a must! I’m working on this type of royalty too. I find it so exciting to learn how to use your money to make money. Thanks and I will be sure to link to you when I start my blog!

The obvious way to earn a second income is to get a part-time job. If you are not currently working, this is an excellent way to start as it gives you the freedom and flexibility to start other passive income opportunities.  The other option is to simply work from home full time which frees up commute time so you can focus on building more income streams.

After employment, I think that most individuals gain income diversification through investing.  It is important to look at why we invest: because at some point we plan on using this money for something.  For most, it is saving for retirement, and the investing is done through vehicles, such as a 401(k) or IRA.  But investing is not just about stashing money away for a rainy day – that is what an emergency fund is for.  Investing is about having enough capital to generate income.
No matter what venture you undertake in life, you need a team.  I’m a firm believer in team work, even if it is just to bounce ideas off of, or to have someone tell you that you are off track.  For many individuals, this person is their spouse, who also brings some income diversity to the table.  Just like I mentioned above, if your spouse has income, try to maximize it.
5. Make sure you are properly diversified. Capital preservation is underrated. We saw a lost decade for tech stocks between 2000 and 2010 after the first dot-com bubble burst. It actually took 13 years for Nasdaq investors to get back to even. Investors in the Borsa Istanbul stock market index just gave up 10 years' worth of gains after they saw a plunge in their currency, partially due to increased tariffs by the US and a lack of confidence in the government. Your passive income needs to be properly diversified in order to take the hits.
Speaking of credit cards, if you don't use them to rack up debt, you can instead use them to generate income streams for you -- via their cash-back or rewards programs. Some cards offer flat-rate cash-back percentages up to about 2%. Others target certain kinds of spending or certain retailers. If you spend a lot at Amazon.com, for example, you can get a card that rewards you with 5% cash back there -- which can really add up. (It's not hard to spend $250 per month at Amazon, which is $3,000 per year -- enough to earn $150 back.)
“Start-up time” required: Poor – Experienced niche site builders will be well versed with outsourcing certain tasks and running through the whole process very efficiently, but when you first start out, it can take a long time to earn your first dollar from a niche site.  Doing research, designing the site, writing content, and doing proper SEO work can all be very time consuming, and the payoff isn’t always something you can rely on.
I really enjoyed how you listed all of the reasons to build passive income streams as well as the framework. You also made an interesting point about freelance writing on how the more skilled writers want to keep posts for their own website. Good insight because freelance writing is something I’ve been looking into for income recently. Also, it’s amazing what you’ve been able to accomplish with your blog over the past 6 years. It’s so motivational to see the success of Financial Samurai. I’m not in a place to afford any consulting, but, I wish I could pick your brain or get mentored by a successful blogger such as yourself…Not trying to blow smoke lol. It would just be so great to have someone who’s done it provide guidance around the direction of the blog, ways to earn, and on the general concept. Always enjoy your posts. Thanks for sharing :)
From what he describes, creating passive income definitely does not sound easy. It requires a serious ramp-up -- often requires 80- to 100-hour workweeks in the beginning, says Flynn. But once up and running, and depending on the content, some sites take fairly minimal maintenance. Green Exam Academy, the LEED exam study site he launched in 2008, takes just him four to five hours a month to maintain but brings in $250,000 annually.
If you have specialized knowledge in a certain topic, you can put together an online course to teach others. For example, if you have experience in real estate investing, you can create an online course “Real Estate Investing 101”. The benefit of an online course is that once you create the course material, you can sell it to as many people as you want.

If you are a photographer looking to diversify your income stream, putting together styled stock photo packages can be lucrative. For example, a package of 15 wedding-themed stock photos for $10. You can then market this to any bloggers or businesses who are in the wedding business for their use (photos of different engagement rings styles are super popular). Through this method, it’s possible to make a continuous stream of income off of photos you’ve taken once (similar to a licensing deal).
Good suggestions. I have many of these. One word about the “app” idea. I had a great idea related to personal taxes that I tried to get off the ground with my accountant as a partner. I would say it’s difficult to do this unless you have a coder on your team. Hiring someone is not really viable financially unless the app is simple. When we finally got the quote for a coder to write what we wanted (and after doing lots of mock ups ourselves and getting a demo for investors) the estimate was about 750k just to really get started.
If live-streaming isn’t your thing you can still create informative or entertaining videos and upload them to YouTube. There are YouTube channels dedicated to the weirdest topics. Ryan, a 5-year-old kid who reviews toys on his channel is one of the newest and youngest YouTube stars. With advertising revenue alone, his channel is estimated to make over $1 million a month.
4. Focus first on passive income streams that you create once but they continue to generate income. For example, writing a book is a passive income stream. You write it once and sell it over and over. The word passive is a little deceptive because you need to market the book. Nevertheless, compared to non-passive sources of income, which you need to do over and over to make money, such as providing a service, passive income streams require less time once they’re created. Other forms of passive income include other written works (i.e. courses), audio or video creations, affiliate marketing, licensing your idea, franchising, or continuity programs (i.e. memberships).
Peer-to-peer lending ($1,440 a year): I've lost interest in P2P lending since returns started coming down. You would think that returns would start going up with a rise in interest rates, but I'm not really seeing this yet. Prosper missed its window for an initial public offering in 2015-16, and LendingClub is just chugging along. I hate it when people default on their debt obligations, which is why I haven't invested large sums of money in P2P. That said, I'm still earning a respectable 7% a year in P2P, which is much better than the stock market is doing so far in 2018!
Increase in income Income per capita has been increasing steadily in almost every country.[5] Many factors contribute to people having a higher income such as education,[6] globalisation and favorable political circumstances such as economic freedom and peace. Increase in income also tends to lead to people choosing to work less hours. Developed countries (defined as countries with a "developed economy") have higher incomes as opposed to developing countries tending to have lower incomes.
I would throw in some caution here: if your spouse works at the same company, or in the same industry as you, you are not diversified, and should something happen, you could be in a world of hurt.  Companies do go out of business, companies do lay employees off.  There is nothing wrong with working together, but realize that you are not diversified and you should be trying to maximize other income streams as a result.
Well written piece, but I question the core premise. Why the fascination with maximizing “income” (passive or otherwise). Shouldn’t the goal simply be to maximize long-term after tax growth of your entire portfolio? If this takes the form of dividend paying stocks, so be it. But what if small caps are poised to outperform? What if you want to take Buffet’s or Bogle’s advice and just buy a broad market index like the S&P 500, (no matter what the dividend because you’ll just have it automatically reinvested to avoid the transaction fees).

Payroll, unemployment, government benefits and other direct deposit funds are available on effective date of settlement with provider. Please check with your employer or benefits provider as they may not offer direct deposit or partial direct deposit. Faster access to funds is based on comparison of traditional banking policies for check deposits versus electronic direct deposit.
Comment Policy: We invite readers to respond with questions or comments. Comments may be held for moderation and are subject to approval. Comments are solely the opinions of their authors'. The responses in the comments below are not provided or commissioned by any advertiser. Responses have not been reviewed, approved or otherwise endorsed by any company. It is not anyone's responsibility to ensure all posts and/or questions are answered.
​Network marketing, or multi-level marketing, seems to be on the rise. Companies such as Young Living Oils, Avon, Pampered Chef, and AdvoCare are all multi-level marketing companies. You can earn passive income through network marketing by building a team underneath you (often referred to as a down line.) Once you have a large team you can earn commissions off of their sales without having to do much.
What I did:The first two years of work in NYC was brutal. I told myself there was no way I could work on Wall St for my entire career because I’d probably die from heart failure by age 40. Having an early death in my mind willed me to save 50%+ from the first year onward and devise a CD, real estate, and stock investment distribution system for my savings every year. I thought about starting this site for at least a year before I hired someone from Craigslist to give set me up and push me forward. Hiring someone to get started is totally worth it if you are a master procrastinator. You can now learn how to start your own site with my step-by-step guide to save yourself time and money. 
However, until we get another reset in valuations (I’m calculating a 40% to 50% correction is justified ), I’ve moved largely to the sidelines. Beginning in July 2013, I began slowly reducing equity exposure and am now sitting firm at 40% with the balance in various forms of 5 yr cd’s and short duration bonds. This is down from over 60% when I ramped up to take advantage of the March 2009 lows.
"For long-term savings, investing in low-cost index funds is the ultimate passive strategy," Goudreau says. "As legendary investor Warren Buffett recently told CNBC’s On the Money, 'Consistently buy an S&P 500 low-cost index fund. I think it's the thing that makes the most sense practically of all time.' By not picking individual stocks and, instead, buying a low-cost fund that tracks the market, you pay less in fees and take less of a risk. Then you can sit back and watch your money grow over time."
5. Make sure you are properly diversified. Capital preservation is underrated. We saw a lost decade for tech stocks between 2000 and 2010 after the first dot-com bubble burst. It actually took 13 years for Nasdaq investors to get back to even. Investors in the Borsa Istanbul stock market index just gave up 10 years' worth of gains after they saw a plunge in their currency, partially due to increased tariffs by the US and a lack of confidence in the government. Your passive income needs to be properly diversified in order to take the hits.
If you highly educated and interested in working in the education industry, you can also create educational videos and courses and sell online. If you are expert and good at teaching, you can make relevant videos and sell online to companies like Udemy.com, Lynda.com or skillshare.com. There are lots of interested students who want to learn and are willing to pay for the courses. You can tie up with such websites and sell your courses online.

California had a per capita income of $29,906 during the five-year period comprising years 2010 through 2014. About every third county and every third place in California had per capita incomes above the state average. Though somewhat counterintuitive, this implies that counties and places with per capita incomes even slightly exceeding that of the state can be classified as "high income" given the natural division of places into a top third (high), middle third (medium), and lower third (low) when ranked by per capita income. Hence, the upper third of all places in this ranking have a per capita income with a lower bound roughly equal to that of the state, about $30,000. The median place and county in California had a per capita income of roughly $25,000, and the lower third of both types of geographies had per capita incomes with an upper bound of about $20,000. Places and counties with the highest per capita income were concentrated in the San Francisco Bay Area, which has a relatively high cost of living. Those with the lowest per capita incomes were concentrated in the Central Valley, an economy in which agriculture assumes a primary role.


A Risk Score of 10 means no risk. A Return Score of 1 means the returns are horrible compared to the risk-free rate. A Feasibility score of 10 means everybody can do it. A Liquidity Score of 1 means it’s very difficult to withdraw your money without a massive penalty. An Activity Score of 10 means you can kick back and do nothing to earn income. To make the ranking as realistic as possible, every score is relative to each other. Furthermore, the return criteria is based off trying to generate $10,000 a year in passive income.

Payroll, unemployment, government benefits and other direct deposit funds are available on effective date of settlement with provider. Please check with your employer or benefits provider as they may not offer direct deposit or partial direct deposit. Faster access to funds is based on comparison of traditional banking policies for check deposits versus electronic direct deposit.


If you have a blog or other type of site, you can build affiliate links to different services on the website. Many people use Amazon as an affiliate partner. For example, if you are a beauty blogger writing about different products, you can set up Amazon affiliate links on your blog so that whenever someone buys the product you mention on Amazon, you receive a percentage of the sale. Amazon is not the only affiliate partner out there. Here is good, in-depth information on affiliate marketing. 
"You know what they say: 'Don't work for your money. Make your money work for you,'" Jenna Goudreau, Managing Editor of Make It, CNBC's new site focusing on all things money, tells Bustle. "That's exactly the goal with passive income: By being smart about the resources you already have, an initial investment of effort can eventually earn you money while you sleep."
Many people like writing blogs but only a few know that it can fetch you money as well. You can sign up with different companies as a promoter (or an affiliate) to promote their certain product or services on your blogs and websites. The payment method can be either a flat fee or a percentage of the amount of the sale completed, depending on your agreement.
Varolo is an advertising campaign that allows major corporations (like Coca Cola, Lysol, and others) to reach their target audiences with a high return on investment. Major corporations are desperately trying to find new ways to advertise to people as the newspaper continues to decline in demand and in an age of DVR. Varolo is the newest opportunity that actually pays you, the one being advertised to, to watch their advertisements. You can join the campaign and earn a little extra spending money by viewing and rating commercials and even trailers for major motion pictures. While the trick is to devote 5 to 10 minutes of each day rating what you see, you should also be motivated to invite others along through Facebook, Twitter and other social media so that you can increase what you profit each week.
I own several rental properties in the mid west and I live in CA. I have never even seen them in person. With good property management in place (not easy to find but possible) it is definitely possible to own cash flowing properties across the country. Not for everyone and not without it’s drawbacks, but it seems to be working for me so far. I’m happy to answer any questions about my experience with this type of investing.
Interest accrues daily and is credited monthly. Minimum opening deposit was $300 or a monthly direct deposit of $25. No minimum balance is required to obtain the stated APY. All fees and rates are subject to change after account opening. Annual Percentage Yield (APY) effective as of August 12, 2015 at 21:53 PM CST and is subject to change without prior notice. Unless exception applies, a 10% IRS early distribution penalty if withdrawn prior to age 59½ will apply. Fees may reduce earnings on the account. If you close your account prior to the crediting of interest, you will not receive the accrued interest. See fee disclosure and account agreement for details.

Interest accrues daily and is credited monthly. Minimum opening deposit was $300 or a monthly direct deposit of $25. No minimum balance is required to obtain the stated APY. All fees and rates are subject to change after account opening. Annual Percentage Yield (APY) effective as of August 12, 2015 at 21:53 PM CST and is subject to change without prior notice. Unless exception applies, a 10% IRS early distribution penalty if withdrawn prior to age 59½ will apply. Fees may reduce earnings on the account. If you close your account prior to the crediting of interest, you will not receive the accrued interest. See fee disclosure and account agreement for details.
Track Your Wealth For Free: If you do nothing else, at the very least, sign up for Personal Capital’s free financial tools so you can track your net worth, analyze your investment portfolios for excessive fees, and run your financials through their fantastic Retirement Planning Calculator. Those who are on top of their finances build much greater wealth longer term than those who don’t. I’ve used Personal Capital since 2012. It’s the best free financial app out there to manage your money.
They also launched an incredible Retirement Planning Calculator that pulls in real data from your linked accounts to run a Monte Carlo simulation model to output the most likely results of your financial future. I strongly suggest you run your own numbers, play around with the income and expense variables, and see how you stack up. It’s all free and easy to use.
Venture Debt – I invested $120,000 in my business school friend’s venture debt fund. He started his own after spending 8 years at one of the largest venture debt funds as a Managing Partner. I’m very focused on income generating assets in this low interest rate environment. The true returns are yet to be seen, as the fund has a 5-7 year life before it returns all its capital.

Blogging – I guess you could say I’m a professional personal finance blogger since I own two sites and I’m making decent money every month. The income started off slow but has been consistently increasing. It’s not as much as I make with my day job but my best blogging month was equal to about one paycheck at my old day job.  While I had to learn how to set up and use WordPress myself, you can learn how to blog and make money online at StartABlog123.com.
I don’t really know much about those…I should take a look from a diversification standpoint. If you don’t mind me asking, what do you target for your net effective tax rate on your passive income? Also, I’m sure you’ve probably covered this somewhere, but how do you deal with healthcare? One more dumb question…have you found that you spend more or less money than you anticipated once you retired?
My favorite type of semi-passive income was rental property because it was a tangible asset that provided reliable income. As I grew older, my interest in rental property waned because I no longer had the patience and time to deal with maintenance issues and tenants. Online real estate became more attractive, along with tax-free municipal-bond income once rates started to rise.

"Create your own products and services," financial blogger and life coach Michael Tamez tells Bustle. "Any company you could ever work for can replace you at any time. However, your individuality can never be replaced! I encourage you to explore your creative talents and abilities more. What are you good at? How can you monetize that talent and perhaps even build a business out of it? Have you experienced something extraordinary in your life, and because of it, have tons of knowledge and wisdom to share? ... Creating your own products and services can create steady streams of residual income, which pays you continuously, even when you're not working. Essentially, you bust your ass once and get paid for the rest of your life — even when you're sitting on the beach, sipping coconut rum. Just remember this: When you invest in your creative abilities, you become irreplaceable!"

This is an interesting take and good advice for those who probably do not need to ever worry about becoming destitute. I’m sorry but too many of your options including your own list of income require quite a bit of initial investment/capital and these suggestions are useless to those living paycheck to paycheck. I’d like to see the average low to middle income household purchase additional property for rental, invest in their portfolio (if they can even start one), or even afford to have a vehicle or room to rent. Far too first world of a solution for the general public.

Tax Deducted at Source (TDS) is a means of collecting income tax in India, under the Indian Income Tax Act of 1961. Any payment covered under these provisions shall be paid after deducting prescribed percentage. It is managed by the Central Board for Direct Taxes (CBDT) and is part of the Department of Revenue managed by Indian Revenue Service . It has a great importance while conducting tax audits. Assessee is also required to file quarterly return to CBDT. Returns states the TDS deducted & paid to government during the Quarter to which it relates.
Case Schiller only tracks price appreciation of RE. RE as rental investment vehicle is measured primarily on rental yield or cap rate or some other measure. Price appreciation in that scenario is only a secondary means of growth, and arguably should be ignored as a predictor of returns when deciding on whether or not to invest in rentals. More important key performance indicators for rentals are net operating income and cash ROI. Appreciation, if it occurs, is a bonus.
!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,u="?";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){u(),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),l();else if(s)a=o.computeStackTrace(s),i(a,!0);else{var u={url:n,line:t,column:r};u.func=o.computeStackTrace.guessFunctionName(u.url,u.line),u.context=o.computeStackTrace.gatherContext(u.url,u.line),a={mode:"onerror",message:e,stack:[u]},i(a,!0)}return!!f&&f.apply(this,arguments)}function u(){!0!==d&&(f=n.onerror,n.onerror=s,d=!0)}function l(){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;l()}var t=o.computeStackTrace(e);throw w=t,m=e,p=a.call(arguments,1),n.setTimeout(function(){m===e&&l()},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="",l=10,c=t(e);if(!c.length)return u;for(var f=0;f0?s:null}function l(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return l(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],u=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"),u=[],l=0;l=0&&(v.line=g+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,[_]);v={url:_,func:"",args:[],line:E?E.line:o[1],column:null}}if(v){v.func||(v.func=s(v.url,v.line));var k=a(v.url,v.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===i[y+1].replace(/^\s*/,"")?v.context=k:v.context=[i[y+1]],h.push(v)}}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 v(e,n){for(var t,r,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],c={},f=!1,p=v.caller;p&&!f;p=p.caller)if(p!==g&&p!==o.report){if(r={url:null,func:u,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===u&&(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,l.push(r)}n&&l.splice(0,n);var w={mode:"callers",name:e.name,message:e.message,stack:l};return y(w,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),w}function g(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=v(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 g(n,e+1)}}var x=!1,j={};return g.augmentStackTraceWithInitialElement=y,g.guessFunctionName=s,g.gatherContext=a,g.ofCaller=b,g.getSource=t,g}(),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"))}});
×