1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[96],{90096:function(e,t,n){n.r(t),n.d(t,{Iframe:function(){return f}});var i=n(5130),r=n(47691),s=n(63696);const o=e=>{let{iframeUrl:t,isDynamicHeight:n,messageName:i}=e;const r=(0,s.useRef)(null),{0:o,1:a}=(0,s.useState)(null);return(0,s.useEffect)((()=>{if(!n||!t)return;let e;try{const n=r.current;if(null!=n&&n.src){const t=new URL(n.src);"about:"!==t.protocol&&(e=t.origin)}if(!e){const n=function(e){let t=null;if("undefined"!=typeof document&&document.baseURI?t=document.baseURI:"undefined"!=typeof window&&(t=window.location.href),!t)return null;try{return new URL(e.trim(),t).origin}catch(n){return null}}(t);if(!n)return;e=n}}catch(o){return}const s=t=>{var n;if(t.source!==(null===(n=r.current)||void 0===n?void 0:n.contentWindow))return;if(t.origin!==e)return;const s=t.data;if(!s||"object"!=typeof s)return;if(s.type!==i)return;const o=s.height,c="number"==typeof o?o:Number(o);!Number.isFinite(c)||c<=0||a(Math.ceil(c))};return window.addEventListener("message",s),()=>{window.removeEventListener("message",s)}}),[n,t,i]),{iframeRef:r,dynamicHeightPx:o}};var a=n(91785),c=n(5826),u=n(650);const l=(e,t,n)=>(0,a.AH)("width:100%;border:none;height:",e||600,"px;",(0,c.HG)(u.f.md),"{height:",t||900,"px;}",(0,c.HG)(u.f.lg),"{height:",n||1200,"px;}",""),f=e=>{let{iframeUrl:t,iframeTitle:n,isDynamicHeight:s,mobileHeight:c,tabletHeight:u,desktopHeight:f,componentTypeClassName:m}=e;const{iframeRef:h,dynamicHeightPx:d}=o({iframeUrl:t,isDynamicHeight:s,messageName:"iframe-height-changed"});return t?(0,a.Y)(i.m,{className:(0,r.$)(m||null)},(0,a.Y)("iframe",{ref:h,className:"classImIframe",css:l(c,u,f),title:n,src:t,style:s&&null!=d?{height:d+"px"}:void 0})):null}}}]);
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.