import{j as o,c as e}from"../client-By3tlFYA.js";import{P as r,Q as p,R as a,k as n,W as c,X as d}from"../useSelectableClick-CQ_VFIFJ.js";import{A as l,M as f,L as u}from"../modal_container-Dup9bNyQ.js";import{C as h}from"../compose_form_container-BMeBJoQt.js";import{e as m}from"../index-TEHZzOO_.js";import{I as j}from"../intl_provider-BnWWrhT_.js";import{l as x}from"../relative_timestamp-BOUL06oe.js";import{r as C}from"../ready-DpOgoWSg.js";import"../index-DkCxcZFY.js";import"../message-CVkQtbZv.js";import"../short_number-C9zm8Jg6.js";import"../numbers-BLyy7tyF.js";import"../index-DUY7J2K7.js";import"../skeleton-CwYXpOUk.js";import"../api-C8Dh2R2O.js";import"../index-DiPYjm3h.js";import"../load_locale-2yQZbENH.js";import"../index-YUdHwY73.js";import"../Helmet-BG0DmkIY.js";import"../media_modal-CoqgRgFN.js";import"../index-SvMmTaOB.js";import"../chevron_left-tY77j9LU.js";import"../use-gesture-react.esm-DRqc-06E.js";import"../react-textarea-autosize.browser.esm-CJKL8aJv.js";import"../use-isomorphic-layout-effect.browser.esm-Du49dnA5.js";import"../status_quoted-CNmszMt2.js";import"../embedded_status-NMQ-naj-.js";import"../embedded_status_content-C5rJFkIQ.js";import"../gif-Dae76uEl.js";import"../unfold_more-Dg1Ay52N.js";import"../dropdown_selector-CsLG8073.js";import"../info-onfAZF3m.js";import"../check_box-QCiLmhXY.js";import"../done-Bx77AbGW.js";import"../emoji_picker_dropdown_container-DncjbhmS.js";import"../fuzzysort-Dw0vBoYW.js";import"../hashtags-CRafzBM6.js";import"../index-DaLAhXsP.js";import"../counters-O2iLRFgv.js";import"../follow_button-CIPvYoFQ.js";import"../verified_badge-BbjEYei4.js";import"../edit-D0aVSJLs.js";const g=()=>o.jsxs(o.Fragment,{children:[o.jsx(h,{autoFocus:!0,withoutNavigation:!0,redirectOnSuccess:!0}),o.jsx(l,{}),o.jsx(f,{}),o.jsx(u,{className:"loading-bar"})]});m&&r.dispatch(p(m));r.dispatch(a());r.dispatch(n());const S=()=>o.jsx(j,{children:o.jsx(c,{store:r,children:o.jsx(d,{children:o.jsx(g,{})})})});function v(){const t=document.getElementById("mastodon-compose");if(t){const i=t.getAttribute("data-props");if(!i)return;const s=JSON.parse(i);e.createRoot(t).render(o.jsx(S,{...s}))}}function y(){C(v).catch(t=>{console.error(t)})}x().then(y).catch(t=>{console.error(t)});
//# sourceMappingURL=share-Cv8waKPb.js.map
