(()=>{var e={8812:(e,t,n)=>{"use strict";n.d(t,{A:()=>yr});var r=n(51609),o=n.n(r);const i=window.wp.i18n;var a=n(5556),s=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}var c,d,f=(c=function(e){!function(t){if("undefined"!=typeof window){var n,r=0,o=!1,i=!1,a="[iFrameSizer]",s=null,l=window.requestAnimationFrame,u={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},c={},d=null,f={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){E("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},p={};window.jQuery&&((n=window.jQuery).fn?n.fn.iFrameResize||(n.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){I(n,e)})).end()}):y("","Unable to bind to jQuery, it is not fully loaded.")),e.exports=H(),window.iFrameResize=window.iFrameResize||H()}function m(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,t,n){e.addEventListener(t,n,!1)}function v(e,t,n){e.removeEventListener(t,n,!1)}function h(e){return c[e]?c[e].log:o}function b(e,t){w("log",e,t,h(e))}function y(e,t){w("info",e,t,h(e))}function E(e,t){w("warn",e,t,!0)}function w(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](function(e){return a+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}(t),n)}function T(e){function t(){n("Height"),n("Width"),M((function(){x(A),C(D),f("onResized",A)}),A,"init")}function n(e){var t=Number(c[D]["max"+e]),n=Number(c[D]["min"+e]),r=e.toLowerCase(),o=Number(A[r]);b(D,"Checking "+r+" is in range "+n+"-"+t),ot&&(o=t,b(D,"Set "+r+" to max value")),A[r]=""+o}function r(e){return _.substr(_.indexOf(":")+7+e)}function o(e,t){var n,r;n=function(){var n,r;F("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=A.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},p[r=t]||(p[r]=setTimeout((function(){p[r]=null,n()}),32))}function i(e){var t=e.getBoundingClientRect();return N(D),{x:Math.floor(Number(t.left)+Number(s.x)),y:Math.floor(Number(t.top)+Number(s.y))}}function l(e){var t=e?i(A.iframe):{x:0,y:0},n={x:Number(A.width)+t.x,y:Number(A.height)+t.y};b(D,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):E(D,"Unable to scroll to requested position, window.parentIFrame not found"):(s=n,u(),b(D,"--"))}function u(){!1!==f("onScroll",s)?C(D):R()}function d(e){f(e,{iframe:A.iframe,screenX:A.width,screenY:A.height,type:A.type})}function f(e,t){return P(D,e,t)}var m,h,w,T,L,I,_=e.data,A={},D=null;"[iFrameResizerChild]Ready"===_?function(){for(var e in c)F("iFrame requested init",O(e),c[e].iframe,e)}():a===(""+_).substr(0,13)&&_.substr(13).split(":")[0]in c?(T=(w=_.substr(13).split(":"))[1]?parseInt(w[1],10):0,L=c[w[0]]&&c[w[0]].iframe,I=getComputedStyle(L),A={iframe:L,id:w[0],height:T+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(I)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(I),width:w[2],type:w[3]},D=A.id,c[D]&&(c[D].loaded=!0),(h=A.type in{true:1,false:1,undefined:1})&&b(D,"Ignoring init message from meta parent page"),!h&&function(e){var t=!0;return c[e]||(t=!1,E(A.type+" No settings for "+e+". Message was: "+_)),t}(D)&&(b(D,"Received: "+_),m=!0,null===A.iframe&&(E(D,"IFrame ("+A.id+") not found"),m=!1),m&&function(){var t,n=e.origin,r=c[D]&&c[D].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(b(D,"Checking connection is from allowed list of origins: "+r);ec[a]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(c[a]&&c[a].bodyMargin)&&"0"!==(c[a]&&c[a].bodyMargin)||(c[a].bodyMarginV1=c[a].bodyMargin,c[a].bodyMargin=c[a].bodyMargin+"px"),function(n){var r=m();r&&function(t){e.parentNode&&new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&S(e)}))}))})).observe(e.parentNode,{childList:!0})}(r),g(e,"load",(function(){var r,o;F("iFrame.onload",n,e,t,!0),r=c[a]&&c[a].firstRun,o=c[a]&&c[a].heightCalculationMethod in u,!r&&o&&k({iframe:e,height:0,width:0,type:"init"})})),F("init",n,e,t,!0)}(O(a)),c[a]&&(c[a].iframe.iFrameResizer={close:S.bind(null,c[a].iframe),removeListeners:L.bind(null,c[a].iframe),resize:F.bind(null,"Window resize","resize",c[a].iframe),moveToAnchor:function(e){F("Move to anchor","moveToAnchor:"+e,c[a].iframe,a)},sendMessage:function(e){F("Send Message","message:"+(e=JSON.stringify(e)),c[a].iframe,a)}}))}function _(e,t){null===d&&(d=setTimeout((function(){d=null,e()}),t))}function A(){"hidden"!==document.visibilityState&&(b("document","Trigger event: Visiblity change"),_((function(){D("Tab Visable","resize")}),16))}function D(e,t){Object.keys(c).forEach((function(n){(function(e){return c[e]&&"parent"===c[e].resizeFrom&&c[e].autoResize&&!c[e].firstRun})(n)&&F(e,t,c[n].iframe,n)}))}function H(){function e(e,t){t&&(function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected