ingeniuscliq-core 0.0.9 → 0.0.11

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.
Files changed (140) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.js +4422 -2670
  3. package/package.json +3 -12
  4. package/dist/core/classes/CoreBuilder.d.ts +0 -3
  5. package/dist/core/components/config.d.ts +0 -1
  6. package/dist/core/components/customs/carousel/CustomCarousel.d.ts +0 -7
  7. package/dist/core/components/customs/carousel/CustomCarouselSection.d.ts +0 -11
  8. package/dist/core/components/customs/form/CustomFormField.d.ts +0 -12
  9. package/dist/core/components/customs/form/FormInput.d.ts +0 -16
  10. package/dist/core/components/customs/form/FormTextArea.d.ts +0 -9
  11. package/dist/core/components/customs/form/FormWrapper.d.ts +0 -8
  12. package/dist/core/components/customs/logo/Logo.d.ts +0 -6
  13. package/dist/core/components/customs/pagination/CustomPagination.d.ts +0 -7
  14. package/dist/core/components/customs/select/CustomSelect.d.ts +0 -10
  15. package/dist/core/components/customs/spinner/Spinner.d.ts +0 -7
  16. package/dist/core/components/layouts/CoreBaseLayout.d.ts +0 -9
  17. package/dist/core/components/templates/CoreHomeLayout.d.ts +0 -5
  18. package/dist/core/components/templates/CorePreviewLayout.d.ts +0 -2
  19. package/dist/core/components/templates/partials/CoreFooter.d.ts +0 -1
  20. package/dist/core/components/templates/partials/CoreHeader.d.ts +0 -6
  21. package/dist/core/components/templates/partials/CoreMainSearch.d.ts +0 -8
  22. package/dist/core/components/templates/partials/CoreNavbar.d.ts +0 -8
  23. package/dist/core/components/templates/partials/CoreSubMenu.d.ts +0 -6
  24. package/dist/core/components/templates/partials/CoreSubMenuHeader.d.ts +0 -7
  25. package/dist/core/components/templates/partials/DynamicHeader.d.ts +0 -7
  26. package/dist/core/components/templates/partials/DynamicMain.d.ts +0 -5
  27. package/dist/core/components/ui/accordion.d.ts +0 -7
  28. package/dist/core/components/ui/alert-dialog.d.ts +0 -14
  29. package/dist/core/components/ui/alert.d.ts +0 -9
  30. package/dist/core/components/ui/avatar.d.ts +0 -6
  31. package/dist/core/components/ui/badge.d.ts +0 -9
  32. package/dist/core/components/ui/breadcrumb.d.ts +0 -11
  33. package/dist/core/components/ui/button.d.ts +0 -10
  34. package/dist/core/components/ui/calendar.d.ts +0 -4
  35. package/dist/core/components/ui/card.d.ts +0 -9
  36. package/dist/core/components/ui/carousel.d.ts +0 -19
  37. package/dist/core/components/ui/checkbox.d.ts +0 -4
  38. package/dist/core/components/ui/dialog.d.ts +0 -15
  39. package/dist/core/components/ui/drawer.d.ts +0 -13
  40. package/dist/core/components/ui/dropdown-menu.d.ts +0 -25
  41. package/dist/core/components/ui/form.d.ts +0 -24
  42. package/dist/core/components/ui/input.d.ts +0 -5
  43. package/dist/core/components/ui/label.d.ts +0 -4
  44. package/dist/core/components/ui/navigation-menu.d.ts +0 -14
  45. package/dist/core/components/ui/pagination.d.ts +0 -13
  46. package/dist/core/components/ui/popover.d.ts +0 -7
  47. package/dist/core/components/ui/radio-group.d.ts +0 -5
  48. package/dist/core/components/ui/select.d.ts +0 -15
  49. package/dist/core/components/ui/separator.d.ts +0 -4
  50. package/dist/core/components/ui/sheet.d.ts +0 -13
  51. package/dist/core/components/ui/sidebar.d.ts +0 -69
  52. package/dist/core/components/ui/skeleton.d.ts +0 -2
  53. package/dist/core/components/ui/slider.d.ts +0 -4
  54. package/dist/core/components/ui/sonner.d.ts +0 -3
  55. package/dist/core/components/ui/stepper.d.ts +0 -18
  56. package/dist/core/components/ui/switch.d.ts +0 -4
  57. package/dist/core/components/ui/table.d.ts +0 -10
  58. package/dist/core/components/ui/tabs.d.ts +0 -7
  59. package/dist/core/components/ui/textarea.d.ts +0 -3
  60. package/dist/core/components/ui/tooltip.d.ts +0 -7
  61. package/dist/core/constants/menu.d.ts +0 -2
  62. package/dist/core/helpers/axiosGlobal.d.ts +0 -7
  63. package/dist/core/helpers/strings.d.ts +0 -1
  64. package/dist/core/helpers/template.d.ts +0 -4
  65. package/dist/core/helpers/tenant.d.ts +0 -3
  66. package/dist/core/hooks/use-mobile.d.ts +0 -1
  67. package/dist/core/hooks/useI18n.d.ts +0 -5
  68. package/dist/core/hooks/useNotification.d.ts +0 -6
  69. package/dist/core/i18n/config.d.ts +0 -130
  70. package/dist/core/i18n/utils/loadModuleTranslations.d.ts +0 -8
  71. package/dist/core/modules/CoreAuth/components/layouts/partials/AuthDecorator.d.ts +0 -1
  72. package/dist/core/modules/CoreAuth/components/layouts/partials/AuthProfileDeleteAccountForm.d.ts +0 -1
  73. package/dist/core/modules/CoreAuth/components/layouts/partials/AuthProfileForm.d.ts +0 -1
  74. package/dist/core/modules/CoreAuth/components/layouts/partials/AuthProfileUpdatePassForm.d.ts +0 -1
  75. package/dist/core/modules/CoreAuth/components/layouts/partials/AuthUserMenu.d.ts +0 -1
  76. package/dist/core/modules/CoreAuth/constants/auth.d.ts +0 -5
  77. package/dist/core/modules/CoreAuth/hooks/useAuth.d.ts +0 -18
  78. package/dist/core/modules/CoreAuth/index.d.ts +0 -1
  79. package/dist/core/modules/CoreAuth/services/base.d.ts +0 -23
  80. package/dist/core/modules/CoreAuth/stores/authStore.d.ts +0 -22
  81. package/dist/core/modules/CoreAuth/types/CoreAuth.d.ts +0 -25
  82. package/dist/core/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts +0 -30
  83. package/dist/core/modules/CoreCustomization/index.d.ts +0 -1
  84. package/dist/core/modules/CoreCustomization/services/base.d.ts +0 -10
  85. package/dist/core/modules/CoreCustomization/types/CoreCustomization.d.ts +0 -22
  86. package/dist/core/modules/CoreOrder/classes/CoreOrderBuilder.d.ts +0 -23
  87. package/dist/core/modules/CoreOrder/index.d.ts +0 -1
  88. package/dist/core/modules/CoreOrder/services/base.d.ts +0 -7
  89. package/dist/core/modules/CoreOrder/types/CoreOrder.d.ts +0 -41
  90. package/dist/core/modules/CoreOrder/types/interfaces/OrderActions.d.ts +0 -14
  91. package/dist/core/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +0 -19
  92. package/dist/core/modules/CorePayForm/index.d.ts +0 -1
  93. package/dist/core/modules/CorePayForm/services/base.d.ts +0 -7
  94. package/dist/core/modules/CorePayForm/types/CorePayForm.d.ts +0 -19
  95. package/dist/core/modules/CoreProduct/classes/CoreProductBuilder.d.ts +0 -25
  96. package/dist/core/modules/CoreProduct/components/layouts/partials/TabHead.d.ts +0 -6
  97. package/dist/core/modules/CoreProduct/components/ui/cards/CoreProductCard.d.ts +0 -15
  98. package/dist/core/modules/CoreProduct/components/ui/cards/CoreProductCardActions.d.ts +0 -18
  99. package/dist/core/modules/CoreProduct/components/ui/cards/CoreProductCartItemAsideCard.d.ts +0 -7
  100. package/dist/core/modules/CoreProduct/components/ui/cards/CoreProductCartItemCard.d.ts +0 -8
  101. package/dist/core/modules/CoreProduct/components/ui/cards/CoreProductCartSummaryCard.d.ts +0 -7
  102. package/dist/core/modules/CoreProduct/components/ui/cards/addons/WarrantyLabel.d.ts +0 -10
  103. package/dist/core/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCardSkeleton.d.ts +0 -5
  104. package/dist/core/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts +0 -1
  105. package/dist/core/modules/CoreProduct/components/ui/carousels/CoreProductImageCarousel.d.ts +0 -8
  106. package/dist/core/modules/CoreProduct/components/ui/containers/CoreProductGrid.d.ts +0 -19
  107. package/dist/core/modules/CoreProduct/index.d.ts +0 -1
  108. package/dist/core/modules/CoreProduct/services/base.d.ts +0 -7
  109. package/dist/core/modules/CoreProduct/types/CoreProduct.d.ts +0 -33
  110. package/dist/core/modules/CoreProduct/types/CoreProductCategory.d.ts +0 -10
  111. package/dist/core/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts +0 -25
  112. package/dist/core/modules/CoreShopCart/components/layouts/partials/CoreShopCartAside.d.ts +0 -12
  113. package/dist/core/modules/CoreShopCart/components/layouts/partials/CoreShopCartIcon.d.ts +0 -7
  114. package/dist/core/modules/CoreShopCart/components/ui/cards/CoreCartItemAsideCard.d.ts +0 -9
  115. package/dist/core/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts +0 -4
  116. package/dist/core/modules/CoreShopCart/components/ui/empty/EmptyCartItems.d.ts +0 -1
  117. package/dist/core/modules/CoreShopCart/components/ui/texts/CoreCartHintTitle.d.ts +0 -8
  118. package/dist/core/modules/CoreShopCart/components/ui/texts/CoreCartSubtotalText.d.ts +0 -7
  119. package/dist/core/modules/CoreShopCart/components/ui/texts/CoreCartSummaryHead.d.ts +0 -6
  120. package/dist/core/modules/CoreShopCart/components/ui/texts/CoreCartSummaryText.d.ts +0 -7
  121. package/dist/core/modules/CoreShopCart/constants/shopCart.d.ts +0 -6
  122. package/dist/core/modules/CoreShopCart/index.d.ts +0 -1
  123. package/dist/core/modules/CoreShopCart/services/base.d.ts +0 -16
  124. package/dist/core/modules/CoreShopCart/types/CoreShopCart.d.ts +0 -32
  125. package/dist/core/modules/CoreShopCart/types/interfaces/CartActions.d.ts +0 -23
  126. package/dist/core/modules/index.d.ts +0 -0
  127. package/dist/core/services/base.d.ts +0 -38
  128. package/dist/core/types/BaseStore.d.ts +0 -7
  129. package/dist/core/types/BaseType.d.ts +0 -5
  130. package/dist/core/types/CoreImage.d.ts +0 -5
  131. package/dist/core/types/CoreMenu.d.ts +0 -6
  132. package/dist/core/types/contracts/BaseApiResponse.d.ts +0 -7
  133. package/dist/core/types/contracts/BasePagination.d.ts +0 -9
  134. package/dist/core/types/interfaces/BaseImageType.d.ts +0 -7
  135. package/dist/core/types/interfaces/BaseSlugType.d.ts +0 -3
  136. package/dist/core/types/interfaces/BaseVisibleType.d.ts +0 -3
  137. package/dist/core/types/ui/carousel.d.ts +0 -5
  138. package/dist/core/types/ui/index.d.ts +0 -8
  139. package/dist/core/types/ui/template.d.ts +0 -19
  140. package/dist/index.cjs +0 -102
package/dist/index.cjs DELETED
@@ -1,102 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Le={exports:{}},Re={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var ot;function Mt(){if(ot)return Re;ot=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(f,p,d){var R=null;if(d!==void 0&&(R=""+d),p.key!==void 0&&(R=""+p.key),"key"in p){d={};for(var D in p)D!=="key"&&(d[D]=p[D])}else d=p;return p=d.ref,{$$typeof:r,type:f,key:R,ref:p!==void 0?p:null,props:d}}return Re.Fragment=n,Re.jsx=s,Re.jsxs=s,Re}var Te={},je={exports:{}},P={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ut;function xt(){if(ut)return P;ut=1;var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),R=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),a=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),i=Symbol.iterator;function o(t){return t===null||typeof t!="object"?null:(t=i&&t[i]||t["@@iterator"],typeof t=="function"?t:null)}var l={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,O={};function A(t,c,_){this.props=t,this.context=c,this.refs=O,this.updater=_||l}A.prototype.isReactComponent={},A.prototype.setState=function(t,c){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,c,"setState")},A.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function z(){}z.prototype=A.prototype;function V(t,c,_){this.props=t,this.context=c,this.refs=O,this.updater=_||l}var U=V.prototype=new z;U.constructor=V,E(U,A.prototype),U.isPureReactComponent=!0;var H=Array.isArray,C={H:null,A:null,T:null,S:null,V:null},$=Object.prototype.hasOwnProperty;function W(t,c,_,v,w,k){return _=k.ref,{$$typeof:r,type:t,key:c,ref:_!==void 0?_:null,props:k}}function x(t,c){return W(t.type,c,void 0,void 0,void 0,t.props)}function F(t){return typeof t=="object"&&t!==null&&t.$$typeof===r}function K(t){var c={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(_){return c[_]})}var N=/\/+/g;function se(t,c){return typeof t=="object"&&t!==null&&t.key!=null?K(""+t.key):c.toString(36)}function ie(){}function ne(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ie,ie):(t.status="pending",t.then(function(c){t.status==="pending"&&(t.status="fulfilled",t.value=c)},function(c){t.status==="pending"&&(t.status="rejected",t.reason=c)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function ee(t,c,_,v,w){var k=typeof t;(k==="undefined"||k==="boolean")&&(t=null);var T=!1;if(t===null)T=!0;else switch(k){case"bigint":case"string":case"number":T=!0;break;case"object":switch(t.$$typeof){case r:case n:T=!0;break;case g:return T=t._init,ee(T(t._payload),c,_,v,w)}}if(T)return w=w(t),T=v===""?"."+se(t,0):v,H(w)?(_="",T!=null&&(_=T.replace(N,"$&/")+"/"),ee(w,c,_,"",function(X){return X})):w!=null&&(F(w)&&(w=x(w,_+(w.key==null||t&&t.key===w.key?"":(""+w.key).replace(N,"$&/")+"/")+T)),c.push(w)),1;T=0;var B=v===""?".":v+":";if(H(t))for(var b=0;b<t.length;b++)v=t[b],k=B+se(v,b),T+=ee(v,c,_,k,w);else if(b=o(t),typeof b=="function")for(t=b.call(t),b=0;!(v=t.next()).done;)v=v.value,k=B+se(v,b++),T+=ee(v,c,_,k,w);else if(k==="object"){if(typeof t.then=="function")return ee(ne(t),c,_,v,w);throw c=String(t),Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}return T}function oe(t,c,_){if(t==null)return t;var v=[],w=0;return ee(t,v,"","",function(k){return c.call(_,k,w++)}),v}function fe(t){if(t._status===-1){var c=t._result;c=c(),c.then(function(_){(t._status===0||t._status===-1)&&(t._status=1,t._result=_)},function(_){(t._status===0||t._status===-1)&&(t._status=2,t._result=_)}),t._status===-1&&(t._status=0,t._result=c)}if(t._status===1)return t._result.default;throw t._result}var ce=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function de(){}return P.Children={map:oe,forEach:function(t,c,_){oe(t,function(){c.apply(this,arguments)},_)},count:function(t){var c=0;return oe(t,function(){c++}),c},toArray:function(t){return oe(t,function(c){return c})||[]},only:function(t){if(!F(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},P.Component=A,P.Fragment=s,P.Profiler=p,P.PureComponent=V,P.StrictMode=f,P.Suspense=m,P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,P.__COMPILER_RUNTIME={__proto__:null,c:function(t){return C.H.useMemoCache(t)}},P.cache=function(t){return function(){return t.apply(null,arguments)}},P.cloneElement=function(t,c,_){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var v=E({},t.props),w=t.key,k=void 0;if(c!=null)for(T in c.ref!==void 0&&(k=void 0),c.key!==void 0&&(w=""+c.key),c)!$.call(c,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&c.ref===void 0||(v[T]=c[T]);var T=arguments.length-2;if(T===1)v.children=_;else if(1<T){for(var B=Array(T),b=0;b<T;b++)B[b]=arguments[b+2];v.children=B}return W(t.type,w,void 0,void 0,k,v)},P.createContext=function(t){return t={$$typeof:R,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:d,_context:t},t},P.createElement=function(t,c,_){var v,w={},k=null;if(c!=null)for(v in c.key!==void 0&&(k=""+c.key),c)$.call(c,v)&&v!=="key"&&v!=="__self"&&v!=="__source"&&(w[v]=c[v]);var T=arguments.length-2;if(T===1)w.children=_;else if(1<T){for(var B=Array(T),b=0;b<T;b++)B[b]=arguments[b+2];w.children=B}if(t&&t.defaultProps)for(v in T=t.defaultProps,T)w[v]===void 0&&(w[v]=T[v]);return W(t,k,void 0,void 0,null,w)},P.createRef=function(){return{current:null}},P.forwardRef=function(t){return{$$typeof:D,render:t}},P.isValidElement=F,P.lazy=function(t){return{$$typeof:g,_payload:{_status:-1,_result:t},_init:fe}},P.memo=function(t,c){return{$$typeof:a,type:t,compare:c===void 0?null:c}},P.startTransition=function(t){var c=C.T,_={};C.T=_;try{var v=t(),w=C.S;w!==null&&w(_,v),typeof v=="object"&&v!==null&&typeof v.then=="function"&&v.then(de,ce)}catch(k){ce(k)}finally{C.T=c}},P.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},P.use=function(t){return C.H.use(t)},P.useActionState=function(t,c,_){return C.H.useActionState(t,c,_)},P.useCallback=function(t,c){return C.H.useCallback(t,c)},P.useContext=function(t){return C.H.useContext(t)},P.useDebugValue=function(){},P.useDeferredValue=function(t,c){return C.H.useDeferredValue(t,c)},P.useEffect=function(t,c,_){var v=C.H;if(typeof _=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return v.useEffect(t,c)},P.useId=function(){return C.H.useId()},P.useImperativeHandle=function(t,c,_){return C.H.useImperativeHandle(t,c,_)},P.useInsertionEffect=function(t,c){return C.H.useInsertionEffect(t,c)},P.useLayoutEffect=function(t,c){return C.H.useLayoutEffect(t,c)},P.useMemo=function(t,c){return C.H.useMemo(t,c)},P.useOptimistic=function(t,c){return C.H.useOptimistic(t,c)},P.useReducer=function(t,c,_){return C.H.useReducer(t,c,_)},P.useRef=function(t){return C.H.useRef(t)},P.useState=function(t){return C.H.useState(t)},P.useSyncExternalStore=function(t,c,_){return C.H.useSyncExternalStore(t,c,_)},P.useTransition=function(){return C.H.useTransition()},P.version="19.1.1",P}var Ce={exports:{}};/**
18
- * @license React
19
- * react.development.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */Ce.exports;var at;function It(){return at||(at=1,(function(r,n){process.env.NODE_ENV!=="production"&&(function(){function s(e,u){Object.defineProperty(d.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",u[0],u[1])}})}function f(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}function p(e,u){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var y=e+"."+u;Ae[y]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",u,e),Ae[y]=!0)}function d(e,u,y){this.props=e,this.context=u,this.refs=Se,this.updater=y||Ne}function R(){}function D(e,u,y){this.props=e,this.context=u,this.refs=Se,this.updater=y||Ne}function m(e){return""+e}function a(e){try{m(e);var u=!1}catch{u=!0}if(u){u=console;var y=u.error,h=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return y.call(u,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",h),m(e)}}function g(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ve?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case t:return"Fragment";case _:return"Profiler";case c:return"StrictMode";case T:return"Suspense";case B:return"SuspenseList";case le:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case de:return"Portal";case w:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case k:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case b:return u=e.displayName||null,u!==null?u:g(e.type)||"Memo";case X:u=e._payload,e=e._init;try{return g(e(u))}catch{}}return null}function i(e){if(e===t)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===X)return"<...>";try{var u=g(e);return u?"<"+u+">":"<...>"}catch{return"<...>"}}function o(){var e=L.A;return e===null?null:e.getOwner()}function l(){return Error("react-stack-top-frame")}function E(e){if(ge.call(e,"key")){var u=Object.getOwnPropertyDescriptor(e,"key").get;if(u&&u.isReactWarning)return!1}return e.key!==void 0}function O(e,u){function y(){Q||(Q=!0,console.error("%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://react.dev/link/special-props)",u))}y.isReactWarning=!0,Object.defineProperty(e,"key",{get:y,configurable:!0})}function A(){var e=g(this.type);return $e[e]||($e[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function z(e,u,y,h,S,I,j,Y){return y=I.ref,e={$$typeof:ce,type:e,key:u,props:I,_owner:S},(y!==void 0?y:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:A}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:j}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Y}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function V(e,u){return u=z(e.type,u,void 0,void 0,e._owner,e.props,e._debugStack,e._debugTask),e._store&&(u._store.validated=e._store.validated),u}function U(e){return typeof e=="object"&&e!==null&&e.$$typeof===ce}function H(e){var u={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(y){return u[y]})}function C(e,u){return typeof e=="object"&&e!==null&&e.key!=null?(a(e.key),H(""+e.key)):u.toString(36)}function $(){}function W(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then($,$):(e.status="pending",e.then(function(u){e.status==="pending"&&(e.status="fulfilled",e.value=u)},function(u){e.status==="pending"&&(e.status="rejected",e.reason=u)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function x(e,u,y,h,S){var I=typeof e;(I==="undefined"||I==="boolean")&&(e=null);var j=!1;if(e===null)j=!0;else switch(I){case"bigint":case"string":case"number":j=!0;break;case"object":switch(e.$$typeof){case ce:case de:j=!0;break;case X:return j=e._init,x(j(e._payload),u,y,h,S)}}if(j){j=e,S=S(j);var Y=h===""?"."+C(j,0):h;return ye(S)?(y="",Y!=null&&(y=Y.replace(et,"$&/")+"/"),x(S,u,y,"",function(pe){return pe})):S!=null&&(U(S)&&(S.key!=null&&(j&&j.key===S.key||a(S.key)),y=V(S,y+(S.key==null||j&&j.key===S.key?"":(""+S.key).replace(et,"$&/")+"/")+Y),h!==""&&j!=null&&U(j)&&j.key==null&&j._store&&!j._store.validated&&(y._store.validated=2),S=y),u.push(S)),1}if(j=0,Y=h===""?".":h+":",ye(e))for(var M=0;M<e.length;M++)h=e[M],I=Y+C(h,M),j+=x(h,u,y,I,S);else if(M=f(e),typeof M=="function")for(M===e.entries&&(Ze||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ze=!0),e=M.call(e),M=0;!(h=e.next()).done;)h=h.value,I=Y+C(h,M++),j+=x(h,u,y,I,S);else if(I==="object"){if(typeof e.then=="function")return x(W(e),u,y,h,S);throw u=String(e),Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}return j}function F(e,u,y){if(e==null)return e;var h=[],S=0;return x(e,h,"","",function(I){return u.call(y,I,S++)}),h}function K(e){if(e._status===-1){var u=e._result;u=u(),u.then(function(y){(e._status===0||e._status===-1)&&(e._status=1,e._result=y)},function(y){(e._status===0||e._status===-1)&&(e._status=2,e._result=y)}),e._status===-1&&(e._status=0,e._result=u)}if(e._status===1)return u=e._result,u===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
26
-
27
- Your code should look like:
28
- const MyComponent = lazy(() => import('./MyComponent'))
29
-
30
- Did you accidentally put curly braces around the import?`,u),"default"in u||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
31
-
32
- Your code should look like:
33
- const MyComponent = lazy(() => import('./MyComponent'))`,u),u.default;throw e._result}function N(){var e=L.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
34
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
35
- 2. You might be breaking the Rules of Hooks
36
- 3. You might have more than one copy of React in the same app
37
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function se(){}function ie(e){if(ke===null)try{var u=("require"+Math.random()).slice(0,7);ke=(r&&r[u]).call(r,"timers").setImmediate}catch{ke=function(h){rt===!1&&(rt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var S=new MessageChannel;S.port1.onmessage=h,S.port2.postMessage(void 0)}}return ke(e)}function ne(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function ee(e,u){u!==Pe-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Pe=u}function oe(e,u,y){var h=L.actQueue;if(h!==null)if(h.length!==0)try{fe(h),ie(function(){return oe(e,u,y)});return}catch(S){L.thrownErrors.push(S)}else L.actQueue=null;0<L.thrownErrors.length?(h=ne(L.thrownErrors),L.thrownErrors.length=0,y(h)):u(e)}function fe(e){if(!He){He=!0;var u=0;try{for(;u<e.length;u++){var y=e[u];do{L.didUsePromise=!1;var h=y(!1);if(h!==null){if(L.didUsePromise){e[u]=y,e.splice(0,u);return}y=h}else break}while(!0)}e.length=0}catch(S){e.splice(0,u+1),L.thrownErrors.push(S)}finally{He=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ce=Symbol.for("react.transitional.element"),de=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),w=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),ue=Symbol.iterator,Ae={},Ne={isMounted:function(){return!1},enqueueForceUpdate:function(e){p(e,"forceUpdate")},enqueueReplaceState:function(e){p(e,"replaceState")},enqueueSetState:function(e){p(e,"setState")}},Oe=Object.assign,Se={};Object.freeze(Se),d.prototype.isReactComponent={},d.prototype.setState=function(e,u){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,u,"setState")},d.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var te={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},he;for(he in te)te.hasOwnProperty(he)&&s(he,te[he]);R.prototype=d.prototype,te=D.prototype=new R,te.constructor=D,Oe(te,d.prototype),te.isPureReactComponent=!0;var ye=Array.isArray,ve=Symbol.for("react.client.reference"),L={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ge=Object.prototype.hasOwnProperty,G=console.createTask?console.createTask:function(){return null};te={react_stack_bottom_frame:function(e){return e()}};var Q,ae,$e={},Pt=te.react_stack_bottom_frame.bind(te,l)(),Dt=G(i(l)),Ze=!1,et=/\/+/g,tt=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},rt=!1,ke=null,Pe=0,De=!1,He=!1,nt=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:ie;te=Object.freeze({__proto__:null,c:function(e){return N().useMemoCache(e)}}),n.Children={map:F,forEach:function(e,u,y){F(e,function(){u.apply(this,arguments)},y)},count:function(e){var u=0;return F(e,function(){u++}),u},toArray:function(e){return F(e,function(u){return u})||[]},only:function(e){if(!U(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=d,n.Fragment=t,n.Profiler=_,n.PureComponent=D,n.StrictMode=c,n.Suspense=T,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,n.__COMPILER_RUNTIME=te,n.act=function(e){var u=L.actQueue,y=Pe;Pe++;var h=L.actQueue=u!==null?u:[],S=!1;try{var I=e()}catch(M){L.thrownErrors.push(M)}if(0<L.thrownErrors.length)throw ee(u,y),e=ne(L.thrownErrors),L.thrownErrors.length=0,e;if(I!==null&&typeof I=="object"&&typeof I.then=="function"){var j=I;return nt(function(){S||De||(De=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(M,pe){S=!0,j.then(function(Ee){if(ee(u,y),y===0){try{fe(h),ie(function(){return oe(Ee,M,pe)})}catch(jt){L.thrownErrors.push(jt)}if(0<L.thrownErrors.length){var Lt=ne(L.thrownErrors);L.thrownErrors.length=0,pe(Lt)}}else M(Ee)},function(Ee){ee(u,y),0<L.thrownErrors.length&&(Ee=ne(L.thrownErrors),L.thrownErrors.length=0),pe(Ee)})}}}var Y=I;if(ee(u,y),y===0&&(fe(h),h.length!==0&&nt(function(){S||De||(De=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),L.actQueue=null),0<L.thrownErrors.length)throw e=ne(L.thrownErrors),L.thrownErrors.length=0,e;return{then:function(M,pe){S=!0,y===0?(L.actQueue=h,ie(function(){return oe(Y,M,pe)})):M(Y)}}},n.cache=function(e){return function(){return e.apply(null,arguments)}},n.captureOwnerStack=function(){var e=L.getCurrentStack;return e===null?null:e()},n.cloneElement=function(e,u,y){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var h=Oe({},e.props),S=e.key,I=e._owner;if(u!=null){var j;e:{if(ge.call(u,"ref")&&(j=Object.getOwnPropertyDescriptor(u,"ref").get)&&j.isReactWarning){j=!1;break e}j=u.ref!==void 0}j&&(I=o()),E(u)&&(a(u.key),S=""+u.key);for(Y in u)!ge.call(u,Y)||Y==="key"||Y==="__self"||Y==="__source"||Y==="ref"&&u.ref===void 0||(h[Y]=u[Y])}var Y=arguments.length-2;if(Y===1)h.children=y;else if(1<Y){j=Array(Y);for(var M=0;M<Y;M++)j[M]=arguments[M+2];h.children=j}for(h=z(e.type,S,void 0,void 0,I,h,e._debugStack,e._debugTask),S=2;S<arguments.length;S++)I=arguments[S],U(I)&&I._store&&(I._store.validated=1);return h},n.createContext=function(e){return e={$$typeof:w,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:v,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},n.createElement=function(e,u,y){for(var h=2;h<arguments.length;h++){var S=arguments[h];U(S)&&S._store&&(S._store.validated=1)}if(h={},S=null,u!=null)for(M in ae||!("__self"in u)||"key"in u||(ae=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),E(u)&&(a(u.key),S=""+u.key),u)ge.call(u,M)&&M!=="key"&&M!=="__self"&&M!=="__source"&&(h[M]=u[M]);var I=arguments.length-2;if(I===1)h.children=y;else if(1<I){for(var j=Array(I),Y=0;Y<I;Y++)j[Y]=arguments[Y+2];Object.freeze&&Object.freeze(j),h.children=j}if(e&&e.defaultProps)for(M in I=e.defaultProps,I)h[M]===void 0&&(h[M]=I[M]);S&&O(h,typeof e=="function"?e.displayName||e.name||"Unknown":e);var M=1e4>L.recentlyCreatedOwnerStacks++;return z(e,S,void 0,void 0,o(),h,M?Error("react-stack-top-frame"):Pt,M?G(i(e)):Dt)},n.createRef=function(){var e={current:null};return Object.seal(e),e},n.forwardRef=function(e){e!=null&&e.$$typeof===b?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var u={$$typeof:k,render:e},y;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,e.name||e.displayName||(Object.defineProperty(e,"name",{value:h}),e.displayName=h)}}),u},n.isValidElement=U,n.lazy=function(e){return{$$typeof:X,_payload:{_status:-1,_result:e},_init:K}},n.memo=function(e,u){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),u={$$typeof:b,type:e,compare:u===void 0?null:u};var y;return Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return y},set:function(h){y=h,e.name||e.displayName||(Object.defineProperty(e,"name",{value:h}),e.displayName=h)}}),u},n.startTransition=function(e){var u=L.T,y={};L.T=y,y._updatedFibers=new Set;try{var h=e(),S=L.S;S!==null&&S(y,h),typeof h=="object"&&h!==null&&typeof h.then=="function"&&h.then(se,tt)}catch(I){tt(I)}finally{u===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),L.T=u}},n.unstable_useCacheRefresh=function(){return N().useCacheRefresh()},n.use=function(e){return N().use(e)},n.useActionState=function(e,u,y){return N().useActionState(e,u,y)},n.useCallback=function(e,u){return N().useCallback(e,u)},n.useContext=function(e){var u=N();return e.$$typeof===v&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),u.useContext(e)},n.useDebugValue=function(e,u){return N().useDebugValue(e,u)},n.useDeferredValue=function(e,u){return N().useDeferredValue(e,u)},n.useEffect=function(e,u,y){e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var h=N();if(typeof y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return h.useEffect(e,u)},n.useId=function(){return N().useId()},n.useImperativeHandle=function(e,u,y){return N().useImperativeHandle(e,u,y)},n.useInsertionEffect=function(e,u){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),N().useInsertionEffect(e,u)},n.useLayoutEffect=function(e,u){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),N().useLayoutEffect(e,u)},n.useMemo=function(e,u){return N().useMemo(e,u)},n.useOptimistic=function(e,u){return N().useOptimistic(e,u)},n.useReducer=function(e,u,y){return N().useReducer(e,u,y)},n.useRef=function(e){return N().useRef(e)},n.useState=function(e){return N().useState(e)},n.useSyncExternalStore=function(e,u,y){return N().useSyncExternalStore(e,u,y)},n.useTransition=function(){return N().useTransition()},n.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Ce,Ce.exports)),Ce.exports}var st;function me(){return st||(st=1,process.env.NODE_ENV==="production"?je.exports=xt():je.exports=It()),je.exports}/**
38
- * @license React
39
- * react-jsx-runtime.development.js
40
- *
41
- * Copyright (c) Meta Platforms, Inc. and affiliates.
42
- *
43
- * This source code is licensed under the MIT license found in the
44
- * LICENSE file in the root directory of this source tree.
45
- */var it;function Ut(){return it||(it=1,process.env.NODE_ENV!=="production"&&(function(){function r(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===K?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case O:return"Fragment";case z:return"Profiler";case A:return"StrictMode";case C:return"Suspense";case $:return"SuspenseList";case F:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case E:return"Portal";case U:return(t.displayName||"Context")+".Provider";case V:return(t._context.displayName||"Context")+".Consumer";case H:var c=t.render;return t=t.displayName,t||(t=c.displayName||c.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case W:return c=t.displayName||null,c!==null?c:r(t.type)||"Memo";case x:c=t._payload,t=t._init;try{return r(t(c))}catch{}}return null}function n(t){return""+t}function s(t){try{n(t);var c=!1}catch{c=!0}if(c){c=console;var _=c.error,v=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return _.call(c,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",v),n(t)}}function f(t){if(t===O)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===x)return"<...>";try{var c=r(t);return c?"<"+c+">":"<...>"}catch{return"<...>"}}function p(){var t=N.A;return t===null?null:t.getOwner()}function d(){return Error("react-stack-top-frame")}function R(t){if(se.call(t,"key")){var c=Object.getOwnPropertyDescriptor(t,"key").get;if(c&&c.isReactWarning)return!1}return t.key!==void 0}function D(t,c){function _(){ee||(ee=!0,console.error("%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://react.dev/link/special-props)",c))}_.isReactWarning=!0,Object.defineProperty(t,"key",{get:_,configurable:!0})}function m(){var t=r(this.type);return oe[t]||(oe[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),t=this.props.ref,t!==void 0?t:null}function a(t,c,_,v,w,k,T,B){return _=k.ref,t={$$typeof:l,type:t,key:c,props:k,_owner:w},(_!==void 0?_:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:m}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function g(t,c,_,v,w,k,T,B){var b=c.children;if(b!==void 0)if(v)if(ie(b)){for(v=0;v<b.length;v++)i(b[v]);Object.freeze&&Object.freeze(b)}else console.error("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 i(b);if(se.call(c,"key")){b=r(t);var X=Object.keys(c).filter(function(ue){return ue!=="key"});v=0<X.length?"{key: someKey, "+X.join(": ..., ")+": ...}":"{key: someKey}",de[b+v]||(X=0<X.length?"{"+X.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
46
- let props = %s;
47
- <%s {...props} />
48
- React keys must be passed directly to JSX without using spread:
49
- let props = %s;
50
- <%s key={someKey} {...props} />`,v,b,X,b),de[b+v]=!0)}if(b=null,_!==void 0&&(s(_),b=""+_),R(c)&&(s(c.key),b=""+c.key),"key"in c){_={};for(var le in c)le!=="key"&&(_[le]=c[le])}else _=c;return b&&D(_,typeof t=="function"?t.displayName||t.name||"Unknown":t),a(t,b,k,w,p(),_,T,B)}function i(t){typeof t=="object"&&t!==null&&t.$$typeof===l&&t._store&&(t._store.validated=1)}var o=me(),l=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),U=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),K=Symbol.for("react.client.reference"),N=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=Object.prototype.hasOwnProperty,ie=Array.isArray,ne=console.createTask?console.createTask:function(){return null};o={react_stack_bottom_frame:function(t){return t()}};var ee,oe={},fe=o.react_stack_bottom_frame.bind(o,d)(),ce=ne(f(d)),de={};Te.Fragment=O,Te.jsx=function(t,c,_,v,w){var k=1e4>N.recentlyCreatedOwnerStacks++;return g(t,c,_,!1,v,w,k?Error("react-stack-top-frame"):fe,k?ne(f(t)):ce)},Te.jsxs=function(t,c,_,v,w){var k=1e4>N.recentlyCreatedOwnerStacks++;return g(t,c,_,!0,v,w,k?Error("react-stack-top-frame"):fe,k?ne(f(t)):ce)}})()),Te}var ct;function $t(){return ct||(ct=1,process.env.NODE_ENV==="production"?Le.exports=Mt():Le.exports=Ut()),Le.exports}var re=$t();function Ht({className:r="",renderLogo:n,center:s,right:f}){return re.jsx("nav",{className:`w-full py-4 bg-navbar-bg-color text-navbar-text-color ${r}`,children:re.jsxs("div",{className:"relative flex items-center justify-between max-container",children:[n,s,re.jsx("div",{className:"flex items-center gap-2",children:f})]})})}var q=me();const Yt=(r,n,s,f)=>{var d,R,D,m;const p=[s,{code:n,...f||{}}];if((R=(d=r==null?void 0:r.services)==null?void 0:d.logger)!=null&&R.forward)return r.services.logger.forward(p,"warn","react-i18next::",!0);_e(p[0])&&(p[0]=`react-i18next:: ${p[0]}`),(m=(D=r==null?void 0:r.services)==null?void 0:D.logger)!=null&&m.warn?r.services.logger.warn(...p):console!=null&&console.warn&&console.warn(...p)},ft={},Ke=(r,n,s,f)=>{_e(s)&&ft[s]||(_e(s)&&(ft[s]=new Date),Yt(r,n,s,f))},wt=(r,n)=>()=>{if(r.isInitialized)n();else{const s=()=>{setTimeout(()=>{r.off("initialized",s)},0),n()};r.on("initialized",s)}},Be=(r,n,s)=>{r.loadNamespaces(n,wt(r,s))},lt=(r,n,s,f)=>{if(_e(s)&&(s=[s]),r.options.preload&&r.options.preload.indexOf(n)>-1)return Be(r,s,f);s.forEach(p=>{r.options.ns.indexOf(p)<0&&r.options.ns.push(p)}),r.loadLanguages(n,wt(r,f))},zt=(r,n,s={})=>!n.languages||!n.languages.length?(Ke(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0):n.hasLoadedNamespace(r,{lng:s.lng,precheck:(f,p)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&f.services.backendConnector.backend&&f.isLanguageChangingTo&&!p(f.isLanguageChangingTo,r))return!1}}),_e=r=>typeof r=="string",Vt=r=>typeof r=="object"&&r!==null,Wt=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,qt={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Gt=r=>qt[r],Ft=r=>r.replace(Wt,Gt);let Kt={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Ft};const Bt=()=>Kt;let Xt;const Qt=()=>Xt,Jt=q.createContext();class Zt{constructor(){this.usedNamespaces={}}addUsedNamespaces(n){n.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const er=(r,n)=>{const s=q.useRef();return q.useEffect(()=>{s.current=r},[r,n]),s.current},Ct=(r,n,s,f)=>r.getFixedT(n,s,f),tr=(r,n,s,f)=>q.useCallback(Ct(r,n,s,f),[r,n,s,f]),rr=(r,n={})=>{var H,C,$,W;const{i18n:s}=n,{i18n:f,defaultNS:p}=q.useContext(Jt)||{},d=s||f||Qt();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new Zt),!d){Ke(d,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const x=(K,N)=>_e(N)?N:Vt(N)&&_e(N.defaultValue)?N.defaultValue:Array.isArray(K)?K[K.length-1]:K,F=[x,{},!1];return F.t=x,F.i18n={},F.ready=!1,F}(H=d.options.react)!=null&&H.wait&&Ke(d,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const R={...Bt(),...d.options.react,...n},{useSuspense:D,keyPrefix:m}=R;let a=p||((C=d.options)==null?void 0:C.defaultNS);a=_e(a)?[a]:a||["translation"],(W=($=d.reportNamespaces).addUsedNamespaces)==null||W.call($,a);const g=(d.isInitialized||d.initializedStoreOnce)&&a.every(x=>zt(x,d,R)),i=tr(d,n.lng||null,R.nsMode==="fallback"?a:a[0],m),o=()=>i,l=()=>Ct(d,n.lng||null,R.nsMode==="fallback"?a:a[0],m),[E,O]=q.useState(o);let A=a.join();n.lng&&(A=`${n.lng}${A}`);const z=er(A),V=q.useRef(!0);q.useEffect(()=>{const{bindI18n:x,bindI18nStore:F}=R;V.current=!0,!g&&!D&&(n.lng?lt(d,n.lng,a,()=>{V.current&&O(l)}):Be(d,a,()=>{V.current&&O(l)})),g&&z&&z!==A&&V.current&&O(l);const K=()=>{V.current&&O(l)};return x&&(d==null||d.on(x,K)),F&&(d==null||d.store.on(F,K)),()=>{V.current=!1,d&&x&&(x==null||x.split(" ").forEach(N=>d.off(N,K))),F&&d&&F.split(" ").forEach(N=>d.store.off(N,K))}},[d,A]),q.useEffect(()=>{V.current&&g&&O(o)},[d,m,g]);const U=[E,d,g];if(U.t=E,U.i18n=d,U.ready=g,g||!g&&!D)return U;throw new Promise(x=>{n.lng?lt(d,n.lng,a,()=>x()):Be(d,a,()=>x())})};function nr(){const{t:r,i18n:n}=rr();return{t:r,i18n:n,toggleLanguage:()=>{const f=n.language==="en"?"es":"en";n.changeLanguage(f)}}}const or=[{id:1,name:"menu.store",route:"/store",isMainAction:!0},{id:2,name:"menu.about",route:"/info"},{id:3,name:"menu.contact",route:"/contact-us"}];var ur=process.env.NODE_ENV==="production",Ye="Invariant failed";function ar(r,n){if(!r){if(ur)throw new Error(Ye);var s=typeof n=="function"?n():n,f=s?"".concat(Ye,": ").concat(s):Ye;throw new Error(f)}}var sr=process.env.NODE_ENV==="production";function ir(r,n){if(!sr){if(r)return;var s="Warning: "+n;typeof console<"u"&&console.warn(s);try{throw Error(s)}catch{}}}function cr(r){return typeof r=="function"}function dt(r,n){return cr(r)?r(n):r}function At(r,n){if(r===n)return r;const s=n,f=yt(r)&&yt(s);if(f||pt(r)&&pt(s)){const p=f?r:Object.keys(r).concat(Object.getOwnPropertySymbols(r)),d=p.length,R=f?s:Object.keys(s).concat(Object.getOwnPropertySymbols(s)),D=R.length,m=f?[]:{};let a=0;for(let g=0;g<D;g++){const i=f?g:R[g];(!f&&p.includes(i)||f)&&r[i]===void 0&&s[i]===void 0?(m[i]=void 0,a++):(m[i]=At(r[i],s[i]),m[i]===r[i]&&r[i]!==void 0&&a++)}return d===D&&a===d?r:m}return s}function pt(r){return Xe(r)&&Object.getOwnPropertyNames(r).length===Object.keys(r).length}function Xe(r){if(!mt(r))return!1;const n=r.constructor;if(typeof n>"u")return!0;const s=n.prototype;return!(!mt(s)||!s.hasOwnProperty("isPrototypeOf"))}function mt(r){return Object.prototype.toString.call(r)==="[object Object]"}function yt(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function gt(r,n){let s=Object.keys(r);return n&&(s=s.filter(f=>r[f]!==void 0)),s}function Qe(r,n,s){if(r===n)return!0;if(typeof r!=typeof n)return!1;if(Xe(r)&&Xe(n)){const f=(s==null?void 0:s.ignoreUndefined)??!0,p=gt(r,f),d=gt(n,f);return!(s!=null&&s.partial)&&p.length!==d.length?!1:d.every(R=>Qe(r[R],n[R],s))}return Array.isArray(r)&&Array.isArray(n)?r.length!==n.length?!1:!r.some((f,p)=>!Qe(f,n[p],s)):!1}function Ue(r,n){return r!=null&&r.endsWith("/")&&r!=="/"&&r!==`${n}/`?r.slice(0,-1):r}function fr(r,n,s){return Ue(r,s)===Ue(n,s)}const lr="Error preloading route! ☝️";var Me={exports:{}},ze={},xe={exports:{}},Ve={};/**
51
- * @license React
52
- * use-sync-external-store-shim.production.js
53
- *
54
- * Copyright (c) Meta Platforms, Inc. and affiliates.
55
- *
56
- * This source code is licensed under the MIT license found in the
57
- * LICENSE file in the root directory of this source tree.
58
- */var _t;function dr(){if(_t)return Ve;_t=1;var r=me();function n(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var s=typeof Object.is=="function"?Object.is:n,f=r.useState,p=r.useEffect,d=r.useLayoutEffect,R=r.useDebugValue;function D(i,o){var l=o(),E=f({inst:{value:l,getSnapshot:o}}),O=E[0].inst,A=E[1];return d(function(){O.value=l,O.getSnapshot=o,m(O)&&A({inst:O})},[i,l,o]),p(function(){return m(O)&&A({inst:O}),i(function(){m(O)&&A({inst:O})})},[i]),R(l),l}function m(i){var o=i.getSnapshot;i=i.value;try{var l=o();return!s(i,l)}catch{return!0}}function a(i,o){return o()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?a:D;return Ve.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:g,Ve}var We={};/**
59
- * @license React
60
- * use-sync-external-store-shim.development.js
61
- *
62
- * Copyright (c) Meta Platforms, Inc. and affiliates.
63
- *
64
- * This source code is licensed under the MIT license found in the
65
- * LICENSE file in the root directory of this source tree.
66
- */var ht;function pr(){return ht||(ht=1,process.env.NODE_ENV!=="production"&&(function(){function r(l,E){return l===E&&(l!==0||1/l===1/E)||l!==l&&E!==E}function n(l,E){g||p.startTransition===void 0||(g=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=E();if(!i){var A=E();d(O,A)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),i=!0)}A=R({inst:{value:O,getSnapshot:E}});var z=A[0].inst,V=A[1];return m(function(){z.value=O,z.getSnapshot=E,s(z)&&V({inst:z})},[l,O,E]),D(function(){return s(z)&&V({inst:z}),l(function(){s(z)&&V({inst:z})})},[l]),a(O),O}function s(l){var E=l.getSnapshot;l=l.value;try{var O=E();return!d(l,O)}catch{return!0}}function f(l,E){return E()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p=me(),d=typeof Object.is=="function"?Object.is:r,R=p.useState,D=p.useEffect,m=p.useLayoutEffect,a=p.useDebugValue,g=!1,i=!1,o=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:n;We.useSyncExternalStore=p.useSyncExternalStore!==void 0?p.useSyncExternalStore:o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),We}var vt;function Nt(){return vt||(vt=1,process.env.NODE_ENV==="production"?xe.exports=dr():xe.exports=pr()),xe.exports}/**
67
- * @license React
68
- * use-sync-external-store-shim/with-selector.production.js
69
- *
70
- * Copyright (c) Meta Platforms, Inc. and affiliates.
71
- *
72
- * This source code is licensed under the MIT license found in the
73
- * LICENSE file in the root directory of this source tree.
74
- */var Et;function mr(){if(Et)return ze;Et=1;var r=me(),n=Nt();function s(a,g){return a===g&&(a!==0||1/a===1/g)||a!==a&&g!==g}var f=typeof Object.is=="function"?Object.is:s,p=n.useSyncExternalStore,d=r.useRef,R=r.useEffect,D=r.useMemo,m=r.useDebugValue;return ze.useSyncExternalStoreWithSelector=function(a,g,i,o,l){var E=d(null);if(E.current===null){var O={hasValue:!1,value:null};E.current=O}else O=E.current;E=D(function(){function z($){if(!V){if(V=!0,U=$,$=o($),l!==void 0&&O.hasValue){var W=O.value;if(l(W,$))return H=W}return H=$}if(W=H,f(U,$))return W;var x=o($);return l!==void 0&&l(W,x)?(U=$,W):(U=$,H=x)}var V=!1,U,H,C=i===void 0?null:i;return[function(){return z(g())},C===null?void 0:function(){return z(C())}]},[g,i,o,l]);var A=p(a,E[0],E[1]);return R(function(){O.hasValue=!0,O.value=A},[A]),m(A),A},ze}var qe={};/**
75
- * @license React
76
- * use-sync-external-store-shim/with-selector.development.js
77
- *
78
- * Copyright (c) Meta Platforms, Inc. and affiliates.
79
- *
80
- * This source code is licensed under the MIT license found in the
81
- * LICENSE file in the root directory of this source tree.
82
- */var Ot;function yr(){return Ot||(Ot=1,process.env.NODE_ENV!=="production"&&(function(){function r(a,g){return a===g&&(a!==0||1/a===1/g)||a!==a&&g!==g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=me(),s=Nt(),f=typeof Object.is=="function"?Object.is:r,p=s.useSyncExternalStore,d=n.useRef,R=n.useEffect,D=n.useMemo,m=n.useDebugValue;qe.useSyncExternalStoreWithSelector=function(a,g,i,o,l){var E=d(null);if(E.current===null){var O={hasValue:!1,value:null};E.current=O}else O=E.current;E=D(function(){function z($){if(!V){if(V=!0,U=$,$=o($),l!==void 0&&O.hasValue){var W=O.value;if(l(W,$))return H=W}return H=$}if(W=H,f(U,$))return W;var x=o($);return l!==void 0&&l(W,x)?(U=$,W):(U=$,H=x)}var V=!1,U,H,C=i===void 0?null:i;return[function(){return z(g())},C===null?void 0:function(){return z(C())}]},[g,i,o,l]);var A=p(a,E[0],E[1]);return R(function(){O.hasValue=!0,O.value=A},[A]),m(A),A},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),qe}var St;function gr(){return St||(St=1,process.env.NODE_ENV==="production"?Me.exports=mr():Me.exports=yr()),Me.exports}var _r=gr();function hr(r,n=s=>s){return _r.useSyncExternalStoreWithSelector(r.subscribe,()=>r.state,()=>r.state,n,vr)}function vr(r,n){if(Object.is(r,n))return!0;if(typeof r!="object"||r===null||typeof n!="object"||n===null)return!1;if(r instanceof Map&&n instanceof Map){if(r.size!==n.size)return!1;for(const[f,p]of r)if(!n.has(f)||!Object.is(p,n.get(f)))return!1;return!0}if(r instanceof Set&&n instanceof Set){if(r.size!==n.size)return!1;for(const f of r)if(!n.has(f))return!1;return!0}if(r instanceof Date&&n instanceof Date)return r.getTime()===n.getTime();const s=Object.keys(r);if(s.length!==Object.keys(n).length)return!1;for(let f=0;f<s.length;f++)if(!Object.prototype.hasOwnProperty.call(n,s[f])||!Object.is(r[s[f]],n[s[f]]))return!1;return!0}const Ge=q.createContext(null);function Er(){return typeof document>"u"?Ge:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=Ge,Ge)}function kt(r){const n=q.useContext(Er());return ir(!(((r==null?void 0:r.warn)??!0)&&!n),"useRouter must be used inside a <RouterProvider> component!"),n}function Je(r){const n=kt({warn:(r==null?void 0:r.router)===void 0}),s=(r==null?void 0:r.router)||n,f=q.useRef(void 0);return hr(s.__store,p=>{if(r!=null&&r.select){if(r.structuralSharing??s.options.defaultStructuralSharing){const d=At(f.current,r.select(p));return f.current=d,d}return r.select(p)}return p})}const Or=q.createContext(void 0),Sr=q.createContext(void 0);function Rr(r){const n=q.useContext(r.from?Sr:Or);return Je({select:f=>{const p=f.matches.find(d=>r.from?r.from===d.routeId:d.id===n);if(ar(!((r.shouldThrow??!0)&&!p),`Could not find ${r.from?`an active match from "${r.from}"`:"a nearest match!"}`),p!==void 0)return r.select?r.select(p):p},structuralSharing:r.structuralSharing})}var Ie={exports:{}},J={};/**
83
- * @license React
84
- * react-dom.production.js
85
- *
86
- * Copyright (c) Meta Platforms, Inc. and affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */var Rt;function Tr(){if(Rt)return J;Rt=1;var r=me();function n(m){var a="https://react.dev/errors/"+m;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)a+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var f={d:{f:s,r:function(){throw Error(n(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},p=Symbol.for("react.portal");function d(m,a,g){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:p,key:i==null?null:""+i,children:m,containerInfo:a,implementation:g}}var R=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function D(m,a){if(m==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}return J.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,J.createPortal=function(m,a){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(n(299));return d(m,a,null,g)},J.flushSync=function(m){var a=R.T,g=f.p;try{if(R.T=null,f.p=2,m)return m()}finally{R.T=a,f.p=g,f.d.f()}},J.preconnect=function(m,a){typeof m=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,f.d.C(m,a))},J.prefetchDNS=function(m){typeof m=="string"&&f.d.D(m)},J.preinit=function(m,a){if(typeof m=="string"&&a&&typeof a.as=="string"){var g=a.as,i=D(g,a.crossOrigin),o=typeof a.integrity=="string"?a.integrity:void 0,l=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;g==="style"?f.d.S(m,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:i,integrity:o,fetchPriority:l}):g==="script"&&f.d.X(m,{crossOrigin:i,integrity:o,fetchPriority:l,nonce:typeof a.nonce=="string"?a.nonce:void 0})}},J.preinitModule=function(m,a){if(typeof m=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var g=D(a.as,a.crossOrigin);f.d.M(m,{crossOrigin:g,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0})}}else a==null&&f.d.M(m)},J.preload=function(m,a){if(typeof m=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var g=a.as,i=D(g,a.crossOrigin);f.d.L(m,g,{crossOrigin:i,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}},J.preloadModule=function(m,a){if(typeof m=="string")if(a){var g=D(a.as,a.crossOrigin);f.d.m(m,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:g,integrity:typeof a.integrity=="string"?a.integrity:void 0})}else f.d.m(m)},J.requestFormReset=function(m){f.d.r(m)},J.unstable_batchedUpdates=function(m,a){return m(a)},J.useFormState=function(m,a,g){return R.H.useFormState(m,a,g)},J.useFormStatus=function(){return R.H.useHostTransitionStatus()},J.version="19.1.1",J}var Z={};/**
91
- * @license React
92
- * react-dom.development.js
93
- *
94
- * Copyright (c) Meta Platforms, Inc. and affiliates.
95
- *
96
- * This source code is licensed under the MIT license found in the
97
- * LICENSE file in the root directory of this source tree.
98
- */var Tt;function br(){return Tt||(Tt=1,process.env.NODE_ENV!=="production"&&(function(){function r(){}function n(i){return""+i}function s(i,o,l){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(E);var O=!1}catch{O=!0}return O&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object"),n(E)),{$$typeof:a,key:E==null?null:""+E,children:i,containerInfo:o,implementation:l}}function f(i,o){if(i==="font")return"";if(typeof o=="string")return o==="use-credentials"?o:""}function p(i){return i===null?"`null`":i===void 0?"`undefined`":i===""?"an empty string":'something with type "'+typeof i+'"'}function d(i){return i===null?"`null`":i===void 0?"`undefined`":i===""?"an empty string":typeof i=="string"?JSON.stringify(i):typeof i=="number"?"`"+i+"`":'something with type "'+typeof i+'"'}function R(){var i=g.H;return i===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
99
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
100
- 2. You might be breaking the Rules of Hooks
101
- 3. You might have more than one copy of React in the same app
102
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),i}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var D=me(),m={d:{f:r,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for("react.portal"),g=D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Z.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=m,Z.createPortal=function(i,o){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)throw Error("Target container is not a DOM element.");return s(i,o,null,l)},Z.flushSync=function(i){var o=g.T,l=m.p;try{if(g.T=null,m.p=2,i)return i()}finally{g.T=o,m.p=l,m.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Z.preconnect=function(i,o){typeof i=="string"&&i?o!=null&&typeof o!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",d(o)):o!=null&&typeof o.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",p(o.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(i)),typeof i=="string"&&(o?(o=o.crossOrigin,o=typeof o=="string"?o==="use-credentials"?o:"":void 0):o=null,m.d.C(i,o))},Z.prefetchDNS=function(i){if(typeof i!="string"||!i)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(i));else if(1<arguments.length){var o=arguments[1];typeof o=="object"&&o.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(o)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(o))}typeof i=="string"&&m.d.D(i)},Z.preinit=function(i,o){if(typeof i=="string"&&i?o==null||typeof o!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",d(o)):o.as!=="style"&&o.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',d(o.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(i)),typeof i=="string"&&o&&typeof o.as=="string"){var l=o.as,E=f(l,o.crossOrigin),O=typeof o.integrity=="string"?o.integrity:void 0,A=typeof o.fetchPriority=="string"?o.fetchPriority:void 0;l==="style"?m.d.S(i,typeof o.precedence=="string"?o.precedence:void 0,{crossOrigin:E,integrity:O,fetchPriority:A}):l==="script"&&m.d.X(i,{crossOrigin:E,integrity:O,fetchPriority:A,nonce:typeof o.nonce=="string"?o.nonce:void 0})}},Z.preinitModule=function(i,o){var l="";if(typeof i=="string"&&i||(l+=" The `href` argument encountered was "+p(i)+"."),o!==void 0&&typeof o!="object"?l+=" The `options` argument encountered was "+p(o)+".":o&&"as"in o&&o.as!=="script"&&(l+=" The `as` option encountered was "+d(o.as)+"."),l)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",l);else switch(l=o&&typeof o.as=="string"?o.as:"script",l){case"script":break;default:l=d(l),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',l,i)}typeof i=="string"&&(typeof o=="object"&&o!==null?(o.as==null||o.as==="script")&&(l=f(o.as,o.crossOrigin),m.d.M(i,{crossOrigin:l,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0})):o==null&&m.d.M(i))},Z.preload=function(i,o){var l="";if(typeof i=="string"&&i||(l+=" The `href` argument encountered was "+p(i)+"."),o==null||typeof o!="object"?l+=" The `options` argument encountered was "+p(o)+".":typeof o.as=="string"&&o.as||(l+=" The `as` option encountered was "+p(o.as)+"."),l&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',l),typeof i=="string"&&typeof o=="object"&&o!==null&&typeof o.as=="string"){l=o.as;var E=f(l,o.crossOrigin);m.d.L(i,l,{crossOrigin:E,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0,type:typeof o.type=="string"?o.type:void 0,fetchPriority:typeof o.fetchPriority=="string"?o.fetchPriority:void 0,referrerPolicy:typeof o.referrerPolicy=="string"?o.referrerPolicy:void 0,imageSrcSet:typeof o.imageSrcSet=="string"?o.imageSrcSet:void 0,imageSizes:typeof o.imageSizes=="string"?o.imageSizes:void 0,media:typeof o.media=="string"?o.media:void 0})}},Z.preloadModule=function(i,o){var l="";typeof i=="string"&&i||(l+=" The `href` argument encountered was "+p(i)+"."),o!==void 0&&typeof o!="object"?l+=" The `options` argument encountered was "+p(o)+".":o&&"as"in o&&typeof o.as!="string"&&(l+=" The `as` option encountered was "+p(o.as)+"."),l&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',l),typeof i=="string"&&(o?(l=f(o.as,o.crossOrigin),m.d.m(i,{as:typeof o.as=="string"&&o.as!=="script"?o.as:void 0,crossOrigin:l,integrity:typeof o.integrity=="string"?o.integrity:void 0})):m.d.m(i))},Z.requestFormReset=function(i){m.d.r(i)},Z.unstable_batchedUpdates=function(i,o){return i(o)},Z.useFormState=function(i,o,l){return R().useFormState(i,o,l)},Z.useFormStatus=function(){return R().useHostTransitionStatus()},Z.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Z}var bt;function wr(){if(bt)return Ie.exports;bt=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(n){console.error(n)}}}return process.env.NODE_ENV==="production"?(r(),Ie.exports=Tr()):Ie.exports=br(),Ie.exports}var Cr=wr();function Ar(r,n,s={},f={}){q.useEffect(()=>{if(!r.current||f.disabled||typeof IntersectionObserver!="function")return;const p=new IntersectionObserver(([d])=>{n(d)},s);return p.observe(r.current),()=>{p.disconnect()}},[n,s,f.disabled,r])}function Nr(r){const n=q.useRef(null);return q.useImperativeHandle(r,()=>n.current,[]),n}function kr(r,n){const s=kt(),[f,p]=q.useState(!1),d=q.useRef(!1),R=Nr(n),{activeProps:D,inactiveProps:m,activeOptions:a,to:g,preload:i,preloadDelay:o,hashScrollIntoView:l,replace:E,startTransition:O,resetScroll:A,viewTransition:z,children:V,target:U,disabled:H,style:C,className:$,onClick:W,onFocus:x,onMouseEnter:F,onMouseLeave:K,onTouchStart:N,ignoreBlocker:se,params:ie,search:ne,hash:ee,state:oe,mask:fe,reloadDocument:ce,unsafeRelative:de,from:t,_fromLocation:c,..._}=r,v=q.useMemo(()=>{try{return new URL(g),"external"}catch{}return"internal"},[g]),w=Je({select:G=>G.location.search,structuralSharing:!0}),k=Rr({strict:!1,select:G=>r.from??G.fullPath}),T=q.useMemo(()=>s.buildLocation({...r,from:k}),[s,w,r._fromLocation,k,r.hash,r.to,r.search,r.params,r.state,r.mask,r.unsafeRelative]),B=v==="external",b=r.reloadDocument||B?!1:i??s.options.defaultPreload,X=o??s.options.defaultPreloadDelay??0,le=Je({select:G=>{if(B)return!1;if(a!=null&&a.exact){if(!fr(G.location.pathname,T.pathname,s.basepath))return!1}else{const Q=Ue(G.location.pathname,s.basepath),ae=Ue(T.pathname,s.basepath);if(!(Q.startsWith(ae)&&(Q.length===ae.length||Q[ae.length]==="/")))return!1}return((a==null?void 0:a.includeSearch)??!0)&&!Qe(G.location.search,T.search,{partial:!(a!=null&&a.exact),ignoreUndefined:!(a!=null&&a.explicitUndefined)})?!1:a!=null&&a.includeHash?G.location.hash===T.hash:!0}}),ue=q.useCallback(()=>{s.preloadRoute({...r,from:k}).catch(G=>{console.warn(G),console.warn(lr)})},[s,r.to,r._fromLocation,k,r.search,r.hash,r.params,r.state,r.mask,r.unsafeRelative,r.hashScrollIntoView,r.href,r.ignoreBlocker,r.reloadDocument,r.replace,r.resetScroll,r.viewTransition]),Ae=q.useCallback(G=>{G!=null&&G.isIntersecting&&ue()},[ue]);if(Ar(R,Ae,Mr,{disabled:!!H||b!=="viewport"}),q.useEffect(()=>{d.current||!H&&b==="render"&&(ue(),d.current=!0)},[H,ue,b]),B)return{..._,ref:R,type:v,href:g,...V&&{children:V},...U&&{target:U},...H&&{disabled:H},...C&&{style:C},...$&&{className:$},...W&&{onClick:W},...x&&{onFocus:x},...F&&{onMouseEnter:F},...K&&{onMouseLeave:K},...N&&{onTouchStart:N}};const Ne=G=>{if(!H&&!Ir(G)&&!G.defaultPrevented&&(!U||U==="_self")&&G.button===0){G.preventDefault(),Cr.flushSync(()=>{p(!0)});const Q=s.subscribe("onResolved",()=>{Q(),p(!1)});s.navigate({...r,from:k,replace:E,resetScroll:A,hashScrollIntoView:l,startTransition:O,viewTransition:z,ignoreBlocker:se})}},Oe=G=>{H||b&&ue()},Se=Oe,te=G=>{if(!(H||!b))if(!X)ue();else{const Q=G.target;if(be.has(Q))return;const ae=setTimeout(()=>{be.delete(Q),ue()},X);be.set(Q,ae)}},he=G=>{if(H||!b||!X)return;const Q=G.target,ae=be.get(Q);ae&&(clearTimeout(ae),be.delete(Q))},ye=le?dt(D,{})??Pr:Fe,ve=le?Fe:dt(m,{})??Fe,L=[$,ye.className,ve.className].filter(Boolean).join(" "),ge=(C||ye.style||ve.style)&&{...C,...ye.style,...ve.style};return{..._,...ye,...ve,href:H?void 0:T.maskedLocation?s.history.createHref(T.maskedLocation.href):s.history.createHref(T.href),ref:R,onClick:we([W,Ne]),onFocus:we([x,Oe]),onMouseEnter:we([F,te]),onMouseLeave:we([K,he]),onTouchStart:we([N,Se]),disabled:!!H,target:U,...ge&&{style:ge},...L&&{className:L},...H&&Dr,...le&&Lr,...f&&jr}}const Fe={},Pr={className:"active"},Dr={role:"link","aria-disabled":!0},Lr={"data-status":"active","aria-current":"page"},jr={"data-transitioning":"transitioning"},be=new WeakMap,Mr={rootMargin:"100px"},we=r=>n=>{r.filter(Boolean).forEach(s=>{n.defaultPrevented||s(n)})},xr=q.forwardRef((r,n)=>{const{_asChild:s,...f}=r,{type:p,ref:d,...R}=kr(f,n),D=typeof f.children=="function"?f.children({isActive:R["data-status"]==="active"}):f.children;return s===void 0&&delete R.disabled,q.createElement(s||"a",{...R,ref:d},D)});function Ir(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function Ur({className:r="",classNameItems:n=""}){const{t:s}=nr();return re.jsx("div",{className:`${r} flex flex-1 w-full items-center gap-5`,children:or.map(f=>re.jsx(xr,{to:f.route??"",className:`${f.isMainAction?"bg-submenu-main-bg-color hover:bg-submenu-main-hover-bg-color border border-submenu-main-border-color text-submenu-main-text-color hover:text-submenu-main-hover-text-color rounded-full px-7 py-2":"!p-0 text-submenu-text-color hover:text-submenu-hover-text-color bg-submenu-bg-color hover:bg-submenu-hover-bg-color border border-submenu-border-color"} flex items-center text-sm lg:text-base w-max font-bold cursor-pointer ${n}`,children:s(f.name)},f.id))})}function $r({className:r="",subMenuHeaderLeft:n,subMenuHeaderRight:s}){return re.jsx("nav",{className:`${r} w-full bg-submenuheader-bg-color border-y border-y-submenuheader-border-color`,children:re.jsxs("div",{className:"w-full h-[4.5rem] max-h-[4.5rem] grid grid-cols-12 items-center gap-5 max-container",children:[re.jsx("div",{className:"flex items-center w-full col-span-4 gap-5 md:col-span-8",children:n??re.jsx(Ur,{})}),re.jsx("div",{className:"flex items-center justify-end col-span-8 md:col-span-4 font-primary",children:s})]})})}function Hr({renderNavbar:r,renderSubMenuHeader:n}){return re.jsxs(re.Fragment,{children:[r??re.jsx(Ht,{}),n??re.jsx($r,{})]})}exports.CoreHeader=Hr;