(()=>{"use strict";var e={117:(e,n)=>{Object.defineProperty(n,"i",{value:!0}),n.FEATURE_TOGGLE_LIST=void 0;n.FEATURE_TOGGLE_LIST={DERIVED_EPIK:{chance:100,uri:"pin-derived-epik"},SCRAPE_LISTENERS:{chance:100,uri:"pin-scrape-listeners"},SEND_LOGS:{chance:100,uri:"pin-log-errors"},CHECK_CSP:{chance:5,uri:"pin-check-csp"},DEDUPE_AEM_ELIGIBLE_ARRAY:{chance:100,uri:"pin-dedupe-aem-eligible-array"},CHECK_AUTO_UPGRADED:{chance:100,uri:"pin-check-auto-upgraded"},CHECK_DOCUMENT_COOKIE:{chance:0,uri:"pin-check-document-cookie"},SEND_TO_STAGING:{chance:0,uri:"pin-send-to-staging"},CHROME_TRIAL_EPIK_LOCALSTORAGE:{chance:100,uri:"pin-trial-epik-localstorage"},NO_CODE_CAPI_ENABLED:{chance:100,uri:"nocodecapi-enabled"},IAB_IOS_REFERRER_ENABLED:{chance:100,uri:"iab-ios-referrer-enabled"}}},541:(e,n,i)=>{Object.defineProperty(n,"i",{value:!0}),n.default=void 0;var t,r=(t=i(645))&&t.i?t:{default:t};var a=/https?:\/\/s\.pinimg\.com\/ct\/lib\/main\.[0-9a-f]{8}\.js/g,o={sendEventInfo:function(e){if(e&&e.blockedURI&&"https://s.pinimg.com/ct/lib/main.fa3e5430.js"===e.blockedURI){var n="Directive: "+e.effectiveDirective+" Disposition: "+e.disposition+" Blocked URI: "+e.blockedURI;if(e.originalPolicy){var i=o.t(e.originalPolicy);i&&i.length>0?(n+=" main file(s) allowed: "+i.join(" "),r.default.info("csp violation main file(s) allowed - "+e.disposition,n)):r.default.info("csp violation no main file allowed - "+e.disposition,n)}else r.default.info("csp violation original policy not available",n)}},t:function(e){return e?e.match(a):null}};n.default=o},645:(e,n,i)=>{Object.defineProperty(n,"i",{value:!0}),n.default=void 0;var t,r=(t=i(843))&&t.i?t:{default:t};var a={},o="unknown";function c(e){e.version=o,100*Math.random()<(r.default.LIST.SEND_LOGS.chance||0)&&a.o(e)}a.setVersion=function(e){o=e},a.o=function(e){var n=new window.XMLHttpRequest;n.withCredentials=!1,n.onerror=function(){console.info("Error message failed to send")},n.open("POST","https://ct.pinterest.com/stats/",!1),n.setRequestHeader("Content-Type","application/json"),n.send(JSON.stringify(e))},a.error=function(e,n){var i={messageType:"ERROR",message:e,log:"[".concat(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Empty","]")};n.hasOwnProperty("stack")?i.log+="[".concat(n.stack,"]"):i.log+="[".concat(n.message,"]"),c(i)},a.info=function(e,n){c({messageType:"INFO",message:e,log:"[".concat(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Empty","][").concat(n,"]")})};n.default=a},843:(e,n,i)=>{Object.defineProperty(n,"i",{value:!0}),n.default=void 0;var t=i(117);function r(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var t,r,a,o,c=[],u=!0,l=!1;try{if(a=(i=i.call(e)).next,0===n){if(Object(i)!==i)return;u=!1}else for(;!(u=(t=a.call(i)).done)&&(c.push(t.value),c.length!==n);u=!0);}catch(e){l=!0,r=e}finally{try{if(!u&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return a(e,n);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,n):void 0}}(e,n)||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 a(e,n){(null==n||n>e.length)&&(n=e.length);for(var i=0,t=Array(n);i