Files
mediacms/static/chapters_editor/chapters-editor.js
T

204 lines
401 KiB
JavaScript
Raw Normal View History

2025-07-28 03:32:43 +03:00
(function(){"use strict";var dm={exports:{}},Jc={exports:{}},ul={exports:{}};ul.exports;var vm;function U0(){return vm||(vm=1,function(M,R){/**
* @license React
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var be="18.3.1",Re=Symbol.for("react.element"),we=Symbol.for("react.portal"),ve=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ge=Symbol.for("react.provider"),re=Symbol.for("react.context"),Tt=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),je=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),Be=Symbol.for("react.lazy"),Qe=Symbol.for("react.offscreen"),I=Symbol.iterator,xt="@@iterator";function ot(s){if(s===null||typeof s!="object")return null;var m=I&&s[I]||s[xt];return typeof m=="function"?m:null}var Le={current:null},rt={transition:null},Ce={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},U={current:null},Z={},zt=null;function Et(s){zt=s}Z.setExtraStackFrame=function(s){zt=s},Z.getCurrentStack=null,Z.getStackAddendum=function(){var s="";zt&&(s+=zt);var m=Z.getCurrentStack;return m&&(s+=m()||""),s};var st=!1,Ot=!1,ke=!1,X=!1,tt=!1,oe={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:rt,ReactCurrentOwner:U};oe.ReactDebugCurrentFrame=Z,oe.ReactCurrentActQueue=Ce;function Se(s){{for(var m=arguments.length,_=new Array(m>1?m-1:0),O=1;O<m;O++)_[O-1]=arguments[O];G("warn",s,_)}}function q(s){{for(var m=arguments.length,_=new Array(m>1?m-1:0),O=1;O<m;O++)_[O-1]=arguments[O];G("error",s,_)}}function G(s,m,_){{var O=oe.ReactDebugCurrentFrame,J=O.getStackAddendum();J!==""&&(m+="%s",_=_.concat([J]));var Ue=_.map(function(xe){return String(xe)});Ue.unshift("Warning: "+m),Function.prototype.apply.call(console[s],console,Ue)}}var he={};function mt(s,m){{var _=s.constructor,O=_&&(_.displayName||_.name)||"ReactClass",J=O+"."+m;if(he[J])return;q("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",m,O),he[J]=!0}}var At={isMounted:function(s){return!1},enqueueForceUpdate:function(s,m,_){mt(s,"forceUpdate")},enqueueReplaceState:function(s,m,_,O){mt(s,"replaceState")},enqueueSetState:function(s,m,_,O){mt(s,"setState")}},ct=Object.assign,en={};Object.freeze(en);function jt(s,m,_){this.props=s,this.context=m,this.refs=en,this.updater=_||At}jt.prototype.isReactComponent={},jt.prototype.setState=function(s,m){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,m,"setState")},jt.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Ye={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ze=function(s,m){Object.defineProperty(jt.prototype,s,{get:function(){Se("%s(...) is deprecated in plain JavaScript React classes. %s",m[0],m[1])}})};for(var Ve in Ye)Ye.hasOwnProperty(Ve)&&ze(Ve,Ye[Ve])}function vn(){}vn.prototype=jt.prototype;function Ze(s,m,_){this.props=s,this.context=m,this.refs=en,this.updater=_||At}var Gt=Ze.prototype=new vn;Gt.constructor=Ze,ct(Gt,jt.prototype),Gt.isPureReactComponent=!0;function St(){var s={current:null};return Object.seal(s),s}var it=Array.isArray;function an(s){return it(s)}function on(s){{var m=typeof Symbol=="function"&&Symbol.toStringTag,_=m&&s[Symbol.toStringTag]||s.constructor.name||"Object";return _}}function ln(s){try{return cn(s),!1}catch{return!0}}function cn(s){return""+s}function z(s){if(ln(s))return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",on(s)),cn(s)}function ue(s,m,_){var O=s.displayName;if(O)return O;var J=m.displayName||m
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
2025-07-28 03:32:43 +03:00
Did you accidentally put curly braces around the import?`,J),"default"in J||q(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
2025-07-28 03:32:43 +03:00
const MyComponent = lazy(() => import('./MyComponent'))`,J),J.default}else throw s._result}function Cr(s){var m={_status:Ra,_result:s},_={$$typeof:Be,_payload:m,_init:Ua};{var O,J;Object.defineProperties(_,{defaultProps:{configurable:!0,get:function(){return O},set:function(Ue){q("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),O=Ue,Object.defineProperty(_,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return J},set:function(Ue){q("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),J=Ue,Object.defineProperty(_,"propTypes",{enumerable:!0})}}})}return _}function xr(s){s!=null&&s.$$typeof===te?q("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?q("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&q("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&q("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:Tt,render:s};{var _;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return _},set:function(O){_=O,!s.name&&!s.displayName&&(s.displayName=O)}})}return m}var h;h=Symbol.for("react.module.reference");function B(s){return!!(typeof s=="string"||typeof s=="function"||s===ve||s===W||tt||s===f||s===ce||s===je||X||s===Qe||st||Ot||ke||typeof s=="object"&&s!==null&&(s.$$typeof===Be||s.$$typeof===te||s.$$typeof===ge||s.$$typeof===re||s.$$typeof===Tt||s.$$typeof===h||s.getModuleId!==void 0))}function ne(s,m){B(s)||q("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var _={$$typeof:te,type:s,compare:m===void 0?null:m};{var O;Object.defineProperty(_,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(J){O=J,!s.name&&!s.displayName&&(s.displayName=J)}})}return _}function fe(){var s=Le.current;return s===null&&q(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function lt(s){var m=fe();if(s._context!==void 0){var _=s._context;_.Consumer===s?q("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):_.Provider===s&&q("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function qe(s){var m=fe();return m.useState(s)}function v(s,m,_){var O=fe();return O.useReducer(s,m,_)}function w(s){var m=fe();return m.useRef(s)}function E(s,m){var _=fe();return _.useEffect(s,m)}function b(s,m){var _=fe();return _.useInsertionEffect(s,m)}function S(s,m){var _=fe();return _.useLayoutEffect(s,m)}function L(s,m){var _=fe();return _.useCallback(s,m)}function T(s,m){var _=fe();return _.useMemo(s,m)}function V(s,m,_){var O=fe();return O.useImperativeHandle(s,m,_)}function j(s,m){{var _=fe();return _.useDebugValue(s,m)}}function F(){var s=fe();return s.useTransition()}function ut(s){var m=fe();return m.useDeferredValue(s)}function ee(){var s=fe();return s.useId()}function dt(s,m,_){var O=fe();return O.useSyncExternalStore(s,m,_)}var Rt=0,Ct,hn,Rr,Ha,On,wr,Vn;function Yt(){}Yt.__reactDisabledLog=!0;function ha(){{if(Rt===0){Ct=console.log,hn=console.info,Rr=console.warn,Ha=console.error,On=console.group,wr=console.groupCollapsed,Vn=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Yt,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Rt++}}function na(){{if(Rt--,Rt===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ct({},s,{value:Ct}),info:ct({},s,{value:hn}),warn:ct({},s,{value:Rr}),error:ct({},s,{value:Ha}),group:ct({},s,{value:On}),groupCollapsed:ct({},s,{value:wr}),groupEnd:ct({},s,{value:Vn})})}Rt<0&&q("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ti=oe.ReactCurrentDispatcher,Wa;function ya(s,m,_){{if(Wa===void 0)try{throw Error()}catch(J){var O=J.stack.trim().match(/\n( *(at )?)/);Wa=O&&O[1]||""}return`
2025-07-28 03:32:43 +03:00
`+Wa+s}}var aa=!1,Dr;{var Mi=typeof WeakMap=="function"?WeakMap:Map;Dr=new Mi}function yn(s,m){if(!s||aa)return"";{var _=Dr.get(s);if(_!==void 0)return _}var O;aa=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=ti.current,ti.current=null,ha();try{if(m){var xe=function(){throw Error()};if(Object.defineProperty(xe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(xe,[])}catch(gn){O=gn}Reflect.construct(s,[],xe)}else{try{xe.call()}catch(gn){O=gn}s.call(xe.prototype)}}else{try{throw Error()}catch(gn){O=gn}s()}}catch(gn){if(gn&&O&&typeof gn.stack=="string"){for(var Ge=gn.stack.split(`
`),ht=O.stack.split(`
`),Vt=Ge.length-1,Qt=ht.length-1;Vt>=1&&Qt>=0&&Ge[Vt]!==ht[Qt];)Qt--;for(;Vt>=1&&Qt>=0;Vt--,Qt--)if(Ge[Vt]!==ht[Qt]){if(Vt!==1||Qt!==1)do if(Vt--,Qt--,Qt<0||Ge[Vt]!==ht[Qt]){var Kt=`
`+Ge[Vt].replace(" at new "," at ");return s.displayName&&Kt.includes("<anonymous>")&&(Kt=Kt.replace("<anonymous>",s.displayName)),typeof s=="function"&&Dr.set(s,Kt),Kt}while(Vt>=1&&Qt>=0);break}}}finally{aa=!1,ti.current=Ue,na(),Error.prepareStackTrace=J}var vt=s?s.displayName||s.name:"",nn=vt?ya(vt):"";return typeof s=="function"&&Dr.set(s,nn),nn}function _t(s,m,_){return yn(s,!1)}function ur(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function ra(s,m,_){if(s==null)return"";if(typeof s=="function")return yn(s,ur(s));if(typeof s=="string")return ya(s);switch(s){case ce:return ya("Suspense");case je:return ya("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Tt:return _t(s.render);case te:return ra(s.type,m,_);case Be:{var O=s,J=O._payload,Ue=O._init;try{return ra(Ue(J),m,_)}catch{}}}return""}var ni={},cl=oe.ReactDebugCurrentFrame;function kt(s){if(s){var m=s._owner,_=ra(s.type,s._source,m?m.type:null);cl.setExtraStackFrame(_)}else cl.setExtraStackFrame(null)}function rf(s,m,_,O,J){{var Ue=Function.call.bind(Oe);for(var xe in s)if(Ue(s,xe)){var Ge=void 0;try{if(typeof s[xe]!="function"){var ht=Error((O||"React class")+": "+_+" type `"+xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[xe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ht.name="Invariant Violation",ht}Ge=s[xe](m,xe,O,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Vt){Ge=Vt}Ge&&!(Ge instanceof Error)&&(kt(J),q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",O||"React class",_,xe,typeof Ge),kt(null)),Ge instanceof Error&&!(Ge.message in ni)&&(ni[Ge.message]=!0,kt(J),q("Failed %s type: %s",_,Ge.message),kt(null))}}}function _r(s){if(s){var m=s._owner,_=ra(s.type,s._source,m?m.type:null);Et(_)}else Et(null)}var Ke;Ke=!1;function fl(){if(U.current){var s=Te(U.current.type);if(s)return`
2025-07-28 03:32:43 +03:00
Check the render method of \``+s+"`."}return""}function ia(s){if(s!==void 0){var m=s.fileName.replace(/^.*[\\\/]/,""),_=s.lineNumber;return`
2025-07-28 03:32:43 +03:00
Check your code at `+m+":"+_+"."}return""}function Li(s){return s!=null?ia(s.__source):""}var ai={};function of(s){var m=fl();if(!m){var _=typeof s=="string"?s:s.displayName||s.name;_&&(m=`
Check the top-level render call using <`+_+">.")}return m}function An(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var _=of(m);if(!ai[_]){ai[_]=!0;var O="";s&&s._owner&&s._owner!==U.current&&(O=" It was passed a child from "+Te(s._owner.type)+"."),_r(s),q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,O),_r(null)}}}function tn(s,m){if(typeof s=="object"){if(an(s))for(var _=0;_<s.length;_++){var O=s[_];Wt(O)&&An(O,m)}else if(Wt(s))s._store&&(s._store.validated=!0);else if(s){var J=ot(s);if(typeof J=="function"&&J!==s.entries)for(var Ue=J.call(s),xe;!(xe=Ue.next()).done;)Wt(xe.value)&&An(xe.value,m)}}}function Gu(s){{var m=s.type;if(m==null||typeof m=="string")return;var _;if(typeof m=="function")_=m.propTypes;else if(typeof m=="object"&&(m.$$typeof===Tt||m.$$typeof===te))_=m.propTypes;else return;if(_){var O=Te(m);rf(_,s.props,"prop",O,s)}else if(m.PropTypes!==void 0&&!Ke){Ke=!0;var J=Te(m);q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function za(s){{for(var m=Object.keys(s.props),_=0;_<m.length;_++){var O=m[_];if(O!=="children"&&O!=="key"){_r(s),q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),_r(null);break}}s.ref!==null&&(_r(s),q("Invalid attribute `ref` supplied to `React.Fragment`."),_r(null))}}function oa(s,m,_){var O=B(s);if(!O){var J="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ue=Li(m);Ue?J+=Ue:J+=fl();var xe;s===null?xe="null":an(s)?xe="array":s!==void 0&&s.$$typeof===Re?(xe="<"+(Te(s.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):xe=typeof s,q("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",xe,J)}var Ge=Ae.apply(this,arguments);if(Ge==null)return Ge;if(O)for(var ht=2;ht<arguments.length;ht++)tn(arguments[ht],s);return s===ve?za(Ge):Gu(Ge),Ge}var qa=!1;function lf(s){var m=oa.bind(null,s);return m.type=s,qa||(qa=!0,Se("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(m,"type",{enumerable:!1,get:function(){return Se("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),m}function dl(s,m,_){for(var O=Ut.apply(this,arguments),J=2;J<arguments.length;J++)tn(arguments[J],O.type);return Gu(O),O}function Xu(s,m){var _=rt.transition;rt.transition={};var O=rt.transition;rt.transition._updatedFibers=new Set;try{s()}finally{if(rt.transition=_,_===null&&O._updatedFibers){var J=O._updatedFibers.size;J>10&&Se("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),O._updatedFibers.clear()}}}var vl=!1,so=null;function uf(s){if(so===null)try{var m=("require"+Math.random()).slice(0,7),_=M&&M[m];so=_.call(M,"timers").setImmediate}catch{so=function(J){vl===!1&&(vl=!0,typeof MessageChannel>"u"&&q("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ue=new MessageChannel;Ue.port1.onmessage=J,Ue.port2.postMessage(void 0)}}return so(s)}var ri=0,Oi=!1;function pl(s){{var m=ri;ri++,Ce.current===null&&(Ce.current=[]);var _=Ce.isBatchingLegacy,O;try{if(Ce.isBatc
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/return function(){var M=Zc(),R=Symbol.for("react.element"),be=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),W=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),Tt=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),Be=Symbol.iterator,Qe="@@iterator";function I(h){if(h===null||typeof h!="object")return null;var B=Be&&h[Be]||h[Qe];return typeof B=="function"?B:null}var xt=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function ot(h){{for(var B=arguments.length,ne=new Array(B>1?B-1:0),fe=1;fe<B;fe++)ne[fe-1]=arguments[fe];Le("error",h,ne)}}function Le(h,B,ne){{var fe=xt.ReactDebugCurrentFrame,lt=fe.getStackAddendum();lt!==""&&(B+="%s",ne=ne.concat([lt]));var qe=ne.map(function(v){return String(v)});qe.unshift("Warning: "+B),Function.prototype.apply.call(console[h],console,qe)}}var rt=!1,Ce=!1,U=!1,Z=!1,zt=!1,Et;Et=Symbol.for("react.module.reference");function st(h){return!!(typeof h=="string"||typeof h=="function"||h===Re||h===ve||zt||h===we||h===re||h===Tt||Z||h===te||rt||Ce||U||typeof h=="object"&&h!==null&&(h.$$typeof===je||h.$$typeof===ce||h.$$typeof===f||h.$$typeof===W||h.$$typeof===ge||h.$$typeof===Et||h.getModuleId!==void 0))}function Ot(h,B,ne){var fe=h.displayName;if(fe)return fe;var lt=B.displayName||B.name||"";return lt!==""?ne+"("+lt+")":ne}function ke(h){return h.displayName||"Context"}function X(h){if(h==null)return null;if(typeof h.tag=="number"&&ot("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case Re:return"Fragment";case be:return"Portal";case ve:return"Profiler";case we:return"StrictMode";case re:return"Suspense";case Tt:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case W:var B=h;return ke(B)+".Consumer";case f:var ne=h;return ke(ne._context)+".Provider";case ge:return Ot(h,h.render,"ForwardRef");case ce:var fe=h.displayName||null;return fe!==null?fe:X(h.type)||"Memo";case je:{var lt=h,qe=lt._payload,v=lt._init;try{return X(v(qe))}catch{return null}}}return null}var tt=Object.assign,oe=0,Se,q,G,he,mt,At,ct;function en(){}en.__reactDisabledLog=!0;function jt(){{if(oe===0){Se=console.log,q=console.info,G=console.warn,he=console.error,mt=console.group,At=console.groupCollapsed,ct=console.groupEnd;var h={configurable:!0,enumerable:!0,value:en,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}oe++}}function Ye(){{if(oe--,oe===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:tt({},h,{value:Se}),info:tt({},h,{value:q}),warn:tt({},h,{value:G}),error:tt({},h,{value:he}),group:tt({},h,{value:mt}),groupCollapsed:tt({},h,{value:At}),groupEnd:tt({},h,{value:ct})})}oe<0&&ot("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ze=xt.ReactCurrentDispatcher,Ve;function vn(h,B,ne){{if(Ve===void 0)try{throw Error()}catch(lt){var fe=lt.stack.trim().match(/\n( *(at )?)/);Ve=fe&&fe[1]||""}return`
2025-07-28 03:32:43 +03:00
`+Ve+h}}var Ze=!1,Gt;{var St=typeof WeakMap=="function"?WeakMap:Map;Gt=new St}function it(h,B){if(!h||Ze)return"";{var ne=Gt.get(h);if(ne!==void 0)return ne}var fe;Ze=!0;var lt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var qe;qe=ze.current,ze.current=null,jt();try{if(B){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(j){fe=j}Reflect.construct(h,[],v)}else{try{v.call()}catch(j){fe=j}h.call(v.prototype)}}else{try{throw Error()}catch(j){fe=j}h()}}catch(j){if(j&&fe&&typeof j.stack=="string"){for(var w=j.stack.split(`
`),E=fe.stack.split(`
`),b=w.length-1,S=E.length-1;b>=1&&S>=0&&w[b]!==E[S];)S--;for(;b>=1&&S>=0;b--,S--)if(w[b]!==E[S]){if(b!==1||S!==1)do if(b--,S--,S<0||w[b]!==E[S]){var L=`
`+w[b].replace(" at new "," at ");return h.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",h.displayName)),typeof h=="function"&&Gt.set(h,L),L}while(b>=1&&S>=0);break}}}finally{Ze=!1,ze.current=qe,Ye(),Error.prepareStackTrace=lt}var T=h?h.displayName||h.name:"",V=T?vn(T):"";return typeof h=="function"&&Gt.set(h,V),V}function an(h,B,ne){return it(h,!1)}function on(h){var B=h.prototype;return!!(B&&B.isReactComponent)}function ln(h,B,ne){if(h==null)return"";if(typeof h=="function")return it(h,on(h));if(typeof h=="string")return vn(h);switch(h){case re:return vn("Suspense");case Tt:return vn("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case ge:return an(h.render);case ce:return ln(h.type,B,ne);case je:{var fe=h,lt=fe._payload,qe=fe._init;try{return ln(qe(lt),B,ne)}catch{}}}return""}var cn=Object.prototype.hasOwnProperty,z={},ue=xt.ReactDebugCurrentFrame;function De(h){if(h){var B=h._owner,ne=ln(h.type,h._source,B?B.type:null);ue.setExtraStackFrame(ne)}else ue.setExtraStackFrame(null)}function Te(h,B,ne,fe,lt){{var qe=Function.call.bind(cn);for(var v in h)if(qe(h,v)){var w=void 0;try{if(typeof h[v]!="function"){var E=Error((fe||"React class")+": "+ne+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}w=h[v](B,v,fe,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(b){w=b}w&&!(w instanceof Error)&&(De(lt),ot("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",fe||"React class",ne,v,typeof w),De(null)),w instanceof Error&&!(w.message in z)&&(z[w.message]=!0,De(lt),ot("Failed %s type: %s",ne,w.message),De(null))}}}var Oe=Array.isArray;function et(h){return Oe(h)}function Je(h){{var B=typeof Symbol=="function"&&Symbol.toStringTag,ne=B&&h[Symbol.toStringTag]||h.constructor.name||"Object";return ne}}function Ie(h){try{return We(h),!1}catch{return!0}}function We(h){return""+h}function ft(h){if(Ie(h))return ot("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(h)),We(h)}var pn=xt.ReactCurrentOwner,Ln={key:!0,ref:!0,__self:!0,__source:!0},mn,K;function ye(h){if(cn.call(h,"ref")){var B=Object.getOwnPropertyDescriptor(h,"ref").get;if(B&&B.isReactWarning)return!1}return h.ref!==void 0}function Ae(h){if(cn.call(h,"key")){var B=Object.getOwnPropertyDescriptor(h,"key").get;if(B&&B.isReactWarning)return!1}return h.key!==void 0}function nt(h,B){typeof h.ref=="string"&&pn.current}function Ut(h,B){{var ne=function(){mn||(mn=!0,ot("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};ne.isReactWarning=!0,Object.defineProperty(h,"key",{get:ne,configurable:!0})}}function Wt(h,B){{var ne=function(){K||(K=!0,ot("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};ne.isReactWarning=!0,Object.defineProperty(h,"ref",{get:ne,configurable:!0})}}var Ht=function(h,B,ne,fe,lt,qe,v){var w={$$typeof:R,type:h,key:B,ref:ne,props:v,_owner:qe};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:lt}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function zn(h,B,ne,fe,lt){{var qe,v={},w=null,E=null;ne!==void 0&&(ft(ne),w=""
2025-07-28 03:32:43 +03:00
Check the render method of \``+h+"`."}return""}}function lr(h){return""}var Na={};function Jr(h){{var B=ma();if(!B){var ne=typeof h=="string"?h:h.displayName||h.name;ne&&(B=`
2025-07-28 03:32:43 +03:00
Check the top-level render call using <`+ne+">.")}return B}}function Er(h,B){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var ne=Jr(B);if(Na[ne])return;Na[ne]=!0;var fe="";h&&h._owner&&h._owner!==Xt.current&&(fe=" It was passed a child from "+X(h._owner.type)+"."),Ft(h),ot('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,fe),Ft(null)}}function Zr(h,B){{if(typeof h!="object")return;if(et(h))for(var ne=0;ne<h.length;ne++){var fe=h[ne];xa(fe)&&Er(fe,B)}else if(xa(h))h._store&&(h._store.validated=!0);else if(h){var lt=I(h);if(typeof lt=="function"&&lt!==h.entries)for(var qe=lt.call(h),v;!(v=qe.next()).done;)xa(v.value)&&Er(v.value,B)}}}function ei(h){{var B=h.type;if(B==null||typeof B=="string")return;var ne;if(typeof B=="function")ne=B.propTypes;else if(typeof B=="object"&&(B.$$typeof===ge||B.$$typeof===ce))ne=B.propTypes;else return;if(ne){var fe=X(B);Te(ne,h.props,"prop",fe,h)}else if(B.PropTypes!==void 0&&!Fn){Fn=!0;var lt=X(B);ot("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",lt||"Unknown")}typeof B.getDefaultProps=="function"&&!B.getDefaultProps.isReactClassApproved&&ot("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ra(h){{for(var B=Object.keys(h.props),ne=0;ne<B.length;ne++){var fe=B[ne];if(fe!=="children"&&fe!=="key"){Ft(h),ot("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",fe),Ft(null);break}}h.ref!==null&&(Ft(h),ot("Invalid attribute `ref` supplied to `React.Fragment`."),Ft(null))}}var fn={};function En(h,B,ne,fe,lt,qe){{var v=st(h);if(!v){var w="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=lr();E?w+=E:w+=ma();var b;h===null?b="null":et(h)?b="array":h!==void 0&&h.$$typeof===R?(b="<"+(X(h.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):b=typeof h,ot("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",b,w)}var S=zn(h,B,ne,lt,qe);if(S==null)return S;if(v){var L=B.children;if(L!==void 0)if(fe)if(et(L)){for(var T=0;T<L.length;T++)Zr(L[T],h);Object.freeze&&Object.freeze(L)}else ot("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Zr(L,h)}if(cn.call(B,"key")){var V=X(h),j=Object.keys(B).filter(function(ee){return ee!=="key"}),F=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!fn[V+F]){var ut=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";ot(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
2025-07-28 03:32:43 +03:00
<%s key={someKey} {...props} />`,F,V,ut,V),fn[V+F]=!0}}return h===Re?Ra(S):ei(S),S}}function ja(h,B,ne){return En(h,B,ne,!0)}function Ua(h,B,ne){return En(h,B,ne,!1)}var Cr=Ua,xr=ja;sl.Fragment=Re,sl.jsx=Cr,sl.jsxs=xr}(),sl}dm.exports=H0();var p=dm.exports,hm={exports:{}},ef={exports:{}},tf={},ym;function z0(){return ym||(ym=1,function(M){/**
* @license React
* scheduler.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var R=!1,be=5;function Re(K,ye){var Ae=K.length;K.push(ye),f(K,ye,Ae)}function we(K){return K.length===0?null:K[0]}function ve(K){if(K.length===0)return null;var ye=K[0],Ae=K.pop();return Ae!==ye&&(K[0]=Ae,W(K,Ae,0)),ye}function f(K,ye,Ae){for(var nt=Ae;nt>0;){var Ut=nt-1>>>1,Wt=K[Ut];if(ge(Wt,ye)>0)K[Ut]=ye,K[nt]=Wt,nt=Ut;else return}}function W(K,ye,Ae){for(var nt=Ae,Ut=K.length,Wt=Ut>>>1;nt<Wt;){var Ht=(nt+1)*2-1,zn=K[Ht],Xt=Ht+1,It=K[Xt];if(ge(zn,ye)<0)Xt<Ut&&ge(It,zn)<0?(K[nt]=It,K[Xt]=ye,nt=Xt):(K[nt]=zn,K[Ht]=ye,nt=Ht);else if(Xt<Ut&&ge(It,ye)<0)K[nt]=It,K[Xt]=ye,nt=Xt;else return}}function ge(K,ye){var Ae=K.sortIndex-ye.sortIndex;return Ae!==0?Ae:K.id-ye.id}var re=1,Tt=2,ce=3,je=4,te=5;function Be(K,ye){}var Qe=typeof performance=="object"&&typeof performance.now=="function";if(Qe){var I=performance;M.unstable_now=function(){return I.now()}}else{var xt=Date,ot=xt.now();M.unstable_now=function(){return xt.now()-ot}}var Le=1073741823,rt=-1,Ce=250,U=5e3,Z=1e4,zt=Le,Et=[],st=[],Ot=1,ke=null,X=ce,tt=!1,oe=!1,Se=!1,q=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,he=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function mt(K){for(var ye=we(st);ye!==null;){if(ye.callback===null)ve(st);else if(ye.startTime<=K)ve(st),ye.sortIndex=ye.expirationTime,Re(Et,ye);else return;ye=we(st)}}function At(K){if(Se=!1,mt(K),!oe)if(we(Et)!==null)oe=!0,We(ct);else{var ye=we(st);ye!==null&&ft(At,ye.startTime-K)}}function ct(K,ye){oe=!1,Se&&(Se=!1,pn()),tt=!0;var Ae=X;try{var nt;if(!R)return en(K,ye)}finally{ke=null,X=Ae,tt=!1}}function en(K,ye){var Ae=ye;for(mt(Ae),ke=we(Et);ke!==null&&!(ke.expirationTime>Ae&&(!K||ue()));){var nt=ke.callback;if(typeof nt=="function"){ke.callback=null,X=ke.priorityLevel;var Ut=ke.expirationTime<=Ae,Wt=nt(Ut);Ae=M.unstable_now(),typeof Wt=="function"?ke.callback=Wt:ke===we(Et)&&ve(Et),mt(Ae)}else ve(Et);ke=we(Et)}if(ke!==null)return!0;var Ht=we(st);return Ht!==null&&ft(At,Ht.startTime-Ae),!1}function jt(K,ye){switch(K){case re:case Tt:case ce:case je:case te:break;default:K=ce}var Ae=X;X=K;try{return ye()}finally{X=Ae}}function Ye(K){var ye;switch(X){case re:case Tt:case ce:ye=ce;break;default:ye=X;break}var Ae=X;X=ye;try{return K()}finally{X=Ae}}function ze(K){var ye=X;return function(){var Ae=X;X=ye;try{return K.apply(this,arguments)}finally{X=Ae}}}function Ve(K,ye,Ae){var nt=M.unstable_now(),Ut;if(typeof Ae=="object"&&Ae!==null){var Wt=Ae.delay;typeof Wt=="number"&&Wt>0?Ut=nt+Wt:Ut=nt}else Ut=nt;var Ht;switch(K){case re:Ht=rt;break;case Tt:Ht=Ce;break;case te:Ht=zt;break;case je:Ht=Z;break;case ce:default:Ht=U;break}var zn=Ut+Ht,Xt={id:Ot++,callback:ye,priorityLevel:K,startTime:Ut,expirationTime:zn,sortIndex:-1};return Ut>nt?(Xt.sortIndex=Ut,Re(st,Xt),we(Et)===null&&Xt===we(st)&&(Se?pn():Se=!0,ft(At,Ut-nt))):(Xt.sortIndex=zn,Re(Et,Xt),!oe&&!tt&&(oe=!0,We(ct))),Xt}function vn(){}function Ze(){!oe&&!tt&&(oe=!0,We(ct))}function Gt(){return we(Et)}function St(K){K.callback=null}function it(){return X}var an=!1,on=null,ln=-1,cn=be,z=-1;function ue(){var K=M.unstable_now()-z;return!(K<cn)}function De(){}function Te(K){if(K<0||K>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}K>0?cn=Math.floor(1e3/K):cn=be}var Oe=function(){if(on!==null){var K=M.unstable_now();z=K;var ye=!0,Ae=!0;try{Ae=on(ye,K)}finally{Ae?et():(an=!1,on=null)}}else an=!1},et;if(typeof he=="function")et=function(){he(Oe)};else if(typeof MessageChannel<"u"){var Je=new MessageChannel,Ie=Je.port2;Je.port1.onmessage=Oe,et=function(){Ie.postMessage(null)}}else et=function(){q(Oe,0)};function We(K){on=K,an||(an=!0,et())}function ft(K,ye){ln=q(function
* @license React
* react-dom.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var M=Zc(),R=F0(),be=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Re=!1;function we(e){Re=e}function ve(e){if(!Re){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];W("warn",e,n)}}function f(e){if(!Re){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];W("error",e,n)}}function W(e,t,n){{var a=be.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(o){return String(o)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var ge=0,re=1,Tt=2,ce=3,je=4,te=5,Be=6,Qe=7,I=8,xt=9,ot=10,Le=11,rt=12,Ce=13,U=14,Z=15,zt=16,Et=17,st=18,Ot=19,ke=21,X=22,tt=23,oe=24,Se=25,q=!0,G=!1,he=!1,mt=!1,At=!1,ct=!0,en=!0,jt=!0,Ye=!0,ze=new Set,Ve={},vn={};function Ze(e,t){Gt(e,t),Gt(e+"Capture",t)}function Gt(e,t){Ve[e]&&f("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ve[e]=t;{var n=e.toLowerCase();vn[n]=e,e==="onDoubleClick"&&(vn.ondblclick=e)}for(var a=0;a<t.length;a++)ze.add(t[a])}var St=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",it=Object.prototype.hasOwnProperty;function an(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function on(e){try{return ln(e),!1}catch{return!0}}function ln(e){return""+e}function cn(e,t){if(on(e))return f("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),ln(e)}function z(e){if(on(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),ln(e)}function ue(e,t){if(on(e))return f("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),ln(e)}function De(e,t){if(on(e))return f("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),ln(e)}function Te(e){if(on(e))return f("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),ln(e)}function Oe(e){if(on(e))return f("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",an(e)),ln(e)}var et=0,Je=1,Ie=2,We=3,ft=4,pn=5,Ln=6,mn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",K=mn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ye=new RegExp("^["+mn+"]["+K+"]*$"),Ae={},nt={};function Ut(e){return it.call(nt,e)?!0:it.call(Ae,e)?!1:ye.test(e)?(nt[e]=!0,!0):(Ae[e]=!0,f("Invalid attribute name: `%s`",e),!1)}function Wt(e,t,n){return t!==null?t.type===et:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Ht(e,t,n,a){if(n!==null&&n.type===et)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function zn(e,t,n,a){if(t===null||typeof t>"u"||Ht(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case We:return!t;case ft:return t===!1;case pn:return isNaN(t);case Ln:return isNaN(t)||t<1}return!1}function Xt(e){return Ft.hasOwnProperty(e)?Ft[e]:null}function It(e,t,n,a,r,i,o){this.acceptsBooleans=t===Ie||t===We||t===ft,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ft={},Fn=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML"
2025-07-28 03:32:43 +03:00
`+ha+e}}var ti=!1,Wa;{var ya=typeof WeakMap=="function"?WeakMap:Map;Wa=new ya}function aa(e,t){if(!e||ti)return"";{var n=Wa.get(e);if(n!==void 0)return n}var a;ti=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=Yt.current,Yt.current=null,wr();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(k){a=k}Reflect.construct(e,[],o)}else{try{o.call()}catch(k){a=k}e.call(o.prototype)}}else{try{throw Error()}catch(k){a=k}e()}}catch(k){if(k&&a&&typeof k.stack=="string"){for(var l=k.stack.split(`
`),u=a.stack.split(`
2025-07-28 03:32:43 +03:00
`),c=l.length-1,d=u.length-1;c>=1&&d>=0&&l[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==u[d]){if(c!==1||d!==1)do if(c--,d--,d<0||l[c]!==u[d]){var g=`
`+l[c].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&Wa.set(e,g),g}while(c>=1&&d>=0);break}}}finally{ti=!1,Yt.current=i,Vn(),Error.prepareStackTrace=r}var y=e?e.displayName||e.name:"",D=y?na(y):"";return typeof e=="function"&&Wa.set(e,D),D}function Dr(e,t,n){return aa(e,!0)}function Mi(e,t,n){return aa(e,!1)}function yn(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _t(e,t,n){if(e==null)return"";if(typeof e=="function")return aa(e,yn(e));if(typeof e=="string")return na(e);switch(e){case ne:return na("Suspense");case fe:return na("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case B:return Mi(e.render);case lt:return _t(e.type,t,n);case qe:{var a=e,r=a._payload,i=a._init;try{return _t(i(r),t,n)}catch{}}}return""}function ur(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case te:return na(e.type);case zt:return na("Lazy");case Ce:return na("Suspense");case Ot:return na("SuspenseList");case ge:case Tt:case Z:return Mi(e.type);case Le:return Mi(e.type.render);case re:return Dr(e.type);default:return""}}function ra(e){try{var t="",n=e;do t+=ur(n),n=n.return;while(n);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function ni(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function cl(e){return e.displayName||"Context"}function kt(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ja:return"Fragment";case En:return"Portal";case Cr:return"Profiler";case Ua:return"StrictMode";case ne:return"Suspense";case fe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var t=e;return cl(t)+".Consumer";case xr:var n=e;return cl(n._context)+".Provider";case B:return ni(e,e.render,"ForwardRef");case lt:var a=e.displayName||null;return a!==null?a:kt(e.type)||"Memo";case qe:{var r=e,i=r._payload,o=r._init;try{return kt(o(i))}catch{return null}}}return null}function rf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function _r(e){return e.displayName||"Context"}function Ke(e){var t=e.tag,n=e.type;switch(t){case oe:return"Cache";case xt:var a=n;return _r(a)+".Consumer";case ot:var r=n;return _r(r._context)+".Provider";case st:return"DehydratedFragment";case Le:return rf(n,n.render,"ForwardRef");case Qe:return"Fragment";case te:return n;case je:return"Portal";case ce:return"Root";case Be:return"Text";case zt:return kt(n);case I:return n===Ua?"StrictMode":"Mode";case X:return"Offscreen";case rt:return"Profiler";case ke:return"Scope";case Ce:return"Suspense";case Ot:return"SuspenseList";case Se:return"TracingMarker";case re:case ge:case Et:case Tt:case U:case Z:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var fl=be.ReactDebugCurrentFrame,ia=null,Li=!1;function ai(){{if(ia===null)return null;var e=ia._debugOwner;if(e!==null&&typeof e<"u")return Ke(e)}return null}function of(){return ia===null?"":ra(ia)}function An(){fl.getCurrentStack=null,ia=null,Li=!1}function tn(e){fl.getCurrentStack=e===null?null:of,ia=e,Li=!1}function Gu(){return ia}function za(e){Li=e}function oa(e){return""+e}function qa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Oe(e),e;default:return""}}var lf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function dl(e,t){lf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||f("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||f("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Xu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vl(e){return e._valueTracker}function so(e){e._valueTracker=null}function uf(e){var t="";return e&&(Xu(e)?t=e.checked?"true":"false":t=e.value),t}function ri(e){var t=Xu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Oe(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){Oe(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){Oe(l),a=""+l},stopTracking:function(){so(e),delete e[t]}};return o}}function Oi(e){vl(e)||(e._valueTracker=ri(e))}function pl(e){if(!e)return!1;var t=vl(e);if(!t)return!0;var n=t.getValue(),a=uf(e);return a!==n?(t.setValue(a),!0):!1}function kr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.
Check the render method of \``+e+"`.":""}var Ai=["value","defaultValue"];function hl(e){{dl("select",e);for(var t=0;t<Ai.length;t++){var n=Ai[t];if(e[n]!=null){var a=vt(e[n]);e.multiple&&!a?f("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,gn()):!e.multiple&&a&&f("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,gn())}}}}function Mr(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},l=0;l<i.length;l++)o["$"+i[l]]=!0;for(var u=0;u<r.length;u++){var c=o.hasOwnProperty("$"+r[u].value);r[u].selected!==c&&(r[u].selected=c),c&&a&&(r[u].defaultSelected=!0)}}else{for(var d=oa(qa(n)),g=null,y=0;y<r.length;y++){if(r[y].value===d){r[y].selected=!0,a&&(r[y].defaultSelected=!0);return}g===null&&!r[y].disabled&&(g=r[y])}g!==null&&(g.selected=!0)}}function yl(e,t){return F({},t,{value:void 0})}function gl(e,t){var n=e;hl(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!nn&&(f("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),nn=!0)}function sf(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?Mr(n,!!t.multiple,a,!1):t.defaultValue!=null&&Mr(n,!!t.multiple,t.defaultValue,!0)}function Zu(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?Mr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?Mr(n,!!t.multiple,t.defaultValue,!0):Mr(n,!!t.multiple,t.multiple?[]:"",!1))}function cf(e,t){var n=e,a=t.value;a!=null&&Mr(n,!!t.multiple,a,!1)}var _m=!1;function ff(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=F({},t,{value:void 0,defaultValue:void 0,children:oa(n._wrapperState.initialValue)});return a}function km(e,t){var n=e;dl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!_m&&(f("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ai()||"A component"),_m=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){f("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}}i==null&&(i=""),a=i}n._wrapperState={initialValue:qa(a)}}function Mm(e,t){var n=e,a=qa(t.value),r=qa(t.defaultValue);if(a!=null){var i=oa(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=oa(r))}function Lm(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function nS(e,t){Mm(e,t)}var Lr="http://www.w3.org/1999/xhtml",aS="http://www.w3.org/1998/Math/MathML",df="http://www.w3.org/2000/svg";function vf(e){switch(e){case"svg":return df;case"math":return aS;default:return Lr}}function pf(e,t){return e==null||e===Lr?vf(t):e===df&&t==="foreignObject"?Lr:e}var rS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},es,Om=rS(function(e,t){if(e.namespaceURI===df&&!("innerHTML"in e)){es=es||document.createElement("div"),es.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),ga=1,Or=3,bn=8,Ar=9,mf=11,ts=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Or){n.nodeValue=t;return}}e.textContent=t},i
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/function uC(e){if(!St)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n=typeof a[t]=="function"}return n}function sC(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Xh(e,t,n,a){Im(a);var r=Rs(t,"onChange");if(r.length>0){var i=new hd("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var Il=null,Wl=null;function cC(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function fC(e){var t=[];Xh(t,Wl,e,Sf(e)),Xm(dC,t)}function dC(e){vy(e,0)}function Ts(e){var t=Ho(e);if(pl(t))return e}function vC(e,t){if(e==="change")return t}var Qh=!1;St&&(Qh=uC("input")&&(!document.documentMode||document.documentMode>9));function pC(e,t){Il=e,Wl=t,Il.attachEvent("onpropertychange",Jh)}function Kh(){Il&&(Il.detachEvent("onpropertychange",Jh),Il=null,Wl=null)}function Jh(e){e.propertyName==="value"&&Ts(Wl)&&fC(e)}function mC(e,t,n){e==="focusin"?(Kh(),pC(t,n)):e==="focusout"&&Kh()}function hC(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ts(Wl)}function yC(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function gC(e,t){if(e==="click")return Ts(t)}function bC(e,t){if(e==="input"||e==="change")return Ts(t)}function SC(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ue(e,"number",e.value)}function TC(e,t,n,a,r,i,o){var l=n?Ho(n):window,u,c;if(cC(l)?u=vC:Gh(l)?Qh?u=bC:(u=hC,c=mC):yC(l)&&(u=gC),u){var d=u(t,n);if(d){Xh(e,d,a,r);return}}c&&c(t,l,n),t==="focusout"&&SC(l)}function EC(){Gt("onMouseEnter",["mouseout","mouseover"]),Gt("onMouseLeave",["mouseout","mouseover"]),Gt("onPointerEnter",["pointerout","pointerover"]),Gt("onPointerLeave",["pointerout","pointerover"])}function CC(e,t,n,a,r,i,o){var l=t==="mouseover"||t==="pointerover",u=t==="mouseout"||t==="pointerout";if(l&&!BS(a)){var c=a.relatedTarget||a.fromElement;if(c&&(qi(c)||lu(c)))return}if(!(!u&&!l)){var d;if(r.window===r)d=r;else{var g=r.ownerDocument;g?d=g.defaultView||g.parentWindow:d=window}var y,D;if(u){var k=a.relatedTarget||a.toElement;if(y=n,D=k?qi(k):null,D!==null){var A=Fi(D);(D!==A||D.tag!==te&&D.tag!==Be)&&(D=null)}}else y=null,D=n;if(y!==D){var ie=Hh,Me="onMouseLeave",_e="onMouseEnter",bt="mouse";(t==="pointerout"||t==="pointerover")&&(ie=Fh,Me="onPointerLeave",_e="onPointerEnter",bt="pointer");var pt=y==null?d:Ho(y),C=D==null?d:Ho(D),N=new ie(Me,bt+"leave",y,a,r);N.target=pt,N.relatedTarget=C;var x=null,Y=qi(r);if(Y===n){var pe=new ie(_e,bt+"enter",D,a,r);pe.target=C,pe.relatedTarget=pt,x=pe}qC(e,N,x,y,D)}}}function xC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ma=typeof Object.is=="function"?Object.is:xC;function ql(e,t){if(Ma(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(!it.call(t,i)||!Ma(e[i],t[i]))return!1}return!0}function Zh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function RC(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function ey(e,t){for(var n=Zh(e),a=0,r=0;n;){if(n.nodeType===Or){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Zh(RC(n))}}function wC(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||a.rangeCount===0)return null;var r=a.anchorNode,i=a.anchorOffset,o=a.focusNode,l=a.focusOffset;try{r.nodeType,o.nodeType}catch{return null}return DC(e,r,i,o,l)}function DC(e,t,n,a,r){var i=0,o=-1,l=-1,u=0,c=0,d=e,g=null;e:for(;;){for(var y=null;d===t&&(n===0||d.nodeType===Or)&&(o=i+n),d===a&&(r===0||d.nodeType===Or)&&(l=i+r),d.nodeType===Or&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)g=d,d=y;for(;;){if(d===e)break e;if(g===t&&++u===n&&(o=i),g===a&&++c===r&&(l=i),(y=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=y}return o===-1||l===-1?null:{start:o,end:l}}function _C(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelect
`).replace(QC,"")}function Ls(e,t,n,a){var r=Ms(t),i=Ms(e);if(i!==r&&(a&&(ba||(ba=!0,f('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&q))throw new Error("Text content does not match server-rendered HTML.")}function Ty(e){return e.nodeType===Ar?e:e.ownerDocument}function KC(){}function Os(e){e.onclick=KC}function JC(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===Wi)o&&Object.freeze(o),Hm(t,o);else if(i===Jl){var l=o?o[Ds]:void 0;l!=null&&Om(t,l)}else if(i===Ii)if(typeof o=="string"){var u=e!=="textarea"||o!=="";u&&ts(t,o)}else typeof o=="number"&&ts(t,""+o);else i===ws||i===di||i===yy||(Ve.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&ks(i,o),i==="onScroll"&&Zt("scroll",t)):o!=null&&Ra(t,i,o,r))}}function ZC(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];i===Wi?Hm(e,o):i===Jl?Om(e,o):i===Ii?ts(e,o):Ra(e,i,o,a)}}function ex(e,t,n,a){var r,i=Ty(n),o,l=a;if(l===Lr&&(l=vf(e)),l===Lr){if(r=Ni(e,t),!r&&e!==e.toLowerCase()&&f("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var u=i.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;o=u.removeChild(c)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var d=o;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else o=i.createElementNS(l,e);return l===Lr&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!it.call(kd,e)&&(kd[e]=!0,f("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}function tx(e,t){return Ty(t).createTextNode(e)}function nx(e,t,n,a){var r=Ni(t,n);_s(t,n);var i;switch(t){case"dialog":Zt("cancel",e),Zt("close",e),i=n;break;case"iframe":case"object":case"embed":Zt("load",e),i=n;break;case"video":case"audio":for(var o=0;o<Xl.length;o++)Zt(Xl[o],e);i=n;break;case"source":Zt("error",e),i=n;break;case"img":case"image":case"link":Zt("error",e),Zt("load",e),i=n;break;case"details":Zt("toggle",e),i=n;break;case"input":Ju(e,n),i=ml(e,n),Zt("invalid",e);break;case"option":Vt(e,n),i=n;break;case"select":gl(e,n),i=yl(e,n),Zt("invalid",e);break;case"textarea":km(e,n),i=ff(e,n),Zt("invalid",e);break;default:i=n}switch(gf(t,i),JC(t,e,a,i,r),t){case"input":Oi(e),_(e,n,!1);break;case"textarea":Oi(e),Lm(e);break;case"option":Qt(e,n);break;case"select":sf(e,n);break;default:typeof i.onClick=="function"&&Os(e);break}}function ax(e,t,n,a,r){_s(t,a);var i=null,o,l;switch(t){case"input":o=ml(e,n),l=ml(e,a),i=[];break;case"select":o=yl(e,n),l=yl(e,a),i=[];break;case"textarea":o=ff(e,n),l=ff(e,a),i=[];break;default:o=n,l=a,typeof o.onClick!="function"&&typeof l.onClick=="function"&&Os(e);break}gf(t,l);var u,c,d=null;for(u in o)if(!(l.hasOwnProperty(u)||!o.hasOwnProperty(u)||o[u]==null))if(u===Wi){var g=o[u];for(c in g)g.hasOwnProperty(c)&&(d||(d={}),d[c]="")}else u===Jl||u===Ii||u===ws||u===di||u===yy||(Ve.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in l){var y=l[u],D=o!=null?o[u]:void 0;if(!(!l.hasOwnProperty(u)||y===D||y==null&&D==null))if(u===Wi)if(y&&Object.freeze(y),D){for(c in D)D.hasOwnProperty(c)&&(!y||!y.hasOwnProperty(c))&&(d||(d={}),d[c]="");for(c in y)y.hasOwnProperty(c)&&D[c]!==y[c]&&(d||(d={}),d[c]=y[c])}else d||(i||(i=[]),i.push(u,d)),d=y;else if(u===Jl){var k=y?y[Ds]:void 0,A=D?D[Ds]:void 0;k!=null&&A!==k&&(i=i||[]).push(u,k)}else u===Ii?(typeof y=="string"||typeof y=="number")&&(i=i||[]).push(u,""+y):u===ws||u===di||(Ve.hasOwnProperty(u)?(y!=null&&(typeof y!="function"&&ks(u,y),u==="onScroll"&&Zt("scroll",e)),!i&&D!==y&&(i=[])):(i=i||[]).push(u,y))}return d&&(CS(d,l[Wi]),(i=i||[]).push(Wi,d)),i}function rx(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&s(e,r);var i=Ni(n,a),o=Ni(n,r);switch(ZC(e,t,i,o),n){case"input":m(e,r);break;case"textarea":Mm(e,r);break;case"select":Zu(e,r);break}}function ix(e){{var t=e.toLowerCase();return ns.hasOwnProperty(t)&&ns[t]||null}}function ox(e,t,n,a,r,i,o){var l,u;switch(l=Ni(t,n),_s(t,n),t){case"dialog":Zt("cancel
* Move code with side effects to componentDidMount, and set initial state in the constructor.
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,o)}if(a.size>0){var l=Ji(a);f(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,l)}if(i.size>0){var u=Ji(i);f(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,u)}if(e.size>0){var c=Ji(e);ve(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,c)}if(n.size>0){var d=Ji(n);ve(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,d)}if(r.size>0){var g=Ji(r);ve(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
2025-07-28 03:32:43 +03:00
Please update the following components: %s`,g)}};var Xs=new Map,qy=new Set;Ja.recordLegacyContextWarning=function(e,t){var n=B1(e);if(n===null){f("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!qy.has(e.type)){var a=Xs.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Xs.set(n,a)),a.push(e))}},Ja.flushLegacyContextWarning=function(){Xs.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(Ke(i)||"Component"),qy.add(i.type)});var r=Ji(a);try{tn(n),f(`Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: %s
2025-07-28 03:32:43 +03:00
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{An()}}})},Ja.discardPendingWarnings=function(){uu=[],su=[],cu=[],fu=[],du=[],vu=[],Xs=new Map}}var av,rv,iv,ov,lv,Gy=function(e,t){};av=!1,rv=!1,iv={},ov={},lv={},Gy=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=Ke(t)||"Component";ov[n]||(ov[n]=!0,f('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function $1(e){return e.prototype&&e.prototype.isReactComponent}function pu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&un||ct)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==re)&&!(typeof n.type=="function"&&!$1(n.type))&&n._owner){var r=Ke(e)||"Component";iv[r]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r,a),iv[r]=!0)}if(n._owner){var i=n._owner,o;if(i){var l=i;if(l.tag!==re)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");o=l.stateNode}if(!o)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var u=o;ue(a,"ref");var c=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===c)return t.ref;var d=function(g){var y=u.refs;g===null?delete y[c]:y[c]=g};return d._stringRef=c,d}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
1. You may be adding a ref to a function component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Qs(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Ks(e){{var t=Ke(e)||"Component";if(lv[t])return;lv[t]=!0,f("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function Xy(e){var t=e._payload,n=e._init;return n(t)}function Qy(e){function t(C,N){if(e){var x=C.deletions;x===null?(C.deletions=[N],C.flags|=ji):x.push(N)}}function n(C,N){if(!e)return null;for(var x=N;x!==null;)t(C,x),x=x.sibling;return null}function a(C,N){for(var x=new Map,Y=N;Y!==null;)Y.key!==null?x.set(Y.key,Y):x.set(Y.index,Y),Y=Y.sibling;return x}function r(C,N){var x=uo(C,N);return x.index=0,x.sibling=null,x}function i(C,N,x){if(C.index=x,!e)return C.flags|=Zm,N;var Y=C.alternate;if(Y!==null){var pe=Y.index;return pe<N?(C.flags|=Sn,N):pe}else return C.flags|=Sn,N}function o(C){return e&&C.alternate===null&&(C.flags|=Sn),C}function l(C,N,x,Y){if(N===null||N.tag!==Be){var pe=nm(x,C.mode,Y);return pe.return=C,pe}else{var le=r(N,x);return le.return=C,le}}function u(C,N,x,Y){var pe=x.type;if(pe===ja)return d(C,N,x.props.children,Y,x.key);if(N!==null&&(N.elementType===pe||t0(N,x)||typeof pe=="object"&&pe!==null&&pe.$$typeof===qe&&Xy(pe)===N.type)){var le=r(N,x.props);return le.ref=pu(C,N,x),le.return=C,le._debugSource=x._source,le._debugOwner=x._owner,le}var Fe=tm(x,C.mode,Y);return Fe.ref=pu(C,N,x),Fe.return=C,Fe}function c(C,N,x,Y){if(N===null||N.tag!==je||N.stateNode.containerInfo!==x.containerInfo||N.stateNode.implementation!==x.implementation){var pe=am(x,C.mode,Y);return pe.return=C,pe}else{var le=r(N,x.children||[]);return le.return=C,le}}function d(C,N,x,Y,pe){if(N===null||N.tag!==Qe){var le=_i(x,C.mode,Y,pe);return le.return=C,le}else{var Fe=r(N,x);return Fe.return=C,Fe}}function g(C,N,x){if(typeof N=="string"&&N!==""||typeof N=="number"){var Y=nm(""+N,C.mode,x);return Y.return=C,Y}if(typeof N=="object"&&N!==null){switch(N.$$typeof){case fn:{var pe=tm(N,C.mode,x);return pe.ref=pu(C,null,N),pe.return=C,pe}case En:{var le=am(N,C.mode,x);return le.return=C,le}case qe:{var Fe=N._payload,Xe=N._init;return g(C,Xe(Fe),x)}}if(vt(N)||j(N)){var Pt=_i(N,C.mode,x,null);return Pt.return=C,Pt}Qs(C,N)}return typeof N=="function"&&Ks(C),null}function y(C,N,x,Y){var pe=N!==null?N.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return pe!==null?null:l(C,N,""+x,Y);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case fn:return x.key===pe?u(C,N,x,Y):null;case En:return x.key===pe?c(C,N,x,Y):null;case qe:{var le=x._payload,Fe=x._init;return y(C,N,Fe(le),Y)}}if(vt(x)||j(x))return pe!==null?null:d(C,N,x,Y,null);Qs(C,x)}return typeof x=="function"&&Ks(C),null}function D(C,N,x,Y,pe){if(typeof Y=="string"&&Y!==""||typeof Y=="number"){var le=C.get(x)||null;return l(N,le,""+Y,pe)}if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case fn:{var Fe=C.get(Y.key===null?x:Y.key)||null;return u(N,Fe,Y,pe)}case En:{var Xe=C.get(Y.key===null?x:Y.key)||null;return c(N,Xe,Y,pe)}case qe:var Pt=Y._payload,wt=Y._init;return D(C,N,x,wt(Pt),pe)}if(vt(Y)||j(Y)){var dn=C.get(x)||null;return d(N,dn,Y,pe,null)}Qs(N,Y)}return typeof Y=="function"&&Ks(N),null}function k(C,N,x){{if(typeof C!="object"||C===null)return N;switch(C.$$typeof){case fn:case En:Gy(C,x);var Y=C.key;if(typeof Y!="string")break;if(N===null){N=new Set,N.add(Y);break}if(!N.has(Y)){N.add(Y);break}f("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Y);break;case qe:var pe=C._payload,le=C._init;k(le(pe),N,x);break}}return N}function A(C,N,x,Y){for(va
2025-07-28 03:32:43 +03:00
`,n+=l}f(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
Previous render Next render
------------------------------------------------------
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-07-28 03:32:43 +03:00
`,t,n)}}}function Zn(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
2025-07-28 03:32:43 +03:00
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Dv(e,t){if(wv)return!1;if(t===null)return f("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",H),!1;e.length!==t.length&&f(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
Incoming: %s`,H,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ma(e[n],t[n]))return!1;return!0}function Ko(e,t,n,a,r,i){to=i,$t=t,$a=e!==null?e._debugHookTypes:null,Ti=-1,wv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=$,e!==null&&e.memoizedState!==null?de.current=Og:$a!==null?de.current=Lg:de.current=Mg;var o=n(a,r);if(bu){var l=0;do{if(bu=!1,Su=0,l>=rR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,wv=!1,Rn=null,wn=null,t.updateQueue=null,Ti=-1,de.current=Ag,o=n(a,r)}while(bu)}de.current=xc,t._debugHookTypes=$a;var u=Rn!==null&&Rn.next!==null;if(to=$,$t=null,Rn=null,wn=null,H=null,$a=null,Ti=-1,e!==null&&(e.flags&Ur)!==(t.flags&Ur)&&(e.mode&yt)!==Ne&&f("Internal React error: Expected static flag was missing. Please notify the React team."),fc=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function Jo(){var e=Su!==0;return Su=0,e}function fg(e,t,n){t.updateQueue=e.updateQueue,(t.mode&cr)!==Ne?t.flags&=-50333701:t.flags&=-2053,e.lanes=ds(e.lanes,n)}function dg(){if(de.current=xc,fc){for(var e=$t.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fc=!1}to=$,$t=null,Rn=null,wn=null,$a=null,Ti=-1,H=null,Rg=!1,bu=!1,Su=0}function mr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wn===null?$t.memoizedState=wn=e:wn=wn.next=e,wn}function Pa(){var e;if(Rn===null){var t=$t.alternate;t!==null?e=t.memoizedState:e=null}else e=Rn.next;var n;if(wn===null?n=$t.memoizedState:n=wn.next,n!==null)wn=n,n=wn.next,Rn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Rn=e;var a={memoizedState:Rn.memoizedState,baseState:Rn.baseState,baseQueue:Rn.baseQueue,queue:Rn.queue,next:null};wn===null?$t.memoizedState=wn=a:wn=wn.next=a}return wn}function vg(){return{lastEffect:null,stores:null}}function _v(e,t){return typeof t=="function"?t(e):t}function kv(e,t,n){var a=mr(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:$,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=sR.bind(null,$t,i);return[a.memoizedState,o]}function Mv(e,t,n){var a=Pa(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=Rn,o=i.baseQueue,l=r.pending;if(l!==null){if(o!==null){var u=o.next,c=l.next;o.next=c,l.next=u}i.baseQueue!==o&&f("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=o=l,r.pending=null}if(o!==null){var d=o.next,g=i.baseState,y=null,D=null,k=null,A=d;do{var ie=A.lane;if(_o(to,ie)){if(k!==null){var _e={lane:Un,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null};k=k.next=_e}if(A.hasEagerState)g=A.eagerState;else{var bt=A.action;g=e(g,bt)}}else{var Me={lane:ie,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null};k===null?(D=k=Me,y=g):k=k.next=Me,$t.lanes=at($t.lanes,ie),Bu(ie)}A=A.next}while(A!==null&&A!==d);k===null?y=g:k.next=D,Ma(g,a.memoizedState)||ku(),a.memoizedState=g,a.baseState=y,a.baseQueue=k,r.lastRenderedState=g}var pt=r.interleaved;if(pt!==null){var C=pt;do{var N=C.lane;$t.lanes=at($t.lanes,N),Bu(N),C=C.next}while(C!==pt)}else o===null&&(r.lanes=$);var x=r.dispatch;return[a.memoizedState,x]}function Lv(e,t,n){var a=Pa(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,l=a.memoizedState;if(o!==null){r.pending=null;var u=o.next,c=u;do{var d=c.action;l=e(l,d),c=c.next}while(c!==u);Ma(l,a.memoizedState)||ku(),a.memoizedState=l,a.baseQueue===null&&(a.baseState=l),r.lastRenderedState=l}return[l,i]}function y_(e,t,n){}function g_(e,t,n){}function Ov(e,t,n){var a=$t,r=mr(),i,o=$n();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is r
2025-07-28 03:32:43 +03:00
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!Ru.has(t)&&(e.mode&un)===Ne&&(Ru.add(t),f(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&f("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!ap.has(t)&&(ap.add(t),f("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&f("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&f("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",kt(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&f("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&f("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof a.componentWillRecieveProps=="function"&&f("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&f("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&f("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&f("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!Zv.has(t)&&(Zv.add(t),f("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",kt(t))),typeof a.getDerivedStateFromProps=="function"&&f("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&f("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&f("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var l=a.state;l&&(typeof l!="object"||vt(l))&&f("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&f("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function $g(e,t){t.updater=op,e.stateNode=t,eT(t,e),t._reactInternalInstance=Qv}function Pg(e,t,n){var a=!1,r=La,i=La,o=t.contextType;if("contextType"in t){var l=o===null||o!==void 0&&o.$$typeof===h&&o._context===void 0;if(!l&&!rp.has(t)){rp.add(t);var u="";o===void 0?u=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof o!="object"?u=" However, it is set to a "+typeof o+".":o.$$typeof===xr?u=" Did you accidentally pass the Context.Provider instead?":o._context!==void 0?u=" Did you accidentally pass the Context.Consumer instead?":u=" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",f("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",kt(t)||"Component",u)}
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
2025-07-28 03:32:43 +03:00
https://reactjs.org/link/unsafe-component-lifecycles`,ie,Me,D!==null?`
`+D:"",k!==null?`
`+k:"",A!==null?`
`+A:""))}}}return a&&Oy(e,r,i),d}function mR(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(f("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ke(e)||"Component"),op.enqueueReplaceState(t,t.state,null))}function Yg(e,t,n,a){var r=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){{var i=Ke(e)||"Component";Kv.has(i)||(Kv.add(i),f("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}op.enqueueReplaceState(t,t.state,null)}}function lp(e,t,n,a){pR(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},hv(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=Tn(i);else{var o=zo(e,t,!0);r.context=Fo(e,o)}{if(r.state===n){var l=kt(t)||"Component";np.has(l)||(np.add(l),f("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",l))}e.mode&un&&Ja.recordLegacyContextWarning(e,r),Ja.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var u=t.getDerivedStateFromProps;if(typeof u=="function"&&(ip(e,t,u,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(mR(e,r),oc(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var c=Mt;c|=zi,(e.mode&cr)!==Ne&&(c|=oi),e.flags|=c}}function hR(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,l=t.contextType,u=La;if(typeof l=="object"&&l!==null)u=Tn(l);else{var c=zo(e,t,!0);u=Fo(e,c)}var d=t.getDerivedStateFromProps,g=typeof d=="function"||typeof r.getSnapshotBeforeUpdate=="function";!g&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==u)&&Yg(e,r,n,u),ig();var y=e.memoizedState,D=r.state=y;if(oc(e,n,r,a),D=e.memoizedState,i===n&&y===D&&!Bs()&&!lc()){if(typeof r.componentDidMount=="function"){var k=Mt;k|=zi,(e.mode&cr)!==Ne&&(k|=oi),e.flags|=k}return!1}typeof d=="function"&&(ip(e,t,d,n),D=e.memoizedState);var A=lc()||Bg(e,t,i,n,y,D,u);if(A){if(!g&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"){var ie=Mt;ie|=zi,(e.mode&cr)!==Ne&&(ie|=oi),e.flags|=ie}}else{if(typeof r.componentDidMount=="function"){var Me=Mt;Me|=zi,(e.mode&cr)!==Ne&&(Me|=oi),e.flags|=Me}e.memoizedProps=n,e.memoizedState=D}return r.props=n,r.state=D,r.context=u,A}function yR(e,t,n,a,r){var i=t.stateNode;rg(e,t);var o=t.memoizedProps,l=t.type===t.elementType?o:tr(t.type,o);i.props=l;var u=t.pendingProps,c=i.context,d=n.contextType,g=La;if(typeof d=="object"&&d!==null)g=Tn(d);else{var y=zo(t,n,!0);g=Fo(t,y)}var D=n.getDerivedStateFromProps,k=typeof D=="function"||typeof i.getSnapshotBeforeUpdate=="function";!k&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==u||c!==g)&&Yg(t,i,a,g),ig();var A=t.memoizedState,ie=i.state=A;if(oc(t,a,i,r),ie=t.memoizedState,o===u&&A===ie&&!Bs()&&!lc()&&!he)return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||A!==e.memoizedState)&&(t.flags|=Mt),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||A!==e.memoizedState)&&(t.flags|=To),!1;typeof D=="function"&&(ip(t,n,D,a),ie=t.memoizedState);var Me=lc()||Bg(t,n,l,a,A,ie,g)||he;return Me?(!k&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var d=Ke(e)||"Anonymous";c="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+d+".")}var g=u+`
`+o+`
`+(""+c);console.error(g)}catch(y){setTimeout(function(){throw y})}}var bR=typeof WeakMap=="function"?WeakMap:Map;function Ig(e,t,n){var a=Ir(Jt,n);a.tag=pv,a.payload={element:null};var r=t.value;return a.callback=function(){fD(r),sp(e,t)},a}function cp(e,t,n){var a=Ir(Jt,n);a.tag=pv;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){n0(e),sp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(a.callback=function(){n0(e),sp(e,t),typeof r!="function"&&sD(this);var u=t.value,c=t.stack;this.componentDidCatch(u,{componentStack:c!==null?c:""}),typeof r!="function"&&(Da(e.lanes,$e)||f("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ke(e)||"Unknown"))}),a}function Wg(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new bR,r=new Set,a.set(t,r)):(r=a.get(t),r===void 0&&(r=new Set,a.set(t,r))),!r.has(n)){r.add(n);var i=dD.bind(null,e,t,n);Ga&&$u(e,n),t.then(i,i)}}function SR(e,t,n,a){var r=e.updateQueue;if(r===null){var i=new Set;i.add(n),e.updateQueue=i}else r.add(n)}function TR(e,t){var n=e.tag;if((e.mode&yt)===Ne&&(n===ge||n===Le||n===Z)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function qg(e){var t=e;do{if(t.tag===Ce&&tR(t))return t;t=t.return}while(t!==null);return null}function Gg(e,t,n,a,r){if((e.mode&yt)===Ne){if(e===t)e.flags|=ua;else{if(e.flags|=Lt,n.flags|=kf,n.flags&=-52805,n.tag===re){var i=n.alternate;if(i===null)n.tag=Et;else{var o=Ir(Jt,$e);o.tag=nc,gi(n,o,$e)}}n.lanes=at(n.lanes,$e)}return e}return e.flags|=ua,e.lanes=r,e}function ER(e,t,n,a,r){if(n.flags|=is,Ga&&$u(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;TR(n),$n()&&n.mode&yt&&Fy();var o=qg(t);if(o!==null){o.flags&=~Nr,Gg(o,t,n,e,r),o.mode&yt&&Wg(e,i,r),SR(o,e,i);return}else{if(!YT(r)){Wg(e,i,r),Pp();return}var l=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=l}}else if($n()&&n.mode&yt){Fy();var u=qg(t);if(u!==null){(u.flags&ua)===He&&(u.flags|=Nr),Gg(u,t,n,e,r),nv(no(a,n));return}}a=no(a,n),tD(a);var c=t;do{switch(c.tag){case ce:{var d=a;c.flags|=ua;var g=Ol(r);c.lanes=at(c.lanes,g);var y=Ig(c,d,g);yv(c,y);return}case re:var D=a,k=c.type,A=c.stateNode;if((c.flags&Lt)===He&&(typeof k.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&!qb(A))){c.flags|=ua;var ie=Ol(r);c.lanes=at(c.lanes,ie);var Me=cp(c,D,ie);yv(c,Me);return}break}c=c.return}while(c!==null)}function CR(){return null}var wu=be.ReactCurrentOwner,nr=!1,fp,Du,dp,vp,pp,ao,mp,Lc,_u;fp={},Du={},dp={},vp={},pp={},ao=!1,mp={},Lc={},_u={};function sa(e,t,n,a){e===null?t.child=Ky(t,null,n,a):t.child=Po(t,e.child,n,a)}function xR(e,t,n,a){t.child=Po(t,e.child,null,a),t.child=Po(t,null,n,a)}function Xg(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Qa(i,a,"prop",kt(n))}var o=n.render,l=t.ref,u,c;Io(t,r),wl(t);{if(wu.current=t,za(!0),u=Ko(e,t,o,a,l,r),c=Jo(),t.mode&un){jn(!0);try{u=Ko(e,t,o,a,l,r),c=Jo()}finally{jn(!1)}}za(!1)}return xo(),e!==null&&!nr?(fg(e,t,r),Wr(e,t,r)):($n()&&c&&Qd(t),t.flags|=So,sa(e,t,u,r),t.child)}function Qg(e,t,n,a,r){if(e===null){var i=n.type;if(kD(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=ol(i),t.tag=Z,t.type=o,gp(t,i),Kg(e,t,o,a,r)}{var l=i.propTypes;if(l&&Qa(l,a,"prop",kt(i)),n.defaultProps!==void 0){var u=kt(i)||"Unknown";_u[u]||(f("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),_u[u]=!0)}}var c=em(n.type,null,a,t,t.mode,r);return c.ref=t.ref,c.return=t,t.child=c,c}{var d=n.type,g=d.propTypes;g&&Qa(g,a,"prop",kt(d))}var y=e.child,D=xp(e,r);if(!D){var k=y.memoizedProps,A=n.compare;if(A=A!==null?A:ql,A(k,a)&&e.ref===t.r
Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),pp[r]||(pp[r]=!0,f("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var o=kt(t)||"Unknown";_u[o]||(f("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),_u[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var l=kt(t)||"Unknown";vp[l]||(f("%s: Function components do not support getDerivedStateFromProps.",l),vp[l]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=kt(t)||"Unknown";dp[u]||(f("%s: Function components do not support contextType.",u),dp[u]=!0)}}}var bp={dehydrated:null,treeContext:null,retryLane:Un};function Sp(e){return{baseLanes:e,cachePool:CR(),transitions:null}}function NR(e,t){var n=null;return{baseLanes:at(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function jR(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return Tv(e,yu)}function UR(e,t){return ds(e.childLanes,t)}function ab(e,t,n){var a=t.pendingProps;ID(t)&&(t.flags|=Lt);var r=Za.current,i=!1,o=(t.flags&Lt)!==He;if(o||jR(r,e)?(i=!0,t.flags&=~Lt):(e===null||e.memoizedState!==null)&&(r=eR(r,cg)),r=qo(r),Si(t,r),e===null){tv(t);var l=t.memoizedState;if(l!==null){var u=l.dehydrated;if(u!==null)return BR(t,u)}var c=a.children,d=a.fallback;if(i){var g=HR(t,c,d,n),y=t.child;return y.memoizedState=Sp(n),t.memoizedState=bp,g}else return Tp(t,c)}else{var D=e.memoizedState;if(D!==null){var k=D.dehydrated;if(k!==null)return $R(e,t,o,a,k,D,n)}if(i){var A=a.fallback,ie=a.children,Me=FR(e,t,ie,A,n),_e=t.child,bt=e.child.memoizedState;return _e.memoizedState=bt===null?Sp(n):NR(bt,n),_e.childLanes=UR(e,n),t.memoizedState=bp,Me}else{var pt=a.children,C=zR(e,t,pt,n);return t.memoizedState=null,C}}}function Tp(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=Ep(r,a);return i.return=e,e.child=i,i}function HR(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},l,u;return(r&yt)===Ne&&i!==null?(l=i,l.childLanes=$,l.pendingProps=o,e.mode&Bt&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0),u=_i(n,r,a,null)):(l=Ep(o,r),u=_i(n,r,a,null)),l.return=e,u.return=e,l.sibling=u,e.child=l,u}function Ep(e,t,n){return r0(e,t,$,null)}function rb(e,t){return uo(e,t)}function zR(e,t,n,a){var r=e.child,i=r.sibling,o=rb(r,{mode:"visible",children:n});if((t.mode&yt)===Ne&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var l=t.deletions;l===null?(t.deletions=[i],t.flags|=ji):l.push(i)}return t.child=o,o}function FR(e,t,n,a,r){var i=t.mode,o=e.child,l=o.sibling,u={mode:"hidden",children:n},c;if((i&yt)===Ne&&t.child!==o){var d=t.child;c=d,c.childLanes=$,c.pendingProps=u,t.mode&Bt&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=o.selfBaseDuration,c.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else c=rb(o,u),c.subtreeFlags=o.subtreeFlags&Ur;var g;return l!==null?g=uo(l,a):(g=_i(a,i,r,null),g.flags|=Sn),g.return=t,c.return=t,c.sibling=g,t.child=c,g}function Oc(e,t,n,a){a!==null&&nv(a),Po(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=Tp(t,i);return o.flags|=Sn,t.memoizedState=null,o}function VR(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},l=Ep(o,i),u=_i(a,i,r,null);return u.flags|=Sn,l.return=t,u.return=t,l.sibling=u,t.child=l,(t.mode&yt)!==Ne&&Po(t,e.child,null,r),u}function BR(e,t,n){return(e.mode&yt)===Ne?(f("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=$e):Vd(t)?e.lanes=Bi:e.lanes=wa,null}function $R(e,t,n,a,r,i,o){if(n)if(t.flags&Nr){t.flags&=~Nr;var C=up(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Oc(e,t,o,C)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Lt,null;var N=a.children,x=a.fallba
It looks like you wrote `+u+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+u+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:c=" You returned: "+l,f("%s must not return anything besides a function, which is used for clean-up.%s",u,c)}}}i=i.next}while(i!==r)}}function sw(e,t){if((t.flags&Mt)!==He)switch(t.tag){case rt:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,o=Ug(),l=t.alternate===null?"mount":"update";jg()&&(l="nested-update"),typeof i=="function"&&i(r,l,n,o);var u=t.return;e:for(;u!==null;){switch(u.tag){case ce:var c=u.stateNode;c.passiveEffectDuration+=n;break e;case rt:var d=u.stateNode;d.passiveEffectDuration+=n;break e}u=u.return}break}}}function cw(e,t,n,a){if((n.flags&Rl)!==He)switch(n.tag){case ge:case Le:case Z:{if(!In)if(n.mode&Bt)try{gr(),Ci(xn|Cn,n)}finally{yr(n)}else Ci(xn|Cn,n);break}case re:{var r=n.stateNode;if(n.flags&Mt&&!In)if(t===null)if(n.type===n.elementType&&!ao&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ke(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ke(n)||"instance")),n.mode&Bt)try{gr(),r.componentDidMount()}finally{yr(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:tr(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!ao&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ke(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ke(n)||"instance")),n.mode&Bt)try{gr(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{yr(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;l!==null&&(n.type===n.elementType&&!ao&&(r.props!==n.memoizedProps&&f("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ke(n)||"instance"),r.state!==n.memoizedState&&f("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ke(n)||"instance")),og(n,l,r));break}case ce:{var u=n.updateQueue;if(u!==null){var c=null;if(n.child!==null)switch(n.child.tag){case te:c=n.child.stateNode;break;case re:c=n.child.stateNode;break}og(n,u,c)}break}case te:{var d=n.stateNode;if(t===null&&n.flags&Mt){var g=n.type,y=n.memoizedProps;_x(d,g,y)}break}case Be:break;case je:break;case rt:{{var D=n.memoizedProps,k=D.onCommit,A=D.onRender,ie=n.stateNode.effectDuration,Me=Ug(),_e=t===null?"mount":"update";jg()&&(_e="nested-update"),typeof A=="function"&&A(n.memoizedProps.id,_e,n.actualDuration,n.treeBaseDuration,n.actualStartTime,Me);{typeof k=="function"&&k(n.memoizedProps.id,_e,ie,Me),lD(n);var bt=n.return;e:for(;bt!==null;){switch(bt.tag){case ce:var pt=bt.stateNode;pt.effectDuration+=ie;break e;case rt:var C=bt.stateNode;C.effectDuration+=ie;break e}bt=bt.return}}}break}case Ce:{gw(e,n);break}case Ot:case Et:case ke:case X:case tt:case Se:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}In||n.flags&Ui&&Tb(n)}function fw(e){switch(e.tag){case ge:case Le:case Z:{if(e.mode&Bt)try{gr(),gb(e,e.return)}finally{yr(e)}else gb(e,e.return);break}case re:{var t=e.stateNode;typeof t.componentDidMount=="function"&&rw(e,
Error message:
2025-07-28 03:32:43 +03:00
%s`,n)}function dD(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=fa();Sh(e,n),TD(e),ca===e&&_o(_n,n)&&(kn===Au||kn===Uc&&hh(_n)&&Nn()-Np<Nb?oo(e,$):zc=at(zc,n)),Ca(e,r)}function Xb(e,t){t===Un&&(t=Ww(e));var n=fa(),a=Sa(e,t);a!==null&&(Al(a,t,n),Ca(a,n))}function vD(e){var t=e.memoizedState,n=Un;t!==null&&(n=t.retryLane),Xb(e,n)}function pD(e,t){var n=Un,a;switch(e.tag){case Ce:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case Ot:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),Xb(e,n)}function mD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:$w(e/1960)*1960}function hD(){if(Fu>Yw)throw Fu=0,zp=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");rl>Iw&&(rl=0,Bc=null,f("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function yD(){Ja.flushLegacyContextWarning(),Ja.flushPendingUnsafeLifecycleWarnings()}function Qb(e,t){tn(e),Wc(e,oi,Uw),t&&Wc(e,Of,Hw),Wc(e,oi,Nw),t&&Wc(e,Of,jw),An()}function Wc(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==He?a=a.child:((a.flags&t)!==He&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var qc=null;function Kb(e){{if((gt&Gn)!==Dn||!(e.mode&yt))return;var t=e.tag;if(t!==Tt&&t!==ce&&t!==re&&t!==ge&&t!==Le&&t!==U&&t!==Z)return;var n=Ke(e)||"ReactComponent";if(qc!==null){if(qc.has(n))return;qc.add(n)}else qc=new Set([n]);var a=ia;try{tn(e),f("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?tn(e):An()}}}var Yp;{var gD=null;Yp=function(e,t,n){var a=i0(gD,t);try{return cb(e,t,n)}catch(i){if(M1()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(ec(),dg(),hb(e,t),i0(t,a),t.mode&Bt&&Wv(t),wf(null,cb,null,e,t,n),JS()){var r=Df();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var Jb=!1,Ip;Ip=new Set;function bD(e){if(Li&&!uR())switch(e.tag){case ge:case Le:case Z:{var t=rn&&Ke(rn)||"Unknown",n=t;if(!Ip.has(n)){Ip.add(n);var a=Ke(e)||"Unknown";f("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case re:{Jb||(f("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Jb=!0);break}}}function $u(e,t){if(Ga){var n=e.memoizedUpdaters;n.forEach(function(a){Th(e,a,t)})}}var Wp={};function qp(e,t){{var n=or.current;return n!==null?(n.push(t),Wp):lh(e,t)}}function Zb(e){if(e!==Wp)return oT(e)}function e0(){return or.current!==null}function SD(e){{if(e.mode&yt){if(!Lb())return}else if(!Bw()||gt!==Dn||e.tag!==ge&&e.tag!==Le&&e.tag!==Z)return;if(or.current===null){var t=ia;try{tn(e),f(`An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
2025-07-28 03:32:43 +03:00
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Ke(e))}finally{t?tn(e):An()}}}}function TD(e){e.tag!==mi&&Lb()&&or.current===null&&f(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
When testing, code that resolves suspended data should be wrapped into act(...):
act(() => {
/* finish loading suspended data */
});
/* assert on the output */
2025-07-28 03:32:43 +03:00
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Pu(e){Hb=e}var Ia=null,il=null,ED=function(e){Ia=e};function ol(e){{if(Ia===null)return e;var t=Ia(e);return t===void 0?e:t.current}}function Gp(e){return ol(e)}function Xp(e){{if(Ia===null)return e;var t=Ia(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=ol(e.render);if(e.render!==n){var a={$$typeof:B,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function t0(e,t){{if(Ia===null)return!1;var n=e.elementType,a=t.type,r=!1,i=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case re:{typeof a=="function"&&(r=!0);break}case ge:{(typeof a=="function"||i===qe)&&(r=!0);break}case Le:{(i===B||i===qe)&&(r=!0);break}case U:case Z:{(i===lt||i===qe)&&(r=!0);break}default:return!1}if(r){var o=Ia(n);if(o!==void 0&&o===Ia(a))return!0}return!1}}function n0(e){{if(Ia===null||typeof WeakSet!="function")return;il===null&&(il=new WeakSet),il.add(e)}}var CD=function(e,t){{if(Ia===null)return;var n=t.staleFamilies,a=t.updatedFamilies;Qr(),Xr(function(){Qp(e.current,a,n)})}},xD=function(e,t){{if(e.context!==La)return;Qr(),Xr(function(){Yu(t,e,null,null)})}};function Qp(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,o=e.tag,l=e.type,u=null;switch(o){case ge:case Z:case re:u=l;break;case Le:u=l.render;break}if(Ia===null)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(u!==null){var g=Ia(u);g!==void 0&&(n.has(g)?d=!0:t.has(g)&&(o===re?d=!0:c=!0))}if(il!==null&&(il.has(e)||a!==null&&il.has(a))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var y=Sa(e,$e);y!==null&&Mn(y,e,$e,Jt)}r!==null&&!d&&Qp(r,t,n),i!==null&&Qp(i,t,n)}}var RD=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Kp(e.current,a,n),n}};function Kp(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,o=e.type,l=null;switch(i){case ge:case Z:case re:l=o;break;case Le:l=o.render;break}var u=!1;l!==null&&t.has(l)&&(u=!0),u?wD(e,n):a!==null&&Kp(a,t,n),r!==null&&Kp(r,t,n)}}function wD(e,t){{var n=DD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case te:t.add(a.stateNode);return;case je:t.add(a.stateNode.containerInfo);return;case ce:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function DD(e,t){for(var n=e,a=!1;;){if(n.tag===te)a=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;n.sibling===null;){if(n.return===null||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var Jp;{Jp=!1;try{var a0=Object.preventExtensions({})}catch{Jp=!0}}function _D(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=He,this.subtreeFlags=He,this.deletions=null,this.lanes=$,this.childLanes=$,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Jp&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Oa=function(e,t,n,a){return new _D(e,t,n,a)};function Zp(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function kD(e){return typeof e=="function"&&!Zp(e)&&e.defaultProps===void 0}function MD(e){if(typeof e=="function")return Zp(e)?re:ge;if(e!=null){var t=e.$$typeof;if(t===B)return Le;if(t===lt)return U}return Tt}function uo(e,t){var n=e.alternate;n===null?(n=Oa(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugH
2025-07-28 03:32:43 +03:00
Check the render method of \``+c+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+u))}}var d=Oa(o,n,t,r);return d.elementType=e,d.type=l,d.lanes=i,d._debugOwner=a,d}function tm(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,o=e.props,l=em(r,i,o,a,t,n);return l._debugSource=e._source,l._debugOwner=e._owner,l}function _i(e,t,n,a){var r=Oa(Qe,e,a,t);return r.lanes=n,r}function AD(e,t,n,a){typeof e.id!="string"&&f('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=Oa(rt,e,a,t|Bt);return r.elementType=Cr,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function ND(e,t,n,a){var r=Oa(Ce,e,a,t);return r.elementType=ne,r.lanes=n,r}function jD(e,t,n,a){var r=Oa(Ot,e,a,t);return r.elementType=fe,r.lanes=n,r}function r0(e,t,n,a){var r=Oa(X,e,a,t);r.elementType=E,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function nm(e,t,n){var a=Oa(Be,e,null,t);return a.lanes=n,a}function UD(){var e=Oa(te,null,null,Ne);return e.elementType="DELETED",e}function HD(e){var t=Oa(st,null,null,Ne);return t.stateNode=e,t}function am(e,t,n){var a=e.children!==null?e.children:[],r=Oa(je,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function i0(e,t){return e===null&&(e=Oa(Tt,null,null,Ne)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function zD(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=zd,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Un,this.eventTimes=ld($),this.expirationTimes=ld(Jt),this.pendingLanes=$,this.suspendedLanes=$,this.pingedLanes=$,this.expiredLanes=$,this.mutableReadLanes=$,this.finishedLanes=$,this.entangledLanes=$,this.entanglements=ld($),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],o=0;o<zf;o++)i.push(new Set)}switch(t){case Ys:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case mi:this._debugRootType=n?"hydrate()":"render()";break}}function o0(e,t,n,a,r,i,o,l,u,c){var d=new zD(e,t,n,l,u),g=OD(t,i);d.current=g,g.stateNode=d;{var y={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};g.memoizedState=y}return hv(g),d}var rm="18.3.1";function FD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return z(a),{$$typeof:En,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var im,om;im=!1,om={};function l0(e){if(!e)return La;var t=bo(e),n=T1(t);if(t.tag===re){var a=t.type;if(vr(a))return Ny(t,a,n)}return n}function VD(e,t){{var n=bo(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=rh(n);if(r===null)return null;if(r.mode&un){var i=Ke(n)||"Component";if(!om[i]){om[i]=!0;var o=ia;try{tn(r),n.mode&un?f("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside Stric
Check the render method of %s.`,Ke(ia)||"Unknown"));var u=Ir(i,o);u.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&f("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),u.callback=a);var c=gi(r,u,o);return c!==null&&(Mn(c,r,o,i),ic(c,r,o)),o}function Gc(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case te:return t.child.stateNode;default:return t.child.stateNode}}function BD(e){switch(e.tag){case ce:{var t=e.stateNode;if(ps(t)){var n=PT(t);Kw(t,n)}break}case Ce:{Xr(function(){var r=Sa(e,$e);if(r!==null){var i=fa();Mn(r,e,$e,i)}});var a=$e;lm(e,a);break}}}function c0(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=XT(n.retryLane,t))}function lm(e,t){c0(e,t);var n=e.alternate;n&&c0(n,t)}function $D(e){if(e.tag===Ce){var t=kl,n=Sa(e,t);if(n!==null){var a=fa();Mn(n,e,t,a)}lm(e,t)}}function PD(e){if(e.tag===Ce){var t=wi(e),n=Sa(e,t);if(n!==null){var a=fa();Mn(n,e,t,a)}lm(e,t)}}function f0(e){var t=iT(e);return t===null?null:t.stateNode}var d0=function(e){return null};function YD(e){return d0(e)}var v0=function(e){return!1};function ID(e){return v0(e)}var p0=null,m0=null,h0=null,y0=null,g0=null,b0=null,S0=null,T0=null,E0=null;{var C0=function(e,t,n){var a=t[n],r=vt(e)?e.slice():F({},e);return n+1===t.length?(vt(r)?r.splice(a,1):delete r[a],r):(r[a]=C0(e[a],t,n+1),r)},x0=function(e,t){return C0(e,t,0)},R0=function(e,t,n,a){var r=t[a],i=vt(e)?e.slice():F({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],vt(i)?i.splice(r,1):delete i[r]}else i[r]=R0(e[r],t,n,a+1);return i},w0=function(e,t,n){if(t.length!==n.length){ve("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){ve("copyWithRename() expects paths to be the same except for the deepest key");return}return R0(e,t,n,0)},D0=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=vt(e)?e.slice():F({},e);return i[r]=D0(e[r],t,n+1,a),i},_0=function(e,t,n){return D0(e,t,0,n)},um=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};p0=function(e,t,n,a){var r=um(e,t);if(r!==null){var i=_0(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=F({},e.memoizedProps);var o=Sa(e,$e);o!==null&&Mn(o,e,$e,Jt)}},m0=function(e,t,n){var a=um(e,t);if(a!==null){var r=x0(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=F({},e.memoizedProps);var i=Sa(e,$e);i!==null&&Mn(i,e,$e,Jt)}},h0=function(e,t,n,a){var r=um(e,t);if(r!==null){var i=w0(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=F({},e.memoizedProps);var o=Sa(e,$e);o!==null&&Mn(o,e,$e,Jt)}},y0=function(e,t,n){e.pendingProps=_0(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Sa(e,$e);a!==null&&Mn(a,e,$e,Jt)},g0=function(e,t){e.pendingProps=x0(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Sa(e,$e);n!==null&&Mn(n,e,$e,Jt)},b0=function(e,t,n){e.pendingProps=w0(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Sa(e,$e);a!==null&&Mn(a,e,$e,Jt)},S0=function(e){var t=Sa(e,$e);t!==null&&Mn(t,e,$e,Jt)},T0=function(e){d0=e},E0=function(e){v0=e}}function WD(e){var t=rh(e);return t===null?null:t.stateNode}function qD(e){return null}function GD(){return ia}function XD(e){var t=e.findFiberByHostInstance,n=be.ReactCurrentDispatcher;return vT({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:p0,overrideHookStateDeletePath:m0,overrideHookStateRenamePath:h0,overrideProps:y0,overridePropsDeletePath:g0,overridePropsRenamePath:b0,setErrorHandler:T0,setSuspenseHandler:E0,scheduleUpdate:S0,currentDispatcherRef:n,findHostInstanceByFiber:WD,findFiberByHostInstance:t||qD,findHostInstancesForRefresh:RD,scheduleRefresh:CD,scheduleRoot:xD,setRefreshHandler:ED,getCurrentFiber:GD,reconcilerVersion:rm})}var k0=typeof reportError=="function"?reportError:function(e){console.error(e)};function sm(e){this._internalRoot=e}Xc.prototype.render=sm.protot
let root = createRoot(domContainer);
2025-07-28 03:32:43 +03:00
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var o=u0(e,Ys,null,n,a,r,i);Hs(o.current,e);var l=e.nodeType===bn?e.parentNode:e;return Ql(l),new sm(o)}function Xc(e){this._internalRoot=e}function KD(e){e&&dE(e)}Xc.prototype.unstable_scheduleHydration=KD;function JD(e,t,n){if(!Qc(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");M0(e),t===void 0&&f("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=n??null,r=n!=null&&n.hydratedSources||null,i=!1,o=!1,l="",u=k0;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(u=n.onRecoverableError));var c=s0(t,null,e,Ys,a,i,o,l,u);if(Hs(c.current,e),Ql(e),r)for(var d=0;d<r.length;d++){var g=r[d];nR(c,g)}return new Xc(c)}function Qc(e){return!!(e&&(e.nodeType===ga||e.nodeType===Ar||e.nodeType===mf))}function Iu(e){return!!(e&&(e.nodeType===ga||e.nodeType===Ar||e.nodeType===mf||e.nodeType===bn&&e.nodeValue===" react-mount-point-unstable "))}function M0(e){e.nodeType===ga&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),lu(e)&&(e._reactRootContainer?f("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):f("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var ZD=be.ReactCurrentOwner,L0;L0=function(e){if(e._reactRootContainer&&e.nodeType!==bn){var t=f0(e._reactRootContainer.current);t&&t.parentNode!==e&&f("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=cm(e),r=!!(a&&vi(a));r&&!n&&f("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===ga&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&f("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function cm(e){return e?e.nodeType===Ar?e.documentElement:e.firstChild:null}function O0(){}function e_(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var y=Gc(o);i.call(y)}}var o=s0(t,a,e,mi,null,!1,!1,"",O0);e._reactRootContainer=o,Hs(o.current,e);var l=e.nodeType===bn?e.parentNode:e;return Ql(l),Xr(),o}else{for(var u;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var c=a;a=function(){var y=Gc(d);c.call(y)}}var d=u0(e,mi,null,!1,!1,"",O0);e._reactRootContainer=d,Hs(d.current,e);var g=e.nodeType===bn?e.parentNode:e;return Ql(g),Xr(function(){Yu(t,d,n,a)}),d}}function t_(e,t){e!==null&&typeof e!="function"&&f("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Kc(e,t,n,a,r){L0(n),t_(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=e_(n,t,e,r,a);else{if(o=i,typeof r=="function"){var l=r;r=function(){var u=Gc(o);l.call(u)}}Yu(t,o,e,r)}return Gc(o)}var A0=!1;function n_(e){{A0||(A0=!0,f("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the
2025-09-17 12:16:56 +03:00
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fm,pa.createPortal=l_,pa.createRoot=s_,pa.findDOMNode=n_,pa.flushSync=f_,pa.hydrate=a_,pa.hydrateRoot=c_,pa.render=r_,pa.unmountComponentAtNode=o_,pa.unstable_batchedUpdates=Bp,pa.unstable_renderSubtreeIntoContainer=u_,pa.version=rm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),pa}hm.exports=V0();var B0=hm.exports,Sm,Tm=B0;{var Em=Tm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Sm=function(M,R){Em.usingClientEntryPoint=!0;try{return Tm.createRoot(M,R)}finally{Em.usingClientEntryPoint=!1}}}const P=M=>{if(isNaN(M))return"00:00:00.000";const R=Math.floor(M/3600),be=Math.floor(M%3600/60),Re=Math.floor(M%60),we=Math.round(M%1*1e3),ve=String(R).padStart(2,"0"),f=String(be).padStart(2,"0"),W=String(Re).padStart(2,"0"),ge=String(we).padStart(3,"0");return`${ve}:${f}:${W}.${ge}`},ki=M=>P(M),$0=M=>P(M),me={debug:(...M)=>{},error:(...M)=>console.error(...M),warn:(...M)=>console.warn(...M),info:(...M)=>console.info(...M)};var Q=Zc();const P0=({videoRef:M,currentTime:R,duration:be,isPlaying:Re,isMuted:we=!1,onPlayPause:ve,onSeek:f,onToggleMute:W})=>{var oe;const ge=Q.useRef(null),[re,Tt]=Q.useState(!1),[ce,je]=Q.useState(!1),[te,Be]=Q.useState(null),[Qe,I]=Q.useState(!1),xt=Q.useRef(!1),[ot,Le]=Q.useState({x:0}),[rt,Ce]=Q.useState(0),U=typeof window<"u"&&((oe=window.MEDIA_DATA)==null?void 0:oe.videoUrl)||"/videos/sample-video.mp4";Q.useEffect(()=>{if(Tt((()=>{const q=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(q)&&!window.MSStream})()),typeof window<"u"){const q=localStorage.getItem("video_initialized")==="true";je(q)}},[]),Q.useEffect(()=>{Re&&!ce&&(je(!0),typeof window<"u"&&localStorage.setItem("video_initialized","true"))},[Re,ce]),Q.useEffect(()=>{const Se=M.current;if(!Se)return;Se.setAttribute("playsinline","true"),Se.setAttribute("webkit-playsinline","true"),Se.setAttribute("x-webkit-airplay","allow");const q=()=>{xt.current||(Be(Se.currentTime),typeof window<"u"&&(window.lastSeekedPosition=Se.currentTime))},G=()=>{re&&(je(!0),localStorage.setItem("video_initialized","true"))},he=()=>{};return Se.addEventListener("timeupdate",q),Se.addEventListener("play",G),Se.addEventListener("pause",he),()=>{Se.removeEventListener("timeupdate",q),Se.removeEventListener("play",G),Se.removeEventListener("pause",he)}},[M,re,xt]),Q.useEffect(()=>{Be(R)},[R]);const Z=be>0?R/be*100:0,zt=Se=>{Se.preventDefault(),I(!0),xt.current=!0,Et(Se);const q=he=>{xt.current&&Et(he)},G=()=>{I(!1),xt.current=!1,document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",G)};document.addEventListener("mousemove",q),document.addEventListener("mouseup",G)},Et=Se=>{if(!ge.current)return;const q=ge.current.getBoundingClientRect(),G=Math.max(0,Math.min(1,(Se.clientX-q.left)/q.width)),he=be*G;Le({x:Se.clientX}),Ce(he),Be(he),typeof window<"u"&&(window.lastSeekedPosition=he),f(he)},st=Se=>{if(!ge.current||!Se.touches[0])return;Se.preventDefault(),I(!0),xt.current=!0,Ot(Se);const q=he=>{xt.current&&Ot(he)},G=()=>{I(!1),xt.current=!1,document.removeEventListener("touchmove",q),document.removeEventListener("touchend",G),document.removeEventListener("touchcancel",G)};document.addEventListener("touchmove",q,{passive:!1}),document.addEventListener("touchend",G),document.addEventListener("touchcancel",G)},Ot=Se=>{if(!ge.current)return;const q="touches"in Se?Se.touches[0]:null;if(!q)return;Se.preventDefault();const G=ge.current.getBoundingClientRect(),he=Math.max(0,Math.min(1,(q.clientX-G.left)/G.width)),mt=be*he;Le({x:q.clientX}),Ce(mt),Be(mt),typeof window<"u"&&(window.lastSeekedPosition=mt),f(mt)},ke=Se=>{if(!Qe&&ge.current){const q=ge.current.getBoundingClientRect(),G=(Se.clientX-q.left)/q.width,he=be*G;Be(he),typeof window<"u"&&(window.lastSeekedPosition=he),f(he)}},X=()=>{M.cu
//# sourceMappingURL=chapters-editor.js.map