/*! * Bazaarvoice bv-loader v13.25.10 * Fri Aug 09 2024 18:49:04 GMT+0000 (Coordinated Universal Time) * * Capabilities: * * inline_ratings@2.6.0 * inpage_submission@4.17.1 * product_picker@0.3.4 * rating_summary@2.67.1 * ratings@0.1.23 * swat-submission@4.9.2 * swat_container@1.5.4 * swat_questions@2.18.3 * swat_reviews@6.30.2 * * http://bazaarvoice.com * * Copyright 2024 Bazaarvoice. All rights reserved. * */(()=>{var e={353:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r,o=n(788),i=n.n(o),a=n(318),s=n(920),c=function(){var e={timeout:6e4};return r||(r=new s((function(t,n){var r=a.Z.global&&a.Z.global.serverEnvironment||"prod";i().loadScript("https://".concat("prod"===r?"apps":"apps-qa",".bazaarvoice.com/analytics/bv-analytics.js"),e,(function(e){e?n(e):t()}))})))}},426:(e,t,n)=>{var r=n(422),o=r.document&&(r.document.currentScript||r.document.querySelector('script[src*="bv.js"]'));e.exports=o},7:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Un});var r,o,i=n(690),a=n(304),s=n(318),c=n(886),u=n(422),l=(n(581).shadowQuerySelectorAll,"ADDED"),f="REMOVED",d=["data-bv-show","name"],p=[],h="",m=new WeakMap,v=function(e,t){return e.matches?e.matches(t):e.msMatchesSelector(t)},y=function(e){var t=m.get(e);t&&(t.watches.forEach((function(t){(0,t.callback)(f,e)})),t.observer.disconnect(),m.delete(e))},b=function(e){return new u.MutationObserver((function(t){t.forEach((function(t){v(e,h)?function(e,t){m.get(e).watches.forEach((function(n){(0,n.callback)("UPDATED",e,t)}))}(e,t):y(e)}))}))},g=function(e,t){var n,r=p.filter((function(t){var n=t.selector;return v(e,n)})),o=r.reduce((function(e,t){var n=t.attributes,r=void 0===n?[]:n;return e.concat(r)}),[]),i=r;m.has(e)?(n=m.get(e).observer,t&&(i=[t])):n=b(e),n.observe(e,{attributes:!0,attributeFilter:o.length?o:void 0}),m.set(e,{watches:r,observer:n}),i.forEach((function(t){(0,t.callback)(l,e)}))},w=function(e){for(var t=e.length,n=0;n0)for(var u=0;u0)for(var b=0;b1?n-1:0),o=1;o1?t-1:0),r=1;ra?(r.totalActualBVLoadTime+=l,a=f):f>a&&ui?(r.totalActualOtherLoadTime+=l,i=f):f>i&&u0?"".concat(e[0].toUpperCase()).concat(e.slice(1,e.length)):e})).join("");e[n]=ce(t.startTime)})),ae(se(e))},de=n(974),pe=n.n(de),he="bv_metrics",me=s.Z.cookie||pe(),ve=function(){return me.create(he,!0,72e5/864e5),!0},ye=!!me.read(he)||!Math.floor(1e3*Math.random())&&ve();const be=function(e,t,n,r){if(ye&&t.length){ve();var o={type:"performance",name:"Display",scope:e,metrics:t};n&&(o.bvProduct=n),r&&(o.bvProductVersion=r),W.trackEvent("Diagnostic",o)}};var ge=n(423),we=n.n(ge),Ee=n(581),Se={},_e={},Te="bvShow",Ce=we()(Array),Oe=function(e,t){e.filter((function(e){return!e.dataset.bvReady})).forEach((function(e){var n=e.dataset[Te];Se[n]&&Se[n].forEach((function(r){if("spotlights"===n&&t){var o=e.parentElement;e.removeAttribute("data-bv-ready"),o.replaceChild(e.cloneNode(!1),e)}else r(e),e.dataset.bvReady=!0}))}))},ke=function(e){e.filter((function(e){return e.dataset.bvReady})).forEach((function(e){var t=e.dataset[Te];_e[t]&&_e[t].forEach((function(t){t(e),delete e.dataset.bvReady}))}))},Ae=function(e,t){Se[e]||(Se[e]=[]),Se[e].push(t),function(e){return Ce.then((function(t){var n=document.querySelectorAll("[".concat("data-bv-show","]"));return t.prototype.filter.call(n,(function(t){return!e||t.dataset[Te]===e}))}))}(e).then(Oe)},Ne=["data-bv-product-id","data-bv-productId","data-bv-productid","data-bv-show","data-bv-subject-id","data-bv-category-id","data-bv-campaign-id"],xe="bv-loader",Be="Shown",Pe="SwatDeeplinkRedirect",Re="BV_HOSTED_V2",Ie="CLIENT_HOSTED_V2",Le="PRODUCT_DISPLAY_PAGE",je=i.Z.apps.reduce((function(e,t){var n=t.publicName;return e[t.name]=n,e}),{}),Ve=Object.keys(je).reduce((function(e,t){return e[je[t]]=function(){},e}),{}),De=function(e,t,r){var o=e.config.name,i=je[o],a=r.bvShow=r.createMark("bvShow");i&&(Ve[i]=function(){t()(),e.ready((function(){a.start(),Ae(i,(function(t){n.g.BV&&n.g.BV.Spotlights&&"spotlights"===i&&delete n.g.BV.Spotlights,e.trigger("container_added",t)})),function(e,t){_e[e]||(_e[e]=[]),_e[e].push(t)}(i,(function(t){e.trigger("container_removed",t)}))})),Ve[i]=function(){}})},Ze=function(e){e.forEach((function(e){var t=e.dataset[Te];Ve[t]&&Ve[t]()}))},Me=n(788),qe=n.n(Me),Ue=n(920);function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:nt,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";e?Ge.setConsent({BVBRANDID:!0,BVBRANDSID:!0}):Ge.setConsent({BVBRANDID:!1,BVBRANDSID:!1}),tt[Ye]={consent:e,source:t}},ot={},it=function(e){if(e===Ye){var t=et.get(Ye);void 0===t?rt():rt("true"===t.toLowerCase(),"site")}};et.on("change",it);Object.defineProperty(ot,Ye,{get:function(){return tt[Ye]},set:function(e){rt(e&&!0===e.consent,"manual")}});const at=ot;var st="color:black; font-size:1.1em; font-weight:bold;",ct="color: #0b6392; font-size:1.1em; text-decoration:none; font-weight:normal;",ut="font-size:1.0em; font-weight:lighter;",lt=n.g.location.hostname,ft=q()(i.Z.domains,lt);function dt(){!function(e){if(!e.isValid)throw"Bazaarvoice is not configured for the domain ".concat(lt,".")}(ft),function(e){if(e&&e.src){var t=re.Z.parseClient(e.src),n=t&&t.toLowerCase();if(t&&t!==n){var r=e.src.replace("/deployments/".concat(t),"/deployments/".concat(n));console.warn("%cYou are using a cased client name (%c".concat(t,"%c) in the bv.js URL.\n Please use this URL instead: %c").concat(r,"%c.\n For details, see the Conversations Implementation section of https://knowledge.bazaarvoice.com."),ct,st,ct,ut,ct)}}}(R())}var pt=n(424),ht=n.n(pt),mt=n(920);function vt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=10&&Number(o)>=13&&t){var i=vt(t,2)[1];return Number(i)>=11}return!1}return!0}():!wt.noModule&&wt.isFirefox?function(){var e=gt.match(/(?:firefox\/)([\d.]+)/);if(e&&e.length){var t=vt(e,2)[1];return Number(t)>54}return!1}():wt.noModule;const Et=wt;function St(e,t,n){n.load.end=n.load.start();var r=e.sourcePath;e.legacyPath&&!Et.doModernLoad&&(r=e.legacyPath);if(qe().loadScript(r,{timeout:6e4},(function(r){!function(e,t,n,r){r.load.end(),e&&((0,$.Z)().then((function(t){t(e)})),n.processReady(e)),new mt((function(e){"interactive"===document.readyState?e():document.addEventListener("DOMContentLoaded",(function(){e()}))})).then((function(){be(t.name,le(t.name),t.name,t.version)}))}(r,e,t,n)})),e.configUrl){var o=n.createMark("load","config");o.end=o.start(),qe().loadScript(e.configUrl,{timeout:3e4},(function(){o.end()}))}}var _t=n.g.BV,Tt=function(e){return e&&e.split(",").map((function(e){return e.trim()}))||[]}(T.disabled);function Ct(e,t){var r=t.createMark("register",e.name);r.end=r.start();var o=new(ht())({name:e.name});s.Z.registerProperty(e.name,o);var i=t.createMark("app",e.name),a=i.createMark("configure"),c=i.createMark("load"),u=i.createMark("render");i.configure=a,i.load=c,i.render=u,s.Z[e.name].perfMark=i,o.setErrorHandler((function(t,r){return function(e,t,r){t instanceof Error||(t=new Error(t));var o=n.g.console;o&&o.error&&o.error(t),s.Z[e]._analytics.trackError({message:t.message||t,stack:t.stack,type:"BV Application ".concat(r.event," ").concat(t.name||"Error")}),(0,$.Z)().then((function(n){r.app=e,n(t,{extra:r})}))}(e.name,t,r)}));var l=function(){var t=s.Z[e.name]._analytics=H({name:e.name,source:"bv-loader"});_t.global.loadUserSegment.then((function(e){t.setCommonData({displaySegment:e})})),"api"===e.name&&(s.Z[e.name].analytics=t),Tt.some((function(t){return~[e.name,e.publicName].indexOf(t)}))?W.trackEvent("Feature",{type:"Used",name:"AppDisabled",detail1:e.name}):St(e,o,i),l=function(){}};if(j.some((function(t){return t===e.name}))||!e.defer)l();else{var f=o.configure,d=o.ready,p=o.render,h=function(e,t){return l(),o.configure=f,o.ready=d,o.render=p,o[e].apply(this,t)};["configure","ready","render"].forEach((function(e){o[e]=function(){return h.call(this,e,arguments)}}))}De(o,(function(){return l}),i),r.end()}_().call(ht().prototype);const Ot=function(){Xe().initConsent({NoCookie:!0,bv_metrics:!1,bv_segment:!1,BVBRANDID:!1,BVBRANDSID:!1},!i.Z.cookiesOptIn),s.Z.cookieConsent=Xe(),s.Z.cookie=pe()};var kt=n(647),At=n.n(kt),Nt=n(522),xt=function(e){var t,n;return!(e.HasErrors||e.hasErrors||null!=e&&null!==(t=e.response)&&void 0!==t&&t.formValidationErrors||null!=e&&null!==(n=e.FormErrors)&&void 0!==n&&n.FieldErrors)};const Bt=function(){if("caches"in window){var e=new(At())({shouldCache:xt,cacheName:"bvFetchCache",cacheLimit:10});s.Z.bvFetch=e.bvFetchFunc}else s.Z.bvFetch=function(){return Nt.fetch.apply(void 0,arguments)}};var Pt=function(){var e,t,n,r,o=document.createElement("link");o.rel="preconnect",o.href=(e=BV.global,t=e.dataEnvironment,n=e.serverEnvironment,r="".concat("qa"===n||"dev"===n?"qa.":"stg"===t?"stg.":"","api.bazaarvoice.com"),"https://".concat(r,"/")),o.crossOrigin="anonymous",document.head.appendChild(o),setTimeout((function(){o&&o.parentNode&&o.parentNode.removeChild(o)}),2e4)},Rt=n(353);const It=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;for(t=n=r=0;o=e.charCodeAt(r++);n=(n+t)%255)t=(t+o)%255;return n<<8|t};var Lt=n(422),jt=s.Z.cookie||pe(),Vt=function(e,t,n){var r=Lt.document.createElement("div");return r.setAttribute("data-bv-show","inpage_submission"),r.setAttribute("data-bv-product-id",e),n&&r.setAttribute("data-bv-inpagerating",n),t&&("ssURL"===t&&W.trackEvent("Diagnostic",{name:"v2ssURLReviewSubmission",type:"v2ssURLReview",detail1:"v2ssURLLoaded"}),r.setAttribute("data-bv-inpagesource",t)),null!==i.Z&&void 0!==i.Z&&i.Z.isSwatContainerEnabled&&function(){if(["bvHostedContainer","container"].includes(k())){var e,t=null===(e=Lt.document)||void 0===e?void 0:e.querySelector("bv-loading-icon");t&&(t.hide=!0)}}(),Lt.document.body.appendChild(r),r},Dt=function(){if(Lt.location.search){var e=new URLSearchParams(Lt.location.search);if("rr_submit_review"!==e.get("bvaction")){var t=e.get("bvdata");if(t){var n,r,o,i,a=new URLSearchParams(t);if("swat_submit_review"===a.get("action")){var s=a.get("productId"),c=jt.read((n="inpagedata",r=Lt.BV.global,o=r.dataEnvironment,i=r.client,"bvf_".concat(n)+It(i)+("prod"===o?"":"s"))),u=c?JSON.parse(c):{};Vt(s,u.inPageSource||"bv_loader",u.ratingValue)}}}else{var l=e.get("bvproductId");Vt(l,"ssURL")}}},Zt=function(e){if(!e.productId)throw new Error("BV: IMPL: No productId is defined");var t=(0,Ee.shadowQuerySelectorAll)(Lt.document.body,"[data-bv-show='inpage-submission']");if(0===t.length)Vt(e.productId,"BV.ui");else if(t[0]instanceof HTMLElement){var n="data-bv-product-id";String(t[0].getAttribute(n))===String(e.productId)?Lt.BV.inpage_submission.trigger("show_form",0,t[0],e.productId,"bv-loader"):t[0].setAttribute(n,e.productId)}};function Mt(e){return Mt="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},Mt(e)}var qt=n(422),Ut="data-bv";var Ft=function(e){var t,n,r,o,a,s,c,u=qt.document.createElement("div");if(u.setAttribute("".concat(Ut,"-show"),"product_picker"),(e?function(e){var t=e.categoryId,n=e.familyProductId,r=e.preventClose,o=e.campaignId,i=e.inline;return[{key:"".concat(Ut,"-category-id"),value:t},{key:"".concat(Ut,"-family-product-id"),value:n},{key:"".concat(Ut,"-prevent-close"),value:r},{key:"".concat(Ut,"-inline"),value:i},{key:"".concat(Ut,"-campaign-id"),value:o}]}(e):(t=new URLSearchParams(qt.location.search),n=t.get("bvcategoryId"),r=t.get("bvfamilyProductId"),o=t.get("bvpreventClose"),a=t.get("bvdata"),s=a?new URLSearchParams(a):null,c=!!s&&s.get("bvInlineId"),[{key:"".concat(Ut,"-category-id"),value:n},{key:"".concat(Ut,"-family-product-id"),value:r},{key:"".concat(Ut,"-prevent-close"),value:o},{key:"".concat(Ut,"-inline"),value:c}])).forEach((function(e){return e.value&&u.setAttribute("".concat(e.key),e.value)})),e){var l=e.contentContainerDiv,f=e.doShowContent,d="string"==typeof l?shadowQuerySelectorAll(document,"#".concat(l))[0]:"object"===Mt(l)&&l instanceof HTMLElement?l:null;d?d.appendChild(u):qt.document&&qt.document.body.appendChild(u),f&&"function"==typeof e.doShowContent&&f()}else null!==i.Z&&void 0!==i.Z&&i.Z.isSwatContainerEnabled&&function(){if(["bvHostedContainer","container"].includes(k())){var e,t=null===(e=qt.document)||void 0===e?void 0:e.querySelector("bv-loading-icon");t&&(t.hide=!0)}}(),qt.document&&qt.document.body.appendChild(u)},zt=function(e){if(qt.location.search||e){var t="rr_submit_generic"===new URLSearchParams(qt.location.search).get("bvaction");(t||e)&&(t&&W.trackEvent("Diagnostic",{name:"v2ssURLGenericReviewSubmission",type:"v2ssURLReview",detail1:"v2ssURLLoaded"}),Ft(e))}};function Ht(e){return Ht="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},Ht(e)}var Wt=function(e){return"string"==typeof e?(0,Ee.shadowQuerySelectorAll)(document,"#".concat(e))[0]:"object"===Ht(e)&&e instanceof HTMLElement?e:null};function $t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Qt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&d[0]instanceof HTMLElement&&d[0].remove(),f&&f instanceof HTMLElement?f.appendChild(u):n.g.document.body.appendChild(u),u},Gt=function(e){if(null==e||!e.productId)throw new Error("BV: IMPL: No productId is defined");var t=(0,Ee.shadowQuerySelectorAll)(n.g.document.body,"[data-bv-show='questions']"),r=t.length>0&&t[0]instanceof HTMLElement&&t[0].dataset.productId===e.productId;if(n.g.BV.swat_questions&&r&&!e.isDeepLink)n.g.BV.swat_questions.trigger("show_qform",{source:"BV.ui"});else{var o=Kt("question",e.productId,{contentContainerDiv:null==e?void 0:e.contentContainerDiv,isDeepLink:null==e?void 0:e.isDeepLink});n.g.BV.globalEvents.once("remove_swat_question_submission",(function(){o&&o.remove()}))}},Yt=function(e){if(!(null!=e&&e.productId||e.isDeepLink))throw new Error("BV: IMPL: No productId is defined");if(!(null!=e&&e.questionId||e.isDeepLink))throw new Error("BV: IMPL: No questionId is defined");var t=e.questionId,r=e.productId,o=e.isDeepLink,i=Kt("answer",r,{questionId:t,isDeepLink:o});n.g.BV.globalEvents.once("remove_swat_answer_submission",(function(){i&&i.remove()}))},en=n(920);function tn(e){return tn="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},tn(e)}var nn=["rr","qa"],rn="submit_question",on="submit_answer",an="submit_review",sn="show_questions",cn="show_reviews",un="submit_generic",ln=[cn,un,an],fn=[sn,rn,on];function dn(){}function pn(e,t){try{if(W.trackEvent("Diagnostic",{name:"configure",type:"handler",detail1:"configureEventCallbacks"}),t&&"object"===tn(t)&&!Array.isArray(t)&&t.events){var n;if(!e||"string"!=typeof e||"global"!==e)throw new Error("IMPL: event handlers can only be set in global config");var r=t.events;if(!r||"object"!==tn(r)||Array.isArray(r))throw new Error("IMPL: events property in global config must be an object");for(var o in r){var i=r[o];"function"==typeof i&&this.on(o,i)}}}catch(n){console.error(n)}}function hn(e,t,r){var o;W.trackEvent("Diagnostic",{name:"ui",type:"handler",detail1:t,detail2:null==r?void 0:r.productId});try{if(!nn.includes(e))throw Error("Scope not supported.");if("rr"===e&&!ln.includes(t))throw Error("Incorrect scope and type combinations for scope rr");if("qa"===e&&!fn.includes(t))throw Error("Incorrect scope and type combinations for scope qa");switch(e){case"rr":t===cn?(Xt("reviews",r),o=new en((function(e){n.g.BV.globalEvents.on("rr_show_reviews",(function(t){e(t)}))}))):t===un?zt(r):t===an&&(Zt(r),o=new en((function(e){n.g.BV.globalEvents.on("rr_submit_review",(function(t){e(t)}))})));break;case"qa":t===sn?(Xt("questions",r),o=new en((function(e){n.g.BV.globalEvents.on("rr_show_questions",(function(t){e(t)}))}))):t===rn?(Gt(r),o=new en((function(e){n.g.BV.globalEvents.on("qa_submit_question",(function(t){e(t)}))}))):t===on&&(Yt(r),o=new en((function(e){n.g.BV.globalEvents.on("qa_submit_answer",(function(t){e(t)}))})))}return o}catch(e){console.error(e)}}const mn=function(){_().call(dn.prototype);var e=new dn;s.Z.globalEvents=e,s.Z.configure=pn.bind(e),s.Z.ui=hn.bind(e)};var vn=n(422),yn=n.n(vn),bn=["rr_submit_review","rr_submit_generic"],gn=["qa_submit_question","qa_submit_answer"],wn=i.Z.isSwatContainerEnabled,En=i.Z.isSwatQuestionsEnabled,Sn=i.Z.isSwatReviewsEnabled,_n=["REVIEW_CONFIRMATION","QUESTION_CONFIRMATION","ANSWER_CONFIRMATION","COMMENT_CONFIRMATION"];var Tn,Cn,On=["REVIEW_APPROVED","REVIEW_RESPONSE","REVIEW_COMMENTED","COMMENT_APPROVED","COMMENT_REJECTED"],kn=["QUESTION_APPROVED","QUESTION_ANSWERED","ANSWER_APPROVED"],An=["COMMENT_REJECTED"],Nn=["QUESTION_REJECTED","ANSWER_REJECTED","APO"],xn=(Tn={container:Ie,bvHostedContainer:Re},(Cn=k())&&["container","bvHostedContainer"].includes(Cn)?Tn[Cn]:Le),Bn="bvmessageType",Pn=function(e){W.trackEvent("Feature",{type:Be,bvProduct:xe,name:Pe,bvProductVersion:i.Z.scoutVersion,notificationid:e.get("bvnotificationId")||e.get("bvnotificationid")||"",detail1:e.has(Bn)&&e.get(Bn),detail2:xn})},Rn={isSiteAuth:function(e){return(bn.includes(e.get("bvaction"))||e.has("bveventid"))&&wn},isUnsubscribePage:function(e){return e.has("bv_unsubtoken")&&e.has("emailtype")},isReviewsContentDeepLink:function(e){var t=e.has(Bn)&&[].concat(On,An).includes(e.get(Bn))&&Sn;return t&&Pn(e),t},isVerificationType:function(e){var t,n,r;return e&&e instanceof URLSearchParams&&(t=e.get(Bn),n=e.get("bv_authtoken"),t&&_n.includes(t)&&n&&(r=!0)),!!r&&(W.trackEvent("Feature",{name:"DeepLinkVerificationRedirect",type:"Shown",detail1:"Deep Link Verification v2",detail2:t}),!0)},isQuestionsAppDeepLink:function(e){var t=e.has(Bn)&&[].concat(kn,Nn).includes(e.get(Bn))&&En;return t&&Pn(e),t}},In={isSiteAuth:function(){return[{key:"data-bv-type",value:"siteAuthRedirect"},{key:"data-bv-hosted-page",value:"bvHostedContainer"===k()}]},isUnsubscribePage:function(e){return[{key:"data-bv-type",value:"unsubscribe"},{key:"data-bv-unsubtoken",value:e.get("bv_unsubtoken")},{key:"data-bv-emailtype",value:e.get("emailtype")}]},isReviewsContentDeepLink:function(){return[{key:"data-bv-type",value:"emailMessageType"},{key:"data-bv-detail1",value:xn}]},isVerificationType:function(e){return[{key:"data-bv-messagetype",value:e.get(Bn)},{key:"data-bv-authtoken",value:e.get("bv_authtoken")}]},isQuestionsAppDeepLink:function(){return[{key:"data-bv-type",value:"emailMessageType"},{key:"data-bv-detail1",value:xn}]}};function Ln(e){var t=function(e){return Object.keys(Rn).find((function(t){return Rn[t](e)}))}(e);return!!In[t]&&(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=yn().document.createElement("div");t.setAttribute("data-bv-show","container"),e.forEach((function(e){return t.setAttribute(e.key,e.value)})),yn().document.body.appendChild(t)}(In[t](e)),!0)}var jn=function(){var e=new URLSearchParams(yn().location.search);Ln(e),function(e){if("container"!==k())return!1;var t=!wn&&bn.includes(e.get("bvaction"))&&!Sn,n=gn.includes(e.get("bvaction"))&&!En,r=e.has("bveventid")&&!wn;return t||n||r}(e)&&yn().$BV.container("global",{})};const Vn=function(){};var Dn=n(920);function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1||qn.navigator.userAgent.indexOf("Trident/");if(s.Z.privacy=at,it(Ye),mn(),s.Z.pixel=H({commonData:{bvProduct:"pixel"},name:"pixel",source:"bv-loader"}),i.Z.isCurationsEnabled){qn.crl8=qn.crl8=qn.crl8||{};var n=!1,r=[],o=function(){n=!0,r.forEach((function(e){e()}))};qn.crl8.ready=function(e){n?e():r.push(e)}}i.Z.apps.forEach((function(e){return Ct(e,t)})),s.Z.curations&&s.Z.curations.on("curations_loaded",o),E({selector:"[data-bv-show]",attributes:Ne,callback:function(e,t){var n=[t];e===l?(Ze(n),Oe(n)):e===f?ke(n):(Ze(n),ke(n),Oe(n,!0))}}),qn.$BV&&"ui"in qn.$BV||i.Z.isPreview||(qn.$BV=$e());var a,c=new URLSearchParams(qn.location.search);(("container"===k()||"bvHostedContainer"===k()||c.get("bvMessageType")||c.get("bvmessageType"))&&(i.Z.isConversations?jn():qn.$BV.ui("submission_container",{})),(0,Rt.M)(),V)&&(qn[V]?m(qn[V]):Object.defineProperty(qn,V,{get:function(){return a},set:function(e){a=e,m(e)}}));t.end();var u=Zn(t.measures,1)[0],d=u.duration,p=u.startTime,h=p+d;try{W.trackEvent("Diagnostic",{name:"timeToRunScout",type:"Performance",startTime:p.toFixed(4),endTime:h.toFixed(4),elapsedMs:d.toFixed(4)})}catch(e){}function m(e){if("function"!=typeof e)throw Error("The BV Callback must be a function.");setTimeout((function(){e.call(null,s.Z)}))}ye&&(new Dn((function(t){"interactive"===e.readyState?t():e.addEventListener("DOMContentLoaded",(function(){t()}))})).then((function(){be("page",function(){var e=ie.devicePixelRatio,t=ie.innerHeight,n=ie.innerWidth,r=ie.navigator,o={devicePixelRatio:e,screenHeight:t,screenWidth:n};r.connection&&(o.effectiveType=r.connection.effectiveType,o.downlink=r.connection.downlink);var i=J.getEntriesByType("navigation").shift();return i&&["connectEnd","connectStart","domainLookupStart","domainLookupEnd","domComplete","domInteractive","domContentLoadedEventStart","fetchStart","loadEventEnd","requestStart","responseStart","responseEnd","secureConnectionStart"].forEach((function(e){o[e]=ce(i[e])})),ae(se(o))}()),be("bv-loader",function(){var e={},t=J.getEntriesByType("resource").filter((function(e){return!!e.name.match(re.Z.bvLoaderRegex)})).shift();t&&["connectEnd","connectStart","domainLookupStart","domainLookupEnd","domComplete","domInteractive","domContentLoadedEventStart","fetchStart","loadEventEnd","requestStart","responseStart","responseEnd","secureConnectionStart"].forEach((function(n){e[n]=ce(t[n])}));var n,r,o=(n="requestedApp",r=i.Z.apps.map((function(e){return e.name})),r.map((function(e){return{name:n,value:e}}))).concat(se(e));return ae(o)}())})),window.addEventListener("unload",(function(){for(var e in be("resources",fe()),qn.BV._render.layouts)be("render",ue(e,!0),e)})));var v=t.createMark("preconnectMark").start();Pt(),v(),Dt(),zt(),Vn()}},690:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={deployment:{client:"tecnomas",site:"main_site",environment:"production",locale:"es_CL"},dataEnvironment:"prod",serverEnvironment:"prod",vpc:"prod",piiDataRegion:"unitedStates",cookiesOptIn:!1,displayCode:"11973",domains:[{firstPartyCookieEnabled:!0,domain:".tecnomas.cl"},{firstPartyCookieEnabled:!0,domain:".bazaarvoice.com"},{firstPartyCookieEnabled:!0,domain:".beta.tecnomas.cl"},{firstPartyCookieEnabled:!0,domain:"translate.googleusercontent.com"},{firstPartyCookieEnabled:!0,domain:"webcache.googleusercontent.com"},{firstPartyCookieEnabled:!0,domain:"translate.baiducontent.com"},{firstPartyCookieEnabled:!0,domain:".bazaarvoice.com"},{firstPartyCookieEnabled:!0,domain:"localhost"}],scoutVersion:"13.25.10",splitTestingEnabled:!1,isConversations:!0,isPreview:!1,legacyScoutUrl:"https://display.ugc.bazaarvoice.com/static/tecnomas/main_site/es_CL/bvapi.js",paths:{root:"https://apps.bazaarvoice.com",splitTests:"https://apps.bazaarvoice.com/splitTests.json",componentTemplate:"https://apps.bazaarvoice.com/components/components-<%= version %>.min.js",renderTemplate:"https://apps.bazaarvoice.com/render/render-<%= version %>.min.js",layoutRoot:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/layouts"},render:{},webAnalyticsIntegrationConfigs:[],loadSwatAppsInShadowDOM:!1,isSwatContainerEnabled:!1,isSwatQuestionsEnabled:!0,isSwatReviewsEnabled:!0,isContextualCommerceEnabled:!1,apps:[{name:"inline_ratings",version:"2.6.0",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/inline_ratings/inline_ratings-2.6.0.js",legacyPath:null,publicName:"inline_rating",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/inline_ratings-config.js"},{name:"inpage_submission",version:"4.17.1",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/inpage_submission/inpage_submission-4.17.1.js",legacyPath:null,publicName:"inpage_submission",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/inpage_submission-config.js"},{name:"product_picker",version:"0.3.4",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/product_picker/product_picker-0.3.4.js",legacyPath:null,publicName:"product_picker",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/product_picker-config.js"},{name:"rating_summary",version:"2.67.1",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/rating_summary/rating_summary-2.67.1.js",legacyPath:null,publicName:"rating_summary",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/rating_summary-config.js"},{name:"ratings",version:"0.1.23",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/ratings/ratings-0.1.23.js",legacyPath:null,publicName:"ratings",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/ratings-config.js"},{name:"swat-submission",version:"4.9.2",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/swat-submission/swat-submission-4.9.2.js",legacyPath:null,publicName:"multi_submission",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/swat-submission-config.js"},{name:"swat_container",version:"1.5.4",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/swat_container/swat_container-1.5.4.js",legacyPath:null,publicName:"container",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/swat_container-config.js"},{name:"swat_questions",version:"2.18.3",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/swat_questions/swat_questions-2.18.3.js",legacyPath:null,publicName:"questions",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/swat_questions-config.js"},{name:"swat_reviews",version:"6.30.2",defer:!0,hasConfig:!0,sourcePath:"https://apps.bazaarvoice.com/apps/swat_reviews/swat_reviews-6.30.2.js",legacyPath:null,publicName:"reviews",configUrl:"https://apps.bazaarvoice.com/deployments/tecnomas/main_site/production/es_CL/swat_reviews-config.js"}]}},318:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(530),o=n.n(r),i=n(690),a=n(422),s=console.warn.bind(console),c=["API_BASE_URL","Date","_bvapijs","_internal","_options","_staticAssetRegistry","bvFetch","configure","cookie","cookieConsent","define","easyXDM","extensions","global","initialData","name","options","performance","pixel","privacy","_private","globalEvents","registerProperty","_render","requestAnimationFrame","require","requirejs","serverRender","_spotlightsConfig","Spotlights","staticAssetLoader","ud","ui"].concat(i.Z.apps.map((function(e){return e.name})));if("Proxy"in a){var u=a.Proxy;a.BV=new u(a.BV||{},{set:function(e,t,n){return~c.indexOf(t)||s("Unexpected property '".concat(t,"' assigned to window.BV. Valid assignment to the BV variable requires approval from the BV Loader Team.")),e[t]=n,!0}})}const l=o().namespace("BV")},334:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(690),o=new RegExp("/deployments/([^/]+)/(?:[^/]+/){3}bv\\.js");const i={appNameRegex:function(e){return new RegExp("".concat(r.Z.paths.root,"/apps/").concat(e,"/").concat(e,"-[^/]+.js"))},layoutNameRegex:function(e){return new RegExp("".concat(r.Z.paths.layoutRoot,"/").concat(e,".json"))},renderRegex:r.Z.deployment.local?new RegExp("render.js"):new RegExp("".concat(r.Z.paths.root,"/render/render-[^/]+.js")),bvLoaderRegex:o,parseClient:function(e){var t=o.exec(e);if(t)return t[1]},errorReportPath:"".concat(r.Z.paths.root,"/errors"),errorReportProxy:"https://observability".concat("prod"===r.Z.serverEnvironment?".prod":".qa",".bazaarvoice.com/error")}},183:(e,t,n)=>{"use strict";n.r(t);var r=n(318),o=n(886),i=n(64);r.Z._private={},(0,o.Z)(r.Z._private,{ponyfills:r.Z.global.ponyfills,SystemJS:r.Z.global.SystemJS,loadUserSegment:r.Z.global.loadUserSegment,errorReporter:i.Z}),Object.freeze(r.Z._private)},64:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(753),o=n.n(r),i=n(690),a=n(390),s=n(304),c=n(334),u=n(353);function l(e){return l="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},l(e)}var f=function(){var e=new WeakSet;return function(t,n){if("object"===l(n)&&null!==n){if(e.has(n))return;e.add(n)}return n}},d=n(920),p=n(147).i8,h=n(422),m=1e4,v=["inpage_submission","swat_reviews","swat_questions"];function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.extra,r=t.renderVersion,o=t.componentsVersion,i=t.component;return(0,u.M)().then((function(){return b(e,{extra:n,renderVersion:r,componentsVersion:o,component:i})})).catch((function(){return b(e,{extra:n,renderVersion:r,componentsVersion:o,component:i})})).then((function(e){return t=e,n=new XMLHttpRequest,o=t.extra?t.extra.app:"",r=!!v.includes(o),new d((function(e,o){n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE)if(200===n.status){var t;try{t=JSON.parse(n.responseText)}catch(e){o("Unable to JSON.parse server response: ".concat(n.responseText,"."))}e(t)}else o("The call to the server was not successful.")},n.open("POST",r?c.Z.errorReportProxy:c.Z.errorReportPath),n.timeout=m,n.ontimeout=function(){n.abort()},n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify(t,f()))}));var t,n,r,o}))}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.extra,r=t.renderVersion,c=t.componentsVersion,u=t.component,l=function(e){var t=function(e){var t;try{t=o().parse(e)}catch(e){return}return{frames:t.map((function(e){return{filename:e.fileName,function:e.functionName,lineno:e.lineNumber,colno:e.columnNumber}}))}}(e);return{type:e.name,value:e.message,stacktrace:t}}(e),f={timestamp:new Date(Date.now()).toISOString(),logger:"bv.js",platform:"javascript",sdk:{name:"bv-loader",version:p},level:"error",release:p,tags:{components_release:c,bv_loader_release:p,render_release:r,client:i.Z.deployment.client,deployment_zone:i.Z.deployment.site,data_environment:i.Z.dataEnvironment,locale:i.Z.deployment.locale,component:u,load_id:h.BVA?h.BVA.loadId:void 0},environment:i.Z.serverEnvironment,exception:l,extra:n},d=(0,a.detect)();return d&&(f.contexts={browser:{name:d.name,version:d.version}}),(0,s.vd)().then((function(e){Object.defineProperty(f.tags,"bv_segment",{value:e})})).then((function(){return f}))}const g=function(){return new d((function(e){e(y)}))}},886:(e,t,n)=>{"use strict";function r(e,t){Object.keys(t).forEach((function(n){void 0!==t[n]&&Object.defineProperty(e,n,{value:t[n]})}))}n.d(t,{Z:()=>r})},304:(e,t,n)=>{"use strict";n.d(t,{vd:()=>_});var r=n(974),o=n.n(r),i=n(318),a=n(690),s=n(920),c=1e4,u=new Map;var l=n(920);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?o:a;s.sort((function(e,t){return new Date(e.start)-new Date(t.start)})),t=s.shift();var c=r.filter(u);c.length>0&&!t&&(c.sort((function(e,t){return new Date(t.start)-new Date(e.start)})),(t=c.shift()).inActive=!0)}catch(e){throw new Error("Something went wrong when choosing a split test.\n Please ensure that all defined tests are valid. ".concat(e))}return t;function u(e){var t=e.clients,n=e.deploymentzones;if(!t)return!1;if(n){var r=-1!==n.indexOf(i.Z.global.siteId),o=-1!==t.indexOf(i.Z.global.client);return r&&o}return-1!==t.indexOf(i.Z.global.client)}}function _(){if(!a.Z.splitTestingEnabled)return l.resolve(T());var e,t=(e=b,p.location.search.substring(1).split("&").filter((function(t){return t.split("=")[0]===e})).map((function(e){return e.split("=")[1]}))[0]);if(t)return l.resolve(t);var n=w.read(y);if(n){var r;try{r=JSON.parse(n)}catch(e){}if(r){var o=r.segment;if(o){var i=l.resolve(o);return i.then((function(){return e=r.testId,void E().then((function(t){var n=f(t.filter((function(t){return t.id===e})),1)[0];n&&n.forceExpire&&w.remove(y)}));var e})),i}}}return E().then(S).then((function(e){if(!e)return T();if(e&&e.inActive)return T(e);var t=T(e),n=new Date(e.start).getTime();if(!(n<=Date.now()))return t;var r=function(e){return((arguments.length>1&&void 0!==arguments[1]?arguments[1]:h*m)-(Date.now()-e))/m}(n,e.duration);if(r>0){var o=e.id,i=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=0,r=Object.keys(e).sort();r.length;){var o=r.pop(),i=e[o];if(g<=n+i)return o;n+=i}return t}(e.splits,t),a=JSON.stringify({testId:o,segment:i});return w.create(y,a,r),i||t}}))}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.baseline?e.baseline:"baseline"}},388:function(e,t){var n,r,o;r=[],n=function(){function e(e){if(!(e=e||{}).name||"string"!=typeof e.name)throw new TypeError("config.name is required and must be string");this.name=e.name,this.commonData=e.commonData||{},this._verify(),this.q.push(["create",e]);for(var t,n,r=["Staging","Audience","Anonymous"],o=0;o=1&&!e?n=setInterval(d,i):0===r.length&&e&&(clearInterval(n),n=null)}function c(e){for(var t=0;t=r?0:Math.min(r-n.top,n.height)}function f(e){var t,n=e.getBoundingClientRect(),r=u().width;return n.left<=0?(t=Math.max(n.left+n.width,0),t=Math.min(t,r)):n.left>=r?0:Math.min(r-n.left,n.width)}function d(){for(var e,t,n,o=0;on.minTime&&n.callback():(n.inViewAt=t,0===n.minTime&&n.callback()):delete n.inViewAt}function p(e){this.id=e}p.prototype.remove=function(){c(this.id)},e.prototype.trackEventWhenVisible=function(e,n){var r=this;if(!e||"string"!=typeof e.cl)throw new TypeError("data.cl must exist and be a string");return new p(a(n,(function(){var n=t({},r.commonData,e);r.trackEvent(n.cl,n)})))},e.prototype.trackInView=function(e,n){var r=this;return new p(a(n=t({},n,{minTime:0}),(function(){var n=t({},r.commonData,e,{name:"InView",type:"Used",interaction:"0"});r.trackEvent("Feature",n)})))},e.prototype.trackViewedCGC=function(e,n){var r=this;return new p(a(n,(function(){var n=t({},r.commonData,e,{name:"ViewedUGC",type:"Used",interaction:"1"});r.trackEvent("Feature",n)})))}}()}(),e},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},424:(e,t,n)=>{var r=n(920);function o(e,t,n){if("function"!=typeof t)throw new Error("A function must be provided to process the queue");var r=e.length;function o(){var r=e.shift();n?t(r):setTimeout((function(){t(r)}),0)}for(;e.length>0;)o();return r}function i(e){return this.config=e,this._readyQueue=[],this._renderQueue=[],this._configQueue=[],this._promise=new r(function(e,t){this._resolve=e,this._reject=t}.bind(this)),this}i.prototype.ready=function(e){return"function"==typeof e&&this._readyQueue.push(e),this._promise},i.prototype.render=function(e){return this._renderQueue.push(e)},i.prototype.configure=function(e){return this._configQueue.push(e)};var a=function(e,t){"function"==typeof t&&t(e,this)};i.prototype.processReady=function(e){var t=a.bind(this,e);o.call(this,this._readyQueue,t,!0),this._readyQueue.push=t,this.ready=function(e){return t(e),this._promise},e?this._reject(e):this._resolve(this)},i.prototype.processQueue=function(e){o.call(this,this._renderQueue,e),this.render=this._renderQueue.push=e},i.prototype.processConfig=function(e){o.call(this,this._configQueue,e,!0),this.configure=this._configQueue.push=e},e.exports=i},647:(e,t,n)=>{var r=n(920);const{fetch:o}=n(522);e.exports=function({shouldCache:e,cacheName:t,cacheLimit:n}){this.shouldCache=e,this.cacheName=t||"bvCache",this.cacheLimit=1024*n*1024||10485760,this.fetchPromises=new Map,this.cachedUrls=new Set,this.generateCacheKey=(e,t)=>e+(Object.keys(t).length>0?JSON.stringify(t):""),this.retrieveCachedUrls=()=>{caches.open(this.cacheName).then((e=>{e.keys().then((e=>{e.forEach((e=>{this.cachedUrls.add(e.url)}))}))}))},this.retrieveCachedUrls(),this.fetchDataAndCache=(e,t={},n)=>o(e,t).then((e=>(this.cacheData(e,n),e.clone()))).catch((function(e){throw new Error("Error fetching data: "+e)})),this.cacheData=(e,t)=>{const n=e.clone();let r=!0;n.json().then((e=>{"function"==typeof this.shouldCache&&(r=this.shouldCache(e))})).then((()=>{if(r){const n=e.clone(),r=e.clone(),o=new Headers;n.headers.forEach(((e,t)=>{o.append(t,e)})),o.append("X-Bazaarvoice-Cached-Time",Date.now()),r.text().then((e=>{const r=new Blob([e]).size;o.append("X-Bazaarvoice-Response-Size",r);const i=new Response(n._bodyBlob||n.body,{status:n.status,statusText:n.statusText,headers:o});caches.open(this.cacheName).then((e=>{e.put(t,i),this.cachedUrls.add(t)}))}))}}))},this.fetchFromCache=e=>this.cachedUrls.has(e)?caches.open(this.cacheName).then((t=>t.match(e).then((e=>{const t=e.headers.get("X-Bazaarvoice-Cached-Time"),n=e.headers.get("Cache-Control").match(/max-age=(\d+)/)[1];if((Date.now()-t)/1e3{throw new Error("Error fetching from cache: "+e)})):r.resolve(null),this.bvFetchFunc=(e,t={})=>{const n=this.generateCacheKey(e,t);if(this.fetchPromises.has(n))return this.fetchPromises.get(n).then((e=>e.clone()));const r=this.fetchFromCache(n).then((r=>r||this.fetchDataAndCache(e,t,n)));return this.fetchPromises.set(n,r),this.debounceCleanupExpiredCache(),r.finally((()=>{this.fetchPromises.delete(n)})),r.then((e=>e.clone()))},this.flushCache=()=>caches.open(this.cacheName).then((e=>e.keys().then((t=>{const n=t.map((t=>e.delete(t)));return r.all(n)})))),this.manageCache=()=>{caches.open(this.cacheName).then((e=>{e.keys().then((t=>{t.forEach((t=>{e.match(t).then((n=>{const r=n.headers.get("X-Bazaarvoice-Cached-Time"),o=n.headers.get("Cache-Control").match(/max-age=(\d+)/)[1];(Date.now()-r)/1e3>=o&&(e.delete(t),this.cachedUrls.delete(t))}))}))}))}));let e=0;caches.open(this.cacheName).then((t=>{t.keys().then((e=>{const n=e.map((e=>t.match(e).then((e=>{const t=e.headers.get("X-Bazaarvoice-Response-Size");return parseInt(t,10)}))));return r.all(n).then((e=>e.reduce(((e,t)=>e+t),0)))})).then((n=>{if(e=n,e>this.cacheLimit){const n=[];return t.keys().then((o=>{const i=o.map((e=>t.match(e).then((t=>{const r=t.headers.get("X-Bazaarvoice-Response-Size"),o=t.headers.get("X-Bazaarvoice-Cached-Time");n.push({key:e,size:parseInt(r,10),lastAccessedTime:o})}))));return r.all(i).then((()=>{n.sort(((e,t)=>e.lastAccessedTime-t.lastAccessedTime));let r=e;n.forEach((e=>{r>this.cacheLimit&&(t.delete(e.key),this.cachedUrls.delete(e.key),r-=e.size)}))}))}))}}))}))},this.debounceCleanupExpiredCache=function(e,t){let n;return function(){clearTimeout(n),n=setTimeout((()=>{e.apply(this,arguments)}),t)}}(this.manageCache,8e3)}},974:(e,t,n)=>{var r=n(422),o=n(795),i={};function a(e,t,n,o,i){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3);var s=n?";expires="+a.toGMTString():"",c=encodeURIComponent(e)+"="+encodeURIComponent(t)+s+";path=/"+(o?";domain="+o:"")+(i?";secure":"");r.document.cookie=c}function s(e,t){delete i[e],t?a(e,null,-1,t):a(e,"",-1)}e.exports={create:function(e,t,n,r,c){i[e]=t,o.getConsent(e)&&a(e,t,n,r,c),o.subscribe(e,"add",(function(o){o?a(e,t,n,r,c):s(e,r)})),o.subscribe(e,"enable",(function(){a(e,t,n,r,c)})),o.subscribe(e,"disable",(function(){s(e,r)}))},read:function(e){var t,n=encodeURIComponent(e)+"=",o=r.document.cookie.split(";");for(t=0;t{var t=function(){var e=!1,t=!0,n={},r={},o=["add","enable","disable","change"],i={};function a(e,t,n){r[e]&&r[e][t]&&Object.values(r[e][t]).forEach((function(e){e(n)}))}function s(){Object.values(i).length>0&&Object.values(i).forEach((function(e){e(Object.assign({},n))}))}function c(e,t){if("boolean"!=typeof t)throw new TypeError("cookieConsent (setConsent): consent values should be of type boolean. Check value for "+e+".");var r=n[e];r!==t&&(n[e]=t,void 0===r&&a(e,"add",t),!0===r?(a(e,"disable",t),a(e,"change",t)):!1===r?(a(e,"enable",t),a(e,"change",t)):a(e,"change",t))}function u(){r[this.consentKey]&&r[this.consentKey][this.eventName]&&delete r[this.consentKey][this.eventName][this.key]}function l(){i[this.key]&&delete i[this.key]}return{initConsent:function(r,o){if(!e){if(t=!!o)return e=!0,!0;if(!r||Array.isArray(r)||"object"!=typeof r)throw new TypeError("cookieConsent (init): consent should be an object.");for(var i=Object.keys(r),a=0;a{var r=n(422).Date,o=r&&r.now,i="function"==typeof o;function a(){return o.call(r)}function s(){return(new r).getTime()}e.exports={now:function(){return(i?a:s)()}}},611:e=>{function t(e,t){if(e&&"."===e.charAt(0)&&t){var n=("."+t).lastIndexOf(e);return n>=0&&n===1+t.length-e.length}return t===e||t==="www."+e}e.exports=function(e,n){var r={},o={isValid:!1,get:function(e){return r[e]}},i=function(e,n){for(var r=0;r{var r=Array.prototype,o=r.indexOf,i=r.slice;function a(e){n.g.console.error(e)}function s(e){this.eventErrorHandler=e}function c(e,t){var n,r,o=this.events=this.events||{},i=e.split(/\s+/),a=i.length;for(n=0;n=0;n--)try{r[e][n].apply(this,t)}catch(n){(this.eventErrorHandler||a).call(this,n,{event:e,data:t})}return this}}function d(e,t){var n,r;if(o&&e.indexOf===o)return e.indexOf(t);for(n=0,r=e.length;n{var r,o=n(920),i=n(10),a={},s=/function\s+([^\(\s]+)/;e.exports=function(e){return new o((function(t){i((function(){var n=e.name;n||(n=s.exec(e.toString())[1]),r||((r=document.createElement("iframe")).src="about:blank",r.style.display="none",r.height="0",r.width="0",r.tabIndex="-1",r.title="empty",r.className="hidden",document.body.appendChild(r)),a[n]||(a[n]=r.contentWindow[n]),t(a[n])}))}))}},422:(e,t,n)=>{"use strict";e.exports=function(){var e=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof window)return window;if("undefined"!=typeof self)return self;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();if(e&&e.__esModule){return new Proxy(e,{get:function(e,t){return"default"===t?e:e[t]},set:function(e,t,n){return e[t]=n,!0}})}return e}()},788:(e,t,n)=>{var r=n(422),o=n(530),i=r.document,a={};function s(){return i.getElementsByTagName("script")[0]}function c(e){return!e||"loaded"===e||"complete"===e||"uninitialized"===e}function u(e,t,n){if(!e||"string"!=typeof e)throw new Error("`url` must be a string");if(t.namespaceName&&"string"!=typeof t.namespaceName)throw new Error("`options.namespaceName` must be a string");if(t.forceLoad&&"boolean"!=typeof t.forceLoad)throw new Error("`options.forceLoad` must be a boolean");if("number"!=typeof t.timeout)throw new Error("`options.timeout` must be a number");if(n&&"function"!=typeof n)throw new Error("`callback` must be a function")}e.exports={_clearLoadedUrls:function(e){e?o.namespace(e).loadedUrls={}:a={}},loadScript:function(e,t,n){var r,l=a;if("function"==typeof t&&(n=t,t=null),(t=t||{}).timeout=t.timeout||1e4,u(e,t,n),t.namespaceName&&(r=o.namespace(t.namespaceName),l=r.loadedUrls||{}),t.forceLoad||!l[e]){var f,d=i.createElement("script"),p=!1;if(t.attributes)for(f in t.attributes)d.setAttribute(f,t.attributes[f]);d.onreadystatechange=d.onload=function(){!p&&c(d.readyState)&&m()},d.onerror=function(){p||m(new Error("Error: could not load "+e))};var h=setTimeout((function(){p||m(new Error("Error: script timeout "+e))}),t.timeout);setTimeout((function(){d.src=e;var t=s();t.parentNode.insertBefore(d,t)}),0)}else"function"==typeof n&&n();function m(o){p=!0,clearTimeout(h),d.onload=d.onreadystatechange=d.onerror=null,d&&d.parentNode&&d.parentNode.removeChild(d),o||(l[e]=!0,t.namespaceName?r.loadedUrls=l:a=l),"function"==typeof n&&n(o)}},loadStyleSheet:function(e,t,n){var l,f=a;if("function"==typeof t&&(n=t,t=null),(t=t||{}).timeout=t.timeout||1e4,u(e,t,n),"injectionNode"in t&&!(t.injectionNode instanceof r.Element))throw new Error("`options.injectionNode` must be a DOM node");if(t.namespaceName&&(l=o.namespace(t.namespaceName),f=l.loadedUrls||{}),t.forceLoad||!f[e]){var d,p=i.createElement("link"),h=!1;if(t.attributes)for(d in t.attributes)p.setAttribute(d,t.attributes[d]);p.onreadystatechange=p.onload=function(){!h&&c(p.readyState)&&v()},p.onerror=function(){h||v(new Error("Error: could not load "+e))};var m=setTimeout(p.onerror,t.timeout);setTimeout((function(){p.media="only x",p.rel="stylesheet",p.type="text/css",p.href=e,setTimeout((function(){p.media="all"}),0);var n=t.injectionNode||s().parentNode;try{n.appendChild(p)}catch(e){v(new Error("Error: could not append LINK element"))}}),0)}else"function"==typeof n&&n();function v(r){h=!0,clearTimeout(m),p.onload=p.onreadystatechange=p.onerror=null,r||(f[e]=!0,t.namespaceName?l.loadedUrls=f:a=f),"function"==typeof n&&n(r)}}}},530:(e,t,n)=>{var r=n(422);function o(e){this.name=e}o.prototype.registerProperty=function(e,t){if(this.hasOwnProperty(e))throw new Error("Cannot register "+e+" because a property with that name already exists on window."+this.name);return this[e]=t,this},e.exports={namespace:function(e){if(void 0===r[e])Object.defineProperty(r,e,{value:new o(e)});else{if("object"!=typeof r[e])throw new Error("Namespace "+e+" cannot be created. A non-object variable is already assigned to window."+e);if(!(r[e]instanceof o))for(var t in o.call(r[e],e),o.prototype)r[e][t]=o.prototype[t]}return r[e]}}},921:e=>{e.exports={timeline:[]}},453:(e,t,n)=>{var r=n(422),o=n(921).timeline,i=r.performance,a=i&&i.getEntries,s="function"==typeof a;function c(){return a.call(i)}function u(){return o}e.exports={getEntries:function(){return(s?c:u)()}}},966:(e,t,n)=>{var r=n(422),o=n(453).getEntries,i=r.performance,a=i&&i.getEntriesByName,s="function"==typeof a;function c(e,t){return a.call(i,e,t)}function u(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'getEntriesByName' on 'Performance': 1 argument required, but only 0 present.");return o().filter((function(n){if(n.name===e&&(void 0===t||n.entryType===t))return n}))}e.exports={getEntriesByName:function(e,t){var n=s?c:u;return arguments.length>0?n(e,t):n()}}},197:(e,t,n)=>{var r=n(422),o=n(453).getEntries,i=r.performance,a=i&&i.getEntriesByType,s="function"==typeof a;function c(e){return a.call(i,e)}function u(e){if(0===arguments.length)throw new TypeError("Failed to execute 'getEntriesByType' on 'Performance': 1 argument required, but only 0 present.");return o().filter((function(t){return t.entryType===e}))}e.exports={getEntriesByType:function(e){var t=s?c:u;return arguments.length>0?t(e):t()}}},916:(e,t,n)=>{e.exports.getEntries=n(453).getEntries,e.exports.getEntriesByName=n(966).getEntriesByName,e.exports.getEntriesByType=n(197).getEntriesByType,e.exports.now=n(755).now,e.exports.mark=n(202).mark,e.exports.measure=n(165).measure},202:(e,t,n)=>{var r=n(422),o=n(755),i=n(921).timeline,a=r.performance,s=a&&a.mark,c="function"==typeof s,u={navigationStart:1,unloadEventStart:1,unloadEventEnd:1,redirectStart:1,redirectEnd:1,fetchStart:1,domainLookupStart:1,domainLookupEnd:1,connectStart:1,connectEnd:1,secureConnectionStart:1,requestStart:1,responseStart:1,responseEnd:1,domLoading:1,domInteractive:1,domContentLoadedEventStart:1,domContentLoadedEventEnd:1,domComplete:1,loadEventStart:1,loadEventEnd:1};function l(e){return s.call(a,e)}function f(e){if(arguments.length<1)throw new SyntaxError("Cannot set mark without a name");if(e in u)throw new SyntaxError('Cannot set mark with reserved name "'+e+'"');var t={entryType:"mark",name:e,startTime:o.now(),duration:0};i.push(t)}e.exports={mark:function(e){var t=c?l:f;return arguments.length>0?t(e):t()}}},165:(e,t,n)=>{var r=n(422),o=n(755).now,i=n(197).getEntriesByType,a=n(921).timeline,s=r.performance,c=s&&s.measure,u="function"==typeof c;function l(e,t,n){return void 0===t?c.call(s,e):void 0===n?c.call(s,e,t):c.call(s,e,t,n)}function f(e,t,n){if(arguments.length<1)throw new TypeError("Failed to execute 'measure' on 'Performance': 1 argument required, but only 0 present.");var r,s=i("mark"),c=0,u=o();if(void 0!==t){if(!(r=s.filter((function(e){return e.entryName===t}))).length)throw new Error("Failed to execute 'measure' on 'Performance': The mark '"+t+"' does not exist.");c=r[r.length-1].startTime}if(void 0!==n){if(!(r=s.filter((function(e){return e.entryName===n}))).length)throw new Error("Failed to execute 'measure' on 'Performance': The mark '"+n+"' does not exist.");u=r[r.length-1].startTime}var l={entryType:"measure",name:e,startTime:c,duration:u-c};a.push(l)}e.exports={measure:function(e,t,n){var r=u?l:f;return arguments.length>0?r(e,t,n):r()}}},755:(e,t,n)=>{var r=n(422),o=n(411),i=r.performance,a=i&&i.now,s="function"==typeof a,c=o.now();function u(){return a.call(i)}function l(){return o.now()-c}i&&i.timing&&"number"==typeof i.timing.navigationStart&&(c=i.timing.navigationStart),e.exports={now:function(){return(s?u:l)()}}},522:(e,t,n)=>{var r=n(422);if(void 0!==r.fetch&&r.fetch.toString().match(/\[native code]/))e.exports={fetch:r.fetch,Headers:r.Headers,Request:r.Request,Response:r.Response};else{var o=r.self;r.self={};["URLSearchParams","FileReader","Blob","FormData","ArrayBuffer"].forEach((function(e){r[e]&&(r.self[e]=r[e])})),n(375),e.exports={fetch:r.self.fetch,Headers:r.self.Headers,Request:r.self.Request,Response:r.self.Response},r.self=o}},920:(e,t,n)=>{var r=n(422);if(void 0!==r.Promise&&r.Promise.toString().match(/\[native code]/))e.exports=r.Promise;else{var o=setTimeout;function i(){}function a(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void u(t.promise,e)}c(t.promise,r)}else(1===e._state?c:u)(t.promise,e._value)}))):e._deferreds.push(t)}function c(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void d((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,l(e)}catch(t){u(e,t)}var r,o}function u(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&a._immediateFn((function(){e._handled||a._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t{function t(e){return e&&e.shadowRoot?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function n(e){if(!e)return;const r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,t);let o=[];for(e.shadowRoot&&(o.push(e),o=o.concat(n(e.shadowRoot)));r.nextNode();)o.push(r.currentNode),r.currentNode.shadowRoot&&(o=o.concat(n(r.currentNode.shadowRoot)));return o}function r(e,t){if(e&&e.shadowRoot&&t)return e.shadowRoot.querySelectorAll(t)}e.exports={findShadowRoots:n,filterShadowHosts:t,shadowQuerySelectorAll:function(e,t){if(!e||!t)throw new Error(`Unable to find ${e} or ${t}`);const o=e.querySelectorAll(t),i=n(e);let a=[];for(const e of i){const n=r(e,t);n.length>0&&a.push(...n)}return[...o,...a]},findElementsInShadowDomByMatchSector:r}},10:e=>{function t(e,t){document.body&&(t.disconnect(),e())}e.exports=function(e){if(document.body)e();else{var n=new MutationObserver((function(){t(e,n)}));n.observe(document.documentElement,{childList:!0,subtree:!0}),t(e,n)}}},390:function(e,t){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval",""].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},508:function(e,t){var n,r,o;!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],a=["args"],s=["evalOrigin"],c=r.concat(o,i,a,s);function u(e){if(e)for(var n=0;n-1};m.prototype.append=function(e,t){e=d(e),t=p(t);var n=this.map[e];this.map[e]=n?n+","+t:t},m.prototype.delete=function(e){delete this.map[d(e)]},m.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},m.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},m.prototype.set=function(e,t){this.map[d(e)]=p(t)},m.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},m.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},m.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},m.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},n&&(m.prototype[Symbol.iterator]=m.prototype.entries);var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},w.call(E.prototype),w.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var f=[301,302,303,307,308];_.redirect=function(e,t){if(-1===f.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},e.Headers=m,e.Request=E,e.Response=_,e.fetch=function(e,t){return new r((function(n,r){var i=new E(e,t),a=new XMLHttpRequest;a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new m,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new _(o,r))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&o&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function m(e){this.map={},e instanceof m?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(e.bodyUsed)return r.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new r((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function b(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(o&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(a&&o&&c(e))this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!a||!ArrayBuffer.prototype.isPrototypeOf(e)&&!u(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return r.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return r.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return r.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||r.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var e,t,n,o=v(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=y(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return r.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function S(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function _(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new m(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},147:e=>{"use strict";e.exports={i8:"13.25.10"}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=n(422);if(e.BV&&e.BV._private){console&&console.warn&&console.warn("BV Loader should only be called once per page.")}else n(7).Z()})()})(); //# sourceURL=https://apps.bazaarvoice.com/bv.js