window.hjSiteSettings = window.hjSiteSettings || {"site_id":4965657,"rec_value":1,"state_change_listen_mode":"automatic","record":true,"continuous_capture_enabled":true,"recording_capture_keystrokes":true,"session_capture_console_consent":true,"anonymize_digits":false,"anonymize_emails":true,"suppress_all":false,"suppress_all_on_specific_pages":[],"suppress_text":false,"suppress_location":false,"user_attributes_enabled":true,"legal_name":"Stark Group","privacy_policy_url":"https://starkbuild.co.uk/wp-content/uploads/2024/02/STARK-UK-Privacy-Statement-Feb24.pdf","deferred_page_contents":[],"record_targeting_rules":[],"heatmaps":[],"polls":[{"id":1877522,"created_epoch_time":1786699867,"skin":"light","background":"#ededed","effective_show_branding":false,"position":"right","content":{"version":2,"questions":[{"uuid":"3ab8d6a8-84ed-4d95-8540-9d76f48ba012","type":"single-close-ended","text":"Have you ever queried one of your Jewson invoices?","required":true,"randomize_answer_order":false,"pin_last_to_bottom":false,"answers":[{"text":"Yes","comments":false},{"text":"No","comments":false}],"nextByAnswer":["byOrder","question:3c1d3247-d031-45ad-88fb-89b5bf5489b8"],"next":"byAnswer"},{"uuid":"95b34ea6-f29f-4292-b02c-65ec0fe0daa8","type":"rating-scale-5","text":"How did you find the process of querying an invoice?","required":true,"scaleCount":5,"labels":[{"text":"Difficult"},{"text":"Easy"}],"nextByAnswer":["question:6094b0c6-d47f-49be-87a8-a3f703514c8e","question:3c1d3247-d031-45ad-88fb-89b5bf5489b8","question:3c1d3247-d031-45ad-88fb-89b5bf5489b8"],"next":"byAnswer"},{"uuid":"6094b0c6-d47f-49be-87a8-a3f703514c8e","type":"single-open-ended-single-line","text":"How could it be improved?","required":true,"next":"question:3c1d3247-d031-45ad-88fb-89b5bf5489b8"},{"uuid":"3c1d3247-d031-45ad-88fb-89b5bf5489b8","type":"single-close-ended","text":"Would you use a feature that allows you to query an invoice on the Jewson website?","required":true,"randomize_answer_order":false,"pin_last_to_bottom":false,"answers":[{"text":"Yes","comments":false},{"text":"No","comments":false}],"next":"byOrder"}],"thankyou":"Thank you for your feedback."},"connect_visit_data":"always","ask_for_consent":false,"language":"en","display_condition":"delay","display_delay":20,"persist_condition":"once","targeting_percentage":100,"targeting":[{"component":"device","match_operation":"exact","negate":false,"pattern":"tablet","name":null,"rule_type":null},{"component":"url","match_operation":"simple","negate":false,"pattern":"https://www.jewson.co.uk/my-account/invoice-history","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"phone","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"desktop","name":null,"rule_type":null}],"uuid":"59b3b899-031d-4a84-902e-b0f91116bd2c","invite":{"title":"Your feedback is important to us!","description":"Tell us what you think about this page by taking our quick Survey.","button":"Yes, I will give feedback","close":"No thanks"},"invite_enabled":false,"display_type":"popover","auto_screenshot":true,"etr_enabled":false,"show_legal":false,"logo_path":"surveys/logo/c8e00a1a28c74c1f8c07c7f8be3fbc47","button_color":"#5aa0ff","parent_element_selector":null,"button_survey_label":null,"custom_css":{},"targeting_user_attribute_match_logic":"and"},{"id":1871636,"created_epoch_time":1783351329,"skin":"light","background":"#ededed","effective_show_branding":false,"position":"right","content":{"version":2,"questions":[{"uuid":"3ab8d6a8-84ed-4d95-8540-9d76f48ba012","type":"reaction","text":"Please rate your experience of the Jewson mobile app.","required":true,"labels":[{"text":"Not good at all"},{"text":"Very good"}],"reaction_style":"star","next":"byOrder"},{"uuid":"95b34ea6-f29f-4292-b02c-65ec0fe0daa8","type":"single-open-ended-multiple-line","text":"Tell us more about your experience.","required":false,"nextIfSkipped":"byOrder","next":"byOrder"}],"thankyou":"Thanks for your feedback."},"connect_visit_data":"always","ask_for_consent":false,"language":"en","display_condition":"immediate","display_delay":0,"persist_condition":"once","targeting_percentage":100,"targeting":[{"component":"device","match_operation":"exact","negate":false,"pattern":"desktop","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"tablet","name":null,"rule_type":null},{"component":"url","match_operation":"contains","negate":false,"pattern":"/","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"phone","name":null,"rule_type":null}],"uuid":"766be31b-083f-4e63-8d2e-c6fbebceba88","invite":{"title":"Your feedback is important to us!","description":"Tell us what you think about this page by taking our quick Survey.","button":"Yes, I will give feedback","close":"No thanks"},"invite_enabled":false,"display_type":"external_link","auto_screenshot":true,"etr_enabled":false,"show_legal":false,"logo_path":"surveys/logo/1b095a7e02b14ee5b21d9b97d7441e3c","button_color":"#5aa0ff","parent_element_selector":null,"button_survey_label":null,"custom_css":{},"targeting_user_attribute_match_logic":"and"},{"id":1823329,"created_epoch_time":1762348598,"skin":"light","background":"#ededed","effective_show_branding":false,"position":"right","content":{"version":2,"questions":[{"uuid":"3ab8d6a8-84ed-4d95-8540-9d76f48ba012","type":"reaction","text":"How would you rate your experience on the Jewson site today?","required":true,"labels":[{"text":"Not good at all"},{"text":"Very good"}],"reaction_style":"star","next":"byOrder"},{"uuid":"95b34ea6-f29f-4292-b02c-65ec0fe0daa8","type":"single-close-ended","text":"Was product pricing and availability what you expected?","required":true,"randomize_answer_order":false,"pin_last_to_bottom":false,"answers":[{"text":"Yes","comments":false},{"text":"No","comments":true}],"next":"byOrder"},{"uuid":"3c1d3247-d031-45ad-88fb-89b5bf5489b8","type":"single-open-ended-multiple-line","text":"Do you have any feedback for improving the Jewson site?","required":false,"nextIfSkipped":"byOrder","next":"byOrder"}],"thankyou":"Thanks for your feedback."},"connect_visit_data":"always","ask_for_consent":false,"language":"en","display_condition":"delay","display_delay":1,"persist_condition":"response","targeting_percentage":100,"targeting":[{"component":"device","match_operation":"exact","negate":false,"pattern":"phone","name":null,"rule_type":null},{"component":"url","match_operation":"contains","negate":false,"pattern":"/orderConfirmation","name":null,"rule_type":null},{"component":"attribute","match_operation":"exact","negate":false,"pattern":"cash","name":"accountType","rule_type":"string"},{"component":"device","match_operation":"exact","negate":false,"pattern":"desktop","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"tablet","name":null,"rule_type":null},{"component":"attribute","match_operation":"exact","negate":false,"pattern":"credit","name":"accountType","rule_type":"string"},{"component":"attribute","match_operation":"exact","negate":false,"pattern":"credit and cash","name":"accountType","rule_type":"string"}],"uuid":"9be6f1ec-a61b-4087-8a77-34382278bd44","invite":{"title":"Your feedback is important to us!","description":"Tell us what you think about this page by taking our quick Survey.","button":"Yes, I will give feedback","close":"No thanks"},"invite_enabled":false,"display_type":"popover","auto_screenshot":false,"etr_enabled":false,"show_legal":false,"logo_path":"surveys/logo/b15a13eb24e74e4c8f15ad2e36ce7a9b","button_color":"#5aa0ff","parent_element_selector":null,"button_survey_label":null,"custom_css":{},"targeting_user_attribute_match_logic":"or"},{"id":1817011,"created_epoch_time":1760433117,"skin":"light","background":"#ededed","effective_show_branding":false,"position":"right","content":{"version":2,"questions":[{"uuid":"3ab8d6a8-84ed-4d95-8540-9d76f48ba012","type":"reaction","text":"How would you rate your experience on the Jewson site today?","required":true,"labels":[{"text":"Not good at all"},{"text":"Very good"}],"reaction_style":"star","next":"byOrder"},{"uuid":"95b34ea6-f29f-4292-b02c-65ec0fe0daa8","type":"single-close-ended","text":"Are you a tradesperson?","required":true,"randomize_answer_order":false,"pin_last_to_bottom":false,"answers":[{"text":"Yes","comments":false},{"text":"No","comments":false}],"next":"byOrder"},{"uuid":"3c1d3247-d031-45ad-88fb-89b5bf5489b8","type":"single-open-ended-multiple-line","text":"Do you have any feedback for improving the Jewson site?","required":false,"nextIfSkipped":"byOrder","next":"byOrder"}],"thankyou":"Thanks for your feedback."},"connect_visit_data":"always","ask_for_consent":false,"language":"en","display_condition":"delay","display_delay":1,"persist_condition":"response","targeting_percentage":100,"targeting":[{"component":"url","match_operation":"contains","negate":false,"pattern":"/orderConfirmation","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"phone","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"tablet","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"desktop","name":null,"rule_type":null},{"component":"attribute","match_operation":"contains","negate":false,"pattern":"anonymous","name":"loginStatus","rule_type":"string"}],"uuid":"349f1de3-c3ef-44e8-b8f7-110bb041d995","invite":{"title":"Your feedback is important to us!","description":"Tell us what you think about this page by taking our quick Survey.","button":"Yes, I will give feedback","close":"No thanks"},"invite_enabled":false,"display_type":"popover","auto_screenshot":true,"etr_enabled":false,"show_legal":false,"logo_path":"surveys/logo/7be23e1773084a89b226850c445a4bb9","button_color":"#5aa0ff","parent_element_selector":null,"button_survey_label":null,"custom_css":{},"targeting_user_attribute_match_logic":"and"},{"id":1802280,"created_epoch_time":1757079277,"skin":"light","background":"#ededed","effective_show_branding":false,"position":"right","content":{"version":2,"questions":[{"uuid":"3ab8d6a8-84ed-4d95-8540-9d76f48ba012","type":"single-close-ended","text":"Do you use a trade account at your local Jewson branch?","required":true,"randomize_answer_order":false,"pin_last_to_bottom":false,"answers":[{"text":"Yes","comments":false},{"text":"No","comments":false},{"text":"Don't know","comments":false}],"nextByAnswer":["question:95b34ea6-f29f-4292-b02c-65ec0fe0daa8","question:53062047-8307-4a6b-b3f8-9e4e2728a9d6","question:e0f75da3-c3ac-4ceb-b14d-d95bcb214f23"],"next":"byAnswer"},{"uuid":"95b34ea6-f29f-4292-b02c-65ec0fe0daa8","type":"title-and-description","text":"You can use your in-branch trade prices online","required":true,"description":"Simply grab your account number from an invoice or statement and visit this page: https://www.jewson.co.uk/registration?registrationType=LINK","next":"thankYou"},{"uuid":"53062047-8307-4a6b-b3f8-9e4e2728a9d6","type":"title-and-description","text":"Why not sign up for a Jewson trade account today","required":true,"description":"You will get personalised prices to use in-branch and online, as well as FREE delivery on orders over £100. Apply here: https://www.jewson.co.uk/choose-account","next":"thankYou"},{"uuid":"e0f75da3-c3ac-4ceb-b14d-d95bcb214f23","type":"title-and-description","text":"Ask next time you're in your local Jewson branch and a colleague will be happy to help you.","required":true,"next":"thankYou"}],"thankyou":"Thanks for your feedback."},"connect_visit_data":"always","ask_for_consent":false,"language":"en","display_condition":"delay","display_delay":3,"persist_condition":"response","targeting_percentage":100,"targeting":[{"component":"url","match_operation":"simple","negate":false,"pattern":"https://www.jewson.co.uk/my-account","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"phone","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"desktop","name":null,"rule_type":null},{"component":"device","match_operation":"exact","negate":false,"pattern":"tablet","name":null,"rule_type":null},{"component":"attribute","match_operation":"contains","negate":false,"pattern":"web","name":"accountType","rule_type":"string"},{"component":"url","match_operation":"contains","negate":false,"pattern":"/orderConfirmation","name":null,"rule_type":null}],"uuid":"a79af1a9-8bf1-456a-b2b0-ea99828bdf56","invite":{"title":"Your feedback is important to us!","description":"Tell us what you think about this page by taking our quick Survey.","button":"Yes, I will give feedback","close":"No thanks"},"invite_enabled":false,"display_type":"popover","auto_screenshot":true,"etr_enabled":false,"show_legal":false,"logo_path":"surveys/logo/0c835008c44845feb1c33775e2cdebf5","button_color":"#5aa0ff","parent_element_selector":null,"button_survey_label":null,"custom_css":{},"targeting_user_attribute_match_logic":"and"}],"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":["ask.popover_redesign","client_script.compression.pc","csq_theme","error_reporting","feedback.embeddable_widget","feedback.widgetV2","settings.billing_v2","survey.embeddable_widget","survey.image_question","survey.screenshots","survey.type_button","tcvs_v2"],"tracking_code_verified":true,"cs_project_id":null,"account_id":3629979,"account_signature":"e872f7323176c29f6a2f6d3cc89c0caded350caf4e4f0e8b5627cd67455e3989"};

!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;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}function n(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!=e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(n)?n:String(n)}var r,i=function(){function e(t){var n=arguments.length>1&&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;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var a,s=function(){try{return"performance"in window&&"now"in window.performance}catch(e){return!1}},c={version:6,metricsUrl:(null===(r=window._hjSettings)||void 0===r?void 0:r.metricsUrl)||"https://metrics.hotjar.io",sampling:{metrics:.1,fieldMetrics:.01,debug:.5,universalDebug:.05*.1},browser:{hasPerformance:!1,shouldLogMetrics:!1,inLab:!1},buffer:{bufferSize:40,flushInterval:3e3}},u={isDebugEnabled:!1,isMetricsEnabled:!1,isFieldMetricsEnabled:!1,loggedMetrics:{},genericTags:{}},l=function(e,t,n){var r;u.loggedMetrics[e]=o(o({},u.loggedMetrics[e]),{},((r={})[t]=n||{},r))},d=function(e){if(!e)return"value";var t=Object.keys(e)[0];return t&&e[t]||"value"},f=function(e){var t,n=null!==(t=e.tag)&&void 0!==t?t:void 0;return u.isDebugEnabled?o(o(o({},n),e.extraTags),u.genericTags):n},g=function(e,t){if(!a)return!1;var n=u.isMetricsEnabled||u.isDebugEnabled;return"lab"===e&&(n=c.browser.inLab),"field"===e&&(n=u.isFieldMetricsEnabled),t?n&&t.flush:n},h=function(e){var t=!1,n="v=".concat(c.version),r="".concat(c.metricsUrl,"?").concat(n,"&site_id=").concat(window.hjSiteSettings.site_id)+(u.isDebugEnabled?"&debug=true":""),i=JSON.stringify(e);if("sendBeacon"in navigator)try{t=navigator.sendBeacon.bind(navigator)(r,i)}catch(e){}if(!1===t)try{var o=new XMLHttpRequest;o.open("POST",r),o.timeout=1e4,o.send(i)}catch(e){}c.browser.shouldLogMetrics&&console.debug("New Metrics: ",e)},v={getConfig:function(e){return c[e]},getState:function(e){return u[e]},start:function(){try{c.browser={hasPerformance:s(),shouldLogMetrics:/hjMetrics=1/.test(location.search),inLab:/hjLab=true/.test(location.search)};var e=v.time(),t=window.hjSiteSettings||{},n=t.features,r=t.site_id,o=new Set(n),l=c.sampling;return u.genericTags={site_id:r},u.isDebugEnabled=Math.random()<=l.universalDebug||o.has("client_script.metrics.debug")&&Math.random()<=l.debug,u.isMetricsEnabled=Math.random()<=l.metrics,u.isFieldMetricsEnabled=u.isMetricsEnabled&&Math.random()<=l.fieldMetrics,a=new i(h,c.buffer.bufferSize,c.buffer.flushInterval),e}catch(e){console.debug("Error in metrics.start",{error:e})}},reset:function(){u.loggedMetrics={}},stop:function(){u.isDebugEnabled=!1,u.isMetricsEnabled=!1,u.genericTags={}},count:function(e,t){var n=t.incr,r=t.tag,i=t.extraTags,s=t.type;try{var c,l=d(r),h=u.loggedMetrics[e],v=0;if(n?(v=(h&&h[l]||0)+(n.value||1),u.loggedMetrics[e]=o(o({},h),{},((c={})[l]=null!=n&&n.flush?0:v,c))):v=1,g(s,n)){var p={name:e,type:"count",value:v,tags:f({tag:r,extraTags:i})};a.add(p)}}catch(e){}},distr:function(e,t){var n=t.task,r=t.value,i=t.extraTags;g()&&a.add({name:e,type:"distribution",value:r,tags:f({tag:{task:n},extraTags:i})})},time:function(){try{if(!c.browser.hasPerformance)return;return performance.now()}catch(e){}},timeEnd:function(e,t){var n=t.tag,r=t.start,i=t.total,o=t.extraTags,s=t.type;try{var c=v.time();if(!i&&!c)return;var u=d(n),h=i||(r&&c?c-r:void 0);if(l(e,u,{}),h&&h>0&&g(s)){var p={name:e,type:"distribution",value:Math.round(h),tags:f({tag:n,extraTags:o})};a.add(p)}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,f=t.extraTags,g=t.type,h=hj.metrics.time(),p=s&&h?h-s:void 0,m=(n=e,{tagName:r=d(a),start:(o=(i=u.loggedMetrics[n])&&i[r]||{}).start,total:o.total}),w=p?p+(m.total||0):m.total;return l(e,m.tagName,{total:w}),c&&v.timeEnd(e,{tag:a,total:w,extraTags:f,type:g}),w},timeWatcher:function(){var e,t=0,n=!1,r=function(){var n,r=v.time();return t+=null!==(n=e&&r&&r-e)&&void 0!==n?n:0,e=v.time(),t};return{start:function(){if(!n)return n=!0,e=v.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:""}},p=function(e){return e.replayRecordingMaskedUrlRegex="replayRecordingMaskedUrlRegex",e.replayRecordingMaskedUrlRegexRules="replayRecordingMaskedUrlRegexRules",e}({}),m=function(e){return e.START="start",e.NOT_START="not-start",e.END="end",e.NOT_END="not-end",e.CONTAIN="contain",e.NOT_CONTAIN="not-contain",e.EXACT="exact",e.NOT_EXACT="not-exact",e}({});function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}var b="https://voc.hotjar.com",y=[b,"https://voc.ew1-integration-1.hotjarians.net","https://hj-engage-unmoderated-review.s3.eu-west-1.amazonaws.com"],j="hj-uut",_={get:function(){var e=window.sessionStorage.getItem(j);return e?JSON.parse(e):null},getValue:function(e){var t=_.get();return null==t?void 0:t[e]},set:function(e){if(e){var t,n=null!==(t=_.get())&&void 0!==t?t:{};window.sessionStorage.setItem(j,JSON.stringify(w(w({},n),e)))}},clear:function(){window.sessionStorage.removeItem(j)},validDomains:y},S=function(e){var t=new URLSearchParams(e);return!!t.has("project_uuid")||("1"===t.get("is_preview")?t.has("task_uuid"):t.has("response_uuid")&&t.has("task_uuid")&&t.has("participation_uuid"))},R=function(){var e,t=null!==(e=function(){var e=document.referrer;if("string"==typeof e&&function(e){if("string"!=typeof e)return!1;try{var t=new URL(e),n="1"===t.searchParams.get("is_preview");return!!y.some((function(t){return null==e?void 0:e.includes(t)}))||!!n&&t.hostname.endsWith(".hotjar.com")&&t.pathname.includes("research/projects/tests")}catch(e){return!1}}(e)&&S(new URL(e).search))return e}())&&void 0!==e?e:function(){var e=new URLSearchParams(window.location.search).get("hj_uut");if(y.some((function(e){var t;return null===(t=document.referrer)||void 0===t?void 0:t.includes(e)}))&&e){var t=window.atob(e);if(S(t)){var n=new URL(b);return n.search=t,n.toString()}}}(),n=void 0!==t,r=null!==_.get();return n&&_.set({referrer:t}),r||n};function T(e,t,n){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var r=t.length;return M(t,void 0!==n&&n<r?n:r)}return e(t,n)}function E(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var O,x=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null===(e=_hjSettings)||void 0===e?void 0:e.environment,r=t.isCSQLite?"t.contentsquare.net":"t.cs.hotjar.io";n&&"live"!==n&&(r=t.isCSQLite?"t-staging.contentsquare.net":"t-staging.cs.hotjar.io");var i=t.isCSQLite?"smb/tag":hjSiteSettings.cs_tag_name;if(i){var o=document.createElement("script");return o.type="text/javascript",o.async=!0,o.src="//".concat(r,"/uxa/").concat(i,".js"),document.getElementsByTagName("head")[0].appendChild(o),o}};function C(){var e,t,n;window.hj=window.hj||function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.hj.q=window.hj.q||[]).push(t)},window.hj.metrics=v,hj.metrics.start();var r,i,o,a,s,c,u,l,d,f,g,h,w=!(!window.CS_CONF||null===(e=window.CS_CONF.voc)||void 0===e||!e.enabled),b=!(window.CS_CONF||null===(t=window.hjSiteSettings)||void 0===t||null===(n=t.features)||void 0===n||!n.includes("cs_lite"));if(w&&window._uxa)window._uxa.push(["start:hotjar",hjSiteSettings]),window.hj.scriptLoaded=!0;else if(b){var y=(c=(r=hjSiteSettings).suppress_all||r.suppress_text||(null===(i=r.suppress_all_on_specific_pages)||void 0===i?void 0:i.length),u=function(e){var t,n,r,i,o,a={anonymisationMethod:null,replayRecordingMaskedUrlRegex:null,replayRecordingMaskedUrlRegexRules:null};if((e.suppress_all||e.suppress_text)&&(a.anonymisationMethod=p.replayRecordingMaskedUrlRegex,a.replayRecordingMaskedUrlRegex=".*"),null!==(t=e.suppress_all_on_specific_pages)&&void 0!==t&&t.length){a.anonymisationMethod=p.replayRecordingMaskedUrlRegexRules;var s=(n=e.suppress_all_on_specific_pages,r={contains:m.CONTAIN,regex:m.CONTAIN,simple:m.CONTAIN,ends_with:m.END,exact:m.EXACT,starts_with:m.START},i=[],o=Object.keys(r),n.forEach((function(e){if(e.pattern&&o.includes(e.match_operation)){var t={operator:r[e.match_operation],value:e.pattern,ignoreQueryParams:"simple"===e.match_operation,ignoreURIFragments:"simple"===e.match_operation,ignoreCaseSensitivity:"simple"===e.match_operation,notOperator:e.negate};i.push(t)}})),i.length?i:void 0);a.replayRecordingMaskedUrlRegexRules=s||null}return a}(r),l=u.anonymisationMethod,d=u.replayRecordingMaskedUrlRegex,f=u.replayRecordingMaskedUrlRegexRules,g=!(null===(o=_hjSettings)||void 0===o||!o.environment||"live"===_hjSettings.environment),{CS_CONF_BASE:{projectId:r.cs_project_id,smbConfig:{siteId:r.site_id,record:!!hjSiteSettings.record,useCSTC:!0,useSentry:!0,csLiteDomain:g?"insights-integration.live.eks.hotjar.com":"insights.hotjar.com"},hostnames:[window.location.hostname],voc:null!==(a=r.polls)&&void 0!==a&&a.length||R()?{enabled:1,siteId:r.site_id}:{enabled:0},whitelistedAttributes:[],anonymizeDigits:!!c||r.anonymize_digits,implementations:(s=r,T(E,(h=s.state_change_listen_mode,"manual"===h?[]:[{template:{name:"ArtificialPageview",args:{}},triggers:[{name:"HistoryChange",args:{listeners:"popstate, pushState, replaceState"+("automatic_with_fragments"===h?", hashchange":""),useDebounce:"no",window:400}}]}]))),recordTargetingRules:T(E,r.record_targeting_rules),anonymisationMethod:l,replayRecordingMaskedUrlRegex:d,replayRecordingMaskedUrlRegexRules:f},PII_SELECTORS:r.suppress_all?["picture, img, video, audio"]:null}),j=y.CS_CONF_BASE,_=y.PII_SELECTORS;window.CS_CONF_BASE=j,window._uxa=window._uxa||[],_&&window._uxa.push(["setPIISelectors",{PIISelectors:_}]),x({isCSQLite:b})}else window.hjBootstrap=window.hjBootstrap||function(e,t,n){var r,i,o=new RegExp("bot|google|headless|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantomjs|pingdom|ahrefsbot|facebook","i"),a=(null===(r=window.navigator)||void 0===r?void 0:r.userAgent)||"unknown";if(o.test(a))return hj.metrics.count("session-rejection",{tag:{reason:"bot"}}),void console.warn("Hotjar not launching due to suspicious userAgent:",a);var s="http:"===window.location.protocol,c=Boolean(null===(i=_hjSettings)||void 0===i?void 0:i.preview);if(s&&!c)return hj.metrics.count("session-rejection",{tag:{reason:"https"}}),void console.warn("For security reasons, Hotjar only works over HTTPS. Learn more: https://help.hotjar.com/hc/en-us/articles/115011624047");window.hjBootstrap=function(e,t,n){var r;window.hjBootstrapCalled=(window.hjBootstrapCalled||[]).concat(n),window.hj&&window.hj._init&&!hj.features.isUchRouted()&&(null===(r=hj._init)||void 0===r||r._verifyInstallation())},window.hjBootstrap(e,t,n),window.hjBootstrap.revision="7aeea88";var u=window.document,l=u.head||u.getElementsByTagName("head")[0];hj.scriptDomain=e;var d=u.createElement("script");d.async=!0,d.src=hj.scriptDomain+t,d.charset="utf-8",l.appendChild(d)},window.hjBootstrap("https://script.hotjar.com/","modules.75bf3488a101739acfe9.js","4965657")}window.hjLazyModules=window.hjLazyModules||{SURVEY_V2:{js:"survey-v2.c882b60e63bb96a46f25.js"},SURVEY_BOOTSTRAPPER:{js:"survey-bootstrapper.31d6cfe0d16ae931b73c.js"},SURVEY_ISOLATED:{js:"survey-isolated.31d6cfe0d16ae931b73c.js"},HEATMAP_RETAKER:{js:"heatmap-retaker.f79c0c7bb13d8a14bddc.js"},SURVEY_INVITATION:{js:"survey-invitation.014136c28ea41cdc2e32.js"},NOTIFICATION:{js:"notification.ed2bca043f1d9f8c6b56.js"},SENTRY:{js:"sentry.58c81e3e25532810f6fd.js"},BROWSER_PERF:{js:"browser-perf.8417c6bba72228fa2e29.js"},USER_TEST:{js:"user-test.aded00fb6aa2ffbb5cb7.js"}};var I="/uxa/",N=null!==(O=hjSiteSettings.features)&&void 0!==O?O:[];N.indexOf("one_app_tag")>-1?x():N.indexOf("one_app_tag_dc")>-1?(window.addEventListener("csq:start-hotjar",(function(){C()})),function(e){if(e){var t=e.src.slice(0,e.src.indexOf(I)),n=t+I,r=!1,i=function e(i){"enforce"===i.disposition&&i.violatedDirective.startsWith("script-src")&&(i.blockedURI===t||i.blockedURI.startsWith(n))&&!r&&(document.removeEventListener("securitypolicyviolation",e),C(),hj.metrics.count("csq-tag-blocked-by-csp",{tag:{directive:i.violatedDirective}}))};document.addEventListener("securitypolicyviolation",i),e.addEventListener("load",(function(){r=!0,document.removeEventListener("securitypolicyviolation",i)}))}}(x())):C()}();