(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{7070:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setLoading=function(e){r=e},t.clearQueueForTesting=function(){d=[]},t.default=void 0,t.queueCountForTesting=function(){return d.length};var r,o=n(512),i=u(n(2451)),a=u(n(739));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){return(p="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)}var d=[];function y(e,t){e.isDebug&&console.log(t)}function v(){return window&&!!window.utag}function m(e,t,n){y(e,'Executing method "'.concat(t,'" on window.utag')),window.utag[t](n)}function h(e,t,n){return(y(e,"_callUTag(".concat(t,"), ").concat(JSON.stringify(n))),v())?new Promise(function(r){m(e,t,n),r()}):(y(e,"Queueing utag call."),d.push({method:t,params:n}),Promise.resolve())}function g(e,t){if("undefined"==typeof window)return y(e,"Cannot load the tealium universal tag when it appears that the environment cannot currently use the DOM."),Promise.resolve();if(y(e,"Loading utag."),r||v())return y(e,"utag is loading or already loaded."),Promise.resolve();r=!0,y(e,"Setting up config on window."),window.utag_data=window.utag_data||e.universalDataObject,window.utag_cfg_ovrd=window.utag_cfg_ovrd||{},window.utag_cfg_ovrd.noview=e.manualPageView;var n=e.async?e.tags.async:e.tags.sync;return y(e,'Loading tag from url "'.concat(n,'".')),(0,i.default)(n,{async:e.async,attrs:{id:"tealium-universal-tag"}},function(n){if(n)(console.error?console.error:console.log)("Tealium universal tag failed to initialize.",n),r=!1;else{y(e,"Script tag added to dom."),y(e,"Waiting for window.utag to exist.");var o=null,i=setTimeout(function(){var t="Timed out waiting for window.utag to exist after ".concat(e.loadTimeout,"ms");y(e,t),o&&(y(e,"Clearing whenObj"),o.clear()),r=!1},e.loadTimeout);o=(0,a.default)(v,function(){y(e,"window.utag exists."),function(e){for(;d.length>0;){var t=d.shift();m(e,t.method,t.params)}}(e),r=!1,i&&(y(e,"Clearing loadTimeout timeout. Id: ".concat(i)),clearTimeout(i)),t()})}}),y(e,"Return with resolved promise."),Promise.resolve()}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(i,e);var t,n,r,o=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=l(i);if(t){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function i(e){var t,n,r,a;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),n=f(t=o.call(this)),r="_emitReady",a=function(){t.emit("ready")},r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,!function(e){if("object"!==p(e))throw TypeError("options must be an object.");if(e.universalDataObject&&"object"!==p(e.universalDataObject))throw TypeError("universalDataObject must be an object.");if("string"!=typeof e.account)throw TypeError("account option is required and must be of type string.");if("string"!=typeof e.profile)throw TypeError("profile option is required and must be of type string.");if("string"!=typeof e.environment)throw TypeError("environment option is required and must be of type string.");if(e.async&&"boolean"!=typeof e.async)throw TypeError("async option must be of type boolean.");if(e.manualPageView&&"boolean"!=typeof e.manualPageView)throw TypeError("manualPageView option must be of type boolean.");if(e.lazyLoad&&"boolean"!=typeof e.lazyLoad)throw TypeError("lazyLoad option must be of type boolean.");if(e.debug&&"boolean"!=typeof e.debug)throw TypeError("debug option must be of type boolean.");if(e.loadTimeout&&"number"!=typeof e.loadTimeout)throw TypeError("loadTimeout option must be of type number.")}(e),t.options={universalDataObject:e.universalDataObject||{},account:e.account,profile:e.profile,environment:e.environment,async:e.async||!0,manualPageView:e.manualPageView||!1,lazyLoad:e.lazyLoad||!1,isDebug:e.debug||!1,loadTimeout:e.loadTimeout||5e3,tags:{async:"//tags.tiqcdn.com/utag/".concat(e.account,"/").concat(e.profile,"/").concat(e.environment,"/utag.js"),sync:"//tags.tiqcdn.com/utag/".concat(e.account,"/").concat(e.profile,"/").concat(e.environment,"/utag.sync.js")}},y.bind(f(t))(t.options,"TealiumUniversalTag initialized with options: ".concat(JSON.stringify(t.options))),t.options.lazyLoad||(y(t.options,"Lazy loading disabled. Loading script immediately."),g(t.options,function(){return setTimeout(function(){return t._emitReady()},0)})),t}return n=[{key:"track",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"!=typeof e?Promise.reject(TypeError("eventName is required and must be of type string.")):(y(this.options,"track(".concat(e,", ").concat(JSON.stringify(n),")")),g(this.options,this._emitReady).then(function(){var r=Object.assign(n,{event_name:e});return h(t.options,"link",r)}))}},{key:"pageView",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return y(this.options,"pageView(".concat(JSON.stringify(n),")")),g(this.options,this._emitReady).then(function(){return h(t.options,"view",n)})}}],s(i.prototype,n),r&&s(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(o.EventEmitter);t.default=b},9624:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TealiumProvider=t.TealiumContext=t.TealiumConsumer=void 0;var r=n(2265),o=c(n(7070)),i=c(n(8373)),a=n(2705),u=n(7437),s=["children"];function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var l=(0,r.createContext)({});t.TealiumContext=l;var p=l.Consumer;t.TealiumConsumer=p,t.TealiumProvider=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s);"undefined"!=typeof window&&(window.tealiumMousedownEventListener={tealiumInjectedInlinkOutlinkTracking:"tealium-universal-tag-context"});var c=(0,r.useMemo)(function(){return new i.default(new o.default(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({manualPageView:!0},n)))},Object.values(n));return(0,a.useEventHandlers)(c),(0,u.jsx)(l.Provider,{value:c,children:t})}},2705:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleEvent=i,t.useEventHandlers=function(e){(0,r.useEffect)(function(){if("undefined"!=typeof window){var t=function(t){if(t.target instanceof Element){var n,r="A"===(n=t.target).tagName?n:n.closest("a");r&&i(r,e)}},n=function(t){var n=t.key,r=t.target;"Enter"===n&&r instanceof HTMLElement&&"A"===r.tagName&&i(r,e)};return document.addEventListener("mousedown",t),document.addEventListener("keydown",n),function(){document.removeEventListener("mousedown",t),document.removeEventListener("keydown",n)}}},[e])};var r=n(2265),o=new RegExp(/^ga-/i);function i(e,t){var n=e.getAttribute("id")||e.getAttribute("data-id"),r=e.getAttribute("data-tealium-id");(n&&o.test(n)||r)&&t.link({event_name:"link_click",link_id:r||n,link_url:e.getAttribute("href")})}},7997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTealium=function(){return(0,r.useContext)(o.TealiumContext)};var r=n(2265),o=n(9624)},8332:function(e,t,n){"use strict";Object.defineProperty(t,"K4",{enumerable:!0,get:function(){return i.TealiumProvider}}),Object.defineProperty(t,"x0",{enumerable:!0,get:function(){return o.useTealium}});var r,o=n(7997),i=n(9624);(r=n(8373))&&r.__esModule},8373:function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e;function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.tealium=e,this.store={}}return o(t.prototype,[{key:"setGlobally",value:function(e,t){this.store[e]=t}},{key:"pageView",value:function(e){this.tealium.pageView("Page view",r(r({},this.store),e))}},{key:"track",value:function(e,t){this.tealium.track(e,r(r({},this.store),t))}},{key:"link",value:function(e){this.tealium.track("link_click",r(r({},this.store),e))}}]),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();t.default=i},512:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}v(e,t,i,{once:!0}),"error"!==t&&"function"==typeof e.on&&v(e,"error",o,{once:!0})})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=s(e))>0&&a.length>o&&!a.warned){a.warned=!0;var o,i,a,c=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else if("function"==typeof e.addEventListener)e.addEventListener(t,function o(i){r.once&&e.removeEventListener(t,o),n(i)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return s(this)},i.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,u=Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)r(s,this,t);else for(var c=s.length,f=y(s,c),n=0;n<c;++n)r(f[n],this,t);return!0},i.prototype.addListener=function(e,t){return c(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return c(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,l(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,l(this,e,t)),this},i.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events)||void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0==arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},2451:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,n,r){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");"function"==typeof n&&(r=n,n={}),n=n||{},r=r||function(){},i.type=n.type||"text/javascript",i.charset=n.charset||"utf8",i.async=!("async"in n)||!!n.async,i.src=e,n.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(i,n.attrs),n.text&&(i.text=""+n.text),("onload"in i?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(i,r),i.onload||t(i,r),o.appendChild(i)}},4002:function(e,t,n){var r=n(5566);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,t){"use strict";if(!e.setImmediate){var n,o,i,a,u,s=1,c={},f=!1,l=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?u=function(e){r.nextTick(function(){y(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(n="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(n)&&y(+t.data.slice(n.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),u=function(t){e.postMessage(n+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){y(e.data)},u=function(e){i.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(a=l.documentElement,u=function(e){var t=l.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):u=function(e){setTimeout(y,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return c[s]=r,u(s),s++},p.clearImmediate=d}function d(e){delete c[e]}function y(e){if(f)setTimeout(y,0,e);else{var t=c[e];if(t){f=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),f=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)}})[189](),e.exports={}},739:function(e,t,n){n(4002),e.exports=function(e,t){var n=setImmediate(function(){});function r(){e()?(o(),t()):n=setImmediate(r)}function o(){clearImmediate(n)}return r(),{clear:o,reset:function(){o(),n=setImmediate(function(){}),r()},setCondition:function(t){e=t},setCode:function(e){t=e}}}}}]);