PageSourceSearch

https://techcrunch.com/wp-content/themes/tc-24/dist/js/8741.77d75d8bbb25a07754d3.chunk.js

js techcrunch.com collected 2026-09-24 05:18:38 UTC 28,417 bytes, 1 lines download raw bytes

1(self.webpackChunktc_24=self.webpackChunktc_24||[]).push([[8741],{8741:function(e,n,t){const i=t(7231);e.exports={iframeResize:i,iframeResizer:i,contentWindow:t(4656)}},4656:function(e){!function(n){if("undefined"!==typeof window){var t=!0,i=10,o="",r=0,a="",c=null,u="",s=!1,d={resize:1,click:1},l=128,f=!0,m=1,g="bodyOffset",h=g,p=!0,w="",y={},v=32,b=null,T=!1,E=!1,M="[iFrameSizer]",I=M.length,O="",z={max:1,min:1,bodyScroll:1,documentElementScroll:1},k="child",S=!0,x=window.parent,N="*",R=0,F=!1,C=null,A=16,W=1,L="scroll",P=L,j=window,H=function(){ee("onMessage function not defined")},q=function(){},B=function(){},D={height:function(){return ee("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ee("Custom width calculation function not defined"),document.body.scrollWidth}},V={},U=!1;try{var J=Object.create({},{passive:{get:function(){U=!0}}});window.addEventListener("test",K,J),window.removeEventListener("test",K,J)}catch(e){}var X={bodyOffset:function(){return document.body.offsetHeight+le("marginTop")+le("marginBottom")},offset:function(){return X.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return D.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,me(X))},min:function(){return Math.min.apply(null,me(X))},grow:function(){return X.max()},lowestElement:function(){return Math.max(X.bodyOffset()||X.documentElementOffset(),fe("bottom",he()))},taggedElement:function(){return ge("bottom","data-iframe-height")}},Y={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return D.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(Y.bodyScroll(),Y.documentElementScroll())},max:function(){return Math.max.apply(null,me(Y))},min:function(){return Math.min.apply(null,me(Y))},rightMostElement:function(){return fe("right",he())},taggedElement:function(){return ge("right","data-iframe-width")}},Q=function(e){var n,t,i,o=null,r=0,a=function(){r=Date.now(),o=null,i=e.apply(n,t),o||(n=t=null)};return function(){var c=Date.now();r||(r=c);var u=A-(c-r);return n=this,t=arguments,u<=0||u>A?(o&&(clearTimeout(o),o=null),r=c,i=e.apply(n,t),o||(n=t=null)):o||(o=setTimeout(a,u)),i}}(pe);"iframeResizer"in window||(window.iframeChildListener=function(e){Ee({data:e,sameDomian:!0})},_(window,"message",Ee),_(window,"readystatechange",Me),Me())}function K(){}function _(e,n,t,i){e.addEventListener(n,t,!!U&&(i||{}))}function G(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Z(e){return M+"["+O+"] "+e}function $(e){T&&"object"===typeof window.console&&console.log(Z(e))}function ee(e){"object"===typeof window.console&&console.warn(Z(e))}function ne(){!function(){function e(e){return"true"===e}var i=w.slice(I).split(":");O=i[0],r=n===i[1]?r:Number(i[1]),s=n===i[2]?s:e(i[2]),T=n===i[3]?T:e(i[3]),v=n===i[4]?v:Number(i[4]),t=n===i[6]?t:e(i[6]),a=i[7],h=n===i[8]?h:i[8],o=i[9],u=i[10],R=n===i[11]?R:Number(i[11]),y.enable=n!==i[12]&&e(i[12]),k=n===i[13]?k:i[13],P=n===i[14]?P:i[14],E=n===i[15]?E:e(i[15])}(),$("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;$("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(te,e),H="onMessage"in e?e.onMessage:H,q="onReady"in e?e.onReady:q,N="targetOrigin"in e?e.targetOrigin:N,h="heightCalculationMethod"in e?e.heightCalculationMethod:h,P="widthCalculationMethod"in e?e.widthCalculationMethod:P}function n(e,n){return"function"===typeof e&&($("Setup custom "+n+"CalcMethod"),D[n]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),h=n(h,"height"),P=n(P,"width"));$("TargetOrigin for parent set to: "+N)}(),function(){n===a&&(a=r+"px");ie("margin",function(e,n){-1!==n.indexOf("-")&&(ee("Negative CSS value ignored for "+e),n="");return n}("margin",a))}(),ie("background",o),ie("padding",u),function(){var e=document.createElement("div");e.style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e)}(),ce(),ue(),document.documentElement.style.height="",document.body.style.height="",$('HTML & body height set to "auto"'),$("Enable public methods"),j.parentIFrame={autoResize:function(e){return!0===e&&!1===t?(t=!0,se()):!1===e&&!0===t&&(t=!1,re("remove"),null!==c&&c.disconnect(),clearInterval(b)),Te(0,0,"autoResize",JSON.stringify(t)),t},close:function(){Te(0,0,"close")},getId:function(){return O},getPageInfo:function(e){"function"===typeof e?(B=e,Te(0,0,"pageInfo")):(B=function(){},Te(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){be("parentIFrame.reset")},scrollTo:function(e,n){Te(n,e,"scrollTo")},scrollToOffset:function(e,n){Te(n,e,"scrollToOffset")},sendMessage:function(e,n){Te(0,0,"message",JSON.stringify(e),n)},setHeightCalculationMethod:function(e){h=e,ce()},setWidthCalculationMethod:function(e){P=e,ue()},setTargetOrigin:function(e){$("Set targetOrigin: "+e),N=e},size:function(e,n){we("size","parentIFrame.size("+(e||"")+(n?","+n:"")+")",e,n)}},function(){if(!0!==E)return;function e(e){Te(0,0,e.type,e.screenY+":"+e.screenX)}function n(n,t){$("Add event listener: "+t),_(window.document,n,e)}n("mouseenter","Mouse Enter"),n("mouseleave","Mouse Leave")}(),se(),y=function(){function e(){return{x:window.pageXOffset===n?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===n?document.documentElement.scrollTop:window.pageYOffset}}function t(n){var t=n.getBoundingClientRect(),i=e();return{x:parseInt(t.left,10)+parseInt(i.x,10),y:parseInt(t.top,10)+parseInt(i.y,10)}}function i(e){function i(e){var n=t(e);$("Moving to in page link (#"+o+") at x: "+n.x+" y: "+n.y),Te(n.y,n.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];n===a?($("In page link (#"+o+") not found in iFrame, so sending to parent"),Te(0,0,"inPageLink","#"+o)):i(a)}function o(){var e=window.location.hash,n=window.location.href;""!==e&&"#"!==e&&i(n)}function r(){function e(e){function n(e){e.preventDefault(),i(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&_(e,"click",n)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){_(window,"hashchange",o)}function c(){setTimeout(o,l)}function u(){Array.prototype.forEach&&document.querySelectorAll?($("Setting up location.hash handlers"),r(),a(),c()):ee("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}y.enable?u():$("In page linking not enabled");return{findTarget:i}}(),we("init","Init message from host page"),q()}function te(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],ee("Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}function ie(e,t){n!==t&&""!==t&&"null"!==t&&(document.body.style[e]=t,$("Body "+e+' set to "'+t+'"'))}function oe(e){var n={add:function(n){function t(){we(e.eventName,e.eventType)}V[n]=t,_(window,n,t,{passive:!0})},remove:function(e){var n,t,i,o=V[e];delete V[e],n=window,t=e,i=o,n.removeEventListener(t,i,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(n[e.method])):n[e.method](e.eventName),$(G(e.method)+" event listener: "+e.eventType)}function re(e){oe({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),oe({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),oe({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),oe({method:e,eventType:"Input",eventName:"input"}),oe({method:e,eventType:"Mouse Up",eventName:"mouseup"}),oe({method:e,eventType:"Mouse Down",eventName:"mousedown"}),oe({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),oe({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),oe({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),oe({method:e,eventType:"Touch Start",eventName:"touchstart"}),oe({method:e,eventType:"Touch End",eventName:"touchend"}),oe({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),oe({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),oe({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),oe({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
1),"child"===k&&oe({method:e,eventType:"IFrame Resized",eventName:"resize"})}function ae(e,n,t,i){return n!==e&&(e in t||(ee(e+" is not a valid option for "+i+"CalculationMethod."),e=n),$(i+' calculation method set to "'+e+'"')),e}function ce(){h=ae(h,g,X,"height")}function ue(){P=ae(P,L,Y,"width")}function se(){!0===t?(re("add"),function(){var e=0>v;window.MutationObserver||window.WebKitMutationObserver?e?de():c=function(){function e(e){function n(e){!1===e.complete&&($("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",r,!1),u.push(e))}"attributes"===e.type&&"src"===e.attributeName?n(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),n)}function n(e){u.splice(u.indexOf(e),1)}function t(e){$("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",r,!1),n(e)}function i(e,n,i){t(e.target),we(n,i+": "+e.target.src)}function o(e){i(e,"imageLoad","Image loaded")}function r(e){i(e,"imageLoadFailed","Image load failed")}function a(n){we("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEach(e)}function c(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return d=new s(a),$("Create body MutationObserver"),d.observe(e,n),d}var u=[],s=window.MutationObserver||window.WebKitMutationObserver,d=c();return{disconnect:function(){"disconnect"in d&&($("Disconnect body MutationObserver"),d.disconnect(),u.forEach(t))}}}():($("MutationObserver not supported in this browser!"),de())}()):$("Auto Resize disabled")}function de(){0!==v&&($("setInterval: "+v+"ms"),b=setInterval((function(){we("interval","setInterval: "+v)}),Math.abs(v)))}function le(e,n){var t=0;return n=n||document.body,t=null===(t=document.defaultView.getComputedStyle(n,null))?0:t[e],parseInt(t,i)}function fe(e,n){for(var t=n.length,i=0,o=0,r=G(e),a=Date.now(),c=0;c<t;c++)(i=n[c].getBoundingClientRect()[e]+le("margin"+r,n[c]))>o&&(o=i);return a=Date.now()-a,$("Parsed "+t+" HTML elements"),$("Element position calculated in "+a+"ms"),function(e){e>A/2&&$("Event throttle increased to "+(A=2*e)+"ms")}(a),o}function me(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ge(e,n){var t=document.querySelectorAll("["+n+"]");return 0===t.length&&(ee("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")),fe(e,t)}function he(){return document.querySelectorAll("body *")}function pe(e,t,i,o){var r,a;!function(){function e(e,n){return!(Math.abs(e-n)<=R)}return r=n===i?X[h]():i,a=n===o?Y[P]():o,e(m,r)||s&&e(W,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(h in z||s&&P in z)?be(t):e in{interval:1}||$("No change in size detected"):(ye(),Te(m=r,W=a,e))}function we(e,n,t,i){F&&e in d?$("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||$("Trigger event: "+n),"init"===e?pe(e,n,t,i):Q(e,n,t,i))}function ye(){F||(F=!0,$("Trigger event lock on")),clearTimeout(C),C=setTimeout((function(){F=!1,$("Trigger event lock off"),$("--")}),l)}function ve(e){m=X[h](),W=Y[P](),Te(m,W,e)}function be(e){var n=h;h=g,$("Reset trigger event: "+e),ye(),ve("reset"),h=n}function Te(e,t,i,o,r){!0===S&&(n===r?r=N:$("Message targetOrigin: "+r),function(){var a=O+":"+e+":"+t+":"+i+(n===o?"":":"+o);$("Sending message to host page ("+a+")"),x.postMessage(M+a,r)}())}function Ee(t){var i={init:function(){w=t.data,x=t.source,ne(),f=!1,setTimeout((function(){p=!1}),l)},reset:function(){p?$("Page reset ignored by init"):($("Page size reset by host page"),ve("resetPage"))},resize:function(){we("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=r();$("PageInfoFromParent called from parent: "+e),B(JSON.parse(e)),$(" --")},message:function(){var e=r();$("onMessage called from parent: "+e),H(JSON.parse(e)),$(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function r(){return t.data.slice(t.data.indexOf(":")+1)}function a(){return t.data.split(":")[2]in{true:1,false:1}}function c(){var r=o();r in i?i[r]():!e.exports&&"iFrameResize"in window||window.jQuery!==n&&"iFrameResize"in window.jQuery.prototype||a()||ee("Unexpected message ("+t.data+")")}M===(""+t.data).slice(0,I)&&(!1===f?c():a()?i.init():$('Ignored message of type "'+o()+'". Received before initialization.'))}function Me(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7231:function(e,n){var t,i,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(r){if("undefined"!==typeof window){var a,c,u=0,s=!1,d=!1,l=7,f="[iFrameSizer]",m=f.length,g=null,h=window.requestAnimationFrame,p=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),w={}
1,y=null,v=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){S("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),b={};window.jQuery!==r&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each((function(n,t){D(t,e)})).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")),i=[],(o="function"===typeof(t=Y)?t.apply(n,i):t)===r||(e.exports=o),window.iFrameResize=window.iFrameResize||Y()}function T(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function E(e,n,t){e.addEventListener(n,t,!1)}function M(e,n,t){e.removeEventListener(n,t,!1)}function I(e){return f+"["+function(e){var n="Host page: "+e;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),n}(e)+"]"}function O(e){return w[e]?w[e].log:s}function z(e,n){x("log",e,n,O(e))}function k(e,n){x("info",e,n,O(e))}function S(e,n){x("warn",e,n,!0)}function x(e,n,t,i){!0===i&&"object"===typeof window.console&&console[e](I(n),t)}function N(e){function n(){o("Height"),o("Width"),H((function(){j(y),W(v),h("onResized",y)}),y,"init")}function t(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function i(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function o(e){var n=Number(w[v]["max"+e]),t=Number(w[v]["min"+e]),i=e.toLowerCase(),o=Number(y[i]);z(v,"Checking "+i+" is in range "+t+"-"+n),o<t&&(o=t,z(v,"Set "+i+" to min value")),o>n&&(o=n,z(v,"Set "+i+" to max value")),y[i]=""+o}function r(e){return p.slice(p.indexOf(":")+l+e)}function a(e,n){var t,i,o;t=function(){q("Send Page Info","pageInfo:"+function(){var e=document.body.getBoundingClientRect(),n=y.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-e.top,10),offsetLeft:parseInt(n.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}(),e,n)},i=32,b[o=n]||(b[o]=setTimeout((function(){b[o]=null,t()}),i))}function c(e){var n=e.getBoundingClientRect();return A(v),{x:Math.floor(Number(n.left)+Number(g.x)),y:Math.floor(Number(n.top)+Number(g.y))}}function u(e){var n=e?c(y.iframe):{x:0,y:0},t={x:Number(y.width)+n.x,y:Number(y.height)+n.y};z(v,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top===window.self?(g=t,s(),z(v,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):S(v,"Unable to scroll to requested position, window.parentIFrame not found")}function s(){!1===h("onScroll",g)?L():W(v)}function d(e){var n={};if(0===Number(y.width)&&0===Number(y.height)){var t=r(9).split(":");n={x:t[1],y:t[0]}}else n={x:y.width,y:y.height};h(e,{iframe:y.iframe,screenX:Number(n.x),screenY:Number(n.y),type:y.type})}function h(e,n){return R(v,e,n)}var p=e.data,y={},v=null;"[iFrameResizerChild]Ready"===p?function(){for(var e in w)q("iFrame requested init",B(e),w[e].iframe,e)}():f===(""+p).slice(0,m)&&p.slice(m).split(":")[0]in w?(y=function(){var e=p.slice(m).split(":"),n=e[1]?parseInt(e[1],10):0,o=w[e[0]]&&w[e[0]].iframe,r=getComputedStyle(o);return{iframe:o,id:e[0],height:n+t(r)+i(r),width:e[2],type:e[3]}}(),v=y.id,w[v]&&(w[v].loaded=!0),!function(){var e=y.type in{true:1,false:1,undefined:1};return e&&z(v,"Ignoring init message from meta parent page"),e}()&&function(e){var n=!0;return w[e]||(n=!1,S(y.type+" No settings for "+e+". Message was: "+p)),n}(v)&&(z(v,"Received: "+p),function(){var e=!0;return null===y.iframe&&(S(v,"IFrame ("+y.id+") not found"),e=!1),e}()&&function(){var n=e.origin,t=w[v]&&w[v].checkOrigin;if(t&&""+n!=="null"&&!(t.constructor===Array?function(){var e=0,i=!1;for(z(v,"Checking connection is from allowed list of origins: "+t);e<t.length;e++)if(t[e]===n){i=!0;break}return i}():function(){var e=w[v]&&w[v].remoteHost;return z(v,"Checking connection is from: "+e),n===e}()))throw new Error("Unexpected message received from: "+n+" for "+y.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(w[v]&&w[v].firstRun&&w[v]&&(w[v].firstRun=!1),y.type){case"close"
1:C(y.iframe);break;case"message":e=r(6),z(v,"onMessage passed: {iframe: "+y.iframe.id+", message: "+e+"}"),h("onMessage",{iframe:y.iframe,message:JSON.parse(e)}),z(v,"--");break;case"mouseenter":d("onMouseEnter");break;case"mouseleave":d("onMouseLeave");break;case"autoResize":w[v].autoResize=JSON.parse(r(9));break;case"scrollTo":u(!1);break;case"scrollToOffset":u(!0);break;case"pageInfo":a(w[v]&&w[v].iframe,v),function(){function e(e,i){function o(){w[t]?a(w[t].iframe,t):n()}["scroll","resize"].forEach((function(n){z(t,e+n+" listener for sendPageInfo"),i(window,n,o)}))}function n(){e("Remove ",M)}var t=v;e("Add ",E),w[t]&&(w[t].stopPageInfo=n)}();break;case"pageInfoStop":w[v]&&w[v].stopPageInfo&&(w[v].stopPageInfo(),delete w[v].stopPageInfo);break;case"inPageLink":!function(e){var n=e.split("#")[1]||"",t=decodeURIComponent(n),i=document.getElementById(t)||document.getElementsByName(t)[0];i?function(){var e=c(i);z(v,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y),g={x:e.x,y:e.y},s(),z(v,"--")}():window.top===window.self?z(v,"In page link #"+n+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(n):z(v,"In page link #"+n+" not found and window.parentIFrame not found")}(r(9));break;case"reset":P(y);break;case"init":n(),h("onInit",y.iframe);break;default:0===Number(y.width)&&0===Number(y.height)?S("Unsupported message received ("+y.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):n()}var e}())):k(v,"Ignored: "+p)}function R(e,n,t){var i=null,o=null;if(w[e]){if("function"!==typeof(i=w[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=i(t)}return o}function F(e){var n=e.id;delete w[n]}function C(e){var n=e.id;if(!1!==R(n,"onClose",n)){z(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){S(e)}R(n,"onClosed",n),z(n,"--"),F(e),a&&(a.disconnect(),a=null)}else z(n,"Close iframe cancelled by onClose event")}function A(e){null===g&&z(e,"Get page position: "+(g={x:window.pageXOffset===r?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===r?document.documentElement.scrollTop:window.pageYOffset}).x+","+g.y)}function W(e){null!==g&&(window.scrollTo(g.x,g.y),z(e,"Set page position: "+g.x+","+g.y),L())}function L(){g=null}function P(e){z(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),A(e.id),H((function(){j(e),q("reset","reset",e.iframe,e.id)}),e,"reset")}function j(e){function n(n){d||"0"!==e[n]||(d=!0,z(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function n(n){return"0px"===(w[e]&&w[e].iframe.style[n])}function t(e){return null!==e.offsetParent}w[e]&&t(w[e].iframe)&&(n("height")||n("width"))&&q("Visibility change","resize",w[e].iframe,e)}
1Object.keys(w).forEach((function(n){e(n)}))}function n(n){z("window","Mutation observed: "+n[0].target+" "+n[0].type),V(e,16)}function t(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new i(n).observe(e,t)}var i=T();i&&t()}())}function t(t){!function(n){e.id?(e.iframe.style[n]=e[n]+"px",z(e.id,"IFrame ("+i+") "+n+" set to "+e[n]+"px")):z("undefined","messageData id not set")}(t),n(t)}var i=e.iframe.id;w[i]&&(w[i].sizeHeight&&t("height"),w[i].sizeWidth&&t("width"))}function H(e,n,t){t!==n.type&&h&&!window.jasmine?(z(n.id,"Requesting animation frame"),h(e)):e()}function q(e,n,t,i,o){var r=!1;i=i||t.id,w[i]&&(t&&"contentWindow"in t&&null!==t.contentWindow?function(){var o=w[i]&&w[i].targetOrigin;z(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+o),t.contentWindow.postMessage(f+n,o)}():S(i,"["+e+"] IFrame("+i+") not found"),o&&w[i]&&w[i].warningTimeout&&(w[i].msgTimeout=setTimeout((function(){!w[i]||w[i].loaded||r||(r=!0,S(i,"IFrame has not responded within "+w[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),w[i].warningTimeout)))}function B(e){return e+":"+w[e].bodyMarginV1+":"+w[e].sizeWidth+":"+w[e].log+":"+w[e].interval+":"+w[e].enablePublicMethods+":"+w[e].autoResize+":"+w[e].bodyMargin+":"+w[e].heightCalculationMethod+":"+w[e].bodyBackground+":"+w[e].bodyPadding+":"+w[e].tolerance+":"+w[e].inPageLinks+":"+w[e].resizeFrom+":"+w[e].widthCalculationMethod+":"+w[e].mouseEvents}function D(e,n){function t(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],S(i,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var i=function(t){if("string"!==typeof t)throw new TypeError("Invaild id for iFrame. Expected String");return""===t&&(e.id=t=function(){var e=n&&n.id||v.id+u++;return null!==document.getElementById(e)&&(e+=u++),e}(),s=(n||{}).log,z(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);i in w&&"iFrameResizer"in e?S(i,"Ignored iFrame, already setup."):(!function(n){var o;n=n||{},w[i]=Object.create(null),w[i].iframe=e,w[i].firstRun=!0,w[i].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!==typeof e)throw new TypeError("Options is not an object")}(n),Object.keys(n).forEach(t,n),function(e){for(var n in v)Object.prototype.hasOwnProperty.call(v,n)&&(w[i][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:v[n])}(n),w[i]&&(w[i].targetOrigin=!0===w[i].checkOrigin?""===(o=w[i].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*")}(n),function(){switch(z(i,"IFrame scrolling "+(w[i]&&w[i].scrolling?"enabled":"disabled")+" for "+i),e.style.overflow=!1===(w[i]&&w[i].scrolling)?"hidden":"auto",w[i]&&w[i].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=w[i]?w[i].scrolling:"no"}}(),function(){function n(n){var t=w[i][n];1/0!==t&&0!==t&&(e.style[n]="number"===typeof t?t+"px":t,z(i,"Set "+n+" = "+e.style[n]))}function t(e){if(w[i]["min"+e]>w[i]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}t("Height"),t("Width"),n("maxHeight"),n("minHeight"),n("maxWidth"),n("minWidth")}(),"number"!==typeof(w[i]&&w[i].bodyMargin)&&"0"!==(w[i]&&w[i].bodyMargin)||(w[i].bodyMarginV1=w[i].bodyMargin,w[i].bodyMargin=w[i].bodyMargin+"px"),function(n){var t=T();t&&(a=function(n){if(!e.parentNode)return null;var t=new n((function(n){n.forEach((function(n){Array.prototype.slice.call(n.removedNodes).forEach((function(n){n===e&&C(e)}))}))}));return t.observe(e.parentNode,{childList:!0}),t}(t)),E(e,"load",(function(){q("iFrame.onload",n,e,r,!0),function(){var n=w[i]&&w[i].firstRun,t=w[i]&&w[i].heightCalculationMethod in p;!n&&t&&P({iframe:e,height:0,width:0,type:"init"})}()})),q("init",n,e,r,!0)}(B(i)),w[i]&&(w[i].iframe.iFrameResizer={close:C.bind(null,w[i].iframe),removeListeners:F.bind(null,w[i].iframe),resize:q.bind(null,"Window resize","resize",w[i].iframe),moveToAnchor:function(e){q("Move to anchor","moveToAnchor:"+e,w[i].iframe,i)},sendMessage:function(e){q("Send Message","message:"+(e=JSON.stringify(e)),w[i].iframe,i)}}))}
1function V(e,n){null===y&&(y=setTimeout((function(){y=null,e()}),n))}function U(){"hidden"!==document.visibilityState&&(z("document","Trigger event: Visibility change"),V((function(){J("Tab Visible","resize")}),16))}function J(e,n){Object.keys(w).forEach((function(t){(function(e){return w[e]&&"parent"===w[e].resizeFrom&&w[e].autoResize&&!w[e].firstRun})(t)&&q(e,n,w[t].iframe,t)}))}function X(){E(window,"message",N),E(window,"resize",(function(){var e;z("window","Trigger event: "+(e="resize")),V((function(){J("Window "+e,"resize")}),16)})),E(document,"visibilitychange",U),E(document,"-webkit-visibilitychange",U)}function Y(){function e(e,t){t&&(!function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),D(t,e),n.push(t))}var n;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!h;e+=1)h=window[n[e]+"RequestAnimationFrame"];h?h=h.bind(window):z("setup","RequestAnimationFrame not supported")}(),X(),function(t,i){switch(n=[],function(e){e&&e.enablePublicMethods&&S("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(t),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(r,t));break;case"object":e(t,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return n}}}()}}]);

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.