PageSourceSearch

https://engagecwcb.org/_next/static/chunks/pages/admin/sites/edito…/home-page/live-preview-269237f9d64ab39c.js

js engagecwcb.org collected 2026-09-28 23:27:29 UTC 17,663 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="46cc0024-3945-409c-be09-100039948057",e._sentryDebugIdIdentifier="sentry-dbid-46cc0024-3945-409c-be09-100039948057")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19921],{21001:(e,t,s)=>{"use strict";s.d(t,{Bn:()=>g,C7:()=>p,Es:()=>E,H0:()=>k,QM:()=>v,Qu:()=>_,UN:()=>S,YS:()=>h,Z0:()=>y,ZD:()=>d,bL:()=>m,fw:()=>b,hB:()=>O,jv:()=>x,oz:()=>u,pZ:()=>f,t9:()=>w,tA:()=>A,zi:()=>I});var a=s(44478),n=s(63857),o=s(60180),i=s.n(o);s(25012);var r=s(22600),c=s(65588),l=s(84151),p=function(e){return function(t){t({type:l.A.SET_HOME_PAGE_REVISION,revision:{id:e.id,meta:e.sections.meta,sections:e.sections.sections,published:e.published,updatedAt:e.updatedAt,oldHomePageId:e.oldHomePageId}})}},y=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e=(0,n.A)(i().mark(function e(s,a){var n,o,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=a().homePageRevision.revision.published||t,s({type:l.A.SAVE_HOME_PAGE_REVISION_REQUEST}),o=new r.A({sections:{meta:a().homePageRevision.revision.meta,sections:a().homePageRevision.revision.sections},published:n}),e.prev=3,e.next=6,o.save();case 6:c=e.sent,s({type:l.A.SAVE_HOME_PAGE_REVISION_SUCCESS,id:c.id,meta:c.sections.meta,sections:c.sections.sections,published:c.published}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),s({type:l.A.SAVE_HOME_PAGE_REVISION_FAILURE,errorMessage:e.t0.message||e.t0.statusText||e.t0.status,errors:o.errors.extract()});case 13:case"end":return e.stop()}},e,null,[[3,10]])})),function(t,s){return e.apply(this,arguments)}},u=function(e,t,s){return{type:l.A.UPDATE_HOME_PAGE_REVISION_SECTION_THEME,key:e,value:t,sectionId:s}},f=function(e,t,s){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{type:l.A.UPDATE_HOME_PAGE_REVISION_SECTION_DATA,key:e,value:t,sectionId:s,index:a}},d=function(e,t){return{type:l.A.ADD_HOME_PAGE_REVISION_SECTION_DATA,sectionId:e,tabId:t}},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{type:l.A.DELETE_HOME_PAGE_REVISION_SECTION_DATA,sectionId:e,index:t}},h=function(e,t,s){return{type:l.A.UPDATE_HOME_PAGE_REVISION_SECTION_META,key:e,value:t,sectionId:s}},g=function(e,t){return{type:l.A.ADD_NEW_HOME_PAGE_REVISION_SECTION,position:e,sectionContent:t}},_=function(e){return{type:l.A.SET_HOME_PAGE_REVISION_CURRENT_SECTION_ID,id:e}},E=function(e){return{type:l.A.SHOW_HOME_PAGE_TEMPLATES_DRAWER,value:e}},w=function(e){return{type:l.A.SHOW_HOME_PAGE_ADD_NEW_SECTIONS_DRAWER,value:e}},A=function(e){return{type:l.A.DELETE_HOME_PAGE_REVISION_SECTION,position:e}},k=function(e,t,s){return{type:l.A.SELECT_HOME_PAGE_REVISION_TEMPLATE,sections:e,templateId:t,meta:s}},b=function(e,t){return{type:l.A.UPDATE_HOME_PAGE_REVISION_TEMPLATE_META,key:e,value:t}},v=function(e){var t;return t=(0,n.A)(i().mark(function t(s){var a;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s({type:l.A.UPLOAD_HOME_PAGE_REVISION_IMAGE_REQUEST}),t.prev=1,t.next=4,c.A.perform(e);case 4:return a=t.sent,s({type:l.A.UPLOAD_HOME_PAGE_REVISION_IMAGE_SUCCESS,imageUrl:a}),t.abrupt("return",a);case 9:t.prev=9,t.t0=t.catch(1),s({type:l.A.UPLOAD_HOME_PAGE_REVISION_IMAGE_FAILURE,errorMessage:t.t0.statusText||t.t0.status});case 12:case"end":return t.stop()}},t,null,[[1,9]])})),function(e){return t.apply(this,arguments)}},O=function(e,t){return function(s,n){var o=(0,a.A)(n().homePageRevision.revision.sections),i="before"===t?e-1:e+1,r=o[e];o.splice(e,1),o.splice(i,0,r),s({type:l.A.MOVE_HOME_PAGE_REVISION_SECTION,sections:o,toIndex:i})}},S=function(e,t){var s;return s=(0,n.A)(i().mark(function s(a,n){var o,r;return i().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:o=n().homePageRevision.revision.sections[t].data,r=Object.values(e).map(function(e){return o[e]}),a({type:l.A.REORDER_HOME_PAGE_ITEMS,data:r,sectionId:t});case 4:case"end":return s.stop()}},s)})),function(e,t){return s.apply(this,arguments)}},I=function(e){return{type:l.A.CHANGE_HOME_PAGE_SECTION_KEY,key:e}},x=function(e,t){return{type:l.A.UPDATE_HOME_PAGE_REVISION,key:e,value:t}}},22600:(e,t,s)=>{"use strict";s.d(t,{A:()=>f});var a=s(23745),n=s(67251),o=s(29898),i=s(52672),r=s(76966),c=s(42969),l=s(7379),p=s.n(l);function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var u=function(e){function t(){var e,s,a,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.default)(this,t),e=t,s=[r],e=(0,i.default)(e),a=(0,o.default)(this,y()?Reflect.construct(e,s||[],(0,i.default)(this).constructor):e.apply(this,s)),p().call(a,r),a.sections=r.sections||{},a.updatedAt=r.updatedAt,a.oldHomePageId=r.oldHomePageId,a.published="boolean"!=typeof r.published||r.published,a}return(0,r.default)(t,e),(0,a.default)(t)}(p());(0,c.default)(u,"_type","home-page-revisions"),(0,c.default)(u,"baseURL","/home_page_revisions");let f=u},35008:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/sites/editors/home-page/l
1ive-preview",function(){return s(73289)}])},73289:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>i,default:()=>r});var a=s(87127),n=s(82281),o=(0,s(66489).A)((0,n.A)(a.default)),i=!0;let r=o},75912:(e,t,s)=>{"use strict";s.d(t,{A:()=>y});var a=s(59234),n=s(69364),o=s.n(n);s(14232);var i=s(67376),r=s.n(i),c=s(37876),l=function(e,t){return r()(e,{allowedTags:t||["h1","h2","h3","h4","h5","h6","blockquote","p","a","ul","ol","s","u","nl","li","b","i","strong","em","strike","code","hr","br","div","table","thead","caption","tbody","tr","th","td","pre","img","span","style"],allowedAttributes:{span:["class","style"],a:["class","style","href","target"],img:["class","style","src","width","height","alt"],"*":["class","style","src","target","alt","width","height","type","tabindex","role","aria-hidden","id"]},selfClosing:["img","br","hr"]})},p={"& a":{textDecoration:"none","&:hover":{textDecoration:"underline"}}};let y=function(e){var t=e.html,s=e.allowTags,n=e.truncateLength;return t?n?(0,c.jsx)(a.A,{component:"span",sx:p,dangerouslySetInnerHTML:{__html:o()(l(t,s),{length:n})}}):(0,c.jsx)(a.A,{component:"span",sx:p,dangerouslySetInnerHTML:{__html:l(t,s)}}):(0,c.jsx)(c.Fragment,{})}},77080:e=>{e.exports=[{key:"open_sans",name:"Open Sans",src:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"},{key:"roboto",name:"Roboto",src:"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"},{key:"lato",name:"Lato",src:"https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap"},{key:"lora_serif",name:"Lora",src:"https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap"},{key:"source_sans_pro",name:"Source Sans Pro",src:"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap"},{key:"ubuntu",name:"Ubuntu",src:"https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"},{key:"merriweather_serif",name:"Merriweather",src:"https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap"},{key:"playfair_serif",name:"Playfair Display",src:"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"exo_2",name:"Exo 2",src:"https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"arial",name:"Arial",src:""},{key:"helvetica",name:"Helvetica",src:""},{key:"montserrat",name:"Montserrat",src:"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"bree",name:"Bree",src:"https://use.typekit.net/tll6nyp.css"},{key:"fira_sans",name:"Fira Sans",src:"https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"poppins",name:"Poppins",src:"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"roboto_slab",name:"Roboto Slab",src:"https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap"},{key:"questrial",name:"Questrial",src:"https://fonts.googleapis.com/css2?family=Questrial:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"didact_gothic",name:"Didact Gothic",src:"https://fonts.googleapis.com/css2?family=Didact+Gothic:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"ropa_sans",name:"Ropa Sans",src:"https://fonts.googleapis.com/css2?family=Ropa+Sans:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"gudea",name:"Gudea",src:"https://fonts.googleapis.com/css2?family=Gudea:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"varela_round",name:"Varela Round",src:"https://fonts.googleapis.com/css2?family=Varela+Round:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"noto_sans",name:"Noto Sans",src:"https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"roboto_condensed",name:"Roboto Condensed",src:"https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap"},{key:"oswald",name:"Oswald",src:"https://fonts.googleapis.com/css2?family=Oswald:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"raleway",name:"Raleway",src:"https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"titillium_web",name:"Titillium Web",src:"https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap"},{key:"yanone_kaffeesatz",name:"Yanone Kaffeesatz",src:"https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"libre_baskerville_serif",name:"Libre Baskerville",src:"https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"knewave",name:"Knewave",src:"https://fonts.googleapis.com/css?family=Knewave:ital,wght@0,100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"assistant",name:"Assistant",src:"https://fonts.googleapis.com/css2?family=Assistant:wght@0, 100;0,400;0,700;0,900;1,100;1,400;1,700;1,900&display=swap"},{key:"cabin",name:"Cabin",src:"https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&display=swap"},{key:"aleo",name:"Aleo",src:"//fonts.googleapis.com/css?family=Aleo:300,400,700&display=swap"},{key:"mulish",name:"Mulish",src:"//fonts.googleapis.com/css?family=Mulish:300,400,700&display=swap"},{key:"red_hat_display",name:"Red Hat Display",src:"https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"barlow_condensed",name:"Barlow Condensed",src:"https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"},{key:"inter",name:"Inter",src:"https://fonts.googleapis.com/css2?family=Inter&display=swap"},{key:"outfit",name:"Outfit",src:"https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap"},{key:"libre_franklin",name:"Libre Franklin",src:"https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;700&display=swap"},{key:"lexend_deca",name:"Lexend Deca",src:"https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;700&display=swap"}
1,{key:"alegreya_sans_sc",name:"Alegreya Sans SC",src:"https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@400;700&display=swap"},{key:"figtree",name:"Figtree",src:"https://fonts.googleapis.com/css2?family=Figtree:wght@400;700&display=swap"},{key:"onest",name:"Onest",src:"https://fonts.googleapis.com/css2?family=Onest:wght@400;700&display=swap"},{key:"merriweather_sans",name:"Merriweather Sans",src:"https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;700&display=swap"}]},82281:(e,t,s)=>{"use strict";s.d(t,{A:()=>E});var a=s(44478),n=s(67251),o=s(23745),i=s(29898),r=s(52672),c=s(76966),l=s(42969),p=s(14232),y=s(77328),u=s.n(y),f=s(54237),d=s(12436),m=s(37876);function h(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,a)}return s}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(g=function(){return!!e})()}var _=function(e){e.currentTarget.onload=null,e.currentTarget.rel="stylesheet"};let E=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=p.Component;function y(){(0,n.default)(this,y);for(var e,t,s,o=arguments.length,c=Array(o),p=0;p<o;p++)c[p]=arguments[p];return t=y,s=[].concat(c),t=(0,r.default)(t),e=(0,i.default)(this,g()?Reflect.construct(t,s||[],(0,r.default)(this).constructor):t.apply(this,s)),(0,l.default)(e,"handlePFESurveyLinkUpdate",function(){(0,a.A)(document.querySelectorAll("a[href]")).forEach(function(e){e.href.includes("/survey_tools/")&&e.setAttribute("href",e.href.replace("/survey_tools/","/surveys/"))})}),e}return(0,c.default)(y,s),(0,o.default)(y,[{key:"componentDidMount",value:function(){this.props.isPFESurveyEnabled&&window.addEventListener("load",this.handlePFESurveyLinkUpdate)}},{key:"render",value:function(){var s=this.props,a=s.siteName,n=s.siteLogo,o=s.faviconUrl,i=s.siteUrl,r=s.customTrackingCode,c=s.nonceValue,y="".concat(f.i18n.t("editor:editor.siteDescription",{siteName:a})),g="".concat(f.i18n.t("editor:editor.website"));return(0,m.jsxs)(p.Fragment,{children:[(0,m.jsxs)(u(),{children:[!t&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("title",{children:a}),o&&(0,m.jsx)("link",{nonce:c,href:(0,d.G)(o),rel:"icon",type:"image/ico"}),(0,m.jsx)("meta",{content:a,property:"og:site_name"}),(0,m.jsx)("meta",{content:a,property:"og:title"}),(0,m.jsx)("meta",{content:(0,d.G)(n),property:"og:image"}),(0,m.jsx)("meta",{content:"100",property:"og:image:width"}),(0,m.jsx)("meta",{content:"100",property:"og:image:height"}),(0,m.jsx)("meta",{content:g,property:"og:type"}),(0,m.jsx)("meta",{content:"".concat(i,"/projects"),property:"og:url"}),(0,m.jsx)("meta",{content:y,property:"og:description"}),(0,m.jsx)("meta",{content:y,name:"Description"})]}),(0,m.jsx)("link",{rel:"stylesheet",type:"text/css",href:"/static/assets/css/participant-header-and-footer-styles.css"}),(0,m.jsx)("link",{rel:"stylesheet",type:"text/css",href:"/static/assets/css/user-dropdown.css"}),(0,m.jsx)("link",{rel:"stylesheet",type:"text/css",href:"/static/assets/css/froala.css"}),(0,m.jsx)("link",{rel:"stylesheet",type:"text/css",href:"/static/assets/css/animate-card.css"}),(0,m.jsx)("link",{rel:"stylesheet",charSet:"UTF-8",href:"/static/assets/css/slick/slick.min.css"}),(0,m.jsx)("link",{rel:"stylesheet",href:"/static/assets/css/slick/slick-theme.min.css"}),(0,m.jsx)("link",{rel:"stylesheet",href:"/static/assets/css/metismenujs.min.css"}),(0,m.jsx)("link",{nonce:c,rel:"preload",href:"https://unpkg.com/[email protected]/css/boxicons.min.css",as:"style",onLoad:_}),(0,m.jsx)("noscript",{children:(0,m.jsx)("link",{nonce:c,rel:"stylesheet",href:"https://unpkg.com/[email protected]/css/boxicons.min.css"})}),(0,m.jsx)("link",{rel:"preload",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css",as:"style",onLoad:_}),(0,m.jsx)("noscript",{children:(0,m.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"})})]}),(0,m.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(s),!0).forEach(function(t){(0,l.default)(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}({},this.props)),(0,m.jsx)("script",{defer:!0,nonce:c,src:"https://cdn.jsdelivr.net/npm/[email protected]/dist/metismenujs.min.js"}),(0,m.jsx)("script",{defer:!0,nonce:c,src:"https://unpkg.com/boxicons@latest/dist/boxicons.js"}),r&&!t&&(0,m.jsx)("script",{src:"/custom_tracking_code.js",type:"text/javascript",async:!0,nonce:c})]})}}])}}},e=>{e.O(0,[40990,82909,67376,88209,20599,20474,87127,55191,90636,46593,38792],()=>e(e.s=35008)),_N_E=e.O()}]);
2//# sourceMappingURL=live-preview-269237f9d64ab39c.js.map

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.