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

204 lines
397 KiB
JavaScript
Raw Normal View History

2025-07-28 02:13:24 +03:00
(function(){"use strict";var dm={exports:{}},Kc={exports:{}},al={exports:{}};al.exports;var vm;function U0(){return vm||(vm=1,function(k,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.
2025-07-28 02:14:10 +03:00
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var Ee="18.3.1",we=Symbol.for("react.element"),xe=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),te=Symbol.for("react.context"),gt=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),Me=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),Ge=Symbol.for("react.offscreen"),Y=Symbol.iterator,St="@@iterator";function it(s){if(s===null||typeof s!="object")return null;var h=Y&&s[Y]||s[St];return typeof h=="function"?h:null}var _e={current:null},nt={transition:null},ye={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},j={current:null},Q={},Ot=null;function bt(s){Ot=s}Q.setExtraStackFrame=function(s){Ot=s},Q.getCurrentStack=null,Q.getStackAddendum=function(){var s="";Ot&&(s+=Ot);var h=Q.getCurrentStack;return h&&(s+=h()||""),s};var lt=!1,Rt=!1,Te=!1,q=!1,Je=!1,re={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:nt,ReactCurrentOwner:j};re.ReactDebugCurrentFrame=Q,re.ReactCurrentActQueue=ye;function me(s){{for(var h=arguments.length,D=new Array(h>1?h-1:0),O=1;O<h;O++)D[O-1]=arguments[O];I("warn",s,D)}}function W(s){{for(var h=arguments.length,D=new Array(h>1?h-1:0),O=1;O<h;O++)D[O-1]=arguments[O];I("error",s,D)}}function I(s,h,D){{var O=re.ReactDebugCurrentFrame,X=O.getStackAddendum();X!==""&&(h+="%s",D=D.concat([X]));var Oe=D.map(function(ge){return String(ge)});Oe.unshift("Warning: "+h),Function.prototype.apply.call(console[s],console,Oe)}}var ve={};function dt(s,h){{var D=s.constructor,O=D&&(D.displayName||D.name)||"ReactClass",X=O+"."+h;if(ve[X])return;W("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.",h,O),ve[X]=!0}}var kt={isMounted:function(s){return!1},enqueueForceUpdate:function(s,h,D){dt(s,"forceUpdate")},enqueueReplaceState:function(s,h,D,O){dt(s,"replaceState")},enqueueSetState:function(s,h,D,O){dt(s,"setState")}},ut=Object.assign,Kt={};Object.freeze(Kt);function Mt(s,h,D){this.props=s,this.context=h,this.refs=Kt,this.updater=D||kt}Mt.prototype.isReactComponent={},Mt.prototype.setState=function(s,h){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,h,"setState")},Mt.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)."]},je=function(s,h){Object.defineProperty(Mt.prototype,s,{get:function(){me("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])}})};for(var ze in Ye)Ye.hasOwnProperty(ze)&&je(ze,Ye[ze])}function dn(){}dn.prototype=Mt.prototype;function Ze(s,h,D){this.props=s,this.context=h,this.refs=Kt,this.updater=D||kt}var Yt=Ze.prototype=new dn;Yt.constructor=Ze,ut(Yt,Mt.prototype),Yt.isPureReactComponent=!0;function yt(){var s={current:null};return Object.seal(s),s}var at=Array.isArray;function en(s){return at(s)}function nn(s){{var h=typeof Symbol=="function"&&Symbol.toStringTag,D=h&&s[Symbol.toStringTag]||s.constructor.name||"Object";return D}}function an(s){try{return sn(s),!1}catch{return!0}}function sn(s){return""+s}function U(s){if(an(s))return W("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nn(s)),sn(s)}function ne(s,h,D){var O=s.displayName;if(O)return O;var X=h.displayName||h.
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
2025-07-28 02:14:10 +03:00
Did you accidentally put curly braces around the import?`,X),"default"in X||W(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
2025-07-28 02:14:10 +03:00
const MyComponent = lazy(() => import('./MyComponent'))`,X),X.default}else throw s._result}function y(s){var h={_status:ga,_result:s},D={$$typeof:Ve,_payload:h,_init:gr};{var O,X;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return O},set:function(Oe){W("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=Oe,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return X},set:function(Oe){W("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."),X=Oe,Object.defineProperty(D,"propTypes",{enumerable:!0})}}})}return D}function F(s){s!=null&&s.$$typeof===J?W("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?W("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&W("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)&&W("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var h={$$typeof:gt,render:s};{var D;Object.defineProperty(h,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(O){D=O,!s.name&&!s.displayName&&(s.displayName=O)}})}return h}var c;c=Symbol.for("react.module.reference");function m(s){return!!(typeof s=="string"||typeof s=="function"||s===se||s===G||Je||s===d||s===le||s===Me||q||s===Ge||lt||Rt||Te||typeof s=="object"&&s!==null&&(s.$$typeof===Ve||s.$$typeof===J||s.$$typeof===de||s.$$typeof===te||s.$$typeof===gt||s.$$typeof===c||s.getModuleId!==void 0))}function g(s,h){m(s)||W("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:J,type:s,compare:h===void 0?null:h};{var O;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(X){O=X,!s.name&&!s.displayName&&(s.displayName=X)}})}return D}function E(){var s=_e.current;return s===null&&W(`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 02:14:10 +03:00
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function T(s){var h=E();if(s._context!==void 0){var D=s._context;D.Consumer===s?W("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?"):D.Provider===s&&W("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return h.useContext(s)}function M(s){var h=E();return h.useState(s)}function L(s,h,D){var O=E();return O.useReducer(s,h,D)}function z(s){var h=E();return h.useRef(s)}function Ue(s,h){var D=E();return D.useEffect(s,h)}function B(s,h){var D=E();return D.useInsertionEffect(s,h)}function Ce(s,h){var D=E();return D.useLayoutEffect(s,h)}function et(s,h){var D=E();return D.useCallback(s,h)}function rt(s,h){var D=E();return D.useMemo(s,h)}function It(s,h,D){var O=E();return O.useImperativeHandle(s,h,D)}function Bt(s,h){{var D=E();return D.useDebugValue(s,h)}}function Be(){var s=E();return s.useTransition()}function on(s){var h=E();return h.useDeferredValue(s)}function Fa(){var s=E();return s.useId()}function Un(s,h,D){var O=E();return O.useSyncExternalStore(s,h,D)}var Lt=0,sa,nr,no,Yr,ba,_a,bi;function Wr(){}Wr.__reactDisabledLog=!0;function cn(){{if(Lt===0){sa=console.log,nr=console.info,no=console.warn,Yr=console.error,ba=console.group,_a=console.groupCollapsed,bi=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Wr,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Lt++}}function ft(){{if(Lt--,Lt===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ut({},s,{value:sa}),info:ut({},s,{value:nr}),warn:ut({},s,{value:no}),error:ut({},s,{value:Yr}),group:ut({},s,{value:ba}),groupCollapsed:ut({},s,{value:_a}),groupEnd:ut({},s,{value:bi})})}Lt<0&&W("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ca=re.ReactCurrentDispatcher,In;function ar(s,h,D){{if(In===void 0)try{throw Error()}catch(X){var O=X.stack.trim().match(/\n( *(at )?)/);In=O&&O[1]||""}return`
`+In+s}}var Si=!1,ao;{var il=typeof WeakMap=="function"?WeakMap:Map;ao=new il}function Yu(s,h){if(!s||Si)return"";{var D=ao.get(s);if(D!==void 0)return D}var O;Si=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Oe;Oe=ca.current,ca.current=null,cn();try{if(h){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(pn){O=pn}Reflect.construct(s,[],ge)}else{try{ge.call()}catch(pn){O=pn}s.call(ge.prototype)}}else{try{throw Error()}catch(pn){O=pn}s()}}catch(pn){if(pn&&O&&typeof pn.stack=="string"){for(var Ie=pn.stack.split(`
2025-07-28 02:13:24 +03:00
`),vt=O.stack.split(`
2025-07-28 02:14:10 +03:00
`),At=Ie.length-1,qt=vt.length-1;At>=1&&qt>=0&&Ie[At]!==vt[qt];)qt--;for(;At>=1&&qt>=0;At--,qt--)if(Ie[At]!==vt[qt]){if(At!==1||qt!==1)do if(At--,qt--,qt<0||Ie[At]!==vt[qt]){var Gt=`
`+Ie[At].replace(" at new "," at ");return s.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",s.displayName)),typeof s=="function"&&ao.set(s,Gt),Gt}while(At>=1&&qt>=0);break}}}finally{Si=!1,ca.current=Oe,ft(),Error.prepareStackTrace=X}var st=s?s.displayName||s.name:"",Jt=st?ar(st):"";return typeof s=="function"&&ao.set(s,Jt),Jt}function ol(s,h,D){return Yu(s,!1)}function af(s){var h=s.prototype;return!!(h&&h.isReactComponent)}function Ti(s,h,D){if(s==null)return"";if(typeof s=="function")return Yu(s,af(s));if(typeof s=="string")return ar(s);switch(s){case le:return ar("Suspense");case Me:return ar("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case gt:return ol(s.render);case J:return Ti(s.type,h,D);case Ve:{var O=s,X=O._payload,Oe=O._init;try{return Ti(Oe(X),h,D)}catch{}}}return""}var Wu={},ll=re.ReactDebugCurrentFrame;function Ct(s){if(s){var h=s._owner,D=Ti(s.type,s._source,h?h.type:null);ll.setExtraStackFrame(D)}else ll.setExtraStackFrame(null)}function rf(s,h,D,O,X){{var Oe=Function.call.bind(Le);for(var ge in s)if(Oe(s,ge)){var Ie=void 0;try{if(typeof s[ge]!="function"){var vt=Error((O||"React class")+": "+D+" type `"+ge+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[ge]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw vt.name="Invariant Violation",vt}Ie=s[ge](h,ge,O,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(At){Ie=At}Ie&&!(Ie instanceof Error)&&(Ct(X),W("%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",D,ge,typeof Ie),Ct(null)),Ie instanceof Error&&!(Ie.message in Wu)&&(Wu[Ie.message]=!0,Ct(X),W("Failed %s type: %s",D,Ie.message),Ct(null))}}}function br(s){if(s){var h=s._owner,D=Ti(s.type,s._source,h?h.type:null);bt(D)}else bt(null)}var Xe;Xe=!1;function ul(){if(j.current){var s=pe(j.current.type);if(s)return`
2025-07-28 02:14:10 +03:00
Check the render method of \``+s+"`."}return""}function Jn(s){if(s!==void 0){var h=s.fileName.replace(/^.*[\\\/]/,""),D=s.lineNumber;return`
2025-07-28 02:14:10 +03:00
Check your code at `+h+":"+D+"."}return""}function Ei(s){return s!=null?Jn(s.__source):""}var Ir={};function of(s){var h=ul();if(!h){var D=typeof s=="string"?s:s.displayName||s.name;D&&(h=`
2025-07-28 02:14:10 +03:00
Check the top-level render call using <`+D+">.")}return h}function Mn(s,h){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var D=of(h);if(!Ir[D]){Ir[D]=!0;var O="";s&&s._owner&&s._owner!==j.current&&(O=" It was passed a child from "+pe(s._owner.type)+"."),br(s),W('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,O),br(null)}}}function Zt(s,h){if(typeof s=="object"){if(en(s))for(var D=0;D<s.length;D++){var O=s[D];zt(O)&&Mn(O,h)}else if(zt(s))s._store&&(s._store.validated=!0);else if(s){var X=it(s);if(typeof X=="function"&&X!==s.entries)for(var Oe=X.call(s),ge;!(ge=Oe.next()).done;)zt(ge.value)&&Mn(ge.value,h)}}}function Iu(s){{var h=s.type;if(h==null||typeof h=="string")return;var D;if(typeof h=="function")D=h.propTypes;else if(typeof h=="object"&&(h.$$typeof===gt||h.$$typeof===J))D=h.propTypes;else return;if(D){var O=pe(h);rf(D,s.props,"prop",O,s)}else if(h.PropTypes!==void 0&&!Xe){Xe=!0;var X=pe(h);W("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof h.getDefaultProps=="function"&&!h.getDefaultProps.isReactClassApproved&&W("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ka(s){{for(var h=Object.keys(s.props),D=0;D<h.length;D++){var O=h[D];if(O!=="children"&&O!=="key"){br(s),W("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),br(null);break}}s.ref!==null&&(br(s),W("Invalid attribute `ref` supplied to `React.Fragment`."),br(null))}}function ea(s,h,D){var O=m(s);if(!O){var X="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(X+=" 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 Oe=Ei(h);Oe?X+=Oe:X+=ul();var ge;s===null?ge="null":en(s)?ge="array":s!==void 0&&s.$$typeof===we?(ge="<"+(pe(s.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):ge=typeof s,W("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ge,X)}var Ie=Ne.apply(this,arguments);if(Ie==null)return Ie;if(O)for(var vt=2;vt<arguments.length;vt++)Zt(arguments[vt],s);return s===se?ka(Ie):Iu(Ie),Ie}var Va=!1;function lf(s){var h=ea.bind(null,s);return h.type=s,Va||(Va=!0,me("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(h,"type",{enumerable:!1,get:function(){return me("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),h}function sl(s,h,D){for(var O=Nt.apply(this,arguments),X=2;X<arguments.length;X++)Zt(arguments[X],O.type);return Iu(O),O}function qu(s,h){var D=nt.transition;nt.transition={};var O=nt.transition;nt.transition._updatedFibers=new Set;try{s()}finally{if(nt.transition=D,D===null&&O._updatedFibers){var X=O._updatedFibers.size;X>10&&me("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 cl=!1,ro=null;function uf(s){if(ro===null)try{var h=("require"+Math.random()).slice(0,7),D=k&&k[h];ro=D.call(k,"timers").setImmediate}catch{ro=function(X){cl===!1&&(cl=!0,typeof MessageChannel>"u"&&W("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 Oe=new MessageChannel;Oe.port1.onmessage=X,Oe.port2.postMessage(void 0)}}return ro(s)}var qr=0,Ci=!1;function fl(s){{var h=qr;qr++,ye.current===null&&(ye.current=[]);var D=ye.isBatchingLegacy,O;try{if(ye.isBatch
* @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.
2025-07-28 02:14:10 +03:00
*/return function(){var k=Zc(),R=Symbol.for("react.element"),Ee=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),G=Symbol.for("react.context"),de=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),gt=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),Ve=Symbol.iterator,Ge="@@iterator";function Y(c){if(c===null||typeof c!="object")return null;var m=Ve&&c[Ve]||c[Ge];return typeof m=="function"?m:null}var St=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function it(c){{for(var m=arguments.length,g=new Array(m>1?m-1:0),E=1;E<m;E++)g[E-1]=arguments[E];_e("error",c,g)}}function _e(c,m,g){{var E=St.ReactDebugCurrentFrame,T=E.getStackAddendum();T!==""&&(m+="%s",g=g.concat([T]));var M=g.map(function(L){return String(L)});M.unshift("Warning: "+m),Function.prototype.apply.call(console[c],console,M)}}var nt=!1,ye=!1,j=!1,Q=!1,Ot=!1,bt;bt=Symbol.for("react.module.reference");function lt(c){return!!(typeof c=="string"||typeof c=="function"||c===we||c===se||Ot||c===xe||c===te||c===gt||Q||c===J||nt||ye||j||typeof c=="object"&&c!==null&&(c.$$typeof===Me||c.$$typeof===le||c.$$typeof===d||c.$$typeof===G||c.$$typeof===de||c.$$typeof===bt||c.getModuleId!==void 0))}function Rt(c,m,g){var E=c.displayName;if(E)return E;var T=m.displayName||m.name||"";return T!==""?g+"("+T+")":g}function Te(c){return c.displayName||"Context"}function q(c){if(c==null)return null;if(typeof c.tag=="number"&&it("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case we:return"Fragment";case Ee:return"Portal";case se:return"Profiler";case xe:return"StrictMode";case te:return"Suspense";case gt:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case G:var m=c;return Te(m)+".Consumer";case d:var g=c;return Te(g._context)+".Provider";case de:return Rt(c,c.render,"ForwardRef");case le:var E=c.displayName||null;return E!==null?E:q(c.type)||"Memo";case Me:{var T=c,M=T._payload,L=T._init;try{return q(L(M))}catch{return null}}}return null}var Je=Object.assign,re=0,me,W,I,ve,dt,kt,ut;function Kt(){}Kt.__reactDisabledLog=!0;function Mt(){{if(re===0){me=console.log,W=console.info,I=console.warn,ve=console.error,dt=console.group,kt=console.groupCollapsed,ut=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Kt,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}re++}}function Ye(){{if(re--,re===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},c,{value:me}),info:Je({},c,{value:W}),warn:Je({},c,{value:I}),error:Je({},c,{value:ve}),group:Je({},c,{value:dt}),groupCollapsed:Je({},c,{value:kt}),groupEnd:Je({},c,{value:ut})})}re<0&&it("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var je=St.ReactCurrentDispatcher,ze;function dn(c,m,g){{if(ze===void 0)try{throw Error()}catch(T){var E=T.stack.trim().match(/\n( *(at )?)/);ze=E&&E[1]||""}return`
`+ze+c}}var Ze=!1,Yt;{var yt=typeof WeakMap=="function"?WeakMap:Map;Yt=new yt}function at(c,m){if(!c||Ze)return"";{var g=Yt.get(c);if(g!==void 0)return g}var E;Ze=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=je.current,je.current=null,Mt();try{if(m){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(Bt){E=Bt}Reflect.construct(c,[],L)}else{try{L.call()}catch(Bt){E=Bt}c.call(L.prototype)}}else{try{throw Error()}catch(Bt){E=Bt}c()}}catch(Bt){if(Bt&&E&&typeof Bt.stack=="string"){for(var z=Bt.stack.split(`
2025-07-28 02:13:24 +03:00
`),Ue=E.stack.split(`
2025-07-28 02:14:10 +03:00
`),B=z.length-1,Ce=Ue.length-1;B>=1&&Ce>=0&&z[B]!==Ue[Ce];)Ce--;for(;B>=1&&Ce>=0;B--,Ce--)if(z[B]!==Ue[Ce]){if(B!==1||Ce!==1)do if(B--,Ce--,Ce<0||z[B]!==Ue[Ce]){var et=`
`+z[B].replace(" at new "," at ");return c.displayName&&et.includes("<anonymous>")&&(et=et.replace("<anonymous>",c.displayName)),typeof c=="function"&&Yt.set(c,et),et}while(B>=1&&Ce>=0);break}}}finally{Ze=!1,je.current=M,Ye(),Error.prepareStackTrace=T}var rt=c?c.displayName||c.name:"",It=rt?dn(rt):"";return typeof c=="function"&&Yt.set(c,It),It}function en(c,m,g){return at(c,!1)}function nn(c){var m=c.prototype;return!!(m&&m.isReactComponent)}function an(c,m,g){if(c==null)return"";if(typeof c=="function")return at(c,nn(c));if(typeof c=="string")return dn(c);switch(c){case te:return dn("Suspense");case gt:return dn("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case de:return en(c.render);case le:return an(c.type,m,g);case Me:{var E=c,T=E._payload,M=E._init;try{return an(M(T),m,g)}catch{}}}return""}var sn=Object.prototype.hasOwnProperty,U={},ne=St.ReactDebugCurrentFrame;function be(c){if(c){var m=c._owner,g=an(c.type,c._source,m?m.type:null);ne.setExtraStackFrame(g)}else ne.setExtraStackFrame(null)}function pe(c,m,g,E,T){{var M=Function.call.bind(sn);for(var L in c)if(M(c,L)){var z=void 0;try{if(typeof c[L]!="function"){var Ue=Error((E||"React class")+": "+g+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ue.name="Invariant Violation",Ue}z=c[L](m,L,E,g,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){z=B}z&&!(z instanceof Error)&&(be(T),it("%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).",E||"React class",g,L,typeof z),be(null)),z instanceof Error&&!(z.message in U)&&(U[z.message]=!0,be(T),it("Failed %s type: %s",g,z.message),be(null))}}}var Le=Array.isArray;function Qe(c){return Le(c)}function ot(c){{var m=typeof Symbol=="function"&&Symbol.toStringTag,g=m&&c[Symbol.toStringTag]||c.constructor.name||"Object";return g}}function Fe(c){try{return We(c),!1}catch{return!0}}function We(c){return""+c}function wt(c){if(Fe(c))return it("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ot(c)),We(c)}var vn=St.ReactCurrentOwner,yn={key:!0,ref:!0,__self:!0,__source:!0},gn,K;function fe(c){if(sn.call(c,"ref")){var m=Object.getOwnPropertyDescriptor(c,"ref").get;if(m&&m.isReactWarning)return!1}return c.ref!==void 0}function Ne(c){if(sn.call(c,"key")){var m=Object.getOwnPropertyDescriptor(c,"key").get;if(m&&m.isReactWarning)return!1}return c.key!==void 0}function Ke(c,m){typeof c.ref=="string"&&vn.current}function Nt(c,m){{var g=function(){gn||(gn=!0,it("%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)",m))};g.isReactWarning=!0,Object.defineProperty(c,"key",{get:g,configurable:!0})}}function zt(c,m){{var g=function(){K||(K=!0,it("%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)",m))};g.isReactWarning=!0,Object.defineProperty(c,"ref",{get:g,configurable:!0})}}var $t=function(c,m,g,E,T,M,L){var z={$$typeof:R,type:c,key:m,ref:g,props:L,_owner:M};return z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.defineProperty(z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z};function rn(c,m,g,E,T){{var M,L={},z=null,Ue=null;g!==void 0&&(wt(g),z=""+g),Ne(m)&&(wt(m.key),z=""+m.key),f
2025-07-28 02:14:10 +03:00
Check the render method of \``+c+"`."}return""}}function ua(c){return""}var Br={};function za(c){{var m=bn();if(!m){var g=typeof c=="string"?c:c.displayName||c.name;g&&(m=`
2025-07-28 02:14:10 +03:00
Check the top-level render call using <`+g+">.")}return m}}function yr(c,m){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var g=za(m);if(Br[g])return;Br[g]=!0;var E="";c&&c._owner&&c._owner!==Wt.current&&(E=" It was passed a child from "+q(c._owner.type)+"."),Vt(c),it('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',g,E),Vt(null)}}function $r(c,m){{if(typeof c!="object")return;if(Qe(c))for(var g=0;g<c.length;g++){var E=c[g];ya(E)&&yr(E,m)}else if(ya(c))c._store&&(c._store.validated=!0);else if(c){var T=Y(c);if(typeof T=="function"&&T!==c.entries)for(var M=T.call(c),L;!(L=M.next()).done;)ya(L.value)&&yr(L.value,m)}}}function Pr(c){{var m=c.type;if(m==null||typeof m=="string")return;var g;if(typeof m=="function")g=m.propTypes;else if(typeof m=="object"&&(m.$$typeof===de||m.$$typeof===le))g=m.propTypes;else return;if(g){var E=q(m);pe(g,c.props,"prop",E,c)}else if(m.PropTypes!==void 0&&!tr){tr=!0;var T=q(m);it("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&it("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ga(c){{for(var m=Object.keys(c.props),g=0;g<m.length;g++){var E=m[g];if(E!=="children"&&E!=="key"){Vt(c),it("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),Vt(null);break}}c.ref!==null&&(Vt(c),it("Invalid attribute `ref` supplied to `React.Fragment`."),Vt(null))}}var _n={};function kn(c,m,g,E,T,M){{var L=lt(c);if(!L){var z="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(z+=" 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=ua();Ue?z+=Ue:z+=bn();var B;c===null?B="null":Qe(c)?B="array":c!==void 0&&c.$$typeof===R?(B="<"+(q(c.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):B=typeof c,it("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,z)}var Ce=rn(c,m,g,T,M);if(Ce==null)return Ce;if(L){var et=m.children;if(et!==void 0)if(E)if(Qe(et)){for(var rt=0;rt<et.length;rt++)$r(et[rt],c);Object.freeze&&Object.freeze(et)}else it("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 $r(et,c)}if(sn.call(m,"key")){var It=q(c),Bt=Object.keys(m).filter(function(Fa){return Fa!=="key"}),Be=Bt.length>0?"{key: someKey, "+Bt.join(": ..., ")+": ...}":"{key: someKey}";if(!_n[It+Be]){var on=Bt.length>0?"{"+Bt.join(": ..., ")+": ...}":"{}";it(`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 02:14:10 +03:00
<%s key={someKey} {...props} />`,Be,It,on,It),_n[It+Be]=!0}}return c===we?ga(Ce):Pr(Ce),Ce}}function Da(c,m,g){return kn(c,m,g,!0)}function gr(c,m,g){return kn(c,m,g,!1)}var y=gr,F=Da;rl.Fragment=we,rl.jsx=y,rl.jsxs=F}(),rl}dm.exports=H0();var p=dm.exports,hm={exports:{}},Jc={exports:{}},ef={},ym;function z0(){return ym||(ym=1,function(k){/**
* @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.
2025-07-28 02:14:10 +03:00
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var R=!1,Ee=5;function we(K,fe){var Ne=K.length;K.push(fe),d(K,fe,Ne)}function xe(K){return K.length===0?null:K[0]}function se(K){if(K.length===0)return null;var fe=K[0],Ne=K.pop();return Ne!==fe&&(K[0]=Ne,G(K,Ne,0)),fe}function d(K,fe,Ne){for(var Ke=Ne;Ke>0;){var Nt=Ke-1>>>1,zt=K[Nt];if(de(zt,fe)>0)K[Nt]=fe,K[Ke]=zt,Ke=Nt;else return}}function G(K,fe,Ne){for(var Ke=Ne,Nt=K.length,zt=Nt>>>1;Ke<zt;){var $t=(Ke+1)*2-1,rn=K[$t],Wt=$t+1,Ft=K[Wt];if(de(rn,fe)<0)Wt<Nt&&de(Ft,rn)<0?(K[Ke]=Ft,K[Wt]=fe,Ke=Wt):(K[Ke]=rn,K[$t]=fe,Ke=$t);else if(Wt<Nt&&de(Ft,fe)<0)K[Ke]=Ft,K[Wt]=fe,Ke=Wt;else return}}function de(K,fe){var Ne=K.sortIndex-fe.sortIndex;return Ne!==0?Ne:K.id-fe.id}var te=1,gt=2,le=3,Me=4,J=5;function Ve(K,fe){}var Ge=typeof performance=="object"&&typeof performance.now=="function";if(Ge){var Y=performance;k.unstable_now=function(){return Y.now()}}else{var St=Date,it=St.now();k.unstable_now=function(){return St.now()-it}}var _e=1073741823,nt=-1,ye=250,j=5e3,Q=1e4,Ot=_e,bt=[],lt=[],Rt=1,Te=null,q=le,Je=!1,re=!1,me=!1,W=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,ve=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function dt(K){for(var fe=xe(lt);fe!==null;){if(fe.callback===null)se(lt);else if(fe.startTime<=K)se(lt),fe.sortIndex=fe.expirationTime,we(bt,fe);else return;fe=xe(lt)}}function kt(K){if(me=!1,dt(K),!re)if(xe(bt)!==null)re=!0,We(ut);else{var fe=xe(lt);fe!==null&&wt(kt,fe.startTime-K)}}function ut(K,fe){re=!1,me&&(me=!1,vn()),Je=!0;var Ne=q;try{var Ke;if(!R)return Kt(K,fe)}finally{Te=null,q=Ne,Je=!1}}function Kt(K,fe){var Ne=fe;for(dt(Ne),Te=xe(bt);Te!==null&&!(Te.expirationTime>Ne&&(!K||ne()));){var Ke=Te.callback;if(typeof Ke=="function"){Te.callback=null,q=Te.priorityLevel;var Nt=Te.expirationTime<=Ne,zt=Ke(Nt);Ne=k.unstable_now(),typeof zt=="function"?Te.callback=zt:Te===xe(bt)&&se(bt),dt(Ne)}else se(bt);Te=xe(bt)}if(Te!==null)return!0;var $t=xe(lt);return $t!==null&&wt(kt,$t.startTime-Ne),!1}function Mt(K,fe){switch(K){case te:case gt:case le:case Me:case J:break;default:K=le}var Ne=q;q=K;try{return fe()}finally{q=Ne}}function Ye(K){var fe;switch(q){case te:case gt:case le:fe=le;break;default:fe=q;break}var Ne=q;q=fe;try{return K()}finally{q=Ne}}function je(K){var fe=q;return function(){var Ne=q;q=fe;try{return K.apply(this,arguments)}finally{q=Ne}}}function ze(K,fe,Ne){var Ke=k.unstable_now(),Nt;if(typeof Ne=="object"&&Ne!==null){var zt=Ne.delay;typeof zt=="number"&&zt>0?Nt=Ke+zt:Nt=Ke}else Nt=Ke;var $t;switch(K){case te:$t=nt;break;case gt:$t=ye;break;case J:$t=Ot;break;case Me:$t=Q;break;case le:default:$t=j;break}var rn=Nt+$t,Wt={id:Rt++,callback:fe,priorityLevel:K,startTime:Nt,expirationTime:rn,sortIndex:-1};return Nt>Ke?(Wt.sortIndex=Nt,we(lt,Wt),xe(bt)===null&&Wt===xe(lt)&&(me?vn():me=!0,wt(kt,Nt-Ke))):(Wt.sortIndex=rn,we(bt,Wt),!re&&!Je&&(re=!0,We(ut))),Wt}function dn(){}function Ze(){!re&&!Je&&(re=!0,We(ut))}function Yt(){return xe(bt)}function yt(K){K.callback=null}function at(){return q}var en=!1,nn=null,an=-1,sn=Ee,U=-1;function ne(){var K=k.unstable_now()-U;return!(K<sn)}function be(){}function pe(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?sn=Math.floor(1e3/K):sn=Ee}var Le=function(){if(nn!==null){var K=k.unstable_now();U=K;var fe=!0,Ne=!0;try{Ne=nn(fe,K)}finally{Ne?Qe():(en=!1,nn=null)}}else en=!1},Qe;if(typeof ve=="function")Qe=function(){ve(Le)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Fe=ot.port2;ot.port1.onmessage=Le,Qe=function(){Fe.postMessage(null)}}else Qe=function(){W(Le,0)};function We(K){nn=K,en||(en=!0,Qe())}function wt(K,fe){an=W(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.
2025-07-28 02:14:10 +03:00
*/return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var k=Zc(),R=F0(),Ee=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,we=!1;function xe(e){we=e}function se(e){if(!we){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];G("warn",e,n)}}function d(e){if(!we){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];G("error",e,n)}}function G(e,t,n){{var a=Ee.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 de=0,te=1,gt=2,le=3,Me=4,J=5,Ve=6,Ge=7,Y=8,St=9,it=10,_e=11,nt=12,ye=13,j=14,Q=15,Ot=16,bt=17,lt=18,Rt=19,Te=21,q=22,Je=23,re=24,me=25,W=!0,I=!1,ve=!1,dt=!1,kt=!1,ut=!0,Kt=!0,Mt=!0,Ye=!0,je=new Set,ze={},dn={};function Ze(e,t){Yt(e,t),Yt(e+"Capture",t)}function Yt(e,t){ze[e]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ze[e]=t;{var n=e.toLowerCase();dn[n]=e,e==="onDoubleClick"&&(dn.ondblclick=e)}for(var a=0;a<t.length;a++)je.add(t[a])}var yt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",at=Object.prototype.hasOwnProperty;function en(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function nn(e){try{return an(e),!1}catch{return!0}}function an(e){return""+e}function sn(e,t){if(nn(e))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,en(e)),an(e)}function U(e){if(nn(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",en(e)),an(e)}function ne(e,t){if(nn(e))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,en(e)),an(e)}function be(e,t){if(nn(e))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,en(e)),an(e)}function pe(e){if(nn(e))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",en(e)),an(e)}function Le(e){if(nn(e))return d("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.",en(e)),an(e)}var Qe=0,ot=1,Fe=2,We=3,wt=4,vn=5,yn=6,gn=":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=gn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",fe=new RegExp("^["+gn+"]["+K+"]*$"),Ne={},Ke={};function Nt(e){return at.call(Ke,e)?!0:at.call(Ne,e)?!1:fe.test(e)?(Ke[e]=!0,!0):(Ne[e]=!0,d("Invalid attribute name: `%s`",e),!1)}function zt(e,t,n){return t!==null?t.type===Qe:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function $t(e,t,n,a){if(n!==null&&n.type===Qe)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 rn(e,t,n,a){if(t===null||typeof t>"u"||$t(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case We:return!t;case wt:return t===!1;case vn:return isNaN(t);case yn:return isNaN(t)||t<1}return!1}function Wt(e){return Vt.hasOwnProperty(e)?Vt[e]:null}function Ft(e,t,n,a,r,i,o){this.acceptsBooleans=t===Fe||t===We||t===wt,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Vt={},tr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML",
`+cn+e}}var ca=!1,In;{var ar=typeof WeakMap=="function"?WeakMap:Map;In=new ar}function Si(e,t){if(!e||ca)return"";{var n=In.get(e);if(n!==void 0)return n}var a;ca=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=Wr.current,Wr.current=null,_a();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(_){a=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){a=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){a=_}e()}}catch(_){if(_&&a&&typeof _.stack=="string"){for(var l=_.stack.split(`
`),u=a.stack.split(`
2025-07-28 02:13:24 +03:00
`),f=l.length-1,v=u.length-1;f>=1&&v>=0&&l[f]!==u[v];)v--;for(;f>=1&&v>=0;f--,v--)if(l[f]!==u[v]){if(f!==1||v!==1)do if(f--,v--,v<0||l[f]!==u[v]){var S=`
2025-07-28 02:14:10 +03:00
`+l[f].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),typeof e=="function"&&In.set(e,S),S}while(f>=1&&v>=0);break}}}finally{ca=!1,Wr.current=i,bi(),Error.prepareStackTrace=r}var b=e?e.displayName||e.name:"",w=b?ft(b):"";return typeof e=="function"&&In.set(e,w),w}function ao(e,t,n){return Si(e,!0)}function il(e,t,n){return Si(e,!1)}function Yu(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function ol(e,t,n){if(e==null)return"";if(typeof e=="function")return Si(e,Yu(e));if(typeof e=="string")return ft(e);switch(e){case g:return ft("Suspense");case E:return ft("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case m:return il(e.render);case T:return ol(e.type,t,n);case M:{var a=e,r=a._payload,i=a._init;try{return ol(i(r),t,n)}catch{}}}return""}function af(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case J:return ft(e.type);case Ot:return ft("Lazy");case ye:return ft("Suspense");case Rt:return ft("SuspenseList");case de:case gt:case Q:return il(e.type);case _e:return il(e.type.render);case te:return ao(e.type);default:return""}}function Ti(e){try{var t="",n=e;do t+=af(n),n=n.return;while(n);return t}catch(a){return`
Error generating stack: `+a.message+`
2025-07-28 02:14:10 +03:00
`+a.stack}}function Wu(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function ll(e){return e.displayName||"Context"}function Ct(e){if(e==null)return null;if(typeof e.tag=="number"&&d("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 Da:return"Fragment";case kn:return"Portal";case y:return"Profiler";case gr:return"StrictMode";case g:return"Suspense";case E:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c:var t=e;return ll(t)+".Consumer";case F:var n=e;return ll(n._context)+".Provider";case m:return Wu(e,e.render,"ForwardRef");case T:var a=e.displayName||null;return a!==null?a:Ct(e.type)||"Memo";case M:{var r=e,i=r._payload,o=r._init;try{return Ct(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 br(e){return e.displayName||"Context"}function Xe(e){var t=e.tag,n=e.type;switch(t){case re:return"Cache";case St:var a=n;return br(a)+".Consumer";case it:var r=n;return br(r._context)+".Provider";case lt:return"DehydratedFragment";case _e:return rf(n,n.render,"ForwardRef");case Ge:return"Fragment";case J:return n;case Me:return"Portal";case le:return"Root";case Ve:return"Text";case Ot:return Ct(n);case Y:return n===gr?"StrictMode":"Mode";case q:return"Offscreen";case nt:return"Profiler";case Te:return"Scope";case ye:return"Suspense";case Rt:return"SuspenseList";case me:return"TracingMarker";case te:case de:case bt:case gt:case j:case Q:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var ul=Ee.ReactDebugCurrentFrame,Jn=null,Ei=!1;function Ir(){{if(Jn===null)return null;var e=Jn._debugOwner;if(e!==null&&typeof e<"u")return Xe(e)}return null}function of(){return Jn===null?"":Ti(Jn)}function Mn(){ul.getCurrentStack=null,Jn=null,Ei=!1}function Zt(e){ul.getCurrentStack=e===null?null:of,Jn=e,Ei=!1}function Iu(){return Jn}function ka(e){Ei=e}function ea(e){return""+e}function Va(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Le(e),e;default:return""}}var lf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function sl(e,t){lf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||d("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||d("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 qu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cl(e){return e._valueTracker}function ro(e){e._valueTracker=null}function uf(e){var t="";return e&&(qu(e)?t=e.checked?"true":"false":t=e.value),t}function qr(e){var t=qu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Le(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){Le(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){Le(l),a=""+l},stopTracking:function(){ro(e),delete e[t]}};return o}}function Ci(e){cl(e)||(e._valueTracker=qr(e))}function fl(e){if(!e)return!1;var t=cl(e);if(!t)return!0;var n=t.getValue(),a=uf(e);return a!==n?(t.setValue(a),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}v
2025-07-28 02:14:10 +03:00
Check the render method of \``+e+"`.":""}var xi=["value","defaultValue"];function vl(e){{sl("select",e);for(var t=0;t<xi.length;t++){var n=xi[t];if(e[n]!=null){var a=st(e[n]);e.multiple&&!a?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,pn()):!e.multiple&&a&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,pn())}}}}function Tr(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 f=o.hasOwnProperty("$"+r[u].value);r[u].selected!==f&&(r[u].selected=f),f&&a&&(r[u].defaultSelected=!0)}}else{for(var v=ea(Va(n)),S=null,b=0;b<r.length;b++){if(r[b].value===v){r[b].selected=!0,a&&(r[b].defaultSelected=!0);return}S===null&&!r[b].disabled&&(S=r[b])}S!==null&&(S.selected=!0)}}function pl(e,t){return Be({},t,{value:void 0})}function ml(e,t){var n=e;vl(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Jt&&(d("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"),Jt=!0)}function sf(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?Tr(n,!!t.multiple,a,!1):t.defaultValue!=null&&Tr(n,!!t.multiple,t.defaultValue,!0)}function Ku(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?Tr(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?Tr(n,!!t.multiple,t.defaultValue,!0):Tr(n,!!t.multiple,t.multiple?[]:"",!1))}function cf(e,t){var n=e,a=t.value;a!=null&&Tr(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=Be({},t,{value:void 0,defaultValue:void 0,children:ea(n._wrapperState.initialValue)});return a}function km(e,t){var n=e;sl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!_m&&(d("%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",Ir()||"A component"),_m=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){d("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(st(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:Va(a)}}function Mm(e,t){var n=e,a=Va(t.value),r=Va(t.defaultValue);if(a!=null){var i=ea(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=ea(r))}function Lm(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function tS(e,t){Mm(e,t)}var Er="http://www.w3.org/1999/xhtml",nS="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 nS;default:return Er}}function pf(e,t){return e==null||e===Er?vf(t):e===df&&t==="foreignObject"?Er:e}var aS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},Zu,Om=aS(function(e,t){if(e.namespaceURI===df&&!("innerHTML"in e)){Zu=Zu||document.createElement("div"),Zu.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Zu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),fa=1,Cr=3,mn=8,xr=9,mf=11,Ju=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Cr){n.nodeValue=t;return}}e.textContent=t}
* 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
2025-07-28 02:14:10 +03:00
*/function lC(e){if(!yt)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 uC(){Ze("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function Xh(e,t,n,a){Wm(a);var r=xs(t,"onChange");if(r.length>0){var i=new hd("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var Bl=null,$l=null;function sC(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function cC(e){var t=[];Xh(t,$l,e,Sf(e)),Xm(fC,t)}function fC(e){vy(e,0)}function Ss(e){var t=Oo(e);if(fl(t))return e}function dC(e,t){if(e==="change")return t}var Qh=!1;yt&&(Qh=lC("input")&&(!document.documentMode||document.documentMode>9));function vC(e,t){Bl=e,$l=t,Bl.attachEvent("onpropertychange",Zh)}function Kh(){Bl&&(Bl.detachEvent("onpropertychange",Zh),Bl=null,$l=null)}function Zh(e){e.propertyName==="value"&&Ss($l)&&cC(e)}function pC(e,t,n){e==="focusin"?(Kh(),vC(t,n)):e==="focusout"&&Kh()}function mC(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ss($l)}function hC(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function yC(e,t){if(e==="click")return Ss(t)}function gC(e,t){if(e==="input"||e==="change")return Ss(t)}function bC(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Oe(e,"number",e.value)}function SC(e,t,n,a,r,i,o){var l=n?Oo(n):window,u,f;if(sC(l)?u=dC:Gh(l)?Qh?u=gC:(u=mC,f=pC):hC(l)&&(u=yC),u){var v=u(t,n);if(v){Xh(e,v,a,r);return}}f&&f(t,l,n),t==="focusout"&&bC(l)}function TC(){Yt("onMouseEnter",["mouseout","mouseover"]),Yt("onMouseLeave",["mouseout","mouseover"]),Yt("onPointerEnter",["pointerout","pointerover"]),Yt("onPointerLeave",["pointerout","pointerover"])}function EC(e,t,n,a,r,i,o){var l=t==="mouseover"||t==="pointerover",u=t==="mouseout"||t==="pointerout";if(l&&!VS(a)){var f=a.relatedTarget||a.fromElement;if(f&&(Vi(f)||au(f)))return}if(!(!u&&!l)){var v;if(r.window===r)v=r;else{var S=r.ownerDocument;S?v=S.defaultView||S.parentWindow:v=window}var b,w;if(u){var _=a.relatedTarget||a.toElement;if(b=n,w=_?Vi(_):null,w!==null){var N=Oi(w);(w!==N||w.tag!==J&&w.tag!==Ve)&&(w=null)}}else b=null,w=n;if(b!==w){var ae=Hh,De="onMouseLeave",Se="onMouseEnter",ht="mouse";(t==="pointerout"||t==="pointerover")&&(ae=Fh,De="onPointerLeave",Se="onPointerEnter",ht="pointer");var ct=b==null?v:Oo(b),C=w==null?v:Oo(w),A=new ae(De,ht+"leave",b,a,r);A.target=ct,A.relatedTarget=C;var x=null,P=Vi(r);if(P===n){var ce=new ae(Se,ht+"enter",w,a,r);ce.target=C,ce.relatedTarget=ct,x=ce}IC(e,A,x,b,w)}}}function CC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ca=typeof Object.is=="function"?Object.is:CC;function Pl(e,t){if(Ca(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(!at.call(t,i)||!Ca(e[i],t[i]))return!1}return!0}function Jh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xC(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function ey(e,t){for(var n=Jh(e),a=0,r=0;n;){if(n.nodeType===Cr){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Jh(xC(n))}}function RC(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 wC(e,r,i,o,l)}function wC(e,t,n,a,r){var i=0,o=-1,l=-1,u=0,f=0,v=e,S=null;e:for(;;){for(var b=null;v===t&&(n===0||v.nodeType===Cr)&&(o=i+n),v===a&&(r===0||v.nodeType===Cr)&&(l=i+r),v.nodeType===Cr&&(i+=v.nodeValue.length),(b=v.firstChild)!==null;)S=v,v=b;for(;;){if(v===e)break e;if(S===t&&++u===n&&(o=i),S===a&&++f===r&&(l=i),(b=v.nextSibling)!==null)break;v=S,S=v.parentNode}v=b}return o===-1||l===-1?null:{start:o,end:l}}function DC(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelecti
`).replace(XC,"")}function Ms(e,t,n,a){var r=ks(t),i=ks(e);if(i!==r&&(a&&(da||(da=!0,d('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&W))throw new Error("Text content does not match server-rendered HTML.")}function Ty(e){return e.nodeType===xr?e:e.ownerDocument}function QC(){}function Ls(e){e.onclick=QC}function KC(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===Fi)o&&Object.freeze(o),Hm(t,o);else if(i===Gl){var l=o?o[ws]:void 0;l!=null&&Om(t,l)}else if(i===zi)if(typeof o=="string"){var u=e!=="textarea"||o!=="";u&&Ju(t,o)}else typeof o=="number"&&Ju(t,""+o);else i===Rs||i===ti||i===yy||(ze.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&_s(i,o),i==="onScroll"&&Qt("scroll",t)):o!=null&&ga(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===Fi?Hm(e,o):i===Gl?Om(e,o):i===zi?Ju(e,o):ga(e,i,o,a)}}function JC(e,t,n,a){var r,i=Ty(n),o,l=a;if(l===Er&&(l=vf(e)),l===Er){if(r=Ri(e,t),!r&&e!==e.toLowerCase()&&d("<%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 f=u.firstChild;o=u.removeChild(f)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var v=o;t.multiple?v.multiple=!0:t.size&&(v.size=t.size)}}else o=i.createElementNS(l,e);return l===Er&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!at.call(kd,e)&&(kd[e]=!0,d("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 ex(e,t){return Ty(t).createTextNode(e)}function tx(e,t,n,a){var r=Ri(t,n);Ds(t,n);var i;switch(t){case"dialog":Qt("cancel",e),Qt("close",e),i=n;break;case"iframe":case"object":case"embed":Qt("load",e),i=n;break;case"video":case"audio":for(var o=0;o<Wl.length;o++)Qt(Wl[o],e);i=n;break;case"source":Qt("error",e),i=n;break;case"img":case"image":case"link":Qt("error",e),Qt("load",e),i=n;break;case"details":Qt("toggle",e),i=n;break;case"input":Qu(e,n),i=dl(e,n),Qt("invalid",e);break;case"option":At(e,n),i=n;break;case"select":ml(e,n),i=pl(e,n),Qt("invalid",e);break;case"textarea":km(e,n),i=ff(e,n),Qt("invalid",e);break;default:i=n}switch(gf(t,i),KC(t,e,a,i,r),t){case"input":Ci(e),D(e,n,!1);break;case"textarea":Ci(e),Lm(e);break;case"option":qt(e,n);break;case"select":sf(e,n);break;default:typeof i.onClick=="function"&&Ls(e);break}}function nx(e,t,n,a,r){Ds(t,a);var i=null,o,l;switch(t){case"input":o=dl(e,n),l=dl(e,a),i=[];break;case"select":o=pl(e,n),l=pl(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"&&Ls(e);break}gf(t,l);var u,f,v=null;for(u in o)if(!(l.hasOwnProperty(u)||!o.hasOwnProperty(u)||o[u]==null))if(u===Fi){var S=o[u];for(f in S)S.hasOwnProperty(f)&&(v||(v={}),v[f]="")}else u===Gl||u===zi||u===Rs||u===ti||u===yy||(ze.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in l){var b=l[u],w=o!=null?o[u]:void 0;if(!(!l.hasOwnProperty(u)||b===w||b==null&&w==null))if(u===Fi)if(b&&Object.freeze(b),w){for(f in w)w.hasOwnProperty(f)&&(!b||!b.hasOwnProperty(f))&&(v||(v={}),v[f]="");for(f in b)b.hasOwnProperty(f)&&w[f]!==b[f]&&(v||(v={}),v[f]=b[f])}else v||(i||(i=[]),i.push(u,v)),v=b;else if(u===Gl){var _=b?b[ws]:void 0,N=w?w[ws]:void 0;_!=null&&N!==_&&(i=i||[]).push(u,_)}else u===zi?(typeof b=="string"||typeof b=="number")&&(i=i||[]).push(u,""+b):u===Rs||u===ti||(ze.hasOwnProperty(u)?(b!=null&&(typeof b!="function"&&_s(u,b),u==="onScroll"&&Qt("scroll",e)),!i&&w!==b&&(i=[])):(i=i||[]).push(u,b))}return v&&(ES(v,l[Fi]),(i=i||[]).push(Fi,v)),i}function ax(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&s(e,r);var i=Ri(n,a),o=Ri(n,r);switch(ZC(e,t,i,o),n){case"input":h(e,r);break;case"textarea":Mm(e,r);break;case"select":Ku(e,r);break}}function rx(e){{var t=e.toLowerCase();return es.hasOwnProperty(t)&&es[t]||null}}function ix(e,t,n,a,r,i,o){var l,u;switch(l=Ri(t,n),Ds(t,n),t){case"dialog":Qt("cancel
* Move code with side effects to componentDidMount, and set initial state in the constructor.
2025-07-28 02:13:24 +03:00
Please update the following components: %s`,o)}if(a.size>0){var l=Wi(a);d(`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 02:13:24 +03:00
Please update the following components: %s`,l)}if(i.size>0){var u=Wi(i);d(`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 02:14:10 +03:00
Please update the following components: %s`,u)}if(e.size>0){var f=Wi(e);se(`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 02:14:10 +03:00
Please update the following components: %s`,f)}if(n.size>0){var v=Wi(n);se(`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 02:14:10 +03:00
Please update the following components: %s`,v)}if(r.size>0){var S=Wi(r);se(`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 02:14:10 +03:00
Please update the following components: %s`,S)}};var Gs=new Map,qy=new Set;Ia.recordLegacyContextWarning=function(e,t){var n=V1(e);if(n===null){d("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=Gs.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Gs.set(n,a)),a.push(e))}},Ia.flushLegacyContextWarning=function(){Gs.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(Xe(i)||"Component"),qy.add(i.type)});var r=Wi(a);try{Zt(n),d(`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 02:14:10 +03:00
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{Mn()}}})},Ia.discardPendingWarnings=function(){ru=[],iu=[],ou=[],lu=[],uu=[],su=[],Gs=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=Xe(t)||"Component";ov[n]||(ov[n]=!0,d('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function B1(e){return e.prototype&&e.prototype.isReactComponent}function cu(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&ln||ut)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==te)&&!(typeof n.type=="function"&&!B1(n.type))&&n._owner){var r=Xe(e)||"Component";iv[r]||(d('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!==te)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;ne(a,"ref");var f=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===f)return t.ref;var v=function(S){var b=u.refs;S===null?delete b[f]:b[f]=S};return v._stringRef=f,v}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
2025-07-28 02:14:10 +03:00
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Xs(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 Qs(e){{var t=Xe(e)||"Component";if(lv[t])return;lv[t]=!0,d("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,A){if(e){var x=C.deletions;x===null?(C.deletions=[A],C.flags|=wi):x.push(A)}}function n(C,A){if(!e)return null;for(var x=A;x!==null;)t(C,x),x=x.sibling;return null}function a(C,A){for(var x=new Map,P=A;P!==null;)P.key!==null?x.set(P.key,P):x.set(P.index,P),P=P.sibling;return x}function r(C,A){var x=to(C,A);return x.index=0,x.sibling=null,x}function i(C,A,x){if(C.index=x,!e)return C.flags|=Jm,A;var P=C.alternate;if(P!==null){var ce=P.index;return ce<A?(C.flags|=Ln,A):ce}else return C.flags|=Ln,A}function o(C){return e&&C.alternate===null&&(C.flags|=Ln),C}function l(C,A,x,P){if(A===null||A.tag!==Ve){var ce=nm(x,C.mode,P);return ce.return=C,ce}else{var ie=r(A,x);return ie.return=C,ie}}function u(C,A,x,P){var ce=x.type;if(ce===Da)return v(C,A,x.props.children,P,x.key);if(A!==null&&(A.elementType===ce||t0(A,x)||typeof ce=="object"&&ce!==null&&ce.$$typeof===M&&Xy(ce)===A.type)){var ie=r(A,x.props);return ie.ref=cu(C,A,x),ie.return=C,ie._debugSource=x._source,ie._debugOwner=x._owner,ie}var He=tm(x,C.mode,P);return He.ref=cu(C,A,x),He.return=C,He}function f(C,A,x,P){if(A===null||A.tag!==Me||A.stateNode.containerInfo!==x.containerInfo||A.stateNode.implementation!==x.implementation){var ce=am(x,C.mode,P);return ce.return=C,ce}else{var ie=r(A,x.children||[]);return ie.return=C,ie}}function v(C,A,x,P,ce){if(A===null||A.tag!==Ge){var ie=yi(x,C.mode,P,ce);return ie.return=C,ie}else{var He=r(A,x);return He.return=C,He}}function S(C,A,x){if(typeof A=="string"&&A!==""||typeof A=="number"){var P=nm(""+A,C.mode,x);return P.return=C,P}if(typeof A=="object"&&A!==null){switch(A.$$typeof){case _n:{var ce=tm(A,C.mode,x);return ce.ref=cu(C,null,A),ce.return=C,ce}case kn:{var ie=am(A,C.mode,x);return ie.return=C,ie}case M:{var He=A._payload,qe=A._init;return S(C,qe(He),x)}}if(st(A)||Bt(A)){var Ht=yi(A,C.mode,x,null);return Ht.return=C,Ht}Xs(C,A)}return typeof A=="function"&&Qs(C),null}function b(C,A,x,P){var ce=A!==null?A.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return ce!==null?null:l(C,A,""+x,P);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case _n:return x.key===ce?u(C,A,x,P):null;case kn:return x.key===ce?f(C,A,x,P):null;case M:{var ie=x._payload,He=x._init;return b(C,A,He(ie),P)}}if(st(x)||Bt(x))return ce!==null?null:v(C,A,x,P,null);Xs(C,x)}return typeof x=="function"&&Qs(C),null}function w(C,A,x,P,ce){if(typeof P=="string"&&P!==""||typeof P=="number"){var ie=C.get(x)||null;return l(A,ie,""+P,ce)}if(typeof P=="object"&&P!==null){switch(P.$$typeof){case _n:{var He=C.get(P.key===null?x:P.key)||null;return u(A,He,P,ce)}case kn:{var qe=C.get(P.key===null?x:P.key)||null;return f(A,qe,P,ce)}case M:var Ht=P._payload,Tt=P._init;return w(C,A,x,Tt(Ht),ce)}if(st(P)||Bt(P)){var fn=C.get(x)||null;return v(A,fn,P,ce,null)}Xs(A,P)}return typeof P=="function"&&Qs(A),null}function _(C,A,x){{if(typeof C!="object"||C===null)return A;switch(C.$$typeof){case _n:case kn:Gy(C,x);var P=C.key;if(typeof P!="string")break;if(A===null){A=new Set,A.add(P);break}if(!A.has(P)){A.add(P);break}d("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.",P);break;case M:var ce=C._payload,ie=C._init;_(ie(ce),A,x);break}}return A}function N(C,A,x,P){for(var
`,n+=l}d(`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 02:14:10 +03:00
`,t,n)}}}function Qn(){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 02:13:24 +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 d("%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&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
2025-07-28 02:14:10 +03:00
Incoming: %s`,H,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ca(e[n],t[n]))return!1;return!0}function Io(e,t,n,a,r,i){Gi=i,Ut=t,Aa=e!==null?e._debugHookTypes:null,ci=-1,wv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=V,e!==null&&e.memoizedState!==null?ue.current=Og:Aa!==null?ue.current=Lg:ue.current=Mg;var o=n(a,r);if(mu){var l=0;do{if(mu=!1,hu=0,l>=aR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,wv=!1,En=null,Cn=null,t.updateQueue=null,ci=-1,ue.current=Ng,o=n(a,r)}while(mu)}ue.current=Cc,t._debugHookTypes=Aa;var u=En!==null&&En.next!==null;if(Gi=V,Ut=null,En=null,Cn=null,H=null,Aa=null,ci=-1,e!==null&&(e.flags&Rr)!==(t.flags&Rr)&&(e.mode&pt)!==ke&&d("Internal React error: Expected static flag was missing. Please notify the React team."),cc=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function qo(){var e=hu!==0;return hu=0,e}function fg(e,t,n){t.updateQueue=e.updateQueue,(t.mode&ir)!==ke?t.flags&=-50333701:t.flags&=-2053,e.lanes=fs(e.lanes,n)}function dg(){if(ue.current=Cc,cc){for(var e=Ut.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}cc=!1}Gi=V,Ut=null,En=null,Cn=null,Aa=null,ci=-1,H=null,Rg=!1,mu=!1,hu=0}function cr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?Ut.memoizedState=Cn=e:Cn=Cn.next=e,Cn}function ja(){var e;if(En===null){var t=Ut.alternate;t!==null?e=t.memoizedState:e=null}else e=En.next;var n;if(Cn===null?n=Ut.memoizedState:n=Cn.next,n!==null)Cn=n,n=Cn.next,En=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");En=e;var a={memoizedState:En.memoizedState,baseState:En.baseState,baseQueue:En.baseQueue,queue:En.queue,next:null};Cn===null?Ut.memoizedState=Cn=a:Cn=Cn.next=a}return Cn}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=cr(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:V,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=uR.bind(null,Ut,i);return[a.memoizedState,o]}function Mv(e,t,n){var a=ja(),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=En,o=i.baseQueue,l=r.pending;if(l!==null){if(o!==null){var u=o.next,f=l.next;o.next=f,l.next=u}i.baseQueue!==o&&d("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 v=o.next,S=i.baseState,b=null,w=null,_=null,N=v;do{var ae=N.lane;if(Co(Gi,ae)){if(_!==null){var Se={lane:An,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null};_=_.next=Se}if(N.hasEagerState)S=N.eagerState;else{var ht=N.action;S=e(S,ht)}}else{var De={lane:ae,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null};_===null?(w=_=De,b=S):_=_.next=De,Ut.lanes=tt(Ut.lanes,ae),Hu(ae)}N=N.next}while(N!==null&&N!==v);_===null?b=S:_.next=w,Ca(S,a.memoizedState)||Ru(),a.memoizedState=S,a.baseState=b,a.baseQueue=_,r.lastRenderedState=S}var ct=r.interleaved;if(ct!==null){var C=ct;do{var A=C.lane;Ut.lanes=tt(Ut.lanes,A),Hu(A),C=C.next}while(C!==ct)}else o===null&&(r.lanes=V);var x=r.dispatch;return[a.memoizedState,x]}function Lv(e,t,n){var a=ja(),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,f=u;do{var v=f.action;l=e(l,v),f=f.next}while(f!==u);Ca(l,a.memoizedState)||Ru(),a.memoizedState=l,a.baseQueue===null&&(a.baseState=l),r.lastRenderedState=l}return[l,i]}function h_(e,t,n){}function y_(e,t,n){}function Ov(e,t,n){var a=Ut,r=cr(),i,o=zn();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is r
2025-07-28 02:14:10 +03:00
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!Tu.has(t)&&(e.mode&ln)===ke&&(Tu.add(t),d(`%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.
2025-07-28 02:14:10 +03:00
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&d("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),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&d("%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"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ct(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&d("%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"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&d("%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&&d("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"&&!Jv.has(t)&&(Jv.add(t),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ct(t))),typeof a.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&d("%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"||st(l))&&d("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function $g(e,t){t.updater=op,e.stateNode=t,JS(t,e),t._reactInternalInstance=Qv}function Pg(e,t,n){var a=!1,r=xa,i=xa,o=t.contextType;if("contextType"in t){var l=o===null||o!==void 0&&o.$$typeof===c&&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===F?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(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ct(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 02:14:10 +03:00
https://reactjs.org/link/unsafe-component-lifecycles`,ae,De,w!==null?`
2025-07-28 02:13:24 +03:00
`+w:"",_!==null?`
`+_:"",N!==null?`
2025-07-28 02:14:10 +03:00
`+N:""))}}}return a&&Oy(e,r,i),v}function pR(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Xe(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=Xe(e)||"Component";Kv.has(i)||(Kv.add(i),d("%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){vR(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=hn(i);else{var o=No(e,t,!0);r.context=Ao(e,o)}{if(r.state===n){var l=Ct(t)||"Component";np.has(l)||(np.add(l),d("%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&ln&&Ia.recordLegacyContextWarning(e,r),Ia.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")&&(pR(e,r),ic(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var f=xt;f|=Li,(e.mode&ir)!==ke&&(f|=Xr),e.flags|=f}}function mR(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,l=t.contextType,u=xa;if(typeof l=="object"&&l!==null)u=hn(l);else{var f=No(e,t,!0);u=Ao(e,f)}var v=t.getDerivedStateFromProps,S=typeof v=="function"||typeof r.getSnapshotBeforeUpdate=="function";!S&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==u)&&Yg(e,r,n,u),ig();var b=e.memoizedState,w=r.state=b;if(ic(e,n,r,a),w=e.memoizedState,i===n&&b===w&&!Vs()&&!oc()){if(typeof r.componentDidMount=="function"){var _=xt;_|=Li,(e.mode&ir)!==ke&&(_|=Xr),e.flags|=_}return!1}typeof v=="function"&&(ip(e,t,v,n),w=e.memoizedState);var N=oc()||Bg(e,t,i,n,b,w,u);if(N){if(!S&&(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 ae=xt;ae|=Li,(e.mode&ir)!==ke&&(ae|=Xr),e.flags|=ae}}else{if(typeof r.componentDidMount=="function"){var De=xt;De|=Li,(e.mode&ir)!==ke&&(De|=Xr),e.flags|=De}e.memoizedProps=n,e.memoizedState=w}return r.props=n,r.state=w,r.context=u,N}function hR(e,t,n,a,r){var i=t.stateNode;rg(e,t);var o=t.memoizedProps,l=t.type===t.elementType?o:Xa(t.type,o);i.props=l;var u=t.pendingProps,f=i.context,v=n.contextType,S=xa;if(typeof v=="object"&&v!==null)S=hn(v);else{var b=No(t,n,!0);S=Ao(t,b)}var w=n.getDerivedStateFromProps,_=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function";!_&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==u||f!==S)&&Yg(t,i,a,S),ig();var N=t.memoizedState,ae=i.state=N;if(ic(t,a,i,r),ae=t.memoizedState,o===u&&N===ae&&!Vs()&&!oc())return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||N!==e.memoizedState)&&(t.flags|=xt),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||N!==e.memoizedState)&&(t.flags|=ho),!1;typeof w=="function"&&(ip(t,n,w,a),ae=t.memoizedState);var De=oc()||Bg(t,n,l,a,N,ae,S)||ve;return De?(!_&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(type
2025-07-28 02:13:24 +03:00
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var v=Xe(e)||"Anonymous";f="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+v+".")}var S=u+`
`+o+`
2025-07-28 02:14:10 +03:00
`+(""+f);console.error(S)}catch(b){setTimeout(function(){throw b})}}var gR=typeof WeakMap=="function"?WeakMap:Map;function Wg(e,t,n){var a=Ar(Xt,n);a.tag=pv,a.payload={element:null};var r=t.value;return a.callback=function(){cD(r),sp(e,t)},a}function cp(e,t,n){var a=Ar(Xt,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"&&uD(this);var u=t.value,f=t.stack;this.componentDidCatch(u,{componentStack:f!==null?f:""}),typeof r!="function"&&(Sa(e.lanes,$e)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Xe(e)||"Unknown"))}),a}function Ig(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new gR,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=fD.bind(null,e,t,n);$a&&zu(e,n),t.then(i,i)}}function bR(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 SR(e,t){var n=e.tag;if((e.mode&pt)===ke&&(n===de||n===_e||n===Q)){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===ye&&eR(t))return t;t=t.return}while(t!==null);return null}function Gg(e,t,n,a,r){if((e.mode&pt)===ke){if(e===t)e.flags|=Ba;else{if(e.flags|=Dt,n.flags|=kf,n.flags&=-52805,n.tag===te){var i=n.alternate;if(i===null)n.tag=bt;else{var o=Ar(Xt,$e);o.tag=tc,li(n,o,$e)}}n.lanes=tt(n.lanes,$e)}return e}return e.flags|=Ba,e.lanes=r,e}function TR(e,t,n,a,r){if(n.flags|=rs,$a&&zu(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;SR(n),zn()&&n.mode&pt&&Fy();var o=qg(t);if(o!==null){o.flags&=-257,Gg(o,t,n,e,r),o.mode&pt&&Ig(e,i,r),bR(o,e,i);return}else{if(!PT(r)){Ig(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(zn()&&n.mode&pt){Fy();var u=qg(t);if(u!==null){(u.flags&Ba)===Ae&&(u.flags|=Di),Gg(u,t,n,e,r),nv(Xi(a,n));return}}a=Xi(a,n),eD(a);var f=t;do{switch(f.tag){case le:{var v=a;f.flags|=Ba;var S=_l(r);f.lanes=tt(f.lanes,S);var b=Wg(f,v,S);yv(f,b);return}case te:var w=a,_=f.type,N=f.stateNode;if((f.flags&Dt)===Ae&&(typeof _.getDerivedStateFromError=="function"||N!==null&&typeof N.componentDidCatch=="function"&&!qb(N))){f.flags|=Ba;var ae=_l(r);f.lanes=tt(f.lanes,ae);var De=cp(f,w,ae);yv(f,De);return}break}f=f.return}while(f!==null)}function ER(){return null}var Eu=Ee.ReactCurrentOwner,Qa=!1,fp,Cu,dp,vp,pp,Qi,mp,Mc,xu;fp={},Cu={},dp={},vp={},pp={},Qi=!1,mp={},Mc={},xu={};function na(e,t,n,a){e===null?t.child=Ky(t,null,n,a):t.child=zo(t,e.child,n,a)}function CR(e,t,n,a){t.child=zo(t,e.child,null,a),t.child=zo(t,null,n,a)}function Xg(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Ya(i,a,"prop",Ct(n))}var o=n.render,l=t.ref,u,f;Vo(t,r),El(t);{if(Eu.current=t,ka(!0),u=Io(e,t,o,a,l,r),f=qo(),t.mode&ln){Nn(!0);try{u=Io(e,t,o,a,l,r),f=qo()}finally{Nn(!1)}}ka(!1)}return bo(),e!==null&&!Qa?(fg(e,t,r),jr(e,t,r)):(zn()&&f&&Qd(t),t.flags|=mo,na(e,t,u,r),t.child)}function Qg(e,t,n,a,r){if(e===null){var i=n.type;if(_D(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=tl(i),t.tag=Q,t.type=o,gp(t,i),Kg(e,t,o,a,r)}{var l=i.propTypes;if(l&&Ya(l,a,"prop",Ct(i)),n.defaultProps!==void 0){var u=Ct(i)||"Unknown";xu[u]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),xu[u]=!0)}}var f=em(n.type,null,a,t,t.mode,r);return f.ref=t.ref,f.return=t,t.child=f,f}{var v=n.type,S=v.propTypes;S&&Ya(S,a,"prop",Ct(v))}var b=e.child,w=xp(e,r);if(!w){var _=b.memoizedProps,N=n.compare;if(N=N!==null?N:Pl,N(_,a)&&e.ref===t.
2025-07-28 02:14:10 +03:00
Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),pp[r]||(pp[r]=!0,d("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=Ct(t)||"Unknown";xu[o]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),xu[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var l=Ct(t)||"Unknown";vp[l]||(d("%s: Function components do not support getDerivedStateFromProps.",l),vp[l]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=Ct(t)||"Unknown";dp[u]||(d("%s: Function components do not support contextType.",u),dp[u]=!0)}}}var bp={dehydrated:null,treeContext:null,retryLane:An};function Sp(e){return{baseLanes:e,cachePool:ER(),transitions:null}}function NR(e,t){var n=null;return{baseLanes:tt(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function AR(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return Tv(e,vu)}function jR(e,t){return fs(e.childLanes,t)}function ab(e,t,n){var a=t.pendingProps;YD(t)&&(t.flags|=Dt);var r=qa.current,i=!1,o=(t.flags&Dt)!==Ae;if(o||AR(r,e)?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(r=J1(r,cg)),r=$o(r),si(t,r),e===null){tv(t);var l=t.memoizedState;if(l!==null){var u=l.dehydrated;if(u!==null)return VR(t,u)}var f=a.children,v=a.fallback;if(i){var S=UR(t,f,v,n),b=t.child;return b.memoizedState=Sp(n),t.memoizedState=bp,S}else return Tp(t,f)}else{var w=e.memoizedState;if(w!==null){var _=w.dehydrated;if(_!==null)return BR(e,t,o,a,_,w,n)}if(i){var N=a.fallback,ae=a.children,De=zR(e,t,ae,N,n),Se=t.child,ht=e.child.memoizedState;return Se.memoizedState=ht===null?Sp(n):NR(ht,n),Se.childLanes=jR(e,n),t.memoizedState=bp,De}else{var ct=a.children,C=HR(e,t,ct,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 UR(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},l,u;return(r&pt)===ke&&i!==null?(l=i,l.childLanes=V,l.pendingProps=o,e.mode&jt&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0),u=yi(n,r,a,null)):(l=Ep(o,r),u=yi(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,V,null)}function rb(e,t){return to(e,t)}function HR(e,t,n,a){var r=e.child,i=r.sibling,o=rb(r,{mode:"visible",children:n});if((t.mode&pt)===ke&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var l=t.deletions;l===null?(t.deletions=[i],t.flags|=wi):l.push(i)}return t.child=o,o}function zR(e,t,n,a,r){var i=t.mode,o=e.child,l=o.sibling,u={mode:"hidden",children:n},f;if((i&pt)===ke&&t.child!==o){var v=t.child;f=v,f.childLanes=V,f.pendingProps=u,t.mode&jt&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=o.selfBaseDuration,f.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else f=rb(o,u),f.subtreeFlags=o.subtreeFlags&Rr;var S;return l!==null?S=to(l,a):(S=yi(a,i,r,null),S.flags|=Ln),S.return=t,f.return=t,f.sibling=S,t.child=f,S}function Lc(e,t,n,a){a!==null&&nv(a),zo(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=Tp(t,i);return o.flags|=Ln,t.memoizedState=null,o}function FR(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},l=Ep(o,i),u=yi(a,i,r,null);return u.flags|=Ln,l.return=t,u.return=t,l.sibling=u,t.child=l,(t.mode&pt)!==ke&&zo(t,e.child,null,r),u}function VR(e,t,n){return(e.mode&pt)===ke?(d("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=Ai:e.lanes=Ma,null}function BR(e,t,n,a,r,i,o){if(n)if(t.flags&Di){t.flags&=-257;var C=up(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Lc(e,t,o,C)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Dt,null;var A=a.children,x=a.fall
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
2025-07-28 02:14:10 +03:00
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:f=" You returned: "+l,d("%s must not return anything besides a function, which is used for clean-up.%s",u,f)}}}i=i.next}while(i!==r)}}function uw(e,t){if((t.flags&xt)!==Ae)switch(t.tag){case nt:{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 le:var f=u.stateNode;f.passiveEffectDuration+=n;break e;case nt:var v=u.stateNode;v.passiveEffectDuration+=n;break e}u=u.return}break}}}function sw(e,t,n,a){if((n.flags&Tl)!==Ae)switch(n.tag){case de:case _e:case Q:{if(!Bn)if(n.mode&jt)try{vr(),di(Tn|Sn,n)}finally{dr(n)}else di(Tn|Sn,n);break}case te:{var r=n.stateNode;if(n.flags&xt&&!Bn)if(t===null)if(n.type===n.elementType&&!Qi&&(r.props!==n.memoizedProps&&d("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.",Xe(n)||"instance"),r.state!==n.memoizedState&&d("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.",Xe(n)||"instance")),n.mode&jt)try{vr(),r.componentDidMount()}finally{dr(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Xa(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!Qi&&(r.props!==n.memoizedProps&&d("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.",Xe(n)||"instance"),r.state!==n.memoizedState&&d("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.",Xe(n)||"instance")),n.mode&jt)try{vr(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{dr(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;l!==null&&(n.type===n.elementType&&!Qi&&(r.props!==n.memoizedProps&&d("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.",Xe(n)||"instance"),r.state!==n.memoizedState&&d("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.",Xe(n)||"instance")),og(n,l,r));break}case le:{var u=n.updateQueue;if(u!==null){var f=null;if(n.child!==null)switch(n.child.tag){case J:f=n.child.stateNode;break;case te:f=n.child.stateNode;break}og(n,u,f)}break}case J:{var v=n.stateNode;if(t===null&&n.flags&xt){var S=n.type,b=n.memoizedProps;Dx(v,S,b)}break}case Ve:break;case Me:break;case nt:{{var w=n.memoizedProps,_=w.onCommit,N=w.onRender,ae=n.stateNode.effectDuration,De=Ug(),Se=t===null?"mount":"update";jg()&&(Se="nested-update"),typeof N=="function"&&N(n.memoizedProps.id,Se,n.actualDuration,n.treeBaseDuration,n.actualStartTime,De);{typeof _=="function"&&_(n.memoizedProps.id,Se,ae,De),oD(n);var ht=n.return;e:for(;ht!==null;){switch(ht.tag){case le:var ct=ht.stateNode;ct.effectDuration+=ae;break e;case nt:var C=ht.stateNode;C.effectDuration+=ae;break e}ht=ht.return}}}break}case ye:{yw(e,n);break}case Rt:case bt:case Te:case q:case Je:case me: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.")}Bn||n.flags&_i&&Tb(n)}function cw(e){switch(e.tag){case de:case _e:case Q:{if(e.mode&jt)try{vr(),gb(e,e.return)}finally{dr(e)}else gb(e,e.return);break}case te:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aw(e,e.
Error message:
2025-07-28 02:14:10 +03:00
%s`,n)}function fD(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=ra();Sh(e,n),SD(e),aa===e&&Co(Rn,n)&&(wn===ku||wn===jc&&hh(Rn)&&On()-Ap<Ab?Ji(e,V):Hc=tt(Hc,n)),ha(e,r)}function Xb(e,t){t===An&&(t=Ww(e));var n=ra(),a=va(e,t);a!==null&&(kl(a,t,n),ha(a,n))}function dD(e){var t=e.memoizedState,n=An;t!==null&&(n=t.retryLane),Xb(e,n)}function vD(e,t){var n=An,a;switch(e.tag){case ye:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case Rt: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 pD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Bw(e/1960)*1960}function mD(){if(ju>Pw)throw ju=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.");Jo>Yw&&(Jo=0,Vc=null,d("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 hD(){Ia.flushLegacyContextWarning(),Ia.flushPendingUnsafeLifecycleWarnings()}function Qb(e,t){Zt(e),Wc(e,Xr,jw),t&&Wc(e,Of,Uw),Wc(e,Xr,Nw),t&&Wc(e,Of,Aw),Mn()}function Wc(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==Ae?a=a.child:((a.flags&t)!==Ae&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var Ic=null;function Kb(e){{if((mt&Yn)!==xn||!(e.mode&pt))return;var t=e.tag;if(t!==gt&&t!==le&&t!==te&&t!==de&&t!==_e&&t!==j&&t!==Q)return;var n=Xe(e)||"ReactComponent";if(Ic!==null){if(Ic.has(n))return;Ic.add(n)}else Ic=new Set([n]);var a=Jn;try{Zt(e),d("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?Zt(e):Mn()}}}var Yp;{var yD=null;Yp=function(e,t,n){var a=i0(yD,t);try{return cb(e,t,n)}catch(i){if(k1()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(Js(),dg(),hb(e,t),i0(t,a),t.mode&jt&&Iv(t),wf(null,cb,null,e,t,n),KS()){var r=Df();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var Zb=!1,Wp;Wp=new Set;function gD(e){if(Ei&&!lR())switch(e.tag){case de:case _e:case Q:{var t=tn&&Xe(tn)||"Unknown",n=t;if(!Wp.has(n)){Wp.add(n);var a=Xe(e)||"Unknown";d("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 te:{Zb||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Zb=!0);break}}}function zu(e,t){if($a){var n=e.memoizedUpdaters;n.forEach(function(a){Th(e,a,t)})}}var Ip={};function qp(e,t){{var n=er.current;return n!==null?(n.push(t),Ip):lh(e,t)}}function Jb(e){if(e!==Ip)return iT(e)}function e0(){return er.current!==null}function bD(e){{if(e.mode&pt){if(!Lb())return}else if(!Vw()||mt!==xn||e.tag!==de&&e.tag!==_e&&e.tag!==Q)return;if(er.current===null){var t=Jn;try{Zt(e),d(`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 02:14:10 +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`,Xe(e))}finally{t?Zt(e):Mn()}}}}function SD(e){e.tag!==ri&&Lb()&&er.current===null&&d(`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 02:14:10 +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 Fu(e){Hb=e}var Ha=null,el=null,TD=function(e){Ha=e};function tl(e){{if(Ha===null)return e;var t=Ha(e);return t===void 0?e:t.current}}function Gp(e){return tl(e)}function Xp(e){{if(Ha===null)return e;var t=Ha(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=tl(e.render);if(e.render!==n){var a={$$typeof:m,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function t0(e,t){{if(Ha===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 te:{typeof a=="function"&&(r=!0);break}case de:{(typeof a=="function"||i===M)&&(r=!0);break}case _e:{(i===m||i===M)&&(r=!0);break}case j:case Q:{(i===T||i===M)&&(r=!0);break}default:return!1}if(r){var o=Ha(n);if(o!==void 0&&o===Ha(a))return!0}return!1}}function n0(e){{if(Ha===null||typeof WeakSet!="function")return;el===null&&(el=new WeakSet),el.add(e)}}var ED=function(e,t){{if(Ha===null)return;var n=t.staleFamilies,a=t.updatedFamilies;Fr(),zr(function(){Qp(e.current,a,n)})}},CD=function(e,t){{if(e.context!==xa)return;Fr(),zr(function(){Vu(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 de:case Q:case te:u=l;break;case _e:u=l.render;break}if(Ha===null)throw new Error("Expected resolveFamily to be set during hot reload.");var f=!1,v=!1;if(u!==null){var S=Ha(u);S!==void 0&&(n.has(S)?v=!0:t.has(S)&&(o===te?v=!0:f=!0))}if(el!==null&&(el.has(e)||a!==null&&el.has(a))&&(v=!0),v&&(e._debugNeedsRemount=!0),v||f){var b=va(e,$e);b!==null&&Dn(b,e,$e,Xt)}r!==null&&!v&&Qp(r,t,n),i!==null&&Qp(i,t,n)}}var xD=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 de:case Q:case te:l=o;break;case _e:l=o.render;break}var u=!1;l!==null&&t.has(l)&&(u=!0),u?RD(e,n):a!==null&&Kp(a,t,n),r!==null&&Kp(r,t,n)}}function RD(e,t){{var n=wD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case J:t.add(a.stateNode);return;case Me:t.add(a.stateNode.containerInfo);return;case le:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function wD(e,t){for(var n=e,a=!1;;){if(n.tag===J)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 Zp;{Zp=!1;try{var a0=Object.preventExtensions({})}catch{Zp=!0}}function DD(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=Ae,this.subtreeFlags=Ae,this.deletions=null,this.lanes=V,this.childLanes=V,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,!Zp&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ra=function(e,t,n,a){return new DD(e,t,n,a)};function Jp(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function _D(e){return typeof e=="function"&&!Jp(e)&&e.defaultProps===void 0}function kD(e){if(typeof e=="function")return Jp(e)?te:de;if(e!=null){var t=e.$$typeof;if(t===m)return _e;if(t===T)return j}return gt}function to(e,t){var n=e.alternate;n===null?(n=Ra(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._debugHookType
2025-07-28 02:14:10 +03:00
Check the render method of \``+f+"`.")}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 v=Ra(o,n,t,r);return v.elementType=e,v.type=l,v.lanes=i,v._debugOwner=a,v}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 yi(e,t,n,a){var r=Ra(Ge,e,a,t);return r.lanes=n,r}function OD(e,t,n,a){typeof e.id!="string"&&d('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=Ra(nt,e,a,t|jt);return r.elementType=y,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function ND(e,t,n,a){var r=Ra(ye,e,a,t);return r.elementType=g,r.lanes=n,r}function AD(e,t,n,a){var r=Ra(Rt,e,a,t);return r.elementType=E,r.lanes=n,r}function r0(e,t,n,a){var r=Ra(q,e,a,t);r.elementType=Ue,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function nm(e,t,n){var a=Ra(Ve,e,null,t);return a.lanes=n,a}function jD(){var e=Ra(J,null,null,ke);return e.elementType="DELETED",e}function UD(e){var t=Ra(lt,null,null,ke);return t.stateNode=e,t}function am(e,t,n){var a=e.children!==null?e.children:[],r=Ra(Me,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=Ra(gt,null,null,ke)),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 HD(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=An,this.eventTimes=ld(V),this.expirationTimes=ld(Xt),this.pendingLanes=V,this.suspendedLanes=V,this.pingedLanes=V,this.expiredLanes=V,this.mutableReadLanes=V,this.finishedLanes=V,this.entangledLanes=V,this.entanglements=ld(V),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 Ps:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case ri:this._debugRootType=n?"hydrate()":"render()";break}}function o0(e,t,n,a,r,i,o,l,u,f){var v=new HD(e,t,n,l,u),S=LD(t,i);v.current=S,S.stateNode=v;{var b={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};S.memoizedState=b}return hv(S),v}var rm="18.3.1";function zD(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return U(a),{$$typeof:kn,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var im,om;im=!1,om={};function l0(e){if(!e)return xa;var t=po(e),n=S1(t);if(t.tag===te){var a=t.type;if(ur(a))return Ay(t,a,n)}return n}function FD(e,t){{var n=po(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&ln){var i=Xe(n)||"Component";if(!om[i]){om[i]=!0;var o=Jn;try{Zt(r),n.mode&ln?d("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMo
2025-07-28 02:14:10 +03:00
Check the render method of %s.`,Xe(Jn)||"Unknown"));var u=Ar(i,o);u.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),u.callback=a);var f=li(r,u,o);return f!==null&&(Dn(f,r,o,i),rc(f,r,o)),o}function qc(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case J:return t.child.stateNode;default:return t.child.stateNode}}function VD(e){switch(e.tag){case le:{var t=e.stateNode;if(vs(t)){var n=$T(t);Qw(t,n)}break}case ye:{zr(function(){var r=va(e,$e);if(r!==null){var i=ra();Dn(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=GT(n.retryLane,t))}function lm(e,t){c0(e,t);var n=e.alternate;n&&c0(n,t)}function BD(e){if(e.tag===ye){var t=Rl,n=va(e,t);if(n!==null){var a=ra();Dn(n,e,t,a)}lm(e,t)}}function $D(e){if(e.tag===ye){var t=mi(e),n=va(e,t);if(n!==null){var a=ra();Dn(n,e,t,a)}lm(e,t)}}function f0(e){var t=rT(e);return t===null?null:t.stateNode}var d0=function(e){return null};function PD(e){return d0(e)}var v0=function(e){return!1};function YD(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=st(e)?e.slice():Be({},e);return n+1===t.length?(st(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=st(e)?e.slice():Be({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],st(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){se("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){se("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=st(e)?e.slice():Be({},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=Be({},e.memoizedProps);var o=va(e,$e);o!==null&&Dn(o,e,$e,Xt)}},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=Be({},e.memoizedProps);var i=va(e,$e);i!==null&&Dn(i,e,$e,Xt)}},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=Be({},e.memoizedProps);var o=va(e,$e);o!==null&&Dn(o,e,$e,Xt)}},y0=function(e,t,n){e.pendingProps=_0(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=va(e,$e);a!==null&&Dn(a,e,$e,Xt)},g0=function(e,t){e.pendingProps=x0(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=va(e,$e);n!==null&&Dn(n,e,$e,Xt)},b0=function(e,t,n){e.pendingProps=w0(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=va(e,$e);a!==null&&Dn(a,e,$e,Xt)},S0=function(e){var t=va(e,$e);t!==null&&Dn(t,e,$e,Xt)},T0=function(e){d0=e},E0=function(e){v0=e}}function WD(e){var t=rh(e);return t===null?null:t.stateNode}function ID(e){return null}function qD(){return Jn}function GD(e){var t=e.findFiberByHostInstance,n=Ee.ReactCurrentDispatcher;return dT({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||ID,findHostInstancesForRefresh:xD,scheduleRefresh:ED,scheduleRoot:CD,setRefreshHandler:TD,getCurrentFiber:qD,reconcilerVersion:rm})}var k0=typeof reportError=="function"?reportError:function(e){console.error(e)};function sm(e){this._internalRoot=e}Gc.prototype.render=sm.p
let root = createRoot(domContainer);
2025-07-28 02:14:10 +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,Ps,null,n,a,r,i);Us(o.current,e);var l=e.nodeType===mn?e.parentNode:e;return Il(l),new sm(o)}function Gc(e){this._internalRoot=e}function QD(e){e&&fE(e)}Gc.prototype.unstable_scheduleHydration=QD;function KD(e,t,n){if(!Xc(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");M0(e),t===void 0&&d("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 f=s0(t,null,e,Ps,a,i,o,l,u);if(Us(f.current,e),Il(e),r)for(var v=0;v<r.length;v++){var S=r[v];tR(f,S)}return new Gc(f)}function Xc(e){return!!(e&&(e.nodeType===fa||e.nodeType===xr||e.nodeType===mf))}function Bu(e){return!!(e&&(e.nodeType===fa||e.nodeType===xr||e.nodeType===mf||e.nodeType===mn&&e.nodeValue===" react-mount-point-unstable "))}function M0(e){e.nodeType===fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("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."),au(e)&&(e._reactRootContainer?d("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):d("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=Ee.ReactCurrentOwner,L0;L0=function(e){if(e._reactRootContainer&&e.nodeType!==mn){var t=f0(e._reactRootContainer.current);t&&t.parentNode!==e&&d("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&&ni(a));r&&!n&&d("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===fa&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("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===xr?e.documentElement:e.firstChild:null}function O0(){}function JD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var b=qc(o);i.call(b)}}var o=s0(t,a,e,ri,null,!1,!1,"",O0);e._reactRootContainer=o,Us(o.current,e);var l=e.nodeType===mn?e.parentNode:e;return Il(l),zr(),o}else{for(var u;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var f=a;a=function(){var b=qc(v);f.call(b)}}var v=u0(e,ri,null,!1,!1,"",O0);e._reactRootContainer=v,Us(v.current,e);var S=e.nodeType===mn?e.parentNode:e;return Il(S),zr(function(){Vu(t,v,n,a)}),v}}function e_(e,t){e!==null&&typeof e!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Qc(e,t,n,a,r){L0(n),e_(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=JD(n,t,e,r,a);else{if(o=i,typeof r=="function"){var l=r;r=function(){var u=qc(o);l.call(u)}}Vu(t,o,e,r)}return qc(o)}var N0=!1;function t_(e){{N0||(N0=!0,d("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}la.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fm,la.createPortal=o_,la.createRoot=u_,la.findDOMNode=t_,la.flushSync=c_,la.hydrate=n_,la.hydrateRoot=s_,la.render=a_,la.unmountComponentAtNode=i_,la.unstable_batchedUpdates=Bp,la.unstable_renderSubtreeIntoContainer=l_,la.version=rm,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),la}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(k,R){Em.usingClientEntryPoint=!0;try{return Tm.createRoot(k,R)}finally{Em.usingClientEntryPoint=!1}}}const $=k=>{if(isNaN(k))return"00:00:00.000";const R=Math.floor(k/3600),Ee=Math.floor(k%3600/60),we=Math.floor(k%60),xe=Math.round(k%1*1e3),se=String(R).padStart(2,"0"),d=String(Ee).padStart(2,"0"),G=String(we).padStart(2,"0"),de=String(xe).padStart(3,"0");return`${se}:${d}:${G}.${de}`},gi=k=>$(k),$0=k=>$(k),Re={debug:(...k)=>{},error:(...k)=>console.error(...k),warn:(...k)=>console.warn(...k),info:(...k)=>console.info(...k)};var Z=Zc();const P0=({videoRef:k,currentTime:R,duration:Ee,isPlaying:we,isMuted:xe=!1,onPlayPause:se,onSeek:d,onToggleMute:G})=>{var re;const de=Z.useRef(null),[te,gt]=Z.useState(!1),[le,Me]=Z.useState(!1),[J,Ve]=Z.useState(null),[Ge,Y]=Z.useState(!1),St=Z.useRef(!1),[it,_e]=Z.useState({x:0}),[nt,ye]=Z.useState(0),j=typeof window<"u"&&((re=window.MEDIA_DATA)==null?void 0:re.videoUrl)||"/videos/sample-video.mp4";Z.useEffect(()=>{if(gt((()=>{const W=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(W)&&!window.MSStream})()),typeof window<"u"){const W=localStorage.getItem("video_initialized")==="true";Me(W)}},[]),Z.useEffect(()=>{we&&!le&&(Me(!0),typeof window<"u"&&localStorage.setItem("video_initialized","true"))},[we,le]),Z.useEffect(()=>{const me=k.current;if(!me)return;me.setAttribute("playsinline","true"),me.setAttribute("webkit-playsinline","true"),me.setAttribute("x-webkit-airplay","allow");const W=()=>{St.current||(Ve(me.currentTime),typeof window<"u"&&(window.lastSeekedPosition=me.currentTime))},I=()=>{te&&(Me(!0),localStorage.setItem("video_initialized","true"))},ve=()=>{};return me.addEventListener("timeupdate",W),me.addEventListener("play",I),me.addEventListener("pause",ve),()=>{me.removeEventListener("timeupdate",W),me.removeEventListener("play",I),me.removeEventListener("pause",ve)}},[k,te,St]),Z.useEffect(()=>{Ve(R)},[R]);const Q=Ee>0?R/Ee*100:0,Ot=me=>{me.preventDefault(),Y(!0),St.current=!0,bt(me);const W=ve=>{St.current&&bt(ve)},I=()=>{Y(!1),St.current=!1,document.removeEventListener("mousemove",W),document.removeEventListener("mouseup",I)};document.addEventListener("mousemove",W),document.addEventListener("mouseup",I)},bt=me=>{if(!de.current)return;const W=de.current.getBoundingClientRect(),I=Math.max(0,Math.min(1,(me.clientX-W.left)/W.width)),ve=Ee*I;_e({x:me.clientX}),ye(ve),Ve(ve),typeof window<"u"&&(window.lastSeekedPosition=ve),d(ve)},lt=me=>{if(!de.current||!me.touches[0])return;me.preventDefault(),Y(!0),St.current=!0,Rt(me);const W=ve=>{St.current&&Rt(ve)},I=()=>{Y(!1),St.current=!1,document.removeEventListener("touchmove",W),document.removeEventListener("touchend",I),document.removeEventListener("touchcancel",I)};document.addEventListener("touchmove",W,{passive:!1}),document.addEventListener("touchend",I),document.addEventListener("touchcancel",I)},Rt=me=>{if(!de.current)return;const W="touches"in me?me.touches[0]:null;if(!W)return;me.preventDefault();const I=de.current.getBoundingClientRect(),ve=Math.max(0,Math.min(1,(W.clientX-I.left)/I.width)),dt=Ee*ve;_e({x:W.clientX}),ye(dt),Ve(dt),typeof window<"u"&&(window.lastSeekedPosition=dt),d(dt)},Te=me=>{if(!Ge&&de.current){const W=de.current.getBoundingClientRect(),I=(me.clientX-W.left)/W.width,ve=Ee*I;Ve(ve),typeof window<"u"&&(window.lastSeekedPosition=ve),d(ve)}},q=()=>{k.cur
//# sourceMappingURL=chapters-editor.js.map