@elcrm/form 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -57
- package/dist/index.es.js +1982 -4246
- package/dist/index.umd.js +38 -38
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(
|
|
1
|
+
(function(Q,P){typeof exports=="object"&&typeof module<"u"?P(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],P):(Q=typeof globalThis<"u"?globalThis:Q||self,P((Q.elCRM=Q.elCRM||{},Q.elCRM.components={}),Q.React,Q.ReactDOM))})(this,function(Q,P,Yr){"use strict";var Dr=document.createElement("style");Dr.textContent=`@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_txgsc_1;animation-name:_shake_txgsc_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_txgsc_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_txgsc_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_txgsc_79._size-a_txgsc_89 ._w_txgsc_15{width:auto;margin:auto 20px}._modal_txgsc_79._size-s_txgsc_94 ._w_txgsc_15{width:400px}._modal_txgsc_79._size-m_txgsc_98 ._w_txgsc_15{width:500px}._modal_txgsc_79._size-l_txgsc_102 ._w_txgsc_15{width:800px}._modal_txgsc_79._size-x_txgsc_106 ._w_txgsc_15{width:1000px}._modal_txgsc_79._size-f_txgsc_110 ._w_txgsc_15{width:100%;max-width:1200px;min-width:910px}._o_txgsc_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._w_txgsc_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_txgsc_141{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_txgsc_155{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_txgsc_155 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_txgsc_155 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_txgsc_155 li:last-child{border-bottom:0}._l_txgsc_155 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_txgsc_192{padding-right:10px}._x_txgsc_196{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_txgsc_196 svg{width:20px}._x_txgsc_196:hover{opacity:1}._s_txgsc_89{flex:1;overflow-y:scroll}._c_txgsc_214{text-align:center;margin:20px}._f_txgsc_219{padding:0 20px;display:flex;flex-direction:column}._f_txgsc_219 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_txgsc_219 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_txgsc_219._row_txgsc_241 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_txgsc_219._row_txgsc_241 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_txgsc_219._col_txgsc_253 dt{padding-bottom:8px;margin-left:7px}._g_txgsc_258{display:flex;gap:10px;overflow:hidden}._c_txgsc_214{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_txgsc_214:first-child{margin-left:20px}._c_txgsc_214:last-child{margin-right:20px}._c_txgsc_214:hover{opacity:1;background:var(--tinge)}._c_txgsc_214 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_txgsc_214 b{text-align:center;display:block;color:var(--color)}._c_txgsc_214 p{text-align:center;font-size:15px;color:var(--text)}._m_txgsc_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d}._o_z8kzt_9{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_z8kzt_19{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_z8kzt_19 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_z8kzt_19 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:5px 20px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:25px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._l_z8kzt_19 li:hover{font-weight:700}._l_z8kzt_19 li:last-child{border-bottom:0}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 5px 10px;--field-height: 32px;--field-label-color: #84919a}._l_j973s_11{display:flex;flex-direction:column;position:relative}._f_j973s_17{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height)}._t_j973s_28{color:var(--field-label-color);padding-bottom:8px}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(Dr);var Er={exports:{}},yr={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var $r;function Br(){if($r)return yr;$r=1;var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,y){var i,g={},h=null,O=null;y!==void 0&&(h=""+y),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!w.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:d,type:j,key:h,ref:O,props:g,_owner:b.current}}return yr.Fragment=m,yr.jsx=C,yr.jsxs=C,yr}var vr={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
`+
|
|
20
|
-
`),
|
|
21
|
-
`),
|
|
22
|
-
`+
|
|
18
|
+
*/var Fr;function Kr(){return Fr||(Fr=1,process.env.NODE_ENV!=="production"&&function(){var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,A="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[A];return typeof r=="function"?r:null}var T=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Y("error",e,t)}}function Y(e,r,t){{var n=T.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var q=!1,V=!1,D=!1,B=!1,L=!1,z;z=Symbol.for("react.module.reference");function S(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===w||L||e===b||e===y||e===i||B||e===O||q||V||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===z||e.getModuleId!==void 0))}function X(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function J(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&p("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 f:return"Fragment";case m:return"Portal";case w:return"Profiler";case b:return"StrictMode";case y:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return J(r)+".Consumer";case C:var t=e;return J(t._context)+".Provider";case u:return X(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:$(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return $(a(c))}catch{return null}}}return null}var N=Object.assign,H=0,ve,_e,ge,me,be,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Me(){{if(H===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function Ue(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:ve}),info:N({},e,{value:_e}),warn:N({},e,{value:ge}),error:N({},e,{value:me}),group:N({},e,{value:be}),groupCollapsed:N({},e,{value:he}),groupEnd:N({},e,{value:xe})})}H<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=T.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
19
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function we(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(k){n=k}Reflect.construct(e,[],a)}else{try{a.call()}catch(k){n=k}e.call(a.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var o=k.stack.split(`
|
|
20
|
+
`),x=n.stack.split(`
|
|
21
|
+
`),v=o.length-1,_=x.length-1;v>=1&&_>=0&&o[v]!==x[_];)_--;for(;v>=1&&_>=0;v--,_--)if(o[v]!==x[_]){if(v!==1||_!==1)do if(v--,_--,_<0||o[v]!==x[_]){var R=`
|
|
22
|
+
`+o[v].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(v>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var M=e?e.displayName||e.name:"",I=M?ee(M):"";return typeof e=="function"&&re.set(e,I),I}function Be(e,r,t){return we(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return we(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case y:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,je={},Ee=T.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(G);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){o=v}o&&!(o instanceof Error)&&(ne(s),p("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),p("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=T.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:d,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r,s));for(c in r)G.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var v=e.defaultProps;for(c in v)a[c]===void 0&&(a[c]=v[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=T.ReactCurrentOwner,Pe=T.ReactDebugCurrentFrame;function W(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===d}function De(){{if(ce.current){var e=$(ce.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+
|
|
26
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+$(e._owner.type)+"."),W(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),W(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=U(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=$(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=$(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){W(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),W(null);break}}e.ref!==null&&(W(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var Ie={};function ze(e,r,t,n,s,c){{var a=S(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" 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 x=or();x?o+=x:o+=De();var v;e===null?v="null":le(e)?v="array":e!==void 0&&e.$$typeof===d?(v="<"+($(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var M=0;M<R.length;M++)Ne(R[M],e);Object.freeze&&Object.freeze(R)}else p("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 Ne(R,e)}if(G.call(r,"key")){var I=$(e),k=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=k.length>0?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[I+pe]){var pr=k.length>0?"{"+k.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
|
|
27
27
|
let props = %s;
|
|
28
28
|
<%s {...props} />
|
|
29
29
|
React keys must be passed directly to JSX without using spread:
|
|
30
30
|
let props = %s;
|
|
31
|
-
<%s key={someKey} {...props} />`,
|
|
31
|
+
<%s key={someKey} {...props} />`,pe,I,pr,I),Ie[I+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return ze(e,r,t,!0)}function cr(e,r,t){return ze(e,r,t,!1)}var ur=cr,fr=lr;vr.Fragment=f,vr.jsx=ur,vr.jsxs=fr}()),vr}process.env.NODE_ENV==="production"?Er.exports=Br():Er.exports=Kr();var E=Er.exports;function Vr({name:l,value:d,title:m,style:f,className:b}){let w={field:"progress"};return f&&(w.style=f),b&&(w.className=b),E.jsxs("dl",{...w,children:[m&&E.jsx("dt",{children:m}),E.jsx("dd",{})]})}let ye={};ye.KeyDown=l=>{l.key==="Enter"&&l.preventDefault()},ye.PasteOne=l=>{l.preventDefault(),navigator.clipboard.readText().then(d=>{d=d.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,d)}).catch(d=>{})},ye.Paste=(l,d)=>{d.preventDefault(),navigator.clipboard.readText().then(m=>{if(l){let f=d.target.textContent.length;if(f>=l)return;l-=f,m=m.slice(0,l)}window.document.execCommand("insertText",!1,m.replace(/(\r\n|\n|\r)/gm," "))}).catch(m=>{})},ye.Focus=l=>{l.target.textContent.length===0&&(l.target.innerHTML="<br>")},ye.Blur=l=>{l.target.scrollLeft=0,l.target.querySelector("br")!==null&&l.target.querySelector("br").remove()};var Sr={exports:{}},_r={};/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.production.min.js
|
|
34
34
|
*
|
|
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/var
|
|
39
|
+
*/var Nr;function qr(){if(Nr)return _r;Nr=1;var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,y){var i,g={},h=null,O=null;y!==void 0&&(h=""+y),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!w.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:d,type:j,key:h,ref:O,props:g,_owner:b.current}}return _r.Fragment=m,_r.jsx=C,_r.jsxs=C,_r}var hr={};/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-jsx-runtime.development.js
|
|
42
42
|
*
|
|
@@ -44,20 +44,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var
|
|
48
|
-
`+
|
|
49
|
-
`),
|
|
50
|
-
`),
|
|
51
|
-
`+
|
|
47
|
+
*/var Ir;function Jr(){return Ir||(Ir=1,process.env.NODE_ENV!=="production"&&function(){var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,A="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[A];return typeof r=="function"?r:null}var T=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Y("error",e,t)}}function Y(e,r,t){{var n=T.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var q=!1,V=!1,D=!1,B=!1,L=!1,z;z=Symbol.for("react.module.reference");function S(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===w||L||e===b||e===y||e===i||B||e===O||q||V||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===z||e.getModuleId!==void 0))}function X(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function J(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&p("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 f:return"Fragment";case m:return"Portal";case w:return"Profiler";case b:return"StrictMode";case y:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return J(r)+".Consumer";case C:var t=e;return J(t._context)+".Provider";case u:return X(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:$(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return $(a(c))}catch{return null}}}return null}var N=Object.assign,H=0,ve,_e,ge,me,be,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Me(){{if(H===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function Ue(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:ve}),info:N({},e,{value:_e}),warn:N({},e,{value:ge}),error:N({},e,{value:me}),group:N({},e,{value:be}),groupCollapsed:N({},e,{value:he}),groupEnd:N({},e,{value:xe})})}H<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=T.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
48
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function we(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(k){n=k}Reflect.construct(e,[],a)}else{try{a.call()}catch(k){n=k}e.call(a.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var o=k.stack.split(`
|
|
49
|
+
`),x=n.stack.split(`
|
|
50
|
+
`),v=o.length-1,_=x.length-1;v>=1&&_>=0&&o[v]!==x[_];)_--;for(;v>=1&&_>=0;v--,_--)if(o[v]!==x[_]){if(v!==1||_!==1)do if(v--,_--,_<0||o[v]!==x[_]){var R=`
|
|
51
|
+
`+o[v].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(v>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var M=e?e.displayName||e.name:"",I=M?ee(M):"";return typeof e=="function"&&re.set(e,I),I}function Be(e,r,t){return we(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return we(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case y:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,je={},Ee=T.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(G);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){o=v}o&&!(o instanceof Error)&&(ne(s),p("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),p("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=T.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:d,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)G.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var v=e.defaultProps;for(c in v)a[c]===void 0&&(a[c]=v[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=T.ReactCurrentOwner,Pe=T.ReactDebugCurrentFrame;function W(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===d}function De(){{if(ce.current){var e=$(ce.current.type);if(e)return`
|
|
52
52
|
|
|
53
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
53
|
+
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
54
54
|
|
|
55
|
-
Check the top-level render call using <`+
|
|
55
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+$(e._owner.type)+"."),W(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),W(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=U(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=$(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=$(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){W(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),W(null);break}}e.ref!==null&&(W(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var Ie={};function ze(e,r,t,n,s,c){{var a=S(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" 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 x=or();x?o+=x:o+=De();var v;e===null?v="null":le(e)?v="array":e!==void 0&&e.$$typeof===d?(v="<"+($(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var M=0;M<R.length;M++)Ne(R[M],e);Object.freeze&&Object.freeze(R)}else p("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 Ne(R,e)}if(G.call(r,"key")){var I=$(e),k=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=k.length>0?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[I+pe]){var pr=k.length>0?"{"+k.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
|
|
56
56
|
let props = %s;
|
|
57
57
|
<%s {...props} />
|
|
58
58
|
React keys must be passed directly to JSX without using spread:
|
|
59
59
|
let props = %s;
|
|
60
|
-
<%s key={someKey} {...props} />`,fe,H,dt,H),Fe[H+fe]=!0}}return e===c?it(E):ot(E),E}}function _t(e,t,r){return Me(e,t,r,!0)}function st(e,t,r){return Me(e,t,r,!1)}var lt=st,ct=_t;kt.Fragment=c,kt.jsx=lt,kt.jsxs=ct}()),kt}process.env.NODE_ENV==="production"?St.exports=Yt():St.exports=Ht();var Q=St.exports;const qt="_notice_13j98_2",Jt="_error_13j98_11",Zt="_success_13j98_14",Xt="_remark_13j98_17",Vt="_copy_13j98_20",Mt={notice:qt,error:Jt,success:Zt,remark:Xt,copy:Vt,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let $e={};function vt({data:n}){let[u,_]=N.useState("show");N.useEffect(()=>{n.hide&&(setTimeout(function(){_("hide")},1800),setTimeout(function(){$e.del(n.key)},2500))},[n.key]);let c,d;switch(n.type){case"error":c=Q.jsx(Be.error,{}),d="Ошибка:";break;case"success":c=Q.jsx(Be.success,{}),d="Информация:";break;case"copy":c=Q.jsx(Be.success,{}),d="Копирование:";break;case"remark":c=Q.jsx(Be.success,{}),d="Подсказка:";break;default:c=Q.jsx(Be.success,{}),d="Предупреждение:";break}return Q.jsxs("li",{className:Mt[n.type],"data-status":u,children:[c,Q.jsx("b",{children:d}),Q.jsx("p",{children:n.text})]})}function Qt({data:n}){let[u,_]=N.useState("show");return N.useEffect(()=>{n.hide&&(setTimeout(function(){_("hide")},1800),setTimeout(function(){$e.del(n.key)},2500))},[n.key]),Q.jsx("li",{className:"item","data-status":u,children:n.text})}const Be={};Be.error=()=>Q.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[Q.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),Q.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Be.success=()=>Q.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[Q.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),Q.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var pt;(n=>{function u(){let[a,m]=N.useState([]);return $e.set=i=>{m([...a,i])},$e.del=i=>{m(a.filter(v=>v.key!==i))},a.length===0?"":Q.jsx("ul",{className:Mt.notice,children:a.map(i=>i.item)})}n.Init=u;function _(a,m=!0){let i=Date.now(),v={key:i,text:a,hide:m,type:"error"};$e.set({item:Q.jsx(vt,{data:v},i),key:i})}n.Error=_;function c(a,m=!0){let i=Date.now(),v={key:i,text:a,hide:m,type:"success"};$e.set({item:Q.jsx(vt,{data:v},i),key:i})}n.Success=c;function d(a,m=!0){let i=Date.now(),v={key:i,hide:m,text:a};$e.set({item:Q.jsx(Qt,{data:v},i),key:i})}n.Custom=d;function b(a){let m=Date.now(),i={key:m,hide:!0,...a};$e.set({item:Q.jsx(vt,{data:i},m),key:m})}n.Send=b;function x(a,m=!0){let i=Date.now(),v={key:i,text:a,hide:m,type:"remark"};$e.set({item:Q.jsx(vt,{data:v},i),key:i})}n.Remark=x;function w(a,m=!0){let i=Date.now(),v={key:i,text:a,hide:m,type:"copy"};$e.set({item:Q.jsx(vt,{data:v},i),key:i})}n.Copy=w})(pt||(pt={}));function $t({id:n,value:u,onValue:_,name:c,placeholder:d="",title:b="",error:x="",hide:w=!1,edit:a=!0,active:m=!0,after:i="",before:v="",show:h=!0,maxLength:C,onSave:S,className:k="",isCopy:R=!0,isReload:O=!1}){let f=!!(w&&(u===""||u===void 0)),M=T=>{_&&_({value:T.target.textContent.trim(),name:c,reload:O})},$=T=>{C&&T.target.textContent.trim().length>=C&&T.key!=="Backspace"&&T.preventDefault(),T.key==="Enter"&&T.preventDefault()},A=T=>{R&&(T.preventDefault(),navigator.clipboard.writeText(T.target.textContent.trim()).then(function(){pt.Copy("Данные в буфер обмене")},function(U){}))},P=T=>{T.preventDefault(),navigator.clipboard.readText().then(U=>{if(C){let L=T.target.textContent.length;if(L>=C)return;C-=L,U=U.slice(0,C)}window.document.execCommand("insertText",!1,U.replace(/(\r\n|\n|\r)/gm," "))}).catch(U=>{})};if(!(a&&m)&&!h||!(a&&m)&&f)return"";const W={};W.field="input",k&&(W.className=k);const K={};d&&(K.placeholder=d),a&&m&&(K.edit="");const G=T=>{X.Blur(T),S==null||S({value:T.target.textContent.trim(),name:c})};return p.jsxs("dl",{...W,children:[b?p.jsx("dt",{children:b}):"",v,p.jsx("dd",{onPaste:P,onInput:M,onBlur:G,onKeyDown:$,onContextMenu:A,spellCheck:"true",contentEditable:a&&m?X.ContentEditable:"false",suppressContentEditableWarning:!0,...K,children:u}),i,x?p.jsx("em",{children:x}):""]})}function er({onClick:n,onSend:u,name:_,onRef:c}){let[d,b]=N.useState(!1);const x=()=>{if(n)return n();d||(b(!0),u&&u(b))};return p.jsx("button",{ref:c,"data-form":"button",className:d?"btn await":"btn confirm pointer",onClick:x,children:d?"Ожидайте":_})}function tr({value:n,onValue:u,onActive:_,data:c,name:d,view:b,maxLength:x,edit:w=!0,active:a=!0,placeholder:m="Введите сообщение"}){const i=N.useRef({value:n,timerId:null,shift:!1,send:!0}),v=()=>{i.current.value.length>0?i.current.send&&(_(!0),i.current.send=!1,i.current.timerId=setTimeout(()=>{i.current.send=!0},3e3)):_(!1)},h=f=>{i.current.value=f.target.textContent,v()},C=f=>{f.keyCode===16&&(i.current.shift=!0),f.keyCode===13&&!i.current.shift&&(f.preventDefault(),i.current.value.length!==0&&(f.target.textContent="",c&&c(i.current.value),u&&u(i.current.value),i.current.value="",_(!1)))},S=f=>{f.keyCode===16&&(i.current.shift=!1)},k=f=>{f.preventDefault(),navigator.clipboard.readText().then(M=>{if(x){let $=f.target.textContent.length;if($>=x)return;x-=$,M=M.slice(0,x)}window.document.execCommand("insertText",!1,M)}).catch(M=>{})},R=()=>{_(!1)},O={spellCheck:"true"};return m&&(O.placeholder=m),w&&a&&(O.contentEditable=X.ContentEditable),p.jsx("dl",{"data-form":"message",children:p.jsx("dd",{onPaste:k,onInput:h,onKeyUp:S,onKeyDown:C,onBlur:R,...O,suppressContentEditableWarning:!0,children:n})})}function rr(n){let u=()=>n.title?p.jsx("dt",{children:n.title}):"",_=n.edit!==void 0?n.edit:!0,c=n.active!==void 0?n.active:!0,d=n.placeholder!==void 0?n.placeholder:"",b=a=>{n.onValue({value:a.target.textContent,name:n.name})},x=a=>{a.key==="Enter"&&a.preventDefault()},w=a=>{a.preventDefault(),navigator.clipboard.readText().then(m=>{window.document.execCommand("insertText",!1,m)}).catch(m=>{})};return p.jsxs("dl",{"data-form":"input","type-data":"generator",children:[u(),p.jsx("dd",{onPaste:w,onInput:b,onKeyDown:x,contentEditable:_&&c?X.ContentEditable:"false","data-placeholder":d,suppressContentEditableWarning:!0,children:n.value})]})}function nr({value:n,onValue:u,maxLength:_,placeholder:c="",name:d}){let b=(S,k)=>Number(Math.round(S+Math.random()*(k-S))),x=N.useRef(null),w=N.useRef(null),a=b(1e4,99999),m=S=>{S.key!=="Backspace"&&(S.key==="Enter"&&S.preventDefault(),S.target.textContent.length===5&&S.preventDefault(),/\d/.test(S.key)||S.preventDefault())},i=S=>{u({value:Number(S.target.textContent)===a,name:d})},v=S=>{S.preventDefault(),navigator.clipboard.readText().then(k=>{if(_){let R=S.target.textContent.length;if(R>=_)return;_-=R,k=k.slice(0,_)}window.document.execCommand("insertText",!1,k.replace(/(\r\n|\n|\r)/gm," ").replace(/[^0-9]/g,"").substring(0,5))}).catch(k=>{})};N.useEffect(()=>{const S=x.current,k=S.getContext("2d");k.clearRect(0,0,S.width,S.height),k.font="30px brush script mt",k.fillStyle="#eee",k.textAlign="center",k.fillText(a,50,27),w.current.textContent=""},[a]);const h={};h.field="captcha";const C={};return c&&(C.placeholder=c),p.jsxs("dl",{...h,children:[p.jsx("dd",{ref:w,onPaste:v,onInput:i,onBlur:X.Blur,onKeyDown:m,contentEditable:X.ContentEditable,suppressContentEditableWarning:!0,...C}),p.jsx("canvas",{ref:x,width:"100",height:"35"})]})}function ar({className:n,title:u,error:_,edit:c=!0,real:d,onValue:b,empty:x,name:w}){let a={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""},m=k=>{if(k.preventDefault(),!c)return;k.target.textContent=k.target.textContent.slice(-1).replace(/[^+\d]/g,"");let R=window.getSelection(),O=k.target.textContent.length;if(a[k.target.id]=k.target.textContent,a.code=a.n1+""+a.n2+a.n3+a.n4+a.n5+a.n6,R.collapse(k.target.firstChild,1),O===0){k.target.blur(),k.target.focus();return}k.target.nextSibling!=null&&k.target.nextSibling.focus()},i=k=>{if(!c)return k.preventDefault();if(k.key==="Enter"&&k.preventDefault(),k.key==="Backspace"){if(k.preventDefault(),k.target.textContent="",a[k.target.id]="",k.target.previousSibling!=null){let R=k.target.previousSibling.id.slice(1);k.target.previousSibling.textContent="",a["n"+R]="",k.target.previousSibling.focus()}a.code=a.n1+""+a.n2+a.n3+a.n4+a.n5+a.n6}},v=k=>{if(!c)return k.preventDefault();if(d)b&&b({value:a.code,name:w});else if(a.code.length===6&&(k.target.blur(),b&&b({value:a.code,name:w}),x)){a={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""};for(let R=1;R<=6;R++){let O=document.getElementById("n"+R);O&&(O.textContent="")}}},h=k=>{k.target.textContent=""},C=k=>{k.preventDefault(),navigator.clipboard.readText().then(R=>{var $;var O=/\d+/g;let f=($=R.match(O))==null?void 0:$.toString();if(!f)return;let M=f.split("");for(let A=1;A<=M.length;A++){let P=document.getElementById("n"+A);P&&(P.textContent=M[A-1],a["n"+A]=M[A-1])}if(a.code=a.n1+""+a.n2+a.n3+a.n4+a.n5+a.n6,a.code.length===6&&(k.target.blur(),b&&b({value:a.code,name:w}),x)){a={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""};for(let A=1;A<=6;A++){let P=document.getElementById("n"+A);P&&(P.textContent="")}}}).catch(R=>{})};const S={};return S.field="code",n&&(S.className=n),p.jsxs("dl",{...S,children:[u?p.jsx("dt",{children:u}):"",p.jsxs("div",{children:[p.jsx("dd",{id:"n1",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0}),p.jsx("dd",{id:"n2",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0}),p.jsx("dd",{id:"n3",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0}),p.jsx("dd",{id:"n4",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0}),p.jsx("dd",{id:"n5",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0}),p.jsx("dd",{id:"n6",inputMode:"numeric",onKeyDown:i,onKeyUp:v,onFocus:h,onPaste:C,onInput:m,contentEditable:!0})]}),_?p.jsx("em",{children:_}):""]})}function or({id:n,value:u,onValue:_,name:c,placeholder:d="",title:b="",error:x="",hide:w=!1,length:a=6,edit:m=!0,active:i=!0,after:v="",show:h=!0,view:C,onSave:S,className:k=""}){m=m!==void 0?m:!0,i=i!==void 0?i:!0;let[R,O]=N.useState(u),f=$=>{O($),_==null||_({value:$,name:c}),S==null||S({value:$,name:c})};const M={};return M.field="color",k&&(M.className=k),p.jsx(p.Fragment,{children:C==="icon"?p.jsx("i",{"data-icon":"F043"}):p.jsxs("dl",{...M,children:[b&&p.jsx("dt",{children:b}),p.jsx("dd",{children:a>0&&Array.from(Array(a).keys()).map($=>p.jsx("s",{active:(Number($)===Number(R))+"",onClick:()=>f($),style:{backgroundColor:`var(--color-${$})`}},$))}),x&&p.jsx("em",{children:x})]})})}var Rt={exports:{}},ht={};/**
|
|
60
|
+
<%s key={someKey} {...props} />`,pe,I,pr,I),Ie[I+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return ze(e,r,t,!0)}function cr(e,r,t){return ze(e,r,t,!1)}var ur=cr,fr=lr;hr.Fragment=f,hr.jsx=ur,hr.jsxs=fr}()),hr}process.env.NODE_ENV==="production"?Sr.exports=qr():Sr.exports=Jr();var Z=Sr.exports;const Xr="_notice_13j98_2",Hr="_error_13j98_11",Gr="_success_13j98_14",Zr="_remark_13j98_17",Qr="_copy_13j98_20",zr={notice:Xr,error:Hr,success:Gr,remark:Zr,copy:Qr,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let Ae={};function gr({data:l}){let[d,m]=P.useState("show");P.useEffect(()=>{l.hide&&(setTimeout(function(){m("hide")},1800),setTimeout(function(){Ae.del(l.key)},2500))},[l.key]);let f,b;switch(l.type){case"error":f=Z.jsx(We.error,{}),b="Ошибка:";break;case"success":f=Z.jsx(We.success,{}),b="Информация:";break;case"copy":f=Z.jsx(We.success,{}),b="Копирование:";break;case"remark":f=Z.jsx(We.success,{}),b="Подсказка:";break;default:f=Z.jsx(We.success,{}),b="Предупреждение:";break}return Z.jsxs("li",{className:zr[l.type],"data-status":d,children:[f,Z.jsx("b",{children:b}),Z.jsx("p",{children:l.text})]})}function et({data:l}){let[d,m]=P.useState("show");return P.useEffect(()=>{l.hide&&(setTimeout(function(){m("hide")},1800),setTimeout(function(){Ae.del(l.key)},2500))},[l.key]),Z.jsx("li",{className:"item","data-status":d,children:l.text})}const We={};We.error=()=>Z.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[Z.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),Z.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),We.success=()=>Z.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[Z.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),Z.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var Or;(l=>{function d(){let[u,y]=P.useState([]);return Ae.set=i=>{y([...u,i])},Ae.del=i=>{y(u.filter(g=>g.key!==i))},u.length===0?"":Z.jsx("ul",{className:zr.notice,children:u.map(i=>i.item)})}l.Init=d;function m(u,y=!0){let i=Date.now(),g={key:i,text:u,hide:y,type:"error"};Ae.set({item:Z.jsx(gr,{data:g},i),key:i})}l.Error=m;function f(u,y=!0){let i=Date.now(),g={key:i,text:u,hide:y,type:"success"};Ae.set({item:Z.jsx(gr,{data:g},i),key:i})}l.Success=f;function b(u,y=!0){let i=Date.now(),g={key:i,hide:y,text:u};Ae.set({item:Z.jsx(et,{data:g},i),key:i})}l.Custom=b;function w(u){let y=Date.now(),i={key:y,hide:!0,...u};Ae.set({item:Z.jsx(gr,{data:i},y),key:y})}l.Send=w;function C(u,y=!0){let i=Date.now(),g={key:i,text:u,hide:y,type:"remark"};Ae.set({item:Z.jsx(gr,{data:g},i),key:i})}l.Remark=C;function j(u,y=!0){let i=Date.now(),g={key:i,text:u,hide:y,type:"copy"};Ae.set({item:Z.jsx(gr,{data:g},i),key:i})}l.Copy=j})(Or||(Or={}));function rt({id:l,value:d,onValue:m,name:f,placeholder:b="",title:w="",error:C="",hide:j=!1,edit:u=!0,active:y=!0,after:i="",before:g="",show:h=!0,maxLength:O,onSave:F,className:A="",isCopy:U=!0,isReload:T=!1}){let p=!!(j&&(d===""||d===void 0)),Y=S=>{m&&m({value:S.target.textContent.trim(),name:f,reload:T})},q=S=>{O&&S.target.textContent.trim().length>=O&&S.key!=="Backspace"&&S.preventDefault(),S.key==="Enter"&&S.preventDefault()},V=S=>{U&&(S.preventDefault(),navigator.clipboard.writeText(S.target.textContent.trim()).then(function(){Or.Copy("Данные в буфер обмене")},function(X){}))},D=S=>{S.preventDefault(),navigator.clipboard.readText().then(X=>{if(O){let J=S.target.textContent.length;if(J>=O)return;O-=J,X=X.slice(0,O)}window.document.execCommand("insertText",!1,X.replace(/(\r\n|\n|\r)/gm," "))}).catch(X=>{})};if(!(u&&y)&&!h||!(u&&y)&&p)return"";const B={};B.field="input",A&&(B.className=A);const L={};b&&(L.placeholder=b),u&&y&&(L.edit="");const z=S=>{ye.Blur(S),F==null||F({value:S.target.textContent.trim(),name:f})};return E.jsxs("dl",{...B,children:[w?E.jsx("dt",{children:w}):"",g,E.jsx("dd",{onPaste:D,onInput:Y,onBlur:z,onKeyDown:q,onContextMenu:V,spellCheck:"true",contentEditable:u&&y?ye.ContentEditable:"false",suppressContentEditableWarning:!0,...L,children:d}),i,C?E.jsx("em",{children:C}):""]})}var Rr={exports:{}},mr={};/**
|
|
61
61
|
* @license React
|
|
62
62
|
* react-jsx-runtime.production.min.js
|
|
63
63
|
*
|
|
@@ -65,7 +65,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
65
65
|
*
|
|
66
66
|
* This source code is licensed under the MIT license found in the
|
|
67
67
|
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/var
|
|
68
|
+
*/var Ar;function tt(){if(Ar)return mr;Ar=1;var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,y){var i,g={},h=null,O=null;y!==void 0&&(h=""+y),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!w.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:d,type:j,key:h,ref:O,props:g,_owner:b.current}}return mr.Fragment=m,mr.jsx=C,mr.jsxs=C,mr}var xr={};/**
|
|
69
69
|
* @license React
|
|
70
70
|
* react-jsx-runtime.development.js
|
|
71
71
|
*
|
|
@@ -73,20 +73,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the MIT license found in the
|
|
75
75
|
* LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/var
|
|
77
|
-
`+
|
|
78
|
-
`),
|
|
79
|
-
`),
|
|
80
|
-
`+
|
|
76
|
+
*/var Lr;function nt(){return Lr||(Lr=1,process.env.NODE_ENV!=="production"&&function(){var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,A="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[A];return typeof r=="function"?r:null}var T=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Y("error",e,t)}}function Y(e,r,t){{var n=T.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var q=!1,V=!1,D=!1,B=!1,L=!1,z;z=Symbol.for("react.module.reference");function S(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===w||L||e===b||e===y||e===i||B||e===O||q||V||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===z||e.getModuleId!==void 0))}function X(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function J(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&p("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 f:return"Fragment";case m:return"Portal";case w:return"Profiler";case b:return"StrictMode";case y:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return J(r)+".Consumer";case C:var t=e;return J(t._context)+".Provider";case u:return X(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:$(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return $(a(c))}catch{return null}}}return null}var N=Object.assign,H=0,ve,_e,ge,me,be,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Me(){{if(H===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function Ue(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:ve}),info:N({},e,{value:_e}),warn:N({},e,{value:ge}),error:N({},e,{value:me}),group:N({},e,{value:be}),groupCollapsed:N({},e,{value:he}),groupEnd:N({},e,{value:xe})})}H<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=T.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
77
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function we(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(k){n=k}Reflect.construct(e,[],a)}else{try{a.call()}catch(k){n=k}e.call(a.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var o=k.stack.split(`
|
|
78
|
+
`),x=n.stack.split(`
|
|
79
|
+
`),v=o.length-1,_=x.length-1;v>=1&&_>=0&&o[v]!==x[_];)_--;for(;v>=1&&_>=0;v--,_--)if(o[v]!==x[_]){if(v!==1||_!==1)do if(v--,_--,_<0||o[v]!==x[_]){var R=`
|
|
80
|
+
`+o[v].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(v>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var M=e?e.displayName||e.name:"",I=M?ee(M):"";return typeof e=="function"&&re.set(e,I),I}function Be(e,r,t){return we(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return we(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case y:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,je={},Ee=T.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(G);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){o=v}o&&!(o instanceof Error)&&(ne(s),p("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),p("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=T.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:d,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)G.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var v=e.defaultProps;for(c in v)a[c]===void 0&&(a[c]=v[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=T.ReactCurrentOwner,Pe=T.ReactDebugCurrentFrame;function W(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===d}function De(){{if(ce.current){var e=$(ce.current.type);if(e)return`
|
|
81
81
|
|
|
82
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
82
|
+
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
83
83
|
|
|
84
|
-
Check the top-level render call using <`+
|
|
84
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+$(e._owner.type)+"."),W(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),W(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=U(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=$(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=$(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){W(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),W(null);break}}e.ref!==null&&(W(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var Ie={};function ze(e,r,t,n,s,c){{var a=S(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" 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 x=or();x?o+=x:o+=De();var v;e===null?v="null":le(e)?v="array":e!==void 0&&e.$$typeof===d?(v="<"+($(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var M=0;M<R.length;M++)Ne(R[M],e);Object.freeze&&Object.freeze(R)}else p("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 Ne(R,e)}if(G.call(r,"key")){var I=$(e),k=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=k.length>0?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[I+pe]){var pr=k.length>0?"{"+k.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
|
|
85
85
|
let props = %s;
|
|
86
86
|
<%s {...props} />
|
|
87
87
|
React keys must be passed directly to JSX without using spread:
|
|
88
88
|
let props = %s;
|
|
89
|
-
<%s key={someKey} {...props} />`,
|
|
89
|
+
<%s key={someKey} {...props} />`,pe,I,pr,I),Ie[I+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return ze(e,r,t,!0)}function cr(e,r,t){return ze(e,r,t,!1)}var ur=cr,fr=lr;xr.Fragment=f,xr.jsx=ur,xr.jsxs=fr}()),xr}process.env.NODE_ENV==="production"?Rr.exports=tt():Rr.exports=nt();var K=Rr.exports;const ot="_shake_txgsc_1",at="_modal_txgsc_79",it="_w_txgsc_15",st="_o_txgsc_116",lt="_h_txgsc_141",ct="_l_txgsc_155",ut="_t_txgsc_192",ft="_x_txgsc_196",pt="_s_txgsc_89",dt="_c_txgsc_214",yt="_f_txgsc_219",vt="_row_txgsc_241",_t="_col_txgsc_253",gt="_g_txgsc_258",mt="_m_txgsc_79",oe={shake:ot,modal:at,"size-a":"_size-a_txgsc_89",w:it,"size-s":"_size-s_txgsc_94","size-m":"_size-m_txgsc_98","size-l":"_size-l_txgsc_102","size-x":"_size-x_txgsc_106","size-f":"_size-f_txgsc_110",o:st,h:lt,l:ct,t:ut,x:ft,s:pt,c:dt,f:yt,row:vt,col:_t,g:gt,m:mt};function bt({children:l}){return K.jsx("div",{className:oe.l,children:K.jsx("ul",{children:l})})}function ht({children:l}){return K.jsx("div",{className:oe.s,children:l})}function xt({children:l,viev:d="row",className:m}){let f={};return m&&(f.className=m),K.jsx("ul",{className:[oe.f,oe[d],f.className].join(" "),children:l})}function kt({children:l}){return K.jsx("div",{className:oe.c,children:l})}function wt({children:l}){return K.jsx("div",{className:oe.g,children:l})}var Cr={exports:{}},br={};/**
|
|
90
90
|
* @license React
|
|
91
91
|
* react-jsx-runtime.production.min.js
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
94
94
|
*
|
|
95
95
|
* This source code is licensed under the MIT license found in the
|
|
96
96
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/var
|
|
97
|
+
*/var Wr;function jt(){if(Wr)return br;Wr=1;var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,y){var i,g={},h=null,O=null;y!==void 0&&(h=""+y),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!w.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:d,type:j,key:h,ref:O,props:g,_owner:b.current}}return br.Fragment=m,br.jsx=C,br.jsxs=C,br}var kr={};/**
|
|
98
98
|
* @license React
|
|
99
99
|
* react-jsx-runtime.development.js
|
|
100
100
|
*
|
|
@@ -102,17 +102,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
102
102
|
*
|
|
103
103
|
* This source code is licensed under the MIT license found in the
|
|
104
104
|
* LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var
|
|
106
|
-
`+
|
|
107
|
-
`),
|
|
108
|
-
`),
|
|
109
|
-
`+
|
|
105
|
+
*/var Mr;function Et(){return Mr||(Mr=1,process.env.NODE_ENV!=="production"&&function(){var l=P,d=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,A="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[A];return typeof r=="function"?r:null}var T=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Y("error",e,t)}}function Y(e,r,t){{var n=T.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var q=!1,V=!1,D=!1,B=!1,L=!1,z;z=Symbol.for("react.module.reference");function S(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===w||L||e===b||e===y||e===i||B||e===O||q||V||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===z||e.getModuleId!==void 0))}function X(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function J(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&p("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 f:return"Fragment";case m:return"Portal";case w:return"Profiler";case b:return"StrictMode";case y:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return J(r)+".Consumer";case C:var t=e;return J(t._context)+".Provider";case u:return X(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:$(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return $(a(c))}catch{return null}}}return null}var N=Object.assign,H=0,ve,_e,ge,me,be,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Me(){{if(H===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}H++}}function Ue(){{if(H--,H===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:ve}),info:N({},e,{value:_e}),warn:N({},e,{value:ge}),error:N({},e,{value:me}),group:N({},e,{value:be}),groupCollapsed:N({},e,{value:he}),groupEnd:N({},e,{value:xe})})}H<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=T.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
106
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function we(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(k){n=k}Reflect.construct(e,[],a)}else{try{a.call()}catch(k){n=k}e.call(a.prototype)}}else{try{throw Error()}catch(k){n=k}e()}}catch(k){if(k&&n&&typeof k.stack=="string"){for(var o=k.stack.split(`
|
|
107
|
+
`),x=n.stack.split(`
|
|
108
|
+
`),v=o.length-1,_=x.length-1;v>=1&&_>=0&&o[v]!==x[_];)_--;for(;v>=1&&_>=0;v--,_--)if(o[v]!==x[_]){if(v!==1||_!==1)do if(v--,_--,_<0||o[v]!==x[_]){var R=`
|
|
109
|
+
`+o[v].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(v>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var M=e?e.displayName||e.name:"",I=M?ee(M):"";return typeof e=="function"&&re.set(e,I),I}function Be(e,r,t){return we(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return we(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case y:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,je={},Ee=T.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(G);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){o=v}o&&!(o instanceof Error)&&(ne(s),p("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),p("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=T.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(G.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(G.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,p("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:d,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)G.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var v=e.defaultProps;for(c in v)a[c]===void 0&&(a[c]=v[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=T.ReactCurrentOwner,Pe=T.ReactDebugCurrentFrame;function W(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===d}function De(){{if(ce.current){var e=$(ce.current.type);if(e)return`
|
|
110
110
|
|
|
111
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
111
|
+
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
112
112
|
|
|
113
|
-
Check the top-level render call using <`+
|
|
113
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+$(e._owner.type)+"."),W(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),W(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=U(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=$(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=$(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){W(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),W(null);break}}e.ref!==null&&(W(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),W(null))}}var Ie={};function ze(e,r,t,n,s,c){{var a=S(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" 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 x=or();x?o+=x:o+=De();var v;e===null?v="null":le(e)?v="array":e!==void 0&&e.$$typeof===d?(v="<"+($(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var M=0;M<R.length;M++)Ne(R[M],e);Object.freeze&&Object.freeze(R)}else p("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 Ne(R,e)}if(G.call(r,"key")){var I=$(e),k=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=k.length>0?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[I+pe]){var pr=k.length>0?"{"+k.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
|
|
114
114
|
let props = %s;
|
|
115
115
|
<%s {...props} />
|
|
116
116
|
React keys must be passed directly to JSX without using spread:
|
|
117
117
|
let props = %s;
|
|
118
|
-
<%s key={someKey} {...props} />`,fe,H,dt,H),Fe[H+fe]=!0}}return e===c?it(E):ot(E),E}}function _t(e,t,r){return Me(e,t,r,!0)}function st(e,t,r){return Me(e,t,r,!1)}var lt=st,ct=_t;wt.Fragment=c,wt.jsx=lt,wt.jsxs=ct}()),wt}process.env.NODE_ENV==="production"?Tt.exports=Rr():Tt.exports=Tr();var Ot=Tt.exports;const Or="_btn_1k1b3_1",Dr="_confirm_1k1b3_15",Pr="_cancel_1k1b3_20",Ir="_action_1k1b3_25",Nr="_disabled_1k1b3_30",Fr="_m_1k1b3_44",Mr="_l_1k1b3_48",jt={btn:Or,confirm:Dr,cancel:Pr,action:Ir,disabled:Nr,await:"_await_1k1b3_37",m:Fr,l:Mr},$r=({onClick:n,onSend:u,size:_="m",view:c="confirm",children:d,isDisabled:b=!1,className:x,after:w,before:a,label:m,onRef:i,awaitText:v="Ожидайте"})=>{let[h,C]=N.useState(!1);const S=R=>{if(n)return n();h||(u?(C(!0),u(C)):R.preventDefault())};let k={};return(b||h)&&(k.disabled=!0),Ot.jsx("button",{...k,ref:i,className:[jt.btn,h?jt.disabled:jt[c],_&&jt[_],x].filter(R=>R!="").join(" "),onClick:S,children:h?v:Ot.jsxs(Ot.Fragment,{children:[a||""," ",m," ",w||""]})||d})};let Ae={};function Ar({children:n}){return Z.jsx(Z.Fragment,{children:n})}var Ct;(n=>{function u({import_modules:m}){let[i,v]=N.useState([]);return Ae.x=h=>{v(h?i.filter(C=>C.key!==h):[])},N.useEffect(()=>{m&&(Ae.i=m)},[]),Ae.add=(h,C=Date.now())=>{v([...i,{key:C,item:h}])},Z.jsx(Z.Fragment,{children:i.map(h=>h.item)})}n.Init=u;function _(m){return m&&(Ae.i=m),Ae.i}n.Import=_,n.List=wr,n.Scroll=jr,n.Form=Cr,n.Center=Er,n.Column=Sr;function c(m,i,v){Ae.i(`${m}/modal/${i}.tsx`).then(h=>{h.default.Open(v)})}n.Open=c;function d({type:m,name:i,params:v}){let[h,C]=N.useState(null);return N.useEffect(()=>{Ae.i(`${m}/modal/${i}.tsx`).then(S=>{C(S.default.Icon(v))})},[v.id]),Z.jsx(Z.Fragment,{children:h})}n.Icon=d;function b(m,i){Ae.add(Z.jsx(Ar,{children:m},String(Date.now())),i)}n.Add=b;function x(m){Ae.x(m)}n.Close=x;function w(m){if(m.target.classList[0]!=="modal")return;let i=m.target.children[0];i.setAttribute("shake",!0),setTimeout(()=>{i.setAttribute("shake",!1)},1e3)}n.Shake=w;function a({title:m,children:i,button:v,tabs:h,size:C="m",className:S="",shake:k=!0,menu:R}){const[O,f]=N.useState(!0),M=N.useRef(),$=P=>{if(v){if(v.onClick)return P(!1),v.onClick({setOpen:f});if(v.onSend)return v.onSend({setOpen:f,disabled:P})}},A=()=>{if(!k)return f(!1);M.current.setAttribute("shake",!0),setTimeout(()=>{M.current.setAttribute("shake",!1)},1e3)};return O?Z.jsxs("div",{className:`${oe.modal}`,children:[Z.jsx("div",{className:oe.o,onClick:A}),Z.jsxs("div",{className:[oe.w,oe[`s${C}`],S].filter(P=>P!="").join(" "),ref:M,children:[Z.jsxs("div",{className:oe.h,children:[Z.jsx("div",{className:oe.t,children:m}),Z.jsxs("div",{className:oe.m,children:[h&&Z.jsx("nav",{children:h.map((P,W)=>Z.jsx("span",{onClick:P.onClick,className:P.active?"active":"",children:P.name},W))}),R]}),Z.jsx("div",{className:oe.x,onClick:()=>{f(!1)},children:Z.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:Z.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),i,v!==void 0?Z.jsx($r,{label:v.label,onSend:$,className:oe.btn}):""]})]}):""}n.Main=a})(Ct||(Ct={}));function Br({value:n,onValue:u,name:_,placeholder:c="",title:d,error:b,hide:x=!1,edit:w=!0,show:a=!0,active:m=!0,after:i="",view:v,modal:h,module:C,options:S,className:k}){let[R,O]=N.useState(n),f=A=>{if(!(w&&m)||!h)return;let P=h.split(".");Ct.Open(P[0],P[1],{callback:W=>{u&&u({value:W,name:_}),O(W)},onValue:u,options:S,name:_,value:n})};const M={};M.field="input",k&&(M.className=k);const $={};return c&&($.placeholder=c),x?p.jsx(p.Fragment,{}):p.jsxs("dl",{...M,children:[d&&p.jsx("dt",{children:d}),p.jsx("dd",{...$,onClick:f,edit:(w&&m)+"","data-after":i,children:R}),b&&p.jsx("em",{children:b})]})}function Lr({id:n,value:u,onValue:_,name:c,placeholder:d="",title:b="",error:x="",hide:w=!1,edit:a=!0,active:m=!0,after:i="",show:v=!0,maxLength:h,view:C,onSave:S,className:k="",isCopy:R=!0}){let[O,f]=N.useState(!1);O=a?!0:O;let M=T=>{_==null||_({value:T.target.innerText,name:c})},$=T=>{h&&T.target.textContent.trim().length>=h&&T.key!=="Backspace"&&T.preventDefault(),T.key==="Enter"&&T.preventDefault()},A=T=>{R&&(T.preventDefault(),navigator.clipboard.writeText(T.target.textContent.trim()).then(function(){pt.Copy("Данные в буфер обмене")},function(U){}))},P=T=>{T.preventDefault(),navigator.clipboard.readText().then(U=>{if(h){let L=T.target.textContent.length;if(L>=h)return;h-=L,U=U.slice(0,h)}window.document.execCommand("insertText",!1,U.replace(/(\r\n|\n|\r)/gm," "))}).catch(U=>{})};if(w)return p.jsx(p.Fragment,{});if(!(a&&m)&&!v)return"";const W={};W.field="notes",k&&(W.className=k);const K={};d&&(K.placeholder=d),a&&m&&(K.edit=""),O&&(K.open="");const G=T=>{X.Blur(T),S==null||S({value:T.target.textContent.trim(),name:c})};return p.jsxs("dl",{...W,children:[b?p.jsx("dt",{children:b}):"",p.jsx("dd",{onPaste:P,onInput:M,onBlur:G,onKeyDown:$,onContextMenu:A,contentEditable:a&&m?X.ContentEditable:"false",suppressContentEditableWarning:!0,...K,children:u}),i,x?p.jsx("em",{children:x}):""]})}function Ur({onValue:n,onSave:u,active:_,max:c,edit:d,title:b,error:x,show:w,hide:a,value:m,placeholder:i,className:v,maxLength:h,name:C,after:S="",before:k="",view:R}){d=d!==void 0?d:!0,_=_!==void 0?_:!0,a=!!(a&&(m===""||m===void 0))&&!(d&&_),i=i!==void 0?i:"",c=c!==void 0?c:99;let f=!1,M=T=>{n==null||n({value:T.target.textContent,name:C})},$=T=>{if(!(f&&T.which===86)){if(T.which===17||T.which===91)return f=!0;T.key!=="Backspace"&&(T.target.textContent.length===c&&T.preventDefault(),T.key==="Enter"&&T.preventDefault(),isNaN(T.key)&&T.preventDefault())}},A=T=>{if(T.which===17||T.which===91)return f=!1},P=T=>{T.preventDefault(),navigator.clipboard.readText().then(U=>{if(U=U.replace(/(?!^\+|\d)./g,""),h){let L=T.target.textContent.length;if(L>=h)return;h-=L,U=U.slice(0,h)}window.document.execCommand("insertText",!1,""+U)}).catch(U=>{})};const W=T=>{X.Blur(T),u==null||u({value:T.target.textContent,name:C})},K={};K.field="input",v&&(K.className=v);let G={};return d&&_?(G.edit="true",G.contentEditable=X.ContentEditable):G.contentEditable="false",G.inputMode="decimal",i&&(G.placeholder=i),a?p.jsx(p.Fragment,{}):p.jsxs("dl",{...K,children:[b&&p.jsx("dt",{children:b}),k,p.jsx("dd",{...G,onPaste:P,onInput:M,onBlur:W,onKeyDown:$,onKeyUp:A,suppressContentEditableWarning:!0,children:m}),S,x&&p.jsx("em",{children:x})]})}function Wr({value:n,onValue:u,onSave:_,name:c,placeholder:d="",className:b,title:x,error:w,edit:a=!0,active:m=!0,reload:i=!1,native:v=!1,isShow:h=!1,maxLength:C,eyes:S=[],after:k=""}){const[R,O]=N.useState(h);let f=K=>{u&&u({value:K.target.textContent,name:c,reload:i})},M=K=>{K.key==="Enter"&&K.preventDefault()},$=K=>{K.preventDefault(),navigator.clipboard.readText().then(G=>{if(C){let T=K.target.textContent.length;if(T>=C)return;C-=T,G=G.slice(0,C)}window.document.execCommand("insertText",!1,G.replace(/(\r\n|\n|\r)/gm," "))}).catch(G=>{})},A=K=>{X.Blur(K),_==null||_({value:K.target.textContent.trim(),name:c})};const P={};P.field="password",R&&(P.show=""),b&&(P.className=b);const W={};return d&&(W.placeholder=d),v?"":p.jsxs("dl",{...P,children:[x?p.jsx("dt",{children:x}):"",p.jsx("dd",{onPaste:$,onInput:f,onKeyDown:M,onBlur:A,contentEditable:a&&m?X.ContentEditable:"false",...W,suppressContentEditableWarning:!0,children:n}),S[0]&&p.jsx("i",{onClick:()=>O(!R),children:R?S[1]:S[0]}),k,w?p.jsx("em",{children:w}):""]})}const Dt={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function Kr({value:n,onValue:u,onSave:_,name:c,placeholder:d="",title:b="",error:x="",hide:w=!1,edit:a=!0,active:m=!0,after:i="",show:v=!0,view:h,className:C=""}){a=a!==void 0?a:!0,m=m!==void 0?m:!0,w=!!(w&&(n===""||n===void 0))&&!(a&&m),N.useRef(null);let k="+_(___) ___-__-__",R=!0,O=0,f=(L,I)=>{let z=document.createRange(),Y=window.getSelection();z.setStart(I.childNodes[0],L),z.collapse(!0),Y.removeAllRanges(),Y.addRange(z),I.focus()},M=L=>{let I=A(L.target.textContent);L.target.textContent=I.q,I.i=I.q.lastIndexOf(I.v.substr(-1)),I.i<I.q.length&&I.q!==k?I.i++:I.i=I.q.indexOf("_"),f(I.i,L.target),u&&u({value:I.q.replace(/\D/g,""),name:c})},$=L=>{L.preventDefault(),navigator.clipboard.readText().then(I=>{window.document.execCommand("insertText",!1,I)}).catch(I=>{})},A=L=>{let I=0,z="",Y=L.replace(/\D/g,"");Y===""&&(R=!0);let me=Y.split(""),ee="";me.forEach(ye=>{R&&(ee+=ye,Dt[ee]!==void 0&&R?(R=!1,k=Dt[ee].mask.replace(new RegExp("[0-9]","g"),"_"),z=Dt[ee].code):(R&&(O=(""+ee).length,k=`+${ee}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),z=""),O>(""+ee).length&&(R=!0,k=`+${ee}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),z="")))});let pe=k.replace(/\D/g,"");return pe.length>=Y.length&&(Y=pe),{q:k.replace(/[_\d]/g,function(){return Y.charAt(I++)||"_"}),i:I,v:Y,f:z}},P=L=>{L.preventDefault(),navigator.clipboard.writeText(L.target.textContent.replace(/\D/g,"")).then(function(){pt.Copy("Данные в буфер обмене")},function(I){})},W=A(n),K=L=>{L.key==="Enter"&&L.preventDefault()};const G=L=>{X.Blur(L),_&&_({value:L.target.textContent.replace(/\D/g,""),name:c})},T={};T.field="input",C&&(T.className=C);let U={};return a&&m?(U.edit="true",U.contentEditable=X.ContentEditable):U.contentEditable="false",d&&(U.placeholder=d),i&&(U.after=i),w?p.jsx(p.Fragment,{}):p.jsxs("dl",{...T,children:[b&&p.jsx("dt",{children:b}),p.jsx("dd",{...U,onPaste:$,onInput:M,onKeyDown:K,onContextMenu:P,onBlur:G,suppressContentEditableWarning:!0,children:W.q}),x&&p.jsx("em",{children:x})]})}const zr=({className:n,title:u,timeout:_=1e3,placeholder:c,edit:d=!0,active:b=!0,value:x,onValue:w,maxLength:a=20})=>{let m=0,i=N.useRef({textContent:x}),v=()=>{i.current.textContent.trim().length===0&&(i.current.textContent=""),clearTimeout(m),m=setTimeout(()=>{var f;return w((f=i.current)==null?void 0:f.textContent)},_)},h=()=>{i.current&&(i.current.textContent=""),w("")},C=f=>{a&&f.target.textContent.trim().length>=a&&f.key!=="Backspace"&&f.preventDefault(),f.key==="Enter"&&f.preventDefault()},S=f=>{f.preventDefault(),navigator.clipboard.readText().then(M=>{if(a){let $=f.target.textContent.length;if($>=a)return;a-=$,M=M.slice(0,a)}window.document.execCommand("insertText",!1,M.replace(/(\r\n|\n|\r)/gm," "))}).catch(M=>{})},k=()=>{i.current.textContent=i.current.textContent.trim()};const R={};R.field="search",n&&(R.className=n);const O={};return c&&(O.placeholder=c),p.jsxs("dl",{...R,children:[u&&p.jsx("dt",{children:u}),p.jsx("dd",{ref:i,onPaste:S,onInput:v,onKeyDown:C,onBlur:k,contentEditable:d&&b?X.ContentEditable:"false",...O,suppressContentEditableWarning:!0,children:x}),p.jsx("svg",{"aria-label":"icon",onClick:h,viewBox:"0 0 24 24",children:p.jsx("path",{d:"M10.364 3a7.364 7.364 0 1 0 0 14.727 7.364 7.364 0 0 0 0-14.727v0ZM15.857 15.86 21 21.001"})}),p.jsx("svg",{"action-type":"delete",onClick:h,viewBox:"0 0 24 24",children:p.jsx("path",{d:"M17 6L6 17M6 6L17 17"})})]})};function Gr({title:n,error:u,edit:_=!0,active:c=!0,hide:d,value:b=0,onValue:x,options:w,placeholder:a="",className:m,name:i,after:v,view:h,order:C,isReload:S=!1}){var K,G;const k=N.useRef(),[R,O]=N.useState(b),[f,M]=N.useState(w);N.useEffect(()=>{O(b),M(w)},[b,w]),d=!!(d&&(b===0||((K=f==null?void 0:f[b])==null?void 0:K.n)===void 0))&&!(_&&c);let A=T=>{Object.keys(f||{}).length!==0&&_&&c&&T.target.getBoundingClientRect()},P={field:"select",className:m},W={onClick:A};return a&&(W.placeholder=a),v&&(W.after=v),_&&c&&(W.edit=""),d?"":p.jsxs("dl",{...P,children:[n&&p.jsx("dt",{children:n}),p.jsx("dd",{...W,ref:k,children:(G=f==null?void 0:f[R])==null?void 0:G.n}),Object.keys(f||{}).length!==0&&p.jsx("s",{children:p.jsx("svg",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})})}),u&&p.jsx("em",{children:u})]})}function Yr({value:n,onValue:u,name:_,placeholder:c="",title:d="",error:b="",hide:x=!1,edit:w=!0,active:a=!0,after:m="",show:i=!0,view:v,maxLength:h,onSave:C,className:S=""}){let k=!!(x&&(n===""||n===void 0));if(!(w&&a)&&!i||!(w&&a)&&k)return"";let R=A=>{u&&u({value:A.target.innerText,name:_})},O=A=>{C&&C({value:A.target.innerText,name:_})},f=A=>{A.preventDefault(),navigator.clipboard.readText().then(P=>{if(h){let W=A.target.textContent.length;if(W>=h)return;h-=W,P=P.slice(0,h)}window.document.execCommand("insertText",!1,P)}).catch(P=>{})};const M={};M.field="text",S&&(M.className=S);const $={};return c&&($.placeholder=c),p.jsxs("dl",{...M,children:[d&&p.jsx("dt",{children:d}),p.jsx("dd",{onPaste:f,onBlur:O,onInput:R,contentEditable:w&&a?X.ContentEditable:"false",...$,suppressContentEditableWarning:!0,children:n}),b&&p.jsx("em",{children:b})]})}function Hr(n){let u=()=>n.title?p.jsx("dt",{children:n.title}):"",_=()=>n.error?p.jsx("em",{children:n.error}):"",c=n.edit!==void 0?n.edit:!0,d=n.active!==void 0?n.active:!0,x=!!(n.hide&&(n.default===""||n.options[n.default]===void 0))&&!(c&&d),w=n.placeholder!==void 0?n.placeholder:"",[a,m]=N.useState(n.default!==void 0?n.options[n.default]:n.default),i=h=>{c&&d&&h.target.getBoundingClientRect()};const v={};return w&&(v.placeholder=w),x?p.jsx(p.Fragment,{}):p.jsxs("dl",{"data-form":"select",children:[u(),p.jsx("dd",{onClick:i,"data-edit":(c&&d)+"",...v,children:a}),_()]})}function qr({onValue:n,label:u,value:_,title:c,className:d,name:b,text:x,id:w,reload:a}){const[m,i]=N.useState(!!_),v=u||c;N.useEffect(()=>{i(!!_)},[_]);let h=()=>{n&&n({value:m?0:1,name:b,id:w}),i(!m)};const C={};return C.field="check",d&&(C.className=d),p.jsxs("dl",{...C,children:[v?p.jsx("dt",{children:v}):"",p.jsxs("dd",{onClick:h,children:[p.jsx("span",{children:x}),p.jsx("div",{role:"switch","aria-checked":`${m?"true":"false"}`})]})]})}const Jr=({label:n,onValue:u,value:_,name:c,item:d})=>{const[b,x]=N.useState(!!_);N.useEffect(()=>{x(!!_)},[_]);let w=()=>{let a=parseInt(b)===0?1:0;x(a),u({value:a,name:c,key:d,item:d})};return p.jsx("div",{role:"switch",onClick:w,"aria-checked":`${b?"true":"false"}`})},Zr=({onValue:n,value:u,name:_,item:c})=>{const[d,b]=N.useState(!!u);N.useEffect(()=>{b(!!u)},[u]);let x=()=>{let w=d?0:1;b(!!w),n({value:w,name:_,key:c,item:c})};return p.jsx("div",{role:"switch",onClick:x,"aria-checked":`${d?"true":"false"}`})};function Xr({value:n,onValue:u,name:_,placeholder:c="",title:d="",error:b="",hide:x=!1,edit:w=!0,active:a=!0,after:m="",show:i=!0,view:v,max:h=0,onSave:C,className:S="",separator:k=","}){const[R,O]=N.useState(n!==void 0?n.split(k):[]);N.useEffect(()=>{O(n!==void 0?n!==void 0?n.split(k):[]:[])},[n]);let f=()=>{if(h!==0&&R.length>=h)return pt.Error("Слишком много");O([...R,""])},M=U=>{R.splice(U,1),R.length===0&&R.push(""),O([...R]),C!==void 0&&C({value:R.join(k),name:_})},$=!!(x&&(n===""||n===void 0)),A=U=>{};if(!(w&&a)&&!i||!(w&&a)&&$)return"";const P={};P.field="group",S&&(P.className=S);const W=(U,L)=>{X.Blur(U),R[L]=U.target.textContent,C&&C({value:R.join(k),name:_})};let K=(U,L)=>{R[L]=U.target.textContent,u&&u({value:R.join(k),name:_})},G=U=>{U.key==="Enter"&&U.preventDefault()};const T=({data:U})=>h!==0&&U.length>=h?"":p.jsx("i",{onClick:f,children:p.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[p.jsx("path",{d:"M12 5.25v13.5"}),p.jsx("path",{d:"M18.75 12H5.25"})]})});return p.jsxs("dl",{...P,children:[p.jsxs("dt",{children:[d,p.jsx(T,{data:R})]}),p.jsx("dd",{children:R.map((U,L)=>p.jsxs("li",{className:"field_group_item",children:[p.jsx("span",{onInput:I=>K(I,L),edit:"true",name:_,placeholder:c,onPaste:A,contentEditable:w&&a?X.ContentEditable:"false",onKeyDown:G,onBlur:I=>W(I,L),suppressContentEditableWarning:!0,children:R[L]}),p.jsx("i",{onClick:()=>{M(L)},children:p.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[p.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),p.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})})]},L))}),b&&p.jsx("em",{children:b})]})}const Vr=(n,u=",")=>(n=n!==void 0&&n!==""?n.split(u):[],n.filter(_=>_!=="").reduce((_,c)=>(_[c]=!0,_),{}));function Qr({value:n,onValue:u,name:_,placeholder:c="",separator:d=",",title:b,error:x,hide:w=!1,edit:a=!0,active:m=!0,outFormat:i="object",after:v="",modal:h,options:C,className:S}){const[k,R]=N.useState(Vr(n,d)),O=$=>{if(!(a&&m)||!h)return;let A=h.split(".");Ct.Open(A[0],A[1],{callback:P=>{if(u)switch(i){case"array":u({value:Object.keys(P),name:_});break;case"string":u({value:Object.keys(P).filter(W=>P[W]).join(d),name:_});break;default:u({value:P,name:_})}R(Object.fromEntries(Object.entries(P).filter(([W,K])=>K!==!1)))},onValue:u,options:C,name:_,value:k})},f={};f.field="group",S&&(f.className=S);const M={};return c&&(M.placeholder=c),w?p.jsx(p.Fragment,{}):p.jsxs("dl",{...f,children:[p.jsxs("dt",{children:[b,p.jsx("i",{onClick:O,children:p.jsx("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M12 5.25v13.5M18.75 12H5.25"})})})]}),p.jsx("dd",{...M,onClick:O,edit:(a&&m)+"","data-after":v,children:Object.keys(k).map($=>{var A;return p.jsx("div",{className:"field_group_item",children:(A=C[$])==null?void 0:A.label},$)})}),x&&p.jsx("em",{children:x})]})}function Wt({value:n,onValue:u,name:_,placeholder:c="",title:d="",link:b="",error:x="",hide:w=!1,edit:a=!0,active:m=!0,after:i="",show:v=!0,type:h,view:C,onSave:S,className:k=""}){const R=N.useId();let O=!!(w&&(n===""||n===void 0)),[f,M]=N.useState(b);if(!(a&&m)&&!v||!(a&&m)&&O)return"";const $=async P=>{if(h){let W=tn(P,h,n||"default");u==null||u({name:_,value:W}),M(URL.createObjectURL(W))}else u==null||u({name:_,value:P}),M(URL.createObjectURL(P))},A={};return A.field="file",k&&(A.className=k),p.jsxs("dl",{...A,children:[d&&p.jsxs("dt",{children:[d," "]}),p.jsxs(en,{onFiles:$,children:[p.jsx("input",{id:R,type:"file",multiple:!0,onChange:P=>{P.target.files[0]&&$(P.target.files[0])}}),p.jsx("label",{htmlFor:R}),p.jsx("img",{src:f})]}),x&&p.jsx("em",{children:x})]})}const en=({children:n,onFiles:u})=>{const _=N.useRef(null);return N.useEffect(()=>{if(_.preventDefaults)return;_.preventDefaults=d=>{d.preventDefault(),d.stopPropagation()},_.highlight=d=>{},_.unhighlight=d=>{},_.onHandleDrop=d=>{let w=d.dataTransfer.files[0];u&&u(w)};let c=_.current;["dragenter","dragover","dragleave","drop"].forEach(d=>{c.addEventListener(d,_.preventDefaults,!1),document.body.addEventListener(d,_.preventDefaults,!1)}),["dragenter","dragover"].forEach(d=>{c.addEventListener(d,_.highlight,!1)}),["dragleave","drop"].forEach(d=>{c.addEventListener(d,_.unhighlight,!1)}),c.addEventListener("drop",_.onHandleDrop,!1)},[]),p.jsx("dd",{ref:_,children:n})},tn=(n,u,_)=>{var c=document.getElementsByTagName("body")[0],d=document.createElement("canvas");c.appendChild(d);const b=d.getContext("2d"),x=new Image;x.addEventListener("load",()=>{b.drawImage(x,0,0,x.width,x.height);const w=u==="png"?d.toDataURL():d.toDataURL(`image/${u}`),a=rn(w,_);return d.remove(),a}),x.src=URL.createObjectURL(n)};function rn(n,u){let _=n.split(","),c=_[0].match(/:(.*?);/)[1],d=atob(_[1]),b=d.length,x=new Uint8Array(b);for(;b--;)x[b]=d.charCodeAt(b);return new File([x],u,{type:c})}function nn({name:n,value:u,title:_,style:c,className:d}){let b={field:"progress"};return c&&(b.style=c),d&&(b.className=d),p.jsxs("dl",{...b,children:[_&&p.jsx("dt",{children:_}),p.jsx("dd",{})]})}const ge={};function an(n){const[u,_]=N.useState({}),c=N.useRef(n);return ge.u=d=>{c.current={...c.current,[d.name]:d.value}},ge.n=d=>{c.current=d,_(Date.now())},ge.r=()=>{_(Date.now())},[c.current,ge.n]}function on(n){ge.u(n),n.reload&&ge.r()}function _n(){ge.r&&ge.r()}function sn(n){const[u,_]=N.useState({}),c=N.useRef(n);return ge.u=d=>{c.current={...c.current,[d.name]:d.value}},ge.n=d=>{Object.keys(d).length>0?Object.keys(d).forEach(b=>{c.current[b]=d[b]}):c.current={},_(Date.now())},ge.r=()=>{_(Date.now())},[c.current,ge.n]}return{Color:or,Mask:Wt,Image:Wt,Code:ar,Check:qr,Switch:Gt,Input:$t,Button:er,Message:tr,Generator:rr,Captcha:nr,Modal:Br,Notes:Lr,Number:Ur,Password:Wr,Phone:Kr,Search:zr,Select:Gr,Textarea:Yr,Users:Hr,String:$t,runReload:_n,useData:an,setValue:on,Palette:Jr,Toogle:Zr,Group:Xr,Options:Qr,useError:sn,Progress:nn}});
|
|
118
|
+
<%s key={someKey} {...props} />`,pe,I,pr,I),Ie[I+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return ze(e,r,t,!0)}function cr(e,r,t){return ze(e,r,t,!1)}var ur=cr,fr=lr;kr.Fragment=f,kr.jsx=ur,kr.jsxs=fr}()),kr}process.env.NODE_ENV==="production"?Cr.exports=jt():Cr.exports=Et();var Tr=Cr.exports;const St="_btn_1k1b3_1",Ot="_confirm_1k1b3_15",Rt="_cancel_1k1b3_20",Ct="_action_1k1b3_25",Tt="_disabled_1k1b3_30",Pt="_m_1k1b3_44",Dt="_l_1k1b3_48",wr={btn:St,confirm:Ot,cancel:Rt,action:Ct,disabled:Tt,await:"_await_1k1b3_37",m:Pt,l:Dt},$t=({onClick:l,onSend:d,size:m="m",view:f="confirm",children:b,isDisabled:w=!1,className:C,after:j,before:u,label:y,onRef:i,awaitText:g="Ожидайте"})=>{let[h,O]=P.useState(!1);const F=U=>{if(l)return l();h||(d?(O(!0),d(O)):U.preventDefault())};let A={};return(w||h)&&(A.disabled=!0),Tr.jsx("button",{...A,ref:i,className:[wr.btn,h?wr.disabled:wr[f],m&&wr[m],C].filter(U=>U!="").join(" "),onClick:F,children:h?g:Tr.jsxs(Tr.Fragment,{children:[u||""," ",y," ",j||""]})||b})};let Le={};function Ft({children:l}){return K.jsx(K.Fragment,{children:l})}var jr;(l=>{function d({import_modules:y}){let[i,g]=P.useState([]);return Le.x=h=>{g(h?i.filter(O=>O.key!==h):[])},P.useEffect(()=>{y&&(Le.i=y)},[]),Le.add=(h,O=Date.now())=>{g([...i,{key:O,item:h}])},K.jsx(K.Fragment,{children:i.map(h=>h.item)})}l.Init=d;function m(y){return y&&(Le.i=y),Le.i}l.Import=m,l.List=bt,l.Scroll=ht,l.Form=xt,l.Center=kt,l.Column=wt;function f(y,i,g){Le.i(`${y}/modal/${i}.tsx`).then(h=>{h.default.Open(g)})}l.Open=f;function b({type:y,name:i,params:g}){let[h,O]=P.useState(null);return P.useEffect(()=>{Le.i(`${y}/modal/${i}.tsx`).then(F=>{O(F.default.Icon(g))})},[g.id]),K.jsx(K.Fragment,{children:h})}l.Icon=b;function w(y,i){Le.add(K.jsx(Ft,{children:y},String(Date.now())),i)}l.Add=w;function C(y){Le.x(y)}l.Close=C;function j(y){if(y.target.classList[0]!=="modal")return;let i=y.target.children[0];i.setAttribute("shake",!0),setTimeout(()=>{i.setAttribute("shake",!1)},1e3)}l.Shake=j;function u({title:y,children:i,button:g,tabs:h,size:O="m",className:F="",shake:A=!0,menu:U}){const[T,p]=P.useState(!0),Y=P.useRef(),q=D=>{if(g){if(g.onClick)return D(!1),g.onClick({setOpen:p});if(g.onSend)return g.onSend({setOpen:p,disabled:D})}},V=()=>{if(!A)return p(!1);Y.current.setAttribute("shake",!0),setTimeout(()=>{Y.current.setAttribute("shake",!1)},1e3)};return T?K.jsxs("div",{className:`${oe.modal}`,children:[K.jsx("div",{className:oe.o,onClick:V}),K.jsxs("div",{className:[oe.w,oe[`s${O}`],F].filter(D=>D!="").join(" "),ref:Y,children:[K.jsxs("div",{className:oe.h,children:[K.jsx("div",{className:oe.t,children:y}),K.jsxs("div",{className:oe.m,children:[h&&K.jsx("nav",{children:h.map((D,B)=>K.jsx("span",{onClick:D.onClick,className:D.active?"active":"",children:D.name},B))}),U]}),K.jsx("div",{className:oe.x,onClick:()=>{p(!1)},children:K.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:K.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),i,g!==void 0?K.jsx($t,{label:g.label,onSend:q,className:oe.btn}):""]})]}):""}l.Main=u})(jr||(jr={}));const Nt=(l,d=",")=>(l=l!==void 0&&l!==""?l.split(d):[],l.filter(m=>m!=="").reduce((m,f)=>(m[f]=!0,m),{}));function It({value:l,onValue:d,name:m,placeholder:f="",separator:b=",",title:w,error:C,hide:j=!1,edit:u=!0,active:y=!0,outFormat:i="object",after:g="",modal:h,options:O,className:F}){const[A,U]=P.useState(Nt(l,b)),T=q=>{if(!(u&&y)||!h)return;let V=h.split(".");jr.Open(V[0],V[1],{callback:D=>{if(d)switch(i){case"array":d({value:Object.keys(D),name:m});break;case"string":d({value:Object.keys(D).filter(B=>D[B]).join(b),name:m});break;default:d({value:D,name:m})}U(Object.fromEntries(Object.entries(D).filter(([B,L])=>L!==!1)))},onValue:d,options:O,name:m,value:A})},p={};p.field="group",F&&(p.className=F);const Y={};return f&&(Y.placeholder=f),j?E.jsx(E.Fragment,{}):E.jsxs("dl",{...p,children:[E.jsxs("dt",{children:[w,E.jsx("i",{onClick:T,children:E.jsx("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:E.jsx("path",{d:"M12 5.25v13.5M18.75 12H5.25"})})})]}),E.jsx("dd",{...Y,onClick:T,edit:(u&&y)+"","data-after":g,children:Object.keys(A).map(q=>{var V;return E.jsx("div",{className:"field_group_item",children:(V=O[q])==null?void 0:V.label},q)})}),C&&E.jsx("em",{children:C})]})}const Ur={o:"_o_z8kzt_9",l:"_l_z8kzt_19"},Pr={f:"_f_j973s_17",t:"_t_j973s_28"};function zt({title:l,error:d,edit:m=!0,active:f=!0,hide:b,value:w=0,onValue:C,options:j,placeholder:u="",className:y,name:i,after:g,view:h,order:O,isReload:F=!1}){var S,X;const A=P.useRef(null),[U,T]=P.useState(w),[p,Y]=P.useState(j),[q,V]=P.useState(!1);P.useEffect(()=>{T(w),Y(j)},[w,j]),b=!!(b&&(w===0||((S=p==null?void 0:p[w])==null?void 0:S.n)===void 0))&&!(m&&f);let B=J=>{T(J),C&&C({value:J,name:i,reload:F})},z={onClick:J=>{Object.keys(p||{}).length!==0&&m&&f&&(A.position=J.target.getBoundingClientRect(),V(!0))}};return u&&(z.placeholder=u),g&&(z.after=g),m&&f&&(z.edit=""),b?"":E.jsxs(E.Fragment,{children:[E.jsxs("dl",{"data-field":"select",className:[Pr.f,y].filter(J=>J!==void 0).join(),children:[l&&E.jsx("dt",{className:Pr.t,children:l}),E.jsx("dd",{...z,className:Pr.f,ref:A,children:(X=p==null?void 0:p[U])==null?void 0:X.n}),Object.keys(p||{}).length!==0&&E.jsx("svg",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:E.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})}),d&&E.jsx("em",{children:d})]}),q&&Yr.createPortal(E.jsx(At,{parent:A.position,onValue:B,view:h,className:y,options:p,order:O,setOpen:V},new Date().getTime()),document.body)]})}const At=({onValue:l,parent:d,className:m,options:f,order:b,setOpen:w})=>{let C=()=>{w(!1)},j=i=>{w(!1),l(i)},u=window.innerHeight-d.y+d.height<320?d.y-312:d.y+33,y=window.innerWidth-d.x<265?d.x-235:d.x;return E.jsxs(E.Fragment,{children:[E.jsx("div",{className:Ur.o,onClick:C},new Date().getTime()),E.jsx("div",{className:[Ur.l,m].filter(i=>i!==void 0).join(" "),style:{top:u+"px",left:y+"px",width:d.width},children:E.jsx(Lt,{order:b,options:f,link:j})})]})},Lt=({order:l,options:d,link:m})=>l?E.jsx("ul",{children:l.map((f,b)=>d[f].s!==0?E.jsx("li",{onClick:()=>{m(f)},children:d[f].n},b):"")}):E.jsx("ul",{children:Object.keys(d).map((f,b)=>d[f].s!==0?E.jsx("li",{onClick:()=>{m(f)},children:d[f].n},b):"")});function Wt({value:l,onValue:d,name:m,placeholder:f="",title:b,error:w,hide:C=!1,edit:j=!0,show:u=!0,active:y=!0,after:i="",view:g,modal:h,module:O,options:F,className:A}){let[U,T]=P.useState(l),p=V=>{if(!(j&&y)||!h)return;let D=h.split(".");jr.Open(D[0],D[1],{callback:B=>{d&&d({value:B,name:m}),T(B)},onValue:d,options:F,name:m,value:l})};const Y={};Y.field="input",A&&(Y.className=A);const q={};return f&&(q.placeholder=f),C?E.jsx(E.Fragment,{}):E.jsxs("dl",{...Y,children:[b&&E.jsx("dt",{children:b}),E.jsx("dd",{...q,onClick:p,edit:(j&&y)+"","data-after":i,children:U}),w&&E.jsx("em",{children:w})]})}function Mt({value:l,onValue:d,onSave:m,name:f,placeholder:b="",className:w,title:C,error:j,edit:u=!0,active:y=!0,reload:i=!1,native:g=!1,isShow:h=!1,maxLength:O,eyes:F=[],after:A=""}){const[U,T]=P.useState(h);let p=L=>{d&&d({value:L.target.textContent,name:f,reload:i})},Y=L=>{L.key==="Enter"&&L.preventDefault()},q=L=>{L.preventDefault(),navigator.clipboard.readText().then(z=>{if(O){let S=L.target.textContent.length;if(S>=O)return;O-=S,z=z.slice(0,O)}window.document.execCommand("insertText",!1,z.replace(/(\r\n|\n|\r)/gm," "))}).catch(z=>{})},V=L=>{ye.Blur(L),m==null||m({value:L.target.textContent.trim(),name:f})};const D={};D.field="password",U&&(D.show=""),w&&(D.className=w);const B={};return b&&(B.placeholder=b),g?"":E.jsxs("dl",{...D,children:[C?E.jsx("dt",{children:C}):"",E.jsx("dd",{onPaste:q,onInput:p,onKeyDown:Y,onBlur:V,contentEditable:u&&y?ye.ContentEditable:"false",...B,suppressContentEditableWarning:!0,children:l}),F[0]&&E.jsx("i",{onClick:()=>T(!U),children:U?F[1]:F[0]}),A,j?E.jsx("em",{children:j}):""]})}function Ut({onValue:l,onSave:d,active:m,max:f,edit:b,title:w,error:C,show:j,hide:u,value:y,placeholder:i,className:g,maxLength:h,name:O,after:F="",before:A="",view:U}){b=b!==void 0?b:!0,m=m!==void 0?m:!0,u=!!(u&&(y===""||y===void 0))&&!(b&&m),i=i!==void 0?i:"",f=f!==void 0?f:99;let p=!1,Y=S=>{l==null||l({value:S.target.textContent,name:O})},q=S=>{if(!(p&&S.which===86)){if(S.which===17||S.which===91)return p=!0;S.key!=="Backspace"&&(S.target.textContent.length===f&&S.preventDefault(),S.key==="Enter"&&S.preventDefault(),isNaN(S.key)&&S.preventDefault())}},V=S=>{if(S.which===17||S.which===91)return p=!1},D=S=>{S.preventDefault(),navigator.clipboard.readText().then(X=>{if(X=X.replace(/(?!^\+|\d)./g,""),h){let J=S.target.textContent.length;if(J>=h)return;h-=J,X=X.slice(0,h)}window.document.execCommand("insertText",!1,""+X)}).catch(X=>{})};const B=S=>{ye.Blur(S),d==null||d({value:S.target.textContent,name:O})},L={};L.field="input",g&&(L.className=g);let z={};return b&&m?(z.edit="true",z.contentEditable=ye.ContentEditable):z.contentEditable="false",z.inputMode="decimal",i&&(z.placeholder=i),u?E.jsx(E.Fragment,{}):E.jsxs("dl",{...L,children:[w&&E.jsx("dt",{children:w}),A,E.jsx("dd",{...z,onPaste:D,onInput:Y,onBlur:B,onKeyDown:q,onKeyUp:V,suppressContentEditableWarning:!0,children:y}),F,C&&E.jsx("em",{children:C})]})}const de={};function Yt(l){const[d,m]=P.useState({}),f=P.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{f.current=b,m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}function Bt(l){de.u(l),l.reload&&de.r()}function Kt(){de.r&&de.r()}function Vt(l){const[d,m]=P.useState({}),f=P.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{Object.keys(b).length>0?Object.keys(b).forEach(w=>{f.current[w]=b[w]}):f.current={},m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}Q.Modal=Wt,Q.Number=Ut,Q.Options=It,Q.Password=Mt,Q.Progress=Vr,Q.Select=zt,Q.String=rt,Q.runReload=Kt,Q.setValue=Bt,Q.useData=Yt,Q.useError=Vt,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})});
|