!function(){"use strict";var e={n:function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(t,{a:t}),t},d:function(r,t){for(var n in t)e.o(t,n)&&!e.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:t[n]})},o:function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};e.r(r),e.d(r,{AppFrame:function(){return a},AppFrameContainer:function(){return d}});var t=window.vendor.React,n=e.n(t);const a=({iframeSrc:e})=>{const r=new URL(e),a=(0,t.createElement)("iframe",{id:"et-vb-app-frame",src:`${r.href}&app_window=1`});return n().createElement("div",{id:"et-vb-app-frame-wrapper"},a)};var o=window.jQuery,i=e.n(o);const d=()=>{const e=window?.DiviAppFrameData?.iframeSrc??"";return(0,t.useEffect)((()=>{i()("html").addClass("et-vb-top-window-html");const e=i()("#et-vb-app-frame");e.parents().addClass("et-vb-root-ancestor"),e.parentsUntil("body").addClass("et-vb-iframe-ancestor")}),[]),(0,t.createElement)(a,{iframeSrc:e})};(window.divi=window.divi||{}).appFrame=r}();