window.hjSiteSettings = window.hjSiteSettings || {"site_id":1905505,"rec_value":1.0,"state_change_listen_mode":"automatic","record":false,"continuous_capture_enabled":true,"recording_capture_keystrokes":true,"session_capture_console_consent":false,"anonymize_digits":true,"anonymize_emails":true,"suppress_all":false,"suppress_all_on_specific_pages":[],"suppress_text":false,"suppress_location":false,"user_attributes_enabled":true,"legal_name":null,"privacy_policy_url":null,"deferred_page_contents":[],"record_targeting_rules":[],"feedback_widgets":[],"heatmaps":[],"polls":[],"integrations":{"optimizely":{"tag_recordings":false},"abtasty":{"tag_recordings":false},"kissmetrics":{"send_user_id":false},"mixpanel":{"send_events":false},"unbounce":{"tag_recordings":false},"hubspot":{"enabled":false,"send_recordings":false,"send_surveys":false}},"features":["survey.screenshots","client_script.compression.pc","feedback.widget_telemetry","settings.billing_v2","feedback.widgetV2","survey.embeddable_widget","csq_theme","survey.image_question","survey.type_button","error_reporting","ask.popover_redesign","feedback.embeddable_widget"],"tracking_code_verified":true,"cs_project_id":null,"account_id":1207836}; !function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.send=t,this.batchSize=n,this.flushInterval=r,this.buffer=[],this.flushTimer=null}var n,r;return n=e,(r=[{key:"getBuffer",value:function(){return this.buffer}},{key:"add",value:function(e){var t=this;this.buffer.push(e),this.buffer.length>=this.batchSize?this.flush():this.flushTimer||(this.flushTimer=setTimeout((function(){t.flush()}),this.flushInterval))}},{key:"flush",value:function(){this.buffer.length>0&&(this.send(this.buffer),this.buffer=[]),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null)}}])&&t(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&f(s)){var m={name:e,type:"distribution",value:Math.round(h),tags:g({tag:n,extraTags:o})};a.add(m)}return c}catch(t){console.debug("Failed to send timer metric: ",{name:e,tag:n,error:t})}},timeIncr:function(e,t){var n,r,i,o,a=t.tag,s=t.start,c=t.flush,g=t.extraTags,f=t.type,h=hj.metrics.time(),m=s&&h?h-s:void 0,v=(n=e,{tagName:r=d(a),start:(o=(i=l.loggedMetrics[n])&&i[r]||{}).start,total:o.total}),w=m?m+(v.total||0):v.total;return u(e,v.tagName,{total:w}),c&&p.timeEnd(e,{tag:a,total:w,extraTags:g,type:f}),w},timeWatcher:function(){var e,t=0,n=!1,r=function(){var n,r=p.time();return t+=null!==(n=e&&r&&r-e)&&void 0!==n?n:0,e=p.time(),t};return{start:function(){if(!n)return n=!0,e=p.time()},incr:r,end:function(){var n=r();return t=0,e=void 0,n}}},getErrorMessage:function(e){return e instanceof Error?e.message:"string"==typeof e?e:""}};function m(e,t,n){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var r=t.length;return w(t,void 0!==n&&ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n