!function(undefined){if("undefined"!=typeof window){var autoResize=!0,bodyBackground="",bodyMargin=0,bodyMarginStr="",bodyObserver=null,bodyPadding="",calculateWidth=!1,doubleEventList={resize:1,click:1},eventCancelTimer=128,firstRun=!0,height=1,heightCalcModeDefault="bodyOffset",heightCalcMode=heightCalcModeDefault,initLock=!0,initMsg="",inPageLinks={},interval=32,intervalTimer=null,logging=!1,mouseEvents=!1,msgID="[iFrameSizer]",msgIdLen=msgID.length,myID="",resetRequiredMethods={max:1,min:1,bodyScroll:1,documentElementScroll:1},resizeFrom="child",sendPermit=!0,target=window.parent,targetOriginDefault="*",tolerance=0,triggerLocked=!1,triggerLockedTimer=null,throttledTimer=16,width=1,widthCalcModeDefault="scroll",widthCalcMode=widthCalcModeDefault,win=window,onMessage=function(){warn("onMessage function not defined")},onReady=function(){},onPageInfo=function(){},customCalcMethods={height:function(){return warn("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return warn("Custom width calculation function not defined"),document.body.scrollWidth}},eventHandlersByName={},passiveSupported=!1;try{var options=Object.create({},{passive:{get:function(){passiveSupported=!0}}});window.addEventListener("test",noop,options),window.removeEventListener("test",noop,options)}catch(error){}var func,context,args,result,timeout,previous,getNow=Date.now||function(){return(new Date).getTime()},getHeight={bodyOffset:function(){return document.body.offsetHeight+getComputedStyle("marginTop")+getComputedStyle("marginBottom")},offset:function(){return getHeight.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return customCalcMethods.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,getAllMeasurements(getHeight))},min:function(){return Math.min.apply(null,getAllMeasurements(getHeight))},grow:function(){return getHeight.max()},lowestElement:function(){return Math.max(getHeight.bodyOffset()||getHeight.documentElementOffset(),getMaxElement("bottom",getAllElements()))},taggedElement:function(){return getTaggedElements("bottom","data-iframe-height")}},getWidth={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return customCalcMethods.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(getWidth.bodyScroll(),getWidth.documentElementScroll())},max:function(){return Math.max.apply(null,getAllMeasurements(getWidth))},min:function(){return Math.min.apply(null,getAllMeasurements(getWidth))},rightMostElement:function(){return getMaxElement("right",getAllElements())},taggedElement:function(){return getTaggedElements("right","data-iframe-width")}},sizeIFrameThrottled=(func=sizeIFrame,timeout=null,previous=0,function(){var now=getNow(),remaining=throttledTimer-(now-(previous=previous||now));return context=this,args=arguments,remaining<=0||throttledTimer