1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[115],{9593:function(t,e,i){var s=i(3454);const n="object"===typeof performance&&performance&&"function"===typeof performance.now?performance:Date,o="function"===typeof AbortController?AbortController:class{constructor(){this.signal=new l}abort(){this.signal.dispatchEvent("abort")}},r="function"===typeof AbortSignal,a="function"===typeof o.AbortSignal,l=r?AbortSignal:a?o.AbortController:class{constructor(){this.aborted=!1,this._listeners=[]}dispatchEvent(t){if("abort"===t){this.aborted=!0;const e={type:t,target:this};this.onabort(e),this._listeners.forEach((t=>t(e)),this)}}onabort(){}addEventListener(t,e){"abort"===t&&this._listeners.push(e)}removeEventListener(t,e){"abort"===t&&(this._listeners=this._listeners.filter((t=>t!==e)))}},h=new Set,c=(t,e)=>{const i=`LRU_CACHE_OPTION_${t}`;p(i)&&f(i,`${t} option`,`options.${e}`,b)},u=(t,e)=>{const i=`LRU_CACHE_METHOD_${t}`;if(p(i)){const{prototype:s}=b,{get:n}=Object.getOwnPropertyDescriptor(s,t);f(i,`${t} method`,`cache.${e}()`,n)}},d=(...t)=>{"object"===typeof s&&s&&"function"===typeof s.emitWarning?s.emitWarning(...t):console.error(...t)},p=t=>!h.has(t),f=(t,e,i,s)=>{h.add(t);d(`The ${e} is deprecated. Please use ${i} instead.`,"DeprecationWarning",t,s)},v=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),g=t=>v(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?y:null:null;class y extends Array{constructor(t){super(t),this.fill(0)}}class m{constructor(t){if(0===t)return[];const e=g(t);this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class b{constructor(t={}){const{max:e=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:r,allowStale:a,dispose:l,disposeAfter:u,noDisposeOnSet:f,noUpdateTTL:y,maxSize:w=0,sizeCalculation:x,fetchMethod:k,fetchContext:S,noDeleteOnFetchRejection:z,noDeleteOnStaleGet:T}=t,{length:_,maxAge:L,stale:A}=t instanceof b?{}:t;if(0!==e&&!v(e))throw new TypeError("max option must be a nonnegative integer");const O=e?g(e):Array;if(!O)throw new Error("invalid max value: "+e);if(this.max=e,this.maxSize=w,this.sizeCalculation=x||_,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!==typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=k||null,this.fetchMethod&&"function"!==typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.fetchContext=S,!this.fetchMethod&&void 0!==S)throw new TypeError("cannot set fetchContext without fetchMethod");if(this.keyMap=new Map,this.keyList=new Array(e).fill(null),this.valList=new Array(e).fill(null),this.next=new O(e),this.prev=new O(e),this.head=0,this.tail=0,this.free=new m(e),this.initialFill=1,this.size=0,"function"===typeof l&&(this.dispose=l),"function"===typeof u?(this.disposeAfter=u,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!f,this.noUpdateTTL=!!y,this.noDeleteOnFetchRejection=!!z,0!==this.maxSize){if(!v(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!a||!!A,this.noDeleteOnStaleGet=!!T,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!r,this.ttlResolution=v(s)||0===s?s:1,this.ttlAutopurge=!!n,this.ttl=i||L||0,this.ttl){if(!v(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const t="LRU_CACHE_UNBOUNDED";if(p(t)){h.add(t);d("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,b)}}A&&c("stale","allowStale"),L&&c("maxAge","ttl"),_&&c("length","sizeCalculation")}getRemainingTTL(t){return this.has(t,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new y(this.max),this.starts=new y(this.max),this.setItemTTL=(t,e,i=n.now())=>{if(this.starts[t]=0!==e?i:0,this.ttls[t]=e,0!==e&&this.ttlAutopurge){const i=setTimeout((()=>{this.isStale(t)&&this.delete(this.keyList[t])}),e+1);i.unref&&i.unref()}},this.updateItemAge=t=>{this.starts[t]=0!==this.ttls[t]?n.now():0};let t=0;const e=()=>{const e=n.now();if(this.ttlResolution>0){t=e;const i=setTimeout((()=>t=0),this.ttlResolution);i.unref&&i.unref()}return e};this.getRemainingTTL=i=>{const s=this.keyMap.get(i);return void 0===s?0:0===this.ttls[s]||0===this.starts[s]?1/0:this.starts[s]+this.ttls[s]-(t||e())},this.isStale=i=>0!==this.ttls[i]&&0!==this.starts[i]&&(t||e())-this.starts[i]>this.ttls[i]}updateItemAge(t){}setItemTTL(t,e,i){}isStale(t){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new y(this.max),this.removeItemSize=t=>{this.calculatedSize-=this.sizes[t],this.sizes[t]=0},this.requireSize=(t,e,i,s)=>{if(!v(i)){if(!s)throw new TypeError("invalid size value (must be positive integer)");if("function"!==typeof s)throw new TypeError("sizeCalculation must be a function");if(i=s(e,t),!v(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return i},this.addItemSize=(t,e)=>{this.sizes[t]=e;const i=this.maxSize-this.sizes[t];for(;this.calculatedSize>i;)this.evict(!0);this.calculatedSize+=this.sizes[t]}}removeItemSize(t){}addItemSize(t,e){}requireSize(t,e,i,s){if(i||s)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.tail;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.head);)e=this.prev[e]}*rindexes({allowStale:t=this.allowStale}={}){if(this.size)for(let e=this.head;this.isValidIndex(e)&&(!t&&this.isStale(e)||(yield e),e!==this.tail);)e=this.next[e]}isValidIndex(t){return this.keyMap.get(this.keyList[t])===t}*entries(){for(const t of this.indexes())yield[this.keyList[t],this.valList[t]]}*rentries(){for(const t of this.rindexes())yield[this.keyList[t],this.valList[t]]}*keys(){for(const t of this.indexes())yield this.keyList[t]}*rkeys(){for(const t of this.rindexes())yield this.keyList[t]}*values(){for(const t of this.indexes())yield this.valList[t]}*rvalues(){for(const t of this.rindexes())yield this.valList[t]}[Symbol.iterator](){return this.entries()}find(t,e={}){for(const i of this.indexes())if(t(this.valList[i],this.keyList[i],this))return this.get(this.keyList[i],e)}forEach(t,e=this){for(const i of this.indexes())t.call(e,this.valList[i],this.keyList[i],this)}
1rforEach(t,e=this){for(const i of this.rindexes())t.call(e,this.valList[i],this.keyList[i],this)}get prune(){return u("prune","purgeStale"),this.purgeStale}purgeStale(){let t=!1;for(const e of this.rindexes({allowStale:!0}))this.isStale(e)&&(this.delete(this.keyList[e]),t=!0);return t}dump(){const t=[];for(const e of this.indexes({allowStale:!0})){const i=this.keyList[e],s=this.valList[e],o={value:this.isBackgroundFetch(s)?s.__staleWhileFetching:s};if(this.ttls){o.ttl=this.ttls[e];const t=n.now()-this.starts[e];o.start=Math.floor(Date.now()-t)}this.sizes&&(o.size=this.sizes[e]),t.unshift([i,o])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=n.now()-t}this.set(e,i.value,i)}}dispose(t,e,i){}set(t,e,{ttl:i=this.ttl,start:s,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:r=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(o=this.requireSize(t,e,o,r),this.maxSize&&o>this.maxSize)return this;let l=0===this.size?void 0:this.keyMap.get(t);if(void 0===l)l=this.newIndex(),this.keyList[l]=t,this.valList[l]=e,this.keyMap.set(t,l),this.next[this.tail]=l,this.prev[l]=this.tail,this.tail=l,this.size++,this.addItemSize(l,o),a=!1;else{const i=this.valList[l];e!==i&&(this.isBackgroundFetch(i)?i.__abortController.abort():n||(this.dispose(i,t,"set"),this.disposeAfter&&this.disposed.push([i,t,"set"])),this.removeItemSize(l),this.valList[l]=e,this.addItemSize(l,o)),this.moveToTail(l)}if(0===i||0!==this.ttl||this.ttls||this.initializeTTLTracking(),a||this.setItemTTL(l,i,s),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const t=this.valList[this.head];return this.evict(!0),t}}evict(t){const e=this.head,i=this.keyList[e],s=this.valList[e];return this.isBackgroundFetch(s)?s.__abortController.abort():(this.dispose(s,i,"evict"),this.disposeAfter&&this.disposed.push([s,i,"evict"])),this.removeItemSize(e),t&&(this.keyList[e]=null,this.valList[e]=null,this.free.push(e)),this.head=this.next[e],this.keyMap.delete(i),this.size--,e}has(t,{updateAgeOnHas:e=this.updateAgeOnHas}={}){const i=this.keyMap.get(t);return void 0!==i&&!this.isStale(i)&&(e&&this.updateItemAge(i),!0)}peek(t,{allowStale:e=this.allowStale}={}){const i=this.keyMap.get(t);if(void 0!==i&&(e||!this.isStale(i))){const t=this.valList[i];return this.isBackgroundFetch(t)?t.__staleWhileFetching:t}}backgroundFetch(t,e,i,s){const n=void 0===e?void 0:this.valList[e];if(this.isBackgroundFetch(n))return n;const r=new o,a={signal:r.signal,options:i,context:s},l=new Promise((e=>e(this.fetchMethod(t,n,a)))).then((e=>(r.signal.aborted||this.set(t,e,a.options),e)),(s=>{if(this.valList[e]===l){!i.noDeleteOnFetchRejection||void 0===l.__staleWhileFetching?this.delete(t):this.valList[e]=l.__staleWhileFetching}if(l.__returned===l)throw s}));return l.__abortController=r,l.__staleWhileFetching=n,l.__returned=null,void 0===e?(this.set(t,l,a.options),e=this.keyMap.get(t)):this.valList[e]=l,l}isBackgroundFetch(t){return t&&"object"===typeof t&&"function"===typeof t.then&&Object.prototype.hasOwnProperty.call(t,"__staleWhileFetching")&&Object.prototype.hasOwnProperty.call(t,"__returned")&&(t.__returned===t||null===t.__returned)}async fetch(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:r=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,fetchContext:c=this.fetchContext,forceRefresh:u=!1}={}){if(!this.fetchMethod)return this.get(t,{allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:s});const d={allowStale:e,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:n,noDisposeOnSet:o,size:r,sizeCalculation:a,noUpdateTTL:l,noDeleteOnFetchRejection:h};let p=this.keyMap.get(t);if(void 0===p){const e=this.backgroundFetch(t,p,d,c);return e.__returned=e}{const s=this.valList[p];
1if(this.isBackgroundFetch(s))return e&&void 0!==s.__staleWhileFetching?s.__staleWhileFetching:s.__returned=s;if(!u&&!this.isStale(p))return this.moveToTail(p),i&&this.updateItemAge(p),s;const n=this.backgroundFetch(t,p,d,c);return e&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n.__returned=n}}get(t,{allowStale:e=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet}={}){const n=this.keyMap.get(t);if(void 0!==n){const o=this.valList[n],r=this.isBackgroundFetch(o);if(this.isStale(n))return r?e?o.__staleWhileFetching:void 0:(s||this.delete(t),e?o:void 0);if(r)return;return this.moveToTail(n),i&&this.updateItemAge(n),o}}connect(t,e){this.prev[e]=t,this.next[t]=e}moveToTail(t){t!==this.tail&&(t===this.head?this.head=this.next[t]:this.connect(this.prev[t],this.next[t]),this.connect(this.tail,t),this.tail=t)}get del(){return u("del","delete"),this.delete}delete(t){let e=!1;if(0!==this.size){const i=this.keyMap.get(t);if(void 0!==i)if(e=!0,1===this.size)this.clear();else{this.removeItemSize(i);const e=this.valList[i];this.isBackgroundFetch(e)?e.__abortController.abort():(this.dispose(e,t,"delete"),this.disposeAfter&&this.disposed.push([e,t,"delete"])),this.keyMap.delete(t),this.keyList[i]=null,this.valList[i]=null,i===this.tail?this.tail=this.prev[i]:i===this.head?this.head=this.next[i]:(this.next[this.prev[i]]=this.next[i],this.prev[this.next[i]]=this.prev[i]),this.size--,this.free.push(i)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return e}clear(){for(const t of this.rindexes({allowStale:!0})){const e=this.valList[t];if(this.isBackgroundFetch(e))e.__abortController.abort();else{const i=this.keyList[t];this.dispose(e,i,"delete"),this.disposeAfter&&this.disposed.push([e,i,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return u("reset","clear"),this.clear}get length(){return((t,e)=>{const i=`LRU_CACHE_PROPERTY_${t}`;if(p(i)){const{prototype:s}=b,{get:n}=Object.getOwnPropertyDescriptor(s,t);f(i,`${t} property`,`cache.${e}`,n)}})("length","size"),this.size}static get AbortController(){return o}static get AbortSignal(){return l}}t.exports=b},3454:function(t,e,i){"use strict";var s,n;t.exports=(null==(s=i.g.process)?void 0:s.env)&&"object"===typeof(null==(n=i.g.process)?void 0:n.env)?i.g.process:i(7663)},4677:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sitemap",function(){return i(5619)}])},5619:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSG:function(){return O},default:function(){return E}});var s=i(7568),n=i(4051),o=i.n(n),r=i(5893),a=i(7294),l=i(9593),h=i.n(l),c=i(4452),u="https://pagedata.sgff.io",d="3c188660-cfe2-4af8-8578-5daff15026dc_9de9eab1-fbaf-4b14-a0e1-a9398f8eb478",p="published",f=3600,v={"user-agent":"pagedata-next/1"};function g(t,e){return y.apply(this,arguments)}function y(){return(y=(0,s.Z)(o().mark((function t(e,i){var s,n,r,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s="".concat(u).concat(e),console.log("Fetching page from pagedata:",s),t.next=4,fetch(s,{headers:v});case 4:if(n=t.sent,r={},!(n.status>=200&&n.status<=299)){t.next=12;break}return t.next=9,n.json();case 9:r=t.sent,t.next=13;break;case 12:return t.abrupt("return",{notFound:!0});case 13:if(a={},i){t.next=16;break}return t.abrupt("return",{props:r,revalidate:f});case 16:return a[i]=r,t.abrupt("return",{props:a,revalidate:f});case 18:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"data",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];console.info("Fetching page from pagedata:",t),i.status||(i.status=p),s&&(i.status="draft"),i.token||(i.token=d);var n=new URLSearchParams(i).toString();return g("/api/pages/".concat(t,"?").concat(n),e)}var b=["lessons","advice","articles","conversations","education-resources","extended-lists","stories","inspiration","landing-pages"],w=function(){var t=(0,s.Z)(o().mark((function t(e){var i,s,n,r,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=new URLSearchParams({status:"published",token:d,parentPageSlug:"optionb-cms-".concat(e)}).toString(),t.next=4,g("/api/pages?".concat(n),"pages");case 4:return r=t.sent,a=null===r||void 0===r||null===(i=r.props)||void 0===i||null===(s=i.pages)||void 0===s?void 0:s.map((function(t){return t.slug})),t.abrupt("return",a||[]);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=new(h())({max:1,fetchMethod:(0,s.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),allowStale:!0,ttl:432e5}),k=(function(){var t=(0,s.Z)(o().mark((function t(e){var i,s,n,r,a,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=[],t.next=4,m("optionb-cms-landing-pages-self","data",{},!1);case 4:if(t.t1=i=t.sent,t.t0=null===t.t1,t.t0){t.next=8;break}t.t0=void 0===i;case 8:if(!t.t0){t.next=12;break}t.t2=void 0,t.next=13;break;case 12:t.t2=null===(s=i.props)||void 0===s||null===(n=s.data)||void 0===n?void 0:n.content;case 13:return null===(l=t.t2)||void 0===l||null===(r=l.supportingSelf)||void 0===r||r.items.map((function(t){var e;a.push(null===t||void 0===t||null===(e=t.cta)||void 0===e?void 0:e.url)})),t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)})))}(),function(){var t=(0,s.Z)(o().mark((function t(){var e,i,n,r,a,l,h,c,u,d,p,f,v;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d=[],console.log("generating sitemap"),t.next=5,Promise.all(b.map(function(){var t=(0,s.Z)(o().mark((function t(e){var i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,w(e);case 2:return i=t.sent,t.prev=3,t.next=6,z(i);case 6:t.sent.forEach((function(t){var e=T(t),i=S(e,t);d.push(i)})),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),console.log("error",t.t0);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}()));case 5:return t.next=7,m("optionb-cms-landing-pages-self","data",{},!1);case 7:if(t.t1=e=t.sent,t.t0=null===t.t1,t.t0){t.next=11;break}t.t0=void 0===e;case 11:if(!t.t0){t.next=15;break}t.t2=void 0,t.next=16;break;case 15:t.t2=null===(i=e.props)||void 0===i||null===(n=i.data)||void 0===n?void 0:n.content;case 16:return null===(p=t.t2)||void 0===p||null===(r=p.supportingSelf)||void 0===r||r.items.forEac
1h((function(t){var e,i=null===t||void 0===t||null===(e=t.cta)||void 0===e?void 0:e.url,s=S(i,t.hero);d.push(s)})),t.next=20,m("optionb-cms-landing-pages-others","data",{},!1);case 20:if(t.t4=a=t.sent,t.t3=null===t.t4,t.t3){t.next=24;break}t.t3=void 0===a;case 24:if(!t.t3){t.next=28;break}t.t5=void 0,t.next=29;break;case 28:t.t5=null===(l=a.props)||void 0===l||null===(h=l.data)||void 0===h?void 0:h.content;case 29:return null===(f=t.t5)||void 0===f||null===(c=f.grid2x2)||void 0===c||null===(u=c.items)||void 0===u||u.forEach((function(t){var e,i=null===t||void 0===t||null===(e=t.cta)||void 0===e?void 0:e.url,s=S(i,{title:t.copy});d.push(s)})),_.forEach((function(t){var e=S(t,{title:t});d.push(e)})),v=S("/",{}),d.push(v),t.abrupt("return",d);case 35:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()),S=function(t,e){return{link:t,lastmod:e.updatedOn,title:e.title}},z=function(t){return Promise.all(t.map(function(){var t=(0,s.Z)(o().mark((function t(e){var i,s,n;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m(e,"data",{},!1);case 2:return i=t.sent,s=i.props.data,(n=(null===s||void 0===s?void 0:s.content)||{}).slug=e,n.updatedOn=s.updatedOn,t.abrupt("return",n);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()))},T=function(t){var e=(0,c.Z)(t).link;return"/"===e&&(e="/".concat(t.slug)),(e=e.replace("optionb-cms-stories-","stories/").replace("build-resilience/conversation/","build-resilience/conversations/").replace("optionb-cms-landing-pages-","").replace("optionb-cms-extended-lists-","").replace("optionb-cms-inspiration-","build-resilience/inspiration-video/")).includes("/self")&&(e="supporting-self"),"/others"===e&&(e="supporting-others"),e.startsWith("/")||(e="/".concat(e)),e},_=["/lists/find-a-way-to-help","/lists/give-meaningful-gifts","/book","/book/discussion-guide","/guidelines","/excerpt","/advisory-board","/terms","/privacy","/about","/bookexcerpt","/bookexcerpt-es","/contact","/kit/styles","/ob-holidays/empathy-cards","/ob-holidays/empathy-menu","/ob-holidays/heart-warmer-cards","/optionbthere/holidays/support-kids-whose-families-have-changed","/optionbthere/holidays/results/all-content","/optionbthere/holidays/help-loved-ones-make-the-most-of-their-holidays","/optionbthere/holiday-cards","/optionbthere/holidays/empathy-menu","/articles/volunteer-for-a-good-cause","/others","/optionbthere/holidays/care-for-the-caregivers-in-your-life","/optionbthere/holidays/results/helping-others","/category/resilience","/category/grief-and-loss","/stories/its-important-to-process-your-grief-because-its-going-to-come-out-somehow-bjtbwgvae","/optionbthere/holidays/results/extra-support","/category/incarceration","/optionbthere/holidays/give-meaningful-gifts","/stories/option-b-is-turning-your-battle-scars-into-badges-of-honor-h1colxrlw","/advice/care-for-the-caregivers-in-your-life","/stories/my-parenting-took-a-turn-for-which-i-was-completely-ill-equipped-bjexuyk-","/stories/when-i-face-a-difficult-challenge-i-think-if-those-boys-didnt-stop-me-at-sixteen-then-i-cant-let-this-stop-me-now-h1ktwbmae","/stories/i-was-truly-choosing-to-happen-to-life-over-letting-life-happen-to-me-i-was-choosing-resiliency-hkquz2szz","/articles/how-to-support-small-businesses-during-covid-19","/stories/when-i-graduated-it-was-the-best-day-of-my-life-because-i-remember-how-close-i-was-to-giving-up-s1w9ofmtx","/additional-support","/stories/depression-has-informed-me-of-my-life-hkvhsxlz","/stories/finding-joy-for-jan-bkjkdk0yb","/articles/how-to-care-for-yourself-and-your-kids-when-natural-disasters-are-in-the-news","/support-for-lgbtq-facing-rejection","/category/health-illness-and-injury","/articles/share-the-gift-of-empathy-with-your-kids","/optionbthere/holidays/honor-lost-loved-ones","/articles/how-to-support-kids-during-covid-19","/optionbthere/holidays/start-a-conversation","/category/raising-resilient-kids","/option-b-gathering","/stories/i-finally-feel-in-control-of-my-mental-health-v2oyhe1zj","/articles/support-a-loved-one-working-through-addiction","/stories/giving-back-to-survivors-of-natural-disasters-s1eozcmgx","/category/abuse-and-sexual-assault","/optionbthere/holidays/heart-warmer-cards","/bouncing-forward","/articles/read-mothers-day-advice-from-the-option-b-community","/stories/my-mission-is-to-help-the-disabled-define-their-disability-not-to-allow-their-disability-to-define-them-syaqitq6l","/optionbthere/holidays/write-a-thoughtful-holiday-letter","/stories/fall-down-seven-times-stand-up-eight-rjfsraolz","/sitemap.xml","/stories/i-had-lived-through-the-end-of-the-world-before-i-had-even-experienced-truly-living-in-it-s19dd98iz","/stories/ive-left-syria-but-im-not-free-the-fight-starts-when-you-flee-but-it-doesnt-have-an-end-hk7zoev6l","/optionbthere/holidays/ask-for-the-help-you-need","/getty","/stories/im-now-able-to-think-to-myself-thank-you-universe-for-putting-me-through-all-that-because-i-can-use-it-to-help-others-b1whybxae","/optionbthere/holidays/find-ways-to-be-there-even-when-youre-far-away","/stories/all-i-needed-to-know-i-learned-from-taking-out-the-trash-hklxuuyxw","/optionbthere/holidays/write-down-positive-moments","/stories/the-highs-are-as-guaranteed-as-the-lows-and-neither-lasts-forever-that-is-reality-h1mtvlacx","/stories/it-gets-me-out-of-bed-every-day-ready-to-tell-a-new-story-one-of-certainty-and-determination-rky55eldw","/optionbthere/holidays/find-inspiration-in-religious-traditions","/supporting-mental-health","/articles/how-to-be-there-for-someone-experiencing-domestic-violence-during-covid-19","/articles/navigating-your-familys-reaction-to-your-lgbtq-identity","/optionbthere/holidays/empathy-cards","/stories/ive-come-to-realize-our-time-and-the-time-we-have-with-others-are-limited-we-dont-have-a-choice-so-we-just-live-rypjpyyew","/groups","/optionbthere/holidays/find-a-way-to-help","/stories/at-the-touch-of-grief-everyone-becomes-an-author-of-their-own-tragic-story-all-while-searching-and-hoping-for-a-happier-ending-hy5koa2kz","/stories/mother-dead-try-to-save-the-baby-by8aoorax","/optionbthere/holidays/host-an-all-feelings-welcome-dinner","/optionbthere/holidays/holiday-season-bill-of-rights","/optionbthere/holidays/being-thoughtful-about-holiday-greetings","/articles/resolve-to-be-there-beyond-the-holidays","/advice/help-your-loved-one-plan-for-significant-days","/build-resilience/lessons/self-confidence-self-compassion","/build-resilience/video/health-healing-and-resilience-during-covid-19","/build-resilience/video/grief-storytelling-and-ritual-liberation-struggle","/build-resilience/video/brene-brown-the-power-of-vulnerability","/build-resilience/ins
1piration-video/joan-barnes-on-the-importance-of-vulnerability-in-her-recovery-from-bulimia","/build-resilience/inspiration-video/living-beyond-limits","/build-resilience/inspiration-video/lucy-kalanithi-what-makes-life-worth-living-in-the-face-of-death"],L=i(4246),A=i(4419),O=(i(2510),!0);function E(t){var e=t.common,i=t.categories,n=t.page,l=t.anouncementBar,h=(0,a.useState)([]),c=h[0],u=h[1],d=e.content,p=null===n||void 0===n?void 0:n.content,f=l.content;return(0,a.useEffect)((function(){var t=function(){var t=(0,s.Z)(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x.fetch();case 2:e=t.sent,u(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(L.Z,{common:e,meta:p}),(0,r.jsx)(A.Z,{common:d,categories:i,cookies:f}),(0,r.jsx)("main",{class:"font-marcelus",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("h1",{className:"mb-6 text-2.8xl",children:"Sitemap"}),(0,r.jsx)("ul",{className:"list-outside list-disc",children:c.map((function(t,e){return(0,r.jsx)("li",{className:"text-theme-label-color py-1.5 hover:text-slate-500 hover:underline",children:(0,r.jsx)("a",{href:t.link,children:t.title||t.link})},e)}))})]})})]})}},4452:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});var s={buildResilience:"/build-resilience",lesson:"/build-resilience/lessons/",advice:"/build-resilience/advice/",video:"/build-resilience/video/",inspirationvideo:"/build-resilience/inspiration-video/",conversation:"/build-resilience/conversations/"};function n(t){var e,i="/",n=null===t||void 0===t||null===(e=t.slug)||void 0===e?void 0:e.replace("optionb-cms-",""),o=(null===t||void 0===t?void 0:t.content)||{};if(o.videoType)return n.startsWith("inspiration-")&&(n=n.replace("inspiration-","inspiration/")),{link:n.replace("education-resources-","/build-resilience/video/")};if(o.url)return{link:o.url,external:!0};if(o.type&&s[o.type]){var r=n,a=["lessons","advice","articles","conversations","education-resources"].find((function(t){n.startsWith("".concat(t,"-"))}));if(a)return r.relace("".concat(a,"-"),""),{link:"".concat(s[o.type]).concat(r)}}return n.startsWith("lessons-")?i=n.replace("lessons-","/build-resilience/lessons/"):n.startsWith("advice-")?i=n.replace("advice-","/build-resilience/advice/"):n.startsWith("articles-")?i=n.replace("articles-","/articles/"):n.startsWith("conversations-")?i=n.replace("conversations-","/build-resilience/conversations/"):n.startsWith("inspiration-")?i=n.replace("inspiration-","/build-resilience/inspiration/"):n.startsWith("inspirations-")?i=n.replace("inspirations-","/build-resilience/inspirations/"):n.startsWith("education-resources-")&&(i=n.replace("education-resources-","/build-resilience/video/")),{link:i}}},7663:function(t){!function(){var e={308:function(t){var e,i,s=t.exports={};function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(e===setTimeout)return setTimeout(t,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(s){try{return e.call(null,t,0)}catch(s){return e.call(this,t,0)}}}!function(){try{e="function"===typeof setTimeout?setTimeout:n}catch(t){e=n}try{i="function"===typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var a,l=[],h=!1,c=-1;function u(){h&&a&&(h=!1,a.length?l=a.concat(l):c=-1,l.length&&d())}function d(){if(!h){var t=r(u);h=!0;for(var e=l.length;e;){for(a=l,l=[];++c<e;)a&&a[c].run();c=-1,e=l.length}a=null,h=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}s.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new p(t,e)),1!==l.length||h||r(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=f,s.addListener=f,s.once=f,s.off=f,s.removeListener=f,s.removeAllListeners=f,
1s.emit=f,s.prependListener=f,s.prependOnceListener=f,s.listeners=function(t){return[]},s.binding=function(t){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(t){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}}},i={};function s(t){var n=i[t];if(void 0!==n)return n.exports;var o=i[t]={exports:{}},r=!0;try{e[t](o,o.exports,s),r=!1}finally{r&&delete i[t]}return o.exports}s.ab="//";var n=s(308);t.exports=n}()},7568:function(t,e,i){"use strict";function s(t,e,i,s,n,o,r){try{var a=t[o](r),l=a.value}catch(h){return void i(h)}a.done?e(l):Promise.resolve(l).then(s,n)}function n(t){return function(){var e=this,i=arguments;return new Promise((function(n,o){var r=t.apply(e,i);function a(t){s(r,n,o,a,l,"next",t)}function l(t){s(r,n,o,a,l,"throw",t)}a(void 0)}))}}i.d(e,{Z:function(){return n}})}},function(t){t.O(0,[458,772,774,888,179],(function(){return e=4677,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.