1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[594],{349:function(e,n){var t,i,o;console.info(` 2IFRAME-RESIZER 3 4Iframe-Resizer 5 is now available via the following two packages: 5 6 * @iframe-resizer/parent 7 * @iframe-resizer/child 8 9Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery. 10 11Version 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. 12 13Please see https://iframe-resizer.com/upgrade for more details. 14`),function(r){if("undefined"!=typeof window){var a,s,c=0,d=!1,u=!1,l=7,f="[iFrameSizer]",m=f.length,g=null,p=window.requestAnimationFrame,h=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),w={},y=null,b=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!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(){F("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),v={};r!==window.jQuery&&(s=window.jQuery,s.fn?s.fn.iFrameResize||(s.fn.iFrameResize=function(e){function n(n,t){B(t,e)}return this.filter("iframe").each(n).end()}):R("","Unable to bind to jQuery, it is not fully loaded.")),i=[],r!==(o="function"==typeof(t=D)?t.apply(n,i):t)&&(e.exports=o),window.iFrameResize=window.iFrameResize||D()}function x(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function z(e,n,t){e.addEventListener(n,t,!1)}function k(e,n,t){e.removeEventListener(n,t,!1)}function I(e){return w[e]?w[e].log:d}function M(e,n){O("log",e,n,I(e))}function R(e,n){O("info",e,n,I(e))}function F(e,n){O("warn",e,n,!0)}function O(e,n,t,i){if(!0===i&&"object"==typeof window.console){var o,r,a;console[e](f+"["+(a="Host page: "+n,window.top!==window.self&&(a=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+n:"Nested host page: "+n),a)+"]",t)}}function j(e){function n(){t("Height"),t("Width"),_(function(){P(T),W(B),d("onResized",T)},T,"init")}function t(e){var n=Number(w[B]["max"+e]),t=Number(w[B]["min"+e]),i=e.toLowerCase(),o=Number(T[i]);M(B,"Checking "+i+" is in range "+t+"-"+n),o<t&&(o=t,M(B,"Set "+i+" to min value")),o>n&&(o=n,M(B,"Set "+i+" to max value")),T[i]=""+o}function i(e){return j.slice(j.indexOf(":")+l+e)}function o(e,n){var t,i,o;t=function(){var t,i;A("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),JSON.stringify({iframeHeight:(i=T.iframe.getBoundingClientRect()).height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-t.top,10),offsetLeft:parseInt(i.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,n)},i=32,o=n,v[o]||(v[o]=setTimeout(function(){v[o]=null,t()},32))}function r(e){var n=e.getBoundingClientRect();return C(B),{x:Math.floor(Number(n.left)+Number(g.x)),y:Math.floor(Number(n.top)+Number(g.y))}}function a(e){var n=e?r(T.iframe):{x:0,y:0},t={x:Number(T.width)+n.x,y:Number(T.height)+n.y};M(B,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top===window.self?(g=t,s(),M(B,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):F(B,"Unable to scroll to requested position, window.parentIFrame not found")}function s(){!1===d("onScroll",g)?S():W(B)}function c(e){var n={};if(0===Number(T.width)&&0===Number(T.height)){var t=i(9).split(":");n={x:t[1],y:t[0]}}else n={x:T.width,y:T.height};d(e,{iframe:T.iframe,screenX:Number(n.x),screenY:Number(n.y),type:T.type})}function d(e,n){return E(B,e,n)}var u,p,h,y,b,x,I,O,j=e.data,T={},B=null;"[iFrameResizerChild]Ready"===j?!function(){for(var e in w)A("iFrame requested init",L(e),w[e].iframe,e)}():f===(""+j).slice(0,m)&&j.slice(m).split(":")[0]in w?(p=(u=j.slice(m).split(":"))[1]?parseInt(u[1],10):0,y=getComputedStyle(h=w[u[0]]&&w[u[0]].iframe),w[B=(T={iframe:h,id:u[0],height:p+function(e){if("border-box"!==e.boxSizing)return 0;var n=e.paddingTop?parseInt(e.paddingTop,10):0,t=e.paddingBottom?parseInt(e.paddingBottom,10):0;return n+t}(y)+function(e){if("border-box"!==e.boxSizing)return 0;var n=e.borderTopWidth?parseInt(e.borderTopWidth,10):0,t=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0;return n+t}(y),width:u[2],type:u[3]}).id]&&(w[B].loaded=!0),(b=T.type in{true:1,false:1,undefined:1})&&M(B,"Ignoring init message from meta parent page"),!b&&(I=!0,w[x=B]||(I=!1,F(T.type+" No settings for "+x+". Message was: "+j)),I)&&(M(B,"Received: "+j),O=!0,null===T.iframe&&(F(B,"IFrame ("+T.id+") not found"),O=!1),O&&function(){var n,t=e.origin,i=w[B]&&w[B].checkOrigin;if(i&&""+t!="null"&&!(i.constructor===Array?function(){var e=0,n=!1;for(M(B,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===t){n=!0;break}return n}():(n=w[B]&&w[B].remoteHost,M(B,"Checking connection is from: "+n),t===n)))throw Error("Unexpected message received from: "+t+" for "+T.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&!function(){var e,t,u,l,f,m;switch(w[B]&&w[B].firstRun&&w[B]&&(w[B].firstRun=!1),T.type){case"close"
14:N(T.iframe);break;case"message":e=i(6),M(B,"onMessage passed: {iframe: "+T.iframe.id+", message: "+e+"}"),d("onMessage",{iframe:T.iframe,message:JSON.parse(e)}),M(B,"--");break;case"mouseenter":c("onMouseEnter");break;case"mouseleave":c("onMouseLeave");break;case"autoResize":w[B].autoResize=JSON.parse(i(9));break;case"scrollTo":a(!1);break;case"scrollToOffset":a(!0);break;case"pageInfo":o(w[B]&&w[B].iframe,B),function(){function e(e,i){function r(){w[t]?o(w[t].iframe,t):n()}["scroll","resize"].forEach(function(n){M(t,e+n+" listener for sendPageInfo"),i(window,n,r)})}function n(){e("Remove ",k)}var t=B;e("Add ",z),w[t]&&(w[t].stopPageInfo=n)}();break;case"pageInfoStop":w[B]&&w[B].stopPageInfo&&(w[B].stopPageInfo(),delete w[B].stopPageInfo);break;case"inPageLink":t=i(9),l=t.split("#")[1]||"",f=decodeURIComponent(l),m=document.getElementById(f)||document.getElementsByName(f)[0],m?(u=r(m),M(B,"Moving to in page link (#"+l+") at x: "+u.x+" y: "+u.y),g={x:u.x,y:u.y},s(),M(B,"--")):window.top===window.self?M(B,"In page link #"+l+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(l):M(B,"In page link #"+l+" not found and window.parentIFrame not found");break;case"reset":H(T);break;case"init":n(),d("onInit",T.iframe);break;default:0===Number(T.width)&&0===Number(T.height)?F("Unsupported message received ("+T.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):n()}}())):R(B,"Ignored: "+j)}function E(e,n,t){var i=null,o=null;if(w[e]){if("function"==typeof(i=w[e][n]))o=i(t);else throw TypeError(n+" on iFrame["+e+"] is not a function")}return o}function T(e){delete w[e.id]}function N(e){var n=e.id;if(!1===E(n,"onClose",n)){M(n,"Close iframe cancelled by onClose event");return}M(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(t){F(t)}E(n,"onClosed",n),M(n,"--"),T(e),a&&(a.disconnect(),a=null)}function C(e){null===g&&M(e,"Get page position: "+(g={x:r===window.pageXOffset?document.documentElement.scrollLeft:window.pageXOffset,y:r===window.pageYOffset?document.documentElement.scrollTop:window.pageYOffset}).x+","+g.y)}function W(e){null!==g&&(window.scrollTo(g.x,g.y),M(e,"Set page position: "+g.x+","+g.y),S())}function S(){g=null}function H(e){M(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),C(e.id),_(function(){P(e),A("reset","reset",e.iframe,e.id)},e,"reset")}function P(e){function n(n){var i;(function(n){if(!e.id){M("undefined","messageData id not set");return}e.iframe.style[n]=e[n]+"px",M(e.id,"IFrame ("+t+") "+n+" set to "+e[n]+"px")})(n),u||"0"!==e[n]||(u=!0,M(t,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(w).forEac
14h(function(e){!function(e){var n;function t(n){return"0px"===(w[e]&&w[e].iframe.style[n])}w[e]&&null!==(n=w[e].iframe).offsetParent&&(t("height")||t("width"))&&A("Visibility change","resize",w[e].iframe,e)}(e)})}var n,t=x();t&&(n=document.querySelector("body"),new t(function n(t){M("window","Mutation observed: "+t[0].target+" "+t[0].type),q(e,16)}).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}var t=e.iframe.id;w[t]&&(w[t].sizeHeight&&n("height"),w[t].sizeWidth&&n("width"))}function _(e,n,t){t!==n.type&&p&&!window.jasmine?(M(n.id,"Requesting animation frame"),p(e)):e()}function A(e,n,t,i,o){var r=!1;w[i=i||t.id]&&(function(){if(t&&"contentWindow"in t&&null!==t.contentWindow){var o;o=w[i]&&w[i].targetOrigin,M(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+o),t.contentWindow.postMessage(f+n,o)}else F(i,"["+e+"] IFrame("+i+") not found")}(),o&&w[i]&&w[i].warningTimeout&&(w[i].msgTimeout=setTimeout(function(){!w[i]||w[i].loaded||r||(r=!0,F(i,"IFrame has not responded within "+w[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},w[i].warningTimeout)))}function L(e){return e+":"+w[e].bodyMarginV1+":"+w[e].sizeWidth+":"+w[e].log+":"+w[e].interval+":"+w[e].enablePublicMethods+":"+w[e].autoResize+":"+w[e].bodyMargin+":"+w[e].heightCalculationMethod+":"+w[e].bodyBackground+":"+w[e].bodyPadding+":"+w[e].tolerance+":"+w[e].inPageLinks+":"+w[e].resizeFrom+":"+w[e].widthCalculationMethod+":"+w[e].mouseEvents}function B(e,n){function t(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],F(s,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var i,o,s=function(t){if("string"!=typeof t)throw TypeError("Invaild id for iFrame. Expected String");if(""===t){var i;e.id=(i=n&&n.id||b.id+c++,null!==document.getElementById(i)&&(i+=c++),t=i),d=(n||{}).log,M(t,"Added missing iframe ID: "+t+" ("+e.src+")")}return t}(e.id);s in w&&"iFrameResizer"in e?F(s,"Ignored iFrame, already setup."):(function(n){if(n=n||{},w[s]=Object.create(null),w[s].iframe=e,w[s].firstRun=!0,w[s].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw TypeError("Options is not an object")}(n),Object.keys(n).forEach(t,n),function(e){for(var n in b)Object.prototype.hasOwnProperty.call(b,n)&&(w[s][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:b[n])}(n),w[s]){var i;w[s].targetOrigin=!0===w[s].checkOrigin?""===(i=w[s].remoteHost)||null!==i.match(/^(about:blank|javascript:|file:\/\/)/)?"*":i:"*"}}(n),function(){switch(M(s,"IFrame scrolling "+(w[s]&&w[s].scrolling?"enabled":"disabled")+" for "+s),e.style.overflow=!1===(w[s]&&w[s].scrolling)?"hidden":"auto",w[s]&&w[s].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=w[s]?w[s].scrolling:"no"}}(),function(){function n(n){var t,i=w[s][n];1/0!==i&&0!==i&&(t=i,e.style[n]="number"==typeof t?i+"px":i,M(s,"Set "+n+" = "+e.style[n]))}function t(e){if(w[s]["min"+e]>w[s]["max"+e])throw Error("Value for min"+e+" can not be greater than max"+e)}t("Height"),t("Width"),n("maxHeight"),n("minHeight"),n("maxWidth"),n("minWidth")}(),("number"==typeof(w[s]&&w[s].bodyMargin)||"0"===(w[s]&&w[s].bodyMargin))&&(w[s].bodyMarginV1=w[s].bodyMargin,w[s].bodyMargin=""+w[s].bodyMargin+"px"),i=L(s),(o=x())&&(a=function(n){if(!e.parentNode)return null;var t=new n(function(n){n.forEach(function(n){Array.prototype.slice.call(n.removedNodes).forEach(function(n){n===e&&N(e)})})});return t.observe(e.parentNode,{childList:!0}),t}(o)),z(e,"load",function(){var n,t;A("iFrame.onload",i,e,r,!0),n=w[s]&&w[s].firstRun,t=w[s]&&w[s].heightCalculationMethod in h,!n&&t&&H({iframe:e,height:0,width:0,type:"init"})}),A("init",i,e,r,!0),w[s]&&(w[s].iframe.iFrameResizer={close:N.bind(null,w[s].iframe),removeListeners:T.bind(null,w[s].iframe),resize:A.bind(null,"Window resize","resize",w[s].iframe),moveToAnchor:function(e){A("Move to anchor","moveToAnchor:"+e,w[s].iframe,s)},sendMessage:function(e){A("Send Message","message:"+(e=JSON.stringify(e)),w[s].iframe,s)}}))}function q(e,n){null===y&&(y=setTimeout(function(){y=null,e()},n))}
14function U(){"hidden"!==document.visibilityState&&(M("document","Trigger event: Visibility change"),q(function(){V("Tab Visible","resize")},16))}function V(e,n){Object.keys(w).forEach(function(t){var i;w[t]&&"parent"===w[t].resizeFrom&&w[t].autoResize&&!w[t].firstRun&&A(e,n,w[t].iframe,t)})}function D(){var e;function n(n,t){t&&(function(){if(t.tagName){if("IFRAME"!==t.tagName.toUpperCase())throw TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}else throw TypeError("Object is not a valid DOM element")}(),B(t,n),e.push(t))}return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!p;e+=1)p=window[n[e]+"RequestAnimationFrame"];p?p=p.bind(window):M("setup","RequestAnimationFrame not supported")}(),z(window,"message",j),z(window,"resize",function(){var e;M("window","Trigger event: "+(e="resize")),q(function(){V("Window "+e,"resize")},16)}),z(document,"visibilitychange",U),z(document,"-webkit-visibilitychange",U),function(t,i){var o;switch(e=[],t&&t.enablePublicMethods&&F("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),n.bind(r,t));break;case"object":n(t,i);break;default:throw TypeError("Unexpected data type ("+typeof i+")")}return e}}}()},3514:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return x},default:function(){return z}});var i=t(899),o=t(349),r=t.n(o),a=t(507),s=t.n(a),c=t(959),d=t(1190),u=t.n(d);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}function f(e,n){if(null==e)return{};var t={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(n.indexOf(i)>=0)continue;t[i]=e[i]}return t}var m=["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onResized"],g=["title","forwardRef"],p=function(e){var n,t=e.title,i=e.forwardRef,o=f(e,g),a=(n=o,n.autoResize,n.bodyBackground,n.bodyMargin,n.bodyPadding,n.checkOrigin,n.inPageLinks,n.heightCalculationMethod,n.interval,n.log,n.maxHeight,n.maxWidth,n.minHeight,n.minWidth,n.resizeFrom,n.scrolling,n.sizeHeight,n.sizeWidth,n.warningTimeout,n.tolerance,n.widthCalculationMethod,n.onClosed,n.onInit,n.onMessage,n.onResized,f(n,m)),s=(0,c.useRef)(null),d=function(){var e;return u()(!(null!=s&&s.current),"[iframeSizerReact]["+(null==s||null==(e=s.current)?void 0:e.id)+"] Close event ignored, to remove the iframe update your React component"),!(null!=s&&s.current)};return(0,c.useEffect)(function(){var e=s.current;return r()(l({},o,{onClose:d}),e),function(){var n;return null==e||null==(n=e.iFrameResizer)?void 0:n.removeListeners()}},[]),(0,c.useImperativeHandle)(i,function(){return{getIframeElement:function(){return s.current},resize:function(){return s.current.iFrameResizer.resize()},moveToAnchor:function(e){return s.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,n){s.current.iFrameResizer.sendMessage(e,n)}}}),c.createElement("iframe",l({title:void 0===t?"iframe":t},a,{ref:s}))};p.propTypes={title:s().string};var h=t(3469),w=t.n(h),y=t(2239),b=t.n(y),v=t(1527),x=!0,z=function(e){var n=e.data,t=(0,i.useRouter)().query.token;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(w(),{children:[(0,v.jsx)("title",{children:n.page.seo.title||""}),(0,v.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,v.jsx)("meta",{name:"description",content:n.page.seo.metaDesc||""}),(0,v.jsx)("meta",{name:"keywords",content:n.page.seo.focuskw||""}),(0,v.jsx)("meta",{property:"og:site_name",content:n.page.seo.opengraphSiteName||""}),(0,v.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,v.jsx)("meta",{property:"og:type",content:"website"}),(0,v.jsx)("meta",{property:"og:url",content:"https://dreamcatchercharity.org/apply-now"}),(0,v.jsx)("meta",{property:"og:title",content:n.page.seo.title||""}),(0,v.jsx)("meta",{property:"og:description",content:n.page.seo.opengraphDescription||""}),(0,v.jsx)("meta",{property:"og:image",content:n.page.seo.opengraphImage?n.page.seo.opengraphImage.mediaItemUrl:""}),(0,v.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,v.jsx)("meta",{property:"twitter:url",content:"https://dreamcatchercharity.org/apply-now"}),(0,v.jsx)("meta",{property:"twitter:title",content:n.page.seo.twitterTitle||""}),(0,v.jsx)("meta",{property:"twitter:description",content:n.page.seo.twitterDescription||""}),(0,v.jsx)("meta",{property:"twitter:image",content:n.page.seo.twitterImage?n.page.seo.twitterImage:""})]}),(0,v.jsx)("div",{className:b().wrapper,children:(0,v.jsx)("div",{className:b().content,children:(0,v.jsx)(p,{log:!0,src:t?"https://backend.dreamcatchercharity.org/apply-onl
14ine/?gf_token=".concat(t):"https://backend.dreamcatchercharity.org/apply-online",style:{minWidth:"100%"}})})})]})}},4152:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apply-now",function(){return t(3514)}])},2239:function(e){e.exports={wrapper:"applyNow_wrapper__DyQ4U",content:"applyNow_content__4GqQZ"}},1190:function(e){"use strict";var n=function(){};e.exports=n}},function(e){e.O(0,[774,888,179],function(){return e(e.s=4152)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.