PageSourceSearch

https://www.rannikkoseutu.fi/_next/static/chunks/9241-9ce674fd2a5b0199.js

js rannikkoseutu.fi collected 2026-10-02 12:52:33 UTC 29,394 bytes, 27 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9241],{79241:(e,t,n)=>{var o,r;void 0===(r="function"==typeof(o=function(){"use strict";var e;let t,n,o="font-weight: normal;",r="font-weight: bold;",a="font-style: italic;",i=o+a,l="default",s=Object.freeze({assert:!0,error:!0,warn:!0}),c={expand:!1,defaultEvent:void 0,event:void 0,label:"AutoConsoleGroup",showTime:!0},d={profile:0,profileEnd:0,timeStamp:0,trace:0},u=Object.assign(console),{fromEntries:m,keys:f}=Object,p=e=>[e,u[e]],h=(e,t)=>m(f(e).map(t)),y=!(typeof window>"u"||"function"!=typeof window.matchMedia)&&window.matchMedia("(prefers-color-scheme: dark)").matches,g=y?"color: #A9C7FB;":"color: #135CD2;",b=y?"color: #E3E3E3;":"color: #1F1F1F;",v="5.5.9",z="iframeResizer",w="init",$="message",S="pageHide",O="pageInfo",E="parentInfo",x="scrollToOffset",M="data-iframe-size",k="data-iframe-overflowed",j="data-iframe-ignore",T="height",C="width",N="offset",I="offsetSize",A="string",P="number",R="function",B="auto",q="readystatechange",L="bottom",D="right",F="autoResizeEnabled",W=Symbol("sizeChanged"),H="manualResize",V="parentResize",U={[H]:1,[V]:1},_="setOffsetSize",Z="resizeObserver",J="overflowObserver",Q="mutationObserver",G="visibilityObserver",Y="[iFrameSizer]",X=new Set(["head","body","meta","base","title","script","link","style","map","area","option","optgroup","template","track","wbr","nobr"]),K=e=>{if(!e)return"";let t=-0x21524118,n=0x41c6ce50;for(let o,r=0;r<e.length;r++)t=Math.imul(t^(o=e.codePointAt(r)),0x85ebca77),n=Math.imul(n^o,0xc2b2ae3d);return t^=Math.imul(t^n>>>15,0x735a2d97),n^=Math.imul(n^t>>>15,0xcaf649a9),t^=n>>>16,(2097152*((n^=t>>>16)>>>0)+(t>>>11)).toString(36)},ee=e=>e.replace(/[A-Za-z]/g,e=>String.fromCodePoint((e<="Z"?90:122)>=(e=e.codePointAt(0)+19)?e:e-26)),et=["<yi>Puchspk Spjluzl Rlf</><iy><iy>","<yi>Tpzzpun Spjluzl Rlf</><iy><iy>","Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.<iy><iy><i>Jvttlyjphs Spjluzl</><iy>Mvy jvttlyjphs bzl, <p>pmyhtl-ylzpgly</> ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.<iy><iy><i>Vwlu Zvbyjl Spjluzl</><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-jvttlyjphs vwlu zvbyjl wyvqlja aolu fvb jhu bzl pa mvy myll bukly aol alytz vm aol NWS C3 Spjluzl. Av jvumpyt fvb hjjlwa aolzl alytz, wslhzl zla aol <i>spjluzl</> rlf pu <p>pmyhtl-ylzpgly</> vwapvuz av <i>NWSc3</>.<iy><iy>Mvy tvyl pumvythapvu wslhzl zll: <b>oaawz://pmyhtl-ylzpgly.jvt/nws</>","<i>NWSc3 Spjluzl Clyzpvu</><iy><iy>Aopz clyzpvu vm <p>pmyhtl-ylzpgly</> pz ilpun bzlk bukly aol alytz vm aol <i>NWS C3</> spjluzl. Aopz spjluzl hssvdz fvb av bzl <p>pmyhtl-ylzpgly</> pu Vwlu Zvbyjl wyvqljaz, iba pa ylxbpylz fvby wyvqlja av il wbispj, wyvcpkl haaypibapvu huk il spjluzlk bukly clyzpvu 3 vy shaly vm aol NUB Nlulyhs Wbispj Spjluzl.<iy><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-vwlu zvbyjl wyvqlja vy dlizpal, fvb dpss ullk av wbyjohzl h svd jvza vul aptl jvttlyjphs spjluzl.<iy><iy>Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.","<iy><yi>Zvsv spjluzl kvlz uva zbwwvya jyvzz-kvthpu</><iy><iy>Av bzl <p>pmyhtl-ylzpgly</> dpao jyvzz kvthpu pmyhtlz fvb ullk lpaoly aol Wyvmlzzpvuhs vy Ibzpulzz spjluzlz. Mvy klahpsz vu bwnyhkl wypjpun wslhzl jvuahja [email protected].","Pu whnl spurpun ylxbpylz h Wyvmlzzpvuhs vy Ibzpulzz spjluzl. Wslhzl zll <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</> mvy tvyl klahpsz."],en=["NWSc3","zvsv","wyv","ibzpulzz","vlt"],eo=Object.fromEntries(["2cgs7fdf4xb","1c9ctcccr4z","1q2pc4eebgb","ueokt0969w","w2zxchhgqz","1umuxblj2e5","2b5sdlfhbev","zo4ui3arjo","oclbb4thgl"].map((e,t)=>[e,Math.max(0,t-1)])),er=e=>ee(et[e]),ea=e=>{let t=e[ee("spjluzl")]||e[ee("rlf")]||e[ee("clyzpvu")];if(!t)return -1;let n=t.split("-"),o=function(e=""){let t=-2,n=K(ee(e));return n in eo&&(t=eo[n]),t>4?t-4:t}(n[0]);return 0===o||n[2]===K(n[0]+n[1])||(o=-2),o},ei=(e,...t)=>setTimeout(()=>e(...t),0),el=e=>{let t=!1;return function(){return t?void 0:(t=!0,Reflect.apply(e,this,arguments))}},es=e=>e,ec=e=>Math.round(1e3*e)/1e3,ed=e=>e.charAt(0).toUpperCase()+e.slice(1),eu=e=>""!=`${e}`&&void 0!==e,em=e=>e(),ef=(e,t,n)=>{if(typeof e!==t)throw TypeError(`${n} is not a ${ed(t)}`)},ep={br:"\n",rb:"\x1b[31;1m",bb:"\x1b[34;1m",b:"\x1b[1m",i:"\x1b[3m",u:"\x1b[4m","/":"\x1b[m"},eh=Object.keys(ep),ey=RegExp(`<(${eh.join("|")})>`,"gi"),eg=(e,t)=>ep[t]??"",eb=!0,ev=z,ez=(e=function(e={}){let t={},n={},a=[],m={...c,expand:!e.collapsed||c.expanded,...e},f="";function y(){a.length=0,f=""}function g(){delete m.event,y()}function b(){if(0!==a.length){let e;for(let[t,...n]of(u[a.some(([e])=>e in s)||m.expand?"group":"groupCollapsed"](`%c${m.label}%c ${(e=m.event||m.defaultEvent)?`${e}`:""} %c${m.showTime?f:""}`,o,r,i),a))u.assert(t in u,`Unknown console method: ${t}`),t in u&&u[t](...n);u.groupEnd(),g()}else g()}function v(){let e,t;""===f&&(e=new Date,t=(t,n)=>e[t]().toString().padStart(n,"0"),f=`@ ${t("getHours",2)}:${t("getMinutes",2)}:${t("getSeconds",2)}.${t("getMilliseconds",3)}`,queueMicrotask(()=>queueMicrotask(b)))}function z(e,...t){0===a.length&&v(),a.push([e,...t])}function w(e=l,...n){t[e]?z("log",`${e}: ${performance.now()-t[e]} ms`,...n):z("timeLog",e,...n)}return{...h(m,e=>[e,function(t){m[e]=t}]),...h(console,e=>[e,(...t)=>z(e,...t)]),...h(d,p),assert:function(e,...t){!0!==e&&z("assert",e,...t)},count:function(e=l){n[e]?n[e]+=1:n[e]=1,z("log",`${e}: ${n[e]}`)},countReset:function(e=l){delete n[e]},endAutoGroup:b,errorBoundary:e=>(...t)=>{let n;try{n=e(...t)}catch(e){if(!Error.prototype.isPrototypeOf(e))throw e;z("error",e),b()}return n},event:function(e){v(),m.event=e},purge:y,time:function(e=l){v(),t[e]=performance.now()},timeEnd:function(e=l){w(e),delete t[e]},timeLog:w,touch:v}}
1,e?.__esModule?e.default:e)({label:`${z}(child)`,expand:!1}),ew=(...e)=>!eb||ez.log(...e),{assert:e$,endAutoGroup:eS,error:eO,errorBoundary:eE,event:ex,label:eM,purge:ek,warn:ej}=ez,eT=e=>es(typeof e===A?window.chrome?e.replace(ey,eg):e.replaceAll("<br>","\n").replaceAll(/<\/?[^>]+>/gi,""):e),eC=(...e)=>ez.warn(...e.map(eT)),eN=(n=(e,t)=>eC(t),(e,t="renamed to")=>(o,r,a="",i="")=>n(i,`<rb>Deprecated ${e}(${o.replace("()","")})</>
2
3The <b>${o}</> ${e.toLowerCase()} has been ${t} <b>${r}</>. ${a}Use of the old ${e.toLowerCase()} will be removed in a future version of <i>iframe-resizer</>.`)),eI=eN("Method"),eA=eN("Method","replaced with"),eP=eN("Option"),eR=["min-height","min-width","max-height","max-width"],eB=new Set,eq=(e,t)=>window.getComputedStyle(e).getPropertyValue(t),eL=(e,t)=>{var n;return(n=eq(e,t))&&"0px"!==n&&n!==B&&"none"!==n},eD=(e,t)=>{let n,{source:o,value:r}=((n=e.style[t])?{source:"an inline style attribute",value:n}:null)||function(e,t){for(let n of document.styleSheets)try{for(let o of n.cssRules||[])if(o.selectorText&&e.matches(o.selectorText)){let e=o.style[t];if(e)return{source:"STYLE"===n.ownerNode.tagName?"an inline <style> block":`stylesheet (${n.href})`,value:e}}}catch(e){!function({href:e}){eB.has(e)||eB.add(e)}(n)}return{source:"cross-origin stylesheet",value:eq(e,t)}}(e,t),a=e.tagName?e.tagName.toLowerCase():"unknown";eC(`The <b>${t}</> CSS property is set to <b>${r}</> on the <b><${a}></> element via ${o}. This may cause issues with the correct operation of <i>iframe-resizer</>.
4
5If you wish to restrict the size of the iframe, then you should set this property on the iframe element itself, not the content inside it.`)};function eF(){for(let e of[document.documentElement,document.body])for(let t of eR)eL(e,t)&&eD(e,t)}let eW=e=>t=>void 0===t?void 0:e(t),eH=eW(e=>"true"===e),eV=eW(Number),eU=[],e_=(e,t,n,o)=>{e.removeEventListener(t,n,o)},eZ=(e,t,n,o=!1)=>{e.addEventListener(t,n,o),eU.push(()=>e_(e,t,n,o))},eJ=e=>e=>{e.size},eQ=((e="")=>t=>n=>{n.size>0&&eO(`${t}Observer ${e}:`,...Array.from(n).flatMap(e=>["\n",e]))})("already attached"),eG=(e,t=!0)=>n=>{n>0&&ew(`${t?"At":"De"}tached %c${e}Observer%c ${t?"to":"from"} %c${n}%c element${1===n?"":"s"}`,g,o,g,o)},eY=(e,t,n,o)=>e=>{let r=new Set,a=0;for(let o of e)n.has(o)&&(t.unobserve(o),n.delete(o),r.add(o),a+=1);r.size,o(a),r.clear()},eX=new Set,eK=new Set,e0=new Set,e1=[],e2={attributes:!0,attributeFilter:[j,M],attributeOldValue:!1,characterData:!1,characterDataOldValue:!1,childList:!0,subtree:!0},e3,e4=1,e5=!1,e9=0,e6=e=>e.nodeType!==Node.ELEMENT_NODE||X.has(e.tagName.toLowerCase()),e7=e=>{for(let t of(ew("Mutations:",e),e))(function(e){for(let t of e.addedNodes)e6(t)||eX.add(t)})(t),function(e){for(let t of e.removedNodes)e6(t)||(eX.has(t)?(eX.delete(t),e0.add(t)):eK.add(t))}(t);eX.size,eK.size,e0.size,e0.clear()};function e8(e){e1.push(e),e5||(e9=performance.now(),e5=!0,requestAnimationFrame(e3))}let te="Overflow",tt=eG(te),tn=eG(te,!1),to=eJ(te),tr=eQ(te),ta=e=>e.hidden||null===e.offsetParent||"none"===e.style.display,ti="--ifr-start",tl="--ifr-end",ts="--ifr-measure",tc=[],td,tu={},tm=0;function tf(){try{performance.clearMarks(ti),performance.clearMarks(tl),performance.clearMeasures(ts)}catch{}}function tp(e){e.getEntries().forEach(e=>{if(e.name===tl)try{let{duration:t}=performance.measure(ts,ti,tl);tu=e.detail,tc.push(t),tc.length>100&&tc.shift()}catch{}})}let th="Resize",ty=eG(th),tg=eG(th,!1),tb=eJ(th),tv=eQ(th),tz=new WeakSet,tw=new Set,t$=new Set;function tS(e){let n=0;for(let o of e){if(o.nodeType!==Node.ELEMENT_NODE)continue;let e=getComputedStyle(o)?.position;""!==e&&"static"!==e&&(tz.has(o)?tw.add(o):(t.observe(o),tz.add(o),t$.add(o),n+=1))}tv(tw),tb(t$),ty(n),t$.clear(),tw.clear()}let tO=e=>(t,n)=>{if(n in t){if(typeof t[n]===e)return t[n];throw TypeError(`${n} is not a ${e}.`)}},tE=tO(R),tx=tO(P),tM=tO(A);"u">typeof window&&function(){let e={height:()=>(ej("Custom height calculation function not defined"),nv.auto()),width:()=>(ej("Custom width calculation function not defined"),nz.auto())},n={bodyOffset:1,bodyScroll:1,offset:1,documentElementOffset:1,documentElementScroll:1,boundingClientRect:1,max:1,min:1,grow:1,lowestElement:1},i={},l="scroll",s,c,d,u,m,f,p,h=!0,y="",K=0,et="",eo="",ep=!1,eh=!0,ey=!1,eg=!0,eT=!1,eN=!1,eR=!0,eB=!1,eq=1,eL=B,eD="",eW=!0,eJ={},eQ=!1,eG=!1,e0=!1,e6=0,ts=!1,ty=0,tb=0,tv=new Set,tw="",t$="child",tO=!1,tk="",tj=[],tT=window.parent,tC="*",tN=0,tI=!1,tA=1,tP=l,tR=window,tB=()=>{ej("onMessage function not defined")},tq=()=>{},tL=null,tD=null;function tF({persisted:e}){e||nT(0,0,"beforeUnload"),ex(S),ew("Page persisted:",e),e||eU.forEac
5h(em)}let tW=()=>eZ(window,S.toLowerCase(),tF),tH=!1;function tV(){eB=(tj=document.querySelectorAll(`[${M}]`)).length>0}let tU=0;function t_(){let e,t=document.querySelectorAll(`*[${j}]`);return(eT=t.length>0)&&t.length!==tU&&(e=1===t.length?"":"s",ej(`%c[${j}]%c found on %c${t.length}%c element${e}`,r,o,r,o),tU=t.length),eT}function tZ(){"BackCompat"===document.compatMode&&eC("<rb>Quirks Mode Detected</>\n\nThis iframe is running in the browser's legacy <b>Quirks Mode</>, this may cause issues with the correct operation of <i>iframe-resizer</>. It is recommended that you switch to the modern <b>Standards Mode</>.\n\nFor more information see <u>https://iframe-resizer.com/quirks-mode</>.\n")}function tJ(){f&&""!==f&&"false"!==f?f!==v&&eC(`<b>Version mismatch</>
6
7The parent and child pages are running different versions of <i>iframe resizer</>.
8
9Parent page: ${f} - Child page: ${v}.
10`):eC("<rb>Legacy version detected on parent page</>\n\nDetected legacy version of parent page script. It is recommended to update the parent page to use <b>@iframe-resizer/parent</>.\n\nSee <u>https://iframe-resizer.com/setup/</> for more details.\n")}function tQ(){try{tO=1===e6||"iframeParentListener"in window.parent}catch(e){}}function tG(){ey===eh&&(ep=!0)}function tY(e,t){void 0!==t&&""!==t&&"null"!==t&&(document.body.style.setProperty(e,t),ew(`Set body ${e}: %c${t}`,g))}function tX(e,t,n){if(""!==n)for(let e of document.querySelectorAll(n))e.toggleAttribute(t,!0)}function tK(){tX(0,M,tk),tX(0,j,eD)}function t0(){var e;void 0===et&&(et=`${K}px`),tY("margin",((e=et).includes("-")&&(ej("Negative CSS value ignored for margin"),e=""),e))}function t1(){let e=e=>e.style.setProperty(T,B,"important");e(document.documentElement),e(document.body)}function t2(e){({add(t){function n(){nM(e.eventName,e.eventType)}i[t]=n,eZ(window,t,n,{passive:!0})},remove(e){let t=i[e];delete i[e],e_(window,e,t)}})[e.method](e.eventName)}function t3(){let e=!1,t=t=>document.querySelectorAll(`[${t}]`).forEach(n=>{e=!0,n.removeAttribute(t),n.toggleAttribute(M,!0)});t("data-iframe-height"),t("data-iframe-width"),e&&eC("<rb>Deprecated Attributes</>\n\nThe <b>data-iframe-height</> and <b>data-iframe-width</> attributes have been deprecated and replaced with the single <b>data-iframe-size</> attribute. Use of the old attributes will be removed in a future version of <i>iframe-resizer</>.")}function t4(e,t,o){let{label:r}=o;return t!==e&&(e in o||(ej(`${e} is not a valid option for ${r}CalculationMethod.`),e=t),e in n)&&eC(`<rb>Deprecated ${r}CalculationMethod (${e})</>
11
12This version of <i>iframe-resizer</> can auto detect the most suitable ${r} calculation method. It is recommended that you ${f?"remove this option.":`set this option to <b>'auto'</> when using an older version of <i>iframe-resizer</> on the parent page. This can be done on the child page by adding the following code:
13
14window.iframeResizer = {
15  license: 'xxxx',
16  ${r}CalculationMethod: '${B}',
17}
18`}
19`),e}function t5(){eL=t4(eL,B,nv)}function t9(){tP=t4(tP,l,nz)}function t6(){let e=e6,t=ea({key:s}),n=ea({key:c});if((e6=Math.max(t,n))<0){if(e6=Math.min(t,n),ek(),eC(`${er(e6+2)}${er(2)}`),eu(f))throw er(e6+2).replace(/<\/?[a-z][^>]*>|<\/>/gi,"")}else{var r,a;(!eu(f)||e>-1&&e6>e)&&(sessionStorage.getItem("ifr")!==v&&(r=`v${v} (${ee(en[e6])})`,a=e6,console.info(`${ev} %ciframe-resizer ${r}`,eb||a<1?"font-weight: bold;":o)),e6<2&&eC(er(3)),sessionStorage.setItem("ifr",v))}}function t7(){t2({method:"add",eventType:"After Print",eventName:"afterprint"}),t2({method:"add",eventType:"Before Print",eventName:"beforeprint"})}function t8(){let e=document.createElement("div");e.style.clear="both",e.style.display="block",e.style.height="0",document.body.append(e)}function ne(){function e(e){let t,n,o,r=e.split("#")[1]||e,a=decodeURIComponent(r),i=document.getElementById(a)||document.getElementsByName(a)[0];void 0===i?nT(0,0,"inPageLink",`#${r}`):(t=i.getBoundingClientRect(),n={x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop},nT((o={x:parseInt(t.left,10)+parseInt(n.x,10),y:parseInt(t.top,10)+parseInt(n.y,10)}).y,o.x,x))}function t(){let{hash:t,href:n}=window.location;""!==t&&"#"!==t&&e(n)}let{enable:n}=eJ;n&&(1===e6?eC(er(5)):(function(){for(let t of document.querySelectorAll('a[href^="#"]'))"#"!==t.getAttribute("href")&&eZ(t,"click",n=>{n.preventDefault(),e(t.getAttribute("href"))})}(),eZ(window,"hashchange",t),setTimeout(t,128))),eJ={...eJ,findTarget:e}}function nt(){function e(e){nT(0,0,e.type,`${e.screenY}:${e.screenX}`)}function t(t,n){eZ(window.document,t,e)}!0===ts&&(t("mouseenter"),t("mouseleave"))}function nn(){1!==e6&&(tR.parentIframe=Object.freeze({autoResize:e=>(ef(e,"boolean","parentIframe.autoResize(enable) enable"),!1===ey&&!1===eh?(ex(F),eC("Auto Re
19size can not be changed when <b>direction</> is set to 'none'."),!1):(!0===e&&!1===h?(h=!0,queueMicrotask(()=>nM(F,"Auto Resize enabled"))):!1===e&&!0===h&&(h=!1),nT(0,0,"autoResize",JSON.stringify(h)),h)),close(){nT(0,0,"close")},getId:()=>tw,getOrigin:()=>(ex("getOrigin"),eI("getOrigin()","getParentOrigin()"),d),getParentOrigin:()=>d,getPageInfo(e){typeof e===R?(tL=e,nT(0,0,O),eA("getPageInfo()","getParentProps()","See <u>https://iframe-resizer.com/upgrade</> for details. ")):(tL=null,nT(0,0,"pageInfoStop"))},getParentProps:e=>(ef(e,R,"parentIframe.getParentProps(callback) callback"),tD=e,nT(0,0,E),()=>{tD=null,nT(0,0,"parentInfoStop")}),getParentProperties(e){eI("getParentProperties()","getParentProps()"),this.getParentProps(e)},moveToAnchor(e){ef(e,A,"parentIframe.moveToAnchor(anchor) anchor"),eJ.findTarget(e)},reset(){let e;e=eL,eL=B,tI||(tI=!0,requestAnimationFrame(()=>{tI=!1})),nk("reset"),eL=e},setOffsetSize(e){ef(e,P,"parentIframe.setOffsetSize(offset) offset"),ty=e,tb=e,nM(_,`parentIframe.setOffsetSize(${e})`)},scrollBy(e,t){ef(e,P,"parentIframe.scrollBy(x, y) x"),ef(t,P,"parentIframe.scrollBy(x, y) y"),nT(t,e,"scrollBy")},scrollTo(e,t){ef(e,P,"parentIframe.scrollTo(x, y) x"),ef(t,P,"parentIframe.scrollTo(x, y) y"),nT(t,e,"scrollTo")},scrollToOffset(e,t){ef(e,P,"parentIframe.scrollToOffset(x, y) x"),ef(t,P,"parentIframe.scrollToOffset(x, y) y"),nT(t,e,x)},sendMessage(e,t){t&&ef(t,A,"parentIframe.sendMessage(msg, targetOrigin) targetOrigin"),nT(0,0,$,JSON.stringify(e),t)},setHeightCalculationMethod(e){eL=e,t5()},setWidthCalculationMethod(e){tP=e,t9()},setTargetOrigin(e){ef(e,A,"parentIframe.setTargetOrigin(targetOrigin) targetOrigin"),tC=e},resize(e,t){void 0!==e&&ef(e,P,"parentIframe.resize(customHeight, customWidth) customHeight"),void 0!==t&&ef(t,P,"parentIframe.resize(customHeight, customWidth) customWidth"),nM(H,`parentIframe.resize(${e||""}${t?`,${t}`:""})`,e,t)},size(e,t){eI("size()","resize()"),this.resize(e,t)}}),tR.parentIFrame=tR.parentIframe)}let no=new Set;function nr(){eN=(tv=function(e){let t=new Set,n=new Set;for(let o of e)o.closest(`[${j}]`)?n.add(o):t.add(o);return n.size>0&&queueMicrotask(()=>{ex("overflowIgnored"),ew("Ignoring elements with [data-iframe-ignore] > *:\n",n),eS()}),t}(document.querySelectorAll(`[${k}]`))).size>0,typeof Set.prototype.symmetricDifference===R&&(eR=tv.symmetricDifference(no).size>0),no=tv}function na(){switch(nr(),!0){case!eR:return;case tv.size>1:ew("Overflowed Elements:",tv);break;case eN:break;default:ew("No overflow detected")}nM(J,"Overflow updated")}function ni(e){if(!Array.isArray(e)||0===e.length)return;let t=e[0].target;nM(Z,`Element resized <${function(e){switch(!0){case!eu(e):return"";case eu(e.id):return`${e.nodeName}#${e.id}`;case eu(e.name):return`${e.nodeName} (${e.name}`;case eu(e.className):return`${e.nodeName}.${e.className}`;default:return e.nodeName}}(t)}>`)}function nl(e){eQ=!e,nM(G,"Visibility changed")}let ns=e=>{let t=new Set;for(let n of e)for(let e of(t.add(n),np(n)))t.add(e);return ew("Inspecting:\n",t),t};function nc(e){!function({addedNodes:e,removedNodes:t}){ex("contentMutated"),tK(),tV(),nr(),eS(),(e=>{if(0===e.size)return;ex("removeObservers");let t=ns(e);u.detachObservers(t),m.detachObservers(t),eS()})(t),(e=>{if(0===e.size)return;ex("addObservers");let t=ns(e);u.attachObservers(t),m.attachObserverToNonStaticElements(t),eS()})(e)}(e),nM(Q,"Mutation Observed")}function nd(){var e;let n,o,r,a,i,l,s,c,d,f,p,h,y,v,z=np(document.documentElement);e=[(n=new window.MutationObserver(e8),o=document.body||document.documentElement,e3=()=>{let e=performance.now(),t=e-e9,n=16*e4+++2;t>n&&t<200?(ex("mutationThrottled"),ew("Update delayed due to heavy workload on the callStack"),ew(`EventLoop busy time: %c${ec(t)}ms %c> Max wait: %c${n-2}ms`,g,b,g),setTimeout(e3,16*e4),e9=e):(e4=1,e1.forEach(e7),e1.length=0,e5=!1,eK.size,eX.size,nc({addedNodes:eX,removedNodes:eK}),eX.clear(),eK.clear())},n.observe(o,e2),ew("Attached%c MutationObserver%c to body",g,b),{...n,disconnect:()=>{eX.clear(),eK.clear(),e1.length=0,n.disconnect(),ew("Detached%c MutationObserver",g)}}),(r={root:document.documentElement,side:eh?L:D},a=r.side,i={root:r.root,rootMargin:"0px",threshold:1},l=window?.requestAnimationFrame||es,s=(e=!1)=>na(),c=(e,t)=>0===e||e>t[a],d=(e,t)=>e.toggleAttribute(k,t),f=new IntersectionObserver(function(e){for(let t of e){let{boundingClientRect:e,rootBounds:n,target:o}=t;if(!n)continue;let r=c(e[a],n)&&!ta(o);d(o,r)}l(s)},i),(u={attachObservers:function(e){let t=new Set,n=new Set,o=0;
19for(let r of e)r.nodeType===Node.ELEMENT_NODE&&(p.has(r)?t.add(r):(f.observe(r),p.add(r),n.add(r),o+=1));tr(t),to(n),tt(o),n.clear(),t.clear()},detachObservers:eY(te,f,p=new WeakSet,tn),disconnect:()=>{f.disconnect(),ew("Detached%c OverflowObserver",g)}}).attachObservers(z),u),(ew("Attached%c PerformanceObserver%c to page",g,b),(h=new PerformanceObserver(tp)).observe({entryTypes:["mark"]}),td=setInterval(()=>{if(tc.length<10||tu.hasTags&&tu.len<25)return;tc.sort();let e=Math.min(tc.reduce((e,t)=>e+t,0)/tc.length,tc[Math.floor(tc.length/2)]),t=ec(e);t>tm&&(tm=t,ex("performanceObserver")),tf(),e<=4||(clearInterval(td),eC(`<rb>Performance Warning</>
20
21Calculating the page size is taking an excessive amount of time (${ec(e)}ms).
22
23To improve performance add the <b>data-iframe-size</> attribute to the ${tu.Side.toLowerCase()} most element on the page. For more details see: <u>https://iframe-resizer.com/perf</>.`))},5e3),{disconnect:()=>{tf(),clearInterval(td),h.disconnect(),ew("Detached%c PerformanceObserver",g)}}),((t=new ResizeObserver(ni)).observe(document.body),tz.add(document.body),ew("Attached%c ResizeObserver%c to body",g,b),(m={attachObserverToNonStaticElements:tS,detachObservers:eY(th,t,tz,tg),disconnect:()=>{t.disconnect(),ew("Detached%c ResizeObserver",g)}}).attachObserverToNonStaticElements(z),m),(y=new IntersectionObserver(e=>nl(e.at(-1).isIntersecting),{threshold:0}),v=document.documentElement,y.observe(v),ew("Attached%c VisibilityObserver%c to page",g,b),{disconnect:()=>{y.disconnect(),ew("Detached%c VisibilityObserver",g)}})],eU.push(...e.map(e=>e.disconnect))}function nu(e){performance.mark(ti);let t=ed(e),n=1,o=document.documentElement,r=eB?0:document.documentElement.getBoundingClientRect().bottom,a=eB?tj:eN?Array.from(tv):np(document.documentElement);for(let t of a)(n=t.getBoundingClientRect()[e]+parseFloat(getComputedStyle(t).getPropertyValue(`margin-${e}`)))>r&&(r=n,o=t);return ew(`${t} position calculated from:`,o),ew(`Checked %c${a.length}%c elements`,g,b),performance.mark(tl,{detail:{hasTags:eB,len:a.length,logging:e0,Side:t}}),r}let nm=e=>[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll(),e.boundingClientRect()],nf=`* ${Array.from(X).map(e=>`:not(${e})`).join("")}`,np=e=>e.querySelectorAll(nf),nh={height:0,width:0},ny={height:0,width:0},ng=[g,b,g];function nb(e){let t;function n(){return ny[r]=a,nh[r]=s,Math.max(a,1)}let o=e===nv,r=e.label,a=e.boundingClientRect(),i=Math.ceil(a),l=Math.floor(a),s=e.documentElementScroll()+Math.max(0,e.getOffset()),c=`HTML: %c${a}px %cPage: %c${s}px`,d=1;switch(!0){case!e.enabled():return Math.max(s,1);case eB:ew("Found element with data-iframe-size attribute"),d=e.taggedElement();break;case!eN&&eg&&0===ny[r]&&0===nh[r]:ew(`Initial page size values: ${c}`,...ng),d=n();break;case tI&&a===ny[r]&&s===nh[r]:ew(`Size unchanged: ${c}`,...ng),d=Math.max(a,s);break;case 0===a&&0!==s:ew(`Page is hidden: ${c}`,...ng),d=s;break;case!eN&&a!==ny[r]&&s<=nh[r]:ew(`New <html> size: ${c} `,...ng),ew(`Previous <html> size: %c${ny[r]}px`,g),d=n();break;case!o:d=e.taggedElement();break;case!eN&&a<ny[r]:ew(`<html> size decreased: ${c}`,...ng),d=n();break;case s===l||s===i:ew(`<html> size equals page size: ${c}`,...ng),d=n();break;case a>s:ew(`Page size < <html> size: ${c}`,...ng),d=n();break;case eN:ew("Found elements possibly overflowing <html> "),d=e.taggedElement();break;default:ew(`Using <html> size: ${c}`,...ng),d=n()}return ew(`Content ${r}: %c${d}px`,g),Math.max(d+=(0!==(t=e.getOffset())&&ew(`Page offsetSize: %c${t}px`,g),t),1)}let nv={label:T,enabled:()=>eh,getOffset:()=>ty,auto:()=>nb(nv),bodyOffset:()=>{let{body:e}=document,t=getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)},bodyScroll:()=>document.body.scrollHeight,offset:()=>nv.bodyOffset(),custom:()=>e.height(),documentElementOffset:()=>document.documentElement.offsetHeight,documentElementScroll:()=>document.documentElement.scrollHeight,boundingClientRect:()=>Math.max(document.documentElement.getBoundingClientRect().bottom,document.body.getBoundingClientRect().bottom),max:()=>Math.max(...nm(nv)),min:()=>Math.min(...nm(nv)),grow:()=>nv.max(),lowestElement:()=>nu(L),taggedElement:()=>nu(L)},nz={label:C,enabled:()=>ey,getOffset:()=>tb,auto:()=>nb(nz),bodyScroll:()=>document.body.scrollWidth,bodyOffset:()=>document.body.offsetWidth,custom:()=>e.width(),documentElementScroll:()=>document.documentElement.scrollWidth,documentElementOffset:()=>document.documentElement.offsetWidth,boundingClientRect:()=>Math.max(document.documentElement.getBoundingClientRect().right,document.body.getBoundingClientRect().right),max:()=>Math.max(...nm(nz)),min:()=>Math.min(...nm(nz)),rightMostElement:()=>nu(D),scroll:()=>Math.max(nz.bodyScroll(),nz.documentElementScroll()),taggedElement:()=>nu(D)},nw=(e,t)=>!(Math.abs(e-t)<=tN);function n$(e,t){let n=e[t](),o=e.enabled()&&void 0!==p?function(e){let t=p(e);if(void 0===t)throw TypeError("No value returned from onBeforeResize(), expected a numeric value");if(Number.isNaN(t))throw TypeError(`Invalid value returned from onBeforeResize(): ${t}, expected Number`);if(t<1)throw RangeError(`Out of range value returned from onBeforeResize(): ${t}, must be at least 1`);return t}(n):n;return e$(o>=1,`New iframe ${e.label} is too small: ${o}, must be at least 1`),o}let nS=!1,nO=el(()=>eC(er(4))),nE,nx=!1,nM=eE((e,t,n,o,r)=>{switch(ex(e),!0){case!0===eQ:if(!0===nx)break;nx=!0,nS=!1,cancelAnimationFrame(nE),nE=null;break;case!0===nS&&e!==J:ek();break;case!h&&!(e in U):ew("Resizing disabled");break;default:nx=!1,nS=!0,performance.now(),nE||(nE=requestAnimationFrame(()=>{nS=!1,nE=null,ex("requestAnimationFrame")})),function(e,t,n,o){let r=t??n$(nv,eL),a=n??n$(nz,tP);switch(eh&&nw(eq,r)||ey&&nw(tA,a)?W:e){case w:case F:case W:eq=r,tA=a;case _:nj(eq,tA,e,o);break;case J:case Q:case Z:case G:ek();break;default:ek(),ew("No change in content size detected")}}(e,n,o,r)}eS()});function nk(e){eq=nv[eL](),tA=nz[tP](),nT(eq,tA,e)}function nj(e,t,n,o,r){e6<-1||(void 0!==r||(r=tC),function(){let i=`${tw}:${e}:${t}:${n}${void 0===o?"":`:${o}`}`;if(tO)try{window.parent.iframeParentListener(Y+i)}catch(e){if(1!==e6)throw e;
23return void nO()}else tT.postMessage(Y+i,r);ew(`Sending message to parent page via ${tO?"sameOrigin":"postMessage"}: %c%c${i}`,a,g)}())}let nT=eE((e,t,n,o,r)=>{ex(n),nj(e,t,n,o,r),eS()}),nC=eE(function(t){ex("onMessage");let{freeze:n}=Object,{parse:o}=JSON,r=e=>nT(0,0,`${e}Stop`),a={init:function(){var n;if("loading"===document.readyState)return;let o=t.data.slice(13).split(":");tT=t.source,d=t.origin,tw=o[0]??tw,K=eV(o[1])??K,ey=eH(o[2])??ey,e0=eH(o[3])??e0,h=eH(o[6])??h,et=o[7]??et,eL=o[8]??eL,y=o[9]??y,eo=o[10]??eo,tN=eV(o[11])??tN,eJ.enable=eH(o[12])??!1,t$=o[13]??t$,tP=o[14]??tP,ts=eH(o[15])??ts,ty=eV(o[16])??ty,tb=eV(o[17])??tb,eh=eH(o[18])??eh,s=o[19]??s,f=o[20]??f,e6=eV(o[21])??e6,eG=eH(o[23])??eG,ev=(n={id:tw,enabled:e0,expand:eG}).id||z,ez.label(`${ev}`),ez.expand(n.expand),eb=n.enabled,ex("initReceived"),function(){function t(t,n){return typeof t===R&&(eC(`<rb>Deprecated Option(${n}CalculationMethod)</>
24
25The use of <b>${n}CalculationMethod</> as a function is deprecated and will be removed in a future version of <i>iframe-resizer</>. Please use the new <b>onBeforeResize</> event handler instead.
26
27See <u>https://iframe-resizer.com/api/child</> for more details.`),e[n]=t,t="custom"),t}if(1===e6)return;let n=window.iframeResizer||window.iFrameResizer;"object"==typeof n&&(p=tE(n,"onBeforeResize")??p,tB=tE(n,"onMessage")??tB,tq=tE(n,"onReady")??tq,typeof n?.offset===P&&(eP(N,I),eh&&(ty=tx(n,N)??ty),ey&&(tb=tx(n,N)??tb)),typeof n?.offsetSize===P&&(eh&&(ty=tx(n,I)??ty),ey&&(tb=tx(n,I)??tb)),c=tM(n,ee("spjluzl"))??c,eD=tM(n,"ignoreSelector")??eD,tk=tM(n,"sizeSelector")??tk,tC=tM(n,"targetOrigin")??tC,eL=n?.heightCalculationMethod||eL,tP=n?.widthCalculationMethod||tP,eL=t(eL,T),tP=t(tP,C),ew(`Set targetOrigin for parent: %c${tC}`,g))}(),[tJ,tG,t6,t_,tQ,t5,t9,t3,tZ,tV,ep?es:eF,t0,()=>tY("background",y),()=>tY("padding",eo),ep?es:t1,t8,tK,nd,ne,t7,nt,tW,nn].forEach(e=>{try{e()}catch(e){if(e6<0)throw e;eC("<rb>Error in setup function</>\n<i>iframe-resizer</> detected an error during setup.\n\nPlease report the following error message at <u>https://github.com/davidjbradshaw/iframe-resizer/issues</>"),eO(e)}}),function e(t){"complete"===document.readyState?ei(t):tH||eZ(document,q,()=>e(t)),tH=!0}(el(tq)),eS(),nM(w,"Init message from host page",void 0,void 0,`${v}:${e6}`),document.title&&""!==document.title&&nT(0,0,"title",document.title),eg=!1,setTimeout(()=>{eW=!1},128)},reset(){eW||nk("resetPage")},resize(){nM(V,"Parent window requested size check")},moveToAnchor(){eJ.findTarget(l())},inPageLink(){this.moveToAnchor()},pageInfo(){let e=l();tL?ei(tL,o(e)):r(O)},parentInfo(){let e=n(o(l()));tD?ei(tD,e):r(E)},message(){let e=l();ei(tB,o(e))}},i=()=>t.data.split("]")[1].split(":")[0],l=()=>t.data.slice(t.data.indexOf(":")+1),u=()=>t.data.split(":")[2]in{true:1,false:1};Y===`${t.data}`.slice(0,13)&&function(){let e;if(!1!==eg)return u()&&(eM(i()),ex(w),a.init());ex(e=i()),e in a?a[e]():"iframeResize"in window||void 0!==window.jQuery&&""in window.jQuery.prototype||u()||ej(`Unexpected message (${t.data})`)}()}),nN=!1,nI=e=>e.postMessage("[iFrameResizerChild]Ready",window?.iframeResizer?.targetOrigin||"*");function nA(){if("loading"===document.readyState||!eg||nN)return;let{parent:e,top:t}=window;ex("ready"),nI(e),e!==t&&nI(t),nN=!0}"iframeChildListener"in window?ej("Already setup"):(window.iframeChildListener=e=>setTimeout(()=>nC({data:e,sameOrigin:!0})),ex("listen"),eZ(window,$,nC),eZ(document,q,nA),nA())}()})?o.call(t,n,t,e):o)||(e.exports=r)}}]);

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.