PageSourceSearch

https://pagesix.com/wp-content/plugins/nyp-aqfer/build/global-uid2/index.js?ver=c3bb02f33828a364cb5d

js pagesix.com collected 2026-10-01 08:32:15 UTC 3,347 bytes, 1 lines download raw bytes

1!function(){"use strict";function e(e,t,r,n,o,i,a){try{var c=e[i](a),d=c.value}catch(e){return void r(e)}c.done?t(d):Promise.resolve(d).then(n,o)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],d=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);d=!0);}catch(e){l=!0,o=e}finally{try{if(!d&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,r)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e,r)||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.")}()}var n,o=e=>{for(var t=document.cookie.split(";").map(e=>e.trim()),n=0;n<t.length;n+=1){var o=r(t[n].split("="),2),i=o[0],a=void 0===i?"":i,c=o[1];if(a===e)return void 0===c?"":c}return null},i=e=>{window.nypAqfer.featureFlags.nukadlib||o("uid2_identity")||(console.log("Aqfer: Fetching UID2 token for ".concat(e)),fetch("https://api.nypdev.com/ads/tradedesk/token",{body:JSON.stringify({email:e}),headers:{Authorization:"Basic QGxsZXk6dmZEVEJPM1Y3cnJ5","Content-Type":"application/json"},method:"POST"}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{var t=e.Message,r=(void 0===t?{}:t).Data,n=void 0===r?void 0:r;n&&((e,t)=>{var r=new Date;r.setTime(r.getTime()+31536e6);var n="expires=".concat(r.toUTCString());document.cookie="".concat("uid2_identity","=").concat(t,";").concat(n,";path=/")}
1)(0,JSON.stringify(n))}).catch(e=>console.error("Error fetching UID2 token",e)))};(n=function*(){var e=window.nypAqfer,t=(void 0===e?{}:e).featureFlags,r=(void 0===t?{}:t).uid2;if(void 0!==r&&r){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e){var t=e.detail,r=(void 0===t?{}:t).account,n=(void 0===r?{}:r).emailAddress,o=void 0===n?"":n;if(o)return void i(o)}var a=(()=>{try{var e,t=JSON.parse((null===(e=window.localStorage)||void 0===e?void 0:e.getItem("zephr"))||"{}")||{};return t&&"object"==typeof t?t:{}}catch(e){return{}}})().user,c=(void 0===a?{}:a).account,d=(void 0===c?{}:c).emailAddress,l=void 0===d?"":d;l&&i(l)};n(),window.addEventListener("nyp-membership:login",n),window.addEventListener("nyp-membership:account-loaded",n)}else console.log("Aqfer: UID2 is disabled")},function(){var t=this,r=arguments;return new Promise(function(o,i){var a=n.apply(t,r);function c(t){e(a,o,i,c,d,"next",t)}function d(t){e(a,o,i,c,d,"throw",t)}c(void 0)})})(),(()=>{var e="uid2_identity",t="cnx_uid2_id",r=o(e);if(r)window.localStorage.getItem(t)!==r&&window.localStorage.setItem(t,r);else if("cookieStore"in window){var n=window.cookieStore;if(!n)return;var i=r=>{for(var o of r.changed)if(o.name===e&&o.value){var a=o.value;window.localStorage.setItem(t,a),n.removeEventListener("change",i);break}};n.addEventListener("change",i)}})()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.