{"version":3,"file":"embed.js","sources":["../node_modules/iframe-resizer/js/iframeResizer.min.js","../node_modules/micromodal/dist/micromodal.es.js","../src/templates/modal/modal.html?raw","../src/templates/spin/spin.html?raw","../src/main.js"],"sourcesContent":["/*! iFrame Resizer (iframeSizer.min.js ) - v4.4.5 - 2024-07-10\n * Desc: Force cross domain iframes to size to content.\n * Requires: iframeResizer.contentWindow.min.js to be loaded into the target frame.\n * Copyright: (c) 2024 David J. Bradshaw - dave@bradshaw.net\n * License: MIT\n */\nconsole.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(d){var c,l,f,a,v,z,I,x,r,u,M,i,m,k;function g(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function F(e,n,i){e.addEventListener(n,i,!1)}function B(e,n,i){e.removeEventListener(n,i,!1)}function w(e){return z+\"[\"+(n=\"Host page: \"+(e=e),n=window.top!==window.self?window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+\": \"+e:\"Nested host page: \"+e:n)+\"]\";var n}function t(e){return M[e]?M[e].log:f}function R(e,n){o(\"log\",e,n,t(e))}function O(e,n){o(\"info\",e,n,t(e))}function E(e,n){o(\"warn\",e,n,!0)}function o(e,n,i,t){!0===t&&\"object\"==typeof window.console&&console[e](w(n),i)}function n(e){function i(){t(\"Height\"),t(\"Width\"),P(function(){H(w),C(b),u(\"onResized\",w)},w,\"init\")}function n(){var e=p.slice(I).split(\":\"),n=e[1]?parseInt(e[1],10):0,i=M[e[0]]&&M[e[0]].iframe,t=getComputedStyle(i);return{iframe:i,id:e[0],height:n+function(e){if(\"border-box\"!==e.boxSizing)return 0;var n=e.paddingTop?parseInt(e.paddingTop,10):0,e=e.paddingBottom?parseInt(e.paddingBottom,10):0;return n+e}(t)+function(e){if(\"border-box\"!==e.boxSizing)return 0;var n=e.borderTopWidth?parseInt(e.borderTopWidth,10):0,e=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0;return n+e}(t),width:e[2],type:e[3]}}function t(e){var n=Number(M[b][\"max\"+e]),i=Number(M[b][\"min\"+e]),e=e.toLowerCase(),t=Number(w[e]);R(b,\"Checking \"+e+\" is in range \"+i+\"-\"+n),tM[r][\"max\"+e])throw new Error(\"Value for min\"+e+\" can not be greater than max\"+e)}}function p(e,n){null===i&&(i=setTimeout(function(){i=null,e()},n))}function b(){\"hidden\"!==document.visibilityState&&(R(\"document\",\"Trigger event: Visibility change\"),p(function(){y(\"Tab Visible\",\"resize\")},16))}function y(i,t){Object.keys(M).forEach(function(e){var n;M[n=e]&&\"parent\"===M[n].resizeFrom&&M[n].autoResize&&!M[n].firstRun&&A(i,t,M[e].iframe,e)})}function q(){F(window,\"message\",n),F(window,\"resize\",function(){var e;R(\"window\",\"Trigger event: \"+(e=\"resize\")),p(function(){y(\"Window \"+e,\"resize\")},16)}),F(document,\"visibilitychange\",b),F(document,\"-webkit-visibilitychange\",b)}function e(){function t(e,n){if(n){if(!n.tagName)throw new TypeError(\"Object is not a valid DOM element\");if(\"IFRAME\"!==n.tagName.toUpperCase())throw new TypeError(\"Expected