s.pinimg.com
Open in
urlscan Pro
2a02:26f0:6c00:18d::1931
Public Scan
URL:
https://s.pinimg.com/ct/core.js
Submission: On May 18 via api from US — Scanned from DE
Submission: On May 18 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
!function(e){var r={};function o(n){var t;return(r[n]||(t=r[n]={i:n,l:!1,exports:{}},e[n].call(t.exports,t,t.exports,o),t.l=!0,t)).exports}o.m=e,o.c=r,o.d=function(n,t,e){o.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},o.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"u",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.u)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));return e},o.n=function(n){var t=n&&n.u?function(){return n.default}:function(){return n};return o.d(t,"a",t),t},o.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},o.p="",o(o.s=1)}([function(n,t){function e(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(n);!(a=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(n){u=!0,o=n}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(n,t)||function(n,t){var e;if(n)return"string"==typeof n?r(n,t):"Map"===(e="Object"===(e=Object.prototype.toString.call(n).slice(8,-1))&&n.constructor?n.constructor.name:e)||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(n,t):void 0}(n,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 r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}var o={};o.LIST={FP_LOCAL_STORAGE:{chance:100,uri:"fp_localStorage"},DERIVED_EPIK:{chance:100,uri:"pin-derived-epik"},SCRAPE_LISTENERS:{chance:100,uri:"pin-scrape-listeners"},FETCH_API_V3:{chance:0,uri:"pin-fetch-api-v3"},SEND_LOGS:{chance:55,uri:"pin-log-errors"}};for(var i=0,a=Object.entries(o.LIST);i<a.length;i++){var u=e(a[i],2),c=u[0],u=u[1];"true"===new URLSearchParams(window.location.search).get(u.uri)&&(o.LIST[c].chance=100)}o.isInRampPercentage=function(n){return 100*Math.random()<(n||0)},n.exports=o},function(n,t,e){var r,o,i;r=document,o=e(0),i=e(2),(e=r.createElement("script")).async=!0,window.pintrk.mh="c5ed5b4a",i.setVersion("c5ed5b4a"),o.isInRampPercentage(o.LIST.SEND_LOGS.chance)&&(e.onerror=function(){i.error("c5ed5b4a",new Error("failed to load main.js"))}),e.src="https://s.pinimg.com/ct/lib/main.c5ed5b4a.js",(o=r.getElementsByTagName("script")[0]).parentNode.insertBefore(e,o)},function(n,t,e){var r=e(0),o={},i="unknown";o.setVersion=function(n){i=n},o.v=function(n){var t=new window.XMLHttpRequest;t.withCredentials=!1,t.onerror=function(){console.error("Error message failed to send")},t.open("POST","https://ct.pinterest.com/stats/",!1),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(n))},o.error=function(n,t){var e={messageType:"ERROR",message:n,log:"[".concat(2<arguments.length&&void 0!==arguments[2]?arguments[2]:"Empty","]")};t.hasOwnProperty("stack")?e.log+="[".concat(t.stack,"]"):e.log+="[".concat(t.message,"]"),e.version=i,100*Math.random()<(r.LIST.SEND_LOGS.chance||0)&&o.v(e)},n.exports=o}]);