!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s="./shared/qevents/main.js")}({"./shared/Class.js":function(t,e){function n(t,e){function n(){if(i||(t.call(u),r(c,e,s),i=!0,e=null),this!==u){var n=this.__init__;n&&n.apply(this,arguments)}}var i,s=a.prototype=t.prototype,c=new a;return n.prototype=c,n.extend=o,c.constructor=n,n}function r(t,e,n){for(var r in e)e.hasOwnProperty(r)&&(t[r]=n?i(r,e,n):e[r])}function i(t,e,n){var r=e[t],i=n[t];return"function"==typeof r&&"function"==typeof i&&r!==i&&s.test(r)?function(){var e=this._super;this._super=n[t];try{return r.apply(this,arguments)}finally{this._super=e}}:r}function o(t){return n(this,t)}var s=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/,a=function(){},u={};e.Class=o.call(function(){},{})},"./shared/polyfills/array.js":function(t,e){var n=function(t,e,n){"function"==typeof Object.defineProperty?Object.defineProperty(t,e,{configurable:!0,value:n,writable:!0,enumerable:!1}):t.prototype[e]=n};if(!Array.prototype.every){var r=function(t,e){"use strict";var n,r;if(null===this)throw new TypeError("this is null or not defined");var i=Object(this),o=i.length>>>0;if("function"!=typeof t)throw new TypeError;for(arguments.length>1&&(n=e),r=0;r>>0,r=arguments.length>=2?arguments[1]:void 0,i=0;i>>0;if(0===i)return-1;var o=+e||0;if(Math.abs(o)===Infinity&&(o=0),o>=i)return-1;for(n=Math.max(o>=0?o:i-Math.abs(o),0);n>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(n=e),r=0;r>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(n=e),r=new Array(s),i=0;i>>0;if("function"!=typeof t)throw new TypeError;for(var r=[],i=arguments.length>=2?arguments[1]:void 0,o=0;o>>0,i=0;if(2==arguments.length)e=arguments[1];else{for(;i=r)throw new TypeError("Reduce of empty array with no initial value");e=n[i++]}for(;i>>0;if(0===i)return-1;for(e=i-1,arguments.length>1&&(e=Number(arguments[1]),e!=e?e=0:0!==e&&e!=1/0&&e!=-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e)))),n=e>=0?Math.min(e,i-1):i-Math.abs(e);n>=0;n--)if(n in r&&r[n]===t)return n;return-1};n(Array,"lastIndexOf",l)}if(!Array.prototype.includes){var h=function(t){"use strict";if(null==this)throw new TypeError("Array.prototype.includes called on null or undefined");var e=Object(this),n=parseInt(e.length,10)||0;if(0===n)return!1;var r,i=parseInt(arguments[1],10)||0;i>=0?r=i:(r=n+i)<0&&(r=0);for(var o;r=0&&a>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:a}}function c(t){var e=t.getBoundingClientRect();if(e)return e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}if(!("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)){var h=e.documentElement,f=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},r.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this._checkForIntersections(),this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(t,"resize",this._checkForIntersections,!0),a(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach(function(r){var o=r.element,s=c(o),a=this._rootContainsTarget(o),u=r.entry,l=t&&a&&this._computeTargetAndRootIntersection(o,e),h=r.entry=new n({time:i(),target:o,boundingClientRect:s,rootBounds:e,intersectionRect:l});t&&a?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.isIntersecting&&this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=t.getComputedStyle(e).display){return u(n,c(e))}},r.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;in.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)})},"./shared/qevents/main.js":function(t,e,n){n("./shared/polyfills/requestAnimationFrame.js"),n("./shared/polyfills/string.js"),n("./shared/polyfills/classList.js"),n("./shared/polyfills/array.js"),n("./shared/polyfills/function.js"),n("./shared/polyfills/object.js"),n("./shared/polyfills/date.js"),n("./shared/polyfills/intersection-observer.js"),n("./shared/qevents/pixel.js").init(),n("./shared/qevents/queue.js").flush()},"./shared/qevents/pixel.js":function(t,e,n){function r(){try{var t=o("ia_share_url");if(null!==t)return t}catch(t){}try{return ia_document!==undefined&&ia_document.shareURL}catch(t){return}}function i(t){var e,n=[];for(var r in t)e=t[r],s(r)&&a(e)&&n.push(r+"="+encodeURIComponent(e));return n.join("&")}function o(t){var e=null,n=[];return window.location.search.substr(1).split("&").forEach(function(r){n=r.split("="),n[0]===t&&(e=decodeURIComponent(n[1]))}),e}function s(t){return"string"==typeof t}function a(t){return"string"==typeof t||!isNaN(Number(t))}function u(){function t(t,e){var n=window.history[t];window.history[t]=function(){var t=n.apply(this,arguments);return e.apply(this,arguments),t}}window.history.pushState&&window.history.replaceState&&(t("pushState",c),t("replaceState",c),window.addEventListener("popstate",c,!1))}function c(){!0!==window.qp.disablePushState&&e.quoraPixelHelper("track","ViewContent")}var l,h=n("./shared/Class.js").Class,f=h.extend({__init__:function(t){if("string"!=typeof t)throw new Error("Quora Pixel Error: The second argument passed to qp is invalid.");this.uuid=t,this.lastViewContentUrl=""},track:function(t,n){if("string"!=typeof t)throw new Error("Quora Pixel Error: The second argument passed to qp is invalid.");var r,i,o=this._getIsFBIAUrl(),s=this._getValueFromPassback(n),a=this._getUrl();this._shouldTrack(t,a)&&(r=this._getMetadata(t,a,o,s),i=this._getPixelUrl(r),e.firePixel(i))},_shouldTrack:function(t,e){return("ViewContent"!=t||e!=this.lastViewContentUrl)&&("ViewContent"==t&&(this.lastViewContentUrl=e),!0)},_getMetadata:function(t,e,n,r){var i={j:1,u:e,tag:t,ts:(new Date).getTime()};return n&&(i.fbia=1),r!==undefined&&(i.v=r),i},_getValueFromPassback:function(t){var e;if(t!==undefined&&null!==t&&t.value!==undefined&&"number"!=typeof(e=t.value)&&"string"!=typeof e)throw new Error("Quora Pixel Error: The third argument passed to qp is invalid.");return e},_getUrl:function(){var t=r();return t||(t=window.location.href),t},_getIsFBIAUrl:function(){return Boolean(r())},_getPixelUrl:function(t){return this._getBasePixelUrl()+this.uuid+"/pixel?"+i(t)},_getBasePixelUrl:function(){return"https://q.quora.com/_/ad/"}}),p=h.extend({__init__:function(){this.uuidToPixel={}},installPixel:function(t){if(this.uuidToPixel[t]===undefined){var e=new f(t);this.uuidToPixel[t]=e}},track:function(t,e){var n=Object.keys(this.uuidToPixel);if(!n.length)throw new Error("Quora Pixel Error: Base pixel code is not installed properly.");for(var r=0;r