bonuspluscomponents 0.0.44 → 0.0.45

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.
@@ -1,27 +1,29 @@
1
- (function(m,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(m=typeof globalThis<"u"?globalThis:m||self,g(m.bonuspluscomponents={},m.require$$0))})(this,function(m,g){"use strict";var U={exports:{}},j={};/**
2
- * @license React
1
+ (function(j,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],y):(j=typeof globalThis<"u"?globalThis:j||self,y(j.bonuspluscomponents={},j.require$$1))})(this,function(j,y){"use strict";var M={exports:{}},A={};/*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */var B,re;function te(){if(re)return B;re=1;var c=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;function w(E){if(E==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(E)}function k(){try{if(!Object.assign)return!1;var E=new String("abc");if(E[5]="de",Object.getOwnPropertyNames(E)[0]==="5")return!1;for(var P={},f=0;f<10;f++)P["_"+String.fromCharCode(f)]=f;var d=Object.getOwnPropertyNames(P).map(function(s){return P[s]});if(d.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(s){g[s]=s}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return B=k()?Object.assign:function(E,P){for(var f,d=w(E),g,s=1;s<arguments.length;s++){f=Object(arguments[s]);for(var m in f)R.call(f,m)&&(d[m]=f[m]);if(c){g=c(f);for(var _=0;_<g.length;_++)O.call(f,g[_])&&(d[g[_]]=f[g[_]])}}return d},B}/** @license React v17.0.2
3
6
  * react-jsx-runtime.production.min.js
4
7
  *
5
8
  * Copyright (c) Facebook, Inc. and its affiliates.
6
9
  *
7
10
  * This source code is licensed under the MIT license found in the
8
11
  * LICENSE file in the root directory of this source tree.
9
- */var ee;function Oe(){if(ee)return j;ee=1;var v=g,b=Symbol.for("react.element"),J=Symbol.for("react.fragment"),C=Object.prototype.hasOwnProperty,I=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,W={key:!0,ref:!0,__self:!0,__source:!0};function A(R,f,S){var p,y={},T=null,Y=null;S!==void 0&&(T=""+S),f.key!==void 0&&(T=""+f.key),f.ref!==void 0&&(Y=f.ref);for(p in f)C.call(f,p)&&!W.hasOwnProperty(p)&&(y[p]=f[p]);if(R&&R.defaultProps)for(p in f=R.defaultProps,f)y[p]===void 0&&(y[p]=f[p]);return{$$typeof:b,type:R,key:T,ref:Y,props:y,_owner:I.current}}return j.Fragment=J,j.jsx=A,j.jsxs=A,j}var k={};/**
10
- * @license React
12
+ */var ne;function ke(){if(ne)return A;ne=1,te();var c=y,R=60103;if(A.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;R=O("react.element"),A.Fragment=O("react.fragment")}var w=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(f,d,g){var s,m={},_=null,S=null;g!==void 0&&(_=""+g),d.key!==void 0&&(_=""+d.key),d.ref!==void 0&&(S=d.ref);for(s in d)k.call(d,s)&&!E.hasOwnProperty(s)&&(m[s]=d[s]);if(f&&f.defaultProps)for(s in d=f.defaultProps,d)m[s]===void 0&&(m[s]=d[s]);return{$$typeof:R,type:f,key:_,ref:S,props:m,_owner:w.current}}return A.jsx=P,A.jsxs=P,A}var q={};/** @license React v17.0.2
11
13
  * react-jsx-runtime.development.js
12
14
  *
13
15
  * Copyright (c) Facebook, Inc. and its affiliates.
14
16
  *
15
17
  * This source code is licensed under the MIT license found in the
16
18
  * LICENSE file in the root directory of this source tree.
17
- */var re;function xe(){return re||(re=1,process.env.NODE_ENV!=="production"&&function(){var v=g,b=Symbol.for("react.element"),J=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),R=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),te=Symbol.iterator,Ne="@@iterator";function Le(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[Ne];return typeof r=="function"?r:null}var O=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];$e("error",e,t)}}function $e(e,r,t){{var n=O.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Me=!1,Ve=!1,Ue=!1,Be=!1,Je=!1,ne;ne=Symbol.for("react.module.reference");function Ge(e){return!!(typeof e=="string"||typeof e=="function"||e===C||e===W||Je||e===I||e===S||e===p||Be||e===Y||Me||Ve||Ue||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===y||e.$$typeof===A||e.$$typeof===R||e.$$typeof===f||e.$$typeof===ne||e.getModuleId!==void 0))}function ze(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("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 C:return"Fragment";case J:return"Portal";case W:return"Profiler";case I:return"StrictMode";case S:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return ae(r)+".Consumer";case A:var t=e;return ae(t._context)+".Provider";case f:return ze(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case T:{var i=e,u=i._payload,o=i._init;try{return E(o(u))}catch{return null}}}return null}var P=Object.assign,D=0,oe,ie,ue,se,le,fe,ce;function de(){}de.__reactDisabledLog=!0;function qe(){{if(D===0){oe=console.log,ie=console.info,ue=console.warn,se=console.error,le=console.group,fe=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}}function Ke(){{if(D--,D===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:oe}),info:P({},e,{value:ie}),warn:P({},e,{value:ue}),error:P({},e,{value:se}),group:P({},e,{value:le}),groupCollapsed:P({},e,{value:fe}),groupEnd:P({},e,{value:ce})})}D<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=O.ReactCurrentDispatcher,z;function N(e,r,t){{if(z===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);z=n&&n[1]||""}return`
18
- `+z+e}}var q=!1,L;{var He=typeof WeakMap=="function"?WeakMap:Map;L=new He}function ve(e,r){if(!e||q)return"";{var t=L.get(e);if(t!==void 0)return t}var n;q=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=G.current,G.current=null,qe();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(_){n=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){n=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){n=_}e()}}catch(_){if(_&&n&&typeof _.stack=="string"){for(var a=_.stack.split(`
19
- `),d=n.stack.split(`
20
- `),s=a.length-1,l=d.length-1;s>=1&&l>=0&&a[s]!==d[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==d[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==d[l]){var h=`
21
- `+a[s].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&L.set(e,h),h}while(s>=1&&l>=0);break}}}finally{q=!1,G.current=u,Ke(),Error.prepareStackTrace=i}var w=e?e.displayName||e.name:"",Se=w?N(w):"";return typeof e=="function"&&L.set(e,Se),Se}function Xe(e,r,t){return ve(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function $(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ze(e));if(typeof e=="string")return N(e);switch(e){case S:return N("Suspense");case p:return N("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Xe(e.render);case y:return $(e.type,r,t);case T:{var n=e,i=n._payload,u=n._init;try{return $(u(i),r,t)}catch{}}}return""}var M=Object.prototype.hasOwnProperty,pe={},be=O.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}function Qe(e,r,t,n,i){{var u=Function.call.bind(M);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(V(i),c("%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,o,typeof a),V(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,V(i),c("Failed %s type: %s",t,a.message),V(null))}}}var er=Array.isArray;function K(e){return er(e)}function rr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function tr(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function ge(e){if(tr(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(e)),he(e)}var F=O.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},me,ye,H;H={};function ar(e){if(M.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function or(e){if(M.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ir(e,r){if(typeof e.ref=="string"&&F.current&&r&&F.current.stateNode!==r){var t=E(F.current.type);H[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',E(F.current.type),e.ref),H[t]=!0)}}function ur(e,r){{var t=function(){me||(me=!0,c("%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 sr(e,r){{var t=function(){ye||(ye=!0,c("%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 lr=function(e,r,t,n,i,u,o){var a={$$typeof:b,type:e,key:r,ref:t,props:o,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function fr(e,r,t,n,i){{var u,o={},a=null,d=null;t!==void 0&&(ge(t),a=""+t),or(r)&&(ge(r.key),a=""+r.key),ar(r)&&(d=r.ref,ir(r,i));for(u in r)M.call(r,u)&&!nr.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ur(o,l),d&&sr(o,l)}return lr(e,a,d,i,n,F.current,o)}}var X=O.ReactCurrentOwner,Ee=O.ReactDebugCurrentFrame;function x(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===b}function _e(){{if(X.current){var e=E(X.current.type);if(e)return`
19
+ */var ae;function De(){return ae||(ae=1,function(c){process.env.NODE_ENV!=="production"&&function(){var R=y,O=te(),w=60103,k=60106;c.Fragment=60107;var E=60108,P=60114,f=60109,d=60110,g=60112,s=60113,m=60120,_=60115,S=60116,N=60121,ie=60122,oe=60117,ue=60129,se=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;w=v("react.element"),k=v("react.portal"),c.Fragment=v("react.fragment"),E=v("react.strict_mode"),P=v("react.profiler"),f=v("react.provider"),d=v("react.context"),g=v("react.forward_ref"),s=v("react.suspense"),m=v("react.suspense_list"),_=v("react.memo"),S=v("react.lazy"),N=v("react.block"),ie=v("react.server.block"),oe=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),ue=v("react.debug_trace_mode"),v("react.offscreen"),se=v("react.legacy_hidden")}var ce=typeof Symbol=="function"&&Symbol.iterator,Me="@@iterator";function Be(e){if(e===null||typeof e!="object")return null;var r=ce&&e[ce]||e[Me];return typeof r=="function"?r:null}var D=R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];qe("error",e,t)}}function qe(e,r,t){{var n=D.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return""+i});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ge=!1;function Je(e){return!!(typeof e=="string"||typeof e=="function"||e===c.Fragment||e===P||e===ue||e===E||e===s||e===m||e===se||Ge||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===_||e.$$typeof===f||e.$$typeof===d||e.$$typeof===g||e.$$typeof===oe||e.$$typeof===N||e[0]===ie))}function Ke(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function fe(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&b("Received an unexpected object in getComponentName(). 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 c.Fragment:return"Fragment";case k:return"Portal";case P:return"Profiler";case E:return"StrictMode";case s:return"Suspense";case m:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var r=e;return fe(r)+".Consumer";case f:var t=e;return fe(t._context)+".Provider";case g:return Ke(e,e.render,"ForwardRef");case _:return T(e.type);case N:return T(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return T(u(o))}catch{return null}}}return null}var W=0,le,de,ve,pe,ge,_e,he;function Ee(){}Ee.__reactDisabledLog=!0;function ze(){{if(W===0){le=console.log,de=console.info,ve=console.warn,pe=console.error,ge=console.group,_e=console.groupCollapsed,he=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ee,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function He(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:le}),info:O({},e,{value:de}),warn:O({},e,{value:ve}),error:O({},e,{value:pe}),group:O({},e,{value:ge}),groupCollapsed:O({},e,{value:_e}),groupEnd:O({},e,{value:he})})}W<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=D.ReactCurrentDispatcher,K;function $(e,r,t){{if(K===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);K=n&&n[1]||""}return`
20
+ `+K+e}}var z=!1,U;{var Xe=typeof WeakMap=="function"?WeakMap:Map;U=new Xe}function be(e,r){if(!e||z)return"";{var t=U.get(e);if(t!==void 0)return t}var n;z=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=J.current,J.current=null,ze();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(C){n=C}Reflect.construct(e,[],i)}else{try{i.call()}catch(C){n=C}e.call(i.prototype)}}else{try{throw Error()}catch(C){n=C}e()}}catch(C){if(C&&n&&typeof C.stack=="string"){for(var a=C.stack.split(`
21
+ `),h=n.stack.split(`
22
+ `),l=a.length-1,p=h.length-1;l>=1&&p>=0&&a[l]!==h[p];)p--;for(;l>=1&&p>=0;l--,p--)if(a[l]!==h[p]){if(l!==1||p!==1)do if(l--,p--,p<0||a[l]!==h[p]){var x=`
23
+ `+a[l].replace(" at new "," at ");return typeof e=="function"&&U.set(e,x),x}while(l>=1&&p>=0);break}}}finally{z=!1,J.current=u,He(),Error.prepareStackTrace=o}var Y=e?e.displayName||e.name:"",Ae=Y?$(Y):"";return typeof e=="function"&&U.set(e,Ae),Ae}function Re(e,r,t){return be(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function V(e,r,t){if(e==null)return"";if(typeof e=="function")return be(e,Ze(e));if(typeof e=="string")return $(e);switch(e){case s:return $("Suspense");case m:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case g:return Re(e.render);case _:return V(e.type,r,t);case N:return Re(e._render);case S:{var n=e,o=n._payload,u=n._init;try{return V(u(o),r,t)}catch{}}}return""}var me={},Oe=D.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);Oe.setExtraStackFrame(t)}else Oe.setExtraStackFrame(null)}function Qe(e,r,t,n,o){{var u=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var h=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(l){a=l}a&&!(a instanceof Error)&&(F(o),b("%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,i,typeof a),F(null)),a instanceof Error&&!(a.message in me)&&(me[a.message]=!0,F(o),b("Failed %s type: %s",t,a.message),F(null))}}}var L=D.ReactCurrentOwner,H=Object.prototype.hasOwnProperty,er={key:!0,ref:!0,__self:!0,__source:!0},Pe,ye,X;X={};function rr(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function tr(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function nr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=T(L.current.type);X[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(L.current.type),e.ref),X[t]=!0)}}function ar(e,r){{var t=function(){Pe||(Pe=!0,b("%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 ir(e,r){{var t=function(){ye||(ye=!0,b("%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 or=function(e,r,t,n,o,u,i){var a={$$typeof:w,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ur(e,r,t,n,o){{var u,i={},a=null,h=null;t!==void 0&&(a=""+t),tr(r)&&(a=""+r.key),rr(r)&&(h=r.ref,nr(r,o));for(u in r)H.call(r,u)&&!er.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var l=e.defaultProps;for(u in l)i[u]===void 0&&(i[u]=l[u])}if(a||h){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ar(i,p),h&&ir(i,p)}return or(e,a,h,o,n,L.current,i)}}var Z=D.ReactCurrentOwner,Te=D.ReactDebugCurrentFrame;function I(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===w}function je(){{if(Z.current){var e=T(Z.current.type);if(e)return`
22
24
 
23
- Check the render method of \``+e+"`."}return""}}function cr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
25
+ Check the render method of \``+e+"`."}return""}}function sr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
26
 
25
- Check your code at `+r+":"+t+"."}return""}}var Re={};function dr(e){{var r=_e();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
27
+ Check your code at `+r+":"+t+"."}return""}}var xe={};function cr(e){{var r=je();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
28
 
27
- Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=dr(r);if(Re[t])return;Re[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),x(e),c('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),x(null)}}function Pe(e,r){{if(typeof e!="object")return;if(K(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&Te(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var i=Le(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)Q(o.value)&&Te(o.value,r)}}}function vr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=E(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var i=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){x(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),x(null);break}}e.ref!==null&&(x(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),x(null))}}function Ce(e,r,t,n,i,u){{var o=Ge(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 d=cr(i);d?a+=d:a+=_e();var s;e===null?s="null":K(e)?s="array":e!==void 0&&e.$$typeof===b?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=fr(e,r,t,i,u);if(l==null)return l;if(o){var h=r.children;if(h!==void 0)if(n)if(K(h)){for(var w=0;w<h.length;w++)Pe(h[w],e);Object.freeze&&Object.freeze(h)}else c("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 Pe(h,e)}return e===C?pr(l):vr(l),l}}function br(e,r,t){return Ce(e,r,t,!0)}function hr(e,r,t){return Ce(e,r,t,!1)}var gr=hr,mr=br;k.Fragment=C,k.jsx=gr,k.jsxs=mr}()),k}process.env.NODE_ENV==="production"?U.exports=Oe():U.exports=xe();var B=U.exports;const we={popups:[]},je=g.createContext(we),ke=()=>{const[v,b]=g.useState([]);return{popups:v}},Ae=({children:v})=>{const b=ke();return B.jsx(je.Provider,{value:b,children:v})},De={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null},Fe=g.createContext(De),Ie=()=>{const[v,b]=g.useState(null);return{cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:v,setPhoneNumber:b}},We=({children:v})=>{const b=Ie();return B.jsx(Fe.Provider,{value:b,children:v})},yr="",Ye=({number:v})=>B.jsx("div",{children:v});m.AppProvider=We,m.PopupProvider=Ae,m.TestComponent=Ye,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
29
+ Check the top-level render call using <`+t+">.")}return r}}function Ce(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=cr(r);if(xe[t])return;xe[t]=!0;var n="";e&&e._owner&&e._owner!==Z.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),I(e),b('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),I(null)}}function we(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];ee(n)&&Ce(n,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=Be(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)ee(i.value)&&Ce(i.value,r)}}}function fr(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===g||r.$$typeof===_))t=r.propTypes;else return;if(t){var n=T(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var o=T(r);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){I(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),I(null);break}}e.ref!==null&&(I(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),I(null))}}function Se(e,r,t,n,o,u){{var i=Je(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 h=sr(o);h?a+=h:a+=je();var l;e===null?l="null":Array.isArray(e)?l="array":e!==void 0&&e.$$typeof===w?(l="<"+(T(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,a)}var p=ur(e,r,t,o,u);if(p==null)return p;if(i){var x=r.children;if(x!==void 0)if(n)if(Array.isArray(x)){for(var Y=0;Y<x.length;Y++)we(x[Y],e);Object.freeze&&Object.freeze(x)}else b("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 we(x,e)}return e===c.Fragment?lr(p):fr(p),p}}function dr(e,r,t){return Se(e,r,t,!0)}function vr(e,r,t){return Se(e,r,t,!1)}var pr=vr,gr=dr;c.jsx=pr,c.jsxs=gr}()}(q)),q}process.env.NODE_ENV==="production"?M.exports=ke():M.exports=De();var G=M.exports;const Ie={popups:[]},Ye=y.createContext(Ie),We=()=>{const[c,R]=y.useState([]);return{popups:c}},Le=({children:c})=>{const R=We();return G.jsx(Ye.Provider,{value:R,children:c})},Ne={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null},$e=y.createContext(Ne),Ue=()=>{const[c,R]=y.useState(null);return{cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:c,setPhoneNumber:R}},Ve=({children:c})=>{const R=Ue();return G.jsx($e.Provider,{value:R,children:c})},_r="",Fe=({number:c})=>G.jsx("div",{children:c});j.AppProvider=Ve,j.PopupProvider=Le,j.TestComponent=Fe,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bonuspluscomponents",
3
3
  "private": false,
4
- "version": "0.0.44",
4
+ "version": "0.0.45",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",