gt-react 9.2.12-alpha.2 → 9.2.12-alpha.4

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,19 +1 @@
1
- "use strict";require("generaltranslation");const e=e=>`Duplicate key found in dictionary: "${e}"`;function t(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var n,o={exports:{}},a={};function i(){if(n)return a;n=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}function v(){}function g(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var _=g.prototype=new v;_.constructor=g,m(_,b.prototype),_.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function O(t,r,n,o,a,i){return n=i.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:i}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var j=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function C(){}function $(r,n,o,a,i){var u=typeof r;"undefined"!==u&&"boolean"!==u||(r=null);var l,s,c=!1;if(null===r)c=!0;else switch(u){case"bigint":case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0;break;case p:return $((c=r._init)(r._payload),n,o,a,i)}}if(c)return i=i(r),c=""===a?"."+R(r,0):a,w(i)?(o="",null!=c&&(o=c.replace(j,"$&/")+"/"),$(i,n,o,"",(function(e){return e}))):null!=i&&(E(i)&&(l=i,s=o+(null==i.key||r&&r.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+c,i=O(l.type,s,void 0,0,0,l.props)),n.push(i)),1;c=0;var f,y=""===a?".":a+":";if(w(r))for(var m=0;m<r.length;m++)c+=$(a=r[m],n,o,u=y+R(a,m),i);else if("function"==typeof(m=null===(f=r)||"object"!=typeof f?null:"function"==typeof(f=d&&f[d]||f["@@iterator"])?f:null))for(r=m.call(r),m=0;!(a=r.next()).done;)c+=$(a=a.value,n,o,u=y+R(a,m++),i);else if("object"===u){if("function"==typeof r.then)return $(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(r),n,o,a,i);throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return c}function x(e,t,r){if(null==e)return e;var n=[],o=0;return $(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function P(){}return a.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},a.Component=b,a.Fragment=r,a.Profiler=i,a.PureComponent=g,a.StrictMode=o,a.Suspense=c,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,a.act=function(){throw Error("act(...) is not supported in production builds of React.")},a.cache=function(e){return function(){return e.apply(null,arguments)}},a.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.ref&&void 0,void 0!==t.key&&(o=""+t.key),t)!k.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(n[a]=t[a]);var a=arguments.length-2;if(1===a)n.children=r;else if(1<a){for(var i=Array(a),u=0;u<a;u++)i[u]=arguments[u+2];n.children=i}return O(e.type,o,void 0,0,0,n)},a.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:u,_context:e},e},a.createElement=function(e,t,r){var n,o={},a=null;if(null!=t)for(n in void 0!==t.key&&(a=""+t.key),t)k.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return O(e,a,void 0,0,0,o)},a.createRef=function(){return{current:null}},a.forwardRef=function(e){return{$$typeof:s,render:e}},a.isValidElement=E,a.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:T}},a.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},a.startTransition=function(e){var t=S.T,r={};S.T=r;try{var n=e(),o=S.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(P,A)}catch(e){A(e)}finally{S.T=t}},a.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},a.use=function(e){return S.H.use(e)},a.useActionState=function(e,t,r){return S.H.useActionState(e,t,r)},a.useCallback=function(e,t){return S.H.useCallback(e,t)},a.useContext=function(e){return S.H.useContext(e)},a.useDebugValue=function(){},a.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},a.useEffect=function(e,t){return S.H.useEffect(e,t)},a.useId=function(){return S.H.useId()},a.useImperativeHandle=function(e,t,r){return S.H.useImperativeHandle(e,t,r)},a.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},a.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},a.useMemo=function(e,t){return S.H.useMemo(e,t)},a.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},a.useReducer=function(e,t,r){return S.H.useReducer(e,t,r)},a.useRef=function(e){return S.H.useRef(e)},a.useState=function(e){return S.H.useState(e)},a.useSyncExternalStore=function(e,t,r){return S.H.useSyncExternalStore(e,t,r)},a.useTransition=function(){return S.H.useTransition()},a.version="19.0.0",a}var u,l,s={exports:{}};
2
- /**
3
- * @license React
4
- * react.development.js
5
- *
6
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */function c(){return u||(u=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){function r(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function n(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}function o(e,t){var r=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;J[r]||(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.",t,e),J[r]=!0)}function a(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||K}function i(){}function u(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||K}function l(e){return""+e}function s(e){try{l(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,n="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),l(e)}}function c(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===se?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case I:return"Fragment";case V:return"Portal";case F:return"Profiler";case M:return"StrictMode";case z:return"Suspense";case q:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case L:return(e.displayName||"Context")+".Provider";case H:return(e._context.displayName||"Context")+".Consumer";case U:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return null!==(t=e.displayName||null)?t:c(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return c(e(t))}catch(e){}}return null}function f(e){return"string"==typeof e||"function"==typeof e||e===I||e===F||e===M||e===z||e===q||e===G||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===Y||e.$$typeof===L||e.$$typeof===H||e.$$typeof===U||e.$$typeof===pe||void 0!==e.getModuleId)}function p(){}function d(e){if(void 0===ye)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||"",me=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ye+e+me}function y(e,t){if(!e||ve)return"";var r=ge.get(e);if(void 0!==r)return r;ve=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n;n=ce.H,ce.H=null,function(){if(0===de){te=console.log,re=console.info,ne=console.warn,oe=console.error,ae=console.group,ie=console.groupCollapsed,ue=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}de++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=o.DetermineComponentFrameRoot(),u=i[0],l=i[1];if(u&&l){var s=u.split("\n"),c=l.split("\n");for(i=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===s.length||i===c.length)for(a=s.length-1,i=c.length-1;1<=a&&0<=i&&s[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(s[a]!==c[i]){if(1!==a||1!==i)do{if(a--,0>--i||s[a]!==c[i]){var f="\n"+s[a].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&ge.set(e,f),f}}while(1<=a&&0<=i);break}}}finally{ve=!1,ce.H=n,function(){if(0==--de){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},e,{value:te}),info:X({},e,{value:re}),warn:X({},e,{value:ne}),error:X({},e,{value:oe}),group:X({},e,{value:ae}),groupCollapsed:X({},e,{value:ie}),groupEnd:X({},e,{value:ue})})}0>de&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}return s=(s=e?e.displayName||e.name:"")?d(s):"","function"==typeof e&&ge.set(e,s),s}function m(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return y(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return d(e);switch(e){case z:return d("Suspense");case q:return d("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case U:return e=y(e.render,!1);case Y:return m(e.type);case W:t=e._payload,e=e._init;try{return m(e(t))}catch(e){}}return""}function h(){var e=ce.A;return null===e?null:e.getOwner()}function b(e){if(fe.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function v(){var e=c(this.type);return we[e]||(we[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.")),void 0!==(e=this.props.ref)?e:null}function g(e,t,r,n,o,a){return r=a.ref,e={$$typeof:D,type:e,key:t,props:a,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:v}):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.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function _(e,t){if("object"==typeof e&&e&&e.$$typeof!==_e)if(le(e))for(var r=0;r<e.length;r++){var o=e[r];w(o)&&S(o,t)}else if(w(e))e._store&&(e._store.validated=1);else if("function"==typeof(r=n(e))&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)w(e.value)&&S(e.value,t)}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===D}function S(e,t){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,t=function(e){var t="",r=h();return r&&(r=c(r.type))&&(t="\n\nCheck the render method of `"+r+"`."),t||(e=c(e))&&(t="\n\nCheck the top-level render call using <"+e+">."),t}(t),!Se[t])){Se[t]=!0;var r="";e&&null!=e._owner&&e._owner!==h()&&(r=null,"number"==typeof e._owner.tag?r=c(e._owner.type):"string"==typeof e._owner.name&&(r=e._owner.name),r=" It was passed a child from "+r+".");var n=ce.getCurrentStack;ce.getCurrentStack=function(){var t=m(e.type);return n&&(t+=n()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',t,r),ce.getCurrentStack=n}}function k(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(s(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function O(){}function E(e,t,r,o,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u,l,c=!1;if(null===e)c=!0;else switch(i){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case D:case V:c=!0;break;case W:return E((c=e._init)(e._payload),t,r,o,a)}}if(c){a=a(c=e);var f=""===o?"."+k(c,0):o;return le(a)?(r="",null!=f&&(r=f.replace(Oe,"$&/")+"/"),E(a,t,r,"",(function(e){return e}))):null!=a&&(w(a)&&(null!=a.key&&(c&&c.key===a.key||s(a.key)),u=a,l=r+(null==a.key||c&&c.key===a.key?"":(""+a.key).replace(Oe,"$&/")+"/")+f,(l=g(u.type,l,void 0,0,u._owner,u.props))._store.validated=u._store.validated,r=l,""!==o&&null!=c&&w(c)&&null==c.key&&c._store&&!c._store.validated&&(r._store.validated=2),a=r),t.push(a)),1}if(c=0,f=""===o?".":o+":",le(e))for(var p=0;p<e.length;p++)c+=E(o=e[p],t,r,i=f+k(o,p),a);else if("function"==typeof(p=n(e)))for(p===e.entries&&(ke||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ke=!0),e=p.call(e),p=0;!(o=e.next()).done;)c+=E(o=o.value,t,r,i=f+k(o,p++),a);else if("object"===i){if("function"==typeof e.then)return E(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(O,O):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function j(e,t,r){if(null==e)return e;var n=[],o=0;return E(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return void 0===(t=e._result)&&console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function C(){var e=ce.H;return null===e&&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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}function $(){}function x(t){if(null===Re)try{var r=("require"+Math.random()).slice(0,7);Re=(e&&e[r]).call(e,"timers").setImmediate}catch(e){Re=function(e){!1===je&&(je=!0,"undefined"==typeof MessageChannel&&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 t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Re(t)}function T(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function A(e,t){t!==Ce-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. "),Ce=t}function P(e,t,r){var n=ce.actQueue;if(null!==n)if(0!==n.length)try{return N(n),void x((function(){return P(e,t,r)}))}catch(e){ce.thrownErrors.push(e)}else ce.actQueue=null;0<ce.thrownErrors.length?(n=T(ce.thrownErrors),ce.thrownErrors.length=0,r(n)):t(e)}function N(e){if(!xe){xe=!0;var t=0;try{for(;t<e.length;t++)for(var r=e[t];;){ce.didUsePromise=!1;var n=r(!1);if(null===n)break;if(ce.didUsePromise)return e[t]=r,void e.splice(0,t);r=n}e.length=0}catch(r){e.splice(0,t+1),ce.thrownErrors.push(r)}finally{xe=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var D=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),L=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),B=Symbol.iterator,J={},K={isMounted:function(){return!1},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e){o(e,"replaceState")},enqueueSetState:function(e){o(e,"setState")}},X=Object.assign,Q={};Object.freeze(Q),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Z,ee={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)."]};for(Z in ee)ee.hasOwnProperty(Z)&&r(Z,ee[Z]);i.prototype=a.prototype,(ee=u.prototype=new i).constructor=u,X(ee,a.prototype),ee.isPureReactComponent=!0;var te,re,ne,oe,ae,ie,ue,le=Array.isArray,se=Symbol.for("react.client.reference"),ce={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},fe=Object.prototype.hasOwnProperty,pe=Symbol.for("react.client.reference"),de=0;p.__reactDisabledLog=!0;var ye,me,he,be,ve=!1,ge=new("function"==typeof WeakMap?WeakMap:Map),_e=Symbol.for("react.client.reference"),we={},Se={},ke=!1,Oe=/\/+/g,Ee="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},je=!1,Re=null,Ce=0,$e=!1,xe=!1,Te="function"==typeof queueMicrotask?function(e){queueMicrotask((function(){return queueMicrotask(e)}))}:x;t.Children={map:j,forEach:function(e,t,r){j(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=a,t.Fragment=I,t.Profiler=F,t.PureComponent=u,t.StrictMode=M,t.Suspense=z,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,t.act=function(e){var t=ce.actQueue,r=Ce;Ce++;var n=ce.actQueue=null!==t?t:[],o=!1;try{var a=e()}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length)throw A(0,r),e=T(ce.thrownErrors),ce.thrownErrors.length=0,e;if(null!==a&&"object"==typeof a&&"function"==typeof a.then){var i=a;return Te((function(){o||$e||($e=!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(e,t){o=!0,i.then((function(o){if(A(0,r),0===r){try{N(n),x((function(){return P(o,e,t)}))}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length){var a=T(ce.thrownErrors);ce.thrownErrors.length=0,t(a)}}else e(o)}),(function(e){A(0,r),0<ce.thrownErrors.length?(e=T(ce.thrownErrors),ce.thrownErrors.length=0,t(e)):t(e)}))}}}var u=a;if(A(0,r),0===r&&(N(n),0!==n.length&&Te((function(){o||$e||($e=!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(() => ...)"))})),ce.actQueue=null),0<ce.thrownErrors.length)throw e=T(ce.thrownErrors),ce.thrownErrors.length=0,e;return{then:function(e,t){o=!0,0===r?(ce.actQueue=n,x((function(){return P(u,e,t)}))):e(u)}}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n,o=X({},e.props),a=e.key,i=e._owner;if(null!=t)for(u in(n=!(fe.call(t,"ref")&&(n=Object.getOwnPropertyDescriptor(t,"ref").get)&&n.isReactWarning)&&void 0!==t.ref)&&(i=h()),b(t)&&(s(t.key),a=""+t.key),t)!fe.call(t,u)||"key"===u||"__self"===u||"__source"===u||"ref"===u&&void 0===t.ref||(o[u]=t[u]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){n=Array(u);for(var l=0;l<u;l++)n[l]=arguments[l+2];o.children=n}for(o=g(e.type,a,void 0,0,i,o),a=2;a<arguments.length;a++)_(arguments[a],o.type);return o},t.createContext=function(e){return(e={$$typeof:L,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:H,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},t.createElement=function(e,t,r){if(f(e))for(var n=2;n<arguments.length;n++)_(arguments[n],e);else{if(n="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e)var o="null";else le(e)?o="array":void 0!==e&&e.$$typeof===D?(o="<"+(c(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):o=typeof e;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",o,n)}var a;if(n={},o=null,null!=t)for(a in be||!("__self"in t)||"key"in t||(be=!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")),b(t)&&(s(t.key),o=""+t.key),t)fe.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&(n[a]=t[a]);var i=arguments.length-2;if(1===i)n.children=r;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];Object.freeze&&Object.freeze(u),n.children=u}if(e&&e.defaultProps)for(a in i=e.defaultProps)void 0===n[a]&&(n[a]=i[a]);return o&&function(e,t){function r(){he||(he=!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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(n,"function"==typeof e?e.displayName||e.name||"Unknown":e),g(e,o,void 0,0,h(),n)},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===Y?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,r={$$typeof:U,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(Object.defineProperty(e,"name",{value:r}),e.displayName=r)}}),r},t.isValidElement=w,t.lazy=function(e){return{$$typeof:W,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){var r;return f(e)||console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:Y,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=function(e){var t=ce.T,r={};ce.T=r,r._updatedFibers=new Set;try{var n=e(),o=ce.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then($,Ee)}catch(e){Ee(e)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._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.")),ce.T=t}},t.unstable_useCacheRefresh=function(){return C().useCacheRefresh()},t.use=function(e){return C().use(e)},t.useActionState=function(e,t,r){return C().useActionState(e,t,r)},t.useCallback=function(e,t){return C().useCallback(e,t)},t.useContext=function(e){var t=C();return e.$$typeof===H&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=function(e,t){return C().useDebugValue(e,t)},t.useDeferredValue=function(e,t){return C().useDeferredValue(e,t)},t.useEffect=function(e,t){return C().useEffect(e,t)},t.useId=function(){return C().useId()},t.useImperativeHandle=function(e,t,r){return C().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C().useLayoutEffect(e,t)},t.useMemo=function(e,t){return C().useMemo(e,t)},t.useOptimistic=function(e,t){return C().useOptimistic(e,t)},t.useReducer=function(e,t,r){return C().useReducer(e,t,r)},t.useRef=function(e){return C().useRef(e)},t.useState=function(e){return C().useState(e)},t.useSyncExternalStore=function(e,t,r){return C().useSyncExternalStore(e,t,r)},t.useTransition=function(){return C().useTransition()},t.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(s,s.exports)),s.exports}function f(){return l||(l=1,"production"===process.env.NODE_ENV?o.exports=i():o.exports=c()),o.exports}var p=f(),d=r(p),y="en",m=["singular","plural","dual","zero","one","two","few","many","other"];var h=new(function(){function e(){this.cache=new Map}return e.prototype._generateKey=function(e,t,r){void 0===r&&(r={});var n=Array.isArray(t)?t.join(","):t,o=r?JSON.stringify(r,Object.keys(r).sort()):"{}";return"".concat(e,":").concat(n,":").concat(o)},e.prototype.get=function(e,t,r){void 0===r&&(r={});var n=this._generateKey(e,t,r);if(!this.cache.has(n)){var o=new Intl[e](t,r);this.cache.set(n,o)}return this.cache.get(n)},e}());const b={variable:"value",number:"n",datetime:"date",currency:"cost"};function v(e={},t){var r;if(e.name)return e.name;return`_gt_${b[t]||"value"}_${null===(r=e["data-_gt"])||void 0===r?void 0:r.id}`}const g=e=>{var t;if(!e)return"";const{type:r,props:n}=e;if(r&&"function"==typeof r){if("displayName"in r&&"string"==typeof r.displayName&&r.displayName)return r.displayName;if("name"in r&&"string"==typeof r.name&&r.name)return r.name}return r&&"string"==typeof r?r:n.href?"a":(null===(t=n["data-_gt"])||void 0===t?void 0:t.id)?`C${n["data-_gt"].id}`:"function"},_=e=>{return t=e,d.isValidElement(t)?(e=>{const{type:t,props:r}=e;let n={type:g(e),props:{}};if(r["data-_gt"]){const e=r["data-_gt"];let t=Object.assign({},e);const o=e.transformation;if("variable"===o){const t=e.variableType||"variable";return{variable:t,key:v(r,t),id:e.id}}if("plural"===o&&e.branches){n.type="Plural";let r={};Object.entries(e.branches).forEach((([e,t])=>{r[e]=w(t)})),t=Object.assign(Object.assign({},t),{branches:r})}if("branch"===o&&e.branches){n.type="Branch";let r={};Object.entries(e.branches).forEach((([e,t])=>{r[e]=w(t)})),t=Object.assign(Object.assign({},t),{branches:r})}n.props["data-_gt"]=t}return r.children&&(n.props.children=w(r.children)),n})(e):"number"==typeof e?e.toString():e;var t};function w(e){return Array.isArray(e)?e.map(_):_(e)}function S(e,t,r){let n="",o=null;return"number"==typeof e&&!o&&r&&(n=function(e,t,r){void 0===t&&(t=m),void 0===r&&(r=["en"]);var n=h.get("PluralRules",r).select(e),o=Math.abs(e);if(0===o&&t.includes("zero"))return"zero";if(1===o){if(t.includes("singular"))return"singular";if(t.includes("one"))return"one"}if("one"===n&&t.includes("singular"))return"singular";if(2===o){if(t.includes("dual"))return"dual";if(t.includes("two"))return"two"}return"two"===n&&t.includes("dual")?"dual":t.includes(n)?n:"two"===n&&t.includes("dual")?"dual":"two"===n&&t.includes("plural")?"plural":"two"===n&&t.includes("other")?"other":"few"===n&&t.includes("plural")?"plural":"few"===n&&t.includes("other")?"other":"many"===n&&t.includes("plural")?"plural":"many"===n&&t.includes("other")?"other":"other"===n&&t.includes("plural")?"plural":""}(e,Object.keys(r),t)),n&&!o&&(o=r[n]),o}function k(e){var t;const r=(null===(t=e["data-_gt"])||void 0===t?void 0:t.variableType)||"variable";return{variableName:v(e,r),variableType:r,variableValue:void 0!==e.value?e.value:void 0!==e["data-_gt-unformatted-value"]?e["data-_gt-unformatted-value"]:void 0!==e.children?e.children:void 0,variableOptions:(()=>{const t=Object.assign(Object.assign({},e.currency&&{currency:e.currency}),e.options&&Object.assign({},e.options));return Object.keys(t).length?t:"string"==typeof e["data-_gt-variable-options"]?JSON.parse(e["data-_gt-variable-options"]):e["data-_gt-variable-options"]||void 0})()}}function O(e){const t=e;if(t&&"object"==typeof t&&"string"==typeof t.key){const e=Object.keys(t);if(1===e.length)return!0;if(2===e.length){if("number"==typeof t.id)return!0;if("string"==typeof t.variable)return!0}if(3===e.length&&"string"==typeof t.variable&&"number"==typeof t.id)return!0}return!1}function E(e){return e&&e.props&&e.props["data-_gt"]?e.props["data-_gt"]:null}function j({children:e,defaultLocale:r=y,renderVariable:n}){const o=e=>d.isValidElement(e)?(e=>{const o=E(e);if("variable"===(null==o?void 0:o.transformation)){const{variableType:t,variableValue:o,variableOptions:a}=k(e.props);return n({variableType:t,variableValue:o,variableOptions:a,locales:[r]})}if("plural"===(null==o?void 0:o.transformation)){const t=o.branches||{};return a(S(e.props.n,[r],t)||e.props.children)}if("branch"===(null==o?void 0:o.transformation)){let r=e.props,{children:n,name:i,branch:u,"data-_gt":l}=r,s=t(r,["children","name","branch","data-_gt"]);return i=i||e.props["data-_gt-name"]||"branch",s=o.branches||{},a(void 0!==s[u]?s[u]:n)}return"fragment"===(null==o?void 0:o.transformation)?d.createElement(e.type,{key:e.props.key,children:a(e.props.children)}):e.props.children?d.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0,children:a(e.props.children)})):d.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0}))})(e):e,a=e=>Array.isArray(e)?d.Children.map(e,o):o(e);return a(e)}var R,C={exports:{}},$={};var x,T,A={};
11
- /**
12
- * @license React
13
- * react-jsx-runtime.development.js
14
- *
15
- * Copyright (c) Meta Platforms, Inc. and affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */function P(){return x||(x=1,"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===I?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case O:return"Fragment";case k:return"Portal";case j:return"Profiler";case E:return"StrictMode";case x:return"Suspense";case T:return"SuspenseList"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case C:return(t.displayName||"Context")+".Provider";case R:return(t._context.displayName||"Context")+".Consumer";case $:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case P:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case N:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}function t(e){return""+e}function r(e){try{t(e);var r=!1}catch(e){r=!0}if(r){var n=(r=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function n(){}function o(e){if(void 0===q)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);q=t&&t[1]||"",Y=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+q+e+Y}function a(e,t){if(!e||G)return"";var r=B.get(e);if(void 0!==r)return r;G=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a;a=M.H,M.H=null,function(){if(0===z){y=console.log,m=console.info,h=console.warn,b=console.error,v=console.group,g=console.groupCollapsed,_=console.groupEnd;var e={configurable:!0,enumerable:!0,value:n,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}z++}();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),s=l[0],c=l[1];if(s&&c){var f=s.split("\n"),p=c.split("\n");for(l=u=0;u<f.length&&!f[u].includes("DetermineComponentFrameRoot");)u++;for(;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;if(u===f.length||l===p.length)for(u=f.length-1,l=p.length-1;1<=u&&0<=l&&f[u]!==p[l];)l--;for(;1<=u&&0<=l;u--,l--)if(f[u]!==p[l]){if(1!==u||1!==l)do{if(u--,0>--l||f[u]!==p[l]){var d="\n"+f[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&B.set(e,d),d}}while(1<=u&&0<=l);break}}}finally{G=!1,M.H=a,function(){if(0==--z){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},e,{value:y}),info:H({},e,{value:m}),warn:H({},e,{value:h}),error:H({},e,{value:b}),group:H({},e,{value:v}),groupCollapsed:H({},e,{value:g}),groupEnd:H({},e,{value:_})})}0>z&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}return f=(f=e?e.displayName||e.name:"")?o(f):"","function"==typeof e&&B.set(e,f),f}function i(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return a(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return o(e);switch(e){case x:return o("Suspense");case T:return o("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case $:return e=a(e.render,!1);case P:return i(e.type);case N:t=e._payload,e=e._init;try{return i(e(t))}catch(e){}}return""}function u(){var e=M.A;return null===e?null:e.getOwner()}function l(){var t=e(this.type);return K[t]||(K[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.")),void 0!==(t=this.props.ref)?t:null}function s(t,n,o,a,i,s){if("string"==typeof t||"function"==typeof t||t===O||t===j||t===E||t===x||t===T||t===D||"object"==typeof t&&null!==t&&(t.$$typeof===N||t.$$typeof===P||t.$$typeof===C||t.$$typeof===R||t.$$typeof===$||t.$$typeof===L||void 0!==t.getModuleId)){var f=n.children;if(void 0!==f)if(a)if(U(f)){for(a=0;a<f.length;a++)c(f[a],t);Object.freeze&&Object.freeze(f)}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 c(f,t)}else f="",(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===t?a="null":U(t)?a="array":void 0!==t&&t.$$typeof===S?(a="<"+(e(t.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",a,f);if(F.call(n,"key")){f=e(t);var p=Object.keys(n).filter((function(e){return"key"!==e}));a=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",X[f+a]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,f,p,f),X[f+a]=!0)}if(f=null,void 0!==o&&(r(o),f=""+o),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),f=""+n.key),"key"in n)for(var d in o={},n)"key"!==d&&(o[d]=n[d]);else o=n;return f&&function(e,t){function r(){W||(W=!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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,r,n,o,a){return r=a.ref,e={$$typeof:S,type:e,key:t,props:a,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:l}):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.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,f,s,0,u(),o)}function c(e,t){if("object"==typeof e&&e&&e.$$typeof!==J)if(U(e))for(var r=0;r<e.length;r++){var n=e[r];p(n)&&d(n,t)}else if(p(e))e._store&&(e._store.validated=1);else if(null===e||"object"!=typeof e?r=null:r="function"==typeof(r=V&&e[V]||e["@@iterator"])?r:null,"function"==typeof r&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)p(e.value)&&d(e.value,t)}function p(e){return"object"==typeof e&&null!==e&&e.$$typeof===S}function d(t,r){if(t._store&&!t._store.validated&&null==t.key&&(t._store.validated=1,r=function(t){var r="",n=u();return n&&(n=e(n.type))&&(r="\n\nCheck the render method of `"+n+"`."),r||(t=e(t))&&(r="\n\nCheck the top-level render call using <"+t+">."),r}(r),!Q[r])){Q[r]=!0;var n="";t&&null!=t._owner&&t._owner!==u()&&(n=null,"number"==typeof t._owner.tag?n=e(t._owner.type):"string"==typeof t._owner.name&&(n=t._owner.name),n=" It was passed a child from "+n+".");var o=M.getCurrentStack;M.getCurrentStack=function(){var e=i(t.type);return o&&(e+=o()||""),e},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,n),M.getCurrentStack=o}}var y,m,h,b,v,g,_,w=f(),S=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),C=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),V=Symbol.iterator,I=Symbol.for("react.client.reference"),M=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,H=Object.assign,L=Symbol.for("react.client.reference"),U=Array.isArray,z=0;n.__reactDisabledLog=!0;var q,Y,W,G=!1,B=new("function"==typeof WeakMap?WeakMap:Map),J=Symbol.for("react.client.reference"),K={},X={},Q={};A.Fragment=O,A.jsx=function(e,t,r,n,o){return s(e,t,r,!1,0,o)},A.jsxs=function(e,t,r,n,o){return s(e,t,r,!0,0,o)}}()),A}var N=(T||(T=1,"production"===process.env.NODE_ENV?C.exports=function(){if(R)return $;R=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:o,ref:void 0!==r?r:null,props:n}}return $.Fragment=t,$.jsx=r,$.jsxs=r,$}():C.exports=P()),C.exports);function D({sourceElement:e,targetElement:t,locales:r=[y],renderVariable:n}){var o,a;const{props:i}=e,u=i["data-_gt"],l=null==u?void 0:u.transformation;if("plural"===l){const o=e.props.n;return V({source:S(o,r,u.branches||{})||e.props.children,target:S(o,r,t.props["data-_gt"].branches||{})||t.props.children,locales:r,renderVariable:n})}if("branch"===l){let{name:o,branch:a,children:l}=i;o=o||e.props["data-_gt-name"]||"branch";return V({source:(u.branches||{})[a]||l,target:(t.props["data-_gt"].branches||{})[a]||t.props.children,locales:r,renderVariable:n})}return"fragment"===l&&(null===(o=t.props)||void 0===o?void 0:o.children)?d.createElement(e.type,{key:e.props.key,children:V({source:i.children,target:t.props.children,locales:r,renderVariable:n})}):(null==i?void 0:i.children)&&(null===(a=t.props)||void 0===a?void 0:a.children)?d.cloneElement(e,Object.assign(Object.assign({},i),{"data-_gt":void 0,children:V({source:i.children,target:t.props.children,locales:r,renderVariable:n})})):j({children:e,defaultLocale:r[0],renderVariable:n})}function V({source:e,target:t,locales:r=[y],renderVariable:n}){if(null==t&&e)return j({children:e,defaultLocale:r[0],renderVariable:n});if("string"==typeof t)return t;if(Array.isArray(t)&&!Array.isArray(e)&&e&&(e=[e]),Array.isArray(e)&&Array.isArray(t)){const o={},a={},i=e.filter((e=>{if(d.isValidElement(e)){const t=E(e);if("variable"!==(null==t?void 0:t.transformation))return!0;{let{variableName:t,variableValue:r,variableOptions:n}=k(e.props);o[t]=r,a[t]=n}}})),u=e=>i.find((t=>{var r,n;const o=E(t);if(void 0!==(null==o?void 0:o.id)){return o.id===(null===(n=null===(r=null==e?void 0:e.props)||void 0===r?void 0:r["data-_gt"])||void 0===n?void 0:n.id)}return!1}))||i.shift();return t.map(((e,t)=>{if("string"==typeof e)return N.jsx(d.Fragment,{children:e},`string_${t}`);if(O(e))return N.jsx(d.Fragment,{children:n({variableType:e.variable||"variable",variableValue:o[e.key],variableOptions:a[e.key],locales:r})},`var_${t}`);const i=u(e);return i?N.jsx(d.Fragment,{children:D({sourceElement:i,targetElement:e,locales:r,renderVariable:n})},`element_${t}`):void 0}))}if(t&&"object"==typeof t&&!Array.isArray(t)){const o=O(t)?"variable":"element";if(d.isValidElement(e)){if("element"===o)return D({sourceElement:e,targetElement:t,locales:r,renderVariable:n});const a=E(e);if("variable"===(null==a?void 0:a.transformation)){const{variableValue:t,variableOptions:o,variableType:a}=k(e.props);return n({variableType:a,variableValue:t,variableOptions:o,locales:r})}}}return j({children:e,defaultLocale:r[0],renderVariable:n})}const I={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};class M extends Error{constructor(e,t){super(e),this.error=e,this.code=t,this.code=t}toTranslationError(){return{state:"error",error:this.error,code:this.code}}}exports.GTTranslationError=M,exports.addGTIdentifier=function e(r,n=0){let o=n;const a=r=>{const{type:n,props:a}=r;o+=1;let i,u={id:o};try{i="function"==typeof n&&n.gtTransformation||""}catch(e){i=""}if(i){const n=i.split("-");if("translate"===n[0])throw new Error((e=>{var t;return`General Translation: Nested <T> components. The inner <T> has the id: "${null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.id}".`})(r));if("variable"===n[0]&&(u.variableType=(null==n?void 0:n[1])||"variable"),"plural"===n[0]){const t=Object.entries(a).reduce(((t,[r,n])=>{var a;return a=r,m.includes(a)&&(t[r]=e(n,o)),t}),{});Object.keys(t).length&&(u.branches=t)}if("branch"===n[0]){const r=t(a,["children","branch"]),n=Object.entries(r).reduce(((t,[r,n])=>(t[r]=e(n,o),t)),{});Object.keys(n).length&&(u.branches=n)}u.transformation=n[0]}return u};function i(e){return p.isValidElement(e)?function(e){const{props:t}=e;if(t["data-_gt"])throw new Error((e=>`General Translation already in use on child with props: ${e.props}. This usually occurs when you nest <T> components within the same file. Remove one of the <T> components to continue.`)(e));let r=a(e),n=Object.assign(Object.assign({},t),{"data-_gt":r});return t.children&&!r.variableType&&(n.children=u(t.children)),e.type===d.Fragment&&(n["data-_gt"].transformation="fragment"),d.cloneElement(e,n)}(e):e}function u(e){return Array.isArray(e)?d.Children.map(e,i):i(e)}return u(r)},exports.defaultRenderSettings=I,exports.flattenDictionary=function t(r,n=""){const o={};for(const a in r)if(r.hasOwnProperty(a)){const i=n?`${n}.${a}`:a;if("object"!=typeof r[a]||null===r[a]||Array.isArray(r[a])){if(o.hasOwnProperty(i))throw new Error(e(i));o[i]=r[a]}else{const n=t(r[a],i);for(const t in n){if(o.hasOwnProperty(t))throw new Error(e(t));o[t]=n[t]}}}return o},exports.getDictionaryEntry=function(e,t){let r=e,n=t.split(".");for(const e of n){if("object"!=typeof r||Array.isArray(r)||d.isValidElement(r))return;r=r[e]}return r},exports.getEntryAndMetadata=function(e){if(Array.isArray(e)){if(1===e.length)return{entry:e[0]};if(2===e.length)return{entry:e[0],metadata:e[1]}}return{entry:e}},exports.getPluralBranch=S,exports.getVariableName=v,exports.getVariableProps=k,exports.isValidDictionaryEntry=function(e){if("string"==typeof e)return!0;if(Array.isArray(e)){if("string"!=typeof(null==e?void 0:e[0]))return!1;const t=null==e?void 0:e[1];if(void 0===t)return!0;if(t&&"object"==typeof t)return!0}return!1},exports.isVariableObject=O,exports.renderDefaultChildren=j,exports.renderSkeleton=function(){return""},exports.renderTranslatedChildren=V,exports.writeChildrenAsObjects=w;
1
+ "use strict";var e=require("react");require("generaltranslation");var r=require("react/jsx-runtime");const t=e=>`Duplicate key found in dictionary: "${e}"`;function n(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]])}return t}"function"==typeof SuppressedError&&SuppressedError;var a="en",i=["singular","plural","dual","zero","one","two","few","many","other"];var o=new(function(){function e(){this.cache=new Map}return e.prototype._generateKey=function(e,r,t){void 0===t&&(t={});var n=Array.isArray(r)?r.join(","):r,a=t?JSON.stringify(t,Object.keys(t).sort()):"{}";return"".concat(e,":").concat(n,":").concat(a)},e.prototype.get=function(e,r,t){void 0===t&&(t={});var n=this._generateKey(e,r,t);if(!this.cache.has(n)){var a=new Intl[e](r,t);this.cache.set(n,a)}return this.cache.get(n)},e}());const l={variable:"value",number:"n",datetime:"date",currency:"cost"};function s(e={},r){var t;if(e.name)return e.name;return`_gt_${l[r]||"value"}_${null===(t=e["data-_gt"])||void 0===t?void 0:t.id}`}const c=e=>{var r;if(!e)return"";const{type:t,props:n}=e;if(t&&"function"==typeof t){if("displayName"in t&&"string"==typeof t.displayName&&t.displayName)return t.displayName;if("name"in t&&"string"==typeof t.name&&t.name)return t.name}return t&&"string"==typeof t?t:n.href?"a":(null===(r=n["data-_gt"])||void 0===r?void 0:r.id)?`C${n["data-_gt"].id}`:"function"},u=r=>{return t=r,e.isValidElement(t)?(e=>{const{type:r,props:t}=e;let n={type:c(e),props:{}};if(t["data-_gt"]){const e=t["data-_gt"];let r=Object.assign({},e);const a=e.transformation;if("variable"===a){const r=e.variableType||"variable";return{variable:r,key:s(t,r),id:e.id}}if("plural"===a&&e.branches){n.type="Plural";let t={};Object.entries(e.branches).forEach((([e,r])=>{t[e]=d(r)})),r=Object.assign(Object.assign({},r),{branches:t})}if("branch"===a&&e.branches){n.type="Branch";let t={};Object.entries(e.branches).forEach((([e,r])=>{t[e]=d(r)})),r=Object.assign(Object.assign({},r),{branches:t})}n.props["data-_gt"]=r}return t.children&&(n.props.children=d(t.children)),n})(r):"number"==typeof r?r.toString():r;var t};function d(e){return Array.isArray(e)?e.map(u):u(e)}function p(e,r,t){let n="",a=null;return"number"==typeof e&&!a&&t&&(n=function(e,r,t){void 0===r&&(r=i),void 0===t&&(t=["en"]);var n=o.get("PluralRules",t).select(e),a=Math.abs(e);if(0===a&&r.includes("zero"))return"zero";if(1===a){if(r.includes("singular"))return"singular";if(r.includes("one"))return"one"}if("one"===n&&r.includes("singular"))return"singular";if(2===a){if(r.includes("dual"))return"dual";if(r.includes("two"))return"two"}return"two"===n&&r.includes("dual")?"dual":r.includes(n)?n:"two"===n&&r.includes("dual")?"dual":"two"===n&&r.includes("plural")?"plural":"two"===n&&r.includes("other")?"other":"few"===n&&r.includes("plural")?"plural":"few"===n&&r.includes("other")?"other":"many"===n&&r.includes("plural")?"plural":"many"===n&&r.includes("other")?"other":"other"===n&&r.includes("plural")?"plural":""}(e,Object.keys(t),r)),n&&!a&&(a=t[n]),a}function f(e){var r;const t=(null===(r=e["data-_gt"])||void 0===r?void 0:r.variableType)||"variable";return{variableName:s(e,t),variableType:t,variableValue:void 0!==e.value?e.value:void 0!==e["data-_gt-unformatted-value"]?e["data-_gt-unformatted-value"]:void 0!==e.children?e.children:void 0,variableOptions:(()=>{const r=Object.assign(Object.assign({},e.currency&&{currency:e.currency}),e.options&&Object.assign({},e.options));return Object.keys(r).length?r:"string"==typeof e["data-_gt-variable-options"]?JSON.parse(e["data-_gt-variable-options"]):e["data-_gt-variable-options"]||void 0})()}}function b(e){const r=e;if(r&&"object"==typeof r&&"string"==typeof r.key){const e=Object.keys(r);if(1===e.length)return!0;if(2===e.length){if("number"==typeof r.id)return!0;if("string"==typeof r.variable)return!0}if(3===e.length&&"string"==typeof r.variable&&"number"==typeof r.id)return!0}return!1}function h(e){return e&&e.props&&e.props["data-_gt"]?e.props["data-_gt"]:null}function y({children:r,defaultLocale:t=a,renderVariable:i}){const o=r=>e.isValidElement(r)?(r=>{const a=h(r);if("variable"===(null==a?void 0:a.transformation)){const{variableType:e,variableValue:n,variableOptions:a}=f(r.props);return i({variableType:e,variableValue:n,variableOptions:a,locales:[t]})}if("plural"===(null==a?void 0:a.transformation)){const e=a.branches||{};return l(p(r.props.n,[t],e)||r.props.children)}if("branch"===(null==a?void 0:a.transformation)){let e=r.props,{children:t,name:i,branch:o,"data-_gt":s}=e,c=n(e,["children","name","branch","data-_gt"]);return i=i||r.props["data-_gt-name"]||"branch",c=a.branches||{},l(void 0!==c[o]?c[o]:t)}return"fragment"===(null==a?void 0:a.transformation)?e.createElement(r.type,{key:r.props.key,children:l(r.props.children)}):r.props.children?e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0,children:l(r.props.children)})):e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0}))})(r):r,l=r=>Array.isArray(r)?e.Children.map(r,o):o(r);return l(r)}function v({sourceElement:r,targetElement:t,locales:n=[a],renderVariable:i}){var o,l;const{props:s}=r,c=s["data-_gt"],u=null==c?void 0:c.transformation;if("plural"===u){const e=r.props.n;return g({source:p(e,n,c.branches||{})||r.props.children,target:p(e,n,t.props["data-_gt"].branches||{})||t.props.children,locales:n,renderVariable:i})}if("branch"===u){let{name:e,branch:a,children:o}=s;e=e||r.props["data-_gt-name"]||"branch";return g({source:(c.branches||{})[a]||o,target:(t.props["data-_gt"].branches||{})[a]||t.props.children,locales:n,renderVariable:i})}return"fragment"===u&&(null===(o=t.props)||void 0===o?void 0:o.children)?e.createElement(r.type,{key:r.props.key,children:g({source:s.children,target:t.props.children,locales:n,renderVariable:i})}):(null==s?void 0:s.children)&&(null===(l=t.props)||void 0===l?void 0:l.children)?e.cloneElement(r,Object.assign(Object.assign({},s),{"data-_gt":void 0,children:g({source:s.children,target:t.props.children,locales:n,renderVariable:i})})):y({children:r,defaultLocale:n[0],renderVariable:i})}function g({source:t,target:n,locales:i=[a],renderVariable:o}){if(null==n&&t)return y({children:t,defaultLocale:i[0],renderVariable:o});if("string"==typeof n)return n;if(Array.isArray(n)&&!Array.isArray(t)&&t&&(t=[t]),Array.isArray(t)&&Array.isArray(n)){const a={},l={},s=t.filter((r=>{if(e.isValidElement(r)){const e=h(r);if("variable"!==(null==e?void 0:e.transformation))return!0;{let{variableName:e,variableValue:t,variableOptions:n}=f(r.props);a[e]=t,l[e]=n}}})),c=e=>s.find((r=>{var t,n;const a=h(r);if(void 0!==(null==a?void 0:a.id)){return a.id===(null===(n=null===(t=null==e?void 0:e.props)||void 0===t?void 0:t["data-_gt"])||void 0===n?void 0:n.id)}return!1}))||s.shift();return n.map(((t,n)=>{if("string"==typeof t)return r.jsx(e.Fragment,{children:t},`string_${n}`);if(b(t))return r.jsx(e.Fragment,{children:o({variableType:t.variable||"variable",variableValue:a[t.key],variableOptions:l[t.key],locales:i})},`var_${n}`);const s=c(t);return s?r.jsx(e.Fragment,{children:v({sourceElement:s,targetElement:t,locales:i,renderVariable:o})},`element_${n}`):void 0}))}if(n&&"object"==typeof n&&!Array.isArray(n)){const r=b(n)?"variable":"element";if(e.isValidElement(t)){if("element"===r)return v({sourceElement:t,targetElement:n,locales:i,renderVariable:o});const e=h(t);if("variable"===(null==e?void 0:e.transformation)){const{variableValue:e,variableOptions:r,variableType:n}=f(t.props);return o({variableType:n,variableValue:e,variableOptions:r,locales:i})}}}return y({children:t,defaultLocale:i[0],renderVariable:o})}const m={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};class O extends Error{constructor(e,r){super(e),this.error=e,this.code=r,this.code=r}toTranslationError(){return{state:"error",error:this.error,code:this.code}}}exports.GTTranslationError=O,exports.addGTIdentifier=function r(t,a=0){let o=a;const l=e=>{const{type:t,props:a}=e;o+=1;let l,s={id:o};try{l="function"==typeof t&&t.gtTransformation||""}catch(e){l=""}if(l){const t=l.split("-");if("translate"===t[0])throw new Error((e=>{var r;return`General Translation: Nested <T> components. The inner <T> has the id: "${null===(r=null==e?void 0:e.props)||void 0===r?void 0:r.id}".`})(e));if("variable"===t[0]&&(s.variableType=(null==t?void 0:t[1])||"variable"),"plural"===t[0]){const e=Object.entries(a).reduce(((e,[t,n])=>{var a;return a=t,i.includes(a)&&(e[t]=r(n,o)),e}),{});Object.keys(e).length&&(s.branches=e)}if("branch"===t[0]){const{children:e,branch:t}=a,i=n(a,["children","branch"]),l=Object.entries(i).reduce(((e,[t,n])=>(e[t]=r(n,o),e)),{});Object.keys(l).length&&(s.branches=l)}s.transformation=t[0]}return s};function s(r){return e.isValidElement(r)?function(r){const{props:t}=r;if(t["data-_gt"])throw new Error((e=>`General Translation already in use on child with props: ${e.props}. This usually occurs when you nest <T> components within the same file. Remove one of the <T> components to continue.`)(r));let n=l(r),a=Object.assign(Object.assign({},t),{"data-_gt":n});return t.children&&!n.variableType&&(a.children=c(t.children)),r.type===e.Fragment&&(a["data-_gt"].transformation="fragment"),e.cloneElement(r,a)}(r):r}function c(r){return Array.isArray(r)?e.Children.map(r,s):s(r)}return c(t)},exports.defaultRenderSettings=m,exports.flattenDictionary=function e(r,n=""){const a={};for(const i in r)if(r.hasOwnProperty(i)){const o=n?`${n}.${i}`:i;if("object"!=typeof r[i]||null===r[i]||Array.isArray(r[i])){if(a.hasOwnProperty(o))throw new Error(t(o));a[o]=r[i]}else{const n=e(r[i],o);for(const e in n){if(a.hasOwnProperty(e))throw new Error(t(e));a[e]=n[e]}}}return a},exports.getDictionaryEntry=function(r,t){let n=r,a=t.split(".");for(const r of a){if("object"!=typeof n||Array.isArray(n)||e.isValidElement(n))return;n=n[r]}return n},exports.getEntryAndMetadata=function(e){if(Array.isArray(e)){if(1===e.length)return{entry:e[0]};if(2===e.length)return{entry:e[0],metadata:e[1]}}return{entry:e}},exports.getPluralBranch=p,exports.getVariableName=s,exports.getVariableProps=f,exports.isValidDictionaryEntry=function(e){if("string"==typeof e)return!0;if(Array.isArray(e)){if("string"!=typeof(null==e?void 0:e[0]))return!1;const r=null==e?void 0:e[1];if(void 0===r)return!0;if(r&&"object"==typeof r)return!0}return!1},exports.isVariableObject=b,exports.renderDefaultChildren=y,exports.renderSkeleton=function(){return""},exports.renderTranslatedChildren=g,exports.writeChildrenAsObjects=d;
@@ -1,19 +1 @@
1
- import"generaltranslation";const e=e=>`Duplicate key found in dictionary: "${e}"`;function t(r,n=""){const o={};for(const a in r)if(r.hasOwnProperty(a)){const i=n?`${n}.${a}`:a;if("object"!=typeof r[a]||null===r[a]||Array.isArray(r[a])){if(o.hasOwnProperty(i))throw new Error(e(i));o[i]=r[a]}else{const n=t(r[a],i);for(const t in n){if(o.hasOwnProperty(t))throw new Error(e(t));o[t]=n[t]}}}return o}function r(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var o,a={exports:{}},i={};function u(){if(o)return i;o=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}function v(){}function g(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||y}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var _=g.prototype=new v;_.constructor=g,m(_,b.prototype),_.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function O(t,r,n,o,a,i){return n=i.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:i}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var j=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function C(){}function $(r,n,o,a,i){var u=typeof r;"undefined"!==u&&"boolean"!==u||(r=null);var l,s,c=!1;if(null===r)c=!0;else switch(u){case"bigint":case"string":case"number":c=!0;break;case"object":switch(r.$$typeof){case e:case t:c=!0;break;case p:return $((c=r._init)(r._payload),n,o,a,i)}}if(c)return i=i(r),c=""===a?"."+R(r,0):a,w(i)?(o="",null!=c&&(o=c.replace(j,"$&/")+"/"),$(i,n,o,"",(function(e){return e}))):null!=i&&(E(i)&&(l=i,s=o+(null==i.key||r&&r.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+c,i=O(l.type,s,void 0,0,0,l.props)),n.push(i)),1;c=0;var f,y=""===a?".":a+":";if(w(r))for(var m=0;m<r.length;m++)c+=$(a=r[m],n,o,u=y+R(a,m),i);else if("function"==typeof(m=null===(f=r)||"object"!=typeof f?null:"function"==typeof(f=d&&f[d]||f["@@iterator"])?f:null))for(r=m.call(r),m=0;!(a=r.next()).done;)c+=$(a=a.value,n,o,u=y+R(a,m++),i);else if("object"===u){if("function"==typeof r.then)return $(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(r),n,o,a,i);throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return c}function T(e,t,r){if(null==e)return e;var n=[],o=0;return $(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function x(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function P(){}return i.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},i.Component=b,i.Fragment=r,i.Profiler=a,i.PureComponent=g,i.StrictMode=n,i.Suspense=c,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,i.act=function(){throw Error("act(...) is not supported in production builds of React.")},i.cache=function(e){return function(){return e.apply(null,arguments)}},i.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.ref&&void 0,void 0!==t.key&&(o=""+t.key),t)!k.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(n[a]=t[a]);var a=arguments.length-2;if(1===a)n.children=r;else if(1<a){for(var i=Array(a),u=0;u<a;u++)i[u]=arguments[u+2];n.children=i}return O(e.type,o,void 0,0,0,n)},i.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:u,_context:e},e},i.createElement=function(e,t,r){var n,o={},a=null;if(null!=t)for(n in void 0!==t.key&&(a=""+t.key),t)k.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return O(e,a,void 0,0,0,o)},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:s,render:e}},i.isValidElement=E,i.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},i.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},i.startTransition=function(e){var t=S.T,r={};S.T=r;try{var n=e(),o=S.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(P,A)}catch(e){A(e)}finally{S.T=t}},i.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},i.use=function(e){return S.H.use(e)},i.useActionState=function(e,t,r){return S.H.useActionState(e,t,r)},i.useCallback=function(e,t){return S.H.useCallback(e,t)},i.useContext=function(e){return S.H.useContext(e)},i.useDebugValue=function(){},i.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},i.useEffect=function(e,t){return S.H.useEffect(e,t)},i.useId=function(){return S.H.useId()},i.useImperativeHandle=function(e,t,r){return S.H.useImperativeHandle(e,t,r)},i.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},i.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},i.useMemo=function(e,t){return S.H.useMemo(e,t)},i.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},i.useReducer=function(e,t,r){return S.H.useReducer(e,t,r)},i.useRef=function(e){return S.H.useRef(e)},i.useState=function(e){return S.H.useState(e)},i.useSyncExternalStore=function(e,t,r){return S.H.useSyncExternalStore(e,t,r)},i.useTransition=function(){return S.H.useTransition()},i.version="19.0.0",i}var l,s,c={exports:{}};
2
- /**
3
- * @license React
4
- * react.development.js
5
- *
6
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */function f(){return l||(l=1,e=c,t=c.exports,"production"!==process.env.NODE_ENV&&function(){function r(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function n(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=J&&e[J]||e["@@iterator"])?e:null}function o(e,t){var r=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;K[r]||(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.",t,e),K[r]=!0)}function a(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||B}function i(){}function u(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||B}function l(e){return""+e}function s(e){try{l(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,n="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),l(e)}}function c(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===se?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case I:return"Fragment";case V:return"Portal";case F:return"Profiler";case M:return"StrictMode";case z:return"Suspense";case q:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case L:return(e.displayName||"Context")+".Provider";case H:return(e._context.displayName||"Context")+".Consumer";case U:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return null!==(t=e.displayName||null)?t:c(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return c(e(t))}catch(e){}}return null}function f(e){return"string"==typeof e||"function"==typeof e||e===I||e===F||e===M||e===z||e===q||e===G||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===Y||e.$$typeof===L||e.$$typeof===H||e.$$typeof===U||e.$$typeof===pe||void 0!==e.getModuleId)}function p(){}function d(e){if(void 0===ye)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||"",me=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ye+e+me}function y(e,t){if(!e||ve)return"";var r,n=ge.get(e);if(void 0!==n)return n;ve=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=ce.H,ce.H=null,function(){if(0===de){te=console.log,re=console.info,ne=console.warn,oe=console.error,ae=console.group,ie=console.groupCollapsed,ue=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}de++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=o.DetermineComponentFrameRoot(),u=i[0],l=i[1];if(u&&l){var s=u.split("\n"),c=l.split("\n");for(i=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===s.length||i===c.length)for(a=s.length-1,i=c.length-1;1<=a&&0<=i&&s[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(s[a]!==c[i]){if(1!==a||1!==i)do{if(a--,0>--i||s[a]!==c[i]){var f="\n"+s[a].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&ge.set(e,f),f}}while(1<=a&&0<=i);break}}}finally{ve=!1,ce.H=r,function(){if(0==--de){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},e,{value:te}),info:X({},e,{value:re}),warn:X({},e,{value:ne}),error:X({},e,{value:oe}),group:X({},e,{value:ae}),groupCollapsed:X({},e,{value:ie}),groupEnd:X({},e,{value:ue})})}0>de&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return s=(s=e?e.displayName||e.name:"")?d(s):"","function"==typeof e&&ge.set(e,s),s}function m(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return y(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return d(e);switch(e){case z:return d("Suspense");case q:return d("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case U:return e=y(e.render,!1);case Y:return m(e.type);case W:t=e._payload,e=e._init;try{return m(e(t))}catch(e){}}return""}function h(){var e=ce.A;return null===e?null:e.getOwner()}function b(e){if(fe.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function v(){var e=c(this.type);return we[e]||(we[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.")),void 0!==(e=this.props.ref)?e:null}function g(e,t,r,n,o,a){return r=a.ref,e={$$typeof:D,type:e,key:t,props:a,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:v}):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.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function _(e,t){if("object"==typeof e&&e&&e.$$typeof!==_e)if(le(e))for(var r=0;r<e.length;r++){var o=e[r];w(o)&&S(o,t)}else if(w(e))e._store&&(e._store.validated=1);else if("function"==typeof(r=n(e))&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)w(e.value)&&S(e.value,t)}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===D}function S(e,t){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,t=function(e){var t="",r=h();return r&&(r=c(r.type))&&(t="\n\nCheck the render method of `"+r+"`."),t||(e=c(e))&&(t="\n\nCheck the top-level render call using <"+e+">."),t}(t),!Se[t])){Se[t]=!0;var r="";e&&null!=e._owner&&e._owner!==h()&&(r=null,"number"==typeof e._owner.tag?r=c(e._owner.type):"string"==typeof e._owner.name&&(r=e._owner.name),r=" It was passed a child from "+r+".");var n=ce.getCurrentStack;ce.getCurrentStack=function(){var t=m(e.type);return n&&(t+=n()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',t,r),ce.getCurrentStack=n}}function k(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(s(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function O(){}function E(e,t,r,o,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u,l,c=!1;if(null===e)c=!0;else switch(i){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case D:case V:c=!0;break;case W:return E((c=e._init)(e._payload),t,r,o,a)}}if(c){a=a(c=e);var f=""===o?"."+k(c,0):o;return le(a)?(r="",null!=f&&(r=f.replace(Oe,"$&/")+"/"),E(a,t,r,"",(function(e){return e}))):null!=a&&(w(a)&&(null!=a.key&&(c&&c.key===a.key||s(a.key)),u=a,l=r+(null==a.key||c&&c.key===a.key?"":(""+a.key).replace(Oe,"$&/")+"/")+f,(l=g(u.type,l,void 0,0,u._owner,u.props))._store.validated=u._store.validated,r=l,""!==o&&null!=c&&w(c)&&null==c.key&&c._store&&!c._store.validated&&(r._store.validated=2),a=r),t.push(a)),1}if(c=0,f=""===o?".":o+":",le(e))for(var p=0;p<e.length;p++)c+=E(o=e[p],t,r,i=f+k(o,p),a);else if("function"==typeof(p=n(e)))for(p===e.entries&&(ke||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ke=!0),e=p.call(e),p=0;!(o=e.next()).done;)c+=E(o=o.value,t,r,i=f+k(o,p++),a);else if("object"===i){if("function"==typeof e.then)return E(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(O,O):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function j(e,t,r){if(null==e)return e;var n=[],o=0;return E(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return void 0===(t=e._result)&&console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function C(){var e=ce.H;return null===e&&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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}function $(){}function T(t){if(null===Re)try{var r=("require"+Math.random()).slice(0,7);Re=(e&&e[r]).call(e,"timers").setImmediate}catch(e){Re=function(e){!1===je&&(je=!0,"undefined"==typeof MessageChannel&&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 t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Re(t)}function x(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function A(e,t){t!==Ce-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. "),Ce=t}function P(e,t,r){var n=ce.actQueue;if(null!==n)if(0!==n.length)try{return N(n),void T((function(){return P(e,t,r)}))}catch(e){ce.thrownErrors.push(e)}else ce.actQueue=null;0<ce.thrownErrors.length?(n=x(ce.thrownErrors),ce.thrownErrors.length=0,r(n)):t(e)}function N(e){if(!Te){Te=!0;var t=0;try{for(;t<e.length;t++)for(var r=e[t];;){ce.didUsePromise=!1;var n=r(!1);if(null===n)break;if(ce.didUsePromise)return e[t]=r,void e.splice(0,t);r=n}e.length=0}catch(r){e.splice(0,t+1),ce.thrownErrors.push(r)}finally{Te=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var D=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),L=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),J=Symbol.iterator,K={},B={isMounted:function(){return!1},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e){o(e,"replaceState")},enqueueSetState:function(e){o(e,"setState")}},X=Object.assign,Q={};Object.freeze(Q),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Z,ee={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)."]};for(Z in ee)ee.hasOwnProperty(Z)&&r(Z,ee[Z]);i.prototype=a.prototype,(ee=u.prototype=new i).constructor=u,X(ee,a.prototype),ee.isPureReactComponent=!0;var te,re,ne,oe,ae,ie,ue,le=Array.isArray,se=Symbol.for("react.client.reference"),ce={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},fe=Object.prototype.hasOwnProperty,pe=Symbol.for("react.client.reference"),de=0;p.__reactDisabledLog=!0;var ye,me,he,be,ve=!1,ge=new("function"==typeof WeakMap?WeakMap:Map),_e=Symbol.for("react.client.reference"),we={},Se={},ke=!1,Oe=/\/+/g,Ee="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},je=!1,Re=null,Ce=0,$e=!1,Te=!1,xe="function"==typeof queueMicrotask?function(e){queueMicrotask((function(){return queueMicrotask(e)}))}:T;t.Children={map:j,forEach:function(e,t,r){j(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=a,t.Fragment=I,t.Profiler=F,t.PureComponent=u,t.StrictMode=M,t.Suspense=z,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,t.act=function(e){var t=ce.actQueue,r=Ce;Ce++;var n=ce.actQueue=null!==t?t:[],o=!1;try{var a=e()}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length)throw A(0,r),e=x(ce.thrownErrors),ce.thrownErrors.length=0,e;if(null!==a&&"object"==typeof a&&"function"==typeof a.then){var i=a;return xe((function(){o||$e||($e=!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(e,t){o=!0,i.then((function(o){if(A(0,r),0===r){try{N(n),T((function(){return P(o,e,t)}))}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length){var a=x(ce.thrownErrors);ce.thrownErrors.length=0,t(a)}}else e(o)}),(function(e){A(0,r),0<ce.thrownErrors.length?(e=x(ce.thrownErrors),ce.thrownErrors.length=0,t(e)):t(e)}))}}}var u=a;if(A(0,r),0===r&&(N(n),0!==n.length&&xe((function(){o||$e||($e=!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(() => ...)"))})),ce.actQueue=null),0<ce.thrownErrors.length)throw e=x(ce.thrownErrors),ce.thrownErrors.length=0,e;return{then:function(e,t){o=!0,0===r?(ce.actQueue=n,T((function(){return P(u,e,t)}))):e(u)}}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n,o=X({},e.props),a=e.key,i=e._owner;if(null!=t)for(u in(n=!(fe.call(t,"ref")&&(n=Object.getOwnPropertyDescriptor(t,"ref").get)&&n.isReactWarning)&&void 0!==t.ref)&&(i=h()),b(t)&&(s(t.key),a=""+t.key),t)!fe.call(t,u)||"key"===u||"__self"===u||"__source"===u||"ref"===u&&void 0===t.ref||(o[u]=t[u]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){n=Array(u);for(var l=0;l<u;l++)n[l]=arguments[l+2];o.children=n}for(o=g(e.type,a,void 0,0,i,o),a=2;a<arguments.length;a++)_(arguments[a],o.type);return o},t.createContext=function(e){return(e={$$typeof:L,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:H,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},t.createElement=function(e,t,r){if(f(e))for(var n=2;n<arguments.length;n++)_(arguments[n],e);else{if(n="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e)var o="null";else le(e)?o="array":void 0!==e&&e.$$typeof===D?(o="<"+(c(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):o=typeof e;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",o,n)}var a;if(n={},o=null,null!=t)for(a in be||!("__self"in t)||"key"in t||(be=!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")),b(t)&&(s(t.key),o=""+t.key),t)fe.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&(n[a]=t[a]);var i=arguments.length-2;if(1===i)n.children=r;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];Object.freeze&&Object.freeze(u),n.children=u}if(e&&e.defaultProps)for(a in i=e.defaultProps)void 0===n[a]&&(n[a]=i[a]);return o&&function(e,t){function r(){he||(he=!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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(n,"function"==typeof e?e.displayName||e.name||"Unknown":e),g(e,o,void 0,0,h(),n)},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===Y?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,r={$$typeof:U,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(Object.defineProperty(e,"name",{value:r}),e.displayName=r)}}),r},t.isValidElement=w,t.lazy=function(e){return{$$typeof:W,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){var r;return f(e)||console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:Y,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=function(e){var t=ce.T,r={};ce.T=r,r._updatedFibers=new Set;try{var n=e(),o=ce.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then($,Ee)}catch(e){Ee(e)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._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.")),ce.T=t}},t.unstable_useCacheRefresh=function(){return C().useCacheRefresh()},t.use=function(e){return C().use(e)},t.useActionState=function(e,t,r){return C().useActionState(e,t,r)},t.useCallback=function(e,t){return C().useCallback(e,t)},t.useContext=function(e){var t=C();return e.$$typeof===H&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=function(e,t){return C().useDebugValue(e,t)},t.useDeferredValue=function(e,t){return C().useDeferredValue(e,t)},t.useEffect=function(e,t){return C().useEffect(e,t)},t.useId=function(){return C().useId()},t.useImperativeHandle=function(e,t,r){return C().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C().useLayoutEffect(e,t)},t.useMemo=function(e,t){return C().useMemo(e,t)},t.useOptimistic=function(e,t){return C().useOptimistic(e,t)},t.useReducer=function(e,t,r){return C().useReducer(e,t,r)},t.useRef=function(e){return C().useRef(e)},t.useState=function(e){return C().useState(e)},t.useSyncExternalStore=function(e,t,r){return C().useSyncExternalStore(e,t,r)},t.useTransition=function(){return C().useTransition()},t.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),c.exports;var e,t}function p(){return s||(s=1,"production"===process.env.NODE_ENV?a.exports=u():a.exports=f()),a.exports}var d=p(),y=n(d),m="en",h=["singular","plural","dual","zero","one","two","few","many","other"];var b=new(function(){function e(){this.cache=new Map}return e.prototype._generateKey=function(e,t,r){void 0===r&&(r={});var n=Array.isArray(t)?t.join(","):t,o=r?JSON.stringify(r,Object.keys(r).sort()):"{}";return"".concat(e,":").concat(n,":").concat(o)},e.prototype.get=function(e,t,r){void 0===r&&(r={});var n=this._generateKey(e,t,r);if(!this.cache.has(n)){var o=new Intl[e](t,r);this.cache.set(n,o)}return this.cache.get(n)},e}());function v(e,t=0){let n=t;const o=e=>{const{type:t,props:o}=e;n+=1;let a,i={id:n};try{a="function"==typeof t&&t.gtTransformation||""}catch(e){a=""}if(a){const t=a.split("-");if("translate"===t[0])throw new Error((e=>{var t;return`General Translation: Nested <T> components. The inner <T> has the id: "${null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.id}".`})(e));if("variable"===t[0]&&(i.variableType=(null==t?void 0:t[1])||"variable"),"plural"===t[0]){const e=Object.entries(o).reduce(((e,[t,r])=>{var o;return o=t,h.includes(o)&&(e[t]=v(r,n)),e}),{});Object.keys(e).length&&(i.branches=e)}if("branch"===t[0]){const e=r(o,["children","branch"]),t=Object.entries(e).reduce(((e,[t,r])=>(e[t]=v(r,n),e)),{});Object.keys(t).length&&(i.branches=t)}i.transformation=t[0]}return i};function a(e){return d.isValidElement(e)?function(e){const{props:t}=e;if(t["data-_gt"])throw new Error((e=>`General Translation already in use on child with props: ${e.props}. This usually occurs when you nest <T> components within the same file. Remove one of the <T> components to continue.`)(e));let r=o(e),n=Object.assign(Object.assign({},t),{"data-_gt":r});return t.children&&!r.variableType&&(n.children=i(t.children)),e.type===y.Fragment&&(n["data-_gt"].transformation="fragment"),y.cloneElement(e,n)}(e):e}function i(e){return Array.isArray(e)?y.Children.map(e,a):a(e)}return i(e)}const g={variable:"value",number:"n",datetime:"date",currency:"cost"};function _(e={},t){var r;if(e.name)return e.name;return`_gt_${g[t]||"value"}_${null===(r=e["data-_gt"])||void 0===r?void 0:r.id}`}const w=e=>{var t;if(!e)return"";const{type:r,props:n}=e;if(r&&"function"==typeof r){if("displayName"in r&&"string"==typeof r.displayName&&r.displayName)return r.displayName;if("name"in r&&"string"==typeof r.name&&r.name)return r.name}return r&&"string"==typeof r?r:n.href?"a":(null===(t=n["data-_gt"])||void 0===t?void 0:t.id)?`C${n["data-_gt"].id}`:"function"},S=e=>{return t=e,y.isValidElement(t)?(e=>{const{type:t,props:r}=e;let n={type:w(e),props:{}};if(r["data-_gt"]){const e=r["data-_gt"];let t=Object.assign({},e);const o=e.transformation;if("variable"===o){const t=e.variableType||"variable";return{variable:t,key:_(r,t),id:e.id}}if("plural"===o&&e.branches){n.type="Plural";let r={};Object.entries(e.branches).forEach((([e,t])=>{r[e]=k(t)})),t=Object.assign(Object.assign({},t),{branches:r})}if("branch"===o&&e.branches){n.type="Branch";let r={};Object.entries(e.branches).forEach((([e,t])=>{r[e]=k(t)})),t=Object.assign(Object.assign({},t),{branches:r})}n.props["data-_gt"]=t}return r.children&&(n.props.children=k(r.children)),n})(e):"number"==typeof e?e.toString():e;var t};function k(e){return Array.isArray(e)?e.map(S):S(e)}function O(e,t,r){let n="",o=null;return"number"==typeof e&&!o&&r&&(n=function(e,t,r){void 0===t&&(t=h),void 0===r&&(r=["en"]);var n=b.get("PluralRules",r).select(e),o=Math.abs(e);if(0===o&&t.includes("zero"))return"zero";if(1===o){if(t.includes("singular"))return"singular";if(t.includes("one"))return"one"}if("one"===n&&t.includes("singular"))return"singular";if(2===o){if(t.includes("dual"))return"dual";if(t.includes("two"))return"two"}return"two"===n&&t.includes("dual")?"dual":t.includes(n)?n:"two"===n&&t.includes("dual")?"dual":"two"===n&&t.includes("plural")?"plural":"two"===n&&t.includes("other")?"other":"few"===n&&t.includes("plural")?"plural":"few"===n&&t.includes("other")?"other":"many"===n&&t.includes("plural")?"plural":"many"===n&&t.includes("other")?"other":"other"===n&&t.includes("plural")?"plural":""}(e,Object.keys(r),t)),n&&!o&&(o=r[n]),o}function E(e){if("string"==typeof e)return!0;if(Array.isArray(e)){if("string"!=typeof(null==e?void 0:e[0]))return!1;const t=null==e?void 0:e[1];if(void 0===t)return!0;if(t&&"object"==typeof t)return!0}return!1}function j(e,t){let r=e,n=t.split(".");for(const e of n){if("object"!=typeof r||Array.isArray(r)||y.isValidElement(r))return;r=r[e]}return r}function R(e){if(Array.isArray(e)){if(1===e.length)return{entry:e[0]};if(2===e.length)return{entry:e[0],metadata:e[1]}}return{entry:e}}function C(e){var t;const r=(null===(t=e["data-_gt"])||void 0===t?void 0:t.variableType)||"variable";return{variableName:_(e,r),variableType:r,variableValue:void 0!==e.value?e.value:void 0!==e["data-_gt-unformatted-value"]?e["data-_gt-unformatted-value"]:void 0!==e.children?e.children:void 0,variableOptions:(()=>{const t=Object.assign(Object.assign({},e.currency&&{currency:e.currency}),e.options&&Object.assign({},e.options));return Object.keys(t).length?t:"string"==typeof e["data-_gt-variable-options"]?JSON.parse(e["data-_gt-variable-options"]):e["data-_gt-variable-options"]||void 0})()}}function $(e){const t=e;if(t&&"object"==typeof t&&"string"==typeof t.key){const e=Object.keys(t);if(1===e.length)return!0;if(2===e.length){if("number"==typeof t.id)return!0;if("string"==typeof t.variable)return!0}if(3===e.length&&"string"==typeof t.variable&&"number"==typeof t.id)return!0}return!1}function T(e){return e&&e.props&&e.props["data-_gt"]?e.props["data-_gt"]:null}function x({children:e,defaultLocale:t=m,renderVariable:n}){const o=e=>y.isValidElement(e)?(e=>{const o=T(e);if("variable"===(null==o?void 0:o.transformation)){const{variableType:r,variableValue:o,variableOptions:a}=C(e.props);return n({variableType:r,variableValue:o,variableOptions:a,locales:[t]})}if("plural"===(null==o?void 0:o.transformation)){const r=o.branches||{};return a(O(e.props.n,[t],r)||e.props.children)}if("branch"===(null==o?void 0:o.transformation)){let t=e.props,{children:n,name:i,branch:u,"data-_gt":l}=t,s=r(t,["children","name","branch","data-_gt"]);return i=i||e.props["data-_gt-name"]||"branch",s=o.branches||{},a(void 0!==s[u]?s[u]:n)}return"fragment"===(null==o?void 0:o.transformation)?y.createElement(e.type,{key:e.props.key,children:a(e.props.children)}):e.props.children?y.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0,children:a(e.props.children)})):y.cloneElement(e,Object.assign(Object.assign({},e.props),{"data-_gt":void 0}))})(e):e,a=e=>Array.isArray(e)?y.Children.map(e,o):o(e);return a(e)}var A,P={exports:{}},N={};var D,V,I={};
11
- /**
12
- * @license React
13
- * react-jsx-runtime.development.js
14
- *
15
- * Copyright (c) Meta Platforms, Inc. and affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */function M(){return D||(D=1,"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===V?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case O:return"Fragment";case k:return"Portal";case j:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case x:return"SuspenseList"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case C:return(t.displayName||"Context")+".Provider";case R:return(t._context.displayName||"Context")+".Consumer";case $:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case P:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}function t(e){return""+e}function r(e){try{t(e);var r=!1}catch(e){r=!0}if(r){var n=(r=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function n(){}function o(e){if(void 0===q)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);q=t&&t[1]||"",Y=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+q+e+Y}function a(e,t){if(!e||G)return"";var r=J.get(e);if(void 0!==r)return r;G=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a;a=M.H,M.H=null,function(){if(0===z){y=console.log,m=console.info,h=console.warn,b=console.error,v=console.group,g=console.groupCollapsed,_=console.groupEnd;var e={configurable:!0,enumerable:!0,value:n,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}z++}();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),s=l[0],c=l[1];if(s&&c){var f=s.split("\n"),p=c.split("\n");for(l=u=0;u<f.length&&!f[u].includes("DetermineComponentFrameRoot");)u++;for(;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;if(u===f.length||l===p.length)for(u=f.length-1,l=p.length-1;1<=u&&0<=l&&f[u]!==p[l];)l--;for(;1<=u&&0<=l;u--,l--)if(f[u]!==p[l]){if(1!==u||1!==l)do{if(u--,0>--l||f[u]!==p[l]){var d="\n"+f[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&J.set(e,d),d}}while(1<=u&&0<=l);break}}}finally{G=!1,M.H=a,function(){if(0==--z){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},e,{value:y}),info:H({},e,{value:m}),warn:H({},e,{value:h}),error:H({},e,{value:b}),group:H({},e,{value:v}),groupCollapsed:H({},e,{value:g}),groupEnd:H({},e,{value:_})})}0>z&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}return f=(f=e?e.displayName||e.name:"")?o(f):"","function"==typeof e&&J.set(e,f),f}function i(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return a(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return o(e);switch(e){case T:return o("Suspense");case x:return o("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case $:return e=a(e.render,!1);case A:return i(e.type);case P:t=e._payload,e=e._init;try{return i(e(t))}catch(e){}}return""}function u(){var e=M.A;return null===e?null:e.getOwner()}function l(){var t=e(this.type);return B[t]||(B[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.")),void 0!==(t=this.props.ref)?t:null}function s(t,n,o,a,i,s){if("string"==typeof t||"function"==typeof t||t===O||t===j||t===E||t===T||t===x||t===N||"object"==typeof t&&null!==t&&(t.$$typeof===P||t.$$typeof===A||t.$$typeof===C||t.$$typeof===R||t.$$typeof===$||t.$$typeof===L||void 0!==t.getModuleId)){var f=n.children;if(void 0!==f)if(a)if(U(f)){for(a=0;a<f.length;a++)c(f[a],t);Object.freeze&&Object.freeze(f)}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 c(f,t)}else f="",(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===t?a="null":U(t)?a="array":void 0!==t&&t.$$typeof===S?(a="<"+(e(t.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",a,f);if(F.call(n,"key")){f=e(t);var p=Object.keys(n).filter((function(e){return"key"!==e}));a=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",X[f+a]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,f,p,f),X[f+a]=!0)}if(f=null,void 0!==o&&(r(o),f=""+o),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(r(n.key),f=""+n.key),"key"in n)for(var d in o={},n)"key"!==d&&(o[d]=n[d]);else o=n;return f&&function(e,t){function r(){W||(W=!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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,r,n,o,a){return r=a.ref,e={$$typeof:S,type:e,key:t,props:a,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:l}):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.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,f,s,0,u(),o)}function c(e,t){if("object"==typeof e&&e&&e.$$typeof!==K)if(U(e))for(var r=0;r<e.length;r++){var n=e[r];f(n)&&d(n,t)}else if(f(e))e._store&&(e._store.validated=1);else if(null===e||"object"!=typeof e?r=null:r="function"==typeof(r=D&&e[D]||e["@@iterator"])?r:null,"function"==typeof r&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)f(e.value)&&d(e.value,t)}function f(e){return"object"==typeof e&&null!==e&&e.$$typeof===S}function d(t,r){if(t._store&&!t._store.validated&&null==t.key&&(t._store.validated=1,r=function(t){var r="",n=u();return n&&(n=e(n.type))&&(r="\n\nCheck the render method of `"+n+"`."),r||(t=e(t))&&(r="\n\nCheck the top-level render call using <"+t+">."),r}(r),!Q[r])){Q[r]=!0;var n="";t&&null!=t._owner&&t._owner!==u()&&(n=null,"number"==typeof t._owner.tag?n=e(t._owner.type):"string"==typeof t._owner.name&&(n=t._owner.name),n=" It was passed a child from "+n+".");var o=M.getCurrentStack;M.getCurrentStack=function(){var e=i(t.type);return o&&(e+=o()||""),e},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,n),M.getCurrentStack=o}}var y,m,h,b,v,g,_,w=p(),S=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),C=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),D=Symbol.iterator,V=Symbol.for("react.client.reference"),M=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,H=Object.assign,L=Symbol.for("react.client.reference"),U=Array.isArray,z=0;n.__reactDisabledLog=!0;var q,Y,W,G=!1,J=new("function"==typeof WeakMap?WeakMap:Map),K=Symbol.for("react.client.reference"),B={},X={},Q={};I.Fragment=O,I.jsx=function(e,t,r,n,o){return s(e,t,r,!1,0,o)},I.jsxs=function(e,t,r,n,o){return s(e,t,r,!0,0,o)}}()),I}var F=(V||(V=1,"production"===process.env.NODE_ENV?P.exports=function(){if(A)return N;A=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,r,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==r.key&&(o=""+r.key),"key"in r)for(var a in n={},r)"key"!==a&&(n[a]=r[a]);else n=r;return r=n.ref,{$$typeof:e,type:t,key:o,ref:void 0!==r?r:null,props:n}}return N.Fragment=t,N.jsx=r,N.jsxs=r,N}():P.exports=M()),P.exports);function H({sourceElement:e,targetElement:t,locales:r=[m],renderVariable:n}){var o,a;const{props:i}=e,u=i["data-_gt"],l=null==u?void 0:u.transformation;if("plural"===l){const o=e.props.n;return L({source:O(o,r,u.branches||{})||e.props.children,target:O(o,r,t.props["data-_gt"].branches||{})||t.props.children,locales:r,renderVariable:n})}if("branch"===l){let{name:o,branch:a,children:l}=i;o=o||e.props["data-_gt-name"]||"branch";return L({source:(u.branches||{})[a]||l,target:(t.props["data-_gt"].branches||{})[a]||t.props.children,locales:r,renderVariable:n})}return"fragment"===l&&(null===(o=t.props)||void 0===o?void 0:o.children)?y.createElement(e.type,{key:e.props.key,children:L({source:i.children,target:t.props.children,locales:r,renderVariable:n})}):(null==i?void 0:i.children)&&(null===(a=t.props)||void 0===a?void 0:a.children)?y.cloneElement(e,Object.assign(Object.assign({},i),{"data-_gt":void 0,children:L({source:i.children,target:t.props.children,locales:r,renderVariable:n})})):x({children:e,defaultLocale:r[0],renderVariable:n})}function L({source:e,target:t,locales:r=[m],renderVariable:n}){if(null==t&&e)return x({children:e,defaultLocale:r[0],renderVariable:n});if("string"==typeof t)return t;if(Array.isArray(t)&&!Array.isArray(e)&&e&&(e=[e]),Array.isArray(e)&&Array.isArray(t)){const o={},a={},i=e.filter((e=>{if(y.isValidElement(e)){const t=T(e);if("variable"!==(null==t?void 0:t.transformation))return!0;{let{variableName:t,variableValue:r,variableOptions:n}=C(e.props);o[t]=r,a[t]=n}}})),u=e=>i.find((t=>{var r,n;const o=T(t);if(void 0!==(null==o?void 0:o.id)){return o.id===(null===(n=null===(r=null==e?void 0:e.props)||void 0===r?void 0:r["data-_gt"])||void 0===n?void 0:n.id)}return!1}))||i.shift();return t.map(((e,t)=>{if("string"==typeof e)return F.jsx(y.Fragment,{children:e},`string_${t}`);if($(e))return F.jsx(y.Fragment,{children:n({variableType:e.variable||"variable",variableValue:o[e.key],variableOptions:a[e.key],locales:r})},`var_${t}`);const i=u(e);return i?F.jsx(y.Fragment,{children:H({sourceElement:i,targetElement:e,locales:r,renderVariable:n})},`element_${t}`):void 0}))}if(t&&"object"==typeof t&&!Array.isArray(t)){const o=$(t)?"variable":"element";if(y.isValidElement(e)){if("element"===o)return H({sourceElement:e,targetElement:t,locales:r,renderVariable:n});const a=T(e);if("variable"===(null==a?void 0:a.transformation)){const{variableValue:t,variableOptions:o,variableType:a}=C(e.props);return n({variableType:a,variableValue:t,variableOptions:o,locales:r})}}}return x({children:e,defaultLocale:r[0],renderVariable:n})}const U={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};function z(){return""}class q extends Error{constructor(e,t){super(e),this.error=e,this.code=t,this.code=t}toTranslationError(){return{state:"error",error:this.error,code:this.code}}}export{q as GTTranslationError,v as addGTIdentifier,U as defaultRenderSettings,t as flattenDictionary,j as getDictionaryEntry,R as getEntryAndMetadata,O as getPluralBranch,_ as getVariableName,C as getVariableProps,E as isValidDictionaryEntry,$ as isVariableObject,x as renderDefaultChildren,z as renderSkeleton,L as renderTranslatedChildren,k as writeChildrenAsObjects};
1
+ import e,{isValidElement as r}from"react";import"generaltranslation";import{jsx as n}from"react/jsx-runtime";const t=e=>`Duplicate key found in dictionary: "${e}"`;function a(e,r=""){const n={};for(const i in e)if(e.hasOwnProperty(i)){const o=r?`${r}.${i}`:i;if("object"!=typeof e[i]||null===e[i]||Array.isArray(e[i])){if(n.hasOwnProperty(o))throw new Error(t(o));n[o]=e[i]}else{const r=a(e[i],o);for(const e in r){if(n.hasOwnProperty(e))throw new Error(t(e));n[e]=r[e]}}}return n}function i(e,r){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(n[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(n[t[a]]=e[t[a]])}return n}"function"==typeof SuppressedError&&SuppressedError;var o="en",l=["singular","plural","dual","zero","one","two","few","many","other"];var s=new(function(){function e(){this.cache=new Map}return e.prototype._generateKey=function(e,r,n){void 0===n&&(n={});var t=Array.isArray(r)?r.join(","):r,a=n?JSON.stringify(n,Object.keys(n).sort()):"{}";return"".concat(e,":").concat(t,":").concat(a)},e.prototype.get=function(e,r,n){void 0===n&&(n={});var t=this._generateKey(e,r,n);if(!this.cache.has(t)){var a=new Intl[e](r,n);this.cache.set(t,a)}return this.cache.get(t)},e}());function c(n,t=0){let a=t;const o=e=>{const{type:r,props:n}=e;a+=1;let t,o={id:a};try{t="function"==typeof r&&r.gtTransformation||""}catch(e){t=""}if(t){const r=t.split("-");if("translate"===r[0])throw new Error((e=>{var r;return`General Translation: Nested <T> components. The inner <T> has the id: "${null===(r=null==e?void 0:e.props)||void 0===r?void 0:r.id}".`})(e));if("variable"===r[0]&&(o.variableType=(null==r?void 0:r[1])||"variable"),"plural"===r[0]){const e=Object.entries(n).reduce(((e,[r,n])=>{var t;return t=r,l.includes(t)&&(e[r]=c(n,a)),e}),{});Object.keys(e).length&&(o.branches=e)}if("branch"===r[0]){const{children:e,branch:r}=n,t=i(n,["children","branch"]),l=Object.entries(t).reduce(((e,[r,n])=>(e[r]=c(n,a),e)),{});Object.keys(l).length&&(o.branches=l)}o.transformation=r[0]}return o};function s(n){return r(n)?function(r){const{props:n}=r;if(n["data-_gt"])throw new Error((e=>`General Translation already in use on child with props: ${e.props}. This usually occurs when you nest <T> components within the same file. Remove one of the <T> components to continue.`)(r));let t=o(r),a=Object.assign(Object.assign({},n),{"data-_gt":t});return n.children&&!t.variableType&&(a.children=u(n.children)),r.type===e.Fragment&&(a["data-_gt"].transformation="fragment"),e.cloneElement(r,a)}(n):n}function u(r){return Array.isArray(r)?e.Children.map(r,s):s(r)}return u(n)}const u={variable:"value",number:"n",datetime:"date",currency:"cost"};function d(e={},r){var n;if(e.name)return e.name;return`_gt_${u[r]||"value"}_${null===(n=e["data-_gt"])||void 0===n?void 0:n.id}`}const p=e=>{var r;if(!e)return"";const{type:n,props:t}=e;if(n&&"function"==typeof n){if("displayName"in n&&"string"==typeof n.displayName&&n.displayName)return n.displayName;if("name"in n&&"string"==typeof n.name&&n.name)return n.name}return n&&"string"==typeof n?n:t.href?"a":(null===(r=t["data-_gt"])||void 0===r?void 0:r.id)?`C${t["data-_gt"].id}`:"function"},f=r=>{return n=r,e.isValidElement(n)?(e=>{const{type:r,props:n}=e;let t={type:p(e),props:{}};if(n["data-_gt"]){const e=n["data-_gt"];let r=Object.assign({},e);const a=e.transformation;if("variable"===a){const r=e.variableType||"variable";return{variable:r,key:d(n,r),id:e.id}}if("plural"===a&&e.branches){t.type="Plural";let n={};Object.entries(e.branches).forEach((([e,r])=>{n[e]=b(r)})),r=Object.assign(Object.assign({},r),{branches:n})}if("branch"===a&&e.branches){t.type="Branch";let n={};Object.entries(e.branches).forEach((([e,r])=>{n[e]=b(r)})),r=Object.assign(Object.assign({},r),{branches:n})}t.props["data-_gt"]=r}return n.children&&(t.props.children=b(n.children)),t})(r):"number"==typeof r?r.toString():r;var n};function b(e){return Array.isArray(e)?e.map(f):f(e)}function h(e,r,n){let t="",a=null;return"number"==typeof e&&!a&&n&&(t=function(e,r,n){void 0===r&&(r=l),void 0===n&&(n=["en"]);var t=s.get("PluralRules",n).select(e),a=Math.abs(e);if(0===a&&r.includes("zero"))return"zero";if(1===a){if(r.includes("singular"))return"singular";if(r.includes("one"))return"one"}if("one"===t&&r.includes("singular"))return"singular";if(2===a){if(r.includes("dual"))return"dual";if(r.includes("two"))return"two"}return"two"===t&&r.includes("dual")?"dual":r.includes(t)?t:"two"===t&&r.includes("dual")?"dual":"two"===t&&r.includes("plural")?"plural":"two"===t&&r.includes("other")?"other":"few"===t&&r.includes("plural")?"plural":"few"===t&&r.includes("other")?"other":"many"===t&&r.includes("plural")?"plural":"many"===t&&r.includes("other")?"other":"other"===t&&r.includes("plural")?"plural":""}(e,Object.keys(n),r)),t&&!a&&(a=n[t]),a}function y(e){if("string"==typeof e)return!0;if(Array.isArray(e)){if("string"!=typeof(null==e?void 0:e[0]))return!1;const r=null==e?void 0:e[1];if(void 0===r)return!0;if(r&&"object"==typeof r)return!0}return!1}function v(r,n){let t=r,a=n.split(".");for(const r of a){if("object"!=typeof t||Array.isArray(t)||e.isValidElement(t))return;t=t[r]}return t}function g(e){if(Array.isArray(e)){if(1===e.length)return{entry:e[0]};if(2===e.length)return{entry:e[0],metadata:e[1]}}return{entry:e}}function m(e){var r;const n=(null===(r=e["data-_gt"])||void 0===r?void 0:r.variableType)||"variable";return{variableName:d(e,n),variableType:n,variableValue:void 0!==e.value?e.value:void 0!==e["data-_gt-unformatted-value"]?e["data-_gt-unformatted-value"]:void 0!==e.children?e.children:void 0,variableOptions:(()=>{const r=Object.assign(Object.assign({},e.currency&&{currency:e.currency}),e.options&&Object.assign({},e.options));return Object.keys(r).length?r:"string"==typeof e["data-_gt-variable-options"]?JSON.parse(e["data-_gt-variable-options"]):e["data-_gt-variable-options"]||void 0})()}}function O(e){const r=e;if(r&&"object"==typeof r&&"string"==typeof r.key){const e=Object.keys(r);if(1===e.length)return!0;if(2===e.length){if("number"==typeof r.id)return!0;if("string"==typeof r.variable)return!0}if(3===e.length&&"string"==typeof r.variable&&"number"==typeof r.id)return!0}return!1}function j(e){return e&&e.props&&e.props["data-_gt"]?e.props["data-_gt"]:null}function _({children:r,defaultLocale:n=o,renderVariable:t}){const a=r=>e.isValidElement(r)?(r=>{const a=j(r);if("variable"===(null==a?void 0:a.transformation)){const{variableType:e,variableValue:a,variableOptions:i}=m(r.props);return t({variableType:e,variableValue:a,variableOptions:i,locales:[n]})}if("plural"===(null==a?void 0:a.transformation)){const e=a.branches||{};return l(h(r.props.n,[n],e)||r.props.children)}if("branch"===(null==a?void 0:a.transformation)){let e=r.props,{children:n,name:t,branch:o,"data-_gt":s}=e,c=i(e,["children","name","branch","data-_gt"]);return t=t||r.props["data-_gt-name"]||"branch",c=a.branches||{},l(void 0!==c[o]?c[o]:n)}return"fragment"===(null==a?void 0:a.transformation)?e.createElement(r.type,{key:r.props.key,children:l(r.props.children)}):r.props.children?e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0,children:l(r.props.children)})):e.cloneElement(r,Object.assign(Object.assign({},r.props),{"data-_gt":void 0}))})(r):r,l=r=>Array.isArray(r)?e.Children.map(r,a):a(r);return l(r)}function w({sourceElement:r,targetElement:n,locales:t=[o],renderVariable:a}){var i,l;const{props:s}=r,c=s["data-_gt"],u=null==c?void 0:c.transformation;if("plural"===u){const e=r.props.n;return E({source:h(e,t,c.branches||{})||r.props.children,target:h(e,t,n.props["data-_gt"].branches||{})||n.props.children,locales:t,renderVariable:a})}if("branch"===u){let{name:e,branch:i,children:o}=s;e=e||r.props["data-_gt-name"]||"branch";return E({source:(c.branches||{})[i]||o,target:(n.props["data-_gt"].branches||{})[i]||n.props.children,locales:t,renderVariable:a})}return"fragment"===u&&(null===(i=n.props)||void 0===i?void 0:i.children)?e.createElement(r.type,{key:r.props.key,children:E({source:s.children,target:n.props.children,locales:t,renderVariable:a})}):(null==s?void 0:s.children)&&(null===(l=n.props)||void 0===l?void 0:l.children)?e.cloneElement(r,Object.assign(Object.assign({},s),{"data-_gt":void 0,children:E({source:s.children,target:n.props.children,locales:t,renderVariable:a})})):_({children:r,defaultLocale:t[0],renderVariable:a})}function E({source:r,target:t,locales:a=[o],renderVariable:i}){if(null==t&&r)return _({children:r,defaultLocale:a[0],renderVariable:i});if("string"==typeof t)return t;if(Array.isArray(t)&&!Array.isArray(r)&&r&&(r=[r]),Array.isArray(r)&&Array.isArray(t)){const o={},l={},s=r.filter((r=>{if(e.isValidElement(r)){const e=j(r);if("variable"!==(null==e?void 0:e.transformation))return!0;{let{variableName:e,variableValue:n,variableOptions:t}=m(r.props);o[e]=n,l[e]=t}}})),c=e=>s.find((r=>{var n,t;const a=j(r);if(void 0!==(null==a?void 0:a.id)){return a.id===(null===(t=null===(n=null==e?void 0:e.props)||void 0===n?void 0:n["data-_gt"])||void 0===t?void 0:t.id)}return!1}))||s.shift();return t.map(((r,t)=>{if("string"==typeof r)return n(e.Fragment,{children:r},`string_${t}`);if(O(r))return n(e.Fragment,{children:i({variableType:r.variable||"variable",variableValue:o[r.key],variableOptions:l[r.key],locales:a})},`var_${t}`);const s=c(r);return s?n(e.Fragment,{children:w({sourceElement:s,targetElement:r,locales:a,renderVariable:i})},`element_${t}`):void 0}))}if(t&&"object"==typeof t&&!Array.isArray(t)){const n=O(t)?"variable":"element";if(e.isValidElement(r)){if("element"===n)return w({sourceElement:r,targetElement:t,locales:a,renderVariable:i});const e=j(r);if("variable"===(null==e?void 0:e.transformation)){const{variableValue:e,variableOptions:n,variableType:t}=m(r.props);return i({variableType:t,variableValue:e,variableOptions:n,locales:a})}}}return _({children:r,defaultLocale:a[0],renderVariable:i})}const A={method:"default",timeout:"undefined"!=typeof process&&"development"!==process.env.NODE_ENV?8e3:12e3};function V(){return""}class T extends Error{constructor(e,r){super(e),this.error=e,this.code=r,this.code=r}toTranslationError(){return{state:"error",error:this.error,code:this.code}}}export{T as GTTranslationError,c as addGTIdentifier,A as defaultRenderSettings,a as flattenDictionary,v as getDictionaryEntry,g as getEntryAndMetadata,h as getPluralBranch,d as getVariableName,m as getVariableProps,y as isValidDictionaryEntry,O as isVariableObject,_ as renderDefaultChildren,V as renderSkeleton,E as renderTranslatedChildren,b as writeChildrenAsObjects};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
2
  import { ClientProviderProps } from '../types/providers';
3
3
  export default function ClientProvider({ children, dictionary, initialTranslations, dictionaryTranslations, locale: _locale, _versionId, defaultLocale, translationRequired, dialectTranslationRequired, locales, renderSettings, projectId, devApiKey, runtimeUrl, runtimeTranslationEnabled, onLocaleChange, cookieName, }: ClientProviderProps): React.JSX.Element;
4
4
  //# sourceMappingURL=ClientProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientProvider.d.ts","sourceRoot":"","sources":["../../src/provider/ClientProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,MAAM,EAAE,OAAO,EACf,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,OAAY,EACZ,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,cAAyB,EACzB,UAA6B,GAC9B,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0HzC"}
1
+ {"version":3,"file":"ClientProvider.d.ts","sourceRoot":"","sources":["../../src/provider/ClientProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,MAAM,EAAE,OAAO,EACf,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,OAAY,EACZ,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,cAAyB,EACzB,UAA6B,GAC9B,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0HzC"}
@@ -1,5 +1,5 @@
1
- import { CustomLoader, RenderMethod } from '../types/types';
2
1
  import React from 'react';
2
+ import { CustomLoader, RenderMethod } from '../types/types';
3
3
  /**
4
4
  * Provides General Translation context to its children, which can then access `useGT`, `useLocale`, and `useDefaultLocale`.
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"GTProvider.d.ts","sourceRoot":"","sources":["../../src/provider/GTProvider.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,YAAY,EAGZ,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAkBxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,SAAS,EAAE,UAAe,EAC1B,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,WAAW,EACvB,OAAY,EACZ,aAAoC,EACpC,MAAM,EAAE,OAAO,EACf,QAA0B,EAC1B,UAAiC,EACjC,cAAsC,EACtC,cAAc,EACd,gBAAgB,EAChB,QAAoB,EACpB,GAAW,EACX,UAAU,EACV,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE;QACf,MAAM,EAAE,YAAY,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0XpB"}
1
+ {"version":3,"file":"GTProvider.d.ts","sourceRoot":"","sources":["../../src/provider/GTProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,EACL,YAAY,EAGZ,YAAY,EAEb,MAAM,gBAAgB,CAAC;AAwBxB;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,SAAS,EAAE,UAAe,EAC1B,SAAS,EAAE,UAAU,EACrB,UAAU,EAAE,WAAW,EACvB,OAAY,EACZ,aAAoC,EACpC,MAAM,EAAE,OAAO,EACf,QAA0B,EAC1B,UAAiC,EACjC,cAAsC,EACtC,cAAc,EACd,gBAAgB,EAChB,QAAoB,EACpB,GAAW,EACX,UAAU,EACV,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE;QACf,MAAM,EAAE,YAAY,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA2XpB"}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "gt-react",
3
- "version": "9.2.12-alpha.2",
3
+ "version": "9.2.12-alpha.4",
4
4
  "description": "A React library for automatic internationalization.",
5
5
  "main": "./dist/index.cjs.min.cjs",
6
6
  "module": "./dist/index.esm.min.mjs",
7
7
  "types": "./dist/index.d.ts",
8
8
  "peerDependencies": {
9
+ "react": ">=16.8.0",
9
10
  "react-dom": ">=16.8.0"
10
11
  },
11
12
  "dependencies": {
@@ -29,5 +29,5 @@ export default {
29
29
  postcss(), // Process CSS files
30
30
  preserveDirectives(), // Preserve directives in the output (i.e., "use client")
31
31
  ],
32
- external: ['generaltranslation', '@generaltranslation/supported-locales'],
33
- };
32
+ external: ['react', 'react-dom', 'generaltranslation', '@generaltranslation/supported-locales'],
33
+ };