Movatterモバイル変換


[0]ホーム

URL:


// or element, update the intersection rect. // Note: and cannot be clipped to a rect that's not also // the document rect, so no need to compute a new intersection. var doc = parent.ownerDocument; if (parent != doc.body && parent != doc.documentElement && parentComputedStyle.overflow != 'visible') { parentRect = getBoundingClientRect(parent); } } // If either of the above conditionals set a new parentRect, // calculate new intersection data. if (parentRect) { intersectionRect = computeRectIntersection(parentRect, intersectionRect); } if (!intersectionRect) break; parent = parent && getParentNode(parent); } return intersectionRect;};/** * Returns the root rect after being expanded by the rootMargin value. * @return {ClientRect} The expanded root rect. * @private */IntersectionObserver.prototype._getRootRect = function() { var rootRect; if (this.root && !isDoc(this.root)) { rootRect = getBoundingClientRect(this.root); } else { // Use/ instead of window since scroll bars affect size. var doc = isDoc(this.root) ? this.root : document; var html = doc.documentElement; var body = doc.body; rootRect = { top: 0, left: 0, right: html.clientWidth || body.clientWidth, width: html.clientWidth || body.clientWidth, bottom: html.clientHeight || body.clientHeight, height: html.clientHeight || body.clientHeight }; } return this._expandRectByRootMargin(rootRect);};/** * Accepts a rect and expands it by the rootMargin value. * @param {DOMRect|ClientRect} rect The rect object to expand. * @return {ClientRect} The expanded rect. * @private */IntersectionObserver.prototype._expandRectByRootMargin = function(rect) { var margins = this._rootMarginValues.map(function(margin, i) { return margin.unit == 'px' ? margin.value : margin.value * (i % 2 ? rect.width : rect.height) / 100; }); var newRect = { top: rect.top - margins[0], right: rect.right + margins[1], bottom: rect.bottom + margins[2], left: rect.left - margins[3] }; newRect.width = newRect.right - newRect.left; newRect.height = newRect.bottom - newRect.top; return newRect;};/** * Accepts an old and new entry and returns true if at least one of the * threshold values has been crossed. * @param {?IntersectionObserverEntry} oldEntry The previous entry for a * particular target element or null if no previous entry exists. * @param {IntersectionObserverEntry} newEntry The current entry for a * particular target element. * @return {boolean} Returns true if a any threshold has been crossed. * @private */IntersectionObserver.prototype._hasCrossedThreshold = function(oldEntry, newEntry) { // To make comparing easier, an entry that has a ratio of 0 // but does not actually intersect is given a value of -1 var oldRatio = oldEntry && oldEntry.isIntersecting ? oldEntry.intersectionRatio || 0 : -1; var newRatio = newEntry.isIntersecting ? newEntry.intersectionRatio || 0 : -1; // Ignore unchanged ratios if (oldRatio === newRatio) return; for (var i = 0; i< this.thresholds.length; i++) { var threshold = this.thresholds[i]; // Return true if an entry matches a threshold or if the new ratio // and the old ratio are on the opposite sides of a threshold. if (threshold == oldRatio || threshold == newRatio || threshold< oldRatio !== threshold< newRatio) { return true; } }};/** * Returns whether or not the root element is an element and is in the DOM. * @return {boolean} True if the root element is an element and is in the DOM. * @private */IntersectionObserver.prototype._rootIsInDom = function() { return !this.root || containsDeep(document, this.root);};/** * Returns whether or not the target element is a child of root. * @param {Element} target The target element to check. * @return {boolean} True if the target element is a child of root. * @private */IntersectionObserver.prototype._rootContainsTarget = function(target) { var rootDoc = (this.root && (this.root.ownerDocument || this.root)) || document; return ( containsDeep(rootDoc, target) && (!this.root || rootDoc == target.ownerDocument) );};/** * Adds the instance to the global IntersectionObserver registry if it isn't * already present. * @private */IntersectionObserver.prototype._registerInstance = function() { if (registry.indexOf(this)< 0) { registry.push(this); }};/** * Removes the instance from the global IntersectionObserver registry. * @private */IntersectionObserver.prototype._unregisterInstance = function() { var index = registry.indexOf(this); if (index != -1) registry.splice(index, 1);};/** * Returns the result of the performance.now() method or null in browsers * that don't support the API. * @return {number} The elapsed time since the page was requested. */function now() { return window.performance && performance.now && performance.now();}/** * Throttles a function and delays its execution, so it's only called at most * once within a given time period. * @param {Function} fn The function to throttle. * @param {number} timeout The amount of time that must pass before the * function can be called again. * @return {Function} The throttled function. */function throttle(fn, timeout) { var timer = null; return function () { if (!timer) { timer = setTimeout(function() { fn(); timer = null; }, timeout); } };}/** * Adds an event handler to a DOM node ensuring cross-browser compatibility. * @param {Node} node The DOM node to add the event handler to. * @param {string} event The event name. * @param {Function} fn The event handler to add. * @param {boolean} opt_useCapture Optionally adds the even to the capture * phase. Note: this only works in modern browsers. */function addEvent(node, event, fn, opt_useCapture) { if (typeof node.addEventListener == 'function') { node.addEventListener(event, fn, opt_useCapture || false); } else if (typeof node.attachEvent == 'function') { node.attachEvent('on' + event, fn); }}/** * Removes a previously added event handler from a DOM node. * @param {Node} node The DOM node to remove the event handler from. * @param {string} event The event name. * @param {Function} fn The event handler to remove. * @param {boolean} opt_useCapture If the event handler was added with this * flag set to true, it should be set to true here in order to remove it. */function removeEvent(node, event, fn, opt_useCapture) { if (typeof node.removeEventListener == 'function') { node.removeEventListener(event, fn, opt_useCapture || false); } else if (typeof node.detatchEvent == 'function') { node.detatchEvent('on' + event, fn); }}/** * Returns the intersection between two rect objects. * @param {Object} rect1 The first rect. * @param {Object} rect2 The second rect. * @return {?Object|?ClientRect} The intersection rect or undefined if no * intersection is found. */function computeRectIntersection(rect1, rect2) { var top = Math.max(rect1.top, rect2.top); var bottom = Math.min(rect1.bottom, rect2.bottom); var left = Math.max(rect1.left, rect2.left); var right = Math.min(rect1.right, rect2.right); var width = right - left; var height = bottom - top; return (width >= 0 && height >= 0) && { top: top, bottom: bottom, left: left, right: right, width: width, height: height } || null;}/** * Shims the native getBoundingClientRect for compatibility with older IE. * @param {Element} el The element whose bounding rect to get. * @return {DOMRect|ClientRect} The (possibly shimmed) rect of the element. */function getBoundingClientRect(el) { var rect; try { rect = el.getBoundingClientRect(); } catch (err) { // Ignore Windows 7 IE11 "Unspecified error" // https://github.com/w3c/IntersectionObserver/pull/205 } if (!rect) return getEmptyRect(); // Older IE if (!(rect.width && rect.height)) { rect = { top: rect.top, right: rect.right, bottom: rect.bottom, left: rect.left, width: rect.right - rect.left, height: rect.bottom - rect.top }; } return rect;}/** * Returns an empty rect object. An empty rect is returned when an element * is not in the DOM. * @return {ClientRect} The empty rect. */function getEmptyRect() { return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 };}/** * Ensure that the result has all of the necessary fields of the DOMRect. * Specifically this ensures that `x` and `y` fields are set. * * @param {?DOMRect|?ClientRect} rect * @return {?DOMRect} */function ensureDOMRect(rect) { // A `DOMRect` object has `x` and `y` fields. if (!rect || 'x' in rect) { return rect; } // A IE's `ClientRect` type does not have `x` and `y`. The same is the case // for internally calculated Rect objects. For the purposes of // `IntersectionObserver`, it's sufficient to simply mirror `left` and `top` // for these fields. return { top: rect.top, y: rect.top, bottom: rect.bottom, left: rect.left, x: rect.left, right: rect.right, width: rect.width, height: rect.height };}/** * Inverts the intersection and bounding rect from the parent (frame) BCR to * the local BCR space. * @param {DOMRect|ClientRect} parentBoundingRect The parent's bound client rect. * @param {DOMRect|ClientRect} parentIntersectionRect The parent's own intersection rect. * @return {ClientRect} The local root bounding rect for the parent's children. */function convertFromParentRect(parentBoundingRect, parentIntersectionRect) { var top = parentIntersectionRect.top - parentBoundingRect.top; var left = parentIntersectionRect.left - parentBoundingRect.left; return { top: top, left: left, height: parentIntersectionRect.height, width: parentIntersectionRect.width, bottom: top + parentIntersectionRect.height, right: left + parentIntersectionRect.width };}/** * Checks to see if a parent element contains a child element (including inside * shadow DOM). * @param {Node} parent The parent element. * @param {Node} child The child element. * @return {boolean} True if the parent node contains the child node. */function containsDeep(parent, child) { var node = child; while (node) { if (node == parent) return true; node = getParentNode(node); } return false;}/** * Gets the parent node of an element or its host element if the parent node * is a shadow root. * @param {Node} node The node whose parent to get. * @return {Node|null} The parent node or null if no parent exists. */function getParentNode(node) { var parent = node.parentNode; if (node.nodeType == /* DOCUMENT */ 9 && node != document) { // If this node is a document node, look for the embedding frame. return getFrameElement(node); } // If the parent has element that is assigned through shadow root slot if (parent && parent.assignedSlot) { parent = parent.assignedSlot.parentNode } if (parent && parent.nodeType == 11 && parent.host) { // If the parent is a shadow root, return the host element. return parent.host; } return parent;}/** * Returns true if `node` is a Document. * @param {!Node} node * @returns {boolean} */function isDoc(node) { return node && node.nodeType === 9;}// Exposes the constructors globally.window.IntersectionObserver = IntersectionObserver;window.IntersectionObserverEntry = IntersectionObserverEntry;}());window.performance.mark('apstagLoadEnd');window.performance.measure('apstagLoad', 'apstagLoadStart', 'apstagLoadEnd');var timing = window.performance.getEntriesByName('apstagLoad')[0].duration;window.dataLayer.push({ event: 'apstagLoad', page: page, timing: timing});/**----------------- Initialize apstag (A9) -----------------*/function apstagInitAndFetch() { apstag.init({ pubID: "3067", adServer: "googletag", bidTimeout: 1000 }); window.dataLayer.push({ event: "initialA9RequestInitiated", timing: generateFormattedTime(), sessionId: sessionId }); apstag.fetchBids( { slots: apstagSlots, timeout: 1000 // Make sure this timeout is less than or equal to OpenWrap TimeOut }, function(bids) { googletag.cmd.push(function() { apstag.setDisplayBids(); PWT.a9_Bids = bids; PWT.a9_BidsReceived = true; initAdserver(false); }); } );}/**-------------------------- Mup Fpb integration --------------------------*/var MAGIC = 0xbeefcafe;function getMupFpbParams(mupFpbSlotConfigs, mupFpbConfig) { var mupParams = {}; mupFpbSlotConfigs.forEach(function(slotConfig) { try { mupParams[slotConfig.placement] = { site: mupFpbConfig.site, geo: mupFpbConfig.adlerGeo || "", platform: mupFpbConfig.detectedDevice, sizes: slotConfig.sizes, position: slotConfig.targeting.pos }; } catch (error) { console.log("Error forming mup params:", error.message); return false; } return true; }); return mupParams;}function getAdlerKey(size) { var keyMap = { "970x250": "adler_a", "300x600": "adler_a", "320x100": "adler_a", "970x90": "adler_b", "728x90": "adler", "300x250": "adler", "320x50": "adler", "160x600": "adler" }; return keyMap[size];}function parseMupResponse(mupFpbAjaxCall) { try { window.adlerData.mup.values = JSON.parse(mupFpbAjaxCall.responseText); initAdserver(false); } catch (err) { console.log("Error parsing mupResponse: ".concat(err.message)); }}function processMupFpbValues(adUnitsArray) { if (!window.adlerData.mup.values) return false; var mupFpbValues = window.adlerData.mup.values; adUnitsArray.forEach(function(adUnit) { if (adUnit.bidData.kvp.pwtsz) { try { var adlerKey = getAdlerKey(adUnit.bidData.kvp.pwtsz); if ( adlerKey === null || !mupFpbValues[adUnit.code] || !mupFpbValues[adUnit.code][adlerKey] ) { return false; } var markup = mupFpbValues[adUnit.code][adlerKey]; var deobfuscatedMarkup = deobMup(markup.adler); var muv = 100 + deobfuscatedMarkup; var centPwtecp = parseInt( adUnit.bidData.kvp.pwtecp.replace(".", ""), 10 ); var adjustedPwtecp = (centPwtecp * muv) / 10000; adUnit.bidData.kvp.pwtecp = adjustedPwtecp.toFixed(2); adUnit.bidData.kvp.mup = "".concat(deobfuscatedMarkup); } catch (error) { console.log("Error applying mup for:", adUnit.code); return false; } } return true; }); window.adlerData.mup.processed = true; return true;}function callMupFpb(slotConfigs, mupFpbConfig) { var mupFpbReq = new XMLHttpRequest(); mupFpbReq.addEventListener( "load", parseMupResponse.bind(null, mupFpbReq) ); mupFpbReq.open("POST", mupFpbConfig.mupFpbApiEndpoint, true); mupFpbReq.timeout = 1000; mupFpbReq.send( JSON.stringify(getMupFpbParams(slotConfigs, mupFpbConfig)) );}function reverse(n) { var x = new Uint32Array(1); x[0] = n; x[0] = ((x[0] & 0x0000ffff)<< 16) | ((x[0] & 0xffff0000) >>> 16); x[0] = ((x[0] & 0x55555555)<< 1) | ((x[0] & 0xaaaaaaaa) >>> 1); x[0] = ((x[0] & 0x33333333)<< 2) | ((x[0] & 0xcccccccc) >>> 2); x[0] = ((x[0] & 0x0f0f0f0f)<< 4) | ((x[0] & 0xf0f0f0f0) >>> 4); x[0] = ((x[0] & 0x00ff00ff)<< 8) | ((x[0] & 0xff00ff00) >>> 8); return x[0];}function unflip(n) { return reverse(n ^ MAGIC);}function deobMup(encryptedMup) { if (!encryptedMup) { throw new Error( "Missing Mup. Please confirm value is being passed in." ); } var decryptedMup = unflip(parseInt(encryptedMup, 10)); return decryptedMup;}/**-------------- End of Mup Fpb integration --------------*//**--------------------- Rtf integration ------------------*/function setRtfInstrumentationKV(rtfSlotConfigs, status, error) { rtfSlotConfigs.forEach(function(slotConfig) { slotConfig.targeting.adler_status = status; if (error) { slotConfig.targeting.adler_error = error; } });}function getRtfParams(rtfSlotConfigs, rtfFpbConfig) { var requestParams = {}; var geo = rtfFpbConfig.adlerGeo || ""; if (geo === "") { setRtfInstrumentationKV(rtfSlotConfigs, "nogeo", "nogeo"); } rtfSlotConfigs.forEach(function(slotConfig) { try { requestParams[slotConfig.placement] = { site: rtfFpbConfig.site, geo: geo, platform: rtfFpbConfig.detectedDevice, sizes: slotConfig.sizes, position: slotConfig.targeting.pos }; } catch (error) { console.log("Error forming rtf params:", error.message); return false; } return true; }); return requestParams;}function rtfFallback(rtfSlotConfigs, event) { setRtfInstrumentationKV(rtfSlotConfigs, event.type);}function injectRtfValue(adUnit, rtfSlotConfigs) { var rtfFpbValues = window.adlerData.rtf.values; rtfSlotConfigs.forEach(function(slotConfig) { if (slotConfig.placement !== adUnit.code) return false; if (!rtfFpbValues[slotConfig.placement]) { slotConfig.targeting.adler_status = "nofloor"; } else { slotConfig.targeting.adler = rtfFpbValues[slotConfig.placement].adler; slotConfig.targeting.adler_a = rtfFpbValues[slotConfig.placement].adler_a; slotConfig.targeting.adler_b = rtfFpbValues[slotConfig.placement].adler_b; slotConfig.targeting.adler_status = "ok"; } return true; });}function parseRtfValues(rtfAjaxCall, rtfSlotConfigs) { try { window.adlerData.rtf.values = JSON.parse(rtfAjaxCall.responseText); initAdserver(false); } catch (err) { setRtfInstrumentationKV(rtfSlotConfigs, "parse", err.message); }}function processRtfFpbValues( pubmaticAdUnitsArray, a9BidsArray, rtfSlotConfigs, shouldSetLoki) { if (!window.adlerData.rtf.values) return false; var rtfFpbValues = window.adlerData.rtf.values; var a9NoBidValues = ["0", "1", "2"]; for (var i = 0; i< pubmaticAdUnitsArray.length; i += 1) { var adUnit = pubmaticAdUnitsArray[i]; var noA9bidForSlot = false; for (var j = 0; j< a9BidsArray.length; j += 1) { var a9Bid = a9BidsArray[j]; if ( a9Bid.slotID === pubmaticAdUnitsArray[i].code && (!a9Bid.amznbid || a9NoBidValues.indexOf(a9Bid.amznbid) !== -1) ) { noA9bidForSlot = true; break; } } if ( !adUnit.bidData.kvp.pwtsz && (noA9bidForSlot || a9BidsArray.length === 0) && shouldSetLoki ) { try { if (!rtfFpbValues[adUnit.code]) { return false; } var rtfValue = rtfFpbValues[adUnit.code].adler_a || rtfFpbValues[adUnit.code].adler; adUnit.bidData.kvp.pwtpid = "loki"; adUnit.bidData.kvp.pwtecp = rtfValue; adUnit.bidData.kvp.pwtbst = "1"; injectRtfValue(adUnit, rtfSlotConfigs); } catch (error) { console.log("Error applying rtf for:", adUnit.code); } } } window.adlerData.rtf.processed = true; return true;}function callRTFFpb(slotConfigs, rtfFpbConfig) { var rtfReq = new XMLHttpRequest(); rtfReq.addEventListener( "load", parseRtfValues.bind(null, rtfReq, slotConfigs) ); rtfReq.addEventListener("timeout", rtfFallback.bind(null, slotConfigs)); rtfReq.addEventListener("error", rtfFallback.bind(null, slotConfigs)); rtfReq.open("POST", rtfFpbConfig.rtfFpbApiEndpoint, true); rtfReq.timeout = 1000; rtfReq.send(JSON.stringify(getRtfParams(slotConfigs, rtfFpbConfig)));}/**------------------ End of Rtf integration ------------------*/googletag.cmd.push(function() { callMupFpb(allSlotConfigs, mupFpbConfiguration); callRTFFpb(allSlotConfigs, rtfFpbConfig);});var testAdParam = {};var mupData = undefined;var updatePageTargeting = function(pageTargeting, testParam) { pageTargeting.spe = 'n'; pageTargeting.kw = ''; pageTargeting.loc = mupFpbConfiguration && mupFpbConfiguration.adlerGeo ? mupFpbConfiguration.adlerGeo : ''; pageTargeting.rpv = Math.floor(Math.random() * 100 + 1).toString(); pageTargeting.evince = 'ad'; pageTargeting.ref = 'organic'; pageTargeting.lang = window.navigator.userLanguage || window.navigator.language; pageTargeting.dow = new Date().getDay().toString(); pageTargeting.pv = typeof SCCookie !== "undefined" ? SCCookie.getPageViewCount() + "" : ""; if (mupData) { pageTargeting.mup = mupData.profileNumber; } window.adlerData.shouldSetLoki = pageTargeting.rpv > bidRpvThreshold; const objs = [pageTargeting, testParam]; const targeting = objs.reduce(function(r, o) { Object.keys(o).forEach(function(key) { r[key] = o[key]; }); return r; }); return targeting;}function refreshAds(event) { var refreshSlotConfigs = event.detail.slotConfigs.concat(event.detail.lazySlotConfigs); var pageTargeting = updatePageTargeting(event.detail.pageTargeting, testAdParam); window.performance.mark('adStackStart'); (function refreshLazySlots(lazySlotConfigs) { window.refreshLazyAds = lazySlotConfigs.map(function(slot) { return { placement: slot.placement, refresh: true }; }); })(event.detail.lazySlotConfigs); // Clear old state window.initAdserverFlag = false; // Delete old config googletag.destroySlots(); callMupFpb(refreshSlotConfigs, mupFpbConfiguration); callRTFFpb(refreshSlotConfigs, rtfFpbConfig); determineConsent(); /**---------- Set page level targeting for DFP ----------*/ (function setPageLevelTargeting(googletag) { /* Both Bidders Set targeting params pertaining to all slots on page. */ googletag = googletag || window.googletag; Object.keys(pageTargeting).forEach(function(pageTarget) { if (Object.prototype.hasOwnProperty.call(pageTargeting, pageTarget)) { (function(key, value) { googletag.cmd.push(function() { googletag.pubads().setTargeting(key, value); }); })(pageTarget, pageTargeting[pageTarget]); } }); })(googletag); /**---------- Set ad slot level targeting for DFP ----------*/ if (typeof event.detail.slotConfigs === "object") { (function setSpecificAdSlotTargeting(googletag, specificSlotConfigs) { var refresh = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; /* FPB 1. Define initial (static) slots for DPT. 2. Add listeners for events relevant to analytics. 3. Set targeting params pertaining to individual slots. */ var adSlotRenderPeriods = {}; googletag = googletag || window.googletag; specificSlotConfigs.forEach(function(slot) { googletag.cmd.push(function() { adSlots.slots[slot.placement] = googletag.defineSlot(slot.code, slot.sizes, slot.placement).addService(googletag.pubads()); googletag.pubads().addEventListener('slotRenderEnded', function(event) { if (event.slot === adSlots.slots[slot.placement]) { adSlotRenderPeriods[slot.placement] = Date.now(); } }); googletag.pubads().addEventListener('slotOnload', function(event) { if (event.slot === adSlots.slots[slot.placement]) { window.dataLayer.push({ event: 'gptSlotRenderPeriod', page: page, slotId: slot.placement, code: slot.code, position: slot.targeting.pos, position2: slot.targeting.pos2, time: Date.now() - adSlotRenderPeriods[slot.placement] }); } }); googletag.pubads().addEventListener('impressionViewable', function(event) { if (event.slot === adSlots.slots[slot.placement]) { window.dataLayer.push({ event: 'gptImpressionViewable', page: page, slotId: slot.placement, code: slot.code, position: slot.targeting.pos, position2: slot.targeting.pos2 }); } }); Object.keys(slot.targeting).forEach(function(target) { if (Object.prototype.hasOwnProperty.call(slot.targeting, target)) { adSlots.slots[slot.placement].setTargeting(target, slot.targeting[target]); } }); adSlots.slots[slot.placement].setTargeting('adrefresh', refresh ? 'y' : 'n'); }); }); })(googletag, event.detail.slotConfigs, event.detail.isNotPageTransition); } (function pushAdSlots(googletag) { googletag = googletag || window.googletag; googletag.cmd.push(function() { googletag.pubads().enableSingleRequest(); googletag.pubads().disableInitialLoad(); googletag.enableServices(); window.dfpReady = true; }); })(googletag); googletag.display(); PWT.requestBidSlots = googletag.pubads().getSlots(); if (typeof PWT.requestBids === 'function') { const config = PWT.generateConfForGPT(PWT.requestBidSlots); PWT.requestBids( config, function(adUnitsArray) { PWT.ow_Bids = adUnitsArray; PWT.ow_BidsReceived = true; initAdserver(false); } ); } apstag.fetchBids({ slots: apstagSlots, timeout: 1000 // Make sure this timeout is less than or equal to OpenWrap TimeOut }, function(bids) { googletag.cmd.push(function() { apstag.setDisplayBids(); PWT.a9_Bids = bids; PWT.a9_BidsReceived = true; initAdserver(false); }); });}function requestLazyAd(event) { var results = {}; var lazyInitAdserver = function(slot) { if (results.a9_BidsReceived && results.ow_BidsReceived && window.adlerData.mup.values && window.adlerData.rtf.values) { if (!results.ow_Bids) { var owBackup = []; for (var i = 0; i< slotConfigs.length; i++) { owBackup.push({ adUnitIndex: '' + i, adUnitId: slotConfigs[i].code, bidData: { kvp: {} }, code: slotConfigs[i].placement, divId: slotConfigs[i].placement, }); } results.ow_Bids = owBackup; } if (!results.a9_Bids) { results.a9_Bids = []; } processMupFpbValues(results.ow_Bids); processRtfFpbValues(results.ow_Bids, results.a9_Bids, allSlotConfigs, window.adlerData.shouldSetLoki); PWT.addKeyValuePairsToGPTSlots(results.ow_Bids); googletag.display(slotConfig.placement); googletag.pubads().refresh([slot]); } } var slotConfig = lazySlotConfigs.find( (function(config) { return config.placement === event.detail; }) ); if (slotConfig && googletag) { var apstagSlot = (function formatApstagSlot(slot) { var slots = [{ slotID: slot.placement, sizes: slot.sizes }]; return slots; })(slotConfig); googletag.cmd.push(function() { googletag.destroySlots([adSlots.slots[slotConfig.placement]]); adSlots.slots[slotConfig.placement] = null; const slot = googletag.defineSlot( slotConfig.code, slotConfig.sizes, slotConfig.placement ); if (slot) { adSlots.slots[slotConfig.placement] = slot.addService( googletag.pubads() ); Object.keys(slotConfig.targeting).forEach(function(key) { adSlots.slots[slotConfig.placement].setTargeting( key, slotConfig.targeting[key] ); }); if (typeof PWT.requestBids === 'function') { const config = PWT.generateConfForGPT([slot]); PWT.requestBids( config, function(adUnitsArray) { results.ow_Bids = adUnitsArray; results.ow_BidsReceived = true; lazyInitAdserver(slot); } ); } apstag.fetchBids( { slots: apstagSlot, timeout: 1000 }, (function(bids) { googletag.cmd.push(function() { apstag.setDisplayBids(); results.a9_Bids = bids; results.a9_BidsReceived = true; lazyInitAdserver(slot); }); }) ); } }); }};window.addEventListener('refreshAds', refreshAds);window.addEventListener('refreshAds', function() { console.log("FIRED: refreshAds") } );window.addEventListener('requestLazyAd', requestLazyAd);window.addEventListener('requestLazyAd', function() { console.log("FIRED: requestLazyAd") } );var hasLazyLoaded = false;function handler(entries, observer) { for (var i = 0; i< entries.length; i++) { var entry = entries[i]; if (entry.isIntersecting && !hasLazyLoaded) { hasLazyLoaded = true; requestLazyAd(new CustomEvent('requestLazyAd', { detail: lazySlotConfigs[0].placement })); } }}setTimeout(function(){ var observer = new IntersectionObserver(handler); var hp_grammar = document.getElementById("grammar_section"); if ( hp_grammar ) { observer.observe(hp_grammar); } var further_reading = document.getElementById("further_reading_section"); if ( further_reading ) { observer.observe(further_reading); }}, 3000);
Wayback Machine
10 captures
15 May 2021 - 06 Mar 2025
AprMAYSep
Previous capture15Next capture
202020212023
success
fail
COLLECTED BY
Collection:Common Crawl
Web crawl data from Common Crawl.
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20210515214121/https://www.lexico.com/en/definition/waiting
Lexico logo
Lexico logo

Oxford English and Spanish Dictionary, Synonyms, and Spanish to English Translator

  • à
  • á
  • â
  • ä
  • ã
  • ă
  • ā
  • ç
  • č
  • è
  • é
  • ê
  • ë
  • ē
  • ģ
  • ì
  • í
  • î
  • ï
  • ī
  • ķ
  • ļ
  • ñ
  • ň
  • ņ
  • ò
  • ó
  • ô
  • ö
  • õ
  • ş
  • š
  • ţ
  • ù
  • ú
  • û
  • ü
  • ū
  • ý
  • ž
  • æ
  • œ
  • ß
menumenu

Definition ofwaiting in English:

waiting

Pronunciation/ˈwādiNG//ˈweɪdɪŋ/

Translatewaiting into Spanish

noun

  • 1The action of staying where one is or delaying action until a particular time or until something else happens.

    ‘years of waiting’
    • ‘The inevitable result is that waiting times have grown and now stand at a staggering 53 weeks for a routine MRI scan.’
    • ‘No forms to fill out, no instant check, no waiting period.’
    • ‘Blair led the way out of the office and into the larger waiting area.’
    • ‘It's about 30 years since the bypass was first proposed which has meant over a generation of waiting.’
    • ‘I was put into the custody of social services after hours of waiting.’
    • ‘Localized prostate cancer can be either treated with radiation, surgery or watchful waiting.’
    • ‘Secondly, 50 children changed from watchful waiting to surgery.’
    • ‘Waiting times range from 23 months in Queensland to 54 months in Tasmania.’
    • ‘If you download in the mornings, before the US wakes up, there's generally no waiting time.’
    • ‘Mary insists it was worth every waiting minute though and the band themselves were reportedly positive about their experience.’
    • ‘There were other monitors that switched views between empty hallways and vacant waiting areas.’
    • ‘There's no waiting period between creation and review, and there's no editorializing.’
    • ‘A waiting period after vasectomy is required to clear the reproductive tract of sperm.’
    • ‘But the Farrells say after two months of waiting for real action, they have had enough.’
    • ‘I have the patience of a bull ant and cannot stand this waiting business; it's driving me nuts.’
    • ‘The train which would serve me best was scheduled to arrive in half an hour, so I decided to continue my waiting until then.’
    • ‘You know there is a three day waiting period to purchase this game?’
    • ‘Then beginning the first stretch of waiting until the blue and red lights and white cars arrived.’
    • ‘Patients also prefer general practice management and welcome reduced waiting times and travelling costs.’
    • ‘The redevelopment will see the construction of a ticket office and waiting area together with public toilet and baby changing area.’
    eager, excited, agog, waiting with bated breath, breathless, waiting, anticipatory, hopeful
  • 2Official attendance at court.

Enthusiasts

Which of the following does acruciverbalist like?

Which of the following does acineaste like?

Which of the following does adeltiologist like?

Which of the following does aphilhellene like?

Which of the following does agricer like?

Which of the following does alogophile like?

Which of the following does ashutterbug like?

Which of the following does acoleopterist like?

Which of the following does anoenophile like?

Which of the following does aturfman like?

You scored/10 practise again?

0/10

Trending Words

Most popular in the world

  1. play material
  2. church worker
  3. transmigrator
  4. -ule
  5. rebolt
Are You Learning English? Here Are Our Top English Tips
Feedback
Tiny transparent pixel

[8]ページ先頭

©2009-2025 Movatter.jp