PageSourceSearch

https://citizenwatch.com/mobify/bundle/614/int-contentful-components-cms-components.js

js citizenwatch.com collected 2026-09-24 08:44:47 UTC 2,172 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3177],{69628(e,t,n){n.r(t),n.d(t,{CmsComponentErrorBoundary:()=>p,CmsComponents:()=>h});var r=n(64180),a=n(77810),o=n(48996),s=n(76879),l=n(69465),d=n(75826),m=n.n(d),c=n(42272),i=n(4207);class p extends a.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error(`[CMS] Component "${this.props.componentName}" failed to render:`,e,t)}render(){return this.state.hasError?null:this.props.children}}p.propTypes={children:m().node.isRequired,componentName:m().string};const h=({content:e,isLoading:t,showTitle:n,darkMode:d})=>{const{setColorMode:m}=(0,o.G6)();(0,a.useEffect)(()=>(m(d?"dark":"light"),()=>m("light")),[d]);const h=(0,a.useMemo)(()=>null!=e&&e.components?(0,l.x)(e.components):[],[null==e?void 0:e.components]),u=(0,s.wi)();return a.createElement(a.Fragment,null,t?a.createElement("div",{className:"p-6 bg-white shadow-lg rounded-lg","data-testid":"cms-components"},a.createElement("div",{className:"animate-pulse"},a.createElement("div",{className:"h-10 w-10 bg-brand-off-white-gray rounded-full mb-4"}),a.createElement("div",{className:"space-y-4"},a.createElement("div",{className:"h-4 bg-brand-off-white-gray rounded-sm"}),a.createElement("div",{className:"h-4 bg-brand-off-white-gray rounded-sm w-5/6"}),a.createElement("div",{className:"h-4 bg-brand-off-white-gray rounded-sm w-4/6"}),a.createElement("div",{className:"h-4 bg-brand-off-white-gray rounded-sm"})))):a.createElement(a.Fragment,null,n&&a.createElement(i.A,{as:"h1",variant:"h1",className:"mb-4"},null==e?void 0:e.title),a.createElement("div",{className:(0,c.cn)("flex flex-col items-stretch",d?"dark":"")},h.map(e=>{var t;return a.createElement(p,{key:e.id,componentName:(null===(t=e.component)||void 0===t?void 0:t.displayName)||e.id},a.createElement("div",(0,r.A)({className:"cms-fade-in"},e.fieldId?u({entryId:e.id,fieldId:e.fieldId}):null),a.createElement(e.component,e.props)))}))))};h.displayName="CmsComponents",h.propTypes={content:m().any,darkMode:m().bool,isLoading:m().bool,showTitle:m().bool}}}]);

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.