!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c8539ccd-5bc1-4882-93e3-6f145901f551",e._sentryDebugIdIdentifier="sentry-dbid-c8539ccd-5bc1-4882-93e3-6f145901f551")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"068845a823c962888381794c354a8f6b6e263031"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[189],{8937:function(e,t,n){n.r(t);var o=n(87462),d=n(45987),i=n(67294),r=n(5575),l=n(15557),a=n(60677),f=["autoFocus"],c=(0,a.default)(r.default).attrs({"data-testid":"editor"}).withConfig({displayName:"editor__StyledEditor",componentId:"sc-c7iwfz-0"})(["position:relative;outline:none;word-wrap:break-word;&.medium-editor-placeholder:after{color:",";content:attr(data-placeholder) !important;font-style:italic;left:0;position:absolute;top:0;white-space:pre;padding:inherit;margin:inherit;}"],(0,l.getColor)("border"));t.default=function(e){var t=e.autoFocus,n=(0,d.Z)(e,f),r=(0,i.useRef)();return(0,i.useLayoutEffect)((function(){if(t){var e=r.current.medium.elements[0].lastChild;e.scrollIntoView(),r.current.medium.selectElement(e),document.getSelection().collapseToEnd()}}),[]),i.createElement(c,(0,o.Z)({ref:r},n))}}}]);