var qsProxy = {}; function FrameBuilder(formId,appendTo,initialHeight,iframeCode,title,embedStyleJSON){this.formId=formId;this.initialHeight=initialHeight;this.iframeCode=iframeCode;this.frame=null;this.timeInterval=200;this.appendTo=appendTo||false;this.formSubmitted=0;this.frameMinWidth='100%';this.defaultHeight='';this.createFrame=function(){this.iframeDomId=document.getElementById(this.formId)?this.formId+'_'+new Date().getTime():this.formId;if(typeof $jot!=='undefined'){var iframe=document.getElementById("211541150997153");var parent=$jot(iframe).closest('.jt-feedback.u-responsive-lightbox');if(parent){this.iframeDomId='lightbox-'+this.iframeDomId;}} var iframe=document.createElement('iframe');var titleEscaped=title.replace(/[\\"']/g,'\\$&').replace(/&/g,'&');var parentURL=window.location.href;var queryParameters='';if(parentURL&&parentURL.indexOf('?')>-1){queryParameters=parentURL.substring(parentURL.indexOf('?')+1).split('&');queryParameters=queryParameters.map(x=>{const initialValue=x.substring(x.indexOf('=')+1);const encodedValue=encodeURIComponent(decodeURIComponent(initialValue));return x.replace(initialValue,encodedValue);}).join('&');} queryParameters=`?${queryParameters?`${queryParameters}&`:''}parentURL=${encodeURIComponent(parentURL)}&jsForm=true`;Object.entries(FrameBuilder.get).forEach(([key,value])=>{if(typeof value==='object'){Object.entries(value).forEach(([valueKey,valueVal])=>{valueVal=encodeURIComponent(valueVal);queryParameters+=`&${key}[${valueKey}]=${valueVal}`;})}else{value=encodeURIComponent(value);queryParameters+=`&${key}=${value}`;}});iframe.title=titleEscaped;iframe.src=`https://form.jotform.com/211541150997153${queryParameters}`;iframe.allowtransparency=true;iframe.allow='geolocation; microphone; camera; fullscreen';iframe.name=this.formId;iframe.id=this.iframeDomId;iframe.style.width='10px';iframe.style.minWidth=this.frameMinWidth;iframe.style.display='block';iframe.style.overflow='hidden';iframe.style.height=this.initialHeight+'px';iframe.style.border='none';iframe.scrolling='no';if(this.appendTo===false){var jsformScript=document.querySelector('script[src*="jsform/'+this.formId+'"]:not([data-iframe-appended])');var scriptLocatedInHead=!!jsformScript.closest('head');if(scriptLocatedInHead){var isBodyExists=!!document.body;if(isBodyExists){document.body.appendChild(iframe);}else{document.addEventListener('DOMContentLoaded',function(){if(document.body){document.body.appendChild(iframe);}else{console.log('No body element found to append the iframe');}});}}else{jsformScript.parentNode.insertBefore(iframe,jsformScript.nextSibling);} jsformScript.dataset.iframeAppended=true;}else{document.getElementById(this.appendTo).appendChild(iframe);}};this.createFrame();} FrameBuilder.get=qsProxy||[];var initialHeight="LEGACY"==='CARD'?640:539;var i211541150997153=new FrameBuilder("211541150997153",false,initialHeight,"\n\n\n\n\n\n\n\n\n\n\n\n\n