@arc-js/intl 0.0.4 → 0.0.5

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,2 +0,0 @@
1
- var hasRequiredReact_production,react={exports:{}},react_production={};function requireReact_production(){var f,d,e,t,r,n,o,a,i,u,p,s,m,c,l,_,y,h,v,g,b,S;return hasRequiredReact_production||(hasRequiredReact_production=1,f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),t=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),n=Symbol.for("react.consumer"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),i=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),s=Symbol.for("react.activity"),m=Symbol.iterator,c={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},l=Object.assign,_={},w.prototype.isReactComponent={},w.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")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype,(S=O.prototype=new E).constructor=O,l(S,w.prototype),S.isPureReactComponent=!0,y=Array.isArray,h={H:null,A:null,T:null,S:null},v=Object.prototype.hasOwnProperty,g=/\/+/g,b="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)},S={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(k(e))return e;throw Error("React.Children.only expected to receive a single React element child.")}},react_production.Activity=s,react_production.Children=S,react_production.Component=w,react_production.Fragment=e,react_production.Profiler=r,react_production.PureComponent=O,react_production.StrictMode=t,react_production.Suspense=i,react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,react_production.__COMPILER_RUNTIME={__proto__:null,c:function(e){return h.H.useMemoCache(e)}},react_production.cache=function(e){return function(){return e.apply(null,arguments)}},react_production.cacheSignal=function(){return null},react_production.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=l({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)!v.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 R(e.type,o,n)},react_production.createContext=function(e){return((e={$$typeof:o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e).Consumer={$$typeof:n,_context:e},e},react_production.createElement=function(e,t,r){var n,o={},a=null;if(null!=t)for(n in void 0!==t.key&&(a=""+t.key),t)v.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),s=0;s<i;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return R(e,a,o)},react_production.createRef=function(){return{current:null}},react_production.forwardRef=function(e){return{$$typeof:a,render:e}},react_production.isValidElement=k,react_production.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:j}},react_production.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},react_production.startTransition=function(e){var t=h.T,r={};h.T=r;try{var n=e(),o=h.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(T,b)}catch(e){b(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),h.T=t}},react_production.unstable_useCacheRefresh=function(){return h.H.useCacheRefresh()},react_production.use=function(e){return h.H.use(e)},react_production.useActionState=function(e,t,r){return h.H.useActionState(e,t,r)},react_production.useCallback=function(e,t){return h.H.useCallback(e,t)},react_production.useContext=function(e){return h.H.useContext(e)},react_production.useDebugValue=function(){},react_production.useDeferredValue=function(e,t){return h.H.useDeferredValue(e,t)},react_production.useEffect=function(e,t){return h.H.useEffect(e,t)},react_production.useEffectEvent=function(e){return h.H.useEffectEvent(e)},react_production.useId=function(){return h.H.useId()},react_production.useImperativeHandle=function(e,t,r){return h.H.useImperativeHandle(e,t,r)},react_production.useInsertionEffect=function(e,t){return h.H.useInsertionEffect(e,t)},react_production.useLayoutEffect=function(e,t){return h.H.useLayoutEffect(e,t)},react_production.useMemo=function(e,t){return h.H.useMemo(e,t)},react_production.useOptimistic=function(e,t){return h.H.useOptimistic(e,t)},react_production.useReducer=function(e,t,r){return h.H.useReducer(e,t,r)},react_production.useRef=function(e){return h.H.useRef(e)},react_production.useState=function(e){return h.H.useState(e)},react_production.useSyncExternalStore=function(e,t,r){return h.H.useSyncExternalStore(e,t,r)},react_production.useTransition=function(){return h.H.useTransition()},react_production.version="19.2.3"),react_production;function w(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||c}function E(){}function O(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||c}function T(){}function R(e,t,r){var n=r.ref;return{$$typeof:f,type:e,key:t,ref:void 0!==n?n:null,props:r}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(e=""+e.key,r={"=":"=0",":":"=2"},"$"+e.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var r}function x(e,t,r,n,o){var a,i=typeof e,u=!1;if(null===(e="undefined"!==i&&"boolean"!==i?e:null))u=!0;else switch(i){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case f:case d:u=!0;break;case p:return x((u=e._init)(e._payload),t,r,n,o)}}if(u)return o=o(e),u=""===n?"."+C(e,0):n,y(o)?(r="",x(o,t,r=null!=u?u.replace(g,"$&/")+"/":r,"",function(e){return e})):null!=o&&(k(o)&&(s=r+(null==(a=o).key||e&&e.key===o.key?"":(""+o.key).replace(g,"$&/")+"/")+u,o=R(a.type,s,a.props)),t.push(o)),1;var s,u=0,c=""===n?".":n+":";if(y(e))for(var l=0;l<e.length;l++)u+=x(n=e[l],t,r,i=c+C(n,l),o);else if("function"==typeof(l=null!==(s=e)&&"object"==typeof s&&"function"==typeof(s=m&&s[m]||s["@@iterator"])?s:null))for(e=l.call(e),l=0;!(n=e.next()).done;)u+=x(n=n.value,t,r,i=c+C(n,l++),o);else if("object"===i){if("function"==typeof e.then)return x((t=>{switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(T,T):(t.status="pending",t.then(function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)},function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t})(e),t,r,n,o);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 u}function A(e,t,r){var n;return null==e||(n=0,x(e,e=[],"","",function(e){return t.call(r,e,n++)})),e}function j(t){var e;if(-1===t._status&&((e=(e=t._result)()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status)&&(t._status=0,t._result=e),1===t._status)return t._result.default;throw t._result}}var hasRequiredReact_development,hasRequiredReact,react_development={exports:{}};function requireReact_development(){if(!hasRequiredReact_development){hasRequiredReact_development=1;var r=react_development,e=react_development.exports;if("production"!==process.env.NODE_ENV){function t(e,t){e=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;Q[e]||(Q[e]=!0)}function n(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||X}function o(){}function a(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||X}function f(){}function d(e){try{var t=!1}catch(e){t=!0}var r;t&&(r=(t=console).error,e="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object",r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",e))}function i(e){if(null!=e){if("function"==typeof e)return e.$$typeof!==oe&&(e.displayName||e.name)||null;if("string"==typeof e)return e;switch(e){case O:return"Fragment";case J:return"Profiler";case L:return"StrictMode";case G:return"Suspense";case K:return"SuspenseList";case W:return"Activity"}if("object"==typeof e)switch(e.tag,e.$$typeof){case F:return"Portal";case V:return e.displayName||"Context";case Y:return(e._context.displayName||"Context")+".Consumer";case B:var t=e.render;return e=(e=e.displayName)?e:""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef";case T:return null!==(t=e.displayName||null)?t:i(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return i(e(t))}catch(e){}}}return null}function l(e){if(e===O)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===R)return"<...>";try{var t=i(e);return t?"<"+t+">":"<...>"}catch(e){return"<...>"}}function p(){var e=x.A;return null===e?null:e.getOwner()}function u(){return Error("react-stack-top-frame")}function P(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return}return void 0!==e.key}function $(){var e=i(this.type);return ie[e]||(ie[e]=!0),void 0!==(e=this.props.ref)?e:null}function m(e,t,r,n,o,a){var i=r.ref;return e={$$typeof:E,type:e,key:t,props:r,_owner:n},null!==(void 0!==i?i:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:$}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function H(e){_(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===R&&("fulfilled"===e._payload.status?_(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===E}function y(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(d(e.key),r={"=":"=0",":":"=2"},"$"+(""+e.key).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var r}function h(e,t,r,n,o){var a,i,u,s=typeof e,c=!1;if(null===(e="undefined"!==s&&"boolean"!==s?e:null))c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case E:case F:c=!0;break;case R:return h((c=e._init)(e._payload),t,r,n,o)}}if(c)return o=o(c=e),a=""===n?"."+y(c,0):n,ne(o)?(r="",h(o,t,r=null!=a?a.replace(ce,"$&/")+"/":r,"",function(e){return e})):null!=o&&(_(o)&&(null==o.key||c&&c.key===o.key||d(o.key),i=r+(null==(u=o).key||c&&c.key===o.key?"":(""+o.key).replace(ce,"$&/")+"/")+a,i=m(u.type,i,u.props,u._owner,u._debugStack,u._debugTask),u._store&&(i._store.validated=u._store.validated),r=i,""!==n&&null!=c&&_(c)&&null==c.key&&c._store&&!c._store.validated&&(r._store.validated=2),o=r),t.push(o)),1;if(c=0,a=""===n?".":n+":",ne(e))for(var l=0;l<e.length;l++)c+=h(n=e[l],t,r,s=a+y(n,l),o);else if("function"==typeof(l=null!==(u=e)&&"object"==typeof u&&"function"==typeof(u=Z&&u[Z]||u["@@iterator"])?u:null))for(l===e.entries&&0,e=l.call(e),l=0;!(n=e.next()).done;)c+=h(n=n.value,t,r,s=a+y(n,l++),o);else if("object"===s){if("function"==typeof e.then)return h((t=>{switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(f,f):(t.status="pending",t.then(function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)},function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t})(e),t,r,n,o);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 s(e,t,r){var n;return null==e||(n=0,h(e,e=[],"","",function(e){return t.call(r,e,n++)})),e}function z(r){var e,n,t;if(-1===r._status&&(null!=(e=r._ioInfo)&&(e.start=e.end=performance.now()),(n=(e=r._result)()).then(function(e){var t;0!==r._status&&-1!==r._status||(r._status=1,r._result=e,null!=(t=r._ioInfo)&&(t.end=performance.now()),void 0===n.status&&(n.status="fulfilled",n.value=e))},function(e){var t;0!==r._status&&-1!==r._status||(r._status=2,r._result=e,null!=(t=r._ioInfo)&&(t.end=performance.now()),void 0===n.status&&(n.status="rejected",n.reason=e))}),null!=(e=r._ioInfo)&&"string"==typeof(t=(e.value=n).displayName)&&(e.name=t),-1===r._status)&&(r._status=0,r._result=n),1===r._status)return 0 in(e=r._result),e.default;throw r._result}function c(){var e=x.H;return e}function q(){x.asyncTransitions--}function v(e){if(null===j)try{var t=("require"+Math.random()).slice(0,7);j=(r&&r[t]).call(r,"timers").setImmediate}catch(e){j=function(e){!1===fe&&(fe=!0);var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return j(e)}function g(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function b(e,t){M=t}function S(e,t,r){var n=x.actQueue;if(null!==n)if(0!==n.length)try{return w(n),void v(function(){return S(e,t,r)})}catch(e){x.thrownErrors.push(e)}else x.actQueue=null;0<x.thrownErrors.length?(n=g(x.thrownErrors),x.thrownErrors.length=0,r(n)):t(e)}function w(t){if(!N){N=!0;var r=0;try{for(;r<t.length;r++)for(var e=t[r];;){var n=e(x.didUsePromise=!1);if(null===n)break;if(x.didUsePromise)return t[r]=e,void t.splice(0,r);e=n}t.length=0}catch(e){t.splice(0,r+1),x.thrownErrors.push(e)}finally{N=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var U,E=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),V=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Z=Symbol.iterator,Q={},X={isMounted:function(){return!1},enqueueForceUpdate:function(e){t(e,"forceUpdate")},enqueueReplaceState:function(e){t(e,"replaceState")},enqueueSetState:function(e){t(e,"setState")}},ee=Object.assign,k={},C=(Object.freeze(k),n.prototype.isReactComponent={},n.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")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},{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(I in C)C.hasOwnProperty(I)&&(U=I,C[I],Object.defineProperty(n.prototype,U,{get:function(){}}));o.prototype=n.prototype,(C=a.prototype=new o).constructor=a,ee(C,n.prototype),C.isPureReactComponent=!0;var te,re,ne=Array.isArray,oe=Symbol.for("react.client.reference"),x={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},A=Object.prototype.hasOwnProperty,ae=console.createTask||function(){return null},ie={},ue=(C={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(C,u)(),se=ae(l(u)),ce=/\/+/g,le="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)},fe=!1,j=null,M=0,D=!1,N=!1,de="function"==typeof queueMicrotask?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:v,I=(C=Object.freeze({__proto__:null,c:function(e){return c().useMemoCache(e)}}),{map:s,forEach:function(e,t,r){s(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return s(e,function(){t++}),t},toArray:function(e){return s(e,function(e){return e})||[]},only:function(e){if(_(e))return e;throw Error("React.Children.only expected to receive a single React element child.")}});e.Activity=W,e.Children=I,e.Component=n,e.Fragment=O,e.Profiler=J,e.PureComponent=a,e.StrictMode=L,e.Suspense=G,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,e.__COMPILER_RUNTIME=C,e.act=function(e){var t,r=x.actQueue,o=M,a=(M++,x.actQueue=null!==r?r:[]),i=!1;try{var n=e()}catch(e){x.thrownErrors.push(e)}if(0<x.thrownErrors.length)throw b(0,o),e=g(x.thrownErrors),x.thrownErrors.length=0,e;if(null!==n&&"object"==typeof n&&"function"==typeof n.then)return t=n,de(function(){i||(D=D||!0)}),{then:function(r,n){i=!0,t.then(function(e){if(b(0,o),0===o){try{w(a),v(function(){return S(e,r,n)})}catch(e){x.thrownErrors.push(e)}var t;0<x.thrownErrors.length&&(t=g(x.thrownErrors),x.thrownErrors.length=0,n(t))}else r(e)},function(e){b(0,o),0<x.thrownErrors.length&&(e=g(x.thrownErrors),x.thrownErrors.length=0),n(e)})}};var u=n;if(b(0,o),0===o&&(w(a),0!==a.length&&de(function(){i||(D=D||!0)}),x.actQueue=null),0<x.thrownErrors.length)throw e=g(x.thrownErrors),x.thrownErrors.length=0,e;return{then:function(e,t){i=!0,0===o?(x.actQueue=a,v(function(){return S(u,e,t)})):e(u)}}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.captureOwnerStack=function(){var e=x.getCurrentStack;return null===e?null:e()},e.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=ee({},e.props),o=e.key,a=e._owner;if(null!=t){var i=!(A.call(t,"ref")&&(i=Object.getOwnPropertyDescriptor(t,"ref").get)&&i.isReactWarning)&&void 0!==t.ref;for(u in i&&(a=p()),P(t)&&(d(t.key),o=""+t.key),t)!A.call(t,u)||"key"===u||"__self"===u||"__source"===u||"ref"===u&&void 0===t.ref||(n[u]=t[u])}var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){i=Array(u);for(var s=0;s<u;s++)i[s]=arguments[s+2];n.children=i}for(n=m(e.type,o,n,a,e._debugStack,e._debugTask),o=2;o<arguments.length;o++)H(arguments[o]);return n},e.createContext=function(e){return((e={$$typeof:V,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e).Consumer={$$typeof:Y,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},e.createElement=function(e,t,r){for(var n=2;n<arguments.length;n++)H(arguments[n]);var n={},o=null;if(null!=t)for(c in re||!("__self"in t)||"key"in t||(re=!0),P(t)&&(d(t.key),o=""+t.key),t)A.call(t,c)&&"key"!==c&&"__self"!==c&&"__source"!==c&&(n[c]=t[c]);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];Object.freeze&&Object.freeze(i),n.children=i}if(e&&e.defaultProps)for(c in a=e.defaultProps)void 0===n[c]&&(n[c]=a[c]);function s(){te=te||!0}o&&(r=n,"function"!=typeof e||e.displayName||e.name,s.isReactWarning=!0,Object.defineProperty(r,"key",{get:s,configurable:!0}));var c=x.recentlyCreatedOwnerStacks++<1e4;return m(e,o,n,p(),c?Error("react-stack-top-frame"):ue,c?ae(l(e)):se)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(t){null!=t&&t.$$typeof===T||"function"!=typeof t||0===t.length||t.length,null!=t&&t.defaultProps;var r,e={$$typeof:B,render:t};return Object.defineProperty(e,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,t.name||t.displayName||(Object.defineProperty(t,"name",{value:e}),t.displayName=e)}}),e},e.isValidElement=_,e.lazy=function(e){var t={$$typeof:R,_payload:e={_status:-1,_result:e},_init:z},r={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?void 0:null};return e._ioInfo=r,t._debugInfo=[{awaited:r}],t},e.memo=function(t,e){var r;return e={$$typeof:T,type:t,compare:void 0===e?null:e},Object.defineProperty(e,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,t.name||t.displayName||(Object.defineProperty(t,"name",{value:e}),t.displayName=e)}}),e},e.startTransition=function(e){var t=x.T,r={};r._updatedFibers=new Set,x.T=r;try{var n=e(),o=x.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&(x.asyncTransitions++,n.then(q,q),n.then(f,le))}catch(e){le(e)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear()),null!==t&&null!==r.types&&(null!==t.types&&t.types,t.types=r.types),x.T=t}},e.unstable_useCacheRefresh=function(){return c().useCacheRefresh()},e.use=function(e){return c().use(e)},e.useActionState=function(e,t,r){return c().useActionState(e,t,r)},e.useCallback=function(e,t){return c().useCallback(e,t)},e.useContext=function(e){var t=c();return e.$$typeof,t.useContext(e)},e.useDebugValue=function(e,t){return c().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return c().useDeferredValue(e,t)},e.useEffect=function(e,t){return c().useEffect(e,t)},e.useEffectEvent=function(e){return c().useEffectEvent(e)},e.useId=function(){return c().useId()},e.useImperativeHandle=function(e,t,r){return c().useImperativeHandle(e,t,r)},e.useInsertionEffect=function(e,t){return c().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return c().useLayoutEffect(e,t)},e.useMemo=function(e,t){return c().useMemo(e,t)},e.useOptimistic=function(e,t){return c().useOptimistic(e,t)},e.useReducer=function(e,t,r){return c().useReducer(e,t,r)},e.useRef=function(e){return c().useRef(e)},e.useState=function(e){return c().useState(e)},e.useSyncExternalStore=function(e,t,r){return c().useSyncExternalStore(e,t,r)},e.useTransition=function(){return c().useTransition()},e.version="19.2.3","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}}return react_development.exports}function requireReact(){return hasRequiredReact||(hasRequiredReact=1,"production"===process.env.NODE_ENV?react.exports=requireReact_production():react.exports=requireReact_development()),react.exports}react_development.exports;var hasRequiredReactJsxRuntime_production,reactExports=requireReact(),jsxRuntime={exports:{}},reactJsxRuntime_production={};function requireReactJsxRuntime_production(){var a,e;return hasRequiredReactJsxRuntime_production||(hasRequiredReactJsxRuntime_production=1,a=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment"),reactJsxRuntime_production.Fragment=e,reactJsxRuntime_production.jsx=t,reactJsxRuntime_production.jsxs=t),reactJsxRuntime_production;function t(e,t,r){var n=void 0!==r?""+r:null;if(void 0!==t.key&&(n=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return t=r.ref,{$$typeof:a,type:e,key:n,ref:void 0!==t?t:null,props:r}}}var hasRequiredReactJsxRuntime_development,hasRequiredJsxRuntime,reactJsxRuntime_development={};function requireReactJsxRuntime_development(){var m,e,_,r,n,o,a,i,u,s,c,l,f,d,p,y,h,v,g,b,t,S,w,E;return hasRequiredReactJsxRuntime_development||(hasRequiredReactJsxRuntime_development=1,"production"!==process.env.NODE_ENV&&(e=requireReact(),_=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.for("react.client.reference"),h=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v=Object.prototype.hasOwnProperty,g=Array.isArray,b=console.createTask||function(){return null},t={},S=(e={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(e,k)(),w=b(R(k)),E={},reactJsxRuntime_development.Fragment=n,reactJsxRuntime_development.jsx=function(e,t,r){var n=h.recentlyCreatedOwnerStacks++<1e4;return x(e,t,r,!1,n?Error("react-stack-top-frame"):S,n?b(R(e)):w)},reactJsxRuntime_development.jsxs=function(e,t,r){var n=h.recentlyCreatedOwnerStacks++<1e4;return x(e,t,r,!0,n?Error("react-stack-top-frame"):S,n?b(R(e)):w)})),reactJsxRuntime_development;function O(e){if(null!=e){if("function"==typeof e)return e.$$typeof!==y&&(e.displayName||e.name)||null;if("string"==typeof e)return e;switch(e){case n:return"Fragment";case a:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case l:return"SuspenseList";case p:return"Activity"}if("object"==typeof e)switch(e.tag,e.$$typeof){case r:return"Portal";case u:return e.displayName||"Context";case i:return(e._context.displayName||"Context")+".Consumer";case s:var t=e.render;return e=(e=e.displayName)?e:""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef";case f:return null!==(t=e.displayName||null)?t:O(e.type)||"Memo";case d:t=e._payload,e=e._init;try{return O(e(t))}catch(e){}}}return null}function T(e){try{var t=!1}catch(e){t=!0}var r;t&&(r=(t=console).error,e="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object",r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",e))}function R(e){if(e===n)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===d)return"<...>";try{var t=O(e);return t?"<"+t+">":"<...>"}catch(e){return"<...>"}}function k(){return Error("react-stack-top-frame")}function C(){var e=O(this.type);return t[e]||(t[e]=!0),void 0!==(e=this.props.ref)?e:null}function x(e,t,r,n,o,a){var i,u,s,c,l,f=t.children;if(void 0!==f)if(n){if(g(f)){for(n=0;n<f.length;n++)A(f[n]);Object.freeze&&Object.freeze(f)}}else A(f);if(v.call(t,"key")&&(f=O(e),n=0<(i=Object.keys(t).filter(function(e){return"key"!==e})).length?"{key: someKey, "+i.join(": ..., ")+": ...}":"{key: someKey}",E[f+n]||(i=0<i.length?"{"+i.join(": ..., ")+": ...}":"{}",E[f+n]=!0)),f=null,void 0!==r&&(T(r),f=""+r),(e=>{if(v.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return}return void 0!==e.key})(t)&&(T(t.key),f=""+t.key),"key"in t)for(var d in r={},t)"key"!==d&&(r[d]=t[d]);else r=t;function p(){m=m||!0}return f&&(i=r,"function"!=typeof e||e.displayName||e.name,p.isReactWarning=!0,Object.defineProperty(i,"key",{get:p,configurable:!0})),e=e,u=f,s=r,l=h.A,l=null===l?null:l.getOwner(),o=o,a=a,c=s.ref,e={$$typeof:_,type:e,key:u,props:s,_owner:l},null!==(void 0!==c?c:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:C}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function A(e){j(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===d&&("fulfilled"===e._payload.status?j(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===_}}function requireJsxRuntime(){return hasRequiredJsxRuntime||(hasRequiredJsxRuntime=1,"production"===process.env.NODE_ENV?jsxRuntime.exports=requireReactJsxRuntime_production():jsxRuntime.exports=requireReactJsxRuntime_development()),jsxRuntime.exports}requireJsxRuntime();var hasRequiredTimez,hasRequiredCooks,_a,cooks={},timez={};function requireTimez(){if(!hasRequiredTimez){hasRequiredTimez=1,Object.defineProperty(timez,"__esModule",{value:!0});class m{constructor(e,t=!1){!1===this.dateChecker(e)?this._date=void 0:e instanceof m&&e&&null!=e&&e._date?this._date=new Date(null==e?void 0:e._date):e instanceof Date?this._date=new Date(e):"string"==typeof e?this._date=m.parseString(e,t):"number"==typeof e?this._date=new Date(e):null==e||"number"==typeof e&&isNaN(e)?this._date=new Date:this._date=void 0}static now(){return new m}static parse(e,t){return"string"==typeof t&&0<t.length&&(e instanceof m&&e&&null!=e&&e._date||e instanceof Date||"string"==typeof e||"number"==typeof e||null==e||"number"==typeof e&&isNaN(e))&&m.parseWithFormat(e,t)||new m(e)}static unix(e){return new m(1e3*e)}static utc(){var e=new Date;return new m(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()))}year(){var e;return null==(e=this._date)?void 0:e.getFullYear()}month(){return this._date?this._date.getMonth()+1:void 0}date(){var e;return null==(e=this._date)?void 0:e.getDate()}hour(){var e;return null==(e=this._date)?void 0:e.getHours()}minute(){var e;return null==(e=this._date)?void 0:e.getMinutes()}second(){var e;return null==(e=this._date)?void 0:e.getSeconds()}millisecond(){var e;return null==(e=this._date)?void 0:e.getMilliseconds()}day(){var e;return null==(e=this._date)?void 0:e.getDay()}add(e,t){if(!this._date)return new m(void 0);var r=new Date(this._date);switch(t){case"years":r.setFullYear(r.getFullYear()+e);break;case"months":r.setMonth(r.getMonth()+e);break;case"days":r.setDate(r.getDate()+e);break;case"hours":r.setHours(r.getHours()+e);break;case"minutes":r.setMinutes(r.getMinutes()+e);break;case"seconds":r.setSeconds(r.getSeconds()+e);break;case"milliseconds":r.setMilliseconds(r.getMilliseconds()+e)}return new m(r)}subtract(e,t){return this.add(-e,t)}startOf(e){if(!this._date)return new m(void 0);var t=new Date(this._date);switch(e){case"year":t.setMonth(0,1),t.setHours(0,0,0,0);break;case"month":t.setDate(1),t.setHours(0,0,0,0);break;case"day":t.setHours(0,0,0,0);break;case"hour":t.setMinutes(0,0,0);break;case"minute":t.setSeconds(0,0);break;case"second":t.setMilliseconds(0)}return new m(t)}endOf(e){var t=this.startOf(e);switch(e){case"year":return t.add(1,"years").subtract(1,"milliseconds");case"month":return t.add(1,"months").subtract(1,"milliseconds");case"day":return t.add(1,"days").subtract(1,"milliseconds");case"hour":return t.add(1,"hours").subtract(1,"milliseconds");case"minute":return t.add(1,"minutes").subtract(1,"milliseconds");case"second":return t.add(1,"seconds").subtract(1,"milliseconds");default:return t}}isBefore(e,t="()"){t="]"===t[1],e=e instanceof m?e:new m(e);return!(!this._date||!e._date)&&(!t&&this._date<e._date||!!t&&this._date<=e._date)}isAfter(e,t="()"){t="["===t[0],e=e instanceof m?e:new m(e);return!(!this._date||!e._date)&&(!t&&this._date>e._date||!!t&&this._date>=e._date)}isSame(e,t){var r,e=e instanceof m?e:new m(e);return!t&&this._date&&e._date?this._date.getTime()===e._date.getTime():(r=t?this.startOf(t):void 0,e=t?e.startOf(t):void 0,!!(r&&null!=r&&r._date&&e&&null!=e&&e._date)&&r._date.getTime()===e._date.getTime())}isBetween(e,t,r="()"){var e=e instanceof m?e:new m(e),t=t instanceof m?t:new m(t),n="["===r[0],r="]"===r[1],n=n&&this.isSame(e)||this.isAfter(e),e=r&&this.isSame(t)||this.isBefore(t);return n&&e}format(e){if(!e)return this.toISOString();var t,r,n=m.PREDEFINED_FORMATS[e];if(n)return this.format(n);let o="",a=0;for(;a<e.length;)"["===e[a]?-1===(r=e.indexOf("]",a))?(o+=e[a],a++):(t=e.substring(a+1,r),o+=t,a=r+1):"%"===e[a]&&a+1<e.length?(t="%"+e[a+1],r=m.FORMAT_TOKENS[t],o+=r?r(this):t,a+=2):(o+=e[a],a++);return o}setTimezone(e){var t;return this._date?(t=this._date.getTimezoneOffset(),e=this.parseTimezoneOffset(e),e=new Date(this._date.getTime()+6e4*(e-t)),new m(e)):new m(void 0)}utc(){return this._date?new m(new Date(Date.UTC(this._date.getUTCFullYear(),this._date.getUTCMonth(),this._date.getUTCDate(),this._date.getUTCHours(),this._date.getUTCMinutes(),this._date.getUTCSeconds(),this._date.getUTCMilliseconds()))):new m(void 0)}local(){return this._date?new m(new Date(this._date.getFullYear(),this._date.getMonth(),this._date.getDate(),this._date.getHours(),this._date.getMinutes(),this._date.getSeconds(),this._date.getMilliseconds())):new m(void 0)}toString(){var e;return null==(e=this._date)?void 0:e.toString()}toISOString(){var e;return null==(e=this._date)?void 0:e.toISOString()}toDate(){return this._date?new Date(this._date):void 0}valueOf(){var e;return null==(e=this._date)?void 0:e.getTime()}unix(){return this._date?Math.floor(this._date.getTime()/1e3):void 0}utcOffset(){return this._date?-this._date.getTimezoneOffset():void 0}isCorrect(){return!!this._date&&!isNaN(this._date.getTime())}timezone(){if(this._date)try{return(new Intl.DateTimeFormat).resolvedOptions().timeZone||void 0}catch(e){return this.timezoneFromOffset()}}timezoneAbbr(){if(this._date)try{var e=new Intl.DateTimeFormat("en",{timeZoneName:"short"}).formatToParts(this._date).find(e=>"timeZoneName"===e.type);return(null==e?void 0:e.value)||void 0}catch(e){return this.timezoneAbbrFromOffset()}}timezoneName(){if(this._date)try{var e=new Intl.DateTimeFormat("en",{timeZoneName:"long"}).formatToParts(this._date).find(e=>"timeZoneName"===e.type);return(null==e?void 0:e.value)||void 0}catch(e){return this.timezoneNameFromOffset()}}timezoneOffsetString(){var e=this.utcOffset();if(void 0!==e)return(0<=e?"+":"-")+Math.floor(Math.abs(e)/60).toString().padStart(2,"0")+":"+(Math.abs(e)%60).toString().padStart(2,"0")}dateChecker(e){return e instanceof m&&!!e&&!(null==e||!e._date)||e instanceof Date||"string"==typeof e||"number"==typeof e||null==e||"number"==typeof e&&isNaN(e)}timezoneFromOffset(){var e=this.utcOffset();if(void 0!==e)return{0:"Etc/UTC",60:"Europe/Paris",120:"Europe/Athens",180:"Europe/Moscow",240:"Asia/Dubai",270:"Asia/Tehran",300:"Asia/Karachi",330:"Asia/Kolkata",345:"Asia/Rangoon",360:"Asia/Dhaka",390:"Asia/Yangon",420:"Asia/Bangkok",480:"Asia/Shanghai",525:"Asia/Kathmandu",540:"Asia/Tokyo",570:"Australia/Adelaide",600:"Australia/Sydney",630:"Australia/Lord_Howe",660:"Pacific/Noumea",675:"Australia/Eucla",720:"Pacific/Auckland",780:"Pacific/Chatham","-60":"Atlantic/Azores","-120":"America/Noronha","-180":"America/Argentina/Buenos_Aires","-210":"America/St_Johns","-240":"America/Halifax","-270":"America/Caracas","-300":"America/New_York","-360":"America/Chicago","-420":"America/Denver","-480":"America/Los_Angeles","-540":"America/Anchorage","-600":"Pacific/Honolulu","-660":"Pacific/Pago_Pago","-720":"Pacific/Kiritimati"}[e]||"Etc/GMT"+(0<=e?"-":"+")+Math.abs(e)/60}timezoneAbbrFromOffset(){var e=this.utcOffset();if(void 0!==e)return{0:"GMT",60:"CET","-300":"EST","-360":"CST","-420":"MST","-480":"PST"}[e]||"GMT"+(0<=e?"+":"")+e/60}timezoneNameFromOffset(){var e=this.utcOffset();if(void 0!==e)return{0:"Greenwich Mean Time",60:"Central European Time","-300":"Eastern Standard Time","-360":"Central Standard Time","-420":"Mountain Standard Time","-480":"Pacific Standard Time"}[e]||"GMT"+(0<=e?"+":"")+e/60}isDST(){if(this._date)try{var e=new Date(this._date.getFullYear(),0,1),t=new Date(this._date.getFullYear(),6,1),r=Math.max(e.getTimezoneOffset(),t.getTimezoneOffset());return this._date.getTimezoneOffset()<r}catch(e){}}static parseString(e,t=!1){var r=new Date(e);if(!isNaN(r.getTime()))return r;var n,o=[/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})Z$/,/^(\d{4})-(\d{2})-(\d{2})$/,/^(\d{4})\/(\d{2})\/(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/];for(n of o){var a=e.match(n);if(a){a=a.slice(1).map(Number);if(n===o[0])return new Date(Date.UTC(a[0],a[1]-1,a[2],a[3],a[4],a[5],a[6]));if(n===o[1])return new Date(a[0],a[1]-1,a[2]);if(n===o[2])return new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5]);if(n===o[3])return new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5])}}r=new Date(e);if(!isNaN(r.getTime()))return r;if(t)throw new Error("Unable to parse date string: "+e)}static parseWithFormat(e,o){if(e&&o){var a=String(e).trim();if(a){var i={Y:{regex:/\d{4}/,extract:e=>parseInt(e,10)},y:{regex:/\d{2}/,extract:e=>{e=parseInt(e,10);return 70<=e?1900+e:2e3+e}},m:{regex:/\d{1,2}/,extract:e=>parseInt(e,10)},d:{regex:/\d{1,2}/,extract:e=>parseInt(e,10)},H:{regex:/\d{1,2}/,extract:e=>parseInt(e,10)},M:{regex:/\d{1,2}/,extract:e=>parseInt(e,10)},S:{regex:/\d{1,2}/,extract:e=>parseInt(e,10)},f:{regex:/\d{1,3}/,extract:e=>parseInt(e,10)}},u={year:(new Date).getFullYear(),month:1,day:1,hour:0,minute:0,second:0,millisecond:0};let e=0,t=0,r=!1,n="";for(;t<o.length&&e<a.length;){var s=o[t];if("["===s)r=!0,n="",t++;else if("]"===s&&r){if(a.substring(e,e+n.length)!==n)return;e+=n.length,r=!1,n="",t++}else if(r)n+=s,t++;else if("%"===s&&t+1<o.length){var c=o[t+1],l=i[c];if(l){var f=a.substring(e).match(l.regex);if(!f||0!==f.index)return;var f=f[0],d=l.extract(f);switch(c){case"Y":case"y":u.year=d;break;case"m":u.month=d;break;case"d":u.day=d;break;case"H":u.hour=d;break;case"M":u.minute=d;break;case"S":u.second=d;break;case"f":u.millisecond=d}e+=f.length}else e++;t+=2}else{if(s!==a[e])return;e++,t++}}if(!(u.month<1||12<u.month||u.day<1||31<u.day||u.hour<0||23<u.hour||u.minute<0||59<u.minute||u.second<0||59<u.second||u.millisecond<0||999<u.millisecond))try{var p=new Date(u.year,u.month-1,u.day,u.hour,u.minute,u.second,u.millisecond);if(!isNaN(p.getTime()))return new m(p)}catch(e){}}}}static getTokenLength(e){return{Y:4,y:2,m:2,d:2,H:2,M:2,S:2,f:3,z:5}[e]||1}parseTimezoneOffset(e){var t={UTC:0,EST:-300,EDT:-240,CST:-360,CDT:-300,PST:-480,PDT:-420};return void 0!==t[e.toUpperCase()]?t[e.toUpperCase()]:(t=e.match(/^([+-])(\d{1,2}):?(\d{2})?$/))?("+"===t[1]?1:-1)*(60*parseInt(t[2],10)+(t[3]?parseInt(t[3],10):0)):this._date?-this._date.getTimezoneOffset():0}static get FORMATS(){return Object.assign({},m.PREDEFINED_FORMATS)}static exposeToGlobal(){"undefined"!=typeof window&&(window.Timez=m)}}m.FORMAT_TOKENS={"%Y":e=>null==(e=e.year())?void 0:e.toString().padStart(4,"0"),"%y":e=>null==(e=e.year())?void 0:e.toString().slice(-2).padStart(2,"0"),"%m":e=>null==(e=e.month())?void 0:e.toString().padStart(2,"0"),"%d":e=>null==(e=e.date())?void 0:e.toString().padStart(2,"0"),"%H":e=>null==(e=e.hour())?void 0:e.toString().padStart(2,"0"),"%M":e=>null==(e=e.minute())?void 0:e.toString().padStart(2,"0"),"%S":e=>null==(e=e.second())?void 0:e.toString().padStart(2,"0"),"%f":e=>null==(e=e.millisecond())?void 0:e.toString().padStart(3,"0"),"%z":e=>{e=e.utcOffset();if(e)return(0<=e?"+":"-")+Math.floor(Math.abs(e)/60).toString().padStart(2,"0")+(Math.abs(e)%60).toString().padStart(2,"0")},"%s":e=>{e=e.valueOf();return e?Math.floor(e/1e3).toString():void 0}},m.PREDEFINED_FORMATS={ISO:"%Y-%m-%dT%H:%M:%S.%fZ",ISO_DATE:"%Y-%m-%d",ISO_TIME:"%H:%M:%S.%fZ",COMPACT:"%Y%m%d%H%M%S",SLASH_DATETIME:"%Y/%m/%d %H:%M:%S.%fZ",SLASH_DATETIME_SEC:"%Y/%m/%d %H:%M:%S",SLASH_DATETIME_MIN:"%Y/%m/%d %H:%M",EUROPEAN:"%d/%m/%Y %H:%M:%S GMT%z",SLASH_DATE:"%Y/%m/%d",TIME_MICRO:"%H:%M:%S.%fZ",TIME_SEC:"%H:%M:%S",CUSTOM_GREETING:"[Bonjour celestin, ][la date actuelle est:: le] %d/%m/%Y [à] %H:%M:%S.%f[Z]"},"undefined"!=typeof window&&(window.Timez=m),timez.Timez=m,timez.default=m}return timez}function requireCooks(){if(!hasRequiredCooks){hasRequiredCooks=1,Object.defineProperty(cooks,"__esModule",{value:!0});var o=requireTimez(),e=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];[...e,...e.map(e=>e.toUpperCase())];class t{static set(e,t,r={}){if(this.isBrowser())try{var n=this.serialize(t),o=encodeURIComponent(n),a=this.buildCookieString(e,o,r);document.cookie=a}catch(e){}}static get(e){if(!this.isBrowser())return null;try{var t,r=this.getAllCookies()[e];return r?(t=decodeURIComponent(r),this.deserialize(t)):null}catch(e){return null}}static remove(e,t="/",r){this.isBrowser()&&(t={expires:new Date(0),path:t,domain:r},this.set(e,"",t))}static has(e){return null!==this.get(e)}static keys(){var e;return this.isBrowser()?(e=this.getAllCookies(),Object.keys(e)):[]}static clear(){var e;this.isBrowser()&&(e=this.getAllCookies(),Object.keys(e).forEach(e=>{this.remove(e)}))}static serialize(e){return e instanceof Date?JSON.stringify({__type:"Date",__value:e.toISOString()}):JSON.stringify(e)}static deserialize(e){e=JSON.parse(e);return e&&"object"==typeof e&&"Date"===e.__type?new Date(e.__value):e}static buildCookieString(e,t,r){r=Object.assign(Object.assign({},this.DEFAULT_OPTIONS),r);let n=e+"="+t;if(void 0!==r.expires){let e;e="number"==typeof r.expires?(new o.Timez).add(r.expires,"seconds").toDate()||new Date:r.expires,n+="; expires="+e.toUTCString()}return r.path&&(n+="; path="+r.path),r.domain&&(n+="; domain="+r.domain),r.secure&&(n+="; secure"),r.sameSite&&(n+="; samesite="+r.sameSite),n}static getAllCookies(){return document.cookie.split(";").reduce((e,t)=>{var[t,r]=t.split("=").map(e=>e.trim());return t&&(e[t]=r||""),e},{})}static isBrowser(){return"undefined"!=typeof window&&"undefined"!=typeof document}static exposeToGlobal(){"undefined"!=typeof window&&(window.Cooks=t)}}t.DEFAULT_OPTIONS={path:"/",secure:!0,sameSite:"lax"},"undefined"!=typeof window&&(window.Cooks=t),cooks.Cooks=t,cooks.default=t}return cooks}requireCooks(),null!=(_a=null==process?void 0:process.env)&&_a.VITE_APP_SRC_DIR,import.meta.glob("@/locales/*.json",{eager:!1}),import.meta.glob("@/modules/*/locales/*.json",{eager:!1});let ArcIntlContext=reactExports.createContext(null),useArcIntl=()=>{var e=reactExports.useContext(ArcIntlContext);if(e)return e;throw new Error("useArcIntl must be used within an ArcIntlProvider")},useTranslation=e=>{let t=useArcIntl();return reactExports.useEffect(()=>{e&&t.loadModuleTranslations(e)},[e]),{t:t.t,changeLocale:t.changeLocale,currentLocale:t.currentLocale,isLoading:t.isLoading}};export{useTranslation};
2
- //# sourceMappingURL=useTranslation.min.js.map