PageSourceSearch

https://eudaimonia-coaching-circle-a079b3af.base44.app/static/react-BanELCRV.js

js eudaimonia-coaching-circle-a079b3af.base44.app collected 2026-10-03 03:14:27 UTC 7,420 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{_ as t,b as n}from"./vendor-react-Ccu8BlQU.js";import{M as r,N as i,R as a}from"./errorReporting-C8KVtz7O.js";var o=e(n(),1),s=t(),c={accept:`Accept all`,reject:`Reject all`,manage:`Cookie settings`,dismiss:`Got it`,doNotSell:`Do Not Sell or Share My Personal Information`,dialog:`Cookie consent`,close:`Dismiss`},l={surface:`#ffffff`,border:`#e5e5e5`,title:`#1b1c1e`,body:`#5d5d5d`,link:`#bf4310`,primaryBg:`#1b1c1e`,primaryFg:`#ffffff`,outlineBorder:`#c0c0c0`};function u(e=640){let[t,n]=o.useState(!1);return o.useEffect(()=>{if(typeof window>`u`||typeof window.matchMedia!=`function`)return;let t=window.matchMedia(`(max-width: ${e}px)`),r=()=>n(t.matches);return r(),t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[e]),t}function d(e,t){let n={fontSize:13,fontWeight:600,lineHeight:`20px`,padding:`8px 14px`,borderRadius:8,cursor:`pointer`,border:`1px solid transparent`,whiteSpace:`nowrap`,fontFamily:`inherit`,...t?{width:`100%`,textAlign:`center`}:null};return e===`primary`?{...n,background:l.primaryBg,color:l.primaryFg}:e===`outline`?{...n,background:`transparent`,color:l.title,borderColor:l.outlineBorder}:{...n,background:`transparent`,color:l.body}}var f=`https://base44.com/privacy-policy`,p=`cookie policy`;function m(e){let t=(e||``).trim();return/^https:\/\//i.test(t)?t:f}function h(e,t,n){let r=n?.trim()||p,i=e.indexOf(r);if(i===-1)return e;let a=m(t);return[e.slice(0,i),(0,s.jsx)(`a`,{href:a,target:`_blank`,rel:`noopener noreferrer`,style:{color:l.link,textDecoration:`underline`,fontFamily:`inherit`},children:r},`policy`),e.slice(i+r.length)]}function g(e){let{mode:t,copy:n,showDoNotSell:r}=e,i=u();if(t===`none`)return null;let a=e.forceMobile??i,o=n.title?.trim(),f=(t===`opt_in`?void 0:n.notice_body?.trim())||n.body?.trim()||`We use cookies to improve your experience.`,p=[];t===`opt_in`?p.push((0,s.jsx)(`button`,{type:`button`,style:d(`outline`,!0),onClick:e.onRejectAll,children:n.reject_label?.trim()||c.reject},`reject`),(0,s.jsx)(`button`,{type:`button`,style:d(`ghost`,!0),onClick:e.onManage,children:n.manage_label?.trim()||c.manage},`manage`),(0,s.jsx)(`button`,{type:`button`,style:d(`primary`,!0),onClick:e.onAcceptAll,children:n.accept_label?.trim()||c.accept}
1,`accept`)):t===`notice_only`?p.push((0,s.jsx)(`button`,{type:`button`,style:d(`primary`,!0),disabled:e.busy,onClick:e.onDismiss,children:n.dismiss_label?.trim()||c.dismiss},`dismiss`)):p.push((0,s.jsx)(`button`,{type:`button`,style:d(`ghost`,!1),"aria-label":n.close_label?.trim()||c.close,onClick:e.onDismiss,children:`✕`},`dismiss`));let m=[...p].reverse(),g=r?(0,s.jsx)(`button`,{type:`button`,onClick:e.onDoNotSell,style:{background:`none`,border:`none`,padding:0,cursor:`pointer`,fontSize:12,fontWeight:600,color:l.link,textDecoration:`underline`,fontFamily:`inherit`},children:n.do_not_sell_label?.trim()||c.doNotSell}):null,_={boxSizing:`border-box`,background:l.surface,border:`1px solid ${l.border}`,borderRadius:a?`16px 16px 0 0`:12,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,padding:a?20:16,fontFamily:`system-ui, -apple-system, Segoe UI, Roboto, sans-serif`},v=(0,s.jsx)(`div`,{style:_,role:`dialog`,"aria-label":n.dialog_label?.trim()||c.dialog,"aria-live":`polite`,children:(0,s.jsxs)(`div`,{children:[(0,s.jsxs)(`div`,{style:{minWidth:0,flex:1},children:[o&&(0,s.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:l.title},children:o}),(0,s.jsx)(`p`,{style:{margin:`4px 0 0`,fontSize:14,color:l.body},children:h(f,n.policy_url,n.policy_label)}),g&&(0,s.jsx)(`div`,{style:{marginTop:8},children:g})]}),(0,s.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`stretch`,gap:8,marginTop:12},children:m})]})}),y={position:e.positioning??`fixed`,zIndex:2147483600};
1return a?(0,s.jsx)(`div`,{style:{...y,left:0,right:0,bottom:0},children:v}):(0,s.jsx)(`div`,{style:{...y,right:16,bottom:16,width:`min(360px, calc(100vw - 32px))`},children:v})}function _(e=r){return{...o.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot),acceptAll:e.acceptAll,rejectAll:e.rejectAll,saveCustom:e.saveCustom,dismiss:e.dismiss,withdraw:e.withdraw}}var v=[`analytics`,`marketing`],y={manage_title:`Cookie settings`,essential_label:`Essential`,essential_hint:`(always on)`,analytics_label:`Analytics`,marketing_label:`Marketing`,save_label:`Save choices`,accept_label:`Accept all`};function b({store:e=r,initOptions:t,copy:n}){let c=_(e),[l,u]=o.useState(!1),[d,f]=o.useState(null);if(o.useEffect(()=>{i(e),e.init(t)},[e,t]),a()||!c.showBanner||!c.config)return null;let p=n??c.config.banner_copy;return c.config.config_version===0?(0,s.jsx)(g,{mode:`notice_only`,copy:{dialog_label:n?.dialog_label,notice_body:n?.unavailable_body??`We couldn't load your cookie settings. Non-essential cookies are off. Try again to choose your preferences.`,dismiss_label:n?.retry_label??`Try again`},busy:c.status===`loading`,showDoNotSell:!1,onDismiss:c.dismiss,onAcceptAll:c.acceptAll,onRejectAll:c.rejectAll,onManage:()=>{},onDoNotSell:c.rejectAll}):l&&d&&c.config.mode===`opt_in`?(0,s.jsx)(x,{choices:d,copy:n,onToggle:(e,t)=>f({...d,[e]:t}),onSave:()=>{c.saveCustom(d),u(!1)},onAcceptAll:()=>{c.acceptAll(),u(!1)}}):(0,s.jsx)(g,{mode:c.config.mode,copy:p,showDoNotSell:c.config.show_do_not_sell_link,onAcceptAll:c.acceptAll,onRejectAll:c.rejectAll,onManage:()=>{f(c.choices),u(!0)},onDismiss:c.dismiss,onDoNotSell:c.rejectAll})}function x({choices:e,copy:t,onToggle:n,onSave:r,onAcceptAll:i}){let a={essential:t?.essential_label?.trim()||y.essential_label,analytics:t?.analytics_label?.trim()||y.analytics_label,marketing:t?.marketing_label?.trim()||y.marketing_label};return(0,s.jsx)(`div`,{style:{position:`fixed`,inset:0,zIndex:2147483600,background:`rgba(0,0,0,0.4)`,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:16},children:(0,s.jsxs)(`div`,{style:{width:`100%`,maxWidth:480,boxSizing:`border-box`,background:`#fff`,border:`1px solid #e5e5e5`,borderRadius:12,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,padding:16,fontFamily:`system-ui, -apple-system, Segoe UI, Roboto, sans-serif`},children:[(0,s.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1b1c1e`},children:t?.manage_title?.trim()||y.manage_title}),(0,s.jsxs)(`label`,{style:{display:`flex`,gap:8,alignItems:`center`,margin:`12px 0`,fontSize:13,color:`#5d5d5d`},children:[(0,s.jsx)(`input`,{type:`checkbox`,checked:!0,disabled:!0}),` `,a.essential,` `,(0,s.jsx)(`span`,{style:{color:`#929292`},children:t?.essential_hint?.trim()||y.essential_hint})]}),v.map(t=>(0,s.jsxs)(`label`,{style:{display:`flex`,gap:8,alignItems:`center`,margin:`12px 0`,fontSize:13,color:`#1b1c1e`},children:[(0,s.jsx)(`input`,{type:`checkbox`,checked:e[t],onChange:e=>n(t,e.target.checked)}),a[t]]},t)),(0,s.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:16},children:[(0,s.jsx)(`button`,{type:`button`,onClick:r,style:{fontSize:13,fontWeight:600,padding:`8px 14px`,borderRadius:8,border:`1px solid #c0c0c0`,background:`transparent`,cursor:`pointer`,fontFamily:`inherit`},children:t?.save_label?.trim()||y.save_label}),(0,s.jsx)(`button`,{type:`button`,onClick:i,style:{fontSize:13,fontWeight:600,padding:`8px 14px`,borderRadius:8,border:`1px solid transparent`,background:`#1b1c1e`,color:`#fff`,cursor:`pointer`,fontFamily:`inherit`},children:t?.accept_label?.trim()||y.accept_label})]})]})})}export{_ as n,g as r,b as t};

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.