if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstanceDwoU1mbrtIt6B9UVLmUzxg')('mark', 'be')}
if(window.uet){window.uet('be','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}
if(window.mixTimeout){window.mixTimeout('cr-ratings-histogram', 'CardInstanceDwoU1mbrtIt6B9UVLmUzxg', 90000)};
P.when('mix:@amzn/mix.client-runtime', 'mix:cr-ratings-histogram__AiLYd_Jo').execute(function (runtime, cardModule) {runtime.registerCardFactory('CardInstanceDwoU1mbrtIt6B9UVLmUzxg', cardModule).then(function(){if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstanceDwoU1mbrtIt6B9UVLmUzxg')('mark', 'functional')}if(window.uex){window.uex('ld','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}});});
P.load.js('https://images-na.ssl-images-amazon.com/images/I/11iMNgfhiwL.js?xcp');
if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstancePdzbR16yzNYVpxPIFeRguw')('mark', 'be')}
if(window.uet){window.uet('be','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}
if(window.mixTimeout){window.mixTimeout('cr-ratings-histogram', 'CardInstancePdzbR16yzNYVpxPIFeRguw', 90000)};
P.when('mix:@amzn/mix.client-runtime', 'mix:cr-ratings-histogram__AiLYd_Jo').execute(function (runtime, cardModule) {runtime.registerCardFactory('CardInstancePdzbR16yzNYVpxPIFeRguw', cardModule).then(function(){if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstancePdzbR16yzNYVpxPIFeRguw')('mark', 'functional')}if(window.uex){window.uex('ld','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}});});
P.load.js('https://images-na.ssl-images-amazon.com/images/I/11iMNgfhiwL.js?xcp');
if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstancewEIgmJeNXwS8bap7lypoCw')('mark', 'be')}
if(window.uet){window.uet('be','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}
if(window.mixTimeout){window.mixTimeout('cr-ratings-histogram', 'CardInstancewEIgmJeNXwS8bap7lypoCw', 90000)};
P.when('mix:@amzn/mix.client-runtime', 'mix:cr-ratings-histogram__AiLYd_Jo').execute(function (runtime, cardModule) {runtime.registerCardFactory('CardInstancewEIgmJeNXwS8bap7lypoCw', cardModule).then(function(){if(window.mix_csa){window.mix_csa('[cel_widget_id="cr-ratings-histogram_customer-reviews-detail_0"]', '#CardInstancewEIgmJeNXwS8bap7lypoCw')('mark', 'functional')}if(window.uex){window.uex('ld','cr-ratings-histogram_customer-reviews-detail_0',{wb: 1})}});});
P.load.js('https://images-na.ssl-images-amazon.com/images/I/11iMNgfhiwL.js?xcp');
window.renderingWeblabs = window.renderingWeblabs ? window.renderingWeblabs : {};
window.renderingWeblabs = Object.assign(window.renderingWeblabs, JSON.parse('{"ADPT_SF_LIGHTADS_REFACTOR_903064":"C","ADPT_SF_ADSP_VIDEO_833419":"C","A2I_HOMEPAGE_CARD_THEMING_360311":"T2","ADPT_SF_CLIENT_LATENCY_2023Q1_632539":"C","ADPT_SF_CLIENT_LATENCY_2023Q3_737747":"C","ADPT_SF_TEMPLATE_PARAMETER_CLASS_906958":"C","ADPT_SF_APE_WW_MOBILE_SEARCH_ZOETROPE_EPB_EXP_792200":"C","ADPT_SF_SPARKLE_838607":"C","ADPT_SF_PLACEMENT_STYLESHEET_1047425":"C","ADPT_SF_H1_VIDEO_ADS_MOCK_940184":"C","ADPT_SF_BTR_PIXEL_997225":"C","ADPT_SF_SERVER_SIDE_SPONSORED_LABEL_998980":"C","ADPT_SF_GWATF_ROUNDED_CORNERS_1036948":"C","ADPT_SF_UNIQUE_DIV_ID_1012703":"C","ADPT_SF_MASH_API_DEPRECATION_1051249":"C","ADPT_SF_RESIZE_ASPECT_RATIO_909226":"C","ADPT_SF_USE_ADDETAILS_SCOPE_1025572":"T1","ADPT_SF_DEFAULT_SPONSORED_LABEL_863363":"C","ADPT_SF_ENABLE_BLANKADS_DETECTION_990833":"C","ADPT_SF_WD1_VIDEO_ADS_MOCK_1037066":"C","ADPT_SF_TRANSPARENCY_INFO_MANDATORY_FOR_EU_712921":"C"}'));
(()=>{function e(e,a,t,r){Object.defineProperty(e,a,{get:t,set:r,enumerable:!0,configurable:!0})}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},t={},r={},n=a.parcelRequirea4c5;null==n&&((n=function(e){if(e in t)return t[e].exports;if(e in r){var a=r[e];delete r[e];var n={id:e,exports:{}};return t[e]=n,a.call(n.exports,n,n.exports),n.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=function(e,a){r[e]=a},a.parcelRequirea4c5=n);var o=n.register;o("2REd0",function(a,t){e(a.exports,"incrementCsmPlacementCounter",()=>i),e(a.exports,"incrementCsmCounter",()=>d);var r=n("5BC6Z"),o=n("9fPDQ"),i=function(e,a,t){if(void 0===t&&(t=1),!l()){window.safeframe=null!==(n=window.safeframe)&&void 0!==n?n:{},window.safeframe.csmCache=null!==(d=window.safeframe.csmCache)&&void 0!==d?d:{},window.safeframe.csmCache.incrementCsmPlacementCounter=null!==(s=window.safeframe.csmCache.incrementCsmPlacementCounter)&&void 0!==s?s:[],window.safeframe.csmCache.incrementCsmPlacementCounter.push({metric:e,placement:a,count:t});return}null===(v=null===(f=null===(u=window.safeframe)||void 0===u?void 0:u.csmCache)||void 0===f?void 0:f.incrementCsmPlacementCounter)||void 0===v||v.forEach(function(e){return i(e.metric,e.placement,e.count)});var n,d,s,u,f,v,w=function(e,a,t){a&&c("".concat(m(e),":").concat(a),t)};w(e,a.id,t),w(e,(0,r.getPlacementWithBrowseNode)(a.id),t),w(e,(0,o.csmName)(a.name),t),w(e,(0,r.getSlotWithBrowseNode)((0,o.csmName)(a.name)),t)},d=function(e,a){var t,r,n,o,i,s;if(void 0===a&&(a=1),!l()){window.safeframe=null!==(t=window.safeframe)&&void 0!==t?t:{},window.safeframe.csmCache=null!==(r=window.safeframe.csmCache)&&void 0!==r?r:{},window.safeframe.csmCache.incrementCsmCounter=null!==(n=window.safeframe.csmCache.incrementCsmCounter)&&void 0!==n?n:[],window.safeframe.csmCache.incrementCsmCounter.push({metric:e,count:a});return}null===(s=null===(i=null===(o=window.safeframe)||void 0===o?void 0:o.csmCache)||void 0===i?void 0:i.incrementCsmCounter)||void 0===s||s.forEach(function(e){return d(e.metric,e.count)}),c(m(e),a)},l=function(){var e;return"function"==typeof(null===(e=null==window?void 0:window.ue)||void 0===e?void 0:e.count)},c=function(e,a){var t;return null===(t=null==window?void 0:window.ue)||void 0===t?void 0:t.count(e,a)},s="adplacements",m=function(e){return e.startsWith(s)?e:"".concat(s,":").concat(e)}}),o("5BC6Z",function(a,t){e(a.exports,"getSlotWithBrowseNode",()=>i),e(a.exports,"getPlacementWithBrowseNode",()=>d);var r=/(/b|/s|/l).*(node=)(d{1,12})/,n=new Map,o=function(){if(!n.has(window.location.href)){var e=r.exec(window.location.href),a=e&&e[3]?e[3]:null;n.set(window.location.href,a)}return n.get(window.location.href)},i=function(e){var a=o();if(!e||!a)return null;var t=e.split(":");return t.splice(t.length-1,0,a),t.join(":")},d=function(e){var a=o();return a?"".concat(e,":").concat(a):null}}),o("9fPDQ",function(a,t){e(a.exports,"csmName",()=>r);var r=function(e){return e.replace(/_/g,":")}}),o("laNaz",function(a,t){e(a.exports,"feedbackCsaMetric",()=>r),e(a.exports,"feedbackCsmMetric",()=>o),n("2REd0"),n("8OaNj");let r={REQUEST:"adfeedback_request",SUCCESS:"adfeedback_success",ERROR:"adfeedback_error",LABEL_RENDERED_CREATIVE:"adfeedback_sponsoredlabelrendered_creative",LABEL_RENDERED_HOST:"adfeedback_sponsoredlabelrendered_host",LABEL_RENDERED_SERVER:"adfeedback_sponsoredlabelrendered_server"},o={REQUEST:"adfeedback:request",SUCCESS:"adfeedback:success",ERROR:"adfeedback:error",LABEL_RENDERED_CREATIVE:"adfeedback:sponsoredlabelrendered:creative",LABEL_RENDERED_HOST:"adfeedback:sponsoredlabelrendered:host",LABEL_RENDERED_SERVER:"adfeedback:sponsoredlabelrendered:server",LABEL_RENDERED:"adfeedback:sponsoredlabelrendered",TRANSPARENCY_INFO_MISSING:"adfeedback:transparencyinfo:missing"}}),o("8OaNj",function(a,t){e(a.exports,"incrementCsaPlacementCounter",()=>o);var r=n("4uzN4"),o=function(e,a,t){if(void 0===t&&(t=1),window.csa)try{window.csa("Events",{producerId:"adplacements"})("log",{schemaId:"ApeSafeframe.csaEvent.1",metricName:e+":"+a.name+":"+a.id,metricValue:t},{ent:"all"})}catch(e){(0,r.logError)("Error with 'logCsaEvent' CSA",e)}}}),o("4uzN4",function(a,t){e(a.exports,"logError",()=>r);var r=function(e,a){console.error(e),n("ERROR",e,o(e,a))},n=function(e,a,t){var r;null===(r=window.ueLogError)||void 0===r||r.call(window,t,{logLevel:e,attribution:"APE-safeframe",message:a+" | "})},o=function(e,a){return a instanceof Error?a:a?Error(a):Error(e)}});var i=n("2REd0"),d=n("laNaz"),l=n("8OaNj");class c{}c.startSafeFrameCSM=new Map,c.startSafeFrameCSA=new Map,c.startSafeFrameCSMMetrics=e=>{c.startSafeFrameCSM.set(e,new Date)},c.startSafeFrameCSAMetrics=e=>{c.startSafeFrameCSA.set(e,new Date)},c.labelRenderedServerSF=(e,a)=>{let t={id:a,name:e};(0,i.incrementCsmPlacementCounter)(d.feedbackCsmMetric.LABEL_RENDERED_SERVER,t),(0,i.incrementCsmCounter)(d.feedbackCsmMetric.LABEL_RENDERED),(0,l.incrementCsaPlacementCounter)(d.feedbackCsaMetric.LABEL_RENDERED_SERVER,t)};let s=(e,a)=>({slotId:e,wrapperDivId:`ape_${a}_wrapper`,placementDivId:`ape_${a}_placement`,iframeId:`ape_${a}_iframe`,textDivWrapperId:`ape_${a}_text-wrapper`,textDivId:`ape_${a}_text`,auiCardDeckId:`ape_${a}_aui_cardDeck`}),m="sf iframe ready";var u=function(e,a){if(void 0===a&&(a=document),""===e)return"";var t,r,n=null==a?void 0:a.getElementById("ape_".concat(e,"_placement_ClickTracking"));return null!==(r=null===(t=null==n?void 0:n.getAttribute)||void 0===t?void 0:t.call(n,"data-val"))&&void 0!==r?r:""};let f=(e,a=10,t=2e4)=>new Promise((r,n)=>{let o=Date.now(),i=setInterval(()=>{var a,d,l,c;e()?(null===(d=performance)||void 0===d||null===(a=d.mark)||void 0===a||a.call(d,"SafeFrame: Host found inside waitForWindowHostVariable"),clearInterval(i),r()):Date.now()-o>=t&&(clearInterval(i),null===(c=performance)||void 0===c||null===(l=c.mark)||void 0===l||l.call(c,"Timed out waiting for sf host in waitForWindowHostVariable"),n())},a)}),v=(e,a,t)=>new Promise(r=>{let n=t.getElementById(a);if(n){var o,i;null===(i=performance)||void 0===i||null===(o=i.mark)||void 0===o||o.call(i,`SafeFrame: idEl found before MutationObserver constructed ${a} `),r(n)}else new MutationObserver((e,n)=>{var o,i,d,l;let c=t.getElementById(a);c?(null===(l=performance)||void 0===l||null===(d=l.mark)||void 0===d||d.call(l,`SafeFrame: idEl found inside MutationObserver. ${a}`),n.disconnect(),r(c)):null===(i=performance)||void 0===i||null===(o=i.mark)||void 0===o||o.call(i,`SafeFrame: idEl NOT found during mutation. ${a}`)}).observe(e,{subtree:!0,childList:!0})}),w=(e,a)=>{var t,r;let n=`SafeFrame: Start fastSafeFrameLoad ${e}`;null===(r=performance)||void 0===r||null===(t=r.mark)||void 0===t||t.call(r,a?n+` (${a})`:n)};window.grandprix||(window.grandprix={metrics:c,wrappers:class{static listenForSFIFrameLoad(e,a,t,r=window){let n=e=>{var a;let t=r.document.getElementById(e),n=t.getAttribute("data-page-type"),o=t.getAttribute("data-subpage-type"),i=t.getAttribute("data-slot-name");return void 0===(a=r)&&(a=window),u([n,i,o].join("_"),a.document)},o=(e,a)=>{let t=n(e);return a.postMessage({command:"percolateClickTracking",data:t}),t},i=(e,n)=>{if(e.source===n.contentWindow&&e.data===m){var i,d,l,c;null==n||n.setAttribute("data-iframe-ready","true"),null===(d=performance)||void 0===d||null===(i=d.mark)||void 0===i||i.call(d,`SafeFrame: Start received sf ready message ${a}`);let s=null!==(c=e.ports[0])&&void 0!==c?c:null===(l=e.data)||void 0===l?void 0:l.messagePort,m=o(a,s);null==n||n.setAttribute("data-sent-percolate-click-tracking-params",m),this.fastSafeFrameLoad(a,`sf-host-load_${a}`,t,s,r)}},d=async t=>{if(t.data!==m)return;let n=r.document.getElementById(a);null!==n&&i(t,await v(n,e,r.document))};r.addEventListener("message",d)}static async fastSafeFrameLoad(e,a,t,r,n=window){try{w(e);let o=n.document,i=o.getElementById(e),d=i.getAttribute("data-scope"),l=i.getAttribute("data-placement-name"),m=s(l,d),u=o.getElementById(m.iframeId),v=u.getAttribute("data-arid"),E=JSON.parse(u.getAttribute("name"));t()||(w(e,"waitUntilElementExists"),await f(t)),t()?(w(e,"host exists"),t().secondPhaseLoadAd(v,E,r,c.startSafeFrameCSM.get(m.placementDivId),c.startSafeFrameCSA.get(m.placementDivId))):(w(e,"host doesn't exists"),o.getElementById(a).addEventListener("load",a=>{w(e,"SF host loaded"),t().secondPhaseLoadAd(v,E,r,c.startSafeFrameCSM.get(m.placementDivId),c.startSafeFrameCSA.get(m.placementDivId))}))}catch(e){var o,i;console.error(e),null===(o=(i=window).ueLogError)||void 0===o||o.call(i,e,{logLevel:"ERROR",attribution:"APE-safeframe",message:""})}}}})})();
//# sourceMappingURL=grandprix.js.map
try {
if (window.ue && typeof window.ue.count === "function") {
window.ue.count("adplacements:adload:htmlreached:Detail_customer-reviews-top_Glance".replace(/_/g, ":"), 1);
window.ue.count("adplacements:adload:htmlreached:a5a58631-9157-450d-8b12-21b15ea5926d", 1);
}
if (window.csa) {
window.csa("Events", {
producerId: "adplacements"
})(
"log",
{
schemaId: "ApeSafeframe.csaEvent.1",
metricName: "adload:htmlreached:Detail_customer-reviews-top_Glance:a5a58631-9157-450d-8b12-21b15ea5926d",
metricValue: 1
},
{ ent: "all" }
);
}
} catch (ex) {
}
window.grandprix.metrics.startSafeFrameCSMMetrics("ape_Detail_customer-reviews-top_Glance_placement");
window.grandprix.metrics.startSafeFrameCSAMetrics("ape_Detail_customer-reviews-top_Glance_placement");
window.grandprix.wrappers.listenForSFIFrameLoad("ape_Detail_customer-reviews-top_Glance_iframe", "ape_Detail_customer-reviews-top_Glance_placement", (function() {return window.DAsf;}));<iframe id="ape_Detail_customer-reviews-top_Glance_iframe" name=" {
"placementName" : "Detail_customer-reviews-top_Glance",
"renderingId": "25e20471-ed9f-4fb3-b465-374e51184e1a",
"creative": {"flow":"XSP_CLIENT_SIDE","url":"https://aax-us-east-retail-direct.amazon.com/e/xsp/getAd?placementId=a5a58631-9157-450d-8b12-21b15ea5926d&src=500&rj=%7B%7D&slot=customer-reviews-top&rid=010181cc1caf1fedd313f684506a94fe04f30ec1f7889235abc55b4b6e77ad61d36b","size":null,"mediaType":"D"},
"pageType": "Detail",
"subPageType": "Glance",
"slotName" : "customer-reviews-top",
"arid" : "06098f74b97c46f5916468d0b404ece4",
"placementId": "a5a58631-9157-450d-8b12-21b15ea5926d",
"size" : {
"width": "300",
"height" : "250"
},
"allowedSizes" : [{"width":"305px", "height":"255px"},{"width":"305px", "height":"250px"},{"width":"300px", "height":"250px"},{"width":"305px", "height":"600px"}],
"allowChangeSize": true,
"firePixelsAfter" : "criticalFeature",
"isCardsFlow": false,
"aaxInstrPixelUrl": "",
"serverSideFetchAd": "false",
"disableResizeFunc": true,
"fallbackStaticAdImgUrl": "",
"fallbackStaticAdClickUrl": "",
"fallbackStaticAdExtraStyle": "",
"adFeedbackInfo": {
"adProgramId": "1027",
"endPoint": "/af/feedback-link",
"boolFeedback": true,
"sponsoredText": "Sponsored n",
"adFeedbackOnTop":false
}
,
"adPlacementMetaData": {
"pageUrl": "aHR0cHM6Ly93d3cuYW1hem9uLmNvbS9kcC9CMDdNWFRKUUNLPw==",
"adElementId": "ape_Detail_customer-reviews-top_Glance_placement",
"pageType": "Detail",
"slotName": "customer-reviews-top"
}
,
"adCreativeMetaData": {
"adProgramId": "1027",
"adCreativeId": "0",
"adId": "200100565995098",
"adCreativeDetails": [],
"adNetwork": "cs"
}
,
"advertisementStyle": {
"position": "absolute",
"top": "4.5px",
"right": "0px",
"display": "inline-block",
"font": "11px "Amazon Ember Regular", "Amazon Ember", Arial",
"color": "rgb(85,85,85)",
"text-align": "right"
}
,
"feedbackDivStyle": {"position":"relative","top": "-2px","height":"17px"},
"abpStatus": "0",
"abpAcceptable": "true",
"mediaType": "D",
"brandNameEncoded": "Disney",
"adUnitPlacementId":"ape_Detail_customer-reviews-top_Glance_placement",
"adUnitIframeId":"ape_Detail_customer-reviews-top_Glance_iframe",
"defaultSize":"300×250",
"weblabTreatments":"{"ADPT_SF_LIGHTADS_REFACTOR_903064":"C","ADPT_SF_ADSP_VIDEO_833419":"C","A2I_HOMEPAGE_CARD_THEMING_360311":"T2","ADPT_SF_CLIENT_LATENCY_2023Q1_632539":"C","ADPT_SF_CLIENT_LATENCY_2023Q3_737747":"C","ADPT_SF_TEMPLATE_PARAMETER_CLASS_906958":"C","ADPT_SF_APE_WW_MOBILE_SEARCH_ZOETROPE_EPB_EXP_792200":"C","ADPT_SF_SPARKLE_838607":"C","ADPT_SF_PLACEMENT_STYLESHEET_1047425":"C","ADPT_SF_H1_VIDEO_ADS_MOCK_940184":"C","ADPT_SF_BTR_PIXEL_997225":"C","ADPT_SF_SERVER_SIDE_SPONSORED_LABEL_998980":"C","ADPT_SF_GWATF_ROUNDED_CORNERS_1036948":"C","ADPT_SF_UNIQUE_DIV_ID_1012703":"C","ADPT_SF_MASH_API_DEPRECATION_1051249":"C","ADPT_SF_RESIZE_ASPECT_RATIO_909226":"C","ADPT_SF_USE_ADDETAILS_SCOPE_1025572":"T1","ADPT_SF_DEFAULT_SPONSORED_LABEL_863363":"C","ADPT_SF_ENABLE_BLANKADS_DETECTION_990833":"C","ADPT_SF_WD1_VIDEO_ADS_MOCK_1037066":"C","ADPT_SF_TRANSPARENCY_INFO_MANDATORY_FOR_EU_712921":"C"}",
"blankAdsConfig": {
"blankAdsScriptUrl": "https://images-na.ssl-images-amazon.com/images/S/apesafeframe/ape/blankAds/blankAds.fe2d3279.js"
}
,
"scope": "Detail_customer-reviews-top_Glance"
}
” title=”Sponsored ad” width=”300″ height=”250″ frameborder=”0″ marginheight=”0″ marginwidth=”0″ scrolling=”no” allowtransparency=”true” data-arid=”06098f74b97c46f5916468d0b404ece4″ src=”https://images-na.ssl-images-amazon.com/images/S/apesafeframe/ape/sf/desktop/sf-1.50.093607c5.html” sandbox=”allow-scripts allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-same-origin” style=””>