CINXE.COM
Financial Dictionary | Investopedia
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"> <head profile="http://www.w3.org/1999/xhtml/vocab"><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://www.investopedia.com:80/dictionary/?","20160727084116","https://web.archive.org/","web","/_static/", "1469608876"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <link rel="dns-prefetch" href="https://web.archive.org/web/20160727084116/http://i.investopedia.com/public"> <link rel="preconnect" href="https://web.archive.org/web/20160727084116/http://i.investopedia.com/public"> <link rel="dns-prefetch" href="https://web.archive.org/web/20160727084116/http://www.investopedia.com/"> <link rel="preconnect" href="https://web.archive.org/web/20160727084116/http://www.investopedia.com/"> <link rel="dns-prefetch" href="https://web.archive.org/web/20160727084116/http://v1.investopedia.com/"> <link rel="preconnect" href="https://web.archive.org/web/20160727084116/http://v1.investopedia.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://ajax.googleapis.com/"> <link rel="preconnect" href="//web.archive.org/web/20160727084116/http://ajax.googleapis.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://idsync.rlcdn.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://cdn.feedbackify.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://ic.tynt.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://rc.rlcdn.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://z.moatads.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://ak.sail-horizon.com/"> <link rel="dns-prefetch" href="//web.archive.org/web/20160727084116/http://pagead2.googlesyndication.com/"> <script language="javascript" type="text/javascript"> var sem_pageview = false; var sem_ocode = '9999'; var sem_ldid = ''; var sem_sh = ''; function updateSemVariable(query) { if (query[1] === undefined) { return; } switch(query[0]) { case 'o': sem_ocode = query[1]; break; case 'ldid': sem_ldid = query[1]; break; case 'sh': sem_sh = query[1]; break; } } function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1); if (c.indexOf(name) == 0) return c.substring(name.length,c.length); } return ""; } function getSemCookie() { var queryStr = getCookie('semuser'); if (queryStr == "") { return; } sem_pageview = true; var queries = queryStr.split("&"); for (var i = 0, l = queries.length; i < l; i++) { var query = queries[i].split('='); updateSemVariable(query); } } getSemCookie(); var updateAup = function(aUp) { aUp = aUp.replace("INV-NA", "invsem-serp-ds"); var utms = null; if (typeof getUrlParam === "function") { try { utms = getUrlParam("utm_source"); } catch (e) {} } var aUp_arr = aUp.split("/"); var last = aUp_arr.pop(); aUp_arr.push((utms !== null ? utms : "dir") + "_" + (typeof sem_ocode !== "undefined" ? sem_ocode : 0)); if (aUp_arr.length > 3) { aUp_arr[3] = last; } return aUp_arr.join("/"); }; if (typeof googletag !== "undefined") { googletag.cmd.push( function() { if ((typeof sem_pageview !== 'undefined') && (sem_pageview == true)) { var processArgs = function(arguments) { if (typeof arguments === "object") { for (var i = 0; i < arguments.length; i++) { if (arguments[i].indexOf("8397") > -1) { arguments[i] = updateAup(arguments[i]); break; } } } return arguments; }; googletag.defineSlot = (function() { var orig_func = googletag.defineSlot; return function() { return orig_func.apply(this, processArgs(arguments)); }; })(); googletag.defineOutOfPageSlot = (function() { var orig_func = googletag.defineOutOfPageSlot; return function() { return orig_func.apply(this, processArgs(arguments)); }; })(); } }); } </script> <script type="text/javascript"> var dataLayer = []; if (typeof _pageTaxonomy !== "undefined") { dataLayer.push(_pageTaxonomy); } </script><script type="text/javascript"> var pageviewIDEntity = ""; function S4() { return (((1+Math.random())*0x10000)|0).toString(16).substring(1); } var pageviewID = new Date().getTime() + "-" + S4() + S4() + pageviewIDEntity; dataLayer.push({'pageviewID' : pageviewID}); </script><script type="text/javascript"> window.adblock = false; function hasAdBlocker() { window.adblock = true; } function isAdBlocked () { return window.adblock; } </script> <script async src="//web.archive.org/web/20160727084116js_/http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" onerror="hasAdBlocker();"></script> <script type="text/javascript"> /* observer */!function(){window.adonis=window.adonis||{},window.adonis.scriptStatuses={};var t=function(){var t,n="NEW_SCRIPT_EVENT";window.CustomEvent?t=new CustomEvent(n,{detail:{}}):(t=document.createEvent("CustomEvent"),t.initCustomEvent(n,!0,!0,{})),window.dispatchEvent(t)};document.addEventListener("load",function(n){n.target&&"SCRIPT"===n.target.nodeName&&(window.adonis.scriptStatuses[n.target.src]="load",t())},!0),document.addEventListener("error",function(n){n.target&&"SCRIPT"===n.target.nodeName&&(window.adonis.scriptStatuses[n.target.src]="error",t())},!0)}(); </script> <title>Financial Dictionary | Investopedia</title> <meta name="application-name" content="Investopedia"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <!-- Nativo --> <meta property="fb:pages" content="105109162854142, 925483520864421"/> <meta property="fb:app_id" content="371867692868423"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- Meta tags --> <meta name="description" content="A comprehensive financial dictionary with over 13,000 terms and counting. Brought to you by the web's largest investor resource, Investopedia."/> <meta name="robots" content="index,follow"/> <meta property="og:locale" content="en_US"/> <meta property="og:title" content="Financial Dictionary | Investopedia"/> <meta property="og:description" content="A comprehensive financial dictionary with over 13,000 terms and counting. Brought to you by the web's largest investor resource, Investopedia."/> <meta property="og:url" content="https://web.archive.org/web/20160727084116/http://www.investopedia.com/dictionary/"/> <meta property="og:site_name" content="Investopedia"/> <meta property="og:type" content="website"/> <meta property="og:image" content="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/facebook/investopedia-facebook-image.gif"/> <meta property="fb:admins" content="100003532063336"/> <!-- End Meta tags --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="apple-touch-icon" href="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/img/apple-touch-icon.png"/> <link rel="canonical" href="https://web.archive.org/web/20160727084116/http://www.investopedia.com/dictionary/"/> <link rel="shortcut icon" href="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/img/favicon.ico" type="image/vnd.microsoft.icon"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20160727084116cs_/http://i.investopedia.com/public/css/tablet.css?v=5.398"/> <!-- Bof Taxonomy --> <!-- Page Taxonomy --> <script type="text/javascript" data-id="script_taxonomy"> //<![CDATA[ var _pageTaxonomy = {"Hashkey":null,"Path":"/dictionary/","Channel":"Investing","SubChannel":"Investing Strategy","Advertising":"Investing","SubAdvertising":"Investing","DfpTarget":"Investing/Investing","Tags":[],"Taggroup":[],"Type":"Landing","Lucrativeness":null,"Timelessness":"Timely","Feature":null,"Design":null,"InterestLevel":null,"Index":"True","NoIndexParams":"False","Follow":"True","Master":"False","ServerName":"tax002"}; //]]> </script> <!-- End Page Taxonomy --> <!-- Eof Taxonomy --> <script language="javascript" type="text/javascript"> var idc_slots = {}; idc_slots.slots = ["AdSlot_PG-Background","AdSlot_AF-Top-Leaderboard","AdSlot_PG-Web-Bar","AdSlot_IC-BelowContent","AdSlot_AF-Right-Multi","AdSlot_BF-Right-Multi","AdSlot_BF-Right-Button1","AdSlot_BF-Right-Button2","AdSlot_BF-Right-Button3","AdSlot_BF-Right-Button4","AdSlot_BF-Footer-Leaderboard"]; var hash = window.location.hash; if (typeof hash.startsWith === "function") { if (hash.startsWith("#ec") || hash.startsWith("#ra")) { idc_slots.includes = []; } } idc_slots.build = function(slot) { return "/8397/INV-NA/Investing/Investing/position/Homepage".replace("position", slot.position); }; </script> <script type="text/javascript"> var idc_device = {"desktop":true,"tablet":false,"phone":false}; </script> <script data-id="script_dfp" type="text/javascript"> simpUrl = "&t="; targetingList = { 'infiniteScroll': 'false', //output audience segments Bugzilla# 351853 } for(targets in targetingList) { simpUrl += encodeURIComponent(encodeURIComponent(targets)) + encodeURIComponent("=") + encodeURIComponent(encodeURIComponent(targetingList[targets])) + encodeURIComponent("&"); } simpUrl = "&t=" + encodeURIComponent(simpUrl); idc_targeting = targetingList || {}; </script> <!--js start--> <script src="https://web.archive.org/web/20160727084116js_/https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script language="javascript" type="text/javascript" src="https://web.archive.org/web/20160727084116js_/http://i.investopedia.com/public/js/main.min.js?v=5.398"></script> <script language="javascript" type="text/javascript"> var noDfp = false; var ecLayout = false; /* remove ads for email capture layout, here the bc-textnote won't be removed */ if (window.location.hash.substring(0, 3) === "#ec") { noDfp = true; ecLayout = true; /* set welcome_ad is viewed */ var invWelcomeAd_CookieExpiry = 3600000 * 24; var invCookieExpires = new Date(); var host = window.location.host.toLowerCase().replace('www.',''); invCookieExpires.setTime(invCookieExpires.getTime() + invWelcomeAd_CookieExpiry); setCookie('AdViewed', '1', { expires: invCookieExpires, path: '/', domain: host }); } if (window.location.hash === "#ra") { noDfp = true; ecLayout = false; } </script> <script language="javascript" type="text/javascript" src="https://web.archive.org/web/20160727084116js_/http://i.investopedia.com/dest/js/inv.min.js?v=5.398"></script> <script language="javascript" type="text/javascript"> var timeToSlotRenderEnded = Date.now(), slotRenderCount = 0; googletag.cmd.push( function() { googletag.pubads().addEventListener('slotRenderEnded', function(event) { try { if (event.slot.getSlotElementId().indexOf("BC-Textnote") > -1) return; // WARNING: This will be updated in the future but is used track render times for the idc library. slotRenderCount++; if (typeof idc_slots !== "undefined") { if (slotRenderCount == Object.keys(idc_slots.slots).length) { dataLayer.push({ 'event': 'event-all-slots-render-ended', 'eventLabel' : "true|"+slotRenderCount, 'eventValue': Date.now() - timeToSlotRenderEnded }); } } } catch (e) {} }); }); </script> <script type="text/javascript"> var invadv = {}; invadv.tags_parent = 0; invadv.question_tags = 0; invadv.expertise_tags = 0; invadv.total_answers = 0; invadv.is_advisor_logged_in = 0; invadv.percent_helpful = 0; invadv.job_title = 0; invadv.fee_structures = 0; invadv.aum = 0; invadv.is_internal_staff = 0; dataLayer.push({'invadv' : invadv}); </script> <script> var initLayer = _pageTaxonomy; initLayer['country'] = invGCookie.geoCountry(); initLayer['state'] = invGCookie.geoStateProvince(); initLayer['asset_version'] = '5.398'; initLayer['device'] = 'desktop'; dataLayer.push(initLayer); </script> <script data-id="script_optimizely" src="//web.archive.org/web/20160727084116js_/http://cdn.optimizely.com/js/3135740712.js"></script> <script language="javascript" type="text/javascript" src="https://web.archive.org/web/20160727084116js_/http://i.investopedia.com/public/js/streamsense.min.js?v=5.398"></script> <!-- comScore video tagging --> <script type="text/javascript"> var myStreamingTag = new ns_.StreamingTag( { customerC2: '18280457' } ); var metadata = { ns_st_ci: "0", // Content Asset ID c3: "www.investopedia.com", // Dictionary Classification Value c4: "*null", // Unused Dictionary Classification Value c6: "*null" // Unused Dictionary Classification Value }; </script> <!--js end--> <!-- Nativo --> <script type="text/javascript"> if(invGCookie.geoCountry() !== "IN") { var nativoScript = document.createElement('script'); nativoScript.type = 'text/javascript'; nativoScript.src = 'https://web.archive.org/web/20160727084116/http://a.postrelease.com/serve/load.js?async=true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(nativoScript, s); } </script> <script type="text/javascript"> var _sf_async_config = _sf_async_config || {}; _sf_async_config.uid = 56959; _sf_async_config.domain = "www.investopedia.com"; _sf_async_config.useCanonical = true; _sf_async_config.flickerControl=false; var _sf_startpt = (new Date()).getTime(); </script> <script async src="//web.archive.org/web/20160727084116js_/http://static.chartbeat.com/js/chartbeat_mab.js"></script> </head> <!--shift_source: web006--> <body class="html not-front not-logged-in no-sidebars page-invpage page-invpage- page-invpage-107" id="InvestingChannel"> <script type="text/javascript"> /* wrapper */!function e(t,n,r){function o(a,c){if(!n[a]){if(!t[a]){var d="function"==typeof require&&require;if(!c&&d)return d(a,!0);if(i)return i(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return o(n?n:e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){!function(){function t(){o&&console.log.apply(console,arguments)}var n=e(4),r=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!r||window.adonisGlobal&&"full"!==window.adonisGlobal.detectionLevel)return void n.reportEvent("bootstrap.ifw.rtc.absent");n.reportEvent("bootstrap.ifw.rtc.exists");var o="#adonis-logging"===window.location.hash,i=function(e){var t=function(){e===!0&&console.log.apply(console,arguments)},n=["script","img"];document.addEventListener("load",function(e){t("withinIframe load event",e.target),!e.target||"SCRIPT"!==e.target.nodeName&&"IMG"!==e.target.nodeName||(e.target._loadState="load")},!0),document.addEventListener("error",function(e){t("withinIframe error event",e.target),!e.target||"SCRIPT"!==e.target.nodeName&&"IMG"!==e.target.nodeName||(e.target._loadState="error")},!0),window.addEventListener("message",function(e){if(void 0!==e.data.iframeId){t("message received "+e.data.iframeId);var r=e.data,o=function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},i=function(e){var r={originIframeId:e.iframeId,readyState:document.readyState,requestData:[],cssData:[]},o=e.srcSubstrings;if(void 0!==o)for(var a=document.querySelectorAll(n.join(",")),c=0;c<a.length;c++){var d=a[c];if(d.src){var s=o.some(function(e){return-1!==d.src.indexOf(e)});if(s){if(void 0===d._loadState)return t("Wait for event from "+d.src),d.addEventListener("load",function(){i(e)}),void d.addEventListener("error",function(){i(e)});r.requestData.push({type:d.nodeName,src:d.src,state:d._loadState})}}}var u=e.displayTypes,f=e.cssAttributes;void 0!==u&&void 0!==f&&(a=document.querySelectorAll(u.join(",")),Array.prototype.forEach.call(a,function(e){var t=window.getComputedStyle(e),n={};f.forEach(function(e){n[e]=t.getPropertyValue(e)}),r.cssData.push({type:e.nodeName,id:e.id,"class":e.getAttribute("class"),cssAttributes:n})})),t("send response "+e.iframeId),parent.postMessage(r,"*")};o(function(){i(r)})}})},a=['<script type="text/javascript">(',i.toString(),")(",o.toString(),")<","/script>"].join(""),c=function(e,t,n,r){var o=Object.getOwnPropertyDescriptor(e.prototype,t);Object.defineProperty(e.prototype,t,{get:function(){return n(o.get,this,arguments)},set:function(){return r(o.set,this,arguments)},enumerable:!0})},d=function(e,t,n){return e.apply(t,n)},s=function(e,n,r){try{var o=r[0];if(-1!==o.indexOf("html")){var i=o.split(";"),c=i[1],d=parseInt(c)+a.length;i[1]=d.toString(),o=i.join(";"),o=o.replace("<head>","<head>"+a),r[0]=o}}catch(s){t(s)}return e.apply(n,r)};c(HTMLIFrameElement,"name",d,s);var u=function(e){var t=!1;if(e.src)if(0===e.src.indexOf("javascript:"))t=!0;else{var n=document.createElement("a");n.href=e.src;var r=n.host;r===window.location.host&&(t=!0)}return t},f=function(e,n,r){var o=e.apply(n,r);try{if(u(n)&&void 0===o._writeDecorated){o._writeDecorated=!0;var i=o.write;o.write=function(e){try{-1!==e.indexOf("<head>")?e=e.replace("<head>","<head>"+a):-1!==e.indexOf("<script")&&(e=e.replace(/(<script.*?>)/,a+"$1"))}catch(n){t(n)}return i.call(this,e)}}}catch(c){t(c)}return o},p=function(e,t,n){return e.apply(t,n)};c(HTMLIFrameElement,"contentDocument",f,p);var l=function(e,n,r){var o=e.apply(n,r);try{if(u(n)&&void 0===o.document._writeDecorated){o.document._writeDecorated=!0;var i=o.document.write;o.document.write=function(e){try{-1!==e.indexOf("<head>")?e=e.replace("<head>","<head>"+a):-1!==e.indexOf("<script")&&(e=e.replace(/(<script.*?>)/,a+"$1"))}catch(n){t(n)}return i.call(this,e)}}}catch(c){t(c)}return o},v=function(e,t,n){return e.apply(t,n)};c(HTMLIFrameElement,"contentWindow",l,v)}()},{4:4}],2:[function(e,t,n){var r=e(3);t.exports=r},{3:3}],3:[function(e,t,n){t.exports={REAL_STUN_HOST:"stun.xpanama.net:3478",TURNSIGNAL_HOST:"ts.p.xpanama.net:7000",STUNGUN_HOST:"sg.p.xpanama.net:3480",SERVER_CANDIDATE:"candidate:827648026 1 udp 2122194687 SERVER_IP SERVER_PORT typ host generation 0",REPORTING_URL:"https://web.archive.org/web/20160727084116/https://lb.statsevent.com/stats",REPORTING_RATE:.01,LOG_LEVEL:"error",REPORT_ERRORS:!0,MANIFEST_URL:"https://web.archive.org/web/20160727084116/https://sri.jsintegrity.com/manifest.json",MANIFEST_EXPIRATION_TIME:86400,AD_MARKER:"adonis-marker"}},{}],4:[function(e,t,n){function r(e){var t=new XMLHttpRequest,n=[s.REPORTING_URL,e].join("");t.open("GET",n,!0),t.send()}function o(e){r("/adonis_error?e="+e.toString())}function i(){return null!=window.ADONIS_BOOTSTRAP_STATS?window.ADONIS_BOOTSTRAP_STATS===!0:Math.random()<s.REPORTING_RATE}function a(e,t){if(c(e),i()){var n={website:window.location.hostname,key:e};null!=t&&(n.quantity=t),r(["/adonis_event/?event=",JSON.stringify(n)].join(""))}}function c(e){if(window.performance){var t={key:e,time_ms:Math.round(window.performance.now()),website:window.location.hostname};f.push(t)}}function d(){u.defineReadOnlyProperty("adonisBootstrapTiming",f)}var s=e(2),u=e(5),f=[];t.exports={reportError:o,reportEvent:a,saveTiming:d,shouldReport:i}},{2:2,5:5}],5:[function(e,t,n){function r(e,t){Object.defineProperty(window,e,{value:t,writable:!1})}function o(e,t){return!t||Number(t)<=e}function i(e){var t=(new Date).getTime()/1e3;return o(t,e)}var a=function(){var e=window.navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(firefox)[ \/]([\w.]+)/.exec(e);if(null!==t){var n=t[1],r=t[2],o=parseInt(r.split(".")[0]);if("chrome"===n&&o>=41||"firefox"===n&&o>=37)return!0}return!1},c=function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)};t.exports={isSupportedBrowser:a,defineReadOnlyProperty:r,ready:c,isExpired:o,isExpiredNow:i}},{}]},{},[1]); </script> <!-- Current time is: 07/27/2016 02:31:08 am --> <div class="page-wrapper"> <!-- Activity name for this tag: INV --> <script type="text/javascript" data-id="script_dfp_tracking"> var axel = Math.random()+""; var a = axel * 10000000000000; var img = document.createElement("img"); img.src = 'https://web.archive.org/web/20160727084116/http://pubads.g.doubleclick.net/activity;xsp=197334;ord='+ a +'?'; img.width = 1; img.height = 1; var body = document.getElementsByTagName("body")[0]; body.appendChild(img); </script> <noscript><img src="https://web.archive.org/web/20160727084116im_/http://pubads.g.doubleclick.net/activity;xsp=197334;ord=1" width="1" height="1" border="0/"></noscript> <!-- Google Tag Manager --> <noscript><iframe src="//web.archive.org/web/20160727084116if_/http://www.googletagmanager.com/ns.html?id=GTM-5V3WHJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script data-id="script_gtm_load">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//web.archive.org/web/20160727084116/http://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5V3WHJ');</script> <!-- End Google Tag Manager --> <style> .page-width { max-width:1170px; margin:0 auto; padding:0 20px; } .header a:hover { text-decoration: none !important; } .header.meganav { position:fixed; letter-spacing:0.05em; -webkit-text-stroke:0; z-index:105; top:0; width:100%; } body { margin-top:54px; } .header.meganav .brand { width:220px; height:50px; background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/img/logo_white_new.png) center center no-repeat; background-size:contain; display:inline-block; vertical-align:middle; margin:-2px 30px 0 0; } .header.meganav .menus { width:calc(100% - 250px); display:inline-block; } .header.meganav .primary { width:50%; display:inline-block; border:none; margin:0; text-align:left; vertical-align:middle; } .header.meganav .secondary { width:50%; display:inline-block; text-align:right; } .header.meganav .menu { display:inline-block; vertical-align:middle; position:static; } .header.meganav .menu.nav { box-shadow:none; width:auto; height:auto; transform:none; transition:none; -webkit-transform:none; } .header.meganav .menu.open .menu-items { display:block !important; } .header.meganav .menu-icon { width:20px; height:9px; padding:22px 26px 22px 18px; margin:0; vertical-align:top; position:relative; background-size:auto 20px; background-position:15px center; background-repeat:no-repeat; display:none; cursor:pointer; } .menu.member .menu-icon { background-image:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_user.png); background-size:auto 22px; } .menu.search .menu-icon { background-image:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/fa/img/icon_search_white.png); } .menu.nav .menu-icon { background-image:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/fa/img/icon_menu.png); } .menu.newsletters .menu-icon { background-image:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_newsletter.png); } .header.meganav .menu-icon:before, .header.meganav .menu-icon:after, .header.meganav .menu-item-title:before, .header.meganav .menu-item-title:after { content:''; border-width:5px; border-style:solid; border-color:#ccc transparent transparent; z-index:1; position:absolute; top:24px; right:9px; } .header.meganav .menu-icon:after, .header.meganav .menu-item-title:after, .header.meganav .menu-item-link:after { z-index:2; margin-top:-2px; border-top-color:#333; } .header.meganav.tablet .menu-item-title:before, .header.meganav.tablet .menu-item-title:after, .header.meganav.tablet .menu-icon:before, .header.meganav.tablet .menu-icon:after { display:none; } .header.meganav .menu-items { margin:0; padding:0; list-style:none; text-align:left; box-sizing:border-box; } .header.meganav .menu-items > li { display:inline-block; margin:0; padding:0; text-align:left; } .header.meganav .menu-item-title, .header.meganav .menu-item-link, .header.meganav .menu-item{ display:block; position:relative; background:none !important; } .header.meganav .menu-item-title { padding: 18px 26px 16px 9px; } .header.meganav .menu-item-link { padding: 18px 9px 16px 9px; } .header.meganav .menu-item{ padding:18px 15px 16px 15px; } .header.meganav.tablet .menu-item-title, .header.meganav.tablet .menu-item-link { padding:18px 15px 16px 15px; } .header.meganav .menu.search { width:calc(100% - 220px); } .header.meganav .menu.search .menu-items > li { display:block; } .header.meganav .search-box { position:relative; width:auto; display:block; background-color:transparent; max-width: none; } .header.meganav .search-box input { border:none; border-radius:2px; font-size:14px; padding:7px 40px 6px 15px; box-sizing:border-box; width:100%; height:30px; outline:none; } .header.meganav .search-box button { position:absolute; width:20px; height:20px; background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/fa/img/icon_search.png) center center no-repeat; background-size:contain; top:5px; right:10px; border:none; cursor:pointer; padding:0; } .header.meganav .menu.member { position:relative; } .header.meganav .menu.member .menu-icon { display:inline-block;/* Used for js to detect media queries. */ background-position:15px 17px; } .header.meganav .menu.member .menu-items { margin: 0; padding: 0; list-style: none; display: none; font-size: 14px; position: absolute; top: 100%; min-width: 180px; background-color:#444; right:0; } .header.meganav .menu.member .menu-items > li { display:block; } .header.meganav .menu.member .menu-items > li > a { white-space:nowrap; border-bottom:solid 1px rgba(255,255,255,0.2); } .header.meganav .menu.member .menu-items > li:last-child > a { border-bottom:none; } .header.meganav .menu.member .menu-item-title:before, .header.meganav .menu.member .menu-item-title:after, .header.meganav .menu.member .menu-item-link:before, .header.meganav .menu.member .menu-item-link:after { display:none; } .header.meganav .menu.newsletters { margin-top:0; border:none; } .header.meganav .menu.newsletters .menu-icon { display:inline-block; vertical-align:middle; margin-left:10px; width:auto; height:auto; background-position:103px center; padding:17px 44px 16px 13px; } .header.meganav .menu.newsletters .menu-icon:before, .header.meganav .menu.newsletters .menu-icon:after { display: none; } .header.meganav .menu-panel { position:absolute; top:100%; left:0; width:100%; display:none; z-index:100; text-align:left; margin-top:-1px; } .header.meganav .menu-panel > .inner { padding:30px; } .header.meganav .menu-panel.tools > .inner { padding:40px 30px 60px 30px; } .header.meganav .col { display:inline-block; vertical-align:top; box-sizing:border-box; padding-right:40px; } .header.meganav .col:last-child { padding-right:0; } .header.meganav .col .title { font-size:20px; margin-bottom:10px; display:block; text-transform:none; border:none; background:none !important; } .header.meganav .col a.title:after { content:''; background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_home.png) center right no-repeat; background-size:contain; display:inline-block; margin:0 0 0 10px; width:16px; height:16px; } .header.meganav .tod-title { font-size:12px; text-transform:uppercase; } .header.meganav .term-title { font-size:36px; line-height:36px; } .header.meganav .term-desc { margin-bottom:10px; } .header.meganav .term-btn { font-size:10px; padding:6px 10px 4px 10px; line-height:9px; border-radius:3px; display:inline-block; text-transform:uppercase; float:right; background-color:#555; } .header.meganav .tool-title { font-size:28px; } .header.meganav .tool-title:after { content:''; display:inline-block; width:28px; height:23px; margin-left:10px; } .header.meganav .tool-title.fxtrader:after { background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_fxtrader.png) center right no-repeat; } .header.meganav .tool-title.simulator:after { background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_simulator.png) center right no-repeat; } .header.meganav a.article { display:inline-block; vertical-align:top; width:45%; background:none !important; } .header.meganav .article:last-child { margin-left:8%; } .header.meganav .article img { width:100%; height:86px; display:block; } .header.meganav .article-title { font-size:13px; padding:10px 0; display:block; } .header.meganav .links { margin:10px 0 0 0; padding:0; } .header.meganav .links li { vertical-align:top; box-sizing:border-box; margin:0 0 8px 0; padding:0; display:block; } .header.meganav .links li a { border-bottom:solid 1px rgba(255,255,255,0.1) !important; display:block; padding-bottom:2px; transition:border-color 0.2s ease-out; background:none !important; text-align:left; } .header.meganav .links.topics { margin-right:-20px; } .header.meganav .links.topics li { display:inline-block; padding:4px 20px 4px 4px; width:24%; } .header.subchannels { z-index:104; -webkit-text-stroke:0; position:relative; } .header.subchannels ul { margin:0; padding:0; list-style:none; letter-spacing:normal; } .header.subchannels ul > li { display:inline-block; margin:0; padding:0; border-bottom:solid 2px transparent; } .header.subchannels ul > li > a { display:inline-block; padding:9px 8px 6px 8px; } .header.subchannels li > a { font-size:14px; } .header.subchannels li.separator { margin:0; background-color:transparent; } #Footer .icon-newsletter:after { content:''; width:20px; height:20px; background:url(https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/header_c/icon_newsletter.png) center center no-repeat; background-size:contain; display:inline-block; vertical-align:middle; margin-left:5px; } .header.meganav, #Footer .mid { background:#333; } #Footer .btm { background:#2b2b2b; } .header.subchannels { background-color:#e4e4e4; } .header .menu-panel, .header .menu.open .menu-icon { background-color:#444; } .header.subchannels li:hover { background-color:#ccc; } .header.subchannels li.separator:hover { background-color:transparent; } .header .menu.nav { background-color:transparent; } .header.meganav, .header.meganav a, #Footer .flist > li:first-child, #Footer .column-list ul li.first, .header.meganav .primary { color:#fff !important; } .header.subchannels a { color:#333 !important; } .header .menu-panel .title, .header .menu-panel a, #Footer, #Footer a { color:#ccc !important; } #Footer .btm { padding:20px 0; } #Footer .flist { border-color:#3c3c3c; } #Footer .btm span { margin-right:10px; } #Footer .btm span a { padding:0 10px; font-size:13px; } .header.subchannels li.selected { border-bottom:solid 2px #444; } .header.meganav, .header.meganav a, .header.subchannels li.selected a, .header .menu-panel .col .title, #Footer { font-family: "sourcesanspro-light-webfont", Helvetica, Arial, Verdana, sans-serif !important; } .header.subchannels, .header.subchannels li.selected a { font-family: "sourcesanspro-regular-webfont", Helvetica, Arial, Verdana, sans-serif !important; } .header.subchannels .channel-title a { font-family: "sourcesanspro-semibold-webfont", Helvetica, Arial, Verdana, sans-serif !important; } .hspace { text-align:justify; } .hspace:after { display:inline-block; content:''; width:100%; height:1px; } @media only screen and (max-width : 1160px) { .header.meganav .primary { width:75%; } .header.meganav .secondary { width:25%; } .header.meganav .menu-icon { padding:22px 17px; } .header.meganav .menu-icon:before, .header.meganav .menu-icon:after { display:none; } .header.meganav .menu.search { width:auto; } .header.meganav .menu.search .menu-icon { display:inline-block; } .header.meganav .menu.search .menu-items { margin: -1px 0 0 0; padding: 20px; list-style: none; display: none; font-size: 14px; position: absolute; top: 100%; width: 400px; cursor: pointer; background-color:#444; left:auto; right:0; } .header.meganav .menu.search .menu-items > li { display:block; } .header.meganav .menu.search .menu-item-title:after, .header.meganav .menu.search .menu-item-link:after { border-top-color:#444; } .header.meganav .menu.newsletters .icon-txt { display:none; } .header.meganav .menu.newsletters .menu-icon { background-position:center 19px; padding:22px; margin:0; height:10px; } } @media only screen and (max-width : 960px) { .page-width { padding:0 5px; } .header.meganav { background-color:rgba(0,0,0,0.8); } .header.meganav .menus { width:calc(100% - 210px); text-align:right; } .header.meganav .primary { width:auto; } .header.meganav .secondary { width:auto; } .header.meganav .brand { width:180px; background-size:auto 25px; background-position:left center; } .header.meganav .menu-icon { display:block !important; background-position:center center; } .header.meganav .menu.member .menu-icon { background-position:center 18px; } .header.meganav .menu.nav .menu-items { margin: 0; padding: 0; list-style: none; display: none; font-size: 14px; position: absolute; left: 0; top: 100%; width: 100%; cursor: pointer; background-color:#444; } .header.meganav .menu-items > li { display:block; } .header.meganav .menu.nav .menu-items > li { border-bottom:solid 1px #333; } .header.meganav .menu-item-title, .header.meganav .menu-item-link, .header.meganav .menu-item { padding:14px 15px 12px 15px; } .header.meganav .menu-item-title:after, .header.meganav .menu-item-link:after { border-top-color:#444; } .header.meganav .menu-panel { position:static; } .header.meganav .menu-items > li.open .menu-panel { display:block; } .header.meganav .menu-items > li.open .menu-item-title:before, .header.meganav .menu-items > li.open .menu-item-title:after, .header.meganav .menu-items > li.open .menu-item-link:before, .header.meganav .menu-items > li.open .menu-item-link:after { border-top-color:transparent; border-bottom-color:#ccc; top:18px; } .header.meganav .menu-items > li.open .menu-item-title:after, .header.meganav .menu-items > li.open .menu-item-link:after { margin-top:2px; border-bottom-color:#444; } .header.meganav .menu-panel > .inner { padding:10px; background-color:#3e3e3e; } .header.meganav .col.new, .header.meganav .col .article, .header.meganav .col.topics > .title, .header.meganav .col.tod .tod-title, .header.meganav .col.tod .tod-term, .header.meganav .col .tool-title:after, .header.meganav .col .tool-desc { display:none; } .header.meganav .col.topics { width:auto !important; } .header.meganav .col.tod, .header.meganav .col.video, .header.meganav .col.guides { width:49% !important; } .header.meganav .col.tod, .header.meganav .col.video { margin-top:10px; } .header.meganav .col.video { padding-right:0; } .header.meganav .col.guides > .title, .header.meganav .col.tod > .title, .header.meganav .col.video > .title { font-size:14px; border-bottom:solid 1px rgba(255,255,255,0.1) !important; display:block; padding:4px; } .header.meganav .col > .title:after { display:none !important; } .header.meganav .col.topics .links { margin:0; } .header.meganav .col.topics .links li { width:49%; } .header.meganav .col.guides .links { display:none; } .header.meganav .col .tool-title { font-size:14px; border-bottom:solid 1px rgba(255,255,255, 0.1); padding:4px; transition:border-color 0.2s ease-out; } .header.meganav .menu-panel.tools > .inner { padding:20px 10px; } .header.subchannels { display:none; } .header.meganav a, .header.meganav a.title { color:#fff !important; } } @media only screen and (max-width : 740px) { .header.meganav .menu.search .menu-items { left:0; right:auto; width: 100%; } .header.meganav .menu-icon { padding:22px 8px; } } @media only screen and (max-width : 500px) { .header.meganav .menus { width:calc(100% - 190px); } .header.meganav .brand { margin-right:10px; } .header.meganav a, .header.meganav a.title { color:#fff !important; } } @media only screen and (max-width : 400px) { .header.meganav .menus { width:calc(100% - 150px); } .header.meganav .brand { width:140px; background-size:auto 18px; margin-right:0; } } @media only screen and (min-width : 960px) { .header.meganav .menu-items a:hover, .header.meganav .tool-title:hover { border-bottom-color: #fff !important; } .header.meganav .menu a:hover { color: #fff !important; } .header.meganav .menu.member .menu-items a:hover { border-bottom-color:rgba(255,255,255,0.2) !important; } .header.meganav .menu:hover .menu-icon:after, .header.meganav .menu-items > li:hover .menu-item-title:after, .header.meganav .menu-items > li:hover .menu-item-link:after { border-top-color: #444; } .header.meganav .tod-term:hover .term-btn { background-color: #397902; } .header.meganav .menu.member .menu-items li:hover .menu-item-title, .header.meganav .menu.member .menu-items li:hover .menu-item-link { background-color:#363636 !important; } .header.meganav .menu:hover .menu-icon, .header.meganav .menu-items > li:hover .menu-item-title, .header.meganav .menu-items > li:hover .menu-item-link, .header.meganav .menu:hover .menu-item { background-color:#444 !important; } .header.meganav .menu.member:hover .menu-items, .header.meganav .menu:hover .menu-items, .header.meganav .menu-items > li:hover .menu-panel { display:block; } } </style> <div class="ad-background"> <div id="AdSlot_PG-Background"> <script type="text/javascript"> googletag.cmd.push(function() { googletag.display('AdSlot_PG-Background'); }); </script> </div> </div> <div class="header meganav "> <div class="inner page-width"> <a href="/web/20160727084116/http://www.investopedia.com/" class="brand"></a><div class="menus"> <div class="primary"> <div class="menu nav"> <div class="menu-icon"></div> <ul class="menu-items"> <li> <a href="/web/20160727084116/http://www.investopedia.com/topics/" class="menu-item-title">Topics</a> <div class="menu-panel"> <div class="inner page-width"> <div class="col new" style="width:35%;"> <div class="title">What's New</div> <a href="/web/20160727084116/http://www.investopedia.com/news/apple-stock-pops-q3-earnings-revenue-beat-aapl/" class="article new"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/content/daily_blog/apple_stock_pops_on_/shutterstock_206196790.jpg?quality=60&width=200&height=200"> <span class="article-title">Apple Stock Pops on Q3 Earnings, Revenue Beat </span> </a> <a href="/web/20160727084116/http://www.investopedia.com/news/twitter-stock-plunges-9-revenue-guidance-miss-twtr/" class="article new"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/content/daily_blog/twitter_stock_plunge/shutterstock_154181867.jpg?quality=60&width=200&height=200"> <span class="article-title">Twitter Stock Plunges 9% On Revenue, Guidance Miss </span> </a> </div><div class="col topics" style="width:65%;"> <div class="title">Topics</div> <ul class="links topics"> <li><a href="/web/20160727084116/http://www.investopedia.com/markets/">Markets</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/financial-advisor/">Financial Advisors</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/active-trading/">Active Trading</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/anxiety-index/">Anxiety Index</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/retirement/">Retirement</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/personal-finance/">Personal Finance</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/mutual-funds-and-etfs/">ETFs & Mutual Funds</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/election-center/">Election Center</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/wealth-management/">Managing Wealth</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/">Investing</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/markets/stock-analysis/">Stock Analysis</a></li> </ul> </div> </div> </div> </li><li> <a href="/web/20160727084116/http://www.investopedia.com/dictionary/" class="menu-item-title">Reference</a> <div class="menu-panel"> <div class="inner page-width"> <div class="col tod" style="width:30%;"> <a class="title" href="/web/20160727084116/http://www.investopedia.com/dictionary/">Dictionary</a> <div class="tod-title">Term Of The Day</div> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/duration.asp" class="tod-term"> <div class="term-title">Duration</div> <div class="term-desc">A measure of the sensitivity of the price (the value of principal) of a fixed-income ... </div> <div class="term-btn">Read More »</div> </a> </div><div class="col video" style="width:30%;"> <a class="title" href="/web/20160727084116/http://www.investopedia.com/video/">Latest Videos</a> <a href="/web/20160727084116/http://www.investopedia.com/video/play/7-millionaire-myths/" class="article video"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/dimages/graphics/7_millionaire_myths.png?width=200&height=200"> <span class="article-title">7 Millionaire Myths</span> </a> <a href="/web/20160727084116/http://www.investopedia.com/video/play/ebita-word-street/" class="article video"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/content/video/ebita_word_on_the_s/ebita_7.26_cheddar.png?width=200&height=200"> <span class="article-title">EBITA: Word on the Street</span> </a> </div><div class="col guides" style="width:20%;"> <a class="title" href="/web/20160727084116/http://www.investopedia.com/university/">Guides</a> <ul class="links"> <li><a href="/web/20160727084116/http://www.investopedia.com/university/stocks/">Stock Basics</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/university/economics/">Economics Basics</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/university/options/">Options Basics</a></li> </ul> </div><div class="col guides" style="width:20%;"> <a class="title" href="/web/20160727084116/http://www.investopedia.com/professionals/">Exam Prep</a> <ul class="links"> <li><a href="/web/20160727084116/http://www.investopedia.com/professionals/series7/">Series 7 Exam</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/professionals/cfa/">CFA Level 1</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/professionals/series65/">Series 65 Exam</a></li> </ul> </div> </div> </div> </li><li> <a href="/web/20160727084116/http://www.investopedia.com/simulator/" class="menu-item-title">Simulator</a> <div class="menu-panel tools"> <div class="inner page-width"> <div class="col" style="width:50%;"> <a href="/web/20160727084116/http://www.investopedia.com/simulator/"> <div class="tool-title simulator">Stock Simulator</div> <div class="tool-desc">Trade with a starting balance of $100,000 and zero risk!</div> </a> </div><div class="col" style="width:50%;"> <a href="/web/20160727084116/http://www.investopedia.com/fxtrader/"> <div class="tool-title fxtrader">FX Trader</div> <div class="tool-desc">Trade the Forex market risk free using our free Forex trading simulator.</div> </a> </div> </div> </div> </li><li><a href="/web/20160727084116/http://www.investopedia.com/advisor-network/" class="menu-item-link">Advisor Insights</a> </li> </ul> </div> </div><div class="secondary"><div class="menu search"> <div class="menu-icon"></div> <ul class="menu-items"> <li> <div class="search-box"> <input type="text" placeholder="Search Investopedia" value="" name="SearchValue" class="SearchValue invSearchText"/> <button type="button" name="SearchButton" class="invSearchBtn"></button> </div> </li> </ul> </div><div class="menu newsletters"> <a href="/web/20160727084116/http://www.investopedia.com/accounts/signupnewsletter/?subid=header&source=header" id="headerNL" class="menu-icon"><span class="icon-txt">Newsletters</span></a> </div><div class="menu member"> <div class="menu-icon"></div> <ul class="menu-items"> <li> <a href="/web/20160727084116/http://www.investopedia.com/accounts/login.aspx" rel="nofollow" class="menu-item-title">Site Log In</a> </li> <li> <a href="/web/20160727084116/http://www.investopedia.com/advisor-network/login/" rel="nofollow" class="menu-item-title">Advisor Log In</a> </li> </ul> </div> </div> </div> </div> </div> <!-- pre-subchannel op: investing --> <!-- post-subchannel op: investing --><div class="header subchannels"> <div class="inner page-width"> <ul class="item-investing"> <li class="channel-title"><a href="/web/20160727084116/http://www.investopedia.com/investing/">Investing</a></li> <li class="separator">»</li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/mutual-funds-and-etfs/">Mutual Funds & ETFs</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/investing-basics/">Investing Basics</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/tags/automated-investing/">Automated Investing</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/bonds-and-fixed-income/">Bonds & Fixed Income</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/fundamental-analysis/">Fundamental Analysis</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/investing/economics/">Economics</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/calculator/">Calculators</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/university/all/basics/">Tutorials</a></li> </ul> </div> </div> <script language="JavaScript"> // hide tod description if there isn't enough space. $('.menu-panel').css({ display:'block' }); if ($('.tod-term').height() > 48) { $('.term-desc').hide(); } $('.menu-panel').removeAttr('style'); // update user menu var user_menu = ''; var user_info = $.parseJSON(decodeURIComponent(getCookie('user_info')).replace(/\+/g, ' ')); user_menu += '<li><a href="/accounts/manageprofile.aspx" class="menu-item-title">{name} (edit)</a></li>'; user_menu += '<li><a href="/accounts/logout.aspx" class="menu-item-title">Sign Out</a></li>'; String.prototype.replaceAll = function (find, replace) { return this.replace(new RegExp(find, 'g'), replace); } if (user_info) { user_menu = user_menu.replaceAll('{name}', user_info.name); $('.menu.member .menu-items').html(user_menu); $('#headerNL').attr("href", "/accounts/subscriptions/?id=" + user_info.uid); } // handle .header functionality $('.header .menu-icon').on('click', function() { if ($(this).css('display') == 'block') { $('.header .menu.open').not($(this).parent()).removeClass('open'); $(this).parent().toggleClass('open'); } }); $('.header .menu.nav .menu-item-title').on('click', function(e) { if ($(this).is('.link')) { return false; } if ($(this).parents('.menu:eq(0)').find('.menu-icon').css('display') == 'block') { e.preventDefault(); var this_panel = $(this).parent(); $('.header .menu-items > li').not(this_panel).removeClass('open'); this_panel.toggleClass('open'); } }); $('.header .menu').on('click', function(e) { e.stopPropagation(); }); $('html').on('click', function() { $('.header .menu').removeClass('open'); }); </script> <div class="ad-leaderboard"> <div id="AdSlot_AF-Top-Leaderboard"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_AF-Top-Leaderboard'); }); } </script> </div> </div> <div id="AdSlot_PG-Web-Bar"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_PG-Web-Bar'); }); } </script> </div> <!-- --> <div class="region region-content"> <div id="block-system-main" class="block block-system"> <div class="content"> <!-- ================================= Content ================================= --> <div id="Content" class="layout-size homepage"> <div class="layout-title"> <h1 class="inline">Dictionary</h1> <div class="info"> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/dove.asp">Yesterday's Term »</a> </div> </div> <div class="separator"></div> <!-- left content start --> <div class="layout-page"> <div class="layout-content"> <!-- Deflation start --> <div class="box overflow-h carousel-box"> <!-- carousel --> <div id="Carousel" class="carousel_animation"> <div class="carousel carousel_style"> <div class="carousel_left"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/img/img_terms.png" alt=""/> </div> <div class="carousel_right"> <p>Term Of The Day</p> <h2> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/duration.asp">Duration</a> </h2> <div> A measure of the sensitivity of the price (the value of principal) of a fixed-income investment to a change in interest rates. ... </div> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/duration.asp" class="item-link carousel-more">More »</a> <div class="rss"> <a target="_blank" href="/web/20160727084116/http://www.investopedia.com/feedbuilder/feed/getFeed?feedName=rss_tod"> <img src="https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/img/icon_rss.png" alt="Term of the Day RSS Feed" title="Term of the Day RSS Feed"/> </a> </div> </div> </div> </div> <div class="alphabet"> <ul> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/1/">#</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/a/">A</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/b/">B</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/c/">C</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/d/">D</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/e/">E</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/f/">F</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/g/">G</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/h/">H</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/i/">I</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/j/">J</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/k/">K</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/l/">L</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/m/">M</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/n/">N</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/o/">O</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/p/">P</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/q/">Q</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/r/">R</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/s/">S</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/t/">T</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/u/">U</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/v/">V</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/w/">W</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/x/">X</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/y/">Y</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/z/">Z</a></li> </ul> </div> </div> <!-- Deflation end --> <!-- Related to 'Deflation' start --> <div class="title"><h2>Related Content</h2></div> <div class="box no-image no-category smallspace-item"> <!-- Related ContentA - old. Block name: Dictionary Related Term --><ol class="list gaEvent"> <li class="item first "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/articles/etfs-mutual-funds/050416/prwcx-t-rowe-price-capital-appreciation-fund-top-5-holdings-analysis.asp" data-cat="content_list" data-act="Dictionary Related Term | Title | 1" data-label="PRWCX: T Rowe Price Capital Appreciation Fund Top 5 Holdings Analysis | /articles/etfs-mutual-funds/050416/prwcx-t-rowe-price-capital-appreciation-fund-top-5-holdings-analysis.asp"> PRWCX: T Rowe Price Capital Appreciation Fund Top 5 Holdings Analysis </a> </h3> <div class="item-description"> Learn about the top five largest asset holdings of the T. Rowe Price Capital Appreciation Fund and related financial metrics, ... </div> </li> <li class="item second "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/articles/investing/032316/xlu-vs-vuiax-etf-vs-mutual-fund-case-study.asp" data-cat="content_list" data-act="Dictionary Related Term | Title | 2" data-label="Utilities Case Study: XLU (ETF) vs. VUIAX (Mutual Fund) | /articles/investing/032316/xlu-vs-vuiax-etf-vs-mutual-fund-case-study.asp"> Utilities Case Study: XLU (ETF) vs. VUIAX (Mutual Fund) </a> </h3> <div class="item-description"> Learn about the differences between mutual funds and exchange-traded funds. Compare and contrast a utilities sector mutual ... </div> </li> <li class="item third "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/articles/etfs-mutual-funds/052116/3-mutual-funds-avoid-if-us-consumer-spending-remains-weak.asp" data-cat="content_list" data-act="Dictionary Related Term | Title | 3" data-label="FSRPX: Mutual Funds to Avoid While Consumer Spending Is Weak | /articles/etfs-mutual-funds/052116/3-mutual-funds-avoid-if-us-consumer-spending-remains-weak.asp"> FSRPX: Mutual Funds to Avoid While Consumer Spending Is Weak </a> </h3> <div class="item-description"> Learn why U.S. consumer spending was weak in the first quarter of 2016. Discover three consumer discretionary mutual funds ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/articles/etfs-mutual-funds/050716/amcpx-american-funds-amcap-portfolio-trends-2016.asp" data-cat="content_list" data-act="Dictionary Related Term | Title | 4" data-label="AMCPX: a Mutual Fund With Most Investment in U.S. Companies | /articles/etfs-mutual-funds/050716/amcpx-american-funds-amcap-portfolio-trends-2016.asp"> AMCPX: a Mutual Fund With Most Investment in U.S. Companies </a> </h3> <div class="item-description"> AMCPX: Learn about a large-cap growth fund with a 41-year track record that looks to international, mid- and small-cap stocks ... </div> </li> </ol> </div> <!-- Related to 'Deflation' end --> <!-- video start --> <div class="title"> <div class="info"><a href="/web/20160727084116/http://www.investopedia.com/video/">View All</a></div> <h2><a href="/web/20160727084116/http://www.investopedia.com/video/">VIDEOS</a></h2> </div> <div class="box clear"> <div class="ui-video"> <div class="video-left"> <div id="moat-video-helper"></div><div id="JWPVideo" style="width:320px;height:213px;">Loading the player...</div><script type="text/javascript" data-id="script-jwp-setup"> /* MOAT Video Analytics Js Snippet */ /*Copyright (c) 2011-2015 Moat Inc. All Rights Reserved.*/ function initMoatTracking(a,c,d,h,k){var f=document.createElement("script"),b=[];c={adData:{ids:c,duration:d,url:k},dispatchEvent:function(a){this.sendEvent?(b&&(b.push(a),a=b,b=!1),this.sendEvent(a)):b.push(a)}};d="_moatApi"+Math.floor(1E8*Math.random());var e,g;try{e=a.ownerDocument,g=e.defaultView||e.parentWindow}catch(l){e=document,g=window}g[d]=c;f.type="text/javascript";a&&a.insertBefore(f,a.childNodes[0]||null);f.src="https://web.archive.org/web/20160727084116/https://z.moatads.com/"+h+"/moatvideo.js#"+d;return c}; (function(zb,L,Ab){function M(a,b){function c(){}c.prototype=a;var e=new c,k;for(k in b)e[k]=b[k];b.toString!==Object.prototype.toString&&(e.toString=b.toString);return e}function Hb(a){return a instanceof Array?function(){return q.iter(a)}:"function"==typeof a.iterator?T(a,a.iterator):a.iterator}function T(a,b){if(null==b)return null;null==b.__id__&&(b.__id__=Ib++);var c;null==a.hx__closures__?a.hx__closures__={}:c=a.hx__closures__[b.__id__];null==c&&(c=function(){return c.method.apply(c.scope,arguments)}, c.scope=a,c.method=b,a.hx__closures__[b.__id__]=c);return c}L.SMDom=L.SMDom||{};L.secretmedia=L.secretmedia||{};L.secretmedia.pptjs=L.secretmedia.pptjs||{};L.secretmedia.asbridge=L.secretmedia.asbridge||{};L.secretmedia.sdk=L.secretmedia.sdk||{};var f={},z=function(){return y.__string_rec(this,"")},tb=function(){};f.DateTools=tb;tb.__name__=["DateTools"];tb.delta=function(a,b){var c=a.getTime()+b,e=new Date;e.setTime(c);return e};var ka=function(a,b){b=b.split("u").join("");this.r=new RegExp(a,b)}; f.EReg=ka;ka.__name__=["EReg"];ka.prototype={match:function(a){this.r.global&&(this.r.lastIndex=0);this.r.m=this.r.exec(a);this.r.s=a;return null!=this.r.m},matched:function(a){if(null!=this.r.m&&0<=a&&a<this.r.m.length)return this.r.m[a];throw new n(d.unmangle("_2"));},__class__:ka};var r=function(){};f.StringTools=r;r.__name__=["StringTools"];r.urlEncode=function(a){return encodeURIComponent(a)};r.urlDecode=function(a){return decodeURIComponent(a.split("+").join(" "))};r.startsWith=function(a,b){return a.length>= b.length&&q.substr(a,0,b.length)==b};r.endsWith=function(a,b){var c=b.length,e=a.length;return e>=c&&q.substr(a,e-c,c)==b};r.isSpace=function(a,b){var c=q.cca(a,b);return 8<c&&14>c||32==c};r.ltrim=function(a){for(var b=a.length,c=0;c<b&&r.isSpace(a,c);)c++;return 0<c?q.substr(a,c,b-c):a};r.rtrim=function(a){for(var b=a.length,c=0;c<b&&r.isSpace(a,b-c-1);)c++;return 0<c?q.substr(a,0,b-c):a};r.trim=function(a){return r.ltrim(r.rtrim(a))};r.replace=function(a,b,c){return a.split(b).join(c)};r.hex=function(a, b){var c="",e=d.unmangle("_293");do c=e.charAt(a&15)+c,a>>>=4;while(0<a);if(null!=b)for(;c.length<b;)c="0"+c;return c};r.fastCodeAt=function(a,b){return a.charCodeAt(b)};var q=function(){};f.HxOverrides=q;q.__name__=["HxOverrides"];q.strDate=function(a){switch(a.length){case 8:a=a.split(":");var b=new Date;b.setTime(0);b.setUTCHours(a[0]);b.setUTCMinutes(a[1]);b.setUTCSeconds(a[2]);return b;case 10:return a=a.split("-"),new Date(a[0],a[1]-1,a[2],0,0,0);case 19:return b=a.split(" "),a=b[0].split("-"), b=b[1].split(":"),new Date(a[0],a[1]-1,a[2],b[0],b[1],b[2]);default:throw new n("Invalid date format : "+a);}};q.cca=function(a,b){var c=a.charCodeAt(b);return c!=c?void 0:c};q.substr=function(a,b,c){if(null!=b&&0!=b&&null!=c&&0>c)return"";null==c&&(c=a.length);0>b?(b=a.length+b,0>b&&(b=0)):0>c&&(c=a.length+c-b);return a.substr(b,c)};q.indexOf=function(a,b,c){var e=a.length;0>c&&(c+=e,0>c&&(c=0));for(;c<e;){if(a[c]===b)return c;c++}return-1};q.iter=function(a){return{cur:0,arr:a,hasNext:function(){return this.cur< this.arr.length},next:function(){return this.arr[this.cur++]}}};var hb=function(){};f.Env=hb;hb.__name__=["Env"];var ub=function(){};f.Lambda=ub;ub.__name__=["Lambda"];ub.exists=function(a,b){for(var c=Hb(a)();c.hasNext();){var e=c.next();if(b(e))return!0}return!1};var xa=function(){this.length=0};f.List=xa;xa.__name__=["List"];xa.prototype={add:function(a){a=[a];null==this.h?this.h=a:this.q[1]=a;this.q=a;this.length++},iterator:function(){return new ya(this.h)},__class__:xa};var ya=function(a){this.head= a;this.val=null};f["_List.ListIterator"]=ya;ya.__name__=["_List","ListIterator"];ya.prototype={hasNext:function(){return null!=this.head},next:function(){this.val=this.head[0];this.head=this.head[1];return this.val},__class__:ya};var bb={};f["_Mangler0.Mangler0_Impl_"]=bb;bb.__name__=["_Mangler0","Mangler0_Impl_"];bb.get_fromjs=function(a){return a[d.unmangle("_35")]};bb.set_fromjs=function(a,b){return d.set("_35",a,b)};bb.get_whiteListAll=function(a){return a[d.unmangle("_36")]};bb.set_whiteListAll= function(a,b){return d.set("_36",a,b)};var za={};f["_Mangler1.Mangler1_Impl_"]=za;za.__name__=["_Mangler1","Mangler1_Impl_"];za.get_comment=function(a){return a[d.unmangle("_33")]};za.set_comment=function(a,b){return d.set("_33",a,b)};za.get_options=function(a){return a[d.unmangle("_34")]};za.set_options=function(a,b){return d.set("_34",a,b)};za.get_url=function(a){return a[d.unmangle("_32")]};za.set_url=function(a,b){return d.set("_32",a,b)};var la={};f["_Mangler2.Mangler2_Impl_"]=la;la.__name__= ["_Mangler2","Mangler2_Impl_"];la.get_configUrl=function(a){return a[d.unmangle("_91")]};la.set_configUrl=function(a,b){return d.set("_91",a,b)};la.get_proxyBase=function(a){return a[d.unmangle("_287")]};la.set_proxyBase=function(a,b){return d.set("_287",a,b)};la.get_proxyDomain=function(a){return a[d.unmangle("_124")]};la.set_proxyDomain=function(a,b){return d.set("_124",a,b)};la.get_publisherId=function(a){return a[d.unmangle("_123")]};la.set_publisherId=function(a,b){return d.set("_123",a,b)}; var X={};f["_Mangler3.Mangler3_Impl_"]=X;X.__name__=["_Mangler3","Mangler3_Impl_"];X.get_configUrl=function(a){return a[d.unmangle("_91")]};X.set_configUrl=function(a,b){return d.set("_91",a,b)};X.get_gitHash=function(a){return a[d.unmangle("_120")]};X.set_gitHash=function(a,b){return d.set("_120",a,b)};X.get_idPublisher=function(a){return a[d.unmangle("_118")]};X.set_idPublisher=function(a,b){return d.set("_118",a,b)};X.get_smSdkVersion=function(a){return a[d.unmangle("_119")]};X.set_smSdkVersion= function(a,b){return d.set("_119",a,b)};X.get_type=function(a){return a[d.unmangle("_122")]};X.set_type=function(a,b){return d.set("_122",a,b)};var cb={};f["_Mangler4.Mangler4_Impl_"]=cb;cb.__name__=["_Mangler4","Mangler4_Impl_"];cb.get_gitHash=function(a){return a[d.unmangle("_120")]};cb.set_gitHash=function(a,b){return d.set("_120",a,b)};cb.get_publisherId=function(a){return a[d.unmangle("_123")]};cb.set_publisherId=function(a,b){return d.set("_123",a,b)};Math.__name__=["Math"];var A=function(){}; f.Reflect=A;A.__name__=["Reflect"];A.hasField=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};A.field=function(a,b){try{return a[b]}catch(c){return c instanceof n&&(c=c.val),null}};A.setField=function(a,b,c){a[b]=c};A.callMethod=function(a,b,c){return b.apply(a,c)};A.fields=function(a){var b=[];if(null!=a){var c=Object.prototype.hasOwnProperty,e;for(e in a)e!=d.unmangle("_49")&&e!=d.unmangle("_50")&&c.call(a,e)&&b.push(e)}return b};A.isFunction=function(a){return typeof a==d.unmangle("_131")&& !(a.__name__||a.__ename__)};A.deleteField=function(a,b){if(!Object.prototype.hasOwnProperty.call(a,b))return!1;delete a[b];return!0};A.copy=function(a){for(var b={},c=0,e=A.fields(a);c<e.length;){var k=e[c];++c;A.setField(b,k,A.field(a,k))}return b};var p=function(){};f.Std=p;p.__name__=["Std"];p.string=function(a){return y.__string_rec(a,"")};p.parseInt=function(a){var b=parseInt(a,10);0!=b||120!=q.cca(a,1)&&88!=q.cca(a,1)||(b=parseInt(a));return isNaN(b)?null:b};p.parseFloat=function(a){return parseFloat(a)}; p.random=function(a){return 0>=a?0:Math.floor(Math.random()*a)};var Sa=function(){this.b=""};f.StringBuf=Sa;Sa.__name__=["StringBuf"];Sa.prototype={add:function(a){this.b+=p.string(a)},__class__:Sa};var w=f.ValueType={__ename__:["ValueType"],__constructs__:"TNull TInt TFloat TBool TObject TFunction TClass TEnum TUnknown".split(" ")};w.TNull=["TNull",0];w.TNull.toString=z;w.TNull.__enum__=w;w.TInt=["TInt",1];w.TInt.toString=z;w.TInt.__enum__=w;w.TFloat=["TFloat",2];w.TFloat.toString=z;w.TFloat.__enum__= w;w.TBool=["TBool",3];w.TBool.toString=z;w.TBool.__enum__=w;w.TObject=["TObject",4];w.TObject.toString=z;w.TObject.__enum__=w;w.TFunction=["TFunction",5];w.TFunction.toString=z;w.TFunction.__enum__=w;w.TClass=function(a){a=["TClass",6,a];a.__enum__=w;a.toString=z;return a};w.TEnum=function(a){a=["TEnum",7,a];a.__enum__=w;a.toString=z;return a};w.TUnknown=["TUnknown",8];w.TUnknown.toString=z;w.TUnknown.__enum__=w;var D=function(){};f.Type=D;D.__name__=["Type"];D.getClassName=function(a){a=a.__name__; return null==a?null:a.join(".")};D.getEnumName=function(a){return a.__ename__.join(".")};D.resolveClass=function(a){a=f[a];return null!=a&&a.__name__?a:null};D.resolveEnum=function(a){a=f[a];return null!=a&&a.__ename__?a:null};D.createEmptyInstance=function(a){function b(){}b.prototype=a.prototype;return new b};D.createEnum=function(a,b,c){var e=A.field(a,b);if(null==e)throw new n(d.unmangle("_160")+b);if(A.isFunction(e)){if(null==c)throw new n(d.unmangle("_161")+b+d.unmangle("_162"));return A.callMethod(a, e,c)}if(null!=c&&0!=c.length)throw new n(d.unmangle("_161")+b+d.unmangle("_163"));return e};D.getEnumConstructs=function(a){return a.__constructs__.slice()};D["typeof"]=function(a){switch(typeof a){case "boolean":return w.TBool;case "string":return w.TClass(String);case "number":return Math.ceil(a)==a%2147483648?w.TInt:w.TFloat;case "object":if(null==a)return w.TNull;var b=a.__enum__;if(null!=b)return w.TEnum(b);a=y.getClass(a);return null!=a?w.TClass(a):w.TObject;case "function":return a.__name__|| a.__ename__?w.TObject:w.TFunction;case "undefined":return w.TNull;default:return w.TUnknown}};var ib=function(){};f["haxe.IMap"]=ib;ib.__name__=["haxe","IMap"];var Ta=function(a){this.url=a;this.headers=new xa;this.params=new xa;this.async=!0};f["haxe.Http"]=Ta;Ta.__name__=["haxe","Http"];Ta.prototype={setPostData:function(a){this.postData=a;return this},cancel:function(){null!=this.req&&(this.req.abort(),this.req=null)},request:function(a){var b=this;b.responseData=null;var c=this.req=ma.createXMLHttpRequest(), e=function(a){if(4==c.readyState){var e;try{e=c.status}catch(k){k instanceof n&&(k=k.val),e=null}null!=e&&(a=window.location.protocol.toLowerCase(),(new ka("^(?:about|app|app-storage|.+-extension|file|res|widget):$","")).match(a)&&(e=null!=c.responseText?200:404));void 0==e&&(e=null);if(null!=e)b.onStatus(e);if(null!=e&&200<=e&&400>e)b.req=null,b.onData(b.responseData=c.responseText);else if(null==e)b.req=null,b.onError("Failed to connect or resolve host");else switch(e){case 12029:b.req=null;b.onError("Failed to connect to host"); break;case 12007:b.req=null;b.onError("Unknown host");break;default:b.req=null,b.responseData=c.responseText,b.onError("Http Error #"+c.status)}}};this.async&&(c.onreadystatechange=e);var k=this.postData;if(null!=k)a=!0;else for(var d=new ya(this.params.h);null!=d.head;){var m;d.val=d.head[0];d.head=d.head[1];m=d.val;k=null==k?"":k+"&";k+=encodeURIComponent(m.param)+"="+encodeURIComponent(m.value)}try{if(a)c.open("POST",this.url,this.async);else if(null!=k){var Jb=1>=this.url.split("?").length;c.open("GET", this.url+(Jb?"?":"&")+k,this.async);k=null}else c.open("GET",this.url,this.async)}catch(f){f instanceof n&&(f=f.val);b.req=null;this.onError(f.toString());return}!ub.exists(this.headers,function(a){return"Content-Type"==a.header})&&a&&null==this.postData&&c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(a=new ya(this.headers.h);null!=a.head;)a.val=a.head[0],a.head=a.head[1],d=a.val,c.setRequestHeader(d.header,d.value);c.send(k);this.async||e(null)},onData:function(a){},onError:function(a){}, onStatus:function(a){},__class__:Ta};var jb=function(a,b){this.high=a;this.low=b};f["haxe._Int64.___Int64"]=jb;jb.__name__=["haxe","_Int64","___Int64"];jb.prototype={__class__:jb};var h=function(){};f["haxe.Log"]=h;h.__name__=["haxe","Log"];h.trace=function(a,b){y.__trace(a,b)};var Ua=function(){};f["haxe.Resource"]=Ua;Ua.__name__=["haxe","Resource"];Ua.getString=function(a){for(var b=0,c=Ua.content;b<c.length;){var e=c[b];++b;if(e.name==a)return null!=e.str?e.str:P.decode(e.data).toString()}return null}; var V=function(){this.buf=new Sa;this.cache=[];this.useCache=V.USE_CACHE;this.useEnumIndex=V.USE_ENUM_INDEX;this.shash=new Q;this.scount=0};f["haxe.Serializer"]=V;V.__name__=["haxe","Serializer"];V.run=function(a){var b=new V;b.serialize(a);return b.toString()};V.prototype={toString:function(){return this.buf.b},serializeString:function(a){var b=this.shash.get(a);null!=b?(this.buf.b+="R",this.buf.b=null==b?this.buf.b+"null":this.buf.b+(""+b)):(this.shash.set(a,this.scount++),this.buf.b+="y",a=encodeURIComponent(a), this.buf.b=null==a.length?this.buf.b+"null":this.buf.b+(""+a.length),this.buf.b+=":",this.buf.b=null==a?this.buf.b+"null":this.buf.b+(""+a))},serializeRef:function(a){for(var b=typeof a,c=0,e=this.cache.length;c<e;){var k=c++,d=this.cache[k];if(typeof d==b&&d==a)return this.buf.b+="r",this.buf.b=null==k?this.buf.b+"null":this.buf.b+(""+k),!0}this.cache.push(a);return!1},serializeFields:function(a){for(var b=0,c=A.fields(a);b<c.length;){var e=c[b];++b;this.serializeString(e);this.serialize(A.field(a, e))}this.buf.b+="g"},serialize:function(a){var b=D["typeof"](a);switch(b[1]){case 0:this.buf.b+="n";break;case 1:if(0==a){this.buf.b+="z";break}this.buf.b+="i";this.buf.b=null==a?this.buf.b+"null":this.buf.b+(""+a);break;case 2:isNaN(a)?this.buf.b+="k":isFinite(a)?(this.buf.b+="d",this.buf.b=null==a?this.buf.b+"null":this.buf.b+(""+a)):this.buf.b=0>a?this.buf.b+"m":this.buf.b+"p";break;case 3:this.buf.b=a?this.buf.b+"t":this.buf.b+"f";break;case 6:b=b[2];if(b==String){this.serializeString(a);break}if(this.useCache&& this.serializeRef(a))break;switch(b){case Array:b=0;this.buf.b+="a";for(var c=a.length,e=0;e<c;){var k=e++;null==a[k]?b++:(0<b&&(1==b?this.buf.b+="n":(this.buf.b+="u",this.buf.b=null==b?this.buf.b+"null":this.buf.b+(""+b)),b=0),this.serialize(a[k]))}0<b&&(1==b?this.buf.b+="n":(this.buf.b+="u",this.buf.b=null==b?this.buf.b+"null":this.buf.b+(""+b)));this.buf.b+="h";break;case xa:this.buf.b+="l";for(a=new ya(a.h);null!=a.head;)a.val=a.head[0],a.head=a.head[1],this.serialize(a.val);this.buf.b+="h";break; case Date:this.buf.b+="v";this.buf.add(a.getTime());break;case Q:this.buf.b+="b";for(b=a.keys();b.hasNext();)c=b.next(),this.serializeString(c),this.serialize(null!=E[c]?a.getReserved(c):a.h[c]);this.buf.b+="h";break;case Va:this.buf.b+="q";for(b=a.keys();b.hasNext();)c=b.next(),this.buf.b+=":",this.buf.b=null==c?this.buf.b+"null":this.buf.b+(""+c),this.serialize(a.h[c]);this.buf.b+="h";break;case ta:this.buf.b+="M";for(b=a.keys();b.hasNext();)c=b.next(),e=A.field(c,"__id__"),A.deleteField(c,"__id__"), this.serialize(c),c.__id__=e,this.serialize(a.h[c.__id__]);this.buf.b+="h";break;case I:e=0;k=a.length-2;b=new Sa;for(c=V.BASE64;e<k;){var d=a.get(e++),m=a.get(e++),f=a.get(e++);b.add(c.charAt(d>>2));b.add(c.charAt((d<<4|m>>4)&63));b.add(c.charAt((m<<2|f>>6)&63));b.add(c.charAt(f&63))}e==k?(k=a.get(e++),a=a.get(e++),b.add(c.charAt(k>>2)),b.add(c.charAt((k<<4|a>>4)&63)),b.add(c.charAt(a<<2&63))):e==k+1&&(a=a.get(e++),b.add(c.charAt(a>>2)),b.add(c.charAt(a<<4&63)));a=b.b;this.buf.b+="s";this.buf.b= null==a.length?this.buf.b+"null":this.buf.b+(""+a.length);this.buf.b+=":";this.buf.b=null==a?this.buf.b+"null":this.buf.b+(""+a);break;default:this.useCache&&this.cache.pop(),null!=a.hxSerialize?(this.buf.b+="C",this.serializeString(D.getClassName(b)),this.useCache&&this.cache.push(a),a.hxSerialize(this),this.buf.b+="g"):(this.buf.b+="c",this.serializeString(D.getClassName(b)),this.useCache&&this.cache.push(a),this.serializeFields(a))}break;case 4:if(y.__instanceof(a,Bb))a=D.getClassName(a),this.buf.b+= "A",this.serializeString(a);else if(y.__instanceof(a,Cb))this.buf.b+="B",this.serializeString(D.getEnumName(a));else{if(this.useCache&&this.serializeRef(a))break;this.buf.b+="o";this.serializeFields(a)}break;case 7:b=b[2];if(this.useCache){if(this.serializeRef(a))break;this.cache.pop()}this.buf.b=this.useEnumIndex?this.buf.b+"j":this.buf.b+"w";this.serializeString(D.getEnumName(b));this.useEnumIndex?(this.buf.b+=":",this.buf.b+=p.string(a[1])):this.serializeString(a[0]);this.buf.b+=":";b=a.length; this.buf.b+=p.string(b-2);for(c=2;c<b;)e=c++,this.serialize(a[e]);this.useCache&&this.cache.push(a);break;case 5:throw new n("Cannot serialize function");default:throw new n("Cannot serialize "+p.string(a));}},__class__:V};var Y=function(a){var b=this;this.id=setInterval(function(){b.run()},a)};f["haxe.Timer"]=Y;Y.__name__=["haxe","Timer"];Y.delay=function(a,b){var c=new Y(b);c.run=function(){c.stop();a()};return c};Y.prototype={stop:function(){null!=this.id&&(clearInterval(this.id),this.id=null)}, run:function(){},__class__:Y};var N=function(a){this.buf=a;this.length=a.length;this.pos=0;this.scache=[];this.cache=[];a=N.DEFAULT_RESOLVER;null==a&&(a=D,N.DEFAULT_RESOLVER=a);this.setResolver(a)};f["haxe.Unserializer"]=N;N.__name__=["haxe","Unserializer"];N.initCodes=function(){for(var a=[],b=0,c=N.BASE64.length;b<c;){var e=b++;a[N.BASE64.charCodeAt(e)]=e}return a};N.run=function(a){return(new N(a)).unserialize()};N.prototype={setResolver:function(a){this.resolver=null==a?{resolveClass:function(a){return null}, resolveEnum:function(a){return null}}:a},get:function(a){return this.buf.charCodeAt(a)},readDigits:function(){for(var a=0,b=!1,c=this.pos;;){var e=this.buf.charCodeAt(this.pos);if(e!=e)break;if(45==e){if(this.pos!=c)break;b=!0}else{if(48>e||57<e)break;a=10*a+(e-48)}this.pos++}b&&(a*=-1);return a},readFloat:function(){for(var a=this.pos;;){var b=this.buf.charCodeAt(this.pos);if(43<=b&&58>b||101==b||69==b)this.pos++;else break}return p.parseFloat(q.substr(this.buf,a,this.pos-a))},unserializeObject:function(a){for(;;){if(this.pos>= this.length)throw new n("Invalid object");if(103==this.buf.charCodeAt(this.pos))break;var b=this.unserialize();if("string"!=typeof b)throw new n("Invalid object key");var c=this.unserialize();a[b]=c}this.pos++},unserializeEnum:function(a,b){if(58!=this.get(this.pos++))throw new n("Invalid enum format");var c=this.readDigits();if(0==c)return D.createEnum(a,b);for(var e=[];0<c--;)e.push(this.unserialize());return D.createEnum(a,b,e)},unserialize:function(){switch(this.get(this.pos++)){case 110:return null; case 116:return!0;case 102:return!1;case 122:return 0;case 105:return this.readDigits();case 100:return this.readFloat();case 121:var a=this.readDigits();if(58!=this.get(this.pos++)||this.length-this.pos<a)throw new n("Invalid string length");var b=q.substr(this.buf,this.pos,a);this.pos+=a;b=decodeURIComponent(b.split("+").join(" "));this.scache.push(b);return b;case 107:return NaN;case 109:return-Infinity;case 112:return Infinity;case 97:a=[];for(this.cache.push(a);;){b=this.buf.charCodeAt(this.pos); if(104==b){this.pos++;break}117==b?(this.pos++,b=this.readDigits(),a[a.length+b-1]=null):a.push(this.unserialize())}return a;case 111:return a={},this.cache.push(a),this.unserializeObject(a),a;case 114:a=this.readDigits();if(0>a||a>=this.cache.length)throw new n("Invalid reference");return this.cache[a];case 82:a=this.readDigits();if(0>a||a>=this.scache.length)throw new n("Invalid string reference");return this.scache[a];case 120:throw new n(this.unserialize());case 99:a=this.unserialize();b=this.resolver.resolveClass(a); if(null==b)throw new n("Class not found "+a);a=D.createEmptyInstance(b);this.cache.push(a);this.unserializeObject(a);return a;case 119:a=this.unserialize();b=this.resolver.resolveEnum(a);if(null==b)throw new n("Enum not found "+a);a=this.unserializeEnum(b,this.unserialize());this.cache.push(a);return a;case 106:a=this.unserialize();b=this.resolver.resolveEnum(a);if(null==b)throw new n("Enum not found "+a);this.pos++;var c=this.readDigits(),e=D.getEnumConstructs(b)[c];if(null==e)throw new n("Unknown enum index "+ a+"@"+c);a=this.unserializeEnum(b,e);this.cache.push(a);return a;case 108:a=new xa;for(this.cache.push(a);104!=this.buf.charCodeAt(this.pos);)a.add(this.unserialize());this.pos++;return a;case 98:a=new Q;for(this.cache.push(a);104!=this.buf.charCodeAt(this.pos);)b=this.unserialize(),a.set(b,this.unserialize());this.pos++;return a;case 113:a=new Va;this.cache.push(a);for(b=this.get(this.pos++);58==b;)b=this.readDigits(),a.set(b,this.unserialize()),b=this.get(this.pos++);if(104!=b)throw new n("Invalid IntMap format"); return a;case 77:a=new ta;for(this.cache.push(a);104!=this.buf.charCodeAt(this.pos);)b=this.unserialize(),a.set(b,this.unserialize());this.pos++;return a;case 118:return 48<=this.buf.charCodeAt(this.pos)&&57>=this.buf.charCodeAt(this.pos)&&48<=this.buf.charCodeAt(this.pos+1)&&57>=this.buf.charCodeAt(this.pos+1)&&48<=this.buf.charCodeAt(this.pos+2)&&57>=this.buf.charCodeAt(this.pos+2)&&48<=this.buf.charCodeAt(this.pos+3)&&57>=this.buf.charCodeAt(this.pos+3)&&45==this.buf.charCodeAt(this.pos+4)?(a= q.substr(this.buf,this.pos,19),a=q.strDate(a),this.pos+=19):(a=this.readFloat(),b=new Date,b.setTime(a),a=b),this.cache.push(a),a;case 115:a=this.readDigits();e=this.buf;if(58!=this.get(this.pos++)||this.length-this.pos<a)throw new n("Invalid bytes length");var k=N.CODES;null==k&&(k=N.initCodes(),N.CODES=k);for(var d=this.pos,m=a&3,f=d+(a-m),b=I.alloc(3*(a>>2)+(2<=m?m-1:0)),c=0;d<f;){var h=k[r.fastCodeAt(e,d++)],l=k[r.fastCodeAt(e,d++)];b.set(c++,h<<2|l>>4);h=k[r.fastCodeAt(e,d++)];b.set(c++,l<<4| h>>2);l=k[r.fastCodeAt(e,d++)];b.set(c++,h<<6|l)}2<=m&&(l=k[r.fastCodeAt(e,d++)],f=k[r.fastCodeAt(e,d++)],b.set(c++,l<<2|f>>4),3==m&&(e=k[r.fastCodeAt(e,d++)],b.set(c++,f<<4|e>>2)));this.pos+=a;this.cache.push(b);return b;case 67:a=this.unserialize();b=this.resolver.resolveClass(a);if(null==b)throw new n("Class not found "+a);a=D.createEmptyInstance(b);this.cache.push(a);a.hxUnserialize(this);if(103!=this.get(this.pos++))throw new n("Invalid custom data");return a;case 65:a=this.unserialize();b=this.resolver.resolveClass(a); if(null==b)throw new n("Class not found "+a);return b;case 66:a=this.unserialize();b=this.resolver.resolveEnum(a);if(null==b)throw new n("Enum not found "+a);return b}this.pos--;throw new n("Invalid char "+this.buf.charAt(this.pos)+" at position "+this.pos);},__class__:N};var I=function(a){this.length=a.byteLength;this.b=new vb(a);this.b.bufferValue=a;a.hxBytes=this;a.bytes=this.b};f["haxe.io.Bytes"]=I;I.__name__=["haxe","io","Bytes"];I.alloc=function(a){return new I(new wb(a))};I.ofString=function(a){for(var b= [],c=0;c<a.length;){var e=r.fastCodeAt(a,c++);55296<=e&&56319>=e&&(e=e-55232<<10|r.fastCodeAt(a,c++)&1023);127>=e?b.push(e):(2047>=e?b.push(192|e>>6):(65535>=e?b.push(224|e>>12):(b.push(240|e>>18),b.push(128|e>>12&63)),b.push(128|e>>6&63)),b.push(128|e&63))}return new I((new vb(b)).buffer)};I.prototype={get:function(a){return this.b[a]},set:function(a,b){this.b[a]=b&255},getString:function(a,b){if(0>a||0>b||a+b>this.length)throw new n(R.OutsideBounds);for(var c="",e=this.b,k=String.fromCharCode,d= a,m=a+b;d<m;){var f=e[d++];if(128>f){if(0==f)break;c+=k(f)}else if(224>f)c+=k((f&63)<<6|e[d++]&127);else if(240>f)var h=e[d++],c=c+k((f&31)<<12|(h&127)<<6|e[d++]&127);else var h=e[d++],l=e[d++],f=(f&15)<<18|(h&127)<<12|(l&127)<<6|e[d++]&127,c=c+k((f>>10)+55232),c=c+k(f&1023|56320)}return c},toString:function(){return this.getString(0,this.length)},__class__:I};var P=function(){};f["haxe.crypto.Base64"]=P;P.__name__=["haxe","crypto","Base64"];P.encode=function(a,b){null==b&&(b=!0);var c=(new Aa(P.BYTES)).encodeBytes(a).toString(); if(b)switch(a.length%3){case 1:c+="==";break;case 2:c+="="}return c};P.decode=function(a,b){null==b&&(b=!0);if(b)for(;61==q.cca(a,a.length-1);)a=q.substr(a,0,-1);return(new Aa(P.BYTES)).decodeBytes(I.ofString(a))};var Aa=function(a){for(var b=a.length,c=1;b>1<<c;)c++;if(8<c||b!=1<<c)throw new n("BaseCode : base length must be a power of two.");this.base=a;this.nbits=c};f["haxe.crypto.BaseCode"]=Aa;Aa.__name__=["haxe","crypto","BaseCode"];Aa.prototype={encodeBytes:function(a){for(var b=this.nbits, c=this.base,e=8*a.length/b|0,d=I.alloc(e+(0==8*a.length%b?0:1)),g=0,m=0,f=(1<<b)-1,h=0,l=0;l<e;){for(;m<b;)m+=8,g<<=8,g|=a.get(h++);m-=b;d.set(l++,c.b[g>>m&f])}0<m&&d.set(l++,c.b[g<<b-m&f]);return d},initTable:function(){for(var a=[],b=0;256>b;){var c=b++;a[c]=-1}b=0;for(c=this.base.length;b<c;){var e=b++;a[this.base.b[e]]=e}this.tbl=a},decodeBytes:function(a){var b=this.nbits;null==this.tbl&&this.initTable();for(var c=this.tbl,e=a.length*b>>3,d=I.alloc(e),g=0,m=0,f=0,h=0;h<e;){for(;8>m;){var m=m+ b,g=g<<b,l=c[a.get(f++)];if(-1==l)throw new n("BaseCode : invalid encoded char");g|=l}m-=8;d.set(h++,g>>m&255)}return d},__class__:Aa};var ea=function(){};f["haxe.crypto.Md5"]=ea;ea.__name__=["haxe","crypto","Md5"];ea.encode=function(a){var b=new ea;a=b.doEncode(ea.str2blks(a));return b.hex(a)};ea.str2blks=function(a){for(var b=(a.length+8>>6)+1,c=[],e=16*b,d=0;d<e;){var g=d++;c[g]=0}for(e=0;e<a.length;)c[e>>2]|=q.cca(a,e)<<(8*a.length+e)%4*8,e++;c[e>>2]|=128<<(8*a.length+e)%4*8;a=8*a.length;b=16* b-2;c[b]=a&255;c[b]|=(a>>>8&255)<<8;c[b]|=(a>>>16&255)<<16;c[b]|=(a>>>24&255)<<24;return c};ea.prototype={bitOR:function(a,b){return(a>>>1|b>>>1)<<1|a&1|b&1},bitXOR:function(a,b){return(a>>>1^b>>>1)<<1|a&1^b&1},bitAND:function(a,b){return(a>>>1&b>>>1)<<1|a&1&b&1},addme:function(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535},hex:function(a){for(var b="",c=0;c<a.length;){var e=a[c];++c;for(var d=0;4>d;)var g=d++,b=b+("0123456789abcdef".charAt(e>>8*g+4&15)+"0123456789abcdef".charAt(e>> 8*g&15))}return b},rol:function(a,b){return a<<b|a>>>32-b},cmn:function(a,b,c,e,d,g){return this.addme(this.rol(this.addme(this.addme(b,a),this.addme(e,g)),d),c)},ff:function(a,b,c,e,d,g,m){return this.cmn(this.bitOR(this.bitAND(b,c),this.bitAND(~b,e)),a,b,d,g,m)},gg:function(a,b,c,e,d,g,m){return this.cmn(this.bitOR(this.bitAND(b,e),this.bitAND(c,~e)),a,b,d,g,m)},hh:function(a,b,c,e,d,g,m){return this.cmn(this.bitXOR(this.bitXOR(b,c),e),a,b,d,g,m)},ii:function(a,b,c,e,d,g,m){return this.cmn(this.bitXOR(c, this.bitOR(b,~e)),a,b,d,g,m)},doEncode:function(a){for(var b=1732584193,c=-271733879,e=-1732584194,d=271733878,g=0;g<a.length;)var m=b,f=c,h=e,l=d,b=this.ff(b,c,e,d,a[g],7,-680876936),d=this.ff(d,b,c,e,a[g+1],12,-389564586),e=this.ff(e,d,b,c,a[g+2],17,606105819),c=this.ff(c,e,d,b,a[g+3],22,-1044525330),b=this.ff(b,c,e,d,a[g+4],7,-176418897),d=this.ff(d,b,c,e,a[g+5],12,1200080426),e=this.ff(e,d,b,c,a[g+6],17,-1473231341),c=this.ff(c,e,d,b,a[g+7],22,-45705983),b=this.ff(b,c,e,d,a[g+8],7,1770035416), d=this.ff(d,b,c,e,a[g+9],12,-1958414417),e=this.ff(e,d,b,c,a[g+10],17,-42063),c=this.ff(c,e,d,b,a[g+11],22,-1990404162),b=this.ff(b,c,e,d,a[g+12],7,1804603682),d=this.ff(d,b,c,e,a[g+13],12,-40341101),e=this.ff(e,d,b,c,a[g+14],17,-1502002290),c=this.ff(c,e,d,b,a[g+15],22,1236535329),b=this.gg(b,c,e,d,a[g+1],5,-165796510),d=this.gg(d,b,c,e,a[g+6],9,-1069501632),e=this.gg(e,d,b,c,a[g+11],14,643717713),c=this.gg(c,e,d,b,a[g],20,-373897302),b=this.gg(b,c,e,d,a[g+5],5,-701558691),d=this.gg(d,b,c,e,a[g+ 10],9,38016083),e=this.gg(e,d,b,c,a[g+15],14,-660478335),c=this.gg(c,e,d,b,a[g+4],20,-405537848),b=this.gg(b,c,e,d,a[g+9],5,568446438),d=this.gg(d,b,c,e,a[g+14],9,-1019803690),e=this.gg(e,d,b,c,a[g+3],14,-187363961),c=this.gg(c,e,d,b,a[g+8],20,1163531501),b=this.gg(b,c,e,d,a[g+13],5,-1444681467),d=this.gg(d,b,c,e,a[g+2],9,-51403784),e=this.gg(e,d,b,c,a[g+7],14,1735328473),c=this.gg(c,e,d,b,a[g+12],20,-1926607734),b=this.hh(b,c,e,d,a[g+5],4,-378558),d=this.hh(d,b,c,e,a[g+8],11,-2022574463),e=this.hh(e, d,b,c,a[g+11],16,1839030562),c=this.hh(c,e,d,b,a[g+14],23,-35309556),b=this.hh(b,c,e,d,a[g+1],4,-1530992060),d=this.hh(d,b,c,e,a[g+4],11,1272893353),e=this.hh(e,d,b,c,a[g+7],16,-155497632),c=this.hh(c,e,d,b,a[g+10],23,-1094730640),b=this.hh(b,c,e,d,a[g+13],4,681279174),d=this.hh(d,b,c,e,a[g],11,-358537222),e=this.hh(e,d,b,c,a[g+3],16,-722521979),c=this.hh(c,e,d,b,a[g+6],23,76029189),b=this.hh(b,c,e,d,a[g+9],4,-640364487),d=this.hh(d,b,c,e,a[g+12],11,-421815835),e=this.hh(e,d,b,c,a[g+15],16,530742520), c=this.hh(c,e,d,b,a[g+2],23,-995338651),b=this.ii(b,c,e,d,a[g],6,-198630844),d=this.ii(d,b,c,e,a[g+7],10,1126891415),e=this.ii(e,d,b,c,a[g+14],15,-1416354905),c=this.ii(c,e,d,b,a[g+5],21,-57434055),b=this.ii(b,c,e,d,a[g+12],6,1700485571),d=this.ii(d,b,c,e,a[g+3],10,-1894986606),e=this.ii(e,d,b,c,a[g+10],15,-1051523),c=this.ii(c,e,d,b,a[g+1],21,-2054922799),b=this.ii(b,c,e,d,a[g+8],6,1873313359),d=this.ii(d,b,c,e,a[g+15],10,-30611744),e=this.ii(e,d,b,c,a[g+6],15,-1560198380),c=this.ii(c,e,d,b,a[g+ 13],21,1309151649),b=this.ii(b,c,e,d,a[g+4],6,-145523070),d=this.ii(d,b,c,e,a[g+11],10,-1120210379),e=this.ii(e,d,b,c,a[g+2],15,718787259),c=this.ii(c,e,d,b,a[g+9],21,-343485551),b=this.addme(b,m),c=this.addme(c,f),e=this.addme(e,h),d=this.addme(d,l),g=g+16;return[b,c,e,d]},__class__:ea};var Va=function(){this.h={}};f["haxe.ds.IntMap"]=Va;Va.__name__=["haxe","ds","IntMap"];Va.__interfaces__=[ib];Va.prototype={set:function(a,b){this.h[a]=b},keys:function(){var a=[],b;for(b in this.h)this.h.hasOwnProperty(b)&& a.push(b|0);return q.iter(a)},__class__:Va};var ta=function(){this.h={};this.h.__keys__={}};f["haxe.ds.ObjectMap"]=ta;ta.__name__=["haxe","ds","ObjectMap"];ta.__interfaces__=[ib];ta.prototype={set:function(a,b){var c=a.__id__||(a.__id__=++ta.count);this.h[c]=b;this.h.__keys__[c]=a},keys:function(){var a=[],b;for(b in this.h.__keys__)this.h.hasOwnProperty(b)&&a.push(this.h.__keys__[b]);return q.iter(a)},__class__:ta};var Q=function(){this.h={}};f["haxe.ds.StringMap"]=Q;Q.__name__=["haxe","ds","StringMap"]; Q.__interfaces__=[ib];Q.prototype={set:function(a,b){null!=E[a]?this.setReserved(a,b):this.h[a]=b},get:function(a){return null!=E[a]?this.getReserved(a):this.h[a]},exists:function(a){return null!=E[a]?this.existsReserved(a):this.h.hasOwnProperty(a)},setReserved:function(a,b){null==this.rh&&(this.rh={});this.rh["$"+a]=b},getReserved:function(a){return null==this.rh?null:this.rh["$"+a]},existsReserved:function(a){return null==this.rh?!1:this.rh.hasOwnProperty("$"+a)},remove:function(a){if(null!=E[a]){a= "$"+a;if(null==this.rh||!this.rh.hasOwnProperty(a))return!1;delete this.rh[a]}else{if(!this.h.hasOwnProperty(a))return!1;delete this.h[a]}return!0},keys:function(){var a=this.arrayKeys();return q.iter(a)},arrayKeys:function(){var a=[],b;for(b in this.h)this.h.hasOwnProperty(b)&&a.push(b);if(null!=this.rh)for(b in this.rh)36==b.charCodeAt(0)&&a.push(b.substr(1));return a},__class__:Q};var R=f["haxe.io.Error"]={__ename__:["haxe","io","Error"],__constructs__:["Blocked","Overflow","OutsideBounds","Custom"]}; R.Blocked=["Blocked",0];R.Blocked.toString=z;R.Blocked.__enum__=R;R.Overflow=["Overflow",1];R.Overflow.toString=z;R.Overflow.__enum__=R;R.OutsideBounds=["OutsideBounds",2];R.OutsideBounds.toString=z;R.OutsideBounds.__enum__=R;R.Custom=function(a){a=["Custom",3,a];a.__enum__=R;a.toString=z;return a};var Z=function(){};f["haxe.io.FPHelper"]=Z;Z.__name__=["haxe","io","FPHelper"];Z.i32ToFloat=function(a){var b=a>>>23&255,c=a&8388607;return 0==c&&0==b?0:(1-(a>>>31<<1))*(1+Math.pow(2,-23)*c)*Math.pow(2, b-127)};Z.floatToI32=function(a){if(0==a)return 0;var b;b=0>a?-a:a;var c=Math.floor(Math.log(b)/.6931471805599453);-127>c?c=-127:128<c&&(c=128);return(0>a?-2147483648:0)|c+127<<23|Math.round(8388608*(b/Math.pow(2,c)-1))&8388607};Z.i64ToDouble=function(a,b){var c=(b>>20&2047)-1023,e=4294967296*(b&1048575)+2147483648*(a>>>31)+(a&2147483647);return 0==e&&-1023==c?0:(1-(b>>>31<<1))*(1+Math.pow(2,-52)*e)*Math.pow(2,c)};Z.doubleToI64=function(a){var b=Z.i64tmp;if(0==a)b.low=0,b.high=0;else{var c;c=0>a? -a:a;var e=Math.floor(Math.log(c)/.6931471805599453);c=Math.round(4503599627370496*(c/Math.pow(2,e)-1));b.low=c|0;b.high=(0>a?-2147483648:0)|e+1023<<20|c/4294967296|0}return b};var n=function(a){Error.call(this);this.val=a;this.message=String(a);Error.captureStackTrace&&Error.captureStackTrace(this,n)};f["js._Boot.HaxeError"]=n;n.__name__=["js","_Boot","HaxeError"];n.__super__=Error;n.prototype=M(Error.prototype,{__class__:n});var y=function(){};f["js.Boot"]=y;y.__name__=["js","Boot"];y.__unhtml= function(a){return a.split("&").join("&").split("<").join("<").split(">").join(">")};y.__trace=function(a,b){var c;c=null!=b?b.fileName+":"+b.lineNumber+": ":"";c+=y.__string_rec(a,"");if(null!=b&&null!=b.customParams)for(var e=0,d=b.customParams;e<d.length;){var g=d[e];++e;c+=","+y.__string_rec(g,"")}var m;"undefined"!=typeof document&&null!=(m=document.getElementById("haxe:trace"))?m.innerHTML+=y.__unhtml(c)+"<br/>":"undefined"!=typeof zb&&null!=zb.log&&zb.log(c)};y.getClass=function(a){if(a instanceof Array&&null==a.__enum__)return Array;var b=a.__class__;if(null!=b)return b;a=y.__nativeClassName(a);return null!=a?y.__resolveNativeClass(a):null};y.__string_rec=function(a,b){if(null==a)return"null";if(5<=b.length)return"<...>";var c=typeof a;"function"==c&&(a.__name__||a.__ename__)&&(c="object");switch(c){case "object":if(a instanceof Array){if(a.__enum__){if(2==a.length)return a[0];c=a[0]+"(";b+="\t";for(var e=2,d=a.length;e<d;)var g=e++,c=2!=g?c+(","+y.__string_rec(a[g],b)):c+y.__string_rec(a[g], b);return c+")"}c=a.length;e="[";b+="\t";for(d=0;d<c;)g=d++,e+=(0<g?",":"")+y.__string_rec(a[g],b);return e+"]"}try{e=a.toString}catch(m){return m instanceof n&&(m=m.val),"???"}if(null!=e&&e!=Object.toString&&"function"==typeof e&&(c=a.toString(),"[object Object]"!=c))return c;c=null;e="{\n";b+="\t";d=null!=a.hasOwnProperty;for(c in a)d&&!a.hasOwnProperty(c)||"prototype"==c||"__class__"==c||"__super__"==c||"__interfaces__"==c||"__properties__"==c||(2!=e.length&&(e+=", \n"),e+=b+c+" : "+y.__string_rec(a[c], b));b=b.substring(1);return e+("\n"+b+"}");case "function":return"<function>";case "string":return a;default:return String(a)}};y.__interfLoop=function(a,b){if(null==a)return!1;if(a==b)return!0;var c=a.__interfaces__;if(null!=c)for(var e=0,d=c.length;e<d;){var g=e++,g=c[g];if(g==b||y.__interfLoop(g,b))return!0}return y.__interfLoop(a.__super__,b)};y.__instanceof=function(a,b){if(null==b)return!1;switch(b){case Kb:return(a|0)===a;case Db:return"number"==typeof a;case Eb:return"boolean"==typeof a;case String:return"string"== typeof a;case Array:return a instanceof Array&&null==a.__enum__;case Lb:return!0;default:if(null!=a)if("function"==typeof b){if(a instanceof b||y.__interfLoop(y.getClass(a),b))return!0}else{if("object"==typeof b&&y.__isNativeObj(b)&&a instanceof b)return!0}else return!1;return b==Bb&&null!=a.__name__||b==Cb&&null!=a.__ename__?!0:a.__enum__==b}};y.__nativeClassName=function(a){a=y.__toStr.call(a).slice(8,-1);return"Object"==a||"Function"==a||"Math"==a||"JSON"==a?null:a};y.__isNativeObj=function(a){return null!= y.__nativeClassName(a)};y.__resolveNativeClass=function(a){return Ab[a]};var ma=function(){};f["js.Browser"]=ma;ma.__name__=["js","Browser"];ma.getLocalStorage=function(){try{var a=window.localStorage;a.getItem("");return a}catch(b){return b instanceof n&&(b=b.val),null}};ma.getSessionStorage=function(){try{var a=window.sessionStorage;a.getItem("");return a}catch(b){return b instanceof n&&(b=b.val),null}};ma.createXMLHttpRequest=function(){if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest; if("undefined"!=typeof ActiveXObject)return new ActiveXObject("Microsoft.XMLHTTP");throw new n("Unable to create XMLHttpRequest object.");};var na=function(){};f["js.Cookie"]=na;na.__name__=["js","Cookie"];na.set=function(a,b,c,e,d){a=a+"="+encodeURIComponent(b);null!=c&&(c=tb.delta(new Date,1E3*c),a+=";expires="+c.toGMTString());null!=e&&(a+=";path="+e);null!=d&&(a+=";domain="+d);window.document.cookie=a};na.all=function(){for(var a=new Q,b=window.document.cookie.split(";"),c=0;c<b.length;){var e= b[c];++c;e=r.ltrim(e);e=e.split("=");2>e.length||a.set(e[0],decodeURIComponent(e[1].split("+").join(" ")))}return a};na.get=function(a){return na.all().get(a)};var aa=function(a){if(a instanceof Array&&null==a.__enum__)this.a=a,this.byteLength=a.length;else{this.a=[];for(var b=0;b<a;){var c=b++;this.a[c]=0}this.byteLength=a}};f["js.html.compat.ArrayBuffer"]=aa;aa.__name__=["js","html","compat","ArrayBuffer"];aa.sliceImpl=function(a,b){var c=new vb(this,a,null==b?null:b-a),e=new wb(c.byteLength);(new vb(e)).set(c); return e};aa.prototype={slice:function(a,b){return new aa(this.a.slice(a,b))},__class__:aa};var xb=function(a,b,c){this.buf=a;this.offset=null==b?0:b;this.length=null==c?a.byteLength-this.offset:c;if(0>this.offset||0>this.length||this.offset+this.length>a.byteLength)throw new n(R.OutsideBounds);};f["js.html.compat.DataView"]=xb;xb.__name__=["js","html","compat","DataView"];xb.prototype={getInt8:function(a){a=this.buf.a[this.offset+a];return 128<=a?a-256:a},getUint8:function(a){return this.buf.a[this.offset+ a]},getInt16:function(a,b){var c=this.getUint16(a,b);return 32768<=c?c-65536:c},getUint16:function(a,b){return b?this.buf.a[this.offset+a]|this.buf.a[this.offset+a+1]<<8:this.buf.a[this.offset+a]<<8|this.buf.a[this.offset+a+1]},getInt32:function(a,b){var c=this.offset+a,e=this.buf.a[c++],d=this.buf.a[c++],g=this.buf.a[c++],c=this.buf.a[c++];return b?e|d<<8|g<<16|c<<24:c|g<<8|d<<16|e<<24},getUint32:function(a,b){var c=this.getInt32(a,b);return 0>c?c+4294967296:c},getFloat32:function(a,b){return Z.i32ToFloat(this.getInt32(a, b))},getFloat64:function(a,b){var c=this.getInt32(a,b),e=this.getInt32(a+4,b);return Z.i64ToDouble(b?c:e,b?e:c)},setInt8:function(a,b){this.buf.a[a+this.offset]=0>b?b+128&255:b&255},setUint8:function(a,b){this.buf.a[a+this.offset]=b&255},setInt16:function(a,b,c){this.setUint16(a,0>b?b+65536:b,c)},setUint16:function(a,b,c){a+=this.offset;c?(this.buf.a[a]=b&255,this.buf.a[a++]=b>>8&255):(this.buf.a[a++]=b>>8&255,this.buf.a[a]=b&255)},setInt32:function(a,b,c){this.setUint32(a,b,c)},setUint32:function(a, b,c){a+=this.offset;c?(this.buf.a[a++]=b&255,this.buf.a[a++]=b>>8&255,this.buf.a[a++]=b>>16&255,this.buf.a[a++]=b>>>24):(this.buf.a[a++]=b>>>24,this.buf.a[a++]=b>>16&255,this.buf.a[a++]=b>>8&255,this.buf.a[a++]=b&255)},setFloat32:function(a,b,c){this.setUint32(a,Z.floatToI32(b),c)},setFloat64:function(a,b,c){b=Z.doubleToI64(b);c?(this.setUint32(a,b.low),this.setUint32(a,b.high)):(this.setUint32(a,b.high),this.setUint32(a,b.low))},__class__:xb};var oa=function(){};f["js.html.compat.Uint8Array"]=oa; oa.__name__=["js","html","compat","Uint8Array"];oa._new=function(a,b,c){if("number"==typeof a){c=[];for(b=0;b<a;){var e=b++;c[e]=0}c.byteLength=c.length;c.byteOffset=0;c.buffer=new aa(c)}else if(y.__instanceof(a,aa))null==b&&(b=0),null==c&&(c=a.byteLength-b),c=0==b?a.a:a.a.slice(b,b+c),c.byteLength=c.length,c.byteOffset=b,c.buffer=a;else if(a instanceof Array&&null==a.__enum__)c=a.slice(),c.byteLength=c.length,c.byteOffset=0,c.buffer=new aa(c);else throw new n("TODO "+p.string(a));c.subarray=oa._subarray; c.set=oa._set;return c};oa._set=function(a,b){if(y.__instanceof(a.buffer,aa)){if(a.byteLength+b>this.byteLength)throw new n("set() outside of range");for(var c=0,e=a.byteLength;c<e;){var d=c++;this[d+b]=a[d]}}else if(a instanceof Array&&null==a.__enum__){if(a.length+b>this.byteLength)throw new n("set() outside of range");c=0;for(e=a.length;c<e;)d=c++,this[d+b]=a[d]}else throw new n("TODO");};oa._subarray=function(a,b){var c=oa._new(this.slice(a,b));c.byteOffset=a;return c};var v=function(a){this.target= a=a.prototype;this.original={};for(var b=["prototype","__proto__"];null!=a;){for(var c=0,e=Object.getOwnPropertyNames(a);c<e.length;){var d=e[c];++c;0>q.indexOf(b,d,0)&&(this.original[d]=Object.getOwnPropertyDescriptor(a,d))}a=Object.getPrototypeOf(a)}};f["overwrite.Native"]=v;v.__name__=["overwrite","Native"];v.prototype={__class__:v};var d={};f["secretmedia.obfuscation._MangledKey.MangledKey_Impl_"]=d;d.__name__=["secretmedia","obfuscation","_MangledKey","MangledKey_Impl_"];d._new=function(a){return a}; d.unmangle=function(a){return d.map[a]};d.set=function(a,b,c){return b[d.unmangle(a)]=c};var G=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"value",{get:function(){return G.decode(b.original.name.get.call(this),b.original.value.get.call(this),b.original.ownerElement.get.call(this))},set:function(a){b.original.value.set.call(this,G.encode(b.original.name.get.call(this),a,b.original.ownerElement.get.call(this)))}})};f["reroute.Attr"]=G;G.__name__=["reroute","Attr"];G.isRef= function(a,b){return-1<q.indexOf(G.REF,a,0)||b.nodeName.toLowerCase()==d.unmangle("_60")&&a==d.unmangle("_1")||b.nodeName.toLowerCase()==d.unmangle("_61")&&a==d.unmangle("_58")&&b.getAttribute(d.unmangle("_62"))==d.unmangle("_63")?!0:!1};G.encode=function(a,b,c){return G.isRef(a,c)?l.encode(b):b};G.decode=function(a,b,c){return G.isRef(a,c)?l.decode(b):b};G.init=function(a){a=a[d.unmangle("_68")];new G(a)};G.__super__=v;G.prototype=M(v.prototype,{__class__:G});var Ba=function(a){var b=this;v.call(this, a);this.target.write=function(a){if(!(-1<a.indexOf("VPAIDLoader"))){var e=this.createElement("div");e.innerHTML=a;l.applyTo(e,!0);a=e.innerHTML;e.innerHTML=""}b.original.write.value.call(this,a)}};f["reroute.Document"]=Ba;Ba.__name__=["reroute","Document"];Ba.init=function(a){a=a[d.unmangle("_46")];new Ba(a)};Ba.__super__=v;Ba.prototype=M(v.prototype,{__class__:Ba});var pa=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"innerHTML",{get:function(){return b.original.innerHTML.get.call(this)}, set:function(a){var e;this.hasAttribute("data-sm-tmp")?e=null:(e=this.ownerDocument.createElement("div"),e.setAttribute("data-sm-tmp",""));null!=e&&(e.innerHTML=a,l.applyTo(e,!0),a=e.innerHTML,e.innerHTML="");b.original.innerHTML.set.call(this,a)}});this.target.getAttribute=function(a){return G.decode(a,b.original.getAttribute.value.call(this,a),this)};this.target.setAttribute=function(a,e){a=r.trim(a).toLowerCase();if(null!=e&&G.isRef(a,this)){var d=l.encode(e);if(b.original.getAttribute.value.call(this, a)!=d&&(b.original.setAttribute.value.call(this,a,d),d!=e&&null!=this.parentNode&&this.hasAttribute(a)))for(var d=0,g=pa.reattach;d<g.length;){var m=g[d];++d;if(this.nodeName.toUpperCase()==m){"SCRIPT"==m?l.reattachScript(this):"VIDEO"!=m&&this.parentNode.replaceChild(l.copy(this),this);break}}}else b.original.setAttribute.value.call(this,a,e)}};f["reroute.Element"]=pa;pa.__name__=["reroute","Element"];pa.init=function(a){a=a[d.unmangle("_59")];new pa(a)};pa.__super__=v;pa.prototype=M(v.prototype, {__class__:pa});var Ca=function(a){v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return this.hasAttribute("src")?this.getAttribute("src"):""},set:function(a){this.setAttribute("src",a)}})};f["reroute.EmbedElement"]=Ca;Ca.__name__=["reroute","EmbedElement"];Ca.init=function(a){a=a[d.unmangle("_74")];new Ca(a)};Ca.__super__=v;Ca.prototype=M(v.prototype,{__class__:Ca});var Da=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return l.decode(b.original.src.get.call(this))}, set:function(a){b.original.src.set.call(this,l.encode(a))}});Object.defineProperty(this.target,"contentDocument",{get:function(){l.addWindow(b.original.contentWindow.get.call(this));return b.original.contentDocument.get.call(this)},set:function(a){}});Object.defineProperty(this.target,"contentWindow",{get:function(){l.addWindow(b.original.contentWindow.get.call(this));return b.original.contentWindow.get.call(this)},set:function(a){}})};f["reroute.IFrameElement"]=Da;Da.__name__=["reroute","IFrameElement"]; Da.init=function(a){a=a[d.unmangle("_72")];new Da(a)};Da.__super__=v;Da.prototype=M(v.prototype,{__class__:Da});var Ea=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return l.decode(b.original.src.get.call(this))},set:function(a){b.original.src.set.call(this,l.encode(a))}})};f["reroute.ImageElement"]=Ea;Ea.__name__=["reroute","ImageElement"];Ea.init=function(a){a=a[d.unmangle("_71")];new Ea(a)};Ea.__super__=v;Ea.prototype=M(v.prototype,{__class__:Ea}); var Fa=function(a){v.call(this,a);Object.defineProperty(this.target,"href",{get:function(){return this.getAttribute("href")},set:function(a){this.setAttribute("href",a)}})};f["reroute.LinkElement"]=Fa;Fa.__name__=["reroute","LinkElement"];Fa.init=function(a){a=a[d.unmangle("_77")];new Fa(a)};Fa.__super__=v;Fa.prototype=M(v.prototype,{__class__:Fa});var S=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"data",{get:function(){return S.decode(b.original.data.get.call(this)).message}, set:function(a){}});Object.defineProperty(this.target,"origin",{get:function(){var a=S.decode(b.original.data.get.call(this)).originUrl;return null!=a?(a=u.parse(a),a.scheme+"://"+a.host):b.original.origin.get.call(this)},set:function(a){}})};f["reroute.MessageEvent"]=S;S.__name__=["reroute","MessageEvent"];S.encode=function(a,b,c){return"string"==typeof a?S.PREFIX+JSON.stringify({message:a,targetOrigin:b,originUrl:c}):a};S.decode=function(a){return"string"==typeof a&&r.startsWith(a,S.PREFIX)?JSON.parse(q.substr(a, S.PREFIX.length,null)):{message:a}};S.init=function(a){a=a[d.unmangle("_79")];new S(a)};S.__super__=v;S.prototype=M(v.prototype,{__class__:S});var Ga=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"data",{get:function(){return l.decode(b.original.data.get.call(this))},set:function(a){b.original.data.set.call(this,l.encode(a))}})};f["reroute.ObjectElement"]=Ga;Ga.__name__=["reroute","ObjectElement"];Ga.init=function(a){a=a[d.unmangle("_75")];new Ga(a)};Ga.__super__=v;Ga.prototype= M(v.prototype,{__class__:Ga});var Ha=function(a){var b=this;v.call(this,a);Object.defineProperty(this.target,"value",{get:function(){return"movie"==b.original.name.get.call(this)?l.decode(b.original.value.get.call(this)):b.original.value.get.call(this)},set:function(a){"movie"==b.original.name.get.call(this)?b.original.value.set.call(this,l.encode(a)):b.original.value.set.call(this,a)}})};f["reroute.ParamElement"]=Ha;Ha.__name__=["reroute","ParamElement"];Ha.init=function(a){a=a[d.unmangle("_73")]; new Ha(a)};Ha.__super__=v;Ha.prototype=M(v.prototype,{__class__:Ha});var l=function(){};f["reroute.Registry"]=l;l.__name__=["reroute","Registry"];l.get_isActive=function(){return null!=l.strategy};l.init=function(a,b){l.strategy=a;l.location=l.decode(window.location.href);l.proxified=l.isProxified(window);l.reattachCallback=b;l.addWindow(window);l.loadingScript||l.reattachEnd()};l.addWindow=function(a){0<l.windows.filter(function(b){return a==b.window}).length||l.windows.push({window:a,patched:!1, proxified:l.isProxified(a)});for(var b=0,c=l.windows;b<c.length;){var e=c[b];++b;if(!e.patched&&(e.patched=!0,e=e.window,l.isFriendly(e)&&!e[d.unmangle("_45")])){e[d.unmangle("_45")]=!0;try{Ba.init(e),pa.init(e),G.init(e),Ia.init(e),Ja.init(e),Ea.init(e),Da.init(e),Ha.init(e),Ca.init(e),Ga.init(e),Ka.init(e),Fa.init(e),La.init(e),S.init(e),e.SMDom=window.SMDom}catch(k){k instanceof n&&(k=k.val),h.trace(d.unmangle("_81")+p.string(k),{fileName:"Registry.hx",lineNumber:95,className:"reroute.Registry", methodName:"addWindow"}),(new MutationObserver(function(a,b){h.trace(d.unmangle("_82"),{fileName:"Registry.hx",lineNumber:97,className:"reroute.Registry",methodName:"addWindow"});if(null!=l.strategy)for(var c=0;c<a.length;){var e=a[c];++c;for(var k=0,e=e.addedNodes;k<e.length;){var f=e[k];++k;1==f.nodeType&&l.applyTo(f)}}})).observe(e.document.documentElement,{childList:!0,subtree:!0})}l.isFriendly(e)&&!l.isProxified(e)&&l.applyTo(e.document.documentElement,!0)}}};l.isFriendly=function(a){var b;try{var c= [d.unmangle("_43"),d.unmangle("_44")];b=-1<q.indexOf(c,a.location.href,0)||a.location.host==window.location.host&&a.location.protocol==window.location.protocol}catch(e){e instanceof n&&(e=e.val),b=!1}return b};l.isProxified=function(a){return l.isFriendly(a)&&a.location.href!=l.decode(a.location.href)};l.encodeable=function(a){a=a.scheme;if(null!=a)switch(a){case "http":case "https":return!0;default:return!1}else return!1};l.encode=function(a){if(0==a.indexOf(d.unmangle("_52")))return a;var b=u.resolve(u.parse(l.location), u.parse(a));l.encodeable(b)&&(a=u.toString(b),a=l.strategy.encode(a));return a};l.decode=function(a){l.encodeable(u.parse(a))&&(a=l.strategy.decode(a));return a};l.applyTo=function(a,b){if(null!=l.strategy)if(a.nodeName.toUpperCase()==d.unmangle("_47"))l.reattachScript(a);else{a.nodeName.toUpperCase()==d.unmangle("_56")&&l.addWindow(a.contentWindow);for(var c=0,e=G.POSSIBLE_REF;c<e.length;){var k=e[c];++c;a.hasAttribute(k)&&a.setAttribute(k,a.getAttribute(k));if(b)for(var g=0,m=a.querySelectorAll("["+ k+"]");g<m.length;){var f=m[g];++g;f.setAttribute(k,f.getAttribute(k))}}}};l.copy=function(a){var b=a.ownerDocument.createElement(a.tagName),c=0;for(a=a.attributes;c<a.length;){var e=a[c];++c;b.setAttribute(e.name,e.value)}return b};l.reattachScript=function(a){a.visited||(l.scriptQueue.push(a),l.loadingScript||(l.loadingScript=!0,l.loadNextScript()))};l.loadNextScript=function(){var a=l.scriptQueue.shift();if(null!=a)if(a.visited=!0,a.hasAttribute(d.unmangle("_48"))&&null!=a.parentNode){var b=a.getAttribute(d.unmangle("_48")), b=u.resolve(u.parse(l.location),u.parse(b));u.toString(b)!=l.encode(u.toString(b))?(b=l.copy(a),b.setAttribute(d.unmangle("_53"),a.src),b.addEventListener(d.unmangle("_54"),l.loadNextScript),b.addEventListener(d.unmangle("_55"),l.loadNextScript),a.parentNode.replaceChild(b,a)):Y.delay(l.loadNextScript,1)}else Y.delay(l.loadNextScript,1);else l.loadingScript=!1,l.reattachEnd()};l.reattachEnd=function(){null!=l.reattachCallback&&(l.reattachCallback(),l.reattachCallback=null)};var La=function(a){var b= this;v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return-1<l.location.indexOf("//web.archive.org/web/20160727084116/http://imasdk.googleapis.com/js/core/bridge")?"https://web.archive.org/web/20160727084116/https://imasdk.googleapis.com/js/sdkloader/ima3.js":this.hasAttribute("src")?this.getAttribute("src"):""},set:function(a){""==a&&l.proxified?b.original.src.set.call(this,""):this.setAttribute("src",a)}})};f["reroute.ScriptElement"]=La;La.__name__=["reroute","ScriptElement"];La.init=function(a){a=a[d.unmangle("_78")];new La(a)};La.__super__=v;La.prototype= M(v.prototype,{__class__:La});var Ia=function(a){v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return this.hasAttribute("src")?this.getAttribute("src"):""},set:function(a){this.setAttribute("src",a)}})};f["reroute.SourceElement"]=Ia;Ia.__name__=["reroute","SourceElement"];Ia.init=function(a){a=a[d.unmangle("_69")];new Ia(a)};Ia.__super__=v;Ia.prototype=M(v.prototype,{__class__:Ia});var Ka=function(a){v.call(this,a);Object.defineProperty(this.target,"src",{get:function(){return this.hasAttribute("src")? this.getAttribute("src"):""},set:function(a){this.setAttribute("src",a)}})};f["reroute.VideoElement"]=Ka;Ka.__name__=["reroute","VideoElement"];Ka.init=function(a){a=a[d.unmangle("_76")];new Ka(a)};Ka.__super__=v;Ka.prototype=M(v.prototype,{__class__:Ka});var Ja=function(a){var b=this;v.call(this,a);this.target.open=function(a,e,d,g,m){null==m&&(m="");null==g&&(g="");null==d&&(d=!0);b.original.open.value.call(this,a,l.encode(e),d,g,m)}};f["reroute.XMLHttpRequest"]=Ja;Ja.__name__=["reroute","XMLHttpRequest"]; Ja.init=function(a){a=a[d.unmangle("_70")];new Ja(a)};Ja.__super__=v;Ja.prototype=M(v.prototype,{__class__:Ja});var qa=function(){};f["secretmedia.Strategy"]=qa;qa.__name__=["secretmedia","Strategy"];qa.prototype={__class__:qa};var Wa=function(a){this.prefix=a};f["secretmedia.Prefixer"]=Wa;Wa.__name__=["secretmedia","Prefixer"];Wa.__interfaces__=[qa];Wa.prototype={encode:function(a){K.isSpecial(a)||r.startsWith(a,this.prefix)||(a=this.prefix+a);return a},decode:function(a){r.startsWith(a,this.prefix)&& (a=q.substr(a,this.prefix.length,null));return a},__class__:Wa};var Xa=function(){};f["secretmedia.StrategyWithOptions"]=Xa;Xa.__name__=["secretmedia","StrategyWithOptions"];Xa.__interfaces__=[qa];Xa.prototype={__class__:Xa};var ua=function(a,b,c,e){null==e&&(e="");this.obfuscate=new F(a,b,c);this.prefixer=new Wa(e)};f["secretmedia.ProxyStrategy"]=ua;ua.__name__=["secretmedia","ProxyStrategy"];ua.__interfaces__=[Xa];ua.fromUrl=function(a,b){null==b&&(b="");var c=(new Wa(b)).decode(a),e=K.getTopLevelDomain(c), c=F.parse(u.parse(c)),d=W.parse(c.subdomain);return new ua(e,d.seed,c.publisherId,b)};ua.prototype={encodeWithOptions:function(a,b){a=this.prefixer.decode(a);a=this.obfuscate.encodeWithOptions(a,b);return this.prefixer.encode(a)},encode:function(a){return this.encodeWithOptions(a,{})},decode:function(a){a=this.prefixer.decode(a);return this.obfuscate.decode(a)},parse:function(a){return F.parse(u.parse(this.prefixer.decode(a)))},__class__:ua};var Ma=L.secretmedia.sdk.SdkJs=function(a,b,c,e,d){null== d&&(d="");null==e&&(e="");null==c&&(c=!1);this.ppt=new db(a,b,c,e,d)};f["secretmedia.sdk.SdkJs"]=Ma;Ma.__name__=["secretmedia","sdk","SdkJs"];Ma.main=function(){B.overrideTrace()};Ma.prototype={unblock:function(a,b){this.ppt.unblock(a,b)},proxify:function(a){return this.ppt.proxify(a)},__class__:Ma};var Ya=L.SMSdk=function(a,b,c,e,d){Ma.call(this,a,b,c,e,d)};f["secretmedia.SMSdk"]=Ya;Ya.__name__=["secretmedia","SMSdk"];Ya.main=function(){};Ya.__super__=Ma;Ya.prototype=M(Ma.prototype,{__class__:Ya}); var fa=function(a,b,c){null==c&&(c="");this.config=a;this.fingerprint=b;this.prefix=c;this.proxyDomain=this.getFingerprintDomain(b)};f["secretmedia.SdkContext"]=fa;fa.__name__=["secretmedia","SdkContext"];fa.fromAppKey=function(a,b,c){null==c&&(c="");a=kb.decode(a);return new fa({gitHash:hb.gitHash,publisherId:a[d.unmangle("_123")],sdkVersion:"1.0.0",proxyDomain:null!=a[d.unmangle("_91")]?a[d.unmangle("_91")]:a[d.unmangle("_124")]},b,c)};fa.prototype={getConfigUrl:function(){var a={};d.set("_118", a,this.config.publisherId);d.set("_91",a,this.proxyDomain);d.set("_119",a,this.config.sdkVersion);d.set("_120",a,this.config.gitHash);var b=d.unmangle("_121");d.set("_122",a,b);a=lb.encode(a);return this.prefix+a},getFingerprintDomain:function(a){return null!=this.config.proxyDomain?this.config.proxyDomain:fa.AVAILABLE_DOMAINS[a%fa.AVAILABLE_DOMAINS.length]},parseConfig:function(a){return mb.decode(a)},getProxy:function(){return new ua(this.proxyDomain,this.fingerprint,this.config.publisherId,this.prefix)}, __class__:fa};var ga=f["secretmedia.UrlError"]={__ename__:["secretmedia","UrlError"],__constructs__:["InvalidAbsoluteUrl","InvalidScheme","InvalidSubDomain"]};ga.InvalidAbsoluteUrl=function(a){a=["InvalidAbsoluteUrl",0,a];a.__enum__=ga;a.toString=z;return a};ga.InvalidScheme=function(a){a=["InvalidScheme",1,a];a.__enum__=ga;a.toString=z;return a};ga.InvalidSubDomain=function(a){a=["InvalidSubDomain",2,a];a.__enum__=ga;a.toString=z;return a};var K=function(){};f["secretmedia.Url"]=K;K.__name__=["secretmedia", "Url"];K.isSpecial=function(a){for(var b=0,c=K.SPECIAL_PREFIXES;b<c.length;){var e=c[b];++b;if(0==a.indexOf(e))return!0}return!1};K.makeAbsolute=function(a,b){if(""==a)return b;if(K.isSpecial(a))return a;var c=a.indexOf("?"),e;e=0<=c?q.substr(a,c,null):null;var d;d=null!=e?q.substr(a,0,c):a;var c=d.indexOf("//"),g=d.indexOf("/");if(0<c&&c==g)return a;var g=b.indexOf("//"),m=b.indexOf("/");if(0>=g||g!=m)throw new n(ga.InvalidAbsoluteUrl(b));if(0==c)return q.substr(b,0,g)+a;var c=q.substr(b,0,g),m= q.substr(b,g+2,null),g=m.indexOf("/"),g=0>g?m:q.substr(m,0,g),m=q.substr(m,g.length+1,null),f=m.indexOf("?"),m=(null!=(0<=f?q.substr(m,f,null):null)?q.substr(m,0,f):m).split("/");m.pop();d=d.split("/");null!=e&&(f=d.pop(),d.push(f+e));e=""==d[0]?[]:m.slice(0);for(m=0;m<d.length;)switch(f=d[m],++m,f){case "..":e.pop();break;case ".":break;default:e.push(f)}""!=e[0]&&e.unshift("");return c+"//"+g+e.join("/")};K.getDomain=function(a){a=u.parse(a).host;if(null==a)return null;a=a.split("]");switch(a.length){case 1:return a[0].split(":")[0]; case 2:return a[0]+"]";default:throw new n(d.unmangle("_3"));}};K.getTopLevelDomain=function(a){return K.getDomain(a).split(".").slice(-2).join(".")};K.getExtension=function(a){var b=a.indexOf("?");-1<b&&(a=q.substr(a,0,b));a=a.split(".");return 1<a.length?a.pop():""};K.current=function(){return window.document.location.href};var ha=function(a,b,c){null==c&&(c=!1);this.strategy=a;this.whitelistAll=c;this.rules=[];!c&&null!=b&&b instanceof Array&&null==b.__enum__&&(this.rules=b.filter(function(a){return null!= a&&null!=a[d.unmangle("_32")]&&"string"==typeof a[d.unmangle("_32")]}).map(function(a){return{regexp:new ka(a[d.unmangle("_32")],"i"),comment:a[d.unmangle("_33")],options:a[d.unmangle("_34")]}}))};f["secretmedia.WhitelistStrategy"]=ha;ha.__name__=["secretmedia","WhitelistStrategy"];ha.__interfaces__=[qa];ha.test=function(a,b){return b.match(a)};ha.fromJSON=function(a,b){return new ha(a,JSON.parse(b),!1)};ha.prototype={decode:function(a){return this.strategy.decode(a)},encode:function(a){var b=this.getWhitelisted(a); return null==b?a:this.strategy.encodeWithOptions(a,b)},getWhitelisted:function(a){if(this.whitelistAll)return h.trace(""+a+d.unmangle("_176"),{fileName:"WhitelistStrategy.hx",lineNumber:80,className:"secretmedia.WhitelistStrategy",methodName:"getWhitelisted"}),{};for(var b=0,c=this.rules;b<c.length;){var e=c[b];++b;if(ha.test(a,e.regexp))return h.trace(""+a+d.unmangle("_176"),{fileName:"WhitelistStrategy.hx",lineNumber:86,className:"secretmedia.WhitelistStrategy",methodName:"getWhitelisted",customParams:[e.options]}), null==e.options?{}:e.options}h.trace(""+a+d.unmangle("_177"),{fileName:"WhitelistStrategy.hx",lineNumber:90,className:"secretmedia.WhitelistStrategy",methodName:"getWhitelisted"});return null},__class__:ha};var ba=f["secretmedia.asbridge.JSType"]={__ename__:["secretmedia","asbridge","JSType"],__constructs__:"JSBool JSString JSStatus JSFunction JSInt JSDynamic".split(" ")};ba.JSBool=function(a){a=["JSBool",0,a];a.__enum__=ba;a.toString=z;return a};ba.JSString=function(a){a=["JSString",1,a];a.__enum__= ba;a.toString=z;return a};ba.JSStatus=function(a){a=["JSStatus",2,a];a.__enum__=ba;a.toString=z;return a};ba.JSFunction=function(a){a=["JSFunction",3,a];a.__enum__=ba;a.toString=z;return a};ba.JSInt=function(a){a=["JSInt",4,a];a.__enum__=ba;a.toString=z;return a};ba.JSDynamic=function(a){a=["JSDynamic",5,a];a.__enum__=ba;a.toString=z;return a};var nb={};f["secretmedia.asbridge._BridgeBase.PingStatus_Impl_"]=nb;nb.__name__=["secretmedia","asbridge","_BridgeBase","PingStatus_Impl_"];var va=function(){this.nextId= 0;this.instances=new Q;this.callbacks=new Q;B.overrideTrace()};f["secretmedia.asbridge.BridgeBase"]=va;va.__name__=["secretmedia","asbridge","BridgeBase"];va.prototype={callCallback:function(a,b){try{var c=this.callbacks.get(a);if(null!=c)return h.trace(d.unmangle("_201")+p.string(c.fun)+d.unmangle("_202")+p.string(b),{fileName:"BridgeBase.hx",lineNumber:87,className:"secretmedia.asbridge.BridgeBase",methodName:"callCallback"}),this.callbacks.remove(a),c.fun.apply(c.scope,b)}catch(e){e instanceof n&&(e=e.val),h.trace(d.unmangle("_203")+p.string(e)+d.unmangle("_204")+a+d.unmangle("_141")+p.string(b)+")",{fileName:"BridgeBase.hx",lineNumber:93,className:"secretmedia.asbridge.BridgeBase",methodName:"callCallback"})}return null},createCallback:function(a,b){var c=d.unmangle("_205")+this.nextId++ +"_"+Math.round(1E4*Math.random());h.trace(d.unmangle("_206")+c,{fileName:"BridgeBase.hx",lineNumber:107,className:"secretmedia.asbridge.BridgeBase",methodName:"createCallback"});this.callbacks.set(c, {scope:a,fun:b});return c},addInstance:function(a){var b=d.unmangle("_207")+this.nextId++ +"_"+Math.round(1E4*Math.random());h.trace(d.unmangle("_208")+b,{fileName:"BridgeBase.hx",lineNumber:124,className:"secretmedia.asbridge.BridgeBase",methodName:"addInstance"});this.instances.set(b,a);return b},findInstance:function(a){return this.instances.get(a)},__class__:va};var J=f["secretmedia.asbridge.PingSwfState"]={__ename__:["secretmedia","asbridge","PingSwfState"],__constructs__:["NONE","LOADED","LOADING", "TIMEOUT"]};J.NONE=["NONE",0];J.NONE.toString=z;J.NONE.__enum__=J;J.LOADED=["LOADED",1];J.LOADED.toString=z;J.LOADED.__enum__=J;J.LOADING=["LOADING",2];J.LOADING.toString=z;J.LOADING.__enum__=J;J.TIMEOUT=["TIMEOUT",3];J.TIMEOUT.toString=z;J.TIMEOUT.__enum__=J;var Na=L.secretmedia.asbridge.BridgeToAs=function(){this.loadedCbk=[];this.pingSwfState=J.NONE;va.call(this);this.bridgeName="_"+Math.floor(1E5*Math.random());A.setField(window,this.bridgeName,this)};f["secretmedia.asbridge.BridgeToAs"]=Na;Na.__name__= ["secretmedia","asbridge","BridgeToAs"];Na.main=function(){};Na.__super__=va;Na.prototype=M(va.prototype,{loadSwf:function(a,b,c){var e=this;h.trace(""+a+d.unmangle("_183")+p.string(this.pingSwfState),{fileName:"BridgeToAs.hx",lineNumber:56,className:"secretmedia.asbridge.BridgeToAs",methodName:"loadSwf"});switch(this.pingSwfState[1]){case 0:this.pingSwfState=J.LOADING;this.loadedCbk.push({success:b,timeout:c});this.flashLoader=new ob;b=new Q;c=d.unmangle("_184");var k=d.unmangle("_185");null!=E[c]? b.setReserved(c,k):b.h[c]=k;c=d.unmangle("_186");k=d.unmangle("_187");null!=E[c]?b.setReserved(c,k):b.h[c]=k;c=d.unmangle("_188");null!=E[c]?b.setReserved(c,"1"):b.h[c]="1";c=d.unmangle("_189");null!=E[c]?b.setReserved(c,"1"):b.h[c]="1";c=new Q;c.set(va.FLASHVAR_BRIDGE_NAME,this.bridgeName);var g=this.flashLoader.createSwfObject(a,""+this.bridgeName+d.unmangle("_191"),b,b,c),m=Y.delay(function(){h.trace(d.unmangle("_192")+2E3,{fileName:"BridgeToAs.hx",lineNumber:77,className:"secretmedia.asbridge.BridgeToAs", methodName:"loadSwf"});window.document.body.removeChild(g);for(e.pingSwfState=J.TIMEOUT;0<e.loadedCbk.length;)e.loadedCbk.shift().timeout()},2E3);this.onFlashLoaded=function(){h.trace(d.unmangle("_193")+p.string(g),{fileName:"BridgeToAs.hx",lineNumber:85,className:"secretmedia.asbridge.BridgeToAs",methodName:"loadSwf"});e.pingSwfState=J.LOADED;e.objectTag=g;for(m.stop();0<e.loadedCbk.length;)e.loadedCbk.shift().success()};window.document.body.appendChild(g);break;case 2:this.loadedCbk.push({success:b, timeout:c});break;case 1:b();break;case 3:c()}},callAsCallback:function(a,b){h.trace(this.bridgeName,{fileName:"BridgeToAs.hx",lineNumber:114,className:"secretmedia.asbridge.BridgeToAs",methodName:"callAsCallback",customParams:[a,b]});for(var c=0,e=b.length;c<e;){var k=c++;"string"==typeof b[k]&&(b[k]="'"+p.string(b[k])+"'")}return this.callAsMethod(d.unmangle("_197"),[a,b])},callAsMethod:function(a,b){null==b&&(b=[]);if(null==this.objectTag){var c=window.document.getElementsByTagName(d.unmangle("_60")); this.objectTag=this.findMyFlash(c);null==this.objectTag&&(c=window.document.getElementsByTagName(d.unmangle("_194")),this.objectTag=this.findMyFlash(c))}if(null!=this.objectTag&&null!=A.field(this.objectTag,a)){h.trace(this.objectTag,{fileName:"BridgeToAs.hx",lineNumber:143,className:"secretmedia.asbridge.BridgeToAs",methodName:"callAsMethod",customParams:[a,A.field(this.objectTag,a)]});try{return A.callMethod(this.objectTag,A.field(this.objectTag,a),b)}catch(e){e instanceof n&&(e=e.val),h.trace(d.unmangle("_195")+ p.string(e),{fileName:"BridgeToAs.hx",lineNumber:149,className:"secretmedia.asbridge.BridgeToAs",methodName:"callAsMethod"})}}else h.trace(d.unmangle("_196")+this.bridgeName+")",{fileName:"BridgeToAs.hx",lineNumber:153,className:"secretmedia.asbridge.BridgeToAs",methodName:"callAsMethod",customParams:[this.objectTag,a]});return null},findMyFlash:function(a){for(var b=0;b<a.length;){var c=a[b];++b;if(null!=A.field(c,this.bridgeName))return c}return null},__class__:Na});var ob=function(){};f["secretmedia.asbridge.FlashLoader"]= ob;ob.__name__=["secretmedia","asbridge","FlashLoader"];ob.prototype={createSwfObject:function(a,b,c,e,k){for(var g="",m=k.keys();m.hasNext();)var f=m.next(),g=g+(f+"="+r.urlEncode(null!=E[f]?k.getReserved(f):k.h[f])+"&");k=d.unmangle("_178");null!=E[k]?c.setReserved(k,g):c.h[k]=g;k=d.unmangle("_178");null!=E[k]?e.setReserved(k,g):e.h[k]=g;g=d.unmangle("_122");k=d.unmangle("_179");null!=E[g]?c.setReserved(g,k):c.h[g]=k;A.hasField(window,d.unmangle("_180"))?(g=d.unmangle("_181"),k=d.unmangle("_182"), null!=E[g]?c.setReserved(g,k):c.h[g]=k,g=d.unmangle("_63"),null!=E[g]?e.setReserved(g,a):e.h[g]=a):(g=d.unmangle("_1"),null!=E[g]?c.setReserved(g,a):c.h[g]=a);a=window.document.createElement("object");a.id=b;for(b=c.keys();b.hasNext();)g=b.next(),a.setAttribute(g,null!=E[g]?c.getReserved(g):c.h[g]);for(c=e.keys();c.hasNext();)b=c.next(),g=window.document.createElement("param"),g.name=b,g.value=null!=E[b]?e.getReserved(b):e.h[b],a.appendChild(g);return a},__class__:ob};var kb=function(){};f["secretmedia.core.AppKey"]= kb;kb.__name__=["secretmedia","core","AppKey"];kb.encode=function(a){a=JSON.stringify(a);return P.encode(I.ofString(a))};kb.decode=function(a){a=P.decode(a).toString();return JSON.parse(a)};var mb=function(){};f["secretmedia.core.Config"]=mb;mb.__name__=["secretmedia","core","Config"];mb.decode=function(a){a=P.decode(a.substring(15)).toString();return JSON.parse(a)};mb.encode=function(a){var b=ra.string(ca.BASE64,15);a=P.encode(I.ofString(JSON.stringify(a)));return b+a};var lb=function(){};f["secretmedia.core.ConfigUrl"]= lb;lb.__name__=["secretmedia","core","ConfigUrl"];lb.encode=function(a){var b=JSON.stringify(a),b=(new H).encode(b);return d.unmangle("_51")+ra.string(ca.BASE32,30)+"."+a[d.unmangle("_91")]+"/"+b};lb.decode=function(a){var b=u.parse(a).path;if(0<b.length&&"/"==b.charAt(0))b=q.substr(b,1,null);else throw new n(d.unmangle("_92")+a);return JSON.parse((new H).decode(b))};var F=function(a,b,c){if(2!=a.split(".").length)throw new n("Invalid proxy domain "+a+" (should be a top level domain, with 1 dot only)"); this.proxyDomain=a;this.publisherId=c;this.hosts=new W(b);this.paths=new H;this.queryStrings=new Oa};f["secretmedia.core.UrlStrategy"]=F;F.__name__=["secretmedia","core","UrlStrategy"];F.__interfaces__=[Xa];F.parse=function(a){var b=a.host;if(null==b)b=null;else switch(b=b.split("]"),b.length){case 1:b=b[0].split(":")[0];break;case 2:b=b[0]+"]";break;default:throw new n(d.unmangle("_3"));}b=b.split(".");if(3>b.length)throw new n(ga.InvalidSubDomain(u.toString(a)));b.pop();b.pop();var b=b.join(""), c;c=null==a.query?"":"?"+(new Oa).decode(a.query);var e;e=null==a.hash?"":"#"+a.hash;for(var k=a.path;"/"==k.charAt(0);)k=q.substr(k,1,null);var g=k.indexOf(".");0<=g&&(k=k.substring(0,g));try{k=(new H).decode(k)}catch(f){throw f instanceof n&&(f=f.val),new n(d.unmangle("_19")+p.string(f)+d.unmangle("_20")+k);}var m;try{m=JSON.parse(k)}catch(f){f instanceof n&&(f=f.val),m=null}if(null==m||null==m.url){m="";try{m=W.parse(b).content}catch(f){throw f instanceof n&&(f=f.val),new n(d.unmangle("_25")+p.string(f)+ d.unmangle("_26")+b);}for(var g=p.parseInt(m.substring(0,2)),h=null,l=F.SCHEMES.keys();l.hasNext();){var r=l.next();if(g%2==F.SCHEMES.get(r)){h=r;break}}if(null==h)throw new n(ga.InvalidScheme(u.toString(a)));m=h+d.unmangle("_30")+m.substring(2);m={url:m+k+c+e,type:d.unmangle("_31"),publisherId:null}}else m.url+=c,m.url+=e;return{subdomain:b,path:k,url:m.url,publisherId:m.publisherId}};F.chunkSubdomain=function(a){if(63<=a.length){for(var b=[],c=0;c<a.length;)b.push(q.substr(a,c,60)),c+=60;return b.join(".")}return a}; F.prototype={isEncoded:function(a){return r.endsWith(a.host,this.proxyDomain)},encodeWithOptions:function(a,b){var c=this,e=u.parse(a);if(K.isSpecial(u.toString(e))||this.isEncoded(e))return u.toString(e);var k=e.scheme;if(null!=k)switch(k){case "rtmp":return u.toString(e);default:if(!F.SCHEMES.exists(k))throw new n(ga.InvalidScheme(u.toString(e)));}else if(!F.SCHEMES.exists(k))throw new n(ga.InvalidScheme(u.toString(e)));var k=this.hosts.encode(K.getTopLevelDomain(u.toString(e))),k=F.chunkSubdomain(k), g;g=e.path+(null==e.query?"":"?"+e.query);var f;f=null==e.hash?"":"#"+e.hash;var h,l="";h=function(a){return c.paths.encode(JSON.stringify({url:a,type:d.unmangle("_31"),publisherId:c.publisherId}))};var p=g.indexOf(F.SWF_EXT);0<p?(p=g.substring(0,p+F.SWF_EXT.length),null!=e.query&&(l="?"+this.queryStrings.encode(e.query)),h=h(u.toString(u.resolve(e,u.parse(p))))+F.SWF_EXT):null!=b&&A.hasField(b,d.unmangle("_305"))&&b.keepQuerystring&&null!=e.query?(l="?"+this.queryStrings.encode(e.query),h=h(u.toString(u.resolve(e, u.parse(e.path))))):h=h(u.toString(u.resolve(e,u.parse(g))));g=K.getExtension(g);-1<q.indexOf(F.KEEP_EXTENSIONS,g,0)&&(h+="."+g);return(e.scheme==d.unmangle("_27")?d.unmangle("_27"):d.unmangle("_28"))+d.unmangle("_30")+k+"."+this.proxyDomain+"/"+h+l+f},encode:function(a){return this.encodeWithOptions(a,{})},decode:function(a){return this.isEncoded(u.parse(a))?F.parse(u.parse(a)).url:a},__class__:F};var ca=function(){};f["secretmedia.core.crypto.Alphabet"]=ca;ca.__name__=["secretmedia","core","crypto", "Alphabet"];var eb=function(a,b){this.key=a;this.shared=b};f["secretmedia.core.crypto.KeyPair"]=eb;eb.__name__=["secretmedia","core","crypto","KeyPair"];eb.prototype={md5Pair:function(a){a=ea.encode(a+this.shared);return{a:Pa.parseHex(a.charAt(0)),b:Pa.parseHex(a.charAt(1))+1}},__class__:eb};var W=function(a){this.seed=a};f["secretmedia.core.crypto.HostStrategy"]=W;W.__name__=["secretmedia","core","crypto","HostStrategy"];W.__interfaces__=[qa];W.parse=function(a){var b=q.substr(a,0,1),c=new wa(W.keys, b);a=q.substr(a,1,null).toUpperCase();return{seed:ca.BASE32.indexOf(b),content:c.decode(ia.decode(a,!1))}};W.prototype={encode:function(a){var b=ca.BASE32.charAt(this.seed%ca.BASE32.length);a=(new wa(W.keys,b)).encode(a);return b+ia.encode(a,!1).toLowerCase()},decode:function(a){return W.parse(a).content},__class__:W};var H=function(){};f["secretmedia.core.crypto.PathStrategy"]=H;H.__name__=["secretmedia","core","crypto","PathStrategy"];H.__interfaces__=[qa];H.prototype={encodeSpecialChars:function(a){for(var b= H.replacements.keys();b.hasNext();){var c=b.next(),e=H.replacements.get(c);a=r.replace(a,c,e[p.random(e.length)])}return a},decodeSpecialChars:function(a){for(var b=H.replacements.keys();b.hasNext();)for(var c=b.next(),e=0,d=H.replacements.get(c);e<d.length;){var g=d[e];++e;a=r.replace(a,g,c)}return a},encode:function(a){var b=ra.string(ca.BASE64,8),c=H.keys.md5Pair(b),e=new wa(H.keys,b),b=b+ra.string(ca.BASE64,c.a),b=b+P.encode(e.encode(a),!1),b=b+ra.string(ca.BASE64,c.b);return this.encodeSpecialChars(b)}, decode:function(a){a=this.decodeSpecialChars(a);var b=q.substr(a,0,8),c=H.keys.md5Pair(b),b=new wa(H.keys,b),e=8+c.a;a=q.substr(a,e,a.length-e-c.b);return b.decode(P.decode(a,!1)).toString()},__class__:H};var Oa=function(){};f["secretmedia.core.crypto.QueryStringStrategy"]=Oa;Oa.__name__=["secretmedia","core","crypto","QueryStringStrategy"];Oa.__interfaces__=[qa];Oa.prototype={encode:function(a){return a.split("&").map(function(a){for(var c="",e=0,d=a.length;e<d;)var g=e++,f=a.charAt(g),c=0!= g&&0==g%3&&0>a.substring(g-2,g).indexOf("%")&&(new ka("^[a-zA-Z0-9]$","")).match(f)?c+("%"+r.hex(q.cca(f,0),2)):c+f;return c}).join("&")},decode:function(a){return a.split("&").map(function(a){for(var c="",e=0;e<a.length;){var d=a.charAt(e);if("%"==d){var g=q.substr(a,e+1,2),g=Pa.decodeChar(g);null!=g&&(new ka("^[a-zA-Z0-9]$","")).match(g)?(c+=g,e+=2):c+=d}else c+=d;e++}return c}).join("&")},__class__:Oa};var wa=function(a,b){this.keys=a;this.salt=b};f["secretmedia.core.crypto.XorCrypt"]= wa;wa.__name__=["secretmedia","core","crypto","XorCrypt"];wa.prototype={encode:function(a){a=[this.keys.key,a].join(":");return pb.encode(I.ofString(a),this.salt,this.keys.shared)},decode:function(a){a=pb.encode(a,this.salt,this.keys.shared).toString().split(":");if(a[0]!=this.keys.key)throw new n(d.unmangle("_18"));return a.slice(1).join(":")},__class__:wa};var ia=function(){};f["secretmedia.crypto.Base32"]=ia;ia.__name__=["secretmedia","crypto","Base32"];ia.encode=function(a,b){null==b&&(b=!0); var c=(new Aa(ia.BYTES)).encodeBytes(a).toString();if(b&&0<c.length%8)for(var e=0,d=8-c.length%8;e<d;)e++,c+="=";return c};ia.decode=function(a,b){null==b&&(b=!0);if(b)for(;61==q.cca(a,a.length-1);)a=q.substr(a,0,-1);return(new Aa(ia.BYTES)).decodeBytes(I.ofString(a))};var Pa=function(){};f["secretmedia.crypto.Hex"]=Pa;Pa.__name__=["secretmedia","crypto","Hex"];Pa.parseHex=function(a){return p.parseInt(d.unmangle("_9")+a)};Pa.encodeChar=function(a){return r.hex(q.cca(a,0),2)};Pa.decodeChar=function(a){a= p.parseInt(d.unmangle("_9")+a);return null==a?null:String.fromCharCode(a)};var ra=function(){};f["secretmedia.crypto.Random"]=ra;ra.__name__=["secretmedia","crypto","Random"];ra["char"]=function(a){return a.charAt(p.random(a.length))};ra.string=function(a,b){for(var c=[],e=0;e<b;)e++,c.push(a.charAt(p.random(a.length)));return c.join("")};ra.pick=function(a){return a[p.random(a.length)]};var pb=function(){};f["secretmedia.crypto.Xor"]=pb;pb.__name__=["secretmedia","crypto","Xor"];pb.encode=function(a, b,c){for(var e=Math.floor(a.length/16),e=e+1,d="",g=0;g<e;)var f=g++,d=d+ea.encode(b+f+ea.encode(c));b=I.alloc(a.length);c=0;for(e=a.length;c<e;)g=c++,b.set(g,a.b[g]^q.cca(d,g));return b};var Qa=function(){};f["secretmedia.dom2.VirtDom"]=Qa;Qa.__name__=["secretmedia","dom2","VirtDom"];Qa.main=function(){};Qa.startFromProxy=L.SMDom.startFromProxy=function(a,b,c){null==c&&(c="");c=ua.fromUrl(a,c);window==window.top&&(window.document.location.href=c.decode(a));a=null!=b?new ha(c,b[d.unmangle("_35")], b[d.unmangle("_36")]):c;Qa.start(a)};Qa.start=L.SMDom.start=function(a,b){B.overrideTrace();l.init(a,b)};Qa.postMessage=L.SMDom.postMessage=function(a){return function(b,c,e){if(typeof a.closed!=d.unmangle("_88"))b=JSON.stringify({originUrl:l.decode(window.location.href),message:b,targetOrigin:c}),a[d.unmangle("_89")].apply(a,[b,"*",e]);else a[d.unmangle("_89")](b,c,e)}};var Za=function(){};f["secretmedia.logger.ILogger"]=Za;Za.__name__=["secretmedia","logger","ILogger"];Za.prototype={__class__:Za}; var B=function(){};f["secretmedia.logger.ConsoleLogger"]=B;B.__name__=["secretmedia","logger","ConsoleLogger"];B.__interfaces__=[Za];B.isDebug=function(){return B.eval(B.isDebugExpr)};B.eval=function(a){return eval(a)};B.overrideTrace=function(){var a=new B;h.trace=T(a,a.trace);return a};B.prototype={trace:function(a,b){B.eval(B.isDebugExpr)&&this.call(B.traceFunction,yb.toArray(a,b))},log:function(a,b){this.call(B.traceFunction,[a,b].filter(function(a){return null!=a}))},call:function(a,b){return eval("("+ a+")").apply(null,[b])},__class__:B};var $a=function(a,b){null==b&&(b=!1);this.document=a;this.alwaysFire=b};f["secretmedia.logger.FontLogger"]=$a;$a.__name__=["secretmedia","logger","FontLogger"];$a.__interfaces__=[Za];$a.prototype={log:function(a,b){if(null==b||!A.hasField(b,d.unmangle("_133"))||!A.hasField(b,d.unmangle("_134")))return h.trace(d.unmangle("_135"),{fileName:"FontLogger.hx",lineNumber:42,className:"secretmedia.logger.FontLogger",methodName:"log"});if(this.alwaysFire||1>100*Math.random()){var c= d.unmangle("_136")+a+"-"+p.string(b.clientId)+d.unmangle("_137")+p.string(b.appKey);this.send(c,b)}},trace:function(a,b){},send:function(a,b){var c=this.document.createElement("style");c.textContent=d.unmangle("_138")+a+d.unmangle("_139");c.type=d.unmangle("_140");this.document.head.appendChild(c)},__class__:$a};var yb=function(){};f["secretmedia.logger.Formatter"]=yb;yb.__name__=["secretmedia","logger","Formatter"];yb.toArray=function(a,b){var c=[a];null!=b&&(null!=b.customParams&&(c=c.concat(b.customParams)), c.unshift(""+b.fileName+":"+b.lineNumber+" "+b.className+d.unmangle("_42")+b.methodName));return c};var ab=function(a){this.strategy=a};f["secretmedia.logger.PostLogger"]=ab;ab.__name__=["secretmedia","logger","PostLogger"];ab.__interfaces__=[Za];ab.prototype={log:function(a,b){var c=this.strategy.encode("https://web.archive.org/web/20160727084116/http://api.secretmedia.com/logs"),e={message:a};null!=b&&(e.data=b);h.trace(d.unmangle("_125")+"https://web.archive.org/web/20160727084116/http://api.secretmedia.com/logs"+d.unmangle("_126")+c,{fileName:"PostLogger.hx",lineNumber:22,className:"secretmedia.logger.PostLogger", methodName:"log"});this.send(c,e)},trace:function(a,b){},send:function(a,b){null==b.location&&(b.location=window.document.location.href);var c=JSON.stringify(b),e=new Ta(a);e.setPostData(c);e.request(!0)},__class__:ab};var Fb=function(){};f["secretmedia.obfuscation.ExposedObject"]=Fb;Fb.__name__=["secretmedia","obfuscation","ExposedObject"];var O=function(){};f["secretmedia.pptjs.ClientSideCache"]=O;O.__name__=["secretmedia","pptjs","ClientSideCache"];O.setDetectionState=function(a,b){null==b&&(b= 86400);na.set(O.DETECTION_STATE_KEY,V.run(a),b)};O.getDetectionState=function(){var a=na.get(O.DETECTION_STATE_KEY);if(null!=a)try{return N.run(a)}catch(b){return b instanceof n&&(b=b.val),h.trace(d.unmangle("_173"),{fileName:"ClientSideCache.hx",lineNumber:51,className:"secretmedia.pptjs.ClientSideCache",methodName:"getDetectionState",customParams:[b]}),null}else return null};O.setConfigFile=function(a,b){null==b&&(b=3600);na.set(O.CONFIG_FILE_KEY,a,b)};O.getConfigFile=function(){return na.get(O.CONFIG_FILE_KEY)}; var fb=function(a,b,c){null==c&&(c="");this.timedOut=!1;this.onResult=b;this.context=a;var e,d;if(B.eval(B.isDebugExpr)&&null!=(d=ja.getConfigFile()))h.trace("config is overriden by debug ("+ja.CONFIG_FILE_KEY+") "+p.string(d),{fileName:"ConfigLoader.hx",lineNumber:26,className:"secretmedia.pptjs.ConfigLoader",methodName:"new"}),b({config:d,detectionState:x.UNKNOWN,provenance:C.RUNTIME_CONFIG});else if(null!=(e=O.getConfigFile()))d=a.parseConfig(e),h.trace("config is overriden by cache ("+O.CONFIG_FILE_KEY+ ") "+p.string(d),{fileName:"ConfigLoader.hx",lineNumber:36,className:"secretmedia.pptjs.ConfigLoader",methodName:"new"}),b({config:d,detectionState:x.UNKNOWN,provenance:C.CACHED});else if(""!=c){try{d=this.makeConfig(c)}catch(g){g instanceof n&&(g=g.val);h.trace("Error: could not decrypt config file: "+p.string(g),{fileName:"ConfigLoader.hx",lineNumber:49,className:"secretmedia.pptjs.ConfigLoader",methodName:"new"});b({detectionState:x.DISABLED(t.ERROR_COULD_NOT_DECRYPT_CONFIG_FILE),provenance:C.SDK_CONSTRUCTOR}); return}b({config:d,detectionState:x.UNKNOWN,provenance:C.SDK_CONSTRUCTOR})}else{try{this.configUrl=a.getConfigUrl()}catch(g){g instanceof n&&(g=g.val);h.trace("could not make config file URL: "+p.string(g),{fileName:"ConfigLoader.hx",lineNumber:70,className:"secretmedia.pptjs.ConfigLoader",methodName:"new"});b({detectionState:x.DISABLED(t.ERROR_COULD_NOT_MAKE_CONFIG_FILE_URL),provenance:C.NONE});return}h.trace("begin load config file ",{fileName:"ConfigLoader.hx",lineNumber:77,className:"secretmedia.pptjs.ConfigLoader", methodName:"new",customParams:[this.configUrl]});this.http=new Ta(this.configUrl);this.http.onData=T(this,this.onSuccess);this.http.onError=T(this,this.onError);this.timeoutTimer=Y.delay(T(this,this.onTimeout),1E3);this.http.request()}};f["secretmedia.pptjs.ConfigLoader"]=fb;fb.__name__=["secretmedia","pptjs","ConfigLoader"];fb.prototype={makeConfig:function(a){var b=this.context.parseConfig(a);1==b.cacheConfig&&(h.trace(d.unmangle("_143"),{fileName:"ConfigLoader.hx",lineNumber:91,className:"secretmedia.pptjs.ConfigLoader", methodName:"makeConfig"}),O.setConfigFile(a,b.cacheConfigDurationSeconds));return b},onTimeout:function(){this.timedOut=!0;h.trace(d.unmangle("_148")+1E3+d.unmangle("_149"),{fileName:"ConfigLoader.hx",lineNumber:104,className:"secretmedia.pptjs.ConfigLoader",methodName:"onTimeout"});this.http.cancel();this.onResult({detectionState:x.DISABLED(t.DISABLED_TIMEOUT_LOADING_CONFIG_JS),provenance:C.LOADED(this.configUrl)})},onError:function(a){this.timedOut||(this.timeoutTimer.stop(),h.trace(d.unmangle("_146")+ a+d.unmangle("_147"),{fileName:"ConfigLoader.hx",lineNumber:124,className:"secretmedia.pptjs.ConfigLoader",methodName:"onError"}),this.onResult({detectionState:x.OUR_DOMAIN_BLOCKED(t.DISABLED_ERROR_LOADING_CONFIG_FILE_JS_BLOCKED),provenance:C.LOADED(this.configUrl)}))},onSuccess:function(a){this.timeoutTimer.stop();var b;h.trace(d.unmangle("_144"),{fileName:"ConfigLoader.hx",lineNumber:142,className:"secretmedia.pptjs.ConfigLoader",methodName:"onSuccess"});try{b=this.makeConfig(a)}catch(c){c instanceof n&&(c=c.val);h.trace(d.unmangle("_145")+p.string(c),{fileName:"ConfigLoader.hx",lineNumber:147,className:"secretmedia.pptjs.ConfigLoader",methodName:"onSuccess"});this.onResult({detectionState:x.DISABLED(t.ERROR_COULD_NOT_DECRYPT_CONFIG_FILE),provenance:C.LOADED(this.configUrl)});return}this.onResult({config:b,detectionState:x.UNKNOWN,provenance:C.LOADED(this.configUrl)})},__class__:fb};var t={};f["secretmedia.pptjs._DetectionData.LogMsg_Impl_"]=t;t.__name__=["secretmedia","pptjs","_DetectionData", "LogMsg_Impl_"];var x=f["secretmedia.pptjs.DetectionState"]={__ename__:["secretmedia","pptjs","DetectionState"],__constructs__:["UNKNOWN","NOT_BLOCKED","BLOCKED","OUR_DOMAIN_BLOCKED","DISABLED"]};x.UNKNOWN=["UNKNOWN",0];x.UNKNOWN.toString=z;x.UNKNOWN.__enum__=x;x.NOT_BLOCKED=["NOT_BLOCKED",1];x.NOT_BLOCKED.toString=z;x.NOT_BLOCKED.__enum__=x;x.BLOCKED=function(a){a=["BLOCKED",2,a];a.__enum__=x;a.toString=z;return a};x.OUR_DOMAIN_BLOCKED=function(a){a=["OUR_DOMAIN_BLOCKED",3,a];a.__enum__=x;a.toString= z;return a};x.DISABLED=function(a){a=["DISABLED",4,a];a.__enum__=x;a.toString=z;return a};var C=f["secretmedia.pptjs.ConfigProvenance"]={__ename__:["secretmedia","pptjs","ConfigProvenance"],__constructs__:["SDK_CONSTRUCTOR","LOADED","RUNTIME_CONFIG","CACHED","NONE"]};C.SDK_CONSTRUCTOR=["SDK_CONSTRUCTOR",0];C.SDK_CONSTRUCTOR.toString=z;C.SDK_CONSTRUCTOR.__enum__=C;C.LOADED=function(a){a=["LOADED",1,a];a.__enum__=C;a.toString=z;return a};C.RUNTIME_CONFIG=["RUNTIME_CONFIG",2];C.RUNTIME_CONFIG.toString= z;C.RUNTIME_CONFIG.__enum__=C;C.CACHED=["CACHED",3];C.CACHED.toString=z;C.CACHED.__enum__=C;C.NONE=["NONE",4];C.NONE.toString=z;C.NONE.__enum__=C;var sa=function(a){this.pingSwfUrl=a};f["secretmedia.pptjs.Detector"]=sa;sa.__name__=["secretmedia","pptjs","Detector"];sa.detectFlashPlayer=function(){if(null!=window.navigator.plugins&&0<window.navigator.plugins.length&&(A.hasField(window.navigator.plugins,d.unmangle("_228"))||A.hasField(window.navigator.plugins,d.unmangle("_229")))){var a=window.document.createElement(d.unmangle("_194")); A.setField(a,d.unmangle("_122"),d.unmangle("_179"));window.document.body.appendChild(a);var b="Pan"in a;window.document.body.removeChild(a);if(!b)return h.trace(d.unmangle("_230"),{fileName:"Detector.hx",lineNumber:165,className:"secretmedia.pptjs.Detector",methodName:"detectFlashPlayer"}),!1;h.trace(d.unmangle("_231"),{fileName:"Detector.hx",lineNumber:168,className:"secretmedia.pptjs.Detector",methodName:"detectFlashPlayer"});return!0}h.trace(d.unmangle("_232"),{fileName:"Detector.hx",lineNumber:171, className:"secretmedia.pptjs.Detector",methodName:"detectFlashPlayer"});return!1};sa.isPptCompatible=function(){try{return null!=ma.getSessionStorage()&&("undefined"!==typeof InstallTrigger||!!window.chrome&&!!window.chrome.webstore)}catch(a){return a instanceof n&&(a=a.val),!1}};sa.prototype={testDom:function(a,b){var c=this;if(null==window.document.body)Y.delay(function(){c.testDom(a,b)},0);else{var e=!1;try{var k=window.document.createElement(d.unmangle("_209"));k.setAttribute(d.unmangle("_210"), a);k.setAttribute(d.unmangle("_211"),a);k.setAttribute(d.unmangle("_212"),d.unmangle("_213"));window.document.body.appendChild(k);e=0==k.offsetWidth||0==k.offsetHeight;window.document.body.removeChild(k)}catch(g){g instanceof n&&(g=g.val),h.trace(d.unmangle("_214"),{fileName:"Detector.hx",lineNumber:50,className:"secretmedia.pptjs.Detector",methodName:"testDom",customParams:[g]})}h.trace(d.unmangle("_215")+a+d.unmangle("_216")+(null==e?"null":""+e),{fileName:"Detector.hx",lineNumber:52,className:"secretmedia.pptjs.Detector", methodName:"testDom"});b(e)}},testUrls:function(a,b,c,e,k){var g=this;if(0<b.length){var f=b.shift();(a?T(this,this.ping):T(this,this.pingFlash))(f,function(){h.trace(d.unmangle("_224")+f,{fileName:"Detector.hx",lineNumber:66,className:"secretmedia.pptjs.Detector",methodName:"testUrls"});g.testUrls(a,b,c,e,k)},function(){h.trace(d.unmangle("_225")+f,{fileName:"Detector.hx",lineNumber:69,className:"secretmedia.pptjs.Detector",methodName:"testUrls"});e()},function(){h.trace(d.unmangle("_226")+f,{fileName:"Detector.hx", lineNumber:74,className:"secretmedia.pptjs.Detector",methodName:"testUrls"});k()})}else h.trace(d.unmangle("_227"),{fileName:"Detector.hx",lineNumber:79,className:"secretmedia.pptjs.Detector",methodName:"testUrls"}),c()},ping:function(a,b,c,e){var k=new Ta(a),g=!1,f=Y.delay(function(){h.trace(d.unmangle("_217"),{fileName:"Detector.hx",lineNumber:94,className:"secretmedia.pptjs.Detector",methodName:"ping"});g=!0;k.cancel();e()},2E3);k.onData=function(a){g||(b(),f.stop())};k.onError=function(a){h.trace(d.unmangle("_218")+ a,{fileName:"Detector.hx",lineNumber:107,className:"secretmedia.pptjs.Detector",methodName:"ping"});g||(c(),f.stop())};k.onStatus=function(a){g||(h.trace(d.unmangle("_219")+a+d.unmangle("_220"),{fileName:"Detector.hx",lineNumber:115,className:"secretmedia.pptjs.Detector",methodName:"ping"}),k.cancel())};k.request()},pingFlash:function(a,b,c,e){var k=this;null==this.bridge&&(this.bridge=new Na);this.bridge.loadSwf(this.pingSwfUrl,function(){var g=k.bridge.createCallback(k.bridge,function(g){h.trace(d.unmangle("_221")+ g+d.unmangle("_204")+a+")",{fileName:"Detector.hx",lineNumber:133,className:"secretmedia.pptjs.Detector",methodName:"pingFlash"});switch(g){case d.unmangle("_198"):b();break;case d.unmangle("_199"):c();break;case d.unmangle("_200"):e()}});h.trace(d.unmangle("_222")+a+")",{fileName:"Detector.hx",lineNumber:140,className:"secretmedia.pptjs.Detector",methodName:"pingFlash"});k.bridge.callAsMethod(d.unmangle("_223"),[a,g])},function(){e()})},resolveMacro:function(a,b){return r.replace(a,d.unmangle("_233"), b.proxyDomain)},start:function(a,b,c,e,k){var g=this;this.testDom(a.divId,function(f){f?(h.trace(d.unmangle("_234")+a.divId+")",{fileName:"Detector.hx",lineNumber:209,className:"secretmedia.pptjs.Detector",methodName:"start"}),e(t.BLOCKED_TESTDOM_BLOCKED)):(h.trace(d.unmangle("_235")+a.divId+")",{fileName:"Detector.hx",lineNumber:213,className:"secretmedia.pptjs.Detector",methodName:"start"}),0!=a.testUrlsInJs?(f=a.urls.map(function(a){return g.resolveMacro(a,b)}),g.testUrls(!0,f,function(){g.testUrlsInFlash(a, b,c,e,k)},function(){h.trace(d.unmangle("_240"),{fileName:"Detector.hx",lineNumber:221,className:"secretmedia.pptjs.Detector",methodName:"start"});e(t.BLOCKED_IN_JS_URL_BLOCKED)},function(){h.trace(d.unmangle("_241"),{fileName:"Detector.hx",lineNumber:225,className:"secretmedia.pptjs.Detector",methodName:"start"});k(t.ERROR_IN_JS_TIMEOUT)})):(h.trace(d.unmangle("_242"),{fileName:"Detector.hx",lineNumber:230,className:"secretmedia.pptjs.Detector",methodName:"start"}),g.testUrlsInFlash(a,b,c,e,k)))})}, testUrlsInFlash:function(a,b,c,e,k){var g=this;0!=a.testUrlsInFlash?(a=a.urls.map(function(a){return g.resolveMacro(a,b)}),this.testUrls(!1,a,function(){h.trace(d.unmangle("_236"),{fileName:"Detector.hx",lineNumber:240,className:"secretmedia.pptjs.Detector",methodName:"testUrlsInFlash"});c()},function(){h.trace(d.unmangle("_237"),{fileName:"Detector.hx",lineNumber:243,className:"secretmedia.pptjs.Detector",methodName:"testUrlsInFlash"});e(t.BLOCKED_IN_FLASH_URL_BLOCKED)},function(){h.trace(d.unmangle("_238"), {fileName:"Detector.hx",lineNumber:248,className:"secretmedia.pptjs.Detector",methodName:"testUrlsInFlash"});k(t.ERROR_IN_FLASH_TIMEOUT)})):(h.trace(d.unmangle("_239"),{fileName:"Detector.hx",lineNumber:253,className:"secretmedia.pptjs.Detector",methodName:"testUrlsInFlash"}),c())},__class__:sa};var db=L.secretmedia.pptjs.Ppt=function(a,b,c,e,d){null==d&&(d="");null==e&&(e="");null==c&&(c=!1);this.postLogger=this.fontLogger=null;this.initCallbacks=[];this.detectionState=x.UNKNOWN;this.detectionPending= this.preDetectionPending=!1;B.overrideTrace();this.appKey=a;this.clientId=b;this.adBlockAlreadyDetected=c;this.fontLogger=new $a(window.document,B.eval(B.isDebugExpr));h.trace("hash: "+hb.gitHash+", appKey: "+a,{fileName:"Ppt.hx",lineNumber:108,className:"secretmedia.pptjs.Ppt",methodName:"new"});if(sa.isPptCompatible()){var g;try{g=(new window.Fingerprint).get()}catch(f){f instanceof n&&(f=f.val);h.trace("could not get the fingerprint for this user: "+p.string(f),{fileName:"Ppt.hx",lineNumber:123, className:"secretmedia.pptjs.Ppt",methodName:"new"});this.endPreDetection(x.DISABLED(t.ERROR_COULD_NOT_GET_FINGERPRINT));return}try{this.context=fa.fromAppKey(a,g,d)}catch(f){f instanceof n&&(f=f.val);h.trace("could not decrypt app key "+p.string(f),{fileName:"Ppt.hx",lineNumber:134,className:"secretmedia.pptjs.Ppt",methodName:"new"});this.endPreDetection(x.DISABLED(t.ERROR_COULD_NOT_DECRYPT_APP_KEY));return}this.preDetectionPending=!0;new fb(this.context,T(this,this.onConfigLoaded),e)}else h.trace("this browser is not supported", {fileName:"Ppt.hx",lineNumber:111,className:"secretmedia.pptjs.Ppt",methodName:"new"}),this.endPreDetection(x.DISABLED(t.DISABLED_BROWSER_NOT_SUPPORTED))};f["secretmedia.pptjs.Ppt"]=db;db.__name__=["secretmedia","pptjs","Ppt"];db.main=function(){B.overrideTrace();h.trace(d.unmangle("_279"),{fileName:"Ppt.hx",lineNumber:24,className:"secretmedia.pptjs.Ppt",methodName:"main"})};db.prototype={onConfigLoaded:function(a){null!=a.config&&(this.config=a.config);h.trace(d.unmangle("_261"),{fileName:"Ppt.hx", lineNumber:148,className:"secretmedia.pptjs.Ppt",methodName:"onConfigLoaded",customParams:[a]});switch(a.detectionState[1]){case 4:this.endPreDetection(a.detectionState);break;case 3:this.endPreDetection(a.detectionState);break;case 0:this.startPreDetection(a.detectionState,a.provenance);break;default:h.trace(d.unmangle("_277")+p.string(a.detectionState)+d.unmangle("_278"),{fileName:"Ppt.hx",lineNumber:157,className:"secretmedia.pptjs.Ppt",methodName:"onConfigLoaded"})}},startPreDetection:function(a, b){var c;c=this.proxify(K.makeAbsolute("//web.archive.org/web/20160727084116/http://smblock.s3.amazonaws.com/sdk/develop/ping.swf",window.location.href));this.detector=new sa(c);if(1!=this.config.enable)h.trace(d.unmangle("_265"),{fileName:"Ppt.hx",lineNumber:175,className:"secretmedia.pptjs.Ppt",methodName:"startPreDetection"}),h.trace(d.unmangle("_266"),{fileName:"Ppt.hx",lineNumber:176,className:"secretmedia.pptjs.Ppt",methodName:"startPreDetection"}),h.trace(d.unmangle("_265"),{fileName:"Ppt.hx",lineNumber:177,className:"secretmedia.pptjs.Ppt", methodName:"startPreDetection"}),this.endPreDetection(x.DISABLED(t.DISABLED_FROM_CONFIG_FILE));else switch(b[1]){case 2:case 3:case 0:this.pingConfigFromJs();break;case 1:this.ourDomainIsNotBlockedInJs();this.pingConfigFromFlash();break;case 4:throw new n(d.unmangle("_276"));}},ourDomainIsNotBlockedInJs:function(){null==this.config?h.trace(d.unmangle("_268"),{fileName:"Ppt.hx",lineNumber:196,className:"secretmedia.pptjs.Ppt",methodName:"ourDomainIsNotBlockedInJs"}):(null!=this.config.proxyUrl&&""!= this.config.proxyUrl&&(this.context.proxyDomain=this.config.proxyUrl),this.postLogger=new ab(this.context.getProxy()))},endPreDetection:function(a){h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:209,className:"secretmedia.pptjs.Ppt",methodName:"endPreDetection"});h.trace(d.unmangle("_244")+p.string(a),{fileName:"Ppt.hx",lineNumber:210,className:"secretmedia.pptjs.Ppt",methodName:"endPreDetection"});h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:211,className:"secretmedia.pptjs.Ppt", methodName:"endPreDetection"});this.preDetectionPending=!1;this.detectionState=a;switch(a[1]){case 1:h.trace(d.unmangle("_245"),{fileName:"Ppt.hx",lineNumber:219,className:"secretmedia.pptjs.Ppt",methodName:"endPreDetection"});this.endDetection(x.DISABLED(t.ERROR_IMPOSSIBLE_STATE));break;case 2:h.trace(d.unmangle("_254"),{fileName:"Ppt.hx",lineNumber:223,className:"secretmedia.pptjs.Ppt",methodName:"endPreDetection"});this.endDetection(x.DISABLED(t.ERROR_IMPOSSIBLE_STATE));break;case 3:this.endDetection(a); break;case 4:this.endDetection(a);break;case 0:a=O.getDetectionState(),null!=a&&null!=this.config.cacheDetection&&this.config.cacheDetection?(h.trace(d.unmangle("_255")+p.string(a),{fileName:"Ppt.hx",lineNumber:234,className:"secretmedia.pptjs.Ppt",methodName:"endPreDetection"}),this.endDetection(a)):this.adBlockAlreadyDetected?this.endDetection(x.BLOCKED(t.BLOCKED_FROM_SDK_CONSTRUCTOR)):this.startDetection()}},endDetection:function(a){h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:249, className:"secretmedia.pptjs.Ppt",methodName:"endDetection"});h.trace(d.unmangle("_246")+p.string(a),{fileName:"Ppt.hx",lineNumber:250,className:"secretmedia.pptjs.Ppt",methodName:"endDetection"});h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:251,className:"secretmedia.pptjs.Ppt",methodName:"endDetection"});this.detectionPending=!1;null!=this.config&&this.config.cacheDetection&&O.setDetectionState(a,this.config.cacheDetectionDurationSeconds);this.detectionState=a;switch(a[1]){case 1:this.callInitCallbacks(); this.postLogger.log(p.string(t.NOTBLOCKED_NO_TESTVAST_AND_NOTHING_BLOCKED),{appKey:this.appKey,clientId:this.clientId});break;case 2:a=a[2];this.config.virtualDom?this.startVirtualDom():h.trace(d.unmangle("_252"),{fileName:"Ppt.hx",lineNumber:269,className:"secretmedia.pptjs.Ppt",methodName:"endDetection"});this.postLogger.log(p.string(a),{appKey:this.appKey,clientId:this.clientId});break;case 3:a=a[2];this.callInitCallbacks();null!=this.postLogger?this.postLogger.log(p.string(a),{appKey:this.appKey, clientId:this.clientId}):this.fontLogger.log(p.string(a),{appKey:this.appKey,clientId:this.clientId});break;case 4:a=a[2];this.callInitCallbacks();null!=this.postLogger?this.postLogger.log(p.string(a),{appKey:this.appKey,clientId:this.clientId}):this.fontLogger.log(p.string(a),{appKey:this.appKey,clientId:this.clientId});break;case 0:h.trace(d.unmangle("_253"),{fileName:"Ppt.hx",lineNumber:297,className:"secretmedia.pptjs.Ppt",methodName:"endDetection"}),this.detectionState=x.DISABLED(t.DISABLED_DETECTION_FAILED), this.callInitCallbacks(),this.postLogger.log(p.string(t.DISABLED_DETECTION_FAILED),{appKey:this.appKey,clientId:this.clientId})}},callInitCallbacks:function(){h.trace(""+this.initCallbacks.length+d.unmangle("_247"),{fileName:"Ppt.hx",lineNumber:309,className:"secretmedia.pptjs.Ppt",methodName:"callInitCallbacks"});for(var a=0,b=this.initCallbacks;a<b.length;){var c=b[a];++a;c()}this.initCallbacks=[]},onConfigTimeoutPingJs:function(){h.trace(d.unmangle("_275"),{fileName:"Ppt.hx",lineNumber:322,className:"secretmedia.pptjs.Ppt", methodName:"onConfigTimeoutPingJs"});this.endPreDetection(x.DISABLED(t.DISABLED_TIMEOUT_LOADING_CONFIG_JS))},onConfigTimeoutPingFlash:function(){h.trace(d.unmangle("_273"),{fileName:"Ppt.hx",lineNumber:332,className:"secretmedia.pptjs.Ppt",methodName:"onConfigTimeoutPingFlash"});this.endPreDetection(x.DISABLED(t.DISABLED_TIMEOUT_LOADING_CONFIG_FLASH))},onConfigErrorPingJs:function(){h.trace(d.unmangle("_274"),{fileName:"Ppt.hx",lineNumber:342,className:"secretmedia.pptjs.Ppt",methodName:"onConfigErrorPingJs"}); this.endPreDetection(x.OUR_DOMAIN_BLOCKED(t.DISABLED_ERROR_LOADING_CONFIG_FILE_JS_BLOCKED))},onConfigErrorPingFlash:function(){h.trace(d.unmangle("_272"),{fileName:"Ppt.hx",lineNumber:352,className:"secretmedia.pptjs.Ppt",methodName:"onConfigErrorPingFlash"});this.endPreDetection(x.OUR_DOMAIN_BLOCKED(t.DISABLED_ERROR_LOADING_CONFIG_FILE_FLASH_BLOCKED))},pingConfigFromJs:function(){var a=this.context.getConfigUrl();h.trace(d.unmangle("_267")+a,{fileName:"Ppt.hx",lineNumber:363,className:"secretmedia.pptjs.Ppt", methodName:"pingConfigFromJs"});this.detector.ping(a,T(this,this.onConfigSuccessPingJs),T(this,this.onConfigErrorPingJs),T(this,this.onConfigTimeoutPingJs))},onConfigSuccessPingJs:function(){this.ourDomainIsNotBlockedInJs();this.pingConfigFromFlash()},pingConfigFromFlash:function(){if(0==this.config.testProxyDomainInFlash||0==sa.detectFlashPlayer())h.trace(d.unmangle("_269")+p.string(this.config.testProxyDomainInFlash),{fileName:"Ppt.hx",lineNumber:379,className:"secretmedia.pptjs.Ppt",methodName:"pingConfigFromFlash"}), this.endPreDetection(x.UNKNOWN);else{var a=this.context.getConfigUrl();h.trace(d.unmangle("_270")+a,{fileName:"Ppt.hx",lineNumber:385,className:"secretmedia.pptjs.Ppt",methodName:"pingConfigFromFlash"});this.detector.pingFlash(a,T(this,this.onConfigSuccessPingFlash),T(this,this.onConfigErrorPingFlash),T(this,this.onConfigTimeoutPingFlash))}},onConfigSuccessPingFlash:function(){h.trace(d.unmangle("_271"),{fileName:"Ppt.hx",lineNumber:395,className:"secretmedia.pptjs.Ppt",methodName:"onConfigSuccessPingFlash"}); this.endPreDetection(x.UNKNOWN)},proxify:function(a){h.trace(d.unmangle("_263")+a,{fileName:"Ppt.hx",lineNumber:406,className:"secretmedia.pptjs.Ppt",methodName:"proxify"});try{return this.context.getProxy().encode(a)}catch(b){return b instanceof n&&(b=b.val),h.trace(d.unmangle("_264")+p.string(b),{fileName:"Ppt.hx",lineNumber:411,className:"secretmedia.pptjs.Ppt",methodName:"proxify"}),a}},unblock:function(a,b){var c=this;h.trace(d.unmangle("_280")+a+" "+p.string(b)+" "+p.string(this.detectionState), {fileName:"Ppt.hx",lineNumber:424,className:"secretmedia.pptjs.Ppt",methodName:"unblock"});var e=function(c,e){h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:427,className:"secretmedia.pptjs.Ppt",methodName:"unblock"});h.trace(d.unmangle("_281")+a+d.unmangle("_282")+c,{fileName:"Ppt.hx",lineNumber:428,className:"secretmedia.pptjs.Ppt",methodName:"unblock"});h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:429,className:"secretmedia.pptjs.Ppt",methodName:"unblock"});try{b(c,e)}catch(f){f instanceof n&&(f=f.val),h.trace(d.unmangle("_283"),{fileName:"Ppt.hx",lineNumber:434,className:"secretmedia.pptjs.Ppt",methodName:"unblock",customParams:[f,b]})}};switch(this.detectionState[1]){case 4:e(a,!1);break;case 1:e(a,!1);break;case 2:this.blocked(a,e);break;case 3:e(a,!1);break;case 0:h.trace(d.unmangle("_285"),{fileName:"Ppt.hx",lineNumber:450,className:"secretmedia.pptjs.Ppt",methodName:"unblock",customParams:[a]}),this.initCallbacks.push(function(){h.trace(d.unmangle("_286"),{fileName:"Ppt.hx",lineNumber:453, className:"secretmedia.pptjs.Ppt",methodName:"unblock",customParams:[a]});c.unblock(a,b)})}},startDetection:function(){var a=this;this.detectionPending||this.preDetectionPending||(this.detectionPending=!0,h.trace(d.unmangle("_256"),{fileName:"Ppt.hx",lineNumber:466,className:"secretmedia.pptjs.Ppt",methodName:"startDetection"}),this.detector.start(this.config,this.context,function(){h.trace(d.unmangle("_257"),{fileName:"Ppt.hx",lineNumber:469,className:"secretmedia.pptjs.Ppt",methodName:"startDetection"}); a.endDetection(x.NOT_BLOCKED)},function(b){h.trace(d.unmangle("_258")+b+d.unmangle("_259"),{fileName:"Ppt.hx",lineNumber:472,className:"secretmedia.pptjs.Ppt",methodName:"startDetection"});a.endDetection(x.BLOCKED(b))},function(b){h.trace(d.unmangle("_258")+b+d.unmangle("_260"),{fileName:"Ppt.hx",lineNumber:475,className:"secretmedia.pptjs.Ppt",methodName:"startDetection"});a.endDetection(x.DISABLED(b))}))},blocked:function(a,b){null!=this.config.vastUrl&&""!=this.config.vastUrl&&(h.trace(d.unmangle("_284")+ this.config.vastUrl+")",{fileName:"Ppt.hx",lineNumber:488,className:"secretmedia.pptjs.Ppt",methodName:"blocked"}),a=this.config.vastUrl);var c=this.proxify(a);b(c,!0)},startVirtualDom:function(){h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:499,className:"secretmedia.pptjs.Ppt",methodName:"startVirtualDom"});h.trace(d.unmangle("_248"),{fileName:"Ppt.hx",lineNumber:500,className:"secretmedia.pptjs.Ppt",methodName:"startVirtualDom"});h.trace(d.unmangle("_243"),{fileName:"Ppt.hx",lineNumber:501, className:"secretmedia.pptjs.Ppt",methodName:"startVirtualDom"});var a={},b=ma.getLocalStorage(),c=null,e=d.unmangle("_249");null!=b&&null!=b.getItem(e)?c=b.getItem(e):null!=this.config.whiteList?a=this.config.whiteList:c=Ua.getString(e);if(null!=c)try{a=JSON.parse(c)}catch(f){f instanceof n&&(f=f.val),h.trace(d.unmangle("_250")+c,{fileName:"Ppt.hx",lineNumber:528,className:"secretmedia.pptjs.Ppt",methodName:"startVirtualDom"})}h.trace(d.unmangle("_251"),{fileName:"Ppt.hx",lineNumber:532,className:"secretmedia.pptjs.Ppt", methodName:"startVirtualDom",customParams:[a]});b=null!=a&&a[d.unmangle("_36")];a=null!=a?a[d.unmangle("_35")]:[];a=new ha(this.context.getProxy(),a,b);Qa.start(a,T(this,this.callInitCallbacks))},__class__:db};var ja=L.secretmedia.pptjs.RuntimeConfig=function(){};f["secretmedia.pptjs.RuntimeConfig"]=ja;ja.__name__=["secretmedia","pptjs","RuntimeConfig"];ja.isDebug=function(){return B.eval(B.isDebugExpr)};ja.getConfigFile=function(){try{if(B.eval(B.isDebugExpr)){var a=ma.getLocalStorage();return JSON.parse(a.getItem(ja.CONFIG_FILE_KEY))}}catch(b){b instanceof n&&(b=b.val),h.trace(b,{fileName:"RuntimeConfig.hx",lineNumber:31,className:"secretmedia.pptjs.RuntimeConfig",methodName:"getConfigFile"})}return null};ja.setConfigFile=function(a){try{if(B.eval(B.isDebugExpr)){var b=ma.getLocalStorage();null==a?b.removeItem(ja.CONFIG_FILE_KEY):b.setItem(ja.CONFIG_FILE_KEY,JSON.stringify(a))}}catch(c){c instanceof n&&(c=c.val),h.trace(c,{fileName:"RuntimeConfig.hx",lineNumber:51,className:"secretmedia.pptjs.RuntimeConfig",methodName:"setConfigFile"})}return null}; var u={};f["tink._Url.Url_Impl_"]=u;u.__name__=["tink","_Url","Url_Impl_"];u._new=function(a){return a};u.resolve=function(a,b){if(null!=b.scheme)return b;if(null!=b.host){if(null!=b.scheme)return b;var c=A.copy(b);c.scheme=a.scheme;return c}c={path:U.join(a.path,b.path),payload:"",scheme:a.scheme,query:b.query,auth:a.auth,host:a.host,hash:b.hash};u.makePayload(c);return c};u.makePayload=function(a){var b=new Sa,c=a.host,e=a.host;if(null==a.host){var f=c=a.auth;if(null!=a.auth)switch(a.auth){default:b.add(d.unmangle("_51")+ c+"@")}}else switch(a.host){default:if(f=a.auth,null==a.auth)b.add(d.unmangle("_51")+c);else switch(a.auth){default:b.add(d.unmangle("_51")+f+"@"+e)}}b.add(a.path.split("/").map(r.urlEncode).join("/"));f=a.query;if(null!=f)switch(f){default:b.b+=p.string("?"+f)}f=a.hash;if(null!=f)switch(f){default:b.b+=p.string("#"+f)}a.payload=b.b};u.toString=function(a){var b=a.scheme;if(null==b)return a.payload;switch(b){default:return""+a.scheme+":"+a.payload}};u.parse=function(a){if(null==a)return u.parse(""); a=r.trim(a);if(r.startsWith(a,d.unmangle("_0")))return{scheme:d.unmangle("_1"),payload:q.substr(a,5,null)};var b=new ka("^(([a-zA-Z][a-zA-Z0-9\\-]*):)?((//(([^@/]+)@)?([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?)$",""),c=new ka("^(\\[(.*)\\]|([^:]*))(:(\\d*))?$","");b.match(a);var e=b.matched(7);if(null==e)a=[];else switch(e){default:a=[];for(var f=0,e=e.split(",");f<e.length;){var g=e[f];++f;a.push(function(a){c.match(g);a=c.matched(3);var b=c.matched(2);if(null!=b)switch(b){default:if(null==a)a="["+ b+"]";else switch(a){default:throw new n(d.unmangle("_3"));}}b=c.matched(5);if(null==b)b=null;else switch(b){default:if(b=p.parseInt(b),null==b)throw new n(d.unmangle("_4"));}if(null!=b){if(65535<b||0>=b)throw new n(d.unmangle("_4"));a=""+a+":"+b}return a}(this))}}f=r.urlDecode(b.matched(8));0<a.length&&"/"!=f.charAt(0)&&(f="/"+f);return{scheme:b.matched(2),payload:b.matched(3),host:a[0],hosts:a,auth:b.matched(6),path:U.ofString(f),query:b.matched(10),hash:b.matched(12)}};var gb=function(a,b){this.name= a;this.value=b};f["tink.core.NamedWith"]=gb;gb.__name__=["tink","core","NamedWith"];gb.prototype={__class__:gb};var Gb=function(){};f["tink.macro.DirectType"]=Gb;Gb.__name__=["tink","macro","DirectType"];var qb={};f["tink.url._Auth.Auth_Impl_"]=qb;qb.__name__=["tink","url","_Auth","Auth_Impl_"];qb._new=function(a,b){return""+a+":"+b};qb.get_user=function(a){return null==a?null:a.split(":")[0]};qb.get_password=function(a){return null==a?null:a.split(":")[1]};var rb={};f["tink.url._Host.Host_Impl_"]= rb;rb.__name__=["tink","url","_Host","Host_Impl_"];rb._new=function(a,b){var c;if(null==b)c=a;else{if(65535<b||0>=b)throw new n(d.unmangle("_4"));c=""+a+":"+b}return c};rb.get_name=function(a){if(null==a)return null;a=a.split("]");switch(a.length){case 1:return a[0].split(":")[0];case 2:return a[0]+"]";default:throw new n(d.unmangle("_3"));}};rb.get_port=function(a){if(null==a)return null;a=a.split("]");switch(a.length){case 1:a=a[0].split(":")[1];if(null==a)return null;switch(a){default:return p.parseInt(a)}case 2:a= a[1].split(":")[1];if(null==a)return null;switch(a){default:return p.parseInt(a)}default:throw new n(d.unmangle("_3"));}};var U={};f["tink.url._Path.Path_Impl_"]=U;U.__name__=["tink","url","_Path","Path_Impl_"];U.parts=function(a){var b=[],c=0;for(a=a.split("/");c<a.length;){var e=a[c];++c;""!=e&&b.push(e)}return b};U.get_absolute=function(a){return"/"==a.charAt(0)};U.get_isDir=function(a){return"/"==a.charAt(a.length-1)};U._new=function(a){return a};U.join=function(a,b){if(""==b)return a;if("/"== b.charAt(0))return b;if("/"==a.charAt(a.length-1))return U.ofString(a+b);var c=a.lastIndexOf("/");switch(c){case -1:return b;default:return U.ofString(q.substr(a,0,c+1)+b)}};U.ofString=function(a){return U.normalize(a)};U.normalize=function(a){a=r.trim(r.replace(a,"\\","/"));if("."==a)return d.unmangle("_5");var b=r.endsWith(a,d.unmangle("_6"))||r.endsWith(a,"/")||r.endsWith(a,d.unmangle("_7")),c=[],e=r.startsWith(a,"/"),f=0,g=0;for(a=a.split("/");g<a.length;){var h=a[g];++g;var l=h=r.trim(h);switch(h){case "":break; case ".":break;case "..":null==c.pop()&&f++;break;default:c.push(l)}}if(e)c.unshift("");else for(e=0;e<f;)e++,c.unshift(d.unmangle("_8"));b&&c.push("");return c.join("/")};var Ra={};f["tink.url._Query.Query_Impl_"]=Ra;Ra.__name__=["tink","url","_Query","Query_Impl_"];Ra.parse=function(a){return new da(a,"&","=",0)};Ra.iterator=function(a){return new da(a,"&","=",0)};Ra.toMap=function(a){var b=new Q;for(a=new da(a,"&","=",0);a.hasNext();){var c=a.next();b.set(c.name,c.value)}return b};Ra.ofObj=function(a){for(var b= [],c=0,e=A.fields(a);c<e.length;){var d=e[c];++c;b.push(encodeURIComponent(d)+"="+encodeURIComponent(a[d]));b}return b.join("&")};Ra.build=function(){return[]};Ra.parseString=function(a,b,c,e){null==e&&(e=0);null==c&&(c="=");null==b&&(b="&");return new da(a,b,c,e)};var sb={};f["tink.url._Query.QueryStringBuilder_Impl_"]=sb;sb.__name__=["tink","url","_Query","QueryStringBuilder_Impl_"];sb._new=function(){return[]};sb.add=function(a,b,c){a.push(encodeURIComponent(b)+"="+encodeURIComponent(c));return a}; sb.toString=function(a){return a.join("&")};var da=function(a,b,c,e){if(null==a)this.s="";else switch(a){default:this.s=a}this.sep=b;this.set=c;this.pos=e};f["tink.url._Query.QueryStringParser"]=da;da.__name__=["tink","url","_Query","QueryStringParser"];da.trimmedSub=function(a,b,c){for(;32>=a.charCodeAt(b);)b++;if(c<a.length-1)for(;32>=a.charCodeAt(c);)c--;return a.substring(b,c)};da.prototype={hasNext:function(){return this.pos<this.s.length},next:function(){var a=this.s.indexOf(this.sep,this.pos); -1==a&&(a=this.s.length);var b=this.s.indexOf(this.set,this.pos),c=this.pos;this.pos=a+this.sep.length;return-1==b||b>a?new gb(r.urlDecode(da.trimmedSub(this.s,c,a)),""):new gb(r.urlDecode(da.trimmedSub(this.s,c,b)),r.urlDecode(da.trimmedSub(this.s,b+this.set.length,a)))},__class__:da};var Ib=0;Array.prototype.indexOf&&(q.indexOf=function(a,b,c){return Array.prototype.indexOf.call(a,b,c)});f.Math=Math;String.prototype.__class__=f.String=String;String.__name__=["String"];f.Array=Array;Array.__name__= ["Array"];Date.prototype.__class__=f.Date=Date;Date.__name__=["Date"];var Kb=f.Int={__name__:["Int"]},Lb=f.Dynamic={__name__:["Dynamic"]},Db=f.Float=Number;Db.__name__=["Float"];var Eb=f.Bool=Boolean;Eb.__ename__=["Bool"];var Bb=f.Class={__name__:["Class"]},Cb={};null==Array.prototype.map&&(Array.prototype.map=function(a){for(var b=[],c=0,e=this.length;c<e;){var d=c++;b[d]=a(this[d])}return b});null==Array.prototype.filter&&(Array.prototype.filter=function(a){for(var b=[],c=0,e=this.length;c<e;){var d= this[c++];a(d)&&b.push(d)}return b});Ua.content=[{name:"__",data:"eyJfMCI6ImRhdGE6IiwiXzEiOiJkYXRhIiwiXzIiOiJFUmVnOjptYXRjaGVkIiwiXzMiOiJhc3NlcnQiLCJfNCI6IkludmFsaWQgcG9ydCIsIl81IjoiLi8iLCJfNiI6Ii8uLiIsIl83IjoiLy4iLCJfOCI6Ii4uIiwiXzkiOiIweCIsIl8xMCI6InVoQUZ6IiwiXzExIjoicE9pZCIsIl8xMiI6InhhYXhhIiwiXzEzIjoiZFNWS2N6IiwiXzE0IjoieGFaWnIiLCJfMTUiOiJkc29palYiLCJfMTYiOiJzZWNyZXRtZWRpYSIsIl8xNyI6InRvdG90b3RvdCIsIl8xOCI6IkNhbm5vdCBkZWNvZGUgc3RyaW5nOiBrZXkgaXMgaW52YWxpZCIsIl8xOSI6IlBhdGggZGVjb2RpbmcgZXJyb3I6IFwiIiwiXzIwIjoiXCIgZm9yIHBhdGggIiwiXzIxIjoic20iLCJfMjIiOiJ0byIsIl8yMyI6ImFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1NjciLCJfMjQiOiJBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWjIzNDU2NyIsIl8yNSI6Ikhvc3QgZGVjb2RpbmcgZXJyb3I6IFwiIiwiXzI2IjoiXCIgZm9yIGhvc3QgIiwiXzI3IjoiaHR0cHMiLCJfMjgiOiJodHRwIiwiXzI5IjoibG9nIiwiXzMwIjoiOi8vIiwiXzMxIjoicHJveHkiLCJfMzIiOiJ1cmwiLCJfMzMiOiJjb21tZW50IiwiXzM0Ijoib3B0aW9ucyIsIl8zNSI6ImZyb21qcyIsIl8zNiI6IndoaXRlTGlzdEFsbCIsIl8zNyI6IihmdW5jdGlvbigpe1xuXHRcdGlmKCB0eXBlb2Ygd2luZG93ID09IFwidW5kZWZpbmVkXCIgfHwgdHlwZW9mIGxvY2F0aW9uID09IFwidW5kZWZpbmVkXCIgKSB7XG4gICAgICAvLyBub2RlanMgY2FzZVxuXHRcdFx0cmV0dXJuIHRydWU7XG5cdFx0fVxuXHRcdHZhciB3aW4gPSB3aW5kb3c7XG5cdFx0dHJ5IHtcblx0XHRcdHdpbiA9IHdpbmRvdy50b3A7XG5cdFx0fVxuICAgIGNhdGNoKGUpIHt9XG4gICAgdHJ5e1xuICAgICAgcmV0dXJuIHdpbi5sb2NhbFN0b3JhZ2UuZ2V0SXRlbShcIiIsIl8zOCI6InNlY3JldG1lZGlhLmVuYWJsZURlYnVnIiwiXzM5IjoiXCIpID09PSBcInRydWVcIiB8fFxuICAgICAgICB3aW5kb3cubG9jYWxTdG9yYWdlLmdldEl0ZW0oXCIiLCJfNDAiOiJcIikgPT09IFwidHJ1ZVwiIHx8XG4gICAgICAgIFtcImxvY2FsaG9zdFwiLCBcIjEyNy4wLjAuMVwiXS5pbmRleE9mKCBsb2NhdGlvbi5ob3N0bmFtZSApID4gLTE7XG4gICAgfVxuICAgIGNhdGNoKGUpe1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblx0fSkoKSIsIl80MSI6ImZ1bmN0aW9uKCl7XG5cdFx0dmFyIGEgPSBhcmd1bWVudHMsYztcbiAgICAgICAgdHJ5IHsgYyA9IHdpbmRvdy50b3AuY29uc29sZTsgfSBjYXRjaCAoIGUgKSB7IGMgPSBjb25zb2xlOyB9XG4gICAgICAgIGMubG9nLmFwcGx5KGMsIGFbMF0pO1xuXHR9IiwiXzQyIjoiOjoiLCJfNDMiOiJhYm91dDpibGFuayIsIl80NCI6ImFib3V0OnNlbGYiLCJfNDUiOiJzbVBhdGNoZWQiLCJfNDYiOiJEb2N1bWVudCIsIl80NyI6IlNDUklQVCIsIl80OCI6InNyYyIsIl80OSI6Il9faWRfXyIsIl81MCI6Imh4X19jbG9zdXJlc19fIiwiXzUxIjoiLy8iLCJfNTIiOiJjaHJvbWUtZXh0ZW5zaW9uOi8vIiwiXzUzIjoiZGF0YS1zcmMiLCJfNTQiOiJsb2FkIiwiXzU1IjoiZXJyb3IiLCJfNTYiOiJJRlJBTUUiLCJfNTciOiJocmVmIiwiXzU4IjoidmFsdWUiLCJfNTkiOiJIVE1MRWxlbWVudCIsIl82MCI6Im9iamVjdCIsIl82MSI6InBhcmFtIiwiXzYyIjoibmFtZSIsIl82MyI6Im1vdmllIiwiXzY0IjoiRU1CRUQiLCJfNjUiOiJPQkpFQ1QiLCJfNjYiOiJTT1VSQ0UiLCJfNjciOiJWSURFTyIsIl82OCI6IkF0dHIiLCJfNjkiOiJIVE1MU291cmNlRWxlbWVudCIsIl83MCI6IlhNTEh0dHBSZXF1ZXN0IiwiXzcxIjoiSFRNTEltYWdlRWxlbWVudCIsIl83MiI6IkhUTUxJRnJhbWVFbGVtZW50IiwiXzczIjoiSFRNTFBhcmFtRWxlbWVudCIsIl83NCI6IkhUTUxFbWJlZEVsZW1lbnQiLCJfNzUiOiJIVE1MT2JqZWN0RWxlbWVudCIsIl83NiI6IkhUTUxWaWRlb0VsZW1lbnQiLCJfNzciOiJIVE1MTGlua0VsZW1lbnQiLCJfNzgiOiJIVE1MU2NyaXB0RWxlbWVudCIsIl83OSI6Ik1lc3NhZ2VFdmVudCIsIl84MCI6InNtOi8vIiwiXzgxIjoicGF0Y2hpbmcgZWxlbWVudHMgZmFpbGVkOiAiLCJfODIiOiJtdXRhbnRzISIsIl84MyI6ImFib3V0OiIsIl84NCI6Im1haWx0bzoiLCJfODUiOiJjaHJvbWU6IiwiXzg2IjoiamF2YXNjcmlwdDoiLCJfODciOiJjaHJvbWUtZXh0ZW5zaW9uOiIsIl84OCI6InVuZGVmaW5lZCIsIl84OSI6InBvc3RNZXNzYWdlIiwiXzkwIjoiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyIsIl85MSI6ImNvbmZpZ1VybCIsIl85MiI6IkludmFsaWQgY29uZmlnIFVSTDogIiwiXzkzIjoiaml0dGVyYmxhY2toYXdrLmNvbSIsIl85NCI6InBpbnNjaGVyY2VsZXJ5dG9wcGluZS5vcmciLCJfOTUiOiJnZW9tb3JwaG9sb2dpY2FsY2hyaXN0bWFzY2FjdHVzLmJpeiIsIl85NiI6ImdlbnVzYWNlcmFjb3VzdGljb3Bob2JpYS5jb20iLCJfOTciOiJtaW5vcml0eWxlYWRlcmlnbm9yYW50bHkuYml6IiwiXzk4IjoicGltYWFnZ2x1dGluYXRpb250ZXN0LmJpeiIsIl85OSI6Im9wdG9tZXRyeXByb3NwZWN0Lm9yZyIsIl8xMDAiOiJnZW51c3RhZG9ybmFsaW5kYW5lLmJpeiIsIl8xMDEiOiJvYmplY3RpZmljYXRpb25zY3JpbW1hZ2VsaW5lLm5ldCIsIl8xMDIiOiJwb3dlcnBsYW50aXNvZ29uaWMub3JnIiwiXzEwMyI6InVpbnRhdGhlcmlpZGFlYmx1ZWxhdy5jb20iLCJfMTA0IjoiY2FyZGlpZGFlZWR3YXJkYW50b255cmljaGFyZGxvdWlzLm9yZyIsIl8xMDUiOiJmcml0endtZWlzc25lcmlzdGhtdXNvZmRhcmllbi5jb20iLCJfMTA2IjoiaW1wZXR1c3BhY2tlZC5vcmciLCJfMTA3IjoidHVidWFpaXNsYW5kc2NsaWZ0b25pYW1vbm9waHlsbGEubmV0IiwiXzEwOCI6InRyaWNob2Nlcm9zbmVyb2RpYS5jb20iLCJfMTA5IjoiZm9vZGZhZGRpc3RicmFjaGludXMubmV0IiwiXzExMCI6ImRvY2NoYXN0ZW5pbmcub3JnIiwiXzExMSI6Imdvb2R0ZW1wZXJkb25hdGlvbi5vcmciLCJfMTEyIjoiZ3JhemVkcnVtcHVzcm9vbS5jb20iLCJfMTEzIjoiZXhoYXVzdG1hbmlmb2xkY2xvdWR5LmNvbSIsIl8xMTQiOiJnaW92YW5uaWJhdHRpc3RhY2lib21pc3Byb25vdW5jZS5vcmciLCJfMTE1IjoiY29tbXV0YXRpb25zZWR1bWFjcmUuY29tIiwiXzExNiI6Im1hbm9tZXRlcmJhdHRsZWF4ZS5uZXQiLCJfMTE3IjoicG9sbHlhbm5haXNoZnJhdGhvdXNlLm9yZyIsIl8xMTgiOiJpZFB1Ymxpc2hlciIsIl8xMTkiOiJzbVNka1ZlcnNpb24iLCJfMTIwIjoiZ2l0SGFzaCIsIl8xMjEiOiJjb25maWciLCJfMTIyIjoidHlwZSIsIl8xMjMiOiJwdWJsaXNoZXJJZCIsIl8xMjQiOiJwcm94eURvbWFpbiIsIl8xMjUiOiJsb2cgdXJsICIsIl8xMjYiOiIsIHBpbmd1cmwgIiwiXzEyNyI6IlJlZmxlY3QuZ2V0UHJvcGVydHkiLCJfMTI4IjoiZ2V0XyIsIl8xMjkiOiJzZXRfIiwiXzEzMCI6IlJlZmxlY3Quc2V0UHJvcGVydHkiLCJfMTMxIjoiZnVuY3Rpb24iLCJfMTMyIjoic3RyaW5nIiwiXzEzMyI6ImNsaWVudElkIiwiXzEzNCI6ImFwcEtleSIsIl8xMzUiOiJNaXNzaW5nIGZpZWxkcyBpbiB0aGUgZGF0YSBvYmplY3QuIE11c3QgaGF2ZSBjbGllbnRJZCBhbmQgYXBwS2V5IiwiXzEzNiI6Ii8vY2FjaGUuZnJlZWZvbnRzdG9yZS5jb20vYXJpYWwtIiwiXzEzNyI6Ii50dGY/IiwiXzEzOCI6IkBmb250LWZhY2UgeyBmb250LWZhbWlseTogXCJkYWZvbnRcIjsgc3JjOiB1cmwoIiwiXzEzOSI6Iik7fSIsIl8xNDAiOiJ0ZXh0L2NzcyIsIl8xNDEiOiIsICIsIl8xNDIiOiJzZWNyZXRtZWRpYS5jb25maWdGaWxlIiwiXzE0MyI6ImNvbmZpZyBpcyBzdG9yZWQgaW4gY2FjaGUgZm9yIGxhdGVyIHVzZSIsIl8xNDQiOiJiZWdpbiBwYXJzZSBjb25maWcgZmlsZSIsIl8xNDUiOiJFcnJvcjogY291bGQgbm90IGRlY3J5cHQgY29uZmlnIGZpbGU6ICIsIl8xNDYiOiJFcnJvciBsb2FkaW5nIGNvbmZpZyAoIiwiXzE0NyI6IikgPT4gb3VyIGRvbWFpbiBpcyBibG9ja2VkIiwiXzE0OCI6IlRpbWVvdXQgbG9hZGluZyBjb25maWcgKGFmdGVyICIsIl8xNDkiOiIgbXMpID0+IGRpc2FibGUiLCJfMTUwIjoiJW0vJWQvJXkiLCJfMTUxIjoiJVktJW0tJWQiLCJfMTUyIjoiUE0iLCJfMTUzIjoiQU0iLCJfMTU0IjoiJUk6JU06JVMgJXAiLCJfMTU1IjoiJUg6JU0iLCJfMTU2IjoiJUg6JU06JVMiLCJfMTU3IjoiRGF0ZS5mb3JtYXQgJSIsIl8xNTgiOiItIG5vdCBpbXBsZW1lbnRlZCB5ZXQuIiwiXzE1OSI6IlRvbyBtYW55IGFyZ3VtZW50cyIsIl8xNjAiOiJObyBzdWNoIGNvbnN0cnVjdG9yICIsIl8xNjEiOiJDb25zdHJ1Y3RvciAiLCJfMTYyIjoiIG5lZWQgcGFyYW1ldGVycyIsIl8xNjMiOiIgZG9lcyBub3QgbmVlZCBwYXJhbWV0ZXJzIiwiXzE2NCI6IiBpcyBub3QgYSB2YWxpZCBlbnVtIGNvbnN0cnVjdG9yIGluZGV4IiwiXzE2NSI6Il9fY2xhc3NfXyIsIl8xNjYiOiJfX3Byb3BlcnRpZXNfXyIsIl8xNjciOiJfX25hbWVfXyIsIl8xNjgiOiJfX2ludGVyZmFjZXNfXyIsIl8xNjkiOiJfX3N1cGVyX18iLCJfMTcwIjoiX19tZXRhX18iLCJfMTcxIjoicHJvdG90eXBlIiwiXzE3MiI6InNlY3JldG1lZGlhLmRldGVjdGlvblN0YXRlIiwiXzE3MyI6IkVycm9yOiB1bmFibGUgdG8gY29udmVydCBjYWNoZWQgZGV0ZWN0aW9uIHN0YXRlIHRvIERldGVjdGlvblN0YXRlIGVudW0iLCJfMTc0IjoiTm8gc3RyaW5nIG1hdGNoZWQiLCJfMTc1IjoiI19fZGVsaW1fXyMiLCJfMTc2IjoiIGlzIHdoaXRlIGxpc3RlZCIsIl8xNzciOiIgaXMgTk9UIHdoaXRlIGxpc3RlZCIsIl8xNzgiOiJGbGFzaFZhcnMiLCJfMTc5IjoiYXBwbGljYXRpb24veC1zaG9ja3dhdmUtZmxhc2giLCJfMTgwIjoiQWN0aXZlWE9iamVjdCIsIl8xODEiOiJjbGFzc2lkIiwiXzE4MiI6ImNsc2lkOmQyN2NkYjZlLWFlNmQtMTFjZi05NmI4LTQ0NDU1MzU0MDAwMCIsIl8xODMiOiIgLSBwaW5nIHN3ZiBsb2FkaW5nIHN0YXRlOiAiLCJfMTg0IjoiYWxsb3dzY3JpcHRhY2Nlc3MiLCJfMTg1IjoiYWx3YXlzIiwiXzE4NiI6ImFsbG93bmV0d29ya2luZyIsIl8xODciOiJhbGwiLCJfMTg4Ijoid2lkdGgiLCJfMTg5IjoiaGVpZ2h0IiwiXzE5MCI6ImJyaWRnZU5hbWUiLCJfMTkxIjoiX29iaiIsIl8xOTIiOiJUaW1lb3V0ISAiLCJfMTkzIjoib25GbGFzaExvYWRlZCBjYWxsZWQgYnkgQVMgIiwiXzE5NCI6ImVtYmVkIiwiXzE5NSI6IkVycm9yIGluIEFTOiAiLCJfMTk2IjoiY2FsbENhbGxiYWNrIEVycm9yOiBjb3VsZCBub3QgZmluZCB0aGUgRmxhc2ggb2JqZWN0IHRhZyAoaWQ9IiwiXzE5NyI6ImNhbGxDYWxsYmFjayIsIl8xOTgiOiJsb2FkZWQiLCJfMTk5IjoiYmxvY2tlZCIsIl8yMDAiOiJ0aW1lb3V0IiwiXzIwMSI6ImNhbGxpbmcgIiwiXzIwMiI6IiB3aXRoICIsIl8yMDMiOiJFcnJvciBjYWxsaW5nIGNhbGxiYWNrOiAiLCJfMjA0IjoiICgiLCJfMjA1IjoiY2JrXyIsIl8yMDYiOiJCcmlkZ2VCYXNlOjogY3JlYXRlQ2FsbGJhY2sgIiwiXzIwNyI6Imluc3RfIiwiXzIwOCI6IkJyaWRnZUJhc2U6OiBhZGRJbnN0YW5jZSAiLCJfMjA5IjoiZGl2IiwiXzIxMCI6ImNsYXNzIiwiXzIxMSI6ImlkIiwiXzIxMiI6InN0eWxlIiwiXzIxMyI6IndpZHRoOjFweDtoZWlnaHQ6MXB4O2JhY2tncm91bmQtY29sb3I6I2ZmMDAwMCIsIl8yMTQiOiJFcnJvcjogSmF2YXNjcmlwdCBET00gdGVzdCBmYWlsZWQgd2l0aCBhbiBlcnJvciAiLCJfMjE1IjoidGVzdERvbSByZXR1cm5zIGRpdiAiLCJfMjE2IjoiIGlzIGhpZGRlbjogIiwiXzIxNyI6IlRpbWVvdXQhIiwiXzIxOCI6Im9uRXJyb3IgIiwiXzIxOSI6Im9uU3RhdHVzICIsIl8yMjAiOiIgPT4gY2FuY2VsIHJlcXVlc3QiLCJfMjIxIjoiUGluZyBpcyBiYWNrIHdpdGggIiwiXzIyMiI6IlBpbmcgc3RhcnRzICgiLCJfMjIzIjoicGluZyIsIl8yMjQiOiJ0ZXN0IFVSTHMgaW4gcHJvZ2VzcywgdGhpcyBVUkwgaXMgbm90IGJsb2NrZWQ6ICIsIl8yMjUiOiJ0ZXN0IFVSTHMgZW5kLCBibG9ja2VkOiAiLCJfMjI2IjoidGVzdCBVUkxzIGVuZCwgdGltZW91dCEgIiwiXzIyNyI6InRlc3QgVVJMcyBlbmQsIE5PVCBibG9ja2VkICIsIl8yMjgiOiJTaG9ja3dhdmUgRmxhc2giLCJfMjI5IjoiU2hvY2t3YXZlIEZsYXNoIDIuMCIsIl8yMzAiOiJmbGFzaCBpcyBpbnN0YWxsZWQgYnV0IE5PVCBhY3RpdmF0ZWQiLCJfMjMxIjoiZmxhc2ggaXMgaW5zdGFsbGVkIGFuZCBhY3RpdmF0ZWQiLCJfMjMyIjoiZmxhc2ggaXMgTk9UIGluc3RhbGxlZCIsIl8yMzMiOiJ7e2RvbWFpbn19IiwiXzIzNCI6InRlc3REb20gPT4gYmxvY2tlZCAoIiwiXzIzNSI6InRlc3REb20gPT4gTk9UIGJsb2NrZWQgKCIsIl8yMzYiOiJ0ZXN0VXJscyA9PiBub3QgYmxvY2tlZCIsIl8yMzciOiJ0ZXN0VXJsc0luRmxhc2gsIGJsb2NrZWQgaW4gRmxhc2giLCJfMjM4IjoidGVzdFVybHNJbkZsYXNoLCB0aW1lb3V0IGluIEZsYXNoISIsIl8yMzkiOiJ0ZXN0VXJsc0luRmxhc2ggaXMgZGlzYWJsZWQgZnJvbSBjb25maWcgPT4gbm90IGJsb2NrZWQiLCJfMjQwIjoidGVzdFVybHMgPT4gYmxvY2tlZCIsIl8yNDEiOiJ0ZXN0VXJscyB0aW1lb3V0ID0+IGRpc2FibGVkIiwiXzI0MiI6InRlc3RVcmxzIGlzIGRpc2FibGVkIGZyb20gY29uZmlnID0+IG5vdCBibG9ja2VkIiwiXzI0MyI6IioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioiLCJfMjQ0IjoiRW5kIG9mIHByZS1kZXRlY3Rpb24sICIsIl8yNDUiOiJFcnJvciwgdGhlIE5PVF9CTE9DS0VEIHN0YXRlIGlzIG5vdCBleHBlY3RlZCBhZnRlciBwcmVkZXRlY3Rpb24iLCJfMjQ2IjoiRW5kIG9mIGRldGVjdGlvbiwgIiwiXzI0NyI6IiBjYWxsYmFja3MiLCJfMjQ4Ijoic3RhcnRpbmcgdmlydHVhbCBkb20iLCJfMjQ5Ijoid2hpdGVMaXN0IiwiXzI1MCI6IlZpcnREb206OiBFcnJvciBwYXJzaW5nIHRoZSB3aGl0ZSBsaXN0ICIsIl8yNTEiOiJWaXJ0RG9tOjogV2hpdGUgbGlzdCBpcyBub3ciLCJfMjUyIjoiVmlydHVhbERvbSBpcyBkaXNhYmxlZDogZnJvbSBjb25maWciLCJfMjUzIjoiRXJyb3IsIHRoZSBVTktOT1dOIHN0YXRlIGlzIG5vdCBleHBlY3RlZCBhZnRlciBkZXRlY3Rpb24iLCJfMjU0IjoiRXJyb3IsIHRoZSBCTE9DS0VEIHN0YXRlIGlzIG5vdCBleHBlY3RlZCBhZnRlciBwcmVkZXRlY3Rpb24iLCJfMjU1IjoiRGV0ZWN0aW9uIHN0YXRlIGNhY2hlZDogIiwiXzI1NiI6IioqIHN0YXJ0IGRldGVjdG9yIiwiXzI1NyI6IioqIHN0YXJ0IGlzIGJhY2sgIChub3QgYmxvY2tlZCkiLCJfMjU4IjoiKiogc3RhcnQgaXMgYmFjayAgKCIsIl8yNTkiOiIsIGJsb2NrZWQpIiwiXzI2MCI6IiwgZGlzYWJsZWQpIiwiXzI2MSI6IkNvbmZpZyBsb2FkZXIgaXMgYmFjayIsIl8yNjIiOiIvc2RrL3B1Yi9waW5nLnN3ZiIsIl8yNjMiOiJwcm94aWZ5ICIsIl8yNjQiOiJFcnJvciAiLCJfMjY1IjoiKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqIiwiXzI2NiI6IlBwdCBpcyBkaXNhYmxlZDogZnJvbSBjb25maWciLCJfMjY3IjoianMgcGluZyBjb25maWcgVVJMICIsIl8yNjgiOiJFcnJvcjogY29uZmlnIGNhbiBub3QgYmUgbnVsbCBoZXJlIHNpbmNlIG91ciBkb21haW4gaXMgbm90IGJsb2NrZWQiLCJfMjY5Ijoic2tpcCBmbGFzaCBwaW5nLCB0ZXN0UHJveHlEb21haW5JbkZsYXNoPSIsIl8yNzAiOiJmbGFzaCBwaW5nIGNvbmZpZyBVUkwgIiwiXzI3MSI6Im9uQ29uZmlnU3VjY2Vzc1BpbmdGbGFzaCIsIl8yNzIiOiJFcnJvciBsb2FkaW5nIGNvbmZpZyBmcm9tIEZsYXNoIiwiXzI3MyI6IlRJTUVPVVQgbG9hZGluZyBjb25maWcgaW4gRmxhc2giLCJfMjc0IjoiRXJyb3IgbG9hZGluZyBjb25maWcgaW4gSlMgPT4gb3VyIGRvbWFpbiBpcyBibG9ja2VkIiwiXzI3NSI6IlRJTUVPVVQgbG9hZGluZyBjb25maWcgaW4gSlMiLCJfMjc2IjoiVGhpcyB3aWxsIG5ldmVyIGhhcHBlbiwgc2luY2Ugc3RhcnRQcmVEZXRlY3Rpb24gd2lsbCBuZXZlciBiZSBjYWxsZWQgd2hlbiBhbiBlcnJvciBoYXMgb2NjdXJlZCB3aGlsZSBsb2FkaW5nIGNvbmZpZyIsIl8yNzciOiJFcnJvcjogdGhlIHN0YXRlICIsIl8yNzgiOiIgaXMgbm90IGV4cGVjdGVkIGFmdGVyIHByZWRldGVjdGlvbiIsIl8yNzkiOiJQcHQ6OiBCb290c3RyYXAiLCJfMjgwIjoidW5ibG9jayBjYWxsZWQgYnkgaG9zdCwgIiwiXzI4MSI6IlVuYmxvY2sgY29tZXMgYmFjayB3aXRoICIsIl8yODIiOiIgLT4gIiwiXzI4MyI6IkVycm9yIHdoaWxlIGNhbGxpbmcgdGhlIGNhbGxiYWNrIHBhc3NlZCB0byBjYms6ICIsIl8yODQiOiJjb25maWcudmFzdFVybCBkZXRlY3RlZCwgb3VyIHZhc3Qgd2lsbCBiZSBwcm94aWZpZWQgaW5zdGVhZCBvZiB0aGUgcHJvdmlkZWQgb25lICgiLCJfMjg1IjoiVW5ibG9jaywgaW5pdCBwZW5kaW5nLCBkZWxheSBleGVjdXRpb24iLCJfMjg2IjoiVW5ibG9jayBpcyBiYWNrIGFmdGVyIGluaXQiLCJfMjg3IjoicHJveHlCYXNlIiwiXzI4OCI6IiZhbXA7IiwiXzI4OSI6IiZsdDsiLCJfMjkwIjoiJmd0OyIsIl8yOTEiOiImcXVvdDsiLCJfMjkyIjoiJiMwMzk7IiwiXzI5MyI6IjAxMjM0NTY3ODlBQkNERUYiLCJfMjk0IjoiLnN3ZiIsIl8yOTUiOiJtcDQiLCJfMjk2IjoibXAzIiwiXzI5NyI6ImZsdiIsIl8yOTgiOiJtcGVnIiwiXzI5OSI6IndtdiIsIl8zMDAiOiJ3ZWJtIiwiXzMwMSI6IjNncCIsIl8zMDIiOiJmNHYiLCJfMzAzIjoiZjRtIiwiXzMwNCI6InVrbiIsIl8zMDUiOiJrZWVwUXVlcnlzdHJpbmcifQ"}]; var E={},wb=Ab.ArrayBuffer||aa;null==wb.prototype.slice&&(wb.prototype.slice=aa.sliceImpl);var vb=Ab.Uint8Array||oa._new;window.Fingerprint=function(a){var b={exports:{}};(function(a,e,d){"undefined"!==typeof b&&b.exports?b.exports=d():"function"===typeof define&&define.amd?define(d):e[a]=d()})("Fingerprint",this,function(){var a=function(a){var b,c;b=Array.prototype.forEach;c=Array.prototype.map;this.each=function(a,c,d){if(null!==a)if(b&&a.forEach===b)a.forEach(c,d);else if(a.length===+a.length)for(var e= 0,g=a.length;e<g&&c.call(d,a[e],e,a)!=={};e++);else for(e in a)if(a.hasOwnProperty(e)&&c.call(d,a[e],e,a)==={})break};this.map=function(a,b,e){var d=[];if(null==a)return d;if(c&&a.map===c)return a.map(b,e);this.each(a,function(a,c,g){d[d.length]=b.call(e,a,c,g)});return d};"object"==typeof a?(this.hasher=a.hasher,this.screen_resolution=a.screen_resolution,this.canvas=a.canvas,this.ie_activex=a.ie_activex):"function"==typeof a&&(this.hasher=a)};a.prototype={get:function(){var a=[];a.push(navigator.userAgent); a.push(navigator.language);a.push(screen.colorDepth);this.screen_resolution&&"undefined"!==typeof this.getScreenResolution()&&a.push(this.getScreenResolution().join("x"));a.push((new Date).getTimezoneOffset());a.push(this.hasSessionStorage());a.push(this.hasLocalStorage());a.push(!!window.indexedDB);document.body?a.push(typeof document.body.addBehavior):a.push("undefined");a.push(typeof window.openDatabase);a.push(navigator.cpuClass);a.push(navigator.platform);a.push(navigator.doNotTrack);a.push(this.getPluginsString()); this.canvas&&this.isCanvasSupported()&&a.push(this.getCanvasFingerprint());return this.hasher?this.hasher(a.join("###"),31):this.murmurhash3_32_gc(a.join("###"),31)},murmurhash3_32_gc:function(a,b){var c,d,f,h,l;c=a.length&3;d=a.length-c;f=b;for(l=0;l<d;)h=a.charCodeAt(l)&255|(a.charCodeAt(++l)&255)<<8|(a.charCodeAt(++l)&255)<<16|(a.charCodeAt(++l)&255)<<24,++l,h=3432918353*(h&65535)+((3432918353*(h>>>16)&65535)<<16)&4294967295,h=h<<15|h>>>17,h=461845907*(h&65535)+((461845907*(h>>>16)&65535)<<16)& 4294967295,f^=h,f=f<<13|f>>>19,f=5*(f&65535)+((5*(f>>>16)&65535)<<16)&4294967295,f=(f&65535)+27492+(((f>>>16)+58964&65535)<<16);h=0;switch(c){case 3:h^=(a.charCodeAt(l+2)&255)<<16;case 2:h^=(a.charCodeAt(l+1)&255)<<8;case 1:h^=a.charCodeAt(l)&255,h=3432918353*(h&65535)+((3432918353*(h>>>16)&65535)<<16)&4294967295,h=h<<15|h>>>17,f^=461845907*(h&65535)+((461845907*(h>>>16)&65535)<<16)&4294967295}f^=a.length;f^=f>>>16;f=2246822507*(f&65535)+((2246822507*(f>>>16)&65535)<<16)&4294967295;f^=f>>>13;f=3266489909* (f&65535)+((3266489909*(f>>>16)&65535)<<16)&4294967295;return(f^f>>>16)>>>0},hasLocalStorage:function(){try{return!!window.localStorage}catch(a){return!0}},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(a){return!0}},isCanvasSupported:function(){var a=document.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&/Trident/.test(navigator.userAgent)?!0:!1},getPluginsString:function(){return this.isIE()&& this.ie_activex?this.getIEPluginsString():this.getRegularPluginsString()},getRegularPluginsString:function(){return this.map(navigator.plugins,function(a){var b=this.map(a,function(a){return[a.type,a.suffixes].join("~")}).join(",");return[a.name,a.description,b].join("::")},this).join(";")},getIEPluginsString:function(){return window.ActiveXObject?this.map("ShockwaveFlash.ShockwaveFlash;AcroPDF.PDF;PDF.PdfCtrl;QuickTime.QuickTime;rmocx.RealPlayer G2 Control;rmocx.RealPlayer G2 Control.1;RealPlayer.RealPlayer(tm) ActiveX Control (32-bit);RealVideo.RealVideo(tm) ActiveX Control (32-bit);RealPlayer;SWCtl.SWCtl;WMPlayer.OCX;AgControl.AgControl;Skype.Detection".split(";"), function(a){try{return new ActiveXObject(a),a}catch(b){return null}}).join(";"):""},getScreenResolution:function(){return[screen.height,screen.width]},getCanvasFingerprint:function(){var a=document.createElement("canvas"),b=a.getContext("2d");b.textBaseline="top";b.font="14px 'Arial'";b.textBaseline="alphabetic";b.fillStyle="#f60";b.fillRect(125,1,62,20);b.fillStyle="#069";b.fillText("https://web.archive.org/web/20160727084116/http://valve.github.io",2,15);b.fillStyle="rgba(102, 204, 0, 0.7)";b.fillText("https://web.archive.org/web/20160727084116/http://valve.github.io",4,17);return a.toDataURL()}}; return a});return b.exports}(this);hb.gitHash=r.trim("55955cf\n");V.USE_CACHE=!1;V.USE_ENUM_INDEX=!1;V.BASE64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:";N.DEFAULT_RESOLVER=D;N.BASE64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:";P.CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";P.BYTES=I.ofString(P.CHARS);ta.count=0;Z.i64tmp=new jb(0,0);y.__toStr={}.toString;oa.BYTES_PER_ELEMENT=1;d.map=JSON.parse(Ua.getString("__"));G.REF=[d.unmangle("_57"), d.unmangle("_48")];G.POSSIBLE_REF=[d.unmangle("_57"),d.unmangle("_48"),d.unmangle("_1"),d.unmangle("_58")];pa.reattach=[d.unmangle("_47"),d.unmangle("_64"),d.unmangle("_65"),d.unmangle("_66"),d.unmangle("_67")];S.PREFIX=d.unmangle("_80");l.proxified=!1;l.windows=[];l.scriptQueue=[];l.loadingScript=!1;fa.VERSION="1.0.0";fa.AVAILABLE_DOMAINS=[d.unmangle("_93"),d.unmangle("_94"),d.unmangle("_95"),d.unmangle("_96"),d.unmangle("_97"),d.unmangle("_98"),d.unmangle("_99"),d.unmangle("_100"),d.unmangle("_101"), d.unmangle("_102"),d.unmangle("_103"),d.unmangle("_104"),d.unmangle("_105"),d.unmangle("_106"),d.unmangle("_107"),d.unmangle("_108"),d.unmangle("_109"),d.unmangle("_110"),d.unmangle("_111"),d.unmangle("_112"),d.unmangle("_113"),d.unmangle("_114"),d.unmangle("_115"),d.unmangle("_116"),d.unmangle("_117")];K.DOUBLE_SLASH="//";K.SPECIAL_PREFIXES=[d.unmangle("_83"),d.unmangle("_84"),d.unmangle("_85"),d.unmangle("_86"),d.unmangle("_87"),d.unmangle("_0")];nb.LOADED=d.unmangle("_198");nb.BLOCKED=d.unmangle("_199"); nb.TIMEOUT=d.unmangle("_200");va.FLASHVAR_BRIDGE_NAME=d.unmangle("_190");Na.TIMEOUT_DELAY_MS=2E3;F.SCHEMES=function(a){a=new Q;var b=d.unmangle("_27");null!=E[b]?a.setReserved(b,1):a.h[b]=1;b=d.unmangle("_28");null!=E[b]?a.setReserved(b,0):a.h[b]=0;b=d.unmangle("_29");null!=E[b]?a.setReserved(b,2):a.h[b]=2;return a}(this);F.SWF_EXT=d.unmangle("_294");F.KEEP_EXTENSIONS=[d.unmangle("_295"),d.unmangle("_296"),d.unmangle("_297"),d.unmangle("_298"),d.unmangle("_299"),d.unmangle("_300"),d.unmangle("_301"), d.unmangle("_302"),d.unmangle("_303"),d.unmangle("_304")];ca.BASE64=d.unmangle("_90");ca.BASE32=d.unmangle("_23");W.keys=new eb(d.unmangle("_21"),d.unmangle("_22"));H.keys=new eb(d.unmangle("_16"),d.unmangle("_17"));H.SALT_LENGTH=8;H.SEPARATOR=":";H.replacements=function(a){a=new Q;var b=[d.unmangle("_10"),d.unmangle("_11"),d.unmangle("_12")];null!=E["+"]?a.setReserved("+",b):a.h["+"]=b;b=[d.unmangle("_13"),d.unmangle("_14"),d.unmangle("_15")];null!=E["/"]?a.setReserved("/",b):a.h["/"]=b;return a}(this); Oa.AMP="&";wa.SEPARATOR=":";ia.CHARS=d.unmangle("_24");ia.BYTES=I.ofString(ia.CHARS);B.KEY_ENABLE_LOGS=d.unmangle("_38");B.isDebugExpr=d.unmangle("_37")+B.KEY_ENABLE_LOGS+d.unmangle("_39")+B.KEY_ENABLE_LOGS+d.unmangle("_40");B.traceFunction=d.unmangle("_41");$a.PERCENT_SENT=1;ab.logUrl="https://web.archive.org/web/20160727084116/http://api.secretmedia.com/logs";O.DETECTION_STATE_KEY=d.unmangle("_172");O.CONFIG_FILE_KEY=d.unmangle("_142");fb.TIMEOUT_DURATION_MS=1E3;t.NO_MESSAGE=0;t.ERROR_IN_FLASH_TIMEOUT=1;t.ERROR_IN_JS_TIMEOUT=2;t.ERROR_EXTERNALINTERFACE_NOT_AVAILABLE= 3;t.ERROR_TEST_MEDIAFILE_TIMEOUT=4;t.ERROR_TEST_VAST_PARSE_VAST_ERROR=5;t.ERROR_TEST_VAST_LOAD_VAST_TIMEOUT=6;t.ERROR_COULD_NOT_DECRYPT_APP_KEY=7;t.ERROR_COULD_NOT_MAKE_CONFIG_FILE_URL=8;t.ERROR_COULD_NOT_GET_FINGERPRINT=11;t.ERROR_COULD_NOT_DECRYPT_CONFIG_FILE=14;t.ERROR_IMPOSSIBLE_STATE=16;t.DISABLED_BACKDOOR_DETECTED_DISABLE_SM=101;t.DISABLED_TIMEOUT_LOADING_CONFIG_JS=102;t.DISABLED_TIMEOUT_LOADING_CONFIG_FLASH=104;t.DISABLED_BROWSER_NOT_SUPPORTED=105;t.DISABLED_FROM_CONFIG_FILE=111;t.DISABLED_DETECTION_FAILED= 114;t.DISABLED_ERROR_LOADING_CONFIG_FILE_FLASH_BLOCKED=200;t.DISABLED_ERROR_LOADING_CONFIG_FILE_JS_BLOCKED=202;t.BLOCKED_TESTDOM_BLOCKED=302;t.BLOCKED_IN_JS_URL_BLOCKED=303;t.BLOCKED_IN_FLASH_URL_BLOCKED=304;t.BLOCKED_TESTVAST_BLOCKED=305;t.BLOCKED_FROM_SDK_CONSTRUCTOR=308;t.NOTBLOCKED_TESTVAST_NOT_BLOCKED=401;t.NOTBLOCKED_NO_TESTVAST_AND_NOTHING_BLOCKED=402;sa.TIMEOUT_DELAY_MS=2E3;ja.CONFIG_FILE_KEY=d.unmangle("_142");u.SCHEME=2;u.PAYLOAD=3;u.AUTH=6;u.HOSTNAMES=7;u.PATH=8;u.QUERY=10;u.HASH=12;U.root= "/";Ya.main()})("undefined"!=typeof console?console:{log:function(){}},"undefined"!=typeof window?window:exports,"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this); var JWP_setup_obj = { playlist: [ { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170303770.sd.mp4?s=398d7cdff9aa5dce9518ae6570c252d076bf1289&profile_id=164", title:"Mutual Funds Vs ETFs", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/169_mutualfundsvsetfs-2_421x236.jpg?quality=80&width=680&height=680" }, { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170303837.sd.mp4?s=5ecf3e04ce31005c901de15ce231292e14737667&profile_id=164", title:"Weighted Average Cost Of Capital (WACC)", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/120_wacc_2_421x236.jpg?quality=80&width=680&height=680" }, { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170303762.sd.mp4?s=a3e61bc130b53572a4a2ad2f2395c190176c1bee&profile_id=164", title:"How to use Straddle Strategies", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/165_straddlestrategies_421x236.jpg?quality=80&width=680&height=680" }, { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170304341.sd.mp4?s=ec1f7b85540b30b12501fde857527fb88678bd0c&profile_id=164", title:"R-Squared", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/235_rsquared-2_421x236.jpg?quality=80&width=680&height=680" }, { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170303805.sd.mp4?s=95779d20d9a0df8b1e44d720a44341b8ce5a5e5e&profile_id=164", title:"EBITDA", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/182_ebitda-2_421x236.jpg?quality=80&width=680&height=680" }, { file:"https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170304285.sd.mp4?s=9eeffbe2e22d3538add328c04a335c71fe6cec77&profile_id=164", title:"Debentures", image:"https://web.archive.org/web/20160727084116/http://i.investopedia.com/thumbnails/live/210_debentures_421x236.jpg?quality=80&width=680&height=680" } ], //primary:"flash", ga: {}, autostart: false, mute: false, width: "320", height: "213", aspectratio: "", sharing: {}, advertising: { client: "googima", tag: "https://web.archive.org/web/20160727084116/http://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu="+(function() {if (typeof updateAup === 'function' && sem_pageview !== 'undefined' && sem_pageview == true) {return updateAup("/8397/INV-NA/Investing/Investing/IC-Video/Homepage");} else {return "/8397/INV-NA/Investing/Investing/IC-Video/Homepage";}})()+"&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=www.investopedia.com/dictionary/&correlator=9182594795", companiondiv: { id:"AdSlot_AF-Top-Leaderboard", width:728, height:90 } }, listbar: 1 };</script><script type="text/javascript" data-id="script-jwp-load"> var jwplayer_key = "JFi66ITl4FzZV4XIOs0h9rkFsn79Athe2sYGLg=="; function load_jwp_library(callback){ $(document).trigger( "jwplayer-load-init"); var tag = document.createElement("script"), p, node = document.getElementsByTagName("script")[0]; tag.async = true; if (callback) { tag.onload = callback; } tag.src = "https://web.archive.org/web/20160727084116/http://i.investopedia.com/public/js/jwplayer/v7_2_4/jwplayer.js?v=5.398"; node.parentNode.insertBefore(tag, node); } </script> <script type="text/javascript"> load_jwp_library(function(){ var player_id = "JWPVideo"; jwplayer.key = jwplayer_key; window.jwplayer_loaded = true; window.video_player; JWP_setup_obj.advertising.tag = "https://web.archive.org/web/20160727084116/http://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu="+(function() {if (typeof updateAup === 'function' && sem_pageview !== 'undefined' && sem_pageview == true) {return updateAup("/8397/INV-NA/Investing/Investing/IC-Video/Homepage");} else {return "/8397/INV-NA/Investing/Investing/IC-Video/Homepage";}})()+"&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=www.investopedia.com/dictionary/&correlator=9182594795" + simpUrl; try { var smUrl = JWP_setup_obj.advertising.tag + encodeURIComponent(encodeURIComponent("&secretmedia=1")); var smkey = "eyJwdWJsaXNoZXJJZCI6IjkyIn0="; var sm = new SMSdk(smkey, ""); sm.unblock(smUrl, function(vast_url, hasAdBlock) { if(hasAdBlock) { JWP_setup_obj.advertising.tag = vast_url; } window.video_player = jwplayer(player_id).setup(JWP_setup_obj); trackJwpEvents(player_id); jwplayer().setVolume(100); $(document).trigger( "jwplayer-initial-setup", window.video_player); }); } catch(err){ JWP_setup_obj.advertising.tag = "https://web.archive.org/web/20160727084116/http://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu="+(function() {if (typeof updateAup === 'function' && sem_pageview !== 'undefined' && sem_pageview == true) {return updateAup("/8397/INV-NA/Investing/Investing/IC-Video/Homepage");} else {return "/8397/INV-NA/Investing/Investing/IC-Video/Homepage";}})()+"&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=www.investopedia.com/dictionary/&correlator=9182594795" + simpUrl; window.video_player = jwplayer(player_id).setup(JWP_setup_obj); trackJwpEvents(player_id); jwplayer().setVolume(100); $(document).trigger( "jwplayer-initial-setup", window.video_player); } }); </script> <script data-id="script-jwp-event-tracking"> function trackJwpEvents(player_id) { var jInst = jwplayer(player_id); dataLayer.push({ 'event': 'jwplayerInitialized' }); window._cbv = window._cbv || []; window._cbv.push(jInst); var sT = false; var metadata_c = { c3: "www.investopedia.com", c4: "*null", c6: "*null", ns_st_ci: "170303770.sd.mp4?s=398d7cdff9aa5dce9518ae6570c252d076bf1289&profile_id=164", ns_st_cl: "0", ns_st_st: _pageTaxonomy.Advertising, ns_st_pu: "Investopedia", ns_st_pr: "Mutual Funds Vs ETFs", ns_st_ep: "*null", ns_st_sn: "*null", ns_st_en: "*null", ns_st_ge: "Business/Finance" }; var metadata_a = { c3: "www.investopedia.com", c4: "*null", c6: "*null", ns_st_ci: "170303770.sd.mp4?s=398d7cdff9aa5dce9518ae6570c252d076bf1289&profile_id=164", ns_st_cl: 0 }; /* Variable from expand macros at https://support.google.com/dfp_premium/answer/1242718?hl=en */ var moatParam = { isInit: false, container: document.getElementById('moat-video-helper'), ids: { 'level1': '%eadv!', 'level2': '%ebuy!', 'level3': '%eaid!', 'level4': '%ecid!', 'slicer1': '9444174', 'slicer2': '' }, duration: 0, partnerCode: 'investopediajsvideoint943485335206', url: 'https://web.archive.org/web/20160727084116/http://player.vimeo.com/external/170304285.sd.mp4?s=9eeffbe2e22d3538add328c04a335c71fe6cec77&profile_id=164' } jInst.on('adTime', function(event) { if (!sT) { metadata_a.ns_st_cl = Math.round(event.duration)*1000; myStreamingTag.playVideoAdvertisement(metadata_a); if( !moatParam.isInit ) { moatParam.duration = Math.round(event.duration) || 0; initMoatTracking(moatParam.container, moatParam.ids, moatParam.duration, moatParam.partnerCode, moatParam.url); moatParam.isInit = true; } sT = true; } }); jInst.on('adComplete', function(event) { myStreamingTag.stop(); }); jInst.on('play', function(event) { if( !moatParam.isInit ) { moatParam.duration = moatParam.duration || 0; initMoatTracking(moatParam.container, moatParam.ids, moatParam.duration, moatParam.partnerCode, moatParam.url); moatParam.isInit = true; } metadata_c.ns_st_cl = Math.round(this.getDuration())*1000; myStreamingTag.playVideoContentPart(metadata_c); }); jInst.on('pause', function(event) { myStreamingTag.stop(); }); jInst.on('complete', function(event) { myStreamingTag.stop(); }); };</script> </div> </div> <div class="video-playlist"> <ul> <li id="item0"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/mutual-funds-vs-etfs/"> <span style="display:none;" id="play0" class="prefix">Playing:</span> Mutual Funds Vs ETFs </a> </h3> </li> <li id="item1"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/what-is-wacc/"> <span style="display:none;" id="play1" class="prefix">Playing:</span> Weighted Average Cost Of Capital (WACC) </a> </h3> </li> <li id="item2"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/straddle-strategies/"> <span style="display:none;" id="play2" class="prefix">Playing:</span> How to use Straddle Strategies </a> </h3> </li> <li id="item3"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/r-squared/?rp=i"> <span style="display:none;" id="play3" class="prefix">Playing:</span> R-Squared </a> </h3> </li> <li id="item4"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/earnings-before-interest-taxes-depreciation-and-amortization-ebitda/?rp=i"> <span style="display:none;" id="play4" class="prefix">Playing:</span> EBITDA </a> </h3> </li> <li id="item5"> <h3> <a href="/web/20160727084116/http://www.investopedia.com/video/play/debentures/?rp=i"> <span style="display:none;" id="play5" class="prefix">Playing:</span> Debentures </a> </h3> </li> </ul> </div> </div> <!-- Video end --> <!-- Top Searched Definitions start --> <div class="title"><h2>Top Searched Definitions</h2></div> <div class="box col-2 small-item-title autoheight-item clear"> <ol class="list"> <li class="item first"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/r/rsi.asp">Relative Strength Index - RSI</a> </h3> </li> <li class="item second "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/l/LRATC.asp">Long-Run Average Total Cost - LRATC</a> </h3> </li> <li class="item third "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/b/BVPS.asp">Book Value Of Equity Per Share - BVPS</a> </h3> </li> <li class="item nth "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/dscr.asp">Debt-Service Coverage Ratio - DSCR</a> </h3> </li> <li class="item nth "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/eps.asp">Earnings Per Share - EPS</a> </h3> </li> <li class="item nth "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/l/leveragedbuyout.asp">Leveraged Buyout - LBO</a> </h3> </li> </ol> </div> <!-- Top Searched Definitions end --> <!-- Editor's Picks start --> <div class="title"><h2>Editor's Picks</h2></div> <div class="box col-2 small-item-title no-description autoheight-item clear"> <!-- Related ContentA - old. Block name: dictionary_editor_picked_term --><ol class="list gaEvent"> <li class="item first "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/b/bondquote.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 1" data-label="Bond Quote | /terms/b/bondquote.asp"> Bond Quote </a> </h3> <div class="item-description"> The price at which a bond is trading. A bond quote ... </div> </li> <li class="item second "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/errorterm.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 2" data-label="Error Term | /terms/e/errorterm.asp"> Error Term </a> </h3> <div class="item-description"> A variable in a statistical and/or mathematical model, ... </div> </li> <li class="item third "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/i/investment-multiplier.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 3" data-label="Investment Multiplier | /terms/i/investment-multiplier.asp"> Investment Multiplier </a> </h3> <div class="item-description"> The term investment multiplier refers to the concept ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/a/average-propensity-to-consume.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 4" data-label="Average Propensity To Consume | /terms/a/average-propensity-to-consume.asp"> Average Propensity To Consume </a> </h3> <div class="item-description"> The average propensity to consume (APC) refers to the ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/l/least-squares-method.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 5" data-label="Least Squares Method | /terms/l/least-squares-method.asp"> Least Squares Method </a> </h3> <div class="item-description"> A statistical technique to determine the line of best ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/c/commoditize.asp" data-cat="content_list" data-act="dictionary_editor_picked_term | Title | 6" data-label="Commoditize | /terms/c/commoditize.asp"> Commoditize </a> </h3> <div class="item-description"> The act of making a process, good or service easy to ... </div> </li> </ol> </div> <!-- Editor's Picks end --> <!-- Recently Added start --> <div class="title"> <div class="info"><a href="/web/20160727084116/http://www.investopedia.com/terms/recentlyadded/">View All</a></div> <h2><a href="/web/20160727084116/http://www.investopedia.com/terms/recentlyadded/">Recently Added</a></h2> </div> <div class="box no-image no-category smallspace-item"> <!-- Related ContentA - old. Block name: Dictionary Recently Added Term --><ol class="list gaEvent"> <li class="item first "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/s/soft-fork.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 1" data-label="Soft Fork | /terms/s/soft-fork.asp"> Soft Fork </a> </h3> <div class="item-description"> A soft fork (or sometimes softfork) is a change to the software protocol where only previously valid blocks/transactions are made invalid. Since old nodes will recognize the new blocks as valid, ... </div> </li> <li class="item second "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/h/hard-fork.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 2" data-label="Hard Fork | /terms/h/hard-fork.asp"> Hard Fork </a> </h3> <div class="item-description"> A hard fork (or sometimes hardfork) is a radical change to the protocol that makes previously invalid blocks/transactions valid (or vice-versa), and as such requires all nodes or users to upgrade ... </div> </li> <li class="item third "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/enron.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 3" data-label="Enron | /terms/e/enron.asp"> Enron </a> </h3> <div class="item-description"> A U.S. energy-trading and utilities company that housed one of the biggest accounting frauds in history. Enron's executives employed accounting practices that falsely inflated the company's revenues, ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/b/bailin.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 4" data-label="Bail-In | /terms/b/bailin.asp"> Bail-In </a> </h3> <div class="item-description"> A bail-in is an alternative to bail-outs of failing banks where investors take a loss rather than governments and taxpayers. </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/european-sovereign-debt-crisis.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 5" data-label="European Sovereign Debt Crisis | /terms/e/european-sovereign-debt-crisis.asp"> European Sovereign Debt Crisis </a> </h3> <div class="item-description"> During the European debt crisis several countries in the eurozone faced the collapse of major financial institutions, high government debt and rapidly rising bond yield spreads in government ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/i/italexit-italeave.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 6" data-label="Italexit (Italeave) | /terms/i/italexit-italeave.asp"> Italexit (Italeave) </a> </h3> <div class="item-description"> Italexit, short for "Italy exit," also known as Italeave, is an Italian derivative of the term Brexit, which refers to the June 2016 United Kingdom vote to leave the European Union. </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/f/frexit.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 7" data-label="Frexit | /terms/f/frexit.asp"> Frexit </a> </h3> <div class="item-description"> Frexit – short for "French exit" – is a French spinoff of the term Brexit, which emerged when the United Kingdom voted to leave the European Union in June of 2016. </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/european-free-trade-association-efta.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 8" data-label="The European Free Trade Association (EFTA) | /terms/e/european-free-trade-association-efta.asp"> The European Free Trade Association (EFTA) </a> </h3> <div class="item-description"> Learn about the European Free Trade Association (EFTA) </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/p/passporting.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 9" data-label="Passporting | /terms/p/passporting.asp"> Passporting </a> </h3> <div class="item-description"> Passporting is the exercise of the right for a firm registered in the European Economic Area (EEA) to do business in any other EEA state without needing further authorization in each country. ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/e/european-economic-area-eea-agreement.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 10" data-label="European Economic Area (EEA) Agreement | /terms/e/european-economic-area-eea-agreement.asp"> European Economic Area (EEA) Agreement </a> </h3> <div class="item-description"> The European Economic Area (EEA) Agreement is an agreement made in 1992 that brings together the European Union-member countries and the three EEA/EFTA states – Iceland, Liechtenstein and Norway ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/o/oustria.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 11" data-label="Oustria | /terms/o/oustria.asp"> Oustria </a> </h3> <div class="item-description"> Oustria, short for "Oust Austria," is an Austrian version of the term Brexit, which originated in June of 2016 when the United Kingdom voted to leave the European Union. </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/t/transatlantic-trade-and-investment-partnership-ttip.asp" data-cat="content_list" data-act="Dictionary Recently Added Term | Title | 12" data-label="Transatlantic Trade and Investment Partnership (TTIP) | /terms/t/transatlantic-trade-and-investment-partnership-ttip.asp"> Transatlantic Trade and Investment Partnership (TTIP) </a> </h3> <div class="item-description"> What is the Transatlantic Trade and Investment Partnership (TTIP)? </div> </li> </ol> </div> <!-- Recently Added end --> <style> .advisor-entry { padding:10px 0 0; background:#E9E9E9; margin-bottom:20px; margin-top:-30px; height: auto; display: inline-block; border: 1px solid #d6d9de; width:100%; } .advisor-entry a { text-decoration: none; } .advisor-entry .image { background: url('https://web.archive.org/web/20160727084116im_/http://i.investopedia.com/public/fa/img/advisor-computer.png') no-repeat; background-size: contain; display: inline-block; max-width: 320px; width:100%; height: 192px; } .advisor-entry > .inner { display: inline-block; text-align: left; vertical-align: top; padding: 10px 20px; } .advisor-entry h2 { font-size:30px; font-family: "sourcesanspro-light-webfont",Helvetica,Arial,Verdana,sans-serif; color:#005b9d; } .advisor-entry h3 { font-size: 17px; } .advisor-entry p { max-width: 340px; margin: 0px 0 13px; font-size: 15px; } .advisor-entry input { height: 40px; background-color: #8E3339; padding: 0; width: 100px; margin-right: 10px; font-size: 15px; font-family: "sourcesanspro-regular-webfont",Helvetica,Arial,Verdana,sans-serif; } .advisor-entry input.secondary { background-color: #DCDCDC; color: #58595B; } .advisor-entry input.secondary:hover { background-color: #C1C1C1; } @media only screen and (max-width: 768px) { .advisor-entry { width: calc(100% - 20px); text-align: center; } .advisor-entry .image { display: block; margin: auto; } .advisor-entry > .inner { display: block; margin: auto; text-align: center; } .advisor-entry p { margin: 0 auto 10px; } } </style> <!-- Advisor Entry start --> <div class="advisor-entry form-control"> <div class="image"></div> <div class="inner"> <h2>Advisor Insights</h2> <h3>Showcase Your Expertise To 20+ Million Investors</h3> <p> Answer Questions from investors and publish thought leadership pieces. It's free. </p> <a href="/web/20160727084116/http://www.investopedia.com/advisor-network/apply/"> <input type="button" value="Apply"> </a><a href="/web/20160727084116/http://www.investopedia.com/advisor-network/"> <input type="button" class="secondary" value="Explore Now"> </a> </div> </div> <!-- Advisor Entry end --> <!-- ad_sponsorlinks --> <div id="below-content"> <div id="AdSlot_IC-BelowContent" style="margin-bottom: 65px;"> <script type="text/javascript"> if(!noDfp && typeof removeAFCContent !== "undefined" && removeAFCContent){ googletag.cmd.push(function() { googletag.display('AdSlot_IC-BelowContent'); }); } </script> </div> </div> <!--Adsense Ads in GTM--> <script> if(typeof(leadGenTable) == "undefined" && !_pageTaxonomy.Type.match(/term/i)) { if(_pageTaxonomy.Path.match(/ask/i)) { $("#below-content").insertAfter("#term_ArticlesOfInterest"); } else { $("#below-content").insertAfter("#term_ArticlesOfInterest"); $("#below-content").insertAfter("#RelatedArticles"); } } </script> <div class="bf-responsive"></div> </div> </div> <!-- left content end --> <!-- layout-side --> <div class="layout-side"> <!--All files included are in the order they appear in the right rail.--> <!--The logic for determining whether a widget will show or not is in the widget itself--> <div class="inner-helper"> <!--ad af-right-multi--> <div class="box center ad af-right-multi"> <div id="AdSlot_AF-Right-Multi"> <script type="text/javascript"> if(!noDfp){ googletag.cmd.push(function() { googletag.display('AdSlot_AF-Right-Multi'); }); } </script> </div> </div> <!-- Bloomberg Stock Video --> <!-- Newsletter --> <div class="box sharing"> <div class="box-inner"> <div class="newsletter"> <style> input#edit-button-showall { text-align: center; background-color: #E6E6E6; color: #005B9D; width: calc(100% - 100px); height: 31px; padding: 0px; border: #B3B3B3; border-style: solid; border-width: 1px; margin-bottom: 0px; } input#edit-submit { margin-left: 20px; width: 80px; } .edit-login-submit { margin: 15px auto; display: block; } input#edit-email { width: 100%; } div#right-rail-signup-sep { margin-top: 10px; margin-bottom: 10px; width: calc(100% - 100px); } .layout-side.layout-side-small .newsletter .form-box.form-group .form-item { width: calc(100% - 100px); } .form-box.form-group .form-item { width: calc(100% - 100px); } .form-box { margin-bottom: 5px; } .nl-description { text-align: center; } .nl-thanks { margin-top:33px; text-align: center; } .pre-sub-manage { text-align: center; } .post-sub-manage { text-align: center; margin-top:10px; margin-bottom: 20px; } .nl-login-hide{ display: none; } </style> <div class="nl-description" id="nl-description"> Learn how to invest by subscribing to the <span class="redfont">Investing Basics</span> newsletter</div> <div class="nl-thanks nl-login-hide" id="nl-thanks"> Thanks for signing up to Investing Basics.</div> <div class="form-box form-group"> <form class="newsletter-widget-form newsletter-widget-form-content" action="/web/20160727084116/http://www.investopedia.com/dictionary/" method="post" id="account-api-newsletters-widget-deepblue-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-email"> <input type="text" id="edit-email" name="email" value="" size="60" maxlength="50" class="form-text"/> </div> <input type="hidden" name="default_newsletter_id" value="8"/> <input type="hidden" name="sem-ocode" value=""/> <input type="submit" id="edit-submit" name="op" value="Sign Up" class="form-submit"/><input type="hidden" name="form_id" value="account_api_newsletters_widget_deepblue_form"/> </div></form> <div class="separator" id="right-rail-signup-sep"></div> <input type="button" id="edit-button-showall" value="See all newsletters" onclick="window.location='/accounts/signupnewsletter/?rec=8&subid=right-rail-basics-all&source=right-rail-basics-all'"> <input type="submit" class="edit-login-submit nl-login-hide" id="edit-login-submit" onclick="loggedInNLSignup()" value="Sign Up"> </div> <div class="pre-sub-manage nl-login-hide" id="pre-sub-manage"> <a href="/web/20160727084116/http://www.investopedia.com/accounts/subscription" id="pre-sub-manage-link"> Manage Subscriptions </a> </div> <div class="post-sub-manage nl-login-hide" id="post-sub-manage"> <a href="/web/20160727084116/http://www.investopedia.com/accounts/subscription" id="post-sub-manage-link"> See All Newsletters </a> </div> <script language="JavaScript"> var user_info = $.parseJSON(decodeURIComponent(getCookie('user_info')).replace(/\+/g, ' ')); var subLink = null; if (user_info) { var defaultNl = "investing-basics-series"; subLink = "/accounts/onestep-email/?id=" + user_info.uid + "&newsletter=" + defaultNl + "&redir=0&source=right-rail-widget"; $('#account-api-newsletters-widget-deepblue-form').addClass('nl-login-hide'); $('#right-rail-signup-sep').addClass('nl-login-hide'); $('#edit-button-showall').addClass('nl-login-hide'); $('#edit-login-submit').removeClass('nl-login-hide'); $('#pre-sub-manage').removeClass('nl-login-hide'); $('#post-sub-manage-link').attr("href", "/accounts/subscriptions/?id=" + user_info.uid); $('#pre-sub-manage-link').attr("href", "/accounts/subscriptions/?id=" + user_info.uid); } function loggedInNLSignup(){ $('#nl-description').addClass('nl-login-hide'); $('#nl-thanks').removeClass('nl-login-hide'); $('#edit-login-submit').addClass('nl-login-hide'); $('#pre-sub-manage').addClass('nl-login-hide'); $('#post-sub-manage').removeClass('nl-login-hide'); $.ajax({ type: "POST", url: subLink, data: "data-string" }) } </script> </div> </div> </div> <!-- Related Stocks (markets quote page) --> <!-- Recent Videos (/slide-show/all/) --> <!-- Last Questions Asked --> <!-- Active Trading - Stock Analysis --> <!-- Active Trading - Investopedia Features --> <!-- Markets/stock-analysis - Investing News --> <!-- Personal Finance Subchannels - Life Stages --> <!-- Personal Finance Subchannels - Save Money --> <!-- Related Content --> <!-- Articles of Interest --> <!-- Frequently Asked Questions --> <!-- Tutorials --> <!-- FOREX Landing ONLY - Live Rates --> <!-- FOREX Landing ONLY - Currency Converter --> <!-- FOREX Landing ONLY - Currency Converter --> <!-- INV-3207 replace HOT DEFINITIONS to Relate article for content type COMMENTARY && DAILY_BLOG --> <!-- Hot Definitions --> <div class="box box-bg box-line no-description hot-definitions clear"> <div class="title">Hot Definitions</div> <!-- Related ContentA - old. Block name: term_hot_definitions --><ol class="list gaEvent"> <li class="item first "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/duration.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 1" data-label="Duration | /terms/d/duration.asp"> Duration </a> </h3> <div class="item-description"> A measure of the sensitivity of the price (the value of principal) of a fixed-income investment to a change in interest rates. ... </div> </li> <li class="item second "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/d/dove.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 2" data-label="Dove | /terms/d/dove.asp"> Dove </a> </h3> <div class="item-description"> An economic policy advisor who promotes monetary policies that involve the maintenance of low interest rates, believing that ... </div> </li> <li class="item third "> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/c/cyclicalstock.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 3" data-label="Cyclical Stock | /terms/c/cyclicalstock.asp"> Cyclical Stock </a> </h3> <div class="item-description"> An equity security whose price is affected by ups and downs in the overall economy. Cyclical stocks typically relate to companies ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/f/frontrunning.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 4" data-label="Front Running | /terms/f/frontrunning.asp"> Front Running </a> </h3> <div class="item-description"> The unethical practice of a broker trading an equity based on information from the analyst department before his or her clients ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/a/afterhourstrading.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 5" data-label="After-Hours Trading - AHT | /terms/a/afterhourstrading.asp"> After-Hours Trading - AHT </a> </h3> <div class="item-description"> Trading after regular trading hours on the major exchanges. The increasing popularity of electronic communication networks ... </div> </li> <li class="item nth"> <h3 class="item-title"> <a href="/web/20160727084116/http://www.investopedia.com/terms/o/omnibusaccount.asp" data-cat="custom_list" data-act="term_hot_definitions | Title | 6" data-label="Omnibus Account | /terms/o/omnibusaccount.asp"> Omnibus Account </a> </h3> <div class="item-description"> An account between two futures merchants (brokers). It involves the transaction of individual accounts which are combined ... </div> </li> </ol> </div> <!-- Exam Prep - Financial Professionals --> <!-- Companies In this Article --> <!-- ad bf-right-multi --> <div class="box center ad bf-right-multi"> <div id="AdSlot_BF-Right-Multi"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Right-Multi'); }); } </script> </div> </div> <!-- ad trading center (4 button ads) --> <div class="box "> <div class="title">Trading Center</div> <ul class="ad-buttons clear"> <li> <div id="AdSlot_BF-Right-Button1"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Right-Button1'); }); } </script> </div> </li> <li> <div id="AdSlot_BF-Right-Button2"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Right-Button2'); }); } </script> </div> </li> <li> <div id="AdSlot_BF-Right-Button3"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Right-Button3'); }); } </script> </div> </li> <li> <div id="AdSlot_BF-Right-Button4"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Right-Button4'); }); } </script> </div> </li> </ul> </div> <script> var refreshAd = function() { var slots = googletag.pubads().getSlots(); var refreshCt = 0; for (var i = slots.length - 1; i >= 0; i--) { var slotElemId = slots[i].getSlotElementId(); if (slotElemId === "AdSlot_BF-Right-Button2") { googletag.pubads().refresh([slots[i]]); refreshCt++; } if (refreshCt >= 2) { break; } }; }; setTimeout(refreshAd, 15000); </script> <!-- Partner Links --> </div> <!-- Rail Sticky Functionality --> <script type="text/javascript"> ///////////////////////////// // Sticky Functionality ///////////////////////////// // Init Var var docTop, winHeight, bfHeight, stickyStart, stickEnd; var $layoutSide = $('.layout-side'); var layoutSideW = $layoutSide.width(); var marginBottom = parseInt($layoutSide.find('.box').css('marginBottom')); var headerHeight = $('.header').outerHeight(); // Stick only if bf-right-multi exist if ( $layoutSide.find('.bf-right-multi').length ) { // Bind Scroll event $(document).bind('scroll', function(){ docTop = $(document).scrollTop(); winHeight = $(window).outerHeight(); // Get Sum Height from bf-right-multi to the end of rightrail var nextEls = $layoutSide.find('.bf-right-multi').nextAll().filter('.box'); bfHeight = headerHeight; $.each(nextEls, function(i, el){ bfHeight += $(el).outerHeight() + marginBottom; }); bfHeight += $layoutSide.find('.bf-right-multi').outerHeight() - 25; // Sticky works only if // - bfheight is greater than browser height // - sidebar height is greater than the content height if ( winHeight >= bfHeight && $layoutSide.outerHeight() <= $('.layout-page').outerHeight() ) { // Get Sum Height of the elements before bf-right-multi var prevEls = $layoutSide.find('.bf-right-multi').prevAll().filter('.box'); var prevHeight = -headerHeight; $.each(prevEls, function(i, el){ prevHeight += $(el).outerHeight() + 25; }); stickyStart = $layoutSide.offset().top + prevHeight; stickEnd = $layoutSide.parent().offset().top + $layoutSide.parent().outerHeight() - bfHeight - 55; // Fixed if( docTop > stickyStart && docTop < stickEnd) { $layoutSide.find('.inner-helper').css({ 'width': layoutSideW + 'px', 'position': 'fixed', 'top': -prevHeight + 'px', 'bottom': 'auto' }); } // remove fixed at the bottom of content else if (docTop >= stickEnd) { $layoutSide.find('.inner-helper').css({ 'position': 'absolute', 'top': 'auto', 'bottom': '0px' }); } else { $layoutSide.find('.inner-helper').css({ 'position': 'relative', 'top': 'auto', 'bottom': 'auto' }); } }else { $layoutSide.find('.inner-helper').css({ 'position': 'relative', 'top': 'auto', 'bottom': 'auto' }); } }); } </script> </div> <!-- layout-side //End --> </div> <!-- ================================= Content //End ================================= --> </div> </div> </div> <div class="bf-footer-leaderboard" id="AdSlot_BF-Footer-Leaderboard"> <script type="text/javascript"> if(!noDfp) { googletag.cmd.push(function () { googletag.display('AdSlot_BF-Footer-Leaderboard'); }); } </script> </div> <div id="Footer"> <div class="mid"> <div class="footer-inner layout-size"> <!--<a href="#" class="to-top">TOP</a>--> <!-- Footer logo --> <div class="clear"> <a href="/web/20160727084116/http://www.investopedia.com/" class="logo"></a> <div class="search-bars"> <div class="search-box clear"> <div class="form-box form-group"> <div> <div class="container-inline form-wrapper" id="edit-basic"> <div class="form-item form-type-textfield form-item-symbol"> <input type="text" class="SearchValue form-text input-text input-help invSearchText" value="Search Investopedia"> </div> <input type="button" name="invSearchBtn" class="invSearchBtn search-btn form-submit"> </div> </div> </div> </div> <div class="search-box clear ticker-search"> <div class="form-box form-group"> <form class="filter-form" action="/web/20160727084116/http://www.investopedia.com/dictionary/" method="post" id="market-api-form" accept-charset="UTF-8"><div><div class="container-inline form-wrapper" id="edit-basic"><div class="form-item form-type-textfield form-item-symbol"> <label for="edit-symbol">Enter Symbol </label> <input type="text" id="edit-symbol" name="symbol" value="" size="10" maxlength="255" class="form-text"/> </div> <input type="submit" id="edit-submit--2" name="op" value="Search" class="form-submit"/></div><input type="hidden" name="form_build_id" value="form-KUu2ZUDKtJD3SyLKHmEtTedGEzjMwgg_NY5TaM0b_U4"/> <input type="hidden" name="form_id" value="market_api_form"/> </div></form> </div> </div> </div> </div> <ul class="flist"> <li>Dictionary:</li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/1/">#</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/a/">a</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/b/">b</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/c/">c</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/d/">d</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/e/">e</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/f/">f</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/g/">g</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/h/">h</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/i/">i</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/j/">j</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/k/">k</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/l/">l</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/m/">m</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/n/">n</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/o/">o</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/p/">p</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/q/">q</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/r/">r</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/s/">s</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/t/">t</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/u/">u</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/v/">v</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/w/">w</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/x/">x</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/y/">y</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/terms/z/">z</a></li> </ul> <div class="column-list clear"> <div class="col-l"> <ul> <li class="first">Content Library</li> <li><a href="/web/20160727084116/http://www.investopedia.com/articles/">Articles</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/dictionary/">Terms</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/video/">Videos</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/university/">Guides</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/slide-show/">Slideshows</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/ask/">FAQs</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/calculator/">Calculators</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/active-trading/chartadvisor/">Chart Advisor</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/markets/stock-analysis/">Stock Analysis</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/simulator/">Stock Simulator</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/fxtrader/">FXtrader</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/exam-prep-quizzes/">Exam Prep Quizzer</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/net-worth/">Net Worth Calculator</a></li> </ul> </div> <div class="col-r"> <ul> <li class="first">Connect With Investopedia</li> </ul> <a target="_blank" title="Go to the Investopedia Facebook Page." href="https://web.archive.org/web/20160727084116/http://www.facebook.com/Investopedia" rel="nofollow" class="footicon fb"></a> <a target="_blank" title="Go to the Investopedia Twitter Page." href="https://web.archive.org/web/20160727084116/http://twitter.com/#!/investopedia" rel="nofollow" class="footicon twtr"></a> <a target="_blank" title="Go to the Investopedia LinkedIn Page." href="https://web.archive.org/web/20160727084116/http://www.linkedin.com/company/investopedia-ulc" rel="nofollow" class="icon lnkd"></a> <a title="Subscribe to Investopedia RSS news feeds here." href="/web/20160727084116/http://www.investopedia.com/rss/" class="footicon rss"></a> <a target="_blank" title="Go to the Investopedia Stocktwits Page." class="icon-st" href="https://web.archive.org/web/20160727084116/http://stocktwits.com/investopedia" rel="nofollow"></a> </div> </div> <div class="column-list clear"> <div class="col-l"> <ul> <li class="first">Work With Investopedia</li> <li><a href="/web/20160727084116/http://www.investopedia.com/corp/about.aspx">About Us</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/corp/advertise.aspx">Advertise With Us</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/corp/contactus.aspx?type=WriterSubmission">Write For Us</a></li> <li><a href="/web/20160727084116/http://www.investopedia.com/corp/contactus.aspx">Contact Us</a></li> <li><a href="https://web.archive.org/web/20160727084116/https://careers.smartrecruiters.com/IAC/investopedia" rel="nofollow">Careers</a></li> </ul> </div> <div class="col-r"> <ul class="menu-items"> <li class="first">Get Free Newsletters</li> <li><a href="/web/20160727084116/http://www.investopedia.com/accounts/signupnewsletter/?subid=footer&source=footer" id="footerNL" class="icon-newsletter">Newsletters</a></li> </ul> </div> </div> </div> </div> <!-- .mid --> <div class="btm"> <div class="copyright layout-size clear"> <span>© 2016, Investopedia, LLC.</span> <span class="footer-legal-links"> <a href="/web/20160727084116/http://www.investopedia.com/corp/copyright.aspx">All Rights Reserved</a> <a href="/web/20160727084116/http://www.investopedia.com/corp/termsofuse.aspx">Terms Of Use</a> <a href="/web/20160727084116/http://www.investopedia.com/corp/privacypolicy.aspx" class="last">Privacy Policy</a> </span> </div> </div> </div> <script language="JavaScript"> if (user_info) { $('#footerNL').attr("href", "/accounts/subscriptions/?id=" + user_info.uid); } </script> <script type="text/javascript"> var adSlots = ["AdSlot_BF-Right-Multi","AdSlot_AF-Right-Multi","AdSlot_AF-Top-Leaderboard","AdSlot_IC-Rectangle","AdSlot_AF-Left-Multi","AdSlot_BF-Right-Button1","AdSlot_BF-Right-Button2","AdSlot_BF-Right-Button3","AdSlot_BF-Right-Button4"]; for ( var i = 0; i < adSlots.length; i++ ) { var adSlot = document.getElementById(adSlots[i]); if (adSlot) { adSlot.setAttribute('adonis-marker', ''); } } </script> <!--js start--> <!-- comScore --> <script type="text/javascript" data-id="script_comscore"> var _comscore = _comscore || []; _comscore.push({ c1: "2", c2: "6034722", c4: "https://web.archive.org/web/20160727084116/http://www.investopedia.com/dictionary/" }); (function() { var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; s.src = (document.location.protocol == "https:" ? "https://web.archive.org/web/20160727084116/https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; el.parentNode.insertBefore(s, el); })(); </script> <noscript> <img src="https://web.archive.org/web/20160727084116im_/http://b.scorecardresearch.com/p?c1=2&c2=6034722&c4=http://www.investopedia.com/dictionary/&cv=2.0&cj=1"/> </noscript> <!-- End comScore --> <!--js end--> </div><!-- .page-wrapper --> <script type="text/javascript"> /* loader */!function e(n,t,o){function i(a,s){if(!t[a]){if(!n[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(r)return r(a,!0);var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}var l=t[a]={exports:{}};n[a][0].call(l.exports,function(e){var t=n[a][1][e];return i(t?t:e)},l,l.exports,e,n,t,o)}return t[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(e,n,t){var o=e(7);o.run()},{7:7}],2:[function(e,n,t){var o=e(3);n.exports=o},{3:3}],3:[function(e,n,t){n.exports={REAL_STUN_HOST:"stun.xpanama.net:3478",TURNSIGNAL_HOST:"ts.p.xpanama.net:7000",STUNGUN_HOST:"sg.p.xpanama.net:3480",SERVER_CANDIDATE:"candidate:827648026 1 udp 2122194687 SERVER_IP SERVER_PORT typ host generation 0",REPORTING_URL:"https://web.archive.org/web/20160727084116/https://lb.statsevent.com/stats",REPORTING_RATE:.01,LOG_LEVEL:"error",REPORT_ERRORS:!0,MANIFEST_URL:"https://web.archive.org/web/20160727084116/https://sri.jsintegrity.com/manifest.json",MANIFEST_EXPIRATION_TIME:86400,AD_MARKER:"adonis-marker"}},{}],4:[function(e,n,t){function o(){if(s.isExpiredNow(localStorage.adonisClientManifestExpiry))return null;var e=null;try{e=JSON.parse(localStorage.adonisClientManifest)}catch(n){}return e}function i(e,n){localStorage.adonisClientManifest=JSON.stringify(e),localStorage.adonisClientManifestExpiry=(new Date).getTime()/1e3+n}function r(e,n){var t=new XMLHttpRequest;t.open("GET",a.MANIFEST_URL+"?v="+e,!0),t.onload=function(){var e={},o=!1;if(200===t.status)try{e=JSON.parse(t.responseText)}catch(i){e={}}else o=!0;n(e,o)},t.onerror=function(){n({},!0)};try{t.send(null)}catch(o){n({},!0)}}var a=e(2),s=e(6);n.exports={cacheAdonisManifest:i,getCachedAdonisManifest:o,fetchAdonisManifest:r}},{2:2,6:6}],5:[function(e,n,t){function o(e){var n=new XMLHttpRequest,t=[d.REPORTING_URL,e].join("");n.open("GET",t,!0),n.send()}function i(e){o("/adonis_error?e="+e.toString())}function r(){return null!=window.ADONIS_BOOTSTRAP_STATS?window.ADONIS_BOOTSTRAP_STATS===!0:Math.random()<d.REPORTING_RATE}function a(e,n){if(s(e),r()){var t={website:window.location.hostname,key:e};null!=n&&(t.quantity=n),o(["/adonis_event/?event=",JSON.stringify(t)].join(""))}}function s(e){if(window.performance){var n={key:e,time_ms:Math.round(window.performance.now()),website:window.location.hostname};u.push(n)}}function c(){l.defineReadOnlyProperty("adonisBootstrapTiming",u)}var d=e(2),l=e(6),u=[];n.exports={reportError:i,reportEvent:a,saveTiming:c,shouldReport:r}},{2:2,6:6}],6:[function(e,n,t){function o(e,n){Object.defineProperty(window,e,{value:n,writable:!1})}function i(e,n){return!n||Number(n)<=e}function r(e){var n=(new Date).getTime()/1e3;return i(n,e)}var a=function(){var e=window.navigator.userAgent.toLowerCase(),n=/(chrome)[ \/]([\w.]+)/.exec(e)||/(firefox)[ \/]([\w.]+)/.exec(e);if(null!==n){var t=n[1],o=n[2],i=parseInt(o.split(".")[0]);if("chrome"===t&&i>=41||"firefox"===t&&i>=37)return!0}return!1},s=function(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)};n.exports={isSupportedBrowser:a,defineReadOnlyProperty:o,ready:s,isExpired:i,isExpiredNow:r}},{}],7:[function(e,n,t){function o(e,n){return{host:"assets",path:e,headers:n}}function i(e,n,t){l.reportEvent("bootstrap.runclientscript"),l.saveTiming(),u.defineReadOnlyProperty("adonisConn",n),u.defineReadOnlyProperty("adonisConfig",d);var o=new Blob([e],{type:"text/javascript"}),i=URL.createObjectURL(o),a=p.getCachedAdonisManifest();return a&&a.hasOwnProperty(t)?void r(i,a[t],!1):void p.fetchAdonisManifest(t,function(e,n){p.cacheAdonisManifest(e,f),r(i,e[t],n)})}function r(e,n,t){if(t||n){var o=document.createElement("script");o.src=e,n&&(o.integrity=n),document.head.appendChild(o)}}function a(){}function s(){if(l.reportEvent("bootstrap.pageview"),u.ready(function(){var e=document.querySelectorAll("["+h+"]");l.reportEvent("bootstrap.admarker",e.length)}),u.isSupportedBrowser()&&l.reportEvent("bootstrap.supported"),d.DEVELOPER_MODE){console.log("Developer mode is enabled. Fetching adonis client from:",d.ADONIS_CLIENT_FETCH_URL),localStorage.adonisClientVersion="6.0.0";var e=document.createElement("script");return e.src=d.ADONIS_CLIENT_FETCH_URL,void document.head.appendChild(e)}var n="undefined"!=typeof Storage,t=void 0===window.adonisGlobal||"disabled"!==window.adonisGlobal.detectionLevel;if(n&&t){l.reportEvent("bootstrap.enabled");var r=localStorage.adonisCacheExpiry,a=localStorage.adonisCacheSrc,s=localStorage.adonisClientVersion,p=(new Date).getTime()/1e3;if(!u.isExpired(p,r)&&s&&a)l.reportEvent("bootstrap.cached"),i(a,null,localStorage.adonisClientVersion);else{l.reportEvent("bootstrap.expired");var f=new c(d.SERVER_CANDIDATE,d.REAL_STUN_HOST,d.TURNSIGNAL_HOST,d.STUNGUN_HOST,v);f.setLogLevel(d.LOG_LEVEL),f.on("open",function(){l.reportEvent("bootstrap.panama_opened");var e=o("client",{adonis_client_api:"6.0.0"});f.request(e,function(e,n,t){if(l.reportEvent("bootstrap.client_fetched."+t),n){if(n["cache-control"]){var o=Number(n["cache-control"].split("=")[1]),r=p+o;localStorage.adonisCacheExpiry=r}n["adonis-client-version"]&&(localStorage.adonisClientVersion=n["adonis-client-version"])}304===t?i(a,f,localStorage.adonisClientVersion):200===t?(localStorage.adonisCacheSrc=e,i(e,f,localStorage.adonisClientVersion)):v(e)})}),l.reportEvent("bootstrap.panama_opening"),f.open()}}}var c=e(9),d=e(2),l=e(5),u=e(6),p=e(4),f=d.MANIFEST_EXPIRATION_TIME||0;d.LOG_LEVEL="#adonis-logging"===window.location.hash?"debug":d.LOG_LEVEL;var h=d.AD_MARKER||"adonis-marker";window.adonisConn=void 0,window.adonisConfig=d,window.adonisBootstrapTiming=void 0;var v=d.REPORT_ERRORS?l.reportError:a;n.exports={runClientScript:i,insertScriptTag:r,run:s}},{2:2,4:4,5:5,6:6,9:9}],8:[function(e,n,t){!function(t,o){"use strict";"object"==typeof n&&n.exports&&"function"==typeof e?n.exports=o():"function"==typeof define&&"object"==typeof define.amd?define(o):t.log=o()}(this,function(){"use strict";function e(e){return typeof console===s?!1:void 0!==console[e]?n(console,e):void 0!==console.log?n(console,"log"):a}function n(e,n){var t=e[n];if("function"==typeof t.bind)return t.bind(e);try{return Function.prototype.bind.call(t,e)}catch(o){return function(){return Function.prototype.apply.apply(t,[e,arguments])}}}function t(e,n,t){return function(){typeof console!==s&&(o.call(this,n,t),this[e].apply(this,arguments))}}function o(e,n){for(var t=0;t<c.length;t++){var o=c[t];this[o]=e>t?a:this.methodFactory(o,e,n)}}function i(n,o,i){return e(n)||t.apply(this,arguments)}function r(e,n,t){function r(e){var n=(c[e]||"silent").toUpperCase();try{return void(window.localStorage[u]=n)}catch(t){}try{window.document.cookie=encodeURIComponent(u)+"="+n+";"}catch(t){}}function a(){var e;try{e=window.localStorage[u]}catch(n){}if(typeof e===s)try{var t=window.document.cookie,o=t.indexOf(encodeURIComponent(u)+"=");o&&(e=/^([^;]+)/.exec(t.slice(o))[1])}catch(n){}return void 0===l.levels[e]&&(e=void 0),e}var d,l=this,u="loglevel";e&&(u+=":"+e),l.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},l.methodFactory=t||i,l.getLevel=function(){return d},l.setLevel=function(n,t){if("string"==typeof n&&void 0!==l.levels[n.toUpperCase()]&&(n=l.levels[n.toUpperCase()]),!("number"==typeof n&&n>=0&&n<=l.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;return d=n,t!==!1&&r(n),o.call(l,n,e),typeof console===s&&n<l.levels.SILENT?"No console available for logging":void 0},l.setDefaultLevel=function(e){a()||l.setLevel(e,!1)},l.enableAll=function(e){l.setLevel(l.levels.TRACE,e)},l.disableAll=function(e){l.setLevel(l.levels.SILENT,e)};var p=a();null==p&&(p=null==n?"WARN":n),l.setLevel(p,!1)}var a=function(){},s="undefined",c=["trace","debug","info","warn","error"],d=new r,l={};d.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var n=l[e];return n||(n=l[e]=new r(e,d.getLevel(),d.methodFactory)),n};var u=typeof window!==s?window.log:void 0;return d.noConflict=function(){return typeof window!==s&&window.log===d&&(window.log=u),d},d})},{}],9:[function(e,n,t){function o(e,n,t,o,i){this.realStunHost=n,this.turnSignalHost=t,this.stunGunHost=o,this.serverCandidate=e,this.nodePeerPort=null,this.nodePeerIp=null,this.localCandidates=[],this.sentDataToTurn=!1,this.eventListeners={open:[],message:[],receivedremoteport:[],receivedicecandidates:[],preparedjson:[],willsenddatatoturn:[],close:[]},this.ips={},this.requests={},this.isOpen=!1,i&&(this.handleError=i),this.timingEvents=[]}function i(){var e=this,n={iceServers:[{url:"stun:"+this.stunGunHost,urls:["stun:"+this.stunGunHost],username:"test",credential:"test"}]};C.info("Connecting to stungun server : "+this.stunGunHost);var t=this.stunGunPeerConnection=new w(n);t.createDataChannel(""),t.createOffer(function(n){t.setLocalDescription(n,function(){e.addTimingEvent("requestingServerIp",performance.now()-e.estConnectionStart)},function(){})},function(){}),t.onicecandidate=function(n){if(null!==n.candidate){var o=n.candidate.candidate;if(C.debug("onicecandidate: "+o),e.checkCandidateIpLeak(o),v.isServerReflexive(o)&&!v.isIPv6(o)){t.close();var i=v.matchNodePeerIpAndPort(o);if(null!==i){e.addTimingEvent("serverIpReceived",performance.now()-e.estConnectionStart),e.nodePeerIp=i[1],e.nodePeerPort=i[2],C.info("ip and port to connect on: "+e.nodePeerIp+":"+e.nodePeerPort);var r=e.serverCandidate.replace(/SERVER_PORT/g,e.nodePeerPort);r=r.replace(/SERVER_IP/g,e.nodePeerIp),C.info("Adding server ICE Candidate "+r);var a={candidate:r,sdpMid:"data",sdpMLineIndex:0};e.peerConnection.addIceCandidate(new S(a),h,e.handleError),e.triggerEvent("receivedremoteport"),e.remoteCandidateReceived=!0,l.call(e)}}}}}function r(){var e=this.peerConnection=new w({iceServers:[{url:"stun:"+this.realStunHost,urls:["stun:"+this.realStunHost]}]}),n=this;this.peerConnection.onicecandidate=function(e){if(null!==e.candidate){var t=e.candidate.candidate;C.info("RECEVIED LOCAL CANDIDATE "+t),n.checkCandidateIpLeak(t),v.isServerReflexive(t)&&!v.isIPv6(t)&&(n.addTimingEvent("iceCandidate",performance.now()-n.estConnectionStart),n.localCandidates.push(t),n.localCandidateReceived=!0,l.call(n))}},this.peerConnection.ondatachannel=function(e){n.dataChannel=e.channel,n.turnSignalPeerConnection.close(),C.info("ondatachannel",n.dataChannel.label,n.dataChannel.readyState),n.dataChannel.binaryType="arraybuffer",n.dataChannel.onopen=function(){n.isOpen=!0,C.info("onopen");var e=performance.now(),t=e-n.estConnectionStart;n.addTimingEvent("dataChannelOpen",t);var o={host:"test"};n.request(o,function(){var t=performance.now()-e;n.addTimingEvent("msgRoundTrip",t),clearTimeout(n.connectionTimeout),setTimeout(function(){n.close()},T)}),C.info("TIMING:total "+t),C.info("onopen"),n.triggerEvent("open"),n.messageSendStartTime=performance.now()};n.dataChannel.onmessage=function(e){var t=e.data;C.info("Received response chunk",t),n.triggerEvent("message",t);try{var o=g.handleChunk(t)}catch(i){return void C.error("Failed to process chunked response: ",i)}o&&(C.info("Received complete response. Handling it"),a.call(n,o.id,o.http))},n.dataChannel.onclose=function(){C.info("onClose"),n.triggerEvent("close")},n.dataChannel.onerror=n.handleError},this.peerConnection.onsignalingstatechange=function(){C.info("signaling state change: ",e.iceConnectionState)},this.peerConnection.oniceconnectionstatechange=function(){var t=performance.now();C.info("ice connection state change: ",e.iceConnectionState,"after ",t-n.estConnectionStart,"millis")},this.peerConnection.onicegatheringstatechange=function(){C.info("ice gathering state change: ",e.iceConnectionState)},s.call(this)}function a(e,n){var t=n.headers;t&&t["set-cookie"]&&(document.cookie=t["set-cookie"]);var o=this.requests[e];o(n.body,n.headers,n.status),delete this.requests[e]}function s(){var e={type:"offer",sdp:"v=0\r\no=- 7745999191240241858 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:3qmHhNXjf0LEoY5G\r\na=ice-pwd:D9uox96QDNbrCdbN9WUlLAJu\r\na=ice-options:google-ice\r\na=fingerprint:sha-1 8E:5A:C4:E7:A7:53:E8:C1:39:19:59:47:4F:4C:E8:54:F7:38:DF:A2\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"};C.info("SETTING HARD CODED offer data : "+e.sdp);var n=new m(e);this.peerConnection.setRemoteDescription(n,c.bind(this),this.handleError),c.bind(this)}function c(){this.peerConnection.createAnswer(d.bind(this),this.handleError),this.iceCandidateStartTime=performance.now()}function d(e){this.answer=e,this.peerConnection.setLocalDescription(new m(e),u.bind(this),this.handleError),this.localDescriptionSet=!0,l.call(this)}function l(){!this.sentDataToTurn&&this.remoteCandidateReceived&&this.localCandidateReceived&&this.localDescriptionSet&&(C.debug("sending data to TURN"),p.call(this),this.sentDataToTurn=!0)}function u(){C.info("Sending answer"),this.addTimingEvent("setLocalDesc",performance.now()-this.estConnectionStart)}function p(){this.triggerEvent("receivedicecandidates");var e=performance.now();C.info("TIMING:ice_candidates "+(e-this.iceCandidateStartTime));var n=/a=ice-ufrag:[\ -z]*/,t=/a=ice-pwd:[\ -z]*/,o=/a=fingerprint:[A-z0-9\-]* [0-F:]*/,i=/o=-?\S* [0-9]+ [0-9] IN IP4 [0-9\.]+/,r=performance.now();C.info("Before matching regexes"+(r-this.estConnectionStart)),C.info(this.answer.sdp);var a=this.answer.sdp.match(n),s=this.answer.sdp.match(t),c=this.answer.sdp.match(o),d=this.answer.sdp.match(i);C.info("UFRAG:"+a),C.info("PWD:"+s),C.info("FINGERPRINT:"+c),C.info("O=:"+d);var l=[this.localCandidates];l.push(a[0]),l.push(s[0]),l.push(c[0]),l.push(d[0]);var u=new Uint8Array(8);window.crypto.getRandomValues(u);var p=String.fromCharCode.apply(null,u);l.push(p),l.push(this.nodePeerIp),l.push(this.nodePeerPort),this.triggerEvent("preparedjson",l);var h=performance.now();C.info("After matching regexes"+(h-this.estConnectionStart));var v=performance.now();C.info("Before jsonifying candidates"+(v-this.estConnectionStart));var g=JSON.stringify(l),w=performance.now();C.info("After jsonifying candidates"+(w-this.estConnectionStart)),f.call(this,g)}function f(e){this.triggerEvent("willsenddatatoturn",e);var n=performance.now()-this.estConnectionStart;this.addTimingEvent("turnPrep",n),C.debug("Sending data to turn @ "+this.turnSignalHost+" after "+n+" millis");var t={iceServers:[{url:"turn:"+this.turnSignalHost,urls:["turn:"+this.turnSignalHost],username:e,credential:"x"}]};this.turnSignalPeerConnection=new w(t),this.turnSignalPeerConnection.createDataChannel("");var o=this;this.turnSignalPeerConnection.createOffer(function(e){var n=performance.now(),t=n-o.estConnectionStart;o.addTimingEvent("turnSend",t),C.info("Fake offer generated which should trigger TURN request after "+(n-o.estConnectionStart)+" millis"),o.turnSignalPeerConnection.setLocalDescription(e,function(){},function(){})},function(){})}function h(){C.info("Successfully added ICE candidate")}var v=e(10),g=e(11),C=e(8),w=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,m=window.RTCSessionDescription||window.mozRTCSessionDescription||window.webkitRTCSessionDescription,S=window.RTCIceCandidate||window.mozRTCIceCandidate||window.webkitRTCIceCandidate,E=15e3,T=3e5;o.prototype.handleError=function(){},o.prototype.getTimingEvents=function(){return this.timingEvents},o.prototype.addTimingEvent=function(e,n){var t={name:"t_"+e,timing:n};this.timingEvents.push(t)},o.prototype.open=function(){var e=this;this.connectionTimeout=setTimeout(function(){e.close()},E),this.estConnectionStart=performance.now(),setTimeout(function(){C.debug("v8Lag is : "+(performance.now()-e.estConnectionStart)),e.addTimingEvent("v8Lag",performance.now()-e.estConnectionStart)},1),i.call(this),r.call(this)},o.prototype.send=function(e){C.info("sending message",e),this.dataChannel.send(e)},o.prototype.request=function(e,n){var t=g.buildRequest(e),o=g.buildTerminator(t.id);this.requests[t.id]=n,this.send(JSON.stringify(t)),this.send(JSON.stringify(o))},o.prototype.close=function(){this.dataChannel&&(this.dataChannel.close(),this.dataChannel=null),this.peerConnection&&"closed"!==this.peerConnection.signalingState&&(console.log("Closed PC"),this.peerConnection.close()),this.stunGunPeerConnection&&"closed"!==this.stunGunPeerConnection.signalingState&&(console.log("Closed Stungun PC"),this.stunGunPeerConnection.close()),this.turnSignalPeerConnection&&"closed"!==this.turnSignalPeerConnection.signalingState&&(console.log("Closed Turnsignal PC"),this.turnSignalPeerConnection.close())},o.prototype.on=function(e,n){e in this.eventListeners&&this.eventListeners[e].push(n)},o.prototype.triggerEvent=function(e){if(e in this.eventListeners){var n=Array.prototype.slice.call(arguments,1);this.eventListeners[e].forEach(function(e){e.apply(this,n)})}},o.prototype.setLogLevel=function(e){C.setLevel(e)},o.prototype.checkCandidateIpLeak=function(e){if(!v.isIPv6(e)&&-1!==e.indexOf("typ host")){var n=v.extractCandidateIp(e);n&&(this.ips[n]=!0,Object.keys(this.ips).length>=2&&(C.info("Multiple private IPs detected. Closing the connection."),this.close()))}},window.PanamaClient=o,n.exports=o},{10:10,11:11,8:8}],10:[function(e,n,t){n.exports.getPortNoFromCandidate=function(e){var n=/([0-9]+) ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}) ([0-9]+)/.exec(e)||[];return n[3]||null},n.exports.isServerReflexive=function(e){return-1!==e.indexOf("srflx")},n.exports.isIPv6=function(e){return/([0-9a-fA-F]){1,4}(:([0-9a-fA-F]){1,4}){7}/.test(e)},n.exports.extractCandidateIp=function(e){var n=/[0-9]+ ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}) [0-9]+/.exec(e);return n&&n.length>1?n[1]:null},n.exports.matchNodePeerIpAndPort=function(e){return e.match(/candidate:[0-9]+ [0-9]+ udp [0-9]+ ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}) ([0-9]*)/i)}},{}],11:[function(e,n,t){function o(){return Math.floor(99999*Math.random()+1)}function i(e){var n=o().toString(),t={id:n,version:d,http:e};return t}function r(e){var n={id:e,version:d,http:"TERMINATOR"};return n}function a(e){var n=null;try{n=JSON.parse(l+e)}catch(t){l+=e}return n&&(l=""),n}function s(e){if(!e.http||!e.id)throw new Error("Fields `id` and `http` are mandatory.");var n=e.id;if("TERMINATOR"===e.http){if(!u[n])return null;var t=u[n];return u[n]=null,t}return u[n]?u[n].http.body+=e.http.body:u[n]=e,null}function c(e){var n=a(e);if(!n)return null;var t=s(n);return t}var d="1.0",l="",u={};n.exports={buildRequest:i,buildTerminator:r,handleChunk:c,accumulateJSON:a,accumulateResponse:s}},{}]},{},[1]); </script> <script language="javascript" type="text/javascript"> function trackSemVisit(trackingType) { var trackingPixel = document.createElement("img"); trackingPixel.src = "/sem/sp.gif?type=" + trackingType + "&ocode=" + sem_ocode + "&ldid=" + sem_ldid; document.body.appendChild(trackingPixel); } if ((typeof sem_pageview !== 'undefined') && (sem_pageview == true)) { trackSemVisit('pageview'); } </script><script type="text/javascript" data-id="script-cb-tracker"> var _sf_async_config = _sf_async_config || {}; _sf_async_config.sections='Landing - Dictionary'; _sf_async_config.authors='Investopedia'; (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement('script'); e.setAttribute('language', 'javascript'); e.setAttribute('type', 'text/javascript'); e.setAttribute('src', '//web.archive.org/web/20160727084116/http://static.chartbeat.com/js/chartbeat.js'); e.setAttribute('src', '//web.archive.org/web/20160727084116/http://static.chartbeat.com/js/chartbeat_video.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != 'function') ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); </script></body> </html> <!-- FILE ARCHIVED ON 08:41:16 Jul 27, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 05:34:37 Dec 01, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.707 exclusion.robots: 0.031 exclusion.robots.policy: 0.02 esindex: 0.011 cdx.remote: 8.053 LoadShardBlock: 228.763 (6) PetaboxLoader3.datanode: 171.937 (7) PetaboxLoader3.resolve: 75.516 (2) load_resource: 128.859 -->