PageSourceSearch

https://heatmap.news/static/dist/social-ux/4252.808db7cdc0f21c06d114.bundle.js

js heatmap.news collected 2026-09-24 08:46:09 UTC 7,311 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[4252],{4252:function(t,e,r){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,"string");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{handleMessage:function(){return T},renderInstagramEmbed:function(){return L},renderThreadsEmbed:function(){return R}});var c="instagram-media",s="instagram-media-registered",u="instagram-media-rendered",d="data-instgrm-payload-id",l="instagram-media-payload-",m="instagram-embed-",p=1e4,f="text-post-media",h="text-post-media-registered",b="data-text-app-payload-id",g="text-post-media-payload-",y="text-post-embed-",w=1e4,v=["threads.com","threads.net"],A="\n  background-color: white;\n  border-radius: 3px;\n  border: 1px solid #dbdbdb;\n  box-shadow: none;\n  display: block;\n  margin: 0;\n  min-width: 326px;\n  padding: 0;\n",O=0,N=0,k=!1,x={};function j(t,e){return t===e||t.endsWith(".".concat(e))}function E(t){t.completed||(t.completed=!0,clearTimeout(t.timeoutID),t.onComplete(t.frame))}function U(t){return t.replace(/^(.*?)\/?(\?.*|#.*|$)/,"$1/")}function I(t){try{var e=new URL(t,window.location.href),r=j(e.hostname,"instagram.com")||"instagr.am"===e.hostname,n=e.pathname.match(/^\/(p|reel|tv)\/[^/]+/);return r&&n?"https://www.instagram.com".concat(n[0],"/"):null}catch(t){return null}}function S(t,e,r,n,a,o){var c=i(i({},o),{},{frame:t,target:e,type:r,completed:!1,onComplete:a});return c.timeoutID=window.setTimeout((function(){E(c)}),n),x[t.id]=c,k||(window.addEventListener("message",T),k=!0),c}function L(t,e){var r=I(function(t){return t.hasAttribute("data-instgrm-permalink")?t.getAttribute("data-instgrm-permalink"):Array.from(t.getElementsByTagName("a")).reverse().map((function(t){return I(t.href)})).find((function(t){return t}))||null}(t));if(!r)return null;var n=O++,a="".concat(m).concat(n);t.id||(t.id="".concat(l).concat(n));var i=document.createElement("iframe");i.className=t.className,i.id=a,i.src=function(t,e,r){var n="".concat(U(e),"embed/");if(t.hasAttribute("data-instgrm-captioned")&&(n+="captioned/"),n+="?cr=1",t.hasAttribute("data-instgrm-version")){var a=parseInt(t.getAttribute("data-instgrm-version"),10);isNaN(a)||(n+="&v=".concat(a))}var i=function(t){var e=t.clientWidth,r=window.devicePixelRatio;return e&&r?parseInt(e*r,10):0}(t);i&&(n+="&wp=".concat(i)),n+="&rd=".concat(encodeURIComponent(window.location.origin));var o=window.location.pathname;if(o){var c="".concat(o).concat(window.location.search||"");n+="&rp=".concat(encodeURIComponent(c.substring(0,200)))}var s=e.match(/__d=(www|dis)/);return s&&(n+="&".concat(s[0])),"".concat(n.replace(/^http:\/\//,"https://"),"#").concat(encodeURIComponent(JSON.stringify({ci:r})))}(t,r,n),i.setAttribute("allowTransparency","true"),i.setAttribute("allowfullscreen","true");var o=t.style.position;return o&&i.setAttribute("data-instgrm-preserve-position",o),i.setAttribute("frameBorder","0"),i.setAttribute("height","0"),i.setAttribute(d,t.id),i.setAttribute("scrolling","no"),i.setAttribute("style","".concat(t.style.cssText,";").concat(A)),i.style.position="absolute",t.parentNode.insertBefore(i,t),t.classList.add(s),t.classList.remove(c),S(i,t,"instagram",p,e,{heights:{}}),i}function P(t){try{var e=new URL(t,window.location.href).hostname;
1return Array.from(new Set([].concat(v,[e])))}catch(t){}return v}function R(t,e){var r=function(t){try{var e=new URL(t,window.location.href),r=j(e.hostname,"threads.com")||j(e.hostname,"threads.net"),n=e.pathname.match(/^\/@[^/]+\/post\/[^/]+/);return r&&n?"https://".concat(e.hostname).concat(n[0],"/"):null}catch(t){return null}}(function(t){return t.getAttribute("data-text-post-permalink")}(t));if(!r)return null;var n=N++,a="".concat(y).concat(n),i=t.getAttribute("data-theme"),o="dark"===i||"auto"===i?"transparent":"#FFF";t.id||(t.id="".concat(g).concat(n));var c=document.createElement("iframe");return c.className=t.className,c.id=a,c.src=function(t,e){var r=U(e);r+="embed/";var n=t.getAttribute("data-theme");return"dark"!==n&&"auto"!==n||(r+="".concat(r.includes("?")?"&":"?","theme=").concat(encodeURIComponent(n))),r}(t,r),c.setAttribute("allowTransparency","true"),c.setAttribute("allowfullscreen","true"),c.setAttribute("frameBorder","0"),c.setAttribute("height","0"),c.setAttribute(b,t.id),c.setAttribute("scrolling","no"),c.setAttribute("style","".concat(t.style.cssText,";").concat(function(t){return"\nbackground: ".concat(t,";\nmin-width:270px;\npadding:0;\nwidth:99.375%;\nwidth:-webkit-calc(100% - 2px);\nwidth:calc(100% - 2px);\nborder:none;\nborder-radius:12px;\nheight:0;\n")}(o))),t.parentNode.insertBefore(c,t),t.classList.add(h),t.classList.remove(f),S(c,t,"threads",w,e,{allowedOrigins:P(r)}),c}function T(t){var e=function(t){return Object.values(x).find((function(e){return e.frame.contentWindow===t.source}))||null}(t);e&&("instagram"===e.type?function(t,e){if(function(t){try{var e=new URL(t).hostname;return j(e,"instagram.com")||"instagr.am"===e}catch(t){return!1}}(t.origin)){var r;try{r=JSON.parse(t.data)}catch(t){return}if(r&&"string"==typeof r.type&&"object"===n(r.details)){var a=e.frame,i=document.getElementById(a.getAttribute(d)),o=null;switch(r.type){case"MOUNTED":o=i?i.clientHeight:e.target.clientHeight,a.style.position=a.hasAttribute("data-instgrm-preserve-position")?a.getAttribute("data-instgrm-preserve-position"):"",function(t,e){Array.isArray(e)&&e.forEach((function(e){Array.isArray(e)&&e.length>=2&&(t.style[e[0]]=e[1])}))}(a,r.details.styles),a.classList.add(u),i&&i.parentNode&&i.parentNode.removeChild(i),E(e);break;case"MEASURE":e.heights[a.id]!==r.details.height&&(o=r.details.height);break;case"UNMOUNTING":delete e.heights[a.id];break;case"LOADING":break;default:return}null!=o&&(a.height=e.heights[a.id]=o)}}}(t,e):"threads"===e.type&&function(t,e){if(function(t,e){try{var r=new URL(t),n=r.hostname;return"https:"===r.protocol&&e.allowedOrigins.some((function(t){return j(n,t)}))}catch(t){return!1}}(t.origin,e)){var r=Number(t.data);if(!isNaN(r)){var n=e.frame,a=document.getElementById(n.getAttribute(b));a&&a.parentNode&&a.parentNode.removeChild(a),n.style.height="".concat(r,"px"),n.height=r,E(e)}}}(t,e))}}}]);
2//# sourceMappingURL=4252.808db7cdc0f21c06d114.bundle.js.map

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.