PageSourceSearch

https://dataskeptic.com/assets/AppPlus-CHDEHPvq.js

js dataskeptic.com collected 2026-10-01 10:16:06 UTC 76,700 bytes, 27 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ActionRunner-BUE_9DIk.js","assets/index-DN4Mwqf7.js","assets/index-qzk8SpoE.css","assets/ActionRunnerMain-q0XID2wW.js","assets/Parameter-DD2b9kxf.js","assets/index-CeTPcGzX.js","assets/index-SviPHZzR.css","assets/Parameter-GM3-JXgb.css","assets/SplitPaneLayout-CYe7S9cP.js","assets/useMobile-D8fDk965.js","assets/index-Cu4DO8L0.js","assets/motion-j9FxiGRE.js","assets/SplitPaneLayout-CBDMVGfO.css","assets/AppMenu-BKz22tte.js","assets/Placeholder-BfICVJLU.js","assets/AppMenu-DrqAYQje.css","assets/StreamViewer-DTrl6OAL.js","assets/SpreadsheetViewer-0aBpyk4X.js","assets/ValidationsEditor-9eUU24Dk.js","assets/index-Bq1GzDBn.js","assets/ace-Dlf-vt7D.js","assets/types-C-48g5o1.js","assets/SpreadsheetViewer-DrD078zl.css","assets/StreamEChart-xITwTqqn.js","assets/ReactECharts-BtHj0bXP.js","assets/FileViewer-vY3FOqMN.js","assets/Tab-UZsBiH8e.js","assets/JSONViewer-Bu0_hIJH.js","assets/papaparse.min-D6Gm67i-.js","assets/useAudioPosition-CPloxytS.js","assets/FileViewer-eLp6Tput.css","assets/StreamTriggerDataHandler-Cs0IsTmf.js","assets/CustomTemplateModal-Ds-_T8OI.js","assets/mode-css-ZyOVlraq.js","assets/mode-text-owca_3Io.js","assets/Popup-CI8dlaUY.js","assets/StreamViewer-CV4P0Y33.css","assets/ActionInfo-BIM1zBnI.js","assets/JobDetailView-BZ4JBm31.js","assets/PlusScriptView-CbHSws3c.js","assets/_commonjs-dynamic-modules-TDtrdbi3.js","assets/ParameterBuilder-D6MDV4qs.js","assets/SelectOptions-CX_-i7or.js","assets/SelectOptions-C4wsj7iT.css","assets/types-0x_1vaZr.js","assets/StreamSelectorV2-CMYzFjhf.js","assets/Card-cLjeqwtT.js","assets/ParameterBuilder-COngnc8h.css","assets/style-BRPsycUQ.js","assets/style-B5DZHykP.css","assets/applications-4-Xsf5u6.js","assets/PlusScriptView-BYkh_Wh7.css","assets/mode-json-DGKgiNOd.js","assets/OptimizerPane-CgzJuXhG.js","assets/AdminEditActionModal-DqdnxGQG.js","assets/OptimizerPane-x-42T9_v.css","assets/ActionRunner-C-H1uSfs.css","assets/AgentsApp-Cu7SDJl5.js","assets/api-OnuSWmem.js","assets/CredentialPicker-BbRhDx1i.js","assets/EmailLayout-Dn0ikM7Y.js","assets/OpenedFile-DF9M3-Ds.js","assets/leaflet-CoeUjYat.js","assets/index-BpoLgcEt.js","assets/leaflet-CIGW-MKW.css","assets/ext-language_tools-4FlylyQT.js","assets/AudioFileViewer-q2LNITxm.js","assets/AudioFileViewer-Bxl78QV0.css","assets/Playlist-DYoV_nez.js","assets/purify.es-B_J904Nm.js","assets/ApplicationContext-CgvY33Jd.js","assets/usePrompt-B0EunRfp.js","assets/toConsumableArray-u9GFSwrg.js","assets/OpenedFile-C5YtzX4F.css","assets/quill-D-Ncpkvi.css","assets/PlusScriptRouteEditor-CUU43gvO.js","assets/ApiGateway-C5utUpws.js","assets/ApiSecurityPrefs-BpoewwwJ.js","assets/prism-DhdOSkyD.js","assets/Statistic-DOisVuND.js","assets/ApiGateway-DWm13bxG.css","assets/WebBuilderChat-7FUuxk22.css","assets/ApiUser-BshVhiQn.js","assets/ApiUser-BHq2rMnO.css","assets/ChromeIntegration-CQ9mUkO5.js","assets/Files-8ew-50DY.js","assets/index-B9ygI19o.js","assets/AudioRecorder-AlOoDz5H.js","assets/WebCam-nUDyO9kj.js","assets/WebCam-C-TvHnTh.css","assets/JobViewerModal-CKTjHPHi.js","assets/Files-C-fxNGCt.css","assets/Step-C8C3963e.js","assets/ChromeIntegration-BAoCb02G.css","assets/Dashboard-D6aWkt-D.js","assets/outputActions-FyfPcXwd.js","assets/AppWebsiteV2-ClyCSvQD.js","assets/Support-BHZo4W1C.js","assets/Support-Bdvlxltu.css","assets/sanitizeCss-DDeV3a_4.js","assets/ThemeEditor-WHlrAEfK.js","assets/AppWebsiteV2-CMAjWrZe.css","assets/useCredentialReports-xrk7mg-r.js","assets/Dashboard-BQQAX2MJ.js","assets/Dashboard-9OCESHVt.css","assets/Parameter-D-2E5g6H.js","assets/useDebounce-D6bLFlxb.js","assets/Dashboard-B0dPyskg.css","assets/PublicDashboard-D9gXor-J.js","assets/PublicNotebookPage-BeHBtcQp.js","assets/Streams-40ciSb3w.js","assets/ItemActionButtonsRunner-BhCzVyIt.js","assets/ReceiptViewerModal-DXJRO76Y.js","assets/vis-network-BHjj1H0E.js","assets/theme-monokai-KobNCr1x.js","assets/YouTube.esm-CeHaenUX.js","assets/Streams-CzacdLoy.css","assets/katex-CT0VjEgY.css","assets/Container-Cx8AwJqT.js","assets/PublicNotebookPage-BoBsRKKS.css","assets/Dropbox-BJ2iIj2b.js","assets/Discord-DbgSvpfD.js","assets/Discord-CMuT2X3X.css","assets/Parallax-B1e3rbLe.js","assets/ParallaxEngine-DMKwpMiL.js","assets/use-transform-n5dcjMB3.js","assets/AudioRecordingPublic-BU_wehFX.js","assets/PodcastLatestEpisode-CfI7X7Sd.js","assets/imageResize-BSgDhDs_.js","assets/MailingList-DYDdBp4u.js","assets/ParallaxEngine-Dkf1bfY3.css","assets/Parallax-BonPPx5k.css","assets/WebBuilderPane-DpR-PyhS.js","assets/ReportWidget
1-BS57n6N7.js","assets/LeadForm-DWV5PtIU.js","assets/Course-DgUhtNkj.js","assets/Course-6mqSV7Uy.js","assets/Subscription-Betzjqou.js","assets/freePlan-6P4u8eWe.js","assets/StripeDataHandler-7dQUdFN5.js","assets/freePlan-DQGcFTjZ.css","assets/TransactionCompleteMessage-CDZVllLt.js","assets/Course-BPknitPW.css","assets/CourseDataHandler-xMZunFXF.js","assets/courseMailingList-BXq8NKF_.js","assets/Course-BC8KVMLK.css","assets/CourseCover-DF5-BLCZ.js","assets/CourseCover-BLfml0b1.css","assets/CourseUnit-J23vaoOK.js","assets/Slider-CSXdfpaA.js","assets/Slider-Bm3CEarM.css","assets/CourseUnit-CQ3h4J6T.css","assets/EmailMarketing-C0wwwAzW.js","assets/Files-CPg2m5gt.js","assets/Hubspot-DsOZVYA_.js","assets/LinkedIn-UKP_Wn2T.js","assets/Neptune-cud28XCD.js","assets/MailingList-DO9HQvYG.js","assets/mustache-lDDT9aR0.js","assets/MailingList-Dk2rYFwU.css","assets/MyAccount-B6-7e7Jz.js","assets/ConfirmReset2FA-DjEYQLiR.js","assets/AuthUtilsHook-CYZym16x.js","assets/TwoFactorBanner-D4WjVwWR.js","assets/StripeCheckoutFailure-_M5CpkEM.js","assets/MyAccount-BPHd29pu.css","assets/ObjectExplorer-Bl-zkk46.js","assets/useNavigationBlocker-DIfVhHY3.js","assets/ObjectExplorer-Dqh_35m_.css","assets/PendingActions-B9mP-6fW.js","assets/Search-BgzBXlGM.js","assets/PapersApp-eKTEbgjS.js","assets/PapersApp--Xl0NYlC.css","assets/PapersDeepLink-HjCtnlS3.js","assets/LLMReviewer-CBwLBiTS.js","assets/PlusScriptBuilder-DHbOu51a.js","assets/Orchestrator-vu3_nu4r.js","assets/Orchestrator-BW091Or4.css","assets/Wallet-CzE47-cS.js","assets/Wallet-CulyQs6l.css","assets/Database-BF_45MpC.js","assets/Database-HDH3fzjS.css","assets/SysAdminApp-BiecOwVC.js","assets/SiteConfigurationPane-Bx7Ab4y4.js","assets/CssAiChat-BvsiERFR.js","assets/CssAiChat-CfzP9EfC.css","assets/SiteConfigurationPane-Cfe43_rl.css","assets/CustomCssEditor-
1BPygWII1.css","assets/SysAdminApp-CYKZuz8C.css","assets/Scheduler-DbDoulV5.js","assets/SchedulerDataHandler-DsCNRjhX.js","assets/Scheduler-Blx5U2uD.css","assets/UserManagementApp-BRG8NZnP.js","assets/EventScriptsPane-zrEutNgB.js","assets/EventScriptsPane-BbNYv00Q.css","assets/UserManagementApp-yBEysA88.css","assets/DomainManager-DyhByTdj.js","assets/DomainManager-Cg-J9E3l.css","assets/Survey-Baa76Prd.js","assets/InsightPageRenderer-BeepX6AW.js","assets/QuestionSummaryRenderer-BQ-ryCRI.js","assets/SurveyPreviewPage-BdCGMqVk.js","assets/Survey-D3m_PnMQ.css","assets/CustomCssEditor-C6ASmADs.js","assets/PrescreenForm-Dm_STrfd.js","assets/Survey-BIOEnyfF.css","assets/Calendar-tWwCrk0K.js","assets/Calendar-RAPZLq3p.css","assets/Appointments-CED__9x0.js","assets/GuestBioField-Bi5sOiJt.js","assets/BookingPage-r2No3p2C.js","assets/blackoutReasons-HlyEaAJD.js","assets/BookingConfirm-D-aXKpJq.js","assets/useVoiceRecorder-BgE5GofI.js","assets/BookingManage-CfB8xm9x.js","assets/CampaignPage-DKRU3k7h.js","assets/CampaignPage-4BHnsWHU.css","assets/Invite-CvFsNaLD.js","assets/Invite-8Nrj0aIb.css","assets/MidiApp-CGFaFTxv.js","assets/PublicSurveyPage-UJQept7B.js","assets/PublicSurveyResults-9uEWxQg6.js","assets/PublicSurveyResults-gW7XGPgx.css","assets/SiteWizardPage-Cu_4iVX0.js","assets/SiteWizardPage-vbGtErwd.css","assets/Podcast-DfpR-4Kc.js","assets/Podcast-vOUtO3W4.js","assets/Podcast-BNFZ5eZB.css","assets/PodcastSeason-Df1yr69m.js","assets/PodcastEpisode-BBvDBYji.js","assets/PodcastEpisode-BoHPn0vr.css","assets/Demo-DE70uy3c.js","assets/FileViewer-DMiPaqrp.js","assets/VideoPlayer-DhzcQDQs.js","assets/FilePicker-DtJU4oS0.js","assets/BoxIcons-CKSL2__5.js","assets/IconSelector-BgyqMB2i.js","assets/StringPage-kPBqPobM.js","assets/IntegerPage-BkTSKUow.js","assets/FloatPage-CqRrlIGE.js","assets/ParametersDemo-Cp4G0HNf.js","assets/ParametersDemo-DY4ZHHCd.css","assets/ParameterKeyPage-bSXsXRhu.js","assets/StoreDemo-C8JdP652.js","assets/FileUploader-D0xP6JXr.js","assets/FileUploader-BjcuMy73.css","assets/WebCamPage-B-1rUt_X.js","assets/DataFetcherPage-nFRJ1gF-.js","assets/AudioRecorderPage-1HCMEVO6.js","assets/AudioPlayerPage-DzfdBQ54.js","assets/AudioPlayerV2Demo-bikTrAHb.js","assets/PlusScriptPage-BL8R1a-J.js","assets/ForceGraphPage-bcCQPEko.js","assets/ForceGraphPage-D-ErDMMD.css","assets/VisjsGraphPage-BXtADDqe.js","assets/useVisNetwork-XXF79L9w.js","assets/MarkdownPage-D--sTGO6.js","assets/NotificationPage-BnJ8Z69i.js","assets/StripeCartTest-B0TGj1bz.js","assets/AuthenticationPage-BT81p68X.js","assets/DateTimePage-BovFQERE.js","assets/WebSocketPage-wjKUik31.js","assets/ReceiptPage-BWzAzhxa.js","assets/Presentation-DR00fLTQ.js","assets/SliderPage-DppeRkGu.js","assets/SplitPaneLayoutDemo-OFoY1rgi.js","assets/DictionaryInput-CJghzNsB.js","assets/DictionaryInput-DXsFM8Br.css","assets/WebGL-sBNHiJnp.js","assets/WebGL2-kpiksxZb.js","assets/PlusScriptAPIEndpointsPage-Cvs1KqD1.js","assets/ActionRunnerDemo-Hju6gTH5.js","assets/SurveyComponentsDemo-BjSxD_my.js"])))=>i.map(i=>d[i]);
2import{u as q,a as Je,b as W,r as s,j as e,B as O,c as Qe,N as de,L as H,d as re,e as J,H as B,z as ls,M as cs,P as v,G as ee,I as Ce,S as ne,f as Te,n as V,g as z,h as ds,i as se,k as ps,R as us,l as n,m as ms,_ as a,o as xs,C as hs}from"./index-DN4Mwqf7.js";import{F as js,H as te,R as gs,C as fs}from"./ForgotPassword-BqRhIn67.js";import{F as _s,T as ys,M as oe,a as Y}from"./index-CeTPcGzX.js";import{H as bs,P as vs}from"./Policy-f9gWPn8K.js";import{U as Ss}from"./Parameter-DD2b9kxf.js";import l from"./Root-DJ5wBsfL.js";import Ps from"./LoginOAuth2-DxTRCgki.js";import Es from"./Logout-BBWwnCP8.js";import ks from"./ConfirmEmail-DS2DhK6W.js";import{A as Is,L as Xe,S as Ze,P as pe,a as ue,G as De,D as Re}from"./AppWebsiteV2-ClyCSvQD.js";import{P as es}from"./ParallaxEngine-DMKwpMiL.js";import ws from"./Login-BlZwUDEx.js";import As from"./Signup-CI61Crvw.js";import{P as Cs}from"./Popup-CI8dlaUY.js";import{u as xe}from"./StripeDataHandler-7dQUdFN5.js";import{c as Ts,T as le}from"./TransactionCompleteMessage-CDZVllLt.js";import{S as Ds,a as Rs}from"./StripeCheckoutFailure-_M5CpkEM.js";import{C as he}from"./Container-Cx8AwJqT.js";import{m as Ls}from"./supportConfig-BlIowMX3.js";
2import{SupportFromConfig as zs}from"./SupportFromConfig-DiiNQ-fT.js";import Os from"./Tabbed-CIt3vIkV.js";import{P as Le,T as ze}from"./TermsAndConditions-KHRm2a9d.js";/* empty css                */import"./useQuery-Dya-hda-.js";import"./useMobile-D8fDk965.js";import"./Support-BHZo4W1C.js";import"./index-Cu4DO8L0.js";import"./motion-j9FxiGRE.js";import"./installPages-Cna00ltZ.js";import"./Step-C8C3963e.js";import"./TwoFactorBanner-D4WjVwWR.js";import"./AuthUtilsHook-CYZym16x.js";import"./freePlan-6P4u8eWe.js";import"./ApplicationContext-CgvY33Jd.js";import"./types-0x_1vaZr.js";import"./useAudioPosition-CPloxytS.js";import"./sanitizeCss-DDeV3a_4.js";import"./ThemeEditor-WHlrAEfK.js";import"./types-C-48g5o1.js";import"./use-transform-n5dcjMB3.js";import"./AudioRecordingPublic-BU_wehFX.js";import"./outputActions-FyfPcXwd.js";import"./PodcastLatestEpisode-CfI7X7Sd.js";import"./imageResize-BSgDhDs_.js";import"./MailingList-DYDdBp4u.js";import"./Playlist-DYoV_nez.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./Dashboard-D6aWkt-D.js";import"./useCredentialReports-xrk7mg-r.js";import"./applications-4-Xsf5u6.js";import"./ParameterBuilder-D6MDV4qs.js";import"./index-Bq1GzDBn.js";import"./ace-Dlf-vt7D.js";import"./SelectOptions-CX_-i7or.js";import"./StreamSelectorV2-CMYzFjhf.js";import"./Card-cLjeqwtT.js";import"./ValidationsEditor-9eUU24Dk.js";import"./Dashboard-BQQAX2MJ.js";import"./AppMenu-BKz22tte.js";import"./Placeholder-BfICVJLU.js";import"./PlusScriptView-CbHSws3c.js";import"./style-BRPsycUQ.js";import"./StreamTriggerDataHandler-Cs0IsTmf.js";import"./Parameter-D-2E5g6H.js";import"./useDebounce-D6bLFlxb.js";import"./ObjectExplorer-Bl-zkk46.js";import"./SplitPaneLayout-CYe7S9cP.js";import"./ItemActionButtonsRunner-BhCzVyIt.js";import"./SpreadsheetViewer-0aBpyk4X.js";import"./ReceiptViewerModal-DXJRO76Y.js";import"./JobViewerModal-CKTjHPHi.js";import"./JobDetailView-BZ4JBm31.js";import"./mode-json-DGKgiNOd.js";import"./mode-text-owca_3Io.js";import"./CustomTemplateModal-Ds-_T8OI.js";import"./mode-css-ZyOVlraq.js";import"./useNavigationBlocker-DIfVhHY3.js";import"./Streams-40ciSb3w.js";import"./StreamViewer-DTrl6OAL.js";import"./StreamEChart-xITwTqqn.js";import"./ReactECharts-BtHj0bXP.js";import"./FileViewer-vY3FOqMN.js";import"./Tab-UZsBiH8e.js";import"./JSONViewer-Bu0_hIJH.js";import"./papaparse.min-D6Gm67i-.js";import"./leaflet-CoeUjYat.js";import"./index-BpoLgcEt.js";import"./prism-DhdOSkyD.js";import"./toConsumableArray-u9GFSwrg.js";import"./ActionRunnerMain-q0XID2wW.js";import"./ActionInfo-BIM1zBnI.js";import"./vis-network-BHjj1H0E.js";import"./theme-monokai-KobNCr1x.js";import"./YouTube.esm-CeHaenUX.js";/* empty css                  */import"./Parallax-B1e3rbLe.js";function Oe(){const{token:t,username:o}=q(),{fetchSecureJsonApi:p}=Je(),{domain:u,hostname:j,api_url:h}=W(),[g,f]=s.useState({}),_=async()=>{try{const i=await p("/test/protected",{method:"checkToken",params:{token:t,username:o}});f(i)}catch(i){console.warn({error:i})}};return e.jsxs("div",{className:"Test",children:[e.jsx("h1",{children:"Data Skeptic+ Test Page"}),e.jsxs("p",{children:["You are logged in as ",e.jsx("strong",{children:o}),"."]}),e.jsx("p",{children:"Your access token is"}),e.jsx(_s,{children:e.jsx(ys,{readOnly:!0,style:{marginTop:0,height:"64px"},value:t??""})}),e.jsxs("p",{children:["Domain: ",e.jsx("strong",{children:u})]}),e.jsxs("p",{children:["Hostname: ",e.jsx("strong",{children:j})]}),e.jsxs("p",{children:["API URL: ",e.jsx("strong",{children:h})]}),e.jsx("h4",{children:"Result:"}),e.jsx("pre",{children:JSON.stringify(g)}),e.jsx(O,{id:"btnTest",size:"large",onClick:_,children:"Test Fetch Protected"})]})}function Vs(){const t=q(),[o]=Qe(),{support_email:p}=W(),[u,j]=s.useState(!1),[h,g]=s.useState(!1);return s.useEffect(()=>{const f=o==null?void 0:o.get("code");if(!f){j(!1),g("The code provided is empty");return}j(!0),t.loginCode(f).then(_=>{j(!1),g(!1)}).catch(_=>{j(!1),g(_.message||"Unable to set up account. Please contact ".concat(p))})},[o]),t.token?e.jsx(de,{to:"/change-password?mode=create",replace:!0}):t.error||h?e.jsx(de,{to:"/login",replace:!0}):e.jsx(H,{active:!0})}
2function Ws(){const[t,o]=s.useState(!1),[p,u]=s.useState(!1),[j,h]=s.useState([]),g=re(),{hostname:f}=W(),{logout:_}=q(),i=J();function b(){o(!0),g.deleteAccount(f).then(({products:m={}})=>{u(!0),h(Object.values(m)),_()}).catch(()=>ls.error("Failed to delete account")).finally(()=>o(!1))}return p?e.jsxs("div",{style:{marginTop:36},children:[e.jsx(B,{as:"h1",children:"You're account has been deleted"}),j.map(({name:m})=>e.jsxs("div",{style:{textAlign:"center"},children:["Subscription ",m," cancelled"]})),e.jsx(O,{as:"a",href:"/",style:{marginLeft:"auto",marginRight:"auto",display:"block",marginTop:12},color:"red",onClick:m=>{m.preventDefault(),i("/")},children:"Close"})]}):t?e.jsxs("div",{style:{marginTop:64},children:[e.jsx(B,{as:"h1",children:"You're account is being deleted"}),e.jsx(H,{active:!0})]}):e.jsxs("div",{style:{marginTop:36},children:[e.jsx(B,{as:"h1",children:"You are about to delete your account forever"}),e.jsx(O,{style:{marginLeft:"auto",marginRight:"auto",display:"block"},color:"red",onClick:b,children:"DELETE MY ACCOUT PERMANENTLY"})]})}const Ve={primaryColor:"#00d4ff",secondaryColor:"#7c3aed",accentColor:"#f59e0b",backgroundColor:"#0a0a1a",textColor:"#ffffff",backgroundGradient:[{color:"#0a0a1a",position:"0%"},{color:"#1a1a3e",position:"50%"},{color:"#0a0a1a",position:"100%"}]},Bs={particles:{enabled:!0,type:"mixed",color:"#ffffff",animation:"float",layers:[{name:"stars",count:50,sizeRange:[1,3],opacity:.8,speed:.5},{name:"dust",count:30,sizeRange:[2,5],opacity:.4,speed:1}]},progressBar:{enabled:!1,height:"4px",gradient:["#00d4ff","#7c3aed"]},stickyButton:{enabled:!1,text:"Get Started",scrollTarget:"login-section",showAfterPercent:80}};function je({pageType:t}){var o;const{hostname:p}=W(),u=re(),[j,h]=s.useState(!0),[g,f]=s.useState(null),[_,i]=s.useState(!1);if(s.useEffect(()=>{(async()=>{try{const m=await u.getSiteConfiguration(p),y=((m==null?void 0:m.special_pages)||{})[t];y&&(y.pageType==="page_builder"||y.pageType==="parallax")?(f(y),i(!0)):i(!1)}catch{i(!1)}finally{h(!1)}})()},[p,t]),j)return e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"#1a1a2e"},children:e.jsx(H,{active:!0,inverted:!0,children:"Loading..."})});if(_&&g){if(g.pageType==="parallax"){const b=g.slides||[],m=g.parallaxConfig||Bs,D=g.theme||Ve;
2if(b.length===0){const y={id:"auth-slide",offset:0,speed:0,type:t==="login"?"login":t==="signup"?"signup_form":"password_reset",title:t==="login"?"Welcome Back":t==="signup"?"Create Account":"Reset Password",style:{}};b.push(y)}return e.jsx("div",{className:"dynamic-auth-page parallax-wrapper",children:e.jsx(es,{slides:b,config:m,theme:D})})}if(g.pageType==="page_builder"){const b=g.rows||[],m=g.theme||Ve,D=m.backgroundGradient?"linear-gradient(180deg, ".concat(m.backgroundGradient.map(c=>"".concat(c.color," ").concat(c.position)).join(", "),")"):"linear-gradient(135deg, #1a1a2e 0%, #16213e 100%)",y=c=>{switch(c.contentType){case"login_box":return e.jsx(ue,{initialMode:t==="signup"?"signup":"login",loginConfig:c.loginBoxConfig,signupConfig:c.signupFormConfig,syncUrl:!0});case"signup_form":return e.jsx(ue,{initialMode:t==="login"?"login":"signup",loginConfig:c.loginBoxConfig,signupConfig:c.signupFormConfig,syncUrl:!0});case"password_reset":return e.jsx(pe,{config:c.passwordResetConfig});case"markdown":return e.jsx("div",{style:{color:m.textColor},className:"markdown-content",children:e.jsx(cs,{content:c.markdownContent||"",allowHtml:!0})});case"image":return c.imageUrl?e.jsx("img",{src:c.imageUrl,alt:"",style:{maxWidth:"100%",borderRadius:"4px"}}):null;default:if(!c.contentType){if(t==="login")return e.jsx(Xe,{config:c.loginBoxConfig});if(t==="signup")return e.jsx(Ze,{config:c.signupFormConfig});if(t==="reset")return e.jsx(pe,{config:c.passwordResetConfig})}return c.contentLabel?e.jsx("div",{style:{color:"#666",textAlign:"center"},children:c.contentLabel}):null}};if(b.length===1&&((o=b[0].columns)==null?void 0:o.length)===1&&["login_box","signup_form","password_reset"].includes(b[0].columns[0].contentType)){const c=b[0].columns[0];return e.jsx("div",{className:"dynamic-auth-page page-builder-wrapper",style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",padding:"2rem",background:D},children:e.jsx("div",{style:{maxWidth:"400px",width:"100%"},children:y(c)})})}const A=g.animatedBackground;return e.jsxs("div",{className:"dynamic-auth-page page-builder-wrapper",style:{minHeight:"100vh",background:D,padding:"2rem",color:m.textColor,position:"relative"},children:[(A==null?void 0:A.enabled)&&e.jsx("div",{style:{position:"absolute",inset:0,zIndex:0,pointerEvents:"none"},children:e.jsx(Is,{config:A})}),e.jsx("div",{style:{position:"relative",zIndex:1},children:b.map((c,P)=>{var C;return e.jsx("div",{className:"page-builder-row",style:{display:"flex",flexWrap:"wrap",gap:"1rem",marginBottom:"1rem",maxWidth:"1200px",margin:"0 auto 1rem auto"},children:(C=c.columns)==null?void 0:C.map((k,R)=>e.jsx("div",{className:"page-builder-column",style:{flex:k.width?k.width/16:1,minWidth:"320px",display:"block",padding:"1rem"},children:y(k)},k.id||R))},c.id||P)})})]})}}return t==="login"?e.jsx(ws,{}):t==="signup"?e.jsx(As,{}):t==="reset"?e.jsx(js,{}):null}function qs(){return e.jsx(je,{pageType:"login"})}function Fs(){return e.jsx(je,{pageType:"signup"})}function Ms(){return e.jsx(je,{pageType:"reset"})}function We({config:t}){const{isLoggedIn:o}=q(),{prefs:p}=W(),u=J(),[j,h]=s.useState(!1),[g,f]=s.useState("login"),[_,i]=s.useState(!1);if(s.useEffect(()=>{o&&j&&h(!1)},[o,j]),!(t!=null&&t.enabled)||t.hideWhenLoggedIn!==!1&&o)return null;const m=t.text||"Log In",D=t.position==="left"?{left:"1.25rem"}:{right:"1.25rem"},y=C=>{f(C),h(!0)},L=()=>
2{if(t.actionType==="modal"){y("login");return}if(t.actionType==="navigate"){u(t.link||"/login");return}if(t.actionType==="dropdown")return;const C=t.scrollTarget||"login-section",k=document.getElementById(C);k?k.scrollIntoView({behavior:"smooth"}):y("login")},A={position:"fixed",top:"1rem",...D,zIndex:1e3,padding:"0.55rem 1.15rem",borderRadius:"999px",border:"1px solid rgba(255,255,255,0.35)",background:"rgba(0,0,0,0.35)",color:"#fff",fontWeight:600,cursor:"pointer",backdropFilter:"blur(4px)"},c=e.jsx("button",{className:"website-v2-login-btn ds-header-login-btn",onClick:L,style:A,children:m}),P=(p==null?void 0:p.allow_account_creation)!==!1;return e.jsxs(e.Fragment,{children:[t.actionType==="dropdown"?e.jsx(Cs,{on:"click",position:t.position==="left"?"bottom left":"bottom right",open:_,onOpen:()=>i(!0),onClose:()=>i(!1),trigger:c,basic:!0,style:{padding:0,zIndex:1001},content:e.jsxs(oe,{vertical:!0,secondary:!0,style:{margin:0,minWidth:180},children:[e.jsxs(oe.Item,{onClick:()=>{i(!1),y("login")},children:[e.jsx(v,{name:"sign-in"})," Log In"]}),P&&e.jsxs(oe.Item,{onClick:()=>{i(!1),y("signup")},children:[e.jsx(v,{name:"user plus"})," Sign Up"]})]})}):c,e.jsx(Y,{open:j,onClose:()=>h(!1),size:"tiny",closeIcon:!0,dimmer:!1,style:{zIndex:2e3},children:e.jsx(Y.Content,{children:e.jsx(ue,{initialMode:g,preferReturningLogin:!0})})})]})}const Be={primaryColor:"#00d4ff",secondaryColor:"#7c3aed",accentColor:"#f59e0b",backgroundColor:"#0a0a1a",textColor:"#ffffff",backgroundGradient:[{color:"#0a0a1a",position:"0%"},{color:"#1a1a3e",position:"50%"},{color:"#0a0a1a",position:"100%"}]},Ns={particles:{enabled:!0,type:"mixed",color:"#ffffff",animation:"float",layers:[{name:"stars",count:50,sizeRange:[1,3],opacity:.8,speed:.5},{name:"dust",count:30,sizeRange:[2,5],opacity:.4,speed:1}]},progressBar:{enabled:!0,height:"4px",gradient:["#00d4ff","#7c3aed"]},stickyButton:{enabled:!1,text:"Get Started",scrollTarget:"login-section",showAfterPercent:80}};function qe({dao:t,styles:o={}}){const{hostname:p}=W(),u=re(),j=t||u,{isLoggedIn:h,token:g,refresh:f}=q(),[_,i]=s.useState(!1),b=J(),[m,D]=s.useState(!0),[y,L]=s.useState(null),[A,c]=s.useState(!1),[P,C]=s.useState(null);s.useEffect(()=>{if(g){i(!0);return}let R=!1;return f().catch(()=>{}).finally(()=>{R||i(!0)}),()=>{R=!0}},[]),s.useEffect(()=>{(async()=>{try{const T=await j.getSiteConfiguration(p);C((T==null?void 0:T.headerLoginButton)||null);const F=((T==null?void 0:T.special_pages)||{}).home;F?(L(F),c(!0)):c(!1)}catch(T){console.error("Failed to load home page config:",T),c(!1)}finally{D(!1)}})()},[p]);const k=h||!!g;if(s.useEffect(()=>{k&&b("/home",{replace:!0})},[k,b]),m||!_)return e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"#1a1a2e"},children:e.jsx(H,{active:!0,inverted:!0,children:"Loading..."})});if(k)return e.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"#1a1a2e"},children:e.jsx(H,{active:!0,inverted:!0,children:"Loading your home…"})});if(A&&y){if(y.pageType==="parallax"){const R=y.slides||[],T=y.parallaxConfig||Ns,U=y.theme||Be;return R.length===0?e.jsx(te,{styles:o}):e.jsxs("div",{className:"dynamic-home-page parallax-wrapper",children:[e.jsx(We,{config:P}),e.jsx(es,{slides:R,config:T,theme:U})]})}if(y.pageType==="page_builder"){const R=y.rows||[],T=y.theme||Be;if(R.length===0)return e.jsx(te,{styles:o});const U=I=>{switch(I.contentType){case"login_box":return e.jsx(Xe,{config:I.loginBoxConfig});case"signup_form":return e.jsx(Ze,{config:I.signupFormConfig});case"password_reset":return e.jsx(pe,{config:I.passwordResetConfig});case"markdown":return e.jsx("div",{style:{color:T.textColor},children:I.markdownContent||"No content"});case"image":return I.imageUrl?e.jsx("img",{src:I.imageUrl,alt:"",style:{maxWidth:"100%",borderRadius:"4px"}}):null;default:return I.contentType?e.jsx("div",{style:{color:"#666",textAlign:"center"},children:I.contentLabel||I.contentType}):null}},F=T.backgroundGradient?"linear-gradient(180deg, ".concat(T.backgroundGradient.map(I=>"".concat(I.color," ").concat(I.position)).join(", "),")"):T.backgroundColor;
2return e.jsxs("div",{className:"dynamic-home-page page-builder-wrapper",style:{minHeight:"100vh",background:F,padding:"2rem",color:T.textColor},children:[e.jsx(We,{config:P}),R.map((I,Q)=>{var ae;return e.jsx("div",{className:"page-builder-row",style:{display:"flex",gap:"1rem",marginBottom:"1rem",maxWidth:"1200px",margin:"0 auto 1rem auto"},children:(ae=I.columns)==null?void 0:ae.map((M,N)=>e.jsx("div",{className:"page-builder-column",style:{flex:M.width?M.width/16:1,display:"flex",justifyContent:"center",alignItems:"center",padding:"1rem"},children:U(M)},M.id||N))},I.id||Q)})]})}}return e.jsx(te,{styles:o})}const Hs=(t,o=2)=>Ts(t,{symbol:"$",precision:o,fromCents:!0});function Fe({outcome:t}){q();const o=xe(),{hostname:p,support_email:u}=W(),[j]=Qe(),[h,g]=s.useState(null),[f,_]=s.useState(!1),[i,b]=s.useState(!1),m=j.get("session_id"),D=async L=>{try{const A=await o.checkStripeSession(L);if(console.log({session:A}),A.payment_status==="paid"&&A.status==="complete")V.success("Transaction was successfully completed"),b(!1),_("Transaction was successfully completed"),g(A);else throw new Error("Error while completing the transaction")}catch(A){const c=(A==null?void 0:A.message)||"Error #1005. Please contact ".concat(u,".");V.error(c),b(c),_(!1),g(null)}},y=async L=>{};if(s.useEffect(()=>{m&&t==="success"&&D(m),m&&t==="cancel"&&y()},[t,m]),console.log({outcome:t}),console.log({session_id:m}),f){const L=h?Hs(h.amount_total).format():"";return e.jsx("main",{children:e.jsx(ee,{verticalAlign:"middle",textAlign:"center",style:{height:"100vh"},children:e.jsxs(ee.Column,{style:{maxWidth:450},children:[e.jsxs(B,{as:"h2",color:"teal",textAlign:"center",children:[e.jsx(Ce,{src:"https://s3.amazonaws.com/dataskeptic.com/nav-logo-black.svg"}),e.jsx("br",{}),"Transaction was successfully completed."]}),e.jsxs(ne,{raised:!0,children:[e.jsxs("p",{children:["Customer: ",e.jsx("strong",{children:h==null?void 0:h.customer_details.name}),e.jsx("br",{}),"Email: ",e.jsx("strong",{children:h==null?void 0:h.customer_details.email}),e.jsx("br",{}),"Amount charged: ",e.jsx("strong",{children:L})]}),e.jsxs("p",{children:["Transaction status: ",e.jsx("strong",{children:h==null?void 0:h.status})]}),e.jsxs("p",{children:[e.jsx(Te,{to:"/home",children:"Click here"})," to return."]})]})]})})})}return i?e.jsx("main",{children:e.jsx(ee,{verticalAlign:"middle",textAlign:"center",style:{height:"100vh"},children:e.jsxs(ee.Column,{style:{maxWidth:450},children:[e.jsxs(B,{as:"h2",color:"teal",textAlign:"center",children:[e.jsx(Ce,{src:"https://s3.amazonaws.com/dataskeptic.com/nav-logo-black.svg"}),e.jsx("br",{}),"Transaction was not completed."]}),e.jsxs(ne,{raised:!0,children:[e.jsxs("p",{children:["Error processing your transaction. Please contact ",e.jsx("a",{href:"mailto: ".concat(u),children:u}),"."]}),e.jsxs("p",{children:[e.jsx(Te,{to:"/home",children:"Click here"})," to return."]})]})]})})}):e.jsx(H,{active:!0})}function Us(){const{fetchSecureApi:t}=Je(),[o,p]=s.useState(!1),[u,j]=s.useState(null),[h,g]=s.useState(!1),[f,_]=s.useState(null),i=async()=>{p(!0),j(null);try{console.log("Fetching demo session data...");const m=await t("/demo/cart/billing/success",{method:"GET"});console.log("Demo response:",m),m.session&&m.session.id?(console.log("Showing success modal with session ID:",m.session.id),_(m.session.id),g(!0)):j("Invalid response from demo endpoint")}catch(m){console.error("Failed to load demo session:",m),j(m.message||"Failed to load demo session")}finally{p(!1)}},b=()=>{g(!1),_(null)};return e.jsxs(he,{style:{marginTop:"2rem"},children:[e.jsxs(ne,{style:{maxWidth:600,margin:"0 auto",padding:"2rem"},children:[e.jsxs(B,{as:"h2",textAlign:"center",children:[e.jsx(v,{name:"lab"}),e.jsx(B.Content,{children:"Test Stripe Success Flow"})]}),e.jsxs(z,{info:!0,children:[e.jsx(z.Header,{children:"Demo Mode"}),e.jsx("p",{children:"This page simulates a successful return from Stripe checkout. Click the button below to generate mock session data and see the success modal."})]}),u&&e.jsxs(z,{negative:!0,children:[e.jsx(z.Header,{children:"Error"}),e.jsx("p",{children:u})]}),e.jsx("div",{style:{textAlign:"center",marginTop:"2rem"},children:e.jsxs(O,{primary:!0,size:"large",onClick:i,loading:o,disabled:o,children:[e.jsx(v,{name:"check circle"}),"Simulate Successful Checkout"]})})]}),h&&f&&e.jsx(Ds,{sessionId:f,onClose:b})]})}
2function Gs(){const[t,o]=s.useState(!1),[p,u]=s.useState(null),j=[{code:"cancelled",message:"User cancelled checkout",color:"grey"},{code:"card_declined",message:"Card was declined",color:"red"},{code:"insufficient_funds",message:"Insufficient funds",color:"orange"},{code:"expired_card",message:"Card has expired",color:"red"},{code:"incorrect_cvc",message:"Incorrect CVC code",color:"orange"},{code:"processing_error",message:"Processing error occurred",color:"red"}],h=(f,_)=>{console.log("Testing failure scenario:",f,_),u({code:f,message:_}),o(!0)},g=()=>{o(!1),u(null)};return e.jsxs(he,{style:{marginTop:"2rem"},children:[e.jsxs(ne,{style:{maxWidth:600,margin:"0 auto",padding:"2rem"},children:[e.jsxs(B,{as:"h2",textAlign:"center",children:[e.jsx(v,{name:"lab"}),e.jsx(B.Content,{children:"Test Stripe Failure Scenarios"})]}),e.jsxs(z,{info:!0,children:[e.jsx(z.Header,{children:"Demo Mode"}),e.jsx("p",{children:"This page lets you test different checkout failure scenarios. Click any button below to see how that error is displayed."})]}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"1rem",marginTop:"2rem"},children:j.map(f=>e.jsxs(O,{color:f.color,size:"large",onClick:()=>h(f.code,f.message),children:[e.jsx(v,{name:"warning sign"}),"Test: ",f.message]},f.code))})]}),t&&p&&e.jsx(Rs,{onClose:g,errorCode:p.code,errorMessage:p.message})]})}const Ys=new Set(["groupIds","available","tags","product_id"]),$s=/^https?:\/\/\S+\.(png|jpe?g|gif|webp|svg|avif)(\?.*)?$/i,Ks=(t,o)=>o?!!($s.test(o)||/(^|_)(image|img|photo|banner|hero|thumbnail|thumb)(_|$)/i.test(t)&&/^https?:\/\//.test(o)):!1,Me=t=>t.replace(/[_-]+/g," ").replace(/\b\w/g,o=>o.toUpperCase()),ss=t=>t&&t.startsWith("/")&&!t.startsWith("//")?t:null,E={container:{minHeight:"100vh",backgroundColor:"transparent",paddingTop:"2rem",paddingBottom:"4rem",position:"relative"},contentWrapper:{maxWidth:"1200px",margin:"0 auto",padding:"0 2rem",position:"relative",zIndex:1},header:{background:"white",padding:"2rem",borderRadius:"12px",boxShadow:"0 1px 3px rgba(0,0,0,0.06)",marginBottom:"2rem",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:"1rem"},title:{margin:0,fontSize:"2rem",fontWeight:600,color:"#1a1a1a",display:"flex",alignItems:"center",gap:"0.75rem"},subtitle:{fontSize:"1.05rem",color:"#666",marginTop:"0.5rem",lineHeight:"1.6"},section:{background:"white",padding:"2rem",borderRadius:"12px",boxShadow:"0 1px 3px rgba(0,0,0,0.06)",marginBottom:"2rem"},sectionTitle:{fontSize:"1.3rem",fontWeight:600,color:"#1a1a1a",marginBottom:"1.5rem",display:"flex",alignItems:"center",gap:"0.5rem"},currentSubCard:{padding:"1.5rem",background:"#f8f9fa",borderRadius:"8px",border:"1px solid #e0e0e0",marginBottom:"1rem"},subImage:{width:"80px",height:"80px",borderRadius:"12px",objectFit:"cover",flexShrink:0,border:"1px solid #e0e0e0"},subImagePlaceholder:{width:"80px",height:"80px",borderRadius:"12px",flexShrink:0,background:"#e8e8e8",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #d0d0d0"},subContent:{flex:1,minWidth:0},subName:{fontSize:"1.2rem",fontWeight:600,color:"#1a1a1a",marginBottom:"0.5rem"},subDetails:{fontSize:"0.95rem",color:"#666",display:"flex",gap:"1rem",flexWrap:"wrap",alignItems:"center"},subPrice:{fontSize:"1.3rem",fontWeight:700,color:"#1a1a1a",whiteSpace:"nowrap",textAlign:"center",padding:"0 1.5rem"},nextBillingBox:{textAlign:"center",padding:"0.75rem 1rem",minWidth:"180px"},nextBillingLabel:{fontSize:"0.75rem",color:"#666",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:"0.5rem",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem"},nextBillingDate:{fontSize:"0.95rem",color:"#1a1a1a",fontWeight:600}},Js=t=>{var o;if(!t||!t.unit_amount)return"Free";const p=t.unit_amount/100,u=new Intl.NumberFormat("en-US",{style:"currency",currency:((o=t.currency)==null?void 0:o.toUpperCase())||"USD"}).format(p);if(t.recurring&&t.recurring.interval){const j=t.recurring.interval,h=t.recurring.interval_count||1;return h===1?"".concat(u,"/").concat(j):"".concat(u," every ").concat(h," ").concat(j,"s")}return"".concat(u," (one-time)")},Qs=t=>{if(!t.prices||t.prices.length===0)return"No pricing";const o=t.prices.some(u=>u&&u.recurring!==null&&u.recurring!==void 0),p=t.prices.some(u=>u&&(u.recurring===null||u.recurring===void 0));return o&&p?"Subscription + One-time":o?"Subscription":"One-time"};function Xs({product:t,hasImage:o,paymentType:p,hasMetadata:u,formatPrice:j,subscriptions:h,onCancel:g,onChangePlan:f,isChangingPlan:_}){const i=xe(),{username:b}=q(),[m,D]=s.useState(!1),y=h.find(c=>{var P,C,k;return((C=(P=c.plan)==null?void 0:P.product)==null?void 0:C.id)===t.id||((k=t.prices)==null?void 0:k.some(R=>{var T;return R.id===((T=c.plan)==null?void 0:T.id)}
2))}),L=h.length>0,A=async c=>{if(!b){V.error("You must be logged in to subscribe");return}D(!0);try{const P=ss(new URLSearchParams(window.location.search).get("return_to")),C=await i.createStripeSession(b,c,1,{success_url:"".concat(window.location.origin,"/upgrade?session_id={CHECKOUT_SESSION_ID}")+(P?"&return_to=".concat(encodeURIComponent(P)):""),cancel_url:"".concat(window.location.origin).concat(P||"/upgrade")});C!=null&&C.url&&(window.location.href=C.url)}catch(P){console.error("Subscription error:",P),V.error("Failed to start subscription process"),D(!1)}};return e.jsx("div",{style:{borderRadius:"12px",boxShadow:"0 2px 8px rgba(0,0,0,0.08)",background:"white",overflow:"visible",position:"relative",height:"100%"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",padding:"1.5rem",height:"100%"},children:[e.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:"1rem",marginBottom:"1rem"},children:[o&&e.jsx("div",{style:{width:"120px",height:"120px",flexShrink:0,background:"linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%)",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center",padding:"0.5rem",overflow:"hidden"},children:e.jsx("img",{src:t.images[0],alt:t.name,style:{width:"100%",height:"100%",objectFit:"contain",borderRadius:"6px"}})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsx("h2",{style:{margin:0,fontSize:"1.5rem",fontWeight:"600",color:"#2c3e50",lineHeight:"1.2",marginBottom:"0.5rem"},children:t.name}),t.description&&e.jsx("p",{style:{fontSize:"0.95rem",color:"#666",margin:0,lineHeight:"1.5",marginBottom:o?"0.75rem":0},children:t.description}),o&&e.jsxs("div",{style:{marginTop:"0.5rem",display:"flex",gap:"0.5rem",flexWrap:"wrap"},children:[e.jsxs(se,{color:p==="Subscription"?"blue":p==="One-time"?"purple":"teal",style:{fontWeight:"500",fontSize:"0.8rem"},children:[e.jsx(v,{name:p==="Subscription"?"refresh":"shopping cart"}),p]}),!t.livemode&&e.jsxs(se,{color:"yellow",style:{fontWeight:"500",fontSize:"0.8rem"},children:[e.jsx(v,{name:"lab"}),"Test Mode"]})]})]})]}),e.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:[!o&&e.jsxs("div",{style:{marginBottom:"0.75rem",display:"flex",gap:"0.5rem",flexWrap:"wrap"},children:[e.jsxs(se,{color:p==="Subscription"?"blue":p==="One-time"?"purple":"teal",style:{fontWeight:"500",fontSize:"0.8rem"},children:[e.jsx(v,{name:p==="Subscription"?"refresh":"shopping cart"}),p]}),!t.livemode&&e.jsxs(se,{color:"yellow",style:{fontWeight:"500",fontSize:"0.8rem"},children:[e.jsx(v,{name:"lab"}),"Test Mode"]})]}),t.prices&&t.prices.length>0?e.jsxs("div",{style:{background:"#f8f9fa",borderRadius:"6px",padding:"1rem",marginBottom:"0.75rem"},children:[e.jsxs("h3",{style:{fontSize:"0.75rem",fontWeight:"600",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:"0.75rem"},children:["Pricing Options (",t.prices.length,")"]}),e.jsx("div",{children:t.prices.filter(c=>c&&c.id).map(c=>e.jsxs("div",{style:{padding:"0.35rem 0",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[e.jsx("span",{style:{fontSize:"1rem",fontWeight:"600",color:"#2c3e50"},children:j(c)}),!y&&(L?e.jsxs(O,{color:"orange",size:"small",loading:m||_,onClick:()=>f&&f(c.id,j(c)),children:[e.jsx(v,{name:"exchange"})," Change Plan"]}):e.jsx(O,{primary:!0,size:"small",loading:m,onClick:()=>A(c.id),children:"Subscribe"}))]},c.id))})]}):e.jsxs("div",{style:{background:"#fff3cd",borderRadius:"6px",padding:"0.75rem",marginBottom:"0.75rem",color:"#856404",fontSize:"0.85rem"},children:[e.jsx(v,{name:"warning sign"})," No pricing configured"]}),(()=>{const c=Object.entries(t.metadata||{}).filter(([P])=>!Ys.has(P));return c.length===0?null:e.jsxs("div",{style:{background:"#f8f9fa",borderRadius:"6px",padding:"1rem",marginBottom:"0.75rem"},children:[e.jsx("h3",{style:{fontSize:"0.75rem",fontWeight:"600",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:"0.75rem"},children:"Features"}),e.jsx("div",{children:c.map(([P,C])=>{const k=String(C??"");return Ks(P,k)?e.jsx("div",{style:{padding:"0.35rem 0"},children:e.jsx("img",{src:k,alt:Me(P),style:{maxWidth:"100%",maxHeight:"220px",borderRadius:"6px",display:"block"}})},P):e.jsx("div",{style:{padding:"0.35rem 0"},children:e.jsxs("span",{style:{fontSize:"0.85rem",color:"#2c3e50"},children:[e.jsxs("strong",{children:[Me(P),":"]})," ",k]})},P)}
2)})]})})(),y&&e.jsxs("div",{style:{background:"#d4edda",color:"#155724",padding:"0.75rem",borderRadius:"6px",marginBottom:"0.75rem",textAlign:"center",fontWeight:600},children:[e.jsx(v,{name:"check circle"})," You're already subscribed to this plan"]}),e.jsxs("div",{style:{marginTop:"auto",paddingTop:"0.75rem",borderTop:"1px solid #e9ecef"},children:[e.jsxs("div",{style:{fontSize:"0.75rem",color:"#999",fontFamily:"monospace",marginBottom:t.url?"0.5rem":"0"},children:["Product ID: ",t.id]}),t.url&&e.jsxs("div",{style:{fontSize:"0.85rem"},children:[e.jsx(v,{name:"linkify",color:"teal"}),e.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",style:{color:"#319795",textDecoration:"none"},children:"View in Stripe Dashboard"})]})]})]})]})})}function Zs(){const t=xe(),{username:o,token:p}=q(),{hostname:u}=W(),j=J(),h=ds();s.useEffect(()=>{const d="upgrade-responsive-styles";if(!document.getElementById(d)){const S=document.createElement("style");S.id=d,S.textContent=`
3        .current-sub-row {
4          display: flex;
5          gap: 1.5rem;
6          align-items: center;
7          flex-wrap: wrap;
8        }
9
10        @media (max-width: 768px) {
11          .current-sub-row {
12            flex-direction: column;
13            align-items: center;
14            gap: 1rem;
15          }
16          .current-sub-row > * {
17            width: 100% !important;
18            text-align: center !important;
19          }
20          .sub-content {
21            text-align: center !important;
22          }
23          .sub-description {
24            justify-content: center !important;
25          }
26        }
27      `,document.head.appendChild(S)}return()=>{const S=document.getElementById(d);S&&S.remove()}},[]);const[g,f]=s.useState([]),[_,i]=s.useState(void 0),[b,m]=s.useState([]),[D,y]=s.useState(!1),[L,A]=s.useState(!1),[c,P]=s.useState("free"),[C,k]=s.useState(!1),[R,T]=s.useState(""),[U,F]=s.useState(""),[I,Q]=s.useState(!1);s.useEffect(()=>{!p&&!o&&j("/login",{state:{from:h.pathname}})},[p,o,j,h]),s.useEffect(()=>{const d=new URLSearchParams(window.location.search),S=d.get("session_id"),w=ss(d.get("return_to"));(async()=>{if(S&&o){if(await X(o,!0),await $(o,!0),V.success("Subscription successful! Welcome aboard!"),w){j(w,{replace:!0});return}const Z=window.location.origin+window.location.pathname;window.history.replaceState({},document.title,Z)}else o&&(await X(o,!1),await $(o,!1))})()},[o]);const M=b.map(d=>({...d,prices:d.prices.map(S=>({...S,subscription:g.find(({plan:w})=>w.id===S.id)}))})).filter(({enabled:d=!1})=>d),N=g.filter(d=>d.canceled_at===null),X=async function(d,S=!1){try{y(!0);const w=await t.getStripeProducts(d,S);m(w)}catch(w){console.error(w.message),V.error("Failed to load subscription products")}finally{y(!1)}},$=async function(d,S=!1){try{A(!0);const w=await t.getStripeSubscriptions(d,S);return f(w.subscriptions),w}catch(w){console.error(w.message),V.error("Failed to load your subscriptions")}finally{A(!1)}},ie=async d=>{o&&(await X(o,!0),await $(o,!0))},ts=d=>{f(S=>S.map(w=>w.id===d?{...w,canceled_at:Date.now(),status:"canceled"}:w)),o&&$(o,!0)},ns=(d,S)=>{T(d),F(S),k(!0)},rs=async()=>{if(!o||N.length===0||!R){V.error("Unable to change plan. Please try again.");return}Q(!0);try{const d=N[0];(await t.updateStripeSubscription(o,d.id,R)).success&&(V.success("Your subscription plan has been updated successfully!"),await $(o,!0),await X(o,!0),k(!1),T(""),F(""))}catch(d){console.error("Plan change error:",d),V.error(d.message||"Failed to change subscription plan")}finally{Q(!1)}};return D||L?e.jsxs("div",{style:E.container,children:[e.jsx(De,{params:Re}),e.jsxs("div",{style:E.contentWrapper,children:[e.jsx(le,{onSubscriptionActivated:ie,session:_,setSession:i}),e.jsx("div",{style:E.section,children:e.jsxs("div",{style:{textAlign:"center",padding:"3rem 0"},children:[e.jsx(v,{name:"spinner",loading:!0,size:"huge",style:{color:"#666"}}),e.jsx("div",{style:{marginTop:"1.5rem",fontSize:"1.1rem",color:"#666"},children:"Loading your subscription options..."})]})})]})]}):(_==null?void 0:_.status)==="complete"?e.jsxs("div",{style:E.container,children:[e.jsx(De,{params:Re}),e.jsx("div",{style:E.contentWrapper,children:e.jsx(le,{onSubscriptionActivated:ie,session:_,setSession:i})})]}):e.jsx("div",{style:E.container,children:e.jsxs("div",{style:E.contentWrapper,children:[e.jsx(le,{onSubscriptionActivated:ie,session:_,setSession:i}),e.jsxs("div",{style:E.header,children:[e.jsx("div",{children:e.jsxs(O,{as:"a",href:"/home",icon:!0,labelPosition:"left",onClick:d=>{d.preventDefault(),j("/home")},style:{background:"white",border:"1px solid #ddd",color:"#1a1a1a",padding:"0.75rem 1.5rem",borderRadius:"8px",fontWeight:500},children:[e.jsx(v,{name:"home"}),"Home"]})}),e.jsxs("div",{style:{flex:1},children:[e.jsxs("h1",{style:E.title,children:[e.jsx(v,{name:"arrow circle up",style:{color:"#1a1a1a"}}),"Upgrade Your Account"]}),e.jsx("p",{style:E.subtitle,children:"Choose a subscription plan that works best for you. All plans include access to exclusive content and features."})]})]}),N.length>0&&e.jsxs("div",{style:E.section,children:[e.jsxs("h2",{style:E.sectionTitle,children:[e.jsx(v,{name:"check circle",style:{color:"#28a745"}}),"Your Current Subscriptions"]}),N.map(d=>{var S,w,K,Z,ge,fe,_e,ye;
27const G=b.find(Ee=>{var ke,Ie,we;return Ee.id===((Ie=(ke=d.plan)==null?void 0:ke.product)==null?void 0:Ie.id)||((we=Ee.prices)==null?void 0:we.some(os=>{var Ae;return os.id===((Ae=d.plan)==null?void 0:Ae.id)}))}),be=((S=G==null?void 0:G.images)==null?void 0:S[0])||((Z=(K=(w=d.plan)==null?void 0:w.product)==null?void 0:K.images)==null?void 0:Z[0]),ve=(G==null?void 0:G.name)||((fe=(ge=d.plan)==null?void 0:ge.product)==null?void 0:fe.name)||"Subscription",Se=(G==null?void 0:G.description)||((ye=(_e=d.plan)==null?void 0:_e.product)==null?void 0:ye.description),as=d.plan.amount?"$".concat((d.plan.amount/100).toFixed(2)):"Free",is=d.plan.interval?"/".concat(d.plan.interval):"",Pe=d.current_period_end?new Date(d.current_period_end*1e3).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null;return e.jsx("div",{style:E.currentSubCard,children:e.jsxs("div",{className:"current-sub-row",children:[be?e.jsx("img",{src:be,alt:ve,style:E.subImage}):e.jsx("div",{style:E.subImagePlaceholder,children:e.jsx(v,{name:"box",size:"large",style:{color:"#999",margin:0}})}),e.jsxs("div",{style:E.subContent,className:"sub-content",children:[e.jsx("div",{style:E.subName,children:ve}),Se&&e.jsx("div",{style:E.subDetails,className:"sub-description",children:e.jsx("span",{style:{color:"#888",fontSize:"0.9rem"},children:Se})})]}),e.jsxs("div",{style:E.subPrice,children:[as,is]}),Pe&&d.plan.amount&&e.jsxs("div",{style:E.nextBillingBox,children:[e.jsxs("div",{style:E.nextBillingLabel,children:[e.jsx(v,{name:"calendar alternate outline",style:{margin:0,fontSize:"0.9rem"}}),"Next billing"]}),e.jsx("div",{style:E.nextBillingDate,children:Pe})]})]})},d.id)})]}),e.jsxs("div",{style:E.section,children:[e.jsxs("h2",{style:E.sectionTitle,children:[e.jsx(v,{name:"grid layout",style:{color:"#1a1a1a"}}),N.length>0?"Other Available Plans":"Available Subscription Plans"]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 500px), 1fr))",gap:"1.25rem"},children:M.map(d=>{const S=d.images&&d.images.length>0,w=Qs(d),K=d.metadata&&Object.keys(d.metadata).length>0;return e.jsx(Xs,{product:d,hasImage:S,paymentType:w,hasMetadata:K,formatPrice:Js,subscriptions:g,onCancel:ts,onChangePlan:ns,isChangingPlan:I},d.id)})}),M.length===0&&e.jsxs("div",{style:{padding:"2rem",background:"#fff3cd",border:"1px solid #ffc107",borderRadius:"8px",textAlign:"center"},children:[e.jsx(v,{name:"info circle",size:"large",style:{color:"#856404"}}),e.jsx("div",{style:{marginTop:"1rem",fontSize:"1.1rem",fontWeight:600,color:"#856404"},children:"No Subscription Plans Available"}),e.jsx("div",{style:{marginTop:"0.5rem",color:"#856404"},children:"There are no subscription products currently available. Please contact support for assistance."})]})]}),e.jsxs(Y,{open:C,onClose:()=>!I&&k(!1),size:"small",children:[e.jsxs(Y.Header,{children:[e.jsx(v,{name:"exchange",color:"orange"}),"Confirm Plan Change"]}),e.jsx(Y.Content,{children:e.jsxs("div",{style:{padding:"1rem"},children:[e.jsxs(z,{info:!0,children:[e.jsx(z.Header,{children:"How Plan Changes Work"}),e.jsxs(z.List,{children:[e.jsxs(z.Item,{children:["Your subscription will be updated immediately to ",e.jsx("strong",{children:U})]}),e.jsx(z.Item,{children:"You'll be charged the prorated difference for the remainder of your billing period (unused time on your current plan is credited automatically)"}),e.jsx(z.Item,{children:"Your next billing date remains the same"}),e.jsx(z.Item,{children:"Your account permissions will be updated automatically"})]})]}),e.jsx("p",{style:{marginTop:"1.5rem",fontSize:"1.05rem",textAlign:"center"},children:"Are you sure you want to change your subscription plan?"})]})}),e.jsxs(Y.Actions,{children:[e.jsxs(O,{onClick:()=>k(!1),disabled:I,children:[e.jsx(v,{name:"cancel"}),"Cancel"]}),e.jsxs(O,{color:"orange",onClick:rs,loading:I,disabled:I,children:[e.jsx(v,{name:"check"}),"Confirm Change"]})]})]})]})})}function et(t){const{support_email:o}=W();return e.jsxs("div",{className:"Missing",style:{color:"#888"},children:[e.jsx("h2",{children:"Access error"}),e.jsx("p",{children:"You are seeing a page that we are not expecting to display for you."}),e.jsxs("p",{children:["Please contact ",o]}),e.jsx("p",{children:"Possible causes issues:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"There's a bug in the softw
27are"}),e.jsx("li",{children:"Your user account is mis-configured"}),e.jsx("li",{children:"You're a developer working on a new feature for this site"}),e.jsx("li",{children:"You're trying to hack the site"})]})]})}function st({application:t}){var o;const p=(o=t==null?void 0:t.admin_settings)!=null?o:new Map,u=Ls(p);return e.jsx(zs,{config:u,populateUsername:!u.sendPublic,sendPublicDefault:!1})}function Ne(){const{uniqueId:t,unitId:o,chapterId:p}=ps(),u=p?"/app/course/".concat(t,"/").concat(o,"/").concat(p):"/app/course/".concat(t,"/").concat(o);return e.jsx(de,{to:u,replace:!0})}function x({children:t}){const o=J();return e.jsxs("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column"},children:[e.jsx("div",{style:{padding:"0.5rem 1rem",borderBottom:"1px solid #ddd",background:"#f8f9fa",position:"sticky",top:0,zIndex:100},children:e.jsx(he,{children:e.jsxs(O,{as:"a",href:"/home",basic:!0,size:"small",onClick:p=>{p.preventDefault(),o("/home")},children:[e.jsx(v,{name:"home"}),"Home"]})})}),e.jsx("div",{style:{flex:1},children:t})]})}var He;const r=()=>e.jsx(H,{active:!0,inline:"centered",content:"Loading..."}),tt=s.lazy(()=>a(()=>import("./ActionRunner-BUE_9DIk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]))),nt=s.lazy(()=>a(()=>import("./AgentsApp-Cu7SDJl5.js"),__vite__mapDeps([57,1,2,48,49,13,5,6,14,15,8,9,10,11,12,58,59,4,7,60,61,19,20,39,40,41,42,43,35,21,44,45,46,18,47,31,50,51,62,63,64,26,33,34,65,28,66,29,67,68,69,25,27,30,70,16,17,22,23,24,32,36,54,71,72,73,74,75]))),rt=s.lazy(()=>a(()=>import("./ApiGateway-C5utUpws.js"),__vite__mapDeps([76,1,2,5,6,77,4,7,46,35,39,40,41,19,20,42,43,21,44,45,18,47,48,49,31,50,51,75,78,72,63,79,80,81]))),at=s.lazy(()=>a(()=>import("./ApiUser-BshVhiQn.js"),__vite__mapDeps([82,1,2,77,4,5,6,7,46,35,83]))),it=s.lazy(()=>a(()=>import("./ChromeIntegration-CQ9mUkO5.js"),__vite__mapDeps([84,1,2,85,4,5,6,7,8,9,10,11,12,61,19,20,39,40,41,42,43,35,21,44,45,46,18,47,48,49,31,50,51,62,63,64,26,33,34,65,28,66,29,67,68,69,25,27,30,70,16,17,22,23,24,32,36,54,71,72,73,74,86,87,88,89,60,90,38,52,91,92,93]))),ot=s.lazy(()=>a(()=>import("./Dashboard-D6aWkt-D.js"),__vite__mapDeps([94,1,2,95,96,97,4,5,6,7,98,44,29,99,100,21,101,102,50,41,19,20,42,43,35,45,46,18,47,103,104,13,14,15,39,40,48,49,31,51,105,70,106,9,107]))),lt=s.lazy(()=>a(()=>import("./PublicDashboard-D9gXor-J.js"),__vite__mapDeps([108,1,2,4,5,6,7,103,100,104]))),ct=s.lazy(()=>a(()=>import("./PublicNotebookPage-BeHBtcQp.js"),__vite__mapDeps([109,1,2,110,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,111,17,22,112,16,23,24,25,26,27,28,29,30,32,33,34,36,62,63,64,78,72,14,3,8,9,10,11,12,13,15,37,113,52,114,115,116,117,69,118,119]))),dt=s.lazy(()=>a(()=>import("./Dropbox-BJ2iIj2b.js"),__vite__mapDeps([120,1,2]))),pt=s.lazy(()=>a(()=>import("./Discord-DbgSvpfD.js"),__vite__mapDeps([121,1,2,13,5,6,14,15,39,40,41,19,20,42,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,122]))),ut=s.lazy(()=>a(()=>import("./Parallax-B1e3rbLe.js"),__vite__mapDeps([123,1,2,124,11,125,96,97,4,5,6,7,98,44,29,99,100,21,101,126,95,127,128,129,68,40,130,131]))),ce=s.lazy(()=>a(()=>import("./WebBuilderPane-DpR-PyhS.js"),__vite__mapDeps([132,1,2,50,133,5,6,102,35,4,7]))),mt=s.lazy(()=>a(()=>import("./LeadForm-DWV5PtIU.js"),__vite__mapDeps([134,1,2]))),me=s.lazy(()=>a(()=>import("./AppWebsiteV2-ClyCSvQD.js").then(t=>t.x),__vite__mapDeps([96,1,2,97,4,5,6,7,98,44,29,99,100,21,101]))),xt=s.lazy(()=>a(()=>import("./Course-DgUhtNkj.js"),__vite__mapDeps([135,1,2,136,137,138,139,4,5,6,7,140,141,97,98,142,143,144,46,145]))),ht=s.lazy(()=>a(()=>import("./CourseCover-DF5-BLCZ.js"),__vite__mapDeps([146,1,2,143,144,147]))),Ue=s.lazy(()=>a(()=>import("./CourseUnit-J23vaoOK.js"),__vite__mapDeps([148,1,2,136,137,138,139,4,5,6,7,140,141,97,98,142,29,110,39,40,41,19,20,42,43,35,21,44,45,46,18,47,48,49,31,50,51,111,17,22,112,16,23,24,25,26,27,28,30,32,33,34,36,62,63,64,78,72,14,3,8,9,10,11,12,13,15,37,113,52,114,115,116,117,149,150,143,106,151]))),jt=s.lazy(()=>a(()=>import("./EmailMarketing-C0wwwAzW.js"),__vite__mapDeps([152,1,2,26,5,6]))),gt=s.lazy(()=>a(()=>import("./Files-CPg2m5gt.js"),__vite__mapDeps([153,1,2,85,4,5,6,7,8,9,10,11,12,61,19,20,39,40,41,42,43,35,21,44,45,46,18,47,48,49,31,50,51,62,63,64,26,33,34,65,28,66,29,67,68,69,25,27,30,70,16,17,22,23,24,32,36,54,71,72,73,74,86,87,88,89,60,90,38,52,91]))),ft=s.lazy(()=>a(()=>import("./Hubspot-DsOZVYA_.js"),__vite__mapDeps([154,1,2]))),_t=s.lazy(()=>a(()=>import("./LinkedIn-UKP_Wn2T.js"),__vite__mapDeps([155,1,2]))),yt=s.lazy(()=>a(()=>import("./Neptune-cud28XCD.js"),__vite__mapDeps([156,1,2,19,20]))),Ge=s.lazy(()=>a(()=>import("./MailingList-DO9HQvYG.js"),__vite__mapDeps([157,1,2,4,5,6,7,158,35,13,14,15,8,9,10,11,12,159,74]))),bt=s.lazy(()=>a(()=>import("./MyAccount-B6-7e7Jz.js"),__vite__mapDeps([160,1,2,137,138,139,4,5,6,7,140,141,97,98,161,162,163,96,44,29,99,100,21,101,92,46,13,14,15,164,70,26,165]))),Ye=s.lazy(()=>a(()=>import("./ObjectExplorer-Bl-zkk46.js"),__vite__mapDeps([166,1,2,8,9,10,11,12,5,6,35,4,7,41,19,20,42,43,21,44,45,46,18,47,39,40,48,49,31,50,51,13,14,15,111,17,22,112,90,38,52,34,32,33,167,168]))),vt=s.lazy(()=>a(()=>import("./PendingActions-B9mP-6fW.js"),__vite__mapDeps([169,1,2]))),St=s.lazy(()=>a(()=>import("./Search-BgzBXlGM.js"),__vite__mapDeps([170,1,2]))),Pt=s.lazy(()=>a(()=>import("./PapersApp-eKTEbgjS.js"),__vite__mapDeps([171,1,2,92,5,6,13,14,15,172,117]))),Et=s.lazy(()=>a(()=>import("./PapersDeepLink-HjCtnlS3.js"),__vite__mapDeps([173,1,2]))),kt=s.lazy(()=>a(()=>import("./LLMReviewer-CBwLBiTS.js"),__vite__mapDeps([174,1,2,175,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51]
27))),It=s.lazy(()=>a(()=>import("./Orchestrator-vu3_nu4r.js"),__vite__mapDeps([176,1,2,4,5,6,7,177]))),wt=s.lazy(()=>a(()=>import("./Streams-40ciSb3w.js").then(t=>t.h),__vite__mapDeps([110,1,2,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,111,17,22,112,16,23,24,25,26,27,28,29,30,32,33,34,36,62,63,64,78,72,14,3,8,9,10,11,12,13,15,37,113,52,114,115,116,117]))),At=s.lazy(()=>a(()=>import("./Wallet-CzE47-cS.js"),__vite__mapDeps([178,1,2,13,5,6,14,15,8,9,10,11,12,4,7,3,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,58,179]))),Ct=s.lazy(()=>a(()=>import("./Database-BF_45MpC.js"),__vite__mapDeps([180,1,2,13,5,6,14,15,8,9,10,11,12,4,7,46,92,19,20,52,34,65,113,27,35,181]))),Tt=s.lazy(()=>a(()=>import("./SysAdminApp-BiecOwVC.js"),__vite__mapDeps([182,1,2,183,19,20,44,4,5,6,7,46,35,41,42,43,21,45,18,47,97,98,71,17,22,72,129,96,29,99,100,101,39,40,48,49,31,50,51,95,26,53,13,14,15,8,9,10,11,12,54,55,16,23,24,25,27,28,30,32,33,34,36,139,184,185,186,187,188]))),Dt=s.lazy(()=>a(()=>import("./Scheduler-DbDoulV5.js"),__vite__mapDeps([189,1,2,13,5,6,14,15,8,9,10,11,12,39,40,41,19,20,42,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,190,114,37,191]))),Rt=s.lazy(()=>a(()=>import("./UserManagementApp-BRG8NZnP.js"),__vite__mapDeps([192,1,2,4,5,6,7,35,46,139,161,162,97,98,183,19,20,44,41,42,43,21,45,18,47,71,17,22,72,129,96,29,99,100,101,39,40,48,49,31,50,51,95,26,53,13,14,15,8,9,10,11,12,54,55,16,23,24,25,27,28,30,32,33,34,36,184,185,186,187,193,194,79,195]))),$e=s.lazy(()=>a(()=>import("./DomainManager-DyhByTdj.js"),__vite__mapDeps([196,1,2,4,5,6,7,197]))),Lt=s.lazy(()=>a(()=>import("./Survey-Baa76Prd.js"),__vite__mapDeps([198,1,2,13,5,6,14,15,8,9,10,11,12,41,19,20,42,4,7,43,35,21,44,45,46,18,47,199,24,200,79,26,201,97,98,184,185,118,202,203,33,34,187,48,49,204,16,17,22,23,25,27,28,29,30,31,32,36,205]))),zt=s.lazy(()=>a(()=>import("./Calendar-tWwCrk0K.js"),__vite__mapDeps([206,1,2,5,6,207]))),Ot=s.lazy(()=>a(()=>import("./Appointments-CED__9x0.js"),__vite__mapDeps([208,1,2,5,6,4,7,209,46]))),Vt=s.lazy(()=>a(()=>import("./BookingPage-r2No3p2C.js"),__vite__mapDeps([210,1,2,211,5,6]))),Wt=s.lazy(()=>a(()=>import("./BookingConfirm-D-aXKpJq.js"),__vite__mapDeps([212,1,2,209,5,6,213,4,7]))),Bt=s.lazy(()=>a(()=>import("./BookingManage-CfB8xm9x.js"),__vite__mapDeps([214,1,2,211,4,5,6,7]))),qt=s.lazy(()=>a(()=>import("./CampaignPage-DKRU3k7h.js"),__vite__mapDeps([215,1,2,213,216]))),Ft=s.lazy(()=>a(()=>import("./Invite-CvFsNaLD.js"),__vite__mapDeps([217,1,2,218]))),Mt=s.lazy(()=>a(()=>import("./MidiApp-CGFaFTxv.js"),__vite__mapDeps([219,1,2,4,5,6,7]))),Nt=s.lazy(()=>a(()=>import("./SurveyPreviewPage-BdCGMqVk.js"),__vite__mapDeps([201,1,2,97,4,5,6,7,98,184,185,199,24,118,202]))),Ht=s.lazy(()=>a(()=>import("./PublicSurveyPage-UJQept7B.js"),__vite__mapDeps([220,1,2,4,5,6,7,199,24,204,118,202]))),Ut=s.lazy(()=>a(()=>import("./PublicSurveyResults-9uEWxQg6.js"),__vite__mapDeps([221,1,2,200,24,4,5,6,7,222,202]))),Ke=s.lazy(()=>a(()=>import("./SiteWizardPage-Cu_4iVX0.js"),__vite__mapDeps([223,1,2,5,6,4,7,224]))),Gt=s.lazy(()=>a(()=>import("./Podcast-DfpR-4Kc.js"),__vite__mapDeps([225,1,2,66,29,4,5,6,7,67,226,227,106,9])).then(t=>({default:t.PodcastAppWrapper}))),Yt=s.lazy(()=>a(()=>import("./PodcastSeason-Df1yr69m.js"),__vite__mapDeps([228,1,2,66,29,4,5,6,7,67,226,227,106])).then(t=>({default:t.PodcastSeasonWrapper}))),$t=s.lazy(()=>a(()=>import("./PodcastEpisode-BBvDBYji.js"),__vite__mapDeps([229,1,2,66,29,4,5,6,7,67,230])).then(t=>({default:t.PodcastEpisodeWrapper}))),Kt=s.lazy(()=>a(()=>import("./Demo-DE70uy3c.js"),__vite__mapDeps([231,1,2,4,5,6,7]))),Jt=s.lazy(()=>a(()=>import("./FileViewer-DMiPaqrp.js"),__vite__mapDeps([232,1,2,61,19,20,39,40,41,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,62,63,64,26,33,34,65,28,66,29,67,68,69,25,27,30,70,16,17,22,23,24,32,36,54,71,72,73,74]))),Qt=s.lazy(()=>a(()=>import("./VideoPlayer-DhzcQDQs.js"),__vite__mapDeps([233,1,2,25,20,26,5,6,27,4,7,28,29,30]))),Xt=s.lazy(()=>a(()=>import("./FilePicker-DtJU4oS0.js"),__vite__mapDeps([234,1,2,4,5,6,7,118]))),Zt=s.lazy(()=>a(()=>import("./BoxIcons-CKSL2__5.js"),__vite__mapDeps([235,1,2,4,5,6,7,46]))),en=s.lazy(()=>a(()=>import("./IconSelector-BgyqMB2i.js"),__vite__mapDeps([236,1,2,4,5,6,7]))),sn=s.lazy(()=>a(()=>import("./StringPage-kPBqPobM.js"),__vite__mapDeps([237,1,2,4,5,6,7]))),tn=s.lazy(()=>a(()=>import("./IntegerPage-BkTSKUow.js"),__vite__mapDeps([238,1,2,4,5,6,7]))),nn=s.lazy(()=>a(()=>import("./FloatPage-CqRrlIGE.js"),__vite__mapDeps([239,1,2,4,5,6,7]))),r
27n=s.lazy(()=>a(()=>import("./ParametersDemo-Cp4G0HNf.js"),__vite__mapDeps([240,1,2,241]))),an=s.lazy(()=>a(()=>import("./ParameterKeyPage-bSXsXRhu.js"),__vite__mapDeps([242,1,2,4,5,6,7,118]))),on=s.lazy(()=>a(()=>import("./StoreDemo-C8JdP652.js"),__vite__mapDeps([243,1,2,5,6,118]))),ln=s.lazy(()=>a(()=>import("./FileUploader-D0xP6JXr.js"),__vite__mapDeps([244,1,2,4,5,6,7,86,245]))),cn=s.lazy(()=>a(()=>import("./WebCamPage-B-1rUt_X.js"),__vite__mapDeps([246,1,2,88,5,6,89]))),dn=s.lazy(()=>a(()=>import("./DataFetcherPage-nFRJ1gF-.js"),__vite__mapDeps([247,1,2,4,5,6,7]))),pn=s.lazy(()=>a(()=>import("./AudioRecorderPage-1HCMEVO6.js"),__vite__mapDeps([248,1,2,87,4,5,6,7]))),un=s.lazy(()=>a(()=>import("./AudioPlayerPage-DzfdBQ54.js"),__vite__mapDeps([249,1,2,4,5,6,7,66,29,67]))),mn=s.lazy(()=>a(()=>import("./AudioPlayerV2Demo-bikTrAHb.js"),__vite__mapDeps([250,1,2,29,96,97,4,5,6,7,98,44,99,100,21,101]))),xn=s.lazy(()=>a(()=>import("./PlusScriptPage-BL8R1a-J.js"),__vite__mapDeps([251,1,2,175,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51]))),hn=s.lazy(()=>a(()=>import("./ForceGraphPage-bcCQPEko.js"),__vite__mapDeps([252,1,2,110,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,111,17,22,112,16,23,24,25,26,27,28,29,30,32,33,34,36,62,63,64,78,72,14,3,8,9,10,11,12,13,15,37,113,52,114,115,116,117,253]))),jn=s.lazy(()=>a(()=>import("./VisjsGraphPage-BXtADDqe.js"),__vite__mapDeps([254,1,2,255,113]))),gn=s.lazy(()=>a(()=>import("./MarkdownPage-D--sTGO6.js"),__vite__mapDeps([256,1,2,110,39,40,41,19,20,42,5,6,4,7,43,35,21,44,45,46,18,47,48,49,31,50,51,111,17,22,112,16,23,24,25,26,27,28,29,30,32,33,34,36,62,63,64,78,72,14,3,8,9,10,11,12,13,15,37,113,52,114,115,116,117]))),fn=s.lazy(()=>a(()=>import("./NotificationPage-BnJ8Z69i.js"),__vite__mapDeps([257,1,2]))),_n=s.lazy(()=>a(()=>import("./StripeCartTest-B0TGj1bz.js"),__vite__mapDeps([258,1,2,4,5,6,7]))),yn=s.lazy(()=>a(()=>import("./AuthenticationPage-BT81p68X.js"),__vite__mapDeps([259,1,2]))),bn=s.lazy(()=>a(()=>import("./DateTimePage-BovFQERE.js"),__vite__mapDeps([260,1,2,4,5,6,7]))),vn=s.lazy(()=>a(()=>import("./WebSocketPage-wjKUik31.js"),__vite__mapDeps([261,1,2,5,6]))),Sn=s.lazy(()=>a(()=>import("./ReceiptPage-BWzAzhxa.js"),__vite__mapDeps([262,1,2,4,5,6,7]))),Pn=s.lazy(()=>a(()=>import("./Presentation-DR00fLTQ.js"),__vite__mapDeps([263,1,2,24,5,6]))),En=s.lazy(()=>a(()=>import("./SliderPage-DppeRkGu.js"),__vite__mapDeps([264,1,2,4,5,6,7]))),kn=s.lazy(()=>a(()=>import("./SplitPaneLayoutDemo-OFoY1rgi.js"),__vite__mapDeps([265,1,2,8,9,10,11,12,4,5,6,7]))),In=s.lazy(()=>a(()=>import("./DictionaryInput-CJghzNsB.js"),__vite__mapDeps([266,1,2,267]))),wn=s.lazy(()=>a(()=>import("./WebGL-sBNHiJnp.js"),__vite__mapDeps([268,1,2]))),An=s.lazy(()=>a(()=>import("./WebGL2-kpiksxZb.js"),__vite__mapDeps([269,1,2]))),Cn=s.lazy(()=>a(()=>import("./PlusScriptAPIEndpointsPage-Cvs1KqD1.js"),__vite__mapDeps([270,1,2]))),Tn=s.lazy(()=>a(()=>import("./ActionRunnerDemo-Hju6gTH5.js"),__vite__mapDeps([271,1,2,13,5,6,14,15,4,7,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]))),Dn=s.lazy(()=>a(()=>import("./SurveyComponentsDemo-BjSxD_my.js"),__vite__mapDeps([272,1,2,4,5,6,7])));new hs;(He=void 0)==null||He.toLowerCase();function va(){const t=re(),{hostname:o,support_email:p,api_url:u}=W(),{username:j}=q(),[h,g]=s.useState(null),_=window.location.href.split("/");_[_.length-1];const i={};return h?e.jsxs("div",{children:[e.jsxs("h1",{children:["ERROR: ",h]}),e.jsxs("p",{children:["Please contact ",p]})]}):e.jsxs(us,{children:[e.jsx(n,{path:"/",element:e.jsx(qe,{})}),e.jsx(n,{path:"/health",element:e.jsx(bs,{})}),e.jsx(n,{path:"/policy",element:e.jsx(vs,{})}),e.jsx(n,{path:"/privacy-policy",element:e.jsx(Le,{})}),e.jsx(n,{path:"/privacy",element:e.jsx(Le,{})}),e.jsx(n,{path:"/terms",element:e.jsx(ze,{})}),e.jsx(n,{path:"/terms-and-conditions",element:e.jsx(ze,{})}),e.jsx(n,{path:"/survey-preview",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Nt,{})})}),e.jsx(n,{path:"/s/:username/:survey_id",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ht,{})})}),e.jsx(n,{path:"/s/:username/:survey_id/results",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ut,{})})}),e.jsx(n,{path:"/login",element:e.jsx(qs,{})}),e.jsx(n,{path:"/login-google",element:e.jsx(Ps,{provider:"google"})}),e.jsx(n,{path:"/logout",element:e.jsx(Es,{})}),e.jsx(n,{path:"/signup",element:e.jsx(Fs,{})}),e.jsx(n,{path:"/reset",element:e.jsx(Ms,{})}),e.jsx(n,{path:"/reset-password",element:e.jsx(gs,{})}),e.jsx(n,{path:"/setup-account",element:e.jsx(Vs,{})}),e.jsx(n,{path:"/confirm-email",element:e.jsx(ks,{})}),e.jsx(n,{path:"/delete_account",element:e.jsx(Ws,{})}),e.jsx(n,{path:"/checkout-success",element:e.jsx(Fe,{outcome:"success"})}),e.jsx(n,{path:"/checkout-cancel",element:e.jsx(Fe,{outcome:"cancel"})}),e.jsx(n,{path:"/upgrade",element:e.jsx(Zs,{})}),e.jsx(n,{path:"/demo/cart/billing/success",element:e.jsx(x,{children:e.jsx(Us,{})})}),e.jsx(n,{path:"/demo/cart/billing/failure",element:e.jsx(x,{children:e.jsx(Gs,{})})}),e.jsx(n,{path:"/d/:ownername/:dashboardId",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(lt,{})})}),e.jsx(n,{path:"/nb/:username/:shareId",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ct,{})})}),e.jsx(n,{path:"/demo/video-player",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Qt,{})})})}),e.jsx(n,{path:"/demo/DictionaryInput",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(In,{})})})}),e.jsx(n,{path:"/demo/file-viewer",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Jt,{dao:t})})})}),e.jsx(n,{path:"/demo/component/date-range-selector",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Kt,{})})})}),e.jsx(n,{path:"/demo/icon-selector",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(en,{})})})}),e.jsx(n,{path:"/demo/boxicons",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Zt,{})})})}),e.jsx(n,{path:"/demo/parameter/string",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(sn,{})})})}),e.jsx(n,{path:"/demo/parameter/integer",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(tn,{})})})}),e.jsx(n,{path:"/demo/parameter/float",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(nn,{})})})}),e.jsx(n,{path:"/demo/parameter/slider",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(En,{})})})}),e.jsx(n,{path:"/demo/split-pane-layout",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(kn,{})})})}),e.jsx(n,{path:"/demo/parameter/datetime",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(bn,{})})})}),e.jsx(n,{path:"/demo/parameter",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(rn,{})})})}),e.jsx(n,{path:"/demo/survey-components",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Dn,{})})})}),e.jsx(n,{path:"/demo/uploader",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ln,{dao:t})})})}),e.jsx(n,{path:"/demo/webgl",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(wn,{})})})}),e.jsx(n,{path:"/demo/webgl2",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(An,{})})})}),e.jsx(n,{path:"/demo/action-runner",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Tn,{})})})}),e.jsx(n,{path:"/invite",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ft,{})})}),e.jsx(n,{path:"/book/:username/:slug",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Vt,{})})}),e.jsx(n,{path:"/book/:username/:slug/confirm",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Wt,{})})}),e.jsx(n,{path:"/booking/:id",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Bt,{})})}),e.jsx(n,{path:"/c/:username/:slug",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(qt,{})})}),e.jsx(n,{path:"/preview/website/:uniqueId/*",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(me,{})})}),e.jsx(n,{path:"/p/:uuid/*",element:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(me,{})})}),e.jsxs(n,{element:e.jsx(ms,{}),children:[e.jsx(n,{path:"/home",element:e.jsx(l,{rnp:i,app:e.jsx(qe,{dao:t})})}),e.jsx(n,{path:"/app/home/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(te,{dao:t})})}),e.jsx(n,{path:"/test",element:e.jsx(l,{rnp:i,app:e.jsx(Oe,{})})}),e.jsx(n,{path:"/test/*",element:e.jsx(Oe,{})}),e.jsx(n,{path:"/demo/store",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(on,{})})})}),e.jsx(n,{path:"/demo/stripe-cart-test",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(_n,{})})})}),e.jsx(n,{path:"/demo/file-picker",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Xt,{})})})}),e.jsx(n,{path:"/demo/parameter/key",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(an,{dao:t})})})}),e.jsx(n,{path:"/demo/parameter/webcam",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(cn,{})})})}),e.jsx(n,{path:"/demo/parameter/audio-recorder",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(pn,{})})})}),e.jsx(n,{path:"/demo/parameter/data-fetcher",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(dn,{})})})}),e.jsx(n,{path:"/demo/audio-player",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(un,{})})})}),e.jsx(n,{path:"/demo/audio-player-v2",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(mn,{})})})}),e.jsx(n,{path:"/demo/plus-script",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(xn,{})})})}),e.jsx(n,{path:"/demo/chart/graph",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(hn,{})})})}),e.jsx(n,{path:"/demo/chart/graph2",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(jn,{})})})}),e.jsx(n,{path:"/demo/markdown",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(gn,{})})})}),e.jsx(n,{path:"/demo/notification",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(fn,{})})})}),e.jsx(n,{path:"/demo/authentication",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(yn,{})})})}),e.jsx(n,{path:"/demo/receipt",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Sn,{})})})}),e.jsx(n,{path:"/demo/presentation",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Pn,{})})})}),e.jsx(n,{path:"/demo/websocket",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(vn,{})})})}),e.jsx(n,{path:"/demo/plus-script-api",element:e.jsx(x,{children:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Cn,{})})})}),e.jsx(n,{path:"/change-password",element:e.jsx(fs,{})}),e.jsx(n,{path:"/app/podcast/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Gt,{})})})}),e.jsx(n,{path:"/app/podcast/:uniqueId/:season",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Yt,{})})})}),e.jsx(n,{path:"/app/podcast/:uniqueId/:season/:episode",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx($t,{})})})}),e.jsx(n,{path:"/upload/:username/:uniqueId",element:e.jsx(Ss,{})}),e.jsx(n,{path:"/app/my_account/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(bt,{})})})}),e.jsx(n,{path:"/app/action_runner/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(tt,{dao:t})})})}),e.jsx(n,{path:"/app/admin/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Tt,{})})})}),e.jsx(n,{path:"/app/agents/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(nt,{})})})}),e.jsx(n,{path:"/app/api_gateway/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(rt,{dao:t})})})}),e.jsx(n,{path:"/app/api_user/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(at,{})})})}),e.jsx(n,{path:"/app/chrome_integration/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(it,{})})})}),e.jsx(n,{path:"/app/dashboard/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ot,{dao:t})})})}),e.jsx(n,{path:"/app/dropbox/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(dt,{dao:t})})})}),e.jsx(n,{path:"/app/email_list_publisher/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(jt,{dao:t})})})}),e.jsx(n,{path:"/app/files/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(gt,{})})})}),e.jsx(n,{path:"/app/hubspot/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ft,{})})})}),e.jsx(n,{path:"/app/linkedin/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(_t,{})})})}),e.jsx(n,{path:"/app/mailinglist/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ge,{})})})}),e.jsx(n,{path:"/app/mailinglist/:uniqueId/:sendId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ge,{})})})}),e.jsx(n,{path:"/app/wallet/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(At,{})})})}),e.jsx(n,{path:"/app/databases/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ct,{})})})}),e.jsx(n,{path:"/app/discord/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(pt,{})})})}),e.jsx(n,{path:"/app/tabbed/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(Os,{})})}),e.jsx(n,{path:"/app/web_builder/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ce,{})})})}),e.jsx(n,{path:"/app/formbuilder/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(mt,{})})})}),e.jsx(n,{path:"/web-builder",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ce,{})})})}),e.jsx(n,{path:"/web-builder/:uniqueId/*",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ce,{})})})}),e.jsx(n,{path:"/app/parallax/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ut,{})})})}),e.jsx(n,{path:"/app/domain_manager/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx($e,{})})})}),e.jsx(n,{path:"/app/survey/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Lt,{})})})}),e.jsx(n,{path:"/app/calendar/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(zt,{})})})}),e.jsx(n,{path:"/app/appointments/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ot,{})})})}),e.jsx(n,{path:"/app/midi/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Mt,{})})})}),e.jsx(n,{path:"/domain-manager",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx($e,{})})})}),e.jsx(n,{path:"/new-site",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ke,{})})})}),e.jsx(n,{path:"/new-site/:draftId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ke,{})})})}),e.jsx(n,{path:"/app/course/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(ht,{})})})}),e.jsx(n,{path:"/app/course/:uniqueId/contents",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(xt,{})})})}),e.jsx(n,{path:"/app/course/:uniqueId/contents/:unitId",element:e.jsx(Ne,{})}),e.jsx(n,{path:"/app/course/:uniqueId/contents/:unitI
27d/:chapterId",element:e.jsx(Ne,{})}),e.jsx(n,{path:"/app/course/:uniqueId/:unitId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ue,{})})})}),e.jsx(n,{path:"/app/course/:uniqueId/:unitId/:chapterId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ue,{})})})}),e.jsx(n,{path:"/app/neptune/:uniqueId",element:e.jsx(l,{app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(yt,{})})})}),e.jsx(n,{path:"/app/pending_actions/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(vt,{dao:t})})})}),e.jsx(n,{path:"/app/scheduler/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Dt,{dao:t})})})}),e.jsx(n,{path:"/app/search/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(St,{dao:t})})})}),e.jsx(n,{path:"/app/paper_search/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Pt,{})})})}),e.jsx(n,{path:"/go/papers",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Et,{})})})}),e.jsx(n,{path:"/app/llm_reviewer/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(kt,{})})})}),e.jsx(n,{path:"/app/orchestrator/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(It,{})})})}),e.jsx(n,{path:"/app/collections",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ye,{})})})}),e.jsx(n,{path:"/app/collections/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Ye,{})})})}),e.jsx(n,{path:"/app/streams/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(wt,{dao:t})})})}),e.jsx(n,{path:"/app/support/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(st,{})})}),e.jsx(n,{path:"/app/user_management/:uniqueId",element:e.jsx(l,{rnp:i,app:e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(Rt,{})})})})]}),e.jsx(n,{path:"*",element:e.jsx(Rn,{rnp:i})})]})}function Rn({rnp:t}){const{hasWebsite:o,websiteVersion:p}=xs();return o&&p===2?e.jsx(s.Suspense,{fallback:e.jsx(r,{}),children:e.jsx(me,{})}):e.jsx(l,{rnp:t,app:e.jsx(et,{})})}export{va as default};

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.