PageSourceSearch

https://ceomethod.ai/_next/static/chunks/pages/portal/events/edit-cc5c0ba96eca16a0.js

js ceomethod.ai collected 2026-10-05 11:56:22 UTC 4,193 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7184205c-74e2-4e15-a12d-d3abb8cc6ed1",e._sentryDebugIdIdentifier="sentry-dbid-7184205c-74e2-4e15-a12d-d3abb8cc6ed1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23661],{54646:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/portal/events/edit",function(){return n(75425)}])},75425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>w,default:()=>D});var a=n(37876),i=n(14232),o=n(55242),d=n(18847),s=n.n(d),r=n(98998),l=n(10799),c=n(25965),u=n(27740),m=n(74029),g=n(60692),v=n(76931),y=n(97323),h=n(10385),p=n(80902),b=n(23122),f=n(24809);let C=s()(()=>n.e(10802).then(n.bind(n,88421)),{loadableGenerated:{webpack:()=>[88421]},ssr:!1}),E=s()(()=>Promise.resolve().then(n.bind(n,45019)),{loadableGenerated:{webpack:()=>[45019]},ssr:!1}),_=()=>{var e;let t=(0,u.rd)(),{currentRouterQuery:n}=(0,h.A)(),{eventId:o}=n,{activeCommunity:d,showPayoutNudge:s,payoutInfo:_}=(0,c.U)(),[x,w]=(0,i.useState)(!1),[D,I]=(0,i.useState)(!1),[P,B]=(0,i.useState)(null),k=(0,f.A)({activeCommunity:d,communityId:null==d?void 0:d._id,isEdit:!0,eventId:o}),N=(0,b.M9)({id:o,activeCommunityId:null==d?void 0:d._id}),j=(null==_||!_.payoutDetails)&&(null==d||d.isPaidCommunity,!(null==_?void 0:_.hasPaidEvents)),{isFetchingEvent:F,onSubmitHandler:M,isSubmitting:S,isChanged:L}=k,T=(0,p.xp)(null==(e=k.formData)?void 0:e.coverMediaItems),A=(0,p.UI)();(0,y.A)(T,A);let O=async()=>{let e=await M();if(e){let n="data"in e?e.data:e;(null==n?void 0:n.changeLogId)?(B(n.changeLogId),I(!0)):(t.replace(N),(0,v.GF)((0,l.t)("changes-saved")))}};return(0,a.jsxs)("div",{className:"".concat("c-CMP-EditEventPage"," mx-auto w-full max-w-[560px] pb-[280px] pt-32"),"data-sentry-component":"EditEventPage","data-sentry-source-file":"EditEventPage.tsx",children:[F?(0,a.jsx)(g.A,{}):(0,a.jsx)(m.A,{...k,isEdit:!0,eventId:o,activeCommunity:d,onCloseForm:()=>{L?w(!0):t.replace(N)},onSubmitHandler:O,showPayoutNudge:j}),(0,a.jsx)(E,{title:(0,l.t)("discard-changes-0"),subtitle:T?A:(0,l.t)("are-you-sure-you-want-to-discard-these-event-changes"),isOpen:x,primaryBtnText:(0,l.t)("no-return"),secondaryBtnText:(0,l.t)("yes-discard-0"),primaryBtnHierarchy:"outline",secondaryBtnHierarchy:"destructive_outline",primaryBtnClassName:"border-0 bg-opacity-0 hover:bg-neutral-90",secondaryBtnClassName:"border border-error text-npl-error-light-11 bg-opacity-0 hover:bg-npl-error-light-3",onClose:()=>w(!1),primaryBtnOnClick:()=>{w(!1),(0,r.Lj)({button:{text:"Back to editing",location:"Discard Changes Event Form Confimation Modal",description:"Button used in Discard Changes Event Form Confimation Modal",event:"Cancel Discard Changes Event Form Confirmation",eventDescription:"Continue Editing by hiding the modal"},community:{name:null==d?void 0:d.title,code:null==d?void 0:d.code,id:null==d?void 0:d._id}})},secondaryBtnOnClick:()=>{(0,r.Lj)({button:{text:"Discard Changes",location:"Discard Changes Event Form Confimation Modal",description:"Button used in Discard Changes Event Form Confimation Modal",event:"Confirm Discard Changes Event Form Submission",eventDescription:"Discard changes and redirects to event management page"},community:{name:null==d?void 0:d.title,code:null==d?void 0:d.code,id:null==d?void 0:d._id}}),t.push(N)},isLoading:S,"data-sentry-element":"ConfirmationModal","data-sentry-source-file":"EditEventPage.tsx"}),D&&(0,a.jsx)(C,{changeLogId:P,onClose:()=>{I(!1),t.replace(N)},hasTopIcon:!0,subtitle:(0,l.t)("notify-your-attendees")})]})},x=()=>(0,a.jsx)(_,{"data-sentry-element":"EditEventPage","data-sentry-component":"EditEventPageIndex","data-sentry-source-file":"index.page.tsx"});x.getLayout=e=>(0,a.jsx)(o.A,{hasSideBar:!1,children:e});var w=!0;let D=x}},e=>{e.O(0,[46593,88987,41120,85824,34820,61649,86793,35238,54134,95608,46047,94085,36241,72457,83587,29072,23071,15521,88875,5173,37934,37651,9897,18160,41696,55242,97019,48728,14780,58201,87574,69956,39803,59416,50227,33992,90636,38792],()=>e(e.s=54646)),_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.