/*! For license information please see main-be5e06f6.8b5524724af5c77d8622.js.LICENSE.txt */ "use strict";(self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[4398],{7409(e,t,r){r.d(t,{D0:()=>P,Mt:()=>x,lN:()=>O,lV:()=>g,mN:()=>S});var n=r(8621),o=r(9244),u=r(758),i=r(8718),a=["render","children","component"];function c(e,t,r){var n=e.render,i=e.children,c=e.component,s=(0,o.A)(e,a);if(c)return u.createElement(c,Object.assign(t,s,{children:i,render:n}));if(n)return n(void 0===i?Object.assign(t,s):Object.assign(t,s,{children:i}));if("function"!=typeof i)throw new Error("Must specify either a render prop, a render function as children, or a component prop to "+r);return i(Object.assign(t,s))}function s(e,t,r){void 0===r&&(r=function(e,t){return e===t});var n=u.useRef(e);u.useEffect(function(){r(e,n.current)||(t(),n.current=e)})}var l=function(e,t){if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),u=0;u component");return t}function O(e){var t=void 0===e?{}:e,r=t.onChange,n=t.subscription,o=void 0===n?h:n,i=S("useFormState"),a=u.useRef(!0),c=u.useRef(r);c.current=r;var s=u.useState(function(){var e={};return i.subscribe(function(t){e=t},o)(),r&&r(e),e}),l=s[0],f=s[1];u.useEffect(function(){return i.subscribe(function(e){a.current?a.current=!1:(f(e),c.current&&c.current(e))},o)},[]);var p={};return y(p,l),p}var w="undefined"!=typeof window&&window.navigator&&window.navigator.product&&"ReactNative"===window.navigator.product;function E(e){var t=u.useRef(e);return u.useEffect(function(){t.current=e}),u.useCallback(function(){for(var e=arguments.length,r=new Array(e),n=0;n component");return c((0,n.A)({children:s,component:l,ref:t},k),_,"Field("+h+")")})},310(e,t,r){r.d(t,{N_:()=>b,lq:()=>v,pg:()=>f,rd:()=>d});var n=r(758),o=r(4575),u=function(e,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},u(e,t)};function i(e,t){function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;ru,Bd:()=>i,lQ:()=>n,on:()=>o});var n=function(){};function o(e){for(var t=[],r=1;ri});var n=r(758),o=r(3353),u=["mousedown","touchstart"];const i=function(e,t,r){void 0===r&&(r=u);var i=(0,n.useRef)(t);(0,n.useEffect)(function(){i.current=t},[t]),(0,n.useEffect)(function(){for(var t=function(t){var r=e.current;r&&!r.contains(t.target)&&i.current(t)},n=0,u=r;nu});var n=r(758),o=r(3353);const u=function(e,t,r){if(!o.Bd)return[t,o.lQ,o.lQ];if(!e)throw new Error("useLocalStorage key may not be falsy");var u=r?r.raw?function(e){return e}:r.deserializer:JSON.parse,i=(0,n.useRef)(function(e){try{var n=r?r.raw?String:r.serializer:JSON.stringify,o=localStorage.getItem(e);return null!==o?u(o):(t&&localStorage.setItem(e,n(t)),t)}catch(e){return t}}),a=(0,n.useState)(function(){return i.current(e)}),c=a[0],s=a[1];(0,n.useLayoutEffect)(function(){return s(i.current(e))},[e]);var l=(0,n.useCallback)(function(t){try{var n="function"==typeof t?t(c):t;if(void 0===n)return;var o=void 0;o=r?r.raw?"string"==typeof n?n:JSON.stringify(n):r.serializer?r.serializer(n):JSON.stringify(n):JSON.stringify(n),localStorage.setItem(e,o),s(u(o))}catch(e){}},[e,s]),f=(0,n.useCallback)(function(){try{localStorage.removeItem(e),s(void 0)}catch(e){}},[e,s]);return[c,l,f]}},2713(e,t){var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,b={};function m(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}function h(){}function g(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=m.prototype;var S=g.prototype=new h;S.constructor=g,y(S,m.prototype),S.isPureReactComponent=!0;var O=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var o,u={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,o)&&!C.hasOwnProperty(o)&&(u[o]=t[o]);var c=arguments.length-2;if(1===c)u.children=n;else if(1y,d4:()=>C,wA:()=>O});var n=r(758),o=r(3721);function u(e){e()}var i={notify(){},get:()=>[]};function a(e,t){let r,n=i,o=0,a=!1;function c(){f.onStateChange&&f.onStateChange()}function s(){o++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){u(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let r=e;for(;r;)t.push(r),r=r.next;return t},subscribe(r){let n=!0;const o=t={callback:r,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){n&&null!==e&&(n=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function l(){o--,r&&0===o&&(r(),r=void 0,n.clear(),n=i)}const f={addNestedSub:function(e){s();const t=n.subscribe(e);let r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:c,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:()=>n};return f}var c=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),s=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),l=(()=>c||s?n.useLayoutEffect:n.useEffect)();Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var f=Symbol.for("react-redux-context"),p="undefined"!=typeof globalThis?globalThis:{};function d(){if(!n.createContext)return{};const e=p[f]??=new Map;let t=e.get(n.createContext);return t||(t=n.createContext(null),e.set(n.createContext,t)),t}var v=d();var y=function(e){const{children:t,context:r,serverState:o,store:u}=e,i=n.useMemo(()=>{const e=a(u);return{store:u,subscription:e,getServerState:o?()=>o:void 0}},[u,o]),c=n.useMemo(()=>u.getState(),[u]);l(()=>{const{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==u.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,c]);const s=r||v;return n.createElement(s.Provider,{value:i},t)};function b(e=v){return function(){return n.useContext(e)}}var m=b();function h(e=v){const t=e===v?m:b(e),r=()=>{const{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var g=h();function S(e=v){const t=e===v?g:h(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var O=S(),w=(e,t)=>e===t;function E(e=v){const t=e===v?m:b(e),r=(e,r={})=>{const{equalityFn:u=w}="function"==typeof r?{equalityFn:r}:r;const i=t(),{store:a,subscription:c,getServerState:s}=i,l=(n.useRef(!0),n.useCallback({[e.name]:t=>e(t)}[e.name],[e])),f=(0,o.useSyncExternalStoreWithSelector)(c.addNestedSub,a.getState,s||a.getState,l,u);return n.useDebugValue(f),f};return Object.assign(r,{withTypes:()=>r}),r}var C=E()},7150(e,t,r){function n(e){return({dispatch:t,getState:r})=>n=>o=>"function"==typeof o?o(t,r,e):n(o)}r.d(t,{P:()=>o,Y:()=>u});var o=n(),u=n}}]);