diff --git a/Components/ExternalPageComponent.razor b/Components/ExternalPageComponent.razor index 1bb9b6f..ca2f9fb 100644 --- a/Components/ExternalPageComponent.razor +++ b/Components/ExternalPageComponent.razor @@ -27,7 +27,7 @@ } if(SrcString != null) { SrcString = SrcString?.Replace("", ""); - SrcString = SrcString?.Replace("", ""); + SrcString = SrcString?.Replace("", ""); Html = (MarkupString)(SrcString ?? string.Empty); } await InvokeAsync(StateHasChanged); diff --git a/wwwroot/vendor/iframe-resizer/child.js b/wwwroot/vendor/iframe-resizer/child.js deleted file mode 100644 index cb46bc8..0000000 --- a/wwwroot/vendor/iframe-resizer/child.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Minified by jsDelivr using Terser v5.19.2. - * Original file: /npm/@iframe-resizer/child@5.0.2/index.umd.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -/*! - * @preserve - * - * @module iframe-resizer/child 5.0.2 (umd) - 2024-05-30 - * - * @license GPL-3.0 for non-commercial use only. - * For commercial use, you must purchase a license from - * https://iframe-resizer.com/pricing - * - * @desciption Keep same and cross domain iFrames sized to their content - * - * @author David J. Bradshaw - * - * @see {@link https://iframe-resizer.com} - * - * @copyright (c) 2013 - 2024, David J. Bradshaw. All rights reserved. - */ -!function (e) { "function" == typeof define && define.amd ? define(e) : e() }((function () { "use strict"; const e = "5.0.2", t = 10, n = "data-iframe-size", o = (e, t, n, o) => e.addEventListener(t, n, o || !1), i = (e, t, n) => e.removeEventListener(t, n, !1), r = ["Puchspk Spjluzl Rlf", "Tpzzpun Spjluzl Rlf", "Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.Jvttlyjphs SpjluzlMvy jvttlyjphs bzl,

pmyhtl-ylzpgly ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa oaawz://pmyhtl-ylzpgly.jvt/wypjpun.Vwlu Zvbyjl SpjluzlPm 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 spjluzl rlf pu

pmyhtl-ylzpgly vwapvuz av NWSc3.Mvy tvyl pumvythapvu wslhzl zll: oaawz://pmyhtl-ylzpgly.jvt/nws", "NWSc3 Spjluzl ClyzpvuAopz clyzpvu vm

pmyhtl-ylzpgly pz ilpun bzlk bukly aol alytz vm aol NWS C3 spjluzl. Aopz spjluzl hssvdz fvb av bzl

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.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.Mvy tvyl pumvythapvu cpzpa oaawz://pmyhtl-ylzpgly.jvt/wypjpun."]; Object.fromEntries(["2cgs7fdf4xb", "1c9ctcccr4z", "1q2pc4eebgb", "ueokt0969w", "w2zxchhgqz", "1umuxblj2e5"].map(((e, t) => [e, Math.max(0, t - 1)]))); const a = e => (e => e.replaceAll(/[A-Za-z]/g, (e => String.fromCodePoint((e <= "Z" ? 90 : 122) >= (e = e.codePointAt(0) + 19) ? e : e - 26))))(r[e]), l = { contentVisibilityAuto: !0, opacityProperty: !0, visibilityProperty: !0 }, c = { height: () => (re("Custom height calculation function not defined"), Ie.auto()), width: () => (re("Custom width calculation function not defined"), xe.auto()) }, s = { bodyOffset: 1, bodyScroll: 1, offset: 1, documentElementOffset: 1, documentElementScroll: 1, documentElementBoundingClientRect: 1, max: 1, min: 1, grow: 1, lowestElement: 1 }, u = 128, d = {}, m = "checkVisibility" in window, f = "auto", p = "[iFrameSizer]", h = p.length, y = { max: 1, min: 1, bodyScroll: 1, documentElementScroll: 1 }, g = ["body"], v = "scroll"; let b, w, z = !0, S = "", $ = 0, j = "", E = null, O = "", A = !0, M = !1, C = null, P = !0, T = !1, I = 1, x = f, N = !0, k = "", R = {}, B = !0, q = !1, L = 0, D = !1, H = "", W = "child", F = null, U = !1, V = window.parent, J = "*", Z = 0, Q = !1, X = "", Y = 1, G = v, K = window, _ = () => { re("onMessage function not defined") }, ee = () => { }, te = null, ne = null; const oe = e => "" != `${e}` && void 0 !== e; const ie = (...e) => [`[iframe-resizer][${H}]`, ...e].join(" "), re = (...e) => console?.warn(ie(...e)), ae = (...e) => console?.warn((e => t => window.chrome ? e(t.replaceAll("
", "\n").replaceAll("", "").replaceAll("", "").replaceAll("", "").replaceAll("", "").replaceAll("", "")) : e(t.replaceAll("
", "\n").replaceAll(/<[/a-z]+>/gi, "")))(ie)(...e)), le = e => ae(e); function ce() { !function () { try { U = "iframeParentListener" in window.parent } catch (e) { } }(), function () { const e = e => "true" === e, t = k.slice(h).split(":"); H = t[0], $ = void 0 === t[1] ? $ : Number(t[1]), M = void 0 === t[2] ? M : e(t[2]), q = void 0 === t[3] ? q : e(t[3]), z = void 0 === t[6] ? z : e(t[6]), j = t[7], x = void 0 === t[8] ? x : t[8], S = t[9], O = t[10], Z = void 0 === t[11] ? Z : Number(t[11]), R.enable = void 0 !== t[12] && e(t[12]), W = void 0 === t[13] ? W : t[13], G = void 0 === t[14] ? G : t[14], D = void 0 === t[15] ? D : e(t[15]), b = void 0 === t[16] ? b : Number(t[16]), w = void 0 === t[17] ? w : Number(t[17]), A = void 0 === t[18] ? A : e(t[18]), t[19], X = t[20] || X, L = void 0 === t[21] ? L : Number(t[21]) }(), function () { function e() { const e = window.iframeResizer || window.iFrameResizer; _ = e?.onMessage || _, ee = e?.onReady || ee, "number" == typeof e?.offset && (A && (b = e?.offset), M && (w = e?.offset)), J = e?.targetOrigin || J, x = e?.heightCalculationMethod || x, G = e?.widthCalculationMethod || G } function t(e, t) { return "function" == typeof e && (c[t] = e, e = "custom"), e } if (1 === L) return; "iFrameResizer" in window && Object === window.iFrameResizer.constructor && (e(), x = t(x, "height"), G = t(G, "width")) }(), function () { void 0 === j && (j = `${$}px`); se("margin", function (e, t) { t.includes("-") && (re(`Negative CSS value ignored for ${e}`), t = ""); return t }("margin", j)) }(), se("background", S), se("padding", O), function () { const e = document.createElement("div"); e.style.clear = "both", e.style.display = "block", e.style.height = "0", document.body.append(e) }(), function () { const e = e => e.style.setProperty("height", "auto", "important"); e(document.documentElement), e(document.body) }(), L < 0 ? le(`${a(L + 2)}${a(2)}`) : X.codePointAt(0) > 4 || L < 2 && le(a(3)), function () { if (!X || "" === X || "false" === X) return void ae("Legacy version detected on parent page\n\nDetected legacy version of parent page script. It is recommended to update the parent page to use @iframe-resizer/parent.\n\nSee https://iframe-resizer.com/setup/ for more details.\n"); X !== e && ae(`Version mismatch\n\nThe parent and child pages are running different versions of iframe resizer.\n\nParent page: ${X} - Child page: ${e}.\n`) }(), pe(), he(), function () { let e = !1; const t = t => document.querySelectorAll(`[${t}]`).forEach((o => { e = !0, o.removeAttribute(t), o.setAttribute(n, null) })); t("data-iframe-height"), t("data-iframe-width"), e && ae("Deprecated Attributes\n \nThe data-iframe-height and data-iframe-width attributes have been deprecated and replaced with the single data-iframe-size attribute. Use of the old attributes will be removed in a future version of iframe-resizer.") }(), document.querySelectorAll(`[${n}]`).length > 0 && ("auto" === x && (x = "autoOverflow"), "auto" === G && (G = "autoOverflow")), me(), function () { if (1 === L) return; K.parentIframe = Object.freeze({ autoResize: e => (!0 === e && !1 === z ? (z = !0, ye()) : !1 === e && !0 === z && (z = !1, de("remove"), F?.disconnect(), E?.disconnect()), Le(0, 0, "autoResize", JSON.stringify(z)), z), close() { Le(0, 0, "close") }, getId: () => H, getPageInfo(e) { if ("function" == typeof e) return te = e, Le(0, 0, "pageInfo"), void ae("Deprecated Method\n \nThe getPageInfo() method has been deprecated and replaced with getParentProperties(). Use of this method will be removed in a future version of iframe-resizer.\n"); te = null, Le(0, 0, "pageInfoStop") }, getParentProperties(e) { if ("function" != typeof e) throw new TypeError("parentIFrame.getParentProperties(callback) callback not a function"); return ne = e, Le(0, 0, "parentInfo"), () => { ne = null, Le(0, 0, "parentInfoStop") } }, moveToAnchor(e) { R.findTarget(e) }, reset() { qe() }, scrollTo(e, t) { Le(t, e, "scrollTo") }, scrollToOffset(e, t) { Le(t, e, "scrollToOffset") }, sendMessage(e, t) { Le(0, 0, "message", JSON.stringify(e), t) }, setHeightCalculationMethod(e) { x = e, pe() }, setWidthCalculationMethod(e) { G = e, he() }, setTargetOrigin(e) { J = e }, resize(e, t) { ke("size", `parentIFrame.size(${`${e || ""}${t ? `,${t}` : ""}`})`, e, t) }, size(e, t) { ae("Deprecated Method\n \nThe size() method has been deprecated and replaced with resize(). Use of this method will be removed in a future version of iframe-resizer.\n"), this.resize(e, t) } }), K.parentIFrame = K.parentIframe }(), function () { if (!0 !== D) return; function e(e) { Le(0, 0, e.type, `${e.screenY}:${e.screenX}`) } function t(t, n) { o(window.document, t, e) } t("mouseenter"), t("mouseleave") }(), ye(), R = function () { const e = () => ({ x: document.documentElement.scrollLeft, y: document.documentElement.scrollTop }); function n(n) { const o = n.getBoundingClientRect(), i = e(); return { x: parseInt(o.left, t) + parseInt(i.x, t), y: parseInt(o.top, t) + parseInt(i.y, t) } } function i(e) { function t(e) { const t = n(e); Le(t.y, t.x, "scrollToOffset") } const o = e.split("#")[1] || e, i = decodeURIComponent(o), r = document.getElementById(i) || document.getElementsByName(i)[0]; void 0 === r ? Le(0, 0, "inPageLink", `#${o}`) : t(r) } function r() { const { hash: e, href: t } = window.location; "" !== e && "#" !== e && i(t) } function a() { function e(e) { function t(e) { e.preventDefault(), i(this.getAttribute("href")) } "#" !== e.getAttribute("href") && o(e, "click", t) } document.querySelectorAll('a[href^="#"]').forEach(e) } function l() { o(window, "hashchange", r) } function c() { setTimeout(r, u) } function s() { a(), l(), c() } R.enable && (1 === L ? ae("In page linking requires a Professional or Business license. Please see https://iframe-resizer.com/pricing for more details.") : s()); return { findTarget: i } }(), ke("init", "Init message from host page", void 0, void 0, e), ee(), B = !1 } function se(e, t) { void 0 !== t && "" !== t && "null" !== t && document.body.style.setProperty(e, t) } function ue(e) { ({ add(t) { function n() { ke(e.eventName, e.eventType) } d[t] = n, o(window, t, n, { passive: !0 }) }, remove(e) { const t = d[e]; delete d[e], i(window, e, t) } })[e.method](e.eventName) } function de(e) { ue({ method: e, eventType: "After Print", eventName: "afterprint" }), ue({ method: e, eventType: "Before Print", eventName: "beforeprint" }), ue({ method: e, eventType: "Ready State Change", eventName: "readystatechange" }) } function me() { const e = document.querySelectorAll(`[${n}]`); T = e.length > 0, C = T ? e : Oe(document)() } function fe(e, t, n, o) { return t !== e && (e in n || (re(`${e} is not a valid option for ${o}CalculationMethod.`), e = t), e in s && ae(`Deprecated ${o}CalculationMethod (${e})\n\nThis version of iframe-resizer can auto detect the most suitable ${o} calculation method. It is recommended that you remove this option.`)), e } function pe() { x = fe(x, f, Ie, "height") } function he() { G = fe(G, v, xe, "width") } function ye() { !0 === z && (de("add"), E = function () { function e(e) { e.forEach($e), me() } function t() { const t = new window.MutationObserver(e), n = document.querySelector("body"), o = { attributes: !1, attributeOldValue: !1, characterData: !1, characterDataOldValue: !1, childList: !0, subtree: !0 }; return t.observe(n, o), t } const n = t(); return { disconnect() { n.disconnect() } } }(), F = new ResizeObserver(ve), Se(window.document)) } let ge; function ve(e) { if (!Array.isArray(e) || 0 === e.length) return; const t = e[0].target; ge = () => ke("resizeObserver", `Resize Observed: ${function (e) { switch (!0) { case !oe(e): return ""; case oe(e.id): return `${e.nodeName.toUpperCase()}#${e.id}`; case oe(e.name): return `${e.nodeName.toUpperCase()} (${e.name})`; default: return e.nodeName.toUpperCase() + (oe(e.className) ? `.${e.className}` : "") } }(t)}`), setTimeout((() => { ge && ge(), ge = void 0 }), 0) } const be = e => { const t = getComputedStyle(e); return "" !== t?.position && "static" !== t?.position }, we = () => [...Oe(document)()].filter(be); function ze(e) { e && F.observe(e) } function Se(e) { [...we(), ...g.flatMap((t => e.querySelector(t)))].forEach(ze) } function $e(e) { "childList" === e.type && Se(e.target) } function je(e) { const t = (n = e).charAt(0).toUpperCase() + n.slice(1); var n; let o, i = 0, r = C.length, a = 0, c = performance.now(); C.forEach((t => { T || !m || t.checkVisibility(l) ? (i = t.getBoundingClientRect()[e] + parseFloat(getComputedStyle(t).getPropertyValue(`margin-${e}`)), i > a && (a = i, o = t)) : r -= 1 })), c = performance.now() - c; const s = `\nParsed ${r} element${r = ""} in ${c.toPrecision(3)}ms\n${t} ${T ? "tagged " : ""}element found at: ${a}px\nPosition calculated from HTML element: ${function (e) { const t = e?.outerHTML?.toString(); return t ? t.length < 30 ? t : `${t.slice(0, 30).replaceAll("\n", " ")}...` : e }(o)}`; return c < 1.1 || B || T || ae(`Performance Warning\n\nCalculating the page size took an excessive amount of time. To improve performance add the data-iframe-size attribute to the ${e} most element on the page.\n${s}`), a } const Ee = e => [e.bodyOffset(), e.bodyScroll(), e.documentElementOffset(), e.documentElementScroll(), e.documentElementBoundingClientRect()], Oe = e => () => e.querySelectorAll("* :not(head):not(meta):not(base):not(title):not(script):not(link):not(style):not(map):not(area):not(option):not(optgroup):not(template):not(track):not(wbr):not(nobr)"); let Ae = !1; function Me({ ceilBoundingSize: e, dimension: t, getDimension: n, isHeight: o, scrollSize: i }) { if (!Ae) return Ae = !0, n.taggedElement(); const r = o ? "bottom" : "right"; return ae(`Detected content overflowing html element\n \nThis causes iframe-resizer to fall back to checking the position of every element on the page in order to calculate the correct dimensions of the iframe. Inspecting the size, ${r} margin, and position of every visible HTML element will have a performance impact on more complex pages. \n\nTo fix this issue, and remove this warning, you can either ensure the content of the page does not overflow the element or alternatively you can add the attribute data-iframe-size to the elements on the page that you want iframe-resizer to use when calculating the dimensions of the iframe. \n \nWhen present the ${r} margin of the ${o ? "lowest" : "right most"} element with a data-iframe-size attribute will be used to set the ${t} of the iframe.\n \n(Page size: ${i} > document size: ${e})`), o ? x = "autoOverflow" : G = "autoOverflow", n.taggedElement() } const Ce = { height: 0, width: 0 }, Pe = { height: 0, width: 0 }; function Te(e, t) { function n() { return Pe[i] = r, Ce[i] = c, r } const o = e === Ie, i = o ? "height" : "width", r = e.documentElementBoundingClientRect(), a = Math.ceil(r), l = Math.floor(r), c = (e => e.documentElementScroll() + Math.max(0, e.getOffset()))(e); switch (!0) { case !e.enabled(): return c; case !t && 0 === Pe[i] && 0 === Ce[i]: if (e.taggedElement(!0) <= a) return n(); break; case Q && r === Pe[i] && c === Ce[i]: return Math.max(r, c); case 0 === r: return c; case !t && r !== Pe[i] && c <= Ce[i]: return n(); case !o: return t ? e.taggedElement() : Me({ ceilBoundingSize: a, dimension: i, getDimension: e, isHeight: o, scrollSize: c }); case !t && r < Pe[i]: case c === l || c === a: case r > c: return n(); case !t: return Me({ ceilBoundingSize: a, dimension: i, getDimension: e, isHeight: o, scrollSize: c }) }return Math.max(e.taggedElement(), n()) } const Ie = { enabled: () => A, getOffset: () => b, type: "height", auto: () => Te(Ie, !1), autoOverflow: () => Te(Ie, !0), bodyOffset: () => { const { body: e } = document, n = getComputedStyle(e); return e.offsetHeight + parseInt(n.marginTop, t) + parseInt(n.marginBottom, t) }, bodyScroll: () => document.body.scrollHeight, offset: () => Ie.bodyOffset(), custom: () => c.height(), documentElementOffset: () => document.documentElement.offsetHeight, documentElementScroll: () => document.documentElement.scrollHeight, documentElementBoundingClientRect: () => document.documentElement.getBoundingClientRect().bottom, max: () => Math.max(...Ee(Ie)), min: () => Math.min(...Ee(Ie)), grow: () => Ie.max(), lowestElement: () => je("bottom"), taggedElement: () => je("bottom") }, xe = { enabled: () => M, getOffset: () => w, type: "width", auto: () => Te(xe, !1), autoOverflow: () => Te(xe, !0), bodyScroll: () => document.body.scrollWidth, bodyOffset: () => document.body.offsetWidth, custom: () => c.width(), documentElementScroll: () => document.documentElement.scrollWidth, documentElementOffset: () => document.documentElement.offsetWidth, documentElementBoundingClientRect: () => document.documentElement.getBoundingClientRect().right, max: () => Math.max(...Ee(xe)), min: () => Math.min(...Ee(xe)), rightMostElement: () => je("right"), scroll: () => Math.max(xe.bodyScroll(), xe.documentElementScroll()), taggedElement: () => je("right") }; function Ne(e, t, n, o, i) { let r, a; !function () { const e = (e, t) => !(Math.abs(e - t) <= Z); return r = void 0 === n ? Ie[x]() : n, a = void 0 === o ? xe[G]() : o, A && e(I, r) || M && e(Y, a) }() && "init" !== e ? !(e in { init: 1, size: 1 }) && (A && x in y || M && G in y) && qe() : (Re(), I = r, Y = a, Le(I, Y, e, i)) } function ke(e, t, n, o, i) { document.hidden || Ne(e, 0, n, o, i) } function Re() { Q || (Q = !0, requestAnimationFrame((() => { Q = !1 }))) } function Be(e) { I = Ie[x](), Y = xe[G](), Le(I, Y, e) } function qe(e) { const t = x; x = f, Re(), Be("reset"), x = t } function Le(e, t, n, o, i) { L < 0 || (void 0 !== i || (i = J), function () { const r = `${H}:${`${e + (b || 0)}:${t + (w || 0)}`}:${n}${void 0 === o ? "" : `:${o}`}`; U ? window.parent.iframeParentListener(p + r) : V.postMessage(p + r, i) }()) } function De(e) { const t = { init: function () { k = e.data, V = e.source, ce(), P = !1, setTimeout((() => { N = !1 }), u) }, reset() { N || Be("resetPage") }, resize() { ke("resizeParent") }, moveToAnchor() { R.findTarget(o()) }, inPageLink() { this.moveToAnchor() }, pageInfo() { const e = o(); te ? te(JSON.parse(e)) : Le(0, 0, "pageInfoStop") }, parentInfo() { const e = o(); ne ? ne(Object.freeze(JSON.parse(e))) : Le(0, 0, "parentInfoStop") }, message() { const e = o(); _(JSON.parse(e)) } }, n = () => e.data.split("]")[1].split(":")[0], o = () => e.data.slice(e.data.indexOf(":") + 1), i = () => "iframeResize" in window || void 0 !== window.jQuery && "" in window.jQuery.prototype, r = () => e.data.split(":")[2] in { true: 1, false: 1 }; p === `${e.data}`.slice(0, h) && (!1 !== P ? r() && t.init() : function () { const o = n(); o in t ? t[o]() : i() || r() || re(`Unexpected message (${e.data})`) }()) } function He() { "loading" !== document.readyState && window.parent.postMessage("[iFrameResizerChild]Ready", "*") } "undefined" != typeof window && (window.iframeChildListener = e => De({ data: e, sameDomain: !0 }), o(window, "message", De), o(window, "readystatechange", He), He()) })); \ No newline at end of file diff --git a/wwwroot/vendor/iframe-resizer/parent.js b/wwwroot/vendor/iframe-resizer/parent.js index fe2a986..63e91bf 100644 --- a/wwwroot/vendor/iframe-resizer/parent.js +++ b/wwwroot/vendor/iframe-resizer/parent.js @@ -1,13 +1,7 @@ -/** - * Minified by jsDelivr using Terser v5.19.2. - * Original file: /npm/@iframe-resizer/parent@5.0.2/index.umd.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -/*! +/*! * @preserve * - * @module iframe-resizer/parent 5.0.2 (umd) - 2024-05-30 + * @module iframe-resizer/parent 5.1.5 (umd) - 2024-07-09 * * @license GPL-3.0 for non-commercial use only. * For commercial use, you must purchase a license from @@ -21,4 +15,6 @@ * * @copyright (c) 2013 - 2024, David J. Bradshaw. All rights reserved. */ -!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).iframeResize = t() }(this, (function () { "use strict"; const e = "[iframe-resizer]"; const t = t => `${e}[${function (e) { return window.top === window.self ? `Parent page: ${e}` : window?.parentIFrame?.getId ? `${window.parentIFrame.getId()}: ${e}` : `Nested parent page: ${e}` }(t)}]`, i = (e, i, ...n) => window?.console[e](t(i), ...n), n = (e, ...t) => i("warn", e, ...t), o = (t, i) => console?.warn((e => t => window.chrome ? e(t.replaceAll("
", "\n").replaceAll("", "").replaceAll("", "").replaceAll("", "").replaceAll("", "").replaceAll("", "")) : e(t.replaceAll("
", "\n").replaceAll(/<[/a-z]+>/gi, "")))((t => (...i) => [`${e}[${t}]`, ...i].join(" "))(t))(i)), r = "5.0.2", a = "[iFrameSizer]", s = a.length, l = Object.freeze({ max: 1, scroll: 1, bodyScroll: 1, documentElementScroll: 1 }), c = (e, t, i, n) => e.addEventListener(t, i, n || !1), d = (e, t, i) => e.removeEventListener(t, i, !1), u = e => { if (!e) return ""; let t = -559038744, i = 1103547984; for (let n, o = 0; o < e.length; o++)n = e.codePointAt(o), t = Math.imul(t ^ n, 2246822519), i = Math.imul(i ^ n, 3266489917); return t ^= Math.imul(t ^ i >>> 15, 1935289751), i ^= Math.imul(i ^ t >>> 15, 3405138345), t ^= i >>> 16, i ^= t >>> 16, (2097152 * (i >>> 0) + (t >>> 11)).toString(36) }, f = e => e.replaceAll(/[A-Za-z]/g, (e => String.fromCodePoint((e <= "Z" ? 90 : 122) >= (e = e.codePointAt(0) + 19) ? e : e - 26))), p = ["Puchspk Spjluzl Rlf", "Tpzzpun Spjluzl Rlf", "Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.Jvttlyjphs SpjluzlMvy jvttlyjphs bzl,

pmyhtl-ylzpgly ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa oaawz://pmyhtl-ylzpgly.jvt/wypjpun.Vwlu Zvbyjl SpjluzlPm 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 spjluzl rlf pu

pmyhtl-ylzpgly vwapvuz av NWSc3.Mvy tvyl pumvythapvu wslhzl zll: oaawz://pmyhtl-ylzpgly.jvt/nws", "NWSc3 Spjluzl ClyzpvuAopz clyzpvu vm

pmyhtl-ylzpgly pz ilpun bzlk bukly aol alytz vm aol NWS C3 spjluzl. Aopz spjluzl hssvdz fvb av bzl

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.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.Mvy tvyl pumvythapvu cpzpa oaawz://pmyhtl-ylzpgly.jvt/wypjpun."], m = ["NWSc3", "zvsv", "wyv", "ibzpulzz", "vlt"], h = Object.fromEntries(["2cgs7fdf4xb", "1c9ctcccr4z", "1q2pc4eebgb", "ueokt0969w", "w2zxchhgqz", "1umuxblj2e5"].map(((e, t) => [e, Math.max(0, t - 1)]))), y = e => f(p[e]), g = e => { const t = e[f("spjluzl")]; if (!t) return -1; const i = t.split("-"); let n = function (e = "") { let t = -2; const i = u(f(e)); return i in h && (t = h[i]), t }(i[0]); return 0 === n || (e => e[2] === u(e[0] + e[1]))(i) || (n = -2), n }, w = {}, b = Object.freeze({ autoResize: !0, bodyBackground: null, bodyMargin: null, bodyPadding: null, checkOrigin: !0, direction: "vertical", inPageLinks: !1, heightCalculationMethod: "auto", id: "iFrameResizer", log: !1, license: void 0, mouseEvents: !0, offsetHeight: null, offsetWidth: null, postMessageTarget: null, sameDomain: !1, scrolling: !1, sizeHeight: !0, sizeWidth: !1, warningTimeout: 5e3, tolerance: 0, widthCalculationMethod: "auto", onClose: () => !0, onClosed() { }, onInit: !1, onMessage: null, onMouseEnter() { }, onMouseLeave() { }, onReady: e => { "function" == typeof w[e.id].onInit && (o(e.id, "\nDeprecated Option\n\nThe onInit() function is deprecated and has been replaced with onReady(). It will be removed in a future version of iFrame Resizer.\n "), w[e.id].onInit(e)) }, onResized() { }, onScroll: () => !0 }), v = { position: null, version: r }; function z(e) { function t() { x(L), M(), C("onResized", L) } function i(e) { if ("border-box" !== e.boxSizing) return 0; return (e.paddingTop ? parseInt(e.paddingTop, 10) : 0) + (e.paddingBottom ? parseInt(e.paddingBottom, 10) : 0) } function l(e) { if ("border-box" !== e.boxSizing) return 0; return (e.borderTopWidth ? parseInt(e.borderTopWidth, 10) : 0) + (e.borderBottomWidth ? parseInt(e.borderBottomWidth, 10) : 0) } function u(e) { return H.slice(H.indexOf(":") + 7 + e) } const f = (e, t) => (i, n) => { const o = {}; var r, a; r = function () { S(`Send ${e} (${i})`, `${e}:${t()}`, n) }, o[a = n] || (r(), o[a] = requestAnimationFrame((() => { o[a] = null }))) }, p = (e, t) => () => { const i = t => () => { w[r] ? e(t, r) : o() }; function n(e, t) { t(window, "scroll", i("scroll")), t(window, "resize", i("resize window")) } function o() { n(0, d), a.disconnect(), s.disconnect() } const r = P, a = new ResizeObserver(i("page observed")), s = new ResizeObserver(i("iframe observed")); n(0, c), a.observe(document.body, { attributes: !0, childList: !0, subtree: !0 }), s.observe(w[r].iframe, { attributes: !0, childList: !1, subtree: !1 }), w[r] && (w[r][`stop${t}`] = o) }, m = e => () => { e in w[P] && (w[P][e](), delete w[P][e]) }, h = f("pageInfo", (function () { const e = document.body.getBoundingClientRect(), t = L.iframe.getBoundingClientRect(), { scrollY: i, scrollX: n, innerHeight: o, innerWidth: r } = window, { clientHeight: a, clientWidth: s } = document.documentElement; return JSON.stringify({ iframeHeight: t.height, iframeWidth: t.width, clientHeight: Math.max(a, o || 0), clientWidth: Math.max(s, r || 0), offsetTop: parseInt(t.top - e.top, 10), offsetLeft: parseInt(t.left - e.left, 10), scrollTop: i, scrollLeft: n, documentHeight: a, documentWidth: s, windowHeight: o, windowWidth: r }) })), y = f("parentInfo", (function () { const { iframe: e } = L, { scrollWidth: t, scrollHeight: i } = document.documentElement, { width: n, height: o, offsetLeft: r, offsetTop: a, pageLeft: s, pageTop: l, scale: c } = window.visualViewport; return JSON.stringify({ iframe: e.getBoundingClientRect(), document: { scrollWidth: t, scrollHeight: i }, viewport: { width: n, height: o, offsetLeft: r, offsetTop: a, pageLeft: s, pageTop: l, scale: c } }) })), g = p(h, "PageInfo"), b = p(y, "ParentInfo"), z = m("stopPageInfo"), T = m("stopParentInfo"); function W(e) { const t = e.getBoundingClientRect(); return k(), { x: Number(t.left) + Number(v.position.x), y: Number(t.top) + Number(v.position.y) } } function F(e) { const t = e ? W(L.iframe) : { x: 0, y: 0 }; let i = ((e, t) => ({ x: e.width + t.x, y: e.height + t.y }))(L, t); window.top === window.self ? (v.position = i, O(P)) : window.parentIFrame ? window.parentIFrame["scrollTo" + (e ? "Offset" : "")](i.x, i.y) : n(P, "Unable to scroll to requested position, window.parentIFrame not found") } function O(e) { const { x: t, y: i } = v.position, n = w[e]?.iframe; !1 !== C("onScroll", { iframe: n, top: i, left: t, x: t, y: i }) ? M() : R() } function A(e) { let t = {}; if (0 === L.width && 0 === L.height) { const e = u(9).split(":"); t = { x: e[1], y: e[0] } } else t = { x: L.width, y: L.height }; C(e, { iframe: L.iframe, screenX: Number(t.x), screenY: Number(t.y), type: L.type }) } const C = (e, t) => j(P, e, t); let H = e.data, L = {}, P = null; "[iFrameResizerChild]Ready" !== H ? a === `${H}`.slice(0, s) && H.slice(s).split(":")[0] in w && (L = function () { const e = H.slice(s).split(":"), t = e[1] ? Number(e[1]) : 0, n = w[e[0]]?.iframe, o = getComputedStyle(n); return { iframe: n, id: e[0], height: t + i(o) + l(o), width: Number(e[2]), type: e[3], version: e[4] } }(), P = L.id, P ? (function (e) { if (!w[e]) throw new Error(`${L.type} No settings for ${e}. Message was: ${H}`) }(P), L.type in { true: 1, false: 1, undefined: 1 } || (w[P].loaded = !0, function () { let e = !0; return null === L.iframe && (n(P, `The iframe (${L.id}) was not found.`), e = !1), e }() && function () { const { origin: t, sameDomain: i } = e; if (i) return !0; let n = w[P]?.checkOrigin; if (n && "null" != `${t}` && !(n.constructor === Array ? function () { let e = 0, i = !1; for (; e < n.length; e++)if (n[e] === t) { i = !0; break } return i }() : function () { const e = w[P]?.remoteHost; return t === e }())) throw new Error(`Unexpected message received from: ${t} for ${L.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[P]?.firstRun && w[P] && (w[P].firstRun = !1), L.type) { case "close": $(L.iframe); break; case "message": i = u(6), C("onMessage", { iframe: L.iframe, message: JSON.parse(i) }); break; case "mouseenter": A("onMouseEnter"); break; case "mouseleave": A("onMouseLeave"); break; case "autoResize": w[P].autoResize = JSON.parse(u(9)); break; case "scrollTo": F(!1); break; case "scrollToOffset": F(!0); break; case "pageInfo": h("start", P), g(); break; case "parentInfo": y("start", P), b(); break; case "pageInfoStop": z(); break; case "parentInfoStop": T(); break; case "inPageLink": !function (e) { const t = e.split("#")[1] || "", i = decodeURIComponent(t); let n = document.getElementById(i) || document.getElementsByName(i)[0]; n ? function () { const e = W(n); v.position = { x: e.x, y: e.y }, O(P) }() : window.top !== window.self && window.parentIFrame && window.parentIFrame.moveToAnchor(t) }(u(9)); break; case "reset": I(L); break; case "init": t(), function (e) { try { w[e].sameDomain = !!w[e]?.iframe?.contentWindow?.iframeChildListener } catch (t) { w[e].sameDomain = !1 } }(P), (e = L.version) !== r && (void 0 !== e || o(P, "Legacy version detected in iframe\n\nDetected legacy version of child page script. It is recommended to update the page in the iframe to use @iframe-resizer/child.\n\nSee https://iframe-resizer.com/setup/#child-page-setup for more details.\n")), N = !0, C("onReady", L.iframe); break; default: if (0 === L.width && 0 === L.height) return void n(`Unsupported message received (${L.type}), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`); if (0 === L.width || 0 === L.height) return; if (document.hidden) return; t() }var e, i }())) : n("iframeResizer received messageData without id, message was: ", H)) : Object.keys(w).forEach((e => { w[e].mode >= 0 && S("iFrame requested init", E(e), e) })) } function j(e, t, i) { let n = null, o = null; if (w[e]) { if (n = w[e][t], "function" != typeof n) throw new TypeError(`${t} on iFrame[${e}] is not a function`); o = n(i) } return o } function T(e) { const t = e.id; delete w[t] } function $(e) { const t = e.id; if (!1 !== j(t, "onClose", t)) { try { e.parentNode && e.remove() } catch (e) { n(e) } j(t, "onClosed", t), T(e) } } function k(e) { null === v.position && (v.position = { x: window.scrollX, y: window.scrollY }) } function R() { v.position = null } function M(e) { null !== v.position && (window.scrollTo(v.position.x, v.position.y), R()) } function I(e) { k(e.id), x(e), S("reset", "reset", e.id) } function x(e) { const t = e.id; function i(t) { const i = `${e[t]}px`; e.iframe.style[t] = i } w[t].sizeHeight && i("height"), w[t].sizeWidth && i("width") } function S(e, t, i, r) { w[i] && (w[i]?.postMessageTarget ? function () { const { postMessageTarget: e, targetOrigin: n } = w[i]; if (w[i].sameDomain) try { return void w[i].iframe.contentWindow.iframeChildListener(a + t) } catch (e) { w[i].sameDomain = !1 } e.postMessage(a + t, n) }() : n(i, `[${e}] IFrame(${i}) not found`), r && w[i]?.warningTimeout && (w[i].msgTimeout = setTimeout((function () { void 0 !== w[i] && (w[i].loaded || w[i].loadErrorShown || (w[i].loadErrorShown = !0, o(i, `\nNo response from iFrame\n \nThe iframe (${i}) has not responded within ${w[i].warningTimeout / 1e3} seconds. Check @iframe-resizer/child package has been loaded in the iframe.\n\nThis 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.\n`))) }), w[i].warningTimeout))) } function E(e) { const t = w[e]; return [e, "8", t.sizeWidth, t.log, "32", !0, t.autoResize, t.bodyMargin, t.heightCalculationMethod, t.bodyBackground, t.bodyPadding, t.tolerance, t.inPageLinks, "child", t.widthCalculationMethod, t.mouseEvents, t.offsetHeight, t.offsetWidth, t.sizeHeight, t.license, v.version, t.mode].join(":") } let W = 0, N = !1, F = !1; const O = e => t => { function a(e) { if (!e) return {}; if ("object" != typeof e) throw new TypeError("Options is not an object"); return ("sizeWidth" in e || "sizeHeight" in e || "autoResize" in e) && o(s, 'Deprecated Option\n\nThe sizeWidth, sizeHeight and autoResize options have been replaced with new direction option which expects values of "vertical", "horizontal" or "horizontal".\n'), e } const s = function (i) { if (i && "string" != typeof i) throw new TypeError("Invalid id for iFrame. Expected String"); return "" !== i && i || (t.id = i = function () { let t = e?.id || b.id + W++; return null !== document.getElementById(t) && (t += W++), t }(), (e || {}).log), i }(t.id); return s in w && "iFrameResizer" in t ? n(s, "Ignored iFrame, already setup.") : (function (e) { var i, n; w[s] = { iframe: t, firstRun: !0, remoteHost: t?.src.split("/").slice(0, 3).join("/"), ...b, ...a(e), mode: g(e) }, function () { if ("horizontal" === w[s].direction) return w[s].sizeWidth = !0, void (w[s].sizeHeight = !1); if ("none" === w[s].direction) return w[s].sizeWidth = !1, w[s].sizeHeight = !1, void (w[s].autoResize = !1); if ("vertical" !== w[s].direction) throw new TypeError(s, `Direction value of "${w[s].direction}" is not valid`) }(), i = e?.offset, i && ("vertical" === w[s].direction ? w[s].offsetHeight = i : w[s].offsetWidth = i), null === w[s].postMessageTarget && (w[s].postMessageTarget = t.contentWindow), w[s].targetOrigin = !0 === w[s].checkOrigin ? "" === (n = w[s].remoteHost) || null !== n.match(/^(about:blank|javascript:|file:\/\/)/) ? "*" : n : "*" }(e), function () { const { mode: e } = w[s]; e < 0 && o("Parent", `${y(e + 2)}${y(2)}`), F || e < 0 || (F = !0, ((e, ...t) => { i("info", e, ...t) })(`v${r} (${(e => f(m[e]))(e)})`), e < 1 && o("Parent", y(3))) }(), C(), function () { switch (t.style.overflow = !1 === w[s]?.scrolling ? "hidden" : "auto", w[s]?.scrolling) { case "omit": break; case !0: t.scrolling = "yes"; break; case !1: t.scrolling = "no"; break; default: t.scrolling = w[s] ? w[s].scrolling : "no" } }(), function () { const { bodyMargin: e } = w[s]; "number" != typeof e && "0" !== e || (w[s].bodyMargin = `${e}px`) }(), function (e) { const { id: i } = t; w[s].mode >= 0 && (c(t, "load", (function () { S("iFrame.onload", `${e}:${N}`, i, !0), function () { const e = w[s]?.firstRun, i = w[s]?.heightCalculationMethod in l; !e && i && I({ iframe: t, height: 0, width: 0, type: "init" }) }() })), S("init", `${e}:${N}`, i, !0)) }(E(s)), function () { if (w[s]) { const e = { close: $.bind(null, w[s].iframe), disconnect: T.bind(null, w[s].iframe), removeListeners() { o(s, "\nDeprecated Method Name\n\nThe emoveListeners() method has been renamed to isconnect().\n"), this.disconnect() }, resize: S.bind(null, "Window resize", "resize", s), moveToAnchor(e) { S("Move to anchor", `moveToAnchor:${e}`, s) }, sendMessage(e) { S("Send Message", `message:${e = JSON.stringify(e)}`, s) } }; w[s].iframe.iframeResizer = e, w[s].iframe.iFrameResizer = e } }()), t?.iFrameResizer }; function A() { !1 === document.hidden && function (e, t) { const i = e => w[e]?.autoResize && !w[e]?.firstRun; Object.keys(w).forEach((function (n) { i(n) && S(e, t, n) })) }("Tab Visible", "resize") } const C = (e => { let t = !1; return function () { return t ? void 0 : (t = !0, Reflect.apply(e, this, arguments)) } })((() => { c(window, "message", z), c(document, "visibilitychange", A), window.iframeParentListener = e => z({ data: e, sameDomain: !0 }) })), H = "[iframeResizer] "; const L = function () { function e(e) { switch (!0) { case !e: throw new TypeError(`${H}iframe is not defined`); case !e.tagName: throw new TypeError(`${H}Not a valid DOM element`); case "IFRAME" !== e.tagName.toUpperCase(): throw new TypeError(`${H}Expected